/*! For license information please see chunk.main.js.LICENSE.txt */
(() => {
  var __webpack_modules__ = {
      2293: (t, e, n) => {
        "use strict";
        n.r(e),
          n.d(e, {
            CONTROLBAR_POSITION: () => r,
            PROJECT_CARD_TYPE: () => o,
            PROJECT_CARD_TYPE_CLASSNAME: () => a,
            ProjectStatus: () => i,
          });
        var r = (function (t) {
            return (
              (t.TOP_LEFT = "topLeft"),
              (t.BOTTOM_LEFT = "bottomLeft"),
              (t.BOTTOM_CENTER = "bottomCenter"),
              (t.BOTTOM_RIGHT = "bottomRight"),
              (t.TOP_RIGHT = "topRight"),
              t
            );
          })({}),
          i = (function (t) {
            return (
              (t[(t.NOT_RELEASED = 0)] = "NOT_RELEASED"),
              (t[(t.RELEASED = 1)] = "RELEASED"),
              (t[(t.REPUBLISH = 2)] = "REPUBLISH"),
              t
            );
          })({}),
          o = (function (t) {
            return (
              (t[(t.TONGYONG = 0)] = "TONGYONG"),
              (t[(t.ZHONGPING = 1)] = "ZHONGPING"),
              (t[(t.XIAOPING = 2)] = "XIAOPING"),
              t
            );
          })({}),
          a = (function (t) {
            return (
              (t.TONGYONG = "project_card_type_name_common"),
              (t.ZHONGPING = "project_card_type_name_middle"),
              (t.XIAOPING = "project_card_type_name_small"),
              t
            );
          })({});
      },
      2678: (t, e, n) => {
        "use strict";
        n.d(e, { X4: () => M, FR: () => F, GO: () => I, o8: () => B });
        var r = n(74692),
          i = n.n(r),
          o = n(71542),
          a = n(23850),
          s = n(15354),
          c = n(52063),
          l = n(13916),
          u = n(62597),
          f = n(21459),
          d = n(96540),
          h = n(5338),
          p = n(39021),
          m = n(39767);
        const v = n.p + "images/noData.f6fa.svg";
        function g(t) {
          return (
            (g =
              "function" == typeof Symbol && "symbol" == typeof Symbol.iterator
                ? function (t) {
                    return typeof t;
                  }
                : function (t) {
                    return t &&
                      "function" == typeof Symbol &&
                      t.constructor === Symbol &&
                      t !== Symbol.prototype
                      ? "symbol"
                      : typeof t;
                  }),
            g(t)
          );
        }
        function y(t, e, n) {
          return (
            (e = (function (t) {
              var e = (function (t, e) {
                if ("object" != g(t) || !t) return t;
                var n = t[Symbol.toPrimitive];
                if (void 0 !== n) {
                  var r = n.call(t, e || "default");
                  if ("object" != g(r)) return r;
                  throw new TypeError(
                    "@@toPrimitive must return a primitive value."
                  );
                }
                return ("string" === e ? String : Number)(t);
              })(t, "string");
              return "symbol" == g(e) ? e : e + "";
            })(e)) in t
              ? Object.defineProperty(t, e, {
                  value: n,
                  enumerable: !0,
                  configurable: !0,
                  writable: !0,
                })
              : (t[e] = n),
            t
          );
        }
        function b(t, e) {
          if (t !== e)
            throw new TypeError("Cannot instantiate an arrow function");
        }
        function V(t, e) {
          return (
            (function (t) {
              if (Array.isArray(t)) return t;
            })(t) ||
            (function (t, e) {
              var n =
                null == t
                  ? null
                  : ("undefined" != typeof Symbol && t[Symbol.iterator]) ||
                    t["@@iterator"];
              if (null != n) {
                var r,
                  i,
                  o,
                  a,
                  s = [],
                  c = !0,
                  l = !1;
                try {
                  if (((o = (n = n.call(t)).next), 0 === e)) {
                    if (Object(n) !== n) return;
                    c = !1;
                  } else
                    for (
                      ;
                      !(c = (r = o.call(n)).done) &&
                      (s.push(r.value), s.length !== e);
                      c = !0
                    );
                } catch (t) {
                  (l = !0), (i = t);
                } finally {
                  try {
                    if (
                      !c &&
                      null != n.return &&
                      ((a = n.return()), Object(a) !== a)
                    )
                      return;
                  } finally {
                    if (l) throw i;
                  }
                }
                return s;
              }
            })(t, e) ||
            (function (t, e) {
              if (t) {
                if ("string" == typeof t) return _(t, e);
                var n = {}.toString.call(t).slice(8, -1);
                return (
                  "Object" === n && t.constructor && (n = t.constructor.name),
                  "Map" === n || "Set" === n
                    ? Array.from(t)
                    : "Arguments" === n ||
                      /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)
                    ? _(t, e)
                    : void 0
                );
              }
            })(t, e) ||
            (function () {
              throw new TypeError(
                "Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."
              );
            })()
          );
        }
        function _(t, e) {
          (null == e || e > t.length) && (e = t.length);
          for (var n = 0, r = Array(e); n < e; n++) r[n] = t[n];
          return r;
        }
        var w = /^linear-gradient/;
        function S(t) {
          var e,
            n,
            r,
            i = t.className,
            o = void 0 === i ? "" : i,
            a = t.tips,
            s = V(t.rootSize, 2),
            c = s[0],
            l = s[1],
            u = a.icon.show
              ? a.icon.height +
                16 +
                (null !== (e = a.textStyle.fontSize) && void 0 !== e ? e : 16)
              : null !== (n = a.textStyle.fontSize) && void 0 !== n
              ? n
              : 16,
            f = a.icon.show && u < 0.9 * l,
            h = a.showErrorMessage && c > 90,
            g = w.test(a.textStyle.color) ? "backgroundImage" : "color",
            _ = document.createElement("canvas").getContext("2d");
          (_.font = ""
            .concat(a.textStyle.fontSize, "px ")
            .concat(a.textStyle.fontFamily, " ")
            .concat(a.textStyle.fontStyle, " ")
            .concat(a.textStyle.fontWeight)),
            (_.letterSpacing = "".concat(a.letterSpacing, "px"));
          var S = _.measureText(m.get("dataFetcher.catErrorLog")).width + 6;
          return d.createElement(
            "div",
            {
              className: "emptyData_box ".concat(o),
              style: {
                width: c,
                height: l,
                backgroundColor: "".concat(a.background.color),
                backgroundImage: 'url("'.concat(a.background.img, '")'),
                backgroundSize: "100% 100%",
                textAlign: "center",
                display: "flex",
                flexDirection: "column",
                alignItems: "center",
                justifyContent: "center",
                letterSpacing: "".concat(a.letterSpacing, "px"),
              },
            },
            f && a.icon.show
              ? d.createElement("i", {
                  style: {
                    width: a.icon.width,
                    paddingBottom: a.icon.height,
                    backgroundImage: 'url("'.concat(
                      null !== (r = a.icon.url) && void 0 !== r ? r : v,
                      '")'
                    ),
                    backgroundSize: "100% 100%",
                    marginBottom: 16,
                  },
                })
              : null,
            d.createElement(
              "div",
              {
                title: a.textStyle.msg,
                className: "emptyData_text",
                style: {
                  width: "96%",
                  display: "flex",
                  justifyContent: "center",
                  alignItems: "center",
                  overflow: "hidden",
                  fontSize: "".concat(a.textStyle.fontSize, "px"),
                  fontFamily: "".concat(a.textStyle.fontFamily),
                  fontWeight: "".concat(a.textStyle.fontWeight),
                  transform: "skewX(".concat(
                    "normal" === a.textStyle.fontStyle ? 0 : -18,
                    "deg)"
                  ),
                },
              },
              d.createElement(
                "span",
                {
                  className: "emptyData_textMsg",
                  style: y(
                    {
                      maxWidth: "calc(100% - ".concat(h ? S : 10, "px)"),
                      textOverflow: "ellipsis",
                      whiteSpace: "nowrap",
                      overflow: "hidden",
                    },
                    g,
                    "".concat(a.textStyle.color)
                  ),
                },
                a.textStyle.msg
              ),
              h
                ? d.createElement(
                    "span",
                    {
                      className: "emptyData_errorMsg",
                      onClick: function () {
                        var t,
                          e = this,
                          n = (0, p.errorModal)({
                            title: m.get("dataFetcher.errorLog"),
                            content:
                              null !== (t = a.errorDetail) && void 0 !== t
                                ? t
                                : m.get("dataFetcher.noData"),
                            onCancel: function () {
                              b(this, e), n();
                            }.bind(this),
                            onOk: function () {
                              b(this, e), n();
                            }.bind(this),
                          });
                      },
                      style: {
                        marginLeft: 6,
                        whiteSpace: "nowrap",
                        cursor: "pointer",
                      },
                    },
                    m.get("dataFetcher.catErrorLog")
                  )
                : null
            )
          );
        }
        function E(t) {
          return (
            (E =
              "function" == typeof Symbol && "symbol" == typeof Symbol.iterator
                ? function (t) {
                    return typeof t;
                  }
                : function (t) {
                    return t &&
                      "function" == typeof Symbol &&
                      t.constructor === Symbol &&
                      t !== Symbol.prototype
                      ? "symbol"
                      : typeof t;
                  }),
            E(t)
          );
        }
        m.register("dataFetcher", {
          zh: {
            errorLog: "错误详情",
            noData: "未查询到数据",
            catErrorLog: "查看详情",
          },
          en: {
            errorLog: "Error details",
            noData: "No data inquired",
            catErrorLog: "View details",
          },
        });
        var A = void 0;
        function T(t, e) {
          var n = Object.keys(t);
          if (Object.getOwnPropertySymbols) {
            var r = Object.getOwnPropertySymbols(t);
            e &&
              (r = r.filter(function (e) {
                return Object.getOwnPropertyDescriptor(t, e).enumerable;
              })),
              n.push.apply(n, r);
          }
          return n;
        }
        function O(t) {
          for (var e = 1; e < arguments.length; e++) {
            var n = null != arguments[e] ? arguments[e] : {};
            e % 2
              ? T(Object(n), !0).forEach(function (e) {
                  C(t, e, n[e]);
                })
              : Object.getOwnPropertyDescriptors
              ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(n))
              : T(Object(n)).forEach(function (e) {
                  Object.defineProperty(
                    t,
                    e,
                    Object.getOwnPropertyDescriptor(n, e)
                  );
                });
          }
          return t;
        }
        function C(t, e, n) {
          return (
            (e = (function (t) {
              var e = (function (t, e) {
                if ("object" != E(t) || !t) return t;
                var n = t[Symbol.toPrimitive];
                if (void 0 !== n) {
                  var r = n.call(t, e || "default");
                  if ("object" != E(r)) return r;
                  throw new TypeError(
                    "@@toPrimitive must return a primitive value."
                  );
                }
                return ("string" === e ? String : Number)(t);
              })(t, "string");
              return "symbol" == E(e) ? e : e + "";
            })(e)) in t
              ? Object.defineProperty(t, e, {
                  value: n,
                  enumerable: !0,
                  configurable: !0,
                  writable: !0,
                })
              : (t[e] = n),
            t
          );
        }
        function P(t, e) {
          if (t !== e)
            throw new TypeError("Cannot instantiate an arrow function");
        }
        var x = "emptyData_mask",
          k = function (t) {
            return (
              P(this, A),
              o.A.isFunction(t.getDisplayViewRoot)
                ? t.getDisplayViewRoot()
                : t.$parent
            );
          }.bind(void 0),
          I = function (t) {
            return (
              P(this, A),
              o.A.isFunction(t.getDisplayViewRoot)
                ? t.getDisplayViewRoot().children()
                : t.$element
            );
          }.bind(void 0),
          j = function (t) {
            var e;
            P(this, A);
            var n = k(t);
            return null == n || null === (e = n.find) || void 0 === e
              ? void 0
              : e.call(n, ".".concat(x));
          }.bind(void 0),
          R = function (t, e) {
            var n = this;
            P(this, A),
              [k(t).find("canvas")].forEach(
                function (t) {
                  P(this, n),
                    e
                      ? t.addClass("sfux-empty-data-clip-path")
                      : t.removeClass("sfux-empty-data-clip-path");
                }.bind(this)
              );
          }.bind(void 0),
          D = function (t) {
            P(this, A), R(t, !1);
            var e = j(t);
            !(function (t) {
              var e, n;
              t._emptyDataMaskRoot &&
                (t._emptyDataMaskRoot.unmount(),
                delete t._emptyDataMaskRoot,
                (null !== (e = t.$wrapper) && void 0 !== e ? e : t.$parent).css(
                  "overflow",
                  null !== (n = t.getRunTimeData("originOverflow")) &&
                    void 0 !== n
                    ? n
                    : "auto"
                ),
                I(t).css("opacity", 1),
                t.$parent.hasClass("component-zIndex-top") ||
                  t.$parent.css("z-index", "unset"));
            })(t),
              e.remove();
          }.bind(void 0),
          L = function (t) {
            var e;
            P(this, A);
            var n =
                t.contextId &&
                (null === (e = (0, s.Vs)()) || void 0 === e
                  ? void 0
                  : e.type) === c.PageType.Card
                  ? (0, s.Wv)(t.contextId)
                  : (0, a.ph)(),
              r = n.config.emptyDataStyleType,
              i = o.A.get(
                t.getDataConfig(),
                "modelHandleConfigs.emptyDataStyleType",
                null
              ),
              l = t.dataGetter.creator,
              u = null;
            if (null != i && i.show) u = i;
            else if (l.id !== t.id) {
              var f = o.A.get(
                l.getDataConfig(),
                "modelHandleConfigs.emptyDataStyleType",
                {}
              );
              null != f && f.show && (u = f);
            }
            if (u) {
              r = u;
              var d = o.A.get(
                n,
                "config.emptyDataStyleType.tips.showErrorMessage",
                !0
              );
              o.A.set(r, "tips.showErrorMessage", d);
            }
            return r;
          }.bind(void 0),
          M = function (t, e) {
            var n = this,
              r = e.modelId;
            (P(this, A), t.config) &&
              (j(t).length && D(t),
              (0, u.forEachBindComponents)(
                t,
                r,
                function (t) {
                  P(this, n);
                  var e = j(t);
                  null != e && e.length && D(t);
                }.bind(this)
              ));
          }.bind(void 0),
          N = function (t, e) {
            var n, r;
            if ((P(this, A), t.config)) {
              var o = j(t);
              o.length && D(t);
              var a = k(t),
                s = Number(a.outerWidth()),
                c = Number(a.outerHeight()),
                l = t.getBasicConfig(),
                u = l.width,
                p = l.height,
                m = (0, f.Ge)(t.contextId);
              if (
                t.contextId &&
                null !== (n = t.$parent) &&
                void 0 !== n &&
                null !== (n = n[0]) &&
                void 0 !== n &&
                null !== (n = n.style) &&
                void 0 !== n &&
                n.transform
              ) {
                var v = i()(t.$parent)
                  .css("transform")
                  .split("(")[1]
                  .split(")")[0]
                  .split(",");
                (m.xf = Number(v[0])), (m.yf = Number(v[3]));
              }
              var g = (null === (r = t.getRunTimeData("originConfig")) ||
              void 0 === r
                ? void 0
                : r.basicConfig) || { width: u, height: p };
              (o = i()(
                "\n        <div\n            class='"
                  .concat(x, "'\n            style='")
                  .concat(
                    t.contextId
                      ? "transform: scaleX("
                          .concat(
                            parseFloat(Number(1 / m.xf).toFixed(5)),
                            ") scaleY("
                          )
                          .concat(
                            parseFloat(Number(1 / m.yf).toFixed(5)),
                            ");\n                transform-origin: 0 0;\n                "
                          )
                      : "width: "
                          .concat(
                            (0, f.ez)(g.width).fullValue,
                            ";\n                height: "
                          )
                          .concat((0, f.ez)(g.height).fullValue, ";"),
                    "\n                z-index: 99999999;\n                position: absolute;\n                top: 0px;\n                left: 0px;\n            '\n        >\n        </div>\n    "
                  )
              )),
                (t.$emptyDataMask = o),
                R(t, !0),
                (function (t, e, n) {
                  var r;
                  (t._emptyDataMaskRoot = (0, h.createRoot)(e)),
                    t._emptyDataMaskRoot.render(d.createElement(S, n));
                  var i =
                      null !== (r = t.$wrapper) && void 0 !== r ? r : t.$parent,
                    o = I(t),
                    a = i.css("overflow");
                  t.setRunTimeData("originOverflow", a),
                    i.css({ overflow: "hidden" }),
                    o.css("opacity", 0),
                    t.$parent.hasClass("component-zIndex-top") ||
                      t.$parent.css("z-index", 0);
                })(t, o[0], {
                  tips: e,
                  rootSize: t.contextId
                    ? [
                        parseFloat(Number((s || u) * m.xf).toFixed(5)),
                        parseFloat(Number((c || p) * m.yf).toFixed(5)),
                      ]
                    : [s || u, c || p],
                }),
                a.append(o);
            }
          }.bind(void 0),
          $ = {
            tips: function (t) {
              var e = t.component,
                n = t.tips;
              P(this, A), (n = O(O({}, L(e).tips), n)), N(e, n);
            }.bind(void 0),
            staticData: function (t) {
              var e = t.component,
                n = t.modelType,
                r = t.modelId,
                i = t.queryData;
              P(this, A);
              var o = O(
                O({ modelId: r, nullDataToStaticData: !0 }, i),
                e.fakeModelDataFromStaticData && e.fakeModelDataFromStaticData()
              );
              e.dataGetter.setData([{ modelType: n, data: o }]);
            }.bind(void 0),
            lastQueryData: function () {
              P(this, A);
            }.bind(void 0),
          },
          B = function (t) {
            var e = this;
            P(this, A);
            var n = t.type;
            return function () {
              return P(this, e), $[n](t);
            }.bind(this);
          }.bind(void 0),
          U = function (t, e, n) {
            var r = this;
            P(this, A);
            var i = e.modelType,
              a = e.modelId,
              c = L(t);
            if (!(0, l.vk)() || !c) return [];
            var f = c.type,
              d = c.tips,
              h = [],
              p = {
                component: t,
                queryData: n,
                modelId: a,
                modelType: i,
                type: f,
                tips: d,
              };
            return (
              h.push(B(p)),
              (0, u.forEachBindComponents)(
                t,
                a,
                function (e) {
                  P(this, r);
                  var n = O({}, p);
                  n.component = (0, s.Y9)(e.id, t.contextId);
                  var i = o.A.get(
                    e.getDataConfig(),
                    "modelHandleConfigs.emptyDataStyleType",
                    null
                  );
                  null != i && i.show && ((n.tips = i.tips), (n.type = i.type)),
                    h.push(B(n));
                }.bind(this)
              ),
              h
            );
          }.bind(void 0),
          F = function (t, e, n) {
            var r = this;
            if ((P(this, A), n.data.length)) M(t, e);
            else {
              var i = t.getBasicConfig().name;
              if (
                (sfLogger.error("".concat(i, ": response data is null"), n),
                (0, l.vk)())
              ) {
                var a = U(t, e, n);
                return (
                  o.A.isArray(a) &&
                    a.forEach(
                      function (t) {
                        return P(this, r), t();
                      }.bind(this)
                    ),
                  !0
                );
              }
            }
            return !1;
          }.bind(void 0);
      },
      2809: (t, e, n) => {
        "use strict";
        n.d(e, { A: () => i });
        var r = n(52063);
        function i() {
          var t = n.g.location.hash.split("/")[1];
          return Object.values(r.EditorType).includes(t)
            ? t
            : r.EditorType.Designer;
        }
      },
      4455: (t, e, n) => {
        "use strict";
        n.d(e, {
          H4: () => p,
          Xq: () => f,
          YJ: () => d,
          bU: () => u,
          eS: () => m,
        });
        var r = n(74692),
          i = n.n(r);
        n(71542);
        function o(t, e) {
          return (
            (function (t) {
              if (Array.isArray(t)) return t;
            })(t) ||
            (function (t, e) {
              var n =
                null == t
                  ? null
                  : ("undefined" != typeof Symbol && t[Symbol.iterator]) ||
                    t["@@iterator"];
              if (null != n) {
                var r,
                  i,
                  o,
                  a,
                  s = [],
                  c = !0,
                  l = !1;
                try {
                  if (((o = (n = n.call(t)).next), 0 === e)) {
                    if (Object(n) !== n) return;
                    c = !1;
                  } else
                    for (
                      ;
                      !(c = (r = o.call(n)).done) &&
                      (s.push(r.value), s.length !== e);
                      c = !0
                    );
                } catch (t) {
                  (l = !0), (i = t);
                } finally {
                  try {
                    if (
                      !c &&
                      null != n.return &&
                      ((a = n.return()), Object(a) !== a)
                    )
                      return;
                  } finally {
                    if (l) throw i;
                  }
                }
                return s;
              }
            })(t, e) ||
            s(t, e) ||
            (function () {
              throw new TypeError(
                "Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."
              );
            })()
          );
        }
        function a(t) {
          return (
            (function (t) {
              if (Array.isArray(t)) return c(t);
            })(t) ||
            (function (t) {
              if (
                ("undefined" != typeof Symbol && null != t[Symbol.iterator]) ||
                null != t["@@iterator"]
              )
                return Array.from(t);
            })(t) ||
            s(t) ||
            (function () {
              throw new TypeError(
                "Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."
              );
            })()
          );
        }
        function s(t, e) {
          if (t) {
            if ("string" == typeof t) return c(t, e);
            var n = {}.toString.call(t).slice(8, -1);
            return (
              "Object" === n && t.constructor && (n = t.constructor.name),
              "Map" === n || "Set" === n
                ? Array.from(t)
                : "Arguments" === n ||
                  /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)
                ? c(t, e)
                : void 0
            );
          }
        }
        function c(t, e) {
          (null == e || e > t.length) && (e = t.length);
          for (var n = 0, r = Array(e); n < e; n++) r[n] = t[n];
          return r;
        }
        function l(t, e) {
          if (t !== e)
            throw new TypeError("Cannot instantiate an arrow function");
        }
        var u = (function (t) {
          return (t.Card = "card"), (t.CardLayout = "cardLayout"), t;
        })({});
        function f() {
          var t = this,
            e = SF.store.selectFlatternComponents(),
            n = [],
            r = e
              .filter(
                function (e) {
                  return l(this, t), "uxCard" === e.type;
                }.bind(this)
              )
              .filter(
                function (e) {
                  return l(this, t), !e.cardLayout && e.status;
                }.bind(this)
              );
          return (
            n.push.apply(
              n,
              a(
                r.map(
                  function (e) {
                    var n;
                    return (
                      l(this, t),
                      {
                        $element: e.$parent,
                        type: u.Card,
                        id: e.id,
                        cardId:
                          null === (n = e.card) || void 0 === n ? void 0 : n.id,
                        instance: e,
                      }
                    );
                  }.bind(this)
                )
              )
            ),
            e
              .filter(
                function (e) {
                  return l(this, t), "cardLayout" === e.type && e.status;
                }.bind(this)
              )
              .forEach(
                function (e) {
                  var r = this;
                  l(this, t);
                  var o = e.layoutInstance._cellData;
                  n.push.apply(
                    n,
                    a(
                      Object.keys(o).map(
                        function (t) {
                          var n;
                          return (
                            l(this, r),
                            {
                              $element: i()(o[t].$wrapper),
                              type: u.CardLayout,
                              id: h(t),
                              cardId:
                                null === (n = o[t].data) || void 0 === n
                                  ? void 0
                                  : n.cardId,
                              instance: e,
                            }
                          );
                        }.bind(this)
                      )
                    )
                  );
                }.bind(this)
              ),
            n
          );
        }
        function d(t) {
          var e = this;
          return f().find(
            function (n) {
              return (
                l(this, e), n.$element.data("mark").toString() === t.toString()
              );
            }.bind(this)
          );
        }
        function h(t) {
          var e = o(t.split("_"), 2),
            n = e[0],
            r = e[1];
          return "".concat(parseInt(n) + 1, ",").concat(parseInt(r) + 1);
        }
        function p() {
          var t = this;
          f()
            .map(
              function (e) {
                l(this, t);
                var n = e.$element[0].getBoundingClientRect(),
                  r = n.left,
                  i = n.top;
                return { id: e.id, left: r, top: i, $element: e.$element };
              }.bind(this)
            )
            .sort(
              function (e, n) {
                return (
                  l(this, t),
                  e.left === n.left ? e.top - n.top : e.left - n.left
                );
              }.bind(this)
            )
            .forEach(
              function (e, n) {
                var r = e.$element;
                l(this, t),
                  (function (t, e) {
                    var n =
                      arguments.length > 2 && void 0 !== arguments[2]
                        ? arguments[2]
                        : "left";
                    t.find(".chatBox-mark").remove(),
                      t.append(
                        "\n        <div class='chatBox-mark chatBox-mark__"
                          .concat(
                            n,
                            "'>\n            <div class='chatBox-mark__tag'>\n                <span class='chatBox-mark__index'>"
                          )
                          .concat(
                            e,
                            "</span>\n            </div>\n        </div>\n    "
                          )
                      ),
                      t.data("mark", e);
                  })(r, n + 1);
              }.bind(this)
            );
        }
        function m() {
          var t = this;
          f().forEach(
            function (e) {
              l(this, t), e.$element.find(".chatBox-mark").remove();
            }.bind(this)
          );
        }
      },
      4573: (t, e, n) => {
        "use strict";
        n.d(e, { Ay: () => b, u7: () => y, wF: () => g });
        var r = n(23850),
          i = n(64464),
          o = n(64475),
          a = n(52063);
        function s(t) {
          return (
            (s =
              "function" == typeof Symbol && "symbol" == typeof Symbol.iterator
                ? function (t) {
                    return typeof t;
                  }
                : function (t) {
                    return t &&
                      "function" == typeof Symbol &&
                      t.constructor === Symbol &&
                      t !== Symbol.prototype
                      ? "symbol"
                      : typeof t;
                  }),
            s(t)
          );
        }
        function c(t, e, n) {
          return (
            (e = u(e)),
            (function (t, e) {
              if (e && ("object" == s(e) || "function" == typeof e)) return e;
              if (void 0 !== e)
                throw new TypeError(
                  "Derived constructors may only return object or undefined"
                );
              return (function (t) {
                if (void 0 === t)
                  throw new ReferenceError(
                    "this hasn't been initialised - super() hasn't been called"
                  );
                return t;
              })(t);
            })(
              t,
              l()
                ? Reflect.construct(e, n || [], u(t).constructor)
                : e.apply(t, n)
            )
          );
        }
        function l() {
          try {
            var t = !Boolean.prototype.valueOf.call(
              Reflect.construct(Boolean, [], function () {})
            );
          } catch (t) {}
          return (l = function () {
            return !!t;
          })();
        }
        function u(t) {
          return (
            (u = Object.setPrototypeOf
              ? Object.getPrototypeOf.bind()
              : function (t) {
                  return t.__proto__ || Object.getPrototypeOf(t);
                }),
            u(t)
          );
        }
        function f(t, e) {
          return (
            (f = Object.setPrototypeOf
              ? Object.setPrototypeOf.bind()
              : function (t, e) {
                  return (t.__proto__ = e), t;
                }),
            f(t, e)
          );
        }
        function d(t, e) {
          for (var n = 0; n < e.length; n++) {
            var r = e[n];
            (r.enumerable = r.enumerable || !1),
              (r.configurable = !0),
              "value" in r && (r.writable = !0),
              Object.defineProperty(t, v(r.key), r);
          }
        }
        function h(t, e, n) {
          return (
            e && d(t.prototype, e),
            n && d(t, n),
            Object.defineProperty(t, "prototype", { writable: !1 }),
            t
          );
        }
        function p(t, e) {
          if (!(t instanceof e))
            throw new TypeError("Cannot call a class as a function");
        }
        function m(t, e, n) {
          return (
            (e = v(e)) in t
              ? Object.defineProperty(t, e, {
                  value: n,
                  enumerable: !0,
                  configurable: !0,
                  writable: !0,
                })
              : (t[e] = n),
            t
          );
        }
        function v(t) {
          var e = (function (t, e) {
            if ("object" != s(t) || !t) return t;
            var n = t[Symbol.toPrimitive];
            if (void 0 !== n) {
              var r = n.call(t, e || "default");
              if ("object" != s(r)) return r;
              throw new TypeError(
                "@@toPrimitive must return a primitive value."
              );
            }
            return ("string" === e ? String : Number)(t);
          })(t, "string");
          return "symbol" == s(e) ? e : e + "";
        }
        var g = h(function t() {
            var e,
              n = this;
            p(this, t),
              m(this, "width", 1920),
              m(this, "height", 1080),
              m(this, "left", 70),
              m(this, "top", 50),
              m(this, "background", {
                type: a.BackgroundType.Pure,
                color: "#3f4041",
                fillType: a.FillType.Center,
                url: "",
              }),
              m(this, "canvasScale", 1),
              m(this, "resolution", 0),
              m(this, "resolutionType", 0),
              m(this, "componentThemeId", o.F4.DefaultComponentTheme),
              m(this, "componentThemeColorId", o.F4.DefaultComponentColor),
              m(this, "fontConfigs", []),
              m(this, "pageParams", []),
              m(this, "loading", {
                enable: 0,
                fontColor: "#FFFFFF",
                backgroundColor: "#FFFFFF",
              }),
              m(this, "filter", o.yG),
              m(this, "showNav", !0),
              m(this, "previewImage", ""),
              m(this, "components", []),
              m(this, "currentComponents", []),
              m(this, "eventConfig", []),
              m(this, "blueprintConfig", {}),
              m(this, "refreshRate", 0),
              m(this, "refreshRateUnit", 0),
              m(this, "animation", { type: "none", duration: 500 }),
              m(this, "screenAnimation", void 0),
              m(this, "pageRemoteControls", {}),
              m(this, "$element", null),
              m(this, "auxiliaryLine", { showLines: !0, lines: [] }),
              m(this, "openSSG", !0),
              m(this, "broadcastConfig", {
                broadcastContent: [],
                highlightColor: "#8ddefe",
              });
            var i = null !== (e = (0, r.BS)()) && void 0 !== e ? e : o.nT.DARK,
              s = (0, r.l0)().find(
                function (t) {
                  return (
                    (function (t, e) {
                      if (t !== e)
                        throw new TypeError(
                          "Cannot instantiate an arrow function"
                        );
                    })(this, n),
                    t.value === i
                  );
                }.bind(this)
              );
            s && s.canvasBg && (this.background.color = s.canvasBg),
              i === o.nT.LIGHT && (this.componentThemeColorId = "colorI");
          }),
          y = (function (t) {
            function e() {
              var t;
              p(this, e);
              for (
                var n = arguments.length, r = new Array(n), o = 0;
                o < n;
                o++
              )
                r[o] = arguments[o];
              return (
                m((t = c(this, e, [].concat(r))), "width", 360),
                m(t, "height", 780),
                m(t, "resolution", 1),
                m(t, "layout", i.S.Types.Flow),
                t
              );
            }
            return (
              (function (t, e) {
                if ("function" != typeof e && null !== e)
                  throw new TypeError(
                    "Super expression must either be null or a function"
                  );
                (t.prototype = Object.create(e && e.prototype, {
                  constructor: { value: t, writable: !0, configurable: !0 },
                })),
                  Object.defineProperty(t, "prototype", { writable: !1 }),
                  e && f(t, e);
              })(e, t),
              h(e)
            );
          })(g),
          b = h(function t() {
            p(this, t),
              m(this, "id", ""),
              m(this, "version", "1.0.0"),
              m(this, "projectId", ""),
              m(this, "type", a.PageType.Pc),
              m(this, "name", ""),
              m(this, "userId", ""),
              m(this, "order", ""),
              m(this, "parentId", ""),
              m(this, "groupUuid", ""),
              m(this, "createTime", ""),
              m(this, "updateTime", ""),
              m(this, "config", void 0),
              m(this, "thumbnailPath", ""),
              m(this, "logoPath", ""),
              m(this, "hide", 1);
          });
      },
      4654: (t, e, n) => {
        var r = {
          "./artificial_en.json": 95236,
          "./artificial_zh.json": 90629,
        };
        function i(t) {
          var e = o(t);
          return n(e);
        }
        function o(t) {
          if (!n.o(r, t)) {
            var e = new Error("Cannot find module '" + t + "'");
            throw ((e.code = "MODULE_NOT_FOUND"), e);
          }
          return r[t];
        }
        (i.keys = function () {
          return Object.keys(r);
        }),
          (i.resolve = o),
          (t.exports = i),
          (i.id = 4654);
      },
      5616: function (t) {
        var e;
        (e = () =>
          (() => {
            "use strict";
            var t = {
                d: (e, n) => {
                  for (var r in n)
                    t.o(n, r) &&
                      !t.o(e, r) &&
                      Object.defineProperty(e, r, {
                        enumerable: !0,
                        get: n[r],
                      });
                },
                o: (t, e) => Object.prototype.hasOwnProperty.call(t, e),
              },
              e = {};
            t.d(e, { VoiceSDK: () => h });
            const n = { sampleRate: 16e3, channelCount: 1, bitsPerSample: 16 },
              r = "未检测到麦克风设备",
              i = "麦克风权限被拒绝",
              o = "WebSocket 连接失败";
            async function a() {
              try {
                return (
                  "granted" ===
                  (await navigator.permissions.query({ name: "microphone" }))
                    .state
                );
              } catch (t) {
                return (
                  console.warn("权限API不支持，将直接尝试获取麦克风权限"), !1
                );
              }
            }
            async function s() {
              try {
                (await navigator.mediaDevices.getUserMedia({ audio: !0 }))
                  .getTracks()
                  .forEach((t) => t.stop());
              } catch (t) {
                throw "NotAllowedError" === t.name ||
                  "PermissionDeniedError" === t.name
                  ? new Error(i)
                  : "NotFoundError" === t.name
                  ? new Error(r)
                  : t;
              }
            }
            const c = {
              randomUUID:
                "undefined" != typeof crypto &&
                crypto.randomUUID &&
                crypto.randomUUID.bind(crypto),
            };
            let l;
            const u = new Uint8Array(16),
              f = [];
            for (let t = 0; t < 256; ++t)
              f.push((t + 256).toString(16).slice(1));
            const d = function (t, e, n) {
              if (c.randomUUID && !e && !t) return c.randomUUID();
              const r =
                (t = t || {}).random ??
                t.rng?.() ??
                (function () {
                  if (!l) {
                    if ("undefined" == typeof crypto || !crypto.getRandomValues)
                      throw new Error(
                        "crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported"
                      );
                    l = crypto.getRandomValues.bind(crypto);
                  }
                  return l(u);
                })();
              if (r.length < 16)
                throw new Error("Random bytes length must be >= 16");
              if (((r[6] = (15 & r[6]) | 64), (r[8] = (63 & r[8]) | 128), e)) {
                if ((n = n || 0) < 0 || n + 16 > e.length)
                  throw new RangeError(
                    `UUID byte range ${n}:${n + 15} is out of buffer bounds`
                  );
                for (let t = 0; t < 16; ++t) e[n + t] = r[t];
                return e;
              }
              return (function (t, e = 0) {
                return (
                  f[t[e + 0]] +
                  f[t[e + 1]] +
                  f[t[e + 2]] +
                  f[t[e + 3]] +
                  "-" +
                  f[t[e + 4]] +
                  f[t[e + 5]] +
                  "-" +
                  f[t[e + 6]] +
                  f[t[e + 7]] +
                  "-" +
                  f[t[e + 8]] +
                  f[t[e + 9]] +
                  "-" +
                  f[t[e + 10]] +
                  f[t[e + 11]] +
                  f[t[e + 12]] +
                  f[t[e + 13]] +
                  f[t[e + 14]] +
                  f[t[e + 15]]
                ).toLowerCase();
              })(r);
            };
            class h {
              constructor(t) {
                (this.mediaStream = null),
                  (this.audioContext = null),
                  (this.websocket = null),
                  (this.reconnectAttempts = 0),
                  (this.sourceNode = null),
                  (this.processorNode = null),
                  (this.options = {
                    ...t,
                    audioConfig: { ...n, ...t.audioConfig },
                  });
              }
              async init() {
                try {
                  (await a()) || (await s()),
                    (this.audioContext = new AudioContext({
                      sampleRate: this.options.audioConfig.sampleRate,
                    })),
                    await this.initWebSocket();
                } catch (t) {
                  this.handleError(t);
                }
              }
              async startRecording() {
                var t;
                try {
                  (null === (t = this.websocket) || void 0 === t
                    ? void 0
                    : t.readyState) !== WebSocket.OPEN &&
                    (console.log("WebSocket未连接，重新初始化"),
                    await this.initWebSocket()),
                    (await a()) || (await s()),
                    console.log("开始录音"),
                    this.audioContext ||
                      (this.audioContext = new AudioContext({
                        sampleRate: this.options.audioConfig.sampleRate,
                      })),
                    "suspended" === this.audioContext.state &&
                      (await this.audioContext.resume()),
                    (this.mediaStream =
                      await navigator.mediaDevices.getUserMedia({
                        audio: {
                          sampleRate: this.options.audioConfig.sampleRate,
                          channelCount: this.options.audioConfig.channelCount,
                          echoCancellation: !0,
                          autoGainControl: !0,
                          noiseSuppression: !0,
                        },
                      })),
                    (this.sourceNode =
                      this.audioContext.createMediaStreamSource(
                        this.mediaStream
                      )),
                    (this.processorNode =
                      this.audioContext.createScriptProcessor(1024, 1, 1)),
                    (this.processorNode.onaudioprocess = (t) => {
                      const e = t.inputBuffer.getChannelData(0),
                        n = new Float32Array(e);
                      console.log("处理音频数据", n),
                        this.processAndSendAudio(n);
                    }),
                    this.sourceNode.connect(this.processorNode),
                    this.processorNode.connect(this.audioContext.destination);
                } catch (t) {
                  console.error("录音启动错误:", t),
                    t instanceof Error && (t.message === i || t.message === r)
                      ? this.handleError(t)
                      : this.handleError(new Error("录音失败"));
                }
              }
              stopRecording() {
                var t, e, n;
                null === (t = this.processorNode) ||
                  void 0 === t ||
                  t.disconnect(),
                  null === (e = this.sourceNode) ||
                    void 0 === e ||
                    e.disconnect(),
                  null === (n = this.mediaStream) ||
                    void 0 === n ||
                    n.getTracks().forEach((t) => t.stop()),
                  (this.processorNode = null),
                  (this.sourceNode = null),
                  (this.mediaStream = null);
              }
              processAndSendAudio(t) {
                if (0 === t.length)
                  return void console.warn("收到空的音频数据");
                const e = new Int16Array(t.length);
                for (let n = 0; n < t.length; n++) {
                  const r = Math.max(-1, Math.min(1, t[n]));
                  e[n] = r < 0 ? 32768 * r : 32767 * r;
                }
                const n = new Int16Array(e.length + 1);
                (n[0] = 1), n.set(e, 1);
                const r = new Blob([n], { type: "audio/wav" });
                console.log("音频数据处理完成，准备发送"),
                  this.sendAudioData(r);
              }
              destroy() {
                var t, e;
                this.stopRecording(),
                  null === (t = this.websocket) || void 0 === t || t.close(),
                  null === (e = this.audioContext) || void 0 === e || e.close(),
                  (this.mediaStream = null),
                  (this.audioContext = null),
                  (this.websocket = null),
                  (this.sourceNode = null),
                  (this.processorNode = null);
              }
              async initWebSocket() {
                return new Promise((t, e) => {
                  (this.websocket = new WebSocket(this.options.wsUrl)),
                    (this.websocket.onopen = () => {
                      console.log("WebSocket连接成功"),
                        (this.reconnectAttempts = 0),
                        t();
                    }),
                    (this.websocket.onclose = () => {
                      console.log("WebSocket连接关闭"),
                        this.reconnectAttempts < 3
                          ? setTimeout(() => {
                              this.reconnectAttempts++, this.initWebSocket();
                            }, 1e3)
                          : this.handleError(new Error(o));
                    }),
                    (this.websocket.onerror = (t) => {
                      const e = new Error("WebSocket error occurred");
                      this.handleError(e);
                    }),
                    (this.websocket.onmessage = (t) => {
                      if (this.options.onSuccess)
                        try {
                          const e = JSON.parse(t.data);
                          this.options.onSuccess(e);
                        } catch (e) {
                          this.options.onSuccess(t.data);
                        }
                    });
                });
              }
              sendAudioData(t) {
                var e, n;
                (null === (e = this.websocket) || void 0 === e
                  ? void 0
                  : e.readyState) === WebSocket.OPEN
                  ? (console.log("发送音频数据大小:", t.size, "bytes"),
                    this.websocket.send(t))
                  : (console.error(
                      "WebSocket未连接，状态:",
                      null === (n = this.websocket) || void 0 === n
                        ? void 0
                        : n.readyState
                    ),
                    this.handleError(new Error(o)));
              }
              handleError(t) {
                this.options.onError
                  ? this.options.onError(t)
                  : console.error("VoiceSDK Error:", t);
              }
              handleHidePerson() {
                var t;
                const e = JSON.stringify({
                  content: !1,
                  __MESSAGE__: "huaman_display",
                });
                null === (t = this.websocket) || void 0 === t || t.send(e);
              }
              handleShowPerson() {
                var t;
                const e = JSON.stringify({
                  content: !0,
                  __MESSAGE__: "huaman_display",
                });
                null === (t = this.websocket) || void 0 === t || t.send(e);
              }
              handleTextToSpeech(t) {
                var e;
                const n = { content: t, id: d(), __MESSAGE__: "to_tts" },
                  r = JSON.stringify(n);
                null === (e = this.websocket) || void 0 === e || e.send(r);
              }
              handleTextChat(t) {
                var e;
                const n = {
                    content: t,
                    finish: !0,
                    id: d(),
                    __MESSAGE__: "chat_content",
                  },
                  r = JSON.stringify(n);
                null === (e = this.websocket) || void 0 === e || e.send(r);
              }
            }
            return e.VoiceSDK;
          })()),
          (t.exports = e());
      },
      6368: (t, e, n) => {
        "use strict";
        n.d(e, { A: () => m });
        var r = n(82960),
          i = n(82410);
        function o(t) {
          return (
            (o =
              "function" == typeof Symbol && "symbol" == typeof Symbol.iterator
                ? function (t) {
                    return typeof t;
                  }
                : function (t) {
                    return t &&
                      "function" == typeof Symbol &&
                      t.constructor === Symbol &&
                      t !== Symbol.prototype
                      ? "symbol"
                      : typeof t;
                  }),
            o(t)
          );
        }
        function a(t, e) {
          var n = Object.keys(t);
          if (Object.getOwnPropertySymbols) {
            var r = Object.getOwnPropertySymbols(t);
            e &&
              (r = r.filter(function (e) {
                return Object.getOwnPropertyDescriptor(t, e).enumerable;
              })),
              n.push.apply(n, r);
          }
          return n;
        }
        function s(t) {
          for (var e = 1; e < arguments.length; e++) {
            var n = null != arguments[e] ? arguments[e] : {};
            e % 2
              ? a(Object(n), !0).forEach(function (e) {
                  c(t, e, n[e]);
                })
              : Object.getOwnPropertyDescriptors
              ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(n))
              : a(Object(n)).forEach(function (e) {
                  Object.defineProperty(
                    t,
                    e,
                    Object.getOwnPropertyDescriptor(n, e)
                  );
                });
          }
          return t;
        }
        function c(t, e, n) {
          return (
            (e = (function (t) {
              var e = (function (t, e) {
                if ("object" != o(t) || !t) return t;
                var n = t[Symbol.toPrimitive];
                if (void 0 !== n) {
                  var r = n.call(t, e || "default");
                  if ("object" != o(r)) return r;
                  throw new TypeError(
                    "@@toPrimitive must return a primitive value."
                  );
                }
                return ("string" === e ? String : Number)(t);
              })(t, "string");
              return "symbol" == o(e) ? e : e + "";
            })(e)) in t
              ? Object.defineProperty(t, e, {
                  value: n,
                  enumerable: !0,
                  configurable: !0,
                  writable: !0,
                })
              : (t[e] = n),
            t
          );
        }
        var l = {
          user: {},
          projects: {},
          currentProject: "",
          remoteControls: [],
          theme: {},
          licenseInfo: [],
          permissionList: {},
          personalConfig: {},
          systemConstants: {},
          projectWatermarkInfo: {},
        };
        function u(t) {
          return (
            (u =
              "function" == typeof Symbol && "symbol" == typeof Symbol.iterator
                ? function (t) {
                    return typeof t;
                  }
                : function (t) {
                    return t &&
                      "function" == typeof Symbol &&
                      t.constructor === Symbol &&
                      t !== Symbol.prototype
                      ? "symbol"
                      : typeof t;
                  }),
            u(t)
          );
        }
        function f(t, e) {
          var n = Object.keys(t);
          if (Object.getOwnPropertySymbols) {
            var r = Object.getOwnPropertySymbols(t);
            e &&
              (r = r.filter(function (e) {
                return Object.getOwnPropertyDescriptor(t, e).enumerable;
              })),
              n.push.apply(n, r);
          }
          return n;
        }
        function d(t) {
          for (var e = 1; e < arguments.length; e++) {
            var n = null != arguments[e] ? arguments[e] : {};
            e % 2
              ? f(Object(n), !0).forEach(function (e) {
                  h(t, e, n[e]);
                })
              : Object.getOwnPropertyDescriptors
              ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(n))
              : f(Object(n)).forEach(function (e) {
                  Object.defineProperty(
                    t,
                    e,
                    Object.getOwnPropertyDescriptor(n, e)
                  );
                });
          }
          return t;
        }
        function h(t, e, n) {
          return (
            (e = (function (t) {
              var e = (function (t, e) {
                if ("object" != u(t) || !t) return t;
                var n = t[Symbol.toPrimitive];
                if (void 0 !== n) {
                  var r = n.call(t, e || "default");
                  if ("object" != u(r)) return r;
                  throw new TypeError(
                    "@@toPrimitive must return a primitive value."
                  );
                }
                return ("string" === e ? String : Number)(t);
              })(t, "string");
              return "symbol" == u(e) ? e : e + "";
            })(e)) in t
              ? Object.defineProperty(t, e, {
                  value: n,
                  enumerable: !0,
                  configurable: !0,
                  writable: !0,
                })
              : (t[e] = n),
            t
          );
        }
        var p = {
          pages: {},
          currentPage: "",
          pageExtra: {},
          pageConfigs: {},
          indicatorCards: void 0,
        };
        const m = (0, r.y$)(
          (0, r.HY)({
            app: function () {
              var t =
                  arguments.length > 0 && void 0 !== arguments[0]
                    ? arguments[0]
                    : l,
                e = arguments.length > 1 ? arguments[1] : void 0;
              switch (e.type) {
                case i.k.SET_CURRENT_USER:
                  var n = e.payload;
                  return s(s({}, t), {}, { user: n });
                case i.k.SET_COMPONENT_THEME_CONFIG:
                  var r = e.payload;
                  return s(s({}, t), {}, { theme: r });
                case i.k.SET_CURRENT_PROJECT:
                  var o = e.payload;
                  return s(
                    s({}, t),
                    {},
                    { projects: c({}, o.id, o), currentProject: o.id }
                  );
                case i.k.GET_PROJECT_PAGES:
                  var a = e.payload,
                    u = s({}, t.projects),
                    f = u[a.projectId];
                  return f
                    ? ((f.children = a.children),
                      s(s({}, t), {}, { projects: u }))
                    : t;
                case i.k.SET_REMOTE_CONTROL_CONFIG:
                  var d = e.payload;
                  return d ? s(s({}, t), {}, { remoteControls: d }) : t;
                case i.k.SET_PERSONAL_CONFIG:
                  var h = e.payload;
                  return s(s({}, t), {}, { personalConfig: h });
                case i.k.GET_SYSTEM_CONSTANTS:
                  var p = e.payload;
                  return s(s({}, t), {}, { systemConstants: p });
                case i.k.SET_PROJECT_WATERMARKINFO:
                  var m = e.payload;
                  return s(s({}, t), {}, { projectWatermarkInfo: m });
                case i.k.SET_LICENSE_INFO:
                  var v = e.payload.licenseInfo;
                  return s(s({}, t), {}, { licenseInfo: v });
                case i.k.SET_PERMISSION_LIST:
                  var g = e.payload.permissionList;
                  return s(s({}, t), {}, { permissionList: g });
                default:
                  return t;
              }
            },
            page: function () {
              var t =
                  arguments.length > 0 && void 0 !== arguments[0]
                    ? arguments[0]
                    : p,
                e = arguments.length > 1 ? arguments[1] : void 0;
              switch (e.type) {
                case i.k.SET_CURRENT_PAGE:
                  var n = e.payload,
                    r = d({}, t.pages),
                    o = d({}, t.pageExtra),
                    a = t.pageExtra[n.id];
                  return (
                    a || (a = { status: "loading" }),
                    (o[n.id] = a),
                    (r[n.id] = n),
                    d(
                      d({}, t),
                      {},
                      { pages: r, currentPage: n.id, pageExtra: o }
                    )
                  );
                case i.k.SET_PAGE_CONFIG:
                  var s = e.payload,
                    c = d({}, t.pageConfigs);
                  return (c[s.id] = s), d(d({}, t), {}, { pageConfigs: c });
                case i.k.SET_PAGE_LOADED:
                  var l = e.payload,
                    u = d({}, t.pages),
                    f = d({}, t.pageExtra),
                    h = t.pageExtra[l.id] || {};
                  return (
                    (h.status = "loaded"),
                    (u[l.id] = l),
                    (f[l.id] = h),
                    d(d({}, t), {}, { pages: u, pageExtra: f })
                  );
                case i.k.CLEAR_PAGE_BY_ID:
                  var m = e.payload,
                    v = d({}, t.pages),
                    g = d({}, t.pageExtra),
                    y = m === t.currentPage ? "" : t.currentPage;
                  return (
                    delete v[m],
                    delete g[m],
                    d(d({}, t), {}, { pages: v, pageExtra: g, currentPage: y })
                  );
                case i.k.CLEAR_CURRENT_PAGE:
                  var b = d({}, t.pages),
                    V = d({}, t.pageExtra);
                  return (
                    delete b[t.currentPage],
                    delete V[t.currentPage],
                    d(d({}, t), {}, { pages: b, pageExtra: V, currentPage: "" })
                  );
                case i.k.SET_CARD_TO_PAGE:
                  var _ = e.payload,
                    w = d({}, t.pages);
                  return (w[e.id] = _), d(d({}, t), {}, { pages: w });
                case i.k.SET_PAGE_INDICAROR_CARDS:
                  var S = e.payload;
                  return d(d({}, t), {}, { indicatorCards: S });
                default:
                  return t;
              }
            },
          }),
          window.__REDUX_DEVTOOLS_EXTENSION__ &&
            window.__REDUX_DEVTOOLS_EXTENSION__()
        );
      },
      7821: (t, e, n) => {
        "use strict";
        n.d(e, {
          $e: () => m,
          As: () => v,
          BK: () => w,
          F6: () => _,
          Fl: () => V,
          G1: () => p,
          g0: () => y,
          kK: () => S,
          ms: () => h,
          r1: () => g,
          yk: () => b,
        });
        var r = n(71542),
          i = n(15354),
          o = n(43488),
          a = n(53148),
          s = n(13916),
          c = n(29556),
          l = n(97864);
        function u(t) {
          return (
            (function (t) {
              if (Array.isArray(t)) return f(t);
            })(t) ||
            (function (t) {
              if (
                ("undefined" != typeof Symbol && null != t[Symbol.iterator]) ||
                null != t["@@iterator"]
              )
                return Array.from(t);
            })(t) ||
            (function (t, e) {
              if (t) {
                if ("string" == typeof t) return f(t, e);
                var n = {}.toString.call(t).slice(8, -1);
                return (
                  "Object" === n && t.constructor && (n = t.constructor.name),
                  "Map" === n || "Set" === n
                    ? Array.from(t)
                    : "Arguments" === n ||
                      /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)
                    ? f(t, e)
                    : void 0
                );
              }
            })(t) ||
            (function () {
              throw new TypeError(
                "Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."
              );
            })()
          );
        }
        function f(t, e) {
          (null == e || e > t.length) && (e = t.length);
          for (var n = 0, r = Array(e); n < e; n++) r[n] = t[n];
          return r;
        }
        function d(t, e) {
          if (t !== e)
            throw new TypeError("Cannot instantiate an arrow function");
        }
        async function h(t, e, n, i, s) {
          var l = this;
          if (r.A.isEmpty(null == t ? void 0 : t.children)) return !0;
          var f = (function (t) {
              var e = new Set([]);
              return (
                (function t(n) {
                  if (n && n.length)
                    for (
                      var r = function () {
                          var r = this,
                            o = n[i];
                          ["left", "right"].forEach(
                            function (t) {
                              var n = this;
                              d(this, r);
                              var i = o[t].value;
                              "string" == typeof i && (i = [i]),
                                i.forEach(
                                  function (t) {
                                    d(this, n),
                                      t &&
                                        String(t).startsWith(a.DB.Flag) &&
                                        e.add(t);
                                  }.bind(this)
                                );
                            }.bind(this)
                          ),
                            o.children && o.children.length && t(o.children);
                        },
                        i = 0;
                      i < n.length;
                      i++
                    )
                      r();
                })(t.children),
                u(e)
              );
            })(t),
            h = {};
          return (
            await Promise.all(
              f.map(
                async function (t) {
                  d(this, l);
                  var r = await (0, c.$8)({
                    value: t,
                    event: e,
                    action: n,
                    eventConfig: i,
                    source: s,
                  });
                  h[t] = r;
                }.bind(this)
              )
            ),
            await (0, o.M$)(h, t, s)
          );
        }
        function p(t, e) {
          return t === (null == e ? void 0 : e.eventSourceId);
        }
        function m(t, e) {
          return t === a.RX.PAGE ? "" : e;
        }
        function v(t) {
          var e = t.remoteType,
            n = t.targetPageId,
            r = t.targetProjectId,
            i = t;
          switch (e) {
            case a.RX.PAGE:
              i = {
                actionId: t.actionId,
                actionType: a.X2.Redirect,
                url: { projectId: r, pageId: n },
                openType: a.h6.CurrentTab,
                paramConfigs: t.paramConfigs,
                paramsConverter: t.paramsConverter,
              };
              break;
            case a.RX.EVENT:
              i = {
                actionId: t.actionId,
                actionType: a.X2.DomEvent,
                targetProjectId: r,
                targetPageId: n,
                targetId: t.targetId,
                paramConfigs: t.paramConfigs,
                paramsConverter: t.paramsConverter,
                remoteEventType: t.remoteEventType,
              };
              break;
            case a.RX.CUSTOM:
              i = {
                actionId: t.actionId,
                actionType: a.X2.Custom,
                code: t.code,
              };
          }
          return i;
        }
        function g(t) {
          return t ? (r.A.isArray(t) ? t : [t]) : [];
        }
        function y(t, e) {
          var n;
          n = setTimeout(function r() {
            clearTimeout(n), (n = setTimeout(r, e)), t(n);
          }, e);
        }
        function b() {
          return Number(new Date().getTime()).toString(36);
        }
        function V(t, e) {
          var n;
          if (
            null === (n = window.SF) ||
            void 0 === n ||
            null === (n = n.data) ||
            void 0 === n ||
            !n.user
          )
            return !0;
          if (t.length > 0) {
            var r = window.SF.data.user.userId;
            if (!t.includes(r)) return !1;
          }
          if (e.length > 0) {
            var i = window.SF.data.user.deptId;
            if (!e.includes(i)) return !1;
          }
          return !0;
        }
        function _() {
          var t,
            e,
            n = (
              null !==
                (t =
                  null === (e = window.SF) ||
                  void 0 === e ||
                  null === (e = e.data) ||
                  void 0 === e
                    ? void 0
                    : e.user) && void 0 !== t
                ? t
                : {}
            ).userId;
          return void 0 === n ? "" : n;
        }
        function w(t) {
          var e = (0, i.Vs)(),
            n = t.targetPageId;
          return (
            t.actionType === a.X2.RemoteControl ||
            ("isRemotePage" in t && n !== e.id
              ? t.isRemotePage
              : !!n && n !== e.id)
          );
        }
        async function S(t) {
          return (0, s.fx)() ? await (0, l.sj)(t) : await (0, l.RM)(t);
        }
      },
      8314: (t, e, n) => {
        "use strict";
        n.d(e, { A: () => r });
        n(71542);
        function r(t) {
          const e = new RegExp(`(^|&)${t}=([^&/#]*)`),
            n = window.location.href.split("?")[1];
          if (!n) return null;
          const r = n.match(e);
          return r ? decodeURIComponent(r[2]) : null;
        }
      },
      8362: function (__unused_webpack_module, exports, __webpack_require__) {
        var Ps = Object.defineProperty,
          $s = (t, e, n) =>
            e in t
              ? Ps(t, e, {
                  enumerable: !0,
                  configurable: !0,
                  writable: !0,
                  value: n,
                })
              : (t[e] = n),
          Mi = (t, e, n) => ($s(t, "symbol" != typeof e ? e + "" : e, n), n),
          ro = (t, e, n) => {
            if (!e.has(t)) throw TypeError("Cannot " + n);
          },
          $n = (t, e, n) => (
            ro(t, e, "read from private field"), n ? n.call(t) : e.get(t)
          ),
          Fn = (t, e, n) => {
            if (e.has(t))
              throw TypeError(
                "Cannot add the same private member more than once"
              );
            e instanceof WeakSet ? e.add(t) : e.set(t, n);
          },
          Sn = (t, e, n, r) => (
            ro(t, e, "write to private field"),
            r ? r.call(t, n) : e.set(t, n),
            n
          ),
          tt;
        (tt = function (exports) {
          var lt, tt, gt, Ln, Bn, Un;
          class VideoIndexDb {
            constructor(t = "videos") {
              const e = this;
              (this.tableName = t),
                (this.request = indexedDB.open("VideoCache", 1)),
                (this.request.onupgradeneeded = function (e) {
                  const n = e.target.result;
                  n.objectStoreNames.contains(t) ||
                    n.createObjectStore(t, { keyPath: "id" });
                }),
                (this.request.onsuccess = function (t) {
                  (e.db = t.target.result), console.log("数据库打开成功");
                }),
                (this.request.onerror = function (t) {
                  console.error("Database error: ", t.target.errorCode);
                });
            }
            addVideo(t, e) {
              const n = this,
                r = { id: t, data: e },
                i = n.db
                  .transaction([n.tableName], "readwrite")
                  .objectStore(n.tableName)
                  .add(r);
              (i.onsuccess = function (t) {
                console.log("Video stored successfully", t);
              }),
                (i.onerror = function (t) {
                  console.error("Error storing video: ", t.target.error);
                });
            }
            getVideoFromCache(t) {
              const e = this;
              return new Promise((n, r) => {
                const i = e.db
                  .transaction([e.tableName], "readonly")
                  .objectStore(e.tableName)
                  .get(t);
                (i.onsuccess = function (t) {
                  t.target.result ? n(t.target.result.data) : n(null);
                }),
                  (i.onerror = function (t) {
                    r(t.target.error);
                  });
              });
            }
            async checkVideo(t, e) {
              e(await this.getVideoFromCache(t));
            }
            async loadVideo(t, e) {
              const n = this,
                r = t.split("://")[1];
              n.checkVideo(r, (i) => {
                if (i) {
                  const t = URL.createObjectURL(i);
                  e(t);
                } else
                  fetch(t)
                    .then((t) => t.blob())
                    .then((t) => {
                      n.addVideo(r, t);
                      const o = URL.createObjectURL(i);
                      e(o);
                    })
                    .catch((t) => console.error("Error fetching video: ", t));
              });
            }
          }
          window.VideoUseDb = new VideoIndexDb("videos");
          class Polyfill {
            static install() {
              (Object.setPrototypeOf =
                Object.setPrototypeOf ||
                function (t, e) {
                  return (t.__proto__ = e), t;
                }),
                (Object.assign =
                  Object.assign ||
                  function (t) {
                    if (null == t)
                      throw new TypeError(
                        "Cannot convert undefined or null to object"
                      );
                    let e = Object(t);
                    for (let t = 1; t < arguments.length; t++) {
                      let n = arguments[t];
                      if (null != n)
                        for (let t in n) n.hasOwnProperty(t) && (e[t] = n[t]);
                    }
                    return e;
                  });
            }
          }
          Polyfill.install();
          var commonjsGlobal =
            typeof globalThis < "u"
              ? globalThis
              : typeof window < "u"
              ? window
              : typeof __webpack_require__.g < "u"
              ? __webpack_require__.g
              : typeof self < "u"
              ? self
              : {};
          function getDefaultExportFromCjs(t) {
            return t &&
              t.__esModule &&
              Object.prototype.hasOwnProperty.call(t, "default")
              ? t.default
              : t;
          }
          var events = { exports: {} },
            R = "object" == typeof Reflect ? Reflect : null,
            ReflectApply =
              R && "function" == typeof R.apply
                ? R.apply
                : function (t, e, n) {
                    return Function.prototype.apply.call(t, e, n);
                  },
            ReflectOwnKeys;
          function ProcessEmitWarning(t) {
            console && console.warn && console.warn(t);
          }
          ReflectOwnKeys =
            R && "function" == typeof R.ownKeys
              ? R.ownKeys
              : Object.getOwnPropertySymbols
              ? function (t) {
                  return Object.getOwnPropertyNames(t).concat(
                    Object.getOwnPropertySymbols(t)
                  );
                }
              : function (t) {
                  return Object.getOwnPropertyNames(t);
                };
          var NumberIsNaN =
            Number.isNaN ||
            function (t) {
              return t != t;
            };
          function EventEmitter() {
            EventEmitter.init.call(this);
          }
          (events.exports = EventEmitter),
            (events.exports.once = once),
            (EventEmitter.EventEmitter = EventEmitter),
            (EventEmitter.prototype._events = void 0),
            (EventEmitter.prototype._eventsCount = 0),
            (EventEmitter.prototype._maxListeners = void 0);
          var defaultMaxListeners = 10;
          function checkListener(t) {
            if ("function" != typeof t)
              throw new TypeError(
                'The "listener" argument must be of type Function. Received type ' +
                  typeof t
              );
          }
          function _getMaxListeners(t) {
            return void 0 === t._maxListeners
              ? EventEmitter.defaultMaxListeners
              : t._maxListeners;
          }
          function _addListener(t, e, n, r) {
            var i, o, a;
            if (
              (checkListener(n),
              void 0 === (o = t._events)
                ? ((o = t._events = Object.create(null)), (t._eventsCount = 0))
                : (void 0 !== o.newListener &&
                    (t.emit("newListener", e, n.listener ? n.listener : n),
                    (o = t._events)),
                  (a = o[e])),
              void 0 === a)
            )
              (a = o[e] = n), ++t._eventsCount;
            else if (
              ("function" == typeof a
                ? (a = o[e] = r ? [n, a] : [a, n])
                : r
                ? a.unshift(n)
                : a.push(n),
              (i = _getMaxListeners(t)) > 0 && a.length > i && !a.warned)
            ) {
              a.warned = !0;
              var s = new Error(
                "Possible EventEmitter memory leak detected. " +
                  a.length +
                  " " +
                  String(e) +
                  " listeners added. Use emitter.setMaxListeners() to increase limit"
              );
              (s.name = "MaxListenersExceededWarning"),
                (s.emitter = t),
                (s.type = e),
                (s.count = a.length),
                ProcessEmitWarning(s);
            }
            return t;
          }
          function onceWrapper() {
            if (!this.fired)
              return (
                this.target.removeListener(this.type, this.wrapFn),
                (this.fired = !0),
                0 === arguments.length
                  ? this.listener.call(this.target)
                  : this.listener.apply(this.target, arguments)
              );
          }
          function _onceWrap(t, e, n) {
            var r = {
                fired: !1,
                wrapFn: void 0,
                target: t,
                type: e,
                listener: n,
              },
              i = onceWrapper.bind(r);
            return (i.listener = n), (r.wrapFn = i), i;
          }
          function _listeners(t, e, n) {
            var r = t._events;
            if (void 0 === r) return [];
            var i = r[e];
            return void 0 === i
              ? []
              : "function" == typeof i
              ? n
                ? [i.listener || i]
                : [i]
              : n
              ? unwrapListeners(i)
              : arrayClone(i, i.length);
          }
          function listenerCount(t) {
            var e = this._events;
            if (void 0 !== e) {
              var n = e[t];
              if ("function" == typeof n) return 1;
              if (void 0 !== n) return n.length;
            }
            return 0;
          }
          function arrayClone(t, e) {
            for (var n = new Array(e), r = 0; r < e; ++r) n[r] = t[r];
            return n;
          }
          function spliceOne(t, e) {
            for (; e + 1 < t.length; e++) t[e] = t[e + 1];
            t.pop();
          }
          function unwrapListeners(t) {
            for (var e = new Array(t.length), n = 0; n < e.length; ++n)
              e[n] = t[n].listener || t[n];
            return e;
          }
          function once(t, e) {
            return new Promise(function (n, r) {
              function i(n) {
                t.removeListener(e, o), r(n);
              }
              function o() {
                "function" == typeof t.removeListener &&
                  t.removeListener("error", i),
                  n([].slice.call(arguments));
              }
              eventTargetAgnosticAddListener(t, e, o, { once: !0 }),
                "error" !== e &&
                  addErrorHandlerIfEventEmitter(t, i, { once: !0 });
            });
          }
          function addErrorHandlerIfEventEmitter(t, e, n) {
            "function" == typeof t.on &&
              eventTargetAgnosticAddListener(t, "error", e, n);
          }
          function eventTargetAgnosticAddListener(t, e, n, r) {
            if ("function" == typeof t.on) r.once ? t.once(e, n) : t.on(e, n);
            else {
              if ("function" != typeof t.addEventListener)
                throw new TypeError(
                  'The "emitter" argument must be of type EventEmitter. Received type ' +
                    typeof t
                );
              t.addEventListener(e, function i(o) {
                r.once && t.removeEventListener(e, i), n(o);
              });
            }
          }
          Object.defineProperty(EventEmitter, "defaultMaxListeners", {
            enumerable: !0,
            get: function () {
              return defaultMaxListeners;
            },
            set: function (t) {
              if ("number" != typeof t || t < 0 || NumberIsNaN(t))
                throw new RangeError(
                  'The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received ' +
                    t +
                    "."
                );
              defaultMaxListeners = t;
            },
          }),
            (EventEmitter.init = function () {
              (void 0 === this._events ||
                this._events === Object.getPrototypeOf(this)._events) &&
                ((this._events = Object.create(null)), (this._eventsCount = 0)),
                (this._maxListeners = this._maxListeners || void 0);
            }),
            (EventEmitter.prototype.setMaxListeners = function (t) {
              if ("number" != typeof t || t < 0 || NumberIsNaN(t))
                throw new RangeError(
                  'The value of "n" is out of range. It must be a non-negative number. Received ' +
                    t +
                    "."
                );
              return (this._maxListeners = t), this;
            }),
            (EventEmitter.prototype.getMaxListeners = function () {
              return _getMaxListeners(this);
            }),
            (EventEmitter.prototype.emit = function (t) {
              for (var e = [], n = 1; n < arguments.length; n++)
                e.push(arguments[n]);
              var r = "error" === t,
                i = this._events;
              if (void 0 !== i) r = r && void 0 === i.error;
              else if (!r) return !1;
              if (r) {
                var o;
                if ((e.length > 0 && (o = e[0]), o instanceof Error)) throw o;
                var a = new Error(
                  "Unhandled error." + (o ? " (" + o.message + ")" : "")
                );
                throw ((a.context = o), a);
              }
              var s = i[t];
              if (void 0 === s) return !1;
              if ("function" == typeof s) ReflectApply(s, this, e);
              else {
                var c = s.length,
                  l = arrayClone(s, c);
                for (n = 0; n < c; ++n) ReflectApply(l[n], this, e);
              }
              return !0;
            }),
            (EventEmitter.prototype.addListener = function (t, e) {
              return _addListener(this, t, e, !1);
            }),
            (EventEmitter.prototype.on = EventEmitter.prototype.addListener),
            (EventEmitter.prototype.prependListener = function (t, e) {
              return _addListener(this, t, e, !0);
            }),
            (EventEmitter.prototype.once = function (t, e) {
              return checkListener(e), this.on(t, _onceWrap(this, t, e)), this;
            }),
            (EventEmitter.prototype.prependOnceListener = function (t, e) {
              return (
                checkListener(e),
                this.prependListener(t, _onceWrap(this, t, e)),
                this
              );
            }),
            (EventEmitter.prototype.removeListener = function (t, e) {
              var n, r, i, o, a;
              if ((checkListener(e), void 0 === (r = this._events)))
                return this;
              if (void 0 === (n = r[t])) return this;
              if (n === e || n.listener === e)
                0 == --this._eventsCount
                  ? (this._events = Object.create(null))
                  : (delete r[t],
                    r.removeListener &&
                      this.emit("removeListener", t, n.listener || e));
              else if ("function" != typeof n) {
                for (i = -1, o = n.length - 1; o >= 0; o--)
                  if (n[o] === e || n[o].listener === e) {
                    (a = n[o].listener), (i = o);
                    break;
                  }
                if (i < 0) return this;
                0 === i ? n.shift() : spliceOne(n, i),
                  1 === n.length && (r[t] = n[0]),
                  void 0 !== r.removeListener &&
                    this.emit("removeListener", t, a || e);
              }
              return this;
            }),
            (EventEmitter.prototype.off =
              EventEmitter.prototype.removeListener),
            (EventEmitter.prototype.removeAllListeners = function (t) {
              var e, n, r;
              if (void 0 === (n = this._events)) return this;
              if (void 0 === n.removeListener)
                return (
                  0 === arguments.length
                    ? ((this._events = Object.create(null)),
                      (this._eventsCount = 0))
                    : void 0 !== n[t] &&
                      (0 == --this._eventsCount
                        ? (this._events = Object.create(null))
                        : delete n[t]),
                  this
                );
              if (0 === arguments.length) {
                var i,
                  o = Object.keys(n);
                for (r = 0; r < o.length; ++r)
                  "removeListener" !== (i = o[r]) && this.removeAllListeners(i);
                return (
                  this.removeAllListeners("removeListener"),
                  (this._events = Object.create(null)),
                  (this._eventsCount = 0),
                  this
                );
              }
              if ("function" == typeof (e = n[t])) this.removeListener(t, e);
              else if (void 0 !== e)
                for (r = e.length - 1; r >= 0; r--)
                  this.removeListener(t, e[r]);
              return this;
            }),
            (EventEmitter.prototype.listeners = function (t) {
              return _listeners(this, t, !0);
            }),
            (EventEmitter.prototype.rawListeners = function (t) {
              return _listeners(this, t, !1);
            }),
            (EventEmitter.listenerCount = function (t, e) {
              return "function" == typeof t.listenerCount
                ? t.listenerCount(e)
                : listenerCount.call(t, e);
            }),
            (EventEmitter.prototype.listenerCount = listenerCount),
            (EventEmitter.prototype.eventNames = function () {
              return this._eventsCount > 0 ? ReflectOwnKeys(this._events) : [];
            });
          var eventsExports = events.exports;
          const EventEmitter$1 = getDefaultExportFromCjs(eventsExports);
          class Log {
            static e(t, e) {
              (!t || Log.FORCE_GLOBAL_TAG) && (t = Log.GLOBAL_TAG);
              let n = `[${t}] > ${e}`;
              Log.ENABLE_CALLBACK && Log.emitter.emit("log", "error", n),
                Log.ENABLE_ERROR &&
                  (console.error
                    ? console.error(n)
                    : console.warn
                    ? console.warn(n)
                    : console.log(n));
            }
            static i(t, e) {
              (!t || Log.FORCE_GLOBAL_TAG) && (t = Log.GLOBAL_TAG);
              let n = `[${t}] > ${e}`;
              Log.ENABLE_CALLBACK && Log.emitter.emit("log", "info", n),
                Log.ENABLE_INFO &&
                  (console.info ? console.info(n) : console.log(n));
            }
            static w(t, e) {
              (!t || Log.FORCE_GLOBAL_TAG) && (t = Log.GLOBAL_TAG);
              let n = `[${t}] > ${e}`;
              Log.ENABLE_CALLBACK && Log.emitter.emit("log", "warn", n),
                Log.ENABLE_WARN &&
                  (console.warn ? console.warn(n) : console.log(n));
            }
            static d(t, e) {
              (!t || Log.FORCE_GLOBAL_TAG) && (t = Log.GLOBAL_TAG);
              let n = `[${t}] > ${e}`;
              Log.ENABLE_CALLBACK && Log.emitter.emit("log", "debug", n),
                Log.ENABLE_DEBUG &&
                  (console.debug ? console.debug(n) : console.log(n));
            }
            static v(t, e) {
              (!t || Log.FORCE_GLOBAL_TAG) && (t = Log.GLOBAL_TAG);
              let n = `[${t}] > ${e}`;
              Log.ENABLE_CALLBACK && Log.emitter.emit("log", "verbose", n),
                Log.ENABLE_VERBOSE;
            }
          }
          (Log.GLOBAL_TAG = "flv.js"),
            (Log.FORCE_GLOBAL_TAG = !1),
            (Log.ENABLE_ERROR = !0),
            (Log.ENABLE_INFO = !0),
            (Log.ENABLE_WARN = !0),
            (Log.ENABLE_DEBUG = !0),
            (Log.ENABLE_VERBOSE = !0),
            (Log.ENABLE_CALLBACK = !1),
            (Log.emitter = new EventEmitter$1());
          class SpeedSampler {
            constructor() {
              (this._firstCheckpoint = 0),
                (this._lastCheckpoint = 0),
                (this._intervalBytes = 0),
                (this._totalBytes = 0),
                (this._lastSecondBytes = 0),
                self.performance && self.performance.now
                  ? (this._now = self.performance.now.bind(self.performance))
                  : (this._now = Date.now);
            }
            reset() {
              (this._firstCheckpoint = this._lastCheckpoint = 0),
                (this._totalBytes = this._intervalBytes = 0),
                (this._lastSecondBytes = 0);
            }
            addBytes(t) {
              0 === this._firstCheckpoint
                ? ((this._firstCheckpoint = this._now()),
                  (this._lastCheckpoint = this._firstCheckpoint),
                  (this._intervalBytes += t),
                  (this._totalBytes += t))
                : this._now() - this._lastCheckpoint < 1e3
                ? ((this._intervalBytes += t), (this._totalBytes += t))
                : ((this._lastSecondBytes = this._intervalBytes),
                  (this._intervalBytes = t),
                  (this._totalBytes += t),
                  (this._lastCheckpoint = this._now()));
            }
            get currentKBps() {
              this.addBytes(0);
              let t = (this._now() - this._lastCheckpoint) / 1e3;
              return 0 == t && (t = 1), this._intervalBytes / t / 1024;
            }
            get lastSecondKBps() {
              return (
                this.addBytes(0),
                0 !== this._lastSecondBytes
                  ? this._lastSecondBytes / 1024
                  : this._now() - this._lastCheckpoint >= 500
                  ? this.currentKBps
                  : 0
              );
            }
            get averageKBps() {
              let t = (this._now() - this._firstCheckpoint) / 1e3;
              return this._totalBytes / t / 1024;
            }
          }
          class RuntimeException {
            constructor(t) {
              this._message = t;
            }
            get name() {
              return "RuntimeException";
            }
            get message() {
              return this._message;
            }
            toString() {
              return this.name + ": " + this.message;
            }
          }
          class IllegalStateException extends RuntimeException {
            constructor(t) {
              super(t);
            }
            get name() {
              return "IllegalStateException";
            }
          }
          class InvalidArgumentException extends RuntimeException {
            constructor(t) {
              super(t);
            }
            get name() {
              return "InvalidArgumentException";
            }
          }
          class NotImplementedException extends RuntimeException {
            constructor(t) {
              super(t);
            }
            get name() {
              return "NotImplementedException";
            }
          }
          const LoaderStatus = {
              kIdle: 0,
              kConnecting: 1,
              kBuffering: 2,
              kError: 3,
              kComplete: 4,
            },
            LoaderErrors = {
              OK: "OK",
              EXCEPTION: "Exception",
              HTTP_STATUS_CODE_INVALID: "HttpStatusCodeInvalid",
              CONNECTING_TIMEOUT: "ConnectingTimeout",
              EARLY_EOF: "EarlyEof",
              UNRECOVERABLE_EARLY_EOF: "UnrecoverableEarlyEof",
            };
          class BaseLoader {
            constructor(t) {
              (this._type = t || "undefined"),
                (this._status = LoaderStatus.kIdle),
                (this._needStash = !1),
                (this._onContentLengthKnown = null),
                (this._onURLRedirect = null),
                (this._onDataArrival = null),
                (this._onError = null),
                (this._onComplete = null);
            }
            destroy() {
              (this._status = LoaderStatus.kIdle),
                (this._onContentLengthKnown = null),
                (this._onURLRedirect = null),
                (this._onDataArrival = null),
                (this._onError = null),
                (this._onComplete = null);
            }
            isWorking() {
              return (
                this._status === LoaderStatus.kConnecting ||
                this._status === LoaderStatus.kBuffering
              );
            }
            get type() {
              return this._type;
            }
            get status() {
              return this._status;
            }
            get needStashBuffer() {
              return this._needStash;
            }
            get onContentLengthKnown() {
              return this._onContentLengthKnown;
            }
            set onContentLengthKnown(t) {
              this._onContentLengthKnown = t;
            }
            get onURLRedirect() {
              return this._onURLRedirect;
            }
            set onURLRedirect(t) {
              this._onURLRedirect = t;
            }
            get onDataArrival() {
              return this._onDataArrival;
            }
            set onDataArrival(t) {
              this._onDataArrival = t;
            }
            get onError() {
              return this._onError;
            }
            set onError(t) {
              this._onError = t;
            }
            get onComplete() {
              return this._onComplete;
            }
            set onComplete(t) {
              this._onComplete = t;
            }
            open(t, e) {
              throw new NotImplementedException(
                "Unimplemented abstract function!"
              );
            }
            abort() {
              throw new NotImplementedException(
                "Unimplemented abstract function!"
              );
            }
          }
          let Browser = {};
          function detect() {
            let t = self.navigator.userAgent.toLowerCase(),
              e =
                /(edge)\/([\w.]+)/.exec(t) ||
                /(opr)[\/]([\w.]+)/.exec(t) ||
                /(chrome)[ \/]([\w.]+)/.exec(t) ||
                /(iemobile)[\/]([\w.]+)/.exec(t) ||
                /(version)(applewebkit)[ \/]([\w.]+).*(safari)[ \/]([\w.]+)/.exec(
                  t
                ) ||
                /(webkit)[ \/]([\w.]+).*(version)[ \/]([\w.]+).*(safari)[ \/]([\w.]+)/.exec(
                  t
                ) ||
                /(webkit)[ \/]([\w.]+)/.exec(t) ||
                /(opera)(?:.*version|)[ \/]([\w.]+)/.exec(t) ||
                /(msie) ([\w.]+)/.exec(t) ||
                (t.indexOf("trident") >= 0 && /(rv)(?::| )([\w.]+)/.exec(t)) ||
                (t.indexOf("compatible") < 0 &&
                  /(firefox)[ \/]([\w.]+)/.exec(t)) ||
                [],
              n =
                /(ipad)/.exec(t) ||
                /(ipod)/.exec(t) ||
                /(windows phone)/.exec(t) ||
                /(iphone)/.exec(t) ||
                /(kindle)/.exec(t) ||
                /(android)/.exec(t) ||
                /(windows)/.exec(t) ||
                /(mac)/.exec(t) ||
                /(linux)/.exec(t) ||
                /(cros)/.exec(t) ||
                [],
              r = {
                browser: e[5] || e[3] || e[1] || "",
                version: e[2] || e[4] || "0",
                majorVersion: e[4] || e[2] || "0",
                platform: n[0] || "",
              },
              i = {};
            if (r.browser) {
              i[r.browser] = !0;
              let t = r.majorVersion.split(".");
              (i.version = {
                major: parseInt(r.majorVersion, 10),
                string: r.version,
              }),
                t.length > 1 && (i.version.minor = parseInt(t[1], 10)),
                t.length > 2 && (i.version.build = parseInt(t[2], 10));
            }
            if (
              (r.platform && (i[r.platform] = !0),
              (i.chrome || i.opr || i.safari) && (i.webkit = !0),
              i.rv || i.iemobile)
            ) {
              i.rv && delete i.rv;
              let t = "msie";
              (r.browser = t), (i[t] = !0);
            }
            if (i.edge) {
              delete i.edge;
              let t = "msedge";
              (r.browser = t), (i[t] = !0);
            }
            if (i.opr) {
              let t = "opera";
              (r.browser = t), (i[t] = !0);
            }
            if (i.safari && i.android) {
              let t = "android";
              (r.browser = t), (i[t] = !0);
            }
            (i.name = r.browser), (i.platform = r.platform);
            for (let t in Browser)
              Browser.hasOwnProperty(t) && delete Browser[t];
            Object.assign(Browser, i);
          }
          detect();
          class FetchStreamLoader extends BaseLoader {
            static isSupported() {
              try {
                let t = Browser.msedge && Browser.version.minor >= 15048,
                  e = !Browser.msedge || t;
                return self.fetch && self.ReadableStream && e;
              } catch {
                return !1;
              }
            }
            constructor(t, e) {
              super("fetch-stream-loader"),
                (this.TAG = "FetchStreamLoader"),
                (this._seekHandler = t),
                (this._config = e),
                (this._needStash = !0),
                (this._requestAbort = !1),
                (this._contentLength = null),
                (this._receivedLength = 0);
            }
            destroy() {
              this.isWorking() && this.abort(), super.destroy();
            }
            open(t, e) {
              (this._dataSource = t), (this._range = e);
              let n = t.url;
              this._config.reuseRedirectedURL &&
                null != t.redirectedURL &&
                (n = t.redirectedURL);
              let r = this._seekHandler.getConfig(n, e),
                i = new self.Headers();
              if ("object" == typeof r.headers) {
                let t = r.headers;
                for (let e in t) t.hasOwnProperty(e) && i.append(e, t[e]);
              }
              let o = {
                method: "GET",
                headers: i,
                mode: "cors",
                cache: "default",
                referrerPolicy: "no-referrer-when-downgrade",
              };
              if ("object" == typeof this._config.headers)
                for (let t in this._config.headers)
                  i.append(t, this._config.headers[t]);
              !1 === t.cors && (o.mode = "same-origin"),
                t.withCredentials && (o.credentials = "include"),
                t.referrerPolicy && (o.referrerPolicy = t.referrerPolicy),
                self.AbortController &&
                  ((this._abortController = new self.AbortController()),
                  (o.signal = this._abortController.signal)),
                (this._status = LoaderStatus.kConnecting),
                self
                  .fetch(r.url, o)
                  .then((t) => {
                    if (this._requestAbort)
                      return (
                        (this._status = LoaderStatus.kIdle),
                        void t.body.cancel()
                      );
                    if (t.ok && t.status >= 200 && t.status <= 299) {
                      if (t.url !== r.url && this._onURLRedirect) {
                        let e = this._seekHandler.removeURLParameters(t.url);
                        this._onURLRedirect(e);
                      }
                      let e = t.headers.get("Content-Length");
                      return (
                        null != e &&
                          ((this._contentLength = parseInt(e)),
                          0 !== this._contentLength &&
                            this._onContentLengthKnown &&
                            this._onContentLengthKnown(this._contentLength)),
                        this._pump.call(this, t.body.getReader())
                      );
                    }
                    if (((this._status = LoaderStatus.kError), !this._onError))
                      throw new RuntimeException(
                        "FetchStreamLoader: Http code invalid, " +
                          t.status +
                          " " +
                          t.statusText
                      );
                    this._onError(LoaderErrors.HTTP_STATUS_CODE_INVALID, {
                      code: t.status,
                      msg: t.statusText,
                    });
                  })
                  .catch((t) => {
                    if (
                      !this._abortController ||
                      !this._abortController.signal.aborted
                    ) {
                      if (
                        ((this._status = LoaderStatus.kError), !this._onError)
                      )
                        throw t;
                      this._onError(LoaderErrors.EXCEPTION, {
                        code: -1,
                        msg: t.message,
                      });
                    }
                  });
            }
            abort() {
              if (
                ((this._requestAbort = !0),
                (this._status !== LoaderStatus.kBuffering || !Browser.chrome) &&
                  this._abortController)
              )
                try {
                  this._abortController.abort();
                } catch {}
            }
            _pump(t) {
              return t
                .read()
                .then((e) => {
                  if (e.done)
                    if (
                      null !== this._contentLength &&
                      this._receivedLength < this._contentLength
                    ) {
                      this._status = LoaderStatus.kError;
                      let t = LoaderErrors.EARLY_EOF,
                        e = { code: -1, msg: "Fetch stream meet Early-EOF" };
                      if (!this._onError) throw new RuntimeException(e.msg);
                      this._onError(t, e);
                    } else
                      (this._status = LoaderStatus.kComplete),
                        this._onComplete &&
                          this._onComplete(
                            this._range.from,
                            this._range.from + this._receivedLength - 1
                          );
                  else {
                    if (
                      this._abortController &&
                      this._abortController.signal.aborted
                    )
                      return void (this._status = LoaderStatus.kComplete);
                    if (!0 === this._requestAbort)
                      return (
                        (this._status = LoaderStatus.kComplete), t.cancel()
                      );
                    this._status = LoaderStatus.kBuffering;
                    let n = e.value.buffer,
                      r = this._range.from + this._receivedLength;
                    (this._receivedLength += n.byteLength),
                      this._onDataArrival &&
                        this._onDataArrival(n, r, this._receivedLength),
                      this._pump(t);
                  }
                })
                .catch((t) => {
                  if (
                    this._abortController &&
                    this._abortController.signal.aborted
                  )
                    return void (this._status = LoaderStatus.kComplete);
                  if (11 === t.code && Browser.msedge) return;
                  this._status = LoaderStatus.kError;
                  let e = 0,
                    n = null;
                  if (
                    ((19 !== t.code && "network error" !== t.message) ||
                    !(
                      null === this._contentLength ||
                      (null !== this._contentLength &&
                        this._receivedLength < this._contentLength)
                    )
                      ? ((e = LoaderErrors.EXCEPTION),
                        (n = { code: t.code, msg: t.message }))
                      : ((e = LoaderErrors.EARLY_EOF),
                        (n = {
                          code: t.code,
                          msg: "Fetch stream meet Early-EOF",
                        })),
                    !this._onError)
                  )
                    throw new RuntimeException(n.msg);
                  this._onError(e, n);
                });
            }
          }
          class MozChunkedLoader extends BaseLoader {
            static isSupported() {
              try {
                let t = new XMLHttpRequest();
                return (
                  t.open("GET", "https://example.com", !0),
                  (t.responseType = "moz-chunked-arraybuffer"),
                  "moz-chunked-arraybuffer" === t.responseType
                );
              } catch (t) {
                return Log.w("MozChunkedLoader", t.message), !1;
              }
            }
            constructor(t, e) {
              super("xhr-moz-chunked-loader"),
                (this.TAG = "MozChunkedLoader"),
                (this._seekHandler = t),
                (this._config = e),
                (this._needStash = !0),
                (this._xhr = null),
                (this._requestAbort = !1),
                (this._contentLength = null),
                (this._receivedLength = 0);
            }
            destroy() {
              this.isWorking() && this.abort(),
                this._xhr &&
                  ((this._xhr.onreadystatechange = null),
                  (this._xhr.onprogress = null),
                  (this._xhr.onloadend = null),
                  (this._xhr.onerror = null),
                  (this._xhr = null)),
                super.destroy();
            }
            open(t, e) {
              (this._dataSource = t), (this._range = e);
              let n = t.url;
              this._config.reuseRedirectedURL &&
                null != t.redirectedURL &&
                (n = t.redirectedURL);
              let r = this._seekHandler.getConfig(n, e);
              this._requestURL = r.url;
              let i = (this._xhr = new XMLHttpRequest());
              if (
                (i.open("GET", r.url, !0),
                (i.responseType = "moz-chunked-arraybuffer"),
                (i.onreadystatechange = this._onReadyStateChange.bind(this)),
                (i.onprogress = this._onProgress.bind(this)),
                (i.onloadend = this._onLoadEnd.bind(this)),
                (i.onerror = this._onXhrError.bind(this)),
                t.withCredentials && (i.withCredentials = !0),
                "object" == typeof r.headers)
              ) {
                let t = r.headers;
                for (let e in t)
                  t.hasOwnProperty(e) && i.setRequestHeader(e, t[e]);
              }
              if ("object" == typeof this._config.headers) {
                let t = this._config.headers;
                for (let e in t)
                  t.hasOwnProperty(e) && i.setRequestHeader(e, t[e]);
              }
              (this._status = LoaderStatus.kConnecting), i.send();
            }
            abort() {
              (this._requestAbort = !0),
                this._xhr && this._xhr.abort(),
                (this._status = LoaderStatus.kComplete);
            }
            _onReadyStateChange(t) {
              let e = t.target;
              if (2 === e.readyState) {
                if (
                  null != e.responseURL &&
                  e.responseURL !== this._requestURL &&
                  this._onURLRedirect
                ) {
                  let t = this._seekHandler.removeURLParameters(e.responseURL);
                  this._onURLRedirect(t);
                }
                if (0 !== e.status && (e.status < 200 || e.status > 299)) {
                  if (((this._status = LoaderStatus.kError), !this._onError))
                    throw new RuntimeException(
                      "MozChunkedLoader: Http code invalid, " +
                        e.status +
                        " " +
                        e.statusText
                    );
                  this._onError(LoaderErrors.HTTP_STATUS_CODE_INVALID, {
                    code: e.status,
                    msg: e.statusText,
                  });
                } else this._status = LoaderStatus.kBuffering;
              }
            }
            _onProgress(t) {
              if (this._status === LoaderStatus.kError) return;
              null === this._contentLength &&
                null !== t.total &&
                0 !== t.total &&
                ((this._contentLength = t.total),
                this._onContentLengthKnown &&
                  this._onContentLengthKnown(this._contentLength));
              let e = t.target.response,
                n = this._range.from + this._receivedLength;
              (this._receivedLength += e.byteLength),
                this._onDataArrival &&
                  this._onDataArrival(e, n, this._receivedLength);
            }
            _onLoadEnd(t) {
              !0 !== this._requestAbort
                ? this._status !== LoaderStatus.kError &&
                  ((this._status = LoaderStatus.kComplete),
                  this._onComplete &&
                    this._onComplete(
                      this._range.from,
                      this._range.from + this._receivedLength - 1
                    ))
                : (this._requestAbort = !1);
            }
            _onXhrError(t) {
              this._status = LoaderStatus.kError;
              let e = 0,
                n = null;
              if (
                (this._contentLength && t.loaded < this._contentLength
                  ? ((e = LoaderErrors.EARLY_EOF),
                    (n = {
                      code: -1,
                      msg: "Moz-Chunked stream meet Early-Eof",
                    }))
                  : ((e = LoaderErrors.EXCEPTION),
                    (n = { code: -1, msg: t.constructor.name + " " + t.type })),
                !this._onError)
              )
                throw new RuntimeException(n.msg);
              this._onError(e, n);
            }
          }
          class RangeLoader extends BaseLoader {
            static isSupported() {
              try {
                let t = new XMLHttpRequest();
                return (
                  t.open("GET", "https://example.com", !0),
                  (t.responseType = "arraybuffer"),
                  "arraybuffer" === t.responseType
                );
              } catch (t) {
                return Log.w("RangeLoader", t.message), !1;
              }
            }
            constructor(t, e) {
              super("xhr-range-loader"),
                (this.TAG = "RangeLoader"),
                (this._seekHandler = t),
                (this._config = e),
                (this._needStash = !1),
                (this._chunkSizeKBList = [
                  128, 256, 384, 512, 768, 1024, 1536, 2048, 3072, 4096, 5120,
                  6144, 7168, 8192,
                ]),
                (this._currentChunkSizeKB = 384),
                (this._currentSpeedNormalized = 0),
                (this._zeroSpeedChunkCount = 0),
                (this._xhr = null),
                (this._speedSampler = new SpeedSampler()),
                (this._requestAbort = !1),
                (this._waitForTotalLength = !1),
                (this._totalLengthReceived = !1),
                (this._currentRequestURL = null),
                (this._currentRedirectedURL = null),
                (this._currentRequestRange = null),
                (this._totalLength = null),
                (this._contentLength = null),
                (this._receivedLength = 0),
                (this._lastTimeLoaded = 0);
            }
            destroy() {
              this.isWorking() && this.abort(),
                this._xhr &&
                  ((this._xhr.onreadystatechange = null),
                  (this._xhr.onprogress = null),
                  (this._xhr.onload = null),
                  (this._xhr.onerror = null),
                  (this._xhr = null)),
                super.destroy();
            }
            get currentSpeed() {
              return this._speedSampler.lastSecondKBps;
            }
            open(t, e) {
              (this._dataSource = t),
                (this._range = e),
                (this._status = LoaderStatus.kConnecting);
              let n = !1;
              null != this._dataSource.filesize &&
                0 !== this._dataSource.filesize &&
                ((n = !0), (this._totalLength = this._dataSource.filesize)),
                this._totalLengthReceived || n
                  ? this._openSubRange()
                  : ((this._waitForTotalLength = !0),
                    this._internalOpen(this._dataSource, { from: 0, to: -1 }));
            }
            _openSubRange() {
              let t = 1024 * this._currentChunkSizeKB,
                e = this._range.from + this._receivedLength,
                n = e + t;
              null != this._contentLength &&
                n - this._range.from >= this._contentLength &&
                (n = this._range.from + this._contentLength - 1),
                (this._currentRequestRange = { from: e, to: n }),
                this._internalOpen(this._dataSource, this._currentRequestRange);
            }
            _internalOpen(t, e) {
              this._lastTimeLoaded = 0;
              let n = t.url;
              this._config.reuseRedirectedURL &&
                (null != this._currentRedirectedURL
                  ? (n = this._currentRedirectedURL)
                  : null != t.redirectedURL && (n = t.redirectedURL));
              let r = this._seekHandler.getConfig(n, e);
              this._currentRequestURL = r.url;
              let i = (this._xhr = new XMLHttpRequest());
              if (
                (i.open("GET", r.url, !0),
                (i.responseType = "arraybuffer"),
                (i.onreadystatechange = this._onReadyStateChange.bind(this)),
                (i.onprogress = this._onProgress.bind(this)),
                (i.onload = this._onLoad.bind(this)),
                (i.onerror = this._onXhrError.bind(this)),
                t.withCredentials && (i.withCredentials = !0),
                "object" == typeof r.headers)
              ) {
                let t = r.headers;
                for (let e in t)
                  t.hasOwnProperty(e) && i.setRequestHeader(e, t[e]);
              }
              if ("object" == typeof this._config.headers) {
                let t = this._config.headers;
                for (let e in t)
                  t.hasOwnProperty(e) && i.setRequestHeader(e, t[e]);
              }
              i.send();
            }
            abort() {
              (this._requestAbort = !0),
                this._internalAbort(),
                (this._status = LoaderStatus.kComplete);
            }
            _internalAbort() {
              this._xhr &&
                ((this._xhr.onreadystatechange = null),
                (this._xhr.onprogress = null),
                (this._xhr.onload = null),
                (this._xhr.onerror = null),
                this._xhr.abort(),
                (this._xhr = null));
            }
            _onReadyStateChange(t) {
              let e = t.target;
              if (2 === e.readyState) {
                if (null != e.responseURL) {
                  let t = this._seekHandler.removeURLParameters(e.responseURL);
                  e.responseURL !== this._currentRequestURL &&
                    t !== this._currentRedirectedURL &&
                    ((this._currentRedirectedURL = t),
                    this._onURLRedirect && this._onURLRedirect(t));
                }
                if (e.status >= 200 && e.status <= 299) {
                  if (this._waitForTotalLength) return;
                  this._status = LoaderStatus.kBuffering;
                } else {
                  if (((this._status = LoaderStatus.kError), !this._onError))
                    throw new RuntimeException(
                      "RangeLoader: Http code invalid, " +
                        e.status +
                        " " +
                        e.statusText
                    );
                  this._onError(LoaderErrors.HTTP_STATUS_CODE_INVALID, {
                    code: e.status,
                    msg: e.statusText,
                  });
                }
              }
            }
            _onProgress(t) {
              if (this._status === LoaderStatus.kError) return;
              if (null === this._contentLength) {
                let e = !1;
                if (this._waitForTotalLength) {
                  (this._waitForTotalLength = !1),
                    (this._totalLengthReceived = !0),
                    (e = !0);
                  let n = t.total;
                  this._internalAbort(),
                    (null != n) & (0 !== n) && (this._totalLength = n);
                }
                if (
                  (-1 === this._range.to
                    ? (this._contentLength =
                        this._totalLength - this._range.from)
                    : (this._contentLength =
                        this._range.to - this._range.from + 1),
                  e)
                )
                  return void this._openSubRange();
                this._onContentLengthKnown &&
                  this._onContentLengthKnown(this._contentLength);
              }
              let e = t.loaded - this._lastTimeLoaded;
              (this._lastTimeLoaded = t.loaded), this._speedSampler.addBytes(e);
            }
            _normalizeSpeed(t) {
              let e = this._chunkSizeKBList,
                n = e.length - 1,
                r = 0,
                i = 0,
                o = n;
              if (t < e[0]) return e[0];
              for (; i <= o; ) {
                if (
                  ((r = i + Math.floor((o - i) / 2)),
                  r === n || (t >= e[r] && t < e[r + 1]))
                )
                  return e[r];
                e[r] < t ? (i = r + 1) : (o = r - 1);
              }
            }
            _onLoad(t) {
              if (this._status === LoaderStatus.kError) return;
              if (this._waitForTotalLength)
                return void (this._waitForTotalLength = !1);
              this._lastTimeLoaded = 0;
              let e = this._speedSampler.lastSecondKBps;
              if (
                (0 === e &&
                  (this._zeroSpeedChunkCount++,
                  this._zeroSpeedChunkCount >= 3 &&
                    (e = this._speedSampler.currentKBps)),
                0 !== e)
              ) {
                let t = this._normalizeSpeed(e);
                this._currentSpeedNormalized !== t &&
                  ((this._currentSpeedNormalized = t),
                  (this._currentChunkSizeKB = t));
              }
              let n = t.target.response,
                r = this._range.from + this._receivedLength;
              this._receivedLength += n.byteLength;
              let i = !1;
              null != this._contentLength &&
              this._receivedLength < this._contentLength
                ? this._openSubRange()
                : (i = !0),
                this._onDataArrival &&
                  this._onDataArrival(n, r, this._receivedLength),
                i &&
                  ((this._status = LoaderStatus.kComplete),
                  this._onComplete &&
                    this._onComplete(
                      this._range.from,
                      this._range.from + this._receivedLength - 1
                    ));
            }
            _onXhrError(t) {
              this._status = LoaderStatus.kError;
              let e = 0,
                n = null;
              if (
                (this._contentLength &&
                this._receivedLength > 0 &&
                this._receivedLength < this._contentLength
                  ? ((e = LoaderErrors.EARLY_EOF),
                    (n = { code: -1, msg: "RangeLoader meet Early-Eof" }))
                  : ((e = LoaderErrors.EXCEPTION),
                    (n = { code: -1, msg: t.constructor.name + " " + t.type })),
                !this._onError)
              )
                throw new RuntimeException(n.msg);
              this._onError(e, n);
            }
          }
          class WebSocketLoader extends BaseLoader {
            static isSupported() {
              try {
                return typeof self.WebSocket < "u";
              } catch {
                return !1;
              }
            }
            constructor(t, e) {
              super("websocket-loader"),
                (this.TAG = "WebSocketLoader"),
                (this._config = e),
                (this._needStash = !0),
                (this._ws = null),
                (this._requestAbort = !1),
                (this._receivedLength = 0);
            }
            destroy() {
              this._ws && this.abort(), super.destroy();
            }
            open(t) {
              try {
                let e;
                (e = this._config.ws
                  ? (this._ws = this._config.ws())
                  : (this._ws = new self.WebSocket(t.url))),
                  (e.binaryType = "arraybuffer"),
                  (e.onopen = this._onWebSocketOpen.bind(this)),
                  (e.onclose = this._onWebSocketClose.bind(this)),
                  (e.onmessage = this._onWebSocketMessage.bind(this)),
                  (e.onerror = this._onWebSocketError.bind(this)),
                  (this._status = LoaderStatus.kConnecting);
              } catch (t) {
                this._status = LoaderStatus.kError;
                let e = { code: t.code, msg: t.message };
                if (!this._onError) throw new RuntimeException(e.msg);
                this._onError(LoaderErrors.EXCEPTION, e);
              }
            }
            abort() {
              if (this._config.ws) return;
              let t = this._ws;
              t &&
                (0 === t.readyState || 1 === t.readyState) &&
                ((this._requestAbort = !0), t.close()),
                (this._ws = null),
                (this._status = LoaderStatus.kComplete);
            }
            _onWebSocketOpen(t) {
              (this._status = LoaderStatus.kBuffering),
                this._config.cbOpen(this._ws),
                (window.wss = this._ws);
            }
            _onWebSocketClose(t) {
              !0 !== this._requestAbort
                ? ((this._status = LoaderStatus.kComplete),
                  this._onComplete &&
                    this._onComplete(0, this._receivedLength - 1),
                  this._config.cbClose(this._ws, t))
                : (this._requestAbort = !1);
            }
            _onWebSocketMessage(t) {
              const e = this;
              this._config.cbMessage(this._ws, t, function (t) {
                if (t.data instanceof ArrayBuffer)
                  e._dispatchArrayBuffer(t.data);
                else if (t.data instanceof Blob) {
                  let n = new FileReader();
                  (n.onload = () => {
                    e._dispatchArrayBuffer(n.result);
                  }),
                    n.readAsArrayBuffer(t.data);
                }
              });
            }
            _dispatchArrayBuffer(t, e = "") {
              let n = t,
                r = this._receivedLength;
              (this._receivedLength += n.byteLength),
                this._onDataArrival && this._onDataArrival(n, r, e);
            }
            _onWebSocketError(t) {
              this._status = LoaderStatus.kError;
              let e = { code: t.code, msg: t.message };
              if (!this._onError) throw new RuntimeException(e.msg);
              this._onError(LoaderErrors.EXCEPTION, e),
                this._config.cbError(this._ws, t);
            }
          }
          class RangeSeekHandler {
            constructor(t) {
              this._zeroStart = t || !1;
            }
            getConfig(t, e) {
              let n = {};
              if (0 !== e.from || -1 !== e.to) {
                let t;
                (t =
                  -1 !== e.to
                    ? `bytes=${e.from.toString()}-${e.to.toString()}`
                    : `bytes=${e.from.toString()}-`),
                  (n.Range = t);
              } else this._zeroStart && (n.Range = "bytes=0-");
              return { url: t, headers: n };
            }
            removeURLParameters(t) {
              return t;
            }
          }
          class ParamSeekHandler {
            constructor(t, e) {
              (this._startName = t), (this._endName = e);
            }
            getConfig(t, e) {
              let n = t;
              if (0 !== e.from || -1 !== e.to) {
                let t = !0;
                -1 === n.indexOf("?") && ((n += "?"), (t = !1)),
                  t && (n += "&"),
                  (n += `${this._startName}=${e.from.toString()}`),
                  -1 !== e.to && (n += `&${this._endName}=${e.to.toString()}`);
              }
              return { url: n, headers: {} };
            }
            removeURLParameters(t) {
              let e,
                n = t.split("?")[0],
                r = t.indexOf("?");
              -1 !== r && (e = t.substring(r + 1));
              let i = "";
              if (null != e && e.length > 0) {
                let t = e.split("&");
                for (let e = 0; e < t.length; e++) {
                  let n = t[e].split("="),
                    r = e > 0;
                  n[0] !== this._startName &&
                    n[0] !== this._endName &&
                    (r && (i += "&"), (i += t[e]));
                }
              }
              return 0 === i.length ? n : n + "?" + i;
            }
          }
          class IOController {
            constructor(t, e, n) {
              (this.TAG = "IOController"),
                (this._config = e),
                (this._extraData = n),
                (this._stashInitialSize = 393216),
                null != e.stashInitialSize &&
                  e.stashInitialSize > 0 &&
                  (this._stashInitialSize = e.stashInitialSize),
                (this._stashUsed = 0),
                (this._stashSize = this._stashInitialSize),
                (this._bufferSize = 3145728),
                (this._stashBuffer = new ArrayBuffer(this._bufferSize)),
                (this._stashByteStart = 0),
                (this._enableStash = !0),
                !1 === e.enableStashBuffer && (this._enableStash = !1),
                (this._loader = null),
                (this._loaderClass = null),
                (this._seekHandler = null),
                (this._dataSource = t),
                (this._isWebSocketURL = !0),
                (this._refTotalLength = t.filesize ? t.filesize : null),
                (this._totalLength = this._refTotalLength),
                (this._fullRequestFlag = !1),
                (this._currentRange = null),
                (this._redirectedURL = null),
                (this._speedNormalized = 0),
                (this._speedSampler = new SpeedSampler()),
                (this._speedNormalizeList = [
                  64, 128, 256, 384, 512, 768, 1024, 1536, 2048, 3072, 4096,
                ]),
                (this._isEarlyEofReconnecting = !1),
                (this._paused = !1),
                (this._resumeFrom = 0),
                (this._onDataArrival = null),
                (this._onSeeked = null),
                (this._onError = null),
                (this._onComplete = null),
                (this._onRedirect = null),
                (this._onRecoveredEarlyEof = null),
                this._selectSeekHandler(),
                this._selectLoader(),
                this._createLoader();
            }
            destroy() {
              this._loader.isWorking() && this._loader.abort(),
                this._loader.destroy(),
                (this._loader = null),
                (this._loaderClass = null),
                (this._dataSource = null),
                (this._stashBuffer = null),
                (this._stashUsed =
                  this._stashSize =
                  this._bufferSize =
                  this._stashByteStart =
                    0),
                (this._currentRange = null),
                (this._speedSampler = null),
                (this._isEarlyEofReconnecting = !1),
                (this._onDataArrival = null),
                (this._onSeeked = null),
                (this._onError = null),
                (this._onComplete = null),
                (this._onRedirect = null),
                (this._onRecoveredEarlyEof = null),
                (this._extraData = null);
            }
            isWorking() {
              return this._loader && this._loader.isWorking() && !this._paused;
            }
            isPaused() {
              return this._paused;
            }
            get status() {
              return this._loader.status;
            }
            get extraData() {
              return this._extraData;
            }
            set extraData(t) {
              this._extraData = t;
            }
            get onDataArrival() {
              return this._onDataArrival;
            }
            set onDataArrival(t) {
              this._onDataArrival = t;
            }
            get onSeeked() {
              return this._onSeeked;
            }
            set onSeeked(t) {
              this._onSeeked = t;
            }
            get onError() {
              return this._onError;
            }
            set onError(t) {
              this._onError = t;
            }
            get onComplete() {
              return this._onComplete;
            }
            set onComplete(t) {
              this._onComplete = t;
            }
            get onRedirect() {
              return this._onRedirect;
            }
            set onRedirect(t) {
              this._onRedirect = t;
            }
            get onRecoveredEarlyEof() {
              return this._onRecoveredEarlyEof;
            }
            set onRecoveredEarlyEof(t) {
              this._onRecoveredEarlyEof = t;
            }
            get currentURL() {
              return this._dataSource.url;
            }
            get hasRedirect() {
              return (
                null != this._redirectedURL ||
                null != this._dataSource.redirectedURL
              );
            }
            get currentRedirectedURL() {
              return this._redirectedURL || this._dataSource.redirectedURL;
            }
            get currentSpeed() {
              return this._loaderClass === RangeLoader
                ? this._loader.currentSpeed
                : this._speedSampler.lastSecondKBps;
            }
            get loaderType() {
              return this._loader.type;
            }
            _selectSeekHandler() {
              let t = this._config;
              if ("range" === t.seekType)
                this._seekHandler = new RangeSeekHandler(
                  this._config.rangeLoadZeroStart
                );
              else if ("param" === t.seekType) {
                let e = t.seekParamStart || "bstart",
                  n = t.seekParamEnd || "bend";
                this._seekHandler = new ParamSeekHandler(e, n);
              } else {
                if ("custom" !== t.seekType)
                  throw new InvalidArgumentException(
                    `Invalid seekType in config: ${t.seekType}`
                  );
                if ("function" != typeof t.customSeekHandler)
                  throw new InvalidArgumentException(
                    "Custom seekType specified in config but invalid customSeekHandler!"
                  );
                this._seekHandler = new t.customSeekHandler();
              }
            }
            _selectLoader() {
              if (null != this._config.customLoader)
                this._loaderClass = this._config.customLoader;
              else if (this._isWebSocketURL)
                this._loaderClass = WebSocketLoader;
              else if (FetchStreamLoader.isSupported())
                this._loaderClass = FetchStreamLoader;
              else if (MozChunkedLoader.isSupported())
                this._loaderClass = MozChunkedLoader;
              else {
                if (!RangeLoader.isSupported())
                  throw new RuntimeException(
                    "Your browser doesn't support xhr with arraybuffer responseType!"
                  );
                this._loaderClass = RangeLoader;
              }
            }
            _createLoader() {
              (this._loader = new this._loaderClass(
                this._seekHandler,
                this._config
              )),
                !1 === this._loader.needStashBuffer && (this._enableStash = !1),
                (this._loader.onContentLengthKnown =
                  this._onContentLengthKnown.bind(this)),
                (this._loader.onURLRedirect = this._onURLRedirect.bind(this)),
                (this._loader.onDataArrival =
                  this._onLoaderChunkArrival.bind(this)),
                (this._loader.onComplete = this._onLoaderComplete.bind(this)),
                (this._loader.onError = this._onLoaderError.bind(this));
            }
            open(t) {
              (this._currentRange = { from: 0, to: -1 }),
                t && (this._currentRange.from = t),
                this._speedSampler.reset(),
                t || (this._fullRequestFlag = !0),
                this._loader.open(
                  this._dataSource,
                  Object.assign({}, this._currentRange)
                );
            }
            abort() {
              this._loader.abort(),
                this._paused && ((this._paused = !1), (this._resumeFrom = 0));
            }
            pause() {
              this.isWorking() &&
                (this._loader.abort(),
                0 !== this._stashUsed
                  ? ((this._resumeFrom = this._stashByteStart),
                    (this._currentRange.to = this._stashByteStart - 1))
                  : (this._resumeFrom = this._currentRange.to + 1),
                (this._stashUsed = 0),
                (this._stashByteStart = 0),
                (this._paused = !0));
            }
            resume() {
              if (this._paused) {
                this._paused = !1;
                let t = this._resumeFrom;
                (this._resumeFrom = 0), this._internalSeek(t, !0);
              }
            }
            seek(t) {
              (this._paused = !1),
                (this._stashUsed = 0),
                (this._stashByteStart = 0),
                this._internalSeek(t, !0);
            }
            _internalSeek(t, e) {
              this._loader.isWorking() && this._loader.abort(),
                this._flushStashBuffer(e),
                this._loader.destroy(),
                (this._loader = null);
              let n = { from: t, to: -1 };
              (this._currentRange = { from: n.from, to: -1 }),
                this._speedSampler.reset(),
                (this._stashSize = this._stashInitialSize),
                this._createLoader(),
                this._loader.open(this._dataSource, n),
                this._onSeeked && this._onSeeked();
            }
            updateUrl(t) {
              if (!t || "string" != typeof t || 0 === t.length)
                throw new InvalidArgumentException(
                  "Url must be a non-empty string!"
                );
              this._dataSource.url = t;
            }
            _expandBuffer(t) {
              let e = this._stashSize;
              for (; e + 1048576 < t; ) e *= 2;
              if (((e += 1048576), e === this._bufferSize)) return;
              let n = new ArrayBuffer(e);
              if (this._stashUsed > 0) {
                let t = new Uint8Array(this._stashBuffer, 0, this._stashUsed);
                new Uint8Array(n, 0, e).set(t, 0);
              }
              (this._stashBuffer = n), (this._bufferSize = e);
            }
            _normalizeSpeed(t) {
              let e = this._speedNormalizeList,
                n = e.length - 1,
                r = 0,
                i = 0,
                o = n;
              if (t < e[0]) return e[0];
              for (; i <= o; ) {
                if (
                  ((r = i + Math.floor((o - i) / 2)),
                  r === n || (t >= e[r] && t < e[r + 1]))
                )
                  return e[r];
                e[r] < t ? (i = r + 1) : (o = r - 1);
              }
            }
            _adjustStashSize(t) {
              let e = 0;
              (e =
                this._config.isLive || t < 512
                  ? t
                  : t >= 512 && t <= 1024
                  ? Math.floor(1.5 * t)
                  : 2 * t),
                e > 8192 && (e = 8192);
              let n = 1024 * e + 1048576;
              this._bufferSize < n && this._expandBuffer(n),
                (this._stashSize = 1024 * e);
            }
            _dispatchChunks(t, e, n) {
              return (
                "server_ended" != n &&
                  (this._currentRange.to = e + t.byteLength - 1),
                this._onDataArrival(t, e, n)
              );
            }
            _onURLRedirect(t) {
              (this._redirectedURL = t),
                this._onRedirect && this._onRedirect(t);
            }
            _onContentLengthKnown(t) {
              t &&
                this._fullRequestFlag &&
                ((this._totalLength = t), (this._fullRequestFlag = !1));
            }
            _onLoaderChunkArrival(t, e, n) {
              if (!this._onDataArrival)
                throw new IllegalStateException(
                  "IOController: No existing consumer (onDataArrival) callback!"
                );
              if (this._paused) return;
              this._isEarlyEofReconnecting &&
                ((this._isEarlyEofReconnecting = !1),
                this._onRecoveredEarlyEof && this._onRecoveredEarlyEof()),
                this._speedSampler.addBytes(t.byteLength);
              let r = this._speedSampler.lastSecondKBps;
              if (0 !== r) {
                let t = this._normalizeSpeed(r);
                this._speedNormalized !== t &&
                  ((this._speedNormalized = t), this._adjustStashSize(t));
              }
              if (this._enableStash)
                if (
                  (0 === this._stashUsed &&
                    0 === this._stashByteStart &&
                    (this._stashByteStart = e),
                  this._stashUsed + t.byteLength <= this._stashSize)
                )
                  new Uint8Array(this._stashBuffer, 0, this._stashSize).set(
                    new Uint8Array(t),
                    this._stashUsed
                  ),
                    (this._stashUsed += t.byteLength);
                else {
                  let n = new Uint8Array(
                    this._stashBuffer,
                    0,
                    this._bufferSize
                  );
                  if (this._stashUsed > 0) {
                    let e = this._stashBuffer.slice(0, this._stashUsed),
                      r = this._dispatchChunks(e, this._stashByteStart);
                    if (r < e.byteLength) {
                      if (r > 0) {
                        let t = new Uint8Array(e, r);
                        n.set(t, 0),
                          (this._stashUsed = t.byteLength),
                          (this._stashByteStart += r);
                      }
                    } else (this._stashUsed = 0), (this._stashByteStart += r);
                    this._stashUsed + t.byteLength > this._bufferSize &&
                      (this._expandBuffer(this._stashUsed + t.byteLength),
                      (n = new Uint8Array(
                        this._stashBuffer,
                        0,
                        this._bufferSize
                      ))),
                      n.set(new Uint8Array(t), this._stashUsed),
                      (this._stashUsed += t.byteLength);
                  } else {
                    let r = this._dispatchChunks(t, e);
                    if (r < t.byteLength) {
                      let i = t.byteLength - r;
                      i > this._bufferSize &&
                        (this._expandBuffer(i),
                        (n = new Uint8Array(
                          this._stashBuffer,
                          0,
                          this._bufferSize
                        ))),
                        n.set(new Uint8Array(t, r), 0),
                        (this._stashUsed += i),
                        (this._stashByteStart = e + r);
                    }
                  }
                }
              else if (0 === this._stashUsed) {
                let r = this._dispatchChunks(t, e, n);
                if (r < t.byteLength) {
                  let n = t.byteLength - r;
                  n > this._bufferSize && this._expandBuffer(n),
                    new Uint8Array(this._stashBuffer, 0, this._bufferSize).set(
                      new Uint8Array(t, r),
                      0
                    ),
                    (this._stashUsed += n),
                    (this._stashByteStart = e + r);
                }
              } else {
                this._stashUsed + t.byteLength > this._bufferSize &&
                  this._expandBuffer(this._stashUsed + t.byteLength);
                let e = new Uint8Array(this._stashBuffer, 0, this._bufferSize);
                e.set(new Uint8Array(t), this._stashUsed),
                  (this._stashUsed += t.byteLength);
                let r = this._dispatchChunks(
                  this._stashBuffer.slice(0, this._stashUsed),
                  this._stashByteStart,
                  n
                );
                if (r < this._stashUsed && r > 0) {
                  let t = new Uint8Array(this._stashBuffer, r);
                  e.set(t, 0);
                }
                (this._stashUsed -= r), (this._stashByteStart += r);
              }
            }
            _flushStashBuffer(t) {
              if (this._stashUsed > 0) {
                let e = this._stashBuffer.slice(0, this._stashUsed),
                  n = this._dispatchChunks(e, this._stashByteStart),
                  r = e.byteLength - n;
                if (n < e.byteLength) {
                  if (!t) {
                    if (n > 0) {
                      let t = new Uint8Array(
                          this._stashBuffer,
                          0,
                          this._bufferSize
                        ),
                        r = new Uint8Array(e, n);
                      t.set(r, 0),
                        (this._stashUsed = r.byteLength),
                        (this._stashByteStart += n);
                    }
                    return 0;
                  }
                  Log.w(
                    this.TAG,
                    `${r} bytes unconsumed data remain when flush buffer, dropped`
                  );
                }
                return (this._stashUsed = 0), (this._stashByteStart = 0), r;
              }
              return 0;
            }
            _onLoaderComplete(t, e) {
              this._flushStashBuffer(!0),
                this._onComplete && this._onComplete(this._extraData);
            }
            _onLoaderError(t, e) {
              switch (
                (Log.e(
                  this.TAG,
                  `Loader error, code = ${e.code}, msg = ${e.msg}`
                ),
                this._flushStashBuffer(!1),
                this._isEarlyEofReconnecting &&
                  ((this._isEarlyEofReconnecting = !1),
                  (t = LoaderErrors.UNRECOVERABLE_EARLY_EOF)),
                t)
              ) {
                case LoaderErrors.EARLY_EOF:
                  if (!this._config.isLive && this._totalLength) {
                    let t = this._currentRange.to + 1;
                    return void (
                      t < this._totalLength &&
                      (Log.w(this.TAG, "Connection lost, trying reconnect..."),
                      (this._isEarlyEofReconnecting = !0),
                      this._internalSeek(t, !1))
                    );
                  }
                  t = LoaderErrors.UNRECOVERABLE_EARLY_EOF;
                case LoaderErrors.UNRECOVERABLE_EARLY_EOF:
                case LoaderErrors.CONNECTING_TIMEOUT:
                case LoaderErrors.HTTP_STATUS_CODE_INVALID:
                case LoaderErrors.EXCEPTION:
              }
              if (!this._onError)
                throw new RuntimeException("IOException: " + e.msg);
              this._onError(t, e);
            }
          }
          const defaultConfig = {
            enableWorker: !1,
            enableStashBuffer: !0,
            stashInitialSize: void 0,
            isLive: !1,
            lazyLoad: !0,
            lazyLoadMaxDuration: 180,
            lazyLoadRecoverDuration: 30,
            deferLoadAfterSourceOpen: !0,
            autoCleanupMaxBackwardDuration: 180,
            autoCleanupMinBackwardDuration: 120,
            statisticsInfoReportInterval: 600,
            fixAudioTimestampGap: !0,
            accurateSeek: !1,
            seekType: "range",
            seekParamStart: "bstart",
            seekParamEnd: "bend",
            rangeLoadZeroStart: !1,
            customSeekHandler: void 0,
            reuseRedirectedURL: !1,
            headers: void 0,
            customLoader: void 0,
          };
          function createDefaultConfig() {
            return Object.assign({}, defaultConfig);
          }
          class Features {
            static supportMSEH264Playback() {
              return (
                window.MediaSource &&
                window.MediaSource.isTypeSupported(
                  'video/mp4; codecs="avc1.42E01E,mp4a.40.2"'
                )
              );
            }
            static supportNetworkStreamIO() {
              let t = new IOController({}, createDefaultConfig()),
                e = t.loaderType;
              return (
                t.destroy(),
                "fetch-stream-loader" == e || "xhr-moz-chunked-loader" == e
              );
            }
            static getNetworkLoaderTypeName() {
              let t = new IOController({}, createDefaultConfig()),
                e = t.loaderType;
              return t.destroy(), e;
            }
            static supportNativeMediaPlayback(t) {
              null == Features.videoElement &&
                (Features.videoElement =
                  window.document.createElement("video"));
              let e = Features.videoElement.canPlayType(t);
              return "probably" === e || "maybe" == e;
            }
            static getFeatureList() {
              let t = {
                mseFlvPlayback: !1,
                mseLiveFlvPlayback: !1,
                networkStreamIO: !1,
                networkLoaderName: "",
                nativeMP4H264Playback: !1,
                nativeWebmVP8Playback: !1,
                nativeWebmVP9Playback: !1,
              };
              return (
                (t.mseFlvPlayback = Features.supportMSEH264Playback()),
                (t.networkStreamIO = Features.supportNetworkStreamIO()),
                (t.networkLoaderName = Features.getNetworkLoaderTypeName()),
                (t.mseLiveFlvPlayback = t.mseFlvPlayback && t.networkStreamIO),
                (t.nativeMP4H264Playback = Features.supportNativeMediaPlayback(
                  'video/mp4; codecs="avc1.42001E, mp4a.40.2"'
                )),
                (t.nativeWebmVP8Playback = Features.supportNativeMediaPlayback(
                  'video/webm; codecs="vp8.0, vorbis"'
                )),
                (t.nativeWebmVP9Playback = Features.supportNativeMediaPlayback(
                  'video/webm; codecs="vp9"'
                )),
                t
              );
            }
          }
          const PlayerEvents = {
            ERROR: "error",
            LOADING_COMPLETE: "loading_complete",
            RECOVERED_EARLY_EOF: "recovered_early_eof",
            MEDIA_INFO: "media_info",
            METADATA_ARRIVED: "metadata_arrived",
            SCRIPTDATA_ARRIVED: "scriptdata_arrived",
            STATISTICS_INFO: "statistics_info",
          };
          var webworkifyWebpack = { exports: {} };
          !(function (t) {
            function e(t) {
              var e = {};
              function n(r) {
                if (e[r]) return e[r].exports;
                var i = (e[r] = { i: r, l: !1, exports: {} });
                return (
                  t[r].call(i.exports, i, i.exports, n), (i.l = !0), i.exports
                );
              }
              (n.m = t),
                (n.c = e),
                (n.i = function (t) {
                  return t;
                }),
                (n.d = function (t, e, r) {
                  n.o(t, e) ||
                    Object.defineProperty(t, e, {
                      configurable: !1,
                      enumerable: !0,
                      get: r,
                    });
                }),
                (n.r = function (t) {
                  Object.defineProperty(t, "__esModule", { value: !0 });
                }),
                (n.n = function (t) {
                  var e =
                    t && t.__esModule
                      ? function () {
                          return t.default;
                        }
                      : function () {
                          return t;
                        };
                  return n.d(e, "a", e), e;
                }),
                (n.o = function (t, e) {
                  return Object.prototype.hasOwnProperty.call(t, e);
                }),
                (n.p = "/"),
                (n.oe = function (t) {
                  throw (console.error(t), t);
                });
              var r = n((n.s = ENTRY_MODULE));
              return r.default || r;
            }
            var n = "[\\.|\\-|\\+|\\w|/|@]+",
              r = "\\(\\s*(/\\*.*?\\*/)?\\s*.*?(" + n + ").*?\\)";
            function i(t) {
              return (t + "").replace(/[.?*+^$[\]\\(){}|-]/g, "\\$&");
            }
            function o(t) {
              return !isNaN(1 * t);
            }
            function a(t, e, a) {
              var s = {};
              s[a] = [];
              var c = e.toString(),
                l = c.match(/^function\s?\w*\(\w+,\s*\w+,\s*(\w+)\)/);
              if (!l) return s;
              for (
                var u, f = l[1], d = new RegExp("(\\\\n|\\W)" + i(f) + r, "g");
                (u = d.exec(c));

              )
                "dll-reference" !== u[3] && s[a].push(u[3]);
              for (
                d = new RegExp(
                  "\\(" + i(f) + '\\("(dll-reference\\s(' + n + '))"\\)\\)' + r,
                  "g"
                );
                (u = d.exec(c));

              )
                t[u[2]] ||
                  (s[a].push(u[1]), (t[u[2]] = __webpack_require__(u[1]).m)),
                  (s[u[2]] = s[u[2]] || []),
                  s[u[2]].push(u[4]);
              for (var h = Object.keys(s), p = 0; p < h.length; p++)
                for (var m = 0; m < s[h[p]].length; m++)
                  o(s[h[p]][m]) && (s[h[p]][m] = 1 * s[h[p]][m]);
              return s;
            }
            function s(t) {
              return Object.keys(t).reduce(function (e, n) {
                return e || t[n].length > 0;
              }, !1);
            }
            t.exports = function (t, n) {
              n = n || {};
              var r = { main: __webpack_require__.m },
                i = n.all
                  ? { main: Object.keys(r.main) }
                  : (function (t, e) {
                      for (
                        var n = { main: [e] },
                          r = { main: [] },
                          i = { main: {} };
                        s(n);

                      )
                        for (var o = Object.keys(n), c = 0; c < o.length; c++) {
                          var l = o[c],
                            u = n[l].pop();
                          if (((i[l] = i[l] || {}), !i[l][u] && t[l][u])) {
                            (i[l][u] = !0), (r[l] = r[l] || []), r[l].push(u);
                            for (
                              var f = a(t, t[l][u], l),
                                d = Object.keys(f),
                                h = 0;
                              h < d.length;
                              h++
                            )
                              (n[d[h]] = n[d[h]] || []),
                                (n[d[h]] = n[d[h]].concat(f[d[h]]));
                          }
                        }
                      return r;
                    })(r, t),
                o = "";
              Object.keys(i)
                .filter(function (t) {
                  return "main" !== t;
                })
                .forEach(function (t) {
                  for (var n = 0; i[t][n]; ) n++;
                  i[t].push(n),
                    (r[t][n] =
                      "(function(module, exports, __webpack_require__) { module.exports = __webpack_require__; })"),
                    (o =
                      o +
                      "var " +
                      t +
                      " = (" +
                      e.toString().replace("ENTRY_MODULE", JSON.stringify(n)) +
                      ")({" +
                      i[t]
                        .map(function (e) {
                          return JSON.stringify(e) + ": " + r[t][e].toString();
                        })
                        .join(",") +
                      "});\n");
                }),
                (o =
                  o +
                  "new ((" +
                  e.toString().replace("ENTRY_MODULE", JSON.stringify(t)) +
                  ")({" +
                  i.main
                    .map(function (t) {
                      return JSON.stringify(t) + ": " + r.main[t].toString();
                    })
                    .join(",") +
                  "}))(self);");
              var c = new window.Blob([o], { type: "text/javascript" });
              if (n.bare) return c;
              var l = (
                  window.URL ||
                  window.webkitURL ||
                  window.mozURL ||
                  window.msURL
                ).createObjectURL(c),
                u = new window.Worker(l);
              return (u.objectURL = l), u;
            };
          })(webworkifyWebpack);
          class LoggingControl {
            static get forceGlobalTag() {
              return Log.FORCE_GLOBAL_TAG;
            }
            static set forceGlobalTag(t) {
              (Log.FORCE_GLOBAL_TAG = t), LoggingControl._notifyChange();
            }
            static get globalTag() {
              return Log.GLOBAL_TAG;
            }
            static set globalTag(t) {
              (Log.GLOBAL_TAG = t), LoggingControl._notifyChange();
            }
            static get enableAll() {
              return (
                Log.ENABLE_VERBOSE &&
                Log.ENABLE_DEBUG &&
                Log.ENABLE_INFO &&
                Log.ENABLE_WARN &&
                Log.ENABLE_ERROR
              );
            }
            static set enableAll(t) {
              (Log.ENABLE_VERBOSE = t),
                (Log.ENABLE_DEBUG = t),
                (Log.ENABLE_INFO = t),
                (Log.ENABLE_WARN = t),
                (Log.ENABLE_ERROR = t),
                LoggingControl._notifyChange();
            }
            static get enableDebug() {
              return Log.ENABLE_DEBUG;
            }
            static set enableDebug(t) {
              (Log.ENABLE_DEBUG = t), LoggingControl._notifyChange();
            }
            static get enableVerbose() {
              return Log.ENABLE_VERBOSE;
            }
            static set enableVerbose(t) {
              (Log.ENABLE_VERBOSE = t), LoggingControl._notifyChange();
            }
            static get enableInfo() {
              return Log.ENABLE_INFO;
            }
            static set enableInfo(t) {
              (Log.ENABLE_INFO = t), LoggingControl._notifyChange();
            }
            static get enableWarn() {
              return Log.ENABLE_WARN;
            }
            static set enableWarn(t) {
              (Log.ENABLE_WARN = t), LoggingControl._notifyChange();
            }
            static get enableError() {
              return Log.ENABLE_ERROR;
            }
            static set enableError(t) {
              (Log.ENABLE_ERROR = t), LoggingControl._notifyChange();
            }
            static getConfig() {
              return {
                globalTag: Log.GLOBAL_TAG,
                forceGlobalTag: Log.FORCE_GLOBAL_TAG,
                enableVerbose: Log.ENABLE_VERBOSE,
                enableDebug: Log.ENABLE_DEBUG,
                enableInfo: Log.ENABLE_INFO,
                enableWarn: Log.ENABLE_WARN,
                enableError: Log.ENABLE_ERROR,
                enableCallback: Log.ENABLE_CALLBACK,
              };
            }
            static applyConfig(t) {
              (Log.GLOBAL_TAG = t.globalTag),
                (Log.FORCE_GLOBAL_TAG = t.forceGlobalTag),
                (Log.ENABLE_VERBOSE = t.enableVerbose),
                (Log.ENABLE_DEBUG = t.enableDebug),
                (Log.ENABLE_INFO = t.enableInfo),
                (Log.ENABLE_WARN = t.enableWarn),
                (Log.ENABLE_ERROR = t.enableError),
                (Log.ENABLE_CALLBACK = t.enableCallback);
            }
            static _notifyChange() {
              let t = LoggingControl.emitter;
              if (t.listenerCount("change") > 0) {
                let e = LoggingControl.getConfig();
                t.emit("change", e);
              }
            }
            static registerListener(t) {
              LoggingControl.emitter.addListener("change", t);
            }
            static removeListener(t) {
              LoggingControl.emitter.removeListener("change", t);
            }
            static addLogListener(t) {
              Log.emitter.addListener("log", t),
                Log.emitter.listenerCount("log") > 0 &&
                  ((Log.ENABLE_CALLBACK = !0), LoggingControl._notifyChange());
            }
            static removeLogListener(t) {
              Log.emitter.removeListener("log", t),
                0 === Log.emitter.listenerCount("log") &&
                  ((Log.ENABLE_CALLBACK = !1), LoggingControl._notifyChange());
            }
          }
          LoggingControl.emitter = new EventEmitter$1();
          class MediaInfo {
            constructor() {
              (this.mimeType = null),
                (this.duration = null),
                (this.hasAudio = null),
                (this.hasVideo = null),
                (this.audioCodec = null),
                (this.videoCodec = null),
                (this.audioDataRate = null),
                (this.videoDataRate = null),
                (this.audioSampleRate = null),
                (this.audioChannelCount = null),
                (this.width = null),
                (this.height = null),
                (this.fps = null),
                (this.profile = null),
                (this.level = null),
                (this.refFrames = null),
                (this.chromaFormat = null),
                (this.sarNum = null),
                (this.sarDen = null),
                (this.metadata = null),
                (this.segments = null),
                (this.segmentCount = null),
                (this.hasKeyframesIndex = null),
                (this.keyframesIndex = null);
            }
            isComplete() {
              let t =
                  !1 === this.hasAudio ||
                  (!0 === this.hasAudio &&
                    null != this.audioCodec &&
                    null != this.audioSampleRate &&
                    null != this.audioChannelCount),
                e =
                  !1 === this.hasVideo ||
                  (!0 === this.hasVideo &&
                    null != this.videoCodec &&
                    null != this.width &&
                    null != this.height &&
                    null != this.fps &&
                    null != this.profile &&
                    null != this.level &&
                    null != this.refFrames &&
                    null != this.chromaFormat &&
                    null != this.sarNum &&
                    null != this.sarDen);
              return (
                null != this.mimeType &&
                null != this.duration &&
                null != this.metadata &&
                null != this.hasKeyframesIndex &&
                t &&
                e
              );
            }
            isSeekable() {
              return !0 === this.hasKeyframesIndex;
            }
            getNearestKeyframe(t) {
              if (null == this.keyframesIndex) return null;
              let e = this.keyframesIndex,
                n = this._search(e.times, t);
              return {
                index: n,
                milliseconds: e.times[n],
                fileposition: e.filepositions[n],
              };
            }
            _search(t, e) {
              let n = 0,
                r = t.length - 1,
                i = 0,
                o = 0,
                a = r;
              for (e < t[0] && ((n = 0), (o = a + 1)); o <= a; ) {
                if (
                  ((i = o + Math.floor((a - o) / 2)),
                  i === r || (e >= t[i] && e < t[i + 1]))
                ) {
                  n = i;
                  break;
                }
                t[i] < e ? (o = i + 1) : (a = i - 1);
              }
              return n;
            }
          }
          function checkContinuation(t, e, n) {
            let r = t;
            if (e + n < r.length) {
              for (; n--; ) if (128 != (192 & r[++e])) return !1;
              return !0;
            }
            return !1;
          }
          function decodeUTF8(t) {
            let e = [],
              n = t,
              r = 0,
              i = t.length;
            for (; r < i; )
              if (n[r] < 128) e.push(String.fromCharCode(n[r])), ++r;
              else {
                if (!(n[r] < 192))
                  if (n[r] < 224) {
                    if (checkContinuation(n, r, 1)) {
                      let t = ((31 & n[r]) << 6) | (63 & n[r + 1]);
                      if (t >= 128) {
                        e.push(String.fromCharCode(65535 & t)), (r += 2);
                        continue;
                      }
                    }
                  } else if (n[r] < 240) {
                    if (checkContinuation(n, r, 2)) {
                      let t =
                        ((15 & n[r]) << 12) |
                        ((63 & n[r + 1]) << 6) |
                        (63 & n[r + 2]);
                      if (t >= 2048 && 55296 != (63488 & t)) {
                        e.push(String.fromCharCode(65535 & t)), (r += 3);
                        continue;
                      }
                    }
                  } else if (n[r] < 248 && checkContinuation(n, r, 3)) {
                    let t =
                      ((7 & n[r]) << 18) |
                      ((63 & n[r + 1]) << 12) |
                      ((63 & n[r + 2]) << 6) |
                      (63 & n[r + 3]);
                    if (t > 65536 && t < 1114112) {
                      (t -= 65536),
                        e.push(String.fromCharCode((t >>> 10) | 55296)),
                        e.push(String.fromCharCode((1023 & t) | 56320)),
                        (r += 4);
                      continue;
                    }
                  }
                e.push(String.fromCharCode(65533)), ++r;
              }
            return e.join("");
          }
          let le = (function () {
            let t = new ArrayBuffer(2);
            return (
              new DataView(t).setInt16(0, 256, !0), 256 === new Int16Array(t)[0]
            );
          })();
          class AMF {
            static parseScriptData(t, e, n) {
              let r = {};
              try {
                let i = AMF.parseValue(t, e, n),
                  o = AMF.parseValue(t, e + i.size, n - i.size);
                r[i.data] = o.data;
              } catch (t) {
                Log.e("AMF", t.toString());
              }
              return r;
            }
            static parseObject(t, e, n) {
              if (n < 3)
                throw new IllegalStateException(
                  "Data not enough when parse ScriptDataObject"
                );
              let r = AMF.parseString(t, e, n),
                i = AMF.parseValue(t, e + r.size, n - r.size),
                o = i.objectEnd;
              return {
                data: { name: r.data, value: i.data },
                size: r.size + i.size,
                objectEnd: o,
              };
            }
            static parseVariable(t, e, n) {
              return AMF.parseObject(t, e, n);
            }
            static parseString(t, e, n) {
              if (n < 2)
                throw new IllegalStateException(
                  "Data not enough when parse String"
                );
              let r,
                i = new DataView(t, e, n).getUint16(0, !le);
              return (
                (r = i > 0 ? decodeUTF8(new Uint8Array(t, e + 2, i)) : ""),
                { data: r, size: 2 + i }
              );
            }
            static parseLongString(t, e, n) {
              if (n < 4)
                throw new IllegalStateException(
                  "Data not enough when parse LongString"
                );
              let r,
                i = new DataView(t, e, n).getUint32(0, !le);
              return (
                (r = i > 0 ? decodeUTF8(new Uint8Array(t, e + 4, i)) : ""),
                { data: r, size: 4 + i }
              );
            }
            static parseDate(t, e, n) {
              if (n < 10)
                throw new IllegalStateException(
                  "Data size invalid when parse Date"
                );
              let r = new DataView(t, e, n),
                i = r.getFloat64(0, !le);
              return (
                (i += 60 * r.getInt16(8, !le) * 1e3),
                { data: new Date(i), size: 10 }
              );
            }
            static parseValue(t, e, n) {
              if (n < 1)
                throw new IllegalStateException(
                  "Data not enough when parse Value"
                );
              let r,
                i = new DataView(t, e, n),
                o = 1,
                a = i.getUint8(0),
                s = !1;
              try {
                switch (a) {
                  case 0:
                    (r = i.getFloat64(1, !le)), (o += 8);
                    break;
                  case 1:
                    (r = !!i.getUint8(1)), (o += 1);
                    break;
                  case 2: {
                    let i = AMF.parseString(t, e + 1, n - 1);
                    (r = i.data), (o += i.size);
                    break;
                  }
                  case 3: {
                    r = {};
                    let a = 0;
                    for (
                      9 == (16777215 & i.getUint32(n - 4, !le)) && (a = 3);
                      o < n - 4;

                    ) {
                      let i = AMF.parseObject(t, e + o, n - o - a);
                      if (i.objectEnd) break;
                      (r[i.data.name] = i.data.value), (o += i.size);
                    }
                    o <= n - 3 &&
                      9 == (16777215 & i.getUint32(o - 1, !le)) &&
                      (o += 3);
                    break;
                  }
                  case 8: {
                    (r = {}), (o += 4);
                    let a = 0;
                    for (
                      9 == (16777215 & i.getUint32(n - 4, !le)) && (a = 3);
                      o < n - 8;

                    ) {
                      let i = AMF.parseVariable(t, e + o, n - o - a);
                      if (i.objectEnd) break;
                      (r[i.data.name] = i.data.value), (o += i.size);
                    }
                    o <= n - 3 &&
                      9 == (16777215 & i.getUint32(o - 1, !le)) &&
                      (o += 3);
                    break;
                  }
                  case 9:
                    (r = void 0), (o = 1), (s = !0);
                    break;
                  case 10: {
                    r = [];
                    let a = i.getUint32(1, !le);
                    o += 4;
                    for (let i = 0; i < a; i++) {
                      let i = AMF.parseValue(t, e + o, n - o);
                      r.push(i.data), (o += i.size);
                    }
                    break;
                  }
                  case 11: {
                    let i = AMF.parseDate(t, e + 1, n - 1);
                    (r = i.data), (o += i.size);
                    break;
                  }
                  case 12: {
                    let i = AMF.parseString(t, e + 1, n - 1);
                    (r = i.data), (o += i.size);
                    break;
                  }
                  default:
                    (o = n), Log.w("AMF", "Unsupported AMF value type " + a);
                }
              } catch (t) {
                Log.e("AMF", t.toString());
              }
              return { data: r, size: o, objectEnd: s };
            }
          }
          class ExpGolomb {
            constructor(t) {
              (this.TAG = "ExpGolomb"),
                (this._buffer = t),
                (this._buffer_index = 0),
                (this._total_bytes = t.byteLength),
                (this._total_bits = 8 * t.byteLength),
                (this._current_word = 0),
                (this._current_word_bits_left = 0);
            }
            destroy() {
              this._buffer = null;
            }
            _fillCurrentWord() {
              let t = this._total_bytes - this._buffer_index;
              if (t <= 0)
                throw new IllegalStateException(
                  "ExpGolomb: _fillCurrentWord() but no bytes available"
                );
              let e = Math.min(4, t),
                n = new Uint8Array(4);
              n.set(
                this._buffer.subarray(
                  this._buffer_index,
                  this._buffer_index + e
                )
              ),
                (this._current_word = new DataView(n.buffer).getUint32(0, !1)),
                (this._buffer_index += e),
                (this._current_word_bits_left = 8 * e);
            }
            readBits(t) {
              if (t > 32)
                throw new InvalidArgumentException(
                  "ExpGolomb: readBits() bits exceeded max 32bits!"
                );
              if (t <= this._current_word_bits_left) {
                let e = this._current_word >>> (32 - t);
                return (
                  (this._current_word <<= t),
                  (this._current_word_bits_left -= t),
                  e
                );
              }
              let e = this._current_word_bits_left ? this._current_word : 0;
              e >>>= 32 - this._current_word_bits_left;
              let n = t - this._current_word_bits_left;
              this._fillCurrentWord();
              let r = Math.min(n, this._current_word_bits_left),
                i = this._current_word >>> (32 - r);
              return (
                (this._current_word <<= r),
                (this._current_word_bits_left -= r),
                (e = (e << r) | i),
                e
              );
            }
            readBool() {
              return 1 === this.readBits(1);
            }
            readByte() {
              return this.readBits(8);
            }
            _skipLeadingZero() {
              let t;
              for (t = 0; t < this._current_word_bits_left; t++)
                if (this._current_word & (2147483648 >>> t))
                  return (
                    (this._current_word <<= t),
                    (this._current_word_bits_left -= t),
                    t
                  );
              return this._fillCurrentWord(), t + this._skipLeadingZero();
            }
            readUEG() {
              let t = this._skipLeadingZero();
              return this.readBits(t + 1) - 1;
            }
            readSEG() {
              let t = this.readUEG();
              return 1 & t ? (t + 1) >>> 1 : -1 * (t >>> 1);
            }
          }
          class SPSParser {
            static _ebsp2rbsp(t) {
              let e = t,
                n = e.byteLength,
                r = new Uint8Array(n),
                i = 0;
              for (let t = 0; t < n; t++)
                (t >= 2 && 3 === e[t] && 0 === e[t - 1] && 0 === e[t - 2]) ||
                  ((r[i] = e[t]), i++);
              return new Uint8Array(r.buffer, 0, i);
            }
            static parseSPS(t) {
              let e = SPSParser._ebsp2rbsp(t),
                n = new ExpGolomb(e);
              n.readByte();
              let r = n.readByte();
              n.readByte();
              let i = n.readByte();
              n.readUEG();
              let o = SPSParser.getProfileString(r),
                a = SPSParser.getLevelString(i),
                s = 1,
                c = 420,
                l = 8;
              if (
                (100 === r ||
                  110 === r ||
                  122 === r ||
                  244 === r ||
                  44 === r ||
                  83 === r ||
                  86 === r ||
                  118 === r ||
                  128 === r ||
                  138 === r ||
                  144 === r) &&
                ((s = n.readUEG()),
                3 === s && n.readBits(1),
                s <= 3 && (c = [0, 420, 422, 444][s]),
                (l = n.readUEG() + 8),
                n.readUEG(),
                n.readBits(1),
                n.readBool())
              ) {
                let t = 3 !== s ? 8 : 12;
                for (let e = 0; e < t; e++)
                  n.readBool() &&
                    (e < 6
                      ? SPSParser._skipScalingList(n, 16)
                      : SPSParser._skipScalingList(n, 64));
              }
              n.readUEG();
              let u = n.readUEG();
              if (0 === u) n.readUEG();
              else if (1 === u) {
                n.readBits(1), n.readSEG(), n.readSEG();
                let t = n.readUEG();
                for (let e = 0; e < t; e++) n.readSEG();
              }
              let f = n.readUEG();
              n.readBits(1);
              let d = n.readUEG(),
                h = n.readUEG(),
                p = n.readBits(1);
              0 === p && n.readBits(1), n.readBits(1);
              let m = 0,
                v = 0,
                g = 0,
                y = 0;
              n.readBool() &&
                ((m = n.readUEG()),
                (v = n.readUEG()),
                (g = n.readUEG()),
                (y = n.readUEG()));
              let b = 1,
                V = 1,
                _ = 0,
                w = !0,
                S = 0,
                E = 0;
              if (n.readBool()) {
                if (n.readBool()) {
                  let t = n.readByte();
                  t > 0 && t < 16
                    ? ((b = [
                        1, 12, 10, 16, 40, 24, 20, 32, 80, 18, 15, 64, 160, 4,
                        3, 2,
                      ][t - 1]),
                      (V = [
                        1, 11, 11, 11, 33, 11, 11, 11, 33, 11, 11, 33, 99, 3, 2,
                        1,
                      ][t - 1]))
                    : 255 === t &&
                      ((b = (n.readByte() << 8) | n.readByte()),
                      (V = (n.readByte() << 8) | n.readByte()));
                }
                if (
                  (n.readBool() && n.readBool(),
                  n.readBool() &&
                    (n.readBits(4), n.readBool() && n.readBits(24)),
                  n.readBool() && (n.readUEG(), n.readUEG()),
                  n.readBool())
                ) {
                  let t = n.readBits(32),
                    e = n.readBits(32);
                  (w = n.readBool()), (S = e), (E = 2 * t), (_ = S / E);
                }
              }
              let A = 1;
              (1 !== b || 1 !== V) && (A = b / V);
              let T = 0,
                O = 0;
              0 === s
                ? ((T = 1), (O = 2 - p))
                : ((T = 3 === s ? 1 : 2), (O = (1 === s ? 2 : 1) * (2 - p)));
              let C = 16 * (d + 1),
                P = 16 * (h + 1) * (2 - p);
              (C -= (m + v) * T), (P -= (g + y) * O);
              let x = Math.ceil(C * A);
              return (
                n.destroy(),
                (n = null),
                {
                  profile_string: o,
                  level_string: a,
                  bit_depth: l,
                  ref_frames: f,
                  chroma_format: c,
                  chroma_format_string: SPSParser.getChromaFormatString(c),
                  frame_rate: { fixed: w, fps: _, fps_den: E, fps_num: S },
                  sar_ratio: { width: b, height: V },
                  codec_size: { width: C, height: P },
                  present_size: { width: x, height: P },
                }
              );
            }
            static _skipScalingList(t, e) {
              let n = 8,
                r = 8,
                i = 0;
              for (let o = 0; o < e; o++)
                0 !== r && ((i = t.readSEG()), (r = (n + i + 256) % 256)),
                  (n = 0 === r ? n : r);
            }
            static getProfileString(t) {
              switch (t) {
                case 66:
                  return "Baseline";
                case 77:
                  return "Main";
                case 88:
                  return "Extended";
                case 100:
                  return "High";
                case 110:
                  return "High10";
                case 122:
                  return "High422";
                case 244:
                  return "High444";
                default:
                  return "Unknown";
              }
            }
            static getLevelString(t) {
              return (t / 10).toFixed(1);
            }
            static getChromaFormatString(t) {
              switch (t) {
                case 420:
                  return "4:2:0";
                case 422:
                  return "4:2:2";
                case 444:
                  return "4:4:4";
                default:
                  return "Unknown";
              }
            }
          }
          const DemuxErrors = {
            OK: "OK",
            FORMAT_ERROR: "FormatError",
            FORMAT_UNSUPPORTED: "FormatUnsupported",
            CODEC_UNSUPPORTED: "CodecUnsupported",
          };
          function ReadBig32(t, e) {
            return (t[e] << 24) | (t[e + 1] << 16) | (t[e + 2] << 8) | t[e + 3];
          }
          class FLVDemuxer {
            constructor(t, e) {
              (this.TAG = "FLVDemuxer"),
                (this._config = e),
                (this._onError = null),
                (this._onMediaInfo = null),
                (this._onMetaDataArrived = null),
                (this._onScriptDataArrived = null),
                (this._onTrackMetadata = null),
                (this._onDataAvailable = null),
                (this._dataOffset = t.dataOffset),
                (this._firstParse = !0),
                (this._dispatch = !1),
                (this._hasAudio = t.hasAudioTrack),
                (this._hasVideo = t.hasVideoTrack),
                (this._hasAudioFlagOverrided = !1),
                (this._hasVideoFlagOverrided = !1),
                (this._audioInitialMetadataDispatched = !1),
                (this._videoInitialMetadataDispatched = !1),
                (this._mediaInfo = new MediaInfo()),
                (this._mediaInfo.hasAudio = this._hasAudio),
                (this._mediaInfo.hasVideo = this._hasVideo),
                (this._metadata = null),
                (this._audioMetadata = null),
                (this._videoMetadata = null),
                (this._naluLengthSize = 4),
                (this._timestampBase = 0),
                (this._timescale = 1e3),
                (this._duration = 0),
                (this._durationOverrided = !1),
                (this._referenceFrameRate = {
                  fixed: !0,
                  fps: 23.976,
                  fps_num: 23976,
                  fps_den: 1e3,
                }),
                (this._flvSoundRateTable = [5500, 11025, 22050, 44100, 48e3]),
                (this._mpegSamplingRates = [
                  96e3, 88200, 64e3, 48e3, 44100, 32e3, 24e3, 22050, 16e3, 12e3,
                  11025, 8e3, 7350,
                ]),
                (this._mpegAudioV10SampleRateTable = [44100, 48e3, 32e3, 0]),
                (this._mpegAudioV20SampleRateTable = [22050, 24e3, 16e3, 0]),
                (this._mpegAudioV25SampleRateTable = [11025, 12e3, 8e3, 0]),
                (this._mpegAudioL1BitRateTable = [
                  0, 32, 64, 96, 128, 160, 192, 224, 256, 288, 320, 352, 384,
                  416, 448, -1,
                ]),
                (this._mpegAudioL2BitRateTable = [
                  0, 32, 48, 56, 64, 80, 96, 112, 128, 160, 192, 224, 256, 320,
                  384, -1,
                ]),
                (this._mpegAudioL3BitRateTable = [
                  0, 32, 40, 48, 56, 64, 80, 96, 112, 128, 160, 192, 224, 256,
                  320, -1,
                ]),
                (this._videoTrack = {
                  type: "video",
                  id: 1,
                  sequenceNumber: 0,
                  samples: [],
                  length: 0,
                }),
                (this._audioTrack = {
                  type: "audio",
                  id: 2,
                  sequenceNumber: 0,
                  samples: [],
                  length: 0,
                }),
                (this._littleEndian = (function () {
                  let t = new ArrayBuffer(2);
                  return (
                    new DataView(t).setInt16(0, 256, !0),
                    256 === new Int16Array(t)[0]
                  );
                })());
            }
            destroy() {
              (this._mediaInfo = null),
                (this._metadata = null),
                (this._audioMetadata = null),
                (this._videoMetadata = null),
                (this._videoTrack = null),
                (this._audioTrack = null),
                (this._onError = null),
                (this._onMediaInfo = null),
                (this._onMetaDataArrived = null),
                (this._onScriptDataArrived = null),
                (this._onTrackMetadata = null),
                (this._onDataAvailable = null);
            }
            static probe(t) {
              let e = new Uint8Array(t),
                n = { match: !1 };
              if (70 !== e[0] || 76 !== e[1] || 86 !== e[2] || 1 !== e[3])
                return n;
              let r = (4 & e[4]) >>> 2 != 0,
                i = !!(1 & e[4]),
                o = ReadBig32(e, 5);
              return o < 9
                ? n
                : {
                    match: !0,
                    consumed: o,
                    dataOffset: o,
                    hasAudioTrack: r,
                    hasVideoTrack: i,
                  };
            }
            bindDataSource(t) {
              return (t.onDataArrival = this.parseChunks.bind(this)), this;
            }
            get onTrackMetadata() {
              return this._onTrackMetadata;
            }
            set onTrackMetadata(t) {
              this._onTrackMetadata = t;
            }
            get onMediaInfo() {
              return this._onMediaInfo;
            }
            set onMediaInfo(t) {
              this._onMediaInfo = t;
            }
            get onMetaDataArrived() {
              return this._onMetaDataArrived;
            }
            set onMetaDataArrived(t) {
              this._onMetaDataArrived = t;
            }
            get onScriptDataArrived() {
              return this._onScriptDataArrived;
            }
            set onScriptDataArrived(t) {
              this._onScriptDataArrived = t;
            }
            get onError() {
              return this._onError;
            }
            set onError(t) {
              this._onError = t;
            }
            get onDataAvailable() {
              return this._onDataAvailable;
            }
            set onDataAvailable(t) {
              this._onDataAvailable = t;
            }
            get timestampBase() {
              return this._timestampBase;
            }
            set timestampBase(t) {
              this._timestampBase = t;
            }
            get overridedDuration() {
              return this._duration;
            }
            set overridedDuration(t) {
              (this._durationOverrided = !0),
                (this._duration = t),
                (this._mediaInfo.duration = t);
            }
            set overridedHasAudio(t) {
              (this._hasAudioFlagOverrided = !0),
                (this._hasAudio = t),
                (this._mediaInfo.hasAudio = t);
            }
            set overridedHasVideo(t) {
              (this._hasVideoFlagOverrided = !0),
                (this._hasVideo = t),
                (this._mediaInfo.hasVideo = t);
            }
            resetMediaInfo() {
              this._mediaInfo = new MediaInfo();
            }
            _isInitialMetadataDispatched() {
              return this._hasAudio && this._hasVideo
                ? this._audioInitialMetadataDispatched &&
                    this._videoInitialMetadataDispatched
                : this._hasAudio && !this._hasVideo
                ? this._audioInitialMetadataDispatched
                : !(this._hasAudio || !this._hasVideo) &&
                  this._videoInitialMetadataDispatched;
            }
            parseChunks(t, e, n = "") {
              if (
                !(
                  this._onError &&
                  this._onMediaInfo &&
                  this._onTrackMetadata &&
                  this._onDataAvailable
                )
              )
                throw new IllegalStateException(
                  "Flv: onError & onMediaInfo & onTrackMetadata & onDataAvailable callback must be specified"
                );
              let r = 0,
                i = this._littleEndian;
              if (0 === e) {
                if (!((null == t ? void 0 : t.byteLength) > 13)) return 0;
                r = FLVDemuxer.probe(t).dataOffset || 0;
              }
              for (
                this._firstParse &&
                ((this._firstParse = !1),
                e + r !== this._dataOffset &&
                  Log.w(
                    this.TAG,
                    "First time parsing but chunk byteStart invalid!"
                  ),
                0 !== new DataView(t, r).getUint32(0, !i) &&
                  Log.w(this.TAG, "PrevTagSize0 !== 0 !!!"),
                (r += 4));
                r < t.byteLength;

              ) {
                this._dispatch = !0;
                let n = new DataView(t, r);
                if (r + 11 + 4 > t.byteLength) break;
                let o = n.getUint8(0),
                  a = 16777215 & n.getUint32(0, !i);
                if (r + 11 + a + 4 > t.byteLength) break;
                if (8 !== o && 9 !== o && 18 !== o) {
                  Log.w(this.TAG, `Unsupported tag type ${o}, skipped`),
                    (r += 11 + a + 4);
                  continue;
                }
                let s = n.getUint8(4),
                  c = n.getUint8(5),
                  l =
                    n.getUint8(6) |
                    (c << 8) |
                    (s << 16) |
                    (n.getUint8(7) << 24);
                16777215 & n.getUint32(7, !i) &&
                  Log.w(this.TAG, "Meet tag which has StreamID != 0!");
                let u = r + 11;
                switch (o) {
                  case 8:
                    this._parseAudioData(t, u, a, l);
                    break;
                  case 9:
                    this._parseVideoData(t, u, a, l, e + r);
                    break;
                  case 18:
                    this._parseScriptData(t, u, a);
                }
                let f = n.getUint32(11 + a, !i);
                f !== 11 + a && Log.w(this.TAG, `Invalid PrevTagSize ${f}`),
                  (r += 11 + a + 4);
              }
              return (
                this._isInitialMetadataDispatched() &&
                  this._dispatch &&
                  (this._audioTrack.length || this._videoTrack.length) &&
                  this._onDataAvailable(this._audioTrack, this._videoTrack),
                r
              );
            }
            _parseScriptData(t, e, n) {
              let r = AMF.parseScriptData(t, e, n);
              if (r.hasOwnProperty("onMetaData")) {
                if (null == r.onMetaData || "object" != typeof r.onMetaData)
                  return void Log.w(this.TAG, "Invalid onMetaData structure!");
                this._metadata &&
                  Log.w(this.TAG, "Found another onMetaData tag!"),
                  (this._metadata = r);
                let t = this._metadata.onMetaData;
                if (
                  (this._onMetaDataArrived &&
                    this._onMetaDataArrived(Object.assign({}, t)),
                  "boolean" == typeof t.hasAudio &&
                    !1 === this._hasAudioFlagOverrided &&
                    ((this._hasAudio = t.hasAudio),
                    (this._mediaInfo.hasAudio = this._hasAudio)),
                  "boolean" == typeof t.hasVideo &&
                    !1 === this._hasVideoFlagOverrided &&
                    ((this._hasVideo = t.hasVideo),
                    (this._mediaInfo.hasVideo = this._hasVideo)),
                  "number" == typeof t.audiodatarate &&
                    (this._mediaInfo.audioDataRate = t.audiodatarate),
                  "number" == typeof t.videodatarate &&
                    (this._mediaInfo.videoDataRate = t.videodatarate),
                  "number" == typeof t.width &&
                    (this._mediaInfo.width = t.width),
                  "number" == typeof t.height &&
                    (this._mediaInfo.height = t.height),
                  "number" == typeof t.duration)
                ) {
                  if (!this._durationOverrided) {
                    let e = Math.floor(t.duration * this._timescale);
                    (this._duration = e), (this._mediaInfo.duration = e);
                  }
                } else this._mediaInfo.duration = 0;
                if ("number" == typeof t.framerate) {
                  let e = Math.floor(1e3 * t.framerate);
                  if (e > 0) {
                    let t = e / 1e3;
                    (this._referenceFrameRate.fixed = !0),
                      (this._referenceFrameRate.fps = t),
                      (this._referenceFrameRate.fps_num = e),
                      (this._referenceFrameRate.fps_den = 1e3),
                      (this._mediaInfo.fps = t);
                  }
                }
                if ("object" == typeof t.keyframes) {
                  this._mediaInfo.hasKeyframesIndex = !0;
                  let e = t.keyframes;
                  (this._mediaInfo.keyframesIndex =
                    this._parseKeyframesIndex(e)),
                    (t.keyframes = null);
                } else this._mediaInfo.hasKeyframesIndex = !1;
                (this._dispatch = !1),
                  (this._mediaInfo.metadata = t),
                  Log.v(this.TAG, "Parsed onMetaData"),
                  this._mediaInfo.isComplete() &&
                    this._onMediaInfo(this._mediaInfo);
              }
              Object.keys(r).length > 0 &&
                this._onScriptDataArrived &&
                this._onScriptDataArrived(Object.assign({}, r));
            }
            _parseKeyframesIndex(t) {
              let e = [],
                n = [];
              for (let r = 1; r < t.times.length; r++) {
                let i = this._timestampBase + Math.floor(1e3 * t.times[r]);
                e.push(i), n.push(t.filepositions[r]);
              }
              return { times: e, filepositions: n };
            }
            _parseAudioData(t, e, n, r) {
              if (n <= 1)
                return void Log.w(
                  this.TAG,
                  "Flv: Invalid audio packet, missing SoundData payload!"
                );
              if (!0 === this._hasAudioFlagOverrided && !1 === this._hasAudio)
                return;
              this._littleEndian;
              let i = new DataView(t, e, n).getUint8(0),
                o = i >>> 4;
              if (2 !== o && 10 !== o)
                return void this._onError(
                  DemuxErrors.CODEC_UNSUPPORTED,
                  "Flv: Unsupported audio codec idx: " + o
                );
              let a = 0,
                s = (12 & i) >>> 2;
              if (!(s >= 0 && s <= 4))
                return void this._onError(
                  DemuxErrors.FORMAT_ERROR,
                  "Flv: Invalid audio sample rate idx: " + s
                );
              a = this._flvSoundRateTable[s];
              let c = 1 & i,
                l = this._audioMetadata,
                u = this._audioTrack;
              if (
                (l ||
                  (!1 === this._hasAudio &&
                    !1 === this._hasAudioFlagOverrided &&
                    ((this._hasAudio = !0), (this._mediaInfo.hasAudio = !0)),
                  (l = this._audioMetadata = {}),
                  (l.type = "audio"),
                  (l.id = u.id),
                  (l.timescale = this._timescale),
                  (l.duration = this._duration),
                  (l.audioSampleRate = a),
                  (l.channelCount = 0 === c ? 1 : 2)),
                10 === o)
              ) {
                let i = this._parseAACAudioData(t, e + 1, n - 1);
                if (null == i) return;
                if (0 === i.packetType) {
                  l.config &&
                    Log.w(this.TAG, "Found another AudioSpecificConfig!");
                  let t = i.data;
                  (l.audioSampleRate = t.samplingRate),
                    (l.channelCount = t.channelCount),
                    (l.codec = t.codec),
                    (l.originalCodec = t.originalCodec),
                    (l.config = t.config),
                    (l.configRaw = t.configRaw),
                    (l.audioObjectType = t.audioObjectType),
                    (l.samplingFrequencyIndex = t.samplingIndex),
                    (l.channelConfig = t.channelCount),
                    (l.refSampleDuration =
                      (1024 / l.audioSampleRate) * l.timescale),
                    Log.v(this.TAG, "Parsed AudioSpecificConfig"),
                    this._isInitialMetadataDispatched()
                      ? this._dispatch &&
                        (this._audioTrack.length || this._videoTrack.length) &&
                        this._onDataAvailable(
                          this._audioTrack,
                          this._videoTrack
                        )
                      : (this._audioInitialMetadataDispatched = !0),
                    (this._dispatch = !1),
                    this._onTrackMetadata("audio", l);
                  let e = this._mediaInfo;
                  (e.audioCodec = l.originalCodec),
                    (e.audioSampleRate = l.audioSampleRate),
                    (e.audioChannelCount = l.channelCount),
                    e.hasVideo
                      ? null != e.videoCodec &&
                        (e.mimeType =
                          'video/x-flv; codecs="' +
                          e.videoCodec +
                          "," +
                          e.audioCodec +
                          '"')
                      : (e.mimeType =
                          'video/x-flv; codecs="' + e.audioCodec + '"'),
                    e.isComplete() && this._onMediaInfo(e);
                } else if (1 === i.packetType) {
                  let t = this._timestampBase + r,
                    e = {
                      unit: i.data,
                      length: i.data.byteLength,
                      dts: t,
                      pts: t,
                    };
                  u.samples.push(e), (u.length += i.data.length);
                } else
                  Log.e(
                    this.TAG,
                    `Flv: Unsupported AAC data type ${i.packetType}`
                  );
              } else if (2 === o) {
                if (!l.codec) {
                  let r = this._parseMP3AudioData(t, e + 1, n - 1, !0);
                  if (null == r) return;
                  (l.audioSampleRate = r.samplingRate),
                    (l.channelCount = r.channelCount),
                    (l.codec = r.codec),
                    (l.originalCodec = r.originalCodec),
                    (l.refSampleDuration =
                      (1152 / l.audioSampleRate) * l.timescale),
                    Log.v(this.TAG, "Parsed MPEG Audio Frame Header"),
                    (this._audioInitialMetadataDispatched = !0),
                    this._onTrackMetadata("audio", l);
                  let i = this._mediaInfo;
                  (i.audioCodec = l.codec),
                    (i.audioSampleRate = l.audioSampleRate),
                    (i.audioChannelCount = l.channelCount),
                    (i.audioDataRate = r.bitRate),
                    i.hasVideo
                      ? null != i.videoCodec &&
                        (i.mimeType =
                          'video/x-flv; codecs="' +
                          i.videoCodec +
                          "," +
                          i.audioCodec +
                          '"')
                      : (i.mimeType =
                          'video/x-flv; codecs="' + i.audioCodec + '"'),
                    i.isComplete() && this._onMediaInfo(i);
                }
                let i = this._parseMP3AudioData(t, e + 1, n - 1, !1);
                if (null == i) return;
                let o = this._timestampBase + r,
                  a = { unit: i, length: i.byteLength, dts: o, pts: o };
                u.samples.push(a), (u.length += i.length);
              }
            }
            _parseAACAudioData(t, e, n) {
              if (n <= 1)
                return void Log.w(
                  this.TAG,
                  "Flv: Invalid AAC packet, missing AACPacketType or/and Data!"
                );
              let r = {},
                i = new Uint8Array(t, e, n);
              return (
                (r.packetType = i[0]),
                0 === i[0]
                  ? (r.data = this._parseAACAudioSpecificConfig(
                      t,
                      e + 1,
                      n - 1
                    ))
                  : (r.data = i.subarray(1)),
                r
              );
            }
            _parseAACAudioSpecificConfig(t, e, n) {
              let r = new Uint8Array(t, e, n),
                i = null,
                o = 0,
                a = 0,
                s = 0,
                c = null;
              if (
                ((o = a = r[0] >>> 3),
                (s = ((7 & r[0]) << 1) | (r[1] >>> 7)),
                s < 0 || s >= this._mpegSamplingRates.length)
              )
                return void this._onError(
                  DemuxErrors.FORMAT_ERROR,
                  "Flv: AAC invalid sampling frequency index!"
                );
              let l = this._mpegSamplingRates[s],
                u = (120 & r[1]) >>> 3;
              if (u < 0 || u >= 8)
                return void this._onError(
                  DemuxErrors.FORMAT_ERROR,
                  "Flv: AAC invalid channel configuration"
                );
              5 === o && ((c = ((7 & r[1]) << 1) | (r[2] >>> 7)), r[2]);
              let f = self.navigator.userAgent.toLowerCase();
              return (
                -1 !== f.indexOf("firefox")
                  ? s >= 6
                    ? ((o = 5), (i = new Array(4)), (c = s - 3))
                    : ((o = 2), (i = new Array(2)), (c = s))
                  : -1 !== f.indexOf("android")
                  ? ((o = 2), (i = new Array(2)), (c = s))
                  : ((o = 5),
                    (c = s),
                    (i = new Array(4)),
                    s >= 6
                      ? (c = s - 3)
                      : 1 === u && ((o = 2), (i = new Array(2)), (c = s))),
                (i[0] = o << 3),
                (i[0] |= (15 & s) >>> 1),
                (i[1] = (15 & s) << 7),
                (i[1] |= (15 & u) << 3),
                5 === o &&
                  ((i[1] |= (15 & c) >>> 1),
                  (i[2] = (1 & c) << 7),
                  (i[2] |= 8),
                  (i[3] = 0)),
                {
                  config: i,
                  samplingRate: l,
                  channelCount: u,
                  codec: "mp4a.40." + o,
                  originalCodec: "mp4a.40." + a,
                }
              );
            }
            _parseMP3AudioData(t, e, n, r) {
              if (n < 4)
                return void Log.w(
                  this.TAG,
                  "Flv: Invalid MP3 packet, header missing!"
                );
              this._littleEndian;
              let i = new Uint8Array(t, e, n),
                o = null;
              if (r) {
                if (255 !== i[0]) return;
                let t = (i[1] >>> 3) & 3,
                  e = (6 & i[1]) >> 1,
                  n = (240 & i[2]) >>> 4,
                  r = (12 & i[2]) >>> 2,
                  a = 3 & ~(i[3] >>> 6) ? 2 : 1,
                  s = 0,
                  c = 0,
                  l = "mp3";
                switch (t) {
                  case 0:
                    s = this._mpegAudioV25SampleRateTable[r];
                    break;
                  case 2:
                    s = this._mpegAudioV20SampleRateTable[r];
                    break;
                  case 3:
                    s = this._mpegAudioV10SampleRateTable[r];
                }
                switch (e) {
                  case 1:
                    n < this._mpegAudioL3BitRateTable.length &&
                      (c = this._mpegAudioL3BitRateTable[n]);
                    break;
                  case 2:
                    n < this._mpegAudioL2BitRateTable.length &&
                      (c = this._mpegAudioL2BitRateTable[n]);
                    break;
                  case 3:
                    n < this._mpegAudioL1BitRateTable.length &&
                      (c = this._mpegAudioL1BitRateTable[n]);
                }
                o = {
                  bitRate: c,
                  samplingRate: s,
                  channelCount: a,
                  codec: l,
                  originalCodec: l,
                };
              } else o = i;
              return o;
            }
            _parseVideoData(t, e, n, r, i) {
              if (n <= 1)
                return void Log.w(
                  this.TAG,
                  "Flv: Invalid video packet, missing VideoData payload!"
                );
              if (!0 === this._hasVideoFlagOverrided && !1 === this._hasVideo)
                return;
              let o = new Uint8Array(t, e, n)[0],
                a = (240 & o) >>> 4,
                s = 15 & o;
              7 === s
                ? this._parseAVCVideoPacket(t, e + 1, n - 1, r, i, a)
                : this._onError(
                    DemuxErrors.CODEC_UNSUPPORTED,
                    `Flv: Unsupported codec in video frame: ${s}`
                  );
            }
            _parseAVCVideoPacket(t, e, n, r, i, o) {
              if (n < 4)
                return void Log.w(
                  this.TAG,
                  "Flv: Invalid AVC packet, missing AVCPacketType or/and CompositionTime"
                );
              let a = this._littleEndian,
                s = new DataView(t, e, n),
                c = s.getUint8(0),
                l = ((16777215 & s.getUint32(0, !a)) << 8) >> 8;
              if (0 === c)
                this._parseAVCDecoderConfigurationRecord(t, e + 4, n - 4);
              else if (1 === c)
                this._parseAVCVideoData(t, e + 4, n - 4, r, i, o, l);
              else if (2 !== c)
                return void this._onError(
                  DemuxErrors.FORMAT_ERROR,
                  `Flv: Invalid video packet type ${c}`
                );
            }
            _parseAVCDecoderConfigurationRecord(t, e, n) {
              if (n < 7)
                return void Log.w(
                  this.TAG,
                  "Flv: Invalid AVCDecoderConfigurationRecord, lack of data!"
                );
              let r = this._videoMetadata,
                i = this._videoTrack,
                o = this._littleEndian,
                a = new DataView(t, e, n);
              r
                ? typeof r.avcc < "u" &&
                  Log.w(
                    this.TAG,
                    "Found another AVCDecoderConfigurationRecord!"
                  )
                : (!1 === this._hasVideo &&
                    !1 === this._hasVideoFlagOverrided &&
                    ((this._hasVideo = !0), (this._mediaInfo.hasVideo = !0)),
                  (r = this._videoMetadata = {}),
                  (r.type = "video"),
                  (r.id = i.id),
                  (r.timescale = this._timescale),
                  (r.duration = this._duration));
              let s = a.getUint8(0),
                c = a.getUint8(1);
              if ((a.getUint8(2), a.getUint8(3), 1 !== s || 0 === c))
                return void this._onError(
                  DemuxErrors.FORMAT_ERROR,
                  "Flv: Invalid AVCDecoderConfigurationRecord"
                );
              if (
                ((this._naluLengthSize = 1 + (3 & a.getUint8(4))),
                3 !== this._naluLengthSize && 4 !== this._naluLengthSize)
              )
                return void this._onError(
                  DemuxErrors.FORMAT_ERROR,
                  "Flv: Strange NaluLengthSizeMinusOne: " +
                    (this._naluLengthSize - 1)
                );
              let l = 31 & a.getUint8(5);
              if (0 === l)
                return void this._onError(
                  DemuxErrors.FORMAT_ERROR,
                  "Flv: Invalid AVCDecoderConfigurationRecord: No SPS"
                );
              l > 1 &&
                Log.w(
                  this.TAG,
                  `Flv: Strange AVCDecoderConfigurationRecord: SPS Count = ${l}`
                );
              let u = 6;
              for (let n = 0; n < l; n++) {
                let i = a.getUint16(u, !o);
                if (((u += 2), 0 === i)) continue;
                let s = new Uint8Array(t, e + u, i);
                u += i;
                let c = SPSParser.parseSPS(s);
                if (0 !== n) continue;
                (r.codecWidth = c.codec_size.width),
                  (r.codecHeight = c.codec_size.height),
                  (r.presentWidth = c.present_size.width),
                  (r.presentHeight = c.present_size.height),
                  (r.profile = c.profile_string),
                  (r.level = c.level_string),
                  (r.bitDepth = c.bit_depth),
                  (r.chromaFormat = c.chroma_format),
                  (r.sarRatio = c.sar_ratio),
                  (r.frameRate = c.frame_rate),
                  (!1 === c.frame_rate.fixed ||
                    0 === c.frame_rate.fps_num ||
                    0 === c.frame_rate.fps_den) &&
                    (r.frameRate = this._referenceFrameRate);
                let l = r.frameRate.fps_den,
                  f = r.frameRate.fps_num;
                r.refSampleDuration = r.timescale * (l / f);
                let d = s.subarray(1, 4),
                  h = "avc1.";
                for (let t = 0; t < 3; t++) {
                  let e = d[t].toString(16);
                  e.length < 2 && (e = "0" + e), (h += e);
                }
                r.codec = h;
                let p = this._mediaInfo;
                (p.width = r.codecWidth),
                  (p.height = r.codecHeight),
                  (p.fps = r.frameRate.fps),
                  (p.profile = r.profile),
                  (p.level = r.level),
                  (p.refFrames = c.ref_frames),
                  (p.chromaFormat = c.chroma_format_string),
                  (p.sarNum = r.sarRatio.width),
                  (p.sarDen = r.sarRatio.height),
                  (p.videoCodec = h),
                  p.hasAudio
                    ? null != p.audioCodec &&
                      (p.mimeType =
                        'video/x-flv; codecs="' +
                        p.videoCodec +
                        "," +
                        p.audioCodec +
                        '"')
                    : (p.mimeType =
                        'video/x-flv; codecs="' + p.videoCodec + '"'),
                  p.isComplete() && this._onMediaInfo(p);
              }
              let f = a.getUint8(u);
              if (0 !== f) {
                f > 1 &&
                  Log.w(
                    this.TAG,
                    `Flv: Strange AVCDecoderConfigurationRecord: PPS Count = ${f}`
                  ),
                  u++;
                for (let t = 0; t < f; t++) {
                  let t = a.getUint16(u, !o);
                  (u += 2), 0 !== t && (u += t);
                }
                (r.avcc = new Uint8Array(n)),
                  r.avcc.set(new Uint8Array(t, e, n), 0),
                  Log.v(this.TAG, "Parsed AVCDecoderConfigurationRecord"),
                  this._isInitialMetadataDispatched()
                    ? this._dispatch &&
                      (this._audioTrack.length || this._videoTrack.length) &&
                      this._onDataAvailable(this._audioTrack, this._videoTrack)
                    : (this._videoInitialMetadataDispatched = !0),
                  (this._dispatch = !1),
                  this._onTrackMetadata("video", r);
              } else
                this._onError(
                  DemuxErrors.FORMAT_ERROR,
                  "Flv: Invalid AVCDecoderConfigurationRecord: No PPS"
                );
            }
            _parseAVCVideoData(t, e, n, r, i, o, a) {
              let s = this._littleEndian,
                c = new DataView(t, e, n),
                l = [],
                u = 0,
                f = 0;
              const d = this._naluLengthSize;
              let h = this._timestampBase + r,
                p = 1 === o;
              for (; f < n; ) {
                if (f + 4 >= n) {
                  Log.w(
                    this.TAG,
                    `Malformed Nalu near timestamp ${h}, offset = ${f}, dataSize = ${n}`
                  );
                  break;
                }
                let r = c.getUint32(f, !s);
                if ((3 === d && (r >>>= 8), r > n - d))
                  return void Log.w(
                    this.TAG,
                    `Malformed Nalus near timestamp ${h}, NaluSize > DataSize!`
                  );
                let i = 31 & c.getUint8(f + d);
                5 === i && (p = !0);
                let o = new Uint8Array(t, e + f, d + r),
                  a = { type: i, data: o };
                l.push(a), (u += o.byteLength), (f += d + r);
              }
              if (l.length) {
                let t = this._videoTrack,
                  e = {
                    units: l,
                    length: u,
                    isKeyframe: p,
                    dts: h,
                    cts: a,
                    pts: h + a,
                  };
                p && (e.fileposition = i), t.samples.push(e), (t.length += u);
              }
            }
          }
          class MP4 {
            static init() {
              MP4.types = {
                avc1: [],
                avcC: [],
                btrt: [],
                dinf: [],
                dref: [],
                esds: [],
                ftyp: [],
                hdlr: [],
                mdat: [],
                mdhd: [],
                mdia: [],
                mfhd: [],
                minf: [],
                moof: [],
                moov: [],
                mp4a: [],
                mvex: [],
                mvhd: [],
                sdtp: [],
                stbl: [],
                stco: [],
                stsc: [],
                stsd: [],
                stsz: [],
                stts: [],
                tfdt: [],
                tfhd: [],
                traf: [],
                trak: [],
                trun: [],
                trex: [],
                tkhd: [],
                vmhd: [],
                smhd: [],
                ".mp3": [],
              };
              for (let t in MP4.types)
                MP4.types.hasOwnProperty(t) &&
                  (MP4.types[t] = [
                    t.charCodeAt(0),
                    t.charCodeAt(1),
                    t.charCodeAt(2),
                    t.charCodeAt(3),
                  ]);
              let t = (MP4.constants = {});
              (t.FTYP = new Uint8Array([
                105, 115, 111, 109, 0, 0, 0, 1, 105, 115, 111, 109, 97, 118, 99,
                49,
              ])),
                (t.STSD_PREFIX = new Uint8Array([0, 0, 0, 0, 0, 0, 0, 1])),
                (t.STTS = new Uint8Array([0, 0, 0, 0, 0, 0, 0, 0])),
                (t.STSC = t.STCO = t.STTS),
                (t.STSZ = new Uint8Array([0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0])),
                (t.HDLR_VIDEO = new Uint8Array([
                  0, 0, 0, 0, 0, 0, 0, 0, 118, 105, 100, 101, 0, 0, 0, 0, 0, 0,
                  0, 0, 0, 0, 0, 0, 86, 105, 100, 101, 111, 72, 97, 110, 100,
                  108, 101, 114, 0,
                ])),
                (t.HDLR_AUDIO = new Uint8Array([
                  0, 0, 0, 0, 0, 0, 0, 0, 115, 111, 117, 110, 0, 0, 0, 0, 0, 0,
                  0, 0, 0, 0, 0, 0, 83, 111, 117, 110, 100, 72, 97, 110, 100,
                  108, 101, 114, 0,
                ])),
                (t.DREF = new Uint8Array([
                  0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 12, 117, 114, 108, 32, 0, 0,
                  0, 1,
                ])),
                (t.SMHD = new Uint8Array([0, 0, 0, 0, 0, 0, 0, 0])),
                (t.VMHD = new Uint8Array([0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0]));
            }
            static box(t) {
              let e = 8,
                n = null,
                r = Array.prototype.slice.call(arguments, 1),
                i = r.length;
              for (let t = 0; t < i; t++) e += r[t].byteLength;
              (n = new Uint8Array(e)),
                (n[0] = (e >>> 24) & 255),
                (n[1] = (e >>> 16) & 255),
                (n[2] = (e >>> 8) & 255),
                (n[3] = 255 & e),
                n.set(t, 4);
              let o = 8;
              for (let t = 0; t < i; t++)
                n.set(r[t], o), (o += r[t].byteLength);
              return n;
            }
            static generateInitSegment(t) {
              let e = MP4.box(MP4.types.ftyp, MP4.constants.FTYP),
                n = MP4.moov(t),
                r = new Uint8Array(e.byteLength + n.byteLength);
              return r.set(e, 0), r.set(n, e.byteLength), r;
            }
            static moov(t) {
              let e = MP4.mvhd(t.timescale, t.duration),
                n = MP4.trak(t),
                r = MP4.mvex(t);
              return MP4.box(MP4.types.moov, e, n, r);
            }
            static mvhd(t, e) {
              return MP4.box(
                MP4.types.mvhd,
                new Uint8Array([
                  0,
                  0,
                  0,
                  0,
                  0,
                  0,
                  0,
                  0,
                  0,
                  0,
                  0,
                  0,
                  (t >>> 24) & 255,
                  (t >>> 16) & 255,
                  (t >>> 8) & 255,
                  255 & t,
                  (e >>> 24) & 255,
                  (e >>> 16) & 255,
                  (e >>> 8) & 255,
                  255 & e,
                  0,
                  1,
                  0,
                  0,
                  1,
                  0,
                  0,
                  0,
                  0,
                  0,
                  0,
                  0,
                  0,
                  0,
                  0,
                  0,
                  0,
                  1,
                  0,
                  0,
                  0,
                  0,
                  0,
                  0,
                  0,
                  0,
                  0,
                  0,
                  0,
                  0,
                  0,
                  0,
                  0,
                  1,
                  0,
                  0,
                  0,
                  0,
                  0,
                  0,
                  0,
                  0,
                  0,
                  0,
                  0,
                  0,
                  0,
                  0,
                  64,
                  0,
                  0,
                  0,
                  0,
                  0,
                  0,
                  0,
                  0,
                  0,
                  0,
                  0,
                  0,
                  0,
                  0,
                  0,
                  0,
                  0,
                  0,
                  0,
                  0,
                  0,
                  0,
                  0,
                  0,
                  0,
                  0,
                  0,
                  255,
                  255,
                  255,
                  255,
                ])
              );
            }
            static trak(t) {
              return MP4.box(MP4.types.trak, MP4.tkhd(t), MP4.mdia(t));
            }
            static tkhd(t) {
              let e = t.id,
                n = t.duration,
                r = t.presentWidth,
                i = t.presentHeight;
              return MP4.box(
                MP4.types.tkhd,
                new Uint8Array([
                  0,
                  0,
                  0,
                  7,
                  0,
                  0,
                  0,
                  0,
                  0,
                  0,
                  0,
                  0,
                  (e >>> 24) & 255,
                  (e >>> 16) & 255,
                  (e >>> 8) & 255,
                  255 & e,
                  0,
                  0,
                  0,
                  0,
                  (n >>> 24) & 255,
                  (n >>> 16) & 255,
                  (n >>> 8) & 255,
                  255 & n,
                  0,
                  0,
                  0,
                  0,
                  0,
                  0,
                  0,
                  0,
                  0,
                  0,
                  0,
                  0,
                  0,
                  0,
                  0,
                  0,
                  0,
                  1,
                  0,
                  0,
                  0,
                  0,
                  0,
                  0,
                  0,
                  0,
                  0,
                  0,
                  0,
                  0,
                  0,
                  0,
                  0,
                  1,
                  0,
                  0,
                  0,
                  0,
                  0,
                  0,
                  0,
                  0,
                  0,
                  0,
                  0,
                  0,
                  0,
                  0,
                  64,
                  0,
                  0,
                  0,
                  (r >>> 8) & 255,
                  255 & r,
                  0,
                  0,
                  (i >>> 8) & 255,
                  255 & i,
                  0,
                  0,
                ])
              );
            }
            static mdia(t) {
              return MP4.box(
                MP4.types.mdia,
                MP4.mdhd(t),
                MP4.hdlr(t),
                MP4.minf(t)
              );
            }
            static mdhd(t) {
              let e = t.timescale,
                n = t.duration;
              return MP4.box(
                MP4.types.mdhd,
                new Uint8Array([
                  0,
                  0,
                  0,
                  0,
                  0,
                  0,
                  0,
                  0,
                  0,
                  0,
                  0,
                  0,
                  (e >>> 24) & 255,
                  (e >>> 16) & 255,
                  (e >>> 8) & 255,
                  255 & e,
                  (n >>> 24) & 255,
                  (n >>> 16) & 255,
                  (n >>> 8) & 255,
                  255 & n,
                  85,
                  196,
                  0,
                  0,
                ])
              );
            }
            static hdlr(t) {
              let e = null;
              return (
                (e =
                  "audio" === t.type
                    ? MP4.constants.HDLR_AUDIO
                    : MP4.constants.HDLR_VIDEO),
                MP4.box(MP4.types.hdlr, e)
              );
            }
            static minf(t) {
              let e = null;
              return (
                (e =
                  "audio" === t.type
                    ? MP4.box(MP4.types.smhd, MP4.constants.SMHD)
                    : MP4.box(MP4.types.vmhd, MP4.constants.VMHD)),
                MP4.box(MP4.types.minf, e, MP4.dinf(), MP4.stbl(t))
              );
            }
            static dinf() {
              return MP4.box(
                MP4.types.dinf,
                MP4.box(MP4.types.dref, MP4.constants.DREF)
              );
            }
            static stbl(t) {
              return MP4.box(
                MP4.types.stbl,
                MP4.stsd(t),
                MP4.box(MP4.types.stts, MP4.constants.STTS),
                MP4.box(MP4.types.stsc, MP4.constants.STSC),
                MP4.box(MP4.types.stsz, MP4.constants.STSZ),
                MP4.box(MP4.types.stco, MP4.constants.STCO)
              );
            }
            static stsd(t) {
              return "audio" === t.type
                ? "mp3" === t.codec
                  ? MP4.box(
                      MP4.types.stsd,
                      MP4.constants.STSD_PREFIX,
                      MP4.mp3(t)
                    )
                  : MP4.box(
                      MP4.types.stsd,
                      MP4.constants.STSD_PREFIX,
                      MP4.mp4a(t)
                    )
                : MP4.box(
                    MP4.types.stsd,
                    MP4.constants.STSD_PREFIX,
                    MP4.avc1(t)
                  );
            }
            static mp3(t) {
              let e = t.channelCount,
                n = t.audioSampleRate,
                r = new Uint8Array([
                  0,
                  0,
                  0,
                  0,
                  0,
                  0,
                  0,
                  1,
                  0,
                  0,
                  0,
                  0,
                  0,
                  0,
                  0,
                  0,
                  0,
                  e,
                  0,
                  16,
                  0,
                  0,
                  0,
                  0,
                  (n >>> 8) & 255,
                  255 & n,
                  0,
                  0,
                ]);
              return MP4.box(MP4.types[".mp3"], r);
            }
            static mp4a(t) {
              let e = t.channelCount,
                n = t.audioSampleRate,
                r = new Uint8Array([
                  0,
                  0,
                  0,
                  0,
                  0,
                  0,
                  0,
                  1,
                  0,
                  0,
                  0,
                  0,
                  0,
                  0,
                  0,
                  0,
                  0,
                  e,
                  0,
                  16,
                  0,
                  0,
                  0,
                  0,
                  (n >>> 8) & 255,
                  255 & n,
                  0,
                  0,
                ]);
              return MP4.box(MP4.types.mp4a, r, MP4.esds(t));
            }
            static esds(t) {
              let e = t.config || [],
                n = e.length,
                r = new Uint8Array(
                  [
                    0,
                    0,
                    0,
                    0,
                    3,
                    23 + n,
                    0,
                    1,
                    0,
                    4,
                    15 + n,
                    64,
                    21,
                    0,
                    0,
                    0,
                    0,
                    0,
                    0,
                    0,
                    0,
                    0,
                    0,
                    0,
                    5,
                  ]
                    .concat([n])
                    .concat(e)
                    .concat([6, 1, 2])
                );
              return MP4.box(MP4.types.esds, r);
            }
            static avc1(t) {
              let e = t.avcc,
                n = t.codecWidth,
                r = t.codecHeight,
                i = new Uint8Array([
                  0,
                  0,
                  0,
                  0,
                  0,
                  0,
                  0,
                  1,
                  0,
                  0,
                  0,
                  0,
                  0,
                  0,
                  0,
                  0,
                  0,
                  0,
                  0,
                  0,
                  0,
                  0,
                  0,
                  0,
                  (n >>> 8) & 255,
                  255 & n,
                  (r >>> 8) & 255,
                  255 & r,
                  0,
                  72,
                  0,
                  0,
                  0,
                  72,
                  0,
                  0,
                  0,
                  0,
                  0,
                  0,
                  0,
                  1,
                  10,
                  120,
                  113,
                  113,
                  47,
                  102,
                  108,
                  118,
                  46,
                  106,
                  115,
                  0,
                  0,
                  0,
                  0,
                  0,
                  0,
                  0,
                  0,
                  0,
                  0,
                  0,
                  0,
                  0,
                  0,
                  0,
                  0,
                  0,
                  0,
                  0,
                  0,
                  0,
                  0,
                  24,
                  255,
                  255,
                ]);
              return MP4.box(MP4.types.avc1, i, MP4.box(MP4.types.avcC, e));
            }
            static mvex(t) {
              return MP4.box(MP4.types.mvex, MP4.trex(t));
            }
            static trex(t) {
              let e = t.id,
                n = new Uint8Array([
                  0,
                  0,
                  0,
                  0,
                  (e >>> 24) & 255,
                  (e >>> 16) & 255,
                  (e >>> 8) & 255,
                  255 & e,
                  0,
                  0,
                  0,
                  1,
                  0,
                  0,
                  0,
                  0,
                  0,
                  0,
                  0,
                  0,
                  0,
                  1,
                  0,
                  1,
                ]);
              return MP4.box(MP4.types.trex, n);
            }
            static moof(t, e) {
              return MP4.box(
                MP4.types.moof,
                MP4.mfhd(t.sequenceNumber),
                MP4.traf(t, e)
              );
            }
            static mfhd(t) {
              let e = new Uint8Array([
                0,
                0,
                0,
                0,
                (t >>> 24) & 255,
                (t >>> 16) & 255,
                (t >>> 8) & 255,
                255 & t,
              ]);
              return MP4.box(MP4.types.mfhd, e);
            }
            static traf(t, e) {
              let n = t.id,
                r = MP4.box(
                  MP4.types.tfhd,
                  new Uint8Array([
                    0,
                    0,
                    0,
                    0,
                    (n >>> 24) & 255,
                    (n >>> 16) & 255,
                    (n >>> 8) & 255,
                    255 & n,
                  ])
                ),
                i = MP4.box(
                  MP4.types.tfdt,
                  new Uint8Array([
                    0,
                    0,
                    0,
                    0,
                    (e >>> 24) & 255,
                    (e >>> 16) & 255,
                    (e >>> 8) & 255,
                    255 & e,
                  ])
                ),
                o = MP4.sdtp(t),
                a = MP4.trun(t, o.byteLength + 16 + 16 + 8 + 16 + 8 + 8);
              return MP4.box(MP4.types.traf, r, i, a, o);
            }
            static sdtp(t) {
              let e = t.samples || [],
                n = e.length,
                r = new Uint8Array(4 + n);
              for (let t = 0; t < n; t++) {
                let n = e[t].flags;
                r[t + 4] =
                  (n.isLeading << 6) |
                  (n.dependsOn << 4) |
                  (n.isDependedOn << 2) |
                  n.hasRedundancy;
              }
              return MP4.box(MP4.types.sdtp, r);
            }
            static trun(t, e) {
              let n = t.samples || [],
                r = n.length,
                i = 12 + 16 * r,
                o = new Uint8Array(i);
              (e += 8 + i),
                o.set(
                  [
                    0,
                    0,
                    15,
                    1,
                    (r >>> 24) & 255,
                    (r >>> 16) & 255,
                    (r >>> 8) & 255,
                    255 & r,
                    (e >>> 24) & 255,
                    (e >>> 16) & 255,
                    (e >>> 8) & 255,
                    255 & e,
                  ],
                  0
                );
              for (let t = 0; t < r; t++) {
                let e = n[t].duration,
                  r = n[t].size,
                  i = n[t].flags,
                  a = n[t].cts;
                o.set(
                  [
                    (e >>> 24) & 255,
                    (e >>> 16) & 255,
                    (e >>> 8) & 255,
                    255 & e,
                    (r >>> 24) & 255,
                    (r >>> 16) & 255,
                    (r >>> 8) & 255,
                    255 & r,
                    (i.isLeading << 2) | i.dependsOn,
                    (i.isDependedOn << 6) |
                      (i.hasRedundancy << 4) |
                      i.isNonSync,
                    0,
                    0,
                    (a >>> 24) & 255,
                    (a >>> 16) & 255,
                    (a >>> 8) & 255,
                    255 & a,
                  ],
                  12 + 16 * t
                );
              }
              return MP4.box(MP4.types.trun, o);
            }
            static mdat(t) {
              return MP4.box(MP4.types.mdat, t);
            }
          }
          MP4.init();
          class AAC {
            static getSilentFrame(t, e) {
              if ("mp4a.40.2" === t) {
                if (1 === e) return new Uint8Array([0, 200, 0, 128, 35, 128]);
                if (2 === e)
                  return new Uint8Array([33, 0, 73, 144, 2, 25, 0, 35, 128]);
                if (3 === e)
                  return new Uint8Array([
                    0, 200, 0, 128, 32, 132, 1, 38, 64, 8, 100, 0, 142,
                  ]);
                if (4 === e)
                  return new Uint8Array([
                    0, 200, 0, 128, 32, 132, 1, 38, 64, 8, 100, 0, 128, 44, 128,
                    8, 2, 56,
                  ]);
                if (5 === e)
                  return new Uint8Array([
                    0, 200, 0, 128, 32, 132, 1, 38, 64, 8, 100, 0, 130, 48, 4,
                    153, 0, 33, 144, 2, 56,
                  ]);
                if (6 === e)
                  return new Uint8Array([
                    0, 200, 0, 128, 32, 132, 1, 38, 64, 8, 100, 0, 130, 48, 4,
                    153, 0, 33, 144, 2, 0, 178, 0, 32, 8, 224,
                  ]);
              } else {
                if (1 === e)
                  return new Uint8Array([
                    1, 64, 34, 128, 163, 78, 230, 128, 186, 8, 0, 0, 0, 28, 6,
                    241, 193, 10, 90, 90, 90, 90, 90, 90, 90, 90, 90, 90, 90,
                    90, 90, 90, 90, 90, 90, 90, 90, 90, 90, 90, 90, 90, 90, 90,
                    90, 90, 90, 90, 90, 90, 90, 90, 90, 90, 90, 90, 90, 90, 94,
                  ]);
                if (2 === e)
                  return new Uint8Array([
                    1, 64, 34, 128, 163, 94, 230, 128, 186, 8, 0, 0, 0, 0, 149,
                    0, 6, 241, 161, 10, 90, 90, 90, 90, 90, 90, 90, 90, 90, 90,
                    90, 90, 90, 90, 90, 90, 90, 90, 90, 90, 90, 90, 90, 90, 90,
                    90, 90, 90, 90, 90, 90, 90, 90, 90, 90, 90, 90, 90, 94,
                  ]);
                if (3 === e)
                  return new Uint8Array([
                    1, 64, 34, 128, 163, 94, 230, 128, 186, 8, 0, 0, 0, 0, 149,
                    0, 6, 241, 161, 10, 90, 90, 90, 90, 90, 90, 90, 90, 90, 90,
                    90, 90, 90, 90, 90, 90, 90, 90, 90, 90, 90, 90, 90, 90, 90,
                    90, 90, 90, 90, 90, 90, 90, 90, 90, 90, 90, 90, 90, 94,
                  ]);
              }
              return null;
            }
          }
          class SampleInfo {
            constructor(t, e, n, r, i) {
              (this.dts = t),
                (this.pts = e),
                (this.duration = n),
                (this.originalDts = r),
                (this.isSyncPoint = i),
                (this.fileposition = null);
            }
          }
          class MediaSegmentInfo {
            constructor() {
              (this.beginDts = 0),
                (this.endDts = 0),
                (this.beginPts = 0),
                (this.endPts = 0),
                (this.originalBeginDts = 0),
                (this.originalEndDts = 0),
                (this.syncPoints = []),
                (this.firstSample = null),
                (this.lastSample = null);
            }
            appendSyncPoint(t) {
              (t.isSyncPoint = !0), this.syncPoints.push(t);
            }
          }
          class IDRSampleList {
            constructor() {
              this._list = [];
            }
            clear() {
              this._list = [];
            }
            appendArray(t) {
              let e = this._list;
              0 !== t.length &&
                (e.length > 0 &&
                  t[0].originalDts < e[e.length - 1].originalDts &&
                  this.clear(),
                Array.prototype.push.apply(e, t));
            }
            getLastSyncPointBeforeDts(t) {
              if (0 == this._list.length) return null;
              let e = this._list,
                n = 0,
                r = e.length - 1,
                i = 0,
                o = 0,
                a = r;
              for (t < e[0].dts && ((n = 0), (o = a + 1)); o <= a; ) {
                if (
                  ((i = o + Math.floor((a - o) / 2)),
                  i === r || (t >= e[i].dts && t < e[i + 1].dts))
                ) {
                  n = i;
                  break;
                }
                e[i].dts < t ? (o = i + 1) : (a = i - 1);
              }
              return this._list[n];
            }
          }
          class MediaSegmentInfoList {
            constructor(t) {
              (this._type = t),
                (this._list = []),
                (this._lastAppendLocation = -1);
            }
            get type() {
              return this._type;
            }
            get length() {
              return this._list.length;
            }
            isEmpty() {
              return 0 === this._list.length;
            }
            clear() {
              (this._list = []), (this._lastAppendLocation = -1);
            }
            _searchNearestSegmentBefore(t) {
              let e = this._list;
              if (0 === e.length) return -2;
              let n = e.length - 1,
                r = 0,
                i = 0,
                o = n,
                a = 0;
              if (t < e[0].originalBeginDts) return (a = -1), a;
              for (; i <= o; ) {
                if (
                  ((r = i + Math.floor((o - i) / 2)),
                  r === n ||
                    (t > e[r].lastSample.originalDts &&
                      t < e[r + 1].originalBeginDts))
                ) {
                  a = r;
                  break;
                }
                e[r].originalBeginDts < t ? (i = r + 1) : (o = r - 1);
              }
              return a;
            }
            _searchNearestSegmentAfter(t) {
              return this._searchNearestSegmentBefore(t) + 1;
            }
            append(t) {
              let e = this._list,
                n = t,
                r = this._lastAppendLocation,
                i = 0;
              -1 !== r &&
              r < e.length &&
              n.originalBeginDts >= e[r].lastSample.originalDts &&
              (r === e.length - 1 ||
                (r < e.length - 1 &&
                  n.originalBeginDts < e[r + 1].originalBeginDts))
                ? (i = r + 1)
                : e.length > 0 &&
                  (i =
                    this._searchNearestSegmentBefore(n.originalBeginDts) + 1),
                (this._lastAppendLocation = i),
                this._list.splice(i, 0, n);
            }
            getLastSegmentBefore(t) {
              let e = this._searchNearestSegmentBefore(t);
              return e >= 0 ? this._list[e] : null;
            }
            getLastSampleBefore(t) {
              let e = this.getLastSegmentBefore(t);
              return null != e ? e.lastSample : null;
            }
            getLastSyncPointBefore(t) {
              let e = this._searchNearestSegmentBefore(t),
                n = this._list[e].syncPoints;
              for (; 0 === n.length && e > 0; )
                e--, (n = this._list[e].syncPoints);
              return n.length > 0 ? n[n.length - 1] : null;
            }
          }
          class MP4Remuxer {
            constructor(t) {
              (this.TAG = "MP4Remuxer"),
                (this._config = t),
                (this._isLive = !0 === t.isLive),
                (this._dtsBase = -1),
                (this._dtsBaseInited = !1),
                (this._audioDtsBase = 1 / 0),
                (this._videoDtsBase = 1 / 0),
                (this._audioNextDts = void 0),
                (this._videoNextDts = void 0),
                (this._audioStashedLastSample = null),
                (this._videoStashedLastSample = null),
                (this._audioMeta = null),
                (this._videoMeta = null),
                (this._audioSegmentInfoList = new MediaSegmentInfoList(
                  "audio"
                )),
                (this._videoSegmentInfoList = new MediaSegmentInfoList(
                  "video"
                )),
                (this._onInitSegment = null),
                (this._onMediaSegment = null),
                (this._forceFirstIDR = !(
                  !Browser.chrome ||
                  !(
                    Browser.version.major < 50 ||
                    (50 === Browser.version.major &&
                      Browser.version.build < 2661)
                  )
                )),
                (this._fillSilentAfterSeek = Browser.msedge || Browser.msie),
                (this._mp3UseMpegAudio = !Browser.firefox),
                (this._fillAudioTimestampGap =
                  this._config.fixAudioTimestampGap);
            }
            destroy() {
              (this._dtsBase = -1),
                (this._dtsBaseInited = !1),
                (this._audioMeta = null),
                (this._videoMeta = null),
                this._audioSegmentInfoList.clear(),
                (this._audioSegmentInfoList = null),
                this._videoSegmentInfoList.clear(),
                (this._videoSegmentInfoList = null),
                (this._onInitSegment = null),
                (this._onMediaSegment = null);
            }
            bindDataSource(t) {
              return (
                (t.onDataAvailable = this.remux.bind(this)),
                (t.onTrackMetadata = this._onTrackMetadataReceived.bind(this)),
                this
              );
            }
            get onInitSegment() {
              return this._onInitSegment;
            }
            set onInitSegment(t) {
              this._onInitSegment = t;
            }
            get onMediaSegment() {
              return this._onMediaSegment;
            }
            set onMediaSegment(t) {
              this._onMediaSegment = t;
            }
            insertDiscontinuity() {
              this._audioNextDts = this._videoNextDts = void 0;
            }
            seek(t) {
              (this._audioStashedLastSample = null),
                (this._videoStashedLastSample = null),
                this._videoSegmentInfoList.clear(),
                this._audioSegmentInfoList.clear();
            }
            remux(t, e) {
              if (!this._onMediaSegment)
                throw new IllegalStateException(
                  "MP4Remuxer: onMediaSegment callback must be specificed!"
                );
              this._dtsBaseInited || this._calculateDtsBase(t, e),
                this._remuxVideo(e),
                this._remuxAudio(t);
            }
            _onTrackMetadataReceived(t, e) {
              let n = null,
                r = "mp4",
                i = e.codec;
              if ("audio" === t)
                (this._audioMeta = e),
                  "mp3" === e.codec && this._mp3UseMpegAudio
                    ? ((r = "mpeg"), (i = ""), (n = new Uint8Array()))
                    : (n = MP4.generateInitSegment(e));
              else {
                if ("video" !== t) return;
                (this._videoMeta = e), (n = MP4.generateInitSegment(e));
              }
              if (!this._onInitSegment)
                throw new IllegalStateException(
                  "MP4Remuxer: onInitSegment callback must be specified!"
                );
              this._onInitSegment(t, {
                type: t,
                data: n.buffer,
                codec: i,
                container: `${t}/${r}`,
                mediaDuration: e.duration,
              });
            }
            _calculateDtsBase(t, e) {
              this._dtsBaseInited ||
                (t.samples &&
                  t.samples.length &&
                  (this._audioDtsBase = t.samples[0].dts),
                e.samples &&
                  e.samples.length &&
                  (this._videoDtsBase = e.samples[0].dts),
                (this._dtsBase = Math.min(
                  this._audioDtsBase,
                  this._videoDtsBase
                )),
                (this._dtsBaseInited = !0));
            }
            flushStashedSamples() {
              let t = this._videoStashedLastSample,
                e = this._audioStashedLastSample,
                n = {
                  type: "video",
                  id: 1,
                  sequenceNumber: 0,
                  samples: [],
                  length: 0,
                };
              null != t && (n.samples.push(t), (n.length = t.length));
              let r = {
                type: "audio",
                id: 2,
                sequenceNumber: 0,
                samples: [],
                length: 0,
              };
              null != e && (r.samples.push(e), (r.length = e.length)),
                (this._videoStashedLastSample = null),
                (this._audioStashedLastSample = null),
                this._remuxVideo(n, !0),
                this._remuxAudio(r, !0);
            }
            _remuxAudio(t, e) {
              if (null == this._audioMeta) return;
              let n,
                r = t,
                i = r.samples,
                o = -1,
                a = -1,
                s = this._audioMeta.refSampleDuration,
                c = "mp3" === this._audioMeta.codec && this._mp3UseMpegAudio,
                l = this._dtsBaseInited && void 0 === this._audioNextDts,
                u = !1;
              if (!i || 0 === i.length || (1 === i.length && !e)) return;
              let f = 0,
                d = null,
                h = 0;
              c ? ((f = 0), (h = r.length)) : ((f = 8), (h = 8 + r.length));
              let p = null;
              if (
                (i.length > 1 && ((p = i.pop()), (h -= p.length)),
                null != this._audioStashedLastSample)
              ) {
                let t = this._audioStashedLastSample;
                (this._audioStashedLastSample = null),
                  i.unshift(t),
                  (h += t.length);
              }
              null != p && (this._audioStashedLastSample = p);
              let m = i[0].dts - this._dtsBase;
              if (this._audioNextDts) n = m - this._audioNextDts;
              else if (this._audioSegmentInfoList.isEmpty())
                (n = 0),
                  this._fillSilentAfterSeek &&
                    !this._videoSegmentInfoList.isEmpty() &&
                    "mp3" !== this._audioMeta.originalCodec &&
                    (u = !0);
              else {
                let t = this._audioSegmentInfoList.getLastSampleBefore(m);
                if (null != t) {
                  let e = m - (t.originalDts + t.duration);
                  e <= 3 && (e = 0), (n = m - (t.dts + t.duration + e));
                } else n = 0;
              }
              if (u) {
                let t = m - n,
                  e = this._videoSegmentInfoList.getLastSegmentBefore(m);
                if (null != e && e.beginDts < t) {
                  let n = AAC.getSilentFrame(
                    this._audioMeta.originalCodec,
                    this._audioMeta.channelCount
                  );
                  if (n) {
                    let r = e.beginDts,
                      o = t - e.beginDts;
                    Log.v(
                      this.TAG,
                      `InsertPrefixSilentAudio: dts: ${r}, duration: ${o}`
                    ),
                      i.unshift({ unit: n, dts: r, pts: r }),
                      (h += n.byteLength);
                  }
                } else u = !1;
              }
              let v = [];
              for (let t = 0; t < i.length; t++) {
                let e = i[t],
                  r = e.unit,
                  a = e.dts - this._dtsBase,
                  c = a,
                  l = !1,
                  u = null,
                  f = 0;
                if (!(a < -0.001)) {
                  if ("mp3" !== this._audioMeta.codec) {
                    let t = a;
                    const e = 3;
                    if (
                      (this._audioNextDts && (t = this._audioNextDts),
                      (n = a - t),
                      n <= -e * s)
                    )
                      Log.w(
                        this.TAG,
                        `Dropping 1 audio frame (originalDts: ${a} ms ,curRefDts: ${t} ms)  due to dtsCorrection: ${n} ms overlap.`
                      );
                    else if (
                      n >= e * s &&
                      this._fillAudioTimestampGap &&
                      !Browser.safari
                    ) {
                      l = !0;
                      let e = Math.floor(n / s);
                      Log.w(
                        this.TAG,
                        `Large audio timestamp gap detected, may cause AV sync to drift. Silent frames will be generated to avoid unsync.\noriginalDts: ${a} ms, curRefDts: ${t} ms, dtsCorrection: ${Math.round(
                          n
                        )} ms, generate: ${e} frames`
                      ),
                        (c = Math.floor(t)),
                        (f = Math.floor(t + s) - c);
                      let i = AAC.getSilentFrame(
                        this._audioMeta.originalCodec,
                        this._audioMeta.channelCount
                      );
                      null == i &&
                        (Log.w(
                          this.TAG,
                          `Unable to generate silent frame for ${this._audioMeta.originalCodec} with ${this._audioMeta.channelCount} channels, repeat last frame`
                        ),
                        (i = r)),
                        (u = []);
                      for (let n = 0; n < e; n++) {
                        t += s;
                        let e = Math.floor(t),
                          n = Math.floor(t + s) - e,
                          r = {
                            dts: e,
                            pts: e,
                            cts: 0,
                            unit: i,
                            size: i.byteLength,
                            duration: n,
                            originalDts: a,
                            flags: {
                              isLeading: 0,
                              dependsOn: 1,
                              isDependedOn: 0,
                              hasRedundancy: 0,
                            },
                          };
                        u.push(r), (h += r.size);
                      }
                      this._audioNextDts = t + s;
                    } else
                      (c = Math.floor(t)),
                        (f = Math.floor(t + s) - c),
                        (this._audioNextDts = t + s);
                  } else
                    (c = a - n),
                      (f =
                        t !== i.length - 1
                          ? i[t + 1].dts - this._dtsBase - n - c
                          : null != p
                          ? p.dts - this._dtsBase - n - c
                          : v.length >= 1
                          ? v[v.length - 1].duration
                          : Math.floor(s)),
                      (this._audioNextDts = c + f);
                  -1 === o && (o = c),
                    v.push({
                      dts: c,
                      pts: c,
                      cts: 0,
                      unit: e.unit,
                      size: e.unit.byteLength,
                      duration: f,
                      originalDts: a,
                      flags: {
                        isLeading: 0,
                        dependsOn: 1,
                        isDependedOn: 0,
                        hasRedundancy: 0,
                      },
                    }),
                    l && v.push.apply(v, u);
                }
              }
              if (0 === v.length) return (r.samples = []), void (r.length = 0);
              c
                ? (d = new Uint8Array(h))
                : ((d = new Uint8Array(h)),
                  (d[0] = (h >>> 24) & 255),
                  (d[1] = (h >>> 16) & 255),
                  (d[2] = (h >>> 8) & 255),
                  (d[3] = 255 & h),
                  d.set(MP4.types.mdat, 4));
              for (let t = 0; t < v.length; t++) {
                let e = v[t].unit;
                d.set(e, f), (f += e.byteLength);
              }
              let g = v[v.length - 1];
              a = g.dts + g.duration;
              let y = new MediaSegmentInfo();
              (y.beginDts = o),
                (y.endDts = a),
                (y.beginPts = o),
                (y.endPts = a),
                (y.originalBeginDts = v[0].originalDts),
                (y.originalEndDts = g.originalDts + g.duration),
                (y.firstSample = new SampleInfo(
                  v[0].dts,
                  v[0].pts,
                  v[0].duration,
                  v[0].originalDts,
                  !1
                )),
                (y.lastSample = new SampleInfo(
                  g.dts,
                  g.pts,
                  g.duration,
                  g.originalDts,
                  !1
                )),
                this._isLive || this._audioSegmentInfoList.append(y),
                (r.samples = v),
                r.sequenceNumber++;
              let b = null;
              (b = c ? new Uint8Array() : MP4.moof(r, o)),
                (r.samples = []),
                (r.length = 0);
              let V = {
                type: "audio",
                data: this._mergeBoxes(b, d).buffer,
                sampleCount: v.length,
                info: y,
              };
              c && l && (V.timestampOffset = o),
                this._onMediaSegment("audio", V);
            }
            _remuxVideo(t, e) {
              if (null == this._videoMeta) return;
              let n,
                r = t,
                i = r.samples,
                o = -1,
                a = -1,
                s = -1,
                c = -1;
              if (!i || 0 === i.length || (1 === i.length && !e)) return;
              let l = 8,
                u = null,
                f = 8 + t.length,
                d = null;
              if (
                (i.length > 1 && ((d = i.pop()), (f -= d.length)),
                null != this._videoStashedLastSample)
              ) {
                let t = this._videoStashedLastSample;
                (this._videoStashedLastSample = null),
                  i.unshift(t),
                  (f += t.length);
              }
              null != d && (this._videoStashedLastSample = d);
              let h = i[0].dts - this._dtsBase;
              if (this._videoNextDts) n = h - this._videoNextDts;
              else if (this._videoSegmentInfoList.isEmpty()) n = 0;
              else {
                let t = this._videoSegmentInfoList.getLastSampleBefore(h);
                if (null != t) {
                  let e = h - (t.originalDts + t.duration);
                  e <= 3 && (e = 0), (n = h - (t.dts + t.duration + e));
                } else n = 0;
              }
              let p = new MediaSegmentInfo(),
                m = [];
              for (let t = 0; t < i.length; t++) {
                let e = i[t],
                  r = e.dts - this._dtsBase,
                  a = e.isKeyframe,
                  c = r - n,
                  l = e.cts,
                  u = c + l;
                -1 === o && ((o = c), (s = u));
                let f = 0;
                if (
                  ((f =
                    t !== i.length - 1
                      ? i[t + 1].dts - this._dtsBase - n - c
                      : null != d
                      ? d.dts - this._dtsBase - n - c
                      : m.length >= 1
                      ? m[m.length - 1].duration
                      : Math.floor(this._videoMeta.refSampleDuration)),
                  a)
                ) {
                  let t = new SampleInfo(c, u, f, e.dts, !0);
                  (t.fileposition = e.fileposition), p.appendSyncPoint(t);
                }
                m.push({
                  dts: c,
                  pts: u,
                  cts: l,
                  units: e.units,
                  size: e.length,
                  isKeyframe: a,
                  duration: f,
                  originalDts: r,
                  flags: {
                    isLeading: 0,
                    dependsOn: a ? 2 : 1,
                    isDependedOn: a ? 1 : 0,
                    hasRedundancy: 0,
                    isNonSync: a ? 0 : 1,
                  },
                });
              }
              (u = new Uint8Array(f)),
                (u[0] = (f >>> 24) & 255),
                (u[1] = (f >>> 16) & 255),
                (u[2] = (f >>> 8) & 255),
                (u[3] = 255 & f),
                u.set(MP4.types.mdat, 4);
              for (let t = 0; t < m.length; t++) {
                let e = m[t].units;
                for (; e.length; ) {
                  let t = e.shift().data;
                  u.set(t, l), (l += t.byteLength);
                }
              }
              let v = m[m.length - 1];
              if (
                ((a = v.dts + v.duration),
                (c = v.pts + v.duration),
                (this._videoNextDts = a),
                (p.beginDts = o),
                (p.endDts = a),
                (p.beginPts = s),
                (p.endPts = c),
                (p.originalBeginDts = m[0].originalDts),
                (p.originalEndDts = v.originalDts + v.duration),
                (p.firstSample = new SampleInfo(
                  m[0].dts,
                  m[0].pts,
                  m[0].duration,
                  m[0].originalDts,
                  m[0].isKeyframe
                )),
                (p.lastSample = new SampleInfo(
                  v.dts,
                  v.pts,
                  v.duration,
                  v.originalDts,
                  v.isKeyframe
                )),
                this._isLive || this._videoSegmentInfoList.append(p),
                (r.samples = m),
                r.sequenceNumber++,
                this._forceFirstIDR)
              ) {
                let t = m[0].flags;
                (t.dependsOn = 2), (t.isNonSync = 0);
              }
              let g = MP4.moof(r, o);
              (r.samples = []),
                (r.length = 0),
                this._onMediaSegment("video", {
                  type: "video",
                  data: this._mergeBoxes(g, u).buffer,
                  sampleCount: m.length,
                  info: p,
                });
            }
            _mergeBoxes(t, e) {
              let n = new Uint8Array(t.byteLength + e.byteLength);
              return n.set(t, 0), n.set(e, t.byteLength), n;
            }
          }
          const TransmuxingEvents = {
            IO_ERROR: "io_error",
            DEMUX_ERROR: "demux_error",
            INIT_SEGMENT: "init_segment",
            MEDIA_SEGMENT: "media_segment",
            LOADING_COMPLETE: "loading_complete",
            RECOVERED_EARLY_EOF: "recovered_early_eof",
            MEDIA_INFO: "media_info",
            METADATA_ARRIVED: "metadata_arrived",
            SCRIPTDATA_ARRIVED: "scriptdata_arrived",
            STATISTICS_INFO: "statistics_info",
            RECOMMEND_SEEKPOINT: "recommend_seekpoint",
          };
          class TransmuxingController {
            constructor(t, e) {
              (this.TAG = "TransmuxingController"),
                (this._emitter = new EventEmitter$1()),
                (this._config = e),
                t.segments ||
                  (t.segments = [
                    { duration: t.duration, filesize: t.filesize, url: t.url },
                  ]),
                "boolean" != typeof t.cors && (t.cors = !0),
                "boolean" != typeof t.withCredentials &&
                  (t.withCredentials = !1),
                (this._mediaDataSource = t),
                (this._currentSegmentIndex = 0);
              let n = 0;
              this._mediaDataSource.segments.forEach((r) => {
                (r.timestampBase = n),
                  (n += r.duration),
                  (r.cors = t.cors),
                  (r.withCredentials = t.withCredentials),
                  e.referrerPolicy && (r.referrerPolicy = e.referrerPolicy);
              }),
                !isNaN(n) &&
                  this._mediaDataSource.duration !== n &&
                  (this._mediaDataSource.duration = n),
                (this._mediaInfo = null),
                (this._demuxer = null),
                (this._remuxer = null),
                (this._ioctl = null),
                (this._pendingSeekTime = null),
                (this._pendingResolveSeekPoint = null),
                (this._statisticsReporter = null);
            }
            destroy() {
              var t, e;
              (this._mediaInfo = null),
                (this._mediaDataSource = null),
                this._statisticsReporter && this._disableStatisticsReporter(),
                this._ioctl && (this._ioctl.destroy(), (this._ioctl = null)),
                this._demuxer &&
                  (null != (t = this._demuxer) &&
                    t.destroy &&
                    this._demuxer.destroy(),
                  (this._demuxer = null)),
                this._remuxer &&
                  (null != (e = this._remuxer) &&
                    e.destroy &&
                    this._remuxer.destroy(),
                  (this._remuxer = null)),
                this._emitter.removeAllListeners(),
                (this._emitter = null);
            }
            on(t, e) {
              this._emitter.addListener(t, e);
            }
            off(t, e) {
              this._emitter.removeListener(t, e);
            }
            start() {
              this._loadSegment(0), this._enableStatisticsReporter();
            }
            _loadSegment(t, e) {
              this._currentSegmentIndex = t;
              let n = this._mediaDataSource.segments[t],
                r = (this._ioctl = new IOController(n, this._config, t));
              (r.onError = this._onIOException.bind(this)),
                (r.onSeeked = this._onIOSeeked.bind(this)),
                (r.onComplete = this._onIOComplete.bind(this)),
                (r.onRedirect = this._onIORedirect.bind(this)),
                (r.onRecoveredEarlyEof =
                  this._onIORecoveredEarlyEof.bind(this)),
                e
                  ? this._demuxer.bindDataSource(this._ioctl)
                  : (r.onDataArrival = this._onInitChunkArrival.bind(this)),
                r.open(e);
            }
            stop() {
              this._internalAbort(), this._disableStatisticsReporter();
            }
            _internalAbort() {
              this._ioctl && (this._ioctl.destroy(), (this._ioctl = null));
            }
            pause() {
              this._ioctl &&
                this._ioctl.isWorking() &&
                (this._ioctl.pause(), this._disableStatisticsReporter());
            }
            resume() {
              this._ioctl &&
                this._ioctl.isPaused() &&
                (this._ioctl.resume(), this._enableStatisticsReporter());
            }
            seek(t) {
              if (null == this._mediaInfo || !this._mediaInfo.isSeekable())
                return;
              let e = this._searchSegmentIndexContains(t);
              if (e === this._currentSegmentIndex) {
                let n = this._mediaInfo.segments[e];
                if (null == n) this._pendingSeekTime = t;
                else {
                  let e = n.getNearestKeyframe(t);
                  this._remuxer.seek(e.milliseconds),
                    this._ioctl.seek(e.fileposition),
                    (this._pendingResolveSeekPoint = e.milliseconds);
                }
              } else {
                let n = this._mediaInfo.segments[e];
                if (null == n)
                  (this._pendingSeekTime = t),
                    this._internalAbort(),
                    this._remuxer.seek(),
                    this._remuxer.insertDiscontinuity(),
                    this._loadSegment(e);
                else {
                  let r = n.getNearestKeyframe(t);
                  this._internalAbort(),
                    this._remuxer.seek(t),
                    this._remuxer.insertDiscontinuity(),
                    this._demuxer.resetMediaInfo(),
                    (this._demuxer.timestampBase =
                      this._mediaDataSource.segments[e].timestampBase),
                    this._loadSegment(e, r.fileposition),
                    (this._pendingResolveSeekPoint = r.milliseconds),
                    this._reportSegmentMediaInfo(e);
                }
              }
              this._enableStatisticsReporter();
            }
            _searchSegmentIndexContains(t) {
              let e = this._mediaDataSource.segments,
                n = e.length - 1;
              for (let r = 0; r < e.length; r++)
                if (t < e[r].timestampBase) {
                  n = r - 1;
                  break;
                }
              return n;
            }
            _onInitChunkArrival(t, e, n = "") {
              let r = null,
                i = 0;
              if (e > 0)
                this._demuxer.bindDataSource(this._ioctl),
                  (this._demuxer.timestampBase =
                    this._mediaDataSource.segments[
                      this._currentSegmentIndex
                    ].timestampBase),
                  (i = this._demuxer.parseChunks(t, e));
              else if ((r = FLVDemuxer.probe(t)).match) {
                console.error(r, "probeData", this._config, "FLVDemuxer"),
                  (this._demuxer = new FLVDemuxer(r, this._config)),
                  this._remuxer ||
                    (this._remuxer = new MP4Remuxer(this._config));
                let o = this._mediaDataSource;
                null != o.duration &&
                  !isNaN(o.duration) &&
                  (this._demuxer.overridedDuration = o.duration),
                  "boolean" == typeof o.hasAudio &&
                    (this._demuxer.overridedHasAudio = o.hasAudio),
                  "boolean" == typeof o.hasVideo &&
                    (this._demuxer.overridedHasVideo = o.hasVideo),
                  (this._demuxer.timestampBase =
                    o.segments[this._currentSegmentIndex].timestampBase),
                  (this._demuxer.onError = this._onDemuxException.bind(this)),
                  (this._demuxer.onMediaInfo = this._onMediaInfo.bind(this)),
                  (this._demuxer.onMetaDataArrived =
                    this._onMetaDataArrived.bind(this)),
                  (this._demuxer.onScriptDataArrived =
                    this._onScriptDataArrived.bind(this)),
                  this._remuxer.bindDataSource(
                    this._demuxer.bindDataSource(this._ioctl)
                  ),
                  (this._remuxer.onInitSegment =
                    this._onRemuxerInitSegmentArrival.bind(this)),
                  (this._remuxer.onMediaSegment =
                    this._onRemuxerMediaSegmentArrival.bind(this)),
                  (i = this._demuxer.parseChunks(t, e, n));
              } else
                (r = null),
                  Log.e(this.TAG, "Non-FLV, Unsupported media type!"),
                  Promise.resolve().then(() => {
                    this._internalAbort();
                  }),
                  this._emitter.emit(
                    TransmuxingEvents.DEMUX_ERROR,
                    DemuxErrors.FORMAT_UNSUPPORTED,
                    "Non-FLV, Unsupported media type"
                  ),
                  (i = 0);
              return i;
            }
            _onMediaInfo(t) {
              console.error(t, "mediaInfo"),
                null == this._mediaInfo &&
                  ((this._mediaInfo = Object.assign({}, t)),
                  (this._mediaInfo.keyframesIndex = null),
                  (this._mediaInfo.segments = []),
                  (this._mediaInfo.segmentCount =
                    this._mediaDataSource.segments.length),
                  Object.setPrototypeOf(this._mediaInfo, MediaInfo.prototype));
              let e = Object.assign({}, t);
              Object.setPrototypeOf(e, MediaInfo.prototype),
                (this._mediaInfo.segments[this._currentSegmentIndex] = e),
                this._reportSegmentMediaInfo(this._currentSegmentIndex),
                null != this._pendingSeekTime &&
                  Promise.resolve().then(() => {
                    let t = this._pendingSeekTime;
                    (this._pendingSeekTime = null), this.seek(t);
                  });
            }
            _onMetaDataArrived(t) {
              console.error(t, "metadata"),
                this._emitter.emit(TransmuxingEvents.METADATA_ARRIVED, t);
            }
            _onScriptDataArrived(t) {
              console.error(t, "data"),
                this._emitter.emit(TransmuxingEvents.SCRIPTDATA_ARRIVED, t);
            }
            _onIOSeeked() {
              this._remuxer.insertDiscontinuity();
            }
            _onIOComplete(t) {
              let e = t + 1;
              e < this._mediaDataSource.segments.length
                ? (this._internalAbort(),
                  this._remuxer && this._remuxer.flushStashedSamples(),
                  this._loadSegment(e))
                : (this._remuxer && this._remuxer.flushStashedSamples(),
                  this._emitter.emit(TransmuxingEvents.LOADING_COMPLETE),
                  this._disableStatisticsReporter());
            }
            _onIORedirect(t) {
              let e = this._ioctl.extraData;
              this._mediaDataSource.segments[e].redirectedURL = t;
            }
            _onIORecoveredEarlyEof() {
              this._emitter.emit(TransmuxingEvents.RECOVERED_EARLY_EOF);
            }
            _onIOException(t, e) {
              Log.e(
                this.TAG,
                `IOException: type = ${t}, code = ${e.code}, msg = ${e.msg}`
              ),
                this._emitter.emit(TransmuxingEvents.IO_ERROR, t, e),
                this._disableStatisticsReporter();
            }
            _onDemuxException(t, e) {
              Log.e(this.TAG, `DemuxException: type = ${t}, info = ${e}`),
                this._emitter.emit(TransmuxingEvents.DEMUX_ERROR, t, e);
            }
            _onRemuxerInitSegmentArrival(t, e) {
              this._emitter.emit(TransmuxingEvents.INIT_SEGMENT, t, e);
            }
            _onRemuxerMediaSegmentArrival(t, e) {
              if (
                null == this._pendingSeekTime &&
                (this._emitter.emit(TransmuxingEvents.MEDIA_SEGMENT, t, e),
                null != this._pendingResolveSeekPoint && "video" === t)
              ) {
                let t = e.info.syncPoints,
                  n = this._pendingResolveSeekPoint;
                (this._pendingResolveSeekPoint = null),
                  Browser.safari &&
                    t.length > 0 &&
                    t[0].originalDts === n &&
                    (n = t[0].pts),
                  this._emitter.emit(TransmuxingEvents.RECOMMEND_SEEKPOINT, n);
              }
            }
            _enableStatisticsReporter() {
              null == this._statisticsReporter &&
                (this._statisticsReporter = self.setInterval(
                  this._reportStatisticsInfo.bind(this),
                  this._config.statisticsInfoReportInterval
                ));
            }
            _disableStatisticsReporter() {
              this._statisticsReporter &&
                (self.clearInterval(this._statisticsReporter),
                (this._statisticsReporter = null));
            }
            _reportSegmentMediaInfo(t) {
              let e = this._mediaInfo.segments[t],
                n = Object.assign({}, e);
              (n.duration = this._mediaInfo.duration),
                (n.segmentCount = this._mediaInfo.segmentCount),
                delete n.segments,
                delete n.keyframesIndex,
                this._emitter.emit(TransmuxingEvents.MEDIA_INFO, n);
            }
            _reportStatisticsInfo() {}
          }
          class Transmuxer {
            constructor(t, e) {
              if (
                ((this.TAG = "Transmuxer"),
                (this._emitter = new EventEmitter$1()),
                (this._controller = new TransmuxingController(t, e)),
                this._controller)
              ) {
                let t = this._controller;
                t.on(TransmuxingEvents.IO_ERROR, this._onIOError.bind(this)),
                  t.on(
                    TransmuxingEvents.DEMUX_ERROR,
                    this._onDemuxError.bind(this)
                  ),
                  t.on(
                    TransmuxingEvents.INIT_SEGMENT,
                    this._onInitSegment.bind(this)
                  ),
                  t.on(
                    TransmuxingEvents.MEDIA_SEGMENT,
                    this._onMediaSegment.bind(this)
                  ),
                  t.on(
                    TransmuxingEvents.LOADING_COMPLETE,
                    this._onLoadingComplete.bind(this)
                  ),
                  t.on(
                    TransmuxingEvents.RECOVERED_EARLY_EOF,
                    this._onRecoveredEarlyEof.bind(this)
                  ),
                  t.on(
                    TransmuxingEvents.MEDIA_INFO,
                    this._onMediaInfo.bind(this)
                  ),
                  t.on(
                    TransmuxingEvents.METADATA_ARRIVED,
                    this._onMetaDataArrived.bind(this)
                  ),
                  t.on(
                    TransmuxingEvents.SCRIPTDATA_ARRIVED,
                    this._onScriptDataArrived.bind(this)
                  ),
                  t.on(
                    TransmuxingEvents.STATISTICS_INFO,
                    this._onStatisticsInfo.bind(this)
                  ),
                  t.on(
                    TransmuxingEvents.RECOMMEND_SEEKPOINT,
                    this._onRecommendSeekpoint.bind(this)
                  );
              }
            }
            destroy() {
              var t;
              this._worker
                ? this._workerDestroying ||
                  ((this._workerDestroying = !0),
                  this._worker.postMessage({ cmd: "destroy" }),
                  LoggingControl.removeListener(this.e.onLoggingConfigChanged),
                  (this.e = null))
                : (null == (t = this._controller) || t.destroy(),
                  (this._controller = null)),
                this._emitter.removeAllListeners(),
                (this._emitter = null);
            }
            on(t, e) {
              this._emitter.addListener(t, e);
            }
            off(t, e) {
              this._emitter.removeListener(t, e);
            }
            hasWorker() {
              return null != this._worker;
            }
            open() {
              this._worker
                ? this._worker.postMessage({ cmd: "start" })
                : this._controller.start();
            }
            close() {
              this._worker
                ? this._worker.postMessage({ cmd: "stop" })
                : this._controller.stop();
            }
            seek(t) {
              this._worker
                ? this._worker.postMessage({ cmd: "seek", param: t })
                : this._controller.seek(t);
            }
            pause() {
              this._worker
                ? this._worker.postMessage({ cmd: "pause" })
                : this._controller.pause();
            }
            resume() {
              this._worker
                ? this._worker.postMessage({ cmd: "resume" })
                : this._controller.resume();
            }
            _onInitSegment(t, e) {
              Promise.resolve().then(() => {
                this._emitter.emit(TransmuxingEvents.INIT_SEGMENT, t, e);
              });
            }
            _onMediaSegment(t, e) {
              Promise.resolve().then(() => {
                this._emitter.emit(TransmuxingEvents.MEDIA_SEGMENT, t, e);
              });
            }
            _onLoadingComplete() {
              Promise.resolve().then(() => {
                this._emitter.emit(TransmuxingEvents.LOADING_COMPLETE);
              });
            }
            _onRecoveredEarlyEof() {
              Promise.resolve().then(() => {
                this._emitter.emit(TransmuxingEvents.RECOVERED_EARLY_EOF);
              });
            }
            _onMediaInfo(t) {
              Promise.resolve().then(() => {
                this._emitter.emit(TransmuxingEvents.MEDIA_INFO, t);
              });
            }
            _onMetaDataArrived(t) {
              Promise.resolve().then(() => {
                this._emitter.emit(TransmuxingEvents.METADATA_ARRIVED, t);
              });
            }
            _onScriptDataArrived(t) {
              Promise.resolve().then(() => {
                this._emitter.emit(TransmuxingEvents.SCRIPTDATA_ARRIVED, t);
              });
            }
            _onStatisticsInfo(t) {
              Promise.resolve().then(() => {
                this._emitter.emit(TransmuxingEvents.STATISTICS_INFO, t);
              });
            }
            _onIOError(t, e) {
              Promise.resolve().then(() => {
                this._emitter.emit(TransmuxingEvents.IO_ERROR, t, e);
              });
            }
            _onDemuxError(t, e) {
              Promise.resolve().then(() => {
                this._emitter.emit(TransmuxingEvents.DEMUX_ERROR, t, e);
              });
            }
            _onRecommendSeekpoint(t) {
              Promise.resolve().then(() => {
                this._emitter.emit(TransmuxingEvents.RECOMMEND_SEEKPOINT, t);
              });
            }
            _onLoggingConfigChanged(t) {
              this._worker &&
                this._worker.postMessage({ cmd: "logging_config", param: t });
            }
            _onWorkerMessage(t) {
              let e = t.data,
                n = e.data;
              if ("destroyed" === e.msg || this._workerDestroying)
                return (
                  (this._workerDestroying = !1),
                  this._worker.terminate(),
                  void (this._worker = null)
                );
              switch (e.msg) {
                case TransmuxingEvents.INIT_SEGMENT:
                case TransmuxingEvents.MEDIA_SEGMENT:
                  this._emitter.emit(e.msg, n.type, n.data);
                  break;
                case TransmuxingEvents.LOADING_COMPLETE:
                case TransmuxingEvents.RECOVERED_EARLY_EOF:
                  this._emitter.emit(e.msg);
                  break;
                case TransmuxingEvents.MEDIA_INFO:
                  Object.setPrototypeOf(n, MediaInfo.prototype),
                    this._emitter.emit(e.msg, n);
                  break;
                case TransmuxingEvents.METADATA_ARRIVED:
                case TransmuxingEvents.SCRIPTDATA_ARRIVED:
                case TransmuxingEvents.STATISTICS_INFO:
                  this._emitter.emit(e.msg, n);
                  break;
                case TransmuxingEvents.IO_ERROR:
                case TransmuxingEvents.DEMUX_ERROR:
                  this._emitter.emit(e.msg, n.type, n.info);
                  break;
                case TransmuxingEvents.RECOMMEND_SEEKPOINT:
                  this._emitter.emit(e.msg, n);
                  break;
                case "logcat_callback":
                  Log.emitter.emit("log", n.type, n.logcat);
              }
            }
          }
          const MSEEvents = {
            ERROR: "error",
            SOURCE_OPEN: "source_open",
            UPDATE_END: "update_end",
            BUFFER_FULL: "buffer_full",
          };
          class MSEController {
            constructor(t) {
              (this.TAG = "MSEController"),
                (this._config = t),
                (this._emitter = new EventEmitter$1()),
                this._config.isLive &&
                  null == this._config.autoCleanupSourceBuffer &&
                  (this._config.autoCleanupSourceBuffer = !0),
                (this.e = {
                  onSourceOpen: this._onSourceOpen.bind(this),
                  onSourceEnded: this._onSourceEnded.bind(this),
                  onSourceClose: this._onSourceClose.bind(this),
                  onSourceBufferError: this._onSourceBufferError.bind(this),
                  onSourceBufferUpdateEnd:
                    this._onSourceBufferUpdateEnd.bind(this),
                }),
                (this._mediaSource = null),
                (this._mediaSourceObjectURL = null),
                (this._mediaElement = null),
                (this._isBufferFull = !1),
                (this._hasPendingEos = !1),
                (this._requireSetMediaDuration = !1),
                (this._pendingMediaDuration = 0),
                (this._pendingSourceBufferInit = []),
                (this._mimeTypes = { video: null, audio: null }),
                (this._sourceBuffers = { video: null, audio: null }),
                (this._lastInitSegments = { video: null, audio: null }),
                (this._pendingSegments = { video: [], audio: [] }),
                (this._pendingRemoveRanges = { video: [], audio: [] }),
                (this._idrList = new IDRSampleList());
            }
            destroy() {
              (this._mediaElement || this._mediaSource) &&
                this.detachMediaElement(),
                (this.e = null),
                this._emitter.removeAllListeners(),
                (this._emitter = null);
            }
            on(t, e) {
              this._emitter.addListener(t, e);
            }
            off(t, e) {
              this._emitter.removeListener(t, e);
            }
            attachMediaElement(t) {
              if (this._mediaSource)
                throw new IllegalStateException(
                  "MediaSource has been attached to an HTMLMediaElement!"
                );
              let e = (this._mediaSource = new window.MediaSource());
              e.addEventListener("sourceopen", this.e.onSourceOpen),
                e.addEventListener("sourceended", this.e.onSourceEnded),
                e.addEventListener("sourceclose", this.e.onSourceClose),
                (this._mediaElement = t),
                (this._mediaSourceObjectURL = window.URL.createObjectURL(
                  this._mediaSource
                )),
                (t.src = this._mediaSourceObjectURL);
            }
            detachMediaElement() {
              if (this._mediaSource) {
                let t = this._mediaSource;
                for (let e in this._sourceBuffers) {
                  let n = this._pendingSegments[e];
                  n.splice(0, n.length),
                    (this._pendingSegments[e] = null),
                    (this._pendingRemoveRanges[e] = null),
                    (this._lastInitSegments[e] = null);
                  let r = this._sourceBuffers[e];
                  if (r) {
                    if ("closed" !== t.readyState) {
                      try {
                        t.removeSourceBuffer(r);
                      } catch (t) {
                        Log.e(this.TAG, t.message);
                      }
                      r.removeEventListener(
                        "error",
                        this.e.onSourceBufferError
                      ),
                        r.removeEventListener(
                          "updateend",
                          this.e.onSourceBufferUpdateEnd
                        );
                    }
                    (this._mimeTypes[e] = null),
                      (this._sourceBuffers[e] = null);
                  }
                }
                if ("open" === t.readyState)
                  try {
                    t.endOfStream();
                  } catch (t) {
                    Log.e(this.TAG, t.message);
                  }
                t.removeEventListener("sourceopen", this.e.onSourceOpen),
                  t.removeEventListener("sourceended", this.e.onSourceEnded),
                  t.removeEventListener("sourceclose", this.e.onSourceClose),
                  (this._pendingSourceBufferInit = []),
                  (this._isBufferFull = !1),
                  this._idrList.clear(),
                  (this._mediaSource = null);
              }
              this._mediaElement &&
                ((this._mediaElement.src = ""),
                this._mediaElement.removeAttribute("src"),
                (this._mediaElement = null)),
                this._mediaSourceObjectURL &&
                  (window.URL.revokeObjectURL(this._mediaSourceObjectURL),
                  (this._mediaSourceObjectURL = null));
            }
            appendInitSegment(t, e) {
              if (!this._mediaSource || "open" !== this._mediaSource.readyState)
                return (
                  this._pendingSourceBufferInit.push(t),
                  void this._pendingSegments[t.type].push(t)
                );
              let n = t,
                r = `${n.container}`;
              n.codec && n.codec.length > 0 && (r += `;codecs=${n.codec}`);
              let i = !1;
              if (
                (Log.v(
                  this.TAG,
                  "Received Initialization Segment, mimeType: " + r
                ),
                (this._lastInitSegments[n.type] = n),
                r !== this._mimeTypes[n.type])
              ) {
                if (this._mimeTypes[n.type])
                  Log.v(
                    this.TAG,
                    `Notice: ${n.type} mimeType changed, origin: ${
                      this._mimeTypes[n.type]
                    }, target: ${r}`
                  );
                else {
                  i = !0;
                  try {
                    let t = (this._sourceBuffers[n.type] =
                      this._mediaSource.addSourceBuffer(r));
                    t.addEventListener("error", this.e.onSourceBufferError),
                      t.addEventListener(
                        "updateend",
                        this.e.onSourceBufferUpdateEnd
                      );
                  } catch (t) {
                    return (
                      Log.e(this.TAG, t.message),
                      void this._emitter.emit(MSEEvents.ERROR, {
                        code: t.code,
                        msg: t.message,
                      })
                    );
                  }
                }
                this._mimeTypes[n.type] = r;
              }
              e || this._pendingSegments[n.type].push(n),
                i ||
                  (this._sourceBuffers[n.type] &&
                    !this._sourceBuffers[n.type].updating &&
                    this._doAppendSegments()),
                Browser.safari &&
                  "audio/mpeg" === n.container &&
                  n.mediaDuration > 0 &&
                  ((this._requireSetMediaDuration = !0),
                  (this._pendingMediaDuration = n.mediaDuration / 1e3),
                  this._updateMediaSourceDuration());
            }
            appendMediaSegment(t) {
              let e = t;
              this._pendingSegments[e.type].push(e),
                this._config.autoCleanupSourceBuffer &&
                  this._needCleanupSourceBuffer() &&
                  this._doCleanupSourceBuffer();
              let n = this._sourceBuffers[e.type];
              n &&
                !n.updating &&
                !this._hasPendingRemoveRanges() &&
                this._doAppendSegments();
            }
            seek(t) {
              for (let t in this._sourceBuffers) {
                if (!this._sourceBuffers[t]) continue;
                let e = this._sourceBuffers[t];
                if ("open" === this._mediaSource.readyState)
                  try {
                    e.abort();
                  } catch (t) {
                    Log.e(this.TAG, t.message);
                  }
                this._idrList.clear();
                let n = this._pendingSegments[t];
                if (
                  (n.splice(0, n.length),
                  "closed" !== this._mediaSource.readyState)
                ) {
                  for (let n = 0; n < e.buffered.length; n++) {
                    let r = e.buffered.start(n),
                      i = e.buffered.end(n);
                    this._pendingRemoveRanges[t].push({ start: r, end: i });
                  }
                  if ((e.updating || this._doRemoveRanges(), Browser.safari)) {
                    let n = this._lastInitSegments[t];
                    n &&
                      (this._pendingSegments[t].push(n),
                      e.updating || this._doAppendSegments());
                  }
                }
              }
            }
            endOfStream() {
              let t = this._mediaSource,
                e = this._sourceBuffers;
              t && "open" === t.readyState
                ? (e.video && e.video.updating) || (e.audio && e.audio.updating)
                  ? (this._hasPendingEos = !0)
                  : ((this._hasPendingEos = !1), t.endOfStream())
                : t &&
                  "closed" === t.readyState &&
                  this._hasPendingSegments() &&
                  (this._hasPendingEos = !0);
            }
            getNearestKeyframe(t) {
              return this._idrList.getLastSyncPointBeforeDts(t);
            }
            _needCleanupSourceBuffer() {
              if (!this._config.autoCleanupSourceBuffer) return !1;
              let t = this._mediaElement.currentTime;
              for (let e in this._sourceBuffers) {
                let n = this._sourceBuffers[e];
                if (n) {
                  let e = n.buffered;
                  if (
                    e.length >= 1 &&
                    t - e.start(0) >=
                      this._config.autoCleanupMaxBackwardDuration
                  )
                    return !0;
                }
              }
              return !1;
            }
            _doCleanupSourceBuffer() {
              let t = this._mediaElement.currentTime;
              for (let e in this._sourceBuffers) {
                let n = this._sourceBuffers[e];
                if (n) {
                  let r = n.buffered,
                    i = !1;
                  for (let n = 0; n < r.length; n++) {
                    let o = r.start(n),
                      a = r.end(n);
                    if (o <= t && t < a + 3) {
                      if (
                        t - o >=
                        this._config.autoCleanupMaxBackwardDuration
                      ) {
                        i = !0;
                        let n = t - this._config.autoCleanupMinBackwardDuration;
                        this._pendingRemoveRanges[e].push({ start: o, end: n });
                      }
                    } else
                      a < t &&
                        ((i = !0),
                        this._pendingRemoveRanges[e].push({
                          start: o,
                          end: a,
                        }));
                  }
                  i && !n.updating && this._doRemoveRanges();
                }
              }
            }
            _updateMediaSourceDuration() {
              let t = this._sourceBuffers;
              if (
                0 === this._mediaElement.readyState ||
                "open" !== this._mediaSource.readyState ||
                (t.video && t.video.updating) ||
                (t.audio && t.audio.updating)
              )
                return;
              let e = this._mediaSource.duration,
                n = this._pendingMediaDuration;
              n > 0 &&
                (isNaN(e) || n > e) &&
                (Log.v(
                  this.TAG,
                  `Update MediaSource duration from ${e} to ${n}`
                ),
                (this._mediaSource.duration = n)),
                (this._requireSetMediaDuration = !1),
                (this._pendingMediaDuration = 0);
            }
            _doRemoveRanges() {
              for (let t in this._pendingRemoveRanges) {
                if (!this._sourceBuffers[t] || this._sourceBuffers[t].updating)
                  continue;
                let e = this._sourceBuffers[t],
                  n = this._pendingRemoveRanges[t];
                for (; n.length && !e.updating; ) {
                  let t = n.shift();
                  e.remove(t.start, t.end);
                }
              }
            }
            _doAppendSegments() {
              let t = this._pendingSegments;
              for (let e in t)
                if (
                  this._sourceBuffers[e] &&
                  !this._sourceBuffers[e].updating &&
                  t[e].length > 0
                ) {
                  let n = t[e].shift();
                  if (n.timestampOffset) {
                    let t = this._sourceBuffers[e].timestampOffset,
                      r = n.timestampOffset / 1e3;
                    Math.abs(t - r) > 0.1 &&
                      (Log.v(
                        this.TAG,
                        `Update MPEG audio timestampOffset from ${t} to ${r}`
                      ),
                      (this._sourceBuffers[e].timestampOffset = r)),
                      delete n.timestampOffset;
                  }
                  if (!n.data || 0 === n.data.byteLength) continue;
                  try {
                    this._sourceBuffers[e].appendBuffer(n.data),
                      (this._isBufferFull = !1),
                      "video" === e &&
                        n.hasOwnProperty("info") &&
                        this._idrList.appendArray(n.info.syncPoints);
                  } catch (t) {
                    this._pendingSegments[e].unshift(n),
                      22 === t.code
                        ? (this._isBufferFull ||
                            this._emitter.emit(MSEEvents.BUFFER_FULL),
                          (this._isBufferFull = !0))
                        : (Log.e(this.TAG, t.message),
                          this._emitter.emit(MSEEvents.ERROR, {
                            code: t.code,
                            msg: t.message,
                          }));
                  }
                }
            }
            _onSourceOpen() {
              if (
                (Log.v(this.TAG, "MediaSource onSourceOpen"),
                this._mediaSource.removeEventListener(
                  "sourceopen",
                  this.e.onSourceOpen
                ),
                this._pendingSourceBufferInit.length > 0)
              ) {
                let t = this._pendingSourceBufferInit;
                for (; t.length; ) {
                  let e = t.shift();
                  this.appendInitSegment(e, !0);
                }
              }
              this._hasPendingSegments() && this._doAppendSegments(),
                this._emitter.emit(MSEEvents.SOURCE_OPEN);
            }
            _onSourceEnded() {
              Log.v(this.TAG, "MediaSource onSourceEnded");
            }
            _onSourceClose() {
              Log.v(this.TAG, "MediaSource onSourceClose"),
                this._mediaSource &&
                  null != this.e &&
                  (this._mediaSource.removeEventListener(
                    "sourceopen",
                    this.e.onSourceOpen
                  ),
                  this._mediaSource.removeEventListener(
                    "sourceended",
                    this.e.onSourceEnded
                  ),
                  this._mediaSource.removeEventListener(
                    "sourceclose",
                    this.e.onSourceClose
                  ));
            }
            _hasPendingSegments() {
              let t = this._pendingSegments;
              return t.video.length > 0 || t.audio.length > 0;
            }
            _hasPendingRemoveRanges() {
              let t = this._pendingRemoveRanges;
              return t.video.length > 0 || t.audio.length > 0;
            }
            _onSourceBufferUpdateEnd() {
              this._requireSetMediaDuration
                ? this._updateMediaSourceDuration()
                : this._hasPendingRemoveRanges()
                ? this._doRemoveRanges()
                : this._hasPendingSegments()
                ? this._doAppendSegments()
                : this._hasPendingEos && this.endOfStream(),
                this._emitter.emit(MSEEvents.UPDATE_END);
            }
            _onSourceBufferError(t) {
              Log.e(this.TAG, `SourceBuffer Error: ${t}`);
            }
          }
          const ErrorTypes = {
              NETWORK_ERROR: "NetworkError",
              MEDIA_ERROR: "MediaError",
              OTHER_ERROR: "OtherError",
            },
            ErrorDetails = {
              NETWORK_EXCEPTION: LoaderErrors.EXCEPTION,
              NETWORK_STATUS_CODE_INVALID:
                LoaderErrors.HTTP_STATUS_CODE_INVALID,
              NETWORK_TIMEOUT: LoaderErrors.CONNECTING_TIMEOUT,
              NETWORK_UNRECOVERABLE_EARLY_EOF:
                LoaderErrors.UNRECOVERABLE_EARLY_EOF,
              MEDIA_MSE_ERROR: "MediaMSEError",
              MEDIA_FORMAT_ERROR: DemuxErrors.FORMAT_ERROR,
              MEDIA_FORMAT_UNSUPPORTED: DemuxErrors.FORMAT_UNSUPPORTED,
              MEDIA_CODEC_UNSUPPORTED: DemuxErrors.CODEC_UNSUPPORTED,
            };
          class FlvPlayer {
            constructor(t, e) {
              if (
                ((this.TAG = "FlvPlayer"),
                (this._type = "FlvPlayer"),
                (this._emitter = new EventEmitter$1()),
                (this._config = createDefaultConfig()),
                "object" == typeof e && Object.assign(this._config, e),
                "flv" !== t.type.toLowerCase())
              )
                throw new InvalidArgumentException(
                  "FlvPlayer requires an flv MediaDataSource input!"
                );
              !0 === t.isLive && (this._config.isLive = !0),
                (this.e = {
                  onvLoadedMetadata: this._onvLoadedMetadata.bind(this),
                  onvSeeking: this._onvSeeking.bind(this),
                  onvCanPlay: this._onvCanPlay.bind(this),
                  onvStalled: this._onvStalled.bind(this),
                  onvProgress: this._onvProgress.bind(this),
                }),
                self.performance && self.performance.now
                  ? (this._now = self.performance.now.bind(self.performance))
                  : (this._now = Date.now),
                (this._pendingSeekTime = null),
                (this._requestSetTime = !1),
                (this._seekpointRecord = null),
                (this._progressChecker = null),
                (this._mediaDataSource = t),
                (this._mediaElement = null),
                (this._msectl = null),
                (this._transmuxer = null),
                (this._mseSourceOpened = !1),
                (this._hasPendingLoad = !1),
                (this._receivedCanPlay = !1),
                (this._mediaInfo = null),
                (this._statisticsInfo = null);
              let n =
                Browser.chrome &&
                (Browser.version.major < 50 ||
                  (50 === Browser.version.major &&
                    Browser.version.build < 2661));
              (this._alwaysSeekKeyframe = !!(
                n ||
                Browser.msedge ||
                Browser.msie
              )),
                this._alwaysSeekKeyframe && (this._config.accurateSeek = !1);
            }
            destroy() {
              null != this._progressChecker &&
                (window.clearInterval(this._progressChecker),
                (this._progressChecker = null)),
                this._transmuxer && this.unload(),
                this._mediaElement && this.detachMediaElement(),
                (this.e = null),
                (this._mediaDataSource = null),
                this._emitter.removeAllListeners(),
                (this._emitter = null);
            }
            on(t, e) {
              t === PlayerEvents.MEDIA_INFO
                ? null != this._mediaInfo &&
                  Promise.resolve().then(() => {
                    this._emitter.emit(PlayerEvents.MEDIA_INFO, this.mediaInfo);
                  })
                : t === PlayerEvents.STATISTICS_INFO &&
                  null != this._statisticsInfo &&
                  Promise.resolve().then(() => {
                    this._emitter.emit(
                      PlayerEvents.STATISTICS_INFO,
                      this.statisticsInfo
                    );
                  }),
                this._emitter.addListener(t, e);
            }
            off(t, e) {
              this._emitter.removeListener(t, e);
            }
            attachMediaElement(t) {
              if (
                ((this._mediaElement = t),
                t.addEventListener("loadedmetadata", this.e.onvLoadedMetadata),
                t.addEventListener("seeking", this.e.onvSeeking),
                t.addEventListener("canplay", this.e.onvCanPlay),
                t.addEventListener("stalled", this.e.onvStalled),
                t.addEventListener("progress", this.e.onvProgress),
                (this._msectl = new MSEController(this._config)),
                this._msectl.on(
                  MSEEvents.UPDATE_END,
                  this._onmseUpdateEnd.bind(this)
                ),
                this._msectl.on(
                  MSEEvents.BUFFER_FULL,
                  this._onmseBufferFull.bind(this)
                ),
                this._msectl.on(MSEEvents.SOURCE_OPEN, () => {
                  (this._mseSourceOpened = !0),
                    this._hasPendingLoad &&
                      ((this._hasPendingLoad = !1), this.load());
                }),
                this._msectl.on(MSEEvents.ERROR, (t) => {
                  this._emitter.emit(
                    PlayerEvents.ERROR,
                    ErrorTypes.MEDIA_ERROR,
                    ErrorDetails.MEDIA_MSE_ERROR,
                    t
                  );
                }),
                this._msectl.attachMediaElement(t),
                null != this._pendingSeekTime)
              )
                try {
                  (t.currentTime = this._pendingSeekTime),
                    (this._pendingSeekTime = null);
                } catch {}
            }
            detachMediaElement() {
              this._mediaElement &&
                (this._msectl.detachMediaElement(),
                this._mediaElement.removeEventListener(
                  "loadedmetadata",
                  this.e.onvLoadedMetadata
                ),
                this._mediaElement.removeEventListener(
                  "seeking",
                  this.e.onvSeeking
                ),
                this._mediaElement.removeEventListener(
                  "canplay",
                  this.e.onvCanPlay
                ),
                this._mediaElement.removeEventListener(
                  "stalled",
                  this.e.onvStalled
                ),
                this._mediaElement.removeEventListener(
                  "progress",
                  this.e.onvProgress
                ),
                (this._mediaElement = null)),
                this._msectl && (this._msectl.destroy(), (this._msectl = null));
            }
            load() {
              if (!this._mediaElement)
                throw new IllegalStateException(
                  "HTMLMediaElement must be attached before load()!"
                );
              if (this._transmuxer)
                throw new IllegalStateException(
                  "FlvPlayer.load() has been called, please call unload() first!"
                );
              if (this._hasPendingLoad) return;
              if (
                this._config.deferLoadAfterSourceOpen &&
                !1 === this._mseSourceOpened
              )
                return void (this._hasPendingLoad = !0);
              this._mediaElement.readyState > 0 &&
                ((this._requestSetTime = !0),
                (this._mediaElement.currentTime = 0)),
                (this._transmuxer = new Transmuxer(
                  this._mediaDataSource,
                  this._config
                )),
                this._transmuxer.on(TransmuxingEvents.INIT_SEGMENT, (t, e) => {
                  this._msectl.appendInitSegment(e);
                }),
                this._transmuxer.on(TransmuxingEvents.MEDIA_SEGMENT, (t, e) => {
                  if (
                    (this._msectl.appendMediaSegment(e),
                    this._config.lazyLoad && !this._config.isLive)
                  ) {
                    let t = this._mediaElement.currentTime;
                    e.info.endDts >=
                      1e3 * (t + this._config.lazyLoadMaxDuration) &&
                      null == this._progressChecker &&
                      (Log.v(
                        this.TAG,
                        "Maximum buffering duration exceeded, suspend transmuxing task"
                      ),
                      this._suspendTransmuxer());
                  }
                }),
                this._transmuxer.on(TransmuxingEvents.LOADING_COMPLETE, () => {
                  this._msectl.endOfStream(),
                    this._emitter.emit(PlayerEvents.LOADING_COMPLETE);
                }),
                this._transmuxer.on(
                  TransmuxingEvents.RECOVERED_EARLY_EOF,
                  () => {
                    this._emitter.emit(PlayerEvents.RECOVERED_EARLY_EOF);
                  }
                ),
                this._transmuxer.on(TransmuxingEvents.IO_ERROR, (t, e) => {
                  this._emitter.emit(
                    PlayerEvents.ERROR,
                    ErrorTypes.NETWORK_ERROR,
                    t,
                    e
                  );
                }),
                this._transmuxer.on(TransmuxingEvents.DEMUX_ERROR, (t, e) => {
                  this._emitter.emit(
                    PlayerEvents.ERROR,
                    ErrorTypes.MEDIA_ERROR,
                    t,
                    { code: -1, msg: e }
                  );
                }),
                this._transmuxer.on(TransmuxingEvents.MEDIA_INFO, (t) => {
                  (this._mediaInfo = t),
                    this._emitter.emit(
                      PlayerEvents.MEDIA_INFO,
                      Object.assign({}, t)
                    );
                }),
                this._transmuxer.on(TransmuxingEvents.METADATA_ARRIVED, (t) => {
                  this._emitter.emit(PlayerEvents.METADATA_ARRIVED, t);
                }),
                this._transmuxer.on(
                  TransmuxingEvents.SCRIPTDATA_ARRIVED,
                  (t) => {
                    this._emitter.emit(PlayerEvents.SCRIPTDATA_ARRIVED, t);
                  }
                ),
                this._transmuxer.on(TransmuxingEvents.STATISTICS_INFO, (t) => {
                  (this._statisticsInfo = this._fillStatisticsInfo(t)),
                    this._emitter.emit(
                      PlayerEvents.STATISTICS_INFO,
                      Object.assign({}, this._statisticsInfo)
                    );
                }),
                this._transmuxer.on(
                  TransmuxingEvents.RECOMMEND_SEEKPOINT,
                  (t) => {
                    this._mediaElement &&
                      !this._config.accurateSeek &&
                      ((this._requestSetTime = !0),
                      (this._mediaElement.currentTime = t / 1e3));
                  }
                ),
                this._transmuxer.open();
              let t = this._transmuxer._controller,
                e = t._ioctl._loader;
              var n = e._onComplete;
              e._onComplete = function () {
                t._remuxer ||
                  (t._remuxer = {
                    flushStashedSamples: function () {
                      console.log("flushStashedSamples");
                    },
                  }),
                  n();
              };
            }
            unload() {
              this._mediaElement && this._mediaElement.pause(),
                this._msectl && this._msectl.seek(0),
                this._transmuxer &&
                  (this._transmuxer.close(),
                  this._transmuxer.destroy(),
                  (this._transmuxer = null));
            }
            play() {
              return this._mediaElement.play();
            }
            pause() {
              this._mediaElement.pause();
            }
            get type() {
              return this._type;
            }
            get buffered() {
              return this._mediaElement.buffered;
            }
            get duration() {
              return this._mediaElement.duration;
            }
            get volume() {
              return this._mediaElement.volume;
            }
            set volume(t) {
              this._mediaElement.volume = t;
            }
            get muted() {
              return this._mediaElement.muted;
            }
            set muted(t) {
              this._mediaElement.muted = t;
            }
            get currentTime() {
              return this._mediaElement ? this._mediaElement.currentTime : 0;
            }
            set currentTime(t) {
              this._mediaElement
                ? this._internalSeek(t)
                : (this._pendingSeekTime = t);
            }
            get mediaInfo() {
              return Object.assign({}, this._mediaInfo);
            }
            get statisticsInfo() {
              return (
                null == this._statisticsInfo && (this._statisticsInfo = {}),
                (this._statisticsInfo = this._fillStatisticsInfo(
                  this._statisticsInfo
                )),
                Object.assign({}, this._statisticsInfo)
              );
            }
            _fillStatisticsInfo(t) {
              if (
                ((t.playerType = this._type),
                !(this._mediaElement instanceof HTMLVideoElement))
              )
                return t;
              let e = !0,
                n = 0,
                r = 0;
              if (this._mediaElement.getVideoPlaybackQuality) {
                let t = this._mediaElement.getVideoPlaybackQuality();
                (n = t.totalVideoFrames), (r = t.droppedVideoFrames);
              } else
                null != this._mediaElement.webkitDecodedFrameCount
                  ? ((n = this._mediaElement.webkitDecodedFrameCount),
                    (r = this._mediaElement.webkitDroppedFrameCount))
                  : (e = !1);
              return e && ((t.decodedFrames = n), (t.droppedFrames = r)), t;
            }
            _onmseUpdateEnd() {
              if (!this._config.lazyLoad || this._config.isLive) return;
              let t = this._mediaElement.buffered,
                e = this._mediaElement.currentTime,
                n = 0;
              for (let r = 0; r < t.length; r++) {
                let i = t.start(r),
                  o = t.end(r);
                if (i <= e && e < o) {
                  n = o;
                  break;
                }
              }
              n >= e + this._config.lazyLoadMaxDuration &&
                null == this._progressChecker &&
                (Log.v(
                  this.TAG,
                  "Maximum buffering duration exceeded, suspend transmuxing task"
                ),
                this._suspendTransmuxer());
            }
            _onmseBufferFull() {
              Log.v(
                this.TAG,
                "MSE SourceBuffer is full, suspend transmuxing task"
              ),
                null == this._progressChecker && this._suspendTransmuxer();
            }
            _suspendTransmuxer() {
              this._transmuxer &&
                (this._transmuxer.pause(),
                null == this._progressChecker &&
                  (this._progressChecker = window.setInterval(
                    this._checkProgressAndResume.bind(this),
                    1e3
                  )));
            }
            _checkProgressAndResume() {
              let t = this._mediaElement.currentTime,
                e = this._mediaElement.buffered,
                n = !1;
              for (let r = 0; r < e.length; r++) {
                let i = e.start(r),
                  o = e.end(r);
                if (t >= i && t < o) {
                  t >= o - this._config.lazyLoadRecoverDuration && (n = !0);
                  break;
                }
              }
              n &&
                (window.clearInterval(this._progressChecker),
                (this._progressChecker = null),
                n &&
                  (Log.v(this.TAG, "Continue loading from paused position"),
                  this._transmuxer.resume()));
            }
            _isTimepointBuffered(t) {
              let e = this._mediaElement.buffered;
              for (let n = 0; n < e.length; n++) {
                let r = e.start(n),
                  i = e.end(n);
                if (t >= r && t < i) return !0;
              }
              return !1;
            }
            _internalSeek(t) {
              let e = this._isTimepointBuffered(t),
                n = !1,
                r = 0;
              if (t < 1 && this._mediaElement.buffered.length > 0) {
                let e = this._mediaElement.buffered.start(0);
                ((e < 1 && t < e) || Browser.safari) &&
                  ((n = !0), (r = Browser.safari ? 0.1 : e));
              }
              if (n)
                (this._requestSetTime = !0),
                  (this._mediaElement.currentTime = r);
              else if (e) {
                if (this._alwaysSeekKeyframe) {
                  let e = this._msectl.getNearestKeyframe(Math.floor(1e3 * t));
                  (this._requestSetTime = !0),
                    (this._mediaElement.currentTime =
                      null != e ? e.dts / 1e3 : t);
                } else
                  (this._requestSetTime = !0),
                    (this._mediaElement.currentTime = t);
                null != this._progressChecker && this._checkProgressAndResume();
              } else
                null != this._progressChecker &&
                  (window.clearInterval(this._progressChecker),
                  (this._progressChecker = null)),
                  this._msectl.seek(t),
                  this._transmuxer.seek(Math.floor(1e3 * t)),
                  this._config.accurateSeek &&
                    ((this._requestSetTime = !0),
                    (this._mediaElement.currentTime = t));
            }
            _checkAndApplyUnbufferedSeekpoint() {
              if (this._seekpointRecord)
                if (this._seekpointRecord.recordTime <= this._now() - 100) {
                  let t = this._mediaElement.currentTime;
                  (this._seekpointRecord = null),
                    this._isTimepointBuffered(t) ||
                      (null != this._progressChecker &&
                        (window.clearTimeout(this._progressChecker),
                        (this._progressChecker = null)),
                      this._msectl.seek(t),
                      this._transmuxer.seek(Math.floor(1e3 * t)),
                      this._config.accurateSeek &&
                        ((this._requestSetTime = !0),
                        (this._mediaElement.currentTime = t)));
                } else
                  window.setTimeout(
                    this._checkAndApplyUnbufferedSeekpoint.bind(this),
                    50
                  );
            }
            _checkAndResumeStuckPlayback(t) {
              let e = this._mediaElement;
              if (t || !this._receivedCanPlay || e.readyState < 2) {
                let t = e.buffered;
                t.length > 0 &&
                  e.currentTime < t.start(0) &&
                  (Log.w(
                    this.TAG,
                    `Playback seems stuck at ${
                      e.currentTime
                    }, seek to ${t.start(0)}`
                  ),
                  (this._requestSetTime = !0),
                  (this._mediaElement.currentTime = t.start(0)),
                  this._mediaElement.removeEventListener(
                    "progress",
                    this.e.onvProgress
                  ));
              } else
                this._mediaElement.removeEventListener(
                  "progress",
                  this.e.onvProgress
                );
            }
            _onvLoadedMetadata(t) {
              null != this._pendingSeekTime &&
                ((this._mediaElement.currentTime = this._pendingSeekTime),
                (this._pendingSeekTime = null));
            }
            _onvSeeking(t) {
              let e = this._mediaElement.currentTime,
                n = this._mediaElement.buffered;
              if (this._requestSetTime) this._requestSetTime = !1;
              else {
                if (e < 1 && n.length > 0) {
                  let t = n.start(0);
                  if ((t < 1 && e < t) || Browser.safari)
                    return (
                      (this._requestSetTime = !0),
                      void (this._mediaElement.currentTime = Browser.safari
                        ? 0.1
                        : t)
                    );
                }
                if (this._isTimepointBuffered(e)) {
                  if (this._alwaysSeekKeyframe) {
                    let t = this._msectl.getNearestKeyframe(
                      Math.floor(1e3 * e)
                    );
                    null != t &&
                      ((this._requestSetTime = !0),
                      (this._mediaElement.currentTime = t.dts / 1e3));
                  }
                  null != this._progressChecker &&
                    this._checkProgressAndResume();
                } else
                  (this._seekpointRecord = {
                    seekPoint: e,
                    recordTime: this._now(),
                  }),
                    window.setTimeout(
                      this._checkAndApplyUnbufferedSeekpoint.bind(this),
                      50
                    );
              }
            }
            _onvCanPlay(t) {
              (this._receivedCanPlay = !0),
                this._mediaElement.removeEventListener(
                  "canplay",
                  this.e.onvCanPlay
                );
            }
            _onvStalled(t) {
              this._checkAndResumeStuckPlayback(!0);
            }
            _onvProgress(t) {
              this._checkAndResumeStuckPlayback();
            }
            flush(t) {
              this._msectl.seek(0),
                window.clearInterval(this._progressChecker),
                this._internalSeek(0),
                (this._mediaElement.currentTime = 0),
                (this._requestSetTime = !0),
                (this._pendingSeekTime = null),
                this._transmuxer._controller._remuxer.seek(0),
                this._transmuxer._controller._remuxer.insertDiscontinuity();
            }
          }
          class NativePlayer {
            constructor(t, e) {
              if (
                ((this.TAG = "NativePlayer"),
                (this._type = "NativePlayer"),
                (this._emitter = new EventEmitter$1()),
                (this._config = createDefaultConfig()),
                "object" == typeof e && Object.assign(this._config, e),
                "flv" === t.type.toLowerCase())
              )
                throw new InvalidArgumentException(
                  "NativePlayer does't support flv MediaDataSource input!"
                );
              if (t.hasOwnProperty("segments"))
                throw new InvalidArgumentException(
                  `NativePlayer(${t.type}) doesn't support multipart playback!`
                );
              (this.e = {
                onvLoadedMetadata: this._onvLoadedMetadata.bind(this),
              }),
                (this._pendingSeekTime = null),
                (this._statisticsReporter = null),
                (this._mediaDataSource = t),
                (this._mediaElement = null);
            }
            destroy() {
              this._mediaElement && (this.unload(), this.detachMediaElement()),
                (this.e = null),
                (this._mediaDataSource = null),
                this._emitter.removeAllListeners(),
                (this._emitter = null);
            }
            on(t, e) {
              t === PlayerEvents.MEDIA_INFO
                ? null != this._mediaElement &&
                  0 !== this._mediaElement.readyState &&
                  Promise.resolve().then(() => {
                    this._emitter.emit(PlayerEvents.MEDIA_INFO, this.mediaInfo);
                  })
                : t === PlayerEvents.STATISTICS_INFO &&
                  null != this._mediaElement &&
                  0 !== this._mediaElement.readyState &&
                  Promise.resolve().then(() => {
                    this._emitter.emit(
                      PlayerEvents.STATISTICS_INFO,
                      this.statisticsInfo
                    );
                  }),
                this._emitter.addListener(t, e);
            }
            off(t, e) {
              this._emitter.removeListener(t, e);
            }
            attachMediaElement(t) {
              if (
                ((this._mediaElement = t),
                t.addEventListener("loadedmetadata", this.e.onvLoadedMetadata),
                null != this._pendingSeekTime)
              )
                try {
                  (t.currentTime = this._pendingSeekTime),
                    (this._pendingSeekTime = null);
                } catch {}
            }
            detachMediaElement() {
              this._mediaElement &&
                ((this._mediaElement.src = ""),
                this._mediaElement.removeAttribute("src"),
                this._mediaElement.removeEventListener(
                  "loadedmetadata",
                  this.e.onvLoadedMetadata
                ),
                (this._mediaElement = null)),
                null != this._statisticsReporter &&
                  (window.clearInterval(this._statisticsReporter),
                  (this._statisticsReporter = null));
            }
            load() {
              if (!this._mediaElement)
                throw new IllegalStateException(
                  "HTMLMediaElement must be attached before load()!"
                );
              (this._mediaElement.src = this._mediaDataSource.url),
                this._mediaElement.readyState > 0 &&
                  (this._mediaElement.currentTime = 0),
                (this._mediaElement.preload = "auto"),
                this._mediaElement.load(),
                (this._statisticsReporter = window.setInterval(
                  this._reportStatisticsInfo.bind(this),
                  this._config.statisticsInfoReportInterval
                ));
            }
            unload() {
              this._mediaElement &&
                ((this._mediaElement.src = ""),
                this._mediaElement.removeAttribute("src")),
                null != this._statisticsReporter &&
                  (window.clearInterval(this._statisticsReporter),
                  (this._statisticsReporter = null));
            }
            play() {
              return this._mediaElement.play();
            }
            pause() {
              this._mediaElement.pause();
            }
            get type() {
              return this._type;
            }
            get buffered() {
              return this._mediaElement.buffered;
            }
            get duration() {
              return this._mediaElement.duration;
            }
            get volume() {
              return this._mediaElement.volume;
            }
            set volume(t) {
              this._mediaElement.volume = t;
            }
            get muted() {
              return this._mediaElement.muted;
            }
            set muted(t) {
              this._mediaElement.muted = t;
            }
            get currentTime() {
              return this._mediaElement ? this._mediaElement.currentTime : 0;
            }
            set currentTime(t) {
              this._mediaElement
                ? (this._mediaElement.currentTime = t)
                : (this._pendingSeekTime = t);
            }
            get mediaInfo() {
              let t = {
                mimeType:
                  (this._mediaElement instanceof HTMLAudioElement
                    ? "audio/"
                    : "video/") + this._mediaDataSource.type,
              };
              return (
                this._mediaElement &&
                  ((t.duration = Math.floor(1e3 * this._mediaElement.duration)),
                  this._mediaElement instanceof HTMLVideoElement &&
                    ((t.width = this._mediaElement.videoWidth),
                    (t.height = this._mediaElement.videoHeight))),
                t
              );
            }
            get statisticsInfo() {
              let t = {
                playerType: this._type,
                url: this._mediaDataSource.url,
              };
              if (!(this._mediaElement instanceof HTMLVideoElement)) return t;
              let e = !0,
                n = 0,
                r = 0;
              if (this._mediaElement.getVideoPlaybackQuality) {
                let t = this._mediaElement.getVideoPlaybackQuality();
                (n = t.totalVideoFrames), (r = t.droppedVideoFrames);
              } else
                null != this._mediaElement.webkitDecodedFrameCount
                  ? ((n = this._mediaElement.webkitDecodedFrameCount),
                    (r = this._mediaElement.webkitDroppedFrameCount))
                  : (e = !1);
              return e && ((t.decodedFrames = n), (t.droppedFrames = r)), t;
            }
            _onvLoadedMetadata(t) {
              null != this._pendingSeekTime &&
                ((this._mediaElement.currentTime = this._pendingSeekTime),
                (this._pendingSeekTime = null)),
                this._emitter.emit(PlayerEvents.MEDIA_INFO, this.mediaInfo);
            }
            _reportStatisticsInfo() {
              this._emitter.emit(
                PlayerEvents.STATISTICS_INFO,
                this.statisticsInfo
              );
            }
          }
          function createPlayer(t, e) {
            let n = t;
            if (null == n || "object" != typeof n)
              throw new InvalidArgumentException(
                "MediaDataSource must be an javascript object!"
              );
            if (!n.hasOwnProperty("type"))
              throw new InvalidArgumentException(
                "MediaDataSource must has type field to indicate video file type!"
              );
            return "flv" === n.type
              ? new FlvPlayer(n, e)
              : new NativePlayer(n, e);
          }
          function isSupported() {
            return Features.supportMSEH264Playback();
          }
          function getFeatureList() {
            return Features.getFeatureList();
          }
          Polyfill.install();
          let flvjs = {};
          (flvjs.createPlayer = createPlayer),
            (flvjs.isSupported = isSupported),
            (flvjs.getFeatureList = getFeatureList),
            (flvjs.BaseLoader = BaseLoader),
            (flvjs.LoaderStatus = LoaderStatus),
            (flvjs.LoaderErrors = LoaderErrors),
            (flvjs.Events = PlayerEvents),
            (flvjs.ErrorTypes = ErrorTypes),
            (flvjs.ErrorDetails = ErrorDetails),
            (flvjs.FlvPlayer = FlvPlayer),
            (flvjs.NativePlayer = NativePlayer),
            (flvjs.LoggingControl = LoggingControl),
            (console.error = () => {}),
            Object.defineProperty(flvjs, "version", {
              enumerable: !0,
              get: function () {
                return __VERSION__;
              },
            });
          class Resampler {
            constructor(t, e, n, r) {
              if (!t || !e || !n)
                throw new Error(
                  "Invalid settings specified for the resampler."
                );
              (this.resampler = null),
                (this.fromSampleRate = t),
                (this.toSampleRate = e),
                (this.channels = n || 0),
                (this.inputBufferSize = r),
                this.initialize();
            }
            initialize() {
              this.fromSampleRate == this.toSampleRate
                ? ((this.resampler = (t) => t), (this.ratioWeight = 1))
                : (this.fromSampleRate < this.toSampleRate
                    ? (this.linearInterpolation(), (this.lastWeight = 1))
                    : (this.multiTap(),
                      (this.tailExists = !1),
                      (this.lastWeight = 0)),
                  this.initializeBuffers(),
                  (this.ratioWeight = this.fromSampleRate / this.toSampleRate));
            }
            bufferSlice(t) {
              try {
                return this.outputBuffer.subarray(0, t);
              } catch {
                try {
                  return (this.outputBuffer.length = t), this.outputBuffer;
                } catch {
                  return this.outputBuffer.slice(0, t);
                }
              }
            }
            initializeBuffers() {
              this.outputBufferSize =
                Math.ceil(
                  ((this.inputBufferSize * this.toSampleRate) /
                    this.fromSampleRate /
                    this.channels) *
                    1.0000004768371582
                ) +
                this.channels +
                this.channels;
              try {
                (this.outputBuffer = new Float32Array(this.outputBufferSize)),
                  (this.lastOutput = new Float32Array(this.channels));
              } catch {
                (this.outputBuffer = []), (this.lastOutput = []);
              }
            }
            linearInterpolation() {
              this.resampler = (t) => {
                let e = t.length;
                const n = this.channels;
                let r, i, o, a, s, c;
                if (e % n != 0)
                  throw new Error("Buffer was of incorrect sample length.");
                if (e <= 0) return [];
                const l = this.outputBufferSize,
                  u = this.ratioWeight;
                (r = this.lastWeight), (i = 0), (o = 0), (a = 0), (s = 0);
                const f = this.outputBuffer;
                for (; r < 1; r += u)
                  for (
                    o = r % 1, i = 1 - o, this.lastWeight = r % 1, c = 0;
                    c < this.channels;
                    ++c
                  )
                    f[s++] = this.lastOutput[c] * i + t[c] * o;
                for (r -= 1, e -= n, a = Math.floor(r) * n; s < l && a < e; ) {
                  for (o = r % 1, i = 1 - o, c = 0; c < this.channels; ++c)
                    f[s++] = t[a + (c > 0 ? c : 0)] * i + t[a + (n + c)] * o;
                  (r += u), (a = Math.floor(r) * n);
                }
                for (c = 0; c < n; ++c) this.lastOutput[c] = t[a++];
                return this.bufferSlice(s);
              };
            }
            multiTap() {
              this.resampler = (t) => {
                const e = t.length,
                  n = this.channels;
                let r, i, o, a, s, c, l;
                if (e % n != 0)
                  throw new Error("Buffer was of incorrect sample length.");
                if (e <= 0) return [];
                const u = this.outputBufferSize,
                  f = [],
                  d = this.ratioWeight;
                (r = 0),
                  (o = 0),
                  (a = 0),
                  (s = !this.tailExists),
                  (this.tailExists = !1);
                const h = this.outputBuffer;
                for (c = 0, l = 0, i = 0; i < n; ++i) f[i] = 0;
                do {
                  if (s) for (r = d, i = 0; i < n; ++i) f[i] = 0;
                  else {
                    for (r = this.lastWeight, i = 0; i < n; ++i)
                      f[i] = this.lastOutput[i];
                    s = !0;
                  }
                  for (; r > 0 && o < e; ) {
                    if (((a = 1 + o - l), !(r >= a))) {
                      for (i = 0; i < n; ++i)
                        f[i] += t[o + (i > 0 ? i : 0)] * r;
                      (l += r), (r = 0);
                      break;
                    }
                    for (i = 0; i < n; ++i) f[i] += t[o++] * a;
                    (l = o), (r -= a);
                  }
                  if (0 !== r) {
                    for (this.lastWeight = r, i = 0; i < n; ++i)
                      this.lastOutput[i] = f[i];
                    this.tailExists = !0;
                    break;
                  }
                  for (i = 0; i < n; ++i) h[c++] = f[i] / d;
                } while (o < e && c < u);
                return this.bufferSlice(c);
              };
            }
            resample(t) {
              return (
                this.fromSampleRate == this.toSampleRate
                  ? (this.ratioWeight = 1)
                  : (this.fromSampleRate < this.toSampleRate
                      ? (this.lastWeight = 1)
                      : ((this.tailExists = !1), (this.lastWeight = 0)),
                    this.initializeBuffers(),
                    (this.ratioWeight =
                      this.fromSampleRate / this.toSampleRate)),
                this.resampler(t)
              );
            }
          }
          window.URL = window.URL || window.webkitURL;
          const navigator$1 = window.navigator;
          navigator$1.mediaDevices &&
            (navigator$1.mediaDevices.getUserMedia =
              navigator$1.mediaDevices.getUserMedia ||
              navigator$1.webkitGetUserMedia ||
              navigator$1.mozGetUserMedia ||
              navigator$1.msGetUserMedia);
          class HZRecorderReal {
            constructor(t, e) {
              let n;
              (this.config = e || {}),
                (this.config.sampleBits = 16),
                (this.config.sampleRate = 16e3),
                (this.config.channelCount = 1);
              const r = new (window.webkitAudioContext ||
                  window.AudioContext)(),
                i = r.createMediaStreamSource(t),
                o = (r.createScriptProcessor || r.createJavaScriptNode).apply(
                  r,
                  [4096, 1, 1]
                ),
                a = {
                  size: 0,
                  buffer: [],
                  sampleRate: r.sampleRate,
                  input: function (t) {
                    this.buffer.push(new Float32Array(t)),
                      (this.size += t.length);
                  },
                  resample: function (t, e = 16e3) {
                    return new Resampler(
                      this.sampleRate,
                      e,
                      1,
                      t.length
                    ).resample(t);
                  },
                  resampleAndEncodeWAV: function (
                    t = 16e3,
                    e = 16,
                    n = 0,
                    r = -1
                  ) {
                    let i = this.buffer
                      .map((e) => this.resample(e, t))
                      .reduce((t, e) => [...t, ...e], []);
                    const o = t * n;
                    let a = i.length;
                    r >= 0 && (a = t * r), (i = i.slice(o, a));
                    const s = i.length * (e / 8),
                      c = new ArrayBuffer(44 + s),
                      l = new DataView(c);
                    let u = 0;
                    const f = function (t) {
                      for (let e = 0; e < t.length; e++)
                        l.setUint8(u + e, t.charCodeAt(e));
                    };
                    if (
                      (f("RIFF"),
                      (u += 4),
                      l.setUint32(u, 36 + s, !0),
                      (u += 4),
                      f("WAVE"),
                      (u += 4),
                      f("fmt "),
                      (u += 4),
                      l.setUint32(u, 16, !0),
                      (u += 4),
                      l.setUint16(u, 1, !0),
                      (u += 2),
                      l.setUint16(u, 1, !0),
                      (u += 2),
                      l.setUint32(u, t, !0),
                      (u += 4),
                      l.setUint32(u, 1 * t * (e / 8), !0),
                      (u += 4),
                      l.setUint16(u, (e / 8) * 1, !0),
                      (u += 2),
                      l.setUint16(u, e, !0),
                      (u += 2),
                      f("data"),
                      (u += 4),
                      l.setUint32(u, s, !0),
                      (u += 4),
                      8 === e)
                    )
                      for (let t = 0; t < i.length; t++, u++) {
                        const e = Math.max(-1, Math.min(1, i[t]));
                        let n = e < 0 ? 32768 * e : 32767 * e;
                        (n = 255 / (65535 / (n + 32768))), l.setInt8(u, n);
                      }
                    else
                      for (let t = 0; t < i.length; t++, u += 2) {
                        const e = Math.max(-1, Math.min(1, i[t]));
                        l.setInt16(u, e < 0 ? 32768 * e : 32767 * e, !0);
                      }
                    return new Blob([l], { type: "audio/wav" });
                  },
                  quantize: function (t, e = 16) {
                    const n = t.length * (e / 8),
                      r = new DataView(new ArrayBuffer(n));
                    let i = 0;
                    if (8 === e)
                      for (let e = 0; e < t.length; e++, i++) {
                        const n = Math.max(-1, Math.min(1, t[e]));
                        let o = n < 0 ? 32768 * n : 32767 * n;
                        (o = 255 / (65535 / (o + 32768))), r.setInt8(i, o);
                      }
                    else
                      for (let e = 0; e < t.length; e++, i += 2) {
                        const n = Math.max(-1, Math.min(1, t[e]));
                        r.setInt16(i, n < 0 ? 32768 * n : 32767 * n, !0);
                      }
                    return r;
                  },
                };
              (this.wavePattern = () => {
                const t = r.createAnalyser();
                (t.fftSize = 1024),
                  i.connect(t),
                  (function n() {
                    const r = t.fftSize,
                      i = new Uint8Array(r / 2);
                    t.getByteFrequencyData(i),
                      null == e || e.wavePattern(i),
                      requestAnimationFrame(n);
                  })();
              }),
                null != e && e.wavePattern && this.wavePattern(),
                (this.start = function () {
                  (n = !0), i.connect(o), o.connect(r.destination);
                }),
                (this.pause = function () {
                  (n = !1), o.disconnect(), r.suspend();
                }),
                (this.resume = function () {
                  (n = !0), r.resume(), i.connect(o), o.connect(r.destination);
                }),
                (this.stop = function () {
                  (n = !1),
                    o.disconnect(),
                    r.close(),
                    null == t || t.getTracks().forEach((t) => t.stop()),
                    console.log("stop");
                }),
                (this.getTrimBlob = function (t = 0, e = -1) {
                  return (
                    this.stop(),
                    console.log("getTrimBlob"),
                    a.resampleAndEncodeWAV(16e3, 16, t, e)
                  );
                }),
                (this.getBlob = function () {
                  return this.stop(), a.resampleAndEncodeWAV();
                }),
                (this.upload = function (t) {
                  new window.FormData().append("file", this.getBlob());
                }),
                (this.play = function () {
                  const t = document.querySelector("audio");
                  t && (t.src = window.URL.createObjectURL(this.getBlob()));
                }),
                (this.asrCallback = function (t) {
                  console.log(t);
                }),
                (o.onaudioprocess = function (t) {
                  if (!n) return;
                  const r = t.inputBuffer.getChannelData(0),
                    i = a.resample(r),
                    o = a.quantize(i, 16);
                  e.blobSend(o.buffer);
                });
            }
          }
          function jsRecorder(t, e, n) {
            var r;
            return {
              recStart: function () {
                HZRecorderReal.prototype.get(
                  (t) => {
                    console.log("send-success"),
                      null == (r = t) || r.start(),
                      e();
                  },
                  {
                    blobSend: (e) => {
                      t(e);
                    },
                    openErr: n,
                  }
                );
              },
              recStop: function () {
                null == r || r.stop();
              },
              recRecord: function () {
                null == r || r.stop(),
                  setTimeout(() => {
                    null == r || r.start();
                  }, 40);
              },
            };
          }
          (HZRecorderReal.prototype.throwError = function (t) {
            throw (console.log(t), Error(t));
          }),
            (HZRecorderReal.prototype.canRecording =
              null !=
              (null == (lt = navigator$1.mediaDevices)
                ? void 0
                : lt.getUserMedia)),
            (HZRecorderReal.prototype.get = function (t, e) {
              if (t) {
                if (
                  !navigator$1.mediaDevices ||
                  !navigator$1.mediaDevices.getUserMedia
                )
                  return void HZRecorderReal.prototype.throwError(
                    "当前浏览器不支持录音功能。"
                  );
                navigator$1.mediaDevices
                  .getUserMedia({
                    audio: {
                      echoCancellation: !0,
                      noiseSuppression: !0,
                      autoGainControl: !0,
                    },
                  })
                  .then((n) => {
                    const r = new HZRecorderReal(n, e);
                    t(r);
                  })
                  .catch((t) => {
                    switch ((e.openErr && e.openErr(), t.code || t.name)) {
                      case "PERMISSION_DENIED":
                      case "PermissionDeniedError":
                        HZRecorderReal.prototype.throwError(
                          "用户拒绝提供信息。"
                        );
                        break;
                      case "NOT_SUstreamBlobPPORTED_ERROR":
                      case "NotSupportedError":
                        HZRecorderReal.prototype.throwError(
                          "浏览器不支持硬件设备。"
                        );
                        break;
                      case "MANDATORY_UNSATISFIED_ERROR":
                      case "MandatoryUnsatisfiedError":
                        HZRecorderReal.prototype.throwError(
                          "无法发现指定的硬件设备。"
                        );
                        break;
                      default:
                        HZRecorderReal.prototype.throwError(
                          "无法打开麦克风。异常信息:" + t
                        );
                    }
                  });
              }
            });
          const micro$1 = (t, e) => {
            if (navigator.mediaDevices && navigator.mediaDevices.getUserMedia) {
              let {
                recStart: n,
                recStop: r,
                recRecord: i,
              } = jsRecorder(
                function (e) {
                  t(e);
                },
                () => {
                  e({ type: "1", val: "获取麦克权限成功" });
                },
                () => {
                  e({ type: "0", val: "获取麦克权限失败" });
                }
              );
              return { recStart: n, recStop: r, recRecord: i };
            }
            e({ type: "0", val: "环境不支持！" });
          };
          function asrWs(t) {
            let e = null;
            const {
              recStart: n,
              recStop: r,
              recRecord: i,
            } = micro$1(
              function (t) {
                try {
                  if (e && 1 == (null == e ? void 0 : e.readyState)) {
                    let n = new ArrayBuffer(t.byteLength + 3),
                      r = new Uint8Array(n),
                      i = new Uint8Array(t);
                    r.set(new Uint8Array([65, 83, 82]), 0),
                      r.set(i, 3),
                      e.send(r);
                  }
                } catch (t) {
                  console.log(t);
                }
              },
              function (e) {
                t(e);
              }
            ) || {};
            return {
              asrDestroy: () => {
                r && r(), (e = null);
              },
              asrWsAppoint: (t) => {
                e = t;
              },
              asrStart: () => {
                n && n();
              },
            };
          }
          const slientVideoLength = (t, e) => {
              let n = null;
              function r() {
                t &&
                  (t.buffered.length > 0 && t.buffered.end(0) > 0.6
                    ? e()
                    : (n = setTimeout(r, 100)));
              }
              return {
                start: function () {
                  n && clearTimeout(n), r();
                },
                end: function () {
                  n && clearTimeout(n), (n = null);
                },
              };
            },
            environment$1 = () => {
              const { userAgent: t } = navigator;
              let e,
                n =
                  t.match(
                    /(opera|chrome|safari|firefox|msie|trident(?=\/))\/?\s*(\d+)/i
                  ) || [];
              if (/trident/i.test(n[1]))
                return (
                  (e = /\brv[ :]+(\d+)/g.exec(t) || []), `IE ${e[1] || ""}`
                );
              if ("Chrome" === n[1]) {
                if (((e = t.match(/\b(OPR|Edge)\/(\d+)/)), null !== e))
                  return e.slice(1).join(" ").replace("OPR", "Opera");
                if (((e = t.match(/\b(Edg)\/(\d+)/)), null !== e))
                  return e.slice(1).join(" ").replace("Edg", "Edge (Chromium)");
              }
              return (
                (n = n[2]
                  ? [n[1], n[2]]
                  : [navigator.appName, navigator.appVersion, "-?"]),
                (e = t.match(/version\/(\d+)/i)),
                null !== e && n.splice(1, 1, e[1]),
                n.join(" ")
              );
            },
            webglCut$1 = {
              status: !0,
              curVideo: null,
              lastTime: null,
              load(t, e, n, r, i, o = {}, a = null) {
                (this.video = t),
                  (this.curVideo = this.slient = e),
                  (this.canvas = n),
                  (this.videoW = (t || e).getAttribute("width")),
                  (this.videoH = (t || e).getAttribute("height")),
                  (this.robotStatus = "slient"),
                  (this.actionStatus = ""),
                  (this.actionVal = ""),
                  (this.actionCb = a),
                  (this.isWebm = environment$1().includes("Chrome")),
                  (this.actionLib = o),
                  (this.nextAciton = []);
                const s = document.createElement("video");
                (s.id = "actionVideo"),
                  (s.width = this.videoH),
                  (s.height = this.videoW),
                  (s.hidden = !0),
                  s.setAttribute("playsinline", !0),
                  s.setAttribute("webkit-playsinline", !0),
                  s.setAttribute("crossorigin", "anonymous"),
                  document.querySelector("body").appendChild(s),
                  document
                    .querySelector("#actionVideo")
                    .addEventListener("ended", this.acitonEnd.bind(this)),
                  document
                    .querySelector("#actionVideo")
                    .addEventListener("play", this.acitonStart.bind(this));
                const c = { alpha: !0 };
                this.gl =
                  this.canvas.getContext("webgl", c) ||
                  this.canvas.getContext("webgl2", c) ||
                  this.canvas.getContext("experimental-webgl", c);
                const l = this;
                this.slientVideoClient = slientVideoLength(e, () => {
                  l.slient &&
                    l.slient.getAttribute("src") &&
                    (l.slient.play(), (l.curVideo = l.slient));
                });
                const u = this.gl,
                  f = u.createShader(u.VERTEX_SHADER);
                u.shaderSource(
                  f,
                  "attribute vec2 c; void main(void) { gl_Position=vec4(c, 0.0, 1.0); }"
                ),
                  u.compileShader(f);
                const d = u.createShader(u.FRAGMENT_SHADER);
                let h =
                  "\n        precision mediump float;\n        uniform sampler2D tex;\n        uniform float texWidth;\n        uniform float texHeight;\n        const vec3 keyColor = vec3(0.47, 1.0, 0.47);\n        uniform float similarity;\n        uniform float smoothness;\n        uniform float spill;\n        vec2 RGBtoUV(vec3 rgb) {\n          return vec2(\n            rgb.r * -0.169 + rgb.g * -0.331 + rgb.b *  0.5    + 0.5,\n            rgb.r *  0.5   + rgb.g * -0.419 + rgb.b * -0.081  + 0.5\n          );\n        }\n        vec4 GetRgba(float detaX, float detaY) {\n          vec2 texCoord = vec2((gl_FragCoord.x + detaX)/texWidth, 1.0 - (gl_FragCoord.y + detaY)/texHeight);\n          vec4 rgba = texture2D(tex, texCoord);\n          float green = rgba.g - max(rgba.r, rgba.b);\n          float greenKey = keyColor.g - max(keyColor.r, keyColor.b);\n          float mask = smoothstep(greenKey-0.1, 0.0, green);\n          rgba.a = mask;\n          return rgba;\n        }\n        vec4 ProcessChromaKey() {\n          vec4 rgba = GetRgba(0.0, 0.0);\n          if (rgba.a > 0.0 && rgba.a < 1.0) {\n            vec4 rgbas[9];\n            float maxMask = 0.0;\n            vec4 minRgba = rgba;\n            for (int i = -1; i <= 1; i++) {\n              for (int j = -1; j <= 1; j++) {\n                vec4 tmp;\n                if (i == 0 && j == 0) {\n                  tmp = rgba;\n                } else {\n                  tmp = GetRgba(float(i), float(j));\n                }\n                rgbas[(i+1)*3 + (j+1)] = tmp;\n                if (tmp.a > maxMask) {\n                  maxMask = tmp.a;\n                  minRgba = tmp;\n                }\n              }\n            }\n            rgbas[4] = minRgba;\n            rgbas[4].a = rgba.a;\n            vec4 dest = vec4(0.0, 0.0, 0.0, 0.0);\n\n            float gs[9];\n            gs[0] = gs[2] = gs[6] = gs[8] = 0.05;\n            gs[1] = gs[3] = gs[5] = gs[7] = 0.05;\n            gs[4] = 0.6;\n            for(int i = 0; i < 9; i++) {\n              dest.rgb = dest.rgb + rgbas[i].rgb * gs[i];\n            }\n\n            gs[0] = gs[2] = gs[6] = gs[8] = 0.05;\n            gs[1] = gs[3] = gs[5] = gs[7] = 0.15;\n            gs[4] = 0.2;\n            for(int i = 0; i < 9; i++) {\n              dest.a = dest.a + rgbas[i].a* gs[i];\n            }\n            rgba.rgb = dest.rgb;\n            rgba.a = dest.a;\n            if (rgba.g > rgba.r && rgba.g > rgba.b) {\n              rgba.g = max(rgba.r, rgba.b);\n            }\n            rgba.rgb = rgba.rgb * rgba.a;\n          } else {\n            rgba.rgb = rgba.rgb * rgba.a;\n          }\n          return rgba;\n        }\n      \n        void main(void) {\n          gl_FragColor = ProcessChromaKey();\n        }\n      ";
                "fragment-shader-nocut" == i &&
                  (h =
                    "\n        precision mediump float;\n        uniform sampler2D tex;\n        uniform float texWidth;\n        uniform float texHeight;\n      \n        void main(void) {\n          vec2 texCoord = vec2(gl_FragCoord.x/texWidth, 1.0 - (gl_FragCoord.y/texHeight));\n          gl_FragColor =texture2D(tex, texCoord);\n        }\n      "),
                  u.shaderSource(d, h),
                  u.compileShader(d);
                const p = u.createProgram();
                u.attachShader(p, f),
                  u.attachShader(p, d),
                  u.linkProgram(p),
                  u.useProgram(p);
                const m = u.createBuffer();
                u.bindBuffer(u.ARRAY_BUFFER, m),
                  u.bufferData(
                    u.ARRAY_BUFFER,
                    new Float32Array([-1, 1, -1, -1, 1, -1, 1, 1]),
                    u.STATIC_DRAW
                  );
                const v = u.getAttribLocation(p, "c");
                u.vertexAttribPointer(v, 2, u.FLOAT, !1, 0, 0),
                  u.enableVertexAttribArray(v),
                  u.activeTexture(u.TEXTURE0);
                const g = u.createTexture();
                u.bindTexture(u.TEXTURE_2D, g),
                  u.texParameteri(
                    u.TEXTURE_2D,
                    u.TEXTURE_WRAP_S,
                    u.CLAMP_TO_EDGE
                  ),
                  u.texParameteri(
                    u.TEXTURE_2D,
                    u.TEXTURE_WRAP_T,
                    u.CLAMP_TO_EDGE
                  ),
                  u.texParameteri(u.TEXTURE_2D, u.TEXTURE_MIN_FILTER, u.LINEAR),
                  (this.texLoc = u.getUniformLocation(p, "tex")),
                  (this.texWidthLoc = u.getUniformLocation(p, "texWidth")),
                  (this.texHeightLoc = u.getUniformLocation(p, "texHeight")),
                  (this.keyColorLoc = u.getUniformLocation(p, "keyColor")),
                  (this.similarityLoc = u.getUniformLocation(p, "similarity")),
                  (this.smoothnessLoc = u.getUniformLocation(p, "smoothness")),
                  (this.spillLoc = u.getUniformLocation(p, "spill")),
                  this.startWebcam(),
                  r();
              },
              slicePlay(t = 0) {
                console.log("----type-----", t, this.nextAciton),
                  (this.robotStatus = "slient"),
                  this.slientVideoClient.start();
                const e = document.querySelector("#actionVideo");
                e && e.pause(), (this.actionStatus = "");
              },
              videoPlay() {
                (this.robotStatus = "active"),
                  this.slient && this.slient.pause(),
                  "start" != this.actionStatus &&
                    this.video &&
                    (this.curVideo = this.video),
                  this.curVideo && this.curVideo.play();
              },
              actionPlay({ val: t }) {
                (this.actionVal = t), this.actionType(t);
              },
              actionType(t) {
                const e = document.querySelector("#actionVideo");
                if (!e) return;
                let n;
                e.pause(), (e.currentTime = 0);
                const r = t.split("-chat");
                if (
                  ((n =
                    1 == r.length
                      ? this.actionLib[t].mute || []
                      : this.actionLib[r[0]].chat || []),
                  console.log(n, "动作资源"),
                  1 == n.length)
                )
                  window.VideoUseDb
                    ? window.VideoUseDb.loadVideo(n[0], (t) => {
                        (e.src = t), e.play();
                      })
                    : ((e.src = n[0]), e.play());
                else if (n.length >= 2) {
                  let t = n.filter((t) =>
                    t.includes(this.isWebm ? ".webm" : ".mp4")
                  );
                  0 == t.length && (t = n);
                  var i = t[Math.floor(Math.random() * t.length)];
                  if (!i) return;
                  window.VideoUseDb
                    ? window.VideoUseDb.loadVideo(i, (t) => {
                        (e.src = t), e.play();
                      })
                    : ((e.src = i), e.play());
                } else this.acitonEnd();
              },
              acitonStart() {
                this.actionStatus = "start";
                const t = document.querySelector("#actionVideo");
                t && (this.curVideo = t),
                  this.actionCb &&
                    this.actionCb({ type: "start", value: this.actionVal });
              },
              acitonEnd() {
                (this.actionStatus = "end"),
                  "active" == this.robotStatus
                    ? this.video && (this.curVideo = this.video)
                    : this.slicePlay(),
                  this.actionCb &&
                    this.actionCb({ type: "end", value: this.actionVal });
              },
              startWebcam() {
                const t = this;
                t.status = !0;
                const e = this.gl;
                requestAnimationFrame(function n(r, i) {
                  if (!t.curVideo && t.status) return requestAnimationFrame(n);
                  let o = parseInt(performance.now());
                  if (t.lastTime && o - t.lastTime <= 40)
                    return requestAnimationFrame(n);
                  if (
                    ((t.lastTime = o),
                    t.curVideo &&
                      t.curVideo.buffered.length > 0 &&
                      0 != t.curVideo.buffered.end(0))
                  )
                    try {
                      const n = t.videoW,
                        r = t.videoH;
                      e.viewport(0, 0, n, r),
                        e.texImage2D(
                          e.TEXTURE_2D,
                          0,
                          e.RGBA,
                          e.RGBA,
                          e.UNSIGNED_BYTE,
                          t.curVideo
                        ),
                        e.uniform1i(t.texLoc, 0),
                        e.uniform1f(t.texWidthLoc, n),
                        e.uniform1f(t.texHeightLoc, r);
                      const i = "00ff00";
                      e.uniform3f(
                        t.keyColorLoc,
                        parseInt(i.substr(0, 2), 16) / 255,
                        parseInt(i.substr(2, 2), 16) / 255,
                        parseInt(i.substr(4, 2), 16) / 255
                      ),
                        e.uniform1f(t.similarityLoc, parseFloat(0.4)),
                        e.uniform1f(t.smoothnessLoc, parseFloat(0.1)),
                        e.uniform1f(t.spillLoc, parseFloat(0.2)),
                        e.drawArrays(e.TRIANGLE_FAN, 0, 4);
                    } catch (t) {
                      console.log(t, 111111);
                    }
                  return t.status ? requestAnimationFrame(n) : void 0;
                });
              },
              startWebcamOutline(t, e) {
                this.canvas;
                const n = this.video,
                  r = this.gl,
                  i = this;
                (i.status = !0),
                  requestAnimationFrame(function o(a, s) {
                    r.viewport(0, 0, t, e),
                      r.texImage2D(
                        r.TEXTURE_2D,
                        0,
                        r.RGB,
                        r.RGB,
                        r.UNSIGNED_BYTE,
                        n
                      ),
                      r.uniform1i(i.texLoc, 0),
                      r.uniform1f(i.texWidthLoc, t),
                      r.uniform1f(i.texHeightLoc, e);
                    const c = "00ff00";
                    r.uniform3f(
                      i.keyColorLoc,
                      parseInt(c.substr(0, 2), 16) / 255,
                      parseInt(c.substr(2, 2), 16) / 255,
                      parseInt(c.substr(4, 2), 16) / 255
                    ),
                      r.uniform1f(i.similarityLoc, parseFloat(0.4)),
                      r.uniform1f(i.smoothnessLoc, parseFloat(0.1)),
                      r.uniform1f(i.spillLoc, parseFloat(0.1)),
                      r.drawArrays(r.TRIANGLE_FAN, 0, 4),
                      i.status && requestAnimationFrame(o);
                  });
              },
              endWebcam() {
                var t;
                (this.status = !1),
                  null == (t = this.slientVideoClient) || t.end();
              },
              destroy() {
                var t;
                (this.status = !1),
                  null == (t = this.slientVideoClient) || t.end(),
                  (this.slientVideoClient = null),
                  (this.curVideo = this.video = null),
                  (this.slient = null),
                  (this.canvas = null),
                  (this.gl = null),
                  (this.actionLib = {}),
                  (this.actionStatus = ""),
                  (this.nextAciton = []);
                const e = document.querySelector("#actionVideo");
                e &&
                  (e.removeEventListener("ended", this.acitonEnd),
                  e.removeEventListener("play", this.acitonStart),
                  e.remove());
              },
              preloadVideos(t, e) {
                const n = [];
                let r = 0;
                if (
                  (Object.values(t).forEach((t) => {
                    n.push(...(t.chat || []), ...(t.mute || []));
                  }),
                  0 == n.length)
                )
                  return e();
                window.VideoUseDb
                  ? n.forEach((t) => {
                      const i = t.split("://")[1];
                      window.VideoUseDb.checkVideo(i, (o) => {
                        o
                          ? (r++, r === n.length && e())
                          : fetch(t)
                              .then((t) => t.blob())
                              .then((t) => {
                                window.VideoUseDb.addVideo(i, t),
                                  r++,
                                  r === n.length && e();
                              })
                              .catch((t) =>
                                console.error("Error fetching video: ", t)
                              );
                      });
                    })
                  : (n.forEach((t) => {
                      const e = document.createElement("video");
                      (e.preload = "auto"), (e.src = t), e.load();
                    }),
                    e());
              },
            };
          window.webglCut = webglCut$1;
          let Emitter$2 = class {
            on(t, e, n) {
              const r = this.e || (this.e = {});
              return (r[t] || (r[t] = [])).push({ fn: e, ctx: n }), this;
            }
            once(t, e, n) {
              const r = this;
              function i(...o) {
                r.off(t, i), e.apply(n, o);
              }
              return (i._ = e), this.on(t, i, n);
            }
            emit(t, ...e) {
              const n = ((this.e || (this.e = {}))[t] || []).slice();
              for (let t = 0; t < n.length; t += 1) n[t].fn.apply(n[t].ctx, e);
              return this;
            }
            off(t, e) {
              const n = this.e || (this.e = {}),
                r = n[t],
                i = [];
              if (r && e)
                for (let t = 0, n = r.length; t < n; t += 1)
                  r[t].fn !== e && r[t].fn._ !== e && i.push(r[t]);
              return i.length ? (n[t] = i) : delete n[t], this;
            }
          };
          new Blob(
            [
              new Uint8Array([
                255, 227, 24, 196, 0, 0, 0, 3, 72, 1, 64, 0, 0, 4, 132, 16, 31,
                227, 192, 225, 76, 255, 67, 12, 255, 221, 27, 255, 228, 97, 73,
                63, 255, 195, 131, 69, 192, 232, 223, 255, 255, 207, 102, 239,
                255, 255, 255, 101, 158, 206, 70, 20, 59, 255, 254, 95, 70, 149,
                66, 4, 16, 128, 0, 2, 2, 32, 240, 138, 255, 36, 106, 183, 255,
                227, 24, 196, 59, 11, 34, 62, 80, 49, 135, 40, 0, 253, 29, 191,
                209, 200, 141, 71, 7, 255, 252, 152, 74, 15, 130, 33, 185, 6,
                63, 255, 252, 195, 70, 203, 86, 53, 15, 255, 255, 247, 103, 76,
                121, 64, 32, 47, 255, 34, 227, 194, 209, 138, 76, 65, 77, 69,
                51, 46, 57, 55, 170, 170, 170, 170, 170, 170, 170, 170, 170,
                170, 255, 227, 24, 196, 73, 13, 153, 210, 100, 81, 135, 56, 0,
                170, 170, 170, 170, 170, 170, 170, 170, 170, 170, 170, 170, 170,
                170, 170, 170, 170, 170, 170, 170, 170, 170, 170, 170, 170, 170,
                170, 170, 170, 170, 170, 170, 170, 170, 170, 170, 170, 170, 170,
                170, 170, 170, 170, 170, 170, 170, 170, 170, 170, 170, 170, 170,
                170, 170, 170, 170, 170, 170, 170,
              ]),
            ],
            { type: "audio/mpeg" }
          ),
            new Blob(
              [
                new Uint8Array([
                  0, 0, 0, 28, 102, 116, 121, 112, 105, 115, 111, 109, 0, 0, 2,
                  0, 105, 115, 111, 109, 105, 115, 111, 50, 109, 112, 52, 49, 0,
                  0, 0, 8, 102, 114, 101, 101, 0, 0, 2, 239, 109, 100, 97, 116,
                  33, 16, 5, 32, 164, 27, 255, 192, 0, 0, 0, 0, 0, 0, 0, 0, 0,
                  0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
                  0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
                  0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
                  0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
                  0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
                  0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
                  0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
                  0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
                  0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
                  0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
                  0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
                  0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
                  0, 0, 0, 0, 0, 0, 0, 55, 167, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
                  0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
                  0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
                  0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
                  0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 112, 33,
                  16, 5, 32, 164, 27, 255, 192, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
                  0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
                  0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
                  0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
                  0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
                  0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
                  0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
                  0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
                  0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
                  0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
                  0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
                  0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
                  0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
                  0, 0, 0, 0, 0, 55, 167, 128, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
                  0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
                  0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
                  0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
                  0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 112, 0,
                  0, 2, 194, 109, 111, 111, 118, 0, 0, 0, 108, 109, 118, 104,
                  100, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 232, 0, 0,
                  0, 47, 0, 1, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1,
                  0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0,
                  0, 0, 0, 0, 0, 0, 0, 0, 0, 64, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
                  0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3,
                  0, 0, 1, 236, 116, 114, 97, 107, 0, 0, 0, 92, 116, 107, 104,
                  100, 0, 0, 0, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 0, 0, 0,
                  0, 0, 0, 0, 47, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0,
                  0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0,
                  0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 64, 0, 0, 0, 0, 0, 0, 0,
                  0, 0, 0, 0, 0, 0, 0, 36, 101, 100, 116, 115, 0, 0, 0, 28, 101,
                  108, 115, 116, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 47, 0, 0, 0,
                  0, 0, 1, 0, 0, 0, 0, 1, 100, 109, 100, 105, 97, 0, 0, 0, 32,
                  109, 100, 104, 100, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
                  172, 68, 0, 0, 8, 0, 85, 196, 0, 0, 0, 0, 0, 45, 104, 100,
                  108, 114, 0, 0, 0, 0, 0, 0, 0, 0, 115, 111, 117, 110, 0, 0, 0,
                  0, 0, 0, 0, 0, 0, 0, 0, 0, 83, 111, 117, 110, 100, 72, 97,
                  110, 100, 108, 101, 114, 0, 0, 0, 1, 15, 109, 105, 110, 102,
                  0, 0, 0, 16, 115, 109, 104, 100, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
                  0, 36, 100, 105, 110, 102, 0, 0, 0, 28, 100, 114, 101, 102, 0,
                  0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 12, 117, 114, 108, 32, 0, 0, 0,
                  1, 0, 0, 0, 211, 115, 116, 98, 108, 0, 0, 0, 103, 115, 116,
                  115, 100, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 87, 109, 112, 52,
                  97, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 0,
                  16, 0, 0, 0, 0, 172, 68, 0, 0, 0, 0, 0, 51, 101, 115, 100,
                  115, 0, 0, 0, 0, 3, 128, 128, 128, 34, 0, 2, 0, 4, 128, 128,
                  128, 20, 64, 21, 0, 0, 0, 0, 1, 244, 0, 0, 1, 243, 249, 5,
                  128, 128, 128, 2, 18, 16, 6, 128, 128, 128, 1, 2, 0, 0, 0, 24,
                  115, 116, 116, 115, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 2, 0, 0,
                  4, 0, 0, 0, 0, 28, 115, 116, 115, 99, 0, 0, 0, 0, 0, 0, 0, 1,
                  0, 0, 0, 1, 0, 0, 0, 2, 0, 0, 0, 1, 0, 0, 0, 28, 115, 116,
                  115, 122, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 0, 0, 1, 115, 0,
                  0, 1, 116, 0, 0, 0, 20, 115, 116, 99, 111, 0, 0, 0, 0, 0, 0,
                  0, 1, 0, 0, 0, 44, 0, 0, 0, 98, 117, 100, 116, 97, 0, 0, 0,
                  90, 109, 101, 116, 97, 0, 0, 0, 0, 0, 0, 0, 33, 104, 100, 108,
                  114, 0, 0, 0, 0, 0, 0, 0, 0, 109, 100, 105, 114, 97, 112, 112,
                  108, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 45, 105, 108, 115,
                  116, 0, 0, 0, 37, 169, 116, 111, 111, 0, 0, 0, 29, 100, 97,
                  116, 97, 0, 0, 0, 1, 0, 0, 0, 0, 76, 97, 118, 102, 53, 54, 46,
                  52, 48, 46, 49, 48, 49,
                ]),
              ],
              { type: "video/mp4" }
            );
          const viewMap = {
            1: {
              1: { width: 1920, height: 1080 },
              2: { width: 1280, height: 720 },
              3: { width: 960, height: 540 },
              4: { width: 640, height: 360 },
            },
            2: {
              1: { width: 1080, height: 1920 },
              2: { width: 720, height: 1280 },
              3: { width: 540, height: 960 },
              4: { width: 360, height: 640 },
            },
          };
          function querySelectorEl(t) {
            return document.querySelector(t);
          }
          function get_text$1(t) {
            return "text:" ==
              String.fromCharCode.apply(null, new Uint8Array(t.slice(0, 5)))
              ? new TextDecoder("utf-8").decode(new Uint8Array(t.slice(5)))
              : "";
          }
          function debounce(t, e = 1e3) {
            let n = null;
            return function (r) {
              n && clearTimeout(n),
                (n = setTimeout(function () {
                  t(r);
                }, e));
            };
          }
          const canTypeVideoWebm = () =>
              "" != document.createElement("video").canPlayType("video/webm"),
            isFunction = (t) =>
              "[object Function]" == Object.prototype.toString.call(t);
          function is_weixin(t) {
            return "micromessenger" == t.toLowerCase().match(/MicroMessenger/i);
          }
          const environment = () => {
              const { userAgent: t } = navigator;
              let e,
                n =
                  t.match(
                    /(opera|chrome|safari|firefox|msie|trident(?=\/))\/?\s*(\d+)/i
                  ) || [];
              if (/trident/i.test(n[1]))
                return (
                  (e = /\brv[ :]+(\d+)/g.exec(t) || []), `IE ${e[1] || ""}`
                );
              if ("Chrome" === n[1]) {
                if (((e = t.match(/\b(OPR|Edge)\/(\d+)/)), null !== e))
                  return e.slice(1).join(" ").replace("OPR", "Opera");
                if (((e = t.match(/\b(Edg)\/(\d+)/)), null !== e))
                  return e.slice(1).join(" ").replace("Edg", "Edge (Chromium)");
              }
              return (
                (n = n[2]
                  ? [n[1], n[2]]
                  : [navigator.appName, navigator.appVersion, "-?"]),
                (e = t.match(/version\/(\d+)/i)),
                null !== e && n.splice(1, 1, e[1]),
                n.join(" ")
              );
            },
            judgeEnvironment = (() => {
              const { userAgent: t } = navigator;
              let e = environment();
              return (
                t.includes("Mobile") &&
                  ((e += " mobile"), is_weixin(t) && (e += " wx")),
                () => e
              );
            })();
          function createWorker(t) {
            return new Worker(
              URL.createObjectURL(
                new Blob([t], { type: "application/javascript" })
              )
            );
          }
          const wsUrl = {
              dev: "ws://10.1.204.12:9316",
              prd: "wss://aiask365.com",
            },
            httpUrl = {
              dev: "http://10.1.204.12:9316",
              prd: "https://aiask365.com",
            };
          let curWebsocket;
          const commonObj = {
              _sign: "",
              _projectId: "",
              _drivertype: "tts",
              _clientId: "",
              scene: "",
              _env: "",
              _url: "",
              _volume: 1,
              _asr: !1,
              _dialog: null,
              _loop: !0,
              _lang: "",
              _fragmentCut: !0,
            },
            requestConf = (t, e, n, r) => {
              console.log("--------requestConf--------");
              let i = "";
              (i = commonObj._url
                ? `${commonObj._url}`
                : httpUrl[commonObj._env]),
                console.log(`${i}/avatar/avatarProject/id?id=${t}&isWebm=${e}`),
                fetch(`${i}/avatar/avatarProject/id?id=${t}&isWebm=${e}`, {
                  method: "GET",
                  headers: {
                    "Content-type": "application/json;charset=UTF-8",
                    Token: n,
                  },
                })
                  .then((t) => t.json())
                  .then((t) => {
                    r(!0, t);
                  })
                  .catch((t) => {
                    console.log(t), r(!1, t);
                  });
            },
            websocketInit$1 = ({
              _projectId: t,
              _sign: e,
              isPlat: n,
              type: r,
              _drivertype: i,
              requestVideo: o,
              protocol: a,
            }) => {
              let s = commonObj._url.includes("https") ? "wss:" : "ws:",
                c = "";
              c = commonObj._url
                ? `${s}//${commonObj._url.split("//")[1]}`
                : wsUrl[commonObj._env];
              let l,
                u = `${c}/websocket/wenyan/avatar/${t}/${e}?sendText=${
                  n ? "1" : "0"
                }&sendFlv=${r}&isSdk=1&clientId=${
                  Date.now() + Math.random().toString(36).substr(2)
                }&language=${commonObj._lang}`;
              return (
                o && (u += "&" + o),
                a && (u += "&protocol=" + a),
                0 == r
                  ? u
                  : () => (
                      l ||
                        ((l = new WebSocket(u)),
                        (l.binaryType = "arraybuffer"),
                        (curWebsocket = l)),
                      l
                    )
              );
            },
            heartPing = {
              timer: null,
              pong: null,
              start(t) {
                this.timer && this.end(), this.clearTime(t);
              },
              clearTime(t) {
                const e = this;
                e.timer = setTimeout(
                  () => (t(), console.log("ping!"), e.clearTime(t)),
                  2e4
                );
              },
              pongTimer(t = 3) {
                const e = this;
                console.log("pong!"),
                  e.pong && clearTimeout(e.pong),
                  (e.pong = setTimeout(() => {
                    console.log("未收到pong!停止ping,重新链接");
                  }, 1e3 * t));
              },
              clearPong() {
                clearTimeout(this.pong);
              },
              end() {
                this.timer && (clearTimeout(this.timer), (this.timer = null)),
                  this.pong && (clearTimeout(this.pong), (this.pong = null));
              },
            },
            Json2str = (t) => JSON.stringify(t),
            SendMsg = {
              interrupt: () => Json2str({ signal: "interrupt" }),
              qa: (t, e) =>
                Json2str({ signal: "tts", text: e, query: t, interrupt: !0 }),
              text: (t) => Json2str({ signal: "tts", text: t, interrupt: !1 }),
              streamText: (t) =>
                Json2str({ signal: "ttsStream", text: t, interrupt: !1 }),
              streamTextStart: (t, e) =>
                Json2str({
                  signal: "ttsStream",
                  text: t,
                  query: e,
                  interrupt: !0,
                }),
              streamTextEnd: () => SendMsg.streamText(""),
              streamAudio: (t) => t,
              streamAudioEnd: () => new ArrayBuffer(1),
              pausePlay: () => Json2str({ signal: "pausePlay" }),
              resumePlay: () => Json2str({ signal: "resumePlay" }),
              startAsr: () => Json2str({ signal: "startAsr" }),
            };
          null == window ||
            window.addEventListener("unload", () => {
              console.log("------page unload Websocket-------"),
                null == curWebsocket || curWebsocket.close();
            });
          const isPlat$4 = judgeEnvironment().includes("Chrome");
          let flvPlayer = null,
            pacemaker$4 = !1,
            websocket$4 = null,
            videoPlayerInit$2 = !1,
            interval$4 = 5,
            c2$1 = null,
            video = null,
            silentVideo$3 = null,
            videoWidth$4 = "",
            videoHeight$4 = "",
            reqRes$4 = null,
            playStatus$1 = !1,
            serverEnded$1 = !1,
            videoFlow$1 = "",
            videoIsStart = !1,
            emitter$4 = new Emitter$2();
          const checkVideoStatus$1 = debounce(() => {
              console.log(
                "checkVideoStatus",
                playStatus$1,
                videoFlow$1,
                serverEnded$1
              ),
                playStatus$1 &&
                  "waiting" == videoFlow$1 &&
                  serverEnded$1 &&
                  ((serverEnded$1 = !1),
                  console.log("视频播完了"),
                  emitter$4.emit("videoEnd"),
                  (videoIsStart = !1),
                  null == websocket$4 || websocket$4.send(SendMsg.startAsr()));
            }, 500),
            checkCondition$4 = (t) => {
              "WebSocket" in window
                ? flvjs.isSupported()
                  ? t(!0, "success")
                  : t(!1, "不支持flv")
                : t(!1, "当前浏览器不支持websocketio连接");
            };
          let startTime = 0;
          const tryPlay = (() => {
              let t = null;
              function e() {
                const n = video,
                  r = new Date().getTime() - startTime;
                if (n) {
                  if (n.buffered.length > 0 && n.buffered.end(0) > 0.8)
                    return (
                      (videoFlow$1 = "canplay"),
                      videoIsStart ||
                        ((videoIsStart = !0), emitter$4.emit("videoStart")),
                      n
                        .play()
                        .then((t) => {
                          console.log("数字人播放成功");
                        })
                        .catch((t) => {
                          console.log("数字人播放失败", t);
                        }),
                      void webglCut.videoPlay()
                    );
                  if (r > 500)
                    return (
                      (videoFlow$1 = "canplay"),
                      videoIsStart ||
                        ((videoIsStart = !0),
                        emitter$4.emit("videoStart"),
                        console.log("------videoStart", 22)),
                      n
                        .play()
                        .then((t) => {
                          console.log("数字人播放成功");
                        })
                        .catch((t) => {
                          console.log("数字人播放失败", t);
                        }),
                      void webglCut.videoPlay()
                    );
                  t = setTimeout(e, 100);
                }
              }
              return function () {
                t && clearTimeout(t), e();
              };
            })(),
            webReconnect$2 = (t = !1) => {
              if (t && flvPlayer)
                return (
                  flvPlayer.pause(),
                  flvPlayer.unload(),
                  flvPlayer.detachMediaElement(),
                  (videoPlayerInit$2 = !0),
                  flvPlayer.attachMediaElement(video),
                  void flvPlayer.load()
                );
            },
            loopConnect$4 = () => {
              uninstallEvent$4(!1), startPlayer$4();
            },
            pageAcitveStatusGet$4 = () => {
              setTimeout(() => {
                (interval$4 += 5),
                  interval$4 > 30 && (interval$4 = 30),
                  loopConnect$4();
              }, 1e3 * interval$4);
            },
            uninstallEvent$4 = (t = !0) => {
              (pacemaker$4 = t),
                (videoPlayerInit$2 = !1),
                (videoIsStart = !1),
                heartPing.end(),
                flvPlayer &&
                  (flvPlayer.pause(),
                  flvPlayer.unload(),
                  flvPlayer.detachMediaElement(),
                  flvPlayer.destroy(),
                  (flvPlayer = null)),
                websocket$4 && (websocket$4.close(), (websocket$4 = null));
            };
          let asrWsApp$4 = null;
          const startPlayer$4 = () => {
            let {
              _sign: t,
              _projectId: e,
              _drivertype: n,
              _volume: r,
              _asr: i,
            } = commonObj;
            (flvPlayer = flvjs.createPlayer(
              { type: "flv", isLive: !0, hasAudio: !0, hasVideo: !0, cors: !0 },
              {
                enableWorker: !1,
                enableStashBuffer: !1,
                autoCleanupSourceBuffer: !0,
                stashInitialSize: 128,
                cbOpen: function (t) {
                  console.log("flv-建立websocket", t, commonObj),
                    (websocket$4 = t),
                    i && asrWsApp$4 && asrWsApp$4(t),
                    heartPing.start(() => {
                      1 ==
                        (null == websocket$4
                          ? void 0
                          : websocket$4.readyState) &&
                        (null == websocket$4 ||
                          websocket$4.send(JSON.stringify({ signal: "ping" })));
                    });
                },
                cbMessage: isPlat$4
                  ? function (t, e, n) {
                      if ("object" == typeof e.data) {
                        const t = new Uint8Array(e.data);
                        70 !== t[0] ||
                          76 !== t[1] ||
                          86 !== t[2] ||
                          1 !== t[3] ||
                          ((videoPlayerInit$2 = !1),
                          console.log("——————————loop new——————————————")),
                          videoPlayerInit$2 ||
                            (1 == t.byteLength &&
                              0 == t[0] &&
                              (console.log("视频发送完成"),
                              (playStatus$1 = !0),
                              (serverEnded$1 = !0),
                              checkVideoStatus$1()),
                            n(e));
                      } else if ("ppg-end" != e.data)
                        if (e.data.includes("requests overload"))
                          (pacemaker$4 = !0),
                            emitter$4.emit("wsMessage", {
                              type: "requests overload",
                            });
                        else if (e.data.includes("{")) {
                          const t = JSON.parse(e.data);
                          if ("asr-part" == t.type)
                            emitter$4.emit("wsMessage", t);
                          else if ("asr" == t.type)
                            emitter$4.emit("wsMessage", t), (playStatus$1 = !1);
                          else if ("answer" == t.type)
                            emitter$4.emit("wsMessage", t);
                          else if ("startAsr" == t.type)
                            emitter$4.emit("wsMessage", t);
                          else if ("startSleep" == t.type)
                            emitter$4.emit("wsMessage", t);
                          else if ("wakeup" == t.type)
                            emitter$4.emit("wsMessage", t);
                          else if ("server_ready" == t.type)
                            emitter$4.emit("initAnd"),
                              emitter$4.emit("wsMessage", t);
                          else if ("server_ended" != t.type)
                            if ("error" == t.type) {
                              if (t.content.includes("ping")) return;
                              emitter$4.emit("wsMessage", t);
                            } else "node" == t.type || t.type;
                        }
                    }
                  : function (t, e, n) {
                      const r = new Uint8Array(e.data);
                      if (
                        116 === r[0] &&
                        101 === r[1] &&
                        120 === r[2] &&
                        116 === r[3]
                      ) {
                        const t = get_text$1(r);
                        if ("ppg-end" != t && "pong" != t)
                          if (t.includes("requests overload"))
                            (pacemaker$4 = !0),
                              emitter$4.emit("wsMessage", {
                                type: "requests overload",
                              });
                          else if (t.includes("{")) {
                            const e = JSON.parse(t);
                            if ("asr-part" == e.type)
                              emitter$4.emit("wsMessage", e);
                            else if ("asr" == e.type)
                              emitter$4.emit("wsMessage", e),
                                (playStatus$1 = !1);
                            else if ("answer" == e.type)
                              emitter$4.emit("wsMessage", e);
                            else if ("startAsr" == e.type)
                              emitter$4.emit("wsMessage", e);
                            else if ("startSleep" == e.type)
                              emitter$4.emit("wsMessage", e);
                            else if ("wakeup" == e.type)
                              emitter$4.emit("wsMessage", e);
                            else if ("server_ready" == e.type)
                              emitter$4.emit("initAnd"),
                                emitter$4.emit("wsMessage", e);
                            else if ("server_ended" != e.type)
                              if ("error" == e.type) {
                                if (e.content.includes("ping")) return;
                                emitter$4.emit("wsMessage", e);
                              } else "node" == e.type || e.type;
                          }
                      } else
                        70 !== r[0] ||
                          76 !== r[1] ||
                          86 !== r[2] ||
                          1 !== r[3] ||
                          ((videoPlayerInit$2 = !1),
                          console.log("——————————loop new——————————————")),
                          videoPlayerInit$2 ||
                            (1 == r.byteLength &&
                              0 == r[0] &&
                              (console.log("视频发送完成"),
                              (playStatus$1 = !0),
                              (serverEnded$1 = !0),
                              checkVideoStatus$1()),
                            n(e));
                    },
                cbError: function (t, e) {
                  console.log("websocket错误：", e),
                    !e.content.includes("ping") &&
                      emitter$4.emit("wsMessage", {
                        type: "websocket Error",
                        value: e,
                      });
                },
                cbClose: function (t, e) {
                  console.log("websocket close", commonObj._loop),
                    pacemaker$4 || commonObj._loop
                      ? (heartPing.end(),
                        emitter$4.emit("wsMessage", {
                          type: "websocket close",
                        }))
                      : (pageAcitveStatusGet$4(),
                        emitter$4.emit("wsMessage", {
                          type: "websocket reLoop",
                        }));
                },
                ws: websocketInit$1({
                  _projectId: e,
                  _sign: t,
                  isPlat: isPlat$4,
                  type: 1,
                  _drivertype: n,
                  requestVideo: requestVideo$4,
                }),
              }
            )),
              flvPlayer.attachMediaElement(video),
              flvPlayer.load(),
              (videoPlayerInit$2 = !0);
          };
          let requestVideo$4 = "";
          function player$4(t, e, n, r, i = 1) {
            (videoWidth$4 = viewMap[e][r].width),
              (videoHeight$4 = viewMap[e][r].height),
              (requestVideo$4 = `requestWidth=${videoWidth$4}&requestHeight=${videoHeight$4}`),
              (document.querySelector(
                t
              ).innerHTML = `\n      <canvas id="flvcanvas" style="zoom:${i};" width="${videoWidth$4}" height="${videoHeight$4}"></canvas>\n      <video id="digitalPlayer" width="${videoWidth$4}" height="${videoHeight$4}" hidden webkit-playsinline="true" playsinline="true"></video>\n      <video id="silentVideo" width="${videoWidth$4}" height="${videoHeight$4}" src="${n}" muted loop hidden webkit-playsinline="true" playsinline="true" crossorigin="anonymous" preload="auto"></video>\n      <div\n        id="cmwwJhDialog"\n        style="\n          display: none;\n          justify-content: center;\n          align-items: center;\n          position: fixed;\n          top: 0;\n          left: 0;\n          background: rgba(0, 0, 0, 0.5);\n          width: 100vw;\n          height: 100vh;\n          z-index:9999;\n        "\n      >\n        <button style="\n          width:150px;\n          height:45px;\n        ">数字人开始交互</button>\n      </div>`),
              (c2$1 = querySelectorEl("#flvcanvas")),
              (video = querySelectorEl("#digitalPlayer")),
              (silentVideo$3 = querySelectorEl("#silentVideo"));
          }
          let xxPlayer$4 = class extends Emitter$2 {
            constructor(
              {
                environment: t,
                containerLable: e,
                token: n,
                projectId: r,
                quality: i,
                zoom: o,
                clientId: a,
                volume: s,
                asr: c,
              },
              l
            ) {
              if ((super(), c)) {
                const {
                  asrDestroy: t,
                  asrWsAppoint: e,
                  asrStart: n,
                } = asrWs((t) => {
                  console.log(t, "mic"),
                    "1" == t.type &&
                      ((asrWsApp$4 = e),
                      websocket$4 && asrWsApp$4(websocket$4));
                });
                n();
              }
              (emitter$4 = new Emitter$2()),
                (this.containerLable = e),
                (commonObj._sign = n),
                (commonObj._projectId = r),
                (this.quality = i || 1),
                (this.zoom = o || 1),
                (commonObj._env = t || "prd"),
                (commonObj._volume = s || 1),
                (commonObj._asr = c || !1),
                (reqRes$4 = l),
                (this.streamImg = !1);
            }
            init() {
              checkCondition$4((t, e) => {
                if (t) {
                  let { avatarSilenceUrl: t, avatarDirection: e } =
                    reqRes$4.data;
                  player$4(this.containerLable, e, t, this.quality, this.zoom),
                    emitter$4.on("videoEnd", () => {
                      this.emit("message", { type: "videoEnd", data: {} });
                    }),
                    emitter$4.on("videoStart", () => {
                      this.emit("message", { type: "videoStart", data: {} });
                    }),
                    emitter$4.on("wsMessage", (t) => {
                      this.emit("message", { type: "wsMessage", data: t });
                    }),
                    emitter$4.on("initAnd", () => {
                      silentVideo$3 &&
                        silentVideo$3
                          .play()
                          .then((t) => {
                            console.log("1交互静音视频播放"),
                              setTimeout(() => {
                                webglCut.slicePlay(),
                                  commonObj._dialog &&
                                    commonObj._dialog({ type: "auto" });
                              }, 400);
                          })
                          .catch((t) => {
                            if (
                              (console.log("1交互静音视频播放失败-", t),
                              commonObj._dialog)
                            )
                              commonObj._dialog({ type: "no" });
                            else {
                              const t = this,
                                e = document.querySelector("#cmwwJhDialog");
                              (e.style.display = "flex"),
                                document
                                  .querySelector("#cmwwJhDialog button")
                                  .addEventListener("click", () => {
                                    t.playSilentvideo(),
                                      webglCut.slicePlay(),
                                      (e.style.display = "none"),
                                      t.emit("intialSucccess", { type: "3" });
                                  });
                            }
                          });
                    }),
                    this.startPlay();
                } else this.emit("intialError", e);
              });
            }
            playSilentvideo() {
              video &&
                video
                  .play()
                  .then((t) => {
                    console.log("3交互数字人视频播放");
                  })
                  .catch((t) => {
                    console.log("3交互数字人视频播放失败-", t);
                  }),
                silentVideo$3 &&
                  silentVideo$3
                    .play()
                    .then((t) => {
                      console.log("2交互静音视频播放");
                    })
                    .catch((t) => {
                      console.log("2交互静音视频播放失败-", t);
                    });
            }
            startPlay() {
              const t = this;
              webglCut.load(video, silentVideo$3, c2$1, (t) => {
                startPlayer$4();
              }),
                null == video ||
                  video.addEventListener("canplay", function () {
                    (startTime = new Date().getTime()),
                      console.log("canplay-----"),
                      tryPlay(),
                      (t.streamImg = !0);
                  }),
                null == video ||
                  video.addEventListener("waiting", function () {
                    console.log("waiting--------"),
                      (videoFlow$1 = "waiting"),
                      webglCut.slicePlay(),
                      checkVideoStatus$1();
                  }),
                null == video ||
                  video.addEventListener("ended", function () {
                    console.log("_____ended________"),
                      (videoFlow$1 = "waiting"),
                      webglCut.slicePlay(),
                      checkVideoStatus$1();
                  }),
                null == video ||
                  video.addEventListener("loadedmetadata", (t) => {
                    video.pause(),
                      console.log("_____loadedmetadata________", t);
                  });
            }
            setClientId(t) {
              t ? (commonObj._clientId = t) : console.log("clientId不能为空");
            }
            stopPlay() {
              uninstallEvent$4(),
                (c2$1 = null),
                (video = null),
                (silentVideo$3 = null),
                (videoWidth$4 = ""),
                (videoHeight$4 = ""),
                (reqRes$4 = null),
                (this.streamImg = !1),
                webglCut.endWebcam(),
                webglCut.destroy();
            }
            playQA(t, e) {
              null == flvPlayer ||
                flvPlayer
                  .play()
                  .then((t) => {
                    console.log("视频播放");
                  })
                  .catch((t) => {
                    console.log("视频播放失败-", t);
                  }),
                null == websocket$4 || websocket$4.send(SendMsg.qa(t, e));
            }
            interrupt() {
              null == websocket$4 || websocket$4.send(SendMsg.interrupt()),
                webglCut.slicePlay(),
                webReconnect$2(!0),
                (this.streamImg = !1),
                (videoIsStart = !1);
            }
            playText(t) {
              null == flvPlayer ||
                flvPlayer
                  .play()
                  .then((t) => {
                    console.log("视频播放");
                  })
                  .catch((t) => {
                    console.log("视频播放失败-", t);
                  }),
                null == websocket$4 || websocket$4.send(SendMsg.text(t));
            }
            playStreamText(t) {
              null == websocket$4 || websocket$4.send(SendMsg.streamText(t));
            }
            playStreamTextStart(t, e) {
              null == flvPlayer ||
                flvPlayer
                  .play()
                  .then((t) => {
                    console.log("视频播放");
                  })
                  .catch((t) => {
                    console.log("视频播放失败-", t);
                  }),
                null == websocket$4 ||
                  websocket$4.send(SendMsg.streamTextStart(t, e));
            }
            playStreamTextEnd() {
              null == websocket$4 || websocket$4.send(SendMsg.streamTextEnd());
            }
            playAudio(t) {
              null == websocket$4 || websocket$4.send(SendMsg.streamAudio(t));
            }
            playAudioEnd() {
              null == websocket$4 || websocket$4.send(SendMsg.streamAudioEnd());
            }
            playCurVideo() {
              this.streamImg &&
                (null == websocket$4 || websocket$4.send(SendMsg.resumePlay()),
                flvPlayer
                  .play()
                  .then((t) => {
                    console.log("视频播放");
                  })
                  .catch((t) => {
                    console.log("视频播放失败-", t);
                  }),
                webglCut.videoPlay());
            }
            stopCurVideo() {
              this.streamImg &&
                (null == websocket$4 || websocket$4.send(SendMsg.pausePlay()),
                webglCut.slicePlay(),
                flvPlayer.pause());
            }
            sendText(t, e) {
              this.interrupt(), this.playQA(t, e);
            }
            sendStreamTextStart(t, e) {
              this.interrupt(), this.playStreamTextStart(t, e);
            }
            sendStreamText(t) {
              null == websocket$4 || websocket$4.send(SendMsg.streamText(t));
            }
            sendStreamTextEnd() {
              null == websocket$4 || websocket$4.send(SendMsg.streamTextEnd());
            }
            destroyPlayer() {
              this.stopPlay();
            }
            getStatusWs() {
              return websocket$4;
            }
          };
          function getNowTime$1() {
            return performance && "function" == typeof performance.now
              ? performance.now()
              : Date.now();
          }
          let Emitter$1 = class {
            on(t, e, n) {
              const r = this.e || (this.e = {});
              return (r[t] || (r[t] = [])).push({ fn: e, ctx: n }), this;
            }
            once(t, e, n) {
              const r = this;
              function i(...o) {
                r.off(t, i), e.apply(n, o);
              }
              return (i._ = e), this.on(t, i, n);
            }
            emit(t, ...e) {
              const n = ((this.e || (this.e = {}))[t] || []).slice();
              for (let t = 0; t < n.length; t += 1) n[t].fn.apply(n[t].ctx, e);
              return this;
            }
            off(t, e) {
              const n = this.e || (this.e = {}),
                r = n[t],
                i = [];
              if (r && e)
                for (let t = 0, n = r.length; t < n; t += 1)
                  r[t].fn !== e && r[t].fn._ !== e && i.push(r[t]);
              return i.length ? (n[t] = i) : delete n[t], this;
            }
          };
          const Cn = class t {
            constructor(e, n) {
              Fn(this, tt, null),
                Fn(this, gt, null),
                Fn(this, Ln, null),
                Fn(this, Bn, null),
                Fn(this, Un, null),
                Sn(this, tt, n);
              const r = Sn(
                  this,
                  gt,
                  n.getContext("webgl2") ||
                    n.getContext("webgl") ||
                    n.getContext("experimental-webgl")
                ),
                i = r.createShader(r.VERTEX_SHADER);
              if (
                (r.shaderSource(i, t.vertexShaderSource),
                r.compileShader(i),
                !r.getShaderParameter(i, r.COMPILE_STATUS))
              )
                throw r.getShaderInfoLog(i);
              const o = r.createShader(r.FRAGMENT_SHADER);
              if (
                (r.shaderSource(o, t.fragmentShaderSource),
                r.compileShader(o),
                !r.getShaderParameter(o, r.COMPILE_STATUS))
              )
                throw r.getShaderInfoLog(o);
              const a = r.createProgram();
              if (
                (r.attachShader(a, i),
                r.attachShader(a, o),
                r.linkProgram(a),
                !r.getProgramParameter(a, r.LINK_STATUS))
              )
                throw r.getProgramInfoLog(a);
              r.useProgram(a);
              const s = r.createBuffer();
              r.bindBuffer(r.ARRAY_BUFFER, s),
                r.bufferData(
                  r.ARRAY_BUFFER,
                  new Float32Array([-1, -1, -1, 1, 1, 1, 1, -1]),
                  r.STATIC_DRAW
                );
              const c = r.getAttribLocation(a, "xy");
              r.vertexAttribPointer(c, 2, r.FLOAT, !1, 0, 0),
                r.enableVertexAttribArray(c);
              const l = r.createTexture();
              r.bindTexture(r.TEXTURE_2D, l),
                r.texParameteri(r.TEXTURE_2D, r.TEXTURE_MAG_FILTER, r.NEAREST),
                r.texParameteri(r.TEXTURE_2D, r.TEXTURE_MIN_FILTER, r.NEAREST),
                r.texParameteri(
                  r.TEXTURE_2D,
                  r.TEXTURE_WRAP_S,
                  r.CLAMP_TO_EDGE
                ),
                r.texParameteri(
                  r.TEXTURE_2D,
                  r.TEXTURE_WRAP_T,
                  r.CLAMP_TO_EDGE
                ),
                Sn(this, Bn, r.getUniformLocation(a, "texWidth")),
                Sn(this, Un, r.getUniformLocation(a, "texHeight"));
            }
            draw(t, e, n) {
              ($n(this, tt).width = e), ($n(this, tt).height = n);
              const r = $n(this, gt);
              r.uniform1f($n(this, Bn), e),
                r.uniform1f($n(this, Un), n),
                r.texImage2D(
                  r.TEXTURE_2D,
                  0,
                  r.RGBA,
                  r.RGBA,
                  r.UNSIGNED_BYTE,
                  t
                ),
                t.close(),
                r.viewport(0, 0, r.drawingBufferWidth, r.drawingBufferHeight),
                r.clearColor(1, 0, 0, 1),
                r.clear(r.COLOR_BUFFER_BIT),
                r.drawArrays(r.TRIANGLE_FAN, 0, 4);
            }
            destroy() {
              Sn(this, tt, null), Sn(this, gt, null);
            }
          };
          (tt = new WeakMap()),
            (gt = new WeakMap()),
            (Ln = new WeakMap()),
            (Bn = new WeakMap()),
            (Un = new WeakMap()),
            Mi(
              Cn,
              "vertexShaderSource",
              "\n    attribute vec2 xy;\n\n    void main(void) {\n      gl_Position = vec4(xy, 0.0, 1.0);\n    }\n  "
            ),
            Mi(
              Cn,
              "fragmentShaderSource",
              "\n  precision mediump float;\n  uniform sampler2D tex;\n  uniform float texWidth;\n  uniform float texHeight;\n  const vec3 keyColor = vec3(0.47, 1.0, 0.47);\n  uniform float similarity;\n  uniform float smoothness;\n  uniform float spill;\n  vec2 RGBtoUV(vec3 rgb) {\n    return vec2(\n      rgb.r * -0.169 + rgb.g * -0.331 + rgb.b *  0.5    + 0.5,\n      rgb.r *  0.5   + rgb.g * -0.419 + rgb.b * -0.081  + 0.5\n    );\n  }\n  vec4 GetRgba(float detaX, float detaY) {\n    vec2 texCoord = vec2((gl_FragCoord.x + detaX)/texWidth, 1.0 - (gl_FragCoord.y + detaY)/texHeight);\n    vec4 rgba = texture2D(tex, texCoord);\n    float green = rgba.g - max(rgba.r, rgba.b);\n    float greenKey = keyColor.g - max(keyColor.r, keyColor.b);\n    float mask = smoothstep(greenKey-0.1, 0.0, green);\n    rgba.a = mask;\n    return rgba;\n  }\n  vec4 ProcessChromaKey() {\n    vec4 rgba = GetRgba(0.0, 0.0);\n    if (rgba.a > 0.0 && rgba.a < 1.0) {\n      vec4 rgbas[9];\n      float maxMask = 0.0;\n      vec4 minRgba = rgba;\n      for (int i = -1; i <= 1; i++) {\n        for (int j = -1; j <= 1; j++) {\n          vec4 tmp;\n          if (i == 0 && j == 0) {\n            tmp = rgba;\n          } else {\n            tmp = GetRgba(float(i), float(j));\n          }\n          rgbas[(i+1)*3 + (j+1)] = tmp;\n          if (tmp.a > maxMask) {\n            maxMask = tmp.a;\n            minRgba = tmp;\n          }\n        }\n      }\n      rgbas[4] = minRgba;\n      rgbas[4].a = rgba.a;\n      vec4 dest = vec4(0.0, 0.0, 0.0, 0.0);\n\n      float gs[9];\n      gs[0] = gs[2] = gs[6] = gs[8] = 0.05;\n      gs[1] = gs[3] = gs[5] = gs[7] = 0.05;\n      gs[4] = 0.6;\n      for(int i = 0; i < 9; i++) {\n        dest.rgb = dest.rgb + rgbas[i].rgb * gs[i];\n      }\n\n      gs[0] = gs[2] = gs[6] = gs[8] = 0.05;\n      gs[1] = gs[3] = gs[5] = gs[7] = 0.15;\n      gs[4] = 0.2;\n      for(int i = 0; i < 9; i++) {\n        dest.a = dest.a + rgbas[i].a* gs[i];\n      }\n      rgba.rgb = dest.rgb;\n      rgba.a = dest.a;\n      if (rgba.g > rgba.r && rgba.g > rgba.b) {\n        rgba.g = max(rgba.r, rgba.b);\n      }\n      rgba.rgb = rgba.rgb * rgba.a;\n    } else {\n      rgba.rgb = rgba.rgb * rgba.a;\n    }\n    return rgba;\n  }\n\n  void main(void) {\n    gl_FragColor = ProcessChromaKey();\n  }\n  "
            );
          let WebGLRenderer = Cn;
          class Render {
            constructor(t) {
              this.flv = t;
              const { container: e } = t.options;
              (this.canvas = e), (this.renderer = new WebGLRenderer("", e));
            }
            drawFrame(t) {
              const e = this.canvas.getAttribute("width"),
                n = this.canvas.getAttribute("height");
              this.renderer.draw(t, e, n);
            }
            destroy() {
              this.renderer.destroy();
            }
          }
          var FrameSink = { exports: {} };
          !(function () {
            function t(t, e) {
              throw new Error("abstract");
            }
            (t.prototype.drawFrame = function (t) {
              throw new Error("abstract");
            }),
              (t.prototype.clear = function () {
                throw new Error("abstract");
              }),
              (FrameSink.exports = t);
          })();
          var FrameSinkExports = FrameSink.exports,
            YCbCr = { exports: {} },
            depower = {
              exports: function (t) {
                for (var e = 0, n = t >> 1; 0 != n; ) (n >>= 1), e++;
                if (t !== 1 << e)
                  throw (
                    "chroma plane dimensions must be power of 2 ratio to luma plane dimensions; got " +
                    t
                  );
                return e;
              },
            },
            depowerExports = depower.exports,
            u;
          (u = depowerExports),
            (YCbCr.exports = {
              convertYCbCr: function (t, e) {
                var n = 0 | t.format.width,
                  r = 0 | t.format.height,
                  i = 0 | u(t.format.width / t.format.chromaWidth),
                  o = 0 | u(t.format.height / t.format.chromaHeight),
                  a = t.y.bytes,
                  s = t.u.bytes,
                  c = t.v.bytes,
                  l = 0 | t.y.stride,
                  f = 0 | t.u.stride,
                  d = 0 | t.v.stride,
                  h = n << 2,
                  p = 0,
                  m = 0,
                  v = 0,
                  g = 0,
                  y = 0,
                  b = 0,
                  V = 0,
                  _ = 0,
                  w = 0,
                  S = 0,
                  E = 0,
                  A = 0,
                  T = 0,
                  O = 0,
                  C = 0,
                  P = 0,
                  x = 0,
                  k = 0;
                if (1 == i && 1 == o)
                  for (V = 0, _ = h, k = 0, P = 0; P < r; P += 2) {
                    for (
                      v = ((m = (P * l) | 0) + l) | 0,
                        g = (k * f) | 0,
                        y = (k * d) | 0,
                        C = 0;
                      C < n;
                      C += 2
                    )
                      (w = 0 | s[g++]),
                        (A = (((409 * (S = 0 | c[y++])) | 0) - 57088) | 0),
                        (T = (((100 * w) | 0) + ((208 * S) | 0) - 34816) | 0),
                        (O = (((516 * w) | 0) - 70912) | 0),
                        (E = (298 * a[m++]) | 0),
                        (e[V] = (E + A) >> 8),
                        (e[V + 1] = (E - T) >> 8),
                        (e[V + 2] = (E + O) >> 8),
                        (V += 4),
                        (E = (298 * a[m++]) | 0),
                        (e[V] = (E + A) >> 8),
                        (e[V + 1] = (E - T) >> 8),
                        (e[V + 2] = (E + O) >> 8),
                        (V += 4),
                        (E = (298 * a[v++]) | 0),
                        (e[_] = (E + A) >> 8),
                        (e[_ + 1] = (E - T) >> 8),
                        (e[_ + 2] = (E + O) >> 8),
                        (_ += 4),
                        (E = (298 * a[v++]) | 0),
                        (e[_] = (E + A) >> 8),
                        (e[_ + 1] = (E - T) >> 8),
                        (e[_ + 2] = (E + O) >> 8),
                        (_ += 4);
                    (V += h), (_ += h), k++;
                  }
                else
                  for (b = 0, P = 0; P < r; P++)
                    for (
                      x = 0,
                        p = (P * l) | 0,
                        g = ((k = P >> o) * f) | 0,
                        y = (k * d) | 0,
                        C = 0;
                      C < n;
                      C++
                    )
                      (w = 0 | s[g + (x = C >> i)]),
                        (A = (((409 * (S = 0 | c[y + x])) | 0) - 57088) | 0),
                        (T = (((100 * w) | 0) + ((208 * S) | 0) - 34816) | 0),
                        (O = (((516 * w) | 0) - 70912) | 0),
                        (E = (298 * a[p++]) | 0),
                        (e[b] = (E + A) >> 8),
                        (e[b + 1] = (E - T) >> 8),
                        (e[b + 2] = (E + O) >> 8),
                        (b += 4);
              },
            });
          var YCbCrExports = YCbCr.exports;
          !(function () {
            var t = FrameSinkExports;
            Object.create(t.prototype);
          })();
          var shaders = {
            vertex:
              "precision mediump float;\n\nattribute vec2 aPosition;\nattribute vec2 aLumaPosition;\nattribute vec2 aChromaPosition;\nvarying vec2 vLumaPosition;\nvarying vec2 vChromaPosition;\nvoid main() {\n    gl_Position = vec4(aPosition, 0, 1);\n    vLumaPosition = aLumaPosition;\n    vChromaPosition = aChromaPosition;\n}\n",
            fragment:
              "// inspired by https://github.com/mbebenita/Broadway/blob/master/Player/canvas.js\n\nprecision mediump float;\n\nuniform sampler2D uTextureY;\nuniform sampler2D uTextureCb;\nuniform sampler2D uTextureCr;\nvarying vec2 vLumaPosition;\nvarying vec2 vChromaPosition;\nvoid main() {\n   // Y, Cb, and Cr planes are uploaded as ALPHA textures.\n   float fY = texture2D(uTextureY, vLumaPosition).w;\n   float fCb = texture2D(uTextureCb, vChromaPosition).w;\n   float fCr = texture2D(uTextureCr, vChromaPosition).w;\n\n   // Premultipy the Y...\n   float fYmul = fY * 1.1643828125;\n\n   // And convert that to RGB!\n   gl_FragColor = vec4(\n     fYmul + 1.59602734375 * fCr - 0.87078515625,\n     fYmul - 0.39176171875 * fCb - 0.81296875 * fCr + 0.52959375,\n     fYmul + 2.017234375   * fCb - 1.081390625,\n     1\n   );\n}\n",
            vertexStripe:
              "precision mediump float;\n\nattribute vec2 aPosition;\nattribute vec2 aTexturePosition;\nvarying vec2 vTexturePosition;\n\nvoid main() {\n    gl_Position = vec4(aPosition, 0, 1);\n    vTexturePosition = aTexturePosition;\n}\n",
            fragmentStripe:
              "// extra 'stripe' texture fiddling to work around IE 11's poor performance on gl.LUMINANCE and gl.ALPHA textures\n\nprecision mediump float;\n\nuniform sampler2D uStripe;\nuniform sampler2D uTexture;\nvarying vec2 vTexturePosition;\nvoid main() {\n   // Y, Cb, and Cr planes are mapped into a pseudo-RGBA texture\n   // so we can upload them without expanding the bytes on IE 11\n   // which doesn't allow LUMINANCE or ALPHA textures\n   // The stripe textures mark which channel to keep for each pixel.\n   // Each texture extraction will contain the relevant value in one\n   // channel only.\n\n   float fLuminance = dot(\n      texture2D(uStripe, vTexturePosition),\n      texture2D(uTexture, vTexturePosition)\n   );\n\n   gl_FragColor = vec4(0, 0, 0, fLuminance);\n}\n",
          };
          function Texture(t) {
            (this.gl = t),
              (this.texture = t.createTexture()),
              t.bindTexture(t.TEXTURE_2D, this.texture),
              t.texParameteri(t.TEXTURE_2D, t.TEXTURE_MAG_FILTER, t.LINEAR),
              t.texParameteri(t.TEXTURE_2D, t.TEXTURE_MIN_FILTER, t.LINEAR),
              t.texParameteri(t.TEXTURE_2D, t.TEXTURE_WRAP_S, t.CLAMP_TO_EDGE),
              t.texParameteri(t.TEXTURE_2D, t.TEXTURE_WRAP_T, t.CLAMP_TO_EDGE);
          }
          !(function () {
            var t = FrameSinkExports,
              e = shaders;
            function n(t) {
              var r = this,
                i = n.contextForCanvas(t);
              if (null === i) throw new Error("WebGL unavailable");
              function o(t, e) {
                var n = i.createShader(t);
                if (
                  (i.shaderSource(n, e),
                  i.compileShader(n),
                  !i.getShaderParameter(n, i.COMPILE_STATUS))
                ) {
                  var r = i.getShaderInfoLog(n);
                  throw (
                    (i.deleteShader(n),
                    new Error(
                      "GL shader compilation for " + t + " failed: " + r
                    ))
                  );
                }
                return n;
              }
              var a,
                s,
                c,
                l,
                u,
                f,
                d,
                h,
                p,
                m,
                v,
                g,
                y = new Float32Array([
                  -1, -1, 1, -1, -1, 1, -1, 1, 1, -1, 1, 1,
                ]),
                b = {},
                V = {},
                _ = {};
              function w(t, e) {
                return (!b[t] || e) && (b[t] = i.createTexture()), b[t];
              }
              function S(t, e, r, o, a) {
                var s = !b[t] || e,
                  c = w(t, e);
                if ((i.activeTexture(i.TEXTURE0), n.stripe)) {
                  var l = !b[t + "_temp"] || e,
                    u = w(t + "_temp", e);
                  i.bindTexture(i.TEXTURE_2D, u),
                    l
                      ? (i.texParameteri(
                          i.TEXTURE_2D,
                          i.TEXTURE_WRAP_S,
                          i.CLAMP_TO_EDGE
                        ),
                        i.texParameteri(
                          i.TEXTURE_2D,
                          i.TEXTURE_WRAP_T,
                          i.CLAMP_TO_EDGE
                        ),
                        i.texParameteri(
                          i.TEXTURE_2D,
                          i.TEXTURE_MIN_FILTER,
                          i.NEAREST
                        ),
                        i.texParameteri(
                          i.TEXTURE_2D,
                          i.TEXTURE_MAG_FILTER,
                          i.NEAREST
                        ),
                        i.texImage2D(
                          i.TEXTURE_2D,
                          0,
                          i.RGBA,
                          r / 4,
                          o,
                          0,
                          i.RGBA,
                          i.UNSIGNED_BYTE,
                          a
                        ))
                      : i.texSubImage2D(
                          i.TEXTURE_2D,
                          0,
                          0,
                          0,
                          r / 4,
                          o,
                          i.RGBA,
                          i.UNSIGNED_BYTE,
                          a
                        );
                  var f = b[t + "_stripe"],
                    d = !f || e;
                  d && (f = w(t + "_stripe", e)),
                    i.bindTexture(i.TEXTURE_2D, f),
                    d &&
                      (i.texParameteri(
                        i.TEXTURE_2D,
                        i.TEXTURE_WRAP_S,
                        i.CLAMP_TO_EDGE
                      ),
                      i.texParameteri(
                        i.TEXTURE_2D,
                        i.TEXTURE_WRAP_T,
                        i.CLAMP_TO_EDGE
                      ),
                      i.texParameteri(
                        i.TEXTURE_2D,
                        i.TEXTURE_MIN_FILTER,
                        i.NEAREST
                      ),
                      i.texParameteri(
                        i.TEXTURE_2D,
                        i.TEXTURE_MAG_FILTER,
                        i.NEAREST
                      ),
                      i.texImage2D(
                        i.TEXTURE_2D,
                        0,
                        i.RGBA,
                        r,
                        1,
                        0,
                        i.RGBA,
                        i.UNSIGNED_BYTE,
                        (function (t) {
                          if (_[t]) return _[t];
                          for (
                            var e = t, n = new Uint32Array(e), r = 0;
                            r < e;
                            r += 4
                          )
                            (n[r] = 255),
                              (n[r + 1] = 65280),
                              (n[r + 2] = 16711680),
                              (n[r + 3] = 4278190080);
                          return (_[t] = new Uint8Array(n.buffer));
                        })(r)
                      ));
                } else
                  i.bindTexture(i.TEXTURE_2D, c),
                    s
                      ? (i.texParameteri(
                          i.TEXTURE_2D,
                          i.TEXTURE_WRAP_S,
                          i.CLAMP_TO_EDGE
                        ),
                        i.texParameteri(
                          i.TEXTURE_2D,
                          i.TEXTURE_WRAP_T,
                          i.CLAMP_TO_EDGE
                        ),
                        i.texParameteri(
                          i.TEXTURE_2D,
                          i.TEXTURE_MIN_FILTER,
                          i.LINEAR
                        ),
                        i.texParameteri(
                          i.TEXTURE_2D,
                          i.TEXTURE_MAG_FILTER,
                          i.LINEAR
                        ),
                        i.texImage2D(
                          i.TEXTURE_2D,
                          0,
                          i.ALPHA,
                          r,
                          o,
                          0,
                          i.ALPHA,
                          i.UNSIGNED_BYTE,
                          a
                        ))
                      : i.texSubImage2D(
                          i.TEXTURE_2D,
                          0,
                          0,
                          0,
                          r,
                          o,
                          i.ALPHA,
                          i.UNSIGNED_BYTE,
                          a
                        );
              }
              function E(t, e, n, r) {
                var o = b[t];
                i.useProgram(s);
                var a = V[t];
                (!a || e) &&
                  (i.activeTexture(i.TEXTURE0),
                  i.bindTexture(i.TEXTURE_2D, o),
                  i.texParameteri(
                    i.TEXTURE_2D,
                    i.TEXTURE_WRAP_S,
                    i.CLAMP_TO_EDGE
                  ),
                  i.texParameteri(
                    i.TEXTURE_2D,
                    i.TEXTURE_WRAP_T,
                    i.CLAMP_TO_EDGE
                  ),
                  i.texParameteri(i.TEXTURE_2D, i.TEXTURE_MIN_FILTER, i.LINEAR),
                  i.texParameteri(i.TEXTURE_2D, i.TEXTURE_MAG_FILTER, i.LINEAR),
                  i.texImage2D(
                    i.TEXTURE_2D,
                    0,
                    i.RGBA,
                    n,
                    r,
                    0,
                    i.RGBA,
                    i.UNSIGNED_BYTE,
                    null
                  ),
                  (a = V[t] = i.createFramebuffer())),
                  i.bindFramebuffer(i.FRAMEBUFFER, a),
                  i.framebufferTexture2D(
                    i.FRAMEBUFFER,
                    i.COLOR_ATTACHMENT0,
                    i.TEXTURE_2D,
                    o,
                    0
                  );
                var p = b[t + "_temp"];
                i.activeTexture(i.TEXTURE1),
                  i.bindTexture(i.TEXTURE_2D, p),
                  i.uniform1i(h, 1);
                var m = b[t + "_stripe"];
                i.activeTexture(i.TEXTURE2),
                  i.bindTexture(i.TEXTURE_2D, m),
                  i.uniform1i(d, 2),
                  i.bindBuffer(i.ARRAY_BUFFER, c),
                  i.enableVertexAttribArray(l),
                  i.vertexAttribPointer(l, 2, i.FLOAT, !1, 0, 0),
                  i.bindBuffer(i.ARRAY_BUFFER, u),
                  i.enableVertexAttribArray(f),
                  i.vertexAttribPointer(f, 2, i.FLOAT, !1, 0, 0),
                  i.viewport(0, 0, n, r),
                  i.drawArrays(i.TRIANGLES, 0, y.length / 2),
                  i.bindFramebuffer(i.FRAMEBUFFER, null);
              }
              function A(t, e, n) {
                i.activeTexture(e),
                  i.bindTexture(i.TEXTURE_2D, b[t]),
                  i.texParameteri(
                    i.TEXTURE_2D,
                    i.TEXTURE_WRAP_S,
                    i.CLAMP_TO_EDGE
                  ),
                  i.texParameteri(
                    i.TEXTURE_2D,
                    i.TEXTURE_WRAP_T,
                    i.CLAMP_TO_EDGE
                  ),
                  i.texParameteri(i.TEXTURE_2D, i.TEXTURE_MIN_FILTER, i.LINEAR),
                  i.texParameteri(i.TEXTURE_2D, i.TEXTURE_MAG_FILTER, i.LINEAR),
                  i.uniform1i(i.getUniformLocation(a, t), n);
              }
              function T(t, e) {
                var n = o(i.VERTEX_SHADER, t),
                  r = o(i.FRAGMENT_SHADER, e),
                  a = i.createProgram();
                if (
                  (i.attachShader(a, n),
                  i.attachShader(a, r),
                  i.linkProgram(a),
                  !i.getProgramParameter(a, i.LINK_STATUS))
                ) {
                  var s = i.getProgramInfoLog(a);
                  throw (
                    (i.deleteProgram(a),
                    new Error("GL program linking failed: " + s))
                  );
                }
                return a;
              }
              return (
                (r.drawFrame = function (o) {
                  var b = o.format,
                    V =
                      !a ||
                      t.width !== b.displayWidth ||
                      t.height !== b.displayHeight;
                  if (
                    (V &&
                      ((t.width = b.displayWidth),
                      (t.height = b.displayHeight),
                      r.clear()),
                    a ||
                      (function () {
                        if (n.stripe) {
                          (s = T(e.vertexStripe, e.fragmentStripe)),
                            i.getAttribLocation(s, "aPosition"),
                            (u = i.createBuffer());
                          var t = new Float32Array([
                            0, 0, 1, 0, 0, 1, 0, 1, 1, 0, 1, 1,
                          ]);
                          i.bindBuffer(i.ARRAY_BUFFER, u),
                            i.bufferData(i.ARRAY_BUFFER, t, i.STATIC_DRAW),
                            (f = i.getAttribLocation(s, "aTexturePosition")),
                            (d = i.getUniformLocation(s, "uStripe")),
                            (h = i.getUniformLocation(s, "uTexture"));
                        }
                        (a = T(e.vertex, e.fragment)),
                          (c = i.createBuffer()),
                          i.bindBuffer(i.ARRAY_BUFFER, c),
                          i.bufferData(i.ARRAY_BUFFER, y, i.STATIC_DRAW),
                          (l = i.getAttribLocation(a, "aPosition")),
                          (p = i.createBuffer()),
                          (m = i.getAttribLocation(a, "aLumaPosition")),
                          (v = i.createBuffer()),
                          (g = i.getAttribLocation(a, "aChromaPosition"));
                      })(),
                    V)
                  ) {
                    var _ = function (t, e, n) {
                      var r = b.cropLeft / n,
                        o = (b.cropLeft + b.cropWidth) / n,
                        a = (b.cropTop + b.cropHeight) / b.height,
                        s = b.cropTop / b.height,
                        c = new Float32Array([
                          r,
                          a,
                          o,
                          a,
                          r,
                          s,
                          r,
                          s,
                          o,
                          a,
                          o,
                          s,
                        ]);
                      i.bindBuffer(i.ARRAY_BUFFER, t),
                        i.bufferData(i.ARRAY_BUFFER, c, i.STATIC_DRAW);
                    };
                    _(p, 0, o.y.stride),
                      _(v, 0, (o.u.stride * b.width) / b.chromaWidth);
                  }
                  S("uTextureY", V, o.y.stride, b.height, o.y.bytes),
                    S("uTextureCb", V, o.u.stride, b.chromaHeight, o.u.bytes),
                    S("uTextureCr", V, o.v.stride, b.chromaHeight, o.v.bytes),
                    n.stripe &&
                      (E("uTextureY", V, o.y.stride, b.height),
                      E("uTextureCb", V, o.u.stride, b.chromaHeight),
                      E("uTextureCr", V, o.v.stride, b.chromaHeight)),
                    i.useProgram(a),
                    i.viewport(0, 0, t.width, t.height),
                    A("uTextureY", i.TEXTURE0, 0),
                    A("uTextureCb", i.TEXTURE1, 1),
                    A("uTextureCr", i.TEXTURE2, 2),
                    i.bindBuffer(i.ARRAY_BUFFER, c),
                    i.enableVertexAttribArray(l),
                    i.vertexAttribPointer(l, 2, i.FLOAT, !1, 0, 0),
                    i.bindBuffer(i.ARRAY_BUFFER, p),
                    i.enableVertexAttribArray(m),
                    i.vertexAttribPointer(m, 2, i.FLOAT, !1, 0, 0),
                    i.bindBuffer(i.ARRAY_BUFFER, v),
                    i.enableVertexAttribArray(g),
                    i.vertexAttribPointer(g, 2, i.FLOAT, !1, 0, 0),
                    i.drawArrays(i.TRIANGLES, 0, y.length / 2);
                }),
                (r.clear = function () {
                  i.viewport(0, 0, t.width, t.height),
                    i.clearColor(0, 0, 0, 0),
                    i.clear(i.COLOR_BUFFER_BIT);
                }),
                r.clear(),
                r
              );
            }
            (n.stripe = !1),
              (n.contextForCanvas = function (t) {
                var e = {
                  preferLowPowerToHighPerformance: !0,
                  powerPreference: "low-power",
                  failIfMajorPerformanceCaveat: !0,
                  preserveDrawingBuffer: !0,
                };
                return (
                  t.getContext("webgl", e) ||
                  t.getContext("experimental-webgl", e)
                );
              }),
              (n.isAvailable = function () {
                var t,
                  e = document.createElement("canvas");
                (e.width = 1), (e.height = 1);
                try {
                  t = n.contextForCanvas(e);
                } catch {
                  return !1;
                }
                if (t) {
                  var r = t.TEXTURE0,
                    i = t.createTexture(),
                    o = new Uint8Array(16),
                    a = n.stripe ? 1 : 4,
                    s = n.stripe ? t.RGBA : t.ALPHA,
                    c = n.stripe ? t.NEAREST : t.LINEAR;
                  return (
                    t.activeTexture(r),
                    t.bindTexture(t.TEXTURE_2D, i),
                    t.texParameteri(
                      t.TEXTURE_2D,
                      t.TEXTURE_WRAP_S,
                      t.CLAMP_TO_EDGE
                    ),
                    t.texParameteri(
                      t.TEXTURE_2D,
                      t.TEXTURE_WRAP_T,
                      t.CLAMP_TO_EDGE
                    ),
                    t.texParameteri(t.TEXTURE_2D, t.TEXTURE_MIN_FILTER, c),
                    t.texParameteri(t.TEXTURE_2D, t.TEXTURE_MAG_FILTER, c),
                    t.texImage2D(
                      t.TEXTURE_2D,
                      0,
                      s,
                      a,
                      4,
                      0,
                      s,
                      t.UNSIGNED_BYTE,
                      o
                    ),
                    !t.getError()
                  );
                }
                return !1;
              }),
              (n.prototype = Object.create(t.prototype));
          })(),
            (Texture.prototype.bind = function (t, e, n) {
              let r = this.gl;
              r.activeTexture([r.TEXTURE0, r.TEXTURE1, r.TEXTURE2][t]),
                r.bindTexture(r.TEXTURE_2D, this.texture),
                r.uniform1i(r.getUniformLocation(e, n), t);
            }),
            (Texture.prototype.fill = function (t, e, n) {
              let r = this.gl;
              r.bindTexture(r.TEXTURE_2D, this.texture),
                r.texImage2D(
                  r.TEXTURE_2D,
                  0,
                  r.LUMINANCE,
                  t,
                  e,
                  0,
                  r.LUMINANCE,
                  r.UNSIGNED_BYTE,
                  n
                );
            });
          class Renderer {
            constructor(t) {
              this.flv = t;
              const { container: e } = t.options;
              (this.canvas = e),
                (this.gl =
                  e.getContext("webgl2") ||
                  e.getContext("webgl") ||
                  e.getContext("experimental-webgl")),
                this.initGL({ preserveDrawingBuffer: !1 });
            }
            initGL(t) {
              if (!this.gl)
                return void console.log("[ER] WebGL not supported.");
              let e = this.gl;
              e.pixelStorei(e.UNPACK_ALIGNMENT, 1);
              let n = e.createProgram(),
                r = e.createShader(e.VERTEX_SHADER);
              e.shaderSource(
                r,
                "            \n        attribute highp vec4 aVertexPosition;\n        attribute vec2 aTextureCoord;\n        varying highp vec2 vTextureCoord;\n        void main(void) {\n          gl_Position = aVertexPosition;\n          vTextureCoord = aTextureCoord;\n        }"
              ),
                e.compileShader(r);
              let i = e.createShader(e.FRAGMENT_SHADER);
              e.shaderSource(
                i,
                "\n\n        precision mediump float;\n        uniform sampler2D tex;\n        uniform sampler2D YTexture;\n        uniform sampler2D UTexture;\n        uniform sampler2D VTexture;\n        uniform float texWidth;\n        uniform float texHeight;\n        const vec3 keyColor = vec3(0.47, 1.0, 0.47);\n        uniform float similarity;\n        uniform float smoothness;\n        uniform float spill;\n        vec2 RGBtoUV(vec3 rgb) {\n          return vec2(\n            rgb.r * -0.169 + rgb.g * -0.331 + rgb.b *  0.5    + 0.5,\n            rgb.r *  0.5   + rgb.g * -0.419 + rgb.b * -0.081  + 0.5\n          );\n        }\n        const mat4 YUV2RGB = mat4\n        (\n         1.1643828125, 0, 1.59602734375, -.87078515625,\n         1.1643828125, -.39176171875, -.81296875, .52959375,\n         1.1643828125, 2.017234375, 0, -1.081390625,\n         0, 0, 0, 1\n        );\n        vec4 GetRgba(float detaX, float detaY) {\n          vec2 texCoord = vec2((gl_FragCoord.x + detaX)/texWidth, 1.0 - (gl_FragCoord.y + detaY)/texHeight);\n          vec4 rgba = vec4( texture2D(YTexture, texCoord).x, texture2D(UTexture, texCoord).x, texture2D(VTexture, texCoord).x, 1) * YUV2RGB;\n          float green = rgba.g - max(rgba.r, rgba.b);\n          float greenKey = keyColor.g - max(keyColor.r, keyColor.b);\n          float mask = smoothstep(greenKey-0.1, 0.0, green);\n          rgba.a = mask;\n          return rgba;\n        }\n        vec4 ProcessChromaKey() {\n          vec4 rgba = GetRgba(0.0, 0.0);\n          if (rgba.a > 0.0 && rgba.a < 1.0) {\n            vec4 rgbas[9];\n            float maxMask = 0.0;\n            vec4 minRgba = rgba;\n            for (int i = -1; i <= 1; i++) {\n              for (int j = -1; j <= 1; j++) {\n                vec4 tmp;\n                if (i == 0 && j == 0) {\n                  tmp = rgba;\n                } else {\n                  tmp = GetRgba(float(i), float(j));\n                }\n                rgbas[(i+1)*3 + (j+1)] = tmp;\n                if (tmp.a > maxMask) {\n                  maxMask = tmp.a;\n                  minRgba = tmp;\n                }\n              }\n            }\n            rgbas[4] = minRgba;\n            rgbas[4].a = rgba.a;\n            vec4 dest = vec4(0.0, 0.0, 0.0, 0.0);\n\n            float gs[9];\n            gs[0] = gs[2] = gs[6] = gs[8] = 0.05;\n            gs[1] = gs[3] = gs[5] = gs[7] = 0.05;\n            gs[4] = 0.6;\n            for(int i = 0; i < 9; i++) {\n              dest.rgb = dest.rgb + rgbas[i].rgb * gs[i];\n            }\n\n            gs[0] = gs[2] = gs[6] = gs[8] = 0.05;\n            gs[1] = gs[3] = gs[5] = gs[7] = 0.15;\n            gs[4] = 0.2;\n            for(int i = 0; i < 9; i++) {\n              dest.a = dest.a + rgbas[i].a* gs[i];\n            }\n            rgba.rgb = dest.rgb;\n            rgba.a = dest.a;\n            if (rgba.g > rgba.r && rgba.g > rgba.b) {\n              rgba.g = max(rgba.r, rgba.b);\n            }\n            rgba.rgb = rgba.rgb * rgba.a;\n          } else {\n            rgba.rgb = rgba.rgb * rgba.a;\n          }\n          return rgba;\n        }\n      \n        void main(void) {\n          gl_FragColor = ProcessChromaKey();\n        }\n        "
              ),
                e.compileShader(i),
                e.attachShader(n, r),
                e.attachShader(n, i),
                e.linkProgram(n),
                e.useProgram(n),
                e.getProgramParameter(n, e.LINK_STATUS) ||
                  console.log("[ER] Shader link failed.");
              let o = e.getAttribLocation(n, "aVertexPosition");
              e.enableVertexAttribArray(o);
              let a = e.getAttribLocation(n, "aTextureCoord");
              e.enableVertexAttribArray(a);
              let s = e.createBuffer();
              e.bindBuffer(e.ARRAY_BUFFER, s),
                e.bufferData(
                  e.ARRAY_BUFFER,
                  new Float32Array([1, 1, 0, -1, 1, 0, 1, -1, 0, -1, -1, 0]),
                  e.STATIC_DRAW
                ),
                e.vertexAttribPointer(o, 3, e.FLOAT, !1, 0, 0);
              let c = e.createBuffer();
              e.bindBuffer(e.ARRAY_BUFFER, c),
                e.bufferData(
                  e.ARRAY_BUFFER,
                  new Float32Array([1, 0, 0, 0, 1, 1, 0, 1]),
                  e.STATIC_DRAW
                ),
                e.vertexAttribPointer(a, 2, e.FLOAT, !1, 0, 0),
                (e.y = new Texture(e)),
                (e.u = new Texture(e)),
                (e.v = new Texture(e)),
                e.y.bind(0, n, "YTexture"),
                e.u.bind(1, n, "UTexture"),
                e.v.bind(2, n, "VTexture");
              let l = e.getUniformLocation(n, "texWidth"),
                u = e.getUniformLocation(n, "texHeight");
              e.uniform1f(l, this.canvas.width),
                e.uniform1f(u, this.canvas.height);
            }
            drawFrame(t) {
              if (!this.gl)
                return void console.log(
                  "[ER] Render frame failed due to WebGL not supported."
                );
              const {
                  data: e,
                  width: n,
                  height: r,
                  yLength: i,
                  uvLength: o,
                } = t,
                a = new Uint8Array(e),
                s = this.gl;
              s.viewport(0, 0, s.canvas.width, s.canvas.height),
                s.clearColor(0, 0, 0, 0),
                s.clear(s.COLOR_BUFFER_BIT),
                s.y.fill(n, r, a.subarray(0, i)),
                s.u.fill(n >> 1, r >> 1, a.subarray(i, i + o)),
                s.v.fill(n >> 1, r >> 1, a.subarray(i + o, a.length)),
                s.drawArrays(s.TRIANGLE_STRIP, 0, 4);
            }
            fullscreen() {
              let t = this.canvas;
              t.RequestFullScreen
                ? t.RequestFullScreen()
                : t.webkitRequestFullScreen
                ? t.webkitRequestFullScreen()
                : t.mozRequestFullScreen
                ? t.mozRequestFullScreen()
                : t.msRequestFullscreen
                ? t.msRequestFullscreen()
                : alert("This browser doesn't supporter fullscreen");
            }
            exitfullscreen() {
              document.exitFullscreen
                ? document.exitFullscreen()
                : document.webkitExitFullscreen
                ? document.webkitExitFullscreen()
                : document.mozCancelFullScreen
                ? document.mozCancelFullScreen()
                : document.msExitFullscreen
                ? document.msExitFullscreen()
                : alert("Exit fullscreen doesn't work");
            }
            destroy() {
              (this.flv = null), (this.canvas = null), (this.gl = null);
            }
          }
          let Decoder$1 = class {
            constructor(t) {
              return window.VideoDecoder
                ? new Render(t, this)
                : new Renderer(t, this);
            }
          };
          class VideoBasic {
            constructor(t) {
              const { flv: e } = t;
              (this.flv = e),
                (this.playing = !1),
                (this.inputVideoIndex = 0),
                (this.outVideoIndex = 0),
                (this.videoFrames = []),
                (this.lastTime = 0);
              const n = this;
              e.on("destroy", () => {
                (n.playing = !1), (n.videoFrames = null);
              }),
                e.on("timeupdate", (t) => {
                  var e;
                  (null == (e = n.videoFrames[0]) ? void 0 : e.pts) <= t + 20 &&
                    (parseInt(performance.now()),
                    (this.lastTime = parseInt(performance.now())),
                    n.draw(0));
                });
            }
            get decoding() {
              return this.outVideoIndex !== this.inputVideoIndex;
            }
            framePlay() {
              return !(
                !(
                  (this.lastTime > 0 && this.videoFrames.length > 0) ||
                  this.videoFrames.length > 2
                ) || !this.playing
              );
            }
            getVideoList() {
              return this.videoFrames;
            }
            reset() {
              (this.playing = !1),
                this.workerReset(),
                window.VideoDecoder &&
                  this.videoFrames.forEach((t) => {
                    var e;
                    null == (e = t.data) || e.close();
                  }),
                (this.videoFrames = []),
                (this.inputVideoIndex = 0),
                (this.outVideoIndex = 0),
                (this.lastTime = 0);
            }
            clearList() {
              window.VideoDecoder &&
                this.videoFrames.forEach((t) => {
                  var e;
                  null == (e = t.data) || e.close();
                }),
                (this.videoFrames = []),
                (this.inputVideoIndex = 0),
                (this.outVideoIndex = 0),
                (this.lastTime = 0);
            }
            draw(t) {
              const e = this.videoFrames[t];
              if (!e) return !1;
              this.videoFrames.shift(),
                window.VideoDecoder
                  ? "videoEnd" != e.type
                    ? this.flv.render.drawFrame(e.data)
                    : (this.flv.playAudioLastFrame(),
                      this.flv.options.wxServerEnd())
                  : "videoEnd" != e.type
                  ? this.flv.render.drawFrame(e)
                  : (this.flv.playAudioLastFrame(),
                    this.flv.options.wxServerEnd());
            }
            play() {
              this.videoFrames.length > 0
                ? (this.playing = !0)
                : (this.playing = !1);
            }
            stop() {
              this.playing = !1;
            }
          }
          class Wasm extends VideoBasic {
            constructor(t) {
              super(t);
              const { flv: e } = t;
              (this.flv = e),
                (this.firstTarget = !1),
                (this.animationFrameTimer = null),
                (this.list = []),
                (this.loop = !1),
                this.workerInit(),
                this.animationFrame(),
                e.on("videoData", (t, e) => {
                  this.list.push({ buffer: t, timestamp: e });
                }),
                e.on("destroy", () => {
                  this.animationFrameTimer &&
                    cancelAnimationFrame(this.animationFrameTimer),
                    (this.animationFrameTimer = null),
                    this.decoderWorker.postMessage({ type: "stop" }),
                    this.decoderWorker.terminate(),
                    (this.decoderWorker = null);
                });
            }
            workerInit() {
              const t = this;
              (this.decoderWorker = new Worker("ffmpegWorker.js")),
                (this.decoderWorker.onmessage = (e) => {
                  const n = e.data;
                  switch (n.type) {
                    case "video":
                    case "videoEnd":
                      this.outVideoIndex++, this.videoFrames.push(n);
                      break;
                    case "loaded":
                      this.firstTarget
                        ? (console.log("重启wasm"),
                          setTimeout(() => {
                            t.loop = !0;
                          }, 100))
                        : ((this.firstTarget = !0),
                          this.flv.emit("workOn"),
                          setTimeout(() => {
                            t.loop = !0;
                          }, 100));
                  }
                });
            }
            workerReset() {
              (this.loop = !1),
                (this.list = []),
                console.log("wasm restart"),
                this.decoderWorker.postMessage({ type: "stop" }),
                this.decoderWorker.terminate(),
                this.workerInit();
            }
            animationFrame() {
              const t = this;
              this.animationFrameTimer = requestAnimationFrame(() => {
                if (t.list[0] && t.loop) {
                  const e = t.list.shift();
                  t.inputVideoIndex++,
                    t.decoderWorker.postMessage(
                      { data: e.buffer, pts: e.timestamp },
                      [e.buffer.buffer]
                    );
                }
                this.animationFrame();
              });
            }
          }
          const webCodecsText =
            'let renderer = null;\nlet pendingFrame = null;\nlet startTime = null;\nlet frameCount = 0;\nlet width = 1080;\nlet height = 1920;\nlet videoDecoder = null;\nlet h264Arr = [];\nlet decoding = false;\nlet playing = false;\nlet animationFrameTimer = null;\nlet fpsTime = 0;\nlet fpsCount = 0;\nlet missCount = 0;\nlet initCount = 0;\n\nfunction copyFrame(prototype_frame) {\n  let size = prototype_frame.allocationSize();\n  let buf = new ArrayBuffer(size);\n  prototype_frame.copyTo(buf);\n  let init = {\n    format: prototype_frame.format,\n    timestamp: prototype_frame.timestamp,\n    codedWidth: prototype_frame.visibleRect.width,\n    codedHeight: prototype_frame.visibleRect.height,\n    displayWidth: prototype_frame.displayWidth,\n    displayHeight: prototype_frame.displayHeight,\n    colorSpace: prototype_frame.colorSpace,\n    transfer: [buf]\n  };\n  prototype_frame.close();\n  return new VideoFrame(buf, init);\n}\nfunction animationFrame() {\n  animationFrameTimer = requestAnimationFrame(() => {\n    const h264Len = h264Arr.length;\n    if (h264Len > 0 && decoding == false && playing) {\n      let nowTime = getNowTime();\n      if (fpsTime == 0 || fpsTime < nowTime - 1000) {\n        if (fpsTime == 0) {\n          console.info(nowTime, \'start decode\');\n          missCount = 10;\n        } else {\n          if (fpsCount < 25) {\n            missCount += 25 - fpsCount;\n          } else {\n            missCount = missCount - (fpsCount - 25);\n          }\n          console.info(fpsTime, \'decode fps\', fpsCount, \', miss\', missCount);\n        }\n        fpsTime = nowTime;\n        fpsCount = 0;\n      }\n      if (fpsCount < 25 + missCount) {\n        try {\n          const buffer = h264Arr.shift();\n          // console.log(h264Arr.length, buffer, h264Arr[0])\n          if (h264Len <= 2 && h264Arr[0]?.byteLength == 1) {\n            self.postMessage({\n              "type": \'videoEnd\',\n              "pts": buffer.timestamp\n            });\n            h264Arr = [];\n            initCount = 0;\n          } else if (buffer.byteLength != 1) {\n            // console.log("解码")\n            if (initCount > 25) {\n              decoding = true;\n            }\n            videoDecoder.decode(buffer);\n            fpsCount = fpsCount + 1;\n            initCount++;\n          }\n        } catch (e) {\n          console.info(e);\n          decoding = false;\n        }\n      }\n    }\n    animationFrame();\n  })\n}\n\n// Startup.\nfunction webCodes() {\n  videoDecoder = new VideoDecoder({\n    output: (videoFrame) => {\n      if (!playing) {\n        videoFrame.close();\n        return;\n      };\n      // const copyVideoFrame = copyFrame(videoFrame);\n      // self.postMessage({\n      //   "type": \'video\',\n      //   "data": copyVideoFrame,\n      //   "pts": copyVideoFrame.timestamp\n      // });\n      // videoFrame.close();\n      self.postMessage({\n        "type": \'video\',\n        "data": videoFrame,\n        "pts": videoFrame.timestamp\n      },[videoFrame]);\n      decoding = false;\n    },\n    error: (error) => {\n      console.error(error)\n    }\n  })\n  videoDecoder.configure({\n    codec: \'avc1.640032\',\n    codecWidth: width,         //解码数据宽度\n    codecHeight: height,        //解码数据高度\n    hardwareAcceleration: \'prefer-hardware\'\n  });\n  animationFrame();\n  playing = true;\n  decoding = false;\n  fpsTime = 0;\n}\nfunction start() {\n  webCodes();\n  console.log("webcodes success");\n  self.postMessage({\n    type: "loaded"\n  });\n}\nfunction reStart() {\n  webCodes();\n  console.log("reStart webcodes")\n}\nfunction getNowTime() {\n  if (performance && typeof performance.now === \'function\') {\n    return parseInt(performance.now());\n  }\n  return Date.now();\n}\n\nself.addEventListener(\'message\', function (e) {\n  var data = e.data;\n  switch (data.type) {\n    case \'start\':\n      width = data.width;\n      height = data.height;\n      start();\n      break;\n    case \'reStart\':\n      playing = false;\n      cancelAnimationFrame(animationFrameTimer)\n      videoDecoder.flush();\n      h264Arr = [];\n      missCount = 10;\n      initCount = 0;\n      reStart();\n      break;\n    case \'destroy\':\n      playing = false;\n      videoDecoder.flush();\n      cancelAnimationFrame(animationFrameTimer)\n      self.close(); // Terminates the worker.\n      break;\n    default:\n      if (playing) {\n        const chunk = new EncodedVideoChunk({\n          timestamp: data.timestamp,             //视频帧的时间戳\n          type: true ? "key" : "delta",   //是否是关键帧\n          data: data.buffer,                //视频数据\n        })\n        h264Arr.push(chunk);\n      }\n  };\n}, false);';
          function copyFrame(t) {
            let e = t.allocationSize(),
              n = new ArrayBuffer(e);
            t.copyTo(n);
            let r = {
              format: t.format,
              timestamp: t.timestamp,
              codedWidth: t.visibleRect.width,
              codedHeight: t.visibleRect.height,
              displayWidth: t.displayWidth,
              displayHeight: t.displayHeight,
              colorSpace: t.colorSpace,
              transfer: [n],
            };
            return t.close(), new VideoFrame(n, r);
          }
          class WebCode extends VideoBasic {
            constructor(t) {
              super(t);
              const { flv: e } = t,
                {
                  container: n,
                  decodeH: r = 1080,
                  decodeW: i = 1920,
                } = e.options;
              (this.canvas = n),
                (this.worker = createWorker(webCodecsText)),
                (this.worker.onmessage = (t) => {
                  let n = t.data;
                  switch (n.type) {
                    case "video":
                      const t = copyFrame(n.data);
                      (n.data = t),
                        this.outVideoIndex++,
                        this.videoFrames.push(n);
                      break;
                    case "videoEnd":
                      this.outVideoIndex++, this.videoFrames.push(n);
                      break;
                    case "loaded":
                      e.emit("workOn");
                      break;
                    default:
                      console.log("webCodecsWorker", n);
                  }
                }),
                this.worker.postMessage({ type: "start", width: i, height: r });
              const o = this;
              e.on("destroy", () => {
                o.worker.postMessage({ type: "destroy" }),
                  o.worker.terminate(),
                  (o.worker = null);
              }),
                e.on("videoData", (t, e) => {
                  this.inputVideoIndex++,
                    o.worker.postMessage({ buffer: t, timestamp: e }, [
                      t.buffer,
                    ]);
                });
            }
            workerReset() {
              console.log("webcodes restart"),
                this.worker.postMessage({ type: "reStart" });
            }
          }
          class Decoder {
            constructor(t) {
              return window.VideoDecoder
                ? (console.info("Webcodec decode"), new WebCode(t))
                : (console.info("wasm decode"), new Wasm(t));
            }
          }
          var dist = { exports: {} };
          !(function (t, e) {
            t.exports = (function () {
              class t {
                constructor(t) {
                  this.init(t);
                }
                init(t) {
                  const e = {
                    inputCodec: "Int16",
                    channels: 1,
                    sampleRate: 8e3,
                    flushTime: 1e3,
                  };
                  (this.option = Object.assign({}, e, t)),
                    (this.samples = new Float32Array()),
                    (this.interval = setInterval(
                      this.flush.bind(this),
                      this.option.flushTime
                    )),
                    (this.convertValue = this.getConvertValue()),
                    (this.typedArray = this.getTypedArray()),
                    this.initAudioContext(),
                    this.bindAudioContextEvent();
                }
                getConvertValue() {
                  const t = {
                    Int8: 128,
                    Int16: 32768,
                    Int32: 2147483648,
                    Float32: 1,
                  };
                  if (!t[this.option.inputCodec])
                    throw new Error(
                      "wrong codec.please input one of these codecs:Int8,Int16,Int32,Float32"
                    );
                  return t[this.option.inputCodec];
                }
                getTypedArray() {
                  const t = {
                    Int8: Int8Array,
                    Int16: Int16Array,
                    Int32: Int32Array,
                    Float32: Float32Array,
                  };
                  if (!t[this.option.inputCodec])
                    throw new Error(
                      "wrong codec.please input one of these codecs:Int8,Int16,Int32,Float32"
                    );
                  return t[this.option.inputCodec];
                }
                initAudioContext() {
                  (this.audioCtx = new (window.AudioContext ||
                    window.webkitAudioContext)()),
                    (this.gainNode = this.audioCtx.createGain()),
                    (this.gainNode.gain.value = 0.1),
                    this.gainNode.connect(this.audioCtx.destination),
                    (this.startTime = this.audioCtx.currentTime);
                }
                static isTypedArray(t) {
                  return (
                    (t.byteLength &&
                      t.buffer &&
                      t.buffer.constructor == ArrayBuffer) ||
                    t.constructor == ArrayBuffer
                  );
                }
                isSupported(e) {
                  if (!t.isTypedArray(e))
                    throw new Error("请传入ArrayBuffer或者任意TypedArray");
                  return !0;
                }
                feed(t) {
                  this.isSupported(t), (t = this.getFormattedValue(t));
                  const e = new Float32Array(this.samples.length + t.length);
                  e.set(this.samples, 0),
                    e.set(t, this.samples.length),
                    (this.samples = e);
                }
                getFormattedValue(t) {
                  t =
                    t.constructor == ArrayBuffer
                      ? new this.typedArray(t)
                      : new this.typedArray(t.buffer);
                  let e = new Float32Array(t.length);
                  for (let n = 0; n < t.length; n++)
                    e[n] = t[n] / this.convertValue;
                  return e;
                }
                volume(t) {
                  this.gainNode.gain.value = t;
                }
                destroy() {
                  this.interval && clearInterval(this.interval),
                    (this.samples = null),
                    this.audioCtx.close(),
                    (this.audioCtx = null);
                }
                flush() {
                  if (!this.samples.length) return;
                  const t = this;
                  var e = this.audioCtx.createBufferSource();
                  "function" == typeof this.option.onended &&
                    (e.onended = function (e) {
                      t.option.onended(this, e);
                    });
                  const n = this.samples.length / this.option.channels,
                    r = this.audioCtx.createBuffer(
                      this.option.channels,
                      n,
                      this.option.sampleRate
                    );
                  for (let t = 0; t < this.option.channels; t++) {
                    const e = r.getChannelData(t);
                    let i = t,
                      o = 50;
                    for (let t = 0; t < n; t++)
                      (e[t] = this.samples[i]),
                        t < 50 && (e[t] = (e[t] * t) / 50),
                        t >= n - 51 && (e[t] = (e[t] * o--) / 50),
                        (i += this.option.channels);
                  }
                  this.startTime < this.audioCtx.currentTime &&
                    (this.startTime = this.audioCtx.currentTime),
                    (e.buffer = r),
                    e.connect(this.gainNode),
                    e.start(this.startTime),
                    (this.startTime += r.duration),
                    (this.samples = new Float32Array());
                }
                async pause() {
                  await this.audioCtx.suspend();
                }
                async continue() {
                  await this.audioCtx.resume();
                }
                bindAudioContextEvent() {
                  const t = this;
                  "function" == typeof t.option.onstatechange &&
                    (this.audioCtx.onstatechange = function (e) {
                      t.audioCtx &&
                        t.option.onstatechange(this, e, t.audioCtx.state);
                    });
                }
              }
              return t;
            })();
          })(dist);
          var distExports = dist.exports;
          const PCMPlayer$1 = getDefaultExportFromCjs(distExports);
          let AudioPlayer$1 = class {
              constructor(t) {
                const { flv: e } = t;
                (this.playing = !1),
                  (this.paused = !1),
                  (this.audioPts = []),
                  (this.outAudioIndex = 0),
                  (this.inputAudioIndex = 0),
                  (this.volume = e.options.volume),
                  (this.k32 = e.options.k32),
                  (this.audioCtrl = new PCMPlayer$1({
                    inputCodec: "Int16",
                    channels: 1,
                    sampleRate: this.k32 ? 32e3 : 16e3,
                    flushTime: 240,
                    endCallback: () => {
                      this.playing = !1;
                    },
                  })),
                  this.audioCtrl.volume(this.volume),
                  e.on("audioData", (t, e) => {
                    this.audioPts.push({ pts: e, buffer: t });
                  }),
                  e.on("destroy", () => {
                    (this.audioPts = null),
                      this.audioCtrl.destroy(),
                      (this.audioCtrl = null);
                  }),
                  e.on("timeupdate", (t) => {
                    this.resume();
                    for (let t = 0; t < 10; t++) this.feed(0);
                  });
              }
              get decoding() {
                return this.outAudioIndex !== this.inputAudioIndex;
              }
              get framePlay() {
                return this.audioPts.length > 0 && this.playing;
              }
              get getTimestamp() {
                var t;
                return null == (t = this.audioCtrl) ? void 0 : t.getTimestamp();
              }
              feed(t) {
                const e = this.audioPts[t];
                if (!e) return !1;
                this.audioCtrl.feed(e.buffer), this.audioPts.shift();
              }
              play() {
                this.audioPts.length > 0
                  ? (this.playing = !0)
                  : (this.playing = !1);
              }
              reset() {
                (this.playing = !1),
                  this.audioCtrl.destroy(),
                  (this.audioCtrl = new PCMPlayer$1({
                    inputCodec: "Int16",
                    channels: 1,
                    sampleRate: this.k32 ? 32e3 : 16e3,
                    flushTime: 240,
                    endCallback: () => {
                      this.playing = !1;
                    },
                  })),
                  this.audioCtrl.volume(this.volume),
                  (this.audioPts = []),
                  (this.outAudioIndex = 0),
                  (this.inputAudioIndex = 0);
              }
              clearList() {
                (this.audioPts = []),
                  (this.outAudioIndex = 0),
                  (this.inputAudioIndex = 0);
              }
              stop() {
                (this.playing = !1), this.audioCtrl.pause();
              }
              pause() {
                0 == this.paused &&
                  (console.log("audio pause......."),
                  (this.paused = !0),
                  this.audioCtrl.pause());
              }
              resume() {
                1 == this.paused &&
                  (console.log("audio resume......."),
                  (this.paused = !1),
                  this.audioCtrl.continue());
              }
              playLastFrame() {
                this.audioPts.length > 0 &&
                  (this.audioPts.some((t) => {
                    this.audioCtrl.feed(t.buffer);
                  }),
                  (this.audioPts = []));
              }
            },
            Play$1 = class {
              constructor(t) {
                (this.flv = t),
                  (this.streaming = !1),
                  (this.ended = !0),
                  (this.animationFrameTimer = null),
                  (this.decoder = new Decoder(this)),
                  (this.audioDecoder = new AudioPlayer$1(this)),
                  (this.sign = 0),
                  (this.resultSign = 0),
                  (this.playerStatus = ""),
                  (this.currentTime = 0),
                  (this.lastUpdateTime = 0),
                  t.on("destroy", () => {
                    this.waitingTimer && clearTimeout(this.waitingTimer),
                      (this.waitingTimer = null),
                      this.animationFrameTimer &&
                        cancelAnimationFrame(this.animationFrameTimer),
                      (this.animationFrameTimer = null),
                      (this.ended = !0);
                  }),
                  t.on("streaming", () => {
                    this.streaming = !0;
                  }),
                  t.on("streamEnd", () => {
                    (this.streaming = !1),
                      this.waitingTimer && clearTimeout(this.waitingTimer),
                      (this.waitingTimer = null);
                  });
              }
              init() {
                this.waitingTimer && clearTimeout(this.waitingTimer),
                  (this.waitingTimer = null),
                  (this.currentTime = 0),
                  (this.lastUpdateTime = 0),
                  this.animationFrame(),
                  (this.ended = !1);
              }
              animationFrame() {
                this.animationFrameTimer = requestAnimationFrame(() => {
                  if (this.decoder.framePlay()) {
                    const t = parseInt(getNowTime$1());
                    this.flv.stearmPtsH ||
                      ((this.flv.stearmPtsH = !0),
                      (this.currentTime = 0),
                      (this.lastUpdateTime = t)),
                      (this.currentTime += t - this.lastUpdateTime),
                      (this.lastUpdateTime = t),
                      this.flv.emit("timeupdate", this.currentTime),
                      "canplay" != this.playerStatus &&
                        ((this.playerStatus = "canplay"),
                        this.flv.options.canPlay());
                  } else if (
                    this.streaming ||
                    this.decoder.decoding ||
                    this.audioDecoder.decoding
                  ) {
                    this.audioDecoder.pause();
                    const t = this.decoder.getVideoList();
                    return (
                      t <= 2 &&
                        t.some((t) => "videoEnd" == t.type) &&
                        (this.flv.playAudioLastFrame(),
                        this.flv.options.wxServerEnd()),
                      void (this.waitingTimer = setTimeout(() => {
                        !this.decoder.framePlay() &&
                          !this.audioDecoder.framePlay &&
                          "waiting" != this.playerStatus &&
                          ((this.playerStatus = "waiting"),
                          this.flv.options.waiting()),
                          (this.lastUpdateTime = getNowTime$1()),
                          this.play();
                      }, 300))
                    );
                  }
                  this.animationFrame();
                });
              }
              play() {
                this.decoder.play(),
                  this.audioDecoder.play(),
                  this.animationFrame();
              }
              restart() {
                this.decoder.reset(),
                  this.audioDecoder.reset(),
                  (this.currentTime = 0),
                  (this.lastUpdateTime = 0),
                  (this.playerStatus = "");
              }
              clearList() {
                this.decoder.clearList(), this.audioDecoder.clearList();
              }
              continue() {
                this.animationFrameTimer ||
                  ((this.playerStatus = "canplay"),
                  (this.lastUpdateTime = getNowTime$1()),
                  this.animationFrame(),
                  this.audioDecoder.resume(),
                  this.flv.options.canPlay());
              }
              stop() {
                (this.playerStatus = "waiting"),
                  this.flv.options.waiting(),
                  this.audioDecoder.pause(),
                  this.waitingTimer && clearTimeout(this.waitingTimer),
                  (this.waitingTimer = null),
                  this.animationFrameTimer &&
                    cancelAnimationFrame(this.animationFrameTimer),
                  (this.animationFrameTimer = null);
              }
            };
          const to32k = (t) => {
            let e = new Uint8Array(2 * t.byteLength);
            for (let n = 0; n < t.byteLength / 2; n++)
              (e[4 * n] = t[2 * n]),
                (e[4 * n + 1] = t[2 * n + 1]),
                (e[4 * n + 2] = t[2 * n]),
                (e[4 * n + 3] = t[2 * n + 1]);
            return e;
          };
          let flvStearmLoad$1 = class extends Emitter$1 {
            constructor(t) {
              super(),
                (this.options = Object.assign({ url: "", volume: 1, ...t })),
                (this.timestamp = 0),
                (this.audioTimestamp = 0),
                this.init(),
                (this.stearmPtsH = !1);
            }
            init() {
              this.options.webcodeDisabled && (window.VideoDecoder = !1),
                (this.render = new Decoder$1(this)),
                (this.player = new Play$1(this)),
                this.on("workOn", () => {
                  this.stearmInit(), this.player.init();
                }),
                (this.timestamp = 0),
                (this.audioTimestamp = 0);
            }
            stearmInit() {
              const t = this;
              (this.socket = new WebSocket(this.options.url)),
                (this.socket.binaryType = "arraybuffer"),
                (this.socket.onopen = () => {
                  t.options.cbOpen(t.socket), t.emit("streamStart");
                }),
                (this.socket.onmessage = (e) => {
                  t.options.cbMessage(t.socket, e, function (e, n) {
                    n
                      ? t.clearList()
                      : (t.emit("streaming"),
                        80 === e[0] && 67 === e[1] && 77 === e[2]
                          ? ((t.audioTimestamp += 40),
                            (e = e.slice(3)),
                            t.options.k32 && (e = to32k(e)),
                            t.emit("audioData", e, t.audioTimestamp))
                          : ((t.timestamp += 40),
                            t.emit("videoData", e, t.timestamp)));
                  });
                }),
                (this.socket.onerror = (e) => {
                  throw (
                    (t.options.cbError(t.socket, e),
                    t.emit("streamError", e),
                    e)
                  );
                }),
                (this.socket.onclose = () => {
                  (this.stearmPtsH = !1),
                    t.options.cbClose(t.socket),
                    t.emit("streamEnd");
                });
            }
            destroy() {
              this.emit("destroy"),
                this.socket && (this.socket.close(), (this.socket = null)),
                this.render.destroy(),
                (this.render = null);
            }
            restart() {
              console.error("restart stream"),
                (this.timestamp = 80),
                (this.audioTimestamp = 0),
                (this.stearmPtsH = !1),
                this.player.restart();
            }
            clearList() {
              this.player.clearList();
            }
            changeVolume(t) {
              t
                ? ((this.player.audioDecoder.volume = 0),
                  this.player.audioDecoder.audioCtrl.volume(0))
                : ((this.player.audioDecoder.volume = this.options.volume),
                  this.player.audioDecoder.audioCtrl.volume(
                    this.options.volume
                  ));
            }
            playAudioLastFrame() {
              this.player.audioDecoder.playLastFrame();
            }
          };
          const blankMp3 =
              "data:audio/mpeg;base64, ",
            isPlat$3 = judgeEnvironment().includes("Chrome");
          let ffmPlayer = null,
            pacemaker$3 = !1,
            websocket$3 = null,
            videoPlayerInit$1 = !1,
            interval$3 = 5,
            ffmcanvas = null,
            c2 = null,
            silentVideo$2 = null,
            blankAudio = null,
            videoWidth$3 = "",
            videoHeight$3 = "",
            reqRes$3 = null,
            playStatus = !1,
            serverEnded = !1,
            videoFlow = "",
            emitter$3 = new Emitter$2();
          const checkVideoStatus = debounce(() => {
              console.log("checkVideoStatus"),
                playStatus &&
                  "waiting" == videoFlow &&
                  serverEnded &&
                  ((serverEnded = !1),
                  emitter$3.emit("videoEnd"),
                  null == websocket$3 || websocket$3.send(SendMsg.startAsr()));
            }, 280),
            checkCondition$3 = (t) => {
              "WebSocket" in window
                ? t(!0, "success")
                : t(!1, "当前浏览器不支持websocketio连接");
            },
            webReconnect$1 = (t = !1) => {
              slientShowTarget(!0),
                ffmPlayer.restart(),
                (videoPlayerInit$1 = !0);
            },
            loopConnect$3 = () => {
              uninstallEvent$3(!1), startPlayer$3();
            },
            pageAcitveStatusGet$3 = () => {
              console.log("重新连接"),
                setTimeout(() => {
                  (interval$3 += 5),
                    interval$3 > 30 && (interval$3 = 30),
                    loopConnect$3();
                }, 1e3 * interval$3);
            },
            uninstallEvent$3 = (t = !0) => {
              (pacemaker$3 = t),
                (videoPlayerInit$1 = !1),
                heartPing.end(),
                ffmPlayer && (ffmPlayer.destroy(), (ffmPlayer = null));
            };
          let asrWsApp$3 = null;
          const startPlayer$3 = () => {
            let {
              _sign: t,
              _projectId: e,
              _drivertype: n,
              _volume: r,
              _asr: i,
              decodeType: o,
            } = commonObj;
            ffmPlayer = new flvStearmLoad$1({
              url: websocketInit$1({
                _projectId: e,
                _sign: t,
                isPlat: isPlat$3,
                type: 0,
                _drivertype: n,
                requestVideo: requestVideo$3,
              }),
              width: videoWidth$3,
              height: videoHeight$3,
              container: ffmcanvas,
              webcodeDisabled: 1 == o,
              cbOpen: function (t) {
                console.log("建立websocket", t),
                  (websocket$3 = t),
                  i && asrWsApp$3 && asrWsApp$3(t),
                  heartPing.start(() => {
                    1 ==
                      (null == websocket$3 ? void 0 : websocket$3.readyState) &&
                      (null == websocket$3 ||
                        websocket$3.send(JSON.stringify({ signal: "ping" })));
                  });
              },
              cbMessage: isPlat$3
                ? function (t, e, n) {
                    if ("object" == typeof e.data) {
                      const t = new Uint8Array(e.data);
                      if (
                        72 === t[0] &&
                        80 === t[1] &&
                        67 === t[2] &&
                        77 === t[3]
                      )
                        return (
                          (videoPlayerInit$1 = !1),
                          console.log("——————————loop new——————————————"),
                          void n(null, !0)
                        );
                      videoPlayerInit$1 || n(t, videoPlayerInit$1);
                    } else if ("ppg-end" != e.data)
                      if (e.data.includes("requests overload"))
                        (pacemaker$3 = !0),
                          emitter$3.emit("wsMessage", {
                            type: "requests overload",
                          });
                      else if (e.data.includes("{")) {
                        const t = JSON.parse(e.data);
                        if ("asr-part" == t.type)
                          emitter$3.emit("wsMessage", t);
                        else if ("asr" == t.type)
                          emitter$3.emit("wsMessage", t);
                        else if ("answer" == t.type)
                          emitter$3.emit("wsMessage", t);
                        else if (
                          "startAsr" != t.type &&
                          "startSleep" != t.type &&
                          "wakeup" != t.type
                        )
                          if ("server_ready" == t.type)
                            emitter$3.emit("initIos"),
                              emitter$3.emit("wsMessage", t);
                          else if ("server_ended" != t.type)
                            if ("error" == t.type) {
                              if (t.content.includes("ping")) return;
                              emitter$3.emit("wsMessage", t);
                            } else t.type;
                      }
                  }
                : function (t, e, n) {
                    const r = new Uint8Array(e.data);
                    if (
                      116 === r[0] &&
                      101 === r[1] &&
                      120 === r[2] &&
                      116 === r[3]
                    ) {
                      const t = get_text$1(r);
                      if ("ppg-end" != t && "pong" != t)
                        if (t.includes("requests overload"))
                          (pacemaker$3 = !0),
                            emitter$3.emit("wsMessage", {
                              type: "requests overload",
                            });
                        else if (t.includes("{")) {
                          const e = JSON.parse(t);
                          if ("asr-part" == e.type)
                            emitter$3.emit("wsMessage", e);
                          else if ("asr" == e.type)
                            emitter$3.emit("wsMessage", e);
                          else if ("answer" == e.type)
                            emitter$3.emit("wsMessage", e);
                          else if ("startAsr" == e.type)
                            emitter$3.emit("wsMessage", e);
                          else if ("startSleep" == e.type)
                            emitter$3.emit("wsMessage", e);
                          else if ("wakeup" == e.type)
                            emitter$3.emit("wsMessage", e);
                          else if ("server_ready" == e.type)
                            emitter$3.emit("initIos"),
                              emitter$3.emit("wsMessage", e);
                          else if ("server_ended" != e.type)
                            if ("error" == e.type) {
                              if (e.content.includes("ping")) return;
                              emitter$3.emit("wsMessage", e);
                            } else e.type;
                        }
                    } else {
                      if (
                        72 === r[0] &&
                        80 === r[1] &&
                        67 === r[2] &&
                        77 === r[3]
                      )
                        return (
                          (videoPlayerInit$1 = !1),
                          console.log("——————————loop new——————————————"),
                          void n(null, !0)
                        );
                      videoPlayerInit$1 || n(r, videoPlayerInit$1);
                    }
                  },
              cbError: function (t, e) {
                console.log("websocket错误：", e),
                  !e.content.includes("ping") &&
                    emitter$3.emit("wsMessage", {
                      type: "websocket Error",
                      value: e,
                    });
              },
              cbClose: function (t) {
                console.log("websocket close"),
                  pacemaker$3 || commonObj._loop
                    ? (heartPing.end(),
                      emitter$3.emit("wsMessage", { type: "websocket close" }))
                    : (pageAcitveStatusGet$3(),
                      emitter$3.emit("wsMessage", {
                        type: "websocket reLoop",
                      }));
              },
              cbDestroy: function (t) {
                console.error("websocket销毁！");
              },
              wxServerEnd: function () {
                console.log("-----wxServerEnd"),
                  (playStatus = !0),
                  (serverEnded = !0),
                  checkVideoStatus();
              },
              canPlay: function () {
                console.log("-----canPlay"),
                  slientShowTarget(!1),
                  webglCut.videoPlay(),
                  (videoFlow = "canplay"),
                  emitter$3.emit("videoStart");
              },
              waiting: function () {
                console.log("-----waiting"),
                  slientShowTarget(!0),
                  webglCut.slicePlay(),
                  (videoFlow = "waiting"),
                  checkVideoStatus();
              },
            });
          };
          function displayEle$1(t, e) {
            t.style.display = e;
          }
          const slientShowTarget = debounce((t) => {
            t
              ? (displayEle$1(ffmcanvas, "none"), displayEle$1(c2, "inline"))
              : (displayEle$1(ffmcanvas, "inline"), displayEle$1(c2, "none"));
          }, 120);
          let requestVideo$3 = "";
          function player$3(t, e, n, r, i = 1) {
            (videoWidth$3 = viewMap[e][r].width),
              (videoHeight$3 = viewMap[e][r].height),
              (requestVideo$3 = `requestWidth=${videoWidth$3}&requestHeight=${videoHeight$3}`),
              (document.querySelector(
                t
              ).innerHTML = `\n      <canvas id="ffmcanvas" style="zoom:${i};" width="${videoWidth$3}" height="${videoHeight$3}"></canvas>\n      <canvas id="digitalPlayer" style="zoom:${i};" width="${videoWidth$3}" height="${videoHeight$3}"></canvas>\n      <video id="silentVideo" width="${videoWidth$3}" height="${videoHeight$3}" src="${n}" muted loop autoplay hidden webkit-playsinline="true" playsinline="true" crossorigin="anonymous"></video>\n      <audio id='blankAudio' src="${blankMp3}" loop autoplay preload></audio>\n      <div\n        id="cmwwJhDialog"\n        style="\n          display: none;\n          justify-content: center;\n          align-items: center;\n          position: fixed;\n          top: 0;\n          left: 0;\n          background: rgba(0, 0, 0, 0.5);\n          width: 100vw;\n          height: 100vh;\n          z-index:9999;\n        "\n      >\n        <button style="\n          width:150px;\n          height:45px;\n        ">数字人开始交互</button>\n      </div>`),
              (ffmcanvas = querySelectorEl("#ffmcanvas")),
              (c2 = querySelectorEl("#digitalPlayer")),
              (silentVideo$2 = querySelectorEl("#silentVideo")),
              (blankAudio = querySelectorEl("#blankAudio")),
              displayEle$1(ffmcanvas, "none"),
              displayEle$1(c2, "none");
          }
          let xxPlayer$3 = class extends Emitter$2 {
            constructor(
              {
                environment: t,
                containerLable: e,
                token: n,
                projectId: r,
                quality: i,
                zoom: o,
                clientId: a,
                volume: s,
                asr: c,
              },
              l
            ) {
              if ((super(), c)) {
                const {
                  asrDestroy: t,
                  asrWsAppoint: e,
                  asrStart: n,
                } = asrWs((t) => {
                  console.log(t, "mic"),
                    "1" == t.type &&
                      ((asrWsApp$3 = e),
                      websocket$3 && asrWsApp$3(websocket$3));
                });
                n();
              }
              (emitter$3 = new Emitter$2()),
                (this.containerLable = e),
                (commonObj._sign = n),
                (commonObj._projectId = r),
                (this.quality = i || 1),
                (this.zoom = o || 1),
                (commonObj._env = t || "prd"),
                (commonObj._volume = s || 1),
                (commonObj._asr = c || !1),
                (commonObj.decodeType = l.data.decodeType),
                (reqRes$3 = l),
                (this.streamImg = !1);
            }
            init() {
              checkCondition$3((t) => {
                if (t) {
                  let { avatarSilenceUrl: t, avatarDirection: e } =
                    reqRes$3.data;
                  player$3(this.containerLable, e, t, this.quality, this.zoom),
                    emitter$3.on("videoEnd", () => {
                      this.emit("message", { type: "videoEnd", data: {} });
                    }),
                    emitter$3.on("videoStart", () => {
                      this.emit("message", { type: "videoStart", data: {} });
                    }),
                    emitter$3.on("wsMessage", (t) => {
                      this.emit("message", { type: "wsMessage", data: t });
                    }),
                    emitter$3.on("initIos", () => {
                      silentVideo$2 &&
                        silentVideo$2
                          .play()
                          .then((t) => {
                            console.log("1交互静音视频播放"),
                              setTimeout(() => {
                                webglCut.slicePlay(),
                                  commonObj._dialog &&
                                    commonObj._dialog({ type: "auto" });
                              }, 400);
                          })
                          .catch((t) => {
                            if (
                              (console.log("1交互静音视频播放失败-", t),
                              commonObj._dialog)
                            )
                              commonObj._dialog({ type: "no" });
                            else {
                              const t = this,
                                e = document.querySelector("#cmwwJhDialog");
                              (e.style.display = "flex"),
                                document
                                  .querySelector("#cmwwJhDialog button")
                                  .addEventListener("click", () => {
                                    t.playSilentvideo(),
                                      webglCut.slicePlay(),
                                      (e.style.display = "none"),
                                      t.emit("intialSucccess", { type: "3" });
                                  });
                            }
                          });
                    }),
                    this.startPlay();
                } else this.emit("intialError", msg);
              });
            }
            playSilentvideo() {
              silentVideo$2 &&
                silentVideo$2
                  .play()
                  .then((t) => {
                    console.log("2ffm交互静音视频播放");
                  })
                  .catch((t) => {
                    console.log("2ffm交互静音视频播放失败-", t);
                  }),
                null == blankAudio || blankAudio.play();
            }
            startPlay() {
              ffmcanvas && displayEle$1(ffmcanvas, "none"),
                webglCut.load(null, silentVideo$2, c2, (t) => {
                  (videoPlayerInit$1 = !0),
                    displayEle$1(c2, "inline"),
                    startPlayer$3(this.direction, this.quality);
                });
            }
            setClientId(t) {
              t ? (commonObj._clientId = t) : console.log("clientId不能为空");
            }
            stopPlay() {
              uninstallEvent$3(),
                (ffmcanvas = null),
                (c2 = null),
                (silentVideo$2 = null),
                (videoWidth$3 = ""),
                (videoHeight$3 = ""),
                (reqRes$3 = null),
                (this.streamImg = !1),
                webglCut.endWebcam(),
                webglCut.destroy(),
                null == blankAudio || blankAudio.pause();
            }
            playQA(t, e) {
              null == websocket$3 || websocket$3.send(SendMsg.qa(t, e)),
                (this.streamImg = !0),
                null == blankAudio || blankAudio.play();
            }
            interrupt() {
              null == websocket$3 || websocket$3.send(SendMsg.interrupt()),
                webglCut.slicePlay(),
                webReconnect$1(!0),
                (this.streamImg = !1),
                null == blankAudio || blankAudio.pause();
            }
            playText(t) {
              null == websocket$3 || websocket$3.send(SendMsg.text(t));
            }
            playStreamText(t) {
              null == websocket$3 || websocket$3.send(SendMsg.streamText(t));
            }
            playStreamTextStart(t, e) {
              null == websocket$3 ||
                websocket$3.send(SendMsg.streamTextStart(t, e)),
                (this.streamImg = !0),
                null == blankAudio || blankAudio.play();
            }
            playStreamTextEnd() {
              null == websocket$3 || websocket$3.send(SendMsg.streamTextEnd());
            }
            playAudio(t) {
              null == websocket$3 || websocket$3.send(SendMsg.streamAudio(t)),
                (this.streamImg = !0);
            }
            playAudioEnd() {
              null == websocket$3 || websocket$3.send(SendMsg.streamAudioEnd());
            }
            playCurVideo() {
              this.streamImg &&
                (null == websocket$3 || websocket$3.send(SendMsg.resumePlay()),
                ffmPlayer.player.continue());
            }
            stopCurVideo() {
              this.streamImg &&
                (null == websocket$3 || websocket$3.send(SendMsg.pausePlay()),
                ffmPlayer.player.stop());
            }
            sendText(t, e) {
              this.interrupt(), this.playQA(t, e);
            }
            sendStreamTextStart(t, e) {
              this.interrupt(), this.playStreamTextStart(t, e);
            }
            sendStreamText(t) {
              null == websocket$3 || websocket$3.send(SendMsg.streamText(t));
            }
            sendStreamTextEnd() {
              null == websocket$3 || websocket$3.send(SendMsg.streamTextEnd());
            }
            destroyPlayer() {
              this.stopPlay();
            }
            getStatusWs() {
              return websocket$3;
            }
          };
          function webRtcPlayer$1(t) {
            t = typeof t < "u" ? t : {};
            var e = this;
            (this.cfg =
              typeof t.peerConnectionOptions < "u"
                ? t.peerConnectionOptions
                : {}),
              (this.cfg.sdpSemantics = "unified-plan"),
              (this.cfg.offerExtmapAllowMixed = !1),
              (this.pcClient = null),
              (this.dcClient = null),
              (this.tnClient = null),
              (this._audio = null),
              (this._volume = 1),
              (this.sdpConstraints = {
                offerToReceiveAudio: 1,
                offerToReceiveVideo: 1,
                voiceActivityDetection: !1,
              }),
              (this.dataChannelOptions = { ordered: !0 }),
              (this.startVideoMuted =
                typeof t.startVideoMuted < "u" && t.startVideoMuted),
              (this.autoPlayAudio =
                !(typeof t.autoPlayAudio < "u") || t.autoPlayAudio);
            const n = new URLSearchParams(window.location.search);
            (this.useMic = n.has("useMic")), this.useMic;
            let r =
                "localhost" === location.hostname ||
                "127.0.0.1" === location.hostname,
              i = "https:" === location.protocol;
            this.useMic && !r && !i && (this.useMic = !1),
              (this.latencyTestTimings = {
                TestStartTimeMs: null,
                UEReceiptTimeMs: null,
                UEPreCaptureTimeMs: null,
                UEPostCaptureTimeMs: null,
                UEPreEncodeTimeMs: null,
                UEPostEncodeTimeMs: null,
                UETransmissionTimeMs: null,
                BrowserReceiptTimeMs: null,
                FrameDisplayDeltaTimeMs: null,
                Reset: function () {
                  (this.TestStartTimeMs = null),
                    (this.UEReceiptTimeMs = null),
                    (this.UEPreCaptureTimeMs = null),
                    (this.UEPostCaptureTimeMs = null),
                    (this.UEPreEncodeTimeMs = null),
                    (this.UEPostEncodeTimeMs = null),
                    (this.UETransmissionTimeMs = null),
                    (this.BrowserReceiptTimeMs = null),
                    (this.FrameDisplayDeltaTimeMs = null);
                },
                SetUETimings: function (t) {
                  (this.UEReceiptTimeMs = t.ReceiptTimeMs),
                    (this.UEPreCaptureTimeMs = t.PreCaptureTimeMs),
                    (this.UEPostCaptureTimeMs = t.PostCaptureTimeMs),
                    (this.UEPreEncodeTimeMs = t.PreEncodeTimeMs),
                    (this.UEPostEncodeTimeMs = t.PostEncodeTimeMs),
                    (this.UETransmissionTimeMs = t.TransmissionTimeMs),
                    (this.BrowserReceiptTimeMs = Date.now()),
                    this.OnAllLatencyTimingsReady(this);
                },
                SetFrameDisplayDeltaTime: function (t) {
                  null == this.FrameDisplayDeltaTimeMs &&
                    ((this.FrameDisplayDeltaTimeMs = Math.round(t)),
                    this.OnAllLatencyTimingsReady(this));
                },
                OnAllLatencyTimingsReady: function (t) {},
              }),
              (this.createWebRtcVideo = function () {
                var t = document.createElement("video");
                if (
                  ((t.id = "digital3DPlayer"),
                  (t.playsInline = !0),
                  (t.disablepictureinpicture = !0),
                  (t.muted = e.startVideoMuted),
                  (t.autoplay = "autoplay"),
                  (t.hidden = !0),
                  t.addEventListener(
                    "loadedmetadata",
                    function (t) {
                      e.onVideoInitialised && e.onVideoInitialised();
                    },
                    !0
                  ),
                  "requestVideoFrameCallback" in HTMLVideoElement.prototype)
                ) {
                  const n = (r, i) => {
                    if (i.receiveTime && i.expectedDisplayTime) {
                      const t = i.presentationTime - i.receiveTime;
                      e.aggregatedStats.receiveToCompositeMs = t;
                    }
                    t.requestVideoFrameCallback(n);
                  };
                  t.requestVideoFrameCallback(n);
                }
                return t;
              }),
              (this.video = this.createWebRtcVideo());
            const o = function (t) {},
              a = function (t) {},
              s = function (t) {},
              c = function (t) {
                t.track,
                  "audio" != t.track.kind
                    ? ("video" == t.track.kind &&
                        (e.video.srcObject, t.streams[0]),
                      (e.video.srcObject = t.streams[0]))
                    : l(t.streams[0]);
              },
              l = function (t) {
                if (
                  e.video.srcObject != t &&
                  e.video.srcObject &&
                  e.video.srcObject !== t
                ) {
                  let n = document.createElement("Audio");
                  if (
                    ((e._audio = n),
                    (n.volume = e._volume),
                    (n.srcObject = t),
                    e.autoPlayAudio)
                  )
                    n.play();
                  else {
                    let t = function () {
                      n.play(), e.video.removeEventListener("click", t);
                    };
                    e.video.addEventListener("click", t);
                  }
                }
              },
              u = function (t) {
                t.candidate &&
                  t.candidate.candidate &&
                  e.onWebRtcCandidate(t.candidate);
              },
              f = function (t) {
                t.sdp = t.sdp.replace(
                  "useinbandfec=1",
                  "useinbandfec=1;stereo=1;sprop-maxcapturerate=48000"
                );
              };
            (this.setVideoEnabled = function (t) {
              e.video.srcObject.getTracks().forEach((e) => (e.enabled = t));
            }),
              (this.startLatencyTest = function (t) {
                e.video &&
                  (e.latencyTestTimings.Reset(),
                  (e.latencyTestTimings.TestStartTimeMs = Date.now()),
                  t(e.latencyTestTimings.TestStartTimeMs));
              }),
              (this.handleCandidateFromServer = function (t) {
                let n = new RTCIceCandidate(t);
                e.pcClient.addIceCandidate(n).then((t) => {});
              }),
              (this.createOffer = function () {
                e.pcClient && (e.pcClient.close(), (e.pcClient = null)),
                  (e.pcClient = new RTCPeerConnection(e.cfg)),
                  (async function (t) {
                    if (
                      (t.addTransceiver("video", { direction: "recvonly" }),
                      e.useMic)
                    ) {
                      let n = !!e.useMic && {
                        autoGainControl: !1,
                        channelCount: 1,
                        echoCancellation: !1,
                        latency: 0,
                        noiseSuppression: !1,
                        sampleRate: 16e3,
                        volume: 1,
                      };
                      const r = await navigator.mediaDevices.getUserMedia({
                        video: !1,
                        audio: n,
                      });
                      if (r)
                        for (const e of r.getTracks())
                          e.kind &&
                            "audio" == e.kind &&
                            t.addTransceiver(e, { direction: "sendrecv" });
                      else t.addTransceiver("audio", { direction: "recvonly" });
                    } else t.addTransceiver("audio", { direction: "recvonly" });
                  })(e.pcClient).finally(function () {
                    var t;
                    (t = e.pcClient).SetBitrate &&
                      (t.onsignalingstatechange = o),
                      (t.oniceconnectionstatechange = a),
                      (t.onicegatheringstatechange = s),
                      (t.ontrack = c),
                      (t.onicecandidate = u),
                      (e.dcClient = (function (t, n, r) {
                        try {
                          let i = t.createDataChannel(n, r);
                          return (
                            (i.binaryType = "arraybuffer"),
                            (i.onopen = function (t) {
                              e.onDataChannelConnected &&
                                e.onDataChannelConnected();
                            }),
                            (i.onclose = function (t) {}),
                            (i.onmessage = function (t) {
                              e.onDataChannelMessage &&
                                e.onDataChannelMessage(t.data);
                            }),
                            i
                          );
                        } catch {
                          return null;
                        }
                      })(e.pcClient, "cirrus", e.dataChannelOptions)),
                      (function (t) {
                        t.createOffer(e.sdpConstraints).then(
                          function (n) {
                            f(n),
                              t.setLocalDescription(n),
                              e.onWebRtcOffer && e.onWebRtcOffer(n);
                          },
                          function () {
                            console.warn("Couldn't create offer");
                          }
                        );
                      })(e.pcClient);
                  });
              }),
              (this.receiveAnswer = function (t) {
                var n = new RTCSessionDescription(t);
                e.pcClient.setRemoteDescription(n);
                let r = e.pcClient.getReceivers();
                for (let t of r) t.playoutDelayHint = 0;
              }),
              (this.close = function () {
                e.pcClient && (e.pcClient.close(), (e.pcClient = null)),
                  e.aggregateStatsIntervalId &&
                    clearInterval(e.aggregateStatsIntervalId);
              }),
              (this.send = function (t) {
                e.dcClient &&
                  "open" == e.dcClient.readyState &&
                  e.dcClient.send(t);
              }),
              (this.getStats = function (t) {
                e.pcClient &&
                  t &&
                  e.pcClient.getStats(null).then((e) => {
                    t(e);
                  });
              }),
              (this.aggregateStats = function (t) {
                let n =
                  (e.aggregatedStats || (e.aggregatedStats = {}),
                  function (t) {
                    let n = {};
                    t.forEach((t) => {
                      "inbound-rtp" == t.type &&
                        !t.isRemote &&
                        ("video" == t.mediaType ||
                          t.id.toLowerCase().includes("video")) &&
                        ((n.timestamp = t.timestamp),
                        (n.bytesReceived = t.bytesReceived),
                        (n.framesDecoded = t.framesDecoded),
                        (n.packetsLost = t.packetsLost),
                        (n.bytesReceivedStart =
                          e.aggregatedStats &&
                          e.aggregatedStats.bytesReceivedStart
                            ? e.aggregatedStats.bytesReceivedStart
                            : t.bytesReceived),
                        (n.framesDecodedStart =
                          e.aggregatedStats &&
                          e.aggregatedStats.framesDecodedStart
                            ? e.aggregatedStats.framesDecodedStart
                            : t.framesDecoded),
                        (n.timestampStart =
                          e.aggregatedStats && e.aggregatedStats.timestampStart
                            ? e.aggregatedStats.timestampStart
                            : t.timestamp),
                        e.aggregatedStats &&
                          e.aggregatedStats.timestamp &&
                          (e.aggregatedStats.bytesReceived &&
                            ((n.bitrate =
                              (8 *
                                (n.bytesReceived -
                                  e.aggregatedStats.bytesReceived)) /
                              (n.timestamp - e.aggregatedStats.timestamp)),
                            (n.bitrate = Math.floor(n.bitrate)),
                            (n.lowBitrate =
                              e.aggregatedStats.lowBitrate &&
                              e.aggregatedStats.lowBitrate < n.bitrate
                                ? e.aggregatedStats.lowBitrate
                                : n.bitrate),
                            (n.highBitrate =
                              e.aggregatedStats.highBitrate &&
                              e.aggregatedStats.highBitrate > n.bitrate
                                ? e.aggregatedStats.highBitrate
                                : n.bitrate)),
                          e.aggregatedStats.bytesReceivedStart &&
                            ((n.avgBitrate =
                              (8 *
                                (n.bytesReceived -
                                  e.aggregatedStats.bytesReceivedStart)) /
                              (n.timestamp - e.aggregatedStats.timestampStart)),
                            (n.avgBitrate = Math.floor(n.avgBitrate))),
                          e.aggregatedStats.framesDecoded &&
                            ((n.framerate =
                              (n.framesDecoded -
                                e.aggregatedStats.framesDecoded) /
                              ((n.timestamp - e.aggregatedStats.timestamp) /
                                1e3)),
                            (n.framerate = Math.floor(n.framerate)),
                            (n.lowFramerate =
                              e.aggregatedStats.lowFramerate &&
                              e.aggregatedStats.lowFramerate < n.framerate
                                ? e.aggregatedStats.lowFramerate
                                : n.framerate),
                            (n.highFramerate =
                              e.aggregatedStats.highFramerate &&
                              e.aggregatedStats.highFramerate > n.framerate
                                ? e.aggregatedStats.highFramerate
                                : n.framerate)),
                          e.aggregatedStats.framesDecodedStart &&
                            ((n.avgframerate =
                              (n.framesDecoded -
                                e.aggregatedStats.framesDecodedStart) /
                              ((n.timestamp -
                                e.aggregatedStats.timestampStart) /
                                1e3)),
                            (n.avgframerate = Math.floor(n.avgframerate))))),
                        "track" == t.type &&
                          ("video_label" == t.trackIdentifier ||
                            "video" == t.kind) &&
                          ((n.framesDropped = t.framesDropped),
                          (n.framesReceived = t.framesReceived),
                          (n.framesDroppedPercentage =
                            (t.framesDropped / t.framesReceived) * 100),
                          (n.frameHeight = t.frameHeight),
                          (n.frameWidth = t.frameWidth),
                          (n.frameHeightStart =
                            e.aggregatedStats &&
                            e.aggregatedStats.frameHeightStart
                              ? e.aggregatedStats.frameHeightStart
                              : t.frameHeight),
                          (n.frameWidthStart =
                            e.aggregatedStats &&
                            e.aggregatedStats.frameWidthStart
                              ? e.aggregatedStats.frameWidthStart
                              : t.frameWidth)),
                        "candidate-pair" == t.type &&
                          t.hasOwnProperty("currentRoundTripTime") &&
                          0 != t.currentRoundTripTime &&
                          (n.currentRoundTripTime = t.currentRoundTripTime);
                    }),
                      e.aggregatedStats.receiveToCompositeMs &&
                        ((n.receiveToCompositeMs =
                          e.aggregatedStats.receiveToCompositeMs),
                        e.latencyTestTimings.SetFrameDisplayDeltaTime(
                          e.aggregatedStats.receiveToCompositeMs
                        )),
                      (e.aggregatedStats = n),
                      e.onAggregatedStats && e.onAggregatedStats(n);
                  });
                e.aggregateStatsIntervalId = setInterval(() => {
                  e.getStats(n);
                }, t);
              }),
              (this.changeVol = function (t) {
                (this._volume = t), this._audio && (this._audio.volume = t);
              });
          }
          let webSocketUrl = null,
            successCallback = () => {},
            failCallback = () => {},
            interactiveTimeExpiredCallback = () => {},
            kbEvent = document.createEvent("KeyboardEvent");
          kbEvent.initKeyboardEvent;
          let webRtcPlayerObj = null,
            ws;
          const WS_OPEN_STATE = 1;
          let lastTimeResized = new Date().getTime(),
            resizeTimeout,
            responseEventListeners = new Map(),
            freezeFrameOverlay = null,
            shouldShowPlayOverlay = !0,
            freezeFrame = {
              receiving: !1,
              size: 0,
              jpeg: void 0,
              height: 0,
              width: 0,
              valid: !1,
            },
            afk = {
              enabled: !0,
              warnTimeout: 9999999,
              closeTimeout: 10,
              active: !1,
              overlay: void 0,
              warnTimer: void 0,
              countdown: 0,
              countdownTimer: void 0,
            },
            editTextButton,
            hiddenInput;
          function setOverlay(t, e, n) {
            let r = document.getElementById("videoPlayOverlay");
            if (!r) {
              let t = document.getElementById("player");
              (r = document.createElement("div")),
                (r.id = "videoPlayOverlay"),
                t && t.appendChild(r);
            }
            for (; r.lastChild; ) r.removeChild(r.lastChild);
            e && r.appendChild(e),
              n &&
                r.addEventListener("click", function t(e) {
                  n(e), r.removeEventListener("click", t);
                });
            let i = r.classList;
            for (let t = i.length - 1; t >= 0; t--) i.remove(i[t]);
            r.classList.add(t);
          }
          function showConnectOverlay() {
            connect(), startAfkWarningTimer();
          }
          function showTextOverlay(t) {
            let e = document.createElement("div");
            (e.id = "messageOverlay"),
              (e.innerHTML = t || ""),
              setOverlay("textDisplayState", e);
          }
          function showAfkOverlay() {
            stopAfkWarningTimer(),
              (afk.overlay = document.createElement("div")),
              (afk.overlay.id = "afkOverlay"),
              setOverlay("clickableState", afk.overlay, (t) => {
                hideOverlay(),
                  clearInterval(afk.countdownTimer),
                  startAfkWarningTimer();
              }),
              (afk.countdown = afk.closeTimeout),
              document.exitPointerLock(),
              (afk.countdownTimer = setInterval(function () {
                afk.countdown--,
                  0 == afk.countdown &&
                    (hideOverlay(),
                    ws.close(),
                    clearInterval(afk.countdownTimer));
              }, 1e3));
          }
          function hideOverlay() {
            setOverlay("hiddenState");
          }
          function startAfkWarningTimer() {
            (afk.active = afk.enabled), resetAfkWarningTimer();
          }
          function stopAfkWarningTimer() {
            afk.active = !1;
          }
          let num = afk.warnTimeout,
            fiveMinuteTimer = null;
          function resetAfkWarningTimer() {
            afk.active &&
              ((num = afk.warnTimeout),
              clearTimeout(afk.warnTimer),
              clearInterval(afk.countdownTimer),
              clearInterval(fiveMinuteTimer),
              (fiveMinuteTimer = setInterval(() => {
                num--,
                  0 === num &&
                    interactiveTimeExpiredCallback &&
                    interactiveTimeExpiredCallback(!0);
              }, 1e3)),
              (afk.warnTimer = setTimeout(function () {
                showAfkOverlay();
              }, 1e3 * afk.warnTimeout)));
          }
          function createWebRtcOffer() {
            webRtcPlayerObj
              ? (console.log("Creating offer"), webRtcPlayerObj.createOffer())
              : (console.log("WebRTC player not setup, cannot create offer"),
                showTextOverlay("Unable to setup video"));
          }
          function sendInputData(t) {
            webRtcPlayerObj &&
              (interactiveTimeExpiredCallback &&
                interactiveTimeExpiredCallback(!1),
              (afk.active = afk.enabled),
              resetAfkWarningTimer(),
              webRtcPlayerObj.send(t));
          }
          const ToClientMessageType = {
            QualityControlOwnership: 0,
            Response: 1,
            Command: 2,
            FreezeFrame: 3,
            UnfreezeFrame: 4,
            VideoEncoderAvgQP: 5,
            LatencyTest: 6,
            InitialSettings: 7,
          };
          let VideoEncoderQP = "N/A";
          function setupWebRtcPlayer(t, e) {
            function n(t) {
              freezeFrame.receiving ||
                ((freezeFrame.receiving = !0),
                (freezeFrame.valid = !1),
                (freezeFrame.size = 0),
                (freezeFrame.jpeg = void 0)),
                (freezeFrame.size = new DataView(t.slice(1, 5).buffer).getInt32(
                  0,
                  !0
                ));
              let e = t.slice(5);
              if (freezeFrame.jpeg) {
                let t = new Uint8Array(freezeFrame.jpeg.length + e.length);
                t.set(freezeFrame.jpeg, 0),
                  t.set(e, freezeFrame.jpeg.length),
                  (freezeFrame.jpeg = t);
              } else
                (freezeFrame.jpeg = e),
                  (freezeFrame.receiving = !0),
                  console.log(
                    `received first chunk of freeze frame: ${freezeFrame.jpeg.length}/${freezeFrame.size}`
                  );
              freezeFrame.jpeg.length === freezeFrame.size
                ? ((freezeFrame.receiving = !1),
                  (freezeFrame.valid = !0),
                  console.log(
                    `received complete freeze frame ${freezeFrame.size}`
                  ),
                  (function () {
                    let t = btoa(
                        freezeFrame.jpeg.reduce(
                          (t, e) => t + String.fromCharCode(e),
                          ""
                        )
                      ),
                      e =
                        document.getElementById("freezeFrameOverlay")
                          .childNodes[0];
                    (e.src = "data:image/jpeg;base64," + t),
                      (e.onload = function () {
                        (freezeFrame.height = e.naturalHeight),
                          (freezeFrame.width = e.naturalWidth),
                          resizeFreezeFrameOverlay(),
                          shouldShowPlayOverlay
                            ? resizePlayerStyle()
                            : showFreezeFrameOverlay(),
                          webRtcPlayerObj.setVideoEnabled(!1);
                      });
                  })())
                : freezeFrame.jpeg.length > freezeFrame.size &&
                  (console.error(
                    `received bigger freeze frame than advertised: ${freezeFrame.jpeg.length}/${freezeFrame.size}`
                  ),
                  (freezeFrame.jpeg = void 0),
                  (freezeFrame.receiving = !1));
            }
            return (
              (webRtcPlayerObj = new webRtcPlayer$1(e)),
              t.appendChild(webRtcPlayerObj.video),
              (webRtcPlayerObj.onWebRtcOffer = function (t) {
                if (ws && ws.readyState === WS_OPEN_STATE) {
                  let e = JSON.stringify(t);
                  ws.send(e);
                }
              }),
              (webRtcPlayerObj.onWebRtcCandidate = function (t) {
                ws &&
                  ws.readyState === WS_OPEN_STATE &&
                  ws.send(
                    JSON.stringify({ type: "iceCandidate", candidate: t })
                  );
              }),
              (webRtcPlayerObj.onVideoInitialised = function () {
                ws &&
                  ws.readyState === WS_OPEN_STATE &&
                  shouldShowPlayOverlay &&
                  resizePlayerStyle();
              }),
              (webRtcPlayerObj.onDataChannelConnected = function () {
                ws &&
                  ws.readyState === WS_OPEN_STATE &&
                  webRtcPlayerObj.video &&
                  webRtcPlayerObj.video.srcObject &&
                  webRtcPlayerObj.onVideoInitialised &&
                  (webRtcPlayerObj.onVideoInitialised(),
                  successCallback && successCallback(ws));
              }),
              (webRtcPlayerObj.onDataChannelMessage = function (t) {
                let e = new Uint8Array(t);
                if (e[0] === ToClientMessageType.QualityControlOwnership) {
                  let t = 0 !== e[1];
                  console.log(
                    "Received quality controller message, will control quality: " +
                      t
                  );
                } else if (e[0] === ToClientMessageType.Response) {
                  let e = new TextDecoder("utf-16").decode(t.slice(1));
                  for (let t of responseEventListeners.values()) t(e);
                } else if (e[0] === ToClientMessageType.Command) {
                  let e = new TextDecoder("utf-16").decode(t.slice(1));
                  console.log(e);
                  let n = JSON.parse(e);
                  "onScreenKeyboard" === n.command && showOnScreenKeyboard(n);
                } else if (e[0] === ToClientMessageType.FreezeFrame) n(e);
                else if (e[0] === ToClientMessageType.UnfreezeFrame)
                  invalidateFreezeFrameOverlay();
                else if (e[0] === ToClientMessageType.VideoEncoderAvgQP)
                  VideoEncoderQP = new TextDecoder("utf-16").decode(t.slice(1));
                else if (e[0] == ToClientMessageType.LatencyTest) {
                  let e = new TextDecoder("utf-16").decode(t.slice(1));
                  console.log("Got latency timings from UE."), console.log(e);
                  let n = JSON.parse(e);
                  webRtcPlayerObj &&
                    webRtcPlayerObj.latencyTestTimings.SetUETimings(n);
                } else if (e[0] == ToClientMessageType.InitialSettings) {
                  let e = new TextDecoder("utf-16").decode(t.slice(1));
                  JSON.parse(e);
                } else
                  console.error(
                    `unrecognized data received, packet ID ${e[0]}`
                  );
              }),
              createWebRtcOffer(),
              webRtcPlayerObj.video
            );
          }
          function onWebRtcAnswer(t) {
            webRtcPlayerObj.receiveAnswer(t),
              (webRtcPlayerObj.onAggregatedStats = (t) => {
                let e = new Intl.NumberFormat(window.navigator.language, {
                    maximumFractionDigits: 0,
                  }),
                  n = new Intl.NumberFormat(window.navigator.language, {
                    maximumFractionDigits: 0,
                    minimumIntegerDigits: 2,
                  }),
                  r = (t.timestamp - t.timestampStart) / 1e3,
                  i = [],
                  o = [60, 60];
                for (let t = 0; t < o.length; t++)
                  i.push(r % o[t]), (r /= o[t]);
                i.push(r);
                let a = i[0],
                  s = Math.floor(i[1]),
                  c = Math.floor([i[2]]),
                  l = "B",
                  u = t.hasOwnProperty("bytesReceived") ? t.bytesReceived : 0,
                  f = ["kB", "MB", "GB"];
                for (let t = 0; t < f.length && !(u < 1e5); t++)
                  (u /= 1e3), (l = f[t]);
                document.getElementById("qualityStatus");
                let d = "",
                  h = "lime";
                VideoEncoderQP > 35
                  ? ((h = "red"),
                    (d += `<div style="color: ${h}">Bad network connection</div>`))
                  : VideoEncoderQP > 26 &&
                    ((h = "orange"),
                    (d += `<div style="color: ${h}">Spotty network connection</div>`)),
                  (d += `<div>Duration: ${n.format(c)}:${n.format(
                    s
                  )}:${n.format(a)}</div>`),
                  (d += `<div>Video Resolution: ${
                    t.hasOwnProperty("frameWidth") &&
                    t.frameWidth &&
                    t.hasOwnProperty("frameHeight") &&
                    t.frameHeight
                      ? t.frameWidth + "x" + t.frameHeight
                      : "Chrome only"
                  }</div>`),
                  (d += `<div>Received (${l}): ${e.format(u)}</div>`),
                  (d += `<div>Frames Decoded: ${
                    t.hasOwnProperty("framesDecoded")
                      ? e.format(t.framesDecoded)
                      : "Chrome only"
                  }</div>`),
                  (d += `<div>Packets Lost: ${
                    t.hasOwnProperty("packetsLost")
                      ? e.format(t.packetsLost)
                      : "Chrome only"
                  }</div>`),
                  (d += `<div style="color: ${h}">Bitrate (kbps): ${
                    t.hasOwnProperty("bitrate")
                      ? e.format(t.bitrate)
                      : "Chrome only"
                  }</div>`),
                  (d += `<div>Framerate: ${
                    t.hasOwnProperty("framerate")
                      ? e.format(t.framerate)
                      : "Chrome only"
                  }</div>`),
                  (d += `<div>Frames dropped: ${
                    t.hasOwnProperty("framesDropped")
                      ? e.format(t.framesDropped)
                      : "Chrome only"
                  }</div>`),
                  (d += `<div>Net RTT (ms): ${
                    t.hasOwnProperty("currentRoundTripTime")
                      ? e.format(1e3 * t.currentRoundTripTime)
                      : "Can't calculate"
                  }</div>`),
                  (d += `<div>Browser receive to composite (ms): ${
                    t.hasOwnProperty("receiveToCompositeMs")
                      ? e.format(t.receiveToCompositeMs)
                      : "Chrome only"
                  }</div>`),
                  (d += `<div style="color: ${h}">Video Quantization Parameter: ${VideoEncoderQP}</div>`);
              }),
              webRtcPlayerObj.aggregateStats(1e3),
              (webRtcPlayerObj.latencyTestTimings.OnAllLatencyTimingsReady =
                function (t) {
                  if (!t.BrowserReceiptTimeMs) return;
                  let e = t.BrowserReceiptTimeMs - t.TestStartTimeMs,
                    n =
                      0 == t.UEPreEncodeTimeMs || 0 == t.UEPreCaptureTimeMs
                        ? "???"
                        : t.UEPostEncodeTimeMs - t.UEPreCaptureTimeMs,
                    r = t.UEPostCaptureTimeMs - t.UEPreCaptureTimeMs,
                    i = t.UEPostEncodeTimeMs - t.UEPreEncodeTimeMs,
                    o = t.UETransmissionTimeMs - t.UEReceiptTimeMs,
                    a = e - o,
                    s = e - a - o,
                    c = null,
                    l = null;
                  t.FrameDisplayDeltaTimeMs &&
                    t.BrowserReceiptTimeMs &&
                    ((c = t.FrameDisplayDeltaTimeMs + e), (l = c - a - o));
                  let u = "";
                  (u += `<div>Net latency RTT (ms): ${a}</div>`),
                    (u += `<div>UE Capture+Encode (ms): ${n}</div>`),
                    (u += `<div>UE Capture (ms): ${r}</div>`),
                    (u += `<div>UE Encode (ms): ${i}</div>`),
                    (u += `<div>Total UE latency (ms): ${o}</div>`),
                    (u += `<div>Browser send latency (ms): ${s}</div>`),
                    (u +=
                      t.FrameDisplayDeltaTimeMs && t.BrowserReceiptTimeMs
                        ? `<div>Browser receive latency (ms): ${t.FrameDisplayDeltaTimeMs}</div>`
                        : ""),
                    (u += l
                      ? `<div>Total browser latency (ms): ${l}</div>`
                      : ""),
                    (u += `<div>Total latency (excluding browser) (ms): ${e}</div>`),
                    (u += c ? `<div>Total latency (ms): ${c}</div>` : ""),
                    (document.getElementById("LatencyStats").innerHTML = u);
                });
          }
          function onWebRtcIce(t) {
            webRtcPlayerObj && webRtcPlayerObj.handleCandidateFromServer(t);
          }
          let styleWidth,
            styleHeight,
            styleTop,
            styleLeft,
            styleCursor = "default",
            styleAdditional;
          function resizePlayerStyleToFillWindow(t) {
            let e = t.getElementsByTagName("VIDEO"),
              n = window.innerHeight / window.innerWidth,
              r = t.clientHeight / t.clientWidth,
              i = e.videoHeight / e.videoWidth;
            isNaN(i)
              ? ((styleWidth = window.innerWidth),
                (styleHeight = window.innerHeight),
                (styleTop = 0),
                (styleLeft = 0),
                (t.style =
                  "top: " +
                  styleTop +
                  "px; left: " +
                  styleLeft +
                  "px; width: " +
                  styleWidth +
                  "px; height: " +
                  styleHeight +
                  "px; cursor: " +
                  styleCursor +
                  "; " +
                  styleAdditional))
              : n < r
              ? ((styleWidth = Math.floor(window.innerHeight / i)),
                (styleHeight = window.innerHeight),
                (styleTop = 0),
                (styleLeft = Math.floor(
                  0.5 * (window.innerWidth - styleWidth)
                )),
                (t.style =
                  "top: " +
                  styleTop +
                  "px; left: " +
                  styleLeft +
                  "px; width: " +
                  styleWidth +
                  "px; height: " +
                  styleHeight +
                  "px; cursor: " +
                  styleCursor +
                  "; " +
                  styleAdditional))
              : ((styleWidth = window.innerWidth),
                (styleHeight = Math.floor(window.innerWidth * i)),
                (styleTop = Math.floor(
                  0.5 * (window.innerHeight - styleHeight)
                )),
                (styleLeft = 0),
                (t.style =
                  "top: " +
                  styleTop +
                  "px; left: " +
                  styleLeft +
                  "px; width: " +
                  styleWidth +
                  "px; height: " +
                  styleHeight +
                  "px; cursor: " +
                  styleCursor +
                  "; " +
                  styleAdditional));
          }
          function resizePlayerStyleToActualSize(t) {
            let e = t.getElementsByTagName("VIDEO");
            if (e.length > 0) {
              (styleWidth = e[0].videoWidth), (styleHeight = e[0].videoHeight);
              let n = Math.floor(0.5 * (window.innerHeight - styleHeight)),
                r = Math.floor(0.5 * (window.innerWidth - styleWidth));
              (styleTop = n > 0 ? n : 0),
                (styleLeft = r > 0 ? r : 0),
                (t.style =
                  "top: " +
                  styleTop +
                  "px; left: " +
                  styleLeft +
                  "px; width: " +
                  styleWidth +
                  "px; height: " +
                  styleHeight +
                  "px; cursor: " +
                  styleCursor +
                  "; " +
                  styleAdditional);
            }
          }
          function resizePlayerStyleToArbitrarySize(t) {
            t.getElementsByTagName("VIDEO"),
              (t.style =
                "top: 0px; left: 0px; width: " +
                styleWidth +
                "px; height: " +
                styleHeight +
                "px; cursor: " +
                styleCursor +
                "; " +
                styleAdditional);
          }
          function showFreezeFrameOverlay() {
            freezeFrame.valid &&
              (freezeFrameOverlay.classList.add("freezeframeBackground"),
              (freezeFrameOverlay.style.display = "block"));
          }
          function invalidateFreezeFrameOverlay() {
            (freezeFrameOverlay.style.display = "none"),
              (freezeFrame.valid = !1),
              freezeFrameOverlay.classList.remove("freezeframeBackground"),
              webRtcPlayerObj && webRtcPlayerObj.setVideoEnabled(!0);
          }
          function resizeFreezeFrameOverlay() {
            if (0 !== freezeFrame.width && 0 !== freezeFrame.height) {
              let t = 0,
                e = 0,
                n = 0,
                r = 0,
                i = document.getElementById(
                  "enlarge-display-to-fill-window-tgl"
                ),
                o = document.getElementById("player");
              if (null !== i && i.checked) {
                let i = window.innerWidth / window.innerHeight,
                  o = freezeFrame.width / freezeFrame.height;
                i < o
                  ? ((t = window.innerWidth),
                    (e = Math.floor(window.innerWidth / o)),
                    (n = Math.floor(0.5 * (window.innerHeight - e))),
                    (r = 0))
                  : ((t = Math.floor(window.innerHeight * o)),
                    (e = window.innerHeight),
                    (n = 0),
                    (r = Math.floor(0.5 * (window.innerWidth - t))));
              } else {
                let i = o.offsetWidth / o.offsetHeight,
                  a = freezeFrame.width / freezeFrame.height;
                i < a
                  ? ((t = o.offsetWidth),
                    (e = Math.floor(o.offsetWidth / a)),
                    (n = Math.floor(0.5 * (o.offsetHeight - e))),
                    (r = 0))
                  : ((t = Math.floor(o.offsetHeight * a)),
                    (e = o.offsetHeight),
                    (n = 0),
                    (r = Math.floor(0.5 * (o.offsetWidth - t))));
              }
              let a =
                document.getElementById("freezeFrameOverlay").childNodes[0];
              (freezeFrameOverlay.style.width = o.offsetWidth + "px"),
                (freezeFrameOverlay.style.height = o.offsetHeight + "px"),
                (freezeFrameOverlay.style.left = "0px"),
                (freezeFrameOverlay.style.top = "0px"),
                (a.style.width = t + "px"),
                (a.style.height = e + "px"),
                (a.style.left = r + "px"),
                (a.style.top = n + "px");
            }
          }
          function resizePlayerStyle(t) {
            let e = document.getElementById("player");
            if (!e) return;
            if ((updateVideoStreamSize(), e.classList.contains("fixed-size")))
              return void setupMouseAndFreezeFrame(e);
            let n = document.getElementById(
                "enlarge-display-to-fill-window-tgl"
              ),
              r =
                window.innerWidth < e.videoWidth ||
                window.innerHeight < e.videoHeight;
            null !== n
              ? n.checked || r
                ? resizePlayerStyleToFillWindow(e)
                : resizePlayerStyleToActualSize(e)
              : resizePlayerStyleToArbitrarySize(e),
              setupMouseAndFreezeFrame(e);
          }
          function setupMouseAndFreezeFrame(t) {
            t.getBoundingClientRect(),
              setupNormalizeAndQuantize(),
              resizeFreezeFrameOverlay();
          }
          function updateVideoStreamSize() {
            if (new Date().getTime() - lastTimeResized > 1e3) {
              if (!document.getElementById("player")) return;
              lastTimeResized = new Date().getTime();
            } else
              console.log("Resizing too often - skipping"),
                clearTimeout(resizeTimeout),
                (resizeTimeout = setTimeout(updateVideoStreamSize, 1e3));
          }
          const MessageType = {
            IFrameRequest: 0,
            RequestQualityControl: 1,
            MaxFpsRequest: 2,
            AverageBitrateRequest: 3,
            StartStreaming: 4,
            StopStreaming: 5,
            LatencyTest: 6,
            RequestInitialSettings: 7,
            UIInteraction: 50,
            Command: 51,
            KeyDown: 60,
            KeyUp: 61,
            KeyPress: 62,
            MouseEnter: 70,
            MouseLeave: 71,
            MouseDown: 72,
            MouseUp: 73,
            MouseMove: 74,
            MouseWheel: 75,
            TouchStart: 80,
            TouchEnd: 81,
            TouchMove: 82,
            GamepadButtonPressed: 90,
            GamepadButtonReleased: 91,
            GamepadAnalog: 92,
          };
          function emitDescriptor(t, e) {
            let n = JSON.stringify(e),
              r = new DataView(new ArrayBuffer(3 + 2 * n.length)),
              i = 0;
            r.setUint8(i, t), i++, r.setUint16(i, n.length, !0), (i += 2);
            for (let t = 0; t < n.length; t++)
              r.setUint16(i, n.charCodeAt(t), !0), (i += 2);
            sendInputData(r.buffer);
          }
          function emitUIInteraction(t) {
            emitDescriptor(MessageType.UIInteraction, t);
          }
          function setupNormalizeAndQuantize() {
            let t = document.getElementById("player"),
              e = t.getElementsByTagName("video");
            t &&
              e.length > 0 &&
              (t.clientHeight,
              t.clientWidth,
              e[0].videoHeight,
              e[0].videoWidth);
          }
          function showOnScreenKeyboard(t) {
            if (t.showOnScreenKeyboard) {
              editTextButton.classList.remove("hiddenState");
              let e = unquantizeAndDenormalizeUnsigned(t.x, t.y);
              (editTextButton.style.top = e.y.toString() + "px"),
                (editTextButton.style.left = (e.x - 40).toString() + "px");
            } else
              editTextButton.classList.add("hiddenState"), hiddenInput.blur();
          }
          function start() {
            let t = document.getElementById("qualityStatus");
            t && (t.className = "grey-status");
            let e = document.getElementById("stats");
            e && (e.innerHTML = "Not connected"),
              showConnectOverlay(),
              (shouldShowPlayOverlay = !0),
              resizePlayerStyle(),
              updateKickButton(0);
          }
          function updateKickButton(t) {
            let e = document.getElementById("kick-other-players-button");
            e && (e.value = `Kick (${t})`);
          }
          function get_text(t) {
            return "text:" ==
              String.fromCharCode.apply(null, new Uint8Array(t.slice(0, 5)))
              ? new TextDecoder("utf-8").decode(new Uint8Array(t.slice(5)))
              : "";
          }
          function connect() {
            if (
              ((window.WebSocket = window.WebSocket || window.MozWebSocket),
              !window.WebSocket)
            )
              return void alert("Your browser doesn't support WebSocket");
            console.log("webSocketUrl:", webSocketUrl),
              (ws = new WebSocket(webSocketUrl)),
              (ws.binaryType = "arraybuffer"),
              (ws.onmessage = function (t) {
                let e = t.data;
                const n = new Uint8Array(t.data);
                116 === n[0] &&
                  101 === n[1] &&
                  120 === n[2] &&
                  116 === n[3] &&
                  (e = get_text(n));
                let r = JSON.parse(e);
                "config" === r.type
                  ? onConfig(r)
                  : "playerCount" === r.type
                  ? updateKickButton(r.count - 1)
                  : "answer" === r.type
                  ? onWebRtcAnswer(r)
                  : "iceCandidate" === r.type && onWebRtcIce(r.candidate);
              }),
              (ws.onerror = function (t) {
                console.log(`WS error: ${JSON.stringify(t)}`);
              });
            let t = null;
            ws.onclose = function (e) {
              clearInterval(fiveMinuteTimer),
                clearTimeout(afk.warnTimer),
                clearInterval(afk.countdownTimer),
                (ws = void 0);
              let n = document.getElementById("player");
              webRtcPlayerObj &&
                (n && n.removeChild(webRtcPlayerObj.video),
                webRtcPlayerObj.close(),
                (webRtcPlayerObj = void 0)),
                failCallback && failCallback(),
                (t = setTimeout(start, 4e3)),
                clearTimeout(t);
            };
          }
          function onConfig(t) {
            setupWebRtcPlayer(document.getElementById("player"), t),
              resizePlayerStyle();
          }
          function close$2() {
            ws && ws.close();
          }
          function load(t) {
            t.successCallback && (successCallback = t.successCallback),
              t.failCallback && (failCallback = t.failCallback),
              t.totalTimeExpiredCallback && t.totalTimeExpiredCallback,
              t.interactiveTimeExpiredCallback &&
                (interactiveTimeExpiredCallback =
                  t.interactiveTimeExpiredCallback),
              t.webSocketUrl && (webSocketUrl = t.webSocketUrl),
              start();
          }
          function changeVol(t) {
            (webRtcPlayerObj.video.volume = t), webRtcPlayerObj.changeVol(t);
          }
          let webrtc = {
            load,
            resizePlayerStyle,
            emitUIInteraction,
            close: close$2,
            changeVol,
          };
          const isPlat$2 = judgeEnvironment().includes("Chrome");
          let pacemaker$2 = !1,
            websocket$2 = null,
            rtccanvas$1 = null,
            digital3D = null,
            interval$2 = 5,
            videoWidth$2 = "",
            videoHeight$2 = "",
            reqRes$2 = null,
            emitter$2 = new Emitter$2();
          const lvCutInitStart$1 = () => {
              const t =
                "1" == commonObj.scene ||
                null == commonObj.scene ||
                commonObj.sceneId >= 1e3
                  ? ""
                  : "fragment-shader-nocut";
              (digital3D = querySelectorEl("#digital3DPlayer")),
                console.log("---digital3D", digital3D),
                (digital3D.width = videoWidth$2),
                (digital3D.height = videoHeight$2),
                webglCut.load(
                  digital3D,
                  null,
                  rtccanvas$1,
                  () => {
                    webglCut.videoPlay();
                  },
                  t
                ),
                emitter$2.emit("init3d");
            },
            checkCondition$2 = (t) => {
              "WebSocket" in window
                ? t(!0, "success")
                : t(!1, "当前浏览器不支持websocketio连接");
            },
            loopConnect$2 = () => {
              uninstallEvent$2(!1), startPlayer$2();
            },
            pageAcitveStatusGet$2 = () => {
              setTimeout(() => {
                (interval$2 += 5),
                  interval$2 > 30 && (interval$2 = 30),
                  loopConnect$2();
              }, 1e3 * interval$2);
            },
            uninstallEvent$2 = (t = !0) => {
              (pacemaker$2 = t),
                heartPing.end(),
                close$1(),
                websocket$2 && (websocket$2.close(), (websocket$2 = null));
            },
            initWebSocket$1 = (t) => {
              const e = t.ws();
              (websocket$2 = e),
                (e.binaryType = "arraybuffer"),
                (e.onopen = t.cbOpen),
                (e.onclose = t.cbClose),
                (e.onmessage = t.cbMessage),
                (e.onerror = t.cbError);
            };
          let asrWsApp$2 = null;
          const startPlayer$2 = () => {
              let {
                _sign: t,
                _projectId: e,
                _drivertype: n,
                _volume: r,
                _asr: i,
              } = commonObj;
              initWebSocket$1({
                cbOpen: function (t) {
                  console.log("建立websocket", t),
                    i && asrWsApp$2 && asrWsApp$2(websocket$2),
                    heartPing.start(() => {
                      1 ==
                        (null == websocket$2
                          ? void 0
                          : websocket$2.readyState) &&
                        (null == websocket$2 ||
                          websocket$2.send(JSON.stringify({ signal: "ping" })));
                    }),
                    (pacemaker$2 = !1);
                },
                cbMessage: isPlat$2
                  ? function (t) {
                      if ("object" == typeof t.data) new Uint8Array(t.data);
                      else if ("ppg-end" != t.data)
                        if (t.data.includes("requests overload"))
                          (pacemaker$2 = !0),
                            emitter$2.emit("wsMessage", {
                              type: "requests overload",
                            });
                        else if (t.data.includes("{")) {
                          const e = JSON.parse(t.data);
                          if ("asr-part" == e.type)
                            emitter$2.emit("wsMessage", e);
                          else if ("asr" == e.type)
                            null != e && e.resultType
                              ? emitter$2.emit("wsMessage", e)
                              : emitter$2.emit("videoStart");
                          else if ("answer" == e.type)
                            emitter$2.emit("wsMessage", e);
                          else if ("startAsr" == e.type)
                            emitter$2.emit("videoEnd"),
                              null == websocket$2 ||
                                websocket$2.send(SendMsg.startAsr());
                          else if ("startSleep" == e.type)
                            emitter$2.emit("wsMessage", e);
                          else if ("wakeup" == e.type)
                            emitter$2.emit("wsMessage", e);
                          else if ("server_ready" == e.type)
                            console.error("可以发送语音文件"),
                              emitter$2.emit("wsMessage", e);
                          else if ("server_ended" != e.type)
                            if ("error" == e.type) {
                              if (e.content.includes("ping")) return;
                              emitter$2.emit("wsMessage", e);
                            } else
                              "node" == e.type ||
                                ("server_url" == e.type &&
                                  (console.log("2----------3d---到这里"),
                                  treeDOpen(`wss://${e.content}`)));
                        }
                    }
                  : function (t) {
                      const e = new Uint8Array(t.data);
                      if (
                        116 === e[0] &&
                        101 === e[1] &&
                        120 === e[2] &&
                        116 === e[3]
                      ) {
                        const t = get_text$1(e);
                        if ("ppg-end" != t && "pong" != t)
                          if (t.includes("requests overload"))
                            (pacemaker$2 = !0),
                              emitter$2.emit("wsMessage", {
                                type: "requests overload",
                              });
                          else if (t.includes("{")) {
                            const e = JSON.parse(t);
                            if ("asr-part" == e.type)
                              emitter$2.emit("wsMessage", e);
                            else if ("asr" == e.type)
                              null != e && e.resultType
                                ? emitter$2.emit("wsMessage", e)
                                : emitter$2.emit("videoStart");
                            else if ("answer" == e.type)
                              emitter$2.emit("wsMessage", e);
                            else if ("startAsr" == e.type)
                              emitter$2.emit("videoEnd");
                            else if ("startSleep" == e.type)
                              emitter$2.emit("wsMessage", e);
                            else if ("wakeup" == e.type)
                              emitter$2.emit("wsMessage", e);
                            else if ("server_ready" == e.type)
                              console.error("可以发送语音文件"),
                                emitter$2.emit("wsMessage", e);
                            else if ("server_ended" != e.type)
                              if ("error" == e.type) {
                                if (e.content.includes("ping")) return;
                                emitter$2.emit("wsMessage", e);
                              } else
                                "node" == e.type ||
                                  ("server_url" == e.type &&
                                    (console.log("1----------3d---到这里"),
                                    treeDOpen(`wss://${e.content}`)));
                          }
                      }
                    },
                cbError: function (t) {
                  console.error("websocket错误：", t),
                    !t.content.includes("ping") &&
                      emitter$2.emit("wsMessage", {
                        type: "websocket Error",
                        value: t,
                      });
                },
                cbClose: function (t) {
                  console.error("websocket关闭：", t),
                    pacemaker$2 || commonObj._loop
                      ? (heartPing.end(),
                        emitter$2.emit("wsMessage", {
                          type: "websocket close",
                        }))
                      : (pageAcitveStatusGet$2(),
                        emitter$2.emit("wsMessage", {
                          type: "websocket reLoop",
                        }));
                },
                ws: websocketInit$1({
                  _projectId: e,
                  _sign: t,
                  isPlat: isPlat$2,
                  type: 1,
                  _drivertype: n,
                  requestVideo: requestVideo$2,
                }),
              });
            },
            treeDOpen = (t) => {
              setTimeout(() => {
                webrtc.load({
                  webSocketUrl: t,
                  successCallback: (t) => {
                    console.log("回调成功"), lvCutInitStart$1();
                    let e = setInterval(() => {
                      3 == (null == t ? void 0 : t.readyState)
                        ? clearInterval(e)
                        : null == t ||
                          t.send(JSON.stringify({ signal: "ping" }));
                    }, 1e4);
                  },
                  totalTimeExpiredCallback: (t) => {
                    console.log("totalTimeExpiredCallback");
                  },
                  interactiveTimeExpiredCallback: (t) => {
                    console.log("interactiveTimeExpiredCallback");
                  },
                  failCallback: (t) => {
                    console.log("failCallback");
                  },
                });
              });
            },
            close$1 = () => {
              webrtc.close();
            };
          let requestVideo$2 = "";
          function player$2(t, e, n, r, i = 1) {
            (videoWidth$2 = viewMap[e][r].width),
              (videoHeight$2 = viewMap[e][r].height),
              (requestVideo$2 = `requestWidth=${videoWidth$2}&requestHeight=${videoHeight$2}`),
              (document.querySelector(
                t
              ).innerHTML = `\n    <div style="position:relative; display: inline-block;">\n      <canvas id="rtccanvas" style="zoom:${i}; position: absolute;" width="${videoWidth$2}" height="${videoHeight$2}"></canvas>\n      <div style="zoom:${i}; width:${videoWidth$2}px; height:${videoHeight$2}px; display: inline-block;">\n        <div id="player"></div>\n      </div>\n    </div>\n    <div\n        id="cmwwJhDialog"\n        style="\n          display: none;\n          justify-content: center;\n          align-items: center;\n          position: fixed;\n          top: 0;\n          left: 0;\n          background: rgba(0, 0, 0, 0.5);\n          width: 100vw;\n          height: 100vh;\n          z-index:9999;\n        "\n      >\n        <button style="\n          width:150px;\n          height:45px;\n        ">数字人开始交互</button>\n      </div>\n    `),
              (rtccanvas$1 = querySelectorEl("#rtccanvas"));
          }
          let xxPlayer$2 = class extends Emitter$2 {
            constructor(
              {
                environment: t,
                containerLable: e,
                token: n,
                projectId: r,
                quality: i,
                zoom: o,
                volume: a,
                asr: s,
              },
              c
            ) {
              if ((super(), s)) {
                const {
                  asrDestroy: t,
                  asrWsAppoint: e,
                  asrStart: n,
                } = asrWs((t) => {
                  console.log(t, "mic"),
                    "1" == t.type &&
                      ((asrWsApp$2 = e),
                      websocket$2 && asrWsApp$2(websocket$2));
                });
                n();
              }
              (emitter$2 = new Emitter$2()),
                (this.containerLable = e),
                (commonObj._sign = n),
                (commonObj._projectId = r),
                (this.quality = i || 1),
                (this.zoom = o || 1),
                (commonObj._env = t || "prd"),
                (commonObj._volume = a || 1),
                (commonObj._asr = s || !1),
                (reqRes$2 = c);
            }
            init() {
              checkCondition$2((t) => {
                if (t) {
                  let {
                      avatarSilenceUrl: t,
                      avatarDirection: e,
                      scene: n,
                    } = reqRes$2.data,
                    r = n;
                  if (n.trim().startsWith("{")) {
                    let t = JSON.parse(n);
                    t.id && (r = t.id);
                  }
                  (commonObj.scene = 1 == r || r >= 1e3 ? "1" : "2"),
                    player$2(
                      this.containerLable,
                      e,
                      t,
                      this.quality,
                      this.zoom
                    ),
                    emitter$2.on("videoEnd", () => {
                      this.emit("message", { type: "videoEnd", data: {} });
                    }),
                    emitter$2.on("videoStart", () => {
                      this.emit("message", { type: "videoStart", data: {} });
                    }),
                    emitter$2.on("wsMessage", (t) => {
                      this.emit("message", { type: "wsMessage", data: t });
                    }),
                    emitter$2.on("init3d", (t) => {
                      const e = document.querySelector("#digital3DPlayer");
                      e &&
                        e
                          .play()
                          .then((t) => {
                            console.log("1交互静音视频播放"),
                              commonObj._dialog &&
                                commonObj._dialog({ type: "auto" });
                          })
                          .catch((t) => {
                            if (
                              (console.log("1交互静音视频播放失败-", t),
                              commonObj._dialog)
                            )
                              commonObj._dialog({ type: "no" });
                            else {
                              const t = this,
                                e = document.querySelector("#cmwwJhDialog");
                              (e.style.display = "flex"),
                                document
                                  .querySelector("#cmwwJhDialog button")
                                  .addEventListener("click", () => {
                                    t.playSilentvideo(),
                                      (e.style.display = "none"),
                                      t.emit("intialSucccess", { type: "3" });
                                  });
                            }
                          });
                    }),
                    this.startPlay();
                } else this.emit("intialError", msg);
              });
            }
            playSilentvideo() {
              const t = document.querySelector("#digital3DPlayer");
              return null == t ? void 0 : t.play();
            }
            startPlay() {
              startPlayer$2();
            }
            setClientId(t) {
              t ? (commonObj._clientId = t) : console.log("clientId不能为空");
            }
            stopPlay() {
              uninstallEvent$2(),
                (rtccanvas$1 = null),
                (digital3D = null),
                (reqRes$2 = null),
                webglCut.endWebcam(),
                webglCut.destroy();
            }
            playQA(t, e) {
              null == websocket$2 || websocket$2.send(SendMsg.qa(t, e));
            }
            interrupt() {
              null == websocket$2 || websocket$2.send(SendMsg.interrupt());
            }
            playText(t) {
              null == websocket$2 || websocket$2.send(SendMsg.text(t));
            }
            playStreamText(t) {
              null == websocket$2 || websocket$2.send(SendMsg.streamText(t));
            }
            playStreamTextStart(t, e) {
              null == websocket$2 ||
                websocket$2.send(SendMsg.streamTextStart(t, e));
            }
            playStreamTextEnd() {
              null == websocket$2 || websocket$2.send(SendMsg.streamTextEnd());
            }
            playAudio(t) {
              null == websocket$2 || websocket$2.send(SendMsg.streamAudio(t));
            }
            playAudioEnd() {
              null == websocket$2 || websocket$2.send(SendMsg.streamAudioEnd());
            }
            playCurVideo() {
              null == websocket$2 || websocket$2.send(SendMsg.resumePlay());
            }
            stopCurVideo() {
              null == websocket$2 || websocket$2.send(SendMsg.pausePlay());
            }
            sendText(t, e) {
              this.interrupt(), this.playQA(t, e);
            }
            sendStreamTextStart(t, e) {
              this.interrupt(), this.playStreamTextStart(t, e);
            }
            sendStreamText(t) {
              null == websocket$2 || websocket$2.send(SendMsg.streamText(t));
            }
            sendStreamTextEnd() {
              null == websocket$2 || websocket$2.send(SendMsg.streamTextEnd());
            }
            destroyPlayer() {
              this.stopPlay();
            }
            getStatusWs() {
              return websocket$2;
            }
          };
          const websocketInit = (t, e, n, r, i) => {
              t &&
                !t.includes("ws") &&
                (t = `${t.includes("https") ? "wss:" : "ws:"}//${
                  t.split("//")[1]
                }`);
              let o = new WebSocket(
                `${
                  t || "wss://wenyan-avatar.mobvoi.com"
                }/websocket/wenyan/asr/${n}?projectId=${e}&holdTalk=1&language=${r}`
              );
              return (
                (o.binaryType = "arraybuffer"),
                (o.onopen = function (t) {
                  console.log("客户端连接成功"),
                    o.send(JSON.stringify({ signal: "start" }));
                }),
                (o.onmessage = function (t) {
                  const e = t.data ? JSON.parse(t.data) : {};
                  i(e),
                    "asr" == e.type &&
                      setTimeout(() => {
                        o.close();
                      }, 200);
                }),
                (o.onerror = function (t) {
                  console.log("连接失败了", t);
                }),
                (o.onclose = function () {
                  o = null;
                }),
                o
              );
            },
            micro = (t, e) => {
              if (
                navigator.mediaDevices &&
                navigator.mediaDevices.getUserMedia
              ) {
                let {
                  recStart: n,
                  recStop: r,
                  recRecord: i,
                } = jsRecorder(
                  function (e) {
                    t(e);
                  },
                  () => {
                    e({ type: "1", val: "获取麦克权限成功" });
                  },
                  () => {
                    e({ type: "0", val: "获取麦克权限失败" });
                  }
                );
                return { recStart: n, recStop: r, recRecord: i };
              }
              e({ type: "0", val: "环境不支持！" });
            };
          function asrPlayer({
            host: t,
            _projectId: e,
            token: n,
            lang: r,
            cb: i,
          }) {
            if (!e || !n) return void i({ type: "error", value: "参数缺失" });
            let o = null,
              a = !1;
            const {
              recStart: s,
              recStop: c,
              recRecord: l,
            } = micro(
              function (t) {
                try {
                  1 == (null == o ? void 0 : o.readyState) && a && o.send(t);
                } catch (t) {
                  console.log(t);
                }
              },
              function (t) {
                "1" == t.type && i(t);
              }
            ) || {};
            return {
              asrStart: () => {
                if (s) {
                  if (a) return i({ type: "0", val: "请先stop" });
                  (a = !0),
                    s(),
                    (o = websocketInit(t, e, n, r, (t) => {
                      i(t);
                    }));
                }
              },
              asrStop: () => {
                if (c) {
                  if (!a) return i({ type: "0", val: "请误重复stop" });
                  (a = !1), o.send(JSON.stringify({ signal: "end" })), c();
                }
              },
              asrSignStart: () => {
                o.send(JSON.stringify({ signal: "start" }));
              },
              asrSignEnd: () => {
                o.send(JSON.stringify({ signal: "end" }));
              },
              asrDestroy: () => {
                o && o.close(), (o = null), console.log("ws 关闭");
              },
            };
          }
          class Emitter {
            on(t, e, n) {
              const r = this.e || (this.e = {});
              return (r[t] || (r[t] = [])).push({ fn: e, ctx: n }), this;
            }
            once(t, e, n) {
              const r = this;
              function i(...o) {
                r.off(t, i), e.apply(n, o);
              }
              return (i._ = e), this.on(t, i, n);
            }
            emit(t, ...e) {
              const n = ((this.e || (this.e = {}))[t] || []).slice();
              for (let t = 0; t < n.length; t += 1) n[t].fn.apply(n[t].ctx, e);
              return this;
            }
            off(t, e) {
              const n = this.e || (this.e = {}),
                r = n[t],
                i = [];
              if (r && e)
                for (let t = 0, n = r.length; t < n; t += 1)
                  r[t].fn !== e && r[t].fn._ !== e && i.push(r[t]);
              return i.length ? (n[t] = i) : delete n[t], this;
            }
          }
          function getNowTime() {
            return performance && "function" == typeof performance.now
              ? performance.now()
              : Date.now();
          }
          const PCMPlayer = (function () {
            function t(t) {
              this.init(t);
            }
            return (
              (t.prototype.init = function (t) {
                (this.option = Object.assign(
                  {},
                  {
                    encoding: "16bitInt",
                    channels: 1,
                    sampleRate: 16e3,
                    flushingTime: 240,
                  },
                  t
                )),
                  (this.samples = new Float32Array()),
                  (this.flush = this.flush.bind(this)),
                  (this.interval = setInterval(
                    this.flush,
                    this.option.flushingTime
                  )),
                  (this.maxValue = this.getMaxValue()),
                  (this.typedArray = this.getTypedArray()),
                  this.createContext();
              }),
              (t.prototype.getMaxValue = function () {
                var t = {
                  "8bitInt": 128,
                  "16bitInt": 32768,
                  "32bitInt": 2147483648,
                  "32bitFloat": 1,
                };
                return t[this.option.encoding]
                  ? t[this.option.encoding]
                  : t["16bitInt"];
              }),
              (t.prototype.getTypedArray = function () {
                var t = {
                  "8bitInt": Int8Array,
                  "16bitInt": Int16Array,
                  "32bitInt": Int32Array,
                  "32bitFloat": Float32Array,
                };
                return t[this.option.encoding]
                  ? t[this.option.encoding]
                  : t["16bitInt"];
              }),
              (t.prototype.createContext = function () {
                (this.audioCtx = new (window.AudioContext ||
                  window.webkitAudioContext)()),
                  (this.gainNode = this.audioCtx.createGain()),
                  (this.gainNode.gain.value = 1),
                  this.gainNode.connect(this.audioCtx.destination),
                  (this.startTime = this.audioCtx.currentTime);
              }),
              (t.prototype.isTypedArray = function (t) {
                return (
                  t.byteLength &&
                  t.buffer &&
                  t.buffer.constructor == ArrayBuffer
                );
              }),
              (t.prototype.feed = function (t) {
                if (this.isTypedArray(t)) {
                  t = this.getFormatedValue(t);
                  var e = new Float32Array(this.samples.length + t.length);
                  e.set(this.samples, 0),
                    e.set(t, this.samples.length),
                    (this.samples = e);
                }
              }),
              (t.prototype.getFormatedValue = function (t) {
                t = new this.typedArray(t.buffer);
                var e,
                  n = new Float32Array(t.length);
                for (e = 0; e < t.length; e++) n[e] = t[e] / this.maxValue;
                return n;
              }),
              (t.prototype.volume = function (t) {
                this.gainNode.gain.value = t;
              }),
              (t.prototype.destroy = function () {
                this.interval && clearInterval(this.interval),
                  (this.samples = null),
                  this.audioCtx.close(),
                  (this.audioCtx = null);
              }),
              (t.prototype.flush = function () {
                if (this.samples.length) {
                  var t,
                    e,
                    n,
                    r,
                    i,
                    o = this.audioCtx.createBufferSource(),
                    a = this.samples.length / this.option.channels,
                    s = this.audioCtx.createBuffer(
                      this.option.channels,
                      a,
                      this.option.sampleRate
                    );
                  for (e = 0; e < this.option.channels; e++)
                    for (
                      t = s.getChannelData(e), n = e, i = 50, r = 0;
                      r < a;
                      r++
                    )
                      (t[r] = this.samples[n]),
                        r < 50 && (t[r] = (t[r] * r) / 50),
                        r >= a - 51 && (t[r] = (t[r] * i--) / 50),
                        (n += this.option.channels);
                  this.startTime < this.audioCtx.currentTime &&
                    (this.startTime = this.audioCtx.currentTime),
                    (o.buffer = s),
                    o.connect(this.gainNode),
                    o.start(this.startTime),
                    (this.startTime += s.duration),
                    (this.samples = new Float32Array());
                }
              }),
              (t.prototype.getTimestamp = function () {
                return this.audioCtx ? this.audioCtx.currentTime : 0;
              }),
              (t.prototype.play = function (t) {
                if (
                  this.isTypedArray(t) &&
                  (t = this.getFormatedValue(t)).length
                ) {
                  var e,
                    n,
                    r,
                    i,
                    o,
                    a = this.audioCtx.createBufferSource(),
                    s = t.length / this.option.channels,
                    c = this.audioCtx.createBuffer(
                      this.option.channels,
                      s,
                      this.option.sampleRate
                    );
                  for (n = 0; n < this.option.channels; n++)
                    for (
                      e = c.getChannelData(n), r = n, o = 50, i = 0;
                      i < s;
                      i++
                    )
                      (e[i] = t[r]),
                        i < 50 && (e[i] = (e[i] * i) / 50),
                        i >= s - 51 && (e[i] = (e[i] * o--) / 50),
                        (r += this.option.channels);
                  this.startTime < this.audioCtx.currentTime &&
                    (this.startTime = this.audioCtx.currentTime),
                    (a.buffer = c),
                    a.connect(this.gainNode),
                    a.start(this.startTime),
                    (a.onended = () => {
                      this.option.endCallback();
                    }),
                    (this.startTime += c.duration);
                }
              }),
              (t.prototype.pause = function () {
                var t;
                "running" ===
                  (null == (t = this.audioCtx) ? void 0 : t.state) &&
                  this.audioCtx.suspend();
              }),
              (t.prototype.resume = function () {
                var t;
                "suspended" ===
                  (null == (t = this.audioCtx) ? void 0 : t.state) &&
                  this.audioCtx.resume();
              }),
              t
            );
          })();
          class AudioPlayer {
            constructor(t) {
              const { flv: e } = t;
              (this.playing = !1),
                (this.audioPts = []),
                (this.outAudioIndex = 0),
                (this.inputAudioIndex = 0),
                (this.volume = e.options.volume),
                (this.audioCtrl = new PCMPlayer({
                  encoding: "16bitInt",
                  channels: 1,
                  sampleRate: 16e3,
                  endCallback: () => {
                    this.playing = !1;
                  },
                })),
                this.audioCtrl.volume(this.volume),
                e.on("audioData", (t, e) => {
                  this.outAudioIndex++,
                    this.audioCtrl.feed(t),
                    this.audioPts.push({ pts: e });
                }),
                e.on("destroy", () => {
                  (this.audioPts = []), this.audioCtrl.destroy();
                }),
                e.on("timeupdate", (t) => {
                  const e = this.audioPts[0].pts;
                  e && t > e && this.feed(0);
                });
            }
            get decoding() {
              return this.outAudioIndex !== this.inputAudioIndex;
            }
            get framePlay() {
              return this.audioPts.length > 0 && this.playing;
            }
            get getTimestamp() {
              var t;
              return null == (t = this.audioCtrl) ? void 0 : t.getTimestamp();
            }
            feed(t) {
              if ((this.inputAudioIndex++, !this.audioPts[t])) return !1;
              this.audioPts.shift();
            }
            play() {
              this.audioPts.length > 0
                ? ((this.playing = !0), this.audioCtrl.resume())
                : (this.playing = !1);
            }
            reset() {
              (this.playing = !1),
                this.audioCtrl.destroy(),
                (this.audioCtrl = new PCMPlayer({
                  encoding: "16bitInt",
                  channels: 1,
                  sampleRate: 16e3,
                  endCallback: () => {
                    this.playing = !1;
                  },
                })),
                this.audioCtrl.volume(this.volume),
                (this.audioPts = []),
                (this.outAudioIndex = 0),
                (this.inputAudioIndex = 0);
            }
            stop() {
              (this.playing = !1), this.audioCtrl.pause();
            }
            resume() {
              (this.playing = !0), this.audioCtrl.resume();
            }
          }
          class Play {
            constructor(t) {
              (this.flv = t),
                (this.streaming = !1),
                (this.ended = !0),
                (this.animationFrameTimer = null),
                (this.audioDecoder = new AudioPlayer(this)),
                (this.sign = 0),
                (this.resultSign = 0),
                (this.playerStatus = ""),
                (this.currentTime = 0),
                (this.lastUpdateTime = 0),
                t.on("destroy", () => {
                  this.waitingTimer && clearTimeout(this.waitingTimer),
                    (this.waitingTimer = null),
                    this.animationFrameTimer &&
                      cancelAnimationFrame(this.animationFrameTimer),
                    (this.animationFrameTimer = null),
                    (this.ended = !0);
                }),
                t.on("streaming", () => {
                  this.streaming = !0;
                }),
                t.on("streamEnd", () => {
                  (this.streaming = !1),
                    this.waitingTimer && clearTimeout(this.waitingTimer),
                    (this.waitingTimer = null);
                });
            }
            init() {
              this.waitingTimer && clearTimeout(this.waitingTimer),
                (this.waitingTimer = null),
                (this.currentTime = 0),
                (this.lastUpdateTime = 0),
                this.animationFrame(),
                (this.ended = !1);
            }
            animationFrame() {
              this.animationFrameTimer = requestAnimationFrame(() => {
                if (this.audioDecoder.framePlay) {
                  this.flv.stearmPtsH ||
                    ((this.flv.stearmPtsH = !0),
                    (this.currentTime = 0),
                    this.flv.options.canPlay());
                  const t = getNowTime();
                  (this.currentTime += t - this.lastUpdateTime),
                    (this.lastUpdateTime = t),
                    this.flv.emit("timeupdate", this.currentTime);
                } else if (this.streaming || this.audioDecoder.decoding)
                  return (
                    this.audioDecoder.stop(),
                    void (this.waitingTimer = setTimeout(() => {
                      (this.lastUpdateTime = getNowTime()),
                        this.play(),
                        this.audioDecoder.framePlay
                          ? "canplay" != this.playerStatus &&
                            ((this.playerStatus = "canplay"),
                            this.flv.options.canPlay(),
                            (this.flv.stearmPtsH = !0))
                          : "waiting" != this.playerStatus &&
                            ((this.playerStatus = "waiting"),
                            this.flv.options.waiting());
                    }, 200))
                  );
                this.animationFrame();
              });
            }
            play() {
              this.audioDecoder.play(), this.animationFrame();
            }
            restart() {
              this.audioDecoder.reset(),
                (this.currentTime = 0),
                (this.lastUpdateTime = 0),
                (this.playerStatus = "");
            }
            continue() {
              (this.lastUpdateTime = getNowTime()),
                this.audioDecoder.resume(),
                this.animationFrame();
            }
            stop() {
              this.audioDecoder.stop(),
                this.waitingTimer && clearTimeout(this.waitingTimer),
                (this.waitingTimer = null),
                this.animationFrameTimer &&
                  cancelAnimationFrame(this.animationFrameTimer),
                (this.animationFrameTimer = null);
            }
          }
          class flvStearmLoad extends Emitter {
            constructor(t) {
              super(),
                (this.options = Object.assign({ url: "", volume: 1, ...t })),
                (this.audioTimestamp = 0),
                this.init(),
                (this.stearmPtsH = !1);
            }
            init() {
              this.options.webcodeDisabled && (window.VideoDecoder = !1),
                (this.player = new Play(this)),
                this.stearmInit(),
                this.player.init(),
                (this.audioTimestamp = 0);
            }
            stearmInit() {
              const t = this;
              (this.socket = new WebSocket(this.options.url)),
                (this.socket.binaryType = "arraybuffer"),
                (this.socket.onopen = () => {
                  t.options.cbOpen(t.socket), t.emit("streamStart");
                }),
                (this.socket.onmessage = (e) => {
                  t.options.cbMessage(t.socket, e, function (e, n) {
                    1 != e.byteLength
                      ? (t.emit("streaming"),
                        80 === e[0] &&
                          67 === e[1] &&
                          77 === e[2] &&
                          ((t.audioTimestamp += 40),
                          t.emit("audioData", e.slice(3), t.audioTimestamp)))
                      : t.options.wxServerEnd();
                  });
                }),
                (this.socket.onerror = (e) => {
                  throw (
                    (t.options.cbError(t.socket, e),
                    t.emit("streamError", e),
                    e)
                  );
                }),
                (this.socket.onclose = () => {
                  (this.stearmPtsH = !1),
                    t.options.cbClose(t.socket),
                    t.emit("streamEnd");
                }),
                console.log(this.options.url);
            }
            destroy() {
              this.emit("destroy");
            }
            restart() {
              console.error("restart"),
                (this.audioTimestamp = 0),
                (this.stearmPtsH = !1),
                this.player.restart();
            }
            changeVolume(t) {
              t
                ? this.player.audioDecoder.audioCtrl.volume(0)
                : this.player.audioDecoder.audioCtrl.volume(
                    this.options.volume
                  );
            }
          }
          const isPlat$1 = judgeEnvironment().includes("Chrome");
          let cartoonPlayer = null,
            pacemaker$1 = !1,
            websocket$1 = null,
            videoPlayerInit = !1,
            interval$1 = 5,
            screenCanvas = null,
            avatarVideo = null,
            silentVideo$1 = null,
            videoWidth$1 = "",
            videoHeight$1 = "",
            reqRes$1 = null,
            emitter$1 = new Emitter$2();
          const checkCondition$1 = (t) => {
              "WebSocket" in window
                ? t(!0, "success")
                : t(!1, "当前浏览器不支持websocketio连接");
            },
            webReconnect = (t = !1) => {
              (videoPlayerInit = !0), cartoonPlayer.restart();
            },
            loopConnect$1 = () => {
              uninstallEvent$1(!1), startPlayer$1();
            },
            pageAcitveStatusGet$1 = () => {
              setTimeout(() => {
                (interval$1 += 5),
                  interval$1 > 30 && (interval$1 = 30),
                  loopConnect$1();
              }, 1e3 * interval$1);
            },
            uninstallEvent$1 = (t = !0) => {
              (pacemaker$1 = t),
                (videoPlayerInit = !1),
                heartPing.end(),
                cartoonPlayer &&
                  (null == cartoonPlayer || cartoonPlayer.destroy(),
                  (cartoonPlayer = null)),
                websocket$1 && (websocket$1.close(), (websocket$1 = null));
            };
          let asrWsApp$1 = null;
          const startPlayer$1 = () => {
            let {
              _sign: t,
              _projectId: e,
              _drivertype: n,
              _volume: r,
              _asr: i,
            } = commonObj;
            cartoonPlayer = new flvStearmLoad({
              url: websocketInit$1({
                _projectId: e,
                _sign: t,
                isPlat: isPlat$1,
                type: 0,
                _drivertype: n,
                requestVideo: requestVideo$1,
              }),
              volume: r,
              cbOpen: function (t) {
                console.error("建立websocket", t),
                  (websocket$1 = t),
                  i && asrWsApp$1 && asrWsApp$1(t),
                  heartPing.start(() => {
                    1 ==
                      (null == websocket$1 ? void 0 : websocket$1.readyState) &&
                      (null == websocket$1 ||
                        websocket$1.send(JSON.stringify({ signal: "ping" })));
                  });
              },
              cbMessage: isPlat$1
                ? function (t, e, n) {
                    if ("object" == typeof e.data) {
                      const t = new Uint8Array(e.data);
                      72 !== t[0] ||
                        80 !== t[1] ||
                        67 !== t[2] ||
                        77 !== t[3] ||
                        ((videoPlayerInit = !1),
                        console.log("——————————loop new——————————————")),
                        n(t, videoPlayerInit);
                    } else if ("ppg-end" != e.data)
                      if (e.data.includes("requests overload"))
                        (pacemaker$1 = !0),
                          emitter$1.emit("wsMessage", {
                            type: "requests overload",
                          });
                      else if (e.data.includes("{")) {
                        const t = JSON.parse(e.data);
                        if ("asr-part" == t.type)
                          emitter$1.emit("wsMessage", t);
                        else if ("asr" == t.type)
                          emitter$1.emit("wsMessage", t);
                        else if ("answer" == t.type)
                          emitter$1.emit("wsMessage", t);
                        else if ("startAsr" == t.type)
                          emitter$1.emit("wsMessage", t);
                        else if ("startSleep" == t.type)
                          emitter$1.emit("wsMessage", t);
                        else if ("wakeup" == t.type)
                          emitter$1.emit("wsMessage", t);
                        else if ("server_ready" == t.type)
                          console.error("可以发送语音文件"),
                            emitter$1.emit("initCartoon"),
                            emitter$1.emit("wsMessage", t);
                        else if (
                          "server_ended" != t.type &&
                          "error" == t.type
                        ) {
                          if (t.content.includes("ping")) return;
                          emitter$1.emit("wsMessage", t);
                        }
                      }
                  }
                : function (t, e, n) {
                    const r = new Uint8Array(e.data);
                    if (
                      116 === r[0] &&
                      101 === r[1] &&
                      120 === r[2] &&
                      116 === r[3]
                    ) {
                      const t = get_text$1(r);
                      if (
                        (console.log(t, "string"),
                        "ppg-end" != t && "pong" != t)
                      )
                        if (t.includes("requests overload"))
                          (pacemaker$1 = !0),
                            emitter$1.emit("wsMessage", {
                              type: "requests overload",
                            });
                        else if (t.includes("{")) {
                          const e = JSON.parse(t);
                          if ("asr-part" == e.type)
                            emitter$1.emit("wsMessage", e);
                          else if ("asr" == e.type)
                            emitter$1.emit("wsMessage", e);
                          else if ("answer" == e.type)
                            emitter$1.emit("wsMessage", e);
                          else if ("startAsr" == e.type)
                            emitter$1.emit("wsMessage", e);
                          else if ("startSleep" == e.type)
                            emitter$1.emit("wsMessage", e);
                          else if ("wakeup" == e.type)
                            emitter$1.emit("wsMessage", e);
                          else if ("server_ready" == e.type)
                            console.error("可以发送语音文件"),
                              emitter$1.emit("initCartoon"),
                              emitter$1.emit("wsMessage", e);
                          else if (
                            "server_ended" != e.type &&
                            "error" == e.type
                          ) {
                            if (e.content.includes("ping")) return;
                            emitter$1.emit("wsMessage", e);
                          }
                        }
                    } else
                      72 !== r[0] ||
                        80 !== r[1] ||
                        67 !== r[2] ||
                        77 !== r[3] ||
                        ((videoPlayerInit = !1),
                        console.log("——————————loop new——————————————")),
                        n(r, videoPlayerInit);
                  },
              cbError: function (t, e) {
                console.log("websocket错误：", e),
                  !e.content.includes("ping") &&
                    emitter$1.emit("wsMessage", {
                      type: "websocket Error",
                      value: e,
                    });
              },
              cbClose: function (t) {
                console.error("websocket关闭！"),
                  !pacemaker$1 && !commonObj._loop && pageAcitveStatusGet$1();
              },
              wxServerEnd: function () {},
              canPlay: function () {
                webglCut.videoPlay(),
                  emitter$1.emit("videoStart"),
                  (this.streamImg = !0);
              },
              waiting: function () {
                webglCut.slicePlay(),
                  emitter$1.emit("videoEnd"),
                  (this.streamImg = !1),
                  null == websocket$1 || websocket$1.send(SendMsg.startAsr());
              },
            });
          };
          function displayEle(t, e) {
            t.style.display = e;
          }
          let requestVideo$1 = "";
          function player$1(t, e, n, r, i, o = 1) {
            (videoWidth$1 = viewMap[e][i].width),
              (videoHeight$1 = viewMap[e][i].height),
              (requestVideo$1 = `requestWidth=${videoWidth$1}&requestHeight=${videoHeight$1}`),
              (document.querySelector(
                t
              ).innerHTML = `\n      <canvas id="screenPlayer" style="zoom:${o};" width="${videoWidth$1}" height="${videoHeight$1}"></canvas>\n      <video id="avatarVideo" width="${videoWidth$1}" height="${videoHeight$1}" src="${r}" muted loop autoplay hidden webkit-playsinline="true" playsinline="true" crossorigin="anonymous"></video>\n      <video id="silentVideo" width="${videoWidth$1}" height="${videoHeight$1}" src="${n}" muted loop autoplay hidden webkit-playsinline="true" playsinline="true" crossorigin="anonymous"></video>\n      <div\n        id="cmwwJhDialog"\n        style="\n          display: none;\n          justify-content: center;\n          align-items: center;\n          position: fixed;\n          top: 0;\n          left: 0;\n          background: rgba(0, 0, 0, 0.5);\n          width: 100vw;\n          height: 100vh;\n          z-index:9999;\n        "\n      >\n        <button style="\n          width:150px;\n          height:45px;\n        ">数字人开始交互</button>\n      </div>`),
              (screenCanvas = querySelectorEl("#screenPlayer")),
              (avatarVideo = querySelectorEl("#avatarVideo")),
              (silentVideo$1 = querySelectorEl("#silentVideo")),
              displayEle(silentVideo$1, "none"),
              displayEle(avatarVideo, "none");
          }
          let xxPlayer$1 = class extends Emitter$2 {
            constructor(
              {
                environment: t,
                containerLable: e,
                token: n,
                projectId: r,
                quality: i,
                zoom: o,
                clientId: a,
                volume: s,
                asr: c,
              },
              l
            ) {
              if ((super(), c)) {
                const {
                  asrDestroy: t,
                  asrWsAppoint: e,
                  asrStart: n,
                } = asrWs((t) => {
                  console.log(t, "mic"),
                    "1" == t.type &&
                      ((asrWsApp$1 = e),
                      websocket$1 && asrWsApp$1(websocket$1));
                });
                n();
              }
              (emitter$1 = new Emitter$2()),
                (this.containerLable = e),
                (commonObj._sign = n),
                (commonObj._projectId = r),
                (this.quality = i || 1),
                (this.zoom = o || 1),
                (commonObj._env = t || "prd"),
                (commonObj._volume = s || 1),
                (commonObj._asr = c || !1),
                (reqRes$1 = l),
                (this.streamImg = !1);
            }
            init() {
              checkCondition$1((t) => {
                if (t) {
                  let {
                    avatarSilenceUrl: t,
                    avatarDirection: e,
                    avatarChatUrl: n,
                  } = reqRes$1.data;
                  player$1(
                    this.containerLable,
                    e,
                    t,
                    n,
                    this.quality,
                    this.zoom
                  ),
                    emitter$1.on("videoEnd", () => {
                      this.emit("message", { type: "videoEnd", data: {} });
                    }),
                    emitter$1.on("videoStart", () => {
                      this.emit("message", { type: "videoStart", data: {} });
                    }),
                    emitter$1.on("wsMessage", (t) => {
                      this.emit("message", { type: "wsMessage", data: t });
                    }),
                    emitter$1.on("initCartoon", () => {
                      silentVideo$1 &&
                        silentVideo$1
                          .play()
                          .then((t) => {
                            console.log("1交互静音视频播放"),
                              setTimeout(() => {
                                webglCut.slicePlay(),
                                  commonObj._dialog &&
                                    commonObj._dialog({ type: "auto" });
                              }, 400);
                          })
                          .catch((t) => {
                            if (
                              (console.log("1交互静音视频播放失败-", t),
                              commonObj._dialog)
                            )
                              commonObj._dialog({ type: "no" });
                            else {
                              const t = this,
                                e = document.querySelector("#cmwwJhDialog");
                              (e.style.display = "flex"),
                                document
                                  .querySelector("#cmwwJhDialog button")
                                  .addEventListener("click", () => {
                                    t.playSilentvideo(),
                                      webglCut.slicePlay(),
                                      (e.style.display = "none"),
                                      t.emit("intialSucccess", { type: "3" });
                                  });
                            }
                          });
                    }),
                    this.startPlay(commonObj._fragmentCut);
                } else this.emit("intialError", msg);
              });
            }
            playSilentvideo() {
              silentVideo$1 &&
                silentVideo$1
                  .play()
                  .then((t) => {
                    console.log("2ffm交互静音视频播放");
                  })
                  .catch((t) => {
                    console.log("2ffm交互静音视频播放失败-", t);
                  }),
                avatarVideo &&
                  avatarVideo
                    .play()
                    .then((t) => {
                      console.log("3ffm交互静音视频播放");
                    })
                    .catch((t) => {
                      console.log("3ffm交互静音视频播放失败-", t);
                    });
            }
            startPlay(t) {
              webglCut.load(
                avatarVideo,
                silentVideo$1,
                screenCanvas,
                (t) => {
                  (videoPlayerInit = !0),
                    startPlayer$1(this.direction, this.quality);
                },
                t ? "" : "fragment-shader-nocut"
              );
            }
            setClientId(t) {
              t ? (commonObj._clientId = t) : console.log("clientId不能为空");
            }
            stopPlay() {
              uninstallEvent$1(),
                (screenCanvas = null),
                (avatarVideo = null),
                (silentVideo$1 = null),
                (videoWidth$1 = ""),
                (videoHeight$1 = ""),
                (reqRes$1 = null),
                (asrWsApp$1 = null),
                (this.streamImg = !1),
                webglCut.endWebcam(),
                webglCut.destroy();
            }
            playQA(t, e) {
              (this.streamImg = !0),
                webglCut.slicePlay(),
                webReconnect(),
                null == websocket$1 || websocket$1.send(SendMsg.qa(t, e));
            }
            interrupt() {
              null == websocket$1 || websocket$1.send(SendMsg.interrupt()),
                webglCut.slicePlay(),
                webReconnect(!0),
                (this.streamImg = !1);
            }
            playText(t) {
              null == websocket$1 || websocket$1.send(SendMsg.text(t));
            }
            playStreamText(t) {
              null == websocket$1 || websocket$1.send(SendMsg.streamText(t));
            }
            playStreamTextStart(t, e) {
              null == websocket$1 ||
                websocket$1.send(SendMsg.streamTextStart(t, e)),
                (this.streamImg = !0);
            }
            playStreamTextEnd() {
              null == websocket$1 || websocket$1.send(SendMsg.streamTextEnd());
            }
            playAudio(t) {
              null == websocket$1 || websocket$1.send(SendMsg.streamAudio(t)),
                (this.streamImg = !0);
            }
            playAudioEnd() {
              null == websocket$1 || websocket$1.send(SendMsg.streamAudioEnd());
            }
            playCurVideo() {
              this.streamImg &&
                (null == websocket$1 || websocket$1.send(SendMsg.resumePlay()),
                webglCut.videoPlay(),
                cartoonPlayer.player.continue());
            }
            stopCurVideo() {
              this.streamImg &&
                (null == websocket$1 || websocket$1.send(SendMsg.pausePlay()),
                cartoonPlayer.player.stop(),
                webglCut.slicePlay());
            }
            sendText(t, e) {
              this.interrupt(), this.playQA(t, e);
            }
            sendStreamTextStart(t, e) {
              this.interrupt(), this.playStreamTextStart(t, e);
            }
            sendStreamText(t) {
              null == websocket$1 || websocket$1.send(SendMsg.streamText(t));
            }
            sendStreamTextEnd() {
              null == websocket$1 || websocket$1.send(SendMsg.streamTextEnd());
            }
            destroyPlayer() {
              this.stopPlay();
            }
            getStatusWs() {
              return websocket$1;
            }
          };
          class Webrtc {
            constructor(t, e) {
              (this.url = t),
                (this.ws = null),
                (this.wsTimer = null),
                (this.lvCutInit = !0),
                (this.rtcClient = null),
                (this.cb = e),
                this.open();
            }
            rtcInit() {
              this.lvCutInit = !0;
              const t = this,
                e = (this.rtcClient = new RTCPeerConnection({
                  iceServers: [
                    {
                      urls: ["turn:117.50.60.12:3478"],
                      credential: "kurento",
                      username: "kurento",
                    },
                  ],
                }));
              e.addTransceiver("video"),
                e.addTransceiver("audio"),
                (e.oniceconnectionstatechange = (e) => {
                  console.log(
                    e.target.connectionState,
                    "oniceconnectionstatechange"
                  ),
                    t.lvCutInit &&
                      ("connecting" == e.target.connectionState ||
                        "connected" == e.target.connectionState) &&
                      (t.lvCutInit = !1);
                }),
                (e.ontrack = function (e) {
                  if (
                    (console.info("ontrack: ", e.track.kind),
                    "video" == e.track.kind)
                  ) {
                    var n = document.querySelector("#digitalRtcPlayer");
                    (n.srcObject = e.streams[0]),
                      (n.controls = !1),
                      t.cb({ signal: "lvCutInit" });
                  } else e.track.kind;
                }),
                (e.onicecandidate = (e) => {
                  var n;
                  if (null != e.candidate) {
                    let r = JSON.stringify(e.candidate);
                    t.ws &&
                      1 == t.ws.readyState &&
                      (null == (n = t.ws) || n.send(r));
                  }
                });
            }
            open() {
              const t = this,
                e = (this.ws = new WebSocket(this.url));
              e.addEventListener("open", function (n) {
                console.info("websocket open.."),
                  t.rtcInit(),
                  t.wsTimer && clearInterval(t.wsTimer),
                  (t.wsTimer = setInterval(() => {
                    3 == (null == e ? void 0 : e.readyState)
                      ? clearInterval(t.wsTimer)
                      : null == e || e.send(JSON.stringify({ signal: "ping" }));
                  }, 1e4)),
                  t.rtcClient
                    .createOffer()
                    .then((n) => {
                      t.rtcClient.setLocalDescription(n),
                        e && 1 == e.readyState && e.send(JSON.stringify(n));
                    })
                    .catch((t) => {
                      console.log(t);
                    });
              }),
                e.addEventListener("message", function (e) {
                  var n, r;
                  let i = JSON.parse(e.data);
                  "answer" == i.type
                    ? null == (n = t.rtcClient) || n.setRemoteDescription(i)
                    : null != i.candidate
                    ? null == (r = t.rtcClient) || r.addIceCandidate(i)
                    : t.cb({ signal: "avatar", text: e.data });
                });
            }
            changeVolume(t) {
              var e = document.querySelector("#audioPlayer");
              e && (e.volume = t);
            }
            send(t) {
              this.ws && 1 == this.ws.readyState && this.ws.send(t.val);
            }
            close() {
              var t;
              this.wsTimer && clearInterval(this.wsTimer),
                this.rtcClient &&
                  (this.rtcClient.close(),
                  (this.rtcClient = null),
                  null == (t = this.ws) || t.close());
            }
          }
          const isPlat = judgeEnvironment().includes("Chrome");
          let pacemaker = !1,
            websocket = null,
            rtccanvas = null,
            digitalRtcPlayer = null,
            silentVideo = null,
            interval = 5,
            oneTick = !1,
            videoWidth = "",
            videoHeight = "",
            reqRes = null,
            emitter = new Emitter$2(),
            webRtcPlayer;
          const lvCutInitStart = () => {
              webglCut.load(
                digitalRtcPlayer,
                silentVideo,
                rtccanvas,
                () => {
                  console.log("webglCut.load"), webglCut.slicePlay();
                },
                ""
              ),
                emitter.emit("initRtc");
            },
            checkCondition = (t) => {
              "WebSocket" in window
                ? t(!0, "success")
                : t(!1, "当前浏览器不支持websocketio连接");
            },
            loopConnect = () => {
              uninstallEvent(!1), startPlayer();
            },
            pageAcitveStatusGet = () => {
              setTimeout(() => {
                (interval += 5),
                  interval > 30 && (interval = 30),
                  loopConnect();
              }, 1e3 * interval);
            },
            uninstallEvent = (t = !0) => {
              (pacemaker = t),
                heartPing.end(),
                close(),
                websocket && (websocket.close(), (websocket = null));
            },
            initWebSocket = (t) => {
              const e = t.ws();
              (websocket = e),
                (e.binaryType = "arraybuffer"),
                (e.onopen = t.cbOpen),
                (e.onclose = t.cbClose),
                (e.onmessage = t.cbMessage),
                (e.onerror = t.cbError);
            };
          let asrWsApp = null;
          const startPlayer = () => {
              let {
                _sign: t,
                _projectId: e,
                _drivertype: n,
                _volume: r,
                _asr: i,
              } = commonObj;
              (oneTick = !1),
                initWebSocket({
                  cbOpen: function (t) {
                    console.error("建立websocket", t),
                      i && asrWsApp && asrWsApp(websocket),
                      heartPing.start(() => {
                        1 ==
                          (null == websocket ? void 0 : websocket.readyState) &&
                          (null == websocket ||
                            websocket.send(JSON.stringify({ signal: "ping" })));
                      }),
                      (pacemaker = !1);
                  },
                  cbMessage: isPlat
                    ? function (t) {
                        if ("object" == typeof t.data) {
                          const e = new Uint8Array(t.data);
                          null == webRtcPlayer ||
                            webRtcPlayer.send({ type: "blob", val: e });
                        } else if ("ppg-end" != t.data)
                          if (t.data.includes("requests overload"))
                            (pacemaker = !0),
                              emitter.emit("wsMessage", {
                                type: "requests overload",
                              });
                          else if (t.data.includes("{")) {
                            const r = JSON.parse(t.data);
                            if ("asr-part" == r.type)
                              emitter.emit("wsMessage", r);
                            else if ("asr" == r.type)
                              emitter.emit("wsMessage", r);
                            else if ("answer" == r.type)
                              emitter.emit("wsMessage", r);
                            else if ("startAsr" != r.type)
                              if ("server_ready" == r.type)
                                console.error("可以发送语音文件"),
                                  emitter.emit("wsMessage", r);
                              else if ("error" == r.type) {
                                if (r.content.includes("ping")) return;
                                emitter.emit("wsMessage", r);
                              } else if ("server_url" == r.type) {
                                var e,
                                  n = window.location;
                                (e =
                                  r.content.includes(".com") ||
                                  "https:" === n.protocol
                                    ? "wss:"
                                    : "ws:"),
                                  (webRtcPlayer = new Webrtc(
                                    `${e}//${r.content}`,
                                    function (t) {
                                      "lvCutInit" == t.signal
                                        ? lvCutInitStart()
                                        : "videoReady" == t.signal ||
                                          videoStatusTarget(t);
                                    }
                                  ));
                              } else
                                "avatar" == r.type &&
                                  webRtcPlayer.send({
                                    type: "avatar",
                                    val: r.content,
                                  });
                          }
                      }
                    : function (t) {
                        const e = new Uint8Array(t.data);
                        if (
                          116 === e[0] &&
                          101 === e[1] &&
                          120 === e[2] &&
                          116 === e[3]
                        ) {
                          const t = get_text$1(e);
                          if ("ppg-end" != t && "pong" != t)
                            if (t.includes("requests overload"))
                              (pacemaker = !0),
                                emitter.emit("wsMessage", {
                                  type: "requests overload",
                                });
                            else if (t.includes("{")) {
                              const e = JSON.parse(t);
                              if ("asr-part" == e.type)
                                emitter.emit("wsMessage", e);
                              else if ("asr" == e.type)
                                emitter.emit("wsMessage", e);
                              else if ("answer" == e.type)
                                emitter.emit("wsMessage", e);
                              else if ("startAsr" != e.type)
                                if ("server_ready" == e.type)
                                  console.error("可以发送语音文件"),
                                    emitter.emit("wsMessage", e);
                                else if ("error" == e.type)
                                  emitter.emit("wsMessage", e);
                                else if ("server_url" == e.type) {
                                  var n,
                                    r = window.location;
                                  (n =
                                    e.content.includes(".com") ||
                                    "https:" === r.protocol
                                      ? "wss:"
                                      : "ws:"),
                                    (webRtcPlayer = new Webrtc(
                                      `${n}//${e.content}`,
                                      (t) => {
                                        "lvCutInit" == t.signal
                                          ? lvCutInitStart()
                                          : "videoReady" == t.signal ||
                                            videoStatusTarget(t);
                                      }
                                    ));
                                } else
                                  "avatar" == e.type &&
                                    webRtcPlayer.send({
                                      type: "avatar",
                                      val: e.content,
                                    });
                            }
                        } else
                          null == webRtcPlayer ||
                            webRtcPlayer.send({ type: "blob", val: e });
                      },
                  cbError: function (t) {
                    console.error("websocket错误：", t),
                      !t.content.includes("ping") &&
                        emitter.emit("wsMessage", {
                          type: "websocket Error",
                          value: t,
                        });
                  },
                  cbClose: function (t) {
                    console.log("websocket关闭：", t),
                      pacemaker || commonObj._loop
                        ? (heartPing.end(),
                          emitter.emit("wsMessage", {
                            type: "websocket close",
                          }))
                        : (pageAcitveStatusGet(),
                          emitter.emit("wsMessage", {
                            type: "websocket reLoop",
                          }));
                  },
                  ws: websocketInit$1({
                    _projectId: e,
                    _sign: t,
                    isPlat,
                    type: 1,
                    _drivertype: n,
                    requestVideo,
                    protocol: "webrtc",
                  }),
                });
            },
            close = () => {
              webRtcPlayer && webRtcPlayer.close();
            },
            videoStatusTarget = (t) => {
              const e = JSON.parse(t.text);
              "AVATAR_START" == e.type
                ? (oneTick
                    ? webglCut.videoPlay()
                    : ((oneTick = !0),
                      setTimeout(() => {
                        webglCut.videoPlay();
                      }, 500)),
                  emitter.emit("videoStart"))
                : "AVATAR_END" == e.type &&
                  (webglCut.slicePlay(), emitter.emit("videoEnd"));
              const n = JSON.stringify(t);
              console.log(n), websocket.send(n);
            };
          let requestVideo = "";
          function player(t, e, n, r, i = 1) {
            (videoWidth = viewMap[e][r].width),
              (videoHeight = viewMap[e][r].height),
              (requestVideo = `requestWidth=${videoWidth}&requestHeight=${videoHeight}`),
              (document.querySelector(
                t
              ).innerHTML = `\n      <canvas\n        id="rtccanvas"\n        style="zoom:${i};" width="${videoWidth}" height="${videoHeight}"\n      ></canvas>\n      <video\n        id="digitalRtcPlayer"\n        webkit-playsinline="true"\n        playsinline="true"\n        hidden\n        width="${videoWidth}" height="${videoHeight}"\n      ></video>\n      <audio id="audioPlayer"></audio>\n      <video id="silentVideo" width="${videoWidth}" height="${videoHeight}" src="${n}" muted loop autoplay hidden webkit-playsinline="true" playsinline="true" crossorigin="anonymous" preload="auto"></video>\n    </div>\n    <div\n      id="cmwwJhDialog"\n      style="\n        display: none;\n        justify-content: center;\n        align-items: center;\n        position: fixed;\n        top: 0;\n        left: 0;\n        background: rgba(0, 0, 0, 0.5);\n        width: 100vw;\n        height: 100vh;\n        z-index:9999;\n      "\n    >\n      <button style="\n        width:150px;\n        height:45px;\n      ">数字人开始交互</button>\n    `),
              (rtccanvas = querySelectorEl("#rtccanvas")),
              (digitalRtcPlayer = querySelectorEl("#digitalRtcPlayer")),
              (silentVideo = querySelectorEl("#silentVideo"));
          }
          class xxPlayer extends Emitter$2 {
            constructor(
              {
                environment: t,
                containerLable: e,
                token: n,
                projectId: r,
                quality: i,
                zoom: o,
                volume: a,
                asr: s,
              },
              c
            ) {
              if ((super(), s)) {
                const {
                  asrDestroy: t,
                  asrWsAppoint: e,
                  asrStart: n,
                } = asrWs((t) => {
                  console.log(t, "mic"),
                    "1" == t.type &&
                      ((asrWsApp = e), websocket && asrWsApp(websocket));
                });
                n();
              }
              (emitter = new Emitter$2()),
                (this.containerLable = e),
                (commonObj._sign = n),
                (commonObj._projectId = r),
                (this.quality = i || 1),
                (this.zoom = o || 1),
                (commonObj._env = t || "prd"),
                (commonObj._volume = a || 1),
                (commonObj._asr = s || !1),
                (reqRes = c),
                (this.videoStatus = !1),
                (this.timer = null);
            }
            init() {
              checkCondition((t) => {
                if (t) {
                  let {
                    avatarSilenceUrl: t,
                    avatarDirection: e,
                    scene: n,
                  } = reqRes.data;
                  player(this.containerLable, e, t, this.quality, this.zoom),
                    emitter.on("videoEnd", () => {
                      this.emit("message", { type: "videoEnd", data: {} });
                    }),
                    emitter.on("videoStart", () => {
                      this.emit("message", { type: "videoStart", data: {} });
                    }),
                    emitter.on("wsMessage", (t) => {
                      this.emit("message", { type: "wsMessage", data: t });
                    }),
                    emitter.on("initRtc", (t) => {
                      if ((console.log("initRtc"), commonObj._dialog))
                        commonObj._dialog({ type: "no" });
                      else {
                        const t = this,
                          e = document.querySelector("#cmwwJhDialog");
                        (e.style.display = "flex"),
                          document
                            .querySelector("#cmwwJhDialog button")
                            .addEventListener("click", () => {
                              t.playSilentvideo(),
                                webglCut.slicePlay(),
                                (e.style.display = "none"),
                                t.emit("intialSucccess", { type: "3" });
                            });
                      }
                    }),
                    this.startPlay();
                } else this.emit("intialError", msg);
              });
            }
            playSilentvideo() {
              if (!this.videoStatus) {
                var t = document.querySelector("#digitalRtcPlayer"),
                  e = document.querySelector("#silentVideo");
                null == t || t.play(), null == e || e.play();
              }
            }
            startPlay() {
              startPlayer();
            }
            setClientId(t) {
              t ? (commonObj._clientId = t) : console.log("clientId不能为空");
            }
            stopPlay() {
              this.timer && clearTimeout(this.timer),
                (this.videoStatus = !1),
                uninstallEvent(),
                (rtccanvas = null),
                (digitalRtcPlayer = null),
                (silentVideo = null),
                (reqRes = null),
                webglCut.endWebcam(),
                webglCut.destroy();
            }
            playQA(t, e) {
              null == websocket || websocket.send(SendMsg.qa(t, e));
            }
            interrupt() {
              this.timer && clearTimeout(this.timer),
                (this.videoStatus = !1),
                null == websocket || websocket.send(SendMsg.interrupt()),
                webglCut.slicePlay();
            }
            playText(t) {
              null == websocket || websocket.send(SendMsg.text(t));
            }
            playStreamText(t) {
              null == websocket || websocket.send(SendMsg.streamText(t));
            }
            playStreamTextStart(t, e) {
              null == websocket ||
                websocket.send(SendMsg.streamTextStart(t, e));
            }
            playStreamTextEnd() {
              null == websocket || websocket.send(SendMsg.streamTextEnd());
            }
            playAudio(t) {
              null == websocket || websocket.send(SendMsg.streamAudio(t));
            }
            playAudioEnd() {
              null == websocket || websocket.send(SendMsg.streamAudioEnd());
            }
            playCurVideo() {
              this.videoStatus &&
                ((this.videoStatus = !1),
                null == websocket || websocket.send(SendMsg.resumePlay()),
                (this.timer = setTimeout(() => {
                  webglCut.videoPlay();
                }, 2e3)));
            }
            stopCurVideo() {
              this.timer && clearTimeout(this.timer),
                !this.videoStatus &&
                  ((this.videoStatus = !0),
                  null == websocket || websocket.send(SendMsg.pausePlay()),
                  webglCut.slicePlay());
            }
            sendText(t, e) {
              this.interrupt(), this.playQA(t, e);
            }
            sendStreamTextStart(t, e) {
              this.interrupt(), this.playStreamTextStart(t, e);
            }
            sendStreamText(t) {
              null == websocket || websocket.send(SendMsg.streamText(t));
            }
            sendStreamTextEnd() {
              null == websocket || websocket.send(SendMsg.streamTextEnd());
            }
            destroyPlayer() {
              this.stopPlay();
            }
            getStatusWs() {
              return websocket;
            }
          }
          var vconsole_min = { exports: {} };
          (function (module, exports) {
            var t;
            commonjsGlobal || self,
              (t = function () {
                return (function () {
                  var __webpack_modules__ = {
                      4264: function (t, e, n) {
                        t.exports = n(7588);
                      },
                      5036: function (t, e, n) {
                        n(1719),
                          n(5677),
                          n(6394),
                          n(5334),
                          n(6969),
                          n(2021),
                          n(8328),
                          n(2129);
                        var r = n(1287);
                        t.exports = r.Promise;
                      },
                      2582: function (t, e, n) {
                        n(1646),
                          n(6394),
                          n(2004),
                          n(462),
                          n(8407),
                          n(2429),
                          n(1172),
                          n(8288),
                          n(1274),
                          n(8201),
                          n(6626),
                          n(3211),
                          n(9952),
                          n(15),
                          n(9831),
                          n(7521),
                          n(2972),
                          n(6956),
                          n(5222),
                          n(2257);
                        var r = n(1287);
                        t.exports = r.Symbol;
                      },
                      8257: function (t, e, n) {
                        var r = n(7583),
                          i = n(9212),
                          o = n(5637),
                          a = r.TypeError;
                        t.exports = function (t) {
                          if (i(t)) return t;
                          throw a(o(t) + " is not a function");
                        };
                      },
                      1186: function (t, e, n) {
                        var r = n(7583),
                          i = n(2097),
                          o = n(5637),
                          a = r.TypeError;
                        t.exports = function (t) {
                          if (i(t)) return t;
                          throw a(o(t) + " is not a constructor");
                        };
                      },
                      9882: function (t, e, n) {
                        var r = n(7583),
                          i = n(9212),
                          o = r.String,
                          a = r.TypeError;
                        t.exports = function (t) {
                          if ("object" == typeof t || i(t)) return t;
                          throw a("Can't set " + o(t) + " as a prototype");
                        };
                      },
                      6288: function (t, e, n) {
                        var r = n(3649),
                          i = n(3590),
                          o = n(4615),
                          a = r("unscopables"),
                          s = Array.prototype;
                        null == s[a] &&
                          o.f(s, a, { configurable: !0, value: i(null) }),
                          (t.exports = function (t) {
                            s[a][t] = !0;
                          });
                      },
                      4761: function (t, e, n) {
                        var r = n(7583),
                          i = n(2447),
                          o = r.TypeError;
                        t.exports = function (t, e) {
                          if (i(e, t)) return t;
                          throw o("Incorrect invocation");
                        };
                      },
                      2569: function (t, e, n) {
                        var r = n(7583),
                          i = n(794),
                          o = r.String,
                          a = r.TypeError;
                        t.exports = function (t) {
                          if (i(t)) return t;
                          throw a(o(t) + " is not an object");
                        };
                      },
                      5766: function (t, e, n) {
                        var r = n(2977),
                          i = n(6782),
                          o = n(1825),
                          a = function (t) {
                            return function (e, n, a) {
                              var s,
                                c = r(e),
                                l = o(c),
                                u = i(a, l);
                              if (t && n != n) {
                                for (; l > u; )
                                  if ((s = c[u++]) != s) return !0;
                              } else
                                for (; l > u; u++)
                                  if ((t || u in c) && c[u] === n)
                                    return t || u || 0;
                              return !t && -1;
                            };
                          };
                        t.exports = { includes: a(!0), indexOf: a(!1) };
                      },
                      4805: function (t, e, n) {
                        var r = n(2938),
                          i = n(7386),
                          o = n(5044),
                          a = n(1324),
                          s = n(1825),
                          c = n(4822),
                          l = i([].push),
                          u = function (t) {
                            var e = 1 == t,
                              n = 2 == t,
                              i = 3 == t,
                              u = 4 == t,
                              f = 6 == t,
                              d = 7 == t,
                              h = 5 == t || f;
                            return function (p, m, v, g) {
                              for (
                                var y,
                                  b,
                                  V = a(p),
                                  _ = o(V),
                                  w = r(m, v),
                                  S = s(_),
                                  E = 0,
                                  A = g || c,
                                  T = e ? A(p, S) : n || d ? A(p, 0) : void 0;
                                S > E;
                                E++
                              )
                                if (
                                  (h || E in _) &&
                                  ((b = w((y = _[E]), E, V)), t)
                                )
                                  if (e) T[E] = b;
                                  else if (b)
                                    switch (t) {
                                      case 3:
                                        return !0;
                                      case 5:
                                        return y;
                                      case 6:
                                        return E;
                                      case 2:
                                        l(T, y);
                                    }
                                  else
                                    switch (t) {
                                      case 4:
                                        return !1;
                                      case 7:
                                        l(T, y);
                                    }
                              return f ? -1 : i || u ? u : T;
                            };
                          };
                        t.exports = {
                          forEach: u(0),
                          map: u(1),
                          filter: u(2),
                          some: u(3),
                          every: u(4),
                          find: u(5),
                          findIndex: u(6),
                          filterReject: u(7),
                        };
                      },
                      9269: function (t, e, n) {
                        var r = n(6544),
                          i = n(3649),
                          o = n(4061),
                          a = i("species");
                        t.exports = function (t) {
                          return (
                            o >= 51 ||
                            !r(function () {
                              var e = [];
                              return (
                                ((e.constructor = {})[a] = function () {
                                  return { foo: 1 };
                                }),
                                1 !== e[t](Boolean).foo
                              );
                            })
                          );
                        };
                      },
                      4546: function (t, e, n) {
                        var r = n(7583),
                          i = n(6782),
                          o = n(1825),
                          a = n(5999),
                          s = r.Array,
                          c = Math.max;
                        t.exports = function (t, e, n) {
                          for (
                            var r = o(t),
                              l = i(e, r),
                              u = i(void 0 === n ? r : n, r),
                              f = s(c(u - l, 0)),
                              d = 0;
                            l < u;
                            l++, d++
                          )
                            a(f, d, t[l]);
                          return (f.length = d), f;
                        };
                      },
                      6917: function (t, e, n) {
                        var r = n(7386);
                        t.exports = r([].slice);
                      },
                      5289: function (t, e, n) {
                        var r = n(7583),
                          i = n(4521),
                          o = n(2097),
                          a = n(794),
                          s = n(3649)("species"),
                          c = r.Array;
                        t.exports = function (t) {
                          var e;
                          return (
                            i(t) &&
                              ((e = t.constructor),
                              ((o(e) && (e === c || i(e.prototype))) ||
                                (a(e) && null === (e = e[s]))) &&
                                (e = void 0)),
                            void 0 === e ? c : e
                          );
                        };
                      },
                      4822: function (t, e, n) {
                        var r = n(5289);
                        t.exports = function (t, e) {
                          return new (r(t))(0 === e ? 0 : e);
                        };
                      },
                      3616: function (t, e, n) {
                        var r = n(3649)("iterator"),
                          i = !1;
                        try {
                          var o = 0,
                            a = {
                              next: function () {
                                return { done: !!o++ };
                              },
                              return: function () {
                                i = !0;
                              },
                            };
                          (a[r] = function () {
                            return this;
                          }),
                            Array.from(a, function () {
                              throw 2;
                            });
                        } catch {}
                        t.exports = function (t, e) {
                          if (!e && !i) return !1;
                          var n = !1;
                          try {
                            var o = {};
                            (o[r] = function () {
                              return {
                                next: function () {
                                  return { done: (n = !0) };
                                },
                              };
                            }),
                              t(o);
                          } catch {}
                          return n;
                        };
                      },
                      9624: function (t, e, n) {
                        var r = n(7386),
                          i = r({}.toString),
                          o = r("".slice);
                        t.exports = function (t) {
                          return o(i(t), 8, -1);
                        };
                      },
                      3058: function (t, e, n) {
                        var r = n(7583),
                          i = n(8191),
                          o = n(9212),
                          a = n(9624),
                          s = n(3649)("toStringTag"),
                          c = r.Object,
                          l =
                            "Arguments" ==
                            a(
                              (function () {
                                return arguments;
                              })()
                            );
                        t.exports = i
                          ? a
                          : function (t) {
                              var e, n, r;
                              return void 0 === t
                                ? "Undefined"
                                : null === t
                                ? "Null"
                                : "string" ==
                                  typeof (n = (function (t, e) {
                                    try {
                                      return t[e];
                                    } catch {}
                                  })((e = c(t)), s))
                                ? n
                                : l
                                ? a(e)
                                : "Object" == (r = a(e)) && o(e.callee)
                                ? "Arguments"
                                : r;
                            };
                      },
                      1509: function (t, e, n) {
                        var r = n(7386)("".replace),
                          i = String(Error("zxcasd").stack),
                          o = /\n\s*at [^:]*:[^\n]*/,
                          a = o.test(i);
                        t.exports = function (t, e) {
                          if (a && "string" == typeof t)
                            for (; e--; ) t = r(t, o, "");
                          return t;
                        };
                      },
                      3478: function (t, e, n) {
                        var r = n(2870),
                          i = n(929),
                          o = n(6683),
                          a = n(4615);
                        t.exports = function (t, e, n) {
                          for (
                            var s = i(e), c = a.f, l = o.f, u = 0;
                            u < s.length;
                            u++
                          ) {
                            var f = s[u];
                            r(t, f) || (n && r(n, f)) || c(t, f, l(e, f));
                          }
                        };
                      },
                      926: function (t, e, n) {
                        var r = n(6544);
                        t.exports = !r(function () {
                          function t() {}
                          return (
                            (t.prototype.constructor = null),
                            Object.getPrototypeOf(new t()) !== t.prototype
                          );
                        });
                      },
                      4683: function (t, e, n) {
                        var r = n(2365).IteratorPrototype,
                          i = n(3590),
                          o = n(4677),
                          a = n(8821),
                          s = n(339),
                          c = function () {
                            return this;
                          };
                        t.exports = function (t, e, n, l) {
                          var u = e + " Iterator";
                          return (
                            (t.prototype = i(r, { next: o(+!l, n) })),
                            a(t, u, !1, !0),
                            (s[u] = c),
                            t
                          );
                        };
                      },
                      57: function (t, e, n) {
                        var r = n(8494),
                          i = n(4615),
                          o = n(4677);
                        t.exports = r
                          ? function (t, e, n) {
                              return i.f(t, e, o(1, n));
                            }
                          : function (t, e, n) {
                              return (t[e] = n), t;
                            };
                      },
                      4677: function (t) {
                        t.exports = function (t, e) {
                          return {
                            enumerable: !(1 & t),
                            configurable: !(2 & t),
                            writable: !(4 & t),
                            value: e,
                          };
                        };
                      },
                      5999: function (t, e, n) {
                        var r = n(8734),
                          i = n(4615),
                          o = n(4677);
                        t.exports = function (t, e, n) {
                          var a = r(e);
                          a in t ? i.f(t, a, o(0, n)) : (t[a] = n);
                        };
                      },
                      9012: function (t, e, n) {
                        var r = n(7263),
                          i = n(8262),
                          o = n(6268),
                          a = n(4340),
                          s = n(9212),
                          c = n(4683),
                          l = n(729),
                          u = n(7496),
                          f = n(8821),
                          d = n(57),
                          h = n(1270),
                          p = n(3649),
                          m = n(339),
                          v = n(2365),
                          g = a.PROPER,
                          y = a.CONFIGURABLE,
                          b = v.IteratorPrototype,
                          V = v.BUGGY_SAFARI_ITERATORS,
                          _ = p("iterator"),
                          w = "keys",
                          S = "values",
                          E = "entries",
                          A = function () {
                            return this;
                          };
                        t.exports = function (t, e, n, a, p, v, T) {
                          c(n, e, a);
                          var O,
                            C,
                            P,
                            x = function (t) {
                              if (t === p && D) return D;
                              if (!V && t in j) return j[t];
                              switch (t) {
                                case w:
                                case S:
                                case E:
                                  return function () {
                                    return new n(this, t);
                                  };
                              }
                              return function () {
                                return new n(this);
                              };
                            },
                            k = e + " Iterator",
                            I = !1,
                            j = t.prototype,
                            R = j[_] || j["@@iterator"] || (p && j[p]),
                            D = (!V && R) || x(p),
                            L = ("Array" == e && j.entries) || R;
                          if (
                            (L &&
                              (O = l(L.call(new t()))) !== Object.prototype &&
                              O.next &&
                              (o ||
                                l(O) === b ||
                                (u ? u(O, b) : s(O[_]) || h(O, _, A)),
                              f(O, k, !0, !0),
                              o && (m[k] = A)),
                            g &&
                              p == S &&
                              R &&
                              R.name !== S &&
                              (!o && y
                                ? d(j, "name", S)
                                : ((I = !0),
                                  (D = function () {
                                    return i(R, this);
                                  }))),
                            p)
                          )
                            if (
                              ((C = {
                                values: x(S),
                                keys: v ? D : x(w),
                                entries: x(E),
                              }),
                              T)
                            )
                              for (P in C)
                                (V || I || !(P in j)) && h(j, P, C[P]);
                            else r({ target: e, proto: !0, forced: V || I }, C);
                          return (
                            (o && !T) || j[_] === D || h(j, _, D, { name: p }),
                            (m[e] = D),
                            C
                          );
                        };
                      },
                      2219: function (t, e, n) {
                        var r = n(1287),
                          i = n(2870),
                          o = n(491),
                          a = n(4615).f;
                        t.exports = function (t) {
                          var e = r.Symbol || (r.Symbol = {});
                          i(e, t) || a(e, t, { value: o.f(t) });
                        };
                      },
                      8494: function (t, e, n) {
                        var r = n(6544);
                        t.exports = !r(function () {
                          return (
                            7 !=
                            Object.defineProperty({}, 1, {
                              get: function () {
                                return 7;
                              },
                            })[1]
                          );
                        });
                      },
                      6668: function (t, e, n) {
                        var r = n(7583),
                          i = n(794),
                          o = r.document,
                          a = i(o) && i(o.createElement);
                        t.exports = function (t) {
                          return a ? o.createElement(t) : {};
                        };
                      },
                      6778: function (t) {
                        t.exports = {
                          CSSRuleList: 0,
                          CSSStyleDeclaration: 0,
                          CSSValueList: 0,
                          ClientRectList: 0,
                          DOMRectList: 0,
                          DOMStringList: 0,
                          DOMTokenList: 1,
                          DataTransferItemList: 0,
                          FileList: 0,
                          HTMLAllCollection: 0,
                          HTMLCollection: 0,
                          HTMLFormElement: 0,
                          HTMLSelectElement: 0,
                          MediaList: 0,
                          MimeTypeArray: 0,
                          NamedNodeMap: 0,
                          NodeList: 1,
                          PaintRequestList: 0,
                          Plugin: 0,
                          PluginArray: 0,
                          SVGLengthList: 0,
                          SVGNumberList: 0,
                          SVGPathSegList: 0,
                          SVGPointList: 0,
                          SVGStringList: 0,
                          SVGTransformList: 0,
                          SourceBufferList: 0,
                          StyleSheetList: 0,
                          TextTrackCueList: 0,
                          TextTrackList: 0,
                          TouchList: 0,
                        };
                      },
                      9307: function (t, e, n) {
                        var r = n(6668)("span").classList,
                          i = r && r.constructor && r.constructor.prototype;
                        t.exports = i === Object.prototype ? void 0 : i;
                      },
                      2274: function (t) {
                        t.exports = "object" == typeof window;
                      },
                      3256: function (t, e, n) {
                        var r = n(6918),
                          i = n(7583);
                        t.exports =
                          /ipad|iphone|ipod/i.test(r) && void 0 !== i.Pebble;
                      },
                      7020: function (t, e, n) {
                        var r = n(6918);
                        t.exports = /(?:ipad|iphone|ipod).*applewebkit/i.test(
                          r
                        );
                      },
                      5354: function (t, e, n) {
                        var r = n(9624),
                          i = n(7583);
                        t.exports = "process" == r(i.process);
                      },
                      6846: function (t, e, n) {
                        var r = n(6918);
                        t.exports = /web0s(?!.*chrome)/i.test(r);
                      },
                      6918: function (t, e, n) {
                        var r = n(5897);
                        t.exports = r("navigator", "userAgent") || "";
                      },
                      4061: function (t, e, n) {
                        var r,
                          i,
                          o = n(7583),
                          a = n(6918),
                          s = o.process,
                          c = o.Deno,
                          l = (s && s.versions) || (c && c.version),
                          u = l && l.v8;
                        u &&
                          (i =
                            (r = u.split("."))[0] > 0 && r[0] < 4
                              ? 1
                              : +(r[0] + r[1])),
                          !i &&
                            a &&
                            (!(r = a.match(/Edge\/(\d+)/)) || r[1] >= 74) &&
                            (r = a.match(/Chrome\/(\d+)/)) &&
                            (i = +r[1]),
                          (t.exports = i);
                      },
                      5690: function (t) {
                        t.exports = [
                          "constructor",
                          "hasOwnProperty",
                          "isPrototypeOf",
                          "propertyIsEnumerable",
                          "toLocaleString",
                          "toString",
                          "valueOf",
                        ];
                      },
                      1178: function (t, e, n) {
                        var r = n(6544),
                          i = n(4677);
                        t.exports = !r(function () {
                          var t = Error("a");
                          return (
                            !("stack" in t) ||
                            (Object.defineProperty(t, "stack", i(1, 7)),
                            7 !== t.stack)
                          );
                        });
                      },
                      7263: function (t, e, n) {
                        var r = n(7583),
                          i = n(6683).f,
                          o = n(57),
                          a = n(1270),
                          s = n(460),
                          c = n(3478),
                          l = n(4451);
                        t.exports = function (t, e) {
                          var n,
                            u,
                            f,
                            d,
                            h,
                            p = t.target,
                            m = t.global,
                            v = t.stat;
                          if (
                            (n = m
                              ? r
                              : v
                              ? r[p] || s(p, {})
                              : (r[p] || {}).prototype)
                          )
                            for (u in e) {
                              if (
                                ((d = e[u]),
                                (f = t.noTargetGet
                                  ? (h = i(n, u)) && h.value
                                  : n[u]),
                                !l(m ? u : p + (v ? "." : "#") + u, t.forced) &&
                                  void 0 !== f)
                              ) {
                                if (typeof d == typeof f) continue;
                                c(d, f);
                              }
                              (t.sham || (f && f.sham)) && o(d, "sham", !0),
                                a(n, u, d, t);
                            }
                        };
                      },
                      6544: function (t) {
                        t.exports = function (t) {
                          try {
                            return !!t();
                          } catch {
                            return !0;
                          }
                        };
                      },
                      1611: function (t, e, n) {
                        var r = n(8987),
                          i = Function.prototype,
                          o = i.apply,
                          a = i.call;
                        t.exports =
                          ("object" == typeof Reflect && Reflect.apply) ||
                          (r
                            ? a.bind(o)
                            : function () {
                                return a.apply(o, arguments);
                              });
                      },
                      2938: function (t, e, n) {
                        var r = n(7386),
                          i = n(8257),
                          o = n(8987),
                          a = r(r.bind);
                        t.exports = function (t, e) {
                          return (
                            i(t),
                            void 0 === e
                              ? t
                              : o
                              ? a(t, e)
                              : function () {
                                  return t.apply(e, arguments);
                                }
                          );
                        };
                      },
                      8987: function (t, e, n) {
                        var r = n(6544);
                        t.exports = !r(function () {
                          var t = function () {}.bind();
                          return (
                            "function" != typeof t ||
                            t.hasOwnProperty("prototype")
                          );
                        });
                      },
                      8262: function (t, e, n) {
                        var r = n(8987),
                          i = Function.prototype.call;
                        t.exports = r
                          ? i.bind(i)
                          : function () {
                              return i.apply(i, arguments);
                            };
                      },
                      4340: function (t, e, n) {
                        var r = n(8494),
                          i = n(2870),
                          o = Function.prototype,
                          a = r && Object.getOwnPropertyDescriptor,
                          s = i(o, "name"),
                          c = s && "something" === function () {}.name,
                          l = s && (!r || (r && a(o, "name").configurable));
                        t.exports = { EXISTS: s, PROPER: c, CONFIGURABLE: l };
                      },
                      7386: function (t, e, n) {
                        var r = n(8987),
                          i = Function.prototype,
                          o = i.bind,
                          a = i.call,
                          s = r && o.bind(a, a);
                        t.exports = r
                          ? function (t) {
                              return t && s(t);
                            }
                          : function (t) {
                              return (
                                t &&
                                function () {
                                  return a.apply(t, arguments);
                                }
                              );
                            };
                      },
                      5897: function (t, e, n) {
                        var r = n(7583),
                          i = n(9212);
                        t.exports = function (t, e) {
                          return arguments.length < 2
                            ? (function (t) {
                                return i(t) ? t : void 0;
                              })(r[t])
                            : r[t] && r[t][e];
                        };
                      },
                      8272: function (t, e, n) {
                        var r = n(3058),
                          i = n(911),
                          o = n(339),
                          a = n(3649)("iterator");
                        t.exports = function (t) {
                          if (null != t)
                            return i(t, a) || i(t, "@@iterator") || o[r(t)];
                        };
                      },
                      6307: function (t, e, n) {
                        var r = n(7583),
                          i = n(8262),
                          o = n(8257),
                          a = n(2569),
                          s = n(5637),
                          c = n(8272),
                          l = r.TypeError;
                        t.exports = function (t, e) {
                          var n = arguments.length < 2 ? c(t) : e;
                          if (o(n)) return a(i(n, t));
                          throw l(s(t) + " is not iterable");
                        };
                      },
                      911: function (t, e, n) {
                        var r = n(8257);
                        t.exports = function (t, e) {
                          var n = t[e];
                          return null == n ? void 0 : r(n);
                        };
                      },
                      7583: function (t, e, n) {
                        var r = function (t) {
                          return t && t.Math == Math && t;
                        };
                        t.exports =
                          r("object" == typeof globalThis && globalThis) ||
                          r("object" == typeof window && window) ||
                          r("object" == typeof self && self) ||
                          r("object" == typeof n.g && n.g) ||
                          (function () {
                            return this;
                          })() ||
                          Function("return this")();
                      },
                      2870: function (t, e, n) {
                        var r = n(7386),
                          i = n(1324),
                          o = r({}.hasOwnProperty);
                        t.exports =
                          Object.hasOwn ||
                          function (t, e) {
                            return o(i(t), e);
                          };
                      },
                      4639: function (t) {
                        t.exports = {};
                      },
                      2716: function (t, e, n) {
                        var r = n(7583);
                        t.exports = function (t, e) {
                          var n = r.console;
                          n &&
                            n.error &&
                            (1 == arguments.length
                              ? n.error(t)
                              : n.error(t, e));
                        };
                      },
                      482: function (t, e, n) {
                        var r = n(5897);
                        t.exports = r("document", "documentElement");
                      },
                      275: function (t, e, n) {
                        var r = n(8494),
                          i = n(6544),
                          o = n(6668);
                        t.exports =
                          !r &&
                          !i(function () {
                            return (
                              7 !=
                              Object.defineProperty(o("div"), "a", {
                                get: function () {
                                  return 7;
                                },
                              }).a
                            );
                          });
                      },
                      5044: function (t, e, n) {
                        var r = n(7583),
                          i = n(7386),
                          o = n(6544),
                          a = n(9624),
                          s = r.Object,
                          c = i("".split);
                        t.exports = o(function () {
                          return !s("z").propertyIsEnumerable(0);
                        })
                          ? function (t) {
                              return "String" == a(t) ? c(t, "") : s(t);
                            }
                          : s;
                      },
                      9734: function (t, e, n) {
                        var r = n(7386),
                          i = n(9212),
                          o = n(1314),
                          a = r(Function.toString);
                        i(o.inspectSource) ||
                          (o.inspectSource = function (t) {
                            return a(t);
                          }),
                          (t.exports = o.inspectSource);
                      },
                      4402: function (t, e, n) {
                        var r = n(794),
                          i = n(57);
                        t.exports = function (t, e) {
                          r(e) && "cause" in e && i(t, "cause", e.cause);
                        };
                      },
                      2743: function (t, e, n) {
                        var r,
                          i,
                          o,
                          a = n(9491),
                          s = n(7583),
                          c = n(7386),
                          l = n(794),
                          u = n(57),
                          f = n(2870),
                          d = n(1314),
                          h = n(9137),
                          p = n(4639),
                          m = "Object already initialized",
                          v = s.TypeError,
                          g = s.WeakMap;
                        if (a || d.state) {
                          var y = d.state || (d.state = new g()),
                            b = c(y.get),
                            V = c(y.has),
                            _ = c(y.set);
                          (r = function (t, e) {
                            if (V(y, t)) throw new v(m);
                            return (e.facade = t), _(y, t, e), e;
                          }),
                            (i = function (t) {
                              return b(y, t) || {};
                            }),
                            (o = function (t) {
                              return V(y, t);
                            });
                        } else {
                          var w = h("state");
                          (p[w] = !0),
                            (r = function (t, e) {
                              if (f(t, w)) throw new v(m);
                              return (e.facade = t), u(t, w, e), e;
                            }),
                            (i = function (t) {
                              return f(t, w) ? t[w] : {};
                            }),
                            (o = function (t) {
                              return f(t, w);
                            });
                        }
                        t.exports = {
                          set: r,
                          get: i,
                          has: o,
                          enforce: function (t) {
                            return o(t) ? i(t) : r(t, {});
                          },
                          getterFor: function (t) {
                            return function (e) {
                              var n;
                              if (!l(e) || (n = i(e)).type !== t)
                                throw v(
                                  "Incompatible receiver, " + t + " required"
                                );
                              return n;
                            };
                          },
                        };
                      },
                      114: function (t, e, n) {
                        var r = n(3649),
                          i = n(339),
                          o = r("iterator"),
                          a = Array.prototype;
                        t.exports = function (t) {
                          return void 0 !== t && (i.Array === t || a[o] === t);
                        };
                      },
                      4521: function (t, e, n) {
                        var r = n(9624);
                        t.exports =
                          Array.isArray ||
                          function (t) {
                            return "Array" == r(t);
                          };
                      },
                      9212: function (t) {
                        t.exports = function (t) {
                          return "function" == typeof t;
                        };
                      },
                      2097: function (t, e, n) {
                        var r = n(7386),
                          i = n(6544),
                          o = n(9212),
                          a = n(3058),
                          s = n(5897),
                          c = n(9734),
                          l = function () {},
                          u = [],
                          f = s("Reflect", "construct"),
                          d = /^\s*(?:class|function)\b/,
                          h = r(d.exec),
                          p = !d.exec(l),
                          m = function (t) {
                            if (!o(t)) return !1;
                            try {
                              return f(l, u, t), !0;
                            } catch {
                              return !1;
                            }
                          },
                          v = function (t) {
                            if (!o(t)) return !1;
                            switch (a(t)) {
                              case "AsyncFunction":
                              case "GeneratorFunction":
                              case "AsyncGeneratorFunction":
                                return !1;
                            }
                            try {
                              return p || !!h(d, c(t));
                            } catch {
                              return !0;
                            }
                          };
                        (v.sham = !0),
                          (t.exports =
                            !f ||
                            i(function () {
                              var t;
                              return (
                                m(m.call) ||
                                !m(Object) ||
                                !m(function () {
                                  t = !0;
                                }) ||
                                t
                              );
                            })
                              ? v
                              : m);
                      },
                      4451: function (t, e, n) {
                        var r = n(6544),
                          i = n(9212),
                          o = /#|\.prototype\./,
                          a = function (t, e) {
                            var n = c[s(t)];
                            return n == u || (n != l && (i(e) ? r(e) : !!e));
                          },
                          s = (a.normalize = function (t) {
                            return String(t).replace(o, ".").toLowerCase();
                          }),
                          c = (a.data = {}),
                          l = (a.NATIVE = "N"),
                          u = (a.POLYFILL = "P");
                        t.exports = a;
                      },
                      794: function (t, e, n) {
                        var r = n(9212);
                        t.exports = function (t) {
                          return "object" == typeof t ? null !== t : r(t);
                        };
                      },
                      6268: function (t) {
                        t.exports = !1;
                      },
                      5871: function (t, e, n) {
                        var r = n(7583),
                          i = n(5897),
                          o = n(9212),
                          a = n(2447),
                          s = n(7786),
                          c = r.Object;
                        t.exports = s
                          ? function (t) {
                              return "symbol" == typeof t;
                            }
                          : function (t) {
                              var e = i("Symbol");
                              return o(e) && a(e.prototype, c(t));
                            };
                      },
                      4026: function (t, e, n) {
                        var r = n(7583),
                          i = n(2938),
                          o = n(8262),
                          a = n(2569),
                          s = n(5637),
                          c = n(114),
                          l = n(1825),
                          u = n(2447),
                          f = n(6307),
                          d = n(8272),
                          h = n(7093),
                          p = r.TypeError,
                          m = function (t, e) {
                            (this.stopped = t), (this.result = e);
                          },
                          v = m.prototype;
                        t.exports = function (t, e, n) {
                          var r,
                            g,
                            y,
                            b,
                            V,
                            _,
                            w,
                            S = n && n.that,
                            E = !(!n || !n.AS_ENTRIES),
                            A = !(!n || !n.IS_ITERATOR),
                            T = !(!n || !n.INTERRUPTED),
                            O = i(e, S),
                            C = function (t) {
                              return r && h(r, "normal", t), new m(!0, t);
                            },
                            P = function (t) {
                              return E
                                ? (a(t), T ? O(t[0], t[1], C) : O(t[0], t[1]))
                                : T
                                ? O(t, C)
                                : O(t);
                            };
                          if (A) r = t;
                          else {
                            if (!(g = d(t))) throw p(s(t) + " is not iterable");
                            if (c(g)) {
                              for (y = 0, b = l(t); b > y; y++)
                                if ((V = P(t[y])) && u(v, V)) return V;
                              return new m(!1);
                            }
                            r = f(t, g);
                          }
                          for (_ = r.next; !(w = o(_, r)).done; ) {
                            try {
                              V = P(w.value);
                            } catch (t) {
                              h(r, "throw", t);
                            }
                            if ("object" == typeof V && V && u(v, V)) return V;
                          }
                          return new m(!1);
                        };
                      },
                      7093: function (t, e, n) {
                        var r = n(8262),
                          i = n(2569),
                          o = n(911);
                        t.exports = function (t, e, n) {
                          var a, s;
                          i(t);
                          try {
                            if (!(a = o(t, "return"))) {
                              if ("throw" === e) throw n;
                              return n;
                            }
                            a = r(a, t);
                          } catch (t) {
                            (s = !0), (a = t);
                          }
                          if ("throw" === e) throw n;
                          if (s) throw a;
                          return i(a), n;
                        };
                      },
                      2365: function (t, e, n) {
                        var r,
                          i,
                          o,
                          a = n(6544),
                          s = n(9212),
                          c = n(3590),
                          l = n(729),
                          u = n(1270),
                          f = n(3649),
                          d = n(6268),
                          h = f("iterator"),
                          p = !1;
                        [].keys &&
                          ("next" in (o = [].keys())
                            ? (i = l(l(o))) !== Object.prototype && (r = i)
                            : (p = !0)),
                          null == r ||
                          a(function () {
                            var t = {};
                            return r[h].call(t) !== t;
                          })
                            ? (r = {})
                            : d && (r = c(r)),
                          s(r[h]) ||
                            u(r, h, function () {
                              return this;
                            }),
                          (t.exports = {
                            IteratorPrototype: r,
                            BUGGY_SAFARI_ITERATORS: p,
                          });
                      },
                      339: function (t) {
                        t.exports = {};
                      },
                      1825: function (t, e, n) {
                        var r = n(97);
                        t.exports = function (t) {
                          return r(t.length);
                        };
                      },
                      2095: function (t, e, n) {
                        var r,
                          i,
                          o,
                          a,
                          s,
                          c,
                          l,
                          u,
                          f = n(7583),
                          d = n(2938),
                          h = n(6683).f,
                          p = n(8117).set,
                          m = n(7020),
                          v = n(3256),
                          g = n(6846),
                          y = n(5354),
                          b = f.MutationObserver || f.WebKitMutationObserver,
                          V = f.document,
                          _ = f.process,
                          w = f.Promise,
                          S = h(f, "queueMicrotask"),
                          E = S && S.value;
                        E ||
                          ((r = function () {
                            var t, e;
                            for (y && (t = _.domain) && t.exit(); i; ) {
                              (e = i.fn), (i = i.next);
                              try {
                                e();
                              } catch (t) {
                                throw (i ? a() : (o = void 0), t);
                              }
                            }
                            (o = void 0), t && t.enter();
                          }),
                          m || y || g || !b || !V
                            ? !v && w && w.resolve
                              ? (((l = w.resolve(void 0)).constructor = w),
                                (u = d(l.then, l)),
                                (a = function () {
                                  u(r);
                                }))
                              : y
                              ? (a = function () {
                                  _.nextTick(r);
                                })
                              : ((p = d(p, f)),
                                (a = function () {
                                  p(r);
                                }))
                            : ((s = !0),
                              (c = V.createTextNode("")),
                              new b(r).observe(c, { characterData: !0 }),
                              (a = function () {
                                c.data = s = !s;
                              }))),
                          (t.exports =
                            E ||
                            function (t) {
                              var e = { fn: t, next: void 0 };
                              o && (o.next = e), i || ((i = e), a()), (o = e);
                            });
                      },
                      783: function (t, e, n) {
                        var r = n(7583);
                        t.exports = r.Promise;
                      },
                      8640: function (t, e, n) {
                        var r = n(4061),
                          i = n(6544);
                        t.exports =
                          !!Object.getOwnPropertySymbols &&
                          !i(function () {
                            var t = Symbol();
                            return (
                              !String(t) ||
                              !(Object(t) instanceof Symbol) ||
                              (!Symbol.sham && r && r < 41)
                            );
                          });
                      },
                      9491: function (t, e, n) {
                        var r = n(7583),
                          i = n(9212),
                          o = n(9734),
                          a = r.WeakMap;
                        t.exports = i(a) && /native code/.test(o(a));
                      },
                      5084: function (t, e, n) {
                        var r = n(8257),
                          i = function (t) {
                            var e, n;
                            (this.promise = new t(function (t, r) {
                              if (void 0 !== e || void 0 !== n)
                                throw TypeError("Bad Promise constructor");
                              (e = t), (n = r);
                            })),
                              (this.resolve = r(e)),
                              (this.reject = r(n));
                          };
                        t.exports.f = function (t) {
                          return new i(t);
                        };
                      },
                      2764: function (t, e, n) {
                        var r = n(8320);
                        t.exports = function (t, e) {
                          return void 0 === t
                            ? arguments.length < 2
                              ? ""
                              : e
                            : r(t);
                        };
                      },
                      3590: function (t, e, n) {
                        var r,
                          i = n(2569),
                          o = n(8728),
                          a = n(5690),
                          s = n(4639),
                          c = n(482),
                          l = n(6668),
                          u = n(9137)("IE_PROTO"),
                          f = function () {},
                          d = function (t) {
                            return "<script>" + t + "</script>";
                          },
                          h = function (t) {
                            t.write(d("")), t.close();
                            var e = t.parentWindow.Object;
                            return (t = null), e;
                          },
                          p = function () {
                            try {
                              r = new ActiveXObject("htmlfile");
                            } catch {}
                            var t, e;
                            p =
                              typeof document < "u"
                                ? document.domain && r
                                  ? h(r)
                                  : (((e = l("iframe")).style.display = "none"),
                                    c.appendChild(e),
                                    (e.src = "javascript:"),
                                    (t = e.contentWindow.document).open(),
                                    t.write(d("document.F=Object")),
                                    t.close(),
                                    t.F)
                                : h(r);
                            for (var n = a.length; n--; )
                              delete p.prototype[a[n]];
                            return p();
                          };
                        (s[u] = !0),
                          (t.exports =
                            Object.create ||
                            function (t, e) {
                              var n;
                              return (
                                null !== t
                                  ? ((f.prototype = i(t)),
                                    (n = new f()),
                                    (f.prototype = null),
                                    (n[u] = t))
                                  : (n = p()),
                                void 0 === e ? n : o.f(n, e)
                              );
                            });
                      },
                      8728: function (t, e, n) {
                        var r = n(8494),
                          i = n(7670),
                          o = n(4615),
                          a = n(2569),
                          s = n(2977),
                          c = n(5432);
                        e.f =
                          r && !i
                            ? Object.defineProperties
                            : function (t, e) {
                                a(t);
                                for (
                                  var n,
                                    r = s(e),
                                    i = c(e),
                                    l = i.length,
                                    u = 0;
                                  l > u;

                                )
                                  o.f(t, (n = i[u++]), r[n]);
                                return t;
                              };
                      },
                      4615: function (t, e, n) {
                        var r = n(7583),
                          i = n(8494),
                          o = n(275),
                          a = n(7670),
                          s = n(2569),
                          c = n(8734),
                          l = r.TypeError,
                          u = Object.defineProperty,
                          f = Object.getOwnPropertyDescriptor;
                        e.f = i
                          ? a
                            ? function (t, e, n) {
                                if (
                                  (s(t),
                                  (e = c(e)),
                                  s(n),
                                  "function" == typeof t &&
                                    "prototype" === e &&
                                    "value" in n &&
                                    "writable" in n &&
                                    !n.writable)
                                ) {
                                  var r = f(t, e);
                                  r &&
                                    r.writable &&
                                    ((t[e] = n.value),
                                    (n = {
                                      configurable:
                                        "configurable" in n
                                          ? n.configurable
                                          : r.configurable,
                                      enumerable:
                                        "enumerable" in n
                                          ? n.enumerable
                                          : r.enumerable,
                                      writable: !1,
                                    }));
                                }
                                return u(t, e, n);
                              }
                            : u
                          : function (t, e, n) {
                              if ((s(t), (e = c(e)), s(n), o))
                                try {
                                  return u(t, e, n);
                                } catch {}
                              if ("get" in n || "set" in n)
                                throw l("Accessors not supported");
                              return "value" in n && (t[e] = n.value), t;
                            };
                      },
                      6683: function (t, e, n) {
                        var r = n(8494),
                          i = n(8262),
                          o = n(112),
                          a = n(4677),
                          s = n(2977),
                          c = n(8734),
                          l = n(2870),
                          u = n(275),
                          f = Object.getOwnPropertyDescriptor;
                        e.f = r
                          ? f
                          : function (t, e) {
                              if (((t = s(t)), (e = c(e)), u))
                                try {
                                  return f(t, e);
                                } catch {}
                              if (l(t, e)) return a(!i(o.f, t, e), t[e]);
                            };
                      },
                      3130: function (t, e, n) {
                        var r = n(9624),
                          i = n(2977),
                          o = n(9275).f,
                          a = n(4546),
                          s =
                            "object" == typeof window &&
                            window &&
                            Object.getOwnPropertyNames
                              ? Object.getOwnPropertyNames(window)
                              : [];
                        t.exports.f = function (t) {
                          return s && "Window" == r(t)
                            ? (function (t) {
                                try {
                                  return o(t);
                                } catch {
                                  return a(s);
                                }
                              })(t)
                            : o(i(t));
                        };
                      },
                      9275: function (t, e, n) {
                        var r = n(8356),
                          i = n(5690).concat("length", "prototype");
                        e.f =
                          Object.getOwnPropertyNames ||
                          function (t) {
                            return r(t, i);
                          };
                      },
                      4012: function (t, e) {
                        e.f = Object.getOwnPropertySymbols;
                      },
                      729: function (t, e, n) {
                        var r = n(7583),
                          i = n(2870),
                          o = n(9212),
                          a = n(1324),
                          s = n(9137),
                          c = n(926),
                          l = s("IE_PROTO"),
                          u = r.Object,
                          f = u.prototype;
                        t.exports = c
                          ? u.getPrototypeOf
                          : function (t) {
                              var e = a(t);
                              if (i(e, l)) return e[l];
                              var n = e.constructor;
                              return o(n) && e instanceof n
                                ? n.prototype
                                : e instanceof u
                                ? f
                                : null;
                            };
                      },
                      2447: function (t, e, n) {
                        var r = n(7386);
                        t.exports = r({}.isPrototypeOf);
                      },
                      8356: function (t, e, n) {
                        var r = n(7386),
                          i = n(2870),
                          o = n(2977),
                          a = n(5766).indexOf,
                          s = n(4639),
                          c = r([].push);
                        t.exports = function (t, e) {
                          var n,
                            r = o(t),
                            l = 0,
                            u = [];
                          for (n in r) !i(s, n) && i(r, n) && c(u, n);
                          for (; e.length > l; )
                            i(r, (n = e[l++])) && (~a(u, n) || c(u, n));
                          return u;
                        };
                      },
                      5432: function (t, e, n) {
                        var r = n(8356),
                          i = n(5690);
                        t.exports =
                          Object.keys ||
                          function (t) {
                            return r(t, i);
                          };
                      },
                      112: function (t, e) {
                        var n = {}.propertyIsEnumerable,
                          r = Object.getOwnPropertyDescriptor,
                          i = r && !n.call({ 1: 2 }, 1);
                        e.f = i
                          ? function (t) {
                              var e = r(this, t);
                              return !!e && e.enumerable;
                            }
                          : n;
                      },
                      7496: function (t, e, n) {
                        var r = n(7386),
                          i = n(2569),
                          o = n(9882);
                        t.exports =
                          Object.setPrototypeOf ||
                          ("__proto__" in {}
                            ? (function () {
                                var t,
                                  e = !1,
                                  n = {};
                                try {
                                  (t = r(
                                    Object.getOwnPropertyDescriptor(
                                      Object.prototype,
                                      "__proto__"
                                    ).set
                                  ))(n, []),
                                    (e = n instanceof Array);
                                } catch {}
                                return function (n, r) {
                                  return (
                                    i(n),
                                    o(r),
                                    e ? t(n, r) : (n.__proto__ = r),
                                    n
                                  );
                                };
                              })()
                            : void 0);
                      },
                      3060: function (t, e, n) {
                        var r = n(8191),
                          i = n(3058);
                        t.exports = r
                          ? {}.toString
                          : function () {
                              return "[object " + i(this) + "]";
                            };
                      },
                      6252: function (t, e, n) {
                        var r = n(7583),
                          i = n(8262),
                          o = n(9212),
                          a = n(794),
                          s = r.TypeError;
                        t.exports = function (t, e) {
                          var n, r;
                          if (
                            ("string" === e &&
                              o((n = t.toString)) &&
                              !a((r = i(n, t)))) ||
                            (o((n = t.valueOf)) && !a((r = i(n, t)))) ||
                            ("string" !== e &&
                              o((n = t.toString)) &&
                              !a((r = i(n, t))))
                          )
                            return r;
                          throw s("Can't convert object to primitive value");
                        };
                      },
                      929: function (t, e, n) {
                        var r = n(5897),
                          i = n(7386),
                          o = n(9275),
                          a = n(4012),
                          s = n(2569),
                          c = i([].concat);
                        t.exports =
                          r("Reflect", "ownKeys") ||
                          function (t) {
                            var e = o.f(s(t)),
                              n = a.f;
                            return n ? c(e, n(t)) : e;
                          };
                      },
                      1287: function (t, e, n) {
                        var r = n(7583);
                        t.exports = r;
                      },
                      544: function (t) {
                        t.exports = function (t) {
                          try {
                            return { error: !1, value: t() };
                          } catch (t) {
                            return { error: !0, value: t };
                          }
                        };
                      },
                      5732: function (t, e, n) {
                        var r = n(2569),
                          i = n(794),
                          o = n(5084);
                        t.exports = function (t, e) {
                          if ((r(t), i(e) && e.constructor === t)) return e;
                          var n = o.f(t);
                          return (0, n.resolve)(e), n.promise;
                        };
                      },
                      2723: function (t) {
                        var e = function () {
                          (this.head = null), (this.tail = null);
                        };
                        (e.prototype = {
                          add: function (t) {
                            var e = { item: t, next: null };
                            this.head ? (this.tail.next = e) : (this.head = e),
                              (this.tail = e);
                          },
                          get: function () {
                            var t = this.head;
                            if (t)
                              return (
                                (this.head = t.next),
                                this.tail === t && (this.tail = null),
                                t.item
                              );
                          },
                        }),
                          (t.exports = e);
                      },
                      6893: function (t, e, n) {
                        var r = n(1270);
                        t.exports = function (t, e, n) {
                          for (var i in e) r(t, i, e[i], n);
                          return t;
                        };
                      },
                      1270: function (t, e, n) {
                        var r = n(7583),
                          i = n(9212),
                          o = n(2870),
                          a = n(57),
                          s = n(460),
                          c = n(9734),
                          l = n(2743),
                          u = n(4340).CONFIGURABLE,
                          f = l.get,
                          d = l.enforce,
                          h = String(String).split("String");
                        (t.exports = function (t, e, n, c) {
                          var l,
                            f = !!c && !!c.unsafe,
                            p = !!c && !!c.enumerable,
                            m = !!c && !!c.noTargetGet,
                            v = c && void 0 !== c.name ? c.name : e;
                          i(n) &&
                            ("Symbol(" === String(v).slice(0, 7) &&
                              (v =
                                "[" +
                                String(v).replace(/^Symbol\(([^)]*)\)/, "$1") +
                                "]"),
                            (!o(n, "name") || (u && n.name !== v)) &&
                              a(n, "name", v),
                            (l = d(n)).source ||
                              (l.source = h.join(
                                "string" == typeof v ? v : ""
                              ))),
                            t !== r
                              ? (f ? !m && t[e] && (p = !0) : delete t[e],
                                p ? (t[e] = n) : a(t, e, n))
                              : p
                              ? (t[e] = n)
                              : s(e, n);
                        })(Function.prototype, "toString", function () {
                          return (i(this) && f(this).source) || c(this);
                        });
                      },
                      3955: function (t, e, n) {
                        var r = n(7583).TypeError;
                        t.exports = function (t) {
                          if (null == t) throw r("Can't call method on " + t);
                          return t;
                        };
                      },
                      460: function (t, e, n) {
                        var r = n(7583),
                          i = Object.defineProperty;
                        t.exports = function (t, e) {
                          try {
                            i(r, t, {
                              value: e,
                              configurable: !0,
                              writable: !0,
                            });
                          } catch {
                            r[t] = e;
                          }
                          return e;
                        };
                      },
                      7730: function (t, e, n) {
                        var r = n(5897),
                          i = n(4615),
                          o = n(3649),
                          a = n(8494),
                          s = o("species");
                        t.exports = function (t) {
                          var e = r(t),
                            n = i.f;
                          a &&
                            e &&
                            !e[s] &&
                            n(e, s, {
                              configurable: !0,
                              get: function () {
                                return this;
                              },
                            });
                        };
                      },
                      8821: function (t, e, n) {
                        var r = n(4615).f,
                          i = n(2870),
                          o = n(3649)("toStringTag");
                        t.exports = function (t, e, n) {
                          t && !n && (t = t.prototype),
                            t &&
                              !i(t, o) &&
                              r(t, o, { configurable: !0, value: e });
                        };
                      },
                      9137: function (t, e, n) {
                        var r = n(7836),
                          i = n(8284),
                          o = r("keys");
                        t.exports = function (t) {
                          return o[t] || (o[t] = i(t));
                        };
                      },
                      1314: function (t, e, n) {
                        var r = n(7583),
                          i = n(460),
                          o = "__core-js_shared__",
                          a = r[o] || i(o, {});
                        t.exports = a;
                      },
                      7836: function (t, e, n) {
                        var r = n(6268),
                          i = n(1314);
                        (t.exports = function (t, e) {
                          return i[t] || (i[t] = void 0 !== e ? e : {});
                        })("versions", []).push({
                          version: "3.21.1",
                          mode: r ? "pure" : "global",
                          copyright:
                            "© 2014-2022 Denis Pushkarev (zloirock.ru)",
                          license:
                            "https://github.com/zloirock/core-js/blob/v3.21.1/LICENSE",
                          source: "https://github.com/zloirock/core-js",
                        });
                      },
                      564: function (t, e, n) {
                        var r = n(2569),
                          i = n(1186),
                          o = n(3649)("species");
                        t.exports = function (t, e) {
                          var n,
                            a = r(t).constructor;
                          return void 0 === a || null == (n = r(a)[o])
                            ? e
                            : i(n);
                        };
                      },
                      6389: function (t, e, n) {
                        var r = n(7386),
                          i = n(7486),
                          o = n(8320),
                          a = n(3955),
                          s = r("".charAt),
                          c = r("".charCodeAt),
                          l = r("".slice),
                          u = function (t) {
                            return function (e, n) {
                              var r,
                                u,
                                f = o(a(e)),
                                d = i(n),
                                h = f.length;
                              return d < 0 || d >= h
                                ? t
                                  ? ""
                                  : void 0
                                : (r = c(f, d)) < 55296 ||
                                  r > 56319 ||
                                  d + 1 === h ||
                                  (u = c(f, d + 1)) < 56320 ||
                                  u > 57343
                                ? t
                                  ? s(f, d)
                                  : r
                                : t
                                ? l(f, d, d + 2)
                                : u - 56320 + ((r - 55296) << 10) + 65536;
                            };
                          };
                        t.exports = { codeAt: u(!1), charAt: u(!0) };
                      },
                      8117: function (t, e, n) {
                        var r,
                          i,
                          o,
                          a,
                          s = n(7583),
                          c = n(1611),
                          l = n(2938),
                          u = n(9212),
                          f = n(2870),
                          d = n(6544),
                          h = n(482),
                          p = n(6917),
                          m = n(6668),
                          v = n(7520),
                          g = n(7020),
                          y = n(5354),
                          b = s.setImmediate,
                          V = s.clearImmediate,
                          _ = s.process,
                          w = s.Dispatch,
                          S = s.Function,
                          E = s.MessageChannel,
                          A = s.String,
                          T = 0,
                          O = {};
                        try {
                          r = s.location;
                        } catch {}
                        var C = function (t) {
                            if (f(O, t)) {
                              var e = O[t];
                              delete O[t], e();
                            }
                          },
                          P = function (t) {
                            return function () {
                              C(t);
                            };
                          },
                          x = function (t) {
                            C(t.data);
                          },
                          k = function (t) {
                            s.postMessage(A(t), r.protocol + "//" + r.host);
                          };
                        (b && V) ||
                          ((b = function (t) {
                            v(arguments.length, 1);
                            var e = u(t) ? t : S(t),
                              n = p(arguments, 1);
                            return (
                              (O[++T] = function () {
                                c(e, void 0, n);
                              }),
                              i(T),
                              T
                            );
                          }),
                          (V = function (t) {
                            delete O[t];
                          }),
                          y
                            ? (i = function (t) {
                                _.nextTick(P(t));
                              })
                            : w && w.now
                            ? (i = function (t) {
                                w.now(P(t));
                              })
                            : E && !g
                            ? ((a = (o = new E()).port2),
                              (o.port1.onmessage = x),
                              (i = l(a.postMessage, a)))
                            : s.addEventListener &&
                              u(s.postMessage) &&
                              !s.importScripts &&
                              r &&
                              "file:" !== r.protocol &&
                              !d(k)
                            ? ((i = k), s.addEventListener("message", x, !1))
                            : (i =
                                "onreadystatechange" in m("script")
                                  ? function (t) {
                                      h.appendChild(
                                        m("script")
                                      ).onreadystatechange = function () {
                                        h.removeChild(this), C(t);
                                      };
                                    }
                                  : function (t) {
                                      setTimeout(P(t), 0);
                                    })),
                          (t.exports = { set: b, clear: V });
                      },
                      6782: function (t, e, n) {
                        var r = n(7486),
                          i = Math.max,
                          o = Math.min;
                        t.exports = function (t, e) {
                          var n = r(t);
                          return n < 0 ? i(n + e, 0) : o(n, e);
                        };
                      },
                      2977: function (t, e, n) {
                        var r = n(5044),
                          i = n(3955);
                        t.exports = function (t) {
                          return r(i(t));
                        };
                      },
                      7486: function (t) {
                        var e = Math.ceil,
                          n = Math.floor;
                        t.exports = function (t) {
                          var r = +t;
                          return r != r || 0 === r ? 0 : (r > 0 ? n : e)(r);
                        };
                      },
                      97: function (t, e, n) {
                        var r = n(7486),
                          i = Math.min;
                        t.exports = function (t) {
                          return t > 0 ? i(r(t), 9007199254740991) : 0;
                        };
                      },
                      1324: function (t, e, n) {
                        var r = n(7583),
                          i = n(3955),
                          o = r.Object;
                        t.exports = function (t) {
                          return o(i(t));
                        };
                      },
                      2670: function (t, e, n) {
                        var r = n(7583),
                          i = n(8262),
                          o = n(794),
                          a = n(5871),
                          s = n(911),
                          c = n(6252),
                          l = n(3649),
                          u = r.TypeError,
                          f = l("toPrimitive");
                        t.exports = function (t, e) {
                          if (!o(t) || a(t)) return t;
                          var n,
                            r = s(t, f);
                          if (r) {
                            if (
                              (void 0 === e && (e = "default"),
                              (n = i(r, t, e)),
                              !o(n) || a(n))
                            )
                              return n;
                            throw u("Can't convert object to primitive value");
                          }
                          return void 0 === e && (e = "number"), c(t, e);
                        };
                      },
                      8734: function (t, e, n) {
                        var r = n(2670),
                          i = n(5871);
                        t.exports = function (t) {
                          var e = r(t, "string");
                          return i(e) ? e : e + "";
                        };
                      },
                      8191: function (t, e, n) {
                        var r = {};
                        (r[n(3649)("toStringTag")] = "z"),
                          (t.exports = "[object z]" === String(r));
                      },
                      8320: function (t, e, n) {
                        var r = n(7583),
                          i = n(3058),
                          o = r.String;
                        t.exports = function (t) {
                          if ("Symbol" === i(t))
                            throw TypeError(
                              "Cannot convert a Symbol value to a string"
                            );
                          return o(t);
                        };
                      },
                      5637: function (t, e, n) {
                        var r = n(7583).String;
                        t.exports = function (t) {
                          try {
                            return r(t);
                          } catch {
                            return "Object";
                          }
                        };
                      },
                      8284: function (t, e, n) {
                        var r = n(7386),
                          i = 0,
                          o = Math.random(),
                          a = r((1).toString);
                        t.exports = function (t) {
                          return (
                            "Symbol(" +
                            (void 0 === t ? "" : t) +
                            ")_" +
                            a(++i + o, 36)
                          );
                        };
                      },
                      7786: function (t, e, n) {
                        var r = n(8640);
                        t.exports =
                          r &&
                          !Symbol.sham &&
                          "symbol" == typeof Symbol.iterator;
                      },
                      7670: function (t, e, n) {
                        var r = n(8494),
                          i = n(6544);
                        t.exports =
                          r &&
                          i(function () {
                            return (
                              42 !=
                              Object.defineProperty(
                                function () {},
                                "prototype",
                                { value: 42, writable: !1 }
                              ).prototype
                            );
                          });
                      },
                      7520: function (t, e, n) {
                        var r = n(7583).TypeError;
                        t.exports = function (t, e) {
                          if (t < e) throw r("Not enough arguments");
                          return t;
                        };
                      },
                      491: function (t, e, n) {
                        var r = n(3649);
                        e.f = r;
                      },
                      3649: function (t, e, n) {
                        var r = n(7583),
                          i = n(7836),
                          o = n(2870),
                          a = n(8284),
                          s = n(8640),
                          c = n(7786),
                          l = i("wks"),
                          u = r.Symbol,
                          f = u && u.for,
                          d = c ? u : (u && u.withoutSetter) || a;
                        t.exports = function (t) {
                          if (!o(l, t) || (!s && "string" != typeof l[t])) {
                            var e = "Symbol." + t;
                            s && o(u, t)
                              ? (l[t] = u[t])
                              : (l[t] = c && f ? f(e) : d(e));
                          }
                          return l[t];
                        };
                      },
                      1719: function (t, e, n) {
                        var r = n(7263),
                          i = n(7583),
                          o = n(2447),
                          a = n(729),
                          s = n(7496),
                          c = n(3478),
                          l = n(3590),
                          u = n(57),
                          f = n(4677),
                          d = n(1509),
                          h = n(4402),
                          p = n(4026),
                          m = n(2764),
                          v = n(3649),
                          g = n(1178),
                          y = v("toStringTag"),
                          b = i.Error,
                          V = [].push,
                          _ = function (t, e) {
                            var n,
                              r = arguments.length > 2 ? arguments[2] : void 0,
                              i = o(w, this);
                            s
                              ? (n = s(new b(), i ? a(this) : w))
                              : ((n = i ? this : l(w)), u(n, y, "Error")),
                              void 0 !== e && u(n, "message", m(e)),
                              g && u(n, "stack", d(n.stack, 1)),
                              h(n, r);
                            var c = [];
                            return p(t, V, { that: c }), u(n, "errors", c), n;
                          };
                        s ? s(_, b) : c(_, b, { name: !0 });
                        var w = (_.prototype = l(b.prototype, {
                          constructor: f(1, _),
                          message: f(1, ""),
                          name: f(1, "AggregateError"),
                        }));
                        r({ global: !0 }, { AggregateError: _ });
                      },
                      1646: function (t, e, n) {
                        var r = n(7263),
                          i = n(7583),
                          o = n(6544),
                          a = n(4521),
                          s = n(794),
                          c = n(1324),
                          l = n(1825),
                          u = n(5999),
                          f = n(4822),
                          d = n(9269),
                          h = n(3649),
                          p = n(4061),
                          m = h("isConcatSpreadable"),
                          v = 9007199254740991,
                          g = "Maximum allowed index exceeded",
                          y = i.TypeError,
                          b =
                            p >= 51 ||
                            !o(function () {
                              var t = [];
                              return (t[m] = !1), t.concat()[0] !== t;
                            }),
                          V = d("concat"),
                          _ = function (t) {
                            if (!s(t)) return !1;
                            var e = t[m];
                            return void 0 !== e ? !!e : a(t);
                          };
                        r(
                          { target: "Array", proto: !0, forced: !b || !V },
                          {
                            concat: function (t) {
                              var e,
                                n,
                                r,
                                i,
                                o,
                                a = c(this),
                                s = f(a, 0),
                                d = 0;
                              for (e = -1, r = arguments.length; e < r; e++)
                                if (_((o = -1 === e ? a : arguments[e]))) {
                                  if (d + (i = l(o)) > v) throw y(g);
                                  for (n = 0; n < i; n++, d++)
                                    n in o && u(s, d, o[n]);
                                } else {
                                  if (d >= v) throw y(g);
                                  u(s, d++, o);
                                }
                              return (s.length = d), s;
                            },
                          }
                        );
                      },
                      5677: function (t, e, n) {
                        var r = n(2977),
                          i = n(6288),
                          o = n(339),
                          a = n(2743),
                          s = n(4615).f,
                          c = n(9012),
                          l = n(6268),
                          u = n(8494),
                          f = "Array Iterator",
                          d = a.set,
                          h = a.getterFor(f);
                        t.exports = c(
                          Array,
                          "Array",
                          function (t, e) {
                            d(this, {
                              type: f,
                              target: r(t),
                              index: 0,
                              kind: e,
                            });
                          },
                          function () {
                            var t = h(this),
                              e = t.target,
                              n = t.kind,
                              r = t.index++;
                            return !e || r >= e.length
                              ? ((t.target = void 0),
                                { value: void 0, done: !0 })
                              : "keys" == n
                              ? { value: r, done: !1 }
                              : "values" == n
                              ? { value: e[r], done: !1 }
                              : { value: [r, e[r]], done: !1 };
                          },
                          "values"
                        );
                        var p = (o.Arguments = o.Array);
                        if (
                          (i("keys"),
                          i("values"),
                          i("entries"),
                          !l && u && "values" !== p.name)
                        )
                          try {
                            s(p, "name", { value: "values" });
                          } catch {}
                      },
                      6956: function (t, e, n) {
                        var r = n(7583);
                        n(8821)(r.JSON, "JSON", !0);
                      },
                      5222: function (t, e, n) {
                        n(8821)(Math, "Math", !0);
                      },
                      6394: function (t, e, n) {
                        var r = n(8191),
                          i = n(1270),
                          o = n(3060);
                        r || i(Object.prototype, "toString", o, { unsafe: !0 });
                      },
                      6969: function (t, e, n) {
                        var r = n(7263),
                          i = n(8262),
                          o = n(8257),
                          a = n(5084),
                          s = n(544),
                          c = n(4026);
                        r(
                          { target: "Promise", stat: !0 },
                          {
                            allSettled: function (t) {
                              var e = this,
                                n = a.f(e),
                                r = n.resolve,
                                l = n.reject,
                                u = s(function () {
                                  var n = o(e.resolve),
                                    a = [],
                                    s = 0,
                                    l = 1;
                                  c(t, function (t) {
                                    var o = s++,
                                      c = !1;
                                    l++,
                                      i(n, e, t).then(
                                        function (t) {
                                          c ||
                                            ((c = !0),
                                            (a[o] = {
                                              status: "fulfilled",
                                              value: t,
                                            }),
                                            --l || r(a));
                                        },
                                        function (t) {
                                          c ||
                                            ((c = !0),
                                            (a[o] = {
                                              status: "rejected",
                                              reason: t,
                                            }),
                                            --l || r(a));
                                        }
                                      );
                                  }),
                                    --l || r(a);
                                });
                              return u.error && l(u.value), n.promise;
                            },
                          }
                        );
                      },
                      2021: function (t, e, n) {
                        var r = n(7263),
                          i = n(8257),
                          o = n(5897),
                          a = n(8262),
                          s = n(5084),
                          c = n(544),
                          l = n(4026),
                          u = "No one promise resolved";
                        r(
                          { target: "Promise", stat: !0 },
                          {
                            any: function (t) {
                              var e = this,
                                n = o("AggregateError"),
                                r = s.f(e),
                                f = r.resolve,
                                d = r.reject,
                                h = c(function () {
                                  var r = i(e.resolve),
                                    o = [],
                                    s = 0,
                                    c = 1,
                                    h = !1;
                                  l(t, function (t) {
                                    var i = s++,
                                      l = !1;
                                    c++,
                                      a(r, e, t).then(
                                        function (t) {
                                          l || h || ((h = !0), f(t));
                                        },
                                        function (t) {
                                          l ||
                                            h ||
                                            ((l = !0),
                                            (o[i] = t),
                                            --c || d(new n(o, u)));
                                        }
                                      );
                                  }),
                                    --c || d(new n(o, u));
                                });
                              return h.error && d(h.value), r.promise;
                            },
                          }
                        );
                      },
                      8328: function (t, e, n) {
                        var r = n(7263),
                          i = n(6268),
                          o = n(783),
                          a = n(6544),
                          s = n(5897),
                          c = n(9212),
                          l = n(564),
                          u = n(5732),
                          f = n(1270);
                        if (
                          (r(
                            {
                              target: "Promise",
                              proto: !0,
                              real: !0,
                              forced:
                                !!o &&
                                a(function () {
                                  o.prototype.finally.call(
                                    { then: function () {} },
                                    function () {}
                                  );
                                }),
                            },
                            {
                              finally: function (t) {
                                var e = l(this, s("Promise")),
                                  n = c(t);
                                return this.then(
                                  n
                                    ? function (n) {
                                        return u(e, t()).then(function () {
                                          return n;
                                        });
                                      }
                                    : t,
                                  n
                                    ? function (n) {
                                        return u(e, t()).then(function () {
                                          throw n;
                                        });
                                      }
                                    : t
                                );
                              },
                            }
                          ),
                          !i && c(o))
                        ) {
                          var d = s("Promise").prototype.finally;
                          o.prototype.finally !== d &&
                            f(o.prototype, "finally", d, { unsafe: !0 });
                        }
                      },
                      5334: function (t, e, n) {
                        var r,
                          i,
                          o,
                          a,
                          s = n(7263),
                          c = n(6268),
                          l = n(7583),
                          u = n(5897),
                          f = n(8262),
                          d = n(783),
                          h = n(1270),
                          p = n(6893),
                          m = n(7496),
                          v = n(8821),
                          g = n(7730),
                          y = n(8257),
                          b = n(9212),
                          V = n(794),
                          _ = n(4761),
                          w = n(9734),
                          S = n(4026),
                          E = n(3616),
                          A = n(564),
                          T = n(8117).set,
                          O = n(2095),
                          C = n(5732),
                          P = n(2716),
                          x = n(5084),
                          k = n(544),
                          I = n(2723),
                          j = n(2743),
                          R = n(4451),
                          D = n(3649),
                          L = n(2274),
                          M = n(5354),
                          N = n(4061),
                          $ = D("species"),
                          B = "Promise",
                          U = j.getterFor(B),
                          F = j.set,
                          H = j.getterFor(B),
                          G = d && d.prototype,
                          W = d,
                          z = G,
                          q = l.TypeError,
                          X = l.document,
                          Y = l.process,
                          K = x.f,
                          Z = K,
                          J = !!(X && X.createEvent && l.dispatchEvent),
                          Q = b(l.PromiseRejectionEvent),
                          tt = "unhandledrejection",
                          et = !1,
                          nt = R(B, function () {
                            var t = w(W),
                              e = t !== String(W);
                            if ((!e && 66 === N) || (c && !z.finally))
                              return !0;
                            if (N >= 51 && /native code/.test(t)) return !1;
                            var n = new W(function (t) {
                                t(1);
                              }),
                              r = function (t) {
                                t(
                                  function () {},
                                  function () {}
                                );
                              };
                            return (
                              ((n.constructor = {})[$] = r),
                              !(et = n.then(function () {}) instanceof r) ||
                                (!e && L && !Q)
                            );
                          }),
                          rt =
                            nt ||
                            !E(function (t) {
                              W.all(t).catch(function () {});
                            }),
                          it = function (t) {
                            var e;
                            return !(!V(t) || !b((e = t.then))) && e;
                          },
                          ot = function (t, e) {
                            var n,
                              r,
                              i,
                              o = e.value,
                              a = 1 == e.state,
                              s = a ? t.ok : t.fail,
                              c = t.resolve,
                              l = t.reject,
                              u = t.domain;
                            try {
                              s
                                ? (a ||
                                    (2 === e.rejection && ut(e),
                                    (e.rejection = 1)),
                                  !0 === s
                                    ? (n = o)
                                    : (u && u.enter(),
                                      (n = s(o)),
                                      u && (u.exit(), (i = !0))),
                                  n === t.promise
                                    ? l(q("Promise-chain cycle"))
                                    : (r = it(n))
                                    ? f(r, n, c, l)
                                    : c(n))
                                : l(o);
                            } catch (t) {
                              u && !i && u.exit(), l(t);
                            }
                          },
                          at = function (t, e) {
                            t.notified ||
                              ((t.notified = !0),
                              O(function () {
                                for (var n, r = t.reactions; (n = r.get()); )
                                  ot(n, t);
                                (t.notified = !1), e && !t.rejection && ct(t);
                              }));
                          },
                          st = function (t, e, n) {
                            var r, i;
                            J
                              ? (((r = X.createEvent("Event")).promise = e),
                                (r.reason = n),
                                r.initEvent(t, !1, !0),
                                l.dispatchEvent(r))
                              : (r = { promise: e, reason: n }),
                              !Q && (i = l["on" + t])
                                ? i(r)
                                : t === tt &&
                                  P("Unhandled promise rejection", n);
                          },
                          ct = function (t) {
                            f(T, l, function () {
                              var e,
                                n = t.facade,
                                r = t.value;
                              if (
                                lt(t) &&
                                ((e = k(function () {
                                  M
                                    ? Y.emit("unhandledRejection", r, n)
                                    : st(tt, n, r);
                                })),
                                (t.rejection = M || lt(t) ? 2 : 1),
                                e.error)
                              )
                                throw e.value;
                            });
                          },
                          lt = function (t) {
                            return 1 !== t.rejection && !t.parent;
                          },
                          ut = function (t) {
                            f(T, l, function () {
                              var e = t.facade;
                              M
                                ? Y.emit("rejectionHandled", e)
                                : st("rejectionhandled", e, t.value);
                            });
                          },
                          ft = function (t, e, n) {
                            return function (r) {
                              t(e, r, n);
                            };
                          },
                          dt = function (t, e, n) {
                            t.done ||
                              ((t.done = !0),
                              n && (t = n),
                              (t.value = e),
                              (t.state = 2),
                              at(t, !0));
                          },
                          ht = function t(e, n, r) {
                            if (!e.done) {
                              (e.done = !0), r && (e = r);
                              try {
                                if (e.facade === n)
                                  throw q("Promise can't be resolved itself");
                                var i = it(n);
                                i
                                  ? O(function () {
                                      var r = { done: !1 };
                                      try {
                                        f(i, n, ft(t, r, e), ft(dt, r, e));
                                      } catch (t) {
                                        dt(r, t, e);
                                      }
                                    })
                                  : ((e.value = n), (e.state = 1), at(e, !1));
                              } catch (t) {
                                dt({ done: !1 }, t, e);
                              }
                            }
                          };
                        if (
                          nt &&
                          ((z = (W = function (t) {
                            _(this, z), y(t), f(r, this);
                            var e = U(this);
                            try {
                              t(ft(ht, e), ft(dt, e));
                            } catch (t) {
                              dt(e, t);
                            }
                          }).prototype),
                          ((r = function (t) {
                            F(this, {
                              type: B,
                              done: !1,
                              notified: !1,
                              parent: !1,
                              reactions: new I(),
                              rejection: !1,
                              state: 0,
                              value: void 0,
                            });
                          }).prototype = p(z, {
                            then: function (t, e) {
                              var n = H(this),
                                r = K(A(this, W));
                              return (
                                (n.parent = !0),
                                (r.ok = !b(t) || t),
                                (r.fail = b(e) && e),
                                (r.domain = M ? Y.domain : void 0),
                                0 == n.state
                                  ? n.reactions.add(r)
                                  : O(function () {
                                      ot(r, n);
                                    }),
                                r.promise
                              );
                            },
                            catch: function (t) {
                              return this.then(void 0, t);
                            },
                          })),
                          (i = function () {
                            var t = new r(),
                              e = U(t);
                            (this.promise = t),
                              (this.resolve = ft(ht, e)),
                              (this.reject = ft(dt, e));
                          }),
                          (x.f = K =
                            function (t) {
                              return t === W || t === o ? new i(t) : Z(t);
                            }),
                          !c && b(d) && G !== Object.prototype)
                        ) {
                          (a = G.then),
                            et ||
                              (h(
                                G,
                                "then",
                                function (t, e) {
                                  var n = this;
                                  return new W(function (t, e) {
                                    f(a, n, t, e);
                                  }).then(t, e);
                                },
                                { unsafe: !0 }
                              ),
                              h(G, "catch", z.catch, { unsafe: !0 }));
                          try {
                            delete G.constructor;
                          } catch {}
                          m && m(G, z);
                        }
                        s({ global: !0, wrap: !0, forced: nt }, { Promise: W }),
                          v(W, B, !1, !0),
                          g(B),
                          (o = u(B)),
                          s(
                            { target: B, stat: !0, forced: nt },
                            {
                              reject: function (t) {
                                var e = K(this);
                                return f(e.reject, void 0, t), e.promise;
                              },
                            }
                          ),
                          s(
                            { target: B, stat: !0, forced: c || nt },
                            {
                              resolve: function (t) {
                                return C(c && this === o ? W : this, t);
                              },
                            }
                          ),
                          s(
                            { target: B, stat: !0, forced: rt },
                            {
                              all: function (t) {
                                var e = this,
                                  n = K(e),
                                  r = n.resolve,
                                  i = n.reject,
                                  o = k(function () {
                                    var n = y(e.resolve),
                                      o = [],
                                      a = 0,
                                      s = 1;
                                    S(t, function (t) {
                                      var c = a++,
                                        l = !1;
                                      s++,
                                        f(n, e, t).then(function (t) {
                                          l ||
                                            ((l = !0), (o[c] = t), --s || r(o));
                                        }, i);
                                    }),
                                      --s || r(o);
                                  });
                                return o.error && i(o.value), n.promise;
                              },
                              race: function (t) {
                                var e = this,
                                  n = K(e),
                                  r = n.reject,
                                  i = k(function () {
                                    var i = y(e.resolve);
                                    S(t, function (t) {
                                      f(i, e, t).then(n.resolve, r);
                                    });
                                  });
                                return i.error && r(i.value), n.promise;
                              },
                            }
                          );
                      },
                      2257: function (t, e, n) {
                        var r = n(7263),
                          i = n(7583),
                          o = n(8821);
                        r({ global: !0 }, { Reflect: {} }),
                          o(i.Reflect, "Reflect", !0);
                      },
                      2129: function (t, e, n) {
                        var r = n(6389).charAt,
                          i = n(8320),
                          o = n(2743),
                          a = n(9012),
                          s = "String Iterator",
                          c = o.set,
                          l = o.getterFor(s);
                        a(
                          String,
                          "String",
                          function (t) {
                            c(this, { type: s, string: i(t), index: 0 });
                          },
                          function () {
                            var t,
                              e = l(this),
                              n = e.string,
                              i = e.index;
                            return i >= n.length
                              ? { value: void 0, done: !0 }
                              : ((t = r(n, i)),
                                (e.index += t.length),
                                { value: t, done: !1 });
                          }
                        );
                      },
                      462: function (t, e, n) {
                        n(2219)("asyncIterator");
                      },
                      8407: function (t, e, n) {
                        var r = n(7263),
                          i = n(8494),
                          o = n(7583),
                          a = n(7386),
                          s = n(2870),
                          c = n(9212),
                          l = n(2447),
                          u = n(8320),
                          f = n(4615).f,
                          d = n(3478),
                          h = o.Symbol,
                          p = h && h.prototype;
                        if (
                          i &&
                          c(h) &&
                          (!("description" in p) || void 0 !== h().description)
                        ) {
                          var m = {},
                            v = function () {
                              var t =
                                  arguments.length < 1 ||
                                  void 0 === arguments[0]
                                    ? void 0
                                    : u(arguments[0]),
                                e = l(p, this)
                                  ? new h(t)
                                  : void 0 === t
                                  ? h()
                                  : h(t);
                              return "" === t && (m[e] = !0), e;
                            };
                          d(v, h), (v.prototype = p), (p.constructor = v);
                          var g = "Symbol(test)" == String(h("test")),
                            y = a(p.toString),
                            b = a(p.valueOf),
                            V = /^Symbol\((.*)\)[^)]+$/,
                            _ = a("".replace),
                            w = a("".slice);
                          f(p, "description", {
                            configurable: !0,
                            get: function () {
                              var t = b(this),
                                e = y(t);
                              if (s(m, t)) return "";
                              var n = g ? w(e, 7, -1) : _(e, V, "$1");
                              return "" === n ? void 0 : n;
                            },
                          }),
                            r({ global: !0, forced: !0 }, { Symbol: v });
                        }
                      },
                      2429: function (t, e, n) {
                        n(2219)("hasInstance");
                      },
                      1172: function (t, e, n) {
                        n(2219)("isConcatSpreadable");
                      },
                      8288: function (t, e, n) {
                        n(2219)("iterator");
                      },
                      2004: function (t, e, n) {
                        var r = n(7263),
                          i = n(7583),
                          o = n(5897),
                          a = n(1611),
                          s = n(8262),
                          c = n(7386),
                          l = n(6268),
                          u = n(8494),
                          f = n(8640),
                          d = n(6544),
                          h = n(2870),
                          p = n(4521),
                          m = n(9212),
                          v = n(794),
                          g = n(2447),
                          y = n(5871),
                          b = n(2569),
                          V = n(1324),
                          _ = n(2977),
                          w = n(8734),
                          S = n(8320),
                          E = n(4677),
                          A = n(3590),
                          T = n(5432),
                          O = n(9275),
                          C = n(3130),
                          P = n(4012),
                          x = n(6683),
                          k = n(4615),
                          I = n(8728),
                          j = n(112),
                          R = n(6917),
                          D = n(1270),
                          L = n(7836),
                          M = n(9137),
                          N = n(4639),
                          $ = n(8284),
                          B = n(3649),
                          U = n(491),
                          F = n(2219),
                          H = n(8821),
                          G = n(2743),
                          W = n(4805).forEach,
                          z = M("hidden"),
                          q = "Symbol",
                          X = B("toPrimitive"),
                          Y = G.set,
                          K = G.getterFor(q),
                          Z = Object.prototype,
                          J = i.Symbol,
                          Q = J && J.prototype,
                          tt = i.TypeError,
                          et = i.QObject,
                          nt = o("JSON", "stringify"),
                          rt = x.f,
                          it = k.f,
                          ot = C.f,
                          at = j.f,
                          st = c([].push),
                          ct = L("symbols"),
                          lt = L("op-symbols"),
                          ut = L("string-to-symbol-registry"),
                          ft = L("symbol-to-string-registry"),
                          dt = L("wks"),
                          ht = !et || !et.prototype || !et.prototype.findChild,
                          pt =
                            u &&
                            d(function () {
                              return (
                                7 !=
                                A(
                                  it({}, "a", {
                                    get: function () {
                                      return it(this, "a", { value: 7 }).a;
                                    },
                                  })
                                ).a
                              );
                            })
                              ? function (t, e, n) {
                                  var r = rt(Z, e);
                                  r && delete Z[e],
                                    it(t, e, n),
                                    r && t !== Z && it(Z, e, r);
                                }
                              : it,
                          mt = function (t, e) {
                            var n = (ct[t] = A(Q));
                            return (
                              Y(n, { type: q, tag: t, description: e }),
                              u || (n.description = e),
                              n
                            );
                          },
                          vt = function (t, e, n) {
                            t === Z && vt(lt, e, n), b(t);
                            var r = w(e);
                            return (
                              b(n),
                              h(ct, r)
                                ? (n.enumerable
                                    ? (h(t, z) && t[z][r] && (t[z][r] = !1),
                                      (n = A(n, { enumerable: E(0, !1) })))
                                    : (h(t, z) || it(t, z, E(1, {})),
                                      (t[z][r] = !0)),
                                  pt(t, r, n))
                                : it(t, r, n)
                            );
                          },
                          gt = function (t, e) {
                            b(t);
                            var n = _(e),
                              r = T(n).concat(_t(n));
                            return (
                              W(r, function (e) {
                                (u && !s(yt, n, e)) || vt(t, e, n[e]);
                              }),
                              t
                            );
                          },
                          yt = function (t) {
                            var e = w(t),
                              n = s(at, this, e);
                            return (
                              !(this === Z && h(ct, e) && !h(lt, e)) &&
                              (!(
                                n ||
                                !h(this, e) ||
                                !h(ct, e) ||
                                (h(this, z) && this[z][e])
                              ) ||
                                n)
                            );
                          },
                          bt = function (t, e) {
                            var n = _(t),
                              r = w(e);
                            if (n !== Z || !h(ct, r) || h(lt, r)) {
                              var i = rt(n, r);
                              return (
                                !i ||
                                  !h(ct, r) ||
                                  (h(n, z) && n[z][r]) ||
                                  (i.enumerable = !0),
                                i
                              );
                            }
                          },
                          Vt = function (t) {
                            var e = ot(_(t)),
                              n = [];
                            return (
                              W(e, function (t) {
                                h(ct, t) || h(N, t) || st(n, t);
                              }),
                              n
                            );
                          },
                          _t = function (t) {
                            var e = t === Z,
                              n = ot(e ? lt : _(t)),
                              r = [];
                            return (
                              W(n, function (t) {
                                !h(ct, t) || (e && !h(Z, t)) || st(r, ct[t]);
                              }),
                              r
                            );
                          };
                        if (
                          (f ||
                            ((J = function () {
                              if (g(Q, this))
                                throw tt("Symbol is not a constructor");
                              var t =
                                  arguments.length && void 0 !== arguments[0]
                                    ? S(arguments[0])
                                    : void 0,
                                e = $(t);
                              return (
                                u &&
                                  ht &&
                                  pt(Z, e, {
                                    configurable: !0,
                                    set: function t(n) {
                                      this === Z && s(t, lt, n),
                                        h(this, z) &&
                                          h(this[z], e) &&
                                          (this[z][e] = !1),
                                        pt(this, e, E(1, n));
                                    },
                                  }),
                                mt(e, t)
                              );
                            }),
                            D((Q = J.prototype), "toString", function () {
                              return K(this).tag;
                            }),
                            D(J, "withoutSetter", function (t) {
                              return mt($(t), t);
                            }),
                            (j.f = yt),
                            (k.f = vt),
                            (I.f = gt),
                            (x.f = bt),
                            (O.f = C.f = Vt),
                            (P.f = _t),
                            (U.f = function (t) {
                              return mt(B(t), t);
                            }),
                            u &&
                              (it(Q, "description", {
                                configurable: !0,
                                get: function () {
                                  return K(this).description;
                                },
                              }),
                              l ||
                                D(Z, "propertyIsEnumerable", yt, {
                                  unsafe: !0,
                                }))),
                          r(
                            { global: !0, wrap: !0, forced: !f, sham: !f },
                            { Symbol: J }
                          ),
                          W(T(dt), function (t) {
                            F(t);
                          }),
                          r(
                            { target: q, stat: !0, forced: !f },
                            {
                              for: function (t) {
                                var e = S(t);
                                if (h(ut, e)) return ut[e];
                                var n = J(e);
                                return (ut[e] = n), (ft[n] = e), n;
                              },
                              keyFor: function (t) {
                                if (!y(t)) throw tt(t + " is not a symbol");
                                if (h(ft, t)) return ft[t];
                              },
                              useSetter: function () {
                                ht = !0;
                              },
                              useSimple: function () {
                                ht = !1;
                              },
                            }
                          ),
                          r(
                            {
                              target: "Object",
                              stat: !0,
                              forced: !f,
                              sham: !u,
                            },
                            {
                              create: function (t, e) {
                                return void 0 === e ? A(t) : gt(A(t), e);
                              },
                              defineProperty: vt,
                              defineProperties: gt,
                              getOwnPropertyDescriptor: bt,
                            }
                          ),
                          r(
                            { target: "Object", stat: !0, forced: !f },
                            {
                              getOwnPropertyNames: Vt,
                              getOwnPropertySymbols: _t,
                            }
                          ),
                          r(
                            {
                              target: "Object",
                              stat: !0,
                              forced: d(function () {
                                P.f(1);
                              }),
                            },
                            {
                              getOwnPropertySymbols: function (t) {
                                return P.f(V(t));
                              },
                            }
                          ),
                          nt &&
                            r(
                              {
                                target: "JSON",
                                stat: !0,
                                forced:
                                  !f ||
                                  d(function () {
                                    var t = J();
                                    return (
                                      "[null]" != nt([t]) ||
                                      "{}" != nt({ a: t }) ||
                                      "{}" != nt(Object(t))
                                    );
                                  }),
                              },
                              {
                                stringify: function (t, e, n) {
                                  var r = R(arguments),
                                    i = e;
                                  if ((v(e) || void 0 !== t) && !y(t))
                                    return (
                                      p(e) ||
                                        (e = function (t, e) {
                                          if (
                                            (m(i) && (e = s(i, this, t, e)),
                                            !y(e))
                                          )
                                            return e;
                                        }),
                                      (r[1] = e),
                                      a(nt, null, r)
                                    );
                                },
                              }
                            ),
                          !Q[X])
                        ) {
                          var wt = Q.valueOf;
                          D(Q, X, function (t) {
                            return s(wt, this);
                          });
                        }
                        H(J, q), (N[z] = !0);
                      },
                      8201: function (t, e, n) {
                        n(2219)("matchAll");
                      },
                      1274: function (t, e, n) {
                        n(2219)("match");
                      },
                      6626: function (t, e, n) {
                        n(2219)("replace");
                      },
                      3211: function (t, e, n) {
                        n(2219)("search");
                      },
                      9952: function (t, e, n) {
                        n(2219)("species");
                      },
                      15: function (t, e, n) {
                        n(2219)("split");
                      },
                      9831: function (t, e, n) {
                        n(2219)("toPrimitive");
                      },
                      7521: function (t, e, n) {
                        n(2219)("toStringTag");
                      },
                      2972: function (t, e, n) {
                        n(2219)("unscopables");
                      },
                      4655: function (t, e, n) {
                        var r = n(7583),
                          i = n(6778),
                          o = n(9307),
                          a = n(5677),
                          s = n(57),
                          c = n(3649),
                          l = c("iterator"),
                          u = c("toStringTag"),
                          f = a.values,
                          d = function (t, e) {
                            if (t) {
                              if (t[l] !== f)
                                try {
                                  s(t, l, f);
                                } catch {
                                  t[l] = f;
                                }
                              if ((t[u] || s(t, u, e), i[e]))
                                for (var n in a)
                                  if (t[n] !== a[n])
                                    try {
                                      s(t, n, a[n]);
                                    } catch {
                                      t[n] = a[n];
                                    }
                            }
                          };
                        for (var h in i) d(r[h] && r[h].prototype, h);
                        d(o, "DOMTokenList");
                      },
                      8765: function (t, e, n) {
                        var r = n(5036);
                        n(4655), (t.exports = r);
                      },
                      5441: function (t, e, n) {
                        var r = n(2582);
                        n(4655), (t.exports = r);
                      },
                      7705: function (t) {
                        t.exports = function (t) {
                          var e = [];
                          return (
                            (e.toString = function () {
                              return this.map(function (e) {
                                var n = "",
                                  r = void 0 !== e[5];
                                return (
                                  e[4] &&
                                    (n += "@supports (".concat(e[4], ") {")),
                                  e[2] && (n += "@media ".concat(e[2], " {")),
                                  r &&
                                    (n += "@layer".concat(
                                      e[5].length > 0 ? " ".concat(e[5]) : "",
                                      " {"
                                    )),
                                  (n += t(e)),
                                  r && (n += "}"),
                                  e[2] && (n += "}"),
                                  e[4] && (n += "}"),
                                  n
                                );
                              }).join("");
                            }),
                            (e.i = function (t, n, r, i, o) {
                              "string" == typeof t && (t = [[null, t, void 0]]);
                              var a = {};
                              if (r)
                                for (var s = 0; s < this.length; s++) {
                                  var c = this[s][0];
                                  null != c && (a[c] = !0);
                                }
                              for (var l = 0; l < t.length; l++) {
                                var u = [].concat(t[l]);
                                (r && a[u[0]]) ||
                                  (void 0 !== o &&
                                    (void 0 === u[5] ||
                                      (u[1] = "@layer"
                                        .concat(
                                          u[5].length > 0
                                            ? " ".concat(u[5])
                                            : "",
                                          " {"
                                        )
                                        .concat(u[1], "}")),
                                    (u[5] = o)),
                                  n &&
                                    (u[2] &&
                                      (u[1] = "@media "
                                        .concat(u[2], " {")
                                        .concat(u[1], "}")),
                                    (u[2] = n)),
                                  i &&
                                    (u[4]
                                      ? ((u[1] = "@supports ("
                                          .concat(u[4], ") {")
                                          .concat(u[1], "}")),
                                        (u[4] = i))
                                      : (u[4] = "".concat(i))),
                                  e.push(u));
                              }
                            }),
                            e
                          );
                        };
                      },
                      6738: function (t) {
                        t.exports = function (t) {
                          return t[1];
                        };
                      },
                      8679: function (t) {
                        var e =
                            window.MutationObserver ||
                            window.WebKitMutationObserver ||
                            window.MozMutationObserver,
                          n = window.WeakMap;
                        if (void 0 === n) {
                          var r = Object.defineProperty,
                            i = Date.now() % 1e9;
                          (n = function () {
                            this.name =
                              "__st" +
                              ((1e9 * Math.random()) >>> 0) +
                              i++ +
                              "__";
                          }).prototype = {
                            set: function (t, e) {
                              var n = t[this.name];
                              return (
                                n && n[0] === t
                                  ? (n[1] = e)
                                  : r(t, this.name, {
                                      value: [t, e],
                                      writable: !0,
                                    }),
                                this
                              );
                            },
                            get: function (t) {
                              var e;
                              return (e = t[this.name]) && e[0] === t
                                ? e[1]
                                : void 0;
                            },
                            delete: function (t) {
                              var e = t[this.name];
                              if (!e) return !1;
                              var n = e[0] === t;
                              return (e[0] = e[1] = void 0), n;
                            },
                            has: function (t) {
                              var e = t[this.name];
                              return !!e && e[0] === t;
                            },
                          };
                        }
                        var o = new n(),
                          a = window.msSetImmediate;
                        if (!a) {
                          var s = [],
                            c = String(Math.random());
                          window.addEventListener("message", function (t) {
                            if (t.data === c) {
                              var e = s;
                              (s = []),
                                e.forEach(function (t) {
                                  t();
                                });
                            }
                          }),
                            (a = function (t) {
                              s.push(t), window.postMessage(c, "*");
                            });
                        }
                        var l = !1,
                          u = [];
                        function f() {
                          l = !1;
                          var t = u;
                          (u = []),
                            t.sort(function (t, e) {
                              return t.uid_ - e.uid_;
                            });
                          var e = !1;
                          t.forEach(function (t) {
                            var n,
                              r = t.takeRecords();
                            (n = t).nodes_.forEach(function (t) {
                              var e = o.get(t);
                              e &&
                                e.forEach(function (t) {
                                  t.observer === n &&
                                    t.removeTransientObservers();
                                });
                            }),
                              r.length && (t.callback_(r, t), (e = !0));
                          }),
                            e && f();
                        }
                        function d(t, e) {
                          for (var n = t; n; n = n.parentNode) {
                            var r = o.get(n);
                            if (r)
                              for (var i = 0; i < r.length; i++) {
                                var a = r[i],
                                  s = a.options;
                                if (n === t || s.subtree) {
                                  var c = e(s);
                                  c && a.enqueue(c);
                                }
                              }
                          }
                        }
                        var h,
                          p,
                          m = 0;
                        function v(t) {
                          (this.callback_ = t),
                            (this.nodes_ = []),
                            (this.records_ = []),
                            (this.uid_ = ++m);
                        }
                        function g(t, e) {
                          (this.type = t),
                            (this.target = e),
                            (this.addedNodes = []),
                            (this.removedNodes = []),
                            (this.previousSibling = null),
                            (this.nextSibling = null),
                            (this.attributeName = null),
                            (this.attributeNamespace = null),
                            (this.oldValue = null);
                        }
                        function y(t, e) {
                          return (h = new g(t, e));
                        }
                        function b(t) {
                          return (
                            p ||
                            (((n = new g((e = h).type, e.target)).addedNodes =
                              e.addedNodes.slice()),
                            (n.removedNodes = e.removedNodes.slice()),
                            (n.previousSibling = e.previousSibling),
                            (n.nextSibling = e.nextSibling),
                            (n.attributeName = e.attributeName),
                            (n.attributeNamespace = e.attributeNamespace),
                            (n.oldValue = e.oldValue),
                            ((p = n).oldValue = t),
                            p)
                          );
                          var e, n;
                        }
                        function V(t, e, n) {
                          (this.observer = t),
                            (this.target = e),
                            (this.options = n),
                            (this.transientObservedNodes = []);
                        }
                        (v.prototype = {
                          observe: function (t, e) {
                            var n;
                            if (
                              ((n = t),
                              (t =
                                (window.ShadowDOMPolyfill &&
                                  window.ShadowDOMPolyfill.wrapIfNeeded(n)) ||
                                n),
                              (!e.childList &&
                                !e.attributes &&
                                !e.characterData) ||
                                (e.attributeOldValue && !e.attributes) ||
                                (e.attributeFilter &&
                                  e.attributeFilter.length &&
                                  !e.attributes) ||
                                (e.characterDataOldValue && !e.characterData))
                            )
                              throw new SyntaxError();
                            var r,
                              i = o.get(t);
                            i || o.set(t, (i = []));
                            for (var a = 0; a < i.length; a++)
                              if (i[a].observer === this) {
                                (r = i[a]).removeListeners(), (r.options = e);
                                break;
                              }
                            r ||
                              ((r = new V(this, t, e)),
                              i.push(r),
                              this.nodes_.push(t)),
                              r.addListeners();
                          },
                          disconnect: function () {
                            this.nodes_.forEach(function (t) {
                              for (var e = o.get(t), n = 0; n < e.length; n++) {
                                var r = e[n];
                                if (r.observer === this) {
                                  r.removeListeners(), e.splice(n, 1);
                                  break;
                                }
                              }
                            }, this),
                              (this.records_ = []);
                          },
                          takeRecords: function () {
                            var t = this.records_;
                            return (this.records_ = []), t;
                          },
                        }),
                          (V.prototype = {
                            enqueue: function (t) {
                              var e,
                                n = this.observer.records_,
                                r = n.length;
                              if (n.length > 0) {
                                var i = (function (t, e) {
                                  return t === e
                                    ? t
                                    : !p || ((n = t) !== p && n !== h)
                                    ? null
                                    : p;
                                  var n;
                                })(n[r - 1], t);
                                if (i) return void (n[r - 1] = i);
                              } else
                                (e = this.observer),
                                  u.push(e),
                                  l || ((l = !0), a(f));
                              n[r] = t;
                            },
                            addListeners: function () {
                              this.addListeners_(this.target);
                            },
                            addListeners_: function (t) {
                              var e = this.options;
                              e.attributes &&
                                t.addEventListener("DOMAttrModified", this, !0),
                                e.characterData &&
                                  t.addEventListener(
                                    "DOMCharacterDataModified",
                                    this,
                                    !0
                                  ),
                                e.childList &&
                                  t.addEventListener(
                                    "DOMNodeInserted",
                                    this,
                                    !0
                                  ),
                                (e.childList || e.subtree) &&
                                  t.addEventListener(
                                    "DOMNodeRemoved",
                                    this,
                                    !0
                                  );
                            },
                            removeListeners: function () {
                              this.removeListeners_(this.target);
                            },
                            removeListeners_: function (t) {
                              var e = this.options;
                              e.attributes &&
                                t.removeEventListener(
                                  "DOMAttrModified",
                                  this,
                                  !0
                                ),
                                e.characterData &&
                                  t.removeEventListener(
                                    "DOMCharacterDataModified",
                                    this,
                                    !0
                                  ),
                                e.childList &&
                                  t.removeEventListener(
                                    "DOMNodeInserted",
                                    this,
                                    !0
                                  ),
                                (e.childList || e.subtree) &&
                                  t.removeEventListener(
                                    "DOMNodeRemoved",
                                    this,
                                    !0
                                  );
                            },
                            addTransientObserver: function (t) {
                              if (t !== this.target) {
                                this.addListeners_(t),
                                  this.transientObservedNodes.push(t);
                                var e = o.get(t);
                                e || o.set(t, (e = [])), e.push(this);
                              }
                            },
                            removeTransientObservers: function () {
                              var t = this.transientObservedNodes;
                              (this.transientObservedNodes = []),
                                t.forEach(function (t) {
                                  this.removeListeners_(t);
                                  for (
                                    var e = o.get(t), n = 0;
                                    n < e.length;
                                    n++
                                  )
                                    if (e[n] === this) {
                                      e.splice(n, 1);
                                      break;
                                    }
                                }, this);
                            },
                            handleEvent: function (t) {
                              switch ((t.stopImmediatePropagation(), t.type)) {
                                case "DOMAttrModified":
                                  var e = t.attrName,
                                    n = t.relatedNode.namespaceURI,
                                    r = t.target;
                                  ((o = new y("attributes", r)).attributeName =
                                    e),
                                    (o.attributeNamespace = n);
                                  var i = null;
                                  (typeof MutationEvent < "u" &&
                                    t.attrChange === MutationEvent.ADDITION) ||
                                    (i = t.prevValue),
                                    d(r, function (t) {
                                      if (
                                        t.attributes &&
                                        (!t.attributeFilter ||
                                          !t.attributeFilter.length ||
                                          -1 !== t.attributeFilter.indexOf(e) ||
                                          -1 !== t.attributeFilter.indexOf(n))
                                      )
                                        return t.attributeOldValue ? b(i) : o;
                                    });
                                  break;
                                case "DOMCharacterDataModified":
                                  var o = y("characterData", (r = t.target));
                                  (i = t.prevValue),
                                    d(r, function (t) {
                                      if (t.characterData)
                                        return t.characterDataOldValue
                                          ? b(i)
                                          : o;
                                    });
                                  break;
                                case "DOMNodeRemoved":
                                  this.addTransientObserver(t.target);
                                case "DOMNodeInserted":
                                  r = t.relatedNode;
                                  var a,
                                    s,
                                    c = t.target;
                                  "DOMNodeInserted" === t.type
                                    ? ((a = [c]), (s = []))
                                    : ((a = []), (s = [c]));
                                  var l = c.previousSibling,
                                    u = c.nextSibling;
                                  ((o = y("childList", r)).addedNodes = a),
                                    (o.removedNodes = s),
                                    (o.previousSibling = l),
                                    (o.nextSibling = u),
                                    d(r, function (t) {
                                      if (t.childList) return o;
                                    });
                              }
                              h = p = void 0;
                            },
                          }),
                          e || (e = v),
                          (t.exports = e);
                      },
                      7588: function (t) {
                        var e = (function (t) {
                          var e,
                            n = Object.prototype,
                            r = n.hasOwnProperty,
                            i = "function" == typeof Symbol ? Symbol : {},
                            o = i.iterator || "@@iterator",
                            a = i.asyncIterator || "@@asyncIterator",
                            s = i.toStringTag || "@@toStringTag";
                          function c(t, e, n) {
                            return (
                              Object.defineProperty(t, e, {
                                value: n,
                                enumerable: !0,
                                configurable: !0,
                                writable: !0,
                              }),
                              t[e]
                            );
                          }
                          try {
                            c({}, "");
                          } catch {
                            c = function (t, e, n) {
                              return (t[e] = n);
                            };
                          }
                          function l(t, e, n, r) {
                            var i,
                              o,
                              a,
                              s,
                              c = e && e.prototype instanceof v ? e : v,
                              l = Object.create(c.prototype),
                              g = new C(r || []);
                            return (
                              (l._invoke =
                                ((i = t),
                                (o = n),
                                (a = g),
                                (s = f),
                                function (t, e) {
                                  if (s === h)
                                    throw new Error(
                                      "Generator is already running"
                                    );
                                  if (s === p) {
                                    if ("throw" === t) throw e;
                                    return x();
                                  }
                                  for (a.method = t, a.arg = e; ; ) {
                                    var n = a.delegate;
                                    if (n) {
                                      var r = A(n, a);
                                      if (r) {
                                        if (r === m) continue;
                                        return r;
                                      }
                                    }
                                    if ("next" === a.method)
                                      a.sent = a._sent = a.arg;
                                    else if ("throw" === a.method) {
                                      if (s === f) throw ((s = p), a.arg);
                                      a.dispatchException(a.arg);
                                    } else
                                      "return" === a.method &&
                                        a.abrupt("return", a.arg);
                                    s = h;
                                    var c = u(i, o, a);
                                    if ("normal" === c.type) {
                                      if (((s = a.done ? p : d), c.arg === m))
                                        continue;
                                      return { value: c.arg, done: a.done };
                                    }
                                    "throw" === c.type &&
                                      ((s = p),
                                      (a.method = "throw"),
                                      (a.arg = c.arg));
                                  }
                                })),
                              l
                            );
                          }
                          function u(t, e, n) {
                            try {
                              return { type: "normal", arg: t.call(e, n) };
                            } catch (t) {
                              return { type: "throw", arg: t };
                            }
                          }
                          t.wrap = l;
                          var f = "suspendedStart",
                            d = "suspendedYield",
                            h = "executing",
                            p = "completed",
                            m = {};
                          function v() {}
                          function g() {}
                          function y() {}
                          var b = {};
                          c(b, o, function () {
                            return this;
                          });
                          var V = Object.getPrototypeOf,
                            _ = V && V(V(P([])));
                          _ && _ !== n && r.call(_, o) && (b = _);
                          var w =
                            (y.prototype =
                            v.prototype =
                              Object.create(b));
                          function S(t) {
                            ["next", "throw", "return"].forEach(function (e) {
                              c(t, e, function (t) {
                                return this._invoke(e, t);
                              });
                            });
                          }
                          function E(t, e) {
                            function n(i, o, a, s) {
                              var c = u(t[i], t, o);
                              if ("throw" !== c.type) {
                                var l = c.arg,
                                  f = l.value;
                                return f &&
                                  "object" == typeof f &&
                                  r.call(f, "__await")
                                  ? e.resolve(f.__await).then(
                                      function (t) {
                                        n("next", t, a, s);
                                      },
                                      function (t) {
                                        n("throw", t, a, s);
                                      }
                                    )
                                  : e.resolve(f).then(
                                      function (t) {
                                        (l.value = t), a(l);
                                      },
                                      function (t) {
                                        return n("throw", t, a, s);
                                      }
                                    );
                              }
                              s(c.arg);
                            }
                            var i;
                            this._invoke = function (t, r) {
                              function o() {
                                return new e(function (e, i) {
                                  n(t, r, e, i);
                                });
                              }
                              return (i = i ? i.then(o, o) : o());
                            };
                          }
                          function A(t, n) {
                            var r = t.iterator[n.method];
                            if (r === e) {
                              if (((n.delegate = null), "throw" === n.method)) {
                                if (
                                  t.iterator.return &&
                                  ((n.method = "return"),
                                  (n.arg = e),
                                  A(t, n),
                                  "throw" === n.method)
                                )
                                  return m;
                                (n.method = "throw"),
                                  (n.arg = new TypeError(
                                    "The iterator does not provide a 'throw' method"
                                  ));
                              }
                              return m;
                            }
                            var i = u(r, t.iterator, n.arg);
                            if ("throw" === i.type)
                              return (
                                (n.method = "throw"),
                                (n.arg = i.arg),
                                (n.delegate = null),
                                m
                              );
                            var o = i.arg;
                            return o
                              ? o.done
                                ? ((n[t.resultName] = o.value),
                                  (n.next = t.nextLoc),
                                  "return" !== n.method &&
                                    ((n.method = "next"), (n.arg = e)),
                                  (n.delegate = null),
                                  m)
                                : o
                              : ((n.method = "throw"),
                                (n.arg = new TypeError(
                                  "iterator result is not an object"
                                )),
                                (n.delegate = null),
                                m);
                          }
                          function T(t) {
                            var e = { tryLoc: t[0] };
                            1 in t && (e.catchLoc = t[1]),
                              2 in t &&
                                ((e.finallyLoc = t[2]), (e.afterLoc = t[3])),
                              this.tryEntries.push(e);
                          }
                          function O(t) {
                            var e = t.completion || {};
                            (e.type = "normal"),
                              delete e.arg,
                              (t.completion = e);
                          }
                          function C(t) {
                            (this.tryEntries = [{ tryLoc: "root" }]),
                              t.forEach(T, this),
                              this.reset(!0);
                          }
                          function P(t) {
                            if (t) {
                              var n = t[o];
                              if (n) return n.call(t);
                              if ("function" == typeof t.next) return t;
                              if (!isNaN(t.length)) {
                                var i = -1,
                                  a = function n() {
                                    for (; ++i < t.length; )
                                      if (r.call(t, i))
                                        return (
                                          (n.value = t[i]), (n.done = !1), n
                                        );
                                    return (n.value = e), (n.done = !0), n;
                                  };
                                return (a.next = a);
                              }
                            }
                            return { next: x };
                          }
                          function x() {
                            return { value: e, done: !0 };
                          }
                          return (
                            (g.prototype = y),
                            c(w, "constructor", y),
                            c(y, "constructor", g),
                            (g.displayName = c(y, s, "GeneratorFunction")),
                            (t.isGeneratorFunction = function (t) {
                              var e = "function" == typeof t && t.constructor;
                              return (
                                !!e &&
                                (e === g ||
                                  "GeneratorFunction" ===
                                    (e.displayName || e.name))
                              );
                            }),
                            (t.mark = function (t) {
                              return (
                                Object.setPrototypeOf
                                  ? Object.setPrototypeOf(t, y)
                                  : ((t.__proto__ = y),
                                    c(t, s, "GeneratorFunction")),
                                (t.prototype = Object.create(w)),
                                t
                              );
                            }),
                            (t.awrap = function (t) {
                              return { __await: t };
                            }),
                            S(E.prototype),
                            c(E.prototype, a, function () {
                              return this;
                            }),
                            (t.AsyncIterator = E),
                            (t.async = function (e, n, r, i, o) {
                              void 0 === o && (o = Promise);
                              var a = new E(l(e, n, r, i), o);
                              return t.isGeneratorFunction(n)
                                ? a
                                : a.next().then(function (t) {
                                    return t.done ? t.value : a.next();
                                  });
                            }),
                            S(w),
                            c(w, s, "Generator"),
                            c(w, o, function () {
                              return this;
                            }),
                            c(w, "toString", function () {
                              return "[object Generator]";
                            }),
                            (t.keys = function (t) {
                              var e = [];
                              for (var n in t) e.push(n);
                              return (
                                e.reverse(),
                                function n() {
                                  for (; e.length; ) {
                                    var r = e.pop();
                                    if (r in t)
                                      return (n.value = r), (n.done = !1), n;
                                  }
                                  return (n.done = !0), n;
                                }
                              );
                            }),
                            (t.values = P),
                            (C.prototype = {
                              constructor: C,
                              reset: function (t) {
                                if (
                                  ((this.prev = 0),
                                  (this.next = 0),
                                  (this.sent = this._sent = e),
                                  (this.done = !1),
                                  (this.delegate = null),
                                  (this.method = "next"),
                                  (this.arg = e),
                                  this.tryEntries.forEach(O),
                                  !t)
                                )
                                  for (var n in this)
                                    "t" === n.charAt(0) &&
                                      r.call(this, n) &&
                                      !isNaN(+n.slice(1)) &&
                                      (this[n] = e);
                              },
                              stop: function () {
                                this.done = !0;
                                var t = this.tryEntries[0].completion;
                                if ("throw" === t.type) throw t.arg;
                                return this.rval;
                              },
                              dispatchException: function (t) {
                                if (this.done) throw t;
                                var n = this;
                                function i(r, i) {
                                  return (
                                    (s.type = "throw"),
                                    (s.arg = t),
                                    (n.next = r),
                                    i && ((n.method = "next"), (n.arg = e)),
                                    !!i
                                  );
                                }
                                for (
                                  var o = this.tryEntries.length - 1;
                                  o >= 0;
                                  --o
                                ) {
                                  var a = this.tryEntries[o],
                                    s = a.completion;
                                  if ("root" === a.tryLoc) return i("end");
                                  if (a.tryLoc <= this.prev) {
                                    var c = r.call(a, "catchLoc"),
                                      l = r.call(a, "finallyLoc");
                                    if (c && l) {
                                      if (this.prev < a.catchLoc)
                                        return i(a.catchLoc, !0);
                                      if (this.prev < a.finallyLoc)
                                        return i(a.finallyLoc);
                                    } else if (c) {
                                      if (this.prev < a.catchLoc)
                                        return i(a.catchLoc, !0);
                                    } else {
                                      if (!l)
                                        throw new Error(
                                          "try statement without catch or finally"
                                        );
                                      if (this.prev < a.finallyLoc)
                                        return i(a.finallyLoc);
                                    }
                                  }
                                }
                              },
                              abrupt: function (t, e) {
                                for (
                                  var n = this.tryEntries.length - 1;
                                  n >= 0;
                                  --n
                                ) {
                                  var i = this.tryEntries[n];
                                  if (
                                    i.tryLoc <= this.prev &&
                                    r.call(i, "finallyLoc") &&
                                    this.prev < i.finallyLoc
                                  ) {
                                    var o = i;
                                    break;
                                  }
                                }
                                o &&
                                  ("break" === t || "continue" === t) &&
                                  o.tryLoc <= e &&
                                  e <= o.finallyLoc &&
                                  (o = null);
                                var a = o ? o.completion : {};
                                return (
                                  (a.type = t),
                                  (a.arg = e),
                                  o
                                    ? ((this.method = "next"),
                                      (this.next = o.finallyLoc),
                                      m)
                                    : this.complete(a)
                                );
                              },
                              complete: function (t, e) {
                                if ("throw" === t.type) throw t.arg;
                                return (
                                  "break" === t.type || "continue" === t.type
                                    ? (this.next = t.arg)
                                    : "return" === t.type
                                    ? ((this.rval = this.arg = t.arg),
                                      (this.method = "return"),
                                      (this.next = "end"))
                                    : "normal" === t.type &&
                                      e &&
                                      (this.next = e),
                                  m
                                );
                              },
                              finish: function (t) {
                                for (
                                  var e = this.tryEntries.length - 1;
                                  e >= 0;
                                  --e
                                ) {
                                  var n = this.tryEntries[e];
                                  if (n.finallyLoc === t)
                                    return (
                                      this.complete(n.completion, n.afterLoc),
                                      O(n),
                                      m
                                    );
                                }
                              },
                              catch: function (t) {
                                for (
                                  var e = this.tryEntries.length - 1;
                                  e >= 0;
                                  --e
                                ) {
                                  var n = this.tryEntries[e];
                                  if (n.tryLoc === t) {
                                    var r = n.completion;
                                    if ("throw" === r.type) {
                                      var i = r.arg;
                                      O(n);
                                    }
                                    return i;
                                  }
                                }
                                throw new Error("illegal catch attempt");
                              },
                              delegateYield: function (t, n, r) {
                                return (
                                  (this.delegate = {
                                    iterator: P(t),
                                    resultName: n,
                                    nextLoc: r,
                                  }),
                                  "next" === this.method && (this.arg = e),
                                  m
                                );
                              },
                            }),
                            t
                          );
                        })(t.exports);
                        try {
                          regeneratorRuntime = e;
                        } catch {
                          "object" == typeof globalThis
                            ? (globalThis.regeneratorRuntime = e)
                            : Function("r", "regeneratorRuntime = r")(e);
                        }
                      },
                      8702: function (t, e, n) {
                        n.d(e, {
                          Z: function () {
                            return D;
                          },
                        });
                        var r = n(4296),
                          i = n(6464),
                          o = n(6881),
                          a = n(2942),
                          s = n(7003),
                          c = n(3379),
                          l = n.n(c),
                          u = n(7795),
                          f = n.n(u),
                          d = n(569),
                          h = n.n(d),
                          p = n(3565),
                          m = n.n(p),
                          v = n(9216),
                          g = n.n(v),
                          y = n(4589),
                          b = n.n(y),
                          V = n(5313),
                          _ = {};
                        V.Z && V.Z.locals && (_.locals = V.Z.locals);
                        var w,
                          S = 0,
                          E = {};
                        (E.styleTagTransform = b()),
                          (E.setAttributes = m()),
                          (E.insert = h().bind(null, "head")),
                          (E.domAPI = f()),
                          (E.insertStyleElement = g()),
                          (_.use = function (t) {
                            return (
                              (E.options = t || {}), S++ || (w = l()(V.Z, E)), _
                            );
                          }),
                          (_.unuse = function () {
                            S > 0 && !--S && (w(), (w = null));
                          });
                        var A = _;
                        function T(t) {
                          var e, n;
                          return {
                            c: function () {
                              (e = (0, a.bi5)("svg")),
                                (n = (0, a.bi5)("path")),
                                (0, a.Ljt)(
                                  n,
                                  "d",
                                  "M599.99999 832.000004h47.999999a24 24 0 0 0 23.999999-24V376.000013a24 24 0 0 0-23.999999-24h-47.999999a24 24 0 0 0-24 24v431.999991a24 24 0 0 0 24 24zM927.999983 160.000017h-164.819997l-67.999998-113.399998A95.999998 95.999998 0 0 0 612.819989 0.00002H411.179993a95.999998 95.999998 0 0 0-82.319998 46.599999L260.819996 160.000017H95.999999A31.999999 31.999999 0 0 0 64 192.000016v32a31.999999 31.999999 0 0 0 31.999999 31.999999h32v671.999987a95.999998 95.999998 0 0 0 95.999998 95.999998h575.999989a95.999998 95.999998 0 0 0 95.999998-95.999998V256.000015h31.999999a31.999999 31.999999 0 0 0 32-31.999999V192.000016a31.999999 31.999999 0 0 0-32-31.999999zM407.679993 101.820018A12 12 0 0 1 417.999993 96.000018h187.999996a12 12 0 0 1 10.3 5.82L651.219989 160.000017H372.779994zM799.999986 928.000002H223.999997V256.000015h575.999989z m-423.999992-95.999998h47.999999a24 24 0 0 0 24-24V376.000013a24 24 0 0 0-24-24h-47.999999a24 24 0 0 0-24 24v431.999991a24 24 0 0 0 24 24z"
                                ),
                                (0, a.Ljt)(e, "class", "vc-icon-delete"),
                                (0, a.Ljt)(e, "viewBox", "0 0 1024 1024"),
                                (0, a.Ljt)(e, "width", "200"),
                                (0, a.Ljt)(e, "height", "200");
                            },
                            m: function (t, r) {
                              (0, a.$Tr)(t, e, r), (0, a.R3I)(e, n);
                            },
                            d: function (t) {
                              t && (0, a.ogt)(e);
                            },
                          };
                        }
                        function O(t) {
                          var e, n, r;
                          return {
                            c: function () {
                              (e = (0, a.bi5)("svg")),
                                (n = (0, a.bi5)("path")),
                                (r = (0, a.bi5)("path")),
                                (0, a.Ljt)(
                                  n,
                                  "d",
                                  "M874.154197 150.116875A511.970373 511.970373 0 1 0 1023.993986 511.991687a511.927744 511.927744 0 0 0-149.839789-361.874812z m-75.324866 648.382129A405.398688 405.398688 0 1 1 917.422301 511.991687a405.313431 405.313431 0 0 1-118.59297 286.507317z"
                                ),
                                (0, a.Ljt)(
                                  r,
                                  "d",
                                  "M725.039096 299.274605a54.351559 54.351559 0 0 0-76.731613 0l-135.431297 135.431297L377.274375 299.274605a54.436817 54.436817 0 0 0-76.944756 76.987385l135.388668 135.431297-135.388668 135.473925a54.436817 54.436817 0 0 0 76.944756 76.987385l135.388668-135.431297 135.431297 135.473926a54.436817 54.436817 0 0 0 76.731613-76.987385l-135.388668-135.473926 135.388668-135.431296a54.479445 54.479445 0 0 0 0.213143-77.030014z"
                                ),
                                (0, a.Ljt)(e, "viewBox", "0 0 1024 1024"),
                                (0, a.Ljt)(e, "width", "200"),
                                (0, a.Ljt)(e, "height", "200");
                            },
                            m: function (t, i) {
                              (0, a.$Tr)(t, e, i),
                                (0, a.R3I)(e, n),
                                (0, a.R3I)(e, r);
                            },
                            d: function (t) {
                              t && (0, a.ogt)(e);
                            },
                          };
                        }
                        function C(t) {
                          var e, n;
                          return {
                            c: function () {
                              (e = (0, a.bi5)("svg")),
                                (n = (0, a.bi5)("path")),
                                (0, a.Ljt)(n, "fill-rule", "evenodd"),
                                (0, a.Ljt)(
                                  n,
                                  "d",
                                  "M5.75 1a.75.75 0 00-.75.75v3c0 .414.336.75.75.75h4.5a.75.75 0 00.75-.75v-3a.75.75 0 00-.75-.75h-4.5zm.75 3V2.5h3V4h-3zm-2.874-.467a.75.75 0 00-.752-1.298A1.75 1.75 0 002 3.75v9.5c0 .966.784 1.75 1.75 1.75h8.5A1.75 1.75 0 0014 13.25v-9.5a1.75 1.75 0 00-.874-1.515.75.75 0 10-.752 1.298.25.25 0 01.126.217v9.5a.25.25 0 01-.25.25h-8.5a.25.25 0 01-.25-.25v-9.5a.25.25 0 01.126-.217z"
                                ),
                                (0, a.Ljt)(e, "class", "vc-icon-copy"),
                                (0, a.Ljt)(e, "viewBox", "0 0 16 16");
                            },
                            m: function (t, r) {
                              (0, a.$Tr)(t, e, r), (0, a.R3I)(e, n);
                            },
                            d: function (t) {
                              t && (0, a.ogt)(e);
                            },
                          };
                        }
                        function P(t) {
                          var e, n;
                          return {
                            c: function () {
                              (e = (0, a.bi5)("svg")),
                                (n = (0, a.bi5)("path")),
                                (0, a.Ljt)(n, "fill-rule", "evenodd"),
                                (0, a.Ljt)(
                                  n,
                                  "d",
                                  "M13.78 4.22a.75.75 0 010 1.06l-7.25 7.25a.75.75 0 01-1.06 0L2.22 9.28a.75.75 0 011.06-1.06L6 10.94l6.72-6.72a.75.75 0 011.06 0z"
                                ),
                                (0, a.Ljt)(e, "class", "vc-icon-suc"),
                                (0, a.Ljt)(e, "viewBox", "0 0 16 16");
                            },
                            m: function (t, r) {
                              (0, a.$Tr)(t, e, r), (0, a.R3I)(e, n);
                            },
                            d: function (t) {
                              t && (0, a.ogt)(e);
                            },
                          };
                        }
                        function x(t) {
                          var e, n, r;
                          return {
                            c: function () {
                              (e = (0, a.bi5)("svg")),
                                (n = (0, a.bi5)("path")),
                                (r = (0, a.bi5)("path")),
                                (0, a.Ljt)(
                                  n,
                                  "d",
                                  "M776.533333 1024 162.133333 1024C72.533333 1024 0 951.466667 0 861.866667L0 247.466667C0 157.866667 72.533333 85.333333 162.133333 85.333333L469.333333 85.333333c25.6 0 42.666667 17.066667 42.666667 42.666667s-17.066667 42.666667-42.666667 42.666667L162.133333 170.666667C119.466667 170.666667 85.333333 204.8 85.333333 247.466667l0 610.133333c0 42.666667 34.133333 76.8 76.8 76.8l610.133333 0c42.666667 0 76.8-34.133333 76.8-76.8L849.066667 554.666667c0-25.6 17.066667-42.666667 42.666667-42.666667s42.666667 17.066667 42.666667 42.666667l0 307.2C938.666667 951.466667 866.133333 1024 776.533333 1024z"
                                ),
                                (0, a.Ljt)(
                                  r,
                                  "d",
                                  "M256 810.666667c-12.8 0-21.333333-4.266667-29.866667-12.8C217.6 789.333333 213.333333 772.266667 213.333333 759.466667l42.666667-213.333333c0-8.533333 4.266667-17.066667 12.8-21.333333l512-512c17.066667-17.066667 42.666667-17.066667 59.733333 0l170.666667 170.666667c17.066667 17.066667 17.066667 42.666667 0 59.733333l-512 512c-4.266667 4.266667-12.8 8.533333-21.333333 12.8l-213.333333 42.666667C260.266667 810.666667 260.266667 810.666667 256 810.666667zM337.066667 576l-25.6 136.533333 136.533333-25.6L921.6 213.333333 810.666667 102.4 337.066667 576z"
                                ),
                                (0, a.Ljt)(e, "class", "vc-icon-edit"),
                                (0, a.Ljt)(e, "viewBox", "0 0 1024 1024"),
                                (0, a.Ljt)(e, "width", "200"),
                                (0, a.Ljt)(e, "height", "200");
                            },
                            m: function (t, i) {
                              (0, a.$Tr)(t, e, i),
                                (0, a.R3I)(e, n),
                                (0, a.R3I)(e, r);
                            },
                            d: function (t) {
                              t && (0, a.ogt)(e);
                            },
                          };
                        }
                        function k(t) {
                          var e, n;
                          return {
                            c: function () {
                              (e = (0, a.bi5)("svg")),
                                (n = (0, a.bi5)("path")),
                                (0, a.Ljt)(
                                  n,
                                  "d",
                                  "M581.338005 987.646578c-2.867097 4.095853-4.573702 8.669555-8.191705 12.287558a83.214071 83.214071 0 0 1-60.959939 24.029001 83.214071 83.214071 0 0 1-61.028203-24.029001c-3.618003-3.618003-5.324608-8.191705-8.123441-12.15103L24.370323 569.050448a83.418864 83.418864 0 0 1 117.892289-117.89229l369.923749 369.92375L1308.829682 24.438587A83.418864 83.418864 0 0 1 1426.721971 142.194348L581.338005 987.646578z"
                                ),
                                (0, a.Ljt)(e, "class", "vc-icon-don"),
                                (0, a.Ljt)(e, "viewBox", "0 0 1501 1024"),
                                (0, a.Ljt)(e, "width", "200"),
                                (0, a.Ljt)(e, "height", "200");
                            },
                            m: function (t, r) {
                              (0, a.$Tr)(t, e, r), (0, a.R3I)(e, n);
                            },
                            d: function (t) {
                              t && (0, a.ogt)(e);
                            },
                          };
                        }
                        function I(t) {
                          var e, n;
                          return {
                            c: function () {
                              (e = (0, a.bi5)("svg")),
                                (n = (0, a.bi5)("path")),
                                (0, a.Ljt)(
                                  n,
                                  "d",
                                  "M894.976 574.464q0 78.848-29.696 148.48t-81.408 123.392-121.856 88.064-151.04 41.472q-5.12 1.024-9.216 1.536t-9.216 0.512l-177.152 0q-17.408 0-34.304-6.144t-30.208-16.896-22.016-25.088-8.704-29.696 8.192-29.696 21.504-24.576 29.696-16.384 33.792-6.144l158.72 1.024q54.272 0 102.4-19.968t83.968-53.76 56.32-79.36 20.48-97.792q0-49.152-18.432-92.16t-50.688-76.8-75.264-54.784-93.184-26.112q-2.048 0-2.56 0.512t-2.56 0.512l-162.816 0 0 80.896q0 17.408-13.824 25.6t-44.544-10.24q-8.192-5.12-26.112-17.92t-41.984-30.208-50.688-36.864l-51.2-38.912q-15.36-12.288-26.624-22.016t-11.264-24.064q0-12.288 12.8-25.6t29.184-26.624q18.432-15.36 44.032-35.84t50.688-39.936 45.056-35.328 28.16-22.016q24.576-17.408 39.936-7.168t16.384 30.72l0 81.92 162.816 0q5.12 0 10.752 1.024t10.752 2.048q79.872 8.192 149.504 41.984t121.344 87.552 80.896 123.392 29.184 147.456z"
                                ),
                                (0, a.Ljt)(e, "class", "vc-icon-cancel"),
                                (0, a.Ljt)(e, "viewBox", "0 0 1024 1024"),
                                (0, a.Ljt)(e, "width", "200"),
                                (0, a.Ljt)(e, "height", "200");
                            },
                            m: function (t, r) {
                              (0, a.$Tr)(t, e, r), (0, a.R3I)(e, n);
                            },
                            d: function (t) {
                              t && (0, a.ogt)(e);
                            },
                          };
                        }
                        function j(t) {
                          var e,
                            n,
                            r,
                            i,
                            o,
                            s,
                            c,
                            l,
                            u,
                            f = "delete" === t[0] && T(),
                            d = "clear" === t[0] && O(),
                            h = "copy" === t[0] && C(),
                            p = "success" === t[0] && P(),
                            m = "edit" === t[0] && x(),
                            v = "done" === t[0] && k(),
                            g = "cancel" === t[0] && I();
                          return {
                            c: function () {
                              (e = (0, a.bGB)("i")),
                                f && f.c(),
                                (n = (0, a.DhX)()),
                                d && d.c(),
                                (r = (0, a.DhX)()),
                                h && h.c(),
                                (i = (0, a.DhX)()),
                                p && p.c(),
                                (o = (0, a.DhX)()),
                                m && m.c(),
                                (s = (0, a.DhX)()),
                                v && v.c(),
                                (c = (0, a.DhX)()),
                                g && g.c(),
                                (0, a.Ljt)(e, "class", "vc-icon");
                            },
                            m: function (y, b) {
                              (0, a.$Tr)(y, e, b),
                                f && f.m(e, null),
                                (0, a.R3I)(e, n),
                                d && d.m(e, null),
                                (0, a.R3I)(e, r),
                                h && h.m(e, null),
                                (0, a.R3I)(e, i),
                                p && p.m(e, null),
                                (0, a.R3I)(e, o),
                                m && m.m(e, null),
                                (0, a.R3I)(e, s),
                                v && v.m(e, null),
                                (0, a.R3I)(e, c),
                                g && g.m(e, null),
                                l ||
                                  ((u = (0, a.oLt)(e, "click", t[1])),
                                  (l = !0));
                            },
                            p: function (t, a) {
                              a[0],
                                "delete" === t[0]
                                  ? f || ((f = T()).c(), f.m(e, n))
                                  : f && (f.d(1), (f = null)),
                                "clear" === t[0]
                                  ? d || ((d = O()).c(), d.m(e, r))
                                  : d && (d.d(1), (d = null)),
                                "copy" === t[0]
                                  ? h || ((h = C()).c(), h.m(e, i))
                                  : h && (h.d(1), (h = null)),
                                "success" === t[0]
                                  ? p || ((p = P()).c(), p.m(e, o))
                                  : p && (p.d(1), (p = null)),
                                "edit" === t[0]
                                  ? m || ((m = x()).c(), m.m(e, s))
                                  : m && (m.d(1), (m = null)),
                                "done" === t[0]
                                  ? v || ((v = k()).c(), v.m(e, c))
                                  : v && (v.d(1), (v = null)),
                                "cancel" === t[0]
                                  ? g || ((g = I()).c(), g.m(e, null))
                                  : g && (g.d(1), (g = null));
                            },
                            i: a.ZTd,
                            o: a.ZTd,
                            d: function (t) {
                              t && (0, a.ogt)(e),
                                f && f.d(),
                                d && d.d(),
                                h && h.d(),
                                p && p.d(),
                                m && m.d(),
                                v && v.d(),
                                g && g.d(),
                                (l = !1),
                                u();
                            },
                          };
                        }
                        function R(t, e, n) {
                          var r = e.name;
                          return (
                            (0, s.H3)(function () {
                              A.use();
                            }),
                            (0, s.ev)(function () {
                              A.unuse();
                            }),
                            (t.$$set = function (t) {
                              "name" in t && n(0, (r = t.name));
                            }),
                            [
                              r,
                              function (e) {
                                a.cKT.call(this, t, e);
                              },
                            ]
                          );
                        }
                        var D = (function (t) {
                          function e(e) {
                            var n;
                            return (
                              (n = t.call(this) || this),
                              (0, a.S1n)((0, i.Z)(n), e, R, j, a.N8, {
                                name: 0,
                              }),
                              n
                            );
                          }
                          return (
                            (0, o.Z)(e, t),
                            (0, r.Z)(e, [
                              {
                                key: "name",
                                get: function () {
                                  return this.$$.ctx[0];
                                },
                                set: function (t) {
                                  this.$$set({ name: t }), (0, a.yl1)();
                                },
                              },
                            ]),
                            e
                          );
                        })(a.f_C);
                      },
                      3903: function (
                        __unused_webpack_module,
                        __nested_webpack_exports__,
                        __nested_webpack_require_361520__
                      ) {
                        var _babel_runtime_helpers_assertThisInitialized__WEBPACK_IMPORTED_MODULE_7__ =
                            __nested_webpack_require_361520__(6464),
                          _babel_runtime_helpers_inheritsLoose__WEBPACK_IMPORTED_MODULE_6__ =
                            __nested_webpack_require_361520__(6881),
                          svelte_internal__WEBPACK_IMPORTED_MODULE_0__ =
                            __nested_webpack_require_361520__(2942),
                          svelte__WEBPACK_IMPORTED_MODULE_1__ =
                            __nested_webpack_require_361520__(7003),
                          _component_icon_icon_svelte__WEBPACK_IMPORTED_MODULE_2__ =
                            __nested_webpack_require_361520__(8702),
                          _logTool__WEBPACK_IMPORTED_MODULE_5__ =
                            __nested_webpack_require_361520__(8665),
                          _log_model__WEBPACK_IMPORTED_MODULE_3__ =
                            __nested_webpack_require_361520__(5629),
                          _logCommand_less__WEBPACK_IMPORTED_MODULE_4__ =
                            __nested_webpack_require_361520__(3411);
                        function get_each_context(t, e, n) {
                          var r = t.slice();
                          return (r[28] = e[n]), r;
                        }
                        function create_if_block_2(t) {
                          var e, n, r;
                          return {
                            c: function () {
                              ((e = (0,
                              svelte_internal__WEBPACK_IMPORTED_MODULE_0__.bGB)(
                                "li"
                              )).textContent = "Close"),
                                (0,
                                svelte_internal__WEBPACK_IMPORTED_MODULE_0__.Ljt)(
                                  e,
                                  "class",
                                  "vc-cmd-prompted-hide"
                                );
                            },
                            m: function (i, o) {
                              (0,
                              svelte_internal__WEBPACK_IMPORTED_MODULE_0__.$Tr)(
                                i,
                                e,
                                o
                              ),
                                n ||
                                  ((r = (0,
                                  svelte_internal__WEBPACK_IMPORTED_MODULE_0__.oLt)(
                                    e,
                                    "click",
                                    t[5]
                                  )),
                                  (n = !0));
                            },
                            p: svelte_internal__WEBPACK_IMPORTED_MODULE_0__.ZTd,
                            d: function (t) {
                              t &&
                                (0,
                                svelte_internal__WEBPACK_IMPORTED_MODULE_0__.ogt)(
                                  e
                                ),
                                (n = !1),
                                r();
                            },
                          };
                        }
                        function create_else_block(t) {
                          var e;
                          return {
                            c: function () {
                              (e = (0,
                              svelte_internal__WEBPACK_IMPORTED_MODULE_0__.bGB)(
                                "li"
                              )).textContent = "No Prompted";
                            },
                            m: function (t, n) {
                              (0,
                              svelte_internal__WEBPACK_IMPORTED_MODULE_0__.$Tr)(
                                t,
                                e,
                                n
                              );
                            },
                            p: svelte_internal__WEBPACK_IMPORTED_MODULE_0__.ZTd,
                            d: function (t) {
                              t &&
                                (0,
                                svelte_internal__WEBPACK_IMPORTED_MODULE_0__.ogt)(
                                  e
                                );
                            },
                          };
                        }
                        function create_each_block(t) {
                          var e,
                            n,
                            r,
                            i,
                            o = t[28].text + "";
                          function a() {
                            return t[14](t[28]);
                          }
                          return {
                            c: function () {
                              (e = (0,
                              svelte_internal__WEBPACK_IMPORTED_MODULE_0__.bGB)(
                                "li"
                              )),
                                (n = (0,
                                svelte_internal__WEBPACK_IMPORTED_MODULE_0__.fLW)(
                                  o
                                ));
                            },
                            m: function (t, o) {
                              (0,
                              svelte_internal__WEBPACK_IMPORTED_MODULE_0__.$Tr)(
                                t,
                                e,
                                o
                              ),
                                (0,
                                svelte_internal__WEBPACK_IMPORTED_MODULE_0__.R3I)(
                                  e,
                                  n
                                ),
                                r ||
                                  ((i = (0,
                                  svelte_internal__WEBPACK_IMPORTED_MODULE_0__.oLt)(
                                    e,
                                    "click",
                                    a
                                  )),
                                  (r = !0));
                            },
                            p: function (e, r) {
                              (t = e),
                                8 & r &&
                                  o !== (o = t[28].text + "") &&
                                  (0,
                                  svelte_internal__WEBPACK_IMPORTED_MODULE_0__.rTO)(
                                    n,
                                    o
                                  );
                            },
                            d: function (t) {
                              t &&
                                (0,
                                svelte_internal__WEBPACK_IMPORTED_MODULE_0__.ogt)(
                                  e
                                ),
                                (r = !1),
                                i();
                            },
                          };
                        }
                        function create_if_block_1(t) {
                          var e, n, r, i, o;
                          return (
                            (n =
                              new _component_icon_icon_svelte__WEBPACK_IMPORTED_MODULE_2__.Z(
                                { props: { name: "clear" } }
                              )),
                            {
                              c: function () {
                                (e = (0,
                                svelte_internal__WEBPACK_IMPORTED_MODULE_0__.bGB)(
                                  "div"
                                )),
                                  (0,
                                  svelte_internal__WEBPACK_IMPORTED_MODULE_0__.YCL)(
                                    n.$$.fragment
                                  ),
                                  (0,
                                  svelte_internal__WEBPACK_IMPORTED_MODULE_0__.Ljt)(
                                    e,
                                    "class",
                                    "vc-cmd-clear-btn"
                                  );
                              },
                              m: function (a, s) {
                                (0,
                                svelte_internal__WEBPACK_IMPORTED_MODULE_0__.$Tr)(
                                  a,
                                  e,
                                  s
                                ),
                                  (0,
                                  svelte_internal__WEBPACK_IMPORTED_MODULE_0__.yef)(
                                    n,
                                    e,
                                    null
                                  ),
                                  (r = !0),
                                  i ||
                                    ((o = (0,
                                    svelte_internal__WEBPACK_IMPORTED_MODULE_0__.oLt)(
                                      e,
                                      "click",
                                      (0,
                                      svelte_internal__WEBPACK_IMPORTED_MODULE_0__.AT7)(
                                        t[17]
                                      )
                                    )),
                                    (i = !0));
                              },
                              p: svelte_internal__WEBPACK_IMPORTED_MODULE_0__.ZTd,
                              i: function (t) {
                                r ||
                                  ((0,
                                  svelte_internal__WEBPACK_IMPORTED_MODULE_0__.Ui)(
                                    n.$$.fragment,
                                    t
                                  ),
                                  (r = !0));
                              },
                              o: function (t) {
                                (0,
                                svelte_internal__WEBPACK_IMPORTED_MODULE_0__.etI)(
                                  n.$$.fragment,
                                  t
                                ),
                                  (r = !1);
                              },
                              d: function (t) {
                                t &&
                                  (0,
                                  svelte_internal__WEBPACK_IMPORTED_MODULE_0__.ogt)(
                                    e
                                  ),
                                  (0,
                                  svelte_internal__WEBPACK_IMPORTED_MODULE_0__.vpE)(
                                    n
                                  ),
                                  (i = !1),
                                  o();
                              },
                            }
                          );
                        }
                        function create_if_block(t) {
                          var e, n, r, i, o;
                          return (
                            (n =
                              new _component_icon_icon_svelte__WEBPACK_IMPORTED_MODULE_2__.Z(
                                { props: { name: "clear" } }
                              )),
                            {
                              c: function () {
                                (e = (0,
                                svelte_internal__WEBPACK_IMPORTED_MODULE_0__.bGB)(
                                  "div"
                                )),
                                  (0,
                                  svelte_internal__WEBPACK_IMPORTED_MODULE_0__.YCL)(
                                    n.$$.fragment
                                  ),
                                  (0,
                                  svelte_internal__WEBPACK_IMPORTED_MODULE_0__.Ljt)(
                                    e,
                                    "class",
                                    "vc-cmd-clear-btn"
                                  );
                              },
                              m: function (a, s) {
                                (0,
                                svelte_internal__WEBPACK_IMPORTED_MODULE_0__.$Tr)(
                                  a,
                                  e,
                                  s
                                ),
                                  (0,
                                  svelte_internal__WEBPACK_IMPORTED_MODULE_0__.yef)(
                                    n,
                                    e,
                                    null
                                  ),
                                  (r = !0),
                                  i ||
                                    ((o = (0,
                                    svelte_internal__WEBPACK_IMPORTED_MODULE_0__.oLt)(
                                      e,
                                      "click",
                                      (0,
                                      svelte_internal__WEBPACK_IMPORTED_MODULE_0__.AT7)(
                                        t[19]
                                      )
                                    )),
                                    (i = !0));
                              },
                              p: svelte_internal__WEBPACK_IMPORTED_MODULE_0__.ZTd,
                              i: function (t) {
                                r ||
                                  ((0,
                                  svelte_internal__WEBPACK_IMPORTED_MODULE_0__.Ui)(
                                    n.$$.fragment,
                                    t
                                  ),
                                  (r = !0));
                              },
                              o: function (t) {
                                (0,
                                svelte_internal__WEBPACK_IMPORTED_MODULE_0__.etI)(
                                  n.$$.fragment,
                                  t
                                ),
                                  (r = !1);
                              },
                              d: function (t) {
                                t &&
                                  (0,
                                  svelte_internal__WEBPACK_IMPORTED_MODULE_0__.ogt)(
                                    e
                                  ),
                                  (0,
                                  svelte_internal__WEBPACK_IMPORTED_MODULE_0__.vpE)(
                                    n
                                  ),
                                  (i = !1),
                                  o();
                              },
                            }
                          );
                        }
                        function create_fragment(t) {
                          for (
                            var e,
                              n,
                              r,
                              i,
                              o,
                              a,
                              s,
                              c,
                              l,
                              u,
                              f,
                              d,
                              h,
                              p,
                              m,
                              v,
                              g,
                              y,
                              b,
                              V,
                              _,
                              w = t[3].length > 0 && create_if_block_2(t),
                              S = t[3],
                              E = [],
                              A = 0;
                            A < S.length;
                            A += 1
                          )
                            E[A] = create_each_block(get_each_context(t, S, A));
                          var T = null;
                          S.length || (T = create_else_block());
                          var O = t[1].length > 0 && create_if_block_1(t),
                            C = t[4].length > 0 && create_if_block(t);
                          return {
                            c: function () {
                              (e = (0,
                              svelte_internal__WEBPACK_IMPORTED_MODULE_0__.bGB)(
                                "form"
                              )),
                                (n = (0,
                                svelte_internal__WEBPACK_IMPORTED_MODULE_0__.bGB)(
                                  "ul"
                                )),
                                w && w.c(),
                                (r = (0,
                                svelte_internal__WEBPACK_IMPORTED_MODULE_0__.DhX)());
                              for (var b = 0; b < E.length; b += 1) E[b].c();
                              T && T.c(),
                                (i = (0,
                                svelte_internal__WEBPACK_IMPORTED_MODULE_0__.DhX)()),
                                (o = (0,
                                svelte_internal__WEBPACK_IMPORTED_MODULE_0__.bGB)(
                                  "div"
                                )),
                                (a = (0,
                                svelte_internal__WEBPACK_IMPORTED_MODULE_0__.bGB)(
                                  "textarea"
                                )),
                                (s = (0,
                                svelte_internal__WEBPACK_IMPORTED_MODULE_0__.DhX)()),
                                O && O.c(),
                                (c = (0,
                                svelte_internal__WEBPACK_IMPORTED_MODULE_0__.DhX)()),
                                ((l = (0,
                                svelte_internal__WEBPACK_IMPORTED_MODULE_0__.bGB)(
                                  "button"
                                )).textContent = "OK"),
                                (u = (0,
                                svelte_internal__WEBPACK_IMPORTED_MODULE_0__.DhX)()),
                                (f = (0,
                                svelte_internal__WEBPACK_IMPORTED_MODULE_0__.bGB)(
                                  "form"
                                )),
                                (d = (0,
                                svelte_internal__WEBPACK_IMPORTED_MODULE_0__.bGB)(
                                  "ul"
                                )),
                                (h = (0,
                                svelte_internal__WEBPACK_IMPORTED_MODULE_0__.DhX)()),
                                (p = (0,
                                svelte_internal__WEBPACK_IMPORTED_MODULE_0__.bGB)(
                                  "div"
                                )),
                                (m = (0,
                                svelte_internal__WEBPACK_IMPORTED_MODULE_0__.bGB)(
                                  "textarea"
                                )),
                                (v = (0,
                                svelte_internal__WEBPACK_IMPORTED_MODULE_0__.DhX)()),
                                C && C.c(),
                                (g = (0,
                                svelte_internal__WEBPACK_IMPORTED_MODULE_0__.DhX)()),
                                ((y = (0,
                                svelte_internal__WEBPACK_IMPORTED_MODULE_0__.bGB)(
                                  "button"
                                )).textContent = "Filter"),
                                (0,
                                svelte_internal__WEBPACK_IMPORTED_MODULE_0__.Ljt)(
                                  n,
                                  "class",
                                  "vc-cmd-prompted"
                                ),
                                (0,
                                svelte_internal__WEBPACK_IMPORTED_MODULE_0__.Ljt)(
                                  n,
                                  "style",
                                  t[2]
                                ),
                                (0,
                                svelte_internal__WEBPACK_IMPORTED_MODULE_0__.Ljt)(
                                  a,
                                  "class",
                                  "vc-cmd-input"
                                ),
                                (0,
                                svelte_internal__WEBPACK_IMPORTED_MODULE_0__.Ljt)(
                                  a,
                                  "placeholder",
                                  "command..."
                                ),
                                (0,
                                svelte_internal__WEBPACK_IMPORTED_MODULE_0__.Ljt)(
                                  o,
                                  "class",
                                  "vc-cmd-input-wrap"
                                ),
                                (0,
                                svelte_internal__WEBPACK_IMPORTED_MODULE_0__.Ljt)(
                                  l,
                                  "class",
                                  "vc-cmd-btn"
                                ),
                                (0,
                                svelte_internal__WEBPACK_IMPORTED_MODULE_0__.Ljt)(
                                  l,
                                  "type",
                                  "submit"
                                ),
                                (0,
                                svelte_internal__WEBPACK_IMPORTED_MODULE_0__.Ljt)(
                                  e,
                                  "class",
                                  "vc-cmd"
                                ),
                                (0,
                                svelte_internal__WEBPACK_IMPORTED_MODULE_0__.Ljt)(
                                  d,
                                  "class",
                                  "vc-cmd-prompted"
                                ),
                                (0,
                                svelte_internal__WEBPACK_IMPORTED_MODULE_0__.Ljt)(
                                  m,
                                  "class",
                                  "vc-cmd-input"
                                ),
                                (0,
                                svelte_internal__WEBPACK_IMPORTED_MODULE_0__.Ljt)(
                                  m,
                                  "placeholder",
                                  "filter..."
                                ),
                                (0,
                                svelte_internal__WEBPACK_IMPORTED_MODULE_0__.Ljt)(
                                  p,
                                  "class",
                                  "vc-cmd-input-wrap"
                                ),
                                (0,
                                svelte_internal__WEBPACK_IMPORTED_MODULE_0__.Ljt)(
                                  y,
                                  "class",
                                  "vc-cmd-btn"
                                ),
                                (0,
                                svelte_internal__WEBPACK_IMPORTED_MODULE_0__.Ljt)(
                                  y,
                                  "type",
                                  "submit"
                                ),
                                (0,
                                svelte_internal__WEBPACK_IMPORTED_MODULE_0__.Ljt)(
                                  f,
                                  "class",
                                  "vc-cmd vc-filter"
                                );
                            },
                            m: function (S, A) {
                              (0,
                              svelte_internal__WEBPACK_IMPORTED_MODULE_0__.$Tr)(
                                S,
                                e,
                                A
                              ),
                                (0,
                                svelte_internal__WEBPACK_IMPORTED_MODULE_0__.R3I)(
                                  e,
                                  n
                                ),
                                w && w.m(n, null),
                                (0,
                                svelte_internal__WEBPACK_IMPORTED_MODULE_0__.R3I)(
                                  n,
                                  r
                                );
                              for (var P = 0; P < E.length; P += 1)
                                E[P].m(n, null);
                              T && T.m(n, null),
                                (0,
                                svelte_internal__WEBPACK_IMPORTED_MODULE_0__.R3I)(
                                  e,
                                  i
                                ),
                                (0,
                                svelte_internal__WEBPACK_IMPORTED_MODULE_0__.R3I)(
                                  e,
                                  o
                                ),
                                (0,
                                svelte_internal__WEBPACK_IMPORTED_MODULE_0__.R3I)(
                                  o,
                                  a
                                ),
                                (0,
                                svelte_internal__WEBPACK_IMPORTED_MODULE_0__.BmG)(
                                  a,
                                  t[1]
                                ),
                                t[16](a),
                                (0,
                                svelte_internal__WEBPACK_IMPORTED_MODULE_0__.R3I)(
                                  o,
                                  s
                                ),
                                O && O.m(o, null),
                                (0,
                                svelte_internal__WEBPACK_IMPORTED_MODULE_0__.R3I)(
                                  e,
                                  c
                                ),
                                (0,
                                svelte_internal__WEBPACK_IMPORTED_MODULE_0__.R3I)(
                                  e,
                                  l
                                ),
                                (0,
                                svelte_internal__WEBPACK_IMPORTED_MODULE_0__.$Tr)(
                                  S,
                                  u,
                                  A
                                ),
                                (0,
                                svelte_internal__WEBPACK_IMPORTED_MODULE_0__.$Tr)(
                                  S,
                                  f,
                                  A
                                ),
                                (0,
                                svelte_internal__WEBPACK_IMPORTED_MODULE_0__.R3I)(
                                  f,
                                  d
                                ),
                                (0,
                                svelte_internal__WEBPACK_IMPORTED_MODULE_0__.R3I)(
                                  f,
                                  h
                                ),
                                (0,
                                svelte_internal__WEBPACK_IMPORTED_MODULE_0__.R3I)(
                                  f,
                                  p
                                ),
                                (0,
                                svelte_internal__WEBPACK_IMPORTED_MODULE_0__.R3I)(
                                  p,
                                  m
                                ),
                                (0,
                                svelte_internal__WEBPACK_IMPORTED_MODULE_0__.BmG)(
                                  m,
                                  t[4]
                                ),
                                (0,
                                svelte_internal__WEBPACK_IMPORTED_MODULE_0__.R3I)(
                                  p,
                                  v
                                ),
                                C && C.m(p, null),
                                (0,
                                svelte_internal__WEBPACK_IMPORTED_MODULE_0__.R3I)(
                                  f,
                                  g
                                ),
                                (0,
                                svelte_internal__WEBPACK_IMPORTED_MODULE_0__.R3I)(
                                  f,
                                  y
                                ),
                                (b = !0),
                                V ||
                                  ((_ = [
                                    (0,
                                    svelte_internal__WEBPACK_IMPORTED_MODULE_0__.oLt)(
                                      a,
                                      "input",
                                      t[15]
                                    ),
                                    (0,
                                    svelte_internal__WEBPACK_IMPORTED_MODULE_0__.oLt)(
                                      a,
                                      "keydown",
                                      t[10]
                                    ),
                                    (0,
                                    svelte_internal__WEBPACK_IMPORTED_MODULE_0__.oLt)(
                                      a,
                                      "keyup",
                                      t[11]
                                    ),
                                    (0,
                                    svelte_internal__WEBPACK_IMPORTED_MODULE_0__.oLt)(
                                      a,
                                      "focus",
                                      t[8]
                                    ),
                                    (0,
                                    svelte_internal__WEBPACK_IMPORTED_MODULE_0__.oLt)(
                                      a,
                                      "blur",
                                      t[9]
                                    ),
                                    (0,
                                    svelte_internal__WEBPACK_IMPORTED_MODULE_0__.oLt)(
                                      e,
                                      "submit",
                                      (0,
                                      svelte_internal__WEBPACK_IMPORTED_MODULE_0__.AT7)(
                                        t[12]
                                      )
                                    ),
                                    (0,
                                    svelte_internal__WEBPACK_IMPORTED_MODULE_0__.oLt)(
                                      m,
                                      "input",
                                      t[18]
                                    ),
                                    (0,
                                    svelte_internal__WEBPACK_IMPORTED_MODULE_0__.oLt)(
                                      f,
                                      "submit",
                                      (0,
                                      svelte_internal__WEBPACK_IMPORTED_MODULE_0__.AT7)(
                                        t[13]
                                      )
                                    ),
                                  ]),
                                  (V = !0));
                            },
                            p: function (t, e) {
                              var i = e[0];
                              if (
                                (t[3].length > 0
                                  ? w
                                    ? w.p(t, i)
                                    : ((w = create_if_block_2(t)).c(),
                                      w.m(n, r))
                                  : w && (w.d(1), (w = null)),
                                136 & i)
                              ) {
                                var s;
                                for (S = t[3], s = 0; s < S.length; s += 1) {
                                  var c = get_each_context(t, S, s);
                                  E[s]
                                    ? E[s].p(c, i)
                                    : ((E[s] = create_each_block(c)),
                                      E[s].c(),
                                      E[s].m(n, null));
                                }
                                for (; s < E.length; s += 1) E[s].d(1);
                                (E.length = S.length),
                                  !S.length && T
                                    ? T.p(t, i)
                                    : S.length
                                    ? T && (T.d(1), (T = null))
                                    : ((T = create_else_block()).c(),
                                      T.m(n, null));
                              }
                              (!b || 4 & i) &&
                                (0,
                                svelte_internal__WEBPACK_IMPORTED_MODULE_0__.Ljt)(
                                  n,
                                  "style",
                                  t[2]
                                ),
                                2 & i &&
                                  (0,
                                  svelte_internal__WEBPACK_IMPORTED_MODULE_0__.BmG)(
                                    a,
                                    t[1]
                                  ),
                                t[1].length > 0
                                  ? O
                                    ? (O.p(t, i),
                                      2 & i &&
                                        (0,
                                        svelte_internal__WEBPACK_IMPORTED_MODULE_0__.Ui)(
                                          O,
                                          1
                                        ))
                                    : ((O = create_if_block_1(t)).c(),
                                      (0,
                                      svelte_internal__WEBPACK_IMPORTED_MODULE_0__.Ui)(
                                        O,
                                        1
                                      ),
                                      O.m(o, null))
                                  : O &&
                                    ((0,
                                    svelte_internal__WEBPACK_IMPORTED_MODULE_0__.dvw)(),
                                    (0,
                                    svelte_internal__WEBPACK_IMPORTED_MODULE_0__.etI)(
                                      O,
                                      1,
                                      1,
                                      function () {
                                        O = null;
                                      }
                                    ),
                                    (0,
                                    svelte_internal__WEBPACK_IMPORTED_MODULE_0__.gbL)()),
                                16 & i &&
                                  (0,
                                  svelte_internal__WEBPACK_IMPORTED_MODULE_0__.BmG)(
                                    m,
                                    t[4]
                                  ),
                                t[4].length > 0
                                  ? C
                                    ? (C.p(t, i),
                                      16 & i &&
                                        (0,
                                        svelte_internal__WEBPACK_IMPORTED_MODULE_0__.Ui)(
                                          C,
                                          1
                                        ))
                                    : ((C = create_if_block(t)).c(),
                                      (0,
                                      svelte_internal__WEBPACK_IMPORTED_MODULE_0__.Ui)(
                                        C,
                                        1
                                      ),
                                      C.m(p, null))
                                  : C &&
                                    ((0,
                                    svelte_internal__WEBPACK_IMPORTED_MODULE_0__.dvw)(),
                                    (0,
                                    svelte_internal__WEBPACK_IMPORTED_MODULE_0__.etI)(
                                      C,
                                      1,
                                      1,
                                      function () {
                                        C = null;
                                      }
                                    ),
                                    (0,
                                    svelte_internal__WEBPACK_IMPORTED_MODULE_0__.gbL)());
                            },
                            i: function (t) {
                              b ||
                                ((0,
                                svelte_internal__WEBPACK_IMPORTED_MODULE_0__.Ui)(
                                  O
                                ),
                                (0,
                                svelte_internal__WEBPACK_IMPORTED_MODULE_0__.Ui)(
                                  C
                                ),
                                (b = !0));
                            },
                            o: function (t) {
                              (0,
                              svelte_internal__WEBPACK_IMPORTED_MODULE_0__.etI)(
                                O
                              ),
                                (0,
                                svelte_internal__WEBPACK_IMPORTED_MODULE_0__.etI)(
                                  C
                                ),
                                (b = !1);
                            },
                            d: function (n) {
                              n &&
                                (0,
                                svelte_internal__WEBPACK_IMPORTED_MODULE_0__.ogt)(
                                  e
                                ),
                                w && w.d(),
                                (0,
                                svelte_internal__WEBPACK_IMPORTED_MODULE_0__.RMB)(
                                  E,
                                  n
                                ),
                                T && T.d(),
                                t[16](null),
                                O && O.d(),
                                n &&
                                  (0,
                                  svelte_internal__WEBPACK_IMPORTED_MODULE_0__.ogt)(
                                    u
                                  ),
                                n &&
                                  (0,
                                  svelte_internal__WEBPACK_IMPORTED_MODULE_0__.ogt)(
                                    f
                                  ),
                                C && C.d(),
                                (V = !1),
                                (0,
                                svelte_internal__WEBPACK_IMPORTED_MODULE_0__.j7q)(
                                  _
                                );
                            },
                          };
                        }
                        function instance($$self, $$props, $$invalidate) {
                          var module =
                              _log_model__WEBPACK_IMPORTED_MODULE_3__.W.getSingleton(
                                _log_model__WEBPACK_IMPORTED_MODULE_3__.W,
                                "VConsoleLogModel"
                              ),
                            cachedObjKeys = {},
                            dispatch = (0,
                            svelte__WEBPACK_IMPORTED_MODULE_1__.x)(),
                            cmdElement,
                            cmdValue = "",
                            promptedStyle = "",
                            promptedList = [],
                            filterValue = "";
                          (0, svelte__WEBPACK_IMPORTED_MODULE_1__.H3)(
                            function () {
                              _logCommand_less__WEBPACK_IMPORTED_MODULE_4__.Z.use();
                            }
                          ),
                            (0, svelte__WEBPACK_IMPORTED_MODULE_1__.ev)(
                              function () {
                                _logCommand_less__WEBPACK_IMPORTED_MODULE_4__.Z.unuse();
                              }
                            );
                          var evalCommand = function (t) {
                              module.evalCommand(t);
                            },
                            moveCursorToPos = function (t, e) {
                              t.setSelectionRange &&
                                setTimeout(function () {
                                  t.setSelectionRange(e, e);
                                }, 1);
                            },
                            clearPromptedList = function () {
                              $$invalidate(
                                2,
                                (promptedStyle = "display: none;")
                              ),
                                $$invalidate(3, (promptedList = []));
                            },
                            updatePromptedList = function updatePromptedList(
                              identifier
                            ) {
                              if ("" !== cmdValue) {
                                identifier ||
                                  (identifier = (0,
                                  _logTool__WEBPACK_IMPORTED_MODULE_5__.oj)(
                                    cmdValue
                                  ));
                                var objName = "window",
                                  keyName = cmdValue;
                                if (
                                  (("." !== identifier.front.text &&
                                    "[" !== identifier.front.text) ||
                                    ((objName = identifier.front.before),
                                    (keyName =
                                      "" !== identifier.back.text
                                        ? identifier.back.before
                                        : identifier.front.after)),
                                  (keyName = keyName.replace(
                                    /(^['"]+)|(['"']+$)/g,
                                    ""
                                  )),
                                  !cachedObjKeys[objName])
                                )
                                  try {
                                    cachedObjKeys[objName] =
                                      Object.getOwnPropertyNames(
                                        eval("(" + objName + ")")
                                      ).sort();
                                  } catch (t) {}
                                try {
                                  if (cachedObjKeys[objName])
                                    for (
                                      var i = 0;
                                      i < cachedObjKeys[objName].length &&
                                      !(promptedList.length >= 100);
                                      i++
                                    ) {
                                      var key = String(
                                          cachedObjKeys[objName][i]
                                        ),
                                        keyPattern = new RegExp(
                                          "^" + keyName,
                                          "i"
                                        );
                                      if (keyPattern.test(key)) {
                                        var completeCmd = objName;
                                        "." === identifier.front.text ||
                                        "" === identifier.front.text
                                          ? (completeCmd += "." + key)
                                          : "[" === identifier.front.text &&
                                            (completeCmd += "['" + key + "']"),
                                          promptedList.push({
                                            text: key,
                                            value: completeCmd,
                                          });
                                      }
                                    }
                                } catch (t) {}
                                if (promptedList.length > 0) {
                                  var m = Math.min(
                                    200,
                                    31 * (promptedList.length + 1)
                                  );
                                  $$invalidate(
                                    2,
                                    (promptedStyle =
                                      "display: block; height: " +
                                      m +
                                      "px; margin-top: " +
                                      (-m - 2) +
                                      "px;")
                                  ),
                                    $$invalidate(3, promptedList);
                                } else clearPromptedList();
                              } else clearPromptedList();
                            },
                            autoCompleteBrackets = function (t, e) {
                              if (8 !== e && 46 !== e && "" === t.front.after)
                                switch (t.front.text) {
                                  case "[":
                                    return (
                                      $$invalidate(1, (cmdValue += "]")),
                                      void moveCursorToPos(
                                        cmdElement,
                                        cmdValue.length - 1
                                      )
                                    );
                                  case "(":
                                    return (
                                      $$invalidate(1, (cmdValue += ")")),
                                      void moveCursorToPos(
                                        cmdElement,
                                        cmdValue.length - 1
                                      )
                                    );
                                  case "{":
                                    return (
                                      $$invalidate(1, (cmdValue += "}")),
                                      void moveCursorToPos(
                                        cmdElement,
                                        cmdValue.length - 1
                                      )
                                    );
                                }
                            },
                            dispatchFilterEvent = function () {
                              dispatch("filterText", {
                                filterText: filterValue,
                              });
                            },
                            onTapClearText = function (t) {
                              "cmd" === t
                                ? ($$invalidate(1, (cmdValue = "")),
                                  clearPromptedList())
                                : "filter" === t &&
                                  ($$invalidate(4, (filterValue = "")),
                                  dispatchFilterEvent());
                            },
                            onTapPromptedItem = function onTapPromptedItem(
                              item
                            ) {
                              var type = "";
                              try {
                                type = eval("typeof " + item.value);
                              } catch (t) {}
                              $$invalidate(
                                1,
                                (cmdValue =
                                  item.value +
                                  ("function" === type ? "()" : ""))
                              ),
                                clearPromptedList();
                            },
                            onCmdFocus = function () {
                              updatePromptedList();
                            },
                            onCmdBlur = function () {},
                            onCmdKeyDown = function (t) {
                              13 === t.keyCode &&
                                (t.preventDefault(), onCmdSubmit());
                            },
                            onCmdKeyUp = function (t) {
                              $$invalidate(3, (promptedList = []));
                              var e = (0,
                              _logTool__WEBPACK_IMPORTED_MODULE_5__.oj)(
                                t.target.value
                              );
                              autoCompleteBrackets(e, t.keyCode),
                                updatePromptedList(e);
                            },
                            onCmdSubmit = function () {
                              "" !== cmdValue && evalCommand(cmdValue),
                                clearPromptedList();
                            },
                            onFilterSubmit = function (t) {
                              dispatchFilterEvent();
                            },
                            click_handler = function (t) {
                              return onTapPromptedItem(t);
                            };
                          function textarea0_input_handler() {
                            (cmdValue = this.value), $$invalidate(1, cmdValue);
                          }
                          function textarea0_binding(t) {
                            svelte_internal__WEBPACK_IMPORTED_MODULE_0__.VnY[
                              t ? "unshift" : "push"
                            ](function () {
                              $$invalidate(0, (cmdElement = t));
                            });
                          }
                          var click_handler_1 = function () {
                            return onTapClearText("cmd");
                          };
                          function textarea1_input_handler() {
                            (filterValue = this.value),
                              $$invalidate(4, filterValue);
                          }
                          var click_handler_2 = function () {
                            return onTapClearText("filter");
                          };
                          return [
                            cmdElement,
                            cmdValue,
                            promptedStyle,
                            promptedList,
                            filterValue,
                            clearPromptedList,
                            onTapClearText,
                            onTapPromptedItem,
                            onCmdFocus,
                            onCmdBlur,
                            onCmdKeyDown,
                            onCmdKeyUp,
                            onCmdSubmit,
                            onFilterSubmit,
                            click_handler,
                            textarea0_input_handler,
                            textarea0_binding,
                            click_handler_1,
                            textarea1_input_handler,
                            click_handler_2,
                          ];
                        }
                        var LogCommand = (function (t) {
                          function e(e) {
                            var n;
                            return (
                              (n = t.call(this) || this),
                              (0,
                              svelte_internal__WEBPACK_IMPORTED_MODULE_0__.S1n)(
                                (0,
                                _babel_runtime_helpers_assertThisInitialized__WEBPACK_IMPORTED_MODULE_7__.Z)(
                                  n
                                ),
                                e,
                                instance,
                                create_fragment,
                                svelte_internal__WEBPACK_IMPORTED_MODULE_0__.N8,
                                {}
                              ),
                              n
                            );
                          }
                          return (
                            (0,
                            _babel_runtime_helpers_inheritsLoose__WEBPACK_IMPORTED_MODULE_6__.Z)(
                              e,
                              t
                            ),
                            e
                          );
                        })(svelte_internal__WEBPACK_IMPORTED_MODULE_0__.f_C);
                        __nested_webpack_exports__.Z = LogCommand;
                      },
                      4687: function (t, e, n) {
                        n.d(e, {
                          x: function () {
                            return c;
                          },
                        });
                        var r,
                          i,
                          o,
                          a,
                          s = n(3313),
                          c =
                            ((r = (0, s.fZ)({ updateTime: 0 })),
                            (i = r.subscribe),
                            (o = r.set),
                            (a = r.update),
                            {
                              subscribe: i,
                              set: o,
                              update: a,
                              updateTime: function () {
                                a(function (t) {
                                  return (t.updateTime = Date.now()), t;
                                });
                              },
                            });
                      },
                      643: function (t, e, n) {
                        n.d(e, {
                          N: function () {
                            return r;
                          },
                        });
                        var r = (function () {
                          function t() {
                            this._onDataUpdateCallbacks = [];
                          }
                          return (
                            (t.getSingleton = function (e, n) {
                              return (
                                n || (n = e.toString()),
                                t.singleton[n] || (t.singleton[n] = new e()),
                                t.singleton[n]
                              );
                            }),
                            t
                          );
                        })();
                        r.singleton = {};
                      },
                      5103: function (t, e, n) {
                        function r(t) {
                          var e = t > 0 ? new Date(t) : new Date(),
                            n =
                              e.getDate() < 10
                                ? "0" + e.getDate()
                                : e.getDate(),
                            r =
                              e.getMonth() < 9
                                ? "0" + (e.getMonth() + 1)
                                : e.getMonth() + 1,
                            i = e.getFullYear(),
                            o =
                              e.getHours() < 10
                                ? "0" + e.getHours()
                                : e.getHours(),
                            a =
                              e.getMinutes() < 10
                                ? "0" + e.getMinutes()
                                : e.getMinutes(),
                            s =
                              e.getSeconds() < 10
                                ? "0" + e.getSeconds()
                                : e.getSeconds(),
                            c =
                              e.getMilliseconds() < 10
                                ? "0" + e.getMilliseconds()
                                : e.getMilliseconds();
                          return (
                            c < 100 && (c = "0" + c),
                            {
                              time: +e,
                              year: i,
                              month: r,
                              day: n,
                              hour: o,
                              minute: a,
                              second: s,
                              millisecond: c,
                            }
                          );
                        }
                        function i(t) {
                          return (
                            "[object Number]" ===
                            Object.prototype.toString.call(t)
                          );
                        }
                        function o(t) {
                          return "bigint" == typeof t;
                        }
                        function a(t) {
                          return "string" == typeof t;
                        }
                        function s(t) {
                          return (
                            "[object Array]" ===
                            Object.prototype.toString.call(t)
                          );
                        }
                        function c(t) {
                          return "boolean" == typeof t;
                        }
                        function l(t) {
                          return void 0 === t;
                        }
                        function u(t) {
                          return null === t;
                        }
                        function f(t) {
                          return "symbol" == typeof t;
                        }
                        function d(t) {
                          return !(
                            "[object Object]" !==
                              Object.prototype.toString.call(t) &&
                            (i(t) ||
                              o(t) ||
                              a(t) ||
                              c(t) ||
                              s(t) ||
                              u(t) ||
                              h(t) ||
                              l(t) ||
                              f(t))
                          );
                        }
                        function h(t) {
                          return "function" == typeof t;
                        }
                        function p(t) {
                          return "object" == typeof HTMLElement
                            ? t instanceof HTMLElement
                            : t &&
                                "object" == typeof t &&
                                null !== t &&
                                1 === t.nodeType &&
                                "string" == typeof t.nodeName;
                        }
                        function m(t) {
                          var e = Object.prototype.toString.call(t);
                          return (
                            "[object Window]" === e ||
                            "[object DOMWindow]" === e ||
                            "[object global]" === e
                          );
                        }
                        function v(t) {
                          return (
                            null != t &&
                            "string" != typeof t &&
                            "boolean" != typeof t &&
                            "number" != typeof t &&
                            "function" != typeof t &&
                            "symbol" != typeof t &&
                            "bigint" != typeof t &&
                            typeof Symbol < "u" &&
                            "function" == typeof t[Symbol.iterator]
                          );
                        }
                        function g(t) {
                          return Object.prototype.toString
                            .call(t)
                            .replace(/\[object (.*)\]/, "$1");
                        }
                        n.d(e, {
                          C4: function () {
                            return o;
                          },
                          DV: function () {
                            return b;
                          },
                          FJ: function () {
                            return m;
                          },
                          Ft: function () {
                            return u;
                          },
                          HD: function () {
                            return a;
                          },
                          H_: function () {
                            return M;
                          },
                          KL: function () {
                            return O;
                          },
                          Kn: function () {
                            return d;
                          },
                          MH: function () {
                            return k;
                          },
                          PO: function () {
                            return V;
                          },
                          QI: function () {
                            return L;
                          },
                          QK: function () {
                            return I;
                          },
                          TW: function () {
                            return v;
                          },
                          _3: function () {
                            return r;
                          },
                          _D: function () {
                            return j;
                          },
                          cF: function () {
                            return D;
                          },
                          hZ: function () {
                            return T;
                          },
                          hj: function () {
                            return i;
                          },
                          id: function () {
                            return C;
                          },
                          jn: function () {
                            return c;
                          },
                          kJ: function () {
                            return s;
                          },
                          kK: function () {
                            return p;
                          },
                          mf: function () {
                            return h;
                          },
                          o8: function () {
                            return l;
                          },
                          po: function () {
                            return R;
                          },
                          qr: function () {
                            return x;
                          },
                          qt: function () {
                            return N;
                          },
                          rE: function () {
                            return S;
                          },
                          yk: function () {
                            return f;
                          },
                          zl: function () {
                            return g;
                          },
                        });
                        var y = /(function|class) ([^ \{\()}]{1,})[\(| ]/;
                        function b(t) {
                          var e;
                          if (null == t) return "";
                          var n = y.exec(
                            (null == t || null == (e = t.constructor)
                              ? void 0
                              : e.toString()) || ""
                          );
                          return n && n.length > 1 ? n[2] : "";
                        }
                        function V(t) {
                          var e,
                            n = Object.prototype.hasOwnProperty;
                          if (!t || "object" != typeof t || t.nodeType || m(t))
                            return !1;
                          try {
                            if (
                              t.constructor &&
                              !n.call(t, "constructor") &&
                              !n.call(t.constructor.prototype, "isPrototypeOf")
                            )
                              return !1;
                          } catch {
                            return !1;
                          }
                          for (e in t);
                          return void 0 === e || n.call(t, e);
                        }
                        var _ = /[\n\t]/g,
                          w = function (t) {
                            return { "\n": "\\n", "\t": "\\t" }[t];
                          };
                        function S(t) {
                          return "string" != typeof t
                            ? t
                            : String(t).replace(_, w);
                        }
                        var E = function (t, e) {
                            void 0 === e && (e = 0);
                            var n = "";
                            return (
                              a(t)
                                ? (e > 0 && (t = C(t, e)),
                                  (n += '"' + S(t) + '"'))
                                : f(t)
                                ? (n += String(t).replace(
                                    /^Symbol\((.*)\)$/i,
                                    'Symbol("$1")'
                                  ))
                                : h(t)
                                ? (n += (t.name || "function") + "()")
                                : o(t)
                                ? (n += String(t) + "n")
                                : (n += String(t)),
                              n
                            );
                          },
                          A = function t(e, n, r) {
                            if ((void 0 === r && (r = 0), d(e) || s(e)))
                              if (n.circularFinder(e)) {
                                var i = "";
                                if (s(e)) i = "(Circular Array)";
                                else if (d(e)) {
                                  var o;
                                  i =
                                    "(Circular " +
                                    ((null == (o = e.constructor)
                                      ? void 0
                                      : o.name) || "Object") +
                                    ")";
                                }
                                n.ret += n.standardJSON ? '"' + i + '"' : i;
                              } else {
                                var c = "",
                                  l = "";
                                if (n.pretty) {
                                  for (var u = 0; u <= r; u++) c += "  ";
                                  l = "\n";
                                }
                                var h = "{",
                                  p = "}";
                                s(e) && ((h = "["), (p = "]")),
                                  (n.ret += h + l);
                                for (var m = k(e), v = 0; v < m.length; v++) {
                                  var g = m[v];
                                  n.ret += c;
                                  try {
                                    s(e) ||
                                      (d(g) || s(g) || f(g)
                                        ? (n.ret +=
                                            Object.prototype.toString.call(g))
                                        : a(g) && n.standardJSON
                                        ? (n.ret += '"' + g + '"')
                                        : (n.ret += g),
                                      (n.ret += ": "));
                                  } catch {
                                    continue;
                                  }
                                  try {
                                    var y = e[g];
                                    if (s(y))
                                      n.maxDepth > -1 && r >= n.maxDepth
                                        ? (n.ret += "Array(" + y.length + ")")
                                        : t(y, n, r + 1);
                                    else if (d(y)) {
                                      var b;
                                      n.maxDepth > -1 && r >= n.maxDepth
                                        ? (n.ret +=
                                            ((null == (b = y.constructor)
                                              ? void 0
                                              : b.name) || "Object") + " {}")
                                        : t(y, n, r + 1);
                                    } else n.ret += E(y, n.keyMaxLen);
                                  } catch {
                                    n.ret += n.standardJSON
                                      ? '"(PARSE_ERROR)"'
                                      : "(PARSE_ERROR)";
                                  }
                                  if (
                                    n.keyMaxLen > 0 &&
                                    n.ret.length >= 10 * n.keyMaxLen
                                  ) {
                                    n.ret += ", (...)";
                                    break;
                                  }
                                  v < m.length - 1 && (n.ret += ", "),
                                    (n.ret += l);
                                }
                                n.ret += c.substring(0, c.length - 2) + p;
                              }
                            else n.ret += E(e, n.keyMaxLen);
                          };
                        function T(t, e) {
                          void 0 === e &&
                            (e = {
                              maxDepth: -1,
                              keyMaxLen: -1,
                              pretty: !1,
                              standardJSON: !1,
                            });
                          var n,
                            r = Object.assign(
                              {
                                ret: "",
                                maxDepth: -1,
                                keyMaxLen: -1,
                                pretty: !1,
                                standardJSON: !1,
                                circularFinder:
                                  ((n = new WeakSet()),
                                  function (t) {
                                    if ("object" == typeof t && null !== t) {
                                      if (n.has(t)) return !0;
                                      n.add(t);
                                    }
                                    return !1;
                                  }),
                              },
                              e
                            );
                          return A(t, r), r.ret;
                        }
                        function O(t) {
                          return t <= 0
                            ? ""
                            : t >= 1e6
                            ? (t / 1e3 / 1e3).toFixed(1) + " MB"
                            : t >= 1e3
                            ? (t / 1e3).toFixed(1) + " KB"
                            : t + " B";
                        }
                        function C(t, e) {
                          return (
                            t.length > e &&
                              (t =
                                t.substring(0, e) +
                                "...(" +
                                O(
                                  (function (t) {
                                    try {
                                      return (
                                        encodeURI(t).split(
                                          /%(?:u[0-9A-F]{2})?[0-9A-F]{2}|./
                                        ).length - 1
                                      );
                                    } catch {
                                      return 0;
                                    }
                                  })(t)
                                ) +
                                ")"),
                            t
                          );
                        }
                        var P = function (t, e) {
                          return String(t).localeCompare(String(e), void 0, {
                            numeric: !0,
                            sensitivity: "base",
                          });
                        };
                        function x(t) {
                          return t.sort(P);
                        }
                        function k(t) {
                          return d(t) || s(t) ? Object.keys(t) : [];
                        }
                        function I(t) {
                          var e,
                            n = k(t);
                          return (
                            d((e = t)) || s(e)
                              ? Object.getOwnPropertyNames(e)
                              : []
                          ).filter(function (t) {
                            return -1 === n.indexOf(t);
                          });
                        }
                        function j(t) {
                          return d(t) || s(t)
                            ? Object.getOwnPropertySymbols(t)
                            : [];
                        }
                        function R(t, e) {
                          window.localStorage &&
                            ((t = "vConsole_" + t), localStorage.setItem(t, e));
                        }
                        function D(t) {
                          if (window.localStorage)
                            return (
                              (t = "vConsole_" + t), localStorage.getItem(t)
                            );
                        }
                        function L(t) {
                          return (
                            void 0 === t && (t = ""),
                            "__vc_" +
                              t +
                              Math.random().toString(36).substring(2, 8)
                          );
                        }
                        function M() {
                          return (
                            typeof window < "u" &&
                            !!window.__wxConfig &&
                            !!window.wx &&
                            !!window.__virtualDOM__
                          );
                        }
                        function N(t) {
                          if (M() && "function" == typeof window.wx[t])
                            try {
                              for (
                                var e,
                                  n = arguments.length,
                                  r = new Array(n > 1 ? n - 1 : 0),
                                  i = 1;
                                i < n;
                                i++
                              )
                                r[i - 1] = arguments[i];
                              return (e = window.wx[t]).call.apply(
                                e,
                                [window.wx].concat(r)
                              );
                            } catch (e) {
                              return void console.debug(
                                "[vConsole] Fail to call wx." + t + "():",
                                e
                              );
                            }
                        }
                      },
                      5629: function (t, e, n) {
                        n.d(e, {
                          W: function () {
                            return p;
                          },
                        });
                        var r = n(8270),
                          i = n(6881),
                          o = n(5103),
                          a = n(643),
                          s = n(4687),
                          c = n(8665),
                          l = n(9923);
                        function u(t, e) {
                          var n = Object.keys(t);
                          if (Object.getOwnPropertySymbols) {
                            var r = Object.getOwnPropertySymbols(t);
                            e &&
                              (r = r.filter(function (e) {
                                return Object.getOwnPropertyDescriptor(
                                  t,
                                  e
                                ).enumerable;
                              })),
                              n.push.apply(n, r);
                          }
                          return n;
                        }
                        function f(t) {
                          for (var e = 1; e < arguments.length; e++) {
                            var n = null != arguments[e] ? arguments[e] : {};
                            e % 2
                              ? u(Object(n), !0).forEach(function (e) {
                                  (0, r.Z)(t, e, n[e]);
                                })
                              : Object.getOwnPropertyDescriptors
                              ? Object.defineProperties(
                                  t,
                                  Object.getOwnPropertyDescriptors(n)
                                )
                              : u(Object(n)).forEach(function (e) {
                                  Object.defineProperty(
                                    t,
                                    e,
                                    Object.getOwnPropertyDescriptor(n, e)
                                  );
                                });
                          }
                          return t;
                        }
                        function d(t, e) {
                          var n =
                            (typeof Symbol < "u" && t[Symbol.iterator]) ||
                            t["@@iterator"];
                          if (n) return (n = n.call(t)).next.bind(n);
                          if (
                            Array.isArray(t) ||
                            (n = (function (t, e) {
                              if (t) {
                                if ("string" == typeof t) return h(t, e);
                                var n = Object.prototype.toString
                                  .call(t)
                                  .slice(8, -1);
                                if (
                                  ("Object" === n &&
                                    t.constructor &&
                                    (n = t.constructor.name),
                                  "Map" === n || "Set" === n)
                                )
                                  return Array.from(t);
                                if (
                                  "Arguments" === n ||
                                  /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(
                                    n
                                  )
                                )
                                  return h(t, e);
                              }
                            })(t)) ||
                            (e && t && "number" == typeof t.length)
                          ) {
                            n && (t = n);
                            var r = 0;
                            return function () {
                              return r >= t.length
                                ? { done: !0 }
                                : { done: !1, value: t[r++] };
                            };
                          }
                          throw new TypeError(
                            "Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."
                          );
                        }
                        function h(t, e) {
                          (null == e || e > t.length) && (e = t.length);
                          for (var n = 0, r = new Array(e); n < e; n++)
                            r[n] = t[n];
                          return r;
                        }
                        var p = (function (t) {
                          function e() {
                            for (
                              var e,
                                n = arguments.length,
                                r = new Array(n),
                                i = 0;
                              i < n;
                              i++
                            )
                              r[i] = arguments[i];
                            return (
                              ((e =
                                t.call.apply(t, [this].concat(r)) ||
                                this).LOG_METHODS = [
                                "log",
                                "info",
                                "warn",
                                "debug",
                                "error",
                              ]),
                              (e.ADDED_LOG_PLUGIN_ID = []),
                              (e.maxLogNumber = 1e3),
                              (e.logCounter = 0),
                              (e.groupLevel = 0),
                              (e.groupLabelCollapsedStack = []),
                              (e.pluginPattern = void 0),
                              (e.logQueue = []),
                              (e.flushLogScheduled = !1),
                              (e.origConsole = {}),
                              e
                            );
                          }
                          (0, i.Z)(e, t);
                          var n = e.prototype;
                          return (
                            (n.bindPlugin = function (t) {
                              return !(
                                this.ADDED_LOG_PLUGIN_ID.indexOf(t) > -1 ||
                                (0 === this.ADDED_LOG_PLUGIN_ID.length &&
                                  this.mockConsole(),
                                l.O.create(t),
                                this.ADDED_LOG_PLUGIN_ID.push(t),
                                (this.pluginPattern = new RegExp(
                                  "^\\[(" +
                                    this.ADDED_LOG_PLUGIN_ID.join("|") +
                                    ")\\]$",
                                  "i"
                                )),
                                0)
                              );
                            }),
                            (n.unbindPlugin = function (t) {
                              var e = this.ADDED_LOG_PLUGIN_ID.indexOf(t);
                              return (
                                -1 !== e &&
                                (this.ADDED_LOG_PLUGIN_ID.splice(e, 1),
                                l.O.delete(t),
                                0 === this.ADDED_LOG_PLUGIN_ID.length &&
                                  this.unmockConsole(),
                                !0)
                              );
                            }),
                            (n.mockConsole = function () {
                              var t = this;
                              "function" != typeof this.origConsole.log &&
                                (window.console
                                  ? (this.LOG_METHODS.map(function (e) {
                                      t.origConsole[e] = window.console[e];
                                    }),
                                    (this.origConsole.time =
                                      window.console.time),
                                    (this.origConsole.timeEnd =
                                      window.console.timeEnd),
                                    (this.origConsole.clear =
                                      window.console.clear),
                                    (this.origConsole.group =
                                      window.console.group),
                                    (this.origConsole.groupCollapsed =
                                      window.console.groupCollapsed),
                                    (this.origConsole.groupEnd =
                                      window.console.groupEnd))
                                  : (window.console = {}),
                                this._mockConsoleLog(),
                                this._mockConsoleTime(),
                                this._mockConsoleGroup(),
                                this._mockConsoleClear(),
                                (window._vcOrigConsole = this.origConsole));
                            }),
                            (n._mockConsoleLog = function () {
                              var t = this;
                              this.LOG_METHODS.map(function (e) {
                                window.console[e] = function () {
                                  for (
                                    var n = arguments.length,
                                      r = new Array(n),
                                      i = 0;
                                    i < n;
                                    i++
                                  )
                                    r[i] = arguments[i];
                                  t.addLog({ type: e, origData: r || [] });
                                }.bind(window.console);
                              });
                            }),
                            (n._mockConsoleTime = function () {
                              var t = this,
                                e = {};
                              (window.console.time = function (t) {
                                void 0 === t && (t = ""), (e[t] = Date.now());
                              }.bind(window.console)),
                                (window.console.timeEnd = function (n) {
                                  void 0 === n && (n = "");
                                  var r = e[n],
                                    i = 0;
                                  r && ((i = Date.now() - r), delete e[n]),
                                    t.addLog({
                                      type: "log",
                                      origData: [n + ": " + i + "ms"],
                                    });
                                }.bind(window.console));
                            }),
                            (n._mockConsoleGroup = function () {
                              var t = this,
                                e = function (e) {
                                  return function (n) {
                                    void 0 === n && (n = "console.group");
                                    var r = Symbol(n);
                                    t.groupLabelCollapsedStack.push({
                                      label: r,
                                      collapsed: e,
                                    }),
                                      t.addLog(
                                        {
                                          type: "log",
                                          origData: [n],
                                          isGroupHeader: e ? 2 : 1,
                                          isGroupCollapsed: !1,
                                        },
                                        { noOrig: !0 }
                                      ),
                                      t.groupLevel++,
                                      e
                                        ? t.origConsole.groupCollapsed(n)
                                        : t.origConsole.group(n);
                                  }.bind(window.console);
                                };
                              (window.console.group = e(!1)),
                                (window.console.groupCollapsed = e(!0)),
                                (window.console.groupEnd = function () {
                                  t.groupLabelCollapsedStack.pop(),
                                    (t.groupLevel = Math.max(
                                      0,
                                      t.groupLevel - 1
                                    )),
                                    t.origConsole.groupEnd();
                                }.bind(window.console));
                            }),
                            (n._mockConsoleClear = function () {
                              var t = this;
                              window.console.clear = function () {
                                t.resetGroup(), t.clearLog();
                                for (
                                  var e = arguments.length,
                                    n = new Array(e),
                                    r = 0;
                                  r < e;
                                  r++
                                )
                                  n[r] = arguments[r];
                                t.callOriginalConsole.apply(
                                  t,
                                  ["clear"].concat(n)
                                );
                              }.bind(window.console);
                            }),
                            (n.unmockConsole = function () {
                              for (var t in this.origConsole)
                                (window.console[t] = this.origConsole[t]),
                                  delete this.origConsole[t];
                              window._vcOrigConsole &&
                                delete window._vcOrigConsole;
                            }),
                            (n.callOriginalConsole = function (t) {
                              if ("function" == typeof this.origConsole[t]) {
                                for (
                                  var e = arguments.length,
                                    n = new Array(e > 1 ? e - 1 : 0),
                                    r = 1;
                                  r < e;
                                  r++
                                )
                                  n[r - 1] = arguments[r];
                                this.origConsole[t].apply(window.console, n);
                              }
                            }),
                            (n.resetGroup = function () {
                              for (; this.groupLevel > 0; ) console.groupEnd();
                            }),
                            (n.clearLog = function () {
                              var t = l.O.getAll();
                              for (var e in t) this.clearPluginLog(e);
                            }),
                            (n.clearPluginLog = function (t) {
                              var e = this.logQueue;
                              this.logQueue = [];
                              for (var n, r = d(e); !(n = r()).done; ) {
                                var i = n.value;
                                this._extractPluginIdByLog(i) !== t &&
                                  this.logQueue.push(i);
                              }
                              l.O.get(t).update(function (t) {
                                return (t.logList.length = 0), t;
                              }),
                                s.x.updateTime();
                            }),
                            (n.addLog = function (t, e) {
                              void 0 === t &&
                                (t = {
                                  type: "log",
                                  origData: [],
                                  isGroupHeader: 0,
                                  isGroupCollapsed: !1,
                                });
                              var n =
                                  this.groupLabelCollapsedStack[
                                    this.groupLabelCollapsedStack.length - 2
                                  ],
                                r =
                                  this.groupLabelCollapsedStack[
                                    this.groupLabelCollapsedStack.length - 1
                                  ],
                                i = {
                                  _id: o.QI(),
                                  type: t.type,
                                  cmdType: null == e ? void 0 : e.cmdType,
                                  toggle: {},
                                  date: Date.now(),
                                  data: (0, c.b1)(t.origData || []),
                                  repeated: 0,
                                  groupLabel: null == r ? void 0 : r.label,
                                  groupLevel: this.groupLevel,
                                  groupHeader: t.isGroupHeader,
                                  groupCollapsed: t.isGroupHeader
                                    ? !(null == n || !n.collapsed)
                                    : !(null == r || !r.collapsed),
                                };
                              this._signalLog(i),
                                (null != e && e.noOrig) ||
                                  this.callOriginalConsole.apply(
                                    this,
                                    [t.type].concat(t.origData)
                                  );
                            }),
                            (n.evalCommand = function (t) {
                              this.addLog(
                                { type: "log", origData: [t] },
                                { cmdType: "input" }
                              );
                              var e = void 0;
                              try {
                                e = eval.call(window, "(" + t + ")");
                              } catch {
                                try {
                                  e = eval.call(window, t);
                                } catch {}
                              }
                              this.addLog(
                                { type: "log", origData: [e] },
                                { cmdType: "output" }
                              );
                            }),
                            (n._signalLog = function (t) {
                              var e = this;
                              this.flushLogScheduled ||
                                ((this.flushLogScheduled = !0),
                                window.requestAnimationFrame(function () {
                                  (e.flushLogScheduled = !1), e._flushLogs();
                                })),
                                this.logQueue.push(t);
                            }),
                            (n._flushLogs = function () {
                              var t = this,
                                e = this.logQueue;
                              this.logQueue = [];
                              for (var n, r = {}, i = d(e); !(n = i()).done; ) {
                                var o = n.value,
                                  a = this._extractPluginIdByLog(o);
                                (r[a] = r[a] || []).push(o);
                              }
                              for (
                                var c = function (e) {
                                    var n = r[e];
                                    l.O.get(e).update(function (e) {
                                      for (
                                        var r,
                                          i = [].concat(e.logList),
                                          o = d(n);
                                        !(r = o()).done;

                                      ) {
                                        var a = r.value;
                                        t._isRepeatedLog(i, a)
                                          ? t._updateLastLogRepeated(i)
                                          : i.push(a);
                                      }
                                      return {
                                        logList: (i = t._limitLogListLength(i)),
                                      };
                                    });
                                  },
                                  u = 0,
                                  f = Object.keys(r);
                                u < f.length;
                                u++
                              )
                                c(f[u]);
                              s.x.updateTime();
                            }),
                            (n._extractPluginIdByLog = function (t) {
                              var e,
                                n = "default",
                                r =
                                  null == (e = t.data[0]) ? void 0 : e.origData;
                              if (o.HD(r)) {
                                var i = r.match(this.pluginPattern);
                                if (null !== i && i.length > 1) {
                                  var a = i[1].toLowerCase();
                                  this.ADDED_LOG_PLUGIN_ID.indexOf(a) > -1 &&
                                    ((n = a), t.data.shift());
                                }
                              }
                              return n;
                            }),
                            (n._isRepeatedLog = function (t, e) {
                              var n = t[t.length - 1];
                              if (!n) return !1;
                              var r = !1;
                              if (
                                e.type === n.type &&
                                e.cmdType === n.cmdType &&
                                e.data.length === n.data.length
                              ) {
                                r = !0;
                                for (var i = 0; i < e.data.length; i++)
                                  if (
                                    e.data[i].origData !== n.data[i].origData
                                  ) {
                                    r = !1;
                                    break;
                                  }
                              }
                              return r;
                            }),
                            (n._updateLastLogRepeated = function (t) {
                              var e = t[t.length - 1],
                                n = e.repeated ? e.repeated + 1 : 2;
                              return (
                                (t[t.length - 1] = f(
                                  f({}, e),
                                  {},
                                  { repeated: n }
                                )),
                                t
                              );
                            }),
                            (n._limitLogListLength = function (t) {
                              var e = t.length,
                                n = this.maxLogNumber;
                              return e > n ? t.slice(e - n, e) : t;
                            }),
                            e
                          );
                        })(a.N);
                      },
                      9923: function (t, e, n) {
                        n.d(e, {
                          O: function () {
                            return i;
                          },
                        });
                        var r = n(3313),
                          i = (function () {
                            function t() {}
                            return (
                              (t.create = function (t) {
                                return (
                                  this.storeMap[t] ||
                                    (this.storeMap[t] = (0, r.fZ)({
                                      logList: [],
                                    })),
                                  this.storeMap[t]
                                );
                              }),
                              (t.delete = function (t) {
                                this.storeMap[t] && delete this.storeMap[t];
                              }),
                              (t.get = function (t) {
                                return this.storeMap[t];
                              }),
                              (t.getRaw = function (t) {
                                return (0, r.U2)(this.storeMap[t]);
                              }),
                              (t.getAll = function () {
                                return this.storeMap;
                              }),
                              t
                            );
                          })();
                        i.storeMap = {};
                      },
                      8665: function (t, e, n) {
                        n.d(e, {
                          HX: function () {
                            return u;
                          },
                          LH: function () {
                            return o;
                          },
                          Tg: function () {
                            return h;
                          },
                          b1: function () {
                            return d;
                          },
                          oj: function () {
                            return l;
                          },
                        });
                        var r = n(5103),
                          i = function (t) {
                            var e = r.hZ(t, { maxDepth: 0 }),
                              n = e.substring(0, 36),
                              i = r.DV(t);
                            return (
                              e.length > 36 && (n += "..."), r.rE(i + " " + n)
                            );
                          },
                          o = function (t, e) {
                            void 0 === e && (e = !0);
                            var n = "undefined",
                              o = t;
                            return (
                              t instanceof h
                                ? ((n = "uninvocatable"), (o = "(...)"))
                                : r.kJ(t)
                                ? ((n = "array"), (o = i(t)))
                                : r.Kn(t)
                                ? ((n = "object"), (o = i(t)))
                                : r.HD(t)
                                ? ((n = "string"),
                                  (o = r.rE(t)),
                                  e && (o = '"' + o + '"'))
                                : r.hj(t)
                                ? ((n = "number"), (o = String(t)))
                                : r.C4(t)
                                ? ((n = "bigint"), (o = String(t) + "n"))
                                : r.jn(t)
                                ? ((n = "boolean"), (o = String(t)))
                                : r.Ft(t)
                                ? ((n = "null"), (o = "null"))
                                : r.o8(t)
                                ? ((n = "undefined"), (o = "undefined"))
                                : r.mf(t)
                                ? ((n = "function"),
                                  (o = (t.name || "function") + "()"))
                                : r.yk(t) && ((n = "symbol"), (o = String(t))),
                              { text: o, valueType: n }
                            );
                          },
                          a = [".", "[", "(", "{", "}"],
                          s = ["]", ")", "}"],
                          c = function (t, e, n) {
                            void 0 === n && (n = 0);
                            for (
                              var r = {
                                  text: "",
                                  pos: -1,
                                  before: "",
                                  after: "",
                                },
                                i = t.length - 1;
                              i >= n;
                              i--
                            ) {
                              var o = e.indexOf(t[i]);
                              if (o > -1) {
                                (r.text = e[o]),
                                  (r.pos = i),
                                  (r.before = t.substring(n, i)),
                                  (r.after = t.substring(i + 1, t.length));
                                break;
                              }
                            }
                            return r;
                          },
                          l = function (t) {
                            var e = c(t, a, 0);
                            return { front: e, back: c(t, s, e.pos + 1) };
                          },
                          u = function (t, e) {
                            if ("" === e) return !0;
                            for (var n = 0; n < t.data.length; n++)
                              if (
                                "string" == typeof t.data[n].origData &&
                                t.data[n].origData.indexOf(e) > -1
                              )
                                return !0;
                            return !1;
                          },
                          f = /(\%[csdo] )|( \%[csdo])/g,
                          d = function (t) {
                            if (
                              ((f.lastIndex = 0), r.HD(t[0]) && f.test(t[0]))
                            ) {
                              for (
                                var e,
                                  n = [].concat(t),
                                  i = n
                                    .shift()
                                    .split(f)
                                    .filter(function (t) {
                                      return void 0 !== t && "" !== t;
                                    }),
                                  o = n,
                                  a = [],
                                  s = !1,
                                  c = "";
                                i.length > 0;

                              ) {
                                var l = i.shift();
                                if (
                                  (/ ?\%c ?/.test(l)
                                    ? o.length > 0
                                      ? "string" != typeof (c = o.shift()) &&
                                        (c = "")
                                      : ((e = l), (c = ""), (s = !0))
                                    : / ?\%[sd] ?/.test(l)
                                    ? ((e =
                                        o.length > 0
                                          ? r.Kn(o[0])
                                            ? r.DV(o.shift())
                                            : String(o.shift())
                                          : l),
                                      (s = !0))
                                    : / ?\%o ?/.test(l)
                                    ? ((e = o.length > 0 ? o.shift() : l),
                                      (s = !0))
                                    : ((e = l), (s = !0)),
                                  s)
                                ) {
                                  var u = { origData: e };
                                  c && (u.style = c),
                                    a.push(u),
                                    (s = !1),
                                    (e = void 0),
                                    (c = "");
                                }
                              }
                              for (var d = 0; d < o.length; d++)
                                a.push({ origData: o[d] });
                              return a;
                            }
                            for (var h = [], p = 0; p < t.length; p++)
                              h.push({ origData: t[p] });
                            return h;
                          },
                          h = function () {};
                      },
                      5313: function (t, e, n) {
                        var r = n(6738),
                          i = n.n(r),
                          o = n(7705),
                          a = n.n(o)()(i());
                        a.push([
                          t.id,
                          ".vc-icon {\n  word-break: normal;\n  white-space: normal;\n  overflow: visible;\n}\n.vc-icon svg {\n  fill: var(--VC-FG-2);\n  height: 1em;\n  width: 1em;\n  vertical-align: -0.11em;\n}\n.vc-icon .vc-icon-delete {\n  vertical-align: -0.11em;\n}\n.vc-icon .vc-icon-copy {\n  height: 1.1em;\n  width: 1.1em;\n  vertical-align: -0.16em;\n}\n.vc-icon .vc-icon-suc {\n  fill: var(--VC-TEXTGREEN);\n  height: 1.1em;\n  width: 1.1em;\n  vertical-align: -0.16em;\n}\n",
                          "",
                        ]),
                          (e.Z = a);
                      },
                      1142: function (t, e, n) {
                        var r = n(6738),
                          i = n.n(r),
                          o = n(7705),
                          a = n.n(o)()(i());
                        a.push([
                          t.id,
                          ".vc-scroller-viewport {\n  position: relative;\n  overflow: hidden;\n  height: 100%;\n}\n.vc-scroller-contents {\n  min-height: 100%;\n  will-change: transform;\n}\n.vc-scroller-items {\n  will-change: height;\n  position: relative;\n}\n.vc-scroller-item {\n  display: none;\n  position: absolute;\n  left: 0;\n  right: 0;\n}\n.vc-scroller-viewport.static .vc-scroller-item {\n  display: block;\n  position: static;\n}\n.vc-scroller-scrollbar-track {\n  width: 4px;\n  position: absolute;\n  top: 0;\n  right: 0;\n  bottom: 0;\n  padding: 1px;\n}\n.vc-scroller-scrollbar-thumb {\n  position: relative;\n  width: 100%;\n  height: 100%;\n  background: rgba(0, 0, 0, 0.5);\n  border-radius: 999px;\n}\n",
                          "",
                        ]),
                          (e.Z = a);
                      },
                      3283: function (t, e, n) {
                        var r = n(6738),
                          i = n.n(r),
                          o = n(7705),
                          a = n.n(o)()(i());
                        a.push([
                          t.id,
                          '#__vconsole {\n  --VC-BG-0: #ededed;\n  --VC-BG-1: #f7f7f7;\n  --VC-BG-2: #fff;\n  --VC-BG-3: #f7f7f7;\n  --VC-BG-4: #4c4c4c;\n  --VC-BG-5: #fff;\n  --VC-BG-6: rgba(0, 0, 0, 0.1);\n  --VC-FG-0: rgba(0, 0, 0, 0.9);\n  --VC-FG-HALF: rgba(0, 0, 0, 0.9);\n  --VC-FG-1: rgba(0, 0, 0, 0.5);\n  --VC-FG-2: rgba(0, 0, 0, 0.3);\n  --VC-FG-3: rgba(0, 0, 0, 0.1);\n  --VC-RED: #fa5151;\n  --VC-ORANGE: #fa9d3b;\n  --VC-YELLOW: #ffc300;\n  --VC-GREEN: #91d300;\n  --VC-LIGHTGREEN: #95ec69;\n  --VC-BRAND: #07c160;\n  --VC-BLUE: #10aeff;\n  --VC-INDIGO: #1485ee;\n  --VC-PURPLE: #6467f0;\n  --VC-LINK: #576b95;\n  --VC-TEXTGREEN: #06ae56;\n  --VC-FG: black;\n  --VC-BG: white;\n  --VC-BG-COLOR-ACTIVE: #ececec;\n  --VC-WARN-BG: #fff3cc;\n  --VC-WARN-BORDER: #ffe799;\n  --VC-ERROR-BG: #fedcdc;\n  --VC-ERROR-BORDER: #fdb9b9;\n  --VC-DOM-TAG-NAME-COLOR: #881280;\n  --VC-DOM-ATTRIBUTE-NAME-COLOR: #994500;\n  --VC-DOM-ATTRIBUTE-VALUE-COLOR: #1a1aa6;\n  --VC-CODE-KEY-FG: #881391;\n  --VC-CODE-PRIVATE-KEY-FG: #cfa1d3;\n  --VC-CODE-FUNC-FG: #0d22aa;\n  --VC-CODE-NUMBER-FG: #1c00cf;\n  --VC-CODE-STR-FG: #c41a16;\n  --VC-CODE-NULL-FG: #808080;\n  color: var(--VC-FG-0);\n  font-size: 13px;\n  font-family: Helvetica Neue, Helvetica, Arial, sans-serif;\n  -webkit-user-select: auto;\n  /* global */\n}\n#__vconsole .vc-max-height {\n  max-height: 19.23076923em;\n}\n#__vconsole .vc-max-height-line {\n  max-height: 6.30769231em;\n}\n#__vconsole .vc-min-height {\n  min-height: 3.07692308em;\n}\n#__vconsole dd,\n#__vconsole dl,\n#__vconsole pre {\n  margin: 0;\n}\n#__vconsole pre {\n  white-space: pre-wrap;\n}\n#__vconsole i {\n  font-style: normal;\n}\n.vc-table {\n  height: 100%;\n}\n.vc-table .vc-table-row {\n  line-height: 1.5;\n  display: -webkit-box;\n  display: -webkit-flex;\n  display: -moz-box;\n  display: -ms-flexbox;\n  display: flex;\n  -webkit-box-orient: horizontal;\n  -webkit-box-direction: normal;\n  -webkit-flex-direction: row;\n  -moz-box-orient: horizontal;\n  -moz-box-direction: normal;\n  -ms-flex-direction: row;\n  flex-direction: row;\n  -webkit-flex-wrap: wrap;\n  -ms-flex-wrap: wrap;\n  flex-wrap: wrap;\n  overflow: hidden;\n  border-bottom: 1px solid var(--VC-FG-3);\n}\n.vc-table .vc-table-row.vc-left-border {\n  border-left: 1px solid var(--VC-FG-3);\n}\n.vc-table .vc-table-row-icon {\n  margin-left: 4px;\n}\n.vc-table .vc-table-col {\n  -webkit-box-flex: 1;\n  -webkit-flex: 1;\n  -moz-box-flex: 1;\n  -ms-flex: 1;\n  flex: 1;\n  padding: 0.23076923em 0.30769231em;\n  border-left: 1px solid var(--VC-FG-3);\n  overflow: auto;\n}\n.vc-table .vc-table-col:first-child {\n  border: none;\n}\n.vc-table .vc-table-col-value {\n  white-space: pre-wrap;\n  word-break: break-word;\n  /*white-space: nowrap;\n    text-overflow: ellipsis;*/\n  -webkit-overflow-scrolling: touch;\n}\n.vc-table .vc-small .vc-table-col {\n  padding: 0 0.30769231em;\n  font-size: 0.92307692em;\n}\n.vc-table .vc-table-col-2 {\n  -webkit-box-flex: 2;\n  -webkit-flex: 2;\n  -moz-box-flex: 2;\n  -ms-flex: 2;\n  flex: 2;\n}\n.vc-table .vc-table-col-3 {\n  -webkit-box-flex: 3;\n  -webkit-flex: 3;\n  -moz-box-flex: 3;\n  -ms-flex: 3;\n  flex: 3;\n}\n.vc-table .vc-table-col-4 {\n  -webkit-box-flex: 4;\n  -webkit-flex: 4;\n  -moz-box-flex: 4;\n  -ms-flex: 4;\n  flex: 4;\n}\n.vc-table .vc-table-col-5 {\n  -webkit-box-flex: 5;\n  -webkit-flex: 5;\n  -moz-box-flex: 5;\n  -ms-flex: 5;\n  flex: 5;\n}\n.vc-table .vc-table-col-6 {\n  -webkit-box-flex: 6;\n  -webkit-flex: 6;\n  -moz-box-flex: 6;\n  -ms-flex: 6;\n  flex: 6;\n}\n.vc-table .vc-table-row-error {\n  border-color: var(--VC-ERROR-BORDER);\n  background-color: var(--VC-ERROR-BG);\n}\n.vc-table .vc-table-row-error .vc-table-col {\n  color: var(--VC-RED);\n  border-color: var(--VC-ERROR-BORDER);\n}\n.vc-table .vc-table-col-title {\n  font-weight: bold;\n}\n.vc-table .vc-table-action {\n  display: flex;\n  justify-content: space-evenly;\n}\n.vc-table .vc-table-action .vc-icon {\n  flex: 1;\n  text-align: center;\n  display: block;\n}\n.vc-table .vc-table-action .vc-icon:hover {\n  background: var(--VC-BG-3);\n}\n.vc-table .vc-table-action .vc-icon:active {\n  background: var(--VC-BG-1);\n}\n.vc-table .vc-table-input {\n  width: 100%;\n  border: none;\n  color: var(--VC-FG-0);\n  background-color: var(--VC-BG-6);\n  height: 3.53846154em;\n}\n.vc-table .vc-table-input:focus {\n  background-color: var(--VC-FG-2);\n}\n@media (prefers-color-scheme: dark) {\n  #__vconsole:not([data-theme="light"]) {\n    --VC-BG-0: #191919;\n    --VC-BG-1: #1f1f1f;\n    --VC-BG-2: #232323;\n    --VC-BG-3: #2f2f2f;\n    --VC-BG-4: #606060;\n    --VC-BG-5: #2c2c2c;\n    --VC-BG-6: rgba(255, 255, 255, 0.2);\n    --VC-FG-0: rgba(255, 255, 255, 0.8);\n    --VC-FG-HALF: rgba(255, 255, 255, 0.6);\n    --VC-FG-1: rgba(255, 255, 255, 0.5);\n    --VC-FG-2: rgba(255, 255, 255, 0.3);\n    --VC-FG-3: rgba(255, 255, 255, 0.05);\n    --VC-RED: #fa5151;\n    --VC-ORANGE: #c87d2f;\n    --VC-YELLOW: #cc9c00;\n    --VC-GREEN: #74a800;\n    --VC-LIGHTGREEN: #28b561;\n    --VC-BRAND: #07c160;\n    --VC-BLUE: #10aeff;\n    --VC-INDIGO: #1196ff;\n    --VC-PURPLE: #8183ff;\n    --VC-LINK: #7d90a9;\n    --VC-TEXTGREEN: #259c5c;\n    --VC-FG: white;\n    --VC-BG: black;\n    --VC-BG-COLOR-ACTIVE: #282828;\n    --VC-WARN-BG: #332700;\n    --VC-WARN-BORDER: #664e00;\n    --VC-ERROR-BG: #321010;\n    --VC-ERROR-BORDER: #642020;\n    --VC-DOM-TAG-NAME-COLOR: #5DB0D7;\n    --VC-DOM-ATTRIBUTE-NAME-COLOR: #9BBBDC;\n    --VC-DOM-ATTRIBUTE-VALUE-COLOR: #f29766;\n    --VC-CODE-KEY-FG: #e36eec;\n    --VC-CODE-PRIVATE-KEY-FG: #f4c5f7;\n    --VC-CODE-FUNC-FG: #556af2;\n    --VC-CODE-NUMBER-FG: #9980ff;\n    --VC-CODE-STR-FG: #e93f3b;\n    --VC-CODE-NULL-FG: #808080;\n  }\n}\n#__vconsole[data-theme="dark"] {\n  --VC-BG-0: #191919;\n  --VC-BG-1: #1f1f1f;\n  --VC-BG-2: #232323;\n  --VC-BG-3: #2f2f2f;\n  --VC-BG-4: #606060;\n  --VC-BG-5: #2c2c2c;\n  --VC-BG-6: rgba(255, 255, 255, 0.2);\n  --VC-FG-0: rgba(255, 255, 255, 0.8);\n  --VC-FG-HALF: rgba(255, 255, 255, 0.6);\n  --VC-FG-1: rgba(255, 255, 255, 0.5);\n  --VC-FG-2: rgba(255, 255, 255, 0.3);\n  --VC-FG-3: rgba(255, 255, 255, 0.05);\n  --VC-RED: #fa5151;\n  --VC-ORANGE: #c87d2f;\n  --VC-YELLOW: #cc9c00;\n  --VC-GREEN: #74a800;\n  --VC-LIGHTGREEN: #28b561;\n  --VC-BRAND: #07c160;\n  --VC-BLUE: #10aeff;\n  --VC-INDIGO: #1196ff;\n  --VC-PURPLE: #8183ff;\n  --VC-LINK: #7d90a9;\n  --VC-TEXTGREEN: #259c5c;\n  --VC-FG: white;\n  --VC-BG: black;\n  --VC-BG-COLOR-ACTIVE: #282828;\n  --VC-WARN-BG: #332700;\n  --VC-WARN-BORDER: #664e00;\n  --VC-ERROR-BG: #321010;\n  --VC-ERROR-BORDER: #642020;\n  --VC-DOM-TAG-NAME-COLOR: #5DB0D7;\n  --VC-DOM-ATTRIBUTE-NAME-COLOR: #9BBBDC;\n  --VC-DOM-ATTRIBUTE-VALUE-COLOR: #f29766;\n  --VC-CODE-KEY-FG: #e36eec;\n  --VC-CODE-PRIVATE-KEY-FG: #f4c5f7;\n  --VC-CODE-FUNC-FG: #556af2;\n  --VC-CODE-NUMBER-FG: #9980ff;\n  --VC-CODE-STR-FG: #e93f3b;\n  --VC-CODE-NULL-FG: #808080;\n}\n.vc-tabbar {\n  border-bottom: 1px solid var(--VC-FG-3);\n  overflow-x: auto;\n  height: 3em;\n  width: auto;\n  white-space: nowrap;\n}\n.vc-tabbar .vc-tab {\n  display: inline-block;\n  line-height: 3em;\n  padding: 0 1.15384615em;\n  border-right: 1px solid var(--VC-FG-3);\n  text-decoration: none;\n  color: var(--VC-FG-0);\n  -webkit-tap-highlight-color: transparent;\n  -webkit-touch-callout: none;\n}\n.vc-tabbar .vc-tab:active {\n  background-color: rgba(0, 0, 0, 0.15);\n}\n.vc-tabbar .vc-tab.vc-actived {\n  background-color: var(--VC-BG-1);\n}\n.vc-toolbar {\n  border-top: 1px solid var(--VC-FG-3);\n  line-height: 3em;\n  position: absolute;\n  left: 0;\n  right: 0;\n  bottom: 0;\n  display: -webkit-box;\n  display: -webkit-flex;\n  display: -moz-box;\n  display: -ms-flexbox;\n  display: flex;\n  -webkit-box-orient: horizontal;\n  -webkit-box-direction: normal;\n  -webkit-flex-direction: row;\n  -moz-box-orient: horizontal;\n  -moz-box-direction: normal;\n  -ms-flex-direction: row;\n  flex-direction: row;\n}\n.vc-toolbar .vc-tool {\n  display: none;\n  font-style: normal;\n  text-decoration: none;\n  color: var(--VC-FG-0);\n  width: 50%;\n  -webkit-box-flex: 1;\n  -webkit-flex: 1;\n  -moz-box-flex: 1;\n  -ms-flex: 1;\n  flex: 1;\n  text-align: center;\n  position: relative;\n  -webkit-touch-callout: none;\n}\n.vc-toolbar .vc-tool.vc-toggle,\n.vc-toolbar .vc-tool.vc-global-tool {\n  display: block;\n}\n.vc-toolbar .vc-tool:active {\n  background-color: rgba(0, 0, 0, 0.15);\n}\n.vc-toolbar .vc-tool:after {\n  content: " ";\n  position: absolute;\n  top: 0.53846154em;\n  bottom: 0.53846154em;\n  right: 0;\n  border-left: 1px solid var(--VC-FG-3);\n}\n.vc-toolbar .vc-tool-last:after {\n  border: none;\n}\n.vc-topbar {\n  background-color: var(--VC-BG-1);\n  display: -webkit-box;\n  display: -webkit-flex;\n  display: -moz-box;\n  display: -ms-flexbox;\n  display: flex;\n  -webkit-box-orient: horizontal;\n  -webkit-box-direction: normal;\n  -webkit-flex-direction: row;\n  -moz-box-orient: horizontal;\n  -moz-box-direction: normal;\n  -ms-flex-direction: row;\n  flex-direction: row;\n  -webkit-flex-wrap: wrap;\n  -ms-flex-wrap: wrap;\n  flex-wrap: wrap;\n  width: 100%;\n}\n.vc-topbar .vc-toptab {\n  display: none;\n  -webkit-box-flex: 1;\n  -webkit-flex: 1;\n  -moz-box-flex: 1;\n  -ms-flex: 1;\n  flex: 1;\n  line-height: 2.30769231em;\n  padding: 0 1.15384615em;\n  border-bottom: 1px solid var(--VC-FG-3);\n  text-decoration: none;\n  text-align: center;\n  color: var(--VC-FG-0);\n  -webkit-tap-highlight-color: transparent;\n  -webkit-touch-callout: none;\n}\n.vc-topbar .vc-toptab.vc-toggle {\n  display: block;\n}\n.vc-topbar .vc-toptab:active {\n  background-color: rgba(0, 0, 0, 0.15);\n}\n.vc-topbar .vc-toptab.vc-actived {\n  border-bottom: 1px solid var(--VC-INDIGO);\n}\n.vc-mask {\n  display: none;\n  position: fixed;\n  top: 0;\n  left: 0;\n  right: 0;\n  bottom: 0;\n  background: rgba(0, 0, 0, 0);\n  z-index: 10001;\n  -webkit-transition: background 0.3s;\n  transition: background 0.3s;\n  -webkit-tap-highlight-color: transparent;\n  overflow-y: scroll;\n}\n.vc-panel {\n  display: none;\n  position: fixed;\n  min-height: 85%;\n  left: 0;\n  right: 0;\n  bottom: -100%;\n  z-index: 10002;\n  background-color: var(--VC-BG-0);\n  transition: bottom 0.3s;\n}\n.vc-toggle .vc-switch {\n  display: none;\n}\n.vc-toggle .vc-mask {\n  background: rgba(0, 0, 0, 0.6);\n  display: block;\n}\n.vc-toggle .vc-panel {\n  bottom: 0;\n}\n.vc-content {\n  background-color: var(--VC-BG-2);\n  overflow-x: hidden;\n  overflow-y: auto;\n  position: absolute;\n  top: 3.07692308em;\n  left: 0;\n  right: 0;\n  bottom: 3.07692308em;\n  -webkit-overflow-scrolling: touch;\n  margin-bottom: constant(safe-area-inset-bottom);\n  margin-bottom: env(safe-area-inset-bottom);\n}\n.vc-content.vc-has-topbar {\n  top: 5.46153846em;\n}\n.vc-plugin-box {\n  display: none;\n  position: relative;\n  min-height: 100%;\n}\n.vc-plugin-box.vc-fixed-height {\n  height: 100%;\n}\n.vc-plugin-box.vc-actived {\n  display: block;\n}\n.vc-plugin-content {\n  display: flex;\n  width: 100%;\n  height: 100%;\n  overflow-y: auto;\n  flex-direction: column;\n  -webkit-tap-highlight-color: transparent;\n}\n.vc-plugin-content:empty:before {\n  content: "Empty";\n  color: var(--VC-FG-1);\n  position: absolute;\n  top: 45%;\n  left: 0;\n  right: 0;\n  bottom: 0;\n  font-size: 1.15384615em;\n  text-align: center;\n}\n.vc-plugin-empty {\n  color: var(--VC-FG-1);\n  font-size: 1.15384615em;\n  height: 100%;\n  width: 100%;\n  padding: 1.15384615em 0;\n  text-align: center;\n  display: flex;\n  flex-direction: column;\n  justify-content: center;\n}\n@supports (bottom: constant(safe-area-inset-bottom)) or (bottom: env(safe-area-inset-bottom)) {\n  .vc-toolbar,\n  .vc-switch {\n    bottom: constant(safe-area-inset-bottom);\n    bottom: env(safe-area-inset-bottom);\n  }\n}\n',
                          "",
                        ]),
                          (e.Z = a);
                      },
                      7558: function (t, e, n) {
                        var r = n(6738),
                          i = n.n(r),
                          o = n(7705),
                          a = n.n(o)()(i());
                        a.push([
                          t.id,
                          ".vc-switch {\n  display: block;\n  position: fixed;\n  right: 0.76923077em;\n  bottom: 0.76923077em;\n  color: #FFF;\n  background-color: var(--VC-BRAND);\n  line-height: 1;\n  font-size: 1.07692308em;\n  padding: 0.61538462em 1.23076923em;\n  z-index: 10000;\n  border-radius: 0.30769231em;\n  box-shadow: 0 0 0.61538462em rgba(0, 0, 0, 0.4);\n}\n",
                          "",
                        ]),
                          (e.Z = a);
                      },
                      5670: function (t, e, n) {
                        var r = n(6738),
                          i = n.n(r),
                          o = n(7705),
                          a = n.n(o)()(i());
                        a.push([
                          t.id,
                          '/* color */\n.vcelm-node {\n  color: var(--VC-DOM-TAG-NAME-COLOR);\n}\n.vcelm-k {\n  color: var(--VC-DOM-ATTRIBUTE-NAME-COLOR);\n}\n.vcelm-v {\n  color: var(--VC-DOM-ATTRIBUTE-VALUE-COLOR);\n}\n.vcelm-l.vc-actived > .vcelm-node {\n  background-color: var(--VC-FG-3);\n}\n/* layout */\n.vcelm-l {\n  padding-left: 8px;\n  position: relative;\n  word-wrap: break-word;\n  line-height: 1.2;\n}\n/*.vcelm-l.vcelm-noc {\n  padding-left: 0;\n}*/\n.vcelm-l .vcelm-node:active {\n  background-color: var(--VC-BG-COLOR-ACTIVE);\n}\n.vcelm-l.vcelm-noc .vcelm-node:active {\n  background-color: transparent;\n}\n.vcelm-t {\n  white-space: pre-wrap;\n  word-wrap: break-word;\n}\n/* level */\n/* arrow */\n.vcelm-l:before {\n  content: "";\n  display: block;\n  position: absolute;\n  top: 6px;\n  left: 3px;\n  width: 0;\n  height: 0;\n  border: transparent solid 3px;\n  border-left-color: var(--VC-FG-1);\n}\n.vcelm-l.vc-toggle:before {\n  display: block;\n  top: 6px;\n  left: 0;\n  border-top-color: var(--VC-FG-1);\n  border-left-color: transparent;\n}\n.vcelm-l.vcelm-noc:before {\n  display: none;\n}\n',
                          "",
                        ]),
                          (e.Z = a);
                      },
                      3327: function (t, e, n) {
                        var r = n(6738),
                          i = n.n(r),
                          o = n(7705),
                          a = n.n(o)()(i());
                        a.push([t.id, "", ""]), (e.Z = a);
                      },
                      1130: function (t, e, n) {
                        var r = n(6738),
                          i = n.n(r),
                          o = n(7705),
                          a = n.n(o)()(i());
                        a.push([
                          t.id,
                          ".vc-cmd {\n  height: 3.07692308em;\n  border-top: 1px solid var(--VC-FG-3);\n  display: flex;\n  flex-direction: row;\n}\n.vc-cmd.vc-filter {\n  bottom: 0;\n}\n.vc-cmd-input-wrap {\n  display: flex;\n  align-items: center;\n  flex: 1;\n  position: relative;\n  height: 2.15384615em;\n  padding: 0.46153846em 0.61538462em;\n}\n.vc-cmd-input {\n  width: 100%;\n  border: none;\n  resize: none;\n  outline: none;\n  padding: 0;\n  font-size: 0.92307692em;\n  background-color: transparent;\n  color: var(--VC-FG-0);\n}\n.vc-cmd-input::-webkit-input-placeholder {\n  line-height: 2.15384615em;\n}\n.vc-cmd-btn {\n  width: 3.07692308em;\n  border: none;\n  background-color: var(--VC-BG-0);\n  color: var(--VC-FG-0);\n  outline: none;\n  -webkit-touch-callout: none;\n  font-size: 1em;\n}\n.vc-cmd-clear-btn {\n  flex: 1 3.07692308em;\n  text-align: center;\n  line-height: 3.07692308em;\n}\n.vc-cmd-btn:active,\n.vc-cmd-clear-btn:active {\n  background-color: var(--VC-BG-COLOR-ACTIVE);\n}\n.vc-cmd-prompted {\n  position: absolute;\n  left: 0.46153846em;\n  right: 0.46153846em;\n  background-color: var(--VC-BG-3);\n  border: 1px solid var(--VC-FG-3);\n  overflow-x: scroll;\n  display: none;\n}\n.vc-cmd-prompted li {\n  list-style: none;\n  line-height: 30px;\n  padding: 0 0.46153846em;\n  border-bottom: 1px solid var(--VC-FG-3);\n}\n.vc-cmd-prompted li:active {\n  background-color: var(--VC-BG-COLOR-ACTIVE);\n}\n.vc-cmd-prompted-hide {\n  text-align: center;\n}\n",
                          "",
                        ]),
                          (e.Z = a);
                      },
                      7147: function (t, e, n) {
                        var r = n(6738),
                          i = n.n(r),
                          o = n(7705),
                          a = n.n(o)()(i());
                        a.push([
                          t.id,
                          '.vc-log-row {\n  margin: 0;\n  padding: 0.46153846em 0.61538462em;\n  overflow: hidden;\n  line-height: 1.3;\n  border-bottom: 1px solid var(--VC-FG-3);\n  word-break: break-word;\n  position: relative;\n  display: flex;\n}\n.vc-log-info {\n  color: var(--VC-PURPLE);\n}\n.vc-log-debug {\n  color: var(--VC-YELLOW);\n}\n.vc-log-warn {\n  color: var(--VC-ORANGE);\n  border-color: var(--VC-WARN-BORDER);\n  background-color: var(--VC-WARN-BG);\n}\n.vc-log-error {\n  color: var(--VC-RED);\n  border-color: var(--VC-ERROR-BORDER);\n  background-color: var(--VC-ERROR-BG);\n}\n.vc-logrow-icon {\n  margin-left: auto;\n}\n.vc-log-padding {\n  width: 1.53846154em;\n  border-left: 1px solid var(--VC-FG-3);\n}\n.vc-log-group .vc-log-content {\n  font-weight: bold;\n}\n.vc-log-group-toggle {\n  padding-left: 0.76923077em;\n}\n.vc-log-group-toggle {\n  display: block;\n  font-style: italic;\n  padding-left: 0.76923077em;\n  position: relative;\n}\n.vc-log-group-toggle:active {\n  background-color: var(--VC-BG-COLOR-ACTIVE);\n}\n.vc-log-group > .vc-log-group-toggle::before {\n  content: "";\n  position: absolute;\n  top: 0.30769231em;\n  left: 0.15384615em;\n  width: 0;\n  height: 0;\n  border: transparent solid 0.30769231em;\n  border-left-color: var(--VC-FG-1);\n}\n.vc-log-group.vc-toggle > .vc-log-group-toggle::before {\n  top: 0.46153846em;\n  left: 0;\n  border-top-color: var(--VC-FG-1);\n  border-left-color: transparent;\n}\n.vc-log-time {\n  width: 6.15384615em;\n  color: #777;\n}\n.vc-log-repeat i {\n  margin-right: 0.30769231em;\n  padding: 0 6.5px;\n  color: #D7E0EF;\n  background-color: #42597F;\n  border-radius: 8.66666667px;\n}\n.vc-log-error .vc-log-repeat i {\n  color: #901818;\n  background-color: var(--VC-RED);\n}\n.vc-log-warn .vc-log-repeat i {\n  color: #987D20;\n  background-color: #F4BD02;\n}\n.vc-log-content {\n  flex: 1;\n}\n.vc-log-input,\n.vc-log-output {\n  padding-left: 0.92307692em;\n}\n.vc-log-input:before,\n.vc-log-output:before {\n  content: "›";\n  position: absolute;\n  top: 0.15384615em;\n  left: 0;\n  font-size: 1.23076923em;\n  color: #6A5ACD;\n}\n.vc-log-output:before {\n  content: "‹";\n}\n',
                          "",
                        ]),
                          (e.Z = a);
                      },
                      1237: function (t, e, n) {
                        var r = n(6738),
                          i = n.n(r),
                          o = n(7705),
                          a = n.n(o)()(i());
                        a.push([
                          t.id,
                          '.vc-log-tree {\n  display: block;\n  overflow: auto;\n  position: relative;\n  -webkit-overflow-scrolling: touch;\n}\n.vc-log-tree-node {\n  display: block;\n  font-style: italic;\n  padding-left: 0.76923077em;\n  position: relative;\n}\n.vc-log-tree.vc-is-tree > .vc-log-tree-node:active {\n  background-color: var(--VC-BG-COLOR-ACTIVE);\n}\n.vc-log-tree.vc-is-tree > .vc-log-tree-node::before {\n  content: "";\n  position: absolute;\n  top: 0.30769231em;\n  left: 0.15384615em;\n  width: 0;\n  height: 0;\n  border: transparent solid 0.30769231em;\n  border-left-color: var(--VC-FG-1);\n}\n.vc-log-tree.vc-is-tree.vc-toggle > .vc-log-tree-node::before {\n  top: 0.46153846em;\n  left: 0;\n  border-top-color: var(--VC-FG-1);\n  border-left-color: transparent;\n}\n.vc-log-tree-child {\n  margin-left: 0.76923077em;\n}\n.vc-log-tree-loadmore {\n  text-decoration: underline;\n  padding-left: 1.84615385em;\n  position: relative;\n  color: var(--VC-CODE-FUNC-FG);\n}\n.vc-log-tree-loadmore::before {\n  content: "››";\n  position: absolute;\n  top: -0.15384615em;\n  left: 0.76923077em;\n  font-size: 1.23076923em;\n  color: var(--VC-CODE-FUNC-FG);\n}\n.vc-log-tree-loadmore:active {\n  background-color: var(--VC-BG-COLOR-ACTIVE);\n}\n',
                          "",
                        ]),
                          (e.Z = a);
                      },
                      845: function (t, e, n) {
                        var r = n(6738),
                          i = n.n(r),
                          o = n(7705),
                          a = n.n(o)()(i());
                        a.push([
                          t.id,
                          ".vc-log-key {\n  color: var(--VC-CODE-KEY-FG);\n}\n.vc-log-key-private {\n  color: var(--VC-CODE-PRIVATE-KEY-FG);\n}\n.vc-log-val {\n  white-space: pre-line;\n}\n.vc-log-val-function {\n  color: var(--VC-CODE-FUNC-FG);\n  font-style: italic !important;\n}\n.vc-log-val-bigint {\n  color: var(--VC-CODE-FUNC-FG);\n}\n.vc-log-val-number,\n.vc-log-val-boolean {\n  color: var(--VC-CODE-NUMBER-FG);\n}\n.vc-log-val-string {\n  white-space: pre-wrap;\n}\n.vc-log-val-string.vc-log-val-haskey {\n  color: var(--VC-CODE-STR-FG);\n  white-space: normal;\n}\n.vc-log-val-null,\n.vc-log-val-undefined,\n.vc-log-val-uninvocatable {\n  color: var(--VC-CODE-NULL-FG);\n}\n.vc-log-val-symbol {\n  color: var(--VC-CODE-STR-FG);\n}\n",
                          "",
                        ]),
                          (e.Z = a);
                      },
                      8747: function (t, e, n) {
                        var r = n(6738),
                          i = n.n(r),
                          o = n(7705),
                          a = n.n(o)()(i());
                        a.push([
                          t.id,
                          ".vc-group .vc-group-preview {\n  -webkit-touch-callout: none;\n}\n.vc-group .vc-group-preview:active {\n  background-color: var(--VC-BG-COLOR-ACTIVE);\n}\n.vc-group .vc-group-detail {\n  display: none;\n  padding: 0 0 0.76923077em 1.53846154em;\n  border-bottom: 1px solid var(--VC-FG-3);\n}\n.vc-group.vc-actived .vc-group-detail {\n  display: block;\n  background-color: var(--VC-BG-1);\n}\n.vc-group.vc-actived .vc-table-row {\n  background-color: var(--VC-BG-2);\n}\n.vc-group.vc-actived .vc-group-preview {\n  background-color: var(--VC-BG-1);\n}\n",
                          "",
                        ]),
                          (e.Z = a);
                      },
                      3411: function (t, e, n) {
                        var r = n(3379),
                          i = n.n(r),
                          o = n(7795),
                          a = n.n(o),
                          s = n(569),
                          c = n.n(s),
                          l = n(3565),
                          u = n.n(l),
                          f = n(9216),
                          d = n.n(f),
                          h = n(4589),
                          p = n.n(h),
                          m = n(1130),
                          v = {};
                        m.Z && m.Z.locals && (v.locals = m.Z.locals);
                        var g,
                          y = 0,
                          b = {};
                        (b.styleTagTransform = p()),
                          (b.setAttributes = u()),
                          (b.insert = c().bind(null, "head")),
                          (b.domAPI = a()),
                          (b.insertStyleElement = d()),
                          (v.use = function (t) {
                            return (
                              (b.options = t || {}), y++ || (g = i()(m.Z, b)), v
                            );
                          }),
                          (v.unuse = function () {
                            y > 0 && !--y && (g(), (g = null));
                          }),
                          (e.Z = v);
                      },
                      3379: function (t) {
                        var e = [];
                        function n(t) {
                          for (var n = -1, r = 0; r < e.length; r++)
                            if (e[r].identifier === t) {
                              n = r;
                              break;
                            }
                          return n;
                        }
                        function r(t, r) {
                          for (var o = {}, a = [], s = 0; s < t.length; s++) {
                            var c = t[s],
                              l = r.base ? c[0] + r.base : c[0],
                              u = o[l] || 0,
                              f = "".concat(l, " ").concat(u);
                            o[l] = u + 1;
                            var d = n(f),
                              h = {
                                css: c[1],
                                media: c[2],
                                sourceMap: c[3],
                                supports: c[4],
                                layer: c[5],
                              };
                            if (-1 !== d) e[d].references++, e[d].updater(h);
                            else {
                              var p = i(h, r);
                              (r.byIndex = s),
                                e.splice(s, 0, {
                                  identifier: f,
                                  updater: p,
                                  references: 1,
                                });
                            }
                            a.push(f);
                          }
                          return a;
                        }
                        function i(t, e) {
                          var n = e.domAPI(e);
                          return (
                            n.update(t),
                            function (e) {
                              if (e) {
                                if (
                                  e.css === t.css &&
                                  e.media === t.media &&
                                  e.sourceMap === t.sourceMap &&
                                  e.supports === t.supports &&
                                  e.layer === t.layer
                                )
                                  return;
                                n.update((t = e));
                              } else n.remove();
                            }
                          );
                        }
                        t.exports = function (t, i) {
                          var o = r((t = t || []), (i = i || {}));
                          return function (t) {
                            t = t || [];
                            for (var a = 0; a < o.length; a++) {
                              var s = n(o[a]);
                              e[s].references--;
                            }
                            for (var c = r(t, i), l = 0; l < o.length; l++) {
                              var u = n(o[l]);
                              0 === e[u].references &&
                                (e[u].updater(), e.splice(u, 1));
                            }
                            o = c;
                          };
                        };
                      },
                      569: function (t) {
                        var e = {};
                        t.exports = function (t, n) {
                          var r = (function (t) {
                            if (void 0 === e[t]) {
                              var n = document.querySelector(t);
                              if (
                                window.HTMLIFrameElement &&
                                n instanceof window.HTMLIFrameElement
                              )
                                try {
                                  n = n.contentDocument.head;
                                } catch {
                                  n = null;
                                }
                              e[t] = n;
                            }
                            return e[t];
                          })(t);
                          if (!r)
                            throw new Error(
                              "Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid."
                            );
                          r.appendChild(n);
                        };
                      },
                      9216: function (t) {
                        t.exports = function (t) {
                          var e = document.createElement("style");
                          return (
                            t.setAttributes(e, t.attributes),
                            t.insert(e, t.options),
                            e
                          );
                        };
                      },
                      3565: function (t, e, n) {
                        t.exports = function (t) {
                          var e = n.nc;
                          e && t.setAttribute("nonce", e);
                        };
                      },
                      7795: function (t) {
                        t.exports = function (t) {
                          var e = t.insertStyleElement(t);
                          return {
                            update: function (n) {
                              !(function (t, e, n) {
                                var r = "";
                                n.supports &&
                                  (r += "@supports (".concat(
                                    n.supports,
                                    ") {"
                                  )),
                                  n.media &&
                                    (r += "@media ".concat(n.media, " {"));
                                var i = void 0 !== n.layer;
                                i &&
                                  (r += "@layer".concat(
                                    n.layer.length > 0
                                      ? " ".concat(n.layer)
                                      : "",
                                    " {"
                                  )),
                                  (r += n.css),
                                  i && (r += "}"),
                                  n.media && (r += "}"),
                                  n.supports && (r += "}");
                                var o = n.sourceMap;
                                o &&
                                  typeof btoa < "u" &&
                                  (r +=
                                    "\n/*# sourceMappingURL=data:application/json;base64,".concat(
                                      btoa(
                                        unescape(
                                          encodeURIComponent(JSON.stringify(o))
                                        )
                                      ),
                                      " */"
                                    )),
                                  e.styleTagTransform(r, t, e.options);
                              })(e, t, n);
                            },
                            remove: function () {
                              !(function (t) {
                                if (null === t.parentNode) return !1;
                                t.parentNode.removeChild(t);
                              })(e);
                            },
                          };
                        };
                      },
                      4589: function (t) {
                        t.exports = function (t, e) {
                          if (e.styleSheet) e.styleSheet.cssText = t;
                          else {
                            for (; e.firstChild; ) e.removeChild(e.firstChild);
                            e.appendChild(document.createTextNode(t));
                          }
                        };
                      },
                      6464: function (t, e, n) {
                        function r(t) {
                          if (void 0 === t)
                            throw new ReferenceError(
                              "this hasn't been initialised - super() hasn't been called"
                            );
                          return t;
                        }
                        n.d(e, {
                          Z: function () {
                            return r;
                          },
                        });
                      },
                      4296: function (t, e, n) {
                        function r(t, e) {
                          for (var n = 0; n < e.length; n++) {
                            var r = e[n];
                            (r.enumerable = r.enumerable || !1),
                              (r.configurable = !0),
                              "value" in r && (r.writable = !0),
                              Object.defineProperty(t, r.key, r);
                          }
                        }
                        function i(t, e, n) {
                          return (
                            e && r(t.prototype, e),
                            n && r(t, n),
                            Object.defineProperty(t, "prototype", {
                              writable: !1,
                            }),
                            t
                          );
                        }
                        n.d(e, {
                          Z: function () {
                            return i;
                          },
                        });
                      },
                      8270: function (t, e, n) {
                        function r(t, e, n) {
                          return (
                            e in t
                              ? Object.defineProperty(t, e, {
                                  value: n,
                                  enumerable: !0,
                                  configurable: !0,
                                  writable: !0,
                                })
                              : (t[e] = n),
                            t
                          );
                        }
                        n.d(e, {
                          Z: function () {
                            return r;
                          },
                        });
                      },
                      6881: function (t, e, n) {
                        n.d(e, {
                          Z: function () {
                            return i;
                          },
                        });
                        var r = n(2717);
                        function i(t, e) {
                          (t.prototype = Object.create(e.prototype)),
                            (t.prototype.constructor = t),
                            (0, r.Z)(t, e);
                        }
                      },
                      2717: function (t, e, n) {
                        function r(t, e) {
                          return (r =
                            Object.setPrototypeOf ||
                            function (t, e) {
                              return (t.__proto__ = e), t;
                            })(t, e);
                        }
                        n.d(e, {
                          Z: function () {
                            return r;
                          },
                        });
                      },
                      7003: function (t, e, n) {
                        n.d(e, {
                          H3: function () {
                            return r.H3E;
                          },
                          ev: function () {
                            return r.evW;
                          },
                          x: function () {
                            return r.xa3;
                          },
                        });
                        var r = n(2942);
                      },
                      2942: function (t, e, n) {
                        function r() {}
                        function i(t) {
                          return t();
                        }
                        function o() {
                          return Object.create(null);
                        }
                        function a(t) {
                          t.forEach(i);
                        }
                        function s(t) {
                          return "function" == typeof t;
                        }
                        function c(t, e) {
                          return t != t
                            ? e == e
                            : t !== e ||
                                (t && "object" == typeof t) ||
                                "function" == typeof t;
                        }
                        function l(t, e) {
                          return t != t ? e == e : t !== e;
                        }
                        function u(t) {
                          if (null == t) return r;
                          for (
                            var e = arguments.length,
                              n = new Array(e > 1 ? e - 1 : 0),
                              i = 1;
                            i < e;
                            i++
                          )
                            n[i - 1] = arguments[i];
                          var o = t.subscribe.apply(t, n);
                          return o.unsubscribe
                            ? function () {
                                return o.unsubscribe();
                              }
                            : o;
                        }
                        function f(t) {
                          var e;
                          return (
                            u(t, function (t) {
                              return (e = t);
                            })(),
                            e
                          );
                        }
                        function d(t, e, n) {
                          t.$$.on_destroy.push(u(e, n));
                        }
                        function h(t, e, n, r) {
                          if (t) {
                            var i = p(t, e, n, r);
                            return t[0](i);
                          }
                        }
                        function p(t, e, n, r) {
                          return t[1] && r
                            ? (function (t, e) {
                                for (var n in e) t[n] = e[n];
                                return t;
                              })(n.ctx.slice(), t[1](r(e)))
                            : n.ctx;
                        }
                        function m(t, e, n, r) {
                          if (t[2] && r) {
                            var i = t[2](r(n));
                            if (void 0 === e.dirty) return i;
                            if ("object" == typeof i) {
                              for (
                                var o = [],
                                  a = Math.max(e.dirty.length, i.length),
                                  s = 0;
                                s < a;
                                s += 1
                              )
                                o[s] = e.dirty[s] | i[s];
                              return o;
                            }
                            return e.dirty | i;
                          }
                          return e.dirty;
                        }
                        function v(t, e, n, r, i, o) {
                          if (i) {
                            var a = p(e, n, r, o);
                            t.p(a, i);
                          }
                        }
                        function g(t) {
                          if (t.ctx.length > 32) {
                            for (
                              var e = [], n = t.ctx.length / 32, r = 0;
                              r < n;
                              r++
                            )
                              e[r] = -1;
                            return e;
                          }
                          return -1;
                        }
                        function y(t) {
                          var e = {};
                          for (var n in t) e[n] = !0;
                          return e;
                        }
                        function b(t, e, n) {
                          return t.set(n), e;
                        }
                        function V(t, e) {
                          t.appendChild(e);
                        }
                        function _(t, e, n) {
                          t.insertBefore(e, n || null);
                        }
                        function w(t) {
                          t.parentNode.removeChild(t);
                        }
                        function S(t, e) {
                          for (var n = 0; n < t.length; n += 1)
                            t[n] && t[n].d(e);
                        }
                        function E(t) {
                          return document.createElement(t);
                        }
                        function A(t) {
                          return document.createElementNS(
                            "http://www.w3.org/2000/svg",
                            t
                          );
                        }
                        function T(t) {
                          return document.createTextNode(t);
                        }
                        function O() {
                          return T(" ");
                        }
                        function C() {
                          return T("");
                        }
                        function P(t, e, n, r) {
                          return (
                            t.addEventListener(e, n, r),
                            function () {
                              return t.removeEventListener(e, n, r);
                            }
                          );
                        }
                        function x(t) {
                          return function (e) {
                            return e.preventDefault(), t.call(this, e);
                          };
                        }
                        function k(t) {
                          return function (e) {
                            return e.stopPropagation(), t.call(this, e);
                          };
                        }
                        function I(t, e, n) {
                          null == n
                            ? t.removeAttribute(e)
                            : t.getAttribute(e) !== n && t.setAttribute(e, n);
                        }
                        function j(t, e) {
                          (e = "" + e), t.wholeText !== e && (t.data = e);
                        }
                        function R(t, e) {
                          t.value = e ?? "";
                        }
                        function D(t, e, n, r) {
                          null === n
                            ? t.style.removeProperty(e)
                            : t.style.setProperty(e, n, r ? "important" : "");
                        }
                        function L(t, e, n) {
                          t.classList[n ? "add" : "remove"](e);
                        }
                        var M;
                        function N(t) {
                          M = t;
                        }
                        function $() {
                          if (!M)
                            throw new Error(
                              "Function called outside component initialization"
                            );
                          return M;
                        }
                        function B(t) {
                          $().$$.on_mount.push(t);
                        }
                        function U(t) {
                          $().$$.on_destroy.push(t);
                        }
                        function F() {
                          var t = $();
                          return function (e, n) {
                            var r = t.$$.callbacks[e];
                            if (r) {
                              var i = (function (t, e, n) {
                                void 0 === n && (n = !1);
                                var r = document.createEvent("CustomEvent");
                                return r.initCustomEvent(t, n, !1, e), r;
                              })(e, n);
                              r.slice().forEach(function (e) {
                                e.call(t, i);
                              });
                            }
                          };
                        }
                        function H(t, e) {
                          var n = this,
                            r = t.$$.callbacks[e.type];
                          r &&
                            r.slice().forEach(function (t) {
                              return t.call(n, e);
                            });
                        }
                        n.d(e, {
                          f_C: function () {
                            return gt;
                          },
                          hjT: function () {
                            return Z;
                          },
                          R3I: function () {
                            return V;
                          },
                          Ljt: function () {
                            return I;
                          },
                          akz: function () {
                            return ft;
                          },
                          VnY: function () {
                            return W;
                          },
                          cKT: function () {
                            return H;
                          },
                          gbL: function () {
                            return ot;
                          },
                          FIv: function () {
                            return d;
                          },
                          XGm: function () {
                            return y;
                          },
                          xa3: function () {
                            return F;
                          },
                          YCL: function () {
                            return dt;
                          },
                          nuO: function () {
                            return h;
                          },
                          vpE: function () {
                            return pt;
                          },
                          RMB: function () {
                            return S;
                          },
                          ogt: function () {
                            return w;
                          },
                          bGB: function () {
                            return E;
                          },
                          cSb: function () {
                            return C;
                          },
                          yl1: function () {
                            return tt;
                          },
                          VOJ: function () {
                            return g;
                          },
                          u2N: function () {
                            return m;
                          },
                          $XI: function () {
                            return f;
                          },
                          lig: function () {
                            return ct;
                          },
                          dvw: function () {
                            return it;
                          },
                          S1n: function () {
                            return vt;
                          },
                          $Tr: function () {
                            return _;
                          },
                          sBU: function () {
                            return s;
                          },
                          oLt: function () {
                            return P;
                          },
                          yef: function () {
                            return ht;
                          },
                          ZTd: function () {
                            return r;
                          },
                          AqN: function () {
                            return l;
                          },
                          evW: function () {
                            return U;
                          },
                          H3E: function () {
                            return B;
                          },
                          cly: function () {
                            return lt;
                          },
                          AT7: function () {
                            return x;
                          },
                          j7q: function () {
                            return a;
                          },
                          N8: function () {
                            return c;
                          },
                          rTO: function () {
                            return j;
                          },
                          BmG: function () {
                            return R;
                          },
                          fxP: function () {
                            return b;
                          },
                          czc: function () {
                            return D;
                          },
                          DhX: function () {
                            return O;
                          },
                          XET: function () {
                            return k;
                          },
                          LdU: function () {
                            return u;
                          },
                          bi5: function () {
                            return A;
                          },
                          fLW: function () {
                            return T;
                          },
                          VHj: function () {
                            return L;
                          },
                          Ui: function () {
                            return at;
                          },
                          etI: function () {
                            return st;
                          },
                          GQg: function () {
                            return ut;
                          },
                          kmG: function () {
                            return v;
                          },
                        }),
                          n(2717),
                          n(6881);
                        var G = [],
                          W = [],
                          z = [],
                          q = [],
                          X = Promise.resolve(),
                          Y = !1;
                        function K(t) {
                          z.push(t);
                        }
                        function Z(t) {
                          q.push(t);
                        }
                        var J = new Set(),
                          Q = 0;
                        function tt() {
                          var t = M;
                          do {
                            for (; Q < G.length; ) {
                              var e = G[Q];
                              Q++, N(e), et(e.$$);
                            }
                            for (N(null), G.length = 0, Q = 0; W.length; )
                              W.pop()();
                            for (var n = 0; n < z.length; n += 1) {
                              var r = z[n];
                              J.has(r) || (J.add(r), r());
                            }
                            z.length = 0;
                          } while (G.length);
                          for (; q.length; ) q.pop()();
                          (Y = !1), J.clear(), N(t);
                        }
                        function et(t) {
                          if (null !== t.fragment) {
                            t.update(), a(t.before_update);
                            var e = t.dirty;
                            (t.dirty = [-1]),
                              t.fragment && t.fragment.p(t.ctx, e),
                              t.after_update.forEach(K);
                          }
                        }
                        var nt,
                          rt = new Set();
                        function it() {
                          nt = { r: 0, c: [], p: nt };
                        }
                        function ot() {
                          nt.r || a(nt.c), (nt = nt.p);
                        }
                        function at(t, e) {
                          t && t.i && (rt.delete(t), t.i(e));
                        }
                        function st(t, e, n, r) {
                          if (t && t.o) {
                            if (rt.has(t)) return;
                            rt.add(t),
                              nt.c.push(function () {
                                rt.delete(t), r && (n && t.d(1), r());
                              }),
                              t.o(e);
                          }
                        }
                        var ct =
                          typeof window < "u"
                            ? window
                            : typeof globalThis < "u"
                            ? globalThis
                            : commonjsGlobal;
                        function lt(t, e) {
                          st(t, 1, 1, function () {
                            e.delete(t.key);
                          });
                        }
                        function ut(t, e, n, r, i, o, a, s, c, l, u, f) {
                          for (
                            var d = t.length, h = o.length, p = d, m = {};
                            p--;

                          )
                            m[t[p].key] = p;
                          var v = [],
                            g = new Map(),
                            y = new Map();
                          for (p = h; p--; ) {
                            var b = f(i, o, p),
                              V = n(b),
                              _ = a.get(V);
                            _ ? r && _.p(b, e) : (_ = l(V, b)).c(),
                              g.set(V, (v[p] = _)),
                              V in m && y.set(V, Math.abs(p - m[V]));
                          }
                          var w = new Set(),
                            S = new Set();
                          function E(t) {
                            at(t, 1),
                              t.m(s, u),
                              a.set(t.key, t),
                              (u = t.first),
                              h--;
                          }
                          for (; d && h; ) {
                            var A = v[h - 1],
                              T = t[d - 1],
                              O = A.key,
                              C = T.key;
                            A === T
                              ? ((u = A.first), d--, h--)
                              : g.has(C)
                              ? !a.has(O) || w.has(O)
                                ? E(A)
                                : S.has(C)
                                ? d--
                                : y.get(O) > y.get(C)
                                ? (S.add(O), E(A))
                                : (w.add(C), d--)
                              : (c(T, a), d--);
                          }
                          for (; d--; ) {
                            var P = t[d];
                            g.has(P.key) || c(P, a);
                          }
                          for (; h; ) E(v[h - 1]);
                          return v;
                        }
                        function ft(t, e, n) {
                          var r = t.$$.props[e];
                          void 0 !== r && ((t.$$.bound[r] = n), n(t.$$.ctx[r]));
                        }
                        function dt(t) {
                          t && t.c();
                        }
                        function ht(t, e, n, r) {
                          var o = t.$$,
                            c = o.fragment,
                            l = o.on_mount,
                            u = o.on_destroy,
                            f = o.after_update;
                          c && c.m(e, n),
                            r ||
                              K(function () {
                                var e = l.map(i).filter(s);
                                u ? u.push.apply(u, e) : a(e),
                                  (t.$$.on_mount = []);
                              }),
                            f.forEach(K);
                        }
                        function pt(t, e) {
                          var n = t.$$;
                          null !== n.fragment &&
                            (a(n.on_destroy),
                            n.fragment && n.fragment.d(e),
                            (n.on_destroy = n.fragment = null),
                            (n.ctx = []));
                        }
                        function mt(t, e) {
                          -1 === t.$$.dirty[0] &&
                            (G.push(t),
                            Y || ((Y = !0), X.then(tt)),
                            t.$$.dirty.fill(0)),
                            (t.$$.dirty[(e / 31) | 0] |= 1 << e % 31);
                        }
                        function vt(t, e, n, i, s, c, l, u) {
                          void 0 === u && (u = [-1]);
                          var f = M;
                          N(t);
                          var d = (t.$$ = {
                            fragment: null,
                            ctx: null,
                            props: c,
                            update: r,
                            not_equal: s,
                            bound: o(),
                            on_mount: [],
                            on_destroy: [],
                            on_disconnect: [],
                            before_update: [],
                            after_update: [],
                            context: new Map(
                              e.context || (f ? f.$$.context : [])
                            ),
                            callbacks: o(),
                            dirty: u,
                            skip_bound: !1,
                            root: e.target || f.$$.root,
                          });
                          l && l(d.root);
                          var h,
                            p = !1;
                          if (
                            ((d.ctx = n
                              ? n(t, e.props || {}, function (e, n) {
                                  var r =
                                    !(arguments.length <= 2) &&
                                    arguments.length - 2
                                      ? arguments.length <= 2
                                        ? void 0
                                        : arguments[2]
                                      : n;
                                  return (
                                    d.ctx &&
                                      s(d.ctx[e], (d.ctx[e] = r)) &&
                                      (!d.skip_bound &&
                                        d.bound[e] &&
                                        d.bound[e](r),
                                      p && mt(t, e)),
                                    n
                                  );
                                })
                              : []),
                            d.update(),
                            (p = !0),
                            a(d.before_update),
                            (d.fragment = !!i && i(d.ctx)),
                            e.target)
                          ) {
                            if (e.hydrate) {
                              var m =
                                ((h = e.target), Array.from(h.childNodes));
                              d.fragment && d.fragment.l(m), m.forEach(w);
                            } else d.fragment && d.fragment.c();
                            e.intro && at(t.$$.fragment),
                              ht(t, e.target, e.anchor, e.customElement),
                              tt();
                          }
                          N(f);
                        }
                        var gt = (function () {
                          function t() {}
                          var e = t.prototype;
                          return (
                            (e.$destroy = function () {
                              pt(this, 1), (this.$destroy = r);
                            }),
                            (e.$on = function (t, e) {
                              var n =
                                this.$$.callbacks[t] ||
                                (this.$$.callbacks[t] = []);
                              return (
                                n.push(e),
                                function () {
                                  var t = n.indexOf(e);
                                  -1 !== t && n.splice(t, 1);
                                }
                              );
                            }),
                            (e.$set = function (t) {
                              this.$$set &&
                                !(function (t) {
                                  return 0 === Object.keys(t).length;
                                })(t) &&
                                ((this.$$.skip_bound = !0),
                                this.$$set(t),
                                (this.$$.skip_bound = !1));
                            }),
                            t
                          );
                        })();
                      },
                      3313: function (t, e, n) {
                        n.d(e, {
                          U2: function () {
                            return r.$XI;
                          },
                          fZ: function () {
                            return a;
                          },
                        });
                        var r = n(2942);
                        function i(t, e) {
                          (null == e || e > t.length) && (e = t.length);
                          for (var n = 0, r = new Array(e); n < e; n++)
                            r[n] = t[n];
                          return r;
                        }
                        var o = [];
                        function a(t, e) {
                          var n;
                          void 0 === e && (e = r.ZTd);
                          var a = new Set();
                          function s(e) {
                            if ((0, r.N8)(t, e) && ((t = e), n)) {
                              for (
                                var s,
                                  c = !o.length,
                                  l = (function (t, e) {
                                    var n =
                                      (typeof Symbol < "u" &&
                                        t[Symbol.iterator]) ||
                                      t["@@iterator"];
                                    if (n) return (n = n.call(t)).next.bind(n);
                                    if (
                                      Array.isArray(t) ||
                                      (n = (function (t, e) {
                                        if (t) {
                                          if ("string" == typeof t)
                                            return i(t, e);
                                          var n = Object.prototype.toString
                                            .call(t)
                                            .slice(8, -1);
                                          if (
                                            ("Object" === n &&
                                              t.constructor &&
                                              (n = t.constructor.name),
                                            "Map" === n || "Set" === n)
                                          )
                                            return Array.from(t);
                                          if (
                                            "Arguments" === n ||
                                            /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(
                                              n
                                            )
                                          )
                                            return i(t, e);
                                        }
                                      })(t)) ||
                                      (e && t && "number" == typeof t.length)
                                    ) {
                                      n && (t = n);
                                      var r = 0;
                                      return function () {
                                        return r >= t.length
                                          ? { done: !0 }
                                          : { done: !1, value: t[r++] };
                                      };
                                    }
                                    throw new TypeError(
                                      "Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."
                                    );
                                  })(a);
                                !(s = l()).done;

                              ) {
                                var u = s.value;
                                u[1](), o.push(u, t);
                              }
                              if (c) {
                                for (var f = 0; f < o.length; f += 2)
                                  o[f][0](o[f + 1]);
                                o.length = 0;
                              }
                            }
                          }
                          return {
                            set: s,
                            update: function (e) {
                              s(e(t));
                            },
                            subscribe: function (i, o) {
                              void 0 === o && (o = r.ZTd);
                              var c = [i, o];
                              return (
                                a.add(c),
                                1 === a.size && (n = e(s) || r.ZTd),
                                i(t),
                                function () {
                                  a.delete(c),
                                    0 === a.size && (n(), (n = null));
                                }
                              );
                            },
                          };
                        }
                      },
                    },
                    __webpack_module_cache__ = {};
                  function __nested_webpack_require_427559__(t) {
                    var e = __webpack_module_cache__[t];
                    if (void 0 !== e) return e.exports;
                    var n = (__webpack_module_cache__[t] = {
                      id: t,
                      exports: {},
                    });
                    return (
                      __webpack_modules__[t](
                        n,
                        n.exports,
                        __nested_webpack_require_427559__
                      ),
                      n.exports
                    );
                  }
                  (__nested_webpack_require_427559__.n = function (t) {
                    var e =
                      t && t.__esModule
                        ? function () {
                            return t.default;
                          }
                        : function () {
                            return t;
                          };
                    return __nested_webpack_require_427559__.d(e, { a: e }), e;
                  }),
                    (__nested_webpack_require_427559__.d = function (t, e) {
                      for (var n in e)
                        __nested_webpack_require_427559__.o(e, n) &&
                          !__nested_webpack_require_427559__.o(t, n) &&
                          Object.defineProperty(t, n, {
                            enumerable: !0,
                            get: e[n],
                          });
                    }),
                    (__nested_webpack_require_427559__.g = (function () {
                      if ("object" == typeof globalThis) return globalThis;
                      try {
                        return this || new Function("return this")();
                      } catch {
                        if ("object" == typeof window) return window;
                      }
                    })()),
                    (__nested_webpack_require_427559__.o = function (t, e) {
                      return Object.prototype.hasOwnProperty.call(t, e);
                    });
                  var __nested_webpack_exports__ = {};
                  return (
                    (function () {
                      __nested_webpack_require_427559__.d(
                        __nested_webpack_exports__,
                        {
                          default: function () {
                            return _i;
                          },
                        }
                      ),
                        __nested_webpack_require_427559__(5441),
                        __nested_webpack_require_427559__(8765);
                      var t = __nested_webpack_require_427559__(4296),
                        e = __nested_webpack_require_427559__(5103),
                        n = {
                          one: function (t, e) {
                            void 0 === e && (e = document);
                            try {
                              return e.querySelector(t) || void 0;
                            } catch {
                              return;
                            }
                          },
                          all: function (t, e) {
                            void 0 === e && (e = document);
                            try {
                              var n = e.querySelectorAll(t);
                              return [].slice.call(n);
                            } catch {
                              return [];
                            }
                          },
                          addClass: function (t, n) {
                            if (t)
                              for (
                                var r = (0, e.kJ)(t) ? t : [t], i = 0;
                                i < r.length;
                                i++
                              ) {
                                var o = (r[i].className || "").split(" ");
                                o.indexOf(n) > -1 ||
                                  (o.push(n), (r[i].className = o.join(" ")));
                              }
                          },
                          removeClass: function (t, n) {
                            if (t)
                              for (
                                var r = (0, e.kJ)(t) ? t : [t], i = 0;
                                i < r.length;
                                i++
                              ) {
                                for (
                                  var o = r[i].className.split(" "), a = 0;
                                  a < o.length;
                                  a++
                                )
                                  o[a] == n && (o[a] = "");
                                r[i].className = o.join(" ").trim();
                              }
                          },
                          hasClass: function (t, e) {
                            return (
                              !(!t || !t.classList) && t.classList.contains(e)
                            );
                          },
                          bind: function (t, n, r, i) {
                            void 0 === i && (i = !1),
                              t &&
                                ((0, e.kJ)(t) ? t : [t]).forEach(function (t) {
                                  t.addEventListener(n, r, !!i);
                                });
                          },
                          delegate: function (t, e, r, i) {
                            t &&
                              t.addEventListener(
                                e,
                                function (e) {
                                  var o = n.all(r, t);
                                  if (o)
                                    t: for (var a = 0; a < o.length; a++)
                                      for (var s = e.target; s; ) {
                                        if (s == o[a]) {
                                          i.call(s, e, s);
                                          break t;
                                        }
                                        if ((s = s.parentNode) == t) break;
                                      }
                                },
                                !1
                              );
                          },
                          removeChildren: function (t) {
                            for (; t.firstChild; ) t.removeChild(t.lastChild);
                            return t;
                          },
                        },
                        r = n,
                        i = __nested_webpack_require_427559__(6464),
                        o = __nested_webpack_require_427559__(6881),
                        a = __nested_webpack_require_427559__(2942),
                        s = __nested_webpack_require_427559__(7003),
                        c = __nested_webpack_require_427559__(3379),
                        l = __nested_webpack_require_427559__.n(c),
                        u = __nested_webpack_require_427559__(7795),
                        f = __nested_webpack_require_427559__.n(u),
                        d = __nested_webpack_require_427559__(569),
                        h = __nested_webpack_require_427559__.n(d),
                        p = __nested_webpack_require_427559__(3565),
                        m = __nested_webpack_require_427559__.n(p),
                        v = __nested_webpack_require_427559__(9216),
                        g = __nested_webpack_require_427559__.n(v),
                        y = __nested_webpack_require_427559__(4589),
                        b = __nested_webpack_require_427559__.n(y),
                        V = __nested_webpack_require_427559__(7558),
                        _ = {};
                      V.Z && V.Z.locals && (_.locals = V.Z.locals);
                      var w,
                        S = 0,
                        E = {};
                      (E.styleTagTransform = b()),
                        (E.setAttributes = m()),
                        (E.insert = h().bind(null, "head")),
                        (E.domAPI = f()),
                        (E.insertStyleElement = g()),
                        (_.use = function (t) {
                          return (
                            (E.options = t || {}), S++ || (w = l()(V.Z, E)), _
                          );
                        }),
                        (_.unuse = function () {
                          S > 0 && !--S && (w(), (w = null));
                        });
                      var A = _;
                      function T(t) {
                        var e, n, r, i;
                        return {
                          c: function () {
                            (e = (0, a.bGB)("div")),
                              (n = (0, a.fLW)("vConsole")),
                              (0, a.Ljt)(e, "class", "vc-switch"),
                              (0, a.czc)(e, "right", t[2].x + "px"),
                              (0, a.czc)(e, "bottom", t[2].y + "px"),
                              (0, a.czc)(e, "display", t[0] ? "block" : "none");
                          },
                          m: function (o, s) {
                            (0, a.$Tr)(o, e, s),
                              (0, a.R3I)(e, n),
                              t[8](e),
                              r ||
                                ((i = [
                                  (0, a.oLt)(e, "touchstart", t[3], {
                                    passive: !1,
                                  }),
                                  (0, a.oLt)(e, "touchend", t[4], {
                                    passive: !1,
                                  }),
                                  (0, a.oLt)(e, "touchmove", t[5], {
                                    passive: !1,
                                  }),
                                  (0, a.oLt)(e, "click", t[7]),
                                ]),
                                (r = !0));
                          },
                          p: function (t, n) {
                            var r = n[0];
                            4 & r && (0, a.czc)(e, "right", t[2].x + "px"),
                              4 & r && (0, a.czc)(e, "bottom", t[2].y + "px"),
                              1 & r &&
                                (0, a.czc)(
                                  e,
                                  "display",
                                  t[0] ? "block" : "none"
                                );
                          },
                          i: a.ZTd,
                          o: a.ZTd,
                          d: function (n) {
                            n && (0, a.ogt)(e),
                              t[8](null),
                              (r = !1),
                              (0, a.j7q)(i);
                          },
                        };
                      }
                      function O(t, n, r) {
                        var i,
                          o = n.show,
                          c = void 0 === o || o,
                          l = n.position,
                          u = void 0 === l ? { x: 0, y: 0 } : l,
                          f = {
                            hasMoved: !1,
                            x: 0,
                            y: 0,
                            startX: 0,
                            startY: 0,
                            endX: 0,
                            endY: 0,
                          },
                          d = { x: 0, y: 0 };
                        (0, s.H3)(function () {
                          A.use();
                        }),
                          (0, s.ev)(function () {
                            A.unuse();
                          });
                        var h = function (t, n) {
                            var i = p(t, n);
                            (t = i[0]),
                              (n = i[1]),
                              (f.x = t),
                              (f.y = n),
                              r(2, (d.x = t), d),
                              r(2, (d.y = n), d),
                              e.po("switch_x", t + ""),
                              e.po("switch_y", n + "");
                          },
                          p = function (t, e) {
                            var n = Math.max(
                                document.documentElement.offsetWidth,
                                window.innerWidth
                              ),
                              r = Math.max(
                                document.documentElement.offsetHeight,
                                window.innerHeight
                              );
                            return (
                              t + i.offsetWidth > n && (t = n - i.offsetWidth),
                              e + i.offsetHeight > r &&
                                (e = r - i.offsetHeight),
                              t < 0 && (t = 0),
                              e < 20 && (e = 20),
                              [t, e]
                            );
                          };
                        return (
                          (t.$$set = function (t) {
                            "show" in t && r(0, (c = t.show)),
                              "position" in t && r(6, (u = t.position));
                          }),
                          (t.$$.update = function () {
                            66 & t.$$.dirty && i && h(u.x, u.y);
                          }),
                          [
                            c,
                            i,
                            d,
                            function (t) {
                              (f.startX = t.touches[0].pageX),
                                (f.startY = t.touches[0].pageY),
                                (f.hasMoved = !1);
                            },
                            function (t) {
                              f.hasMoved &&
                                ((f.startX = 0),
                                (f.startY = 0),
                                (f.hasMoved = !1),
                                h(f.endX, f.endY));
                            },
                            function (t) {
                              if (!(t.touches.length <= 0)) {
                                var e = t.touches[0].pageX - f.startX,
                                  n = t.touches[0].pageY - f.startY,
                                  i = Math.floor(f.x - e),
                                  o = Math.floor(f.y - n),
                                  a = p(i, o);
                                (i = a[0]),
                                  (o = a[1]),
                                  r(2, (d.x = i), d),
                                  r(2, (d.y = o), d),
                                  (f.endX = i),
                                  (f.endY = o),
                                  (f.hasMoved = !0),
                                  t.preventDefault();
                              }
                            },
                            u,
                            function (e) {
                              a.cKT.call(this, t, e);
                            },
                            function (t) {
                              a.VnY[t ? "unshift" : "push"](function () {
                                r(1, (i = t));
                              });
                            },
                          ]
                        );
                      }
                      var C = (function (e) {
                        function n(t) {
                          var n;
                          return (
                            (n = e.call(this) || this),
                            (0, a.S1n)((0, i.Z)(n), t, O, T, a.N8, {
                              show: 0,
                              position: 6,
                            }),
                            n
                          );
                        }
                        return (
                          (0, o.Z)(n, e),
                          (0, t.Z)(n, [
                            {
                              key: "show",
                              get: function () {
                                return this.$$.ctx[0];
                              },
                              set: function (t) {
                                this.$$set({ show: t }), (0, a.yl1)();
                              },
                            },
                            {
                              key: "position",
                              get: function () {
                                return this.$$.ctx[6];
                              },
                              set: function (t) {
                                this.$$set({ position: t }), (0, a.yl1)();
                              },
                            },
                          ]),
                          n
                        );
                      })(a.f_C);
                      function P(t) {
                        var e, n;
                        return {
                          c: function () {
                            (e = (0, a.bGB)("div")),
                              (0, a.Ljt)(e, "id", (n = "__vc_plug_" + t[0])),
                              (0, a.Ljt)(e, "class", "vc-plugin-box"),
                              (0, a.VHj)(e, "vc-fixed-height", t[1]),
                              (0, a.VHj)(e, "vc-actived", t[2]);
                          },
                          m: function (n, r) {
                            (0, a.$Tr)(n, e, r), t[6](e);
                          },
                          p: function (t, r) {
                            var i = r[0];
                            1 & i &&
                              n !== (n = "__vc_plug_" + t[0]) &&
                              (0, a.Ljt)(e, "id", n),
                              2 & i && (0, a.VHj)(e, "vc-fixed-height", t[1]),
                              4 & i && (0, a.VHj)(e, "vc-actived", t[2]);
                          },
                          i: a.ZTd,
                          o: a.ZTd,
                          d: function (n) {
                            n && (0, a.ogt)(e), t[6](null);
                          },
                        };
                      }
                      function x(t, n, r) {
                        var i = n.pluginId,
                          o = void 0 === i ? "" : i,
                          s = n.fixedHeight,
                          c = void 0 !== s && s,
                          l = n.actived,
                          u = void 0 !== l && l,
                          f = n.content,
                          d = void 0 === f ? void 0 : f,
                          h = void 0,
                          p = void 0;
                        return (
                          (t.$$set = function (t) {
                            "pluginId" in t && r(0, (o = t.pluginId)),
                              "fixedHeight" in t && r(1, (c = t.fixedHeight)),
                              "actived" in t && r(2, (u = t.actived)),
                              "content" in t && r(4, (d = t.content));
                          }),
                          (t.$$.update = function () {
                            57 & t.$$.dirty &&
                              p !== o &&
                              d &&
                              h &&
                              (r(5, (p = o)),
                              r(3, (h.innerHTML = ""), h),
                              (0, e.HD)(d)
                                ? r(3, (h.innerHTML = d), h)
                                : (0, e.kK)(d) && h.appendChild(d));
                          }),
                          [
                            o,
                            c,
                            u,
                            h,
                            d,
                            p,
                            function (t) {
                              a.VnY[t ? "unshift" : "push"](function () {
                                r(3, (h = t)), r(5, p), r(0, o), r(4, d);
                              });
                            },
                          ]
                        );
                      }
                      var k = (function (e) {
                          function n(t) {
                            var n;
                            return (
                              (n = e.call(this) || this),
                              (0, a.S1n)((0, i.Z)(n), t, x, P, a.N8, {
                                pluginId: 0,
                                fixedHeight: 1,
                                actived: 2,
                                content: 4,
                              }),
                              n
                            );
                          }
                          return (
                            (0, o.Z)(n, e),
                            (0, t.Z)(n, [
                              {
                                key: "pluginId",
                                get: function () {
                                  return this.$$.ctx[0];
                                },
                                set: function (t) {
                                  this.$$set({ pluginId: t }), (0, a.yl1)();
                                },
                              },
                              {
                                key: "fixedHeight",
                                get: function () {
                                  return this.$$.ctx[1];
                                },
                                set: function (t) {
                                  this.$$set({ fixedHeight: t }), (0, a.yl1)();
                                },
                              },
                              {
                                key: "actived",
                                get: function () {
                                  return this.$$.ctx[2];
                                },
                                set: function (t) {
                                  this.$$set({ actived: t }), (0, a.yl1)();
                                },
                              },
                              {
                                key: "content",
                                get: function () {
                                  return this.$$.ctx[4];
                                },
                                set: function (t) {
                                  this.$$set({ content: t }), (0, a.yl1)();
                                },
                              },
                            ]),
                            n
                          );
                        })(a.f_C),
                        I = __nested_webpack_require_427559__(4687),
                        j = __nested_webpack_require_427559__(3283),
                        R = {};
                      j.Z && j.Z.locals && (R.locals = j.Z.locals);
                      var D,
                        L = 0,
                        M = {};
                      (M.styleTagTransform = b()),
                        (M.setAttributes = m()),
                        (M.insert = h().bind(null, "head")),
                        (M.domAPI = f()),
                        (M.insertStyleElement = g()),
                        (R.use = function (t) {
                          return (
                            (M.options = t || {}), L++ || (D = l()(j.Z, M)), R
                          );
                        }),
                        (R.unuse = function () {
                          L > 0 && !--L && (D(), (D = null));
                        });
                      var N = R;
                      function $(t, e, n) {
                        var r = t.slice();
                        return (r[39] = e[n][0]), (r[40] = e[n][1]), r;
                      }
                      function B(t, e, n) {
                        var r = t.slice();
                        return (r[43] = e[n]), (r[45] = n), r;
                      }
                      function U(t, e, n) {
                        var r = t.slice();
                        return (r[39] = e[n][0]), (r[40] = e[n][1]), r;
                      }
                      function F(t, e, n) {
                        var r = t.slice();
                        return (r[39] = e[n][0]), (r[40] = e[n][1]), r;
                      }
                      function H(t, e, n) {
                        var r = t.slice();
                        return (r[43] = e[n]), (r[45] = n), r;
                      }
                      function G(t, e, n) {
                        var r = t.slice();
                        return (r[39] = e[n][0]), (r[40] = e[n][1]), r;
                      }
                      function W(t) {
                        var e,
                          n,
                          r,
                          i,
                          o,
                          s = t[40].name + "";
                        function c() {
                          return t[25](t[40]);
                        }
                        return {
                          c: function () {
                            (e = (0, a.bGB)("a")),
                              (n = (0, a.fLW)(s)),
                              (0, a.Ljt)(e, "class", "vc-tab"),
                              (0, a.Ljt)(e, "id", (r = "__vc_tab_" + t[40].id)),
                              (0, a.VHj)(e, "vc-actived", t[40].id === t[2]);
                          },
                          m: function (t, r) {
                            (0, a.$Tr)(t, e, r),
                              (0, a.R3I)(e, n),
                              i || ((o = (0, a.oLt)(e, "click", c)), (i = !0));
                          },
                          p: function (i, o) {
                            (t = i),
                              8 & o[0] &&
                                s !== (s = t[40].name + "") &&
                                (0, a.rTO)(n, s),
                              8 & o[0] &&
                                r !== (r = "__vc_tab_" + t[40].id) &&
                                (0, a.Ljt)(e, "id", r),
                              12 & o[0] &&
                                (0, a.VHj)(e, "vc-actived", t[40].id === t[2]);
                          },
                          d: function (t) {
                            t && (0, a.ogt)(e), (i = !1), o();
                          },
                        };
                      }
                      function z(t) {
                        var e,
                          n = t[40].hasTabPanel && W(t);
                        return {
                          c: function () {
                            n && n.c(), (e = (0, a.cSb)());
                          },
                          m: function (t, r) {
                            n && n.m(t, r), (0, a.$Tr)(t, e, r);
                          },
                          p: function (t, r) {
                            t[40].hasTabPanel
                              ? n
                                ? n.p(t, r)
                                : ((n = W(t)).c(), n.m(e.parentNode, e))
                              : n && (n.d(1), (n = null));
                          },
                          d: function (t) {
                            n && n.d(t), t && (0, a.ogt)(e);
                          },
                        };
                      }
                      function q(t) {
                        var e,
                          n,
                          r,
                          i,
                          o,
                          s = t[43].name + "";
                        function c() {
                          for (
                            var e,
                              n = arguments.length,
                              r = new Array(n),
                              i = 0;
                            i < n;
                            i++
                          )
                            r[i] = arguments[i];
                          return (e = t)[26].apply(e, [t[40], t[45]].concat(r));
                        }
                        return {
                          c: function () {
                            (e = (0, a.bGB)("i")),
                              (n = (0, a.fLW)(s)),
                              (0, a.Ljt)(
                                e,
                                "class",
                                (r =
                                  "vc-toptab vc-topbar-" +
                                  t[40].id +
                                  " " +
                                  t[43].className)
                              ),
                              (0, a.VHj)(e, "vc-toggle", t[40].id === t[2]),
                              (0, a.VHj)(e, "vc-actived", t[43].actived);
                          },
                          m: function (t, r) {
                            (0, a.$Tr)(t, e, r),
                              (0, a.R3I)(e, n),
                              i || ((o = (0, a.oLt)(e, "click", c)), (i = !0));
                          },
                          p: function (i, o) {
                            (t = i),
                              8 & o[0] &&
                                s !== (s = t[43].name + "") &&
                                (0, a.rTO)(n, s),
                              8 & o[0] &&
                                r !==
                                  (r =
                                    "vc-toptab vc-topbar-" +
                                    t[40].id +
                                    " " +
                                    t[43].className) &&
                                (0, a.Ljt)(e, "class", r),
                              12 & o[0] &&
                                (0, a.VHj)(e, "vc-toggle", t[40].id === t[2]),
                              8 & o[0] &&
                                (0, a.VHj)(e, "vc-actived", t[43].actived);
                          },
                          d: function (t) {
                            t && (0, a.ogt)(e), (i = !1), o();
                          },
                        };
                      }
                      function X(t) {
                        for (
                          var e, n = t[40].topbarList, r = [], i = 0;
                          i < n.length;
                          i += 1
                        )
                          r[i] = q(H(t, n, i));
                        return {
                          c: function () {
                            for (var t = 0; t < r.length; t += 1) r[t].c();
                            e = (0, a.cSb)();
                          },
                          m: function (t, n) {
                            for (var i = 0; i < r.length; i += 1) r[i].m(t, n);
                            (0, a.$Tr)(t, e, n);
                          },
                          p: function (t, i) {
                            if (8204 & i[0]) {
                              var o;
                              for (
                                n = t[40].topbarList, o = 0;
                                o < n.length;
                                o += 1
                              ) {
                                var a = H(t, n, o);
                                r[o]
                                  ? r[o].p(a, i)
                                  : ((r[o] = q(a)),
                                    r[o].c(),
                                    r[o].m(e.parentNode, e));
                              }
                              for (; o < r.length; o += 1) r[o].d(1);
                              r.length = n.length;
                            }
                          },
                          d: function (t) {
                            (0, a.RMB)(r, t), t && (0, a.ogt)(e);
                          },
                        };
                      }
                      function Y(t) {
                        var e,
                          n,
                          r,
                          i = k;
                        function o(t) {
                          var e;
                          return {
                            props: {
                              pluginId: t[40].id,
                              fixedHeight:
                                null == (e = t[40].tabOptions)
                                  ? void 0
                                  : e.fixedHeight,
                              actived: t[40].id === t[2],
                              content: t[40].content,
                            },
                          };
                        }
                        return (
                          i && (e = new i(o(t))),
                          {
                            c: function () {
                              e && (0, a.YCL)(e.$$.fragment),
                                (n = (0, a.cSb)());
                            },
                            m: function (t, i) {
                              e && (0, a.yef)(e, t, i),
                                (0, a.$Tr)(t, n, i),
                                (r = !0);
                            },
                            p: function (t, r) {
                              var s,
                                c = {};
                              if (
                                (8 & r[0] && (c.pluginId = t[40].id),
                                8 & r[0] &&
                                  (c.fixedHeight =
                                    null == (s = t[40].tabOptions)
                                      ? void 0
                                      : s.fixedHeight),
                                12 & r[0] && (c.actived = t[40].id === t[2]),
                                8 & r[0] && (c.content = t[40].content),
                                i !== (i = k))
                              ) {
                                if (e) {
                                  (0, a.dvw)();
                                  var l = e;
                                  (0, a.etI)(l.$$.fragment, 1, 0, function () {
                                    (0, a.vpE)(l, 1);
                                  }),
                                    (0, a.gbL)();
                                }
                                i
                                  ? ((e = new i(o(t))),
                                    (0, a.YCL)(e.$$.fragment),
                                    (0, a.Ui)(e.$$.fragment, 1),
                                    (0, a.yef)(e, n.parentNode, n))
                                  : (e = null);
                              } else i && e.$set(c);
                            },
                            i: function (t) {
                              r || (e && (0, a.Ui)(e.$$.fragment, t), (r = !0));
                            },
                            o: function (t) {
                              e && (0, a.etI)(e.$$.fragment, t), (r = !1);
                            },
                            d: function (t) {
                              t && (0, a.ogt)(n), e && (0, a.vpE)(e, t);
                            },
                          }
                        );
                      }
                      function K(t) {
                        var e,
                          n,
                          r,
                          i,
                          o,
                          s = t[43].name + "";
                        function c() {
                          for (
                            var e,
                              n = arguments.length,
                              r = new Array(n),
                              i = 0;
                            i < n;
                            i++
                          )
                            r[i] = arguments[i];
                          return (e = t)[28].apply(e, [t[40], t[45]].concat(r));
                        }
                        return {
                          c: function () {
                            (e = (0, a.bGB)("i")),
                              (n = (0, a.fLW)(s)),
                              (0, a.Ljt)(
                                e,
                                "class",
                                (r = "vc-tool vc-tool-" + t[40].id)
                              ),
                              (0, a.VHj)(e, "vc-global-tool", t[43].global),
                              (0, a.VHj)(e, "vc-toggle", t[40].id === t[2]);
                          },
                          m: function (t, r) {
                            (0, a.$Tr)(t, e, r),
                              (0, a.R3I)(e, n),
                              i || ((o = (0, a.oLt)(e, "click", c)), (i = !0));
                          },
                          p: function (i, o) {
                            (t = i),
                              8 & o[0] &&
                                s !== (s = t[43].name + "") &&
                                (0, a.rTO)(n, s),
                              8 & o[0] &&
                                r !== (r = "vc-tool vc-tool-" + t[40].id) &&
                                (0, a.Ljt)(e, "class", r),
                              8 & o[0] &&
                                (0, a.VHj)(e, "vc-global-tool", t[43].global),
                              12 & o[0] &&
                                (0, a.VHj)(e, "vc-toggle", t[40].id === t[2]);
                          },
                          d: function (t) {
                            t && (0, a.ogt)(e), (i = !1), o();
                          },
                        };
                      }
                      function Z(t) {
                        for (
                          var e, n = t[40].toolbarList, r = [], i = 0;
                          i < n.length;
                          i += 1
                        )
                          r[i] = K(B(t, n, i));
                        return {
                          c: function () {
                            for (var t = 0; t < r.length; t += 1) r[t].c();
                            e = (0, a.cSb)();
                          },
                          m: function (t, n) {
                            for (var i = 0; i < r.length; i += 1) r[i].m(t, n);
                            (0, a.$Tr)(t, e, n);
                          },
                          p: function (t, i) {
                            if (16396 & i[0]) {
                              var o;
                              for (
                                n = t[40].toolbarList, o = 0;
                                o < n.length;
                                o += 1
                              ) {
                                var a = B(t, n, o);
                                r[o]
                                  ? r[o].p(a, i)
                                  : ((r[o] = K(a)),
                                    r[o].c(),
                                    r[o].m(e.parentNode, e));
                              }
                              for (; o < r.length; o += 1) r[o].d(1);
                              r.length = n.length;
                            }
                          },
                          d: function (t) {
                            (0, a.RMB)(r, t), t && (0, a.ogt)(e);
                          },
                        };
                      }
                      function J(t) {
                        var e,
                          n,
                          r,
                          i,
                          o,
                          s,
                          c,
                          l,
                          u,
                          f,
                          d,
                          h,
                          p,
                          m,
                          v,
                          g,
                          y,
                          b,
                          V,
                          _,
                          w;
                        function S(e) {
                          t[23](e);
                        }
                        function E(e) {
                          t[24](e);
                        }
                        var A = {};
                        void 0 !== t[0] && (A.show = t[0]),
                          void 0 !== t[1] && (A.position = t[1]),
                          (n = new C({ props: A })),
                          a.VnY.push(function () {
                            return (0, a.akz)(n, "show", S);
                          }),
                          a.VnY.push(function () {
                            return (0, a.akz)(n, "position", E);
                          }),
                          n.$on("click", t[10]);
                        for (
                          var T = Object.entries(t[3]), O = [], P = 0;
                          P < T.length;
                          P += 1
                        )
                          O[P] = z(G(t, T, P));
                        for (
                          var x = Object.entries(t[3]), k = [], I = 0;
                          I < x.length;
                          I += 1
                        )
                          k[I] = X(F(t, x, I));
                        for (
                          var j = Object.entries(t[3]), R = [], D = 0;
                          D < j.length;
                          D += 1
                        )
                          R[D] = Y(U(t, j, D));
                        for (
                          var L = function (t) {
                              return (0, a.etI)(R[t], 1, 1, function () {
                                R[t] = null;
                              });
                            },
                            M = Object.entries(t[3]),
                            N = [],
                            B = 0;
                          B < M.length;
                          B += 1
                        )
                          N[B] = Z($(t, M, B));
                        return {
                          c: function () {
                            var r, i;
                            (e = (0, a.bGB)("div")),
                              (0, a.YCL)(n.$$.fragment),
                              (o = (0, a.DhX)()),
                              (s = (0, a.bGB)("div")),
                              (c = (0, a.DhX)()),
                              (l = (0, a.bGB)("div")),
                              (u = (0, a.bGB)("div"));
                            for (var V = 0; V < O.length; V += 1) O[V].c();
                            (f = (0, a.DhX)()), (d = (0, a.bGB)("div"));
                            for (var _ = 0; _ < k.length; _ += 1) k[_].c();
                            (h = (0, a.DhX)()), (p = (0, a.bGB)("div"));
                            for (var w = 0; w < R.length; w += 1) R[w].c();
                            (m = (0, a.DhX)()), (v = (0, a.bGB)("div"));
                            for (var S = 0; S < N.length; S += 1) N[S].c();
                            (g = (0, a.DhX)()),
                              ((y = (0, a.bGB)("i")).textContent = "Hide"),
                              (0, a.Ljt)(s, "class", "vc-mask"),
                              (0, a.czc)(s, "display", t[8] ? "block" : "none"),
                              (0, a.Ljt)(u, "class", "vc-tabbar"),
                              (0, a.Ljt)(d, "class", "vc-topbar"),
                              (0, a.Ljt)(p, "class", "vc-content"),
                              (0, a.VHj)(
                                p,
                                "vc-has-topbar",
                                (null == (r = t[3][t[2]]) ||
                                null == (i = r.topbarList)
                                  ? void 0
                                  : i.length) > 0
                              ),
                              (0, a.Ljt)(
                                y,
                                "class",
                                "vc-tool vc-global-tool vc-tool-last vc-hide"
                              ),
                              (0, a.Ljt)(v, "class", "vc-toolbar"),
                              (0, a.Ljt)(l, "class", "vc-panel"),
                              (0, a.czc)(l, "display", t[7] ? "block" : "none"),
                              (0, a.Ljt)(e, "id", "__vconsole"),
                              (0, a.Ljt)(
                                e,
                                "style",
                                (b = t[5] ? "font-size:" + t[5] + ";" : "")
                              ),
                              (0, a.Ljt)(e, "data-theme", t[4]),
                              (0, a.VHj)(e, "vc-toggle", t[6]);
                          },
                          m: function (r, i) {
                            (0, a.$Tr)(r, e, i),
                              (0, a.yef)(n, e, null),
                              (0, a.R3I)(e, o),
                              (0, a.R3I)(e, s),
                              (0, a.R3I)(e, c),
                              (0, a.R3I)(e, l),
                              (0, a.R3I)(l, u);
                            for (var b = 0; b < O.length; b += 1)
                              O[b].m(u, null);
                            (0, a.R3I)(l, f), (0, a.R3I)(l, d);
                            for (var S = 0; S < k.length; S += 1)
                              k[S].m(d, null);
                            (0, a.R3I)(l, h), (0, a.R3I)(l, p);
                            for (var E = 0; E < R.length; E += 1)
                              R[E].m(p, null);
                            t[27](p), (0, a.R3I)(l, m), (0, a.R3I)(l, v);
                            for (var A = 0; A < N.length; A += 1)
                              N[A].m(v, null);
                            (0, a.R3I)(v, g),
                              (0, a.R3I)(v, y),
                              (V = !0),
                              _ ||
                                ((w = [
                                  (0, a.oLt)(s, "click", t[11]),
                                  (0, a.oLt)(p, "touchstart", t[15]),
                                  (0, a.oLt)(p, "touchmove", t[16]),
                                  (0, a.oLt)(p, "touchend", t[17]),
                                  (0, a.oLt)(p, "scroll", t[18]),
                                  (0, a.oLt)(y, "click", t[11]),
                                  (0, a.oLt)(
                                    e,
                                    "touchstart",
                                    t[19].touchStart,
                                    { passive: !1, capture: !0 }
                                  ),
                                  (0, a.oLt)(e, "touchmove", t[19].touchMove, {
                                    passive: !1,
                                    capture: !0,
                                  }),
                                  (0, a.oLt)(e, "touchend", t[19].touchEnd, {
                                    passive: !1,
                                    capture: !0,
                                  }),
                                ]),
                                (_ = !0));
                          },
                          p: function (t, o) {
                            var c,
                              f,
                              h = {};
                            if (
                              (!r &&
                                1 & o[0] &&
                                ((r = !0),
                                (h.show = t[0]),
                                (0, a.hjT)(function () {
                                  return (r = !1);
                                })),
                              !i &&
                                2 & o[0] &&
                                ((i = !0),
                                (h.position = t[1]),
                                (0, a.hjT)(function () {
                                  return (i = !1);
                                })),
                              n.$set(h),
                              (!V || 256 & o[0]) &&
                                (0, a.czc)(
                                  s,
                                  "display",
                                  t[8] ? "block" : "none"
                                ),
                              4108 & o[0])
                            ) {
                              var m;
                              for (
                                T = Object.entries(t[3]), m = 0;
                                m < T.length;
                                m += 1
                              ) {
                                var y = G(t, T, m);
                                O[m]
                                  ? O[m].p(y, o)
                                  : ((O[m] = z(y)), O[m].c(), O[m].m(u, null));
                              }
                              for (; m < O.length; m += 1) O[m].d(1);
                              O.length = T.length;
                            }
                            if (8204 & o[0]) {
                              var _;
                              for (
                                x = Object.entries(t[3]), _ = 0;
                                _ < x.length;
                                _ += 1
                              ) {
                                var w = F(t, x, _);
                                k[_]
                                  ? k[_].p(w, o)
                                  : ((k[_] = X(w)), k[_].c(), k[_].m(d, null));
                              }
                              for (; _ < k.length; _ += 1) k[_].d(1);
                              k.length = x.length;
                            }
                            if (12 & o[0]) {
                              var S;
                              for (
                                j = Object.entries(t[3]), S = 0;
                                S < j.length;
                                S += 1
                              ) {
                                var E = U(t, j, S);
                                R[S]
                                  ? (R[S].p(E, o), (0, a.Ui)(R[S], 1))
                                  : ((R[S] = Y(E)),
                                    R[S].c(),
                                    (0, a.Ui)(R[S], 1),
                                    R[S].m(p, null));
                              }
                              for (
                                (0, a.dvw)(), S = j.length;
                                S < R.length;
                                S += 1
                              )
                                L(S);
                              (0, a.gbL)();
                            }
                            if (
                              (12 & o[0] &&
                                (0, a.VHj)(
                                  p,
                                  "vc-has-topbar",
                                  (null == (c = t[3][t[2]]) ||
                                  null == (f = c.topbarList)
                                    ? void 0
                                    : f.length) > 0
                                ),
                              16396 & o[0])
                            ) {
                              var A;
                              for (
                                M = Object.entries(t[3]), A = 0;
                                A < M.length;
                                A += 1
                              ) {
                                var C = $(t, M, A);
                                N[A]
                                  ? N[A].p(C, o)
                                  : ((N[A] = Z(C)), N[A].c(), N[A].m(v, g));
                              }
                              for (; A < N.length; A += 1) N[A].d(1);
                              N.length = M.length;
                            }
                            (!V || 128 & o[0]) &&
                              (0, a.czc)(l, "display", t[7] ? "block" : "none"),
                              (!V ||
                                (32 & o[0] &&
                                  b !==
                                    (b = t[5]
                                      ? "font-size:" + t[5] + ";"
                                      : ""))) &&
                                (0, a.Ljt)(e, "style", b),
                              (!V || 16 & o[0]) &&
                                (0, a.Ljt)(e, "data-theme", t[4]),
                              64 & o[0] && (0, a.VHj)(e, "vc-toggle", t[6]);
                          },
                          i: function (t) {
                            if (!V) {
                              (0, a.Ui)(n.$$.fragment, t);
                              for (var e = 0; e < j.length; e += 1)
                                (0, a.Ui)(R[e]);
                              V = !0;
                            }
                          },
                          o: function (t) {
                            (0, a.etI)(n.$$.fragment, t),
                              (R = R.filter(Boolean));
                            for (var e = 0; e < R.length; e += 1)
                              (0, a.etI)(R[e]);
                            V = !1;
                          },
                          d: function (r) {
                            r && (0, a.ogt)(e),
                              (0, a.vpE)(n),
                              (0, a.RMB)(O, r),
                              (0, a.RMB)(k, r),
                              (0, a.RMB)(R, r),
                              t[27](null),
                              (0, a.RMB)(N, r),
                              (_ = !1),
                              (0, a.j7q)(w);
                          },
                        };
                      }
                      function Q(t, n, r) {
                        var i,
                          o,
                          c = n.theme,
                          l = void 0 === c ? "" : c,
                          u = n.disableScrolling,
                          f = void 0 !== u && u,
                          d = n.show,
                          h = void 0 !== d && d,
                          p = n.showSwitchButton,
                          m = void 0 === p || p,
                          v = n.switchButtonPosition,
                          g = void 0 === v ? { x: 0, y: 0 } : v,
                          y = n.activedPluginId,
                          b = void 0 === y ? "" : y,
                          V = n.pluginList,
                          _ = void 0 === V ? {} : V,
                          w = (0, s.x)(),
                          S = !1,
                          E = "",
                          A = !1,
                          T = !1,
                          O = !1,
                          C = !0,
                          P = 0,
                          x = null,
                          k = {};
                        (0, s.H3)(function () {
                          var t =
                            document.querySelectorAll('[name="viewport"]');
                          if (t && t[0]) {
                            var e = (
                                t[t.length - 1].getAttribute("content") || ""
                              ).match(/initial\-scale\=\d+(\.\d+)?/),
                              n = e ? parseFloat(e[0].split("=")[1]) : 1;
                            1 !== n &&
                              r(5, (E = Math.floor((1 / n) * 13) + "px"));
                          }
                          N.use && N.use(),
                            (i = I.x.subscribe(function (t) {
                              h &&
                                P !== t.updateTime &&
                                ((P = t.updateTime), j());
                            }));
                        }),
                          (0, s.ev)(function () {
                            N.unuse && N.unuse(), i && i();
                          });
                        var j = function () {
                            !f &&
                              C &&
                              o &&
                              r(
                                9,
                                (o.scrollTop = o.scrollHeight - o.offsetHeight),
                                o
                              );
                          },
                          R = function (t) {
                            t !== b &&
                              (r(2, (b = t)),
                              w("changePanel", { pluginId: t }),
                              setTimeout(function () {
                                o && r(9, (o.scrollTop = k[b] || 0), o);
                              }, 0));
                          },
                          D = function (t, n, i) {
                            var o = _[n].topbarList[i],
                              a = !0;
                            if (
                              (e.mf(o.onClick) &&
                                (a = o.onClick.call(t.target, t, o.data)),
                              !1 !== a)
                            ) {
                              for (var s = 0; s < _[n].topbarList.length; s++)
                                r(3, (_[n].topbarList[s].actived = i === s), _);
                              r(3, _);
                            }
                          },
                          L = function (t, n, r) {
                            var i = _[n].toolbarList[r];
                            e.mf(i.onClick) &&
                              i.onClick.call(t.target, t, i.data);
                          },
                          M = {
                            tapTime: 700,
                            tapBoundary: 10,
                            lastTouchStartTime: 0,
                            touchstartX: 0,
                            touchstartY: 0,
                            touchHasMoved: !1,
                            targetElem: null,
                          },
                          $ = {
                            touchStart: function (t) {
                              if (0 === M.lastTouchStartTime) {
                                var e = t.targetTouches[0];
                                (M.touchstartX = e.pageX),
                                  (M.touchstartY = e.pageY),
                                  (M.lastTouchStartTime = t.timeStamp),
                                  (M.targetElem =
                                    t.target.nodeType === Node.TEXT_NODE
                                      ? t.target.parentNode
                                      : t.target);
                              }
                            },
                            touchMove: function (t) {
                              var e = t.changedTouches[0];
                              (Math.abs(e.pageX - M.touchstartX) >
                                M.tapBoundary ||
                                Math.abs(e.pageY - M.touchstartY) >
                                  M.tapBoundary) &&
                                (M.touchHasMoved = !0);
                            },
                            touchEnd: function (t) {
                              if (
                                !1 === M.touchHasMoved &&
                                t.timeStamp - M.lastTouchStartTime <
                                  M.tapTime &&
                                null != M.targetElem
                              ) {
                                var e = !1;
                                switch (M.targetElem.tagName.toLowerCase()) {
                                  case "textarea":
                                    e = !0;
                                    break;
                                  case "select":
                                    e =
                                      !M.targetElem.disabled &&
                                      !M.targetElem.readOnly;
                                    break;
                                  case "input":
                                    switch (M.targetElem.type) {
                                      case "button":
                                      case "checkbox":
                                      case "file":
                                      case "image":
                                      case "radio":
                                      case "submit":
                                        e = !1;
                                        break;
                                      default:
                                        e =
                                          !M.targetElem.disabled &&
                                          !M.targetElem.readOnly;
                                    }
                                }
                                e ? M.targetElem.focus() : t.preventDefault();
                                var n = t.changedTouches[0],
                                  r = new MouseEvent("click", {
                                    bubbles: !0,
                                    cancelable: !0,
                                    view: window,
                                    screenX: n.screenX,
                                    screenY: n.screenY,
                                    clientX: n.clientX,
                                    clientY: n.clientY,
                                  });
                                M.targetElem.dispatchEvent(r);
                              }
                              (M.lastTouchStartTime = 0),
                                (M.touchHasMoved = !1),
                                (M.targetElem = null);
                            },
                          };
                        return (
                          (t.$$set = function (t) {
                            "theme" in t && r(4, (l = t.theme)),
                              "disableScrolling" in t &&
                                r(20, (f = t.disableScrolling)),
                              "show" in t && r(21, (h = t.show)),
                              "showSwitchButton" in t &&
                                r(0, (m = t.showSwitchButton)),
                              "switchButtonPosition" in t &&
                                r(1, (g = t.switchButtonPosition)),
                              "activedPluginId" in t &&
                                r(2, (b = t.activedPluginId)),
                              "pluginList" in t && r(3, (_ = t.pluginList));
                          }),
                          (t.$$.update = function () {
                            6291456 & t.$$.dirty[0] &&
                              (!0 === h
                                ? (r(7, (T = !0)),
                                  r(8, (O = !0)),
                                  x && clearTimeout(x),
                                  r(
                                    22,
                                    (x = setTimeout(function () {
                                      r(6, (A = !0)), j();
                                    }, 10))
                                  ))
                                : (r(6, (A = !1)),
                                  x && clearTimeout(x),
                                  r(
                                    22,
                                    (x = setTimeout(function () {
                                      r(7, (T = !1)), r(8, (O = !1));
                                    }, 330))
                                  )));
                          }),
                          [
                            m,
                            g,
                            b,
                            _,
                            l,
                            E,
                            A,
                            T,
                            O,
                            o,
                            function (t) {
                              w("show", { show: !0 });
                            },
                            function (t) {
                              w("show", { show: !1 });
                            },
                            R,
                            D,
                            L,
                            function (t) {
                              if (
                                "INPUT" !== t.target.tagName &&
                                "TEXTAREA" !== t.target.tagName
                              ) {
                                var e = !1;
                                if (
                                  "function" == typeof window.getComputedStyle
                                ) {
                                  var n = window.getComputedStyle(t.target);
                                  ("auto" !== n.overflow &&
                                    "initial" !== n.overflow &&
                                    "scroll" !== n.overflow) ||
                                    (e = !0);
                                }
                                if (!e) {
                                  var i = o.scrollTop,
                                    a = o.scrollHeight,
                                    s = i + o.offsetHeight;
                                  0 === i
                                    ? (r(9, (o.scrollTop = 1), o),
                                      0 === o.scrollTop && (S = !0))
                                    : s === a &&
                                      (r(9, (o.scrollTop = i - 1), o),
                                      o.scrollTop === i && (S = !0));
                                }
                              }
                            },
                            function (t) {
                              S && t.preventDefault();
                            },
                            function (t) {
                              S = !1;
                            },
                            function (t) {
                              h &&
                                ((C =
                                  o.scrollTop + o.offsetHeight >=
                                  o.scrollHeight - 50),
                                (k[b] = o.scrollTop));
                            },
                            $,
                            f,
                            h,
                            x,
                            function (t) {
                              r(0, (m = t));
                            },
                            function (t) {
                              r(1, (g = t));
                            },
                            function (t) {
                              return R(t.id);
                            },
                            function (t, e, n) {
                              return D(n, t.id, e);
                            },
                            function (t) {
                              a.VnY[t ? "unshift" : "push"](function () {
                                r(9, (o = t));
                              });
                            },
                            function (t, e, n) {
                              return L(n, t.id, e);
                            },
                          ]
                        );
                      }
                      var tt = (function (e) {
                          function n(t) {
                            var n;
                            return (
                              (n = e.call(this) || this),
                              (0, a.S1n)(
                                (0, i.Z)(n),
                                t,
                                Q,
                                J,
                                a.N8,
                                {
                                  theme: 4,
                                  disableScrolling: 20,
                                  show: 21,
                                  showSwitchButton: 0,
                                  switchButtonPosition: 1,
                                  activedPluginId: 2,
                                  pluginList: 3,
                                },
                                null,
                                [-1, -1]
                              ),
                              n
                            );
                          }
                          return (
                            (0, o.Z)(n, e),
                            (0, t.Z)(n, [
                              {
                                key: "theme",
                                get: function () {
                                  return this.$$.ctx[4];
                                },
                                set: function (t) {
                                  this.$$set({ theme: t }), (0, a.yl1)();
                                },
                              },
                              {
                                key: "disableScrolling",
                                get: function () {
                                  return this.$$.ctx[20];
                                },
                                set: function (t) {
                                  this.$$set({ disableScrolling: t }),
                                    (0, a.yl1)();
                                },
                              },
                              {
                                key: "show",
                                get: function () {
                                  return this.$$.ctx[21];
                                },
                                set: function (t) {
                                  this.$$set({ show: t }), (0, a.yl1)();
                                },
                              },
                              {
                                key: "showSwitchButton",
                                get: function () {
                                  return this.$$.ctx[0];
                                },
                                set: function (t) {
                                  this.$$set({ showSwitchButton: t }),
                                    (0, a.yl1)();
                                },
                              },
                              {
                                key: "switchButtonPosition",
                                get: function () {
                                  return this.$$.ctx[1];
                                },
                                set: function (t) {
                                  this.$$set({ switchButtonPosition: t }),
                                    (0, a.yl1)();
                                },
                              },
                              {
                                key: "activedPluginId",
                                get: function () {
                                  return this.$$.ctx[2];
                                },
                                set: function (t) {
                                  this.$$set({ activedPluginId: t }),
                                    (0, a.yl1)();
                                },
                              },
                              {
                                key: "pluginList",
                                get: function () {
                                  return this.$$.ctx[3];
                                },
                                set: function (t) {
                                  this.$$set({ pluginList: t }), (0, a.yl1)();
                                },
                              },
                            ]),
                            n
                          );
                        })(a.f_C),
                        et = (function () {
                          function n(t, e) {
                            void 0 === e && (e = "newPlugin"),
                              (this.isReady = !1),
                              (this.eventMap = new Map()),
                              (this.exporter = void 0),
                              (this._id = void 0),
                              (this._name = void 0),
                              (this._vConsole = void 0),
                              (this.id = t),
                              (this.name = e),
                              (this.isReady = !1);
                          }
                          var r = n.prototype;
                          return (
                            (r.on = function (t, e) {
                              return this.eventMap.set(t, e), this;
                            }),
                            (r.onRemove = function () {
                              this.unbindExporter();
                            }),
                            (r.trigger = function (t, e) {
                              var n = this.eventMap.get(t);
                              if ("function" == typeof n) n.call(this, e);
                              else {
                                var r =
                                  "on" + t.charAt(0).toUpperCase() + t.slice(1);
                                "function" == typeof this[r] &&
                                  this[r].call(this, e);
                              }
                              return this;
                            }),
                            (r.bindExporter = function () {
                              if (this._vConsole && this.exporter) {
                                var t = "default" === this.id ? "log" : this.id;
                                this._vConsole[t] = this.exporter;
                              }
                            }),
                            (r.unbindExporter = function () {
                              var t = "default" === this.id ? "log" : this.id;
                              this._vConsole &&
                                this._vConsole[t] &&
                                (this._vConsole[t] = void 0);
                            }),
                            (r.getUniqueID = function (t) {
                              return void 0 === t && (t = ""), (0, e.QI)(t);
                            }),
                            (0, t.Z)(n, [
                              {
                                key: "id",
                                get: function () {
                                  return this._id;
                                },
                                set: function (t) {
                                  if ("string" != typeof t)
                                    throw "[vConsole] Plugin ID must be a string.";
                                  if (!t)
                                    throw "[vConsole] Plugin ID cannot be empty.";
                                  this._id = t.toLowerCase();
                                },
                              },
                              {
                                key: "name",
                                get: function () {
                                  return this._name;
                                },
                                set: function (t) {
                                  if ("string" != typeof t)
                                    throw "[vConsole] Plugin name must be a string.";
                                  if (!t)
                                    throw "[vConsole] Plugin name cannot be empty.";
                                  this._name = t;
                                },
                              },
                              {
                                key: "vConsole",
                                get: function () {
                                  return this._vConsole || void 0;
                                },
                                set: function (t) {
                                  if (!t)
                                    throw "[vConsole] vConsole cannot be empty";
                                  (this._vConsole = t), this.bindExporter();
                                },
                              },
                            ]),
                            n
                          );
                        })(),
                        nt = (function (t) {
                          function e(e, n, r, i) {
                            var o;
                            return (
                              ((o = t.call(this, e, n) || this).CompClass =
                                void 0),
                              (o.compInstance = void 0),
                              (o.initialProps = void 0),
                              (o.CompClass = r),
                              (o.initialProps = i),
                              o
                            );
                          }
                          (0, o.Z)(e, t);
                          var n = e.prototype;
                          return (
                            (n.onReady = function () {
                              this.isReady = !0;
                            }),
                            (n.onRenderTab = function (t) {
                              var e = document.createElement("div"),
                                n = (this.compInstance = new this.CompClass({
                                  target: e,
                                  props: this.initialProps,
                                }));
                              t(e.firstElementChild, n.options);
                            }),
                            (n.onRemove = function () {
                              t.prototype.onRemove &&
                                t.prototype.onRemove.call(this),
                                this.compInstance &&
                                  this.compInstance.$destroy();
                            }),
                            e
                          );
                        })(et),
                        rt = __nested_webpack_require_427559__(8665),
                        it = __nested_webpack_require_427559__(9923),
                        ot = __nested_webpack_require_427559__(8702);
                      function at(t) {
                        var e, n;
                        return (
                          (e = new ot.Z({
                            props: { name: t[0] ? "success" : "copy" },
                          })).$on("click", t[1]),
                          {
                            c: function () {
                              (0, a.YCL)(e.$$.fragment);
                            },
                            m: function (t, r) {
                              (0, a.yef)(e, t, r), (n = !0);
                            },
                            p: function (t, n) {
                              var r = {};
                              1 & n[0] && (r.name = t[0] ? "success" : "copy"),
                                e.$set(r);
                            },
                            i: function (t) {
                              n || ((0, a.Ui)(e.$$.fragment, t), (n = !0));
                            },
                            o: function (t) {
                              (0, a.etI)(e.$$.fragment, t), (n = !1);
                            },
                            d: function (t) {
                              (0, a.vpE)(e, t);
                            },
                          }
                        );
                      }
                      function st(t, n, r) {
                        var i = n.content,
                          o = void 0 === i ? "" : i,
                          a = n.handler,
                          s = void 0 === a ? void 0 : a,
                          c = { target: document.documentElement },
                          l = !1;
                        return (
                          (t.$$set = function (t) {
                            "content" in t && r(2, (o = t.content)),
                              "handler" in t && r(3, (s = t.handler));
                          }),
                          [
                            l,
                            function (t) {
                              (function (t, e) {
                                var n = (void 0 === e ? {} : e).target,
                                  r = void 0 === n ? document.body : n,
                                  i = document.createElement("textarea"),
                                  o = document.activeElement;
                                (i.value = t),
                                  i.setAttribute("readonly", ""),
                                  (i.style.contain = "strict"),
                                  (i.style.position = "absolute"),
                                  (i.style.left = "-9999px"),
                                  (i.style.fontSize = "12pt");
                                var a = document.getSelection(),
                                  s = !1;
                                a.rangeCount > 0 && (s = a.getRangeAt(0)),
                                  r.append(i),
                                  i.select(),
                                  (i.selectionStart = 0),
                                  (i.selectionEnd = t.length);
                                try {
                                  document.execCommand("copy");
                                } catch {}
                                i.remove(),
                                  s && (a.removeAllRanges(), a.addRange(s)),
                                  o && o.focus();
                              })(
                                e.mf(s)
                                  ? s(o) || ""
                                  : e.Kn(o) || e.kJ(o)
                                  ? e.hZ(o, {
                                      maxDepth: 10,
                                      keyMaxLen: 1e4,
                                      pretty: !1,
                                      standardJSON: !0,
                                    })
                                  : o,
                                c
                              ),
                                r(0, (l = !0)),
                                setTimeout(function () {
                                  r(0, (l = !1));
                                }, 600);
                            },
                            o,
                            s,
                          ]
                        );
                      }
                      var ct = (function (e) {
                          function n(t) {
                            var n;
                            return (
                              (n = e.call(this) || this),
                              (0, a.S1n)((0, i.Z)(n), t, st, at, a.N8, {
                                content: 2,
                                handler: 3,
                              }),
                              n
                            );
                          }
                          return (
                            (0, o.Z)(n, e),
                            (0, t.Z)(n, [
                              {
                                key: "content",
                                get: function () {
                                  return this.$$.ctx[2];
                                },
                                set: function (t) {
                                  this.$$set({ content: t }), (0, a.yl1)();
                                },
                              },
                              {
                                key: "handler",
                                get: function () {
                                  return this.$$.ctx[3];
                                },
                                set: function (t) {
                                  this.$$set({ handler: t }), (0, a.yl1)();
                                },
                              },
                            ]),
                            n
                          );
                        })(a.f_C),
                        lt = __nested_webpack_require_427559__(845),
                        ut = {};
                      lt.Z && lt.Z.locals && (ut.locals = lt.Z.locals);
                      var ft,
                        dt = 0,
                        ht = {};
                      (ht.styleTagTransform = b()),
                        (ht.setAttributes = m()),
                        (ht.insert = h().bind(null, "head")),
                        (ht.domAPI = f()),
                        (ht.insertStyleElement = g()),
                        (ut.use = function (t) {
                          return (
                            (ht.options = t || {}),
                            dt++ || (ft = l()(lt.Z, ht)),
                            ut
                          );
                        }),
                        (ut.unuse = function () {
                          dt > 0 && !--dt && (ft(), (ft = null));
                        });
                      var pt = ut;
                      function mt(t) {
                        var n,
                          r,
                          i,
                          o = e.rE(t[1]) + "";
                        return {
                          c: function () {
                            (n = (0, a.bGB)("i")),
                              (r = (0, a.fLW)(o)),
                              (i = (0, a.fLW)(":")),
                              (0, a.Ljt)(n, "class", "vc-log-key"),
                              (0, a.VHj)(
                                n,
                                "vc-log-key-symbol",
                                "symbol" === t[2]
                              ),
                              (0, a.VHj)(
                                n,
                                "vc-log-key-private",
                                "private" === t[2]
                              );
                          },
                          m: function (t, e) {
                            (0, a.$Tr)(t, n, e),
                              (0, a.R3I)(n, r),
                              (0, a.$Tr)(t, i, e);
                          },
                          p: function (t, i) {
                            2 & i &&
                              o !== (o = e.rE(t[1]) + "") &&
                              (0, a.rTO)(r, o),
                              4 & i &&
                                (0, a.VHj)(
                                  n,
                                  "vc-log-key-symbol",
                                  "symbol" === t[2]
                                ),
                              4 & i &&
                                (0, a.VHj)(
                                  n,
                                  "vc-log-key-private",
                                  "private" === t[2]
                                );
                          },
                          d: function (t) {
                            t && (0, a.ogt)(n), t && (0, a.ogt)(i);
                          },
                        };
                      }
                      function vt(t) {
                        var e,
                          n,
                          r,
                          i,
                          o = void 0 !== t[1] && mt(t);
                        return {
                          c: function () {
                            o && o.c(),
                              (e = (0, a.DhX)()),
                              (n = (0, a.bGB)("i")),
                              (r = (0, a.fLW)(t[3])),
                              (0, a.Ljt)(
                                n,
                                "class",
                                (i = "vc-log-val vc-log-val-" + t[4])
                              ),
                              (0, a.Ljt)(n, "style", t[0]),
                              (0, a.VHj)(
                                n,
                                "vc-log-val-haskey",
                                void 0 !== t[1]
                              );
                          },
                          m: function (t, i) {
                            o && o.m(t, i),
                              (0, a.$Tr)(t, e, i),
                              (0, a.$Tr)(t, n, i),
                              (0, a.R3I)(n, r);
                          },
                          p: function (t, s) {
                            var c = s[0];
                            void 0 !== t[1]
                              ? o
                                ? o.p(t, c)
                                : ((o = mt(t)).c(), o.m(e.parentNode, e))
                              : o && (o.d(1), (o = null)),
                              8 & c && (0, a.rTO)(r, t[3]),
                              16 & c &&
                                i !== (i = "vc-log-val vc-log-val-" + t[4]) &&
                                (0, a.Ljt)(n, "class", i),
                              1 & c && (0, a.Ljt)(n, "style", t[0]),
                              18 & c &&
                                (0, a.VHj)(
                                  n,
                                  "vc-log-val-haskey",
                                  void 0 !== t[1]
                                );
                          },
                          i: a.ZTd,
                          o: a.ZTd,
                          d: function (t) {
                            o && o.d(t), t && (0, a.ogt)(e), t && (0, a.ogt)(n);
                          },
                        };
                      }
                      function gt(t, e, n) {
                        var r = e.origData,
                          i = e.style,
                          o = void 0 === i ? "" : i,
                          a = e.dataKey,
                          c = void 0 === a ? void 0 : a,
                          l = e.keyType,
                          u = void 0 === l ? "" : l,
                          f = "",
                          d = "",
                          h = !1;
                        return (
                          (0, s.H3)(function () {
                            pt.use();
                          }),
                          (0, s.ev)(function () {
                            pt.unuse();
                          }),
                          (t.$$set = function (t) {
                            "origData" in t && n(5, (r = t.origData)),
                              "style" in t && n(0, (o = t.style)),
                              "dataKey" in t && n(1, (c = t.dataKey)),
                              "keyType" in t && n(2, (u = t.keyType));
                          }),
                          (t.$$.update = function () {
                            if (122 & t.$$.dirty) {
                              n(6, (h = void 0 !== c));
                              var e = (0, rt.LH)(r, h);
                              n(4, (d = e.valueType)),
                                n(3, (f = e.text)),
                                h ||
                                  "string" !== d ||
                                  n(
                                    3,
                                    (f = f
                                      .replace(/\\n/g, "\n")
                                      .replace(/\\t/g, "    "))
                                  );
                            }
                          }),
                          [o, c, u, f, d, r, h]
                        );
                      }
                      var yt = (function (e) {
                          function n(t) {
                            var n;
                            return (
                              (n = e.call(this) || this),
                              (0, a.S1n)((0, i.Z)(n), t, gt, vt, a.AqN, {
                                origData: 5,
                                style: 0,
                                dataKey: 1,
                                keyType: 2,
                              }),
                              n
                            );
                          }
                          return (
                            (0, o.Z)(n, e),
                            (0, t.Z)(n, [
                              {
                                key: "origData",
                                get: function () {
                                  return this.$$.ctx[5];
                                },
                                set: function (t) {
                                  this.$$set({ origData: t }), (0, a.yl1)();
                                },
                              },
                              {
                                key: "style",
                                get: function () {
                                  return this.$$.ctx[0];
                                },
                                set: function (t) {
                                  this.$$set({ style: t }), (0, a.yl1)();
                                },
                              },
                              {
                                key: "dataKey",
                                get: function () {
                                  return this.$$.ctx[1];
                                },
                                set: function (t) {
                                  this.$$set({ dataKey: t }), (0, a.yl1)();
                                },
                              },
                              {
                                key: "keyType",
                                get: function () {
                                  return this.$$.ctx[2];
                                },
                                set: function (t) {
                                  this.$$set({ keyType: t }), (0, a.yl1)();
                                },
                              },
                            ]),
                            n
                          );
                        })(a.f_C),
                        bt = __nested_webpack_require_427559__(1237),
                        Vt = {};
                      bt.Z && bt.Z.locals && (Vt.locals = bt.Z.locals);
                      var _t,
                        wt = 0,
                        St = {};
                      (St.styleTagTransform = b()),
                        (St.setAttributes = m()),
                        (St.insert = h().bind(null, "head")),
                        (St.domAPI = f()),
                        (St.insertStyleElement = g()),
                        (Vt.use = function (t) {
                          return (
                            (St.options = t || {}),
                            wt++ || (_t = l()(bt.Z, St)),
                            Vt
                          );
                        }),
                        (Vt.unuse = function () {
                          wt > 0 && !--wt && (_t(), (_t = null));
                        });
                      var Et = Vt;
                      function At(t, e, n) {
                        var r = t.slice();
                        return (r[19] = e[n]), (r[21] = n), r;
                      }
                      function Tt(t, e, n) {
                        var r = t.slice();
                        return (r[19] = e[n]), r;
                      }
                      function Ot(t, e, n) {
                        var r = t.slice();
                        return (r[19] = e[n]), (r[21] = n), r;
                      }
                      function Ct(t) {
                        for (
                          var e,
                            n,
                            r,
                            i,
                            o,
                            s,
                            c,
                            l = [],
                            u = new Map(),
                            f = [],
                            d = new Map(),
                            h = [],
                            p = new Map(),
                            m = t[7],
                            v = function (t) {
                              return t[19];
                            },
                            g = 0;
                          g < m.length;
                          g += 1
                        ) {
                          var y = Ot(t, m, g),
                            b = v(y);
                          u.set(b, (l[g] = xt(b, y)));
                        }
                        for (
                          var V = t[11] < t[7].length && kt(t),
                            _ = t[9],
                            w = function (t) {
                              return t[19];
                            },
                            S = 0;
                          S < _.length;
                          S += 1
                        ) {
                          var E = Tt(t, _, S),
                            A = w(E);
                          d.set(A, (f[S] = It(A, E)));
                        }
                        for (
                          var T = t[8],
                            O = function (t) {
                              return t[19];
                            },
                            C = 0;
                          C < T.length;
                          C += 1
                        ) {
                          var P = At(t, T, C),
                            x = O(P);
                          p.set(x, (h[C] = Rt(x, P)));
                        }
                        var k = t[12] < t[8].length && Dt(t),
                          I = t[10] && Lt(t);
                        return {
                          c: function () {
                            e = (0, a.bGB)("div");
                            for (var t = 0; t < l.length; t += 1) l[t].c();
                            (n = (0, a.DhX)()), V && V.c(), (r = (0, a.DhX)());
                            for (var c = 0; c < f.length; c += 1) f[c].c();
                            i = (0, a.DhX)();
                            for (var u = 0; u < h.length; u += 1) h[u].c();
                            (o = (0, a.DhX)()),
                              k && k.c(),
                              (s = (0, a.DhX)()),
                              I && I.c(),
                              (0, a.Ljt)(e, "class", "vc-log-tree-child");
                          },
                          m: function (t, u) {
                            (0, a.$Tr)(t, e, u);
                            for (var d = 0; d < l.length; d += 1)
                              l[d].m(e, null);
                            (0, a.R3I)(e, n),
                              V && V.m(e, null),
                              (0, a.R3I)(e, r);
                            for (var p = 0; p < f.length; p += 1)
                              f[p].m(e, null);
                            (0, a.R3I)(e, i);
                            for (var m = 0; m < h.length; m += 1)
                              h[m].m(e, null);
                            (0, a.R3I)(e, o),
                              k && k.m(e, null),
                              (0, a.R3I)(e, s),
                              I && I.m(e, null),
                              (c = !0);
                          },
                          p: function (t, c) {
                            67721 & c &&
                              ((m = t[7]),
                              (0, a.dvw)(),
                              (l = (0, a.GQg)(
                                l,
                                c,
                                v,
                                1,
                                t,
                                m,
                                u,
                                e,
                                a.cly,
                                xt,
                                n,
                                Ot
                              )),
                              (0, a.gbL)()),
                              t[11] < t[7].length
                                ? V
                                  ? V.p(t, c)
                                  : ((V = kt(t)).c(), V.m(e, r))
                                : V && (V.d(1), (V = null)),
                              66057 & c &&
                                ((_ = t[9]),
                                (0, a.dvw)(),
                                (f = (0, a.GQg)(
                                  f,
                                  c,
                                  w,
                                  1,
                                  t,
                                  _,
                                  d,
                                  e,
                                  a.cly,
                                  It,
                                  i,
                                  Tt
                                )),
                                (0, a.gbL)()),
                              69897 & c &&
                                ((T = t[8]),
                                (0, a.dvw)(),
                                (h = (0, a.GQg)(
                                  h,
                                  c,
                                  O,
                                  1,
                                  t,
                                  T,
                                  p,
                                  e,
                                  a.cly,
                                  Rt,
                                  o,
                                  At
                                )),
                                (0, a.gbL)()),
                              t[12] < t[8].length
                                ? k
                                  ? k.p(t, c)
                                  : ((k = Dt(t)).c(), k.m(e, s))
                                : k && (k.d(1), (k = null)),
                              t[10]
                                ? I
                                  ? (I.p(t, c), 1024 & c && (0, a.Ui)(I, 1))
                                  : ((I = Lt(t)).c(),
                                    (0, a.Ui)(I, 1),
                                    I.m(e, null))
                                : I &&
                                  ((0, a.dvw)(),
                                  (0, a.etI)(I, 1, 1, function () {
                                    I = null;
                                  }),
                                  (0, a.gbL)());
                          },
                          i: function (t) {
                            if (!c) {
                              for (var e = 0; e < m.length; e += 1)
                                (0, a.Ui)(l[e]);
                              for (var n = 0; n < _.length; n += 1)
                                (0, a.Ui)(f[n]);
                              for (var r = 0; r < T.length; r += 1)
                                (0, a.Ui)(h[r]);
                              (0, a.Ui)(I), (c = !0);
                            }
                          },
                          o: function (t) {
                            for (var e = 0; e < l.length; e += 1)
                              (0, a.etI)(l[e]);
                            for (var n = 0; n < f.length; n += 1)
                              (0, a.etI)(f[n]);
                            for (var r = 0; r < h.length; r += 1)
                              (0, a.etI)(h[r]);
                            (0, a.etI)(I), (c = !1);
                          },
                          d: function (t) {
                            t && (0, a.ogt)(e);
                            for (var n = 0; n < l.length; n += 1) l[n].d();
                            V && V.d();
                            for (var r = 0; r < f.length; r += 1) f[r].d();
                            for (var i = 0; i < h.length; i += 1) h[i].d();
                            k && k.d(), I && I.d();
                          },
                        };
                      }
                      function Pt(t) {
                        var e, n;
                        return (
                          (e = new $t({
                            props: {
                              origData: t[16](t[19]),
                              dataKey: t[19],
                              keyPath: t[3] + "." + t[19],
                              toggle: t[0],
                            },
                          })),
                          {
                            c: function () {
                              (0, a.YCL)(e.$$.fragment);
                            },
                            m: function (t, r) {
                              (0, a.yef)(e, t, r), (n = !0);
                            },
                            p: function (t, n) {
                              var r = {};
                              128 & n && (r.origData = t[16](t[19])),
                                128 & n && (r.dataKey = t[19]),
                                136 & n && (r.keyPath = t[3] + "." + t[19]),
                                1 & n && (r.toggle = t[0]),
                                e.$set(r);
                            },
                            i: function (t) {
                              n || ((0, a.Ui)(e.$$.fragment, t), (n = !0));
                            },
                            o: function (t) {
                              (0, a.etI)(e.$$.fragment, t), (n = !1);
                            },
                            d: function (t) {
                              (0, a.vpE)(e, t);
                            },
                          }
                        );
                      }
                      function xt(t, e) {
                        var n,
                          r,
                          i,
                          o = e[21] < e[11] && Pt(e);
                        return {
                          key: t,
                          first: null,
                          c: function () {
                            (n = (0, a.cSb)()),
                              o && o.c(),
                              (r = (0, a.cSb)()),
                              (this.first = n);
                          },
                          m: function (t, e) {
                            (0, a.$Tr)(t, n, e),
                              o && o.m(t, e),
                              (0, a.$Tr)(t, r, e),
                              (i = !0);
                          },
                          p: function (t, n) {
                            (e = t)[21] < e[11]
                              ? o
                                ? (o.p(e, n), 2176 & n && (0, a.Ui)(o, 1))
                                : ((o = Pt(e)).c(),
                                  (0, a.Ui)(o, 1),
                                  o.m(r.parentNode, r))
                              : o &&
                                ((0, a.dvw)(),
                                (0, a.etI)(o, 1, 1, function () {
                                  o = null;
                                }),
                                (0, a.gbL)());
                          },
                          i: function (t) {
                            i || ((0, a.Ui)(o), (i = !0));
                          },
                          o: function (t) {
                            (0, a.etI)(o), (i = !1);
                          },
                          d: function (t) {
                            t && (0, a.ogt)(n), o && o.d(t), t && (0, a.ogt)(r);
                          },
                        };
                      }
                      function kt(t) {
                        var e,
                          n,
                          r,
                          i,
                          o = t[14](t[7].length - t[11]) + "";
                        return {
                          c: function () {
                            (e = (0, a.bGB)("div")),
                              (n = (0, a.fLW)(o)),
                              (0, a.Ljt)(e, "class", "vc-log-tree-loadmore");
                          },
                          m: function (o, s) {
                            (0, a.$Tr)(o, e, s),
                              (0, a.R3I)(e, n),
                              r ||
                                ((i = (0, a.oLt)(e, "click", t[17])), (r = !0));
                          },
                          p: function (t, e) {
                            2176 & e &&
                              o !== (o = t[14](t[7].length - t[11]) + "") &&
                              (0, a.rTO)(n, o);
                          },
                          d: function (t) {
                            t && (0, a.ogt)(e), (r = !1), i();
                          },
                        };
                      }
                      function It(t, e) {
                        var n, r, i;
                        return (
                          (r = new $t({
                            props: {
                              origData: e[16](e[19]),
                              dataKey: String(e[19]),
                              keyType: "symbol",
                              keyPath: e[3] + "[" + String(e[19]) + "]",
                              toggle: e[0],
                            },
                          })),
                          {
                            key: t,
                            first: null,
                            c: function () {
                              (n = (0, a.cSb)()),
                                (0, a.YCL)(r.$$.fragment),
                                (this.first = n);
                            },
                            m: function (t, e) {
                              (0, a.$Tr)(t, n, e),
                                (0, a.yef)(r, t, e),
                                (i = !0);
                            },
                            p: function (t, n) {
                              e = t;
                              var i = {};
                              512 & n && (i.origData = e[16](e[19])),
                                512 & n && (i.dataKey = String(e[19])),
                                520 & n &&
                                  (i.keyPath =
                                    e[3] + "[" + String(e[19]) + "]"),
                                1 & n && (i.toggle = e[0]),
                                r.$set(i);
                            },
                            i: function (t) {
                              i || ((0, a.Ui)(r.$$.fragment, t), (i = !0));
                            },
                            o: function (t) {
                              (0, a.etI)(r.$$.fragment, t), (i = !1);
                            },
                            d: function (t) {
                              t && (0, a.ogt)(n), (0, a.vpE)(r, t);
                            },
                          }
                        );
                      }
                      function jt(t) {
                        var e, n;
                        return (
                          (e = new $t({
                            props: {
                              origData: t[16](t[19]),
                              dataKey: t[19],
                              keyType: "private",
                              keyPath: t[3] + "." + t[19],
                              toggle: t[0],
                            },
                          })),
                          {
                            c: function () {
                              (0, a.YCL)(e.$$.fragment);
                            },
                            m: function (t, r) {
                              (0, a.yef)(e, t, r), (n = !0);
                            },
                            p: function (t, n) {
                              var r = {};
                              256 & n && (r.origData = t[16](t[19])),
                                256 & n && (r.dataKey = t[19]),
                                264 & n && (r.keyPath = t[3] + "." + t[19]),
                                1 & n && (r.toggle = t[0]),
                                e.$set(r);
                            },
                            i: function (t) {
                              n || ((0, a.Ui)(e.$$.fragment, t), (n = !0));
                            },
                            o: function (t) {
                              (0, a.etI)(e.$$.fragment, t), (n = !1);
                            },
                            d: function (t) {
                              (0, a.vpE)(e, t);
                            },
                          }
                        );
                      }
                      function Rt(t, e) {
                        var n,
                          r,
                          i,
                          o = e[21] < e[12] && jt(e);
                        return {
                          key: t,
                          first: null,
                          c: function () {
                            (n = (0, a.cSb)()),
                              o && o.c(),
                              (r = (0, a.cSb)()),
                              (this.first = n);
                          },
                          m: function (t, e) {
                            (0, a.$Tr)(t, n, e),
                              o && o.m(t, e),
                              (0, a.$Tr)(t, r, e),
                              (i = !0);
                          },
                          p: function (t, n) {
                            (e = t)[21] < e[12]
                              ? o
                                ? (o.p(e, n), 4352 & n && (0, a.Ui)(o, 1))
                                : ((o = jt(e)).c(),
                                  (0, a.Ui)(o, 1),
                                  o.m(r.parentNode, r))
                              : o &&
                                ((0, a.dvw)(),
                                (0, a.etI)(o, 1, 1, function () {
                                  o = null;
                                }),
                                (0, a.gbL)());
                          },
                          i: function (t) {
                            i || ((0, a.Ui)(o), (i = !0));
                          },
                          o: function (t) {
                            (0, a.etI)(o), (i = !1);
                          },
                          d: function (t) {
                            t && (0, a.ogt)(n), o && o.d(t), t && (0, a.ogt)(r);
                          },
                        };
                      }
                      function Dt(t) {
                        var e,
                          n,
                          r,
                          i,
                          o = t[14](t[8].length - t[12]) + "";
                        return {
                          c: function () {
                            (e = (0, a.bGB)("div")),
                              (n = (0, a.fLW)(o)),
                              (0, a.Ljt)(e, "class", "vc-log-tree-loadmore");
                          },
                          m: function (o, s) {
                            (0, a.$Tr)(o, e, s),
                              (0, a.R3I)(e, n),
                              r ||
                                ((i = (0, a.oLt)(e, "click", t[18])), (r = !0));
                          },
                          p: function (t, e) {
                            4352 & e &&
                              o !== (o = t[14](t[8].length - t[12]) + "") &&
                              (0, a.rTO)(n, o);
                          },
                          d: function (t) {
                            t && (0, a.ogt)(e), (r = !1), i();
                          },
                        };
                      }
                      function Lt(t) {
                        var e, n;
                        return (
                          (e = new $t({
                            props: {
                              origData: t[16]("__proto__"),
                              dataKey: "__proto__",
                              keyType: "private",
                              keyPath: t[3] + ".__proto__",
                              toggle: t[0],
                            },
                          })),
                          {
                            c: function () {
                              (0, a.YCL)(e.$$.fragment);
                            },
                            m: function (t, r) {
                              (0, a.yef)(e, t, r), (n = !0);
                            },
                            p: function (t, n) {
                              var r = {};
                              8 & n && (r.keyPath = t[3] + ".__proto__"),
                                1 & n && (r.toggle = t[0]),
                                e.$set(r);
                            },
                            i: function (t) {
                              n || ((0, a.Ui)(e.$$.fragment, t), (n = !0));
                            },
                            o: function (t) {
                              (0, a.etI)(e.$$.fragment, t), (n = !1);
                            },
                            d: function (t) {
                              (0, a.vpE)(e, t);
                            },
                          }
                        );
                      }
                      function Mt(t) {
                        var e, n, r, i, o, s, c;
                        r = new yt({
                          props: {
                            origData: t[1],
                            dataKey: t[2],
                            keyType: t[4],
                          },
                        });
                        var l = t[6] && t[5] && Ct(t);
                        return {
                          c: function () {
                            (e = (0, a.bGB)("div")),
                              (n = (0, a.bGB)("div")),
                              (0, a.YCL)(r.$$.fragment),
                              (i = (0, a.DhX)()),
                              l && l.c(),
                              (0, a.Ljt)(n, "class", "vc-log-tree-node"),
                              (0, a.Ljt)(e, "class", "vc-log-tree"),
                              (0, a.Ljt)(e, "data-keypath", t[3]),
                              (0, a.VHj)(e, "vc-toggle", t[5]),
                              (0, a.VHj)(e, "vc-is-tree", t[6]);
                          },
                          m: function (u, f) {
                            (0, a.$Tr)(u, e, f),
                              (0, a.R3I)(e, n),
                              (0, a.yef)(r, n, null),
                              (0, a.R3I)(e, i),
                              l && l.m(e, null),
                              (o = !0),
                              s ||
                                ((c = (0, a.oLt)(
                                  n,
                                  "click",
                                  (0, a.XET)(t[15])
                                )),
                                (s = !0));
                          },
                          p: function (t, n) {
                            var i = n[0],
                              s = {};
                            2 & i && (s.origData = t[1]),
                              4 & i && (s.dataKey = t[2]),
                              16 & i && (s.keyType = t[4]),
                              r.$set(s),
                              t[6] && t[5]
                                ? l
                                  ? (l.p(t, i), 96 & i && (0, a.Ui)(l, 1))
                                  : ((l = Ct(t)).c(),
                                    (0, a.Ui)(l, 1),
                                    l.m(e, null))
                                : l &&
                                  ((0, a.dvw)(),
                                  (0, a.etI)(l, 1, 1, function () {
                                    l = null;
                                  }),
                                  (0, a.gbL)()),
                              (!o || 8 & i) &&
                                (0, a.Ljt)(e, "data-keypath", t[3]),
                              32 & i && (0, a.VHj)(e, "vc-toggle", t[5]),
                              64 & i && (0, a.VHj)(e, "vc-is-tree", t[6]);
                          },
                          i: function (t) {
                            o ||
                              ((0, a.Ui)(r.$$.fragment, t),
                              (0, a.Ui)(l),
                              (o = !0));
                          },
                          o: function (t) {
                            (0, a.etI)(r.$$.fragment, t),
                              (0, a.etI)(l),
                              (o = !1);
                          },
                          d: function (t) {
                            t && (0, a.ogt)(e),
                              (0, a.vpE)(r),
                              l && l.d(),
                              (s = !1),
                              c();
                          },
                        };
                      }
                      function Nt(t, n, r) {
                        var i,
                          o,
                          a,
                          c = n.origData,
                          l = n.dataKey,
                          u = void 0 === l ? void 0 : l,
                          f = n.keyPath,
                          d = void 0 === f ? "" : f,
                          h = n.keyType,
                          p = void 0 === h ? "" : h,
                          m = n.toggle,
                          v = void 0 === m ? {} : m,
                          g = !1,
                          y = !1,
                          b = !1,
                          V = 50,
                          _ = 50;
                        (0, s.H3)(function () {
                          Et.use();
                        }),
                          (0, s.ev)(function () {
                            Et.unuse();
                          });
                        var w = function (t) {
                          "enum" === t
                            ? r(11, (V += 50))
                            : "nonEnum" === t && r(12, (_ += 50));
                        };
                        return (
                          (t.$$set = function (t) {
                            "origData" in t && r(1, (c = t.origData)),
                              "dataKey" in t && r(2, (u = t.dataKey)),
                              "keyPath" in t && r(3, (d = t.keyPath)),
                              "keyType" in t && r(4, (p = t.keyType)),
                              "toggle" in t && r(0, (v = t.toggle));
                          }),
                          (t.$$.update = function () {
                            1003 & t.$$.dirty &&
                              (r(5, (g = v[d] || !1)),
                              r(
                                6,
                                (y =
                                  !(c instanceof rt.Tg) && (e.kJ(c) || e.Kn(c)))
                              ),
                              y &&
                                g &&
                                (r(7, (i = i || e.qr(e.MH(c)))),
                                r(8, (o = o || e.qr(e.QK(c)))),
                                r(9, (a = a || e._D(c))),
                                r(
                                  10,
                                  (b = e.Kn(c) && -1 === o.indexOf("__proto__"))
                                )));
                          }),
                          [
                            v,
                            c,
                            u,
                            d,
                            p,
                            g,
                            y,
                            i,
                            o,
                            a,
                            b,
                            V,
                            _,
                            w,
                            function (t) {
                              return (
                                "(..." +
                                t +
                                " Key" +
                                (t > 1 ? "s" : "") +
                                " Left)"
                              );
                            },
                            function () {
                              r(5, (g = !g)), r(0, (v[d] = g), v);
                            },
                            function (t) {
                              try {
                                return c[t];
                              } catch {
                                return new rt.Tg();
                              }
                            },
                            function () {
                              return w("enum");
                            },
                            function () {
                              return w("nonEnum");
                            },
                          ]
                        );
                      }
                      var $t = (function (e) {
                          function n(t) {
                            var n;
                            return (
                              (n = e.call(this) || this),
                              (0, a.S1n)((0, i.Z)(n), t, Nt, Mt, a.AqN, {
                                origData: 1,
                                dataKey: 2,
                                keyPath: 3,
                                keyType: 4,
                                toggle: 0,
                              }),
                              n
                            );
                          }
                          return (
                            (0, o.Z)(n, e),
                            (0, t.Z)(n, [
                              {
                                key: "origData",
                                get: function () {
                                  return this.$$.ctx[1];
                                },
                                set: function (t) {
                                  this.$$set({ origData: t }), (0, a.yl1)();
                                },
                              },
                              {
                                key: "dataKey",
                                get: function () {
                                  return this.$$.ctx[2];
                                },
                                set: function (t) {
                                  this.$$set({ dataKey: t }), (0, a.yl1)();
                                },
                              },
                              {
                                key: "keyPath",
                                get: function () {
                                  return this.$$.ctx[3];
                                },
                                set: function (t) {
                                  this.$$set({ keyPath: t }), (0, a.yl1)();
                                },
                              },
                              {
                                key: "keyType",
                                get: function () {
                                  return this.$$.ctx[4];
                                },
                                set: function (t) {
                                  this.$$set({ keyType: t }), (0, a.yl1)();
                                },
                              },
                              {
                                key: "toggle",
                                get: function () {
                                  return this.$$.ctx[0];
                                },
                                set: function (t) {
                                  this.$$set({ toggle: t }), (0, a.yl1)();
                                },
                              },
                            ]),
                            n
                          );
                        })(a.f_C),
                        Bt = $t,
                        Ut = __nested_webpack_require_427559__(7147),
                        Ft = {};
                      Ut.Z && Ut.Z.locals && (Ft.locals = Ut.Z.locals);
                      var Ht,
                        Gt = 0,
                        Wt = {};
                      (Wt.styleTagTransform = b()),
                        (Wt.setAttributes = m()),
                        (Wt.insert = h().bind(null, "head")),
                        (Wt.domAPI = f()),
                        (Wt.insertStyleElement = g()),
                        (Ft.use = function (t) {
                          return (
                            (Wt.options = t || {}),
                            Gt++ || (Ht = l()(Ut.Z, Wt)),
                            Ft
                          );
                        }),
                        (Ft.unuse = function () {
                          Gt > 0 && !--Gt && (Ht(), (Ht = null));
                        });
                      var zt = Ft;
                      function qt(t, e, n) {
                        var r = t.slice();
                        return (r[9] = e[n]), (r[11] = n), r;
                      }
                      function Xt(t, e, n) {
                        var r = t.slice();
                        return (r[12] = e[n]), r;
                      }
                      function Yt(t) {
                        for (
                          var e,
                            n,
                            r,
                            i,
                            o,
                            s,
                            c,
                            l,
                            u,
                            f,
                            d,
                            h,
                            p,
                            m = [],
                            v = new Map(),
                            g = t[0].groupLevel && Kt(t),
                            y = t[2] > 0 && Jt(),
                            b = t[1] && Qt(t),
                            V = t[0].repeated && te(t),
                            _ = t[0].data,
                            w = function (t) {
                              return t[11];
                            },
                            S = 0;
                          S < _.length;
                          S += 1
                        ) {
                          var E = qt(t, _, S),
                            A = w(E);
                          v.set(A, (m[S] = re(A, E)));
                        }
                        return (
                          (u = new ct({ props: { handler: t[6] } })),
                          {
                            c: function () {
                              (e = (0, a.bGB)("div")),
                                g && g.c(),
                                (n = (0, a.DhX)()),
                                y && y.c(),
                                (r = (0, a.DhX)()),
                                b && b.c(),
                                (i = (0, a.DhX)()),
                                V && V.c(),
                                (o = (0, a.DhX)()),
                                (s = (0, a.bGB)("div"));
                              for (var d = 0; d < m.length; d += 1) m[d].c();
                              (c = (0, a.DhX)()),
                                (l = (0, a.bGB)("div")),
                                (0, a.YCL)(u.$$.fragment),
                                (0, a.Ljt)(s, "class", "vc-log-content"),
                                (0, a.Ljt)(l, "class", "vc-logrow-icon"),
                                (0, a.Ljt)(
                                  e,
                                  "class",
                                  (f = "vc-log-row vc-log-" + t[0].type)
                                ),
                                (0, a.VHj)(
                                  e,
                                  "vc-log-input",
                                  "input" === t[0].cmdType
                                ),
                                (0, a.VHj)(
                                  e,
                                  "vc-log-output",
                                  "output" === t[0].cmdType
                                ),
                                (0, a.VHj)(e, "vc-log-group", t[2] > 0),
                                (0, a.VHj)(e, "vc-toggle", 1 === t[2]);
                            },
                            m: function (f, v) {
                              (0, a.$Tr)(f, e, v),
                                g && g.m(e, null),
                                (0, a.R3I)(e, n),
                                y && y.m(e, null),
                                (0, a.R3I)(e, r),
                                b && b.m(e, null),
                                (0, a.R3I)(e, i),
                                V && V.m(e, null),
                                (0, a.R3I)(e, o),
                                (0, a.R3I)(e, s);
                              for (var _ = 0; _ < m.length; _ += 1)
                                m[_].m(s, null);
                              (0, a.R3I)(e, c),
                                (0, a.R3I)(e, l),
                                (0, a.yef)(u, l, null),
                                (d = !0),
                                h ||
                                  ((p = (0, a.oLt)(e, "click", t[5])),
                                  (h = !0));
                            },
                            p: function (t, c) {
                              t[0].groupLevel
                                ? g
                                  ? g.p(t, c)
                                  : ((g = Kt(t)).c(), g.m(e, n))
                                : g && (g.d(1), (g = null)),
                                t[2] > 0
                                  ? y || ((y = Jt()).c(), y.m(e, r))
                                  : y && (y.d(1), (y = null)),
                                t[1]
                                  ? b
                                    ? b.p(t, c)
                                    : ((b = Qt(t)).c(), b.m(e, i))
                                  : b && (b.d(1), (b = null)),
                                t[0].repeated
                                  ? V
                                    ? V.p(t, c)
                                    : ((V = te(t)).c(), V.m(e, o))
                                  : V && (V.d(1), (V = null)),
                                17 & c &&
                                  ((_ = t[0].data),
                                  (0, a.dvw)(),
                                  (m = (0, a.GQg)(
                                    m,
                                    c,
                                    w,
                                    1,
                                    t,
                                    _,
                                    v,
                                    s,
                                    a.cly,
                                    re,
                                    null,
                                    qt
                                  )),
                                  (0, a.gbL)()),
                                (!d ||
                                  (1 & c &&
                                    f !==
                                      (f =
                                        "vc-log-row vc-log-" + t[0].type))) &&
                                  (0, a.Ljt)(e, "class", f),
                                1 & c &&
                                  (0, a.VHj)(
                                    e,
                                    "vc-log-input",
                                    "input" === t[0].cmdType
                                  ),
                                1 & c &&
                                  (0, a.VHj)(
                                    e,
                                    "vc-log-output",
                                    "output" === t[0].cmdType
                                  ),
                                5 & c &&
                                  (0, a.VHj)(e, "vc-log-group", t[2] > 0),
                                5 & c && (0, a.VHj)(e, "vc-toggle", 1 === t[2]);
                            },
                            i: function (t) {
                              if (!d) {
                                for (var e = 0; e < _.length; e += 1)
                                  (0, a.Ui)(m[e]);
                                (0, a.Ui)(u.$$.fragment, t), (d = !0);
                              }
                            },
                            o: function (t) {
                              for (var e = 0; e < m.length; e += 1)
                                (0, a.etI)(m[e]);
                              (0, a.etI)(u.$$.fragment, t), (d = !1);
                            },
                            d: function (t) {
                              t && (0, a.ogt)(e),
                                g && g.d(),
                                y && y.d(),
                                b && b.d(),
                                V && V.d();
                              for (var n = 0; n < m.length; n += 1) m[n].d();
                              (0, a.vpE)(u), (h = !1), p();
                            },
                          }
                        );
                      }
                      function Kt(t) {
                        for (
                          var e, n = new Array(t[0].groupLevel), r = [], i = 0;
                          i < n.length;
                          i += 1
                        )
                          r[i] = Zt(Xt(t, n, i));
                        return {
                          c: function () {
                            for (var t = 0; t < r.length; t += 1) r[t].c();
                            e = (0, a.cSb)();
                          },
                          m: function (t, n) {
                            for (var i = 0; i < r.length; i += 1) r[i].m(t, n);
                            (0, a.$Tr)(t, e, n);
                          },
                          p: function (t, i) {
                            if (1 & i) {
                              var o;
                              for (
                                n = new Array(t[0].groupLevel), o = 0;
                                o < n.length;
                                o += 1
                              ) {
                                var a = Xt(t, n, o);
                                r[o]
                                  ? r[o].p(a, i)
                                  : ((r[o] = Zt()),
                                    r[o].c(),
                                    r[o].m(e.parentNode, e));
                              }
                              for (; o < r.length; o += 1) r[o].d(1);
                              r.length = n.length;
                            }
                          },
                          d: function (t) {
                            (0, a.RMB)(r, t), t && (0, a.ogt)(e);
                          },
                        };
                      }
                      function Zt(t) {
                        var e;
                        return {
                          c: function () {
                            (e = (0, a.bGB)("i")),
                              (0, a.Ljt)(e, "class", "vc-log-padding");
                          },
                          m: function (t, n) {
                            (0, a.$Tr)(t, e, n);
                          },
                          p: a.ZTd,
                          d: function (t) {
                            t && (0, a.ogt)(e);
                          },
                        };
                      }
                      function Jt(t) {
                        var e;
                        return {
                          c: function () {
                            (e = (0, a.bGB)("div")),
                              (0, a.Ljt)(e, "class", "vc-log-group-toggle");
                          },
                          m: function (t, n) {
                            (0, a.$Tr)(t, e, n);
                          },
                          d: function (t) {
                            t && (0, a.ogt)(e);
                          },
                        };
                      }
                      function Qt(t) {
                        var e, n;
                        return {
                          c: function () {
                            (e = (0, a.bGB)("div")),
                              (n = (0, a.fLW)(t[3])),
                              (0, a.Ljt)(e, "class", "vc-log-time");
                          },
                          m: function (t, r) {
                            (0, a.$Tr)(t, e, r), (0, a.R3I)(e, n);
                          },
                          p: function (t, e) {
                            8 & e && (0, a.rTO)(n, t[3]);
                          },
                          d: function (t) {
                            t && (0, a.ogt)(e);
                          },
                        };
                      }
                      function te(t) {
                        var e,
                          n,
                          r,
                          i = t[0].repeated + "";
                        return {
                          c: function () {
                            (e = (0, a.bGB)("div")),
                              (n = (0, a.bGB)("i")),
                              (r = (0, a.fLW)(i)),
                              (0, a.Ljt)(e, "class", "vc-log-repeat");
                          },
                          m: function (t, i) {
                            (0, a.$Tr)(t, e, i),
                              (0, a.R3I)(e, n),
                              (0, a.R3I)(n, r);
                          },
                          p: function (t, e) {
                            1 & e &&
                              i !== (i = t[0].repeated + "") &&
                              (0, a.rTO)(r, i);
                          },
                          d: function (t) {
                            t && (0, a.ogt)(e);
                          },
                        };
                      }
                      function ee(t) {
                        var e, n;
                        return (
                          (e = new yt({
                            props: {
                              origData: t[9].origData,
                              style: t[9].style,
                            },
                          })),
                          {
                            c: function () {
                              (0, a.YCL)(e.$$.fragment);
                            },
                            m: function (t, r) {
                              (0, a.yef)(e, t, r), (n = !0);
                            },
                            p: function (t, n) {
                              var r = {};
                              1 & n && (r.origData = t[9].origData),
                                1 & n && (r.style = t[9].style),
                                e.$set(r);
                            },
                            i: function (t) {
                              n || ((0, a.Ui)(e.$$.fragment, t), (n = !0));
                            },
                            o: function (t) {
                              (0, a.etI)(e.$$.fragment, t), (n = !1);
                            },
                            d: function (t) {
                              (0, a.vpE)(e, t);
                            },
                          }
                        );
                      }
                      function ne(t) {
                        var e, n;
                        return (
                          (e = new Bt({
                            props: {
                              origData: t[9].origData,
                              keyPath: String(t[11]),
                              toggle: t[0].toggle,
                            },
                          })),
                          {
                            c: function () {
                              (0, a.YCL)(e.$$.fragment);
                            },
                            m: function (t, r) {
                              (0, a.yef)(e, t, r), (n = !0);
                            },
                            p: function (t, n) {
                              var r = {};
                              1 & n && (r.origData = t[9].origData),
                                1 & n && (r.keyPath = String(t[11])),
                                1 & n && (r.toggle = t[0].toggle),
                                e.$set(r);
                            },
                            i: function (t) {
                              n || ((0, a.Ui)(e.$$.fragment, t), (n = !0));
                            },
                            o: function (t) {
                              (0, a.etI)(e.$$.fragment, t), (n = !1);
                            },
                            d: function (t) {
                              (0, a.vpE)(e, t);
                            },
                          }
                        );
                      }
                      function re(t, e) {
                        var n,
                          r,
                          i,
                          o,
                          s,
                          c,
                          l = [ne, ee],
                          u = [];
                        function f(t, e) {
                          return (
                            1 & e && (r = null),
                            null == r && (r = !!t[4](t[9].origData)),
                            r ? 0 : 1
                          );
                        }
                        return (
                          (i = f(e, -1)),
                          (o = u[i] = l[i](e)),
                          {
                            key: t,
                            first: null,
                            c: function () {
                              (n = (0, a.cSb)()),
                                o.c(),
                                (s = (0, a.cSb)()),
                                (this.first = n);
                            },
                            m: function (t, e) {
                              (0, a.$Tr)(t, n, e),
                                u[i].m(t, e),
                                (0, a.$Tr)(t, s, e),
                                (c = !0);
                            },
                            p: function (t, n) {
                              var r = i;
                              (i = f((e = t), n)) === r
                                ? u[i].p(e, n)
                                : ((0, a.dvw)(),
                                  (0, a.etI)(u[r], 1, 1, function () {
                                    u[r] = null;
                                  }),
                                  (0, a.gbL)(),
                                  (o = u[i])
                                    ? o.p(e, n)
                                    : (o = u[i] = l[i](e)).c(),
                                  (0, a.Ui)(o, 1),
                                  o.m(s.parentNode, s));
                            },
                            i: function (t) {
                              c || ((0, a.Ui)(o), (c = !0));
                            },
                            o: function (t) {
                              (0, a.etI)(o), (c = !1);
                            },
                            d: function (t) {
                              t && (0, a.ogt)(n), u[i].d(t), t && (0, a.ogt)(s);
                            },
                          }
                        );
                      }
                      function ie(t) {
                        var e,
                          n,
                          r = t[0] && Yt(t);
                        return {
                          c: function () {
                            r && r.c(), (e = (0, a.cSb)());
                          },
                          m: function (t, i) {
                            r && r.m(t, i), (0, a.$Tr)(t, e, i), (n = !0);
                          },
                          p: function (t, n) {
                            var i = n[0];
                            t[0]
                              ? r
                                ? (r.p(t, i), 1 & i && (0, a.Ui)(r, 1))
                                : ((r = Yt(t)).c(),
                                  (0, a.Ui)(r, 1),
                                  r.m(e.parentNode, e))
                              : r &&
                                ((0, a.dvw)(),
                                (0, a.etI)(r, 1, 1, function () {
                                  r = null;
                                }),
                                (0, a.gbL)());
                          },
                          i: function (t) {
                            n || ((0, a.Ui)(r), (n = !0));
                          },
                          o: function (t) {
                            (0, a.etI)(r), (n = !1);
                          },
                          d: function (t) {
                            r && r.d(t), t && (0, a.ogt)(e);
                          },
                        };
                      }
                      function oe(t, n, r) {
                        var i = n.log,
                          o = n.showTimestamps,
                          a = void 0 !== o && o,
                          c = n.groupHeader,
                          l = void 0 === c ? 0 : c,
                          u = (0, s.x)(),
                          f = "",
                          d = function (t, e) {
                            var n = "000" + t;
                            return n.substring(n.length - e);
                          };
                        return (
                          (0, s.H3)(function () {
                            zt.use();
                          }),
                          (0, s.ev)(function () {
                            zt.unuse();
                          }),
                          (t.$$set = function (t) {
                            "log" in t && r(0, (i = t.log)),
                              "showTimestamps" in t &&
                                r(1, (a = t.showTimestamps)),
                              "groupHeader" in t && r(2, (l = t.groupHeader));
                          }),
                          (t.$$.update = function () {
                            if (3 & t.$$.dirty && a) {
                              var e = new Date(i.date);
                              r(
                                3,
                                (f =
                                  d(e.getHours(), 2) +
                                  ":" +
                                  d(e.getMinutes(), 2) +
                                  ":" +
                                  d(e.getSeconds(), 2) +
                                  ":" +
                                  d(e.getMilliseconds(), 3))
                              );
                            }
                          }),
                          [
                            i,
                            a,
                            l,
                            f,
                            function (t) {
                              return (
                                !(t instanceof rt.Tg) && (e.kJ(t) || e.Kn(t))
                              );
                            },
                            function () {
                              l > 0 &&
                                u("groupCollapsed", {
                                  groupLabel: i.groupLabel,
                                  groupHeader: 1 === l ? 2 : 1,
                                  isGroupCollapsed: 1 === l,
                                });
                            },
                            function () {
                              var t = [];
                              try {
                                for (var n = 0; n < i.data.length; n++)
                                  e.HD(i.data[n].origData) ||
                                  e.hj(i.data[n].origData)
                                    ? t.push(i.data[n].origData)
                                    : t.push(
                                        e.hZ(i.data[n].origData, {
                                          maxDepth: 10,
                                          keyMaxLen: 1e4,
                                          pretty: !1,
                                          standardJSON: !0,
                                        })
                                      );
                              } catch {}
                              return t.join(" ");
                            },
                          ]
                        );
                      }
                      var ae = (function (e) {
                          function n(t) {
                            var n;
                            return (
                              (n = e.call(this) || this),
                              (0, a.S1n)((0, i.Z)(n), t, oe, ie, a.AqN, {
                                log: 0,
                                showTimestamps: 1,
                                groupHeader: 2,
                              }),
                              n
                            );
                          }
                          return (
                            (0, o.Z)(n, e),
                            (0, t.Z)(n, [
                              {
                                key: "log",
                                get: function () {
                                  return this.$$.ctx[0];
                                },
                                set: function (t) {
                                  this.$$set({ log: t }), (0, a.yl1)();
                                },
                              },
                              {
                                key: "showTimestamps",
                                get: function () {
                                  return this.$$.ctx[1];
                                },
                                set: function (t) {
                                  this.$$set({ showTimestamps: t }),
                                    (0, a.yl1)();
                                },
                              },
                              {
                                key: "groupHeader",
                                get: function () {
                                  return this.$$.ctx[2];
                                },
                                set: function (t) {
                                  this.$$set({ groupHeader: t }), (0, a.yl1)();
                                },
                              },
                            ]),
                            n
                          );
                        })(a.f_C),
                        se = __nested_webpack_require_427559__(3903),
                        ce = __nested_webpack_require_427559__(3327),
                        le = {};
                      ce.Z && ce.Z.locals && (le.locals = ce.Z.locals);
                      var ue,
                        fe = 0,
                        de = {};
                      (de.styleTagTransform = b()),
                        (de.setAttributes = m()),
                        (de.insert = h().bind(null, "head")),
                        (de.domAPI = f()),
                        (de.insertStyleElement = g()),
                        (le.use = function (t) {
                          return (
                            (de.options = t || {}),
                            fe++ || (ue = l()(ce.Z, de)),
                            le
                          );
                        }),
                        (le.unuse = function () {
                          fe > 0 && !--fe && (ue(), (ue = null));
                        });
                      var he = le,
                        pe = __nested_webpack_require_427559__(4264),
                        me = __nested_webpack_require_427559__.n(pe),
                        ve = (function () {
                          function t(t) {
                            console.debug(
                              "[vConsole] `ResizeObserver` is not supported in the browser, vConsole cannot render correctly."
                            ),
                              t([{ contentRect: { height: 30 } }], this);
                          }
                          var e = t.prototype;
                          return (
                            (e.disconnect = function () {}),
                            (e.observe = function (t, e) {}),
                            (e.unobserve = function (t) {}),
                            t
                          );
                        })(),
                        ge = function () {
                          return "function" == typeof window.ResizeObserver;
                        },
                        ye = function () {
                          return window.ResizeObserver || ve;
                        };
                      function be(t) {
                        var e,
                          n,
                          r = t[6].default,
                          i = (0, a.nuO)(r, t, t[5], null);
                        return {
                          c: function () {
                            (e = (0, a.bGB)("div")),
                              i && i.c(),
                              (0, a.Ljt)(e, "class", "vc-scroller-item"),
                              (0, a.czc)(
                                e,
                                "display",
                                t[0] ? "block" : "none",
                                !1
                              ),
                              (0, a.czc)(
                                e,
                                "top",
                                t[3] ? t[1] + "px" : "auto",
                                !1
                              );
                          },
                          m: function (r, o) {
                            (0, a.$Tr)(r, e, o),
                              i && i.m(e, null),
                              t[7](e),
                              (n = !0);
                          },
                          p: function (t, o) {
                            var s = o[0];
                            i &&
                              i.p &&
                              (!n || 32 & s) &&
                              (0, a.kmG)(
                                i,
                                r,
                                t,
                                t[5],
                                n
                                  ? (0, a.u2N)(r, t[5], s, null)
                                  : (0, a.VOJ)(t[5]),
                                null
                              ),
                              1 & s &&
                                (0, a.czc)(
                                  e,
                                  "display",
                                  t[0] ? "block" : "none",
                                  !1
                                ),
                              2 & s &&
                                (0, a.czc)(
                                  e,
                                  "top",
                                  t[3] ? t[1] + "px" : "auto",
                                  !1
                                );
                          },
                          i: function (t) {
                            n || ((0, a.Ui)(i, t), (n = !0));
                          },
                          o: function (t) {
                            (0, a.etI)(i, t), (n = !1);
                          },
                          d: function (n) {
                            n && (0, a.ogt)(e), i && i.d(n), t[7](null);
                          },
                        };
                      }
                      function Ve(t, e, n) {
                        var r,
                          i = e.$$slots,
                          o = void 0 === i ? {} : i,
                          c = e.$$scope,
                          l = e.show,
                          u = void 0 === l ? !ge() : l,
                          f = e.top,
                          d = e.onResize,
                          h = void 0 === d ? function () {} : d,
                          p = null,
                          m = ge();
                        return (
                          (0, s.H3)(function () {
                            if ((u && h(r.getBoundingClientRect().height), m)) {
                              var t = ye();
                              (p = new t(function (t) {
                                var e = t[0];
                                u && h(e.contentRect.height);
                              })).observe(r);
                            }
                          }),
                          (0, s.ev)(function () {
                            m && p.disconnect();
                          }),
                          (t.$$set = function (t) {
                            "show" in t && n(0, (u = t.show)),
                              "top" in t && n(1, (f = t.top)),
                              "onResize" in t && n(4, (h = t.onResize)),
                              "$$scope" in t && n(5, (c = t.$$scope));
                          }),
                          [
                            u,
                            f,
                            r,
                            m,
                            h,
                            c,
                            o,
                            function (t) {
                              a.VnY[t ? "unshift" : "push"](function () {
                                n(2, (r = t));
                              });
                            },
                          ]
                        );
                      }
                      var _e = (function (e) {
                          function n(t) {
                            var n;
                            return (
                              (n = e.call(this) || this),
                              (0, a.S1n)((0, i.Z)(n), t, Ve, be, a.N8, {
                                show: 0,
                                top: 1,
                                onResize: 4,
                              }),
                              n
                            );
                          }
                          return (
                            (0, o.Z)(n, e),
                            (0, t.Z)(n, [
                              {
                                key: "show",
                                get: function () {
                                  return this.$$.ctx[0];
                                },
                                set: function (t) {
                                  this.$$set({ show: t }), (0, a.yl1)();
                                },
                              },
                              {
                                key: "top",
                                get: function () {
                                  return this.$$.ctx[1];
                                },
                                set: function (t) {
                                  this.$$set({ top: t }), (0, a.yl1)();
                                },
                              },
                              {
                                key: "onResize",
                                get: function () {
                                  return this.$$.ctx[4];
                                },
                                set: function (t) {
                                  this.$$set({ onResize: t }), (0, a.yl1)();
                                },
                              },
                            ]),
                            n
                          );
                        })(a.f_C),
                        we = (function () {
                          function t() {
                            (this._x = 0),
                              (this._endX = 0),
                              (this._v = 0),
                              (this._startTime = 0),
                              (this._endTime = 0);
                          }
                          var e = t.prototype;
                          return (
                            (e.set = function (t, e, n, r) {
                              (this._x = t),
                                (this._endX = e),
                                (this._v = (e - t) / n),
                                (this._startTime = r || Date.now()),
                                (this._endTime = this._startTime + n);
                            }),
                            (e.x = function (t) {
                              if (this.done(t)) return this._endX;
                              var e = t - this._startTime;
                              return this._x + this._v * e;
                            }),
                            (e.dx = function (t) {
                              return this.done(t) ? 0 : this._v;
                            }),
                            (e.done = function (t) {
                              return t >= this._endTime;
                            }),
                            t
                          );
                        })(),
                        Se = (function () {
                          function t(t) {
                            (this._drag = void 0),
                              (this._dragLog = void 0),
                              (this._x = 0),
                              (this._v = 0),
                              (this._startTime = 0),
                              (this._drag = t),
                              (this._dragLog = Math.log(t));
                          }
                          var e = t.prototype;
                          return (
                            (e.set = function (t, e, n) {
                              (this._x = t),
                                (this._v = e),
                                (this._startTime = n || Date.now());
                            }),
                            (e.x = function (t) {
                              var e = (t - this._startTime) / 1e3;
                              return (
                                this._x +
                                (this._v * Math.pow(this._drag, e)) /
                                  this._dragLog -
                                this._v / this._dragLog
                              );
                            }),
                            (e.dx = function (t) {
                              var e = (t - this._startTime) / 1e3;
                              return this._v * Math.pow(this._drag, e);
                            }),
                            (e.done = function (t) {
                              return Math.abs(this.dx(t)) < 3;
                            }),
                            t
                          );
                        })(),
                        Ee = function (t, e) {
                          return t > e - 0.1 && t < e + 0.1;
                        },
                        Ae = function (t) {
                          return Ee(t, 0);
                        },
                        Te = (function () {
                          function t(t, e, n) {
                            (this._solver = void 0),
                              (this._solution = void 0),
                              (this._endPosition = void 0),
                              (this._startTime = void 0),
                              (this._solver = (function (t, e, n) {
                                var r = n,
                                  i = t,
                                  o = e,
                                  a = r * r - 4 * i * o;
                                if (0 == a) {
                                  var s = -r / (2 * i);
                                  return function (t, e) {
                                    var n = t,
                                      r = e / (s * t);
                                    return {
                                      x: function (t) {
                                        return (
                                          (n + r * t) * Math.pow(Math.E, s * t)
                                        );
                                      },
                                      dx: function (t) {
                                        return (
                                          (s * (n + r * t) + r) *
                                          Math.pow(Math.E, s * t)
                                        );
                                      },
                                    };
                                  };
                                }
                                if (a > 0) {
                                  var c = (-r - Math.sqrt(a)) / (2 * i),
                                    l = (-r + Math.sqrt(a)) / (2 * i);
                                  return function (t, e) {
                                    var n = (e - c * t) / (l - c),
                                      r = t - n;
                                    return {
                                      x: function (t) {
                                        return (
                                          r * Math.pow(Math.E, c * t) +
                                          n * Math.pow(Math.E, l * t)
                                        );
                                      },
                                      dx: function (t) {
                                        return (
                                          r * c * Math.pow(Math.E, c * t) +
                                          n * l * Math.pow(Math.E, l * t)
                                        );
                                      },
                                    };
                                  };
                                }
                                var u = Math.sqrt(4 * i * o - r * r) / (2 * i),
                                  f = (-r / 2) * i;
                                return function (t, e) {
                                  var n = t,
                                    r = (e - f * t) / u;
                                  return {
                                    x: function (t) {
                                      return (
                                        Math.pow(Math.E, f * t) *
                                        (n * Math.cos(u * t) +
                                          r * Math.sin(u * t))
                                      );
                                    },
                                    dx: function (t) {
                                      var e = Math.pow(Math.E, f * t),
                                        i = Math.cos(u * t),
                                        o = Math.sin(u * t);
                                      return (
                                        e * (r * u * i - n * u * o) +
                                        f * e * (r * o + n * i)
                                      );
                                    },
                                  };
                                };
                              })(t, e, n)),
                              (this._solution = null),
                              (this._endPosition = 0),
                              (this._startTime = 0);
                          }
                          var e = t.prototype;
                          return (
                            (e.x = function (t) {
                              if (!this._solution) return 0;
                              var e = (t - this._startTime) / 1e3;
                              return this._endPosition + this._solution.x(e);
                            }),
                            (e.dx = function (t) {
                              if (!this._solution) return 0;
                              var e = (t - this._startTime) / 1e3;
                              return this._solution.dx(e);
                            }),
                            (e.set = function (t, e, n, r) {
                              r || (r = Date.now()),
                                (this._endPosition = t),
                                (e == t && Ae(n)) ||
                                  ((this._solution = this._solver(e - t, n)),
                                  (this._startTime = r));
                            }),
                            (e.done = function (t) {
                              return (
                                t || (t = Date.now()),
                                Ee(this.x(t), this._endPosition) &&
                                  Ae(this.dx(t))
                              );
                            }),
                            t
                          );
                        })(),
                        Oe = (function () {
                          function t(t, e) {
                            (this._enableSpring = e),
                              (this._getExtend = void 0),
                              (this._friction = new Se(0.05)),
                              (this._spring = new Te(1, 90, 20)),
                              (this._toEdge = !1),
                              (this._getExtend = t);
                          }
                          var e = t.prototype;
                          return (
                            (e.set = function (t, e, n) {
                              if (
                                (void 0 === n && (n = Date.now()),
                                this._friction.set(t, e, n),
                                t > 0 && e >= 0)
                              )
                                (this._toEdge = !0),
                                  this._enableSpring &&
                                    this._spring.set(0, t, e, n);
                              else {
                                var r = this._getExtend();
                                t < -r && e <= 0
                                  ? ((this._toEdge = !0),
                                    this._enableSpring &&
                                      this._spring.set(-r, t, e, n))
                                  : (this._toEdge = !1);
                              }
                            }),
                            (e.x = function (t) {
                              if (this._enableSpring && this._toEdge)
                                return this._spring.x(t);
                              var e = this._friction.x(t),
                                n = this._friction.dx(t);
                              if (e > 0 && n >= 0) {
                                if (((this._toEdge = !0), !this._enableSpring))
                                  return 0;
                                this._spring.set(0, e, n, t);
                              } else {
                                var r = this._getExtend();
                                if (e < -r && n <= 0) {
                                  if (
                                    ((this._toEdge = !0), !this._enableSpring)
                                  )
                                    return -r;
                                  this._spring.set(-r, e, n, t);
                                }
                              }
                              return e;
                            }),
                            (e.dx = function (t) {
                              return this._toEdge
                                ? this._enableSpring
                                  ? this._spring.dx(t)
                                  : 0
                                : this._friction.dx(t);
                            }),
                            (e.done = function (t) {
                              return this._toEdge
                                ? !this._enableSpring || this._spring.done(t)
                                : this._friction.done(t);
                            }),
                            t
                          );
                        })();
                      function Ce(t, e) {
                        var n, r;
                        return (
                          (function i() {
                            if (!r) {
                              var o = Date.now();
                              e(o), t.done(o) || (n = requestAnimationFrame(i));
                            }
                          })(),
                          {
                            cancel: function () {
                              cancelAnimationFrame(n), (r = !0);
                            },
                          }
                        );
                      }
                      var Pe = (function () {
                        function t(t, e) {
                          (this._updatePosition = e),
                            (this._scrollModel = void 0),
                            (this._linearModel = void 0),
                            (this._startPosition = 0),
                            (this._position = 0),
                            (this._animate = null),
                            (this._getExtent = void 0),
                            (this._getExtent = t),
                            (this._scrollModel = new Oe(t, !1)),
                            (this._linearModel = new we());
                        }
                        var e = t.prototype;
                        return (
                          (e.onTouchStart = function () {
                            var t = this._position;
                            if (t > 0) t *= 0;
                            else {
                              var e = this._getExtent();
                              t < -e && (t = 0 * (t + e) - e);
                            }
                            (this._startPosition = this._position = t),
                              this._animate &&
                                (this._animate.cancel(),
                                (this._animate = null)),
                              this._updatePosition(-t);
                          }),
                          (e.onTouchMove = function (t, e) {
                            var n = e + this._startPosition;
                            if (n > 0) n *= 0;
                            else {
                              var r = this._getExtent();
                              n < -r && (n = 0 * (n + r) - r);
                            }
                            (this._position = n), this._updatePosition(-n);
                          }),
                          (e.onTouchEnd = function (t, e, n, r) {
                            var i = this,
                              o = e + this._startPosition;
                            if (o > 0) o *= 0;
                            else {
                              var a = this._getExtent();
                              o < -a && (o = 0 * (o + a) - a);
                            }
                            if (
                              ((this._position = o),
                              this._updatePosition(-o),
                              !(Math.abs(e) <= 0.1 && Math.abs(r) <= 0.1))
                            ) {
                              var s = this._scrollModel;
                              s.set(o, r),
                                (this._animate = Ce(s, function (t) {
                                  var e = (i._position = s.x(t));
                                  i._updatePosition(-e);
                                }));
                            }
                          }),
                          (e.onTouchCancel = function () {
                            var t = this,
                              e = this._position;
                            if (e > 0) e *= 0;
                            else {
                              var n = this._getExtent();
                              e < -n && (e = 0 * (e + n) - n);
                            }
                            this._position = e;
                            var r = this._scrollModel;
                            r.set(e, 0),
                              (this._animate = Ce(r, function (e) {
                                var n = (t._position = r.x(e));
                                t._updatePosition(-n);
                              }));
                          }),
                          (e.onWheel = function (t, e) {
                            var n = this._position - e;
                            if (
                              (this._animate &&
                                (this._animate.cancel(),
                                (this._animate = null)),
                              n > 0)
                            )
                              n = 0;
                            else {
                              var r = this._getExtent();
                              n < -r && (n = -r);
                            }
                            (this._position = n), this._updatePosition(-n);
                          }),
                          (e.getPosition = function () {
                            return -this._position;
                          }),
                          (e.updatePosition = function (t) {
                            var e = -t - this._position;
                            (this._startPosition += e), (this._position += e);
                            var n = this._position;
                            this._updatePosition(-n);
                            var r = this._scrollModel,
                              i = Date.now();
                            if (!r.done(i)) {
                              var o = r.dx(i);
                              r.set(n, o, i);
                            }
                          }),
                          (e.scrollTo = function (t, e) {
                            var n = this;
                            if (
                              (this._animate &&
                                (this._animate.cancel(),
                                (this._animate = null)),
                              e > 0)
                            ) {
                              var r = this._linearModel;
                              r.set(this._position, -t, e),
                                (this._animate = Ce(
                                  this._linearModel,
                                  function (t) {
                                    var e = (n._position = r.x(t));
                                    n._updatePosition(-e);
                                  }
                                ));
                            } else this._updatePosition(t);
                          }),
                          t
                        );
                      })();
                      function xe(t, e) {
                        (null == e || e > t.length) && (e = t.length);
                        for (var n = 0, r = new Array(e); n < e; n++)
                          r[n] = t[n];
                        return r;
                      }
                      var ke = function (t) {
                          var e = null,
                            n = !1,
                            r = function r() {
                              (n = !1),
                                t(),
                                (e = requestAnimationFrame(function () {
                                  (e = null), n && r();
                                }));
                            };
                          return {
                            trigger: function () {
                              null === e ? r() : (n = !0);
                            },
                            cancel: function () {
                              e &&
                                (cancelAnimationFrame(e), (n = !1), (e = null));
                            },
                          };
                        },
                        Ie = (function () {
                          function t(t) {
                            var e = this;
                            (this._handler = t),
                              (this._touchId = null),
                              (this._startX = 0),
                              (this._startY = 0),
                              (this._historyX = []),
                              (this._historyY = []),
                              (this._historyTime = []),
                              (this._wheelDeltaX = 0),
                              (this._wheelDeltaY = 0),
                              (this._onTouchMove = function () {
                                var t = e._historyX[e._historyX.length - 1],
                                  n = e._historyY[e._historyY.length - 1];
                                e._handler.onTouchMove(t, n);
                              }),
                              (this._onWheel = ke(function () {
                                var t = e._wheelDeltaX,
                                  n = e._wheelDeltaY;
                                (e._wheelDeltaX = 0),
                                  (e._wheelDeltaY = 0),
                                  e._handler.onWheel(t, n);
                              })),
                              (this.handleTouchStart = function (t) {
                                var n;
                                if (
                                  "1" !==
                                  (null == (n = t.target.dataset)
                                    ? void 0
                                    : n.scrollable)
                                ) {
                                  t.preventDefault();
                                  var r = t.touches[0];
                                  (e._touchId = r.identifier),
                                    (e._startX = r.pageX),
                                    (e._startY = r.pageY),
                                    (e._historyX = [0]),
                                    (e._historyY = [0]),
                                    (e._historyTime = [Date.now()]),
                                    e._handler.onTouchStart();
                                }
                              }),
                              (this.handleTouchMove = function (t) {
                                var n;
                                if (
                                  "1" !==
                                  (null == (n = t.target.dataset)
                                    ? void 0
                                    : n.scrollable)
                                ) {
                                  t.preventDefault();
                                  var r = e._getTouchDelta(t);
                                  null !== r &&
                                    (e._historyX.push(r.x),
                                    e._historyY.push(r.y),
                                    e._historyTime.push(Date.now()),
                                    e._onTouchMove());
                                }
                              }),
                              (this.handleTouchEnd = function (t) {
                                var n;
                                if (
                                  "1" !==
                                  (null == (n = t.target.dataset)
                                    ? void 0
                                    : n.scrollable)
                                ) {
                                  t.preventDefault();
                                  var r = e._getTouchDelta(t);
                                  if (null !== r) {
                                    for (
                                      var i = 0,
                                        o = 0,
                                        a = Date.now(),
                                        s = r.y,
                                        c = r.x,
                                        l = e._historyTime,
                                        u = l.length - 1;
                                      u > 0;
                                      u -= 1
                                    ) {
                                      var f = a - l[u];
                                      if (f > 30) {
                                        (i = (1e3 * (c - e._historyX[u])) / f),
                                          (o =
                                            (1e3 * (s - e._historyY[u])) / f);
                                        break;
                                      }
                                    }
                                    (e._touchId = null),
                                      e._handler.onTouchEnd(r.x, r.y, i, o);
                                  }
                                }
                              }),
                              (this.handleTouchCancel = function (t) {
                                var n;
                                "1" !==
                                  (null == (n = t.target.dataset)
                                    ? void 0
                                    : n.scrollable) &&
                                  (t.preventDefault(),
                                  null !== e._getTouchDelta(t) &&
                                    ((e._touchId = null),
                                    e._handler.onTouchCancel()));
                              }),
                              (this.handleWheel = function (t) {
                                var n;
                                "1" !==
                                  (null == (n = t.target.dataset)
                                    ? void 0
                                    : n.scrollable) &&
                                  (t.preventDefault(),
                                  (e._wheelDeltaX += t.deltaX),
                                  (e._wheelDeltaY += t.deltaY),
                                  e._onWheel.trigger());
                              });
                          }
                          return (
                            (t.prototype._getTouchDelta = function (t) {
                              if (null === this._touchId) return null;
                              for (
                                var e,
                                  n = (function (t, e) {
                                    var n =
                                      (typeof Symbol < "u" &&
                                        t[Symbol.iterator]) ||
                                      t["@@iterator"];
                                    if (n) return (n = n.call(t)).next.bind(n);
                                    if (
                                      Array.isArray(t) ||
                                      (n = (function (t, e) {
                                        if (t) {
                                          if ("string" == typeof t)
                                            return xe(t, e);
                                          var n = Object.prototype.toString
                                            .call(t)
                                            .slice(8, -1);
                                          if (
                                            ("Object" === n &&
                                              t.constructor &&
                                              (n = t.constructor.name),
                                            "Map" === n || "Set" === n)
                                          )
                                            return Array.from(t);
                                          if (
                                            "Arguments" === n ||
                                            /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(
                                              n
                                            )
                                          )
                                            return xe(t, e);
                                        }
                                      })(t)) ||
                                      (e && t && "number" == typeof t.length)
                                    ) {
                                      n && (t = n);
                                      var r = 0;
                                      return function () {
                                        return r >= t.length
                                          ? { done: !0 }
                                          : { done: !1, value: t[r++] };
                                      };
                                    }
                                    throw new TypeError(
                                      "Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."
                                    );
                                  })(t.changedTouches);
                                !(e = n()).done;

                              ) {
                                var r = e.value;
                                if (r.identifier === this._touchId)
                                  return {
                                    x: r.pageX - this._startX,
                                    y: r.pageY - this._startY,
                                  };
                              }
                              return null;
                            }),
                            t
                          );
                        })(),
                        je = __nested_webpack_require_427559__(1142),
                        Re = {};
                      je.Z && je.Z.locals && (Re.locals = je.Z.locals);
                      var De,
                        Le = 0,
                        Me = {};
                      (Me.styleTagTransform = b()),
                        (Me.setAttributes = m()),
                        (Me.insert = h().bind(null, "head")),
                        (Me.domAPI = f()),
                        (Me.insertStyleElement = g()),
                        (Re.use = function (t) {
                          return (
                            (Me.options = t || {}),
                            Le++ || (De = l()(je.Z, Me)),
                            Re
                          );
                        }),
                        (Re.unuse = function () {
                          Le > 0 && !--Le && (De(), (De = null));
                        });
                      var Ne = Re,
                        $e = a.lig.Map,
                        Be = function (t) {
                          return {};
                        },
                        Ue = function (t) {
                          return {};
                        },
                        Fe = function (t) {
                          return {};
                        },
                        He = function (t) {
                          return {};
                        };
                      function Ge(t, e, n) {
                        var r = t.slice();
                        return (r[53] = e[n]), (r[55] = n), r;
                      }
                      var We = function (t) {
                          return { item: 1025 & t[0] };
                        },
                        ze = function (t) {
                          return { item: t[0][t[53].index] };
                        },
                        qe = function (t) {
                          return {};
                        },
                        Xe = function (t) {
                          return {};
                        };
                      function Ye(t) {
                        var e,
                          n,
                          r = t[24].header,
                          i = (0, a.nuO)(r, t, t[31], Xe);
                        return {
                          c: function () {
                            (e = (0, a.bGB)("div")),
                              i && i.c(),
                              (0, a.Ljt)(e, "class", "vc-scroller-header");
                          },
                          m: function (r, o) {
                            (0, a.$Tr)(r, e, o),
                              i && i.m(e, null),
                              t[25](e),
                              (n = !0);
                          },
                          p: function (t, e) {
                            i &&
                              i.p &&
                              (!n || 1 & e[1]) &&
                              (0, a.kmG)(
                                i,
                                r,
                                t,
                                t[31],
                                n
                                  ? (0, a.u2N)(r, t[31], e, qe)
                                  : (0, a.VOJ)(t[31]),
                                Xe
                              );
                          },
                          i: function (t) {
                            n || ((0, a.Ui)(i, t), (n = !0));
                          },
                          o: function (t) {
                            (0, a.etI)(i, t), (n = !1);
                          },
                          d: function (n) {
                            n && (0, a.ogt)(e), i && i.d(n), t[25](null);
                          },
                        };
                      }
                      function Ke(t) {
                        var e,
                          n = t[24].empty,
                          r = (0, a.nuO)(n, t, t[31], He);
                        return {
                          c: function () {
                            r && r.c();
                          },
                          m: function (t, n) {
                            r && r.m(t, n), (e = !0);
                          },
                          p: function (t, i) {
                            r &&
                              r.p &&
                              (!e || 1 & i[1]) &&
                              (0, a.kmG)(
                                r,
                                n,
                                t,
                                t[31],
                                e
                                  ? (0, a.u2N)(n, t[31], i, Fe)
                                  : (0, a.VOJ)(t[31]),
                                He
                              );
                          },
                          i: function (t) {
                            e || ((0, a.Ui)(r, t), (e = !0));
                          },
                          o: function (t) {
                            (0, a.etI)(r, t), (e = !1);
                          },
                          d: function (t) {
                            r && r.d(t);
                          },
                        };
                      }
                      function Ze(t) {
                        for (
                          var e,
                            n,
                            r = [],
                            i = new $e(),
                            o = t[10],
                            s = function (t) {
                              return t[53].key;
                            },
                            c = 0;
                          c < o.length;
                          c += 1
                        ) {
                          var l = Ge(t, o, c),
                            u = s(l);
                          i.set(u, (r[c] = Qe(u, l)));
                        }
                        return {
                          c: function () {
                            for (var t = 0; t < r.length; t += 1) r[t].c();
                            e = (0, a.cSb)();
                          },
                          m: function (t, i) {
                            for (var o = 0; o < r.length; o += 1) r[o].m(t, i);
                            (0, a.$Tr)(t, e, i), (n = !0);
                          },
                          p: function (t, n) {
                            (17921 & n[0]) | (1 & n[1]) &&
                              ((o = t[10]),
                              (0, a.dvw)(),
                              (r = (0, a.GQg)(
                                r,
                                n,
                                s,
                                1,
                                t,
                                o,
                                i,
                                e.parentNode,
                                a.cly,
                                Qe,
                                e,
                                Ge
                              )),
                              (0, a.gbL)());
                          },
                          i: function (t) {
                            if (!n) {
                              for (var e = 0; e < o.length; e += 1)
                                (0, a.Ui)(r[e]);
                              n = !0;
                            }
                          },
                          o: function (t) {
                            for (var e = 0; e < r.length; e += 1)
                              (0, a.etI)(r[e]);
                            n = !1;
                          },
                          d: function (t) {
                            for (var n = 0; n < r.length; n += 1) r[n].d(t);
                            t && (0, a.ogt)(e);
                          },
                        };
                      }
                      function Je(t) {
                        var e,
                          n,
                          r,
                          i = t[24].item,
                          o = (0, a.nuO)(i, t, t[31], ze),
                          s = o || {
                            c: function () {
                              r = (0, a.fLW)("Missing template");
                            },
                            m: function (t, e) {
                              (0, a.$Tr)(t, r, e);
                            },
                            d: function (t) {
                              t && (0, a.ogt)(r);
                            },
                          };
                        return {
                          c: function () {
                            s && s.c(), (e = (0, a.DhX)());
                          },
                          m: function (t, r) {
                            s && s.m(t, r), (0, a.$Tr)(t, e, r), (n = !0);
                          },
                          p: function (t, e) {
                            o &&
                              o.p &&
                              (!n || (1025 & e[0]) | (1 & e[1])) &&
                              (0, a.kmG)(
                                o,
                                i,
                                t,
                                t[31],
                                n
                                  ? (0, a.u2N)(i, t[31], e, We)
                                  : (0, a.VOJ)(t[31]),
                                ze
                              );
                          },
                          i: function (t) {
                            n || ((0, a.Ui)(s, t), (n = !0));
                          },
                          o: function (t) {
                            (0, a.etI)(s, t), (n = !1);
                          },
                          d: function (t) {
                            s && s.d(t), t && (0, a.ogt)(e);
                          },
                        };
                      }
                      function Qe(t, e) {
                        var n, r, i;
                        function o() {
                          for (
                            var t,
                              n = arguments.length,
                              r = new Array(n),
                              i = 0;
                            i < n;
                            i++
                          )
                            r[i] = arguments[i];
                          return (t = e)[26].apply(t, [e[53]].concat(r));
                        }
                        return (
                          (r = new _e({
                            props: {
                              show: e[53].show,
                              top: e[9][e[53].index],
                              onResize: o,
                              $$slots: { default: [Je] },
                              $$scope: { ctx: e },
                            },
                          })),
                          {
                            key: t,
                            first: null,
                            c: function () {
                              (n = (0, a.cSb)()),
                                (0, a.YCL)(r.$$.fragment),
                                (this.first = n);
                            },
                            m: function (t, e) {
                              (0, a.$Tr)(t, n, e),
                                (0, a.yef)(r, t, e),
                                (i = !0);
                            },
                            p: function (t, n) {
                              e = t;
                              var i = {};
                              1024 & n[0] && (i.show = e[53].show),
                                1536 & n[0] && (i.top = e[9][e[53].index]),
                                1024 & n[0] && (i.onResize = o),
                                (1025 & n[0]) | (1 & n[1]) &&
                                  (i.$$scope = { dirty: n, ctx: e }),
                                r.$set(i);
                            },
                            i: function (t) {
                              i || ((0, a.Ui)(r.$$.fragment, t), (i = !0));
                            },
                            o: function (t) {
                              (0, a.etI)(r.$$.fragment, t), (i = !1);
                            },
                            d: function (t) {
                              t && (0, a.ogt)(n), (0, a.vpE)(r, t);
                            },
                          }
                        );
                      }
                      function tn(t) {
                        var e,
                          n,
                          r = t[24].footer,
                          i = (0, a.nuO)(r, t, t[31], Ue);
                        return {
                          c: function () {
                            (e = (0, a.bGB)("div")),
                              i && i.c(),
                              (0, a.Ljt)(e, "class", "vc-scroller-footer");
                          },
                          m: function (r, o) {
                            (0, a.$Tr)(r, e, o),
                              i && i.m(e, null),
                              t[28](e),
                              (n = !0);
                          },
                          p: function (t, e) {
                            i &&
                              i.p &&
                              (!n || 1 & e[1]) &&
                              (0, a.kmG)(
                                i,
                                r,
                                t,
                                t[31],
                                n
                                  ? (0, a.u2N)(r, t[31], e, Be)
                                  : (0, a.VOJ)(t[31]),
                                Ue
                              );
                          },
                          i: function (t) {
                            n || ((0, a.Ui)(i, t), (n = !0));
                          },
                          o: function (t) {
                            (0, a.etI)(i, t), (n = !1);
                          },
                          d: function (n) {
                            n && (0, a.ogt)(e), i && i.d(n), t[28](null);
                          },
                        };
                      }
                      function en(t) {
                        var e,
                          n,
                          r = t[7] + "%",
                          i = t[8] + "%";
                        return {
                          c: function () {
                            (e = (0, a.bGB)("div")),
                              (n = (0, a.bGB)("div")),
                              (0, a.Ljt)(
                                n,
                                "class",
                                "vc-scroller-scrollbar-thumb"
                              ),
                              (0, a.czc)(n, "height", r, !1),
                              (0, a.czc)(n, "top", i, !1),
                              (0, a.Ljt)(
                                e,
                                "class",
                                "vc-scroller-scrollbar-track"
                              ),
                              (0, a.czc)(
                                e,
                                "display",
                                t[7] < 100 ? "block" : "none",
                                !1
                              );
                          },
                          m: function (t, r) {
                            (0, a.$Tr)(t, e, r), (0, a.R3I)(e, n);
                          },
                          p: function (t, o) {
                            128 & o[0] &&
                              r !== (r = t[7] + "%") &&
                              (0, a.czc)(n, "height", r, !1),
                              256 & o[0] &&
                                i !== (i = t[8] + "%") &&
                                (0, a.czc)(n, "top", i, !1),
                              128 & o[0] &&
                                (0, a.czc)(
                                  e,
                                  "display",
                                  t[7] < 100 ? "block" : "none",
                                  !1
                                );
                          },
                          d: function (t) {
                            t && (0, a.ogt)(e);
                          },
                        };
                      }
                      function nn(t) {
                        var e,
                          n,
                          r,
                          i,
                          o,
                          s,
                          c,
                          l,
                          u,
                          f,
                          d,
                          h = t[15].header && Ye(t),
                          p = [Ze, Ke],
                          m = [];
                        function v(t, e) {
                          return t[0].length ? 0 : 1;
                        }
                        (o = v(t)), (s = m[o] = p[o](t));
                        var g = t[15].footer && tn(t),
                          y = t[1] && en(t);
                        return {
                          c: function () {
                            (e = (0, a.bGB)("div")),
                              (n = (0, a.bGB)("div")),
                              h && h.c(),
                              (r = (0, a.DhX)()),
                              (i = (0, a.bGB)("div")),
                              s.c(),
                              (c = (0, a.DhX)()),
                              g && g.c(),
                              (l = (0, a.DhX)()),
                              y && y.c(),
                              (0, a.Ljt)(i, "class", "vc-scroller-items"),
                              (0, a.Ljt)(n, "class", "vc-scroller-contents"),
                              (0, a.Ljt)(e, "class", "vc-scroller-viewport"),
                              (0, a.VHj)(e, "static", !t[13]);
                          },
                          m: function (s, p) {
                            (0, a.$Tr)(s, e, p),
                              (0, a.R3I)(e, n),
                              h && h.m(n, null),
                              (0, a.R3I)(n, r),
                              (0, a.R3I)(n, i),
                              m[o].m(i, null),
                              t[27](i),
                              (0, a.R3I)(n, c),
                              g && g.m(n, null),
                              t[29](n),
                              (0, a.R3I)(e, l),
                              y && y.m(e, null),
                              t[30](e),
                              (u = !0),
                              f ||
                                ((d = [
                                  (0, a.oLt)(e, "touchstart", function () {
                                    (0, a.sBU)(
                                      t[13] ? t[11].handleTouchStart : t[12]
                                    ) &&
                                      (t[13]
                                        ? t[11].handleTouchStart
                                        : t[12]
                                      ).apply(this, arguments);
                                  }),
                                  (0, a.oLt)(e, "touchmove", function () {
                                    (0, a.sBU)(
                                      t[13] ? t[11].handleTouchMove : t[12]
                                    ) &&
                                      (t[13]
                                        ? t[11].handleTouchMove
                                        : t[12]
                                      ).apply(this, arguments);
                                  }),
                                  (0, a.oLt)(e, "touchend", function () {
                                    (0, a.sBU)(
                                      t[13] ? t[11].handleTouchEnd : t[12]
                                    ) &&
                                      (t[13]
                                        ? t[11].handleTouchEnd
                                        : t[12]
                                      ).apply(this, arguments);
                                  }),
                                  (0, a.oLt)(e, "touchcancel", function () {
                                    (0, a.sBU)(
                                      t[13] ? t[11].handleTouchCancel : t[12]
                                    ) &&
                                      (t[13]
                                        ? t[11].handleTouchCancel
                                        : t[12]
                                      ).apply(this, arguments);
                                  }),
                                  (0, a.oLt)(e, "wheel", function () {
                                    (0, a.sBU)(
                                      t[13] ? t[11].handleWheel : t[12]
                                    ) &&
                                      (t[13] ? t[11].handleWheel : t[12]).apply(
                                        this,
                                        arguments
                                      );
                                  }),
                                ]),
                                (f = !0));
                          },
                          p: function (c, l) {
                            (t = c)[15].header
                              ? h
                                ? (h.p(t, l), 32768 & l[0] && (0, a.Ui)(h, 1))
                                : ((h = Ye(t)).c(), (0, a.Ui)(h, 1), h.m(n, r))
                              : h &&
                                ((0, a.dvw)(),
                                (0, a.etI)(h, 1, 1, function () {
                                  h = null;
                                }),
                                (0, a.gbL)());
                            var u = o;
                            (o = v(t)) === u
                              ? m[o].p(t, l)
                              : ((0, a.dvw)(),
                                (0, a.etI)(m[u], 1, 1, function () {
                                  m[u] = null;
                                }),
                                (0, a.gbL)(),
                                (s = m[o])
                                  ? s.p(t, l)
                                  : (s = m[o] = p[o](t)).c(),
                                (0, a.Ui)(s, 1),
                                s.m(i, null)),
                              t[15].footer
                                ? g
                                  ? (g.p(t, l), 32768 & l[0] && (0, a.Ui)(g, 1))
                                  : ((g = tn(t)).c(),
                                    (0, a.Ui)(g, 1),
                                    g.m(n, null))
                                : g &&
                                  ((0, a.dvw)(),
                                  (0, a.etI)(g, 1, 1, function () {
                                    g = null;
                                  }),
                                  (0, a.gbL)()),
                              t[1]
                                ? y
                                  ? y.p(t, l)
                                  : ((y = en(t)).c(), y.m(e, null))
                                : y && (y.d(1), (y = null));
                          },
                          i: function (t) {
                            u ||
                              ((0, a.Ui)(h),
                              (0, a.Ui)(s),
                              (0, a.Ui)(g),
                              (u = !0));
                          },
                          o: function (t) {
                            (0, a.etI)(h),
                              (0, a.etI)(s),
                              (0, a.etI)(g),
                              (u = !1);
                          },
                          d: function (n) {
                            n && (0, a.ogt)(e),
                              h && h.d(),
                              m[o].d(),
                              t[27](null),
                              g && g.d(),
                              t[29](null),
                              y && y.d(),
                              t[30](null),
                              (f = !1),
                              (0, a.j7q)(d);
                          },
                        };
                      }
                      function rn(t, e, n) {
                        var r,
                          i,
                          o,
                          c,
                          l,
                          u,
                          f,
                          d = e.$$slots,
                          h = void 0 === d ? {} : d,
                          p = e.$$scope,
                          m = (0, a.XGm)(h),
                          v =
                            (this && this.__awaiter) ||
                            function (t, e, n, r) {
                              return new (n || (n = Promise))(function (i, o) {
                                function a(t) {
                                  try {
                                    c(r.next(t));
                                  } catch (t) {
                                    o(t);
                                  }
                                }
                                function s(t) {
                                  try {
                                    c(r.throw(t));
                                  } catch (t) {
                                    o(t);
                                  }
                                }
                                function c(t) {
                                  var e;
                                  t.done
                                    ? i(t.value)
                                    : ((e = t.value),
                                      e instanceof n
                                        ? e
                                        : new n(function (t) {
                                            t(e);
                                          })).then(a, s);
                                }
                                c((r = r.apply(t, e || [])).next());
                              });
                            },
                          g = e.items,
                          y = e.itemKey,
                          b = void 0 === y ? void 0 : y,
                          V = e.itemHeight,
                          _ = void 0 === V ? void 0 : V,
                          w = e.buffer,
                          S = void 0 === w ? 200 : w,
                          E = e.stickToBottom,
                          A = void 0 !== E && E,
                          T = e.scrollbar,
                          O = void 0 !== T && T,
                          C = e.start,
                          P = void 0 === C ? 0 : C,
                          x = e.end,
                          k = void 0 === x ? 0 : x,
                          I = 0,
                          j = 0,
                          R = 0,
                          D = 0,
                          L = 100,
                          M = 0,
                          N = [],
                          $ = [],
                          B = [],
                          U = (function () {
                            var t = [],
                              e = [],
                              n = 0,
                              r = 0,
                              i = 0,
                              o = 0,
                              a = 0;
                            return function (s, c, l) {
                              if (i === s && o === c && a === l) return t;
                              var u = e.length,
                                f =
                                  c <= r
                                    ? Math.max(
                                        0,
                                        Math.min(
                                          c,
                                          Math.max(n, Math.min(r - 1, l - u))
                                        )
                                      )
                                    : c,
                                d =
                                  n <= l
                                    ? Math.max(
                                        l,
                                        Math.min(
                                          s,
                                          Math.max(n + 1, Math.min(r, f + u))
                                        )
                                      )
                                    : l;
                              if (0 === u || d - f < u) {
                                for (
                                  var h = (t.length = e.length = l - c), p = 0;
                                  p < h;
                                  p += 1
                                )
                                  (e[p] = p),
                                    (t[p] = { key: p, index: p + c, show: !0 });
                                return (
                                  (n = c), (r = l), (i = s), (o = c), (a = l), t
                                );
                              }
                              var m = 0,
                                v = 0,
                                g = 0,
                                y = 0;
                              r < f || d < n
                                ? ((g = f), (y = f + u))
                                : n < f
                                ? ((v = f - n), (g = f), (y = f + u))
                                : d < r
                                ? ((v = u - (r - d)), (g = d - u), (y = d))
                                : f <= n && r <= d && ((g = n), (y = r));
                              for (var b = f; b < c; b += 1, m += 1) {
                                var V = e[(v + m) % u],
                                  _ = t[b - f];
                                (_.key = V), (_.index = b), (_.show = !1);
                              }
                              for (var w = c, S = 0; w < l; w += 1) {
                                var E = void 0;
                                g <= w && w < y
                                  ? ((E = e[(v + m) % u]), (m += 1))
                                  : ((E = u + S), (S += 1));
                                var A = w - f;
                                if (A < t.length) {
                                  var T = t[A];
                                  (T.key = E), (T.index = w), (T.show = !0);
                                } else t.push({ key: E, index: w, show: !0 });
                              }
                              for (var O = l; O < d; O += 1, m += 1) {
                                var C = e[(v + m) % u],
                                  P = t[O - f];
                                (P.key = C), (P.index = O), (P.show = !1);
                              }
                              for (var x = 0; x < t.length; x += 1)
                                e[x] = t[x].key;
                              return (
                                t.sort(function (t, e) {
                                  return t.key - e.key;
                                }),
                                (n = f),
                                (r = d),
                                (i = s),
                                (o = c),
                                (a = l),
                                t
                              );
                            };
                          })(),
                          F = function () {
                            return Math.max(0, D + I + j - R);
                          },
                          H = !0,
                          G = !1,
                          W = [],
                          z = !1,
                          q = !1,
                          X = ge(),
                          Y = function (t, e) {
                            var n;
                            (0, s.H3)(function () {
                              var r = t();
                              if (r) {
                                e(r.getBoundingClientRect().height),
                                  n && n.disconnect();
                                var i = ye();
                                (n = new i(function (t) {
                                  var n = t[0];
                                  e(n.contentRect.height);
                                })).observe(r);
                              } else e(0), n && (n.disconnect(), (n = null));
                            }),
                              (0, s.ev)(function () {
                                n && (n.disconnect(), (n = null));
                              });
                          },
                          K = function () {
                            var t = u.getPosition(),
                              e = 100 / (D + I + j);
                            n(8, (M = t * e)), n(7, (L = R * e));
                          },
                          Z = function (t) {
                            var e = F();
                            (t || u.getPosition() > e) && u.updatePosition(e);
                          },
                          J = function (t) {
                            !(function (t, e, r) {
                              for (
                                var i = new Map(), o = 0;
                                o < W.length;
                                o += 1
                              ) {
                                var a = W[o],
                                  s = void 0 === b ? a : a[b];
                                i.set(s, N[o]);
                              }
                              n(9, ($.length = N.length = t.length), $);
                              for (var c = 0, f = 0; f < t.length; f += 1) {
                                var d = t[f],
                                  h = void 0 === b ? d : d[b];
                                i.has(h) ? (N[f] = i.get(h)) : (N[f] = r),
                                  n(9, ($[f] = c), $),
                                  (c += N[f]);
                              }
                              (D = Math.max(c, e - I - j)),
                                (W = t),
                                X
                                  ? (Q(t, u.getPosition(), e),
                                    n(6, (l.style.height = D + "px"), l),
                                    Z(H && A),
                                    K())
                                  : Q(t, 0, 9e6);
                            })(t, R, _);
                          };
                        function Q(t, e, r) {
                          for (
                            var i = 0, o = 0;
                            i < t.length && o + N[i] < e - S;

                          )
                            (o += N[i]), (i += 1);
                          for (
                            n(16, (P = i));
                            i < t.length && r && o < e + r + S;

                          )
                            (o += N[i]), (i += 1);
                          n(17, (k = i)), n(10, (B = U(t.length, P, k)));
                        }
                        var tt = function (t, e) {
                          return v(
                            void 0,
                            void 0,
                            void 0,
                            me().mark(function r() {
                              var i, o, a, s;
                              return me().wrap(function (r) {
                                for (;;)
                                  switch ((r.prev = r.next)) {
                                    case 0:
                                      if (N[t] !== e && 0 !== R) {
                                        r.next = 2;
                                        break;
                                      }
                                      return r.abrupt("return");
                                    case 2:
                                      for (
                                        i = N[t], N[t] = e, o = g.length, a = t;
                                        a < o - 1;
                                        a += 1
                                      )
                                        n(9, ($[a + 1] = $[a] + N[a]), $);
                                      return (
                                        (D = Math.max(
                                          $[o - 1] + N[o - 1],
                                          R - I - j
                                        )),
                                        (s = u.getPosition()),
                                        (G = !0),
                                        $[t] + i < s
                                          ? u.updatePosition(s + e - i)
                                          : Z(H && A),
                                        (r.next = 12),
                                        new Promise(function (t) {
                                          return setTimeout(t, 0);
                                        })
                                      );
                                    case 12:
                                      Q(g, u.getPosition(), R),
                                        n(6, (l.style.height = D + "px"), l),
                                        K();
                                    case 15:
                                    case "end":
                                      return r.stop();
                                  }
                              }, r);
                            })
                          );
                        };
                        (0, s.H3)(function () {
                          n(23, (z = !0)), Ne.use();
                        }),
                          (0, s.ev)(function () {
                            Ne.unuse();
                          }),
                          X &&
                            (X &&
                              ((u =
                                u ||
                                new Pe(F, function (t) {
                                  return v(
                                    void 0,
                                    void 0,
                                    void 0,
                                    me().mark(function e() {
                                      var r;
                                      return me().wrap(function (e) {
                                        for (;;)
                                          switch ((e.prev = e.next)) {
                                            case 0:
                                              if (
                                                ((r = F()),
                                                (H = Math.abs(t - r) <= 1),
                                                n(
                                                  5,
                                                  (c.style.transform =
                                                    "translateY(" +
                                                    -t +
                                                    "px) translateZ(0)"),
                                                  c
                                                ),
                                                K(),
                                                !G)
                                              ) {
                                                e.next = 8;
                                                break;
                                              }
                                              (G = !1), (e.next = 11);
                                              break;
                                            case 8:
                                              return (
                                                (e.next = 10),
                                                new Promise(function (t) {
                                                  return setTimeout(t, 0);
                                                })
                                              );
                                            case 10:
                                              Q(g, t, R);
                                            case 11:
                                            case "end":
                                              return e.stop();
                                          }
                                      }, e);
                                    })
                                  );
                                })),
                              n(11, (f = f || new Ie(u)))),
                            !q &&
                              X &&
                              (Y(
                                function () {
                                  return o;
                                },
                                function (t) {
                                  return v(
                                    void 0,
                                    void 0,
                                    void 0,
                                    me().mark(function e() {
                                      var r, i;
                                      return me().wrap(function (e) {
                                        for (;;)
                                          switch ((e.prev = e.next)) {
                                            case 0:
                                              if (R !== t) {
                                                e.next = 2;
                                                break;
                                              }
                                              return e.abrupt("return");
                                            case 2:
                                              for (
                                                R = t, r = 0, i = 0;
                                                i < g.length;
                                                i += 1
                                              )
                                                r += N[i];
                                              return (
                                                (D = Math.max(r, R - j)),
                                                n(
                                                  6,
                                                  (l.style.height = D + "px"),
                                                  l
                                                ),
                                                (e.next = 9),
                                                new Promise(function (t) {
                                                  return setTimeout(t, 0);
                                                })
                                              );
                                            case 9:
                                              J(g),
                                                Q(g, u.getPosition(), R),
                                                0 !== R && Z(H && A),
                                                K();
                                            case 13:
                                            case "end":
                                              return e.stop();
                                          }
                                      }, e);
                                    })
                                  );
                                }
                              ),
                              Y(
                                function () {
                                  return i;
                                },
                                function (t) {
                                  if (j !== t) {
                                    j = t;
                                    for (var e = 0, r = 0; r < g.length; r += 1)
                                      e += N[r];
                                    (D = Math.max(e, R - I - j)),
                                      n(6, (l.style.height = D + "px"), l),
                                      0 !== R && Z(H && A),
                                      K();
                                  }
                                }
                              ),
                              Y(
                                function () {
                                  return r;
                                },
                                function (t) {
                                  I !== t && ((I = t), J(g), K());
                                }
                              )));
                        var et = {
                          scrollTo: function (t) {
                            if (X) {
                              var e = $[Math.max(0, Math.min(g.length - 1, t))],
                                n = Math.min(F(), e),
                                r = Math.min(
                                  Math.floor(
                                    (500 * Math.abs(u.getPosition() - n)) / 2e3
                                  ),
                                  500
                                );
                              u.scrollTo(n, r);
                            }
                          },
                        };
                        return (
                          (t.$$set = function (t) {
                            "items" in t && n(0, (g = t.items)),
                              "itemKey" in t && n(18, (b = t.itemKey)),
                              "itemHeight" in t && n(19, (_ = t.itemHeight)),
                              "buffer" in t && n(20, (S = t.buffer)),
                              "stickToBottom" in t &&
                                n(21, (A = t.stickToBottom)),
                              "scrollbar" in t && n(1, (O = t.scrollbar)),
                              "start" in t && n(16, (P = t.start)),
                              "end" in t && n(17, (k = t.end)),
                              "$$scope" in t && n(31, (p = t.$$scope));
                          }),
                          (t.$$.update = function () {
                            8388609 & t.$$.dirty[0] &&
                              z &&
                              (X ||
                                n(
                                  4,
                                  (o.parentElement.style.height = "auto"),
                                  o
                                ),
                              J(g),
                              (q = !0));
                          }),
                          [
                            g,
                            O,
                            r,
                            i,
                            o,
                            c,
                            l,
                            L,
                            M,
                            $,
                            B,
                            f,
                            function () {},
                            X,
                            tt,
                            m,
                            P,
                            k,
                            b,
                            _,
                            S,
                            A,
                            et,
                            z,
                            h,
                            function (t) {
                              a.VnY[t ? "unshift" : "push"](function () {
                                n(2, (r = t));
                              });
                            },
                            function (t, e) {
                              return tt(t.index, e);
                            },
                            function (t) {
                              a.VnY[t ? "unshift" : "push"](function () {
                                n(6, (l = t));
                              });
                            },
                            function (t) {
                              a.VnY[t ? "unshift" : "push"](function () {
                                n(3, (i = t));
                              });
                            },
                            function (t) {
                              a.VnY[t ? "unshift" : "push"](function () {
                                n(5, (c = t));
                              });
                            },
                            function (t) {
                              a.VnY[t ? "unshift" : "push"](function () {
                                n(4, (o = t)), n(23, z), n(13, X), n(0, g);
                              });
                            },
                            p,
                          ]
                        );
                      }
                      var on = (function (e) {
                        function n(t) {
                          var n;
                          return (
                            (n = e.call(this) || this),
                            (0, a.S1n)(
                              (0, i.Z)(n),
                              t,
                              rn,
                              nn,
                              a.N8,
                              {
                                items: 0,
                                itemKey: 18,
                                itemHeight: 19,
                                buffer: 20,
                                stickToBottom: 21,
                                scrollbar: 1,
                                start: 16,
                                end: 17,
                                handler: 22,
                              },
                              null,
                              [-1, -1]
                            ),
                            n
                          );
                        }
                        return (
                          (0, o.Z)(n, e),
                          (0, t.Z)(n, [
                            {
                              key: "items",
                              get: function () {
                                return this.$$.ctx[0];
                              },
                              set: function (t) {
                                this.$$set({ items: t }), (0, a.yl1)();
                              },
                            },
                            {
                              key: "itemKey",
                              get: function () {
                                return this.$$.ctx[18];
                              },
                              set: function (t) {
                                this.$$set({ itemKey: t }), (0, a.yl1)();
                              },
                            },
                            {
                              key: "itemHeight",
                              get: function () {
                                return this.$$.ctx[19];
                              },
                              set: function (t) {
                                this.$$set({ itemHeight: t }), (0, a.yl1)();
                              },
                            },
                            {
                              key: "buffer",
                              get: function () {
                                return this.$$.ctx[20];
                              },
                              set: function (t) {
                                this.$$set({ buffer: t }), (0, a.yl1)();
                              },
                            },
                            {
                              key: "stickToBottom",
                              get: function () {
                                return this.$$.ctx[21];
                              },
                              set: function (t) {
                                this.$$set({ stickToBottom: t }), (0, a.yl1)();
                              },
                            },
                            {
                              key: "scrollbar",
                              get: function () {
                                return this.$$.ctx[1];
                              },
                              set: function (t) {
                                this.$$set({ scrollbar: t }), (0, a.yl1)();
                              },
                            },
                            {
                              key: "start",
                              get: function () {
                                return this.$$.ctx[16];
                              },
                              set: function (t) {
                                this.$$set({ start: t }), (0, a.yl1)();
                              },
                            },
                            {
                              key: "end",
                              get: function () {
                                return this.$$.ctx[17];
                              },
                              set: function (t) {
                                this.$$set({ end: t }), (0, a.yl1)();
                              },
                            },
                            {
                              key: "handler",
                              get: function () {
                                return this.$$.ctx[22];
                              },
                            },
                          ]),
                          n
                        );
                      })(a.f_C);
                      function an(t) {
                        var e;
                        return {
                          c: function () {
                            ((e = (0, a.bGB)("div")).textContent = "Empty"),
                              (0, a.Ljt)(e, "slot", "empty"),
                              (0, a.Ljt)(e, "class", "vc-plugin-empty");
                          },
                          m: function (t, n) {
                            (0, a.$Tr)(t, e, n);
                          },
                          p: a.ZTd,
                          d: function (t) {
                            t && (0, a.ogt)(e);
                          },
                        };
                      }
                      function sn(t) {
                        var e, n;
                        return (
                          (e = new ae({
                            props: {
                              slot: "item",
                              log: t[16],
                              showTimestamps: t[1],
                              groupHeader: t[16].groupHeader,
                            },
                          })).$on("groupCollapsed", t[6]),
                          {
                            c: function () {
                              (0, a.YCL)(e.$$.fragment);
                            },
                            m: function (t, r) {
                              (0, a.yef)(e, t, r), (n = !0);
                            },
                            p: function (t, n) {
                              var r = {};
                              65536 & n && (r.log = t[16]),
                                2 & n && (r.showTimestamps = t[1]),
                                65536 & n &&
                                  (r.groupHeader = t[16].groupHeader),
                                e.$set(r);
                            },
                            i: function (t) {
                              n || ((0, a.Ui)(e.$$.fragment, t), (n = !0));
                            },
                            o: function (t) {
                              (0, a.etI)(e.$$.fragment, t), (n = !1);
                            },
                            d: function (t) {
                              (0, a.vpE)(e, t);
                            },
                          }
                        );
                      }
                      function cn(t) {
                        var e, n;
                        return (
                          (e = new se.Z({})).$on("filterText", t[5]),
                          {
                            c: function () {
                              (0, a.YCL)(e.$$.fragment);
                            },
                            m: function (t, r) {
                              (0, a.yef)(e, t, r), (n = !0);
                            },
                            p: a.ZTd,
                            i: function (t) {
                              n || ((0, a.Ui)(e.$$.fragment, t), (n = !0));
                            },
                            o: function (t) {
                              (0, a.etI)(e.$$.fragment, t), (n = !1);
                            },
                            d: function (t) {
                              (0, a.vpE)(e, t);
                            },
                          }
                        );
                      }
                      function ln(t) {
                        var e,
                          n,
                          r = t[0] && cn(t);
                        return {
                          c: function () {
                            r && r.c(), (e = (0, a.cSb)());
                          },
                          m: function (t, i) {
                            r && r.m(t, i), (0, a.$Tr)(t, e, i), (n = !0);
                          },
                          p: function (t, n) {
                            t[0]
                              ? r
                                ? (r.p(t, n), 1 & n && (0, a.Ui)(r, 1))
                                : ((r = cn(t)).c(),
                                  (0, a.Ui)(r, 1),
                                  r.m(e.parentNode, e))
                              : r &&
                                ((0, a.dvw)(),
                                (0, a.etI)(r, 1, 1, function () {
                                  r = null;
                                }),
                                (0, a.gbL)());
                          },
                          i: function (t) {
                            n || ((0, a.Ui)(r), (n = !0));
                          },
                          o: function (t) {
                            (0, a.etI)(r), (n = !1);
                          },
                          d: function (t) {
                            r && r.d(t), t && (0, a.ogt)(e);
                          },
                        };
                      }
                      function un(t) {
                        var e, n, r, i;
                        function o(e) {
                          t[15](e);
                        }
                        var s = {
                          items: t[4],
                          itemKey: "_id",
                          itemHeight: 30,
                          buffer: 100,
                          stickToBottom: !0,
                          scrollbar: !0,
                          $$slots: {
                            footer: [ln],
                            item: [
                              sn,
                              function (t) {
                                return { 16: t.item };
                              },
                              function (t) {
                                return t.item ? 65536 : 0;
                              },
                            ],
                            empty: [an],
                          },
                          $$scope: { ctx: t },
                        };
                        return (
                          void 0 !== t[3] && (s.handler = t[3]),
                          (n = new on({ props: s })),
                          a.VnY.push(function () {
                            return (0, a.akz)(n, "handler", o);
                          }),
                          {
                            c: function () {
                              (e = (0, a.bGB)("div")),
                                (0, a.YCL)(n.$$.fragment),
                                (0, a.Ljt)(e, "class", "vc-plugin-content"),
                                (0, a.VHj)(e, "vc-logs-has-cmd", t[0]);
                            },
                            m: function (t, r) {
                              (0, a.$Tr)(t, e, r),
                                (0, a.yef)(n, e, null),
                                (i = !0);
                            },
                            p: function (t, i) {
                              var o = i[0],
                                s = {};
                              16 & o && (s.items = t[4]),
                                196611 & o &&
                                  (s.$$scope = { dirty: o, ctx: t }),
                                !r &&
                                  8 & o &&
                                  ((r = !0),
                                  (s.handler = t[3]),
                                  (0, a.hjT)(function () {
                                    return (r = !1);
                                  })),
                                n.$set(s),
                                1 & o && (0, a.VHj)(e, "vc-logs-has-cmd", t[0]);
                            },
                            i: function (t) {
                              i || ((0, a.Ui)(n.$$.fragment, t), (i = !0));
                            },
                            o: function (t) {
                              (0, a.etI)(n.$$.fragment, t), (i = !1);
                            },
                            d: function (t) {
                              t && (0, a.ogt)(e), (0, a.vpE)(n);
                            },
                          }
                        );
                      }
                      function fn(t, e, n) {
                        var r,
                          i = a.ZTd;
                        t.$$.on_destroy.push(function () {
                          return i();
                        });
                        var o,
                          c,
                          l = e.pluginId,
                          u = void 0 === l ? "default" : l,
                          f = e.showCmd,
                          d = void 0 !== f && f,
                          h = e.filterType,
                          p = void 0 === h ? "all" : h,
                          m = e.showTimestamps,
                          v = void 0 !== m && m,
                          g = !1,
                          y = "",
                          b = [];
                        return (
                          (0, s.H3)(function () {
                            he.use();
                          }),
                          (0, s.ev)(function () {
                            he.unuse();
                          }),
                          (t.$$set = function (t) {
                            "pluginId" in t && n(7, (u = t.pluginId)),
                              "showCmd" in t && n(0, (d = t.showCmd)),
                              "filterType" in t && n(8, (p = t.filterType)),
                              "showTimestamps" in t &&
                                n(1, (v = t.showTimestamps));
                          }),
                          (t.$$.update = function () {
                            29056 & t.$$.dirty &&
                              (g ||
                                (n(2, (o = it.O.get(u))),
                                i(),
                                (i = (0, a.LdU)(o, function (t) {
                                  return n(14, (r = t));
                                })),
                                n(12, (g = !0))),
                              n(
                                4,
                                (b = r.logList.filter(function (t) {
                                  return (
                                    ("all" === p || p === t.type) &&
                                    ("" === y || (0, rt.HX)(t, y)) &&
                                    !t.groupCollapsed
                                  );
                                }))
                              ));
                          }),
                          [
                            d,
                            v,
                            o,
                            c,
                            b,
                            function (t) {
                              n(13, (y = t.detail.filterText || ""));
                            },
                            function (t) {
                              var e = t.detail.groupLabel,
                                n = t.detail.groupHeader,
                                r = t.detail.isGroupCollapsed;
                              o.update(function (t) {
                                return (
                                  t.logList.forEach(function (t) {
                                    t.groupLabel === e &&
                                      (t.groupHeader > 0
                                        ? (t.groupHeader = n)
                                        : (t.groupCollapsed = r));
                                  }),
                                  t
                                );
                              });
                            },
                            u,
                            p,
                            function () {
                              c.scrollTo(0);
                            },
                            function () {
                              c.scrollTo(b.length - 1);
                            },
                            { fixedHeight: !0 },
                            g,
                            y,
                            r,
                            function (t) {
                              n(3, (c = t));
                            },
                          ]
                        );
                      }
                      var dn = (function (e) {
                          function n(t) {
                            var n;
                            return (
                              (n = e.call(this) || this),
                              (0, a.S1n)((0, i.Z)(n), t, fn, un, a.N8, {
                                pluginId: 7,
                                showCmd: 0,
                                filterType: 8,
                                showTimestamps: 1,
                                scrollToTop: 9,
                                scrollToBottom: 10,
                                options: 11,
                              }),
                              n
                            );
                          }
                          return (
                            (0, o.Z)(n, e),
                            (0, t.Z)(n, [
                              {
                                key: "pluginId",
                                get: function () {
                                  return this.$$.ctx[7];
                                },
                                set: function (t) {
                                  this.$$set({ pluginId: t }), (0, a.yl1)();
                                },
                              },
                              {
                                key: "showCmd",
                                get: function () {
                                  return this.$$.ctx[0];
                                },
                                set: function (t) {
                                  this.$$set({ showCmd: t }), (0, a.yl1)();
                                },
                              },
                              {
                                key: "filterType",
                                get: function () {
                                  return this.$$.ctx[8];
                                },
                                set: function (t) {
                                  this.$$set({ filterType: t }), (0, a.yl1)();
                                },
                              },
                              {
                                key: "showTimestamps",
                                get: function () {
                                  return this.$$.ctx[1];
                                },
                                set: function (t) {
                                  this.$$set({ showTimestamps: t }),
                                    (0, a.yl1)();
                                },
                              },
                              {
                                key: "scrollToTop",
                                get: function () {
                                  return this.$$.ctx[9];
                                },
                              },
                              {
                                key: "scrollToBottom",
                                get: function () {
                                  return this.$$.ctx[10];
                                },
                              },
                              {
                                key: "options",
                                get: function () {
                                  return this.$$.ctx[11];
                                },
                              },
                            ]),
                            n
                          );
                        })(a.f_C),
                        hn = __nested_webpack_require_427559__(5629),
                        pn = (function () {
                          function t(t) {
                            (this.model = void 0),
                              (this.pluginId = void 0),
                              (this.pluginId = t);
                          }
                          return (
                            (t.prototype.destroy = function () {
                              this.model = void 0;
                            }),
                            t
                          );
                        })(),
                        mn = (function (t) {
                          function e() {
                            for (
                              var e,
                                n = arguments.length,
                                r = new Array(n),
                                i = 0;
                              i < n;
                              i++
                            )
                              r[i] = arguments[i];
                            return (
                              ((e =
                                t.call.apply(t, [this].concat(r)) ||
                                this).model = hn.W.getSingleton(
                                hn.W,
                                "VConsoleLogModel"
                              )),
                              e
                            );
                          }
                          (0, o.Z)(e, t);
                          var n = e.prototype;
                          return (
                            (n.log = function () {
                              for (
                                var t = arguments.length,
                                  e = new Array(t),
                                  n = 0;
                                n < t;
                                n++
                              )
                                e[n] = arguments[n];
                              this.addLog.apply(this, ["log"].concat(e));
                            }),
                            (n.info = function () {
                              for (
                                var t = arguments.length,
                                  e = new Array(t),
                                  n = 0;
                                n < t;
                                n++
                              )
                                e[n] = arguments[n];
                              this.addLog.apply(this, ["info"].concat(e));
                            }),
                            (n.debug = function () {
                              for (
                                var t = arguments.length,
                                  e = new Array(t),
                                  n = 0;
                                n < t;
                                n++
                              )
                                e[n] = arguments[n];
                              this.addLog.apply(this, ["debug"].concat(e));
                            }),
                            (n.warn = function () {
                              for (
                                var t = arguments.length,
                                  e = new Array(t),
                                  n = 0;
                                n < t;
                                n++
                              )
                                e[n] = arguments[n];
                              this.addLog.apply(this, ["warn"].concat(e));
                            }),
                            (n.error = function () {
                              for (
                                var t = arguments.length,
                                  e = new Array(t),
                                  n = 0;
                                n < t;
                                n++
                              )
                                e[n] = arguments[n];
                              this.addLog.apply(this, ["error"].concat(e));
                            }),
                            (n.clear = function () {
                              this.model &&
                                this.model.clearPluginLog(this.pluginId);
                            }),
                            (n.addLog = function (t) {
                              if (this.model) {
                                for (
                                  var e = arguments.length,
                                    n = new Array(e > 1 ? e - 1 : 0),
                                    r = 1;
                                  r < e;
                                  r++
                                )
                                  n[r - 1] = arguments[r];
                                n.unshift("[" + this.pluginId + "]"),
                                  this.model.addLog(
                                    { type: t, origData: n },
                                    { noOrig: !0 }
                                  );
                              }
                            }),
                            e
                          );
                        })(pn),
                        vn = (function (t) {
                          function e(e, n) {
                            var r;
                            return (
                              ((r =
                                t.call(this, e, n, dn, {
                                  pluginId: e,
                                  filterType: "all",
                                }) || this).model = hn.W.getSingleton(
                                hn.W,
                                "VConsoleLogModel"
                              )),
                              (r.isReady = !1),
                              (r.isShow = !1),
                              (r.isInBottom = !0),
                              r.model.bindPlugin(e),
                              (r.exporter = new mn(e)),
                              r
                            );
                          }
                          (0, o.Z)(e, t);
                          var n = e.prototype;
                          return (
                            (n.onReady = function () {
                              var e, n;
                              t.prototype.onReady.call(this),
                                (this.model.maxLogNumber =
                                  Number(
                                    null == (e = this.vConsole.option.log)
                                      ? void 0
                                      : e.maxLogNumber
                                  ) || 1e3),
                                (this.compInstance.showTimestamps = !(
                                  null == (n = this.vConsole.option.log) ||
                                  !n.showTimestamps
                                ));
                            }),
                            (n.onRemove = function () {
                              t.prototype.onRemove.call(this),
                                this.model.unbindPlugin(this.id);
                            }),
                            (n.onAddTopBar = function (t) {
                              for (
                                var e = this,
                                  n = ["All", "Log", "Info", "Warn", "Error"],
                                  r = [],
                                  i = 0;
                                i < n.length;
                                i++
                              )
                                r.push({
                                  name: n[i],
                                  data: { type: n[i].toLowerCase() },
                                  actived: 0 === i,
                                  className: "",
                                  onClick: function (t, n) {
                                    if (n.type === e.compInstance.filterType)
                                      return !1;
                                    e.compInstance.filterType = n.type;
                                  },
                                });
                              (r[0].className = "vc-actived"), t(r);
                            }),
                            (n.onAddTool = function (t) {
                              var e = this;
                              t([
                                {
                                  name: "Clear",
                                  global: !1,
                                  onClick: function (t) {
                                    e.model.clearPluginLog(e.id),
                                      e.vConsole.triggerEvent("clearLog");
                                  },
                                },
                                {
                                  name: "Top",
                                  global: !1,
                                  onClick: function (t) {
                                    e.compInstance.scrollToTop();
                                  },
                                },
                                {
                                  name: "Bottom",
                                  global: !1,
                                  onClick: function (t) {
                                    e.compInstance.scrollToBottom();
                                  },
                                },
                              ]);
                            }),
                            (n.onUpdateOption = function () {
                              var t, e, n, r;
                              (null == (t = this.vConsole.option.log)
                                ? void 0
                                : t.maxLogNumber) !== this.model.maxLogNumber &&
                                (this.model.maxLogNumber =
                                  Number(
                                    null == (n = this.vConsole.option.log)
                                      ? void 0
                                      : n.maxLogNumber
                                  ) || 1e3),
                                !(
                                  null == (e = this.vConsole.option.log) ||
                                  !e.showTimestamps
                                ) !== this.compInstance.showTimestamps &&
                                  (this.compInstance.showTimestamps = !(
                                    null == (r = this.vConsole.option.log) ||
                                    !r.showTimestamps
                                  ));
                            }),
                            e
                          );
                        })(nt),
                        gn = (function (t) {
                          function n() {
                            for (
                              var e,
                                n = arguments.length,
                                r = new Array(n),
                                i = 0;
                              i < n;
                              i++
                            )
                              r[i] = arguments[i];
                            return (
                              ((e =
                                t.call.apply(t, [this].concat(r)) ||
                                this).onErrorHandler = void 0),
                              (e.resourceErrorHandler = void 0),
                              (e.rejectionHandler = void 0),
                              e
                            );
                          }
                          (0, o.Z)(n, t);
                          var r = n.prototype;
                          return (
                            (r.onReady = function () {
                              t.prototype.onReady.call(this),
                                this.bindErrors(),
                                (this.compInstance.showCmd = !0);
                            }),
                            (r.onRemove = function () {
                              t.prototype.onRemove.call(this),
                                this.unbindErrors();
                            }),
                            (r.bindErrors = function () {
                              e.FJ(window) &&
                                e.mf(window.addEventListener) &&
                                (this.catchWindowOnError(),
                                this.catchResourceError(),
                                this.catchUnhandledRejection());
                            }),
                            (r.unbindErrors = function () {
                              e.FJ(window) &&
                                e.mf(window.addEventListener) &&
                                (window.removeEventListener(
                                  "error",
                                  this.onErrorHandler
                                ),
                                window.removeEventListener(
                                  "error",
                                  this.resourceErrorHandler
                                ),
                                window.removeEventListener(
                                  "unhandledrejection",
                                  this.rejectionHandler
                                ));
                            }),
                            (r.catchWindowOnError = function () {
                              var t = this;
                              (this.onErrorHandler = this.onErrorHandler
                                ? this.onErrorHandler
                                : function (e) {
                                    var n = e.message;
                                    e.filename &&
                                      ((n +=
                                        "\\n\\t" +
                                        e.filename.replace(
                                          location.origin,
                                          ""
                                        )),
                                      (e.lineno || e.colno) &&
                                        (n += ":" + e.lineno + ":" + e.colno)),
                                      (n +=
                                        "\\n" +
                                        ((!!e.error &&
                                          !!e.error.stack &&
                                          e.error.stack.toString()) ||
                                          "")),
                                      t.model.addLog(
                                        { type: "error", origData: [n] },
                                        { noOrig: !0 }
                                      );
                                  }),
                                window.removeEventListener(
                                  "error",
                                  this.onErrorHandler
                                ),
                                window.addEventListener(
                                  "error",
                                  this.onErrorHandler
                                );
                            }),
                            (r.catchResourceError = function () {
                              var t = this;
                              (this.resourceErrorHandler = this
                                .resourceErrorHandler
                                ? this.resourceErrorHandler
                                : function (e) {
                                    var n = e.target;
                                    if (
                                      [
                                        "link",
                                        "video",
                                        "script",
                                        "img",
                                        "audio",
                                      ].indexOf(n.localName) > -1
                                    ) {
                                      var r = n.href || n.src || n.currentSrc;
                                      t.model.addLog(
                                        {
                                          type: "error",
                                          origData: [
                                            "GET <" +
                                              n.localName +
                                              "> error: " +
                                              r,
                                          ],
                                        },
                                        { noOrig: !0 }
                                      );
                                    }
                                  }),
                                window.removeEventListener(
                                  "error",
                                  this.resourceErrorHandler
                                ),
                                window.addEventListener(
                                  "error",
                                  this.resourceErrorHandler,
                                  !0
                                );
                            }),
                            (r.catchUnhandledRejection = function () {
                              var t = this;
                              (this.rejectionHandler = this.rejectionHandler
                                ? this.rejectionHandler
                                : function (e) {
                                    var n = e && e.reason,
                                      r = "Uncaught (in promise) ",
                                      i = [r, n];
                                    n instanceof Error &&
                                      (i = [
                                        r,
                                        {
                                          name: n.name,
                                          message: n.message,
                                          stack: n.stack,
                                        },
                                      ]),
                                      t.model.addLog(
                                        { type: "error", origData: i },
                                        { noOrig: !0 }
                                      );
                                  }),
                                window.removeEventListener(
                                  "unhandledrejection",
                                  this.rejectionHandler
                                ),
                                window.addEventListener(
                                  "unhandledrejection",
                                  this.rejectionHandler
                                );
                            }),
                            n
                          );
                        })(vn),
                        yn = (function (t) {
                          function e() {
                            return t.apply(this, arguments) || this;
                          }
                          (0, o.Z)(e, t);
                          var n = e.prototype;
                          return (
                            (n.onReady = function () {
                              t.prototype.onReady.call(this),
                                this.printSystemInfo();
                            }),
                            (n.printSystemInfo = function () {
                              var t = navigator.userAgent,
                                e = [],
                                n = t.match(/MicroMessenger\/([\d\.]+)/i),
                                r = n && n[1] ? n[1] : null;
                              "servicewechat.com" === location.host ||
                                console.info(
                                  "[system]",
                                  "Location:",
                                  location.href
                                );
                              var i = t.match(/(ipod).*\s([\d_]+)/i),
                                o = t.match(/(ipad).*\s([\d_]+)/i),
                                a = t.match(/(iphone)\sos\s([\d_]+)/i),
                                s = t.match(/(android)\s([\d\.]+)/i),
                                c = t.match(/(Mac OS X)\s([\d_]+)/i);
                              (e = []),
                                s
                                  ? e.push("Android " + s[2])
                                  : a
                                  ? e.push(
                                      "iPhone, iOS " + a[2].replace(/_/g, ".")
                                    )
                                  : o
                                  ? e.push(
                                      "iPad, iOS " + o[2].replace(/_/g, ".")
                                    )
                                  : i
                                  ? e.push(
                                      "iPod, iOS " + i[2].replace(/_/g, ".")
                                    )
                                  : c &&
                                    e.push(
                                      "Mac, MacOS " + c[2].replace(/_/g, ".")
                                    ),
                                r && e.push("WeChat " + r),
                                console.info(
                                  "[system]",
                                  "Client:",
                                  e.length ? e.join(", ") : "Unknown"
                                );
                              var l = t
                                .toLowerCase()
                                .match(/ nettype\/([^ ]+)/g);
                              l &&
                                l[0] &&
                                ((e = [(l = l[0].split("/"))[1]]),
                                console.info(
                                  "[system]",
                                  "Network:",
                                  e.length ? e.join(", ") : "Unknown"
                                )),
                                console.info("[system]", "UA:", t),
                                setTimeout(function () {
                                  var t =
                                    window.performance ||
                                    window.msPerformance ||
                                    window.webkitPerformance;
                                  if (t && t.timing) {
                                    var e = t.timing;
                                    e.navigationStart &&
                                      console.info(
                                        "[system]",
                                        "navigationStart:",
                                        e.navigationStart
                                      ),
                                      e.navigationStart &&
                                        e.domainLookupStart &&
                                        console.info(
                                          "[system]",
                                          "navigation:",
                                          e.domainLookupStart -
                                            e.navigationStart +
                                            "ms"
                                        ),
                                      e.domainLookupEnd &&
                                        e.domainLookupStart &&
                                        console.info(
                                          "[system]",
                                          "dns:",
                                          e.domainLookupEnd -
                                            e.domainLookupStart +
                                            "ms"
                                        ),
                                      e.connectEnd &&
                                        e.connectStart &&
                                        (e.connectEnd && e.secureConnectionStart
                                          ? console.info(
                                              "[system]",
                                              "tcp (ssl):",
                                              e.connectEnd -
                                                e.connectStart +
                                                "ms (" +
                                                (e.connectEnd -
                                                  e.secureConnectionStart) +
                                                "ms)"
                                            )
                                          : console.info(
                                              "[system]",
                                              "tcp:",
                                              e.connectEnd -
                                                e.connectStart +
                                                "ms"
                                            )),
                                      e.responseStart &&
                                        e.requestStart &&
                                        console.info(
                                          "[system]",
                                          "request:",
                                          e.responseStart -
                                            e.requestStart +
                                            "ms"
                                        ),
                                      e.responseEnd &&
                                        e.responseStart &&
                                        console.info(
                                          "[system]",
                                          "response:",
                                          e.responseEnd - e.responseStart + "ms"
                                        ),
                                      e.domComplete &&
                                        e.domLoading &&
                                        (e.domContentLoadedEventStart &&
                                        e.domLoading
                                          ? console.info(
                                              "[system]",
                                              "domComplete (domLoaded):",
                                              e.domComplete -
                                                e.domLoading +
                                                "ms (" +
                                                (e.domContentLoadedEventStart -
                                                  e.domLoading) +
                                                "ms)"
                                            )
                                          : console.info(
                                              "[system]",
                                              "domComplete:",
                                              e.domComplete -
                                                e.domLoading +
                                                "ms"
                                            )),
                                      e.loadEventEnd &&
                                        e.loadEventStart &&
                                        console.info(
                                          "[system]",
                                          "loadEvent:",
                                          e.loadEventEnd -
                                            e.loadEventStart +
                                            "ms"
                                        ),
                                      e.navigationStart &&
                                        e.loadEventEnd &&
                                        console.info(
                                          "[system]",
                                          "total (DOM):",
                                          e.loadEventEnd -
                                            e.navigationStart +
                                            "ms (" +
                                            (e.domComplete -
                                              e.navigationStart) +
                                            "ms)"
                                        );
                                  }
                                }, 0);
                            }),
                            e
                          );
                        })(vn),
                        bn = __nested_webpack_require_427559__(3313),
                        Vn = __nested_webpack_require_427559__(643);
                      function _n(t, e) {
                        var n =
                          (typeof Symbol < "u" && t[Symbol.iterator]) ||
                          t["@@iterator"];
                        if (n) return (n = n.call(t)).next.bind(n);
                        if (
                          Array.isArray(t) ||
                          (n = (function (t, e) {
                            if (t) {
                              if ("string" == typeof t) return wn(t, e);
                              var n = Object.prototype.toString
                                .call(t)
                                .slice(8, -1);
                              if (
                                ("Object" === n &&
                                  t.constructor &&
                                  (n = t.constructor.name),
                                "Map" === n || "Set" === n)
                              )
                                return Array.from(t);
                              if (
                                "Arguments" === n ||
                                /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(
                                  n
                                )
                              )
                                return wn(t, e);
                            }
                          })(t)) ||
                          (e && t && "number" == typeof t.length)
                        ) {
                          n && (t = n);
                          var r = 0;
                          return function () {
                            return r >= t.length
                              ? { done: !0 }
                              : { done: !1, value: t[r++] };
                          };
                        }
                        throw new TypeError(
                          "Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."
                        );
                      }
                      function wn(t, e) {
                        (null == e || e > t.length) && (e = t.length);
                        for (var n = 0, r = new Array(e); n < e; n++)
                          r[n] = t[n];
                        return r;
                      }
                      var Sn = function (t, n) {
                          void 0 === n && (n = {}), e.Kn(n) || (n = {});
                          var r = t ? t.split("?") : [];
                          if ((r.shift(), r.length > 0))
                            for (
                              var i, o = _n((r = r.join("?").split("&")));
                              !(i = o()).done;

                            ) {
                              var a = i.value.split("=");
                              try {
                                n[a[0]] = decodeURIComponent(a[1]);
                              } catch {
                                n[a[0]] = a[1];
                              }
                            }
                          return n;
                        },
                        En = function (t, n) {
                          var r = "";
                          switch (t) {
                            case "":
                            case "text":
                            case "json":
                              if (e.HD(n))
                                try {
                                  (r = JSON.parse(n)),
                                    (r = e.hZ(r, {
                                      maxDepth: 10,
                                      keyMaxLen: 1e4,
                                      pretty: !0,
                                      standardJSON: !0,
                                    }));
                                } catch {
                                  r = e.id(String(n), 1e4);
                                }
                              else
                                e.Kn(n) || e.kJ(n)
                                  ? (r = e.hZ(n, {
                                      maxDepth: 10,
                                      keyMaxLen: 1e4,
                                      pretty: !0,
                                      standardJSON: !0,
                                    }))
                                  : void 0 !== n &&
                                    (r = Object.prototype.toString.call(n));
                              break;
                            default:
                              void 0 !== n &&
                                (r = Object.prototype.toString.call(n));
                          }
                          return r;
                        },
                        An = function (t) {
                          if (!t) return null;
                          var n = null;
                          if ("string" == typeof t)
                            try {
                              n = JSON.parse(t);
                            } catch {
                              var r = t.split("&");
                              if (1 === r.length) n = t;
                              else {
                                n = {};
                                for (var i, o = _n(r); !(i = o()).done; ) {
                                  var a = i.value.split("=");
                                  n[a[0]] =
                                    void 0 === a[1] ? "undefined" : a[1];
                                }
                              }
                            }
                          else if (e.TW(t)) {
                            n = {};
                            for (var s, c = _n(t); !(s = c()).done; ) {
                              var l = s.value,
                                u = l[0],
                                f = l[1];
                              n[u] =
                                "string" == typeof f ? f : "[object Object]";
                            }
                          } else n = e.PO(t) ? t : "[object " + e.zl(t) + "]";
                          return n;
                        },
                        Tn = function (t) {
                          return (
                            void 0 === t && (t = ""),
                            t.startsWith("//") &&
                              (t =
                                "" +
                                new URL(window.location.href).protocol +
                                t),
                            t.startsWith("http")
                              ? new URL(t)
                              : new URL(t, window.location.href)
                          );
                        },
                        On = function () {
                          (this.id = ""),
                            (this.name = ""),
                            (this.method = ""),
                            (this.url = ""),
                            (this.status = 0),
                            (this.statusText = ""),
                            (this.cancelState = 0),
                            (this.readyState = 0),
                            (this.header = null),
                            (this.responseType = ""),
                            (this.requestType = void 0),
                            (this.requestHeader = null),
                            (this.response = void 0),
                            (this.responseSize = 0),
                            (this.responseSizeText = ""),
                            (this.startTime = 0),
                            (this.startTimeText = ""),
                            (this.endTime = 0),
                            (this.costTime = 0),
                            (this.getData = null),
                            (this.postData = null),
                            (this.actived = !1),
                            (this.noVConsole = !1),
                            (this.id = (0, e.QI)());
                        },
                        Cn = (function (t) {
                          function e(n) {
                            var r;
                            return (
                              ((r = t.call(this) || this)._response = void 0),
                              new Proxy(n, e.Handler) || (0, i.Z)(r)
                            );
                          }
                          return (0, o.Z)(e, t), e;
                        })(On);
                      Cn.Handler = {
                        get: function (t, e) {
                          return "response" === e
                            ? t._response
                            : Reflect.get(t, e);
                        },
                        set: function (t, e, n) {
                          var r;
                          switch (e) {
                            case "response":
                              return (t._response = En(t.responseType, n)), !0;
                            case "url":
                              var i =
                                (null == (r = n = String(n))
                                  ? void 0
                                  : r
                                      .replace(new RegExp("[/]*$"), "")
                                      .split("/")
                                      .pop()) || "Unknown";
                              Reflect.set(t, "name", i);
                              var o = Sn(n, t.getData);
                              Reflect.set(t, "getData", o);
                              break;
                            case "status":
                              var a = String(n) || "Unknown";
                              Reflect.set(t, "statusText", a);
                              break;
                            case "startTime":
                              if (n && t.endTime) {
                                var s = t.endTime - n;
                                Reflect.set(t, "costTime", s);
                              }
                              break;
                            case "endTime":
                              if (n && t.startTime) {
                                var c = n - t.startTime;
                                Reflect.set(t, "costTime", c);
                              }
                          }
                          return Reflect.set(t, e, n);
                        },
                      };
                      var Pn = (function () {
                          function t(t, e) {
                            var n = this;
                            (this.XMLReq = void 0),
                              (this.item = void 0),
                              (this.onUpdateCallback = void 0),
                              (this.XMLReq = t),
                              (this.XMLReq.onreadystatechange = function () {
                                n.onReadyStateChange();
                              }),
                              (this.XMLReq.onabort = function () {
                                n.onAbort();
                              }),
                              (this.XMLReq.ontimeout = function () {
                                n.onTimeout();
                              }),
                              (this.item = new On()),
                              (this.item.requestType = "xhr"),
                              (this.onUpdateCallback = e);
                          }
                          var n = t.prototype;
                          return (
                            (n.get = function (t, e) {
                              switch (e) {
                                case "_noVConsole":
                                  return this.item.noVConsole;
                                case "open":
                                  return this.getOpen(t);
                                case "send":
                                  return this.getSend(t);
                                case "setRequestHeader":
                                  return this.getSetRequestHeader(t);
                                default:
                                  var n = Reflect.get(t, e);
                                  return "function" == typeof n ? n.bind(t) : n;
                              }
                            }),
                            (n.set = function (t, e, n) {
                              switch (e) {
                                case "_noVConsole":
                                  return void (this.item.noVConsole = !!n);
                                case "onreadystatechange":
                                  return this.setOnReadyStateChange(t, e, n);
                                case "onabort":
                                  return this.setOnAbort(t, e, n);
                                case "ontimeout":
                                  return this.setOnTimeout(t, e, n);
                              }
                              return Reflect.set(t, e, n);
                            }),
                            (n.onReadyStateChange = function () {
                              (this.item.readyState = this.XMLReq.readyState),
                                (this.item.responseType =
                                  this.XMLReq.responseType),
                                (this.item.endTime = Date.now()),
                                (this.item.costTime =
                                  this.item.endTime - this.item.startTime),
                                this.updateItemByReadyState(),
                                (this.item.response = En(
                                  this.item.responseType,
                                  this.item.response
                                )),
                                this.triggerUpdate();
                            }),
                            (n.onAbort = function () {
                              (this.item.cancelState = 1),
                                (this.item.statusText = "Abort"),
                                this.triggerUpdate();
                            }),
                            (n.onTimeout = function () {
                              (this.item.cancelState = 3),
                                (this.item.statusText = "Timeout"),
                                this.triggerUpdate();
                            }),
                            (n.triggerUpdate = function () {
                              this.item.noVConsole ||
                                this.onUpdateCallback(this.item);
                            }),
                            (n.getOpen = function (t) {
                              var e = this,
                                n = Reflect.get(t, "open");
                              return function () {
                                for (
                                  var r = arguments.length,
                                    i = new Array(r),
                                    o = 0;
                                  o < r;
                                  o++
                                )
                                  i[o] = arguments[o];
                                var a = i[0],
                                  s = i[1];
                                return (
                                  (e.item.method = a ? a.toUpperCase() : "GET"),
                                  (e.item.url = s || ""),
                                  (e.item.name =
                                    e.item.url
                                      .replace(new RegExp("[/]*$"), "")
                                      .split("/")
                                      .pop() || ""),
                                  (e.item.getData = Sn(e.item.url, {})),
                                  e.triggerUpdate(),
                                  n.apply(t, i)
                                );
                              };
                            }),
                            (n.getSend = function (t) {
                              var e = this,
                                n = Reflect.get(t, "send");
                              return function () {
                                for (
                                  var r = arguments.length,
                                    i = new Array(r),
                                    o = 0;
                                  o < r;
                                  o++
                                )
                                  i[o] = arguments[o];
                                var a = i[0];
                                return (
                                  (e.item.postData = An(a)),
                                  e.triggerUpdate(),
                                  n.apply(t, i)
                                );
                              };
                            }),
                            (n.getSetRequestHeader = function (t) {
                              var e = this,
                                n = Reflect.get(t, "setRequestHeader");
                              return function () {
                                e.item.requestHeader ||
                                  (e.item.requestHeader = {});
                                for (
                                  var r = arguments.length,
                                    i = new Array(r),
                                    o = 0;
                                  o < r;
                                  o++
                                )
                                  i[o] = arguments[o];
                                return (
                                  (e.item.requestHeader[i[0]] = i[1]),
                                  e.triggerUpdate(),
                                  n.apply(t, i)
                                );
                              };
                            }),
                            (n.setOnReadyStateChange = function (t, e, n) {
                              var r = this;
                              return Reflect.set(t, e, function () {
                                r.onReadyStateChange();
                                for (
                                  var e = arguments.length,
                                    i = new Array(e),
                                    o = 0;
                                  o < e;
                                  o++
                                )
                                  i[o] = arguments[o];
                                n.apply(t, i);
                              });
                            }),
                            (n.setOnAbort = function (t, e, n) {
                              var r = this;
                              return Reflect.set(t, e, function () {
                                r.onAbort();
                                for (
                                  var e = arguments.length,
                                    i = new Array(e),
                                    o = 0;
                                  o < e;
                                  o++
                                )
                                  i[o] = arguments[o];
                                n.apply(t, i);
                              });
                            }),
                            (n.setOnTimeout = function (t, e, n) {
                              var r = this;
                              return Reflect.set(t, e, function () {
                                r.onTimeout();
                                for (
                                  var e = arguments.length,
                                    i = new Array(e),
                                    o = 0;
                                  o < e;
                                  o++
                                )
                                  i[o] = arguments[o];
                                n.apply(t, i);
                              });
                            }),
                            (n.updateItemByReadyState = function () {
                              switch (this.XMLReq.readyState) {
                                case 0:
                                case 1:
                                  if (
                                    ((this.item.status = 0),
                                    (this.item.statusText = "Pending"),
                                    !this.item.startTime)
                                  ) {
                                    this.item.startTime = Date.now();
                                    var t = (0, e._3)(this.item.startTime);
                                    this.item.startTimeText =
                                      t.year +
                                      "-" +
                                      t.month +
                                      "-" +
                                      t.day +
                                      " " +
                                      t.hour +
                                      ":" +
                                      t.minute +
                                      ":" +
                                      t.second +
                                      "." +
                                      t.millisecond;
                                  }
                                  break;
                                case 2:
                                  (this.item.status = this.XMLReq.status),
                                    (this.item.statusText = "Loading"),
                                    (this.item.header = {});
                                  for (
                                    var n = (
                                        this.XMLReq.getAllResponseHeaders() ||
                                        ""
                                      ).split("\n"),
                                      r = 0;
                                    r < n.length;
                                    r++
                                  ) {
                                    var i = n[r];
                                    if (i) {
                                      var o = i.split(": "),
                                        a = o[0],
                                        s = o.slice(1).join(": ");
                                      this.item.header[a] = s;
                                    }
                                  }
                                  break;
                                case 3:
                                  (this.item.status = this.XMLReq.status),
                                    (this.item.statusText = "Loading"),
                                    this.XMLReq.response &&
                                      this.XMLReq.response.length &&
                                      ((this.item.responseSize =
                                        this.XMLReq.response.length),
                                      (this.item.responseSizeText = (0, e.KL)(
                                        this.item.responseSize
                                      )));
                                  break;
                                case 4:
                                  (this.item.status =
                                    this.XMLReq.status ||
                                    this.item.status ||
                                    0),
                                    (this.item.statusText = String(
                                      this.item.status
                                    )),
                                    (this.item.endTime = Date.now()),
                                    (this.item.costTime =
                                      this.item.endTime -
                                      (this.item.startTime ||
                                        this.item.endTime)),
                                    (this.item.response = this.XMLReq.response),
                                    this.XMLReq.response &&
                                      this.XMLReq.response.length &&
                                      ((this.item.responseSize =
                                        this.XMLReq.response.length),
                                      (this.item.responseSizeText = (0, e.KL)(
                                        this.item.responseSize
                                      )));
                                  break;
                                default:
                                  (this.item.status = this.XMLReq.status),
                                    (this.item.statusText = "Unknown");
                              }
                            }),
                            t
                          );
                        })(),
                        xn = (function () {
                          function t() {}
                          return (
                            (t.create = function (t) {
                              return new Proxy(XMLHttpRequest, {
                                construct: function (e) {
                                  var n = new e();
                                  return new Proxy(n, new Pn(n, t));
                                },
                              });
                            }),
                            t
                          );
                        })();
                      function kn(t, e) {
                        var n =
                          (typeof Symbol < "u" && t[Symbol.iterator]) ||
                          t["@@iterator"];
                        if (n) return (n = n.call(t)).next.bind(n);
                        if (
                          Array.isArray(t) ||
                          (n = (function (t, e) {
                            if (t) {
                              if ("string" == typeof t) return In(t, e);
                              var n = Object.prototype.toString
                                .call(t)
                                .slice(8, -1);
                              if (
                                ("Object" === n &&
                                  t.constructor &&
                                  (n = t.constructor.name),
                                "Map" === n || "Set" === n)
                              )
                                return Array.from(t);
                              if (
                                "Arguments" === n ||
                                /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(
                                  n
                                )
                              )
                                return In(t, e);
                            }
                          })(t)) ||
                          (e && t && "number" == typeof t.length)
                        ) {
                          n && (t = n);
                          var r = 0;
                          return function () {
                            return r >= t.length
                              ? { done: !0 }
                              : { done: !1, value: t[r++] };
                          };
                        }
                        throw new TypeError(
                          "Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."
                        );
                      }
                      function In(t, e) {
                        (null == e || e > t.length) && (e = t.length);
                        for (var n = 0, r = new Array(e); n < e; n++)
                          r[n] = t[n];
                        return r;
                      }
                      xn.origXMLHttpRequest = XMLHttpRequest;
                      var jn = (function () {
                          function t(t, e, n) {
                            (this.resp = void 0),
                              (this.item = void 0),
                              (this.onUpdateCallback = void 0),
                              (this.resp = t),
                              (this.item = e),
                              (this.onUpdateCallback = n),
                              this.mockReader();
                          }
                          var n = t.prototype;
                          return (
                            (n.set = function (t, e, n) {
                              return Reflect.set(t, e, n);
                            }),
                            (n.get = function (t, e) {
                              var n = this,
                                r = Reflect.get(t, e);
                              switch (e) {
                                case "arrayBuffer":
                                case "blob":
                                case "formData":
                                case "json":
                                case "text":
                                  return function () {
                                    return (
                                      (n.item.responseType = e.toLowerCase()),
                                      r.apply(t).then(function (t) {
                                        return (
                                          (n.item.response = En(
                                            n.item.responseType,
                                            t
                                          )),
                                          n.onUpdateCallback(n.item),
                                          t
                                        );
                                      })
                                    );
                                  };
                              }
                              return "function" == typeof r ? r.bind(t) : r;
                            }),
                            (n.mockReader = function () {
                              var t,
                                n = this;
                              if (
                                this.resp.body &&
                                "function" == typeof this.resp.body.getReader
                              ) {
                                var r = this.resp.body.getReader;
                                this.resp.body.getReader = function () {
                                  var i = r.apply(n.resp.body);
                                  if (4 === n.item.readyState) return i;
                                  var o = i.read,
                                    a = i.cancel;
                                  return (
                                    (n.item.responseType = "arraybuffer"),
                                    (i.read = function () {
                                      return o.apply(i).then(function (r) {
                                        if (t) {
                                          var i = new Uint8Array(
                                            t.length + r.value.length
                                          );
                                          i.set(t),
                                            i.set(r.value, t.length),
                                            (t = i);
                                        } else t = new Uint8Array(r.value);
                                        return (
                                          (n.item.endTime = Date.now()),
                                          (n.item.costTime =
                                            n.item.endTime -
                                            (n.item.startTime ||
                                              n.item.endTime)),
                                          (n.item.readyState = r.done ? 4 : 3),
                                          (n.item.statusText = r.done
                                            ? String(n.item.status)
                                            : "Loading"),
                                          (n.item.responseSize = t.length),
                                          (n.item.responseSizeText = e.KL(
                                            n.item.responseSize
                                          )),
                                          r.done &&
                                            (n.item.response = En(
                                              n.item.responseType,
                                              t
                                            )),
                                          n.onUpdateCallback(n.item),
                                          r
                                        );
                                      });
                                    }),
                                    (i.cancel = function () {
                                      (n.item.cancelState = 2),
                                        (n.item.statusText = "Cancel"),
                                        (n.item.endTime = Date.now()),
                                        (n.item.costTime =
                                          n.item.endTime -
                                          (n.item.startTime || n.item.endTime)),
                                        (n.item.response = En(
                                          n.item.responseType,
                                          t
                                        )),
                                        n.onUpdateCallback(n.item);
                                      for (
                                        var e = arguments.length,
                                          r = new Array(e),
                                          o = 0;
                                        o < e;
                                        o++
                                      )
                                        r[o] = arguments[o];
                                      return a.apply(i, r);
                                    }),
                                    i
                                  );
                                };
                              }
                            }),
                            t
                          );
                        })(),
                        Rn = (function () {
                          function t(t) {
                            (this.onUpdateCallback = void 0),
                              (this.onUpdateCallback = t);
                          }
                          var n = t.prototype;
                          return (
                            (n.apply = function (t, e, n) {
                              var r = this,
                                i = n[0],
                                o = n[1],
                                a = new On();
                              return (
                                this.beforeFetch(a, i, o),
                                t
                                  .apply(window, n)
                                  .then(this.afterFetch(a))
                                  .catch(function (t) {
                                    throw (
                                      ((a.endTime = Date.now()),
                                      (a.costTime =
                                        a.endTime - (a.startTime || a.endTime)),
                                      r.onUpdateCallback(a),
                                      t)
                                    );
                                  })
                              );
                            }),
                            (n.beforeFetch = function (t, n, r) {
                              var i,
                                o = "GET",
                                a = null;
                              if (
                                (e.HD(n)
                                  ? ((o =
                                      (null == r ? void 0 : r.method) || "GET"),
                                    (i = Tn(n)),
                                    (a =
                                      (null == r ? void 0 : r.headers) || null))
                                  : ((o = n.method || "GET"),
                                    (i = Tn(n.url)),
                                    (a = n.headers)),
                                (t.method = o),
                                (t.requestType = "fetch"),
                                (t.requestHeader = a),
                                (t.url = i.toString()),
                                (t.name =
                                  (i.pathname.split("/").pop() || "") +
                                  i.search),
                                (t.status = 0),
                                (t.statusText = "Pending"),
                                (t.readyState = 1),
                                !t.startTime)
                              ) {
                                t.startTime = Date.now();
                                var s = e._3(t.startTime);
                                t.startTimeText =
                                  s.year +
                                  "-" +
                                  s.month +
                                  "-" +
                                  s.day +
                                  " " +
                                  s.hour +
                                  ":" +
                                  s.minute +
                                  ":" +
                                  s.second +
                                  "." +
                                  s.millisecond;
                              }
                              if (
                                "[object Headers]" ===
                                Object.prototype.toString.call(a)
                              ) {
                                t.requestHeader = {};
                                for (var c, l = kn(a); !(c = l()).done; ) {
                                  var u = c.value,
                                    f = u[0],
                                    d = u[1];
                                  t.requestHeader[f] = d;
                                }
                              } else t.requestHeader = a;
                              if (i.search && i.searchParams) {
                                t.getData = {};
                                for (
                                  var h, p = kn(i.searchParams);
                                  !(h = p()).done;

                                ) {
                                  var m = h.value,
                                    v = m[0],
                                    g = m[1];
                                  t.getData[v] = g;
                                }
                              }
                              null != r && r.body && (t.postData = An(r.body)),
                                this.onUpdateCallback(t);
                            }),
                            (n.afterFetch = function (t) {
                              var n = this;
                              return function (r) {
                                (t.endTime = Date.now()),
                                  (t.costTime =
                                    t.endTime - (t.startTime || t.endTime)),
                                  (t.status = r.status),
                                  (t.statusText = String(r.status));
                                var i = !1;
                                t.header = {};
                                for (
                                  var o, a = kn(r.headers);
                                  !(o = a()).done;

                                ) {
                                  var s = o.value,
                                    c = s[0],
                                    l = s[1];
                                  (t.header[c] = l),
                                    (i =
                                      l.toLowerCase().indexOf("chunked") > -1 ||
                                      i);
                                }
                                return (
                                  i
                                    ? (t.readyState = 3)
                                    : ((t.readyState = 4),
                                      n
                                        .handleResponseBody(r.clone(), t)
                                        .then(function (r) {
                                          (t.responseSize =
                                            "string" == typeof r
                                              ? r.length
                                              : r.byteLength),
                                            (t.responseSizeText = e.KL(
                                              t.responseSize
                                            )),
                                            (t.response = En(
                                              t.responseType,
                                              r
                                            )),
                                            n.onUpdateCallback(t);
                                        })),
                                  n.onUpdateCallback(t),
                                  new Proxy(r, new jn(r, t, n.onUpdateCallback))
                                );
                              };
                            }),
                            (n.handleResponseBody = function (t, e) {
                              var n = t.headers.get("content-type");
                              return n && n.includes("application/json")
                                ? ((e.responseType = "json"), t.text())
                                : n &&
                                  (n.includes("text/html") ||
                                    n.includes("text/plain"))
                                ? ((e.responseType = "text"), t.text())
                                : ((e.responseType = "arraybuffer"),
                                  t.arrayBuffer());
                            }),
                            t
                          );
                        })(),
                        Dn = (function () {
                          function t() {}
                          return (
                            (t.create = function (t) {
                              return new Proxy(fetch, new Rn(t));
                            }),
                            t
                          );
                        })();
                      function Ln(t, e) {
                        (null == e || e > t.length) && (e = t.length);
                        for (var n = 0, r = new Array(e); n < e; n++)
                          r[n] = t[n];
                        return r;
                      }
                      Dn.origFetch = fetch;
                      var Mn = function (t) {
                          return t instanceof Blob
                            ? t.type
                            : t instanceof FormData
                            ? "multipart/form-data"
                            : t instanceof URLSearchParams
                            ? "application/x-www-form-urlencoded;charset=UTF-8"
                            : "text/plain;charset=UTF-8";
                        },
                        Nn = (function () {
                          function t(t) {
                            (this.onUpdateCallback = void 0),
                              (this.onUpdateCallback = t);
                          }
                          return (
                            (t.prototype.apply = function (t, e, n) {
                              var r = n[0],
                                i = n[1],
                                o = new On(),
                                a = Tn(r);
                              if (
                                ((o.method = "POST"),
                                (o.url = r),
                                (o.name =
                                  (a.pathname.split("/").pop() || "") +
                                  a.search),
                                (o.requestType = "ping"),
                                (o.requestHeader = { "Content-Type": Mn(i) }),
                                (o.status = 0),
                                (o.statusText = "Pending"),
                                a.search && a.searchParams)
                              ) {
                                o.getData = {};
                                for (
                                  var s,
                                    c = (function (t, e) {
                                      var n =
                                        (typeof Symbol < "u" &&
                                          t[Symbol.iterator]) ||
                                        t["@@iterator"];
                                      if (n)
                                        return (n = n.call(t)).next.bind(n);
                                      if (
                                        Array.isArray(t) ||
                                        (n = (function (t, e) {
                                          if (t) {
                                            if ("string" == typeof t)
                                              return Ln(t, e);
                                            var n = Object.prototype.toString
                                              .call(t)
                                              .slice(8, -1);
                                            if (
                                              ("Object" === n &&
                                                t.constructor &&
                                                (n = t.constructor.name),
                                              "Map" === n || "Set" === n)
                                            )
                                              return Array.from(t);
                                            if (
                                              "Arguments" === n ||
                                              /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(
                                                n
                                              )
                                            )
                                              return Ln(t, e);
                                          }
                                        })(t)) ||
                                        (e && t && "number" == typeof t.length)
                                      ) {
                                        n && (t = n);
                                        var r = 0;
                                        return function () {
                                          return r >= t.length
                                            ? { done: !0 }
                                            : { done: !1, value: t[r++] };
                                        };
                                      }
                                      throw new TypeError(
                                        "Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."
                                      );
                                    })(a.searchParams);
                                  !(s = c()).done;

                                ) {
                                  var l = s.value,
                                    u = l[0],
                                    f = l[1];
                                  o.getData[u] = f;
                                }
                              }
                              (o.postData = An(i)),
                                o.startTime || (o.startTime = Date.now()),
                                this.onUpdateCallback(o);
                              var d = t.apply(e, n);
                              return (
                                d
                                  ? ((o.endTime = Date.now()),
                                    (o.costTime =
                                      o.endTime - (o.startTime || o.endTime)),
                                    (o.status = 0),
                                    (o.statusText = "Sent"),
                                    (o.readyState = 4))
                                  : ((o.status = 500),
                                    (o.statusText = "Unknown")),
                                this.onUpdateCallback(o),
                                d
                              );
                            }),
                            t
                          );
                        })(),
                        $n = (function () {
                          function t() {}
                          return (
                            (t.create = function (t) {
                              return new Proxy(navigator.sendBeacon, new Nn(t));
                            }),
                            t
                          );
                        })();
                      $n.origSendBeacon = navigator.sendBeacon;
                      var Bn = (0, bn.fZ)({}),
                        Un = (function (t) {
                          function e() {
                            var e;
                            return (
                              ((e =
                                t.call(this) || this).maxNetworkNumber = 1e3),
                              (e.ignoreUrlRegExp = void 0),
                              (e.itemCounter = 0),
                              e.mockXHR(),
                              e.mockFetch(),
                              e.mockSendBeacon(),
                              e
                            );
                          }
                          (0, o.Z)(e, t);
                          var n = e.prototype;
                          return (
                            (n.unMock = function () {
                              window.hasOwnProperty("XMLHttpRequest") &&
                                (window.XMLHttpRequest = xn.origXMLHttpRequest),
                                window.hasOwnProperty("fetch") &&
                                  (window.fetch = Dn.origFetch),
                                window.navigator.sendBeacon &&
                                  (window.navigator.sendBeacon =
                                    $n.origSendBeacon);
                            }),
                            (n.clearLog = function () {
                              Bn.set({});
                            }),
                            (n.updateRequest = function (t, e) {
                              var n,
                                r = e.url;
                              if (
                                !r ||
                                null == (n = this.ignoreUrlRegExp) ||
                                !n.test(r)
                              ) {
                                var i = (0, bn.U2)(Bn),
                                  o = !!i[t];
                                if (o) {
                                  var a = i[t];
                                  for (var s in e) a[s] = e[s];
                                  e = a;
                                }
                                Bn.update(function (n) {
                                  return (n[t] = e), n;
                                }),
                                  o ||
                                    (I.x.updateTime(), this.limitListLength());
                              }
                            }),
                            (n.mockXHR = function () {
                              var t = this;
                              window.hasOwnProperty("XMLHttpRequest") &&
                                (window.XMLHttpRequest = xn.create(function (
                                  e
                                ) {
                                  t.updateRequest(e.id, e);
                                }));
                            }),
                            (n.mockFetch = function () {
                              var t = this;
                              window.hasOwnProperty("fetch") &&
                                (window.fetch = Dn.create(function (e) {
                                  t.updateRequest(e.id, e);
                                }));
                            }),
                            (n.mockSendBeacon = function () {
                              var t,
                                e,
                                n = this;
                              null != (t = window) &&
                                null != (e = t.navigator) &&
                                e.sendBeacon &&
                                (window.navigator.sendBeacon = $n.create(
                                  function (t) {
                                    n.updateRequest(t.id, t);
                                  }
                                ));
                            }),
                            (n.limitListLength = function () {
                              var t = this;
                              if (
                                (this.itemCounter++, this.itemCounter % 10 == 0)
                              ) {
                                this.itemCounter = 0;
                                var e = (0, bn.U2)(Bn),
                                  n = Object.keys(e);
                                n.length > this.maxNetworkNumber - 10 &&
                                  Bn.update(function (e) {
                                    for (
                                      var r = n.splice(
                                          0,
                                          n.length - t.maxNetworkNumber + 10
                                        ),
                                        i = 0;
                                      i < r.length;
                                      i++
                                    )
                                      (e[r[i]] = void 0), delete e[r[i]];
                                    return e;
                                  });
                              }
                            }),
                            e
                          );
                        })(Vn.N),
                        Fn = __nested_webpack_require_427559__(8747),
                        Hn = {};
                      Fn.Z && Fn.Z.locals && (Hn.locals = Fn.Z.locals);
                      var Gn,
                        Wn = 0,
                        zn = {};
                      (zn.styleTagTransform = b()),
                        (zn.setAttributes = m()),
                        (zn.insert = h().bind(null, "head")),
                        (zn.domAPI = f()),
                        (zn.insertStyleElement = g()),
                        (Hn.use = function (t) {
                          return (
                            (zn.options = t || {}),
                            Wn++ || (Gn = l()(Fn.Z, zn)),
                            Hn
                          );
                        }),
                        (Hn.unuse = function () {
                          Wn > 0 && !--Wn && (Gn(), (Gn = null));
                        });
                      var qn = Hn;
                      function Xn(t, e, n) {
                        var r = t.slice();
                        return (r[11] = e[n][0]), (r[12] = e[n][1]), r;
                      }
                      function Yn(t, e, n) {
                        var r = t.slice();
                        return (r[11] = e[n][0]), (r[12] = e[n][1]), r;
                      }
                      function Kn(t, e, n) {
                        var r = t.slice();
                        return (r[11] = e[n][0]), (r[12] = e[n][1]), r;
                      }
                      function Zn(t, e, n) {
                        var r = t.slice();
                        return (r[11] = e[n][0]), (r[12] = e[n][1]), r;
                      }
                      function Jn(t) {
                        var e, n, r;
                        return {
                          c: function () {
                            (e = (0, a.fLW)("(")),
                              (n = (0, a.fLW)(t[0])),
                              (r = (0, a.fLW)(")"));
                          },
                          m: function (t, i) {
                            (0, a.$Tr)(t, e, i),
                              (0, a.$Tr)(t, n, i),
                              (0, a.$Tr)(t, r, i);
                          },
                          p: function (t, e) {
                            1 & e && (0, a.rTO)(n, t[0]);
                          },
                          d: function (t) {
                            t && (0, a.ogt)(e),
                              t && (0, a.ogt)(n),
                              t && (0, a.ogt)(r);
                          },
                        };
                      }
                      function Qn(t) {
                        var e,
                          n,
                          r,
                          i,
                          o,
                          s,
                          c = t[0] > 0 && Jn(t);
                        return {
                          c: function () {
                            (e = (0, a.bGB)("dl")),
                              (n = (0, a.bGB)("dd")),
                              (r = (0, a.fLW)("Name ")),
                              c && c.c(),
                              ((i = (0, a.bGB)("dd")).textContent = "Method"),
                              ((o = (0, a.bGB)("dd")).textContent = "Status"),
                              ((s = (0, a.bGB)("dd")).textContent = "Time"),
                              (0, a.Ljt)(
                                n,
                                "class",
                                "vc-table-col vc-table-col-4"
                              ),
                              (0, a.Ljt)(i, "class", "vc-table-col"),
                              (0, a.Ljt)(o, "class", "vc-table-col"),
                              (0, a.Ljt)(s, "class", "vc-table-col"),
                              (0, a.Ljt)(e, "class", "vc-table-row");
                          },
                          m: function (t, l) {
                            (0, a.$Tr)(t, e, l),
                              (0, a.R3I)(e, n),
                              (0, a.R3I)(n, r),
                              c && c.m(n, null),
                              (0, a.R3I)(e, i),
                              (0, a.R3I)(e, o),
                              (0, a.R3I)(e, s);
                          },
                          p: function (t, e) {
                            t[0] > 0
                              ? c
                                ? c.p(t, e)
                                : ((c = Jn(t)).c(), c.m(n, null))
                              : c && (c.d(1), (c = null));
                          },
                          d: function (t) {
                            t && (0, a.ogt)(e), c && c.d();
                          },
                        };
                      }
                      function tr(t) {
                        var e;
                        return {
                          c: function () {
                            ((e = (0, a.bGB)("div")).textContent = "Empty"),
                              (0, a.Ljt)(e, "slot", "empty"),
                              (0, a.Ljt)(e, "class", "vc-plugin-empty");
                          },
                          m: function (t, n) {
                            (0, a.$Tr)(t, e, n);
                          },
                          p: a.ZTd,
                          d: function (t) {
                            t && (0, a.ogt)(e);
                          },
                        };
                      }
                      function er(t) {
                        var e, n, r, i, o, s, c, l;
                        s = new ct({ props: { content: t[10].requestHeader } });
                        for (
                          var u = Object.entries(t[10].requestHeader),
                            f = [],
                            d = 0;
                          d < u.length;
                          d += 1
                        )
                          f[d] = nr(Zn(t, u, d));
                        return {
                          c: function () {
                            (e = (0, a.bGB)("div")),
                              (n = (0, a.bGB)("dl")),
                              (r = (0, a.bGB)("dt")),
                              (i = (0, a.fLW)(
                                "Request Headers\n                "
                              )),
                              (o = (0, a.bGB)("i")),
                              (0, a.YCL)(s.$$.fragment),
                              (c = (0, a.DhX)());
                            for (var t = 0; t < f.length; t += 1) f[t].c();
                            (0, a.Ljt)(o, "class", "vc-table-row-icon"),
                              (0, a.Ljt)(
                                r,
                                "class",
                                "vc-table-col vc-table-col-title"
                              ),
                              (0, a.Ljt)(
                                n,
                                "class",
                                "vc-table-row vc-left-border"
                              );
                          },
                          m: function (t, u) {
                            (0, a.$Tr)(t, e, u),
                              (0, a.R3I)(e, n),
                              (0, a.R3I)(n, r),
                              (0, a.R3I)(r, i),
                              (0, a.R3I)(r, o),
                              (0, a.yef)(s, o, null),
                              (0, a.R3I)(e, c);
                            for (var d = 0; d < f.length; d += 1)
                              f[d].m(e, null);
                            l = !0;
                          },
                          p: function (t, n) {
                            var r = {};
                            if (
                              (1024 & n && (r.content = t[10].requestHeader),
                              s.$set(r),
                              1040 & n)
                            ) {
                              var i;
                              for (
                                u = Object.entries(t[10].requestHeader), i = 0;
                                i < u.length;
                                i += 1
                              ) {
                                var o = Zn(t, u, i);
                                f[i]
                                  ? f[i].p(o, n)
                                  : ((f[i] = nr(o)), f[i].c(), f[i].m(e, null));
                              }
                              for (; i < f.length; i += 1) f[i].d(1);
                              f.length = u.length;
                            }
                          },
                          i: function (t) {
                            l || ((0, a.Ui)(s.$$.fragment, t), (l = !0));
                          },
                          o: function (t) {
                            (0, a.etI)(s.$$.fragment, t), (l = !1);
                          },
                          d: function (t) {
                            t && (0, a.ogt)(e), (0, a.vpE)(s), (0, a.RMB)(f, t);
                          },
                        };
                      }
                      function nr(t) {
                        var e,
                          n,
                          r,
                          i,
                          o,
                          s,
                          c,
                          l = t[11] + "",
                          u = t[4](t[12]) + "";
                        return {
                          c: function () {
                            (e = (0, a.bGB)("div")),
                              (n = (0, a.bGB)("div")),
                              (r = (0, a.fLW)(l)),
                              (i = (0, a.DhX)()),
                              (o = (0, a.bGB)("div")),
                              (s = (0, a.fLW)(u)),
                              (c = (0, a.DhX)()),
                              (0, a.Ljt)(
                                n,
                                "class",
                                "vc-table-col vc-table-col-2"
                              ),
                              (0, a.Ljt)(
                                o,
                                "class",
                                "vc-table-col vc-table-col-4 vc-table-col-value vc-max-height-line"
                              ),
                              (0, a.Ljt)(
                                e,
                                "class",
                                "vc-table-row vc-left-border vc-small"
                              );
                          },
                          m: function (t, l) {
                            (0, a.$Tr)(t, e, l),
                              (0, a.R3I)(e, n),
                              (0, a.R3I)(n, r),
                              (0, a.R3I)(e, i),
                              (0, a.R3I)(e, o),
                              (0, a.R3I)(o, s),
                              (0, a.R3I)(e, c);
                          },
                          p: function (t, e) {
                            1024 & e &&
                              l !== (l = t[11] + "") &&
                              (0, a.rTO)(r, l),
                              1024 & e &&
                                u !== (u = t[4](t[12]) + "") &&
                                (0, a.rTO)(s, u);
                          },
                          d: function (t) {
                            t && (0, a.ogt)(e);
                          },
                        };
                      }
                      function rr(t) {
                        var e, n, r, i, o, s, c, l;
                        s = new ct({ props: { content: t[10].getData } });
                        for (
                          var u = Object.entries(t[10].getData), f = [], d = 0;
                          d < u.length;
                          d += 1
                        )
                          f[d] = ir(Kn(t, u, d));
                        return {
                          c: function () {
                            (e = (0, a.bGB)("div")),
                              (n = (0, a.bGB)("dl")),
                              (r = (0, a.bGB)("dt")),
                              (i = (0, a.fLW)(
                                "Query String Parameters\n                "
                              )),
                              (o = (0, a.bGB)("i")),
                              (0, a.YCL)(s.$$.fragment),
                              (c = (0, a.DhX)());
                            for (var t = 0; t < f.length; t += 1) f[t].c();
                            (0, a.Ljt)(o, "class", "vc-table-row-icon"),
                              (0, a.Ljt)(
                                r,
                                "class",
                                "vc-table-col vc-table-col-title"
                              ),
                              (0, a.Ljt)(
                                n,
                                "class",
                                "vc-table-row vc-left-border"
                              );
                          },
                          m: function (t, u) {
                            (0, a.$Tr)(t, e, u),
                              (0, a.R3I)(e, n),
                              (0, a.R3I)(n, r),
                              (0, a.R3I)(r, i),
                              (0, a.R3I)(r, o),
                              (0, a.yef)(s, o, null),
                              (0, a.R3I)(e, c);
                            for (var d = 0; d < f.length; d += 1)
                              f[d].m(e, null);
                            l = !0;
                          },
                          p: function (t, n) {
                            var r = {};
                            if (
                              (1024 & n && (r.content = t[10].getData),
                              s.$set(r),
                              1040 & n)
                            ) {
                              var i;
                              for (
                                u = Object.entries(t[10].getData), i = 0;
                                i < u.length;
                                i += 1
                              ) {
                                var o = Kn(t, u, i);
                                f[i]
                                  ? f[i].p(o, n)
                                  : ((f[i] = ir(o)), f[i].c(), f[i].m(e, null));
                              }
                              for (; i < f.length; i += 1) f[i].d(1);
                              f.length = u.length;
                            }
                          },
                          i: function (t) {
                            l || ((0, a.Ui)(s.$$.fragment, t), (l = !0));
                          },
                          o: function (t) {
                            (0, a.etI)(s.$$.fragment, t), (l = !1);
                          },
                          d: function (t) {
                            t && (0, a.ogt)(e), (0, a.vpE)(s), (0, a.RMB)(f, t);
                          },
                        };
                      }
                      function ir(t) {
                        var e,
                          n,
                          r,
                          i,
                          o,
                          s,
                          c,
                          l = t[11] + "",
                          u = t[4](t[12]) + "";
                        return {
                          c: function () {
                            (e = (0, a.bGB)("div")),
                              (n = (0, a.bGB)("div")),
                              (r = (0, a.fLW)(l)),
                              (i = (0, a.DhX)()),
                              (o = (0, a.bGB)("div")),
                              (s = (0, a.fLW)(u)),
                              (c = (0, a.DhX)()),
                              (0, a.Ljt)(
                                n,
                                "class",
                                "vc-table-col vc-table-col-2"
                              ),
                              (0, a.Ljt)(
                                o,
                                "class",
                                "vc-table-col vc-table-col-4 vc-table-col-value vc-max-height-line"
                              ),
                              (0, a.Ljt)(
                                e,
                                "class",
                                "vc-table-row vc-left-border vc-small"
                              );
                          },
                          m: function (t, l) {
                            (0, a.$Tr)(t, e, l),
                              (0, a.R3I)(e, n),
                              (0, a.R3I)(n, r),
                              (0, a.R3I)(e, i),
                              (0, a.R3I)(e, o),
                              (0, a.R3I)(o, s),
                              (0, a.R3I)(e, c);
                          },
                          p: function (t, e) {
                            1024 & e &&
                              l !== (l = t[11] + "") &&
                              (0, a.rTO)(r, l),
                              1024 & e &&
                                u !== (u = t[4](t[12]) + "") &&
                                (0, a.rTO)(s, u);
                          },
                          d: function (t) {
                            t && (0, a.ogt)(e);
                          },
                        };
                      }
                      function or(t) {
                        var e, n, r, i, o, s, c, l;
                        function u(t, e) {
                          return "string" == typeof t[10].postData ? sr : ar;
                        }
                        s = new ct({ props: { content: t[10].postData } });
                        var f = u(t),
                          d = f(t);
                        return {
                          c: function () {
                            (e = (0, a.bGB)("div")),
                              (n = (0, a.bGB)("dl")),
                              (r = (0, a.bGB)("dt")),
                              (i = (0, a.fLW)(
                                "Request Payload\n                "
                              )),
                              (o = (0, a.bGB)("i")),
                              (0, a.YCL)(s.$$.fragment),
                              (c = (0, a.DhX)()),
                              d.c(),
                              (0, a.Ljt)(o, "class", "vc-table-row-icon"),
                              (0, a.Ljt)(
                                r,
                                "class",
                                "vc-table-col vc-table-col-title"
                              ),
                              (0, a.Ljt)(
                                n,
                                "class",
                                "vc-table-row vc-left-border"
                              );
                          },
                          m: function (t, u) {
                            (0, a.$Tr)(t, e, u),
                              (0, a.R3I)(e, n),
                              (0, a.R3I)(n, r),
                              (0, a.R3I)(r, i),
                              (0, a.R3I)(r, o),
                              (0, a.yef)(s, o, null),
                              (0, a.R3I)(e, c),
                              d.m(e, null),
                              (l = !0);
                          },
                          p: function (t, n) {
                            var r = {};
                            1024 & n && (r.content = t[10].postData),
                              s.$set(r),
                              f === (f = u(t)) && d
                                ? d.p(t, n)
                                : (d.d(1), (d = f(t)) && (d.c(), d.m(e, null)));
                          },
                          i: function (t) {
                            l || ((0, a.Ui)(s.$$.fragment, t), (l = !0));
                          },
                          o: function (t) {
                            (0, a.etI)(s.$$.fragment, t), (l = !1);
                          },
                          d: function (t) {
                            t && (0, a.ogt)(e), (0, a.vpE)(s), d.d();
                          },
                        };
                      }
                      function ar(t) {
                        for (
                          var e,
                            n = Object.entries(t[10].postData),
                            r = [],
                            i = 0;
                          i < n.length;
                          i += 1
                        )
                          r[i] = cr(Yn(t, n, i));
                        return {
                          c: function () {
                            for (var t = 0; t < r.length; t += 1) r[t].c();
                            e = (0, a.cSb)();
                          },
                          m: function (t, n) {
                            for (var i = 0; i < r.length; i += 1) r[i].m(t, n);
                            (0, a.$Tr)(t, e, n);
                          },
                          p: function (t, i) {
                            if (1040 & i) {
                              var o;
                              for (
                                n = Object.entries(t[10].postData), o = 0;
                                o < n.length;
                                o += 1
                              ) {
                                var a = Yn(t, n, o);
                                r[o]
                                  ? r[o].p(a, i)
                                  : ((r[o] = cr(a)),
                                    r[o].c(),
                                    r[o].m(e.parentNode, e));
                              }
                              for (; o < r.length; o += 1) r[o].d(1);
                              r.length = n.length;
                            }
                          },
                          d: function (t) {
                            (0, a.RMB)(r, t), t && (0, a.ogt)(e);
                          },
                        };
                      }
                      function sr(t) {
                        var e,
                          n,
                          r,
                          i = t[10].postData + "";
                        return {
                          c: function () {
                            (e = (0, a.bGB)("div")),
                              (n = (0, a.bGB)("pre")),
                              (r = (0, a.fLW)(i)),
                              (0, a.Ljt)(
                                n,
                                "class",
                                "vc-table-col vc-table-col-value vc-max-height-line"
                              ),
                              (0, a.Ljt)(n, "data-scrollable", "1"),
                              (0, a.Ljt)(
                                e,
                                "class",
                                "vc-table-row vc-left-border vc-small"
                              );
                          },
                          m: function (t, i) {
                            (0, a.$Tr)(t, e, i),
                              (0, a.R3I)(e, n),
                              (0, a.R3I)(n, r);
                          },
                          p: function (t, e) {
                            1024 & e &&
                              i !== (i = t[10].postData + "") &&
                              (0, a.rTO)(r, i);
                          },
                          d: function (t) {
                            t && (0, a.ogt)(e);
                          },
                        };
                      }
                      function cr(t) {
                        var e,
                          n,
                          r,
                          i,
                          o,
                          s,
                          c,
                          l = t[11] + "",
                          u = t[4](t[12]) + "";
                        return {
                          c: function () {
                            (e = (0, a.bGB)("div")),
                              (n = (0, a.bGB)("div")),
                              (r = (0, a.fLW)(l)),
                              (i = (0, a.DhX)()),
                              (o = (0, a.bGB)("div")),
                              (s = (0, a.fLW)(u)),
                              (c = (0, a.DhX)()),
                              (0, a.Ljt)(
                                n,
                                "class",
                                "vc-table-col vc-table-col-2"
                              ),
                              (0, a.Ljt)(
                                o,
                                "class",
                                "vc-table-col vc-table-col-4 vc-table-col-value vc-max-height-line"
                              ),
                              (0, a.Ljt)(o, "data-scrollable", "1"),
                              (0, a.Ljt)(
                                e,
                                "class",
                                "vc-table-row vc-left-border vc-small"
                              );
                          },
                          m: function (t, l) {
                            (0, a.$Tr)(t, e, l),
                              (0, a.R3I)(e, n),
                              (0, a.R3I)(n, r),
                              (0, a.R3I)(e, i),
                              (0, a.R3I)(e, o),
                              (0, a.R3I)(o, s),
                              (0, a.R3I)(e, c);
                          },
                          p: function (t, e) {
                            1024 & e &&
                              l !== (l = t[11] + "") &&
                              (0, a.rTO)(r, l),
                              1024 & e &&
                                u !== (u = t[4](t[12]) + "") &&
                                (0, a.rTO)(s, u);
                          },
                          d: function (t) {
                            t && (0, a.ogt)(e);
                          },
                        };
                      }
                      function lr(t) {
                        var e, n, r, i, o, s, c, l;
                        s = new ct({ props: { content: t[10].header } });
                        for (
                          var u = Object.entries(t[10].header), f = [], d = 0;
                          d < u.length;
                          d += 1
                        )
                          f[d] = ur(Xn(t, u, d));
                        return {
                          c: function () {
                            (e = (0, a.bGB)("div")),
                              (n = (0, a.bGB)("dl")),
                              (r = (0, a.bGB)("dt")),
                              (i = (0, a.fLW)(
                                "Response Headers\n                "
                              )),
                              (o = (0, a.bGB)("i")),
                              (0, a.YCL)(s.$$.fragment),
                              (c = (0, a.DhX)());
                            for (var t = 0; t < f.length; t += 1) f[t].c();
                            (0, a.Ljt)(o, "class", "vc-table-row-icon"),
                              (0, a.Ljt)(
                                r,
                                "class",
                                "vc-table-col vc-table-col-title"
                              ),
                              (0, a.Ljt)(
                                n,
                                "class",
                                "vc-table-row vc-left-border"
                              );
                          },
                          m: function (t, u) {
                            (0, a.$Tr)(t, e, u),
                              (0, a.R3I)(e, n),
                              (0, a.R3I)(n, r),
                              (0, a.R3I)(r, i),
                              (0, a.R3I)(r, o),
                              (0, a.yef)(s, o, null),
                              (0, a.R3I)(e, c);
                            for (var d = 0; d < f.length; d += 1)
                              f[d].m(e, null);
                            l = !0;
                          },
                          p: function (t, n) {
                            var r = {};
                            if (
                              (1024 & n && (r.content = t[10].header),
                              s.$set(r),
                              1040 & n)
                            ) {
                              var i;
                              for (
                                u = Object.entries(t[10].header), i = 0;
                                i < u.length;
                                i += 1
                              ) {
                                var o = Xn(t, u, i);
                                f[i]
                                  ? f[i].p(o, n)
                                  : ((f[i] = ur(o)), f[i].c(), f[i].m(e, null));
                              }
                              for (; i < f.length; i += 1) f[i].d(1);
                              f.length = u.length;
                            }
                          },
                          i: function (t) {
                            l || ((0, a.Ui)(s.$$.fragment, t), (l = !0));
                          },
                          o: function (t) {
                            (0, a.etI)(s.$$.fragment, t), (l = !1);
                          },
                          d: function (t) {
                            t && (0, a.ogt)(e), (0, a.vpE)(s), (0, a.RMB)(f, t);
                          },
                        };
                      }
                      function ur(t) {
                        var e,
                          n,
                          r,
                          i,
                          o,
                          s,
                          c,
                          l = t[11] + "",
                          u = t[4](t[12]) + "";
                        return {
                          c: function () {
                            (e = (0, a.bGB)("div")),
                              (n = (0, a.bGB)("div")),
                              (r = (0, a.fLW)(l)),
                              (i = (0, a.DhX)()),
                              (o = (0, a.bGB)("div")),
                              (s = (0, a.fLW)(u)),
                              (c = (0, a.DhX)()),
                              (0, a.Ljt)(
                                n,
                                "class",
                                "vc-table-col vc-table-col-2"
                              ),
                              (0, a.Ljt)(
                                o,
                                "class",
                                "vc-table-col vc-table-col-4 vc-table-col-value vc-max-height-line"
                              ),
                              (0, a.Ljt)(
                                e,
                                "class",
                                "vc-table-row vc-left-border vc-small"
                              );
                          },
                          m: function (t, l) {
                            (0, a.$Tr)(t, e, l),
                              (0, a.R3I)(e, n),
                              (0, a.R3I)(n, r),
                              (0, a.R3I)(e, i),
                              (0, a.R3I)(e, o),
                              (0, a.R3I)(o, s),
                              (0, a.R3I)(e, c);
                          },
                          p: function (t, e) {
                            1024 & e &&
                              l !== (l = t[11] + "") &&
                              (0, a.rTO)(r, l),
                              1024 & e &&
                                u !== (u = t[4](t[12]) + "") &&
                                (0, a.rTO)(s, u);
                          },
                          d: function (t) {
                            t && (0, a.ogt)(e);
                          },
                        };
                      }
                      function fr(t) {
                        var e,
                          n,
                          r,
                          i,
                          o,
                          s = t[10].responseSizeText + "";
                        return {
                          c: function () {
                            (e = (0, a.bGB)("div")),
                              ((n = (0, a.bGB)("div")).textContent = "Size"),
                              (r = (0, a.DhX)()),
                              (i = (0, a.bGB)("div")),
                              (o = (0, a.fLW)(s)),
                              (0, a.Ljt)(
                                n,
                                "class",
                                "vc-table-col vc-table-col-2"
                              ),
                              (0, a.Ljt)(
                                i,
                                "class",
                                "vc-table-col vc-table-col-4 vc-table-col-value vc-max-height-line"
                              ),
                              (0, a.Ljt)(
                                e,
                                "class",
                                "vc-table-row vc-left-border vc-small"
                              );
                          },
                          m: function (t, s) {
                            (0, a.$Tr)(t, e, s),
                              (0, a.R3I)(e, n),
                              (0, a.R3I)(e, r),
                              (0, a.R3I)(e, i),
                              (0, a.R3I)(i, o);
                          },
                          p: function (t, e) {
                            1024 & e &&
                              s !== (s = t[10].responseSizeText + "") &&
                              (0, a.rTO)(o, s);
                          },
                          d: function (t) {
                            t && (0, a.ogt)(e);
                          },
                        };
                      }
                      function dr(t) {
                        var e,
                          n,
                          r,
                          i,
                          o,
                          s,
                          c,
                          l,
                          u,
                          f,
                          d,
                          h,
                          p,
                          m,
                          v,
                          g,
                          y,
                          b,
                          V,
                          _,
                          w,
                          S,
                          E,
                          A,
                          T,
                          O,
                          C,
                          P,
                          x,
                          k,
                          I,
                          j,
                          R,
                          D,
                          L,
                          M,
                          N,
                          $,
                          B,
                          U,
                          F,
                          H,
                          G,
                          W,
                          z,
                          q,
                          X,
                          Y,
                          K,
                          Z,
                          J,
                          Q,
                          tt,
                          et,
                          nt,
                          rt,
                          it,
                          ot,
                          at,
                          st,
                          lt,
                          ut,
                          ft,
                          dt,
                          ht,
                          pt,
                          mt,
                          vt,
                          gt = t[10].name + "",
                          yt = t[10].method + "",
                          bt = t[10].statusText + "",
                          Vt = t[10].costTime + "",
                          _t = t[10].url + "",
                          wt = t[10].method + "",
                          St = t[10].requestType + "",
                          Et = t[10].status + "",
                          At = t[10].startTimeText + "",
                          Tt = (t[10].response || "") + "";
                        function Ot() {
                          return t[7](t[10]);
                        }
                        b = new ct({
                          props: { handler: t[3], content: t[10] },
                        });
                        var Ct = null !== t[10].requestHeader && er(t),
                          Pt = null !== t[10].getData && rr(t),
                          xt = null !== t[10].postData && or(t),
                          kt = null !== t[10].header && lr(t);
                        at = new ct({ props: { content: t[10].response } });
                        var It = t[10].responseSize > 0 && fr(t);
                        return {
                          c: function () {
                            (e = (0, a.bGB)("div")),
                              (n = (0, a.bGB)("dl")),
                              (r = (0, a.bGB)("dd")),
                              (i = (0, a.fLW)(gt)),
                              (o = (0, a.bGB)("dd")),
                              (s = (0, a.fLW)(yt)),
                              (c = (0, a.bGB)("dd")),
                              (l = (0, a.fLW)(bt)),
                              (u = (0, a.bGB)("dd")),
                              (f = (0, a.fLW)(Vt)),
                              (d = (0, a.DhX)()),
                              (h = (0, a.bGB)("div")),
                              (p = (0, a.bGB)("div")),
                              (m = (0, a.bGB)("dl")),
                              (v = (0, a.bGB)("dt")),
                              (g = (0, a.fLW)("General\n                ")),
                              (y = (0, a.bGB)("i")),
                              (0, a.YCL)(b.$$.fragment),
                              (V = (0, a.DhX)()),
                              (_ = (0, a.bGB)("div")),
                              ((w = (0, a.bGB)("div")).textContent = "URL"),
                              (S = (0, a.DhX)()),
                              (E = (0, a.bGB)("div")),
                              (A = (0, a.fLW)(_t)),
                              (T = (0, a.DhX)()),
                              (O = (0, a.bGB)("div")),
                              ((C = (0, a.bGB)("div")).textContent = "Method"),
                              (P = (0, a.DhX)()),
                              (x = (0, a.bGB)("div")),
                              (k = (0, a.fLW)(wt)),
                              (I = (0, a.DhX)()),
                              (j = (0, a.bGB)("div")),
                              ((R = (0, a.bGB)("div")).textContent =
                                "Request Type"),
                              (D = (0, a.DhX)()),
                              (L = (0, a.bGB)("div")),
                              (M = (0, a.fLW)(St)),
                              (N = (0, a.DhX)()),
                              ($ = (0, a.bGB)("div")),
                              ((B = (0, a.bGB)("div")).textContent =
                                "HTTP Status"),
                              (U = (0, a.DhX)()),
                              (F = (0, a.bGB)("div")),
                              (H = (0, a.fLW)(Et)),
                              (G = (0, a.DhX)()),
                              (W = (0, a.bGB)("div")),
                              ((z = (0, a.bGB)("div")).textContent =
                                "Start Time"),
                              (q = (0, a.DhX)()),
                              (X = (0, a.bGB)("div")),
                              (Y = (0, a.fLW)(At)),
                              (K = (0, a.DhX)()),
                              Ct && Ct.c(),
                              (Z = (0, a.DhX)()),
                              Pt && Pt.c(),
                              (J = (0, a.DhX)()),
                              xt && xt.c(),
                              (Q = (0, a.DhX)()),
                              kt && kt.c(),
                              (tt = (0, a.DhX)()),
                              (et = (0, a.bGB)("div")),
                              (nt = (0, a.bGB)("dl")),
                              (rt = (0, a.bGB)("dt")),
                              (it = (0, a.fLW)("Response\n                ")),
                              (ot = (0, a.bGB)("i")),
                              (0, a.YCL)(at.$$.fragment),
                              (st = (0, a.DhX)()),
                              It && It.c(),
                              (lt = (0, a.DhX)()),
                              (ut = (0, a.bGB)("div")),
                              (ft = (0, a.bGB)("pre")),
                              (dt = (0, a.fLW)(Tt)),
                              (0, a.Ljt)(
                                r,
                                "class",
                                "vc-table-col vc-table-col-4"
                              ),
                              (0, a.Ljt)(o, "class", "vc-table-col"),
                              (0, a.Ljt)(c, "class", "vc-table-col"),
                              (0, a.Ljt)(u, "class", "vc-table-col"),
                              (0, a.Ljt)(
                                n,
                                "class",
                                "vc-table-row vc-group-preview"
                              ),
                              (0, a.VHj)(
                                n,
                                "vc-table-row-error",
                                t[10].status >= 400
                              ),
                              (0, a.Ljt)(y, "class", "vc-table-row-icon"),
                              (0, a.Ljt)(
                                v,
                                "class",
                                "vc-table-col vc-table-col-title"
                              ),
                              (0, a.Ljt)(
                                m,
                                "class",
                                "vc-table-row vc-left-border"
                              ),
                              (0, a.Ljt)(
                                w,
                                "class",
                                "vc-table-col vc-table-col-2"
                              ),
                              (0, a.Ljt)(
                                E,
                                "class",
                                "vc-table-col vc-table-col-4 vc-table-col-value vc-max-height-line"
                              ),
                              (0, a.Ljt)(
                                _,
                                "class",
                                "vc-table-row vc-left-border vc-small"
                              ),
                              (0, a.Ljt)(
                                C,
                                "class",
                                "vc-table-col vc-table-col-2"
                              ),
                              (0, a.Ljt)(
                                x,
                                "class",
                                "vc-table-col vc-table-col-4 vc-table-col-value vc-max-height-line"
                              ),
                              (0, a.Ljt)(
                                O,
                                "class",
                                "vc-table-row vc-left-border vc-small"
                              ),
                              (0, a.Ljt)(
                                R,
                                "class",
                                "vc-table-col vc-table-col-2"
                              ),
                              (0, a.Ljt)(
                                L,
                                "class",
                                "vc-table-col vc-table-col-4 vc-table-col-value vc-max-height-line"
                              ),
                              (0, a.Ljt)(
                                j,
                                "class",
                                "vc-table-row vc-left-border vc-small"
                              ),
                              (0, a.Ljt)(
                                B,
                                "class",
                                "vc-table-col vc-table-col-2"
                              ),
                              (0, a.Ljt)(
                                F,
                                "class",
                                "vc-table-col vc-table-col-4 vc-table-col-value vc-max-height-line"
                              ),
                              (0, a.Ljt)(
                                $,
                                "class",
                                "vc-table-row vc-left-border vc-small"
                              ),
                              (0, a.Ljt)(
                                z,
                                "class",
                                "vc-table-col vc-table-col-2"
                              ),
                              (0, a.Ljt)(
                                X,
                                "class",
                                "vc-table-col vc-table-col-4 vc-table-col-value vc-max-height-line"
                              ),
                              (0, a.Ljt)(
                                W,
                                "class",
                                "vc-table-row vc-left-border vc-small"
                              ),
                              (0, a.Ljt)(ot, "class", "vc-table-row-icon"),
                              (0, a.Ljt)(
                                rt,
                                "class",
                                "vc-table-col vc-table-col-title"
                              ),
                              (0, a.Ljt)(
                                nt,
                                "class",
                                "vc-table-row vc-left-border"
                              ),
                              (0, a.Ljt)(
                                ft,
                                "class",
                                "vc-table-col vc-max-height vc-min-height"
                              ),
                              (0, a.Ljt)(ft, "data-scrollable", "1"),
                              (0, a.Ljt)(
                                ut,
                                "class",
                                "vc-table-row vc-left-border vc-small"
                              ),
                              (0, a.Ljt)(h, "class", "vc-group-detail"),
                              (0, a.Ljt)(e, "slot", "item"),
                              (0, a.Ljt)(e, "class", "vc-group"),
                              (0, a.Ljt)(e, "id", (ht = t[10].id)),
                              (0, a.VHj)(e, "vc-actived", t[10].actived);
                          },
                          m: function (t, ct) {
                            (0, a.$Tr)(t, e, ct),
                              (0, a.R3I)(e, n),
                              (0, a.R3I)(n, r),
                              (0, a.R3I)(r, i),
                              (0, a.R3I)(n, o),
                              (0, a.R3I)(o, s),
                              (0, a.R3I)(n, c),
                              (0, a.R3I)(c, l),
                              (0, a.R3I)(n, u),
                              (0, a.R3I)(u, f),
                              (0, a.R3I)(e, d),
                              (0, a.R3I)(e, h),
                              (0, a.R3I)(h, p),
                              (0, a.R3I)(p, m),
                              (0, a.R3I)(m, v),
                              (0, a.R3I)(v, g),
                              (0, a.R3I)(v, y),
                              (0, a.yef)(b, y, null),
                              (0, a.R3I)(p, V),
                              (0, a.R3I)(p, _),
                              (0, a.R3I)(_, w),
                              (0, a.R3I)(_, S),
                              (0, a.R3I)(_, E),
                              (0, a.R3I)(E, A),
                              (0, a.R3I)(p, T),
                              (0, a.R3I)(p, O),
                              (0, a.R3I)(O, C),
                              (0, a.R3I)(O, P),
                              (0, a.R3I)(O, x),
                              (0, a.R3I)(x, k),
                              (0, a.R3I)(p, I),
                              (0, a.R3I)(p, j),
                              (0, a.R3I)(j, R),
                              (0, a.R3I)(j, D),
                              (0, a.R3I)(j, L),
                              (0, a.R3I)(L, M),
                              (0, a.R3I)(p, N),
                              (0, a.R3I)(p, $),
                              (0, a.R3I)($, B),
                              (0, a.R3I)($, U),
                              (0, a.R3I)($, F),
                              (0, a.R3I)(F, H),
                              (0, a.R3I)(p, G),
                              (0, a.R3I)(p, W),
                              (0, a.R3I)(W, z),
                              (0, a.R3I)(W, q),
                              (0, a.R3I)(W, X),
                              (0, a.R3I)(X, Y),
                              (0, a.R3I)(h, K),
                              Ct && Ct.m(h, null),
                              (0, a.R3I)(h, Z),
                              Pt && Pt.m(h, null),
                              (0, a.R3I)(h, J),
                              xt && xt.m(h, null),
                              (0, a.R3I)(h, Q),
                              kt && kt.m(h, null),
                              (0, a.R3I)(h, tt),
                              (0, a.R3I)(h, et),
                              (0, a.R3I)(et, nt),
                              (0, a.R3I)(nt, rt),
                              (0, a.R3I)(rt, it),
                              (0, a.R3I)(rt, ot),
                              (0, a.yef)(at, ot, null),
                              (0, a.R3I)(et, st),
                              It && It.m(et, null),
                              (0, a.R3I)(et, lt),
                              (0, a.R3I)(et, ut),
                              (0, a.R3I)(ut, ft),
                              (0, a.R3I)(ft, dt),
                              (pt = !0),
                              mt ||
                                ((vt = (0, a.oLt)(n, "click", Ot)), (mt = !0));
                          },
                          p: function (r, o) {
                            (t = r),
                              (!pt || 1024 & o) &&
                                gt !== (gt = t[10].name + "") &&
                                (0, a.rTO)(i, gt),
                              (!pt || 1024 & o) &&
                                yt !== (yt = t[10].method + "") &&
                                (0, a.rTO)(s, yt),
                              (!pt || 1024 & o) &&
                                bt !== (bt = t[10].statusText + "") &&
                                (0, a.rTO)(l, bt),
                              (!pt || 1024 & o) &&
                                Vt !== (Vt = t[10].costTime + "") &&
                                (0, a.rTO)(f, Vt),
                              1024 & o &&
                                (0, a.VHj)(
                                  n,
                                  "vc-table-row-error",
                                  t[10].status >= 400
                                );
                            var c = {};
                            1024 & o && (c.content = t[10]),
                              b.$set(c),
                              (!pt || 1024 & o) &&
                                _t !== (_t = t[10].url + "") &&
                                (0, a.rTO)(A, _t),
                              (!pt || 1024 & o) &&
                                wt !== (wt = t[10].method + "") &&
                                (0, a.rTO)(k, wt),
                              (!pt || 1024 & o) &&
                                St !== (St = t[10].requestType + "") &&
                                (0, a.rTO)(M, St),
                              (!pt || 1024 & o) &&
                                Et !== (Et = t[10].status + "") &&
                                (0, a.rTO)(H, Et),
                              (!pt || 1024 & o) &&
                                At !== (At = t[10].startTimeText + "") &&
                                (0, a.rTO)(Y, At),
                              null !== t[10].requestHeader
                                ? Ct
                                  ? (Ct.p(t, o), 1024 & o && (0, a.Ui)(Ct, 1))
                                  : ((Ct = er(t)).c(),
                                    (0, a.Ui)(Ct, 1),
                                    Ct.m(h, Z))
                                : Ct &&
                                  ((0, a.dvw)(),
                                  (0, a.etI)(Ct, 1, 1, function () {
                                    Ct = null;
                                  }),
                                  (0, a.gbL)()),
                              null !== t[10].getData
                                ? Pt
                                  ? (Pt.p(t, o), 1024 & o && (0, a.Ui)(Pt, 1))
                                  : ((Pt = rr(t)).c(),
                                    (0, a.Ui)(Pt, 1),
                                    Pt.m(h, J))
                                : Pt &&
                                  ((0, a.dvw)(),
                                  (0, a.etI)(Pt, 1, 1, function () {
                                    Pt = null;
                                  }),
                                  (0, a.gbL)()),
                              null !== t[10].postData
                                ? xt
                                  ? (xt.p(t, o), 1024 & o && (0, a.Ui)(xt, 1))
                                  : ((xt = or(t)).c(),
                                    (0, a.Ui)(xt, 1),
                                    xt.m(h, Q))
                                : xt &&
                                  ((0, a.dvw)(),
                                  (0, a.etI)(xt, 1, 1, function () {
                                    xt = null;
                                  }),
                                  (0, a.gbL)()),
                              null !== t[10].header
                                ? kt
                                  ? (kt.p(t, o), 1024 & o && (0, a.Ui)(kt, 1))
                                  : ((kt = lr(t)).c(),
                                    (0, a.Ui)(kt, 1),
                                    kt.m(h, tt))
                                : kt &&
                                  ((0, a.dvw)(),
                                  (0, a.etI)(kt, 1, 1, function () {
                                    kt = null;
                                  }),
                                  (0, a.gbL)());
                            var u = {};
                            1024 & o && (u.content = t[10].response),
                              at.$set(u),
                              t[10].responseSize > 0
                                ? It
                                  ? It.p(t, o)
                                  : ((It = fr(t)).c(), It.m(et, lt))
                                : It && (It.d(1), (It = null)),
                              (!pt || 1024 & o) &&
                                Tt !== (Tt = (t[10].response || "") + "") &&
                                (0, a.rTO)(dt, Tt),
                              (!pt || (1024 & o && ht !== (ht = t[10].id))) &&
                                (0, a.Ljt)(e, "id", ht),
                              1024 & o &&
                                (0, a.VHj)(e, "vc-actived", t[10].actived);
                          },
                          i: function (t) {
                            pt ||
                              ((0, a.Ui)(b.$$.fragment, t),
                              (0, a.Ui)(Ct),
                              (0, a.Ui)(Pt),
                              (0, a.Ui)(xt),
                              (0, a.Ui)(kt),
                              (0, a.Ui)(at.$$.fragment, t),
                              (pt = !0));
                          },
                          o: function (t) {
                            (0, a.etI)(b.$$.fragment, t),
                              (0, a.etI)(Ct),
                              (0, a.etI)(Pt),
                              (0, a.etI)(xt),
                              (0, a.etI)(kt),
                              (0, a.etI)(at.$$.fragment, t),
                              (pt = !1);
                          },
                          d: function (t) {
                            t && (0, a.ogt)(e),
                              (0, a.vpE)(b),
                              Ct && Ct.d(),
                              Pt && Pt.d(),
                              xt && xt.d(),
                              kt && kt.d(),
                              (0, a.vpE)(at),
                              It && It.d(),
                              (mt = !1),
                              vt();
                          },
                        };
                      }
                      function hr(t) {
                        var e, n, r, i;
                        return (
                          (r = new on({
                            props: {
                              items: t[1],
                              itemKey: "id",
                              itemHeight: 30,
                              buffer: 100,
                              stickToBottom: !0,
                              scrollbar: !0,
                              $$slots: {
                                item: [
                                  dr,
                                  function (t) {
                                    return { 10: t.item };
                                  },
                                  function (t) {
                                    return t.item ? 1024 : 0;
                                  },
                                ],
                                empty: [tr],
                                header: [Qn],
                              },
                              $$scope: { ctx: t },
                            },
                          })),
                          {
                            c: function () {
                              (e = (0, a.bGB)("div")),
                                (n = (0, a.bGB)("div")),
                                (0, a.YCL)(r.$$.fragment),
                                (0, a.Ljt)(n, "class", "vc-plugin-content"),
                                (0, a.Ljt)(e, "class", "vc-table");
                            },
                            m: function (t, o) {
                              (0, a.$Tr)(t, e, o),
                                (0, a.R3I)(e, n),
                                (0, a.yef)(r, n, null),
                                (i = !0);
                            },
                            p: function (t, e) {
                              var n = e[0],
                                i = {};
                              2 & n && (i.items = t[1]),
                                2098177 & n &&
                                  (i.$$scope = { dirty: n, ctx: t }),
                                r.$set(i);
                            },
                            i: function (t) {
                              i || ((0, a.Ui)(r.$$.fragment, t), (i = !0));
                            },
                            o: function (t) {
                              (0, a.etI)(r.$$.fragment, t), (i = !1);
                            },
                            d: function (t) {
                              t && (0, a.ogt)(e), (0, a.vpE)(r);
                            },
                          }
                        );
                      }
                      function pr(t, n, r) {
                        var i;
                        (0, a.FIv)(t, Bn, function (t) {
                          return r(6, (i = t));
                        });
                        var o = 0,
                          c = function (t) {
                            r(0, (o = Object.keys(t).length));
                          },
                          l = Bn.subscribe(c);
                        c(i);
                        var u = [],
                          f = function (t) {
                            (0, a.fxP)(Bn, (i[t].actived = !i[t].actived), i);
                          };
                        return (
                          (0, s.H3)(function () {
                            qn.use();
                          }),
                          (0, s.ev)(function () {
                            l(), qn.unuse();
                          }),
                          (t.$$.update = function () {
                            64 & t.$$.dirty && r(1, (u = Object.values(i)));
                          }),
                          [
                            o,
                            u,
                            f,
                            function (t) {
                              var n = "curl -X " + t.method;
                              return (
                                "string" == typeof t.postData
                                  ? (n += " -d '" + t.postData + "'")
                                  : "object" == typeof t.postData &&
                                    null !== t.postData &&
                                    (n += " -d '" + e.hZ(t.postData) + "'"),
                                n + " '" + t.url + "'"
                              );
                            },
                            function (t) {
                              return e.Kn(t) || e.kJ(t)
                                ? e.hZ(t, {
                                    maxDepth: 10,
                                    keyMaxLen: 1e4,
                                    pretty: !0,
                                  })
                                : t;
                            },
                            { fixedHeight: !0 },
                            i,
                            function (t) {
                              return f(t.id);
                            },
                          ]
                        );
                      }
                      var mr = (function (e) {
                          function n(t) {
                            var n;
                            return (
                              (n = e.call(this) || this),
                              (0, a.S1n)((0, i.Z)(n), t, pr, hr, a.N8, {
                                options: 5,
                              }),
                              n
                            );
                          }
                          return (
                            (0, o.Z)(n, e),
                            (0, t.Z)(n, [
                              {
                                key: "options",
                                get: function () {
                                  return this.$$.ctx[5];
                                },
                              },
                            ]),
                            n
                          );
                        })(a.f_C),
                        vr = (function (t) {
                          function e() {
                            for (
                              var e,
                                n = arguments.length,
                                r = new Array(n),
                                i = 0;
                              i < n;
                              i++
                            )
                              r[i] = arguments[i];
                            return (
                              ((e =
                                t.call.apply(t, [this].concat(r)) ||
                                this).model = Un.getSingleton(
                                Un,
                                "VConsoleNetworkModel"
                              )),
                              e
                            );
                          }
                          (0, o.Z)(e, t);
                          var n = e.prototype;
                          return (
                            (n.add = function (t) {
                              var e = new Cn(new On());
                              for (var n in t) e[n] = t[n];
                              return (
                                (e.startTime = e.startTime || Date.now()),
                                (e.requestType = e.requestType || "custom"),
                                this.model.updateRequest(e.id, e),
                                e
                              );
                            }),
                            (n.update = function (t, e) {
                              this.model.updateRequest(t, e);
                            }),
                            (n.clear = function () {
                              this.model.clearLog();
                            }),
                            e
                          );
                        })(pn),
                        gr = (function (t) {
                          function e(e, n, r) {
                            var i;
                            return (
                              void 0 === r && (r = {}),
                              ((i = t.call(this, e, n, mr, r) || this).model =
                                Un.getSingleton(Un, "VConsoleNetworkModel")),
                              (i.exporter = void 0),
                              (i.exporter = new vr(e)),
                              i
                            );
                          }
                          (0, o.Z)(e, t);
                          var n = e.prototype;
                          return (
                            (n.onReady = function () {
                              t.prototype.onReady.call(this),
                                this.onUpdateOption();
                            }),
                            (n.onAddTool = function (t) {
                              var e = this;
                              t([
                                {
                                  name: "Clear",
                                  global: !1,
                                  onClick: function (t) {
                                    e.model.clearLog();
                                  },
                                },
                              ]);
                            }),
                            (n.onRemove = function () {
                              t.prototype.onRemove.call(this),
                                this.model && this.model.unMock();
                            }),
                            (n.onUpdateOption = function () {
                              var t, e, n;
                              (null == (t = this.vConsole.option.network)
                                ? void 0
                                : t.maxNetworkNumber) !==
                                this.model.maxNetworkNumber &&
                                (this.model.maxNetworkNumber =
                                  Number(
                                    null == (n = this.vConsole.option.network)
                                      ? void 0
                                      : n.maxNetworkNumber
                                  ) || 1e3),
                                null != (e = this.vConsole.option.network) &&
                                  e.ignoreUrlRegExp &&
                                  (this.model.ignoreUrlRegExp =
                                    this.vConsole.option.network.ignoreUrlRegExp);
                            }),
                            e
                          );
                        })(nt),
                        yr = __nested_webpack_require_427559__(8679),
                        br = __nested_webpack_require_427559__.n(yr),
                        Vr = (0, bn.fZ)(),
                        _r = (0, bn.fZ)(),
                        wr = __nested_webpack_require_427559__(5670),
                        Sr = {};
                      wr.Z && wr.Z.locals && (Sr.locals = wr.Z.locals);
                      var Er,
                        Ar = 0,
                        Tr = {};
                      (Tr.styleTagTransform = b()),
                        (Tr.setAttributes = m()),
                        (Tr.insert = h().bind(null, "head")),
                        (Tr.domAPI = f()),
                        (Tr.insertStyleElement = g()),
                        (Sr.use = function (t) {
                          return (
                            (Tr.options = t || {}),
                            Ar++ || (Er = l()(wr.Z, Tr)),
                            Sr
                          );
                        }),
                        (Sr.unuse = function () {
                          Ar > 0 && !--Ar && (Er(), (Er = null));
                        });
                      var Or = Sr;
                      function Cr(t, e, n) {
                        var r = t.slice();
                        return (r[8] = e[n]), r;
                      }
                      function Pr(t, e, n) {
                        var r = t.slice();
                        return (r[11] = e[n]), r;
                      }
                      function xr(t) {
                        var e,
                          n,
                          r,
                          i = t[0].nodeType === Node.ELEMENT_NODE && kr(t),
                          o = t[0].nodeType === Node.TEXT_NODE && Fr(t);
                        return {
                          c: function () {
                            (e = (0, a.bGB)("div")),
                              i && i.c(),
                              (n = (0, a.DhX)()),
                              o && o.c(),
                              (0, a.Ljt)(e, "class", "vcelm-l"),
                              (0, a.VHj)(e, "vc-actived", t[0]._isActived),
                              (0, a.VHj)(e, "vc-toggle", t[0]._isExpand),
                              (0, a.VHj)(e, "vcelm-noc", t[0]._isSingleLine);
                          },
                          m: function (t, s) {
                            (0, a.$Tr)(t, e, s),
                              i && i.m(e, null),
                              (0, a.R3I)(e, n),
                              o && o.m(e, null),
                              (r = !0);
                          },
                          p: function (t, r) {
                            t[0].nodeType === Node.ELEMENT_NODE
                              ? i
                                ? (i.p(t, r), 1 & r && (0, a.Ui)(i, 1))
                                : ((i = kr(t)).c(), (0, a.Ui)(i, 1), i.m(e, n))
                              : i &&
                                ((0, a.dvw)(),
                                (0, a.etI)(i, 1, 1, function () {
                                  i = null;
                                }),
                                (0, a.gbL)()),
                              t[0].nodeType === Node.TEXT_NODE
                                ? o
                                  ? o.p(t, r)
                                  : ((o = Fr(t)).c(), o.m(e, null))
                                : o && (o.d(1), (o = null)),
                              1 & r &&
                                (0, a.VHj)(e, "vc-actived", t[0]._isActived),
                              1 & r &&
                                (0, a.VHj)(e, "vc-toggle", t[0]._isExpand),
                              1 & r &&
                                (0, a.VHj)(e, "vcelm-noc", t[0]._isSingleLine);
                          },
                          i: function (t) {
                            r || ((0, a.Ui)(i), (r = !0));
                          },
                          o: function (t) {
                            (0, a.etI)(i), (r = !1);
                          },
                          d: function (t) {
                            t && (0, a.ogt)(e), i && i.d(), o && o.d();
                          },
                        };
                      }
                      function kr(t) {
                        var e,
                          n,
                          r,
                          i,
                          o,
                          s,
                          c,
                          l,
                          u,
                          f,
                          d = t[0].nodeName + "",
                          h =
                            (t[0].className || t[0].attributes.length) && Ir(t),
                          p = t[0]._isNullEndTag && Lr(),
                          m = t[0].childNodes.length > 0 && Mr(t),
                          v = !t[0]._isNullEndTag && Ur(t);
                        return {
                          c: function () {
                            (e = (0, a.bGB)("span")),
                              (n = (0, a.fLW)("<")),
                              (r = (0, a.fLW)(d)),
                              h && h.c(),
                              (i = (0, a.cSb)()),
                              p && p.c(),
                              (o = (0, a.fLW)(">")),
                              m && m.c(),
                              (s = (0, a.cSb)()),
                              v && v.c(),
                              (c = (0, a.cSb)()),
                              (0, a.Ljt)(e, "class", "vcelm-node");
                          },
                          m: function (d, g) {
                            (0, a.$Tr)(d, e, g),
                              (0, a.R3I)(e, n),
                              (0, a.R3I)(e, r),
                              h && h.m(e, null),
                              (0, a.R3I)(e, i),
                              p && p.m(e, null),
                              (0, a.R3I)(e, o),
                              m && m.m(d, g),
                              (0, a.$Tr)(d, s, g),
                              v && v.m(d, g),
                              (0, a.$Tr)(d, c, g),
                              (l = !0),
                              u ||
                                ((f = (0, a.oLt)(e, "click", t[2])), (u = !0));
                          },
                          p: function (t, n) {
                            (!l || 1 & n) &&
                              d !== (d = t[0].nodeName + "") &&
                              (0, a.rTO)(r, d),
                              t[0].className || t[0].attributes.length
                                ? h
                                  ? h.p(t, n)
                                  : ((h = Ir(t)).c(), h.m(e, i))
                                : h && (h.d(1), (h = null)),
                              t[0]._isNullEndTag
                                ? p || ((p = Lr()).c(), p.m(e, o))
                                : p && (p.d(1), (p = null)),
                              t[0].childNodes.length > 0
                                ? m
                                  ? (m.p(t, n), 1 & n && (0, a.Ui)(m, 1))
                                  : ((m = Mr(t)).c(),
                                    (0, a.Ui)(m, 1),
                                    m.m(s.parentNode, s))
                                : m &&
                                  ((0, a.dvw)(),
                                  (0, a.etI)(m, 1, 1, function () {
                                    m = null;
                                  }),
                                  (0, a.gbL)()),
                              t[0]._isNullEndTag
                                ? v && (v.d(1), (v = null))
                                : v
                                ? v.p(t, n)
                                : ((v = Ur(t)).c(), v.m(c.parentNode, c));
                          },
                          i: function (t) {
                            l || ((0, a.Ui)(m), (l = !0));
                          },
                          o: function (t) {
                            (0, a.etI)(m), (l = !1);
                          },
                          d: function (t) {
                            t && (0, a.ogt)(e),
                              h && h.d(),
                              p && p.d(),
                              m && m.d(t),
                              t && (0, a.ogt)(s),
                              v && v.d(t),
                              t && (0, a.ogt)(c),
                              (u = !1),
                              f();
                          },
                        };
                      }
                      function Ir(t) {
                        for (
                          var e, n = t[0].attributes, r = [], i = 0;
                          i < n.length;
                          i += 1
                        )
                          r[i] = Dr(Pr(t, n, i));
                        return {
                          c: function () {
                            e = (0, a.bGB)("i");
                            for (var t = 0; t < r.length; t += 1) r[t].c();
                            (0, a.Ljt)(e, "class", "vcelm-k");
                          },
                          m: function (t, n) {
                            (0, a.$Tr)(t, e, n);
                            for (var i = 0; i < r.length; i += 1)
                              r[i].m(e, null);
                          },
                          p: function (t, i) {
                            if (1 & i) {
                              var o;
                              for (
                                n = t[0].attributes, o = 0;
                                o < n.length;
                                o += 1
                              ) {
                                var a = Pr(t, n, o);
                                r[o]
                                  ? r[o].p(a, i)
                                  : ((r[o] = Dr(a)), r[o].c(), r[o].m(e, null));
                              }
                              for (; o < r.length; o += 1) r[o].d(1);
                              r.length = n.length;
                            }
                          },
                          d: function (t) {
                            t && (0, a.ogt)(e), (0, a.RMB)(r, t);
                          },
                        };
                      }
                      function jr(t) {
                        var e,
                          n = t[11].name + "";
                        return {
                          c: function () {
                            e = (0, a.fLW)(n);
                          },
                          m: function (t, n) {
                            (0, a.$Tr)(t, e, n);
                          },
                          p: function (t, r) {
                            1 & r &&
                              n !== (n = t[11].name + "") &&
                              (0, a.rTO)(e, n);
                          },
                          d: function (t) {
                            t && (0, a.ogt)(e);
                          },
                        };
                      }
                      function Rr(t) {
                        var e,
                          n,
                          r,
                          i,
                          o,
                          s = t[11].name + "",
                          c = t[11].value + "";
                        return {
                          c: function () {
                            (e = (0, a.fLW)(s)),
                              (n = (0, a.fLW)('="')),
                              (r = (0, a.bGB)("i")),
                              (i = (0, a.fLW)(c)),
                              (o = (0, a.fLW)('"')),
                              (0, a.Ljt)(r, "class", "vcelm-v");
                          },
                          m: function (t, s) {
                            (0, a.$Tr)(t, e, s),
                              (0, a.$Tr)(t, n, s),
                              (0, a.$Tr)(t, r, s),
                              (0, a.R3I)(r, i),
                              (0, a.$Tr)(t, o, s);
                          },
                          p: function (t, n) {
                            1 & n &&
                              s !== (s = t[11].name + "") &&
                              (0, a.rTO)(e, s),
                              1 & n &&
                                c !== (c = t[11].value + "") &&
                                (0, a.rTO)(i, c);
                          },
                          d: function (t) {
                            t && (0, a.ogt)(e),
                              t && (0, a.ogt)(n),
                              t && (0, a.ogt)(r),
                              t && (0, a.ogt)(o);
                          },
                        };
                      }
                      function Dr(t) {
                        var e, n;
                        function r(t, e) {
                          return "" !== t[11].value ? Rr : jr;
                        }
                        var i = r(t),
                          o = i(t);
                        return {
                          c: function () {
                            (e = (0, a.fLW)(" \n            ")),
                              o.c(),
                              (n = (0, a.cSb)());
                          },
                          m: function (t, r) {
                            (0, a.$Tr)(t, e, r), o.m(t, r), (0, a.$Tr)(t, n, r);
                          },
                          p: function (t, e) {
                            i === (i = r(t)) && o
                              ? o.p(t, e)
                              : (o.d(1),
                                (o = i(t)) && (o.c(), o.m(n.parentNode, n)));
                          },
                          d: function (t) {
                            t && (0, a.ogt)(e), o.d(t), t && (0, a.ogt)(n);
                          },
                        };
                      }
                      function Lr(t) {
                        var e;
                        return {
                          c: function () {
                            e = (0, a.fLW)("/");
                          },
                          m: function (t, n) {
                            (0, a.$Tr)(t, e, n);
                          },
                          d: function (t) {
                            t && (0, a.ogt)(e);
                          },
                        };
                      }
                      function Mr(t) {
                        var e,
                          n,
                          r,
                          i,
                          o = [$r, Nr],
                          s = [];
                        function c(t, e) {
                          return t[0]._isExpand ? 1 : 0;
                        }
                        return (
                          (e = c(t)),
                          (n = s[e] = o[e](t)),
                          {
                            c: function () {
                              n.c(), (r = (0, a.cSb)());
                            },
                            m: function (t, n) {
                              s[e].m(t, n), (0, a.$Tr)(t, r, n), (i = !0);
                            },
                            p: function (t, i) {
                              var l = e;
                              (e = c(t)) === l
                                ? s[e].p(t, i)
                                : ((0, a.dvw)(),
                                  (0, a.etI)(s[l], 1, 1, function () {
                                    s[l] = null;
                                  }),
                                  (0, a.gbL)(),
                                  (n = s[e])
                                    ? n.p(t, i)
                                    : (n = s[e] = o[e](t)).c(),
                                  (0, a.Ui)(n, 1),
                                  n.m(r.parentNode, r));
                            },
                            i: function (t) {
                              i || ((0, a.Ui)(n), (i = !0));
                            },
                            o: function (t) {
                              (0, a.etI)(n), (i = !1);
                            },
                            d: function (t) {
                              s[e].d(t), t && (0, a.ogt)(r);
                            },
                          }
                        );
                      }
                      function Nr(t) {
                        for (
                          var e, n, r = t[0].childNodes, i = [], o = 0;
                          o < r.length;
                          o += 1
                        )
                          i[o] = Br(Cr(t, r, o));
                        var s = function (t) {
                          return (0, a.etI)(i[t], 1, 1, function () {
                            i[t] = null;
                          });
                        };
                        return {
                          c: function () {
                            for (var t = 0; t < i.length; t += 1) i[t].c();
                            e = (0, a.cSb)();
                          },
                          m: function (t, r) {
                            for (var o = 0; o < i.length; o += 1) i[o].m(t, r);
                            (0, a.$Tr)(t, e, r), (n = !0);
                          },
                          p: function (t, n) {
                            if (1 & n) {
                              var o;
                              for (
                                r = t[0].childNodes, o = 0;
                                o < r.length;
                                o += 1
                              ) {
                                var c = Cr(t, r, o);
                                i[o]
                                  ? (i[o].p(c, n), (0, a.Ui)(i[o], 1))
                                  : ((i[o] = Br(c)),
                                    i[o].c(),
                                    (0, a.Ui)(i[o], 1),
                                    i[o].m(e.parentNode, e));
                              }
                              for (
                                (0, a.dvw)(), o = r.length;
                                o < i.length;
                                o += 1
                              )
                                s(o);
                              (0, a.gbL)();
                            }
                          },
                          i: function (t) {
                            if (!n) {
                              for (var e = 0; e < r.length; e += 1)
                                (0, a.Ui)(i[e]);
                              n = !0;
                            }
                          },
                          o: function (t) {
                            i = i.filter(Boolean);
                            for (var e = 0; e < i.length; e += 1)
                              (0, a.etI)(i[e]);
                            n = !1;
                          },
                          d: function (t) {
                            (0, a.RMB)(i, t), t && (0, a.ogt)(e);
                          },
                        };
                      }
                      function $r(t) {
                        var e;
                        return {
                          c: function () {
                            e = (0, a.fLW)("...");
                          },
                          m: function (t, n) {
                            (0, a.$Tr)(t, e, n);
                          },
                          p: a.ZTd,
                          i: a.ZTd,
                          o: a.ZTd,
                          d: function (t) {
                            t && (0, a.ogt)(e);
                          },
                        };
                      }
                      function Br(t) {
                        var e, n, r;
                        return (
                          (e = new Wr({ props: { node: t[8] } })).$on(
                            "toggleNode",
                            t[4]
                          ),
                          {
                            c: function () {
                              (0, a.YCL)(e.$$.fragment), (n = (0, a.DhX)());
                            },
                            m: function (t, i) {
                              (0, a.yef)(e, t, i),
                                (0, a.$Tr)(t, n, i),
                                (r = !0);
                            },
                            p: function (t, n) {
                              var r = {};
                              1 & n && (r.node = t[8]), e.$set(r);
                            },
                            i: function (t) {
                              r || ((0, a.Ui)(e.$$.fragment, t), (r = !0));
                            },
                            o: function (t) {
                              (0, a.etI)(e.$$.fragment, t), (r = !1);
                            },
                            d: function (t) {
                              (0, a.vpE)(e, t), t && (0, a.ogt)(n);
                            },
                          }
                        );
                      }
                      function Ur(t) {
                        var e,
                          n,
                          r,
                          i,
                          o = t[0].nodeName + "";
                        return {
                          c: function () {
                            (e = (0, a.bGB)("span")),
                              (n = (0, a.fLW)("</")),
                              (r = (0, a.fLW)(o)),
                              (i = (0, a.fLW)(">")),
                              (0, a.Ljt)(e, "class", "vcelm-node");
                          },
                          m: function (t, o) {
                            (0, a.$Tr)(t, e, o),
                              (0, a.R3I)(e, n),
                              (0, a.R3I)(e, r),
                              (0, a.R3I)(e, i);
                          },
                          p: function (t, e) {
                            1 & e &&
                              o !== (o = t[0].nodeName + "") &&
                              (0, a.rTO)(r, o);
                          },
                          d: function (t) {
                            t && (0, a.ogt)(e);
                          },
                        };
                      }
                      function Fr(t) {
                        var e,
                          n,
                          r = t[1](t[0].textContent) + "";
                        return {
                          c: function () {
                            (e = (0, a.bGB)("span")),
                              (n = (0, a.fLW)(r)),
                              (0, a.Ljt)(e, "class", "vcelm-t vcelm-noc");
                          },
                          m: function (t, r) {
                            (0, a.$Tr)(t, e, r), (0, a.R3I)(e, n);
                          },
                          p: function (t, e) {
                            1 & e &&
                              r !== (r = t[1](t[0].textContent) + "") &&
                              (0, a.rTO)(n, r);
                          },
                          d: function (t) {
                            t && (0, a.ogt)(e);
                          },
                        };
                      }
                      function Hr(t) {
                        var e,
                          n,
                          r = t[0] && xr(t);
                        return {
                          c: function () {
                            r && r.c(), (e = (0, a.cSb)());
                          },
                          m: function (t, i) {
                            r && r.m(t, i), (0, a.$Tr)(t, e, i), (n = !0);
                          },
                          p: function (t, n) {
                            var i = n[0];
                            t[0]
                              ? r
                                ? (r.p(t, i), 1 & i && (0, a.Ui)(r, 1))
                                : ((r = xr(t)).c(),
                                  (0, a.Ui)(r, 1),
                                  r.m(e.parentNode, e))
                              : r &&
                                ((0, a.dvw)(),
                                (0, a.etI)(r, 1, 1, function () {
                                  r = null;
                                }),
                                (0, a.gbL)());
                          },
                          i: function (t) {
                            n || ((0, a.Ui)(r), (n = !0));
                          },
                          o: function (t) {
                            (0, a.etI)(r), (n = !1);
                          },
                          d: function (t) {
                            r && r.d(t), t && (0, a.ogt)(e);
                          },
                        };
                      }
                      function Gr(t, e, n) {
                        var r;
                        (0, a.FIv)(t, _r, function (t) {
                          return n(3, (r = t));
                        });
                        var i = e.node,
                          o = (0, s.x)(),
                          c = ["br", "hr", "img", "input", "link", "meta"];
                        return (
                          (0, s.H3)(function () {
                            Or.use();
                          }),
                          (0, s.ev)(function () {
                            Or.unuse();
                          }),
                          (t.$$set = function (t) {
                            "node" in t && n(0, (i = t.node));
                          }),
                          (t.$$.update = function () {
                            var e;
                            9 & t.$$.dirty &&
                              i &&
                              (n(0, (i._isActived = i === r), i),
                              n(
                                0,
                                (i._isNullEndTag =
                                  ((e = i), c.indexOf(e.nodeName) > -1)),
                                i
                              ),
                              n(
                                0,
                                (i._isSingleLine =
                                  0 === i.childNodes.length || i._isNullEndTag),
                                i
                              ));
                          }),
                          [
                            i,
                            function (t) {
                              return t.replace(
                                /^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,
                                ""
                              );
                            },
                            function () {
                              i._isNullEndTag ||
                                (n(0, (i._isExpand = !i._isExpand), i),
                                o("toggleNode", { node: i }));
                            },
                            r,
                            function (e) {
                              a.cKT.call(this, t, e);
                            },
                          ]
                        );
                      }
                      var Wr = (function (e) {
                          function n(t) {
                            var n;
                            return (
                              (n = e.call(this) || this),
                              (0, a.S1n)((0, i.Z)(n), t, Gr, Hr, a.N8, {
                                node: 0,
                              }),
                              n
                            );
                          }
                          return (
                            (0, o.Z)(n, e),
                            (0, t.Z)(n, [
                              {
                                key: "node",
                                get: function () {
                                  return this.$$.ctx[0];
                                },
                                set: function (t) {
                                  this.$$set({ node: t }), (0, a.yl1)();
                                },
                              },
                            ]),
                            n
                          );
                        })(a.f_C),
                        zr = Wr;
                      function qr(t) {
                        var e, n, r;
                        return (
                          (n = new zr({ props: { node: t[0] } })).$on(
                            "toggleNode",
                            t[1]
                          ),
                          {
                            c: function () {
                              (e = (0, a.bGB)("div")),
                                (0, a.YCL)(n.$$.fragment),
                                (0, a.Ljt)(e, "class", "vc-plugin-content");
                            },
                            m: function (t, i) {
                              (0, a.$Tr)(t, e, i),
                                (0, a.yef)(n, e, null),
                                (r = !0);
                            },
                            p: function (t, e) {
                              var r = {};
                              1 & e[0] && (r.node = t[0]), n.$set(r);
                            },
                            i: function (t) {
                              r || ((0, a.Ui)(n.$$.fragment, t), (r = !0));
                            },
                            o: function (t) {
                              (0, a.etI)(n.$$.fragment, t), (r = !1);
                            },
                            d: function (t) {
                              t && (0, a.ogt)(e), (0, a.vpE)(n);
                            },
                          }
                        );
                      }
                      function Xr(t, e, n) {
                        var r;
                        return (
                          (0, a.FIv)(t, Vr, function (t) {
                            return n(0, (r = t));
                          }),
                          [
                            r,
                            function (e) {
                              a.cKT.call(this, t, e);
                            },
                          ]
                        );
                      }
                      var Yr = (function (t) {
                          function e(e) {
                            var n;
                            return (
                              (n = t.call(this) || this),
                              (0, a.S1n)((0, i.Z)(n), e, Xr, qr, a.N8, {}),
                              n
                            );
                          }
                          return (0, o.Z)(e, t), e;
                        })(a.f_C),
                        Kr = (function (t) {
                          function e(e, n, r) {
                            var i;
                            return (
                              void 0 === r && (r = {}),
                              ((i =
                                t.call(this, e, n, Yr, r) || this).isInited =
                                !1),
                              (i.observer = void 0),
                              (i.nodeMap = void 0),
                              i
                            );
                          }
                          (0, o.Z)(e, t);
                          var n = e.prototype;
                          return (
                            (n.onShow = function () {
                              this.isInited || this._init();
                            }),
                            (n.onRemove = function () {
                              t.prototype.onRemove.call(this),
                                this.isInited &&
                                  (this.observer.disconnect(),
                                  (this.isInited = !1),
                                  (this.nodeMap = void 0),
                                  Vr.set(void 0));
                            }),
                            (n.onAddTool = function (t) {
                              var e = this;
                              t([
                                {
                                  name: "Expand",
                                  global: !1,
                                  onClick: function (t) {
                                    e._expandActivedNode();
                                  },
                                },
                                {
                                  name: "Collapse",
                                  global: !1,
                                  onClick: function (t) {
                                    e._collapseActivedNode();
                                  },
                                },
                              ]);
                            }),
                            (n._init = function () {
                              var t = this;
                              (this.isInited = !0),
                                (this.nodeMap = new WeakMap());
                              var e = this._generateVNode(
                                document.documentElement
                              );
                              (e._isExpand = !0),
                                _r.set(e),
                                Vr.set(e),
                                this.compInstance.$on(
                                  "toggleNode",
                                  function (t) {
                                    _r.set(t.detail.node);
                                  }
                                ),
                                (this.observer = new (br())(function (e) {
                                  for (var n = 0; n < e.length; n++) {
                                    var r = e[n];
                                    t._isInVConsole(r.target) ||
                                      t._handleMutation(r);
                                  }
                                })),
                                this.observer.observe(
                                  document.documentElement,
                                  {
                                    attributes: !0,
                                    childList: !0,
                                    characterData: !0,
                                    subtree: !0,
                                  }
                                );
                            }),
                            (n._handleMutation = function (t) {
                              switch (t.type) {
                                case "childList":
                                  t.removedNodes.length > 0 &&
                                    this._onChildRemove(t),
                                    t.addedNodes.length > 0 &&
                                      this._onChildAdd(t);
                                  break;
                                case "attributes":
                                  this._onAttributesChange(t);
                                  break;
                                case "characterData":
                                  this._onCharacterDataChange(t);
                              }
                            }),
                            (n._onChildRemove = function (t) {
                              var e = this.nodeMap.get(t.target);
                              if (e) {
                                for (
                                  var n = 0;
                                  n < t.removedNodes.length;
                                  n++
                                ) {
                                  var r = this.nodeMap.get(t.removedNodes[n]);
                                  if (r) {
                                    for (
                                      var i = 0;
                                      i < e.childNodes.length;
                                      i++
                                    )
                                      if (e.childNodes[i] === r) {
                                        e.childNodes.splice(i, 1);
                                        break;
                                      }
                                    this.nodeMap.delete(t.removedNodes[n]);
                                  }
                                }
                                this._refreshStore();
                              }
                            }),
                            (n._onChildAdd = function (t) {
                              var e = this.nodeMap.get(t.target);
                              if (e) {
                                for (var n = 0; n < t.addedNodes.length; n++) {
                                  var r = t.addedNodes[n],
                                    i = this._generateVNode(r);
                                  if (i) {
                                    var o = void 0,
                                      a = r;
                                    do {
                                      if (null === a.nextSibling) break;
                                      a.nodeType === Node.ELEMENT_NODE &&
                                        (o =
                                          this.nodeMap.get(a.nextSibling) ||
                                          void 0),
                                        (a = a.nextSibling);
                                    } while (void 0 === o);
                                    if (void 0 === o) e.childNodes.push(i);
                                    else
                                      for (
                                        var s = 0;
                                        s < e.childNodes.length;
                                        s++
                                      )
                                        if (e.childNodes[s] === o) {
                                          e.childNodes.splice(s, 0, i);
                                          break;
                                        }
                                  }
                                }
                                this._refreshStore();
                              }
                            }),
                            (n._onAttributesChange = function (t) {
                              this._updateVNodeAttributes(t.target),
                                this._refreshStore();
                            }),
                            (n._onCharacterDataChange = function (t) {
                              var e = this.nodeMap.get(t.target);
                              e &&
                                ((e.textContent = t.target.textContent),
                                this._refreshStore());
                            }),
                            (n._generateVNode = function (t) {
                              if (!this._isIgnoredNode(t)) {
                                var e = {
                                  nodeType: t.nodeType,
                                  nodeName: t.nodeName.toLowerCase(),
                                  textContent: "",
                                  id: "",
                                  className: "",
                                  attributes: [],
                                  childNodes: [],
                                };
                                if (
                                  (this.nodeMap.set(t, e),
                                  (e.nodeType != t.TEXT_NODE &&
                                    e.nodeType != t.DOCUMENT_TYPE_NODE) ||
                                    (e.textContent = t.textContent),
                                  t.childNodes.length > 0)
                                ) {
                                  e.childNodes = [];
                                  for (
                                    var n = 0;
                                    n < t.childNodes.length;
                                    n++
                                  ) {
                                    var r = this._generateVNode(
                                      t.childNodes[n]
                                    );
                                    r && e.childNodes.push(r);
                                  }
                                }
                                return this._updateVNodeAttributes(t), e;
                              }
                            }),
                            (n._updateVNodeAttributes = function (t) {
                              var e = this.nodeMap.get(t);
                              if (
                                e &&
                                t instanceof Element &&
                                ((e.id = t.id || ""),
                                (e.className = t.className || ""),
                                t.hasAttributes && t.hasAttributes())
                              ) {
                                e.attributes = [];
                                for (var n = 0; n < t.attributes.length; n++)
                                  e.attributes.push({
                                    name: t.attributes[n].name,
                                    value: t.attributes[n].value || "",
                                  });
                              }
                            }),
                            (n._expandActivedNode = function () {
                              var t = (0, bn.U2)(_r);
                              if (t._isExpand)
                                for (var e = 0; e < t.childNodes.length; e++)
                                  t.childNodes[e]._isExpand = !0;
                              else t._isExpand = !0;
                              this._refreshStore();
                            }),
                            (n._collapseActivedNode = function () {
                              var t = (0, bn.U2)(_r);
                              if (t._isExpand) {
                                for (
                                  var e = !1, n = 0;
                                  n < t.childNodes.length;
                                  n++
                                )
                                  t.childNodes[n]._isExpand &&
                                    ((e = !0),
                                    (t.childNodes[n]._isExpand = !1));
                                e || (t._isExpand = !1), this._refreshStore();
                              }
                            }),
                            (n._isIgnoredNode = function (t) {
                              if (t.nodeType === t.TEXT_NODE) {
                                if (
                                  "" ===
                                  t.textContent.replace(
                                    /^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$|\n+/g,
                                    ""
                                  )
                                )
                                  return !0;
                              } else if (t.nodeType === t.COMMENT_NODE)
                                return !0;
                              return !1;
                            }),
                            (n._isInVConsole = function (t) {
                              for (var e = t; void 0 !== e; ) {
                                if ("__vconsole" == e.id) return !0;
                                e = e.parentElement || void 0;
                              }
                              return !1;
                            }),
                            (n._refreshStore = function () {
                              Vr.update(function (t) {
                                return t;
                              });
                            }),
                            e
                          );
                        })(nt);
                      function Zr(t, e, n, r, i, o, a) {
                        try {
                          var s = t[o](a),
                            c = s.value;
                        } catch (t) {
                          return void n(t);
                        }
                        s.done ? e(c) : Promise.resolve(c).then(r, i);
                      }
                      function Jr(t) {
                        return function () {
                          var e = this,
                            n = arguments;
                          return new Promise(function (r, i) {
                            var o = t.apply(e, n);
                            function a(t) {
                              Zr(o, r, i, a, s, "next", t);
                            }
                            function s(t) {
                              Zr(o, r, i, a, s, "throw", t);
                            }
                            a(void 0);
                          });
                        };
                      }
                      var Qr = __nested_webpack_require_427559__(8270);
                      function ti(t, e) {
                        var n = Object.keys(t);
                        if (Object.getOwnPropertySymbols) {
                          var r = Object.getOwnPropertySymbols(t);
                          e &&
                            (r = r.filter(function (e) {
                              return Object.getOwnPropertyDescriptor(
                                t,
                                e
                              ).enumerable;
                            })),
                            n.push.apply(n, r);
                        }
                        return n;
                      }
                      function ei(t) {
                        for (var e = 1; e < arguments.length; e++) {
                          var n = null != arguments[e] ? arguments[e] : {};
                          e % 2
                            ? ti(Object(n), !0).forEach(function (e) {
                                (0, Qr.Z)(t, e, n[e]);
                              })
                            : Object.getOwnPropertyDescriptors
                            ? Object.defineProperties(
                                t,
                                Object.getOwnPropertyDescriptors(n)
                              )
                            : ti(Object(n)).forEach(function (e) {
                                Object.defineProperty(
                                  t,
                                  e,
                                  Object.getOwnPropertyDescriptor(n, e)
                                );
                              });
                        }
                        return t;
                      }
                      var ni = function (t) {
                          if (!t || 0 === t.length) return {};
                          for (
                            var e = {}, n = t.split(";"), r = 0;
                            r < n.length;
                            r++
                          ) {
                            var i = n[r].indexOf("=");
                            if (!(i < 0)) {
                              var o = n[r]
                                  .substring(0, i)
                                  .replace(
                                    /^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,
                                    ""
                                  ),
                                a = n[r].substring(i + 1, n[r].length);
                              try {
                                o = decodeURIComponent(o);
                              } catch {}
                              try {
                                a = decodeURIComponent(a);
                              } catch {}
                              e[o] = a;
                            }
                          }
                          return e;
                        },
                        ri = function (t, e, n) {
                          typeof document < "u" &&
                            void 0 !== document.cookie &&
                            (document.cookie =
                              encodeURIComponent(t) +
                              "=" +
                              encodeURIComponent(e) +
                              (function (t) {
                                void 0 === t && (t = {});
                                var e = t,
                                  n = e.path,
                                  r = e.domain,
                                  i = e.expires,
                                  o = e.secure,
                                  a = e.sameSite,
                                  s =
                                    ["none", "lax", "strict"].indexOf(
                                      (a || "").toLowerCase()
                                    ) > -1
                                      ? a
                                      : null;
                                return [
                                  null == n ? "" : ";path=" + n,
                                  null == r ? "" : ";domain=" + r,
                                  null == i
                                    ? ""
                                    : ";expires=" + i.toUTCString(),
                                  void 0 === o || !1 === o ? "" : ";secure",
                                  null === s ? "" : ";SameSite=" + s,
                                ].join("");
                              })(n));
                        },
                        ii = function () {
                          return typeof document > "u" ||
                            void 0 === document.cookie
                            ? ""
                            : document.cookie;
                        },
                        oi = (function () {
                          function e() {}
                          var n = e.prototype;
                          return (
                            (n.key = function (t) {
                              return t < this.keys.length ? this.keys[t] : null;
                            }),
                            (n.setItem = function (t, e, n) {
                              ri(t, e, n);
                            }),
                            (n.getItem = function (t) {
                              var e = ni(ii());
                              return Object.prototype.hasOwnProperty.call(e, t)
                                ? e[t]
                                : null;
                            }),
                            (n.removeItem = function (t, e) {
                              for (
                                var n,
                                  r,
                                  i = ["", "/"],
                                  o =
                                    (null == (n = location) ||
                                    null == (r = n.hostname)
                                      ? void 0
                                      : r.split(".")) || [];
                                o.length > 1;

                              )
                                i.push(o.join(".")), o.shift();
                              for (var a = 0; a < i.length; a++)
                                for (
                                  var s,
                                    c,
                                    l =
                                      (null == (s = location) ||
                                      null == (c = s.pathname)
                                        ? void 0
                                        : c.split("/")) || [],
                                    u = "";
                                  l.length > 0;

                                ) {
                                  u += ("/" === u ? "" : "/") + l.shift();
                                  var f = ei(
                                    ei({}, e),
                                    {},
                                    {
                                      path: u,
                                      domain: i[a],
                                      expires: new Date(0),
                                    }
                                  );
                                  ri(t, "", f);
                                }
                            }),
                            (n.clear = function () {
                              for (
                                var t = [].concat(this.keys), e = 0;
                                e < t.length;
                                e++
                              )
                                this.removeItem(t[e]);
                            }),
                            (0, t.Z)(e, [
                              {
                                key: "length",
                                get: function () {
                                  return this.keys.length;
                                },
                              },
                              {
                                key: "keys",
                                get: function () {
                                  var t = ni(ii());
                                  return Object.keys(t).sort();
                                },
                              },
                            ]),
                            e
                          );
                        })(),
                        ai = (function () {
                          function n() {
                            (this.keys = []),
                              (this.currentSize = 0),
                              (this.limitSize = 0);
                          }
                          var r,
                            i = n.prototype;
                          return (
                            (i.key = function (t) {
                              return t < this.keys.length ? this.keys[t] : null;
                            }),
                            (i.prepare =
                              ((r = Jr(
                                me().mark(function t() {
                                  var n = this;
                                  return me().wrap(function (t) {
                                    for (;;)
                                      switch ((t.prev = t.next)) {
                                        case 0:
                                          return t.abrupt(
                                            "return",
                                            new Promise(function (t, r) {
                                              (0, e.qt)("getStorageInfo", {
                                                success: function (e) {
                                                  (n.keys = e
                                                    ? e.keys.sort()
                                                    : []),
                                                    (n.currentSize = e
                                                      ? e.currentSize
                                                      : 0),
                                                    (n.limitSize = e
                                                      ? e.limitSize
                                                      : 0),
                                                    t(!0);
                                                },
                                                fail: function () {
                                                  r(!1);
                                                },
                                              });
                                            })
                                          );
                                        case 1:
                                        case "end":
                                          return t.stop();
                                      }
                                  }, t);
                                })
                              )),
                              function () {
                                return r.apply(this, arguments);
                              })),
                            (i.getItem = function (t) {
                              return new Promise(function (n, r) {
                                (0, e.qt)("getStorage", {
                                  key: t,
                                  success: function (t) {
                                    var e = t.data;
                                    if ("object" == typeof t.data)
                                      try {
                                        e = JSON.stringify(t.data);
                                      } catch {}
                                    n(e);
                                  },
                                  fail: function (t) {
                                    r(t);
                                  },
                                });
                              });
                            }),
                            (i.setItem = function (t, n) {
                              return new Promise(function (r, i) {
                                (0, e.qt)("setStorage", {
                                  key: t,
                                  data: n,
                                  success: function (t) {
                                    r(t);
                                  },
                                  fail: function (t) {
                                    i(t);
                                  },
                                });
                              });
                            }),
                            (i.removeItem = function (t) {
                              return new Promise(function (n, r) {
                                (0, e.qt)("removeStorage", {
                                  key: t,
                                  success: function (t) {
                                    n(t);
                                  },
                                  fail: function (t) {
                                    r(t);
                                  },
                                });
                              });
                            }),
                            (i.clear = function () {
                              return new Promise(function (t, n) {
                                (0, e.qt)("clearStorage", {
                                  success: function (e) {
                                    t(e);
                                  },
                                  fail: function (t) {
                                    n(t);
                                  },
                                });
                              });
                            }),
                            (0, t.Z)(n, [
                              {
                                key: "length",
                                get: function () {
                                  return this.keys.length;
                                },
                              },
                            ]),
                            n
                          );
                        })(),
                        si = {
                          updateTime: (0, bn.fZ)(0),
                          activedName: (0, bn.fZ)(null),
                          defaultStorages: (0, bn.fZ)([
                            "cookies",
                            "localStorage",
                            "sessionStorage",
                          ]),
                        },
                        ci = (function (n) {
                          function r() {
                            var t;
                            return (
                              ((t = n.call(this) || this).storage = new Map()),
                              si.activedName.subscribe(function (t) {
                                var e = (0, bn.U2)(si.defaultStorages);
                                e.length > 0 &&
                                  -1 === e.indexOf(t) &&
                                  si.activedName.set(e[0]);
                              }),
                              si.defaultStorages.subscribe(function (e) {
                                -1 === e.indexOf((0, bn.U2)(si.activedName)) &&
                                  si.activedName.set(e[0]),
                                  t.updateEnabledStorages();
                              }),
                              t
                            );
                          }
                          (0, o.Z)(r, n);
                          var i,
                            a = r.prototype;
                          return (
                            (a.getItem =
                              ((i = Jr(
                                me().mark(function t(e) {
                                  return me().wrap(
                                    function (t) {
                                      for (;;)
                                        switch ((t.prev = t.next)) {
                                          case 0:
                                            if (this.activedStorage) {
                                              t.next = 2;
                                              break;
                                            }
                                            return t.abrupt("return", "");
                                          case 2:
                                            return (
                                              (t.next = 4),
                                              this.promisify(
                                                this.activedStorage.getItem(e)
                                              )
                                            );
                                          case 4:
                                            return t.abrupt("return", t.sent);
                                          case 5:
                                          case "end":
                                            return t.stop();
                                        }
                                    },
                                    t,
                                    this
                                  );
                                })
                              )),
                              function (t) {
                                return i.apply(this, arguments);
                              })),
                            (a.setItem = (function () {
                              var t = Jr(
                                me().mark(function t(e, n) {
                                  var r;
                                  return me().wrap(
                                    function (t) {
                                      for (;;)
                                        switch ((t.prev = t.next)) {
                                          case 0:
                                            if (this.activedStorage) {
                                              t.next = 2;
                                              break;
                                            }
                                            return t.abrupt("return");
                                          case 2:
                                            return (
                                              (t.next = 4),
                                              this.promisify(
                                                this.activedStorage.setItem(
                                                  e,
                                                  n
                                                )
                                              )
                                            );
                                          case 4:
                                            return (
                                              (r = t.sent),
                                              this.refresh(),
                                              t.abrupt("return", r)
                                            );
                                          case 7:
                                          case "end":
                                            return t.stop();
                                        }
                                    },
                                    t,
                                    this
                                  );
                                })
                              );
                              return function (e, n) {
                                return t.apply(this, arguments);
                              };
                            })()),
                            (a.removeItem = (function () {
                              var t = Jr(
                                me().mark(function t(e) {
                                  var n;
                                  return me().wrap(
                                    function (t) {
                                      for (;;)
                                        switch ((t.prev = t.next)) {
                                          case 0:
                                            if (this.activedStorage) {
                                              t.next = 2;
                                              break;
                                            }
                                            return t.abrupt("return");
                                          case 2:
                                            return (
                                              (t.next = 4),
                                              this.promisify(
                                                this.activedStorage.removeItem(
                                                  e
                                                )
                                              )
                                            );
                                          case 4:
                                            return (
                                              (n = t.sent),
                                              this.refresh(),
                                              t.abrupt("return", n)
                                            );
                                          case 7:
                                          case "end":
                                            return t.stop();
                                        }
                                    },
                                    t,
                                    this
                                  );
                                })
                              );
                              return function (e) {
                                return t.apply(this, arguments);
                              };
                            })()),
                            (a.clear = (function () {
                              var t = Jr(
                                me().mark(function t() {
                                  var e;
                                  return me().wrap(
                                    function (t) {
                                      for (;;)
                                        switch ((t.prev = t.next)) {
                                          case 0:
                                            if (this.activedStorage) {
                                              t.next = 2;
                                              break;
                                            }
                                            return t.abrupt("return");
                                          case 2:
                                            return (
                                              (t.next = 4),
                                              this.promisify(
                                                this.activedStorage.clear()
                                              )
                                            );
                                          case 4:
                                            return (
                                              (e = t.sent),
                                              this.refresh(),
                                              t.abrupt("return", e)
                                            );
                                          case 7:
                                          case "end":
                                            return t.stop();
                                        }
                                    },
                                    t,
                                    this
                                  );
                                })
                              );
                              return function () {
                                return t.apply(this, arguments);
                              };
                            })()),
                            (a.refresh = function () {
                              si.updateTime.set(Date.now());
                            }),
                            (a.getEntries = (function () {
                              var t = Jr(
                                me().mark(function t() {
                                  var e, n, r, i, o;
                                  return me().wrap(
                                    function (t) {
                                      for (;;)
                                        switch ((t.prev = t.next)) {
                                          case 0:
                                            if ((e = this.activedStorage)) {
                                              t.next = 3;
                                              break;
                                            }
                                            return t.abrupt("return", []);
                                          case 3:
                                            if (
                                              "function" != typeof e.prepare
                                            ) {
                                              t.next = 6;
                                              break;
                                            }
                                            return (t.next = 6), e.prepare();
                                          case 6:
                                            (n = []), (r = 0);
                                          case 8:
                                            if (!(r < e.length)) {
                                              t.next = 17;
                                              break;
                                            }
                                            return (
                                              (i = e.key(r)),
                                              (t.next = 12),
                                              this.getItem(i)
                                            );
                                          case 12:
                                            (o = t.sent), n.push([i, o]);
                                          case 14:
                                            r++, (t.next = 8);
                                            break;
                                          case 17:
                                            return t.abrupt("return", n);
                                          case 18:
                                          case "end":
                                            return t.stop();
                                        }
                                    },
                                    t,
                                    this
                                  );
                                })
                              );
                              return function () {
                                return t.apply(this, arguments);
                              };
                            })()),
                            (a.updateEnabledStorages = function () {
                              var t = (0, bn.U2)(si.defaultStorages);
                              t.indexOf("cookies") > -1
                                ? void 0 !== document.cookie &&
                                  this.storage.set("cookies", new oi())
                                : this.deleteStorage("cookies"),
                                t.indexOf("localStorage") > -1
                                  ? window.localStorage &&
                                    this.storage.set(
                                      "localStorage",
                                      window.localStorage
                                    )
                                  : this.deleteStorage("localStorage"),
                                t.indexOf("sessionStorage") > -1
                                  ? window.sessionStorage &&
                                    this.storage.set(
                                      "sessionStorage",
                                      window.sessionStorage
                                    )
                                  : this.deleteStorage("sessionStorage"),
                                t.indexOf("wxStorage") > -1
                                  ? (0, e.H_)() &&
                                    this.storage.set("wxStorage", new ai())
                                  : this.deleteStorage("wxStorage");
                            }),
                            (a.promisify = function (t) {
                              return "string" == typeof t || null == t
                                ? Promise.resolve(t)
                                : t;
                            }),
                            (a.deleteStorage = function (t) {
                              this.storage.has(t) && this.storage.delete(t);
                            }),
                            (0, t.Z)(r, [
                              {
                                key: "activedStorage",
                                get: function () {
                                  return this.storage.get(
                                    (0, bn.U2)(si.activedName)
                                  );
                                },
                              },
                            ]),
                            r
                          );
                        })(Vn.N);
                      function li(t, e, n) {
                        var r = t.slice();
                        return (
                          (r[20] = e[n][0]), (r[21] = e[n][1]), (r[23] = n), r
                        );
                      }
                      function ui(t) {
                        var e;
                        return {
                          c: function () {
                            ((e = (0, a.bGB)("div")).textContent = "Empty"),
                              (0, a.Ljt)(e, "class", "vc-plugin-empty");
                          },
                          m: function (t, n) {
                            (0, a.$Tr)(t, e, n);
                          },
                          p: a.ZTd,
                          d: function (t) {
                            t && (0, a.ogt)(e);
                          },
                        };
                      }
                      function fi(t) {
                        var e,
                          n,
                          r,
                          i,
                          o,
                          s = t[20] + "",
                          c = t[5](t[21]) + "";
                        return {
                          c: function () {
                            (e = (0, a.bGB)("div")),
                              (n = (0, a.fLW)(s)),
                              (r = (0, a.DhX)()),
                              (i = (0, a.bGB)("div")),
                              (o = (0, a.fLW)(c)),
                              (0, a.Ljt)(e, "class", "vc-table-col"),
                              (0, a.Ljt)(
                                i,
                                "class",
                                "vc-table-col vc-table-col-2"
                              );
                          },
                          m: function (t, s) {
                            (0, a.$Tr)(t, e, s),
                              (0, a.R3I)(e, n),
                              (0, a.$Tr)(t, r, s),
                              (0, a.$Tr)(t, i, s),
                              (0, a.R3I)(i, o);
                          },
                          p: function (t, e) {
                            1 & e && s !== (s = t[20] + "") && (0, a.rTO)(n, s),
                              1 & e &&
                                c !== (c = t[5](t[21]) + "") &&
                                (0, a.rTO)(o, c);
                          },
                          d: function (t) {
                            t && (0, a.ogt)(e),
                              t && (0, a.ogt)(r),
                              t && (0, a.ogt)(i);
                          },
                        };
                      }
                      function di(t) {
                        var e, n, r, i, o, s, c;
                        return {
                          c: function () {
                            (e = (0, a.bGB)("div")),
                              (n = (0, a.bGB)("textarea")),
                              (r = (0, a.DhX)()),
                              (i = (0, a.bGB)("div")),
                              (o = (0, a.bGB)("textarea")),
                              (0, a.Ljt)(n, "class", "vc-table-input"),
                              (0, a.Ljt)(e, "class", "vc-table-col"),
                              (0, a.Ljt)(o, "class", "vc-table-input"),
                              (0, a.Ljt)(
                                i,
                                "class",
                                "vc-table-col vc-table-col-2"
                              );
                          },
                          m: function (l, u) {
                            (0, a.$Tr)(l, e, u),
                              (0, a.R3I)(e, n),
                              (0, a.BmG)(n, t[2]),
                              (0, a.$Tr)(l, r, u),
                              (0, a.$Tr)(l, i, u),
                              (0, a.R3I)(i, o),
                              (0, a.BmG)(o, t[3]),
                              s ||
                                ((c = [
                                  (0, a.oLt)(n, "input", t[11]),
                                  (0, a.oLt)(o, "input", t[12]),
                                ]),
                                (s = !0));
                          },
                          p: function (t, e) {
                            4 & e && (0, a.BmG)(n, t[2]),
                              8 & e && (0, a.BmG)(o, t[3]);
                          },
                          d: function (t) {
                            t && (0, a.ogt)(e),
                              t && (0, a.ogt)(r),
                              t && (0, a.ogt)(i),
                              (s = !1),
                              (0, a.j7q)(c);
                          },
                        };
                      }
                      function hi(t) {
                        var e, n, r, i, o, s;
                        return (
                          (e = new ot.Z({ props: { name: "delete" } })).$on(
                            "click",
                            function () {
                              return t[14](t[20]);
                            }
                          ),
                          (r = new ct({
                            props: { content: [t[20], t[21]].join("=") },
                          })),
                          (o = new ot.Z({ props: { name: "edit" } })).$on(
                            "click",
                            function () {
                              return t[15](t[20], t[21], t[23]);
                            }
                          ),
                          {
                            c: function () {
                              (0, a.YCL)(e.$$.fragment),
                                (n = (0, a.DhX)()),
                                (0, a.YCL)(r.$$.fragment),
                                (i = (0, a.DhX)()),
                                (0, a.YCL)(o.$$.fragment);
                            },
                            m: function (t, c) {
                              (0, a.yef)(e, t, c),
                                (0, a.$Tr)(t, n, c),
                                (0, a.yef)(r, t, c),
                                (0, a.$Tr)(t, i, c),
                                (0, a.yef)(o, t, c),
                                (s = !0);
                            },
                            p: function (e, n) {
                              t = e;
                              var i = {};
                              1 & n && (i.content = [t[20], t[21]].join("=")),
                                r.$set(i);
                            },
                            i: function (t) {
                              s ||
                                ((0, a.Ui)(e.$$.fragment, t),
                                (0, a.Ui)(r.$$.fragment, t),
                                (0, a.Ui)(o.$$.fragment, t),
                                (s = !0));
                            },
                            o: function (t) {
                              (0, a.etI)(e.$$.fragment, t),
                                (0, a.etI)(r.$$.fragment, t),
                                (0, a.etI)(o.$$.fragment, t),
                                (s = !1);
                            },
                            d: function (t) {
                              (0, a.vpE)(e, t),
                                t && (0, a.ogt)(n),
                                (0, a.vpE)(r, t),
                                t && (0, a.ogt)(i),
                                (0, a.vpE)(o, t);
                            },
                          }
                        );
                      }
                      function pi(t) {
                        var e, n, r, i;
                        return (
                          (e = new ot.Z({ props: { name: "cancel" } })).$on(
                            "click",
                            t[9]
                          ),
                          (r = new ot.Z({ props: { name: "done" } })).$on(
                            "click",
                            function () {
                              return t[13](t[20]);
                            }
                          ),
                          {
                            c: function () {
                              (0, a.YCL)(e.$$.fragment),
                                (n = (0, a.DhX)()),
                                (0, a.YCL)(r.$$.fragment);
                            },
                            m: function (t, o) {
                              (0, a.yef)(e, t, o),
                                (0, a.$Tr)(t, n, o),
                                (0, a.yef)(r, t, o),
                                (i = !0);
                            },
                            p: function (e, n) {
                              t = e;
                            },
                            i: function (t) {
                              i ||
                                ((0, a.Ui)(e.$$.fragment, t),
                                (0, a.Ui)(r.$$.fragment, t),
                                (i = !0));
                            },
                            o: function (t) {
                              (0, a.etI)(e.$$.fragment, t),
                                (0, a.etI)(r.$$.fragment, t),
                                (i = !1);
                            },
                            d: function (t) {
                              (0, a.vpE)(e, t),
                                t && (0, a.ogt)(n),
                                (0, a.vpE)(r, t);
                            },
                          }
                        );
                      }
                      function mi(t) {
                        var e, n, r, i, o, s, c;
                        function l(t, e) {
                          return t[1] === t[23] ? di : fi;
                        }
                        var u = l(t),
                          f = u(t),
                          d = [pi, hi],
                          h = [];
                        function p(t, e) {
                          return t[1] === t[23] ? 0 : 1;
                        }
                        return (
                          (i = p(t)),
                          (o = h[i] = d[i](t)),
                          {
                            c: function () {
                              (e = (0, a.bGB)("div")),
                                f.c(),
                                (n = (0, a.DhX)()),
                                (r = (0, a.bGB)("div")),
                                o.c(),
                                (s = (0, a.DhX)()),
                                (0, a.Ljt)(
                                  r,
                                  "class",
                                  "vc-table-col vc-table-col-1 vc-table-action"
                                ),
                                (0, a.Ljt)(e, "class", "vc-table-row");
                            },
                            m: function (t, o) {
                              (0, a.$Tr)(t, e, o),
                                f.m(e, null),
                                (0, a.R3I)(e, n),
                                (0, a.R3I)(e, r),
                                h[i].m(r, null),
                                (0, a.R3I)(e, s),
                                (c = !0);
                            },
                            p: function (t, s) {
                              u === (u = l(t)) && f
                                ? f.p(t, s)
                                : (f.d(1), (f = u(t)) && (f.c(), f.m(e, n)));
                              var c = i;
                              (i = p(t)) === c
                                ? h[i].p(t, s)
                                : ((0, a.dvw)(),
                                  (0, a.etI)(h[c], 1, 1, function () {
                                    h[c] = null;
                                  }),
                                  (0, a.gbL)(),
                                  (o = h[i])
                                    ? o.p(t, s)
                                    : (o = h[i] = d[i](t)).c(),
                                  (0, a.Ui)(o, 1),
                                  o.m(r, null));
                            },
                            i: function (t) {
                              c || ((0, a.Ui)(o), (c = !0));
                            },
                            o: function (t) {
                              (0, a.etI)(o), (c = !1);
                            },
                            d: function (t) {
                              t && (0, a.ogt)(e), f.d(), h[i].d();
                            },
                          }
                        );
                      }
                      function vi(t) {
                        for (
                          var e, n, r, i, o = t[0], s = [], c = 0;
                          c < o.length;
                          c += 1
                        )
                          s[c] = mi(li(t, o, c));
                        var l = function (t) {
                            return (0, a.etI)(s[t], 1, 1, function () {
                              s[t] = null;
                            });
                          },
                          u = null;
                        return (
                          o.length || (u = ui()),
                          {
                            c: function () {
                              (e = (0, a.bGB)("div")),
                                ((n = (0, a.bGB)("div")).innerHTML =
                                  '<div class="vc-table-col">Key</div> \n    <div class="vc-table-col vc-table-col-2">Value</div> \n    <div class="vc-table-col vc-table-col-1 vc-table-action"></div>'),
                                (r = (0, a.DhX)());
                              for (var t = 0; t < s.length; t += 1) s[t].c();
                              u && u.c(),
                                (0, a.Ljt)(n, "class", "vc-table-row"),
                                (0, a.Ljt)(e, "class", "vc-table");
                            },
                            m: function (t, o) {
                              (0, a.$Tr)(t, e, o),
                                (0, a.R3I)(e, n),
                                (0, a.R3I)(e, r);
                              for (var c = 0; c < s.length; c += 1)
                                s[c].m(e, null);
                              u && u.m(e, null), (i = !0);
                            },
                            p: function (t, n) {
                              var r = n[0];
                              if (1007 & r) {
                                var i;
                                for (o = t[0], i = 0; i < o.length; i += 1) {
                                  var c = li(t, o, i);
                                  s[i]
                                    ? (s[i].p(c, r), (0, a.Ui)(s[i], 1))
                                    : ((s[i] = mi(c)),
                                      s[i].c(),
                                      (0, a.Ui)(s[i], 1),
                                      s[i].m(e, null));
                                }
                                for (
                                  (0, a.dvw)(), i = o.length;
                                  i < s.length;
                                  i += 1
                                )
                                  l(i);
                                (0, a.gbL)(),
                                  !o.length && u
                                    ? u.p(t, r)
                                    : o.length
                                    ? u && (u.d(1), (u = null))
                                    : ((u = ui()).c(), u.m(e, null));
                              }
                            },
                            i: function (t) {
                              if (!i) {
                                for (var e = 0; e < o.length; e += 1)
                                  (0, a.Ui)(s[e]);
                                i = !0;
                              }
                            },
                            o: function (t) {
                              s = s.filter(Boolean);
                              for (var e = 0; e < s.length; e += 1)
                                (0, a.etI)(s[e]);
                              i = !1;
                            },
                            d: function (t) {
                              t && (0, a.ogt)(e), (0, a.RMB)(s, t), u && u.d();
                            },
                          }
                        );
                      }
                      function gi(t, n, r) {
                        var i,
                          o =
                            (this && this.__awaiter) ||
                            function (t, e, n, r) {
                              return new (n || (n = Promise))(function (i, o) {
                                function a(t) {
                                  try {
                                    c(r.next(t));
                                  } catch (t) {
                                    o(t);
                                  }
                                }
                                function s(t) {
                                  try {
                                    c(r.throw(t));
                                  } catch (t) {
                                    o(t);
                                  }
                                }
                                function c(t) {
                                  var e;
                                  t.done
                                    ? i(t.value)
                                    : ((e = t.value),
                                      e instanceof n
                                        ? e
                                        : new n(function (t) {
                                            t(e);
                                          })).then(a, s);
                                }
                                c((r = r.apply(t, e || [])).next());
                              });
                            },
                          s = ci.getSingleton(ci, "VConsoleStorageModel"),
                          c = si.updateTime;
                        (0, a.FIv)(t, c, function (t) {
                          return r(10, (i = t));
                        });
                        var l = [],
                          u = -1,
                          f = "",
                          d = "",
                          h = function () {
                            r(1, (u = -1)), r(2, (f = "")), r(3, (d = ""));
                          },
                          p = function (t) {
                            return o(
                              void 0,
                              void 0,
                              void 0,
                              me().mark(function e() {
                                return me().wrap(function (e) {
                                  for (;;)
                                    switch ((e.prev = e.next)) {
                                      case 0:
                                        return (e.next = 2), s.removeItem(t);
                                      case 2:
                                      case "end":
                                        return e.stop();
                                    }
                                }, e);
                              })
                            );
                          },
                          m = function (t) {
                            return o(
                              void 0,
                              void 0,
                              void 0,
                              me().mark(function e() {
                                return me().wrap(function (e) {
                                  for (;;)
                                    switch ((e.prev = e.next)) {
                                      case 0:
                                        if (f === t) {
                                          e.next = 3;
                                          break;
                                        }
                                        return (e.next = 3), s.removeItem(t);
                                      case 3:
                                        s.setItem(f, d), h();
                                      case 5:
                                      case "end":
                                        return e.stop();
                                    }
                                }, e);
                              })
                            );
                          },
                          v = function (t, e, n) {
                            return o(
                              void 0,
                              void 0,
                              void 0,
                              me().mark(function i() {
                                return me().wrap(function (i) {
                                  for (;;)
                                    switch ((i.prev = i.next)) {
                                      case 0:
                                        r(2, (f = t)),
                                          r(3, (d = e)),
                                          r(1, (u = n));
                                      case 3:
                                      case "end":
                                        return i.stop();
                                    }
                                }, i);
                              })
                            );
                          };
                        return (
                          (t.$$.update = function () {
                            1024 & t.$$.dirty &&
                              i &&
                              o(
                                void 0,
                                void 0,
                                void 0,
                                me().mark(function t() {
                                  return me().wrap(function (t) {
                                    for (;;)
                                      switch ((t.prev = t.next)) {
                                        case 0:
                                          return (
                                            h(),
                                            (t.t0 = r),
                                            (t.next = 4),
                                            s.getEntries()
                                          );
                                        case 4:
                                          (t.t1 = l = t.sent),
                                            (0, t.t0)(0, t.t1);
                                        case 6:
                                        case "end":
                                          return t.stop();
                                      }
                                  }, t);
                                })
                              );
                          }),
                          [
                            l,
                            u,
                            f,
                            d,
                            c,
                            function (t) {
                              return (0, e.id)(t, 1024);
                            },
                            p,
                            m,
                            v,
                            function () {
                              h();
                            },
                            i,
                            function () {
                              (f = this.value), r(2, f);
                            },
                            function () {
                              (d = this.value), r(3, d);
                            },
                            function (t) {
                              return m(t);
                            },
                            function (t) {
                              return p(t);
                            },
                            function (t, e, n) {
                              return v(t, e, n);
                            },
                          ]
                        );
                      }
                      var yi = (function (t) {
                          function e(e) {
                            var n;
                            return (
                              (n = t.call(this) || this),
                              (0, a.S1n)((0, i.Z)(n), e, gi, vi, a.N8, {}),
                              n
                            );
                          }
                          return (0, o.Z)(e, t), e;
                        })(a.f_C),
                        bi = (function (t) {
                          function n(e, n, r) {
                            var i;
                            return (
                              void 0 === r && (r = {}),
                              ((i = t.call(this, e, n, yi, r) || this).model =
                                ci.getSingleton(ci, "VConsoleStorageModel")),
                              (i.onAddTopBarCallback = void 0),
                              i
                            );
                          }
                          (0, o.Z)(n, t);
                          var r = n.prototype;
                          return (
                            (r.onReady = function () {
                              t.prototype.onReady.call(this),
                                this.onUpdateOption();
                            }),
                            (r.onShow = function () {
                              this.model.refresh();
                            }),
                            (r.onAddTopBar = function (t) {
                              (this.onAddTopBarCallback = t),
                                this.updateTopBar();
                            }),
                            (r.onAddTool = function (t) {
                              var e = this;
                              t([
                                {
                                  name: "Add",
                                  global: !1,
                                  onClick: function () {
                                    e.model.setItem(
                                      "new_" + Date.now(),
                                      "new_value"
                                    );
                                  },
                                },
                                {
                                  name: "Refresh",
                                  global: !1,
                                  onClick: function () {
                                    e.model.refresh();
                                  },
                                },
                                {
                                  name: "Clear",
                                  global: !1,
                                  onClick: function () {
                                    e.model.clear();
                                  },
                                },
                              ]);
                            }),
                            (r.onUpdateOption = function () {
                              var t,
                                n =
                                  null == (t = this.vConsole.option.storage)
                                    ? void 0
                                    : t.defaultStorages;
                              (0, e.kJ)(n) &&
                                (n = n.length > 0 ? n : ["cookies"]) !==
                                  (0, bn.U2)(si.defaultStorages) &&
                                (si.defaultStorages.set(n),
                                si.activedName.set(n[0]),
                                this.updateTopBar());
                            }),
                            (r.updateTopBar = function () {
                              var t = this;
                              if (
                                "function" == typeof this.onAddTopBarCallback
                              ) {
                                for (
                                  var e = (0, bn.U2)(si.defaultStorages),
                                    n = [],
                                    r = 0;
                                  r < e.length;
                                  r++
                                ) {
                                  var i = e[r];
                                  n.push({
                                    name: i[0].toUpperCase() + i.substring(1),
                                    data: { name: i },
                                    actived: i === (0, bn.U2)(si.activedName),
                                    onClick: function (e, n) {
                                      var r = (0, bn.U2)(si.activedName);
                                      if (n.name === r) return !1;
                                      si.activedName.set(n.name),
                                        t.model.refresh();
                                    },
                                  });
                                }
                                this.onAddTopBarCallback(n);
                              }
                            }),
                            n
                          );
                        })(nt),
                        Vi = (function () {
                          function n(t) {
                            var i = this;
                            if (
                              ((this.version = "3.15.1"),
                              (this.isInited = !1),
                              (this.option = {}),
                              (this.compInstance = void 0),
                              (this.pluginList = {}),
                              (this.log = void 0),
                              (this.system = void 0),
                              (this.network = void 0),
                              n.instance && n.instance instanceof n)
                            )
                              return (
                                console.debug(
                                  "[vConsole] vConsole is already exists."
                                ),
                                n.instance
                              );
                            if (
                              ((n.instance = this),
                              (this.isInited = !1),
                              (this.option = {
                                defaultPlugins: [
                                  "system",
                                  "network",
                                  "element",
                                  "storage",
                                ],
                                log: {},
                                network: {},
                                storage: {},
                              }),
                              e.Kn(t))
                            )
                              for (var o in t) this.option[o] = t[o];
                            void 0 !== this.option.maxLogNumber &&
                              ((this.option.log.maxLogNumber =
                                this.option.maxLogNumber),
                              console.debug(
                                "[vConsole] Deprecated option: `maxLogNumber`, use `log.maxLogNumber` instead."
                              )),
                              void 0 !== this.option.onClearLog &&
                                console.debug(
                                  "[vConsole] Deprecated option: `onClearLog`."
                                ),
                              void 0 !== this.option.maxNetworkNumber &&
                                ((this.option.network.maxNetworkNumber =
                                  this.option.maxNetworkNumber),
                                console.debug(
                                  "[vConsole] Deprecated option: `maxNetworkNumber`, use `network.maxNetworkNumber` instead."
                                )),
                              this._addBuiltInPlugins();
                            var a,
                              s = function () {
                                i.isInited ||
                                  (i._initComponent(), i._autoRun());
                              };
                            void 0 !== document
                              ? "loading" === document.readyState
                                ? r.bind(window, "DOMContentLoaded", s)
                                : s()
                              : (a = setTimeout(function t() {
                                  document && "complete" == document.readyState
                                    ? (a && clearTimeout(a), s())
                                    : (a = setTimeout(t, 1));
                                }, 1));
                          }
                          var i = n.prototype;
                          return (
                            (i._addBuiltInPlugins = function () {
                              this.addPlugin(new gn("default", "Log"));
                              var t = this.option.defaultPlugins,
                                n = { system: { proto: yn, name: "System" } };
                              if (
                                ((n.network = { proto: gr, name: "Network" }),
                                (n.element = { proto: Kr, name: "Element" }),
                                (n.storage = { proto: bi, name: "Storage" }),
                                t && e.kJ(t))
                              )
                                for (var r = 0; r < t.length; r++) {
                                  var i = n[t[r]];
                                  i
                                    ? this.addPlugin(new i.proto(t[r], i.name))
                                    : console.debug(
                                        "[vConsole] Unrecognized default plugin ID:",
                                        t[r]
                                      );
                                }
                            }),
                            (i._initComponent = function () {
                              var t = this;
                              if (!r.one("#__vconsole")) {
                                var n,
                                  i = 1 * e.cF("switch_x"),
                                  o = 1 * e.cF("switch_y");
                                "string" == typeof this.option.target
                                  ? (n = document.querySelector(
                                      this.option.target
                                    ))
                                  : this.option.target instanceof HTMLElement &&
                                    (n = this.option.target),
                                  n instanceof HTMLElement ||
                                    (n = document.documentElement),
                                  (this.compInstance = new tt({
                                    target: n,
                                    props: {
                                      switchButtonPosition: { x: i, y: o },
                                    },
                                  })),
                                  this.compInstance.$on("show", function (e) {
                                    e.detail.show ? t.show() : t.hide();
                                  }),
                                  this.compInstance.$on(
                                    "changePanel",
                                    function (e) {
                                      var n = e.detail.pluginId;
                                      t.showPlugin(n);
                                    }
                                  );
                              }
                              this._updateComponentByOptions();
                            }),
                            (i._updateComponentByOptions = function () {
                              if (this.compInstance) {
                                if (
                                  this.compInstance.theme !== this.option.theme
                                ) {
                                  var t = this.option.theme;
                                  (t = "light" !== t && "dark" !== t ? "" : t),
                                    (this.compInstance.theme = t);
                                }
                                this.compInstance.disableScrolling !==
                                  this.option.disableLogScrolling &&
                                  (this.compInstance.disableScrolling =
                                    !!this.option.disableLogScrolling);
                              }
                            }),
                            (i.setSwitchPosition = function (t, e) {
                              this.compInstance.switchButtonPosition = {
                                x: t,
                                y: e,
                              };
                            }),
                            (i._autoRun = function () {
                              for (var t in ((this.isInited = !0),
                              this.pluginList))
                                this._initPlugin(this.pluginList[t]);
                              this._showFirstPluginWhenEmpty(),
                                this.triggerEvent("ready");
                            }),
                            (i._showFirstPluginWhenEmpty = function () {
                              var t = Object.keys(this.pluginList);
                              "" === this.compInstance.activedPluginId &&
                                t.length > 0 &&
                                this.showPlugin(t[0]);
                            }),
                            (i.triggerEvent = function (t, n) {
                              var r = this;
                              (t =
                                "on" + t.charAt(0).toUpperCase() + t.slice(1)),
                                e.mf(this.option[t]) &&
                                  setTimeout(function () {
                                    r.option[t].apply(r, n);
                                  }, 0);
                            }),
                            (i._initPlugin = function (t) {
                              var e = this;
                              (t.vConsole = this),
                                (this.compInstance.pluginList[t.id] = {
                                  id: t.id,
                                  name: t.name,
                                  hasTabPanel: !1,
                                  tabOptions: void 0,
                                  topbarList: [],
                                  toolbarList: [],
                                  content: void 0,
                                  contentContainer: void 0,
                                }),
                                (this.compInstance.pluginList =
                                  this._reorderPluginList(
                                    this.compInstance.pluginList
                                  )),
                                t.trigger("init"),
                                t.trigger("renderTab", function (n, r) {
                                  void 0 === r && (r = {});
                                  var i = e.compInstance.pluginList[t.id];
                                  (i.hasTabPanel = !0),
                                    (i.tabOptions = r),
                                    n &&
                                      (e.compInstance.pluginList[t.id].content =
                                        n),
                                    (e.compInstance.pluginList =
                                      e.compInstance.pluginList);
                                }),
                                t.trigger("addTopBar", function (n) {
                                  if (n) {
                                    for (var r = [], i = 0; i < n.length; i++) {
                                      var o = n[i];
                                      r.push({
                                        name: o.name || "Undefined",
                                        className: o.className || "",
                                        actived: !!o.actived,
                                        data: o.data,
                                        onClick: o.onClick,
                                      });
                                    }
                                    (e.compInstance.pluginList[
                                      t.id
                                    ].topbarList = r),
                                      (e.compInstance.pluginList =
                                        e.compInstance.pluginList);
                                  }
                                }),
                                t.trigger("addTool", function (n) {
                                  if (n) {
                                    for (var r = [], i = 0; i < n.length; i++) {
                                      var o = n[i];
                                      r.push({
                                        name: o.name || "Undefined",
                                        global: !!o.global,
                                        data: o.data,
                                        onClick: o.onClick,
                                      });
                                    }
                                    (e.compInstance.pluginList[
                                      t.id
                                    ].toolbarList = r),
                                      (e.compInstance.pluginList =
                                        e.compInstance.pluginList);
                                  }
                                }),
                                (t.isReady = !0),
                                t.trigger("ready");
                            }),
                            (i._triggerPluginsEvent = function (t) {
                              for (var e in this.pluginList)
                                this.pluginList[e].isReady &&
                                  this.pluginList[e].trigger(t);
                            }),
                            (i._triggerPluginEvent = function (t, e) {
                              var n = this.pluginList[t];
                              n && n.isReady && n.trigger(e);
                            }),
                            (i._reorderPluginList = function (t) {
                              var n = this;
                              if (!e.kJ(this.option.pluginOrder)) return t;
                              for (
                                var r = Object.keys(t).sort(function (t, e) {
                                    var r = n.option.pluginOrder.indexOf(t),
                                      i = n.option.pluginOrder.indexOf(e);
                                    return r === i
                                      ? 0
                                      : -1 === r
                                      ? 1
                                      : -1 === i
                                      ? -1
                                      : r - i;
                                  }),
                                  i = {},
                                  o = 0;
                                o < r.length;
                                o++
                              )
                                i[r[o]] = t[r[o]];
                              return i;
                            }),
                            (i.addPlugin = function (t) {
                              return void 0 !== this.pluginList[t.id]
                                ? (console.debug(
                                    "[vConsole] Plugin `" +
                                      t.id +
                                      "` has already been added."
                                  ),
                                  !1)
                                : ((this.pluginList[t.id] = t),
                                  this.isInited &&
                                    (this._initPlugin(t),
                                    this._showFirstPluginWhenEmpty()),
                                  !0);
                            }),
                            (i.removePlugin = function (t) {
                              t = (t + "").toLowerCase();
                              var e = this.pluginList[t];
                              if (void 0 === e)
                                return (
                                  console.debug(
                                    "[vConsole] Plugin `" +
                                      t +
                                      "` does not exist."
                                  ),
                                  !1
                                );
                              e.trigger("remove");
                              try {
                                delete this.pluginList[t],
                                  delete this.compInstance.pluginList[t];
                              } catch {
                                (this.pluginList[t] = void 0),
                                  (this.compInstance.pluginList[t] = void 0);
                              }
                              return (
                                (this.compInstance.pluginList =
                                  this.compInstance.pluginList),
                                this.compInstance.activedPluginId == t &&
                                  ((this.compInstance.activedPluginId = ""),
                                  this._showFirstPluginWhenEmpty()),
                                !0
                              );
                            }),
                            (i.show = function () {
                              this.isInited &&
                                ((this.compInstance.show = !0),
                                this._triggerPluginsEvent("showConsole"));
                            }),
                            (i.hide = function () {
                              this.isInited &&
                                ((this.compInstance.show = !1),
                                this._triggerPluginsEvent("hideConsole"));
                            }),
                            (i.showSwitch = function () {
                              this.isInited &&
                                (this.compInstance.showSwitchButton = !0);
                            }),
                            (i.hideSwitch = function () {
                              this.isInited &&
                                (this.compInstance.showSwitchButton = !1);
                            }),
                            (i.showPlugin = function (t) {
                              this.isInited &&
                                (this.pluginList[t] ||
                                  console.debug(
                                    "[vConsole] Plugin `" +
                                      t +
                                      "` does not exist."
                                  ),
                                this.compInstance.activedPluginId &&
                                  this._triggerPluginEvent(
                                    this.compInstance.activedPluginId,
                                    "hide"
                                  ),
                                (this.compInstance.activedPluginId = t),
                                this._triggerPluginEvent(
                                  this.compInstance.activedPluginId,
                                  "show"
                                ));
                            }),
                            (i.setOption = function (t, n) {
                              if ("string" == typeof t) {
                                for (
                                  var r = t.split("."), i = this.option, o = 0;
                                  o < r.length;
                                  o++
                                ) {
                                  if (
                                    "__proto__" === r[o] ||
                                    "constructor" === r[o] ||
                                    "prototype" === r[o]
                                  )
                                    return void console.debug(
                                      "[vConsole] Cannot set `" +
                                        r[o] +
                                        "` in `vConsole.setOption()`."
                                    );
                                  void 0 === i[r[o]] && (i[r[o]] = {}),
                                    o === r.length - 1 && (i[r[o]] = n),
                                    (i = i[r[o]]);
                                }
                                this._triggerPluginsEvent("updateOption"),
                                  this._updateComponentByOptions();
                              } else if (e.Kn(t)) {
                                for (var a in t)
                                  "__proto__" !== a &&
                                  "constructor" !== a &&
                                  "prototype" !== a
                                    ? (this.option[a] = t[a])
                                    : console.debug(
                                        "[vConsole] Cannot set `" +
                                          a +
                                          "` in `vConsole.setOption()`."
                                      );
                                this._triggerPluginsEvent("updateOption"),
                                  this._updateComponentByOptions();
                              } else
                                console.debug(
                                  "[vConsole] The first parameter of `vConsole.setOption()` must be a string or an object."
                                );
                            }),
                            (i.destroy = function () {
                              if (this.isInited) {
                                (this.isInited = !1), (n.instance = void 0);
                                for (
                                  var t = Object.keys(this.pluginList),
                                    e = t.length - 1;
                                  e >= 0;
                                  e--
                                )
                                  this.removePlugin(t[e]);
                                this.compInstance.$destroy();
                              }
                            }),
                            (0, t.Z)(n, null, [
                              {
                                key: "instance",
                                get: function () {
                                  return window.__VCONSOLE_INSTANCE;
                                },
                                set: function (t) {
                                  void 0 === t || t instanceof n
                                    ? (window.__VCONSOLE_INSTANCE = t)
                                    : console.debug(
                                        "[vConsole] Cannot set `VConsole.instance` because the value is not the instance of VConsole."
                                      );
                                },
                              },
                            ]),
                            n
                          );
                        })();
                      (Vi.VConsolePlugin = void 0),
                        (Vi.VConsoleLogPlugin = void 0),
                        (Vi.VConsoleDefaultPlugin = void 0),
                        (Vi.VConsoleSystemPlugin = void 0),
                        (Vi.VConsoleNetworkPlugin = void 0),
                        (Vi.VConsoleElementPlugin = void 0),
                        (Vi.VConsoleStoragePlugin = void 0),
                        (Vi.VConsolePlugin = et),
                        (Vi.VConsoleLogPlugin = vn),
                        (Vi.VConsoleDefaultPlugin = gn),
                        (Vi.VConsoleSystemPlugin = yn),
                        (Vi.VConsoleNetworkPlugin = gr),
                        (Vi.VConsoleElementPlugin = Kr),
                        (Vi.VConsoleStoragePlugin = bi);
                      var _i = Vi;
                    })(),
                    (__nested_webpack_exports__ =
                      __nested_webpack_exports__.default),
                    __nested_webpack_exports__
                  );
                })();
              }),
              (module.exports = t());
          })(vconsole_min);
          var vconsole_minExports = vconsole_min.exports;
          const VConsole = getDefaultExportFromCjs(vconsole_minExports),
            isSupportMse =
              window.MediaSource &&
              window.MediaSource.isTypeSupported(
                'video/mp4; codecs="avc1.42E01E,mp4a.40.2"'
              ),
            isSafari = /^((?!chrome|android).)*safari/i.test(
              navigator.userAgent
            );
          let playerMap = {
            1: (t) => (
              console.log("decode", t, !window.VideoDecoder),
              isSupportMse || (window.VideoDecoder && 3 != t)
                ? !isSupportMse || isSafari || 1 == t || 2 == t
                  ? xxPlayer$3
                  : xxPlayer$4
                : xxPlayer
            ),
            2: xxPlayer$2,
            3: xxPlayer$1,
          };
          const getIosVerison = () => {
              const t = navigator.userAgent;
              if (/iPhone|iPad|iPod/i.test(t)) {
                const e = t.match(/OS (\d+)_(\d+)_?(\d+)?/),
                  n = e
                    ? [
                        parseInt(e[1], 10),
                        parseInt(e[2], 10),
                        parseInt(e[3] || 0, 10),
                      ]
                    : [];
                return n.length > 0 ? n[0] + n[1] / 10 : 18;
              }
              return 18;
            },
            preloadVideos = (t, e) => {
              let n = 0;
              if (0 == t.length) return e({});
              if (window.VideoUseDb && getIosVerison() > 16) {
                const r = {};
                t.forEach((i) => {
                  const o = i.split("://")[1];
                  window.VideoUseDb.checkVideo(o, (a) => {
                    a
                      ? window.VideoUseDb.loadVideo(i, (o) => {
                          n++, (r[i] = o), n === t.length && e(r);
                        })
                      : fetch(i)
                          .then((t) => t.blob())
                          .then((a) => {
                            window.VideoUseDb.addVideo(o, a),
                              window.VideoUseDb.loadVideo(i, (o) => {
                                n++, (r[i] = o), n === t.length && e(r);
                              });
                          })
                          .catch((t) =>
                            console.error("Error fetching video: ", t)
                          );
                  });
                });
              } else
                t.forEach((t) => {
                  const e = document.createElement("video");
                  (e.preload = "auto"), (e.src = t), e.load();
                }),
                  e({});
            },
            fun = (t) => {
              console.log("未提供cb", t);
            };
          function cmwwCli(t, e, n) {
            let {
              token: r,
              projectId: i,
              environment: o,
              host: a,
              dialog: s,
              loopDis: c,
              containerLable: l,
              lang: u,
            } = t;
            if (!l) return console.log("未获取挂载元素");
            let f = isFunction(e) ? e : fun,
              d = isFunction(n) ? n : fun;
            (commonObj._sign = r),
              (commonObj._projectId = i),
              (commonObj._env = o || "prd"),
              (commonObj._url = a || ""),
              (commonObj._dialog = s || null),
              (commonObj._loop = c || !1),
              (commonObj._lang = u || ""),
              requestConf(
                commonObj._projectId,
                canTypeVideoWebm(),
                commonObj._sign,
                (e, n) => {
                  if (e)
                    if (n.data && 200 == n.code) {
                      let {
                        avatarModelType: e,
                        showVconsole: r,
                        avatarChatUrl: i,
                        avatarSilenceUrl: o,
                      } = n.data;
                      commonObj._fragmentCut = o.includes(".mp4");
                      const a = [];
                      i && a.push(i),
                        o && a.push(o),
                        preloadVideos(a, (a) => {
                          if (
                            (a[i] && (n.data.avatarChatUrl = a[i]),
                            a[o] && (n.data.avatarSilenceUrl = a[o]),
                            1 == r && new VConsole({ theme: "dark" }),
                            2 == e)
                          )
                            f(new playerMap[3](t, n));
                          else if (3 == e) f(new playerMap[2](t, n));
                          else {
                            const e = playerMap[1](n.data.decodeType);
                            f(new e(t, n));
                          }
                        });
                    } else d(n.message);
                  else d("接口调用失败");
                }
              );
          }
          console.log("version", "14.7.6");
          const asrClient = asrPlayer;
          (exports.asrClient = asrClient),
            (exports.cmwwCli = cmwwCli),
            Object.defineProperty(exports, Symbol.toStringTag, {
              value: "Module",
            });
        }),
          tt(exports);
      },
      11404: (t, e, n) => {
        "use strict";
        n.r(e),
          n.d(e, {
            CardConfig: () => g,
            ThirdCardGroupType: () => V,
            default: () => b,
            loadStatus: () => y,
          });
        var r = n(4573),
          i = n(52063),
          o = n(63229);
        function a(t) {
          return (
            (a =
              "function" == typeof Symbol && "symbol" == typeof Symbol.iterator
                ? function (t) {
                    return typeof t;
                  }
                : function (t) {
                    return t &&
                      "function" == typeof Symbol &&
                      t.constructor === Symbol &&
                      t !== Symbol.prototype
                      ? "symbol"
                      : typeof t;
                  }),
            a(t)
          );
        }
        function s(t, e) {
          for (var n = 0; n < e.length; n++) {
            var r = e[n];
            (r.enumerable = r.enumerable || !1),
              (r.configurable = !0),
              "value" in r && (r.writable = !0),
              Object.defineProperty(t, v(r.key), r);
          }
        }
        function c(t, e, n) {
          return (
            e && s(t.prototype, e),
            n && s(t, n),
            Object.defineProperty(t, "prototype", { writable: !1 }),
            t
          );
        }
        function l(t, e) {
          if (!(t instanceof e))
            throw new TypeError("Cannot call a class as a function");
        }
        function u(t, e, n) {
          return (
            (e = d(e)),
            (function (t, e) {
              if (e && ("object" == a(e) || "function" == typeof e)) return e;
              if (void 0 !== e)
                throw new TypeError(
                  "Derived constructors may only return object or undefined"
                );
              return (function (t) {
                if (void 0 === t)
                  throw new ReferenceError(
                    "this hasn't been initialised - super() hasn't been called"
                  );
                return t;
              })(t);
            })(
              t,
              f()
                ? Reflect.construct(e, n || [], d(t).constructor)
                : e.apply(t, n)
            )
          );
        }
        function f() {
          try {
            var t = !Boolean.prototype.valueOf.call(
              Reflect.construct(Boolean, [], function () {})
            );
          } catch (t) {}
          return (f = function () {
            return !!t;
          })();
        }
        function d(t) {
          return (
            (d = Object.setPrototypeOf
              ? Object.getPrototypeOf.bind()
              : function (t) {
                  return t.__proto__ || Object.getPrototypeOf(t);
                }),
            d(t)
          );
        }
        function h(t, e) {
          if ("function" != typeof e && null !== e)
            throw new TypeError(
              "Super expression must either be null or a function"
            );
          (t.prototype = Object.create(e && e.prototype, {
            constructor: { value: t, writable: !0, configurable: !0 },
          })),
            Object.defineProperty(t, "prototype", { writable: !1 }),
            e && p(t, e);
        }
        function p(t, e) {
          return (
            (p = Object.setPrototypeOf
              ? Object.setPrototypeOf.bind()
              : function (t, e) {
                  return (t.__proto__ = e), t;
                }),
            p(t, e)
          );
        }
        function m(t, e, n) {
          return (
            (e = v(e)) in t
              ? Object.defineProperty(t, e, {
                  value: n,
                  enumerable: !0,
                  configurable: !0,
                  writable: !0,
                })
              : (t[e] = n),
            t
          );
        }
        function v(t) {
          var e = (function (t, e) {
            if ("object" != a(t) || !t) return t;
            var n = t[Symbol.toPrimitive];
            if (void 0 !== n) {
              var r = n.call(t, e || "default");
              if ("object" != a(r)) return r;
              throw new TypeError(
                "@@toPrimitive must return a primitive value."
              );
            }
            return ("string" === e ? String : Number)(t);
          })(t, "string");
          return "symbol" == a(e) ? e : e + "";
        }
        var g = (function (t) {
            function e() {
              var t;
              l(this, e);
              for (
                var n = arguments.length, r = new Array(n), a = 0;
                a < n;
                a++
              )
                r[a] = arguments[a];
              return (
                m((t = u(this, e, [].concat(r))), "actionConfig", []),
                m(t, "cardParams", []),
                m(t, "background", {
                  transparent: !0,
                  type: i.BackgroundType.Pure,
                  color: "#3f4041",
                  fillType: i.FillType.Center,
                  url: "",
                }),
                m(t, "resolutionAuto", !1),
                m(t, "containerInfo", void 0),
                m(t, "emptyDataStyleType", new o.Sk().emptyDataStyleType),
                m(t, "openSSG", !1),
                t
              );
            }
            return h(e, t), c(e);
          })(r.wF),
          y = (function (t) {
            return (t.FAIL = "fail"), (t.SUCCESS = "success"), t;
          })({}),
          b = (function (t) {
            function e() {
              var t;
              l(this, e);
              for (
                var n = arguments.length, r = new Array(n), o = 0;
                o < n;
                o++
              )
                r[o] = arguments[o];
              return (
                m((t = u(this, e, [].concat(r))), "id", void 0),
                m(t, "cardId", void 0),
                m(t, "originalId", void 0),
                m(t, "origin", void 0),
                m(t, "type", i.PageType.Card),
                m(t, "container", void 0),
                m(t, "$cardWrap", void 0),
                m(t, "config", void 0),
                m(t, "loadStatus", void 0),
                m(t, "loadMessage", void 0),
                m(t, "codeCssOrder", void 0),
                m(t, "codeJsOrder", void 0),
                t
              );
            }
            return h(e, t), c(e);
          })(r.Ay),
          V = (function (t) {
            return (
              (t.Normal = "Normal"),
              (t.Publish = "Publish"),
              (t.SaveAs = "SaveAs"),
              t
            );
          })({});
      },
      12211: (t, e, n) => {
        "use strict";
        n.d(e, { Y: () => m, p: () => h });
        var r = n(74353),
          i = n.n(r),
          o = n(23850),
          a = n(79209),
          s = n(18040),
          c = "".concat(s.Ay.UX_API, "/designer/system");
        const l = {
          GET_USER_INFO: "".concat(c, "/getUser"),
          GET_SERVER_DATE: "".concat(c, "/getDate"),
        };
        function u(t) {
          return (
            (u =
              "function" == typeof Symbol && "symbol" == typeof Symbol.iterator
                ? function (t) {
                    return typeof t;
                  }
                : function (t) {
                    return t &&
                      "function" == typeof Symbol &&
                      t.constructor === Symbol &&
                      t !== Symbol.prototype
                      ? "symbol"
                      : typeof t;
                  }),
            u(t)
          );
        }
        function f(t, e, n) {
          return (
            (e = (function (t) {
              var e = (function (t, e) {
                if ("object" != u(t) || !t) return t;
                var n = t[Symbol.toPrimitive];
                if (void 0 !== n) {
                  var r = n.call(t, e || "default");
                  if ("object" != u(r)) return r;
                  throw new TypeError(
                    "@@toPrimitive must return a primitive value."
                  );
                }
                return ("string" === e ? String : Number)(t);
              })(t, "string");
              return "symbol" == u(e) ? e : e + "";
            })(e)) in t
              ? Object.defineProperty(t, e, {
                  value: n,
                  enumerable: !0,
                  configurable: !0,
                  writable: !0,
                })
              : (t[e] = n),
            t
          );
        }
        var d = { timeStamp: null, localTimeStamp: null };
        async function h(t) {
          var e,
            n = (
              null !==
                (e =
                  t ||
                  (await (async function () {
                    var t = await (0, a.get)(l.GET_SERVER_DATE);
                    return "0" === t.code ? t.data : null;
                  })())) && void 0 !== e
                ? e
                : {}
            ).currentTime;
          (d.timeStamp = n), (d.localTimeStamp = +new Date());
        }
        function p(t) {
          var e =
              arguments.length > 1 && void 0 !== arguments[1]
                ? arguments[1]
                : +new Date(),
            n = i()(e),
            r = n.year(),
            o = n.month() + 1,
            a = n.date(),
            s = "".concat(r, "-").concat(o, "-").concat(a);
          return f(
            f(
              f(
                f(
                  f(
                    f({}, "".concat(t, "Year"), r),
                    "".concat(t, "Month"),
                    "".concat(r, "-").concat(o)
                  ),
                  "".concat(t, "Day"),
                  s
                ),
                "".concat(t, "Hours"),
                "".concat(s, " ").concat(n.format("HH"))
              ),
              "".concat(t, "Minutes"),
              "".concat(s, " ").concat(n.format("HH:mm"))
            ),
            "".concat(t, "Second"),
            "".concat(s, " ").concat(n.format("HH:mm:ss"))
          );
        }
        function m() {
          var t,
            e,
            n = this,
            r = (0, o.bv)(),
            i = p("local"),
            a =
              ((t = d.timeStamp),
              (e = d.localTimeStamp),
              p("server", t + (+new Date() - e))),
            s = function (t) {
              return (
                (function (t, e) {
                  if (t !== e)
                    throw new TypeError("Cannot instantiate an arrow function");
                })(this, n),
                (function (t, e) {
                  var n = t[0],
                    r = e.userInfo,
                    i = e.localDataInfo,
                    o = e.serverDateInfo;
                  switch (n) {
                    case "loginName":
                    case "userId":
                    case "deptName":
                    case "deptId":
                    case "deptIds":
                    case "areaId":
                    case "areaCode":
                    case "areaName":
                      return r[n];
                    case "serverYear":
                    case "serverMonth":
                    case "serverDay":
                    case "serverHours":
                    case "serverMinutes":
                    case "serverSecond":
                      return o[n];
                    case "localYear":
                    case "localMonth":
                    case "localDay":
                    case "localHours":
                    case "localMinutes":
                    case "localSecond":
                      return i[n];
                    default:
                      return "";
                  }
                })(t, { userInfo: r, localDataInfo: i, serverDateInfo: a })
              );
            }.bind(this);
          return s;
        }
      },
      12487: (t, e, n) => {
        "use strict";
        n.d(e, {
          AK: () => P,
          As: () => k,
          Bi: () => C,
          EA: () => T,
          Ph: () => w,
          YE: () => _,
          Yc: () => I,
          bS: () => S,
          i1: () => O,
          lP: () => E,
          pC: () => A,
          qI: () => R,
          sI: () => V,
        });
        var r = n(50205),
          i = n(97140),
          o = n(91703),
          a = n(39767),
          s = n(71308),
          c = (n(30499), n(27107)),
          l = n(81406),
          u = n(76503),
          f = n(61888),
          d = void 0;
        function h(t) {
          return (
            (h =
              "function" == typeof Symbol && "symbol" == typeof Symbol.iterator
                ? function (t) {
                    return typeof t;
                  }
                : function (t) {
                    return t &&
                      "function" == typeof Symbol &&
                      t.constructor === Symbol &&
                      t !== Symbol.prototype
                      ? "symbol"
                      : typeof t;
                  }),
            h(t)
          );
        }
        function p(t, e) {
          var n = Object.keys(t);
          if (Object.getOwnPropertySymbols) {
            var r = Object.getOwnPropertySymbols(t);
            e &&
              (r = r.filter(function (e) {
                return Object.getOwnPropertyDescriptor(t, e).enumerable;
              })),
              n.push.apply(n, r);
          }
          return n;
        }
        function m(t) {
          for (var e = 1; e < arguments.length; e++) {
            var n = null != arguments[e] ? arguments[e] : {};
            e % 2
              ? p(Object(n), !0).forEach(function (e) {
                  b(t, e, n[e]);
                })
              : Object.getOwnPropertyDescriptors
              ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(n))
              : p(Object(n)).forEach(function (e) {
                  Object.defineProperty(
                    t,
                    e,
                    Object.getOwnPropertyDescriptor(n, e)
                  );
                });
          }
          return t;
        }
        function v(t, e) {
          return (
            (function (t) {
              if (Array.isArray(t)) return t;
            })(t) ||
            (function (t, e) {
              var n =
                null == t
                  ? null
                  : ("undefined" != typeof Symbol && t[Symbol.iterator]) ||
                    t["@@iterator"];
              if (null != n) {
                var r,
                  i,
                  o,
                  a,
                  s = [],
                  c = !0,
                  l = !1;
                try {
                  if (((o = (n = n.call(t)).next), 0 === e)) {
                    if (Object(n) !== n) return;
                    c = !1;
                  } else
                    for (
                      ;
                      !(c = (r = o.call(n)).done) &&
                      (s.push(r.value), s.length !== e);
                      c = !0
                    );
                } catch (t) {
                  (l = !0), (i = t);
                } finally {
                  try {
                    if (
                      !c &&
                      null != n.return &&
                      ((a = n.return()), Object(a) !== a)
                    )
                      return;
                  } finally {
                    if (l) throw i;
                  }
                }
                return s;
              }
            })(t, e) ||
            (function (t, e) {
              if (t) {
                if ("string" == typeof t) return g(t, e);
                var n = {}.toString.call(t).slice(8, -1);
                return (
                  "Object" === n && t.constructor && (n = t.constructor.name),
                  "Map" === n || "Set" === n
                    ? Array.from(t)
                    : "Arguments" === n ||
                      /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)
                    ? g(t, e)
                    : void 0
                );
              }
            })(t, e) ||
            (function () {
              throw new TypeError(
                "Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."
              );
            })()
          );
        }
        function g(t, e) {
          (null == e || e > t.length) && (e = t.length);
          for (var n = 0, r = Array(e); n < e; n++) r[n] = t[n];
          return r;
        }
        function y(t, e) {
          if (t !== e)
            throw new TypeError("Cannot instantiate an arrow function");
        }
        function b(t, e, n) {
          return (
            (e = (function (t) {
              var e = (function (t, e) {
                if ("object" != h(t) || !t) return t;
                var n = t[Symbol.toPrimitive];
                if (void 0 !== n) {
                  var r = n.call(t, e || "default");
                  if ("object" != h(r)) return r;
                  throw new TypeError(
                    "@@toPrimitive must return a primitive value."
                  );
                }
                return ("string" === e ? String : Number)(t);
              })(t, "string");
              return "symbol" == h(e) ? e : e + "";
            })(e)) in t
              ? Object.defineProperty(t, e, {
                  value: n,
                  enumerable: !0,
                  configurable: !0,
                  writable: !0,
                })
              : (t[e] = n),
            t
          );
        }
        var V = (0, r.T)(
            b({}, new Date().getTime(), [
              {
                type: c.Go.STARTER,
                content: a.get("aiModule.i18n_5"),
                status: c.qp.FINISH,
                sort: 0,
                id: (0, s.A)(),
                name: "",
              },
            ])
          ),
          _ = (0, r.T)({}),
          w = ((0, i.e)(""), (0, i.e)(!0)),
          S = (0, i.e)(!1),
          E = (0, i.e)(!1),
          A = (0, r.T)({}),
          T = ((0, i.e)(""), (0, i.e)("")),
          O = (0, i.e)(!1),
          C = (0, i.e)(c.NZ.Voice),
          P = (0, i.e)(0),
          x = (0, r.T)({ analysis: 10, control: 10 }),
          k = (0, r.T)({}),
          I = (0, r.T)({
            mode: c.Kt.NONE,
            cardList: [],
            currentCard: null,
            projectId: "",
            pageId: "",
            isEditing: !1,
            dialogStatus: c.dL.MIN,
            commands: [],
          });
        function j(t, e) {
          if (t) {
            var n = m(
                {
                  type: c.Go.ANSWER,
                  status: c.qp.FINISH,
                  sort: (0, f.A)(),
                  id: (0, s.A)(),
                  name: "",
                },
                e
              ),
              r = V.get()[t][0];
            if (e) {
              n.content;
              V.setKey(t, [m(m({}, r), {}, { status: c.qp.FINISH }), m({}, n)]);
            } else V.setKey(t, [m(m({}, r), {}, { status: c.qp.FINISH })]);
          }
        }
        async function R(t) {
          var e = this,
            n = t.msgId,
            r = t.analysisModel,
            i = t.controlModel,
            o = t.commands,
            a = t.detail;
          if (SF.AIQDataEnable)
            !(function (t) {
              t.msgId, t.analysisModel, t.controlModel;
              var e = t.commands,
                n = (t.detail, e[0].content);
              window.postMessage({ event: "chat", message: n }, "*");
            })(t);
          else {
            if (
              (r && x.setKey("analysis", r.speechTimeOut),
              i && x.setKey("control", i.speechTimeOut),
              !o || !o.length)
            )
              return j(n, { content: (0, u.A)() });
            T.set(""),
              l.A.batchExecute(
                o.map(
                  function (t) {
                    return y(this, e), m(m({}, t), {}, { detail: a });
                  }.bind(this)
                )
              )
                .then(
                  function (t) {
                    y(this, e), j(n, t[0]);
                  }.bind(this)
                )
                .catch(
                  function (t) {
                    y(this, e), console.error(t);
                  }.bind(this)
                )
                .finally(
                  function () {
                    y(this, e), C.get(), c.NZ.Voice;
                  }.bind(this)
                );
          }
        }
        (0, o.OS)(
          I,
          function (t) {
            var e = this,
              n = t.changed,
              r = t.newValue;
            if ((y(this, d), "currentCard" === n && r[n]))
              r.cardList.findIndex(
                function (t) {
                  return y(this, e), t === r[n];
                }.bind(this)
              );
          }.bind(void 0)
        ),
          V.listen(
            function () {
              y(this, d);
              var t = v(V.get()[P.get()], 2),
                e = t[0];
              t[1];
              e.status === c.qp.LOADING ? w.set(!1) : w.set(!0);
            }.bind(void 0)
          );
      },
      13389: (t, e, n) => {
        "use strict";
        n.d(e, {
          H_: () => d,
          R3: () => p,
          ZV: () => l,
          c3: () => s,
          id: () => f,
          ix: () => h,
        });
        var r = n(71542);
        function i(t) {
          return (
            (function (t) {
              if (Array.isArray(t)) return o(t);
            })(t) ||
            (function (t) {
              if (
                ("undefined" != typeof Symbol && null != t[Symbol.iterator]) ||
                null != t["@@iterator"]
              )
                return Array.from(t);
            })(t) ||
            (function (t, e) {
              if (t) {
                if ("string" == typeof t) return o(t, e);
                var n = {}.toString.call(t).slice(8, -1);
                return (
                  "Object" === n && t.constructor && (n = t.constructor.name),
                  "Map" === n || "Set" === n
                    ? Array.from(t)
                    : "Arguments" === n ||
                      /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)
                    ? o(t, e)
                    : void 0
                );
              }
            })(t) ||
            (function () {
              throw new TypeError(
                "Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."
              );
            })()
          );
        }
        function o(t, e) {
          (null == e || e > t.length) && (e = t.length);
          for (var n = 0, r = Array(e); n < e; n++) r[n] = t[n];
          return r;
        }
        function a(t, e) {
          if (t !== e)
            throw new TypeError("Cannot instantiate an arrow function");
        }
        function s(t) {
          return /%$/g.test(t) ? t : "".concat(t, "%");
        }
        function c(t, e) {
          var n = this,
            r = t.findIndex(
              function (t) {
                return a(this, n), t.bindFieldName === e;
              }.bind(this)
            );
          return -1 !== r ? r : 1;
        }
        function l(t, e) {
          var n =
              arguments.length > 2 && void 0 !== arguments[2]
                ? arguments[2]
                : {},
            i = (function (t, e) {
              var n,
                r = this,
                i = null !== (n = t[c(t, e)]) && void 0 !== n ? n : {},
                o = i.getFormatData,
                s =
                  void 0 === o
                    ? function (t) {
                        return a(this, r), t;
                      }.bind(this)
                    : o,
                l = i.getUnit;
              return {
                getFormatData: s,
                getUnit:
                  void 0 === l
                    ? function () {
                        return a(this, r), "";
                      }.bind(this)
                    : l,
              };
            })(t.columns, e),
            o = i.getUnit,
            s = n.precision,
            l = n.connector;
          return function () {
            for (var t = arguments.length, e = new Array(t), n = 0; n < t; n++)
              e[n] = arguments[n];
            if (1 === e.length) return "".concat(e[0]).concat(o());
            var i = e[0],
              a = e[1];
            return (
              r.A.isNil(s) ||
                ((i = "".concat(i.toFixed(s)).concat(o())),
                (a = "".concat(a.toFixed(s)).concat(o()))),
              "".concat(i, " ").concat(l, " ").concat(a)
            );
          };
        }
        function u(t) {
          return (t = Number(t)), r.A.isNaN(t) ? 0 : t;
        }
        function f(t, e, n) {
          var i = this,
            o = e.min,
            s = e.max;
          if ("auto" === o || "auto" === s) {
            var l = c(t.columns, n),
              f = t.data
                .map(
                  function (t) {
                    var e;
                    return (
                      a(this, i),
                      r.A.isObject(t[l])
                        ? null === (e = t[l]) || void 0 === e
                          ? void 0
                          : e.value
                        : t[l]
                    );
                  }.bind(this)
                )
                .filter(
                  function (t) {
                    return (
                      a(this, i),
                      r.A.isNumber(Number(t)) && !r.A.isNaN(Number(t))
                    );
                  }.bind(this)
                )
                .sort(
                  function (t, e) {
                    return a(this, i), t - e;
                  }.bind(this)
                );
            "auto" === o && (o = f[0]), "auto" === s && (s = f[f.length - 1]);
          }
          return { min: u(o), max: u(s) };
        }
        function d(t, e) {
          var n = t.length,
            r = i(t);
          if ((n > e && (r = r.slice(0, e)), n < e))
            for (var o = i(r), a = e - n, s = 0; s < a; s++) r.push(o[s % n]);
          return r;
        }
        function h(t) {
          var e = this;
          return t.map(
            function (t) {
              return (
                a(this, e),
                r.A.isString(t) ? t : r.A.get(t, "colorStops[0].color", "#fff")
              );
            }.bind(this)
          );
        }
        function p() {
          var t = this,
            e = arguments.length > 1 ? arguments[1] : void 0;
          return (
            arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : []
          )
            .filter(
              function (n) {
                var r;
                a(this, t);
                var i = null !== (r = n.segment) && void 0 !== r ? r : {},
                  o = i.targetDimensionId,
                  s = i.mode;
                return !o || "customSegment" !== s || o === e;
              }.bind(this)
            )
            .pop();
        }
      },
      13916: (t, e, n) => {
        "use strict";
        n.d(e, {
          A7: () => u,
          Po: () => s,
          _V: () => m,
          bv: () => V,
          dG: () => b,
          fx: () => d,
          hQ: () => h,
          ow: () => g,
          uf: () => v,
          vk: () => f,
          x6: () => y,
        });
        var r = n(64475),
          i = n(18040),
          o = n(52063),
          a = n(2809),
          s = {
            tDesignerPath: ""
              .concat(i.Ay.PREFIX_REPLACE_FLAG)
              .concat(i.ZD.UX_STATIC_CUSTOMER, "/designer"),
            tRunerPath: ""
              .concat(i.Ay.PREFIX_REPLACE_FLAG)
              .concat(i.ZD.UX_STATIC_CUSTOMER, "/runner"),
          },
          c = {
            matchPrefix: new RegExp(
              "(([a-zA-Z_]{1,}[/]{1})*)__sdc_ux_prefix__",
              "g"
            ),
            sDesignerPath: new RegExp(
              "".concat(
                s.tDesignerPath,
                "/(card|project|layoutTemplate|sceneComponent)/(\\w+)/"
              ),
              "g"
            ),
            cardRunner: new RegExp(
              ""
                .concat(window.location.origin)
                .concat(s.tRunerPath, "/card/(\\w+)/"),
              "g"
            ),
            projectRunner: new RegExp(
              "".concat(s.tRunerPath, "/project/(\\w+)/"),
              "g"
            ),
          },
          l = (function (t) {
            return (
              (t.preview = "preview"),
              (t.release = "release"),
              (t.uxnoauth = "uxnoauth"),
              (t.uxauth = "uxauth"),
              t
            );
          })({});
        function u() {
          return "runtime" === r.o9.Design;
        }
        function f() {
          return "runtime" === r.o9.Runtime;
        }
        function d() {
          var t,
            e,
            r =
              (null === (t = window) || void 0 === t ? void 0 : t.SF) ||
              (null === (e = n.g) || void 0 === e ? void 0 : e.SF);
          return (null == r ? void 0 : r.runnerEnvironment) === l.release;
        }
        function h(t) {
          return t.origin ? t.origin : window.location.origin;
        }
        function p(t) {
          if ("string" != typeof t) return t;
          var e = t.match(c.matchPrefix);
          if (!e) return t;
          var n = i.Ay.PREFIX_REPLACE_FLAG;
          return (
            e &&
              e[0] !== i.ZD.PREFIX_REPLACE_FLAG &&
              (n = n.replace(/^\//, "")),
            t.replace(c.matchPrefix, n)
          );
        }
        function m(t, e) {
          var n =
            arguments.length > 2 && void 0 !== arguments[2]
              ? arguments[2]
              : r.vt[(0, a.A)()];
          if (!t) return t;
          var i = c.sDesignerPath,
            o = "".concat(s.tDesignerPath, "/").concat(n, "/").concat(e, "/");
          function l(t) {
            return (t = (t = p(t)).replace(i, o));
          }
          return "string" != typeof t
            ? ((t = l((t = JSON.stringify(t)))), JSON.parse(t))
            : l(t);
        }
        function v(t, e) {
          if (!t) return t;
          if (d()) {
            t = p(t);
            var n = c.sDesignerPath,
              r = "".concat(s.tRunerPath, "/project/").concat(e, "/");
            t = t.replace(n, r);
          } else t = m(t, e);
          return t;
        }
        function g(t, e) {
          var n, r;
          if (!t) return t;
          var i = ""
            .concat(t.origin)
            .concat(s.tRunerPath, "/card/")
            .concat(t.id, "/");
          /(uxcardrunner\/preview)|(cardEditor)/g.test(window.location.href) &&
            (i = "".concat(s.tDesignerPath, "/card/").concat(t.id, "/")),
            (i =
              null !== (n = null == e ? void 0 : e.targetReg) && void 0 !== n
                ? n
                : i);
          var o =
            null !== (r = null == e ? void 0 : e.sourceReg) && void 0 !== r
              ? r
              : c.sDesignerPath;
          function a(t) {
            return (t = (t = p(t)).replace(o, i));
          }
          return "string" != typeof t
            ? ((t = a((t = JSON.stringify(t)))), JSON.parse(t))
            : a(t);
        }
        function y() {
          return d()
            ? "".concat(i.Ay.UX_API, "/runner")
            : "".concat(i.Ay.UX_API, "/designer");
        }
        function b(t) {
          var e, r, i;
          if (null != t)
            if (t.cardId) e = t.cardId;
            else if (t.contextId) {
              var a,
                c,
                l = t.contextId.split("-"),
                u = l
                  .slice(0, l.length > 1 ? l.length - 1 : l.length)
                  .join("-"),
                f =
                  null ===
                    (a =
                      (null === (r = window) || void 0 === r ? void 0 : r.SF) ||
                      (null === (i = n.g) || void 0 === i ? void 0 : i.SF)) ||
                  void 0 === a
                    ? void 0
                    : a.store.selectComponentById(l[l.length - 1], u);
              e =
                null == f || null === (c = f.card) || void 0 === c
                  ? void 0
                  : c.cardId;
            }
          var h = window.SF.store.selectCurrentPage(),
            p = h.type,
            m = h.projectId,
            v = h.cardId,
            g = p === o.PageType.Card || e ? "card" : "project";
          !e && "card" === g && v && (e = v);
          var y = "".concat(g, "/").concat("card" !== g ? m : e);
          return d()
            ? "".concat(s.tRunerPath, "/").concat(y)
            : "".concat(s.tDesignerPath, "/").concat(y);
        }
        function V(t) {
          return h(t) + y();
        }
      },
      14251: (t, e, n) => {
        "use strict";
        n.d(e, { A: () => V });
        const r = "animator-module__pause--H08aPG";
        var i = n(54497);
        function o(t) {
          return (
            (o =
              "function" == typeof Symbol && "symbol" == typeof Symbol.iterator
                ? function (t) {
                    return typeof t;
                  }
                : function (t) {
                    return t &&
                      "function" == typeof Symbol &&
                      t.constructor === Symbol &&
                      t !== Symbol.prototype
                      ? "symbol"
                      : typeof t;
                  }),
            o(t)
          );
        }
        function a(t, e) {
          if (t !== e)
            throw new TypeError("Cannot instantiate an arrow function");
        }
        function s(t, e) {
          if (!(t instanceof e))
            throw new TypeError("Cannot call a class as a function");
        }
        function c(t, e) {
          for (var n = 0; n < e.length; n++) {
            var r = e[n];
            (r.enumerable = r.enumerable || !1),
              (r.configurable = !0),
              "value" in r && (r.writable = !0),
              Object.defineProperty(t, f(r.key), r);
          }
        }
        function l(t, e, n) {
          return (
            e && c(t.prototype, e),
            n && c(t, n),
            Object.defineProperty(t, "prototype", { writable: !1 }),
            t
          );
        }
        function u(t, e, n) {
          return (
            (e = f(e)) in t
              ? Object.defineProperty(t, e, {
                  value: n,
                  enumerable: !0,
                  configurable: !0,
                  writable: !0,
                })
              : (t[e] = n),
            t
          );
        }
        function f(t) {
          var e = (function (t, e) {
            if ("object" != o(t) || !t) return t;
            var n = t[Symbol.toPrimitive];
            if (void 0 !== n) {
              var r = n.call(t, e || "default");
              if ("object" != o(r)) return r;
              throw new TypeError(
                "@@toPrimitive must return a primitive value."
              );
            }
            return ("string" === e ? String : Number)(t);
          })(t, "string");
          return "symbol" == o(e) ? e : e + "";
        }
        function d() {
          function t() {
            return ((65536 * (1 + Math.random())) | 0)
              .toString(16)
              .substring(1);
          }
          return ""
            .concat(t(), "-")
            .concat(t(), "-")
            .concat(t(), "-")
            .concat(t());
        }
        var h = "animate__",
          p = (function () {
            return l(
              function t(e) {
                s(this, t),
                  u(this, "id", void 0),
                  u(this, "_animation", void 0),
                  u(this, "_timer", void 0),
                  (this._animation = e),
                  (this.id = d());
              },
              [
                {
                  key: "start",
                  value: function () {
                    var t = this,
                      e = this._animation,
                      n = e.duration,
                      o = void 0 === n ? 0 : n,
                      s = e.type,
                      c = e.target,
                      l = e.delay,
                      u = void 0 === l ? 0 : l,
                      f = "".concat(h).concat(s);
                    return i.wc.includes(s) && s && c
                      ? (c.classList.add("".concat(h, "animated"), f, r),
                        (c.style.animationDuration = "".concat(
                          Math.max(1, o),
                          "ms"
                        )),
                        (c.style.willChange = "transform, opacity"),
                        clearTimeout(this._timer),
                        new Promise(
                          function (n) {
                            var i = this;
                            a(this, t),
                              (this._timer = setTimeout(
                                function () {
                                  var t = this;
                                  a(this, i),
                                    c.classList.add(
                                      "".concat(h, "animated"),
                                      f
                                    ),
                                    c.classList.remove(r),
                                    e.timingFunction &&
                                      (c.style.animationTimingFunction =
                                        e.timingFunction);
                                  var o = function (e) {
                                    a(this, t),
                                      e.target === c &&
                                        (c.removeEventListener(
                                          "animationend",
                                          o
                                        ),
                                        this.stop());
                                  }.bind(this);
                                  c.addEventListener("animationend", o);
                                  var s = new MutationObserver(
                                    function () {
                                      a(this, t),
                                        c.classList.contains(f) ||
                                          (s.disconnect(),
                                          (s = null),
                                          c.removeEventListener(
                                            "animationend",
                                            o
                                          ),
                                          n());
                                    }.bind(this)
                                  );
                                  s.observe(c, {
                                    childList: !1,
                                    attributes: !0,
                                    subtree: !1,
                                  });
                                }.bind(this),
                                u
                              ));
                          }.bind(this)
                        ))
                      : Promise.resolve();
                  },
                },
                {
                  key: "stop",
                  value: function () {
                    var t = this._animation,
                      e = t.type,
                      n = void 0 === e ? "" : e,
                      i = t.target,
                      o = "".concat(h).concat(n);
                    (i.style.animationDuration = ""),
                      (i.style.willChange = ""),
                      i.classList.remove(o, "".concat(h, "animated"), r),
                      clearTimeout(this._timer);
                  },
                },
                {
                  key: "pause",
                  value: function () {
                    this._animation.target.classList.add(r);
                  },
                },
                {
                  key: "resume",
                  value: function () {
                    this._animation.target.classList.remove(r);
                  },
                },
              ]
            );
          })(),
          m = (function () {
            return l(
              function t(e) {
                s(this, t),
                  u(this, "id", ""),
                  u(this, "_paused", !1),
                  u(this, "_started", 0),
                  u(this, "_tracks", []),
                  u(this, "_status", []),
                  u(this, "_done", []),
                  (this.animation = e),
                  this._tracks.push(this._createTrack(this.animation)),
                  (this.id = d());
              },
              [
                {
                  key: "_createTrack",
                  value: function (t) {
                    return new p(t);
                  },
                },
                {
                  key: "start",
                  value: function () {
                    var t = this;
                    return (
                      this._started > 0 ||
                        ((this._started = 1),
                        (this._status = []),
                        this._tracks.forEach(
                          function (e) {
                            a(this, t), this._status.push(e.start());
                          }.bind(this)
                        ),
                        this._done.forEach(
                          function (e) {
                            return a(this, t), e();
                          }.bind(this)
                        ),
                        (this._done = [])),
                      this
                    );
                  },
                },
                {
                  key: "stop",
                  value: function () {
                    var t = this;
                    return (
                      (this._started = 2),
                      this._tracks.forEach(
                        function (e) {
                          a(this, t), e.stop();
                        }.bind(this)
                      ),
                      this
                    );
                  },
                },
                {
                  key: "pause",
                  value: function () {
                    var t = this;
                    return (
                      (this._paused = !0),
                      this._tracks.forEach(
                        function (e) {
                          a(this, t), e.pause();
                        }.bind(this)
                      ),
                      this
                    );
                  },
                },
                {
                  key: "resume",
                  value: function () {
                    var t = this;
                    return (
                      this._tracks.forEach(
                        function (e) {
                          a(this, t), e.resume();
                        }.bind(this)
                      ),
                      (this._paused = !1),
                      this
                    );
                  },
                },
                {
                  key: "delay",
                  value: function (t) {
                    return (this._delay = t), this;
                  },
                },
                { key: "during", value: function (t) {} },
                {
                  key: "done",
                  value: function () {
                    var t = this,
                      e =
                        arguments.length > 0 && void 0 !== arguments[0]
                          ? arguments[0]
                          : function () {
                              a(this, t);
                            }.bind(this),
                      n = function () {
                        var n = this;
                        a(this, t),
                          Promise.all(this._status).then(
                            function () {
                              a(this, n), 2 !== this._started && e();
                            }.bind(this)
                          );
                      }.bind(this);
                    return 0 === this._started ? this._done.push(n) : n(), this;
                  },
                },
                {
                  key: "destroy",
                  value: function () {
                    this.stop(),
                      (this.animation = null),
                      (this._tracks = []),
                      (this._started = 0),
                      (this._status = []),
                      (this._paused = !1),
                      (this._done = []);
                  },
                },
              ]
            );
          })();
        function v(t) {
          return (
            (v =
              "function" == typeof Symbol && "symbol" == typeof Symbol.iterator
                ? function (t) {
                    return typeof t;
                  }
                : function (t) {
                    return t &&
                      "function" == typeof Symbol &&
                      t.constructor === Symbol &&
                      t !== Symbol.prototype
                      ? "symbol"
                      : typeof t;
                  }),
            v(t)
          );
        }
        function g(t, e) {
          var n = Object.keys(t);
          if (Object.getOwnPropertySymbols) {
            var r = Object.getOwnPropertySymbols(t);
            e &&
              (r = r.filter(function (e) {
                return Object.getOwnPropertyDescriptor(t, e).enumerable;
              })),
              n.push.apply(n, r);
          }
          return n;
        }
        function y(t) {
          for (var e = 1; e < arguments.length; e++) {
            var n = null != arguments[e] ? arguments[e] : {};
            e % 2
              ? g(Object(n), !0).forEach(function (e) {
                  b(t, e, n[e]);
                })
              : Object.getOwnPropertyDescriptors
              ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(n))
              : g(Object(n)).forEach(function (e) {
                  Object.defineProperty(
                    t,
                    e,
                    Object.getOwnPropertyDescriptor(n, e)
                  );
                });
          }
          return t;
        }
        function b(t, e, n) {
          return (
            (e = (function (t) {
              var e = (function (t, e) {
                if ("object" != v(t) || !t) return t;
                var n = t[Symbol.toPrimitive];
                if (void 0 !== n) {
                  var r = n.call(t, e || "default");
                  if ("object" != v(r)) return r;
                  throw new TypeError(
                    "@@toPrimitive must return a primitive value."
                  );
                }
                return ("string" === e ? String : Number)(t);
              })(t, "string");
              return "symbol" == v(e) ? e : e + "";
            })(e)) in t
              ? Object.defineProperty(t, e, {
                  value: n,
                  enumerable: !0,
                  configurable: !0,
                  writable: !0,
                })
              : (t[e] = n),
            t
          );
        }
        function V(t) {
          return new m(y(y({}, t), {}, { delay: t.startTime }));
        }
      },
      14987: (t, e, n) => {
        "use strict";
        n.d(e, { A: () => D });
        var r = n(71542),
          i = n(74692),
          o = n.n(i);
        function a(t, e) {
          if (t !== e)
            throw new TypeError("Cannot instantiate an arrow function");
        }
        function s(t) {
          return (
            (s =
              "function" == typeof Symbol && "symbol" == typeof Symbol.iterator
                ? function (t) {
                    return typeof t;
                  }
                : function (t) {
                    return t &&
                      "function" == typeof Symbol &&
                      t.constructor === Symbol &&
                      t !== Symbol.prototype
                      ? "symbol"
                      : typeof t;
                  }),
            s(t)
          );
        }
        var c = [",", ".", "_", " "],
          l = [",", ".", "-", "_", " "],
          u = { width: ["%"], height: ["%"] },
          f = {
            default: ["-", " ", "%"],
            color: ["#", " ", "(", ")"],
            image: ["(", ")", ":", "/", "?", "&", "-", ".", '"', "=", " "],
          },
          d = {
            background: [
              "(",
              ")",
              ":",
              "%",
              "/",
              "?",
              "&",
              "-",
              " ",
              ".",
              '"',
              "=",
              "#",
            ],
            "background-image": f.image,
            "background-color": f.color,
            "border-color": f.color,
            "border-image": f.image,
            color: f.color,
            icon: f.image,
            "list-style-image": f.image,
            "outline-color": f.color,
          },
          h = {
            attr_name: ["on[a-z]{1,}", "style", "href", "src"],
            attr_val: ["javascript:"],
            css_key: ["behavior", "-moz-behavior", "-ms-behavior"],
            css_val: ["expression"],
          },
          p = { blacklist: !0 },
          m = !1;
        o().encoder = {
          author: "Chris Schmidt (chris.schmidt@owasp.org)",
          version: "${project.version}",
          init: function (t) {
            if (m)
              throw "jQuery Encoder has already been initialized - cannot set options after initialization";
            (m = !0), o().extend(p, t);
          },
          encodeForHTML: function (t) {
            m = !0;
            var e = document.createElement("div");
            return o()(e).text(t), o()(e).html();
          },
          encodeForHTMLAttribute: function (t, e, n) {
            var r;
            (m = !0),
              (t = o().encoder.canonicalize(t).toLowerCase()),
              (e = o().encoder.canonicalize(e));
            for (var i = 0; i < h.attr_name.length; i++)
              if (t.toLowerCase().match(h.attr_name[i]))
                throw "Unsafe attribute name used: ".concat(t);
            for (var a = 0; a < h.attr_val.length; a++)
              if (e.toLowerCase().match(h.attr_val[a]))
                throw "Unsafe attribute value used: ".concat(e);
            (r = u[t]) || (r = l);
            var s = "";
            if (!n) {
              for (var c = 0; c < t.length; c++) {
                var f = t.charAt(c);
                if (!f.match(/[a-zA-Z\-0-9]/))
                  throw "Invalid attribute name specified";
                s += f;
              }
              s += '="';
            }
            for (i = 0; i < e.length; i++) {
              var d = e.charAt(i),
                p = e.charCodeAt(i);
              if (!d.match(/[a-zA-Z0-9]/) && o().inArray(d, r) < 0) {
                var v = p.toString(16);
                s += "&#x".concat(v, ";");
              } else s += d;
            }
            return n || (s += '"'), s;
          },
          encodeForCSS: function (t, e, n) {
            var r;
            if (
              ((m = !0),
              (t = o().encoder.canonicalize(t).toLowerCase()),
              (e = o().encoder.canonicalize(e)),
              o().inArray(t, h.css_key) >= 0)
            )
              throw "Unsafe property name used: ".concat(t);
            for (var i = 0; i < h.css_val.length; i++)
              if (e.toLowerCase().indexOf(h.css_val[i]) >= 0)
                throw "Unsafe property value used: ".concat(e);
            (r = d[t]) || (r = f.default);
            var a = "";
            if (!n) {
              for (var s = 0; s < t.length; s++) {
                var c = t.charAt(s);
                if (!c.match(/[a-zA-Z\-]/))
                  throw "Invalid Property Name specified";
                a += c;
              }
              a += ": ";
            }
            for (var l = 0; l < e.length; l++) {
              var u = e.charAt(l),
                p = e.charCodeAt(l);
              if (!u.match(/[a-zA-Z0-9]/) && o().inArray(u, r) < 0) {
                var v = p.toString(16),
                  g = "000000".substr(v.length);
                a += "\\".concat(g).concat(v);
              } else a += u;
            }
            return a;
          },
          encodeForURL: function (t, e) {
            m = !0;
            var n = "";
            if (e) {
              if (!e.match(/^[A-Za-z\-0-9]{1,}$/))
                throw "Illegal Attribute Name Specified";
              (n += o().encoder.canonicalize(e).toLowerCase()), (n += '="');
            }
            return (n += encodeURIComponent(t)), (n += e ? '"' : "");
          },
          encodeForJavascript: function (t) {
            var e = c;
            m = !0;
            for (var n = "", r = 0; r < t.length; r++) {
              var i = t.charAt(r),
                a = t.charCodeAt(r);
              if (o().inArray(i, e) >= 0 || null == v[a]) n += i;
              else {
                var s,
                  l = a.toString(16);
                a < 256
                  ? ((s = "00".substr(l.length)),
                    (n += "\\x".concat(s).concat(l.toUpperCase())))
                  : ((s = "0000".substr(l.length)),
                    (n += "\\u".concat(s).concat(l.toUpperCase())));
              }
            }
            return n;
          },
          canonicalize: function (t, e) {
            if (((m = !0), null === t)) return null;
            for (var n = t, r = t, i = 0, o = [new w(), new S(), new E()]; ; ) {
              r = n;
              for (var a = 0; a < o.length; a++) {
                var s = o[a].decode(n);
                s != n && (i++, (n = s));
              }
              if (r == n) break;
              0;
            }
            if (e && i > 1)
              throw "Attack Detected - Multiple/Double Encodings used in input";
            return n;
          },
        };
        for (var v = [], g = 0; g < 255; g++)
          v[g] =
            (g >= 48 && g <= 57) ||
            (g >= 65 && g <= 90) ||
            (g >= 97 && g <= 122)
              ? null
              : g.toString(16);
        var y = {
          html: function (t) {
            return o().encoder.encodeForHTML(t.unsafe);
          },
          css: function (t) {
            var e = [],
              n = [];
            for (var r in (t.map ? (e = t.map) : (e[t.name] = t.unsafe), e))
              "function" != typeof e[r] &&
                e.hasOwnProperty(r) &&
                (n[r] = o().encoder.encodeForCSS(r, e[r], !0));
            return n;
          },
          attr: function (t) {
            var e = [],
              n = [];
            for (var r in (t.map ? (e = t.map) : (e[t.name] = t.unsafe), e))
              "function" != typeof e[r] &&
                e.hasOwnProperty(r) &&
                (n[r] = o().encoder.encodeForHTMLAttribute(r, e[r], !0));
            return n;
          },
        };
        o().fn.encode = function () {
          m = !0;
          var t = {
            context: "html",
            unsafe: null,
            name: null,
            map: null,
            setter: null,
            strict: !0,
          };
          return (
            1 == arguments.length && "object" === s(arguments[0])
              ? o().extend(t, arguments[0])
              : ((t.context = arguments[0]),
                2 == arguments.length
                  ? "html" == t.context
                    ? (t.unsafe = arguments[1])
                    : ("attr" != t.content && "css" != t.content) ||
                      (t.map = arguments[1])
                  : ((t.name = arguments[1]), (t.unsafe = arguments[2]))),
            "html" == t.context
              ? (t.setter = this.html)
              : "css" == t.context
              ? (t.setter = this.css)
              : "attr" == t.context && (t.setter = this.attr),
            t.setter.call(this, y[t.context].call(this, t))
          );
        };
        var b = function (t, e) {
            var n = this;
            a(this, undefined),
              Object.keys(e).forEach(
                function (r) {
                  a(this, n), (t[r] = e[r]);
                }.bind(this)
              );
          }.bind(void 0),
          V = function () {
            b(this, {
              _input: null,
              _pushback: null,
              _temp: null,
              _index: 0,
              _mark: 0,
              _hasNext: function () {
                return (
                  null != this._input &&
                  0 != this._input.length &&
                  this._index < this._input.length
                );
              },
              init: function (t) {
                this._input = t;
              },
              pushback: function (t) {
                this._pushback = t;
              },
              index: function () {
                return this._index;
              },
              hasNext: function () {
                return null != this._pushback || this._hasNext();
              },
              next: function () {
                if (null != this._pushback) {
                  var t = this._pushback;
                  return (this._pushback = null), t;
                }
                return this._hasNext()
                  ? this._input.charAt(this._index++)
                  : null;
              },
              nextHex: function () {
                var t = this.next();
                return null == t ? null : t.match(/[0-9A-Fa-f]/) ? t : null;
              },
              peek: function (t) {
                return t
                  ? !(!this._pushback || this._pushback != t) ||
                      (!!this._hasNext() &&
                        this._input.charAt(this._index) == t)
                  : this._pushback
                  ? this._pushback
                  : this._hasNext()
                  ? this._input.charAt(this._index)
                  : null;
              },
              mark: function () {
                (this._temp = this._pushback), (this._mark = this._index);
              },
              reset: function () {
                (this._pushback = this._temp), (this._index = this._mark);
              },
              remainder: function () {
                var t = this._input.substr(this._index);
                return null != this._pushback && (t = this._pushback + t), t;
              },
            });
          },
          _ = function () {
            b(this, {
              decode: function (t) {
                for (var e = "", n = new V(t); n.hasNext(); ) {
                  var r = this.decodeCharacter(n);
                  e += null != r ? r : n.next();
                }
                return e;
              },
              decodeCharacter: function (t) {
                return t.next();
              },
            });
          },
          w = function () {
            _.call(this),
              b(this, {
                decodeCharacter: function (t) {
                  t.mark();
                  var e = t.next();
                  if (null == e || "&" != e) return t.reset(), null;
                  var n,
                    r = t.next();
                  if (null == r) return t.reset(), null;
                  if ("#" == r) {
                    if (null != (n = this._getNumericEntity(t))) return n;
                  } else if (
                    r.match(/[A-Za-z]/) &&
                    (t.pushback(r), null != (n = this._getNamedEntity(t)))
                  )
                    return n;
                  return t.reset(), null;
                },
                _getNamedEntity: function (t) {
                  var e,
                    n,
                    r = "";
                  n = Math.min(t.remainder().length, x.getMaxKeyLength());
                  for (var i = 0; i < n; i++) r += t.next().toLowerCase();
                  if (null == (e = x.getLongestMatch(r))) return null;
                  t.reset(), t.next(), (n = e.getKey().length);
                  for (var o = 0; o < n; o++) t.next();
                  return t.peek(";") && t.next(), e.getValue();
                },
                _getNumericEntity: function (t) {
                  var e = t.peek();
                  return null == e
                    ? null
                    : "x" == e || "X" == e
                    ? (t.next(), this._parseHex(t))
                    : this._parseNumber(t);
                },
                _parseHex: function (t) {
                  for (var e = ""; t.hasNext(); ) {
                    var n = t.peek();
                    if (isNaN(parseInt(n, 16))) {
                      if (";" == n) {
                        t.next();
                        break;
                      }
                      break;
                    }
                    (e += n), t.next();
                  }
                  var r = parseInt(e, 16);
                  return !isNaN(r) && T(r) ? String.fromCharCode(r) : null;
                },
                _parseNumber: function (t) {
                  for (var e = ""; t.hasNext(); ) {
                    var n = t.peek();
                    if (isNaN(parseInt(n, 10))) {
                      if (";" == n) {
                        t.next();
                        break;
                      }
                      break;
                    }
                    (e += n), t.next();
                  }
                  var r = parseInt(e, 10);
                  return !isNaN(r) && T(r) ? String.fromCharCode(r) : null;
                },
              });
          },
          S = function () {
            _.call(this),
              b(this, {
                decodeCharacter: function (t) {
                  t.mark();
                  var e = t.next();
                  if (null == e) return t.reset(), null;
                  if ("%" != e) return t.reset(), null;
                  for (var n = "", r = 0; r < 2; r++) {
                    var i = t.nextHex();
                    null != i && (n += i);
                  }
                  if (2 == n.length) {
                    var o = parseInt(n, 16);
                    if (T(o)) return String.fromCharCode(o);
                  }
                  return t.reset(), null;
                },
              });
          },
          E = function () {
            _.call(this),
              b(this, {
                decodeCharacter: function (t) {
                  t.mark();
                  var e = t.next();
                  if (null == e || "\\" != e) return t.reset(), null;
                  var n = t.next();
                  if (null == n) return t.reset(), null;
                  switch (n) {
                    case "\r":
                      t.peek("\n") && t.next();
                    case "\n":
                    case "\f":
                    case "\0":
                      return this.decodeCharacter(t);
                  }
                  if ("NaN" == parseInt(n, 16)) return n;
                  for (var r = n, i = 0; i < 5; i++) {
                    var o = t.next();
                    if (null == o || O(o)) break;
                    if ("NaN" == parseInt(o, 16)) {
                      t.pushback(o);
                      break;
                    }
                    r += o;
                  }
                  var a = parseInt(r, 16);
                  return T(a) ? String.fromCharCode(a) : "�";
                },
              });
          },
          A = function () {
            b(this, {
              root: null,
              maxKeyLen: 0,
              size: 0,
              init: function () {
                this.clear();
              },
              getLongestMatch: function (t) {
                return null == this.root && null == t
                  ? null
                  : this.root.getLongestMatch(t, 0);
              },
              getMaxKeyLength: function () {
                return this.maxKeyLen;
              },
              clear: function () {
                (this.root = null), (this.maxKeyLen = 0), (this.size = 0);
              },
              put: function (t, e) {
                var n;
                return (
                  null == this.root && (this.root = new A.Node()),
                  null != (n = this.root.put(t, 0, e))
                    ? n
                    : (t.length > this.maxKeyLen && (this.maxKeyLen = t.length),
                      this.size++,
                      null)
                );
              },
            });
          };
        A.Entry = function () {
          b(this, {
            _key: null,
            _value: null,
            init: function (t, e) {
              (this._key = t), (this._value = e);
            },
            getKey: function () {
              return this._key;
            },
            getValue: function () {
              return this._value;
            },
            equals: function (t) {
              return (
                t instanceof A.Entry &&
                this._key == t._key &&
                this._value == t._value
              );
            },
          });
        };
        (A.Node = function () {
          b(this, {
            _value: null,
            _nextMap: null,
            setValue: function (t) {
              this._value = t;
            },
            getNextNode: function (t) {
              return this._nextMap ? this._nextMap[t] : null;
            },
            put: function (t, e, n) {
              var r, i, o;
              return t.length == e
                ? ((o = this._value), this.setValue(n), o)
                : ((i = t.charAt(e)),
                  null == this._nextMap
                    ? ((this._nextMap = A.Node.newNodeMap()),
                      (r = new A.Node()),
                      (this._nextMap[i] = r))
                    : null == (r = this._nextMap[i]) &&
                      ((r = new A.Node()), (this._nextMap[i] = r)),
                  r.put(t, e + 1, n));
            },
            get: function (t, e) {
              var n;
              return t.length <= e
                ? this._value
                : null == (n = this.getNextNode(t.charAt(e)))
                ? null
                : n.get(t, e + 1);
            },
            getLongestMatch: function (t, e) {
              var n, r;
              return t.length <= e
                ? A.Entry.newInstanceIfNeeded(t, this._value)
                : null == (n = this.getNextNode(t.charAt(e)))
                ? A.Entry.newInstanceIfNeeded(t, e, this._value)
                : null != (r = n.getLongestMatch(t, e + 1))
                ? r
                : A.Entry.newInstanceIfNeeded(t, e, this._value);
            },
          });
        }),
          (A.Entry.newInstanceIfNeeded = function () {
            var t,
              e,
              n = arguments[0];
            return (
              "string" == typeof arguments[1]
                ? ((t = arguments[1]), (e = n.length))
                : ((e = arguments[1]), (t = arguments[2])),
              null == t || null == n
                ? null
                : (n.length > e && (n = n.substr(0, e)), new A.Entry(n, t))
            );
          }),
          (A.Node.newNodeMap = function () {
            return {};
          });
        var T = function (t) {
            return t >= 0 && t <= 1114111;
          },
          O = function (t) {
            return t.match(/[\s]/);
          },
          C = [],
          P = [],
          x = new A();
        !(function () {
          for (var t in ((C["&quot"] = "34"),
          (C["&amp"] = "38"),
          (C["&lt"] = "60"),
          (C["&gt"] = "62"),
          (C["&nbsp"] = "160"),
          (C["&iexcl"] = "161"),
          (C["&cent"] = "162"),
          (C["&pound"] = "163"),
          (C["&curren"] = "164"),
          (C["&yen"] = "165"),
          (C["&brvbar"] = "166"),
          (C["&sect"] = "167"),
          (C["&uml"] = "168"),
          (C["&copy"] = "169"),
          (C["&ordf"] = "170"),
          (C["&laquo"] = "171"),
          (C["&not"] = "172"),
          (C["&shy"] = "173"),
          (C["&reg"] = "174"),
          (C["&macr"] = "175"),
          (C["&deg"] = "176"),
          (C["&plusmn"] = "177"),
          (C["&sup2"] = "178"),
          (C["&sup3"] = "179"),
          (C["&acute"] = "180"),
          (C["&micro"] = "181"),
          (C["&para"] = "182"),
          (C["&middot"] = "183"),
          (C["&cedil"] = "184"),
          (C["&sup1"] = "185"),
          (C["&ordm"] = "186"),
          (C["&raquo"] = "187"),
          (C["&frac14"] = "188"),
          (C["&frac12"] = "189"),
          (C["&frac34"] = "190"),
          (C["&iquest"] = "191"),
          (C["&Agrave"] = "192"),
          (C["&Aacute"] = "193"),
          (C["&Acirc"] = "194"),
          (C["&Atilde"] = "195"),
          (C["&Auml"] = "196"),
          (C["&Aring"] = "197"),
          (C["&AElig"] = "198"),
          (C["&Ccedil"] = "199"),
          (C["&Egrave"] = "200"),
          (C["&Eacute"] = "201"),
          (C["&Ecirc"] = "202"),
          (C["&Euml"] = "203"),
          (C["&Igrave"] = "204"),
          (C["&Iacute"] = "205"),
          (C["&Icirc"] = "206"),
          (C["&Iuml"] = "207"),
          (C["&ETH"] = "208"),
          (C["&Ntilde"] = "209"),
          (C["&Ograve"] = "210"),
          (C["&Oacute"] = "211"),
          (C["&Ocirc"] = "212"),
          (C["&Otilde"] = "213"),
          (C["&Ouml"] = "214"),
          (C["&times"] = "215"),
          (C["&Oslash"] = "216"),
          (C["&Ugrave"] = "217"),
          (C["&Uacute"] = "218"),
          (C["&Ucirc"] = "219"),
          (C["&Uuml"] = "220"),
          (C["&Yacute"] = "221"),
          (C["&THORN"] = "222"),
          (C["&szlig"] = "223"),
          (C["&agrave"] = "224"),
          (C["&aacute"] = "225"),
          (C["&acirc"] = "226"),
          (C["&atilde"] = "227"),
          (C["&auml"] = "228"),
          (C["&aring"] = "229"),
          (C["&aelig"] = "230"),
          (C["&ccedil"] = "231"),
          (C["&egrave"] = "232"),
          (C["&eacute"] = "233"),
          (C["&ecirc"] = "234"),
          (C["&euml"] = "235"),
          (C["&igrave"] = "236"),
          (C["&iacute"] = "237"),
          (C["&icirc"] = "238"),
          (C["&iuml"] = "239"),
          (C["&eth"] = "240"),
          (C["&ntilde"] = "241"),
          (C["&ograve"] = "242"),
          (C["&oacute"] = "243"),
          (C["&ocirc"] = "244"),
          (C["&otilde"] = "245"),
          (C["&ouml"] = "246"),
          (C["&divide"] = "247"),
          (C["&oslash"] = "248"),
          (C["&ugrave"] = "249"),
          (C["&uacute"] = "250"),
          (C["&ucirc"] = "251"),
          (C["&uuml"] = "252"),
          (C["&yacute"] = "253"),
          (C["&thorn"] = "254"),
          (C["&yuml"] = "255"),
          (C["&OElig"] = "338"),
          (C["&oelig"] = "339"),
          (C["&Scaron"] = "352"),
          (C["&scaron"] = "353"),
          (C["&Yuml"] = "376"),
          (C["&fnof"] = "402"),
          (C["&circ"] = "710"),
          (C["&tilde"] = "732"),
          (C["&Alpha"] = "913"),
          (C["&Beta"] = "914"),
          (C["&Gamma"] = "915"),
          (C["&Delta"] = "916"),
          (C["&Epsilon"] = "917"),
          (C["&Zeta"] = "918"),
          (C["&Eta"] = "919"),
          (C["&Theta"] = "920"),
          (C["&Iota"] = "921"),
          (C["&Kappa"] = "922"),
          (C["&Lambda"] = "923"),
          (C["&Mu"] = "924"),
          (C["&Nu"] = "925"),
          (C["&Xi"] = "926"),
          (C["&Omicron"] = "927"),
          (C["&Pi"] = "928"),
          (C["&Rho"] = "929"),
          (C["&Sigma"] = "931"),
          (C["&Tau"] = "932"),
          (C["&Upsilon"] = "933"),
          (C["&Phi"] = "934"),
          (C["&Chi"] = "935"),
          (C["&Psi"] = "936"),
          (C["&Omega"] = "937"),
          (C["&alpha"] = "945"),
          (C["&beta"] = "946"),
          (C["&gamma"] = "947"),
          (C["&delta"] = "948"),
          (C["&epsilon"] = "949"),
          (C["&zeta"] = "950"),
          (C["&eta"] = "951"),
          (C["&theta"] = "952"),
          (C["&iota"] = "953"),
          (C["&kappa"] = "954"),
          (C["&lambda"] = "955"),
          (C["&mu"] = "956"),
          (C["&nu"] = "957"),
          (C["&xi"] = "958"),
          (C["&omicron"] = "959"),
          (C["&pi"] = "960"),
          (C["&rho"] = "961"),
          (C["&sigmaf"] = "962"),
          (C["&sigma"] = "963"),
          (C["&tau"] = "964"),
          (C["&upsilon"] = "965"),
          (C["&phi"] = "966"),
          (C["&chi"] = "967"),
          (C["&psi"] = "968"),
          (C["&omega"] = "969"),
          (C["&thetasym"] = "977"),
          (C["&upsih"] = "978"),
          (C["&piv"] = "982"),
          (C["&ensp"] = "8194"),
          (C["&emsp"] = "8195"),
          (C["&thinsp"] = "8201"),
          (C["&zwnj"] = "8204"),
          (C["&zwj"] = "8205"),
          (C["&lrm"] = "8206"),
          (C["&rlm"] = "8207"),
          (C["&ndash"] = "8211"),
          (C["&mdash"] = "8212"),
          (C["&lsquo"] = "8216"),
          (C["&rsquo"] = "8217"),
          (C["&sbquo"] = "8218"),
          (C["&ldquo"] = "8220"),
          (C["&rdquo"] = "8221"),
          (C["&bdquo"] = "8222"),
          (C["&dagger"] = "8224"),
          (C["&Dagger"] = "8225"),
          (C["&bull"] = "8226"),
          (C["&hellip"] = "8230"),
          (C["&permil"] = "8240"),
          (C["&prime"] = "8242"),
          (C["&Prime"] = "8243"),
          (C["&lsaquo"] = "8249"),
          (C["&rsaquo"] = "8250"),
          (C["&oline"] = "8254"),
          (C["&frasl"] = "8260"),
          (C["&euro"] = "8364"),
          (C["&image"] = "8365"),
          (C["&weierp"] = "8472"),
          (C["&real"] = "8476"),
          (C["&trade"] = "8482"),
          (C["&alefsym"] = "8501"),
          (C["&larr"] = "8592"),
          (C["&uarr"] = "8593"),
          (C["&rarr"] = "8594"),
          (C["&darr"] = "8595"),
          (C["&harr"] = "8596"),
          (C["&crarr"] = "8629"),
          (C["&lArr"] = "8656"),
          (C["&uArr"] = "8657"),
          (C["&rArr"] = "8658"),
          (C["&dArr"] = "8659"),
          (C["&hArr"] = "8660"),
          (C["&forall"] = "8704"),
          (C["&part"] = "8706"),
          (C["&exist"] = "8707"),
          (C["&empty"] = "8709"),
          (C["&nabla"] = "8711"),
          (C["&isin"] = "8712"),
          (C["&notin"] = "8713"),
          (C["&ni"] = "8715"),
          (C["&prod"] = "8719"),
          (C["&sum"] = "8721"),
          (C["&minus"] = "8722"),
          (C["&lowast"] = "8727"),
          (C["&radic"] = "8730"),
          (C["&prop"] = "8733"),
          (C["&infin"] = "8734"),
          (C["&ang"] = "8736"),
          (C["&and"] = "8743"),
          (C["&or"] = "8744"),
          (C["&cap"] = "8745"),
          (C["&cup"] = "8746"),
          (C["&int"] = "8747"),
          (C["&there4"] = "8756"),
          (C["&sim"] = "8764"),
          (C["&cong"] = "8773"),
          (C["&asymp"] = "8776"),
          (C["&ne"] = "8800"),
          (C["&equiv"] = "8801"),
          (C["&le"] = "8804"),
          (C["&ge"] = "8805"),
          (C["&sub"] = "8834"),
          (C["&sup"] = "8835"),
          (C["&nsub"] = "8836"),
          (C["&sube"] = "8838"),
          (C["&supe"] = "8839"),
          (C["&oplus"] = "8853"),
          (C["&otimes"] = "8855"),
          (C["&perp"] = "8869"),
          (C["&sdot"] = "8901"),
          (C["&lceil"] = "8968"),
          (C["&rceil"] = "8969"),
          (C["&lfloor"] = "8970"),
          (C["&rfloor"] = "8971"),
          (C["&lang"] = "9001"),
          (C["&rang"] = "9002"),
          (C["&loz"] = "9674"),
          (C["&spades"] = "9824"),
          (C["&clubs"] = "9827"),
          (C["&hearts"] = "9829"),
          (C["&diams"] = "9830"),
          C))
            "function" != typeof C[t] && C.hasOwnProperty(t) && (P[C[t]] = t);
          for (var e in P)
            if ("function" != typeof P[e] && P.hasOwnProperty(e)) {
              var n = P[e].toLowerCase().substr(1);
              x.put(n, String.fromCharCode(e));
            }
        })(),
          Object.freeze
            ? ((o().encoder = Object.freeze(o().encoder)),
              (o().fn.encode = Object.freeze(o().fn.encode)))
            : Object.seal
            ? ((o().encoder = Object.seal(o().encoder)),
              (o().fn.encode = Object.seal(o().fn.encode)))
            : Object.preventExtensions &&
              ((o().encoder = Object.preventExtensions(o().encoder)),
              (o().fn.encode = Object.preventExtensions(o().fn.encode)));
        o().encoder;
        function k(t) {
          return (
            (k =
              "function" == typeof Symbol && "symbol" == typeof Symbol.iterator
                ? function (t) {
                    return typeof t;
                  }
                : function (t) {
                    return t &&
                      "function" == typeof Symbol &&
                      t.constructor === Symbol &&
                      t !== Symbol.prototype
                      ? "symbol"
                      : typeof t;
                  }),
            k(t)
          );
        }
        function I(t, e) {
          var n = Object.keys(t);
          if (Object.getOwnPropertySymbols) {
            var r = Object.getOwnPropertySymbols(t);
            e &&
              (r = r.filter(function (e) {
                return Object.getOwnPropertyDescriptor(t, e).enumerable;
              })),
              n.push.apply(n, r);
          }
          return n;
        }
        function j(t, e, n) {
          return (
            (e = (function (t) {
              var e = (function (t, e) {
                if ("object" != k(t) || !t) return t;
                var n = t[Symbol.toPrimitive];
                if (void 0 !== n) {
                  var r = n.call(t, e || "default");
                  if ("object" != k(r)) return r;
                  throw new TypeError(
                    "@@toPrimitive must return a primitive value."
                  );
                }
                return ("string" === e ? String : Number)(t);
              })(t, "string");
              return "symbol" == k(e) ? e : e + "";
            })(e)) in t
              ? Object.defineProperty(t, e, {
                  value: n,
                  enumerable: !0,
                  configurable: !0,
                  writable: !0,
                })
              : (t[e] = n),
            t
          );
        }
        function R(t, e) {
          if (t !== e)
            throw new TypeError("Cannot instantiate an arrow function");
        }
        const D = (function (t) {
          for (var e = 1; e < arguments.length; e++) {
            var n = null != arguments[e] ? arguments[e] : {};
            e % 2
              ? I(Object(n), !0).forEach(function (e) {
                  j(t, e, n[e]);
                })
              : Object.getOwnPropertyDescriptors
              ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(n))
              : I(Object(n)).forEach(function (e) {
                  Object.defineProperty(
                    t,
                    e,
                    Object.getOwnPropertyDescriptor(n, e)
                  );
                });
          }
          return t;
        })(
          {
            encode: function (t, e) {
              var n = this;
              return "string" != typeof t
                ? ""
                : ((t = t
                    .replace(/&/g, "&amp;")
                    .replace(/</g, "&lt;")
                    .replace(/>/g, "&gt;")
                    .replace(/"/g, "&quot")
                    .replace(/'/g, "&#39;")
                    .replace(/\//g, "&#47;")
                    .replace(/\(/g, "&#40;")
                    .replace(/\)/g, "&#41;")),
                  e &&
                    e.length &&
                    e.forEach(
                      function (e) {
                        R(this, n), (t = t.replace(e.old, e.new));
                      }.bind(this)
                    ),
                  t);
            },
            decode: function (t) {
              return (t = t
                .replace(/&lt;/g, "<")
                .replace(/&gt;/g, ">")
                .replace(/&quot;/g, '"')
                .replace(/&#39;/g, "'")
                .replace(/&#47;/g, "\\")
                .replace(/&#40;/g, "(")
                .replace(/&#41;/g, ")")
                .replace(/&amp;/g, "&"));
            },
            decodeXSSChar: function (t) {
              return (t = t
                .replace(/&lt;/g, "<")
                .replace(/&gt;/g, ">")
                .replace(/&quot;/g, '"')
                .replace(/&#39;/g, "'")
                .replace(/&#40;/g, "(")
                .replace(/&#41;/g, ")")
                .replace(/&amp;/g, "&"));
            },
            decodeXHRRequestXSSChar: function (t) {
              return (t = t
                .replace(/&lt;/g, "<")
                .replace(/&gt;/g, ">")
                .replace(/&nbsp;/g, " ")
                .replace(/&#40;/g, "(")
                .replace(/&#41;/g, ")")
                .replace(/&amp;/g, "&"));
            },
            decodeHtml: function (t) {
              var e = this,
                n = {
                  lt: "<",
                  gt: ">",
                  nbsp: " ",
                  amp: "&",
                  quot: '"',
                  "#x28": "(",
                  "#x29": ")",
                  "#39": "'",
                  "#47": "/",
                };
              return t && r.A.isString(t)
                ? t.replace(
                    /&(lt|gt|nbsp|amp|quot|#x28|#x29|#39|#47);/gi,
                    function (t, r) {
                      return R(this, e), n[r];
                    }.bind(this)
                  )
                : t;
            },
            filterScriptTags: function (t) {
              function e(t) {
                var e = window.document.createElement("div");
                return (
                  e.innerText ? (e.innerText = t) : (e.textContent = t),
                  e.innerHTML
                );
              }
              return (t = (t = t.replace(/<script>/gi, e("<script>"))).replace(
                new RegExp("</script>", "gi"),
                e("</script>")
              ));
            },
          },
          o().encoder
        );
      },
      15208: (t, e, n) => {
        "use strict";
        n.d(e, { A: () => m });
        var r = n(74353),
          i = n.n(r),
          o = n(41702),
          a = n(73104),
          s = n(98322),
          c = n(93776);
        function l(t) {
          return (
            (l =
              "function" == typeof Symbol && "symbol" == typeof Symbol.iterator
                ? function (t) {
                    return typeof t;
                  }
                : function (t) {
                    return t &&
                      "function" == typeof Symbol &&
                      t.constructor === Symbol &&
                      t !== Symbol.prototype
                      ? "symbol"
                      : typeof t;
                  }),
            l(t)
          );
        }
        function u(t) {
          return (
            (function (t) {
              if (Array.isArray(t)) return f(t);
            })(t) ||
            (function (t) {
              if (
                ("undefined" != typeof Symbol && null != t[Symbol.iterator]) ||
                null != t["@@iterator"]
              )
                return Array.from(t);
            })(t) ||
            (function (t, e) {
              if (t) {
                if ("string" == typeof t) return f(t, e);
                var n = {}.toString.call(t).slice(8, -1);
                return (
                  "Object" === n && t.constructor && (n = t.constructor.name),
                  "Map" === n || "Set" === n
                    ? Array.from(t)
                    : "Arguments" === n ||
                      /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)
                    ? f(t, e)
                    : void 0
                );
              }
            })(t) ||
            (function () {
              throw new TypeError(
                "Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."
              );
            })()
          );
        }
        function f(t, e) {
          (null == e || e > t.length) && (e = t.length);
          for (var n = 0, r = Array(e); n < e; n++) r[n] = t[n];
          return r;
        }
        function d(t, e) {
          var n = Object.keys(t);
          if (Object.getOwnPropertySymbols) {
            var r = Object.getOwnPropertySymbols(t);
            e &&
              (r = r.filter(function (e) {
                return Object.getOwnPropertyDescriptor(t, e).enumerable;
              })),
              n.push.apply(n, r);
          }
          return n;
        }
        function h(t) {
          for (var e = 1; e < arguments.length; e++) {
            var n = null != arguments[e] ? arguments[e] : {};
            e % 2
              ? d(Object(n), !0).forEach(function (e) {
                  p(t, e, n[e]);
                })
              : Object.getOwnPropertyDescriptors
              ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(n))
              : d(Object(n)).forEach(function (e) {
                  Object.defineProperty(
                    t,
                    e,
                    Object.getOwnPropertyDescriptor(n, e)
                  );
                });
          }
          return t;
        }
        function p(t, e, n) {
          return (
            (e = (function (t) {
              var e = (function (t, e) {
                if ("object" != l(t) || !t) return t;
                var n = t[Symbol.toPrimitive];
                if (void 0 !== n) {
                  var r = n.call(t, e || "default");
                  if ("object" != l(r)) return r;
                  throw new TypeError(
                    "@@toPrimitive must return a primitive value."
                  );
                }
                return ("string" === e ? String : Number)(t);
              })(t, "string");
              return "symbol" == l(e) ? e : e + "";
            })(e)) in t
              ? Object.defineProperty(t, e, {
                  value: n,
                  enumerable: !0,
                  configurable: !0,
                  writable: !0,
                })
              : (t[e] = n),
            t
          );
        }
        function m(t, e) {
          var n,
            r,
            l = this,
            f =
              arguments.length > 2 && void 0 !== arguments[2]
                ? arguments[2]
                : o.Operator.LIKE,
            d = t.dataType,
            p = t.columnType,
            m = t.dataFormat,
            v = t.formula,
            g = t.isCompareField;
          if (
            (p === o.ColumnType.MEASURE && (d = a.p.decimal),
            [a.p.date, a.p.dateTime].includes(d))
          ) {
            var y = i()(e[0]).format(null != m ? m : "YYYY-MM-DD HH:mm:ss");
            "Invalid date" !== y && (e = [y]);
          }
          var b = function (t) {
            return (
              (function (t, e) {
                if (t !== e)
                  throw new TypeError("Cannot instantiate an arrow function");
              })(this, l),
              t.replace("YYYY", "yyyy")
            );
          }.bind(this);
          return {
            left: {
              asColumnName:
                null !==
                  (n =
                    null !== (r = t.asColumnName) && void 0 !== r
                      ? r
                      : t.columnId) && void 0 !== n
                  ? n
                  : t.columnName,
              queryExpression: h(
                { expressionType: s.NR.COLUMN, columnName: t.columnName },
                v ? { formula: v } : {}
              ),
            },
            operator: f,
            right: {
              queryExpression: h(
                {},
                g
                  ? { expressionType: s.NR.COLUMN, columnName: e[0] }
                  : h(
                      {
                        expressionType: s.NR.LITERAL,
                        values: u((0, c.p2)(e)),
                        dataType: null != d ? d : "string",
                      },
                      m ? { dataFormat: b(m) } : {}
                    )
              ),
            },
          };
        }
      },
      15354: (t, e, n) => {
        "use strict";
        n.d(e, {
          Sy: () => v,
          Vs: () => s,
          Wv: () => a,
          Y9: () => u,
          ay: () => h,
          mC: () => m,
          nc: () => p,
          nx: () => f,
          w7: () => d,
        });
        var r = n(71542),
          i = n(90710),
          o = n(6368);
        function a(t) {
          return (
            (arguments.length > 1 && void 0 !== arguments[1]
              ? arguments[1]
              : o.A.getState()
            ).page.pages[t] || {}
          );
        }
        function s() {
          var t = (
            arguments.length > 0 && void 0 !== arguments[0]
              ? arguments[0]
              : o.A.getState()
          ).page;
          return t.pages[t.currentPage] || {};
        }
        function c() {
          var t =
            arguments.length > 0 && void 0 !== arguments[0]
              ? arguments[0]
              : o.A.getState();
          return r.A.get(
            (function () {
              var t = (
                arguments.length > 0 && void 0 !== arguments[0]
                  ? arguments[0]
                  : o.A.getState()
              ).page;
              return r.A.get(t.pageExtra, t.currentPage);
            })(t),
            "status",
            ""
          );
        }
        function l(t) {
          var e = o.A.getState(),
            n =
              (function (t) {
                var e = (
                    arguments.length > 1 && void 0 !== arguments[1]
                      ? arguments[1]
                      : o.A.getState()
                  ).page,
                  n = r.A.get(e.pageExtra, t);
                return r.A.get(n, "status", "");
              })((t = t || e.page.currentPage)) || c();
          return "loaded" !== n
            ? []
            : r.A.get(a(t, e), "config.components", []);
        }
        function u(t, e) {
          if (!t) return null;
          return (function t(e, n) {
            for (var r = 0; r < e.length; r++) {
              var i = e[r];
              if (i.id === n) return i;
              if (i.children && i.children.length > 0) {
                var o = t(i.children, n);
                if (o) return o;
              }
            }
            return null;
          })(l((e = e || o.A.getState().page.currentPage)), t);
        }
        function f(t) {
          return (t = t || o.A.getState().page.currentPage), (0, i.A)(l(t));
        }
        function d(t, e) {
          return (function t(e, n, r) {
            for (var i = 0; i < e.length; i++) {
              var o = e[i];
              if (o.id === n) return r;
              if (o.children && o.children.length) {
                var a = t(o.children, n, o);
                if (a) return a;
              }
            }
            return null;
          })(l(o.A.getState().page.currentPage), t, null);
        }
        function h(t) {
          var e =
              arguments.length > 1 && void 0 !== arguments[1]
                ? arguments[1]
                : o.A.getState(),
            n = r.A.get(window.SF, "data.page", {});
          return t === n.id
            ? e.page.pageConfigs[t] || n
            : e.page.pageConfigs[t];
        }
        function p(t) {
          var e = this,
            n = (
              arguments.length > 1 && void 0 !== arguments[1]
                ? arguments[1]
                : o.A.getState()
            ).page.pages,
            r = {};
          return (
            Object.keys(n).forEach(
              function (i) {
                !(function (t, e) {
                  if (t !== e)
                    throw new TypeError("Cannot instantiate an arrow function");
                })(this, e),
                  n[i].cardId === t && (r[i] = n[i]);
              }.bind(this)
            ),
            r
          );
        }
        function m(t) {
          var e = s().svgJson;
          return e ? e[t] : null;
        }
        function v() {
          return (
            arguments.length > 0 && void 0 !== arguments[0]
              ? arguments[0]
              : o.A.getState()
          ).page.indicatorCards;
        }
      },
      15915: (t, e, n) => {
        "use strict";
        var r = {};
        n.r(r),
          n.d(r, {
            CONST_DATETIME: () => Jc,
            CONST_TIME_FORMAT: () => Qc,
            createSystemParamParser: () => lt.Y,
            dateFormat: () => el,
            formatDate: () => tl,
            getServerSystemTime: () => ul,
            getSystemTime: () => cl,
            getTimestampFromTZC: () => ol,
            newDate: () => sl,
            parseDate: () => nl,
            timeZoneConversion: () => al,
          });
        var i = {};
        n.r(i), n.d(i, { getSystemVariable: () => hl });
        var o = {};
        n.r(o), n.d(o, { ssgExecuteFlow: () => vu, ssgExecuteHooks: () => yu });
        var a = {};
        n.r(a),
          n.d(a, {
            FILE_LEVEL: () => Su,
            FILE_TYPE_MAP: () => Eu,
            URL: () => wu,
          });
        var s = {};
        n.r(s),
          n.d(s, {
            adaptAxisData: () => Xu.W1,
            adaptLegend: () => Xu.a$,
            adaptSeriesData: () => Xu.E2,
            addOriginColumnsInfo: () => tf.v3,
            addStaticDataAndBindFieldMap: () => tf.Gx,
            echartLargeScatterAndBubbleSelect: () => Zu,
            echartMapUpdate: () => Af,
            echartSelect: () => Ku,
            echartSelectForOneSeries: () => Ju,
            echartSelectForTwoSeries: () => Qu,
            echartSeriesDataSelect: () => Yu,
            echartUpdate: () => Ef,
            generateDimensionColumn: () => tf.Cc,
            generateModelColumn: () => tf.P1,
            getTargetColumn: () => tf.Qn,
            getValue: () => Xu._W,
            isLegendForSeries: () => qu.Qc,
            isOptionsHasAxisOrLegend: () => qu.Ch,
            isSelectedSeriesItemHasAxisOrLegend: () => qu.vG,
            mergeSelectedSeries: () => qu.j_,
            mode1Dimension1Metric: () => df,
            modelData1Dimension1Metric: () => ff,
            modelData1DimensionnMetric: () => lf,
            modelDataForMap: () => bf,
            modelDataForMap3d: () => _f,
            modelDataForMigrateMap3d: () => wf,
            modelDataForOneSeries: () => vf,
            modelDataForTable: () => Vf,
            modelDataForTwoSeries: () => gf,
            modelDataHasMaxValue: () => yf,
            modelDataLargeScatterAndBubble: () => hf,
            modelDataParentChildren: () => mf,
            modelDatanDimension1Metric: () => uf,
            schema1Legend1Value: () => Tf,
            schema1Legend2Value: () => Of,
            schema1Name1Value: () => Pf,
            schemaForOneSeries: () => If,
            schemaForTwoSeries: () => jf,
            schemaLargeScatterAndBubble: () => xf,
            schemaTCharts: () => kf,
            schemanDimension1Metric: () => Cf,
            selectRowData: () => qu.ry,
            splitSelectedSeries: () => tf.Xi,
            updateEchartMeasure: () => Sf,
          });
        var c = {};
        n.r(c), n.d(c, { renderToString: () => Hm });
        var l = {};
        n.r(l), n.d(l, { ContinuousView: () => ny, PiecewiseView: () => Ig });
        var u = n(50573),
          f = n(96850),
          d = (n(59691), n(6044)),
          h = n.n(d),
          p = n(18040),
          m = n(53148),
          v = n(48947),
          g = n(13916),
          y = n(63413),
          b = n(8314),
          V = n(79209),
          _ = n(82410),
          w = n(6368),
          S = n(15354);
        function E(t) {
          return (
            (E =
              "function" == typeof Symbol && "symbol" == typeof Symbol.iterator
                ? function (t) {
                    return typeof t;
                  }
                : function (t) {
                    return t &&
                      "function" == typeof Symbol &&
                      t.constructor === Symbol &&
                      t !== Symbol.prototype
                      ? "symbol"
                      : typeof t;
                  }),
            E(t)
          );
        }
        function A(t, e) {
          var n = Object.keys(t);
          if (Object.getOwnPropertySymbols) {
            var r = Object.getOwnPropertySymbols(t);
            e &&
              (r = r.filter(function (e) {
                return Object.getOwnPropertyDescriptor(t, e).enumerable;
              })),
              n.push.apply(n, r);
          }
          return n;
        }
        function T(t, e, n) {
          return (
            (e = (function (t) {
              var e = (function (t, e) {
                if ("object" != E(t) || !t) return t;
                var n = t[Symbol.toPrimitive];
                if (void 0 !== n) {
                  var r = n.call(t, e || "default");
                  if ("object" != E(r)) return r;
                  throw new TypeError(
                    "@@toPrimitive must return a primitive value."
                  );
                }
                return ("string" === e ? String : Number)(t);
              })(t, "string");
              return "symbol" == E(e) ? e : e + "";
            })(e)) in t
              ? Object.defineProperty(t, e, {
                  value: n,
                  enumerable: !0,
                  configurable: !0,
                  writable: !0,
                })
              : (t[e] = n),
            t
          );
        }
        function O(t) {
          w.A.dispatch({ type: _.k.SET_CURRENT_PAGE, payload: t });
        }
        function C() {
          var t =
            arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : "";
          w.A.dispatch({ type: _.k.CLEAR_PAGE_BY_ID, payload: t });
        }
        function P(t) {
          w.A.dispatch({ type: _.k.SET_PAGE_LOADED, payload: t });
        }
        function x(t) {
          w.A.dispatch({ type: _.k.SET_PAGE_CONFIG, payload: t });
        }
        function k(t) {
          var e = this,
            n = t.pageParams;
          n.length > 0 &&
            (n = n.map(
              function (t) {
                !(function (t, e) {
                  if (t !== e)
                    throw new TypeError("Cannot instantiate an arrow function");
                })(this, e);
                var n = t.name.slice(m.DB.Page.length + 1),
                  r = (0, b.A)(n);
                return r && (t.value = r), t;
              }.bind(this)
            ));
        }
        async function I(t, e) {
          var n =
              arguments.length > 2 && void 0 !== arguments[2]
                ? arguments[2]
                : (0, g.x6)(),
            r = (0, S.ay)(e);
          if (!r) {
            var i = await (0, V.get)(
              "".concat(n, "/preview/").concat(t, "/").concat(e, "/pageInfo")
            );
            if (null == i || !i.data)
              return sfLogger.error("get page config error"), {};
            r = i.data;
          }
          (r.config = (0, g.uf)(r.config, t)), x(h()(r));
          var o = (0, y.rn)(
            (function (t) {
              for (var e = 1; e < arguments.length; e++) {
                var n = null != arguments[e] ? arguments[e] : {};
                e % 2
                  ? A(Object(n), !0).forEach(function (e) {
                      T(t, e, n[e]);
                    })
                  : Object.getOwnPropertyDescriptors
                  ? Object.defineProperties(
                      t,
                      Object.getOwnPropertyDescriptors(n)
                    )
                  : A(Object(n)).forEach(function (e) {
                      Object.defineProperty(
                        t,
                        e,
                        Object.getOwnPropertyDescriptor(n, e)
                      );
                    });
              }
              return t;
            })({}, r)
          );
          return (
            k(o.config), await v.A.execHooks("beforeSetCurrentPage", o), O(o), o
          );
        }
        var j = void 0;
        function R(t, e) {
          if (t !== e)
            throw new TypeError("Cannot instantiate an arrow function");
        }
        (async function (t, e) {
          R(this, j);
          var n = [];
          try {
            var r = await (0, V.post)(
              "".concat(
                p.Ay.RESULT_API,
                "/cockpit/client/getPageKinshipCardList"
              ),
              { appId: t, pageId: e },
              {
                headers: { "x-request-route": encodeURI("cockpit/cockpitSdk") },
              }
            );
            r.data && (n = r.data);
          } catch (t) {}
          return n;
        }).bind(void 0);
        var D = function (t, e) {
          var n = this;
          return (
            R(this, j),
            t.length
              ? t.filter(
                  function (t) {
                    var r;
                    R(this, n);
                    var i = t.type,
                      o = t.config;
                    return (
                      null !== (r = t.children) &&
                        void 0 !== r &&
                        r.length &&
                        (t.children = D(t.children, e)),
                      "uxCard" !== i || e.includes(o.cardId)
                    );
                  }.bind(this)
                )
              : t
          );
        }.bind(void 0);
        !(function () {
          var t = this;
          v.A.addHook(
            "beforeSetCurrentPage",
            async function (e) {
              var n;
              R(this, t);
              var r = new URLSearchParams(window.location.search),
                i = r.get("appId"),
                o = r.get("isMobile");
              n = r.get("type");
              i &&
                o &&
                (await (async function (t, e) {
                  var n = [];
                  try {
                    var r = await (0, V.post)(
                      "".concat(
                        p.Ay.RESULT_API,
                        "/cockpit/client/getPageKinshipCardList"
                      ),
                      { appId: t, pageId: e },
                      {
                        headers: {
                          "x-request-route": encodeURI("cockpit/cockpitSdk"),
                        },
                      }
                    );
                    r.data && (n = r.data);
                  } catch (t) {}
                  w.A.dispatch({
                    type: _.k.SET_PAGE_INDICAROR_CARDS,
                    payload: n,
                  });
                })(i, e.id),
                (e.config.openSSG = !1));
            }.bind(this)
          );
        })();
        var L = n(74353),
          M = n.n(L),
          N = n(8134),
          $ = n.n(N),
          B = n(68313),
          U = n.n(B),
          F = n(97375),
          H = n.n(F),
          G = n(41816),
          W = n.n(G),
          z = n(90445),
          q = n.n(z),
          X = (n(16033), n(96540)),
          Y = n(5338),
          K = n(39767);
        K.register("common", {
          zh: {
            difference: "差异",
            percentage: "百分比",
            percentageOfTotal: "总额百分比",
            percentageOfDifference: "差异百分比",
            sf_business_modelColumnDirective_js_79: "累积和",
            sf_business_modelColumnDirective_js_80: "同比增长值",
            sf_business_modelColumnDirective_js_81: "同比增长率",
            sf_business_modelColumnDirective_js_82: "环比增长值",
            sf_business_modelColumnDirective_js_83: "环比增长率",
            modelSetting_modelSettingServices_js_10: "季度",
            modelSetting_modelSettingServices_js_11: "月",
            modelSetting_modelSettingServices_js_12: "周",
            modelSetting_modelSettingServices_js_13: "星期",
            modelSetting_modelSettingServices_js_14: "日",
            modelSetting_modelSettingServices_js_15: "小时",
            modelSetting_modelSettingServices_js_16: "分钟",
            modelSetting_modelSettingServices_js_17: "秒",
            modelSetting_modelSettingServices_js_18: "年-半年",
            modelSetting_modelSettingServices_js_19: "年-季度",
            modelSetting_modelSettingServices_js_2: "求和",
            modelSetting_modelSettingServices_js_20: "年-月",
            modelSetting_modelSettingServices_js_21: "年-周",
            modelSetting_modelSettingServices_js_22: "年-月-日",
            modelSetting_modelSettingServices_js_23: "第一季度",
            modelSetting_modelSettingServices_js_24: "1月",
            modelSetting_modelSettingServices_js_25: "一月",
            modelSetting_modelSettingServices_js_26: "第52周",
            modelSetting_modelSettingServices_js_27: "52周",
            modelSetting_modelSettingServices_js_28: "星期3",
            modelSetting_modelSettingServices_js_29: "星期三",
            modelSetting_modelSettingServices_js_3: "求平均",
            modelSetting_modelSettingServices_js_30: "周3",
            modelSetting_modelSettingServices_js_31: "28号",
            modelSetting_modelSettingServices_js_32: "4点",
            modelSetting_modelSettingServices_js_33: "45分",
            modelSetting_modelSettingServices_js_34: "45秒",
            modelSetting_modelSettingServices_js_35: "年下半年",
            modelSetting_modelSettingServices_js_36: "半年",
            modelSetting_modelSettingServices_js_37: "年第",
            modelSetting_modelSettingServices_js_38: "日",
            modelSetting_modelSettingServices_js_39: "号",
            modelSetting_modelSettingServices_js_4: "最大值",
            modelSetting_modelSettingServices_js_40: "常规",
            modelSetting_modelSettingServices_js_41: "万",
            modelSetting_modelSettingServices_js_42: "百万",
            modelSetting_modelSettingServices_js_43: "千万",
            modelSetting_modelSettingServices_js_44: "亿",
            modelSetting_modelSettingServices_js_5: "最小值",
            modelSetting_modelSettingServices_js_6: "计数",
            modelSetting_modelSettingServices_js_7: "去重计数",
            modelSetting_modelSettingServices_js_72: "总体标准偏差",
            modelSetting_modelSettingServices_js_73: "样本标准偏差",
            modelSetting_modelSettingServices_js_74: "总体方差",
            modelSetting_modelSettingServices_js_75: "样本方差",
            modelSetting_modelSettingServices_js_8: "精确时间",
            modelSetting_modelSettingServices_js_9: "年",
            i18n_57: "页签",
            i18n_58: "维度度量",
            i18n_59: "sql 模型参数",
            i18n_60: "模型参数",
            i18n_61: "子组件需要赋值此变量, 为对应的3d基础类",
            i18n_62: "请输入",
            i18n_63: "是否清空所有已选卡片",
            i18n_64: "通用",
            i18n_65: "中屏",
            i18n_66: "小屏",
            i18n_67: "暂无可用卡片",
            i18n_68: "选择卡片",
            i18n_69: "绑定卡片",
            i18n_70: "已绑定卡片",
            i18n_71: "搜索卡片",
            i18n_72: "全部",
            i18n_73: "通用卡片",
            i18n_74: "中屏卡片",
            i18n_75: "小屏卡片",
            i18n_76: "延迟加载：阻断请求",
            i18n_77: "整个流程(初次渲染有用)",
            i18n_78:
              "这是条较长的告警信息提示示例。它不仅仅是文本示例。当然也附带一个关闭告警的功能！不喜欢就关掉吧。",
            i18n_79: "关闭告警",
            i18n_80: "一",
            i18n_81: "二",
            i18n_82: "三",
            i18n_83: "四",
            i18n_84: "五",
            i18n_85: "六",
            i18n_86: "七",
            i18n_87: "八",
            i18n_88: "九",
            i18n_89: "十",
            i18n_90: "十一",
            i18n_91: "十二",
            i18n_92: "时",
            i18n_93: "分",
            i18n_94: "上",
            i18n_95: "下",
            i18n_96: "第",
            i18n_97: "点",
            i18n_98: "天",
            i18n_99: "区间",
            i18n_100: "相对时间",
            i18n_101: "web 交互",
            i18n_102: "功能",
            i18n_103: "样式",
            i18n_104: "柱状/直方",
            i18n_105: "饼图/占比",
            i18n_106: "折线/面积",
            i18n_107: "表格/数字",
            i18n_108: "高级",
            i18n_109: "地图",
            i18n_110: "业务组件",
            i18n_111: "自定义组件",
            i18n_112: "数据已更新，暂无数据",
            i18n_113: "思源黑体",
            i18n_114: "思源宋体",
            i18n_115: "添加卡片",
            i18n_116: "清空所有",
            i18n_117: "已绑定${length}个卡片",
            i18n_118: "卡片类型",
            i18n_119: "选择全部",
            i18n_120: "通用",
            i18n_121: "中屏",
            i18n_122: "小屏",
            i18n_123: "绑定所有卡片",
            i18n_124: "所属分组",
            i18n_125: "添加页签",
          },
          en: {
            difference: "Difference",
            percentage: "Percentage",
            percentageOfTotal: "Percentage of total",
            percentageOfDifference: "Percentage of difference",
            sf_business_modelColumnDirective_js_79: "Accumulative sum",
            sf_business_modelColumnDirective_js_80: "Year-on-year growth value",
            sf_business_modelColumnDirective_js_81: "Year-on-year growth rate",
            sf_business_modelColumnDirective_js_82: "Sequential growth value",
            sf_business_modelColumnDirective_js_83: "Sequential growth rate",
            modelSetting_modelSettingServices_js_10: "Season",
            modelSetting_modelSettingServices_js_11: "Months",
            modelSetting_modelSettingServices_js_12: "Week",
            modelSetting_modelSettingServices_js_13: "Days of the week",
            modelSetting_modelSettingServices_js_14: "Day",
            modelSetting_modelSettingServices_js_15: "Hour",
            modelSetting_modelSettingServices_js_16: "Min",
            modelSetting_modelSettingServices_js_17: "Second",
            modelSetting_modelSettingServices_js_18: "Year – Half a year",
            modelSetting_modelSettingServices_js_19: "Year – season",
            modelSetting_modelSettingServices_js_2: "Sum",
            modelSetting_modelSettingServices_js_20: "Year – month",
            modelSetting_modelSettingServices_js_21: "Year – week",
            modelSetting_modelSettingServices_js_22: "Year – month – day",
            modelSetting_modelSettingServices_js_23: "First quarter",
            modelSetting_modelSettingServices_js_24: "January",
            modelSetting_modelSettingServices_js_25: "January",
            modelSetting_modelSettingServices_js_26: "The 52nd week",
            modelSetting_modelSettingServices_js_27: "52 weeks",
            modelSetting_modelSettingServices_js_28: "Wednesday",
            modelSetting_modelSettingServices_js_29: "Wednesday",
            modelSetting_modelSettingServices_js_3: "Compute the average",
            modelSetting_modelSettingServices_js_30: "Wednesday",
            modelSetting_modelSettingServices_js_31: "No. 28",
            modelSetting_modelSettingServices_js_32: "4 o’clock",
            modelSetting_modelSettingServices_js_33: "45min",
            modelSetting_modelSettingServices_js_34: "45sec",
            modelSetting_modelSettingServices_js_35: "Second half year",
            modelSetting_modelSettingServices_js_36: "Half a year",
            modelSetting_modelSettingServices_js_37: "Year",
            modelSetting_modelSettingServices_js_38: "Day",
            modelSetting_modelSettingServices_js_39: "Number",
            modelSetting_modelSettingServices_js_4: "Max value",
            modelSetting_modelSettingServices_js_40: "General",
            modelSetting_modelSettingServices_js_41: "10,000",
            modelSetting_modelSettingServices_js_42: "1,000,000",
            modelSetting_modelSettingServices_js_43: "10,000,000",
            modelSetting_modelSettingServices_js_44: "100,000,000",
            modelSetting_modelSettingServices_js_5: "Min value",
            modelSetting_modelSettingServices_js_6: "Counting",
            modelSetting_modelSettingServices_js_7: "De-counting",
            modelSetting_modelSettingServices_js_72: "Total standard deviation",
            modelSetting_modelSettingServices_js_73:
              "Sample standard deviation",
            modelSetting_modelSettingServices_js_74: "Total square deviation",
            modelSetting_modelSettingServices_js_75: "Sample square deviation",
            modelSetting_modelSettingServices_js_8: "Accurate time",
            modelSetting_modelSettingServices_js_9: "Years",
            i18n_57: "Tag",
            i18n_58: "Dimension metric",
            i18n_59: "sql model parameter",
            i18n_60: "Model parameter",
            i18n_61:
              "Subcomponent needs assignment of this variable, it is corresponding 3d basic type",
            i18n_62: "Please enter",
            i18n_63: "Whether clear the selected cards",
            i18n_64: "Universal",
            i18n_65: "Mid screen",
            i18n_66: "Small screen",
            i18n_67: "No available card yet",
            i18n_68: "Select card",
            i18n_69: "Bind card",
            i18n_70: "Bound card",
            i18n_71: "Search card",
            i18n_72: "All",
            i18n_73: "Universal card",
            i18n_74: "Mid screen card",
            i18n_75: "Small screen card",
            i18n_76: "Delayed load: Block request",
            i18n_77: "Entire process (available for the first rendering)",
            i18n_78:
              "This is the instance of long alarm prompt and it is not just text example. Surely, it is provided with function to disable alarm. You can disable it as required.",
            i18n_79: "Disable alarm",
            i18n_80: "I",
            i18n_81: "II",
            i18n_82: "III",
            i18n_83: "IV",
            i18n_84: "V",
            i18n_85: "VI",
            i18n_86: "VII",
            i18n_87: "VIII",
            i18n_88: "IX",
            i18n_89: "X",
            i18n_90: "XI",
            i18n_91: "XII",
            i18n_92: "Hour",
            i18n_93: "Minute",
            i18n_94: "Up",
            i18n_95: "Down",
            i18n_96: "No.",
            i18n_97: "Point",
            i18n_98: "Day",
            i18n_99: "Interval",
            i18n_100: "Relative time",
            i18n_101: "web interaction",
            i18n_102: "Function",
            i18n_103: "Style",
            i18n_104: "Column/histogram",
            i18n_105: "Pie/percentage",
            i18n_106: "Broken line/area",
            i18n_107: "Sheet/figure",
            i18n_108: "Advanced",
            i18n_109: "Map",
            i18n_110: "Business component",
            i18n_111: "Customized component",
            i18n_112: "Data are updated, not data yet",
            i18n_113: "Source Han Sans",
            i18n_114: "Source Han Serif",
            i18n_115: "Add Card",
            i18n_116: "Clear All",
            i18n_117: "The number of binded cards: ${length}",
            i18n_118: "Card Type",
            i18n_119: "Select All",
            i18n_120: "Universal",
            i18n_121: "Mid Screen",
            i18n_122: "Small Screen",
            i18n_123: "Bind all cards",
            i18n_124: "Group",
            i18n_125: "Add tab",
          },
        });
        n(48893);
        var Z = n(42505);
        n.p = (0, f.F)(n.p);
        var J = n(74692),
          Q = n.n(J),
          tt = n(14987),
          et = function (t) {
            var e = t.fontColor,
              n = t.backgroundColor,
              r = t.fontSize,
              i = t.icon,
              o = t.text,
              a = document.getElementById("sfue__loadingMask"),
              s = document.getElementById("sfue__loadingText"),
              c = document.getElementById("sfue__loadingIcon");
            a.classList.remove("sfue__loadingMask_hide"),
              (a.style.backgroundColor = n),
              (s.style.color = e),
              (s.style.fontSize = "".concat(r, "px")),
              (s.innerText = o || "loading..."),
              (c.innerHTML = i
                ? '<img src="'.concat(i, '" width="100" height="100"/>')
                : '<svg\n            xmlns="http://www.w3.org/2000/svg"\n            xmlns:xlink="http://www.w3.org/1999/xlink"\n            width="30px"\n            height="30px"\n            viewBox="0 0 50 50"\n            style="enable-background:new 0 0 50 50" xml:space="preserve"\n        >\n            <path\n                fill="#FF6700"\n                d="M43.935,25.145c0-10.318-8.364-18.683-18.683-18.683c-10.318,0-18.683,8.365-18.683,18.683h4.068c0-8.071,6.543-14.615,14.615-14.615c8.072,0,14.615,6.543,14.615,14.615H43.935z"\n                transform="rotate(275.098 25 25)"\n            >\n                <animateTransform\n                    attributeType="xml"\n                    attributeName="transform"\n                    type="rotate"\n                    from="0 25 25"\n                    to="360 25 25"\n                    dur="0.6s"\n                    repeatCount="indefinite">\n                </animateTransform>\n            </path>\n        </svg>');
          },
          nt = function () {
            var t = Q()("#sfue__loadingMask");
            t.length > 0 && t.hide();
          },
          rt = n(61225),
          it = n(54625),
          ot = n(83205),
          at = n(23850),
          st = n(64475),
          ct = n(63229),
          lt = n(12211);
        function ut(t) {
          return (
            (ut =
              "function" == typeof Symbol && "symbol" == typeof Symbol.iterator
                ? function (t) {
                    return typeof t;
                  }
                : function (t) {
                    return t &&
                      "function" == typeof Symbol &&
                      t.constructor === Symbol &&
                      t !== Symbol.prototype
                      ? "symbol"
                      : typeof t;
                  }),
            ut(t)
          );
        }
        function ft(t, e) {
          var n = Object.keys(t);
          if (Object.getOwnPropertySymbols) {
            var r = Object.getOwnPropertySymbols(t);
            e &&
              (r = r.filter(function (e) {
                return Object.getOwnPropertyDescriptor(t, e).enumerable;
              })),
              n.push.apply(n, r);
          }
          return n;
        }
        function dt(t) {
          for (var e = 1; e < arguments.length; e++) {
            var n = null != arguments[e] ? arguments[e] : {};
            e % 2
              ? ft(Object(n), !0).forEach(function (e) {
                  ht(t, e, n[e]);
                })
              : Object.getOwnPropertyDescriptors
              ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(n))
              : ft(Object(n)).forEach(function (e) {
                  Object.defineProperty(
                    t,
                    e,
                    Object.getOwnPropertyDescriptor(n, e)
                  );
                });
          }
          return t;
        }
        function ht(t, e, n) {
          return (
            (e = (function (t) {
              var e = (function (t, e) {
                if ("object" != ut(t) || !t) return t;
                var n = t[Symbol.toPrimitive];
                if (void 0 !== n) {
                  var r = n.call(t, e || "default");
                  if ("object" != ut(r)) return r;
                  throw new TypeError(
                    "@@toPrimitive must return a primitive value."
                  );
                }
                return ("string" === e ? String : Number)(t);
              })(t, "string");
              return "symbol" == ut(e) ? e : e + "";
            })(e)) in t
              ? Object.defineProperty(t, e, {
                  value: n,
                  enumerable: !0,
                  configurable: !0,
                  writable: !0,
                })
              : (t[e] = n),
            t
          );
        }
        function pt(t, e) {
          if (t !== e)
            throw new TypeError("Cannot instantiate an arrow function");
        }
        function mt(t) {
          w.A.dispatch({ type: _.k.SET_CURRENT_USER, payload: t });
        }
        function vt(t) {
          if ("string" == typeof t.config)
            try {
              t.config = JSON.parse(encode.decodeXHRRequestXSSChar(t.config));
            } catch (e) {
              sfLogger.error(e), (t.config = {});
            }
          w.A.dispatch({
            type: _.k.SET_CURRENT_PROJECT,
            payload: dt({ id: t.projectId }, t),
          });
        }
        function gt(t) {
          var e = this,
            n =
              ((arguments.length > 1 && void 0 !== arguments[1]) || (0, g.x6)(),
              SF.data.pages),
            r = void 0 === n ? [] : n;
          return new Promise(
            function (n) {
              pt(this, e),
                (function (t, e) {
                  w.A.dispatch({
                    type: _.k.GET_PROJECT_PAGES,
                    payload: { projectId: t, children: e },
                  });
                })(t, r),
                n(r);
            }.bind(this)
          );
        }
        function yt() {
          var t,
            e = SF.data.remoteControls;
          (t = void 0 === e ? [] : e),
            w.A.dispatch({ type: _.k.SET_REMOTE_CONTROL_CONFIG, payload: t });
        }
        var bt = { initUserInfo: null };
        async function Vt() {
          var t = this;
          if (bt.initUserInfo) return bt.initUserInfo;
          var e = await (0, V.get)(
            "".concat(p.Ay.UX_API, "/designer/system/initData")
          );
          if (e && "0" === e.code) {
            var n = e.data || {},
              r = n.licenseInfo,
              i = void 0 === r ? {} : r,
              o = n.initUserInfo,
              a = void 0 === o ? {} : o;
            if (
              (w.A.dispatch({
                type: _.k.SET_LICENSE_INFO,
                payload: { licenseInfo: i },
              }),
              !a.actions)
            )
              return {};
            var s = a.actions.reduce(
              function (e, n) {
                return pt(this, t), (e[n.code] = n.code), e;
              }.bind(this),
              {}
            );
            return (
              (bt.initUserInfo = s),
              w.A.dispatch({
                type: _.k.SET_PERMISSION_LIST,
                payload: { permissionList: s },
              }),
              s
            );
          }
          return {};
        }
        var _t = n(35704),
          wt = n(52063);
        function St(t, e) {
          if (t !== e)
            throw new TypeError("Cannot instantiate an arrow function");
        }
        var Et = n(64464),
          At = n(47712),
          Tt = n(44518),
          Ot = n(21459);
        function Ct(t) {
          return (
            (Ct =
              "function" == typeof Symbol && "symbol" == typeof Symbol.iterator
                ? function (t) {
                    return typeof t;
                  }
                : function (t) {
                    return t &&
                      "function" == typeof Symbol &&
                      t.constructor === Symbol &&
                      t !== Symbol.prototype
                      ? "symbol"
                      : typeof t;
                  }),
            Ct(t)
          );
        }
        function Pt(t, e) {
          if (t !== e)
            throw new TypeError("Cannot instantiate an arrow function");
        }
        function xt(t, e) {
          for (var n = 0; n < e.length; n++) {
            var r = e[n];
            (r.enumerable = r.enumerable || !1),
              (r.configurable = !0),
              "value" in r && (r.writable = !0),
              Object.defineProperty(t, jt(r.key), r);
          }
        }
        function kt(t, e, n) {
          return (
            e && xt(t.prototype, e),
            n && xt(t, n),
            Object.defineProperty(t, "prototype", { writable: !1 }),
            t
          );
        }
        function It(t, e, n) {
          return (
            (e = jt(e)) in t
              ? Object.defineProperty(t, e, {
                  value: n,
                  enumerable: !0,
                  configurable: !0,
                  writable: !0,
                })
              : (t[e] = n),
            t
          );
        }
        function jt(t) {
          var e = (function (t, e) {
            if ("object" != Ct(t) || !t) return t;
            var n = t[Symbol.toPrimitive];
            if (void 0 !== n) {
              var r = n.call(t, e || "default");
              if ("object" != Ct(r)) return r;
              throw new TypeError(
                "@@toPrimitive must return a primitive value."
              );
            }
            return ("string" === e ? String : Number)(t);
          })(t, "string");
          return "symbol" == Ct(e) ? e : e + "";
        }
        var Rt = kt(function t() {
          var e = this;
          !(function (t, e) {
            if (!(t instanceof e))
              throw new TypeError("Cannot call a class as a function");
          })(this, t),
            It(
              this,
              "apply",
              function (t) {
                Pt(this, e);
                var n = t.id,
                  r = t.$parent;
                (void 0 === r ? Q()("#ux_".concat(n)) : r).addClass(
                  "ux-flow-layout"
                ),
                  this.reconcileComponentsWithApply(t);
              }.bind(this)
            ),
            It(
              this,
              "update",
              function (t) {
                Pt(this, e), this.reconcileComponentsWithApply(t);
              }.bind(this)
            ),
            It(
              this,
              "recover",
              function (t) {
                Pt(this, e);
                var n = (null != t ? t : {}).$element;
                null != n &&
                  n.length &&
                  (n.removeClass("ux-flow-layout"),
                  this.reconcileComponentsWithRecover(t));
              }.bind(this)
            ),
            It(
              this,
              "reconcileComponentsWithApply",
              function (t) {
                var n = this;
                Pt(this, e);
                var r = t.config;
                this._safeForEachComponents(
                  r.components,
                  function (t) {
                    if (
                      (Pt(this, n),
                      t.$adaptElement &&
                        t.$adaptElement.hasClass("ux-adapt-element"))
                    ) {
                      var e = t.getBasicConfig(),
                        r = e.width,
                        i = e.height,
                        o = (0, Ot.Ge)();
                      (r /= o.xf),
                        (i /= o.yf),
                        t
                          .getParent()
                          .css({
                            width: "".concat(r, "px"),
                            height: "".concat(i, "px"),
                          });
                    }
                  }.bind(this)
                );
              }.bind(this)
            ),
            It(
              this,
              "reconcileComponentsWithRecover",
              function (t) {
                Pt(this, e);
              }.bind(this)
            ),
            It(
              this,
              "_safeForEachComponents",
              function (t, n) {
                var r = this;
                Pt(this, e),
                  (null != t ? t : []).forEach(
                    function (t, e) {
                      var i = this;
                      Pt(this, r),
                        (0, Tt.Ay)(
                          { id: t.id },
                          function (t) {
                            return Pt(this, i), n(t, e);
                          }.bind(this),
                          At.sV
                        );
                    }.bind(this)
                  );
              }.bind(this)
            );
        });
        const Dt = new Rt();
        Et.S.manager.registerLayout(Et.S.Types.Flow, Dt);
        const Lt = Et.S;
        var Mt = n(18001),
          Nt = n(62952),
          $t = n(71308);
        function Bt(t) {
          return (
            (Bt =
              "function" == typeof Symbol && "symbol" == typeof Symbol.iterator
                ? function (t) {
                    return typeof t;
                  }
                : function (t) {
                    return t &&
                      "function" == typeof Symbol &&
                      t.constructor === Symbol &&
                      t !== Symbol.prototype
                      ? "symbol"
                      : typeof t;
                  }),
            Bt(t)
          );
        }
        function Ut(t, e) {
          var n =
            ("undefined" != typeof Symbol && t[Symbol.iterator]) ||
            t["@@iterator"];
          if (!n) {
            if (
              Array.isArray(t) ||
              (n = (function (t, e) {
                if (t) {
                  if ("string" == typeof t) return Ft(t, e);
                  var n = {}.toString.call(t).slice(8, -1);
                  return (
                    "Object" === n && t.constructor && (n = t.constructor.name),
                    "Map" === n || "Set" === n
                      ? Array.from(t)
                      : "Arguments" === n ||
                        /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)
                      ? Ft(t, e)
                      : void 0
                  );
                }
              })(t)) ||
              (e && t && "number" == typeof t.length)
            ) {
              n && (t = n);
              var r = 0,
                i = function () {};
              return {
                s: i,
                n: function () {
                  return r >= t.length
                    ? { done: !0 }
                    : { done: !1, value: t[r++] };
                },
                e: function (t) {
                  throw t;
                },
                f: i,
              };
            }
            throw new TypeError(
              "Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."
            );
          }
          var o,
            a = !0,
            s = !1;
          return {
            s: function () {
              n = n.call(t);
            },
            n: function () {
              var t = n.next();
              return (a = t.done), t;
            },
            e: function (t) {
              (s = !0), (o = t);
            },
            f: function () {
              try {
                a || null == n.return || n.return();
              } finally {
                if (s) throw o;
              }
            },
          };
        }
        function Ft(t, e) {
          (null == e || e > t.length) && (e = t.length);
          for (var n = 0, r = Array(e); n < e; n++) r[n] = t[n];
          return r;
        }
        function Ht(t, e) {
          for (var n = 0; n < e.length; n++) {
            var r = e[n];
            (r.enumerable = r.enumerable || !1),
              (r.configurable = !0),
              "value" in r && (r.writable = !0),
              Object.defineProperty(t, Gt(r.key), r);
          }
        }
        function Gt(t) {
          var e = (function (t, e) {
            if ("object" != Bt(t) || !t) return t;
            var n = t[Symbol.toPrimitive];
            if (void 0 !== n) {
              var r = n.call(t, e || "default");
              if ("object" != Bt(r)) return r;
              throw new TypeError(
                "@@toPrimitive must return a primitive value."
              );
            }
            return ("string" === e ? String : Number)(t);
          })(t, "string");
          return "symbol" == Bt(e) ? e : e + "";
        }
        var Wt,
          zt,
          qt,
          Xt = (function () {
            return (
              (t = function t() {
                !(function (t, e) {
                  if (!(t instanceof e))
                    throw new TypeError("Cannot call a class as a function");
                })(this, t);
              }),
              (n = [
                {
                  key: "on",
                  value: function (t) {
                    var e =
                      arguments.length > 1 && void 0 !== arguments[1]
                        ? arguments[1]
                        : (0, $t.A)();
                    if (t) {
                      var n = { id: e, callback: t };
                      this.eventQueue.push(n),
                        window.addEventListener("message", n.callback, !1);
                    }
                  },
                },
                {
                  key: "post",
                  value: function (t, e, n) {
                    if (!window.postMessage)
                      throw new Error(
                        "your browser is not supperted postMessage API"
                      );
                    window.postMessage(t, e, n);
                  },
                },
                {
                  key: "off",
                  value: function (t) {
                    var e = this;
                    if (t) {
                      var n = this.eventQueue.findIndex(
                        function (n) {
                          return (
                            (function (t, e) {
                              if (t !== e)
                                throw new TypeError(
                                  "Cannot instantiate an arrow function"
                                );
                            })(this, e),
                            n.id === t
                          );
                        }.bind(this)
                      );
                      -1 !== n &&
                        (window.removeEventListener(
                          "message",
                          this.eventQueue[n].callback,
                          !1
                        ),
                        this.eventQueue.splice(n, 1));
                    }
                  },
                },
                {
                  key: "offAll",
                  value: function () {
                    var t,
                      e = Ut(this.eventQueue);
                    try {
                      for (e.s(); !(t = e.n()).done; ) {
                        var n = t.value;
                        window.removeEventListener("message", n.callback, !1);
                      }
                    } catch (t) {
                      e.e(t);
                    } finally {
                      e.f();
                    }
                    this.eventQueue.splice(0);
                  },
                },
                {
                  key: "getEventQueue",
                  value: function () {
                    return this.eventQueue;
                  },
                },
              ]),
              (e = null) && Ht(t.prototype, e),
              n && Ht(t, n),
              Object.defineProperty(t, "prototype", { writable: !1 }),
              t
            );
            var t, e, n;
          })();
        (Wt = Xt),
          (qt = []),
          (zt = Gt((zt = "eventQueue"))) in Wt
            ? Object.defineProperty(Wt, zt, {
                value: qt,
                enumerable: !0,
                configurable: !0,
                writable: !0,
              })
            : (Wt[zt] = qt);
        var Yt = n(76521),
          Kt = (function (t) {
            return (
              (t[(t.Projects = 1)] = "Projects"), (t[(t.Card = 2)] = "Card"), t
            );
          })({});
        function Zt(t, e) {
          return (
            (function (t) {
              if (Array.isArray(t)) return t;
            })(t) ||
            (function (t, e) {
              var n =
                null == t
                  ? null
                  : ("undefined" != typeof Symbol && t[Symbol.iterator]) ||
                    t["@@iterator"];
              if (null != n) {
                var r,
                  i,
                  o,
                  a,
                  s = [],
                  c = !0,
                  l = !1;
                try {
                  if (((o = (n = n.call(t)).next), 0 === e)) {
                    if (Object(n) !== n) return;
                    c = !1;
                  } else
                    for (
                      ;
                      !(c = (r = o.call(n)).done) &&
                      (s.push(r.value), s.length !== e);
                      c = !0
                    );
                } catch (t) {
                  (l = !0), (i = t);
                } finally {
                  try {
                    if (
                      !c &&
                      null != n.return &&
                      ((a = n.return()), Object(a) !== a)
                    )
                      return;
                  } finally {
                    if (l) throw i;
                  }
                }
                return s;
              }
            })(t, e) ||
            Qt(t, e) ||
            (function () {
              throw new TypeError(
                "Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."
              );
            })()
          );
        }
        function Jt(t) {
          return (
            (function (t) {
              if (Array.isArray(t)) return te(t);
            })(t) ||
            (function (t) {
              if (
                ("undefined" != typeof Symbol && null != t[Symbol.iterator]) ||
                null != t["@@iterator"]
              )
                return Array.from(t);
            })(t) ||
            Qt(t) ||
            (function () {
              throw new TypeError(
                "Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."
              );
            })()
          );
        }
        function Qt(t, e) {
          if (t) {
            if ("string" == typeof t) return te(t, e);
            var n = {}.toString.call(t).slice(8, -1);
            return (
              "Object" === n && t.constructor && (n = t.constructor.name),
              "Map" === n || "Set" === n
                ? Array.from(t)
                : "Arguments" === n ||
                  /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)
                ? te(t, e)
                : void 0
            );
          }
        }
        function te(t, e) {
          (null == e || e > t.length) && (e = t.length);
          for (var n = 0, r = Array(e); n < e; n++) r[n] = t[n];
          return r;
        }
        function ee(t, e) {
          if (t !== e)
            throw new TypeError("Cannot instantiate an arrow function");
        }
        function ne(t, e) {
          var n = this,
            r = t.isResetName,
            i = t.targetId,
            o = t.actionName,
            a = t.actionType;
          if (r || a !== m.X2.Link) return o;
          var s = o.split("-");
          if (s.length > 1) {
            var c = s.slice(s.length - 1),
              l = o.split(":")[0],
              u = i
                .map(
                  function (t) {
                    var r, i;
                    return (
                      ee(this, n),
                      null ===
                        ((i = t),
                        (r = (function t(e, n) {
                          for (var r = 0; r < e.length; r++) {
                            var i = e[r];
                            if (i.id === n) return i;
                            if (i.children && i.children.length > 0) {
                              var o = t(i.children, n);
                              if (o) return o;
                            }
                          }
                          return null;
                        })(e.components, i))) ||
                      void 0 === r ||
                      null === (r = r.config) ||
                      void 0 === r ||
                      null === (r = r.basicConfig) ||
                      void 0 === r
                        ? void 0
                        : r.name
                    );
                  }.bind(this)
                )
                .join(",");
            return "".concat(l, ": ").concat(u, "-").concat(c);
          }
          return o;
        }
        function re(t, e) {
          var n,
            r = [],
            i = e.cardParams,
            o = (function (t, e) {
              var n =
                ("undefined" != typeof Symbol && t[Symbol.iterator]) ||
                t["@@iterator"];
              if (!n) {
                if (
                  Array.isArray(t) ||
                  (n = Qt(t)) ||
                  (e && t && "number" == typeof t.length)
                ) {
                  n && (t = n);
                  var r = 0,
                    i = function () {};
                  return {
                    s: i,
                    n: function () {
                      return r >= t.length
                        ? { done: !0 }
                        : { done: !1, value: t[r++] };
                    },
                    e: function (t) {
                      throw t;
                    },
                    f: i,
                  };
                }
                throw new TypeError(
                  "Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."
                );
              }
              var o,
                a = !0,
                s = !1;
              return {
                s: function () {
                  n = n.call(t);
                },
                n: function () {
                  var t = n.next();
                  return (a = t.done), t;
                },
                e: function (t) {
                  (s = !0), (o = t);
                },
                f: function () {
                  try {
                    a || null == n.return || n.return();
                  } finally {
                    if (s) throw o;
                  }
                },
              };
            })(t);
          try {
            var a = function () {
              var t = this,
                e = n.value;
              if (
                i.length > 0 &&
                i.find(
                  function (n) {
                    return ee(this, t), n.name === e;
                  }.bind(this)
                )
              ) {
                var o = e.split(".");
                o[0] === m.DB.Card ? r.push(o[1]) : r.push(e);
              }
            };
            for (o.s(); !(n = o.n()).done; ) a();
          } catch (t) {
            o.e(t);
          } finally {
            o.f();
          }
          return r;
        }
        function ie(t, e, n) {
          var r = this,
            i = {},
            o = [];
          t.paramConfigs.forEach(
            function (t) {
              ee(this, r);
              var e,
                a = t.desc,
                s = t.value,
                c = s.title,
                l = s.data,
                u = (function (t, e, n) {
                  var r = this,
                    i = m.DB.Card,
                    o = !1;
                  if ("string" === t)
                    return [
                      (o = e.split(".")[0] === i),
                      (e = e.slice(i.length + 1)),
                    ];
                  if ("array" === t) {
                    var a = e.filter(
                      function (t) {
                        return ee(this, r), t.split(".")[0] === i;
                      }.bind(this)
                    );
                    return (
                      (o = a.length > 0) &&
                        (a = a.map(
                          function (t) {
                            return ee(this, r), t.slice(i.length + 1);
                          }.bind(this)
                        )),
                      [o, a]
                    );
                  }
                  if ("object" === t) {
                    var s = [];
                    return (
                      e.children &&
                        e.children.forEach(
                          function (t) {
                            ee(this, r);
                            var e = re(t.right.value, n);
                            s.push.apply(s, Jt(e));
                          }.bind(this)
                        ),
                      [(o = s.length > 0), s]
                    );
                  }
                  return [!1, null];
                })(s.type, h()(l), n),
                f = Zt(u, 2),
                d = f[0],
                p = f[1],
                v = [];
              ("string" == typeof p && v.push(p),
              Array.isArray(p) && v.push.apply(v, Jt(p)),
              !i[a] && a && d && (i[a] = c || v),
              d) && (e = o).push.apply(e, v);
            }.bind(this)
          ),
            (o = Jt(new Set(o)));
          var a = [],
            s = Object.keys(i);
          function c(t, e, n) {
            var r = this,
              i = n.findIndex(
                function (e) {
                  return ee(this, r), (null == e ? void 0 : e.name) === t;
                }.bind(this)
              );
            if (-1 !== i) n[i].desc += " ".concat(e);
            else {
              var o = { name: t, desc: e };
              n.push(o);
            }
          }
          return (
            o.forEach(
              function (t) {
                var e = this;
                ee(this, r);
                var n = s.filter(
                  function (n) {
                    return ee(this, e), i[n].includes(t);
                  }.bind(this)
                );
                n.length > 0
                  ? n.forEach(
                      function (n) {
                        ee(this, e), c(t, n, a);
                      }.bind(this)
                    )
                  : c(t, t, a);
              }.bind(this)
            ),
            {
              actionId: t.actionId,
              cardActionId: t.cardActionId,
              targetCardId: e,
              actionName: ne(t, n),
              paramConfigs: a,
            }
          );
        }
        function oe(t) {
          var e = t.split(".");
          return e.length > 1 && (e[0] === m.DB.Card || e[0] === m.DB.CardCom)
            ? [!0, e[1]]
            : [!1];
        }
        function ae(t, e) {
          var n = this;
          return e.find(
            function (e) {
              return ee(this, n), e === t;
            }.bind(this)
          );
        }
        function se(t, e) {
          var n = this,
            r = t.type,
            i = t.data,
            o = Object.keys(e);
          if ("string" !== r)
            if ("array" !== r) {
              if ("object" === r) {
                Object.keys(t.data).forEach(
                  function (r) {
                    ee(this, n);
                    var a = i[r];
                    if ("string" == typeof a) {
                      var s = Zt(oe(a), 2),
                        c = s[0],
                        l = s[1];
                      if (c) {
                        var u = ae(l, o);
                        u && (t.data[r] = e[u]);
                      }
                    }
                  }.bind(this)
                );
                var a = t.data.children;
                a &&
                  a.length > 0 &&
                  a.forEach(
                    function (t) {
                      var r = this;
                      ee(this, n);
                      var i = t.right.value,
                        a = null,
                        s = i.findIndex(
                          function (t) {
                            return (
                              ee(this, r),
                              "string" == typeof t &&
                                (a = ae(t.split(".")[1], o)),
                              a
                            );
                          }.bind(this)
                        );
                      -1 !== s && (i[s] = e[a]), (t.value = i.join(","));
                    }.bind(this)
                  );
              }
            } else
              t.data = i.map(
                function (t) {
                  ee(this, n);
                  var r = Zt(oe(t), 2),
                    i = r[0],
                    a = r[1];
                  if (i) {
                    var s = ae(a, o);
                    s && (t = e[s]);
                  }
                  return t;
                }.bind(this)
              );
          else {
            var s = Zt(oe(i), 2),
              c = s[0],
              l = s[1];
            if (c) {
              var u = ae(l, o);
              u && (t.data = e[u]);
            }
          }
        }
        function ce() {
          var t =
            (arguments.length > 0 && void 0 !== arguments[0]
              ? arguments[0]
              : {}) || {};
          return {
            screenX: t.screenX,
            screenY: t.screenY,
            pageX: t.pageX,
            pageY: t.pageY,
            offsetX: t.offsetX,
            offsetY: t.offsetY,
          };
        }
        var le = n(29556);
        function ue(t, e = void 0) {
          if (!t || "string" != typeof t || -1 === t.indexOf("function"))
            return t;
          try {
            return new Function(`return ${decodeURIComponent(t)}`)();
          } catch (n) {
            return (
              console.error(
                `decode 函数失败: ${n}`,
                `\n错误函数：${t}`,
                "\n错误位置信息：",
                e
              ),
              t
            );
          }
        }
        var fe = n(7821),
          de = n(50808),
          he = n(11404),
          pe = n(71542);
        function me(t) {
          return (
            (me =
              "function" == typeof Symbol && "symbol" == typeof Symbol.iterator
                ? function (t) {
                    return typeof t;
                  }
                : function (t) {
                    return t &&
                      "function" == typeof Symbol &&
                      t.constructor === Symbol &&
                      t !== Symbol.prototype
                      ? "symbol"
                      : typeof t;
                  }),
            me(t)
          );
        }
        function ve(t, e) {
          for (var n = 0; n < e.length; n++) {
            var r = e[n];
            (r.enumerable = r.enumerable || !1),
              (r.configurable = !0),
              "value" in r && (r.writable = !0),
              Object.defineProperty(t, we(r.key), r);
          }
        }
        function ge(t, e, n) {
          return (
            (e = be(e)),
            (function (t, e) {
              if (e && ("object" == me(e) || "function" == typeof e)) return e;
              if (void 0 !== e)
                throw new TypeError(
                  "Derived constructors may only return object or undefined"
                );
              return (function (t) {
                if (void 0 === t)
                  throw new ReferenceError(
                    "this hasn't been initialised - super() hasn't been called"
                  );
                return t;
              })(t);
            })(
              t,
              ye()
                ? Reflect.construct(e, n || [], be(t).constructor)
                : e.apply(t, n)
            )
          );
        }
        function ye() {
          try {
            var t = !Boolean.prototype.valueOf.call(
              Reflect.construct(Boolean, [], function () {})
            );
          } catch (t) {}
          return (ye = function () {
            return !!t;
          })();
        }
        function be(t) {
          return (
            (be = Object.setPrototypeOf
              ? Object.getPrototypeOf.bind()
              : function (t) {
                  return t.__proto__ || Object.getPrototypeOf(t);
                }),
            be(t)
          );
        }
        function Ve(t, e) {
          return (
            (Ve = Object.setPrototypeOf
              ? Object.setPrototypeOf.bind()
              : function (t, e) {
                  return (t.__proto__ = e), t;
                }),
            Ve(t, e)
          );
        }
        function _e(t, e, n) {
          return (
            (e = we(e)) in t
              ? Object.defineProperty(t, e, {
                  value: n,
                  enumerable: !0,
                  configurable: !0,
                  writable: !0,
                })
              : (t[e] = n),
            t
          );
        }
        function we(t) {
          var e = (function (t, e) {
            if ("object" != me(t) || !t) return t;
            var n = t[Symbol.toPrimitive];
            if (void 0 !== n) {
              var r = n.call(t, e || "default");
              if ("object" != me(r)) return r;
              throw new TypeError(
                "@@toPrimitive must return a primitive value."
              );
            }
            return ("string" === e ? String : Number)(t);
          })(t, "string");
          return "symbol" == me(e) ? e : e + "";
        }
        var Se = (function (t) {
          function e() {
            var t;
            return (
              (function (t, e) {
                if (!(t instanceof e))
                  throw new TypeError("Cannot call a class as a function");
              })(this, e),
              _e((t = ge(this, e)), "type", void 0),
              _e(t, "currentPage", void 0),
              t
            );
          }
          return (
            (function (t, e) {
              if ("function" != typeof e && null !== e)
                throw new TypeError(
                  "Super expression must either be null or a function"
                );
              (t.prototype = Object.create(e && e.prototype, {
                constructor: { value: t, writable: !0, configurable: !0 },
              })),
                Object.defineProperty(t, "prototype", { writable: !1 }),
                e && Ve(t, e);
            })(e, t),
            (function (t, e, n) {
              return (
                e && ve(t.prototype, e),
                n && ve(t, n),
                Object.defineProperty(t, "prototype", { writable: !1 }),
                t
              );
            })(e)
          );
        })(de.Ay);
        const Ee = Se;
        function Ae(t) {
          var e = this;
          t.forEach(
            function (t) {
              var n;
              ((function (t, e) {
                if (t !== e)
                  throw new TypeError("Cannot instantiate an arrow function");
              })(this, e),
              t.status !== At.$v)
                ? ((t.runTimeData = {}),
                  (t.parentInstance = null),
                  null == t ||
                    null === (n = t.$parent) ||
                    void 0 === n ||
                    n.remove())
                : "function" == typeof t.destroy && t.destroy();
            }.bind(this)
          );
        }
        async function Te(t, e) {
          var n = this,
            r = t.map(
              async function (t) {
                var r;
                if (
                  ((function (t, e) {
                    if (t !== e)
                      throw new TypeError(
                        "Cannot instantiate an arrow function"
                      );
                  })(this, n),
                  t.card &&
                    (await Te(
                      pe.A.get(t.card, "cardCfg.config.components", []),
                      e
                    )),
                  t.children &&
                    t.children.length > 0 &&
                    (await Te(t.children, e)),
                  t.getRenderedCards)
                ) {
                  var i = t.getRenderedCards();
                  await Te(i, e);
                }
                await (null == t || null === (r = t.execHooks) || void 0 === r
                  ? void 0
                  : r.call(t, e));
              }.bind(this)
            );
          await Promise.all(r);
        }
        function Oe(t) {
          var e = [];
          return (
            (function t(e, n) {
              if (e)
                for (var r = 0; r < e.length; r++) {
                  var i,
                    o = e[r];
                  null != o &&
                    null !== (i = o.config) &&
                    void 0 !== i &&
                    i.eventConfig &&
                    n.push(o),
                    o.children && o.children.length && t(o.children, n);
                }
            })(t, e),
            e
          );
        }
        K.register("cardQuote", {
          zh: {
            cardId: "输入参数缺少卡片ID “cardId” 属性",
            origin: "输入参数缺少卡片服务的域名 “origin” 属性",
            container: "输入参数缺少卡片容器 “container” 属性",
            cardInitCompleted: "卡片初始化完成",
            errorKeyTips: "请使用正确的authKey",
            errorCardIdTips: "卡片不存在",
          },
          en: {
            cardId: "Entered parameters have no card ID “cardId” attribute",
            origin:
              "Entered parameters have no “origin” attribute of card service",
            container:
              "Entered parameters have no “container” attribute of card container",
            cardInitCompleted: "Card initialization completed",
            errorKeyTips: "Please use authKey correctly",
            errorCardIdTips: "Card does not exist",
          },
        });
        function Ce(t) {
          return (
            (function (t) {
              if (Array.isArray(t)) return Pe(t);
            })(t) ||
            (function (t) {
              if (
                ("undefined" != typeof Symbol && null != t[Symbol.iterator]) ||
                null != t["@@iterator"]
              )
                return Array.from(t);
            })(t) ||
            (function (t, e) {
              if (t) {
                if ("string" == typeof t) return Pe(t, e);
                var n = {}.toString.call(t).slice(8, -1);
                return (
                  "Object" === n && t.constructor && (n = t.constructor.name),
                  "Map" === n || "Set" === n
                    ? Array.from(t)
                    : "Arguments" === n ||
                      /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)
                    ? Pe(t, e)
                    : void 0
                );
              }
            })(t) ||
            (function () {
              throw new TypeError(
                "Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."
              );
            })()
          );
        }
        function Pe(t, e) {
          (null == e || e > t.length) && (e = t.length);
          for (var n = 0, r = Array(e); n < e; n++) r[n] = t[n];
          return r;
        }
        function xe(t, e) {
          if (t !== e)
            throw new TypeError("Cannot instantiate an arrow function");
        }
        const ke = function (t, e) {
          var n = this;
          xe(this, undefined);
          var r = pe.A.cloneDeep(t.config),
            i = r.components,
            o = Ce(
              r.eventConfig.filter(
                function (t) {
                  var e = this;
                  return (
                    xe(this, n),
                    t.actions.find(
                      function (t) {
                        return xe(this, e), t.actionType === m.X2.CardService;
                      }.bind(this)
                    )
                  );
                }.bind(this)
              )
            );
          Oe(i).forEach(
            function (t) {
              var e = this;
              xe(this, n);
              var r = t.config.eventConfig,
                i = void 0 === r ? [] : r;
              if (i.length > 0) {
                var a = i.filter(
                  function (t) {
                    var n = this;
                    return (
                      xe(this, e),
                      t.actions.find(
                        function (t) {
                          return xe(this, n), t.actionType === m.X2.CardService;
                        }.bind(this)
                      )
                    );
                  }.bind(this)
                );
                o.push.apply(o, Ce(a));
              }
            }.bind(this)
          );
          var a = [];
          return (
            o.forEach(
              function (t) {
                var e,
                  r = this;
                xe(this, n);
                var i = t.actions.filter(
                  function (t) {
                    return xe(this, r), t.actionType === m.X2.CardService;
                  }.bind(this)
                );
                (e = a).push.apply(e, Ce(i));
              }.bind(this)
            ),
            (a = a.map(
              function (r) {
                var i = this;
                return (
                  xe(this, n),
                  {
                    actionId: r.actionId,
                    actionName: ne(r, t.config),
                    actionType: r.actionType,
                    paramConfigs: r.paramConfigs
                      .filter(
                        function (t) {
                          return xe(this, i), t.name;
                        }.bind(this)
                      )
                      .map(
                        function (t) {
                          return (
                            xe(this, i),
                            {
                              name: t.name,
                              desc: t.desc || "",
                              title: t.value.title,
                              type: t.value.type,
                            }
                          );
                        }.bind(this)
                      ),
                    sourceCardId: e,
                  }
                );
              }.bind(this)
            ))
          );
        }.bind(void 0);
        var Ie = n(34625);
        function je(t) {
          return (
            (je =
              "function" == typeof Symbol && "symbol" == typeof Symbol.iterator
                ? function (t) {
                    return typeof t;
                  }
                : function (t) {
                    return t &&
                      "function" == typeof Symbol &&
                      t.constructor === Symbol &&
                      t !== Symbol.prototype
                      ? "symbol"
                      : typeof t;
                  }),
            je(t)
          );
        }
        function Re(t, e) {
          var n = Object.keys(t);
          if (Object.getOwnPropertySymbols) {
            var r = Object.getOwnPropertySymbols(t);
            e &&
              (r = r.filter(function (e) {
                return Object.getOwnPropertyDescriptor(t, e).enumerable;
              })),
              n.push.apply(n, r);
          }
          return n;
        }
        function De(t) {
          for (var e = 1; e < arguments.length; e++) {
            var n = null != arguments[e] ? arguments[e] : {};
            e % 2
              ? Re(Object(n), !0).forEach(function (e) {
                  Le(t, e, n[e]);
                })
              : Object.getOwnPropertyDescriptors
              ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(n))
              : Re(Object(n)).forEach(function (e) {
                  Object.defineProperty(
                    t,
                    e,
                    Object.getOwnPropertyDescriptor(n, e)
                  );
                });
          }
          return t;
        }
        function Le(t, e, n) {
          return (
            (e = (function (t) {
              var e = (function (t, e) {
                if ("object" != je(t) || !t) return t;
                var n = t[Symbol.toPrimitive];
                if (void 0 !== n) {
                  var r = n.call(t, e || "default");
                  if ("object" != je(r)) return r;
                  throw new TypeError(
                    "@@toPrimitive must return a primitive value."
                  );
                }
                return ("string" === e ? String : Number)(t);
              })(t, "string");
              return "symbol" == je(e) ? e : e + "";
            })(e)) in t
              ? Object.defineProperty(t, e, {
                  value: n,
                  enumerable: !0,
                  configurable: !0,
                  writable: !0,
                })
              : (t[e] = n),
            t
          );
        }
        function Me(t) {
          return (
            (function (t) {
              if (Array.isArray(t)) return Ne(t);
            })(t) ||
            (function (t) {
              if (
                ("undefined" != typeof Symbol && null != t[Symbol.iterator]) ||
                null != t["@@iterator"]
              )
                return Array.from(t);
            })(t) ||
            (function (t, e) {
              if (t) {
                if ("string" == typeof t) return Ne(t, e);
                var n = {}.toString.call(t).slice(8, -1);
                return (
                  "Object" === n && t.constructor && (n = t.constructor.name),
                  "Map" === n || "Set" === n
                    ? Array.from(t)
                    : "Arguments" === n ||
                      /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)
                    ? Ne(t, e)
                    : void 0
                );
              }
            })(t) ||
            (function () {
              throw new TypeError(
                "Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."
              );
            })()
          );
        }
        function Ne(t, e) {
          (null == e || e > t.length) && (e = t.length);
          for (var n = 0, r = Array(e); n < e; n++) r[n] = t[n];
          return r;
        }
        function $e(t, e) {
          if (t !== e)
            throw new TypeError("Cannot instantiate an arrow function");
        }
        const Be = function (t) {
          var e = this;
          if (($e(this, undefined), !t.config)) return [];
          var n = pe.A.cloneDeep(t.config),
            r = n.components,
            i = n.eventConfig,
            o = Oe(r),
            a = Me(
              i.filter(
                function (t) {
                  var n = this;
                  return (
                    $e(this, e),
                    t.actions.find(
                      function (t) {
                        return $e(this, n), t.actionType === m.X2.CardService;
                      }.bind(this)
                    )
                  );
                }.bind(this)
              )
            );
          a.map(
            function (t) {
              $e(this, e), (t.title = K.get("cardQuote.cardInitCompleted"));
            }.bind(this)
          ),
            o.forEach(
              function (t) {
                var n = this;
                $e(this, e);
                var r = t.config.eventConfig,
                  i = void 0 === r ? [] : r;
                if (i.length > 0) {
                  var o = i.filter(
                    function (t) {
                      var e = this;
                      return (
                        $e(this, n),
                        (t.actions || []).find(
                          function (t) {
                            return (
                              $e(this, e), t.actionType === m.X2.CardService
                            );
                          }.bind(this)
                        )
                      );
                    }.bind(this)
                  );
                  o.map(
                    function (e) {
                      $e(this, n),
                        (e.title = ""
                          .concat(t.config.basicConfig.name, "-")
                          .concat(
                            e.title ||
                              e.eventTitle ||
                              (0, Ie.AU)()[e.eventType] ||
                              e.eventType
                          ));
                    }.bind(this)
                  ),
                    a.push.apply(a, Me(o));
                }
              }.bind(this)
            ),
            a.forEach(
              function (t) {
                var n = this;
                $e(this, e),
                  t.actions.forEach(
                    function (e, r) {
                      $e(this, n),
                        e.actionType !== m.X2.CardService &&
                          t.actions.splice(r, 1);
                    }.bind(this)
                  );
              }.bind(this)
            );
          var s = [];
          return (
            a.forEach(
              function (t) {
                var n = this;
                $e(this, e),
                  t.actions.forEach(
                    function (e) {
                      $e(this, n);
                      var r = De(
                        De({}, t),
                        {},
                        {
                          actions: [],
                          conditions: [],
                          cardService: e,
                          title: "".concat(t.title, "-").concat(e.actionName),
                        }
                      );
                      s.push(r);
                    }.bind(this)
                  );
              }.bind(this)
            ),
            s
          );
        }.bind(void 0);
        function Ue(t) {
          return (
            (Ue =
              "function" == typeof Symbol && "symbol" == typeof Symbol.iterator
                ? function (t) {
                    return typeof t;
                  }
                : function (t) {
                    return t &&
                      "function" == typeof Symbol &&
                      t.constructor === Symbol &&
                      t !== Symbol.prototype
                      ? "symbol"
                      : typeof t;
                  }),
            Ue(t)
          );
        }
        function Fe(t) {
          return (
            (function (t) {
              if (Array.isArray(t)) return qe(t);
            })(t) ||
            (function (t) {
              if (
                ("undefined" != typeof Symbol && null != t[Symbol.iterator]) ||
                null != t["@@iterator"]
              )
                return Array.from(t);
            })(t) ||
            ze(t) ||
            (function () {
              throw new TypeError(
                "Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."
              );
            })()
          );
        }
        function He(t, e) {
          var n = Object.keys(t);
          if (Object.getOwnPropertySymbols) {
            var r = Object.getOwnPropertySymbols(t);
            e &&
              (r = r.filter(function (e) {
                return Object.getOwnPropertyDescriptor(t, e).enumerable;
              })),
              n.push.apply(n, r);
          }
          return n;
        }
        function Ge(t) {
          for (var e = 1; e < arguments.length; e++) {
            var n = null != arguments[e] ? arguments[e] : {};
            e % 2
              ? He(Object(n), !0).forEach(function (e) {
                  We(t, e, n[e]);
                })
              : Object.getOwnPropertyDescriptors
              ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(n))
              : He(Object(n)).forEach(function (e) {
                  Object.defineProperty(
                    t,
                    e,
                    Object.getOwnPropertyDescriptor(n, e)
                  );
                });
          }
          return t;
        }
        function We(t, e, n) {
          return (
            (e = (function (t) {
              var e = (function (t, e) {
                if ("object" != Ue(t) || !t) return t;
                var n = t[Symbol.toPrimitive];
                if (void 0 !== n) {
                  var r = n.call(t, e || "default");
                  if ("object" != Ue(r)) return r;
                  throw new TypeError(
                    "@@toPrimitive must return a primitive value."
                  );
                }
                return ("string" === e ? String : Number)(t);
              })(t, "string");
              return "symbol" == Ue(e) ? e : e + "";
            })(e)) in t
              ? Object.defineProperty(t, e, {
                  value: n,
                  enumerable: !0,
                  configurable: !0,
                  writable: !0,
                })
              : (t[e] = n),
            t
          );
        }
        function ze(t, e) {
          if (t) {
            if ("string" == typeof t) return qe(t, e);
            var n = {}.toString.call(t).slice(8, -1);
            return (
              "Object" === n && t.constructor && (n = t.constructor.name),
              "Map" === n || "Set" === n
                ? Array.from(t)
                : "Arguments" === n ||
                  /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)
                ? qe(t, e)
                : void 0
            );
          }
        }
        function qe(t, e) {
          (null == e || e > t.length) && (e = t.length);
          for (var n = 0, r = Array(e); n < e; n++) r[n] = t[n];
          return r;
        }
        function Xe(t, e) {
          if (t !== e)
            throw new TypeError("Cannot instantiate an arrow function");
        }
        const Ye = function (t, e) {
          var n = this;
          Xe(this, undefined);
          var r = [];
          if (e) {
            var i,
              o = (function (t, e) {
                var n =
                  ("undefined" != typeof Symbol && t[Symbol.iterator]) ||
                  t["@@iterator"];
                if (!n) {
                  if (
                    Array.isArray(t) ||
                    (n = ze(t)) ||
                    (e && t && "number" == typeof t.length)
                  ) {
                    n && (t = n);
                    var r = 0,
                      i = function () {};
                    return {
                      s: i,
                      n: function () {
                        return r >= t.length
                          ? { done: !0 }
                          : { done: !1, value: t[r++] };
                      },
                      e: function (t) {
                        throw t;
                      },
                      f: i,
                    };
                  }
                  throw new TypeError(
                    "Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."
                  );
                }
                var o,
                  a = !0,
                  s = !1;
                return {
                  s: function () {
                    n = n.call(t);
                  },
                  n: function () {
                    var t = n.next();
                    return (a = t.done), t;
                  },
                  e: function (t) {
                    (s = !0), (o = t);
                  },
                  f: function () {
                    try {
                      a || null == n.return || n.return();
                    } finally {
                      if (s) throw o;
                    }
                  },
                };
              })(t);
            try {
              for (o.s(); !(i = o.n()).done; ) {
                var a = i.value.find(
                  function (t) {
                    return Xe(this, n), t.actionId === e;
                  }.bind(this)
                );
                if (a) {
                  r.push(Ge({}, a.paramConfigs));
                  break;
                }
              }
            } catch (t) {
              o.e(t);
            } finally {
              o.f();
            }
            return r;
          }
          return (
            t.forEach(
              function (t) {
                Xe(this, n), r.push.apply(r, Fe(t.paramConfigs));
              }.bind(this)
            ),
            r
          );
        }.bind(void 0);
        function Ke(t) {
          return (
            (Ke =
              "function" == typeof Symbol && "symbol" == typeof Symbol.iterator
                ? function (t) {
                    return typeof t;
                  }
                : function (t) {
                    return t &&
                      "function" == typeof Symbol &&
                      t.constructor === Symbol &&
                      t !== Symbol.prototype
                      ? "symbol"
                      : typeof t;
                  }),
            Ke(t)
          );
        }
        function Ze(t, e) {
          if (t !== e)
            throw new TypeError("Cannot instantiate an arrow function");
        }
        const Je = function (t, e) {
          var n = this;
          Ze(this, undefined);
          var r = t.contextId,
            i = t.cardCfg,
            o = r ? "".concat(r, "-").concat(t.id) : t.id;
          if ("object" !== Ke(e))
            throw new Error("directives must be an array or object");
          var a = pe.A.cloneDeep(i.config.actionConfig);
          (pe.A.isPlainObject(e) ? [e] : e)
            .filter(
              function (t) {
                return Ze(this, n), t.targetCardId === o;
              }.bind(this)
            )
            .forEach(
              function (t) {
                Ze(this, n),
                  (function (t, e, n, r) {
                    var i = this,
                      o = n.find(
                        function (t) {
                          return Ze(this, i), t.id === r.directiveId;
                        }.bind(this)
                      );
                    o &&
                      (r.params &&
                        (o.actions = o.actions.map(
                          function (t) {
                            var e = this;
                            return (
                              Ze(this, i),
                              (t.paramConfigs = t.paramConfigs.map(
                                function (t) {
                                  return Ze(this, e), se(t.value, r.params), t;
                                }.bind(this)
                              )),
                              t
                            );
                          }.bind(this)
                        )),
                      lo.dispatch({ contextId: t }, {}, o));
                  })(o, 0, a, t);
              }.bind(this)
            );
        }.bind(void 0);
        function Qe(t) {
          return (
            (function (t) {
              if (Array.isArray(t)) return tn(t);
            })(t) ||
            (function (t) {
              if (
                ("undefined" != typeof Symbol && null != t[Symbol.iterator]) ||
                null != t["@@iterator"]
              )
                return Array.from(t);
            })(t) ||
            (function (t, e) {
              if (t) {
                if ("string" == typeof t) return tn(t, e);
                var n = {}.toString.call(t).slice(8, -1);
                return (
                  "Object" === n && t.constructor && (n = t.constructor.name),
                  "Map" === n || "Set" === n
                    ? Array.from(t)
                    : "Arguments" === n ||
                      /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)
                    ? tn(t, e)
                    : void 0
                );
              }
            })(t) ||
            (function () {
              throw new TypeError(
                "Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."
              );
            })()
          );
        }
        function tn(t, e) {
          (null == e || e > t.length) && (e = t.length);
          for (var n = 0, r = Array(e); n < e; n++) r[n] = t[n];
          return r;
        }
        function en(t, e) {
          if (t !== e)
            throw new TypeError("Cannot instantiate an arrow function");
        }
        const nn = function (t, e) {
          var n = this;
          en(this, undefined);
          var r = e.config,
            i = [];
          return (
            r.actionConfig.forEach(
              function (t) {
                var e;
                en(this, n), (e = i).push.apply(e, Qe(t.actions));
              }.bind(this)
            ),
            (i = i.map(
              function (e) {
                return en(this, n), ie(e, t, r);
              }.bind(this)
            )),
            h()(i)
          );
        }.bind(void 0);
        function rn(t, e) {
          if (t !== e)
            throw new TypeError("Cannot instantiate an arrow function");
        }
        const on = function (t, e) {
          var n = this;
          rn(this, undefined);
          var r = e.config,
            i = Array.isArray(r.actionConfig)
              ? r.actionConfig.map(
                  function (e) {
                    var i = this;
                    return (
                      rn(this, n),
                      {
                        id: e.id,
                        targetCardId: t,
                        title: e.title,
                        eventType: e.eventType,
                        actions: e.actions.map(
                          function (e) {
                            return rn(this, i), ie(e, t, r);
                          }.bind(this)
                        ),
                      }
                    );
                  }.bind(this)
                )
              : [];
          return h()(i);
        }.bind(void 0);
        function an(t) {
          return (
            (function (t) {
              if (Array.isArray(t)) return cn(t);
            })(t) ||
            (function (t) {
              if (
                ("undefined" != typeof Symbol && null != t[Symbol.iterator]) ||
                null != t["@@iterator"]
              )
                return Array.from(t);
            })(t) ||
            sn(t) ||
            (function () {
              throw new TypeError(
                "Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."
              );
            })()
          );
        }
        function sn(t, e) {
          if (t) {
            if ("string" == typeof t) return cn(t, e);
            var n = {}.toString.call(t).slice(8, -1);
            return (
              "Object" === n && t.constructor && (n = t.constructor.name),
              "Map" === n || "Set" === n
                ? Array.from(t)
                : "Arguments" === n ||
                  /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)
                ? cn(t, e)
                : void 0
            );
          }
        }
        function cn(t, e) {
          (null == e || e > t.length) && (e = t.length);
          for (var n = 0, r = Array(e); n < e; n++) r[n] = t[n];
          return r;
        }
        function ln(t, e) {
          if (t !== e)
            throw new TypeError("Cannot instantiate an arrow function");
        }
        const un = function (t, e) {
          var n = this;
          ln(this, undefined);
          var r = [];
          if (e) {
            var i,
              o = (function (t, e) {
                var n =
                  ("undefined" != typeof Symbol && t[Symbol.iterator]) ||
                  t["@@iterator"];
                if (!n) {
                  if (
                    Array.isArray(t) ||
                    (n = sn(t)) ||
                    (e && t && "number" == typeof t.length)
                  ) {
                    n && (t = n);
                    var r = 0,
                      i = function () {};
                    return {
                      s: i,
                      n: function () {
                        return r >= t.length
                          ? { done: !0 }
                          : { done: !1, value: t[r++] };
                      },
                      e: function (t) {
                        throw t;
                      },
                      f: i,
                    };
                  }
                  throw new TypeError(
                    "Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."
                  );
                }
                var o,
                  a = !0,
                  s = !1;
                return {
                  s: function () {
                    n = n.call(t);
                  },
                  n: function () {
                    var t = n.next();
                    return (a = t.done), t;
                  },
                  e: function (t) {
                    (s = !0), (o = t);
                  },
                  f: function () {
                    try {
                      a || null == n.return || n.return();
                    } finally {
                      if (s) throw o;
                    }
                  },
                };
              })(t);
            try {
              for (o.s(); !(i = o.n()).done; ) {
                var a = i.value;
                a.cardActionId === e && r.push.apply(r, an(a.paramConfigs));
              }
            } catch (t) {
              o.e(t);
            } finally {
              o.f();
            }
            return r;
          }
          return (
            t.forEach(
              function (t) {
                ln(this, n), r.push.apply(r, an(t.paramConfigs));
              }.bind(this)
            ),
            r
          );
        }.bind(void 0);
        const fn = function (t) {
          var e =
            !(arguments.length > 1 && void 0 !== arguments[1]) || arguments[1];
          !(function (t, e) {
            if (t !== e)
              throw new TypeError("Cannot instantiate an arrow function");
          })(this, undefined);
          var n = t.config.background;
          n.transparent && e && ((n.color = "transparent"), (n.url = ""));
        }.bind(void 0);
        const dn = function (t, e) {
          !(function (t, e) {
            if (t !== e)
              throw new TypeError("Cannot instantiate an arrow function");
          })(this, undefined),
            t.id ||
              (t.id = ""
                .concat(t.cardId, "-")
                .concat((1e10 * Math.random()).toFixed(0))),
            (e.cardId = e.id),
            (e.id = t.id);
        }.bind(void 0);
        function hn(t) {
          return (
            (hn =
              "function" == typeof Symbol && "symbol" == typeof Symbol.iterator
                ? function (t) {
                    return typeof t;
                  }
                : function (t) {
                    return t &&
                      "function" == typeof Symbol &&
                      t.constructor === Symbol &&
                      t !== Symbol.prototype
                      ? "symbol"
                      : typeof t;
                  }),
            hn(t)
          );
        }
        function pn(t, e) {
          var n = Object.keys(t);
          if (Object.getOwnPropertySymbols) {
            var r = Object.getOwnPropertySymbols(t);
            e &&
              (r = r.filter(function (e) {
                return Object.getOwnPropertyDescriptor(t, e).enumerable;
              })),
              n.push.apply(n, r);
          }
          return n;
        }
        function mn(t) {
          for (var e = 1; e < arguments.length; e++) {
            var n = null != arguments[e] ? arguments[e] : {};
            e % 2
              ? pn(Object(n), !0).forEach(function (e) {
                  vn(t, e, n[e]);
                })
              : Object.getOwnPropertyDescriptors
              ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(n))
              : pn(Object(n)).forEach(function (e) {
                  Object.defineProperty(
                    t,
                    e,
                    Object.getOwnPropertyDescriptor(n, e)
                  );
                });
          }
          return t;
        }
        function vn(t, e, n) {
          return (
            (e = (function (t) {
              var e = (function (t, e) {
                if ("object" != hn(t) || !t) return t;
                var n = t[Symbol.toPrimitive];
                if (void 0 !== n) {
                  var r = n.call(t, e || "default");
                  if ("object" != hn(r)) return r;
                  throw new TypeError(
                    "@@toPrimitive must return a primitive value."
                  );
                }
                return ("string" === e ? String : Number)(t);
              })(t, "string");
              return "symbol" == hn(e) ? e : e + "";
            })(e)) in t
              ? Object.defineProperty(t, e, {
                  value: n,
                  enumerable: !0,
                  configurable: !0,
                  writable: !0,
                })
              : (t[e] = n),
            t
          );
        }
        function gn(t, e) {
          if (t !== e)
            throw new TypeError("Cannot instantiate an arrow function");
        }
        var yn = {},
          bn = {};
        function Vn(t, e) {
          var n = this,
            r = t.cardId,
            i = t.origin,
            o = t.cache.enable;
          return (
            (e.type = wt.PageType.Card),
            (e.origin = i),
            (e = (0, g.ow)(e)),
            o &&
              ((yn[r] = e),
              (function (t) {
                var e = this,
                  n = t.cache.timeout;
                return new Promise(
                  function (t, r) {
                    var i = this;
                    gn(this, e),
                      setTimeout(
                        function () {
                          gn(this, i),
                            (yn = {}),
                            t("card cache has been cleard");
                        }.bind(this),
                        n
                      );
                  }.bind(this)
                );
              })(t).then(
                function (t) {
                  return gn(this, n), console.debug(t);
                }.bind(this)
              )),
            delete bn[r],
            e
          );
        }
        function _n(t, e) {
          var r = this,
            i = t.cardId,
            o = t.origin;
          return new Promise(
            function (a) {
              var s,
                c = this;
              gn(this, r), yn[i] && a(yn[i]);
              var l = { id: i };
              null != e && e.ticket && (l.ticket = e.ticket),
                (0, V.get)(
                  null !== (s = null == e ? void 0 : e.url) && void 0 !== s
                    ? s
                    : ""
                        .concat(o)
                        .concat(p.Ay.UX_API, "/runner/card/getCardInfoById"),
                  l
                ).then(
                  function (e) {
                    var r = this;
                    gn(this, c);
                    var s = e.data;
                    if (s) {
                      var l;
                      (null !== (l = n.g) &&
                        void 0 !== l &&
                        null !== (l = l.SF) &&
                        void 0 !== l &&
                        l.data) ||
                        pe.A.set(n.g.SF, "data", {});
                      var u = ""
                        .concat(o)
                        .concat(p.Ay.UX_STATIC_CUSTOMER, "/runner/card/")
                        .concat(i, "/cardData/")
                        .concat(i, ".js?_t=")
                        .concat(s.releaseTime);
                      (0, f.e)(u).then(
                        function () {
                          gn(this, r);
                          var e = (0, y.rn)(n.g.SF.data["card_".concat(i)]);
                          (e = Vn(t, e)), a(e);
                        }.bind(this)
                      );
                    } else
                      "0" === (null == e ? void 0 : e.code) &&
                        a({
                          loadMessage: K.get("cardQuote.errorCardIdTips"),
                          loadStatus: he.loadStatus.FAIL,
                        });
                  }.bind(this)
                );
            }.bind(this)
          );
        }
        function wn(t) {
          var e = this,
            n = t.cardId,
            r = t.origin,
            i = new Promise(
              function (i) {
                var o = this;
                gn(this, e),
                  (0, V.get)(
                    ""
                      .concat(r)
                      .concat(
                        "runtime" === st.o9.Design || (0, g.fx)()
                          ? "".concat(p.Ay.UX_API, "/runner/card/getCardById")
                          : "".concat(
                              p.Ay.UX_API,
                              "/designer/card/getCardById"
                            ),
                        "?id="
                      )
                      .concat(n)
                  ).then(
                    function () {
                      var e,
                        n =
                          arguments.length > 0 && void 0 !== arguments[0]
                            ? arguments[0]
                            : {};
                      gn(this, o);
                      var a = n.data,
                        s = void 0 === a ? null : a,
                        c = n.code,
                        l = void 0 === c ? null : c,
                        u = n.messages,
                        f = void 0 === u ? [] : u,
                        d = window.location.pathname.includes("uxcardrunner");
                      "03301B0106005" === l &&
                        d &&
                        window.open(
                          "".concat(r).concat(p.Ay.AUTH_CENTER, "/404"),
                          "_self"
                        );
                      var h = s
                          ? mn(
                              mn({}, s),
                              {},
                              {
                                loadMessage: "",
                                loadStatus: he.loadStatus.SUCCESS,
                              }
                            )
                          : {
                              loadMessage:
                                null !== (e = null == f ? void 0 : f[0]) &&
                                void 0 !== e
                                  ? e
                                  : "",
                              loadStatus: he.loadStatus.FAIL,
                            },
                        m = (0, y.rn)(h);
                      (m = Vn(t, m)), i(m);
                    }.bind(this)
                  );
              }.bind(this)
            );
          return i;
        }
        async function Sn(t) {
          var e,
            n = this,
            r = t.cardId,
            i = t.cache.enable,
            o = t.isInternalAuthentication,
            a = t.authKey,
            s = t.origin;
          if (i && "runtime" === st.o9.Runtime && yn[r])
            return new Promise(
              function (t) {
                gn(this, n), yn[r] && t(yn[r]);
              }.bind(this)
            );
          if (bn[r]) return bn[r];
          if ("string" == typeof a) {
            var c,
              l = await (function (t, e) {
                return (0, V.post)(
                  ""
                    .concat(e)
                    .concat(p.Ay.UX_API, "/runner/extauth/checkExtAuthKey"),
                  { authKey: t }
                );
              })(a, s),
              u = l.data,
              f = void 0 === u ? {} : u,
              d = (l.code, l.messages),
              h = void 0 === d ? [] : d,
              m = f.ticket;
            if (m)
              e = _n(t, {
                url: "".concat(s, "/uxnoauth/getCardInfoById"),
                ticket: m,
              });
            else
              e = {
                loadMessage:
                  null !== (c = null == h ? void 0 : h[0]) && void 0 !== c
                    ? c
                    : K.get("cardQuote.errorKeyTips"),
                loadStatus: he.loadStatus.FAIL,
              };
          } else e = o ? wn(t) : _n(t);
          return (bn[r] = e), e;
        }
        function En(t, e) {
          if (t !== e)
            throw new TypeError("Cannot instantiate an arrow function");
        }
        function An(t, e) {
          var r =
              arguments.length > 2 && void 0 !== arguments[2]
                ? arguments[2]
                : "",
            i = (0, S.Y9)(t.componentId, r);
          i
            ? i.execHooks
              ? i.execHooks("execServerAlarmMonitor", t, e)
              : (i.config.alarmMsg = [t, e])
            : n.g.sfLogger.warn(
                "ID为：‘".concat(t.componentId, "’，组件已经被删除。")
              );
        }
        const Tn = function (t, e) {
          En(this, undefined),
            t.busType !== Kt.Card
              ? (function (t, e) {
                  An(t, e);
                })(t, e)
              : (function (t, e) {
                  var n = this,
                    r = (0, S.nc)(t.busId);
                  Object.keys(r).forEach(
                    function (r) {
                      En(this, n), An(t, e, r);
                    }.bind(this)
                  );
                })(t, e);
        }.bind(void 0);
        const On = function () {
          return (
            (function (t, e) {
              if (t !== e)
                throw new TypeError("Cannot instantiate an arrow function");
            })(this, undefined),
            !new URLSearchParams(window.location.search).get("appId")
          );
        }.bind(void 0);
        function Cn(t) {
          return (
            (Cn =
              "function" == typeof Symbol && "symbol" == typeof Symbol.iterator
                ? function (t) {
                    return typeof t;
                  }
                : function (t) {
                    return t &&
                      "function" == typeof Symbol &&
                      t.constructor === Symbol &&
                      t !== Symbol.prototype
                      ? "symbol"
                      : typeof t;
                  }),
            Cn(t)
          );
        }
        function Pn(t, e) {
          var n = Object.keys(t);
          if (Object.getOwnPropertySymbols) {
            var r = Object.getOwnPropertySymbols(t);
            e &&
              (r = r.filter(function (e) {
                return Object.getOwnPropertyDescriptor(t, e).enumerable;
              })),
              n.push.apply(n, r);
          }
          return n;
        }
        function xn(t) {
          for (var e = 1; e < arguments.length; e++) {
            var n = null != arguments[e] ? arguments[e] : {};
            e % 2
              ? Pn(Object(n), !0).forEach(function (e) {
                  kn(t, e, n[e]);
                })
              : Object.getOwnPropertyDescriptors
              ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(n))
              : Pn(Object(n)).forEach(function (e) {
                  Object.defineProperty(
                    t,
                    e,
                    Object.getOwnPropertyDescriptor(n, e)
                  );
                });
          }
          return t;
        }
        function kn(t, e, n) {
          return (
            (e = (function (t) {
              var e = (function (t, e) {
                if ("object" != Cn(t) || !t) return t;
                var n = t[Symbol.toPrimitive];
                if (void 0 !== n) {
                  var r = n.call(t, e || "default");
                  if ("object" != Cn(r)) return r;
                  throw new TypeError(
                    "@@toPrimitive must return a primitive value."
                  );
                }
                return ("string" === e ? String : Number)(t);
              })(t, "string");
              return "symbol" == Cn(e) ? e : e + "";
            })(e)) in t
              ? Object.defineProperty(t, e, {
                  value: n,
                  enumerable: !0,
                  configurable: !0,
                  writable: !0,
                })
              : (t[e] = n),
            t
          );
        }
        function In(t, e) {
          if (t !== e)
            throw new TypeError("Cannot instantiate an arrow function");
        }
        const jn = function () {
          var t = this,
            e =
              arguments.length > 0 && void 0 !== arguments[0]
                ? arguments[0]
                : {};
          if ((In(this, undefined), !On())) {
            var n = new URLSearchParams(window.location.search).get("appId");
            (0, V.post)(
              "".concat(p.Ay.RESULT_API, "/cockpit/alarm/queryLastAlarms"),
              xn(xn({}, e), {}, { appId: n }),
              {
                headers: { "x-request-route": encodeURI("cockpit/cockpitSdk") },
              }
            ).then(
              function (e) {
                var n = this;
                In(this, t),
                  (e.data || []).forEach(
                    function (t) {
                      In(this, n), Tn(t, { isFetch: !1 });
                    }.bind(this)
                  );
              }.bind(this)
            );
          }
        }.bind(void 0);
        var Rn = n(83503),
          Dn = n(60885);
        function Ln(t) {
          return (
            (Ln =
              "function" == typeof Symbol && "symbol" == typeof Symbol.iterator
                ? function (t) {
                    return typeof t;
                  }
                : function (t) {
                    return t &&
                      "function" == typeof Symbol &&
                      t.constructor === Symbol &&
                      t !== Symbol.prototype
                      ? "symbol"
                      : typeof t;
                  }),
            Ln(t)
          );
        }
        function Mn(t, e) {
          var n = Object.keys(t);
          if (Object.getOwnPropertySymbols) {
            var r = Object.getOwnPropertySymbols(t);
            e &&
              (r = r.filter(function (e) {
                return Object.getOwnPropertyDescriptor(t, e).enumerable;
              })),
              n.push.apply(n, r);
          }
          return n;
        }
        function Nn(t) {
          for (var e = 1; e < arguments.length; e++) {
            var n = null != arguments[e] ? arguments[e] : {};
            e % 2
              ? Mn(Object(n), !0).forEach(function (e) {
                  $n(t, e, n[e]);
                })
              : Object.getOwnPropertyDescriptors
              ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(n))
              : Mn(Object(n)).forEach(function (e) {
                  Object.defineProperty(
                    t,
                    e,
                    Object.getOwnPropertyDescriptor(n, e)
                  );
                });
          }
          return t;
        }
        function $n(t, e, n) {
          return (
            (e = (function (t) {
              var e = (function (t, e) {
                if ("object" != Ln(t) || !t) return t;
                var n = t[Symbol.toPrimitive];
                if (void 0 !== n) {
                  var r = n.call(t, e || "default");
                  if ("object" != Ln(r)) return r;
                  throw new TypeError(
                    "@@toPrimitive must return a primitive value."
                  );
                }
                return ("string" === e ? String : Number)(t);
              })(t, "string");
              return "symbol" == Ln(e) ? e : e + "";
            })(e)) in t
              ? Object.defineProperty(t, e, {
                  value: n,
                  enumerable: !0,
                  configurable: !0,
                  writable: !0,
                })
              : (t[e] = n),
            t
          );
        }
        function Bn(t, e) {
          if (t !== e)
            throw new TypeError("Cannot instantiate an arrow function");
        }
        const Un = function (t) {
          var e = this;
          return (
            Bn(this, undefined),
            On()
              ? Promise.resolve(null)
              : (0, Dn.A)({ debug: !1 }).then(
                  function (n) {
                    var r = this;
                    Bn(this, e);
                    var i = Rn(t);
                    n.createRouter([
                      {
                        sendRouterUrl: "".concat(
                          p.Ay.UX_API,
                          "/runner/realtime/bindAlarmMessage"
                        ),
                        routerId: i,
                        topic: "ue-serverAlarm",
                        post: { router: i, parentId: t, wsId: n.sessionId },
                        headers: {
                          "x-request-route": encodeURI("ue-serverAlarm"),
                        },
                        handler: function (t) {
                          Bn(this, r);
                          var e = t.content[0],
                            n = Nn(
                              Nn({}, JSON.parse(e.extra)),
                              {},
                              { alarmContent: e.alarmContent }
                            );
                          Tn(n, { isFetch: !0 }),
                            sfLogger.log(
                              "告警消息已到分发-".concat(i, ",receive  ="),
                              n
                            );
                        }.bind(this),
                      },
                    ]);
                  }.bind(this)
                )
          );
        }.bind(void 0);
        function Fn(t, e) {
          if (t !== e)
            throw new TypeError("Cannot instantiate an arrow function");
        }
        const Hn = function (t) {
          var e = this;
          Fn(this, undefined),
            t.pageInitAlarmShowEnable && jn({ cardIdList: [t.cardCfg.cardId] }),
            t.realTimeAlarmEnable &&
              Un(t.cardCfg.cardId).then(
                function (n) {
                  Fn(this, e), (t.scsInstance = n);
                }.bind(this)
              );
        }.bind(void 0);
        const Gn = function (t) {
          !(function (t, e) {
            if (t !== e)
              throw new TypeError("Cannot instantiate an arrow function");
          })(this, undefined);
          var e = t.cardCfg.config;
          return (
            "number" == typeof t.resolution &&
              ((e.resolution = 1),
              (e.resolutionType = t.resolution),
              (e.containerInfo = {
                width: t.container.offsetWidth,
                height: t.container.offsetHeight,
              })),
            t
          );
        }.bind(void 0);
        function Wn(t, e) {
          if (t !== e)
            throw new TypeError("Cannot instantiate an arrow function");
        }
        function zn(t, e, n, r) {
          var i = this;
          t.forEach(
            function (t) {
              Wn(this, i),
                (t.origin = e),
                (t.contextId = n),
                (t.config.contextType = r),
                null != t && t.children.length && zn(t.children, e, n, r);
            }.bind(this)
          );
        }
        const qn = function (t, e) {
          Wn(this, undefined);
          var n = t.origin,
            r = t.config,
            i = t.id,
            o = t.type;
          return zn(r.components, n, e ? "".concat(e, "-").concat(i) : i, o), t;
        }.bind(void 0);
        const Xn = {
          engineType: (function (t) {
            return (
              (t.UX_SDK = "UX-SDK"),
              (t.UX_SDK_MOBILE = "UX-SDK-MOBILE"),
              (t.SDK = "SDK"),
              (t.IFRAME = "IFRAME"),
              t
            );
          })({}).UX_SDK,
          origin: "",
          isWrapped: !1,
          cache: { enable: !0, timeout: 5e3 },
        };
        function Yn(t, e) {
          if (t !== e)
            throw new TypeError("Cannot instantiate an arrow function");
        }
        function Kn(t) {
          var e = this;
          if (t.config.codeConfig) {
            var n = new Function("", t.config.codeConfig),
              r = "function" == typeof n ? n() : null;
            pe.A.isPlainObject(r)
              ? Object.keys(r).forEach(
                  function (n) {
                    var i = this;
                    Yn(this, e),
                      t.addHook(
                        n,
                        function (e) {
                          Yn(this, i), r[n].call(t, e);
                        }.bind(this)
                      );
                  }.bind(this)
                )
              : console.warn(
                  "".concat(
                    t.getBasicConfig().name,
                    "'s code injection error, must return a plain object"
                  )
                );
          }
        }
        var Zn = void 0;
        function Jn(t, e) {
          if (t !== e)
            throw new TypeError("Cannot instantiate an arrow function");
        }
        var Qn = function (t, e, n) {
            Jn(this, Zn), (t = t.replace(/\?.*/, ""));
            for (
              var r = Array.from(window.document.getElementsByTagName(e)),
                i = 0,
                o = r.length;
              i < o;
              i++
            ) {
              if (-1 !== r[i][n].indexOf(t)) return !0;
            }
            return !1;
          }.bind(void 0),
          tr = async function (t, e, n) {
            Jn(this, Zn);
            for (var r = 0, i = t.length; r < i; r++)
              if (!Qn(t[r][0], "link", "href")) {
                var o = ""
                  .concat(e)
                  .concat(p.Ay.UX_STATIC_CUSTOMER, "/")
                  .concat((0, g.fx)() ? "runner" : "designer", "/card/")
                  .concat(n)
                  .concat(t[r][0]);
                (0, f.f)(o);
              }
          }.bind(void 0),
          er = function (t, e, n) {
            var r = this;
            return (
              Jn(this, Zn),
              new Promise(
                function (i) {
                  Jn(this, r);
                  var o = async function () {
                    var t =
                      arguments.length > 0 && void 0 !== arguments[0]
                        ? arguments[0]
                        : [];
                    if (t.length) {
                      var r = t.shift();
                      if (!Qn(r[0], "script", "src")) {
                        var a = ""
                          .concat(e)
                          .concat(p.Ay.UX_STATIC_CUSTOMER, "/")
                          .concat((0, g.fx)() ? "runner" : "designer", "/card/")
                          .concat(n)
                          .concat(r[0]);
                        await (0, f.e)(a);
                      }
                      o(t);
                    } else i("load Inect-jsfile success ");
                  };
                  o(t);
                }.bind(this)
              )
            );
          }.bind(void 0);
        const nr = async function (t, e, n) {
          if ((Jn(this, Zn), n)) {
            var r = JSON.parse(t.cardCfg.codeJsOrder || "[]"),
              i = JSON.parse(t.cardCfg.codeCssOrder || "[]");
            tr(i, e, n), await er(r, e, n);
          }
        }.bind(void 0);
        const rr = async function (t) {
          !(function (t, e) {
            if (t !== e)
              throw new TypeError("Cannot instantiate an arrow function");
          })(this, undefined),
            !1 !== t.loadRelatedFileEnable &&
              "runtime" !== st.o9.Design &&
              (await nr(t, t.origin, t.cardCfg.cardId),
              (t.config = t.cardCfg.config),
              Kn(t),
              delete t.config);
        }.bind(void 0);
        async function ir(t) {
          var e,
            n = await (0, V.get)(
              ""
                .concat(p.Ay.UX_API, "/runner/card/getCardInfoById?id=")
                .concat(t)
            );
          return "0" === n.code
            ? null == n || null === (e = n.data) || void 0 === e
              ? void 0
              : e.name
            : "";
        }
        function or(t) {
          var e = t.width,
            n = t.height,
            r = t.url,
            i = t.positionX,
            o = void 0 === i ? 0 : i,
            a = t.positionY,
            s = void 0 === a ? 0 : a,
            c = t.offsetX,
            l = t.offsetY,
            u = t.scale,
            f = void 0 === u ? "scale(1)" : u,
            d = e ? "".concat(e, "px") : "100%",
            h = n ? "".concat(n, "px") : "100%";
          return Q()(
            '\n        <div\n            class="watermarkElement"\n            style="\n                width: '
              .concat(d, ";\n                height: ")
              .concat(
                h,
                ";\n                background-color: transparent;\n                position: absolute;\n                top: 0;\n                left: 0;\n                z-index: 9999;\n                pointer-events: none;\n                overflow: hidden;\n                transform-origin: 0 0;\n                transform: "
              )
              .concat(
                f,
                '\n            "\n        >\n            <div\n                style="\n                    width: 100%;\n                    height: 100%;\n                    padding-left: '
              )
              .concat(o, "px;\n                    padding-top: ")
              .concat(
                s,
                'px;\n                "\n            >\n                <div\n                    style="\n                        width: 100%;\n                        height: 100%;\n                        background-color: transparent;\n                        background-position: '
              )
              .concat(c, "px ")
              .concat(l, "px;\n                        background-image: url(")
              .concat(
                r,
                ');\n                        background-repeat: repeat;\n                    "\n                >\n                </div>\n            </div>\n        </div>  \n    '
              )
          );
        }
        var ar = async function (t) {
          return (
            (function (t, e) {
              if (t !== e)
                throw new TypeError("Cannot instantiate an arrow function");
            })(this, undefined),
            await (0, V.get)(
              ""
                .concat(p.Ay.VIEWER_BIZ, "/watermark/getQuoteInfo?id=")
                .concat(t)
            )
          );
        }.bind(void 0);
        async function sr(t) {
          var e = t || {},
            n = e.$parent,
            r = e.width,
            i = e.height,
            o = e.watermarkConfig,
            a = e.scale,
            s = void 0 === a ? "scale(1)" : a,
            c = n[0].querySelector(":scope > .watermarkElement");
          if (c) s && Q()(c).css("transform", s);
          else {
            var l = o || {},
              u = l.show,
              f = void 0 === u || u,
              d = l.id;
            if (f && d) {
              var h = l.render,
                m = l.offsetX,
                v = l.offsetY,
                g = l.positionX,
                y = l.positionY;
              if (!h) {
                var b,
                  V,
                  _,
                  w,
                  S,
                  E = (await ar(d)) || {};
                (h = null === (b = E.data) || void 0 === b ? void 0 : b.render),
                  (m =
                    null === (V = E.data) || void 0 === V ? void 0 : V.offsetX),
                  (v =
                    null === (_ = E.data) || void 0 === _ ? void 0 : _.offsetY),
                  (g =
                    null === (w = E.data) || void 0 === w
                      ? void 0
                      : w.positionX),
                  (y =
                    null === (S = E.data) || void 0 === S
                      ? void 0
                      : S.positionY);
              }
              h &&
                ((c = or({
                  width: r,
                  height: i,
                  url: "".concat(p.Ay.VIEWER_BIZ, "/").concat(h),
                  positionX: g,
                  positionY: y,
                  offsetX: m,
                  offsetY: v,
                  scale: s,
                })),
                n.append(c));
            }
          }
        }
        function cr(t, e, n) {
          e && t.css("width", "".concat(e)), n && t.css("height", "".concat(n));
        }
        function lr(t, e) {
          var n = this;
          void 0 !== t &&
            t.forEach(
              function (t, r) {
                var i, o;
                !(function (t, e) {
                  if (t !== e)
                    throw new TypeError("Cannot instantiate an arrow function");
                })(this, n);
                var a =
                  null == t || null === (i = t.getRunTimeData) || void 0 === i
                    ? void 0
                    : i.call(t, "originConfig");
                if (a && t.getScaledOptions && t.getScaleConfigs) {
                  var s,
                    c,
                    l,
                    u,
                    f,
                    d,
                    h = a.basicConfig;
                  null === (s = t.$element) ||
                    void 0 === s ||
                    s.css({ width: h.width * e.xf, height: h.height * e.yf }),
                    null === (c = t.$wrapper) ||
                      void 0 === c ||
                      c.css({ width: h.width * e.xf, height: h.height * e.yf }),
                    t.$parent.css({
                      transform: "scaleX("
                        .concat(1 / e.xf, ") scaleY(")
                        .concat(1 / e.yf, ")"),
                      "transform-origin": "0 0",
                    }),
                    (h = t.getScaledOptions(h, t.getScaleConfigs(), e)),
                    t.updateConfigs({ basicConfig: h }),
                    3 === t.status && t.update(),
                    null == t ||
                      null === (l = t._chartInstance) ||
                      void 0 === l ||
                      null === (u = l.resize) ||
                      void 0 === u ||
                      u.call(l),
                    null == t ||
                      null === (f = t.$emptyDataMask) ||
                      void 0 === f ||
                      f.css({
                        transform: "scaleX("
                          .concat(e.xf, ") scaleY(")
                          .concat(e.yf, ")"),
                      }),
                    t.execHooks("hookResolution", { scaleFactor: e }),
                    null === (d = t.$wrapper) ||
                      void 0 === d ||
                      d.css({
                        transform: "scaleX(1) scaleY(1)",
                        "transform-origin": "0 0",
                      });
                }
                null !== (o = t.children) &&
                  void 0 !== o &&
                  o.length &&
                  lr(t.children, e);
              }.bind(this)
            );
        }
        function ur(t, e) {
          var n = t.width,
            r = t.height,
            i = t.containerInfo,
            o = void 0 === i ? {} : i,
            a = t.components,
            s = t.watermark,
            c = void 0 === s ? {} : s,
            l = { xf: o.width / n, yf: o.height / r };
          if (!t.resolution)
            return (
              cr(e, n, r),
              e.css({ overflow: "hidden", transform: "scale(1)" }),
              void sr({
                $parent: e.parent(),
                width: n,
                height: r,
                watermarkConfig: c,
                scale: "scale(1)",
              })
            );
          switch (t.resolutionType) {
            case wt.ResolutionType.WidthZoom:
              e.css({
                transform: "scaleX("
                  .concat(l.xf, ") scaleY(")
                  .concat(l.xf, ")"),
                "transform-origin": "0 0",
              }),
                sr({
                  $parent: e.parent(),
                  width: n,
                  height: r,
                  watermarkConfig: c,
                  scale: "scaleX(".concat(l.xf, ") scaleY(").concat(l.xf, ")"),
                }),
                (l.yf = l.xf);
              break;
            case wt.ResolutionType.HeightZoom:
              e.css({
                transform: "scaleX("
                  .concat(l.yf, ") scaleY(")
                  .concat(l.yf, ")"),
                "transform-origin": "0 0",
              }),
                sr({
                  $parent: e.parent(),
                  width: n,
                  height: r,
                  watermarkConfig: c,
                  scale: "scaleX(".concat(l.yf, ") scaleY(").concat(l.yf, ")"),
                }),
                (l.xf = l.yf);
              break;
            case wt.ResolutionType.Proportional:
              e.css({
                transform: "scaleX("
                  .concat(l.xf, ") scaleY(")
                  .concat(l.yf, ")"),
                "transform-origin": "0 0",
              }),
                sr({
                  $parent: e.parent(),
                  width: n,
                  height: r,
                  watermarkConfig: c,
                  scale: "scaleX(".concat(l.xf, ") scaleY(").concat(l.yf, ")"),
                });
          }
          cr(e, n, r), e.css("overflow", "hidden"), lr(a, l);
        }
        var fr,
          dr,
          hr,
          pr,
          mr,
          vr = {
            cardId: { require: !0, errMsg: K.get("cardQuote.cardId") },
            origin: { require: !0, errMsg: K.get("cardQuote.origin") },
            container: { require: !0, errMsg: K.get("cardQuote.container") },
          };
        function gr(t) {
          var e = this,
            r = [];
          return (
            Object.keys(vr).forEach(
              function (n) {
                !(function (t, e) {
                  if (t !== e)
                    throw new TypeError("Cannot instantiate an arrow function");
                })(this, e),
                  t[n] || r.push(vr[n].errMsg);
              }.bind(this)
            ),
            r.length && n.g.sfLogger.error(r.join("")),
            !!r.length
          );
        }
        function yr(t) {
          return (
            (yr =
              "function" == typeof Symbol && "symbol" == typeof Symbol.iterator
                ? function (t) {
                    return typeof t;
                  }
                : function (t) {
                    return t &&
                      "function" == typeof Symbol &&
                      t.constructor === Symbol &&
                      t !== Symbol.prototype
                      ? "symbol"
                      : typeof t;
                  }),
            yr(t)
          );
        }
        function br(t, e) {
          if (t !== e)
            throw new TypeError("Cannot instantiate an arrow function");
        }
        function Vr(t, e) {
          var n = Object.keys(t);
          if (Object.getOwnPropertySymbols) {
            var r = Object.getOwnPropertySymbols(t);
            e &&
              (r = r.filter(function (e) {
                return Object.getOwnPropertyDescriptor(t, e).enumerable;
              })),
              n.push.apply(n, r);
          }
          return n;
        }
        function _r(t) {
          for (var e = 1; e < arguments.length; e++) {
            var n = null != arguments[e] ? arguments[e] : {};
            e % 2
              ? Vr(Object(n), !0).forEach(function (e) {
                  Or(t, e, n[e]);
                })
              : Object.getOwnPropertyDescriptors
              ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(n))
              : Vr(Object(n)).forEach(function (e) {
                  Object.defineProperty(
                    t,
                    e,
                    Object.getOwnPropertyDescriptor(n, e)
                  );
                });
          }
          return t;
        }
        function wr(t, e) {
          for (var n = 0; n < e.length; n++) {
            var r = e[n];
            (r.enumerable = r.enumerable || !1),
              (r.configurable = !0),
              "value" in r && (r.writable = !0),
              Object.defineProperty(t, Cr(r.key), r);
          }
        }
        function Sr(t, e, n) {
          return (
            (e = Ar(e)),
            (function (t, e) {
              if (e && ("object" == yr(e) || "function" == typeof e)) return e;
              if (void 0 !== e)
                throw new TypeError(
                  "Derived constructors may only return object or undefined"
                );
              return (function (t) {
                if (void 0 === t)
                  throw new ReferenceError(
                    "this hasn't been initialised - super() hasn't been called"
                  );
                return t;
              })(t);
            })(
              t,
              Er()
                ? Reflect.construct(e, n || [], Ar(t).constructor)
                : e.apply(t, n)
            )
          );
        }
        function Er() {
          try {
            var t = !Boolean.prototype.valueOf.call(
              Reflect.construct(Boolean, [], function () {})
            );
          } catch (t) {}
          return (Er = function () {
            return !!t;
          })();
        }
        function Ar(t) {
          return (
            (Ar = Object.setPrototypeOf
              ? Object.getPrototypeOf.bind()
              : function (t) {
                  return t.__proto__ || Object.getPrototypeOf(t);
                }),
            Ar(t)
          );
        }
        function Tr(t, e) {
          return (
            (Tr = Object.setPrototypeOf
              ? Object.setPrototypeOf.bind()
              : function (t, e) {
                  return (t.__proto__ = e), t;
                }),
            Tr(t, e)
          );
        }
        function Or(t, e, n) {
          return (
            (e = Cr(e)) in t
              ? Object.defineProperty(t, e, {
                  value: n,
                  enumerable: !0,
                  configurable: !0,
                  writable: !0,
                })
              : (t[e] = n),
            t
          );
        }
        function Cr(t) {
          var e = (function (t, e) {
            if ("object" != yr(t) || !t) return t;
            var n = t[Symbol.toPrimitive];
            if (void 0 !== n) {
              var r = n.call(t, e || "default");
              if ("object" != yr(r)) return r;
              throw new TypeError(
                "@@toPrimitive must return a primitive value."
              );
            }
            return ("string" === e ? String : Number)(t);
          })(t, "string");
          return "symbol" == yr(e) ? e : e + "";
        }
        function Pr(t, e, n, r, i) {
          var o = {};
          return (
            Object.keys(r).forEach(function (t) {
              o[t] = r[t];
            }),
            (o.enumerable = !!o.enumerable),
            (o.configurable = !!o.configurable),
            ("value" in o || o.initializer) && (o.writable = !0),
            (o = n
              .slice()
              .reverse()
              .reduce(function (n, r) {
                return r(t, e, n) || n;
              }, o)),
            i &&
              void 0 !== o.initializer &&
              ((o.value = o.initializer ? o.initializer.call(i) : void 0),
              (o.initializer = void 0)),
            void 0 === o.initializer
              ? (Object.defineProperty(t, e, o), null)
              : o
          );
        }
        var xr =
          ((fr = de.Ay.registHook("beforeRender")),
          (dr = de.Ay.registHook("afterRender", !1)),
          (hr = de.Ay.registHook("beforeDestroy")),
          (mr = (function (t) {
            function e(t) {
              var n;
              !(function (t, e) {
                if (!(t instanceof e))
                  throw new TypeError("Cannot call a class as a function");
              })(this, e),
                Or((n = Sr(this, e)), "id", void 0),
                Or(n, "cardId", void 0),
                Or(n, "origin", void 0),
                Or(n, "container", void 0),
                Or(n, "isWrapped", void 0),
                Or(n, "isInternalAuthentication", void 0),
                Or(n, "$cardWrap", void 0),
                Or(n, "$errElement", void 0),
                Or(n, "cardCfg", void 0),
                Or(n, "scsInstance", void 0),
                Or(n, "cache", void 0),
                Or(n, "resolution", void 0),
                Or(n, "realTimeAlarmEnable", void 0),
                Or(n, "pageInitAlarmShowEnable", void 0),
                Or(n, "loadRelatedFileEnable", void 0),
                Or(n, "contextId", void 0),
                Or(n, "useBgTransparent", void 0),
                Or(n, "authKey", void 0);
              var r = t.cardId,
                i = t.container,
                o = t.instanceId,
                a = t.engineOption,
                s = t.cardCfg;
              return (
                (n.cardId = r),
                (n.id = o),
                (n.origin = a.origin),
                (n.container = i),
                (n.cardCfg = s),
                (n.resolution = a.resolution),
                (n.realTimeAlarmEnable = a.realTimeAlarmEnable),
                (n.pageInitAlarmShowEnable = a.pageInitAlarmShowEnable),
                (n.loadRelatedFileEnable = a.loadRelatedFileEnable),
                (n.isInternalAuthentication = a.isInternalAuthentication),
                (n.isWrapped = a.isWrapped),
                (n.authKey = a.authKey),
                (n.cache = _r(_r({}, Xn.cache), a.cache)),
                (n.contextId = a.contextId),
                (n.useBgTransparent = a.useBgTransparent),
                n
              );
            }
            return (
              (function (t, e) {
                if ("function" != typeof e && null !== e)
                  throw new TypeError(
                    "Super expression must either be null or a function"
                  );
                (t.prototype = Object.create(e && e.prototype, {
                  constructor: { value: t, writable: !0, configurable: !0 },
                })),
                  Object.defineProperty(t, "prototype", { writable: !1 }),
                  e && Tr(t, e);
              })(e, t),
              (function (t, e, n) {
                return (
                  e && wr(t.prototype, e),
                  n && wr(t, n),
                  Object.defineProperty(t, "prototype", { writable: !1 }),
                  t
                );
              })(
                e,
                [
                  {
                    key: "init",
                    value: async function () {
                      var t;
                      gr(this) ||
                        ((this.cardCfg =
                          null !== (t = this.cardCfg) && void 0 !== t
                            ? t
                            : pe.A.cloneDeep(await Sn(this))),
                        this.cardCfg.loadStatus !== he.loadStatus.FAIL
                          ? (await this.initSystemConstants(),
                            (this.cardCfg.origin = this.origin),
                            dn(this, this.cardCfg),
                            qn(this.cardCfg, this.contextId),
                            fn(this.cardCfg, this.useBgTransparent),
                            (this.$cardWrap =
                              await this.generateCardRenderEnvironment(
                                this.cardCfg.id
                              )),
                            (this.cardCfg.$element = this.$cardWrap),
                            Gn(this),
                            e.cardInstanceMap.set(this.id, this),
                            await rr(this),
                            await this.render(this.cardCfg, this.$cardWrap),
                            this.registEvent())
                          : (this.$errElement = (function (t, e) {
                              var n = Q()(
                                '<div style="width: 100%; height: 100%; display:flex; justify-content:center; align-items: center; color: #fff; filter: drop-shadow(0px 0px 1px rgb(0, 0, 0)); position: absolute; top: 0; left: 0; z-index: 1;">'.concat(
                                  e,
                                  "</div>"
                                )
                              );
                              return t.append(n), n;
                            })(Q()(this.container), this.cardCfg.loadMessage)));
                    },
                  },
                  {
                    key: "initSystemConstants",
                    value: async function () {
                      return Promise.resolve();
                    },
                  },
                  {
                    key: "getCardCfg",
                    value: async function () {
                      return _r(
                        _r({}, this.cardCfg),
                        {},
                        { name: await ir(this.cardId) }
                      );
                    },
                  },
                  {
                    key: "execChildHooks",
                    value: async function (t) {
                      var e = pe.A.get(this.cardCfg, "config.components", []);
                      await Te(e, t);
                    },
                  },
                  {
                    key: "generateCardRenderEnvironment",
                    value: async function (t) {
                      if (this.isWrapped)
                        return Promise.resolve(Q()(this.container));
                      var e = Q()(
                        '<div style="width: 100%;height: 100%" id="'.concat(
                          t,
                          '" class="uxCard"></div>'
                        )
                      );
                      return (
                        this.container.prepend(e[0]),
                        await (0, f.e)("".concat(this.origin).concat(p.M0)),
                        e
                      );
                    },
                  },
                  {
                    key: "getEventList",
                    value: function () {
                      return ke(this.cardCfg.config, this.id);
                    },
                  },
                  {
                    key: "getServiceEventConfig",
                    value: function () {
                      return Be(this.cardCfg);
                    },
                  },
                  {
                    key: "getEventParams",
                    value: function (t) {
                      var e = this.getEventList();
                      return Ye(e, t);
                    },
                  },
                  {
                    key: "getFlattenDirectives",
                    value: function () {
                      return nn(this.id, this.cardCfg);
                    },
                  },
                  {
                    key: "getDirectives",
                    value: function () {
                      return on(this.id, this.cardCfg);
                    },
                  },
                  {
                    key: "getDirectiveParams",
                    value: function (t) {
                      var e = this.getFlattenDirectives();
                      return un(e, t);
                    },
                  },
                  {
                    key: "dispatchEvent",
                    value: function (t) {
                      var e = t.param,
                        n = t.action,
                        r = t.originEvent,
                        i = this.cardCfg.config.cardParams,
                        o = function (t) {
                          var n = this;
                          i.find(
                            function (e) {
                              return br(this, n), e.name.split(".")[1] === t;
                            }.bind(this)
                          ) || (e[t] = "");
                        };
                      for (var a in e) o(a);
                      Xt.post(
                        {
                          __sf_action_type__: m.X2.CardService,
                          sourceCardId: this.id,
                          contextId: this.contextId,
                          actions: {
                            actionId: n.actionId,
                            action: n,
                            params: e,
                            originEvent: ce(r),
                          },
                        },
                        "*"
                      );
                    },
                  },
                  {
                    key: "registEvent",
                    value: function () {
                      var t = this;
                      Xt.on(
                        function (e) {
                          br(this, t);
                          var n = e.data,
                            r = n.__sf_action_type__,
                            i = n.directives;
                          "cardDirective" === r && this.dispatchAction(i);
                        }.bind(this),
                        this.id
                      ),
                        Hn(this);
                    },
                  },
                  {
                    key: "dispatchAction",
                    value: function (t) {
                      Je(this, t);
                    },
                  },
                  { key: "render", value: function () {} },
                  {
                    key: "resize",
                    value: function () {
                      "number" == typeof this.resolution &&
                        (Gn(this), ur(this.cardCfg.config, this.$cardWrap));
                    },
                  },
                  {
                    key: "destroy",
                    value: function () {
                      var t, n;
                      (this.scsInstance &&
                        this.scsInstance.removeRouter(this.cardCfg.cardId),
                      Xt.off(this.id),
                      Yt.A.removeQueryByPreffix(
                        this.contextId
                          ? "".concat(this.contextId, "-").concat(this.id)
                          : this.id
                      ),
                      this.cardCfg &&
                        this.cardCfg.config &&
                        Ae(this.cardCfg.config.components || []),
                      e.clearCardInstanceByCardid(this.id),
                      this.cardCfg.$element && (this.cardCfg.$element = null),
                      (this.container = null),
                      (this.$cardWrap = null),
                      this.$errElement) &&
                        (null === (t = this.$errElement) ||
                          void 0 === t ||
                          null === (n = t.remove) ||
                          void 0 === n ||
                          n.call(t),
                        (this.$errElement = null));
                    },
                  },
                ],
                [
                  {
                    key: "getCardInstanceById",
                    value: function (t) {
                      return e.cardInstanceMap.get(t);
                    },
                  },
                  {
                    key: "clearCardInstanceByCardid",
                    value: function (t) {
                      return e.cardInstanceMap.set(t, null);
                    },
                  },
                ]
              )
            );
          })(Ee)),
          Or(mr, "cardInstanceMap", new Map()),
          Pr(
            (pr = mr).prototype,
            "render",
            [fr, dr],
            Object.getOwnPropertyDescriptor(pr.prototype, "render"),
            pr.prototype
          ),
          Pr(
            pr.prototype,
            "destroy",
            [hr],
            Object.getOwnPropertyDescriptor(pr.prototype, "destroy"),
            pr.prototype
          ),
          pr);
        function kr(t) {
          return (
            !!t.parentInstance &&
            (t.parentInstance.card
              ? t.parentInstance.card
              : kr(t.parentInstance))
          );
        }
        function Ir(t, e) {
          t.action.targetId = e.contextId || e.id;
          var n = xr.getCardInstanceById(e.contextId || e.id);
          if (null != e && e.parentInstance) {
            var r = kr(e);
            r && ((n = r), (t.action.sourceCardId = n.cardId || n.id));
          }
          n && n.dispatchEvent(t);
        }
        var jr = { onClick: "click", onDbClick: "dblclick" };
        function Rr(t, e) {
          var n = this,
            r = (t.param, t.action),
            i = r.targetId,
            o = r.remoteEventType;
          i.forEach(
            function (t) {
              !(function (t, e) {
                if (t !== e)
                  throw new TypeError("Cannot instantiate an arrow function");
              })(this, n),
                (0, S.Y9)(t).dispatchDomEvent(jr[o]);
            }.bind(this)
          );
        }
        n(30499);
        var Dr = n(27107),
          Lr = n(81406),
          Mr = n(12487);
        function Nr(t) {
          return (
            (Nr =
              "function" == typeof Symbol && "symbol" == typeof Symbol.iterator
                ? function (t) {
                    return typeof t;
                  }
                : function (t) {
                    return t &&
                      "function" == typeof Symbol &&
                      t.constructor === Symbol &&
                      t !== Symbol.prototype
                      ? "symbol"
                      : typeof t;
                  }),
            Nr(t)
          );
        }
        function $r(t, e) {
          if (t !== e)
            throw new TypeError("Cannot instantiate an arrow function");
        }
        function Br(t, e) {
          var n = Object.keys(t);
          if (Object.getOwnPropertySymbols) {
            var r = Object.getOwnPropertySymbols(t);
            e &&
              (r = r.filter(function (e) {
                return Object.getOwnPropertyDescriptor(t, e).enumerable;
              })),
              n.push.apply(n, r);
          }
          return n;
        }
        function Ur(t) {
          for (var e = 1; e < arguments.length; e++) {
            var n = null != arguments[e] ? arguments[e] : {};
            e % 2
              ? Br(Object(n), !0).forEach(function (e) {
                  Fr(t, e, n[e]);
                })
              : Object.getOwnPropertyDescriptors
              ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(n))
              : Br(Object(n)).forEach(function (e) {
                  Object.defineProperty(
                    t,
                    e,
                    Object.getOwnPropertyDescriptor(n, e)
                  );
                });
          }
          return t;
        }
        function Fr(t, e, n) {
          return (
            (e = (function (t) {
              var e = (function (t, e) {
                if ("object" != Nr(t) || !t) return t;
                var n = t[Symbol.toPrimitive];
                if (void 0 !== n) {
                  var r = n.call(t, e || "default");
                  if ("object" != Nr(r)) return r;
                  throw new TypeError(
                    "@@toPrimitive must return a primitive value."
                  );
                }
                return ("string" === e ? String : Number)(t);
              })(t, "string");
              return "symbol" == Nr(e) ? e : e + "";
            })(e)) in t
              ? Object.defineProperty(t, e, {
                  value: n,
                  enumerable: !0,
                  configurable: !0,
                  writable: !0,
                })
              : (t[e] = n),
            t
          );
        }
        var Hr = { updateModelData: At.sV };
        function Gr(t, e) {
          var n,
            r,
            i = t.param,
            o = t.action,
            a = t.source,
            s = o.linkActionType,
            c = s.split("_")[0],
            l = null !== (n = Hr[c]) && void 0 !== n ? n : 0;
          (0, Tt.Ay)(
            { id: e.id, contextId: a.contextId },
            {
              id: s,
              handler: function (e) {
                var n = e[s.split("_")[0]];
                "function" == typeof n && n.call(this, i, t);
              },
            },
            null !== (r = e.status) && void 0 !== r ? r : l
          );
        }
        var Wr = n(64188);
        var zr = n(39021),
          qr = n(60008),
          Xr = n(73581);
        K.register("eventManager", {
          zh: {
            receive: "接受",
            refuse: "拒绝",
            dialogMessage: "您收到用户“${userName}”的远程控制指令，是否接受？",
            logMessage: "${res}了远程控制",
            remoteLog: "远程控制日志",
            noReminders: "本次会话不再提醒",
            remoteReminder: "远程控制提醒",
            timeTip: "秒后将自动接受控制",
          },
          en: {
            receive: "Receive",
            refuse: "Refuse",
            dialogMessage:
              "You have received remote control instruction from user “${userName}. Are you sure to receive instruction?”",
            logMessage: "${res} remote control",
            remoteLog: "Remote control log",
            noReminders: "No more reminder of this session",
            remoteReminder: "Remote control reminder",
            timeTip: "Receive control automatically after   second(s)",
          },
        });
        var Yr = n(97864);
        function Kr(t, e) {
          if (t !== e)
            throw new TypeError("Cannot instantiate an arrow function");
        }
        function Zr(t, e) {
          return (
            (function (t) {
              if (Array.isArray(t)) return t;
            })(t) ||
            (function (t, e) {
              var n =
                null == t
                  ? null
                  : ("undefined" != typeof Symbol && t[Symbol.iterator]) ||
                    t["@@iterator"];
              if (null != n) {
                var r,
                  i,
                  o,
                  a,
                  s = [],
                  c = !0,
                  l = !1;
                try {
                  if (((o = (n = n.call(t)).next), 0 === e)) {
                    if (Object(n) !== n) return;
                    c = !1;
                  } else
                    for (
                      ;
                      !(c = (r = o.call(n)).done) &&
                      (s.push(r.value), s.length !== e);
                      c = !0
                    );
                } catch (t) {
                  (l = !0), (i = t);
                } finally {
                  try {
                    if (
                      !c &&
                      null != n.return &&
                      ((a = n.return()), Object(a) !== a)
                    )
                      return;
                  } finally {
                    if (l) throw i;
                  }
                }
                return s;
              }
            })(t, e) ||
            (function (t, e) {
              if (t) {
                if ("string" == typeof t) return Jr(t, e);
                var n = {}.toString.call(t).slice(8, -1);
                return (
                  "Object" === n && t.constructor && (n = t.constructor.name),
                  "Map" === n || "Set" === n
                    ? Array.from(t)
                    : "Arguments" === n ||
                      /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)
                    ? Jr(t, e)
                    : void 0
                );
              }
            })(t, e) ||
            (function () {
              throw new TypeError(
                "Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."
              );
            })()
          );
        }
        function Jr(t, e) {
          (null == e || e > t.length) && (e = t.length);
          for (var n = 0, r = Array(e); n < e; n++) r[n] = t[n];
          return r;
        }
        function Qr(t) {
          var e = this,
            n = t.text,
            r = t.onOk,
            i = Zr((0, X.useState)(10), 2),
            o = i[0],
            a = i[1],
            s = (0, X.useRef)(10);
          return (
            (0, X.useEffect)(
              function () {
                var t,
                  n = this;
                return (
                  Kr(this, e),
                  (0, fe.g0)(
                    function (e) {
                      var i = this;
                      Kr(this, n),
                        (t = e),
                        a(
                          function (t) {
                            return Kr(this, i), t - 1;
                          }.bind(this)
                        ),
                        (s.current -= 1),
                        0 === s.current && (r(), clearTimeout(e));
                    }.bind(this),
                    1e3
                  ),
                  function () {
                    Kr(this, n), clearTimeout(t);
                  }.bind(this)
                );
              }.bind(this),
              []
            ),
            X.createElement(
              "div",
              { style: { textAlign: "center" } },
              X.createElement("div", null, n),
              X.createElement(
                "div",
                null,
                X.createElement(
                  "span",
                  { style: { color: "#FAFAFA", fontWeight: "bolder" } },
                  o
                ),
                K.get("eventManager.timeTip")
              )
            )
          );
        }
        var ti = n(940),
          ei = n(65885),
          ni = n(46942),
          ri = n.n(ni);
        const ii = "notification-module__checkbox--z3ThI4",
          oi = "notification-module__listContent--ASM8Ah",
          ai = "notification-module__notification--vQBJum",
          si = "notification-module__item--qJxPEB",
          ci = "notification-module__firstItem--kuFLQ7";
        function li(t) {
          return (
            (li =
              "function" == typeof Symbol && "symbol" == typeof Symbol.iterator
                ? function (t) {
                    return typeof t;
                  }
                : function (t) {
                    return t &&
                      "function" == typeof Symbol &&
                      t.constructor === Symbol &&
                      t !== Symbol.prototype
                      ? "symbol"
                      : typeof t;
                  }),
            li(t)
          );
        }
        function ui(t, e, n) {
          return (
            (e = (function (t) {
              var e = (function (t, e) {
                if ("object" != li(t) || !t) return t;
                var n = t[Symbol.toPrimitive];
                if (void 0 !== n) {
                  var r = n.call(t, e || "default");
                  if ("object" != li(r)) return r;
                  throw new TypeError(
                    "@@toPrimitive must return a primitive value."
                  );
                }
                return ("string" === e ? String : Number)(t);
              })(t, "string");
              return "symbol" == li(e) ? e : e + "";
            })(e)) in t
              ? Object.defineProperty(t, e, {
                  value: n,
                  enumerable: !0,
                  configurable: !0,
                  writable: !0,
                })
              : (t[e] = n),
            t
          );
        }
        function fi(t, e) {
          if (t !== e)
            throw new TypeError("Cannot instantiate an arrow function");
        }
        function di(t) {
          var e = this,
            n = t.list,
            r = t.onCheck,
            i = function (t) {
              fi(this, e), r(t.target.checked);
            }.bind(this);
          return X.createElement(
            "div",
            null,
            X.createElement(
              "div",
              { className: oi },
              n.slice(0, 50).map(
                function (t, n) {
                  return (
                    fi(this, e),
                    X.createElement(
                      "div",
                      {
                        key: n + t.userName,
                        className: ri()(ui(ui({}, si, !0), ci, 0 === n)),
                      },
                      X.createElement(
                        "div",
                        null,
                        X.createElement("span", null, t.userName),
                        t.result
                      ),
                      X.createElement(
                        "span",
                        null,
                        M()(t.time).format("YYYY-MM-DD HH:mm:ss")
                      )
                    )
                  );
                }.bind(this)
              )
            ),
            X.createElement(
              "div",
              { className: ii },
              X.createElement(
                ti.A,
                { onChange: i },
                K.get("eventManager.noReminders")
              )
            )
          );
        }
        function hi(t) {
          return (
            (hi =
              "function" == typeof Symbol && "symbol" == typeof Symbol.iterator
                ? function (t) {
                    return typeof t;
                  }
                : function (t) {
                    return t &&
                      "function" == typeof Symbol &&
                      t.constructor === Symbol &&
                      t !== Symbol.prototype
                      ? "symbol"
                      : typeof t;
                  }),
            hi(t)
          );
        }
        function pi(t, e) {
          var n = Object.keys(t);
          if (Object.getOwnPropertySymbols) {
            var r = Object.getOwnPropertySymbols(t);
            e &&
              (r = r.filter(function (e) {
                return Object.getOwnPropertyDescriptor(t, e).enumerable;
              })),
              n.push.apply(n, r);
          }
          return n;
        }
        function mi(t) {
          for (var e = 1; e < arguments.length; e++) {
            var n = null != arguments[e] ? arguments[e] : {};
            e % 2
              ? pi(Object(n), !0).forEach(function (e) {
                  _i(t, e, n[e]);
                })
              : Object.getOwnPropertyDescriptors
              ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(n))
              : pi(Object(n)).forEach(function (e) {
                  Object.defineProperty(
                    t,
                    e,
                    Object.getOwnPropertyDescriptor(n, e)
                  );
                });
          }
          return t;
        }
        function vi(t) {
          return (
            (function (t) {
              if (Array.isArray(t)) return yi(t);
            })(t) ||
            (function (t) {
              if (
                ("undefined" != typeof Symbol && null != t[Symbol.iterator]) ||
                null != t["@@iterator"]
              )
                return Array.from(t);
            })(t) ||
            gi(t) ||
            (function () {
              throw new TypeError(
                "Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."
              );
            })()
          );
        }
        function gi(t, e) {
          if (t) {
            if ("string" == typeof t) return yi(t, e);
            var n = {}.toString.call(t).slice(8, -1);
            return (
              "Object" === n && t.constructor && (n = t.constructor.name),
              "Map" === n || "Set" === n
                ? Array.from(t)
                : "Arguments" === n ||
                  /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)
                ? yi(t, e)
                : void 0
            );
          }
        }
        function yi(t, e) {
          (null == e || e > t.length) && (e = t.length);
          for (var n = 0, r = Array(e); n < e; n++) r[n] = t[n];
          return r;
        }
        function bi(t, e) {
          if (t !== e)
            throw new TypeError("Cannot instantiate an arrow function");
        }
        function Vi(t, e) {
          for (var n = 0; n < e.length; n++) {
            var r = e[n];
            (r.enumerable = r.enumerable || !1),
              (r.configurable = !0),
              "value" in r && (r.writable = !0),
              Object.defineProperty(t, wi(r.key), r);
          }
        }
        function _i(t, e, n) {
          return (
            (e = wi(e)) in t
              ? Object.defineProperty(t, e, {
                  value: n,
                  enumerable: !0,
                  configurable: !0,
                  writable: !0,
                })
              : (t[e] = n),
            t
          );
        }
        function wi(t) {
          var e = (function (t, e) {
            if ("object" != hi(t) || !t) return t;
            var n = t[Symbol.toPrimitive];
            if (void 0 !== n) {
              var r = n.call(t, e || "default");
              if ("object" != hi(r)) return r;
              throw new TypeError(
                "@@toPrimitive must return a primitive value."
              );
            }
            return ("string" === e ? String : Number)(t);
          })(t, "string");
          return "symbol" == hi(e) ? e : e + "";
        }
        var Si = _i(
            _i(
              {},
              Ie.g6.release,
              _i(
                _i({}, Ie.Go.event, "runner/messagecontrol/receiveMessages"),
                Ie.Go.message,
                "runner/messagecontrol/receiptMessages"
              )
            ),
            Ie.g6.preview,
            _i(
              _i({}, Ie.Go.event, "designer/messagecontrol/receiveMessages"),
              Ie.Go.message,
              "designer/messagecontrol/receiptMessages"
            )
          ),
          Ei = (function () {
            return (function (t, e, n) {
              return (
                e && Vi(t.prototype, e),
                n && Vi(t, n),
                Object.defineProperty(t, "prototype", { writable: !1 }),
                t
              );
            })(
              function t() {
                var e, n;
                !(function (t, e) {
                  if (!(t instanceof e))
                    throw new TypeError("Cannot call a class as a function");
                })(this, t),
                  _i(this, "remoteTunnel", null),
                  _i(this, "remoteTarget", []),
                  _i(this, "modalRef", X.createRef()),
                  _i(this, "log", []),
                  _i(this, "isShowLog", !1),
                  _i(this, "fn", null),
                  _i(
                    this,
                    "currentUserName",
                    null !==
                      (e =
                        null === (n = window.SF) ||
                        void 0 === n ||
                        null === (n = n.data) ||
                        void 0 === n ||
                        null === (n = n.user) ||
                        void 0 === n
                          ? void 0
                          : n.userName) && void 0 !== e
                      ? e
                      : ""
                  ),
                  _i(
                    this,
                    "_mode",
                    (0, g.fx)() ? Ie.g6.release : Ie.g6.preview
                  ),
                  _i(this, "_uuid", ""),
                  _i(this, "_isCreateRouter", !1),
                  _i(this, "_tempEventList", []),
                  _i(this, "isControlled", !1),
                  _i(this, "dispatchLocal", void 0),
                  _i(this, "routerList", []);
              },
              [
                {
                  key: "init",
                  value: function (t) {
                    (this.remoteTarget = this.getRemoteTarget()),
                      (this.dispatchLocal = t),
                      (this._isCreateRouter = !1),
                      this.remoteTarget.length > 0 &&
                        (this.setupRemoteTunnel(this.remoteTarget),
                        (this.fn = this.destroy.bind(this)),
                        window.addEventListener("beforeunload", this.fn));
                  },
                },
                {
                  key: "getRemoteTarget",
                  value: function () {
                    var t = this,
                      e = (0, at.rX)();
                    if (
                      (this.removeRouter(this.getControlledPageRouter()),
                      e.length > 0)
                    ) {
                      var n = (0, S.Vs)(),
                        r = (0, at.ph)();
                      this.isControlled = e.some(
                        function (e) {
                          return (
                            bi(this, t),
                            e.controlProjectId === r.id &&
                              e.controlPageId === n.id
                          );
                        }.bind(this)
                      );
                      var i = pe.A.difference(
                        e
                          .filter(
                            function (e) {
                              return (
                                bi(this, t),
                                e.controlType === Ie.mD.event
                                  ? e.controledProjectId === r.id &&
                                    e.controledPageId === n.id
                                  : e.controledProjectId === r.id &&
                                    e.controlPageId !== n.id
                              );
                            }.bind(this)
                          )
                          .map(
                            function (e) {
                              return bi(this, t), this.getRoute(e);
                            }.bind(this)
                          )
                      );
                      return this.isControlled
                        ? ((this._uuid = (0, $t.A)()),
                          [].concat(vi(i), [this.getControlledRouter()]))
                        : i;
                    }
                    return [];
                  },
                },
                {
                  key: "getRoute",
                  value: function (t) {
                    var e = t.controlPageId,
                      n = t.controlProjectId,
                      r = t.controlType,
                      i = t.controledProjectId,
                      o = t.controledPageId,
                      a = void 0 === o ? "" : o;
                    return ""
                      .concat(this._mode, "-")
                      .concat(e, "-")
                      .concat(n, "-")
                      .concat(r, "-")
                      .concat(i, "-")
                      .concat(a || "")
                      .toString();
                  },
                },
                {
                  key: "setupRemoteTunnel",
                  value: async function (t) {
                    var e = this;
                    if (!this.remoteTunnel) {
                      var n = await (0, Dn.A)({
                        host: ""
                          .concat(window.location.host)
                          .concat(p.Ay.MESSAGE_CENTER_SERVER),
                      });
                      this.remoteTunnel = n;
                    }
                    var r,
                      i = [],
                      o = (function (t, e) {
                        var n =
                          ("undefined" != typeof Symbol &&
                            t[Symbol.iterator]) ||
                          t["@@iterator"];
                        if (!n) {
                          if (
                            Array.isArray(t) ||
                            (n = gi(t)) ||
                            (e && t && "number" == typeof t.length)
                          ) {
                            n && (t = n);
                            var r = 0,
                              i = function () {};
                            return {
                              s: i,
                              n: function () {
                                return r >= t.length
                                  ? { done: !0 }
                                  : { done: !1, value: t[r++] };
                              },
                              e: function (t) {
                                throw t;
                              },
                              f: i,
                            };
                          }
                          throw new TypeError(
                            "Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."
                          );
                        }
                        var o,
                          a = !0,
                          s = !1;
                        return {
                          s: function () {
                            n = n.call(t);
                          },
                          n: function () {
                            var t = n.next();
                            return (a = t.done), t;
                          },
                          e: function (t) {
                            (s = !0), (o = t);
                          },
                          f: function () {
                            try {
                              a || null == n.return || n.return();
                            } finally {
                              if (s) throw o;
                            }
                          },
                        };
                      })(t);
                    try {
                      for (o.s(); !(r = o.n()).done; ) {
                        var a = r.value;
                        this.routerList.includes(a) ||
                          (this.routerList.push(a),
                          i.push({
                            sendRouterUrl: ""
                              .concat(p.Ay.UX_API, "/")
                              .concat(Ie.H3, "/messagecontrol/createBinding"),
                            routerId: a,
                            headers: {
                              "x-request-route": encodeURI("ux/uxeditor"),
                            },
                            isFixed: !0,
                            topic: "ue-remoteControl",
                            post: {
                              router: a,
                              wsId: this.remoteTunnel.sessionId,
                            },
                            handler: function (t) {
                              bi(this, e);
                              var n = JSON.parse(t.content),
                                r = n.type;
                              if (r === Ie.Go.event) {
                                var i = n.userIds,
                                  o = n.deptIds;
                                if (!(0, fe.Fl)(i, o)) return;
                                var a = n.originEvent,
                                  s = n.param,
                                  c = n.action,
                                  l = n.eventConfig,
                                  u = n.userName;
                                this.receiveRemote(a, s, c, l, u);
                              }
                              r === Ie.Go.message && this.receiveMessage(n);
                            }.bind(this),
                          }));
                      }
                    } catch (t) {
                      o.e(t);
                    } finally {
                      o.f();
                    }
                    this.remoteTunnel.createRouter(i),
                      setTimeout(
                        function () {
                          var t = this;
                          bi(this, e),
                            (this._isCreateRouter = !0),
                            this._tempEventList.forEach(
                              function (e) {
                                bi(this, t), e.handler();
                              }.bind(this)
                            ),
                            (this._tempEventList = []);
                        }.bind(this),
                        500
                      );
                  },
                },
                {
                  key: "getControlledPageRouter",
                  value: function () {
                    var t = this,
                      e = (0, at.rX)(),
                      n = (0, S.Vs)(),
                      r = (0, at.ph)();
                    return e
                      .filter(
                        function (e) {
                          return (
                            bi(this, t),
                            e.controlType === Ie.mD.page &&
                              e.controlProjectId === r.id &&
                              e.controlPageId === n.id
                          );
                        }.bind(this)
                      )
                      .map(
                        function (e) {
                          return bi(this, t), this.getRoute(e);
                        }.bind(this)
                      );
                  },
                },
                {
                  key: "dispatchRemote",
                  value: async function (t, e, n, r) {
                    var i = n,
                      o = i.remoteType,
                      a = i.targetProjectId,
                      s = i.targetPageId,
                      c = o === m.RX.PAGE;
                    if (!c && !(await (0, fe.kK)(s))) return;
                    var l = this.getRoute({
                        controlPageId: (0, S.Vs)().id,
                        controlProjectId: (0, at.ph)().id,
                        controlType: c ? Ie.mD.page : Ie.mD.event,
                        controledProjectId: a,
                        controledPageId: (0, fe.$e)(o, s) || "",
                      }),
                      u = this.getControlledRouter(),
                      f = {
                        message: {
                          originEvent: { x: 1 },
                          param: e,
                          action: mi(mi({}, n), {}, { controlRouterId: u }),
                          eventConfig: r,
                          userName: this.currentUserName,
                          type: Ie.Go.event,
                          userIds: (0, fe.r1)(e.userName),
                          deptIds: (0, fe.r1)(e.deptName),
                        },
                        projectId: a,
                        router: l,
                        userIds: (0, fe.r1)(e.userName),
                        deptIds: (0, fe.r1)(e.deptName),
                      };
                    (0, Xr.b)() && (f = qr.A.encrypt(JSON.stringify(f), qr.M)),
                      this._isCreateRouter
                        ? (0, Yr.YB)(Si[this._mode][Ie.Go.event], f)
                        : this._tempEventList.push({
                            handler: Yr.YB.bind(
                              this,
                              Si[this._mode][Ie.Go.event],
                              f
                            ),
                          });
                  },
                },
                {
                  key: "receiveMessage",
                  value: function (t) {
                    var e,
                      n,
                      r,
                      i = this,
                      o = t.info,
                      a = t.userName,
                      s = t.controlRouterId;
                    (this.log.unshift({
                      userName: a,
                      time: new Date(),
                      result: o,
                    }),
                    this.log.sort(
                      function (t, e) {
                        return bi(this, i), t.time > e.time ? -1 : 1;
                      }.bind(this)
                    ),
                    this.isShowLog) ||
                      ((e = this.log.slice(0, 50)),
                      (n = s),
                      (r = function (t) {
                        bi(this, i), (this.isShowLog = t);
                      }.bind(this)),
                      ei.A.open({
                        key: n,
                        message: K.get("eventManager.remoteLog"),
                        duration: 5e3,
                        className: "".concat(ai, " uxStyle"),
                        placement: "bottomRight",
                        description: X.createElement(di, {
                          list: e,
                          onCheck: r,
                        }),
                      }));
                  },
                },
                {
                  key: "receiveRemote",
                  value: function (t, e, n, r, i) {
                    var o,
                      a,
                      s = this,
                      c = {},
                      l = n.controlRouterId,
                      u = e.userConfirm,
                      f = function () {
                        bi(this, s);
                        var i = (0, fe.As)(n);
                        this.dispatchLocal(c, t, e, i, r);
                      }.bind(this),
                      d = function (t) {
                        bi(this, s);
                        var e = {
                          message: JSON.stringify(
                            mi(
                              mi({}, t),
                              {},
                              {
                                controlRouterId: l,
                                userName: this.currentUserName,
                              }
                            )
                          ),
                          router: l,
                        };
                        (0, Xr.b)() &&
                          (e = qr.A.encrypt(JSON.stringify(e), qr.M)),
                          (0, Yr.YB)(Si[this._mode][Ie.Go.message], e);
                      }.bind(this),
                      h = function () {
                        bi(this, s),
                          f(),
                          d({
                            receive: !0,
                            info: K.get("eventManager.logMessage").replace(
                              "${res}",
                              K.get("eventManager.receive")
                            ),
                            type: Ie.Go.message,
                          }),
                          sessionStorage.setItem(
                            (0, fe.F6)(),
                            JSON.stringify({ isNeedReceive: !1 })
                          );
                      }.bind(this),
                      p =
                        null ===
                          (o =
                            null ===
                              (a = JSON.parse(
                                sessionStorage.getItem((0, fe.F6)())
                              )) || void 0 === a
                              ? void 0
                              : a.isNeedReceive) ||
                        void 0 === o ||
                        o;
                    if (u && p) {
                      var m = K.get("eventManager.dialogMessage").replace(
                        "${userName}",
                        i
                      );
                      (0, zr.confirmModal)(
                        {
                          content: X.createElement(Qr, {
                            text: m,
                            onOk: function () {
                              var t;
                              bi(this, s),
                                h(),
                                null === (t = this.modalRef) ||
                                  void 0 === t ||
                                  null === (t = t.current) ||
                                  void 0 === t ||
                                  t.closeModal();
                            }.bind(this),
                          }),
                          title: K.get("eventManager.remoteReminder"),
                          okText: K.get("eventManager.receive"),
                          cancelText: K.get("eventManager.refuse"),
                          maskClosable: !1,
                          onOk: h,
                          onCancel: function () {
                            bi(this, s),
                              d({
                                receive: !1,
                                info: K.get("eventManager.logMessage").replace(
                                  "${res}",
                                  K.get("eventManager.refuse")
                                ),
                                type: Ie.Go.message,
                              });
                          }.bind(this),
                        },
                        this.modalRef
                      );
                    } else h();
                  },
                },
                {
                  key: "getControlledRouter",
                  value: function () {
                    return "".concat(this._mode + this._uuid).toString();
                  },
                },
                {
                  key: "removeRouter",
                  value: function (t) {
                    var e = this;
                    (this.routerList = this.routerList.filter(
                      function (n) {
                        return bi(this, e), !t.includes(n);
                      }.bind(this)
                    )),
                      this.remoteTunnel &&
                        (this.remoteTunnel.offSubscribe(t),
                        t.forEach(
                          function (t) {
                            bi(this, e),
                              (0, Yr.$f)({
                                router: t,
                                wsId: this.remoteTunnel.getSessionId(),
                              });
                          }.bind(this)
                        ));
                  },
                },
                {
                  key: "destroyConnect",
                  value: function () {
                    var t = this,
                      e = [];
                    if (this.isControlled) {
                      var n = this.getControlledRouter();
                      e.push(n);
                    }
                    var r = (0, S.Vs)(),
                      i = (0, at.ph)(),
                      o = (0, at.rX)()
                        .filter(
                          function (e) {
                            return (
                              bi(this, t),
                              e.controlType === Ie.mD.event &&
                                e.controledProjectId === i.id &&
                                e.controledPageId === r.id
                            );
                          }.bind(this)
                        )
                        .map(
                          function (e) {
                            return bi(this, t), this.getRoute(e);
                          }.bind(this)
                        );
                    this.removeRouter([].concat(vi(o), e));
                  },
                },
                {
                  key: "destroy",
                  value: function () {
                    window.removeEventListener("beforeunload", this.fn),
                      this.removeRouter(this.routerList),
                      (this.routerList = []);
                  },
                },
              ]
            );
          })();
        const Ai = new Ei();
        var Ti = n(52741),
          Oi = n(95108);
        function Ci(t, e) {
          return (
            (function (t) {
              if (Array.isArray(t)) return t;
            })(t) ||
            (function (t, e) {
              var n =
                null == t
                  ? null
                  : ("undefined" != typeof Symbol && t[Symbol.iterator]) ||
                    t["@@iterator"];
              if (null != n) {
                var r,
                  i,
                  o,
                  a,
                  s = [],
                  c = !0,
                  l = !1;
                try {
                  if (((o = (n = n.call(t)).next), 0 === e)) {
                    if (Object(n) !== n) return;
                    c = !1;
                  } else
                    for (
                      ;
                      !(c = (r = o.call(n)).done) &&
                      (s.push(r.value), s.length !== e);
                      c = !0
                    );
                } catch (t) {
                  (l = !0), (i = t);
                } finally {
                  try {
                    if (
                      !c &&
                      null != n.return &&
                      ((a = n.return()), Object(a) !== a)
                    )
                      return;
                  } finally {
                    if (l) throw i;
                  }
                }
                return s;
              }
            })(t, e) ||
            (function (t, e) {
              if (t) {
                if ("string" == typeof t) return Pi(t, e);
                var n = {}.toString.call(t).slice(8, -1);
                return (
                  "Object" === n && t.constructor && (n = t.constructor.name),
                  "Map" === n || "Set" === n
                    ? Array.from(t)
                    : "Arguments" === n ||
                      /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)
                    ? Pi(t, e)
                    : void 0
                );
              }
            })(t, e) ||
            (function () {
              throw new TypeError(
                "Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."
              );
            })()
          );
        }
        function Pi(t, e) {
          (null == e || e > t.length) && (e = t.length);
          for (var n = 0, r = Array(e); n < e; n++) r[n] = t[n];
          return r;
        }
        function xi(t, e) {
          if (t !== e)
            throw new TypeError("Cannot instantiate an arrow function");
        }
        var ki = X.forwardRef,
          Ii = X.useImperativeHandle,
          ji = X.useRef,
          Ri = X.useState;
        const Di = ki(
          function (t, e) {
            var n = this;
            xi(this, undefined);
            var r = ji(),
              i = Ci(Ri([]), 2),
              o = i[0],
              a = i[1];
            Ii(
              e,
              function () {
                return (
                  xi(this, n),
                  {
                    render: function (t) {
                      var e = t.eventMonitorMsgs;
                      a(e);
                    },
                    getElement: function () {
                      return r.current;
                    },
                    addMonitorMsg: function () {
                      var t =
                          arguments.length > 0 && void 0 !== arguments[0]
                            ? arguments[0]
                            : [],
                        e = o.concat(t);
                      a(e);
                    },
                    clearMonitorMsg: function () {
                      a([]);
                    },
                  }
                );
              }.bind(this)
            );
            var s = function () {
              xi(this, n), a([]);
            }.bind(this);
            return X.createElement(
              X.Fragment,
              null,
              X.createElement(
                "span",
                { className: "btn-clear", onClick: s },
                "清空"
              ),
              o.map(
                function (t) {
                  var e = this;
                  return (
                    xi(this, n),
                    X.createElement(
                      X.Fragment,
                      null,
                      X.createElement(
                        Ti.A,
                        { orientation: "left" },
                        X.createElement(
                          "span",
                          { className: "time-font" },
                          t.eventTime,
                          " "
                        ),
                        "组件",
                        X.createElement(
                          "span",
                          { className: "com-font" },
                          '"',
                          t.sourceName,
                          '"'
                        ),
                        ", 触发：",
                        X.createElement(
                          "span",
                          { className: "com-font" },
                          '"',
                          t.sourceEventTitle,
                          '" '
                        ),
                        "事件，该事件总计产生事件：",
                        t.eventLinkList.length,
                        " 条"
                      ),
                      X.createElement(Oi.Ay, {
                        size: "small",
                        bordered: !0,
                        dataSource: t.eventLinkList,
                        renderItem: function (t) {
                          return (
                            xi(this, e),
                            X.createElement(
                              Oi.Ay.Item,
                              null,
                              X.createElement(
                                "span",
                                { className: "" },
                                t.eventSource.excuteIndex
                              ),
                              "、",
                              X.createElement(
                                "span",
                                { className: "com-font" },
                                '"',
                                t.eventSource.sourceName,
                                '"'
                              ),
                              "组件，触发：",
                              X.createElement(
                                "span",
                                { className: "com-font" },
                                '"',
                                t.eventSource.sourceEventTitle,
                                '" '
                              ),
                              "事件，执行目标动作：",
                              X.createElement(
                                "span",
                                { className: "com-underline" },
                                t.actionTarget.targetActionTitle.replace(
                                  "-",
                                  "——"
                                )
                              ),
                              "， 动作参数：",
                              X.createElement(
                                "span",
                                { className: "com-underline" },
                                t.actionTarget.targetParamsTitle
                              ),
                              "；"
                            )
                          );
                        }.bind(this),
                      })
                    )
                  );
                }.bind(this)
              )
            );
          }.bind(void 0)
        );
        var Li = n(41702);
        function Mi(t) {
          return (
            (Mi =
              "function" == typeof Symbol && "symbol" == typeof Symbol.iterator
                ? function (t) {
                    return typeof t;
                  }
                : function (t) {
                    return t &&
                      "function" == typeof Symbol &&
                      t.constructor === Symbol &&
                      t !== Symbol.prototype
                      ? "symbol"
                      : typeof t;
                  }),
            Mi(t)
          );
        }
        function Ni(t, e, n) {
          return (
            (e = (function (t) {
              var e = (function (t, e) {
                if ("object" != Mi(t) || !t) return t;
                var n = t[Symbol.toPrimitive];
                if (void 0 !== n) {
                  var r = n.call(t, e || "default");
                  if ("object" != Mi(r)) return r;
                  throw new TypeError(
                    "@@toPrimitive must return a primitive value."
                  );
                }
                return ("string" === e ? String : Number)(t);
              })(t, "string");
              return "symbol" == Mi(e) ? e : e + "";
            })(e)) in t
              ? Object.defineProperty(t, e, {
                  value: n,
                  enumerable: !0,
                  configurable: !0,
                  writable: !0,
                })
              : (t[e] = n),
            t
          );
        }
        var $i = Ni(
            Ni({}, Li.Relation.AND, K.get("eventMonitor.i18n_156")),
            Li.Relation.OR,
            K.get("eventMonitor.i18n_157")
          ),
          Bi = "";
        function Ui(t) {
          if (t.children) {
            Bi += "(";
            for (var e = 0; e < t.children.length; e++) {
              var n = t.children[e],
                r = 0 !== e ? " ".concat($i[n.siblingRelation]) : "";
              if (n.children) (Bi += " ".concat(r, " ")), Ui(n);
              else {
                var i = n.left.label,
                  o = n.right.isValid ? n.right.label : "",
                  a = ""
                    .concat(r, " ")
                    .concat(i, " ")
                    .concat(Li.OperatorMap[n.operator], " ")
                    .concat(o)
                    .trim();
                Bi += a;
              }
            }
            Bi += ")";
          }
        }
        function Fi(t) {
          return t ? ((Bi = ""), Ui(t), Bi.slice(1, Bi.length - 1)) : "";
        }
        var Hi = (0, Ie.AU)();
        function Gi(t, e) {
          if ("cardAction" == e) {
            var n = (0, S.Y9)(t.contextId);
            return n ? n.config.basicConfig.name : "";
          }
          if (t.contextId) {
            var r,
              i =
                null === (r = (0, S.Wv)(t.contextId)) || void 0 === r
                  ? void 0
                  : r.name;
            return t ? i + "—" + t.config.basicConfig.name : "";
          }
          return t ? t.config.basicConfig.name : "";
        }
        function Wi(t) {
          return (
            (Wi =
              "function" == typeof Symbol && "symbol" == typeof Symbol.iterator
                ? function (t) {
                    return typeof t;
                  }
                : function (t) {
                    return t &&
                      "function" == typeof Symbol &&
                      t.constructor === Symbol &&
                      t !== Symbol.prototype
                      ? "symbol"
                      : typeof t;
                  }),
            Wi(t)
          );
        }
        function zi(t) {
          return (
            (function (t) {
              if (Array.isArray(t)) return qi(t);
            })(t) ||
            (function (t) {
              if (
                ("undefined" != typeof Symbol && null != t[Symbol.iterator]) ||
                null != t["@@iterator"]
              )
                return Array.from(t);
            })(t) ||
            (function (t, e) {
              if (t) {
                if ("string" == typeof t) return qi(t, e);
                var n = {}.toString.call(t).slice(8, -1);
                return (
                  "Object" === n && t.constructor && (n = t.constructor.name),
                  "Map" === n || "Set" === n
                    ? Array.from(t)
                    : "Arguments" === n ||
                      /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)
                    ? qi(t, e)
                    : void 0
                );
              }
            })(t) ||
            (function () {
              throw new TypeError(
                "Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."
              );
            })()
          );
        }
        function qi(t, e) {
          (null == e || e > t.length) && (e = t.length);
          for (var n = 0, r = Array(e); n < e; n++) r[n] = t[n];
          return r;
        }
        function Xi(t, e) {
          var n = Object.keys(t);
          if (Object.getOwnPropertySymbols) {
            var r = Object.getOwnPropertySymbols(t);
            e &&
              (r = r.filter(function (e) {
                return Object.getOwnPropertyDescriptor(t, e).enumerable;
              })),
              n.push.apply(n, r);
          }
          return n;
        }
        function Yi(t) {
          for (var e = 1; e < arguments.length; e++) {
            var n = null != arguments[e] ? arguments[e] : {};
            e % 2
              ? Xi(Object(n), !0).forEach(function (e) {
                  Ji(t, e, n[e]);
                })
              : Object.getOwnPropertyDescriptors
              ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(n))
              : Xi(Object(n)).forEach(function (e) {
                  Object.defineProperty(
                    t,
                    e,
                    Object.getOwnPropertyDescriptor(n, e)
                  );
                });
          }
          return t;
        }
        function Ki(t, e) {
          if (t !== e)
            throw new TypeError("Cannot instantiate an arrow function");
        }
        function Zi(t, e) {
          for (var n = 0; n < e.length; n++) {
            var r = e[n];
            (r.enumerable = r.enumerable || !1),
              (r.configurable = !0),
              "value" in r && (r.writable = !0),
              Object.defineProperty(t, Qi(r.key), r);
          }
        }
        function Ji(t, e, n) {
          return (
            (e = Qi(e)) in t
              ? Object.defineProperty(t, e, {
                  value: n,
                  enumerable: !0,
                  configurable: !0,
                  writable: !0,
                })
              : (t[e] = n),
            t
          );
        }
        function Qi(t) {
          var e = (function (t, e) {
            if ("object" != Wi(t) || !t) return t;
            var n = t[Symbol.toPrimitive];
            if (void 0 !== n) {
              var r = n.call(t, e || "default");
              if ("object" != Wi(r)) return r;
              throw new TypeError(
                "@@toPrimitive must return a primitive value."
              );
            }
            return ("string" === e ? String : Number)(t);
          })(t, "string");
          return "symbol" == Wi(e) ? e : e + "";
        }
        K.register("eventMonitor", {
          zh: { i18n_156: "与", i18n_157: "或" },
          en: { i18n_156: "And", i18n_157: "Or" },
        });
        var to = (function () {
          return (function (t, e, n) {
            return (
              e && Zi(t.prototype, e),
              n && Zi(t, n),
              Object.defineProperty(t, "prototype", { writable: !1 }),
              t
            );
          })(
            function t() {
              var e = this;
              !(function (t, e) {
                if (!(t instanceof e))
                  throw new TypeError("Cannot call a class as a function");
              })(this, t),
                Ji(this, "isMonitorMode", !1),
                Ji(this, "excutedEventMap", new Map()),
                Ji(this, "analysisedEventSourceIds", []),
                Ji(this, "monitorWrapRef", X.createRef()),
                Ji(this, "initLogWrap", function () {
                  this.isMonitorMode &&
                    !Q()("#monitor-log-wrap").length &&
                    (Q()(".runtime__container").prepend(
                      '<div id="monitor-log-wrap" class="monitor-log-wrap"></div>'
                    ),
                    (0, Y.createRoot)(Q()("#monitor-log-wrap")[0]).render(
                      X.createElement(Di, { ref: this.monitorWrapRef })
                    ));
                }),
                Ji(
                  this,
                  "analysisEventLog",
                  pe.A.debounce(
                    function () {
                      var t = this;
                      Ki(this, e);
                      var n = [];
                      this.excutedEventMap.forEach(
                        function (e, r) {
                          if (
                            (Ki(this, t),
                            -1 === this.analysisedEventSourceIds.indexOf(r))
                          ) {
                            var i;
                            this.analysisedEventSourceIds.push(r);
                            var o = Yi(
                                {
                                  eventLinkList: [],
                                  eventTime: "",
                                  sourceName: "",
                                  sourceEventTitle: "",
                                },
                                e.header
                              ),
                              a = this.mapEventLogs(e.eventLogs);
                            (i = o.eventLinkList).push.apply(i, zi(a)),
                              n.push(o);
                          }
                        }.bind(this)
                      ),
                        this.monitorWrapRef.current.addMonitorMsg(n),
                        this.clearEventLog();
                    }.bind(this),
                    1500
                  )
                ),
                Ji(this, "extractEventLinkList", function (t, e) {
                  var n = this,
                    r = [];
                  return (
                    t.forEach(
                      function (t) {
                        Ki(this, n);
                        var i = this.excutedEventMap.get(t);
                        if (null != i && i.eventLogs.length) {
                          this.analysisedEventSourceIds.push(t);
                          var o = this.mapEventLogs(i.eventLogs, e);
                          r.push.apply(r, zi(o));
                        }
                      }.bind(this)
                    ),
                    r
                  );
                }),
                Ji(this, "clearEventLog", function () {
                  (this.analysisedEventSourceIds = []),
                    this.excutedEventMap.clear();
                });
              var r = n.g.localStorage.getItem("monitor_model"),
                i = -1 !== n.g.location.search.indexOf("_e_=1");
              -1 !== n.g.location.search.indexOf("_e_=0")
                ? ((this.isMonitorMode = !1),
                  n.g.localStorage.setItem("monitor_model", "false"))
                : (i || "true" === r) &&
                  ((this.isMonitorMode = !0),
                  n.g.localStorage.setItem("monitor_model", "true"));
            },
            [
              {
                key: "addExcuteEventLog",
                value: function (t) {
                  if (this.isMonitorMode) {
                    var e = t.source,
                      n = t.action,
                      r = t.eventConfig,
                      i = n.actionType;
                    this.excutedEventMap.get(r.sourceId) ||
                      this.excutedEventMap.set(r.sourceId, {
                        header: null,
                        eventLogs: [],
                      });
                    var o,
                      a = {
                        eventSource: {
                          sourceId: r.sourceId,
                          sourceName: Gi(e, r.eventType),
                          sourceEventTitle:
                            ((o = r.eventType),
                            -1 != o.indexOf("cardService_action")
                              ? "卡片事件服务"
                              : Hi[o]),
                        },
                        actionTarget: {
                          targetActionTitle: n.actionName,
                          targetIds: [],
                          targetParamsTitle: "",
                        },
                      };
                    switch (i) {
                      case m.X2.Link:
                        (a.actionTarget.targetParamsTitle =
                          Fi(n.paramConfigs[0].value.data) || ""),
                          (a.actionTarget.targetIds = n.targetId),
                          "cardAction" == r.eventType &&
                            (a.eventSource.sourceEventTitle =
                              a.eventSource.sourceEventTitle +
                              "—" +
                              r.eventTitle);
                        break;
                      case m.X2.Redirect:
                      case m.X2.Custom:
                        break;
                      case m.X2.CardService:
                        a.actionTarget.targetParamsTitle =
                          n.actionName + "—" + n.serviceFeature;
                        break;
                      case m.X2.RemoteControl:
                        var s = {
                          remoteEventType: n.remoteEventType,
                          remoteType: n.remoteType,
                          targetId: n.targetId,
                          targetPageId: n.targetPageId,
                          targetProjectId: n.targetProjectId,
                          targetType: n.targetType,
                        };
                        a.actionTarget.targetParamsTitle =
                          "较复杂的参数结构，请到配置部分查看:" +
                          JSON.stringify(s);
                    }
                    var c = this.excutedEventMap.get(r.sourceId);
                    c.header ||
                      (c.header = Yi(
                        { eventTime: M()().format("MM/DD HH:mm:ss") },
                        a.eventSource
                      )),
                      c.eventLogs.push(a),
                      this.analysisEventLog();
                  }
                },
              },
              {
                key: "mapEventLogs",
                value: function (t, e) {
                  var n = this,
                    r = [];
                  return (
                    t.forEach(
                      function (t, i) {
                        Ki(this, n),
                          (t.eventSource.excuteIndex = ""
                            .concat(e ? e + "." : "")
                            .concat(++i)),
                          r.push(t);
                        var o = t.actionTarget.targetIds;
                        if (o.length) {
                          var a = this.extractEventLinkList(
                            o,
                            t.eventSource.excuteIndex
                          );
                          r.push.apply(r, zi(a));
                        }
                      }.bind(this)
                    ),
                    r
                  );
                },
              },
            ]
          );
        })();
        const eo = new to();
        function no(t) {
          return (
            (no =
              "function" == typeof Symbol && "symbol" == typeof Symbol.iterator
                ? function (t) {
                    return typeof t;
                  }
                : function (t) {
                    return t &&
                      "function" == typeof Symbol &&
                      t.constructor === Symbol &&
                      t !== Symbol.prototype
                      ? "symbol"
                      : typeof t;
                  }),
            no(t)
          );
        }
        function ro(t, e) {
          var n =
            ("undefined" != typeof Symbol && t[Symbol.iterator]) ||
            t["@@iterator"];
          if (!n) {
            if (
              Array.isArray(t) ||
              (n = (function (t, e) {
                if (t) {
                  if ("string" == typeof t) return io(t, e);
                  var n = {}.toString.call(t).slice(8, -1);
                  return (
                    "Object" === n && t.constructor && (n = t.constructor.name),
                    "Map" === n || "Set" === n
                      ? Array.from(t)
                      : "Arguments" === n ||
                        /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)
                      ? io(t, e)
                      : void 0
                  );
                }
              })(t)) ||
              (e && t && "number" == typeof t.length)
            ) {
              n && (t = n);
              var r = 0,
                i = function () {};
              return {
                s: i,
                n: function () {
                  return r >= t.length
                    ? { done: !0 }
                    : { done: !1, value: t[r++] };
                },
                e: function (t) {
                  throw t;
                },
                f: i,
              };
            }
            throw new TypeError(
              "Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."
            );
          }
          var o,
            a = !0,
            s = !1;
          return {
            s: function () {
              n = n.call(t);
            },
            n: function () {
              var t = n.next();
              return (a = t.done), t;
            },
            e: function (t) {
              (s = !0), (o = t);
            },
            f: function () {
              try {
                a || null == n.return || n.return();
              } finally {
                if (s) throw o;
              }
            },
          };
        }
        function io(t, e) {
          (null == e || e > t.length) && (e = t.length);
          for (var n = 0, r = Array(e); n < e; n++) r[n] = t[n];
          return r;
        }
        function oo(t, e) {
          if (t !== e)
            throw new TypeError("Cannot instantiate an arrow function");
        }
        function ao(t, e) {
          for (var n = 0; n < e.length; n++) {
            var r = e[n];
            (r.enumerable = r.enumerable || !1),
              (r.configurable = !0),
              "value" in r && (r.writable = !0),
              Object.defineProperty(t, so(r.key), r);
          }
        }
        function so(t) {
          var e = (function (t, e) {
            if ("object" != no(t) || !t) return t;
            var n = t[Symbol.toPrimitive];
            if (void 0 !== n) {
              var r = n.call(t, e || "default");
              if ("object" != no(r)) return r;
              throw new TypeError(
                "@@toPrimitive must return a primitive value."
              );
            }
            return ("string" === e ? String : Number)(t);
          })(t, "string");
          return "symbol" == no(e) ? e : e + "";
        }
        var co = (function () {
          return (function (t, e, n) {
            return (
              e && ao(t.prototype, e),
              n && ao(t, n),
              Object.defineProperty(t, "prototype", { writable: !1 }),
              t
            );
          })(
            function t() {
              !(function (t, e) {
                if (!(t instanceof e))
                  throw new TypeError("Cannot call a class as a function");
              })(this, t);
            },
            [
              {
                key: "init",
                value: function (t) {
                  var e;
                  Ai.init(this.dispatchLocal.bind(this)),
                    null != t &&
                      null !== (e = t.config) &&
                      void 0 !== e &&
                      e.eventConfig &&
                      this.registMessageListener();
                },
              },
              {
                key: "registMessageListener",
                value: function () {
                  var t = this;
                  Xt.on(
                    function (e) {
                      var n = this;
                      oo(this, t);
                      var r = e.data,
                        i = r.__sf_action_type__,
                        o = (r.sourceCardId, r.actions),
                        a = r.contextId;
                      if ("cardService" === i) {
                        var s = o.action.targetId,
                          c = s.split("-"),
                          l = (0, S.Y9)(c.pop(), a);
                        if (null != l && l.cardLayout)
                          return void (
                            null == l ||
                            l.cardLayout.handleCardParams(
                              o,
                              se,
                              this.dispatchEventCase.bind(this)
                            )
                          );
                        var u = h()(
                            null == l
                              ? void 0
                              : l.config.eventConfig.filter(
                                  function (t) {
                                    var e = this;
                                    return (
                                      oo(this, n),
                                      t.actions.find(
                                        function (t) {
                                          return (
                                            oo(this, e),
                                            t.serviceActionId === o.actionId
                                          );
                                        }.bind(this)
                                      )
                                    );
                                  }.bind(this)
                                )
                          ),
                          f = [];
                        if (null != u && u[0]) {
                          u[0].actions.forEach(
                            function (t) {
                              oo(this, n),
                                t.serviceActionId === o.actionId && f.push(t);
                            }.bind(this)
                          ),
                            (u[0].actions = f);
                          var d = s.substring(0, s.lastIndexOf("-"));
                          u[0].actions.forEach(
                            function (t) {
                              var e,
                                r,
                                i = this;
                              (oo(this, n),
                              (t.paramConfigs = t.paramConfigs.map(
                                function (t) {
                                  return oo(this, i), se(t.value, o.params), t;
                                }.bind(this)
                              )),
                              t.targetId) &&
                                (t.targetId =
                                  null === (e = (r = t.targetId).map) ||
                                  void 0 === e
                                    ? void 0
                                    : e.call(
                                        r,
                                        function (t) {
                                          return (
                                            oo(this, i),
                                            d ? "".concat(d, "-").concat(t) : t
                                          );
                                        }.bind(this)
                                      ));
                            }.bind(this)
                          ),
                            this.dispatchEventCase(l, {}, u[0]);
                        }
                      }
                    }.bind(this)
                  );
                },
              },
              {
                key: "getTarget",
                value: function (t, e, n) {
                  var r = this;
                  return new Promise(
                    function (i, o) {
                      switch ((oo(this, r), t)) {
                        case m.yK.None:
                          i(null);
                          break;
                        case m.yK.System:
                          i((0, S.Vs)());
                          break;
                        case m.yK.Component:
                        default:
                          i((0, S.Y9)(e, n));
                      }
                    }.bind(this)
                  );
                },
              },
              {
                key: "dispatch",
                value: async function (t, e, n) {
                  n &&
                    (n.eventType === m.X2.CardAction
                      ? this.dispatchEventAction(t, e, n)
                      : this.dispatchEventCase(t, e, n));
                },
              },
              {
                key: "dispatchEventAction",
                value: async function (t, e, n) {
                  for (var r = 0; r < n.actions.length; r++) {
                    var i = n.actions[r],
                      o = await (0, le.Ay)({
                        paramConfigs: i.paramConfigs,
                        event: e,
                        action: i,
                        eventConfig: n,
                        source: t,
                      }),
                      a = ue(i.paramsConverter);
                    a && (o = a(o)),
                      (0, fe.BK)(i)
                        ? ((i = await this.interceptActionForRemote(i)),
                          Ai.dispatchRemote(e, o, i, n))
                        : this.dispatchLocal(t, e, o, i, n),
                      eo.addExcuteEventLog({
                        source: t,
                        action: i,
                        eventConfig: n,
                      });
                  }
                },
              },
              {
                key: "dispatchEventCase",
                value: async function (t, e, n) {
                  for (
                    var r = this,
                      i = async function () {
                        var i = this,
                          a = n.conditions[o],
                          s = n.actions.filter(
                            function (t) {
                              return oo(this, i), t.caseId === a.caseId;
                            }.bind(this)
                          );
                        if (0 === s.length) return 0;
                        if (!(await (0, fe.ms)(a.condition, e, null, n, t)))
                          return 0;
                        if (
                          e &&
                          e.eventSourceId &&
                          !(0, fe.G1)(a.eventSourceId, e)
                        )
                          return 0;
                        var c,
                          l = ro(s);
                        try {
                          for (l.s(); !(c = l.n()).done; ) {
                            var u = c.value,
                              f = await (0, le.Ay)({
                                paramConfigs: u.paramConfigs,
                                event: e,
                                action: u,
                                eventConfig: n,
                                source: t,
                              }),
                              d = ue(u.paramsConverter);
                            d && (f = await d(f));
                            (0, fe.BK)(u)
                              ? ((u = await r.interceptActionForRemote(u)),
                                Ai.dispatchRemote(e, f, u, n))
                              : r.dispatchLocal(t, e, f, u, n),
                              eo.addExcuteEventLog({
                                source: t,
                                action: u,
                                eventConfig: n,
                              });
                          }
                        } catch (t) {
                          l.e(t);
                        } finally {
                          l.f();
                        }
                      },
                      o = 0;
                    o <
                    (null === (a = n.conditions) || void 0 === a
                      ? void 0
                      : a.length);
                    o++
                  ) {
                    var a;
                    await i();
                  }
                },
              },
              {
                key: "dispatchLocal",
                value: async function (t, e, n, r, i) {
                  var o = this,
                    a = r.targetId,
                    s = r.targetType,
                    c = r.actionType;
                  t.execHooks && t.execHooks("beforeDispatchEvent", i);
                  var l = {
                    source: t,
                    target: t,
                    originEvent: e,
                    param: n,
                    action: r,
                    eventConfig: i,
                  };
                  if (c !== m.X2.Link)
                    switch (c) {
                      case m.X2.Redirect:
                        (0, Wr.A)(l, t);
                        break;
                      case m.X2.ServiceCall:
                        !(function (t, e) {
                          var n = t.param,
                            r = t.action,
                            i = r.method,
                            o = r.url,
                            a = ue(r.code, e);
                          Q().ajax({
                            type: i,
                            url: "/uxrunner/service/proxy/call",
                            dataType: "json",
                            data: n,
                            beforeSend: function (t) {
                              t.setRequestHeader(
                                "Content-Type",
                                "application/x-www-form-urlencoded"
                              ),
                                t.setRequestHeader("proxyTo", o);
                            },
                            success: function (t) {
                              pe.A.isFunction(a) && a(null, t);
                            },
                            error: function (t, e, n) {
                              sfLogger.error(n), pe.A.isFunction(a) && a(n);
                            },
                          });
                        })(l, t);
                        break;
                      case m.X2.Custom:
                        !(function (t, e) {
                          var n = t.action.code,
                            r = ue(void 0 === n ? "" : n, e);
                          "function" == typeof r && r(e, t.param);
                        })(l, t);
                        break;
                      case m.X2.CardService:
                        Ir(l, t);
                        break;
                      case m.X2.DomEvent:
                        Rr(l);
                        break;
                      case m.X2.DigitalEvent:
                        await (async function (t) {
                          var e = this;
                          Mr.YE.setKey(Dr.X2.sy_explain, !1),
                            Mr.YE.setKey(Dr.X2.sy_autoExplain, !1),
                            console.log("digitalEventHandler==", t);
                          var n = t.action,
                            r = (n.actionId, n.commands);
                          Lr.A.batchExecute(
                            r.map(
                              function (t) {
                                return $r(this, e), Ur({}, t);
                              }.bind(this)
                            )
                          )
                            .then(
                              function (t) {
                                $r(this, e);
                              }.bind(this)
                            )
                            .catch(
                              function (t) {
                                $r(this, e), console.error(t);
                              }.bind(this)
                            )
                            .finally(
                              function () {
                                $r(this, e);
                              }.bind(this)
                            );
                        })(l);
                        break;
                      default:
                        sfLogger.error(
                          "未知动作类型 ".concat(c, " 组件").concat(this)
                        );
                    }
                  else
                    for (
                      var u = await Promise.all(
                          a.map(
                            function (e) {
                              return (
                                oo(this, o),
                                this.getTarget(
                                  s,
                                  e.split("-").pop(),
                                  null == t ? void 0 : t.contextId
                                )
                              );
                            }.bind(this)
                          )
                        ),
                        f = 0;
                      f < u.length;
                      f++
                    ) {
                      var d = u[f];
                      d &&
                        ((l.target = d),
                        d.execHooks && d.execHooks("beforeReceiveEvent", l),
                        d.receiveEvent ? d.receiveEvent(c, l) : Gr(l, d),
                        d.execHooks && d.execHooks("afterReceiveEvent", l));
                    }
                  t.execHooks && t.execHooks("afterDispatchEvent", i);
                },
              },
              {
                key: "destroyConnect",
                value: function () {
                  Ai.destroyConnect();
                },
              },
              {
                key: "interceptActionForRemote",
                value: async function (t) {
                  t.actionType === m.X2.Redirect &&
                    t.url &&
                    t.url.split(".")[0] === m.DB.Component &&
                    (t.url = await (0, le.$8)({ value: t.url }));
                  return t;
                },
              },
            ]
          );
        })();
        const lo = new co();
        var uo = n(28379),
          fo = n(37098);
        const ho = n.p + "images/dir.632f.svg",
          po = n.p + "images/pc.52a7.svg",
          mo = n.p + "images/phone.e269.svg";
        function vo(t) {
          return (
            (vo =
              "function" == typeof Symbol && "symbol" == typeof Symbol.iterator
                ? function (t) {
                    return typeof t;
                  }
                : function (t) {
                    return t &&
                      "function" == typeof Symbol &&
                      t.constructor === Symbol &&
                      t !== Symbol.prototype
                      ? "symbol"
                      : typeof t;
                  }),
            vo(t)
          );
        }
        function go(t, e, n) {
          return (
            (e = (function (t) {
              var e = (function (t, e) {
                if ("object" != vo(t) || !t) return t;
                var n = t[Symbol.toPrimitive];
                if (void 0 !== n) {
                  var r = n.call(t, e || "default");
                  if ("object" != vo(r)) return r;
                  throw new TypeError(
                    "@@toPrimitive must return a primitive value."
                  );
                }
                return ("string" === e ? String : Number)(t);
              })(t, "string");
              return "symbol" == vo(e) ? e : e + "";
            })(e)) in t
              ? Object.defineProperty(t, e, {
                  value: n,
                  enumerable: !0,
                  configurable: !0,
                  writable: !0,
                })
              : (t[e] = n),
            t
          );
        }
        var yo = go(
          go(go({}, wt.PageType.Pc, po), wt.PageType.Phone, mo),
          wt.PageType.Directory,
          ho
        );
        function bo(t, e) {
          if (t !== e)
            throw new TypeError("Cannot instantiate an arrow function");
        }
        K.register("pageMenu", {
          zh: { projectName: "工程名称" },
          en: { projectName: "Project name" },
        });
        var Vo = void 0;
        function _o(t, e) {
          return (
            (function (t) {
              if (Array.isArray(t)) return t;
            })(t) ||
            (function (t, e) {
              var n =
                null == t
                  ? null
                  : ("undefined" != typeof Symbol && t[Symbol.iterator]) ||
                    t["@@iterator"];
              if (null != n) {
                var r,
                  i,
                  o,
                  a,
                  s = [],
                  c = !0,
                  l = !1;
                try {
                  if (((o = (n = n.call(t)).next), 0 === e)) {
                    if (Object(n) !== n) return;
                    c = !1;
                  } else
                    for (
                      ;
                      !(c = (r = o.call(n)).done) &&
                      (s.push(r.value), s.length !== e);
                      c = !0
                    );
                } catch (t) {
                  (l = !0), (i = t);
                } finally {
                  try {
                    if (
                      !c &&
                      null != n.return &&
                      ((a = n.return()), Object(a) !== a)
                    )
                      return;
                  } finally {
                    if (l) throw i;
                  }
                }
                return s;
              }
            })(t, e) ||
            (function (t, e) {
              if (t) {
                if ("string" == typeof t) return wo(t, e);
                var n = {}.toString.call(t).slice(8, -1);
                return (
                  "Object" === n && t.constructor && (n = t.constructor.name),
                  "Map" === n || "Set" === n
                    ? Array.from(t)
                    : "Arguments" === n ||
                      /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)
                    ? wo(t, e)
                    : void 0
                );
              }
            })(t, e) ||
            (function () {
              throw new TypeError(
                "Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."
              );
            })()
          );
        }
        function wo(t, e) {
          (null == e || e > t.length) && (e = t.length);
          for (var n = 0, r = Array(e); n < e; n++) r[n] = t[n];
          return r;
        }
        function So(t, e) {
          if (t !== e)
            throw new TypeError("Cannot instantiate an arrow function");
        }
        function Eo(t) {
          var e = "icon-yemian";
          switch (t.type) {
            case wt.PageType.Pc:
              e = "iconPC";
              break;
            case wt.PageType.Window:
              e = "icondanchuang1";
              break;
            case wt.PageType.Phone:
              e = "icona-Phoneyidongduan";
              break;
            case wt.PageType.Directory:
            default:
              e = "icon-wenjianjia";
          }
          return X.createElement("div", {
            className: "iconfont ".concat(e, " leftMenu__navIconFile"),
          });
        }
        function Ao(t) {
          var e = yo[t.type];
          return X.createElement("img", {
            className: "leftMenu__navSvg",
            src: e,
            alt: "",
          });
        }
        var To = function (t) {
          var e = this;
          So(this, Vo);
          var n = t.project,
            r = t.currentPage,
            i = (n.config.isIndexMenu, n.id),
            o = n.children,
            a = _o((0, X.useState)([]), 2),
            s = a[0],
            c = a[1],
            l = _o((0, X.useState)(!1), 2),
            u = l[0],
            f = (l[1], _o((0, X.useState)([(0, Mt.Ay)()]), 2)),
            d = f[0],
            h = f[1],
            p = (0, ot.W6)(),
            m = _o((0, X.useState)(!1), 2),
            v = m[0],
            b = m[1];
          function V(t) {
            return X.createElement(
              "div",
              { className: "leftMenu__navIcon" },
              t.logoPath
                ? X.createElement(
                    X.Fragment,
                    null,
                    X.createElement(
                      "div",
                      { className: "leftMenu__navIconWrap" },
                      X.createElement(Ao, { type: t.type })
                    ),
                    X.createElement("img", {
                      className: "leftMenu__nodeBusIcon",
                      src:
                        ((e = t.logoPath),
                        (r = (0, g.fx)()
                          ? g.Po.tRunerPath
                          : g.Po.tDesignerPath),
                        "".concat(r, "/project/").concat(n.id).concat(e)),
                      alt: "",
                    })
                  )
                : X.createElement(Eo, { type: t.type })
            );
            var e, r;
          }
          function _() {
            b(!1);
          }
          return (
            (0, X.useEffect)(
              function () {
                So(this, e),
                  c(
                    (function () {
                      var t = this,
                        e =
                          arguments.length > 0 && void 0 !== arguments[0]
                            ? arguments[0]
                            : [],
                        n = [],
                        r = {};
                      return (
                        e.forEach(
                          function (e) {
                            bo(this, t), (r[e.id] = e);
                          }.bind(this)
                        ),
                        e
                          .filter(
                            function (e) {
                              return bo(this, t), e.type !== y.rr.POPUP;
                            }.bind(this)
                          )
                          .sort(
                            function (e, n) {
                              return bo(this, t), e.sort - n.sort;
                            }.bind(this)
                          )
                          .forEach(
                            function (e) {
                              if ((bo(this, t), "-1" === e.parentId)) n.push(e);
                              else {
                                var i = r[e.parentId],
                                  o = i.children || [];
                                o.push(e), (i.children = o);
                              }
                            }.bind(this)
                          ),
                        n
                      );
                    })(o)
                  );
              }.bind(this),
              [o]
            ),
            (0, X.useEffect)(
              function () {
                So(this, e), h([(0, Mt.Ay)(r.id)]);
              }.bind(this),
              [r, (0, Mt.Ay)(r.id)]
            ),
            X.createElement(
              "div",
              { className: "leftMenu uxStyle" },
              X.createElement("div", {
                style: { display: u ? "none" : "block" },
                className: "leftMenu__controler",
                onMouseEnter: function () {
                  b(!0);
                },
              }),
              X.createElement(
                "div",
                {
                  className: ri()({
                    leftMenu__slideLeftNav: !0,
                    leftMenu__slideLeftNav_show: v,
                    leftMenu__slideLeftNav_hide: !v,
                  }),
                  onMouseLeave: _,
                },
                X.createElement(
                  "div",
                  { id: "menu__container" },
                  X.createElement(
                    "div",
                    { className: "menu__nav" },
                    X.createElement(
                      "div",
                      { className: "menu__navTitle" },
                      X.createElement("div", {
                        className: "menu__nav_open menu__navCommonStyle",
                      }),
                      X.createElement(
                        "div",
                        { className: "menu__projectName", title: n.name },
                        n.name
                      )
                    ),
                    X.createElement("div", {
                      className: "menu__nav_close menu__navCommonStyle",
                      onClick: _,
                    })
                  ),
                  X.createElement(
                    "div",
                    { className: "menu__navList" },
                    X.createElement(fo.A, {
                      mode: "inline",
                      defaultOpenKeys: [(0, Mt.Ay)()],
                      defaultSelectedKeys: [(0, Mt.Ay)()],
                      selectedKeys: d,
                      onSelect: pe.A.throttle(function (t) {
                        var e = "".concat(
                          p.location.pathname.split("/").splice(0, 3).join("/"),
                          "/"
                        );
                        p.push("".concat(e).concat(i, "/").concat(t.key)),
                          h(t.selectedKeys);
                      }, 300),
                      items: (function t(e) {
                        var n = this;
                        return e.map(
                          function (e) {
                            return (
                              So(this, n),
                              e.type === wt.PageType.Directory
                                ? {
                                    key: e.id,
                                    icon: V(e),
                                    label: X.createElement(
                                      "span",
                                      {
                                        className: "ant-menu-title-content",
                                        title: e.name,
                                      },
                                      e.name
                                    ),
                                    children: t(e.children || []),
                                  }
                                : {
                                    label: e.name,
                                    title: e.name,
                                    key: e.id,
                                    icon: V(e),
                                  }
                            );
                          }.bind(this)
                        );
                      })(s),
                    })
                  )
                )
              )
            )
          );
        }.bind(void 0);
        const Oo = (0, rt.Ng)(
          function () {
            return (
              So(this, Vo), { project: (0, at.ph)(), currentPage: (0, S.Vs)() }
            );
          }.bind(void 0)
        )(
          function (t) {
            So(this, Vo);
            var e = t.project;
            return e && e.config.isIndexMenu ? X.createElement(To, t) : null;
          }.bind(void 0)
        );
        var Co = n(68978);
        function Po(t) {
          var e =
              arguments.length > 1 && void 0 !== arguments[1]
                ? arguments[1]
                : "unset",
            n =
              arguments.length > 2 && void 0 !== arguments[2]
                ? arguments[2]
                : "unset";
          return {
            style: "\n        background-position:"
              .concat(e, ";\n        background-repeat:")
              .concat(t ? "repeat" : "no-repeat", ";\n        background-size:")
              .concat(n, "\n    "),
            bgp: e,
            bgr: t ? "repeat" : "no-repeat",
            bgs: n,
          };
        }
        function xo(t, e, n) {
          var r,
            i,
            o,
            a = { style: "", bgp: "unset", bgr: "unset", bgs: "unset" },
            s = "",
            c = {};
          switch (t.fillType) {
            case wt.FillType.Center:
              a = Po(!1, "center");
              break;
            case wt.FillType.Fill:
              a = Po(!0);
              break;
            case wt.FillType.Stretch:
              a = Po(!1, "", "cover");
          }
          t.url
            ? ((s = "width:"
                .concat(e, "px;height:")
                .concat(n, "px;background-image:url('")
                .concat(t.url, "');background-color:")
                .concat(t.color, ";")
                .concat(a.style)),
              (c = {
                width: e,
                height: n,
                backgroundImage: "url('".concat(t.url),
                backgroundColor: t.color,
                backgroundPosition:
                  null === (r = a) || void 0 === r ? void 0 : r.bgp,
                backgroundRepeat:
                  null === (i = a) || void 0 === i ? void 0 : i.bgr,
                backgroundSize:
                  null === (o = a) || void 0 === o ? void 0 : o.bgs,
              }))
            : ((s = "width:"
                .concat(e, "px;height:")
                .concat(n, "px;background-image:none;background-color:")
                .concat(t.color, ";")),
              (c = {
                width: e,
                height: n,
                backgroundImage: "none",
                backgroundColor: t.color,
              }));
          return { cssStr: s, cssStyle: c };
        }
        var ko = n(25288);
        function Io(t, e) {
          if (t !== e)
            throw new TypeError("Cannot instantiate an arrow function");
        }
        function jo(t) {
          var e = this,
            n =
              arguments.length > 1 && void 0 !== arguments[1]
                ? arguments[1]
                : 0;
          n >= t.length ||
            t[n]().finally(
              function () {
                Io(this, e), jo(t, ++n);
              }.bind(this)
            );
        }
        const Ro = async function (t) {
          var e = this;
          Io(this, undefined);
          var n = pe.A.groupBy(t, "renderOfWeight"),
            r = Object.keys(n)
              .sort(
                function (t, n) {
                  return Io(this, e), +n - +t;
                }.bind(this)
              )
              .map(
                function (t) {
                  var r = this;
                  return (
                    Io(this, e),
                    async function () {
                      var e = this;
                      Io(this, r),
                        await Promise.all(
                          n[t].map(
                            function (t) {
                              Io(this, e);
                              try {
                                var n;
                                if (
                                  (null === (n = t.$element) || void 0 === n
                                    ? void 0
                                    : n.length) > 0
                                ) {
                                  var r = t.hydrate();
                                  if (r) return r;
                                }
                                return t.init();
                              } catch (t) {
                                return sfLogger.error(t), Promise.resolve();
                              }
                            }.bind(this)
                          )
                        );
                    }.bind(this)
                  );
                }.bind(this)
              );
          jo(r);
        }.bind(void 0);
        async function Do(t, e, n, r) {
          var i = t[0].querySelector(":scope > .watermarkElement");
          if (i) r && Q()(i).css("transform", r);
          else {
            var o = (0, at.b4)(),
              a = o.show,
              s = void 0 === a || a,
              c = o.id;
            if (s && c) {
              var l = o.render,
                u = o.offsetX,
                f = o.offsetY,
                d = o.positionX,
                h = o.positionY;
              if (!l) {
                var m =
                  (await (async function () {
                    var t,
                      e,
                      n = (0, at.ph)() || {},
                      r =
                        (null == n || null === (t = n.config) || void 0 === t
                          ? void 0
                          : t.watermark) || {},
                      i = r.id,
                      o = r.show,
                      a = void 0 === o || o;
                    if (i && a) {
                      var s = await (0, V.get)(
                          ""
                            .concat(
                              p.Ay.VIEWER_BIZ,
                              "/watermark/getQuoteInfo?id="
                            )
                            .concat(i)
                        ),
                        c = dt(
                          { show: a, id: i },
                          null !== (e = null == s ? void 0 : s.data) &&
                            void 0 !== e
                            ? e
                            : {}
                        );
                      return (
                        w.A.dispatch({
                          type: _.k.SET_PROJECT_WATERMARKINFO,
                          payload: c,
                        }),
                        c
                      );
                    }
                    w.A.dispatch({
                      type: _.k.SET_PROJECT_WATERMARKINFO,
                      payload: { show: a, id: i },
                    });
                  })()) || {};
                (l = m.render),
                  (u = m.offsetX),
                  (f = m.offsetY),
                  (d = m.positionX),
                  (h = m.positionY);
              }
              l &&
                ((i = or({
                  width: e,
                  height: n,
                  url: "".concat(p.Ay.VIEWER_BIZ, "/").concat(l),
                  positionX: d,
                  positionY: h,
                  offsetX: u,
                  offsetY: f,
                  scale: r,
                })),
                t.append(i));
            }
          }
        }
        function Lo(t, e, n) {
          e && t.css("width", "".concat(e)), n && t.css("height", "".concat(n));
        }
        function Mo(t, e) {
          var n = t.width,
            r = t.height,
            i = (0, Ot.Ge)(),
            o = e.parents(".ux-page");
          if (
            (e
              .parents(".runtime__container")
              .css({ width: "100%", height: "100%" }),
            !t.resolution)
          )
            return (
              Lo(e, n, r),
              e.css({ overflow: "hidden", transform: "scale(1)" }),
              void Do(o, n, r)
            );
          switch (
            (o.css("overflow-x", "auto"),
            o.css("overflow-y", "auto"),
            t.resolutionType)
          ) {
            case wt.ResolutionType.WidthZoom:
              e.css({
                transform: "scaleX("
                  .concat(i.xf, ") scaleY(")
                  .concat(i.xf, ")"),
                "transform-origin": "0 0",
              }),
                Do(
                  o,
                  n,
                  r,
                  "scaleX(".concat(i.xf, ") scaleY(").concat(i.xf, ")")
                ),
                o.css("overflow-x", "hidden"),
                i.xf < i.yf && o.css("overflow-y", "hidden");
              break;
            case wt.ResolutionType.HeightZoom:
              e.css({
                transform: "scaleX("
                  .concat(i.yf, ") scaleY(")
                  .concat(i.yf, ")"),
                "transform-origin": "0 0",
              }),
                Do(
                  o,
                  n,
                  r,
                  "scaleX(".concat(i.yf, ") scaleY(").concat(i.yf, ")")
                ),
                o.css("overflow-y", "hidden"),
                i.yf < i.xf && o.css("overflow-x", "hidden");
              break;
            case wt.ResolutionType.Proportional:
              e.css({
                transform: "scaleX("
                  .concat(i.xf, ") scaleY(")
                  .concat(i.yf, ")"),
                "transform-origin": "0 0",
              }),
                Do(
                  o,
                  n,
                  r,
                  "scaleX(".concat(i.xf, ") scaleY(").concat(i.yf, ")")
                ),
                o.css("overflow", "hidden");
          }
          Lo(e, n, r),
            (0, S.Vs)().type === wt.PageType.Phone &&
              o.css("overflow", "unset"),
            e.css("overflow", "hidden");
        }
        function No(t, e, n) {
          var r,
            i =
              arguments.length > 3 && void 0 !== arguments[3]
                ? arguments[3]
                : null !== (r = SF.__initalData) && void 0 !== r
                ? r
                : {};
          if (t && 0 !== t.length) {
            var o;
            if ("function" == typeof i)
              i = i(null !== (o = SF.__initalData) && void 0 !== o ? o : {});
            for (
              var a = function () {
                  var r = this,
                    o = t[s];
                  o.parentId = n;
                  var a = e.find(
                      "#".concat(o.id, ":not(.uxCard #").concat(o.id, "):eq(0)")
                    ),
                    c = a.parents(".ux-component-root:eq(0)"),
                    l = i[o.id];
                  Object.keys(null != l ? l : {}).forEach(
                    function (t) {
                      !(function (t, e) {
                        if (t !== e)
                          throw new TypeError(
                            "Cannot instantiate an arrow function"
                          );
                      })(this, r),
                        (0, _t.A)(o.config.basicConfig, t, l[t]);
                    }.bind(this)
                  ),
                    a.length && c.length
                      ? ((o.$parent = c), (o.$element = a))
                      : (o.$parent = Q()(
                          '<div class="ux-component-root"></div>'
                        )),
                    o.children &&
                      o.children.length &&
                      No(
                        o.children,
                        o.$parent,
                        o.id,
                        null == l ? void 0 : l.children
                      );
                },
                s = 0,
                c = t.length;
              s < c;
              s++
            )
              a();
          }
        }
        var $o = n(47104);
        function Bo(t) {
          return $o.A.ssg.where({ id: t }).toArray();
        }
        function Uo(t) {
          t.id, t.content;
          return (async function (t) {
            if (!t.id) throw new Error("id is required!");
            var e = await Bo(t.id);
            e[0] ? await $o.A.ssg.update(e[0].id, t) : await $o.A.ssg.add(t);
          })(t);
        }
        var Fo = {};
        async function Ho(t) {
          var e,
            n = sfLogger.time("get ssr html time"),
            r = (null !== (e = SF.data.project) && void 0 !== e ? e : {})
              .releaseTime,
            i = await (async function (t, e) {
              var n = await Bo(t);
              if (!n[0] || n[0].version !== e) return null;
              try {
                var r = await n[0].content.text();
                return JSON.parse(r);
              } catch (t) {
                return sfLogger.error(t), null;
              }
            })(t, r);
          if (!i) return "";
          if (i.version !== r) return "";
          var o = document.createElement("style");
          return (
            (o.innerHTML = i.headStyle),
            (SF.__initalData = i.initalData),
            document.head.appendChild(o),
            n(),
            i.body
          );
        }
        function Go(t, e) {
          if (t !== e)
            throw new TypeError("Cannot instantiate an arrow function");
        }
        function Wo(t, e) {
          if (t !== e)
            throw new TypeError("Cannot instantiate an arrow function");
        }
        var zo = 0;
        function qo(t) {
          var e = this;
          clearTimeout(zo);
          var n = t.config,
            r = n.refreshRate,
            i = void 0 === r ? 0 : r,
            o = n.refreshRateUnit,
            a = i;
          if (i <= 0)
            return function () {
              Wo(this, e);
            }.bind(this);
          switch (o) {
            case wt.RefreshRateUnit.Hour:
              a *= 3600;
              break;
            case wt.RefreshRateUnit.Minute:
              a *= 60;
          }
          return (
            (a *= 1e3),
            (function e() {
              var n = this;
              zo = setTimeout(
                function () {
                  var r;
                  Wo(this, n),
                    (null === (r = (0, S.Vs)()) || void 0 === r
                      ? void 0
                      : r.id) === t.id && (window.location.reload(), e());
                }.bind(this),
                a
              );
            })(),
            function () {
              return Wo(this, e), clearTimeout(zo);
            }.bind(this)
          );
        }
        function Xo(t, e) {
          if (t !== e)
            throw new TypeError("Cannot instantiate an arrow function");
        }
        async function Yo(t, e) {
          var n = this,
            r = t.config.components,
            i = sfLogger.time("traverse generate element time");
          return (
            No(r, e),
            i(),
            await Promise.all(
              r.map(
                async function (t, i) {
                  var o;
                  Xo(this, n);
                  try {
                    (o = await (0, Co.xy)(t, e)), (r[i] = o);
                  } catch (t) {
                    var a;
                    sfLogger.error(t),
                      null === (a = o) ||
                        void 0 === a ||
                        null === (a = a.$parent) ||
                        void 0 === a ||
                        a.remove();
                  }
                }.bind(this)
              )
            ),
            r
          );
        }
        async function Ko(t) {
          await Ro(t.config.components);
        }
        function Zo(t, e) {
          if (t !== e)
            throw new TypeError("Cannot instantiate an arrow function");
        }
        var Jo = null,
          Qo = null;
        function ta(t, e, n) {
          if ((0, g.fx)()) {
            var r,
              i =
                (null === (r = window.SF) || void 0 === r ? void 0 : r.task) ||
                "";
            if (i && i.switch) {
              var o = 6e4,
                a = function () {
                  var t = this;
                  Qo && clearTimeout(Qo),
                    (0, V.get)(
                      "".concat(p.Ay.AUTH_CENTER_SERVER, "/v1/keepalive")
                    ).then(
                      function (e) {
                        Zo(this, t),
                          "0" === e.code && e.data && (o = 0.5 * e.data * 1e3);
                      }.bind(this)
                    ),
                    (Qo = setTimeout(
                      function () {
                        Zo(this, t), a();
                      }.bind(this),
                      o
                    ));
                };
              a();
            }
          } else {
            Jo && clearTimeout(Jo);
            var s = function () {
              var r = this;
              (async function (t, e) {
                var n = await (0, V.post)(
                  "".concat(
                    p.Ay.UX_API,
                    "/designer/previewlimit/getPreviewTimeLimit"
                  ),
                  { busId: t, busType: e }
                );
                return n.code && "0" === n.code ? n : null;
              })(t, e).then(
                function (t) {
                  var e = this;
                  Zo(this, r);
                  var i = t.data,
                    o = i.now,
                    a = i.previewDuration,
                    c = i.previewTime;
                  "0" !== (null == t ? void 0 : t.code) || o || c
                    ? (Jo = setTimeout(
                        function () {
                          Zo(this, e), s();
                        }.bind(this),
                        6e4
                      ))
                    : (Jo && clearTimeout(Jo),
                      n.replace("/uxrunner/pagetimeout", {
                        previewDuration: a,
                      }));
                }.bind(this)
              );
            };
            s();
          }
        }
        var ea = n(74022),
          na = n(50329),
          ra = n(68e3),
          ia = n(32153),
          oa = n(81600),
          aa = n(50400),
          sa = n(28643),
          ca = n(2293),
          la =
            "((0)|([1-9])|([1-9]\\d{1})|(1\\d{0,2})|(2[0-4][0-9])|(25[0-5]))",
          ua = "(^[rR][gG][Bb]\\("
            .concat(la, " *, *")
            .concat(la, " *, *")
            .concat(la, "\\)$)"),
          fa = "(^[rR][gG][Bb][Aa]\\("
            .concat(la, " *, *")
            .concat(la, " *, *")
            .concat(la, " *, *(0\\.\\d{1,2}|1|0)\\)$)"),
          da = ""
            .concat("(^#([0-9a-fA-F]{6}|[0-9a-fA-F]{3})$)", "|")
            .concat(ua, "|")
            .concat(fa),
          ha = "((^0$)|(^-?[1-9][0-9]*$))",
          pa = "((^0$)|(^-?[1-9][0-9]*(\\.\\d{1,2})?$)|(^-?0\\.\\d{1,2}$))",
          ma = "(^auto$)",
          va = "(^[1-9][0-9]{0,1}$)",
          ga = "(^[1-9][0-9]{0,2}$)",
          ya = "(^[1-9][0-9]{0,3}$)",
          ba = "(^0$)",
          Va =
            "(^transparent$)|(^aliceblue$)|(^antiquewhite$)|(^aqua$)|(^aquamarine$)|(^azure$)|(^beige$)|(^bisque$)|(^black$)|(^blanchedalmond$)|(^blue$)|(^blueviolet$)|(^brown$)|(^burlywood$)|(^cadetblue$)|(^chartreuse$)|(^chocolate$)|(^coral$)|(^cornflowerblue$)|(^cornsilk$)|(^crimson$)|(^cyan$)|(^darkblue$)|(^darkcyan$)|(^darkgoldenrod$)|(^darkgray$)|(^darkgreen$)|(^darkgrey$)|(^darkkhaki$)|(^darkmagenta$)|(^darkolivegreen$)|(^darkorange$)|(^darkorchid$)|(^darkred$)|(^darksalmon$)|(^darkseagreen$)|(^darkslateblue$)|(^darkslategray$)|(^darkslategrey$)|(^darkturquoise$)|(^darkviolet$)|(^deeppink$)|(^deepskyblue$)|(^dimgray$)|(^dimgrey$)|(^dodgerblue$)|(^firebrick$)|(^floralwhite$)|(^forestgreen$)|(^fuchsia$)|(^gainsboro$)|(^ghostwhite$)|(^gold$)|(^goldenrod$)|(^gray$)|(^green$)|(^greenyellow$)|(^grey$)|(^honeydew$)|(^hotpink$)|(^indianred$)|(^indigo$)|(^ivory$)|(^khaki$)|(^lavender$)|(^lavenderblush$)|(^lawngreen$)|(^lemonchiffon$)|(^lightblue$)|(^lightcoral$)|(^lightcyan$)|(^lightgoldenrodyellow$)|(^lightgray$)|(^lightgreen$)|(^lightgrey$)|(^lightpink$)|(^lightsalmon$)|(^lightseagreen$)|(^lightskyblue$)|(^lightslategray$)|(^lightslategrey$)|(^lightsteelblue$)|(^lightyellow$)|(^lime$)|(^limegreen$)|(^linen$)|(^magenta$)|(^maroon$)|(^mediumaquamarine$)|(^mediumblue$)|(^mediumorchid$)|(^mediumpurple$)|(^mediumseagreen$)|(^mediumslateblue$)|(^mediumspringgreen$)|(^mediumturquoise$)|(^mediumvioletred$)|(^midnightblue$)|(^mintcream$)|(^mistyrose$)|(^moccasin$)|(^navajowhite$)|(^navy$)|(^oldlace$)|(^olive$)|(^olivedrab$)|(^orange$)|(^orangered$)|(^orchid$)|(^palegoldenrod$)|(^palegreen$)|(^paleturquoise$)|(^palevioletred$)|(^papayawhip$)|(^peachpuff$)|(^peru$)|(^pink$)|(^plum$)|(^powderblue$)|(^purple$)|(^red$)|(^rosybrown$)|(^royalblue$)|(^saddlebrown$)|(^salmon$)|(^sandybrown$)|(^seagreen$)|(^seashell$)|(^sienna$)|(^silver$)|(^skyblue$)|(^slateblue$)|(^slategray$)|(^slategrey$)|(^snow$)|(^springgreen$)|(^steelblue$)|(^tan$)|(^teal$)|(^thistle$)|(^tomato$)|(^turquoise$)|(^violet$)|(^wheat$)|(^white$)|(^whitesmoke$)|(^yellow$)|(^yellowgreen$)",
          _a =
            (new RegExp("^#"),
            new RegExp("^\\."),
            new RegExp("".concat(da, "|").concat(Va)),
            new RegExp(ha)),
          wa =
            (new RegExp(pa),
            new RegExp("".concat(ma, "|").concat(pa)),
            new RegExp("".concat(ma, "|").concat(ha)),
            new RegExp("".concat(ma, "|").concat(da, "|").concat(Va)),
            new RegExp("".concat("(^([1-9]|1[0-9]|20)$)")),
            new RegExp("".concat(va)),
            new RegExp("".concat(ga)),
            new RegExp("".concat(ma, "|").concat(va)),
            new RegExp("".concat(ma, "|").concat(va, "|").concat(ba)),
            new RegExp(
              ""
                .concat(ma, "|")
                .concat(va, "|")
                .concat(ba, "|")
                .concat("(^100$)")
            ),
            new RegExp("".concat(ma, "|").concat(ga)),
            new RegExp("".concat(ma, "|").concat(ga, "|").concat(ba)),
            new RegExp("".concat(ma, "|").concat(ya)),
            new RegExp("".concat(ma, "|").concat(ya, "|").concat(ba)),
            new RegExp(
              "(^[1-9][0-9]{0,2}$|^[1-2][0-9]{0,3}$|^3[0-5][0-9]{0,2}$|3600$)"
            ),
            new RegExp("".concat("(^[5-9]{0,1}$|[1-9][0-9]{0,3}$|9999$)")),
            new RegExp(
              "".concat(
                "((http|ftp|https)://)(([a-zA-Z0-9._-]+.[a-zA-Z]{2,6})|([0-9]{1,3}.[0-9]{1,3}.[0-9]{1,3}.[0-9]{1,3}))(:[0-9]{1,4})*(/[a-zA-Z0-9&%_./-~-]*)?"
              )
            ),
            37),
          Sa = 39,
          Ea = 38,
          Aa = 40,
          Ta = 32;
        K.register("pageCarousel", {
          zh: {
            show: "显示控制面板",
            hide: "隐藏控制面板",
            prev: "上一页",
            next: "下一页",
            pause: "停止轮播",
            play: "开始轮播",
            change: "双击修改",
          },
          en: {
            show: "Show control panel",
            hide: "Hide control panel",
            prev: "Previous page",
            next: "Next page",
            pause: "Stop carousel",
            play: "Start carousel",
            change: "Double click to change",
          },
        });
        var Oa = void 0;
        function Ca(t) {
          return (
            (Ca =
              "function" == typeof Symbol && "symbol" == typeof Symbol.iterator
                ? function (t) {
                    return typeof t;
                  }
                : function (t) {
                    return t &&
                      "function" == typeof Symbol &&
                      t.constructor === Symbol &&
                      t !== Symbol.prototype
                      ? "symbol"
                      : typeof t;
                  }),
            Ca(t)
          );
        }
        function Pa(t, e) {
          return (
            (function (t) {
              if (Array.isArray(t)) return t;
            })(t) ||
            (function (t, e) {
              var n =
                null == t
                  ? null
                  : ("undefined" != typeof Symbol && t[Symbol.iterator]) ||
                    t["@@iterator"];
              if (null != n) {
                var r,
                  i,
                  o,
                  a,
                  s = [],
                  c = !0,
                  l = !1;
                try {
                  if (((o = (n = n.call(t)).next), 0 === e)) {
                    if (Object(n) !== n) return;
                    c = !1;
                  } else
                    for (
                      ;
                      !(c = (r = o.call(n)).done) &&
                      (s.push(r.value), s.length !== e);
                      c = !0
                    );
                } catch (t) {
                  (l = !0), (i = t);
                } finally {
                  try {
                    if (
                      !c &&
                      null != n.return &&
                      ((a = n.return()), Object(a) !== a)
                    )
                      return;
                  } finally {
                    if (l) throw i;
                  }
                }
                return s;
              }
            })(t, e) ||
            (function (t, e) {
              if (t) {
                if ("string" == typeof t) return xa(t, e);
                var n = {}.toString.call(t).slice(8, -1);
                return (
                  "Object" === n && t.constructor && (n = t.constructor.name),
                  "Map" === n || "Set" === n
                    ? Array.from(t)
                    : "Arguments" === n ||
                      /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)
                    ? xa(t, e)
                    : void 0
                );
              }
            })(t, e) ||
            (function () {
              throw new TypeError(
                "Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."
              );
            })()
          );
        }
        function xa(t, e) {
          (null == e || e > t.length) && (e = t.length);
          for (var n = 0, r = Array(e); n < e; n++) r[n] = t[n];
          return r;
        }
        function ka(t, e) {
          if (t !== e)
            throw new TypeError("Cannot instantiate an arrow function");
        }
        function Ia(t, e, n) {
          return (
            (e = (function (t) {
              var e = (function (t, e) {
                if ("object" != Ca(t) || !t) return t;
                var n = t[Symbol.toPrimitive];
                if (void 0 !== n) {
                  var r = n.call(t, e || "default");
                  if ("object" != Ca(r)) return r;
                  throw new TypeError(
                    "@@toPrimitive must return a primitive value."
                  );
                }
                return ("string" === e ? String : Number)(t);
              })(t, "string");
              return "symbol" == Ca(e) ? e : e + "";
            })(e)) in t
              ? Object.defineProperty(t, e, {
                  value: n,
                  enumerable: !0,
                  configurable: !0,
                  writable: !0,
                })
              : (t[e] = n),
            t
          );
        }
        var ja = ca.CONTROLBAR_POSITION.TOP_LEFT,
          Ra = ca.CONTROLBAR_POSITION.BOTTOM_LEFT,
          Da = ca.CONTROLBAR_POSITION.BOTTOM_CENTER,
          La = ca.CONTROLBAR_POSITION.BOTTOM_RIGHT,
          Ma = ca.CONTROLBAR_POSITION.TOP_RIGHT,
          Na = Ia(
            Ia(
              Ia(
                Ia(
                  Ia({}, ja, "".concat(ja, "__hide")),
                  Ra,
                  "".concat(Ra, "__hide")
                ),
                Da,
                "".concat(Da, "__hide")
              ),
              La,
              "".concat(La, "__hide")
            ),
            Ma,
            "".concat(Ma, "__hide")
          ),
          $a = Ia(
            Ia(
              Ia(
                Ia(
                  Ia({}, ja, "".concat(ja, "__show")),
                  Ra,
                  "".concat(Ra, "__show")
                ),
                Da,
                "".concat(Da, "__show")
              ),
              La,
              "".concat(La, "__show")
            ),
            Ma,
            "".concat(Ma, "__show")
          );
        const Ba = (0, rt.Ng)(
          function () {
            return (
              ka(this, Oa), { project: (0, at.ph)() || {}, page: (0, S.Vs)() }
            );
          }.bind(void 0)
        )(
          function (t) {
            var e = this;
            ka(this, Oa);
            var n = t.page,
              r = t.project,
              i = t.pageByList,
              o = r.config,
              a = void 0 === o ? {} : o,
              s = r.id,
              c = a.carouselControlbarPosition,
              l = i.length >= 2;
            if (!l || !n || !n.id) return null;
            var u = i.map(
                function (t) {
                  return ka(this, e), t.id;
                }.bind(this)
              ),
              f = u.length,
              d = function () {
                var t = this;
                return (
                  ka(this, e),
                  u.findIndex(
                    function (e) {
                      return ka(this, t), e === n.id;
                    }.bind(this)
                  )
                );
              }.bind(this),
              h = Pa((0, X.useState)(!1), 2),
              p = h[0],
              m = h[1],
              v = Pa((0, X.useState)(d()), 2),
              g = v[0],
              y = v[1],
              b = Pa((0, X.useState)(!1), 2),
              V = b[0],
              _ = b[1],
              w = Pa((0, X.useState)(!1), 2),
              S = w[0],
              E = w[1],
              A = Pa((0, X.useState)(!0), 2),
              T = A[0],
              O = A[1],
              C = Pa((0, X.useState)(!0), 2),
              P = C[0],
              x = C[1],
              k = (0, X.useRef)(),
              I = (0, X.useRef)(!0),
              j = (0, ot.W6)(),
              R = "".concat(
                j.location.pathname.split("/").splice(0, 3).join("/"),
                "/"
              );
            (0, X.useEffect)(
              function () {
                ka(this, e);
                var t = d();
                O(-1 !== t), y(t + 1);
              }.bind(this),
              [n.id]
            );
            var D = function (t) {
                var n;
                ka(this, e);
                var r = t.target.value,
                  o = Number(r);
                if (_a.test(t.target.value)) {
                  var a = (o % f) - 1,
                    c =
                      null === (n = i[a < 0 ? f - 1 : a]) || void 0 === n
                        ? void 0
                        : n.id;
                  c && j.push("".concat(R).concat(s, "/").concat(c));
                }
              }.bind(this),
              L = function () {
                var t = this;
                ka(this, e),
                  m(!0),
                  setTimeout(
                    function () {
                      ka(this, t), k.current.focus();
                    }.bind(this)
                  );
              }.bind(this),
              M = pe.A.throttle(
                function () {
                  ka(this, e), m(!1);
                }.bind(this),
                400,
                { leading: !1, trailing: !0 }
              ),
              N = function () {
                var t;
                ka(this, e);
                var n = null === (t = i[g % f]) || void 0 === t ? void 0 : t.id;
                n && j.push("".concat(R).concat(s, "/").concat(n));
              }.bind(this),
              $ = function () {
                var t;
                ka(this, e);
                var n =
                  null === (t = i[g - 2 < 0 ? f - 1 : g - 2]) || void 0 === t
                    ? void 0
                    : t.id;
                n && j.push("".concat(R).concat(s, "/").concat(n));
              }.bind(this),
              B = function (t) {
                ka(this, e), _(t);
              }.bind(this),
              U = function () {
                ka(this, e), t.onPlay(), N(), x(!0);
              }.bind(this),
              F = function () {
                ka(this, e), t.onStop(), x(!1);
              }.bind(this),
              H = (0, X.useMemo)(
                function () {
                  return ka(this, e), c ? (S ? $a[c] : Na[c]) : {};
                }.bind(this),
                [c, S]
              );
            return (
              (0, X.useEffect)(
                function () {
                  var t = this;
                  if ((ka(this, e), !T))
                    return function () {
                      ka(this, t);
                    }.bind(this);
                  E(!0);
                  var n = setTimeout(
                      function () {
                        ka(this, t), (I.current = !1), E(!1);
                      }.bind(this),
                      3e3
                    ),
                    r = pe.A.throttle(
                      function (e) {
                        var r = this;
                        ka(this, t);
                        var i = e.clientX,
                          o = e.clientY,
                          a = e.path,
                          s = document.body,
                          l = s.clientHeight,
                          u = s.clientWidth;
                        switch (!0) {
                          case i > 16 &&
                            i < 64 &&
                            o < 16 &&
                            c === ca.CONTROLBAR_POSITION.TOP_LEFT:
                            B(!0);
                          case i > 16 &&
                            i < 64 &&
                            o > l - 16 &&
                            c === ca.CONTROLBAR_POSITION.BOTTOM_LEFT:
                            B(!0);
                          case i > u / 2 - 100 &&
                            i < u / 2 + 100 &&
                            o > l - 50 &&
                            c === ca.CONTROLBAR_POSITION.BOTTOM_CENTER:
                            B(!0);
                          case i > u - 64 &&
                            i < u - 16 &&
                            o > l - 16 &&
                            c === ca.CONTROLBAR_POSITION.BOTTOM_RIGHT:
                            B(!0);
                          case i > u - 64 &&
                            i < u - 16 &&
                            o < 16 &&
                            c === ca.CONTROLBAR_POSITION.TOP_RIGHT:
                            B(!0);
                          case a.some(
                            function (t) {
                              var e, n;
                              return (
                                ka(this, r),
                                null === (e = t.className) ||
                                void 0 === e ||
                                null === (n = e.includes) ||
                                void 0 === n
                                  ? void 0
                                  : n.call(e, "carouselControlbar__wrapper")
                              );
                            }.bind(this)
                          ):
                            E(!0), clearTimeout(n), (I.current = !1);
                            break;
                          default:
                            I.current || (E(!1), _(!1));
                        }
                      }.bind(this),
                      400
                    );
                  return (
                    document.addEventListener("mousemove", r),
                    function () {
                      ka(this, t), document.removeEventListener("mousemove", r);
                    }.bind(this)
                  );
                }.bind(this),
                [c, T]
              ),
              (0, X.useEffect)(
                function () {
                  var t = this;
                  if ((ka(this, e), !T))
                    return function () {
                      ka(this, t);
                    }.bind(this);
                  function n(t) {
                    var e = t.keyCode,
                      n = t.ctrlKey,
                      r = t.metaKey;
                    t.shiftKey;
                    if (n || r)
                      switch (e) {
                        case Ta:
                          if (!l) break;
                          P ? F() : U(), E(!0), B(!0);
                          break;
                        case wa:
                        case Ea:
                          $(), E(!0), B(!0);
                          break;
                        case Sa:
                        case Aa:
                          N(), E(!0), B(!0);
                      }
                  }
                  return (
                    window.document.addEventListener("keyup", n),
                    function () {
                      ka(this, t),
                        window.document.removeEventListener("keyup", n);
                    }.bind(this)
                  );
                }.bind(this),
                [P, T, g]
              ),
              X.createElement(
                "div",
                {
                  className: "carouselControlbar__wrapper "
                    .concat(H, " ")
                    .concat(T ? "" : "carouselControlbar__hide"),
                },
                X.createElement(
                  "ul",
                  {
                    className: V
                      ? "carouselControlbar__list"
                      : "carouselControlbar__currentInputHide",
                  },
                  X.createElement(
                    "li",
                    {
                      className:
                        "carouselControlbar__item carouselControlbar__prev",
                    },
                    X.createElement(aa.A, {
                      title: (0, K.get)("pageCarousel.prev"),
                      type: "link",
                      icon: X.createElement(na.A, {
                        style: { color: "#ffffff" },
                      }),
                      onClick: pe.A.debounce($, 300),
                    })
                  ),
                  X.createElement(
                    "li",
                    {
                      className:
                        "carouselControlbar__item carouselControlbar__pageControl",
                    },
                    X.createElement(
                      "div",
                      {
                        className:
                          "carouselControlbar__item carouselControlbar__current",
                      },
                      X.createElement(
                        "span",
                        {
                          title: (0, K.get)("pageCarousel.change"),
                          className: p
                            ? "carouselControlbar__currentInputHide"
                            : "carouselControlbar__current_readOnly",
                          onDoubleClick: L,
                        },
                        g
                      ),
                      X.createElement(sa.A, {
                        ref: k,
                        className: p
                          ? ""
                          : "carouselControlbar__currentInputHide",
                        size: "small",
                        style: { width: 24, height: 24 },
                        onChange: pe.A.throttle(D, 300),
                        onBlur: M,
                        onPressEnter: M,
                        value: g,
                      })
                    ),
                    "/",
                    X.createElement(
                      "div",
                      {
                        className:
                          "carouselControlbar__item carouselControlbar__total",
                      },
                      X.createElement(
                        "span",
                        { className: "carouselControlbar__total_text" },
                        " ",
                        f
                      )
                    )
                  ),
                  X.createElement(
                    "li",
                    {
                      className:
                        "carouselControlbar__item carouselControlbar__next",
                    },
                    X.createElement(aa.A, {
                      title: (0, K.get)("pageCarousel.next"),
                      type: "link",
                      icon: X.createElement(ra.A, {
                        style: { color: "#ffffff" },
                      }),
                      onClick: pe.A.debounce(N, 300),
                    })
                  ),
                  l
                    ? X.createElement(
                        "li",
                        {
                          className:
                            "carouselControlbar__item carouselControlbar__play",
                        },
                        P
                          ? X.createElement(aa.A, {
                              title: (0, K.get)("pageCarousel.pause"),
                              className: "carouselControlbar__pause_btn",
                              type: "link",
                              icon: X.createElement(oa.A, {
                                style: { color: "#ffffff" },
                              }),
                              onClick: pe.A.throttle(F, 300),
                            })
                          : X.createElement(aa.A, {
                              title: (0, K.get)("pageCarousel.play"),
                              className: "carouselControlbar__play_btn",
                              type: "link",
                              icon: X.createElement(ia.A, {
                                style: { color: "#ffffff" },
                              }),
                              onClick: pe.A.throttle(U, 300),
                            })
                      )
                    : null
                )
              )
            );
          }.bind(void 0)
        );
        var Ua = void 0;
        function Fa(t, e) {
          if (t !== e)
            throw new TypeError("Cannot instantiate an arrow function");
        }
        var Ha = 0,
          Ga = "running";
        const Wa = (0, rt.Ng)(
          function () {
            return Fa(this, Ua), { pageId: (0, S.Vs)().id };
          }.bind(void 0)
        )(
          function (t) {
            var e,
              n = this;
            Fa(this, Ua);
            var r = (0, ot.W6)(),
              i = (0, at.ph)() || {},
              o = t.pageId,
              a = i.config,
              s = void 0 === a ? {} : a,
              c = i.children,
              l = (void 0 === c ? [] : c).reduce(
                function (t, e) {
                  return Fa(this, n), (t[e.id] = e), t;
                }.bind(this),
                {}
              ),
              u = (null !== (e = s.pageByList) && void 0 !== e ? e : []).filter(
                function (t) {
                  return Fa(this, n), t.id && l[t.id] && 1 !== l[t.id].hide;
                }.bind(this)
              ),
              f = u.length,
              d = u.map(
                function (t) {
                  return Fa(this, n), t.id;
                }.bind(this)
              ),
              h = u.filter(
                function (t) {
                  return Fa(this, n), t.id === o;
                }.bind(this)
              )[0] || { delay: 10 },
              p = (0, X.useCallback)(
                function () {
                  var t = this;
                  return (
                    Fa(this, n),
                    setTimeout(
                      function () {
                        var e = this;
                        if ((Fa(this, t), "pause" !== Ga)) {
                          var n =
                              d.findIndex(
                                function (t) {
                                  return Fa(this, e), t === o;
                                }.bind(this)
                              ) + 1,
                            a = "".concat(
                              r.location.pathname
                                .split("/")
                                .splice(0, 3)
                                .join("/"),
                              "/"
                            );
                          r.push(
                            ""
                              .concat(a)
                              .concat(i.id, "/")
                              .concat(u[n % f].id)
                          );
                        }
                      }.bind(this),
                      1e3 * h.delay
                    )
                  );
                }.bind(this),
                [o, i]
              );
            function m() {
              (Ga = "pause"), clearTimeout(Ha);
            }
            function v() {
              (Ga = "running"), (Ha = p());
            }
            return (
              (0, _t.A)(SF, "lib.__pageCarousel", { stop: m, play: v }),
              (0, X.useEffect)(
                function () {
                  var t = this;
                  Fa(this, n), o && f > 1 && d.includes(o) && (Ha = p());
                  var e = function () {
                    Fa(this, t),
                      o &&
                        f > 1 &&
                        d.includes(o) &&
                        ("visible" !== document.visibilityState ? m() : v());
                  }.bind(this);
                  document.addEventListener("visibilitychange", e);
                  var r = Q()(".runtime__container")[0],
                    i = (0, ea.A)(
                      function () {
                        Fa(this, t), clearTimeout(Ha), (Ha = p());
                      }.bind(this),
                      300
                    );
                  return (
                    d.includes(o) && r && r.addEventListener("mousemove", i),
                    function () {
                      Fa(this, t),
                        clearTimeout(Ha),
                        r.removeEventListener("mousemove", i),
                        document.removeEventListener("visibilitychange", e);
                    }.bind(this)
                  );
                }.bind(this),
                [o]
              ),
              X.createElement(Ba, { pageByList: u, onStop: m, onPlay: v })
            );
          }.bind(void 0)
        );
        var za = n(77500),
          qa = n(14251);
        function Xa(t) {
          return (
            (Xa =
              "function" == typeof Symbol && "symbol" == typeof Symbol.iterator
                ? function (t) {
                    return typeof t;
                  }
                : function (t) {
                    return t &&
                      "function" == typeof Symbol &&
                      t.constructor === Symbol &&
                      t !== Symbol.prototype
                      ? "symbol"
                      : typeof t;
                  }),
            Xa(t)
          );
        }
        function Ya(t, e) {
          var n = Object.keys(t);
          if (Object.getOwnPropertySymbols) {
            var r = Object.getOwnPropertySymbols(t);
            e &&
              (r = r.filter(function (e) {
                return Object.getOwnPropertyDescriptor(t, e).enumerable;
              })),
              n.push.apply(n, r);
          }
          return n;
        }
        function Ka(t) {
          for (var e = 1; e < arguments.length; e++) {
            var n = null != arguments[e] ? arguments[e] : {};
            e % 2
              ? Ya(Object(n), !0).forEach(function (e) {
                  os(t, e, n[e]);
                })
              : Object.getOwnPropertyDescriptors
              ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(n))
              : Ya(Object(n)).forEach(function (e) {
                  Object.defineProperty(
                    t,
                    e,
                    Object.getOwnPropertyDescriptor(n, e)
                  );
                });
          }
          return t;
        }
        function Za(t, e) {
          if (t !== e)
            throw new TypeError("Cannot instantiate an arrow function");
        }
        function Ja(t) {
          return (
            (function (t) {
              if (Array.isArray(t)) return Qa(t);
            })(t) ||
            (function (t) {
              if (
                ("undefined" != typeof Symbol && null != t[Symbol.iterator]) ||
                null != t["@@iterator"]
              )
                return Array.from(t);
            })(t) ||
            (function (t, e) {
              if (t) {
                if ("string" == typeof t) return Qa(t, e);
                var n = {}.toString.call(t).slice(8, -1);
                return (
                  "Object" === n && t.constructor && (n = t.constructor.name),
                  "Map" === n || "Set" === n
                    ? Array.from(t)
                    : "Arguments" === n ||
                      /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)
                    ? Qa(t, e)
                    : void 0
                );
              }
            })(t) ||
            (function () {
              throw new TypeError(
                "Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."
              );
            })()
          );
        }
        function Qa(t, e) {
          (null == e || e > t.length) && (e = t.length);
          for (var n = 0, r = Array(e); n < e; n++) r[n] = t[n];
          return r;
        }
        function ts(t, e) {
          for (var n = 0; n < e.length; n++) {
            var r = e[n];
            (r.enumerable = r.enumerable || !1),
              (r.configurable = !0),
              "value" in r && (r.writable = !0),
              Object.defineProperty(t, as(r.key), r);
          }
        }
        function es(t, e, n) {
          return (
            (e = rs(e)),
            (function (t, e) {
              if (e && ("object" == Xa(e) || "function" == typeof e)) return e;
              if (void 0 !== e)
                throw new TypeError(
                  "Derived constructors may only return object or undefined"
                );
              return (function (t) {
                if (void 0 === t)
                  throw new ReferenceError(
                    "this hasn't been initialised - super() hasn't been called"
                  );
                return t;
              })(t);
            })(
              t,
              ns()
                ? Reflect.construct(e, n || [], rs(t).constructor)
                : e.apply(t, n)
            )
          );
        }
        function ns() {
          try {
            var t = !Boolean.prototype.valueOf.call(
              Reflect.construct(Boolean, [], function () {})
            );
          } catch (t) {}
          return (ns = function () {
            return !!t;
          })();
        }
        function rs(t) {
          return (
            (rs = Object.setPrototypeOf
              ? Object.getPrototypeOf.bind()
              : function (t) {
                  return t.__proto__ || Object.getPrototypeOf(t);
                }),
            rs(t)
          );
        }
        function is(t, e) {
          return (
            (is = Object.setPrototypeOf
              ? Object.setPrototypeOf.bind()
              : function (t, e) {
                  return (t.__proto__ = e), t;
                }),
            is(t, e)
          );
        }
        function os(t, e, n) {
          return (
            (e = as(e)) in t
              ? Object.defineProperty(t, e, {
                  value: n,
                  enumerable: !0,
                  configurable: !0,
                  writable: !0,
                })
              : (t[e] = n),
            t
          );
        }
        function as(t) {
          var e = (function (t, e) {
            if ("object" != Xa(t) || !t) return t;
            var n = t[Symbol.toPrimitive];
            if (void 0 !== n) {
              var r = n.call(t, e || "default");
              if ("object" != Xa(r)) return r;
              throw new TypeError(
                "@@toPrimitive must return a primitive value."
              );
            }
            return ("string" === e ? String : Number)(t);
          })(t, "string");
          return "symbol" == Xa(e) ? e : e + "";
        }
        var ss = (function (t) {
            function e(t) {
              var n;
              return (
                (function (t, e) {
                  if (!(t instanceof e))
                    throw new TypeError("Cannot call a class as a function");
                })(this, e),
                os((n = es(this, e)), "_enterAnimation", []),
                os(n, "_outerAnimation", []),
                n.init(t),
                n
              );
            }
            return (
              (function (t, e) {
                if ("function" != typeof e && null !== e)
                  throw new TypeError(
                    "Super expression must either be null or a function"
                  );
                (t.prototype = Object.create(e && e.prototype, {
                  constructor: { value: t, writable: !0, configurable: !0 },
                })),
                  Object.defineProperty(t, "prototype", { writable: !1 }),
                  e && is(t, e);
              })(e, t),
              (function (t, e, n) {
                return (
                  e && ts(t.prototype, e),
                  n && ts(t, n),
                  Object.defineProperty(t, "prototype", { writable: !1 }),
                  t
                );
              })(e, [
                {
                  key: "init",
                  value: function (t) {
                    var e = this,
                      n = t.id,
                      r = t.config.sceneAnimation,
                      i = void 0 === r ? [] : r,
                      o = Math.min.apply(
                        Math,
                        Ja(
                          i
                            .filter(
                              function (t) {
                                return Za(this, e), t.outer;
                              }.bind(this)
                            )
                            .map(
                              function (t) {
                                return Za(this, e), t.startTime;
                              }.bind(this)
                            )
                        ).concat([0])
                      );
                    i.forEach(
                      function (t) {
                        var r;
                        Za(this, e);
                        var i = (0, S.Y9)(t.componentId, n);
                        if (
                          i &&
                          !0 ===
                            (null === (r = i.config) ||
                            void 0 === r ||
                            null === (r = r.basicConfig) ||
                            void 0 === r
                              ? void 0
                              : r.display)
                        ) {
                          var a = (0, qa.A)(
                            Ka(
                              Ka({}, t),
                              {},
                              {
                                startTime: t.outer
                                  ? t.startTime - o
                                  : t.startTime,
                                target: i.$parent[0],
                              }
                            )
                          );
                          t.outer
                            ? this._outerAnimation.push(a)
                            : this._enterAnimation.push(a),
                            (a.__COMPONENT__ = i);
                        }
                      }.bind(this)
                    );
                  },
                },
                {
                  key: "start",
                  value: function () {
                    var t = this,
                      e =
                        arguments.length > 0 &&
                        void 0 !== arguments[0] &&
                        arguments[0],
                      n = this.getAnimations(e);
                    this.execHooks(
                      "before".concat(e ? "Outer" : "Enter", "Start"),
                      n
                    ),
                      n.forEach(
                        function (e) {
                          return Za(this, t), e.start();
                        }.bind(this)
                      );
                  },
                },
                {
                  key: "stop",
                  value: function () {
                    var t = this,
                      e =
                        arguments.length > 0 &&
                        void 0 !== arguments[0] &&
                        arguments[0],
                      n = this.getAnimations(e);
                    this.execHooks(
                      "before".concat(e ? "Outer" : "Enter", "Stop"),
                      n
                    ),
                      n.forEach(
                        function (e) {
                          return Za(this, t), e.stop();
                        }.bind(this)
                      );
                  },
                },
                {
                  key: "getAnimations",
                  value: function () {
                    return arguments.length > 0 &&
                      void 0 !== arguments[0] &&
                      arguments[0]
                      ? this._outerAnimation
                      : this._enterAnimation;
                  },
                },
                {
                  key: "destroy",
                  value: function () {
                    (this._enterAnimation = null),
                      (this._outerAnimation = null);
                  },
                },
              ])
            );
          })(de.Ay),
          cs = n(54497);
        function ls(t) {
          return (
            (function (t) {
              if (Array.isArray(t)) return us(t);
            })(t) ||
            (function (t) {
              if (
                ("undefined" != typeof Symbol && null != t[Symbol.iterator]) ||
                null != t["@@iterator"]
              )
                return Array.from(t);
            })(t) ||
            (function (t, e) {
              if (t) {
                if ("string" == typeof t) return us(t, e);
                var n = {}.toString.call(t).slice(8, -1);
                return (
                  "Object" === n && t.constructor && (n = t.constructor.name),
                  "Map" === n || "Set" === n
                    ? Array.from(t)
                    : "Arguments" === n ||
                      /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)
                    ? us(t, e)
                    : void 0
                );
              }
            })(t) ||
            (function () {
              throw new TypeError(
                "Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."
              );
            })()
          );
        }
        function us(t, e) {
          (null == e || e > t.length) && (e = t.length);
          for (var n = 0, r = Array(e); n < e; n++) r[n] = t[n];
          return r;
        }
        function fs(t, e) {
          if (t !== e)
            throw new TypeError("Cannot instantiate an arrow function");
        }
        var ds = [];
        function hs(t) {
          var e = this;
          ds = ls(
            ds.filter(
              function (n) {
                return fs(this, e), n.pageId !== t;
              }.bind(this)
            )
          );
        }
        function ps(t) {
          return (
            (ps =
              "function" == typeof Symbol && "symbol" == typeof Symbol.iterator
                ? function (t) {
                    return typeof t;
                  }
                : function (t) {
                    return t &&
                      "function" == typeof Symbol &&
                      t.constructor === Symbol &&
                      t !== Symbol.prototype
                      ? "symbol"
                      : typeof t;
                  }),
            ps(t)
          );
        }
        function ms(t, e) {
          for (var n = 0; n < e.length; n++) {
            var r = e[n];
            (r.enumerable = r.enumerable || !1),
              (r.configurable = !0),
              "value" in r && (r.writable = !0),
              Object.defineProperty(t, gs(r.key), r);
          }
        }
        function vs(t, e, n) {
          return (
            (e = gs(e)) in t
              ? Object.defineProperty(t, e, {
                  value: n,
                  enumerable: !0,
                  configurable: !0,
                  writable: !0,
                })
              : (t[e] = n),
            t
          );
        }
        function gs(t) {
          var e = (function (t, e) {
            if ("object" != ps(t) || !t) return t;
            var n = t[Symbol.toPrimitive];
            if (void 0 !== n) {
              var r = n.call(t, e || "default");
              if ("object" != ps(r)) return r;
              throw new TypeError(
                "@@toPrimitive must return a primitive value."
              );
            }
            return ("string" === e ? String : Number)(t);
          })(t, "string");
          return "symbol" == ps(e) ? e : e + "";
        }
        var ys = (function () {
          return (function (t, e, n) {
            return (
              e && ms(t.prototype, e),
              n && ms(t, n),
              Object.defineProperty(t, "prototype", { writable: !1 }),
              t
            );
          })(
            function t() {
              !(function (t, e) {
                if (!(t instanceof e))
                  throw new TypeError("Cannot call a class as a function");
              })(this, t);
            },
            null,
            [
              {
                key: "init",
                value: function () {
                  var t;
                  0 === this.comLength &&
                    ((this.comLength =
                      (null === (t = (0, S.nx)()) || void 0 === t
                        ? void 0
                        : t.length) + Q()(".component-zIndex-top").length),
                    (this.max = this.comLength));
                },
              },
              {
                key: "addMax",
                value: function () {
                  this.max += 1;
                },
              },
              {
                key: "reduceMax",
                value: function () {
                  this.max - 1 <
                    this.comLength + Q()(".component-zIndex-top").length ||
                    (this.max -= 1);
                },
              },
              {
                key: "getMax",
                value: function () {
                  return this.max;
                },
              },
              {
                key: "toFront",
                value: function (t) {
                  t.addClass("component-zIndex-top"),
                    this.addMax(),
                    t.css("z-index", this.getMax());
                },
              },
              {
                key: "toOrigin",
                value: function (t) {
                  t.css("z-index", "unset"),
                    t.removeClass("component-zIndex-top"),
                    this.reduceMax();
                },
              },
              {
                key: "dispose",
                value: function () {
                  (this.comLength = 0), (this.max = null);
                },
              },
            ]
          );
        })();
        vs(ys, "max", null), vs(ys, "comLength", 0);
        var bs = n(86696);
        function Vs(t, e) {
          return (
            (function (t) {
              if (Array.isArray(t)) return t;
            })(t) ||
            (function (t, e) {
              var n =
                null == t
                  ? null
                  : ("undefined" != typeof Symbol && t[Symbol.iterator]) ||
                    t["@@iterator"];
              if (null != n) {
                var r,
                  i,
                  o,
                  a,
                  s = [],
                  c = !0,
                  l = !1;
                try {
                  if (((o = (n = n.call(t)).next), 0 === e)) {
                    if (Object(n) !== n) return;
                    c = !1;
                  } else
                    for (
                      ;
                      !(c = (r = o.call(n)).done) &&
                      (s.push(r.value), s.length !== e);
                      c = !0
                    );
                } catch (t) {
                  (l = !0), (i = t);
                } finally {
                  try {
                    if (
                      !c &&
                      null != n.return &&
                      ((a = n.return()), Object(a) !== a)
                    )
                      return;
                  } finally {
                    if (l) throw i;
                  }
                }
                return s;
              }
            })(t, e) ||
            (function (t, e) {
              if (t) {
                if ("string" == typeof t) return _s(t, e);
                var n = {}.toString.call(t).slice(8, -1);
                return (
                  "Object" === n && t.constructor && (n = t.constructor.name),
                  "Map" === n || "Set" === n
                    ? Array.from(t)
                    : "Arguments" === n ||
                      /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)
                    ? _s(t, e)
                    : void 0
                );
              }
            })(t, e) ||
            (function () {
              throw new TypeError(
                "Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."
              );
            })()
          );
        }
        function _s(t, e) {
          (null == e || e > t.length) && (e = t.length);
          for (var n = 0, r = Array(e); n < e; n++) r[n] = t[n];
          return r;
        }
        var ws,
          Ss,
          Es,
          As,
          Ts,
          Os,
          Cs,
          Ps = ["&quot;", "&#x27;", "&amp;", "&lt;", "&gt;"],
          xs = ['"', "'", "&", "<", ">"];
        function ks(t) {
          var e = this,
            n = t;
          Ps.forEach(
            function (t, r) {
              !(function (t, e) {
                if (t !== e)
                  throw new TypeError("Cannot instantiate an arrow function");
              })(this, e),
                (n = n.replaceAll(t, xs[r]));
            }.bind(this)
          );
          for (
            var r = /background-image:\s*url\("(.+?)"\);/, i = n.match(r);
            i;

          ) {
            var o = Vs(i, 1)[0],
              a = i.index,
              s = o.replaceAll('"', "'");
            i = (n = n.slice(0, a) + s + n.slice(a + o.length)).match(r);
          }
          return n;
        }
        function Is(t) {
          return (
            (Is =
              "function" == typeof Symbol && "symbol" == typeof Symbol.iterator
                ? function (t) {
                    return typeof t;
                  }
                : function (t) {
                    return t &&
                      "function" == typeof Symbol &&
                      t.constructor === Symbol &&
                      t !== Symbol.prototype
                      ? "symbol"
                      : typeof t;
                  }),
            Is(t)
          );
        }
        function js(t, e) {
          var n = Object.keys(t);
          if (Object.getOwnPropertySymbols) {
            var r = Object.getOwnPropertySymbols(t);
            e &&
              (r = r.filter(function (e) {
                return Object.getOwnPropertyDescriptor(t, e).enumerable;
              })),
              n.push.apply(n, r);
          }
          return n;
        }
        function Rs(t) {
          for (var e = 1; e < arguments.length; e++) {
            var n = null != arguments[e] ? arguments[e] : {};
            e % 2
              ? js(Object(n), !0).forEach(function (e) {
                  Hs(t, e, n[e]);
                })
              : Object.getOwnPropertyDescriptors
              ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(n))
              : js(Object(n)).forEach(function (e) {
                  Object.defineProperty(
                    t,
                    e,
                    Object.getOwnPropertyDescriptor(n, e)
                  );
                });
          }
          return t;
        }
        function Ds(t, e) {
          if (t !== e)
            throw new TypeError("Cannot instantiate an arrow function");
        }
        function Ls(t) {
          return (
            (function (t) {
              if (Array.isArray(t)) return Ms(t);
            })(t) ||
            (function (t) {
              if (
                ("undefined" != typeof Symbol && null != t[Symbol.iterator]) ||
                null != t["@@iterator"]
              )
                return Array.from(t);
            })(t) ||
            (function (t, e) {
              if (t) {
                if ("string" == typeof t) return Ms(t, e);
                var n = {}.toString.call(t).slice(8, -1);
                return (
                  "Object" === n && t.constructor && (n = t.constructor.name),
                  "Map" === n || "Set" === n
                    ? Array.from(t)
                    : "Arguments" === n ||
                      /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)
                    ? Ms(t, e)
                    : void 0
                );
              }
            })(t) ||
            (function () {
              throw new TypeError(
                "Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."
              );
            })()
          );
        }
        function Ms(t, e) {
          (null == e || e > t.length) && (e = t.length);
          for (var n = 0, r = Array(e); n < e; n++) r[n] = t[n];
          return r;
        }
        function Ns(t, e) {
          for (var n = 0; n < e.length; n++) {
            var r = e[n];
            (r.enumerable = r.enumerable || !1),
              (r.configurable = !0),
              "value" in r && (r.writable = !0),
              Object.defineProperty(t, Gs(r.key), r);
          }
        }
        function $s(t, e, n) {
          return (
            (e = Us(e)),
            (function (t, e) {
              if (e && ("object" == Is(e) || "function" == typeof e)) return e;
              if (void 0 !== e)
                throw new TypeError(
                  "Derived constructors may only return object or undefined"
                );
              return (function (t) {
                if (void 0 === t)
                  throw new ReferenceError(
                    "this hasn't been initialised - super() hasn't been called"
                  );
                return t;
              })(t);
            })(
              t,
              Bs()
                ? Reflect.construct(e, n || [], Us(t).constructor)
                : e.apply(t, n)
            )
          );
        }
        function Bs() {
          try {
            var t = !Boolean.prototype.valueOf.call(
              Reflect.construct(Boolean, [], function () {})
            );
          } catch (t) {}
          return (Bs = function () {
            return !!t;
          })();
        }
        function Us(t) {
          return (
            (Us = Object.setPrototypeOf
              ? Object.getPrototypeOf.bind()
              : function (t) {
                  return t.__proto__ || Object.getPrototypeOf(t);
                }),
            Us(t)
          );
        }
        function Fs(t, e) {
          return (
            (Fs = Object.setPrototypeOf
              ? Object.setPrototypeOf.bind()
              : function (t, e) {
                  return (t.__proto__ = e), t;
                }),
            Fs(t, e)
          );
        }
        function Hs(t, e, n) {
          return (
            (e = Gs(e)) in t
              ? Object.defineProperty(t, e, {
                  value: n,
                  enumerable: !0,
                  configurable: !0,
                  writable: !0,
                })
              : (t[e] = n),
            t
          );
        }
        function Gs(t) {
          var e = (function (t, e) {
            if ("object" != Is(t) || !t) return t;
            var n = t[Symbol.toPrimitive];
            if (void 0 !== n) {
              var r = n.call(t, e || "default");
              if ("object" != Is(r)) return r;
              throw new TypeError(
                "@@toPrimitive must return a primitive value."
              );
            }
            return ("string" === e ? String : Number)(t);
          })(t, "string");
          return "symbol" == Is(e) ? e : e + "";
        }
        function Ws(t, e, n, r, i) {
          var o = {};
          return (
            Object.keys(r).forEach(function (t) {
              o[t] = r[t];
            }),
            (o.enumerable = !!o.enumerable),
            (o.configurable = !!o.configurable),
            ("value" in o || o.initializer) && (o.writable = !0),
            (o = n
              .slice()
              .reverse()
              .reduce(function (n, r) {
                return r(t, e, n) || n;
              }, o)),
            i &&
              void 0 !== o.initializer &&
              ((o.value = o.initializer ? o.initializer.call(i) : void 0),
              (o.initializer = void 0)),
            void 0 === o.initializer
              ? (Object.defineProperty(t, e, o), null)
              : o
          );
        }
        var zs =
            ((ws = de.Ay.registHook("beforeInit")),
            (Ss = de.Ay.registHook("afterInit", !1)),
            (Es = de.Ay.registHook("beforeRender")),
            (As = de.Ay.registHook("afterRender", !1)),
            (Ts = de.Ay.registHook("beforeDestroy")),
            (Os = de.Ay.registHook("afterDestroy", !1)),
            (Cs = (function (t) {
              function e(t) {
                var n,
                  r = this,
                  i =
                    arguments.length > 1 && void 0 !== arguments[1]
                      ? arguments[1]
                      : (0, S.Vs)();
                !(function (t, e) {
                  if (!(t instanceof e))
                    throw new TypeError("Cannot call a class as a function");
                })(this, e),
                  Hs((n = $s(this, e)), "_pageId", ""),
                  Hs(n, "_outAnimation", null),
                  Hs(n, "_outAnimationMinDelay", null),
                  Hs(n, "_enterAnimation", null),
                  Hs(n, "_sceneAnimation", null),
                  Hs(n, "$parent", void 0),
                  Hs(n, "$element", void 0),
                  Hs(n, "$container", void 0),
                  Hs(n, "config", {}),
                  (n._pageId = i.id),
                  (n.$container = t),
                  (n.config = {
                    codeConfig: (0, za.A)(i, "config.codeConfig", ""),
                  });
                var o = i.config.sceneAnimation,
                  a = void 0 === o ? [] : o;
                n._outAnimationMinDelay = Math.min.apply(
                  Math,
                  Ls(
                    a
                      .filter(
                        function (t) {
                          return Ds(this, r), t.outer;
                        }.bind(this)
                      )
                      .map(
                        function (t) {
                          return Ds(this, r), t.startTime;
                        }.bind(this)
                      )
                  ).concat([0])
                );
                var s = Q()("#ux_".concat(i.id));
                return (
                  (n.$parent =
                    1 === s.length
                      ? s
                      : Q()(
                          '<div class="ux-page" id='.concat(
                            "ux_".concat(i.id),
                            "></div>"
                          )
                        )),
                  t.append(n.$parent),
                  n
                );
              }
              return (
                (function (t, e) {
                  if ("function" != typeof e && null !== e)
                    throw new TypeError(
                      "Super expression must either be null or a function"
                    );
                  (t.prototype = Object.create(e && e.prototype, {
                    constructor: { value: t, writable: !0, configurable: !0 },
                  })),
                    Object.defineProperty(t, "prototype", { writable: !1 }),
                    e && Fs(t, e);
                })(e, t),
                (function (t, e, n) {
                  return (
                    e && Ns(t.prototype, e),
                    n && Ns(t, n),
                    Object.defineProperty(t, "prototype", { writable: !1 }),
                    t
                  );
                })(e, [
                  {
                    key: "_buildEnterAnimation",
                    value: function (t) {
                      return (
                        (this._enterAnimation = (0, qa.A)(
                          Rs({ target: this.$parent[0] }, t)
                        )),
                        this._enterAnimation
                      );
                    },
                  },
                  {
                    key: "_buildOutAnimation",
                    value: function (t) {
                      return (
                        (this._outAnimation = (0, qa.A)(
                          Rs({ target: this.$parent[0] }, (0, cs.zR)(t))
                        )),
                        this._outAnimation
                      );
                    },
                  },
                  {
                    key: "_getSSGId",
                    value: function () {
                      return (
                        (0, za.A)(SF, "data.user.userId", "") +
                        "_" +
                        this._pageId
                      );
                    },
                  },
                  {
                    key: "mount",
                    value: async function () {
                      var t,
                        e,
                        n,
                        r,
                        i,
                        o,
                        a,
                        s,
                        c =
                          arguments.length > 0 && void 0 !== arguments[0]
                            ? arguments[0]
                            : (0, S.Wv)(this._pageId);
                      if (
                        ((function (t) {
                          var e = t.config.loading || {};
                          if (null == e ? void 0 : e.enable) {
                            var n,
                              r =
                                null === (n = SF.data.project) ||
                                void 0 === n ||
                                null === (n = n.config) ||
                                void 0 === n
                                  ? void 0
                                  : n.loading,
                              i = r || {},
                              o = i.icon,
                              a = i.text,
                              s = i.fontSize,
                              c =
                                (null == e ? void 0 : e.backgroundColor) ||
                                (null == r ? void 0 : r.backgroundColor),
                              l =
                                (null == e ? void 0 : e.fontColor) ||
                                (null == r ? void 0 : r.fontColor);
                            et({
                              backgroundColor: c,
                              fontColor: l,
                              icon: o,
                              text: a,
                              fontSize: s,
                            });
                          }
                        })(c),
                        v.A.execHooks(
                          "beforeLoadPageFonts",
                          null === (t = c.config) || void 0 === t
                            ? void 0
                            : t.fontConfigs
                        ),
                        (0, bs.o$)(
                          null === (e = c.config) || void 0 === e
                            ? void 0
                            : e.fontConfigs
                        ),
                        !this.$element)
                      ) {
                        if (!1 !== c.config.openSSG && (0, g.fx)()) {
                          var l = await (async function (t) {
                            var e,
                              n = Fo[t];
                            n || (n = await Ho(t)), n && (Fo[t] = n);
                            var r = document.createDocumentFragment();
                            return (
                              r.append(
                                null !== (e = Q()(null != n ? n : "")[0]) &&
                                  void 0 !== e
                                  ? e
                                  : ""
                              ),
                              r
                            );
                          })(this._getSSGId());
                          this.$parent[0].append(l);
                        }
                        var u = this.$parent.children();
                        (this.$element =
                          u.length > 0
                            ? u
                            : Q()('<div class="ux-page-element"></div>')),
                          (n = c),
                          (r = this.$element),
                          (i = n.config),
                          (o = i.width),
                          (a = i.height),
                          (s = xo(n.config.background, o, a).cssStr),
                          r.css("cssText", r[0].style.cssText + s),
                          (0, ko.A)(
                            null == c ? void 0 : c.config,
                            this.$element
                          ),
                          sfLogger.timeEnd("load page time");
                      }
                      this.$parent.append(this.$element),
                        Mo(c.config, this.$element),
                        (c.$element = this.$element),
                        (c.$parent = this.$parent);
                    },
                  },
                  {
                    key: "init",
                    value: async function () {
                      var t,
                        e = this,
                        r =
                          arguments.length > 0 && void 0 !== arguments[0]
                            ? arguments[0]
                            : (0, S.Wv)(this._pageId),
                        i = r.config.animation;
                      await this.mount();
                      var o = this._buildEnterAnimation(i);
                      await Yo(r, this.$element),
                        P(r),
                        (this._sceneAnimation = new ss(r)),
                        this._sceneAnimation.addOnceHook(
                          "beforeOuterStart",
                          function (t) {
                            var n = this;
                            Ds(this, e),
                              t.forEach(
                                function (t) {
                                  var e = this;
                                  return (
                                    Ds(this, n),
                                    t.done(
                                      function () {
                                        var n;
                                        return (
                                          Ds(this, e),
                                          null === (n = t.__COMPONENT__) ||
                                          void 0 === n
                                            ? void 0
                                            : n.hide()
                                        );
                                      }.bind(this)
                                    )
                                  );
                                }.bind(this)
                              );
                          }.bind(this)
                        ),
                        this.render(),
                        null === (t = this._outAnimation) ||
                          void 0 === t ||
                          t.stop(),
                        this.$parent.css("zIndex", 1),
                        o.start(),
                        (0, g.fx)() &&
                          (n.g.SCSPool.clearAllNotFixedSubscribe(),
                          Un("".concat(r.projectId, "&").concat(r.id)),
                          jn({ pageId: r.id, projectId: r.projectId })),
                        this._sceneAnimation.start(),
                        (function (t) {
                          var e,
                            n = this,
                            r = t.component,
                            i = t.id;
                          t.$wrapper &&
                            (null !== (e = window.requestIdleCallback) &&
                              void 0 !== e
                              ? e
                              : window.setTimeout)(
                              async function () {
                                var t = this;
                                Go(this, n);
                                var e = (0, at.ph)().releaseTime;
                                if (
                                  "release" === SF.runnerEnvironment &&
                                  e &&
                                  r
                                ) {
                                  var o = sfLogger.time(
                                    "components renderToString time"
                                  );
                                  try {
                                    var a = await r.renderToString(),
                                      s = await r.getInitalData(),
                                      c = "";
                                    Q()(
                                      'head style[data-role="component"]'
                                    ).each(
                                      function (e, n) {
                                        Go(this, t), (c += n.innerHTML);
                                      }.bind(this)
                                    ),
                                      o(),
                                      Uo({
                                        id: i,
                                        version: e,
                                        content: new Blob([
                                          JSON.stringify({
                                            id: i,
                                            version: e,
                                            headStyle: c,
                                            body: a,
                                            initalData: s,
                                          }),
                                        ]),
                                      });
                                  } catch (t) {
                                    sfLogger.error(t);
                                  }
                                }
                              }.bind(this)
                            );
                        })({
                          component: this,
                          id: this._getSSGId(),
                          $wrapper: this.$container[0],
                        });
                    },
                  },
                  {
                    key: "render",
                    value: async function () {
                      var t =
                        arguments.length > 0 && void 0 !== arguments[0]
                          ? arguments[0]
                          : (0, S.Wv)(this._pageId);
                      nt(), await Ko(t), ys.init();
                    },
                  },
                  {
                    key: "triggerOuterSceneAnimation",
                    value: function () {
                      var t = this;
                      return new Promise(
                        function (e) {
                          var n = this;
                          Ds(this, t),
                            this._sceneAnimation &&
                              this._sceneAnimation.start(!0),
                            setTimeout(
                              function () {
                                Ds(this, n), e(this);
                              }.bind(this),
                              Math.abs(this._outAnimationMinDelay)
                            );
                        }.bind(this)
                      );
                    },
                  },
                  {
                    key: "destroy",
                    value: function (t) {
                      var e,
                        n = this,
                        r = (0, S.Wv)(this._pageId).config,
                        i = void 0 === r ? {} : r,
                        o = this._buildOutAnimation(t);
                      null === (e = this._enterAnimation) ||
                        void 0 === e ||
                        e.stop(),
                        this.$parent
                          .find("*")
                          .off(
                            "click dblclick mouseenter mouseleave hover keypress keydown keyup blur change focus transitionend animationend"
                          ),
                        this.$parent.css("zIndex", 0),
                        ys.dispose();
                      var a = function () {
                        var t = this,
                          e =
                            arguments.length > 0 && void 0 !== arguments[0]
                              ? arguments[0]
                              : [];
                        Ds(this, n),
                          e.forEach(
                            function (e) {
                              if ((Ds(this, t), "function" == typeof e.destroy))
                                try {
                                  e.destroy();
                                } catch (t) {
                                  sfLogger.error(t);
                                }
                            }.bind(this)
                          );
                      }.bind(this);
                      return (
                        o.start().done(
                          function () {
                            var t, e, r;
                            Ds(this, n),
                              a(i.components),
                              (null === (t = (0, S.Vs)()) || void 0 === t
                                ? void 0
                                : t.id) !== this._pageId && C(this._pageId),
                              null === (e = this._sceneAnimation) ||
                                void 0 === e ||
                                e.destroy(),
                              (this._enterAnimation = null),
                              (this._outAnimation = null),
                              (this._sceneAnimation = null),
                              this.$parent.empty(),
                              null === (r = this.$element) ||
                                void 0 === r ||
                                r.remove(),
                              (this.$element = null);
                          }.bind(this)
                        ),
                        hs(this._pageId),
                        o
                      );
                    },
                  },
                  {
                    key: "renderToString",
                    value: async function () {
                      var t = this,
                        e = this.$element.clone(!0),
                        n = (0, S.Wv)(this._pageId);
                      return !1 === n.config.openSSG
                        ? Promise.resolve("")
                        : new Promise(
                            function (r) {
                              var i = this;
                              Ds(this, t),
                                Promise.all(
                                  n.config.components.map(
                                    function (t) {
                                      return (
                                        Ds(this, i),
                                        !1 === t.getBasicConfig().ssg
                                          ? Promise.resolve("")
                                          : t.renderToString()
                                      );
                                    }.bind(this)
                                  )
                                )
                                  .then(
                                    function (t) {
                                      return Ds(this, i), t.join("");
                                    }.bind(this)
                                  )
                                  .then(
                                    function (t) {
                                      Ds(this, i), e.html(t);
                                      var n = ks(e[0].outerHTML);
                                      r(n);
                                    }.bind(this)
                                  );
                            }.bind(this)
                          );
                    },
                  },
                  {
                    key: "getInitalData",
                    value: function () {
                      var t = this,
                        e = (0, S.Wv)(this._pageId);
                      return new Promise(
                        function (n) {
                          var r = this;
                          Ds(this, t),
                            Promise.all(
                              e.config.components.map(
                                function (t) {
                                  var e;
                                  return (
                                    Ds(this, r),
                                    null === (e = t.getInitalData) ||
                                    void 0 === e
                                      ? void 0
                                      : e.call(t)
                                  );
                                }.bind(this)
                              )
                            ).then(
                              function (t) {
                                var e = this;
                                Ds(this, r);
                                var i = {};
                                t.forEach(
                                  function (t) {
                                    Ds(this, e), Object.assign(i, t);
                                  }.bind(this)
                                ),
                                  n(i);
                              }.bind(this)
                            );
                        }.bind(this)
                      );
                    },
                  },
                ])
              );
            })(de.Ay)),
            Ws(
              Cs.prototype,
              "init",
              [ws, Ss],
              Object.getOwnPropertyDescriptor(Cs.prototype, "init"),
              Cs.prototype
            ),
            Ws(
              Cs.prototype,
              "render",
              [Es, As],
              Object.getOwnPropertyDescriptor(Cs.prototype, "render"),
              Cs.prototype
            ),
            Ws(
              Cs.prototype,
              "destroy",
              [Ts, Os],
              Object.getOwnPropertyDescriptor(Cs.prototype, "destroy"),
              Cs.prototype
            ),
            Cs),
          qs = void 0;
        function Xs(t, e) {
          return (
            (function (t) {
              if (Array.isArray(t)) return t;
            })(t) ||
            (function (t, e) {
              var n =
                null == t
                  ? null
                  : ("undefined" != typeof Symbol && t[Symbol.iterator]) ||
                    t["@@iterator"];
              if (null != n) {
                var r,
                  i,
                  o,
                  a,
                  s = [],
                  c = !0,
                  l = !1;
                try {
                  if (((o = (n = n.call(t)).next), 0 === e)) {
                    if (Object(n) !== n) return;
                    c = !1;
                  } else
                    for (
                      ;
                      !(c = (r = o.call(n)).done) &&
                      (s.push(r.value), s.length !== e);
                      c = !0
                    );
                } catch (t) {
                  (l = !0), (i = t);
                } finally {
                  try {
                    if (
                      !c &&
                      null != n.return &&
                      ((a = n.return()), Object(a) !== a)
                    )
                      return;
                  } finally {
                    if (l) throw i;
                  }
                }
                return s;
              }
            })(t, e) ||
            (function (t, e) {
              if (t) {
                if ("string" == typeof t) return Ys(t, e);
                var n = {}.toString.call(t).slice(8, -1);
                return (
                  "Object" === n && t.constructor && (n = t.constructor.name),
                  "Map" === n || "Set" === n
                    ? Array.from(t)
                    : "Arguments" === n ||
                      /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)
                    ? Ys(t, e)
                    : void 0
                );
              }
            })(t, e) ||
            (function () {
              throw new TypeError(
                "Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."
              );
            })()
          );
        }
        function Ys(t, e) {
          (null == e || e > t.length) && (e = t.length);
          for (var n = 0, r = Array(e); n < e; n++) r[n] = t[n];
          return r;
        }
        function Ks(t, e) {
          if (t !== e)
            throw new TypeError("Cannot instantiate an arrow function");
        }
        Nt.default.config({
          getContainer: function () {
            return (
              Ks(this, qs),
              document.getElementsByClassName("runtime__container")[0]
            );
          }.bind(void 0),
        });
        var Zs = {};
        const Js = function (t) {
          var e = this;
          Ks(this, qs);
          var r = (0, ot.g)(),
            i = r.projectId,
            o = r.pageId,
            a = Xs((0, X.useState)(""), 2),
            s = a[0],
            c = a[1],
            l = t.container,
            u = (0, ot.W6)(),
            f = (0, Mt.be)(o);
          (0, _t.A)(SF, "lib.__history", u),
            (function () {
              var t = this,
                e = (0, ot.g)(),
                n = e.projectId,
                r = e.pageId,
                i = !1;
              (0, X.useEffect)(
                function () {
                  var e = this;
                  if (
                    (St(this, t),
                    !window.location.pathname.includes("uxcardrunner") &&
                      (0, g.fx)())
                  ) {
                    var n = function () {
                        return (
                          St(this, e),
                          /macintosh|mac os x/i.test(navigator.userAgent)
                        );
                      }.bind(this),
                      r = function (t) {
                        return (
                          St(this, e),
                          (n() &&
                            t.metaKey &&
                            t.shiftKey &&
                            t.altKey &&
                            69 === t.keyCode) ||
                            (t.ctrlKey &&
                              t.shiftKey &&
                              t.altKey &&
                              69 === t.keyCode)
                        );
                      }.bind(this),
                      o = function (t) {
                        var n = this;
                        if (
                          (St(this, e),
                          (0, S.Vs)().type !== wt.PageType.Phone && r(t))
                        ) {
                          var o = (0, S.nx)().filter(
                            function (t) {
                              return St(this, n), "cardLayout" === t.type;
                            }.bind(this)
                          );
                          i
                            ? (o.forEach(
                                function (t) {
                                  var e;
                                  St(this, n),
                                    null === (e = t.hideEdit) ||
                                      void 0 === e ||
                                      e.call(t);
                                }.bind(this)
                              ),
                              (i = !i))
                            : (o.forEach(
                                function (t) {
                                  var e;
                                  St(this, n),
                                    null === (e = t.showEdit) ||
                                      void 0 === e ||
                                      e.call(t);
                                }.bind(this)
                              ),
                              (i = !i));
                        }
                      }.bind(this);
                    return (
                      window.addEventListener("keydown", o),
                      function () {
                        St(this, e),
                          (i = !1),
                          window.removeEventListener("keydown", o);
                      }.bind(this)
                    );
                  }
                }.bind(this),
                [n, r]
              );
            })(),
            (0, X.useEffect)(
              function () {
                Ks(this, e),
                  mt(n.g.SF.data.user),
                  sessionStorage.removeItem("".concat(i, "randomMark"));
              }.bind(this),
              []
            ),
            (0, X.useEffect)(
              function () {
                var r = this;
                Ks(this, e);
                var o = (0, at.ph)();
                return (
                  async function () {
                    var e,
                      a = this;
                    Ks(this, r),
                      (function () {
                        try {
                          var t = SF.data.pages,
                            e = void 0 === t ? [] : t,
                            n = SF.data.page,
                            r = void 0 === n ? [] : n;
                          e.length &&
                            (e = JSON.parse(
                              tt.A.decodeXSSChar(JSON.stringify(e))
                            )),
                            r.config &&
                              "string" == typeof r.config &&
                              ((r.config = tt.A.decodeXSSChar(r.config)),
                              r.svgJson &&
                                (r.svgJson = tt.A.decodeXSSChar(r.svgJson)));
                        } catch (t) {
                          sfLogger.debug("XSS Replace Error:".concat(t));
                        }
                      })(),
                      (o && o.id === i) ||
                        ((o = await (function (t) {
                          var e = this,
                            n =
                              ((arguments.length > 1 &&
                                void 0 !== arguments[1]) ||
                                (0, g.x6)(),
                              SF.data.project),
                            r = void 0 === n ? {} : n;
                          return new Promise(
                            function (t) {
                              pt(this, e),
                                r.config ||
                                  (r.config = new ct.Sk(
                                    { indexPageId: r.indexPageId },
                                    r.busAttrType
                                  )),
                                vt(r),
                                t(r);
                            }.bind(this)
                          );
                        })(i)),
                        gt(i));
                    var u = Zs[s];
                    c(f);
                    var d = (0, S.Vs)();
                    yt(),
                      (d && d.id === f) ||
                        ((d.$element = null),
                        (d.$parent = null),
                        (d = await I(i, f))),
                      ta(o.id, Kt.Projects, null == t ? void 0 : t.history),
                      (function (t, e) {
                        document.title = ""
                          .concat(e.name, " - ")
                          .concat(t.name, " - ")
                          .concat(K.get("runtime.i18n_2"));
                      })(o, d);
                    var h = Zs[f];
                    if (
                      (h ||
                        ((h = new zs(Q()(l.current), d)), (Zs[f] = h), Kn(h)),
                      uo.se(h),
                      eo.initLogWrap(),
                      null !== (e = d) &&
                        void 0 !== e &&
                        null !== (e = e.config) &&
                        void 0 !== e &&
                        e.eventConfig)
                    ) {
                      var p = (d.config.eventConfig || []).find(
                        function (t) {
                          return Ks(this, a), "onPageInit" === t.eventType;
                        }.bind(this)
                      );
                      p &&
                        h.addOnceHook(
                          "afterInit",
                          function () {
                            Ks(this, a), lo.dispatch(d, {}, p);
                          }.bind(this)
                        );
                    }
                    (h.clearTimer = qo(d)),
                      u && (await u.triggerOuterSceneAnimation()),
                      Yt.A.removeAll(),
                      Xt.offAll(),
                      await h.init();
                    var m;
                    (0, at.jP)().licenseInfo;
                    (Promise.all([n.e(96), n.e(706), n.e(755)])
                      .then(n.bind(n, 74878))
                      .then(
                        function (t) {
                          Ks(this, a), new t.default().render();
                        }.bind(this)
                      ),
                    Lt.manager.applyLayout(d.config.layout, d),
                    lo.init(d),
                    s !== f && u) &&
                      (null == u || u.clearTimer(),
                      u.destroy(
                        null === (m = d) ||
                          void 0 === m ||
                          null === (m = m.config) ||
                          void 0 === m
                          ? void 0
                          : m.animation
                      ));
                  }.bind(this)(),
                  function () {
                    Ks(this, r), lo.destroyConnect();
                  }.bind(this)
                );
              }.bind(this),
              [i, f]
            );
          var d = function (t) {
              var n = this;
              Ks(this, e),
                t.forEach(
                  function (t) {
                    var e;
                    Ks(this, n),
                      t.resize && t.resize(),
                      null !== (e = t.children) &&
                        void 0 !== e &&
                        e.length &&
                        d(t.children);
                  }.bind(this)
                );
            }.bind(this),
            h = function () {
              var t = this;
              Ks(this, e),
                requestAnimationFrame(
                  function () {
                    var e;
                    Ks(this, t);
                    var n =
                        (null === (e = (0, S.Vs)()) || void 0 === e
                          ? void 0
                          : e.config) || {},
                      r = n.resolutionType,
                      i = n.resolution,
                      o = n.components;
                    if (i) {
                      var a = Q()(Q()(l.current).find(".ux-page div")[0]);
                      if (a[0]) {
                        var s = Number(
                            a[0].style.transform.match(/scaleX\((.+?)\)/)[1]
                          ),
                          c = Number(
                            a[0].style.transform.match(/scaleY\((.+?)\)/)[1]
                          ),
                          u = (0, Ot.Ge)();
                        Mo(n, a);
                        var f = r === wt.ResolutionType.WidthZoom && u.xf === s,
                          h = r === wt.ResolutionType.HeightZoom && u.yf === c;
                        !i || f || h || d(o);
                      }
                    }
                  }.bind(this)
                );
            }.bind(this),
            p = function () {
              Ks(this, e);
              var t = Q()(l.current).find(".ux-page div")[0];
              t && ((t.scrollLeft = 0), (t.scrollTop = 0));
            }.bind(this);
          return (
            (0, X.useEffect)(
              function () {
                var t = this;
                return (
                  Ks(this, e),
                  window.addEventListener("resize", h),
                  window.addEventListener("focus", p, !0),
                  function () {
                    Ks(this, t),
                      window.removeEventListener("resize", h),
                      window.removeEventListener("focus", p, !0);
                  }.bind(this)
                );
              }.bind(this),
              []
            ),
            X.createElement(
              X.Fragment,
              null,
              X.createElement(Oo, null),
              X.createElement(Wa, null)
            )
          );
        }.bind(void 0);
        K.register("pageTimeout", {
          zh: {
            pageTimeoutMessage: '如需继续预览, 请在编辑器中点击"预览"',
            previewTimeEnd: "预览时间结束!",
            previewTimeout: "预览超时",
          },
          en: {
            pageTimeoutMessage:
              "Please click “Preview” in editor to continue preview",
            previewTimeEnd: "Preview time end",
            previewTimeout: "Preview timeout",
          },
        });
        const Qs = function (t) {
          var e;
          !(function (t, e) {
            if (t !== e)
              throw new TypeError("Cannot instantiate an arrow function");
          })(this, undefined);
          var n,
            r,
            i =
              (null === (e = t.location.state) || void 0 === e
                ? void 0
                : e.previewDuration) || 10,
            o = (0, S.Vs)(),
            a = ((n = null == o ? void 0 : o.id), !!Zs[n] && Zs[n]);
          a &&
            a.destroy(
              null == o || null === (r = o.config) || void 0 === r
                ? void 0
                : r.animation
            );
          return X.createElement(
            X.Fragment,
            null,
            X.createElement(
              "div",
              { className: "sf-preview-timeout" },
              X.createElement(
                "div",
                { className: "sf-preview-timeout-conatiner" },
                X.createElement("div", { className: "sf-preview-timeout-img" }),
                X.createElement(
                  "div",
                  {
                    className:
                      "sf-preview-timeout-top-title sf-preview-timeout-title",
                  },
                  K.get("pageTimeout.previewTimeout")
                ),
                X.createElement(
                  "div",
                  {
                    className:
                      "sf-preview-timeout-endTime sf-preview-timeout-title",
                  },
                  "PREVIEW OVER ",
                  i,
                  " MINUTES"
                ),
                X.createElement(
                  "div",
                  {
                    className:
                      "sf-preview-timeout-content-top sf-preview-timeout-title",
                  },
                  K.get("pageTimeout.previewTimeEnd")
                ),
                X.createElement(
                  "div",
                  {
                    className:
                      "sf-preview-timeout-content-bottom sf-preview-timeout-title",
                  },
                  K.get("pageTimeout.pageTimeoutMessage")
                )
              )
            )
          );
        }.bind(void 0);
        function tc(t, e) {
          if (t !== e)
            throw new TypeError("Cannot instantiate an arrow function");
        }
        function ec(t, e) {
          if (t !== e)
            throw new TypeError("Cannot instantiate an arrow function");
        }
        function nc(t, e) {
          return (
            (function (t) {
              if (Array.isArray(t)) return t;
            })(t) ||
            (function (t, e) {
              var n =
                null == t
                  ? null
                  : ("undefined" != typeof Symbol && t[Symbol.iterator]) ||
                    t["@@iterator"];
              if (null != n) {
                var r,
                  i,
                  o,
                  a,
                  s = [],
                  c = !0,
                  l = !1;
                try {
                  if (((o = (n = n.call(t)).next), 0 === e)) {
                    if (Object(n) !== n) return;
                    c = !1;
                  } else
                    for (
                      ;
                      !(c = (r = o.call(n)).done) &&
                      (s.push(r.value), s.length !== e);
                      c = !0
                    );
                } catch (t) {
                  (l = !0), (i = t);
                } finally {
                  try {
                    if (
                      !c &&
                      null != n.return &&
                      ((a = n.return()), Object(a) !== a)
                    )
                      return;
                  } finally {
                    if (l) throw i;
                  }
                }
                return s;
              }
            })(t, e) ||
            (function (t, e) {
              if (t) {
                if ("string" == typeof t) return rc(t, e);
                var n = {}.toString.call(t).slice(8, -1);
                return (
                  "Object" === n && t.constructor && (n = t.constructor.name),
                  "Map" === n || "Set" === n
                    ? Array.from(t)
                    : "Arguments" === n ||
                      /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)
                    ? rc(t, e)
                    : void 0
                );
              }
            })(t, e) ||
            (function () {
              throw new TypeError(
                "Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."
              );
            })()
          );
        }
        function rc(t, e) {
          (null == e || e > t.length) && (e = t.length);
          for (var n = 0, r = Array(e); n < e; n++) r[n] = t[n];
          return r;
        }
        var ic = {
            cardEditor: "UX_CARD_O",
            uxcardrunner: "UX_CARD_Q",
            designer: "UX_PROJECT_O",
            uxrunner: "UX_PROJECT_Q",
          },
          oc = [
            "designer",
            "cardEditor",
            "businessEditor",
            "uxrunner",
            "uxcardrunner",
            "uxnoauth",
            "uxauth",
          ];
        function ac(t) {
          var e = this,
            r = nc((0, X.useState)(!1), 2),
            i = r[0],
            o = r[1];
          return (
            (0, X.useEffect)(
              function () {
                var r = this;
                ec(this, e);
                var i = (function () {
                  var t =
                    arguments.length > 0 && void 0 !== arguments[0]
                      ? arguments[0]
                      : window.location.pathname;
                  return "/" === p.Ay.PREFIX
                    ? t
                    : t.replace(new RegExp("^".concat(p.Ay.PREFIX)), "");
                })(t.location.pathname).split("/")[1];
                if (-1 !== oc.indexOf(i)) {
                  var a = ic[i];
                  a && !(0, g.fx)()
                    ? async function () {
                        ec(this, r);
                        var t = {};
                        (0, g.vk)()
                          ? ((t = await (function () {
                              var t = this;
                              return (0, V.get)(
                                "".concat(
                                  p.Ay.AUTH_CENTER_SERVER,
                                  "/v1/user/init-menu/03"
                                )
                              ).then(
                                function (e) {
                                  var n = this,
                                    r = e.data;
                                  return (
                                    tc(this, t),
                                    r
                                      ? r.actions.reduce(
                                          function (t, e) {
                                            return (
                                              tc(this, n),
                                              (t[e.code] = e.code),
                                              t
                                            );
                                          }.bind(this),
                                          {}
                                        )
                                      : {}
                                  );
                                }.bind(this)
                              );
                            })()),
                            await Vt())
                          : (t = await Vt());
                        var e = Boolean(t[a]);
                        e
                          ? o(e)
                          : (n.g.location.href = "".concat(
                              p.Ay.AUTH_CENTER,
                              "/403"
                            ));
                      }.bind(this)()
                    : o(!0);
                } else
                  n.g.location.href = "".concat(p.Ay.AUTH_CENTER, "/404.html");
              }.bind(this),
              [t.location.pathname]
            ),
            i && t.children
          );
        }
        var sc, cc, lc, uc;
        n(30637);
        function fc(t, e) {
          if (t !== e)
            throw new TypeError("Cannot instantiate an arrow function");
        }
        async function dc(t, e) {
          var n,
            r,
            i,
            o,
            a,
            s,
            c,
            l,
            u = this;
          await (0, bs.o$)(
            null === (n = t.config) || void 0 === n ? void 0 : n.fontConfigs
          ),
            (i = e),
            (o = (r = t).config),
            (a = o.width),
            (s = o.height),
            (c = xo(r.config.background, a, s)),
            (l = c.cssStr),
            c.cssStyle,
            i && i.css("cssText", i[0].style.cssText + l),
            (0, ko.A)(null == t ? void 0 : t.config, e),
            P(t),
            await Yo.call(this, t, e),
            await Promise.all(
              t.config.components.map(
                function (t) {
                  !(function (t, e) {
                    if (t !== e)
                      throw new TypeError(
                        "Cannot instantiate an arrow function"
                      );
                  })(this, u);
                  try {
                    t.init();
                  } catch (t) {
                    return sfLogger.error(t), Promise.resolve();
                  }
                }.bind(this)
              )
            ),
            ur(t.config, e),
            nt(),
            qo(t);
        }
        function hc(t) {
          return (
            (hc =
              "function" == typeof Symbol && "symbol" == typeof Symbol.iterator
                ? function (t) {
                    return typeof t;
                  }
                : function (t) {
                    return t &&
                      "function" == typeof Symbol &&
                      t.constructor === Symbol &&
                      t !== Symbol.prototype
                      ? "symbol"
                      : typeof t;
                  }),
            hc(t)
          );
        }
        function pc(t, e) {
          for (var n = 0; n < e.length; n++) {
            var r = e[n];
            (r.enumerable = r.enumerable || !1),
              (r.configurable = !0),
              "value" in r && (r.writable = !0),
              Object.defineProperty(t, mc(r.key), r);
          }
        }
        function mc(t) {
          var e = (function (t, e) {
            if ("object" != hc(t) || !t) return t;
            var n = t[Symbol.toPrimitive];
            if (void 0 !== n) {
              var r = n.call(t, e || "default");
              if ("object" != hc(r)) return r;
              throw new TypeError(
                "@@toPrimitive must return a primitive value."
              );
            }
            return ("string" === e ? String : Number)(t);
          })(t, "string");
          return "symbol" == hc(e) ? e : e + "";
        }
        function vc(t, e, n) {
          return (
            (e = yc(e)),
            (function (t, e) {
              if (e && ("object" == hc(e) || "function" == typeof e)) return e;
              if (void 0 !== e)
                throw new TypeError(
                  "Derived constructors may only return object or undefined"
                );
              return (function (t) {
                if (void 0 === t)
                  throw new ReferenceError(
                    "this hasn't been initialised - super() hasn't been called"
                  );
                return t;
              })(t);
            })(
              t,
              gc()
                ? Reflect.construct(e, n || [], yc(t).constructor)
                : e.apply(t, n)
            )
          );
        }
        function gc() {
          try {
            var t = !Boolean.prototype.valueOf.call(
              Reflect.construct(Boolean, [], function () {})
            );
          } catch (t) {}
          return (gc = function () {
            return !!t;
          })();
        }
        function yc(t) {
          return (
            (yc = Object.setPrototypeOf
              ? Object.getPrototypeOf.bind()
              : function (t) {
                  return t.__proto__ || Object.getPrototypeOf(t);
                }),
            yc(t)
          );
        }
        function bc(t, e) {
          return (
            (bc = Object.setPrototypeOf
              ? Object.setPrototypeOf.bind()
              : function (t, e) {
                  return (t.__proto__ = e), t;
                }),
            bc(t, e)
          );
        }
        function Vc(t, e, n, r, i) {
          var o = {};
          return (
            Object.keys(r).forEach(function (t) {
              o[t] = r[t];
            }),
            (o.enumerable = !!o.enumerable),
            (o.configurable = !!o.configurable),
            ("value" in o || o.initializer) && (o.writable = !0),
            (o = n
              .slice()
              .reverse()
              .reduce(function (n, r) {
                return r(t, e, n) || n;
              }, o)),
            i &&
              void 0 !== o.initializer &&
              ((o.value = o.initializer ? o.initializer.call(i) : void 0),
              (o.initializer = void 0)),
            void 0 === o.initializer
              ? (Object.defineProperty(t, e, o), null)
              : o
          );
        }
        var _c =
          ((sc = de.Ay.registHook("beforeRender")),
          (cc = de.Ay.registHook("afterRender", !1)),
          (lc = de.Ay.registHook("beforeDestroy")),
          (uc = (function (t) {
            function e(t) {
              return (
                (function (t, e) {
                  if (!(t instanceof e))
                    throw new TypeError("Cannot call a class as a function");
                })(this, e),
                vc(this, e, [t])
              );
            }
            return (
              (function (t, e) {
                if ("function" != typeof e && null !== e)
                  throw new TypeError(
                    "Super expression must either be null or a function"
                  );
                (t.prototype = Object.create(e && e.prototype, {
                  constructor: { value: t, writable: !0, configurable: !0 },
                })),
                  Object.defineProperty(t, "prototype", { writable: !1 }),
                  e && bc(t, e);
              })(e, t),
              (function (t, e, n) {
                return (
                  e && pc(t.prototype, e),
                  n && pc(t, n),
                  Object.defineProperty(t, "prototype", { writable: !1 }),
                  t
                );
              })(e, [
                {
                  key: "render",
                  value: async function (t, e) {
                    O(t),
                      P(t),
                      (function (t, e) {
                        var n,
                          r = this;
                        if (
                          null != t &&
                          null !== (n = t.config) &&
                          void 0 !== n &&
                          n.eventConfig
                        ) {
                          var i = (t.config.eventConfig || []).find(
                            function (t) {
                              return (
                                fc(this, r), t.eventType === m.Bx.OnCardInit
                              );
                            }.bind(this)
                          );
                          i &&
                            e.addOnceHook(
                              "afterRender",
                              function () {
                                fc(this, r), lo.dispatch(t, {}, i);
                              }.bind(this)
                            );
                        }
                      })(t, this),
                      await dc.call(this, t, e),
                      lo.init(t),
                      (this.cardCfg.$parent = this.cardCfg.$element);
                  },
                },
                {
                  key: "destroy",
                  value: function (t) {
                    this.clearHooks(), hs(this.id);
                  },
                },
              ])
            );
          })(xr)),
          Vc(
            uc.prototype,
            "render",
            [sc, cc],
            Object.getOwnPropertyDescriptor(uc.prototype, "render"),
            uc.prototype
          ),
          Vc(
            uc.prototype,
            "destroy",
            [lc],
            Object.getOwnPropertyDescriptor(uc.prototype, "destroy"),
            uc.prototype
          ),
          uc);
        function wc(t, e) {
          if (t !== e)
            throw new TypeError("Cannot instantiate an arrow function");
        }
        const Sc = function (t) {
          var e = this;
          wc(this, undefined);
          var r = (0, ot.g)().cardId,
            i = (0, X.useRef)(null);
          (SF.data = SF.data || {}),
            (0, X.useEffect)(
              function () {
                var n = this;
                wc(this, e);
                var o = {
                    cardId: r,
                    container: i.current,
                    engineOption: {
                      origin: window.location.origin,
                      realTimeAlarmEnable: (0, g.fx)(),
                      pageInitAlarmShowEnable: (0, g.fx)(),
                      isInternalAuthentication: !0,
                      loadRelatedFileEnable: !0,
                      useBgTransparent: !1,
                    },
                  },
                  a = new _c(o);
                return (
                  async function () {
                    wc(this, n),
                      await a.init(),
                      ta(r, Kt.Card, null == t ? void 0 : t.history),
                      (document.title = ""
                        .concat(a.cardCfg.name, "-")
                        .concat(K.get("runtime.i18n_2")));
                  }.bind(this)(),
                  function () {
                    wc(this, n), a.destroy(Q()(i.current));
                  }.bind(this)
                );
              }.bind(this),
              [r]
            );
          var o = function (t) {
            var n = this;
            wc(this, e),
              t.forEach(
                function (t) {
                  var e;
                  wc(this, n),
                    t.resize && t.resize(),
                    null !== (e = t.children) &&
                      void 0 !== e &&
                      e.length &&
                      o(t.children);
                }.bind(this)
              );
          }.bind(this);
          (function (t) {
            var n = this;
            wc(this, e),
              requestAnimationFrame(
                function () {
                  wc(this, n);
                  var e = t.resolutionType,
                    r = t.resolution,
                    a = t.components;
                  if (r) {
                    var s = Q()(i.current),
                      c = Number(
                        s[0].style.transform.match(/scaleX\((.+?)\)/)[1]
                      ),
                      l = Number(
                        s[0].style.transform.match(/scaleY\((.+?)\)/)[1]
                      ),
                      u = (0, Ot.Ge)();
                    Mo(t, s);
                    var f = e === wt.ResolutionType.WidthZoom && u.xf === c,
                      d = e === wt.ResolutionType.HeightZoom && u.yf === l;
                    !r || f || d || o(a);
                  }
                }.bind(this)
              );
          }).bind(this);
          return (
            (0, X.useEffect)(
              function () {
                wc(this, e),
                  (function () {
                    var t = this;
                    (0, V.get)(
                      "".concat(
                        p.Ay.AUTH_CENTER_SERVER,
                        "/v1/user/get-current-user"
                      )
                    ).then(
                      function (e) {
                        var n;
                        pt(this, t),
                          w.A.dispatch({
                            type: _.k.SET_CURRENT_USER,
                            payload:
                              null !== (n = null == e ? void 0 : e.data) &&
                              void 0 !== n
                                ? n
                                : {},
                          });
                      }.bind(this)
                    );
                  })(),
                  mt(n.g.SF.data.user),
                  sessionStorage.removeItem("".concat(r, "CardrandomMark"));
              }.bind(this),
              []
            ),
            X.createElement(
              "div",
              { style: { height: "100%", willChange: "opacity" } },
              X.createElement("div", {
                className: "runtime__container uxStyle",
                ref: i,
              })
            )
          );
        }.bind(void 0);
        function Ec(t, e) {
          if (t !== e)
            throw new TypeError("Cannot instantiate an arrow function");
        }
        function Ac() {
          return (
            (Ac = Object.assign
              ? Object.assign.bind()
              : function (t) {
                  for (var e = 1; e < arguments.length; e++) {
                    var n = arguments[e];
                    for (var r in n)
                      ({}).hasOwnProperty.call(n, r) && (t[r] = n[r]);
                  }
                  return t;
                }),
            Ac.apply(null, arguments)
          );
        }
        function Tc(t, e) {
          if (t !== e)
            throw new TypeError("Cannot instantiate an arrow function");
        }
        function Oc() {
          var t = this,
            e = (0, X.useRef)();
          return (
            (function (t) {
              var e = this;
              (0, V.get)(
                ""
                  .concat(t || "")
                  .concat(p.Ay.UX_API, "/runner/system/getSystemConstants")
              ).then(
                function (t) {
                  var n = this;
                  if ((pt(this, e), null != t && t.data)) {
                    var r;
                    (0, lt.p)(t.data.sysDate);
                    try {
                      var i;
                      null != t &&
                        null !== (i = t.data) &&
                        void 0 !== i &&
                        i.THIRD_API_URL &&
                        (r = JSON.parse(t.data.THIRD_API_URL));
                    } catch (t) {
                      sfLogger.error(t);
                    }
                    r &&
                      (Object.keys(r).forEach(
                        function (t) {
                          pt(this, n), r[t] && (r[t] = (0, f.F)(r[t]));
                        }.bind(this)
                      ),
                      (t.data.THIRD_API_URL = r)),
                      w.A.dispatch({
                        type: _.k.GET_SYSTEM_CONSTANTS,
                        payload: dt({}, t.data),
                      });
                  }
                }.bind(this)
              );
            })(),
            (function () {
              var t = this;
              (0, X.useEffect)(
                function () {
                  var e = this;
                  if (
                    (Ec(this, t),
                    !window.location.pathname.includes("uxcardrunner"))
                  ) {
                    var r = function () {
                        return (
                          Ec(this, e),
                          /macintosh|mac os x/i.test(navigator.userAgent)
                        );
                      }.bind(this),
                      i = function (t) {
                        return (
                          Ec(this, e),
                          (r() &&
                            t.metaKey &&
                            t.shiftKey &&
                            t.altKey &&
                            80 === t.keyCode) ||
                            (t.ctrlKey &&
                              t.shiftKey &&
                              t.altKey &&
                              80 === t.keyCode)
                        );
                      }.bind(this),
                      o = function (t, n) {
                        if (
                          (Ec(this, e),
                          t.config.resolution && 0 !== t.config.resolutionType)
                        ) {
                          var r,
                            i = (
                              null === (r = getComputedStyle(n)) || void 0 === r
                                ? void 0
                                : r.transform
                            ).match(/-?\d+(\.\d+)?/g);
                          if (null != i && i.length) {
                            var o = i[0],
                              a = i[3];
                            return [Number(o), Number(a)];
                          }
                        }
                        return null;
                      }.bind(this),
                      a = function (t) {
                        var r = this;
                        Ec(this, e),
                          i(t) &&
                            (t.preventDefault(),
                            async function () {
                              var t = this;
                              Ec(this, r);
                              var e = await Promise.all([
                                  n.e(96),
                                  n.e(337),
                                ]).then(n.bind(n, 57788)),
                                i = e.handleIssueElementForHtml2Canvas,
                                a = e.screenshot,
                                s = (0, S.Vs)(),
                                c = s.projectId || "";
                              (0, V.get)(
                                ""
                                  .concat(
                                    p.Ay.UX_API,
                                    "/designer/project/detail?id="
                                  )
                                  .concat(c)
                              ).then(
                                async function (e) {
                                  var n = this;
                                  if ((Ec(this, t), "0" === e.code)) {
                                    var r = document.querySelector(
                                        ".runtime__container .ux-page > div"
                                      ),
                                      c = s.config.components,
                                      l = void 0 === c ? [] : c;
                                    await Te(l, "onBeforeShot");
                                    var u = window.getComputedStyle(
                                        document.querySelector("html")
                                      ),
                                      f = o(s, r) || [1, 1],
                                      d = s.config.width,
                                      h = s.config.height,
                                      p = { width: d, height: h };
                                    s.config.resolution &&
                                      (p =
                                        0 !== s.config.resolutionType
                                          ? {
                                              width: d * f[0],
                                              height: h * f[1],
                                            }
                                          : {
                                              width: parseFloat(u.width),
                                              height: parseFloat(u.height),
                                            });
                                    var m = !1,
                                      v = document.querySelector(
                                        ".runtime__container .ux-page > .watermarkElement"
                                      ),
                                      g = "unset";
                                    v &&
                                      ((g = v.style.transform),
                                      (v.style.transform = "unset"),
                                      r.append(v)),
                                      a(r, {
                                        outputType: "pdf",
                                        width: p.width,
                                        height: p.height,
                                        pageName: s.name,
                                        html2canvasOptions: {
                                          beforeClone: function (t) {
                                            return (
                                              Ec(this, n),
                                              s.config.resolution &&
                                                (m &&
                                                  ((t.style.transform =
                                                    "unset"),
                                                  (m = !1)),
                                                t.classList &&
                                                  Array.from(
                                                    t.classList
                                                  ).includes("ux-page") &&
                                                  (m = !0)),
                                              t.classList &&
                                                Array.from(
                                                  t.classList
                                                ).includes(
                                                  "grid-item-proxy__style"
                                                ) &&
                                                (t.style.borderRadius =
                                                  "unset"),
                                              i(t)
                                            );
                                          }.bind(this),
                                        },
                                      }).then(
                                        async function () {
                                          Ec(this, n),
                                            await Te(l, "onAfterShot"),
                                            v &&
                                              ((v.style.transform = g),
                                              r.after(v));
                                        }.bind(this)
                                      );
                                  } else {
                                    var y = e.messages.join("");
                                    (0, Nt.errorMessage)({ content: y });
                                  }
                                }.bind(this)
                              );
                            }.bind(this)());
                      }.bind(this);
                    return (
                      window.addEventListener("keydown", a),
                      function () {
                        Ec(this, e), window.removeEventListener("keydown", a);
                      }.bind(this)
                    );
                  }
                }.bind(this),
                []
              );
            })(),
            (0, X.useEffect)(
              function () {
                var e = this;
                Tc(this, t),
                  (async function () {
                    return (0, V.get)(
                      "".concat(
                        p.Ay.AUTH_CENTER_SERVER,
                        "/v1/logo/showLogoInfos"
                      )
                    );
                  })().then(
                    function (t) {
                      var n = this;
                      Tc(this, e);
                      var r = ((null == t ? void 0 : t.data) || []).find(
                        function (t) {
                          var e = t.type;
                          return Tc(this, n), e === st.QS;
                        }.bind(this)
                      );
                      if (r && r.status && r.fileId) {
                        var i = (0, f.F)(
                            "/file-center-server/v1/resource/preview/".concat(
                              r.fileId
                            )
                          ),
                          o = '<link rel="shortcut icon" href="'.concat(
                            i,
                            '"/>'
                          );
                        Q()("head").append(o);
                      }
                      (0, Mt.lh)();
                    }.bind(this)
                  );
              }.bind(this),
              []
            ),
            X.createElement(
              rt.Kq,
              { store: w.A },
              X.createElement(
                it.Kd,
                { basename: p.Ay.PREFIX },
                X.createElement(
                  ot.dO,
                  null,
                  X.createElement(
                    ac,
                    null,
                    X.createElement(ot.qh, {
                      path: "/uxrunner/pagetimeout",
                      component: Qs,
                    }),
                    X.createElement(ot.qh, {
                      path: [
                        "/uxrunner/preview/:projectId/:pageId?",
                        "/uxrunner/release/:projectId/:pageId?",
                        "/uxnoauth/report/:projectId/:pageId?",
                        "/uxauth/report/:projectId/:pageId?",
                      ],
                      component: function (n) {
                        return (
                          Tc(this, t),
                          X.createElement(Js, Ac({ container: e }, n))
                        );
                      }.bind(this),
                    }),
                    X.createElement(ot.qh, {
                      path: [
                        "/uxcardrunner/preview/:cardId",
                        "/uxcardrunner/release/:cardId",
                      ],
                      component: Sc,
                    }),
                    X.createElement("div", {
                      className: "runtime__container uxStyle",
                      ref: e,
                    })
                  )
                )
              )
            )
          );
        }
        K.register("runtime", {
          zh: {
            noPermissionToExportPdf: "没有导出PDF权限！",
            i18n_2: "可视化平台",
            i18n_3: "关注指标",
            i18n_4: "取消关注",
            i18n_5: "实时沟通",
            i18n_6: "红灯批示",
            i18n_7: "圈阅批示",
            i18n_8: "查看详情",
            i18n_9: "关注",
            i18n_10: "批示",
            i18n_11: "属性",
            i18n_12:
              "卡片初始化参数缺失，或参数格式不正确；其中{ origin，container,cardId }为必填项",
            i18n_13: "已关注",
            i18n_14: "已取消关注",
            i18n_15: "欢迎使用SDC UE，小E伴您，问有所答。",
            i18n_16: "给 小E 发送消息",
            i18n_17: "深度思考(R1)",
            i18n_18: "发送",
            i18n_19: "请输入内容",
            i18n_20: "停止生成",
            i18n_21: "",
            i18n_22: "复制成功！",
            i18n_23: "复制失败！",
            i18n_24: "已深度思考",
            i18n_25: "复制",
            i18n_26: "重新生成",
            i18n_27: "复制结论",
            i18n_28: "正在处理中...",
            i18n_29: "分析",
          },
          en: {
            noPermissionToExportPdf: "No authority to export PDF!",
            i18n_2: "Visual platform",
            i18n_3: "Follow index",
            i18n_4: "Unfollow",
            i18n_5: "Real-time communication",
            i18n_6: "Red light instruction",
            i18n_7: "Read and circle instructions",
            i18n_8: "View details",
            i18n_9: "Follow",
            i18n_10: "Instruct",
            i18n_11: "Attribute",
            i18n_12:
              "Card initialization parameters are missing or parameter format is wrong; in which, { origin，container,cardId } is required item",
            i18n_13: "Followed",
            i18n_14: "Unfollow",
            i18n_15: "Welcome to SDC UE",
            i18n_16: "Input your question",
            i18n_17: "DeepSeek(R1)",
            i18n_18: "Send",
            i18n_19: "Please Input Content",
            i18n_20: "Stop Generation",
            i18n_21: "",
            i18n_22: "Copy Successfully!",
            i18n_23: "Copy Failed!",
            i18n_24: "Have Thought Deeply",
            i18n_25: "Copy",
            i18n_26: "Regenerate",
            i18n_27: "Copy The Conclusion",
            i18n_28: "Being Process...",
            i18n_29: "Analyze",
          },
        });
        var Cc = n(40586);
        var Pc = function () {
          !(function (t, e) {
            if (t !== e)
              throw new TypeError("Cannot instantiate an arrow function");
          })(this, undefined),
            window.parent.postMessage(
              JSON.stringify({ type: "ux-welcome-close" }),
              "*"
            );
        }.bind(void 0);
        const xc = { closeWelcomePage: Pc },
          kc = {
            type_1: (t) =>
              (t *= 2) > 1 ? 0.5 * t * (t - 2) + 1 : 0.5 * t * (2 - t),
            type_2: (t) =>
              (t *= 2) < 1 ? 0.5 * t * t : -0.5 * (--t * (t - 2) - 1),
            type_3: (t) => t * (2 - t),
            type_4: (t) => t * t,
            type_5: (t) => ((t *= 2), 0.5 * (--t * t * t + 1)),
            type_6: (t) =>
              (t *= 2) < 1
                ? 0.5 * t * t * t
                : (t = 0.5 * ((t -= 2) * t * t + 2)),
            type_7: (t) => --t * t * t + 1,
            type_8: (t) => t * t * t,
            type_9(t) {
              let e;
              return (
                (e =
                  t < 1 / 2.75
                    ? 7.5625 * t * t
                    : t < 2 / 2.75
                    ? 7.5625 * (t -= 1.5 / 2.75) * t + 0.75
                    : t < 2.5 / 2.75
                    ? 7.5625 * (t -= 2.25 / 2.75) * t + 0.9375
                    : 7.5625 * (t -= 2.625 / 2.75) * t + 0.984375),
                e
              );
            },
          },
          Ic = [
            Number,
            String,
            Date,
            RegExp,
            HTMLElement,
            NodeList,
            Boolean,
            Function,
          ],
          jc = {
            _cId: 0,
            creatId(t = "ce") {
              this._cId++;
              const [e, n, r] = [
                (Date.now() + this._cId).toString(16),
                Math.random().toString().substr(2, 5),
                Math.random().toString(36).substr(2, 6),
              ];
              return `${t}_${r}${e.substr(e.length - 5)}${n}`;
            },
            isArray: (t) =>
              "[object Array]" === Object.prototype.toString.call(t),
            isFunction: (t) =>
              "[object Function]" === Object.prototype.toString.call(t),
            toFunction(t) {
              return this.isFunction(t) ? t : function () {};
            },
            exeFunction(t, ...e) {
              this.isFunction(t) && t.call(...e);
            },
            isDomElement: (t) =>
              !!(t instanceof HTMLElement) ||
              !(
                !t ||
                "object" != typeof t ||
                1 !== t.nodeType ||
                "string" != typeof t.nodeName
              ),
            clamp: (t, e, n, r) =>
              Math.min(n, Math.max(e, Number.isNaN(t) ? r : t)),
            limit: (t, e) => (-1 !== e.indexOf(t) ? t : e[0]),
            toNum: (t, e = 1) => ((t -= 0), Number.isNaN(t) ? e : t),
            greater: (t, e = 0.001) => (
              (t -= 0), Number.isNaN(t) ? e : Math.max(e, t)
            ),
            initParams(t, e, n) {
              for (let r = 0; r < n.length; r++) {
                const i = n[r];
                Object.prototype.hasOwnProperty.call(e, i) && (t[i] = e[i]);
              }
            },
            setObjParams(t, e = {}) {
              Object.keys(e).forEach((n) => {
                Object.prototype.hasOwnProperty.call(t, n) && (t[n] = e[n]);
              });
            },
            easing(t, e) {
              return (
                this.isFunction(e) && (t = t <= 0 ? 0 : t >= 1 ? 1 : e(t)), t
              );
            },
            getEasingFun: (t) => kc[`type_${t}`],
            setEasingFun(t, e) {
              this.isFunction(e) && (kc[`type_${t}`] = e);
            },
            checkStr: (t, e, n = 2) =>
              !(!t || !e) &&
              (1 === n ? t === e : 0 === t.indexOf(e) || 0 === e.indexOf(t)),
            startsWith: (t, e) => t.slice(0, e.length) === e,
            endsWith: (t, e) => t.slice(-e.length) === e,
            deepClone(t) {
              let e;
              const n = Object.prototype.toString.call(t);
              if ("[object Array]" === n) {
                if (((e = []), t.length > 0))
                  for (let n = 0; n < t.length; n++)
                    e.push(this.deepClone(t[n]));
              } else
                "[object Object]" === n
                  ? ((e = {}),
                    Object.keys(t).forEach((n) => {
                      e[n] = this.deepClone(t[n]);
                    }))
                  : (e = t);
              return e;
            },
            removeArrItem(t, e) {
              for (let n = t.length - 1; n >= 0; n--)
                if (t[n] === e) {
                  t.splice(n, 1);
                  break;
                }
              return t;
            },
            removeArrItem2: (t, e) => t.filter((t) => t !== e),
            now: () => new Date().getTime(),
            throttle(t, e, n) {
              let r,
                i,
                o,
                a = null,
                s = 0;
              n || (n = {});
              const c = function () {
                  (s = !1 === n.leading ? 0 : jc.now()),
                    (a = null),
                    (o = t.apply(r, i)),
                    a || ((i = null), (r = null));
                },
                l = function (...l) {
                  const u = jc.now();
                  s || !1 !== n.leading || (s = u);
                  const f = e - (u - s);
                  return (
                    (r = this),
                    (i = l),
                    f <= 0 || f > e
                      ? (a && (clearTimeout(a), (a = null)),
                        (s = u),
                        (o = t.apply(r, i)),
                        a || ((i = null), (r = null)))
                      : a || !1 === n.trailing || (a = setTimeout(c, f)),
                    o
                  );
                };
              return (
                (l.cancel = function () {
                  clearTimeout(a), (s = 0), (i = null), (r = null), (a = null);
                }),
                l
              );
            },
            isSimpleObj(t) {
              const e = t && t.constructor === Proxy;
              return (
                e ||
                ("object" != typeof t && !e) ||
                null == t ||
                (!e && Ic.some((e) => t instanceof e))
              );
            },
            copy(t, e) {
              return (
                Object.keys(e).forEach((n) => {
                  const r = e[n];
                  this.isSimpleObj(r)
                    ? (t[n] = r)
                    : this.isSimpleObj(t[n])
                    ? (t[n] = this.copy(r instanceof Array ? [] : {}, r))
                    : (t[n] = this.copy(t[n], r));
                }),
                t
              );
            },
            extend(...t) {
              const e = Reflect.apply(Array.prototype.splice, t, [0]);
              if (e[0] instanceof Boolean || "boolean" == typeof e[0]) {
                if (e.splice(0, 1)[0]) {
                  const t = e.splice(0, 1)[0];
                  return e.forEach((e) => jc.copy(t, e)), t;
                }
              }
              return Reflect.apply(Object.assign, Object, e);
            },
            loopObject(t, e = function () {}) {
              Object.keys(t || {}).forEach(e);
            },
            clearObject(t) {
              this.loopObject(t, (e) => {
                Reflect.deleteProperty(t, e);
              });
            },
            isEqual(t, e) {
              if (t === e) return !0;
              if (JSON.stringify(t) === JSON.stringify(e)) return !0;
              if (
                this.isSimpleObj(t) ||
                this.isSimpleObj(e) ||
                this.isArray(t) ||
                this.isArray(e)
              )
                return !1;
              const [n, r] = [
                Object.getOwnPropertyNames(t),
                Object.getOwnPropertyNames(e),
              ];
              if (n.length !== r.length) return !1;
              for (let r = 0; r < n.length; r++) {
                const i = n[r];
                if (Object.prototype.hasOwnProperty.call(e, i)) return !1;
                const [o, a] = [t[i], e[i]];
                if ("object" == typeof o) {
                  if (!this.isEqual(o, a)) return !1;
                } else if (o !== a) return !1;
              }
              return !0;
            },
            getMercator(t, e, n = 180) {
              const r = (t * n) / 180;
              let i = e;
              if (e < 67 && e > -67) {
                const [t, r] = [Math.PI / 360, n / Math.PI];
                i = Math.log(Math.tan((90 + e) * t)) * r;
              }
              return { mx: r, my: i };
            },
            getSegPoint(t, e, n) {
              const r = {};
              return (
                Object.keys(t).forEach((i) => {
                  r[i] = t[i] - t[i] * n + e[i] * n;
                }),
                r
              );
            },
          },
          Rc = jc;
        window._isSupportWebGL = -1;
        const Dc = {
            mtl: {
              point: (t) => new THREE.PointsMaterial(t),
              sprite: (t) => new THREE.SpriteMaterial(t),
              line: (t) => new THREE.LineBasicMaterial(t),
              lineD: (t) => new THREE.LineDashedMaterial(t),
              shader: (t) => new THREE.ShaderMaterial(t),
              basic: (t) => new THREE.MeshBasicMaterial(t),
              phong: (t) => new THREE.MeshPhongMaterial(t),
              lambert: (t) => new THREE.MeshLambertMaterial(t),
              standard: (t) => new THREE.MeshStandardMaterial(t),
            },
            geo: {
              geo: () => new THREE.Geometry(),
              buf: () => new THREE.BufferGeometry(),
              insBuf: () => new THREE.InstancedBufferGeometry(),
              shape: (t, e) => new THREE.ShapeBufferGeometry(t, e),
              extrude: (t, e) => new THREE.ExtrudeBufferGeometry(t, e),
              plane: (t, e, n, r) => new THREE.PlaneBufferGeometry(t, e, n, r),
              circle: (t, e) => new THREE.CircleBufferGeometry(t, e),
              box: (t, e, n) => new THREE.BoxBufferGeometry(t, e, n),
              sphere: (t, e, n, r, i, o, a) =>
                new THREE.SphereBufferGeometry(t, e, n, r, i, o, a),
              torus: (t, e, n, r) => new THREE.TorusBufferGeometry(t, e, n, r),
              Icosah: (t, e) => new THREE.IcosahedronBufferGeometry(t, e),
              cylinder: (t, e, n, r, i) =>
                new THREE.CylinderBufferGeometry(t, e, n, r, 1, i),
            },
            PI: 3.141592653589793,
            M_PI: 6.283185307179586,
            M_PI2: 1.5707963267948966,
            wh: 400,
            obj(t) {
              const e = new THREE.Object3D();
              return (e.name = t), (e.userData.describe = t), e;
            },
            group(t) {
              const e = new THREE.Group();
              return (e.name = t), (e.userData.describe = t), e;
            },
            color: (t) => new THREE.Color(t),
            creatCGeo: (t) => new THREE.CurvePath().createGeometry(t),
            tgShape: (t, e) => THREE.ShapeUtils.triangulateShape(t, e),
            detector() {
              if (-1 !== window._isSupportWebGL) return window._isSupportWebGL;
              try {
                return (
                  (window._isSupportWebGL =
                    !!window.WebGLRenderingContext &&
                    !!document.createElement("canvas").getContext("webgl")),
                  window._isSupportWebGL
                );
              } catch (t) {
                return (window._isSupportWebGL = !1), window._isSupportWebGL;
              }
            },
            reverse(t) {
              THREE.ShapeUtils.isClockWise(t) || (t = t.reverse());
            },
            holeReverse(t) {
              THREE.ShapeUtils.isClockWise(t) && (t = t.reverse());
            },
            getColorArr(t) {
              function e(t) {
                return 1 === t.length ? `0${t}` : `${t}`;
              }
              if (Rc.isArray(t)) return t;
              const n = [],
                r = `${t}`.toLowerCase().replace(/\s/g, "");
              if (/^((?:rgba)?)\(\s*([^)]*)/.test(r)) {
                const t = r.replace(/rgba\(|\)/gi, "").split(","),
                  i = [
                    e(Math.round(t[0] - 0 || 0).toString(16)),
                    e(Math.round(t[1] - 0 || 0).toString(16)),
                    e(Math.round(t[2] - 0 || 0).toString(16)),
                  ];
                (n[0] = this.color(`#${i.join("")}`)),
                  (n[1] = Math.max(0, Math.min(1, t[3] - 0 || 0)));
              } else
                "transparent" === t
                  ? ((n[0] = this.color()), (n[1] = 0))
                  : ((n[0] = this.color(t)), (n[1] = 1));
              return n;
            },
            getRGBColor(t) {
              if (!this.isArray(t)) return t;
              if (!t[0].isColor) return t;
              const e = t[0].clone().multiplyScalar(255),
                n = Number.isNaN(t[1]) ? 1 : t[1];
              return `rgba(${0 | e.r},${0 | e.g},${0 | e.b},${n})`;
            },
            transCoord: (t, e) => {
              const n = e.config.element.width / 2,
                r = e.config.element.height / 2,
                i = t.clone().applyMatrix4(e.scene.matrix).project(e.camera),
                o = i.x * n + n,
                a = -i.y * r + r;
              return new THREE.Vector2(o, a);
            },
            disposeArr(t) {
              Object.keys(t).forEach((e) => {
                t[e].dispose && t[e].dispose(), delete t[e];
              });
            },
            disposeObj(t) {
              t &&
                "Scene" === t.type &&
                t.background &&
                (t.background.dispose(), (t.background = null)),
                t instanceof THREE.Object3D &&
                  this.objectTraverse(t, Dc.disposeNode.bind(Dc));
            },
            disposeNode(t) {
              if (Rc.isArray(t._txueArr)) {
                for (let e = 0; e < t._txueArr.length; e++)
                  t._txueArr[e].dispose(), (t._txueArr[e] = null);
                t._txueArr = null;
              }
              this.deleteGeometry(t),
                this.deleteMaterial(t),
                t.dispose && t.dispose(),
                t.parent && t.parent.remove(t),
                (t.userData = null),
                (t = null);
            },
            deleteGeometry(t) {
              t.geometry &&
                t.geometry.dispose &&
                (t.geometry._bufferGeometry &&
                  t.geometry._bufferGeometry.dispose(),
                t.geometry.dispose(),
                (t.geometry = null));
            },
            deleteMaterial(t) {
              Rc.isArray(t.material)
                ? t.material.forEach(Dc.disposeMaterial.bind(Dc))
                : t.material && this.disposeMaterial(t.material),
                (t.material = null);
            },
            disposeMaterial(t) {
              Object.keys(t).forEach((e) => {
                (t[e] && Rc.isFunction(t[e].dispose)) || "uniforms" === e
                  ? "uniforms" === e
                    ? Object.keys(t.uniforms).forEach((e) => {
                        let n = t.__webglShader
                          ? t.__webglShader.uniforms[e]
                          : void 0;
                        n &&
                          n.value &&
                          (n.value.dispose && n.value.dispose(),
                          (n.value = null)),
                          (n = t.uniforms[e]),
                          n.value &&
                            (n.value.dispose && n.value.dispose(),
                            (n.value = null));
                      })
                    : (t[e].dispose(), (t[e] = null))
                  : ("program" !== e &&
                      "fragmentShader" !== e &&
                      "vertexShader" !== e) ||
                    (t[e] = null);
              }),
                t.dispose(),
                (t = null);
            },
            objectTraverse(t, e) {
              if (!Rc.isFunction(e)) return;
              const { children: n } = t;
              for (let t = n.length - 1; t >= 0; t--)
                this.objectTraverse(n[t], e);
              e(t);
            },
          },
          Lc = Dc;
        class Mc {
          constructor(t, e, n) {
            (this.canvas = document.createElementNS(
              "http://www.w3.org/1999/xhtml",
              "canvas"
            )),
              (this.context = this.canvas.getContext("2d")),
              (this.image = new Image()),
              (this.onLoad = () => {}),
              (this.beforeScreenCut = () => {}),
              (this.screenCut = e),
              (this.beforeDestroy = () => {}),
              (this.destroyed = () => {}),
              this.drawDom(t, !1, n);
          }
          drawDom(t, e, n) {
            if (!t) return;
            e && (t = t.cloneNode(!0)),
              this.beforeScreenCut(t, this),
              this.screenCut(
                `data:image/svg+xml;charset=utf-8,\n            <svg xmlns="http://www.w3.org/2000/svg" \n                width="${
                  (n && n.width) || t.offsetWidth
                }" \n                height="${
                  (n && n.height) || t.offsetHeight
                }">\n                <foreignObject x="0" y="0" width="100%" height="100%">\n                ${new XMLSerializer()
                  .serializeToString(t)
                  .replace(/#/g, "%23")
                  .replace(
                    /\n/g,
                    "%0A"
                  )}\n                </foreignObject></svg>`
              ),
              this.beforeDestroy(t, this);
            const { destroyed: r } = this;
            this.destroy(), r.call(this, t, this);
          }
          drawImg(t) {
            const { width: e } = t,
              { height: n } = t;
            (this.canvas.width = e),
              (this.canvas.height = n),
              this.context.clearRect(0, 0, e, n),
              this.context.drawImage(t, 0, 0),
              this.beforeScreenCut(t, this),
              this.screenCut(this.canvas.toDataURL("image/png"), this),
              this.beforeDestroy(t, this);
            const { destroyed: r } = this;
            this.destroy(), r.call(this, t, this);
          }
          destroy() {
            delete this.image.onload,
              Object.keys(this || {}).forEach((t) => {
                delete this[t];
              });
          }
        }
        const Nc = {};
        !(function (t) {
          var e = r,
            n = r;
          function r(t, e, n) {
            n = n || 2;
            var r,
              s,
              c,
              l,
              u,
              h,
              m,
              v = e && e.length,
              g = v ? e[0] * n : t.length,
              y = i(t, 0, g, n, !0),
              b = [];
            if (!y) return b;
            if (
              (v &&
                (y = (function (t, e, n, r) {
                  var a,
                    s,
                    c,
                    l = [];
                  for (a = 0, s = e.length; a < s; a++)
                    (c = i(
                      t,
                      e[a] * r,
                      a < s - 1 ? e[a + 1] * r : t.length,
                      r,
                      !1
                    )) === c.next && (c.steiner = !0),
                      l.push(p(c));
                  for (l.sort(f), a = 0; a < l.length; a++)
                    d(l[a], n), (n = o(n, n.next));
                  return n;
                })(t, e, y, n)),
              t.length > 80 * n)
            ) {
              (r = c = t[0]), (s = l = t[1]);
              for (var V = n; V < g; V += n)
                (u = t[V]) < r && (r = u),
                  (h = t[V + 1]) < s && (s = h),
                  u > c && (c = u),
                  h > l && (l = h);
              m = 0 !== (m = Math.max(c - r, l - s)) ? 1 / m : 0;
            }
            return a(y, b, n, r, s, m), b;
          }
          function i(t, e, n, r, i) {
            var o, a;
            if (i === A(t, e, n, r) > 0)
              for (o = e; o < n; o += r) a = w(o, t[o], t[o + 1], a);
            else for (o = n - r; o >= e; o -= r) a = w(o, t[o], t[o + 1], a);
            return a && y(a, a.next) && (S(a), (a = a.next)), a;
          }
          function o(t, e) {
            if (!t) return t;
            e || (e = t);
            var n,
              r = t;
            do {
              if (
                ((n = !1),
                r.steiner || (!y(r, r.next) && 0 !== g(r.prev, r, r.next)))
              )
                r = r.next;
              else {
                if ((S(r), (r = e = r.prev) === r.next)) break;
                n = !0;
              }
            } while (n || r !== e);
            return e;
          }
          function a(t, e, n, r, i, f, d) {
            if (t) {
              !d &&
                f &&
                (function (t, e, n, r) {
                  var i = t;
                  do {
                    null === i.z && (i.z = h(i.x, i.y, e, n, r)),
                      (i.prevZ = i.prev),
                      (i.nextZ = i.next),
                      (i = i.next);
                  } while (i !== t);
                  (i.prevZ.nextZ = null),
                    (i.prevZ = null),
                    (function (t) {
                      var e,
                        n,
                        r,
                        i,
                        o,
                        a,
                        s,
                        c,
                        l = 1;
                      do {
                        for (n = t, t = null, o = null, a = 0; n; ) {
                          for (
                            a++, r = n, s = 0, e = 0;
                            e < l && (s++, (r = r.nextZ));
                            e++
                          );
                          for (c = l; s > 0 || (c > 0 && r); )
                            0 !== s && (0 === c || !r || n.z <= r.z)
                              ? ((i = n), (n = n.nextZ), s--)
                              : ((i = r), (r = r.nextZ), c--),
                              o ? (o.nextZ = i) : (t = i),
                              (i.prevZ = o),
                              (o = i);
                          n = r;
                        }
                        (o.nextZ = null), (l *= 2);
                      } while (a > 1);
                    })(i);
                })(t, r, i, f);
              for (var p, m, v = t; t.prev !== t.next; )
                if (((p = t.prev), (m = t.next), f ? c(t, r, i, f) : s(t)))
                  e.push(p.i / n),
                    e.push(t.i / n),
                    e.push(m.i / n),
                    S(t),
                    (t = m.next),
                    (v = m.next);
                else if ((t = m) === v) {
                  d
                    ? 1 === d
                      ? a((t = l(t, e, n)), e, n, r, i, f, 2)
                      : 2 === d && u(t, e, n, r, i, f)
                    : a(o(t), e, n, r, i, f, 1);
                  break;
                }
            }
          }
          function s(t) {
            var e = t.prev,
              n = t,
              r = t.next;
            if (g(e, n, r) >= 0) return !1;
            for (var i = t.next.next; i !== t.prev; ) {
              if (
                m(e.x, e.y, n.x, n.y, r.x, r.y, i.x, i.y) &&
                g(i.prev, i, i.next) >= 0
              )
                return !1;
              i = i.next;
            }
            return !0;
          }
          function c(t, e, n, r) {
            var i = t.prev,
              o = t,
              a = t.next;
            if (g(i, o, a) >= 0) return !1;
            for (
              var s =
                  i.x < o.x ? (i.x < a.x ? i.x : a.x) : o.x < a.x ? o.x : a.x,
                c = i.y < o.y ? (i.y < a.y ? i.y : a.y) : o.y < a.y ? o.y : a.y,
                l = i.x > o.x ? (i.x > a.x ? i.x : a.x) : o.x > a.x ? o.x : a.x,
                u = i.y > o.y ? (i.y > a.y ? i.y : a.y) : o.y > a.y ? o.y : a.y,
                f = h(s, c, e, n, r),
                d = h(l, u, e, n, r),
                p = t.prevZ,
                v = t.nextZ;
              p && p.z >= f && v && v.z <= d;

            ) {
              if (
                p !== t.prev &&
                p !== t.next &&
                m(i.x, i.y, o.x, o.y, a.x, a.y, p.x, p.y) &&
                g(p.prev, p, p.next) >= 0
              )
                return !1;
              if (
                ((p = p.prevZ),
                v !== t.prev &&
                  v !== t.next &&
                  m(i.x, i.y, o.x, o.y, a.x, a.y, v.x, v.y) &&
                  g(v.prev, v, v.next) >= 0)
              )
                return !1;
              v = v.nextZ;
            }
            for (; p && p.z >= f; ) {
              if (
                p !== t.prev &&
                p !== t.next &&
                m(i.x, i.y, o.x, o.y, a.x, a.y, p.x, p.y) &&
                g(p.prev, p, p.next) >= 0
              )
                return !1;
              p = p.prevZ;
            }
            for (; v && v.z <= d; ) {
              if (
                v !== t.prev &&
                v !== t.next &&
                m(i.x, i.y, o.x, o.y, a.x, a.y, v.x, v.y) &&
                g(v.prev, v, v.next) >= 0
              )
                return !1;
              v = v.nextZ;
            }
            return !0;
          }
          function l(t, e, n) {
            var r = t;
            do {
              var i = r.prev,
                o = r.next.next;
              !y(i, o) &&
                b(i, r, r.next, o) &&
                V(i, o) &&
                V(o, i) &&
                (e.push(i.i / n),
                e.push(r.i / n),
                e.push(o.i / n),
                S(r),
                S(r.next),
                (r = t = o)),
                (r = r.next);
            } while (r !== t);
            return r;
          }
          function u(t, e, n, r, i, s) {
            var c = t;
            do {
              for (var l = c.next.next; l !== c.prev; ) {
                if (c.i !== l.i && v(c, l)) {
                  var u = _(c, l);
                  return (
                    (c = o(c, c.next)),
                    (u = o(u, u.next)),
                    a(c, e, n, r, i, s),
                    void a(u, e, n, r, i, s)
                  );
                }
                l = l.next;
              }
              c = c.next;
            } while (c !== t);
          }
          function f(t, e) {
            return t.x - e.x;
          }
          function d(t, e) {
            if (
              ((e = (function (t, e) {
                var n,
                  r = e,
                  i = t.x,
                  o = t.y,
                  a = -1 / 0;
                do {
                  if (o <= r.y && o >= r.next.y && r.next.y !== r.y) {
                    var s =
                      r.x + ((o - r.y) * (r.next.x - r.x)) / (r.next.y - r.y);
                    if (s <= i && s > a) {
                      if (((a = s), s === i)) {
                        if (o === r.y) return r;
                        if (o === r.next.y) return r.next;
                      }
                      n = r.x < r.next.x ? r : r.next;
                    }
                  }
                  r = r.next;
                } while (r !== e);
                if (!n) return null;
                if (i === a) return n.prev;
                var c,
                  l = n,
                  u = n.x,
                  f = n.y,
                  d = 1 / 0;
                r = n.next;
                for (; r !== l; )
                  i >= r.x &&
                    r.x >= u &&
                    i !== r.x &&
                    m(o < f ? i : a, o, u, f, o < f ? a : i, o, r.x, r.y) &&
                    ((c = Math.abs(o - r.y) / (i - r.x)) < d ||
                      (c === d && r.x > n.x)) &&
                    V(r, t) &&
                    ((n = r), (d = c)),
                    (r = r.next);
                return n;
              })(t, e)),
              e)
            ) {
              var n = _(e, t);
              o(n, n.next);
            }
          }
          function h(t, e, n, r, i) {
            return (
              (t =
                1431655765 &
                ((t =
                  858993459 &
                  ((t =
                    252645135 &
                    ((t = 16711935 & ((t = 32767 * (t - n) * i) | (t << 8))) |
                      (t << 4))) |
                    (t << 2))) |
                  (t << 1))) |
              ((e =
                1431655765 &
                ((e =
                  858993459 &
                  ((e =
                    252645135 &
                    ((e = 16711935 & ((e = 32767 * (e - r) * i) | (e << 8))) |
                      (e << 4))) |
                    (e << 2))) |
                  (e << 1))) <<
                1)
            );
          }
          function p(t) {
            var e = t,
              n = t;
            do {
              e.x < n.x && (n = e), (e = e.next);
            } while (e !== t);
            return n;
          }
          function m(t, e, n, r, i, o, a, s) {
            return (
              (i - a) * (e - s) - (t - a) * (o - s) >= 0 &&
              (t - a) * (r - s) - (n - a) * (e - s) >= 0 &&
              (n - a) * (o - s) - (i - a) * (r - s) >= 0
            );
          }
          function v(t, e) {
            return (
              t.next.i !== e.i &&
              t.prev.i !== e.i &&
              !(function (t, e) {
                var n = t;
                do {
                  if (
                    n.i !== t.i &&
                    n.next.i !== t.i &&
                    n.i !== e.i &&
                    n.next.i !== e.i &&
                    b(n, n.next, t, e)
                  )
                    return !0;
                  n = n.next;
                } while (n !== t);
                return !1;
              })(t, e) &&
              V(t, e) &&
              V(e, t) &&
              (function (t, e) {
                var n = t,
                  r = !1,
                  i = (t.x + e.x) / 2,
                  o = (t.y + e.y) / 2;
                do {
                  n.y > o != n.next.y > o &&
                    n.next.y !== n.y &&
                    i <
                      ((n.next.x - n.x) * (o - n.y)) / (n.next.y - n.y) + n.x &&
                    (r = !r),
                    (n = n.next);
                } while (n !== t);
                return r;
              })(t, e)
            );
          }
          function g(t, e, n) {
            return (e.y - t.y) * (n.x - e.x) - (e.x - t.x) * (n.y - e.y);
          }
          function y(t, e) {
            return t.x === e.x && t.y === e.y;
          }
          function b(t, e, n, r) {
            return (
              !!((y(t, e) && y(n, r)) || (y(t, r) && y(n, e))) ||
              (g(t, e, n) > 0 != g(t, e, r) > 0 &&
                g(n, r, t) > 0 != g(n, r, e) > 0)
            );
          }
          function V(t, e) {
            return g(t.prev, t, t.next) < 0
              ? g(t, e, t.next) >= 0 && g(t, t.prev, e) >= 0
              : g(t, e, t.prev) < 0 || g(t, t.next, e) < 0;
          }
          function _(t, e) {
            var n = new E(t.i, t.x, t.y),
              r = new E(e.i, e.x, e.y),
              i = t.next,
              o = e.prev;
            return (
              (t.next = e),
              (e.prev = t),
              (n.next = i),
              (i.prev = n),
              (r.next = n),
              (n.prev = r),
              (o.next = r),
              (r.prev = o),
              r
            );
          }
          function w(t, e, n, r) {
            var i = new E(t, e, n);
            return (
              r
                ? ((i.next = r.next),
                  (i.prev = r),
                  (r.next.prev = i),
                  (r.next = i))
                : ((i.prev = i), (i.next = i)),
              i
            );
          }
          function S(t) {
            (t.next.prev = t.prev),
              (t.prev.next = t.next),
              t.prevZ && (t.prevZ.nextZ = t.nextZ),
              t.nextZ && (t.nextZ.prevZ = t.prevZ);
          }
          function E(t, e, n) {
            (this.i = t),
              (this.x = e),
              (this.y = n),
              (this.prev = null),
              (this.next = null),
              (this.z = null),
              (this.prevZ = null),
              (this.nextZ = null),
              (this.steiner = !1);
          }
          function A(t, e, n, r) {
            for (var i = 0, o = e, a = n - r; o < n; o += r)
              (i += (t[a] - t[o]) * (t[o + 1] + t[a + 1])), (a = o);
            return i;
          }
          function T(t, e) {
            return t[0] * e[0] + t[1] * e[1];
          }
          function O(t, e) {
            const n = e[0],
              r = e[1],
              i = Math.sqrt(n * n + r * r);
            return (t[0] = n / i), (t[1] = r / i), t;
          }
          function C(t, e, n) {
            return (t[0] = e[0] + n[0]), (t[1] = e[1] + n[1]), t;
          }
          (r.deviation = function (t, e, n, r) {
            var i = e && e.length,
              o = i ? e[0] * n : t.length,
              a = Math.abs(A(t, 0, o, n));
            if (i)
              for (var s = 0, c = e.length; s < c; s++) {
                var l = e[s] * n,
                  u = s < c - 1 ? e[s + 1] * n : t.length;
                a -= Math.abs(A(t, l, u, n));
              }
            var f = 0;
            for (s = 0; s < r.length; s += 3) {
              var d = r[s] * n,
                h = r[s + 1] * n,
                p = r[s + 2] * n;
              f += Math.abs(
                (t[d] - t[p]) * (t[h + 1] - t[d + 1]) -
                  (t[d] - t[h]) * (t[p + 1] - t[d + 1])
              );
            }
            return 0 === a && 0 === f ? 0 : Math.abs((f - a) / a);
          }),
            (r.flatten = function (t) {
              for (
                var e = t[0][0].length,
                  n = { vertices: [], holes: [], dimensions: e },
                  r = 0,
                  i = 0;
                i < t.length;
                i++
              ) {
                for (var o = 0; o < t[i].length; o++)
                  for (var a = 0; a < e; a++) n.vertices.push(t[i][o][a]);
                i > 0 && ((r += t[i - 1].length), n.holes.push(r));
              }
              return n;
            }),
            (e.default = n);
          const P = [],
            x = [],
            k = [];
          function I(t, e, n, r, i, o, a, s) {
            const c = null != a;
            let l = i,
              u = null;
            c && (u = new Uint32Array(r - n));
            for (let i = n; i < r; i++) {
              const f = i === r - 1 ? n : i + 1,
                d = i === n ? r - 1 : i - 1,
                h = t[2 * d],
                p = t[2 * d + 1],
                m = t[2 * i],
                v = t[2 * i + 1],
                g = t[2 * f],
                y = t[2 * f + 1];
              if (
                ((P[0] = m - h),
                (P[1] = v - p),
                (x[0] = g - m),
                (x[1] = y - v),
                O(P, P),
                O(x, x),
                c && (u[i] = l),
                s || i !== n)
              )
                if (s || i !== r - 1) {
                  C(k, x, P);
                  const t = k[1];
                  (k[1] = -k[0]), (k[0] = t), O(k, k);
                  const n = T(k, x),
                    r = Math.sqrt(1 - n * n),
                    i = o * Math.min(10, 1 / r);
                  if (c && 1 / r > a && o * n < 0) {
                    const t = m + k[0] * o,
                      n = v + k[1] * o,
                      i = Math.acos(r) / 2,
                      a = Math.tan(i) * Math.abs(o);
                    (e[2 * l] = t + k[1] * a),
                      (e[2 * l + 1] = n - k[0] * a),
                      l++,
                      (e[2 * l] = t - k[1] * a),
                      (e[2 * l + 1] = n + k[0] * a),
                      l++;
                  } else
                    (e[2 * l] = m + k[0] * i),
                      (e[2 * l + 1] = v + k[1] * i),
                      l++;
                } else
                  (k[0] = P[1]),
                    (k[1] = -P[0]),
                    O(k, k),
                    (e[2 * l] = m + k[0] * o),
                    (e[2 * l + 1] = v + k[1] * o),
                    l++;
              else
                (k[0] = x[1]),
                  (k[1] = -x[0]),
                  O(k, k),
                  (e[2 * l] = m + k[0] * o),
                  (e[2 * l + 1] = v + k[1] * o),
                  l++;
            }
            return u;
          }
          function j(t, e, n, r, i, o, a, s) {
            const c = null != a;
            let l = i,
              u = null;
            c && (u = new Uint32Array(r - n));
            for (let i = n; i < r; i++) {
              const f = i === r - 1 ? n : i + 1,
                d = i === n ? r - 1 : i - 1,
                h = t[2 * d],
                p = t[2 * d + 1],
                m = t[2 * i],
                v = t[2 * i + 1],
                g = t[2 * f],
                y = t[2 * f + 1];
              if (
                ((P[0] = m - h),
                (P[1] = v - p),
                (x[0] = g - m),
                (x[1] = y - v),
                O(P, P),
                O(x, x),
                c && (u[i] = l),
                s || i !== n)
              )
                if (s || i !== r - 1) {
                  C(k, x, P);
                  const t = k[1];
                  (k[1] = -k[0]), (k[0] = t), O(k, k);
                  const n = T(k, x),
                    r = Math.sqrt(1 - n * n),
                    i = o * Math.min(10, 1 / r);
                  if (c && 1 / r > a && o * n < 0) {
                    const t = m + k[0] * o,
                      n = v + k[1] * o,
                      i = Math.acos(r) / 2,
                      a = Math.tan(i) * Math.abs(o);
                    (e[2 * l] = t + k[1] * a),
                      (e[2 * l + 1] = n - k[0] * a),
                      l++,
                      (e[2 * l] = t - k[1] * a),
                      (e[2 * l + 1] = n + k[0] * a),
                      l++;
                  } else (e[2 * l] = k[0] * i), (e[2 * l + 1] = k[1] * i), l++;
                } else
                  (k[0] = P[1]),
                    (k[1] = -P[0]),
                    O(k, k),
                    (e[2 * l] = k[0] * o),
                    (e[2 * l + 1] = k[1] * o),
                    l++;
              else
                (k[0] = x[1]),
                  (k[1] = -x[0]),
                  O(k, k),
                  (e[2 * l] = k[0] * o),
                  (e[2 * l + 1] = k[1] * o),
                  l++;
            }
            return u;
          }
          (t.flatten = function (t) {
            return e.flatten(t);
          }),
            (t.triangulate = function (t, n, r = 2) {
              return e(t, n, r);
            }),
            (t.offsetPolygon2 = function (t, e, n) {
              const r = null,
                i = [];
              if (
                (j(t, i, 0, e && e.length ? e[0] : t.length / 2, 0, 1, r, n), e)
              )
                for (let o = 0; o < e.length; o++) {
                  const a = e[o];
                  j(t, i, a, e[o + 1] || t.length / 2, a, 1, r, n);
                }
              return i;
            }),
            (t.offsetPolygon = function (t, e, n, r, i) {
              const o = null != r ? [] : new Float32Array(t.length);
              if (
                (I(t, o, 0, e && e.length ? e[0] : t.length / 2, 0, n, r, i), e)
              )
                for (let a = 0; a < e.length; a++) {
                  const s = e[a];
                  I(
                    t,
                    o,
                    s,
                    e[a + 1] || t.length / 2,
                    null != r ? o.length / 2 : s,
                    n,
                    r,
                    i
                  );
                }
              return o;
            });
        })(Nc);
        const $c = Nc;
        var Bc,
          Uc,
          Fc =
            ((Bc = []),
            {
              getAll: function () {
                return Bc;
              },
              removeAll: function () {
                Bc = [];
              },
              add: function (t) {
                Bc.push(t);
              },
              remove: function (t) {
                var e = Bc.indexOf(t);
                -1 !== e && Bc.splice(e, 1);
              },
              update: function (t, e) {
                if (0 === Bc.length) return !1;
                var n = 0;
                for (t = void 0 !== t ? t : Fc.now(); n < Bc.length; )
                  Bc[n].update(t) || e ? n++ : Bc.splice(n, 1);
                return !0;
              },
            });
        "undefined" == typeof window && "undefined" != typeof process
          ? (Fc.now = function () {
              var t = process.hrtime();
              return 1e3 * t[0] + t[1] / 1e6;
            })
          : "undefined" != typeof window &&
            void 0 !== window.performance &&
            void 0 !== window.performance.now
          ? (Fc.now = window.performance.now.bind(window.performance))
          : void 0 !== Date.now
          ? (Fc.now = Date.now)
          : (Fc.now = function () {
              return new Date().getTime();
            }),
          (Fc.Tween = function (t) {
            var e,
              n = t,
              r = {},
              i = {},
              o = {},
              a = 1e3,
              s = 0,
              c = !1,
              l = !1,
              u = !1,
              f = 0,
              d = null,
              h = Fc.Easing.Linear.None,
              p = Fc.Interpolation.Linear,
              m = [],
              v = null,
              g = !1,
              y = null,
              b = null,
              V = null;
            (this.to = function (t, e) {
              return (i = t), void 0 !== e && (a = e), this;
            }),
              (this.start = function (t) {
                for (var e in (Fc.add(this),
                (l = !0),
                (g = !1),
                (d = void 0 !== t ? t : Fc.now()),
                (d += f),
                i)) {
                  if (i[e] instanceof Array) {
                    if (0 === i[e].length) continue;
                    i[e] = [n[e]].concat(i[e]);
                  }
                  void 0 !== n[e] &&
                    ((r[e] = n[e]),
                    r[e] instanceof Array == !1 && (r[e] *= 1),
                    (o[e] = r[e] || 0));
                }
                return this;
              }),
              (this.stop = function () {
                return l
                  ? (Fc.remove(this),
                    (l = !1),
                    null !== V && V.call(n, n),
                    this.stopChainedTweens(),
                    this)
                  : this;
              }),
              (this.end = function () {
                return this.update(d + a), this;
              }),
              (this.stopChainedTweens = function () {
                for (var t = 0, e = m.length; t < e; t++) m[t].stop();
              }),
              (this.delay = function (t) {
                return (f = t), this;
              }),
              (this.repeat = function (t) {
                return (s = t), this;
              }),
              (this.repeatDelay = function (t) {
                return (e = t), this;
              }),
              (this.yoyo = function (t) {
                return (c = t), this;
              }),
              (this.easing = function (t) {
                return (h = t), this;
              }),
              (this.interpolation = function (t) {
                return (p = t), this;
              }),
              (this.chain = function () {
                return (m = arguments), this;
              }),
              (this.onStart = function (t) {
                return (v = t), this;
              }),
              (this.onUpdate = function (t) {
                return (y = t), this;
              }),
              (this.onComplete = function (t) {
                return (b = t), this;
              }),
              (this.onStop = function (t) {
                return (V = t), this;
              }),
              (this.update = function (t) {
                var l, V, _;
                if (t < d) return !0;
                for (l in (!1 === g && (null !== v && v.call(n, n), (g = !0)),
                (_ = h((V = (V = (t - d) / a) > 1 ? 1 : V))),
                i))
                  if (void 0 !== r[l]) {
                    var w = r[l] || 0,
                      S = i[l];
                    S instanceof Array
                      ? (n[l] = p(S, _))
                      : ("string" == typeof S &&
                          (S =
                            "+" === S.charAt(0) || "-" === S.charAt(0)
                              ? w + parseFloat(S)
                              : parseFloat(S)),
                        "number" == typeof S && (n[l] = w + (S - w) * _));
                  }
                if ((null !== y && y.call(n, _), 1 === V)) {
                  if (s > 0) {
                    for (l in (isFinite(s) && s--, o)) {
                      if (
                        ("string" == typeof i[l] &&
                          (o[l] = o[l] + parseFloat(i[l])),
                        c)
                      ) {
                        var E = o[l];
                        (o[l] = i[l]), (i[l] = E);
                      }
                      r[l] = o[l];
                    }
                    return (
                      c && (u = !u), (d = void 0 !== e ? t + e : t + f), !0
                    );
                  }
                  null !== b && b.call(n, n);
                  for (var A = 0, T = m.length; A < T; A++) m[A].start(d + a);
                  return !1;
                }
                return !0;
              });
          }),
          (Fc.Easing = {
            Linear: {
              None: function (t) {
                return t;
              },
            },
            Quadratic: {
              In: function (t) {
                return t * t;
              },
              Out: function (t) {
                return t * (2 - t);
              },
              InOut: function (t) {
                return (t *= 2) < 1 ? 0.5 * t * t : -0.5 * (--t * (t - 2) - 1);
              },
            },
            Cubic: {
              In: function (t) {
                return t * t * t;
              },
              Out: function (t) {
                return --t * t * t + 1;
              },
              InOut: function (t) {
                return (t *= 2) < 1
                  ? 0.5 * t * t * t
                  : 0.5 * ((t -= 2) * t * t + 2);
              },
            },
            Quartic: {
              In: function (t) {
                return t * t * t * t;
              },
              Out: function (t) {
                return 1 - --t * t * t * t;
              },
              InOut: function (t) {
                return (t *= 2) < 1
                  ? 0.5 * t * t * t * t
                  : -0.5 * ((t -= 2) * t * t * t - 2);
              },
            },
            Quintic: {
              In: function (t) {
                return t * t * t * t * t;
              },
              Out: function (t) {
                return --t * t * t * t * t + 1;
              },
              InOut: function (t) {
                return (t *= 2) < 1
                  ? 0.5 * t * t * t * t * t
                  : 0.5 * ((t -= 2) * t * t * t * t + 2);
              },
            },
            Sinusoidal: {
              In: function (t) {
                return 1 - Math.cos((t * Math.PI) / 2);
              },
              Out: function (t) {
                return Math.sin((t * Math.PI) / 2);
              },
              InOut: function (t) {
                return 0.5 * (1 - Math.cos(Math.PI * t));
              },
            },
            Exponential: {
              In: function (t) {
                return 0 === t ? 0 : Math.pow(1024, t - 1);
              },
              Out: function (t) {
                return 1 === t ? 1 : 1 - Math.pow(2, -10 * t);
              },
              InOut: function (t) {
                return 0 === t
                  ? 0
                  : 1 === t
                  ? 1
                  : (t *= 2) < 1
                  ? 0.5 * Math.pow(1024, t - 1)
                  : 0.5 * (2 - Math.pow(2, -10 * (t - 1)));
              },
            },
            Circular: {
              In: function (t) {
                return 1 - Math.sqrt(1 - t * t);
              },
              Out: function (t) {
                return Math.sqrt(1 - --t * t);
              },
              InOut: function (t) {
                return (t *= 2) < 1
                  ? -0.5 * (Math.sqrt(1 - t * t) - 1)
                  : 0.5 * (Math.sqrt(1 - (t -= 2) * t) + 1);
              },
            },
            Elastic: {
              In: function (t) {
                return 0 === t
                  ? 0
                  : 1 === t
                  ? 1
                  : -Math.pow(2, 10 * (t - 1)) *
                    Math.sin(5 * (t - 1.1) * Math.PI);
              },
              Out: function (t) {
                return 0 === t
                  ? 0
                  : 1 === t
                  ? 1
                  : Math.pow(2, -10 * t) * Math.sin(5 * (t - 0.1) * Math.PI) +
                    1;
              },
              InOut: function (t) {
                return 0 === t
                  ? 0
                  : 1 === t
                  ? 1
                  : (t *= 2) < 1
                  ? -0.5 *
                    Math.pow(2, 10 * (t - 1)) *
                    Math.sin(5 * (t - 1.1) * Math.PI)
                  : 0.5 *
                      Math.pow(2, -10 * (t - 1)) *
                      Math.sin(5 * (t - 1.1) * Math.PI) +
                    1;
              },
            },
            Back: {
              In: function (t) {
                var e = 1.70158;
                return t * t * ((e + 1) * t - e);
              },
              Out: function (t) {
                var e = 1.70158;
                return --t * t * ((e + 1) * t + e) + 1;
              },
              InOut: function (t) {
                var e = 2.5949095;
                return (t *= 2) < 1
                  ? t * t * ((e + 1) * t - e) * 0.5
                  : 0.5 * ((t -= 2) * t * ((e + 1) * t + e) + 2);
              },
            },
            Bounce: {
              In: function (t) {
                return 1 - Fc.Easing.Bounce.Out(1 - t);
              },
              Out: function (t) {
                return t < 1 / 2.75
                  ? 7.5625 * t * t
                  : t < 2 / 2.75
                  ? 7.5625 * (t -= 1.5 / 2.75) * t + 0.75
                  : t < 2.5 / 2.75
                  ? 7.5625 * (t -= 2.25 / 2.75) * t + 0.9375
                  : 7.5625 * (t -= 2.625 / 2.75) * t + 0.984375;
              },
              InOut: function (t) {
                return t < 0.5
                  ? 0.5 * Fc.Easing.Bounce.In(2 * t)
                  : 0.5 * Fc.Easing.Bounce.Out(2 * t - 1) + 0.5;
              },
            },
          }),
          (Fc.Interpolation = {
            Linear: function (t, e) {
              var n = t.length - 1,
                r = n * e,
                i = Math.floor(r),
                o = Fc.Interpolation.Utils.Linear;
              return e < 0
                ? o(t[0], t[1], r)
                : e > 1
                ? o(t[n], t[n - 1], n - r)
                : o(t[i], t[i + 1 > n ? n : i + 1], r - i);
            },
            Bezier: function (t, e) {
              for (
                var n = 0,
                  r = t.length - 1,
                  i = Math.pow,
                  o = Fc.Interpolation.Utils.Bernstein,
                  a = 0;
                a <= r;
                a++
              )
                n += i(1 - e, r - a) * i(e, a) * t[a] * o(r, a);
              return n;
            },
            CatmullRom: function (t, e) {
              var n = t.length - 1,
                r = n * e,
                i = Math.floor(r),
                o = Fc.Interpolation.Utils.CatmullRom;
              return t[0] === t[n]
                ? (e < 0 && (i = Math.floor((r = n * (1 + e)))),
                  o(
                    t[(i - 1 + n) % n],
                    t[i],
                    t[(i + 1) % n],
                    t[(i + 2) % n],
                    r - i
                  ))
                : e < 0
                ? t[0] - (o(t[0], t[0], t[1], t[1], -r) - t[0])
                : e > 1
                ? t[n] - (o(t[n], t[n], t[n - 1], t[n - 1], r - n) - t[n])
                : o(
                    t[i ? i - 1 : 0],
                    t[i],
                    t[n < i + 1 ? n : i + 1],
                    t[n < i + 2 ? n : i + 2],
                    r - i
                  );
            },
            Utils: {
              Linear: function (t, e, n) {
                return (e - t) * n + t;
              },
              Bernstein: function (t, e) {
                var n = Fc.Interpolation.Utils.Factorial;
                return n(t) / n(e) / n(t - e);
              },
              Factorial:
                ((Uc = [1]),
                function (t) {
                  var e = 1;
                  if (Uc[t]) return Uc[t];
                  for (var n = t; n > 1; n--) e *= n;
                  return (Uc[t] = e), e;
                }),
              CatmullRom: function (t, e, n, r, i) {
                var o = 0.5 * (n - t),
                  a = 0.5 * (r - e),
                  s = i * i;
                return (
                  (2 * e - 2 * n + o + a) * (i * s) +
                  (-3 * e + 3 * n - 2 * o - a) * s +
                  o * i +
                  e
                );
              },
            },
          });
        const Hc = Fc;
        let Gc;
        const Wc = Symbol("COMPUTED");
        class zc {
          constructor(t) {
            (Gc = t),
              (this._listener = new Gc.Listener()),
              (this.bind = function (t, e = function () {}) {
                Gc.loopObject(t.computed, (e) => {
                  t.data[e] = Wc;
                });
                const n = this._createListener(
                  t.data,
                  t.watch,
                  t.computed,
                  t.bind
                );
                return e(n), n;
              }),
              (this.dispose = function () {
                this._listener.destroy();
              });
          }
          _createListener = function (t = {}, e = {}, n = {}, r = {}) {
            const [i, o, a, s, c, l, u] = [this, {}, {}, {}, {}, {}, {}];
            let [f, d, h, p] = [];
            function m(t) {
              return !(!a[t] && !o[t]);
            }
            function v() {
              i._listener.setListener(i._listenerList);
            }
            function g() {
              i._listener.setListener(o);
            }
            function y(t, e, n) {
              d ||
                ((d = !0),
                requestAnimationFrame(() => {
                  (d = !1),
                    Gc.loopObject(c, (t) => {
                      g(),
                        i._listener.trigger(...c[t], t),
                        v(),
                        Reflect.deleteProperty(c, t);
                    });
                })),
                (c[t] = [t, f, e, n]);
            }
            function b(t, e, n = []) {
              Gc.loopObject(t, (r) => {
                const [i, o] = [n.slice(), t[r]];
                i.push(r), e(o, i), Gc.isSimpleObj(o) || b(o, e, i);
              });
            }
            function V() {
              Gc.clearObject(o),
                Gc.clearObject(a),
                Gc.clearObject(s),
                g(),
                b(e, (t, e) => {
                  if (!(t instanceof Function)) return;
                  let n = e[0];
                  e.forEach((o, a) => {
                    a && (n += `.${o}`),
                      (function (t, e = function () {}) {
                        i._listener.bind(t, e);
                      })(
                        n,
                        ((t, e, n) => {
                          const i = t.filter((t, n) => n > e);
                          return function (t, e, o) {
                            i.length && i.some((e) => void 0 === (t = t[e])),
                              Reflect.apply(n, r, [t, e, o, this]);
                          };
                        })(e, a, t)
                      );
                  });
                }),
                (i.computed = !0),
                Gc.loopObject(n, (t) => {
                  (i.computedName = t),
                    (s[t] = Reflect.apply(n[t], f, [])),
                    Reflect.deleteProperty(i, "computedName");
                }),
                Reflect.deleteProperty(i, "computed"),
                v();
            }
            function _(t, e) {
              Gc.loopObject(t, (r) => {
                if (n[r]) {
                  const t = s[r];
                  s[r] = Reflect.apply(n[r], f, []);
                  const o = s[r];
                  if (!e && o === t) return;
                  g(), i._listener.trigger(r, f, o, e ? void 0 : t, r), v();
                }
                Reflect.deleteProperty(t, r);
              });
            }
            function w(t) {
              h ||
                ((h = !0),
                requestAnimationFrame(() => {
                  (h = !1), _(l);
                })),
                t.forEach((t) => {
                  l[t] = !0;
                });
            }
            const S = (t = {}, e = {}, r = {}, c = "") => {
              function l(t) {
                return c
                  ? `${c}.${"string" == typeof t ? t : "Symble---toString"}`
                  : t;
              }
              return new Proxy(t, {
                ownKeys(t) {
                  const e = Object.keys(t);
                  return t instanceof Array && e.push("length"), e;
                },
                get(t, n, u) {
                  if ("__getBase__" === n) return t;
                  if ("constructor" === n) return Proxy;
                  const f = l(n),
                    d = Reflect.get(t, n, u);
                  if (i.computed) {
                    g(),
                      (a[f] = a[f] || new Set()),
                      a[f].add(i.computedName),
                      (o[f] = o[f] || []);
                    const t = o[f];
                    if (!t.some((t) => t.isComputed)) {
                      const e = w.bind(null, a[f]);
                      (e.isComputed = !0), t.push(e);
                    }
                    v();
                  }
                  return Array.isArray(t) && d instanceof Function
                    ? function (...n) {
                        const i = t.map((t, n) => {
                            const i = l(n);
                            return Gc.isSimpleObj(t) ? t : S(t, e[n], r, i);
                          }),
                          { length: o } = i,
                          a = Reflect.apply(d, i, n),
                          s = i.length;
                        let u;
                        return (
                          s !== o && (u = t.slice()),
                          t.splice(0),
                          i.forEach((e) => {
                            Gc.isSimpleObj(e)
                              ? t.push(e)
                              : t.push(e.__getBase__);
                          }),
                          s !== o && y(c, t.slice(), u),
                          a
                        );
                      }
                    : d === Wc
                    ? Reflect.get(s, n, u)
                    : m(f) && !Gc.isSimpleObj(d)
                    ? S(d, e[n], r, f)
                    : d;
                },
                set(t, e, r, i) {
                  const o = l(e),
                    a = t[e];
                  return a === Wc
                    ? (r instanceof Function
                        ? (n[e] = r)
                        : (Reflect.deleteProperty(n, e),
                          Reflect.set(t, e, r, i)),
                      (function (t) {
                        p ||
                          ((p = !0),
                          requestAnimationFrame(() => {
                            requestAnimationFrame(() => {
                              V(), (p = !1), _(u, !0);
                            });
                          })),
                          (u[t] = !0);
                      })(e),
                      !0)
                    : (!Gc.isEqual(r, a) && m(o) && y(o, r, a),
                      Reflect.set(t, e, r, i));
                },
              });
            };
            return (f = S(t, e, n)), V(), f;
          };
          _listenerList = {};
        }
        const qc = {
          ...Lc,
          ...Rc,
          screenCut: function (t, e, n) {
            return new Mc(t, e, n);
          },
          Listener: class {
            constructor() {
              let t = {};
              (this.bind = function (e, n) {
                const r = t[e] || [];
                t[e] || (t[e] = r), r.push(n);
              }),
                (this.unbind = function (e, n) {
                  e ||
                    Object.keys(t).forEach((e) => {
                      Reflect.deleteProperty(t, e);
                    });
                  const r = t[e];
                  return (
                    !r ||
                    (r && !n
                      ? Reflect.deleteProperty(t, e)
                      : ((t[e] = r.filter((t) => t !== n)),
                        !!t[e].length || Reflect.deleteProperty(t, e)))
                  );
                }),
                (this.getListener = function () {
                  return t;
                }),
                (this.setListener = function (e) {
                  t = e;
                }),
                (this.trigger = function (e, n, ...r) {
                  const i = t[e];
                  return (
                    !!i &&
                    (i.forEach((t) => {
                      t.apply(n, r);
                    }),
                    !0)
                  );
                }),
                (this.stream = function (e, n, ...r) {
                  const i = t[e];
                  if (!i) return;
                  let o = -1;
                  const a = (...t) => {
                    const e = i[++o];
                    e && e.apply(n, [a].concat(t));
                  };
                  a(...r);
                }),
                (this.destroy = function () {
                  Object.keys(t).forEach((e) => {
                    Reflect.deleteProperty(t, e);
                  });
                });
            }
          },
          geoEtds: $c,
          TWEEN: Hc,
        };
        !(function (t) {
          const e = new zc(t);
          (t._setDiff = function (t, n) {
            return e.bind(t, n);
          }),
            (t._disposeDiff = (t) => {
              e.dispose && e.dispose(t);
            });
        })(qc),
          Lc.detector(),
          (qc.browserType = (function () {
            const t = window.navigator.userAgent.toLowerCase(),
              [e, n, r, i, o, a] = [
                t.match(/opera.([\d.]+)/),
                t.match(/firefox\/([\d.]+)/),
                t.match(/version\/([\d.]+).*safari/),
                t.match(/chrome\/([\d.]+)/),
                t.indexOf("edge") > -1,
                window.document.documentMode,
              ];
            return e
              ? "Opera"
              : n
              ? "FF"
              : r
              ? "Safari"
              : i
              ? "Chrome"
              : o
              ? "Edge"
              : a
              ? "IE"
              : "";
          })());
        const Xc = qc;
        var Yc = n(87476);
        function Kc(t) {
          return (
            (Kc =
              "function" == typeof Symbol && "symbol" == typeof Symbol.iterator
                ? function (t) {
                    return typeof t;
                  }
                : function (t) {
                    return t &&
                      "function" == typeof Symbol &&
                      t.constructor === Symbol &&
                      t !== Symbol.prototype
                      ? "symbol"
                      : typeof t;
                  }),
            Kc(t)
          );
        }
        var Zc = {
            shortYearCutoff: "+10",
            monthNames: [
              "January",
              "February",
              "March",
              "April",
              "May",
              "June",
              "July",
              "August",
              "September",
              "October",
              "November",
              "December",
            ],
            monthNamesShort: [
              "Jan",
              "Feb",
              "Mar",
              "Apr",
              "May",
              "Jun",
              "Jul",
              "Aug",
              "Sep",
              "Oct",
              "Nov",
              "Dec",
            ],
            dayNames: [
              "Sunday",
              "Monday",
              "Tuesday",
              "Wednesday",
              "Thursday",
              "Friday",
              "Saturday",
            ],
            dayNamesShort: ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"],
          },
          Jc = {
            year: [
              { selectId: "yy", label: "yyyy" },
              { selectId: "y", label: "yy" },
            ],
            month: [
              { selectId: "yy/mm", label: "yyyy/mm" },
              { selectId: "y/mm", label: "yy/mm" },
              { selectId: "mm-y", label: "mm-yy" },
              { selectId: "yy-mm", label: "yyyy-mm" },
            ],
            day: [
              { selectId: "yy/mm/dd", label: "yyyy/mm/dd" },
              { selectId: "mm/dd/yy", label: "mm/dd/yyyy" },
              { selectId: "yy-mm-dd", label: "yyyy-mm-dd" },
              { selectId: "mm-dd-yy", label: "mm-dd-yyyy" },
              { selectId: "yymmdd", label: "yyyymmdd" },
              { selectId: "mmddyy", label: "mmddyyyy" },
            ],
            hour: [
              { selectId: "yy/mm/dd HH", label: "yyyy/mm/dd" },
              { selectId: "yy-mm-dd HH", label: "yyyy-mm-dd" },
              { selectId: "yymmdd HH", label: "yyyymmdd" },
              { selectId: "mm/dd/yy HH", label: "mm/dd/yyyy" },
              { selectId: "mm-dd-yy HH", label: "mm-dd-yyyy" },
              { selectId: "mmddyy HH", label: "mmddyyyy" },
            ],
            minute: [
              { selectId: "yy/mm/dd HH:MM", label: "yyyy/mm/dd" },
              { selectId: "yy-mm-dd HH:MM", label: "yyyy-mm-dd" },
              { selectId: "yymmdd HH:MM", label: "yyyymmdd" },
              { selectId: "mm/dd/yy HH:MM", label: "mm/dd/yyyy" },
              { selectId: "mm-dd-yy HH:MM", label: "mm-dd-yyyy" },
              { selectId: "mmddyy HH:MM", label: "mmddyyyy" },
            ],
            second: [
              { selectId: "yy/mm/dd HH:MM:ss", label: "yyyy/mm/dd" },
              { selectId: "yy-mm-dd HH:MM:ss", label: "yyyy-mm-dd" },
              { selectId: "yymmdd HH:MM:ss", label: "yyyymmdd" },
              { selectId: "mm/dd/yy HH:MM:ss", label: "mm/dd/yyyy" },
              { selectId: "mm-dd-yy HH:MM:ss", label: "mm-dd-yyyy" },
              { selectId: "mmddyy HH:MM:ss", label: "mmddyyyy" },
            ],
          },
          Qc = {
            year: [{ selectId: "year", label: K.get("system.countDown_year") }],
            month: [
              { selectId: "month", label: K.get("system.countDown_month") },
              {
                selectId: "year_month",
                label: K.get("system.countDown_year_month"),
              },
            ],
            day: [
              { selectId: "day", label: K.get("system.countDown_day") },
              {
                selectId: "year_month_day",
                label: K.get("system.countDown_year_month_day"),
              },
              {
                selectId: "month_day",
                label: K.get("system.countDown_month_day"),
              },
            ],
            hour: [
              { selectId: "hour", label: K.get("system.countDown_hour") },
              {
                selectId: "day_hour",
                label: K.get("system.countDown_day_hour"),
              },
            ],
            minute: [
              { selectId: "minute", label: K.get("system.countDown_minute") },
              {
                selectId: "day_hour_minute",
                label: K.get("system.countDown_day_hour_minute"),
              },
              {
                selectId: "hour_minute",
                label: K.get("system.countDown_hour_minute"),
              },
            ],
            second: [
              { selectId: "second", label: K.get("system.countDown_second") },
              {
                selectId: "hour_minute_second",
                label: K.get("system.countDown_hour_minute_second"),
              },
              {
                selectId: "day_hour_minute_second",
                label: K.get("system.countDown_day_hour_minute_second"),
              },
            ],
          };
        function tl(t, e, n) {
          if (!e) return null;
          var r,
            i = pe.A.extend({}, Zc, n),
            o = function (e) {
              for (var n = 0; r + 1 < t.length && t.charAt(r + 1) == e; )
                n++, r++;
              return n;
            },
            a = function (t, e, n) {
              var r = "".concat(e);
              if (o(t)) for (; r.length < n; ) r = "0".concat(r);
              return r;
            },
            s = function (t, e, n, r) {
              return o(t) ? r[e] : n[e];
            },
            c = "",
            l = !1;
          for (r = 0; r < t.length; r++)
            if (l) "'" != t.charAt(r) || o("'") ? (c += t.charAt(r)) : (l = !1);
            else
              switch (t.charAt(r)) {
                case "d":
                  c += a("d", e.getDate(), 2);
                  break;
                case "D":
                  c += s("D", e.getDay(), i.dayNamesShort, i.dayNames);
                  break;
                case "o":
                  c += a(
                    "o",
                    (e.getTime() - new Date(e.getFullYear(), 0, 0).getTime()) /
                      864e5,
                    3
                  );
                  break;
                case "m":
                  c += a("m", e.getMonth() + 1, 2);
                  break;
                case "M":
                  c += s("M", e.getMonth(), i.monthNamesShort, i.monthNames);
                  break;
                case "y":
                  c += o("y")
                    ? e.getFullYear()
                    : (e.getYear() % 100 < 10 ? "0" : "") + (e.getYear() % 100);
                  break;
                case "h":
                  var u = e.getHours();
                  c += a("h", u > 12 ? u - 12 : 0 == u ? 12 : u, 2);
                  break;
                case "H":
                  c += a("H", e.getHours(), 2);
                  break;
                case "i":
                  c += a("i", e.getMinutes(), 2);
                  break;
                case "s":
                  c += a("s", e.getSeconds(), 2);
                  break;
                case "a":
                  c += e.getHours() > 11 ? "pm" : "am";
                  break;
                case "A":
                  c += e.getHours() > 11 ? "PM" : "AM";
                  break;
                case "'":
                  o("'") ? (c += "'") : (l = !0);
                  break;
                default:
                  c += t.charAt(r);
              }
          return c;
        }
        function el(t, e) {
          var n = {
            "M+": t.getMonth() + 1,
            "d+": t.getDate(),
            "h+": t.getHours(),
            "m+": t.getMinutes(),
            "s+": t.getSeconds(),
            "q+": Math.floor((t.getMonth() + 3) / 3),
            S: t.getMilliseconds(),
          };
          for (var r in (/(y+)/.test(e) &&
            (e = e.replace(
              RegExp.$1,
              "".concat(t.getFullYear()).substr(4 - RegExp.$1.length)
            )),
          n))
            new RegExp("(".concat(r, ")")).test(e) &&
              (e = e.replace(
                RegExp.$1,
                1 === RegExp.$1.length
                  ? n[r]
                  : "00".concat(n[r]).substr("".concat(n[r]).length)
              ));
          return e;
        }
        function nl(t, e, n) {
          var r = new Date();
          if (!t || !e) return r;
          e = "object" === Kc(e) ? e.toString() : "".concat(e);
          var i,
            o = pe.A.extend({}, Zc, n),
            a = o.shortYearCutoff,
            s = r.getFullYear(),
            c = r.getMonth() + 1,
            l = r.getDate(),
            u = -1,
            f = r.getHours(),
            d = r.getMinutes(),
            h = 0,
            p = -1,
            m = !1,
            v = function (e) {
              var n = i + 1 < t.length && t.charAt(i + 1) == e;
              return n && i++, n;
            },
            g = function (t) {
              v(t);
              var n = new RegExp(
                  "^\\d{1,".concat(
                    "@" == t
                      ? 14
                      : "!" == t
                      ? 20
                      : "y" == t
                      ? 4
                      : "o" == t
                      ? 3
                      : 2,
                    "}"
                  )
                ),
                r = e.substr(V).match(n);
              return r ? ((V += r[0].length), parseInt(r[0], 10)) : 0;
            },
            y = function (t, n, r) {
              var i,
                o = v(t) ? r : n;
              for (i = 0; i < o.length; i++)
                if (
                  e.substr(V, o[i].length).toLowerCase() == o[i].toLowerCase()
                )
                  return (V += o[i].length), i + 1;
              return 0;
            },
            b = function () {
              V++;
            },
            V = 0;
          for (i = 0; i < t.length; i++)
            if (m) "'" != t.charAt(i) || v("'") ? b() : (m = !1);
            else
              switch (t.charAt(i)) {
                case "d":
                  l = g("d");
                  break;
                case "D":
                  y("D", o.dayNamesShort, o.dayNames);
                  break;
                case "o":
                  u = g("o");
                  break;
                case "m":
                  c = g("m");
                  break;
                case "M":
                  c = y("M", o.monthNamesShort, o.monthNames);
                  break;
                case "y":
                  s = g("y");
                  break;
                case "H":
                  f = g("H");
                  break;
                case "h":
                  f = g("h");
                  break;
                case "i":
                  d = g("i");
                  break;
                case "s":
                  h = g("s");
                  break;
                case "a":
                  p = y("a", ["am", "pm"], ["am", "pm"]) - 1;
                  break;
                case "A":
                  p = y("A", ["am", "pm"], ["am", "pm"]) - 1;
                  break;
                case "'":
                  v("'") ? b() : (m = !0);
                  break;
                default:
                  b();
              }
          if (
            (s < 100 &&
              (s +=
                new Date().getFullYear() -
                (new Date().getFullYear() % 100) +
                (s <=
                ("string" != typeof a
                  ? a
                  : (new Date().getFullYear() % 100) + parseInt(a, 10))
                  ? 0
                  : -100)),
            u > -1)
          )
            for (c = 1, l = u; ; ) {
              var _ = 32 - new Date(s, c - 1, 32).getDate();
              if (l <= _) break;
              c++, (l -= _);
            }
          f = -1 == p ? f : p && f < 12 ? f + 12 : p || 12 != f ? f : 0;
          var w = new Date(s, c - 1, l, f, d, h);
          if (w.getFullYear() != s || w.getMonth() + 1 != c || w.getDate() != l)
            throw "Invalid date";
          return w;
        }
        var rl = { id: "PRC", name: "China Standard Time", offset: 288e5 };
        function il(t) {
          if (!rl) return new Date(t).getTime();
          var e = rl.offset,
            n = e / 36e5,
            r = "".concat(
              (e > 0 ? "+" : "-") + (n > 10 ? n : "0".concat(n)),
              ":00"
            ),
            i = M()(+t).zone(r);
          return i.isDST() && i.add(1, "h"), i;
        }
        function ol(t) {
          return il(t).valueOf();
        }
        function al(t, e) {
          var n = e || "MM/DD/YYYY HH:mm:ss";
          return il(t).format(n);
        }
        function sl(t) {
          return t
            ? "string" == typeof t
              ? new Date(t.replace(/\.|\-/gi, "/"))
              : new Date(t)
            : new Date();
        }
        function cl() {
          return {
            currentTime:
              void 0 !== window.serverSystemTime
                ? Number(window.serverSystemTime) +
                  +new Date() -
                  window.startTimeStamp
                : +new Date(),
          };
        }
        var ll = +new Date();
        function ul() {
          return {
            currentTime:
              void 0 !== window.SF.serverSystemTime
                ? Number(window.SF.serverSystemTime) + +new Date() - ll
                : +new Date(),
          };
        }
        function fl(t, e) {
          if (t !== e)
            throw new TypeError("Cannot instantiate an arrow function");
        }
        var dl = [
          {
            value: "$system.loginName",
            key: "$system.loginName",
            title: K.get("system.userName"),
          },
          {
            value: "$system.userId",
            key: "$system.userId",
            title: K.get("system.userId"),
          },
          {
            value: "$system.deptName",
            key: "$system.deptName",
            title: K.get("system.departmentName"),
          },
          {
            value: "$system.deptId",
            key: "$system.deptId",
            title: K.get("system.departmentId"),
          },
          {
            value: "$system.areaId",
            key: "$system.areaId",
            title: K.get("system.areaId"),
          },
          {
            value: "$system.areaName",
            key: "$system.areaName",
            title: K.get("system.areaName"),
          },
          {
            value: "$system.areaCode",
            key: "$system.areaCode",
            title: K.get("system.areaCode"),
          },
          {
            value: "$system.serverTime",
            key: "$system.serverTime",
            title: K.get("system.serverTime"),
            selectable: !1,
            checkable: !1,
            children: [
              {
                value: "$system.serverYear",
                key: "$system.serverYear",
                title: K.get("system.year"),
              },
              {
                value: "$system.serverMonth",
                key: "$system..serverMonth",
                title: K.get("system.yearMonth"),
              },
              {
                value: "$system.serverDay",
                key: "$system.serverDay",
                title: K.get("system.yearMonthDay"),
              },
              {
                value: "$system.serverHours",
                key: "$system.serverHours",
                title: K.get("system.yearMonthDayHour"),
              },
              {
                value: "$system.serverMinutes",
                key: "$system.serverMinutes",
                title: K.get("system.yearMonthDayHourMinute"),
              },
              {
                value: "$system.serverSecond",
                key: "$system.serverSecond",
                title: K.get("system.yearMonthDayHourMinuteSecond"),
              },
            ],
          },
          {
            value: "$system.localTime",
            key: "$system.localTime",
            title: K.get("system.clientTime"),
            selectable: !1,
            checkable: !1,
            children: [
              {
                value: "$system.localYear",
                key: "$system.localYear",
                title: K.get("system.year"),
              },
              {
                value: "$system.localMonth",
                key: "$system.localMonth",
                title: K.get("system.yearMonth"),
              },
              {
                value: "$system.localDay",
                key: "$system.localDay",
                title: K.get("system.yearMonthDay"),
              },
              {
                value: "$system.localHours",
                key: "$system.localHours",
                title: K.get("system.yearMonthDayHour"),
              },
              {
                value: "$system.localMinutes",
                key: "$system.localMinutes",
                title: K.get("system.yearMonthDayHourMinute"),
              },
              {
                value: "$system.localSecond",
                key: "$system.localSecond",
                title: K.get("system.yearMonthDayHourMinuteSecond"),
              },
            ],
          },
        ];
        function hl() {
          var t = this;
          return new Promise(
            function (e, n) {
              fl(this, t), e(dl);
            }.bind(this)
          );
        }
        var pl = n(144),
          ml = n(54188),
          vl = n(62597),
          gl = n(81717);
        function yl(t, e, n) {
          return e.test(t) && (t = t.replace(e, n).replace(e, n)), t;
        }
        var bl = n(73104),
          Vl = (function (t) {
            return (t.CONFIG = "config"), (t.CUSTOM = "custom"), t;
          })({});
        function _l(t, e) {
          if (t !== e)
            throw new TypeError("Cannot instantiate an arrow function");
        }
        function wl(t, e) {
          var n = this,
            r = t.datas,
            i = t.originDatas,
            o = t.config,
            a = t.index,
            s = o.formaterConver;
          if (!s) return !1;
          try {
            var c = {
              fn: function (t, e) {
                return _l(this, n), t;
              }.bind(this),
            };
            new Function("handlerWrap", "handlerWrap.fn = ".concat(s))(c),
              r.forEach(
                function (t, r) {
                  _l(this, n);
                  var o = t[a],
                    s = i[r][a],
                    l = c.fn(o, r);
                  t[a] = e
                    ? {
                        value: l,
                        fullValue: l,
                        pureFullValue: l,
                        originValue: s,
                      }
                    : l;
                }.bind(this)
              );
          } catch (t) {
            return sfLogger.error(t), !1;
          }
          return !0;
        }
        function Sl(t, e, n) {
          var r = this,
            i = t.config,
            o = t.index,
            a = i.desensitization,
            s = i.M,
            c = i.N;
          if ("none" !== a) {
            function l(t, e) {
              if (e <= 0 || t.length <= e) return "*".repeat(t.length);
              var n = "*".repeat(e),
                r = t.length - e;
              return t.slice(0, r) + n;
            }
            function u(t, e, n) {
              var r = t.length;
              if (r <= e + n) return l(t, r > e ? r - e : 1);
              var i = t.substring(0, e),
                o = t.substring(t.length - n),
                a = t.length - e - n;
              return i + "*".repeat(a) + o;
            }
            e.forEach(
              function (t, e) {
                !(function (t, e) {
                  if (t !== e)
                    throw new TypeError("Cannot instantiate an arrow function");
                })(this, r);
                var i = !1 === n ? String(t[o]) : t[o].fullValue;
                switch (a) {
                  case "all":
                    i = "*".repeat(i.length);
                    break;
                  case "1":
                    i = l(i, 1);
                    break;
                  case "2":
                    i = l(i, 2);
                    break;
                  case "3":
                    i = l(i, 3);
                    break;
                  case "4":
                    i = l(i, 4);
                    break;
                  case "5":
                    i = l(i, 5);
                    break;
                  case "custom":
                    i = u(i, s, c);
                }
                n
                  ? ((t[o].value = i),
                    (t[o].fullValue = i),
                    (t[o].pureFullValue = i))
                  : (t[o] = i);
              }.bind(this)
            );
          }
          return e;
        }
        function El(t, e) {
          if (t !== e)
            throw new TypeError("Cannot instantiate an arrow function");
        }
        function Al(t) {
          "number" != typeof t && (t = Number(t));
          return {
            1: { normal: "January", abbr: "Jan." },
            2: { normal: "February", abbr: "Feb." },
            3: { normal: "March", abbr: "Mar." },
            4: { normal: "April", abbr: "Apr." },
            5: { normal: "May", abbr: "May." },
            6: { normal: "June", abbr: "Jun." },
            7: { normal: "July", abbr: "Jul." },
            8: { normal: "August", abbr: "Aug." },
            9: { normal: "September", abbr: "Sep." },
            10: { normal: "October", abbr: "Oct." },
            11: { normal: "November", abbr: "Nov." },
            12: { normal: "December", abbr: "Dec." },
          }[t];
        }
        function Tl(t) {
          "number" != typeof t && (t = Number(t));
          return {
            1: { normal: "Monday", abbr: "Mon." },
            2: { normal: "Tuesday", abbr: "Tues." },
            3: { normal: "Wednesday", abbr: "Wed." },
            4: { normal: "Thursday", abbr: "Thur." },
            5: { normal: "Friday", abbr: "Fri." },
            6: { normal: "Saturday", abbr: "Sat." },
            7: { normal: "Sunday", abbr: "Sun." },
            0: { normal: "Sunday", abbr: "Sun." },
          }[t];
        }
        var Ol = {
          1: K.get("common.i18n_80"),
          2: K.get("common.i18n_81"),
          3: K.get("common.i18n_82"),
          4: K.get("common.i18n_83"),
          5: K.get("common.i18n_84"),
          6: K.get("common.i18n_85"),
          7: K.get("common.i18n_86"),
          8: K.get("common.i18n_87"),
          9: K.get("common.i18n_88"),
          10: K.get("common.i18n_89"),
          11: K.get("common.i18n_90"),
          12: K.get("common.i18n_91"),
          13: K.get("common.modelSetting_modelSettingServices_js_9"),
          14: K.get("common.modelSetting_modelSettingServices_js_11"),
          15: K.get("common.modelSetting_modelSettingServices_js_38"),
          16: K.get("common.i18n_92"),
          17: K.get("common.i18n_93"),
          18: K.get("common.modelSetting_modelSettingServices_js_17"),
          19: K.get("common.i18n_94"),
          20: K.get("common.i18n_95"),
          21: K.get("common.modelSetting_modelSettingServices_js_39"),
          22: K.get("common.modelSetting_modelSettingServices_js_36"),
          23: K.get("common.modelSetting_modelSettingServices_js_10"),
          24: K.get("common.i18n_96"),
          25: K.get("common.modelSetting_modelSettingServices_js_12"),
          26: K.get("common.modelSetting_modelSettingServices_js_13"),
          27: K.get("common.i18n_97"),
          w1: K.get("common.i18n_80"),
          w2: K.get("common.i18n_81"),
          w3: K.get("common.i18n_82"),
          w4: K.get("common.i18n_83"),
          w5: K.get("common.i18n_84"),
          w6: K.get("common.i18n_85"),
          w7: K.get("common.i18n_98"),
          w0: K.get("common.i18n_98"),
        };
        function Cl(t) {
          var e = this,
            n = {
              fn: function (t) {
                return (
                  (function (t, e) {
                    if (t !== e)
                      throw new TypeError(
                        "Cannot instantiate an arrow function"
                      );
                  })(this, e),
                  t
                );
              }.bind(this),
            };
          return (
            new Function("handlerWrap", "handlerWrap.fn = ".concat(t))(n), n.fn
          );
        }
        function Pl(t) {
          var e = t.timeGranularity,
            n = t.dateFormat;
          return function (t) {
            if ("" === t || null === t) return t;
            var r = t;
            try {
              switch (e) {
                case "1":
                  if ("$" === n) t += Ol[13];
                  break;
                case "3":
                  switch (n) {
                    case "Qq":
                      t = "Q" + t;
                      break;
                    case "$Q":
                      t = Ol[24] + Ol[t] + Ol[23];
                  }
                  break;
                case "4":
                  switch (((t = Number(t)), n)) {
                    case "M$":
                      t += Ol[14];
                      break;
                    case "$M$":
                      t = Ol[t] + Ol[14];
                      break;
                    case "MAP_MONTH_ABBR":
                      t = Al(t).abbr;
                      break;
                    case "MAP_MONTH":
                      t = Al(t).normal;
                  }
                  break;
                case "5":
                  switch (n) {
                    case "T":
                      t += "W";
                      break;
                    case "$W$":
                      t = Ol[24] + t + Ol[25];
                      break;
                    case "W$":
                      t += Ol[25];
                  }
                  break;
                case "8":
                  switch (n) {
                    case "W$D":
                      t = Ol[26] + t;
                      break;
                    case "$$D":
                      t = Ol[26] + Ol["w" + t];
                      break;
                    case "$D$":
                      t = Ol[25] + t;
                      break;
                    case "MAP_DAYS_OF_THE_WEEK_ABBR":
                      t = Tl(t).abbr;
                      break;
                    case "MAP_DAYS_OF_THE_WEEK":
                      t = Tl(t).normal;
                  }
                  break;
                case "7":
                  if (((t = Number(t)), "MD$" === n)) t += Ol[21];
                  break;
                case "9":
                  if (((t = Number(t)), "H$" === n)) t += Ol[27];
                  break;
                case "10":
                  if (((t = Number(t)), "m$" === n)) t += Ol[17];
                  break;
                case "11":
                  if (((t = Number(t)), "S$" === n)) t += Ol[18];
                  break;
                case "12":
                  switch (n) {
                    case "T":
                      var i = t.split("-");
                      (t = i[0]), 1 == Number(i[1]) ? (t += "01") : (t += "07");
                      break;
                    case "$":
                      i = t.split("-");
                      (t = i[0]),
                        1 == Number(i[1])
                          ? (t += Ol[13] + Ol[19] + Ol[22])
                          : (t += Ol[13] + Ol[20] + Ol[22]);
                  }
                  break;
                case "13":
                  i = t.split("-");
                  switch (n) {
                    case "T":
                      t = i[0] + i[1];
                      break;
                    case ".":
                      t = i[0] + ".Q" + Number(i[1]);
                      break;
                    case "$":
                      t = i[0] + Ol[13] + Ol[24] + Number(i[1]) + Ol[23];
                  }
                  break;
                case "14":
                  i = t.split("-");
                  switch (n) {
                    case "T":
                      t = i[0] + i[1];
                      break;
                    case ".":
                      t = i[0] + "." + Number(i[1]);
                      break;
                    case "/":
                      t = i[0] + "/" + Number(i[1]);
                      break;
                    case "-":
                      t = i[0] + "-" + Number(i[1]);
                      break;
                    case "$":
                      t = i[0] + Ol[13] + Number(i[1]) + Ol[14];
                  }
                  break;
                case "15":
                  i = t.split("-");
                  switch (n) {
                    case "T":
                      t = i[0] + i[1];
                      break;
                    case ".":
                      t = i[0] + "." + Number(i[1]);
                      break;
                    case "/":
                      t = i[0] + "/" + Number(i[1]);
                      break;
                    case "-":
                      t = i[0] + "-" + Number(i[1]);
                      break;
                    case "$":
                      t = i[0] + Ol[13] + Number(i[1]) + Ol[25];
                  }
                  break;
                case "16":
                  i = t.split("-");
                  switch (n) {
                    case "T":
                      t = i[0] + i[1] + i[2];
                      break;
                    case ".":
                      t = i[0] + "." + Number(i[1]) + "." + Number(i[2]);
                      break;
                    case "/":
                      t = i[0] + "/" + Number(i[1]) + "/" + Number(i[2]);
                      break;
                    case "-":
                      t = i[0] + "-" + Number(i[1]) + "-" + Number(i[2]);
                      break;
                    case "$":
                      t =
                        i[0] +
                        Ol[13] +
                        Number(i[1]) +
                        Ol[14] +
                        Number(i[2]) +
                        Ol[15];
                  }
              }
              return t;
            } catch (t) {
              return r;
            }
          };
        }
        function xl(t, e) {
          var n = this,
            r = t.datas,
            i = t.config,
            o = t.index,
            a = i.convertConfigs;
          try {
            var s = Pl(a);
            r.forEach(
              function (t) {
                !(function (t, e) {
                  if (t !== e)
                    throw new TypeError("Cannot instantiate an arrow function");
                })(this, n);
                var r = t[o],
                  i = s(r);
                t[o] = e
                  ? { value: i, fullValue: i, pureFullValue: i, originValue: r }
                  : i;
              }.bind(this)
            );
          } catch (t) {
            return sfLogger.error(t), !1;
          }
          return !0;
        }
        function kl(t, e) {
          if (t !== e)
            throw new TypeError("Cannot instantiate an arrow function");
        }
        function Il(t, e) {
          var n = this;
          return t.map(
            function (t) {
              var r = this;
              return (
                kl(this, n),
                t.map(
                  function (t, n) {
                    return (
                      kl(this, r),
                      pe.A.isNil(e) || n === e
                        ? {
                            value: t,
                            fullValue: t,
                            pureFullValue: t,
                            originValue: t,
                          }
                        : t
                    );
                  }.bind(this)
                )
              );
            }.bind(this)
          );
        }
        function jl(t) {
          return (
            (jl =
              "function" == typeof Symbol && "symbol" == typeof Symbol.iterator
                ? function (t) {
                    return typeof t;
                  }
                : function (t) {
                    return t &&
                      "function" == typeof Symbol &&
                      t.constructor === Symbol &&
                      t !== Symbol.prototype
                      ? "symbol"
                      : typeof t;
                  }),
            jl(t)
          );
        }
        function Rl(t, e, n) {
          return (
            (e = (function (t) {
              var e = (function (t, e) {
                if ("object" != jl(t) || !t) return t;
                var n = t[Symbol.toPrimitive];
                if (void 0 !== n) {
                  var r = n.call(t, e || "default");
                  if ("object" != jl(r)) return r;
                  throw new TypeError(
                    "@@toPrimitive must return a primitive value."
                  );
                }
                return ("string" === e ? String : Number)(t);
              })(t, "string");
              return "symbol" == jl(e) ? e : e + "";
            })(e)) in t
              ? Object.defineProperty(t, e, {
                  value: n,
                  enumerable: !0,
                  configurable: !0,
                  writable: !0,
                })
              : (t[e] = n),
            t
          );
        }
        var Dl = Rl(Rl({}, Vl.CUSTOM, wl), Vl.CONFIG, function (t, e) {
          var n,
            r = this,
            i = t.datas,
            o = t.originDatas,
            a = t.config,
            s = t.index,
            c = a.convertConfigs;
          return (
            !(
              !pe.A.isArray(c) ||
              null === (n = c) ||
              void 0 === n ||
              !n.length
            ) &&
            ((c = Object.values(
              c.reduce(
                function (t, e) {
                  return El(this, r), (t[e.original] = e), t;
                }.bind(this),
                {}
              )
            )),
            i.forEach(
              function (t, n) {
                var i = this;
                El(this, r);
                var a = t[s],
                  l = o[n][s],
                  u = a,
                  f = c.find(
                    function (t) {
                      return El(this, i), t.original === a;
                    }.bind(this)
                  );
                f && (u = f.current),
                  (t[s] = e
                    ? {
                        value: u,
                        fullValue: String(u),
                        pureFullValue: u,
                        originValue: l,
                      }
                    : u);
              }.bind(this)
            ),
            !0)
          );
        });
        function Ll(t, e) {
          var n,
            r = this,
            i = e.datas,
            o = e.originDatas,
            a = e.index,
            s = e.dataType,
            c = e.isIntegrate,
            l = void 0 !== c && c,
            u = t.formaterType,
            f = { index: a, datas: i, originDatas: o, config: t },
            d = (
              null != (n = s === bl.p.date || s === bl.p.dateTime ? xl : Dl[u])
                ? n
                : function () {
                    return (
                      (function (t, e) {
                        if (t !== e)
                          throw new TypeError(
                            "Cannot instantiate an arrow function"
                          );
                      })(this, r),
                      !1
                    );
                  }.bind(this)
            )(f, l);
          return (
            !d && l && (i = Il(i, a)),
            s !== bl.p.date && s !== bl.p.dateTime && (i = Sl(f, i, l)),
            i
          );
        }
        function Ml(t) {
          return (
            (Ml =
              "function" == typeof Symbol && "symbol" == typeof Symbol.iterator
                ? function (t) {
                    return typeof t;
                  }
                : function (t) {
                    return t &&
                      "function" == typeof Symbol &&
                      t.constructor === Symbol &&
                      t !== Symbol.prototype
                      ? "symbol"
                      : typeof t;
                  }),
            Ml(t)
          );
        }
        var Nl = void 0;
        function $l(t, e, n) {
          return (
            (e = (function (t) {
              var e = (function (t, e) {
                if ("object" != Ml(t) || !t) return t;
                var n = t[Symbol.toPrimitive];
                if (void 0 !== n) {
                  var r = n.call(t, e || "default");
                  if ("object" != Ml(r)) return r;
                  throw new TypeError(
                    "@@toPrimitive must return a primitive value."
                  );
                }
                return ("string" === e ? String : Number)(t);
              })(t, "string");
              return "symbol" == Ml(e) ? e : e + "";
            })(e)) in t
              ? Object.defineProperty(t, e, {
                  value: n,
                  enumerable: !0,
                  configurable: !0,
                  writable: !0,
                })
              : (t[e] = n),
            t
          );
        }
        function Bl(t, e) {
          return (
            (function (t) {
              if (Array.isArray(t)) return t;
            })(t) ||
            (function (t, e) {
              var n =
                null == t
                  ? null
                  : ("undefined" != typeof Symbol && t[Symbol.iterator]) ||
                    t["@@iterator"];
              if (null != n) {
                var r,
                  i,
                  o,
                  a,
                  s = [],
                  c = !0,
                  l = !1;
                try {
                  if (((o = (n = n.call(t)).next), 0 === e)) {
                    if (Object(n) !== n) return;
                    c = !1;
                  } else
                    for (
                      ;
                      !(c = (r = o.call(n)).done) &&
                      (s.push(r.value), s.length !== e);
                      c = !0
                    );
                } catch (t) {
                  (l = !0), (i = t);
                } finally {
                  try {
                    if (
                      !c &&
                      null != n.return &&
                      ((a = n.return()), Object(a) !== a)
                    )
                      return;
                  } finally {
                    if (l) throw i;
                  }
                }
                return s;
              }
            })(t, e) ||
            (function (t, e) {
              if (t) {
                if ("string" == typeof t) return Ul(t, e);
                var n = {}.toString.call(t).slice(8, -1);
                return (
                  "Object" === n && t.constructor && (n = t.constructor.name),
                  "Map" === n || "Set" === n
                    ? Array.from(t)
                    : "Arguments" === n ||
                      /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)
                    ? Ul(t, e)
                    : void 0
                );
              }
            })(t, e) ||
            (function () {
              throw new TypeError(
                "Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."
              );
            })()
          );
        }
        function Ul(t, e) {
          (null == e || e > t.length) && (e = t.length);
          for (var n = 0, r = Array(e); n < e; n++) r[n] = t[n];
          return r;
        }
        function Fl(t, e) {
          if (t !== e)
            throw new TypeError("Cannot instantiate an arrow function");
        }
        var Hl = function (t) {
            if ((Fl(this, Nl), pe.A.isNil(t))) return t;
            var e = Bl(String(t).split("."), 2),
              n = e[0],
              r = e[1],
              i = Number(n).toLocaleString();
            return r ? "".concat(i, ".").concat(r) : i;
          }.bind(void 0),
          Gl = function (t) {
            var e = t.originalValue,
              n = t.countUnit;
            return Fl(this, Nl), e / n;
          }.bind(void 0),
          Wl = function (t) {
            var e = t.originalValue,
              n = t.countUnit,
              r = t.fixedBit;
            return Fl(this, Nl), Number(e / n).toFixed(r);
          }.bind(void 0),
          zl = function (t) {
            var e = t.originalValue,
              n = t.countUnit,
              r = t.fixedBit;
            return Fl(this, Nl), Number(e / n).toExponential(r);
          }.bind(void 0),
          ql = $l(
            $l($l({}, Li.DataFormat.normal, Gl), Li.DataFormat.number, Wl),
            Li.DataFormat.scientificCounting,
            zl
          );
        function Xl(t) {
          return (
            (Xl =
              "function" == typeof Symbol && "symbol" == typeof Symbol.iterator
                ? function (t) {
                    return typeof t;
                  }
                : function (t) {
                    return t &&
                      "function" == typeof Symbol &&
                      t.constructor === Symbol &&
                      t !== Symbol.prototype
                      ? "symbol"
                      : typeof t;
                  }),
            Xl(t)
          );
        }
        function Yl(t, e, n) {
          return (
            (e = (function (t) {
              var e = (function (t, e) {
                if ("object" != Xl(t) || !t) return t;
                var n = t[Symbol.toPrimitive];
                if (void 0 !== n) {
                  var r = n.call(t, e || "default");
                  if ("object" != Xl(r)) return r;
                  throw new TypeError(
                    "@@toPrimitive must return a primitive value."
                  );
                }
                return ("string" === e ? String : Number)(t);
              })(t, "string");
              return "symbol" == Xl(e) ? e : e + "";
            })(e)) in t
              ? Object.defineProperty(t, e, {
                  value: n,
                  enumerable: !0,
                  configurable: !0,
                  writable: !0,
                })
              : (t[e] = n),
            t
          );
        }
        var Kl = Yl(Yl({}, Vl.CUSTOM, wl), Vl.CONFIG, function (t, e) {
          var r = this,
            i = t.datas,
            o = t.originDatas,
            a = t.config,
            s = t.index,
            c = a.convertConfigs,
            l = c.dataType,
            u = c.countUnit,
            f = c.countUnitText,
            d = void 0 === f ? "" : f,
            h = c.isThousandthSplit,
            p = void 0 !== h && h,
            m = n.g.parseInt(c.fixedBit),
            v = ql[l];
          return (
            i.forEach(
              function (t, n) {
                Fl(this, r);
                var i = t[s],
                  a = o[n][s],
                  c = i,
                  l = !pe.A.isNil(i) && !pe.A.isNaN(Number(i));
                if (
                  (l &&
                    pe.A.isFunction(v) &&
                    (c = v({ originalValue: i, countUnit: u, fixedBit: m })),
                  e)
                ) {
                  var f = c;
                  l && (p && (f = Hl(c)), (f = "".concat(f).concat(d))),
                    (t[s] = {
                      value: c,
                      fullValue: String(f),
                      pureFullValue: f,
                      originValue: a,
                    });
                } else t[s] = c;
              }.bind(this)
            ),
            !0
          );
        });
        function Zl(t, e) {
          var n,
            r = this,
            i = e.datas,
            o = e.originDatas,
            a = e.index,
            s = e.isIntegrate,
            c = void 0 !== s && s,
            l = t.formaterType,
            u = { index: a, datas: i, originDatas: o, config: t },
            f = (
              null !== (n = Kl[l]) && void 0 !== n
                ? n
                : function () {
                    return (
                      (function (t, e) {
                        if (t !== e)
                          throw new TypeError(
                            "Cannot instantiate an arrow function"
                          );
                      })(this, r),
                      !1
                    );
                  }.bind(this)
            )(u, c);
          return f || !c ? i : Il(i, a);
        }
        function Jl(t, e) {
          if (t !== e)
            throw new TypeError("Cannot instantiate an arrow function");
        }
        function Ql(t) {
          var e = this,
            n = t.dataConfig,
            r = t.originData,
            i = (t.modelType, t.isIntegrate),
            o = void 0 !== i && i;
          if (!n) return r;
          if (!n || !r || !r.data) return r;
          var a = h()(r),
            s = n.modelConfigs,
            c = a,
            l = c.modelId,
            u = c.columns,
            f = (0, vl.getModelConfigByModelId)(s, l);
          return (!f && o) || a.nullDataToStaticData
            ? (u.forEach(
                function (t, n) {
                  Jl(this, e), (a.data = Il(a.data, n));
                }.bind(this)
              ),
              a)
            : ((a = (function (t, e) {
                var n;
                if (!e.modelHandleConfigs) return t;
                var r = (0, vl.getNullDataHandleWay)(e),
                  i =
                    null !== (n = null == r ? void 0 : r.type) && void 0 !== n
                      ? n
                      : r;
                if (!i || i === gl.$.none) return t;
                var o = i.split("=");
                o[0] || (o[0] = "null");
                var a = JSON.stringify(t.data),
                  s = "",
                  c = new RegExp(
                    "([,\\[]{1})(".concat(o[0], ")([,\\]]{1})"),
                    "gi"
                  ),
                  l = '$1"'.concat(o[1], '"$3');
                return (
                  (s = yl(a, c, l)),
                  a !==
                    (s = yl(
                      s,
                      (c = new RegExp(
                        '(["]{1})('.concat(o[0], ')(["]{1})'),
                        "gi"
                      )),
                      (l = '"'.concat(o[1], '"'))
                    )) && (t.data = JSON.parse(s)),
                  t
                );
              })(a, n)),
              u.forEach(
                function (t, n) {
                  var i;
                  Jl(this, e);
                  var s = (0, vl.getColumnFormaterByColumnId)(f, t.columnId);
                  s &&
                    (t.columnType !== Li.ColumnType.MEASURE &&
                    (null === (i = t.bindFieldSetting) || void 0 === i
                      ? void 0
                      : i.acceptType) !== Li.ColumnType.MEASURE
                      ? t.columnType === Li.ColumnType.DIMENSION &&
                        (a.data = Ll(s, {
                          datas: a.data,
                          originDatas: r.data,
                          index: n,
                          dataType: t.dataType,
                          isIntegrate: o,
                        }))
                      : (a.data = Zl(s, {
                          datas: a.data,
                          originDatas: r.data,
                          index: n,
                          isIntegrate: o,
                        })));
                }.bind(this)
              ),
              a);
        }
        function tu(t) {
          var e,
            n = t.$parent,
            r = t.getBasicConfig(),
            i = t.getRunTimeData("disable");
          (void 0 === i && (i = t.getBasicConfig().disable),
          t.disableMask ||
            (!i && !r.silent) ||
            (t.disableMask = Q()(
              '<div class="component__disableMask" style="width:100%;height:100%;position:absolute;top:0;left:0;z-index:9999;">'
            )),
          i || r.silent)
            ? n.append(t.disableMask)
            : null === (e = t.disableMask) || void 0 === e || e.remove();
        }
        var eu = n(39388),
          nu = n(99393);
        function ru(t) {
          return (
            (ru =
              "function" == typeof Symbol && "symbol" == typeof Symbol.iterator
                ? function (t) {
                    return typeof t;
                  }
                : function (t) {
                    return t &&
                      "function" == typeof Symbol &&
                      t.constructor === Symbol &&
                      t !== Symbol.prototype
                      ? "symbol"
                      : typeof t;
                  }),
            ru(t)
          );
        }
        function iu(t, e) {
          if (t !== e)
            throw new TypeError("Cannot instantiate an arrow function");
        }
        function ou(t, e) {
          for (var n = 0; n < e.length; n++) {
            var r = e[n];
            (r.enumerable = r.enumerable || !1),
              (r.configurable = !0),
              "value" in r && (r.writable = !0),
              Object.defineProperty(t, su(r.key), r);
          }
        }
        function au(t, e, n) {
          return (
            (e = su(e)) in t
              ? Object.defineProperty(t, e, {
                  value: n,
                  enumerable: !0,
                  configurable: !0,
                  writable: !0,
                })
              : (t[e] = n),
            t
          );
        }
        function su(t) {
          var e = (function (t, e) {
            if ("object" != ru(t) || !t) return t;
            var n = t[Symbol.toPrimitive];
            if (void 0 !== n) {
              var r = n.call(t, e || "default");
              if ("object" != ru(r)) return r;
              throw new TypeError(
                "@@toPrimitive must return a primitive value."
              );
            }
            return ("string" === e ? String : Number)(t);
          })(t, "string");
          return "symbol" == ru(e) ? e : e + "";
        }
        var cu = (function () {
          return (function (t, e, n) {
            return (
              e && ou(t.prototype, e),
              n && ou(t, n),
              Object.defineProperty(t, "prototype", { writable: !1 }),
              t
            );
          })(
            function t(e, n) {
              return (
                (function (t, e) {
                  if (!(t instanceof e))
                    throw new TypeError("Cannot call a class as a function");
                })(this, t),
                au(this, "id", void 0),
                au(this, "worker", void 0),
                au(this, "subscribeMap", new Map()),
                (this.id = n),
                (this.worker = new Worker(e)),
                this.initEvent(),
                this
              );
            },
            [
              {
                key: "_dispachMsg",
                value: function (t) {
                  var e = this,
                    n = t.uuid,
                    r = this.subscribeMap.get(n);
                  this.subscribeMap.delete(n),
                    r.forEach(
                      function (n) {
                        iu(this, e), n(t.content);
                      }.bind(this)
                    ),
                    this.subscribeMap.size || this.destroy();
                },
              },
              {
                key: "initEvent",
                value: function () {
                  var t = this;
                  this.worker.onmessage = function (e) {
                    iu(this, t), this._dispachMsg(e.data);
                  }.bind(this);
                },
              },
              {
                key: "subscribe",
                value: function (t, e) {
                  return (
                    this.subscribeMap.has(t)
                      ? this.subscribeMap.get(t.push(e))
                      : this.subscribeMap.set(t, [e]),
                    this
                  );
                },
              },
              {
                key: "postMessage",
                value: function (t) {
                  return this.worker.postMessage(t), this;
                },
              },
              {
                key: "destroy",
                value: function () {
                  this.worker.terminate(),
                    (this.worker = null),
                    hu.destroy(this.id);
                },
              },
            ]
          );
        })();
        function lu(t) {
          return (
            (lu =
              "function" == typeof Symbol && "symbol" == typeof Symbol.iterator
                ? function (t) {
                    return typeof t;
                  }
                : function (t) {
                    return t &&
                      "function" == typeof Symbol &&
                      t.constructor === Symbol &&
                      t !== Symbol.prototype
                      ? "symbol"
                      : typeof t;
                  }),
            lu(t)
          );
        }
        function uu(t, e) {
          for (var n = 0; n < e.length; n++) {
            var r = e[n];
            (r.enumerable = r.enumerable || !1),
              (r.configurable = !0),
              "value" in r && (r.writable = !0),
              Object.defineProperty(t, fu(r.key), r);
          }
        }
        function fu(t) {
          var e = (function (t, e) {
            if ("object" != lu(t) || !t) return t;
            var n = t[Symbol.toPrimitive];
            if (void 0 !== n) {
              var r = n.call(t, e || "default");
              if ("object" != lu(r)) return r;
              throw new TypeError(
                "@@toPrimitive must return a primitive value."
              );
            }
            return ("string" === e ? String : Number)(t);
          })(t, "string");
          return "symbol" == lu(e) ? e : e + "";
        }
        var du = (function () {
          return (function (t, e, n) {
            return (
              e && uu(t.prototype, e),
              n && uu(t, n),
              Object.defineProperty(t, "prototype", { writable: !1 }),
              t
            );
          })(
            function t() {
              !(function (t, e) {
                if (!(t instanceof e))
                  throw new TypeError("Cannot call a class as a function");
              })(this, t),
                (function (t, e, n) {
                  (e = fu(e)) in t
                    ? Object.defineProperty(t, e, {
                        value: n,
                        enumerable: !0,
                        configurable: !0,
                        writable: !0,
                      })
                    : (t[e] = n);
                })(this, "workerPool", {});
            },
            [
              {
                key: "getWorker",
                value: function (t, e) {
                  if (this.workerPool[e]) return this.workerPool[e];
                  var n = new cu(t, e);
                  return (this.workerPool[e] = n), n;
                },
              },
              {
                key: "destroy",
                value: function (t) {
                  delete this.workerPool[t];
                },
              },
            ]
          );
        })();
        const hu = new du();
        function pu(t, e) {
          if (t !== e)
            throw new TypeError("Cannot instantiate an arrow function");
        }
        var mu = 1e4;
        function vu(t, e, n) {
          var r = n.value;
          return (
            (n.value = function () {
              var t = this;
              return this.isHidden() || this.isLazy()
                ? Promise.resolve(null)
                : this.status >= 3
                ? r.apply(this, [])
                : new Promise(
                    function (e) {
                      var n = this;
                      pu(this, t);
                      var i = setTimeout(
                        function () {
                          pu(this, n), e(null);
                        }.bind(this),
                        mu
                      );
                      this.addOnceHook(
                        "afterRender",
                        function () {
                          var t = this;
                          pu(this, n),
                            clearTimeout(i),
                            r.apply(this, []).then(
                              function (n) {
                                pu(this, t), e(n);
                              }.bind(this)
                            );
                        }.bind(this)
                      );
                    }.bind(this)
                  );
            }),
            n
          );
        }
        function gu(t, e) {
          if (t !== e)
            throw new TypeError("Cannot instantiate an arrow function");
        }
        function yu(t, e, n) {
          var r = n.value;
          return (
            (n.value = function () {
              var t = this;
              return new Promise(
                function (e) {
                  var n = this;
                  gu(this, t),
                    this.execHooks("beforeInit"),
                    r.call(this).then(
                      function (t) {
                        gu(this, n), e(t);
                      }.bind(this)
                    ),
                    this.execHooks("beforeMount"),
                    this.execHooks("afterInit"),
                    this.execHooks("afterMount");
                }.bind(this)
              );
            }),
            n
          );
        }
        function bu(t, e) {
          if (t !== e)
            throw new TypeError("Cannot instantiate an arrow function");
        }
        const Vu = function (t, e) {
          var r = this;
          bu(this, undefined);
          var i = t.origin,
            o = void 0 === i ? n.g.location.origin : i,
            a = t.type,
            s = t.jsPathPrefix,
            c = t.version,
            l = ""
              .concat(o)
              .concat(s, "/")
              .concat(a, "/")
              .concat(c, "/assembler.js");
          return new Promise(
            function (t, n) {
              var i = this;
              bu(this, r), delete e.data.__formatter__;
              var o = "".concat(a, "_").concat(c),
                s = (0, $t.A)();
              hu.getWorker(l, o)
                .subscribe(
                  s,
                  function (e) {
                    bu(this, i), t(JSON.parse(e));
                  }.bind(this)
                )
                .postMessage({ content: JSON.stringify(e), uuid: s });
            }.bind(this)
          );
        }.bind(void 0);
        var _u = n(2809),
          wu = {
            UE_DESIGN: "".concat(p.Ay.UX_STATIC_CUSTOMER, "/designer/"),
            UE_DESIGN_WITH_FLAG: ""
              .concat(p.Ay.PREFIX_REPLACE_FLAG)
              .concat(p.ZD.UX_STATIC_CUSTOMER, "/designer/"),
            GET_PROJECT_FILE: "".concat(
              p.Ay.UX_API,
              "/designer/file/listdirectory"
            ),
            DELETE_PROJECT_FILE: "".concat(
              p.Ay.UX_API,
              "/designer/file/deleteByPath"
            ),
            UPLOAD_PROJECT_FILE: "".concat(
              p.Ay.UX_API,
              "/designer/file/upload"
            ),
            DOWNLOAD_PROJECT_FILE: "".concat(
              p.Ay.UX_API,
              "/designer/file/download"
            ),
            UPDATE_INJECT_FILE_ORDER: "".concat(
              p.Ay.UX_API,
              "/designer/file/setCodeOrder"
            ),
            GET_INJECT_FILE_ORDER: "".concat(
              p.Ay.UX_API,
              "/designer/file/listCodeOrder"
            ),
            GET_ALL_ZIP_FILES: "".concat(
              p.Ay.UX_API,
              "/designer/file/listDirFiles"
            ),
            ORIGIN: "".concat(p.Ay.UX_API, "/"),
          },
          Su = { system: 1, project: 2, template: 3, card: 4 },
          Eu = {
            file: "CODE_01",
            "file/json": "CODE_0101",
            "file/audio": "CODE_0102",
            "file/video": "CODE_0103",
            image: "CODE_02",
            "image/component": "CODE_0201",
            "image/background": "CODE_0202",
            "image/thumb": "CODE_0203",
            "image/ai": "CODE_0204",
            "image/commonIcon": "CODE_0205",
            icon: "CODE_03",
            "icon/singlesvg": "CODE_0301",
            "icon/multiplesvg": "CODE_0302",
            codeInject: "CODE_04",
            "codeInject/zip": "CODE_0401",
            "codeInject/js": "CODE_0402",
            "codeInject/css": "CODE_0403",
            "codeInject/image": "CODE_0404",
            font: "CODE_05",
            "font/normal": "CODE_0501",
            "svgmap/svg": "CODE_0603",
          };
        var Au = n(90710);
        function Tu(t, e) {
          return (
            (function (t) {
              if (Array.isArray(t)) return t;
            })(t) ||
            (function (t, e) {
              var n =
                null == t
                  ? null
                  : ("undefined" != typeof Symbol && t[Symbol.iterator]) ||
                    t["@@iterator"];
              if (null != n) {
                var r,
                  i,
                  o,
                  a,
                  s = [],
                  c = !0,
                  l = !1;
                try {
                  if (((o = (n = n.call(t)).next), 0 === e)) {
                    if (Object(n) !== n) return;
                    c = !1;
                  } else
                    for (
                      ;
                      !(c = (r = o.call(n)).done) &&
                      (s.push(r.value), s.length !== e);
                      c = !0
                    );
                } catch (t) {
                  (l = !0), (i = t);
                } finally {
                  try {
                    if (
                      !c &&
                      null != n.return &&
                      ((a = n.return()), Object(a) !== a)
                    )
                      return;
                  } finally {
                    if (l) throw i;
                  }
                }
                return s;
              }
            })(t, e) ||
            (function (t, e) {
              if (t) {
                if ("string" == typeof t) return Ou(t, e);
                var n = {}.toString.call(t).slice(8, -1);
                return (
                  "Object" === n && t.constructor && (n = t.constructor.name),
                  "Map" === n || "Set" === n
                    ? Array.from(t)
                    : "Arguments" === n ||
                      /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)
                    ? Ou(t, e)
                    : void 0
                );
              }
            })(t, e) ||
            (function () {
              throw new TypeError(
                "Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."
              );
            })()
          );
        }
        function Ou(t, e) {
          (null == e || e > t.length) && (e = t.length);
          for (var n = 0, r = Array(e); n < e; n++) r[n] = t[n];
          return r;
        }
        function Cu(t, e) {
          if (t !== e)
            throw new TypeError("Cannot instantiate an arrow function");
        }
        var Pu;
        !(function (t) {
          var e = this,
            n = (t.getFlatterLayers = function (t) {
              var r,
                i = this,
                o =
                  arguments.length > 1 && void 0 !== arguments[1]
                    ? arguments[1]
                    : [];
              return (
                Cu(this, e),
                null !== (r = t.children) && void 0 !== r && r.length
                  ? (t.children.forEach(
                      function (t) {
                        Cu(this, i), "group" !== t.type ? o.push(t) : n(t, o);
                      }.bind(this)
                    ),
                    o)
                  : []
              );
            }.bind(this));
          t.getLayerVisibleMap = function (t) {
            var r = this;
            Cu(this, e);
            var i = t.id,
              o = t.contextId,
              a = o ? (0, S.Wv)(o) : (0, S.Vs)(),
              s = (0, Au.A)(pe.A.get(a, "config.components", []), !1).filter(
                function (t) {
                  return (
                    Cu(this, r),
                    "layerController" === t.type &&
                      pe.A.get(t, "config.dataConfig.layerSourceId") === i
                  );
                }.bind(this)
              ),
              c = Tu(s, 1)[0];
            if (c) {
              var l = pe.A.get(c, "config.dataConfig.treeData", []),
                u = pe.A.get(c, "config.basicConfig.selectedKeys", []);
              return n({ children: l }).reduce(
                function (t, e) {
                  Cu(this, r);
                  var n = e.key,
                    i = e.layerId;
                  return i && (t[i] = u.includes(n)), t;
                }.bind(this),
                {}
              );
            }
          }.bind(this);
        })(Pu || (Pu = {}));
        var xu = n(87663);
        var ku = n(33418),
          Iu = n(50123),
          ju = n(13389);
        var Ru = function (t) {
          !(function (t, e) {
            if (t !== e)
              throw new TypeError("Cannot instantiate an arrow function");
          })(this, undefined),
            t && t.dom
              ? t.dom.find(".loadingMask").remove()
              : Q()("#loadingMask").remove();
        }.bind(void 0);
        const Du = {
          showLoading: function () {
            var t,
              e =
                arguments.length > 0 && void 0 !== arguments[0]
                  ? arguments[0]
                  : {};
            (null != e && e.dom) || (e.dom = Q()("#root"));
            var n = e.dom.css("position");
            (n && "static" !== n) || e.dom.css("position", "relative"),
              ((t = e.dom.find(".loadingMask")) && t.length) ||
                ((t = Q()(
                  '<div id="loadingMask" class="loadingMask"><div class="loadingBox"><div id="loading" class="loading">\n            <span class="loading-icon">\n                <svg\n                    xmlns="http://www.w3.org/2000/svg"\n                    xmlns:xlink="http://www.w3.org/1999/xlink"\n                    width="30px"\n                    height="30px"\n                    viewBox="0 0 50 50"\n                    style="enable-background:new 0 0 50 50" xml:space="preserve"\n                >\n                    <path\n                        fill="#1890ff"\n                        d="M43.935,25.145c0-10.318-8.364-18.683-18.683-18.683c-10.318,0-18.683,8.365-18.683,18.683h4.068c0-8.071,6.543-14.615,14.615-14.615c8.072,0,14.615,6.543,14.615,14.615H43.935z"\n                        transform="rotate(275.098 25 25)"\n                    >\n                        <animateTransform\n                            attributeType="xml"\n                            attributeName="transform"\n                            type="rotate"\n                            from="0 25 25"\n                            to="360 25 25"\n                            dur="0.6s"\n                            repeatCount="indefinite">\n                        </animateTransform>\n                    </path>\n                </svg>\n            </span>\n            <span class="loading-text" id="mask-loading-text">'.concat(
                    e.info || "配置加载中......",
                    "</span></div></div></div>"
                  )
                )),
                e.dom.append(t)),
              t.removeAttr("style"),
              e.style && t.css(e.style);
          },
          hideLoading: Ru,
          adaptModel: ku.Ay,
          List: ku.B8,
          adaptDataWithLegend: ku.er,
          rowToColumn: ku.sJ,
          buildLoadDelayMask: Iu.IQ,
          closeLoadDelayMask: Iu.Sl,
          uniqueRangeRender: ju.R3,
        };
        function Lu(t, e) {
          if (t !== e)
            throw new TypeError("Cannot instantiate an arrow function");
        }
        function Mu(t, e) {
          var n = this;
          if (this.config) {
            var r = (this.config.eventConfig || []).filter(
              function (e) {
                return Lu(this, n), e.eventType === t;
              }.bind(this)
            );
            r &&
              r.length &&
              r.forEach(
                function (t) {
                  Lu(this, n), !1 !== t.isShowEvent && lo.dispatch(this, e, t);
                }.bind(this)
              );
          }
        }
        function Nu(t, e) {
          if (t === m.X2.Link) Gr(e, this);
          else sfLogger.error("未知动作类型 ".concat(t, " 组件").concat(this));
        }
        var $u = n(52943);
        const Bu = {
          decodeFuncFromStr: function (t, e = void 0) {
            if (!t || "string" != typeof t || -1 === t.indexOf("function"))
              return t;
            try {
              return new Function(`return ${decodeURIComponent(t)}`)();
            } catch (n) {
              return (
                console.error(
                  `decode 函数失败: ${n}`,
                  `\n错误函数：${t}`,
                  "\n错误位置信息：",
                  e
                ),
                t
              );
            }
          },
          getChartEventOriginData: $u.JI,
          adaptModel: ku.Ay,
          updateIsShowEvent: function (t, e) {
            var n,
              r = this;
            "boolean" == typeof e &&
              (null === (n = t.config.eventConfig) ||
                void 0 === n ||
                n.forEach(
                  function (t) {
                    Lu(this, r), (t.isShowEvent = e);
                  }.bind(this)
                ));
          },
          getTargetComponentActives: function (t) {
            const e = [];
            return (
              (0, S.nx)().forEach((n) => {
                n.config?.eventConfig.forEach((n) => {
                  n.actions.forEach((r) => {
                    -1 !== r.targetId.indexOf(t) &&
                      e.push({
                        sourceId: n.sourceId,
                        actionName: r.actionName,
                        eventType: n.eventType,
                        linkActionType: r.linkActionType,
                      });
                  });
                });
              }),
              console.log(
                `Widget ${t} have been linked all acvtives list：`,
                e
              ),
              e
            );
          },
          EVENT_PARAM_FILTER_SYMBOL: le.dQ,
        };
        function Uu(t, e) {
          if (t !== e)
            throw new TypeError("Cannot instantiate an arrow function");
        }
        function Fu() {
          var t = this;
          (arguments.length > 0 && void 0 !== arguments[0]
            ? arguments[0]
            : []
          ).forEach(
            function (e) {
              var n,
                r,
                i = this;
              Uu(this, t);
              var o =
                null === (n = e.columnConfig) || void 0 === n
                  ? void 0
                  : n.formater;
              o
                ? e.columnType !== Li.ColumnType.MEASURE &&
                  (null === (r = e.bindFieldSetting) || void 0 === r
                    ? void 0
                    : r.acceptType) !== Li.ColumnType.MEASURE
                  ? e.columnType !== Li.ColumnType.DIMENSION
                    ? (e.getFormatData = function (t) {
                        return Uu(this, i), { fullValue: t, value: t };
                      }.bind(this))
                    : (function (t, e) {
                        var n = this;
                        if (
                          t.dataType === bl.p.date ||
                          t.dataType === bl.p.dateTime
                        ) {
                          var r = e.convertConfigs;
                          t.getFormatData = function (t) {
                            Uu(this, n);
                            var e = t;
                            try {
                              e = Pl(r)(t);
                            } catch (t) {
                              sfLogger.debug(t);
                            }
                            return { fullValue: e, pureFullValue: e, value: e };
                          }.bind(this);
                        } else {
                          var i = e.formaterType,
                            o = e.formaterConver;
                          if (i === Vl.CUSTOM)
                            t.getFormatData = function (t) {
                              Uu(this, n);
                              var e = t;
                              try {
                                e = Cl(o)(t);
                              } catch (t) {
                                sfLogger.debug(t);
                              }
                              return {
                                fullValue: e,
                                pureFullValue: e,
                                value: e,
                              };
                            }.bind(this);
                          else {
                            var a = e.convertConfigs,
                              s = void 0 === a ? [] : a;
                            t.getFormatData = function (t) {
                              var e = this;
                              if ((Uu(this, n), !Array.isArray(s)))
                                return {
                                  fullValue: t,
                                  pureFullValue: t,
                                  value: t,
                                };
                              var r = s.filter(
                                function (n) {
                                  return Uu(this, e), n.original === t;
                                }.bind(this)
                              );
                              if (!r.length)
                                return {
                                  fullValue: t,
                                  pureFullValue: t,
                                  value: t,
                                };
                              var i = r[0].current;
                              return {
                                fullValue: i,
                                pureFullValue: i,
                                value: i,
                              };
                            }.bind(this);
                          }
                        }
                      })(e, o)
                  : (function (t, e) {
                      var n = this,
                        r = e.formaterType,
                        i = e.formaterConver;
                      if (r === Vl.CUSTOM)
                        t.getFormatData = function (t) {
                          Uu(this, n);
                          var e = t;
                          try {
                            e = Cl(i)(t);
                          } catch (t) {
                            sfLogger.debug(t);
                          }
                          return { fullValue: e, value: e };
                        }.bind(this);
                      else {
                        var o = e.convertConfigs,
                          a = o.dataType,
                          s = o.fixedBit,
                          c = o.countUnit,
                          l = o.countUnitText,
                          u = void 0 === l ? "" : l,
                          f = o.isThousandthSplit,
                          d = function (t) {
                            return Uu(this, n), { fullValue: t, value: t };
                          }.bind(this),
                          h = ql[a];
                        h &&
                          (d = function (t) {
                            Uu(this, n);
                            var e = h({
                                originalValue: t,
                                countUnit: c,
                                fixedBit: s,
                              }),
                              r = e;
                            return (
                              f && (r = Hl(e)),
                              { value: e, fullValue: r + u, pureFullValue: r }
                            );
                          }.bind(this)),
                          (t.getUnit = function () {
                            return Uu(this, n), u || "";
                          }.bind(this)),
                          (t.getFormatData = function (t) {
                            Uu(this, n);
                            var e = { fullValue: t, value: t };
                            try {
                              e = d(t);
                            } catch (t) {
                              sfLogger.debug(t);
                            }
                            return e;
                          }.bind(this));
                      }
                    })(e, o)
                : (e.getFormatData = function (t) {
                    return Uu(this, i), { fullValue: t, value: t };
                  }.bind(this));
            }.bind(this)
          );
        }
        function Hu(t, e) {
          var n = this,
            r = null != e ? e : {},
            i = r.modelId,
            o = r.columns,
            a = t.dataConfig.modelConfigs;
          if (o)
            if (i) {
              var s = (0, vl.getModelConfigByModelId)(a, i);
              o.forEach(
                function (t) {
                  var e;
                  if (
                    (Uu(this, n),
                    null !== (e = t.columnConfig) && void 0 !== e && e.formater)
                  ) {
                    var r = (0, vl.getColumnFormaterByColumnId)(s, t.columnId);
                    pe.A.set(t, "columnConfig.formater", r);
                  }
                }.bind(this)
              ),
                Fu(o);
            } else
              o.forEach(
                function (t) {
                  var e = this;
                  Uu(this, n),
                    (t.getFormatData = function (t) {
                      return Uu(this, e), { fullValue: t, value: t };
                    }.bind(this));
                }.bind(this)
              );
        }
        var Gu = n(26150),
          Wu = n(15208),
          zu = n(17856),
          qu = n(19481),
          Xu = n(16136);
        function Yu({ options: t = {} }) {
          return t.series
            ? t.series.map((t) =>
                t && t.data
                  ? t.data.map((t) =>
                      "object" != typeof t
                        ? t
                        : { value: t.value, name: t.name }
                    )
                  : []
              )
            : [];
        }
        function Ku({ options: t = {} }, e, n = !1) {
          if (!t.series) return [];
          void 0 === e && (e = (0, qu.Qc)(t.legend, t.series));
          const r = t.series.map((r, i) =>
            (function (t, e, n, r, i) {
              if (!t || !t.data) return [];
              const {
                  hasXAxis: o,
                  hasYAxis: a,
                  hasLegend: s,
                } = (0, qu.Ch)(n, e),
                c = t.data.map((t) => (0, Xu._W)(t));
              let l = [];
              o && (l = n.xAxis[e].data.map((t) => (0, Xu._W)(t)));
              let u = [];
              a && (u = n.yAxis[e].data.map((t) => (0, Xu._W)(t)));
              let f = [];
              s && !r && (f = n.legend.data.map((t) => (0, Xu._W)(t, "name")));
              let d = [];
              i && (d = t.data.map((t) => (0, Xu._W)(t, "name")));
              const h = pe.A.zipWith(c, l, u, f, d, (t, e, n, r, o) => {
                const a = {};
                return (
                  void 0 !== t && (a.value = t),
                  void 0 !== e && (a.x = e),
                  void 0 !== n && (a.y = n),
                  void 0 !== r && (a.legend = r),
                  i && (a.name = o),
                  a
                );
              });
              return r
                ? { value: h, legend: (0, Xu._W)(n.legend.data[e], "name") }
                : h;
            })(r, i, t, e, n)
          );
          return (0, qu.j_)(r);
        }
        function Zu({ options: t = {} }) {
          if (!t || !t.series) return [];
          const { series: e = [], legend: n = {} } = t;
          return e.map((t) => {
            const e = { value: t.data };
            return (
              t.name && -1 !== n.data.indexOf(t.name)
                ? (e.legend = t.name)
                : t.name && (e.name = t.name),
              e
            );
          });
        }
        function Ju({ options: t }) {
          if (!t.series[0]) return {};
          const e = t.series[0] || {};
          return {
            data: (e.data || []).map((t) => ({ value: t.value, name: t.name })),
            legend: e.name || "series0",
          };
        }
        function Qu({ options: t }) {
          if (!t.series[0] || !t.series[1]) return {};
          const e = t.series[0] || {},
            n = t.series[1],
            r = (e.data || []).map((t, e) => ({
              value: t.value,
              name: t.name,
              value1: pe.A.get(n, `data[${e}].value`, void 0),
            })),
            i = [e.name || "series0"];
          return n && i.push(n.name || "series1"), { data: r, legend: i };
        }
        var tf = n(58450);
        function ef(t, e) {
          var n = Object.keys(t);
          if (Object.getOwnPropertySymbols) {
            var r = Object.getOwnPropertySymbols(t);
            e &&
              (r = r.filter(function (e) {
                return Object.getOwnPropertyDescriptor(t, e).enumerable;
              })),
              n.push.apply(n, r);
          }
          return n;
        }
        function nf(t) {
          for (var e = 1; e < arguments.length; e++) {
            var n = null != arguments[e] ? arguments[e] : {};
            e % 2
              ? ef(Object(n), !0).forEach(function (e) {
                  af(t, e, n[e]);
                })
              : Object.getOwnPropertyDescriptors
              ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(n))
              : ef(Object(n)).forEach(function (e) {
                  Object.defineProperty(
                    t,
                    e,
                    Object.getOwnPropertyDescriptor(n, e)
                  );
                });
          }
          return t;
        }
        function rf(t) {
          return (
            (function (t) {
              if (Array.isArray(t)) return of(t);
            })(t) ||
            (function (t) {
              if (
                ("undefined" != typeof Symbol && null != t[Symbol.iterator]) ||
                null != t["@@iterator"]
              )
                return Array.from(t);
            })(t) ||
            (function (t, e) {
              if (t) {
                if ("string" == typeof t) return of(t, e);
                var n = {}.toString.call(t).slice(8, -1);
                return (
                  "Object" === n && t.constructor && (n = t.constructor.name),
                  "Map" === n || "Set" === n
                    ? Array.from(t)
                    : "Arguments" === n ||
                      /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)
                    ? of(t, e)
                    : void 0
                );
              }
            })(t) ||
            (function () {
              throw new TypeError(
                "Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."
              );
            })()
          );
        }
        function of(t, e) {
          (null == e || e > t.length) && (e = t.length);
          for (var n = 0, r = Array(e); n < e; n++) r[n] = t[n];
          return r;
        }
        function af(t, e, n) {
          return (
            (e = (function (t) {
              var e = (function (t, e) {
                if ("object" != sf(t) || !t) return t;
                var n = t[Symbol.toPrimitive];
                if (void 0 !== n) {
                  var r = n.call(t, e || "default");
                  if ("object" != sf(r)) return r;
                  throw new TypeError(
                    "@@toPrimitive must return a primitive value."
                  );
                }
                return ("string" === e ? String : Number)(t);
              })(t, "string");
              return "symbol" == sf(e) ? e : e + "";
            })(e)) in t
              ? Object.defineProperty(t, e, {
                  value: n,
                  enumerable: !0,
                  configurable: !0,
                  writable: !0,
                })
              : (t[e] = n),
            t
          );
        }
        function sf(t) {
          return (
            (sf =
              "function" == typeof Symbol && "symbol" == typeof Symbol.iterator
                ? function (t) {
                    return typeof t;
                  }
                : function (t) {
                    return t &&
                      "function" == typeof Symbol &&
                      t.constructor === Symbol &&
                      t !== Symbol.prototype
                      ? "symbol"
                      : typeof t;
                  }),
            sf(t)
          );
        }
        function cf(t, e) {
          if (t !== e)
            throw new TypeError("Cannot instantiate an arrow function");
        }
        function lf(t) {
          var e = this,
            n = t[0],
            r = Object.keys(n[0])
              .map(
                function (t) {
                  return (
                    cf(this, e), !!/^value(\d+)$/.test(t) && Number(RegExp.$1)
                  );
                }.bind(this)
              )
              .filter(
                function (t) {
                  return cf(this, e), !1 !== t;
                }.bind(this)
              )
              .sort(),
            i = [(0, tf.Cc)(), (0, tf.P1)()];
          r.forEach(
            function () {
              cf(this, e), i.push((0, tf.P1)());
            }.bind(this)
          );
          var o = n.map(
            function (t) {
              var n = this;
              cf(this, e);
              var i = [];
              return (
                "object" !== sf(t)
                  ? (i.push(""), i.push(t))
                  : (i.push(t.legend), i.push(t.value)),
                r.forEach(
                  function (e) {
                    return cf(this, n), i.push(t["value".concat(e)]);
                  }.bind(this)
                ),
                i
              );
            }.bind(this)
          );
          return { total: 0, data: o, columns: i };
        }
        function uf(t) {
          var e,
            n,
            r = this,
            i = arguments.length > 1 && void 0 !== arguments[1] && arguments[1],
            o = t.length,
            a = t[0];
          return (
            o <= 1
              ? ((e = [(0, tf.Cc)(), (0, tf.P1)(a.legend)]),
                (n = a.value.map(
                  function (t) {
                    return cf(this, r), [t[i ? "x" : "y"], t.value];
                  }.bind(this)
                )))
              : ((e = [(0, tf.Cc)()]),
                t.forEach(
                  function (t) {
                    cf(this, r), e.push((0, tf.P1)(t.legend));
                  }.bind(this)
                ),
                (n = a.value.map(
                  function (e, n) {
                    cf(this, r);
                    for (
                      var a = [e[i ? "x" : "y"], e.value], s = 1;
                      s < o;
                      s++
                    ) {
                      var c = t[s].value[n] || {};
                      a.push(c.value);
                    }
                    return a;
                  }.bind(this)
                ))),
            { total: 0, data: n, columns: e }
          );
        }
        function ff(t) {
          var e = this;
          return {
            total: 0,
            columns: [(0, tf.Cc)(), (0, tf.P1)()],
            data: t[0].map(
              function (t) {
                return cf(this, e), [t.name, t.value];
              }.bind(this)
            ),
          };
        }
        function df(t) {
          var e = this;
          return {
            total: 0,
            columns: [(0, tf.Cc)(), (0, tf.P1)()],
            data: t[0].map(
              function (t) {
                return cf(this, e), [t.value];
              }.bind(this)
            ),
          };
        }
        function hf(t) {
          var e = this,
            n = t[0] && void 0 !== t[0].legend,
            r = t[0] && t[0].value[0].length >= 3,
            i = [(0, tf.Cc)(), (0, tf.P1)(), (0, tf.P1)()];
          r && i.push((0, tf.P1)());
          var o = [];
          t.forEach(
            function (t) {
              var i = this;
              if ((cf(this, e), t && t.value)) {
                var a = t.legend,
                  s = t.name;
                t.value.forEach(
                  function (t) {
                    cf(this, i);
                    var e = [];
                    (e = n ? [a, t[0], t[1]] : [s, t[0], t[1]]),
                      r && e.push(t[2]),
                      o.push(e);
                  }.bind(this)
                );
              }
            }.bind(this)
          );
          var a = af({}, "index_".concat(i[0].id), n ? "l" : "d");
          return { total: 0, data: o, columns: i, legendRelationship: a };
        }
        function pf(t) {
          var e = this;
          if (!t || !t.length) return [];
          var n = [];
          return (
            t.forEach(
              function (t) {
                var r = this;
                cf(this, e),
                  t.children &&
                    t.children.length &&
                    t.children.forEach(
                      function (e) {
                        cf(this, r),
                          n.push([e.name, t.name, e.size]),
                          e.children &&
                            e.children.length &&
                            n.push.apply(n, rf(pf([e])));
                      }.bind(this)
                    );
              }.bind(this)
            ),
            n
          );
        }
        function mf(t) {
          var e = [(0, tf.Cc)(), (0, tf.P1)(), (0, tf.P1)()];
          return { total: 0, data: pf([t]), columns: e };
        }
        function vf(t) {
          var e = this;
          return {
            columns: [(0, tf.Cc)(), (0, tf.P1)(t.legend)],
            data: t.data.map(
              function (t) {
                return cf(this, e), [t.name, t.value];
              }.bind(this)
            ),
            total: 0,
          };
        }
        function gf(t) {
          var e = this,
            n = t.legend.length > 1,
            r = [(0, tf.Cc)(), (0, tf.P1)(t.legend[0])];
          return (
            n && r.push((0, tf.P1)(t.legend[1])),
            {
              columns: r,
              data: t.data.map(
                function (t) {
                  return (
                    cf(this, e),
                    n ? [t.name, t.value, t.value1] : [t.name, t.value]
                  );
                }.bind(this)
              ),
              total: 0,
            }
          );
        }
        function yf(t) {
          var e = this;
          return {
            total: 0,
            columns: [(0, tf.Cc)(), (0, tf.P1)(), (0, tf.P1)()],
            data: t.map(
              function (t) {
                return cf(this, e), [t.name, t.value, t.maxValue];
              }.bind(this)
            ),
          };
        }
        function bf(t, e) {
          var n,
            r = this,
            i = { total: 0, columns: [], data: [] };
          if (pe.A.isEmpty(t)) return i;
          var o = t[0],
            a = o.value,
            s = o.legend;
          return (
            Object.keys(null !== (n = a[0]) && void 0 !== n ? n : {}).reduce(
              function (t, n) {
                cf(this, r);
                var i,
                  o = e[n],
                  a = o.type,
                  c = o.bindFieldName;
                if (a === Li.ColumnType.DIMENSION) i = (0, tf.Cc)();
                else {
                  var l = "value" === n ? s : null;
                  i = (0, tf.P1)(l);
                }
                return t.push(nf(nf({}, i), {}, { bindFieldName: c })), t;
              }.bind(this),
              i.columns
            ),
            (i.data = a.map(
              function (t) {
                return cf(this, r), Object.values(t);
              }.bind(this)
            )),
            i
          );
        }
        function Vf(t) {
          var e = this,
            n = [[]],
            r = [];
          return (
            t.map(
              function (t, i) {
                var o = this;
                cf(this, e),
                  Object.keys(t).map(
                    function (e) {
                      var a = this;
                      cf(this, o),
                        /^value$/.test(e) &&
                          t[e].forEach(
                            function (t, e) {
                              cf(this, a), n[e] || (n[e] = []), (n[e][i] = t);
                            }.bind(this)
                          ),
                        /^name$/.test(e) && r.push((0, tf.P1)(t[e]));
                    }.bind(this)
                  );
              }.bind(this)
            ),
            { total: 0, data: n, columns: r }
          );
        }
        function _f(t, e) {
          var n = this;
          if (pe.A.isEmpty(t)) return {};
          var r = t.map(
            function (t) {
              return cf(this, n), [t.name, 100];
            }.bind(this)
          );
          return {
            total: 0,
            columns: [
              nf(
                nf({}, (0, tf.Cc)("area")),
                {},
                { bindFieldName: "area", displayName: "area" }
              ),
              nf(
                nf({}, (0, tf.P1)("measure")),
                {},
                { bindFieldName: "measure", displayName: "measure" }
              ),
            ],
            data: r,
          };
        }
        function wf(t, e) {
          var n = this;
          if (pe.A.isEmpty(t)) return {};
          for (var r = [], i = t.length, o = 0; o < 10; o++) {
            var a = pe.A.random(0, i - 1),
              s = pe.A.random(0, i - 1);
            s === a && (s = a + 1 >= i ? 0 : a + 1),
              r.push([t[a].name, t[s].name, 100, 100, 100]);
          }
          return {
            total: 0,
            columns: [
              { name: "area", type: "dimension" },
              { name: "destArea", type: "dimension" },
              { name: "measure", type: "measure" },
              { name: "destMeasure", type: "measure" },
              { name: "lineMeasure", type: "measure" },
            ].map(
              function (t) {
                return (
                  cf(this, n),
                  nf(
                    nf(
                      {},
                      "dimension" === t.type
                        ? (0, tf.Cc)(t.name)
                        : (0, tf.P1)(t.name)
                    ),
                    {},
                    { bindFieldName: t.name, displayName: K.get("com.measure") }
                  )
                );
              }.bind(this)
            ),
            data: r,
          };
        }
        function Sf() {
          const t = Q()('[ng-controller="styleSettingCtrl"]').scope();
          t &&
            t.$parent &&
            ((t.$parent.intiFirstChartData = 1),
            t.$parent.simulationData && t.$parent.simulationData());
        }
        function Ef({ options: t = {} }, e) {
          if (!t.series || !e) return t;
          const n = (0, tf.Xi)(e);
          return (
            (t.series = (0, Xu.E2)(t.series, n)),
            (t.xAxis = (0, Xu.W1)(t.xAxis, n, "x")),
            (t.yAxis = (0, Xu.W1)(t.yAxis, n, "y")),
            (t = (0, Xu.a$)(t, n))
          );
        }
        function Af({ options: t = {} }, e) {
          t.series &&
            e &&
            e.forEach((e, n) => {
              t.series[n + 1].data = e;
            });
        }
        const Tf = {
            type: "array",
            items: {
              type: "array",
              items: { type: "object", required: ["value", "legend"] },
              minItems: 1,
            },
            maxItems: 1,
            minItems: 1,
          },
          Of = {
            type: "array",
            items: {
              type: "array",
              items: {
                type: "object",
                required: ["value", "legend", "value2"],
              },
              minItems: 1,
            },
            maxItems: 1,
            minItems: 1,
          },
          Cf = {
            type: "array",
            items: {
              type: "object",
              required: ["value", "legend"],
              properties: {
                value: {
                  type: "array",
                  items: { type: "object", required: ["value"] },
                },
              },
            },
            minItems: 1,
          },
          Pf = {
            type: "array",
            items: {
              type: "array",
              items: { type: "object", required: ["value", "name"] },
              minItems: 1,
            },
            maxItems: 1,
            minItems: 1,
          },
          xf = {
            type: "array",
            items: {
              type: "object",
              required: ["value"],
              properties: {
                value: {
                  type: "array",
                  items: {
                    type: "array",
                    items: { type: "number" },
                    minItems: 2,
                  },
                  minItems: 1,
                },
              },
            },
          },
          kf = {
            type: "object",
            required: ["values", "legend"],
            properties: {
              values: { type: "array", items: { type: "array" } },
              legend: { type: "array", items: { type: "array" } },
            },
          },
          If = {
            type: "object",
            required: ["data", "legend"],
            properties: {
              data: {
                type: "array",
                items: { type: "object", required: ["value", "name"] },
              },
              legend: { type: "string" },
            },
          },
          jf = {
            type: "object",
            required: ["data", "legend"],
            properties: {
              data: {
                type: "array",
                items: { type: "object", required: ["value", "name"] },
              },
              legend: { type: "array", minItems: 1, maxItems: 2 },
            },
          },
          Rf = {
            ENUM_MODEL: Li,
            modelConfigUtils: vl,
            modelFormatBuilder: Hu,
            formater: Ql,
            toFullData: Il,
            buildColumnCondition: Wu.A,
            mergeConditionParams: zu.A,
            getModelConfigByModelId: vl.getModelConfigByModelId,
            getDimensionGradeColumn: vl.getDimensionGradeColumn,
            convertConditionData: Gu.B,
          };
        function Df() {
          return parseInt(
            getComputedStyle(window.document.documentElement)[
              "font-size"
            ].split("px")[0],
            10
          );
        }
        function Lf(t, e) {
          var n = (0, Ot.XK)() * t;
          return (0, Ot.ez)(n, e);
        }
        function Mf(t, e) {
          var n = ((0, Ot.XK)() / Df()) * t;
          return (0, Ot.oN)(n, e);
        }
        function Nf(t, e, n) {
          var r = (0, S.Vs)().config;
          if (0 === r.resolution)
            return { fullValue: "".concat(t, "px"), value: t, unit: "px" };
          var i = (function (t, e) {
            var n = (0, Ot.sU)() * t;
            return (0, Ot.ez)(n, e);
          })(t, n);
          switch (r.resolutionType) {
            case wt.ResolutionType.Proportional:
              e === Ot.bF.y && (i = Lf(t, n));
              break;
            case wt.ResolutionType.HeightZoom:
              i = Lf(t, n);
          }
          return i;
        }
        const $f = {
            getScaleFactor: Ot.Ge,
            ScaleType: Ot.bF,
            getRootFontSize: Df,
            getScaledRelativeSizeByPx: Nf,
            getScaledRelativeRemByPx: function (t, e, n) {
              var r = (0, S.Vs)().config;
              if (0 === r.resolution)
                return { fullValue: "".concat(t, "px"), value: t, unit: "px" };
              var i = (function (t, e) {
                var n = ((0, Ot.sU)() / Df()) * t;
                return (0, Ot.oN)(n, e);
              })(t, n);
              switch (r.resolutionType) {
                case wt.ResolutionType.Proportional:
                  e === Ot.bF.y && (i = Mf(t, n));
                  break;
                case wt.ResolutionType.HeightZoom:
                  i = Mf(t, n);
              }
              return i;
            },
            getPxSize: Ot.ez,
            getRemSize: Ot.oN,
          },
          Bf = { Page: wt, project: ca, Card: he, ProjectFile: a },
          Uf = {
            version: "1.0",
            nginxPath: p.Ay,
            scale: $f,
            componentUtil: Du,
            decorator: o,
            getComponentInstance: Co.xy,
            getComponentConstructor: Co.Ay,
            registComponentConstructor: Co.GV,
            traverseComponents: No,
            basicSetting: { showZoomModal: ml.C },
            task: Tt.Ay,
            batchTask: Tt.Oj,
            formater: Ql,
            event: Bu,
            model: Rf,
            dataProxy: s,
            uuid: $t.A,
            pluginManager: Z,
            emitter: v.A,
            geo: pl,
            i18n: K,
            glUtil: Xc,
            systemUtil: i,
            request: V,
            colorUtil: Yc,
            dateUtil: r,
            encode: tt.A,
            parseParamConfig: le.$8,
            setEnableOrDisable: tu,
            Card: xr,
            types: Bf,
            theme: eu,
            modalMessage: zr,
            message: Nt,
            loadScript: f.e,
            loadCss: f.f,
            isDesigner: g.A7,
            isReleaseMode: g.fx,
            getStaticEnvironmentPath: g.dG,
            initServerAlarmMonitor: Un,
            queryLastAlarms: jn,
            PostMessager: Xt,
            workerManager: hu,
            assemblerBridge: Vu,
            NullDataMath: nu.E,
            renderFilter: ko.A,
            getUrlWithPrefix: f.F,
            thumbnailShot: f.t,
            getEditorType: _u.A,
            EventManager: lo,
            getDataGetterPool: function () {
              return ds;
            },
            savePage: function (t) {
              var e = this,
                n = t;
              return (
                (0, Xr.b)() && (n = qr.A.encrypt(JSON.stringify(t), qr.M)),
                (0, V.post)(
                  "".concat(p.Ay.UX_API, "/runner/page/savePageExtInfo"),
                  n
                ).then(
                  function (t) {
                    return (
                      (function (t, e) {
                        if (t !== e)
                          throw new TypeError(
                            "Cannot instantiate an arrow function"
                          );
                      })(this, e),
                      t
                    );
                  }.bind(this)
                )
              );
            },
            loadPageFonts: bs.o$,
            remoteModuleLoaderByUrl: f.h,
            watermark: { setCardWatermark: sr },
            layerUtils: Pu,
            execChildHooks: Te,
            flatternComponents: Au.A,
            isHiddenToolbox: xu.A,
            getCardInfoByName: function (t) {
              var e = this;
              return (0, V.post)(
                "".concat(p.Ay.UX_API, "/runner/card/getCardInfoByName"),
                t
              ).then(
                function (t) {
                  var n = t.data;
                  return (
                    (function (t, e) {
                      if (t !== e)
                        throw new TypeError(
                          "Cannot instantiate an arrow function"
                        );
                    })(this, e),
                    n
                  );
                }.bind(this)
              );
            },
            getProjectInfo: function () {
              var t,
                e =
                  arguments.length > 0 && void 0 !== arguments[0]
                    ? arguments[0]
                    : "project",
                n = arguments.length > 1 ? arguments[1] : void 0,
                r = { type: e, id: n, fileLevel: Su.project };
              switch (e) {
                case "project":
                  r.id = n;
                  break;
                case "card":
                  (r.id =
                    n ||
                    (null !== (t = (0, S.Vs)().cardId) && void 0 !== t
                      ? t
                      : (0, S.Vs)().id)),
                    (r.fileLevel = Su.card);
              }
              return {
                projectInfo: r,
                projectPath: "".concat(r.type, "/").concat(r.id),
              };
            },
            buildFileUrl: function (t, e, n) {
              return ""
                .concat(wu.UE_DESIGN_WITH_FLAG)
                .concat(t)
                .concat(e, "?t=")
                .concat(n);
            },
            getProjectSourceFile: async function (t) {
              var e = this,
                n = await (0, V.post)(wu.GET_PROJECT_FILE, t).catch(
                  function (t) {
                    !(function (t, e) {
                      if (t !== e)
                        throw new TypeError(
                          "Cannot instantiate an arrow function"
                        );
                    })(this, e),
                      sfLogger.error(t);
                  }.bind(this)
                );
              return n && "0" === n.code ? n.data || [] : n;
            },
          };
        var Ff = n(66113),
          Hf = n(40961),
          Gf = n(20903),
          Wf = n(58170);
        function zf(t, e) {
          if (t !== e)
            throw new TypeError("Cannot instantiate an arrow function");
        }
        var qf = n(76129);
        var Xf = n(2678);
        const Yf = n.p + "images/queryError.6063.svg";
        function Kf(t, e) {
          if (t !== e)
            throw new TypeError("Cannot instantiate an arrow function");
        }
        async function Zf(t, e, n) {
          var r = this,
            i = Object.values(e).map(
              async function (e) {
                var i, o;
                Kf(this, r);
                var a,
                  s = e.modelId,
                  c = e.modelType,
                  l = new Wf.A(t, e, n),
                  u = await l.buildQueryParams();
                t.execHooks("beforeRequest", u), sfLogger.log("queryParams", u);
                var f = null;
                try {
                  a = await l.query();
                } catch (t) {
                  f = t;
                }
                if (
                  (f ||
                    (null !== (i = a) &&
                      void 0 !== i &&
                      null !== (i = i.data) &&
                      void 0 !== i &&
                      i.columns) ||
                    (f = a),
                  t.execHooks("afterRequest", a, f, { modelId: s }),
                  f)
                )
                  return Promise.reject(f);
                var d = (function (t, e, n) {
                    var r, i, o, a;
                    return {
                      modelId: e,
                      data:
                        null !==
                          (r =
                            null === (i = n.data) || void 0 === i
                              ? void 0
                              : i.dataList) && void 0 !== r
                          ? r
                          : [],
                      count:
                        null !==
                          (o =
                            null === (a = n.data) || void 0 === a
                              ? void 0
                              : a.count) && void 0 !== o
                          ? o
                          : 0,
                      columns: (0, tf.v3)(t, e, (0, qf.A)(n.data.columns)),
                    };
                  })(t, s, a),
                  h = (0, Xf.FR)(t, e, d),
                  p =
                    null ===
                      (o = t.getRunTimeData("abortRenderWhenEmptyData")) ||
                    void 0 === o ||
                    o;
                return h && p
                  ? Promise.reject(Yt.f.abort)
                  : Promise.resolve({ modelType: c, data: d });
              }.bind(this)
            );
          return Promise.all(i).catch(
            function (e) {
              return (
                Kf(this, r),
                (function (t, e) {
                  var n;
                  (0, g.vk)() &&
                    e !== Yt.f.abort &&
                    (0, Xf.o8)({
                      tips: {
                        msg: (0, K.get)("com.modelFetchError"),
                        errorDetail:
                          (null !== (n = e.messages) && void 0 !== n
                            ? n
                            : []
                          ).join(",") || (0, K.get)("com.noErrorMessage"),
                        iconPath: Yf,
                      },
                      type: "tips",
                      component: t,
                    })();
                })(t, e),
                Promise.reject(e)
              );
            }.bind(this)
          );
        }
        function Jf(t) {
          return (
            (Jf =
              "function" == typeof Symbol && "symbol" == typeof Symbol.iterator
                ? function (t) {
                    return typeof t;
                  }
                : function (t) {
                    return t &&
                      "function" == typeof Symbol &&
                      t.constructor === Symbol &&
                      t !== Symbol.prototype
                      ? "symbol"
                      : typeof t;
                  }),
            Jf(t)
          );
        }
        var Qf = void 0;
        function td(t, e) {
          var n = Object.keys(t);
          if (Object.getOwnPropertySymbols) {
            var r = Object.getOwnPropertySymbols(t);
            e &&
              (r = r.filter(function (e) {
                return Object.getOwnPropertyDescriptor(t, e).enumerable;
              })),
              n.push.apply(n, r);
          }
          return n;
        }
        function ed(t) {
          for (var e = 1; e < arguments.length; e++) {
            var n = null != arguments[e] ? arguments[e] : {};
            e % 2
              ? td(Object(n), !0).forEach(function (e) {
                  nd(t, e, n[e]);
                })
              : Object.getOwnPropertyDescriptors
              ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(n))
              : td(Object(n)).forEach(function (e) {
                  Object.defineProperty(
                    t,
                    e,
                    Object.getOwnPropertyDescriptor(n, e)
                  );
                });
          }
          return t;
        }
        function nd(t, e, n) {
          return (
            (e = (function (t) {
              var e = (function (t, e) {
                if ("object" != Jf(t) || !t) return t;
                var n = t[Symbol.toPrimitive];
                if (void 0 !== n) {
                  var r = n.call(t, e || "default");
                  if ("object" != Jf(r)) return r;
                  throw new TypeError(
                    "@@toPrimitive must return a primitive value."
                  );
                }
                return ("string" === e ? String : Number)(t);
              })(t, "string");
              return "symbol" == Jf(e) ? e : e + "";
            })(e)) in t
              ? Object.defineProperty(t, e, {
                  value: n,
                  enumerable: !0,
                  configurable: !0,
                  writable: !0,
                })
              : (t[e] = n),
            t
          );
        }
        function rd(t, e) {
          if (t !== e)
            throw new TypeError("Cannot instantiate an arrow function");
        }
        var id = { hour: 36e5, minute: 6e4, second: 1e3 },
          od = function (t) {
            var e = this;
            rd(this, Qf);
            var n = {};
            return (
              Object.keys(t).forEach(
                function (r) {
                  var i;
                  rd(this, e);
                  var o = t[r],
                    a = 0;
                  (null == o || null === (i = o.dataRefresh) || void 0 === i
                    ? void 0
                    : i.rate) > 0 &&
                    (a = o.dataRefresh.rate * id[o.dataRefresh.timeType]),
                    n[a] || (n[a] = []),
                    n[a].push({ modelId: o.modelId, modelType: o.modelType });
                }.bind(this)
              ),
              n
            );
          }.bind(void 0),
          ad = function (t, e, n) {
            var r = this;
            rd(this, Qf);
            var i = t.getRunTimeData("modelFreshRateTimer");
            n &&
              (clearTimeout(i),
              (i = setTimeout(
                function () {
                  var i = this;
                  rd(this, r),
                    t.config &&
                      Zf(t, e)
                        .then(
                          function (e) {
                            rd(this, i), t.dataGetter.setData(e);
                          }.bind(this)
                        )
                        .finally(
                          function () {
                            rd(this, i), ad(t, e, n);
                          }.bind(this)
                        );
                }.bind(this),
                n
              )),
              t.setRunTimeData("modelFreshRateTimer", i));
          }.bind(void 0),
          sd = function (t, e) {
            var n = this;
            if ((rd(this, Qf), "runtime" === st.o9.Runtime)) {
              var r = pe.A.get(t.config, "dataConfig.modelHandleConfigs") || {},
                i = {};
              e.forEach(
                function (t) {
                  rd(this, n);
                  var e = r[t.modelType] ? r[t.modelType] : r;
                  i[t.modelType] = ed(ed({}, e), t);
                }.bind(this)
              );
              var o = od(i);
              Object.keys(o).forEach(
                function (e) {
                  rd(this, n);
                  var r = parseInt(e, 10);
                  ad(t, o[e], r);
                }.bind(this)
              );
            }
          }.bind(void 0);
        function cd(t) {
          return (
            (cd =
              "function" == typeof Symbol && "symbol" == typeof Symbol.iterator
                ? function (t) {
                    return typeof t;
                  }
                : function (t) {
                    return t &&
                      "function" == typeof Symbol &&
                      t.constructor === Symbol &&
                      t !== Symbol.prototype
                      ? "symbol"
                      : typeof t;
                  }),
            cd(t)
          );
        }
        function ld(t, e) {
          var n = Object.keys(t);
          if (Object.getOwnPropertySymbols) {
            var r = Object.getOwnPropertySymbols(t);
            e &&
              (r = r.filter(function (e) {
                return Object.getOwnPropertyDescriptor(t, e).enumerable;
              })),
              n.push.apply(n, r);
          }
          return n;
        }
        function ud(t) {
          for (var e = 1; e < arguments.length; e++) {
            var n = null != arguments[e] ? arguments[e] : {};
            e % 2
              ? ld(Object(n), !0).forEach(function (e) {
                  fd(t, e, n[e]);
                })
              : Object.getOwnPropertyDescriptors
              ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(n))
              : ld(Object(n)).forEach(function (e) {
                  Object.defineProperty(
                    t,
                    e,
                    Object.getOwnPropertyDescriptor(n, e)
                  );
                });
          }
          return t;
        }
        function fd(t, e, n) {
          return (
            (e = (function (t) {
              var e = (function (t, e) {
                if ("object" != cd(t) || !t) return t;
                var n = t[Symbol.toPrimitive];
                if (void 0 !== n) {
                  var r = n.call(t, e || "default");
                  if ("object" != cd(r)) return r;
                  throw new TypeError(
                    "@@toPrimitive must return a primitive value."
                  );
                }
                return ("string" === e ? String : Number)(t);
              })(t, "string");
              return "symbol" == cd(e) ? e : e + "";
            })(e)) in t
              ? Object.defineProperty(t, e, {
                  value: n,
                  enumerable: !0,
                  configurable: !0,
                  writable: !0,
                })
              : (t[e] = n),
            t
          );
        }
        function dd(t) {
          var e = this;
          return new Promise(
            function (n, r) {
              var i, o, a, s;
              !(function (t, e) {
                if (t !== e)
                  throw new TypeError("Cannot instantiate an arrow function");
              })(this, e);
              var c =
                null !==
                  (i =
                    null !==
                      (o =
                        null === (a = t.fakeData) || void 0 === a
                          ? void 0
                          : a.call(t)) && void 0 !== o
                      ? o
                      : null === (s = t.getValueMap) || void 0 === s
                      ? void 0
                      : s.call(t)) && void 0 !== i
                  ? i
                  : {};
              n([
                {
                  modelType: Li.CONST_DEFAULT_MODEL_TYPE,
                  dataType: xd,
                  data: ud({}, c),
                },
              ]);
            }.bind(this)
          );
        }
        async function hd(t, e, n) {
          var r = t.getDataConfig();
          pe.A.isArray(e) && Wf.A.setEffectModel(r.modelConfigs, e);
          var i = await Wf.A.perfectUpdateModelParams(
            r.modelConfigs,
            r.modelUserMap,
            e
          );
          return i.length
            ? (sd(t, i), Zf(t, i, n))
            : pe.A.get(r, "staticConfig.staticData")
            ? (function (t, e) {
                var n = this;
                return new Promise(
                  function (r) {
                    var i,
                      o = this;
                    if ((zf(this, n), t.fakeModelData)) {
                      var a = (i = t.fakeModelData).columns;
                      (void 0 === a ? [] : a).forEach(
                        function (t) {
                          zf(this, o),
                            "DIMENSION" !== t.columnType || t.bindFieldName
                              ? t.bindFieldName || (t.bindFieldName = "index")
                              : (t.bindFieldName = "dimension");
                        }.bind(this)
                      );
                    } else if (t.fakeModelDataFromStaticData)
                      i = t.fakeModelDataFromStaticData(e);
                    else {
                      var s = t.getDataConfig().staticConfig.staticData;
                      (i =
                        !s || (void 0 !== s.length && 0 === s.length)
                          ? {}
                          : uf(s, !0)),
                        t.bindFieldNames &&
                          (i = (0, tf.Gx)(t.bindFieldNames, i));
                      var c = i.columns;
                      (void 0 === c ? [] : c).forEach(
                        function (t) {
                          zf(this, o),
                            "DIMENSION" !== t.columnType || t.bindFieldName
                              ? t.bindFieldName || (t.bindFieldName = "index")
                              : (t.bindFieldName = "dimension");
                        }.bind(this)
                      );
                    }
                    var l = [];
                    i.columns && i.data
                      ? ((i.uuid = (0, $t.A)()),
                        l.push({
                          modelType: Li.CONST_DEFAULT_MODEL_TYPE,
                          data: i,
                        }))
                      : Object.keys(i).forEach(
                          function (t) {
                            zf(this, o);
                            var e = i[t];
                            (e.uuid = (0, $t.A)()),
                              l.push({ modelType: t, data: e });
                          }.bind(this)
                        ),
                      r(l);
                  }.bind(this)
                );
              })(t, e)
            : dd(t);
        }
        function pd(t) {
          return (
            (pd =
              "function" == typeof Symbol && "symbol" == typeof Symbol.iterator
                ? function (t) {
                    return typeof t;
                  }
                : function (t) {
                    return t &&
                      "function" == typeof Symbol &&
                      t.constructor === Symbol &&
                      t !== Symbol.prototype
                      ? "symbol"
                      : typeof t;
                  }),
            pd(t)
          );
        }
        function md(t, e) {
          if (t !== e)
            throw new TypeError("Cannot instantiate an arrow function");
        }
        function vd(t, e) {
          for (var n = 0; n < e.length; n++) {
            var r = e[n];
            (r.enumerable = r.enumerable || !1),
              (r.configurable = !0),
              "value" in r && (r.writable = !0),
              Object.defineProperty(t, gd(r.key), r);
          }
        }
        function gd(t) {
          var e = (function (t, e) {
            if ("object" != pd(t) || !t) return t;
            var n = t[Symbol.toPrimitive];
            if (void 0 !== n) {
              var r = n.call(t, e || "default");
              if ("object" != pd(r)) return r;
              throw new TypeError(
                "@@toPrimitive must return a primitive value."
              );
            }
            return ("string" === e ? String : Number)(t);
          })(t, "string");
          return "symbol" == pd(e) ? e : e + "";
        }
        var yd = (function () {
          return (function (t, e, n) {
            return (
              e && vd(t.prototype, e),
              n && vd(t, n),
              Object.defineProperty(t, "prototype", { writable: !1 }),
              t
            );
          })(
            function t() {
              !(function (t, e) {
                if (!(t instanceof e))
                  throw new TypeError("Cannot call a class as a function");
              })(this, t),
                (function (t, e, n) {
                  (e = gd(e)) in t
                    ? Object.defineProperty(t, e, {
                        value: n,
                        enumerable: !0,
                        configurable: !0,
                        writable: !0,
                      })
                    : (t[e] = n);
                })(this, "_store", []),
                (this._store = []);
            },
            [
              {
                key: "add",
                value: function (t) {
                  var e = this;
                  (this._store = this._store
                    .filter(
                      function (t) {
                        return md(this, e), t.target.config;
                      }.bind(this)
                    )
                    .filter(
                      function (n) {
                        return md(this, e), n.target !== t.target;
                      }.bind(this)
                    )),
                    t.target.__removedDataGetterChannel || this._store.push(t);
                },
              },
              {
                key: "remove",
                value: function (t) {
                  var e = this;
                  this._store = this._store.filter(
                    function (n) {
                      return md(this, e), n.target !== t;
                    }.bind(this)
                  );
                },
              },
              {
                key: "removeForever",
                value: function (t) {
                  this.remove(t), (t.__removedDataGetterChannel = !0);
                },
              },
              {
                key: "execute",
                value: function () {
                  var t = this;
                  (this._store = this._store.filter(
                    function (e) {
                      return (
                        md(this, t), e.target.dataGetter && e.target.config
                      );
                    }.bind(this)
                  )),
                    this._store.forEach(
                      function (e) {
                        md(this, t), e.callback.call(e.target);
                      }.bind(this)
                    );
                },
              },
            ]
          );
        })();
        function bd(t) {
          return (
            (bd =
              "function" == typeof Symbol && "symbol" == typeof Symbol.iterator
                ? function (t) {
                    return typeof t;
                  }
                : function (t) {
                    return t &&
                      "function" == typeof Symbol &&
                      t.constructor === Symbol &&
                      t !== Symbol.prototype
                      ? "symbol"
                      : typeof t;
                  }),
            bd(t)
          );
        }
        function Vd(t, e) {
          var n = Object.keys(t);
          if (Object.getOwnPropertySymbols) {
            var r = Object.getOwnPropertySymbols(t);
            e &&
              (r = r.filter(function (e) {
                return Object.getOwnPropertyDescriptor(t, e).enumerable;
              })),
              n.push.apply(n, r);
          }
          return n;
        }
        function _d(t) {
          for (var e = 1; e < arguments.length; e++) {
            var n = null != arguments[e] ? arguments[e] : {};
            e % 2
              ? Vd(Object(n), !0).forEach(function (e) {
                  wd(t, e, n[e]);
                })
              : Object.getOwnPropertyDescriptors
              ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(n))
              : Vd(Object(n)).forEach(function (e) {
                  Object.defineProperty(
                    t,
                    e,
                    Object.getOwnPropertyDescriptor(n, e)
                  );
                });
          }
          return t;
        }
        function wd(t, e, n) {
          return (
            (e = (function (t) {
              var e = (function (t, e) {
                if ("object" != bd(t) || !t) return t;
                var n = t[Symbol.toPrimitive];
                if (void 0 !== n) {
                  var r = n.call(t, e || "default");
                  if ("object" != bd(r)) return r;
                  throw new TypeError(
                    "@@toPrimitive must return a primitive value."
                  );
                }
                return ("string" === e ? String : Number)(t);
              })(t, "string");
              return "symbol" == bd(e) ? e : e + "";
            })(e)) in t
              ? Object.defineProperty(t, e, {
                  value: n,
                  enumerable: !0,
                  configurable: !0,
                  writable: !0,
                })
              : (t[e] = n),
            t
          );
        }
        function Sd(t, e) {
          if (t !== e)
            throw new TypeError("Cannot instantiate an arrow function");
        }
        function Ed(t) {
          return (
            (Ed =
              "function" == typeof Symbol && "symbol" == typeof Symbol.iterator
                ? function (t) {
                    return typeof t;
                  }
                : function (t) {
                    return t &&
                      "function" == typeof Symbol &&
                      t.constructor === Symbol &&
                      t !== Symbol.prototype
                      ? "symbol"
                      : typeof t;
                  }),
            Ed(t)
          );
        }
        function Ad(t, e) {
          if (t !== e)
            throw new TypeError("Cannot instantiate an arrow function");
        }
        function Td(t, e) {
          for (var n = 0; n < e.length; n++) {
            var r = e[n];
            (r.enumerable = r.enumerable || !1),
              (r.configurable = !0),
              "value" in r && (r.writable = !0),
              Object.defineProperty(t, Cd(r.key), r);
          }
        }
        function Od(t, e, n) {
          return (
            (e = Cd(e)) in t
              ? Object.defineProperty(t, e, {
                  value: n,
                  enumerable: !0,
                  configurable: !0,
                  writable: !0,
                })
              : (t[e] = n),
            t
          );
        }
        function Cd(t) {
          var e = (function (t, e) {
            if ("object" != Ed(t) || !t) return t;
            var n = t[Symbol.toPrimitive];
            if (void 0 !== n) {
              var r = n.call(t, e || "default");
              if ("object" != Ed(r)) return r;
              throw new TypeError(
                "@@toPrimitive must return a primitive value."
              );
            }
            return ("string" === e ? String : Number)(t);
          })(t, "string");
          return "symbol" == Ed(e) ? e : e + "";
        }
        var Pd = { includeHideColumn: !1 },
          xd = "fake",
          kd = (function () {
            function t(e) {
              var n = e.creator,
                r = e.pageId;
              !(function (t, e) {
                if (!(t instanceof e))
                  throw new TypeError("Cannot call a class as a function");
              })(this, t),
                Od(this, "id", void 0),
                Od(this, "pageId", void 0),
                Od(this, "creator", void 0),
                Od(this, "_store", void 0),
                Od(this, "channel", void 0),
                Od(this, "status", "disabled"),
                Od(this, "__fake", !1),
                Od(this, "__differ", void 0),
                (this.id = (function () {
                  function t() {
                    return ((65536 * (1 + Math.random())) | 0)
                      .toString(16)
                      .substring(1);
                  }
                  return ""
                    .concat(t(), "-")
                    .concat(t(), "-")
                    .concat(t(), "-")
                    .concat(t());
                })()),
                (this.creator = n),
                (this.channel = new yd()),
                (this.pageId = r),
                (this._store = {
                  data: {},
                  formattedData: {},
                  composedData: {},
                }),
                n instanceof At.Ay && this.enable({ creator: n }),
                this.intercept();
            }
            return (function (t, e, n) {
              return (
                e && Td(t.prototype, e),
                n && Td(t, n),
                Object.defineProperty(t, "prototype", { writable: !1 }),
                t
              );
            })(t, [
              {
                key: "enable",
                value: function (t) {
                  var e = t.creator;
                  (this.creator = e), (this.status = "enabled");
                },
              },
              {
                key: "disable",
                value: function () {
                  (this.creator = null), (this.status = "disabled");
                },
              },
              {
                key: "intercept",
                value: function () {
                  var t = this;
                  this._store = new Proxy(this._store, {
                    set: function (e, n, r, i) {
                      var o = Reflect.set(e, n, r, i);
                      return "data" === n && t.channel.execute(), o;
                    },
                  });
                },
              },
              {
                key: "fetch",
                value: function (t, e, n) {
                  var r,
                    i = this;
                  if ("disabled" === this.status)
                    return { next: function () {} };
                  var o = this.creator === t;
                  return (
                    o &&
                      hd(this.creator, e, n).then(
                        function (t) {
                          Ad(this, i),
                            this.__differ && this.__differ(this).compare(t)
                              ? (this.__differ = null)
                              : ((this.__differ = null), this.setData(t));
                        }.bind(this),
                        function (e) {
                          Ad(this, i),
                            r &&
                              r([
                                ""
                                  .concat(t.getBasicConfig().name, "-")
                                  .concat(t.id, ": "),
                                e,
                              ]);
                        }.bind(this)
                      ),
                    {
                      next: function (e, n) {
                        if (
                          (Ad(this, i),
                          (r = n),
                          this.channel.add({ target: t, callback: e }),
                          !o)
                        ) {
                          var a = this.creator.getDataConfig(),
                            s = this.getData();
                          ((null != s && s.columns) || !a.modelConfigs) &&
                            e.call(t);
                        }
                      }.bind(this),
                    }
                  );
                },
              },
              {
                key: "clone",
                value: function (e) {
                  return new t({ creator: e, pageId: (0, S.Vs)().id });
                },
              },
              {
                key: "addChannel",
                value: function (t) {
                  return this.channel && this.channel.add(t), this;
                },
              },
              {
                key: "removeChannel",
                value: function (t) {
                  return this.channel && this.channel.remove(t), this;
                },
              },
              {
                key: "removeChannelForever",
                value: function (t) {
                  return this.channel && this.channel.removeForever(t), this;
                },
              },
              {
                key: "setData",
                value: function () {
                  var t,
                    e,
                    n = this,
                    r =
                      arguments.length > 0 && void 0 !== arguments[0]
                        ? arguments[0]
                        : [],
                    i =
                      arguments.length > 1 &&
                      void 0 !== arguments[1] &&
                      arguments[1];
                  if (!this._store) return this;
                  var o =
                    null !== (t = i ? this._store.data : this.getData()) &&
                    void 0 !== t
                      ? t
                      : {};
                  return (
                    r.forEach(
                      function (t) {
                        var e;
                        Ad(this, n),
                          (0, _t.A)(
                            o,
                            null !== (e = t.modelType) && void 0 !== e
                              ? e
                              : Li.CONST_DEFAULT_MODEL_TYPE,
                            t.data
                          );
                      }.bind(this)
                    ),
                    (this._store.formattedData = {}),
                    (this._store.composedData = {}),
                    (this.__fake =
                      (null == r || null === (e = r[0]) || void 0 === e
                        ? void 0
                        : e.dataType) === xd),
                    i || (0, _t.A)(this._store, "data", o),
                    this
                  );
                },
              },
              {
                key: "getPosition",
                value: function (t) {
                  var e = (0, vl.getBindPosition)(
                    this.creator,
                    t.id,
                    this.getData().modelId
                  );
                  return (
                    null != e &&
                      e.warningRenders &&
                      t.setRunTimeData("warningRenders", e.warningRenders),
                    e
                  );
                },
              },
              {
                key: "getPositionData",
                value: function (t) {
                  var e,
                    n = this,
                    r = this.getData(),
                    i = this.getPosition(t),
                    o = {};
                  return this.__fake || !i
                    ? this.fakeData(t)
                    : (Object.keys(
                        null !== (e = null == i ? void 0 : i.bindPosition) &&
                          void 0 !== e
                          ? e
                          : {}
                      ).forEach(
                        function (t) {
                          Ad(this, n);
                          var e = i.bindPosition[t],
                            a = e.x,
                            s = e.y;
                          o[t] = (0, vl.getCellValue)(a, s, r);
                        }.bind(this)
                      ),
                      o);
                },
              },
              {
                key: "getPositionFormatData",
                value: function (t) {
                  var e,
                    n = this,
                    r = this.getPosition(t),
                    i = {},
                    o = this.getFormatData();
                  return this.__fake || !r
                    ? this.fakeData(t)
                    : (Object.keys(
                        null !== (e = null == r ? void 0 : r.bindPosition) &&
                          void 0 !== e
                          ? e
                          : {}
                      ).forEach(
                        function (t) {
                          Ad(this, n);
                          var e = r.bindPosition[t],
                            a = e.x,
                            s = e.y;
                          i[t] = (0, vl.getCellValue)(a, s, o);
                        }.bind(this)
                      ),
                      i);
                },
              },
              {
                key: "getPositionComposedData",
                value: function (t) {
                  var e,
                    n = this,
                    r = this.getPosition(t),
                    i = {},
                    o = this.getComposedData();
                  return this.__fake || !r
                    ? this.fakeComposeData(t)
                    : (Object.keys(
                        null !== (e = null == r ? void 0 : r.bindPosition) &&
                          void 0 !== e
                          ? e
                          : {}
                      ).forEach(
                        function (t) {
                          Ad(this, n);
                          var e = r.bindPosition[t],
                            a = e.x,
                            s = e.y;
                          i[t] = (0, vl.getCellValue)(a, s, o);
                        }.bind(this)
                      ),
                      i);
                },
              },
              {
                key: "getData",
                value: function () {
                  var t,
                    e =
                      arguments.length > 0 && void 0 !== arguments[0]
                        ? arguments[0]
                        : Li.CONST_DEFAULT_MODEL_TYPE,
                    n =
                      arguments.length > 1 && void 0 !== arguments[1]
                        ? arguments[1]
                        : Pd,
                    r = (0, Gf.A)(
                      null !== (t = (0, za.A)(this._store, ["data", e])) &&
                        void 0 !== t
                        ? t
                        : {}
                    );
                  return (
                    n.includeHideColumn ||
                      (r = (function (t) {
                        var e = this;
                        if (null == t || !t.columns || null == t || !t.data)
                          return t;
                        var n = t.columns.filter(
                            function (t) {
                              var n, r;
                              return (
                                Sd(this, e),
                                null ===
                                  (n =
                                    null === (r = t.columnConfig) ||
                                    void 0 === r
                                      ? void 0
                                      : r.isRender) ||
                                  void 0 === n ||
                                  n
                              );
                            }.bind(this)
                          ),
                          r = t.columns
                            .map(
                              function (t, n) {
                                var r, i;
                                return (
                                  Sd(this, e),
                                  null ===
                                    (r =
                                      null === (i = t.columnConfig) ||
                                      void 0 === i
                                        ? void 0
                                        : i.isRender) ||
                                  void 0 === r ||
                                  r
                                    ? n
                                    : null
                                );
                              }.bind(this)
                            )
                            .filter(pe.A.isNumber),
                          i = t.data.map(
                            function (t) {
                              var n = this;
                              return (
                                Sd(this, e),
                                t.filter(
                                  function (t, e) {
                                    return Sd(this, n), r.includes(e);
                                  }.bind(this)
                                )
                              );
                            }.bind(this)
                          );
                        return _d(_d({}, t), {}, { columns: n, data: i });
                      })(r)),
                    r
                  );
                },
              },
              {
                key: "getFormatData",
                value: function () {
                  var t =
                      arguments.length > 0 && void 0 !== arguments[0]
                        ? arguments[0]
                        : Li.CONST_DEFAULT_MODEL_TYPE,
                    e =
                      arguments.length > 1 && void 0 !== arguments[1]
                        ? arguments[1]
                        : Pd,
                    n = (0, za.A)(this._store, ["formattedData", t]);
                  if (!n || n.includeHideColumn !== e.includeHideColumn) {
                    var r = this.getData(t, e);
                    (n = Ql({
                      dataConfig: this.creator.getDataConfig(),
                      originData: r,
                      modelType: t,
                    })),
                      Hu(this.creator.getConfig(), n),
                      (n.type = r.type),
                      (n.includeHideColumn = e.includeHideColumn),
                      (0, _t.A)(this._store, ["formattedData", t], n);
                  }
                  return (0, Gf.A)(n);
                },
              },
              {
                key: "getComposedData",
                value: function () {
                  var t =
                      arguments.length > 0 && void 0 !== arguments[0]
                        ? arguments[0]
                        : Li.CONST_DEFAULT_MODEL_TYPE,
                    e =
                      arguments.length > 1 && void 0 !== arguments[1]
                        ? arguments[1]
                        : Pd,
                    n = (0, za.A)(this._store, ["composedData", t]);
                  if (!n || n.includeHideColumn !== e.includeHideColumn) {
                    var r = this.getData(t, e);
                    if (!r) return null;
                    (n = Ql({
                      dataConfig: this.creator.getDataConfig(),
                      originData: r,
                      modelType: t,
                      isIntegrate: !0,
                    })),
                      this.creator.execHooks("afterFormatter", { result: n }),
                      Hu(this.creator.getConfig(), n),
                      (n.type = r.type),
                      (n.includeHideColumn = e.includeHideColumn),
                      (0, _t.A)(this._store, ["composedData", t], n);
                  }
                  return (0, Gf.A)(n);
                },
              },
              {
                key: "fakeData",
                value: function () {
                  var t,
                    e,
                    n,
                    r,
                    i = this,
                    o =
                      arguments.length > 0 && void 0 !== arguments[0]
                        ? arguments[0]
                        : this.creator,
                    a =
                      null !==
                        (t =
                          null !==
                            (e =
                              null === (n = o.getValueMap) || void 0 === n
                                ? void 0
                                : n.call(o)) && void 0 !== e
                            ? e
                            : null === (r = o.fakeData) || void 0 === r
                            ? void 0
                            : r.call(o)) && void 0 !== t
                        ? t
                        : this.getData(),
                    s = {};
                  return (
                    Object.keys(a).forEach(
                      function (t) {
                        Ad(this, i);
                        var e = a[t];
                        s[t] = e;
                      }.bind(this)
                    ),
                    s
                  );
                },
              },
              {
                key: "fakeComposeData",
                value: function () {
                  var t,
                    e,
                    n,
                    r,
                    i = this,
                    o =
                      arguments.length > 0 && void 0 !== arguments[0]
                        ? arguments[0]
                        : this.creator,
                    a =
                      null !==
                        (t =
                          null !==
                            (e =
                              null === (n = o.getValueMap) || void 0 === n
                                ? void 0
                                : n.call(o)) && void 0 !== e
                            ? e
                            : null === (r = o.fakeData) || void 0 === r
                            ? void 0
                            : r.call(o)) && void 0 !== t
                        ? t
                        : this.getData(),
                    s = {};
                  return (
                    Object.keys(a).forEach(
                      function (t) {
                        Ad(this, i);
                        var e = a[t];
                        s[t] = {
                          fullValue: e,
                          value: e,
                          originValue: e,
                          pureFullValue: e,
                        };
                      }.bind(this)
                    ),
                    s
                  );
                },
              },
              {
                key: "destroy",
                value: function (t) {
                  (t && this.creator !== t) ||
                    ((this._store = null),
                    (this.creator = null),
                    (this.channel = null),
                    (function (t) {
                      var e = this;
                      ds = ds.filter(
                        function (n) {
                          return fs(this, e), n !== t;
                        }.bind(this)
                      );
                    })(this));
                },
              },
            ]);
          })();
        function Id(t) {
          return (
            (Id =
              "function" == typeof Symbol && "symbol" == typeof Symbol.iterator
                ? function (t) {
                    return typeof t;
                  }
                : function (t) {
                    return t &&
                      "function" == typeof Symbol &&
                      t.constructor === Symbol &&
                      t !== Symbol.prototype
                      ? "symbol"
                      : typeof t;
                  }),
            Id(t)
          );
        }
        function jd(t, e) {
          var n = Object.keys(t);
          if (Object.getOwnPropertySymbols) {
            var r = Object.getOwnPropertySymbols(t);
            e &&
              (r = r.filter(function (e) {
                return Object.getOwnPropertyDescriptor(t, e).enumerable;
              })),
              n.push.apply(n, r);
          }
          return n;
        }
        function Rd(t) {
          for (var e = 1; e < arguments.length; e++) {
            var n = null != arguments[e] ? arguments[e] : {};
            e % 2
              ? jd(Object(n), !0).forEach(function (e) {
                  Dd(t, e, n[e]);
                })
              : Object.getOwnPropertyDescriptors
              ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(n))
              : jd(Object(n)).forEach(function (e) {
                  Object.defineProperty(
                    t,
                    e,
                    Object.getOwnPropertyDescriptor(n, e)
                  );
                });
          }
          return t;
        }
        function Dd(t, e, n) {
          return (
            (e = (function (t) {
              var e = (function (t, e) {
                if ("object" != Id(t) || !t) return t;
                var n = t[Symbol.toPrimitive];
                if (void 0 !== n) {
                  var r = n.call(t, e || "default");
                  if ("object" != Id(r)) return r;
                  throw new TypeError(
                    "@@toPrimitive must return a primitive value."
                  );
                }
                return ("string" === e ? String : Number)(t);
              })(t, "string");
              return "symbol" == Id(e) ? e : e + "";
            })(e)) in t
              ? Object.defineProperty(t, e, {
                  value: n,
                  enumerable: !0,
                  configurable: !0,
                  writable: !0,
                })
              : (t[e] = n),
            t
          );
        }
        function Ld(t) {
          var e = t.creator;
          if ((0, vl.hasRelativeModelComponentId)(e)) {
            var n = (0, vl.getRelativeModelComponentId)(e.getDataConfig());
            e.id !== n && (e = { id: n, contextId: t.creator.contextId });
          }
          if (!e.id) return null;
          var r = (function (t, e) {
            var n,
              r = this;
            return (
              t instanceof At.Ay &&
                (n = ds.find(
                  function (e) {
                    return fs(this, r), e.creator === t;
                  }.bind(this)
                )),
              n ||
                ds.find(
                  function (n) {
                    var i, o;
                    return (
                      fs(this, r),
                      !("enabled" === n.status && t instanceof At.Ay) &&
                        n.pageId === (0, S.Vs)().id &&
                        (null === (i = n.creator) || void 0 === i
                          ? void 0
                          : i.id) === t.id &&
                        (null === (o = n.creator) || void 0 === o
                          ? void 0
                          : o.contextId) === e
                    );
                  }.bind(this)
                )
            );
          })(e, t.creator.contextId);
          return r
            ? ("disabled" === r.status &&
                e instanceof At.Ay &&
                r.enable({ creator: e }),
              r)
            : ((function (t) {
                var e = this;
                ds = [].concat(
                  ls(
                    ds.filter(
                      function (n) {
                        return fs(this, e), n.creator && t.pageId === n.pageId;
                      }.bind(this)
                    )
                  ),
                  [t]
                );
              })(
                (r = new kd(
                  Rd(Rd({}, t), {}, { creator: e, pageId: (0, S.Vs)().id })
                ))
              ),
              r);
        }
        K.get("common.i18n_101"),
          K.get("common.i18n_101"),
          K.get("common.i18n_102"),
          K.get("common.i18n_102"),
          K.get("common.i18n_103"),
          K.get("common.i18n_103"),
          K.get("common.i18n_104"),
          K.get("common.i18n_104"),
          K.get("common.i18n_105"),
          K.get("common.i18n_105"),
          K.get("common.i18n_106"),
          K.get("common.i18n_106"),
          K.get("common.i18n_107"),
          K.get("common.i18n_107"),
          K.get("common.i18n_108"),
          K.get("common.i18n_108"),
          K.get("common.i18n_109"),
          K.get("common.i18n_109"),
          K.get("common.i18n_110"),
          K.get("common.i18n_110"),
          K.get("common.i18n_111"),
          K.get("common.i18n_111");
        var Md = [["width"], ["height"], []],
          Nd = [
            [
              "width",
              "options.grid.left",
              "options.grid.right",
              "options.legend.left",
              "options.legend.itemGap",
              "options.legend.colGap",
              "options.legend.itemWidth",
              "options.toolbox.right",
              "options.visualMap[?].itemWidth",
              "drillDown.left",
              "barWidth",
              "options.dataZoom.left",
              "options.series[?].detail.offsetCenter[0]",
              "options.series[?].title.offsetCenter[0]",
            ],
            [
              "height",
              "options.grid.bottom",
              "options.grid.top",
              "options.legend.top",
              "options.legend.itemHeight",
              "options.legend.rowGap",
              "drillDown.top",
              "options.visualMap[?].itemHeight",
              "options.dataZoom.bottom",
              "options.series[?].detail.offsetCenter[1]",
              "options.series[?].title.offsetCenter[1]",
            ],
            [
              "textStyle.fontSize",
              "ringRadius",
              "ringWidth",
              "innerRingWidth",
              "outerRadius",
              "options.legend.padding",
              "options.textStyle.fontSize",
              "options.legend.textStyle.fontSize",
              "options.tooltip.borderRadius",
              "options.tooltip.padding",
              "options.tooltip.borderWidth",
              "options.tooltip.textStyle.fontSize",
              "options.toolbox.itemSize",
              "options.xAxis[?].axisLabel.fontSize",
              "options.xAxis[?].nameTextStyle.fontSize",
              "options.xAxis[?].axisTick.length",
              "options.yAxis[?].axisLabel.fontSize",
              "options.yAxis[?].nameTextStyle.fontSize",
              "options.series[?].itemStyle.barBorderRadius",
              "options.series[?].label.fontSize",
              "options.series[?].label.textStyle.fontSize",
              "options.series[?].labelLine.length",
              "options.series[?].markPoint.symbolSize",
              "options.series[?].markPoint.label.fontSize",
              "options.series[?].markPoint.emphasis.label.fontSize",
              "options.series[?].symbolSize",
              "options.series[?].markLine.symbolSize",
              "options.series[?].radius",
              "options.yAxis[?].axisTick.length",
              "hoverStyle.label.fontSize",
              "hoverStyle.emphasis.label.fontSize",
              "drillDown.textStyle.fontSize",
              "options.dataZoom.height",
              "options.visualMap[?].textStyle.fontSize",
              "options.radiusAxis.axisLabel.fontSize",
              "options.angleAxis.axisLabel.fontSize",
              "options.series[?].sectorHeight",
              "options.series[?].label.rich.b.fontSize",
              "options.series[?].label.rich.b.padding",
              "options.series[?].label.rich.c.fontSize",
              "options.series[?].label.rich.d.fontSize",
              "options.series[?].label.rich.d.padding",
              "options.series[?].data[?].label.rich.b.fontSize",
              "options.series[?].data[?].label.rich.b.padding",
              "options.series[?].data[?].label.rich.c.fontSize",
              "options.series[?].data[?].label.rich.d.fontSize",
              "options.series[?].data[?].label.rich.d.padding",
              "options.radar[?].axisName.fontSize",
              "options.radar[?].nameGap",
              "options.series[?].axisLine.lineStyle.width",
              "options.series[?].progress.width",
              "options.series[?].axisTick.axisTickLen",
              "options.series[?].splitLine.splitLen",
              "options.series[?].splitLine.distance",
              "options.series[?].axisTick.distance",
              "options.series[?].title.textStyle.fontSize",
              "options.series[?].detail.textStyle.fontSize",
              "options.series[?].axisLabel.fontSize",
              "options.series[?].anchor.size",
            ],
          ];
        n(57259);
        var $d = {
          borderLight: function (t, e, n) {
            var r = this,
              i = n.color,
              o = n.effectSpeed,
              a = Q()("<style></style>");
            return (
              a.text(
                "\n        @keyframes "
                  .concat(
                    t,
                    " {\n            0% {\n                box-shadow: 0 0 50px transparent;\n            }\n            50% {\n                box-shadow: 0 0 50px "
                  )
                  .concat(
                    i,
                    ";\n            }\n            100% {\n                box-shadow: 0 0 50px transparent;\n            }\n        }\n    "
                  )
              ),
              e.append(a),
              e.css({
                animation: "".concat(t, "  ").concat(10 / o, "s infinite"),
              }),
              {
                clear: function () {
                  var t;
                  !(function (t, e) {
                    if (t !== e)
                      throw new TypeError(
                        "Cannot instantiate an arrow function"
                      );
                  })(this, r),
                    null === (t = a.remove) || void 0 === t || t.call(a);
                }.bind(this),
              }
            );
          },
          flowingLight: function (t, e, n) {
            var r = this,
              i = n.color,
              o = n.effectSpeed,
              a = e.width(),
              s = e.height(),
              c = Q()(
                "<canvas id="
                  .concat(t, " width='")
                  .concat(a, "' height='")
                  .concat(s, "'></canvas>")
              );
            c.css({ position: "relative", top: -s, left: 0 }), e.append(c);
            var l = null,
              u = c[0].getContext("2d"),
              f = a - 10,
              d = s - 10,
              h = 0,
              p = [];
            return (
              (function t() {
                u.clearRect(0, 0, a, s),
                  (h += o) >= 2 * f + 2 * d && (h -= 2 * f + 2 * d);
                var e,
                  n,
                  r = h % (2 * f + 2 * d);
                r < f
                  ? ((e = 5 + r), (n = 5))
                  : r < f + d
                  ? ((e = 5 + f), (n = r - f + 5))
                  : r < 2 * f + d
                  ? ((e = 5 + f - (r - f - d)), (n = 5 + d))
                  : ((e = 5), (n = 5 + d - (r - 2 * f - d))),
                  p.push({ x: e, y: n, color: i }),
                  p.length > 40 && p.shift(),
                  (u.lineWidth = 5);
                for (var c = 1; c < p.length; c++)
                  u.beginPath(),
                    u.moveTo(p[c - 1].x, p[c - 1].y),
                    u.lineTo(p[c].x, p[c].y),
                    (u.strokeStyle = (0, Yc.modifyAlpha)(
                      i,
                      1 - Math.abs(c / p.length - 1)
                    )),
                    u.stroke();
                u.beginPath(),
                  u.arc(e, n, 3.5, 0, 2 * Math.PI),
                  (u.fillStyle = p[p.length - 1].color),
                  u.fill(),
                  (l = requestAnimationFrame(t));
              })(),
              {
                clear: function () {
                  var t;
                  !(function (t, e) {
                    if (t !== e)
                      throw new TypeError(
                        "Cannot instantiate an arrow function"
                      );
                  })(this, r),
                    cancelAnimationFrame(l),
                    null === (t = c.remove) || void 0 === t || t.call(c);
                }.bind(this),
              }
            );
          },
          scale: function (t, e, n) {
            var r = this,
              i = n.effectSpeed,
              o = n.scaleRange,
              a = Q()("<style></style>"),
              s = o / 10;
            return (
              a.text(
                "\n        @keyframes "
                  .concat(
                    t,
                    " {\n            0% {\n                transform: scale("
                  )
                  .concat(
                    1 + s,
                    ");\n            }\n            50% {\n                transform: scale("
                  )
                  .concat(
                    1 - s,
                    ");\n            }\n            100% {\n                transform: scale("
                  )
                  .concat(1 + s, ");\n            }\n        }\n    ")
              ),
              e.append(a),
              e.css({
                animation: "".concat(t, " ").concat(10 / i, "s infinite"),
              }),
              {
                clear: function () {
                  var t;
                  !(function (t, e) {
                    if (t !== e)
                      throw new TypeError(
                        "Cannot instantiate an arrow function"
                      );
                  })(this, r),
                    null === (t = a.remove) || void 0 === t || t.call(a);
                }.bind(this),
              }
            );
          },
        };
        function Bd(t, e) {
          var n = this,
            r = e.effectType,
            i = e.executionTime,
            o = "".concat(t.id, "_").concat(r),
            a = t.getRunTimeData("lastRenderStyleClearHandler");
          a && (null == a || a());
          var s = $d[r](o, t.$parent, e).clear;
          t.setRunTimeData("lastRenderStyleClearHandler", s);
          var c = setTimeout(s, 1e3 * i);
          t.addHook(
            "beforeDestroy",
            function () {
              !(function (t, e) {
                if (t !== e)
                  throw new TypeError("Cannot instantiate an arrow function");
              })(this, n),
                null == s || s(),
                clearTimeout(c);
            }.bind(this)
          );
        }
        function Ud(t) {
          return (
            (Ud =
              "function" == typeof Symbol && "symbol" == typeof Symbol.iterator
                ? function (t) {
                    return typeof t;
                  }
                : function (t) {
                    return t &&
                      "function" == typeof Symbol &&
                      t.constructor === Symbol &&
                      t !== Symbol.prototype
                      ? "symbol"
                      : typeof t;
                  }),
            Ud(t)
          );
        }
        function Fd(t, e) {
          if (t !== e)
            throw new TypeError("Cannot instantiate an arrow function");
        }
        function Hd(t, e) {
          for (var n = 0; n < e.length; n++) {
            var r = e[n];
            (r.enumerable = r.enumerable || !1),
              (r.configurable = !0),
              "value" in r && (r.writable = !0),
              Object.defineProperty(t, Zd(r.key), r);
          }
        }
        function Gd(t, e, n) {
          return (
            (e = Xd(e)),
            (function (t, e) {
              if (e && ("object" == Ud(e) || "function" == typeof e)) return e;
              if (void 0 !== e)
                throw new TypeError(
                  "Derived constructors may only return object or undefined"
                );
              return (function (t) {
                if (void 0 === t)
                  throw new ReferenceError(
                    "this hasn't been initialised - super() hasn't been called"
                  );
                return t;
              })(t);
            })(
              t,
              Wd()
                ? Reflect.construct(e, n || [], Xd(t).constructor)
                : e.apply(t, n)
            )
          );
        }
        function Wd() {
          try {
            var t = !Boolean.prototype.valueOf.call(
              Reflect.construct(Boolean, [], function () {})
            );
          } catch (t) {}
          return (Wd = function () {
            return !!t;
          })();
        }
        function zd(t, e, n, r) {
          var i = qd(Xd(1 & r ? t.prototype : t), e, n);
          return 2 & r && "function" == typeof i
            ? function (t) {
                return i.apply(n, t);
              }
            : i;
        }
        function qd() {
          return (
            (qd =
              "undefined" != typeof Reflect && Reflect.get
                ? Reflect.get.bind()
                : function (t, e, n) {
                    var r = (function (t, e) {
                      for (
                        ;
                        !{}.hasOwnProperty.call(t, e) && null !== (t = Xd(t));

                      );
                      return t;
                    })(t, e);
                    if (r) {
                      var i = Object.getOwnPropertyDescriptor(r, e);
                      return i.get
                        ? i.get.call(arguments.length < 3 ? t : n)
                        : i.value;
                    }
                  }),
            qd.apply(null, arguments)
          );
        }
        function Xd(t) {
          return (
            (Xd = Object.setPrototypeOf
              ? Object.getPrototypeOf.bind()
              : function (t) {
                  return t.__proto__ || Object.getPrototypeOf(t);
                }),
            Xd(t)
          );
        }
        function Yd(t, e) {
          return (
            (Yd = Object.setPrototypeOf
              ? Object.setPrototypeOf.bind()
              : function (t, e) {
                  return (t.__proto__ = e), t;
                }),
            Yd(t, e)
          );
        }
        function Kd(t, e, n) {
          return (
            (e = Zd(e)) in t
              ? Object.defineProperty(t, e, {
                  value: n,
                  enumerable: !0,
                  configurable: !0,
                  writable: !0,
                })
              : (t[e] = n),
            t
          );
        }
        function Zd(t) {
          var e = (function (t, e) {
            if ("object" != Ud(t) || !t) return t;
            var n = t[Symbol.toPrimitive];
            if (void 0 !== n) {
              var r = n.call(t, e || "default");
              if ("object" != Ud(r)) return r;
              throw new TypeError(
                "@@toPrimitive must return a primitive value."
              );
            }
            return ("string" === e ? String : Number)(t);
          })(t, "string");
          return "symbol" == Ud(e) ? e : e + "";
        }
        function Jd(t, e, n, r, i) {
          var o = {};
          return (
            Object.keys(r).forEach(function (t) {
              o[t] = r[t];
            }),
            (o.enumerable = !!o.enumerable),
            (o.configurable = !!o.configurable),
            ("value" in o || o.initializer) && (o.writable = !0),
            (o = n
              .slice()
              .reverse()
              .reduce(function (n, r) {
                return r(t, e, n) || n;
              }, o)),
            i &&
              void 0 !== o.initializer &&
              ((o.value = o.initializer ? o.initializer.call(i) : void 0),
              (o.initializer = void 0)),
            void 0 === o.initializer
              ? (Object.defineProperty(t, e, o), null)
              : o
          );
        }
        function Qd(t) {
          var e, n, r, i, o, a, s, c, l, u, f, d, p, m;
          return (
            (e = de.Ay.registHook("beforeDispatchEvent")),
            (n = de.Ay.registHook("afterDispatchEvent", !1)),
            (r = de.Ay.registHook("beforeReceiveEvent")),
            (i = de.Ay.registHook("afterReceiveEvent", !1)),
            (o = de.Ay.registHook("beforeUpdateShowOrHide")),
            (a = de.Ay.registHook("afterUpdateShowOrHide", !1)),
            (s = de.Ay.registHook("beforeShow")),
            (c = de.Ay.registHook("afterShow", !1)),
            (l = de.Ay.registHook("beforeHide")),
            (u = de.Ay.registHook("afterHide", !1)),
            (f = de.Ay.registHook("beforeUpdateDisplay")),
            (d = de.Ay.registHook("afterUpdateDisplay", !1)),
            (p = de.Ay.registHook("beforeResize")),
            (m = (function (t) {
              function e(t, n) {
                var r, i;
                !(function (t, e) {
                  if (!(t instanceof e))
                    throw new TypeError("Cannot call a class as a function");
                })(this, e),
                  Kd((i = Gd(this, e, [t, n])), "origin", void 0),
                  Kd(i, "__config", {}),
                  i.initConfig(n),
                  (i.version = n.version),
                  (i.jsPathPrefix = n.jsPathPrefix),
                  (i.children = n.children),
                  (i.origin = n.origin),
                  (i.contextId = n.contextId),
                  (i.parentId = n.parentId),
                  (i.$parent = t),
                  (i.$element = n.$element),
                  Kn(i),
                  i.addOnceHook("beforeInit", function () {
                    this.dispatchEvent("onInit", this);
                  }),
                  i.addOnceHook("afterMount", function () {
                    tu(this);
                  }),
                  i.addOnceHook("afterRender", function () {
                    (this._status = "rendered"),
                      this.dispatchEvent("onRendered", this);
                  }),
                  i.addHook("beforeRequest", function () {
                    this.dispatchEvent("onRequestStart", this);
                  }),
                  i.addHook("afterRequest", function () {
                    this.dispatchEvent("onRequestEnd", this);
                  }),
                  i.setDataGetter(Ld({ creator: i })),
                  Z.install(
                    i,
                    null === (r = i.manifest) || void 0 === r
                      ? void 0
                      : r.plugins
                  );
                var o = i.getBasicConfig(),
                  a = o.display,
                  s = o.disable;
                return (
                  i.setRunTimeData("display", a),
                  i.setRunTimeData("disable", s),
                  i
                );
              }
              return (
                (function (t, e) {
                  if ("function" != typeof e && null !== e)
                    throw new TypeError(
                      "Super expression must either be null or a function"
                    );
                  (t.prototype = Object.create(e && e.prototype, {
                    constructor: { value: t, writable: !0, configurable: !0 },
                  })),
                    Object.defineProperty(t, "prototype", { writable: !1 }),
                    e && Yd(t, e);
                })(e, t),
                (function (t, e, n) {
                  return (
                    e && Hd(t.prototype, e),
                    n && Hd(t, n),
                    Object.defineProperty(t, "prototype", { writable: !1 }),
                    t
                  );
                })(e, [
                  {
                    key: "init",
                    value: async function () {
                      await zd(e, "init", this, 3)([]),
                        this.$parent.addClass("component-".concat(this.type));
                    },
                  },
                  {
                    key: "mount",
                    value: function (t) {
                      return zd(e, "mount", this, 3)([t]);
                    },
                  },
                  {
                    key: "registEvent",
                    value: function () {
                      var t;
                      null === (t = zd(e, "registEvent", this, 3)) ||
                        void 0 === t ||
                        t([]);
                    },
                  },
                  {
                    key: "dispatchDomEvent",
                    value: function (t) {
                      this.$element.trigger(t);
                    },
                  },
                  {
                    key: "buildDefaultConfig",
                    value: function () {
                      return (
                        this.setRunTimeData("status.firstCreated", !0),
                        {
                          basicConfig: {
                            width: 400,
                            height: 210,
                            top: 0,
                            left: 0,
                            disable: !1,
                            display: !0,
                            visibility: !0,
                            isLock: !1,
                            ratioLock: !1,
                            ratio: 1,
                          },
                        }
                      );
                    },
                  },
                  {
                    key: "dispatchEvent",
                    value: function (t, e) {
                      return Mu.call(this, t, e);
                    },
                  },
                  {
                    key: "receiveEvent",
                    value: function (t, e) {
                      return Nu.call(this, t, e);
                    },
                  },
                  {
                    key: "triggerEvent",
                    value: function (t, e) {
                      var n = e.action,
                        r = e.target;
                      r && Mu.call(r, n.triggerEventType, e);
                    },
                  },
                  {
                    key: "updateShowOrHide",
                    value: function (t) {
                      var e,
                        n = this.getRunTimeData("display");
                      void 0 === n &&
                        (n =
                          null === (e = this.getBasicConfig()) || void 0 === e
                            ? void 0
                            : e.display);
                      this.updateDisplay(!n),
                        n ? this.toOrigin() : this.toFront(t);
                    },
                  },
                  {
                    key: "show",
                    value: function (t, e) {
                      this.updateDisplay(!0), this.toFront(t);
                    },
                  },
                  {
                    key: "hide",
                    value: function (t, e) {
                      this.updateDisplay(!1), this.toOrigin();
                    },
                  },
                  {
                    key: "toFront",
                    value: function (t) {
                      t &&
                        void 0 !== t.toFront &&
                        !1 !== t.toFront &&
                        !0 === t.toFront &&
                        ys.toFront(this.$parent);
                    },
                  },
                  {
                    key: "toOrigin",
                    value: function () {
                      ys.toOrigin(this.$parent);
                    },
                  },
                  {
                    key: "updateDisplay",
                    value: function (t) {
                      this.setRunTimeData("display", t), this.setDisplay(t);
                    },
                  },
                  {
                    key: "destroy",
                    value: function () {
                      var t, n;
                      (zd(e, "destroy", this, 3)([]),
                      (this.config = null),
                      this.$parent.remove(),
                      (this.$parent = null),
                      this.$wrapper) &&
                        (null === (t = (n = this.$wrapper).remove) ||
                          void 0 === t ||
                          t.call(n),
                        (this.$wrapper = null));
                    },
                  },
                  {
                    key: "toJSON",
                    value: function () {
                      var t = this;
                      return {
                        id: this.id,
                        type: this.type,
                        version: this.version,
                        config: h()(this.config),
                        jsPathPrefix: this.jsPathPrefix,
                        children: (this.children || []).map(
                          function (e) {
                            return Fd(this, t), e.toJSON ? e.toJSON() : e;
                          }.bind(this)
                        ),
                      };
                    },
                  },
                  {
                    key: "getBaseUrl",
                    value: function () {
                      return "/uxrunner/static/components/"
                        .concat(this.type, "/")
                        .concat(this.version);
                    },
                  },
                  {
                    key: "parseComponentParams",
                    value: function (t) {
                      var e = this;
                      return new Promise(
                        function (n) {
                          var r = this;
                          Fd(this, e),
                            this.task(
                              function () {
                                Fd(this, r), n(pe.A.get(this, t));
                              }.bind(this),
                              At.$v
                            );
                        }.bind(this)
                      );
                    },
                  },
                  {
                    key: "parseEventParams",
                    value: function (t, e, n, r) {
                      return Promise.resolve(pe.A.get(e, t));
                    },
                  },
                  {
                    key: "updateModelData",
                    value: function (t, e) {
                      var n,
                        r,
                        i,
                        o,
                        a = this;
                      this.setRunTimeData("historyEventFilterParams", {});
                      var s = this.getDataConfig().modelConfigs;
                      if (s) {
                        var c =
                            null === (n = e.action.paramConfigs) ||
                            void 0 === n ||
                            null === (r = n.find) ||
                            void 0 === r ||
                            null ===
                              (r = r.call(
                                n,
                                function (t) {
                                  return (
                                    Fd(this, a),
                                    "condition" ===
                                      (null == t ? void 0 : t.name)
                                  );
                                }.bind(this)
                              )) ||
                            void 0 === r ||
                            null === (r = r.value) ||
                            void 0 === r
                              ? void 0
                              : r.modelId,
                          l = t.condition;
                        (null != s &&
                          null !== (i = s._default_) &&
                          void 0 !== i &&
                          null !== (o = i.find) &&
                          void 0 !== o &&
                          o.call(
                            i,
                            function (t) {
                              var e;
                              return (
                                Fd(this, a),
                                (null == t ||
                                null === (e = t.dataSet) ||
                                void 0 === e
                                  ? void 0
                                  : e.datasetId) === c
                              );
                            }.bind(this)
                          )) ||
                          (l = {});
                        var u = (0, vl.getEffectModelId)(
                            null == s ? void 0 : s._default_
                          ),
                          f = (0, vl.getEffectModelConfigIndexByModelId)(
                            null == s ? void 0 : s._default_,
                            u
                          ),
                          d = pe.A.get(
                            this.getDataConfig(),
                            "modelConfigs._default_[".concat(
                              f,
                              "].customParameters"
                            ),
                            []
                          );
                        if (d.length > 0) {
                          var h = !1,
                            p = Object.keys(t).filter(
                              function (t) {
                                return (
                                  Fd(this, a),
                                  ![
                                    "condition",
                                    "filterType",
                                    "preserveCondition",
                                  ].includes(t)
                                );
                              }.bind(this)
                            );
                          (d = d.map(
                            function (e) {
                              var n = this;
                              Fd(this, a);
                              var r = p.find(
                                function (t) {
                                  return Fd(this, n), t === e.varName;
                                }.bind(this)
                              );
                              return (
                                r && ((e.defaultValue = t[r]), (h = !0)), e
                              );
                            }.bind(this)
                          )),
                            h &&
                              this.updateDataConfig(
                                "modelConfigs._default_[".concat(
                                  f,
                                  "].customParameters"
                                ),
                                d
                              );
                        }
                        (0, Iu.JA)(this),
                          this.fetch([], {
                            condition: l,
                            isSave: t.preserveCondition,
                            filterType: t.filterType,
                          });
                      }
                    },
                  },
                  {
                    key: "bindDynamicModel",
                    value: function (t, e) {
                      this.setRunTimeData("historyEventFilterParams", {}),
                        t.modelId && this.fetch([{ modelId: t.modelId }]);
                    },
                  },
                  {
                    key: "getScaleConfigs",
                    value: function () {
                      return pe.A.cloneDeep(Md);
                    },
                  },
                  { key: "resize", value: function () {} },
                  {
                    key: "enable",
                    value: function (t, e) {
                      this.setRunTimeData("disable", !1), tu(this);
                    },
                  },
                  {
                    key: "disable",
                    value: function (t, e) {
                      this.setRunTimeData("disable", !0), tu(this);
                    },
                  },
                  {
                    key: "renderStyle",
                    value: function (t, e) {
                      Bd(this, t);
                    },
                  },
                  {
                    key: "reset",
                    value: function () {
                      var t;
                      null === (t = zd(e, "reset", this, 3)) ||
                        void 0 === t ||
                        t([]),
                        this.execHooks("cleanWarningRenderProcessorQueue"),
                        (this.dataGetter = Ld({ creator: this }));
                    },
                  },
                ])
              );
            })(t)),
            Jd(
              m.prototype,
              "dispatchEvent",
              [e, n],
              Object.getOwnPropertyDescriptor(m.prototype, "dispatchEvent"),
              m.prototype
            ),
            Jd(
              m.prototype,
              "receiveEvent",
              [r, i],
              Object.getOwnPropertyDescriptor(m.prototype, "receiveEvent"),
              m.prototype
            ),
            Jd(
              m.prototype,
              "updateShowOrHide",
              [o, a],
              Object.getOwnPropertyDescriptor(m.prototype, "updateShowOrHide"),
              m.prototype
            ),
            Jd(
              m.prototype,
              "show",
              [s, c],
              Object.getOwnPropertyDescriptor(m.prototype, "show"),
              m.prototype
            ),
            Jd(
              m.prototype,
              "hide",
              [l, u],
              Object.getOwnPropertyDescriptor(m.prototype, "hide"),
              m.prototype
            ),
            Jd(
              m.prototype,
              "updateDisplay",
              [f, d],
              Object.getOwnPropertyDescriptor(m.prototype, "updateDisplay"),
              m.prototype
            ),
            Jd(
              m.prototype,
              "resize",
              [p],
              Object.getOwnPropertyDescriptor(m.prototype, "resize"),
              m.prototype
            ),
            m
          );
        }
        function th(t) {
          return (
            (th =
              "function" == typeof Symbol && "symbol" == typeof Symbol.iterator
                ? function (t) {
                    return typeof t;
                  }
                : function (t) {
                    return t &&
                      "function" == typeof Symbol &&
                      t.constructor === Symbol &&
                      t !== Symbol.prototype
                      ? "symbol"
                      : typeof t;
                  }),
            th(t)
          );
        }
        function eh(t, e) {
          if (t !== e)
            throw new TypeError("Cannot instantiate an arrow function");
        }
        function nh(t, e) {
          for (var n = 0; n < e.length; n++) {
            var r = e[n];
            (r.enumerable = r.enumerable || !1),
              (r.configurable = !0),
              "value" in r && (r.writable = !0),
              Object.defineProperty(t, rh(r.key), r);
          }
        }
        function rh(t) {
          var e = (function (t, e) {
            if ("object" != th(t) || !t) return t;
            var n = t[Symbol.toPrimitive];
            if (void 0 !== n) {
              var r = n.call(t, e || "default");
              if ("object" != th(r)) return r;
              throw new TypeError(
                "@@toPrimitive must return a primitive value."
              );
            }
            return ("string" === e ? String : Number)(t);
          })(t, "string");
          return "symbol" == th(e) ? e : e + "";
        }
        function ih(t, e, n) {
          return (
            (e = sh(e)),
            (function (t, e) {
              if (e && ("object" == th(e) || "function" == typeof e)) return e;
              if (void 0 !== e)
                throw new TypeError(
                  "Derived constructors may only return object or undefined"
                );
              return (function (t) {
                if (void 0 === t)
                  throw new ReferenceError(
                    "this hasn't been initialised - super() hasn't been called"
                  );
                return t;
              })(t);
            })(
              t,
              oh()
                ? Reflect.construct(e, n || [], sh(t).constructor)
                : e.apply(t, n)
            )
          );
        }
        function oh() {
          try {
            var t = !Boolean.prototype.valueOf.call(
              Reflect.construct(Boolean, [], function () {})
            );
          } catch (t) {}
          return (oh = function () {
            return !!t;
          })();
        }
        function ah() {
          return (
            (ah =
              "undefined" != typeof Reflect && Reflect.get
                ? Reflect.get.bind()
                : function (t, e, n) {
                    var r = (function (t, e) {
                      for (
                        ;
                        !{}.hasOwnProperty.call(t, e) && null !== (t = sh(t));

                      );
                      return t;
                    })(t, e);
                    if (r) {
                      var i = Object.getOwnPropertyDescriptor(r, e);
                      return i.get
                        ? i.get.call(arguments.length < 3 ? t : n)
                        : i.value;
                    }
                  }),
            ah.apply(null, arguments)
          );
        }
        function sh(t) {
          return (
            (sh = Object.setPrototypeOf
              ? Object.getPrototypeOf.bind()
              : function (t) {
                  return t.__proto__ || Object.getPrototypeOf(t);
                }),
            sh(t)
          );
        }
        function ch(t, e) {
          return (
            (ch = Object.setPrototypeOf
              ? Object.setPrototypeOf.bind()
              : function (t, e) {
                  return (t.__proto__ = e), t;
                }),
            ch(t, e)
          );
        }
        Qd(At.Ay);
        function lh(t, e) {
          if (t !== e)
            throw new TypeError("Cannot instantiate an arrow function");
        }
        function uh(t, e) {
          if (t !== e)
            throw new TypeError("Cannot instantiate an arrow function");
        }
        const fh = {
          click: "onClick",
          dblclick: "onDbClick",
          mouseover: "onMouseIn",
          mouseenter: "onMouseIn",
          mouseout: "onMouseOut",
        };
        function dh(t, e, n) {
          var r = this;
          ["click", "dblclick"].includes(t)
            ? "click" === t
              ? (clearTimeout(n.id),
                (n.id = setTimeout(
                  function () {
                    !(function (t, e) {
                      if (t !== e)
                        throw new TypeError(
                          "Cannot instantiate an arrow function"
                        );
                    })(this, r),
                      e();
                  }.bind(this),
                  300
                )))
              : (clearTimeout(n.id), e())
            : e();
        }
        function hh(t, e) {
          return (
            (function (t) {
              if (Array.isArray(t)) return t;
            })(t) ||
            (function (t, e) {
              var n =
                null == t
                  ? null
                  : ("undefined" != typeof Symbol && t[Symbol.iterator]) ||
                    t["@@iterator"];
              if (null != n) {
                var r,
                  i,
                  o,
                  a,
                  s = [],
                  c = !0,
                  l = !1;
                try {
                  if (((o = (n = n.call(t)).next), 0 === e)) {
                    if (Object(n) !== n) return;
                    c = !1;
                  } else
                    for (
                      ;
                      !(c = (r = o.call(n)).done) &&
                      (s.push(r.value), s.length !== e);
                      c = !0
                    );
                } catch (t) {
                  (l = !0), (i = t);
                } finally {
                  try {
                    if (
                      !c &&
                      null != n.return &&
                      ((a = n.return()), Object(a) !== a)
                    )
                      return;
                  } finally {
                    if (l) throw i;
                  }
                }
                return s;
              }
            })(t, e) ||
            (function (t, e) {
              if (t) {
                if ("string" == typeof t) return ph(t, e);
                var n = {}.toString.call(t).slice(8, -1);
                return (
                  "Object" === n && t.constructor && (n = t.constructor.name),
                  "Map" === n || "Set" === n
                    ? Array.from(t)
                    : "Arguments" === n ||
                      /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)
                    ? ph(t, e)
                    : void 0
                );
              }
            })(t, e) ||
            (function () {
              throw new TypeError(
                "Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."
              );
            })()
          );
        }
        function ph(t, e) {
          (null == e || e > t.length) && (e = t.length);
          for (var n = 0, r = Array(e); n < e; n++) r[n] = t[n];
          return r;
        }
        function mh(t, e) {
          if (t !== e)
            throw new TypeError("Cannot instantiate an arrow function");
        }
        const vh = function (t) {
          var e = this;
          mh(this, undefined);
          var n = t.uxInstance,
            r = t.callback,
            i = t.renderData,
            o = (0, X.useRef)(),
            a = (0, Ot.ez)(
              pe.A.get(n, "config.basicConfig.height", 0)
            ).fullValue,
            s = (0, Ot.ez)(
              pe.A.get(n, "config.basicConfig.width", 0)
            ).fullValue,
            c = hh((0, X.useState)({ width: s, height: a }), 2),
            l = c[0],
            u = c[1];
          (0, X.useEffect)(
            function () {
              mh(this, e),
                (n.$element = Q()(o.current)),
                (n._chartInstance = n.getLib("echarts").init(n.$element[0])),
                null == r || r();
            }.bind(this),
            []
          ),
            (0, X.useEffect)(
              function () {
                var t;
                (mh(this, e), i) &&
                  ((i.options.backgroundColor = i.background.color),
                  null == n ||
                    null === (t = n._chartInstance) ||
                    void 0 === t ||
                    t.setOption(i.options, !0),
                  (l.width === s && l.height === a) ||
                    u({ width: s, height: a }));
              }.bind(this),
              [i]
            ),
            (0, X.useEffect)(
              function () {
                var t;
                (mh(this, e), i) &&
                  (null == n ||
                    null === (t = n._chartInstance) ||
                    void 0 === t ||
                    t.resize());
              }.bind(this),
              [l]
            );
          var f = {
            height: a,
            width: s,
            borderStyle: "solid",
            borderWidth: (0, Ot.ez)(
              pe.A.get(n, "config.basicConfig.border.width", 0)
            ).fullValue,
            borderColor: pe.A.get(
              n,
              "config.basicConfig.border.color",
              "transparent"
            ),
            boxSizing: "border-box",
          };
          return X.createElement("div", { id: n.id, ref: o, style: f });
        }.bind(void 0);
        function gh(t) {
          return (
            (gh =
              "function" == typeof Symbol && "symbol" == typeof Symbol.iterator
                ? function (t) {
                    return typeof t;
                  }
                : function (t) {
                    return t &&
                      "function" == typeof Symbol &&
                      t.constructor === Symbol &&
                      t !== Symbol.prototype
                      ? "symbol"
                      : typeof t;
                  }),
            gh(t)
          );
        }
        function yh(t, e) {
          var n = Object.keys(t);
          if (Object.getOwnPropertySymbols) {
            var r = Object.getOwnPropertySymbols(t);
            e &&
              (r = r.filter(function (e) {
                return Object.getOwnPropertyDescriptor(t, e).enumerable;
              })),
              n.push.apply(n, r);
          }
          return n;
        }
        function bh(t) {
          for (var e = 1; e < arguments.length; e++) {
            var n = null != arguments[e] ? arguments[e] : {};
            e % 2
              ? yh(Object(n), !0).forEach(function (e) {
                  Ch(t, e, n[e]);
                })
              : Object.getOwnPropertyDescriptors
              ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(n))
              : yh(Object(n)).forEach(function (e) {
                  Object.defineProperty(
                    t,
                    e,
                    Object.getOwnPropertyDescriptor(n, e)
                  );
                });
          }
          return t;
        }
        function Vh(t, e) {
          if (t !== e)
            throw new TypeError("Cannot instantiate an arrow function");
        }
        function _h(t, e) {
          for (var n = 0; n < e.length; n++) {
            var r = e[n];
            (r.enumerable = r.enumerable || !1),
              (r.configurable = !0),
              "value" in r && (r.writable = !0),
              Object.defineProperty(t, Ph(r.key), r);
          }
        }
        function wh(t, e, n) {
          return (
            (e = Th(e)),
            (function (t, e) {
              if (e && ("object" == gh(e) || "function" == typeof e)) return e;
              if (void 0 !== e)
                throw new TypeError(
                  "Derived constructors may only return object or undefined"
                );
              return (function (t) {
                if (void 0 === t)
                  throw new ReferenceError(
                    "this hasn't been initialised - super() hasn't been called"
                  );
                return t;
              })(t);
            })(
              t,
              Sh()
                ? Reflect.construct(e, n || [], Th(t).constructor)
                : e.apply(t, n)
            )
          );
        }
        function Sh() {
          try {
            var t = !Boolean.prototype.valueOf.call(
              Reflect.construct(Boolean, [], function () {})
            );
          } catch (t) {}
          return (Sh = function () {
            return !!t;
          })();
        }
        function Eh(t, e, n, r) {
          var i = Ah(Th(1 & r ? t.prototype : t), e, n);
          return 2 & r && "function" == typeof i
            ? function (t) {
                return i.apply(n, t);
              }
            : i;
        }
        function Ah() {
          return (
            (Ah =
              "undefined" != typeof Reflect && Reflect.get
                ? Reflect.get.bind()
                : function (t, e, n) {
                    var r = (function (t, e) {
                      for (
                        ;
                        !{}.hasOwnProperty.call(t, e) && null !== (t = Th(t));

                      );
                      return t;
                    })(t, e);
                    if (r) {
                      var i = Object.getOwnPropertyDescriptor(r, e);
                      return i.get
                        ? i.get.call(arguments.length < 3 ? t : n)
                        : i.value;
                    }
                  }),
            Ah.apply(null, arguments)
          );
        }
        function Th(t) {
          return (
            (Th = Object.setPrototypeOf
              ? Object.getPrototypeOf.bind()
              : function (t) {
                  return t.__proto__ || Object.getPrototypeOf(t);
                }),
            Th(t)
          );
        }
        function Oh(t, e) {
          return (
            (Oh = Object.setPrototypeOf
              ? Object.setPrototypeOf.bind()
              : function (t, e) {
                  return (t.__proto__ = e), t;
                }),
            Oh(t, e)
          );
        }
        function Ch(t, e, n) {
          return (
            (e = Ph(e)) in t
              ? Object.defineProperty(t, e, {
                  value: n,
                  enumerable: !0,
                  configurable: !0,
                  writable: !0,
                })
              : (t[e] = n),
            t
          );
        }
        function Ph(t) {
          var e = (function (t, e) {
            if ("object" != gh(t) || !t) return t;
            var n = t[Symbol.toPrimitive];
            if (void 0 !== n) {
              var r = n.call(t, e || "default");
              if ("object" != gh(r)) return r;
              throw new TypeError(
                "@@toPrimitive must return a primitive value."
              );
            }
            return ("string" === e ? String : Number)(t);
          })(t, "string");
          return "symbol" == gh(e) ? e : e + "";
        }
        Qd(At.Ay);
        function xh(t) {
          return (
            (xh =
              "function" == typeof Symbol && "symbol" == typeof Symbol.iterator
                ? function (t) {
                    return typeof t;
                  }
                : function (t) {
                    return t &&
                      "function" == typeof Symbol &&
                      t.constructor === Symbol &&
                      t !== Symbol.prototype
                      ? "symbol"
                      : typeof t;
                  }),
            xh(t)
          );
        }
        function kh(t, e) {
          if (t !== e)
            throw new TypeError("Cannot instantiate an arrow function");
        }
        function Ih(t, e) {
          for (var n = 0; n < e.length; n++) {
            var r = e[n];
            (r.enumerable = r.enumerable || !1),
              (r.configurable = !0),
              "value" in r && (r.writable = !0),
              Object.defineProperty(t, jh(r.key), r);
          }
        }
        function jh(t) {
          var e = (function (t, e) {
            if ("object" != xh(t) || !t) return t;
            var n = t[Symbol.toPrimitive];
            if (void 0 !== n) {
              var r = n.call(t, e || "default");
              if ("object" != xh(r)) return r;
              throw new TypeError(
                "@@toPrimitive must return a primitive value."
              );
            }
            return ("string" === e ? String : Number)(t);
          })(t, "string");
          return "symbol" == xh(e) ? e : e + "";
        }
        function Rh(t, e, n) {
          return (
            (e = Lh(e)),
            (function (t, e) {
              if (e && ("object" == xh(e) || "function" == typeof e)) return e;
              if (void 0 !== e)
                throw new TypeError(
                  "Derived constructors may only return object or undefined"
                );
              return (function (t) {
                if (void 0 === t)
                  throw new ReferenceError(
                    "this hasn't been initialised - super() hasn't been called"
                  );
                return t;
              })(t);
            })(
              t,
              Dh()
                ? Reflect.construct(e, n || [], Lh(t).constructor)
                : e.apply(t, n)
            )
          );
        }
        function Dh() {
          try {
            var t = !Boolean.prototype.valueOf.call(
              Reflect.construct(Boolean, [], function () {})
            );
          } catch (t) {}
          return (Dh = function () {
            return !!t;
          })();
        }
        function Lh(t) {
          return (
            (Lh = Object.setPrototypeOf
              ? Object.getPrototypeOf.bind()
              : function (t) {
                  return t.__proto__ || Object.getPrototypeOf(t);
                }),
            Lh(t)
          );
        }
        function Mh(t, e) {
          return (
            (Mh = Object.setPrototypeOf
              ? Object.setPrototypeOf.bind()
              : function (t, e) {
                  return (t.__proto__ = e), t;
                }),
            Mh(t, e)
          );
        }
        function Nh(t) {
          return (function (t) {
            function e() {
              return (
                (function (t, e) {
                  if (!(t instanceof e))
                    throw new TypeError("Cannot call a class as a function");
                })(this, e),
                Rh(this, e, arguments)
              );
            }
            return (
              (function (t, e) {
                if ("function" != typeof e && null !== e)
                  throw new TypeError(
                    "Super expression must either be null or a function"
                  );
                (t.prototype = Object.create(e && e.prototype, {
                  constructor: { value: t, writable: !0, configurable: !0 },
                })),
                  Object.defineProperty(t, "prototype", { writable: !1 }),
                  e && Mh(t, e);
              })(e, t),
              (function (t, e, n) {
                return (
                  e && Ih(t.prototype, e),
                  n && Ih(t, n),
                  Object.defineProperty(t, "prototype", { writable: !1 }),
                  t
                );
              })(e, [
                {
                  key: "getView",
                  value: function () {
                    var t = this;
                    this.mount = function () {
                      return (
                        kh(this, t),
                        this.execHooks("beforeMount"),
                        this.execHooks("afterMount"),
                        Promise.resolve()
                      );
                    }.bind(this);
                    var e = this.getViewComponent();
                    return X.createElement(e, {
                      key: this.id,
                      uxInstance: this,
                      spa: !0,
                      callback: function () {
                        kh(this, t),
                          this.init(),
                          console.log("update", this.id);
                        var e = this.getRelativePosition(),
                          n = e.left,
                          r = e.top;
                        this.$parent.css({
                          left: (0, Ot.ez)(n).fullValue,
                          top: (0, Ot.ez)(r).fullValue,
                        });
                      }.bind(this),
                    });
                  },
                },
                {
                  key: "getViewComponent",
                  value: function () {
                    var t = this;
                    return function (e) {
                      return (
                        kh(this, t),
                        X.createElement(
                          X.Fragment,
                          null,
                          "请重写 getViewComponent 提供组件视图"
                        )
                      );
                    }.bind(this);
                  },
                },
                { key: "updateView", value: function () {} },
                {
                  key: "packProps",
                  value: function () {
                    var t = this.getBasicConfig(),
                      e = t.width,
                      n = t.height,
                      r = t.border;
                    return {
                      innerWidth: e - 2 * r.width,
                      innerHeight: n - 2 * r.width,
                      elementStyle: {
                        width: (0, Ot.ez)(t.width).fullValue,
                        height: (0, Ot.ez)(t.height).fullValue,
                      },
                    };
                  },
                },
              ])
            );
          })(t);
        }
        function $h(t) {
          return t
            ? null != t && t[gp]
              ? t
              : $h(t.getParentInstance())
            : null;
        }
        function Bh(t, e) {
          if (t !== e)
            throw new TypeError("Cannot instantiate an arrow function");
        }
        var Uh = (function (t) {
          return (
            (t.required = "required"),
            (t.number = "number"),
            (t.regexp = "regexp"),
            (t.integer = "integer"),
            (t.url = "url"),
            (t.email = "email"),
            (t.stringRange = "string-range"),
            (t.numberRange = "number-range"),
            (t.customBuiltinRule = "custom-builtin-rule"),
            t
          );
        })({});
        function Fh(t, e) {
          Hh[t] = e;
        }
        var Hh = {};
        Fh(Uh.required, {
          rule: { required: !0, message: "必填项" },
          label: "必填项",
        }),
          Fh(Uh.number, {
            rule: { type: "number", message: "必须为数字" },
            label: "数字",
            transform: function (t) {
              var e = this;
              return (
                (t.transform = function (t) {
                  return (
                    (function (t, e) {
                      if (t !== e)
                        throw new TypeError(
                          "Cannot instantiate an arrow function"
                        );
                    })(this, e),
                    isNaN(Number(t)) ? t : Number(t)
                  );
                }.bind(this)),
                t
              );
            },
          }),
          Fh(Uh.regexp, {
            rule: {
              type: "regexp",
              pattern: "",
              required: !0,
              message: "正则校验失败",
            },
            label: "正则",
            transform: function (t) {
              return (
                "string" == typeof t.pattern &&
                  (t.pattern = new RegExp(t.pattern)),
                t
              );
            },
          }),
          Fh(Uh.integer, {
            rule: { type: "integer", message: "必须为整数" },
            label: "整数",
          }),
          Fh(Uh.url, {
            rule: { type: "url", message: "必须为url" },
            label: "url",
          }),
          Fh(Uh.email, {
            rule: { type: "email", message: "必须为邮箱" },
            label: "邮箱",
          }),
          Fh(Uh.stringRange, {
            rule: {
              type: "string",
              min: 1,
              max: 10,
              message: "长度范围校验失败",
            },
            label: "长度范围",
          }),
          Fh(Uh.numberRange, {
            rule: {
              type: "number",
              min: 0,
              max: 10,
              message: "数值范围校验失败",
            },
            label: "数值范围",
          }),
          Fh(Uh.customBuiltinRule, {
            rule: { validator: "" },
            transform: function (t) {
              return (
                t.validator &&
                  "string" == typeof t.validator &&
                  (t.validator = (function (t, e) {
                    var n = this,
                      r = {};
                    new Function(
                      "context",
                      "context.configValidator = ".concat(e)
                    )(r);
                    var i = r.configValidator;
                    return function (e, r, o) {
                      Bh(this, n);
                      var a = $h(t).getFormData();
                      return i.call(t, r, a, {});
                    }.bind(this);
                  })(this, t.validator)),
                t
              );
            },
          });
        var Gh,
          Wh = {};
        function zh(t) {
          return (
            (zh =
              "function" == typeof Symbol && "symbol" == typeof Symbol.iterator
                ? function (t) {
                    return typeof t;
                  }
                : function (t) {
                    return t &&
                      "function" == typeof Symbol &&
                      t.constructor === Symbol &&
                      t !== Symbol.prototype
                      ? "symbol"
                      : typeof t;
                  }),
            zh(t)
          );
        }
        function qh(t, e) {
          var n = Object.keys(t);
          if (Object.getOwnPropertySymbols) {
            var r = Object.getOwnPropertySymbols(t);
            e &&
              (r = r.filter(function (e) {
                return Object.getOwnPropertyDescriptor(t, e).enumerable;
              })),
              n.push.apply(n, r);
          }
          return n;
        }
        function Xh(t) {
          for (var e = 1; e < arguments.length; e++) {
            var n = null != arguments[e] ? arguments[e] : {};
            e % 2
              ? qh(Object(n), !0).forEach(function (e) {
                  Yh(t, e, n[e]);
                })
              : Object.getOwnPropertyDescriptors
              ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(n))
              : qh(Object(n)).forEach(function (e) {
                  Object.defineProperty(
                    t,
                    e,
                    Object.getOwnPropertyDescriptor(n, e)
                  );
                });
          }
          return t;
        }
        function Yh(t, e, n) {
          return (
            (e = (function (t) {
              var e = (function (t, e) {
                if ("object" != zh(t) || !t) return t;
                var n = t[Symbol.toPrimitive];
                if (void 0 !== n) {
                  var r = n.call(t, e || "default");
                  if ("object" != zh(r)) return r;
                  throw new TypeError(
                    "@@toPrimitive must return a primitive value."
                  );
                }
                return ("string" === e ? String : Number)(t);
              })(t, "string");
              return "symbol" == zh(e) ? e : e + "";
            })(e)) in t
              ? Object.defineProperty(t, e, {
                  value: n,
                  enumerable: !0,
                  configurable: !0,
                  writable: !0,
                })
              : (t[e] = n),
            t
          );
        }
        function Kh() {
          var t =
            arguments.length > 0 && void 0 !== arguments[0]
              ? arguments[0]
              : Uh.required;
          return Gh.has(t)
            ? {
                uuid: "rule-".concat(Math.random().toString(36).slice(2)),
                type: t,
                originalRule: Gh.get(t),
              }
            : null;
        }
        function Zh(t) {
          return (
            (Zh =
              "function" == typeof Symbol && "symbol" == typeof Symbol.iterator
                ? function (t) {
                    return typeof t;
                  }
                : function (t) {
                    return t &&
                      "function" == typeof Symbol &&
                      t.constructor === Symbol &&
                      t !== Symbol.prototype
                      ? "symbol"
                      : typeof t;
                  }),
            Zh(t)
          );
        }
        function Jh(t, e) {
          var n = Object.keys(t);
          if (Object.getOwnPropertySymbols) {
            var r = Object.getOwnPropertySymbols(t);
            e &&
              (r = r.filter(function (e) {
                return Object.getOwnPropertyDescriptor(t, e).enumerable;
              })),
              n.push.apply(n, r);
          }
          return n;
        }
        function Qh(t) {
          for (var e = 1; e < arguments.length; e++) {
            var n = null != arguments[e] ? arguments[e] : {};
            e % 2
              ? Jh(Object(n), !0).forEach(function (e) {
                  np(t, e, n[e]);
                })
              : Object.getOwnPropertyDescriptors
              ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(n))
              : Jh(Object(n)).forEach(function (e) {
                  Object.defineProperty(
                    t,
                    e,
                    Object.getOwnPropertyDescriptor(n, e)
                  );
                });
          }
          return t;
        }
        function tp(t, e) {
          if (t !== e)
            throw new TypeError("Cannot instantiate an arrow function");
        }
        function ep(t, e) {
          for (var n = 0; n < e.length; n++) {
            var r = e[n];
            (r.enumerable = r.enumerable || !1),
              (r.configurable = !0),
              "value" in r && (r.writable = !0),
              Object.defineProperty(t, rp(r.key), r);
          }
        }
        function np(t, e, n) {
          return (
            (e = rp(e)) in t
              ? Object.defineProperty(t, e, {
                  value: n,
                  enumerable: !0,
                  configurable: !0,
                  writable: !0,
                })
              : (t[e] = n),
            t
          );
        }
        function rp(t) {
          var e = (function (t, e) {
            if ("object" != Zh(t) || !t) return t;
            var n = t[Symbol.toPrimitive];
            if (void 0 !== n) {
              var r = n.call(t, e || "default");
              if ("object" != Zh(r)) return r;
              throw new TypeError(
                "@@toPrimitive must return a primitive value."
              );
            }
            return ("string" === e ? String : Number)(t);
          })(t, "string");
          return "symbol" == Zh(e) ? e : e + "";
        }
        !(function (t) {
          function e() {
            return pe.A.cloneDeep(Xh(Xh({}, Hh), Wh));
          }
          function n(t) {
            return Reflect.has(e(), t);
          }
          (t.getRulesMap = e),
            (t.has = n),
            (t.get = function (t) {
              var n = Reflect.get(e(), t);
              return null == n ? void 0 : n.rule;
            }),
            (t.register = function (t, e) {
              var r = e.label,
                i = e.rule,
                o = e.transform;
              n(t) || (Wh[t] = { rule: i, label: r, transform: o });
            }),
            (t.replace = function (t, e) {
              var r = e.label,
                i = e.rule,
                o = e.transform;
              return (
                !!n(t) &&
                (Reflect.has(Hh, t)
                  ? ((Hh[t] = { rule: i, label: r, transform: o }), !0)
                  : ((Wh[t] = { rule: i, label: r }), !0))
              );
            }),
            (t.transform = function (t, n) {
              var r,
                i,
                o = Reflect.get(e(), t);
              return null == o ||
                null === (r = o.transform) ||
                void 0 === r ||
                null === (i = r.call) ||
                void 0 === i
                ? void 0
                : i.call(r, this, n);
            });
        })(Gh || (Gh = {}));
        var ip = (function () {
          return (function (t, e, n) {
            return (
              e && ep(t.prototype, e),
              n && ep(t, n),
              Object.defineProperty(t, "prototype", { writable: !1 }),
              t
            );
          })(
            function t(e) {
              var n = this;
              if (
                ((function (t, e) {
                  if (!(t instanceof e))
                    throw new TypeError("Cannot call a class as a function");
                })(this, t),
                np(this, "component", void 0),
                np(
                  this,
                  "update",
                  function () {
                    tp(this, n), this.updateItemMap();
                  }.bind(this)
                ),
                np(
                  this,
                  "onAddComponent",
                  function (t) {
                    tp(this, n),
                      this.addItem(t.id),
                      t.addHook(
                        "canvas:DeleteComponent",
                        this.onRemoveComponent
                      );
                  }.bind(this)
                ),
                np(
                  this,
                  "onRemoveComponent",
                  function (t) {
                    var e = this;
                    tp(this, n),
                      this.deleteItem(t.id),
                      requestAnimationFrame(
                        function () {
                          tp(this, e), this.component.render();
                        }.bind(this)
                      );
                  }.bind(this)
                ),
                (this.component = $h(e)),
                !this.component)
              )
                throw new Error("FormModel must be used in Form component");
              (0, Tt.Ay)(
                e,
                function () {
                  tp(this, n), this.init();
                }.bind(this),
                At.$v
              );
            },
            [
              {
                key: "init",
                value: function () {
                  this.registerHooks(), this.update();
                },
              },
              {
                key: "getConfig",
                value: function () {
                  var t = this.component.getDataConfig().form;
                  return void 0 === t ? {} : t;
                },
              },
              {
                key: "setConfig",
                value: function (t) {
                  this.component.updateDataConfig({ form: t });
                },
              },
              {
                key: "createItem",
                value: function (t) {
                  return {
                    name: "formItem_".concat(
                      Math.random().toString(36).slice(2)
                    ),
                    rules: [Kh()],
                    componentId: t,
                  };
                },
              },
              {
                key: "getItem",
                value: function (t) {
                  var e;
                  return null === (e = this.getConfig().itemMap) || void 0 === e
                    ? void 0
                    : e[t];
                },
              },
              {
                key: "addItem",
                value: function (t) {
                  var e;
                  if (t) {
                    var n = this.getConfig(),
                      r = Qh(
                        Qh(
                          {},
                          null !== (e = n.itemMap) && void 0 !== e ? e : {}
                        ),
                        {},
                        np({}, t, this.createItem(t))
                      );
                    n.itemMap = r;
                  }
                },
              },
              {
                key: "deleteItem",
                value: function (t) {
                  var e = this.getConfig();
                  e.itemMap &&
                    e.itemMap[t] &&
                    Reflect.deleteProperty(e.itemMap, t);
                },
              },
              {
                key: "updateItemMap",
                value: function () {
                  var t = this,
                    e = this.component.children,
                    n = void 0 === e ? [] : e,
                    r = this.component.getDataConfig().form,
                    i = void 0 === r ? {} : r,
                    o = i.itemMap,
                    a = void 0 === o ? {} : o,
                    s = n.reduce(
                      function (e, n) {
                        tp(this, t);
                        var r = n.id;
                        return (
                          a[r] ? (e[r] = a[r]) : (e[r] = this.createItem(r)), e
                        );
                      }.bind(this),
                      {}
                    );
                  i.itemMap = s;
                },
              },
              {
                key: "registerHooks",
                value: function () {
                  var t = this;
                  this.component.addHook(
                    "afterComponentDrop",
                    this.onAddComponent
                  ),
                    this.component.children.forEach(
                      function (e) {
                        tp(this, t),
                          e.addHook(
                            "canvas:DeleteComponent",
                            this.onRemoveComponent
                          );
                      }.bind(this)
                    );
                },
              },
              {
                key: "unregisterHooks",
                value: function () {
                  var t = this;
                  this.component.deleteHook(
                    "afterComponentDrop",
                    this.onAddComponent
                  ),
                    this.component.children.forEach(
                      function (e) {
                        tp(this, t),
                          e.deleteHook(
                            "canvas:DeleteComponent",
                            this.onRemoveComponent
                          );
                      }.bind(this)
                    );
                },
              },
              {
                key: "dispose",
                value: function () {
                  this.unregisterHooks(), (this.component = null);
                },
              },
            ]
          );
        })();
        function op(t) {
          return (
            (op =
              "function" == typeof Symbol && "symbol" == typeof Symbol.iterator
                ? function (t) {
                    return typeof t;
                  }
                : function (t) {
                    return t &&
                      "function" == typeof Symbol &&
                      t.constructor === Symbol &&
                      t !== Symbol.prototype
                      ? "symbol"
                      : typeof t;
                  }),
            op(t)
          );
        }
        function ap(t, e) {
          if (t !== e)
            throw new TypeError("Cannot instantiate an arrow function");
        }
        function sp(t, e) {
          var n = Object.keys(t);
          if (Object.getOwnPropertySymbols) {
            var r = Object.getOwnPropertySymbols(t);
            e &&
              (r = r.filter(function (e) {
                return Object.getOwnPropertyDescriptor(t, e).enumerable;
              })),
              n.push.apply(n, r);
          }
          return n;
        }
        function cp(t) {
          for (var e = 1; e < arguments.length; e++) {
            var n = null != arguments[e] ? arguments[e] : {};
            e % 2
              ? sp(Object(n), !0).forEach(function (e) {
                  mp(t, e, n[e]);
                })
              : Object.getOwnPropertyDescriptors
              ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(n))
              : sp(Object(n)).forEach(function (e) {
                  Object.defineProperty(
                    t,
                    e,
                    Object.getOwnPropertyDescriptor(n, e)
                  );
                });
          }
          return t;
        }
        function lp(t, e) {
          for (var n = 0; n < e.length; n++) {
            var r = e[n];
            (r.enumerable = r.enumerable || !1),
              (r.configurable = !0),
              "value" in r && (r.writable = !0),
              Object.defineProperty(t, vp(r.key), r);
          }
        }
        function up(t, e, n) {
          return (
            (e = hp(e)),
            (function (t, e) {
              if (e && ("object" == op(e) || "function" == typeof e)) return e;
              if (void 0 !== e)
                throw new TypeError(
                  "Derived constructors may only return object or undefined"
                );
              return (function (t) {
                if (void 0 === t)
                  throw new ReferenceError(
                    "this hasn't been initialised - super() hasn't been called"
                  );
                return t;
              })(t);
            })(
              t,
              fp()
                ? Reflect.construct(e, n || [], hp(t).constructor)
                : e.apply(t, n)
            )
          );
        }
        function fp() {
          try {
            var t = !Boolean.prototype.valueOf.call(
              Reflect.construct(Boolean, [], function () {})
            );
          } catch (t) {}
          return (fp = function () {
            return !!t;
          })();
        }
        function dp() {
          return (
            (dp =
              "undefined" != typeof Reflect && Reflect.get
                ? Reflect.get.bind()
                : function (t, e, n) {
                    var r = (function (t, e) {
                      for (
                        ;
                        !{}.hasOwnProperty.call(t, e) && null !== (t = hp(t));

                      );
                      return t;
                    })(t, e);
                    if (r) {
                      var i = Object.getOwnPropertyDescriptor(r, e);
                      return i.get
                        ? i.get.call(arguments.length < 3 ? t : n)
                        : i.value;
                    }
                  }),
            dp.apply(null, arguments)
          );
        }
        function hp(t) {
          return (
            (hp = Object.setPrototypeOf
              ? Object.getPrototypeOf.bind()
              : function (t) {
                  return t.__proto__ || Object.getPrototypeOf(t);
                }),
            hp(t)
          );
        }
        function pp(t, e) {
          return (
            (pp = Object.setPrototypeOf
              ? Object.setPrototypeOf.bind()
              : function (t, e) {
                  return (t.__proto__ = e), t;
                }),
            pp(t, e)
          );
        }
        function mp(t, e, n) {
          return (
            (e = vp(e)) in t
              ? Object.defineProperty(t, e, {
                  value: n,
                  enumerable: !0,
                  configurable: !0,
                  writable: !0,
                })
              : (t[e] = n),
            t
          );
        }
        function vp(t) {
          var e = (function (t, e) {
            if ("object" != op(t) || !t) return t;
            var n = t[Symbol.toPrimitive];
            if (void 0 !== n) {
              var r = n.call(t, e || "default");
              if ("object" != op(r)) return r;
              throw new TypeError(
                "@@toPrimitive must return a primitive value."
              );
            }
            return ("string" === e ? String : Number)(t);
          })(t, "string");
          return "symbol" == op(e) ? e : e + "";
        }
        var gp = Symbol.for("ux-form");
        function yp(t) {
          return (
            (yp =
              "function" == typeof Symbol && "symbol" == typeof Symbol.iterator
                ? function (t) {
                    return typeof t;
                  }
                : function (t) {
                    return t &&
                      "function" == typeof Symbol &&
                      t.constructor === Symbol &&
                      t !== Symbol.prototype
                      ? "symbol"
                      : typeof t;
                  }),
            yp(t)
          );
        }
        function bp(t, e) {
          var n = Object.keys(t);
          if (Object.getOwnPropertySymbols) {
            var r = Object.getOwnPropertySymbols(t);
            e &&
              (r = r.filter(function (e) {
                return Object.getOwnPropertyDescriptor(t, e).enumerable;
              })),
              n.push.apply(n, r);
          }
          return n;
        }
        function Vp(t) {
          for (var e = 1; e < arguments.length; e++) {
            var n = null != arguments[e] ? arguments[e] : {};
            e % 2
              ? bp(Object(n), !0).forEach(function (e) {
                  _p(t, e, n[e]);
                })
              : Object.getOwnPropertyDescriptors
              ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(n))
              : bp(Object(n)).forEach(function (e) {
                  Object.defineProperty(
                    t,
                    e,
                    Object.getOwnPropertyDescriptor(n, e)
                  );
                });
          }
          return t;
        }
        function _p(t, e, n) {
          return (
            (e = Sp(e)) in t
              ? Object.defineProperty(t, e, {
                  value: n,
                  enumerable: !0,
                  configurable: !0,
                  writable: !0,
                })
              : (t[e] = n),
            t
          );
        }
        function wp(t, e) {
          for (var n = 0; n < e.length; n++) {
            var r = e[n];
            (r.enumerable = r.enumerable || !1),
              (r.configurable = !0),
              "value" in r && (r.writable = !0),
              Object.defineProperty(t, Sp(r.key), r);
          }
        }
        function Sp(t) {
          var e = (function (t, e) {
            if ("object" != yp(t) || !t) return t;
            var n = t[Symbol.toPrimitive];
            if (void 0 !== n) {
              var r = n.call(t, e || "default");
              if ("object" != yp(r)) return r;
              throw new TypeError(
                "@@toPrimitive must return a primitive value."
              );
            }
            return ("string" === e ? String : Number)(t);
          })(t, "string");
          return "symbol" == yp(e) ? e : e + "";
        }
        function Ep(t, e, n) {
          return (
            (e = Op(e)),
            (function (t, e) {
              if (e && ("object" == yp(e) || "function" == typeof e)) return e;
              if (void 0 !== e)
                throw new TypeError(
                  "Derived constructors may only return object or undefined"
                );
              return (function (t) {
                if (void 0 === t)
                  throw new ReferenceError(
                    "this hasn't been initialised - super() hasn't been called"
                  );
                return t;
              })(t);
            })(
              t,
              Ap()
                ? Reflect.construct(e, n || [], Op(t).constructor)
                : e.apply(t, n)
            )
          );
        }
        function Ap() {
          try {
            var t = !Boolean.prototype.valueOf.call(
              Reflect.construct(Boolean, [], function () {})
            );
          } catch (t) {}
          return (Ap = function () {
            return !!t;
          })();
        }
        function Tp() {
          return (
            (Tp =
              "undefined" != typeof Reflect && Reflect.get
                ? Reflect.get.bind()
                : function (t, e, n) {
                    var r = (function (t, e) {
                      for (
                        ;
                        !{}.hasOwnProperty.call(t, e) && null !== (t = Op(t));

                      );
                      return t;
                    })(t, e);
                    if (r) {
                      var i = Object.getOwnPropertyDescriptor(r, e);
                      return i.get
                        ? i.get.call(arguments.length < 3 ? t : n)
                        : i.value;
                    }
                  }),
            Tp.apply(null, arguments)
          );
        }
        function Op(t) {
          return (
            (Op = Object.setPrototypeOf
              ? Object.getPrototypeOf.bind()
              : function (t) {
                  return t.__proto__ || Object.getPrototypeOf(t);
                }),
            Op(t)
          );
        }
        function Cp(t, e) {
          return (
            (Cp = Object.setPrototypeOf
              ? Object.setPrototypeOf.bind()
              : function (t, e) {
                  return (t.__proto__ = e), t;
                }),
            Cp(t, e)
          );
        }
        function Pp(t) {
          return (
            (Pp =
              "function" == typeof Symbol && "symbol" == typeof Symbol.iterator
                ? function (t) {
                    return typeof t;
                  }
                : function (t) {
                    return t &&
                      "function" == typeof Symbol &&
                      t.constructor === Symbol &&
                      t !== Symbol.prototype
                      ? "symbol"
                      : typeof t;
                  }),
            Pp(t)
          );
        }
        function xp(t, e) {
          var n = Object.keys(t);
          if (Object.getOwnPropertySymbols) {
            var r = Object.getOwnPropertySymbols(t);
            e &&
              (r = r.filter(function (e) {
                return Object.getOwnPropertyDescriptor(t, e).enumerable;
              })),
              n.push.apply(n, r);
          }
          return n;
        }
        function kp(t) {
          for (var e = 1; e < arguments.length; e++) {
            var n = null != arguments[e] ? arguments[e] : {};
            e % 2
              ? xp(Object(n), !0).forEach(function (e) {
                  Np(t, e, n[e]);
                })
              : Object.getOwnPropertyDescriptors
              ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(n))
              : xp(Object(n)).forEach(function (e) {
                  Object.defineProperty(
                    t,
                    e,
                    Object.getOwnPropertyDescriptor(n, e)
                  );
                });
          }
          return t;
        }
        function Ip(t, e) {
          for (var n = 0; n < e.length; n++) {
            var r = e[n];
            (r.enumerable = r.enumerable || !1),
              (r.configurable = !0),
              "value" in r && (r.writable = !0),
              Object.defineProperty(t, $p(r.key), r);
          }
        }
        function jp(t, e, n) {
          return (
            (e = Lp(e)),
            (function (t, e) {
              if (e && ("object" == Pp(e) || "function" == typeof e)) return e;
              if (void 0 !== e)
                throw new TypeError(
                  "Derived constructors may only return object or undefined"
                );
              return (function (t) {
                if (void 0 === t)
                  throw new ReferenceError(
                    "this hasn't been initialised - super() hasn't been called"
                  );
                return t;
              })(t);
            })(
              t,
              Rp()
                ? Reflect.construct(e, n || [], Lp(t).constructor)
                : e.apply(t, n)
            )
          );
        }
        function Rp() {
          try {
            var t = !Boolean.prototype.valueOf.call(
              Reflect.construct(Boolean, [], function () {})
            );
          } catch (t) {}
          return (Rp = function () {
            return !!t;
          })();
        }
        function Dp() {
          return (
            (Dp =
              "undefined" != typeof Reflect && Reflect.get
                ? Reflect.get.bind()
                : function (t, e, n) {
                    var r = (function (t, e) {
                      for (
                        ;
                        !{}.hasOwnProperty.call(t, e) && null !== (t = Lp(t));

                      );
                      return t;
                    })(t, e);
                    if (r) {
                      var i = Object.getOwnPropertyDescriptor(r, e);
                      return i.get
                        ? i.get.call(arguments.length < 3 ? t : n)
                        : i.value;
                    }
                  }),
            Dp.apply(null, arguments)
          );
        }
        function Lp(t) {
          return (
            (Lp = Object.setPrototypeOf
              ? Object.getPrototypeOf.bind()
              : function (t) {
                  return t.__proto__ || Object.getPrototypeOf(t);
                }),
            Lp(t)
          );
        }
        function Mp(t, e) {
          return (
            (Mp = Object.setPrototypeOf
              ? Object.setPrototypeOf.bind()
              : function (t, e) {
                  return (t.__proto__ = e), t;
                }),
            Mp(t, e)
          );
        }
        function Np(t, e, n) {
          return (
            (e = $p(e)) in t
              ? Object.defineProperty(t, e, {
                  value: n,
                  enumerable: !0,
                  configurable: !0,
                  writable: !0,
                })
              : (t[e] = n),
            t
          );
        }
        function $p(t) {
          var e = (function (t, e) {
            if ("object" != Pp(t) || !t) return t;
            var n = t[Symbol.toPrimitive];
            if (void 0 !== n) {
              var r = n.call(t, e || "default");
              if ("object" != Pp(r)) return r;
              throw new TypeError(
                "@@toPrimitive must return a primitive value."
              );
            }
            return ("string" === e ? String : Number)(t);
          })(t, "string");
          return "symbol" == Pp(e) ? e : e + "";
        }
        function Bp(t) {
          return (
            (Bp =
              "function" == typeof Symbol && "symbol" == typeof Symbol.iterator
                ? function (t) {
                    return typeof t;
                  }
                : function (t) {
                    return t &&
                      "function" == typeof Symbol &&
                      t.constructor === Symbol &&
                      t !== Symbol.prototype
                      ? "symbol"
                      : typeof t;
                  }),
            Bp(t)
          );
        }
        function Up(t, e) {
          for (var n = 0; n < e.length; n++) {
            var r = e[n];
            (r.enumerable = r.enumerable || !1),
              (r.configurable = !0),
              "value" in r && (r.writable = !0),
              Object.defineProperty(t, qp(r.key), r);
          }
        }
        function Fp(t, e, n) {
          return (
            (e = Gp(e)),
            (function (t, e) {
              if (e && ("object" == Bp(e) || "function" == typeof e)) return e;
              if (void 0 !== e)
                throw new TypeError(
                  "Derived constructors may only return object or undefined"
                );
              return (function (t) {
                if (void 0 === t)
                  throw new ReferenceError(
                    "this hasn't been initialised - super() hasn't been called"
                  );
                return t;
              })(t);
            })(
              t,
              Hp()
                ? Reflect.construct(e, n || [], Gp(t).constructor)
                : e.apply(t, n)
            )
          );
        }
        function Hp() {
          try {
            var t = !Boolean.prototype.valueOf.call(
              Reflect.construct(Boolean, [], function () {})
            );
          } catch (t) {}
          return (Hp = function () {
            return !!t;
          })();
        }
        function Gp(t) {
          return (
            (Gp = Object.setPrototypeOf
              ? Object.getPrototypeOf.bind()
              : function (t) {
                  return t.__proto__ || Object.getPrototypeOf(t);
                }),
            Gp(t)
          );
        }
        function Wp(t, e) {
          return (
            (Wp = Object.setPrototypeOf
              ? Object.setPrototypeOf.bind()
              : function (t, e) {
                  return (t.__proto__ = e), t;
                }),
            Wp(t, e)
          );
        }
        function zp(t, e, n) {
          return (
            (e = qp(e)) in t
              ? Object.defineProperty(t, e, {
                  value: n,
                  enumerable: !0,
                  configurable: !0,
                  writable: !0,
                })
              : (t[e] = n),
            t
          );
        }
        function qp(t) {
          var e = (function (t, e) {
            if ("object" != Bp(t) || !t) return t;
            var n = t[Symbol.toPrimitive];
            if (void 0 !== n) {
              var r = n.call(t, e || "default");
              if ("object" != Bp(r)) return r;
              throw new TypeError(
                "@@toPrimitive must return a primitive value."
              );
            }
            return ("string" === e ? String : Number)(t);
          })(t, "string");
          return "symbol" == Bp(e) ? e : e + "";
        }
        class Xp {
          constructor() {
            (this.id = ""),
              (this.config = null),
              (this.bgTxue = {}),
              (this.eventArr = []),
              (this.threshold = 1),
              (this.isRayRecur = !0),
              (this.isCtrUpdate = !0),
              (this._postfix = "compEft_"),
              (this._TWEEN = Xc.TWEEN),
              (this._setting = { checkList: {}, callback: {} });
          }
          #t = new Xc.Listener();
          #e = null;
          get SCI_TYPE() {
            return 1;
          }
          get COM_TYPE() {
            return 2;
          }
          bind(t, e) {
            return this.#t.bind(t, e);
          }
          unbind(t, e) {
            return this.#t.unbind(t, e);
          }
          _triggerOutEvent(t, ...e) {
            return this.#t.trigger(t, this, ...e);
          }
          _handleEventFn(t, ...e) {
            const n = this[t](...e);
            this._triggerOutEvent(t, ...(n || []));
          }
          disposeBase() {
            Xc._disposeDiff(),
              Xc.disposeObj(this.scene),
              Xc.disposeArr(this.bgTxue),
              this.#t.destroy(),
              this.eventArr.splice(0, this.eventArr.length),
              (this._TWEEN = null),
              (this.#e = null),
              (this.#t = null),
              (this.config = null),
              (this.scene = null),
              (this.group = null),
              (this.camera = null),
              (this.controls = null),
              (this.directLight = null);
          }
          setCameraParams(t = {}) {
            const e = t.target;
            this.camera &&
              t.position &&
              (t.fov && (this.camera.fov = t.fov),
              this.camera.position.copy(t.position),
              e && this.camera.lookAt(e.x, e.y, e.z),
              (this.camera.userData = this.camera.userData || {}),
              (this.camera.userData.target = e),
              this.camera.updateProjectionMatrix()),
              this.controls &&
                e &&
                (this.controls.target.copy(e), this.controls.update());
          }
          getCameraParams() {
            return {
              fov: this.camera ? this.camera.fov : null,
              position: this.camera ? this.camera.position.clone() : null,
              target: this.controls ? this.controls.target.clone() : null,
            };
          }
          setControls(t, e = {}) {
            t &&
              (e.target && t.target.copy(e.target),
              Xc.setObjParams(t, e.params),
              t.update(),
              (t.enabled = this.GId
                ? this.config.isViewport
                : this.isViewport));
          }
          setOption(t, e) {
            this.beforeOption(t),
              e
                ? this.compEftInit &&
                  (Xc.extend(!0, this.config, t), this.compEftInit())
                : this.contrastedOpt(t, this._setting.checkList, this.#e),
              this.afterOption(t);
          }
          setConfigProxy(t) {
            const e = this.handleSetting(t.checkList, t.callback);
            this.#e = Xc._setDiff({
              data: this.config,
              computed: {},
              watch: e,
              bind: this,
            });
          }
          handleSetting(t, e) {
            const n = {};
            return (
              Xc.loopObject(t, (r) => {
                const i = t[r];
                "object" == typeof i
                  ? (n[r] = this.handleSetting(i, e))
                  : Object.prototype.hasOwnProperty.call(e, i) && (n[r] = e[i]);
              }),
              n
            );
          }
          contrastedOpt(t, e, n) {
            n &&
              Xc.loopObject(t, (r) => {
                const [i, o] = [t[r], e[r]];
                "object" == typeof o
                  ? this.contrastedOpt(i, o, n[r])
                  : (n[r] = i);
              });
          }
          isComType(t = !1) {
            const e = this.config.renderType === this.COM_TYPE;
            return t ? !e : e;
          }
          typeConfig(t, e, n, r) {
            const [i, o] = [Xc.extend(!0, {}, e), Xc.extend(!0, {}, n)];
            this.setDefaultConfig(i, o),
              (this.config = Xc.extend(!0, {}, i, t)),
              this.isComType(r) &&
                (this.config = Xc.extend(!0, {}, o, this.config)),
              (this.id =
                this.config.id || this.config.type || this.config.name || "");
          }
          setDefaultConfig() {}
          loadBgTxue(t) {
            const [e, n] = [t.bgPath || "", t.background];
            if (!n) return;
            const [r, i] = [n.shpereSky, n.cubSky];
            r &&
              ((this.bgTxue.shpereSky = Xc.txueLoader.load(e + r)),
              (this.bgTxue.shpereSky.isSphereTexture = !0)),
              i &&
                (this.bgTxue.cubSky = new THREE.CubeTextureLoader().load([
                  e + i.px,
                  e + i.nx,
                  e + i.py,
                  e + i.ny,
                  e + i.pz,
                  e + i.nz,
                ]));
          }
          creatCamera(t, e, n) {
            let r;
            if (t.isOrth) {
              const [i, o] = [t.ratio * e * 0.5, t.ratio * n * 0.5];
              r = new THREE.OrthographicCamera(-i, i, o, -o, t.near, t.far);
            } else r = new THREE.PerspectiveCamera(t.fov, e / n, t.near, t.far);
            return r.position.copy(t.position), r;
          }
          setBackground(t, e = {}) {
            this.bgTxue[e.type] && (t.background = this.bgTxue[e.type]);
          }
          setLight(t, e) {
            e.Ambient &&
              t.add(
                new THREE.AmbientLight(e.Ambient.color, e.Ambient.strength)
              );
            const [n, r] = [e.hemisphere, e.directional];
            if (e.isHemisphere && n) {
              const e = new THREE.HemisphereLight(
                n.color,
                n.groundColor,
                n.strength
              );
              e.position.set(n.position[0], n.position[2], n.position[1]),
                t.add(e);
            }
            if (e.isDirectional && r) {
              const e = new THREE.DirectionalLight(r.color, r.strength);
              if (
                (e.position.set(r.position[0], r.position[2], r.position[1]),
                (e.castShadow = this.config.shadow),
                (this.directLight = e),
                e.castShadow)
              ) {
                const t = r.mapSize || 1024;
                (e.shadow.mapSize.width = t), (e.shadow.mapSize.height = t);
                const n = r.boxSize || 5e3;
                (e.shadow.camera.left = -n),
                  (e.shadow.camera.right = n),
                  (e.shadow.camera.top = n),
                  (e.shadow.camera.bottom = -n),
                  (e.shadow.camera.far = 1e4),
                  (e.shadow.bias = -1e-4);
              }
              if (r.lightHelper) {
                const n = new THREE.DirectionalLightHelper(e, 10);
                t.add(n);
              }
              t.add(e);
            }
          }
          beforeInit() {}
          afterInit() {}
          beforeDispose() {}
          afterDispose() {}
          beforeAdd() {}
          afterAdd() {}
          beforeRemove() {}
          afterRemove() {}
          beforeOption() {}
          afterOption() {}
          beforeData() {}
          afterData() {}
          beforeHandle() {}
          afterHandle() {}
          onError() {}
          onMouseOut() {
            return [];
          }
          onMouseIn() {
            return [];
          }
          onMouseUp() {
            return [];
          }
          onMouseDown() {
            return [];
          }
          onClick() {
            return [];
          }
          onDblClick() {
            return [];
          }
        }
        class Yp {
          constructor(t) {
            let e = 0,
              n = 0;
            (this.GLRender = t),
              (this.isInitEvent = !0),
              (this.dblclickDelay = 200),
              (this.eventDom = null),
              (this._ItdMesh = null),
              (this._Mouse = null),
              (this._Raycaster = null),
              (this._Intersects = null),
              (this._CurrentID = null);
            const [r, i, o, a, s] = [
              (t) => {
                this._isIntercept() || this.setMouseOut(t, !0);
              },
              Xc.throttle((t) => {
                if ((t.preventDefault(), !this._isIntercept()))
                  if (
                    (this.getIntersects(t),
                    this._Intersects && this._Intersects.length)
                  ) {
                    const e = this._Intersects[0].object;
                    e !== this._ItdMesh && this.setMouseOut(t, !1),
                      this.setMouseIn(t, e);
                  } else this.setMouseOut(t, !0);
              }, 50),
              (t) => {
                t.preventDefault(),
                  this._isIntercept() ||
                    (clearTimeout(n),
                    (n = setTimeout(() => {
                      this.setMouseEvent(t, "onMouseUp"),
                        this.setMouseEvent(t, "onClick");
                    }, this.dblclickDelay)));
              },
              (t) => {
                t.preventDefault(),
                  this._isIntercept() ||
                    (clearTimeout(e),
                    (e = setTimeout(() => {
                      this.getIntersects(t),
                        this.setMouseEvent(t, "onMouseDown");
                    }, this.dblclickDelay)));
              },
              (t) => {
                t.preventDefault(),
                  this._isIntercept() ||
                    (clearTimeout(e),
                    clearTimeout(n),
                    this.getIntersects(t),
                    this.setMouseEvent(t, "onDblClick"),
                    this.setMouseEvent(t, "onMouseUp"));
              },
            ];
            this.handleEvent = (t, n) => {
              t &&
                (t[`${n}EventListener`]("mouseout", r, !1),
                t[`${n}EventListener`]("mousemove", i, !1),
                t[`${n}EventListener`]("mouseup", o, !1),
                t[`${n}EventListener`]("mousedown", a, !1),
                t[`${n}EventListener`]("dblclick", s, !1),
                clearTimeout(e));
            };
          }
          init(t) {
            (this.isInitEvent = t),
              t &&
                ((this._Mouse = new THREE.Vector2()),
                (this._Raycaster = new THREE.Raycaster()),
                (this.eventDom = this.GLRender.container),
                this.handleEvent(this.eventDom, "add"));
          }
          dispose(t) {
            (this._ItdMesh = null),
              t ||
                ((this._Mouse = null),
                (this._Raycaster = null),
                (this._Intersects = null),
                (this._CurrentID = null),
                this.handleEvent(this.eventDom, "remove"),
                (this.eventDom = null),
                (this.GLRender = null));
          }
          setMouseOut(t, e) {
            const n = this.handleInOut(!1, e);
            this._ItdMesh &&
              (this.handoutEvent(t, n, "onMouseOut", e),
              (this._ItdMesh = null));
          }
          setMouseIn(t, e) {
            this._ItdMesh = e;
            const n = this.handleInOut(!0);
            this.handoutEvent(t, n, "onMouseIn");
          }
          handleInOut(t, e) {
            const n = this.GLRender.isComType(),
              r =
                n && this._ItdMesh
                  ? this._ItdMesh.userData.ceId
                  : this._CurrentID,
              i = this.GLRender.subCompEffects[r];
            if (!i) return null;
            const o = n ? this.eventDom : i.controlDom;
            return (
              t ? (o.style.cursor = "pointer") : e && (o.style.cursor = "auto"),
              i
            );
          }
          setMouseEvent(t, e) {
            const n = this.GLRender.subCompEffects[this._CurrentID];
            this.handoutEvent(t, n, e);
          }
          handoutEvent(t, e, n, r) {
            this.GLRender._handleEventFn(n, t, this._Intersects, e, r),
              e &&
                !e.stopEvents &&
                Xc.exeFunction(e._handleEventFn, e, n, t, this._Intersects, r);
          }
          getIntersects(t) {
            const e = this.beforeRay(t);
            if (e) {
              (this._Mouse.x = (t.layerX / e.width) * 2 - 1),
                (this._Mouse.y = (-t.layerY / e.height) * 2 + 1),
                e.threshold &&
                  (this._Raycaster.params.Points.threshold = e.threshold),
                this._Raycaster.setFromCamera(this._Mouse, e.camera),
                (this._Intersects = this._Raycaster.intersectObjects(
                  e.eventArr,
                  e.isRayRecur
                ));
              for (let t = this._Intersects.length - 1; t >= 0; t--)
                this._Intersects[t].object._unEvent &&
                  this._Intersects.splice(t, 1);
              !e.isSciType &&
                this._Intersects.length &&
                (this._CurrentID = this._Intersects[0].object.userData.ceId);
            }
          }
          beforeRay(t) {
            if (this.GLRender.isComType()) return this.GLRender;
            const e = this._getTopComponent(t);
            if (!e) return null;
            const {
              camera: n,
              eventArr: r,
              threshold: i,
              isRayRecur: o,
              config: a,
            } = e;
            return {
              camera: n,
              eventArr: r,
              threshold: i,
              isRayRecur: o,
              isSciType: !0,
              ...a.element,
            };
          }
          _getTopComponent(t) {
            this._CurrentID = null;
            const [e, n] = [t.target.id, this.GLRender._postfix.length];
            if (e.slice(0, n) !== this.GLRender._postfix) return null;
            this._CurrentID = e.slice(n);
            const r = this.GLRender.subCompEffects[this._CurrentID];
            return (
              r &&
                r._base &&
                r._base.animatFactory &&
                r._base.animatFactory.onMouseHover &&
                r._base.animatFactory.onMouseHover(),
              r
            );
          }
          _isIntercept() {
            const { isShow: t, isViewport: e } = this.GLRender.config;
            return !(t && e);
          }
        }
        const Kp = {
            camera: {
              fov: 45,
              near: 4,
              far: 1e4,
              position: { x: 0, y: 256, z: 1024 },
              ratio: 1,
              isOrth: !1,
            },
            controls: {
              create: !0,
              target: { x: 0, y: 64, z: 0 },
              params: {
                enablePan: !0,
                enableZoom: !0,
                enableRotate: !0,
                enableDamping: !0,
                dampingFactor: 0.08,
                panSpeed: 0.08,
                zoomSpeed: 0.06,
                rotateSpeed: 0.013,
                minDistance: 32,
                maxDistance: 4096,
                minPolarAngle: 0,
                maxPolarAngle: 1.570796325,
                minAzimuthAngle: -1 / 0,
                maxAzimuthAngle: 1 / 0,
              },
            },
            light: {
              isHemisphere: !0,
              isDirectional: !0,
              Ambient: { color: "#7E7E7E", strength: 0.8 },
              hemisphere: {
                color: "#F8FDFF",
                groundColor: "#FFFDF8",
                strength: 0.5,
                position: [0, 0, 128],
              },
              directional: {
                color: "#FFFFFF",
                strength: 1,
                position: [1, 0, 1],
                mapSize: 1024,
                boxSize: 4096,
                lightHelper: !1,
              },
            },
          },
          Zp = {
            cts: "",
            id: "",
            shadow: !0,
            renderType: 1,
            isShow: !0,
            isAnimate: !0,
            isViewport: !0,
            background: { color: "#ffffff", opacity: 0, type: "cubSky" },
            texture: { bgPath: "", background: {} },
            containerType: 1,
            isScissor: !1,
          };
        class Jp extends Xp {
          constructor() {
            super(),
              (this.GId = ""),
              (this.width = 0),
              (this.height = 0),
              (this.frameLimit = 0.1),
              (this.devicePixelRatio = 1),
              (this.clock = null),
              (this.renderer = null),
              (this.container = null),
              (this.composer = null),
              (this.isComposer = !1),
              (this.subAnimateArr = []),
              (this.subCompEffects = {}),
              (this.subCompEffectArr = []),
              (this.isInit = !1),
              (this._Events = new Yp(this));
          }
          init(t) {
            if (
              ((this.parentCont = this.parseCts(t.cts)),
              window._isSupportWebGL && null !== this.parentCont)
            )
              try {
                this.beforeInit(t),
                  this.typeConfig(t, Zp, Kp),
                  (this.GId = Xc.creatId(this.parentCont.id)),
                  (this.container = this.creatContainer(this.GId)),
                  this.parentCont.appendChild(this.container),
                  this.loadBgTxue(this.config.texture),
                  this.initiate(),
                  (this.isInit = !0),
                  this.renderers(),
                  this.afterInit(this.config);
              } catch (t) {
                this.onError({
                  errorType: 1,
                  describe: "Initialization Error!",
                });
              }
            else this.onError({ errorType: 2, describe: "Not Support WebGL!" });
          }
          addCompEft(t) {
            this.beforeAdd(t),
              Xc.exeFunction(t.install, t, this),
              (this.subCompEffects[t.id] = t),
              this.subCompEffectArr.push(t),
              this.updateEventArr(t),
              this.typeAddCompEft(t),
              this.afterAdd(t);
          }
          removeCompEft(t, e) {
            this.beforeRemove(t),
              this._Events.dispose(!0),
              delete this.subCompEffects[t.id],
              Xc.removeArrItem(this.subCompEffectArr, t),
              this.removeEventArr(t.id),
              this.typeRemoveCompEft(t, e),
              this.afterRemove();
          }
          removeAll(t) {
            Xc.loopObject(this.subCompEffects, (e) => {
              this.removeCompEft(this.subCompEffects[e], t);
            });
          }
          updateEventArr(t) {
            const [e, n] = [t.id, t.eventArr];
            this.removeEventArr(e);
            for (let t = 0; t < n.length; t++)
              n[t].traverse((t) => {
                t.userData.ceId = e;
              }),
                this.isComType(!0) || this.eventArr.push(n[t]);
          }
          removeEventArr(t) {
            for (let e = this.eventArr.length - 1; e >= 0; e--)
              this.eventArr[e].userData.ceId === t &&
                this.eventArr.splice(e, 1);
          }
          dispose() {
            this.isInit &&
              this.testing() &&
              (this.beforeDispose(this), (this.isInit = !1));
          }
          setRenderSize(t, e) {
            const { nw: n, nh: r, rs: i } = this.getWH(t, e);
            i &&
              (this.isInit && this.renderer.setSize(n, r),
              this.isComType() &&
                this.camera &&
                ((this.camera.aspect = n / r),
                this.camera.updateProjectionMatrix()));
          }
          onAnimate(t) {
            Xc.isFunction(t) && this.subAnimateArr.push(t);
          }
          unAnimate(t) {
            Xc.removeArrItem(this.subAnimateArr, t);
          }
          typeInitiate() {}
          typeRenderers() {}
          typeAddCompEft() {}
          typeRemoveCompEft() {}
          initiate() {
            this.getWH(),
              (this.clock = new THREE.Clock()),
              this._Events.init(this.config.isViewport);
            const [t, e = Xc.getColorArr(t.color)] = [this.config.background];
            (this.renderer = new THREE.WebGLRenderer({
              antialias: !0,
              alpha: !0,
            })),
              this.renderer.setPixelRatio(this.devicePixelRatio),
              this.renderer.setClearColor(e[0], t.opacity),
              this.renderer.setSize(this.width, this.height),
              this.container.appendChild(this.renderer.domElement),
              this.typeInitiate();
          }
          animation(t) {
            for (let e = 0; e < this.subAnimateArr.length; e++)
              this.subAnimateArr[e](t, this.clock);
          }
          renderers() {
            let t = 0;
            const e = () => {
              if (this.isInit) {
                t = window.requestAnimationFrame(e);
                const n = this.clock.getDelta();
                if (n > this.frameLimit) return;
                this.animation(n),
                  this._TWEEN && this._TWEEN.update(),
                  this.config.isShow
                    ? this.typeRenderers(n)
                    : this.isComposer || this.renderer.clear();
              } else window.cancelAnimationFrame(t), this._disposeRender();
            };
            e();
          }
          _disposeRender() {
            this._TWEEN.removeAll(),
              this.renderer.dispose(),
              this.renderer.forceContextLoss(),
              (this.renderer.domElement = null),
              this.composer &&
                (Xc.disposeArr(this.composer.passes),
                Xc.disposeArr(this.composer)),
              Xc.disposeArr(this.subCompEffects),
              this._Events.dispose(),
              this.container.remove(),
              this._disposeValue(),
              this.afterDispose();
          }
          _disposeValue() {
            (this.clock = null),
              (this.renderer = null),
              this.subAnimateArr.splice(0, this.subAnimateArr.length),
              this.subCompEffectArr.splice(0, this.subCompEffectArr.length),
              (this._Events = null),
              (this.container = null),
              (this.parentCont = null),
              this.disposeBase();
          }
          testing() {
            return this.renderer instanceof THREE.WebGLRenderer;
          }
          getWH(t, e) {
            const [n, r, i = !(this.width === n && this.height === r)] = [
              Xc.toNum(t, this.container.offsetWidth),
              Xc.toNum(e, this.container.offsetHeight),
            ];
            return (this.width = n), (this.height = r), { nw: n, nh: r, rs: i };
          }
          parseCts(t) {
            if ("object" != typeof t) return document.getElementById(t);
            let e = Xc.isDomElement(t) ? t : t[0];
            return (e = Xc.isDomElement(e) ? e : null), e;
          }
          creatContainer(t) {
            const [e, n] = [
              document.createElement("div"),
              "width: 100%; height: 100%; overflow: hidden; position: relative !important;",
            ];
            return (e.id = t), (e.style = n), e;
          }
        }
        class Qp extends Jp {
          typeInitiate() {
            this.isComType()
              ? ((this.scene = new THREE.Scene()),
                this.setBackground(this.scene, this.config.background),
                (this.camera = this.creatCamera(
                  this.config.camera,
                  this.width,
                  this.height
                )),
                (this.controls = new THREE.OrbitControls(
                  this.camera,
                  this.container
                )),
                this.setControls(this.controls, this.config.controls),
                (this.camera.userData.target = this.controls.target.clone()),
                this.setLight(this.scene, this.config.light))
              : (this.renderer.autoClear = this.config.isScissor),
              this.setConfigProxy(this._setting);
          }
          typeRenderers(t) {
            this.isComType()
              ? (this.isCtrUpdate &&
                  this.controls.enableDamping &&
                  this.controls.update(),
                this.isComposer
                  ? this.composer.render(t)
                  : this.renderer.render(this.scene, this.camera))
              : this._renderSubScene(t, this.clock);
          }
          typeAddCompEft(t) {
            this.isComType()
              ? ((t.group.name += t.id),
                this.scene.add(t.group),
                this.onAnimate(t.animate))
              : (this._compCtlHandle(t),
                this._compEleHandle(t),
                (t.isViewport = this.config.isViewport));
          }
          typeRemoveCompEft(t, e) {
            this.isComType()
              ? (this.scene.remove(t.group), this.unAnimate(t.animate))
              : ((t.render = null),
                t.config.controls &&
                  t.config.controls.create &&
                  (t.controls.dispose(), (t.controls = null)),
                (t.controlDom = null),
                this.container
                  .querySelector(`#${this._postfix + t.id}`)
                  .remove()),
              e && t.dispose();
          }
          _effectComposer() {
            const t = this.config.composer;
            if (
              ((this.isComposer =
                t.isAntialias || t.isFocus || t.isOutline || t.isBloom),
              !this.isComposer)
            )
              return;
            const e = new THREE.RenderPass(this.scene, this.camera);
            if (
              ((this.composer = new THREE.EffectComposer(this.renderer)),
              (this.composer.renderTarget1.stencilBuffer = !0),
              (this.composer.renderTarget2.stencilBuffer = !0),
              this.composer.setSize(this.width, this.height),
              this.composer.addPass(e),
              t.isAntialias &&
                this.composer.addPass(
                  this._antialiasPass(t.antialiasType, t.antialiasLevel)
                ),
              t.isFocus)
            ) {
              const e = new THREE.ShaderPass(THREE.FocusShader);
              (e.uniforms.screenWidth.value = this.width),
                (e.uniforms.screenHeight.value = this.height),
                (e.uniforms.sampleDistance.value = t.focusVal),
                (e.uniforms.waveFactor.value = t.waveFactor),
                this.composer.addPass(e);
            }
            if (t.isOutline) {
              const e = new THREE.OutlinePass(
                new THREE.Vector2(this.width, this.height),
                this.scene,
                this.camera
              );
              e.visibleEdgeColor.set(t.outlineColor),
                (e.edgeStrength = t.outlineStrength),
                (e.edgeGlow = t.outlineGlow),
                this.composer.addPass(e);
            }
            t.isBloom &&
              this.composer.addPass(
                new THREE.UnrealBloomPass(
                  { x: this.width, y: this.height },
                  t.bloomStrength,
                  t.bloomRadius,
                  t.bloomThreshold
                )
              );
            const n = new THREE.ShaderPass(THREE.CopyShader);
            (n.renderToScreen = !0), this.composer.addPass(n);
          }
          _antialiasPass(t, e) {
            let n;
            if ("smaa" === t) {
              const t = this.renderer.getPixelRatio();
              (n = new THREE.SMAAPass(this.width * t, this.height * t)),
                (n.renderToScreen = !0);
            } else
              (n = new THREE.SSAARenderPass(this.scene, this.camera)),
                (n.unbiased = !1),
                (n.sampleLevel = e);
            return n;
          }
          _renderSubScene(t, e) {
            this.renderer.setScissorTest(!1),
              this.renderer.clear(),
              this.renderer.setScissorTest(!0);
            for (let n = 0; n < this.subCompEffectArr.length; n++) {
              const r = this.subCompEffectArr[n];
              if (!r.config || !r.scene || !r.isShow) continue;
              const i = r.config.element;
              i.__render &&
                (this.config.isViewport &&
                  (this.config.isAnimate &&
                    r.isAnimate &&
                    r.animate.call(r, t, e),
                  r.isCtrUpdate &&
                    r.controls &&
                    r.controls.enableDamping &&
                    r.controls.update()),
                this.renderer.setViewport(i.left, i.top, i.width, i.height),
                this.renderer.setScissor(i.left, i.top, i.width, i.height),
                this.renderer.render(r.scene, r.camera));
            }
          }
          _compCtlHandle(t) {
            const e = t.controls
              ? t.controls.domElement
              : document.createElement("div");
            (e.id = this._postfix + t.id),
              (e.style = this._getElementCss(t.config.element)),
              (t.controlDom = e),
              this.container.appendChild(t.controlDom);
            const n = t.config.controls;
            n &&
              n.create &&
              (t.controls = new THREE.OrbitControls(t.camera, t.controlDom)),
              this.setControls(t.controls, n);
          }
          _compEleHandle(t) {
            const e = t.config.element;
            (e.elRight = e.left + e.width),
              (e.elBottom = e.top + e.height),
              (e.__render =
                e.top < this.height &&
                e.left < this.width &&
                e.elBottom > 0 &&
                e.elRight > 0 &&
                e.width > 0 &&
                e.height > 0),
              this.subCompEffectArr.sort(
                (t, e) => t.config.zIndex - e.config.zIndex
              );
          }
          _getElementCss(t) {
            return `\n            top: ${t.top}px;\n            left: ${t.left}px;\n            width: ${t.width}px;\n            height: ${t.height}px;\n            z-index: ${t.zIndex};\n            position: absolute;\n        `;
          }
          setCompEftElement(t, e) {
            if (this.isComType()) return;
            const n = this.subCompEffects[t];
            if (!n || !e) return;
            Xc.extend(!0, n.config, e), n.onContResize && n.onContResize(e);
            (this.container.querySelector(`#${this._postfix + t}`).style =
              this._getElementCss(n.config.element)),
              this._compEleHandle(n);
          }
          _setting = {
            callback: {
              setParams(t, e, n) {
                switch (n) {
                  case "shadow":
                    this.renderer.shadowMap.enabled = t;
                    break;
                  case "isShow":
                  case "isViewport":
                    for (let e = 0; e < this.subCompEffectArr.length; e++) {
                      const r = this.subCompEffectArr[e];
                      if ("isShow" === n) {
                        const e = t && r.isShow ? "block" : "none";
                        r.controlDom && (r.controlDom.style.display = e);
                      } else r.controls && (r.controls.enabled = t);
                    }
                    break;
                  case "isScissor":
                    this.isComType(!0) && (this.renderer.autoClear = t);
                }
              },
              setBackground(t, e, n) {
                const r = Xc.getColorArr(value.color);
                this.renderer.setClearColor(r[0], value.opacity),
                  "background.type" === n &&
                    this.isComType() &&
                    this.bgTxue[value.type] &&
                    (this.scene.background = this.bgTxue[value.type]);
              },
              setControl(t, e, n) {
                this.isComType() &&
                  this.controls &&
                  this.setControls(this.controls, this.config.controls);
              },
            },
            checkList: {
              shadow: "setParams",
              isShow: "setParams",
              isViewport: "setParams",
              isAnimate: "setParams",
              isScissor: "setParams",
              background: {
                color: "setBackground",
                opacity: "setBackground",
                type: "setBackground",
              },
              controls: { target: "setControl", params: "setControl" },
            },
          };
        }
        function tm(t, e) {
          if (t !== e)
            throw new TypeError("Cannot instantiate an arrow function");
        }
        const em = X.forwardRef(
          function (t, e) {
            var n,
              r,
              i = this;
            tm(this, undefined);
            var o = t.adapter,
              a = (0, X.useRef)();
            (0, X.useImperativeHandle)(
              e,
              function () {
                return (
                  tm(this, i),
                  {
                    render: function () {},
                    getElement: function () {
                      return a.current;
                    },
                  }
                );
              }.bind(this)
            ),
              (0, X.useEffect)(
                function () {
                  tm(this, i), t.callback && t.callback();
                }.bind(this),
                []
              );
            var s = (0, X.useMemo)(
              function () {
                return (
                  tm(this, i),
                  {
                    width: Nf(o.config.basicConfig.width).fullValue,
                    height: Nf(o.config.basicConfig.height).fullValue,
                    backgroundColor: o.config.basicConfig.background.color,
                    borderStyle: "solid",
                    borderColor: (0, za.A)(
                      o,
                      "config.basicConfig.border.color",
                      "transparant"
                    ),
                    borderWidth: Nf(
                      (0, za.A)(o, "config.basicConfig.border.width", 0)
                    ).fullValue,
                  }
                );
              }.bind(this),
              [
                o.config.basicConfig.width,
                o.config.basicConfig.height,
                o.config.basicConfig.background.color,
                null === (n = o.config.basicConfig) ||
                void 0 === n ||
                null === (n = n.border) ||
                void 0 === n
                  ? void 0
                  : n.color,
                null === (r = o.config.basicConfig) ||
                void 0 === r ||
                null === (r = r.border) ||
                void 0 === r
                  ? void 0
                  : r.width,
              ]
            );
            return X.createElement("div", { id: o.id, style: s, ref: a });
          }.bind(void 0)
        );
        function nm(t) {
          return (
            (nm =
              "function" == typeof Symbol && "symbol" == typeof Symbol.iterator
                ? function (t) {
                    return typeof t;
                  }
                : function (t) {
                    return t &&
                      "function" == typeof Symbol &&
                      t.constructor === Symbol &&
                      t !== Symbol.prototype
                      ? "symbol"
                      : typeof t;
                  }),
            nm(t)
          );
        }
        function rm(t, e) {
          for (var n = 0; n < e.length; n++) {
            var r = e[n];
            (r.enumerable = r.enumerable || !1),
              (r.configurable = !0),
              "value" in r && (r.writable = !0),
              Object.defineProperty(t, om(r.key), r);
          }
        }
        function im(t, e, n) {
          return (
            (e = om(e)) in t
              ? Object.defineProperty(t, e, {
                  value: n,
                  enumerable: !0,
                  configurable: !0,
                  writable: !0,
                })
              : (t[e] = n),
            t
          );
        }
        function om(t) {
          var e = (function (t, e) {
            if ("object" != nm(t) || !t) return t;
            var n = t[Symbol.toPrimitive];
            if (void 0 !== n) {
              var r = n.call(t, e || "default");
              if ("object" != nm(r)) return r;
              throw new TypeError(
                "@@toPrimitive must return a primitive value."
              );
            }
            return ("string" === e ? String : Number)(t);
          })(t, "string");
          return "symbol" == nm(e) ? e : e + "";
        }
        var am = (function () {
          return (function (t, e, n) {
            return (
              e && rm(t.prototype, e),
              n && rm(t, n),
              Object.defineProperty(t, "prototype", { writable: !1 }),
              t
            );
          })(
            function t(e, n) {
              !(function (t, e) {
                if (!(t instanceof e))
                  throw new TypeError("Cannot call a class as a function");
              })(this, t),
                (this.isDecorate = n),
                im(this, "_preserveDrawingBuffer", void 0),
                im(this, "engine", void 0),
                (this.engine = e);
            },
            [
              {
                key: "setPreserveDrawingBuffer",
                value: function (t) {
                  try {
                    if (
                      !(
                        (this.isDecorate ||
                          this.engine.webGLBase ||
                          (this.engine.scene && this.engine.camera)) &&
                        this.engine.renderer
                      )
                    )
                      throw new Error("engine is not ready");
                    t
                      ? this._setPreserveDrawingBufferOn()
                      : this._setPreserveDrawingBufferOff();
                  } catch (t) {
                    return !1;
                  }
                  return !0;
                },
              },
              {
                key: "_setDecorateDraw",
                value: function (t) {
                  for (var e in this.engine.scene_Group) {
                    var n = this.engine.scene_Group[e],
                      r = n.userData.config,
                      i = r.background,
                      o = r.element.left,
                      a = r.element.width,
                      s = o + a,
                      c = r.element.top,
                      l = r.element.height,
                      u = c + l;
                    c > t.height ||
                      o > t.width ||
                      u < 0 ||
                      s < 0 ||
                      0 == a ||
                      0 == l ||
                      (this._preserveDrawingBuffer.setViewport(o, c, a, l),
                      this._preserveDrawingBuffer.setScissor(o, c, a, l),
                      this._preserveDrawingBuffer.setClearColor(
                        i.color,
                        i.opacity
                      ),
                      this._preserveDrawingBuffer.render(n, n.userData.camera));
                  }
                },
              },
              {
                key: "_setWebGLBaseDraw",
                value: function () {
                  for (
                    var t = 0;
                    t < this.engine.subComponentsArr.length;
                    t++
                  ) {
                    var e = this.engine.subComponentsArr[t],
                      n = e.config.element;
                    e.scene &&
                      n.__render &&
                      e.isShow &&
                      (this._preserveDrawingBuffer.setViewport(
                        n.left,
                        n.top,
                        n.width,
                        n.height
                      ),
                      this._preserveDrawingBuffer.setScissor(
                        n.left,
                        n.top,
                        n.width,
                        n.height
                      ),
                      this._preserveDrawingBuffer.render(e.scene, e.camera));
                  }
                },
              },
              {
                key: "_setPreserveDrawingBufferOn",
                value: function () {
                  this._preserveDrawingBuffer &&
                    this._setPreserveDrawingBufferOff();
                  var t = this.engine.renderer,
                    e = t.getSize(),
                    n = Q()(t.domElement),
                    r = n.parent(),
                    i = this.getLib("THREE");
                  if (
                    ((this._preserveDrawingBuffer = new i.WebGLRenderer({
                      preserveDrawingBuffer: !0,
                      antialias: !0,
                      alpha: !0,
                    })),
                    r.append(this._preserveDrawingBuffer.domElement),
                    (this._preserveDrawingBuffer.shadowMap.enabled =
                      t.shadowMap.enabled),
                    this._preserveDrawingBuffer.setClearColor(
                      t.getClearColor(),
                      t.getClearAlpha()
                    ),
                    this._preserveDrawingBuffer.setSize(e.width, e.height),
                    (this._preserveDrawingBuffer.autoClear = t.autoClear),
                    this._preserveDrawingBuffer.setPixelRatio(1),
                    this._preserveDrawingBuffer.domElement.setAttribute(
                      "style",
                      n.attr("style")
                    ),
                    (this.isDecorate && this.engine.scene_Group) ||
                      (this.engine.webGLBase && this.engine.subComponentsArr))
                  )
                    this._preserveDrawingBuffer.setScissorTest(!1),
                      this._preserveDrawingBuffer.clear(),
                      this._preserveDrawingBuffer.setScissorTest(!0),
                      this.isDecorate
                        ? this._setDecorateDraw(e)
                        : this._setWebGLBaseDraw();
                  else {
                    if (!this.isWebgl || !this.engine.scene)
                      throw new Error("unknow webglTpye");
                    this._preserveDrawingBuffer.render(
                      this.engine.scene,
                      this.engine.camera
                    );
                  }
                  n.hide();
                },
              },
              {
                key: "_setPreserveDrawingBufferOff",
                value: function () {
                  if (!this._preserveDrawingBuffer)
                    throw new Error(
                      "cannot off preserveDrawingBuffer before on"
                    );
                  var t = this.engine.renderer,
                    e = Q()(t.domElement);
                  Q()(this._preserveDrawingBuffer.domElement).remove(),
                    e.show(),
                    this._preserveDrawingBuffer.dispose(),
                    this._preserveDrawingBuffer.forceContextLoss(),
                    (this._preserveDrawingBuffer.domElement = null),
                    (this._preserveDrawingBuffer = null);
                },
              },
            ]
          );
        })();
        function sm(t) {
          return (
            (sm =
              "function" == typeof Symbol && "symbol" == typeof Symbol.iterator
                ? function (t) {
                    return typeof t;
                  }
                : function (t) {
                    return t &&
                      "function" == typeof Symbol &&
                      t.constructor === Symbol &&
                      t !== Symbol.prototype
                      ? "symbol"
                      : typeof t;
                  }),
            sm(t)
          );
        }
        function cm(t, e) {
          if (t !== e)
            throw new TypeError("Cannot instantiate an arrow function");
        }
        function lm(t, e) {
          for (var n = 0; n < e.length; n++) {
            var r = e[n];
            (r.enumerable = r.enumerable || !1),
              (r.configurable = !0),
              "value" in r && (r.writable = !0),
              Object.defineProperty(t, gm(r.key), r);
          }
        }
        function um(t, e, n) {
          return (
            (e = pm(e)),
            (function (t, e) {
              if (e && ("object" == sm(e) || "function" == typeof e)) return e;
              if (void 0 !== e)
                throw new TypeError(
                  "Derived constructors may only return object or undefined"
                );
              return (function (t) {
                if (void 0 === t)
                  throw new ReferenceError(
                    "this hasn't been initialised - super() hasn't been called"
                  );
                return t;
              })(t);
            })(
              t,
              fm()
                ? Reflect.construct(e, n || [], pm(t).constructor)
                : e.apply(t, n)
            )
          );
        }
        function fm() {
          try {
            var t = !Boolean.prototype.valueOf.call(
              Reflect.construct(Boolean, [], function () {})
            );
          } catch (t) {}
          return (fm = function () {
            return !!t;
          })();
        }
        function dm(t, e, n, r) {
          var i = hm(pm(1 & r ? t.prototype : t), e, n);
          return 2 & r && "function" == typeof i
            ? function (t) {
                return i.apply(n, t);
              }
            : i;
        }
        function hm() {
          return (
            (hm =
              "undefined" != typeof Reflect && Reflect.get
                ? Reflect.get.bind()
                : function (t, e, n) {
                    var r = (function (t, e) {
                      for (
                        ;
                        !{}.hasOwnProperty.call(t, e) && null !== (t = pm(t));

                      );
                      return t;
                    })(t, e);
                    if (r) {
                      var i = Object.getOwnPropertyDescriptor(r, e);
                      return i.get
                        ? i.get.call(arguments.length < 3 ? t : n)
                        : i.value;
                    }
                  }),
            hm.apply(null, arguments)
          );
        }
        function pm(t) {
          return (
            (pm = Object.setPrototypeOf
              ? Object.getPrototypeOf.bind()
              : function (t) {
                  return t.__proto__ || Object.getPrototypeOf(t);
                }),
            pm(t)
          );
        }
        function mm(t, e) {
          return (
            (mm = Object.setPrototypeOf
              ? Object.setPrototypeOf.bind()
              : function (t, e) {
                  return (t.__proto__ = e), t;
                }),
            mm(t, e)
          );
        }
        function vm(t, e, n) {
          return (
            (e = gm(e)) in t
              ? Object.defineProperty(t, e, {
                  value: n,
                  enumerable: !0,
                  configurable: !0,
                  writable: !0,
                })
              : (t[e] = n),
            t
          );
        }
        function gm(t) {
          var e = (function (t, e) {
            if ("object" != sm(t) || !t) return t;
            var n = t[Symbol.toPrimitive];
            if (void 0 !== n) {
              var r = n.call(t, e || "default");
              if ("object" != sm(r)) return r;
              throw new TypeError(
                "@@toPrimitive must return a primitive value."
              );
            }
            return ("string" === e ? String : Number)(t);
          })(t, "string");
          return "symbol" == sm(e) ? e : e + "";
        }
        function ym(t) {
          return (function (t) {
            function e(t, n) {
              var r;
              return (
                (function (t, e) {
                  if (!(t instanceof e))
                    throw new TypeError("Cannot call a class as a function");
                })(this, e),
                vm((r = um(this, e, [t, n])), "webGLBase", void 0),
                vm(r, "cacheKey", void 0),
                vm(r, "webglCountLimit", !0),
                vm(r, "isWebgl", !0),
                vm(r, "_reactRoot", void 0),
                vm(r, "view", X.createRef()),
                r
              );
            }
            return (
              (function (t, e) {
                if ("function" != typeof e && null !== e)
                  throw new TypeError(
                    "Super expression must either be null or a function"
                  );
                (t.prototype = Object.create(e && e.prototype, {
                  constructor: { value: t, writable: !0, configurable: !0 },
                })),
                  Object.defineProperty(t, "prototype", { writable: !1 }),
                  e && mm(t, e);
              })(e, t),
              (function (t, e, n) {
                return (
                  e && lm(t.prototype, e),
                  n && lm(t, n),
                  Object.defineProperty(t, "prototype", { writable: !1 }),
                  t
                );
              })(e, [
                {
                  key: "init",
                  value: function () {
                    return dm(e, "init", this, 3)([]);
                  },
                },
                {
                  key: "mount",
                  value: function (t) {
                    var e = this;
                    return new Promise(
                      function (n) {
                        var r = this;
                        cm(this, e),
                          this._reactRoot ||
                            (this._reactRoot = (0, Y.createRoot)(t[0])),
                          this._reactRoot.render(
                            X.createElement(em, {
                              adapter: this,
                              ref: this.view,
                              callback: function () {
                                cm(this, r),
                                  (this.$element = Q()(
                                    this.view.current.getElement()
                                  )),
                                  n(this);
                              }.bind(this),
                            })
                          ),
                          t.css({
                            left: Nf(this.config.left).fullValue,
                            top: Nf(this.config.top).fullValue,
                          });
                      }.bind(this)
                    );
                  },
                },
                {
                  key: "show",
                  value: function () {
                    dm(e, "show", this, 3)([]),
                      null == this ||
                        this.webGLBase.setComponentOptions(this.id, {
                          isShow: !0,
                        });
                  },
                },
                {
                  key: "hide",
                  value: function () {
                    dm(e, "hide", this, 3)([]),
                      null == this ||
                        this.webGLBase.setComponentOptions(this.id, {
                          isShow: !1,
                        });
                  },
                },
                {
                  key: "destroy",
                  value: function () {
                    dm(e, "destroy", this, 3)([]),
                      null == this || this.webGLBase.dispose(),
                      (this.webGLBase = null);
                  },
                },
                {
                  key: "resize",
                  value: function (t, n) {
                    dm(e, "resize", this, 3)([t, n]),
                      this.updateWebGLBasePosition();
                  },
                },
                {
                  key: "updateConfig",
                  value: function (t, n) {
                    switch ((dm(e, "updateConfig", this, 3)([t, n]), t)) {
                      case "width":
                      case "height":
                      case "top":
                      case "left":
                      case "zIndex":
                        this.updateWebGLBasePosition();
                    }
                  },
                },
                {
                  key: "setPreserveDrawingBuffer",
                  value: function (t) {
                    return new am(
                      this.webGLBase,
                      this.isDecorate
                    ).setPreserveDrawingBuffer(t);
                  },
                },
                {
                  key: "createWebGLBase",
                  value: function () {
                    var t = this,
                      e = new Qp();
                    this.webGLBase = e;
                    this.id, this.id;
                    e.init(
                      {
                        id: this.id,
                        cts: this.$element,
                        isScissor: !1,
                        shadow: !0,
                        containerType: 0,
                        renderType: 1,
                        isAnimat: !0,
                        isViewport: !0,
                      },
                      function (e) {
                        cm(this, t);
                        var n = "WebGLBase ".concat(
                          K.get("system.webgl_init_error_1")
                        );
                        switch (e) {
                          case 1:
                            n = K.get("system.webgl_init_error_1");
                            break;
                          case 2:
                            n = K.get("system.webgl_init_no_surport");
                        }
                        (0, zr.errorModal)({
                          content: n,
                          getContainer: document.getElementById(
                            "designer__container-right-panel"
                          ),
                        });
                      }.bind(this)
                    ),
                      e.setRenderSize(
                        Nf(this.config.width).value,
                        Nf(this.config.height).value
                      );
                  },
                },
                {
                  key: "addToWebGLBase",
                  value: function (t) {
                    this.webGLBase.addCompEft(t);
                  },
                },
                {
                  key: "getViewConfig",
                  value: function () {
                    var t, e;
                    return (
                      1 !== this.config.containerType
                        ? ((t = 0), (e = 0))
                        : ((t = Nf(this.config.top).value || 0),
                          (e = Nf(this.config.left).value || 0)),
                      {
                        element: {
                          width: Nf(this.config.width).value,
                          height: Nf(this.config.height).value,
                          top: t,
                          left: e,
                        },
                        id: this.id,
                        type: this.type,
                        zIndex: this.config.zIndex || 0,
                      }
                    );
                  },
                },
                {
                  key: "updateWebGLBasePosition",
                  value: function () {
                    var t = this.getViewConfig();
                    0 === this.webGLBase.config.containerType &&
                      this.webGLBase.setRenderSize(
                        t.element.width,
                        t.element.height
                      ),
                      this.webGLBase.setCompEftElement(this.id, t);
                  },
                },
              ])
            );
          })(t);
        }
        function bm(t) {
          return (
            (bm =
              "function" == typeof Symbol && "symbol" == typeof Symbol.iterator
                ? function (t) {
                    return typeof t;
                  }
                : function (t) {
                    return t &&
                      "function" == typeof Symbol &&
                      t.constructor === Symbol &&
                      t !== Symbol.prototype
                      ? "symbol"
                      : typeof t;
                  }),
            bm(t)
          );
        }
        function Vm(t, e) {
          var n = Object.keys(t);
          if (Object.getOwnPropertySymbols) {
            var r = Object.getOwnPropertySymbols(t);
            e &&
              (r = r.filter(function (e) {
                return Object.getOwnPropertyDescriptor(t, e).enumerable;
              })),
              n.push.apply(n, r);
          }
          return n;
        }
        function _m(t) {
          for (var e = 1; e < arguments.length; e++) {
            var n = null != arguments[e] ? arguments[e] : {};
            e % 2
              ? Vm(Object(n), !0).forEach(function (e) {
                  xm(t, e, n[e]);
                })
              : Object.getOwnPropertyDescriptors
              ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(n))
              : Vm(Object(n)).forEach(function (e) {
                  Object.defineProperty(
                    t,
                    e,
                    Object.getOwnPropertyDescriptor(n, e)
                  );
                });
          }
          return t;
        }
        function wm(t, e) {
          if (t !== e)
            throw new TypeError("Cannot instantiate an arrow function");
        }
        function Sm(t, e) {
          for (var n = 0; n < e.length; n++) {
            var r = e[n];
            (r.enumerable = r.enumerable || !1),
              (r.configurable = !0),
              "value" in r && (r.writable = !0),
              Object.defineProperty(t, km(r.key), r);
          }
        }
        function Em(t, e, n) {
          return (
            (e = Cm(e)),
            (function (t, e) {
              if (e && ("object" == bm(e) || "function" == typeof e)) return e;
              if (void 0 !== e)
                throw new TypeError(
                  "Derived constructors may only return object or undefined"
                );
              return (function (t) {
                if (void 0 === t)
                  throw new ReferenceError(
                    "this hasn't been initialised - super() hasn't been called"
                  );
                return t;
              })(t);
            })(
              t,
              Am()
                ? Reflect.construct(e, n || [], Cm(t).constructor)
                : e.apply(t, n)
            )
          );
        }
        function Am() {
          try {
            var t = !Boolean.prototype.valueOf.call(
              Reflect.construct(Boolean, [], function () {})
            );
          } catch (t) {}
          return (Am = function () {
            return !!t;
          })();
        }
        function Tm(t, e, n, r) {
          var i = Om(Cm(1 & r ? t.prototype : t), e, n);
          return 2 & r && "function" == typeof i
            ? function (t) {
                return i.apply(n, t);
              }
            : i;
        }
        function Om() {
          return (
            (Om =
              "undefined" != typeof Reflect && Reflect.get
                ? Reflect.get.bind()
                : function (t, e, n) {
                    var r = (function (t, e) {
                      for (
                        ;
                        !{}.hasOwnProperty.call(t, e) && null !== (t = Cm(t));

                      );
                      return t;
                    })(t, e);
                    if (r) {
                      var i = Object.getOwnPropertyDescriptor(r, e);
                      return i.get
                        ? i.get.call(arguments.length < 3 ? t : n)
                        : i.value;
                    }
                  }),
            Om.apply(null, arguments)
          );
        }
        function Cm(t) {
          return (
            (Cm = Object.setPrototypeOf
              ? Object.getPrototypeOf.bind()
              : function (t) {
                  return t.__proto__ || Object.getPrototypeOf(t);
                }),
            Cm(t)
          );
        }
        function Pm(t, e) {
          return (
            (Pm = Object.setPrototypeOf
              ? Object.setPrototypeOf.bind()
              : function (t, e) {
                  return (t.__proto__ = e), t;
                }),
            Pm(t, e)
          );
        }
        function xm(t, e, n) {
          return (
            (e = km(e)) in t
              ? Object.defineProperty(t, e, {
                  value: n,
                  enumerable: !0,
                  configurable: !0,
                  writable: !0,
                })
              : (t[e] = n),
            t
          );
        }
        function km(t) {
          var e = (function (t, e) {
            if ("object" != bm(t) || !t) return t;
            var n = t[Symbol.toPrimitive];
            if (void 0 !== n) {
              var r = n.call(t, e || "default");
              if ("object" != bm(r)) return r;
              throw new TypeError(
                "@@toPrimitive must return a primitive value."
              );
            }
            return ("string" === e ? String : Number)(t);
          })(t, "string");
          return "symbol" == bm(e) ? e : e + "";
        }
        var Im = { leading: !0, trailing: !0 };
        function jm(t) {
          return (
            (jm =
              "function" == typeof Symbol && "symbol" == typeof Symbol.iterator
                ? function (t) {
                    return typeof t;
                  }
                : function (t) {
                    return t &&
                      "function" == typeof Symbol &&
                      t.constructor === Symbol &&
                      t !== Symbol.prototype
                      ? "symbol"
                      : typeof t;
                  }),
            jm(t)
          );
        }
        function Rm(t, e) {
          if (t !== e)
            throw new TypeError("Cannot instantiate an arrow function");
        }
        function Dm(t, e) {
          for (var n = 0; n < e.length; n++) {
            var r = e[n];
            (r.enumerable = r.enumerable || !1),
              (r.configurable = !0),
              "value" in r && (r.writable = !0),
              Object.defineProperty(t, Lm(r.key), r);
          }
        }
        function Lm(t) {
          var e = (function (t, e) {
            if ("object" != jm(t) || !t) return t;
            var n = t[Symbol.toPrimitive];
            if (void 0 !== n) {
              var r = n.call(t, e || "default");
              if ("object" != jm(r)) return r;
              throw new TypeError(
                "@@toPrimitive must return a primitive value."
              );
            }
            return ("string" === e ? String : Number)(t);
          })(t, "string");
          return "symbol" == jm(e) ? e : e + "";
        }
        function Mm(t, e, n) {
          return (
            (e = $m(e)),
            (function (t, e) {
              if (e && ("object" == jm(e) || "function" == typeof e)) return e;
              if (void 0 !== e)
                throw new TypeError(
                  "Derived constructors may only return object or undefined"
                );
              return (function (t) {
                if (void 0 === t)
                  throw new ReferenceError(
                    "this hasn't been initialised - super() hasn't been called"
                  );
                return t;
              })(t);
            })(
              t,
              Nm()
                ? Reflect.construct(e, n || [], $m(t).constructor)
                : e.apply(t, n)
            )
          );
        }
        function Nm() {
          try {
            var t = !Boolean.prototype.valueOf.call(
              Reflect.construct(Boolean, [], function () {})
            );
          } catch (t) {}
          return (Nm = function () {
            return !!t;
          })();
        }
        function $m(t) {
          return (
            ($m = Object.setPrototypeOf
              ? Object.getPrototypeOf.bind()
              : function (t) {
                  return t.__proto__ || Object.getPrototypeOf(t);
                }),
            $m(t)
          );
        }
        function Bm(t, e) {
          return (
            (Bm = Object.setPrototypeOf
              ? Object.setPrototypeOf.bind()
              : function (t, e) {
                  return (t.__proto__ = e), t;
                }),
            Bm(t, e)
          );
        }
        function Um(t, e, n, r, i) {
          var o = {};
          return (
            Object.keys(r).forEach(function (t) {
              o[t] = r[t];
            }),
            (o.enumerable = !!o.enumerable),
            (o.configurable = !!o.configurable),
            ("value" in o || o.initializer) && (o.writable = !0),
            (o = n
              .slice()
              .reverse()
              .reduce(function (n, r) {
                return r(t, e, n) || n;
              }, o)),
            i &&
              void 0 !== o.initializer &&
              ((o.value = o.initializer ? o.initializer.call(i) : void 0),
              (o.initializer = void 0)),
            void 0 === o.initializer
              ? (Object.defineProperty(t, e, o), null)
              : o
          );
        }
        var Fm = n(65848);
        function Hm(t) {
          return (0, Fm.F0)(t);
        }
        function Gm(t, e) {
          if (t !== e)
            throw new TypeError("Cannot instantiate an arrow function");
        }
        function Wm(t) {
          return (
            (Wm =
              "function" == typeof Symbol && "symbol" == typeof Symbol.iterator
                ? function (t) {
                    return typeof t;
                  }
                : function (t) {
                    return t &&
                      "function" == typeof Symbol &&
                      t.constructor === Symbol &&
                      t !== Symbol.prototype
                      ? "symbol"
                      : typeof t;
                  }),
            Wm(t)
          );
        }
        function zm(t, e) {
          var n = Object.keys(t);
          if (Object.getOwnPropertySymbols) {
            var r = Object.getOwnPropertySymbols(t);
            e &&
              (r = r.filter(function (e) {
                return Object.getOwnPropertyDescriptor(t, e).enumerable;
              })),
              n.push.apply(n, r);
          }
          return n;
        }
        function qm(t) {
          for (var e = 1; e < arguments.length; e++) {
            var n = null != arguments[e] ? arguments[e] : {};
            e % 2
              ? zm(Object(n), !0).forEach(function (e) {
                  Ym(t, e, n[e]);
                })
              : Object.getOwnPropertyDescriptors
              ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(n))
              : zm(Object(n)).forEach(function (e) {
                  Object.defineProperty(
                    t,
                    e,
                    Object.getOwnPropertyDescriptor(n, e)
                  );
                });
          }
          return t;
        }
        function Xm(t, e) {
          for (var n = 0; n < e.length; n++) {
            var r = e[n];
            (r.enumerable = r.enumerable || !1),
              (r.configurable = !0),
              "value" in r && (r.writable = !0),
              Object.defineProperty(t, Km(r.key), r);
          }
        }
        function Ym(t, e, n) {
          return (
            (e = Km(e)) in t
              ? Object.defineProperty(t, e, {
                  value: n,
                  enumerable: !0,
                  configurable: !0,
                  writable: !0,
                })
              : (t[e] = n),
            t
          );
        }
        function Km(t) {
          var e = (function (t, e) {
            if ("object" != Wm(t) || !t) return t;
            var n = t[Symbol.toPrimitive];
            if (void 0 !== n) {
              var r = n.call(t, e || "default");
              if ("object" != Wm(r)) return r;
              throw new TypeError(
                "@@toPrimitive must return a primitive value."
              );
            }
            return ("string" === e ? String : Number)(t);
          })(t, "string");
          return "symbol" == Wm(e) ? e : e + "";
        }
        var Zm = (function () {
          return (function (t, e, n) {
            return (
              e && Xm(t.prototype, e),
              n && Xm(t, n),
              Object.defineProperty(t, "prototype", { writable: !1 }),
              t
            );
          })(
            function t(e, n) {
              !(function (t, e) {
                if (!(t instanceof e))
                  throw new TypeError("Cannot call a class as a function");
              })(this, t),
                Ym(this, "instance", null),
                (this.instance = n ? new e(n) : new e());
            },
            [
              {
                key: "init",
                value: function (t) {
                  this.instance.init(t);
                },
              },
              {
                key: "setOption",
                value: function (t, e) {
                  e
                    ? this.instance.setConfig("layerPort", {
                        type: "option",
                        item: e,
                        params: t,
                      })
                    : this.instance.setConfig("option", t);
                },
              },
              {
                key: "renderOnce",
                value: function () {
                  this.instance.setConfig("renderOnce");
                },
              },
              {
                key: "destroy",
                value: function () {
                  this.instance.dispose();
                },
              },
              {
                key: "addLifeCycleListener",
                value: function (t, e) {
                  var n =
                      arguments.length > 2 && void 0 !== arguments[2]
                        ? arguments[2]
                        : null,
                    r =
                      arguments.length > 3 &&
                      void 0 !== arguments[3] &&
                      arguments[3];
                  n
                    ? this.instance.setConfig("layerPort", {
                        item: n,
                        type: "listener",
                        params: { name: t, callback: e, triggerOnece: r },
                      })
                    : this.instance.setConfig("listener", {
                        name: t,
                        callback: e,
                        triggerOnece: r,
                      });
                },
              },
              {
                key: "addEventListener",
                value: function (t, e) {
                  var n =
                      arguments.length > 2 && void 0 !== arguments[2]
                        ? arguments[2]
                        : null,
                    r =
                      arguments.length > 3 &&
                      void 0 !== arguments[3] &&
                      arguments[3];
                  n
                    ? this.instance.setConfig("layerPort", {
                        item: n,
                        type: "event",
                        params: { name: t, callback: e, triggerOnece: r },
                      })
                    : this.instance.setConfig("event", {
                        name: t,
                        callback: e,
                        triggerOnece: r,
                      });
                },
              },
              {
                key: "removeEventListener",
                value: function (t, e) {
                  this.instance.unbind(t, e);
                },
              },
              {
                key: "show",
                value: function (t) {
                  var e =
                    arguments.length > 1 && void 0 !== arguments[1]
                      ? arguments[1]
                      : null;
                  e
                    ? this.instance.setConfig("layerPort", {
                        item: e,
                        type: "show",
                        params: qm({}, t),
                      })
                    : this.instance.setConfig("show", t);
                },
              },
              {
                key: "hide",
                value: function (t) {
                  var e =
                    arguments.length > 1 && void 0 !== arguments[1]
                      ? arguments[1]
                      : null;
                  e
                    ? this.instance.setConfig("layerPort", {
                        item: e,
                        type: "hide",
                        params: qm({}, t),
                      })
                    : this.instance.setConfig("hide", t);
                },
              },
              {
                key: "addAnimate",
                value: function (t) {
                  this.instance.setConfig("animate", { callback: t });
                },
              },
              {
                key: "getConfig",
                value: function (t, e) {
                  return e
                    ? this.instance.getConfig(t, e)
                    : this.instance.getConfig(t);
                },
              },
              {
                key: "getInstance",
                value: function () {
                  return this.instance;
                },
              },
            ]
          );
        })();
        function Jm(t) {
          return (
            (Jm =
              "function" == typeof Symbol && "symbol" == typeof Symbol.iterator
                ? function (t) {
                    return typeof t;
                  }
                : function (t) {
                    return t &&
                      "function" == typeof Symbol &&
                      t.constructor === Symbol &&
                      t !== Symbol.prototype
                      ? "symbol"
                      : typeof t;
                  }),
            Jm(t)
          );
        }
        function Qm(t, e) {
          if (t !== e)
            throw new TypeError("Cannot instantiate an arrow function");
        }
        function tv(t, e) {
          var n = Object.keys(t);
          if (Object.getOwnPropertySymbols) {
            var r = Object.getOwnPropertySymbols(t);
            e &&
              (r = r.filter(function (e) {
                return Object.getOwnPropertyDescriptor(t, e).enumerable;
              })),
              n.push.apply(n, r);
          }
          return n;
        }
        function ev(t) {
          for (var e = 1; e < arguments.length; e++) {
            var n = null != arguments[e] ? arguments[e] : {};
            e % 2
              ? tv(Object(n), !0).forEach(function (e) {
                  nv(t, e, n[e]);
                })
              : Object.getOwnPropertyDescriptors
              ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(n))
              : tv(Object(n)).forEach(function (e) {
                  Object.defineProperty(
                    t,
                    e,
                    Object.getOwnPropertyDescriptor(n, e)
                  );
                });
          }
          return t;
        }
        function nv(t, e, n) {
          return (
            (e = iv(e)) in t
              ? Object.defineProperty(t, e, {
                  value: n,
                  enumerable: !0,
                  configurable: !0,
                  writable: !0,
                })
              : (t[e] = n),
            t
          );
        }
        function rv(t, e) {
          for (var n = 0; n < e.length; n++) {
            var r = e[n];
            (r.enumerable = r.enumerable || !1),
              (r.configurable = !0),
              "value" in r && (r.writable = !0),
              Object.defineProperty(t, iv(r.key), r);
          }
        }
        function iv(t) {
          var e = (function (t, e) {
            if ("object" != Jm(t) || !t) return t;
            var n = t[Symbol.toPrimitive];
            if (void 0 !== n) {
              var r = n.call(t, e || "default");
              if ("object" != Jm(r)) return r;
              throw new TypeError(
                "@@toPrimitive must return a primitive value."
              );
            }
            return ("string" === e ? String : Number)(t);
          })(t, "string");
          return "symbol" == Jm(e) ? e : e + "";
        }
        function ov(t, e, n) {
          return (
            (e = sv(e)),
            (function (t, e) {
              if (e && ("object" == Jm(e) || "function" == typeof e)) return e;
              if (void 0 !== e)
                throw new TypeError(
                  "Derived constructors may only return object or undefined"
                );
              return (function (t) {
                if (void 0 === t)
                  throw new ReferenceError(
                    "this hasn't been initialised - super() hasn't been called"
                  );
                return t;
              })(t);
            })(
              t,
              av()
                ? Reflect.construct(e, n || [], sv(t).constructor)
                : e.apply(t, n)
            )
          );
        }
        function av() {
          try {
            var t = !Boolean.prototype.valueOf.call(
              Reflect.construct(Boolean, [], function () {})
            );
          } catch (t) {}
          return (av = function () {
            return !!t;
          })();
        }
        function sv(t) {
          return (
            (sv = Object.setPrototypeOf
              ? Object.getPrototypeOf.bind()
              : function (t) {
                  return t.__proto__ || Object.getPrototypeOf(t);
                }),
            sv(t)
          );
        }
        function cv(t, e) {
          return (
            (cv = Object.setPrototypeOf
              ? Object.setPrototypeOf.bind()
              : function (t, e) {
                  return (t.__proto__ = e), t;
                }),
            cv(t, e)
          );
        }
        var lv = (function (t) {
          function e() {
            return (
              (function (t, e) {
                if (!(t instanceof e))
                  throw new TypeError("Cannot call a class as a function");
              })(this, e),
              ov(this, e, arguments)
            );
          }
          return (
            (function (t, e) {
              if ("function" != typeof e && null !== e)
                throw new TypeError(
                  "Super expression must either be null or a function"
                );
              (t.prototype = Object.create(e && e.prototype, {
                constructor: { value: t, writable: !0, configurable: !0 },
              })),
                Object.defineProperty(t, "prototype", { writable: !1 }),
                e && cv(t, e);
            })(e, t),
            (function (t, e, n) {
              return (
                e && rv(t.prototype, e),
                n && rv(t, n),
                Object.defineProperty(t, "prototype", { writable: !1 }),
                t
              );
            })(e, [
              {
                key: "getCacheData",
                value: function (t) {
                  return (function (t) {
                    return $o.A.webglData.where({ id: t }).toArray();
                  })(t);
                },
              },
              {
                key: "setCacheData",
                value: function (t) {
                  !(function (t) {
                    var e = this;
                    t.content &&
                      $o.A.webglData
                        .where({ id: t.id })
                        .toArray()
                        .then(
                          function (n) {
                            Gm(this, e),
                              n[0]
                                ? ((n[0].content = t.content),
                                  $o.A.webglData.update(n[0].id, n[0]))
                                : $o.A.webglData.add(t);
                          }.bind(this)
                        );
                  })(t);
                },
              },
              {
                key: "deleteCacheData",
                value: function (t) {
                  !(function (t) {
                    $o.A.webglData.delete(t);
                  })(t);
                },
              },
              {
                key: "deleteAllCache",
                value: function (t) {
                  !(function (t) {
                    var e = this;
                    $o.A.webglData
                      .toCollection()
                      .filter(
                        function (n) {
                          return Gm(this, e), pe.A.startsWith(n.id, t);
                        }.bind(this)
                      )
                      .delete();
                  })(t);
                },
              },
              {
                key: "resize",
                value: function (t, e) {
                  var n = this.getConfig("option");
                  this.setOption({
                    element: ev(ev({}, n.element), {}, { width: t, height: e }),
                  });
                },
              },
              {
                key: "addChild",
                value: function (t) {
                  this.instance.setConfig("addLayer", t);
                },
              },
              {
                key: "removeChild",
                value: function (t) {
                  this.instance.setConfig("removeLayer", t);
                },
              },
              {
                key: "removeAllChild",
                value: function () {
                  this.instance.setConfig("removeAll");
                },
              },
              {
                key: "updateOrder",
                value: function (t) {
                  this.instance.setConfig("layerOrder", { layerArr: t });
                },
              },
              {
                key: "updateName",
                value: function (t, e) {
                  this.instance.setConfig("layerName", { item: t, name: e });
                },
              },
              {
                key: "setData",
                value: function (t, e) {
                  e
                    ? this.instance.setConfig("layerData", { item: e, data: t })
                    : "geoArray" in t
                    ? this.instance.setMapData(t.mapData, t.geoArray)
                    : this.instance.setMapData(t);
                },
              },
              {
                key: "updateCamera",
                value: function (t) {
                  this.instance.setConfig("camera", t);
                },
              },
              {
                key: "fetchBaseData",
                value: async function (t) {
                  var e = this,
                    n = t.comId,
                    r = t.jsonId,
                    i =
                      arguments.length > 1 && void 0 !== arguments[1]
                        ? arguments[1]
                        : "json";
                  if ("runtime" === st.o9.Runtime) {
                    var o = await this.getCacheData(
                      ""
                        .concat(n, "-")
                        .concat(r, "-")
                        .concat(K.getCurrentLanguage())
                    );
                    if (0 !== o.length) return Promise.resolve(o[0].content);
                  }
                  return "json" === i
                    ? pl.mapService.fetchGeoJson(r).then(
                        function (t) {
                          return Qm(this, e), this.parse(t);
                        }.bind(this)
                      )
                    : (0, V.get)(r).then(
                        function (t) {
                          return Qm(this, e), this.parse(t);
                        }.bind(this)
                      );
                },
              },
              {
                key: "parse",
                value: function (t) {
                  return this.instance.Parser.parser(t);
                },
              },
            ])
          );
        })(Zm);
        function uv(t) {
          return (
            (uv =
              "function" == typeof Symbol && "symbol" == typeof Symbol.iterator
                ? function (t) {
                    return typeof t;
                  }
                : function (t) {
                    return t &&
                      "function" == typeof Symbol &&
                      t.constructor === Symbol &&
                      t !== Symbol.prototype
                      ? "symbol"
                      : typeof t;
                  }),
            uv(t)
          );
        }
        function fv(t, e) {
          for (var n = 0; n < e.length; n++) {
            var r = e[n];
            (r.enumerable = r.enumerable || !1),
              (r.configurable = !0),
              "value" in r && (r.writable = !0),
              Object.defineProperty(t, dv(r.key), r);
          }
        }
        function dv(t) {
          var e = (function (t, e) {
            if ("object" != uv(t) || !t) return t;
            var n = t[Symbol.toPrimitive];
            if (void 0 !== n) {
              var r = n.call(t, e || "default");
              if ("object" != uv(r)) return r;
              throw new TypeError(
                "@@toPrimitive must return a primitive value."
              );
            }
            return ("string" === e ? String : Number)(t);
          })(t, "string");
          return "symbol" == uv(e) ? e : e + "";
        }
        function hv(t, e, n) {
          return (
            (e = mv(e)),
            (function (t, e) {
              if (e && ("object" == uv(e) || "function" == typeof e)) return e;
              if (void 0 !== e)
                throw new TypeError(
                  "Derived constructors may only return object or undefined"
                );
              return (function (t) {
                if (void 0 === t)
                  throw new ReferenceError(
                    "this hasn't been initialised - super() hasn't been called"
                  );
                return t;
              })(t);
            })(
              t,
              pv()
                ? Reflect.construct(e, n || [], mv(t).constructor)
                : e.apply(t, n)
            )
          );
        }
        function pv() {
          try {
            var t = !Boolean.prototype.valueOf.call(
              Reflect.construct(Boolean, [], function () {})
            );
          } catch (t) {}
          return (pv = function () {
            return !!t;
          })();
        }
        function mv(t) {
          return (
            (mv = Object.setPrototypeOf
              ? Object.getPrototypeOf.bind()
              : function (t) {
                  return t.__proto__ || Object.getPrototypeOf(t);
                }),
            mv(t)
          );
        }
        function vv(t, e) {
          return (
            (vv = Object.setPrototypeOf
              ? Object.setPrototypeOf.bind()
              : function (t, e) {
                  return (t.__proto__ = e), t;
                }),
            vv(t, e)
          );
        }
        var gv = (function (t) {
          function e() {
            return (
              (function (t, e) {
                if (!(t instanceof e))
                  throw new TypeError("Cannot call a class as a function");
              })(this, e),
              hv(this, e, arguments)
            );
          }
          return (
            (function (t, e) {
              if ("function" != typeof e && null !== e)
                throw new TypeError(
                  "Super expression must either be null or a function"
                );
              (t.prototype = Object.create(e && e.prototype, {
                constructor: { value: t, writable: !0, configurable: !0 },
              })),
                Object.defineProperty(t, "prototype", { writable: !1 }),
                e && vv(t, e);
            })(e, t),
            (function (t, e, n) {
              return (
                e && fv(t.prototype, e),
                n && fv(t, n),
                Object.defineProperty(t, "prototype", { writable: !1 }),
                t
              );
            })(e, [
              {
                key: "resize",
                value: function (t, e) {
                  this.instance.setConfig("renderSize", { w: t, h: e });
                },
              },
              {
                key: "addChild",
                value: function (t) {
                  this.instance.setConfig("addComp", t);
                },
              },
              {
                key: "removeChild",
                value: function (t) {
                  this.instance.setConfig("removeComp", t);
                },
              },
              {
                key: "removeAllChild",
                value: function (t) {
                  this.instance.setConfig("removeAll", { isDispose: t });
                },
              },
            ])
          );
        })(Zm);
        function yv(t) {
          return (
            (yv =
              "function" == typeof Symbol && "symbol" == typeof Symbol.iterator
                ? function (t) {
                    return typeof t;
                  }
                : function (t) {
                    return t &&
                      "function" == typeof Symbol &&
                      t.constructor === Symbol &&
                      t !== Symbol.prototype
                      ? "symbol"
                      : typeof t;
                  }),
            yv(t)
          );
        }
        function bv(t, e) {
          for (var n = 0; n < e.length; n++) {
            var r = e[n];
            (r.enumerable = r.enumerable || !1),
              (r.configurable = !0),
              "value" in r && (r.writable = !0),
              Object.defineProperty(t, Vv(r.key), r);
          }
        }
        function Vv(t) {
          var e = (function (t, e) {
            if ("object" != yv(t) || !t) return t;
            var n = t[Symbol.toPrimitive];
            if (void 0 !== n) {
              var r = n.call(t, e || "default");
              if ("object" != yv(r)) return r;
              throw new TypeError(
                "@@toPrimitive must return a primitive value."
              );
            }
            return ("string" === e ? String : Number)(t);
          })(t, "string");
          return "symbol" == yv(e) ? e : e + "";
        }
        function _v(t, e, n) {
          return (
            (e = Sv(e)),
            (function (t, e) {
              if (e && ("object" == yv(e) || "function" == typeof e)) return e;
              if (void 0 !== e)
                throw new TypeError(
                  "Derived constructors may only return object or undefined"
                );
              return (function (t) {
                if (void 0 === t)
                  throw new ReferenceError(
                    "this hasn't been initialised - super() hasn't been called"
                  );
                return t;
              })(t);
            })(
              t,
              wv()
                ? Reflect.construct(e, n || [], Sv(t).constructor)
                : e.apply(t, n)
            )
          );
        }
        function wv() {
          try {
            var t = !Boolean.prototype.valueOf.call(
              Reflect.construct(Boolean, [], function () {})
            );
          } catch (t) {}
          return (wv = function () {
            return !!t;
          })();
        }
        function Sv(t) {
          return (
            (Sv = Object.setPrototypeOf
              ? Object.getPrototypeOf.bind()
              : function (t) {
                  return t.__proto__ || Object.getPrototypeOf(t);
                }),
            Sv(t)
          );
        }
        function Ev(t, e) {
          return (
            (Ev = Object.setPrototypeOf
              ? Object.setPrototypeOf.bind()
              : function (t, e) {
                  return (t.__proto__ = e), t;
                }),
            Ev(t, e)
          );
        }
        var Av = (function (t) {
          function e() {
            return (
              (function (t, e) {
                if (!(t instanceof e))
                  throw new TypeError("Cannot call a class as a function");
              })(this, e),
              _v(this, e, arguments)
            );
          }
          return (
            (function (t, e) {
              if ("function" != typeof e && null !== e)
                throw new TypeError(
                  "Super expression must either be null or a function"
                );
              (t.prototype = Object.create(e && e.prototype, {
                constructor: { value: t, writable: !0, configurable: !0 },
              })),
                Object.defineProperty(t, "prototype", { writable: !1 }),
                e && Ev(t, e);
            })(e, t),
            (function (t, e, n) {
              return (
                e && bv(t.prototype, e),
                n && bv(t, n),
                Object.defineProperty(t, "prototype", { writable: !1 }),
                t
              );
            })(e, [
              {
                key: "setCoordTrans",
                value: function (t, e) {
                  this.instance.setConfig("coordTrans", { XYArr: t, WTArr: e });
                },
              },
              {
                key: "setAreaInfo",
                value: function (t, e) {
                  this.instance.setConfig("areaInfo", { id: t, info: e });
                },
              },
              {
                key: "hasBaseMap",
                value: function () {
                  var t;
                  return null === (t = this.instance.Maps.BaseMap) ||
                    void 0 === t
                    ? void 0
                    : t.id;
                },
              },
            ])
          );
        })(lv);
        const Tv = {
          Map3dComponent: Av,
          WebGLComponent: lv,
          WebGLContainer: gv,
        };
        var Ov = n(95289),
          Cv = n(39587),
          Pv = n(43407);
        function xv(t, e) {
          if (t !== e)
            throw new TypeError("Cannot instantiate an arrow function");
        }
        var kv = Pv.lo,
          Iv = [
            ["left", "right", "width"],
            ["top", "bottom", "height"],
          ];
        function jv(t, e, n) {
          n = Ov.normalizeCssArray(n || 0);
          var r = e.width,
            i = e.height,
            o = kv(t.left, r),
            a = kv(t.top, i),
            s = kv(t.right, r),
            c = kv(t.bottom, i),
            l = kv(t.width, r),
            u = kv(t.height, i),
            f = n[2] + n[0],
            d = n[1] + n[3],
            h = t.aspect;
          switch (
            (isNaN(l) && (l = r - s - d - o),
            isNaN(u) && (u = i - c - f - a),
            null != h &&
              (isNaN(l) &&
                isNaN(u) &&
                (h > r / i ? (l = 0.8 * r) : (u = 0.8 * i)),
              isNaN(l) && (l = h * u),
              isNaN(u) && (u = l / h)),
            isNaN(o) && (o = r - s - l - d),
            isNaN(a) && (a = i - c - u - f),
            t.left || t.right)
          ) {
            case "center":
              o = r / 2 - l / 2 - n[3];
              break;
            case "right":
              o = r - l - d;
          }
          switch (t.top || t.bottom) {
            case "middle":
            case "center":
              a = i / 2 - u / 2 - n[0];
              break;
            case "bottom":
              a = i - u - f;
          }
          (o = o || 0),
            (a = a || 0),
            isNaN(l) && (l = r - d - o - (s || 0)),
            isNaN(u) && (u = i - f - a - (c || 0));
          var p = new Cv.A(o + n[3], a + n[0], l, u);
          return (p.margin = n), p;
        }
        function Rv(t, e, n, r, i, o, a, s) {
          var c = this,
            l = 0,
            u = 0;
          null == r && (r = 1 / 0), null == i && (i = 1 / 0);
          var f = 0,
            d = {};
          e.eachChild(
            function (t, e) {
              xv(this, c);
              var n = t.getBoundingRect();
              (d[e % o] = d[e % o] ? Math.max(d[e % o], n.width) : n.width),
                (f = Math.max(n.height, f));
            }.bind(this)
          ),
            e.eachChild(
              function (h, p) {
                xv(this, c);
                var m,
                  v,
                  g = h.getBoundingRect(),
                  y = e.childAt(p + 1),
                  b = y && y.getBoundingRect();
                if ("horizontal" === t) {
                  var V = g.width + (b ? -b.x + g.x : 0);
                  (m = l + V) > r || h.newline
                    ? ((l = 0), (m = V), (u += f + n), (f = g.height))
                    : (f = Math.max(f, g.height));
                } else if ("vertical" === t) {
                  var _ = g.height + (b ? -b.y + g.y : 0);
                  (v = u + _) > i || h.newline
                    ? ((l += f + n), (u = 0), (v = _), (f = g.width))
                    : (f = Math.max(f, g.width));
                } else if ("multiline" === t) {
                  var w = d[p % o];
                  (m = l + w + s),
                    0 !== p && p % o == 0 && (h.newline = !0),
                    m > r || h.newline
                      ? ((l = 0), (m = w + s), (u += f + a), (f = g.height))
                      : (f = Math.max(f, g.height));
                }
                (h.x = l),
                  (h.y = u),
                  h.markRedraw(),
                  "vertical" === t ? (u = v + n) : (l = m + n);
              }.bind(this)
            );
        }
        function Dv(t, e, n) {
          var r = n.align;
          if (null != r && "auto" !== r) return r;
          for (
            var i = { width: t.width, height: t.height },
              o = "vertical" === n.orient ? 0 : 1,
              a = Iv[o],
              s = [0, null, 10],
              c = {},
              l = 0;
            l < 3;
            l++
          )
            (c[Iv[1 - o][l]] = s[l]), (c[a[l]] = 2 === l ? e[0] : n[a[l]]);
          var u = [
              ["x", "width", 3],
              ["y", "height", 0],
            ][o],
            f = jv(c, i, n.padding);
          return a[
            (f.margin[u[2]] || 0) + f[u[0]] + 0.5 * f[u[1]] < 0.5 * i[u[1]]
              ? 0
              : 1
          ];
        }
        var Lv = n(42521),
          Mv = n(91737),
          Nv = n(99359),
          $v = n(56607),
          Bv = n(56141),
          Uv = n(42335),
          Fv = n(91253);
        function Hv(t, e, n) {
          var r =
              arguments.length > 3 && void 0 !== arguments[3] && arguments[3],
            i = e[0],
            o = e[1],
            a = n[0],
            s = n[1],
            c = o - i,
            l = s - a;
          if (0 === c) return 0 === l ? a : (a + s) / 2;
          if (r)
            if (c > 0) {
              if (t <= i) return a;
              if (t >= o) return s;
            } else {
              if (t >= i) return a;
              if (t <= o) return s;
            }
          else {
            if (t === i) return a;
            if (t === o) return s;
          }
          return ((t - i) / c) * l + a;
        }
        function Gv(t) {
          return "vertical" === t ? "ns-resize" : "ew-resize";
        }
        function Wv(t, e, n) {
          return t + (e - t) * n;
        }
        function zv(t) {
          return t < 0 ? 0 : t > 1 ? 1 : t;
        }
        function qv(t, e, n) {
          if (!e || !e.length || !(t >= 0 && t <= 1)) return null;
          n = n || [];
          var r,
            i = t * (e.length - 1),
            o = Math.floor(i),
            a = Math.ceil(i),
            s = e[o],
            c = e[a],
            l = i - o;
          return (
            (n[0] =
              ((r = Wv(s[0], c[0], l)),
              (r = Math.round(r)) < 0 ? 0 : r > 360 ? 360 : r)),
            (n[1] = "".concat(100 * zv(Wv(s[1], c[1], l)), "%")),
            (n[2] = "".concat(100 * zv(Wv(s[2], c[2], l)), "%")),
            (n[3] = zv(Wv(s[3], c[3], l))),
            n
          );
        }
        function Xv(t) {
          return (
            (Xv =
              "function" == typeof Symbol && "symbol" == typeof Symbol.iterator
                ? function (t) {
                    return typeof t;
                  }
                : function (t) {
                    return t &&
                      "function" == typeof Symbol &&
                      t.constructor === Symbol &&
                      t !== Symbol.prototype
                      ? "symbol"
                      : typeof t;
                  }),
            Xv(t)
          );
        }
        function Yv(t, e) {
          var n = Object.keys(t);
          if (Object.getOwnPropertySymbols) {
            var r = Object.getOwnPropertySymbols(t);
            e &&
              (r = r.filter(function (e) {
                return Object.getOwnPropertyDescriptor(t, e).enumerable;
              })),
              n.push.apply(n, r);
          }
          return n;
        }
        function Kv(t) {
          return (
            (function (t) {
              if (Array.isArray(t)) return Zv(t);
            })(t) ||
            (function (t) {
              if (
                ("undefined" != typeof Symbol && null != t[Symbol.iterator]) ||
                null != t["@@iterator"]
              )
                return Array.from(t);
            })(t) ||
            (function (t, e) {
              if (t) {
                if ("string" == typeof t) return Zv(t, e);
                var n = {}.toString.call(t).slice(8, -1);
                return (
                  "Object" === n && t.constructor && (n = t.constructor.name),
                  "Map" === n || "Set" === n
                    ? Array.from(t)
                    : "Arguments" === n ||
                      /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)
                    ? Zv(t, e)
                    : void 0
                );
              }
            })(t) ||
            (function () {
              throw new TypeError(
                "Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."
              );
            })()
          );
        }
        function Zv(t, e) {
          (null == e || e > t.length) && (e = t.length);
          for (var n = 0, r = Array(e); n < e; n++) r[n] = t[n];
          return r;
        }
        function Jv(t, e) {
          if (t !== e)
            throw new TypeError("Cannot instantiate an arrow function");
        }
        function Qv(t, e) {
          for (var n = 0; n < e.length; n++) {
            var r = e[n];
            (r.enumerable = r.enumerable || !1),
              (r.configurable = !0),
              "value" in r && (r.writable = !0),
              Object.defineProperty(t, eg(r.key), r);
          }
        }
        function tg(t, e, n) {
          return (
            (e = eg(e)) in t
              ? Object.defineProperty(t, e, {
                  value: n,
                  enumerable: !0,
                  configurable: !0,
                  writable: !0,
                })
              : (t[e] = n),
            t
          );
        }
        function eg(t) {
          var e = (function (t, e) {
            if ("object" != Xv(t) || !t) return t;
            var n = t[Symbol.toPrimitive];
            if (void 0 !== n) {
              var r = n.call(t, e || "default");
              if ("object" != Xv(r)) return r;
              throw new TypeError(
                "@@toPrimitive must return a primitive value."
              );
            }
            return ("string" === e ? String : Number)(t);
          })(t, "string");
          return "symbol" == Xv(e) ? e : e + "";
        }
        var ng = (function () {
          return (function (t, e, n) {
            return (
              e && Qv(t.prototype, e),
              n && Qv(t, n),
              Object.defineProperty(t, "prototype", { writable: !1 }),
              t
            );
          })(
            function t(e, n) {
              var r =
                arguments.length > 2 && void 0 !== arguments[2]
                  ? arguments[2]
                  : {};
              !(function (t, e) {
                if (!(t instanceof e))
                  throw new TypeError("Cannot call a class as a function");
              })(this, t),
                tg(this, "group", void 0),
                tg(this, "zr", void 0),
                tg(this, "config", void 0),
                tg(this, "itemSize", void 0),
                tg(this, "dataBound", [-1 / 0, 1 / 0]),
                tg(this, "size", {}),
                tg(this, "eventList", new Map()),
                (0, Lv.fI)("svg", Fv.A),
                (0, Lv.fI)("canvas", Uv.A),
                (this.zr = (0, Lv.Ts)(n, r)),
                (this.config = e),
                (this.group = new Mv.A()),
                (this.itemSize = [
                  parseFloat(this.config.itemWidth),
                  parseFloat(this.config.itemHeight),
                ]),
                this.zr.add(this.group),
                (this.size = {
                  width: this.zr.getWidth(),
                  height: this.zr.getHeight(),
                });
            },
            [
              {
                key: "getExtent",
                value: function () {
                  return [this.config.min, this.config.max];
                },
              },
              {
                key: "getTextRect",
                value: function (t) {
                  var e = this.config.textStyle,
                    n = e.fontSize,
                    r = e.fontFamily,
                    i = e.fontWeight,
                    o = e.fontStyle;
                  return new Nv.Ay({
                    style: {
                      text: t,
                      fontSize: n,
                      fontFamily: r,
                      fontWeight: i,
                      fontStyle: o,
                    },
                  }).getBoundingRect();
                },
              },
              {
                key: "formatValueText",
                value: function (t, e, n) {
                  var r,
                    i = this.config,
                    o = i.precision,
                    a = this.dataBound,
                    s = i.formatter;
                  function c(t) {
                    return t === a[0]
                      ? "min"
                      : t === a[1]
                      ? "max"
                      : (+t).toFixed(Math.min(o, 20));
                  }
                  (n = n || ["<", ">", "-"]),
                    Ov.isArray(t) && ((t = t.slice()), (r = !0));
                  var l = e ? t : r ? [c(t[0]), c(t[1])] : c(t);
                  return Ov.isString(s)
                    ? s
                        .replace("{value}", r ? l[0] : l)
                        .replace("{value2}", r ? l[1] : l)
                    : Ov.isFunction(s)
                    ? r
                      ? s(t[0], t[1])
                      : s(t)
                    : r
                    ? t[0] === a[0]
                      ? "".concat(n[0], " ").concat(l[1])
                      : t[1] === a[1]
                      ? "".concat(n[1], " ").concat(l[0])
                      : "".concat(l[0], " ").concat(n[2], " ").concat(l[1])
                    : l;
                },
              },
              {
                key: "getColor",
                value: function (t, e) {
                  var n = this,
                    r = Ov.map(
                      e,
                      function (t) {
                        return (
                          Jv(this, n),
                          (function (t) {
                            if (!t) return null;
                            var e,
                              n,
                              r = t[0] / 255,
                              i = t[1] / 255,
                              o = t[2] / 255,
                              a = Math.min(r, i, o),
                              s = Math.max(r, i, o),
                              c = s - a,
                              l = (s + a) / 2;
                            if (0 === c) (e = 0), (n = 0);
                            else {
                              n = l < 0.5 ? c / (s + a) : c / (2 - s - a);
                              var u = ((s - r) / 6 + c / 2) / c,
                                f = ((s - i) / 6 + c / 2) / c,
                                d = ((s - o) / 6 + c / 2) / c;
                              r === s
                                ? (e = d - f)
                                : i === s
                                ? (e = 1 / 3 + u - d)
                                : o === s && (e = 2 / 3 + f - u),
                                e < 0 && (e += 1),
                                e > 1 && (e -= 1);
                            }
                            var h = [360 * e, n, l];
                            return null != t[3] && h.push(t[3]), h;
                          })($v.parse(t) || [0, 0, 0, 1])
                        );
                      }.bind(this)
                    ),
                    i = Hv(t, this.getExtent(), [0, 1], !0);
                  return $v.stringify(qv(i, r), "hsla");
                },
              },
              {
                key: "renderBackground",
                value: function (t) {
                  var e = this.config,
                    n = e.backgroundColor,
                    r = e.borderColor,
                    i = e.borderWidth,
                    o = e.padding,
                    a = Ov.normalizeCssArray(o || 0),
                    s = t.getBoundingRect();
                  t.add(
                    new Bv.A({
                      z2: -1,
                      silent: !0,
                      shape: {
                        x: s.x - a[3],
                        y: s.y - a[0],
                        width: s.width + a[3] + a[1],
                        height: s.height + a[0] + a[2],
                      },
                      style: { fill: n, stroke: r, lineWidth: i },
                    })
                  );
                },
              },
              {
                key: "on",
                value: function (t, e) {
                  var n;
                  this.eventList.has(t)
                    ? this.eventList.set(
                        t,
                        [].concat(
                          Kv(
                            null !== (n = this.eventList.get(t)) && void 0 !== n
                              ? n
                              : []
                          ),
                          [e]
                        )
                      )
                    : this.eventList.set(t, [e]);
                },
              },
              {
                key: "dispatch",
                value: function (t) {
                  for (
                    var e,
                      n = this,
                      r = arguments.length,
                      i = new Array(r > 1 ? r - 1 : 0),
                      o = 1;
                    o < r;
                    o++
                  )
                    i[o - 1] = arguments[o];
                  this.eventList.has(t) &&
                    (null === (e = this.eventList.get(t)) ||
                      void 0 === e ||
                      e.forEach(
                        function (t) {
                          Jv(this, n), t.apply(void 0, i);
                        }.bind(this)
                      ));
                },
              },
              {
                key: "getStyle",
                value: function (t) {
                  var e = this,
                    n = {
                      borderWidth: "lineWidth",
                      borderColor: "stroke",
                      color: "fill",
                    },
                    r = {};
                  return (
                    Object.keys(t).forEach(
                      function (i) {
                        Jv(this, e), (r[n[i]] = t[i]);
                      }.bind(this)
                    ),
                    r
                  );
                },
              },
              {
                key: "positionGroup",
                value: function (t) {
                  var e = this.config;
                  !(function (t, e, n, r, i, o) {
                    var a,
                      s = !i || !i.hv || i.hv[0],
                      c = !i || !i.hv || i.hv[1],
                      l = (i && i.boundingMode) || "all";
                    if ((((o = o || t).x = t.x), (o.y = t.y), !s && !c))
                      return !1;
                    if ("raw" === l)
                      a =
                        "group" === t.type
                          ? new Cv.A(0, 0, +e.width || 0, +e.height || 0)
                          : t.getBoundingRect();
                    else if (
                      ((a = t.getBoundingRect()), t.needLocalTransform())
                    ) {
                      var u = t.getLocalTransform();
                      (a = a.clone()).applyTransform(u);
                    }
                    var f = jv(
                        Ov.defaults({ width: a.width, height: a.height }, e),
                        n,
                        r
                      ),
                      d = s ? f.x - a.x : 0,
                      h = c ? f.y - a.y : 0;
                    "raw" === l
                      ? ((o.x = d), (o.y = h))
                      : ((o.x += d), (o.y += h)),
                      o === t && t.markRedraw();
                  })(
                    t,
                    { left: e.left, top: e.top },
                    (function (t) {
                      for (var e = 1; e < arguments.length; e++) {
                        var n = null != arguments[e] ? arguments[e] : {};
                        e % 2
                          ? Yv(Object(n), !0).forEach(function (e) {
                              tg(t, e, n[e]);
                            })
                          : Object.getOwnPropertyDescriptors
                          ? Object.defineProperties(
                              t,
                              Object.getOwnPropertyDescriptors(n)
                            )
                          : Yv(Object(n)).forEach(function (e) {
                              Object.defineProperty(
                                t,
                                e,
                                Object.getOwnPropertyDescriptor(n, e)
                              );
                            });
                      }
                      return t;
                    })({}, this.size)
                  );
                },
              },
              {
                key: "destroy",
                value: function () {
                  var t, e;
                  null === (t = this.zr) || void 0 === t || t.clear(),
                    null === (e = this.zr) || void 0 === e || e.dispose(),
                    (this.dataBound = null),
                    (this.itemSize = null),
                    (this.config = null),
                    (this.size = null),
                    this.group.removeAll(),
                    (this.eventList = null);
                },
              },
            ]
          );
        })();
        function rg(t, e, n) {
          return (
            t.interval[n] < e.interval[n] ||
            (t.interval[n] === e.interval[n] &&
              (t.close[n] - e.close[n] == (n ? -1 : 1) || (!n && rg(t, e, 1))))
          );
        }
        function ig(t) {
          var e = this;
          t.sort(
            function (t, n) {
              return (
                (function (t, e) {
                  if (t !== e)
                    throw new TypeError("Cannot instantiate an arrow function");
                })(this, e),
                rg(t, n, 0) ? -1 : 1
              );
            }.bind(this)
          );
          for (var n = -1 / 0, r = 1, i = 0; i < t.length; ) {
            for (var o = t[i].interval, a = t[i].close, s = 0; s < 2; s++)
              o[s] <= n && ((o[s] = n), (a[s] = s ? 1 : 1 - r)),
                (n = o[s]),
                (r = a[s]);
            o[0] === o[1] && a[0] * a[1] != 1 ? t.splice(i, 1) : i++;
          }
          return t;
        }
        function og(t) {
          return (
            (og =
              "function" == typeof Symbol && "symbol" == typeof Symbol.iterator
                ? function (t) {
                    return typeof t;
                  }
                : function (t) {
                    return t &&
                      "function" == typeof Symbol &&
                      t.constructor === Symbol &&
                      t !== Symbol.prototype
                      ? "symbol"
                      : typeof t;
                  }),
            og(t)
          );
        }
        function ag(t, e) {
          var n = Object.keys(t);
          if (Object.getOwnPropertySymbols) {
            var r = Object.getOwnPropertySymbols(t);
            e &&
              (r = r.filter(function (e) {
                return Object.getOwnPropertyDescriptor(t, e).enumerable;
              })),
              n.push.apply(n, r);
          }
          return n;
        }
        function sg(t) {
          for (var e = 1; e < arguments.length; e++) {
            var n = null != arguments[e] ? arguments[e] : {};
            e % 2
              ? ag(Object(n), !0).forEach(function (e) {
                  cg(t, e, n[e]);
                })
              : Object.getOwnPropertyDescriptors
              ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(n))
              : ag(Object(n)).forEach(function (e) {
                  Object.defineProperty(
                    t,
                    e,
                    Object.getOwnPropertyDescriptor(n, e)
                  );
                });
          }
          return t;
        }
        function cg(t, e, n) {
          return (
            (e = (function (t) {
              var e = (function (t, e) {
                if ("object" != og(t) || !t) return t;
                var n = t[Symbol.toPrimitive];
                if (void 0 !== n) {
                  var r = n.call(t, e || "default");
                  if ("object" != og(r)) return r;
                  throw new TypeError(
                    "@@toPrimitive must return a primitive value."
                  );
                }
                return ("string" === e ? String : Number)(t);
              })(t, "string");
              return "symbol" == og(e) ? e : e + "";
            })(e)) in t
              ? Object.defineProperty(t, e, {
                  value: n,
                  enumerable: !0,
                  configurable: !0,
                  writable: !0,
                })
              : (t[e] = n),
            t
          );
        }
        var lg = {
          type: "continuous",
          min: 0,
          max: 0,
          left: "85%",
          top: "10%",
          right: "auto",
          bottom: "auto",
          inverse: !1,
          orient: "vertical",
          hoverLink: !0,
          align: "auto",
          textGap: 10,
          textStyle: {
            color: "#333",
            fontSize: 12,
            fontFamily: "思源黑体 Normal",
            fontStyle: "normal",
            fontWeight: "normal",
          },
          inRange: { color: [], symbolSize: [20, 20] },
          backgroundColor: "transparent",
          padding: 0,
          borderColor: "transparent",
          borderWidth: 0,
          precision: 0,
        };
        const ug = {
          continuous: sg(
            sg({}, lg),
            {},
            {
              range: [0, 0],
              itemWidth: 20,
              itemHeight: 140,
              calculable: !0,
              realtime: !1,
              text: ["High", "Low"],
              precision: 0,
              outOfRange: { color: [], symbolSize: [20, 20] },
              handleIcon:
                "path://M-11.39,9.77h0a3.5,3.5,0,0,1-3.5,3.5h-22a3.5,3.5,0,0,1-3.5-3.5h0a3.5,3.5,0,0,1,3.5-3.5h22A3.5,3.5,0,0,1-11.39,9.77Z",
              handleSize: "120%",
              handleStyle: {
                borderColor: "#fff",
                borderWidth: 1,
                color: "transparent",
              },
              indicatorIcon: "circle",
              indicatorSize: "50%",
              indicatorStyle: { borderColor: "#fff", borderWidth: 2 },
            }
          ),
          piecewise: sg(
            sg({}, lg),
            {},
            {
              itemWidth: 20,
              itemHeight: 14,
              itemGap: 10,
              splitNumber: 5,
              itemSymbol: "diamond",
              connector: "-",
              pieces: null,
            }
          ),
        };
        function fg(t) {
          var e =
            arguments.length > 1 && void 0 !== arguments[1]
              ? arguments[1]
              : "auto";
          return t.length <= e || "auto" === e
            ? t
            : "".concat(t.substring(0, e), "...");
        }
        var dg = n(15501),
          hg = n(30074),
          pg = n(81314),
          mg = n(1635),
          vg = dg.Ay.extend({
            type: "diamond",
            shape: { cx: 0, cy: 0, width: 0, height: 0 },
            buildPath: function (t, e) {
              var n = e.cx,
                r = e.cy,
                i = e.width / 2,
                o = e.height / 2;
              t.moveTo(n, r - o),
                t.lineTo(n + i, r),
                t.lineTo(n, r + o),
                t.lineTo(n - i, r),
                t.closePath();
            },
          }),
          gg = dg.Ay.extend({
            type: "triangle",
            shape: { cx: 0, cy: 0, width: 0, height: 0 },
            buildPath: function (t, e) {
              var n = e.cx,
                r = e.cy,
                i = e.width / 2,
                o = e.height / 2;
              t.moveTo(n, r - o),
                t.lineTo(n + i, r + o),
                t.lineTo(n - i, r + o),
                t.closePath();
            },
          }),
          yg = {
            rect: function (t, e, n, r) {
              return new Bv.A({ shape: { x: t, y: e, width: n, height: r } });
            },
            circle: function (t, e, n, r) {
              return new hg.A({
                shape: { cx: t + n / 2, cy: e + r / 2, r: Math.min(n, r) / 2 },
              });
            },
            roundRect: function (t, e, n, r) {
              return new Bv.A({
                shape: {
                  x: t,
                  y: e,
                  width: n,
                  height: r,
                  r: Math.min(n, r) / 4,
                },
              });
            },
            diamond: function (t, e, n, r) {
              return new vg({
                shape: { cx: t + n / 2, cy: e + r / 2, width: n, height: r },
              });
            },
            triangle: function (t, e, n, r) {
              return new gg({
                shape: { cx: t + n / 2, cy: e + r / 2, width: n, height: r },
              });
            },
          };
        function bg(t, e, n, r, i, o) {
          var a, s, c, l;
          return (
            0 === t.indexOf("image://")
              ? ((s = t.slice(8)),
                (c = new Cv.A(e, n, r, i)),
                (l = new mg.Ay({
                  style: {
                    image: s,
                    x: c.x,
                    y: c.y,
                    width: c.width,
                    height: c.height,
                  },
                })).attr("preserveAspectRatio", "none"),
                (a = l))
              : (a =
                  0 === t.indexOf("path://")
                    ? (function (t, e, n) {
                        var r = pg.createFromString(t, e);
                        return (
                          n &&
                            ((n = (function (t, e) {
                              var n,
                                r = e.width / e.height,
                                i = t.height * r;
                              return (
                                (n =
                                  i <= t.width ? t.height : (i = t.width) / r),
                                {
                                  x: t.x + t.width / 2 - i / 2,
                                  y: t.y + t.height / 2 - n / 2,
                                  width: i,
                                  height: n,
                                }
                              );
                            })(n, r.getBoundingRect())),
                            (function (t, e) {
                              if (t.applyTransform) {
                                var n = t
                                  .getBoundingRect()
                                  .calculateTransform(e);
                                t.applyTransform(n);
                              }
                            })(r, n)),
                          r
                        );
                      })(t.slice(7), {}, new Cv.A(e, n, r, i))
                    : yg[t](e, n, r, i)),
            o &&
              (function (t, e, n) {
                if ("image" !== e.type) {
                  var r = e.style;
                  e.__isEmptyBrush
                    ? ((r.stroke = t),
                      (r.fill = n || "#fff"),
                      (r.lineWidth = 2))
                    : "line" === e.shape.symbolType
                    ? (r.stroke = t)
                    : (r.fill = t),
                    e.markRedraw();
                }
              })(o, a),
            a
          );
        }
        function Vg(t, e) {
          if (t !== e)
            throw new TypeError("Cannot instantiate an arrow function");
        }
        function _g(t, e) {
          var n = Object.keys(t);
          if (Object.getOwnPropertySymbols) {
            var r = Object.getOwnPropertySymbols(t);
            e &&
              (r = r.filter(function (e) {
                return Object.getOwnPropertyDescriptor(t, e).enumerable;
              })),
              n.push.apply(n, r);
          }
          return n;
        }
        function wg(t) {
          for (var e = 1; e < arguments.length; e++) {
            var n = null != arguments[e] ? arguments[e] : {};
            e % 2
              ? _g(Object(n), !0).forEach(function (e) {
                  Pg(t, e, n[e]);
                })
              : Object.getOwnPropertyDescriptors
              ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(n))
              : _g(Object(n)).forEach(function (e) {
                  Object.defineProperty(
                    t,
                    e,
                    Object.getOwnPropertyDescriptor(n, e)
                  );
                });
          }
          return t;
        }
        function Sg(t) {
          return (
            (Sg =
              "function" == typeof Symbol && "symbol" == typeof Symbol.iterator
                ? function (t) {
                    return typeof t;
                  }
                : function (t) {
                    return t &&
                      "function" == typeof Symbol &&
                      t.constructor === Symbol &&
                      t !== Symbol.prototype
                      ? "symbol"
                      : typeof t;
                  }),
            Sg(t)
          );
        }
        function Eg(t, e) {
          for (var n = 0; n < e.length; n++) {
            var r = e[n];
            (r.enumerable = r.enumerable || !1),
              (r.configurable = !0),
              "value" in r && (r.writable = !0),
              Object.defineProperty(t, xg(r.key), r);
          }
        }
        function Ag(t, e, n) {
          return (
            (e = Og(e)),
            (function (t, e) {
              if (e && ("object" == Sg(e) || "function" == typeof e)) return e;
              if (void 0 !== e)
                throw new TypeError(
                  "Derived constructors may only return object or undefined"
                );
              return (function (t) {
                if (void 0 === t)
                  throw new ReferenceError(
                    "this hasn't been initialised - super() hasn't been called"
                  );
                return t;
              })(t);
            })(
              t,
              Tg()
                ? Reflect.construct(e, n || [], Og(t).constructor)
                : e.apply(t, n)
            )
          );
        }
        function Tg() {
          try {
            var t = !Boolean.prototype.valueOf.call(
              Reflect.construct(Boolean, [], function () {})
            );
          } catch (t) {}
          return (Tg = function () {
            return !!t;
          })();
        }
        function Og(t) {
          return (
            (Og = Object.setPrototypeOf
              ? Object.getPrototypeOf.bind()
              : function (t) {
                  return t.__proto__ || Object.getPrototypeOf(t);
                }),
            Og(t)
          );
        }
        function Cg(t, e) {
          return (
            (Cg = Object.setPrototypeOf
              ? Object.setPrototypeOf.bind()
              : function (t, e) {
                  return (t.__proto__ = e), t;
                }),
            Cg(t, e)
          );
        }
        function Pg(t, e, n) {
          return (
            (e = xg(e)) in t
              ? Object.defineProperty(t, e, {
                  value: n,
                  enumerable: !0,
                  configurable: !0,
                  writable: !0,
                })
              : (t[e] = n),
            t
          );
        }
        function xg(t) {
          var e = (function (t, e) {
            if ("object" != Sg(t) || !t) return t;
            var n = t[Symbol.toPrimitive];
            if (void 0 !== n) {
              var r = n.call(t, e || "default");
              if ("object" != Sg(r)) return r;
              throw new TypeError(
                "@@toPrimitive must return a primitive value."
              );
            }
            return ("string" === e ? String : Number)(t);
          })(t, "string");
          return "symbol" == Sg(e) ? e : e + "";
        }
        var kg = "rgb(46, 138, 229)",
          Ig = (function (t) {
            function e(t, n) {
              var r,
                i =
                  arguments.length > 2 && void 0 !== arguments[2]
                    ? arguments[2]
                    : {};
              !(function (t, e) {
                if (!(t instanceof e))
                  throw new TypeError("Cannot call a class as a function");
              })(this, e),
                Pg(
                  (r = Ag(this, e, [
                    pe.A.merge(Ov.clone(ug[t.type || "continuous"]), t),
                    n,
                    i,
                  ])),
                  "_pieceList",
                  []
                ),
                Pg(r, "selected", []),
                Pg(r, "config", void 0),
                Pg(r, "getRepresentValue", function (t) {
                  var e;
                  if (null != t.value) e = t.value;
                  else {
                    var n = t.interval || [];
                    e =
                      n[0] === -1 / 0 && n[1] === 1 / 0 ? 0 : (n[0] + n[1]) / 2;
                  }
                  return e;
                });
              var o = pe.A.merge(Ov.clone(ug[t.type || "continuous"]), t);
              r.config = o;
              var a = r.config,
                s = a.pieces,
                c = a.splitNumber;
              return (
                s && s.length > 0 && (c = s.length),
                (r.selected = new Array(c).fill(!0)),
                r
              );
            }
            return (
              (function (t, e) {
                if ("function" != typeof e && null !== e)
                  throw new TypeError(
                    "Super expression must either be null or a function"
                  );
                (t.prototype = Object.create(e && e.prototype, {
                  constructor: { value: t, writable: !0, configurable: !0 },
                })),
                  Object.defineProperty(t, "prototype", { writable: !1 }),
                  e && Cg(t, e);
              })(e, t),
              (function (t, e, n) {
                return (
                  e && Eg(t.prototype, e),
                  n && Eg(t, n),
                  Object.defineProperty(t, "prototype", { writable: !1 }),
                  t
                );
              })(e, [
                {
                  key: "init",
                  value: function () {
                    var t = this.config,
                      e = t.orient,
                      n = t.itemGap,
                      r = t.pieces,
                      i = t.rowNum,
                      o = t.rowGap,
                      a = t.colGap;
                    this.group.removeAll(),
                      r && r.length > 0
                        ? this.buildPieces(this._pieceList)
                        : this.autoSplit(this._pieceList),
                      this.renderPieceList(),
                      "multiline" === e
                        ? Rv(e, this.group, n, null, null, i, o, a)
                        : Rv(e, this.group, n),
                      this.renderBackground(this.group),
                      this.positionGroup(this.group);
                  },
                },
                {
                  key: "renderPieceList",
                  value: function () {
                    var t = this.config,
                      e = t.textGap,
                      n = t.textStyle,
                      r = n.color,
                      i = this._getItemAlign(),
                      o = this.itemSize,
                      a = n.textNumber,
                      s = this._getViewData();
                    Ov.each(
                      s.viewPieceList,
                      function (t) {
                        var s = t.piece,
                          c = new Mv.A();
                        (c.onclick = Ov.bind(this._onItemClick, this, s)),
                          this._enableHoverLink(c, t.indexInModelPieceList);
                        var l = this.getPieceState(t.piece),
                          u = this.getRepresentValue(s);
                        this._createItemSymbol(c, u, [0, 0, o[0], o[1]], {
                          color: l ? s.color : kg,
                          borderColor: l ? s.borderColor : "transparent",
                        });
                        var f = r;
                        "auto" === r &&
                          ((f = s.color),
                          "object" === Sg(s.color) &&
                            (f = s.color.colorStops[0].color));
                        l || (f = kg),
                          c.add(
                            new Nv.Ay({
                              style: wg(
                                {
                                  x: "right" === i ? -e : o[0] + e,
                                  y: o[1] / 2,
                                  text: fg(s.text, a),
                                  verticalAlign: "middle",
                                  align: i,
                                  fill: f,
                                  opacity: l ? 1 : 0.5,
                                },
                                pe.A.omit(n, ["color", "textNumber"])
                              ),
                            })
                          ),
                          this.group.add(c);
                      },
                      this
                    );
                  },
                },
                {
                  key: "_onItemClick",
                  value: function (t) {
                    var e = pe.A.findIndex(this._pieceList, t);
                    (this.selected[e] = !this.selected[e]),
                      (this._pieceList = []),
                      this.init(),
                      this.dispatch("click", this.selected);
                  },
                },
                {
                  key: "_enableHoverLink",
                  value: function (t, e) {
                    var n = this;
                    t.on(
                      "mouseover",
                      function () {
                        Vg(this, n), this.dispatch("mouseover", e);
                      }.bind(this)
                    ).on(
                      "mouseout",
                      function () {
                        Vg(this, n), this.dispatch("mouseout", e);
                      }.bind(this)
                    );
                  },
                },
                {
                  key: "_getItemAlign",
                  value: function () {
                    var t = this.config,
                      e = t.orient,
                      n = t.top,
                      r = t.left,
                      i = t.bottom,
                      o = t.right,
                      a = this.config.align;
                    return "vertical" === e
                      ? Dv(this.size, this.itemSize, {
                          orient: e,
                          top: n,
                          left: r,
                          bottom: i,
                          right: o,
                          align: a,
                        })
                      : ((a && "auto" !== a) || (a = "left"), a);
                  },
                },
                {
                  key: "_getViewData",
                  value: function () {
                    var t = this,
                      e = Ov.map(
                        this._pieceList,
                        function (e, n) {
                          return (
                            Vg(this, t), { piece: e, indexInModelPieceList: n }
                          );
                        }.bind(this)
                      ),
                      n = this.config,
                      r = n.orient,
                      i = n.inverse;
                    return (
                      ("vertical" === r ? !i : i) && e.reverse(),
                      { viewPieceList: e }
                    );
                  },
                },
                {
                  key: "_createItemSymbol",
                  value: function (t, e, n, r) {
                    var i = this.config,
                      o = i.itemSymbol,
                      a = i.inRange,
                      s = bg(
                        "inherit" === o ? "rect" : o,
                        n[0],
                        n[1],
                        n[2],
                        n[3],
                        (null == r ? void 0 : r.color) ||
                          this.getColor(e, a.color)
                      );
                    s.setStyle({
                      stroke:
                        (null == r ? void 0 : r.borderColor) ||
                        (null == r ? void 0 : r.color) ||
                        "transparent",
                      lineWidth: 1,
                    }),
                      t.add(s);
                  },
                },
                {
                  key: "buildPieces",
                  value: function (t) {
                    var e = this,
                      n = this.config;
                    Ov.each(
                      n.pieces,
                      function (n, r) {
                        Vg(this, e), Ov.isObject(n) || (n = { value: n });
                        var i = { text: "", index: r };
                        if (
                          (null != n.label && (i.text = n.label),
                          n.hasOwnProperty("value"))
                        ) {
                          var o = (i.value = n.value);
                          (i.interval = [o, o]), (i.close = [1, 1]);
                        } else {
                          for (
                            var a = (i.interval = []),
                              s = (i.close = [0, 0]),
                              c = [1, 0, 1],
                              l = [-1 / 0, 1 / 0],
                              u = [],
                              f = 0;
                            f < 2;
                            f++
                          ) {
                            for (
                              var d = [
                                  ["gte", "gt", "min"],
                                  ["lte", "lt", "max"],
                                ][f],
                                h = 0;
                              h < 3 && null == a[f];
                              h++
                            )
                              (a[f] = n[d[h]]), (s[f] = c[h]), (u[f] = 2 === h);
                            null == a[f] && (a[f] = l[f]);
                          }
                          u[0] && a[1] === 1 / 0 && (s[0] = 0),
                            u[1] && a[0] === -1 / 0 && (s[1] = 0),
                            a[0] === a[1] && s[0] && s[1] && (i.value = a[0]);
                        }
                        n.color && (i.color = n.color),
                          n.borderColor && (i.borderColor = n.borderColor),
                          t.push(i);
                      }.bind(this)
                    ),
                      this.normalizeReverse(t),
                      ig(t),
                      Ov.each(
                        t,
                        function (t) {
                          var e = t.close,
                            r = [
                              ["<", "≤"][e[1]],
                              [">", "≥"][e[0]],
                              n.connector,
                            ];
                          t.text =
                            t.text ||
                            this.formatValueText(
                              null != t.value ? t.value : t.interval,
                              !1,
                              r
                            );
                        },
                        this
                      );
                  },
                },
                {
                  key: "autoSplit",
                  value: function (t) {
                    var e = this.config,
                      n = e.inRange,
                      r = Math.min(e.precision, 20),
                      i = this.getExtent(),
                      o = e.splitNumber;
                    (o = Math.max(parseInt(o, 10), 1)), (e.splitNumber = o);
                    var a = (i[1] - i[0]) / o;
                    (e.precision = r), (a = +a.toFixed(r));
                    for (var s = 0, c = i[0]; s < o; c += a, s++) {
                      var l,
                        u = s === o - 1 ? i[1] : c + a;
                      t.push({
                        interval: [c, u],
                        close: [1, 1],
                        color:
                          n.color[
                            s %
                              (null === (l = n.color) || void 0 === l
                                ? void 0
                                : l.length)
                          ],
                      });
                    }
                    ig(t),
                      Ov.each(
                        t,
                        function (t, n) {
                          (t.index = n),
                            (t.text = this.formatValueText(t.interval, !1, [
                              "",
                              "",
                              e.connector,
                            ]));
                        },
                        this
                      );
                  },
                },
                {
                  key: "getPieceState",
                  value: function (t) {
                    var e = pe.A.findIndex(this._pieceList, t);
                    return -1 !== e && this.selected[e];
                  },
                },
                {
                  key: "normalizeReverse",
                  value: function (t) {
                    var e = this.config,
                      n = e.inverse;
                    ("vertical" === e.orient ? !n : n) && t.reverse();
                  },
                },
              ])
            );
          })(ng),
          jg = n(24570),
          Rg = n(25113),
          Dg = n(17569),
          Lg = n(84233),
          Mg = n(13388),
          Ng = n(31138);
        function $g(t, e, n) {
          return (
            e && !pe.A.isArray(e) && (e = Lg.Ay.getLocalTransform(e)),
            n && (e = Mg.invert([], e)),
            Ng.applyTransform([], t, e)
          );
        }
        function Bg(t, e) {
          for (var n = Mg.identity([]); t && t !== e; )
            Mg.mul(n, t.getLocalTransform(), n), (t = t.parent);
          return n;
        }
        function Ug(t, e) {
          var n = t[e] - t[1 - e];
          return {
            span: Math.abs(n),
            sign: n > 0 ? -1 : n < 0 ? 1 : e ? -1 : 1,
          };
        }
        function Fg(t, e) {
          return Math.min(
            null != e[1] ? e[1] : 1 / 0,
            Math.max(null != e[0] ? e[0] : -1 / 0, t)
          );
        }
        function Hg(t) {
          return (
            (Hg =
              "function" == typeof Symbol && "symbol" == typeof Symbol.iterator
                ? function (t) {
                    return typeof t;
                  }
                : function (t) {
                    return t &&
                      "function" == typeof Symbol &&
                      t.constructor === Symbol &&
                      t !== Symbol.prototype
                      ? "symbol"
                      : typeof t;
                  }),
            Hg(t)
          );
        }
        function Gg(t, e) {
          if (t !== e)
            throw new TypeError("Cannot instantiate an arrow function");
        }
        function Wg(t, e) {
          var n = Object.keys(t);
          if (Object.getOwnPropertySymbols) {
            var r = Object.getOwnPropertySymbols(t);
            e &&
              (r = r.filter(function (e) {
                return Object.getOwnPropertyDescriptor(t, e).enumerable;
              })),
              n.push.apply(n, r);
          }
          return n;
        }
        function zg(t) {
          for (var e = 1; e < arguments.length; e++) {
            var n = null != arguments[e] ? arguments[e] : {};
            e % 2
              ? Wg(Object(n), !0).forEach(function (e) {
                  Qg(t, e, n[e]);
                })
              : Object.getOwnPropertyDescriptors
              ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(n))
              : Wg(Object(n)).forEach(function (e) {
                  Object.defineProperty(
                    t,
                    e,
                    Object.getOwnPropertyDescriptor(n, e)
                  );
                });
          }
          return t;
        }
        function qg(t, e) {
          for (var n = 0; n < e.length; n++) {
            var r = e[n];
            (r.enumerable = r.enumerable || !1),
              (r.configurable = !0),
              "value" in r && (r.writable = !0),
              Object.defineProperty(t, ty(r.key), r);
          }
        }
        function Xg(t, e, n) {
          return (
            (e = Zg(e)),
            (function (t, e) {
              if (e && ("object" == Hg(e) || "function" == typeof e)) return e;
              if (void 0 !== e)
                throw new TypeError(
                  "Derived constructors may only return object or undefined"
                );
              return (function (t) {
                if (void 0 === t)
                  throw new ReferenceError(
                    "this hasn't been initialised - super() hasn't been called"
                  );
                return t;
              })(t);
            })(
              t,
              Yg()
                ? Reflect.construct(e, n || [], Zg(t).constructor)
                : e.apply(t, n)
            )
          );
        }
        function Yg() {
          try {
            var t = !Boolean.prototype.valueOf.call(
              Reflect.construct(Boolean, [], function () {})
            );
          } catch (t) {}
          return (Yg = function () {
            return !!t;
          })();
        }
        function Kg() {
          return (
            (Kg =
              "undefined" != typeof Reflect && Reflect.get
                ? Reflect.get.bind()
                : function (t, e, n) {
                    var r = (function (t, e) {
                      for (
                        ;
                        !{}.hasOwnProperty.call(t, e) && null !== (t = Zg(t));

                      );
                      return t;
                    })(t, e);
                    if (r) {
                      var i = Object.getOwnPropertyDescriptor(r, e);
                      return i.get
                        ? i.get.call(arguments.length < 3 ? t : n)
                        : i.value;
                    }
                  }),
            Kg.apply(null, arguments)
          );
        }
        function Zg(t) {
          return (
            (Zg = Object.setPrototypeOf
              ? Object.getPrototypeOf.bind()
              : function (t) {
                  return t.__proto__ || Object.getPrototypeOf(t);
                }),
            Zg(t)
          );
        }
        function Jg(t, e) {
          return (
            (Jg = Object.setPrototypeOf
              ? Object.setPrototypeOf.bind()
              : function (t, e) {
                  return (t.__proto__ = e), t;
                }),
            Jg(t, e)
          );
        }
        function Qg(t, e, n) {
          return (
            (e = ty(e)) in t
              ? Object.defineProperty(t, e, {
                  value: n,
                  enumerable: !0,
                  configurable: !0,
                  writable: !0,
                })
              : (t[e] = n),
            t
          );
        }
        function ty(t) {
          var e = (function (t, e) {
            if ("object" != Hg(t) || !t) return t;
            var n = t[Symbol.toPrimitive];
            if (void 0 !== n) {
              var r = n.call(t, e || "default");
              if ("object" != Hg(r)) return r;
              throw new TypeError(
                "@@toPrimitive must return a primitive value."
              );
            }
            return ("string" === e ? String : Number)(t);
          })(t, "string");
          return "symbol" == Hg(e) ? e : e + "";
        }
        var ey = Pv.lo,
          ny = (function (t) {
            function e(t, n) {
              var r,
                i =
                  arguments.length > 2 && void 0 !== arguments[2]
                    ? arguments[2]
                    : {};
              !(function (t, e) {
                if (!(t instanceof e))
                  throw new TypeError("Cannot call a class as a function");
              })(this, e),
                Qg(
                  (r = Xg(this, e, [
                    pe.A.merge(Ov.clone(ug[t.type || "continuous"]), t),
                    n,
                    i,
                  ])),
                  "_handleEnds",
                  []
                ),
                Qg(r, "_dataInterval", []),
                Qg(r, "_shapes", {}),
                Qg(r, "_dragging", !1),
                Qg(r, "_hovering", !1),
                Qg(r, "_firstShowIndicator", !0),
                Qg(r, "config", void 0);
              var o = pe.A.merge(Ov.clone(ug[t.type || "continuous"]), t);
              return (r.config = o), r;
            }
            return (
              (function (t, e) {
                if ("function" != typeof e && null !== e)
                  throw new TypeError(
                    "Super expression must either be null or a function"
                  );
                (t.prototype = Object.create(e && e.prototype, {
                  constructor: { value: t, writable: !0, configurable: !0 },
                })),
                  Object.defineProperty(t, "prototype", { writable: !1 }),
                  e && Jg(t, e);
              })(e, t),
              (function (t, e, n) {
                return (
                  e && qg(t.prototype, e),
                  n && qg(t, n),
                  Object.defineProperty(t, "prototype", { writable: !1 }),
                  t
                );
              })(e, [
                {
                  key: "init",
                  value: function () {
                    this.group.removeAll(),
                      this._resetInterval(),
                      this._renderBar();
                    var t = this.config.text;
                    this._renderEndsText(this.group, t, 0),
                      this._renderEndsText(this.group, t, 1),
                      this._updateView(!0),
                      this.renderBackground(this.group),
                      this._updateView(),
                      this._enableHoverLinkToSeries(),
                      this.positionGroup(this.group);
                  },
                },
                {
                  key: "_renderEndsText",
                  value: function (t, e, n) {
                    if (e) {
                      var r = this.config,
                        i = r.orient,
                        o = r.textGap,
                        a = r.textStyle,
                        s = e[1 - n];
                      s = null != s ? "".concat(s) : "";
                      var c = this.itemSize,
                        l = this._shapes.mainGroup,
                        u = this._applyTransform(
                          [c[0] / 2, 0 === n ? -o : c[1] + o],
                          l
                        ),
                        f = this._applyTransform(0 === n ? "bottom" : "top", l);
                      this.group.add(
                        new Nv.Ay({
                          style: zg(
                            zg({}, a),
                            {},
                            {
                              x: u[0],
                              y: u[1],
                              fill: a.color,
                              verticalAlign: "horizontal" === i ? "middle" : f,
                              align: "horizontal" === i ? f : "center",
                              text: s,
                            }
                          ),
                        })
                      );
                    }
                  },
                },
                {
                  key: "_renderBar",
                  value: function () {
                    var t = this.config,
                      e = t.orient,
                      n = t.calculable,
                      r = t.top,
                      i = t.left,
                      o = t.bottom,
                      a = t.right,
                      s = t.align,
                      c = this._shapes,
                      l = this.itemSize,
                      u = Dv(this.size, l, {
                        orient: e,
                        top: r,
                        left: i,
                        bottom: o,
                        right: a,
                        align: s,
                      }),
                      f = (c.mainGroup = this._createBarGroup(u)),
                      d = new Mv.A();
                    f.add(d),
                      d.add((c.outOfRange = new jg.A())),
                      d.add((c.inRange = new jg.A({ cursor: Gv(e) }))),
                      d.setClipPath(
                        new Bv.A({
                          shape: {
                            x: 0,
                            y: 0,
                            width: l[0],
                            height: l[1],
                            r: 3,
                          },
                        })
                      );
                    var h = this.getTextRect("国"),
                      p = Math.max(h.width, h.height);
                    n &&
                      ((c.handleThumbs = []),
                      (c.handleLabels = []),
                      (c.handleLabelPoints = []),
                      this._createHandle(f, 0, l),
                      this._createHandle(f, 1, l)),
                      this._createIndicator(f, l, p, e),
                      this.group.add(f);
                  },
                },
                {
                  key: "_createHandle",
                  value: function (t, e, n) {
                    var r = Ov.bind(this._dragHandle, this, e, !1),
                      i = Ov.bind(this._dragHandle, this, e, !0),
                      o = ey(this.config.handleSize, n[0]),
                      a = bg(this.config.handleIcon, -o / 2, -o / 2, o, o),
                      s = Gv(this.config.orient);
                    a.attr({
                      cursor: s,
                      draggable: !0,
                      drift: r,
                      ondragend: i,
                      onmousemove: function (t) {
                        Dg.ds(t.event);
                      },
                    }),
                      (a.x = n[0] / 2),
                      a.useStyle(this.getStyle(this.config.handleStyle)),
                      a.setStyle({ strokeNoScale: !0, strokeFirst: !0 }),
                      (a.style.lineWidth *= 2),
                      (a.ensureState("emphasis").style = this.getStyle(
                        this.config.handleStyle
                      )),
                      t.add(a);
                    var c = new Nv.Ay({
                      cursor: s,
                      draggable: !0,
                      drift: r,
                      onmousemove: function (t) {
                        Dg.ds(t.event);
                      },
                      ondragend: i,
                      style: zg(
                        zg({}, this.config.textStyle),
                        {},
                        { x: 0, y: 0, text: "" }
                      ),
                    });
                    (c.ensureState("blur").style = { opacity: 0.1 }),
                      (c.stateTransition = { duration: 200 }),
                      this.group.add(c);
                    var l = [o, 0],
                      u = this._shapes;
                    (u.handleThumbs[e] = a),
                      (u.handleLabelPoints[e] = l),
                      (u.handleLabels[e] = c);
                  },
                },
                {
                  key: "_createIndicator",
                  value: function (t, e, n, r) {
                    var i = this.config,
                      o = i.indicatorSize,
                      a = i.indicatorIcon,
                      s = i.indicatorStyle,
                      c = i.textStyle,
                      l = ey(o, e[0]),
                      u = bg(a, -l / 2, -l / 2, l, l);
                    u.attr({
                      cursor: "move",
                      invisible: !0,
                      silent: !0,
                      x: e[0] / 2,
                    }),
                      u.useStyle(this.getStyle(s)),
                      t.add(u);
                    var f = new Nv.Ay({
                      silent: !0,
                      invisible: !0,
                      style: zg(zg({}, c), {}, { x: 0, y: 0, text: "" }),
                    });
                    this.group.add(f);
                    var d = [("horizontal" === r ? n / 2 : 6) + e[0] / 2, 0],
                      h = this._shapes;
                    (h.indicator = u),
                      (h.indicatorLabel = f),
                      (h.indicatorLabelPoint = d),
                      (this._firstShowIndicator = !0);
                  },
                },
                {
                  key: "_showIndicator",
                  value: function (t, e, n) {
                    var r = this.config,
                      i = r.orient,
                      o = r.inRange,
                      a = r.outOfRange,
                      s = r.textStyle,
                      c = this.getExtent(),
                      l = this.itemSize,
                      u = [0, l[1]],
                      f = this._shapes,
                      d = f.indicator;
                    if (d) {
                      d.attr("invisible", !1);
                      var h = this.getColor(
                          t,
                          t < this._dataInterval[0] || t > this._dataInterval[1]
                            ? a.color
                            : o.color
                        ),
                        p = o.symbolSize,
                        m = Hv(t, c, u, !0),
                        v = l[0] - p[0] / 2,
                        g = { x: d.x, y: d.y };
                      (d.y = m), (d.x = v);
                      var y = $g(f.indicatorLabelPoint, Bg(d, this.group)),
                        b = f.indicatorLabel;
                      b.attr("invisible", !1);
                      var V = this._applyTransform("left", f.mainGroup),
                        _ = "horizontal" === i;
                      b.setStyle(
                        zg(
                          {
                            text: (n || "") + this.formatValueText(e),
                            verticalAlign: _ ? V : "middle",
                            align: _ ? "center" : V,
                            fill: s.color,
                          },
                          s
                        )
                      );
                      var w = { x: v, y: m, style: { fill: h } },
                        S = { style: { x: y[0], y: y[1] } };
                      if (this._firstShowIndicator) d.attr(w), b.attr(S);
                      else {
                        var E = {
                          duration: 100,
                          easing: "cubicInOut",
                          additive: !0,
                        };
                        (d.x = g.x),
                          (d.y = g.y),
                          d.animateTo(w, E),
                          b.animateTo(S, E);
                      }
                      this._firstShowIndicator = !1;
                    }
                  },
                },
                {
                  key: "_hideIndicator",
                  value: function () {
                    var t = this._shapes;
                    t.indicator && t.indicator.attr("invisible", !0),
                      t.indicatorLabel &&
                        t.indicatorLabel.attr("invisible", !0);
                  },
                },
                {
                  key: "_dragHandle",
                  value: function (t, e, n, r) {
                    if (this.config.calculable) {
                      if (((this._dragging = !e), !e)) {
                        var i = this._applyTransform(
                          [n, r],
                          this._shapes.mainGroup,
                          !0
                        );
                        this._updateInterval(t, i[1]),
                          this._hideIndicator(),
                          this._updateView();
                      }
                      e === !this.config.realtime &&
                        this.dispatch("dragEnd", this._dataInterval);
                    }
                  },
                },
                {
                  key: "_createBarGroup",
                  value: function (t) {
                    var e = this.config,
                      n = e.orient,
                      r = e.inverse,
                      i = {};
                    return (
                      (i =
                        "horizontal" !== n || r
                          ? "horizontal" === n && r
                            ? {
                                scaleX: "bottom" === t ? -1 : 1,
                                rotation: -Math.PI / 2,
                              }
                            : "vertical" !== n || r
                            ? { scaleX: "left" === t ? 1 : -1 }
                            : { scaleX: "left" === t ? 1 : -1, scaleY: -1 }
                          : {
                              scaleX: "bottom" === t ? 1 : -1,
                              rotation: Math.PI / 2,
                            }),
                      new Mv.A(i)
                    );
                  },
                },
                {
                  key: "_updateView",
                  value: function () {
                    var t =
                        arguments.length > 0 &&
                        void 0 !== arguments[0] &&
                        arguments[0],
                      e = this.getExtent(),
                      n = this._shapes,
                      r = [0, this.itemSize[1]],
                      i = t ? r : this._handleEnds,
                      o = this._createBarVisual(
                        this._dataInterval,
                        e,
                        i,
                        "inRange"
                      ),
                      a = this._createBarVisual(e, e, r, "outOfRange");
                    n.inRange
                      .setStyle({ fill: o.barColor })
                      .setShape("points", o.barPoints),
                      n.outOfRange
                        .setStyle({ fill: a.barColor })
                        .setShape("points", a.barPoints),
                      this._updateHandle(i, o);
                  },
                },
                {
                  key: "_updateHandle",
                  value: function (t, e) {
                    var n = this;
                    if (this.config.calculable) {
                      var r = this._shapes,
                        i = r.handleThumbs,
                        o = r.handleLabels,
                        a = this.itemSize,
                        s = this.config,
                        c = s.inRange,
                        l = s.orient;
                      pe.A.each(
                        [0, 1],
                        function (s) {
                          Gg(this, n);
                          var u = i[s];
                          u.setStyle("fill", e.handlesColor[s]), (u.y = t[s]);
                          var f = c.symbolSize;
                          (u.scaleX = u.scaleY = f[s] / a[0]),
                            (u.x = a[0] - f[s] / 2);
                          var d = $g(r.handleLabelPoints[s], Bg(u, this.group));
                          o[s].setStyle({
                            x: d[0],
                            y: d[1],
                            text: this.formatValueText(this._dataInterval[s]),
                            verticalAlign: "middle",
                            align:
                              "vertical" === l
                                ? this._applyTransform("left", r.mainGroup)
                                : "center",
                            fill: this.config.textStyle.color,
                          });
                        }.bind(this)
                      );
                    }
                  },
                },
                {
                  key: "_createBarVisual",
                  value: function (t, e, n, r) {
                    var i = { forceState: r, convertOpacityToAlpha: !0 },
                      o = this._makeColorGradient(t, i),
                      a = this.config["".concat(r)].symbolSize,
                      s = this._createBarPoints(n, a);
                    return {
                      barColor: new Rg.A(0, 0, 0, 1, o),
                      barPoints: s,
                      handlesColor: [o[0].color, o[o.length - 1].color],
                    };
                  },
                },
                {
                  key: "_makeColorGradient",
                  value: function (t, e) {
                    var n = [],
                      r = (t[1] - t[0]) / 100,
                      i = this.config["".concat(e.forceState)].color;
                    n.push({ color: this.getColor(t[0], i), offset: 0 });
                    for (var o = 1; o < 100; o++) {
                      var a = t[0] + r * o;
                      if (a > t[1]) break;
                      n.push({ color: this.getColor(a, i), offset: o / 100 });
                    }
                    return (
                      n.push({ color: this.getColor(t[1], i), offset: 1 }), n
                    );
                  },
                },
                {
                  key: "_createBarPoints",
                  value: function (t, e) {
                    var n = this.itemSize;
                    return [
                      [n[0] - e[0], t[0]],
                      [n[0], t[0]],
                      [n[0], t[1]],
                      [n[0] - e[1], t[1]],
                    ];
                  },
                },
                {
                  key: "_enableHoverLinkToSeries",
                  value: function () {
                    var t = this;
                    this._shapes.mainGroup
                      .on(
                        "mousemove",
                        function (e) {
                          if (
                            (Gg(this, t),
                            (this._hovering = !0),
                            !this._dragging)
                          ) {
                            var n = this.itemSize,
                              r = Bg(this._shapes.mainGroup, null),
                              i = $g([e.offsetX, e.offsetY], r, !0);
                            (i[1] = Math.min(Math.max(0, i[1]), n[1])),
                              this._doHoverLinkToSeries(
                                i[1],
                                i[0] >= 0 && i[0] <= n[0]
                              );
                          }
                        }.bind(this)
                      )
                      .on(
                        "mouseout",
                        function () {
                          Gg(this, t),
                            (this._hovering = !1),
                            this._dragging || this._hideIndicator();
                        }.bind(this)
                      );
                  },
                },
                {
                  key: "_doHoverLinkToSeries",
                  value: function (t, e) {
                    var n = this.itemSize;
                    if (this.config.hoverLink) {
                      var r = [0, n[1]],
                        i = this.getExtent(),
                        o = [
                          (t = Math.min(Math.max(r[0], t), r[1])) - 6,
                          t + 6,
                        ],
                        a = Hv(t, r, i, !0),
                        s = [Hv(o[0], r, i, !0), Hv(o[1], r, i, !0)];
                      o[0] < r[0] && (s[0] = -1 / 0),
                        o[1] > r[1] && (s[1] = 1 / 0),
                        e &&
                          (s[0] === -1 / 0
                            ? this._showIndicator(a, s[1], "< ")
                            : s[1] === 1 / 0
                            ? this._showIndicator(a, s[0], "> ")
                            : this._showIndicator(a, a, "≈ ")),
                        this.dispatch("mousemove", a);
                    }
                  },
                },
                {
                  key: "_applyTransform",
                  value: function (t, e, n) {
                    var r = Bg(e, this.group);
                    return Ov.isArray(t)
                      ? $g(t, r, n)
                      : (function (t, e, n) {
                          var r =
                              0 === e[4] || 0 === e[5] || 0 === e[0]
                                ? 1
                                : Math.abs((2 * e[4]) / e[0]),
                            i =
                              0 === e[4] || 0 === e[5] || 0 === e[2]
                                ? 1
                                : Math.abs((2 * e[4]) / e[2]),
                            o = [
                              "left" === t ? -r : "right" === t ? r : 0,
                              "top" === t ? -i : "bottom" === t ? i : 0,
                            ];
                          return (
                            (o = $g(o, e, n)),
                            Math.abs(o[0]) > Math.abs(o[1])
                              ? o[0] > 0
                                ? "right"
                                : "left"
                              : o[1] > 0
                              ? "bottom"
                              : "top"
                          );
                        })(t, r, n);
                  },
                },
                {
                  key: "_resetInterval",
                  value: function () {
                    this._dataInterval = this.getSelected();
                    var t = this.getExtent(),
                      e = [0, this.itemSize[1]];
                    this._handleEnds = [
                      Hv(this._dataInterval[0], t, e, !0),
                      Hv(this._dataInterval[1], t, e, !0),
                    ];
                  },
                },
                {
                  key: "_updateInterval",
                  value: function (t, e) {
                    e = e || 0;
                    var n = this._handleEnds,
                      r = [0, this.itemSize[1]];
                    !(function (t, e, n, r, i, o) {
                      t = t || 0;
                      var a = n[1] - n[0];
                      if (
                        (null != i && (i = Fg(i, [0, a])),
                        null != o && (o = Math.max(o, null != i ? i : 0)),
                        "all" === r)
                      ) {
                        var s = Math.abs(e[1] - e[0]);
                        (s = Fg(s, [0, a])), (i = o = Fg(s, [i, o])), (r = 0);
                      }
                      (e[0] = Fg(e[0], n)), (e[1] = Fg(e[1], n));
                      var c = Ug(e, r);
                      e[r] += t;
                      var l,
                        u = i || 0,
                        f = n.slice();
                      c.sign < 0 ? (f[0] += u) : (f[1] -= u),
                        (e[r] = Fg(e[r], f)),
                        (l = Ug(e, r)),
                        null != i &&
                          (l.sign !== c.sign || l.span < i) &&
                          (e[1 - r] = e[r] + c.sign * i),
                        (l = Ug(e, r)),
                        null != o &&
                          l.span > o &&
                          (e[1 - r] = e[r] + l.sign * o);
                    })(e, n, r, t, 0);
                    var i = this.getExtent();
                    this._dataInterval = [
                      Hv(n[0], r, i, !0),
                      Hv(n[1], r, i, !0),
                    ];
                  },
                },
                {
                  key: "getSelected",
                  value: function () {
                    var t = this.getExtent(),
                      e = this.config.range;
                    return (
                      e[0] > t[1] && (e[0] = t[1]),
                      e[1] > t[1] && (e[1] = t[1]),
                      e[0] < t[0] && (e[0] = t[0]),
                      e[1] < t[0] && (e[1] = t[0]),
                      e
                    );
                  },
                },
                {
                  key: "destroy",
                  value: function () {
                    !(function (t, e, n, r) {
                      var i = Kg(Zg(1 & r ? t.prototype : t), e, n);
                      return 2 & r && "function" == typeof i
                        ? function (t) {
                            return i.apply(n, t);
                          }
                        : i;
                    })(
                      e,
                      "destroy",
                      this,
                      3
                    )([]),
                      (this._handleEnds = null),
                      (this._dataInterval = null),
                      this._shapes.mainGroup.off("mousemove").off("mouseout"),
                      (this._shapes = null);
                  },
                },
              ])
            );
          })(ng),
          ry = n(47345),
          iy = n(73497),
          oy = n(56579),
          ay = n(42878),
          sy = n(28073),
          cy = n(55368),
          ly = n(99545),
          uy = n(81493);
        const fy = {
            $: Q(),
            _: pe.A,
            React: X,
            antd: {
              Tooltip: iy.A,
              Radio: oy.Ay,
              Tree: ay.A,
              Input: sa.A,
              Popover: sy.A,
              Select: cy.A,
              ConfigProvider: ly.Ay,
              Checkbox: ti.A,
              Form: uy.A,
            },
            ReactDOM: Hf,
            ReactDOMClient: {
              hydrateRoot: Y.hydrateRoot,
              createRoot: Y.createRoot,
            },
            ReactDOMServer: c,
            reactWindow: { FixedSizeList: Ff.Y1, FixedSizeGrid: Ff.yi },
            classnames: ri(),
            Component: At.Ay,
            Hookable: de.Ay,
            moment: M(),
            uuid: $t.A,
            hoc: {
              runtime: Qd,
              containerRuntime: function (t) {
                return (function (t) {
                  function e(t, n) {
                    return (
                      (function (t, e) {
                        if (!(t instanceof e))
                          throw new TypeError(
                            "Cannot call a class as a function"
                          );
                      })(this, e),
                      ih(this, e, [t, n])
                    );
                  }
                  return (
                    (function (t, e) {
                      if ("function" != typeof e && null !== e)
                        throw new TypeError(
                          "Super expression must either be null or a function"
                        );
                      (t.prototype = Object.create(e && e.prototype, {
                        constructor: {
                          value: t,
                          writable: !0,
                          configurable: !0,
                        },
                      })),
                        Object.defineProperty(t, "prototype", { writable: !1 }),
                        e && ch(t, e);
                    })(e, t),
                    (function (t, e, n) {
                      return (
                        e && nh(t.prototype, e),
                        n && nh(t, n),
                        Object.defineProperty(t, "prototype", { writable: !1 }),
                        t
                      );
                    })(e, [
                      {
                        key: "getChildren",
                        value: function () {
                          return this.children;
                        },
                      },
                      {
                        key: "getComponentInstance",
                        value: function (t, e) {
                          return (0, Co.xy)(t, e);
                        },
                      },
                      {
                        key: "renderChildComponent",
                        value: function (t, e, n, r) {
                          var i = this;
                          if (t) {
                            var o = t.find("#".concat(n.id));
                            o.length
                              ? ((n.$parent = Q()(
                                  o.parents(".ux-component-root")[0]
                                )),
                                (n.$element = o))
                              : (n.$parent = Q()(
                                  '<div class="ux-component-root"></div>'
                                ));
                          }
                          return this.getComponentInstance(n, t).then(
                            function (t) {
                              var e = this;
                              return (
                                eh(this, i),
                                t.setParentInstance(this),
                                (this.children[r] = t),
                                t.addHook(
                                  "beforeDestroy",
                                  function () {
                                    var n = this;
                                    eh(this, e),
                                      (this.children = this.children.filter(
                                        function (e) {
                                          return eh(this, n), e.id !== t.id;
                                        }.bind(this)
                                      ));
                                  }.bind(this)
                                ),
                                t
                              );
                            }.bind(this)
                          );
                        },
                      },
                      {
                        key: "destroy",
                        value: function () {
                          var t = this;
                          this.children.forEach(
                            function (e) {
                              eh(this, t);
                              try {
                                var n;
                                null == e ||
                                  null === (n = e.destroy) ||
                                  void 0 === n ||
                                  n.call(e);
                              } catch (t) {
                                sfLogger.error(t);
                              }
                            }.bind(this)
                          ),
                            (function (t, e, n, r) {
                              var i = ah(sh(1 & r ? t.prototype : t), e, n);
                              return 2 & r && "function" == typeof i
                                ? function (t) {
                                    return i.apply(n, t);
                                  }
                                : i;
                            })(
                              e,
                              "destroy",
                              this,
                              3
                            )([]);
                        },
                      },
                    ])
                  );
                })(t);
              },
              echartRuntime: function (t) {
                return (function (t) {
                  function e() {
                    var t;
                    !(function (t, e) {
                      if (!(t instanceof e))
                        throw new TypeError(
                          "Cannot call a class as a function"
                        );
                    })(this, e);
                    for (
                      var n = arguments.length, r = new Array(n), i = 0;
                      i < n;
                      i++
                    )
                      r[i] = arguments[i];
                    return (
                      Ch((t = wh(this, e, [].concat(r))), "$wrapper", void 0),
                      Ch(t, "$element", void 0),
                      Ch(t, "_chartInstance", void 0),
                      Ch(t, "_reactRoot", void 0),
                      t
                    );
                  }
                  return (
                    (function (t, e) {
                      if ("function" != typeof e && null !== e)
                        throw new TypeError(
                          "Super expression must either be null or a function"
                        );
                      (t.prototype = Object.create(e && e.prototype, {
                        constructor: {
                          value: t,
                          writable: !0,
                          configurable: !0,
                        },
                      })),
                        Object.defineProperty(t, "prototype", { writable: !1 }),
                        e && Oh(t, e);
                    })(e, t),
                    (function (t, e, n) {
                      return (
                        e && _h(t.prototype, e),
                        n && _h(t, n),
                        Object.defineProperty(t, "prototype", { writable: !1 }),
                        t
                      );
                    })(e, [
                      {
                        key: "init",
                        value: function () {
                          var t = this;
                          return (
                            Eh(e, "init", this, 3)([]),
                            async function () {
                              var e = this;
                              Vh(this, t),
                                await (async function (t) {
                                  var e = this,
                                    n = t.manifest,
                                    r = n.type,
                                    i = n.version,
                                    o = n.dependencies,
                                    a = n.dependenciesInner,
                                    s = "echarts",
                                    c = o[s];
                                  if (a) {
                                    var l = [];
                                    if (
                                      (Object.keys(a).map(
                                        function (t) {
                                          lh(this, e),
                                            t.startsWith(s) && l.push(t);
                                        }.bind(this)
                                      ),
                                      l.length)
                                    ) {
                                      var u = await (0, Co.Oi)(
                                        s,
                                        c,
                                        r,
                                        i,
                                        "dependenciesInner"
                                      );
                                      (u = Promise.all(
                                        l.map(
                                          function (t) {
                                            return lh(this, e), u[s][t]();
                                          }.bind(this)
                                        )
                                      )) instanceof Promise &&
                                        (u = await u).map(
                                          function (n) {
                                            var r = this;
                                            lh(this, e),
                                              Object.keys(n.default).map(
                                                function (e) {
                                                  lh(this, r),
                                                    t
                                                      .getLib(s)
                                                      .use(n.default[e]);
                                                }.bind(this)
                                              );
                                          }.bind(this)
                                        );
                                    }
                                  }
                                })(this),
                                this.mount(this.$parent).then(
                                  function () {
                                    Vh(this, e),
                                      this.fetch(),
                                      this.registEvent();
                                  }.bind(this)
                                );
                            }.bind(this)(),
                            Promise.resolve()
                          );
                        },
                      },
                      {
                        key: "mount",
                        value: function (t) {
                          var n = this;
                          return new Promise(
                            function (r) {
                              var i = this;
                              Vh(this, n), Eh(e, "mount", this, 3)([t]);
                              var o = this.contextId
                                ? (0, Ot.Ge)(this.contextId)
                                : (0, Ot.Ge)();
                              (this.$wrapper = Q()(
                                '<div class="ux-component-wrapper"></div>'
                              )),
                                this.$parent.append(this.$wrapper);
                              var a = this.getBasicConfig(),
                                s =
                                  this.getRunTimeData(
                                    "originConfig"
                                  ).basicConfig;
                              t.css(
                                bh(
                                  bh(
                                    {},
                                    !this.contextId && {
                                      width: (0, Ot.ez)(s.width).fullValue,
                                      height: (0, Ot.ez)(s.height).fullValue,
                                    }
                                  ),
                                  {},
                                  {
                                    left: (0, Ot.ez)(a.left).fullValue,
                                    top: (0, Ot.ez)(a.top).fullValue,
                                  }
                                )
                              ),
                                this.$wrapper.css({
                                  width: a.width,
                                  height: a.height,
                                  transform: "scaleX("
                                    .concat(1 / o.xf, ") scaleY(")
                                    .concat(1 / o.yf, ")"),
                                  "transform-origin": "0 0",
                                });
                              var c = function () {
                                Vh(this, i), r(this);
                              }.bind(this);
                              this._reactRoot ||
                                (this._reactRoot = (0, Y.createRoot)(
                                  this.$wrapper[0]
                                )),
                                this._reactRoot.render(
                                  X.createElement(vh, {
                                    uxInstance: this,
                                    callback: c,
                                  })
                                );
                            }.bind(this)
                          );
                        },
                      },
                      {
                        key: "getScaleConfigs",
                        value: function () {
                          return pe.A.cloneDeep(Nd);
                        },
                      },
                      {
                        key: "render",
                        value: function () {
                          return (
                            Eh(e, "render", this, 3)([]),
                            this._reactRoot.render(
                              X.createElement(vh, {
                                uxInstance: this,
                                renderData: this.getRunTimeData("renderData"),
                              })
                            ),
                            Promise.resolve()
                          );
                        },
                      },
                      {
                        key: "registEvent",
                        value: function () {
                          var t = this;
                          Eh(e, "registEvent", this, 3)([]);
                          var n = function (e, n) {
                              Vh(this, t), this.dispatchEvent(fh[e], n);
                            }.bind(this),
                            r = { id: null };
                          [
                            "click",
                            "dblclick",
                            "mouseover",
                            "mouseout",
                          ].forEach(
                            function (e) {
                              var i = this;
                              Vh(this, t),
                                this._chartInstance.on(
                                  e,
                                  function (t) {
                                    Vh(this, i);
                                    var o = (0, $u.JI)(this, t);
                                    (t.eventData = o),
                                      dh(e, n.bind(this, e, t), r);
                                  }.bind(this)
                                );
                            }.bind(this)
                          );
                        },
                      },
                      {
                        key: "destroy",
                        value: function () {
                          var t,
                            n,
                            r = this;
                          [
                            "click",
                            "dblclick",
                            "mouseover",
                            "mouseout",
                          ].forEach(
                            function (t) {
                              var e;
                              Vh(this, r),
                                null === (e = this._chartInstance) ||
                                  void 0 === e ||
                                  e.off(t);
                            }.bind(this)
                          ),
                            null === (t = this._chartInstance) ||
                              void 0 === t ||
                              t.clear(),
                            null === (n = this._chartInstance) ||
                              void 0 === n ||
                              n.dispose(),
                            (this._chartInstance = null),
                            this._reactRoot.unmount(),
                            (this._reactRoot = null),
                            (this.$element = null),
                            Eh(e, "destroy", this, 3)([]);
                        },
                      },
                      {
                        key: "parseEventParams",
                        value: function (t, n, r, i) {
                          switch (t) {
                            case "value":
                            case "originValue":
                            case "name":
                            case "originName":
                            case "originLegendName":
                            case "legendName":
                              return pe.A.get(n, "eventData.".concat(t), "");
                            default:
                              return Eh(
                                e,
                                "parseEventParams",
                                this,
                                3
                              )([t, n, r, i]);
                          }
                        },
                      },
                      {
                        key: "resize",
                        value: function () {
                          var t = (0, Ot.Ge)();
                          this.$wrapper.css({
                            transform: "scaleX("
                              .concat(1 / t.xf, ") scaleY(")
                              .concat(1 / t.yf, ")"),
                            "transform-origin": "0 0",
                          }),
                            this.update();
                        },
                      },
                      {
                        key: "setThresholdLine",
                        value: function (t, e) {
                          !(function (t, e, n) {
                            var r = this;
                            if (t && 0 !== t.length) {
                              var i = e.measurement,
                                o = e.threshold,
                                a = e.thresholdLineColor,
                                s = e.thresholdLineName;
                              t.forEach(
                                function (t) {
                                  var e,
                                    c = this;
                                  uh(this, r);
                                  var l = {
                                    id: n.source.id,
                                    getConfig: function (t) {
                                      return (
                                        uh(this, c),
                                        t.name === i
                                          ? {
                                              lineStyle: {
                                                color: a,
                                                innerColor: "rgba(0,0,0,0)",
                                              },
                                              name: s,
                                              type: o,
                                            }
                                          : null
                                      );
                                    }.bind(this),
                                  };
                                  null === (e = t.markLine.data) ||
                                    void 0 === e ||
                                    e.push({ condition: l });
                                }.bind(this)
                              );
                            }
                          })(
                            pe.A.get(
                              this,
                              "config.basicConfig.options.series",
                              []
                            ),
                            t,
                            e
                          ),
                            this.status === At.$v && this.update();
                        },
                      },
                      {
                        key: "dispatchDomEvent",
                        value: function (t) {
                          this.dispatchEvent(fh[t], null);
                        },
                      },
                    ])
                  );
                })(t);
              },
              wChartRuntime: function (t) {
                return (function (t) {
                  function e(t, n) {
                    var r,
                      i = this;
                    return (
                      (function (t, e) {
                        if (!(t instanceof e))
                          throw new TypeError(
                            "Cannot call a class as a function"
                          );
                      })(this, e),
                      xm((r = Em(this, e, [t, n])), "chartInstance", void 0),
                      xm(r, "chart3D", K.get("common.i18n_61")),
                      xm(
                        r,
                        "updateWChartData",
                        pe.A.debounce(
                          function (t) {
                            wm(this, i), r.chartInstance.setData(t, []);
                          }.bind(this),
                          200,
                          Im
                        )
                      ),
                      xm(
                        r,
                        "updateWChartOptions",
                        pe.A.debounce(
                          function (t, e) {
                            wm(this, i), r.chartInstance.setOption(t, e);
                          }.bind(this),
                          200,
                          Im
                        )
                      ),
                      r
                    );
                  }
                  return (
                    (function (t, e) {
                      if ("function" != typeof e && null !== e)
                        throw new TypeError(
                          "Super expression must either be null or a function"
                        );
                      (t.prototype = Object.create(e && e.prototype, {
                        constructor: {
                          value: t,
                          writable: !0,
                          configurable: !0,
                        },
                      })),
                        Object.defineProperty(t, "prototype", { writable: !1 }),
                        e && Pm(t, e);
                    })(e, t),
                    (function (t, e, n) {
                      return (
                        e && Sm(t.prototype, e),
                        n && Sm(t, n),
                        Object.defineProperty(t, "prototype", { writable: !1 }),
                        t
                      );
                    })(e, [
                      {
                        key: "init",
                        value: function () {
                          return Tm(e, "init", this, 3)([]), Promise.resolve();
                        },
                      },
                      {
                        key: "getChart3DConfig",
                        value: function () {
                          return _m(
                            _m({}, this.getBasicConfig().wChartConfig),
                            this.getViewConfig()
                          );
                        },
                      },
                      {
                        key: "show",
                        value: function () {
                          this.chartInstance &&
                            (this.chartInstance.isShow = !0),
                            Tm(e, "show", this, 3)([]);
                        },
                      },
                      {
                        key: "hide",
                        value: function () {
                          this.chartInstance &&
                            (this.chartInstance.isShow = !1),
                            Tm(e, "hide", this, 3)([]);
                        },
                      },
                      {
                        key: "destroy",
                        value: function () {
                          Tm(e, "destroy", this, 3)([]),
                            null == this ||
                              this.webGLBase.removeCompEft(this.chartInstance),
                            "function" == typeof this.chartInstance.destroy &&
                              this.chartInstance.destroy();
                        },
                      },
                    ])
                  );
                })(ym(t));
              },
              webInteraction: function (t) {
                var e, n, r, i, o, a, s;
                return (
                  (e = de.Ay.registHook("beforeMinSetValue")),
                  (n = de.Ay.registHook("afterSetMinValue", !1)),
                  (r = de.Ay.registHook("beforeSetMaxValue")),
                  (i = de.Ay.registHook("afterSetMaxValue", !1)),
                  (o = de.Ay.registHook("beforeSetValue")),
                  (a = de.Ay.registHook("afterSetValue", !1)),
                  (s = (function (t) {
                    function e() {
                      return (
                        (function (t, e) {
                          if (!(t instanceof e))
                            throw new TypeError(
                              "Cannot call a class as a function"
                            );
                        })(this, e),
                        Mm(this, e, arguments)
                      );
                    }
                    return (
                      (function (t, e) {
                        if ("function" != typeof e && null !== e)
                          throw new TypeError(
                            "Super expression must either be null or a function"
                          );
                        (t.prototype = Object.create(e && e.prototype, {
                          constructor: {
                            value: t,
                            writable: !0,
                            configurable: !0,
                          },
                        })),
                          Object.defineProperty(t, "prototype", {
                            writable: !1,
                          }),
                          e && Bm(t, e);
                      })(e, t),
                      (function (t, e, n) {
                        return (
                          e && Dm(t.prototype, e),
                          n && Dm(t, n),
                          Object.defineProperty(t, "prototype", {
                            writable: !1,
                          }),
                          t
                        );
                      })(e, [
                        {
                          key: "getMinValue",
                          value: function () {
                            return (0, za.A)(
                              this.getRunTimeData("renderData"),
                              "minValue"
                            );
                          },
                        },
                        {
                          key: "getMaxValue",
                          value: function () {
                            return (0, za.A)(
                              this.getRunTimeData("renderData"),
                              "maxValue"
                            );
                          },
                        },
                        {
                          key: "getValue",
                          value: function () {
                            return (0, za.A)(
                              this.getRunTimeData("renderData"),
                              "value"
                            );
                          },
                        },
                        {
                          key: "setMinValue",
                          value: function (t) {
                            var e = this;
                            (0, _t.A)(this.getBasicConfig(), "minValue", t),
                              dd(this).then(
                                function (t) {
                                  var n = this;
                                  Rm(this, e),
                                    this.dataGetter
                                      .addChannel({
                                        target: this,
                                        callback: function () {
                                          return Rm(this, n), this.update();
                                        }.bind(this),
                                      })
                                      .setData(t);
                                }.bind(this)
                              );
                          },
                        },
                        {
                          key: "setMaxValue",
                          value: function (t) {
                            var e = this;
                            (0, _t.A)(this.getBasicConfig(), "maxValue", t),
                              dd(this).then(
                                function (t) {
                                  var n = this;
                                  Rm(this, e),
                                    this.dataGetter
                                      .addChannel({
                                        target: this,
                                        callback: function () {
                                          return Rm(this, n), this.update();
                                        }.bind(this),
                                      })
                                      .setData(t);
                                }.bind(this)
                              );
                          },
                        },
                        {
                          key: "setValue",
                          value: function (t) {
                            var e = this;
                            (t = (0, za.A)(t, "value", t)),
                              Array.isArray(t)
                                ? (t = t.join(","))
                                : "object" === jm(t) &&
                                  (t = t ? JSON.stringify(t) : "");
                            var n = this.dataGetter;
                            n.creator !== this &&
                              (this.dataGetter = n.clone(this)),
                              (0, Tt.Ay)(
                                this,
                                async function () {
                                  var n,
                                    r = this;
                                  if (
                                    (Rm(this, e),
                                    (null !==
                                      (n = this.getBasicConfig("value")) &&
                                    void 0 !== n
                                      ? n
                                      : "") !== t)
                                  ) {
                                    (0, _t.A)(
                                      this.getBasicConfig(),
                                      "value",
                                      t
                                    );
                                    var i = await dd(this);
                                    this.dataGetter
                                      .addChannel({
                                        target: this,
                                        callback: function () {
                                          Rm(this, r),
                                            this.execHooks(
                                              "cleanWarningRenderProcessorQueue"
                                            ),
                                            this.update();
                                        }.bind(this),
                                      })
                                      .setData(i);
                                  }
                                }.bind(this),
                                At.$v
                              ),
                              this.addOnceHook(
                                "afterRender",
                                function () {
                                  Rm(this, e), (this.dataGetter = n);
                                }.bind(this)
                              );
                          },
                        },
                      ])
                    );
                  })(t)),
                  Um(
                    s.prototype,
                    "setMinValue",
                    [e, n],
                    Object.getOwnPropertyDescriptor(s.prototype, "setMinValue"),
                    s.prototype
                  ),
                  Um(
                    s.prototype,
                    "setMaxValue",
                    [r, i],
                    Object.getOwnPropertyDescriptor(s.prototype, "setMaxValue"),
                    s.prototype
                  ),
                  Um(
                    s.prototype,
                    "setValue",
                    [o, a],
                    Object.getOwnPropertyDescriptor(s.prototype, "setValue"),
                    s.prototype
                  ),
                  s
                );
              },
              virtualRuntime: function () {
                var t =
                    arguments.length > 0 && void 0 !== arguments[0]
                      ? arguments[0]
                      : At.Ay,
                  e = arguments.length > 1 ? arguments[1] : void 0;
                return (function (t) {
                  function n() {
                    var t;
                    !(function (t, e) {
                      if (!(t instanceof e))
                        throw new TypeError(
                          "Cannot call a class as a function"
                        );
                    })(this, n);
                    for (
                      var r = arguments.length, i = new Array(r), o = 0;
                      o < r;
                      o++
                    )
                      i[o] = arguments[o];
                    return (
                      zp((t = Fp(this, n, [].concat(i))), "type", e.type),
                      zp(t, "version", e.version),
                      zp(t, "jsPathPrefix", null),
                      zp(t, "contextId", null),
                      zp(t, "origin", null),
                      zp(t, "manifest", e),
                      zp(t, "virtualComponent", !0),
                      t
                    );
                  }
                  return (
                    (function (t, e) {
                      if ("function" != typeof e && null !== e)
                        throw new TypeError(
                          "Super expression must either be null or a function"
                        );
                      (t.prototype = Object.create(e && e.prototype, {
                        constructor: {
                          value: t,
                          writable: !0,
                          configurable: !0,
                        },
                      })),
                        Object.defineProperty(t, "prototype", { writable: !1 }),
                        e && Wp(t, e);
                    })(n, t),
                    (function (t, e, n) {
                      return (
                        e && Up(t.prototype, e),
                        n && Up(t, n),
                        Object.defineProperty(t, "prototype", { writable: !1 }),
                        t
                      );
                    })(n)
                  );
                })(t);
              },
              form: function (t) {
                return (function (t) {
                  function e() {
                    var t;
                    !(function (t, e) {
                      if (!(t instanceof e))
                        throw new TypeError(
                          "Cannot call a class as a function"
                        );
                    })(this, e);
                    for (
                      var n = arguments.length, r = new Array(n), i = 0;
                      i < n;
                      i++
                    )
                      r[i] = arguments[i];
                    return (
                      mp(
                        (t = up(this, e, [].concat(r))),
                        "_formRef",
                        (0, X.createRef)()
                      ),
                      mp(t, "formModel", new ip(t)),
                      t
                    );
                  }
                  return (
                    (function (t, e) {
                      if ("function" != typeof e && null !== e)
                        throw new TypeError(
                          "Super expression must either be null or a function"
                        );
                      (t.prototype = Object.create(e && e.prototype, {
                        constructor: {
                          value: t,
                          writable: !0,
                          configurable: !0,
                        },
                      })),
                        Object.defineProperty(t, "prototype", { writable: !1 }),
                        e && pp(t, e);
                    })(e, t),
                    (function (t, e, n) {
                      return (
                        e && lp(t.prototype, e),
                        n && lp(t, n),
                        Object.defineProperty(t, "prototype", { writable: !1 }),
                        t
                      );
                    })(e, [
                      {
                        key: gp,
                        get: function () {
                          return !0;
                        },
                      },
                      {
                        key: "formInstance",
                        get: function () {
                          return this._formRef
                            ? this._formRef.current
                            : (sfLogger.error(
                                "form[".concat(
                                  this.id,
                                  "] has not been initialized"
                                )
                              ),
                              null);
                        },
                      },
                      {
                        key: "packProps",
                        value: function () {
                          var t = (function (t, e, n, r) {
                            var i = dp(hp(1 & r ? t.prototype : t), e, n);
                            return 2 & r && "function" == typeof i
                              ? function (t) {
                                  return i.apply(n, t);
                                }
                              : i;
                          })(
                            e,
                            "packProps",
                            this,
                            3
                          )([]);
                          return cp(cp({}, t), {}, { formProps: {} });
                        },
                      },
                      {
                        key: "getFormData",
                        value: function () {
                          var t = this;
                          return this.children.reduce(
                            function (e, n) {
                              ap(this, t);
                              var r = this.formModel.getItem(n.id).name,
                                i = this.getFieldValue(r);
                              return (e[n.id] = i), e;
                            }.bind(this),
                            {}
                          );
                        },
                      },
                      {
                        key: "getFieldsValue",
                        value: function () {
                          return this.formInstance.getFieldsValue();
                        },
                      },
                      {
                        key: "getFieldValue",
                        value: function (t) {
                          return this.formInstance.getFieldValue(t);
                        },
                      },
                      {
                        key: "setFieldValue",
                        value: function (t, e) {
                          return this.formInstance.setFieldValue(t, e);
                        },
                      },
                      {
                        key: "resetFields",
                        value: function (t) {
                          return this.formInstance.resetFields(t);
                        },
                      },
                      {
                        key: "validateGlobal",
                        value: async function () {
                          var t = this,
                            e = this.formModel.getConfig().validateConfig,
                            n = void 0 === e ? {} : e;
                          if (!n.validator) return Promise.resolve();
                          var r = (function (t, e) {
                            var n = this,
                              r = {};
                            new Function(
                              "context",
                              "context.configValidator = ".concat(e)
                            )(r);
                            var i = r.configValidator;
                            return function () {
                              Bh(this, n);
                              var e = t.getFormData();
                              return i.call(t, e, {});
                            }.bind(this);
                          })(this, n.validator);
                          return r().catch(
                            function (e) {
                              return (
                                ap(this, t),
                                (0, Nt.errorMessage)(e),
                                Promise.reject(e)
                              );
                            }.bind(this)
                          );
                        },
                      },
                      {
                        key: "validateFields",
                        value: async function (t) {
                          try {
                            await this.formInstance.validateFields(t),
                              await this.validateGlobal();
                          } catch (t) {
                            return Promise.reject(t);
                          }
                          return Promise.resolve();
                        },
                      },
                      {
                        key: "submit",
                        value: async function () {
                          try {
                            await this.validateFields();
                          } catch (t) {
                            return Promise.reject(t);
                          }
                          return this.formInstance.submit();
                        },
                      },
                    ])
                  );
                })(Nh(t));
              },
              formItem: function (t) {
                return (function (t) {
                  function e() {
                    return (
                      (function (t, e) {
                        if (!(t instanceof e))
                          throw new TypeError(
                            "Cannot call a class as a function"
                          );
                      })(this, e),
                      Ep(this, e, arguments)
                    );
                  }
                  return (
                    (function (t, e) {
                      if ("function" != typeof e && null !== e)
                        throw new TypeError(
                          "Super expression must either be null or a function"
                        );
                      (t.prototype = Object.create(e && e.prototype, {
                        constructor: {
                          value: t,
                          writable: !0,
                          configurable: !0,
                        },
                      })),
                        Object.defineProperty(t, "prototype", { writable: !1 }),
                        e && Cp(t, e);
                    })(e, t),
                    (function (t, e, n) {
                      return (
                        e && wp(t.prototype, e),
                        n && wp(t, n),
                        Object.defineProperty(t, "prototype", { writable: !1 }),
                        t
                      );
                    })(e, [
                      {
                        key: "packProps",
                        value: function () {
                          var t = (function (t, e, n, r) {
                            var i = Tp(Op(1 & r ? t.prototype : t), e, n);
                            return 2 & r && "function" == typeof i
                              ? function (t) {
                                  return i.apply(n, t);
                                }
                              : i;
                          })(
                            e,
                            "packProps",
                            this,
                            3
                          )([]);
                          return Vp(
                            Vp({}, t),
                            {},
                            { label: this.mergeLabelStyle() }
                          );
                        },
                      },
                      {
                        key: "mergeLabelStyle",
                        value: function () {
                          var t = $h(this),
                            e = this.getBasicConfig().label,
                            n = void 0 === e ? {} : e;
                          if (!t) return n;
                          var r = t.getBasicConfig();
                          return n.enable ? n : pe.A.merge({}, n, r.label);
                        },
                      },
                      {
                        key: "getValue",
                        value: function () {
                          var t = $h(this);
                          if (!t)
                            return this.getRunTimeData("renderData").value;
                          var e = t.formModel.getItem(this.id).name;
                          return t.getFieldValue(e);
                        },
                      },
                      { key: "setValue", value: function () {} },
                      {
                        key: "getFormItemConfig",
                        value: function () {
                          var t = $h(this);
                          if (!t) return null;
                          var e = t.formModel.getItem(this.id);
                          return Vp(
                            Vp({}, e),
                            {},
                            {
                              rules: this.transformRules(
                                null == e ? void 0 : e.rules
                              ),
                            }
                          );
                        },
                      },
                      {
                        key: "getFormInstance",
                        value: function () {
                          var t = $h(this);
                          return null == t ? void 0 : t.formInstance;
                        },
                      },
                      {
                        key: "transformRules",
                        value: function (t) {
                          var e = this;
                          return t
                            ? t.map(
                                function (t) {
                                  var n = t.type,
                                    r = t.originalRule;
                                  return (
                                    (function (t, e) {
                                      if (t !== e)
                                        throw new TypeError(
                                          "Cannot instantiate an arrow function"
                                        );
                                    })(this, e),
                                    (r = Vp({}, r)),
                                    Gh.transform.call(this, n, r),
                                    r
                                  );
                                }.bind(this)
                              )
                            : [];
                        },
                      },
                    ])
                  );
                })(Nh(t));
              },
              formList: function (t) {
                return (function (t) {
                  function e() {
                    var t;
                    !(function (t, e) {
                      if (!(t instanceof e))
                        throw new TypeError(
                          "Cannot call a class as a function"
                        );
                    })(this, e);
                    for (
                      var n = arguments.length, r = new Array(n), i = 0;
                      i < n;
                      i++
                    )
                      r[i] = arguments[i];
                    return (
                      Np((t = jp(this, e, [].concat(r))), "formModel", void 0),
                      t
                    );
                  }
                  return (
                    (function (t, e) {
                      if ("function" != typeof e && null !== e)
                        throw new TypeError(
                          "Super expression must either be null or a function"
                        );
                      (t.prototype = Object.create(e && e.prototype, {
                        constructor: {
                          value: t,
                          writable: !0,
                          configurable: !0,
                        },
                      })),
                        Object.defineProperty(t, "prototype", { writable: !1 }),
                        e && Mp(t, e);
                    })(e, t),
                    (function (t, e, n) {
                      return (
                        e && Ip(t.prototype, e),
                        n && Ip(t, n),
                        Object.defineProperty(t, "prototype", { writable: !1 }),
                        t
                      );
                    })(e, [
                      {
                        key: "packProps",
                        value: function () {
                          var t = (function (t, e, n, r) {
                            var i = Dp(Lp(1 & r ? t.prototype : t), e, n);
                            return 2 & r && "function" == typeof i
                              ? function (t) {
                                  return i.apply(n, t);
                                }
                              : i;
                          })(
                            e,
                            "packProps",
                            this,
                            3
                          )([]);
                          return kp(
                            kp({}, t),
                            {},
                            { label: this.mergeLabelStyle() }
                          );
                        },
                      },
                      {
                        key: "mergeLabelStyle",
                        value: function () {
                          var t = $h(this),
                            e = this.getBasicConfig().label,
                            n = void 0 === e ? {} : e;
                          if (!t) return n;
                          var r = t.getBasicConfig();
                          return n.enable ? n : pe.A.merge({}, n, r.label);
                        },
                      },
                      {
                        key: "getFormInstance",
                        value: function () {
                          var t = $h(this);
                          return null == t ? void 0 : t.formInstance;
                        },
                      },
                      {
                        key: "getFormListConfig",
                        value: function () {
                          var t = $h(this);
                          return t ? t.formModel.getItem(this.id) : null;
                        },
                      },
                      {
                        key: "updateFormModel",
                        value: function () {
                          this.formModel && this.formModel.dispose(),
                            (this.formModel = new ip(this));
                        },
                      },
                    ])
                  );
                })(Nh(t));
              },
              jsxView: Nh,
            },
            zrender: ry,
            visualMap: l,
            webGl: Tv,
            sm4: qr.A,
          },
          dy = {
            store: w.A,
            setComponentThemeConfig: function (t) {
              w.A.dispatch({
                type: _.k.SET_COMPONENT_THEME_CONFIG,
                payload: t,
              });
            },
            selectCurrentPage: S.Vs,
            selectPageById: S.Wv,
            selectComponentById: S.Y9,
            selectCardConfigByRealCardId: S.nc,
            selectFlatternComponents: S.nx,
            selectParentComponentById: S.w7,
            selectCurrentProject: at.ph,
            setCurrentProject: vt,
            setCardtoPage: function (t, e) {
              w.A.dispatch({
                type: _.k.SET_CARD_TO_PAGE,
                payload: t || {},
                id: e,
              });
            },
            setPageLoaded: P,
            setCurrentPage: O,
            getComponentExtraInfo: S.mC,
            Provider: rt.Kq,
            connect: rt.Ng,
            getRunnerPageConfig: async function (t, e) {
              var n =
                  arguments.length > 2 && void 0 !== arguments[2]
                    ? arguments[2]
                    : (0, g.x6)(),
                r = await (0, V.get)(
                  ""
                    .concat(n, "/preview/")
                    .concat(t, "/")
                    .concat(e, "/pageInfo")
                );
              return null != r && r.data
                ? r.data
                : (sfLogger.error("get page config error"), {});
            },
            setRunnerPageConfig: function (t) {
              (t.config = (0, g.uf)(t.config, t.projectId)), x(h()(t));
            },
            destroyCardinPage: function () {
              C(
                arguments.length > 0 && void 0 !== arguments[0]
                  ? arguments[0]
                  : ""
              );
            },
          };
        window.SF = window.SF || {};
        var hy = { registerPlugins: Cc.registerPlugins };
        Object.assign(window.SF, {
          version: "1.0",
          dataNoCache: !1,
          lib: fy,
          helper: Uf,
          store: dy,
          cockpit: xc,
          ai2chart: hy,
        });
        var py = void 0;
        function my(t, e) {
          if (t !== e)
            throw new TypeError("Cannot instantiate an arrow function");
        }
        M().extend($()),
          M().extend(U()),
          M().extend(H()),
          M().extend(W()),
          M().extend(q()),
          sfLogger.time("load page time");
        var vy = { zh: "zh-cn", en: "en" };
        !(function () {
          var t, e;
          !(function () {
            try {
              var t,
                e = (null !== (t = SF.data) && void 0 !== t ? t : {}).project,
                n = void 0 === e ? {} : e,
                r = SF.data.pages,
                i = void 0 === r ? [] : r;
              i.length &&
                (i = JSON.parse(tt.A.decodeXSSChar(JSON.stringify(i)))),
                n.config &&
                  "string" == typeof n.config &&
                  (n.config = JSON.parse(tt.A.decodeXSSChar(n.config)));
            } catch (t) {
              sfLogger.debug("XSS Replace Error:".concat(t));
            }
          })();
          var n = null === (t = SF.data) || void 0 === t ? void 0 : t.project;
          if (
            (null != n && n.config) ||
            (null != n &&
              null !== (e = n.config) &&
              void 0 !== e &&
              e.projectLoading)
          ) {
            var r = (null == n ? void 0 : n.config).loading || {},
              i = r.backgroundColor,
              o = r.fontColor,
              a = r.icon,
              s = r.text,
              c = r.isLoading,
              l = r.fontSize;
            c &&
              et({
                backgroundColor: i,
                fontColor: o,
                icon: a,
                text: s,
                fontSize: l,
              });
          }
        })();
        var gy = function () {
          my(this, py), (0, f.v)(), M().locale("zh-cn");
          var t = (0, K.getCurrentLanguage)();
          M().locale(vy[t] || vy.zh),
            (n.g.SCSPool = u.Ay),
            (0, Mt.xw)(),
            Z.installEmitter(),
            (0, Y.createRoot)(document.querySelector("#root")).render(
              X.createElement(Oc, null)
            );
        }.bind(void 0);
        f.B.init().finally(
          function () {
            return my(this, py), gy();
          }.bind(void 0)
        );
      },
      16136: (t, e, n) => {
        "use strict";
        function r(t) {
          return "object" == typeof t ? { ...t } : t;
        }
        function i(t = {}) {
          return t && t.data ? { ...t, data: t.data.map(r) } : t;
        }
        function o(t, e) {
          if (t)
            return t[e] && t[e].data && t[e].data[0]
              ? r(t[e].data[0])
              : t[0] && t[0].data && t[0].data[0]
              ? r(t[0].data[0])
              : void 0;
        }
        function a(t, e = "value") {
          return void 0 === t
            ? t
            : "object" == typeof t && null !== t
            ? t[e]
            : t;
        }
        function s(t = [], e = []) {
          if (!t && !e) return t;
          for (
            t.length > e.length && (t = t.slice(0, e.length));
            t.length < e.length;

          )
            t.push(i(t[0]));
          return (
            t.forEach((n, r) => {
              let i = n.data || [];
              const s = e[r] || [];
              if (i || s) {
                for (
                  i.length > s.length &&
                  ((n.data = i.slice(0, s.length)), (i = i.slice(0, s.length)));
                  i.length < s.length;

                )
                  i.push(o(t, r));
                i.forEach((t, e) => {
                  const n = s[e];
                  "object" == typeof t
                    ? ((t.value = a(n)),
                      void 0 !== t.name &&
                        void 0 !== n.name &&
                        (t.name = n.name))
                    : (i[e] = a(n));
                });
              }
            }),
            t
          );
        }
        function c(t = [], e = [], n = "x") {
          return t || e
            ? (t.forEach((r, i) => {
                let s = r.data || [];
                const c = e[i] || [];
                if (s || c) {
                  for (
                    s.length > c.length &&
                    ((r.data = s.slice(0, c.length)),
                    (s = s.slice(0, c.length)));
                    s.length < c.length;

                  )
                    s.push(o(t, i));
                  s.forEach((t, e) => {
                    "object" != typeof t
                      ? (s[e] = a(c[e], n))
                      : (t.value = a(c[e], n));
                  });
                }
              }),
              t)
            : t;
        }
        function l(t = {}, e = []) {
          if (!t) return t;
          const { legend: n = {}, series: r = [] } = t;
          if (!n || !n.data) return t;
          let i = n.data;
          const o = e[0];
          if (!o || !o[0] || !o[0].legend) return t;
          for (
            i.length > o.length && ((i = i.slice(0, o.length)), (n.data = i));
            i.length < o.length;

          )
            i.push(i[0]);
          return (
            i.forEach((t, e) => {
              "object" != typeof t
                ? (i[e] = o[e].legend)
                : (t.name = o[e].legend);
            }),
            r.forEach((t) => {
              t &&
                t.data &&
                t.data.length &&
                t.data.forEach((t, e) => {
                  "object" == typeof t && (t.name = o[e].legend);
                });
            }),
            t
          );
        }
        n.d(e, { E2: () => s, W1: () => c, _W: () => a, a$: () => l });
      },
      16494: (t, e, n) => {
        "use strict";
        n.d(e, { A: () => o });
        var r = n(74353),
          i = n.n(r);
        function o(t, e) {
          var n = i()(new Date()),
            r = i()(new Date());
          switch (t) {
            case "day":
              n = n.day(r.day() - e);
              break;
            case "month":
              n = n.month(r.month() - e);
              break;
            case "year":
              n = n.year(r.year() - e);
          }
          return {
            startTime: (n = n.format("YYYY-MM-DD 00:00:00")),
            endTime: (r = r.format("YYYY-MM-DD 23:59:59")),
          };
        }
      },
      16998: (t, e, n) => {
        "use strict";
        function r(t, e) {
          var n,
            r = this;
          return null ===
            (n = (null != t ? t : []).find(
              function (t) {
                return (
                  (function (t, e) {
                    if (t !== e)
                      throw new TypeError(
                        "Cannot instantiate an arrow function"
                      );
                  })(this, r),
                  t.type === e
                );
              }.bind(this)
            )) || void 0 === n
            ? void 0
            : n.feature;
        }
        n.d(e, { A: () => r });
      },
      17369: (t, e, n) => {
        "use strict";
        n.d(e, { A: () => d });
        var r = n(12487),
          i = n(27107),
          o = n(39767),
          a = n(76503),
          s = n(16998),
          c = n(79430);
        function l(t) {
          return (
            (l =
              "function" == typeof Symbol && "symbol" == typeof Symbol.iterator
                ? function (t) {
                    return typeof t;
                  }
                : function (t) {
                    return t &&
                      "function" == typeof Symbol &&
                      t.constructor === Symbol &&
                      t !== Symbol.prototype
                      ? "symbol"
                      : typeof t;
                  }),
            l(t)
          );
        }
        function u(t, e, n) {
          return (
            (e = (function (t) {
              var e = (function (t, e) {
                if ("object" != l(t) || !t) return t;
                var n = t[Symbol.toPrimitive];
                if (void 0 !== n) {
                  var r = n.call(t, e || "default");
                  if ("object" != l(r)) return r;
                  throw new TypeError(
                    "@@toPrimitive must return a primitive value."
                  );
                }
                return ("string" === e ? String : Number)(t);
              })(t, "string");
              return "symbol" == l(e) ? e : e + "";
            })(e)) in t
              ? Object.defineProperty(t, e, {
                  value: n,
                  enumerable: !0,
                  configurable: !0,
                  writable: !0,
                })
              : (t[e] = n),
            t
          );
        }
        var f = u(
          u(
            u({}, i.dL.MAX, o.get("aiModule.i18n_22")),
            i.dL.MIN,
            o.get("aiModule.i18n_23")
          ),
          i.dL.TINY,
          o.get("aiModule.i18n_24")
        );
        function d(t) {
          var e = t.slotParams,
            n = (0, s.A)(e, "simple-level");
          return n
            ? r.Yc.get().dialogStatus === n
              ? Promise.resolve({ content: o.get("aiModule.i18n_14") })
              : (n !== i.dL.MIN &&
                  (0, c.A)({
                    slotParams: [
                      { type: "assistant-model", feature: i.Kt.ANALYSIS },
                    ],
                  }),
                n === i.dL.MAX && (r.bS.set(!1), r.lP.set(!1)),
                r.Yc.setKey("dialogStatus", n),
                Promise.resolve({ content: f[n] }))
            : Promise.resolve({ content: (0, a.A)() });
        }
      },
      17856: (t, e, n) => {
        "use strict";
        n.d(e, { A: () => o });
        var r = n(71542),
          i = n(41702);
        function o(t) {
          var e = this,
            n = { relation: i.Relation.AND, children: [] };
          return (
            t.filter(Boolean).forEach(
              function (t) {
                var i, o;
                !(function (t, e) {
                  if (t !== e)
                    throw new TypeError("Cannot instantiate an arrow function");
                })(this, e),
                  r.A.isEmpty(t) ||
                    (1 ===
                      (null === (i = t.children) || void 0 === i
                        ? void 0
                        : i.length) && (t = t.children[0]),
                    0 !==
                      (null === (o = t.children) || void 0 === o
                        ? void 0
                        : o.length) && n.children.push(t));
              }.bind(this)
            ),
            n.children.length
              ? 1 === n.children.length && n.children[0].relation
                ? n.children[0]
                : n
              : {}
          );
        }
      },
      18001: (t, e, n) => {
        "use strict";
        n.d(e, {
          Ay: () => c,
          be: () => s,
          lh: () => l,
          xP: () => u,
          xw: () => f,
        });
        var r = n(96850),
          i = (n(63413), n(23850)),
          o = void 0;
        function a(t, e) {
          if (t !== e)
            throw new TypeError("Cannot instantiate an arrow function");
        }
        function s() {
          var t,
            e =
              arguments.length > 0 && void 0 !== arguments[0]
                ? arguments[0]
                : null;
          e ||
            (e =
              (null === (t = globalThis.SF.data.page) || void 0 === t
                ? void 0
                : t.id) || (0, i.ph)().config.indexPageId);
          return e;
        }
        function c() {
          var t =
              arguments.length > 0 && void 0 !== arguments[0]
                ? arguments[0]
                : "",
            e = (0, r.E)() ? 5 : 4;
          return window.location.pathname.split(/\/|\?/)[e] || t;
        }
        var l = function () {
            var t = this;
            a(this, o),
              setInterval(
                function () {
                  a(this, t),
                    new Date().getTime() - n.g.SF.clientCurrentTime >= 216e5 &&
                      window.location.reload();
                }.bind(this),
                6e5
              );
          }.bind(void 0),
          u = function () {
            return (
              a(this, o), -1 !== n.g.location.href.indexOf("uxnoauth/report")
            );
          }.bind(void 0),
          f = function () {
            a(this, o),
              u() &&
                n.g.localStorage.setItem(
                  "ue_token",
                  n.g.SF.xRequestAuthHeader.xRequestAuth || ""
                );
          }.bind(void 0);
      },
      18040: (t, e, n) => {
        "use strict";
        n.d(e, {
          Ay: () => l,
          M0: () => f,
          XK: () => d,
          ZD: () => s,
          gB: () => u,
        });
        var r = n(96850);
        function i(t) {
          return (
            (i =
              "function" == typeof Symbol && "symbol" == typeof Symbol.iterator
                ? function (t) {
                    return typeof t;
                  }
                : function (t) {
                    return t &&
                      "function" == typeof Symbol &&
                      t.constructor === Symbol &&
                      t !== Symbol.prototype
                      ? "symbol"
                      : typeof t;
                  }),
            i(t)
          );
        }
        function o(t, e) {
          var n = Object.keys(t);
          if (Object.getOwnPropertySymbols) {
            var r = Object.getOwnPropertySymbols(t);
            e &&
              (r = r.filter(function (e) {
                return Object.getOwnPropertyDescriptor(t, e).enumerable;
              })),
              n.push.apply(n, r);
          }
          return n;
        }
        function a(t, e, n) {
          return (
            (e = (function (t) {
              var e = (function (t, e) {
                if ("object" != i(t) || !t) return t;
                var n = t[Symbol.toPrimitive];
                if (void 0 !== n) {
                  var r = n.call(t, e || "default");
                  if ("object" != i(r)) return r;
                  throw new TypeError(
                    "@@toPrimitive must return a primitive value."
                  );
                }
                return ("string" === e ? String : Number)(t);
              })(t, "string");
              return "symbol" == i(e) ? e : e + "";
            })(e)) in t
              ? Object.defineProperty(t, e, {
                  value: n,
                  enumerable: !0,
                  configurable: !0,
                  writable: !0,
                })
              : (t[e] = n),
            t
          );
        }
        var s = {
            PREFIX: "",
            PREFIX_REPLACE_FLAG: "/__sdc_ux_prefix__",
            GATE_WAY: "/gateway",
            VIEWER_BIZ: "/viewer-biz",
            AE_MANAGE_BIZ: "/ae-manage-biz",
            AUTH_CENTER: "/auth-center",
            AUTH_CENTER_SERVER: "/auth-center-server",
            MESSAGE_CENTER_SERVER: "/message-center-server",
            UX: "/ux",
            UX_API: "/ux/api",
            UX_CARD_RUNNER: "/uxcardrunner",
            UX_RUNER: "/uxrunner",
            UX_STATIC_CUSTOMER: "/ux/static/customer",
            UX_STATIC_SYSTEM: "/ux/static/system",
            JS_PATH_PREFIX: "/ux/components",
            SFUX_VENDOR: "/sfueVendor",
            RESULT_API: "/ueApps/api",
            UGIS_EDITOR_BIZ: "/ugis-editor-biz",
            UGIS_DM_BIZ: "/ugis-dm-biz",
            BMS_BIZ: "/bms-biz",
            SMART_UE: "/smartue",
            BE_MANAGE_BIZ: "/be-manage-biz",
            M3_EDITOR_BIZ: "/m3editor-biz",
            AI_UE: "/ueai/api",
            AI_UE_STATIC: "/ueai/static",
          },
          c = (0, r.H)(
            (function (t) {
              for (var e = 1; e < arguments.length; e++) {
                var n = null != arguments[e] ? arguments[e] : {};
                e % 2
                  ? o(Object(n), !0).forEach(function (e) {
                      a(t, e, n[e]);
                    })
                  : Object.getOwnPropertyDescriptors
                  ? Object.defineProperties(
                      t,
                      Object.getOwnPropertyDescriptors(n)
                    )
                  : o(Object(n)).forEach(function (e) {
                      Object.defineProperty(
                        t,
                        e,
                        Object.getOwnPropertyDescriptor(n, e)
                      );
                    });
              }
              return t;
            })({}, s)
          );
        const l = c;
        var u = "".concat(c.SFUX_VENDOR, "/ux/geojson"),
          f = "".concat(c.SFUX_VENDOR, "/remoteEntry.js"),
          d = "".concat(
            c.UX,
            "/uxmanage/static/images/src/assets/svg/card.svg"
          );
      },
      18882: (t, e, n) => {
        "use strict";
        n.d(e, { A: () => o, n: () => a });
        var r = n(74692),
          i = n.n(r);
        function o(t, e) {
          var n = this,
            r = "";
          return (
            i().each(
              t,
              function (t, i) {
                ((function (t, e) {
                  if (t !== e)
                    throw new TypeError("Cannot instantiate an arrow function");
                })(this, n),
                null != i) &&
                  (r += "&".concat(e || t, "=").concat(encodeURIComponent(i)));
              }.bind(this)
            ),
            r.substr(1)
          );
        }
        function a(t, e) {
          var n = o(e);
          return n
            ? -1 === t.indexOf("?")
              ? "".concat(t, "?").concat(n)
              : "".concat(t, "&").concat(n)
            : t;
        }
      },
      19481: (t, e, n) => {
        "use strict";
        n.d(e, {
          Ch: () => o,
          Qc: () => c,
          j_: () => s,
          ry: () => l,
          vG: () => a,
        });
        var r = n(71542),
          i = n(16136);
        function o(t, e) {
          let n = !1,
            r = !1,
            i = !1;
          return (
            t.xAxis &&
              t.xAxis[e] &&
              t.xAxis[e].data &&
              t.xAxis[e].data.length &&
              (n = !0),
            t.yAxis &&
              t.yAxis[e] &&
              t.yAxis[e].data &&
              t.yAxis[e].data.length &&
              (r = !0),
            0 === e &&
              t.legend &&
              t.legend.data &&
              t.legend.data.length &&
              (i = !0),
            { hasXAxis: n, hasYAxis: r, hasLegend: i }
          );
        }
        function a(t) {
          if (!t || !t.length) return !1;
          for (let e = 0; e < t.length; e++) {
            const n = t[e];
            if (
              "object" == typeof n &&
              (void 0 !== n.x || void 0 !== n.y || void 0 !== n.legend)
            )
              return !0;
          }
          return !1;
        }
        function s(t) {
          if (!t || !t.length || t.length <= 1) return t;
          if (!a(t[0]) && t[0]) return t;
          for (let e = 1; e < t.length; e++) if (a(t[e])) return t;
          const e = [[...t[0]]];
          for (let n = 1; n < t.length; n++) {
            t[n].forEach((t, r) => {
              let o = e[0][r];
              void 0 === o && ((e[0][r] = {}), (o = e[0][r])),
                "object" != typeof o &&
                  ((e[0][r] = { value: o }), (o = e[0][r])),
                (o[`value${n + 1}`] = (0, i._W)(t, "value"));
            });
          }
          return e;
        }
        function c(t, e) {
          if (!t || !t.data || !t.data.length) return !1;
          if (!e || !e.length) return !1;
          const n = r.A.uniq(t.data.map((t) => (0, i._W)(t, "name"))),
            o = r.A.uniq(e.map((t) => t.name));
          if (r.A.difference(n, o).length <= 0) return !0;
          for (let t = 0; t < e.length; t++) {
            const i = e[t];
            if (!i || !i.data) continue;
            const o = r.A.uniq(i.data.map((t) => t.name));
            if (r.A.difference(n, o).length <= 0) return 1 === n.length;
          }
          return n.length === e.length;
        }
        function l(t) {
          return t && t.length
            ? t.map((t) => (t && t.data && t.data.length ? t.data : []))
            : [];
        }
      },
      21459: (t, e, n) => {
        "use strict";
        n.d(e, {
          Ge: () => m,
          Tz: () => v,
          XK: () => p,
          bF: () => c,
          ez: () => l,
          oN: () => u,
          sU: () => h,
        });
        var r = n(71542),
          i = n(52063),
          o = n(15354),
          a = n(63413);
        function s(t, e) {
          if (t !== e)
            throw new TypeError("Cannot instantiate an arrow function");
        }
        var c = (function (t) {
          return (t[(t.x = 0)] = "x"), (t[(t.y = 1)] = "y"), t;
        })({});
        function l(t, e) {
          var n = t;
          return (
            "function" == typeof e && (n = e(n)),
            { fullValue: "".concat(n, "px"), value: n, unit: "px" }
          );
        }
        function u(t, e) {
          var n = t;
          return (
            "function" == typeof e && (n = e(n)),
            { fullValue: "".concat(n, "rem"), value: n, unit: "rem" }
          );
        }
        function f(t, e) {
          var n = this;
          return "number" == typeof t
            ? t * e
            : Array.isArray(t)
            ? t.map(
                function (t) {
                  return s(this, n), f(t, e);
                }.bind(this)
              )
            : t;
        }
        function d(t, e, n, i) {
          if (n !== e.length) {
            var o = [],
              a = e[n];
            if (a.indexOf("[?]") >= 0) {
              var s = a.split("[?]")[0];
              if (!(o = r.A.get(t, s))) return;
              for (var c = 0; c < o.length; c++) d(o[c], e, n + 1, i);
            } else if (n === e.length - 1) {
              var l = r.A.get(t, a);
              l && r.A.set(t, a, f(l, i));
            } else {
              if (!t[a]) return;
              d(t[a], e, n + 1, i);
            }
          }
        }
        function h(t) {
          return !t.width || Number.isNaN(t.width) ? 1 : (0, a.Dl)() / t.width;
        }
        function p(t) {
          return !t.height || Number.isNaN(t.height)
            ? 1
            : (0, a.OQ)() / t.height;
        }
        function m() {
          var t,
            e =
              arguments.length > 0 && void 0 !== arguments[0]
                ? arguments[0]
                : (0, o.Vs)().id,
            n = (0, o.Wv)(e),
            r =
              null !== (t = null == n ? void 0 : n.config) && void 0 !== t
                ? t
                : {},
            a = 1,
            s = 1;
          if (!r.resolution || n.type === i.PageType.Card)
            return { xf: a, yf: s };
          switch (r.resolutionType) {
            case i.ResolutionType.WidthZoom:
              (a = h(r)), (s = h(r));
              break;
            case i.ResolutionType.HeightZoom:
              (a = p(r)), (s = p(r));
              break;
            case i.ResolutionType.Proportional:
              (a = h(r)), (s = p(r));
          }
          return { xf: a, yf: s };
        }
        function v(t, e, n) {
          var i = this,
            a = (0, o.Vs)().config,
            c = r.A.cloneDeep(t);
          return a.resolution || n
            ? (n || (n = m(this.contextId)),
              e.forEach(
                function (t, e) {
                  var o,
                    a = this;
                  (s(this, i), 2 !== e)
                    ? (o = n[0 === e ? "xf" : "yf"])
                    : (o = Math.min(n.xf, n.yf));
                  t.forEach(
                    function (t) {
                      if ((s(this, a), -1 === t.indexOf("[?]"))) {
                        var e = r.A.get(c, t);
                        e && r.A.set(c, t, f(e, o));
                      } else {
                        var n = t.split(".");
                        d(c, n, 0, o);
                      }
                    }.bind(this)
                  );
                }.bind(this)
              ),
              c)
            : c;
        }
      },
      22565: (t, e, n) => {
        "use strict";
        n.d(e, { d: () => r, m: () => i });
        var r = [],
          i = 225;
      },
      23358: (t, e, n) => {
        "use strict";
        n.d(e, { R: () => p });
        var r = n(47712),
          i = n(44518);
        function o(t, e) {
          if (t !== e)
            throw new TypeError("Cannot instantiate an arrow function");
        }
        var a = function (t, e) {
          var n = this;
          o(this, undefined);
          var a = e ? { id: t, contextId: e } : { id: t };
          return new Promise(
            function (t) {
              var e = this;
              o(this, n),
                (0, i.Ay)(
                  a,
                  function (n) {
                    o(this, e), t(n);
                  }.bind(this),
                  r.zR
                );
            }.bind(this)
          );
        }.bind(void 0);
        var s = n(12211),
          c = n(71542),
          l = n(15354);
        function u(t, e) {
          if (t !== e)
            throw new TypeError("Cannot instantiate an arrow function");
        }
        function f(t) {
          var e,
            n = this;
          return (
            null !==
              (e = (
                arguments.length > 1 && void 0 !== arguments[1]
                  ? arguments[1]
                  : (0, l.Vs)().config.pageParams
              ).find(
                function (e) {
                  return u(this, n), e.name === t;
                }.bind(this)
              )) && void 0 !== e
              ? e
              : { value: t }
          ).value;
        }
        function d(t, e) {
          if (t !== e)
            throw new TypeError("Cannot instantiate an arrow function");
        }
        async function h(t, e) {
          var n = this,
            r = null == t ? void 0 : t.value,
            i = (0, s.Y)();
          if (c.A.isArray(r) && (null == r ? void 0 : r.length) > 0) {
            var o = [];
            await Promise.all(
              r.map(
                async function (t) {
                  d(this, n);
                  var r = t;
                  "string" == typeof t &&
                    (t.match(/^\$system.*/g) && (r = i(t.split(".").slice(1))),
                    t.match(/^\$component.*/g) &&
                      (r = await (async function (t, e) {
                        var n,
                          r = t.split("."),
                          i =
                            null == e ||
                            null === (n = e.component) ||
                            void 0 === n
                              ? void 0
                              : n.contextId,
                          o = r[1],
                          s = r.slice(2).join("."),
                          c = await a(o, i);
                        if (!c) return t;
                        var l = null;
                        return (
                          c.parseComponentParams &&
                            (l = await c.parseComponentParams(s)),
                          l
                        );
                      })(t, e)),
                    t.match(/^\$page.*/g) && (r = await f(t))),
                    o.push(r);
                }.bind(this)
              )
            ),
              (t.value = o);
          }
        }
        async function p(t, e) {
          var n = this;
          t.children &&
            (await Promise.all(
              t.children.map(
                async function (t) {
                  d(this, n),
                    await h(null == t ? void 0 : t.left, e),
                    await h(null == t ? void 0 : t.right, e),
                    await p(t, e);
                }.bind(this)
              )
            ));
        }
      },
      23850: (t, e, n) => {
        "use strict";
        n.d(e, {
          BS: () => f,
          Qb: () => d,
          b4: () => l,
          bv: () => a,
          jP: () => c,
          l0: () => u,
          ph: () => o,
          rX: () => s,
        });
        var r = n(71542),
          i = n(6368);
        function o() {
          var t = (
            arguments.length > 0 && void 0 !== arguments[0]
              ? arguments[0]
              : i.A.getState()
          ).app;
          return t.projects[t.currentProject];
        }
        function a() {
          return (
            arguments.length > 0 && void 0 !== arguments[0]
              ? arguments[0]
              : i.A.getState()
          ).app.user;
        }
        function s() {
          return (
            arguments.length > 0 && void 0 !== arguments[0]
              ? arguments[0]
              : i.A.getState()
          ).app.remoteControls;
        }
        function c() {
          return (
            (arguments.length > 0 && void 0 !== arguments[0]
              ? arguments[0]
              : i.A.getState()
            ).app.systemConstants || {}
          );
        }
        function l() {
          var t,
            e =
              arguments.length > 0 && void 0 !== arguments[0]
                ? arguments[0]
                : i.A.getState();
          return r.A.isEmpty(e.app.projectWatermarkInfo)
            ? (null === (t = o()) || void 0 === t
                ? void 0
                : t.config.watermark) || {}
            : e.app.projectWatermarkInfo;
        }
        function u() {
          (arguments.length > 0 && void 0 !== arguments[0]) || i.A.getState();
          return [];
        }
        function f() {
          (arguments.length > 0 && void 0 !== arguments[0]) || i.A.getState();
          return "";
        }
        function d() {
          return (
            (arguments.length > 0 && void 0 !== arguments[0]
              ? arguments[0]
              : i.A.getState()
            ).app.theme || {}
          );
        }
      },
      25288: (t, e, n) => {
        "use strict";
        function r(t, e) {
          if (t !== e)
            throw new TypeError("Cannot instantiate an arrow function");
        }
        n.d(e, { A: () => o });
        var i = {
          blur: function (t) {
            return "blur(".concat(t, "px)");
          },
          brightness: function (t) {
            return "brightness(".concat(2 * t, "%)");
          },
          contrast: function (t) {
            return "contrast(".concat(2 * t, "%)");
          },
          opacity: function (t) {
            return "opacity(".concat(t, "%)");
          },
          sepia: function (t) {
            return "sepia(".concat(t, "%)");
          },
          saturate: function (t) {
            return "saturate(".concat(2 * t, "%)");
          },
          invert: function (t) {
            return "invert(".concat(t, "%)");
          },
          hueRotate: function (t) {
            return "hue-rotate(".concat(t, "deg)");
          },
          grayscale: function (t) {
            return "grayscale(".concat(t, "%)");
          },
          dropShadow: function (t) {
            return "drop-shadow("
              .concat(t.x, "px ")
              .concat(t.y, "px ")
              .concat(t.blur, "px ")
              .concat(t.color, ")");
          },
        };
        function o(t, e) {
          var n = this;
          if (t.filter && e) {
            var o = t.filter,
              a = o.item,
              s = o.open,
              c = Object.keys(s)
                .map(
                  function (t) {
                    if ((r(this, n), s[t])) return "".concat(i[t](a[t]));
                  }.bind(this)
                )
                .filter(
                  function (t) {
                    return r(this, n), t;
                  }.bind(this)
                )
                .join(" ");
            return e.css("filter", c), c;
          }
        }
      },
      26150: (t, e, n) => {
        "use strict";
        n.d(e, { B: () => j, A: () => R });
        var r = n(6044),
          i = n.n(r),
          o = n(71542);
        (0, n(39767).register)("conditionSetting", {
          zh: {
            delete_condition: "删除",
            edit_condition: "修改",
            condition_setting: "条件设置",
            and: "与",
            or: "或",
            remove: "去掉",
            clear: "清空",
            field_value: "字段值",
            component_value: "组件属性",
            sys_param: "系统参数",
            page_param: "页面参数",
            event_param: "事件参数",
            conditionSetting__ok: "确定",
            conditionSetting__cancel: "取消",
            conditionSetting__date: "固定时间",
            conditionSetting__variable: "时间变量",
            conditionSetting__range: "区间",
            conditionSetting__interval: "区间",
            conditionSetting__relative: "相对时间",
            conditionSetting__relativeDay: "天",
            conditionSetting__relativeMonth: "月",
            conditionSetting__relativeYear: "年",
            conditionSetting__addFilter: "添加",
            conditionSetting__editFilter: "修改",
            compare_fields: "比较字段",
            date_from: "开始日期",
            date_to: "结束日期",
            select_date: "选择日期",
          },
          en: {
            delete_condition: "Delete",
            edit_condition: "Modify",
            condition_setting: "Condition setting",
            and: "And",
            or: "Or",
            remove: "Remove",
            clear: "Clear",
            field_value: "Field value",
            component_value: "Component attribute",
            sys_param: "System parameters",
            page_param: "Page parameters",
            event_param: "Event parameters",
            conditionSetting__ok: "OK",
            conditionSetting__cancel: "Cancel",
            conditionSetting__date: "Fixed time",
            conditionSetting__variable: "Time variable",
            conditionSetting__range: "Interval",
            conditionSetting__interval: "Interval",
            conditionSetting__relative: "Relative time",
            conditionSetting__relativeDay: "Day",
            conditionSetting__relativeMonth: "Month",
            conditionSetting__relativeYear: "Year",
            conditionSetting__addFilter: "Add",
            conditionSetting__editFilter: "Modify",
            compare_fields: "Compare fields",
            date_from: "Start date",
            date_to: "End date",
            select_date: "Select date",
          },
        });
        var a = n(64475),
          s = n(98322),
          c = n(15208),
          l = n(17856);
        function u(t) {
          var e;
          if (
            null == t ||
            null === (e = t.children) ||
            void 0 === e ||
            !e.length
          )
            return t;
          return (function t(e) {
            var n,
              r = this;
            return null !== (n = e.children) && void 0 !== n && n.length
              ? ((e.children = e.children.filter(
                  function (e) {
                    var n, i;
                    return (
                      (function (t, e) {
                        if (t !== e)
                          throw new TypeError(
                            "Cannot instantiate an arrow function"
                          );
                      })(this, r),
                      null !== (n = e.children) && void 0 !== n && n.length
                        ? !(
                            null === (i = t(e).children) ||
                            void 0 === i ||
                            !i.length
                          )
                        : !e.isDrillDownCondition
                    );
                  }.bind(this)
                )),
                e)
              : e;
          })(t);
        }
        function f(t) {
          return (
            (f =
              "function" == typeof Symbol && "symbol" == typeof Symbol.iterator
                ? function (t) {
                    return typeof t;
                  }
                : function (t) {
                    return t &&
                      "function" == typeof Symbol &&
                      t.constructor === Symbol &&
                      t !== Symbol.prototype
                      ? "symbol"
                      : typeof t;
                  }),
            f(t)
          );
        }
        function d(t) {
          return (
            (function (t) {
              if (Array.isArray(t)) return h(t);
            })(t) ||
            (function (t) {
              if (
                ("undefined" != typeof Symbol && null != t[Symbol.iterator]) ||
                null != t["@@iterator"]
              )
                return Array.from(t);
            })(t) ||
            (function (t, e) {
              if (t) {
                if ("string" == typeof t) return h(t, e);
                var n = {}.toString.call(t).slice(8, -1);
                return (
                  "Object" === n && t.constructor && (n = t.constructor.name),
                  "Map" === n || "Set" === n
                    ? Array.from(t)
                    : "Arguments" === n ||
                      /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)
                    ? h(t, e)
                    : void 0
                );
              }
            })(t) ||
            (function () {
              throw new TypeError(
                "Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."
              );
            })()
          );
        }
        function h(t, e) {
          (null == e || e > t.length) && (e = t.length);
          for (var n = 0, r = Array(e); n < e; n++) r[n] = t[n];
          return r;
        }
        function p(t, e) {
          var n = Object.keys(t);
          if (Object.getOwnPropertySymbols) {
            var r = Object.getOwnPropertySymbols(t);
            e &&
              (r = r.filter(function (e) {
                return Object.getOwnPropertyDescriptor(t, e).enumerable;
              })),
              n.push.apply(n, r);
          }
          return n;
        }
        function m(t) {
          for (var e = 1; e < arguments.length; e++) {
            var n = null != arguments[e] ? arguments[e] : {};
            e % 2
              ? p(Object(n), !0).forEach(function (e) {
                  v(t, e, n[e]);
                })
              : Object.getOwnPropertyDescriptors
              ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(n))
              : p(Object(n)).forEach(function (e) {
                  Object.defineProperty(
                    t,
                    e,
                    Object.getOwnPropertyDescriptor(n, e)
                  );
                });
          }
          return t;
        }
        function v(t, e, n) {
          return (
            (e = (function (t) {
              var e = (function (t, e) {
                if ("object" != f(t) || !t) return t;
                var n = t[Symbol.toPrimitive];
                if (void 0 !== n) {
                  var r = n.call(t, e || "default");
                  if ("object" != f(r)) return r;
                  throw new TypeError(
                    "@@toPrimitive must return a primitive value."
                  );
                }
                return ("string" === e ? String : Number)(t);
              })(t, "string");
              return "symbol" == f(e) ? e : e + "";
            })(e)) in t
              ? Object.defineProperty(t, e, {
                  value: n,
                  enumerable: !0,
                  configurable: !0,
                  writable: !0,
                })
              : (t[e] = n),
            t
          );
        }
        function g(t, e) {
          if (t !== e)
            throw new TypeError("Cannot instantiate an arrow function");
        }
        var y,
          b = n(16494),
          V = n(41702),
          _ = n(35063);
        function w(t) {
          return (
            (w =
              "function" == typeof Symbol && "symbol" == typeof Symbol.iterator
                ? function (t) {
                    return typeof t;
                  }
                : function (t) {
                    return t &&
                      "function" == typeof Symbol &&
                      t.constructor === Symbol &&
                      t !== Symbol.prototype
                      ? "symbol"
                      : typeof t;
                  }),
            w(t)
          );
        }
        function S(t, e) {
          return (
            (function (t) {
              if (Array.isArray(t)) return t;
            })(t) ||
            (function (t, e) {
              var n =
                null == t
                  ? null
                  : ("undefined" != typeof Symbol && t[Symbol.iterator]) ||
                    t["@@iterator"];
              if (null != n) {
                var r,
                  i,
                  o,
                  a,
                  s = [],
                  c = !0,
                  l = !1;
                try {
                  if (((o = (n = n.call(t)).next), 0 === e)) {
                    if (Object(n) !== n) return;
                    c = !1;
                  } else
                    for (
                      ;
                      !(c = (r = o.call(n)).done) &&
                      (s.push(r.value), s.length !== e);
                      c = !0
                    );
                } catch (t) {
                  (l = !0), (i = t);
                } finally {
                  try {
                    if (
                      !c &&
                      null != n.return &&
                      ((a = n.return()), Object(a) !== a)
                    )
                      return;
                  } finally {
                    if (l) throw i;
                  }
                }
                return s;
              }
            })(t, e) ||
            A(t, e) ||
            (function () {
              throw new TypeError(
                "Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."
              );
            })()
          );
        }
        function E(t) {
          return (
            (function (t) {
              if (Array.isArray(t)) return T(t);
            })(t) ||
            (function (t) {
              if (
                ("undefined" != typeof Symbol && null != t[Symbol.iterator]) ||
                null != t["@@iterator"]
              )
                return Array.from(t);
            })(t) ||
            A(t) ||
            (function () {
              throw new TypeError(
                "Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."
              );
            })()
          );
        }
        function A(t, e) {
          if (t) {
            if ("string" == typeof t) return T(t, e);
            var n = {}.toString.call(t).slice(8, -1);
            return (
              "Object" === n && t.constructor && (n = t.constructor.name),
              "Map" === n || "Set" === n
                ? Array.from(t)
                : "Arguments" === n ||
                  /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)
                ? T(t, e)
                : void 0
            );
          }
        }
        function T(t, e) {
          (null == e || e > t.length) && (e = t.length);
          for (var n = 0, r = Array(e); n < e; n++) r[n] = t[n];
          return r;
        }
        function O(t, e) {
          if (t !== e)
            throw new TypeError("Cannot instantiate an arrow function");
        }
        function C(t, e, n) {
          return (
            (e = (function (t) {
              var e = (function (t, e) {
                if ("object" != w(t) || !t) return t;
                var n = t[Symbol.toPrimitive];
                if (void 0 !== n) {
                  var r = n.call(t, e || "default");
                  if ("object" != w(r)) return r;
                  throw new TypeError(
                    "@@toPrimitive must return a primitive value."
                  );
                }
                return ("string" === e ? String : Number)(t);
              })(t, "string");
              return "symbol" == w(e) ? e : e + "";
            })(e)) in t
              ? Object.defineProperty(t, e, {
                  value: n,
                  enumerable: !0,
                  configurable: !0,
                  writable: !0,
                })
              : (t[e] = n),
            t
          );
        }
        var P =
          (C(
            C(
              C(
                C(
                  C(
                    C(
                      C(
                        C(
                          C(
                            C((y = {}), _.C.Equal, "EQUAL"),
                            _.C.NotEqual,
                            "NO_EQUAL"
                          ),
                          _.C.GreaterThan,
                          "GREATER_THAN"
                        ),
                        _.C.GreaterThanE,
                        "GREATER_THAN_E"
                      ),
                      _.C.LessThan,
                      "LESS_THAN"
                    ),
                    _.C.LessThanE,
                    "LESS_THAN_E"
                  ),
                  _.C.In,
                  "IN"
                ),
                _.C.NotIn,
                "NOT_IN"
              ),
              _.C.IsNull,
              "IS_NULL"
            ),
            _.C.IsNotNull,
            "IS_NOT_NULL"
          ),
          C(
            C(
              C(
                C(
                  C(
                    C(
                      C(
                        C(y, _.C.IsEmpty, "IS_EMPTY"),
                        _.C.IsNotEmpty,
                        "IS_NOT_EMPTY"
                      ),
                      _.C.Like,
                      "LIKE"
                    ),
                    _.C.NotLike,
                    "NOT_LIKE"
                  ),
                  _.C.LeftLike,
                  "L_LIKE"
                ),
                _.C.LeftNotLike,
                "L_NOT_LIKE"
              ),
              _.C.RightLike,
              "R_LIKE"
            ),
            _.C.RightNotLike,
            "R_NOT_LIKE"
          ));
        function x(t) {
          return t.operator === _.C.RelativeRange
            ? (function (t) {
                var e = this,
                  n = t.left,
                  r = t.right,
                  i = n.value,
                  o = n.formula,
                  a = n.asColumnName,
                  s = r.dateGranularity,
                  l = r.dateFormat,
                  u = S(r.value, 1)[0],
                  f = function () {
                    return (
                      O(this, e),
                      {
                        columnName: i,
                        asColumnName: a,
                        formula: o,
                        dataFormat: l,
                      }
                    );
                  }.bind(this),
                  d = (0, b.A)(s, u),
                  h = d.startTime,
                  p = d.endTime;
                return {
                  relation: V.Relation.AND,
                  children: [
                    (0, c.A)(f(), [h], P[_.C.GreaterThanE]),
                    (0, c.A)(f(), [p], P[_.C.LessThan]),
                  ],
                };
              })(t)
            : (function (t) {
                var e = this,
                  n = t.left,
                  r = t.right,
                  i = t.operator,
                  a = n.type,
                  s = n.value,
                  l = n.formula,
                  u = n.asColumnName,
                  f = r.dateFormat,
                  d = r.varType,
                  h = r.dataType,
                  p = function () {
                    return (
                      O(this, e),
                      {
                        columnType: a,
                        columnName: s,
                        asColumnName: u,
                        dataFormat: f,
                        dataType: h,
                        formula: l,
                        isCompareField: d === V.COMPARE_FIELDS,
                      }
                    );
                  }.bind(this),
                  m = o.A.flattenDeep(r.value);
                return i === _.C.Range
                  ? (1 === m.length &&
                      "string" == typeof m[0] &&
                      (m = m[0].split(",")),
                    {
                      relation: V.Relation.AND,
                      children: [
                        (0, c.A)(p(), [m[0]], P[_.C.GreaterThanE]),
                        (0, c.A)(p(), [m[1]], P[_.C.LessThan]),
                      ],
                    })
                  : ([_.C.In, _.C.NotIn].includes(i) &&
                      o.A.isArray(m) &&
                      m.length &&
                      (m = E(
                        new Set(
                          m.reduce(
                            function (t, n) {
                              return (
                                O(this, e),
                                "string" == typeof n
                                  ? [].concat(E(t), E(n.split(",")))
                                  : Array.isArray(n)
                                  ? [].concat(E(t), E(n))
                                  : [].concat(E(t), [n])
                              );
                            }.bind(this),
                            []
                          )
                        )
                      )),
                    (0, c.A)(p(), m, P[i]));
              })(t);
        }
        function k(t, e, n) {
          var r,
            i = this;
          if (null === (r = t.children) || void 0 === r || !r.length)
            return null;
          var o = { relation: "AND", children: [] };
          return (
            t.children.forEach(
              function (t, r) {
                var a, s;
                if (
                  ((function (t, e) {
                    if (t !== e)
                      throw new TypeError(
                        "Cannot instantiate an arrow function"
                      );
                  })(this, i),
                  null !== (a = t.children) && void 0 !== a && a.length)
                )
                  s = k(t, e, n);
                else {
                  var c, l;
                  if ("function" == typeof e)
                    t = null !== (c = e(t)) && void 0 !== c ? c : t;
                  if (((s = x(t)), "function" == typeof n))
                    s = null !== (l = n(s)) && void 0 !== l ? l : s;
                }
                if (0 !== r && o.relation !== t.siblingRelation)
                  return 1 === r
                    ? ((o.relation = t.siblingRelation),
                      void o.children.push(s))
                    : void (o = {
                        relation: t.siblingRelation,
                        children: [o, s],
                      });
                o.children.push(s);
              }.bind(this)
            ),
            o
          );
        }
        var I = n(23358);
        async function j(t, e, n, r) {
          return (t = i()(t)), await (0, I.R)(t, { component: e }), k(t, n, r);
        }
        async function R(t, e, n, r, f) {
          var h = {},
            p = "runtime" === a.o9.Runtime;
          if (
            t &&
            t.conditionFilter &&
            o.A.get(t.conditionFilter, "isValid") &&
            o.A.get(t.conditionFilter, "children.length") > 0
          ) {
            var v = t.conditionFilter;
            h = await j(v, e);
          }
          if (
            (!n.filterType || n.filterType === s.h5.CONDITION_FILTER) &&
            o.A.get(n, "condition.children.length") > 0
          ) {
            var y = i()(n.condition);
            (y = await j(y, e)),
              (h =
                o.A.get(h, "children.length") > 0 && p
                  ? (0, l.A)([h, y])
                  : (0, l.A)([y]));
          }
          return (
            o.A.get(r, "children.length") > 0 && p && (h = (0, l.A)([h, r])),
            (h = (function (t, e) {
              var n,
                r = this;
              t = u(t);
              var i =
                  null !== (n = e.getRunTimeData("drillDownFilterList")) &&
                  void 0 !== n
                    ? n
                    : [],
                o = i.length;
              if (!o) return t;
              if (!i[o - 1].column) return t;
              var a = i
                .reduce(
                  function (t, e, n) {
                    return (
                      g(this, r),
                      n === i.length - 1 ||
                        t.push({
                          column: e.column,
                          conditionValue: i[n + 1].conditionValue,
                        }),
                      t
                    );
                  }.bind(this),
                  []
                )
                .map(
                  function (t) {
                    return (
                      g(this, r),
                      m(
                        m({}, (0, c.A)(t.column, [t.conditionValue])),
                        {},
                        { isDrillDownCondition: !0 }
                      )
                    );
                  }.bind(this)
                );
              return (0, l.A)([t].concat(d(a)));
            })(h, e)),
            h
          );
        }
      },
      27107: (t, e, n) => {
        "use strict";
        n.d(e, {
          Go: () => o,
          Kt: () => c,
          NZ: () => i,
          X2: () => r,
          dL: () => s,
          qp: () => a,
        });
        var r = (function (t) {
            return (
              (t.sy_hide = "hide"),
              (t.sy_show = "show"),
              (t.sy_explain = "explain"),
              (t.sy_wakeup = "wakeup"),
              (t.sy_autoExplain = "autoExplain"),
              (t.sy_pause = "pause"),
              (t.sy_bcEnd = "broadcast-end"),
              (t.sy_bcStart = "broadcast-start"),
              (t.Start = "start"),
              (t.Query = "query"),
              (t.Change = "change"),
              (t.Replace = "replace"),
              (t.Delete = "delete"),
              (t.Clear = "clear"),
              (t.Redirect = "redirect"),
              (t.Exit = "exit"),
              (t.None = "None"),
              (t.ModeSwitch = "modeSwitch"),
              (t.DialogSwitch = "dialogSwitch"),
              (t.TopicSwitch = "topicSwitch"),
              (t.CreateChart = "createChart"),
              (t.Explain = "explain"),
              (t.Adjust = "adjust"),
              (t.Error = "error"),
              (t.Close = "close"),
              t
            );
          })({}),
          i = (function (t) {
            return (t.Keyboard = "keyboard"), (t.Voice = "voice"), t;
          })({}),
          o = (function (t) {
            return (
              (t.QUESTION = "question"),
              (t.ANSWER = "answer"),
              (t.STARTER = "starter"),
              (t.Chart = "chart"),
              (t.Card = "card"),
              t
            );
          })({}),
          a = (function (t) {
            return (t.LOADING = "loading"), (t.FINISH = "finish"), t;
          })({}),
          s = (function (t) {
            return (t.MAX = "max"), (t.MIN = "min"), (t.TINY = "tiny"), t;
          })({}),
          c = (function (t) {
            return (
              (t.ANALYSIS = "analysis"),
              (t.CONTROL = "control"),
              (t.NONE = "none"),
              t
            );
          })({});
      },
      28350: (t, e, n) => {
        "use strict";
        n.d(e, { Ay: () => o, _G: () => i });
        var r = (function (t) {
          return (
            (t.Common = "Common"),
            (t.GisDataset = "GisDataset"),
            (t.General = "General"),
            (t.Statistic = "Statistic"),
            (t.Aggregation = "Aggregation"),
            (t.Migrate = "Migrate"),
            (t.DrillDown = "DrillDown"),
            (t.GeoRealtime = "GeoRealtime"),
            (t.CommonRealtime = "CommonRealtime"),
            t
          );
        })({});
        function i(t) {
          var e = t.category;
          return [r.CommonRealtime, r.GeoRealtime].includes(e);
        }
        function o(t) {
          return (
            i(t) ||
            (function (t) {
              var e = t.category,
                n = t.cronConfigStatus;
              return e === r.Common && 1 === n;
            })(t)
          );
        }
      },
      28379: (t, e, n) => {
        "use strict";
        n.d(e, { se: () => h, A: () => S, Y3: () => f });
        var r = n(74692),
          i = n.n(r),
          o = n(71542),
          a = void 0;
        function s(t, e) {
          if (t !== e)
            throw new TypeError("Cannot instantiate an arrow function");
        }
        var c = {
          logged: !1,
          leaveLogged: !1,
          leaveComponentsIds: {},
          componentsStack: {},
          renderComponentsNum: 0,
        };
        n.g.componentsStatisticCatche = {};
        var l = o.A.debounce(
            function (t, e) {
              s(this, a),
                S.signLogTail("page_end_render", {
                  title: "\r\n最近时间首屏组件渲染完成：",
                  startTime: t,
                  endTime: e,
                  consumingTime: e - t,
                  status: !0,
                });
              var r = n.g.eval(Object.values(c.componentsStack).join("+")),
                i = JSON.stringify(c.componentsStack)
                  .replace(/[,{}]/g, "\r\n")
                  .replace('\\\\"', "");
              (i = "最近时间组件总数统计："
                .concat(r, "\r\n组件分布：")
                .concat(i)),
                S.signLogTail("page_component_statistic_".concat(Date.now()), {
                  title: i,
                  status: !0,
                  isTimer: !1,
                });
            }.bind(void 0),
            1e3
          ),
          u = o.A.debounce(
            function () {
              s(this, a);
              var t = Object.keys(c.leaveComponentsIds);
              t.length &&
                !c.leaveLogged &&
                ((c.leaveLogged = !0),
                S.signLogTail(
                  "page_component_statistic_leave_".concat(Date.now()),
                  {
                    title: "\r\n\r\n异常组件数："
                      .concat(t.length, ",\r\n详细：")
                      .concat(t.join(", ")),
                    status: !0,
                    isTimer: !1,
                  }
                ));
            }.bind(void 0),
            12e3
          );
        function f(t) {
          var e = this;
          S.isPerformanceMode &&
            ((n.g.SF.statisticCatche = c),
            t.addOnceHook(
              "beforeInit",
              function () {
                s(this, e),
                  (c.componentsStack[t.type] =
                    (c.componentsStack[t.type] || 0) + 1),
                  (c.leaveComponentsIds[t.id] = !0),
                  ++c.renderComponentsNum;
              }.bind(this)
            ),
            t.addOnceHook(
              "afterRender",
              function () {
                if (
                  (s(this, e),
                  --c.renderComponentsNum,
                  delete c.leaveComponentsIds[t.id],
                  c.renderComponentsNum < 3 && c.renderComponentsNum >= 0)
                ) {
                  var r = n.g.SF.pageStartRenderTime,
                    i = Date.now() - n.g.SF.clientCurrentTime;
                  l(r, i);
                }
                c.renderComponentsNum < 10 && u();
              }.bind(this)
            ));
        }
        function d(t, e) {
          if (t !== e)
            throw new TypeError("Cannot instantiate an arrow function");
        }
        var h = function (t) {
          var e = this;
          d(this, undefined),
            S.isPerformanceMode &&
              (t.addOnceHook(
                "beforeInit",
                function () {
                  d(this, e), S.initLogWrap();
                }.bind(this)
              ),
              t.addOnceHook(
                "beforeRender",
                function () {
                  d(this, e),
                    S.isPerformanceMode &&
                      ((n.g.SF.pageStartRenderTime =
                        new Date().getTime() - n.g.SF.clientCurrentTime),
                      S.signLogTail("page_start_render", {
                        title: "第一个组件开始渲染时间：",
                        startTime: n.g.SF.pageStartRenderTime,
                        endTime: 0,
                        status: !0,
                      }));
                }.bind(this)
              ));
        }.bind(void 0);
        function p(t) {
          return (
            (p =
              "function" == typeof Symbol && "symbol" == typeof Symbol.iterator
                ? function (t) {
                    return typeof t;
                  }
                : function (t) {
                    return t &&
                      "function" == typeof Symbol &&
                      t.constructor === Symbol &&
                      t !== Symbol.prototype
                      ? "symbol"
                      : typeof t;
                  }),
            p(t)
          );
        }
        function m(t, e) {
          var n = Object.keys(t);
          if (Object.getOwnPropertySymbols) {
            var r = Object.getOwnPropertySymbols(t);
            e &&
              (r = r.filter(function (e) {
                return Object.getOwnPropertyDescriptor(t, e).enumerable;
              })),
              n.push.apply(n, r);
          }
          return n;
        }
        function v(t) {
          for (var e = 1; e < arguments.length; e++) {
            var n = null != arguments[e] ? arguments[e] : {};
            e % 2
              ? m(Object(n), !0).forEach(function (e) {
                  V(t, e, n[e]);
                })
              : Object.getOwnPropertyDescriptors
              ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(n))
              : m(Object(n)).forEach(function (e) {
                  Object.defineProperty(
                    t,
                    e,
                    Object.getOwnPropertyDescriptor(n, e)
                  );
                });
          }
          return t;
        }
        function g(t, e) {
          if (t !== e)
            throw new TypeError("Cannot instantiate an arrow function");
        }
        function y(t, e) {
          for (var n = 0; n < e.length; n++) {
            var r = e[n];
            (r.enumerable = r.enumerable || !1),
              (r.configurable = !0),
              "value" in r && (r.writable = !0),
              Object.defineProperty(t, _(r.key), r);
          }
        }
        function b(t, e, n) {
          return (
            e && y(t.prototype, e),
            n && y(t, n),
            Object.defineProperty(t, "prototype", { writable: !1 }),
            t
          );
        }
        function V(t, e, n) {
          return (
            (e = _(e)) in t
              ? Object.defineProperty(t, e, {
                  value: n,
                  enumerable: !0,
                  configurable: !0,
                  writable: !0,
                })
              : (t[e] = n),
            t
          );
        }
        function _(t) {
          var e = (function (t, e) {
            if ("object" != p(t) || !t) return t;
            var n = t[Symbol.toPrimitive];
            if (void 0 !== n) {
              var r = n.call(t, e || "default");
              if ("object" != p(r)) return r;
              throw new TypeError(
                "@@toPrimitive must return a primitive value."
              );
            }
            return ("string" === e ? String : Number)(t);
          })(t, "string");
          return "symbol" == p(e) ? e : e + "";
        }
        var w = b(function t() {
            !(function (t, e) {
              if (!(t instanceof e))
                throw new TypeError("Cannot call a class as a function");
            })(this, t),
              V(this, "isPerformanceMode", !1),
              V(this, "logMap", new Map()),
              V(this, "logWritenList", []),
              V(this, "dispatchTimer", void 0),
              V(this, "initLogWrap", function () {
                if (this.isPerformanceMode) {
                  if (!this.$contentWrap) {
                    i()(".runtime__container").prepend(
                      "<div class='performance-log-wrap'>\n                    <textarea class='log-content' id='performance-log-content'></textarea>\n                </div>"
                    ),
                      (this.$contentWrap = i()("#performance-log-content"));
                  }
                  this.resetLog();
                }
              }),
              V(this, "appendLogToShow", function () {
                var t = this;
                this.isPerformanceMode &&
                  (this.dispatchTimer = setInterval(
                    function () {
                      var e = this;
                      g(this, t);
                      var n = [this.$contentWrap.text()];
                      this.logWritenList.forEach(
                        function (t) {
                          g(this, e),
                            t.isTimer
                              ? n.push(
                                  ""
                                    .concat(t.title, "，开始：")
                                    .concat(t.startTime || "-", "，结束：")
                                    .concat(t.endTime || "-", "，耗时：")
                                    .concat(t.consumingTime || "-")
                                )
                              : n.push("".concat(t.title));
                        }.bind(this)
                      ),
                        this.$contentWrap.text(n.join("\r\n")),
                        (this.logWritenList = []);
                    }.bind(this),
                    2e3
                  ));
              }),
              V(this, "signLogHead", function (t, e) {
                this.isPerformanceMode &&
                  this.logMap.set(
                    t,
                    v({ startTime: Date.now() - n.g.SF.clientCurrentTime }, e)
                  );
              }),
              V(this, "signLogTail", function (t, e) {
                if (this.isPerformanceMode) {
                  var r = v(
                    v({ isTimer: !0 }, this.logMap.get(t)),
                    {},
                    { endTime: Date.now() - n.g.SF.clientCurrentTime },
                    e
                  );
                  r.isTimer &&
                    (r.consumingTime =
                      r.consumingTime || r.endTime - r.startTime),
                    r.status &&
                      (this.logWritenList.push(r), this.logMap.delete(t));
                }
              }),
              V(this, "resetLog", function () {
                this.logMap.clear(),
                  (this.logWritenList = []),
                  this.$contentWrap.text(""),
                  (c.leaveComponentsIds = {}),
                  (c.logged = !1),
                  (c.renderComponentsNum = 0),
                  (c.componentsStack = {}),
                  (c.leaveLogged = !1);
              });
            var e = n.g.localStorage.getItem("performance_model"),
              r = -1 !== n.g.location.search.indexOf("_p_=1");
            -1 !== n.g.location.search.indexOf("_p_=0") ||
            -1 !== n.g.location.href.indexOf("uxcardrunner")
              ? ((this.isPerformanceMode = !1),
                n.g.localStorage.setItem("performance_model", "false"))
              : (r || "true" === e) &&
                ((this.isPerformanceMode = !0),
                n.g.localStorage.setItem("performance_model", "true"),
                this.appendLogToShow());
          }),
          S = new w();
      },
      29556: (t, e, n) => {
        "use strict";
        n.d(e, { $8: () => p, Ay: () => m, Y3: () => h, dQ: () => d });
        var r = n(71542),
          i = n(53148),
          o = n(52063),
          a = n(23850),
          s = n(15354),
          c = n(12211);
        function l(t, e) {
          var n =
            ("undefined" != typeof Symbol && t[Symbol.iterator]) ||
            t["@@iterator"];
          if (!n) {
            if (
              Array.isArray(t) ||
              (n = (function (t, e) {
                if (t) {
                  if ("string" == typeof t) return u(t, e);
                  var n = {}.toString.call(t).slice(8, -1);
                  return (
                    "Object" === n && t.constructor && (n = t.constructor.name),
                    "Map" === n || "Set" === n
                      ? Array.from(t)
                      : "Arguments" === n ||
                        /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)
                      ? u(t, e)
                      : void 0
                  );
                }
              })(t)) ||
              (e && t && "number" == typeof t.length)
            ) {
              n && (t = n);
              var r = 0,
                i = function () {};
              return {
                s: i,
                n: function () {
                  return r >= t.length
                    ? { done: !0 }
                    : { done: !1, value: t[r++] };
                },
                e: function (t) {
                  throw t;
                },
                f: i,
              };
            }
            throw new TypeError(
              "Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."
            );
          }
          var o,
            a = !0,
            s = !1;
          return {
            s: function () {
              n = n.call(t);
            },
            n: function () {
              var t = n.next();
              return (a = t.done), t;
            },
            e: function (t) {
              (s = !0), (o = t);
            },
            f: function () {
              try {
                a || null == n.return || n.return();
              } finally {
                if (s) throw o;
              }
            },
          };
        }
        function u(t, e) {
          (null == e || e > t.length) && (e = t.length);
          for (var n = 0, r = Array(e); n < e; n++) r[n] = t[n];
          return r;
        }
        function f(t, e) {
          if (t !== e)
            throw new TypeError("Cannot instantiate an arrow function");
        }
        var d = Symbol.for("EVENT_PARAM_FILTER_SYMBOL");
        async function h(t) {
          var e = this,
            n = (0, s.Vs)().config.pageParams,
            i = {};
          switch (
            (n.forEach(
              function (t) {
                f(this, e);
                var n = t.name.split(".")[1];
                i[n] || (i[n] = t.value);
              }.bind(this)
            ),
            t[0])
          ) {
            case "$home":
              var c = (0, a.ph)();
              if (c)
                return {
                  projectId: c.id,
                  pageId: c.config.indexPageId || c.indexPageId,
                };
              break;
            case "$prev":
              var l = (0, s.Vs)(),
                u = (0, a.ph)(),
                d = (null == u ? void 0 : u.children) || [];
              if (l && d && d.length) {
                var h = d.findIndex(
                  function (t) {
                    return f(this, e), t.id === l.id;
                  }.bind(this)
                );
                if (0 === h)
                  return { projectId: u.id, pageId: d[d.length - 1].id };
                var p = r.A.findLast(
                  d.slice(0, h),
                  function (t) {
                    return f(this, e), t.type !== o.PageType.Directory;
                  }.bind(this)
                );
                return p
                  ? { projectId: p.projectId, pageId: p.id }
                  : { projectId: l.projectId, pageId: l.id };
              }
              break;
            case "$next":
              var m = (0, s.Vs)(),
                v = (0, a.ph)(),
                g = (null == v ? void 0 : v.children) || [];
              if (m && g && g.length) {
                var y = g.findIndex(
                  function (t) {
                    return f(this, e), t.id === m.id;
                  }.bind(this)
                );
                if (y === g.length - 1)
                  return {
                    projectId: v.id,
                    pageId: v.config.indexPageId || v.indexPageId,
                  };
                var b = r.A.find(
                  g.slice(y + 1),
                  function (t) {
                    return f(this, e), t.type !== o.PageType.Directory;
                  }.bind(this)
                );
                return b
                  ? { projectId: b.projectId, pageId: b.id }
                  : { projectId: m.projectId, pageId: m.id };
              }
              break;
            default:
              return i[t[0]];
          }
          return t.join(".");
        }
        async function p(t) {
          var e = this,
            n = t.value,
            o = void 0 === n ? "" : n,
            a = t.event,
            u = t.action,
            m = t.eventConfig,
            v = t.source;
          if (r.A.isArray(o))
            return (
              await Promise.all(
                o.map(
                  function (t) {
                    return (
                      f(this, e),
                      p({
                        value: t,
                        event: a,
                        action: u,
                        eventConfig: m,
                        source: v,
                      })
                    );
                  }.bind(this)
                )
              )
            ).filter(
              function (t) {
                return f(this, e), t !== d;
              }.bind(this)
            );
          if (r.A.isObject(o)) {
            for (var g = {}, y = Object.keys(o), b = 0; b < y.length; b++) {
              var V = y[b];
              g[V] = await p({
                value: o[V],
                event: a,
                action: u,
                eventConfig: m,
                source: v,
              });
            }
            return g;
          }
          return "string" == typeof o
            ? (async function (t) {
                var e,
                  n = this,
                  o = t.value,
                  a = void 0 === o ? "" : o,
                  u = t.event,
                  d = t.action,
                  p = t.eventConfig,
                  m = t.source,
                  v = [],
                  g = l(a.split(","));
                try {
                  for (g.s(); !(e = g.n()).done; ) {
                    var y = e.value;
                    if (r.A.startsWith(y, i.DB.Flag)) {
                      var b = y.split(".");
                      switch (b[0]) {
                        case i.DB.System:
                          if (b.length < 2) {
                            v.push(y);
                            break;
                          }
                          var V = await (0, c.Y)();
                          v.push((await V)(b.slice(1)));
                          break;
                        case i.DB.Page:
                          if (b.length < 2) {
                            v.push(y);
                            break;
                          }
                          v.push(await h(b.slice(1)));
                          break;
                        case i.DB.Event:
                          var _ = m.contextId
                            ? (0, s.Y9)(p.sourceId, m.contextId)
                            : (0, s.Y9)(p.sourceId);
                          if (
                            !_ ||
                            "function" != typeof _.parseEventParams ||
                            b.length < 2
                          ) {
                            v.push(y);
                            break;
                          }
                          var w = b.slice(1).join(".");
                          if ("onWarning" === p.eventType) {
                            v.push(r.A.get(u.rowData, w));
                            break;
                          }
                          v.push(await _.parseEventParams(w, u, d, p));
                          break;
                        case i.DB.Component:
                          var S =
                            m && m.contextId
                              ? (0, s.Y9)(b[1], m.contextId)
                              : (0, s.Y9)(b[1]);
                          if (
                            !S ||
                            "function" != typeof S.parseComponentParams ||
                            b.length < 3
                          ) {
                            v.push(y);
                            break;
                          }
                          v.push(
                            await S.parseComponentParams(b.slice(2).join("."), {
                              event: u,
                              action: d,
                              source: m,
                            })
                          );
                          break;
                        case i.DB.Card:
                          var E,
                            A,
                            T =
                              (null == t ||
                              null === (E = t.source) ||
                              void 0 === E ||
                              null === (E = E.card) ||
                              void 0 === E ||
                              null === (E = E.cardCfg) ||
                              void 0 === E
                                ? void 0
                                : E.config) || (0, s.Vs)().config;
                          null != t &&
                            null !== (A = t.source) &&
                            void 0 !== A &&
                            A.contextId &&
                            (T = (0, s.Wv)(t.source.contextId).config);
                          var O = T.cardParams;
                          if (O) {
                            var C = O.find(
                              function (t) {
                                return f(this, n), t.name === a;
                              }.bind(this)
                            );
                            v.push(null == C ? void 0 : C.value);
                          }
                          break;
                        case i.DB.Custom:
                          v.push(b.slice(1).join("."));
                          break;
                        default:
                          v.push(a);
                      }
                    } else v.push(y);
                  }
                } catch (t) {
                  g.e(t);
                } finally {
                  g.f();
                }
                return 1 === v.length ? v[0] : v.join(",");
              })(t)
            : o;
        }
        async function m(t) {
          var e = this,
            n = t.paramConfigs,
            r = t.event,
            i = t.action,
            o = t.eventConfig,
            a = t.source;
          if (!n) return Promise.resolve({});
          var s = {};
          return (
            await Promise.all(
              n.map(
                async function (t) {
                  f(this, e),
                    (s[t.name] = await p({
                      value: t.value.data,
                      event: r,
                      action: i,
                      eventConfig: o,
                      source: a,
                    }));
                }.bind(this)
              )
            ),
            s
          );
        }
      },
      30499: (t, e, n) => {
        "use strict";
        n(39767).register("aiModule", {
          zh: {
            i18n_1: "智能助手已被删除或撤销发布",
            i18n_2: "请输入您的操作...",
            i18n_3:
              "欢迎您使用助手小e，请点击助手头像后，呼叫“小E小E”来为您提供更多服务！",
            i18n_4: "你好！我是智能助手小E，快输入内容和我对话吧~~",
            i18n_5:
              "你好！我是智能助手小E，能够以图表的方式回答问题，快输入内容和我对话吧~~",
            i18n_6: "查询社区治理卡片",
            i18n_7: "请切换到分析模式后，再向我提问",
            i18n_8: "请切换到操控模式后，再向我提问",
            i18n_9: "请先查询卡片后，再进行切换操作",
            i18n_10: "请先查询卡片后，再进行替换操作",
            i18n_11: "请先进入页面布局后，再进行操作",
            i18n_12: "请先切换对话框为最小化或简洁模式，再进行操作",
            i18n_13: "请先查询卡片后，再进行操作",
            i18n_14: "操作已完成，您可以继续向我提问",
            i18n_15: "已为您准备好页面布局，请执行相关操作",
            i18n_16: "当前无可切换的卡片",
            i18n_17: "好的",
            i18n_18: "已为您切换到第",
            i18n_19: "张卡片展示",
            i18n_20: "当前无可关闭的卡片",
            i18n_21: "已为您关闭卡片",
            i18n_22: "已为您调整对话框到最大化",
            i18n_23: "好的，您可以随时呼唤我",
            i18n_24: "已为您调整对话框到简化模式",
            i18n_25: "很抱歉，因无播报内容，请换其它方式提问",
            i18n_26: "对不起，当前模式不存在",
            i18n_27: "操作已完成",
            i18n_28: "您可以继续向我提问",
            i18n_29: "已为您切换到分析模式",
            i18n_30: "已为您切换到操控模式",
            i18n_31: "当前没查到对应的卡片，可以换一种方式继续向我提问",
            i18n_32: "已为您查询到如下卡片：",
            i18n_33: "页面无法找到",
            i18n_34: "已为您切换到",
            i18n_35: "已为您替换成功，请查看页面",
            i18n_36: "我还不支持该功能，您可以换一种方式继续向我提问",
            i18n_37: "请问你要做什么操作",
            i18n_38: "我没听懂你的意思，请换其它方式提问",
            i18n_39: "小e已准备好接收指令",
            i18n_40:
              "指令解析失败或指令内容数据已不存在，请换一种方式继续向我提问",
            i18n_41: "当前无可替换的卡片",
            i18n_42: "指标内容数据不存在",
            i18n_43: "已为您唤醒数字人",
          },
          en: {
            i18n_1:
              "The intelligent assistant has been deleted or unpublished.",
            i18n_2: "Enter your action...",
            i18n_3:
              "Welcome to use Assistant Xiao E! Please click on the assistant's avatar and call out 'Xiao E Xiao E' to provide you with more services!",
            i18n_4:
              "Hello! I'm Xiao E, the intelligent assistant. Just type in your content and start chatting with me~~",
            i18n_5:
              "Hello! I'm Xiao E, the intelligent assistant capable of answering questions with charts. Type away and let's have a conversation~~",
            i18n_6: "Query community governance card",
            i18n_7:
              "Please switch to analysis mode before asking me a question.",
            i18n_8:
              "Please switch to control mode before asking me a question.",
            i18n_9:
              "Please query a card first before performing a switch operation.",
            i18n_10:
              "Please query a card first before performing a replacement operation.",
            i18n_11:
              "Please enter the page layout first before performing a operation.",
            i18n_12:
              "Please minimize or simplify the dialogue box first before performing the operation.",
            i18n_13:
              "Please query a card first before performing this operation.",
            i18n_14:
              "The operation is completed. You can continue to ask me questions.",
            i18n_15:
              "The page layout is ready for you. Please proceed with the relevant operations.",
            i18n_16: "There are no cards to switch to currently.",
            i18n_17: "Okay",
            i18n_18: "I've switched you to the",
            i18n_19: "card display.",
            i18n_20: "There are no cards to close at the moment.",
            i18n_21: "Card has been closed for you.",
            i18n_22: "I've adjusted the dialogue box to maximize for you.",
            i18n_23: "Alright, feel free to call me anytime.",
            i18n_24:
              "I've adjusted the dialogue box to simplified mode for you.",
            i18n_25:
              "Sorry, there's no content to announce. Please try asking in a different way.",
            i18n_26: "I'm sorry, the current mode does not exist.",
            i18n_27: "Operation completed.",
            i18n_28: "You can continue to ask me questions.",
            i18n_29: "I've switched you to analysis mode.",
            i18n_30: "I've switched you to control mode.",
            i18n_31:
              "No corresponding card was found. You can try asking in a different way.",
            i18n_32: "I've found the following cards for you:",
            i18n_33: "Page not found.",
            i18n_34: "I've switched you to",
            i18n_35: "Replacement successful. Please check the page.",
            i18n_36:
              "I don't currently support this function. Please try asking in a different way.",
            i18n_37: "What operation would you like to perform?",
            i18n_38:
              "I didn't understand your meaning. Please try asking in a different way.",
            i18n_39: "Xiao e is ready to receive instructions.",
            i18n_40:
              "The command parsing failed or the command content data no longer exists. Please try another way to continue asking me questions",
            i18n_41: "There are currently no cards that can be replaced",
            i18n_42: "The indicator content data does not exist",
            i18n_43: "已为您唤醒数字人",
          },
        });
      },
      33418: (t, e, n) => {
        "use strict";
        n.d(e, { Ay: () => g, B8: () => p, er: () => m, sJ: () => v });
        var r = n(71542);
        function i(t) {
          return (
            (function (t) {
              if (Array.isArray(t)) return o(t);
            })(t) ||
            (function (t) {
              if (
                ("undefined" != typeof Symbol && null != t[Symbol.iterator]) ||
                null != t["@@iterator"]
              )
                return Array.from(t);
            })(t) ||
            (function (t, e) {
              if (t) {
                if ("string" == typeof t) return o(t, e);
                var n = {}.toString.call(t).slice(8, -1);
                return (
                  "Object" === n && t.constructor && (n = t.constructor.name),
                  "Map" === n || "Set" === n
                    ? Array.from(t)
                    : "Arguments" === n ||
                      /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)
                    ? o(t, e)
                    : void 0
                );
              }
            })(t) ||
            (function () {
              throw new TypeError(
                "Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."
              );
            })()
          );
        }
        function o(t, e) {
          (null == e || e > t.length) && (e = t.length);
          for (var n = 0, r = Array(e); n < e; n++) r[n] = t[n];
          return r;
        }
        function a(t, e) {
          var n = Object.keys(t);
          if (Object.getOwnPropertySymbols) {
            var r = Object.getOwnPropertySymbols(t);
            e &&
              (r = r.filter(function (e) {
                return Object.getOwnPropertyDescriptor(t, e).enumerable;
              })),
              n.push.apply(n, r);
          }
          return n;
        }
        function s(t) {
          for (var e = 1; e < arguments.length; e++) {
            var n = null != arguments[e] ? arguments[e] : {};
            e % 2
              ? a(Object(n), !0).forEach(function (e) {
                  f(t, e, n[e]);
                })
              : Object.getOwnPropertyDescriptors
              ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(n))
              : a(Object(n)).forEach(function (e) {
                  Object.defineProperty(
                    t,
                    e,
                    Object.getOwnPropertyDescriptor(n, e)
                  );
                });
          }
          return t;
        }
        function c(t) {
          return (
            (c =
              "function" == typeof Symbol && "symbol" == typeof Symbol.iterator
                ? function (t) {
                    return typeof t;
                  }
                : function (t) {
                    return t &&
                      "function" == typeof Symbol &&
                      t.constructor === Symbol &&
                      t !== Symbol.prototype
                      ? "symbol"
                      : typeof t;
                  }),
            c(t)
          );
        }
        function l(t, e) {
          if (t !== e)
            throw new TypeError("Cannot instantiate an arrow function");
        }
        function u(t, e) {
          for (var n = 0; n < e.length; n++) {
            var r = e[n];
            (r.enumerable = r.enumerable || !1),
              (r.configurable = !0),
              "value" in r && (r.writable = !0),
              Object.defineProperty(t, d(r.key), r);
          }
        }
        function f(t, e, n) {
          return (
            (e = d(e)) in t
              ? Object.defineProperty(t, e, {
                  value: n,
                  enumerable: !0,
                  configurable: !0,
                  writable: !0,
                })
              : (t[e] = n),
            t
          );
        }
        function d(t) {
          var e = (function (t, e) {
            if ("object" != c(t) || !t) return t;
            var n = t[Symbol.toPrimitive];
            if (void 0 !== n) {
              var r = n.call(t, e || "default");
              if ("object" != c(r)) return r;
              throw new TypeError(
                "@@toPrimitive must return a primitive value."
              );
            }
            return ("string" === e ? String : Number)(t);
          })(t, "string");
          return "symbol" == c(e) ? e : e + "";
        }
        var h = "MEASURE",
          p = (function () {
            return (
              (t = function t(e) {
                !(function (t, e) {
                  if (!(t instanceof e))
                    throw new TypeError("Cannot call a class as a function");
                })(this, t),
                  f(this, "_store", []),
                  f(this, "_indexMap", {}),
                  f(this, "_len", 0),
                  (this._len = e);
              }),
              (e = [
                {
                  key: "get",
                  value: function (t) {
                    var e,
                      n = this,
                      r =
                        null !== (e = null == t ? void 0 : t.fullValue) &&
                        void 0 !== e
                          ? e
                          : t,
                      i = this._indexMap[r];
                    return (
                      void 0 === i &&
                        ((i = this._store.length),
                        (this._indexMap[r] = i),
                        (this._store[i] = new Array(this._len).fill(0).map(
                          function () {
                            return (
                              l(this, n),
                              "object" === c(t)
                                ? {
                                    fullValue: 0,
                                    originValue: 0,
                                    pureFullValue: 0,
                                    value: 0,
                                  }
                                : 0
                            );
                          }.bind(this)
                        ))),
                      this._store[i]
                    );
                  },
                },
                {
                  key: "add",
                  value: function (t, e) {
                    var n = this._indexMap[t];
                    void 0 === n &&
                      ((n = this._store.length),
                      (this._indexMap[t] = n),
                      (this._store[n] = [])),
                      this._store[n].push(e);
                  },
                },
                {
                  key: "values",
                  value: function () {
                    return this._store;
                  },
                },
              ]) && u(t.prototype, e),
              n && u(t, n),
              Object.defineProperty(t, "prototype", { writable: !1 }),
              t
            );
            var t, e, n;
          })();
        function m(t) {
          var e = this;
          if (!t) return t;
          var n = t.columns,
            i = t.data;
          if (!n || !i) return t;
          if (
            !n.find(
              function (t) {
                return l(this, e), t.isLegend;
              }.bind(this)
            )
          )
            return t;
          var o = n.findIndex(
              function (t) {
                return l(this, e), !t.isLegend && t.columnType !== h;
              }.bind(this)
            ),
            a = n.reduce(
              function (t, n, r) {
                return (
                  l(this, e),
                  (n.columnType !== h && n.bindFieldSetting.acceptType !== h) ||
                    t.push(r),
                  t
                );
              }.bind(this),
              []
            ),
            c = n.findIndex(
              function (t) {
                return l(this, e), t.isLegend;
              }.bind(this)
            ),
            u = [n[o]],
            f = r.A.groupBy(
              i,
              function (t) {
                return l(this, e), r.A.isObject(t[c]) ? t[c].fullValue : t[c];
              }.bind(this)
            ),
            d = Object.keys(f),
            m = {},
            v = u.length;
          d.forEach(
            function (t, i) {
              var o = this;
              l(this, e),
                a.forEach(
                  function (e, d) {
                    var h;
                    l(this, o);
                    var p =
                        null === (h = f[t]) ||
                        void 0 === h ||
                        null === (h = h[0]) ||
                        void 0 === h
                          ? void 0
                          : h[c],
                      g = s(
                        s({}, n[e]),
                        {},
                        {
                          columnName: t,
                          displayName: t,
                          legendColumnId: n[c].columnId,
                          originColumnName: r.A.isObject(p) ? p.originValue : p,
                        }
                      );
                    u.push(g);
                    var y = n[e].bindFieldName;
                    m[t + y] = v + d + i * a.length;
                  }.bind(this)
                );
            }.bind(this)
          ),
            (v = u.length);
          var g = new p(v);
          return (
            i.forEach(
              function (t) {
                var i = this;
                l(this, e),
                  a.forEach(
                    function (e) {
                      l(this, i);
                      var a = t[o],
                        s = g.get(a),
                        u = t[c],
                        f = n[e].bindFieldName,
                        d = r.A.get(u, "fullValue", u) + f,
                        h = m[d];
                      (s[0] = a), (s[h] = t[e]);
                    }.bind(this)
                  );
              }.bind(this)
            ),
            (n = u),
            (i = g.values()),
            s(s({}, t), {}, { columns: n, data: i })
          );
        }
        function v(t) {
          var e = this,
            n = null != t ? t : {},
            o = n.columns,
            a = n.data;
          if (!o || !a) return t;
          var c = r.A.zip.apply(r.A, i(a));
          return o.map(
            function (t, n) {
              return l(this, e), s(s({}, t), {}, { data: c[n] || [] });
            }.bind(this)
          );
        }
        function g(t) {
          return v((t = m(t)));
        }
      },
      34625: (t, e, n) => {
        "use strict";
        n.d(e, {
          AU: () => c,
          Go: () => a,
          H3: () => l,
          g6: () => o,
          mD: () => s,
        });
        var r = n(39767),
          i = n(13916);
        var o = (function (t) {
            return (t.release = "release"), (t.preview = "preview"), t;
          })({}),
          a = (function (t) {
            return (
              (t[(t.event = 1)] = "event"), (t[(t.message = 2)] = "message"), t
            );
          })({}),
          s = (function (t) {
            return (t[(t.page = 1)] = "page"), (t[(t.event = 2)] = "event"), t;
          })({}),
          c = function () {
            return (
              (function (t, e) {
                if (t !== e)
                  throw new TypeError("Cannot instantiate an arrow function");
              })(this, undefined),
              {
                onClick: r.get("com.event_click"),
                onDbClick: r.get("com.event_dbclick"),
                onMouseIn: r.get("com.event_mouseIn"),
                onMouseOut: r.get("com.event_mouseOut"),
                onChange: r.get("com.event_valueChange"),
                onInit: r.get("com.event_init"),
                onRendered: r.get("com.event_afterRender"),
                onWarning: r.get("com.event_warning"),
                onRequestStart: r.get("com.event_beforeQuery"),
                onRequestEnd: r.get("com.event_afterQuery"),
                onPlay: r.get("com.event_carousel"),
                onRowClick: r.get("eventSetting.onRowClickComponent"),
                onRowDbClick: r.get("eventSetting.onRowDbClickComponent"),
                onSingleClick: r.get("com.event_click"),
                onSelect: r.get("com.event_selected"),
                onCancel: r.get("com.event_cancelSelect"),
                onCircleQueryDatas: r.get("com.event_onCircleQueryDatas"),
                drillback: r.get("com.event_drillback"),
                drilldown: r.get("com.event_drilldown"),
                onSelectChange: r.get("com.event_onSelectChange"),
                onNodeCarousel: r.get("eventSetting.onNodeCarousel"),
                cardAction: r.get("com.event_onCardAction"),
              }
            );
          }.bind(void 0),
          l = (0, i.fx)() ? "runner" : "designer";
      },
      35063: (t, e, n) => {
        "use strict";
        n.d(e, { C: () => r });
        var r = (function (t) {
          return (
            (t.Equal = "Equal"),
            (t.NotEqual = "NotEqual"),
            (t.GreaterThan = "GreaterThan"),
            (t.GreaterThanE = "GreaterThanE"),
            (t.LessThan = "LessThan"),
            (t.LessThanE = "LessThanE"),
            (t.In = "In"),
            (t.NotIn = "NotIn"),
            (t.IsNull = "IsNull"),
            (t.IsNotNull = "IsNotNull"),
            (t.IsEmpty = "IsEmpty"),
            (t.IsNotEmpty = "IsNotEmpty"),
            (t.Range = "Range"),
            (t.RelativeRange = "RelativeRange"),
            (t.Like = "Like"),
            (t.NotLike = "NotLike"),
            (t.LeftLike = "LeftLike"),
            (t.LeftNotLike = "LeftNotLike"),
            (t.RightLike = "RightLike"),
            (t.RightNotLike = "RightNotLike"),
            (t.TopN = "TopN"),
            t
          );
        })({});
      },
      39021: (t, e, n) => {
        "use strict";
        n.r(e),
          n.d(e, {
            MessageModal: () => C,
            confirmModal: () => k,
            default: () => O,
            errorModal: () => I,
            successModal: () => R,
            warningModal: () => j,
          });
        var r = n(68275),
          i = n(50400),
          o = n(46942),
          a = n.n(o),
          s = n(96540),
          c = n(5338),
          l = n(55794),
          u = n.n(l),
          f = n(39767),
          d = (function (t) {
            return (
              (t[(t.Confirm = 0)] = "Confirm"),
              (t[(t.Error = 1)] = "Error"),
              (t[(t.Warning = 2)] = "Warning"),
              (t[(t.Success = 3)] = "Success"),
              t
            );
          })({});
        const h = n.p + "images/error.464e.svg";
        var p,
          m = ["title", "drggable", "modalRender"],
          v = [
            "okText",
            "okButtonProps",
            "cancelText",
            "cancelButtonProps",
            "onOk",
            "onCancel",
            "footer",
          ],
          g = [
            "okText",
            "okButtonProps",
            "cancelText",
            "cancelButtonProps",
            "onOk",
            "onCancel",
            "title",
            "content",
            "type",
            "getContainer",
            "wrapClassName",
            "footerConfig",
          ],
          y = ["title"],
          b = ["title"];
        function V(t) {
          return (
            (V =
              "function" == typeof Symbol && "symbol" == typeof Symbol.iterator
                ? function (t) {
                    return typeof t;
                  }
                : function (t) {
                    return t &&
                      "function" == typeof Symbol &&
                      t.constructor === Symbol &&
                      t !== Symbol.prototype
                      ? "symbol"
                      : typeof t;
                  }),
            V(t)
          );
        }
        function _() {
          return (
            (_ = Object.assign
              ? Object.assign.bind()
              : function (t) {
                  for (var e = 1; e < arguments.length; e++) {
                    var n = arguments[e];
                    for (var r in n)
                      ({}).hasOwnProperty.call(n, r) && (t[r] = n[r]);
                  }
                  return t;
                }),
            _.apply(null, arguments)
          );
        }
        function w(t, e) {
          if (t !== e)
            throw new TypeError("Cannot instantiate an arrow function");
        }
        function S(t, e) {
          if (null == t) return {};
          var n,
            r,
            i = (function (t, e) {
              if (null == t) return {};
              var n = {};
              for (var r in t)
                if ({}.hasOwnProperty.call(t, r)) {
                  if (-1 !== e.indexOf(r)) continue;
                  n[r] = t[r];
                }
              return n;
            })(t, e);
          if (Object.getOwnPropertySymbols) {
            var o = Object.getOwnPropertySymbols(t);
            for (r = 0; r < o.length; r++)
              (n = o[r]),
                -1 === e.indexOf(n) &&
                  {}.propertyIsEnumerable.call(t, n) &&
                  (i[n] = t[n]);
          }
          return i;
        }
        function E(t, e) {
          return (
            (function (t) {
              if (Array.isArray(t)) return t;
            })(t) ||
            (function (t, e) {
              var n =
                null == t
                  ? null
                  : ("undefined" != typeof Symbol && t[Symbol.iterator]) ||
                    t["@@iterator"];
              if (null != n) {
                var r,
                  i,
                  o,
                  a,
                  s = [],
                  c = !0,
                  l = !1;
                try {
                  if (((o = (n = n.call(t)).next), 0 === e)) {
                    if (Object(n) !== n) return;
                    c = !1;
                  } else
                    for (
                      ;
                      !(c = (r = o.call(n)).done) &&
                      (s.push(r.value), s.length !== e);
                      c = !0
                    );
                } catch (t) {
                  (l = !0), (i = t);
                } finally {
                  try {
                    if (
                      !c &&
                      null != n.return &&
                      ((a = n.return()), Object(a) !== a)
                    )
                      return;
                  } finally {
                    if (l) throw i;
                  }
                }
                return s;
              }
            })(t, e) ||
            (function (t, e) {
              if (t) {
                if ("string" == typeof t) return A(t, e);
                var n = {}.toString.call(t).slice(8, -1);
                return (
                  "Object" === n && t.constructor && (n = t.constructor.name),
                  "Map" === n || "Set" === n
                    ? Array.from(t)
                    : "Arguments" === n ||
                      /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)
                    ? A(t, e)
                    : void 0
                );
              }
            })(t, e) ||
            (function () {
              throw new TypeError(
                "Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."
              );
            })()
          );
        }
        function A(t, e) {
          (null == e || e > t.length) && (e = t.length);
          for (var n = 0, r = Array(e); n < e; n++) r[n] = t[n];
          return r;
        }
        function T(t) {
          var e = this,
            n = E((0, s.useState)({ left: 0, top: 0, bottom: 0, right: 0 }), 2),
            i = n[0],
            o = n[1],
            a = E((0, s.useState)(!0), 2),
            c = a[0],
            l = a[1],
            f = (0, s.useRef)(null),
            d = t.title,
            h = t.drggable,
            p = void 0 === h || h,
            v = t.modalRender,
            g = void 0 === v ? null : v,
            y = S(t, m),
            b = p
              ? s.createElement(
                  "div",
                  {
                    className: "modal__draggableTitle",
                    title: d,
                    onMouseOver: function () {
                      w(this, e), c && l(!1);
                    }.bind(this),
                    onMouseOut: function () {
                      return w(this, e), l(!0);
                    }.bind(this),
                  },
                  d
                )
              : d,
            V = function (t, n) {
              var r;
              w(this, e);
              var i = window.document.documentElement,
                a = i.clientWidth,
                s = i.clientHeight,
                c =
                  null === (r = f.current) || void 0 === r
                    ? void 0
                    : r.getBoundingClientRect();
              c &&
                o({
                  left: -c.left + n.x,
                  right: a - (c.right - n.x),
                  top: -c.top + n.y,
                  bottom: s - (c.bottom - n.y),
                });
            }.bind(this);
          return s.createElement(
            r.A,
            _({}, y, {
              title: b,
              destroyOnClose: !0,
              centered: !0,
              focusTriggerAfterClose: !1,
              modalRender: function () {
                var t =
                  arguments.length > 0 && void 0 !== arguments[0]
                    ? arguments[0]
                    : g;
                return (
                  w(this, e),
                  s.createElement(
                    u(),
                    { disabled: c, bounds: i, onStart: V },
                    s.createElement("div", { ref: f }, t)
                  )
                );
              }.bind(this),
            })
          );
        }
        function O(t) {
          var e = this,
            n = t.okText,
            r = void 0 === n ? f.get("com.confirm") : n,
            o = t.okButtonProps,
            a = void 0 === o ? {} : o,
            c = t.cancelText,
            l = void 0 === c ? f.get("com.cancel") : c,
            u = t.cancelButtonProps,
            d = void 0 === u ? {} : u,
            h = t.onOk,
            p =
              void 0 === h
                ? function () {
                    w(this, e);
                  }.bind(this)
                : h,
            m = t.onCancel,
            g =
              void 0 === m
                ? function () {
                    w(this, e);
                  }.bind(this)
                : m,
            y = t.footer,
            b = S(t, v),
            V = s.createElement(
              i.A,
              _({ key: "submit", type: "primary", onClick: p }, a),
              r
            ),
            E = s.createElement(i.A, _({ key: "cancel", onClick: g }, d), l),
            A = null === y ? null : y || [V, E];
          return s.createElement(
            T,
            _({}, b, { onCancel: g, footer: A, focusTriggerAfterClose: !1 })
          );
        }
        var C = s.forwardRef(
          function (t, e) {
            var n = this;
            w(this, undefined);
            var r,
              o = a()({ iconfont: !0, modal__messageIcon: !0 }),
              c = t.okText,
              l = void 0 === c ? f.get("com.confirm") : c,
              u = t.okButtonProps,
              p = void 0 === u ? {} : u,
              m = t.cancelText,
              v = void 0 === m ? f.get("com.cancel") : m,
              y = t.cancelButtonProps,
              b = void 0 === y ? {} : y,
              V = t.onOk,
              A =
                void 0 === V
                  ? function () {
                      w(this, n);
                    }.bind(this)
                  : V,
              O = t.onCancel,
              C =
                void 0 === O
                  ? function () {
                      w(this, n);
                    }.bind(this)
                  : O,
              P = t.title,
              x = void 0 === P ? f.get("com.confirmOperation") : P,
              k = t.content,
              I = t.type,
              j = void 0 === I ? d.Confirm : I,
              R = t.getContainer,
              D =
                void 0 === R
                  ? document.getElementById("designer__top-menu")
                  : R,
              L = t.wrapClassName,
              M = void 0 === L ? "" : L,
              N = t.footerConfig,
              $ = S(t, g),
              B = s.createElement("span", null, k),
              U = s.createElement(
                "i",
                {
                  className: "".concat(
                    o,
                    " modal__confirmIcon icona-gantanhaojinggaotishi1"
                  ),
                },
                B
              ),
              F = t.icon,
              H = void 0 === F ? U : F,
              G = E((0, s.useState)(!0), 2),
              W = G[0],
              z = G[1];
            if (
              ((0, s.useImperativeHandle)(
                e,
                function () {
                  return (
                    w(this, n),
                    {
                      closeModal: function () {
                        z(!1);
                      },
                    }
                  );
                }.bind(this)
              ),
              N)
            )
              r = N.map(
                function (t) {
                  var e = this;
                  return (
                    w(this, n),
                    s.createElement(
                      i.A,
                      _(
                        {
                          key: t.key || "",
                          type: t.type || "",
                          onClick: function () {
                            w(this, e), t.callback(), z(!1);
                          }.bind(this),
                        },
                        t.okButtonProps
                      ),
                      t.text
                    )
                  );
                }.bind(this)
              );
            else {
              var q = s.createElement(
                i.A,
                _(
                  {
                    key: "submit",
                    type: "primary",
                    onClick: function () {
                      w(this, n), A(), z(!1);
                    }.bind(this),
                  },
                  p
                ),
                l
              );
              switch (
                ((r = [
                  q,
                  s.createElement(
                    i.A,
                    _(
                      {
                        key: "cancel",
                        onClick: function () {
                          w(this, n), C(), z(!1);
                        }.bind(this),
                      },
                      b
                    ),
                    v
                  ),
                ]),
                j)
              ) {
                case d.Error:
                case d.Success:
                  r = [q];
              }
            }
            switch (j) {
              case d.Error:
                H = s.createElement(
                  "span",
                  { className: "".concat(o, " modal__errorIcon") },
                  s.createElement("img", { src: h }),
                  B
                );
                break;
              case d.Success:
                H = s.createElement(
                  "i",
                  {
                    className: "".concat(
                      o,
                      " modal__successIcon icona-querengougou"
                    ),
                  },
                  B
                );
                break;
              case d.Warning:
                H = s.createElement(
                  "i",
                  {
                    className: "".concat(
                      o,
                      " modal__warningIcon icona-guzhanggantanhao1"
                    ),
                  },
                  B
                );
            }
            return s.createElement(
              T,
              _({}, $, {
                footer: r,
                title: x,
                open: W,
                onCancel: function (t) {
                  w(this, n), C(t), z(!1);
                }.bind(this),
                getContainer: D,
                wrapClassName: "".concat(M, " uxStyle"),
                focusTriggerAfterClose: !1,
              }),
              H
            );
          }.bind(void 0)
        );
        function P() {
          p && p.unmount();
          var t = document.querySelector("#sfux__modalContainer");
          return (
            t ||
              (((t = document.createElement("div")).id =
                "sfux__modalContainer"),
              document.body.appendChild(t)),
            (p = (0, c.createRoot)(t))
          );
        }
        function x() {
          p && (p.unmount(), (p = null));
        }
        function k(t, e) {
          return (
            "object" !== V(t) && (t = { content: t }),
            P().render(s.createElement(C, _({}, t, { ref: e }))),
            x
          );
        }
        function I(t) {
          "object" !== V(t) && (t = { content: t });
          var e = t,
            n = e.title,
            r = void 0 === n ? f.get("com.reminder") : n,
            i = S(e, y);
          return (
            P().render(
              s.createElement(C, _({}, i, { title: r, type: d.Error }))
            ),
            x
          );
        }
        function j(t) {
          return (
            "object" !== V(t) && (t = { content: t }),
            P().render(s.createElement(C, _({}, t, { type: d.Warning }))),
            x
          );
        }
        function R(t) {
          "object" !== V(t) && (t = { content: t });
          var e = t,
            n = e.title,
            r = void 0 === n ? f.get("com.reminder") : n,
            i = S(e, b);
          return (
            P().render(
              s.createElement(C, _({}, i, { type: d.Success, title: r }))
            ),
            x
          );
        }
      },
      39388: (t, e, n) => {
        "use strict";
        n.r(e),
          n.d(e, {
            BASIC_COLOR: () => x,
            HORIZONTAL_BAR_XAXIS_THEME_SCHEMA: () => O,
            HORIZONTAL_BAR_YAXIS_THEME_SCHEMA: () => C,
            LEGEND_THEME_SCHEMA: () => k,
            TABLE_THEME_SCHEMA: () => I,
            TOOLTIP_THEME_SCHEMA: () => P,
            VERTICAL_BAR_XAXIS_THEME_SCHEMA: () => A,
            VERTICAL_BAR_YAXIS_THEME_SCHEMA: () => T,
            XAXIS_THEME_SCHEMA: () => S,
            YAXIS_THEME_SCHEMA: () => E,
            adaptThemeBySchema: () => L,
            xy2Angle: () => f,
          });
        var r = n(71542),
          i = n(6044),
          o = n.n(i),
          a = n(87476),
          s = n(23149),
          c = n(9703);
        function l(t, e) {
          if (t !== e)
            throw new TypeError("Cannot instantiate an arrow function");
        }
        var u = 360;
        function f(t, e, n, r) {
          var i = n - t,
            o = r - e,
            a = Math.round((Math.atan2(o, i) / Math.PI) * 180);
          return a >= 0 ? a : u + a;
        }
        const d = {
          toCss: function (t) {
            var e = this;
            if ((0, c.A)(t)) return t;
            if ((0, s.A)(t)) {
              var n = t,
                r = n.x,
                i = n.y,
                o = n.x2,
                a = n.y2,
                u = n.type,
                d = n.colorStops;
              if ("radial" === u)
                return "radial-gradient(circle, ".concat(
                  d
                    .map(
                      function (t) {
                        return (
                          l(this, e),
                          "".concat(t.color, " ").concat(100 * t.offset, "%")
                        );
                      }.bind(this)
                    )
                    .join(","),
                  ")"
                );
              var h = f(r, i, o, a);
              return "linear-gradient(".concat((h + 90) % 360, "deg, ").concat(
                d
                  .map(
                    function (t) {
                      return (
                        l(this, e),
                        "".concat(t.color, " ").concat(100 * t.offset, "%")
                      );
                    }.bind(this)
                  )
                  .join(","),
                ")"
              );
            }
            return t;
          },
        };
        function h(t, e) {
          if (t !== e)
            throw new TypeError("Cannot instantiate an arrow function");
        }
        const p = {
          opacity: function (t, e) {
            var n = this;
            return r.A.isArray(t)
              ? t.map(
                  function (t) {
                    return h(this, n), this.opacity(t, e);
                  }.bind(this)
                )
              : r.A.isObject(t)
              ? (t.colorStops.map(
                  function (t) {
                    return (
                      h(this, n),
                      (t.color = a.modifyAlpha(t.color, r.A.trim(e))),
                      t
                    );
                  }.bind(this)
                ),
                t)
              : a.modifyAlpha(t, r.A.trim(e));
          },
          slice: function (t) {
            for (
              var e = this,
                n = arguments.length,
                i = new Array(n > 1 ? n - 1 : 0),
                o = 1;
              o < n;
              o++
            )
              i[o - 1] = arguments[o];
            return r.A.isArray(t) && r.A.isArray(i)
              ? i.map(
                  function (n) {
                    return h(this, e), t[r.A.trim(n)];
                  }.bind(this)
                )
              : t;
          },
          soild: function (t, e) {
            var n = this;
            return (
              "" === e && sfLogger.warn("index 是数字"),
              r.A.isArray(t) || r.A.isObject(t)
                ? !r.A.isArray(t) && r.A.isObject(t)
                  ? r.A.get(t, "colorStops[".concat(r.A.trim(e), "].color"))
                  : t.map(
                      function (t) {
                        return (
                          h(this, n),
                          r.A.get(
                            t,
                            "colorStops[".concat(r.A.trim(e), "].color")
                          ) || t
                        );
                      }.bind(this)
                    )
                : t
            );
          },
          radial: function (t) {
            var e = this;
            return r.A.isString(t)
              ? t
              : r.A.isArray(t)
              ? t.map(
                  function (t) {
                    return h(this, e), this.radial(t);
                  }.bind(this)
                )
              : {
                  type: "radial",
                  x: 0.5,
                  y: 0.5,
                  r: 0.5,
                  colorStops: t.colorStops,
                };
          },
          canvas2Css: function (t) {
            var e = this;
            return r.A.isArray(t)
              ? t.map(
                  function (t) {
                    return h(this, e), this.canvas2Css(t);
                  }.bind(this)
                )
              : d.toCss(t);
          },
        };
        function m(t) {
          return (
            (function (t) {
              if (Array.isArray(t)) return v(t);
            })(t) ||
            (function (t) {
              if (
                ("undefined" != typeof Symbol && null != t[Symbol.iterator]) ||
                null != t["@@iterator"]
              )
                return Array.from(t);
            })(t) ||
            (function (t, e) {
              if (t) {
                if ("string" == typeof t) return v(t, e);
                var n = {}.toString.call(t).slice(8, -1);
                return (
                  "Object" === n && t.constructor && (n = t.constructor.name),
                  "Map" === n || "Set" === n
                    ? Array.from(t)
                    : "Arguments" === n ||
                      /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)
                    ? v(t, e)
                    : void 0
                );
              }
            })(t) ||
            (function () {
              throw new TypeError(
                "Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."
              );
            })()
          );
        }
        function v(t, e) {
          (null == e || e > t.length) && (e = t.length);
          for (var n = 0, r = Array(e); n < e; n++) r[n] = t[n];
          return r;
        }
        function g(t, e) {
          if (t !== e)
            throw new TypeError("Cannot instantiate an arrow function");
        }
        function y(t, e) {
          var n,
            i = this;
          if (r.A.isNumber(e)) return e;
          if (/^(#|rgba)/.test(e)) return e;
          if ("auto" === e) return e;
          if (r.A.isArray(e))
            return e.map(
              function (e) {
                return g(this, i), y(t, e);
              }.bind(this)
            );
          if (!r.A.includes(e, "@")) return (n = r.A.get(t, e));
          var a = e.split("@");
          return (
            (n = o()(r.A.get(t, a[0]) || "")),
            a[1].split(";").forEach(
              function (t) {
                var e = this;
                g(this, i),
                  r.A.trim(t) &&
                    t.replace(
                      /([a-zA-Z0-9]+)\((.*?)\)/,
                      function (t, r, i) {
                        if ((g(this, e), p[r])) {
                          var o = i.split(",");
                          "" === o && (o = []),
                            (n = p[r].apply(p, [n].concat(m(o))));
                        }
                      }.bind(this)
                    );
              }.bind(this)
            ),
            n
          );
        }
        function b(t, e) {
          var n = this;
          function i(t) {
            return "" === (t = r.A.trim(t)) || /^@/.test(t) ? t : ".".concat(t);
          }
          if ((e = e.replace(/^!/g, "")).includes("[?]")) {
            var o = e.split("[?]"),
              a = r.A.get(t, o[0]);
            e = r.A.isArray(a)
              ? a.map(
                  function (t, e) {
                    return (
                      g(this, n),
                      "".concat(o[0], "[").concat(e, "]").concat(i(o[1]))
                    );
                  }.bind(this)
                )
              : "".concat(o[0]).concat(i(o[1]));
          }
          return y(t, e);
        }
        var V = /\[\?:?(\d)*\]/g;
        function _(t, e) {
          var n = V.exec(e);
          if (!n) return [e];
          var i = n[1] ? Number(n[1]) : 1,
            o = e.split(V),
            a = r.A.get(t, o[0]);
          if (!r.A.isArray(a)) return [o.join(".")];
          for (var s = a.length, c = [], l = 0; l < s; l += i) {
            var u = e.replace(/\[\?:?(\d)*\]/, "[".concat(l, "]"));
            c.push(_(t, u));
          }
          return c.flat();
        }
        function w(t, e) {
          return (
            (e = (function (t, e) {
              var n = this,
                i = /\((.+?)\)/g.exec(e);
              if (!i) return e;
              var o = i[1].split("|"),
                a = e.split(i[0]),
                s = "";
              return (
                r.A.forEach(
                  o,
                  function (e) {
                    g(this, n);
                    var i =
                      "" !== a[0] ? [a[0], r.A.trim(e)].join(".") : r.A.trim(e);
                    return !r.A.has(t, i) || ((s = e), !1);
                  }.bind(this)
                ),
                s
                  ? e.replace(i[0], s)
                  : e.replace(
                      new RegExp(
                        "\\".concat(
                          i[0].replace(")", "\\)").replace("|", "\\|"),
                          "\\."
                        ),
                        "g"
                      ),
                      ""
                    )
              );
            })(t, e)),
            _(t, e)
          );
        }
        var S = {
            "options.xAxis[?]": {
              nameTextStyle: {
                color: "textColor@soild(0)",
                fontSize: "fontSize",
              },
              axisLabel: { fontSize: "fontSize", color: "textColor@soild(0)" },
              axisLine: {
                lineStyle: {
                  color: "lineColor@soild(0)",
                  width: "chart.xAxis.lineWidth",
                },
              },
              axisTick: { lineStyle: { color: "lineColor@soild(0)" } },
              "splitLine.lineStyle.color": "lineColor@soild(0)",
            },
          },
          E = {
            "options.yAxis[?]": {
              nameTextStyle: {
                color: "textColor@soild(0)",
                fontSize: "fontSize",
              },
              axisLabel: { fontSize: "fontSize", color: "textColor@soild(0)" },
              axisLine: {
                lineStyle: {
                  color: "lineColor@soild(0)",
                  width: "chart.xAxis.lineWidth",
                },
              },
              axisTick: { lineStyle: { color: "lineColor@soild(0)" } },
              "splitLine.lineStyle.color": "lineColor@soild(0)",
            },
          },
          A = r.A.merge({}, S, {
            "options.xAxis[?]": {
              "splitLine.lineStyle.width": "chart.xAxis.splitLine.vertical",
            },
          }),
          T = r.A.merge({}, E, {
            "options.yAxis[?]": {
              "splitLine.lineStyle.width": "chart.yAxis.splitLine.vertical",
              "splitLine.lineStyle.type": "chart.yAxis.splitLine.type",
            },
          }),
          O = r.A.merge({}, S, {
            "options.xAxis[?]": {
              "splitLine.lineStyle.width": "chart.xAxis.splitLine.horizontal",
              "splitLine.lineStyle.type": "chart.xAxis.splitLine.type",
            },
          }),
          C = r.A.merge({}, E, {
            "options.yAxis[?]": {
              "splitLine.lineStyle.width": "chart.yAxis.splitLine.horizontal",
              "splitLine.lineStyle.type": "chart.yAxis.splitLine.type",
            },
          }),
          P = {
            "options.tooltip": {
              textStyle: { fontSize: "fontSize", color: "chart.tooltip.color" },
              axisPointer: { type: "chart.tooltip.axisPointerType" },
              backgroundColor: "chart.tooltip.backgroundColor",
              borderColor: "lineColor@soild(0)",
            },
          },
          x = {
            "border.color": "basic.borderColor",
            "background.color": "basic.backgroundColor",
          },
          k = {
            "options.legend": {
              "textStyle.fontSize": "fontSize",
              "textStyle.color": "textColor@soild(0)",
            },
          },
          I = {
            style: {
              pageColor: "minorColors[0]@soild(0);opacity(0)",
              borderColor: "lineColor",
              themeColor: "minorColors[0]@soild(0)",
              styleModel: {
                headerBackground: "minorColors[0]@soild(0);opacity(0.6)",
                numberColor: "textColor",
                horizontalBorder: "lineColor",
                headerFontSize: "subTitleFontSize",
                numberFontSize: "fontSize",
                numberBackground: "minorColors[0]@soild(0);opacity(0)",
              },
            },
            style1: {
              styleModel: {
                evenRowBackground: "minorColors[0]@soild(0);opacity(0.05)",
                oddRowBackground: "minorColors[0]@soild(0);opacity(0.1)",
                verticalBorder: "lineColor@soild(0);opacity(0)",
              },
            },
            style2: {
              styleModel: {
                evenRowBackground: "minorColors[0]@soild(0);opacity(0)",
                oddRowBackground: "minorColors[0]@soild(0);opacity(0)",
                verticalBorder: "lineColor",
              },
            },
          };
        function j(t, e) {
          if (t !== e)
            throw new TypeError("Cannot instantiate an arrow function");
        }
        function R(t) {
          return (
            (R =
              "function" == typeof Symbol && "symbol" == typeof Symbol.iterator
                ? function (t) {
                    return typeof t;
                  }
                : function (t) {
                    return t &&
                      "function" == typeof Symbol &&
                      t.constructor === Symbol &&
                      t !== Symbol.prototype
                      ? "symbol"
                      : typeof t;
                  }),
            R(t)
          );
        }
        function D(t) {
          if (!t || r.A.isEmpty(t)) return t;
          var e = {};
          for (var n in t)
            if (t.hasOwnProperty(n))
              if ("object" === R(t[n])) {
                var i = D(t[n]);
                for (var o in i)
                  i.hasOwnProperty(o) &&
                    (e["".concat(n, ".").concat(o)] = i[o]);
              } else e[n] = t[n];
          return e;
        }
        function L(t, e, n) {
          var i = this,
            o =
              arguments.length > 3 && void 0 !== arguments[3]
                ? arguments[3]
                : function (t, e) {
                    return j(this, i), "auto" !== r.A.get(t, e);
                  }.bind(this);
          return (
            (t = D(t)),
            Object.keys(t).forEach(
              function (a) {
                j(this, i);
                var s,
                  c = t[a],
                  l = ((s = c), !!r.A.includes(s, "[?]")),
                  u = b(n, c);
                !(function (t, e, n) {
                  var i = this,
                    o =
                      arguments.length > 3 &&
                      void 0 !== arguments[3] &&
                      arguments[3],
                    a = arguments.length > 4 ? arguments[4] : void 0,
                    s = w(t, e);
                  if (void 0 !== (n = r.A.cloneDeep(n)))
                    try {
                      o
                        ? s.forEach(
                            function (e, o) {
                              if ((g(this, i), a(t, e))) {
                                var s = r.A.get(
                                  n,
                                  "[".concat(o % n.length, "]")
                                );
                                r.A.set(t, e, s);
                              }
                            }.bind(this)
                          )
                        : s.forEach(
                            function (e) {
                              g(this, i), a(t, e) && r.A.set(t, e, n);
                            }.bind(this)
                          );
                    } catch (r) {
                      sfLogger.error("值解析出错", t, e, n, o);
                    }
                })(e, a, u, l, o);
              }.bind(this)
            ),
            e
          );
        }
      },
      39767: (t, e, n) => {
        "use strict";
        n.r(e),
          n.d(e, {
            Language: () => u,
            Locale: () => f,
            defineI18nProperty: () => b,
            get: () => y,
            getCurrentLanguage: () => m,
            getLang: () => p,
            register: () => g,
            setLocale: () => v,
          });
        var r = n(71542),
          i = n(8314);
        function o(t) {
          return (
            (o =
              "function" == typeof Symbol && "symbol" == typeof Symbol.iterator
                ? function (t) {
                    return typeof t;
                  }
                : function (t) {
                    return t &&
                      "function" == typeof Symbol &&
                      t.constructor === Symbol &&
                      t !== Symbol.prototype
                      ? "symbol"
                      : typeof t;
                  }),
            o(t)
          );
        }
        function a(t, e) {
          return (
            (function (t) {
              if (Array.isArray(t)) return t;
            })(t) ||
            (function (t, e) {
              var n =
                null == t
                  ? null
                  : ("undefined" != typeof Symbol && t[Symbol.iterator]) ||
                    t["@@iterator"];
              if (null != n) {
                var r,
                  i,
                  o,
                  a,
                  s = [],
                  c = !0,
                  l = !1;
                try {
                  if (((o = (n = n.call(t)).next), 0 === e)) {
                    if (Object(n) !== n) return;
                    c = !1;
                  } else
                    for (
                      ;
                      !(c = (r = o.call(n)).done) &&
                      (s.push(r.value), s.length !== e);
                      c = !0
                    );
                } catch (t) {
                  (l = !0), (i = t);
                } finally {
                  try {
                    if (
                      !c &&
                      null != n.return &&
                      ((a = n.return()), Object(a) !== a)
                    )
                      return;
                  } finally {
                    if (l) throw i;
                  }
                }
                return s;
              }
            })(t, e) ||
            (function (t, e) {
              if (t) {
                if ("string" == typeof t) return s(t, e);
                var n = {}.toString.call(t).slice(8, -1);
                return (
                  "Object" === n && t.constructor && (n = t.constructor.name),
                  "Map" === n || "Set" === n
                    ? Array.from(t)
                    : "Arguments" === n ||
                      /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)
                    ? s(t, e)
                    : void 0
                );
              }
            })(t, e) ||
            (function () {
              throw new TypeError(
                "Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."
              );
            })()
          );
        }
        function s(t, e) {
          (null == e || e > t.length) && (e = t.length);
          for (var n = 0, r = Array(e); n < e; n++) r[n] = t[n];
          return r;
        }
        var c,
          l,
          u = (function (t) {
            return (t.Zh = "zh"), (t.En = "en"), t;
          })({}),
          f = (function (t) {
            return (t.Zh = "zh_CN"), (t.En = "en_US"), t;
          })({}),
          d =
            "org.springframework.web.servlet.i18n.CookieLocaleResolver.LOCALE",
          h = {};
        function p() {
          return h;
        }
        function m() {
          return c;
        }
        function v(t) {
          var e = a(t.match(/\w{2}/), 1);
          (c = e[0]),
            (document.cookie = ""
              .concat(d, "=")
              .concat(encodeURIComponent(t), ";path=/")),
            (document.cookie = "locale=".concat(
              encodeURIComponent(t),
              ";path=/"
            ));
        }
        function g(t, e) {
          var n = m(),
            i = r.A.get(h, "".concat(n, ".").concat(t), {});
          r.A.set(h, "".concat(n, ".").concat(t), r.A.merge(i, e[n]));
        }
        function y(t) {
          var e = m();
          return r.A.get(h, "".concat(e, ".").concat(t), "");
        }
        function b(t, e, n) {
          "object" === o(t) &&
            Object.defineProperty(t, e, {
              get: function () {
                return y(n);
              },
            });
        }
        ((l =
          (0, i.A)("lan") ||
          (function () {
            document.cookie || (document.cookie = "");
            for (
              var t, e = document.cookie.split(";"), n = 0, r = e.length;
              n < r;
              n++
            )
              if (
                (t = e[n].trim().split("=")) &&
                !(t.length < 2) &&
                "locale" === t[0]
              )
                return decodeURIComponent(t[1]);
            return "";
          })()) &&
          l !== u.Zh) ||
          (l = f.Zh),
          l === u.En && (l = f.En),
          (document.cookie = ""
            .concat(d, "=")
            .concat(encodeURIComponent(l), ";path=/")),
          (document.cookie = "locale=".concat(
            encodeURIComponent(l),
            ";path=/"
          )),
          (c = l.match(/\w{2}/)[0]);
      },
      40586: (t, e, n) => {
        "use strict";
        function r(t, e) {
          if (t !== e)
            throw new TypeError("Cannot instantiate an arrow function");
        }
        function i(t, e) {
          var n =
            ("undefined" != typeof Symbol && t[Symbol.iterator]) ||
            t["@@iterator"];
          if (!n) {
            if (
              Array.isArray(t) ||
              (n = (function (t, e) {
                if (t) {
                  if ("string" == typeof t) return o(t, e);
                  var n = {}.toString.call(t).slice(8, -1);
                  return (
                    "Object" === n && t.constructor && (n = t.constructor.name),
                    "Map" === n || "Set" === n
                      ? Array.from(t)
                      : "Arguments" === n ||
                        /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)
                      ? o(t, e)
                      : void 0
                  );
                }
              })(t)) ||
              (e && t && "number" == typeof t.length)
            ) {
              n && (t = n);
              var r = 0,
                i = function () {};
              return {
                s: i,
                n: function () {
                  return r >= t.length
                    ? { done: !0 }
                    : { done: !1, value: t[r++] };
                },
                e: function (t) {
                  throw t;
                },
                f: i,
              };
            }
            throw new TypeError(
              "Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."
            );
          }
          var a,
            s = !0,
            c = !1;
          return {
            s: function () {
              n = n.call(t);
            },
            n: function () {
              var t = n.next();
              return (s = t.done), t;
            },
            e: function (t) {
              (c = !0), (a = t);
            },
            f: function () {
              try {
                s || null == n.return || n.return();
              } finally {
                if (c) throw a;
              }
            },
          };
        }
        function o(t, e) {
          (null == e || e > t.length) && (e = t.length);
          for (var n = 0, r = Array(e); n < e; n++) r[n] = t[n];
          return r;
        }
        function a(t) {
          return (
            (a =
              "function" == typeof Symbol && "symbol" == typeof Symbol.iterator
                ? function (t) {
                    return typeof t;
                  }
                : function (t) {
                    return t &&
                      "function" == typeof Symbol &&
                      t.constructor === Symbol &&
                      t !== Symbol.prototype
                      ? "symbol"
                      : typeof t;
                  }),
            a(t)
          );
        }
        function s(t, e) {
          for (var n = 0; n < e.length; n++) {
            var r = e[n];
            (r.enumerable = r.enumerable || !1),
              (r.configurable = !0),
              "value" in r && (r.writable = !0),
              Object.defineProperty(t, l(r.key), r);
          }
        }
        function c(t, e, n) {
          return (
            (e = l(e)) in t
              ? Object.defineProperty(t, e, {
                  value: n,
                  enumerable: !0,
                  configurable: !0,
                  writable: !0,
                })
              : (t[e] = n),
            t
          );
        }
        function l(t) {
          var e = (function (t, e) {
            if ("object" != a(t) || !t) return t;
            var n = t[Symbol.toPrimitive];
            if (void 0 !== n) {
              var r = n.call(t, e || "default");
              if ("object" != a(r)) return r;
              throw new TypeError(
                "@@toPrimitive must return a primitive value."
              );
            }
            return ("string" === e ? String : Number)(t);
          })(t, "string");
          return "symbol" == a(e) ? e : e + "";
        }
        n.r(e),
          n.d(e, {
            default: () => At,
            registerPlugins: () => Tt,
            setOrigin: () => Ot,
          });
        var u = function () {
            return (
              (this.call = this._createCall("sync")),
              this.call.apply(this, arguments)
            );
          },
          f = function () {
            return (
              (this.callAsync = this._createCall("async")),
              this.callAsync.apply(this, arguments)
            );
          },
          d = function () {
            return (
              (this.promise = this._createCall("promise")),
              this.promise.apply(this, arguments)
            );
          },
          h = (function () {
            return (
              (t = function t() {
                var e =
                    arguments.length > 0 && void 0 !== arguments[0]
                      ? arguments[0]
                      : [],
                  n =
                    arguments.length > 1 && void 0 !== arguments[1]
                      ? arguments[1]
                      : void 0;
                !(function (t, e) {
                  if (!(t instanceof e))
                    throw new TypeError("Cannot call a class as a function");
                })(this, t),
                  c(this, "_args", void 0),
                  c(this, "name", void 0),
                  c(this, "taps", void 0),
                  c(this, "interceptors", void 0),
                  c(this, "_call", void 0),
                  c(this, "call", void 0),
                  c(this, "_callAsync", void 0),
                  c(this, "callAsync", void 0),
                  c(this, "_promise", void 0),
                  c(this, "promise", void 0),
                  c(this, "_x", void 0),
                  (this._args = e),
                  (this.name = n),
                  (this.taps = []),
                  (this.interceptors = []),
                  (this._call = u),
                  (this.call = u),
                  (this._callAsync = f),
                  (this.callAsync = f),
                  (this._promise = d),
                  (this.promise = d),
                  (this._x = void 0),
                  (this.compile = this.compile),
                  (this.tap = this.tap),
                  (this.tapAsync = this.tapAsync),
                  (this.tapPromise = this.tapPromise);
              }),
              (e = [
                {
                  key: "compile",
                  value: function (t) {
                    throw new Error("Abstract: should be overridden");
                  },
                },
                {
                  key: "_createCall",
                  value: function (t) {
                    return this.compile({
                      taps: this.taps,
                      interceptors: this.interceptors,
                      args: this._args,
                      type: t,
                    });
                  },
                },
                {
                  key: "_tap",
                  value: function (t, e, n) {
                    if ("string" == typeof e) e = { name: e.trim() };
                    else if ("object" !== a(e) || null === e)
                      throw new Error("Invalid tap options");
                    if ("string" != typeof e.name || "" === e.name)
                      throw new Error("Missing name for tap");
                    (e = Object.assign({ type: t, fn: n }, e)),
                      (e = this._runRegisterInterceptors(e)),
                      this._insert(e);
                  },
                },
                {
                  key: "tap",
                  value: function (t, e) {
                    this._tap("sync", t, e);
                  },
                },
                {
                  key: "tapAsync",
                  value: function (t, e) {
                    this._tap("async", t, e);
                  },
                },
                {
                  key: "tapPromise",
                  value: function (t, e) {
                    this._tap("promise", t, e);
                  },
                },
                {
                  key: "_runRegisterInterceptors",
                  value: function (t) {
                    var e,
                      n = i(this.interceptors);
                    try {
                      for (n.s(); !(e = n.n()).done; ) {
                        var r = e.value;
                        if (r.register) {
                          var o = r.register(t);
                          void 0 !== o && (t = o);
                        }
                      }
                    } catch (t) {
                      n.e(t);
                    } finally {
                      n.f();
                    }
                    return t;
                  },
                },
                {
                  key: "withOptions",
                  value: function (t) {
                    var e = this,
                      n = function (n) {
                        return (
                          r(this, e),
                          Object.assign(
                            {},
                            t,
                            "string" == typeof n ? { name: n } : n
                          )
                        );
                      }.bind(this);
                    return {
                      name: this.name,
                      tap: function (t, i) {
                        return r(this, e), this.tap(n(t), i);
                      }.bind(this),
                      tapAsync: function (t, i) {
                        return r(this, e), this.tapAsync(n(t), i);
                      }.bind(this),
                      tapPromise: function (t, i) {
                        return r(this, e), this.tapPromise(n(t), i);
                      }.bind(this),
                      intercept: function (t) {
                        return r(this, e), this.intercept(t);
                      }.bind(this),
                      isUsed: function () {
                        return r(this, e), this.isUsed();
                      }.bind(this),
                      withOptions: function (t) {
                        return r(this, e), this.withOptions(n(t));
                      }.bind(this),
                    };
                  },
                },
                {
                  key: "isUsed",
                  value: function () {
                    return this.taps.length > 0 || this.interceptors.length > 0;
                  },
                },
                {
                  key: "intercept",
                  value: function (t) {
                    if (
                      (this._resetCompilation(),
                      this.interceptors.push(Object.assign({}, t)),
                      t.register)
                    )
                      for (var e = 0; e < this.taps.length; e++)
                        this.taps[e] = t.register(this.taps[e]);
                  },
                },
                {
                  key: "_resetCompilation",
                  value: function () {
                    (this.call = this._call),
                      (this.callAsync = this._callAsync),
                      (this.promise = this._promise);
                  },
                },
                {
                  key: "_insert",
                  value: function (t) {
                    var e,
                      n = this;
                    if (
                      (this._resetCompilation(),
                      "string" == typeof t.before
                        ? (e = new Set([t.before]))
                        : Array.isArray(t.before) && (e = new Set(t.before)),
                      "string" == typeof t.name)
                    ) {
                      var i = this.taps.filter(
                        function (e) {
                          return r(this, n), e.name === t.name;
                        }.bind(this)
                      );
                      if (i[0]) return void (i[0].fn = t.fn);
                    }
                    var o = 0;
                    "number" == typeof t.stage && (o = t.stage);
                    for (var a = this.taps.length; a > 0; ) {
                      a--;
                      var s = this.taps[a];
                      this.taps[a + 1] = s;
                      var c = s.stage || 0;
                      if (e) {
                        if (e.has(s.name)) {
                          e.delete(s.name);
                          continue;
                        }
                        if (e.size > 0) continue;
                      }
                      if (!(c > o)) {
                        a++;
                        break;
                      }
                    }
                    this.taps[a] = t;
                  },
                },
              ]),
              e && s(t.prototype, e),
              n && s(t, n),
              Object.defineProperty(t, "prototype", { writable: !1 }),
              t
            );
            var t, e, n;
          })();
        function p(t) {
          return (
            (p =
              "function" == typeof Symbol && "symbol" == typeof Symbol.iterator
                ? function (t) {
                    return typeof t;
                  }
                : function (t) {
                    return t &&
                      "function" == typeof Symbol &&
                      t.constructor === Symbol &&
                      t !== Symbol.prototype
                      ? "symbol"
                      : typeof t;
                  }),
            p(t)
          );
        }
        function m(t, e) {
          var n =
            ("undefined" != typeof Symbol && t[Symbol.iterator]) ||
            t["@@iterator"];
          if (!n) {
            if (
              Array.isArray(t) ||
              (n = (function (t, e) {
                if (t) {
                  if ("string" == typeof t) return v(t, e);
                  var n = {}.toString.call(t).slice(8, -1);
                  return (
                    "Object" === n && t.constructor && (n = t.constructor.name),
                    "Map" === n || "Set" === n
                      ? Array.from(t)
                      : "Arguments" === n ||
                        /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)
                      ? v(t, e)
                      : void 0
                  );
                }
              })(t)) ||
              (e && t && "number" == typeof t.length)
            ) {
              n && (t = n);
              var r = 0,
                i = function () {};
              return {
                s: i,
                n: function () {
                  return r >= t.length
                    ? { done: !0 }
                    : { done: !1, value: t[r++] };
                },
                e: function (t) {
                  throw t;
                },
                f: i,
              };
            }
            throw new TypeError(
              "Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."
            );
          }
          var o,
            a = !0,
            s = !1;
          return {
            s: function () {
              n = n.call(t);
            },
            n: function () {
              var t = n.next();
              return (a = t.done), t;
            },
            e: function (t) {
              (s = !0), (o = t);
            },
            f: function () {
              try {
                a || null == n.return || n.return();
              } finally {
                if (s) throw o;
              }
            },
          };
        }
        function v(t, e) {
          (null == e || e > t.length) && (e = t.length);
          for (var n = 0, r = Array(e); n < e; n++) r[n] = t[n];
          return r;
        }
        function g(t, e) {
          if (t !== e)
            throw new TypeError("Cannot instantiate an arrow function");
        }
        function y(t, e) {
          for (var n = 0; n < e.length; n++) {
            var r = e[n];
            (r.enumerable = r.enumerable || !1),
              (r.configurable = !0),
              "value" in r && (r.writable = !0),
              Object.defineProperty(t, V(r.key), r);
          }
        }
        function b(t, e, n) {
          return (
            (e = V(e)) in t
              ? Object.defineProperty(t, e, {
                  value: n,
                  enumerable: !0,
                  configurable: !0,
                  writable: !0,
                })
              : (t[e] = n),
            t
          );
        }
        function V(t) {
          var e = (function (t, e) {
            if ("object" != p(t) || !t) return t;
            var n = t[Symbol.toPrimitive];
            if (void 0 !== n) {
              var r = n.call(t, e || "default");
              if ("object" != p(r)) return r;
              throw new TypeError(
                "@@toPrimitive must return a primitive value."
              );
            }
            return ("string" === e ? String : Number)(t);
          })(t, "string");
          return "symbol" == p(e) ? e : e + "";
        }
        Object.setPrototypeOf(h.prototype, null);
        var _ = (function () {
          return (
            (t = function t(e) {
              !(function (t, e) {
                if (!(t instanceof e))
                  throw new TypeError("Cannot call a class as a function");
              })(this, t),
                b(this, "config", void 0),
                b(this, "options", void 0),
                b(this, "_args", void 0),
                (this.config = e);
            }),
            (e = [
              {
                key: "create",
                value: function (t) {
                  var e,
                    n = this;
                  switch ((this.init(t), this.options.type)) {
                    case "sync":
                      e = new Function(
                        this.args(),
                        '"use strict";\n' +
                          this.header() +
                          this.contentWithInterceptors({
                            onError: function (t) {
                              return g(this, n), "throw ".concat(t, ";\n");
                            }.bind(this),
                            onResult: function (t) {
                              return g(this, n), "return ".concat(t, ";\n");
                            }.bind(this),
                            resultReturns: !0,
                            onDone: function () {
                              return g(this, n), "";
                            }.bind(this),
                            rethrowIfPossible: !0,
                          })
                      );
                      break;
                    case "async":
                      e = new Function(
                        this.args({ after: "_callback" }),
                        '"use strict";\n' +
                          this.header() +
                          this.contentWithInterceptors({
                            onError: function (t) {
                              return g(this, n), "_callback(".concat(t, ");\n");
                            }.bind(this),
                            onResult: function (t) {
                              return (
                                g(this, n), "_callback(null, ".concat(t, ");\n")
                              );
                            }.bind(this),
                            onDone: function () {
                              return g(this, n), "_callback();\n";
                            }.bind(this),
                          })
                      );
                      break;
                    case "promise":
                      var r = !1,
                        i = this.contentWithInterceptors({
                          onError: function (t) {
                            return (
                              g(this, n), (r = !0), "_error(".concat(t, ");\n")
                            );
                          }.bind(this),
                          onResult: function (t) {
                            return g(this, n), "_resolve(".concat(t, ");\n");
                          }.bind(this),
                          onDone: function () {
                            return g(this, n), "_resolve();\n";
                          }.bind(this),
                        }),
                        o = "";
                      (o += '"use strict";\n'),
                        (o += this.header()),
                        (o +=
                          "return new Promise((function(_resolve, _reject) {\n"),
                        r &&
                          ((o += "var _sync = true;\n"),
                          (o += "function _error(_err) {\n"),
                          (o += "if(_sync)\n"),
                          (o +=
                            "_resolve(Promise.resolve().then((function() { throw _err; })));\n"),
                          (o += "else\n"),
                          (o += "_reject(_err);\n"),
                          (o += "};\n")),
                        (o += i),
                        r && (o += "_sync = false;\n"),
                        (o += "}));\n"),
                        (e = new Function(this.args(), o));
                  }
                  return this.deinit(), e;
                },
              },
              {
                key: "setup",
                value: function (t, e) {
                  var n = this;
                  t._x = e.taps.map(
                    function (t) {
                      return g(this, n), t.fn;
                    }.bind(this)
                  );
                },
              },
              {
                key: "init",
                value: function (t) {
                  (this.options = t), (this._args = t.args.slice());
                },
              },
              {
                key: "deinit",
                value: function () {
                  (this.options = void 0), (this._args = void 0);
                },
              },
              {
                key: "contentWithInterceptors",
                value: function (t) {
                  var e = this;
                  if (this.options.interceptors.length > 0) {
                    for (
                      var n = t.onError,
                        r = t.onResult,
                        i = t.onDone,
                        o = "",
                        a = 0;
                      a < this.options.interceptors.length;
                      a++
                    ) {
                      var s = this.options.interceptors[a];
                      s.call &&
                        (o += ""
                          .concat(this.getInterceptor(a), ".call(")
                          .concat(
                            this.args({
                              before: s.context ? "_context" : void 0,
                            }),
                            ");\n"
                          ));
                    }
                    return (o += this.content(
                      Object.assign(t, {
                        onError:
                          n &&
                          function (t) {
                            g(this, e);
                            for (
                              var r = "", i = 0;
                              i < this.options.interceptors.length;
                              i++
                            )
                              this.options.interceptors[i].error &&
                                (r += ""
                                  .concat(this.getInterceptor(i), ".error(")
                                  .concat(t, ");\n"));
                            return (r += n(t));
                          }.bind(this),
                        onResult:
                          r &&
                          function (t) {
                            g(this, e);
                            for (
                              var n = "", i = 0;
                              i < this.options.interceptors.length;
                              i++
                            )
                              this.options.interceptors[i].result &&
                                (n += ""
                                  .concat(this.getInterceptor(i), ".result(")
                                  .concat(t, ");\n"));
                            return (n += r(t));
                          }.bind(this),
                        onDone:
                          i &&
                          function () {
                            g(this, e);
                            for (
                              var t = "", n = 0;
                              n < this.options.interceptors.length;
                              n++
                            )
                              this.options.interceptors[n].done &&
                                (t += "".concat(
                                  this.getInterceptor(n),
                                  ".done();\n"
                                ));
                            return (t += i());
                          }.bind(this),
                      })
                    ));
                  }
                  return this.content(t);
                },
              },
              {
                key: "header",
                value: function () {
                  var t = "";
                  return (
                    this.needContext()
                      ? (t += "var _context = {};\n")
                      : (t += "var _context;\n"),
                    (t += "var _x = this._x;\n"),
                    this.options.interceptors.length > 0 &&
                      ((t += "var _taps = this.taps;\n"),
                      (t += "var _interceptors = this.interceptors;\n")),
                    t
                  );
                },
              },
              {
                key: "needContext",
                value: function () {
                  var t,
                    e = m(this.options.taps);
                  try {
                    for (e.s(); !(t = e.n()).done; )
                      if (t.value.context) return !0;
                  } catch (t) {
                    e.e(t);
                  } finally {
                    e.f();
                  }
                  return !1;
                },
              },
              {
                key: "callTap",
                value: function (t, e) {
                  for (
                    var n = e.onError,
                      r = e.onResult,
                      i = e.onDone,
                      o = e.rethrowIfPossible,
                      a = "",
                      s = !1,
                      c = 0;
                    c < this.options.interceptors.length;
                    c++
                  ) {
                    var l = this.options.interceptors[c];
                    l.tap &&
                      (s ||
                        ((a += "var _tap"
                          .concat(t, " = ")
                          .concat(this.getTap(t), ";\n")),
                        (s = !0)),
                      (a += ""
                        .concat(this.getInterceptor(c), ".tap(")
                        .concat(l.context ? "_context, " : "", "_tap")
                        .concat(t, ");\n")));
                  }
                  a += "var _fn"
                    .concat(t, " = ")
                    .concat(this.getTapFn(t), ";\n");
                  var u = this.options.taps[t];
                  switch (u.type) {
                    case "sync":
                      o ||
                        ((a += "var _hasError".concat(t, " = false;\n")),
                        (a += "try {\n")),
                        (a += r
                          ? "var _result"
                              .concat(t, " = _fn")
                              .concat(t, "(")
                              .concat(
                                this.args({
                                  before: u.context ? "_context" : void 0,
                                }),
                                ");\n"
                              )
                          : "_fn"
                              .concat(t, "(")
                              .concat(
                                this.args({
                                  before: u.context ? "_context" : void 0,
                                }),
                                ");\n"
                              )),
                        o ||
                          ((a += "} catch(_err) {\n"),
                          (a += "_hasError".concat(t, " = true;\n")),
                          (a += n("_err")),
                          (a += "}\n"),
                          (a += "if(!_hasError".concat(t, ") {\n"))),
                        r && (a += r("_result".concat(t))),
                        i && (a += i()),
                        o || (a += "}\n");
                      break;
                    case "async":
                      var f = "";
                      (f += r
                        ? "(function(_err"
                            .concat(t, ", _result")
                            .concat(t, ") {\n")
                        : "(function(_err".concat(t, ") {\n")),
                        (f += "if(_err".concat(t, ") {\n")),
                        (f += n("_err".concat(t))),
                        (f += "} else {\n"),
                        r && (f += r("_result".concat(t))),
                        i && (f += i()),
                        (f += "}\n"),
                        (f += "})"),
                        (a += "_fn"
                          .concat(t, "(")
                          .concat(
                            this.args({
                              before: u.context ? "_context" : void 0,
                              after: f,
                            }),
                            ");\n"
                          ));
                      break;
                    case "promise":
                      (a += "var _hasResult".concat(t, " = false;\n")),
                        (a += "var _promise"
                          .concat(t, " = _fn")
                          .concat(t, "(")
                          .concat(
                            this.args({
                              before: u.context ? "_context" : void 0,
                            }),
                            ");\n"
                          )),
                        (a += "if (!_promise"
                          .concat(t, " || !_promise")
                          .concat(t, ".then)\n")),
                        (a +=
                          "  throw new Error('Tap function (tapPromise) did not return promise (returned ' + _promise".concat(
                            t,
                            " + ')');\n"
                          )),
                        (a += "_promise"
                          .concat(t, ".then((function(_result")
                          .concat(t, ") {\n")),
                        (a += "_hasResult".concat(t, " = true;\n")),
                        r && (a += r("_result".concat(t))),
                        i && (a += i()),
                        (a += "}), function(_err".concat(t, ") {\n")),
                        (a += "if(_hasResult"
                          .concat(t, ") throw _err")
                          .concat(t, ";\n")),
                        (a += n("_err".concat(t))),
                        (a += "});\n");
                  }
                  return a;
                },
              },
              {
                key: "callTapsSeries",
                value: function (t) {
                  var e = this,
                    n = t.onError,
                    r = t.onResult,
                    i = t.resultReturns,
                    o = t.onDone,
                    a = t.doneReturns,
                    s = t.rethrowIfPossible;
                  if (0 === this.options.taps.length) return o();
                  for (
                    var c = this.options.taps.findIndex(
                        function (t) {
                          return g(this, e), "sync" !== t.type;
                        }.bind(this)
                      ),
                      l = i || a,
                      u = "",
                      f = o,
                      d = 0,
                      h = function () {
                        var t = this,
                          i = p;
                        f !== o &&
                          ("sync" !== e.options.taps[i].type || d++ > 20) &&
                          ((d = 0),
                          (u += "function _next".concat(i, "() {\n")),
                          (u += f()),
                          (u += "}\n"),
                          (f = function () {
                            return (
                              g(this, t),
                              ""
                                .concat(l ? "return " : "", "_next")
                                .concat(i, "();\n")
                            );
                          }.bind(this)));
                        var a = f,
                          h = function (e) {
                            return g(this, t), e ? "" : o();
                          }.bind(this),
                          m = e.callTap(i, {
                            onError: function (e) {
                              return g(this, t), n(i, e, a, h);
                            }.bind(this),
                            onResult:
                              r &&
                              function (e) {
                                return g(this, t), r(i, e, a, h);
                              }.bind(this),
                            onDone: !r && a,
                            rethrowIfPossible: s && (c < 0 || i < c),
                          });
                        f = function () {
                          return g(this, t), m;
                        }.bind(this);
                      },
                      p = this.options.taps.length - 1;
                    p >= 0;
                    p--
                  )
                    h();
                  return (u += f());
                },
              },
              {
                key: "callTapsLooping",
                value: function (t) {
                  var e = this,
                    n = t.onError,
                    r = t.onDone,
                    i = t.rethrowIfPossible;
                  if (0 === this.options.taps.length) return r();
                  var o = this.options.taps.every(
                      function (t) {
                        return g(this, e), "sync" === t.type;
                      }.bind(this)
                    ),
                    a = "";
                  o ||
                    ((a += "var _looper = (function() {\n"),
                    (a += "var _loopAsync = false;\n")),
                    (a += "var _loop;\n"),
                    (a += "do {\n"),
                    (a += "_loop = false;\n");
                  for (var s = 0; s < this.options.interceptors.length; s++) {
                    var c = this.options.interceptors[s];
                    c.loop &&
                      (a += ""
                        .concat(this.getInterceptor(s), ".loop(")
                        .concat(
                          this.args({
                            before: c.context ? "_context" : void 0,
                          }),
                          ");\n"
                        ));
                  }
                  return (
                    (a += this.callTapsSeries({
                      onError: n,
                      onResult: function (t, n, r, i) {
                        g(this, e);
                        var a = "";
                        return (
                          (a += "if(".concat(n, " !== undefined) {\n")),
                          (a += "_loop = true;\n"),
                          o || (a += "if(_loopAsync) _looper();\n"),
                          (a += i(!0)),
                          (a += "} else {\n"),
                          (a += r()),
                          (a += "}\n")
                        );
                      }.bind(this),
                      onDone:
                        r &&
                        function () {
                          g(this, e);
                          var t = "";
                          return (
                            (t += "if(!_loop) {\n"), (t += r()), (t += "}\n")
                          );
                        }.bind(this),
                      rethrowIfPossible: i && o,
                    })),
                    (a += "} while(_loop);\n"),
                    o ||
                      ((a += "_loopAsync = true;\n"),
                      (a += "});\n"),
                      (a += "_looper();\n")),
                    a
                  );
                },
              },
              {
                key: "callTapsParallel",
                value: function (t) {
                  var e = this,
                    n = t.onError,
                    r = t.onResult,
                    i = t.onDone,
                    o = t.rethrowIfPossible,
                    a = t.onTap,
                    s =
                      void 0 === a
                        ? function (t, n) {
                            return g(this, e), n();
                          }.bind(this)
                        : a;
                  if (this.options.taps.length <= 1)
                    return this.callTapsSeries({
                      onError: n,
                      onResult: r,
                      onDone: i,
                      rethrowIfPossible: o,
                    });
                  var c = "";
                  (c += "do {\n"),
                    (c += "var _counter = ".concat(
                      this.options.taps.length,
                      ";\n"
                    )),
                    i &&
                      ((c += "var _done = (function() {\n"),
                      (c += i()),
                      (c += "});\n"));
                  for (
                    var l = function (t) {
                        var a = this,
                          l = function () {
                            return (
                              g(this, a),
                              i
                                ? "if(--_counter === 0) _done();\n"
                                : "--_counter;"
                            );
                          }.bind(this),
                          u = function (t) {
                            return (
                              g(this, a),
                              t || !i
                                ? "_counter = 0;\n"
                                : "_counter = 0;\n_done();\n"
                            );
                          }.bind(this);
                        (c += "if(_counter <= 0) break;\n"),
                          (c += s(
                            t,
                            function () {
                              var i = this;
                              return (
                                g(this, a),
                                e.callTap(t, {
                                  onError: function (e) {
                                    g(this, i);
                                    var r = "";
                                    return (
                                      (r += "if(_counter > 0) {\n"),
                                      (r += n(t, e, l, u)),
                                      (r += "}\n")
                                    );
                                  }.bind(this),
                                  onResult:
                                    r &&
                                    function (e) {
                                      g(this, i);
                                      var n = "";
                                      return (
                                        (n += "if(_counter > 0) {\n"),
                                        (n += r(t, e, l, u)),
                                        (n += "}\n")
                                      );
                                    }.bind(this),
                                  onDone:
                                    !r &&
                                    function () {
                                      return g(this, i), l();
                                    }.bind(this),
                                  rethrowIfPossible: o,
                                })
                              );
                            }.bind(this),
                            l,
                            u
                          ));
                      },
                      u = 0;
                    u < this.options.taps.length;
                    u++
                  )
                    l(u);
                  return (c += "} while(false);\n");
                },
              },
              {
                key: "args",
                value: function () {
                  var t =
                      arguments.length > 0 && void 0 !== arguments[0]
                        ? arguments[0]
                        : {},
                    e = t.before,
                    n = t.after,
                    r = this._args;
                  return (
                    e && (r = [e].concat(r)),
                    n && (r = r.concat(n)),
                    0 === r.length ? "" : r.join(", ")
                  );
                },
              },
              {
                key: "getTapFn",
                value: function (t) {
                  return "_x[".concat(t, "]");
                },
              },
              {
                key: "getTap",
                value: function (t) {
                  return "_taps[".concat(t, "]");
                },
              },
              {
                key: "getInterceptor",
                value: function (t) {
                  return "_interceptors[".concat(t, "]");
                },
              },
            ]),
            e && y(t.prototype, e),
            n && y(t, n),
            Object.defineProperty(t, "prototype", { writable: !1 }),
            t
          );
          var t, e, n;
        })();
        function w(t) {
          return (
            (w =
              "function" == typeof Symbol && "symbol" == typeof Symbol.iterator
                ? function (t) {
                    return typeof t;
                  }
                : function (t) {
                    return t &&
                      "function" == typeof Symbol &&
                      t.constructor === Symbol &&
                      t !== Symbol.prototype
                      ? "symbol"
                      : typeof t;
                  }),
            w(t)
          );
        }
        function S(t, e) {
          for (var n = 0; n < e.length; n++) {
            var r = e[n];
            (r.enumerable = r.enumerable || !1),
              (r.configurable = !0),
              "value" in r && (r.writable = !0),
              Object.defineProperty(t, E(r.key), r);
          }
        }
        function E(t) {
          var e = (function (t, e) {
            if ("object" != w(t) || !t) return t;
            var n = t[Symbol.toPrimitive];
            if (void 0 !== n) {
              var r = n.call(t, e || "default");
              if ("object" != w(r)) return r;
              throw new TypeError(
                "@@toPrimitive must return a primitive value."
              );
            }
            return ("string" === e ? String : Number)(t);
          })(t, "string");
          return "symbol" == w(e) ? e : e + "";
        }
        function A(t, e, n) {
          return (
            (e = O(e)),
            (function (t, e) {
              if (e && ("object" == w(e) || "function" == typeof e)) return e;
              if (void 0 !== e)
                throw new TypeError(
                  "Derived constructors may only return object or undefined"
                );
              return (function (t) {
                if (void 0 === t)
                  throw new ReferenceError(
                    "this hasn't been initialised - super() hasn't been called"
                  );
                return t;
              })(t);
            })(
              t,
              T()
                ? Reflect.construct(e, n || [], O(t).constructor)
                : e.apply(t, n)
            )
          );
        }
        function T() {
          try {
            var t = !Boolean.prototype.valueOf.call(
              Reflect.construct(Boolean, [], function () {})
            );
          } catch (t) {}
          return (T = function () {
            return !!t;
          })();
        }
        function O(t) {
          return (
            (O = Object.setPrototypeOf
              ? Object.getPrototypeOf.bind()
              : function (t) {
                  return t.__proto__ || Object.getPrototypeOf(t);
                }),
            O(t)
          );
        }
        function C(t, e) {
          return (
            (C = Object.setPrototypeOf
              ? Object.setPrototypeOf.bind()
              : function (t, e) {
                  return (t.__proto__ = e), t;
                }),
            C(t, e)
          );
        }
        var P = new ((function (t) {
            function e() {
              return (
                (function (t, e) {
                  if (!(t instanceof e))
                    throw new TypeError("Cannot call a class as a function");
                })(this, e),
                A(this, e, arguments)
              );
            }
            return (
              (function (t, e) {
                if ("function" != typeof e && null !== e)
                  throw new TypeError(
                    "Super expression must either be null or a function"
                  );
                (t.prototype = Object.create(e && e.prototype, {
                  constructor: { value: t, writable: !0, configurable: !0 },
                })),
                  Object.defineProperty(t, "prototype", { writable: !1 }),
                  e && C(t, e);
              })(e, t),
              (n = e),
              (r = [
                {
                  key: "content",
                  value: function (t) {
                    var e = this,
                      n = t.onError,
                      r = t.onDone;
                    return this.callTapsParallel({
                      onError: function (t, r, i, o) {
                        return (
                          (function (t, e) {
                            if (t !== e)
                              throw new TypeError(
                                "Cannot instantiate an arrow function"
                              );
                          })(this, e),
                          n(r) + o(!0)
                        );
                      }.bind(this),
                      onDone: r,
                    });
                  },
                },
              ]) && S(n.prototype, r),
              i && S(n, i),
              Object.defineProperty(n, "prototype", { writable: !1 }),
              n
            );
            var n, r, i;
          })(_))(),
          x = function (t) {
            return P.setup(this, t), P.create(t);
          };
        function k() {
          var t = new h(
            arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : [],
            arguments.length > 1 && void 0 !== arguments[1]
              ? arguments[1]
              : void 0
          );
          return (
            (t.constructor = k),
            (t.compile = x),
            (t._call = void 0),
            (t.call = void 0),
            t
          );
        }
        function I(t) {
          return (
            (I =
              "function" == typeof Symbol && "symbol" == typeof Symbol.iterator
                ? function (t) {
                    return typeof t;
                  }
                : function (t) {
                    return t &&
                      "function" == typeof Symbol &&
                      t.constructor === Symbol &&
                      t !== Symbol.prototype
                      ? "symbol"
                      : typeof t;
                  }),
            I(t)
          );
        }
        k.prototype = null;
        var j = void 0;
        function R(t, e) {
          if (t !== e)
            throw new TypeError("Cannot instantiate an arrow function");
        }
        function D(t, e) {
          for (var n = 0; n < e.length; n++) {
            var r = e[n];
            (r.enumerable = r.enumerable || !1),
              (r.configurable = !0),
              "value" in r && (r.writable = !0),
              Object.defineProperty(t, L(r.key), r);
          }
        }
        function L(t) {
          var e = (function (t, e) {
            if ("object" != I(t) || !t) return t;
            var n = t[Symbol.toPrimitive];
            if (void 0 !== n) {
              var r = n.call(t, e || "default");
              if ("object" != I(r)) return r;
              throw new TypeError(
                "@@toPrimitive must return a primitive value."
              );
            }
            return ("string" === e ? String : Number)(t);
          })(t, "string");
          return "symbol" == I(e) ? e : e + "";
        }
        function M(t, e, n) {
          return (
            (e = $(e)),
            (function (t, e) {
              if (e && ("object" == I(e) || "function" == typeof e)) return e;
              if (void 0 !== e)
                throw new TypeError(
                  "Derived constructors may only return object or undefined"
                );
              return (function (t) {
                if (void 0 === t)
                  throw new ReferenceError(
                    "this hasn't been initialised - super() hasn't been called"
                  );
                return t;
              })(t);
            })(
              t,
              N()
                ? Reflect.construct(e, n || [], $(t).constructor)
                : e.apply(t, n)
            )
          );
        }
        function N() {
          try {
            var t = !Boolean.prototype.valueOf.call(
              Reflect.construct(Boolean, [], function () {})
            );
          } catch (t) {}
          return (N = function () {
            return !!t;
          })();
        }
        function $(t) {
          return (
            ($ = Object.setPrototypeOf
              ? Object.getPrototypeOf.bind()
              : function (t) {
                  return t.__proto__ || Object.getPrototypeOf(t);
                }),
            $(t)
          );
        }
        function B(t, e) {
          return (
            (B = Object.setPrototypeOf
              ? Object.setPrototypeOf.bind()
              : function (t, e) {
                  return (t.__proto__ = e), t;
                }),
            B(t, e)
          );
        }
        var U = new ((function (t) {
            function e() {
              return (
                (function (t, e) {
                  if (!(t instanceof e))
                    throw new TypeError("Cannot call a class as a function");
                })(this, e),
                M(this, e, arguments)
              );
            }
            return (
              (function (t, e) {
                if ("function" != typeof e && null !== e)
                  throw new TypeError(
                    "Super expression must either be null or a function"
                  );
                (t.prototype = Object.create(e && e.prototype, {
                  constructor: { value: t, writable: !0, configurable: !0 },
                })),
                  Object.defineProperty(t, "prototype", { writable: !1 }),
                  e && B(t, e);
              })(e, t),
              (n = e),
              (r = [
                {
                  key: "content",
                  value: function (t) {
                    var e = this,
                      n = t.onError,
                      r = t.onDone,
                      i = t.rethrowIfPossible;
                    return this.callTapsSeries({
                      onError: function (t, r) {
                        return R(this, e), n(r);
                      }.bind(this),
                      onDone: r,
                      rethrowIfPossible: i,
                    });
                  },
                },
              ]) && D(n.prototype, r),
              i && D(n, i),
              Object.defineProperty(n, "prototype", { writable: !1 }),
              n
            );
            var n, r, i;
          })(_))(),
          F = function () {
            throw (
              (R(this, j), new Error("tapAsync is not supported on a SyncHook"))
            );
          }.bind(void 0),
          H = function () {
            throw (
              (R(this, j),
              new Error("tapPromise is not supported on a SyncHook"))
            );
          }.bind(void 0),
          G = function (t) {
            return U.setup(this, t), U.create(t);
          };
        function W() {
          var t = new h(
            arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : [],
            arguments.length > 1 && void 0 !== arguments[1]
              ? arguments[1]
              : void 0
          );
          return (
            (t.constructor = W),
            (t.tapAsync = F),
            (t.tapPromise = H),
            (t.compile = G),
            t
          );
        }
        function z(t) {
          return (
            (z =
              "function" == typeof Symbol && "symbol" == typeof Symbol.iterator
                ? function (t) {
                    return typeof t;
                  }
                : function (t) {
                    return t &&
                      "function" == typeof Symbol &&
                      t.constructor === Symbol &&
                      t !== Symbol.prototype
                      ? "symbol"
                      : typeof t;
                  }),
            z(t)
          );
        }
        function q(t, e) {
          for (var n = 0; n < e.length; n++) {
            var r = e[n];
            (r.enumerable = r.enumerable || !1),
              (r.configurable = !0),
              "value" in r && (r.writable = !0),
              Object.defineProperty(t, X(r.key), r);
          }
        }
        function X(t) {
          var e = (function (t, e) {
            if ("object" != z(t) || !t) return t;
            var n = t[Symbol.toPrimitive];
            if (void 0 !== n) {
              var r = n.call(t, e || "default");
              if ("object" != z(r)) return r;
              throw new TypeError(
                "@@toPrimitive must return a primitive value."
              );
            }
            return ("string" === e ? String : Number)(t);
          })(t, "string");
          return "symbol" == z(e) ? e : e + "";
        }
        W.prototype = null;
        const Y = new ((function () {
          return (
            (t = function t() {
              var e, n, r;
              !(function (t, e) {
                if (!(t instanceof e))
                  throw new TypeError("Cannot call a class as a function");
              })(this, t),
                (e = this),
                (r = {}),
                (n = X((n = "hooks"))) in e
                  ? Object.defineProperty(e, n, {
                      value: r,
                      enumerable: !0,
                      configurable: !0,
                      writable: !0,
                    })
                  : (e[n] = r),
                (this.hooks = {
                  inputData: k(["data"]),
                  theme: k(["theme"]),
                  component: W(["component", "config"]),
                  card: k(["card"]),
                });
            }),
            (e = [
              {
                key: "registerPlugins",
                value: function (t) {
                  var e = this;
                  t.forEach(
                    function (t) {
                      !(function (t, e) {
                        if (t !== e)
                          throw new TypeError(
                            "Cannot instantiate an arrow function"
                          );
                      })(this, e),
                        this.addPlugin(t);
                    }.bind(this)
                  );
                },
              },
              {
                key: "addPlugin",
                value: function (t) {
                  t.apply && t.apply(this);
                },
              },
            ]) && q(t.prototype, e),
            n && q(t, n),
            Object.defineProperty(t, "prototype", { writable: !1 }),
            t
          );
          var t, e, n;
        })())();
        var K = new Map();
        var Z = n(37364),
          J = n(77500);
        function Q(t) {
          return (
            (function (t) {
              if (Array.isArray(t)) return tt(t);
            })(t) ||
            (function (t) {
              if (
                ("undefined" != typeof Symbol && null != t[Symbol.iterator]) ||
                null != t["@@iterator"]
              )
                return Array.from(t);
            })(t) ||
            (function (t, e) {
              if (t) {
                if ("string" == typeof t) return tt(t, e);
                var n = {}.toString.call(t).slice(8, -1);
                return (
                  "Object" === n && t.constructor && (n = t.constructor.name),
                  "Map" === n || "Set" === n
                    ? Array.from(t)
                    : "Arguments" === n ||
                      /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)
                    ? tt(t, e)
                    : void 0
                );
              }
            })(t) ||
            (function () {
              throw new TypeError(
                "Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."
              );
            })()
          );
        }
        function tt(t, e) {
          (null == e || e > t.length) && (e = t.length);
          for (var n = 0, r = Array(e); n < e; n++) r[n] = t[n];
          return r;
        }
        function et(t, e) {
          if (t !== e)
            throw new TypeError("Cannot instantiate an arrow function");
        }
        function nt(t) {
          for (
            var e = this,
              n = t.map(
                function (t) {
                  return (
                    et(this, e),
                    "number" == typeof t.value[0]
                      ? ((n = t.name),
                        (r = Math.random().toString().replace(/\./, "")),
                        {
                          columnId: "fake-id-".concat(r),
                          columnName: n || "fake-name-".concat(r),
                          displayName: n,
                          columnType: "MEASURE",
                        })
                      : (function (t) {
                          var e = Math.random().toString().replace(/\./, "");
                          return {
                            columnId: "fake-id-".concat(e),
                            columnName: t || "fake-name-".concat(e),
                            displayName: t,
                            columnType: "DIMENSION",
                          };
                        })(t.name)
                  );
                  var n, r;
                }.bind(this)
              ),
              r = [],
              i = Math.min.apply(
                Math,
                Q(
                  t.map(
                    function (t) {
                      return et(this, e), t.value.length;
                    }.bind(this)
                  )
                )
              ),
              o = function (e) {
                var i = this,
                  o = [];
                n.forEach(
                  function (n, r) {
                    et(this, i), o.push(t[r].value[e]);
                  }.bind(this)
                ),
                  r.push(o);
              },
              a = 0;
            a < i;
            a++
          )
            o(a);
          return { total: 0, columns: n, data: r };
        }
        function rt(t) {
          return (
            (rt =
              "function" == typeof Symbol && "symbol" == typeof Symbol.iterator
                ? function (t) {
                    return typeof t;
                  }
                : function (t) {
                    return t &&
                      "function" == typeof Symbol &&
                      t.constructor === Symbol &&
                      t !== Symbol.prototype
                      ? "symbol"
                      : typeof t;
                  }),
            rt(t)
          );
        }
        function it(t, e) {
          for (var n = 0; n < e.length; n++) {
            var r = e[n];
            (r.enumerable = r.enumerable || !1),
              (r.configurable = !0),
              "value" in r && (r.writable = !0),
              Object.defineProperty(t, ot(r.key), r);
          }
        }
        function ot(t) {
          var e = (function (t, e) {
            if ("object" != rt(t) || !t) return t;
            var n = t[Symbol.toPrimitive];
            if (void 0 !== n) {
              var r = n.call(t, e || "default");
              if ("object" != rt(r)) return r;
              throw new TypeError(
                "@@toPrimitive must return a primitive value."
              );
            }
            return ("string" === e ? String : Number)(t);
          })(t, "string");
          return "symbol" == rt(e) ? e : e + "";
        }
        function at(t) {
          return (
            (at =
              "function" == typeof Symbol && "symbol" == typeof Symbol.iterator
                ? function (t) {
                    return typeof t;
                  }
                : function (t) {
                    return t &&
                      "function" == typeof Symbol &&
                      t.constructor === Symbol &&
                      t !== Symbol.prototype
                      ? "symbol"
                      : typeof t;
                  }),
            at(t)
          );
        }
        function st(t, e) {
          if (t !== e)
            throw new TypeError("Cannot instantiate an arrow function");
        }
        function ct(t, e) {
          for (var n = 0; n < e.length; n++) {
            var r = e[n];
            (r.enumerable = r.enumerable || !1),
              (r.configurable = !0),
              "value" in r && (r.writable = !0),
              Object.defineProperty(t, ht(r.key), r);
          }
        }
        function lt(t, e, n) {
          return (
            (e = ft(e)),
            (function (t, e) {
              if (e && ("object" == at(e) || "function" == typeof e)) return e;
              if (void 0 !== e)
                throw new TypeError(
                  "Derived constructors may only return object or undefined"
                );
              return (function (t) {
                if (void 0 === t)
                  throw new ReferenceError(
                    "this hasn't been initialised - super() hasn't been called"
                  );
                return t;
              })(t);
            })(
              t,
              ut()
                ? Reflect.construct(e, n || [], ft(t).constructor)
                : e.apply(t, n)
            )
          );
        }
        function ut() {
          try {
            var t = !Boolean.prototype.valueOf.call(
              Reflect.construct(Boolean, [], function () {})
            );
          } catch (t) {}
          return (ut = function () {
            return !!t;
          })();
        }
        function ft(t) {
          return (
            (ft = Object.setPrototypeOf
              ? Object.getPrototypeOf.bind()
              : function (t) {
                  return t.__proto__ || Object.getPrototypeOf(t);
                }),
            ft(t)
          );
        }
        function dt(t, e) {
          return (
            (dt = Object.setPrototypeOf
              ? Object.setPrototypeOf.bind()
              : function (t, e) {
                  return (t.__proto__ = e), t;
                }),
            dt(t, e)
          );
        }
        function ht(t) {
          var e = (function (t, e) {
            if ("object" != at(t) || !t) return t;
            var n = t[Symbol.toPrimitive];
            if (void 0 !== n) {
              var r = n.call(t, e || "default");
              if ("object" != at(r)) return r;
              throw new TypeError(
                "@@toPrimitive must return a primitive value."
              );
            }
            return ("string" === e ? String : Number)(t);
          })(t, "string");
          return "symbol" == at(e) ? e : e + "";
        }
        var pt = (function (t) {
            function e() {
              var t, n, r, i;
              !(function (t, e) {
                if (!(t instanceof e))
                  throw new TypeError("Cannot call a class as a function");
              })(this, e);
              for (
                var o = arguments.length, a = new Array(o), s = 0;
                s < o;
                s++
              )
                a[s] = arguments[s];
              return (
                (t = lt(this, e, [].concat(a))),
                (n = t),
                (i = "initialPlugin"),
                (r = ht((r = "name"))) in n
                  ? Object.defineProperty(n, r, {
                      value: i,
                      enumerable: !0,
                      configurable: !0,
                      writable: !0,
                    })
                  : (n[r] = i),
                t
              );
            }
            return (
              (function (t, e) {
                if ("function" != typeof e && null !== e)
                  throw new TypeError(
                    "Super expression must either be null or a function"
                  );
                (t.prototype = Object.create(e && e.prototype, {
                  constructor: { value: t, writable: !0, configurable: !0 },
                })),
                  Object.defineProperty(t, "prototype", { writable: !1 }),
                  e && dt(t, e);
              })(e, t),
              (n = e),
              (r = [
                {
                  key: "apply",
                  value: function (t) {
                    var e = this;
                    t.hooks.theme.tapPromise(
                      this.name,
                      async function (t) {
                        st(this, e),
                          Object.assign(t, {
                            fontSize: 16,
                            textColor: "#d7fef9",
                            lineColor: "rgba(255,255,255, 0.1)",
                            highColor: "#b2ffff",
                            minorColors: [
                              "#1bfcd0",
                              "#29cffe",
                              "#add4d4",
                              "#37efea",
                              "#46B869",
                              "#D8A36F",
                              "#51C4D9",
                            ],
                          });
                      }.bind(this)
                    ),
                      t.hooks.inputData.tapPromise(
                        this.name,
                        async function (t) {
                          st(this, e);
                          var n,
                            r = t.title,
                            i = t.width,
                            o = t.height,
                            a = t.components;
                          r &&
                            (a.unshift({
                              type: "text",
                              config: {
                                value: r,
                                left: 10,
                                top: 10,
                                width: i,
                                height: 30,
                                textStyle: { fontSize: 20 },
                              },
                            }),
                            (a[1].config = Object.assign(
                              null !== (n = a[1].config) && void 0 !== n
                                ? n
                                : {},
                              {
                                left: 10,
                                top: 40,
                                width: i - 20,
                                height: o - 60,
                              }
                            )));
                        }.bind(this)
                      ),
                      t.hooks.component.tap(
                        this.name,
                        function (t, n) {
                          var r = this;
                          st(this, e);
                          var i = n.config,
                            o = n.data;
                          i &&
                            (t.config.basicConfig = (0, Z.A)(
                              t.config.basicConfig,
                              i
                            ));
                          var a = !!(0, J.A)(
                            t,
                            "config.dataConfig.staticConfig"
                          );
                          if (o && a)
                            (t.fakeModelData = nt(o)),
                              "percentProgressGroup" === t.type &&
                                3 === t.fakeModelData.columns.length &&
                                (t.fakeModelData.columns[2].bindFieldName =
                                  "maxValue");
                          else if (o) {
                            var s = t.getBasicConfig(),
                              c = [];
                            o.forEach(
                              function (t) {
                                var e = this;
                                st(this, r),
                                  t.value.forEach(
                                    function (t) {
                                      st(this, e),
                                        "number" == typeof t && c.push(t);
                                    }.bind(this)
                                  );
                              }.bind(this)
                            ),
                              ["value", "minValue", "maxValue"].forEach(
                                function (t) {
                                  st(this, r),
                                    void 0 !== s[t] && "maxValue" !== t
                                      ? (s[t] = Math.min.apply(Math, c))
                                      : void 0 !== s[t] &&
                                        "maxValue" == t &&
                                        (s[t] = Math.max.apply(Math, c));
                                }.bind(this)
                              );
                          }
                        }.bind(this)
                      );
                  },
                },
              ]),
              r && ct(n.prototype, r),
              i && ct(n, i),
              Object.defineProperty(n, "prototype", { writable: !1 }),
              n
            );
            var n, r, i;
          })(
            (function () {
              return (
                (t = function t() {
                  var e, n, r;
                  !(function (t, e) {
                    if (!(t instanceof e))
                      throw new TypeError("Cannot call a class as a function");
                  })(this, t),
                    (e = this),
                    (r = void 0),
                    (n = ot((n = "name"))) in e
                      ? Object.defineProperty(e, n, {
                          value: r,
                          enumerable: !0,
                          configurable: !0,
                          writable: !0,
                        })
                      : (e[n] = r);
                }),
                (e = [
                  {
                    key: "apply",
                    value: function (t) {
                      throw new Error("Not implemented");
                    },
                  },
                ]) && it(t.prototype, e),
                n && it(t, n),
                Object.defineProperty(t, "prototype", { writable: !1 }),
                t
              );
              var t, e, n;
            })()
          ),
          mt = n(11404),
          vt = n(52063),
          gt = n(71308);
        async function yt() {
          var t = this,
            e = {};
          return (
            [
              {
                id: "7",
                groupId: "7cd368da665c4fa4971d2c3dee6589ec",
                name: "按钮",
                type: "button",
                version: "1.0.0",
                versionStatus: 1,
                status: 1,
                pathType: 1,
                bakStatus: 0,
                createTime: 1636538171e3,
                enableUpgrade: !1,
                uploadUpgrade: !0,
                path: "/ux/components",
              },
              {
                id: "3",
                groupId: "7cd368da665c4fa4971d2c3dee6589ec",
                name: "文字控件",
                type: "text",
                version: "1.0.0",
                versionStatus: 1,
                status: 1,
                pathType: 1,
                bakStatus: 0,
                createTime: 1636538171e3,
                enableUpgrade: !1,
                uploadUpgrade: !0,
                path: "/ux/components",
              },
              {
                id: "2",
                groupId: "7cd368da665c4fa4971d2c3dee6589ec",
                name: "复选框",
                type: "checkbox",
                version: "1.0.0",
                versionStatus: 1,
                status: 1,
                pathType: 1,
                bakStatus: 0,
                createTime: 1636538171e3,
                enableUpgrade: !1,
                uploadUpgrade: !0,
                path: "/ux/components",
              },
              {
                id: "5",
                groupId: "7cd368da665c4fa4971d2c3dee6589ec",
                name: "单选组",
                type: "radio",
                version: "1.0.0",
                versionStatus: 1,
                status: 1,
                pathType: 1,
                bakStatus: 0,
                createTime: 1636538171e3,
                enableUpgrade: !1,
                uploadUpgrade: !0,
                path: "/ux/components",
              },
              {
                id: "8",
                groupId: "7cd368da665c4fa4971d2c3dee6589ec",
                name: "下拉列表",
                type: "select",
                version: "1.0.0",
                versionStatus: 1,
                status: 1,
                pathType: 1,
                bakStatus: 0,
                createTime: 1636538171e3,
                enableUpgrade: !1,
                uploadUpgrade: !0,
                path: "/ux/components",
              },
              {
                id: "14",
                groupId: "7cd368da665c4fa4971d2c3dee6589ec",
                name: "时钟控件",
                type: "clock",
                version: "1.0.0",
                versionStatus: 1,
                status: 1,
                pathType: 1,
                bakStatus: 0,
                createTime: 1636538171e3,
                enableUpgrade: !1,
                uploadUpgrade: !0,
                path: "/ux/components",
              },
              {
                id: "15",
                groupId: "7cd368da665c4fa4971d2c3dee6589ec",
                name: "时间选择器",
                type: "time",
                version: "1.0.0",
                versionStatus: 1,
                status: 1,
                pathType: 1,
                bakStatus: 0,
                createTime: 1636538171e3,
                enableUpgrade: !1,
                uploadUpgrade: !0,
                path: "/ux/components",
              },
              {
                id: "19",
                groupId: "7cd368da665c4fa4971d2c3dee6589ec",
                name: "时间轴",
                type: "timeAxis",
                version: "1.0.0",
                versionStatus: 1,
                status: 1,
                pathType: 1,
                bakStatus: 0,
                createTime: 1636538171e3,
                enableUpgrade: !1,
                uploadUpgrade: !0,
                path: "/ux/components",
              },
              {
                id: "4",
                groupId: "7cd368da665c4fa4971d2c3dee6589ec",
                name: "文本段落",
                type: "mytextarearead",
                version: "1.0.0",
                versionStatus: 1,
                status: 1,
                pathType: 1,
                bakStatus: 0,
                createTime: 1636538171e3,
                enableUpgrade: !1,
                uploadUpgrade: !0,
                path: "/ux/components",
              },
              {
                id: "1",
                groupId: "7cd368da665c4fa4971d2c3dee6589ec",
                name: "文本编辑",
                type: "textEdit",
                version: "1.0.0",
                versionStatus: 1,
                status: 1,
                pathType: 1,
                bakStatus: 0,
                createTime: 1636538171e3,
                enableUpgrade: !1,
                uploadUpgrade: !0,
                path: "/ux/components",
              },
              {
                id: "9",
                groupId: "7cd368da665c4fa4971d2c3dee6589ec",
                name: "超链接",
                type: "textLink",
                version: "1.0.0",
                versionStatus: 1,
                status: 1,
                pathType: 1,
                bakStatus: 0,
                createTime: 1636538171e3,
                enableUpgrade: !1,
                uploadUpgrade: !0,
                path: "/ux/components",
              },
              {
                id: "6",
                groupId: "7cd368da665c4fa4971d2c3dee6589ec",
                name: "开关",
                type: "switch",
                version: "1.0.0",
                versionStatus: 1,
                status: 1,
                pathType: 1,
                bakStatus: 0,
                createTime: 1636538171e3,
                enableUpgrade: !1,
                uploadUpgrade: !0,
                path: "/ux/components",
              },
              {
                id: "12",
                groupId: "7cd368da665c4fa4971d2c3dee6589ec",
                name: "范围输入",
                type: "rangeInput",
                version: "1.0.0",
                versionStatus: 1,
                status: 1,
                pathType: 1,
                bakStatus: 0,
                createTime: 1636538171e3,
                enableUpgrade: !1,
                uploadUpgrade: !0,
                path: "/ux/components",
              },
              {
                id: "8000",
                groupId: "7cd368da665c4fa4971d2c3dee6589ec",
                name: "图层控制器",
                type: "layerController",
                version: "1.0.0",
                versionStatus: 1,
                status: 1,
                pathType: 1,
                bakStatus: 0,
                createTime: 1636538171e3,
                enableUpgrade: !1,
                uploadUpgrade: !0,
                path: "/ux/components",
              },
              {
                id: "8001",
                groupId: "7cd368da665c4fa4971d2c3dee6589ec",
                name: "天气组件",
                type: "MEWeather",
                version: "1.1.0",
                versionStatus: 1,
                status: 1,
                pathType: 1,
                bakStatus: 0,
                createTime: 1636538171e3,
                enableUpgrade: !1,
                uploadUpgrade: !0,
                path: "/ux/components",
              },
              {
                id: "8002",
                groupId: "7cd368da665c4fa4971d2c3dee6589ec",
                name: "递归树",
                type: "tree",
                version: "1.0.0",
                versionStatus: 1,
                status: 1,
                pathType: 1,
                bakStatus: 0,
                createTime: 1636538171e3,
                enableUpgrade: !1,
                uploadUpgrade: !0,
                path: "/ux/components",
              },
              {
                id: "23",
                groupId: "a7c8d1ed5e4c48df92c035e42ddcd928",
                name: "图片",
                type: "image",
                version: "1.0.0",
                versionStatus: 1,
                status: 1,
                pathType: 1,
                bakStatus: 0,
                createTime: 1636538171e3,
                enableUpgrade: !1,
                uploadUpgrade: !0,
                path: "/ux/components",
              },
              {
                id: "26",
                groupId: "a7c8d1ed5e4c48df92c035e42ddcd928",
                name: "数据源",
                type: "datasource",
                version: "1.0.0",
                versionStatus: 1,
                status: 1,
                pathType: 1,
                bakStatus: 0,
                createTime: 1636538171e3,
                enableUpgrade: !1,
                uploadUpgrade: !0,
                path: "/ux/components",
              },
              {
                id: "35",
                groupId: "a7c8d1ed5e4c48df92c035e42ddcd928",
                name: "tips容器",
                type: "tipsContainer",
                version: "1.0.0",
                versionStatus: 1,
                status: 1,
                pathType: 1,
                bakStatus: 0,
                createTime: 1636538171e3,
                enableUpgrade: !1,
                uploadUpgrade: !0,
                path: "/ux/components",
              },
              {
                id: "25",
                groupId: "a7c8d1ed5e4c48df92c035e42ddcd928",
                name: "内部框架",
                type: "sfIframe",
                version: "1.0.0",
                versionStatus: 1,
                status: 1,
                pathType: 1,
                bakStatus: 0,
                createTime: 1636538171e3,
                enableUpgrade: !1,
                uploadUpgrade: !0,
                path: "/ux/components",
              },
              {
                id: "30",
                groupId: "a7c8d1ed5e4c48df92c035e42ddcd928",
                name: "导航容器",
                type: "navContainer",
                version: "1.0.0",
                versionStatus: 1,
                status: 1,
                pathType: 1,
                bakStatus: 0,
                createTime: 1636538171e3,
                enableUpgrade: !1,
                uploadUpgrade: !0,
                path: "/ux/components",
              },
              {
                id: "22",
                groupId: "a7c8d1ed5e4c48df92c035e42ddcd928",
                name: "容器",
                type: "container",
                version: "1.0.0",
                versionStatus: 1,
                status: 1,
                pathType: 1,
                bakStatus: 0,
                createTime: 1636538171e3,
                enableUpgrade: !1,
                uploadUpgrade: !0,
                path: "/ux/components",
              },
              {
                id: "38",
                groupId: "a7c8d1ed5e4c48df92c035e42ddcd928",
                name: "平面轮播",
                type: "planeSwiper",
                version: "1.0.0",
                versionStatus: 1,
                status: 1,
                pathType: 1,
                bakStatus: 0,
                createTime: 1636538171e3,
                enableUpgrade: !1,
                uploadUpgrade: !0,
                path: "/ux/components",
              },
              {
                id: "41",
                groupId: "a7c8d1ed5e4c48df92c035e42ddcd928",
                name: "线条",
                type: "baseline",
                version: "1.0.0",
                versionStatus: 1,
                status: 1,
                pathType: 1,
                bakStatus: 0,
                createTime: 1636538171e3,
                enableUpgrade: !1,
                uploadUpgrade: !0,
                path: "/ux/components",
              },
              {
                id: "43",
                groupId: "a7c8d1ed5e4c48df92c035e42ddcd928",
                name: "边框",
                type: "border",
                version: "1.0.0",
                versionStatus: 1,
                status: 1,
                pathType: 1,
                bakStatus: 0,
                createTime: 1636538171e3,
                enableUpgrade: !1,
                uploadUpgrade: !0,
                path: "/ux/components",
              },
              {
                id: "98",
                groupId: "a7c8d1ed5e4c48df92c035e42ddcd928",
                name: "卡片面板",
                type: "cardLayout",
                version: "1.0.0",
                versionStatus: 1,
                status: 1,
                pathType: 1,
                bakStatus: 0,
                createTime: 1636538171e3,
                enableUpgrade: !1,
                uploadUpgrade: !0,
                path: "/ux/components",
              },
              {
                id: "51",
                groupId: "bb1b3d0264324fe1940b616cd7163f8f",
                name: "柱状图",
                type: "bar",
                version: "1.0.0",
                versionStatus: 1,
                status: 1,
                pathType: 1,
                bakStatus: 0,
                createTime: 1636538171e3,
                enableUpgrade: !1,
                uploadUpgrade: !0,
                path: "/ux/components",
              },
              {
                id: "49",
                groupId: "bb1b3d0264324fe1940b616cd7163f8f",
                name: "条形图",
                type: "strip",
                version: "1.0.0",
                versionStatus: 1,
                status: 1,
                pathType: 1,
                bakStatus: 0,
                createTime: 1636538171e3,
                enableUpgrade: !1,
                uploadUpgrade: !0,
                path: "/ux/components",
              },
              {
                id: "77",
                groupId: "bb1b3d0264324fe1940b616cd7163f8f",
                name: "折线图",
                type: "line",
                version: "1.0.0",
                versionStatus: 1,
                status: 1,
                pathType: 1,
                bakStatus: 0,
                createTime: 1636538171e3,
                enableUpgrade: !1,
                uploadUpgrade: !0,
                path: "/ux/components",
              },
              {
                id: "76",
                groupId: "bb1b3d0264324fe1940b616cd7163f8f",
                name: "面积图",
                type: "area",
                version: "1.0.0",
                versionStatus: 1,
                status: 1,
                pathType: 1,
                bakStatus: 0,
                createTime: 1636538171e3,
                enableUpgrade: !1,
                uploadUpgrade: !0,
                path: "/ux/components",
              },
              {
                id: "50",
                groupId: "bb1b3d0264324fe1940b616cd7163f8f",
                name: "混合图",
                type: "mixed",
                version: "1.0.0",
                versionStatus: 1,
                status: 1,
                pathType: 1,
                bakStatus: 0,
                createTime: 1636538171e3,
                enableUpgrade: !1,
                uploadUpgrade: !0,
                path: "/ux/components",
              },
              {
                id: "58",
                groupId: "bb1b3d0264324fe1940b616cd7163f8f",
                name: "山峰柱状图",
                type: "barMountain",
                version: "1.0.0",
                versionStatus: 1,
                status: 1,
                pathType: 1,
                bakStatus: 0,
                createTime: 1636538171e3,
                enableUpgrade: !1,
                uploadUpgrade: !0,
                path: "/ux/components",
              },
              {
                id: "61",
                groupId: "bb1b3d0264324fe1940b616cd7163f8f",
                name: "双向条形图",
                type: "bothStrip",
                version: "1.0.0",
                versionStatus: 1,
                status: 1,
                pathType: 1,
                bakStatus: 0,
                createTime: 1636538171e3,
                enableUpgrade: !1,
                uploadUpgrade: !0,
                path: "/ux/components",
              },
              {
                id: "79",
                groupId: "bb1b3d0264324fe1940b616cd7163f8f",
                name: "面积堆积图",
                type: "areaHeap",
                version: "1.0.0",
                versionStatus: 1,
                status: 1,
                pathType: 1,
                bakStatus: 0,
                createTime: 1636538171e3,
                enableUpgrade: !1,
                uploadUpgrade: !0,
                path: "/ux/components",
              },
              {
                id: "52",
                groupId: "bb1b3d0264324fe1940b616cd7163f8f",
                name: "柱状堆积图",
                type: "barHeap",
                version: "1.0.0",
                versionStatus: 1,
                status: 1,
                pathType: 1,
                bakStatus: 0,
                createTime: 1636538171e3,
                enableUpgrade: !1,
                uploadUpgrade: !0,
                path: "/ux/components",
              },
              {
                id: "53",
                groupId: "bb1b3d0264324fe1940b616cd7163f8f",
                name: "条形堆积图",
                type: "stripHeap",
                version: "1.0.0",
                versionStatus: 1,
                status: 1,
                pathType: 1,
                bakStatus: 0,
                createTime: 1636538171e3,
                enableUpgrade: !1,
                uploadUpgrade: !0,
                path: "/ux/components",
              },
              {
                id: "78",
                groupId: "bb1b3d0264324fe1940b616cd7163f8f",
                name: "折线堆积图",
                type: "lineHeap",
                version: "1.0.0",
                versionStatus: 1,
                status: 1,
                pathType: 1,
                bakStatus: 0,
                createTime: 1636538171e3,
                enableUpgrade: !1,
                uploadUpgrade: !0,
                path: "/ux/components",
              },
              {
                id: "64",
                groupId: "2056200c020f4f72a6cac5a11c7fa671",
                name: "饼图",
                type: "pie",
                version: "1.0.0",
                versionStatus: 1,
                status: 1,
                pathType: 1,
                bakStatus: 0,
                createTime: 1636538171e3,
                enableUpgrade: !1,
                uploadUpgrade: !0,
                path: "/ux/components",
              },
              {
                id: "73",
                groupId: "2056200c020f4f72a6cac5a11c7fa671",
                name: "动效饼图",
                type: "pieEffect",
                version: "1.0.0",
                versionStatus: 1,
                status: 1,
                pathType: 1,
                bakStatus: 0,
                createTime: 1636538171e3,
                enableUpgrade: !1,
                uploadUpgrade: !0,
                path: "/ux/components",
              },
              {
                id: "62",
                groupId: "2056200c020f4f72a6cac5a11c7fa671",
                name: "动态水球",
                type: "dynamicWaterBubble",
                version: "1.0.0",
                versionStatus: 1,
                status: 1,
                pathType: 1,
                bakStatus: 0,
                createTime: 1636538171e3,
                enableUpgrade: !1,
                uploadUpgrade: !0,
                path: "/ux/components",
              },
              {
                id: "70",
                groupId: "2056200c020f4f72a6cac5a11c7fa671",
                name: "进度条",
                type: "percentProgressbar",
                version: "1.0.0",
                versionStatus: 1,
                status: 1,
                pathType: 1,
                bakStatus: 0,
                createTime: 1636538171e3,
                enableUpgrade: !1,
                uploadUpgrade: !0,
                path: "/ux/components",
              },
              {
                id: "7001",
                groupId: "2056200c020f4f72a6cac5a11c7fa671",
                name: "栅格进度条",
                type: "gridProgressbar",
                version: "1.0.0",
                versionStatus: 1,
                status: 1,
                pathType: 1,
                bakStatus: 0,
                createTime: 1636538171e3,
                enableUpgrade: !1,
                uploadUpgrade: !0,
                path: "/ux/components",
              },
              {
                id: "7003",
                groupId: "2056200c020f4f72a6cac5a11c7fa671",
                name: "占比图",
                type: "singleValueProportion",
                version: "1.0.0",
                versionStatus: 1,
                status: 1,
                pathType: 1,
                bakStatus: 0,
                createTime: 1636538171e3,
                enableUpgrade: !1,
                uploadUpgrade: !0,
                path: "/ux/components",
              },
              {
                id: "7002",
                groupId: "2056200c020f4f72a6cac5a11c7fa671",
                name: "栅格占比图",
                type: "circleGridProportion",
                version: "1.0.0",
                versionStatus: 1,
                status: 1,
                pathType: 1,
                bakStatus: 0,
                createTime: 1636538171e3,
                enableUpgrade: !1,
                uploadUpgrade: !0,
                path: "/ux/components",
              },
              {
                id: "74",
                groupId: "2056200c020f4f72a6cac5a11c7fa671",
                name: "百分比进度条组",
                type: "percentProgressGroup",
                version: "1.0.0",
                versionStatus: 1,
                status: 1,
                pathType: 1,
                bakStatus: 0,
                createTime: 1636538171e3,
                enableUpgrade: !1,
                uploadUpgrade: !0,
                path: "/ux/components",
              },
              {
                id: "7401",
                groupId: "2056200c020f4f72a6cac5a11c7fa671",
                name: "栅格进度条组",
                type: "gridProgressGroup",
                version: "1.0.0",
                versionStatus: 1,
                status: 1,
                pathType: 1,
                bakStatus: 0,
                createTime: 1636538171e3,
                enableUpgrade: !1,
                uploadUpgrade: !0,
                path: "/ux/components",
              },
              {
                id: "65",
                groupId: "2056200c020f4f72a6cac5a11c7fa671",
                name: "雷达图",
                type: "radar",
                version: "1.0.0",
                versionStatus: 1,
                status: 1,
                pathType: 1,
                bakStatus: 0,
                createTime: 1636538171e3,
                enableUpgrade: !1,
                uploadUpgrade: !0,
                path: "/ux/components",
              },
              {
                id: "68",
                groupId: "2056200c020f4f72a6cac5a11c7fa671",
                name: "仪表盘",
                type: "gauge",
                version: "1.0.0",
                versionStatus: 1,
                status: 1,
                pathType: 1,
                bakStatus: 0,
                createTime: 1636538171e3,
                enableUpgrade: !1,
                uploadUpgrade: !0,
                path: "/ux/components",
              },
              {
                id: "66",
                groupId: "2056200c020f4f72a6cac5a11c7fa671",
                name: "南丁格尔玫瑰图",
                type: "rose",
                version: "1.0.0",
                versionStatus: 1,
                status: 1,
                pathType: 1,
                bakStatus: 0,
                createTime: 1636538171e3,
                enableUpgrade: !1,
                uploadUpgrade: !0,
                path: "/ux/components",
              },
              {
                id: "75",
                groupId: "2056200c020f4f72a6cac5a11c7fa671",
                name: "极坐标玫瑰图",
                type: "polarRose",
                version: "1.0.0",
                versionStatus: 1,
                status: 1,
                pathType: 1,
                bakStatus: 0,
                createTime: 1636538171e3,
                enableUpgrade: !1,
                uploadUpgrade: !0,
                path: "/ux/components",
              },
              {
                id: "63",
                groupId: "2056200c020f4f72a6cac5a11c7fa671",
                name: "漏斗图",
                type: "funnel",
                version: "1.0.0",
                versionStatus: 1,
                status: 1,
                pathType: 1,
                bakStatus: 0,
                createTime: 1636538171e3,
                enableUpgrade: !1,
                uploadUpgrade: !0,
                path: "/ux/components",
              },
              {
                id: "71",
                groupId: "2056200c020f4f72a6cac5a11c7fa671",
                name: "水球图",
                type: "waterbubble",
                version: "1.0.0",
                versionStatus: 1,
                status: 1,
                pathType: 1,
                bakStatus: 0,
                createTime: 1636538171e3,
                enableUpgrade: !1,
                uploadUpgrade: !0,
                path: "/ux/components",
              },
              {
                id: "72",
                groupId: "2056200c020f4f72a6cac5a11c7fa671",
                name: "嵌套层级饼图",
                type: "nestingHierarchyPie",
                version: "1.0.0",
                versionStatus: 1,
                status: 1,
                pathType: 1,
                bakStatus: 0,
                createTime: 1636538171e3,
                enableUpgrade: !1,
                uploadUpgrade: !0,
                path: "/ux/components",
              },
              {
                id: "67",
                groupId: "2056200c020f4f72a6cac5a11c7fa671",
                name: "嵌套饼图",
                type: "nestingPie",
                version: "1.0.0",
                versionStatus: 1,
                status: 1,
                pathType: 1,
                bakStatus: 0,
                createTime: 1636538171e3,
                enableUpgrade: !1,
                uploadUpgrade: !0,
                path: "/ux/components",
              },
              {
                id: "89",
                groupId: "ba4561a165d54bf8b932754a075cd07f",
                name: "新闻列表",
                type: "newsList",
                version: "1.0.0",
                versionStatus: 1,
                status: 1,
                pathType: 1,
                bakStatus: 0,
                createTime: 1636538171e3,
                enableUpgrade: !1,
                uploadUpgrade: !0,
                path: "/ux/components",
              },
              {
                id: "82",
                groupId: "ba4561a165d54bf8b932754a075cd07f",
                name: "动态看板",
                type: "detailTable",
                version: "1.0.0",
                versionStatus: 1,
                status: 1,
                pathType: 1,
                bakStatus: 0,
                createTime: 1636538171e3,
                enableUpgrade: !1,
                uploadUpgrade: !0,
                path: "/ux/components",
              },
              {
                id: "90",
                groupId: "ba4561a165d54bf8b932754a075cd07f",
                name: "倒计时计数器",
                type: "countDown",
                version: "1.0.0",
                versionStatus: 1,
                status: 1,
                pathType: 1,
                bakStatus: 0,
                createTime: 1636538171e3,
                enableUpgrade: !1,
                uploadUpgrade: !0,
                path: "/ux/components",
              },
              {
                id: "83",
                groupId: "ba4561a165d54bf8b932754a075cd07f",
                name: "动态词云图",
                type: "dynamicWordCloud",
                version: "1.0.0",
                versionStatus: 1,
                status: 1,
                pathType: 1,
                bakStatus: 0,
                createTime: 1636538171e3,
                enableUpgrade: !1,
                uploadUpgrade: !0,
                path: "/ux/components",
              },
              {
                id: "80",
                groupId: "ba4561a165d54bf8b932754a075cd07f",
                name: "字符云",
                type: "wordCloud",
                version: "1.0.0",
                versionStatus: 1,
                status: 1,
                pathType: 1,
                bakStatus: 0,
                createTime: 1636538171e3,
                enableUpgrade: !1,
                uploadUpgrade: !0,
                path: "/ux/components",
              },
              {
                id: "84",
                groupId: "ba4561a165d54bf8b932754a075cd07f",
                name: "数字显示",
                type: "numShow",
                version: "1.0.0",
                versionStatus: 1,
                status: 1,
                pathType: 1,
                bakStatus: 0,
                createTime: 1636538171e3,
                enableUpgrade: !1,
                uploadUpgrade: !0,
                path: "/ux/components",
              },
              {
                id: "146",
                groupId: "ba4561a165d54bf8b932754a075cd07f",
                name: "指标卡1",
                type: "indicatorCard1",
                version: "1.0.0",
                versionStatus: 1,
                status: 1,
                pathType: 1,
                bakStatus: 0,
                createTime: 1636538171e3,
                enableUpgrade: !1,
                uploadUpgrade: !0,
                path: "/ux/components",
              },
              {
                id: "147",
                groupId: "ba4561a165d54bf8b932754a075cd07f",
                name: "指标卡2",
                type: "indicatorCard2",
                version: "1.0.0",
                versionStatus: 1,
                status: 1,
                pathType: 1,
                bakStatus: 0,
                createTime: 1636538171e3,
                enableUpgrade: !1,
                uploadUpgrade: !0,
                path: "/ux/components",
              },
              {
                id: "148",
                groupId: "ba4561a165d54bf8b932754a075cd07f",
                name: "指标卡3",
                type: "indicatorCard3",
                version: "1.0.0",
                versionStatus: 1,
                status: 1,
                pathType: 1,
                bakStatus: 0,
                createTime: 1636538171e3,
                enableUpgrade: !1,
                uploadUpgrade: !0,
                path: "/ux/components",
              },
              {
                id: "106",
                groupId: "06c355b4b3e440a5940bf560c7cda7dc",
                name: "3D地图",
                type: "map3d",
                version: "1.0.0",
                versionStatus: 1,
                status: 1,
                pathType: 1,
                bakStatus: 0,
                createTime: 1636538171e3,
                enableUpgrade: !1,
                uploadUpgrade: !0,
                path: "/ux/components",
              },
              {
                id: "103",
                groupId: "06c355b4b3e440a5940bf560c7cda7dc",
                name: "分布地图",
                type: "distributionMap",
                version: "1.0.0",
                versionStatus: 1,
                status: 1,
                pathType: 1,
                bakStatus: 0,
                createTime: 1636538171e3,
                enableUpgrade: !1,
                uploadUpgrade: !0,
                path: "/ux/components",
              },
              {
                id: "105",
                groupId: "06c355b4b3e440a5940bf560c7cda7dc",
                name: "标注地图",
                type: "pointMap",
                version: "1.0.0",
                versionStatus: 1,
                status: 1,
                pathType: 1,
                bakStatus: 0,
                createTime: 1636538171e3,
                enableUpgrade: !1,
                uploadUpgrade: !0,
                path: "/ux/components",
              },
              {
                id: "110",
                groupId: "7457e80524a645c2a97ad73164f36d13",
                name: "2.5D柱状图",
                type: "barC",
                version: "1.0.0",
                versionStatus: 1,
                status: 1,
                pathType: 1,
                bakStatus: 0,
                createTime: 1636538171e3,
                enableUpgrade: !1,
                uploadUpgrade: !0,
                path: "/ux/components",
              },
              {
                id: "109",
                groupId: "7457e80524a645c2a97ad73164f36d13",
                name: "2.5D面积图",
                type: "area25d",
                version: "1.0.0",
                versionStatus: 1,
                status: 1,
                pathType: 1,
                bakStatus: 0,
                createTime: 1636538171e3,
                enableUpgrade: !1,
                uploadUpgrade: !0,
                path: "/ux/components",
              },
              {
                id: "117",
                groupId: "7457e80524a645c2a97ad73164f36d13",
                name: "2.5D饼图",
                type: "pieCd",
                version: "1.0.0",
                versionStatus: 1,
                status: 1,
                pathType: 1,
                bakStatus: 0,
                createTime: 1636538171e3,
                enableUpgrade: !1,
                uploadUpgrade: !0,
                path: "/ux/components",
              },
              {
                id: "115",
                groupId: "7457e80524a645c2a97ad73164f36d13",
                name: "2.5D混合图",
                type: "mixed25d",
                version: "1.0.0",
                versionStatus: 1,
                status: 1,
                pathType: 1,
                bakStatus: 0,
                createTime: 1636538171e3,
                enableUpgrade: !1,
                uploadUpgrade: !0,
                path: "/ux/components",
              },
              {
                id: "112",
                groupId: "7457e80524a645c2a97ad73164f36d13",
                name: "2.5D漏斗图",
                type: "funnel3d",
                version: "1.0.0",
                versionStatus: 1,
                status: 1,
                pathType: 1,
                bakStatus: 0,
                createTime: 1636538171e3,
                enableUpgrade: !1,
                uploadUpgrade: !0,
                path: "/ux/components",
              },
              {
                id: "111",
                groupId: "7457e80524a645c2a97ad73164f36d13",
                name: "2.5D柱状堆积图",
                type: "barHeap25d",
                version: "1.0.0",
                versionStatus: 1,
                status: 1,
                pathType: 1,
                bakStatus: 0,
                createTime: 1636538171e3,
                enableUpgrade: !1,
                uploadUpgrade: !0,
                path: "/ux/components",
              },
              {
                id: "114",
                groupId: "7457e80524a645c2a97ad73164f36d13",
                name: "2.5D单值组件",
                type: "unitValue",
                version: "1.0.0",
                versionStatus: 1,
                status: 1,
                pathType: 1,
                bakStatus: 0,
                createTime: 1636538171e3,
                enableUpgrade: !1,
                uploadUpgrade: !0,
                path: "/ux/components",
              },
              {
                id: "37bbff523c704f3fa9b0f304c4ab0534",
                groupId: "7cd368da665c4fa4971d2c3dee6589ec",
                name: "me视频",
                type: "MEPlayer",
                version: "1.0.0",
                versionStatus: 1,
                status: 1,
                pathType: 2,
                bakStatus: 0,
                createTime: 1710847304479,
                enableUpgrade: !1,
                uploadUpgrade: !0,
                iconUrl: "MEPlayer/1.0.0/designer/icon/index.svg",
                path: "/ux/static/system/components",
              },
            ].forEach(
              function (n) {
                !(function (t, e) {
                  if (t !== e)
                    throw new TypeError("Cannot instantiate an arrow function");
                })(this, t),
                  (e[n.type] = n);
              }.bind(this)
            ),
            e
          );
        }
        function bt(t) {
          return (
            (bt =
              "function" == typeof Symbol && "symbol" == typeof Symbol.iterator
                ? function (t) {
                    return typeof t;
                  }
                : function (t) {
                    return t &&
                      "function" == typeof Symbol &&
                      t.constructor === Symbol &&
                      t !== Symbol.prototype
                      ? "symbol"
                      : typeof t;
                  }),
            bt(t)
          );
        }
        function Vt(t, e) {
          var n = Object.keys(t);
          if (Object.getOwnPropertySymbols) {
            var r = Object.getOwnPropertySymbols(t);
            e &&
              (r = r.filter(function (e) {
                return Object.getOwnPropertyDescriptor(t, e).enumerable;
              })),
              n.push.apply(n, r);
          }
          return n;
        }
        function _t(t) {
          for (var e = 1; e < arguments.length; e++) {
            var n = null != arguments[e] ? arguments[e] : {};
            e % 2
              ? Vt(Object(n), !0).forEach(function (e) {
                  wt(t, e, n[e]);
                })
              : Object.getOwnPropertyDescriptors
              ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(n))
              : Vt(Object(n)).forEach(function (e) {
                  Object.defineProperty(
                    t,
                    e,
                    Object.getOwnPropertyDescriptor(n, e)
                  );
                });
          }
          return t;
        }
        function wt(t, e, n) {
          return (
            (e = (function (t) {
              var e = (function (t, e) {
                if ("object" != bt(t) || !t) return t;
                var n = t[Symbol.toPrimitive];
                if (void 0 !== n) {
                  var r = n.call(t, e || "default");
                  if ("object" != bt(r)) return r;
                  throw new TypeError(
                    "@@toPrimitive must return a primitive value."
                  );
                }
                return ("string" === e ? String : Number)(t);
              })(t, "string");
              return "symbol" == bt(e) ? e : e + "";
            })(e)) in t
              ? Object.defineProperty(t, e, {
                  value: n,
                  enumerable: !0,
                  configurable: !0,
                  writable: !0,
                })
              : (t[e] = n),
            t
          );
        }
        function St(t, e) {
          if (t !== e)
            throw new TypeError("Cannot instantiate an arrow function");
        }
        function Et(t, e, n) {
          var r = this;
          return new Promise(
            async function (i, o) {
              var a = this;
              St(this, r);
              var s = await yt(),
                c = t.components.map(
                  function (t) {
                    var e;
                    St(this, a);
                    var r = s[t.type];
                    return {
                      type: r.type,
                      jsPathPrefix: r.path,
                      version: r.version,
                      origin: null !== (e = t.origin) && void 0 !== e ? e : n,
                    };
                  }.bind(this)
                ),
                l = await (async function (t) {
                  var e = this,
                    n = {},
                    r = new mt.CardConfig();
                  return (
                    (n.id = (0, gt.A)()),
                    (n.name = t.title),
                    (n.type = vt.PageType.Card),
                    (n.config = r),
                    (n.config.resolution = 1),
                    (n.config.resolutionType = 1),
                    (n.busAttrType = 0),
                    (n.config.width = t.width),
                    (n.config.height = t.height),
                    (n.config.components = await Promise.all(
                      t.components.map(
                        async function (t) {
                          return (
                            St(this, e),
                            await (async function (t) {
                              return (
                                await window.SF.helper.getComponentInstance(t)
                              ).toJSON();
                            })(t)
                          );
                        }.bind(this)
                      )
                    )),
                    await Y.hooks.card.promise(n),
                    n
                  );
                })(_t(_t({}, t), {}, { components: c })),
                u = await window.SF.helper.getComponentInstance(
                  { type: "uxCard", origin: n },
                  e
                );
              (u.config.cardId = l.id),
                (u.cardCfg = l),
                (u.config.resolution = 1),
                (u.config.basicConfig.resolutionType = 1);
              var f = u.config.basicConfig;
              null != f &&
                f.initSize &&
                ((f.width = e.width()),
                (f.height = e.height()),
                (f.initSize = !1)),
                window.SF.store.selectCurrentPage().config ||
                  window.SF.store.setCurrentPage(u),
                u.addOnceHook(
                  "childLoaded",
                  function () {
                    var e = this;
                    St(this, a),
                      u.card.cardCfg.config.components.forEach(
                        function (n, r) {
                          St(this, e),
                            n.addOnceHook &&
                              Y.hooks.component.call(n, t.components[r]);
                        }.bind(this)
                      );
                  }.bind(this)
                ),
                await u.init(),
                i(u);
            }.bind(this)
          );
        }
        async function At(t, e) {
          var n, r;
          return (
            await (async function () {
              var t = await (async function () {
                return {
                  chart: {
                    borderWidth: 0,
                    xAxis: {
                      lineWidth: 1,
                      splitLine: {
                        horizontal: 1,
                        vertical: 0,
                        pictograph: 0,
                        type: "solid",
                      },
                    },
                    yAxis: {
                      lineWidth: 1,
                      splitLine: {
                        horizontal: 1,
                        vertical: 1,
                        pictograph: 0,
                        type: "solid",
                      },
                    },
                    tooltip: {
                      backgroundColor: "rgba(0, 0, 0, 0.8)",
                      borderColor: "#000000",
                      color: "#ffffff",
                      axisPointerType: "none",
                    },
                  },
                  basic: {
                    backgroundColor: "rgba(0, 0, 0, 0)",
                    borderColor: "rgba(34, 96, 169, 0)",
                  },
                };
              })();
              await Y.hooks.theme.promise(t),
                SF.store.setComponentThemeConfig(t);
            })(),
            await Y.hooks.inputData.promise(t),
            await Et(
              t,
              SF.lib.$(e),
              null !== ((r = "origin"), (n = K.get(r))) && void 0 !== n
                ? n
                : window.location.origin
            )
          );
        }
        function Tt(t) {
          Y.registerPlugins(t);
        }
        function Ot(t) {
          !(function (t, e) {
            K.set(t, e);
          })("origin", t);
        }
        Tt([new pt()]);
      },
      41418: (t, e, n) => {
        "use strict";
        n.d(e, { E: () => a });
        var r = n(18040),
          i = n(79209),
          o = r.Ay.VIEWER_BIZ;
        function a(t) {
          return (0, i.post)("".concat(o, "/system/font/fontList"), t);
        }
      },
      41702: (t, e, n) => {
        "use strict";
        n.r(e),
          n.d(e, {
            COLUMN_DELIMITER: () => f,
            COLUMN_FLAG: () => d,
            COMPARE_FIELDS: () => h,
            CONST_DEFAULT_MODEL_TYPE: () => u,
            ColumnType: () => m,
            ConditionOperateOptions: () => V,
            CountWayType: () => g,
            DATA_MODEL_FROM: () => p,
            DataFormat: () => w,
            Operator: () => b,
            OperatorMap: () => S,
            PolymerizationType: () => v,
            Relation: () => y,
            TabType: () => A,
            TimeGranularity: () => _,
            WarningRenderPreviewType: () => E,
          });
        var r = n(35063),
          i = (function (t) {
            return (
              (t.accurate = "0"),
              (t.year = "1"),
              (t.quarter = "3"),
              (t.month = "4"),
              (t.week = "5"),
              (t.dayInWeek = "8"),
              (t.day = "7"),
              (t.hour = "9"),
              (t.minute = "10"),
              (t.second = "11"),
              (t.year_HY = "12"),
              (t.year_quarter = "13"),
              (t.year_month = "14"),
              (t.year_week = "15"),
              (t.year_month_day = "16"),
              t
            );
          })({}),
          o = n(39767);
        function a(t) {
          return (
            (a =
              "function" == typeof Symbol && "symbol" == typeof Symbol.iterator
                ? function (t) {
                    return typeof t;
                  }
                : function (t) {
                    return t &&
                      "function" == typeof Symbol &&
                      t.constructor === Symbol &&
                      t !== Symbol.prototype
                      ? "symbol"
                      : typeof t;
                  }),
            a(t)
          );
        }
        function s(t, e, n) {
          return (
            (e = (function (t) {
              var e = (function (t, e) {
                if ("object" != a(t) || !t) return t;
                var n = t[Symbol.toPrimitive];
                if (void 0 !== n) {
                  var r = n.call(t, e || "default");
                  if ("object" != a(r)) return r;
                  throw new TypeError(
                    "@@toPrimitive must return a primitive value."
                  );
                }
                return ("string" === e ? String : Number)(t);
              })(t, "string");
              return "symbol" == a(e) ? e : e + "";
            })(e)) in t
              ? Object.defineProperty(t, e, {
                  value: n,
                  enumerable: !0,
                  configurable: !0,
                  writable: !0,
                })
              : (t[e] = n),
            t
          );
        }
        var c,
          l,
          u = "_default_",
          f = "_",
          d = "@sefoncolumns",
          h = "$compareFields",
          p = (function (t) {
            return (
              (t.DATASET = "dataset"),
              (t.DATA_INDEX = "dataIndex"),
              (t.PHYSICAL_INDEX = "physicalIndex"),
              t
            );
          })({}),
          m = (function (t) {
            return (
              (t.DIMENSION = "DIMENSION"),
              (t.MEASURE = "MEASURE"),
              (t.DATE = "DATE"),
              (t.HIERACHICAL = "HIERACHICAL"),
              t
            );
          })({}),
          v = (function (t) {
            return (
              (t.SUM = "SUM"),
              (t.AVG = "AVG"),
              (t.MAX = "MAX"),
              (t.MIN = "MIN"),
              (t.STDDEV_POP = "STDDEV_POP"),
              (t.STDDEV_SAMP = "STDDEV_SAMP"),
              (t.VAR_POP = "VAR_POP"),
              (t.VAR_SAMP = "VAR_SAMP"),
              (t.DATE_FORMAT = "DATEFORMAT"),
              (t.DETAILED = "DETAILED"),
              t
            );
          })({}),
          g = (function (t) {
            return (
              (t[(t.NONE = null)] = "NONE"),
              (t.COUNT = "COUNT"),
              (t.DISTINCT_COUNT = "COUNTD"),
              t
            );
          })({}),
          y = (function (t) {
            return (t.AND = "AND"), (t.OR = "OR"), t;
          })({}),
          b = (function (t) {
            return (
              (t.RANGE = "RANGE"),
              (t.GT = "GREATER_THAN"),
              (t.GE = "GREATER_THAN_E"),
              (t.LE = "LESS_THAN_E"),
              (t.LT = "LESS_THAN"),
              (t.EQ = "EQUAL"),
              (t.NE = "NO_EQUAL"),
              (t.IN = "IN"),
              (t.NOT_IN = "NOT_IN"),
              (t.IS_NULL = "IS_NULL"),
              (t.IS_NOT_NULL = "IS_NOT_NULL"),
              (t.IS_EMPTY = "IS_EMPTY"),
              (t.IS_NOT_EMPTY = "IS_NOT_EMPTY"),
              (t.LIKE = "LIKE"),
              (t.NOT_LIKE = "NOT_LIKE"),
              (t.L_LIKE = "L_LIKE"),
              (t.L_NOT_LIKE = "L_NOT_LIKE"),
              (t.R_LIKE = "R_LIKE"),
              (t.R_NOT_LIKE = "R_NOT_LIKE"),
              t
            );
          })({}),
          V = [
            { label: "==", value: "==" },
            { label: "in", value: "in" },
          ],
          _ = [
            {
              selectId: i.accurate,
              label: (0, o.get)(
                "system.modelSetting_modelSettingServices_js_8"
              ),
              format: "yyyy-MM-dd HH:mm:ss",
              antd: { picker: "date", format: "YYYY-MM-DD HH:mm:ss" },
            },
            {
              selectId: i.year,
              label: (0, o.get)(
                "system.modelSetting_modelSettingServices_js_9"
              ),
              format: "yyyy",
              antd: { picker: "year" },
            },
            {
              selectId: i.quarter,
              label: (0, o.get)(
                "system.modelSetting_modelSettingServices_js_10"
              ),
              format: "Q",
              antd: { picker: "quarter", format: "Q" },
            },
            {
              selectId: i.month,
              label: (0, o.get)(
                "system.modelSetting_modelSettingServices_js_11"
              ),
              format: "MM",
              antd: { picker: "month", format: "MM" },
            },
            {
              selectId: i.week,
              label: (0, o.get)(
                "system.modelSetting_modelSettingServices_js_12"
              ),
              format: "ww",
              antd: { picker: "week", format: "W" },
            },
            {
              selectId: i.dayInWeek,
              label: (0, o.get)(
                "system.modelSetting_modelSettingServices_js_13"
              ),
              format: "E",
              antd: { picker: "date", format: "d" },
            },
            {
              selectId: i.day,
              label: (0, o.get)(
                "system.modelSetting_modelSettingServices_js_14"
              ),
              format: "dd",
              antd: { picker: "date", format: "DD" },
            },
            {
              selectId: i.hour,
              label: (0, o.get)(
                "system.modelSetting_modelSettingServices_js_15"
              ),
              format: "HH",
              antd: { picker: "time", format: "HH" },
            },
            {
              selectId: i.minute,
              label: (0, o.get)(
                "system.modelSetting_modelSettingServices_js_16"
              ),
              format: "mm",
              antd: { picker: "time", format: "mm" },
            },
            {
              selectId: i.second,
              label: (0, o.get)(
                "system.modelSetting_modelSettingServices_js_17"
              ),
              format: "ss",
              antd: { picker: "time", format: "ss" },
            },
            {
              selectId: i.year_HY,
              label: (0, o.get)(
                "system.modelSetting_modelSettingServices_js_18"
              ),
              format: "yyyy-HY",
              antd: { picker: "month", format: "YYYY-MM" },
            },
            {
              selectId: i.year_quarter,
              label: (0, o.get)(
                "system.modelSetting_modelSettingServices_js_19"
              ),
              format: "yyyy-Q",
              antd: { picker: "quarter", format: "YYYY-Q" },
            },
            {
              selectId: i.year_month,
              label: (0, o.get)(
                "system.modelSetting_modelSettingServices_js_20"
              ),
              format: "yyyy-MM",
              antd: { picker: "month", format: "YYYY-MM" },
            },
            {
              selectId: i.year_week,
              label: (0, o.get)(
                "system.modelSetting_modelSettingServices_js_21"
              ),
              format: "yyyy-ww",
              antd: { picker: "week", format: "YYYY-W" },
            },
            {
              selectId: i.year_month_day,
              label: (0, o.get)(
                "system.modelSetting_modelSettingServices_js_22"
              ),
              format: "yyyy-MM-dd",
              antd: { picker: "date", format: "YYYY-MM-DD" },
            },
          ],
          w = (function (t) {
            return (
              (t.normal = "normal"),
              (t.number = "number"),
              (t.scientificCounting = "scientificCounting"),
              (t.thousandth = "thousandth"),
              t
            );
          })({}),
          S =
            (s(
              s(
                s(
                  s(
                    s(
                      s(
                        s(
                          s(
                            s(s((c = {}), r.C.Equal, "=="), r.C.NotEqual, "!="),
                            r.C.GreaterThan,
                            ">"
                          ),
                          r.C.GreaterThanE,
                          ">="
                        ),
                        r.C.LessThan,
                        "<"
                      ),
                      r.C.LessThanE,
                      "<="
                    ),
                    r.C.In,
                    "in"
                  ),
                  r.C.NotIn,
                  "not in"
                ),
                r.C.IsNull,
                "is null"
              ),
              r.C.IsNotNull,
              "is not null"
            ),
            (l = s(
              s(
                s(
                  s(
                    s(
                      s(
                        s(
                          s(
                            s(c, r.C.IsEmpty, "is empty"),
                            r.C.IsNotEmpty,
                            "is not empty"
                          ),
                          r.C.Like,
                          "like"
                        ),
                        r.C.NotLike,
                        "not like"
                      ),
                      r.C.LeftLike,
                      "left like"
                    ),
                    r.C.LeftNotLike,
                    "left not like"
                  ),
                  r.C.RightLike,
                  "right like"
                ),
                r.C.RightNotLike,
                "right not like"
              ),
              r.C.TopN,
              "topN"
            )),
            (0, o.defineI18nProperty)(
              l,
              r.C.Range,
              "conditionSetting.conditionSetting__interval"
            ),
            (0, o.defineI18nProperty)(
              l,
              r.C.RelativeRange,
              "conditionSetting.conditionSetting__relative"
            ),
            l),
          E = (function (t) {
            return (t.preview = "preview"), (t.model = "model"), t;
          })({}),
          A = (function (t) {
            return (
              (t.dimensionMeasure = "dimensionMeasure"),
              (t.warningRender = "warningRender"),
              (t.rangeRender = "rangeRender"),
              t
            );
          })({});
      },
      42505: (t, e, n) => {
        "use strict";
        n.r(e),
          n.d(e, {
            getStats: () => h,
            install: () => S,
            installEmitter: () => E,
            register: () => w,
          });
        var r,
          i,
          o,
          a = n(5582),
          s = n(77500),
          c = n(48947),
          l = Object.create(null);
        function u() {
          return [
            arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : "",
            "_",
            arguments.length > 1 && void 0 !== arguments[1]
              ? arguments[1]
              : "1.0.0",
          ].join("");
        }
        (i = r || (r = {})),
          (o = Object.create(null)),
          (i.set = function () {
            var t = arguments.length > 2 ? arguments[2] : void 0,
              e = u(
                arguments.length > 0 && void 0 !== arguments[0]
                  ? arguments[0]
                  : "",
                arguments.length > 1 && void 0 !== arguments[1]
                  ? arguments[1]
                  : "1.0.0"
              );
            o[e] = t;
          }),
          (i.get = function () {
            var t = u(
              arguments.length > 0 && void 0 !== arguments[0]
                ? arguments[0]
                : "",
              arguments.length > 1 && void 0 !== arguments[1]
                ? arguments[1]
                : "1.0.0"
            );
            return l[t];
          }),
          (i.getAll = function () {
            return o;
          });
        var f = [];
        function d(t) {
          var e = this;
          (f = f.filter(
            function (n) {
              return (
                (function (t, e) {
                  if (t !== e)
                    throw new TypeError("Cannot instantiate an arrow function");
                })(this, e),
                n.componentId !== t.componentId || n.pluginName !== t.pluginName
              );
            }.bind(this)
          )).push(t);
        }
        function h() {
          return f;
        }
        var p = (function (t) {
          return (t.Emitter = "emitter"), (t.Component = "component"), t;
        })({});
        function m(t) {
          return (
            (function (t) {
              if (Array.isArray(t)) return y(t);
            })(t) ||
            (function (t) {
              if (
                ("undefined" != typeof Symbol && null != t[Symbol.iterator]) ||
                null != t["@@iterator"]
              )
                return Array.from(t);
            })(t) ||
            g(t) ||
            (function () {
              throw new TypeError(
                "Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."
              );
            })()
          );
        }
        function v(t, e) {
          return (
            (function (t) {
              if (Array.isArray(t)) return t;
            })(t) ||
            (function (t, e) {
              var n =
                null == t
                  ? null
                  : ("undefined" != typeof Symbol && t[Symbol.iterator]) ||
                    t["@@iterator"];
              if (null != n) {
                var r,
                  i,
                  o,
                  a,
                  s = [],
                  c = !0,
                  l = !1;
                try {
                  if (((o = (n = n.call(t)).next), 0 === e)) {
                    if (Object(n) !== n) return;
                    c = !1;
                  } else
                    for (
                      ;
                      !(c = (r = o.call(n)).done) &&
                      (s.push(r.value), s.length !== e);
                      c = !0
                    );
                } catch (t) {
                  (l = !0), (i = t);
                } finally {
                  try {
                    if (
                      !c &&
                      null != n.return &&
                      ((a = n.return()), Object(a) !== a)
                    )
                      return;
                  } finally {
                    if (l) throw i;
                  }
                }
                return s;
              }
            })(t, e) ||
            g(t, e) ||
            (function () {
              throw new TypeError(
                "Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."
              );
            })()
          );
        }
        function g(t, e) {
          if (t) {
            if ("string" == typeof t) return y(t, e);
            var n = {}.toString.call(t).slice(8, -1);
            return (
              "Object" === n && t.constructor && (n = t.constructor.name),
              "Map" === n || "Set" === n
                ? Array.from(t)
                : "Arguments" === n ||
                  /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)
                ? y(t, e)
                : void 0
            );
          }
        }
        function y(t, e) {
          (null == e || e > t.length) && (e = t.length);
          for (var n = 0, r = Array(e); n < e; n++) r[n] = t[n];
          return r;
        }
        function b(t, e) {
          if (t !== e)
            throw new TypeError("Cannot instantiate an arrow function");
        }
        var V = [];
        function _(t) {
          var e = Object.create(t);
          if (
            (void 0 === e.name && sfLogger.debug(e, "插件未命名"),
            void 0 === e.version && sfLogger.debug(e, "插件未设置版本"),
            t.type === p.Emitter)
          )
            r.set(e.name, e.version, e);
          else
            !(function () {
              var t = arguments.length > 2 ? arguments[2] : void 0,
                e = u(
                  arguments.length > 0 && void 0 !== arguments[0]
                    ? arguments[0]
                    : "",
                  arguments.length > 1 && void 0 !== arguments[1]
                    ? arguments[1]
                    : "1.0.0"
                );
              l[e] = t;
            })(e.name, e.version, e);
        }
        function w(t, e) {
          if ("function" == typeof t) V.push([t, e]);
          else {
            var n = t;
            n.name && n.version && n.apply && _(n);
          }
        }
        function S(t) {
          var e,
            n = this,
            r =
              arguments.length > 1 && void 0 !== arguments[1]
                ? arguments[1]
                : {},
            i = Object.entries(r).map(
              function (t) {
                var e = v(t, 2),
                  r = e[0],
                  i = e[1];
                return (
                  b(this, n),
                  (function () {
                    var t = u(
                      arguments.length > 0 && void 0 !== arguments[0]
                        ? arguments[0]
                        : "",
                      arguments.length > 1 && void 0 !== arguments[1]
                        ? arguments[1]
                        : "1.0.0"
                    );
                    return l[t];
                  })(r, (0, s.A)(i, "version", i))
                );
              }.bind(this)
            ),
            o = null !== (e = t.plugins) && void 0 !== e ? e : [],
            c = [];
          V.forEach(
            function (e) {
              var r = v(e, 2),
                i = r[0],
                o = r[1];
              b(this, n), i(t) && c.push(o);
            }.bind(this)
          );
          var f = (0, a.A)(
              [].concat(c, m(o), m(i)).filter(
                function (t) {
                  return b(this, n), t;
                }.bind(this)
              ),
              function (t) {
                return b(this, n), t.name;
              }.bind(this)
            ),
            h = {};
          function p(e) {
            var n,
              i = this,
              o =
                arguments.length > 1 && void 0 !== arguments[1]
                  ? arguments[1]
                  : [],
              a = e.dependencies;
            a && a.length > 0 && !o.includes(e.name)
              ? (o.push(e.name),
                f
                  .filter(
                    function (t) {
                      return b(this, i), a.includes(t.name);
                    }.bind(this)
                  )
                  .forEach(
                    function (t) {
                      return b(this, i), p(t, o);
                    }.bind(this)
                  ))
              : o.includes(e.name) &&
                sfLogger.error("Error: Plug-in loop dependency.");
            h[e.name] ||
              (e.apply(t, r[e.name]),
              (h[e.name] = !0),
              d({
                componentId: t.id,
                componentName:
                  null === (n = t.config) ||
                  void 0 === n ||
                  null === (n = n.basicConfig) ||
                  void 0 === n
                    ? void 0
                    : n.name,
                componentVersion: t.version,
                pluginName: e.name,
                pluginVersion: e.version,
              }));
          }
          f.forEach(
            function (t) {
              b(this, n), p(t);
            }.bind(this)
          );
        }
        function E() {
          var t = this,
            e = r.getAll();
          Object.values(e).forEach(
            function (e) {
              b(this, t), e.apply(c.A);
            }.bind(this)
          );
        }
      },
      43488: (t, e, n) => {
        "use strict";
        n.d(e, { P8: () => A, M$: () => C, Ic: () => P });
        var r = n(6044),
          i = n.n(r),
          o = n(71542),
          a = n(53148),
          s = n(39767),
          c = n(23358),
          l = n(73104),
          u = n(41702);
        function f(t) {
          return (
            (f =
              "function" == typeof Symbol && "symbol" == typeof Symbol.iterator
                ? function (t) {
                    return typeof t;
                  }
                : function (t) {
                    return t &&
                      "function" == typeof Symbol &&
                      t.constructor === Symbol &&
                      t !== Symbol.prototype
                      ? "symbol"
                      : typeof t;
                  }),
            f(t)
          );
        }
        function d(t, e, n) {
          return (
            (e = (function (t) {
              var e = (function (t, e) {
                if ("object" != f(t) || !t) return t;
                var n = t[Symbol.toPrimitive];
                if (void 0 !== n) {
                  var r = n.call(t, e || "default");
                  if ("object" != f(r)) return r;
                  throw new TypeError(
                    "@@toPrimitive must return a primitive value."
                  );
                }
                return ("string" === e ? String : Number)(t);
              })(t, "string");
              return "symbol" == f(e) ? e : e + "";
            })(e)) in t
              ? Object.defineProperty(t, e, {
                  value: n,
                  enumerable: !0,
                  configurable: !0,
                  writable: !0,
                })
              : (t[e] = n),
            t
          );
        }
        (0, s.register)("conditionSetting", {
          zh: {
            add_below: "下方新增",
            delete_condition: "删除",
            edit_condition: "修改",
            condition_setting: "条件设置",
            and: "与",
            or: "或",
            remove: "去掉",
            copy_from_others: "从其他组件复制条件",
            copy_condition: "复制条件",
            clear: "清空",
            field_value: "字段值",
            component_value: "组件属性",
            sys_param: "系统参数",
            page_param: "页面参数",
            event_param: "事件参数",
            conditionSetting__compositePlaceholder: "请输入字段值",
            conditionSetting__keyPlaceholder: "请选择字段",
            conditionSetting__ok: "确定",
            conditionSetting__cancel: "取消",
            conditionSetting__date: "固定时间",
            conditionSetting__variable: "时间变量",
            conditionSetting__range: "区间",
            conditionSetting__interval: "区间",
            conditionSetting__relative: "相对时间",
            conditionSetting__relativeDay: "天",
            conditionSetting__relativeMonth: "月",
            conditionSetting__relativeYear: "年",
            conditionSetting__relativeCheck: "筛选结果不包含当",
            conditionSetting__addFilter: "添加",
            conditionSetting__editFilter: "修改",
            input_maxlength: "最大输入限制256个字符！",
            input_validString: "包含非法字符！",
            input_number: "只能输入数字！",
          },
          en: {
            add_below: "Add below",
            delete_condition: "Delete",
            edit_condition: "Modify",
            condition_setting: "Condition setting",
            and: "And",
            or: "Or",
            remove: "Remove",
            copy_from_others: "Copy conditions from other components",
            copy_condition: "Copy conditions",
            clear: "Clear",
            field_value: "Field value",
            component_value: "Component attribute",
            sys_param: "System parameters",
            page_param: "Page parameters",
            event_param: "Event parameters",
            conditionSetting__compositePlaceholder: "Please enter field value",
            conditionSetting__keyPlaceholder: "Please select field",
            conditionSetting__ok: "OK",
            conditionSetting__cancel: "Cancel",
            conditionSetting__date: "Fixed time",
            conditionSetting__variable: "Time variable",
            conditionSetting__range: "Range",
            conditionSetting__interval: "Interval",
            conditionSetting__relative: "Relative time",
            conditionSetting__relativeDay: "Day",
            conditionSetting__relativeMonth: "Month",
            conditionSetting__relativeYear: "Year",
            conditionSetting__relativeCheck:
              "Screen result do not contain WHEN",
            conditionSetting__addFilter: "Add",
            conditionSetting__editFilter: "Modify",
            input_maxlength: "Max. input limit is 256 characters",
            input_validString: "Contain illegal characters!",
            input_number: "Enter number only!",
          },
        });
        var h = d(d({}, u.Relation.OR, "||"), u.Relation.AND, "&&"),
          p = n(35063);
        function m(t) {
          var e = this,
            n = t.reduce(
              function (t, n) {
                return (
                  (function (t, e) {
                    if (t !== e)
                      throw new TypeError(
                        "Cannot instantiate an arrow function"
                      );
                  })(this, e),
                  (t[n] = n),
                  t
                );
              }.bind(this),
              {}
            );
          return JSON.stringify(n);
        }
        var v = n(16494);
        function g(t, e) {
          return (
            (function (t) {
              if (Array.isArray(t)) return t;
            })(t) ||
            (function (t, e) {
              var n =
                null == t
                  ? null
                  : ("undefined" != typeof Symbol && t[Symbol.iterator]) ||
                    t["@@iterator"];
              if (null != n) {
                var r,
                  i,
                  o,
                  a,
                  s = [],
                  c = !0,
                  l = !1;
                try {
                  if (((o = (n = n.call(t)).next), 0 === e)) {
                    if (Object(n) !== n) return;
                    c = !1;
                  } else
                    for (
                      ;
                      !(c = (r = o.call(n)).done) &&
                      (s.push(r.value), s.length !== e);
                      c = !0
                    );
                } catch (t) {
                  (l = !0), (i = t);
                } finally {
                  try {
                    if (
                      !c &&
                      null != n.return &&
                      ((a = n.return()), Object(a) !== a)
                    )
                      return;
                  } finally {
                    if (l) throw i;
                  }
                }
                return s;
              }
            })(t, e) ||
            (function (t, e) {
              if (t) {
                if ("string" == typeof t) return y(t, e);
                var n = {}.toString.call(t).slice(8, -1);
                return (
                  "Object" === n && t.constructor && (n = t.constructor.name),
                  "Map" === n || "Set" === n
                    ? Array.from(t)
                    : "Arguments" === n ||
                      /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)
                    ? y(t, e)
                    : void 0
                );
              }
            })(t, e) ||
            (function () {
              throw new TypeError(
                "Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."
              );
            })()
          );
        }
        function y(t, e) {
          (null == e || e > t.length) && (e = t.length);
          for (var n = 0, r = Array(e); n < e; n++) r[n] = t[n];
          return r;
        }
        function b(t, e) {
          return (
            (function (t) {
              if (Array.isArray(t)) return t;
            })(t) ||
            (function (t, e) {
              var n =
                null == t
                  ? null
                  : ("undefined" != typeof Symbol && t[Symbol.iterator]) ||
                    t["@@iterator"];
              if (null != n) {
                var r,
                  i,
                  o,
                  a,
                  s = [],
                  c = !0,
                  l = !1;
                try {
                  if (((o = (n = n.call(t)).next), 0 === e)) {
                    if (Object(n) !== n) return;
                    c = !1;
                  } else
                    for (
                      ;
                      !(c = (r = o.call(n)).done) &&
                      (s.push(r.value), s.length !== e);
                      c = !0
                    );
                } catch (t) {
                  (l = !0), (i = t);
                } finally {
                  try {
                    if (
                      !c &&
                      null != n.return &&
                      ((a = n.return()), Object(a) !== a)
                    )
                      return;
                  } finally {
                    if (l) throw i;
                  }
                }
                return s;
              }
            })(t, e) ||
            (function (t, e) {
              if (t) {
                if ("string" == typeof t) return V(t, e);
                var n = {}.toString.call(t).slice(8, -1);
                return (
                  "Object" === n && t.constructor && (n = t.constructor.name),
                  "Map" === n || "Set" === n
                    ? Array.from(t)
                    : "Arguments" === n ||
                      /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)
                    ? V(t, e)
                    : void 0
                );
              }
            })(t, e) ||
            (function () {
              throw new TypeError(
                "Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."
              );
            })()
          );
        }
        function V(t, e) {
          (null == e || e > t.length) && (e = t.length);
          for (var n = 0, r = Array(e); n < e; n++) r[n] = t[n];
          return r;
        }
        function _(t, e) {
          var n = this,
            r = "",
            i = t.operator,
            a = t.left.value,
            s = t.right.value,
            c = t.left.varType
              ? "'".concat(t.left.value[0], "'")
              : "this['".concat(a, "']");
          switch (i) {
            case p.C.TopN:
              r = "".concat(s >= e + 1);
              break;
            case p.C.IsNull:
              r = "".concat(c, " == null");
              break;
            case p.C.IsNotNull:
              r = "".concat(c, " != null");
              break;
            case p.C.IsEmpty:
              r = "".concat(c, " == ''");
              break;
            case p.C.IsNotEmpty:
              r = "".concat(c, " != ''");
              break;
            case p.C.RightNotLike:
              r = "!".concat(c, ".match(/.*").concat(s[0], "$/gi)");
              break;
            case p.C.RightLike:
              r = "".concat(c, ".match(/.*").concat(s[0], "$/gi)");
              break;
            case p.C.LeftNotLike:
              r = "!".concat(c, ".match(/^").concat(s[0], ".*/gi)");
              break;
            case p.C.LeftLike:
              r = "".concat(c, ".match(/^").concat(s[0], ".*/gi)");
              break;
            case p.C.NotLike:
              r = "".concat(c, ".indexOf('").concat(s[0], "') < 0");
              break;
            case p.C.Like:
              r = "".concat(c, ".indexOf('").concat(s[0], "') > -1");
              break;
            case p.C.NotIn:
              r = "!(".concat(c, " in ").concat(m(s), ")");
              break;
            case p.C.In:
              r = "".concat(c, " in ").concat(m(s));
              break;
            case p.C.Range:
              r = "("
                .concat(c, " >= ")
                .concat(s[0], " && ")
                .concat(c, " < ")
                .concat(s[1], ")");
              break;
            default:
              if (o.A.isNumber(s[0]) || t.right.varType === u.COMPARE_FIELDS)
                r = ""
                  .concat(c, " ")
                  .concat(u.OperatorMap[i], " ")
                  .concat(s[0]);
              else {
                var l = b(s, 1)[0];
                l &&
                  (l = l
                    .split("")
                    .map(
                      function (t) {
                        return (
                          (function (t, e) {
                            if (t !== e)
                              throw new TypeError(
                                "Cannot instantiate an arrow function"
                              );
                          })(this, n),
                          "\\" === t ? "\\\\" : t
                        );
                      }.bind(this)
                    )
                    .join("")),
                  (r = ""
                    .concat(c, " ")
                    .concat(u.OperatorMap[i], " '")
                    .concat(l, "'"));
              }
          }
          return r;
        }
        function w(t) {
          var e = this,
            n =
              arguments.length > 1 && void 0 !== arguments[1]
                ? arguments[1]
                : "",
            r = t.columns,
            i = t.condition,
            o = t.rowIndex;
          return (
            i.children &&
              ((n += "("),
              i.children.forEach(
                function (t, i) {
                  !(function (t, e) {
                    if (t !== e)
                      throw new TypeError(
                        "Cannot instantiate an arrow function"
                      );
                  })(this, e);
                  var a = 0 !== i ? " ".concat(h[t.siblingRelation]) : "";
                  if (t.children)
                    (n += " ".concat(a, " ")),
                      (n = w({ condition: t, columns: r, rowIndex: o }, n));
                  else {
                    var s = "";
                    !(function (t) {
                      if (t) {
                        t.left;
                        var e,
                          n = t.right,
                          r = t.operator,
                          i = n.value;
                        [p.C.In, p.C.NotIn].includes(r) &&
                          "FIXED" === n.type &&
                          (n.value = String(
                            null !== (e = i[0]) && void 0 !== e ? e : ""
                          ).split(",")),
                          n.varType === u.COMPARE_FIELDS &&
                            (n.value = ["this['".concat(i[0], "']")]);
                      }
                    })(t);
                    var c = t.left.value,
                      f = (function (t, e) {
                        var n = l.p.string;
                        if (!t) return n;
                        for (var r = 0; r < t.length; r++)
                          if (t[r].columnId === e) {
                            n = t[r].dataType;
                            break;
                          }
                        return n;
                      })(r, c);
                    (s = [l.p.date, l.p.dateTime].includes(f)
                      ? (function (t, e) {
                          var n = "",
                            r = t.operator,
                            i = t.left.value,
                            o = t.right.value,
                            a = t.left.varType
                              ? "'".concat(t.left.value[0], "'")
                              : "this['".concat(i, "']");
                          switch (r) {
                            case p.C.TopN:
                              n = "".concat(o >= e + 1);
                              break;
                            case p.C.IsNull:
                              n = "".concat(a, " == null");
                              break;
                            case p.C.IsNotNull:
                              n = "".concat(a, " != null");
                              break;
                            case p.C.IsEmpty:
                              n = "".concat(a, " == ''");
                              break;
                            case p.C.IsNotEmpty:
                              n = "".concat(a, " != ''");
                              break;
                            case p.C.NotIn:
                              n = "!(".concat(a, " in ").concat(m(o), ")");
                              break;
                            case p.C.In:
                              n = "".concat(a, " in ").concat(m(o));
                              break;
                            case p.C.Range:
                              n = "(+new Date("
                                .concat(a, ") >= +new Date('")
                                .concat(o[0], "') && +new Date(")
                                .concat(a, ") < +new Date('")
                                .concat(o[1], "'))");
                              break;
                            case p.C.RelativeRange:
                              var s = t.right.dateGranularity,
                                c = g(o, 1)[0],
                                l = (0, v.A)(s, c),
                                f = l.startTime,
                                d = l.endTime;
                              n = "(+new Date("
                                .concat(a, ") >= +new Date('")
                                .concat(f, "') && +new Date(")
                                .concat(a, ") <= +new Date('")
                                .concat(d, "'))");
                              break;
                            default:
                              n = "+new Date("
                                .concat(a, ") ")
                                .concat(u.OperatorMap[r], " +new Date('")
                                .concat(o[0], "')");
                          }
                          return n;
                        })(t, o)
                      : _(t, o)),
                      (n += "".concat(a, " ").concat(s));
                  }
                }.bind(this)
              ),
              (n += ")")),
            n
          );
        }
        function S(t, e) {
          if (t !== e)
            throw new TypeError("Cannot instantiate an arrow function");
        }
        function E(t) {
          return (
            (E =
              "function" == typeof Symbol && "symbol" == typeof Symbol.iterator
                ? function (t) {
                    return typeof t;
                  }
                : function (t) {
                    return t &&
                      "function" == typeof Symbol &&
                      t.constructor === Symbol &&
                      t !== Symbol.prototype
                      ? "symbol"
                      : typeof t;
                  }),
            E(t)
          );
        }
        async function A(t) {
          var e =
            arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : {};
          t = i()(t);
          var n = e.columns,
            r = e.rowIndex;
          await (0, c.R)(t, e);
          var o = w({ condition: t, columns: n, rowIndex: r });
          return o.slice(1, o.length - 1);
        }
        function T(t, e) {
          var n = this;
          return e
            .split(" ")
            .map(
              function (e) {
                var r = this;
                if (
                  (S(this, n), !e.includes("this") && e.includes(a.DB.Flag))
                ) {
                  var i = Object.keys(t).find(
                    function (t) {
                      return S(this, r), e.includes(t);
                    }.bind(this)
                  );
                  e = e.replace(
                    (function (t, e, n) {
                      return "boolean" === E(n)
                        ? t.match("'\\".concat(e, "'"))[0]
                        : t.match("\\".concat(e))[0];
                    })(e, i, t[i]),
                    t[i]
                  );
                }
                return e;
              }.bind(this)
            )
            .join(" ");
        }
        async function O(t, e) {
          var n = await A(t, e);
          return (
            (n = T(
              this,
              (n = (n = n.replace(
                new RegExp((0, s.get)("conditionSetting.or"), "gm"),
                "||"
              )).replace(
                new RegExp((0, s.get)("conditionSetting.and"), "gm"),
                "&&"
              ))
            )),
            new Function("return ".concat(n)).bind(this)()
          );
        }
        async function C(t, e, n) {
          if (t) for (var r in t) if (void 0 === t[r]) return !1;
          if (!o.A.get(e, "children.length")) return !0;
          var i = !0;
          try {
            i = await O.bind(t)(e, { component: n });
          } catch (t) {
            sfLogger.error(t), (i = !1);
          }
          return i;
        }
        function P(t) {
          var e,
            n = t.key;
          "in" === t.operater &&
            (t.key = (function (t) {
              var e = this;
              if (
                o.A.isString(t) &&
                ((t = (t = t.replace(/'/g, "")).split(",").filter(
                  function (t) {
                    return S(this, e), t;
                  }.bind(this)
                )),
                Array.isArray(t))
              ) {
                var n = {};
                t.forEach(
                  function (t) {
                    S(this, e), (n[t] = "");
                  }.bind(this)
                ),
                  (t = JSON.stringify(n));
              }
              return t;
            })(n)),
            (e = t.key.indexOf("{") > -1 ? t.key : "'".concat(t.key, "'"));
          var r = "'".concat(t.value, "' ").concat(t.operater, " ").concat(e);
          return new Function("return ".concat(r))();
        }
      },
      44518: (t, e, n) => {
        "use strict";
        n.d(e, { AJ: () => l, Ay: () => u, Oj: () => f });
        var r = n(15354),
          i = n(47712);
        function o(t) {
          return (
            (o =
              "function" == typeof Symbol && "symbol" == typeof Symbol.iterator
                ? function (t) {
                    return typeof t;
                  }
                : function (t) {
                    return t &&
                      "function" == typeof Symbol &&
                      t.constructor === Symbol &&
                      t !== Symbol.prototype
                      ? "symbol"
                      : typeof t;
                  }),
            o(t)
          );
        }
        function a(t, e, n) {
          return (
            (e = (function (t) {
              var e = (function (t, e) {
                if ("object" != o(t) || !t) return t;
                var n = t[Symbol.toPrimitive];
                if (void 0 !== n) {
                  var r = n.call(t, e || "default");
                  if ("object" != o(r)) return r;
                  throw new TypeError(
                    "@@toPrimitive must return a primitive value."
                  );
                }
                return ("string" === e ? String : Number)(t);
              })(t, "string");
              return "symbol" == o(e) ? e : e + "";
            })(e)) in t
              ? Object.defineProperty(t, e, {
                  value: n,
                  enumerable: !0,
                  configurable: !0,
                  writable: !0,
                })
              : (t[e] = n),
            t
          );
        }
        function s(t, e) {
          if (t !== e)
            throw new TypeError("Cannot instantiate an arrow function");
        }
        var c = {};
        function l(t) {
          var e,
            n,
            i = this,
            o = ""
              .concat(t.id, "_")
              .concat(null !== (e = t.contextId) && void 0 !== e ? e : "", "_")
              .concat(
                null === (n = (0, r.Vs)()) || void 0 === n ? void 0 : n.id
              ),
            a = c[o];
          delete c[o],
            a &&
              a.forEach(
                function (e) {
                  s(this, i), e.task(t);
                }.bind(this)
              );
        }
        function u(t, e) {
          var n,
            o,
            l,
            f,
            d = this,
            h = this,
            p =
              arguments.length > 2 && void 0 !== arguments[2]
                ? arguments[2]
                : i.oR,
            m = t instanceof i.Ay ? t : (0, r.Y9)(t.id, t.contextId);
          if (m) {
            var v = ""
                .concat(m.id, "_")
                .concat(
                  null !== (n = m.contextId) && void 0 !== n ? n : "",
                  "_"
                )
                .concat(
                  null === (o = (0, r.Vs)()) || void 0 === o ? void 0 : o.id
                ),
              g =
                null !== (l = e.id) && void 0 !== l
                  ? l
                  : e
                      .toString()
                      .replace(/[\t\n{} ()]/g, "")
                      .replace(/.{3}(.)/g, "$1");
            e = null !== (f = e.handler) && void 0 !== f ? f : e;
            var y = a(
              a(
                a(a({}, i.oR, "afterMount"), i.sV, "afterMount"),
                i.zR,
                "afterFetch"
              ),
              i.$v,
              "afterRender"
            );
            if (m instanceof i.Ay)
              if (m.status >= p) e.call(m, m);
              else {
                var b,
                  V = null !== (b = y[p]) && void 0 !== b ? b : "afterMount";
                m.addOnceHook(
                  V,
                  function () {
                    return s(this, d), e.call(m, m);
                  }.bind(this)
                );
              }
            else {
              var _,
                w = (null !== (_ = c[v]) && void 0 !== _ ? _ : []).filter(
                  function (t) {
                    return s(this, d), t.name !== g;
                  }.bind(this)
                );
              w.push({
                name: g,
                task: function (t) {
                  s(this, h), u(t, e, p);
                }.bind(this),
              }),
                (c[v] = w);
            }
          }
        }
        function f(t) {
          var e = this,
            n =
              arguments.length > 1 && void 0 !== arguments[1]
                ? arguments[1]
                : function () {
                    s(this, e);
                  }.bind(this),
            r =
              arguments.length > 2 && void 0 !== arguments[2]
                ? arguments[2]
                : i.oR;
          return Promise.all(
            t.map(
              function (t) {
                var n = this;
                return (
                  s(this, e),
                  new Promise(
                    function (e, i) {
                      s(this, n),
                        u(
                          t,
                          function (t) {
                            e(t);
                          },
                          r
                        );
                    }.bind(this)
                  )
                );
              }.bind(this)
            )
          ).then(
            function (t) {
              return s(this, e), n(t), t;
            }.bind(this)
          );
        }
      },
      46602: (t) => {
        t.exports =
          '<div class="bicard-modal-box">\n    <div class="bicard-modal-mask"></div>\n    <div class="bicard-modal" style="\n        width: <%= width %>%;\n        height: <%= height %>%;\n        background: rgba(0 , 0, 0, 0.3);\n    ">\n        <div class="bicard-modal-header">\n            <div class="bicard-modal-title" title="<%= title %>">\n                <%= title %>\n            </div>\n            <div class="bicard-modal-close">X</div>\n        </div>\n        <div class="bicard-modal-body">\n            <iframe\n                src="<%= src %>"\n            ></iframe>\n        </div>\n    </div>\n</div>\n';
      },
      47104: (t, e, n) => {
        "use strict";
        function r(t) {
          return (
            (r =
              "function" == typeof Symbol && "symbol" == typeof Symbol.iterator
                ? function (t) {
                    return typeof t;
                  }
                : function (t) {
                    return t &&
                      "function" == typeof Symbol &&
                      t.constructor === Symbol &&
                      t !== Symbol.prototype
                      ? "symbol"
                      : typeof t;
                  }),
            r(t)
          );
        }
        function i(t, e) {
          for (var n = 0; n < e.length; n++) {
            var r = e[n];
            (r.enumerable = r.enumerable || !1),
              (r.configurable = !0),
              "value" in r && (r.writable = !0),
              Object.defineProperty(t, u(r.key), r);
          }
        }
        function o(t, e, n) {
          return (
            (e = s(e)),
            (function (t, e) {
              if (e && ("object" == r(e) || "function" == typeof e)) return e;
              if (void 0 !== e)
                throw new TypeError(
                  "Derived constructors may only return object or undefined"
                );
              return (function (t) {
                if (void 0 === t)
                  throw new ReferenceError(
                    "this hasn't been initialised - super() hasn't been called"
                  );
                return t;
              })(t);
            })(
              t,
              a()
                ? Reflect.construct(e, n || [], s(t).constructor)
                : e.apply(t, n)
            )
          );
        }
        function a() {
          try {
            var t = !Boolean.prototype.valueOf.call(
              Reflect.construct(Boolean, [], function () {})
            );
          } catch (t) {}
          return (a = function () {
            return !!t;
          })();
        }
        function s(t) {
          return (
            (s = Object.setPrototypeOf
              ? Object.getPrototypeOf.bind()
              : function (t) {
                  return t.__proto__ || Object.getPrototypeOf(t);
                }),
            s(t)
          );
        }
        function c(t, e) {
          return (
            (c = Object.setPrototypeOf
              ? Object.setPrototypeOf.bind()
              : function (t, e) {
                  return (t.__proto__ = e), t;
                }),
            c(t, e)
          );
        }
        function l(t, e, n) {
          return (
            (e = u(e)) in t
              ? Object.defineProperty(t, e, {
                  value: n,
                  enumerable: !0,
                  configurable: !0,
                  writable: !0,
                })
              : (t[e] = n),
            t
          );
        }
        function u(t) {
          var e = (function (t, e) {
            if ("object" != r(t) || !t) return t;
            var n = t[Symbol.toPrimitive];
            if (void 0 !== n) {
              var i = n.call(t, e || "default");
              if ("object" != r(i)) return i;
              throw new TypeError(
                "@@toPrimitive must return a primitive value."
              );
            }
            return ("string" === e ? String : Number)(t);
          })(t, "string");
          return "symbol" == r(e) ? e : e + "";
        }
        n.d(e, { A: () => f });
        const f = new ((function (t) {
          function e() {
            var t;
            return (
              (function (t, e) {
                if (!(t instanceof e))
                  throw new TypeError("Cannot call a class as a function");
              })(this, e),
              l((t = o(this, e, ["ux-2024"])), "ssg", void 0),
              l(t, "log", void 0),
              l(t, "components", void 0),
              l(t, "webglData", void 0),
              l(t, "cards", void 0),
              l(t, "fonts", void 0),
              t
                .version(2024)
                .stores({
                  log: "++id, time, content",
                  ssg: "id, content, version",
                  components: "componentId, modelType, data",
                  webglData: "id, content",
                  cards: "cardId, releaseTime, content",
                  fonts: "++id, blob",
                }),
              t
            );
          }
          return (
            (function (t, e) {
              if ("function" != typeof e && null !== e)
                throw new TypeError(
                  "Super expression must either be null or a function"
                );
              (t.prototype = Object.create(e && e.prototype, {
                constructor: { value: t, writable: !0, configurable: !0 },
              })),
                Object.defineProperty(t, "prototype", { writable: !1 }),
                e && c(t, e);
            })(e, t),
            (n = e),
            r && i(n.prototype, r),
            a && i(n, a),
            Object.defineProperty(n, "prototype", { writable: !1 }),
            n
          );
          var n, r, a;
        })(n(65830).Ay))();
      },
      47712: (t, e, n) => {
        "use strict";
        n.d(e, {
          oR: () => it,
          zR: () => at,
          sV: () => ot,
          $v: () => st,
          Ay: () => ct,
        });
        var r = n(74692),
          i = n.n(r),
          o = n(71542),
          a = n(15354),
          s = n(50808),
          c = n(41702),
          l = n(39767),
          u = n(44518);
        var f = n(90710);
        function d(t, e) {
          if (t !== e)
            throw new TypeError("Cannot instantiate an arrow function");
        }
        function h(t) {
          return (
            (function (t) {
              if (Array.isArray(t)) return p(t);
            })(t) ||
            (function (t) {
              if (
                ("undefined" != typeof Symbol && null != t[Symbol.iterator]) ||
                null != t["@@iterator"]
              )
                return Array.from(t);
            })(t) ||
            (function (t, e) {
              if (t) {
                if ("string" == typeof t) return p(t, e);
                var n = {}.toString.call(t).slice(8, -1);
                return (
                  "Object" === n && t.constructor && (n = t.constructor.name),
                  "Map" === n || "Set" === n
                    ? Array.from(t)
                    : "Arguments" === n ||
                      /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)
                    ? p(t, e)
                    : void 0
                );
              }
            })(t) ||
            (function () {
              throw new TypeError(
                "Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."
              );
            })()
          );
        }
        function p(t, e) {
          (null == e || e > t.length) && (e = t.length);
          for (var n = 0, r = Array(e); n < e; n++) r[n] = t[n];
          return r;
        }
        function m(t, e) {
          if (t !== e)
            throw new TypeError("Cannot instantiate an arrow function");
        }
        function v(t) {
          return (
            (function (t) {
              if (Array.isArray(t)) return g(t);
            })(t) ||
            (function (t) {
              if (
                ("undefined" != typeof Symbol && null != t[Symbol.iterator]) ||
                null != t["@@iterator"]
              )
                return Array.from(t);
            })(t) ||
            (function (t, e) {
              if (t) {
                if ("string" == typeof t) return g(t, e);
                var n = {}.toString.call(t).slice(8, -1);
                return (
                  "Object" === n && t.constructor && (n = t.constructor.name),
                  "Map" === n || "Set" === n
                    ? Array.from(t)
                    : "Arguments" === n ||
                      /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)
                    ? g(t, e)
                    : void 0
                );
              }
            })(t) ||
            (function () {
              throw new TypeError(
                "Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."
              );
            })()
          );
        }
        function g(t, e) {
          (null == e || e > t.length) && (e = t.length);
          for (var n = 0, r = Array(e); n < e; n++) r[n] = t[n];
          return r;
        }
        function y(t, e) {
          var n = this;
          if (this.config.eventConfig)
            if (o.A.isEmpty(e.actions) && o.A.isEmpty(e.conditions))
              this.config.eventConfig = v(this.config.eventConfig).filter(
                function (e) {
                  return m(this, n), (null == e ? void 0 : e.eventType) !== t;
                }.bind(this)
              );
            else {
              var r = v(this.config.eventConfig).filter(
                  function (t) {
                    var e;
                    return (
                      m(this, n),
                      (null == t || null === (e = t.conditions) || void 0 === e
                        ? void 0
                        : e.length) > 0
                    );
                  }.bind(this)
                ),
                i = r.findIndex(
                  function (e) {
                    return m(this, n), (null == e ? void 0 : e.eventType) === t;
                  }.bind(this)
                );
              -1 === i && (null == e ? void 0 : e.conditions.length) > 0
                ? r.push(e)
                : e.actions.length > 0 || e.conditions.length > 0
                ? (r[i] = e)
                : r.splice(i, 1),
                (this.config.eventConfig = r);
            }
          else this.config.eventConfig = [e];
        }
        var b = n(62952);
        var V, _, w, S, E, A, T, O, C, P, x, k, I, j, R, D, L, M, N, $, B, U, F;
        function H(t) {
          var e = this;
          t.isWebgl &&
            (0, a.nx)().filter(
              function (t) {
                return (
                  (function (t, e) {
                    if (t !== e)
                      throw new TypeError(
                        "Cannot instantiate an arrow function"
                      );
                  })(this, e),
                  t.isWebgl
                );
              }.bind(this)
            ).length >= 5 &&
            (0, b.warningMessage)(l.get("com.maxWebglWarning"));
        }
        function G(t) {
          return (
            (G =
              "function" == typeof Symbol && "symbol" == typeof Symbol.iterator
                ? function (t) {
                    return typeof t;
                  }
                : function (t) {
                    return t &&
                      "function" == typeof Symbol &&
                      t.constructor === Symbol &&
                      t !== Symbol.prototype
                      ? "symbol"
                      : typeof t;
                  }),
            G(t)
          );
        }
        function W(t, e) {
          return (
            (function (t) {
              if (Array.isArray(t)) return t;
            })(t) ||
            (function (t, e) {
              var n =
                null == t
                  ? null
                  : ("undefined" != typeof Symbol && t[Symbol.iterator]) ||
                    t["@@iterator"];
              if (null != n) {
                var r,
                  i,
                  o,
                  a,
                  s = [],
                  c = !0,
                  l = !1;
                try {
                  if (((o = (n = n.call(t)).next), 0 === e)) {
                    if (Object(n) !== n) return;
                    c = !1;
                  } else
                    for (
                      ;
                      !(c = (r = o.call(n)).done) &&
                      (s.push(r.value), s.length !== e);
                      c = !0
                    );
                } catch (t) {
                  (l = !0), (i = t);
                } finally {
                  try {
                    if (
                      !c &&
                      null != n.return &&
                      ((a = n.return()), Object(a) !== a)
                    )
                      return;
                  } finally {
                    if (l) throw i;
                  }
                }
                return s;
              }
            })(t, e) ||
            (function (t, e) {
              if (t) {
                if ("string" == typeof t) return z(t, e);
                var n = {}.toString.call(t).slice(8, -1);
                return (
                  "Object" === n && t.constructor && (n = t.constructor.name),
                  "Map" === n || "Set" === n
                    ? Array.from(t)
                    : "Arguments" === n ||
                      /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)
                    ? z(t, e)
                    : void 0
                );
              }
            })(t, e) ||
            (function () {
              throw new TypeError(
                "Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."
              );
            })()
          );
        }
        function z(t, e) {
          (null == e || e > t.length) && (e = t.length);
          for (var n = 0, r = Array(e); n < e; n++) r[n] = t[n];
          return r;
        }
        function q(t, e) {
          if (t !== e)
            throw new TypeError("Cannot instantiate an arrow function");
        }
        function X(t, e) {
          var n = Object.keys(t);
          if (Object.getOwnPropertySymbols) {
            var r = Object.getOwnPropertySymbols(t);
            e &&
              (r = r.filter(function (e) {
                return Object.getOwnPropertyDescriptor(t, e).enumerable;
              })),
              n.push.apply(n, r);
          }
          return n;
        }
        function Y(t) {
          for (var e = 1; e < arguments.length; e++) {
            var n = null != arguments[e] ? arguments[e] : {};
            e % 2
              ? X(Object(n), !0).forEach(function (e) {
                  et(t, e, n[e]);
                })
              : Object.getOwnPropertyDescriptors
              ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(n))
              : X(Object(n)).forEach(function (e) {
                  Object.defineProperty(
                    t,
                    e,
                    Object.getOwnPropertyDescriptor(n, e)
                  );
                });
          }
          return t;
        }
        function K(t, e) {
          for (var n = 0; n < e.length; n++) {
            var r = e[n];
            (r.enumerable = r.enumerable || !1),
              (r.configurable = !0),
              "value" in r && (r.writable = !0),
              Object.defineProperty(t, nt(r.key), r);
          }
        }
        function Z(t, e, n) {
          return (
            (e = Q(e)),
            (function (t, e) {
              if (e && ("object" == G(e) || "function" == typeof e)) return e;
              if (void 0 !== e)
                throw new TypeError(
                  "Derived constructors may only return object or undefined"
                );
              return (function (t) {
                if (void 0 === t)
                  throw new ReferenceError(
                    "this hasn't been initialised - super() hasn't been called"
                  );
                return t;
              })(t);
            })(
              t,
              J()
                ? Reflect.construct(e, n || [], Q(t).constructor)
                : e.apply(t, n)
            )
          );
        }
        function J() {
          try {
            var t = !Boolean.prototype.valueOf.call(
              Reflect.construct(Boolean, [], function () {})
            );
          } catch (t) {}
          return (J = function () {
            return !!t;
          })();
        }
        function Q(t) {
          return (
            (Q = Object.setPrototypeOf
              ? Object.getPrototypeOf.bind()
              : function (t) {
                  return t.__proto__ || Object.getPrototypeOf(t);
                }),
            Q(t)
          );
        }
        function tt(t, e) {
          return (
            (tt = Object.setPrototypeOf
              ? Object.setPrototypeOf.bind()
              : function (t, e) {
                  return (t.__proto__ = e), t;
                }),
            tt(t, e)
          );
        }
        function et(t, e, n) {
          return (
            (e = nt(e)) in t
              ? Object.defineProperty(t, e, {
                  value: n,
                  enumerable: !0,
                  configurable: !0,
                  writable: !0,
                })
              : (t[e] = n),
            t
          );
        }
        function nt(t) {
          var e = (function (t, e) {
            if ("object" != G(t) || !t) return t;
            var n = t[Symbol.toPrimitive];
            if (void 0 !== n) {
              var r = n.call(t, e || "default");
              if ("object" != G(r)) return r;
              throw new TypeError(
                "@@toPrimitive must return a primitive value."
              );
            }
            return ("string" === e ? String : Number)(t);
          })(t, "string");
          return "symbol" == G(e) ? e : e + "";
        }
        function rt(t, e, n, r, i) {
          var o = {};
          return (
            Object.keys(r).forEach(function (t) {
              o[t] = r[t];
            }),
            (o.enumerable = !!o.enumerable),
            (o.configurable = !!o.configurable),
            ("value" in o || o.initializer) && (o.writable = !0),
            (o = n
              .slice()
              .reverse()
              .reduce(function (n, r) {
                return r(t, e, n) || n;
              }, o)),
            i &&
              void 0 !== o.initializer &&
              ((o.value = o.initializer ? o.initializer.call(i) : void 0),
              (o.initializer = void 0)),
            void 0 === o.initializer
              ? (Object.defineProperty(t, e, o), null)
              : o
          );
        }
        var it = 0,
          ot = 1,
          at = 2,
          st = 3;
        const ct =
          ((V = s.Ay.registHook("beforeInit")),
          (_ = s.Ay.registHook("afterInit", !1)),
          (w = s.Ay.registHook("beforeMount")),
          (S = s.Ay.registHook("afterMount", !1)),
          (E = s.Ay.registHook("beforeUpdateDataConfig")),
          (A = s.Ay.registHook("afterUpdateDataConfig", !1)),
          (T = s.Ay.registHook("beforeUpdateEventConfig")),
          (O = s.Ay.registHook("afterUpdateEventConfig", !1)),
          (C = s.Ay.registHook("beforeUpdateBasicConfig")),
          (P = s.Ay.registHook("afterUpdateBasicConfig", !1)),
          (x = s.Ay.registHook("beforeUpdateConfigs")),
          (k = s.Ay.registHook("afterUpdateConfigs", !1)),
          (I = s.Ay.registHook("beforeRender")),
          (j = s.Ay.registHook("afterRender", !1)),
          (R = s.Ay.registHook("beforeFetch")),
          (D = s.Ay.registHook("afterFetch", !1)),
          (L = s.Ay.registHook("beforeUpdate")),
          (M = s.Ay.registHook("afterUpdate", !1)),
          (N = s.Ay.registHook("beforeBuildRenderData")),
          ($ = s.Ay.registHook("afterBuildRenderData", !1)),
          (B = s.Ay.registHook("beforeDestroy")),
          (F = (function (t) {
            function e(t, n) {
              var r,
                i = this;
              return (
                (function (t, e) {
                  if (!(t instanceof e))
                    throw new TypeError("Cannot call a class as a function");
                })(this, e),
                et((r = Z(this, e)), "type", void 0),
                et(r, "version", void 0),
                et(r, "id", void 0),
                et(r, "config", void 0),
                et(r, "jsPathPrefix", void 0),
                et(r, "origin", void 0),
                et(r, "contextId", void 0),
                et(r, "parentId", null),
                et(r, "parentInstance", null),
                et(r, "children", []),
                et(r, "supportSceneAnimation", !0),
                et(r, "supportChildrenSceneAnimation", !0),
                et(r, "supportDragInNewsList", !1),
                et(r, "noCache", !1),
                et(r, "allowUngroup", !1),
                et(r, "renderOfWeight", 0),
                et(r, "status", it),
                et(r, "dataGetter", void 0),
                et(r, "runTimeData", {}),
                et(r, "$parent", void 0),
                et(r, "$element", void 0),
                et(
                  r,
                  "i18n",
                  Y(
                    Y({}, l),
                    {},
                    {
                      get: function (t) {
                        var e =
                          arguments.length > 1 &&
                          void 0 !== arguments[1] &&
                          arguments[1];
                        return (
                          q(this, i),
                          l.get(e ? t : "".concat(r.type, ".").concat(t))
                        );
                      }.bind(this),
                    }
                  )
                ),
                r.addStatusHooks(),
                r
              );
            }
            return (
              (function (t, e) {
                if ("function" != typeof e && null !== e)
                  throw new TypeError(
                    "Super expression must either be null or a function"
                  );
                (t.prototype = Object.create(e && e.prototype, {
                  constructor: { value: t, writable: !0, configurable: !0 },
                })),
                  Object.defineProperty(t, "prototype", { writable: !1 }),
                  e && tt(t, e);
              })(e, t),
              (n = e),
              (r = [
                {
                  key: "addStatusHooks",
                  value: function () {
                    var t = this;
                    this.addOnceHook(
                      "afterMount",
                      function () {
                        q(this, t), this.status < ot && (this.status = ot);
                      }.bind(this)
                    ),
                      this.addOnceHook(
                        "afterRequest",
                        function () {
                          q(this, t), this.status < at && (this.status = at);
                        }.bind(this)
                      ),
                      this.addOnceHook(
                        "afterRender",
                        function () {
                          q(this, t), (this.status = st);
                        }.bind(this)
                      ),
                      this.addOnceHook(
                        "beforeInit",
                        function () {
                          q(this, t), H(this), (0, u.AJ)(this);
                        }.bind(this)
                      );
                  },
                },
                {
                  key: "buildDefaultConfig",
                  value: function () {
                    return {};
                  },
                },
                {
                  key: "initConfig",
                  value: function (t) {
                    var e, n, r;
                    (this.config =
                      null !== (e = null == t ? void 0 : t.config) &&
                      void 0 !== e
                        ? e
                        : this.buildDefaultConfig()),
                      (this.id =
                        (null == t ? void 0 : t.id) ||
                        ((r = this.type),
                        ""
                          .concat(r, "_")
                          .concat(Math.random().toString().slice(2)))),
                      (this.getBasicConfig().name =
                        this.config.basicConfig.name ||
                        (function () {
                          for (
                            var t = this,
                              e =
                                arguments.length > 0 && void 0 !== arguments[0]
                                  ? arguments[0]
                                  : "a",
                              n =
                                arguments.length > 1 && void 0 !== arguments[1]
                                  ? arguments[1]
                                  : [],
                              r =
                                arguments.length > 2 && void 0 !== arguments[2]
                                  ? arguments[2]
                                  : "",
                              i =
                                arguments.length > 3 && void 0 !== arguments[3]
                                  ? arguments[3]
                                  : "",
                              o =
                                !(
                                  arguments.length > 4 &&
                                  void 0 !== arguments[4]
                                ) || arguments[4],
                              s = [].concat(
                                h((0, a.nx)() || []),
                                h((0, f.A)(n, o))
                              ),
                              c =
                                s.map(
                                  function (e) {
                                    return d(this, t), e.getBasicConfig().name;
                                  }.bind(this)
                                ) || [],
                              l = (
                                s
                                  .filter(
                                    function (n) {
                                      return d(this, t), n.type === e;
                                    }.bind(this)
                                  )
                                  .map(
                                    function (e) {
                                      return (
                                        d(this, t), e.getBasicConfig().name
                                      );
                                    }.bind(this)
                                  ) || []
                              ).length;
                            ;

                          ) {
                            var u = r
                              ? "".concat(r).concat(l).concat(i)
                              : "".concat(e).concat(l).concat(i);
                            if (-1 === c.indexOf(u)) return u;
                            l++;
                          }
                        })(
                          this.type,
                          [],
                          "",
                          null == t || null === (n = t.relation) || void 0 === n
                            ? void 0
                            : n.name
                        ));
                  },
                },
                {
                  key: "setDataGetter",
                  value: function (t) {
                    this.dataGetter = t;
                  },
                },
                {
                  key: "init",
                  value: function () {
                    var t,
                      e =
                        null !== (t = this.getRunTimeData("display")) &&
                        void 0 !== t
                          ? t
                          : this.getBasicConfig().display;
                    return this.setDisplay(e), Promise.resolve();
                  },
                },
                {
                  key: "hydrate",
                  value: function () {
                    return !1;
                  },
                },
                {
                  key: "renderToString",
                  value: function () {
                    return Promise.resolve("");
                  },
                },
                {
                  key: "getInitalData",
                  value: function () {
                    return null;
                  },
                },
                {
                  key: "mount",
                  value: function (t) {
                    return Promise.resolve();
                  },
                },
                {
                  key: "getConfig",
                  value: function () {
                    return this.config;
                  },
                },
                {
                  key: "updateDataConfig",
                  value: function (t, e) {
                    var n = this;
                    "string" != typeof t
                      ? Object.keys(t).forEach(
                          function (e) {
                            return (
                              q(this, n),
                              o.A.set(this.config.dataConfig, e, t[e])
                            );
                          }.bind(this)
                        )
                      : o.A.set(this.config.dataConfig, t, e);
                  },
                },
                {
                  key: "getDataConfig",
                  value: function () {
                    var t;
                    return (
                      (null === (t = this.config) || void 0 === t
                        ? void 0
                        : t.dataConfig) || {}
                    );
                  },
                },
                {
                  key: "updateEventConfig",
                  value: function (t, e) {
                    return y.call(this, t, e);
                  },
                },
                {
                  key: "getEventConfig",
                  value: function () {
                    return this.config.eventConfig;
                  },
                },
                {
                  key: "updateBasicConfig",
                  value: function (t, e) {
                    o.A.set(this.getBasicConfig(), t, e);
                  },
                },
                {
                  key: "getBasicConfig",
                  value: function (t) {
                    var e, n;
                    return t
                      ? null === (n = this.config) ||
                        void 0 === n ||
                        null === (n = n.basicConfig) ||
                        void 0 === n
                        ? void 0
                        : n[t]
                      : null === (e = this.config) || void 0 === e
                      ? void 0
                      : e.basicConfig;
                  },
                },
                {
                  key: "updateConfigs",
                  value: function (t) {
                    o.A.merge(this.config, t);
                  },
                },
                {
                  key: "render",
                  value: function (t) {
                    return Promise.resolve();
                  },
                },
                {
                  key: "fetch",
                  value: async function (t, e) {
                    var n = this;
                    return new Promise(
                      function (r, i) {
                        var o = this;
                        q(this, n),
                          this.dataGetter.fetch(this, t, e).next(
                            async function () {
                              q(this, o),
                                r(this),
                                this.execHooks(
                                  "cleanWarningRenderProcessorQueue"
                                ),
                                await this.execHooks("resolveFetch"),
                                this.update([c.CONST_DEFAULT_MODEL_TYPE], {
                                  triggerByFetch: !0,
                                });
                            }.bind(this),
                            function (t) {
                              return q(this, o), i(t);
                            }.bind(this)
                          );
                      }.bind(this)
                    );
                  },
                },
                {
                  key: "update",
                  value: function () {
                    var t = this,
                      e =
                        arguments.length > 0 && void 0 !== arguments[0]
                          ? arguments[0]
                          : [c.CONST_DEFAULT_MODEL_TYPE],
                      n =
                        arguments.length > 1 && void 0 !== arguments[1]
                          ? arguments[1]
                          : { triggerByFetch: !1 };
                    return new Promise(
                      function (r) {
                        var i = this;
                        q(this, t),
                          async function () {
                            q(this, i),
                              await this.buildRenderData(e),
                              await this.render(n),
                              r(this);
                          }.bind(this)();
                      }.bind(this)
                    ).catch(
                      function (e) {
                        q(this, t), sfLogger.error(e);
                      }.bind(this)
                    );
                  },
                },
                {
                  key: "buildRenderData",
                  value: function (t) {
                    return (
                      this.setRunTimeData(
                        "renderData",
                        o.A.cloneDeep(this.getBasicConfig())
                      ),
                      Promise.resolve()
                    );
                  },
                },
                {
                  key: "setRunTimeData",
                  value: function (t, e, n) {
                    n
                      ? o.A.set(
                          this.runTimeData,
                          "".concat(t, ".").concat(n),
                          e
                        )
                      : o.A.set(this.runTimeData, "".concat(t), e);
                  },
                },
                {
                  key: "getRunTimeData",
                  value: function (t) {
                    var e =
                        arguments.length > 1 && void 0 !== arguments[1]
                          ? arguments[1]
                          : c.CONST_DEFAULT_MODEL_TYPE,
                      n = o.A.get(this.runTimeData, t);
                    return (
                      o.A.isObject(n) &&
                        e &&
                        n.hasOwnProperty(e) &&
                        (n = o.A.get(
                          this.runTimeData,
                          "".concat(t, ".").concat(e)
                        )),
                      n
                    );
                  },
                },
                {
                  key: "destroy",
                  value: function () {
                    var t;
                    (this.status = st),
                      this.abort(),
                      (this.runTimeData = {}),
                      this.clearHooks(),
                      this.setParentInstance(null),
                      null === (t = this.dataGetter) ||
                        void 0 === t ||
                        t.destroy(this),
                      (this.dataGetter = null);
                  },
                },
                {
                  key: "preview",
                  value: async function (t, e) {
                    return this.init();
                  },
                },
                {
                  key: "setDisplay",
                  value: function (t) {
                    this.$parent &&
                      this.$parent
                        .removeClass("ux-component-root-transparent")
                        .addClass(t ? "" : "ux-component-root-transparent");
                  },
                },
                {
                  key: "updateDisplay",
                  value: function (t) {
                    this.updateBasicConfig("display", t);
                  },
                },
                {
                  key: "getLib",
                  value: function (t) {
                    var e = this.dependencies[t];
                    return (
                      e ||
                        sfLogger.error(
                          "组件依赖的".concat(
                            t,
                            "没有，注意在manifest上添加版本依赖"
                          )
                        ),
                      e
                    );
                  },
                },
                {
                  key: "mergeConfig",
                  value: function (t, e) {
                    return o.A.merge(t, e);
                  },
                },
                {
                  key: "cloneConfig",
                  value: function (t) {
                    return o.A.cloneDeep(
                      t ? o.A.get(this.config, t) : this.config
                    );
                  },
                },
                {
                  key: "getParentInstance",
                  value: function () {
                    var t, e;
                    return null !==
                      (t =
                        null !== (e = this.parentInstance) && void 0 !== e
                          ? e
                          : (0, a.Y9)(this.parentId)) && void 0 !== t
                      ? t
                      : null;
                  },
                },
                {
                  key: "setParentInstance",
                  value: function (t) {
                    this.parentInstance = t;
                  },
                },
                {
                  key: "isHidden",
                  value: function () {
                    for (var t = this; t; ) {
                      var e;
                      if (
                        null === (e = t.getBasicConfig()) ||
                        void 0 === e ||
                        !e.display
                      )
                        return !0;
                      t = t.getParentInstance();
                    }
                    return !1;
                  },
                },
                {
                  key: "isLazy",
                  value: function () {
                    var t,
                      e,
                      n,
                      r,
                      i =
                        null !==
                          (e =
                            null ===
                              (n = (
                                null !== (t = this.dataGetter) && void 0 !== t
                                  ? t
                                  : {}
                              ).creator) ||
                            void 0 === n ||
                            null === (r = n.getDataConfig) ||
                            void 0 === r
                              ? void 0
                              : r.call(n)) && void 0 !== e
                          ? e
                          : {};
                    return o.A.get(i, "modelHandleConfigs.loadDelay", !1);
                  },
                },
                {
                  key: "getPluginConfig",
                  value: function () {
                    return {};
                  },
                },
                {
                  key: "getRelativePosition",
                  value: function () {
                    var t,
                      e,
                      n =
                        null !==
                          (t =
                            null === (e = this.getBasicConfig) || void 0 === e
                              ? void 0
                              : e.call(this)) && void 0 !== t
                          ? t
                          : this.config.basicConfig,
                      r = n.left,
                      i = n.top,
                      o = W(this.componentOffset || [0, 0], 2);
                    return { left: r + o[0], top: i + o[1] };
                  },
                },
                {
                  key: "isRendered",
                  value: function () {
                    return this.status >= st;
                  },
                },
                {
                  key: "reset",
                  value: function () {
                    (this.$parent = i()(
                      '<div class="ux-component-root"></div>'
                    )),
                      (this.status = it),
                      this.addStatusHooks();
                  },
                },
                {
                  key: "setRendered",
                  value: function () {
                    this.status = st;
                  },
                },
                { key: "registEvent", value: function () {} },
                {
                  key: "task",
                  value: function (t, e) {
                    (0, u.Ay)(this, t, e);
                  },
                },
              ]),
              (s = [
                {
                  key: "executionInterceptor",
                  value: function (t) {
                    var e = this;
                    return function (n, r, i) {
                      q(this, e);
                      var o = i.value;
                      "function" == typeof o &&
                        (i.value = function () {
                          var e;
                          try {
                            for (
                              var n = arguments.length, r = new Array(n), i = 0;
                              i < n;
                              i++
                            )
                              r[i] = arguments[i];
                            !1 !== (e = o.apply(this, r)) && this[t]();
                          } catch (t) {
                            sfLogger.error(t);
                          }
                          return e;
                        });
                    }.bind(this);
                  },
                },
              ]),
              r && K(n.prototype, r),
              s && K(n, s),
              Object.defineProperty(n, "prototype", { writable: !1 }),
              n
            );
            var n, r, s;
          })(s.Ay)),
          et(F, "STATUS_CREATED", it),
          et(F, "STATUS_MOUNTED", ot),
          et(F, "STATUS_FETCHED", at),
          et(F, "STATUS_RENDERED", st),
          et(F, "STATUS_DESTROYED", 4),
          et(F, "protoInitialize", function (t, e) {
            var n = this.prototype;
            (n.manifest = t), (n.dependencies = e);
          }),
          rt(
            (U = F).prototype,
            "init",
            [V, _],
            Object.getOwnPropertyDescriptor(U.prototype, "init"),
            U.prototype
          ),
          rt(
            U.prototype,
            "mount",
            [w, S],
            Object.getOwnPropertyDescriptor(U.prototype, "mount"),
            U.prototype
          ),
          rt(
            U.prototype,
            "updateDataConfig",
            [E, A],
            Object.getOwnPropertyDescriptor(U.prototype, "updateDataConfig"),
            U.prototype
          ),
          rt(
            U.prototype,
            "updateEventConfig",
            [T, O],
            Object.getOwnPropertyDescriptor(U.prototype, "updateEventConfig"),
            U.prototype
          ),
          rt(
            U.prototype,
            "updateBasicConfig",
            [C, P],
            Object.getOwnPropertyDescriptor(U.prototype, "updateBasicConfig"),
            U.prototype
          ),
          rt(
            U.prototype,
            "updateConfigs",
            [x, k],
            Object.getOwnPropertyDescriptor(U.prototype, "updateConfigs"),
            U.prototype
          ),
          rt(
            U.prototype,
            "render",
            [I, j],
            Object.getOwnPropertyDescriptor(U.prototype, "render"),
            U.prototype
          ),
          rt(
            U.prototype,
            "fetch",
            [R, D],
            Object.getOwnPropertyDescriptor(U.prototype, "fetch"),
            U.prototype
          ),
          rt(
            U.prototype,
            "update",
            [L, M],
            Object.getOwnPropertyDescriptor(U.prototype, "update"),
            U.prototype
          ),
          rt(
            U.prototype,
            "buildRenderData",
            [N, $],
            Object.getOwnPropertyDescriptor(U.prototype, "buildRenderData"),
            U.prototype
          ),
          rt(
            U.prototype,
            "destroy",
            [B],
            Object.getOwnPropertyDescriptor(U.prototype, "destroy"),
            U.prototype
          ),
          U);
      },
      48893: (t, e, n) => {
        "use strict";
        n.d(e, { Jt: () => E });
        var r = n(71542),
          i = n(18040),
          o = n(79209),
          a = void 0;
        function s(t, e) {
          if (t !== e)
            throw new TypeError("Cannot instantiate an arrow function");
        }
        function c(t) {
          return (
            (function (t) {
              if (Array.isArray(t)) return l(t);
            })(t) ||
            (function (t) {
              if (
                ("undefined" != typeof Symbol && null != t[Symbol.iterator]) ||
                null != t["@@iterator"]
              )
                return Array.from(t);
            })(t) ||
            (function (t, e) {
              if (t) {
                if ("string" == typeof t) return l(t, e);
                var n = {}.toString.call(t).slice(8, -1);
                return (
                  "Object" === n && t.constructor && (n = t.constructor.name),
                  "Map" === n || "Set" === n
                    ? Array.from(t)
                    : "Arguments" === n ||
                      /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)
                    ? l(t, e)
                    : void 0
                );
              }
            })(t) ||
            (function () {
              throw new TypeError(
                "Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."
              );
            })()
          );
        }
        function l(t, e) {
          (null == e || e > t.length) && (e = t.length);
          for (var n = 0, r = Array(e); n < e; n++) r[n] = t[n];
          return r;
        }
        var u = "ux";
        function f(t) {
          return Array.isArray(t)
            ? [u].concat(c(t)).join("/")
            : "".concat(u, "/").concat(t);
        }
        var d = {
          "^.+/designer/.*$": function (t) {
            return s(this, a), f("编辑器");
          }.bind(void 0),
          "^.+/runner/.*$": function (t) {
            return s(this, a), f("运行器");
          }.bind(void 0),
          "^.*/viewer-biz/.*$": function (t) {
            return s(this, a), f("viewer");
          }.bind(void 0),
          "^.*/ae-manage-biz/.*$": function (t) {
            return s(this, a), f("ae");
          }.bind(void 0),
          "^.*/auth-center-server/.*$": function (t) {
            return s(this, a), f("认证中心");
          }.bind(void 0),
          "^.*/message-center-server/.*$": function (t) {
            return s(this, a), f("消息中心");
          }.bind(void 0),
        };
        const h = Object.keys(d).map(
          function (t) {
            return s(this, a), [new RegExp(t), d[t]];
          }.bind(void 0)
        );
        function p(t) {
          return (
            (p =
              "function" == typeof Symbol && "symbol" == typeof Symbol.iterator
                ? function (t) {
                    return typeof t;
                  }
                : function (t) {
                    return t &&
                      "function" == typeof Symbol &&
                      t.constructor === Symbol &&
                      t !== Symbol.prototype
                      ? "symbol"
                      : typeof t;
                  }),
            p(t)
          );
        }
        function m(t) {
          return (
            (function (t) {
              if (Array.isArray(t)) return w(t);
            })(t) ||
            (function (t) {
              if (
                ("undefined" != typeof Symbol && null != t[Symbol.iterator]) ||
                null != t["@@iterator"]
              )
                return Array.from(t);
            })(t) ||
            _(t) ||
            (function () {
              throw new TypeError(
                "Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."
              );
            })()
          );
        }
        function v(t, e) {
          for (var n = 0; n < e.length; n++) {
            var r = e[n];
            (r.enumerable = r.enumerable || !1),
              (r.configurable = !0),
              "value" in r && (r.writable = !0),
              Object.defineProperty(t, y(r.key), r);
          }
        }
        function g(t, e, n) {
          return (
            (e = y(e)) in t
              ? Object.defineProperty(t, e, {
                  value: n,
                  enumerable: !0,
                  configurable: !0,
                  writable: !0,
                })
              : (t[e] = n),
            t
          );
        }
        function y(t) {
          var e = (function (t, e) {
            if ("object" != p(t) || !t) return t;
            var n = t[Symbol.toPrimitive];
            if (void 0 !== n) {
              var r = n.call(t, e || "default");
              if ("object" != p(r)) return r;
              throw new TypeError(
                "@@toPrimitive must return a primitive value."
              );
            }
            return ("string" === e ? String : Number)(t);
          })(t, "string");
          return "symbol" == p(e) ? e : e + "";
        }
        function b(t, e) {
          if (t !== e)
            throw new TypeError("Cannot instantiate an arrow function");
        }
        function V(t, e) {
          return (
            (function (t) {
              if (Array.isArray(t)) return t;
            })(t) ||
            (function (t, e) {
              var n =
                null == t
                  ? null
                  : ("undefined" != typeof Symbol && t[Symbol.iterator]) ||
                    t["@@iterator"];
              if (null != n) {
                var r,
                  i,
                  o,
                  a,
                  s = [],
                  c = !0,
                  l = !1;
                try {
                  if (((o = (n = n.call(t)).next), 0 === e)) {
                    if (Object(n) !== n) return;
                    c = !1;
                  } else
                    for (
                      ;
                      !(c = (r = o.call(n)).done) &&
                      (s.push(r.value), s.length !== e);
                      c = !0
                    );
                } catch (t) {
                  (l = !0), (i = t);
                } finally {
                  try {
                    if (
                      !c &&
                      null != n.return &&
                      ((a = n.return()), Object(a) !== a)
                    )
                      return;
                  } finally {
                    if (l) throw i;
                  }
                }
                return s;
              }
            })(t, e) ||
            _(t, e) ||
            (function () {
              throw new TypeError(
                "Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."
              );
            })()
          );
        }
        function _(t, e) {
          if (t) {
            if ("string" == typeof t) return w(t, e);
            var n = {}.toString.call(t).slice(8, -1);
            return (
              "Object" === n && t.constructor && (n = t.constructor.name),
              "Map" === n || "Set" === n
                ? Array.from(t)
                : "Arguments" === n ||
                  /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)
                ? w(t, e)
                : void 0
            );
          }
        }
        function w(t, e) {
          (null == e || e > t.length) && (e = t.length);
          for (var n = 0, r = Array(e); n < e; n++) r[n] = t[n];
          return r;
        }
        var S = "".concat(i.Ay.UX_API, "/log/addWebRunnerLog");
        function E(t) {
          var e = this,
            n = t.url,
            r = V(
              h.filter(
                function (t) {
                  return b(this, e), t[0].test(n);
                }.bind(this)
              ),
              1
            )[0];
          if (r) return r[1](t);
        }
        function A() {
          var t, e;
          return (
            null !==
              (t =
                null !== (e = window.__DEV__) && void 0 !== e
                  ? e
                  : localStorage.getItem("__DEV__")) &&
            void 0 !== t &&
            t
          );
        }
        var T = new ((function () {
          return (
            (t = function t() {
              var e = this;
              !(function (t, e) {
                if (!(t instanceof e))
                  throw new TypeError("Cannot call a class as a function");
              })(this, t),
                g(this, "_logSendStack", new Map()),
                g(this, "_logTimeStack", {}),
                g(
                  this,
                  "sendLogToServer",
                  r.A.debounce(
                    function () {
                      b(this, e),
                        (0, o.post)(S, {
                          logEnum: "ERROR",
                          contents: this._logSendStack.get("ERROR"),
                        }),
                        this._logSendStack.set("ERROR", null);
                    }.bind(this),
                    1e4
                  )
                );
            }),
            (e = [
              {
                key: "sendToSendStack",
                value: function (t) {
                  this._logSendStack.set(
                    t.logEnum,
                    [].concat(m(this._logSendStack.get(t.logEnum) || []), [
                      t.content || "",
                    ])
                  ),
                    this.sendLogToServer();
                },
              },
              {
                key: "log",
                value: function () {
                  var t;
                  A() && (t = console).log.apply(t, arguments);
                },
              },
              {
                key: "debug",
                value: function () {
                  var t;
                  A() && (t = console).debug.apply(t, arguments);
                },
              },
              {
                key: "info",
                value: function () {
                  var t;
                  A() && (t = console).info.apply(t, arguments);
                },
              },
              {
                key: "message",
                value: function () {
                  var t;
                  (t = console).info.apply(t, arguments);
                },
              },
              {
                key: "warn",
                value: function () {
                  var t;
                  A() && (t = console).warn.apply(t, arguments);
                },
              },
              {
                key: "error",
                value: function () {
                  for (
                    var t,
                      e,
                      n = A(),
                      r = arguments.length,
                      i = new Array(r),
                      o = 0;
                    o < r;
                    o++
                  )
                    i[o] = arguments[o];
                  n
                    ? (t = console).error.apply(t, i)
                    : this.sendToSendStack({
                        logEnum: "ERROR",
                        content: ((e = i.toString()), "uxrunner:".concat(e)),
                      });
                },
              },
              {
                key: "time",
                value: function () {
                  var t = this,
                    e =
                      arguments.length > 0 && void 0 !== arguments[0]
                        ? arguments[0]
                        : "default",
                    n = A();
                  n && console.time(e);
                  var r = function () {
                    return b(this, t), n && console.timeEnd(e);
                  }.bind(this);
                  return (this._logTimeStack[e] = r), r;
                },
              },
              {
                key: "timeEnd",
                value: function () {
                  var t =
                      arguments.length > 0 && void 0 !== arguments[0]
                        ? arguments[0]
                        : "default",
                    e = this._logTimeStack[t];
                  e && e();
                },
              },
            ]),
            e && v(t.prototype, e),
            n && v(t, n),
            Object.defineProperty(t, "prototype", { writable: !1 }),
            t
          );
          var t, e, n;
        })())();
        window.sfLogger = T;
      },
      48947: (t, e, n) => {
        "use strict";
        function r(t) {
          return (
            (r =
              "function" == typeof Symbol && "symbol" == typeof Symbol.iterator
                ? function (t) {
                    return typeof t;
                  }
                : function (t) {
                    return t &&
                      "function" == typeof Symbol &&
                      t.constructor === Symbol &&
                      t !== Symbol.prototype
                      ? "symbol"
                      : typeof t;
                  }),
            r(t)
          );
        }
        function i(t, e) {
          for (var n = 0; n < e.length; n++) {
            var r = e[n];
            (r.enumerable = r.enumerable || !1),
              (r.configurable = !0),
              "value" in r && (r.writable = !0),
              Object.defineProperty(t, o(r.key), r);
          }
        }
        function o(t) {
          var e = (function (t, e) {
            if ("object" != r(t) || !t) return t;
            var n = t[Symbol.toPrimitive];
            if (void 0 !== n) {
              var i = n.call(t, e || "default");
              if ("object" != r(i)) return i;
              throw new TypeError(
                "@@toPrimitive must return a primitive value."
              );
            }
            return ("string" === e ? String : Number)(t);
          })(t, "string");
          return "symbol" == r(e) ? e : e + "";
        }
        function a(t, e, n) {
          return (
            (e = c(e)),
            (function (t, e) {
              if (e && ("object" == r(e) || "function" == typeof e)) return e;
              if (void 0 !== e)
                throw new TypeError(
                  "Derived constructors may only return object or undefined"
                );
              return (function (t) {
                if (void 0 === t)
                  throw new ReferenceError(
                    "this hasn't been initialised - super() hasn't been called"
                  );
                return t;
              })(t);
            })(
              t,
              s()
                ? Reflect.construct(e, n || [], c(t).constructor)
                : e.apply(t, n)
            )
          );
        }
        function s() {
          try {
            var t = !Boolean.prototype.valueOf.call(
              Reflect.construct(Boolean, [], function () {})
            );
          } catch (t) {}
          return (s = function () {
            return !!t;
          })();
        }
        function c(t) {
          return (
            (c = Object.setPrototypeOf
              ? Object.getPrototypeOf.bind()
              : function (t) {
                  return t.__proto__ || Object.getPrototypeOf(t);
                }),
            c(t)
          );
        }
        function l(t, e) {
          return (
            (l = Object.setPrototypeOf
              ? Object.setPrototypeOf.bind()
              : function (t, e) {
                  return (t.__proto__ = e), t;
                }),
            l(t, e)
          );
        }
        n.d(e, { A: () => f, v: () => u });
        var u = (function (t) {
          function e() {
            return (
              (function (t, e) {
                if (!(t instanceof e))
                  throw new TypeError("Cannot call a class as a function");
              })(this, e),
              a(this, e, arguments)
            );
          }
          return (
            (function (t, e) {
              if ("function" != typeof e && null !== e)
                throw new TypeError(
                  "Super expression must either be null or a function"
                );
              (t.prototype = Object.create(e && e.prototype, {
                constructor: { value: t, writable: !0, configurable: !0 },
              })),
                Object.defineProperty(t, "prototype", { writable: !1 }),
                e && l(t, e);
            })(e, t),
            (n = e),
            r && i(n.prototype, r),
            o && i(n, o),
            Object.defineProperty(n, "prototype", { writable: !1 }),
            n
          );
          var n, r, o;
        })(n(50808).Ay);
        const f = new u();
      },
      50123: (t, e, n) => {
        "use strict";
        n.d(e, { IQ: () => m, Sl: () => h, JA: () => p });
        var r = n(71542),
          i = n(39767),
          o = n(62597);
        const a = n.p + "images/time.78ad.svg";
        function s(t) {
          return (
            (s =
              "function" == typeof Symbol && "symbol" == typeof Symbol.iterator
                ? function (t) {
                    return typeof t;
                  }
                : function (t) {
                    return t &&
                      "function" == typeof Symbol &&
                      t.constructor === Symbol &&
                      t !== Symbol.prototype
                      ? "symbol"
                      : typeof t;
                  }),
            s(t)
          );
        }
        var c = void 0;
        function l(t, e) {
          var n = Object.keys(t);
          if (Object.getOwnPropertySymbols) {
            var r = Object.getOwnPropertySymbols(t);
            e &&
              (r = r.filter(function (e) {
                return Object.getOwnPropertyDescriptor(t, e).enumerable;
              })),
              n.push.apply(n, r);
          }
          return n;
        }
        function u(t) {
          for (var e = 1; e < arguments.length; e++) {
            var n = null != arguments[e] ? arguments[e] : {};
            e % 2
              ? l(Object(n), !0).forEach(function (e) {
                  f(t, e, n[e]);
                })
              : Object.getOwnPropertyDescriptors
              ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(n))
              : l(Object(n)).forEach(function (e) {
                  Object.defineProperty(
                    t,
                    e,
                    Object.getOwnPropertyDescriptor(n, e)
                  );
                });
          }
          return t;
        }
        function f(t, e, n) {
          return (
            (e = (function (t) {
              var e = (function (t, e) {
                if ("object" != s(t) || !t) return t;
                var n = t[Symbol.toPrimitive];
                if (void 0 !== n) {
                  var r = n.call(t, e || "default");
                  if ("object" != s(r)) return r;
                  throw new TypeError(
                    "@@toPrimitive must return a primitive value."
                  );
                }
                return ("string" === e ? String : Number)(t);
              })(t, "string");
              return "symbol" == s(e) ? e : e + "";
            })(e)) in t
              ? Object.defineProperty(t, e, {
                  value: n,
                  enumerable: !0,
                  configurable: !0,
                  writable: !0,
                })
              : (t[e] = n),
            t
          );
        }
        function d(t, e) {
          if (t !== e)
            throw new TypeError("Cannot instantiate an arrow function");
        }
        var h = function (t, e) {
            var n,
              r,
              i = this;
            d(this, c);
            var a = t.$parent;
            a.removeClass("ux-component-root-delayLoad");
            var s = a.find(".loadDelay_element");
            s.length && s.remove();
            var l =
              null !== (n = null == e ? void 0 : e.modelId) && void 0 !== n
                ? n
                : null === (r = t.dataGetter.getData()) || void 0 === r
                ? void 0
                : r.modelId;
            l &&
              (0, o.forEachBindComponents)(
                t,
                l,
                function (t) {
                  d(this, i), h(t, l);
                }.bind(this)
              );
          }.bind(void 0),
          p = function (t) {
            d(this, c);
            var e = t.getDataConfig(),
              n = r.A.get(e, "modelHandleConfigs") || {};
            n.loadDelay &&
              t.updateDataConfig(
                "modelHandleConfigs",
                u(u({}, n), {}, { loadDelay: !1 })
              );
          }.bind(void 0),
          m = function (t) {
            var e = this;
            d(this, c);
            var n = t.$parent;
            if (!(n.find(".loadDelay_element").length > 0)) {
              var r = t.getBasicConfig(),
                o = r.height,
                s = (r.width, document.createElement("div"));
              s.classList.add("loadDelay_element"),
                (s.innerHTML =
                  "\n        <div>\n            <img style='width: 24px; height: 24px;' src="
                    .concat(
                      a,
                      "></img>\n            <p style='margin-top: 8px;display:"
                    )
                    .concat(o < 60 ? "none" : "block", "'>")
                    .concat(
                      i.get("com.loadDelay"),
                      "...</p>\n        </div>\n    "
                    ));
              (s.style =
                "\n        width: 100%;\n        height: 100%;\n        position: absolute;\n        top: 0;\n        left: 0;\n        background-color: rgba(0, 0, 0, 0.1);\n        text-align: center;\n        display: table;\n        z-index: 100;\n        cursor: pointer;\n        display: flex;\n        align-items: center;\n        justify-content: center; \n        color: #666;\n        overflow: hidden;\n    "),
                s.addEventListener(
                  "click",
                  function (n) {
                    var r = this;
                    d(this, e);
                    var i = t.dataGetter.creator;
                    p(i),
                      i.fetch().then(
                        function () {
                          return d(this, r), h(i);
                        }.bind(this)
                      ),
                      n.stopPropagation();
                  }.bind(this)
                ),
                n.append(s),
                n.addClass("ux-component-root-delayLoad");
            }
          }.bind(void 0);
        (function (t, e) {
          d(this, c);
          var n = t.getDataConfig();
          (0, o.hasRelativeModelComponentId)(t) ||
            (r.A.get(n, "modelHandleConfigs.loadDelay", !1) && m(t));
        }).bind(void 0);
      },
      50477: () => {},
      50808: (t, e, n) => {
        "use strict";
        n.d(e, { _e: () => d, Ay: () => y });
        var r = n(39767);
        function i(t, e, n) {
          var i,
            o =
              null === (i = t.getBasicConfig) ||
              void 0 === i ||
              null === (i = i.call(t)) ||
              void 0 === i
                ? void 0
                : i.name,
            a = o
              ? (0, r.get)("com.componentErrors").replace("$component", o)
              : (0, r.get)("com.pageErrors"),
            s = "".concat(a.replace("$hook", e)).concat(n);
          sfLogger.error("hook: ".concat(e, ":"), s);
        }
        function o(t) {
          return (
            (o =
              "function" == typeof Symbol && "symbol" == typeof Symbol.iterator
                ? function (t) {
                    return typeof t;
                  }
                : function (t) {
                    return t &&
                      "function" == typeof Symbol &&
                      t.constructor === Symbol &&
                      t !== Symbol.prototype
                      ? "symbol"
                      : typeof t;
                  }),
            o(t)
          );
        }
        function a(t) {
          return (
            (function (t) {
              if (Array.isArray(t)) return s(t);
            })(t) ||
            (function (t) {
              if (
                ("undefined" != typeof Symbol && null != t[Symbol.iterator]) ||
                null != t["@@iterator"]
              )
                return Array.from(t);
            })(t) ||
            (function (t, e) {
              if (t) {
                if ("string" == typeof t) return s(t, e);
                var n = {}.toString.call(t).slice(8, -1);
                return (
                  "Object" === n && t.constructor && (n = t.constructor.name),
                  "Map" === n || "Set" === n
                    ? Array.from(t)
                    : "Arguments" === n ||
                      /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)
                    ? s(t, e)
                    : void 0
                );
              }
            })(t) ||
            (function () {
              throw new TypeError(
                "Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."
              );
            })()
          );
        }
        function s(t, e) {
          (null == e || e > t.length) && (e = t.length);
          for (var n = 0, r = Array(e); n < e; n++) r[n] = t[n];
          return r;
        }
        function c(t, e) {
          for (var n = 0; n < e.length; n++) {
            var r = e[n];
            (r.enumerable = r.enumerable || !1),
              (r.configurable = !0),
              "value" in r && (r.writable = !0),
              Object.defineProperty(t, u(r.key), r);
          }
        }
        function l(t, e, n) {
          return (
            (e = u(e)) in t
              ? Object.defineProperty(t, e, {
                  value: n,
                  enumerable: !0,
                  configurable: !0,
                  writable: !0,
                })
              : (t[e] = n),
            t
          );
        }
        function u(t) {
          var e = (function (t, e) {
            if ("object" != o(t) || !t) return t;
            var n = t[Symbol.toPrimitive];
            if (void 0 !== n) {
              var r = n.call(t, e || "default");
              if ("object" != o(r)) return r;
              throw new TypeError(
                "@@toPrimitive must return a primitive value."
              );
            }
            return ("string" === e ? String : Number)(t);
          })(t, "string");
          return "symbol" == o(e) ? e : e + "";
        }
        function f(t, e) {
          if (t !== e)
            throw new TypeError("Cannot instantiate an arrow function");
        }
        var d = (function (t) {
            return (
              (t[(t.High = 0)] = "High"),
              (t[(t.Mid = 1)] = "Mid"),
              (t[(t.Nomal = 2)] = "Nomal"),
              (t[(t.Low = 3)] = "Low"),
              t
            );
          })({}),
          h = Symbol("hooks"),
          p = Symbol("intercepts"),
          m = Symbol("process"),
          v = { init: 1, mount: 2, fetch: 3, render: 4 },
          g = function () {
            return f(this, undefined), { priority: d.Nomal };
          }.bind(void 0),
          y = (function () {
            return (
              (t = function t() {
                return (
                  (function (t, e) {
                    if (!(t instanceof e))
                      throw new TypeError("Cannot call a class as a function");
                  })(this, t),
                  l(this, h, {}),
                  l(this, m, 0),
                  l(this, "_abortProcess", Number.POSITIVE_INFINITY),
                  this.intercept()
                );
              }),
              (e = [
                {
                  key: "intercept",
                  value: function () {
                    return new Proxy(this, {
                      get: function (t, e, n) {
                        var r = this,
                          i = Reflect.get(t, e, n);
                        if ("function" != typeof i) return i;
                        if ((t.setProcess(e), t.isAbort()))
                          return function () {
                            f(this, r),
                              (t._abortProcess = Number.POSITIVE_INFINITY);
                          }.bind(this);
                        if (!i.name)
                          return function () {
                            for (
                              var t = arguments.length, e = new Array(t), n = 0;
                              n < t;
                              n++
                            )
                              e[n] = arguments[n];
                            return i.apply(this, e);
                          };
                        var o = t.traverseInterceptHookKey(e, "before"),
                          a = t.traverseInterceptHookKey(e, "after");
                        return o || a
                          ? function () {
                              for (
                                var e = this,
                                  n = arguments.length,
                                  r = new Array(n),
                                  s = 0;
                                s < n;
                                s++
                              )
                                r[s] = arguments[s];
                              o && t.execHooks.apply(t, [o].concat(r));
                              var c = i.apply(this, r);
                              return (
                                a &&
                                  (c instanceof Promise
                                    ? (c = c
                                        .then(
                                          async function (n) {
                                            return (
                                              f(this, e),
                                              await t.execHooks.apply(
                                                t,
                                                [a].concat(r)
                                              ),
                                              n
                                            );
                                          }.bind(this)
                                        )
                                        .catch(
                                          async function (n) {
                                            return (
                                              f(this, e),
                                              await t.execHooks.apply(
                                                t,
                                                [a].concat(r)
                                              ),
                                              Promise.reject(n)
                                            );
                                          }.bind(this)
                                        ))
                                    : t.execHooks.apply(t, [a].concat(r))),
                                c
                              );
                            }
                          : i;
                      },
                    });
                  },
                },
                {
                  key: "traverseInterceptHookKey",
                  value: function (t, e) {
                    if (!this || !Object.getPrototypeOf(this)) return "";
                    for (var n = Object.getPrototypeOf(this); null !== n; ) {
                      if (!n[p]) return "";
                      if (n[p][t] && n[p][t][e]) return n[p][t][e];
                      n = Object.getPrototypeOf(n) || null;
                    }
                    return "";
                  },
                },
                {
                  key: "addHook",
                  value: function (t, e) {
                    var n = this,
                      r =
                        arguments.length > 2 && void 0 !== arguments[2]
                          ? arguments[2]
                          : g();
                    if ("function" != typeof e)
                      throw new Error("fn is not a function");
                    var i = this[h][t];
                    i || ((i = []), (this[h][t] = i)),
                      i.find(
                        function (t) {
                          return f(this, n), t.fn === e;
                        }.bind(this)
                      ) || i.push({ fn: e, options: r });
                  },
                },
                {
                  key: "addMutexHook",
                  value: function (t, e) {
                    var n =
                      arguments.length > 2 && void 0 !== arguments[2]
                        ? arguments[2]
                        : g();
                    this.deleteHooks(t), this.addHook(t, e, n);
                  },
                },
                {
                  key: "addHooks",
                  value: function (t, e) {
                    var n,
                      r = this,
                      i =
                        arguments.length > 2 && void 0 !== arguments[2]
                          ? arguments[2]
                          : g();
                    if (
                      e.some(
                        function (t) {
                          return f(this, r), "function" != typeof t;
                        }.bind(this)
                      )
                    )
                      throw new Error("fns have non function item");
                    var o = this[h][t];
                    o || ((o = []), (this[h][t] = o)),
                      (n = o).push.apply(
                        n,
                        a(
                          e.map(
                            function (t) {
                              return f(this, r), { fn: t, options: i };
                            }.bind(this)
                          )
                        )
                      );
                  },
                },
                {
                  key: "addOnceHook",
                  value: function (t, e) {
                    var n =
                      arguments.length > 2 && void 0 !== arguments[2]
                        ? arguments[2]
                        : g();
                    if ("function" != typeof e)
                      throw new Error("fn is not a function");
                    var r = this[h][t];
                    r || ((r = []), (this[h][t] = r)),
                      r.push({ fn: e, options: n, isOnce: !0 });
                  },
                },
                {
                  key: "addOnceHooks",
                  value: function (t, e) {
                    var n,
                      r = this,
                      i =
                        arguments.length > 2 && void 0 !== arguments[2]
                          ? arguments[2]
                          : g();
                    if (
                      e.some(
                        function (t) {
                          return f(this, r), "function" != typeof t;
                        }.bind(this)
                      )
                    )
                      throw new Error("fns have non function item");
                    var o = this[h][t];
                    o || ((o = []), (this[h][t] = o)),
                      (n = o).push.apply(
                        n,
                        a(
                          e.map(
                            function (t) {
                              return (
                                f(this, r), { fn: t, options: i, isOnce: !0 }
                              );
                            }.bind(this)
                          )
                        )
                      );
                  },
                },
                {
                  key: "getHook",
                  value: function (t, e) {
                    var n = this,
                      r = this[h][t];
                    if (r && r.length) {
                      var i = r[e];
                      return i
                        ? i.fn
                        : function () {
                            f(this, n);
                          }.bind(this);
                    }
                  },
                },
                {
                  key: "deleteHook",
                  value: function (t, e) {
                    var n = this,
                      r = this[h][t];
                    if (r && r.length) {
                      var i = r.findIndex(
                        function (t) {
                          return f(this, n), t.fn === e;
                        }.bind(this)
                      );
                      -1 !== i && (r.splice(i, 1), (this[h][t] = r));
                    }
                  },
                },
                {
                  key: "deleteHooks",
                  value: function (t) {
                    delete this[h][t];
                  },
                },
                {
                  key: "clearHooks",
                  value: function () {
                    this[h] = {};
                  },
                },
                {
                  key: "execHook",
                  value: function (t, e) {
                    var n = this[h][t];
                    if (n && n.length && n[e])
                      try {
                        for (
                          var r = n[e],
                            o = arguments.length,
                            a = new Array(o > 2 ? o - 2 : 0),
                            s = 2;
                          s < o;
                          s++
                        )
                          a[s - 2] = arguments[s];
                        r.fn.apply(this, a),
                          r.isOnce && this.deleteHook(t, r.fn);
                      } catch (e) {
                        i(this, t, e);
                      }
                  },
                },
                {
                  key: "execHooks",
                  value: async function (t) {
                    for (
                      var e,
                        n,
                        r = this,
                        o = arguments.length,
                        s = new Array(o > 1 ? o - 1 : 0),
                        c = 1;
                      c < o;
                      c++
                    )
                      s[c - 1] = arguments[c];
                    var l = a(
                      null !== (e = this[h][t]) && void 0 !== e ? e : []
                    );
                    l &&
                      l.length &&
                      (l.sort(
                        function (t, e) {
                          var n, i;
                          return (
                            f(this, r),
                            (null == t ||
                            null === (n = t.options) ||
                            void 0 === n
                              ? void 0
                              : n.priority) -
                              (null == e ||
                              null === (i = e.options) ||
                              void 0 === i
                                ? void 0
                                : i.priority)
                          );
                        }.bind(this)
                      ),
                      await Promise.all(
                        l.map(
                          async function (e) {
                            f(this, r);
                            try {
                              await e.fn.apply(this, s);
                            } catch (e) {
                              i(this, t, e);
                            }
                          }.bind(this)
                        )
                      ),
                      (this[h][t] = (
                        null !== (n = this[h][t]) && void 0 !== n ? n : []
                      ).filter(
                        function (t) {
                          return f(this, r), !t.isOnce;
                        }.bind(this)
                      )));
                  },
                },
                {
                  key: "to",
                  value: function (t) {
                    (t[h] = this[h]), this.clearHooks();
                  },
                },
                {
                  key: "copy",
                  value: function (t) {
                    t[h] = this[h];
                  },
                },
                {
                  key: "abort",
                  value: function () {
                    this._abortProcess = this[m];
                  },
                },
                {
                  key: "isAbort",
                  value: function () {
                    return this[m] > this._abortProcess;
                  },
                },
                {
                  key: "setProcess",
                  value: function (t) {
                    var e = v[t];
                    e && (this[m] = e);
                  },
                },
                {
                  key: "getProcess",
                  value: function () {
                    return this[m];
                  },
                },
              ]),
              (n = [
                {
                  key: "registHook",
                  value: function (t) {
                    var e =
                      !(arguments.length > 1 && void 0 !== arguments[1]) ||
                      arguments[1];
                    return function (n, r, i) {
                      n.hasOwnProperty(p) || (n[p] = {}),
                        (n[p][r] = n[p][r] || {}),
                        (n[p][r][e ? "before" : "after"] = t);
                    };
                  },
                },
                {
                  key: "registHookOnClass",
                  value: function (t, e, n) {
                    var r =
                        !(arguments.length > 3 && void 0 !== arguments[3]) ||
                        arguments[3],
                      i = t.prototype;
                    i.hasOwnProperty(p) || (i[p] = {}),
                      (i[p][e] = i[p][e] || {}),
                      (i[p][e][r ? "before" : "after"] = n);
                  },
                },
              ]),
              e && c(t.prototype, e),
              n && c(t, n),
              Object.defineProperty(t, "prototype", { writable: !1 }),
              t
            );
            var t, e, n;
          })();
      },
      52063: (t, e, n) => {
        "use strict";
        n.r(e),
          n.d(e, {
            BackgroundType: () => a,
            DynamicType: () => c,
            EditorType: () => i,
            FillType: () => s,
            LockType: () => d,
            PageParam: () => l,
            PageType: () => r,
            ParamType: () => o,
            RefreshRateUnit: () => f,
            ResolutionType: () => u,
            SizeMax: () => h,
          });
        var r = (function (t) {
            return (
              (t[(t.Directory = 1)] = "Directory"),
              (t[(t.Pc = 3)] = "Pc"),
              (t[(t.Phone = 4)] = "Phone"),
              (t[(t.Pad = 5)] = "Pad"),
              (t[(t.Window = 6)] = "Window"),
              (t[(t.Card = 7)] = "Card"),
              (t[(t.Business = 8)] = "Business"),
              (t[(t.VirtualGroup = -1)] = "VirtualGroup"),
              t
            );
          })({}),
          i = (function (t) {
            return (
              (t.Designer = "designer"),
              (t.CardEditor = "cardEditor"),
              (t.BusinessEditor = "businessEditor"),
              (t.TemplateEditor = "templateEditor"),
              t
            );
          })({}),
          o = (function (t) {
            return (t.CardParam = "cardParam"), (t.PageParam = "pageParam"), t;
          })({}),
          a = (function (t) {
            return (
              (t.Pure = "pure"),
              (t.Static = "static"),
              (t.Dynamic = "dynamic"),
              t
            );
          })({}),
          s = (function (t) {
            return (
              (t.Center = "center"),
              (t.Fill = "fill"),
              (t.Stretch = "stretch"),
              t
            );
          })({}),
          c = (function (t) {
            return (
              (t.Fog = "fog"),
              (t.Line = "line"),
              (t.Galaxy = "galaxy"),
              (t.ConnectStar = "connectStar"),
              (t.RotateStar = "rotateStar"),
              (t.RandomStar = "randomStar"),
              t
            );
          })({}),
          l = (function () {
            return {};
          })(),
          u = (function (t) {
            return (
              (t[(t.Proportional = 0)] = "Proportional"),
              (t[(t.WidthZoom = 1)] = "WidthZoom"),
              (t[(t.HeightZoom = 2)] = "HeightZoom"),
              t
            );
          })({}),
          f = (function (t) {
            return (
              (t[(t.Hour = 0)] = "Hour"),
              (t[(t.Minute = 1)] = "Minute"),
              (t[(t.Second = 2)] = "Second"),
              t
            );
          })({}),
          d = (function (t) {
            return (t.Card = "CARD"), (t.Page = "PAGE"), t;
          })({}),
          h = (function (t) {
            return (
              (t[(t.MaxWidth = 40960)] = "MaxWidth"),
              (t[(t.MaxHeight = 40960)] = "MaxHeight"),
              t
            );
          })({});
      },
      52943: (t, e, n) => {
        "use strict";
        n.d(e, { JI: () => l });
        var r = n(71542),
          i = n(99393);
        function o(t) {
          return (
            (function (t) {
              if (Array.isArray(t)) return a(t);
            })(t) ||
            (function (t) {
              if (
                ("undefined" != typeof Symbol && null != t[Symbol.iterator]) ||
                null != t["@@iterator"]
              )
                return Array.from(t);
            })(t) ||
            (function (t, e) {
              if (t) {
                if ("string" == typeof t) return a(t, e);
                var n = {}.toString.call(t).slice(8, -1);
                return (
                  "Object" === n && t.constructor && (n = t.constructor.name),
                  "Map" === n || "Set" === n
                    ? Array.from(t)
                    : "Arguments" === n ||
                      /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)
                    ? a(t, e)
                    : void 0
                );
              }
            })(t) ||
            (function () {
              throw new TypeError(
                "Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."
              );
            })()
          );
        }
        function a(t, e) {
          (null == e || e > t.length) && (e = t.length);
          for (var n = 0, r = Array(e); n < e; n++) r[n] = t[n];
          return r;
        }
        function s(t, e) {
          if (t !== e)
            throw new TypeError("Cannot instantiate an arrow function");
        }
        function c(t, e, n) {
          var i = this,
            o = e.renderData,
            a = e.seriesIndex,
            c = e.dataIndex,
            l = e.measureIndex,
            u = o.options.series,
            f = [],
            d = [],
            h = [],
            p = [],
            m = [];
          return (
            a.forEach(
              function (t) {
                var e = this;
                s(this, i);
                var o = u[null != l ? l : t];
                c.forEach(
                  function (i) {
                    s(this, e);
                    var a = (function (t, e, n) {
                      var i,
                        o = null !== (i = t.data[e]) && void 0 !== i ? i : {},
                        a = n.showNullData(o.fullValue, o.originValue);
                      return (
                        r.A.isPlainObject(o) && (o = null != a ? a : o.value),
                        { seriesName: t.name, value: o }
                      );
                    })(u[t], i, n);
                    f.push(a.seriesName),
                      d.push(a.value),
                      h.push(r.A.get(o, "data[".concat(i, "].originValue")));
                  }.bind(this)
                ),
                  o.columnId &&
                    (p.push(
                      o.legendColumnId
                        ? o.originColumnName
                        : o.originDisplayName
                    ),
                    m.push(o.legendColumnId ? o.columnName : o.displayName));
              }.bind(this)
            ),
            {
              seriesName: f.join(","),
              value: d.join(","),
              originValue: h.join(","),
              originLegendName: p.join(","),
              legendName: m.join(","),
            }
          );
        }
        function l(t, e) {
          var n,
            a,
            l = e.seriesIndex,
            u = e.dataIndex;
          if ((!u && 0 !== u) || u < 0)
            return {
              name: "",
              originName: "",
              originValue: "",
              seriesName: "",
              legendName: "",
              originLegendName: "",
              value: "",
            };
          r.A.isArray(l) || (l = [l]), r.A.isArray(u) || (u = [u]);
          var f = e.measureIndex,
            d = t.getRunTimeData("renderData"),
            h = new i.E({ dataConfig: t.getDataConfig() }),
            p = c(
              0,
              { renderData: d, seriesIndex: l, dataIndex: u, measureIndex: f },
              h
            ),
            m = p.seriesName,
            v = p.value,
            g = p.originValue,
            y = p.originLegendName,
            b = p.legendName,
            V = (function (t, e, n, i, a) {
              var c = this;
              r.A.isArray(i) || (i = [i]), r.A.isArray(n) || (n = [n]);
              var l = r.A.get(e, "xAxis[0].type"),
                u = r.A.get(e, "yAxis[0].type");
              if (l && "value" !== l) {
                var f = n.map(
                  function (t) {
                    return (
                      s(this, c), r.A.get(e, "xAxis[0].data[".concat(t, "]"))
                    );
                  }.bind(this)
                );
                return {
                  fullValue: f
                    .map(
                      function (t) {
                        return s(this, c), null == t ? void 0 : t.fullValue;
                      }.bind(this)
                    )
                    .join(","),
                  originValue: f
                    .map(
                      function (t) {
                        return s(this, c), null == t ? void 0 : t.originValue;
                      }.bind(this)
                    )
                    .join(","),
                };
              }
              if (u && "value" !== u) {
                var d = n.map(
                  function (t) {
                    return (
                      s(this, c), r.A.get(e, "yAxis[0].data[".concat(t, "]"))
                    );
                  }.bind(this)
                );
                return {
                  fullValue: d
                    .map(
                      function (t) {
                        return s(this, c), null == t ? void 0 : t.fullValue;
                      }.bind(this)
                    )
                    .join(","),
                  originValue: d
                    .map(
                      function (t) {
                        return s(this, c), null == t ? void 0 : t.originValue;
                      }.bind(this)
                    )
                    .join(","),
                };
              }
              var h = i.reduce(
                function (t, i) {
                  var a = this;
                  s(this, c);
                  var l = n.map(
                    function (t) {
                      return (
                        s(this, a),
                        r.A.get(
                          e,
                          "series[".concat(i, "].data[").concat(t, "]")
                        )
                      );
                    }.bind(this)
                  );
                  return [].concat(o(t), o(l));
                }.bind(this),
                []
              );
              return {
                fullValue: h
                  .map(
                    function (t) {
                      return (
                        s(this, c),
                        a.showNullData(
                          null == t ? void 0 : t.name,
                          null == t ? void 0 : t.originName
                        )
                      );
                    }.bind(this)
                  )
                  .join(","),
                originValue: h
                  .map(
                    function (t) {
                      return s(this, c), null == t ? void 0 : t.originName;
                    }.bind(this)
                  )
                  .join(","),
              };
            })(t.type, d.options, u, l, h);
          return {
            name: V.fullValue,
            originName:
              null !==
                (n =
                  null !== (a = e.originName) && void 0 !== a
                    ? a
                    : V.originValue) && void 0 !== n
                ? n
                : e.name,
            originValue: g,
            seriesName: m,
            legendName: b,
            originLegendName: y,
            value: v,
          };
        }
      },
      53148: (t, e, n) => {
        "use strict";
        n.d(e, {
          Bx: () => a,
          DB: () => c,
          RX: () => s,
          X2: () => o,
          h6: () => i,
          yK: () => r,
        });
        var r = (function (t) {
            return (
              (t[(t.None = 0)] = "None"),
              (t[(t.Component = 1)] = "Component"),
              (t[(t.System = 2)] = "System"),
              (t[(t.Card = 3)] = "Card"),
              t
            );
          })({}),
          i = (function (t) {
            return (
              (t.NewTab = "newTab"),
              (t.NewWindow = "newWindow"),
              (t.CurrentTab = "currentTab"),
              (t.SfIframe = "sfIframe"),
              t
            );
          })({}),
          o = (function (t) {
            return (
              (t.Link = "link"),
              (t.Redirect = "redirect"),
              (t.ServiceCall = "serviceCall"),
              (t.PageLinkage = "pageLinkage"),
              (t.RemoteControl = "remoteControl"),
              (t.Custom = "custom"),
              (t.CardService = "cardService"),
              (t.CardAction = "cardAction"),
              (t.DomEvent = "domEvent"),
              (t.DigitalEvent = "digitalEvent"),
              t
            );
          })({}),
          a = (function (t) {
            return (
              (t.OnCardInit = "onCardInit"), (t.OnPageInit = "onPageInit"), t
            );
          })({}),
          s = (function (t) {
            return (
              (t.PAGE = "page"), (t.EVENT = "event"), (t.CUSTOM = "custom"), t
            );
          })({}),
          c = (function (t) {
            return (
              (t.Flag = "$"),
              (t.FieldValue = "$fieldValues"),
              (t.System = "$system"),
              (t.Event = "$event"),
              (t.Component = "$component"),
              (t.Page = "$page"),
              (t.Card = "$card"),
              (t.CardCom = "$card-com"),
              (t.Custom = "$custom"),
              (t.CardLayout = "$cardLayout"),
              t
            );
          })({});
      },
      54184: (t, e, n) => {
        "use strict";
        n.d(e, { A: () => i });
        var r = n(12487);
        function i() {
          var t = Math.floor(9e7 * Math.random()) + 1e7;
          return r.sI.get()[t] ? i() : t;
        }
      },
      54188: (t, e, n) => {
        "use strict";
        n.d(e, { C: () => m });
        var r = n(20903),
          i = n(11869),
          o = n(89610),
          a = n(68275),
          s = n(96540),
          c = n(5338);
        const l = {
          chartZoomPreview: "zoomModal-module__chartZoomPreview--O95ETm",
          close: "zoomModal-module__close--_f8OUg",
          chart__zoomModal: "zoomModal-module__chart__zoomModal--vsvTGW",
          zoomModal: "zoomModal-module__zoomModal--n3r0CD",
        };
        function u() {
          return (
            (u = Object.assign
              ? Object.assign.bind()
              : function (t) {
                  for (var e = 1; e < arguments.length; e++) {
                    var n = arguments[e];
                    for (var r in n)
                      ({}).hasOwnProperty.call(n, r) && (t[r] = n[r]);
                  }
                  return t;
                }),
            u.apply(null, arguments)
          );
        }
        function f(t, e) {
          if (t !== e)
            throw new TypeError("Cannot instantiate an arrow function");
        }
        function d(t) {
          var e,
            n = this,
            c = t.echarts,
            u = t.wrapper,
            d = t.adaptRenderOptions,
            h = t.getScaleOption,
            p = (0, r.A)(t.config),
            m = p,
            v = m.width,
            g = m.height,
            y = m.options,
            b = document.body.offsetWidth,
            V = document.body.offsetHeight,
            _ = v / g,
            w = b,
            S = b / _;
          (v > b || g > V || S > V) &&
            (b / V < _
              ? ((w = Number(b)), (S = Number(w / _)))
              : ((S = Number(V)), (w = Number(S * _))));
          var E = (0, s.useCallback)(
            function (t) {
              if ((f(this, n), t)) {
                var r = S / p.height,
                  a = w / p.width;
                ((p = h(p, { xf: a, yf: r })).options.backgroundColor =
                  p.options.toolbox.toolZoomBackground),
                  (0, i.A)(p.options, "toolbox.feature.myZoom"),
                  (0, o.A)(d) && d(p.options),
                  (e = c.init(t, null)).setOption(p.options);
              }
            }.bind(this),
            [y]
          );
          return s.createElement(
            a.A,
            {
              closeIcon: s.createElement("div", { className: l.close }),
              width: w,
              getContainer: !1,
              open: !0,
              footer: null,
              maskClosable: !1,
              className: l.zoomModal,
              onCancel: function () {
                var t, r, i;
                f(this, n),
                  null == u ||
                    null === (t = u.remove) ||
                    void 0 === t ||
                    t.call(u),
                  null === (r = e) ||
                    void 0 === r ||
                    null === (i = r.dispose) ||
                    void 0 === i ||
                    i.call(r);
              }.bind(this),
              bodyStyle: { backgroundColor: y.toolbox.toolZoomBackground },
            },
            s.createElement("div", {
              id: l.chartZoomPreview,
              style: { width: w - 32, height: S },
              ref: E,
            })
          );
        }
        var h = document.createElement("div");
        h.classList.add(l.chart__zoomModal, "uxStyle");
        var p = (0, c.createRoot)(h);
        function m(t) {
          document.body.appendChild(h),
            p.render(s.createElement(d, u({}, t, { wrapper: h })));
        }
      },
      54497: (t, e, n) => {
        "use strict";
        n.d(e, { wc: () => h, zR: () => p });
        var r = n(39767);
        function i(t) {
          return (
            (i =
              "function" == typeof Symbol && "symbol" == typeof Symbol.iterator
                ? function (t) {
                    return typeof t;
                  }
                : function (t) {
                    return t &&
                      "function" == typeof Symbol &&
                      t.constructor === Symbol &&
                      t !== Symbol.prototype
                      ? "symbol"
                      : typeof t;
                  }),
            i(t)
          );
        }
        r.register("animation", {
          zh: {
            fromOrigin: "自原位",
            fromTop: "自顶部",
            fromLeft: "自左侧",
            fromRight: "自右侧",
            fromBottom: "自底部",
            fromLeftDown: "自左下",
            fromLeftUp: "自左上",
            fromRightDown: "自右下",
            fromRightUp: "自右上",
            toBottom: "到底部",
            toLeft: "到左侧",
            toRight: "到右侧",
            toTop: "到顶部",
            inOrigin: "在原位",
            toLeftDown: "到左下",
            toLeftUp: "到左上",
            toRightDown: "到右下",
            toRightUp: "到右上",
            fromLastFinish: "上一动画之后",
            fromLastSame: "与上一动画同时",
            custom: "自定义",
            linear: "匀速",
            ease: "慢快慢",
            easeIn: "低速开始",
            easeOut: "低速结束",
            easeInOut: "低速开始和结束",
            fadeIn: "淡入",
            rotateIn: "翻转进入",
            fadeOut: "淡出",
            rotateOut: "翻转退出",
            rotate: "翻转",
          },
          en: {
            fromOrigin: "From origin",
            fromTop: "From top",
            fromLeft: "From left",
            fromRight: "From right",
            fromBottom: "From bottom",
            fromLeftDown: "From left down",
            fromLeftUp: "From left up",
            fromRightDown: "From right down",
            fromRightUp: "From right up",
            toBottom: "To bottom",
            toLeft: "To left",
            toRight: "To right",
            toTop: "To top",
            inOrigin: "In origin",
            toLeftDown: "To left down",
            toLeftUp: "To left up",
            toRightDown: "To right down",
            toRightUp: "To right up",
            fromLastFinish: "From last animation",
            fromLastSame: "The same time with last animation",
            custom: "Customized",
            linear: "Uniform",
            ease: "Slow fast slow",
            easeIn: "Start from low speed",
            easeOut: "End at low speed",
            easeInOut: "Start and end at low speed",
            fadeIn: "Fade in",
            rotateIn: "Rotate and enter",
            fadeOut: "Fade out",
            rotateOut: "Rotate and quit",
            rotate: "Rotate",
          },
        });
        var o = void 0;
        function a(t, e) {
          if (t !== e)
            throw new TypeError("Cannot instantiate an arrow function");
        }
        function s(t, e) {
          var n = Object.keys(t);
          if (Object.getOwnPropertySymbols) {
            var r = Object.getOwnPropertySymbols(t);
            e &&
              (r = r.filter(function (e) {
                return Object.getOwnPropertyDescriptor(t, e).enumerable;
              })),
              n.push.apply(n, r);
          }
          return n;
        }
        function c(t) {
          for (var e = 1; e < arguments.length; e++) {
            var n = null != arguments[e] ? arguments[e] : {};
            e % 2
              ? s(Object(n), !0).forEach(function (e) {
                  l(t, e, n[e]);
                })
              : Object.getOwnPropertyDescriptors
              ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(n))
              : s(Object(n)).forEach(function (e) {
                  Object.defineProperty(
                    t,
                    e,
                    Object.getOwnPropertyDescriptor(n, e)
                  );
                });
          }
          return t;
        }
        function l(t, e, n) {
          return (
            (e = (function (t) {
              var e = (function (t, e) {
                if ("object" != i(t) || !t) return t;
                var n = t[Symbol.toPrimitive];
                if (void 0 !== n) {
                  var r = n.call(t, e || "default");
                  if ("object" != i(r)) return r;
                  throw new TypeError(
                    "@@toPrimitive must return a primitive value."
                  );
                }
                return ("string" === e ? String : Number)(t);
              })(t, "string");
              return "symbol" == i(e) ? e : e + "";
            })(e)) in t
              ? Object.defineProperty(t, e, {
                  value: n,
                  enumerable: !0,
                  configurable: !0,
                  writable: !0,
                })
              : (t[e] = n),
            t
          );
        }
        function u(t) {
          return (
            (function (t) {
              if (Array.isArray(t)) return f(t);
            })(t) ||
            (function (t) {
              if (
                ("undefined" != typeof Symbol && null != t[Symbol.iterator]) ||
                null != t["@@iterator"]
              )
                return Array.from(t);
            })(t) ||
            (function (t, e) {
              if (t) {
                if ("string" == typeof t) return f(t, e);
                var n = {}.toString.call(t).slice(8, -1);
                return (
                  "Object" === n && t.constructor && (n = t.constructor.name),
                  "Map" === n || "Set" === n
                    ? Array.from(t)
                    : "Arguments" === n ||
                      /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)
                    ? f(t, e)
                    : void 0
                );
              }
            })(t) ||
            (function () {
              throw new TypeError(
                "Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."
              );
            })()
          );
        }
        function f(t, e) {
          (null == e || e > t.length) && (e = t.length);
          for (var n = 0, r = Array(e); n < e; n++) r[n] = t[n];
          return r;
        }
        var d = {
            fadeIn: "fadeOut",
            fadeInDown: "fadeOutDown",
            fadeInLeft: "fadeOutRight",
            fadeInRight: "fadeOutLeft",
            fadeInUp: "fadeOutUp",
            rotateIn: "rotateOut",
            rotateInDownLeft: "rotateOutDownLeft",
            rotateInDownRight: "rotateOutDownRight",
            rotateInUpLeft: "rotateOutUpLeft",
            rotateInUpRight: "rotateOutUpRight",
          },
          h = [].concat(u(Object.keys(d)), u(Object.values(d)));
        function p(t) {
          return c(c({}, t), {}, { type: d[null == t ? void 0 : t.type] });
        }
        r.get("animation.fromLastFinish"),
          r.get("animation.fromLastSame"),
          r.get("animation.custom"),
          r.get("animation.linear"),
          r.get("animation.ease"),
          r.get("animation.easeIn"),
          r.get("animation.easeOut"),
          r.get("animation.easeInOut"),
          r.get("animation.fadeIn"),
          r.get("animation.rotateIn"),
          r.get("animation.fadeOut"),
          r.get("animation.rotateOut");
        var m = {
          fadeIn: [
            {
              value: "fadeIn",
              label: r.get("animation.fromOrigin"),
              icon: "iconziyuanwei",
            },
            {
              value: "fadeInDown",
              label: r.get("animation.fromTop"),
              icon: "iconzidingbu",
            },
            {
              value: "fadeInLeft",
              label: r.get("animation.fromLeft"),
              icon: "iconzizuoce",
            },
            {
              value: "fadeInRight",
              label: r.get("animation.fromRight"),
              icon: "iconziyouce",
            },
            {
              value: "fadeInUp",
              label: r.get("animation.fromBottom"),
              icon: "iconzidibu",
            },
          ],
          rotateIn: [
            {
              value: "rotateIn",
              label: r.get("animation.fromOrigin"),
              icon: "iconziyuanwei",
            },
            {
              value: "rotateInDownLeft",
              label: r.get("animation.fromLeftUp"),
              icon: "iconzizuoxia",
            },
            {
              value: "rotateInUpLeft",
              label: r.get("animation.fromLeftDown"),
              icon: "iconzizuoshang",
            },
            {
              value: "rotateInDownRight",
              label: r.get("animation.fromRightUp"),
              icon: "iconziyouxia",
            },
            {
              value: "rotateInUpRight",
              label: r.get("animation.fromRightDown"),
              icon: "iconziyoushang",
            },
          ],
          fadeOut: [
            {
              value: "fadeOut",
              label: r.get("animation.inOrigin"),
              icon: "iconziyuanwei",
            },
            {
              value: "fadeOutDown",
              label: r.get("animation.toBottom"),
              icon: "iconzidingbu",
            },
            {
              value: "fadeOutLeft",
              label: r.get("animation.toLeft"),
              icon: "iconziyouce",
            },
            {
              value: "fadeOutRight",
              label: r.get("animation.toRight"),
              icon: "iconzizuoce",
            },
            {
              value: "fadeOutUp",
              label: r.get("animation.toTop"),
              icon: "iconzidibu",
            },
          ],
          rotateOut: [
            {
              value: "rotateOut",
              label: r.get("animation.inOrigin"),
              icon: "iconziyuanwei",
            },
            {
              value: "rotateOutDownLeft",
              label: r.get("animation.toLeftDown"),
              icon: "iconziyoushang",
            },
            {
              value: "rotateOutUpLeft",
              label: r.get("animation.toLeftUp"),
              icon: "iconziyouxia",
            },
            {
              value: "rotateOutDownRight",
              label: r.get("animation.toRightDown"),
              icon: "iconzizuoshang",
            },
            {
              value: "rotateOutUpRight",
              label: r.get("animation.toRightUp"),
              icon: "iconzizuoxia",
            },
          ],
        };
        ""
          .concat(r.get("animation.fadeIn"), "-")
          .concat(r.get("animation.fromOrigin")),
          ""
            .concat(r.get("animation.fadeIn"), "-")
            .concat(r.get("animation.fromTop")),
          ""
            .concat(r.get("animation.fadeIn"), "-")
            .concat(r.get("animation.fromLeft")),
          ""
            .concat(r.get("animation.fadeIn"), "-")
            .concat(r.get("animation.fromRight")),
          ""
            .concat(r.get("animation.fadeIn"), "-")
            .concat(r.get("animation.fromBottom")),
          ""
            .concat(r.get("animation.rotate"), "-")
            .concat(r.get("animation.fromOrigin")),
          ""
            .concat(r.get("animation.rotate"), "-")
            .concat(r.get("animation.fromLeftUp")),
          ""
            .concat(r.get("animation.rotate"), "-")
            .concat(r.get("animation.fromLeftDown")),
          ""
            .concat(r.get("animation.rotate"), "-")
            .concat(r.get("animation.fromRightUp")),
          ""
            .concat(r.get("animation.rotate"), "-")
            .concat(r.get("animation.fromRightDown")),
          [].concat(
            u(
              m.fadeIn.map(
                function (t) {
                  var e = t.value,
                    n = t.label,
                    i = t.icon;
                  return (
                    a(this, o),
                    { value: e, label: n + r.get("animation.fadeIn"), icon: i }
                  );
                }.bind(void 0)
              )
            ),
            u(
              m.rotateIn.map(
                function (t) {
                  var e = t.value,
                    n = t.label,
                    i = t.icon;
                  return (
                    a(this, o),
                    {
                      value: e,
                      label: n + r.get("animation.rotateIn"),
                      icon: i,
                    }
                  );
                }.bind(void 0)
              )
            )
          ),
          [].concat(
            u(
              m.fadeOut.map(
                function (t) {
                  var e = t.value,
                    n = t.label,
                    i = t.icon;
                  return (
                    a(this, o),
                    { value: e, label: n + r.get("animation.fadeOut"), icon: i }
                  );
                }.bind(void 0)
              )
            ),
            u(
              m.rotateOut.map(
                function (t) {
                  var e = t.value,
                    n = t.label,
                    i = t.icon;
                  return (
                    a(this, o),
                    {
                      value: e,
                      label: n + r.get("animation.rotateOut"),
                      icon: i,
                    }
                  );
                }.bind(void 0)
              )
            )
          );
      },
      57259: (t, e, n) => {
        "use strict";
        n(39767).register("com", {
          zh: {
            componentLoadError: "组件加载失败：",
            pageErrors: "页面的$hook方法代码注入报错:",
            componentErrors: "$component组件的$hook方法代码注入报错:",
            modelFetchError: "查询失败，数据集查询异常",
            noErrorMessage: "接口未响应错误信息，请联系运维人员处理",
            others: "其他",
            loadDelay: "延迟加载",
            confirm: "确定",
            cancel: "取消",
            emptyData: "暂无数据",
            dataInsight: "数据洞察",
            switchField: "动态切换字段",
            switchChart: "动态切换图表",
            return: "返回上级",
            event_click: "鼠标左键单击",
            event_dbclick: "鼠标左键双击",
            event_mouseIn: "鼠标移入控件",
            event_mouseOut: "鼠标移出控件",
            event_init: "控件初始化",
            event_beforeQuery: "数据开始加载",
            event_afterQuery: "数据加载完成",
            event_afterRender: "渲染完成",
            event_valueChange: "内容变化",
            event_assignment: "内容赋值",
            event_selected: "选中",
            event_cancelSelect: "取消选中",
            event_focus: "获得焦点",
            event_blur: "失去焦点",
            event_treeClose: "树节点折叠",
            event_treeOpen: "树节点展开",
            event_tabShow: "页签展开",
            event_tabHidden: "页签隐藏",
            event_warning: "告警",
            event_carousel: "轮播",
            event_onCircleQueryDatas: "范围查询",
            event_drillback: "返回",
            event_drilldown: "下钻",
            event_onSelectChange: "选项切换",
            event_onCardAction: "卡片动作服务",
          },
          en: {
            componentLoadError: "Component loading failure:",
            pageErrors: "Ingestion error of $hook method code in page:",
            componentErrors:
              "Ingestion error of $hook method code of $component",
            modelFetchError: "Query failure, data set query error",
            noErrorMessage:
              "Error information of interface no response, please contact O&M personnel",
            others: "Others",
            loadDelay: "Delayed load",
            confirm: "OK",
            cancel: "Cancel",
            emptyData: "Not data yet",
            dataInsight: "Data insight",
            switchField: "Dynamic switch of field",
            switchChart: "Dynamic switch of chart",
            return: "return",
            event_click: "鼠标左键单击",
            event_dbclick: "鼠标左键双击",
            event_mouseIn: "鼠标移入控件",
            event_mouseOut: "鼠标移出控件",
            event_init: "控件初始化",
            event_beforeQuery: "数据开始加载",
            event_afterQuery: "数据加载完成",
            event_afterRender: "渲染完成",
            event_valueChange: "内容变化",
            event_assignment: "内容赋值",
            event_selected: "选中",
            event_cancelSelect: "取消选中",
            event_focus: "获得焦点",
            event_blur: "失去焦点",
            event_treeClose: "树节点折叠",
            event_treeOpen: "树节点展开",
            event_tabShow: "页签展开",
            event_tabHidden: "页签隐藏",
            event_warning: "告警",
            event_carousel: "轮播",
            event_onCircleQueryDatas: "范围查询",
            event_drillback: "返回",
            event_drilldown: "下钻",
            event_onSelectChange: "选项切换",
            event_onCardAction: "卡片动作服务",
          },
        });
      },
      58170: (t, e, n) => {
        "use strict";
        n.d(e, { A: () => dt });
        var r = n(6044),
          i = n.n(r),
          o = n(50808),
          a = n(76521),
          s = n(64475),
          c = n(18040),
          l = n(74671),
          u = n(60008),
          f = n(73581),
          d = n(41702),
          h = n(62597),
          p = n(98322),
          m = n(99147);
        function v(t, e, n) {
          return n
            ? "".concat(t, "([").concat(e, "], '").concat(n, "')")
            : "".concat(t, "([").concat(e, "])");
        }
        function g(t, e) {
          if (t !== e)
            throw new TypeError("Cannot instantiate an arrow function");
        }
        function y(t, e, n) {
          var r = this;
          if (n) {
            var i = n.calculationType;
            if (
              ((e.calculationType = i),
              (function (t) {
                return [
                  m.A.yearOnYearValue,
                  m.A.yearOnYearRatio,
                  m.A.monthOnMonthValue,
                  m.A.monthOnMonthRatio,
                ].includes(t);
              })(i))
            ) {
              var o = n.dateColumn;
              e.dateColumnName = o;
              var a = (0, h.getColumnFormaterByColumnId)(t, o);
              e.dateFormat = d.TimeGranularity.find(
                function (t) {
                  return (
                    g(this, r), t.selectId === a.convertConfigs.timeGranularity
                  );
                }.bind(this)
              ).format;
            } else {
              var s, c, l;
              (e.partitionColumnNames = n.partitionFields.map(
                function (t) {
                  return g(this, r), t.id;
                }.bind(this)
              )),
                (e.rowOffset =
                  ((s = n.contrastItem),
                  (c = s.isUp),
                  (l = s.nValue),
                  Number("".concat(1 === c ? "-" : "").concat(l))));
            }
          }
        }
        function b(t, e) {
          var n = t.columnConfig,
            r = t.columnName,
            i = { expressionType: p.NR.COLUMN, columnName: r };
          if (n) {
            var o,
              a = n.tableCalculation,
              s = n.formular,
              c =
                null === (o = n.formater.convertConfigs) || void 0 === o
                  ? void 0
                  : o.timeGranularity;
            a
              ? (i.expressionType = p.NR.TABCAL)
              : (s || c) && (i.expressionType = p.NR.FUNCTION),
              e && y(e, i, a),
              (function (t, e, n, r) {
                var i = this;
                if (e) t.formula = v(e, r);
                else if (n) {
                  var o = d.TimeGranularity.find(
                    function (t) {
                      return g(this, i), t.selectId === n;
                    }.bind(this)
                  ).format;
                  t.formula = v(d.PolymerizationType.DATE_FORMAT, r, o);
                }
              })(i, s, c, r);
          }
          return i;
        }
        function V(t, e) {
          var n = this,
            r = [];
          if (t && t.bindColumns) {
            var i = t.bindColumns;
            (r = (function (t) {
              var e = this,
                n =
                  arguments.length > 1 && void 0 !== arguments[1]
                    ? arguments[1]
                    : [];
              if (null == n || !n.length) return t;
              var r = t
                  .map(
                    function (t, n) {
                      return g(this, e), !!t.bindFieldSetting.canDrillDown && n;
                    }.bind(this)
                  )
                  .filter(
                    function (t) {
                      return g(this, e), !1 !== t;
                    }.bind(this)
                  ),
                i = n[n.length - 1].payloadColumns;
              return i
                ? (r.forEach(
                    function (n, r) {
                      g(this, e), t.splice(n, 1, i[r]);
                    }.bind(this)
                  ),
                  t)
                : t;
            })(
              (r = (0, h.getFlatternColumns)(i).sort(
                function (t, e) {
                  return (
                    g(this, n),
                    t.columnConfig.displayOrder - e.columnConfig.displayOrder
                  );
                }.bind(this)
              )),
              e
            )),
              (r = (function (t, e) {
                var n = this;
                return e.map(
                  function (e) {
                    return (
                      g(this, n),
                      { asColumnName: e.columnId, queryExpression: b(e, t) }
                    );
                  }.bind(this)
                );
              })(t, r));
          }
          return r;
        }
        var _ = n(26150),
          w = n(93776),
          S = n(13916);
        var E = n(28379),
          A = n(17856),
          T = (function (t) {
            return (
              (t.NONE = "NONE"),
              (t.ASC = "ASC"),
              (t.DESC = "DESC"),
              (t.CUSTOM = "define"),
              t
            );
          })({}),
          O = n(71542);
        function C(t, e) {
          if (t !== e)
            throw new TypeError("Cannot instantiate an arrow function");
        }
        var P = n(50573);
        function x(t) {
          var e,
            n,
            r =
              null == t || null === (e = t.getRunTimeData) || void 0 === e
                ? void 0
                : e.call(t, "runtimingRouterId");
          if (r) {
            var i = (
                null !== (n = t.dataGetter.getData()) && void 0 !== n ? n : {}
              ).modelId,
              o = (0, h.getModelTypeByModelId)(
                t.getDataConfig().modelConfigs,
                i
              );
            P.Ay.removeRouter(r), t.setRunTimeData("runtimingRouterId", "", o);
          }
        }
        var k = n(60885),
          I = n(2678),
          j = n(83503);
        var R = n(76129),
          D = n(58450);
        function L(t) {
          return (
            (function (t) {
              if (Array.isArray(t)) return M(t);
            })(t) ||
            (function (t) {
              if (
                ("undefined" != typeof Symbol && null != t[Symbol.iterator]) ||
                null != t["@@iterator"]
              )
                return Array.from(t);
            })(t) ||
            (function (t, e) {
              if (t) {
                if ("string" == typeof t) return M(t, e);
                var n = {}.toString.call(t).slice(8, -1);
                return (
                  "Object" === n && t.constructor && (n = t.constructor.name),
                  "Map" === n || "Set" === n
                    ? Array.from(t)
                    : "Arguments" === n ||
                      /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)
                    ? M(t, e)
                    : void 0
                );
              }
            })(t) ||
            (function () {
              throw new TypeError(
                "Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."
              );
            })()
          );
        }
        function M(t, e) {
          (null == e || e > t.length) && (e = t.length);
          for (var n = 0, r = Array(e); n < e; n++) r[n] = t[n];
          return r;
        }
        function N(t, e, n) {
          var r,
            i,
            o = this;
          sfLogger.log("[RealTime Response]", t);
          var a = n.modelType,
            s = n.modelId,
            c = n.currentBatch,
            l = (0, h.getModelConfigByModelId)(
              e.getDataConfig().modelConfigs,
              s
            ).displayBatchNum,
            u = void 0 === l ? 1 : l,
            f =
              null !== (r = e.getRunTimeData("realTimeDisplayBatchQueue")) &&
              void 0 !== r
                ? r
                : [];
          if (
            (f.push({
              batch: c,
              data: null !== (i = t.data) && void 0 !== i ? i : [],
            }),
            f.length > u)
          ) {
            var d = f.length - u;
            f.splice(0, d);
          }
          e.setRunTimeData("realTimeDisplayBatchQueue", f, a);
          var p = f.reduce(
            function (t, e) {
              return (
                (function (t, e) {
                  if (t !== e)
                    throw new TypeError("Cannot instantiate an arrow function");
                })(this, o),
                [].concat(L(t), L(O.A.cloneDeep(e.data)))
              );
            }.bind(this),
            []
          );
          (t.data = p),
            sfLogger.log("[Component OriginData]", t),
            e.execHooks("afterRequest", t),
            e.dataGetter.setData([{ modelType: a, data: t }]);
        }
        function $(t, e) {
          sfLogger.error(
            "[RealTime Connect Error] - ".concat(t.getBasicConfig().name, ": "),
            e
          );
        }
        var B = (function (t) {
          return (
            (t.CreateRouter = "createRouter"),
            (t.ReplaceRouter = "replaceRouter"),
            t
          );
        })({});
        function U(t) {
          return (
            (U =
              "function" == typeof Symbol && "symbol" == typeof Symbol.iterator
                ? function (t) {
                    return typeof t;
                  }
                : function (t) {
                    return t &&
                      "function" == typeof Symbol &&
                      t.constructor === Symbol &&
                      t !== Symbol.prototype
                      ? "symbol"
                      : typeof t;
                  }),
            U(t)
          );
        }
        function F(t, e, n) {
          return (
            (e = (function (t) {
              var e = (function (t, e) {
                if ("object" != U(t) || !t) return t;
                var n = t[Symbol.toPrimitive];
                if (void 0 !== n) {
                  var r = n.call(t, e || "default");
                  if ("object" != U(r)) return r;
                  throw new TypeError(
                    "@@toPrimitive must return a primitive value."
                  );
                }
                return ("string" === e ? String : Number)(t);
              })(t, "string");
              return "symbol" == U(e) ? e : e + "";
            })(e)) in t
              ? Object.defineProperty(t, e, {
                  value: n,
                  enumerable: !0,
                  configurable: !0,
                  writable: !0,
                })
              : (t[e] = n),
            t
          );
        }
        var H = F(
          F({}, B.CreateRouter, "/realtime/createQuery"),
          B.ReplaceRouter,
          "/realtime/changeQuery"
        );
        function G(t) {
          return (
            (G =
              "function" == typeof Symbol && "symbol" == typeof Symbol.iterator
                ? function (t) {
                    return typeof t;
                  }
                : function (t) {
                    return t &&
                      "function" == typeof Symbol &&
                      t.constructor === Symbol &&
                      t !== Symbol.prototype
                      ? "symbol"
                      : typeof t;
                  }),
            G(t)
          );
        }
        function W(t, e) {
          return (
            (function (t) {
              if (Array.isArray(t)) return t;
            })(t) ||
            (function (t, e) {
              var n =
                null == t
                  ? null
                  : ("undefined" != typeof Symbol && t[Symbol.iterator]) ||
                    t["@@iterator"];
              if (null != n) {
                var r,
                  i,
                  o,
                  a,
                  s = [],
                  c = !0,
                  l = !1;
                try {
                  if (((o = (n = n.call(t)).next), 0 === e)) {
                    if (Object(n) !== n) return;
                    c = !1;
                  } else
                    for (
                      ;
                      !(c = (r = o.call(n)).done) &&
                      (s.push(r.value), s.length !== e);
                      c = !0
                    );
                } catch (t) {
                  (l = !0), (i = t);
                } finally {
                  try {
                    if (
                      !c &&
                      null != n.return &&
                      ((a = n.return()), Object(a) !== a)
                    )
                      return;
                  } finally {
                    if (l) throw i;
                  }
                }
                return s;
              }
            })(t, e) ||
            (function (t, e) {
              if (t) {
                if ("string" == typeof t) return z(t, e);
                var n = {}.toString.call(t).slice(8, -1);
                return (
                  "Object" === n && t.constructor && (n = t.constructor.name),
                  "Map" === n || "Set" === n
                    ? Array.from(t)
                    : "Arguments" === n ||
                      /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)
                    ? z(t, e)
                    : void 0
                );
              }
            })(t, e) ||
            (function () {
              throw new TypeError(
                "Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."
              );
            })()
          );
        }
        function z(t, e) {
          (null == e || e > t.length) && (e = t.length);
          for (var n = 0, r = Array(e); n < e; n++) r[n] = t[n];
          return r;
        }
        function q(t, e) {
          var n = Object.keys(t);
          if (Object.getOwnPropertySymbols) {
            var r = Object.getOwnPropertySymbols(t);
            e &&
              (r = r.filter(function (e) {
                return Object.getOwnPropertyDescriptor(t, e).enumerable;
              })),
              n.push.apply(n, r);
          }
          return n;
        }
        function X(t) {
          for (var e = 1; e < arguments.length; e++) {
            var n = null != arguments[e] ? arguments[e] : {};
            e % 2
              ? q(Object(n), !0).forEach(function (e) {
                  Y(t, e, n[e]);
                })
              : Object.getOwnPropertyDescriptors
              ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(n))
              : q(Object(n)).forEach(function (e) {
                  Object.defineProperty(
                    t,
                    e,
                    Object.getOwnPropertyDescriptor(n, e)
                  );
                });
          }
          return t;
        }
        function Y(t, e, n) {
          return (
            (e = (function (t) {
              var e = (function (t, e) {
                if ("object" != G(t) || !t) return t;
                var n = t[Symbol.toPrimitive];
                if (void 0 !== n) {
                  var r = n.call(t, e || "default");
                  if ("object" != G(r)) return r;
                  throw new TypeError(
                    "@@toPrimitive must return a primitive value."
                  );
                }
                return ("string" === e ? String : Number)(t);
              })(t, "string");
              return "symbol" == G(e) ? e : e + "";
            })(e)) in t
              ? Object.defineProperty(t, e, {
                  value: n,
                  enumerable: !0,
                  configurable: !0,
                  writable: !0,
                })
              : (t[e] = n),
            t
          );
        }
        function K(t, e) {
          if (t !== e)
            throw new TypeError("Cannot instantiate an arrow function");
        }
        var Z,
          J = { debug: !1 };
        function Q(t, e) {
          var n,
            r = this,
            i = e.apiPrefix,
            o = e.params,
            s = e.modelType,
            c = e.modelConfig,
            l = c.modelId,
            d = c.dataSet,
            h = 0,
            p = (function (t) {
              var e,
                n = t.modelId,
                r = t.contextId,
                i = t.componentId,
                o = t.queryParams,
                a = t.extra;
              try {
                e = JSON.stringify(o);
              } catch (t) {
                e = "";
              }
              return j(
                ""
                  .concat(n, "_")
                  .concat(r, "_")
                  .concat(i, "_")
                  .concat(e, "_")
                  .concat(a)
              );
            })({
              modelId: l,
              contextId: null !== (n = t.contextId) && void 0 !== n ? n : "0",
              componentId: t.id,
              queryParams: o,
              extra: "",
            });
          return new Promise(
            function (e, n) {
              var c = this;
              K(this, r);
              var m = t.getRunTimeData("runtimingRouterId");
              (async function () {
                var r = this;
                K(this, c);
                var v,
                  g = P.Ay.getScsInstanceByRouterId(m);
                if (g) {
                  if (m === p) return void n(a.f.abort);
                  v = B.ReplaceRouter;
                } else {
                  v = B.CreateRouter;
                  try {
                    g = await (0, k.A)(J);
                  } catch (e) {
                    return $(t, e), void n(e);
                  }
                }
                var y = X(
                    X(
                      {},
                      (function (t, e) {
                        var n = e.apiPrefix,
                          r = e.routerId,
                          i = e.oldRouterId,
                          o = e.wsId,
                          a = e.dataSetCategory,
                          s = e.columnQueryBean,
                          c = e.extra,
                          l = {
                            sendRouterUrl: "".concat(n).concat(H[t]),
                            routerId: r,
                            post: {
                              wsId: o,
                              dataSetCategory: a,
                              columnQueryBean: s,
                              extra: c,
                            },
                          };
                        return (
                          t === B.CreateRouter && (l.post.router = r),
                          t === B.ReplaceRouter &&
                            ((l.oldRouterId = i),
                            (l.post.newRouter = r),
                            (l.post.oldRouter = i)),
                          (0, f.b)() &&
                            (l.post = u.A.encrypt(JSON.stringify(l.post), u.M)),
                          l
                        );
                      })(v, {
                        apiPrefix: i,
                        routerId: p,
                        oldRouterId: m,
                        wsId: g.sessionId,
                        dataSetCategory: d.category,
                        columnQueryBean: o,
                        extra: "",
                      })
                    ),
                    {},
                    {
                      topic: "ue-realTimeData",
                      handler: function (e) {
                        K(this, r), h++;
                        var n = (function (t, e, n) {
                          var r,
                            i = t.content,
                            o = n.modelId,
                            a = {
                              data:
                                null !==
                                  (r = null == i ? void 0 : i.dataList) &&
                                void 0 !== r
                                  ? r
                                  : [],
                              columns: (0, R.A)(i.columns),
                            };
                          return (
                            O.A.isNumber(null == i ? void 0 : i.count) &&
                              (a.count = i.count),
                            (a.columns = (0, D.v3)(e, o, a.columns)),
                            (a.modelId = o),
                            a
                          );
                        })(e, t, { modelId: l });
                        n.data.length && (0, I.X4)(t, { modelId: l }),
                          N(n, t, {
                            modelType: s,
                            modelId: l,
                            currentBatch: h,
                          });
                      }.bind(this),
                    }
                  ),
                  b = W(g[v]([y]), 1)[0];
                try {
                  var V,
                    _ = await b;
                  if ((_ = await _.json()).messages)
                    return $(t, _.messages), void n(_);
                  (h = 1),
                    t.setRunTimeData(
                      "realTimeDisplayBatchQueue",
                      [
                        {
                          batch: h,
                          data:
                            null !== (V = _.data.dataList) && void 0 !== V
                              ? V
                              : [],
                        },
                      ],
                      s
                    ),
                    t.setRunTimeData("runtimingRouterId", p, s),
                    Z && t.deleteHook("beforeDestroy", Z),
                    (Z = function () {
                      K(this, r), x(t);
                    }.bind(this)),
                    t.addHook("beforeDestroy", Z),
                    e(_);
                } catch (e) {
                  $(t, e), n(e);
                }
              }).bind(this)();
            }.bind(this)
          );
        }
        var tt = n(28350);
        function et(t) {
          return (
            (et =
              "function" == typeof Symbol && "symbol" == typeof Symbol.iterator
                ? function (t) {
                    return typeof t;
                  }
                : function (t) {
                    return t &&
                      "function" == typeof Symbol &&
                      t.constructor === Symbol &&
                      t !== Symbol.prototype
                      ? "symbol"
                      : typeof t;
                  }),
            et(t)
          );
        }
        function nt(t, e) {
          var n =
            ("undefined" != typeof Symbol && t[Symbol.iterator]) ||
            t["@@iterator"];
          if (!n) {
            if (
              Array.isArray(t) ||
              (n = (function (t, e) {
                if (t) {
                  if ("string" == typeof t) return rt(t, e);
                  var n = {}.toString.call(t).slice(8, -1);
                  return (
                    "Object" === n && t.constructor && (n = t.constructor.name),
                    "Map" === n || "Set" === n
                      ? Array.from(t)
                      : "Arguments" === n ||
                        /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)
                      ? rt(t, e)
                      : void 0
                  );
                }
              })(t)) ||
              (e && t && "number" == typeof t.length)
            ) {
              n && (t = n);
              var r = 0,
                i = function () {};
              return {
                s: i,
                n: function () {
                  return r >= t.length
                    ? { done: !0 }
                    : { done: !1, value: t[r++] };
                },
                e: function (t) {
                  throw t;
                },
                f: i,
              };
            }
            throw new TypeError(
              "Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."
            );
          }
          var o,
            a = !0,
            s = !1;
          return {
            s: function () {
              n = n.call(t);
            },
            n: function () {
              var t = n.next();
              return (a = t.done), t;
            },
            e: function (t) {
              (s = !0), (o = t);
            },
            f: function () {
              try {
                a || null == n.return || n.return();
              } finally {
                if (s) throw o;
              }
            },
          };
        }
        function rt(t, e) {
          (null == e || e > t.length) && (e = t.length);
          for (var n = 0, r = Array(e); n < e; n++) r[n] = t[n];
          return r;
        }
        function it(t, e) {
          if (t !== e)
            throw new TypeError("Cannot instantiate an arrow function");
        }
        function ot(t, e) {
          for (var n = 0; n < e.length; n++) {
            var r = e[n];
            (r.enumerable = r.enumerable || !1),
              (r.configurable = !0),
              "value" in r && (r.writable = !0),
              Object.defineProperty(t, ft(r.key), r);
          }
        }
        function at(t, e, n) {
          return (
            (e = ct(e)),
            (function (t, e) {
              if (e && ("object" == et(e) || "function" == typeof e)) return e;
              if (void 0 !== e)
                throw new TypeError(
                  "Derived constructors may only return object or undefined"
                );
              return (function (t) {
                if (void 0 === t)
                  throw new ReferenceError(
                    "this hasn't been initialised - super() hasn't been called"
                  );
                return t;
              })(t);
            })(
              t,
              st()
                ? Reflect.construct(e, n || [], ct(t).constructor)
                : e.apply(t, n)
            )
          );
        }
        function st() {
          try {
            var t = !Boolean.prototype.valueOf.call(
              Reflect.construct(Boolean, [], function () {})
            );
          } catch (t) {}
          return (st = function () {
            return !!t;
          })();
        }
        function ct(t) {
          return (
            (ct = Object.setPrototypeOf
              ? Object.getPrototypeOf.bind()
              : function (t) {
                  return t.__proto__ || Object.getPrototypeOf(t);
                }),
            ct(t)
          );
        }
        function lt(t, e) {
          return (
            (lt = Object.setPrototypeOf
              ? Object.setPrototypeOf.bind()
              : function (t, e) {
                  return (t.__proto__ = e), t;
                }),
            lt(t, e)
          );
        }
        function ut(t, e, n) {
          return (
            (e = ft(e)) in t
              ? Object.defineProperty(t, e, {
                  value: n,
                  enumerable: !0,
                  configurable: !0,
                  writable: !0,
                })
              : (t[e] = n),
            t
          );
        }
        function ft(t) {
          var e = (function (t, e) {
            if ("object" != et(t) || !t) return t;
            var n = t[Symbol.toPrimitive];
            if (void 0 !== n) {
              var r = n.call(t, e || "default");
              if ("object" != et(r)) return r;
              throw new TypeError(
                "@@toPrimitive must return a primitive value."
              );
            }
            return ("string" === e ? String : Number)(t);
          })(t, "string");
          return "symbol" == et(e) ? e : e + "";
        }
        var dt = (function (t) {
          function e(t, n, r) {
            var o;
            !(function (t, e) {
              if (!(t instanceof e))
                throw new TypeError("Cannot call a class as a function");
            })(this, e);
            var a = n.modelId,
              s = n.modelType;
            return (
              ut((o = at(this, e)), "modelType", void 0),
              ut(o, "component", void 0),
              ut(o, "comConfig", void 0),
              ut(o, "modelConfig", void 0),
              ut(o, "eventFilterParams", void 0),
              ut(o, "queryParams", {
                columns: [],
                queryType: l.d.POLYMERIZATION,
                queryChannel: "UX",
                doCount: !1,
              }),
              ut(o, "historyEventFilterParams", void 0),
              ut(o, "modelDataSet", void 0),
              (o.modelType = s),
              (o.component = t),
              (o.comConfig = t.config),
              (o.modelConfig = i()(
                (0, h.getModelConfigByModelId)(
                  o.comConfig.dataConfig.modelConfigs,
                  a
                )
              )),
              (o.modelDataSet = o.modelConfig.dataSet),
              (o.eventFilterParams = r),
              (o.historyEventFilterParams =
                t.getRunTimeData("historyEventFilterParams") || {}),
              o
            );
          }
          return (
            (function (t, e) {
              if ("function" != typeof e && null !== e)
                throw new TypeError(
                  "Super expression must either be null or a function"
                );
              (t.prototype = Object.create(e && e.prototype, {
                constructor: { value: t, writable: !0, configurable: !0 },
              })),
                Object.defineProperty(t, "prototype", { writable: !1 }),
                e && lt(t, e);
            })(e, t),
            (r = e),
            (d = [
              {
                key: "perfectUpdateModelParams",
                value: async function (t, e, n) {
                  var r = [];
                  if (!t) return r;
                  if (Array.isArray(n) && n.length) {
                    var i,
                      o = nt(n);
                    try {
                      var a = async function () {
                        var n,
                          o,
                          a = this,
                          s = i.value;
                        if (
                          s.modelId ||
                          !t[s.modelType] ||
                          (0, h.judgeBindColumnsIsEmpty)(
                            null === (n = t[s.modelType]) || void 0 === n
                              ? void 0
                              : n[0]
                          )
                        )
                          s.modelId && !s.modelType
                            ? Object.keys(t).forEach(
                                function (e) {
                                  var n = this;
                                  it(this, a);
                                  var i = t[e];
                                  (0, h.judgeBindColumnsIsEmpty)(
                                    null == i ? void 0 : i[0]
                                  ) ||
                                    i.forEach(
                                      function (t) {
                                        it(this, n),
                                          t.modelId === s.modelId &&
                                            r.push({
                                              modelType: e,
                                              modelId: s.modelId,
                                            });
                                      }.bind(this)
                                    );
                                }.bind(this)
                              )
                            : s.modelId &&
                              s.modelType &&
                              !(0, h.judgeBindColumnsIsEmpty)(
                                null === (o = t[s.modelType]) || void 0 === o
                                  ? void 0
                                  : o[0]
                              ) &&
                              t[s.modelType].forEach(
                                function (t) {
                                  it(this, a),
                                    t.modelId === s.modelId &&
                                      r.push({
                                        modelType: s.modelType,
                                        modelId: s.modelId,
                                      });
                                }.bind(this)
                              );
                        else {
                          var c = (0, h.getEffectModelId)(t[s.modelType]);
                          if (c)
                            return (
                              r.push({ modelType: s.modelType, modelId: c }), 1
                            );
                          var l = await (0, h.getModelConfigFromModelUserMap)(
                            t,
                            e,
                            s.modelType
                          );
                          l &&
                            r.push({
                              modelType: s.modelType,
                              modelId: l.modelId,
                            });
                        }
                      };
                      for (o.s(); !(i = o.n()).done; ) await a();
                    } catch (t) {
                      o.e(t);
                    } finally {
                      o.f();
                    }
                    return r;
                  }
                  for (var c = Object.keys(t), l = 0; l < c.length; l++) {
                    var u,
                      f,
                      d = c[l];
                    if (
                      !(0, h.judgeBindColumnsIsEmpty)(
                        null === (u = t[d]) || void 0 === u ? void 0 : u[0]
                      )
                    ) {
                      var p =
                        null === (f = t[d][0]) || void 0 === f
                          ? void 0
                          : f.modelId;
                      if ("runtime" === s.o9.Runtime) {
                        var m = (0, h.getEffectModelId)(t[d]);
                        if (m) p = m;
                        else {
                          var v = await (0, h.getModelConfigFromModelUserMap)(
                            t,
                            e,
                            d
                          );
                          v && (p = v.modelId);
                        }
                      }
                      r.push({ modelType: d, modelId: p });
                    }
                  }
                  return r;
                },
              },
              {
                key: "setEffectModel",
                value: function (t, e) {
                  for (var n = Object.keys(t), r = 0; r < e.length; r++) {
                    var i = e[r],
                      o = i.modelId,
                      a = i.modelType;
                    if (o)
                      if (o && a) (0, h.setEffectModelByModelId)(t[a], o);
                      else if (o) {
                        var s,
                          c = nt(n);
                        try {
                          for (c.s(); !(s = c.n()).done; ) {
                            var l = s.value;
                            (0, h.setEffectModelByModelId)(t[l], o);
                          }
                        } catch (t) {
                          c.e(t);
                        } finally {
                          c.f();
                        }
                      }
                  }
                },
              },
            ]),
            (o = [
              {
                key: "buildQueryParams",
                value: async function () {
                  return (
                    this.buildId(),
                    (this.queryParams.queryType =
                      this.modelConfig.dataProcessMethod),
                    this.buildTopN(),
                    this.buildColumns(),
                    await this.buildConditionFiltersParams(),
                    await this.buildResultFiltersParams(),
                    this.buildSortsParams(),
                    this.buildCustomParams(),
                    this.queryParams
                  );
                },
              },
              {
                key: "buildId",
                value: function () {
                  (0, h.checkIsDataIndex)(this.modelDataSet)
                    ? (this.queryParams.indexId = this.modelDataSet.datasetId)
                    : (0, h.checkIsPhysicalIndex)(this.modelDataSet)
                    ? ((this.queryParams.indexId = this.modelDataSet.datasetId),
                      (this.queryParams.indexPhysical = !0))
                    : (this.queryParams.dataSetId =
                        this.modelDataSet.datasetId);
                },
              },
              {
                key: "buildTopN",
                value: function () {
                  var t = this.queryParams,
                    e = this.modelConfig,
                    n = e.topNNum,
                    r = e.topNType;
                  if ("number" != typeof n)
                    return delete t.topNPosition, void delete t.limit;
                  (t.topNPosition = r === l._.prev), (t.limit = n);
                },
              },
              {
                key: "buildColumns",
                value: function () {
                  var t = this.component.getRunTimeData("drillDownFilterList"),
                    e = V(this.modelConfig, t);
                  this.queryParams.columns = e;
                },
              },
              {
                key: "buildConditionFiltersParams",
                value: async function () {
                  this.eventFilterParams ||
                    (this.eventFilterParams = {
                      condition: { relation: "AND", children: [] },
                      isSave: !0,
                    });
                  var t = await (0, _.A)(
                    this.modelConfig,
                    this.component,
                    this.eventFilterParams,
                    this.historyEventFilterParams,
                    this.queryParams.columns
                  );
                  t &&
                    "{}" !== JSON.stringify(t) &&
                    (this.queryParams.conditionFilters = t),
                    "runtime" === s.o9.Runtime &&
                      (this.component.setRunTimeData(
                        "historyEventFilterParams",
                        t
                      ),
                      (this.historyEventFilterParams = t));
                },
              },
              {
                key: "buildResultFiltersParams",
                value: async function () {
                  var t = (0, w.Ay)(this.modelConfig, this.queryParams);
                  if ((0, S.vk)()) {
                    var e = await (0, w.L_)(
                      this.eventFilterParams,
                      this.queryParams.columns,
                      this.component
                    );
                    t = (0, A.A)([t, e]);
                  }
                  t && (this.queryParams.resultFilter = t);
                },
              },
              {
                key: "buildSortsParams",
                value: function () {
                  var t = (function (t, e) {
                    var n = this,
                      r = (0, h.getFlatternColumns)(t.bindColumns);
                    if (!r) return null;
                    var i = r
                      .map(
                        function (t) {
                          var r = this;
                          C(this, n);
                          var i = t.columnId,
                            o = t.columnConfig,
                            a = null == o ? void 0 : o.sort,
                            s = O.A.cloneDeep(
                              e.columns.find(
                                function (t) {
                                  return C(this, r), t.asColumnName === i;
                                }.bind(this)
                              )
                            );
                          if (a && s) {
                            delete o.sort;
                            var c = {
                              column: s,
                              sortType: a.type,
                              level: a.level,
                            };
                            return (
                              a.type === T.CUSTOM &&
                                ((c.values = a.value), (c.sortType = T.ASC)),
                              c
                            );
                          }
                          return null;
                        }.bind(this)
                      )
                      .filter(
                        function (t) {
                          return C(this, n), t && t.sortType !== T.NONE;
                        }.bind(this)
                      );
                    return i.length
                      ? i
                          .sort(
                            function (t, e) {
                              return C(this, n), t.level - e.level;
                            }.bind(this)
                          )
                          .map(
                            function (t) {
                              return C(this, n), delete t.level, t;
                            }.bind(this)
                          )
                      : null;
                  })(this.modelConfig, this.queryParams);
                  t && (this.queryParams.sort = t);
                },
              },
              {
                key: "buildCustomParams",
                value: function () {
                  var t = this,
                    e = this.modelConfig.customParameters;
                  e &&
                    (this.queryParams.paramIdValueMap = e.reduce(
                      function (e, n) {
                        it(this, t);
                        var r = n.varName,
                          i = n.defaultValue;
                        return (e[r] = { values: [i] }), e;
                      }.bind(this),
                      {}
                    ));
                },
              },
              {
                key: "query",
                value: function () {
                  var t = this;
                  return new Promise(
                    function (e, r) {
                      var i = this;
                      it(this, t);
                      var o,
                        s,
                        l = this.queryParams,
                        d = this.component.getBasicConfig().name,
                        h = (o = this.component).contextId
                          ? "".concat(o.contextId, "-").concat(o.id)
                          : o.id,
                        p = (0, S.bv)(this.component),
                        m = (0, S.hQ)(this.component);
                      if (
                        (E.A.isPerformanceMode &&
                          E.A.signLogHead(h, {
                            title: "".concat(h, "   ").concat(d, "-数据查询："),
                            startTime:
                              new Date().getTime() - n.g.SF.clientCurrentTime,
                            status: !1,
                          }),
                        (0, tt.Ay)(this.modelDataSet))
                      )
                        s = Q(this.component, {
                          apiPrefix: p,
                          params: l,
                          modelType: this.modelType,
                          modelConfig: this.modelConfig,
                        });
                      else {
                        x(this.component);
                        var v = l;
                        (0, f.b)() && (v = u.A.encrypt(JSON.stringify(l), u.M)),
                          (s = a.A.post(
                            ""
                              .concat(m)
                              .concat(c.Ay.AE_MANAGE_BIZ, "/dataQuery?id=")
                              .concat(h),
                            v,
                            h
                          ));
                      }
                      s.then(
                        function (t) {
                          it(this, i),
                            E.A.isPerformanceMode &&
                              E.A.signLogTail(h, { status: !0 }),
                            e(t);
                        }.bind(this)
                      ).catch(
                        function (t) {
                          it(this, i),
                            sfLogger.message(
                              "Query-Info: \r\n[\r\nComponent : {name: "
                                .concat(d, ", id:")
                                .concat(h, "},\r\nType: "),
                              t,
                              ",\r\nParams: ",
                              l,
                              "\r\n]"
                            ),
                            r(t);
                        }.bind(this)
                      );
                    }.bind(this)
                  );
                },
              },
            ]) && ot(r.prototype, o),
            d && ot(r, d),
            Object.defineProperty(r, "prototype", { writable: !1 }),
            r
          );
          var r, o, d;
        })(o.Ay);
      },
      58450: (t, e, n) => {
        "use strict";
        n.d(e, {
          Cc: () => o,
          Gx: () => l,
          P1: () => a,
          Qn: () => s,
          Xi: () => u,
          v3: () => c,
        });
        var r = n(62597),
          i = n(19481);
        function o(t, e) {
          const n = Math.random().toString().replace(/\./, "");
          return {
            columnId: `fake-id-${n}`,
            columnName: t || `fake-name-${n}`,
            columnType: "DIMENSION",
          };
        }
        function a(t, e) {
          const n = Math.random().toString().replace(/\./, "");
          return {
            columnId: `fake-id-${n}`,
            columnName: t || `fake-name-${n}`,
            columnType: "MEASURE",
          };
        }
        function s(t, e) {
          if (t.columnId === e) return t;
          const n = t.children.length;
          if (!n) return null;
          for (let r = 0; r < n; r++) {
            const n = s(t.children[r], e);
            if (n) return n;
          }
          return null;
        }
        function c(t, e, n) {
          if (!t.config) return;
          const i = (0, r.getModelConfigByModelId)(
            t.config.dataConfig.modelConfigs,
            e
          );
          return (
            (n = n?.map((t) => {
              let e = {};
              return (
                Object.keys(i.bindColumns).forEach((n) => {
                  i.bindColumns[n].forEach((r) => {
                    const i = s(r, t.columnId);
                    i && (e = { ...t, ...i, bindFieldName: n });
                  });
                }),
                e
              );
            })),
            n
          );
        }
        function l(t, e) {
          const { columns: n } = e;
          return n.map((e, n) => ((e.bindFieldName = t[n] ?? t[1]), e)), e;
        }
        function u(t) {
          if (!t || !t.length || t.length > 1) return t;
          const e = t[0];
          if (!e || !e.length || !(0, i.vG)(e)) return t;
          const n = Object.keys(e[0])
              .map((t) => !!/^value(\d+)$/.test(t) && Number(RegExp.$1))
              .filter((t) => !1 !== t)
              .sort(),
            r = [];
          for (let t = n.length + 1; t > 0; t--) r.push([]);
          return (
            e.forEach((t) => {
              const e = {};
              void 0 !== t.value && (e.value = t.value),
                void 0 !== t.x && (e.x = t.x),
                void 0 !== t.y && (e.y = t.y),
                void 0 !== t.legend && (e.legend = t.legend),
                r[0].push(e),
                n.forEach((e) => {
                  r[e - 1].push(t[`value${e}`]);
                });
            }),
            r
          );
        }
      },
      60414: function (t) {
        t.exports = (function () {
          "use strict";
          function t(t, e, n) {
            for (var r = 0; r < n.length; r++)
              t.setUint8(e + r, n.charCodeAt(r));
          }
          function e(e, n, r) {
            var i = (function (e, n, r, i) {
              var o = e.reduce(function (t, e) {
                  return t + e.byteLength;
                }, 0),
                a = new ArrayBuffer(44 + o),
                s = new DataView(a),
                c = r,
                l = 0;
              return (
                t(s, l, "RIFF"),
                (l += 4),
                s.setUint32(l, 36 + o, !0),
                t(s, (l += 4), "WAVE"),
                t(s, (l += 4), "fmt "),
                (l += 4),
                s.setUint32(l, 16, !0),
                (l += 4),
                s.setUint16(l, 1, !0),
                (l += 2),
                s.setUint16(l, c, !0),
                (l += 2),
                s.setUint32(l, n, !0),
                (l += 4),
                s.setUint32(l, c * n * (i / 8), !0),
                (l += 4),
                s.setUint16(l, c * (i / 8), !0),
                (l += 2),
                s.setUint16(l, i, !0),
                t(s, (l += 2), "data"),
                (l += 4),
                s.setUint32(l, o, !0),
                (l += 4),
                e.forEach(function (t) {
                  for (
                    var e = new DataView(t.buffer), n = 0;
                    n < t.byteLength;

                  )
                    s.setUint8(l, e.getUint8(n)), l++, n++;
                }),
                s
              );
            })(e, n || 16e3, 1, r || 16);
            return new Blob([i], { type: "audio/wav" });
          }
          return (function () {
            function t(t) {
              (this.toSampleRate = 22050),
                (this.resumePlayDuration = 1e3),
                (this.fromSampleRate = 16e3),
                (this.isAudioDataEnded = !1),
                (this.status = "uninit"),
                (this.audioDatas = []),
                (this.pcmAudioDatas = []),
                (this.audioDataOffset = 0);
              const e = "/sdcue/ux/runner/static/js/processor.worker.js";
              this.processor = new Worker(e);
            }
            return (
              (t.prototype.postMessage = function (t) {
                var e = t.type,
                  n = t.data,
                  r = t.isLastData;
                "uninit" !== this.status &&
                  (this.processor.postMessage({ type: e, data: n }),
                  (this.isAudioDataEnded = r));
              }),
              (t.prototype.playAudio = function () {
                var t = this;
                if ((clearTimeout(this.playAudioTime), this.audioContext)) {
                  for (
                    var e = 0, n = this.audioDataOffset;
                    n < this.audioDatas.length;
                    n++
                  )
                    e += this.audioDatas[n].length;
                  if (!e)
                    return void (
                      "play" === this.status &&
                      (this.isAudioDataEnded || this.resumePlayDuration <= 0
                        ? this.stop()
                        : (this.playAudioTime = setTimeout(function () {
                            t.playAudio();
                          }, this.resumePlayDuration)))
                    );
                  for (
                    var r = this.audioContext.createBuffer(
                        1,
                        e,
                        this.toSampleRate
                      ),
                      i = r.getChannelData(0),
                      o = this.audioDatas[this.audioDataOffset],
                      a = 0;
                    o;

                  ) {
                    if (((this.audioDataOffset += 1), r.copyToChannel))
                      r.copyToChannel(o, 0, a), (a += o.length);
                    else for (n = 0; n < o.length; n++) i[n] = o[n];
                    o = this.audioDatas[this.audioDataOffset];
                  }
                  var s = this.audioContext.createBufferSource();
                  (this.bufferSource = s),
                    (s.buffer = r),
                    s.connect(this.audioContext.destination),
                    s.start(),
                    (s.onended = function (e) {
                      "play" === t.status &&
                        (t.audioDatas.length
                          ? t.playAudio()
                          : t.isAudioDataEnded || t.resumePlayDuration <= 0
                          ? t.stop()
                          : (t.playAudioTime = setTimeout(function () {
                              t.playAudio();
                            }, t.resumePlayDuration)));
                    });
                }
              }),
              (t.prototype.reset = function () {
                var t;
                (this.processor.onmessage = null),
                  (this.audioDataOffset = 0),
                  (this.audioDatas = []),
                  (this.pcmAudioDatas = []),
                  (this.status = "uninit"),
                  (this.isAudioDataEnded = !1),
                  clearTimeout(this.playAudioTime);
                try {
                  null === (t = this.bufferSource) || void 0 === t || t.stop();
                } catch (t) {
                  console.log(t);
                }
              }),
              (t.prototype.start = function (t) {
                var e = this,
                  n = void 0 === t ? {} : t,
                  r = n.autoPlay,
                  i = void 0 === r || r,
                  o = n.sampleRate,
                  a = void 0 === o ? 16e3 : o,
                  s = n.resumePlayDuration,
                  c = void 0 === s ? 1e3 : s;
                this.reset(),
                  (this.status = "init"),
                  (this.resumePlayDuration = c);
                var l = a,
                  u = Math.max(l, 22050);
                (u = Math.min(u, 96e3)),
                  (this.fromSampleRate = l),
                  (this.toSampleRate = u),
                  this.processor.postMessage({
                    type: "init",
                    data: { fromSampleRate: l, toSampleRate: u },
                  }),
                  (this.processor.onmessage = function (t) {
                    var n = t.data,
                      r = n.audioData,
                      o = n.pcmAudioData;
                    e.audioDatas.push(r),
                      e.pcmAudioDatas.push(o),
                      1 === e.audioDatas.length &&
                        i &&
                        "init" === e.status &&
                        e.play();
                  });
              }),
              (t.prototype.play = function () {
                var t;
                this.audioContext ||
                  ((this.audioContext = new (window.AudioContext ||
                    window.webkitAudioContext)()),
                  this.audioContext.resume()),
                  this.audioContext &&
                    ((this.status = "play"),
                    null === (t = this.onPlay) || void 0 === t || t.call(this),
                    this.playAudio());
              }),
              (t.prototype.stop = function () {
                var t, e;
                (this.audioDataOffset = 0),
                  (this.status = "stop"),
                  clearTimeout(this.playAudioTime);
                try {
                  null === (t = this.bufferSource) || void 0 === t || t.stop(),
                    null === (e = this.onStop) ||
                      void 0 === e ||
                      e.call(this, this.audioDatas);
                } catch (t) {
                  console.log(t);
                }
              }),
              (t.prototype.getAudioDataBlob = function (t) {
                var n, r;
                if (
                  null === (n = this.pcmAudioDatas) || void 0 === n
                    ? void 0
                    : n.length
                )
                  return "wav" === t
                    ? e(this.pcmAudioDatas, this.fromSampleRate, 16)
                    : ((r = this.pcmAudioDatas),
                      new Blob(r, { type: "audio/pcm" }));
              }),
              t
            );
          })();
        })();
      },
      60885: (t, e, n) => {
        "use strict";
        n.d(e, { A: () => o });
        var r = n(50573),
          i = n(18040);
        function o(t) {
          var e,
            o,
            a,
            s,
            c,
            l = {
              host:
                null !== (e = t.host) && void 0 !== e
                  ? e
                  : ""
                      .concat(n.g.location.host)
                      .concat(i.Ay.MESSAGE_CENTER_SERVER),
              token:
                null !== (o = t.token) && void 0 !== o
                  ? o
                  : n.g.localStorage.getItem("ue_token"),
              account:
                null !== (a = t.account) && void 0 !== a
                  ? a
                  : n.g.localStorage.getItem("account"),
              debug: null !== (s = t.debug) && void 0 !== s && s,
              userId:
                null !== (c = t.userId) && void 0 !== c
                  ? c
                  : n.g.localStorage.getItem("userId"),
            };
          return r.Ay.getSCS(l);
        }
        n.g.SCSPool = n.g.SCSPool || r.Ay;
      },
      61888: (t, e, n) => {
        "use strict";
        n.d(e, { A: () => i });
        var r = 0;
        function i() {
          return ++r;
        }
      },
      62597: (t, e, n) => {
        "use strict";
        n.r(e),
          n.d(e, {
            checkIsDataIndex: () => y,
            checkIsPhysicalIndex: () => b,
            collectSimilarColumns: () => X,
            copyDataConfig: () => H,
            diffBindComponents: () => Z,
            flatternChildColumns: () => E,
            forEachBindComponents: () => tt,
            getBindComponentIds: () => K,
            getBindPosition: () => T,
            getCellUnit: () => $,
            getCellValue: () => N,
            getColumnByColumnId: () => j,
            getColumnConfigByColumnId: () => R,
            getColumnFormaterByColumnId: () => D,
            getColumnResultFilterByColumnId: () => M,
            getColumnTableCalculationByColumnId: () => L,
            getConditionFilterConfigByModelId: () => P,
            getCurrentWarningRenders: () => U,
            getDefaultDataProcessMethod: () => q,
            getDefaultModelConfig: () => et,
            getDimensionGradeColumn: () => F,
            getEffectModelColumns: () => st,
            getEffectModelConfigIndexByModelId: () => w,
            getEffectModelId: () => G,
            getFlatternColumns: () => A,
            getModelBindColumns: () => k,
            getModelConfigByModelId: () => _,
            getModelConfigFromModelUserMap: () => O,
            getModelDataSetByModelId: () => x,
            getModelHandleConfigs: () => z,
            getModelTypeByModelId: () => S,
            getNullDataHandleWay: () => lt,
            getRelativeModelComponentId: () => wt,
            getVariationName: () => yt,
            getWarningRenderIdsByModelId: () => C,
            hasRelativeModelComponentId: () => _t,
            isSpaceDataSet: () => V,
            judgeBindColumnsIsEmpty: () => B,
            modelConfigFactory: () => I,
            setEffectModelByModelId: () => W,
            updateRelativeModelComponentIds: () => Vt,
          });
        var r = n(71542),
          i = n(74671),
          o = n(71308),
          a = n(41702),
          s = n(43488),
          c = n(28350),
          l = n(12211);
        function u(t) {
          return (
            (u =
              "function" == typeof Symbol && "symbol" == typeof Symbol.iterator
                ? function (t) {
                    return typeof t;
                  }
                : function (t) {
                    return t &&
                      "function" == typeof Symbol &&
                      t.constructor === Symbol &&
                      t !== Symbol.prototype
                      ? "symbol"
                      : typeof t;
                  }),
            u(t)
          );
        }
        var f = void 0;
        function d(t, e) {
          var n = Object.keys(t);
          if (Object.getOwnPropertySymbols) {
            var r = Object.getOwnPropertySymbols(t);
            e &&
              (r = r.filter(function (e) {
                return Object.getOwnPropertyDescriptor(t, e).enumerable;
              })),
              n.push.apply(n, r);
          }
          return n;
        }
        function h(t) {
          for (var e = 1; e < arguments.length; e++) {
            var n = null != arguments[e] ? arguments[e] : {};
            e % 2
              ? d(Object(n), !0).forEach(function (e) {
                  p(t, e, n[e]);
                })
              : Object.getOwnPropertyDescriptors
              ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(n))
              : d(Object(n)).forEach(function (e) {
                  Object.defineProperty(
                    t,
                    e,
                    Object.getOwnPropertyDescriptor(n, e)
                  );
                });
          }
          return t;
        }
        function p(t, e, n) {
          return (
            (e = (function (t) {
              var e = (function (t, e) {
                if ("object" != u(t) || !t) return t;
                var n = t[Symbol.toPrimitive];
                if (void 0 !== n) {
                  var r = n.call(t, e || "default");
                  if ("object" != u(r)) return r;
                  throw new TypeError(
                    "@@toPrimitive must return a primitive value."
                  );
                }
                return ("string" === e ? String : Number)(t);
              })(t, "string");
              return "symbol" == u(e) ? e : e + "";
            })(e)) in t
              ? Object.defineProperty(t, e, {
                  value: n,
                  enumerable: !0,
                  configurable: !0,
                  writable: !0,
                })
              : (t[e] = n),
            t
          );
        }
        function m(t) {
          return (
            (function (t) {
              if (Array.isArray(t)) return v(t);
            })(t) ||
            (function (t) {
              if (
                ("undefined" != typeof Symbol && null != t[Symbol.iterator]) ||
                null != t["@@iterator"]
              )
                return Array.from(t);
            })(t) ||
            (function (t, e) {
              if (t) {
                if ("string" == typeof t) return v(t, e);
                var n = {}.toString.call(t).slice(8, -1);
                return (
                  "Object" === n && t.constructor && (n = t.constructor.name),
                  "Map" === n || "Set" === n
                    ? Array.from(t)
                    : "Arguments" === n ||
                      /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)
                    ? v(t, e)
                    : void 0
                );
              }
            })(t) ||
            (function () {
              throw new TypeError(
                "Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."
              );
            })()
          );
        }
        function v(t, e) {
          (null == e || e > t.length) && (e = t.length);
          for (var n = 0, r = Array(e); n < e; n++) r[n] = t[n];
          return r;
        }
        function g(t, e) {
          if (t !== e)
            throw new TypeError("Cannot instantiate an arrow function");
        }
        function y(t) {
          return Boolean(
            (null == t ? void 0 : t.from) === a.DATA_MODEL_FROM.DATA_INDEX
          );
        }
        function b(t) {
          return Boolean(
            (null == t ? void 0 : t.from) === a.DATA_MODEL_FROM.PHYSICAL_INDEX
          );
        }
        function V(t) {
          return "UNKNOWN" !== t.geoType;
        }
        function _(t, e) {
          var n = this;
          if (!t || !e) return null;
          if (r.A.isArray(t))
            return t.find(
              function (t) {
                return g(this, n), t.modelId === e;
              }.bind(this)
            );
          for (var i in t)
            return (
              t[i] &&
              t[i].find(
                function (t) {
                  return g(this, n), t.modelId === e;
                }.bind(this)
              )
            );
          return null;
        }
        function w(t, e) {
          var n = this,
            i = 0;
          if (!t || !e) return i;
          if (r.A.isArray(t))
            return (
              t.forEach(
                function (t, r) {
                  g(this, n), t.modelId === e && (i = r);
                }.bind(this)
              ),
              i
            );
          for (var o in t)
            t[o] &&
              t[o].forEach(
                function (t, r) {
                  g(this, n), t.modelId === e && (i = r);
                }.bind(this)
              );
          return i;
        }
        function S(t, e) {
          var n = this,
            r = a.CONST_DEFAULT_MODEL_TYPE;
          if (!t || !e) return r;
          for (var i in t) {
            var o;
            if (
              (null !== (o = t[i]) && void 0 !== o ? o : []).find(
                function (t) {
                  return g(this, n), t.modelId === e;
                }.bind(this)
              )
            ) {
              r = i;
              break;
            }
          }
          return r;
        }
        function E(t) {
          var e,
            n =
              arguments.length > 1 && void 0 !== arguments[1]
                ? arguments[1]
                : [];
          return null != t && t.columnId
            ? (n.push(t),
              E(
                null == t || null === (e = t.children) || void 0 === e
                  ? void 0
                  : e[0],
                n
              ))
            : n;
        }
        function A(t) {
          var e = this,
            n = arguments.length > 1 && void 0 !== arguments[1] && arguments[1];
          return t
            ? Object.values(t).reduce(
                function (t, r) {
                  var i = this;
                  g(this, e);
                  var o = r;
                  return (
                    n &&
                      (o = r.reduce(
                        function (t, e) {
                          return g(this, i), t.push.apply(t, m(E(e))), t;
                        }.bind(this),
                        []
                      )),
                    t.push.apply(t, m(o)),
                    t
                  );
                }.bind(this),
                []
              )
            : [];
        }
        function T(t, e, n) {
          var r,
            i,
            o,
            a = this;
          if (
            ((n =
              null != n
                ? n
                : (null !== (r = t.dataGetter.getData()) && void 0 !== r
                    ? r
                    : {}
                  ).modelId),
            (e = null != e ? e : t.id),
            !n)
          )
            return null;
          var s = (
            null !==
              (i = _(
                null === (o = t.getDataConfig()) || void 0 === o
                  ? void 0
                  : o.modelConfigs,
                n
              )) && void 0 !== i
              ? i
              : {}
          ).positions;
          return (void 0 === s ? [] : s).find(
            function (t) {
              var n = t.componentId;
              return g(this, a), n === e;
            }.bind(this)
          );
        }
        async function O(t, e) {
          var n =
              arguments.length > 2 && void 0 !== arguments[2]
                ? arguments[2]
                : a.CONST_DEFAULT_MODEL_TYPE,
            i = t[n];
          if (!i) return null;
          var o = r.A.get(e, "".concat(n, ".maps")),
            c = r.A.get(e, "".concat(n, ".defaultModelId")),
            u = await (0, l.Y)();
          if (o && o.length)
            for (var f = 0; f < o.length; f++) {
              var d = o[f],
                h = u(d.systemVar.data.split(".").slice(1)),
                p = d.condition,
                m = { key: d.userCondition, operater: p, value: h };
              (0, s.Ic)(m) && (c = d.modelId);
            }
          return c || (c = i[0].modelId), _(t, c);
        }
        function C(t, e) {
          return _(t, e).warningRenderIds;
        }
        function P(t, e) {
          return _(t, e).conditionFilter;
        }
        function x(t, e) {
          return _(t, e).dataSet;
        }
        function k(t, e) {
          return e ? _(t, e).bindColumns : {};
        }
        function I(t, e) {
          var n = e.dataSet,
            r = e.dataProcessMethod,
            a = e.conditionFilter;
          return {
            modelId: (0, o.A)(),
            modelName: t,
            dataProcessMethod: r,
            dataSet: n,
            conditionFilter: a,
            bindColumns: {},
            topNType: i._.prev,
          };
        }
        function j(t, e) {
          var n = this,
            r = A((t && t.bindColumns) || {}, !0).find(
              function (t) {
                return g(this, n), t.columnId === e;
              }.bind(this)
            );
          return r || null;
        }
        function R(t, e) {
          var n;
          return null === (n = j(t, e)) || void 0 === n
            ? void 0
            : n.columnConfig;
        }
        function D(t, e) {
          var n;
          return null === (n = R(t, e)) || void 0 === n ? void 0 : n.formater;
        }
        function L(t, e) {
          var n;
          return null === (n = R(t, e)) || void 0 === n
            ? void 0
            : n.tableCalculation;
        }
        function M(t, e) {
          var n;
          return null === (n = R(t, e)) || void 0 === n
            ? void 0
            : n.resultFilter;
        }
        var N = function (t) {
          var e =
              arguments.length > 1 && void 0 !== arguments[1]
                ? arguments[1]
                : 0,
            n = arguments.length > 2 ? arguments[2] : void 0;
          g(this, f);
          var r = n.data;
          return r && 0 !== r.length && r[e]
            ? t < 0 || e < 0 || e > r.length || t > r[e].length
              ? ""
              : r[e][t]
            : "";
        }.bind(void 0);
        function $(t, e) {
          var n,
            i =
              null === (n = e.columns[t]) || void 0 === n ? void 0 : n.getUnit;
          return r.A.isFunction(i) ? i() : "";
        }
        var B = function (t) {
          return (
            g(this, f), Boolean(!A(null == t ? void 0 : t.bindColumns).length)
          );
        }.bind(void 0);
        function U(t, e) {
          var n = this;
          return r.A.isEmpty(t) || e
            ? (null != e ? e : []).reduce(
                function (e, r) {
                  var i = this;
                  g(this, n);
                  var o = t.find(
                    function (t) {
                      return g(this, i), t.id === r;
                    }.bind(this)
                  );
                  return o && e.push(o), e;
                }.bind(this),
                []
              )
            : t;
        }
        function F(t, e) {
          var n = this,
            r = arguments.length > 2 && void 0 !== arguments[2] && arguments[2],
            i = k(t, e),
            o = Object.values(i)
              .filter(
                function (t) {
                  var e = this;
                  return (
                    g(this, n),
                    t.find(
                      function (t) {
                        return g(this, e), t.bindFieldSetting.canDrillDown;
                      }.bind(this)
                    )
                  );
                }.bind(this)
              )
              .map(
                function (t) {
                  return g(this, n), t[0];
                }.bind(this)
              );
          return r ? o : o[0];
        }
        function H(t, e) {
          var n = this,
            i = r.A.get(t, "config.dataConfig");
          if (r.A.isEmpty(i)) return i;
          var o = i.relativeModelComponentId;
          if (o) {
            var a = Object.values(e).map(
              function (t) {
                return g(this, n), t.id;
              }.bind(this)
            );
            i.relativeModelComponentId = o.filter(
              function (t) {
                return g(this, n), a.includes(t);
              }.bind(this)
            );
          }
          return i;
        }
        function G() {
          var t = this,
            e = (
              arguments.length > 0 && void 0 !== arguments[0]
                ? arguments[0]
                : []
            ).find(
              function (e) {
                return g(this, t), e.isEffectModel;
              }.bind(this)
            );
          return e ? e.modelId : null;
        }
        function W() {
          var t = this,
            e =
              arguments.length > 0 && void 0 !== arguments[0]
                ? arguments[0]
                : [],
            n = arguments.length > 1 ? arguments[1] : void 0;
          r.A.isArray(e) &&
            e.forEach(
              function (e) {
                g(this, t), (e.isEffectModel = e.modelId === n);
              }.bind(this)
            );
        }
        function z(t) {
          var e,
            n = a.CONST_DEFAULT_MODEL_TYPE,
            i = r.A.get(t, "modelHandleConfigs");
          return (
            null !== (e = i) && void 0 !== e && e[n] && (i = h(h({}, i[n]), i)),
            i
          );
        }
        function q(t) {
          return (0, c._G)(t) || y(t) || b(t)
            ? i.d.DETAILED
            : i.d.POLYMERIZATION;
        }
        function X(t, e) {
          for (
            var n = [], r = e.columnName, i = e.columnId, o = 0;
            o < t.length;
            o++
          ) {
            var a = t[o];
            if (a && (null == a ? void 0 : a.columnId) !== i)
              a.columnName === r && n.push(a);
          }
          return n;
        }
        function Y(t, e) {
          if (t !== e)
            throw new TypeError("Cannot instantiate an arrow function");
        }
        function K(t) {
          var e,
            n = this;
          return (
            null !== (e = null == t ? void 0 : t.positions) && void 0 !== e
              ? e
              : []
          ).map(
            function (t) {
              return Y(this, n), t.componentId;
            }.bind(this)
          );
        }
        function Z(t, e) {
          var n = this,
            r = K(e),
            i = K(t);
          return {
            added: r.filter(
              function (t) {
                return Y(this, n), !i.includes(t);
              }.bind(this)
            ),
            removed: i.filter(
              function (t) {
                return Y(this, n), !r.includes(t);
              }.bind(this)
            ),
            current: r,
          };
        }
        var J = n(47712),
          Q = n(15354);
        function tt(t, e, n) {
          var r,
            i,
            o,
            a = this;
          e =
            null != e
              ? e
              : null === (r = t.dataGetter.getData()) || void 0 === r
              ? void 0
              : r.modelId;
          var s = (
              null !==
                (o = _(
                  (null !== (i = t.getDataConfig()) && void 0 !== i ? i : {})
                    .modelConfigs,
                  e
                )) && void 0 !== o
                ? o
                : {}
            ).positions,
            c = void 0 === s ? [] : s;
          null != c &&
            c.length &&
            c.forEach(
              function (e) {
                if (
                  ((function (t, e) {
                    if (t !== e)
                      throw new TypeError(
                        "Cannot instantiate an arrow function"
                      );
                  })(this, a),
                  e.componentId && t.id !== e.componentId)
                ) {
                  var r = (0, Q.Y9)(e.componentId, t.contextId);
                  if (!(r && r instanceof J.Ay)) return;
                  n(r);
                }
              }.bind(this)
            );
        }
        function et(t) {
          var e,
            n,
            r = (null != t ? t : {}).modelConfigs;
          return null ===
            (n = r =
              null === (e = r) || void 0 === e
                ? void 0
                : e[a.CONST_DEFAULT_MODEL_TYPE]) || void 0 === n
            ? void 0
            : n[0];
        }
        var nt = n(58170);
        function rt(t) {
          return (
            (rt =
              "function" == typeof Symbol && "symbol" == typeof Symbol.iterator
                ? function (t) {
                    return typeof t;
                  }
                : function (t) {
                    return t &&
                      "function" == typeof Symbol &&
                      t.constructor === Symbol &&
                      t !== Symbol.prototype
                      ? "symbol"
                      : typeof t;
                  }),
            rt(t)
          );
        }
        function it(t, e) {
          var n = Object.keys(t);
          if (Object.getOwnPropertySymbols) {
            var r = Object.getOwnPropertySymbols(t);
            e &&
              (r = r.filter(function (e) {
                return Object.getOwnPropertyDescriptor(t, e).enumerable;
              })),
              n.push.apply(n, r);
          }
          return n;
        }
        function ot(t) {
          for (var e = 1; e < arguments.length; e++) {
            var n = null != arguments[e] ? arguments[e] : {};
            e % 2
              ? it(Object(n), !0).forEach(function (e) {
                  at(t, e, n[e]);
                })
              : Object.getOwnPropertyDescriptors
              ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(n))
              : it(Object(n)).forEach(function (e) {
                  Object.defineProperty(
                    t,
                    e,
                    Object.getOwnPropertyDescriptor(n, e)
                  );
                });
          }
          return t;
        }
        function at(t, e, n) {
          return (
            (e = (function (t) {
              var e = (function (t, e) {
                if ("object" != rt(t) || !t) return t;
                var n = t[Symbol.toPrimitive];
                if (void 0 !== n) {
                  var r = n.call(t, e || "default");
                  if ("object" != rt(r)) return r;
                  throw new TypeError(
                    "@@toPrimitive must return a primitive value."
                  );
                }
                return ("string" === e ? String : Number)(t);
              })(t, "string");
              return "symbol" == rt(e) ? e : e + "";
            })(e)) in t
              ? Object.defineProperty(t, e, {
                  value: n,
                  enumerable: !0,
                  configurable: !0,
                  writable: !0,
                })
              : (t[e] = n),
            t
          );
        }
        async function st(t) {
          var e = this,
            n = t.getDataConfig(),
            r = n.modelConfigs,
            i = n.modelUserMap;
          return (await nt.A.perfectUpdateModelParams(r, i)).reduce(
            function (t, n) {
              !(function (t, e) {
                if (t !== e)
                  throw new TypeError("Cannot instantiate an arrow function");
              })(this, e);
              var i = n.modelId,
                o = n.modelType,
                a = A(_(r, i).bindColumns);
              return ot(ot({}, t), {}, at({}, o, a));
            }.bind(this),
            {}
          );
        }
        var ct = n(81717);
        function lt(t) {
          var e = z(t);
          return r.A.get(e, "nullDataHandleWay", ct.$.none);
        }
        var ut = n(39767),
          ft = [
            {
              selectId: a.CountWayType.NONE,
              label: (0, ut.get)("system.none"),
            },
            {
              selectId: a.CountWayType.COUNT,
              label: (0, ut.get)(
                "common.modelSetting_modelSettingServices_js_6"
              ),
            },
            {
              selectId: a.CountWayType.DISTINCT_COUNT,
              label: (0, ut.get)(
                "common.modelSetting_modelSettingServices_js_7"
              ),
            },
          ];
        const dt = {
          measureOptions: [
            {
              selectId: a.PolymerizationType.SUM,
              label: ut.get("common.modelSetting_modelSettingServices_js_2"),
            },
            {
              selectId: a.PolymerizationType.AVG,
              label: ut.get("common.modelSetting_modelSettingServices_js_3"),
            },
            {
              selectId: a.PolymerizationType.MAX,
              label: ut.get("common.modelSetting_modelSettingServices_js_4"),
            },
            {
              selectId: a.PolymerizationType.MIN,
              label: ut.get("common.modelSetting_modelSettingServices_js_5"),
            },
            {
              selectId: a.PolymerizationType.STDDEV_POP,
              label: ut.get("common.modelSetting_modelSettingServices_js_72"),
            },
            {
              selectId: a.PolymerizationType.STDDEV_SAMP,
              label: ut.get("common.modelSetting_modelSettingServices_js_73"),
            },
            {
              selectId: a.PolymerizationType.VAR_POP,
              label: ut.get("common.modelSetting_modelSettingServices_js_74"),
            },
            {
              selectId: a.PolymerizationType.VAR_SAMP,
              label: ut.get("common.modelSetting_modelSettingServices_js_75"),
            },
          ],
          timeType: [
            {
              selectId: "0",
              label: ut.get("system.modelSetting_modelSettingServices_js_8"),
            },
            {
              selectId: "1",
              label: ut.get("system.modelSetting_modelSettingServices_js_9"),
            },
            {
              selectId: "3",
              label: ut.get("system.modelSetting_modelSettingServices_js_10"),
            },
            {
              selectId: "4",
              label: ut.get("system.modelSetting_modelSettingServices_js_11"),
            },
            {
              selectId: "5",
              label: ut.get("system.modelSetting_modelSettingServices_js_12"),
            },
            {
              selectId: "8",
              label: ut.get("system.modelSetting_modelSettingServices_js_13"),
            },
            {
              selectId: "7",
              label: ut.get("system.modelSetting_modelSettingServices_js_14"),
            },
            {
              selectId: "9",
              label: ut.get("system.modelSetting_modelSettingServices_js_15"),
            },
            {
              selectId: "10",
              label: ut.get("system.modelSetting_modelSettingServices_js_16"),
            },
            {
              selectId: "11",
              label: ut.get("system.modelSetting_modelSettingServices_js_17"),
            },
            {
              selectId: "12",
              label: ut.get("system.modelSetting_modelSettingServices_js_18"),
            },
            {
              selectId: "13",
              label: ut.get("system.modelSetting_modelSettingServices_js_19"),
            },
            {
              selectId: "14",
              label: ut.get("system.modelSetting_modelSettingServices_js_20"),
            },
            {
              selectId: "15",
              label: ut.get("system.modelSetting_modelSettingServices_js_21"),
            },
            {
              selectId: "16",
              label: ut.get("system.modelSetting_modelSettingServices_js_22"),
            },
          ],
          timeType2: [
            {
              selectId: "12",
              label: ut.get("system.modelSetting_modelSettingServices_js_18"),
            },
            {
              selectId: "13",
              label: ut.get("system.modelSetting_modelSettingServices_js_19"),
            },
            {
              selectId: "14",
              label: ut.get("system.modelSetting_modelSettingServices_js_20"),
            },
            {
              selectId: "15",
              label: ut.get("system.modelSetting_modelSettingServices_js_21"),
            },
            {
              selectId: "16",
              label: ut.get("system.modelSetting_modelSettingServices_js_22"),
            },
          ],
          timeType3: [
            {
              selectId: "1",
              label: ut.get("system.modelSetting_modelSettingServices_js_9"),
            },
            {
              selectId: "3",
              label: ut.get("system.modelSetting_modelSettingServices_js_10"),
            },
            {
              selectId: "4",
              label: ut.get("system.modelSetting_modelSettingServices_js_11"),
            },
            {
              selectId: "5",
              label: ut.get("system.modelSetting_modelSettingServices_js_12"),
            },
            {
              selectId: "8",
              label: ut.get("system.modelSetting_modelSettingServices_js_13"),
            },
            {
              selectId: "7",
              label: ut.get("system.modelSetting_modelSettingServices_js_14"),
            },
            {
              selectId: "9",
              label: ut.get("system.modelSetting_modelSettingServices_js_15"),
            },
            {
              selectId: "10",
              label: ut.get("system.modelSetting_modelSettingServices_js_16"),
            },
            {
              selectId: "11",
              label: ut.get("system.modelSetting_modelSettingServices_js_17"),
            },
            {
              selectId: "12",
              label: ut.get("system.modelSetting_modelSettingServices_js_18"),
            },
            {
              selectId: "13",
              label: ut.get("system.modelSetting_modelSettingServices_js_19"),
            },
            {
              selectId: "14",
              label: ut.get("system.modelSetting_modelSettingServices_js_20"),
            },
            {
              selectId: "15",
              label: ut.get("system.modelSetting_modelSettingServices_js_21"),
            },
            {
              selectId: "16",
              label: ut.get("system.modelSetting_modelSettingServices_js_22"),
            },
          ],
          timeType4: [
            {
              selectId: "16",
              label: ut.get("system.modelSetting_modelSettingServices_js_22"),
            },
            {
              selectId: "14",
              label: ut.get("system.modelSetting_modelSettingServices_js_20"),
            },
            {
              selectId: "13",
              label: ut.get("system.modelSetting_modelSettingServices_js_19"),
            },
            {
              selectId: "1",
              label: ut.get("system.modelSetting_modelSettingServices_js_9"),
            },
          ],
          timeType5: [
            {
              selectId: "0",
              label: ut.get("system.modelSetting_modelSettingServices_js_8"),
            },
            {
              selectId: "1",
              label: ut.get("system.modelSetting_modelSettingServices_js_9"),
            },
            {
              selectId: "12",
              label: ut.get("system.modelSetting_modelSettingServices_js_18"),
            },
            {
              selectId: "13",
              label: ut.get("system.modelSetting_modelSettingServices_js_19"),
            },
            {
              selectId: "14",
              label: ut.get("system.modelSetting_modelSettingServices_js_20"),
            },
            {
              selectId: "15",
              label: ut.get("system.modelSetting_modelSettingServices_js_21"),
            },
            {
              selectId: "16",
              label: ut.get("system.modelSetting_modelSettingServices_js_22"),
            },
          ],
          dateFormate: {},
          dateFormate_CN: {
            0: [{ selectId: "T", label: "2011-01-01 00:00:00" }],
            1: [
              { selectId: "T", label: "2014(YYYY)" },
              {
                selectId: "$",
                label: "2014"
                  .concat(
                    ut.get("system.modelSetting_modelSettingServices_js_9"),
                    "(YYYY"
                  )
                  .concat(
                    ut.get("system.modelSetting_modelSettingServices_js_9"),
                    ")"
                  ),
              },
            ],
            3: [
              { selectId: "T", label: "1(Q)" },
              { selectId: "Qq", label: "Q1(Qq)" },
              {
                selectId: "$Q",
                label: ut.get("system.modelSetting_modelSettingServices_js_23"),
              },
            ],
            4: [
              { selectId: "T", label: "1(M)" },
              {
                selectId: "M$",
                label: ut.get("system.modelSetting_modelSettingServices_js_24"),
              },
              {
                selectId: "$M$",
                label: ut.get("system.modelSetting_modelSettingServices_js_25"),
              },
            ],
            5: [
              { selectId: "T", label: "52(W)" },
              {
                selectId: "$W$",
                label: ut.get("system.modelSetting_modelSettingServices_js_26"),
              },
              {
                selectId: "W$",
                label: ut.get("system.modelSetting_modelSettingServices_js_27"),
              },
            ],
            8: [
              { selectId: "T", label: "3(d)" },
              {
                selectId: "W$D",
                label: ut.get("system.modelSetting_modelSettingServices_js_28"),
              },
              {
                selectId: "$$D",
                label: ut.get("system.modelSetting_modelSettingServices_js_29"),
              },
              {
                selectId: "$D$",
                label: ut.get("system.modelSetting_modelSettingServices_js_30"),
              },
            ],
            7: [
              { selectId: "T", label: "28(d)" },
              {
                selectId: "MD$",
                label: ut.get("system.modelSetting_modelSettingServices_js_31"),
              },
            ],
            9: [
              { selectId: "T", label: "4(h)" },
              {
                selectId: "H$",
                label: ut.get("system.modelSetting_modelSettingServices_js_32"),
              },
            ],
            10: [
              { selectId: "T", label: "40(m)" },
              {
                selectId: "m$",
                label: ut.get("system.modelSetting_modelSettingServices_js_33"),
              },
            ],
            11: [
              { selectId: "T", label: "40(s)" },
              {
                selectId: "S$",
                label: ut.get("system.modelSetting_modelSettingServices_js_34"),
              },
            ],
            12: [
              { selectId: "T", label: "201407(YYYYM)" },
              {
                selectId: "$",
                label: "2014"
                  .concat(
                    ut.get("system.modelSetting_modelSettingServices_js_35"),
                    "(YYYY"
                  )
                  .concat(
                    ut.get("system.modelSetting_modelSettingServices_js_9"),
                    "X"
                  )
                  .concat(
                    ut.get("system.modelSetting_modelSettingServices_js_36"),
                    ")"
                  ),
              },
            ],
            13: [
              { selectId: "T", label: "201403(YYYYQ)" },
              { selectId: ".", label: "2014.Q3(YYYY.Qq)" },
              {
                selectId: "$",
                label: "2014"
                  .concat(
                    ut.get("system.modelSetting_modelSettingServices_js_37"),
                    "3"
                  )
                  .concat(
                    ut.get("system.modelSetting_modelSettingServices_js_10"),
                    "(YYYY"
                  )
                  .concat(
                    ut.get("system.modelSetting_modelSettingServices_js_37"),
                    "q"
                  )
                  .concat(
                    ut.get("system.modelSetting_modelSettingServices_js_10"),
                    ")"
                  ),
              },
            ],
            14: [
              { selectId: "T", label: "201403(YYYYMM)" },
              { selectId: ".", label: "2014.3(YYYY.M)" },
              { selectId: "/", label: "2014/3(YYYY/M)" },
              { selectId: "-", label: "2014-3(YYYY-M)" },
              {
                selectId: "$",
                label: "2014"
                  .concat(
                    ut.get("system.modelSetting_modelSettingServices_js_9"),
                    "3"
                  )
                  .concat(
                    ut.get("system.modelSetting_modelSettingServices_js_11"),
                    "(YYYY"
                  )
                  .concat(
                    ut.get("system.modelSetting_modelSettingServices_js_9"),
                    "M"
                  )
                  .concat(
                    ut.get("system.modelSetting_modelSettingServices_js_11"),
                    ")"
                  ),
              },
            ],
            15: [
              { selectId: "T", label: "201452(YYYYWW)" },
              { selectId: ".", label: "2014.52(YYYY.W)" },
              { selectId: "/", label: "2014/52(YYYY/W)" },
              { selectId: "-", label: "2014-52(YYYY-W)" },
              {
                selectId: "$",
                label: "2014"
                  .concat(
                    ut.get("system.modelSetting_modelSettingServices_js_9"),
                    "52"
                  )
                  .concat(
                    ut.get("system.modelSetting_modelSettingServices_js_12"),
                    "(YYYY"
                  )
                  .concat(
                    ut.get("system.modelSetting_modelSettingServices_js_9"),
                    "W"
                  )
                  .concat(
                    ut.get("system.modelSetting_modelSettingServices_js_12"),
                    ")"
                  ),
              },
            ],
            16: [
              { selectId: "T", label: "20140318(YYYYMMDD)" },
              { selectId: ".", label: "2014.3.18(YYYY.M.D)" },
              { selectId: "-", label: "2014-3-18(YYYY-M-D)" },
              { selectId: "/", label: "2014/3/18(YYYY/M/D)" },
              {
                selectId: "$",
                label: "2014"
                  .concat(
                    ut.get("system.modelSetting_modelSettingServices_js_9"),
                    "3"
                  )
                  .concat(
                    ut.get("system.modelSetting_modelSettingServices_js_11"),
                    "18"
                  )
                  .concat(
                    ut.get("system.modelSetting_modelSettingServices_js_38"),
                    "(YYYY"
                  )
                  .concat(
                    ut.get("system.modelSetting_modelSettingServices_js_9"),
                    "M"
                  )
                  .concat(
                    ut.get("system.modelSetting_modelSettingServices_js_11"),
                    "D"
                  )
                  .concat(
                    ut.get("system.modelSetting_modelSettingServices_js_39"),
                    ")"
                  ),
              },
            ],
          },
          dateFormate_EN: {
            0: [{ selectId: "T", label: "2011-01-01 00:00:00" }],
            1: [{ selectId: "T", label: "2014(YYYY)" }],
            3: [
              { selectId: "T", label: "1(Q)" },
              { selectId: "Qq", label: "Q1(Qq)" },
            ],
            4: [{ selectId: "T", label: "1(M)" }],
            5: [{ selectId: "T", label: "52(W)" }],
            8: [{ selectId: "T", label: "3(d)" }],
            7: [{ selectId: "T", label: "28(d)" }],
            9: [{ selectId: "T", label: "4(h)" }],
            10: [{ selectId: "T", label: "40(m)" }],
            11: [{ selectId: "T", label: "40(s)" }],
            12: [{ selectId: "T", label: "201407(YYYYM)" }],
            13: [
              { selectId: "T", label: "201403(YYYYQ)" },
              { selectId: ".", label: "2014.Q3(YYYY.Qq)" },
            ],
            14: [
              { selectId: "T", label: "201403(YYYYMM)" },
              { selectId: ".", label: "2014.3(YYYY.M)" },
              { selectId: "/", label: "2014/3(YYYY/M)" },
              { selectId: "-", label: "2014-3(YYYY-M)" },
            ],
            15: [
              { selectId: "T", label: "201452(YYYYWW)" },
              { selectId: ".", label: "2014.52(YYYY.W)" },
              { selectId: "/", label: "2014/52(YYYY/W)" },
              { selectId: "-", label: "2014-52(YYYY-W)" },
            ],
            16: [
              { selectId: "T", label: "20140318(YYYYMMDD)" },
              { selectId: ".", label: "2014.3.18(YYYY.M.D)" },
              { selectId: "-", label: "2014-3-18(YYYY-M-D)" },
              { selectId: "/", label: "2014/3/18(YYYY/M/D)" },
            ],
          },
          fixedBit: [
            {
              selectId: "0",
              label: ut.get("system.modelSetting_modelSettingServices_js_40"),
            },
            { selectId: "1", label: "0" },
            { selectId: "2", label: "0.0" },
            { selectId: "3", label: "0.00" },
          ],
          countUnit: [
            {
              selectId: "1",
              label: ut.get("system.modelSetting_modelSettingServices_js_40"),
            },
            {
              selectId: "10000",
              label: ut.get("system.modelSetting_modelSettingServices_js_41"),
            },
            {
              selectId: "1000000",
              label: ut.get("system.modelSetting_modelSettingServices_js_42"),
            },
            {
              selectId: "10000000",
              label: ut.get("system.modelSetting_modelSettingServices_js_43"),
            },
            {
              selectId: "100000000",
              label: ut.get("system.modelSetting_modelSettingServices_js_44"),
            },
            { selectId: "%", label: "%" },
          ],
          textAlign: [
            { selectId: "left", label: ut.get("system.left") },
            { selectId: "right", label: ut.get("system.right") },
            { selectId: "center", label: ut.get("system.center") },
          ],
        };
        var ht = n(99147);
        const pt = [
          { selectId: ht.A.none, label: ut.get("system.none") },
          { selectId: ht.A.difference, label: ut.get("common.difference") },
          { selectId: ht.A.percentage, label: ut.get("common.percentage") },
          {
            selectId: ht.A.percentageOfTotal,
            label: ut.get("common.percentageOfTotal"),
          },
          {
            selectId: ht.A.percentageOfDifference,
            label: ut.get("common.percentageOfDifference"),
          },
          {
            selectId: ht.A.cumulativeSum,
            label: ut.get("common.sf_business_modelColumnDirective_js_79"),
          },
          {
            selectId: ht.A.yearOnYearValue,
            label: ut.get("common.sf_business_modelColumnDirective_js_80"),
          },
          {
            selectId: ht.A.yearOnYearRatio,
            label: ut.get("common.sf_business_modelColumnDirective_js_81"),
          },
          {
            selectId: ht.A.monthOnMonthValue,
            label: ut.get("common.sf_business_modelColumnDirective_js_82"),
          },
          {
            selectId: ht.A.monthOnMonthRatio,
            label: ut.get("common.sf_business_modelColumnDirective_js_83"),
          },
        ];
        ht.A.percentageOfTotal,
          ht.A.percentage,
          ht.A.cumulativeSum,
          ht.A.difference,
          ht.A.percentageOfDifference,
          ht.A.yearOnYearRatio,
          ht.A.yearOnYearValue,
          ht.A.monthOnMonthRatio,
          ht.A.monthOnMonthValue;
        function mt(t, e) {
          if (t !== e)
            throw new TypeError("Cannot instantiate an arrow function");
        }
        function vt(t) {
          return (
            (function (t) {
              if (Array.isArray(t)) return gt(t);
            })(t) ||
            (function (t) {
              if (
                ("undefined" != typeof Symbol && null != t[Symbol.iterator]) ||
                null != t["@@iterator"]
              )
                return Array.from(t);
            })(t) ||
            (function (t, e) {
              if (t) {
                if ("string" == typeof t) return gt(t, e);
                var n = {}.toString.call(t).slice(8, -1);
                return (
                  "Object" === n && t.constructor && (n = t.constructor.name),
                  "Map" === n || "Set" === n
                    ? Array.from(t)
                    : "Arguments" === n ||
                      /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)
                    ? gt(t, e)
                    : void 0
                );
              }
            })(t) ||
            (function () {
              throw new TypeError(
                "Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."
              );
            })()
          );
        }
        function gt(t, e) {
          (null == e || e > t.length) && (e = t.length);
          for (var n = 0, r = Array(e); n < e; n++) r[n] = t[n];
          return r;
        }
        function yt(t, e) {
          var n,
            r,
            i,
            o,
            s = this,
            c = null !== (n = t.columnConfig) && void 0 !== n ? n : {},
            l = c.formular,
            u = c.tableCalculation,
            f = dt.measureOptions,
            d = [].concat(
              vt(f),
              vt(
                (function () {
                  var t =
                      arguments.length > 0 && void 0 !== arguments[0]
                        ? arguments[0]
                        : a.ColumnType.MEASURE,
                    e = [].concat(ft);
                  return t === a.ColumnType.MEASURE && e.shift(), e;
                })()
              )
            ),
            h =
              (null ===
                (r = d.filter(
                  function (t) {
                    return mt(this, s), t.selectId === l;
                  }.bind(this)
                )[0]) || void 0 === r
                ? void 0
                : r.label) || "",
            p = null,
            m = null == u ? void 0 : u.calculationType;
          if (
            (m &&
              (p = pt.find(
                function (t) {
                  return mt(this, s), t.selectId === m;
                }.bind(this)
              ).label),
            t.columnType === a.ColumnType.MEASURE && e)
          ) {
            var v = e.some(
              function (t) {
                var e;
                return (
                  mt(this, s),
                  (null === (e = t.columnConfig) || void 0 === e
                    ? void 0
                    : e.formular) !== l
                );
              }.bind(this)
            );
            (!e.length || (!v && p)) && (h = "");
          }
          return [
            "".concat(
              null !==
                (i =
                  null !== (o = t.displayName) && void 0 !== o
                    ? o
                    : t.columnName) && void 0 !== i
                ? i
                : ""
            ),
            "".concat(h ? "(".concat(h, ")") : ""),
            "".concat(p ? "(".concat(p, ")") : ""),
          ].join("");
        }
        function bt(t, e) {
          if (t !== e)
            throw new TypeError("Cannot instantiate an arrow function");
        }
        function Vt(t, e, n) {
          var i,
            o = this,
            a =
              null !==
                (i = r.A.get(e.getDataConfig(), "relativeModelComponentId")) &&
              void 0 !== i
                ? i
                : [];
          "add" === t &&
            !a.find(
              function (t) {
                return bt(this, o), t === n;
              }.bind(this)
            ) &&
            a.unshift(n);
          "remove" === t &&
            (a = a.filter(
              function (t) {
                return bt(this, o), t !== n;
              }.bind(this)
            )),
            "clear" === t && (a = []),
            e.updateDataConfig("relativeModelComponentId", a);
        }
        function _t(t) {
          var e,
            n = t.getDataConfig(),
            i =
              null !== (e = r.A.get(n, "relativeModelComponentId")) &&
              void 0 !== e
                ? e
                : [],
            o = (0, Q.Y9)(i[0], t.contextId);
          return (
            !(null != o && o.childrenDataIndex && !o.childrenDataIndex[t.id]) &&
            Boolean(i.length)
          );
        }
        function wt(t) {
          var e;
          return (
            null !== (e = r.A.get(t, "relativeModelComponentId")) &&
            void 0 !== e
              ? e
              : []
          )[0];
        }
      },
      62952: (t, e, n) => {
        "use strict";
        n.r(e),
          n.d(e, {
            default: () => d,
            errorMessage: () => m,
            infoMessage: () => h,
            loadingMessage: () => g,
            successMessage: () => p,
            textMessage: () => y,
            warningMessage: () => v,
          });
        var r = n(96540),
          i = n(85072);
        function o(t) {
          return (
            (o =
              "function" == typeof Symbol && "symbol" == typeof Symbol.iterator
                ? function (t) {
                    return typeof t;
                  }
                : function (t) {
                    return t &&
                      "function" == typeof Symbol &&
                      t.constructor === Symbol &&
                      t !== Symbol.prototype
                      ? "symbol"
                      : typeof t;
                  }),
            o(t)
          );
        }
        const a = function (t) {
            return (
              (function (t, e) {
                if (t !== e)
                  throw new TypeError("Cannot instantiate an arrow function");
              })(this, undefined),
              t instanceof Array
                ? { content: t[0] }
                : "object" !== o(t)
                ? { content: t }
                : t
            );
          }.bind(void 0),
          s = n.p + "images/success.966a.svg";
        function c(t) {
          return (
            (c =
              "function" == typeof Symbol && "symbol" == typeof Symbol.iterator
                ? function (t) {
                    return typeof t;
                  }
                : function (t) {
                    return t &&
                      "function" == typeof Symbol &&
                      t.constructor === Symbol &&
                      t !== Symbol.prototype
                      ? "symbol"
                      : typeof t;
                  }),
            c(t)
          );
        }
        function l(t, e) {
          var n = Object.keys(t);
          if (Object.getOwnPropertySymbols) {
            var r = Object.getOwnPropertySymbols(t);
            e &&
              (r = r.filter(function (e) {
                return Object.getOwnPropertyDescriptor(t, e).enumerable;
              })),
              n.push.apply(n, r);
          }
          return n;
        }
        function u(t) {
          for (var e = 1; e < arguments.length; e++) {
            var n = null != arguments[e] ? arguments[e] : {};
            e % 2
              ? l(Object(n), !0).forEach(function (e) {
                  f(t, e, n[e]);
                })
              : Object.getOwnPropertyDescriptors
              ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(n))
              : l(Object(n)).forEach(function (e) {
                  Object.defineProperty(
                    t,
                    e,
                    Object.getOwnPropertyDescriptor(n, e)
                  );
                });
          }
          return t;
        }
        function f(t, e, n) {
          return (
            (e = (function (t) {
              var e = (function (t, e) {
                if ("object" != c(t) || !t) return t;
                var n = t[Symbol.toPrimitive];
                if (void 0 !== n) {
                  var r = n.call(t, e || "default");
                  if ("object" != c(r)) return r;
                  throw new TypeError(
                    "@@toPrimitive must return a primitive value."
                  );
                }
                return ("string" === e ? String : Number)(t);
              })(t, "string");
              return "symbol" == c(e) ? e : e + "";
            })(e)) in t
              ? Object.defineProperty(t, e, {
                  value: n,
                  enumerable: !0,
                  configurable: !0,
                  writable: !0,
                })
              : (t[e] = n),
            t
          );
        }
        i.Ay.config({ maxCount: 3 });
        const d = i.Ay;
        function h(t) {
          return (
            (t = a(t)),
            i.Ay.info(
              u(
                u({}, t),
                {},
                {
                  icon: r.createElement("i", {
                    className: "iconfont icona-gantanhaojinggaotishi1",
                  }),
                }
              )
            )
          );
        }
        function p(t) {
          return (
            (t = a(t)),
            i.Ay.success(
              u(u({}, t), {}, { icon: r.createElement("img", { src: s }) })
            )
          );
        }
        function m(t) {
          return (
            (t = a(t)),
            i.Ay.error(
              u(
                u({}, t),
                {},
                {
                  icon: r.createElement("i", {
                    className: "iconfont icona-jinggaocha",
                  }),
                }
              )
            )
          );
        }
        function v(t) {
          return (
            (t = a(t)),
            i.Ay.warning(
              u(
                u({}, t),
                {},
                {
                  icon: r.createElement("i", {
                    className: "iconfont icona-guzhanggantanhao1",
                  }),
                }
              )
            )
          );
        }
        function g(t) {
          return (
            (t = a(t)),
            i.Ay.loading(
              u(
                u({}, t),
                {},
                {
                  icon: r.createElement("i", {
                    className: "iconfont iconjiazaizhong",
                  }),
                }
              )
            )
          );
        }
        function y(t) {
          return (t = a(t)), i.Ay.info(u(u({}, t), {}, { icon: null }));
        }
      },
      63229: (t, e, n) => {
        "use strict";
        n.d(e, { Sk: () => h });
        var r = (function (t) {
            return (
              (t.tips = "tips"),
              (t.staticData = "staticData"),
              (t.lastQueryData = "lastQueryData"),
              t
            );
          })({}),
          i = n(39767),
          o = n(2293);
        var a = [
          n.p + "images/noData1.2ff8.png",
          n.p + "images/noData2.af1f.png",
          n.p + "images/noData3.d0bf.png",
        ];
        function s(t) {
          return (
            (s =
              "function" == typeof Symbol && "symbol" == typeof Symbol.iterator
                ? function (t) {
                    return typeof t;
                  }
                : function (t) {
                    return t &&
                      "function" == typeof Symbol &&
                      t.constructor === Symbol &&
                      t !== Symbol.prototype
                      ? "symbol"
                      : typeof t;
                  }),
            s(t)
          );
        }
        function c(t, e) {
          for (var n = 0; n < e.length; n++) {
            var r = e[n];
            (r.enumerable = r.enumerable || !1),
              (r.configurable = !0),
              "value" in r && (r.writable = !0),
              Object.defineProperty(t, d(r.key), r);
          }
        }
        function l(t, e, n) {
          return (
            e && c(t.prototype, e),
            n && c(t, n),
            Object.defineProperty(t, "prototype", { writable: !1 }),
            t
          );
        }
        function u(t, e) {
          if (!(t instanceof e))
            throw new TypeError("Cannot call a class as a function");
        }
        function f(t, e, n) {
          return (
            (e = d(e)) in t
              ? Object.defineProperty(t, e, {
                  value: n,
                  enumerable: !0,
                  configurable: !0,
                  writable: !0,
                })
              : (t[e] = n),
            t
          );
        }
        function d(t) {
          var e = (function (t, e) {
            if ("object" != s(t) || !t) return t;
            var n = t[Symbol.toPrimitive];
            if (void 0 !== n) {
              var r = n.call(t, e || "default");
              if ("object" != s(r)) return r;
              throw new TypeError(
                "@@toPrimitive must return a primitive value."
              );
            }
            return ("string" === e ? String : Number)(t);
          })(t, "string");
          return "symbol" == s(e) ? e : e + "";
        }
        i.get("common.i18n_120"),
          i.get("common.i18n_121"),
          i.get("common.i18n_122");
        var h = l(function t() {
          var e =
              arguments.length > 0 && void 0 !== arguments[0]
                ? arguments[0]
                : {},
            n =
              arguments.length > 1 && void 0 !== arguments[1]
                ? arguments[1]
                : o.PROJECT_CARD_TYPE.TONGYONG;
          u(this, t),
            f(this, "cache", !0),
            f(this, "isIndexMenu", !0),
            f(this, "indexPageId", ""),
            f(this, "pageByList", []),
            f(
              this,
              "carouselControlbarPosition",
              o.CONTROLBAR_POSITION.TOP_LEFT
            ),
            f(this, "loading", {
              isLoading: !1,
              backgroundColor: "rgba(0,0,0,0.75)",
              text: "loading...",
              fontSize: 12,
              fontColor: "#FFFFFF",
              icon: "",
            }),
            f(this, "watermark", { show: !0, editShow: !0 }),
            f(this, "emptyDataStyleType", {
              type: r.tips,
              tips: {
                textStyle: {
                  msg: i.get("common.i18n_112"),
                  fontFamily: "思源黑体 Normal",
                  fontSize: 12,
                  fontWeight: "normal",
                  fontStyle: "normal",
                  color: "#bcbcbc",
                },
                letterSpacing: 0,
                showErrorMessage: !0,
                icon: { show: !0, url: a[0], width: 64, height: 64 },
                background: { color: "#3f4041", img: "" },
              },
            }),
            n !== o.PROJECT_CARD_TYPE.TONGYONG && (this.isIndexMenu = !1),
            Object.assign(this, e);
        });
      },
      63413: (t, e, n) => {
        "use strict";
        n.d(e, { Dl: () => p, OQ: () => m, rn: () => g, rr: () => d });
        var r = n(71542),
          i = n(4573),
          o = n(52063),
          a = n(92287),
          s = n.n(a),
          c = n(14987),
          l = n(13916),
          u = n(15354),
          f = n(11404),
          d = {
            DIR: "1",
            GROUP: "2",
            PC: "3",
            PHONE: "4",
            PAD: "5",
            POPUP: "6",
          };
        function h(t) {
          var e = window["inner".concat(r.A.capitalize(t))];
          if ((0, l.fx)()) return e;
          var n = (0, u.Vs)().config;
          if (!n || !n[t]) return e;
          if (0 === n.resolution) return e;
          switch ({}.catalogType) {
            case d.PHONE:
            case d.PAD:
              return "auto" === n[t] ? e : n[t];
            case d.PC:
            default:
              return e;
          }
        }
        function p() {
          return h("width");
        }
        function m() {
          return h("height");
        }
        function v(t) {
          if (t) {
            var e = "";
            try {
              e = s().ungzip(window.atob(t), { to: "string" });
            } catch (n) {
              e = c.A.decodeHtml(t);
            }
            return JSON.parse(e);
          }
        }
        function g(t) {
          if (t.config && "string" == typeof t.config)
            try {
              (t.config = v(t.config)),
                (t.config = (0, l._V)(t.config, t.projectId)),
                t.svgJson && (t.svgJson = v(t.svgJson));
            } catch (e) {
              sfLogger.error(e.toString()), (t.config = "");
            }
          if (!t.config)
            switch (null == t ? void 0 : t.type) {
              case o.PageType.Card:
                t.config = new f.CardConfig();
                break;
              case o.PageType.Phone:
                t.config = new i.u7();
                break;
              default:
                t.config = new i.wF();
            }
          return t;
        }
      },
      64188: (t, e, n) => {
        "use strict";
        n.d(e, { A: () => v, D: () => p });
        var r = n(18040),
          i = n(53148),
          o = n(44518),
          a = n(18882),
          s = n(29556),
          c = n(23850),
          l = n(15354);
        function u(t, e) {
          if (t !== e)
            throw new TypeError("Cannot instantiate an arrow function");
        }
        function f(t, e) {
          var n = Object.keys(t);
          if (Object.getOwnPropertySymbols) {
            var r = Object.getOwnPropertySymbols(t);
            e &&
              (r = r.filter(function (e) {
                return Object.getOwnPropertyDescriptor(t, e).enumerable;
              })),
              n.push.apply(n, r);
          }
          return n;
        }
        function d(t, e, n) {
          return (
            (e = (function (t) {
              var e = (function (t, e) {
                if ("object" != h(t) || !t) return t;
                var n = t[Symbol.toPrimitive];
                if (void 0 !== n) {
                  var r = n.call(t, e || "default");
                  if ("object" != h(r)) return r;
                  throw new TypeError(
                    "@@toPrimitive must return a primitive value."
                  );
                }
                return ("string" === e ? String : Number)(t);
              })(t, "string");
              return "symbol" == h(e) ? e : e + "";
            })(e)) in t
              ? Object.defineProperty(t, e, {
                  value: n,
                  enumerable: !0,
                  configurable: !0,
                  writable: !0,
                })
              : (t[e] = n),
            t
          );
        }
        function h(t) {
          return (
            (h =
              "function" == typeof Symbol && "symbol" == typeof Symbol.iterator
                ? function (t) {
                    return typeof t;
                  }
                : function (t) {
                    return t &&
                      "function" == typeof Symbol &&
                      t.constructor === Symbol &&
                      t !== Symbol.prototype
                      ? "symbol"
                      : typeof t;
                  }),
            h(t)
          );
        }
        async function p(t) {
          var e =
            arguments.length > 1 && void 0 !== arguments[1]
              ? arguments[1]
              : null;
          if (
            ("string" == typeof t &&
              t[0] === i.DB.Flag &&
              (t = (await (0, s.$8)({ value: t, source: e })) || ""),
            "object" === h(t))
          ) {
            var n = t,
              o = n.projectId,
              a = n.pageId,
              c = window.location.pathname.replace(r.Ay.PREFIX, ""),
              l = "";
            if ("uxcardrunner" === c.split("/").splice(0, 2)[1])
              l = "/uxauth/report";
            else {
              var u = c.match(/\/(preview|report|release)/);
              u && (l = c.slice(0, u.index + u[0].length));
            }
            return (
              l || (l = "/uxauth/report"),
              ""
                .concat(window.location.origin)
                .concat(r.Ay.PREFIX)
                .concat(l, "/")
                .concat(o, "/")
                .concat(a)
            );
          }
          return t;
        }
        async function m(t, e, n) {
          var r = this,
            o =
              arguments.length > 3 && void 0 !== arguments[3]
                ? arguments[3]
                : null;
          t = (await p(t, o)) || "";
          var s = (function (t) {
            for (var e = 1; e < arguments.length; e++) {
              var n = null != arguments[e] ? arguments[e] : {};
              e % 2
                ? f(Object(n), !0).forEach(function (e) {
                    d(t, e, n[e]);
                  })
                : Object.getOwnPropertyDescriptors
                ? Object.defineProperties(
                    t,
                    Object.getOwnPropertyDescriptors(n)
                  )
                : f(Object(n)).forEach(function (e) {
                    Object.defineProperty(
                      t,
                      e,
                      Object.getOwnPropertyDescriptor(n, e)
                    );
                  });
            }
            return t;
          })({}, n);
          return (
            e === i.h6.NewWindow &&
              (delete s.browserTitle,
              delete s.resizable,
              delete s.left,
              delete s.top,
              delete s.width,
              delete s.height),
            (t.match(/\$\{[^}]*\}/g) || []).forEach(
              function (e) {
                u(this, r);
                var n = e.slice(2, -1);
                s.hasOwnProperty(n) && ((t = t.replace(e, s[n])), delete s[n]);
              }.bind(this)
            ),
            (0, a.n)(t, s)
          );
        }
        async function v(t, e) {
          var n = this,
            a = t.param,
            f = t.action,
            d = f,
            h = d.openType,
            p = d.sfIframeId,
            v = void 0 === p ? "" : p,
            g = f.url;
          g.pageId &&
            -1 !== g.pageId.indexOf(i.DB.Page) &&
            (g = await (0, s.Y3)([g.pageId.split(".")[1]]));
          var y,
            b,
            V = await m(g, h, a, e);
          switch (h) {
            case i.h6.NewTab:
              return void window.open(V);
            case i.h6.CurrentTab:
              if (g.pageId && SF.lib.__history && V.includes(window.origin))
                if (
                  (0, c.ph)().children.some(
                    function (t) {
                      return u(this, n), t.id === g.pageId;
                    }.bind(this)
                  )
                )
                  return void SF.lib.__history.push(
                    V.replace(window.origin, "").replace(r.Ay.PREFIX, "")
                  );
              return void (window.location.href = V);
            case i.h6.SfIframe:
              var _ = (0, l.Y9)(v, e.contextId);
              if (!_) return;
              return void (0, o.Ay)(
                { id: _.id, contextId: e.contextId },
                function (t) {
                  u(this, n),
                    t.updateBasicConfig("mydefault", "diy"),
                    t.updateBasicConfig("target", V);
                }.bind(this),
                0
              );
            case i.h6.NewWindow:
              var w =
                  ((b = ""),
                  (y = a).resizable && "false" !== y.resizable
                    ? (b += "resizable=yes,")
                    : (b += "resizable=no,"),
                  y.left && (b += "left=".concat(y.left, ",")),
                  y.top && (b += "top=".concat(y.top, ",")),
                  y.width
                    ? (b += "width=".concat(y.width, ","))
                    : (b += "width=".concat(window.screen.width, ",")),
                  y.height
                    ? (b += "height=".concat(y.height, ","))
                    : (b += "height=".concat(window.screen.height, ",")),
                  (y.width && y.width > 0) || (y.height && y.height > 0)
                    ? (b += "fullscreen=no,")
                    : (b += "fullscreen=yes,"),
                  b + "scrollbars=yes,alwaysRaised=yes"),
                S = window.open("about:blank", "", w);
              S.focus(), (S.location.href = V);
          }
        }
      },
      64464: (t, e, n) => {
        "use strict";
        n.d(e, { S: () => u });
        var r = n(52063);
        function i(t) {
          return (
            (i =
              "function" == typeof Symbol && "symbol" == typeof Symbol.iterator
                ? function (t) {
                    return typeof t;
                  }
                : function (t) {
                    return t &&
                      "function" == typeof Symbol &&
                      t.constructor === Symbol &&
                      t !== Symbol.prototype
                      ? "symbol"
                      : typeof t;
                  }),
            i(t)
          );
        }
        function o(t, e) {
          if (t !== e)
            throw new TypeError("Cannot instantiate an arrow function");
        }
        function a(t, e) {
          for (var n = 0; n < e.length; n++) {
            var r = e[n];
            (r.enumerable = r.enumerable || !1),
              (r.configurable = !0),
              "value" in r && (r.writable = !0),
              Object.defineProperty(t, l(r.key), r);
          }
        }
        function s(t, e, n) {
          return (
            e && a(t.prototype, e),
            n && a(t, n),
            Object.defineProperty(t, "prototype", { writable: !1 }),
            t
          );
        }
        function c(t, e, n) {
          return (
            (e = l(e)) in t
              ? Object.defineProperty(t, e, {
                  value: n,
                  enumerable: !0,
                  configurable: !0,
                  writable: !0,
                })
              : (t[e] = n),
            t
          );
        }
        function l(t) {
          var e = (function (t, e) {
            if ("object" != i(t) || !t) return t;
            var n = t[Symbol.toPrimitive];
            if (void 0 !== n) {
              var r = n.call(t, e || "default");
              if ("object" != i(r)) return r;
              throw new TypeError(
                "@@toPrimitive must return a primitive value."
              );
            }
            return ("string" === e ? String : Number)(t);
          })(t, "string");
          return "symbol" == i(e) ? e : e + "";
        }
        var u,
          f,
          d,
          h = s(function t() {
            var e = this;
            !(function (t, e) {
              if (!(t instanceof e))
                throw new TypeError("Cannot call a class as a function");
            })(this, t),
              c(
                this,
                "apply",
                function (t) {
                  o(this, e);
                }.bind(this)
              ),
              c(
                this,
                "update",
                function (t) {
                  o(this, e);
                }.bind(this)
              ),
              c(
                this,
                "recover",
                function (t) {
                  o(this, e);
                }.bind(this)
              ),
              c(
                this,
                "recoverComponentConfig",
                function (t) {
                  o(this, e);
                }.bind(this)
              ),
              c(
                this,
                "isAllowMoveComponent",
                function () {
                  return o(this, e), !0;
                }.bind(this)
              );
          });
        function p(t) {
          return (
            (p =
              "function" == typeof Symbol && "symbol" == typeof Symbol.iterator
                ? function (t) {
                    return typeof t;
                  }
                : function (t) {
                    return t &&
                      "function" == typeof Symbol &&
                      t.constructor === Symbol &&
                      t !== Symbol.prototype
                      ? "symbol"
                      : typeof t;
                  }),
            p(t)
          );
        }
        function m(t, e) {
          if (t !== e)
            throw new TypeError("Cannot instantiate an arrow function");
        }
        function v(t, e) {
          for (var n = 0; n < e.length; n++) {
            var r = e[n];
            (r.enumerable = r.enumerable || !1),
              (r.configurable = !0),
              "value" in r && (r.writable = !0),
              Object.defineProperty(t, y(r.key), r);
          }
        }
        function g(t, e, n) {
          return (
            (e = y(e)) in t
              ? Object.defineProperty(t, e, {
                  value: n,
                  enumerable: !0,
                  configurable: !0,
                  writable: !0,
                })
              : (t[e] = n),
            t
          );
        }
        function y(t) {
          var e = (function (t, e) {
            if ("object" != p(t) || !t) return t;
            var n = t[Symbol.toPrimitive];
            if (void 0 !== n) {
              var r = n.call(t, e || "default");
              if ("object" != p(r)) return r;
              throw new TypeError(
                "@@toPrimitive must return a primitive value."
              );
            }
            return ("string" === e ? String : Number)(t);
          })(t, "string");
          return "symbol" == p(e) ? e : e + "";
        }
        (f = u || (u = {})),
          (d = (function (t) {
            return (t.Flow = "flow"), (t.Absolute = "absolute"), t;
          })({})),
          (f.Types = d);
        var b = (function () {
          return (
            (t = function t() {
              var e = this;
              !(function (t, e) {
                if (!(t instanceof e))
                  throw new TypeError("Cannot call a class as a function");
              })(this, t),
                g(this, "type", void 0),
                g(this, "layouts", new Map()),
                g(this, "_workingPage", null),
                g(
                  this,
                  "init",
                  function () {
                    m(this, e);
                  }.bind(this)
                ),
                g(
                  this,
                  "getLayout",
                  function (t) {
                    var n;
                    return (
                      m(this, e),
                      null !== (n = this.layouts.get(t)) && void 0 !== n
                        ? n
                        : new h()
                    );
                  }.bind(this)
                ),
                g(
                  this,
                  "registerLayout",
                  function (t, n) {
                    m(this, e), this.layouts.has(t) || this.layouts.set(t, n);
                  }.bind(this)
                ),
                g(
                  this,
                  "canApply",
                  function (t, n) {
                    var r;
                    m(this, e);
                    var i = this.type !== t,
                      o =
                        (null === (r = this._workingPage) || void 0 === r
                          ? void 0
                          : r.id) !== n.id;
                    return i || o;
                  }.bind(this)
                ),
                g(
                  this,
                  "applyLayout",
                  function (t, n) {
                    if ((m(this, e), Object.values(u.Types).includes(t))) {
                      var r = this.type,
                        i = this.getLayout(t);
                      this.canApply(t, n)
                        ? (this.revokeLayout(r, n), i.apply(n))
                        : i.update(n),
                        (this.type = t),
                        (this._workingPage = n);
                    }
                  }.bind(this)
                ),
                g(
                  this,
                  "revokeLayout",
                  function (t, n) {
                    m(this, e), this.getLayout(t).recover(n);
                  }.bind(this)
                ),
                g(
                  this,
                  "recoverComponentConfig",
                  function (t, n) {
                    var r = this;
                    m(this, e);
                    var i = this.getLayout(t);
                    null != n &&
                      n.length &&
                      n.forEach(
                        function (t) {
                          m(this, r), i.recoverComponentConfig(t);
                        }.bind(this)
                      );
                  }.bind(this)
                ),
                g(
                  this,
                  "isAllowMoveComponent",
                  function (t) {
                    return m(this, e), this.getLayout(t).isAllowMoveComponent();
                  }.bind(this)
                ),
                this.init();
            }),
            (e = [
              {
                key: "is",
                value: function (t) {
                  var e;
                  return (
                    !!this._workingPage &&
                    (null === (e = this._workingPage.config) || void 0 === e
                      ? void 0
                      : e.layout) === t
                  );
                },
              },
            ]) && v(t.prototype, e),
            n && v(t, n),
            Object.defineProperty(t, "prototype", { writable: !1 }),
            t
          );
          var t, e, n;
        })();
        !(function (t) {
          var e = this;
          (t.manager = new b()),
            (t.getDefaultLayout = function (t) {
              return (
                m(this, e),
                t === r.PageType.Phone ? u.Types.Flow : u.Types.Absolute
              );
            }.bind(this));
        })(u || (u = {}));
      },
      64475: (t, e, n) => {
        "use strict";
        n.d(e, {
          F4: () => l,
          QS: () => d,
          Z$: () => f,
          nT: () => s,
          o9: () => a,
          vt: () => c,
          yG: () => u,
        });
        var r = n(52063);
        function i(t) {
          return (
            (i =
              "function" == typeof Symbol && "symbol" == typeof Symbol.iterator
                ? function (t) {
                    return typeof t;
                  }
                : function (t) {
                    return t &&
                      "function" == typeof Symbol &&
                      t.constructor === Symbol &&
                      t !== Symbol.prototype
                      ? "symbol"
                      : typeof t;
                  }),
            i(t)
          );
        }
        function o(t, e, n) {
          return (
            (e = (function (t) {
              var e = (function (t, e) {
                if ("object" != i(t) || !t) return t;
                var n = t[Symbol.toPrimitive];
                if (void 0 !== n) {
                  var r = n.call(t, e || "default");
                  if ("object" != i(r)) return r;
                  throw new TypeError(
                    "@@toPrimitive must return a primitive value."
                  );
                }
                return ("string" === e ? String : Number)(t);
              })(t, "string");
              return "symbol" == i(e) ? e : e + "";
            })(e)) in t
              ? Object.defineProperty(t, e, {
                  value: n,
                  enumerable: !0,
                  configurable: !0,
                  writable: !0,
                })
              : (t[e] = n),
            t
          );
        }
        var a = (function (t) {
            return (t.Design = "design"), (t.Runtime = "runtime"), t;
          })({}),
          s = { DARK: "dark", LIGHT: "light" },
          c = o(
            o(
              o(
                o({}, r.EditorType.CardEditor, "card"),
                r.EditorType.Designer,
                "project"
              ),
              r.EditorType.TemplateEditor,
              "layoutTemplate"
            ),
            r.EditorType.BusinessEditor,
            "sceneComponent"
          ),
          l = (function (t) {
            return (
              (t.DefaultComponentTheme = "themeA"),
              (t.DefaultComponentColor = "colorD"),
              t
            );
          })({}),
          u = {
            item: {
              opacity: 50,
              blur: 5,
              brightness: 25,
              contrast: 50,
              grayscale: 50,
              hueRotate: 50,
              invert: 5,
              saturate: 50,
              sepia: 50,
              dropShadow: { x: 10, y: 10, blur: 5, color: "rgba(0,0,0,0.4)" },
            },
            open: {
              blur: !1,
              brightness: !1,
              contrast: !1,
              dropShadow: !1,
              grayscale: !1,
              hueRotate: !1,
              invert: !1,
              opacity: !1,
              saturate: !1,
              sepia: !1,
            },
          },
          f =
            /[\uD83C|\uD83D|\uD83E][\uDC00-\uDFFF][\u200D|\uFE0F]|[\uD83C|\uD83D|\uD83E][\uDC00-\uDFFF]|[0-9|*|#]\uFE0F\u20E3|[0-9|#]\u20E3|[\u203C-\u3299]\uFE0F\u200D|[\u203C-\u3299]\uFE0F|[\u2122-\u2B55]|\u303D|[\A9|\AE]\u3030|\uA9|\uAE|\u3030/gi,
          d = 1;
      },
      66779: (t, e, n) => {
        "use strict";
        function r() {
          var t = navigator.userAgent || navigator.vendor || window.opera;
          return !(
            /iP(hone|od)|Android|BlackBerry|IEMobile/.test(t) ||
            ("MacIntel" == navigator.platform && navigator.maxTouchPoints > 1)
          );
        }
        n.d(e, { A: () => r });
      },
      68978: (t, e, n) => {
        "use strict";
        n.d(e, { Ay: () => is, xy: () => os, Oi: () => ns, GV: () => rs });
        var r = n(96850),
          i = n(74692),
          o = n.n(i),
          a = n(71542),
          s = n(42505);
        function c(t, e) {
          if (t !== e)
            throw new TypeError("Cannot instantiate an arrow function");
        }
        function l(t) {
          return (
            (function (t) {
              if (Array.isArray(t)) return u(t);
            })(t) ||
            (function (t) {
              if (
                ("undefined" != typeof Symbol && null != t[Symbol.iterator]) ||
                null != t["@@iterator"]
              )
                return Array.from(t);
            })(t) ||
            (function (t, e) {
              if (t) {
                if ("string" == typeof t) return u(t, e);
                var n = {}.toString.call(t).slice(8, -1);
                return (
                  "Object" === n && t.constructor && (n = t.constructor.name),
                  "Map" === n || "Set" === n
                    ? Array.from(t)
                    : "Arguments" === n ||
                      /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)
                    ? u(t, e)
                    : void 0
                );
              }
            })(t) ||
            (function () {
              throw new TypeError(
                "Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."
              );
            })()
          );
        }
        function u(t, e) {
          (null == e || e > t.length) && (e = t.length);
          for (var n = 0, r = Array(e); n < e; n++) r[n] = t[n];
          return r;
        }
        function f(t) {
          var e = this;
          t &&
            [].concat(l(t.xAxis || []), l(t.yAxis || [])).forEach(
              function (t) {
                !(function (t, e) {
                  if (t !== e)
                    throw new TypeError("Cannot instantiate an arrow function");
                })(this, e),
                  "auto" === t.min && (t.min = null),
                  "auto" === t.max && (t.max = null);
              }.bind(this)
            );
        }
        (0, s.register)({
          name: "apiInjector",
          version: "1.0.0",
          apply: function (t) {
            var e = this;
            t.inject = function (n) {
              var r = this;
              c(this, e),
                Object.keys(n).forEach(
                  function (e) {
                    c(this, r),
                      "function" == typeof n[e] && (t[e] = n[e].bind(t));
                  }.bind(this)
                );
            }.bind(this);
          },
        }),
          s.register({
            name: "axesMaxMin",
            version: "1.0.0",
            apply: function (t) {
              var e = this;
              t.addHook(
                "afterBuildRenderData",
                function () {
                  !(function (t, e) {
                    if (t !== e)
                      throw new TypeError(
                        "Cannot instantiate an arrow function"
                      );
                  })(this, e);
                  var n = t.getRunTimeData("renderData");
                  n && (f(n.options), t.setRunTimeData("renderData", n));
                }.bind(this)
              );
            },
          });
        var d = n(15354),
          h = n(52063),
          p = n(66779),
          m = n(41702),
          v = n(39767),
          g = (n(57259), n(46602)),
          y = n.n(g);
        function b(t, e) {
          if (t !== e)
            throw new TypeError("Cannot instantiate an arrow function");
        }
        var V = "fields",
          _ = "charts",
          w = ["switch-chart", "switch-field"],
          S = function () {
            var t,
              e,
              n = this;
            b(this, undefined);
            var i,
              s,
              c = null,
              l = !1,
              u = !1,
              f = !1,
              h = o()(
                '<div class="bicard-btn bicard-btn1" title="'.concat(
                  v.get("com.switchField"),
                  '"></div>'
                )
              ),
              p = o()(
                '<div class="bicard-btn bicard-btn2" title="'.concat(
                  v.get("com.switchChart"),
                  '"></div>'
                )
              ),
              g = o()(
                '<div class="bicard-btn bicard-btn3" title="'.concat(
                  v.get("com.dataInsight"),
                  '"></div>'
                )
              ),
              S = o()(
                '<div class="bicard-btn bicard-btn4" title="'.concat(
                  v.get("com.return"),
                  '"></div>'
                )
              ),
              E = function () {
                b(this, n),
                  o()(".bicard-btn-selected").removeClass(
                    "bicard-btn-selected"
                  ),
                  (c = null);
              }.bind(this),
              A = function () {
                var r =
                  arguments.length > 0 && void 0 !== arguments[0]
                    ? arguments[0]
                    : e;
                b(this, n),
                  o()(t).hide(),
                  r.$element.removeClass(w),
                  r.$parent.removeClass(w);
              }.bind(this),
              T = function () {
                var t = this;
                if ((b(this, n), !s)) {
                  var i = "".concat(
                    (0, r.F)(
                      "be/#/cardAnalysis/".concat(
                        e.config.biCardid,
                        "?preview=true"
                      )
                    )
                  );
                  if (u) {
                    var c = e.dataGetter.creator,
                      l = "-";
                    if (c.getDataConfig().modelConfigs) {
                      var f,
                        d =
                          null ===
                            (f = c.getDataConfig().modelConfigs._default_) ||
                          void 0 === f
                            ? void 0
                            : f[0];
                      if (!d) return;
                      (l = d.dataSet.datasetId),
                        (i =
                          d.dataSet.from === m.DATA_MODEL_FROM.DATA_INDEX
                            ? "".concat(
                                (0, r.F)("be/#/uxExplore/".concat(l, "/index"))
                              )
                            : d.dataSet.from ===
                              m.DATA_MODEL_FROM.PHYSICAL_INDEX
                            ? "".concat(
                                (0, r.F)("be/#/uxExplore/".concat(l, "/sign"))
                              )
                            : "".concat((0, r.F)("be/#/uxExplore/".concat(l))));
                    } else i = "".concat((0, r.F)("be/#/uxExplore/".concat(l)));
                  }
                  (s = o()(
                    a.A.template(y())({
                      width: 85,
                      height: 85,
                      title: v.get("com.dataInsight"),
                      src: i,
                    })
                  ))
                    .find(".bicard-modal-close")
                    .on(
                      "click",
                      function () {
                        b(this, t), s.remove(), (s = null), E();
                      }.bind(this)
                    ),
                    o()("html").append(s);
                }
              }.bind(this),
              O = function (r) {
                var a = this;
                b(this, n);
                var s = [h, p, g, S],
                  u = o()('<div class="bicard-operate"></div>');
                return (
                  u.append(s),
                  s.forEach(
                    function (n, r) {
                      var s = this;
                      b(this, a),
                        (n[0].onclick = function (a) {
                          var u,
                            d,
                            h = this;
                          b(this, s),
                            (null != a &&
                              null !== (u = a.target) &&
                              void 0 !== u &&
                              null !== (u = u.classList) &&
                              void 0 !== u &&
                              null !== (d = u.contains) &&
                              void 0 !== d &&
                              d.call(u, "bicard-btn-disable")) ||
                              c === n ||
                              ((l = !0),
                              o()(".bicard-btn-selected").removeClass(
                                "bicard-btn-selected"
                              ),
                              (c = n),
                              n.addClass("bicard-btn-selected"),
                              setTimeout(
                                function () {
                                  var n,
                                    a = this;
                                  switch ((b(this, h), r)) {
                                    case 0:
                                      var s;
                                      if (i[V])
                                        null === (s = e) ||
                                          void 0 === s ||
                                          null === (s = s.biCard) ||
                                          void 0 === s ||
                                          s.switchFields();
                                      else E();
                                      break;
                                    case 1:
                                      var c;
                                      if (i[_])
                                        null === (c = e) ||
                                          void 0 === c ||
                                          null === (c = c.biCard) ||
                                          void 0 === c ||
                                          c.switchCharts();
                                      else E();
                                      break;
                                    case 2:
                                      T();
                                      break;
                                    case 3:
                                      null === (n = e) ||
                                        void 0 === n ||
                                        null === (n = n.biCard) ||
                                        void 0 === n ||
                                        n.getCardInstance().then(
                                          function (t) {
                                            b(this, a),
                                              t.stackArr.length > 0 &&
                                                (t.drillUp(!0), E());
                                          }.bind(this)
                                        );
                                  }
                                  f && (o()(t).hide(), (f = !1));
                                }.bind(this)
                              ));
                        }.bind(this));
                    }.bind(this)
                  ),
                  u[0].addEventListener(
                    "mouseleave",
                    function () {
                      b(this, a), c || A();
                    }.bind(this),
                    !1
                  ),
                  u
                );
              }.bind(this),
              C = async function (t, r) {
                var i = this;
                b(this, n),
                  t &&
                    (t.$watch(
                      "isShowSwitchField",
                      function (t, e) {
                        var n = this;
                        b(this, i),
                          !1 === t && (l || (E(), A())),
                          setTimeout(
                            function () {
                              b(this, n), (l = !1);
                            }.bind(this)
                          );
                      }.bind(this)
                    ),
                    t.$watch(
                      "isShowSwitchChart",
                      async function (t, e) {
                        b(this, i), !1 === t && (l || (E(), A())), (l = !1);
                      }.bind(this)
                    ),
                    t.$watch(
                      "stackArr",
                      async function (t, n) {
                        b(this, i),
                          r.id === e.id && (t.length > 0 ? S.show() : S.hide());
                      }.bind(this)
                    ));
              }.bind(this),
              P = function (e) {
                var r, i, o;
                b(this, n);
                var a = (
                    (null === (r = (0, d.Vs)()) || void 0 === r
                      ? void 0
                      : r.config) || {}
                  ).resolution,
                  s =
                    (void 0 === a ? 0 : a) &&
                    null !==
                      (i =
                        null == e ||
                        null === (o = e.getRunTimeData) ||
                        void 0 === o ||
                        null === (o = o.call(e, "originConfig")) ||
                        void 0 === o
                          ? void 0
                          : o.basicConfig) &&
                    void 0 !== i
                      ? i
                      : e.getBasicConfig(),
                  c = e.parentInstance,
                  l = s.width;
                if (((f = !1), c)) {
                  var u = c.getBasicConfig();
                  c.card && (u = c.card.cardCfg.config),
                    s.left + s.width + 28 > u.width && ((l -= 28), (f = !0));
                }
                t.css({ left: l, top: 0, position: "absolute" });
              }.bind(this),
              x = async function (t) {
                for (var e in (b(this, n),
                (i = await t.biCard.getMenuStatus())))
                  i[e]
                    ? e === V
                      ? h.removeClass("bicard-btn-disable")
                      : e === _ && p.removeClass("bicard-btn-disable")
                    : e === V
                    ? h.addClass("bicard-btn-disable")
                    : e === _ && p.addClass("bicard-btn-disable");
              }.bind(this);
            return {
              getOperate: function (e) {
                var r = this;
                return (
                  b(this, n),
                  t || (t = O(e)),
                  e.biCard &&
                    e.addHook(
                      "afterRender",
                      function () {
                        b(this, r), C(e.instance, e);
                      }.bind(this)
                    ),
                  t
                );
              }.bind(this),
              showOperate: function (r) {
                var i,
                  a = this;
                if (
                  (b(this, n),
                  ((u = !r.biCard) ||
                    null !==
                      (null === (i = r.biCard) || void 0 === i
                        ? void 0
                        : i.app)) &&
                    t &&
                    !c)
                ) {
                  e = r;
                  var s = r.getBasicConfig(),
                    l = s.dataInsight,
                    f = void 0 !== l && l,
                    d = s.sceneAnalysis,
                    m = void 0 !== d && d;
                  r.$element.addClass(w),
                    r.$parent.addClass(w),
                    S.hide(),
                    u
                      ? (h.hide(),
                        p.hide(),
                        g.show(),
                        { width: 28, height: 28 })
                      : (x(r),
                        m ? (h.show(), p.show()) : (h.hide(), p.hide()),
                        f ? g.show() : g.hide(),
                        r.biCard.getCardInstance().then(
                          function (t) {
                            b(this, a), t.stackArr.length > 0 && S.show();
                          }.bind(this)
                        ),
                        { width: 28, height: 84 }),
                    P(r),
                    r.$parent.append(t),
                    o()(t).show();
                }
              }.bind(this),
              hideOperate: function (e, r) {
                b(this, n),
                  t &&
                    !c &&
                    (o().contains(t[0], e.relatedTarget) ||
                      t[0] === e.relatedTarget ||
                      A(r));
              }.bind(this),
            };
          }.bind(void 0)();
        function E(t, e) {
          if (t !== e)
            throw new TypeError("Cannot instantiate an arrow function");
        }
        (0, s.register)({
          name: "beOperate",
          version: "1.0.0",
          apply: function (t) {
            var e = this;
            t.addHook(
              "afterMount",
              function () {
                var n = this;
                E(this, e);
                var r = (0, d.Vs)();
                if ((0, p.A)() && r.type === h.PageType.Pc) {
                  var i;
                  if (
                    (S.getOperate(t),
                    (!t.biCard && !t.getBasicConfig().dataInsight) ||
                      "newsList" ===
                        (null == t ||
                        null === (i = t.parentInstance) ||
                        void 0 === i
                          ? void 0
                          : i.type))
                  )
                    return;
                  t.$element[0].addEventListener(
                    "mouseenter",
                    function (e) {
                      E(this, n), S.showOperate(t);
                    }.bind(this),
                    !1
                  ),
                    t.$element[0].addEventListener(
                      "mouseleave",
                      function (e) {
                        E(this, n), S.hideOperate(e, t);
                      }.bind(this),
                      !1
                    );
                }
              }.bind(this)
            );
          },
        });
        var A = n(5338);
        function T(t) {
          return (
            (T =
              "function" == typeof Symbol && "symbol" == typeof Symbol.iterator
                ? function (t) {
                    return typeof t;
                  }
                : function (t) {
                    return t &&
                      "function" == typeof Symbol &&
                      t.constructor === Symbol &&
                      t !== Symbol.prototype
                      ? "symbol"
                      : typeof t;
                  }),
            T(t)
          );
        }
        function O(t, e) {
          var n = Object.keys(t);
          if (Object.getOwnPropertySymbols) {
            var r = Object.getOwnPropertySymbols(t);
            e &&
              (r = r.filter(function (e) {
                return Object.getOwnPropertyDescriptor(t, e).enumerable;
              })),
              n.push.apply(n, r);
          }
          return n;
        }
        function C(t) {
          for (var e = 1; e < arguments.length; e++) {
            var n = null != arguments[e] ? arguments[e] : {};
            e % 2
              ? O(Object(n), !0).forEach(function (e) {
                  x(t, e, n[e]);
                })
              : Object.getOwnPropertyDescriptors
              ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(n))
              : O(Object(n)).forEach(function (e) {
                  Object.defineProperty(
                    t,
                    e,
                    Object.getOwnPropertyDescriptor(n, e)
                  );
                });
          }
          return t;
        }
        function P(t, e) {
          for (var n = 0; n < e.length; n++) {
            var r = e[n];
            (r.enumerable = r.enumerable || !1),
              (r.configurable = !0),
              "value" in r && (r.writable = !0),
              Object.defineProperty(t, k(r.key), r);
          }
        }
        function x(t, e, n) {
          return (
            (e = k(e)) in t
              ? Object.defineProperty(t, e, {
                  value: n,
                  enumerable: !0,
                  configurable: !0,
                  writable: !0,
                })
              : (t[e] = n),
            t
          );
        }
        function k(t) {
          var e = (function (t, e) {
            if ("object" != T(t) || !t) return t;
            var n = t[Symbol.toPrimitive];
            if (void 0 !== n) {
              var r = n.call(t, e || "default");
              if ("object" != T(r)) return r;
              throw new TypeError(
                "@@toPrimitive must return a primitive value."
              );
            }
            return ("string" === e ? String : Number)(t);
          })(t, "string");
          return "symbol" == T(e) ? e : e + "";
        }
        const I = new ((function () {
          return (
            (t = function t() {
              var e =
                arguments.length > 0 && void 0 !== arguments[0]
                  ? arguments[0]
                  : {};
              !(function (t, e) {
                if (!(t instanceof e))
                  throw new TypeError("Cannot call a class as a function");
              })(this, t),
                x(this, "state", {
                  loginStatus: !0,
                  leftBoard: !0,
                  rightBoard: !0,
                }),
                (this.state = C(C({}, this.state), e));
            }),
            (e = [
              {
                key: "get",
                value: function (t) {
                  return this.state[t];
                },
              },
              {
                key: "set",
                value: function (t, e) {
                  this.state[t] = e;
                },
              },
              {
                key: "destroy",
                value: function () {
                  this.state = null;
                },
              },
            ]) && P(t.prototype, e),
            n && P(t, n),
            Object.defineProperty(t, "prototype", { writable: !1 }),
            t
          );
          var t, e, n;
        })())();
        var j = n(48947),
          R = n(13916),
          D = n(96540),
          L = n(62952),
          M = n(39021),
          N = n(79209),
          B = n(18040);
        function U(t) {
          var e = this;
          return (0, N.post)(
            "".concat(B.Ay.UX_API, "/runner/card/getCardList"),
            t
          ).then(
            function (t) {
              var n = t.data;
              return (
                (function (t, e) {
                  if (t !== e)
                    throw new TypeError("Cannot instantiate an arrow function");
                })(this, e),
                n
              );
            }.bind(this)
          );
        }
        var F = n(42878),
          H = n(55368),
          G = n(28643),
          W = n(940);
        function z() {
          var t = this;
          return (0, N.get)(
            "".concat(B.Ay.VIEWER_BIZ, "/resultsCenter/resultsGroup/list")
          ).then(
            function (e) {
              var n = e.data;
              return (
                (function (t, e) {
                  if (t !== e)
                    throw new TypeError("Cannot instantiate an arrow function");
                })(this, t),
                [
                  {
                    id: "0",
                    name: v.get("common.i18n_72"),
                    childGroup: n || [],
                  },
                ]
              );
            }.bind(this)
          );
        }
        var q = n(64741);
        function X(t, e) {
          return (
            (function (t) {
              if (Array.isArray(t)) return t;
            })(t) ||
            (function (t, e) {
              var n =
                null == t
                  ? null
                  : ("undefined" != typeof Symbol && t[Symbol.iterator]) ||
                    t["@@iterator"];
              if (null != n) {
                var r,
                  i,
                  o,
                  a,
                  s = [],
                  c = !0,
                  l = !1;
                try {
                  if (((o = (n = n.call(t)).next), 0 === e)) {
                    if (Object(n) !== n) return;
                    c = !1;
                  } else
                    for (
                      ;
                      !(c = (r = o.call(n)).done) &&
                      (s.push(r.value), s.length !== e);
                      c = !0
                    );
                } catch (t) {
                  (l = !0), (i = t);
                } finally {
                  try {
                    if (
                      !c &&
                      null != n.return &&
                      ((a = n.return()), Object(a) !== a)
                    )
                      return;
                  } finally {
                    if (l) throw i;
                  }
                }
                return s;
              }
            })(t, e) ||
            (function (t, e) {
              if (t) {
                if ("string" == typeof t) return Y(t, e);
                var n = {}.toString.call(t).slice(8, -1);
                return (
                  "Object" === n && t.constructor && (n = t.constructor.name),
                  "Map" === n || "Set" === n
                    ? Array.from(t)
                    : "Arguments" === n ||
                      /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)
                    ? Y(t, e)
                    : void 0
                );
              }
            })(t, e) ||
            (function () {
              throw new TypeError(
                "Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."
              );
            })()
          );
        }
        function Y(t, e) {
          (null == e || e > t.length) && (e = t.length);
          for (var n = 0, r = Array(e); n < e; n++) r[n] = t[n];
          return r;
        }
        function K(t, e) {
          if (t !== e)
            throw new TypeError("Cannot instantiate an arrow function");
        }
        var Z = [
          v.get("common.i18n_64"),
          v.get("common.i18n_65"),
          v.get("common.i18n_66"),
        ];
        function J(t) {
          var e = this,
            n = t.cardList,
            i = void 0 === n ? [] : n,
            o = t.groupMap,
            a = void 0 === o ? {} : o,
            s = t.selectedIds,
            c = void 0 === s ? [] : s,
            l = t.onClick,
            u =
              void 0 === l
                ? function (t) {
                    K(this, e);
                  }.bind(this)
                : l,
            f = t.draggable,
            d = void 0 !== f && f,
            h = t.onDragStart,
            p =
              void 0 === h
                ? function (t, n) {
                    K(this, e);
                  }.bind(this)
                : h,
            m = t.onDelete,
            g =
              void 0 === m
                ? function (t) {
                    K(this, e);
                  }.bind(this)
                : m,
            y = t.loadMore,
            b = X((0, D.useState)(1), 2),
            V = b[0],
            _ = b[1],
            w = (0, D.useRef)(),
            S = (0, q.A)(
              function () {
                K(this, e);
                var t = w.current;
                t.clientHeight + t.scrollTop + 30 <= t.scrollHeight ||
                  (y ? y() : 12 * V >= i.length || _(V + 1));
              }.bind(this),
              300
            );
          return (
            (0, D.useEffect)(
              function () {
                K(this, e), _(1);
              }.bind(this),
              [i]
            ),
            (0, D.useEffect)(
              function () {
                var t = this;
                K(this, e),
                  w.current.addEventListener(
                    "wheel",
                    function (e) {
                      K(this, t),
                        e.deltaY > 0 &&
                          w.current.scrollHeight - w.current.scrollTop ===
                            w.current.clientHeight &&
                          e.preventDefault();
                    }.bind(this),
                    { passive: !1 }
                  );
              }.bind(this),
              []
            ),
            D.createElement(
              "div",
              { className: "bindCard__cardList", ref: w, onScroll: S },
              i.slice(0, y ? i.length : 12 * V).map(
                function (t) {
                  var n = this;
                  return (
                    K(this, e),
                    D.createElement(
                      "div",
                      {
                        className: "bindCard__cardItem ".concat(
                          c.includes(t.id) ? "bindCard__cardItem-selected" : ""
                        ),
                        key: t.id,
                        onClick: function () {
                          return K(this, n), u(t.id);
                        }.bind(this),
                      },
                      D.createElement(
                        "div",
                        { className: "bindCard__cardItemWrapper" },
                        D.createElement(
                          "div",
                          { className: "bindCard__cardImg" },
                          D.createElement("img", {
                            src: t.iconUrl ? (0, r.F)(t.iconUrl) : B.XK,
                            className: "bindCard__cardImg-blur",
                            onDragStart: function (e) {
                              K(this, n);
                              var r = t.id,
                                i = t.name;
                              p(e, { id: r, name: i });
                            }.bind(this),
                          }),
                          D.createElement("img", {
                            src: t.iconUrl ? (0, r.F)(t.iconUrl) : B.XK,
                            draggable: d,
                            onDragStart: function (e) {
                              K(this, n);
                              var r = t.id,
                                i = t.name;
                              p(e, { id: r, name: i });
                            }.bind(this),
                            className: "bindCard__cardImg-normal",
                          })
                        ),
                        D.createElement(
                          "div",
                          { className: "bindCard__cardInfo" },
                          D.createElement(
                            "div",
                            { className: "bindCard__cardInfoLine" },
                            D.createElement(
                              "div",
                              {
                                className:
                                  "bindCard__cardInfoItem bindCard__cardType",
                              },
                              Z[t.busAttrType]
                            ),
                            D.createElement(
                              "div",
                              {
                                className:
                                  "bindCard__cardInfoItem bindCard__cardName",
                                title: t.name,
                              },
                              t.name
                            )
                          ),
                          D.createElement(
                            "div",
                            {
                              className:
                                "bindCard__cardInfoItem bindCard__cardGroup",
                              title: a[t.groupId],
                            },
                            v.get("common.i18n_124"),
                            "：",
                            a[t.groupId]
                          )
                        ),
                        D.createElement(
                          "div",
                          { className: "bindCard__cardMask" },
                          D.createElement("span", {
                            className: "iconfont icona-querengougou",
                          })
                        ),
                        D.createElement(
                          "div",
                          {
                            className: "bindCard__deleteCard",
                            onClick: function () {
                              K(this, n), g(t);
                            }.bind(this),
                          },
                          D.createElement("span", {
                            className: "iconfont iconcha",
                          })
                        )
                      )
                    )
                  );
                }.bind(this)
              )
            )
          );
        }
        var Q = n(23850);
        function tt() {
          var t = this,
            e = [
              { value: -1, label: v.get("common.i18n_72") },
              { value: 0, label: v.get("common.i18n_73") },
              { value: 1, label: v.get("common.i18n_74") },
              { value: 2, label: v.get("common.i18n_75") },
            ],
            n = (0, Q.ph)().busAttrType,
            r = void 0 === n ? 0 : n;
          return 0 === r
            ? e
            : 1 === r
            ? e.slice(0, 3)
            : 2 === r
            ? e.filter(
                function (e) {
                  var n = e.value;
                  return (
                    (function (t, e) {
                      if (t !== e)
                        throw new TypeError(
                          "Cannot instantiate an arrow function"
                        );
                    })(this, t),
                    1 !== n
                  );
                }.bind(this)
              )
            : [];
        }
        function et(t, e) {
          if (t !== e)
            throw new TypeError("Cannot instantiate an arrow function");
        }
        var nt = function (t, e) {
          var n = this;
          et(this, undefined),
            t.forEach(
              function (t) {
                et(this, n),
                  (e[t.id] = t.name),
                  t.childGroup && t.childGroup.length && nt(t.childGroup, e);
              }.bind(this)
            );
        }.bind(void 0);
        function rt(t) {
          var e = {};
          return nt(t, e), e;
        }
        var it = n(64475);
        function ot(t) {
          var e = t.target.value;
          (e = e ? e.replace(it.Z$, "") : e), (t.target.value = e);
        }
        function at(t) {
          return (
            (at =
              "function" == typeof Symbol && "symbol" == typeof Symbol.iterator
                ? function (t) {
                    return typeof t;
                  }
                : function (t) {
                    return t &&
                      "function" == typeof Symbol &&
                      t.constructor === Symbol &&
                      t !== Symbol.prototype
                      ? "symbol"
                      : typeof t;
                  }),
            at(t)
          );
        }
        function st(t, e) {
          var n = Object.keys(t);
          if (Object.getOwnPropertySymbols) {
            var r = Object.getOwnPropertySymbols(t);
            e &&
              (r = r.filter(function (e) {
                return Object.getOwnPropertyDescriptor(t, e).enumerable;
              })),
              n.push.apply(n, r);
          }
          return n;
        }
        function ct(t) {
          for (var e = 1; e < arguments.length; e++) {
            var n = null != arguments[e] ? arguments[e] : {};
            e % 2
              ? st(Object(n), !0).forEach(function (e) {
                  lt(t, e, n[e]);
                })
              : Object.getOwnPropertyDescriptors
              ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(n))
              : st(Object(n)).forEach(function (e) {
                  Object.defineProperty(
                    t,
                    e,
                    Object.getOwnPropertyDescriptor(n, e)
                  );
                });
          }
          return t;
        }
        function lt(t, e, n) {
          return (
            (e = (function (t) {
              var e = (function (t, e) {
                if ("object" != at(t) || !t) return t;
                var n = t[Symbol.toPrimitive];
                if (void 0 !== n) {
                  var r = n.call(t, e || "default");
                  if ("object" != at(r)) return r;
                  throw new TypeError(
                    "@@toPrimitive must return a primitive value."
                  );
                }
                return ("string" === e ? String : Number)(t);
              })(t, "string");
              return "symbol" == at(e) ? e : e + "";
            })(e)) in t
              ? Object.defineProperty(t, e, {
                  value: n,
                  enumerable: !0,
                  configurable: !0,
                  writable: !0,
                })
              : (t[e] = n),
            t
          );
        }
        function ut(t) {
          return (
            (function (t) {
              if (Array.isArray(t)) return pt(t);
            })(t) ||
            (function (t) {
              if (
                ("undefined" != typeof Symbol && null != t[Symbol.iterator]) ||
                null != t["@@iterator"]
              )
                return Array.from(t);
            })(t) ||
            ht(t) ||
            (function () {
              throw new TypeError(
                "Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."
              );
            })()
          );
        }
        function ft(t, e) {
          if (t !== e)
            throw new TypeError("Cannot instantiate an arrow function");
        }
        function dt(t, e) {
          return (
            (function (t) {
              if (Array.isArray(t)) return t;
            })(t) ||
            (function (t, e) {
              var n =
                null == t
                  ? null
                  : ("undefined" != typeof Symbol && t[Symbol.iterator]) ||
                    t["@@iterator"];
              if (null != n) {
                var r,
                  i,
                  o,
                  a,
                  s = [],
                  c = !0,
                  l = !1;
                try {
                  if (((o = (n = n.call(t)).next), 0 === e)) {
                    if (Object(n) !== n) return;
                    c = !1;
                  } else
                    for (
                      ;
                      !(c = (r = o.call(n)).done) &&
                      (s.push(r.value), s.length !== e);
                      c = !0
                    );
                } catch (t) {
                  (l = !0), (i = t);
                } finally {
                  try {
                    if (
                      !c &&
                      null != n.return &&
                      ((a = n.return()), Object(a) !== a)
                    )
                      return;
                  } finally {
                    if (l) throw i;
                  }
                }
                return s;
              }
            })(t, e) ||
            ht(t, e) ||
            (function () {
              throw new TypeError(
                "Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."
              );
            })()
          );
        }
        function ht(t, e) {
          if (t) {
            if ("string" == typeof t) return pt(t, e);
            var n = {}.toString.call(t).slice(8, -1);
            return (
              "Object" === n && t.constructor && (n = t.constructor.name),
              "Map" === n || "Set" === n
                ? Array.from(t)
                : "Arguments" === n ||
                  /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)
                ? pt(t, e)
                : void 0
            );
          }
        }
        function pt(t, e) {
          (null == e || e > t.length) && (e = t.length);
          for (var n = 0, r = Array(e); n < e; n++) r[n] = t[n];
          return r;
        }
        function mt(t, e) {
          var n = this,
            r = t.cardIds,
            i = t.setDisable,
            o = dt((0, D.useState)(tt()), 2),
            a = o[0],
            s = (o[1], dt((0, D.useState)(0), 2)),
            c = (s[0], s[1]),
            l = dt(
              (0, D.useState)({
                name: "",
                pageIndex: 1,
                pageSize: 9999,
                types: a.slice(1).map(
                  function (t) {
                    var e = t.value;
                    return ft(this, n), e;
                  }.bind(this)
                ),
                groupId: "",
              }),
              2
            ),
            u = l[0],
            f = l[1],
            d = dt((0, D.useState)([]), 2),
            h = d[0],
            p = d[1],
            m = dt((0, D.useState)(ut(r)), 2),
            g = m[0],
            y = m[1],
            b = dt((0, D.useState)([]), 2),
            V = b[0],
            _ = b[1],
            w = dt((0, D.useState)([]), 2),
            S = w[0],
            E = w[1],
            A = dt((0, D.useState)([]), 2),
            T = A[0],
            O = A[1],
            C = dt((0, D.useState)(!1), 2),
            P = C[0],
            x = C[1],
            k = dt((0, D.useState)(!1), 2),
            I = k[0],
            j = k[1],
            R = function (t) {
              ft(this, n), O(t);
            }.bind(this),
            L = function (t, e) {
              var r = this;
              ft(this, n);
              var i = t.find(
                  function (t) {
                    var n = t.id;
                    return ft(this, r), !e.includes(n);
                  }.bind(this)
                ),
                o = t.find(
                  function (t) {
                    var n = t.id;
                    return ft(this, r), e.includes(n);
                  }.bind(this)
                );
              o ? (i ? (x(!1), j(!0)) : (x(!0), j(!1))) : (x(!1), j(!1));
            }.bind(this),
            M = function (t) {
              ft(this, n);
              var e = g.indexOf(t),
                r = ut(g);
              -1 === e ? (r = [].concat(ut(g), [t])) : r.splice(e, 1),
                y(r),
                L(h, r);
            }.bind(this),
            N = function (t, e) {
              var r = e.node;
              if ((ft(this, n), !S.includes(r.id))) {
                E(t);
                var i = "0" === t[0] ? "" : t[0],
                  o = t.length > 0 ? i : "";
                f(ct(ct({}, u), {}, { groupId: o, pageIndex: 1 }));
              }
            }.bind(this),
            $ = function (t) {
              var e = this;
              ft(this, n);
              var r = t.target.checked;
              if ((j(!1), x(r), r)) {
                var i = [].concat(
                  ut(g),
                  ut(
                    h.map(
                      function (t) {
                        var n = t.id;
                        return ft(this, e), n;
                      }.bind(this)
                    )
                  )
                );
                y(Array.from(new Set(i)));
              } else
                y(
                  g.filter(
                    function (t) {
                      var n = this;
                      return (
                        ft(this, e),
                        !h.find(
                          function (e) {
                            var r = e.id;
                            return ft(this, n), r === t;
                          }.bind(this)
                        )
                      );
                    }.bind(this)
                  )
                );
            }.bind(this);
          (0, D.useImperativeHandle)(
            e,
            function () {
              var e = this;
              return (
                ft(this, n),
                {
                  setBindCards: function () {
                    ft(this, e), t.setCardIds(ut(g));
                  }.bind(this),
                }
              );
            }.bind(this)
          ),
            (0, D.useEffect)(
              function () {
                var t = this;
                ft(this, n),
                  z().then(
                    function (e) {
                      ft(this, t), _(e), O(["0"]), E(["0"]);
                    }.bind(this)
                  );
              }.bind(this),
              []
            ),
            (0, D.useEffect)(
              function () {
                var t = this;
                ft(this, n),
                  U(u).then(
                    function (e) {
                      ft(this, t), c(e.totalCount || 0);
                      var n = [];
                      (n =
                        1 === u.pageIndex
                          ? e.records || []
                          : [].concat(ut(h), ut(e.records || []))),
                        L(n, g),
                        p(n);
                    }.bind(this)
                  );
              }.bind(this),
              [u]
            ),
            (0, D.useEffect)(
              function () {
                ft(this, n), g.length ? i(!1) : i(!0);
              }.bind(this),
              [g]
            );
          var B = (0, D.useRef)();
          return D.createElement(
            "div",
            { className: "selectCardContent", ref: B },
            D.createElement(
              "div",
              { className: "bindCard__groupTree" },
              D.createElement(F.A, {
                blockNode: !0,
                fieldNames: {
                  title: "name",
                  key: "id",
                  children: "childGroup",
                },
                treeData: V,
                titleRender: function (t) {
                  return D.createElement(
                    D.Fragment,
                    null,
                    D.createElement("span", {
                      className: "bindCard__groupIcon iconfont iconwenjianjia1",
                    }),
                    t.name
                  );
                },
                expandedKeys: T,
                onExpand: R,
                selectedKeys: S,
                onSelect: N,
              })
            ),
            D.createElement(
              "div",
              { className: "bindCard__cardContent" },
              D.createElement(
                "div",
                { className: "bindCard__cardsHeader" },
                D.createElement(
                  "div",
                  { className: "bindCard__cardsHeaderSearch" },
                  v.get("common.i18n_118"),
                  "：",
                  D.createElement(H.A, {
                    options: a,
                    size: "small",
                    style: { width: "128px", marginRight: "16px" },
                    defaultValue: -1,
                    onSelect: function (t) {
                      var e = this;
                      ft(this, n),
                        f(
                          ct(
                            ct({}, u),
                            {},
                            -1 === t
                              ? {
                                  types: a.slice(1).map(
                                    function (t) {
                                      var n = t.value;
                                      return ft(this, e), n;
                                    }.bind(this)
                                  ),
                                  pageIndex: 1,
                                }
                              : { types: [t], pageIndex: 1 }
                          )
                        );
                    }.bind(this),
                    getPopupContainer: function () {
                      return ft(this, n), B.current;
                    }.bind(this),
                  }),
                  D.createElement(G.A.Search, {
                    size: "small",
                    placeholder: v.get("common.i18n_62"),
                    onSearch: function (t) {
                      ft(this, n),
                        f(ct(ct({}, u), {}, { name: t.trim(), pageIndex: 1 }));
                    }.bind(this),
                    onBlur: function (t) {
                      ft(this, n);
                      var e = t.target.value;
                      f(ct(ct({}, u), {}, { name: e.trim(), pageIndex: 1 }));
                    }.bind(this),
                    onInput: ot,
                    maxLength: 64,
                  })
                ),
                D.createElement(
                  "div",
                  { className: "bindCard__cardsHeaderSelect" },
                  D.createElement(W.A, {
                    style: { marginRight: "8px" },
                    onChange: $,
                    indeterminate: I,
                    checked: P,
                  }),
                  v.get("common.i18n_119")
                )
              ),
              h.length
                ? D.createElement(J, {
                    cardList: h,
                    groupMap: rt(V),
                    selectedIds: g,
                    onClick: M,
                  })
                : D.createElement(
                    "div",
                    { className: "common__emptyData" },
                    D.createElement("i", {
                      className: "iconwushuju iconfont common__emptyData-icon",
                    }),
                    D.createElement("p", null, v.get("system.emptyData"))
                  )
            )
          );
        }
        const vt = (0, D.forwardRef)(mt);
        var gt = n(50400);
        function yt(t) {
          var e = this;
          return (0, N.post)(
            "".concat(B.Ay.UX_API, "/runner/card/getCardInfoByIdList"),
            t
          ).then(
            function (t) {
              var n = t.data;
              return (
                (function (t, e) {
                  if (t !== e)
                    throw new TypeError("Cannot instantiate an arrow function");
                })(this, e),
                n
              );
            }.bind(this)
          );
        }
        function bt(t) {
          return (
            (bt =
              "function" == typeof Symbol && "symbol" == typeof Symbol.iterator
                ? function (t) {
                    return typeof t;
                  }
                : function (t) {
                    return t &&
                      "function" == typeof Symbol &&
                      t.constructor === Symbol &&
                      t !== Symbol.prototype
                      ? "symbol"
                      : typeof t;
                  }),
            bt(t)
          );
        }
        function Vt(t, e) {
          var n = Object.keys(t);
          if (Object.getOwnPropertySymbols) {
            var r = Object.getOwnPropertySymbols(t);
            e &&
              (r = r.filter(function (e) {
                return Object.getOwnPropertyDescriptor(t, e).enumerable;
              })),
              n.push.apply(n, r);
          }
          return n;
        }
        function _t(t) {
          for (var e = 1; e < arguments.length; e++) {
            var n = null != arguments[e] ? arguments[e] : {};
            e % 2
              ? Vt(Object(n), !0).forEach(function (e) {
                  wt(t, e, n[e]);
                })
              : Object.getOwnPropertyDescriptors
              ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(n))
              : Vt(Object(n)).forEach(function (e) {
                  Object.defineProperty(
                    t,
                    e,
                    Object.getOwnPropertyDescriptor(n, e)
                  );
                });
          }
          return t;
        }
        function wt(t, e, n) {
          return (
            (e = (function (t) {
              var e = (function (t, e) {
                if ("object" != bt(t) || !t) return t;
                var n = t[Symbol.toPrimitive];
                if (void 0 !== n) {
                  var r = n.call(t, e || "default");
                  if ("object" != bt(r)) return r;
                  throw new TypeError(
                    "@@toPrimitive must return a primitive value."
                  );
                }
                return ("string" === e ? String : Number)(t);
              })(t, "string");
              return "symbol" == bt(e) ? e : e + "";
            })(e)) in t
              ? Object.defineProperty(t, e, {
                  value: n,
                  enumerable: !0,
                  configurable: !0,
                  writable: !0,
                })
              : (t[e] = n),
            t
          );
        }
        function St(t) {
          return (
            (function (t) {
              if (Array.isArray(t)) return Tt(t);
            })(t) ||
            (function (t) {
              if (
                ("undefined" != typeof Symbol && null != t[Symbol.iterator]) ||
                null != t["@@iterator"]
              )
                return Array.from(t);
            })(t) ||
            At(t) ||
            (function () {
              throw new TypeError(
                "Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."
              );
            })()
          );
        }
        function Et(t, e) {
          return (
            (function (t) {
              if (Array.isArray(t)) return t;
            })(t) ||
            (function (t, e) {
              var n =
                null == t
                  ? null
                  : ("undefined" != typeof Symbol && t[Symbol.iterator]) ||
                    t["@@iterator"];
              if (null != n) {
                var r,
                  i,
                  o,
                  a,
                  s = [],
                  c = !0,
                  l = !1;
                try {
                  if (((o = (n = n.call(t)).next), 0 === e)) {
                    if (Object(n) !== n) return;
                    c = !1;
                  } else
                    for (
                      ;
                      !(c = (r = o.call(n)).done) &&
                      (s.push(r.value), s.length !== e);
                      c = !0
                    );
                } catch (t) {
                  (l = !0), (i = t);
                } finally {
                  try {
                    if (
                      !c &&
                      null != n.return &&
                      ((a = n.return()), Object(a) !== a)
                    )
                      return;
                  } finally {
                    if (l) throw i;
                  }
                }
                return s;
              }
            })(t, e) ||
            At(t, e) ||
            (function () {
              throw new TypeError(
                "Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."
              );
            })()
          );
        }
        function At(t, e) {
          if (t) {
            if ("string" == typeof t) return Tt(t, e);
            var n = {}.toString.call(t).slice(8, -1);
            return (
              "Object" === n && t.constructor && (n = t.constructor.name),
              "Map" === n || "Set" === n
                ? Array.from(t)
                : "Arguments" === n ||
                  /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)
                ? Tt(t, e)
                : void 0
            );
          }
        }
        function Tt(t, e) {
          (null == e || e > t.length) && (e = t.length);
          for (var n = 0, r = Array(e); n < e; n++) r[n] = t[n];
          return r;
        }
        function Ot(t, e) {
          if (t !== e)
            throw new TypeError("Cannot instantiate an arrow function");
        }
        function Ct(t, e) {
          var n = this,
            r = t.cardIds,
            i = t.addCard,
            o =
              void 0 === i
                ? function () {
                    Ot(this, n);
                  }.bind(this)
                : i,
            a = t.clearAll,
            s =
              void 0 === a
                ? function () {
                    Ot(this, n);
                  }.bind(this)
                : a,
            c = t.setCardIds,
            l = Et((0, D.useState)({ keyword: "", idList: r }), 2),
            u = l[0],
            f = l[1],
            d = Et((0, D.useState)([]), 2),
            h = d[0],
            p = d[1],
            m = Et((0, D.useState)([]), 2),
            g = m[0],
            y = m[1],
            b = function () {
              var t = this;
              Ot(this, n),
                (0, M.confirmModal)({
                  content: v.get("common.i18n_63"),
                  onOk: s,
                  getContainer: function () {
                    return Ot(this, t), document.body;
                  }.bind(this),
                });
            }.bind(this),
            V = function (t) {
              var e = this;
              Ot(this, n);
              var i = r.findIndex(
                  function (n) {
                    return Ot(this, e), n === t.id;
                  }.bind(this)
                ),
                o = St(r);
              o.splice(i, 1), c(o), f(_t(_t({}, u), {}, { idList: o }));
            }.bind(this);
          return (
            (0, D.useEffect)(
              function () {
                var t = this;
                Ot(this, n),
                  z().then(
                    function (e) {
                      Ot(this, t), y(e);
                    }.bind(this)
                  );
              }.bind(this),
              []
            ),
            (0, D.useEffect)(
              function () {
                var t = this;
                Ot(this, n),
                  yt(u).then(
                    function (e) {
                      var n = this;
                      Ot(this, t);
                      var r = e || [];
                      r.forEach(
                        function (t) {
                          Ot(this, n);
                          var e = t.iconUrl;
                          e &&
                            (t.iconUrl = "/ux/static/customer/runner/card/"
                              .concat(t.id, "/")
                              .concat(e));
                        }.bind(this)
                      ),
                        p(r);
                    }.bind(this)
                  );
              }.bind(this),
              [u]
            ),
            D.createElement(
              "div",
              { className: "selectedCardContent" },
              D.createElement(
                "div",
                { className: "bindCard__cardsHeader" },
                D.createElement(
                  "div",
                  { className: "bindCard__cardsHeaderSearch" },
                  D.createElement(G.A.Search, {
                    size: "small",
                    onSearch: function (t) {
                      Ot(this, n), f(_t(_t({}, u), {}, { keyword: t.trim() }));
                    }.bind(this),
                    onBlur: function (t) {
                      Ot(this, n);
                      var e = t.target.value;
                      f(_t(_t({}, u), {}, { keyword: e.trim() }));
                    }.bind(this),
                    onInput: ot,
                    placeholder: v.get("common.i18n_62"),
                    maxLength: 64,
                  })
                ),
                D.createElement(
                  "div",
                  { className: "bindCard__cardsHeaderBtns" },
                  D.createElement(
                    gt.A,
                    {
                      type: "primary",
                      className: "bindCard__addCardBtn",
                      size: "small",
                      onClick: o,
                    },
                    v.get("common.i18n_115")
                  ),
                  D.createElement(
                    gt.A,
                    {
                      type: "default",
                      size: "small",
                      disabled: !r.length,
                      onClick: b,
                    },
                    v.get("common.i18n_116")
                  )
                )
              ),
              h.length
                ? D.createElement(J, {
                    cardList: h,
                    groupMap: rt(g),
                    selectedIds: [],
                    onDelete: V,
                  })
                : D.createElement(
                    "div",
                    { className: "common__emptyData" },
                    D.createElement("i", {
                      className: "iconwushuju iconfont common__emptyData-icon",
                    }),
                    D.createElement("p", null, v.get("system.emptyData"))
                  ),
              D.createElement(
                "div",
                { className: "bindCard__cardTotal" },
                v.get("common.i18n_117").replace("${length}", String(h.length))
              )
            )
          );
        }
        const Pt = (0, D.forwardRef)(Ct);
        function xt(t, e) {
          if (t !== e)
            throw new TypeError("Cannot instantiate an arrow function");
        }
        function kt(t) {
          return (
            (function (t) {
              if (Array.isArray(t)) return Rt(t);
            })(t) ||
            (function (t) {
              if (
                ("undefined" != typeof Symbol && null != t[Symbol.iterator]) ||
                null != t["@@iterator"]
              )
                return Array.from(t);
            })(t) ||
            jt(t) ||
            (function () {
              throw new TypeError(
                "Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."
              );
            })()
          );
        }
        function It(t, e) {
          return (
            (function (t) {
              if (Array.isArray(t)) return t;
            })(t) ||
            (function (t, e) {
              var n =
                null == t
                  ? null
                  : ("undefined" != typeof Symbol && t[Symbol.iterator]) ||
                    t["@@iterator"];
              if (null != n) {
                var r,
                  i,
                  o,
                  a,
                  s = [],
                  c = !0,
                  l = !1;
                try {
                  if (((o = (n = n.call(t)).next), 0 === e)) {
                    if (Object(n) !== n) return;
                    c = !1;
                  } else
                    for (
                      ;
                      !(c = (r = o.call(n)).done) &&
                      (s.push(r.value), s.length !== e);
                      c = !0
                    );
                } catch (t) {
                  (l = !0), (i = t);
                } finally {
                  try {
                    if (
                      !c &&
                      null != n.return &&
                      ((a = n.return()), Object(a) !== a)
                    )
                      return;
                  } finally {
                    if (l) throw i;
                  }
                }
                return s;
              }
            })(t, e) ||
            jt(t, e) ||
            (function () {
              throw new TypeError(
                "Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."
              );
            })()
          );
        }
        function jt(t, e) {
          if (t) {
            if ("string" == typeof t) return Rt(t, e);
            var n = {}.toString.call(t).slice(8, -1);
            return (
              "Object" === n && t.constructor && (n = t.constructor.name),
              "Map" === n || "Set" === n
                ? Array.from(t)
                : "Arguments" === n ||
                  /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)
                ? Rt(t, e)
                : void 0
            );
          }
        }
        function Rt(t, e) {
          (null == e || e > t.length) && (e = t.length);
          for (var n = 0, r = Array(e); n < e; n++) r[n] = t[n];
          return r;
        }
        var Dt = (function (t) {
          return (
            (t[(t.noBindCard = 1)] = "noBindCard"),
            (t[(t.selectCard = 2)] = "selectCard"),
            (t[(t.confirmCard = 3)] = "confirmCard"),
            t
          );
        })({});
        function Lt(t) {
          var e,
            n = this,
            r = t.component,
            i = r.getBasicConfig().bindCards,
            o = void 0 === i ? [] : i,
            a = It((0, D.useState)(kt(o)), 2),
            s = a[0],
            c = a[1],
            l = It((0, D.useState)(!0), 2),
            u = l[0],
            f = l[1],
            d = It(
              (0, D.useState)(0 === s.length ? Dt.noBindCard : Dt.confirmCard),
              2
            ),
            h = d[0],
            p = d[1],
            m = It((0, D.useState)(), 2),
            g = m[0],
            y = m[1],
            b = function () {
              var t = this;
              xt(this, n),
                U({
                  name: "",
                  pageIndex: 1,
                  pageSize: 9999,
                  types: tt()
                    .slice(1)
                    .map(
                      function (e) {
                        var n = e.value;
                        return xt(this, t), n;
                      }.bind(this)
                    ),
                  groupId: "",
                }).then(
                  function (e) {
                    var n = this;
                    xt(this, t);
                    var r = (e.records || []).map(
                      function (t) {
                        return xt(this, n), t.id;
                      }.bind(this)
                    );
                    c(kt(r)),
                      r.length > 0
                        ? p(Dt.confirmCard)
                        : (0, L.warningMessage)({
                            content: v.get("common.i18n_67"),
                          });
                  }.bind(this)
                );
            }.bind(this),
            V = D.createElement(
              "div",
              { className: "noSelectContent" },
              D.createElement(
                "div",
                {
                  className: "bindCard__addCard",
                  onClick: function () {
                    xt(this, n), y(h), p(Dt.selectCard);
                  }.bind(this),
                },
                D.createElement("i", { className: "iconfont icona-jiahao2" }),
                v.get("common.i18n_115")
              ),
              D.createElement(
                "div",
                { className: "bindCard__addCard bindCard__addAll", onClick: b },
                D.createElement("i", { className: "iconfont icona-jiahao2" }),
                v.get("common.i18n_123")
              )
            ),
            _ = (0, D.useRef)(),
            w = function () {
              var e,
                i = this;
              (xt(this, n), h === Dt.selectCard)
                ? (null == _ ||
                    null === (e = _.current) ||
                    void 0 === e ||
                    e.setBindCards(),
                  p(Dt.confirmCard),
                  y(void 0),
                  setTimeout(
                    function () {
                      var t;
                      xt(this, i),
                        null ===
                          (t = document.querySelector(
                            "#designer__bindCardModal .ant-modal-footer .ant-btn-primary"
                          )) ||
                          void 0 === t ||
                          t.blur();
                    }.bind(this)
                  ))
                : ((r.getBasicConfig().bindCards = kt(s)),
                  r.updateBindCards(),
                  f(!1),
                  t.container.remove(),
                  "function" == typeof r.hideDragCardList &&
                    (r.hideDragCardList(), r.showDragCardList()));
            }.bind(this),
            S = function () {
              if ((xt(this, n), h !== Dt.selectCard))
                return f(!1), void t.container.remove();
              g && (p(g), y(void 0));
            }.bind(this),
            E = It(
              (0, D.useState)(
                !(
                  null !== (e = r.getBasicConfig().bindCards) &&
                  void 0 !== e &&
                  e.length
                )
              ),
              2
            ),
            A = E[0],
            T = E[1];
          return D.createElement(
            M.default,
            {
              title:
                h === Dt.selectCard
                  ? v.get("common.i18n_68")
                  : v.get("common.i18n_69"),
              open: u,
              getContainer: function () {
                return xt(this, n), t.container;
              }.bind(this),
              onOk: w,
              onCancel: S,
              width: 1080,
              style: { height: "584px" },
              className: { bindCard__noConfirmModal: h === Dt.noBindCard },
              okButtonProps: { disabled: A && h === Dt.selectCard },
              focusTriggerAfterClose: !1,
            },
            h === Dt.noBindCard ? V : null,
            h === Dt.selectCard
              ? D.createElement(vt, {
                  ref: _,
                  setDisable: function (t) {
                    xt(this, n), T(t);
                  }.bind(this),
                  cardIds: s,
                  setCardIds: c,
                })
              : null,
            h === Dt.confirmCard
              ? D.createElement(Pt, {
                  addCard: function () {
                    xt(this, n), y(h), p(Dt.selectCard);
                  }.bind(this),
                  clearAll: function () {
                    xt(this, n),
                      (r.getBasicConfig().bindCards = []),
                      c([]),
                      r.updateBindCards(),
                      p(Dt.noBindCard),
                      "function" == typeof r.hideDragCardList &&
                        (r.hideDragCardList(), r.showDragCardList());
                  }.bind(this),
                  cardIds: s,
                  setCardIds: c,
                })
              : null
          );
        }
        const Mt = n.p + "images/empty.2d4b.svg";
        function Nt(t, e) {
          if (t !== e)
            throw new TypeError("Cannot instantiate an arrow function");
        }
        function $t(t, e) {
          return (
            (function (t) {
              if (Array.isArray(t)) return t;
            })(t) ||
            (function (t, e) {
              var n =
                null == t
                  ? null
                  : ("undefined" != typeof Symbol && t[Symbol.iterator]) ||
                    t["@@iterator"];
              if (null != n) {
                var r,
                  i,
                  o,
                  a,
                  s = [],
                  c = !0,
                  l = !1;
                try {
                  if (((o = (n = n.call(t)).next), 0 === e)) {
                    if (Object(n) !== n) return;
                    c = !1;
                  } else
                    for (
                      ;
                      !(c = (r = o.call(n)).done) &&
                      (s.push(r.value), s.length !== e);
                      c = !0
                    );
                } catch (t) {
                  (l = !0), (i = t);
                } finally {
                  try {
                    if (
                      !c &&
                      null != n.return &&
                      ((a = n.return()), Object(a) !== a)
                    )
                      return;
                  } finally {
                    if (l) throw i;
                  }
                }
                return s;
              }
            })(t, e) ||
            (function (t, e) {
              if (t) {
                if ("string" == typeof t) return Bt(t, e);
                var n = {}.toString.call(t).slice(8, -1);
                return (
                  "Object" === n && t.constructor && (n = t.constructor.name),
                  "Map" === n || "Set" === n
                    ? Array.from(t)
                    : "Arguments" === n ||
                      /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)
                    ? Bt(t, e)
                    : void 0
                );
              }
            })(t, e) ||
            (function () {
              throw new TypeError(
                "Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."
              );
            })()
          );
        }
        function Bt(t, e) {
          (null == e || e > t.length) && (e = t.length);
          for (var n = 0, r = Array(e); n < e; n++) r[n] = t[n];
          return r;
        }
        function Ut(t) {
          var e,
            n,
            r,
            i = this,
            o = t.component.getBasicConfig().bindCards,
            a = void 0 === o ? [] : o,
            s = $t((0, D.useState)(""), 2),
            c = s[0],
            l = s[1],
            u = $t((0, D.useState)([]), 2),
            f = u[0],
            d = u[1],
            h = $t((0, D.useState)([]), 2),
            p = h[0],
            m = h[1],
            g = $t((0, D.useState)(!1), 2),
            y = g[0],
            b = g[1],
            V = !1,
            _ = (0, D.useRef)();
          return (
            (0, D.useEffect)(
              function () {
                var t = this;
                Nt(this, i),
                  z().then(
                    function (e) {
                      Nt(this, t), m(e);
                    }.bind(this)
                  );
              }.bind(this),
              []
            ),
            (0, D.useEffect)(
              function () {
                var t = this;
                Nt(this, i),
                  yt({ idList: a, keyword: c })
                    .then(
                      function (e) {
                        var n = this;
                        Nt(this, t);
                        var r = e || [];
                        r.forEach(
                          function (t) {
                            Nt(this, n);
                            var e = t.iconUrl;
                            e &&
                              (t.iconUrl = "/ux/static/customer/runner/card/"
                                .concat(t.id, "/")
                                .concat(e));
                          }.bind(this)
                        ),
                          d(r);
                      }.bind(this)
                    )
                    .finally(
                      function () {
                        Nt(this, t), b(!0);
                      }.bind(this)
                    );
              }.bind(this),
              [c]
            ),
            (0, D.useEffect)(
              function () {
                var e = this;
                Nt(this, i),
                  _.current &&
                    t.draggable &&
                    (_.current.parentNode.addEventListener(
                      "mousedown",
                      function (t) {
                        var i = this;
                        Nt(this, e),
                          (t.path || t.composedPath()).find(
                            function (t) {
                              var e;
                              return (
                                Nt(this, i),
                                null === (e = t.classList) || void 0 === e
                                  ? void 0
                                  : e.contains("bindCard__cardItemWrapper")
                              );
                            }.bind(this)
                          ) || ((V = !0), (n = t.clientX), (r = t.clientY));
                      }.bind(this)
                    ),
                    document.addEventListener(
                      "mousemove",
                      function (t) {
                        if ((Nt(this, e), V)) {
                          var i = t.clientX - n,
                            o = t.clientY - r;
                          (_.current.parentNode.style.left =
                            parseInt(_.current.parentNode.style.left) +
                            i +
                            "px"),
                            (_.current.parentNode.style.top =
                              parseInt(_.current.parentNode.style.top) +
                              o +
                              "px"),
                            (n = t.clientX),
                            (r = t.clientY);
                        }
                      }.bind(this)
                    ),
                    document.addEventListener(
                      "mouseup",
                      function () {
                        Nt(this, e), (V = !1);
                      }.bind(this)
                    ));
              }.bind(this),
              [_]
            ),
            D.createElement(
              "div",
              { className: "dragCardList", ref: _ },
              D.createElement(
                "div",
                { className: "dragCardList__title" },
                null !== (e = t.title) && void 0 !== e
                  ? e
                  : v.get("common.i18n_70")
              ),
              D.createElement(
                "div",
                { className: "dragCardList__search" },
                D.createElement(G.A.Search, {
                  size: "small",
                  placeholder: v.get("common.i18n_71"),
                  onSearch: function (t) {
                    Nt(this, i), l(t.trim());
                  }.bind(this),
                  onBlur: function (t) {
                    Nt(this, i);
                    var e = t.target.value;
                    l(e.trim());
                  }.bind(this),
                  onInput: ot,
                  maxLength: 64,
                })
              ),
              f.length
                ? D.createElement(J, {
                    cardList: f,
                    groupMap: rt(p),
                    selectedIds: [],
                    draggable: !0,
                    onDragStart: function (t, e) {
                      Nt(this, i),
                        t.dataTransfer.setData("cardInfo", JSON.stringify(e));
                    }.bind(this),
                  })
                : null,
              !f.length && y
                ? D.createElement(
                    "div",
                    { className: "common__emptyData" },
                    D.createElement("img", {
                      className: "emptyData-icon",
                      src: Mt,
                    }),
                    D.createElement("p", null, v.get("com.emptyData"))
                  )
                : null
            )
          );
        }
        function Ft(t, e) {
          if (t !== e)
            throw new TypeError("Cannot instantiate an arrow function");
        }
        s.register({
          version: "1.0.0",
          name: "bindCardToComponent",
          apply: function (t) {
            (0, R.A7)() &&
              (t.bindCardToComponent = function () {
                var e = document.createElement("div");
                (e.id = "designer__bindCardModal"),
                  e.setAttribute("class", "uxStyle"),
                  document.body.append(e);
                var n = A.createRoot(e);
                !(function (t, e) {
                  e.render(D.createElement(Lt, t));
                })({ component: t, container: e }, n);
              }),
              (t.showDragCardList = function (e) {
                var n,
                  r = this,
                  i = document.createElement("div");
                i.classList.add(
                  "dragCardListCtn",
                  "uxStyle",
                  "component-selectable-cancel"
                );
                var o = function (t) {
                    Ft(this, r), t.stopPropagation();
                  }.bind(this),
                  a = [
                    "click",
                    "contextmenu",
                    "keydown",
                    "keyup",
                    "mousedown",
                    "mouseup",
                    "mousemove",
                  ];
                a.forEach(
                  function (t) {
                    Ft(this, r), i.addEventListener(t, o);
                  }.bind(this)
                );
                var s = function () {
                  Ft(this, r);
                  var t = I.get("rightBoard");
                  i.style.right = t ? "278px" : "16px";
                }.bind(this);
                if (e)
                  (n = e.$wrapper[0]),
                    Object.keys(e.style).forEach(
                      function (t) {
                        Ft(this, r), (i.style[t] = e.style[t]);
                      }.bind(this)
                    );
                else {
                  var c = (0, d.Vs)().id;
                  (n = document.getElementById(c)),
                    s(),
                    j.A.addHook("afterFold", s);
                }
                n.append(i);
                var l = A.createRoot(i);
                !(function (t, e) {
                  e.render(D.createElement(Ut, t));
                })(
                  {
                    component: t,
                    container: i,
                    draggable: !(null == e || !e.draggable),
                    title: null == e ? void 0 : e.title,
                  },
                  l
                ),
                  (t.hideDragCardList = function () {
                    var e = this;
                    a.forEach(
                      function (t) {
                        Ft(this, e), i.removeEventListener(t, o);
                      }.bind(this)
                    ),
                      i.remove(),
                      j.A.deleteHook("afterFold", s),
                      (t.hideDragCardList = void 0);
                  });
              });
          },
        }),
          s.register({
            name: "cardControlByIndicator",
            version: "1.0.0",
            apply: function (t) {
              var e = (0, d.Sy)();
              if (e) {
                var n = t.config.cardId;
                e.includes(n) ||
                  (t.$parent.css("display", "none"),
                  (t.init = function () {}),
                  (t.mount = function () {}),
                  (t.render = function () {}));
              }
            },
          });
        var Ht = n(50123),
          Gt = n(76521),
          Wt = n(44518),
          zt = n(47712);
        function qt(t, e) {
          if (t !== e)
            throw new TypeError("Cannot instantiate an arrow function");
        }
        s.register({
          name: "delayLoad",
          version: "1.0.0",
          apply: function (t) {
            t.fetch = new Proxy(t.fetch, {
              apply: async function (e, n, r) {
                var i = this,
                  o = t.dataGetter.creator;
                return o
                  ? new Promise(
                      function (s, c) {
                        qt(this, i),
                          (0, Wt.Ay)(
                            o instanceof zt.Ay
                              ? o
                              : { id: o.id, contextId: t.contextId },
                            function () {
                              var i = this,
                                l = t.dataGetter,
                                u = l.creator.getDataConfig(),
                                f = a.A.get(
                                  u,
                                  "modelHandleConfigs.loadDelay",
                                  !1
                                );
                              if (((t.fetch = e), (0, R.vk)() && f))
                                return (
                                  (0, Ht.IQ)(t),
                                  t !== l.creator &&
                                    o.addOnceHook(
                                      "beforeFetch",
                                      function () {
                                        qt(this, i), t.fetch();
                                      }.bind(this)
                                    ),
                                  l.creator.addOnceHook(
                                    "afterRequest",
                                    function (t, e, n) {
                                      var r = n.modelId;
                                      qt(this, i),
                                        (0, Ht.JA)(l.creator),
                                        (0, Ht.Sl)(l.creator, { modelId: r });
                                    }.bind(this)
                                  ),
                                  void c(v.get("common.i18n_76"))
                                );
                              e.apply(n, r)
                                .then(
                                  function (t) {
                                    return qt(this, i), s(t);
                                  }.bind(this)
                                )
                                .catch(
                                  function (t) {
                                    if (
                                      (qt(this, i),
                                      2 !== (null == t ? void 0 : t.length) ||
                                        "string" != typeof t[1] ||
                                        -1 === t[1].indexOf(Gt.f.abort))
                                    )
                                      return Promise.reject(t);
                                  }.bind(this)
                                );
                            },
                            0
                          );
                      }.bind(this)
                    )
                  : Promise.reject();
              },
            });
          },
        });
        var Xt = n(52943),
          Yt = n(62597),
          Kt = n(92049);
        function Zt(t, e) {
          if (t !== e)
            throw new TypeError("Cannot instantiate an arrow function");
        }
        function Jt(t) {
          var e,
            n =
              arguments.length > 1 && void 0 !== arguments[1]
                ? arguments[1]
                : [];
          return (
            n.push(t),
            null != t && null !== (e = t.children) && void 0 !== e && e.length
              ? Jt(t.children[0], n)
              : n
          );
        }
        function Qt(t, e) {
          if (t !== e)
            throw new TypeError("Cannot instantiate an arrow function");
        }
        function te(t, e) {
          if (t !== e)
            throw new TypeError("Cannot instantiate an arrow function");
        }
        var ee = "actionTypeError",
          ne = "levelNotChanged";
        var re = {
          backOff: function () {
            var t,
              e =
                arguments.length > 0 && void 0 !== arguments[0]
                  ? arguments[0]
                  : m.CONST_DEFAULT_MODEL_TYPE,
              n = arguments.length > 1 ? arguments[1] : void 0,
              r = arguments.length > 2 ? arguments[2] : void 0,
              i = r.isRoot,
              o = r.index,
              a =
                null !== (t = n.getRunTimeData("drillDownFilterList", e)) &&
                void 0 !== t
                  ? t
                  : [];
            return (
              !!a.length &&
              ((a = i ? [] : a.splice(0, o + 1)),
              n.setRunTimeData("drillDownFilterList", a, e),
              !0)
            );
          },
          drillDown: function () {
            var t,
              e =
                arguments.length > 0 && void 0 !== arguments[0]
                  ? arguments[0]
                  : m.CONST_DEFAULT_MODEL_TYPE,
              n = arguments.length > 1 ? arguments[1] : void 0,
              r = arguments.length > 2 ? arguments[2] : void 0;
            return (
              (t = n.getDataConfig().modelConfigs
                ? (function (t, e, n) {
                    var r,
                      i,
                      o = this,
                      a = e.getDataConfig().modelConfigs,
                      s =
                        null !==
                          (r = e.getRunTimeData("drillDownFilterList", t)) &&
                        void 0 !== r
                          ? r
                          : [],
                      c = s.length;
                    if (c)
                      i = s[c - 1].payloadColumns
                        .map(
                          function (t) {
                            var e;
                            return (
                              Qt(this, o),
                              null === (e = t.children) || void 0 === e
                                ? void 0
                                : e[0]
                            );
                          }.bind(this)
                        )
                        .filter(
                          function (t) {
                            return Qt(this, o), t;
                          }.bind(this)
                        );
                    else {
                      var l,
                        u,
                        f,
                        d,
                        h = e.dataGetter.getData().modelId,
                        p = (0, Yt.getDimensionGradeColumn)(a, h, !0);
                      if (!p.length) return !1;
                      (i = p
                        .map(
                          function (t) {
                            var e;
                            return (
                              Qt(this, o),
                              null === (e = t.children) || void 0 === e
                                ? void 0
                                : e[0]
                            );
                          }.bind(this)
                        )
                        .filter(Boolean)),
                        s.push({
                          column: p[0],
                          payloadColumns: p,
                          conditionValue:
                            null !==
                              (l =
                                null !==
                                  (u =
                                    null === (f = p[0]) || void 0 === f
                                      ? void 0
                                      : f.rootDisplayName) && void 0 !== u
                                  ? u
                                  : null == e ||
                                    null === (d = e.getRootRegion) ||
                                    void 0 === d
                                  ? void 0
                                  : d.call(e)) && void 0 !== l
                              ? l
                              : v.get("common.i18n_72"),
                          isRoot: !0,
                        });
                    }
                    return (
                      !!i.length &&
                      (s.push({
                        column: i[0],
                        payloadColumns: i,
                        name: n.name,
                        conditionValue: n.conditionValue,
                      }),
                      e.setRunTimeData("drillDownFilterList", s),
                      !0)
                    );
                  })(e, n, r)
                : (function (t, e, n) {
                    var r,
                      i,
                      o,
                      a =
                        null !==
                          (r = e.getRunTimeData("drillDownFilterList", t)) &&
                        void 0 !== r
                          ? r
                          : [];
                    return (
                      a.length ||
                        a.push({
                          conditionValue:
                            null !==
                              (i =
                                null == e ||
                                null === (o = e.getRootRegion) ||
                                void 0 === o
                                  ? void 0
                                  : o.call(e)) && void 0 !== i
                              ? i
                              : v.get("common.i18n_72"),
                          isRoot: !0,
                        }),
                      a.push({ conditionValue: n.conditionValue }),
                      e.setRunTimeData("drillDownFilterList", a),
                      !0
                    );
                  })(e, n, r)),
              t
            );
          },
          updateByRegions: function (t, e, n) {
            var r = this,
              i = n.parentRegions,
              o = [],
              a = e.getDataConfig().modelConfigs,
              s = e.dataGetter.getData().modelId;
            if (a) {
              var c = (0, Yt.getDimensionGradeColumn)(a, s, !0);
              if (
                !c.length ||
                c.some(
                  function (t) {
                    return (
                      te(this, r),
                      (0, Yt.flatternChildColumns)(t).length < i.length
                    );
                  }.bind(this)
                )
              )
                return !1;
              o = (function (t, e) {
                var n,
                  r = this,
                  i = e.parentRegions,
                  o = t.getDataConfig().modelConfigs,
                  a = (
                    null !== (n = t.dataGetter.getData()) && void 0 !== n
                      ? n
                      : {}
                  ).modelId;
                if (!a) return [];
                var s = (0, Yt.getDimensionGradeColumn)(o, a, !0),
                  c = (0, Kt.A)(s),
                  l = c
                    ? s.map(
                        function (t) {
                          return Zt(this, r), Jt(t);
                        }.bind(this)
                      )
                    : Jt(s);
                return i.map(
                  function (e, n) {
                    var i,
                      o,
                      a,
                      u,
                      f,
                      d,
                      h = this,
                      p = e.name;
                    return (
                      e._id,
                      Zt(this, r),
                      (i =
                        0 === n
                          ? {
                              conditionValue:
                                null !==
                                  (o =
                                    null !==
                                      (a =
                                        null !==
                                          (u =
                                            null == s
                                              ? void 0
                                              : s.rootDisplayName) &&
                                        void 0 !== u
                                          ? u
                                          : null == s ||
                                            null === (f = s[0]) ||
                                            void 0 === f
                                          ? void 0
                                          : f.rootDisplayName) && void 0 !== a
                                      ? a
                                      : null == t ||
                                        null === (d = t.getRootRegion) ||
                                        void 0 === d
                                      ? void 0
                                      : d.call(t)) && void 0 !== o
                                  ? o
                                  : v.get("common.i18n_72"),
                              isRoot: !0,
                            }
                          : { conditionValue: p }),
                      c &&
                        ((i.column = l[0][n]),
                        (i.payloadColumns = l.map(
                          function (t) {
                            return Zt(this, h), t[n];
                          }.bind(this)
                        ))),
                      !c &&
                        l[n] &&
                        ((i.column = l[n]), (i.payloadColumns = [l[n]])),
                      i
                    );
                  }.bind(this)
                );
              })(e, n);
            } else
              o = i.map(
                function (t, e) {
                  var n = t.name,
                    i = (t._id, t.rootName);
                  return (
                    te(this, r),
                    0 === e
                      ? {
                          conditionValue: i || v.get("common.i18n_72"),
                          isRoot: !0,
                        }
                      : { conditionValue: n }
                  );
                }.bind(this)
              );
            return e.setRunTimeData("drillDownFilterList", o, t), !0;
          },
        };
        function ie(t, e, n) {
          var r,
            i =
              arguments.length > 3 && void 0 !== arguments[3]
                ? arguments[3]
                : m.CONST_DEFAULT_MODEL_TYPE,
            o = re[t];
          if (!a.A.isFunction(o)) return Promise.reject(ee);
          if (!o(i, e, n)) return Promise.reject(ne);
          var s = (
            null !== (r = e.dataGetter.getData()) && void 0 !== r ? r : {}
          ).modelId;
          return s ? e.fetch([{ modelId: s, modelType: i }]) : e.fetch();
        }
        const oe = "style-module__sf__drillDownBar_root--coif4F",
          ae = "style-module__sf__drillDownBar--V2pEhC",
          se = "style-module__sf__drillDownTag--B0hRBe",
          ce = "style-module__sf__drillDownTag-name--Wa5h3i";
        function le(t) {
          return (
            (le =
              "function" == typeof Symbol && "symbol" == typeof Symbol.iterator
                ? function (t) {
                    return typeof t;
                  }
                : function (t) {
                    return t &&
                      "function" == typeof Symbol &&
                      t.constructor === Symbol &&
                      t !== Symbol.prototype
                      ? "symbol"
                      : typeof t;
                  }),
            le(t)
          );
        }
        function ue(t) {
          return (
            (function (t) {
              if (Array.isArray(t)) return pe(t);
            })(t) ||
            (function (t) {
              if (
                ("undefined" != typeof Symbol && null != t[Symbol.iterator]) ||
                null != t["@@iterator"]
              )
                return Array.from(t);
            })(t) ||
            he(t) ||
            (function () {
              throw new TypeError(
                "Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."
              );
            })()
          );
        }
        function fe(t, e) {
          if (t !== e)
            throw new TypeError("Cannot instantiate an arrow function");
        }
        function de(t, e) {
          return (
            (function (t) {
              if (Array.isArray(t)) return t;
            })(t) ||
            (function (t, e) {
              var n =
                null == t
                  ? null
                  : ("undefined" != typeof Symbol && t[Symbol.iterator]) ||
                    t["@@iterator"];
              if (null != n) {
                var r,
                  i,
                  o,
                  a,
                  s = [],
                  c = !0,
                  l = !1;
                try {
                  if (((o = (n = n.call(t)).next), 0 === e)) {
                    if (Object(n) !== n) return;
                    c = !1;
                  } else
                    for (
                      ;
                      !(c = (r = o.call(n)).done) &&
                      (s.push(r.value), s.length !== e);
                      c = !0
                    );
                } catch (t) {
                  (l = !0), (i = t);
                } finally {
                  try {
                    if (
                      !c &&
                      null != n.return &&
                      ((a = n.return()), Object(a) !== a)
                    )
                      return;
                  } finally {
                    if (l) throw i;
                  }
                }
                return s;
              }
            })(t, e) ||
            he(t, e) ||
            (function () {
              throw new TypeError(
                "Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."
              );
            })()
          );
        }
        function he(t, e) {
          if (t) {
            if ("string" == typeof t) return pe(t, e);
            var n = {}.toString.call(t).slice(8, -1);
            return (
              "Object" === n && t.constructor && (n = t.constructor.name),
              "Map" === n || "Set" === n
                ? Array.from(t)
                : "Arguments" === n ||
                  /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)
                ? pe(t, e)
                : void 0
            );
          }
        }
        function pe(t, e) {
          (null == e || e > t.length) && (e = t.length);
          for (var n = 0, r = Array(e); n < e; n++) r[n] = t[n];
          return r;
        }
        function me(t, e) {
          var n = Object.keys(t);
          if (Object.getOwnPropertySymbols) {
            var r = Object.getOwnPropertySymbols(t);
            e &&
              (r = r.filter(function (e) {
                return Object.getOwnPropertyDescriptor(t, e).enumerable;
              })),
              n.push.apply(n, r);
          }
          return n;
        }
        function ve(t) {
          for (var e = 1; e < arguments.length; e++) {
            var n = null != arguments[e] ? arguments[e] : {};
            e % 2
              ? me(Object(n), !0).forEach(function (e) {
                  ge(t, e, n[e]);
                })
              : Object.getOwnPropertyDescriptors
              ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(n))
              : me(Object(n)).forEach(function (e) {
                  Object.defineProperty(
                    t,
                    e,
                    Object.getOwnPropertyDescriptor(n, e)
                  );
                });
          }
          return t;
        }
        function ge(t, e, n) {
          return (
            (e = (function (t) {
              var e = (function (t, e) {
                if ("object" != le(t) || !t) return t;
                var n = t[Symbol.toPrimitive];
                if (void 0 !== n) {
                  var r = n.call(t, e || "default");
                  if ("object" != le(r)) return r;
                  throw new TypeError(
                    "@@toPrimitive must return a primitive value."
                  );
                }
                return ("string" === e ? String : Number)(t);
              })(t, "string");
              return "symbol" == le(e) ? e : e + "";
            })(e)) in t
              ? Object.defineProperty(t, e, {
                  value: n,
                  enumerable: !0,
                  configurable: !0,
                  writable: !0,
                })
              : (t[e] = n),
            t
          );
        }
        function ye(t, e) {
          var n,
            r,
            i = this,
            o = t.left,
            a = void 0 === o ? 0 : o,
            s = t.top,
            c = void 0 === s ? 0 : s,
            l = t.instance,
            u = (t.type, t.isRender),
            f = t.textStyle,
            d = void 0 === f ? {} : f,
            h = ve(
              ve({}, d),
              {},
              {
                position: "absolute",
                left: "".concat(a, "%"),
                top: "".concat(c, "%"),
                cursor: "pointer",
              }
            ),
            p = ve(
              ve({}, d),
              {},
              {
                paddingLeft:
                  (null !== (n = d.fontSize) && void 0 !== n ? n : 0) / 2,
                paddingRight:
                  (null !== (r = d.fontSize) && void 0 !== r ? r : 0) / 2,
              }
            ),
            m = de((0, D.useState)(t.drillDownFilterList), 2),
            v = m[0],
            g = m[1];
          function y(e) {
            var n = ve({}, d);
            return v.length - 1 === e && (n.color = t.emphasis.color), n;
          }
          function b(t, e) {
            var n = this,
              r = t.column,
              i = t.isRoot,
              o = t.conditionValue,
              a = {
                columnId: null == r ? void 0 : r.columnId,
                index: e,
                isRoot: i,
              };
            l.component.execHooks("DrillDownNavClick", {
              column: r,
              conditionValue: o,
              isRoot: i,
              index: e,
            }),
              ie("backOff", l.component, a)
                .then(
                  function () {
                    fe(this, n), l.render();
                  }.bind(this)
                )
                .then(
                  function () {
                    fe(this, n),
                      l.component.execHooks("afterDrillDownNavClick", {
                        column: r,
                        conditionValue: o,
                        isRoot: i,
                        index: e,
                      });
                  }.bind(this)
                )
                .catch(
                  function (t) {
                    return fe(this, n), sfLogger.error(t);
                  }.bind(this)
                );
          }
          return (
            (0, D.useImperativeHandle)(
              e,
              function () {
                return (
                  fe(this, i),
                  {
                    render: function (t) {
                      g(ue(t));
                    },
                    onDrillDown: function (t, e) {
                      b(t, e);
                    },
                  }
                );
              }.bind(this)
            ),
            void 0 === u || !0 === u
              ? D.createElement(
                  "div",
                  { style: ve({}, h), className: ae },
                  v.map(
                    function (t, e) {
                      var n,
                        r,
                        o,
                        a,
                        s = this;
                      return (
                        fe(this, i),
                        D.createElement(
                          "div",
                          {
                            key:
                              null !==
                                (n =
                                  null === (r = t.column) || void 0 === r
                                    ? void 0
                                    : r.columnId) && void 0 !== n
                                ? n
                                : e,
                            className: se,
                          },
                          0 !== e && D.createElement("span", { style: p }, "/"),
                          D.createElement(
                            "span",
                            {
                              className: ce,
                              style: y(e),
                              title:
                                null !== (o = t.name) && void 0 !== o
                                  ? o
                                  : t.conditionValue,
                              onClick: function () {
                                return fe(this, s), b(t, e);
                              }.bind(this),
                            },
                            null !== (a = t.name) && void 0 !== a
                              ? a
                              : t.conditionValue
                          )
                        )
                      );
                    }.bind(this)
                  )
                )
              : null
          );
        }
        const be = (0, D.forwardRef)(ye);
        function Ve(t) {
          return (
            (Ve =
              "function" == typeof Symbol && "symbol" == typeof Symbol.iterator
                ? function (t) {
                    return typeof t;
                  }
                : function (t) {
                    return t &&
                      "function" == typeof Symbol &&
                      t.constructor === Symbol &&
                      t !== Symbol.prototype
                      ? "symbol"
                      : typeof t;
                  }),
            Ve(t)
          );
        }
        function _e(t, e) {
          for (var n = 0; n < e.length; n++) {
            var r = e[n];
            (r.enumerable = r.enumerable || !1),
              (r.configurable = !0),
              "value" in r && (r.writable = !0),
              Object.defineProperty(t, Se(r.key), r);
          }
        }
        function we(t, e, n) {
          return (
            (e = Se(e)) in t
              ? Object.defineProperty(t, e, {
                  value: n,
                  enumerable: !0,
                  configurable: !0,
                  writable: !0,
                })
              : (t[e] = n),
            t
          );
        }
        function Se(t) {
          var e = (function (t, e) {
            if ("object" != Ve(t) || !t) return t;
            var n = t[Symbol.toPrimitive];
            if (void 0 !== n) {
              var r = n.call(t, e || "default");
              if ("object" != Ve(r)) return r;
              throw new TypeError(
                "@@toPrimitive must return a primitive value."
              );
            }
            return ("string" === e ? String : Number)(t);
          })(t, "string");
          return "symbol" == Ve(e) ? e : e + "";
        }
        var Ee = (function () {
          return (
            (t = function t(e) {
              var n =
                arguments.length > 1 && void 0 !== arguments[1]
                  ? arguments[1]
                  : {};
              !(function (t, e) {
                if (!(t instanceof e))
                  throw new TypeError("Cannot call a class as a function");
              })(this, t),
                we(this, "$view", void 0),
                we(this, "options", void 0),
                we(this, "component", void 0),
                (this.component = e),
                (this.options = n);
            }),
            (e = [
              {
                key: "init",
                value: function () {
                  this.createView(), this.mount();
                },
              },
              {
                key: "createView",
                value: function () {
                  var t = this.options.className,
                    e = void 0 === t ? "" : t;
                  this.$view = o()(
                    '<div class="ux-component-child-view '.concat(e, '"></div>')
                  );
                },
              },
              {
                key: "mount",
                value: function () {
                  this.component.$parent.append(this.$view);
                },
              },
              {
                key: "dispose",
                value: function () {
                  this.$view.remove(), (this.component = null);
                },
              },
            ]) && _e(t.prototype, e),
            n && _e(t, n),
            Object.defineProperty(t, "prototype", { writable: !1 }),
            t
          );
          var t, e, n;
        })();
        function Ae(t) {
          return (
            (Ae =
              "function" == typeof Symbol && "symbol" == typeof Symbol.iterator
                ? function (t) {
                    return typeof t;
                  }
                : function (t) {
                    return t &&
                      "function" == typeof Symbol &&
                      t.constructor === Symbol &&
                      t !== Symbol.prototype
                      ? "symbol"
                      : typeof t;
                  }),
            Ae(t)
          );
        }
        function Te() {
          return (
            (Te = Object.assign
              ? Object.assign.bind()
              : function (t) {
                  for (var e = 1; e < arguments.length; e++) {
                    var n = arguments[e];
                    for (var r in n)
                      ({}).hasOwnProperty.call(n, r) && (t[r] = n[r]);
                  }
                  return t;
                }),
            Te.apply(null, arguments)
          );
        }
        function Oe(t, e) {
          var n = Object.keys(t);
          if (Object.getOwnPropertySymbols) {
            var r = Object.getOwnPropertySymbols(t);
            e &&
              (r = r.filter(function (e) {
                return Object.getOwnPropertyDescriptor(t, e).enumerable;
              })),
              n.push.apply(n, r);
          }
          return n;
        }
        function Ce(t) {
          for (var e = 1; e < arguments.length; e++) {
            var n = null != arguments[e] ? arguments[e] : {};
            e % 2
              ? Oe(Object(n), !0).forEach(function (e) {
                  xe(t, e, n[e]);
                })
              : Object.getOwnPropertyDescriptors
              ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(n))
              : Oe(Object(n)).forEach(function (e) {
                  Object.defineProperty(
                    t,
                    e,
                    Object.getOwnPropertyDescriptor(n, e)
                  );
                });
          }
          return t;
        }
        function Pe(t, e) {
          for (var n = 0; n < e.length; n++) {
            var r = e[n];
            (r.enumerable = r.enumerable || !1),
              (r.configurable = !0),
              "value" in r && (r.writable = !0),
              Object.defineProperty(t, ke(r.key), r);
          }
        }
        function xe(t, e, n) {
          return (
            (e = ke(e)) in t
              ? Object.defineProperty(t, e, {
                  value: n,
                  enumerable: !0,
                  configurable: !0,
                  writable: !0,
                })
              : (t[e] = n),
            t
          );
        }
        function ke(t) {
          var e = (function (t, e) {
            if ("object" != Ae(t) || !t) return t;
            var n = t[Symbol.toPrimitive];
            if (void 0 !== n) {
              var r = n.call(t, e || "default");
              if ("object" != Ae(r)) return r;
              throw new TypeError(
                "@@toPrimitive must return a primitive value."
              );
            }
            return ("string" === e ? String : Number)(t);
          })(t, "string");
          return "symbol" == Ae(e) ? e : e + "";
        }
        var Ie = (function () {
          return (
            (t = function t(e) {
              !(function (t, e) {
                if (!(t instanceof e))
                  throw new TypeError("Cannot call a class as a function");
              })(this, t),
                xe(this, "component", void 0),
                xe(this, "reactInterface", (0, D.createRef)()),
                xe(this, "$drillDownElement", o()("<span></span>")),
                xe(this, "_drillDownElementRoot", void 0),
                (this.component = e),
                this.init();
            }),
            (e = [
              {
                key: "init",
                value: function () {
                  var t = (this.component.drillDownBarView = new Ee(
                    this.component,
                    { className: oe }
                  ));
                  t.init(),
                    (this.$drillDownElement = t.$view),
                    (this._drillDownElementRoot = (0, A.createRoot)(
                      this.$drillDownElement[0]
                    ));
                },
              },
              {
                key: "destroy",
                value: function () {
                  var t;
                  this._drillDownElementRoot.unmount(),
                    null === (t = this.component.drillDownBarView) ||
                      void 0 === t ||
                      t.dispose(),
                    (this.reactInterface = null),
                    (this._drillDownElementRoot = null);
                },
              },
              {
                key: "render",
                value: function () {
                  var t,
                    e = this,
                    n = this.component,
                    r =
                      null !== (t = n.getRunTimeData("drillDownFilterList")) &&
                      void 0 !== t
                        ? t
                        : [];
                  return new Promise(
                    function (t, i) {
                      !(function (t, e) {
                        if (t !== e)
                          throw new TypeError(
                            "Cannot instantiate an arrow function"
                          );
                      })(this, e);
                      var o = n.getBasicConfig().drillDown;
                      if (!o)
                        return i(
                          new Error(
                            "The drilldown property does not exist in basicConfig of this component"
                          )
                        );
                      if (!o.show)
                        return this.$drillDownElement.remove(), t(this);
                      if (this.reactInterface.current)
                        this.reactInterface.current.render(r);
                      else {
                        var a = Ce(
                          Ce({}, o),
                          {},
                          { instance: this, drillDownFilterList: r }
                        );
                        this._drillDownElementRoot.render(
                          D.createElement(
                            be,
                            Te({}, a, { ref: this.reactInterface })
                          )
                        );
                      }
                      return t(this);
                    }.bind(this)
                  );
                },
              },
            ]),
            e && Pe(t.prototype, e),
            n && Pe(t, n),
            Object.defineProperty(t, "prototype", { writable: !1 }),
            t
          );
          var t, e, n;
        })();
        function je(t, e) {
          var n = t.componentType;
          if (n && "series" !== n) return !1;
          var r = e.getBasicConfig().drillDown;
          return null == r ? void 0 : r.show;
        }
        function Re(t, e) {
          if (t !== e)
            throw new TypeError("Cannot instantiate an arrow function");
        }
        s.register({
          version: "1.0.0",
          name: "drillDown",
          apply: function (t) {
            var e = this,
              n = new Ie(t);
            t.setRunTimeData("abortRenderWhenEmptyData", !1);
            var r = null;
            t.addHook(
              "beforeFetch",
              function (r) {
                var i,
                  o = this;
                if ((Re(this, e), je({}, t))) {
                  var s =
                    null === (i = t.dataGetter.getData()) || void 0 === i
                      ? void 0
                      : i.modelId;
                  if (r && s)
                    if (r[0].modelId !== s)
                      t.setRunTimeData(
                        "drillDownFilterList",
                        [],
                        m.CONST_DEFAULT_MODEL_TYPE
                      ),
                        a.A.get(
                          n,
                          "reactInterface.current.render",
                          function () {
                            Re(this, o);
                          }.bind(this)
                        )([]);
                }
              }.bind(this)
            ),
              t.addHook(
                "afterMount",
                function () {
                  var i = this;
                  Re(this, e),
                    r ||
                      ((r = function (e) {
                        var r = this,
                          o =
                            arguments.length > 1 && void 0 !== arguments[1]
                              ? arguments[1]
                              : {},
                          s = o.eventTargetPath,
                          c = void 0 === s ? "eventData.originName" : s,
                          l = o.isMustBindModel,
                          u = void 0 === l || l;
                        if ((Re(this, i), !je(e, t, u)))
                          return Promise.reject();
                        var f = (function (t) {
                          return !!t.getDataConfig().modelConfigs;
                        })(t);
                        if (u && !f) return Promise.reject();
                        var d = (0, Xt.JI)(t, e);
                        e.eventData = d;
                        var h = {
                          name: e.name,
                          conditionValue: a.A.get(e, c, e.name),
                        };
                        return ie("drillDown", t, h)
                          .then(
                            function () {
                              Re(this, r), n.render();
                            }.bind(this)
                          )
                          .catch(
                            function (t) {
                              return Re(this, r), sfLogger.error(t), t;
                            }.bind(this)
                          );
                      }.bind(this)),
                      a.A.isFunction(t.registerDrillDownEvent) &&
                        t.registerDrillDownEvent(r));
                }.bind(this)
              ),
              t.addHook(
                "drillDown",
                function (t, r) {
                  Re(this, e), n.reactInterface.current.onDrillDown(t, r);
                }.bind(this)
              ),
              t.addHook(
                "setShowDistrict",
                function (r) {
                  var i = this;
                  Re(this, e),
                    ie("updateByRegions", t, r)
                      .then(
                        function () {
                          Re(this, i), n.render();
                        }.bind(this)
                      )
                      .catch(
                        function (t) {
                          return Re(this, i), sfLogger.error(t);
                        }.bind(this)
                      );
                }.bind(this)
              ),
              t.addHook(
                "beforeDestroy",
                function () {
                  Re(this, e), n.destroy();
                }.bind(this)
              );
          },
        }),
          (0, s.register)({
            name: "fakeData",
            version: "1.0.0",
            apply: function (t) {
              var e = ["value", "minValue", "maxValue"];
              t.fakeData = function () {
                var n = this,
                  r = t.getBasicConfig(),
                  i = {};
                return (
                  r &&
                    e.forEach(
                      function (t) {
                        !(function (t, e) {
                          if (t !== e)
                            throw new TypeError(
                              "Cannot instantiate an arrow function"
                            );
                        })(this, n),
                          void 0 !== r[t] && (i[t] = r[t]);
                      }.bind(this)
                    ),
                  i
                );
              };
            },
          });
        var De = n(25288);
        function Le(t, e) {
          if (t !== e)
            throw new TypeError("Cannot instantiate an arrow function");
        }
        function Me(t) {
          var e = (0, De.A)(t.getBasicConfig(), t.$element);
          t.execHooks("afterRenderFilter", { cssStyle: e });
        }
        (0, s.register)({
          name: "filter",
          version: "1.0.0",
          apply: function (t) {
            var e = this,
              n = t.getBasicConfig();
            t.getRunTimeData("status.firstCreated") &&
              !n.filter &&
              t.updateConfigs({ basicConfig: { filter: it.yG } }),
              t.addHook(
                "afterMount",
                function () {
                  var n;
                  Le(this, e),
                    (null === (n = t.getBasicConfig()) || void 0 === n
                      ? void 0
                      : n.filter) && Me(t);
                }.bind(this)
              ),
              (0, R.A7)() &&
                t.addHook(
                  "afterRender",
                  function () {
                    var n;
                    Le(this, e),
                      (null === (n = t.getBasicConfig()) || void 0 === n
                        ? void 0
                        : n.filter) && Me(t);
                  }.bind(this)
                );
          },
        }),
          s.register({
            name: "hideNotInit",
            version: "1.0.0",
            apply: function (t) {
              (function (t) {
                var e;
                return (
                  !!t &&
                  !(null === (e = t.getBasicConfig()) || void 0 === e
                    ? void 0
                    : e.display)
                );
              })(t) &&
                ((t.init = new Proxy(t.init, {
                  apply: function (e, n, r) {
                    return (t.init = e), (t.noCache = !0), Promise.resolve(n);
                  },
                })),
                (t.updateDisplay = new Proxy(t.updateDisplay, {
                  apply: function (e, n, r) {
                    r[0] && (e.apply(n, r), n.init(), (t.updateDisplay = e));
                  },
                })),
                (t.fetch = new Proxy(t.fetch, {
                  apply: function (e, n, r) {
                    if (n.status >= zt.sV) {
                      var i = n.getRunTimeData("fetchCondition");
                      return (
                        n.setRunTimeData("fetchCondition", null),
                        (t.fetch = e),
                        e.apply(n, i)
                      );
                    }
                    return (
                      n.setRunTimeData("fetchCondition", r), Promise.resolve(n)
                    );
                  },
                })));
            },
          });
        var Ne = n(20903),
          $e = n(35704);
        function Be(t, e) {
          if (t !== e)
            throw new TypeError("Cannot instantiate an arrow function");
        }
        function Ue(t, e) {
          for (var n = 0; n < t.length; n++) {
            var r;
            "category" ===
              (null === (r = t[n]) || void 0 === r ? void 0 : r.type) &&
              (0, $e.A)(t[n], "axisLabel.emphasis", (0, Ne.A)(e));
          }
        }
        function Fe(t, e) {
          if (t !== e)
            throw new TypeError("Cannot instantiate an arrow function");
        }
        function He(t, e) {
          var n = Object.keys(t);
          if (Object.getOwnPropertySymbols) {
            var r = Object.getOwnPropertySymbols(t);
            e &&
              (r = r.filter(function (e) {
                return Object.getOwnPropertyDescriptor(t, e).enumerable;
              })),
              n.push.apply(n, r);
          }
          return n;
        }
        function Ge(t) {
          for (var e = 1; e < arguments.length; e++) {
            var n = null != arguments[e] ? arguments[e] : {};
            e % 2
              ? He(Object(n), !0).forEach(function (e) {
                  We(t, e, n[e]);
                })
              : Object.getOwnPropertyDescriptors
              ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(n))
              : He(Object(n)).forEach(function (e) {
                  Object.defineProperty(
                    t,
                    e,
                    Object.getOwnPropertyDescriptor(n, e)
                  );
                });
          }
          return t;
        }
        function We(t, e, n) {
          return (
            (e = (function (t) {
              var e = (function (t, e) {
                if ("object" != ze(t) || !t) return t;
                var n = t[Symbol.toPrimitive];
                if (void 0 !== n) {
                  var r = n.call(t, e || "default");
                  if ("object" != ze(r)) return r;
                  throw new TypeError(
                    "@@toPrimitive must return a primitive value."
                  );
                }
                return ("string" === e ? String : Number)(t);
              })(t, "string");
              return "symbol" == ze(e) ? e : e + "";
            })(e)) in t
              ? Object.defineProperty(t, e, {
                  value: n,
                  enumerable: !0,
                  configurable: !0,
                  writable: !0,
                })
              : (t[e] = n),
            t
          );
        }
        function ze(t) {
          return (
            (ze =
              "function" == typeof Symbol && "symbol" == typeof Symbol.iterator
                ? function (t) {
                    return typeof t;
                  }
                : function (t) {
                    return t &&
                      "function" == typeof Symbol &&
                      t.constructor === Symbol &&
                      t !== Symbol.prototype
                      ? "symbol"
                      : typeof t;
                  }),
            ze(t)
          );
        }
        function qe(t) {
          return (
            (function (t) {
              if (Array.isArray(t)) return Xe(t);
            })(t) ||
            (function (t) {
              if (
                ("undefined" != typeof Symbol && null != t[Symbol.iterator]) ||
                null != t["@@iterator"]
              )
                return Array.from(t);
            })(t) ||
            (function (t, e) {
              if (t) {
                if ("string" == typeof t) return Xe(t, e);
                var n = {}.toString.call(t).slice(8, -1);
                return (
                  "Object" === n && t.constructor && (n = t.constructor.name),
                  "Map" === n || "Set" === n
                    ? Array.from(t)
                    : "Arguments" === n ||
                      /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)
                    ? Xe(t, e)
                    : void 0
                );
              }
            })(t) ||
            (function () {
              throw new TypeError(
                "Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."
              );
            })()
          );
        }
        function Xe(t, e) {
          (null == e || e > t.length) && (e = t.length);
          for (var n = 0, r = Array(e); n < e; n++) r[n] = t[n];
          return r;
        }
        function Ye(t, e) {
          if (t !== e)
            throw new TypeError("Cannot instantiate an arrow function");
        }
        s.register({
          version: "1.0.0",
          name: "hoverStyle",
          apply: function (t) {
            var e = this;
            t.addHook(
              "afterBuildRenderData",
              function () {
                var n = this;
                Be(this, e);
                var r = t.getRunTimeData("renderData"),
                  i = r.options,
                  o = void 0 === i ? {} : i,
                  a = r.hoverStyle,
                  s = void 0 === a ? {} : a;
                s.show &&
                  (s.emphasis &&
                    (o.series || []).forEach(
                      function (t) {
                        Be(this, n),
                          (0, $e.A)(t, "emphasis", (0, Ne.A)(s.emphasis));
                      }.bind(this)
                    ),
                  Ue(o.xAxis, s.label),
                  Ue(o.yAxis, s.label)),
                  t.setRunTimeData("renderData", r);
              }.bind(this)
            );
          },
        }),
          s.register({
            version: "1.0.0",
            name: "magicTypeChange",
            apply: function (t) {
              var e = this;
              t.addHook(
                "afterMount",
                function () {
                  var n = this;
                  Fe(this, e),
                    t._chartInstance.on(
                      "magictypechanged",
                      function (e) {
                        if ((Fe(this, n), "line" === e.currentType)) {
                          var r = t._chartInstance.getOption();
                          (r.xAxis[0].boundaryGap = !0),
                            t._chartInstance.setOption(r);
                        }
                      }.bind(this)
                    );
                }.bind(this)
              ),
                t.addHook(
                  "beforeDestroy",
                  function () {
                    Fe(this, e), t._chartInstance.off("magictypechanged");
                  }.bind(this)
                );
            },
          }),
          s.register({
            name: "nullDataHandleWayProxy",
            version: "1.0.0",
            apply: function (t) {
              (t.getSelfDataConfig = t.getDataConfig.bind(t)),
                (t.getDataConfig = new Proxy(t.getDataConfig, {
                  apply: function (e, n, r) {
                    var i = (t.dataGetter || {}).creator,
                      o = e.apply(n, r);
                    if (i !== t) {
                      var a,
                        s,
                        c = (0, Yt.getNullDataHandleWay)(
                          null == i ||
                            null === (a = i.getDataConfig) ||
                            void 0 === a
                            ? void 0
                            : a.call(i)
                        );
                      if ("object" === ze(c) && c.applyBindedComponent)
                        o = Ge(
                          Ge({}, o),
                          {},
                          {
                            modelHandleConfigs: Ge(
                              Ge(
                                {},
                                null !== (s = o.modelHandleConfigs) &&
                                  void 0 !== s
                                  ? s
                                  : {}
                              ),
                              {},
                              { nullDataHandleWay: c.type }
                            ),
                          }
                        );
                    }
                    return o;
                  },
                }));
            },
          });
        var Ke = n(13389);
        function Ze(t) {
          return (
            (Ze =
              "function" == typeof Symbol && "symbol" == typeof Symbol.iterator
                ? function (t) {
                    return typeof t;
                  }
                : function (t) {
                    return t &&
                      "function" == typeof Symbol &&
                      t.constructor === Symbol &&
                      t !== Symbol.prototype
                      ? "symbol"
                      : typeof t;
                  }),
            Ze(t)
          );
        }
        function Je(t, e) {
          var n = Object.keys(t);
          if (Object.getOwnPropertySymbols) {
            var r = Object.getOwnPropertySymbols(t);
            e &&
              (r = r.filter(function (e) {
                return Object.getOwnPropertyDescriptor(t, e).enumerable;
              })),
              n.push.apply(n, r);
          }
          return n;
        }
        function Qe(t) {
          for (var e = 1; e < arguments.length; e++) {
            var n = null != arguments[e] ? arguments[e] : {};
            e % 2
              ? Je(Object(n), !0).forEach(function (e) {
                  tn(t, e, n[e]);
                })
              : Object.getOwnPropertyDescriptors
              ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(n))
              : Je(Object(n)).forEach(function (e) {
                  Object.defineProperty(
                    t,
                    e,
                    Object.getOwnPropertyDescriptor(n, e)
                  );
                });
          }
          return t;
        }
        function tn(t, e, n) {
          return (
            (e = (function (t) {
              var e = (function (t, e) {
                if ("object" != Ze(t) || !t) return t;
                var n = t[Symbol.toPrimitive];
                if (void 0 !== n) {
                  var r = n.call(t, e || "default");
                  if ("object" != Ze(r)) return r;
                  throw new TypeError(
                    "@@toPrimitive must return a primitive value."
                  );
                }
                return ("string" === e ? String : Number)(t);
              })(t, "string");
              return "symbol" == Ze(e) ? e : e + "";
            })(e)) in t
              ? Object.defineProperty(t, e, {
                  value: n,
                  enumerable: !0,
                  configurable: !0,
                  writable: !0,
                })
              : (t[e] = n),
            t
          );
        }
        function en(t, e) {
          var n = this;
          return t.map(
            function (t) {
              var r = t.minValue,
                i = t.maxValue,
                o = t.name;
              return (
                (function (t, e) {
                  if (t !== e)
                    throw new TypeError("Cannot instantiate an arrow function");
                })(this, n),
                {
                  gte: r,
                  lt: i,
                  label: o || "".concat(r, " ").concat(e, " ").concat(i),
                }
              );
            }.bind(this)
          );
        }
        function nn(t, e, n, r) {
          e.columnId;
          var i = e.segment,
            o = t.connector,
            a = void 0 === o ? "-" : o,
            s = t.precision,
            c = void 0 === s ? 0 : s,
            l = "linear" === i.mode ? "continuous" : "piecewise",
            u = (function (t) {
              var e = this,
                n = t.mode;
              function r(t) {
                var e = this;
                return t.reduce(
                  function (t, n) {
                    return (
                      Ye(this, e),
                      "fill" === n.type && t.push.apply(t, qe(n.colors)),
                      t
                    );
                  }.bind(this),
                  []
                );
              }
              if ("linear" === n || "autoSegment" === n)
                return r(t.colorGroups);
              var i = [];
              return (
                t.pieces.forEach(
                  function (t) {
                    Ye(this, e);
                    var n = r(t.colorGroups);
                    i.push.apply(i, qe(n));
                  }.bind(this)
                ),
                i
              );
            })(i),
            f = Qe(Qe({}, t), {}, { type: l });
          if ("autoSegment" === i.mode) {
            var d = i.segmentNumber,
              h = (0, Ke.id)(
                n,
                { min: i.minValue, max: i.maxValue },
                r.rangeRenderBy
              ),
              p = h.min,
              m = h.max;
            (f.min = p),
              (f.max = m),
              (f.splitNumber = i.segmentNumber),
              (f.formatter = (0, Ke.ZV)(n, r.rangeRenderBy, {
                precision: c,
                connector: a,
              })),
              (u = (0, Ke.H_)(u, d));
          }
          return (
            "customSegment" === i.mode && (f.pieces = en(i.pieces, a)),
            (f.inRange = { color: u }),
            f
          );
        }
        function rn(t) {
          return (
            (rn =
              "function" == typeof Symbol && "symbol" == typeof Symbol.iterator
                ? function (t) {
                    return typeof t;
                  }
                : function (t) {
                    return t &&
                      "function" == typeof Symbol &&
                      t.constructor === Symbol &&
                      t !== Symbol.prototype
                      ? "symbol"
                      : typeof t;
                  }),
            rn(t)
          );
        }
        function on(t, e) {
          var n = Object.keys(t);
          if (Object.getOwnPropertySymbols) {
            var r = Object.getOwnPropertySymbols(t);
            e &&
              (r = r.filter(function (e) {
                return Object.getOwnPropertyDescriptor(t, e).enumerable;
              })),
              n.push.apply(n, r);
          }
          return n;
        }
        function an(t) {
          for (var e = 1; e < arguments.length; e++) {
            var n = null != arguments[e] ? arguments[e] : {};
            e % 2
              ? on(Object(n), !0).forEach(function (e) {
                  ln(t, e, n[e]);
                })
              : Object.getOwnPropertyDescriptors
              ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(n))
              : on(Object(n)).forEach(function (e) {
                  Object.defineProperty(
                    t,
                    e,
                    Object.getOwnPropertyDescriptor(n, e)
                  );
                });
          }
          return t;
        }
        function sn(t, e) {
          return (
            (function (t) {
              if (Array.isArray(t)) return t;
            })(t) ||
            (function (t, e) {
              var n =
                null == t
                  ? null
                  : ("undefined" != typeof Symbol && t[Symbol.iterator]) ||
                    t["@@iterator"];
              if (null != n) {
                var r,
                  i,
                  o,
                  a,
                  s = [],
                  c = !0,
                  l = !1;
                try {
                  if (((o = (n = n.call(t)).next), 0 === e)) {
                    if (Object(n) !== n) return;
                    c = !1;
                  } else
                    for (
                      ;
                      !(c = (r = o.call(n)).done) &&
                      (s.push(r.value), s.length !== e);
                      c = !0
                    );
                } catch (t) {
                  (l = !0), (i = t);
                } finally {
                  try {
                    if (
                      !c &&
                      null != n.return &&
                      ((a = n.return()), Object(a) !== a)
                    )
                      return;
                  } finally {
                    if (l) throw i;
                  }
                }
                return s;
              }
            })(t, e) ||
            (function (t, e) {
              if (t) {
                if ("string" == typeof t) return cn(t, e);
                var n = {}.toString.call(t).slice(8, -1);
                return (
                  "Object" === n && t.constructor && (n = t.constructor.name),
                  "Map" === n || "Set" === n
                    ? Array.from(t)
                    : "Arguments" === n ||
                      /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)
                    ? cn(t, e)
                    : void 0
                );
              }
            })(t, e) ||
            (function () {
              throw new TypeError(
                "Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."
              );
            })()
          );
        }
        function cn(t, e) {
          (null == e || e > t.length) && (e = t.length);
          for (var n = 0, r = Array(e); n < e; n++) r[n] = t[n];
          return r;
        }
        function ln(t, e, n) {
          return (
            (e = (function (t) {
              var e = (function (t, e) {
                if ("object" != rn(t) || !t) return t;
                var n = t[Symbol.toPrimitive];
                if (void 0 !== n) {
                  var r = n.call(t, e || "default");
                  if ("object" != rn(r)) return r;
                  throw new TypeError(
                    "@@toPrimitive must return a primitive value."
                  );
                }
                return ("string" === e ? String : Number)(t);
              })(t, "string");
              return "symbol" == rn(e) ? e : e + "";
            })(e)) in t
              ? Object.defineProperty(t, e, {
                  value: n,
                  enumerable: !0,
                  configurable: !0,
                  writable: !0,
                })
              : (t[e] = n),
            t
          );
        }
        var un = ln(
          ln({}, "piecewise", { itemWidth: 20, itemHeight: 20 }),
          "continuous",
          { itemWidth: 20, itemHeight: 80 }
        );
        function fn(t) {
          var e,
            n = t.getDataConfig(),
            r = t.dataGetter.getComposedData(),
            i = t.getRunTimeData("renderData"),
            o = i.options,
            s = (function (t, e, n) {
              var r = sn(a.A.get(t, "visualMap"), 1)[0],
                i = r.left,
                o = r.top,
                s = r.min,
                c = r.max,
                l = r.right,
                u = n.rangeRenderBy;
              return an(
                an(an({}, r), (0, Ke.id)(e, { min: s, max: c }, u)),
                {},
                {
                  formatter: (0, Ke.ZV)(e, u),
                  left: null,
                  right:
                    null != l
                      ? l
                      : (0, Ke.c3)(100 - parseInt(null != i ? i : 100, 10)),
                  top: (0, Ke.c3)(o),
                  inRange: { color: (0, Ke.ix)(t.color) },
                }
              );
            })(o, r, n),
            c = r.modelId;
          if (n.modelConfigs) {
            var l,
              u,
              f,
              d,
              h =
                null ===
                  (l = (0, Yt.getModelConfigByModelId)(n.modelConfigs, c)) ||
                void 0 === l
                  ? void 0
                  : l.rangeRenders,
              p = (0, Yt.getDimensionGradeColumn)(n.modelConfigs, c),
              m =
                null !== (u = t.getRunTimeData("drillDownFilterList")) &&
                void 0 !== u
                  ? u
                  : [],
              v =
                null !==
                  (f =
                    null === (d = m[m.length - 1]) ||
                    void 0 === d ||
                    null === (d = d.column) ||
                    void 0 === d
                      ? void 0
                      : d.columnId) && void 0 !== f
                  ? f
                  : null == p
                  ? void 0
                  : p.columnId;
            e = (0, Ke.R3)(h, v);
          }
          if (
            (e && delete (s = an({ showLabel: !0 }, nn(s, e, r, n))).text,
            t.getRunTimeData("lastVisualMapType") &&
              t.getRunTimeData("lastVisualMapType") !== s.type)
          ) {
            var g = un[s.type],
              y = g.itemWidth,
              b = g.itemHeight;
            (s = an(an({}, s), un[s.type])),
              a.A.set(t.getBasicConfig(), "options.visualMap[0].itemWidth", y),
              a.A.set(t.getBasicConfig(), "options.visualMap[0].itemHeight", b);
          }
          a.A.set(o, "visualMap", [s]),
            t.setRunTimeData("renderData", i),
            t.setRunTimeData("lastVisualMapType", s.type);
        }
        function dn(t, e) {
          return (
            (function (t) {
              if (Array.isArray(t)) return t;
            })(t) ||
            (function (t, e) {
              var n =
                null == t
                  ? null
                  : ("undefined" != typeof Symbol && t[Symbol.iterator]) ||
                    t["@@iterator"];
              if (null != n) {
                var r,
                  i,
                  o,
                  a,
                  s = [],
                  c = !0,
                  l = !1;
                try {
                  if (((o = (n = n.call(t)).next), 0 === e)) {
                    if (Object(n) !== n) return;
                    c = !1;
                  } else
                    for (
                      ;
                      !(c = (r = o.call(n)).done) &&
                      (s.push(r.value), s.length !== e);
                      c = !0
                    );
                } catch (t) {
                  (l = !0), (i = t);
                } finally {
                  try {
                    if (
                      !c &&
                      null != n.return &&
                      ((a = n.return()), Object(a) !== a)
                    )
                      return;
                  } finally {
                    if (l) throw i;
                  }
                }
                return s;
              }
            })(t, e) ||
            (function (t, e) {
              if (t) {
                if ("string" == typeof t) return hn(t, e);
                var n = {}.toString.call(t).slice(8, -1);
                return (
                  "Object" === n && t.constructor && (n = t.constructor.name),
                  "Map" === n || "Set" === n
                    ? Array.from(t)
                    : "Arguments" === n ||
                      /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)
                    ? hn(t, e)
                    : void 0
                );
              }
            })(t, e) ||
            (function () {
              throw new TypeError(
                "Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."
              );
            })()
          );
        }
        function hn(t, e) {
          (null == e || e > t.length) && (e = t.length);
          for (var n = 0, r = Array(e); n < e; n++) r[n] = t[n];
          return r;
        }
        function pn(t, e) {
          if (t !== e)
            throw new TypeError("Cannot instantiate an arrow function");
        }
        s.register({
          version: "1.0.0",
          name: "rangeRenderParserForEcharts",
          apply: function (t) {
            var e = this;
            t.addHook(
              "beforeRender",
              function (n) {
                !(function (t, e) {
                  if (t !== e)
                    throw new TypeError("Cannot instantiate an arrow function");
                })(this, e),
                  fn(t);
              }.bind(this)
            );
          },
        }),
          (0, s.register)({
            name: "renderOuterBorderForEchartMap",
            version: "1.0.0",
            apply: function (t) {
              var e = this;
              t.addHook(
                "beforeRender",
                function (n) {
                  var r,
                    i = this;
                  pn(this, e);
                  var o = t.getLib("echarts"),
                    s = t.getBasicConfig(),
                    c = s.map,
                    l = (
                      null !== (r = t.getRunTimeData("currentMapArea")) &&
                      void 0 !== r
                        ? r
                        : { jsonId: c.areas.data }
                    ).jsonId,
                    u = a.A.get(o.getMap(l), "geoJson.outerBorderFeatures");
                  if (u) {
                    var f = t.getRunTimeData("renderData"),
                      d = u.geometry.coordinates.map(
                        function (t) {
                          var e = dn(t, 1)[0];
                          return pn(this, i), { coords: e };
                        }.bind(this)
                      ),
                      h = f.options.series.find(
                        function (t) {
                          return pn(this, i), "lines" === t.type;
                        }.bind(this)
                      ),
                      p = a.A.get(s, "map.outerContour");
                    if (h) {
                      h.data = d;
                      var m = p.borderColor,
                        v = p.borderWidth,
                        g = p.shadow;
                      a.A.set(h, "lineStyle.color", m),
                        a.A.set(h, "lineStyle.width", v),
                        g.show &&
                          a.A.merge(
                            h.lineStyle,
                            a.A.pick(g, [
                              "shadowBlur",
                              "shadowColor",
                              "shadowOffsetX",
                              "shadowOffsetY",
                            ])
                          );
                    }
                  }
                }.bind(this)
              );
            },
          });
        var mn = n(21459);
        const vn = function (t) {
          if (
            ((function (t, e) {
              if (t !== e)
                throw new TypeError("Cannot instantiate an arrow function");
            })(this, undefined),
            t.getScaledOptions && t.getScaleConfigs)
          ) {
            var e = t.getRunTimeData("originConfig").basicConfig;
            a.A.set(
              t.config,
              "basicConfig",
              t.getScaledOptions(e, t.getScaleConfigs())
            );
          }
        }.bind(void 0);
        function gn(t, e) {
          if (t !== e)
            throw new TypeError("Cannot instantiate an arrow function");
        }
        s.register({
          name: "resolute",
          version: "1.0.0",
          apply: function (t) {
            var e = this;
            t.addHook(
              "beforeInit",
              function () {
                gn(this, e),
                  t.getRunTimeData("originConfig") ||
                    (t.setRunTimeData("originConfig", a.A.cloneDeep(t.config)),
                    (t.getScaledOptions = mn.Tz),
                    vn(t));
              }.bind(this),
              { priority: 1 }
            ),
              t.addHook(
                "beforeMount",
                function () {
                  gn(this, e);
                }.bind(this)
              ),
              t.addHook(
                "afterMount",
                function () {
                  gn(this, e);
                }.bind(this)
              ),
              t.addHook(
                "beforeResize",
                function () {
                  gn(this, e), vn(t);
                }.bind(this)
              );
          },
        });
        var yn = {
          enable: !1,
          xAxis: 0,
          yAxis: 0,
          zAxis: 0,
          xDatumPoint: "50%",
          yDatumPoint: "50%",
        };
        function bn(t, e) {
          if (t !== e)
            throw new TypeError("Cannot instantiate an arrow function");
        }
        function Vn(t) {
          var e = this,
            n = (function (t, e) {
              if (t.rotate3d) {
                var n = { transform: "unset", transformOrigin: "unset" };
                if (t.rotate3d.enable) {
                  var r = t.rotate3d,
                    i = r.xAxis,
                    o = void 0 === i ? 0 : i,
                    a = r.yAxis,
                    s = void 0 === a ? 0 : a,
                    c = r.zAxis,
                    l = void 0 === c ? 0 : c,
                    u = r.xDatumPoint,
                    f = void 0 === u ? "50%" : u,
                    d = r.yDatumPoint,
                    h = void 0 === d ? "50%" : d;
                  n = {
                    transform: "perspective(1200px) rotateX("
                      .concat(o, "deg) rotateY(")
                      .concat(s, "deg) rotateZ(")
                      .concat(l, "deg)"),
                    transformOrigin: "".concat(f, " ").concat(h),
                  };
                }
                return e.css(n), n;
              }
            })(t.getBasicConfig(), t.$wrapper || t.$element);
          (t.getRotate3dStyles = function () {
            return bn(this, e), n;
          }.bind(this)),
            t.execHooks("afterRenderRotate3d", { styles: n });
        }
        (0, s.register)({
          name: "rotate3d",
          version: "1.0.0",
          apply: function (t) {
            var e = this,
              n = t.getBasicConfig();
            t.getRunTimeData("status.firstCreated") &&
              !n.rotate3d &&
              t.updateConfigs({ basicConfig: { rotate3d: yn } }),
              t.addHook(
                "afterMount",
                function () {
                  var n;
                  bn(this, e),
                    (null === (n = t.getBasicConfig()) || void 0 === n
                      ? void 0
                      : n.rotate3d) && Vn(t);
                }.bind(this)
              ),
              (0, R.A7)() &&
                t.addHook(
                  "afterRender",
                  function () {
                    var n;
                    bn(this, e),
                      (null === (n = t.getBasicConfig()) || void 0 === n
                        ? void 0
                        : n.rotate3d) && Vn(t);
                  }.bind(this)
                );
          },
        });
        (0, v.register)("warningRender", {
          zh: {
            and: "与",
            or: "或",
            warningRenderConfirm: "告警提醒",
            confirmContent: "是否允许自动播放告警声音",
            allow: "允许",
            abort: "阻止",
          },
          en: {
            and: "And",
            or: "Or",
            warningRenderConfirm: "Alarm prompt",
            confirmContent: "Whether allow auto play of alarm",
            allow: "Allow",
            abort: "Abort",
          },
        });
        const _n = "targetVal",
          wn = "audiosQuery",
          Sn = "onWarning";
        function En(t, e) {
          const n = e.QuerryOriginalData;
          if (!n) return {};
          const r = n.columns.map((t) => t.id),
            { data: i } = n;
          return i[t] instanceof Array
            ? a.A.zipObject(r, i[t]) || {}
            : i[t] || {};
        }
        const An = {
          eventState: function (t) {
            if (!t) return !1;
            const { param: e } = t;
            return !!e && (e.eventState || e.isLinkAction) && e.warningEvent;
          },
          trigger: function (t, e, n, r) {
            const i = {
              event: {
                eventCondition: t.param.condition || t.param.filterDataString,
                sourceComponentId: t.sourceComponentId,
              },
              scope: n._element.scope(),
            };
            $.each(e, (t, e) => {
              "conditionRender" !== t &&
                (i.event[t] =
                  t !== _n ? { origValue: En(r, n)[t] || "", value: e } : e);
            }),
              n.trigger(Sn, i),
              window.ievent.trigger(
                `${n.options.id || n._element.attr("id") || ""}_${Sn}`,
                i
              );
          },
          audiosHandler: function (t, e) {
            const n = t.data(wn);
            n &&
              n.length &&
              (t.attr("src", n[0].url),
              t.attr("componentId", e),
              n.splice(0, 1),
              t.data(wn, n));
          },
        };
        function Tn(t, e) {
          if (t !== e)
            throw new TypeError("Cannot instantiate an arrow function");
        }
        var On = "sfux-warning-audio",
          Cn = "".concat(On, "-wrapper"),
          Pn = "".concat(On, "-modal-root"),
          xn = !1;
        function kn() {
          var t = o()("#".concat(On));
          t.length && t[0].pause();
        }
        function In() {
          var t = o()("#".concat(On));
          return (
            kn(), !!t.length && (t.data("audiosQuery", []), (t[0].src = ""), !0)
          );
        }
        function jn() {
          var t = this,
            e =
              arguments.length > 0 && void 0 !== arguments[0]
                ? arguments[0]
                : o()("#".concat(On));
          e.length &&
            e[0].play().catch(
              function (e) {
                var n = this;
                Tn(this, t),
                  xn ||
                    ("NotSupportedError" !== e.name &&
                      "NotAllowedError" === e.name &&
                      ((xn = !0),
                      (function () {
                        var t = this,
                          e =
                            arguments.length > 0 && void 0 !== arguments[0]
                              ? arguments[0]
                              : {},
                          n = e.onOk,
                          r =
                            void 0 === n
                              ? function () {
                                  Tn(this, t);
                                }.bind(this)
                              : n,
                          i = e.onCancel,
                          o =
                            void 0 === i
                              ? function () {
                                  Tn(this, t);
                                }.bind(this)
                              : i,
                          a = (0, M.confirmModal)({
                            getContainer: document.getElementById(Pn),
                            title: v.get("warningRender.warningRenderConfirm"),
                            okText: v.get("warningRender.allow"),
                            cancelText: v.get("warningRender.abort"),
                            content: v.get("warningRender.confirmContent"),
                            onOk: function () {
                              Tn(this, t), r(), a();
                            }.bind(this),
                            onCancel: function () {
                              Tn(this, t), o(), a();
                            }.bind(this),
                          });
                      })({
                        onOk: function () {
                          Tn(this, n), (xn = !1), jn();
                        }.bind(this),
                        onCancel: function () {
                          Tn(this, n), kn(), (xn = !1);
                        }.bind(this),
                      })));
              }.bind(this)
            );
        }
        const Rn = "alarm-module__alarm__warp--uwzVet",
          Dn = "alarm-module__uxAlarmStyle--aOvCgK",
          Ln = "alarm-module__obliqueGradient__top--bywdcR",
          Mn = "alarm-module__obliqueGradient__bottom--s1u0HK",
          Nn = "alarm-module__close--KenRbQ",
          $n = "alarm-module__alarm__popover--pcESGU";
        function Bn(t, e) {
          var n = this;
          Object.keys(e).forEach(
            function (r) {
              !(function (t, e) {
                if (t !== e)
                  throw new TypeError("Cannot instantiate an arrow function");
              })(this, n),
                t.style.setProperty(r, e[r]);
            }.bind(this)
          );
        }
        var Un = {
          close: n.p + "images/close.d050.svg",
          alarmIcon: n.p + "images/alarmIcon.1cc2.svg",
          alarmIcon_small: n.p + "images/alarmIcon_small.986a.svg",
        };
        function Fn(t, e) {
          if (t !== e)
            throw new TypeError("Cannot instantiate an arrow function");
        }
        function Hn(t) {
          var e = this,
            n = (0, D.useRef)();
          return (
            (0, D.useEffect)(
              function () {
                var r = this;
                Fn(this, e),
                  async function () {
                    Fn(this, r);
                    var e = await window.fetch(t.src),
                      i = await e.text();
                    n.current && (n.current.innerHTML = i);
                  }.bind(this)();
              }.bind(this),
              [t.src]
            ),
            (0, D.useEffect)(
              function () {
                var r;
                Fn(this, e);
                var i = (null !== (r = t.colors) && void 0 !== r ? r : {})
                  .themeColor;
                i &&
                  n.current.style.setProperty(
                    "--ux-alarm-style-theme-color",
                    i
                  );
              }.bind(this),
              [t.colors]
            ),
            D.createElement("div", {
              className: "ux-svg ".concat(t.className),
              ref: n,
            })
          );
        }
        var Gn = n(21086);
        function Wn(t) {
          var e,
            n = this;
          return D.createElement(
            Gn.A,
            {
              trigger: "hover",
              overlayClassName: "".concat($n, " uxStyle"),
              icon: null,
              title:
                null !== (e = t.title) && void 0 !== e
                  ? e
                  : v.get("common.i18n_78"),
              okText: v.get("common.i18n_79"),
              showCancel: !1,
              onConfirm: function () {
                return (
                  (function (t, e) {
                    if (t !== e)
                      throw new TypeError(
                        "Cannot instantiate an arrow function"
                      );
                  })(this, n),
                  t.close()
                );
              }.bind(this),
            },
            t.children
          );
        }
        const zn = "style-module__uxAlarmStyle1--HgN3kr",
          qn = "style-module__alarmIcon--BaBG4o",
          Xn = "style-module__close--K7LltK";
        function Yn(t, e) {
          if (t !== e)
            throw new TypeError("Cannot instantiate an arrow function");
        }
        const Kn = "style-module__uxAlarmStyle2--UYB1xG",
          Zn = "style-module__carousel--wS7hrn",
          Jn = "style-module__carousel__icon--NFzIaH",
          Qn = "style-module__carousel__content--F0idC9",
          tr = "style-module__carousel__content_run--mx3iRk",
          er = "style-module__carousel__close--jzSk87";
        function nr(t, e) {
          if (t !== e)
            throw new TypeError("Cannot instantiate an arrow function");
        }
        var rr = v.get("common.i18n_78");
        const ir = "style-module__uxAlarmStyle3--gf_JbP",
          or = "style-module__obliqueGradientBorder--VDBcsi",
          ar = "style-module__obliqueGradientBorder__top--ctcXxV",
          sr = "style-module__obliqueGradientBorder__left--R4CoAS",
          cr = "style-module__obliqueGradientBorder__right--iurlYb",
          lr = "style-module__obliqueGradientBorder__bottom--GjMq2L",
          ur = "style-module__close--p8lFEF";
        function fr(t, e) {
          if (t !== e)
            throw new TypeError("Cannot instantiate an arrow function");
        }
        function dr(t) {
          return (
            (dr =
              "function" == typeof Symbol && "symbol" == typeof Symbol.iterator
                ? function (t) {
                    return typeof t;
                  }
                : function (t) {
                    return t &&
                      "function" == typeof Symbol &&
                      t.constructor === Symbol &&
                      t !== Symbol.prototype
                      ? "symbol"
                      : typeof t;
                  }),
            dr(t)
          );
        }
        var hr = void 0;
        function pr(t, e) {
          var n = Object.keys(t);
          if (Object.getOwnPropertySymbols) {
            var r = Object.getOwnPropertySymbols(t);
            e &&
              (r = r.filter(function (e) {
                return Object.getOwnPropertyDescriptor(t, e).enumerable;
              })),
              n.push.apply(n, r);
          }
          return n;
        }
        function mr(t) {
          for (var e = 1; e < arguments.length; e++) {
            var n = null != arguments[e] ? arguments[e] : {};
            e % 2
              ? pr(Object(n), !0).forEach(function (e) {
                  vr(t, e, n[e]);
                })
              : Object.getOwnPropertyDescriptors
              ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(n))
              : pr(Object(n)).forEach(function (e) {
                  Object.defineProperty(
                    t,
                    e,
                    Object.getOwnPropertyDescriptor(n, e)
                  );
                });
          }
          return t;
        }
        function vr(t, e, n) {
          return (
            (e = (function (t) {
              var e = (function (t, e) {
                if ("object" != dr(t) || !t) return t;
                var n = t[Symbol.toPrimitive];
                if (void 0 !== n) {
                  var r = n.call(t, e || "default");
                  if ("object" != dr(r)) return r;
                  throw new TypeError(
                    "@@toPrimitive must return a primitive value."
                  );
                }
                return ("string" === e ? String : Number)(t);
              })(t, "string");
              return "symbol" == dr(e) ? e : e + "";
            })(e)) in t
              ? Object.defineProperty(t, e, {
                  value: n,
                  enumerable: !0,
                  configurable: !0,
                  writable: !0,
                })
              : (t[e] = n),
            t
          );
        }
        function gr(t, e) {
          return (
            (function (t) {
              if (Array.isArray(t)) return t;
            })(t) ||
            (function (t, e) {
              var n =
                null == t
                  ? null
                  : ("undefined" != typeof Symbol && t[Symbol.iterator]) ||
                    t["@@iterator"];
              if (null != n) {
                var r,
                  i,
                  o,
                  a,
                  s = [],
                  c = !0,
                  l = !1;
                try {
                  if (((o = (n = n.call(t)).next), 0 === e)) {
                    if (Object(n) !== n) return;
                    c = !1;
                  } else
                    for (
                      ;
                      !(c = (r = o.call(n)).done) &&
                      (s.push(r.value), s.length !== e);
                      c = !0
                    );
                } catch (t) {
                  (l = !0), (i = t);
                } finally {
                  try {
                    if (
                      !c &&
                      null != n.return &&
                      ((a = n.return()), Object(a) !== a)
                    )
                      return;
                  } finally {
                    if (l) throw i;
                  }
                }
                return s;
              }
            })(t, e) ||
            (function (t, e) {
              if (t) {
                if ("string" == typeof t) return yr(t, e);
                var n = {}.toString.call(t).slice(8, -1);
                return (
                  "Object" === n && t.constructor && (n = t.constructor.name),
                  "Map" === n || "Set" === n
                    ? Array.from(t)
                    : "Arguments" === n ||
                      /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)
                    ? yr(t, e)
                    : void 0
                );
              }
            })(t, e) ||
            (function () {
              throw new TypeError(
                "Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."
              );
            })()
          );
        }
        function yr(t, e) {
          (null == e || e > t.length) && (e = t.length);
          for (var n = 0, r = Array(e); n < e; n++) r[n] = t[n];
          return r;
        }
        function br(t, e) {
          if (t !== e)
            throw new TypeError("Cannot instantiate an arrow function");
        }
        var Vr = D.forwardRef,
          _r = D.useImperativeHandle,
          wr = D.useEffect,
          Sr = D.useRef,
          Er = D.useState,
          Ar = function () {
            return br(this, hr), { show: !1, icon: "1", color: "#5271FF" };
          }.bind(void 0),
          Tr = {
            1: function (t) {
              var e = this,
                n = t.themeColor,
                r = t.monitorMsg,
                i = (0, D.useRef)();
              return (
                (0, D.useEffect)(
                  function () {
                    Yn(this, e),
                      i.current &&
                        Bn(i.current, { "--ux-alarm-theme-color": n });
                  }.bind(this),
                  [n]
                ),
                D.createElement(
                  "div",
                  { className: "".concat(Dn, " ").concat(zn), ref: i },
                  D.createElement("div", { className: Ln }),
                  D.createElement(
                    Wn,
                    { title: r.alarmContent, close: t.close },
                    D.createElement(
                      "div",
                      { className: qn },
                      D.createElement(Hn, { src: Un.alarmIcon })
                    )
                  ),
                  D.createElement(
                    "div",
                    {
                      className: "".concat(Nn, " ").concat(Xn),
                      onClick: function () {
                        return Yn(this, e), t.close();
                      }.bind(this),
                    },
                    D.createElement("img", { src: Un.close, alt: "" })
                  ),
                  D.createElement("div", { className: Mn })
                )
              );
            },
            2: function (t) {
              var e,
                n,
                r = this,
                i = t.themeColor,
                a = t.monitorMsg,
                s = (0, D.useRef)();
              return (
                (0, D.useEffect)(
                  function () {
                    nr(this, r),
                      s.current &&
                        Bn(s.current, { "--ux-alarm-theme-color": i });
                  }.bind(this),
                  [i]
                ),
                (0, D.useEffect)(
                  function () {
                    nr(this, r);
                    var t = o()(s.current).find(".".concat(Qn)),
                      e = o()(s.current).find(".".concat(tr));
                    t.width() < e.width()
                      ? e.addClass("running")
                      : e.removeClass("running");
                  }.bind(this),
                  [a.alarmContent]
                ),
                D.createElement(
                  "div",
                  { className: "".concat(Dn, " ").concat(Kn), ref: s },
                  D.createElement("div", { className: Ln }),
                  D.createElement(
                    Wn,
                    { title: a.alarmContent, close: t.close },
                    D.createElement(
                      "div",
                      { className: Zn },
                      D.createElement(
                        "div",
                        { className: Jn },
                        D.createElement("img", {
                          src: Un.alarmIcon_small,
                          alt: "",
                        })
                      ),
                      D.createElement(
                        "div",
                        { className: Qn },
                        D.createElement(
                          "div",
                          {
                            className: tr,
                            title:
                              null !== (e = a.alarmContent) && void 0 !== e
                                ? e
                                : rr,
                          },
                          null !== (n = a.alarmContent) && void 0 !== n ? n : rr
                        )
                      ),
                      D.createElement(
                        "div",
                        {
                          className: er,
                          onClick: function () {
                            return nr(this, r), t.close();
                          }.bind(this),
                        },
                        D.createElement("img", { src: Un.close, alt: "" })
                      )
                    )
                  ),
                  D.createElement("div", { className: Mn })
                )
              );
            },
            3: function (t) {
              var e = this,
                n = t.themeColor,
                r = t.monitorMsg,
                i = (0, D.useRef)();
              return (
                (0, D.useEffect)(
                  function () {
                    fr(this, e),
                      i.current &&
                        Bn(i.current, { "--ux-alarm-theme-color": n });
                  }.bind(this),
                  [n]
                ),
                (0, D.useEffect)(
                  function () {
                    if ((fr(this, e), i.current)) {
                      var t = o()(i.current),
                        n = t.width(),
                        r = t.height(),
                        a = n < 24 || r < 24 ? "2px" : "6px";
                      Bn(i.current, { "--ux-alarm-style3-border-height": a });
                    }
                  }.bind(this),
                  [t.resolution]
                ),
                D.createElement(
                  "div",
                  { className: "".concat(Dn, " ").concat(ir), ref: i },
                  D.createElement("div", { className: Ln }),
                  D.createElement("div", { className: Mn }),
                  D.createElement(
                    "div",
                    {
                      className: ur,
                      onClick: function () {
                        return fr(this, e), t.close();
                      }.bind(this),
                    },
                    D.createElement("img", { src: Un.close, alt: "" })
                  ),
                  D.createElement(
                    Wn,
                    { title: r.alarmContent, close: t.close },
                    D.createElement(
                      "div",
                      { className: or },
                      D.createElement("div", { className: ar }),
                      D.createElement("div", { className: sr }),
                      D.createElement("div", { className: cr }),
                      D.createElement("div", { className: lr })
                    )
                  )
                )
              );
            },
          };
        const Or = Vr(
          function (t, e) {
            var n = this;
            br(this, hr);
            var r = Sr(),
              i = gr(Er({ alarmIcon: JSON.stringify(Ar()) }), 2),
              s = i[0],
              c = i[1],
              l = gr(Er({ transform: "scaleX(1) scaleY(1)" }), 2),
              u = l[0],
              f = l[1],
              d = gr(Er(!0), 2),
              h = d[0],
              p = d[1],
              m = function () {
                br(this, n), In(), p(!1);
              }.bind(this);
            _r(
              e,
              function () {
                return (
                  br(this, n),
                  {
                    render: function (t) {
                      var e = t.monitorMsg;
                      (a.A.isNumber(s.alarmWeight) &&
                        e.alarmWeight < s.alarmWeight) ||
                        (c(e), p(!0));
                    },
                    setResolutionSize: function (t) {
                      f(t);
                    },
                    getElement: function () {
                      return r.current;
                    },
                  }
                );
              }.bind(this)
            ),
              wr(
                function () {
                  var e;
                  br(this, n),
                    null === (e = t.callback) || void 0 === e || e.call(t);
                }.bind(this),
                []
              ),
              wr(
                function () {
                  br(this, n);
                  var t = s.alarmVoice,
                    e = s.componentId;
                  t &&
                    h &&
                    (function (t, e) {
                      var n = this;
                      if (e) {
                        In();
                        var r = e.path,
                          i = e.loop,
                          a = void 0 !== i && i,
                          s = e.onAudioEnded,
                          c =
                            void 0 === s
                              ? function () {
                                  Tn(this, n);
                                }.bind(this)
                              : s,
                          l = e.onAudioError,
                          u =
                            void 0 === l
                              ? function () {
                                  Tn(this, n);
                                }.bind(this)
                              : l,
                          f = o()("#".concat(On));
                        if (f.length)
                          return (
                            f.data("audiosQuery", { url: r, id: t }),
                            f[0].paused && (f.attr("src", r), jn(f)),
                            !1
                          );
                        var d = o()("#".concat(Cn)),
                          h = o()(
                            '\n        <audio id="'
                              .concat(On, '" componentId="')
                              .concat(t, '" src="')
                              .concat(r, '" autoplay ')
                              .concat(a ? "loop" : "", " ></audio>\n    ")
                          );
                        d.length ||
                          ((d = o()(
                            "\n            <div id="
                              .concat(Cn, ">\n                <div id=")
                              .concat(
                                Pn,
                                "></div>\n            </div>\n        "
                              )
                          )),
                          o()("body").append(d)),
                          d.append(h),
                          h.off("ended").on("ended", function () {
                            c(), An.audiosHandler(o()(this), t);
                          }),
                          h.off("error").on("error", function () {
                            u();
                          }),
                          jn(h);
                      }
                    })(e, { path: t });
                }.bind(this),
                [s, h]
              );
            var v = {};
            try {
              v = JSON.parse(s.alarmIcon);
            } catch (t) {}
            if (!v.show || !h) return null;
            var g = Tr[v.icon];
            return D.createElement(
              "div",
              { className: Rn, style: mr({}, u) },
              D.createElement(g, {
                themeColor: v.color,
                monitorMsg: s,
                resolution: u,
                close: m,
              })
            );
          }.bind(void 0)
        );
        function Cr(t, e) {
          if (t !== e)
            throw new TypeError("Cannot instantiate an arrow function");
        }
        s.register({
          version: "1.0.0",
          name: "serverAlarm",
          apply: function (t) {
            var e,
              n = this;
            t.alarmView = D.createRef();
            var r = 0,
              i = a.A.throttle(
                function (e) {
                  Cr(this, n);
                  var r = t.getBasicConfig(),
                    i = r.width,
                    o = r.height;
                  if (t.alarmView.current)
                    if (t.contextId)
                      t.alarmView.current.setResolutionSize({
                        width: i,
                        height: o,
                      });
                    else {
                      var a = (0, mn.Ge)();
                      t.hasOwnProperty("_chartInstance") &&
                        t.alarmView.current.setResolutionSize({
                          width: i,
                          height: o,
                          transform: "scaleX("
                            .concat(1 / a.xf, ") scaleY(")
                            .concat(1 / a.yf, ")"),
                        });
                    }
                }.bind(this),
                100
              );
            function s(e, n, r) {
              var i =
                arguments.length > 3 && void 0 !== arguments[3] && arguments[3];
              (null == e ? void 0 : e.modelId) === n.modelId &&
                (t.alarmView.current.render({ monitorMsg: n }),
                i || !1 === (null == r ? void 0 : r.isFetch) || t.fetch());
            }
            t.addHook(
              "afterMount",
              function () {
                var r = this;
                Cr(this, n),
                  (t.$alarmView = o()('<div class="alarm_view"></div>')),
                  t.$parent.append(t.$alarmView),
                  (e = (0, A.createRoot)(t.$alarmView[0])).render(
                    D.createElement(Or, {
                      ref: t.alarmView,
                      callback: function () {
                        return Cr(this, r), i();
                      }.bind(this),
                    })
                  );
              }.bind(this)
            ),
              t.addHook(
                "beforeResize",
                function () {
                  Cr(this, n), i();
                }.bind(this)
              ),
              t.addHook(
                "hookResolution",
                function (t) {
                  Cr(this, n), i(t.scaleFactor);
                }.bind(this)
              ),
              t.isVirtualComponent
                ? t.addHook(
                    "execVirtualAlarm",
                    function (t, e, i) {
                      if ((Cr(this, n), t)) {
                        var o = e.alarmLevel;
                        if (o <= r) return;
                        (r = o), s(t, e, i, !0);
                      }
                    }.bind(this)
                  )
                : t.addHook(
                    "execServerAlarmMonitor",
                    function (e, r) {
                      var i = this;
                      if (
                        (Cr(this, n),
                        (
                          a.A.get(t.config, "dataConfig.modelHandleConfigs") ||
                          {}
                        ).loadDelay)
                      )
                        t.alarmView.current.render({ monitorMsg: e });
                      else {
                        var o = t.dataGetter.getData();
                        a.A.isEmpty(o)
                          ? t.addOnceHook(
                              "beforeRender",
                              function () {
                                Cr(this, i), s(t.dataGetter.getData(), e, r);
                              }.bind(this)
                            )
                          : s(o, e, r);
                      }
                    }.bind(this)
                  ),
              t.addHook(
                "beforeDestroy",
                function () {
                  Cr(this, n),
                    (t.alarmView = null),
                    e.unmount(),
                    t.$alarmView.remove(),
                    (t.$alarmView = null),
                    (e = null);
                }.bind(this)
              ),
              t.config.alarmMsg &&
                (t.execHooks(
                  "execServerAlarmMonitor",
                  t.config.alarmMsg[0],
                  t.config.alarmMsg[1]
                ),
                delete t.config.alarmMsg);
          },
        });
        var Pr = n(14251);
        function xr(t, e) {
          if (t !== e)
            throw new TypeError("Cannot instantiate an arrow function");
        }
        s.register({
          name: "showAndHideAnimation",
          version: "1.0.0",
          apply: function (t) {
            var e = this;
            function n(e) {
              var n = this,
                r = e.animateType,
                i = e.animateTime,
                o = e.animateUpper,
                a = (0, Pr.A)({ type: r, target: t.$parent[0], duration: i });
              t.animating && t.animating.destroy(),
                o && t.$parent.addClass("uxComponentRoot__animating-upper"),
                a.done(
                  function () {
                    xr(this, n),
                      t.$parent.removeClass("uxComponentRoot__animating-upper"),
                      a.destroy();
                  }.bind(this)
                ),
                (t.animating = a.start());
            }
            t.addHook(
              "beforeShow",
              function (r) {
                var i;
                xr(this, e),
                  (null !== (i = t.getRunTimeData("display")) && void 0 !== i
                    ? i
                    : t.getBasicConfig().display) ||
                    (r && r.animateEnter && n(r.animateEnter));
              }.bind(this)
            ),
              t.addHook(
                "beforeHide",
                function (r) {
                  var i;
                  xr(this, e),
                    (null !== (i = t.getRunTimeData("display")) && void 0 !== i
                      ? i
                      : t.getBasicConfig().display) &&
                      r &&
                      r.animateOut &&
                      n(r.animateOut);
                }.bind(this)
              ),
              t.addHook(
                "beforeUpdateShowOrHide",
                function (r) {
                  var i;
                  (xr(this, e), r && (r.animateOut || r.animateEnter)) &&
                    n(
                      (
                        null !== (i = t.getRunTimeData("display")) &&
                        void 0 !== i
                          ? i
                          : t.getBasicConfig().display
                      )
                        ? r.animateOut
                        : r.animateEnter
                    );
                }.bind(this)
              );
          },
        });
        var kr = n(77500),
          Ir = n(23149),
          jr = n(87476);
        function Rr(t) {
          return (
            (Rr =
              "function" == typeof Symbol && "symbol" == typeof Symbol.iterator
                ? function (t) {
                    return typeof t;
                  }
                : function (t) {
                    return t &&
                      "function" == typeof Symbol &&
                      t.constructor === Symbol &&
                      t !== Symbol.prototype
                      ? "symbol"
                      : typeof t;
                  }),
            Rr(t)
          );
        }
        function Dr(t, e) {
          var n = Object.keys(t);
          if (Object.getOwnPropertySymbols) {
            var r = Object.getOwnPropertySymbols(t);
            e &&
              (r = r.filter(function (e) {
                return Object.getOwnPropertyDescriptor(t, e).enumerable;
              })),
              n.push.apply(n, r);
          }
          return n;
        }
        function Lr(t) {
          for (var e = 1; e < arguments.length; e++) {
            var n = null != arguments[e] ? arguments[e] : {};
            e % 2
              ? Dr(Object(n), !0).forEach(function (e) {
                  Mr(t, e, n[e]);
                })
              : Object.getOwnPropertyDescriptors
              ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(n))
              : Dr(Object(n)).forEach(function (e) {
                  Object.defineProperty(
                    t,
                    e,
                    Object.getOwnPropertyDescriptor(n, e)
                  );
                });
          }
          return t;
        }
        function Mr(t, e, n) {
          return (
            (e = (function (t) {
              var e = (function (t, e) {
                if ("object" != Rr(t) || !t) return t;
                var n = t[Symbol.toPrimitive];
                if (void 0 !== n) {
                  var r = n.call(t, e || "default");
                  if ("object" != Rr(r)) return r;
                  throw new TypeError(
                    "@@toPrimitive must return a primitive value."
                  );
                }
                return ("string" === e ? String : Number)(t);
              })(t, "string");
              return "symbol" == Rr(e) ? e : e + "";
            })(e)) in t
              ? Object.defineProperty(t, e, {
                  value: n,
                  enumerable: !0,
                  configurable: !0,
                  writable: !0,
                })
              : (t[e] = n),
            t
          );
        }
        function Nr(t, e) {
          if (t !== e)
            throw new TypeError("Cannot instantiate an arrow function");
        }
        const $r = function (t, e) {
          var n = this,
            r = arguments.length > 2 && void 0 !== arguments[2] && arguments[2];
          Nr(this, undefined);
          var i = (0, kr.A)(e, "colorStops[0].color", e);
          if (!t.includes("emphasis")) return i;
          if (r) {
            var o = e.colorStops.map(
              function (t) {
                return (
                  Nr(this, n),
                  Lr(Lr({}, t), {}, { color: jr.lift(t.color, 0.2) })
                );
              }.bind(this)
            );
            return Lr(Lr({}, e), {}, { colorStops: o });
          }
          return jr.lift(i, 0.2);
        }.bind(void 0);
        function Br(t) {
          return (
            (function (t) {
              if (Array.isArray(t)) return Ur(t);
            })(t) ||
            (function (t) {
              if (
                ("undefined" != typeof Symbol && null != t[Symbol.iterator]) ||
                null != t["@@iterator"]
              )
                return Array.from(t);
            })(t) ||
            (function (t, e) {
              if (t) {
                if ("string" == typeof t) return Ur(t, e);
                var n = {}.toString.call(t).slice(8, -1);
                return (
                  "Object" === n && t.constructor && (n = t.constructor.name),
                  "Map" === n || "Set" === n
                    ? Array.from(t)
                    : "Arguments" === n ||
                      /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)
                    ? Ur(t, e)
                    : void 0
                );
              }
            })(t) ||
            (function () {
              throw new TypeError(
                "Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."
              );
            })()
          );
        }
        function Ur(t, e) {
          (null == e || e > t.length) && (e = t.length);
          for (var n = 0, r = Array(e); n < e; n++) r[n] = t[n];
          return r;
        }
        function Fr(t, e) {
          if (t !== e)
            throw new TypeError("Cannot instantiate an arrow function");
        }
        const Hr = function (t, e) {
          var n = this;
          Fr(this, undefined);
          var r = [];
          return (
            e.forEach(
              function (e) {
                var i = this;
                if ((Fr(this, n), e.includes("?"))) {
                  var o = e.split("?"),
                    a = (0, kr.A)(t, o[0]);
                  Array.isArray(a)
                    ? r.push.apply(
                        r,
                        Br(
                          a.map(
                            function (t, e) {
                              return (
                                Fr(this, i),
                                ""
                                  .concat(o[0], "[")
                                  .concat(e, "].")
                                  .concat(o[1])
                              );
                            }.bind(this)
                          )
                        )
                      )
                    : r.push("".concat(o[0], ".").concat(o[1]));
                } else r.push(e);
              }.bind(this)
            ),
            r
          );
        }.bind(void 0);
        function Gr(t) {
          return (
            (function (t) {
              if (Array.isArray(t)) return Wr(t);
            })(t) ||
            (function (t) {
              if (
                ("undefined" != typeof Symbol && null != t[Symbol.iterator]) ||
                null != t["@@iterator"]
              )
                return Array.from(t);
            })(t) ||
            (function (t, e) {
              if (t) {
                if ("string" == typeof t) return Wr(t, e);
                var n = {}.toString.call(t).slice(8, -1);
                return (
                  "Object" === n && t.constructor && (n = t.constructor.name),
                  "Map" === n || "Set" === n
                    ? Array.from(t)
                    : "Arguments" === n ||
                      /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)
                    ? Wr(t, e)
                    : void 0
                );
              }
            })(t) ||
            (function () {
              throw new TypeError(
                "Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."
              );
            })()
          );
        }
        function Wr(t, e) {
          (null == e || e > t.length) && (e = t.length);
          for (var n = 0, r = Array(e); n < e; n++) r[n] = t[n];
          return r;
        }
        function zr(t, e) {
          if (t !== e)
            throw new TypeError("Cannot instantiate an arrow function");
        }
        var qr = [
            "emphasis.itemStyle.borderColor",
            "itemStyle.borderColor",
            "label.color",
            "label.rich.b.color",
            "label.rich.c.color",
            "label.rich.d.color",
          ],
          Xr = ["emphasis.itemStyle.color"];
        const Yr = function (t, e) {
          var n = this;
          zr(this, undefined);
          var r = Hr(t, qr),
            i = Hr(t, Xr);
          [].concat(Gr(r), Gr(i)).forEach(
            function (r) {
              if ((zr(this, n), "auto" === (0, kr.A)(t, r))) {
                var o = $r(r, e, i.includes(r) && (0, Ir.A)(e));
                (0, $e.A)(t, r, o);
              }
            }.bind(this)
          );
        }.bind(void 0);
        function Kr(t) {
          return (
            (function (t) {
              if (Array.isArray(t)) return Zr(t);
            })(t) ||
            (function (t) {
              if (
                ("undefined" != typeof Symbol && null != t[Symbol.iterator]) ||
                null != t["@@iterator"]
              )
                return Array.from(t);
            })(t) ||
            (function (t, e) {
              if (t) {
                if ("string" == typeof t) return Zr(t, e);
                var n = {}.toString.call(t).slice(8, -1);
                return (
                  "Object" === n && t.constructor && (n = t.constructor.name),
                  "Map" === n || "Set" === n
                    ? Array.from(t)
                    : "Arguments" === n ||
                      /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)
                    ? Zr(t, e)
                    : void 0
                );
              }
            })(t) ||
            (function () {
              throw new TypeError(
                "Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."
              );
            })()
          );
        }
        function Zr(t, e) {
          (null == e || e > t.length) && (e = t.length);
          for (var n = 0, r = Array(e); n < e; n++) r[n] = t[n];
          return r;
        }
        function Jr(t, e) {
          if (t !== e)
            throw new TypeError("Cannot instantiate an arrow function");
        }
        var Qr = [
            "label.color",
            "itemStyle.borderColor",
            "itemStyle.color",
            "symbolLineColor",
            "markPoint?itemStyle.borderColor",
            "markPoint?itemStyle.color",
            "markLine?itemStyle.borderColor",
            "markLine?itemStyle.color",
            "emphasis.itemStyle.borderColor",
          ],
          ti = ["emphasis.itemStyle.color"];
        const ei = function (t, e) {
          var n = this;
          Jr(this, undefined);
          var r = Hr(t, Qr),
            i = Hr(t, ti);
          [].concat(Kr(r), Kr(i)).forEach(
            function (r) {
              if ((Jr(this, n), "auto" === (0, kr.A)(t, r))) {
                var o = $r(r, e, i.includes(r) && (0, Ir.A)(e));
                (0, $e.A)(t, r, o);
              }
            }.bind(this)
          );
        }.bind(void 0);
        function ni(t) {
          return (
            (function (t) {
              if (Array.isArray(t)) return ri(t);
            })(t) ||
            (function (t) {
              if (
                ("undefined" != typeof Symbol && null != t[Symbol.iterator]) ||
                null != t["@@iterator"]
              )
                return Array.from(t);
            })(t) ||
            (function (t, e) {
              if (t) {
                if ("string" == typeof t) return ri(t, e);
                var n = {}.toString.call(t).slice(8, -1);
                return (
                  "Object" === n && t.constructor && (n = t.constructor.name),
                  "Map" === n || "Set" === n
                    ? Array.from(t)
                    : "Arguments" === n ||
                      /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)
                    ? ri(t, e)
                    : void 0
                );
              }
            })(t) ||
            (function () {
              throw new TypeError(
                "Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."
              );
            })()
          );
        }
        function ri(t, e) {
          (null == e || e > t.length) && (e = t.length);
          for (var n = 0, r = Array(e); n < e; n++) r[n] = t[n];
          return r;
        }
        function ii(t, e) {
          if (t !== e)
            throw new TypeError("Cannot instantiate an arrow function");
        }
        s.register({
          version: "1.0.0",
          name: "smartAuto",
          apply: function (t) {
            var e = this;
            t.addHook(
              "beforeRender",
              function () {
                var n = this;
                ii(this, e);
                var r = t.getRunTimeData("renderData"),
                  i = r.options,
                  o = i.series,
                  a = void 0 === o ? [] : o,
                  s = i.geo,
                  c = void 0 === s ? [] : s,
                  l = i.color,
                  u = void 0 === l ? [] : l,
                  f = i.legend,
                  d = void 0 === f ? [] : f,
                  h = u.length;
                a.forEach(
                  function (t, e) {
                    var r = this;
                    if ((ii(this, n), "data" === t.colorBy)) {
                      var i = t.data,
                        o = 0;
                      (void 0 === i ? [] : i).forEach(
                        function (t, e) {
                          ii(this, r);
                          var n = (0, kr.A)(t, "itemStyle.color");
                          n && (o += 1), Yr(t, n || u[(e - o) % h]);
                        }.bind(this)
                      );
                    }
                    var a = ni(new Set(d.data)).findIndex(
                      function (e) {
                        return ii(this, r), e === t.name;
                      }.bind(this)
                    );
                    ei(t, u[a % h]);
                  }.bind(this)
                ),
                  c.forEach(
                    function (t, e) {
                      return ii(this, n), ei(t, u[e % h]);
                    }.bind(this)
                  ),
                  t.setRunTimeData("renderData", r);
              }.bind(this)
            );
          },
        });
        var oi = n(39388);
        (0, s.register)({
          name: "theme",
          version: "1.0.0",
          apply: function (t) {
            var e,
              n =
                null === (e = t.getPluginConfig()) || void 0 === e
                  ? void 0
                  : e.themeSchema;
            n &&
              (t.getRunTimeData("status.firstCreated") &&
                (0, oi.adaptThemeBySchema)(n, t.getBasicConfig(), (0, Q.Qb)()),
              (t.buildDefaultConfig = new Proxy(t.buildDefaultConfig, {
                apply: function (t, e, r) {
                  var i = t.apply(e, r);
                  return (
                    (0, oi.adaptThemeBySchema)(n, i.basicConfig, (0, Q.Qb)()), i
                  );
                },
              })),
              (t.adaptThemeConfig = function () {
                var t,
                  e =
                    arguments.length > 0 && void 0 !== arguments[0]
                      ? arguments[0]
                      : this.getThemeConfig();
                this.updateConfigs({
                  basicConfig: (0, oi.adaptThemeBySchema)(
                    n,
                    this.getBasicConfig(),
                    e
                  ),
                }),
                  this.update(),
                  null == this ||
                    null === (t = this.basicSetting) ||
                    void 0 === t ||
                    t.update(this);
              }));
          },
        });
        var ai = n(4213),
          si = n(54188),
          ci = n(87663);
        function li(t, e) {
          if (t !== e)
            throw new TypeError("Cannot instantiate an arrow function");
        }
        function ui(t, e) {
          if (t !== e)
            throw new TypeError("Cannot instantiate an arrow function");
        }
        s.register({
          name: "toolbox",
          version: "1.0.0",
          apply: function (t) {
            var e = this;
            t.addHook(
              "afterMount",
              function () {
                var n = this;
                li(this, e),
                  t._chartInstance.on(
                    "magictypechanged",
                    function (e) {
                      var r,
                        i = this;
                      li(this, n);
                      var o = e.currentType,
                        s = t.getBasicConfig(),
                        c = a.A.get(s, "options.toolbox.feature", {}).magicType;
                      null !== (r = c.type) &&
                        void 0 !== r &&
                        r.length &&
                        (s.options.series.forEach(
                          function (t) {
                            li(this, i),
                              c.type.includes(t.type) && (t.type = o);
                          }.bind(this)
                        ),
                        t.update());
                    }.bind(this)
                  );
              }.bind(this)
            ),
              t.addHook(
                "afterBuildRenderData",
                function () {
                  var n,
                    r = this;
                  li(this, e);
                  var i = t.getRunTimeData("renderData"),
                    o =
                      null == i ||
                      null === (n = i.options) ||
                      void 0 === n ||
                      null === (n = n.toolbox) ||
                      void 0 === n
                        ? void 0
                        : n.feature,
                    a = o.myZoom,
                    s = o.mySaveAsImage;
                  o.magicType;
                  (0, ci.A)() && ((a.show = !1), (s.show = !1)),
                    s &&
                      s.show &&
                      (s.onclick = function () {
                        var e = this;
                        li(this, r);
                        var n = t._chartInstance.getOption();
                        n.toolbox[0].show = !1;
                        var o = n.animation;
                        o &&
                          ((n.animation = !1),
                          n.series.forEach(
                            function (t) {
                              li(this, e), (t.animation = !1);
                            }.bind(this)
                          )),
                          t._chartInstance.setOption(n),
                          setTimeout(
                            function () {
                              var r,
                                a = this;
                              li(this, e);
                              var s = t._chartInstance.getDataURL({
                                type: "png",
                                backgroundColor:
                                  null == i ||
                                  null === (r = i.background) ||
                                  void 0 === r
                                    ? void 0
                                    : r.color,
                              });
                              (0, ai.saveAs)(s, "".concat(i.name, ".png")),
                                (n.toolbox[0].show = !0),
                                o &&
                                  ((n.animation = !0),
                                  n.series.forEach(
                                    function (t) {
                                      li(this, a), (t.animation = !0);
                                    }.bind(this)
                                  )),
                                t._chartInstance.setOption(n);
                            }.bind(this)
                          );
                      }.bind(this)),
                    a &&
                      a.show &&
                      (a.onclick = function () {
                        var e = this;
                        (0, si.C)({
                          component: t,
                          echarts: t.getLib("echarts"),
                          config: t.getRunTimeData("renderData"),
                          adaptRenderOptions:
                            t.getRunTimeData("adaptRenderOptions"),
                          getScaleOption: function (n, r) {
                            return (
                              li(this, e),
                              t.getScaledOptions && t.getScaleConfigs
                                ? t.getScaledOptions(n, t.getScaleConfigs(), r)
                                : n
                            );
                          }.bind(this),
                        });
                      }),
                    t.setRunTimeData("renderData", i);
                }.bind(this)
              );
          },
        }),
          s.register({
            version: "1.0.0",
            name: "virtualAlarm",
            apply: function (t) {
              var e = this;
              t.addHook(
                "execServerAlarmMonitor",
                function (n, r) {
                  var i = this;
                  ui(this, e);
                  var o = t.dataGetter.getData();
                  a.A.isEmpty(o) || !t.parentInstance.isVirtualComponent
                    ? t.addOnceHook(
                        "beforeRender",
                        function () {
                          ui(this, i);
                          var e = t.dataGetter.getData();
                          t.parentInstance.execHooks(
                            "execVirtualAlarm",
                            e,
                            n,
                            r
                          );
                        }.bind(this)
                      )
                    : t.parentInstance.execHooks("execVirtualAlarm", o, n, r);
                }.bind(this)
              ),
                t.addHook(
                  "initAlarmMsg",
                  function () {
                    ui(this, e),
                      t.config.alarmMsg &&
                        (t.execHooks(
                          "execServerAlarmMonitor",
                          t.config.alarmMsg[0],
                          t.config.alarmMsg[1]
                        ),
                        delete t.config.alarmMsg);
                  }.bind(this)
                );
            },
          });
        var fi = n(50808),
          di = n(6044),
          hi = n.n(di);
        function pi(t) {
          var e = this;
          if (!a.A.isArray(t)) return [];
          var n = {};
          return (
            t.forEach(
              function (t) {
                !(function (t, e) {
                  if (t !== e)
                    throw new TypeError("Cannot instantiate an arrow function");
                })(this, e);
                var r = t.conditionString;
                n[r] = t;
              }.bind(this)
            ),
            Object.values(n)
          );
        }
        var mi = n(23358),
          vi = n(33418);
        function gi(t, e) {
          var n = this,
            r = t.data,
            i = t.columns;
          return (
            r ||
              i ||
              ((r = []),
              (i = []),
              Object.values(e).forEach(
                function (t) {
                  var e, o;
                  !(function (t, e) {
                    if (t !== e)
                      throw new TypeError(
                        "Cannot instantiate an arrow function"
                      );
                  })(this, n);
                  var a = (null !== (e = t.position) && void 0 !== e ? e : {})
                      .columnId,
                    s = void 0 === a ? "random_column_id" : a;
                  r.push([null !== (o = t.data) && void 0 !== o ? o : t]),
                    i.push({ columnId: s });
                }.bind(this)
              )),
            (0, vi.er)({ data: r, columns: i })
          );
        }
        var yi = n(43488);
        function bi(t) {
          return (
            (bi =
              "function" == typeof Symbol && "symbol" == typeof Symbol.iterator
                ? function (t) {
                    return typeof t;
                  }
                : function (t) {
                    return t &&
                      "function" == typeof Symbol &&
                      t.constructor === Symbol &&
                      t !== Symbol.prototype
                      ? "symbol"
                      : typeof t;
                  }),
            bi(t)
          );
        }
        function Vi(t, e) {
          var n = Object.keys(t);
          if (Object.getOwnPropertySymbols) {
            var r = Object.getOwnPropertySymbols(t);
            e &&
              (r = r.filter(function (e) {
                return Object.getOwnPropertyDescriptor(t, e).enumerable;
              })),
              n.push.apply(n, r);
          }
          return n;
        }
        function _i(t) {
          for (var e = 1; e < arguments.length; e++) {
            var n = null != arguments[e] ? arguments[e] : {};
            e % 2
              ? Vi(Object(n), !0).forEach(function (e) {
                  wi(t, e, n[e]);
                })
              : Object.getOwnPropertyDescriptors
              ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(n))
              : Vi(Object(n)).forEach(function (e) {
                  Object.defineProperty(
                    t,
                    e,
                    Object.getOwnPropertyDescriptor(n, e)
                  );
                });
          }
          return t;
        }
        function wi(t, e, n) {
          return (
            (e = (function (t) {
              var e = (function (t, e) {
                if ("object" != bi(t) || !t) return t;
                var n = t[Symbol.toPrimitive];
                if (void 0 !== n) {
                  var r = n.call(t, e || "default");
                  if ("object" != bi(r)) return r;
                  throw new TypeError(
                    "@@toPrimitive must return a primitive value."
                  );
                }
                return ("string" === e ? String : Number)(t);
              })(t, "string");
              return "symbol" == bi(e) ? e : e + "";
            })(e)) in t
              ? Object.defineProperty(t, e, {
                  value: n,
                  enumerable: !0,
                  configurable: !0,
                  writable: !0,
                })
              : (t[e] = n),
            t
          );
        }
        function Si(t, e) {
          if (t !== e)
            throw new TypeError("Cannot instantiate an arrow function");
        }
        function Ei(t, e, n) {
          var r = this,
            i =
              arguments.length > 3 && void 0 !== arguments[3]
                ? arguments[3]
                : {};
          if (
            ((e = (function (t) {
              var e = this;
              return t.map(
                function (t) {
                  return (
                    Si(this, e),
                    null === (null == t ? void 0 : t.value) &&
                      (t.value = String(t.value)),
                    t
                  );
                }.bind(this)
              );
            })(e)),
            !t.find(
              function (t) {
                return Si(this, r), t.legendColumnId;
              }.bind(this)
            ))
          ) {
            var o = t.map(
              function (t) {
                return Si(this, r), t.columnId;
              }.bind(this)
            );
            return [
              _i(
                _i(_i({}, a.A.zipObject(o, e)), i),
                {},
                { extra: { rowIndex: n } }
              ),
            ];
          }
          for (var s = [], c = e.length, l = 0, u = 1; u < c; u++) {
            var f = t[u];
            if (
              t[0].columnId !== f.columnId &&
              f.columnId !== f.legendColumnId
            ) {
              var d = [t[0].columnId, f.columnId, f.legendColumnId],
                h = [
                  e[0],
                  e[u],
                  {
                    originValue: f.originColumnName,
                    fullValue: f.columnName,
                    value: f.columnName,
                  },
                ];
              s.push(
                _i(
                  _i({}, a.A.zipObject(d, h)),
                  {},
                  { extra: { rowIndex: n, columnIndex: ++l } }
                )
              );
            }
          }
          return s;
        }
        var Ai = n(35063);
        function Ti(t) {
          return (
            (Ti =
              "function" == typeof Symbol && "symbol" == typeof Symbol.iterator
                ? function (t) {
                    return typeof t;
                  }
                : function (t) {
                    return t &&
                      "function" == typeof Symbol &&
                      t.constructor === Symbol &&
                      t !== Symbol.prototype
                      ? "symbol"
                      : typeof t;
                  }),
            Ti(t)
          );
        }
        function Oi(t) {
          return (
            (function (t) {
              if (Array.isArray(t)) return Ci(t);
            })(t) ||
            (function (t) {
              if (
                ("undefined" != typeof Symbol && null != t[Symbol.iterator]) ||
                null != t["@@iterator"]
              )
                return Array.from(t);
            })(t) ||
            (function (t, e) {
              if (t) {
                if ("string" == typeof t) return Ci(t, e);
                var n = {}.toString.call(t).slice(8, -1);
                return (
                  "Object" === n && t.constructor && (n = t.constructor.name),
                  "Map" === n || "Set" === n
                    ? Array.from(t)
                    : "Arguments" === n ||
                      /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)
                    ? Ci(t, e)
                    : void 0
                );
              }
            })(t) ||
            (function () {
              throw new TypeError(
                "Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."
              );
            })()
          );
        }
        function Ci(t, e) {
          (null == e || e > t.length) && (e = t.length);
          for (var n = 0, r = Array(e); n < e; n++) r[n] = t[n];
          return r;
        }
        function Pi(t, e) {
          if (t !== e)
            throw new TypeError("Cannot instantiate an arrow function");
        }
        function xi(t, e, n) {
          return (
            (e = (function (t) {
              var e = (function (t, e) {
                if ("object" != Ti(t) || !t) return t;
                var n = t[Symbol.toPrimitive];
                if (void 0 !== n) {
                  var r = n.call(t, e || "default");
                  if ("object" != Ti(r)) return r;
                  throw new TypeError(
                    "@@toPrimitive must return a primitive value."
                  );
                }
                return ("string" === e ? String : Number)(t);
              })(t, "string");
              return "symbol" == Ti(e) ? e : e + "";
            })(e)) in t
              ? Object.defineProperty(t, e, {
                  value: n,
                  enumerable: !0,
                  configurable: !0,
                  writable: !0,
                })
              : (t[e] = n),
            t
          );
        }
        var ki = xi(
          xi(
            xi(
              xi(xi({}, Ai.C.GreaterThan, "gt"), Ai.C.GreaterThanE, "gte"),
              Ai.C.LessThanE,
              "lte"
            ),
            Ai.C.LessThan,
            "lt"
          ),
          Ai.C.Equal,
          "value"
        );
        function Ii(t) {
          var e = this;
          return t.reduce(
            function (t, n) {
              var r, i, o, a;
              if ((Pi(this, e), ki[n.operator]))
                (t[ki[n.operator]] =
                  null !==
                    (r =
                      null == n || null === (i = n.right) || void 0 === i
                        ? void 0
                        : i.value[0]) && void 0 !== r
                    ? r
                    : null),
                  (t.columnType =
                    null == n || null === (o = n.left) || void 0 === o
                      ? void 0
                      : o.type),
                  (t.columnName =
                    null == n || null === (a = n.left) || void 0 === a
                      ? void 0
                      : a.label);
              else if (n.operator === Ai.C.Range) {
                var s, c, l, u;
                (t.gte =
                  null == n || null === (s = n.right) || void 0 === s
                    ? void 0
                    : s.value[0]),
                  (t.lte =
                    null == n || null === (c = n.right) || void 0 === c
                      ? void 0
                      : c.value[1]),
                  (t.columnType =
                    null == n || null === (l = n.left) || void 0 === l
                      ? void 0
                      : l.type),
                  (t.columnName =
                    null == n || null === (u = n.left) || void 0 === u
                      ? void 0
                      : u.label);
              } else if (n.operator === Ai.C.IsNull) {
                var f, d;
                (t.value = "null"),
                  (t.columnType =
                    null == n || null === (f = n.left) || void 0 === f
                      ? void 0
                      : f.type),
                  (t.columnName =
                    null == n || null === (d = n.left) || void 0 === d
                      ? void 0
                      : d.label);
              }
              return t;
            }.bind(this),
            {}
          );
        }
        function ji(t, e) {
          return (
            (function (t) {
              if (Array.isArray(t)) return t;
            })(t) ||
            (function (t, e) {
              var n =
                null == t
                  ? null
                  : ("undefined" != typeof Symbol && t[Symbol.iterator]) ||
                    t["@@iterator"];
              if (null != n) {
                var r,
                  i,
                  o,
                  a,
                  s = [],
                  c = !0,
                  l = !1;
                try {
                  if (((o = (n = n.call(t)).next), 0 === e)) {
                    if (Object(n) !== n) return;
                    c = !1;
                  } else
                    for (
                      ;
                      !(c = (r = o.call(n)).done) &&
                      (s.push(r.value), s.length !== e);
                      c = !0
                    );
                } catch (t) {
                  (l = !0), (i = t);
                } finally {
                  try {
                    if (
                      !c &&
                      null != n.return &&
                      ((a = n.return()), Object(a) !== a)
                    )
                      return;
                  } finally {
                    if (l) throw i;
                  }
                }
                return s;
              }
            })(t, e) ||
            (function (t, e) {
              if (t) {
                if ("string" == typeof t) return Ri(t, e);
                var n = {}.toString.call(t).slice(8, -1);
                return (
                  "Object" === n && t.constructor && (n = t.constructor.name),
                  "Map" === n || "Set" === n
                    ? Array.from(t)
                    : "Arguments" === n ||
                      /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)
                    ? Ri(t, e)
                    : void 0
                );
              }
            })(t, e) ||
            (function () {
              throw new TypeError(
                "Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."
              );
            })()
          );
        }
        function Ri(t, e) {
          (null == e || e > t.length) && (e = t.length);
          for (var n = 0, r = Array(e); n < e; n++) r[n] = t[n];
          return r;
        }
        function Di(t) {
          return (
            (Di =
              "function" == typeof Symbol && "symbol" == typeof Symbol.iterator
                ? function (t) {
                    return typeof t;
                  }
                : function (t) {
                    return t &&
                      "function" == typeof Symbol &&
                      t.constructor === Symbol &&
                      t !== Symbol.prototype
                      ? "symbol"
                      : typeof t;
                  }),
            Di(t)
          );
        }
        function Li(t, e) {
          if (t !== e)
            throw new TypeError("Cannot instantiate an arrow function");
        }
        function Mi(t, e) {
          var n = this;
          return "object" !== Di(e)
            ? a.A.get(t, e)
            : (Object.keys(e).forEach(
                function (r) {
                  Li(this, n);
                  var i = e[r];
                  "object" === Di(i) ? Mi(t, i) : (e[r] = a.A.get(t, i, i));
                }.bind(this)
              ),
              e);
        }
        function Ni(t) {
          return "value" !== t.xAxis[0].type;
        }
        function $i(t) {
          return (
            ($i =
              "function" == typeof Symbol && "symbol" == typeof Symbol.iterator
                ? function (t) {
                    return typeof t;
                  }
                : function (t) {
                    return t &&
                      "function" == typeof Symbol &&
                      t.constructor === Symbol &&
                      t !== Symbol.prototype
                      ? "symbol"
                      : typeof t;
                  }),
            $i(t)
          );
        }
        var Bi = void 0;
        function Ui(t) {
          return (
            (function (t) {
              if (Array.isArray(t)) return Fi(t);
            })(t) ||
            (function (t) {
              if (
                ("undefined" != typeof Symbol && null != t[Symbol.iterator]) ||
                null != t["@@iterator"]
              )
                return Array.from(t);
            })(t) ||
            (function (t, e) {
              if (t) {
                if ("string" == typeof t) return Fi(t, e);
                var n = {}.toString.call(t).slice(8, -1);
                return (
                  "Object" === n && t.constructor && (n = t.constructor.name),
                  "Map" === n || "Set" === n
                    ? Array.from(t)
                    : "Arguments" === n ||
                      /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)
                    ? Fi(t, e)
                    : void 0
                );
              }
            })(t) ||
            (function () {
              throw new TypeError(
                "Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."
              );
            })()
          );
        }
        function Fi(t, e) {
          (null == e || e > t.length) && (e = t.length);
          for (var n = 0, r = Array(e); n < e; n++) r[n] = t[n];
          return r;
        }
        function Hi(t, e) {
          var n = Object.keys(t);
          if (Object.getOwnPropertySymbols) {
            var r = Object.getOwnPropertySymbols(t);
            e &&
              (r = r.filter(function (e) {
                return Object.getOwnPropertyDescriptor(t, e).enumerable;
              })),
              n.push.apply(n, r);
          }
          return n;
        }
        function Gi(t) {
          for (var e = 1; e < arguments.length; e++) {
            var n = null != arguments[e] ? arguments[e] : {};
            e % 2
              ? Hi(Object(n), !0).forEach(function (e) {
                  Wi(t, e, n[e]);
                })
              : Object.getOwnPropertyDescriptors
              ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(n))
              : Hi(Object(n)).forEach(function (e) {
                  Object.defineProperty(
                    t,
                    e,
                    Object.getOwnPropertyDescriptor(n, e)
                  );
                });
          }
          return t;
        }
        function Wi(t, e, n) {
          return (
            (e = (function (t) {
              var e = (function (t, e) {
                if ("object" != $i(t) || !t) return t;
                var n = t[Symbol.toPrimitive];
                if (void 0 !== n) {
                  var r = n.call(t, e || "default");
                  if ("object" != $i(r)) return r;
                  throw new TypeError(
                    "@@toPrimitive must return a primitive value."
                  );
                }
                return ("string" === e ? String : Number)(t);
              })(t, "string");
              return "symbol" == $i(e) ? e : e + "";
            })(e)) in t
              ? Object.defineProperty(t, e, {
                  value: n,
                  enumerable: !0,
                  configurable: !0,
                  writable: !0,
                })
              : (t[e] = n),
            t
          );
        }
        function zi(t, e) {
          if (t !== e)
            throw new TypeError("Cannot instantiate an arrow function");
        }
        var qi = ["adaptSymbolPath"];
        function Xi(t) {
          var e = t.symbol,
            n = t.upload;
          if (!e) return t;
          var r = e;
          return (
            "custom" === e && (r = "image://".concat(n.replace("//", "/"))),
            (t.symbol = r),
            t
          );
        }
        var Yi = {
          setMarkPoint: function (t, e, n, r) {
            zi(this, Bi), Xi(t);
            var i = a.A.get(r, "options.series[".concat(n - 1, "]")),
              o = a.A.get(i, "data[".concat(e, "]")),
              s = i.xAxisIndex,
              c = i.yAxisIndex,
              l = (function (t, e, n) {
                if (!a.A.isNumber(e) || !a.A.isNumber(n)) return !1;
                var r = t.xAxis[e],
                  i = t.yAxis[n];
                return "value" === r.type ? r.inverse : i.inverse;
              })(r.options, s, c);
            a.A.isObject(o) && (o = o.value);
            var u = e,
              f = o,
              d = [0, l ? "60%" : "-60%"];
            return (
              Ni(r.options) ||
                ((u = o), (f = e), (d = [l ? "-60%" : "60%", 0])),
              Gi(
                Gi({}, t),
                {},
                {
                  label: { color: "transparent", show: !1 },
                  symbolOffset: d,
                  xAxis: u,
                  yAxis: f,
                  __from__: "warningRender",
                }
              )
            );
          }.bind(void 0),
          adaptSymbolPath: function (t) {
            return zi(this, Bi), Xi(t);
          }.bind(void 0),
        };
        function Ki(t, e, n) {
          for (
            var r = this,
              i = arguments.length,
              o = new Array(i > 3 ? i - 3 : 0),
              s = 3;
            s < i;
            s++
          )
            o[s - 3] = arguments[s];
          return a.A.isArray(t)
            ? (t = [].concat(Ui(t), qi)).reduce(
                function (t, e) {
                  zi(this, r);
                  var i = Gi(Gi({}, n), Yi)[e];
                  return !i || a.A.isNil(t)
                    ? t
                    : i.apply(void 0, [t].concat(o));
                }.bind(this),
                e
              )
            : e;
        }
        function Zi(t) {
          return (
            (Zi =
              "function" == typeof Symbol && "symbol" == typeof Symbol.iterator
                ? function (t) {
                    return typeof t;
                  }
                : function (t) {
                    return t &&
                      "function" == typeof Symbol &&
                      t.constructor === Symbol &&
                      t !== Symbol.prototype
                      ? "symbol"
                      : typeof t;
                  }),
            Zi(t)
          );
        }
        function Ji(t, e) {
          var n = Object.keys(t);
          if (Object.getOwnPropertySymbols) {
            var r = Object.getOwnPropertySymbols(t);
            e &&
              (r = r.filter(function (e) {
                return Object.getOwnPropertyDescriptor(t, e).enumerable;
              })),
              n.push.apply(n, r);
          }
          return n;
        }
        function Qi(t, e, n) {
          return (
            (e = (function (t) {
              var e = (function (t, e) {
                if ("object" != Zi(t) || !t) return t;
                var n = t[Symbol.toPrimitive];
                if (void 0 !== n) {
                  var r = n.call(t, e || "default");
                  if ("object" != Zi(r)) return r;
                  throw new TypeError(
                    "@@toPrimitive must return a primitive value."
                  );
                }
                return ("string" === e ? String : Number)(t);
              })(t, "string");
              return "symbol" == Zi(e) ? e : e + "";
            })(e)) in t
              ? Object.defineProperty(t, e, {
                  value: n,
                  enumerable: !0,
                  configurable: !0,
                  writable: !0,
                })
              : (t[e] = n),
            t
          );
        }
        function to(t, e) {
          if (t !== e)
            throw new TypeError("Cannot instantiate an arrow function");
        }
        function eo(t, e, n, r, i) {
          var o = n - 1,
            s = t.split("@")[0];
          return s.indexOf("seriesIndex") > -1 && o < 0
            ? null
            : (function (t, e, n) {
                var r = t.length;
                if (!r) return !0;
                for (
                  var i = a.A.get(e, "options.series[".concat(n, "].type")),
                    o = 0;
                  o < r;
                  o++
                ) {
                  var s = ji(t[o].split("="), 2),
                    c = s[0],
                    l = s[1];
                  if ("seriesType" !== c) return !0;
                  if (i && l !== i) return !1;
                }
                return !0;
              })(r, i, o)
            ? s
                .replace("dataIndex", String(e))
                .replace("columnIndex", String(n))
                .replace("seriesIndex", String(o))
            : null;
        }
        function no(t, e, n) {
          var r = n.configs,
            i = n.rowIndex,
            o = n.columnIndex,
            a = n.rowData,
            s = n.columns,
            c = n.renderData,
            l = n.processors,
            u = n.condition,
            f = n.piece,
            d = n.type,
            h = Mi(r, hi()(t));
          return (h = Ki(e, h, l, i, o, c, {
            piece: f,
            condition: u,
            rowData: a,
            columns: s,
            configs: r,
            type: d,
          }));
        }
        function ro(t, e) {
          var n = this,
            r = e.effectiveScheme,
            i = e.piece,
            o = e.processors,
            s = e.condition,
            c = e.rowIndex,
            l = e.columnIndex,
            u = e.type,
            f = e.rowData,
            d = e.columns;
          return function (e) {
            var h = this;
            to(this, n),
              Object.keys(r).forEach(
                function (n) {
                  to(this, h);
                  var p = r[n],
                    m = (function (t) {
                      var e = this,
                        n = t.split("@"),
                        r = [],
                        i = [];
                      return (
                        n.length > 1 &&
                          n[1].split(";").forEach(
                            function (t) {
                              Li(this, e),
                                t.indexOf("=") < 0 ? r.push(t) : i.push(t);
                            }.bind(this)
                          ),
                        { fnNames: r, propList: i }
                      );
                    })(n),
                    v = m.fnNames,
                    g = m.propList,
                    y = eo(n, c, l, g, e);
                  if (y) {
                    y = (function (t, e) {
                      return t.indexOf("xAxis") < 0 || Ni(e.options)
                        ? t
                        : t.replace("xAxis", "yAxis");
                    })(y, e);
                    var b = a.A.get(e, y),
                      V = no(p, v, {
                        configs: t,
                        rowIndex: c,
                        columnIndex: l,
                        rowData: f,
                        columns: d,
                        renderData: e,
                        processors: o,
                        condition: s,
                        piece: i,
                        type: u,
                      });
                    if (!a.A.isNil(V)) {
                      if (v.includes("push"))
                        return (
                          (function (t, e) {
                            var n = this;
                            if (a.A.isObject(e)) {
                              var r = e,
                                i = r.xAxis,
                                o = r.yAxis;
                              if (i && o) {
                                var s = t.findIndex(
                                  function (t) {
                                    return (
                                      Li(this, n),
                                      t.xAxis === i && t.yAxis === o
                                    );
                                  }.bind(this)
                                );
                                -1 !== s && t.splice(s, 1);
                              }
                            }
                          })((b = null != b ? b : []), V),
                          b.push(V),
                          void a.A.set(e, y, b)
                        );
                      var _ = {};
                      (_ = a.A.isObject(V)
                        ? a.A.isObject(b)
                          ? a.A.merge(b, V)
                          : (function (t) {
                              for (var e = 1; e < arguments.length; e++) {
                                var n =
                                  null != arguments[e] ? arguments[e] : {};
                                e % 2
                                  ? Ji(Object(n), !0).forEach(function (e) {
                                      Qi(t, e, n[e]);
                                    })
                                  : Object.getOwnPropertyDescriptors
                                  ? Object.defineProperties(
                                      t,
                                      Object.getOwnPropertyDescriptors(n)
                                    )
                                  : Ji(Object(n)).forEach(function (e) {
                                      Object.defineProperty(
                                        t,
                                        e,
                                        Object.getOwnPropertyDescriptor(n, e)
                                      );
                                    });
                              }
                              return t;
                            })({ value: b }, V)
                        : V),
                        a.A.set(e, y, _);
                    }
                  }
                }.bind(this)
              );
          }.bind(this);
        }
        function io(t, e) {
          var n =
              arguments.length > 2 && void 0 !== arguments[2]
                ? arguments[2]
                : m.WarningRenderPreviewType.model,
            r = e.rowIndex,
            i = e.columnIndex,
            o = e.conditionRenderConfig,
            s = e.rowData,
            c = e.columns,
            l = o.condition,
            u = (function (t) {
              var e,
                n = t,
                r = {};
              return (
                null != t &&
                  t.schema &&
                  ((n = t.schema),
                  (r = null !== (e = t.processors) && void 0 !== e ? e : {})),
                { processors: r, schema: n }
              );
            })(hi()(e.schema)),
            f = u.schema,
            d = u.processors,
            h = o.renderConfig;
          if (!h) return [];
          var p = (function (t, e) {
            var n = this,
              r = {};
            return (
              Object.keys(t).forEach(
                function (i) {
                  if ((to(this, n), t[i].show)) {
                    var o = a.A.get(e, i);
                    o && a.A.defaultsDeep(r, o);
                  }
                }.bind(this)
              ),
              r
            );
          })(h, f);
          if (a.A.isEmpty(p)) return [];
          var v = (function (t) {
            var e = this,
              n = t.type,
              r = t.condition,
              i = t.component,
              o = r.relation,
              a = r.children;
            if (!o) return null;
            if (
              -1 !==
              a.findIndex(
                function (t) {
                  return Pi(this, e), t.children;
                }.bind(this)
              )
            )
              return null;
            var s = a.reduce(
              function (t, n) {
                return Pi(this, e), (t[n.left.value] = !0), t;
              }.bind(this),
              {}
            );
            if (Object.keys(s).length > 1) return null;
            var c = null;
            if (n === m.WarningRenderPreviewType.model) {
              var l,
                u = a;
              a.length >= 2 && (u = a.slice(0, 2)),
                (c =
                  "OR" ===
                  (null === (l = u[1]) || void 0 === l
                    ? void 0
                    : l.siblingRelation)
                    ? u.map(
                        function (t) {
                          return Pi(this, e), Ii([t]);
                        }.bind(this)
                      )
                    : [Ii(u)]);
            } else {
              var f = i.dataGetter.getComposedData(),
                d = f.columns,
                h = void 0 === d ? [] : d,
                p = f.data,
                v = h.findIndex(
                  function (t) {
                    return Pi(this, e), t.columnType === m.ColumnType.MEASURE;
                  }.bind(this)
                );
              if (-1 !== v) {
                var g = p.map(
                    function (t) {
                      return Pi(this, e), t[v].value;
                    }.bind(this)
                  ),
                  y = Math.min.apply(Math, Oi(g));
                c = [
                  {
                    lte: Math.max.apply(Math, Oi(g)),
                    gte: y,
                    columnType: m.ColumnType.MEASURE,
                    columnName: h[v].columnName,
                  },
                ];
              }
            }
            return c;
          })({ type: n, condition: l, component: t });
          return [
            ro(h, {
              type: n,
              piece: v,
              rowIndex: r,
              columnIndex: i,
              rowData: s,
              columns: c,
              condition: { id: o.id, condition: o.condition },
              processors: d,
              effectiveScheme: p,
            }),
          ];
        }
        function oo(t) {
          return (
            (oo =
              "function" == typeof Symbol && "symbol" == typeof Symbol.iterator
                ? function (t) {
                    return typeof t;
                  }
                : function (t) {
                    return t &&
                      "function" == typeof Symbol &&
                      t.constructor === Symbol &&
                      t !== Symbol.prototype
                      ? "symbol"
                      : typeof t;
                  }),
            oo(t)
          );
        }
        function ao(t, e, n) {
          return (
            (e = (function (t) {
              var e = (function (t, e) {
                if ("object" != oo(t) || !t) return t;
                var n = t[Symbol.toPrimitive];
                if (void 0 !== n) {
                  var r = n.call(t, e || "default");
                  if ("object" != oo(r)) return r;
                  throw new TypeError(
                    "@@toPrimitive must return a primitive value."
                  );
                }
                return ("string" === e ? String : Number)(t);
              })(t, "string");
              return "symbol" == oo(e) ? e : e + "";
            })(e)) in t
              ? Object.defineProperty(t, e, {
                  value: n,
                  enumerable: !0,
                  configurable: !0,
                  writable: !0,
                })
              : (t[e] = n),
            t
          );
        }
        var so = ao(
          ao({}, m.ColumnType.DIMENSION, "dimensionIds"),
          m.ColumnType.MEASURE,
          "measureIds"
        );
        function co(t) {
          var e = this,
            n =
              arguments.length > 1 && void 0 !== arguments[1]
                ? arguments[1]
                : { dimensionIds: [], measureIds: [] };
          return (
            t.children &&
              t.children.forEach(
                function (t) {
                  if (
                    ((function (t, e) {
                      if (t !== e)
                        throw new TypeError(
                          "Cannot instantiate an arrow function"
                        );
                    })(this, e),
                    t.children)
                  )
                    co(t, n);
                  else {
                    var r = so[t.left.type];
                    n[r] || (n[r] = []), n[r].push(t.left.value);
                  }
                }.bind(this)
              ),
            n
          );
        }
        function lo(t) {
          return (
            (lo =
              "function" == typeof Symbol && "symbol" == typeof Symbol.iterator
                ? function (t) {
                    return typeof t;
                  }
                : function (t) {
                    return t &&
                      "function" == typeof Symbol &&
                      t.constructor === Symbol &&
                      t !== Symbol.prototype
                      ? "symbol"
                      : typeof t;
                  }),
            lo(t)
          );
        }
        function uo(t, e) {
          var n = Object.keys(t);
          if (Object.getOwnPropertySymbols) {
            var r = Object.getOwnPropertySymbols(t);
            e &&
              (r = r.filter(function (e) {
                return Object.getOwnPropertyDescriptor(t, e).enumerable;
              })),
              n.push.apply(n, r);
          }
          return n;
        }
        function fo(t) {
          for (var e = 1; e < arguments.length; e++) {
            var n = null != arguments[e] ? arguments[e] : {};
            e % 2
              ? uo(Object(n), !0).forEach(function (e) {
                  ho(t, e, n[e]);
                })
              : Object.getOwnPropertyDescriptors
              ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(n))
              : uo(Object(n)).forEach(function (e) {
                  Object.defineProperty(
                    t,
                    e,
                    Object.getOwnPropertyDescriptor(n, e)
                  );
                });
          }
          return t;
        }
        function ho(t, e, n) {
          return (
            (e = (function (t) {
              var e = (function (t, e) {
                if ("object" != lo(t) || !t) return t;
                var n = t[Symbol.toPrimitive];
                if (void 0 !== n) {
                  var r = n.call(t, e || "default");
                  if ("object" != lo(r)) return r;
                  throw new TypeError(
                    "@@toPrimitive must return a primitive value."
                  );
                }
                return ("string" === e ? String : Number)(t);
              })(t, "string");
              return "symbol" == lo(e) ? e : e + "";
            })(e)) in t
              ? Object.defineProperty(t, e, {
                  value: n,
                  enumerable: !0,
                  configurable: !0,
                  writable: !0,
                })
              : (t[e] = n),
            t
          );
        }
        function po(t, e) {
          if (t !== e)
            throw new TypeError("Cannot instantiate an arrow function");
        }
        function mo(t) {
          return (
            (function (t) {
              if (Array.isArray(t)) return vo(t);
            })(t) ||
            (function (t) {
              if (
                ("undefined" != typeof Symbol && null != t[Symbol.iterator]) ||
                null != t["@@iterator"]
              )
                return Array.from(t);
            })(t) ||
            (function (t, e) {
              if (t) {
                if ("string" == typeof t) return vo(t, e);
                var n = {}.toString.call(t).slice(8, -1);
                return (
                  "Object" === n && t.constructor && (n = t.constructor.name),
                  "Map" === n || "Set" === n
                    ? Array.from(t)
                    : "Arguments" === n ||
                      /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)
                    ? vo(t, e)
                    : void 0
                );
              }
            })(t) ||
            (function () {
              throw new TypeError(
                "Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."
              );
            })()
          );
        }
        function vo(t, e) {
          (null == e || e > t.length) && (e = t.length);
          for (var n = 0, r = Array(e); n < e; n++) r[n] = t[n];
          return r;
        }
        function go(t, e, n, r) {
          var i,
            o = this,
            a = co(r.condition),
            s = a.dimensionIds,
            c = a.measureIds,
            l = (null !== (i = r.renderConfig) && void 0 !== i ? i : {})
              .renderTarget,
            u = n.find(
              function (t) {
                return po(this, o), t.legendColumnId;
              }.bind(this)
            ),
            f = t.warningRenderSchema;
          if (u)
            return io(
              t,
              fo(
                fo({}, e.extra),
                {},
                {
                  rowData: e,
                  columns: n,
                  conditionRenderConfig: hi()(r),
                  schema: f,
                }
              )
            );
          var d = Object.keys(e).filter(
              function (t) {
                return po(this, o), "extra" !== t;
              }.bind(this)
            ),
            h = [],
            p = n
              .filter(
                function (t) {
                  return po(this, o), t.columnConfig.isRender;
                }.bind(this)
              )
              .map(
                function (t) {
                  return po(this, o), t.columnId;
                }.bind(this)
              );
          return (
            (d = d.filter(
              function (t) {
                return (
                  po(this, o), !(t.includes(m.COLUMN_FLAG) && !p.includes(t))
                );
              }.bind(this)
            )).forEach(
              function (n, i) {
                if (
                  (po(this, o),
                  (function (t, e, n) {
                    if ("row" === t) return !0;
                    var r = e.dimensionIds,
                      i = e.measureIds;
                    return "item" === t
                      ? [].concat(mo(r), mo(i)).includes(n)
                      : !(i.length > 0 && !i.includes(n));
                  })(l, { dimensionIds: s, measureIds: c }, n))
                ) {
                  var a = fo(
                      fo({}, e.extra),
                      {},
                      {
                        columnIndex: i,
                        conditionRenderConfig: hi()(r),
                        schema: f,
                      }
                    ),
                    u = io(t, a);
                  h.push.apply(h, mo(u));
                }
              }.bind(this)
            ),
            h
          );
        }
        function yo(t) {
          return (
            (yo =
              "function" == typeof Symbol && "symbol" == typeof Symbol.iterator
                ? function (t) {
                    return typeof t;
                  }
                : function (t) {
                    return t &&
                      "function" == typeof Symbol &&
                      t.constructor === Symbol &&
                      t !== Symbol.prototype
                      ? "symbol"
                      : typeof t;
                  }),
            yo(t)
          );
        }
        function bo(t) {
          return (
            (function (t) {
              if (Array.isArray(t)) return Vo(t);
            })(t) ||
            (function (t) {
              if (
                ("undefined" != typeof Symbol && null != t[Symbol.iterator]) ||
                null != t["@@iterator"]
              )
                return Array.from(t);
            })(t) ||
            (function (t, e) {
              if (t) {
                if ("string" == typeof t) return Vo(t, e);
                var n = {}.toString.call(t).slice(8, -1);
                return (
                  "Object" === n && t.constructor && (n = t.constructor.name),
                  "Map" === n || "Set" === n
                    ? Array.from(t)
                    : "Arguments" === n ||
                      /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)
                    ? Vo(t, e)
                    : void 0
                );
              }
            })(t) ||
            (function () {
              throw new TypeError(
                "Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."
              );
            })()
          );
        }
        function Vo(t, e) {
          (null == e || e > t.length) && (e = t.length);
          for (var n = 0, r = Array(e); n < e; n++) r[n] = t[n];
          return r;
        }
        function _o(t, e) {
          var n = Object.keys(t);
          if (Object.getOwnPropertySymbols) {
            var r = Object.getOwnPropertySymbols(t);
            e &&
              (r = r.filter(function (e) {
                return Object.getOwnPropertyDescriptor(t, e).enumerable;
              })),
              n.push.apply(n, r);
          }
          return n;
        }
        function wo(t) {
          for (var e = 1; e < arguments.length; e++) {
            var n = null != arguments[e] ? arguments[e] : {};
            e % 2
              ? _o(Object(n), !0).forEach(function (e) {
                  So(t, e, n[e]);
                })
              : Object.getOwnPropertyDescriptors
              ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(n))
              : _o(Object(n)).forEach(function (e) {
                  Object.defineProperty(
                    t,
                    e,
                    Object.getOwnPropertyDescriptor(n, e)
                  );
                });
          }
          return t;
        }
        function So(t, e, n) {
          return (
            (e = (function (t) {
              var e = (function (t, e) {
                if ("object" != yo(t) || !t) return t;
                var n = t[Symbol.toPrimitive];
                if (void 0 !== n) {
                  var r = n.call(t, e || "default");
                  if ("object" != yo(r)) return r;
                  throw new TypeError(
                    "@@toPrimitive must return a primitive value."
                  );
                }
                return ("string" === e ? String : Number)(t);
              })(t, "string");
              return "symbol" == yo(e) ? e : e + "";
            })(e)) in t
              ? Object.defineProperty(t, e, {
                  value: n,
                  enumerable: !0,
                  configurable: !0,
                  writable: !0,
                })
              : (t[e] = n),
            t
          );
        }
        function Eo(t, e) {
          if (t !== e)
            throw new TypeError("Cannot instantiate an arrow function");
        }
        async function Ao(t, e, n) {
          var r,
            i,
            o = this,
            s = gi(e, t.dataGetter.getPositionFormatData(t)),
            c = s.data,
            l = s.columns,
            u = c.length,
            f = [],
            d = [],
            h = "runtime" === it.o9.Runtime,
            p = function () {
              var e;
              Eo(this, o);
              var n =
                null === (e = t.getRunTimeData("renderData")) || void 0 === e
                  ? void 0
                  : e.value;
              return a.A.isNil(n) ? {} : { value: n };
            }.bind(this)(),
            m =
              null !==
                (r =
                  null === (i = t.dataGetter.getPosition(t)) || void 0 === i
                    ? void 0
                    : i.bindPosition) && void 0 !== r
                ? r
                : {},
            v = n.map(
              async function (e) {
                var n;
                Eo(this, o);
                var r = e.autoDispatchWarningEvent,
                  i = a.A.cloneDeep(e.condition);
                if (!a.A.isEmpty(i)) {
                  await (0, mi.R)(i, { component: t });
                  (null !== (n = e.renderConfig) && void 0 !== n ? n : {})
                    .alarmVoice;
                  for (
                    var s = async function (n) {
                        var o,
                          s = this;
                        if (
                          "number" ==
                            typeof (null == m ||
                            null === (o = m.value) ||
                            void 0 === o
                              ? void 0
                              : o.y) &&
                          m.value.y !== n
                        )
                          return 1;
                        var u = Ei(l, c[n], n, p),
                          v = !1,
                          g = u.map(
                            async function (o) {
                              var c = this;
                              Eo(this, s);
                              var u = !0;
                              try {
                                var p = Object.keys(o).reduce(
                                  function (t, e) {
                                    var n;
                                    Eo(this, c);
                                    var r = o[e];
                                    return (
                                      (t[e] =
                                        a.A.isObject(r) &&
                                        null != r &&
                                        null !== (n = r.hasOwnProperty) &&
                                        void 0 !== n &&
                                        n.call(r, "originValue")
                                          ? r.originValue
                                          : r),
                                      t
                                    );
                                  }.bind(this),
                                  {}
                                );
                                u = await (async function (t, e) {
                                  var n = e.condition,
                                    r = e.columns,
                                    i = e.rowIndex,
                                    o = e.component,
                                    a = await (0, yi.P8)(n, {
                                      columns: r,
                                      rowIndex: i,
                                      component: o,
                                    });
                                  return new Function("return ".concat(a)).bind(
                                    t
                                  )();
                                })(p, {
                                  condition: i,
                                  columns: l,
                                  rowIndex: n,
                                  component: t,
                                });
                              } catch (t) {
                                (u = !1),
                                  sfLogger.error("[Parse Condition Error]:", t);
                              }
                              if (u) {
                                (v = !0),
                                  d.push({
                                    rowIndex: n,
                                    autoDispatchWarningEvent: r,
                                    warningEvent: function () {
                                      Eo(this, c),
                                        h &&
                                          t.dispatchEvent("onWarning", {
                                            eventSourceId: e.id,
                                            rowData: o,
                                          });
                                    }.bind(this),
                                  });
                                var m = go(
                                  t,
                                  o,
                                  l,
                                  wo(wo({}, e), {}, { condition: i })
                                );
                                f.push.apply(f, bo(m));
                              }
                            }.bind(this)
                          );
                        await Promise.all(g), v && !0;
                      },
                      v = 0;
                    v < u;
                    v++
                  )
                    await s(v);
                }
              }.bind(this)
            );
          try {
            await Promise.all(v);
          } catch (t) {
            sfLogger.debug(
              "[WarningRender Plugin Error]: failed to resolve configuration",
              t
            );
          }
          return { processorQueue: f, warningEventQueue: d };
        }
        async function To(t, e) {
          var n = this,
            r = t.config.dataConfig;
          if (r) {
            a.A.isArray(e) || (e = [e]);
            var i = e.map(
              async function (e) {
                var i;
                !(function (t, e) {
                  if (t !== e)
                    throw new TypeError("Cannot instantiate an arrow function");
                })(this, n),
                  t.setRunTimeData("warningRenderProcessorQueue", null);
                var o = t.dataGetter.getComposedData(e, {
                  includeHideColumn: !0,
                });
                if (o) {
                  var s = t.getRunTimeData("warningRenders");
                  if (!s) {
                    var c,
                      l,
                      u,
                      f =
                        null === (c = t.dataGetter) ||
                        void 0 === c ||
                        null === (l = c.getPosition) ||
                        void 0 === l
                          ? void 0
                          : l.call(c, t);
                    s =
                      f && f.warningRenders
                        ? f.warningRenders
                        : hi()(
                            a.A.get(r, "warningRenders[".concat(e, "]"), [])
                          );
                    var d = o.modelId,
                      h = (0, Yt.getModelConfigByModelId)(
                        null == r ||
                          null === (u = r.modelConfigs) ||
                          void 0 === u
                          ? void 0
                          : u[e],
                        d
                      ),
                      p = null == h ? void 0 : h.warningRenderIds;
                    s = (0, Yt.getCurrentWarningRenders)(s, p);
                  }
                  if (null !== (i = s) && void 0 !== i && i.length) {
                    var m = await Ao(t, o, pi(s));
                    t.setRunTimeData("warningRenderProcessorQueue", m);
                  }
                }
              }.bind(this)
            );
            await Promise.all(i);
          }
        }
        function Oo(t, e) {
          if (t !== e)
            throw new TypeError("Cannot instantiate an arrow function");
        }
        function Co(t) {
          return (
            (function (t) {
              if (Array.isArray(t)) return Po(t);
            })(t) ||
            (function (t) {
              if (
                ("undefined" != typeof Symbol && null != t[Symbol.iterator]) ||
                null != t["@@iterator"]
              )
                return Array.from(t);
            })(t) ||
            (function (t, e) {
              if (t) {
                if ("string" == typeof t) return Po(t, e);
                var n = {}.toString.call(t).slice(8, -1);
                return (
                  "Object" === n && t.constructor && (n = t.constructor.name),
                  "Map" === n || "Set" === n
                    ? Array.from(t)
                    : "Arguments" === n ||
                      /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)
                    ? Po(t, e)
                    : void 0
                );
              }
            })(t) ||
            (function () {
              throw new TypeError(
                "Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."
              );
            })()
          );
        }
        function Po(t, e) {
          (null == e || e > t.length) && (e = t.length);
          for (var n = 0, r = Array(e); n < e; n++) r[n] = t[n];
          return r;
        }
        function xo(t, e) {
          if (t !== e)
            throw new TypeError("Cannot instantiate an arrow function");
        }
        function ko(t) {
          var e =
              arguments.length > 1 && void 0 !== arguments[1]
                ? arguments[1]
                : "",
            n = t.textNumber;
          return "auto" !== n
            ? e.length <= n
              ? e
              : "".concat(String(e).substr(0, n), "...")
            : e;
        }
        function Io(t, e) {
          var n = t.lineWordLimit,
            r = new RegExp("(.{".concat(n, "}(?!$))"), "g");
          return String(e).replace(r, "$1\n");
        }
        function jo(t, e, n, r) {
          return (
            "string" == typeof e
              ? (r = e.replace("{value}", null != r ? r : ""))
              : "function" == typeof e && (r = e.apply(this, [r])),
            n(t, r)
          );
        }
        function Ro(t) {
          return (
            (Ro =
              "function" == typeof Symbol && "symbol" == typeof Symbol.iterator
                ? function (t) {
                    return typeof t;
                  }
                : function (t) {
                    return t &&
                      "function" == typeof Symbol &&
                      t.constructor === Symbol &&
                      t !== Symbol.prototype
                      ? "symbol"
                      : typeof t;
                  }),
            Ro(t)
          );
        }
        function Do(t, e) {
          for (var n = 0; n < e.length; n++) {
            var r = e[n];
            (r.enumerable = r.enumerable || !1),
              (r.configurable = !0),
              "value" in r && (r.writable = !0),
              Object.defineProperty(t, Mo(r.key), r);
          }
        }
        function Lo(t, e, n) {
          return (
            (e = Mo(e)) in t
              ? Object.defineProperty(t, e, {
                  value: n,
                  enumerable: !0,
                  configurable: !0,
                  writable: !0,
                })
              : (t[e] = n),
            t
          );
        }
        function Mo(t) {
          var e = (function (t, e) {
            if ("object" != Ro(t) || !t) return t;
            var n = t[Symbol.toPrimitive];
            if (void 0 !== n) {
              var r = n.call(t, e || "default");
              if ("object" != Ro(r)) return r;
              throw new TypeError(
                "@@toPrimitive must return a primitive value."
              );
            }
            return ("string" === e ? String : Number)(t);
          })(t, "string");
          return "symbol" == Ro(e) ? e : e + "";
        }
        s.register({
          name: "warningRenderProcessor",
          version: "1.0.0",
          apply: function (t) {
            var e = this;
            t.addHook(
              "cleanWarningRenderProcessorQueue",
              function (n) {
                Oo(this, e),
                  t.setRunTimeData("warningRenderProcessorQueue", null);
              }.bind(this)
            ),
              t.addHook(
                "afterBuildRenderData",
                async function (n) {
                  (Oo(this, e), t.warningRenderSchema) &&
                    (t.getRunTimeData("warningRenderProcessorQueue") ||
                      (await To(t, n)));
                }.bind(this)
              ),
              t.addHook(
                "beforeRender",
                function (n) {
                  var r = this;
                  if ((Oo(this, e), null == n || !n.disableWarningRender)) {
                    var i =
                        t.getRunTimeData("warningRenderProcessorQueue") || {},
                      o = i.processorQueue,
                      a = i.warningEventQueue,
                      s = t.getRunTimeData("renderData");
                    o &&
                      o.forEach(
                        function (t) {
                          return Oo(this, r), t(s);
                        }.bind(this)
                      ),
                      a &&
                        a.forEach(
                          function (t) {
                            var e = t.autoDispatchWarningEvent,
                              n = t.warningEvent;
                            return Oo(this, r), e && n();
                          }.bind(this)
                        ),
                      t.setRunTimeData("renderData", s),
                      t.execHooks("warningRenderProcessDone", s);
                  }
                }.bind(this),
                { priority: fi._e.Mid }
              ),
              t.addHook(
                "beforeDestroy",
                function (n) {
                  Oo(this, e), In(t.id);
                }.bind(this)
              ),
              t.addHook(
                "beforeSetValue",
                function (n) {
                  Oo(this, e),
                    t.setRunTimeData("warningRenderProcessorQueue", null),
                    In(t.id);
                }.bind(this)
              ),
              t.addHook(
                "dispatchWarningEvent",
                function (n) {
                  var r,
                    i = this;
                  Oo(this, e), In(t.id);
                  var o = (
                    null !==
                      (r = t.getRunTimeData("warningRenderProcessorQueue")) &&
                    void 0 !== r
                      ? r
                      : {}
                  ).warningEventQueue;
                  if (null != o && o.length) {
                    var s = n.rowIndex,
                      c = (
                        o.find(
                          function (t) {
                            return Oo(this, i), t.rowIndex === s;
                          }.bind(this)
                        ) || {}
                      ).warningEvent;
                    a.A.isFunction(c) && c();
                  }
                }.bind(this)
              ),
              t.addHook(
                "clearWarningAudio",
                function (t) {
                  Oo(this, e), In();
                }.bind(this)
              );
          },
        }),
          s.register({
            version: "1.0.0",
            name: "wrapAxisLabel",
            apply: function (t) {
              var e = this;
              t.addHook(
                "afterBuildRenderData",
                function () {
                  var n = this;
                  xo(this, e);
                  var r = t.getRunTimeData("renderData"),
                    i = null == r ? void 0 : r.options,
                    o = i.xAxis,
                    a = void 0 === o ? [] : o,
                    s = i.yAxis;
                  [].concat(Co(void 0 === s ? [] : s), Co(a)).forEach(
                    function (e) {
                      xo(this, n);
                      var r = e.axisLabel,
                        i = r.showType,
                        o = void 0 === i ? "omit" : i,
                        a = r.formatter;
                      e.axisLabel.formatter = jo.bind(
                        t,
                        e.axisLabel,
                        a,
                        "omit" === o ? ko : Io
                      );
                    }.bind(this)
                  ),
                    t.setRunTimeData("renderData", r);
                }.bind(this)
              );
            },
          });
        var No = (function (t) {
            return (
              (t.onCountChange = "count-change"),
              (t.onPageSizeChange = "page-size-change"),
              (t.onPageIndexChange = "page-index-change"),
              (t.onTotalPageChange = "total-page-change"),
              t
            );
          })({}),
          $o = (function () {
            return (
              (t = function t(e) {
                !(function (t, e) {
                  if (!(t instanceof e))
                    throw new TypeError("Cannot call a class as a function");
                })(this, t),
                  Lo(this, "count", 0),
                  Lo(this, "pageIndex", 1),
                  Lo(this, "pageSize", 5),
                  Lo(this, "emitter", new j.v()),
                  Lo(this, "component", void 0),
                  Lo(this, "__loopTimer__", void 0),
                  (this.component = e);
              }),
              (e = [
                {
                  key: "totalPage",
                  get: function () {
                    return Math.ceil(this.count / this.pageSize);
                  },
                },
                {
                  key: "init",
                  value: function () {
                    var t = this.component.getBasicConfig(),
                      e = a.A.get(t, "pagination.pageSize", 5);
                    this.setPageSize(e);
                  },
                },
                {
                  key: "setCount",
                  value: function (t) {
                    var e =
                      arguments.length > 1 &&
                      void 0 !== arguments[1] &&
                      arguments[1];
                    (t !== this.count || e) &&
                      ((this.count = t),
                      (this.pageIndex = 1),
                      this.emitter.execHooks(No.onCountChange, this.count),
                      this.emitter.execHooks(
                        No.onPageIndexChange,
                        this.pageIndex
                      ),
                      this.emitter.execHooks(
                        No.onTotalPageChange,
                        this.totalPage
                      ));
                  },
                },
                {
                  key: "setPageSize",
                  value: function (t) {
                    t !== this.pageSize &&
                      ((this.pageSize = t),
                      (this.pageIndex = 1),
                      this.emitter.execHooks(
                        No.onPageSizeChange,
                        this.pageSize
                      ),
                      this.emitter.execHooks(
                        No.onPageIndexChange,
                        this.pageIndex
                      ),
                      this.emitter.execHooks(
                        No.onTotalPageChange,
                        this.totalPage
                      ));
                  },
                },
                {
                  key: "nextLoop",
                  value: function () {
                    var t = this;
                    this.stopNextLoop();
                    var e = this.component.getBasicConfig(),
                      n = a.A.get(e, "pagination.autoLoop.enable", !0),
                      r = 1e3 * a.A.get(e, "pagination.autoLoop.interval", 2);
                    n &&
                      (this.__loopTimer__ = setTimeout(
                        async function () {
                          !(function (t, e) {
                            if (t !== e)
                              throw new TypeError(
                                "Cannot instantiate an arrow function"
                              );
                          })(this, t),
                            await this.next();
                        }.bind(this),
                        r
                      ));
                  },
                },
                {
                  key: "stopNextLoop",
                  value: function () {
                    this.__loopTimer__ &&
                      (clearTimeout(this.__loopTimer__),
                      (this.__loopTimer__ = null));
                  },
                },
                {
                  key: "prev",
                  value: async function () {
                    var t = this.pageIndex,
                      e = this.totalPage;
                    (this.pageIndex = t <= 1 ? e : t - 1),
                      this.emitter.execHooks(
                        No.onPageIndexChange,
                        this.pageIndex
                      );
                  },
                },
                {
                  key: "next",
                  value: async function () {
                    var t = this.pageIndex,
                      e = this.totalPage;
                    (this.pageIndex = t >= e ? 1 : t + 1),
                      this.emitter.execHooks(
                        No.onPageIndexChange,
                        this.pageIndex
                      );
                  },
                },
                {
                  key: "to",
                  value: async function (t) {
                    if (
                      !(t < 1 || t > this.totalPage || t === this.pageIndex)
                    ) {
                      var e = t > this.pageIndex ? "next" : "prev";
                      return (
                        (this.pageIndex = t),
                        this.emitter.execHooks(
                          No.onPageIndexChange,
                          this.pageIndex
                        ),
                        e
                      );
                    }
                  },
                },
                {
                  key: "getDataRange",
                  value: function () {
                    var t =
                        arguments.length > 0 && void 0 !== arguments[0]
                          ? arguments[0]
                          : this.pageIndex,
                      e = this.pageSize;
                    return { startIndex: t * e - e, endIndex: t * e - 1 };
                  },
                },
                { key: "dispose", value: function () {} },
              ]),
              e && Do(t.prototype, e),
              n && Do(t, n),
              Object.defineProperty(t, "prototype", { writable: !1 }),
              t
            );
            var t, e, n;
          })();
        (0, s.register)({
          name: "pagination",
          version: "1.0.0",
          apply: function (t) {
            t.pagination = new $o(t);
          },
        });
        var Bo = function () {
          return (
            (function (t, e) {
              if (t !== e)
                throw new TypeError("Cannot instantiate an arrow function");
            })(this, undefined),
            {
              enable: !1,
              pageSize: 5,
              showIndicationPoints: !0,
              display: "hover",
              position: "bottom",
              indicationPointsGap: 5,
              indicationPointColor: "#fff",
              indicationPointSize: 8,
              offset: 0,
              hover: { indicationPointColor: "#fff", indicationPointSize: 10 },
              active: { indicationPointColor: "#fff", indicationPointSize: 10 },
              autoLoop: { enable: !1, interval: 2, mouseEnter: "stop" },
            }
          );
        }.bind(void 0);
        function Uo(t, e) {
          return (
            (function (t) {
              if (Array.isArray(t)) return t;
            })(t) ||
            (function (t, e) {
              var n =
                null == t
                  ? null
                  : ("undefined" != typeof Symbol && t[Symbol.iterator]) ||
                    t["@@iterator"];
              if (null != n) {
                var r,
                  i,
                  o,
                  a,
                  s = [],
                  c = !0,
                  l = !1;
                try {
                  if (((o = (n = n.call(t)).next), 0 === e)) {
                    if (Object(n) !== n) return;
                    c = !1;
                  } else
                    for (
                      ;
                      !(c = (r = o.call(n)).done) &&
                      (s.push(r.value), s.length !== e);
                      c = !0
                    );
                } catch (t) {
                  (l = !0), (i = t);
                } finally {
                  try {
                    if (
                      !c &&
                      null != n.return &&
                      ((a = n.return()), Object(a) !== a)
                    )
                      return;
                  } finally {
                    if (l) throw i;
                  }
                }
                return s;
              }
            })(t, e) ||
            (function (t, e) {
              if (t) {
                if ("string" == typeof t) return Fo(t, e);
                var n = {}.toString.call(t).slice(8, -1);
                return (
                  "Object" === n && t.constructor && (n = t.constructor.name),
                  "Map" === n || "Set" === n
                    ? Array.from(t)
                    : "Arguments" === n ||
                      /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)
                    ? Fo(t, e)
                    : void 0
                );
              }
            })(t, e) ||
            (function () {
              throw new TypeError(
                "Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."
              );
            })()
          );
        }
        function Fo(t, e) {
          (null == e || e > t.length) && (e = t.length);
          for (var n = 0, r = Array(e); n < e; n++) r[n] = t[n];
          return r;
        }
        function Ho(t, e) {
          if (t !== e)
            throw new TypeError("Cannot instantiate an arrow function");
        }
        function Go(t, e) {
          var n = this,
            r = e.series,
            i = e.stack,
            o = a.A.groupBy(
              r,
              function (t) {
                Ho(this, n);
                var e = t.xAxisIndex,
                  r = void 0 === e ? 0 : e,
                  i = t.yAxisIndex,
                  o = void 0 === i ? 0 : i;
                return "".concat(r, "-").concat(o);
              }.bind(this)
            ),
            s = new Map();
          return (
            Object.keys(o).forEach(
              function (e) {
                var r = this;
                Ho(this, n);
                var c = o[e],
                  l = i
                    ? { 0: c }
                    : a.A.groupBy(
                        c,
                        function (t) {
                          var e;
                          return (
                            Ho(this, r),
                            null !== (e = t.stack) && void 0 !== e
                              ? e
                              : t.columnName
                          );
                        }.bind(this)
                      ),
                  u = (function (t, e) {
                    var n = this;
                    return Object.values(e)
                      .map(
                        function (e) {
                          var r = this;
                          return (
                            Ho(this, n),
                            e
                              .reduce(
                                function (e, n) {
                                  var i = this,
                                    o = n.columnId;
                                  Ho(this, r);
                                  var s = t.columns.findIndex(
                                      function (t) {
                                        return Ho(this, i), t.columnId === o;
                                      }.bind(this)
                                    ),
                                    c = t.data.map(
                                      function (t) {
                                        Ho(this, i);
                                        var e = t[s].value;
                                        return a.A.isNaN(Number(e))
                                          ? 0
                                          : Number(e);
                                      }.bind(this)
                                    );
                                  return 0 === e.length
                                    ? c
                                    : e.map(
                                        function (t, e) {
                                          return Ho(this, i), t + c[e];
                                        }.bind(this)
                                      );
                                }.bind(this),
                                []
                              )
                              .map(
                                function (t) {
                                  return Ho(this, r), Math.ceil(t);
                                }.bind(this)
                              )
                          );
                        }.bind(this)
                      )
                      .flat();
                  })(t, l),
                  f = Uo(e.split("-"), 2),
                  d = f[0],
                  h = f[1];
                s.set({ xAxisIndex: d, yAxisIndex: h }, u);
              }.bind(this)
            ),
            s
          );
        }
        function Wo(t) {
          return (
            (Wo =
              "function" == typeof Symbol && "symbol" == typeof Symbol.iterator
                ? function (t) {
                    return typeof t;
                  }
                : function (t) {
                    return t &&
                      "function" == typeof Symbol &&
                      t.constructor === Symbol &&
                      t !== Symbol.prototype
                      ? "symbol"
                      : typeof t;
                  }),
            Wo(t)
          );
        }
        function zo(t) {
          return (
            (function (t) {
              if (Array.isArray(t)) return qo(t);
            })(t) ||
            (function (t) {
              if (
                ("undefined" != typeof Symbol && null != t[Symbol.iterator]) ||
                null != t["@@iterator"]
              )
                return Array.from(t);
            })(t) ||
            (function (t, e) {
              if (t) {
                if ("string" == typeof t) return qo(t, e);
                var n = {}.toString.call(t).slice(8, -1);
                return (
                  "Object" === n && t.constructor && (n = t.constructor.name),
                  "Map" === n || "Set" === n
                    ? Array.from(t)
                    : "Arguments" === n ||
                      /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)
                    ? qo(t, e)
                    : void 0
                );
              }
            })(t) ||
            (function () {
              throw new TypeError(
                "Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."
              );
            })()
          );
        }
        function qo(t, e) {
          (null == e || e > t.length) && (e = t.length);
          for (var n = 0, r = Array(e); n < e; n++) r[n] = t[n];
          return r;
        }
        function Xo(t, e) {
          if (t !== e)
            throw new TypeError("Cannot instantiate an arrow function");
        }
        function Yo(t, e) {
          var n = Object.keys(t);
          if (Object.getOwnPropertySymbols) {
            var r = Object.getOwnPropertySymbols(t);
            e &&
              (r = r.filter(function (e) {
                return Object.getOwnPropertyDescriptor(t, e).enumerable;
              })),
              n.push.apply(n, r);
          }
          return n;
        }
        function Ko(t) {
          for (var e = 1; e < arguments.length; e++) {
            var n = null != arguments[e] ? arguments[e] : {};
            e % 2
              ? Yo(Object(n), !0).forEach(function (e) {
                  ia(t, e, n[e]);
                })
              : Object.getOwnPropertyDescriptors
              ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(n))
              : Yo(Object(n)).forEach(function (e) {
                  Object.defineProperty(
                    t,
                    e,
                    Object.getOwnPropertyDescriptor(n, e)
                  );
                });
          }
          return t;
        }
        function Zo(t, e) {
          for (var n = 0; n < e.length; n++) {
            var r = e[n];
            (r.enumerable = r.enumerable || !1),
              (r.configurable = !0),
              "value" in r && (r.writable = !0),
              Object.defineProperty(t, oa(r.key), r);
          }
        }
        function Jo(t, e, n) {
          return (
            (e = na(e)),
            (function (t, e) {
              if (e && ("object" == Wo(e) || "function" == typeof e)) return e;
              if (void 0 !== e)
                throw new TypeError(
                  "Derived constructors may only return object or undefined"
                );
              return (function (t) {
                if (void 0 === t)
                  throw new ReferenceError(
                    "this hasn't been initialised - super() hasn't been called"
                  );
                return t;
              })(t);
            })(
              t,
              Qo()
                ? Reflect.construct(e, n || [], na(t).constructor)
                : e.apply(t, n)
            )
          );
        }
        function Qo() {
          try {
            var t = !Boolean.prototype.valueOf.call(
              Reflect.construct(Boolean, [], function () {})
            );
          } catch (t) {}
          return (Qo = function () {
            return !!t;
          })();
        }
        function ta(t, e, n, r) {
          var i = ea(na(1 & r ? t.prototype : t), e, n);
          return 2 & r && "function" == typeof i
            ? function (t) {
                return i.apply(n, t);
              }
            : i;
        }
        function ea() {
          return (
            (ea =
              "undefined" != typeof Reflect && Reflect.get
                ? Reflect.get.bind()
                : function (t, e, n) {
                    var r = (function (t, e) {
                      for (
                        ;
                        !{}.hasOwnProperty.call(t, e) && null !== (t = na(t));

                      );
                      return t;
                    })(t, e);
                    if (r) {
                      var i = Object.getOwnPropertyDescriptor(r, e);
                      return i.get
                        ? i.get.call(arguments.length < 3 ? t : n)
                        : i.value;
                    }
                  }),
            ea.apply(null, arguments)
          );
        }
        function na(t) {
          return (
            (na = Object.setPrototypeOf
              ? Object.getPrototypeOf.bind()
              : function (t) {
                  return t.__proto__ || Object.getPrototypeOf(t);
                }),
            na(t)
          );
        }
        function ra(t, e) {
          return (
            (ra = Object.setPrototypeOf
              ? Object.setPrototypeOf.bind()
              : function (t, e) {
                  return (t.__proto__ = e), t;
                }),
            ra(t, e)
          );
        }
        function ia(t, e, n) {
          return (
            (e = oa(e)) in t
              ? Object.defineProperty(t, e, {
                  value: n,
                  enumerable: !0,
                  configurable: !0,
                  writable: !0,
                })
              : (t[e] = n),
            t
          );
        }
        function oa(t) {
          var e = (function (t, e) {
            if ("object" != Wo(t) || !t) return t;
            var n = t[Symbol.toPrimitive];
            if (void 0 !== n) {
              var r = n.call(t, e || "default");
              if ("object" != Wo(r)) return r;
              throw new TypeError(
                "@@toPrimitive must return a primitive value."
              );
            }
            return ("string" === e ? String : Number)(t);
          })(t, "string");
          return "symbol" == Wo(e) ? e : e + "";
        }
        var aa = ["xAxis", "yAxis"],
          sa = "__data__",
          ca = (function (t) {
            function e(t) {
              var n;
              return (
                (function (t, e) {
                  if (!(t instanceof e))
                    throw new TypeError("Cannot call a class as a function");
                })(this, e),
                ia((n = Jo(this, e, [t])), "__hooks__", void 0),
                ia(n, "__status__", void 0),
                n.init(),
                n
              );
            }
            return (
              (function (t, e) {
                if ("function" != typeof e && null !== e)
                  throw new TypeError(
                    "Super expression must either be null or a function"
                  );
                (t.prototype = Object.create(e && e.prototype, {
                  constructor: { value: t, writable: !0, configurable: !0 },
                })),
                  Object.defineProperty(t, "prototype", { writable: !1 }),
                  e && ra(t, e);
              })(e, t),
              (n = e),
              (r = [
                {
                  key: "isEnable",
                  get: function () {
                    return this.component.getBasicConfig().pagination.enable;
                  },
                },
                {
                  key: "isReady",
                  get: function () {
                    if ((0, R.A7)()) return !1;
                    var t = this.component.getRunTimeData("renderData");
                    return Boolean(t);
                  },
                },
                {
                  key: "init",
                  value: function () {
                    ta(e, "init", this, 3)([]),
                      this.isEnable ? this.enable() : this.disable();
                  },
                },
                {
                  key: "enable",
                  value: function () {
                    "enable" !== this.__status__ &&
                      ((this.__status__ = "enable"), this.registerHooks());
                  },
                },
                {
                  key: "disable",
                  value: function () {
                    "disable" !== this.__status__ &&
                      ((this.__status__ = "disable"), this.dispose());
                  },
                },
                {
                  key: "nextLoop",
                  value: function () {
                    !this.isReady ||
                      this.totalPage < 2 ||
                      ta(e, "nextLoop", this, 3)([]);
                  },
                },
                {
                  key: "render",
                  value: async function () {
                    var t = this.component,
                      e = t.getRunTimeData("renderData");
                    return (
                      t.setRunTimeData("renderData", Ko({}, e)),
                      t.render({ disableWarningRender: !0 })
                    );
                  },
                },
                {
                  key: "to",
                  value: async function (t) {
                    if (this.pageIndex !== t) {
                      var n = await ta(e, "to", this, 3)([t]);
                      return (
                        "next" === n
                          ? this.transitionNext()
                          : this.transitionPrev(),
                        n
                      );
                    }
                  },
                },
                {
                  key: "prev",
                  value: async function () {
                    var t =
                      !(arguments.length > 0 && void 0 !== arguments[0]) ||
                      arguments[0];
                    ta(e, "prev", this, 3)([]),
                      await this.transitionPrev(),
                      t && this.nextLoop();
                  },
                },
                {
                  key: "next",
                  value: async function () {
                    var t =
                      !(arguments.length > 0 && void 0 !== arguments[0]) ||
                      arguments[0];
                    ta(e, "next", this, 3)([]),
                      await this.transitionNext(),
                      t && this.nextLoop();
                  },
                },
                {
                  key: "transitionPrev",
                  value: async function () {
                    var t = this,
                      e = this.getSeries(),
                      n = this.getCategories(),
                      r = this.getTargetPageData(n[0]),
                      i = r.length;
                    return (
                      n.forEach(
                        function (e) {
                          var n;
                          return (
                            Xo(this, t), (n = e.data).unshift.apply(n, zo(r))
                          );
                        }.bind(this)
                      ),
                      e.forEach(
                        function (e) {
                          var n;
                          return (
                            Xo(this, t),
                            (n = e.data).unshift.apply(
                              n,
                              zo(this.getTargetPageData(e))
                            )
                          );
                        }.bind(this)
                      ),
                      await this.render(),
                      await this.delay(500),
                      n.forEach(
                        function (e) {
                          return Xo(this, t), e.data.splice(i);
                        }.bind(this)
                      ),
                      e.forEach(
                        function (e) {
                          return Xo(this, t), e.data.splice(i);
                        }.bind(this)
                      ),
                      this.adaptMarkPoints(),
                      this.render()
                    );
                  },
                },
                {
                  key: "transitionNext",
                  value: async function () {
                    var t = this,
                      e = this.getSeries(),
                      n = this.getCategories(),
                      r = n[0].data,
                      i = this.getTargetPageData(n[0]),
                      o = r.length;
                    return (
                      n.forEach(
                        function (e) {
                          var n;
                          return Xo(this, t), (n = e.data).push.apply(n, zo(i));
                        }.bind(this)
                      ),
                      e.forEach(
                        function (e) {
                          var n;
                          return (
                            Xo(this, t),
                            (n = e.data).push.apply(
                              n,
                              zo(this.getTargetPageData(e))
                            )
                          );
                        }.bind(this)
                      ),
                      await this.render(),
                      await this.delay(500),
                      n.forEach(
                        function (e) {
                          return Xo(this, t), e.data.splice(0, o);
                        }.bind(this)
                      ),
                      e.forEach(
                        function (e) {
                          return Xo(this, t), e.data.splice(0, o);
                        }.bind(this)
                      ),
                      this.adaptMarkPoints(),
                      this.render()
                    );
                  },
                },
                {
                  key: "delay",
                  value: async function (t) {
                    var e = this;
                    return new Promise(
                      function (n) {
                        var r = this;
                        Xo(this, e),
                          setTimeout(
                            function () {
                              Xo(this, r), n("done");
                            }.bind(this),
                            t
                          );
                      }.bind(this)
                    );
                  },
                },
                {
                  key: "getTargetPageData",
                  value: function (t) {
                    var e =
                        arguments.length > 1 && void 0 !== arguments[1]
                          ? arguments[1]
                          : this.pageIndex,
                      n = this.getDataRange(e),
                      r = n.startIndex,
                      i = n.endIndex;
                    return t[sa].slice(r, i + 1);
                  },
                },
                {
                  key: "getSeries",
                  value: function () {
                    return this.component.getRunTimeData("renderData").options
                      .series;
                  },
                },
                {
                  key: "getCategoryKey",
                  value: function () {
                    var t = this,
                      e = this.component.getRunTimeData("renderData").options;
                    return aa.find(
                      function (n) {
                        Xo(this, t);
                        var r = e[n];
                        return r.length
                          ? "category" === r[0].type
                          : "category" === r.type;
                      }.bind(this)
                    );
                  },
                },
                {
                  key: "getCategories",
                  value: function () {
                    var t = this;
                    return this.component
                      .getRunTimeData("renderData")
                      .options[this.getCategoryKey()].filter(
                        function (e) {
                          return Xo(this, t), "category" === e.type;
                        }.bind(this)
                      );
                  },
                },
                {
                  key: "getCategoryDataCount",
                  value: function () {
                    var t = this.component.getRunTimeData("renderData").options;
                    if (t.xAxis && t.yAxis) {
                      var e = this.getCategoryKey();
                      return a.A.get(
                        t,
                        "".concat(e, "[0].").concat(sa, ".length")
                      );
                    }
                  },
                },
                {
                  key: "setAxisRange",
                  value: function () {
                    var t = this,
                      e = this.component,
                      n = e.dataGetter.getComposedData(),
                      r = e.getRunTimeData("renderData").options,
                      i = Go(n, r);
                    aa.forEach(
                      function (e) {
                        var n = this;
                        Xo(this, t),
                          r[e].forEach(
                            function (t, r) {
                              var o = this;
                              if ((Xo(this, n), "category" !== t.type)) {
                                var a = "".concat(e, "Index"),
                                  s = zo(i.keys()).find(
                                    function (t) {
                                      return Xo(this, o), t[a] === String(r);
                                    }.bind(this)
                                  );
                                if (s) {
                                  var c = i.get(s),
                                    l = Math.max.apply(Math, [0].concat(zo(c))),
                                    u = Math.min.apply(Math, [0].concat(zo(c)));
                                  !t.min && (t.min = u), !t.max && (t.max = l);
                                }
                              }
                            }.bind(this)
                          );
                      }.bind(this)
                    );
                  },
                },
                {
                  key: "updateBackup",
                  value: function () {
                    var t = this,
                      e = this.component.getRunTimeData("renderData").options,
                      n = this.getCategoryKey(),
                      r = !1;
                    return (
                      e[n].forEach(
                        function (e) {
                          Xo(this, t),
                            e[sa] ||
                              ((r = !0),
                              (e[sa] = zo(e.data)),
                              (e.data = zo(this.getTargetPageData(e, 1))));
                        }.bind(this)
                      ),
                      e.series.forEach(
                        function (e) {
                          var n;
                          Xo(this, t),
                            e[sa] ||
                              ((e[sa] = zo(e.data)),
                              (e.data = zo(this.getTargetPageData(e, 1))),
                              null !== (n = e.markPoint) &&
                                void 0 !== n &&
                                n.data &&
                                (e.markPoint[sa] = zo(e.markPoint.data)));
                        }.bind(this)
                      ),
                      r
                    );
                  },
                },
                {
                  key: "adaptMarkPoints",
                  value: function () {
                    var t = this,
                      e = this.component.getRunTimeData("renderData").options,
                      n = this.getDataRange().startIndex,
                      r = new Array(this.pageSize).fill(n).map(
                        function (e, n) {
                          return Xo(this, t), e + n;
                        }.bind(this)
                      );
                    e.series.forEach(
                      function (e) {
                        var n,
                          i = this;
                        Xo(this, t),
                          null !== (n = e.markPoint) &&
                            void 0 !== n &&
                            n[sa] &&
                            (e.markPoint.data = e.markPoint[sa]
                              .map(
                                function (t) {
                                  return (
                                    Xo(this, i),
                                    "number" != typeof (t = Ko({}, t)).xAxis
                                      ? t
                                      : r.includes(t.xAxis)
                                      ? ((t.xAxis = r.indexOf(t.xAxis)), t)
                                      : null
                                  );
                                }.bind(this)
                              )
                              .filter(Boolean));
                      }.bind(this)
                    );
                  },
                },
                {
                  key: "beginLoop",
                  value: function () {
                    (0, R.A7)() ||
                      (this.component.getRunTimeData("display") &&
                        this.nextLoop());
                  },
                },
                {
                  key: "registerHooks",
                  value: function () {
                    var t = this;
                    if (this.isEnable) {
                      var e = this.component;
                      this.unregisterHooks(),
                        (this.__hooks__ = {
                          afterUpdateDisplay: {
                            handler: function () {
                              Xo(this, t),
                                this.component.getRunTimeData("display")
                                  ? this.nextLoop()
                                  : this.stopNextLoop();
                            }.bind(this),
                          },
                          beforeFetch: {
                            handler: function () {
                              Xo(this, t), this.stopNextLoop();
                            }.bind(this),
                          },
                          beforeRender: {
                            handler: async function () {
                              if ((Xo(this, t), this.updateBackup())) {
                                var e = this.getCategoryDataCount();
                                this.setCount(e, !0),
                                  this.setAxisRange(),
                                  this.beginLoop();
                              }
                            }.bind(this),
                            options: { priority: fi._e.Low },
                          },
                          beforeDestroy: {
                            handler: function () {
                              Xo(this, t), this.dispose();
                            }.bind(this),
                          },
                        }),
                        Object.keys(this.__hooks__).forEach(
                          function (n) {
                            Xo(this, t);
                            var r = this.__hooks__[n],
                              i = r.handler,
                              o = r.options;
                            e.addHook(n, i, o);
                          }.bind(this)
                        );
                    }
                  },
                },
                {
                  key: "unregisterHooks",
                  value: function () {
                    var t = this;
                    if (this.__hooks__) {
                      var e = this.component;
                      Object.keys(this.__hooks__).forEach(
                        function (n) {
                          Xo(this, t);
                          var r = this.__hooks__[n].handler;
                          e.deleteHook(n, r);
                        }.bind(this)
                      ),
                        (this.__hooks__ = null);
                    }
                  },
                },
                {
                  key: "dispose",
                  value: function () {
                    this.unregisterHooks(), this.stopNextLoop();
                  },
                },
              ]),
              r && Zo(n.prototype, r),
              i && Zo(n, i),
              Object.defineProperty(n, "prototype", { writable: !1 }),
              n
            );
            var n, r, i;
          })($o);
        function la(t, e) {
          if (t !== e)
            throw new TypeError("Cannot instantiate an arrow function");
        }
        function ua(t, e) {
          return (
            (function (t) {
              if (Array.isArray(t)) return t;
            })(t) ||
            (function (t, e) {
              var n =
                null == t
                  ? null
                  : ("undefined" != typeof Symbol && t[Symbol.iterator]) ||
                    t["@@iterator"];
              if (null != n) {
                var r,
                  i,
                  o,
                  a,
                  s = [],
                  c = !0,
                  l = !1;
                try {
                  if (((o = (n = n.call(t)).next), 0 === e)) {
                    if (Object(n) !== n) return;
                    c = !1;
                  } else
                    for (
                      ;
                      !(c = (r = o.call(n)).done) &&
                      (s.push(r.value), s.length !== e);
                      c = !0
                    );
                } catch (t) {
                  (l = !0), (i = t);
                } finally {
                  try {
                    if (
                      !c &&
                      null != n.return &&
                      ((a = n.return()), Object(a) !== a)
                    )
                      return;
                  } finally {
                    if (l) throw i;
                  }
                }
                return s;
              }
            })(t, e) ||
            (function (t, e) {
              if (t) {
                if ("string" == typeof t) return fa(t, e);
                var n = {}.toString.call(t).slice(8, -1);
                return (
                  "Object" === n && t.constructor && (n = t.constructor.name),
                  "Map" === n || "Set" === n
                    ? Array.from(t)
                    : "Arguments" === n ||
                      /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)
                    ? fa(t, e)
                    : void 0
                );
              }
            })(t, e) ||
            (function () {
              throw new TypeError(
                "Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."
              );
            })()
          );
        }
        function fa(t, e) {
          (null == e || e > t.length) && (e = t.length);
          for (var n = 0, r = Array(e); n < e; n++) r[n] = t[n];
          return r;
        }
        function da(t, e) {
          if (t !== e)
            throw new TypeError("Cannot instantiate an arrow function");
        }
        function ha(t, e) {
          return (
            (function (t) {
              if (Array.isArray(t)) return t;
            })(t) ||
            (function (t, e) {
              var n =
                null == t
                  ? null
                  : ("undefined" != typeof Symbol && t[Symbol.iterator]) ||
                    t["@@iterator"];
              if (null != n) {
                var r,
                  i,
                  o,
                  a,
                  s = [],
                  c = !0,
                  l = !1;
                try {
                  if (((o = (n = n.call(t)).next), 0 === e)) {
                    if (Object(n) !== n) return;
                    c = !1;
                  } else
                    for (
                      ;
                      !(c = (r = o.call(n)).done) &&
                      (s.push(r.value), s.length !== e);
                      c = !0
                    );
                } catch (t) {
                  (l = !0), (i = t);
                } finally {
                  try {
                    if (
                      !c &&
                      null != n.return &&
                      ((a = n.return()), Object(a) !== a)
                    )
                      return;
                  } finally {
                    if (l) throw i;
                  }
                }
                return s;
              }
            })(t, e) ||
            (function (t, e) {
              if (t) {
                if ("string" == typeof t) return pa(t, e);
                var n = {}.toString.call(t).slice(8, -1);
                return (
                  "Object" === n && t.constructor && (n = t.constructor.name),
                  "Map" === n || "Set" === n
                    ? Array.from(t)
                    : "Arguments" === n ||
                      /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)
                    ? pa(t, e)
                    : void 0
                );
              }
            })(t, e) ||
            (function () {
              throw new TypeError(
                "Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."
              );
            })()
          );
        }
        function pa(t, e) {
          (null == e || e > t.length) && (e = t.length);
          for (var n = 0, r = Array(e); n < e; n++) r[n] = t[n];
          return r;
        }
        function ma(t, e) {
          if (t !== e)
            throw new TypeError("Cannot instantiate an arrow function");
        }
        function va(t, e) {
          return (
            (function (t) {
              if (Array.isArray(t)) return t;
            })(t) ||
            (function (t, e) {
              var n =
                null == t
                  ? null
                  : ("undefined" != typeof Symbol && t[Symbol.iterator]) ||
                    t["@@iterator"];
              if (null != n) {
                var r,
                  i,
                  o,
                  a,
                  s = [],
                  c = !0,
                  l = !1;
                try {
                  if (((o = (n = n.call(t)).next), 0 === e)) {
                    if (Object(n) !== n) return;
                    c = !1;
                  } else
                    for (
                      ;
                      !(c = (r = o.call(n)).done) &&
                      (s.push(r.value), s.length !== e);
                      c = !0
                    );
                } catch (t) {
                  (l = !0), (i = t);
                } finally {
                  try {
                    if (
                      !c &&
                      null != n.return &&
                      ((a = n.return()), Object(a) !== a)
                    )
                      return;
                  } finally {
                    if (l) throw i;
                  }
                }
                return s;
              }
            })(t, e) ||
            (function (t, e) {
              if (t) {
                if ("string" == typeof t) return ga(t, e);
                var n = {}.toString.call(t).slice(8, -1);
                return (
                  "Object" === n && t.constructor && (n = t.constructor.name),
                  "Map" === n || "Set" === n
                    ? Array.from(t)
                    : "Arguments" === n ||
                      /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)
                    ? ga(t, e)
                    : void 0
                );
              }
            })(t, e) ||
            (function () {
              throw new TypeError(
                "Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."
              );
            })()
          );
        }
        function ga(t, e) {
          (null == e || e > t.length) && (e = t.length);
          for (var n = 0, r = Array(e); n < e; n++) r[n] = t[n];
          return r;
        }
        const ya = {
          "ux-component-indication-points":
            "style-module__ux-component-indication-points--ACoSW0",
          visible: "style-module__visible--zHaenu",
          top: "style-module__top--MU7yZ3",
          "ux-component-indication-point":
            "style-module__ux-component-indication-point--KZ5jGB",
          left: "style-module__left--Vx5ihk",
          right: "style-module__right--MMw_L7",
          bottom: "style-module__bottom--qJJU7v",
          active: "style-module__active--fz4PQZ",
        };
        function ba(t, e) {
          var n = this,
            r = a.A.get(e, "pagination.indicationPointSize", 10),
            i = a.A.get(e, "pagination.hover.indicationPointSize", 12),
            o = a.A.get(e, "pagination.active.indicationPointSize", 12);
          (0, D.useEffect)(
            function () {
              !(function (t, e) {
                if (t !== e)
                  throw new TypeError("Cannot instantiate an arrow function");
              })(this, n);
              var e = String(i / r),
                a = String(o / r);
              t.current &&
                (t.current.style.setProperty("--point-hover-scale", e),
                t.current.style.setProperty("--point-active-scale", a));
            }.bind(this),
            [r, i, o]
          );
        }
        function Va(t, e) {
          if (t !== e)
            throw new TypeError("Cannot instantiate an arrow function");
        }
        var _a = [
          "offset",
          "indicationPointsGap",
          "indicationPointColor",
          "indicationPointSize",
          "hover.indicationPointColor",
          "active.indicationPointColor",
        ];
        function wa(t, e) {
          if (t !== e)
            throw new TypeError("Cannot instantiate an arrow function");
        }
        function Sa(t, e) {
          return (
            (function (t) {
              if (Array.isArray(t)) return t;
            })(t) ||
            (function (t, e) {
              var n =
                null == t
                  ? null
                  : ("undefined" != typeof Symbol && t[Symbol.iterator]) ||
                    t["@@iterator"];
              if (null != n) {
                var r,
                  i,
                  o,
                  a,
                  s = [],
                  c = !0,
                  l = !1;
                try {
                  if (((o = (n = n.call(t)).next), 0 === e)) {
                    if (Object(n) !== n) return;
                    c = !1;
                  } else
                    for (
                      ;
                      !(c = (r = o.call(n)).done) &&
                      (s.push(r.value), s.length !== e);
                      c = !0
                    );
                } catch (t) {
                  (l = !0), (i = t);
                } finally {
                  try {
                    if (
                      !c &&
                      null != n.return &&
                      ((a = n.return()), Object(a) !== a)
                    )
                      return;
                  } finally {
                    if (l) throw i;
                  }
                }
                return s;
              }
            })(t, e) ||
            (function (t, e) {
              if (t) {
                if ("string" == typeof t) return Ea(t, e);
                var n = {}.toString.call(t).slice(8, -1);
                return (
                  "Object" === n && t.constructor && (n = t.constructor.name),
                  "Map" === n || "Set" === n
                    ? Array.from(t)
                    : "Arguments" === n ||
                      /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)
                    ? Ea(t, e)
                    : void 0
                );
              }
            })(t, e) ||
            (function () {
              throw new TypeError(
                "Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."
              );
            })()
          );
        }
        function Ea(t, e) {
          (null == e || e > t.length) && (e = t.length);
          for (var n = 0, r = Array(e); n < e; n++) r[n] = t[n];
          return r;
        }
        function Aa(t) {
          var e = this,
            n = t.component,
            r = n.pagination,
            i = n.getBasicConfig(),
            o = a.A.get(i, "pagination.enable"),
            s = a.A.get(i, "pagination.display"),
            c = a.A.get(i, "pagination.position"),
            l = a.A.get(i, "pagination.autoLoop.mouseEnter"),
            u = a.A.get(i, "pagination.showIndicationPoints"),
            f = (0, D.useRef)(),
            d = (function (t) {
              var e = this,
                n = ua((0, D.useState)(!1), 2),
                r = n[0],
                i = n[1],
                o = t.getBasicConfig().disable,
                a = void 0 !== o && o;
              return (
                (0, D.useEffect)(
                  function () {
                    var n = this;
                    la(this, e);
                    var r = t.$parent,
                      o = function () {
                        la(this, n), i(!0);
                      }.bind(this),
                      a = function () {
                        la(this, n), i(!1);
                      }.bind(this);
                    return (
                      r[0].addEventListener("mouseenter", o),
                      r[0].addEventListener("mouseleave", a),
                      function () {
                        la(this, n),
                          r[0].removeEventListener("mouseenter", o),
                          r[0].removeEventListener("mouseleave", a);
                      }.bind(this)
                    );
                  }.bind(this),
                  []
                ),
                [r && !a, i]
              );
            })(n),
            h = Sa(d, 1)[0],
            p = (function (t) {
              var e = this,
                n = va((0, D.useState)(t.totalPage), 2),
                r = n[0],
                i = n[1];
              return (
                (0, D.useEffect)(
                  function () {
                    var n = this;
                    ma(this, e);
                    var o = function (t) {
                      ma(this, n), r !== t && i(t);
                    }.bind(this);
                    return (
                      t.emitter.addHook(No.onTotalPageChange, o),
                      function () {
                        ma(this, n),
                          t.emitter.deleteHook(No.onTotalPageChange, o);
                      }.bind(this)
                    );
                  }.bind(this),
                  [r]
                ),
                [r, i]
              );
            })(r),
            m = Sa(p, 2),
            v = m[0],
            g =
              (m[1],
              (function (t) {
                var e = this,
                  n = ha((0, D.useState)(t.pageIndex), 2),
                  r = n[0],
                  i = n[1];
                return (
                  (0, D.useEffect)(
                    function () {
                      var n = this;
                      da(this, e);
                      var o = function (t) {
                        da(this, n), r !== t && i(t);
                      }.bind(this);
                      return (
                        t.emitter.addHook(No.onPageIndexChange, o),
                        function () {
                          da(this, n),
                            t.emitter.deleteHook(No.onPageIndexChange, o);
                        }.bind(this)
                      );
                    }.bind(this),
                    [r]
                  ),
                  [r, i]
                );
              })(r)),
            y = Sa(g, 2),
            b = y[0];
          y[1];
          !(function (t, e) {
            var n = this;
            (0, D.useEffect)(
              function () {
                var r = this;
                Va(this, n),
                  _a.forEach(
                    function (n) {
                      Va(this, r);
                      var i = a.A.get(e.pagination, n),
                        o = "--".concat(n.replaceAll(".", "-"));
                      (o.includes("Gap") ||
                        o.includes("Size") ||
                        o.includes("offset")) &&
                        (i = "".concat(i, "px")),
                        t.current && t.current.style.setProperty(o, i);
                    }.bind(this)
                  );
              }.bind(this),
              _a.map(
                function (t) {
                  return Va(this, n), a.A.get(e.pagination, t);
                }.bind(this)
              )
            );
          })(f, i),
            ba(f, i);
          var V = function (t) {
              return wa(this, e), t.filter(Boolean).join(" ");
            }.bind(this),
            _ = function () {
              wa(this, e);
              var t = a.A.get(i, "pagination.autoLoop.mouseEnter");
              (h && "stop" === t) || r.nextLoop();
            }.bind(this),
            w = function (t) {
              wa(this, e), r.to(t + 1), _();
            }.bind(this),
            S = (0, D.useMemo)(
              function () {
                return (
                  wa(this, e), !(!o || !u || v < 2) && ("fixed" === s || h)
                );
              }.bind(this),
              [o, s, u, v, h]
            );
          return (
            (0, D.useEffect)(
              function () {
                wa(this, e),
                  "stop" === l &&
                    (o
                      ? h
                        ? r.stopNextLoop()
                        : r.nextLoop()
                      : r.stopNextLoop());
              }.bind(this),
              [o, l, h]
            ),
            D.createElement(
              "div",
              {
                ref: f,
                className: V([
                  ya[c],
                  ya["ux-component-indication-points"],
                  S && ya.visible,
                ]),
              },
              new Array(v).fill(0).map(
                function (t, n) {
                  var r = this;
                  return (
                    wa(this, e),
                    D.createElement("div", {
                      key: n,
                      className: V([
                        ya["ux-component-indication-point"],
                        b - 1 === n && ya.active,
                      ]),
                      onClick: function () {
                        return wa(this, r), w(n);
                      }.bind(this),
                    })
                  );
                }.bind(this)
              )
            )
          );
        }
        var Ta = {
          "indication-points": function (t, e) {
            t.render(D.createElement(Aa, e));
          },
        };
        function Oa(t) {
          return (
            (Oa =
              "function" == typeof Symbol && "symbol" == typeof Symbol.iterator
                ? function (t) {
                    return typeof t;
                  }
                : function (t) {
                    return t &&
                      "function" == typeof Symbol &&
                      t.constructor === Symbol &&
                      t !== Symbol.prototype
                      ? "symbol"
                      : typeof t;
                  }),
            Oa(t)
          );
        }
        function Ca(t, e) {
          var n = Object.keys(t);
          if (Object.getOwnPropertySymbols) {
            var r = Object.getOwnPropertySymbols(t);
            e &&
              (r = r.filter(function (e) {
                return Object.getOwnPropertyDescriptor(t, e).enumerable;
              })),
              n.push.apply(n, r);
          }
          return n;
        }
        function Pa(t) {
          for (var e = 1; e < arguments.length; e++) {
            var n = null != arguments[e] ? arguments[e] : {};
            e % 2
              ? Ca(Object(n), !0).forEach(function (e) {
                  Na(t, e, n[e]);
                })
              : Object.getOwnPropertyDescriptors
              ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(n))
              : Ca(Object(n)).forEach(function (e) {
                  Object.defineProperty(
                    t,
                    e,
                    Object.getOwnPropertyDescriptor(n, e)
                  );
                });
          }
          return t;
        }
        function xa(t, e) {
          if (t !== e)
            throw new TypeError("Cannot instantiate an arrow function");
        }
        function ka(t, e) {
          for (var n = 0; n < e.length; n++) {
            var r = e[n];
            (r.enumerable = r.enumerable || !1),
              (r.configurable = !0),
              "value" in r && (r.writable = !0),
              Object.defineProperty(t, $a(r.key), r);
          }
        }
        function Ia(t, e, n) {
          return (
            (e = La(e)),
            (function (t, e) {
              if (e && ("object" == Oa(e) || "function" == typeof e)) return e;
              if (void 0 !== e)
                throw new TypeError(
                  "Derived constructors may only return object or undefined"
                );
              return (function (t) {
                if (void 0 === t)
                  throw new ReferenceError(
                    "this hasn't been initialised - super() hasn't been called"
                  );
                return t;
              })(t);
            })(
              t,
              ja()
                ? Reflect.construct(e, n || [], La(t).constructor)
                : e.apply(t, n)
            )
          );
        }
        function ja() {
          try {
            var t = !Boolean.prototype.valueOf.call(
              Reflect.construct(Boolean, [], function () {})
            );
          } catch (t) {}
          return (ja = function () {
            return !!t;
          })();
        }
        function Ra(t, e, n, r) {
          var i = Da(La(1 & r ? t.prototype : t), e, n);
          return 2 & r && "function" == typeof i
            ? function (t) {
                return i.apply(n, t);
              }
            : i;
        }
        function Da() {
          return (
            (Da =
              "undefined" != typeof Reflect && Reflect.get
                ? Reflect.get.bind()
                : function (t, e, n) {
                    var r = (function (t, e) {
                      for (
                        ;
                        !{}.hasOwnProperty.call(t, e) && null !== (t = La(t));

                      );
                      return t;
                    })(t, e);
                    if (r) {
                      var i = Object.getOwnPropertyDescriptor(r, e);
                      return i.get
                        ? i.get.call(arguments.length < 3 ? t : n)
                        : i.value;
                    }
                  }),
            Da.apply(null, arguments)
          );
        }
        function La(t) {
          return (
            (La = Object.setPrototypeOf
              ? Object.getPrototypeOf.bind()
              : function (t) {
                  return t.__proto__ || Object.getPrototypeOf(t);
                }),
            La(t)
          );
        }
        function Ma(t, e) {
          return (
            (Ma = Object.setPrototypeOf
              ? Object.setPrototypeOf.bind()
              : function (t, e) {
                  return (t.__proto__ = e), t;
                }),
            Ma(t, e)
          );
        }
        function Na(t, e, n) {
          return (
            (e = $a(e)) in t
              ? Object.defineProperty(t, e, {
                  value: n,
                  enumerable: !0,
                  configurable: !0,
                  writable: !0,
                })
              : (t[e] = n),
            t
          );
        }
        function $a(t) {
          var e = (function (t, e) {
            if ("object" != Oa(t) || !t) return t;
            var n = t[Symbol.toPrimitive];
            if (void 0 !== n) {
              var r = n.call(t, e || "default");
              if ("object" != Oa(r)) return r;
              throw new TypeError(
                "@@toPrimitive must return a primitive value."
              );
            }
            return ("string" === e ? String : Number)(t);
          })(t, "string");
          return "symbol" == Oa(e) ? e : e + "";
        }
        var Ba = (function (t) {
          function e(t) {
            var n,
              r = this,
              i =
                arguments.length > 1 && void 0 !== arguments[1]
                  ? arguments[1]
                  : {};
            return (
              (function (t, e) {
                if (!(t instanceof e))
                  throw new TypeError("Cannot call a class as a function");
              })(this, e),
              Na((n = Ia(this, e, [t, i])), "options", void 0),
              Na(n, "reactRoot", void 0),
              Na(
                n,
                "update",
                function () {
                  xa(this, r), n.render();
                }.bind(this)
              ),
              (n.options = Pa(Pa({}, { type: "indication-points" }), i)),
              n.setup(),
              n
            );
          }
          return (
            (function (t, e) {
              if ("function" != typeof e && null !== e)
                throw new TypeError(
                  "Super expression must either be null or a function"
                );
              (t.prototype = Object.create(e && e.prototype, {
                constructor: { value: t, writable: !0, configurable: !0 },
              })),
                Object.defineProperty(t, "prototype", { writable: !1 }),
                e && Ma(t, e);
            })(e, t),
            (n = e),
            (r = [
              {
                key: "init",
                value: function () {
                  Ra(e, "init", this, 3)([]), this.createRoot(), this.render();
                },
              },
              {
                key: "setup",
                value: function () {
                  var t = this;
                  this.component.addOnceHook(
                    "afterMount",
                    function () {
                      xa(this, t), this.init();
                    }.bind(this)
                  ),
                    this.component.addOnceHook(
                      "beforeDestroy",
                      function () {
                        xa(this, t), this.dispose();
                      }.bind(this)
                    ),
                    this.component.addHook("beforeUpdate", this.update),
                    this.component.addHook(
                      "afterRenderFilter",
                      function (e) {
                        var n = e.cssStyle;
                        xa(this, t), this.$view.css("filter", n);
                      }.bind(this)
                    );
                },
              },
              {
                key: "createRoot",
                value: function () {
                  this.reactRoot ||
                    (this.reactRoot = (0, A.createRoot)(this.$view[0]));
                },
              },
              {
                key: "render",
                value: function () {
                  var t = (function (t) {
                    return Ta[t];
                  })(this.options.type);
                  t && t(this.reactRoot, { component: this.component });
                },
              },
              {
                key: "dispose",
                value: function () {
                  this.component &&
                    this.component.deleteHook("beforeUpdate", this.update),
                    this.reactRoot &&
                      (this.reactRoot.unmount(), (this.reactRoot = null)),
                    Ra(e, "dispose", this, 3)([]);
                },
              },
            ]),
            r && ka(n.prototype, r),
            i && ka(n, i),
            Object.defineProperty(n, "prototype", { writable: !1 }),
            n
          );
          var n, r, i;
        })(Ee);
        function Ua(t) {
          return (
            (Ua =
              "function" == typeof Symbol && "symbol" == typeof Symbol.iterator
                ? function (t) {
                    return typeof t;
                  }
                : function (t) {
                    return t &&
                      "function" == typeof Symbol &&
                      t.constructor === Symbol &&
                      t !== Symbol.prototype
                      ? "symbol"
                      : typeof t;
                  }),
            Ua(t)
          );
        }
        function Fa(t, e) {
          var n = Object.keys(t);
          if (Object.getOwnPropertySymbols) {
            var r = Object.getOwnPropertySymbols(t);
            e &&
              (r = r.filter(function (e) {
                return Object.getOwnPropertyDescriptor(t, e).enumerable;
              })),
              n.push.apply(n, r);
          }
          return n;
        }
        function Ha(t) {
          for (var e = 1; e < arguments.length; e++) {
            var n = null != arguments[e] ? arguments[e] : {};
            e % 2
              ? Fa(Object(n), !0).forEach(function (e) {
                  Ga(t, e, n[e]);
                })
              : Object.getOwnPropertyDescriptors
              ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(n))
              : Fa(Object(n)).forEach(function (e) {
                  Object.defineProperty(
                    t,
                    e,
                    Object.getOwnPropertyDescriptor(n, e)
                  );
                });
          }
          return t;
        }
        function Ga(t, e, n) {
          return (
            (e = (function (t) {
              var e = (function (t, e) {
                if ("object" != Ua(t) || !t) return t;
                var n = t[Symbol.toPrimitive];
                if (void 0 !== n) {
                  var r = n.call(t, e || "default");
                  if ("object" != Ua(r)) return r;
                  throw new TypeError(
                    "@@toPrimitive must return a primitive value."
                  );
                }
                return ("string" === e ? String : Number)(t);
              })(t, "string");
              return "symbol" == Ua(e) ? e : e + "";
            })(e)) in t
              ? Object.defineProperty(t, e, {
                  value: n,
                  enumerable: !0,
                  configurable: !0,
                  writable: !0,
                })
              : (t[e] = n),
            t
          );
        }
        (0, s.register)({
          name: "paginationForEcharts",
          version: "1.0.0",
          apply: function (t) {
            !(function (t) {
              t.update = new Proxy(t.update, {
                apply: function (e, n, r) {
                  var i = t.getBasicConfig();
                  if (t.pagination) {
                    var o = a.A.get(i, "pagination.enable"),
                      s = a.A.get(i, "pagination.pageSize");
                    o ? t.pagination.enable() : t.pagination.disable(),
                      t.pagination.setPageSize(s);
                  }
                  Reflect.apply(e, n, r);
                },
              });
            })(t),
              (function (t) {
                t.getPluginConfig = new Proxy(t.getPluginConfig, {
                  apply: function (t, e, n) {
                    var r = Reflect.apply(t, e, n);
                    return (
                      r.themeSchema &&
                        (r.themeSchema = Ha(
                          Ha({}, r.themeSchema),
                          {},
                          {
                            "pagination.indicationPointColor":
                              "textColor@soild(0);opacity(0.4)",
                            "pagination.hover.indicationPointColor":
                              "textColor@soild(0)",
                            "pagination.active.indicationPointColor":
                              "textColor@soild(0)",
                          }
                        )),
                      r
                    );
                  },
                });
              })(t),
              (function (t) {
                t.getBasicConfig().pagination ||
                  t.updateConfigs({ basicConfig: { pagination: Bo() } });
              })(t);
            var e = t.getBasicConfig().pagination;
            e &&
              (((0, R.vk)() && !e.enable) ||
                ((t.pagination = new ca(t)), (t.paginationView = new Ba(t))));
          },
        }),
          (0, s.register)({
            name: "renderInNewsList",
            version: "1.0.0",
            apply: function (t) {
              var e = this;
              (t.supportDragInNewsList = !0),
                (t.renderInNewsList = function (n, r) {
                  var i, o;
                  ((function (t, e) {
                    if (t !== e)
                      throw new TypeError(
                        "Cannot instantiate an arrow function"
                      );
                  })(this, e),
                  n.setChildDataSetter(t, r),
                  t._reactRoot) &&
                    (null === (i = (o = t._reactRoot).unmount) ||
                      void 0 === i ||
                      i.call(o),
                    (t._reactRoot = null));
                  try {
                    t.init();
                  } catch (t) {
                    sfLogger.error(t);
                  }
                }.bind(this));
            },
          });
        var Wa = n(28379);
        function za(t) {
          return (
            (za =
              "function" == typeof Symbol && "symbol" == typeof Symbol.iterator
                ? function (t) {
                    return typeof t;
                  }
                : function (t) {
                    return t &&
                      "function" == typeof Symbol &&
                      t.constructor === Symbol &&
                      t !== Symbol.prototype
                      ? "symbol"
                      : typeof t;
                  }),
            za(t)
          );
        }
        function qa(t) {
          return (
            (function (t) {
              if (Array.isArray(t)) return Xa(t);
            })(t) ||
            (function (t) {
              if (
                ("undefined" != typeof Symbol && null != t[Symbol.iterator]) ||
                null != t["@@iterator"]
              )
                return Array.from(t);
            })(t) ||
            (function (t, e) {
              if (t) {
                if ("string" == typeof t) return Xa(t, e);
                var n = {}.toString.call(t).slice(8, -1);
                return (
                  "Object" === n && t.constructor && (n = t.constructor.name),
                  "Map" === n || "Set" === n
                    ? Array.from(t)
                    : "Arguments" === n ||
                      /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)
                    ? Xa(t, e)
                    : void 0
                );
              }
            })(t) ||
            (function () {
              throw new TypeError(
                "Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."
              );
            })()
          );
        }
        function Xa(t, e) {
          (null == e || e > t.length) && (e = t.length);
          for (var n = 0, r = Array(e); n < e; n++) r[n] = t[n];
          return r;
        }
        function Ya(t, e, n) {
          return (
            (e = (function (t) {
              var e = (function (t, e) {
                if ("object" != za(t) || !t) return t;
                var n = t[Symbol.toPrimitive];
                if (void 0 !== n) {
                  var r = n.call(t, e || "default");
                  if ("object" != za(r)) return r;
                  throw new TypeError(
                    "@@toPrimitive must return a primitive value."
                  );
                }
                return ("string" === e ? String : Number)(t);
              })(t, "string");
              return "symbol" == za(e) ? e : e + "";
            })(e)) in t
              ? Object.defineProperty(t, e, {
                  value: n,
                  enumerable: !0,
                  configurable: !0,
                  writable: !0,
                })
              : (t[e] = n),
            t
          );
        }
        function Ka(t, e) {
          if (t !== e)
            throw new TypeError("Cannot instantiate an arrow function");
        }
        var Za = "ux-component-root",
          Ja = {},
          Qa = {},
          ts = {},
          es = {};
        function ns(t, e, r, i, o) {
          var a = this;
          return new Promise(
            function (s) {
              var c = this;
              Ka(this, a);
              var l = "./".concat("".concat(t, "/").concat(e)),
                u = es[l];
              !u || u instanceof Promise
                ? (u ||
                    ((u = (async function (t, e, r, i) {
                      if (!t)
                        return (
                          sfLogger.error(
                            "找不到组件 "
                              .concat(r, ":")
                              .concat(i, " 的依赖：")
                              .concat(t, "，请检查 manifest.json")
                          ),
                          Promise.resolve()
                        );
                      var o = "./".concat("".concat(t, "/").concat(e));
                      await n.I("default");
                      var a = window.sfueVendor;
                      return (
                        await a.init(n.I.default),
                        (await window.sfueVendor.get(o))()
                      );
                    })(t, e, r, i)),
                    (es[l] = u)),
                  u.then(
                    function (e) {
                      Ka(this, c), s(Ya({}, t, e[o]));
                    }.bind(this)
                  ))
                : s(Ya({}, t, u[o]));
            }.bind(this)
          );
        }
        function rs(t) {
          var e =
              arguments.length > 1 && void 0 !== arguments[1]
                ? arguments[1]
                : "1.0.0",
            n =
              arguments.length > 2 && void 0 !== arguments[2]
                ? arguments[2]
                : { dependencies: {}, plugins: {} };
          return async function (r) {
            var i,
              o = this,
              s = "".concat(t, ":").concat(e),
              c = {},
              l = (function (t, e, n) {
                var r,
                  i = this,
                  o =
                    arguments.length > 3 && void 0 !== arguments[3]
                      ? arguments[3]
                      : "default",
                  s = "".concat(e, ":").concat(n);
                return (
                  a.A.isEmpty(t)
                    ? (ts[s] = Promise.resolve())
                    : ((r = Promise.all(
                        qa(
                          Object.keys(t).map(
                            function (r) {
                              return Ka(this, i), ns(r, t[r], e, n, o);
                            }.bind(this)
                          )
                        )
                      )),
                      (ts[s] = r)),
                  r
                );
              })(n.dependencies, t, e);
            l instanceof Promise &&
              (l = await l).forEach(
                function (t) {
                  Ka(this, o), Object.assign(c, t);
                }.bind(this)
              );
            var u = r(c, n);
            null === (i = u.protoInitialize) || void 0 === i || i.call(u, n, c),
              (Ja[s] = u);
          };
        }
        async function is(t) {
          var e = this,
            n =
              arguments.length > 1 && void 0 !== arguments[1]
                ? arguments[1]
                : "1.0.0",
            i = arguments.length > 2 ? arguments[2] : void 0,
            o =
              arguments.length > 3 && void 0 !== arguments[3]
                ? arguments[3]
                : window.location.origin,
            s = "".concat(t, ":").concat(n),
            c = a.A.get(Ja, s);
          if (c) return Promise.resolve(c);
          var l = a.A.get(Qa, s);
          if (l) return await l, a.A.get(Ja, s);
          i = i ? (0, r.F)(i) : B.Ay.JS_PATH_PREFIX;
          var u = ""
            .concat(o)
            .concat(i, "/")
            .concat(t, "/")
            .concat(n, "/")
            .concat("runner", "/index.js");
          return (
            (l = (0, r.e)(u)
              .then(
                async function () {
                  Ka(this, e), await ts["".concat(t, ":").concat(n)];
                  var r = a.A.get(Ja, s);
                  return (
                    r || (sfLogger.error("组件 ".concat(s, " 加载失败")), null)
                  );
                }.bind(this)
              )
              .catch(
                function (t) {
                  return (
                    Ka(this, e),
                    (0, L.errorMessage)({
                      content: v.get("com.componentLoadError") + s,
                      duration: 0,
                    }),
                    sfLogger.error("组件 ".concat(s, " 加载失败 ").concat(t)),
                    null
                  );
                }.bind(this)
              )),
            a.A.set(Qa, s, l),
            l
          );
        }
        async function os(t, e, n) {
          var r = t.type,
            i = t.version,
            a = t.jsPathPrefix,
            s = t.origin,
            c = t.$parent
              ? o()(t.$parent)
              : o()('<div class="'.concat(Za, '"></div>'));
          if (e)
            if ("number" == typeof n && n > -1) {
              var l = e.children(".".concat(Za))[n];
              l ? c.insertBefore(l) : e.append(c);
            } else e.append(c);
          var u = await is(r, i, a, s);
          if (!u) throw Error("获取组件构造器失败");
          var f = new u(c, t);
          return Wa.A.isPerformanceMode && Wa.Y3(f), f;
        }
      },
      71308: (t, e, n) => {
        "use strict";
        function r() {
          return "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(
            /[xy]/g,
            (t) => {
              const e = (16 * Math.random()) | 0;
              return ("x" === t ? e : (3 & e) | 8).toString(16);
            }
          );
        }
        n.d(e, { A: () => r });
      },
      73104: (t, e, n) => {
        "use strict";
        n.d(e, { p: () => r });
        var r = (function (t) {
          return (
            (t.string = "string"),
            (t.integer = "integer"),
            (t.decimal = "decimal"),
            (t.number = "number"),
            (t.boolean = "boolean"),
            (t.date = "date"),
            (t.dateTime = "date-time"),
            t
          );
        })({});
      },
      73581: (t, e, n) => {
        "use strict";
        n.d(e, { b: () => i });
        var r = n(23850);
        function i() {
          var t = (0, r.jP)();
          return !(!t || null == t || !t.SAFE_XSS_ENABLE);
        }
      },
      74671: (t, e, n) => {
        "use strict";
        n.d(e, { _: () => r, d: () => i });
        var r = (function (t) {
            return (t.prev = "prev"), (t.next = "next"), t;
          })({}),
          i = (function (t) {
            return (
              (t.POLYMERIZATION = "AGGREGATE_QUERY"),
              (t.DETAILED = "DETAIL_QUERY"),
              t
            );
          })({});
      },
      76129: (t, e, n) => {
        "use strict";
        function r(t) {
          return (
            (r =
              "function" == typeof Symbol && "symbol" == typeof Symbol.iterator
                ? function (t) {
                    return typeof t;
                  }
                : function (t) {
                    return t &&
                      "function" == typeof Symbol &&
                      t.constructor === Symbol &&
                      t !== Symbol.prototype
                      ? "symbol"
                      : typeof t;
                  }),
            r(t)
          );
        }
        function i(t, e) {
          var n = Object.keys(t);
          if (Object.getOwnPropertySymbols) {
            var r = Object.getOwnPropertySymbols(t);
            e &&
              (r = r.filter(function (e) {
                return Object.getOwnPropertyDescriptor(t, e).enumerable;
              })),
              n.push.apply(n, r);
          }
          return n;
        }
        function o(t, e, n) {
          return (
            (e = (function (t) {
              var e = (function (t, e) {
                if ("object" != r(t) || !t) return t;
                var n = t[Symbol.toPrimitive];
                if (void 0 !== n) {
                  var i = n.call(t, e || "default");
                  if ("object" != r(i)) return i;
                  throw new TypeError(
                    "@@toPrimitive must return a primitive value."
                  );
                }
                return ("string" === e ? String : Number)(t);
              })(t, "string");
              return "symbol" == r(e) ? e : e + "";
            })(e)) in t
              ? Object.defineProperty(t, e, {
                  value: n,
                  enumerable: !0,
                  configurable: !0,
                  writable: !0,
                })
              : (t[e] = n),
            t
          );
        }
        function a(t) {
          var e = this;
          return null == t
            ? void 0
            : t.map(
                function (t) {
                  !(function (t, e) {
                    if (t !== e)
                      throw new TypeError(
                        "Cannot instantiate an arrow function"
                      );
                  })(this, e);
                  var n = t.columnName;
                  return (
                    delete t.columnName,
                    (function (t) {
                      for (var e = 1; e < arguments.length; e++) {
                        var n = null != arguments[e] ? arguments[e] : {};
                        e % 2
                          ? i(Object(n), !0).forEach(function (e) {
                              o(t, e, n[e]);
                            })
                          : Object.getOwnPropertyDescriptors
                          ? Object.defineProperties(
                              t,
                              Object.getOwnPropertyDescriptors(n)
                            )
                          : i(Object(n)).forEach(function (e) {
                              Object.defineProperty(
                                t,
                                e,
                                Object.getOwnPropertyDescriptor(n, e)
                              );
                            });
                      }
                      return t;
                    })({ columnId: n }, t)
                  );
                }.bind(this)
              );
        }
        n.d(e, { A: () => a });
      },
      76503: (t, e, n) => {
        "use strict";
        n.d(e, { A: () => o });
        var r = n(71542),
          i = n(39767);
        function o() {
          var t = [
            i.get("aiModule.i18n_36"),
            i.get("aiModule.i18n_37"),
            i.get("aiModule.i18n_38"),
          ];
          return t[r.A.random(0, t.length - 1)];
        }
      },
      76521: (t, e, n) => {
        "use strict";
        n.d(e, { A: () => p, f: () => h });
        var r = n(79209);
        function i(t) {
          return (
            (i =
              "function" == typeof Symbol && "symbol" == typeof Symbol.iterator
                ? function (t) {
                    return typeof t;
                  }
                : function (t) {
                    return t &&
                      "function" == typeof Symbol &&
                      t.constructor === Symbol &&
                      t !== Symbol.prototype
                      ? "symbol"
                      : typeof t;
                  }),
            i(t)
          );
        }
        function o(t, e) {
          if (t !== e)
            throw new TypeError("Cannot instantiate an arrow function");
        }
        function a(t, e) {
          return (
            (function (t) {
              if (Array.isArray(t)) return t;
            })(t) ||
            (function (t, e) {
              var n =
                null == t
                  ? null
                  : ("undefined" != typeof Symbol && t[Symbol.iterator]) ||
                    t["@@iterator"];
              if (null != n) {
                var r,
                  i,
                  o,
                  a,
                  s = [],
                  c = !0,
                  l = !1;
                try {
                  if (((o = (n = n.call(t)).next), 0 === e)) {
                    if (Object(n) !== n) return;
                    c = !1;
                  } else
                    for (
                      ;
                      !(c = (r = o.call(n)).done) &&
                      (s.push(r.value), s.length !== e);
                      c = !0
                    );
                } catch (t) {
                  (l = !0), (i = t);
                } finally {
                  try {
                    if (
                      !c &&
                      null != n.return &&
                      ((a = n.return()), Object(a) !== a)
                    )
                      return;
                  } finally {
                    if (l) throw i;
                  }
                }
                return s;
              }
            })(t, e) ||
            c(t, e) ||
            (function () {
              throw new TypeError(
                "Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."
              );
            })()
          );
        }
        function s(t, e) {
          var n =
            ("undefined" != typeof Symbol && t[Symbol.iterator]) ||
            t["@@iterator"];
          if (!n) {
            if (
              Array.isArray(t) ||
              (n = c(t)) ||
              (e && t && "number" == typeof t.length)
            ) {
              n && (t = n);
              var r = 0,
                i = function () {};
              return {
                s: i,
                n: function () {
                  return r >= t.length
                    ? { done: !0 }
                    : { done: !1, value: t[r++] };
                },
                e: function (t) {
                  throw t;
                },
                f: i,
              };
            }
            throw new TypeError(
              "Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."
            );
          }
          var o,
            a = !0,
            s = !1;
          return {
            s: function () {
              n = n.call(t);
            },
            n: function () {
              var t = n.next();
              return (a = t.done), t;
            },
            e: function (t) {
              (s = !0), (o = t);
            },
            f: function () {
              try {
                a || null == n.return || n.return();
              } finally {
                if (s) throw o;
              }
            },
          };
        }
        function c(t, e) {
          if (t) {
            if ("string" == typeof t) return l(t, e);
            var n = {}.toString.call(t).slice(8, -1);
            return (
              "Object" === n && t.constructor && (n = t.constructor.name),
              "Map" === n || "Set" === n
                ? Array.from(t)
                : "Arguments" === n ||
                  /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)
                ? l(t, e)
                : void 0
            );
          }
        }
        function l(t, e) {
          (null == e || e > t.length) && (e = t.length);
          for (var n = 0, r = Array(e); n < e; n++) r[n] = t[n];
          return r;
        }
        function u(t, e) {
          for (var n = 0; n < e.length; n++) {
            var r = e[n];
            (r.enumerable = r.enumerable || !1),
              (r.configurable = !0),
              "value" in r && (r.writable = !0),
              Object.defineProperty(t, d(r.key), r);
          }
        }
        function f(t, e, n) {
          return (
            (e = d(e)) in t
              ? Object.defineProperty(t, e, {
                  value: n,
                  enumerable: !0,
                  configurable: !0,
                  writable: !0,
                })
              : (t[e] = n),
            t
          );
        }
        function d(t) {
          var e = (function (t, e) {
            if ("object" != i(t) || !t) return t;
            var n = t[Symbol.toPrimitive];
            if (void 0 !== n) {
              var r = n.call(t, e || "default");
              if ("object" != i(r)) return r;
              throw new TypeError(
                "@@toPrimitive must return a primitive value."
              );
            }
            return ("string" === e ? String : Number)(t);
          })(t, "string");
          return "symbol" == i(e) ? e : e + "";
        }
        var h = (function (t) {
            return (
              (t.abort = "fetchAbort"),
              (t.httpStatusError = "httpStatusError"),
              (t.responseError = "responseError"),
              t
            );
          })({}),
          p = (function () {
            return (
              (t = function t() {
                !(function (t, e) {
                  if (!(t instanceof e))
                    throw new TypeError("Cannot call a class as a function");
                })(this, t);
              }),
              (n = [
                {
                  key: "detectSameFetch",
                  value: function (t, e) {
                    var n = this.buildUniqQueryId({
                      requestParams: t,
                      componentId: e,
                    });
                    if (!this.hasFetch(n)) {
                      var r,
                        i = s(this.fetchMap.keys());
                      try {
                        for (i.s(); !(r = i.n()).done; ) {
                          var o = r.value,
                            a = this.getFetch(o);
                          a.componentId === e &&
                            (a.controller.abort(), this.remove(a.queryId));
                        }
                      } catch (t) {
                        i.e(t);
                      } finally {
                        i.f();
                      }
                      return [n, !1];
                    }
                    return [n, !0];
                  },
                },
                {
                  key: "buildUniqQueryId",
                  value: function (t) {
                    return JSON.stringify(t);
                  },
                },
                {
                  key: "post",
                  value: function (t, e, n) {
                    var i = this,
                      s = a(this.detectSameFetch(e, n), 2),
                      c = s[0];
                    if (s[1]) return Promise.reject(h.abort);
                    var l = new AbortController(),
                      u = l.signal,
                      f = (0, r.post)(t, e, {
                        signal: u,
                        headers: {
                          sysname: "ux",
                          "content-type": "application/json; charset=UTF-8",
                        },
                      });
                    return (
                      this.add(c, {
                        queryId: c,
                        componentId: n,
                        controller: l,
                        fetchQueue: [f],
                      }),
                      f
                        .then(
                          function (t) {
                            return o(this, i), t;
                          }.bind(this)
                        )
                        .catch(
                          function (t) {
                            return (
                              o(this, i),
                              sfLogger.message(t),
                              t.code === DOMException.ABORT_ERR
                                ? Promise.reject(h.abort)
                                : Promise.reject(t)
                            );
                          }.bind(this)
                        )
                        .finally(
                          function () {
                            o(this, i), this.remove(c);
                          }.bind(this)
                        )
                    );
                  },
                },
                {
                  key: "add",
                  value: function (t, e) {
                    var n = this.fetchMap;
                    return n.has(t) || n.set(t, e), this;
                  },
                },
                {
                  key: "remove",
                  value: function (t) {
                    var e = this.fetchMap;
                    e.has(t) && e.delete(t);
                  },
                },
                {
                  key: "addToFetchQueue",
                  value: function (t, e) {
                    this.getFetch(t).fetchQueue.push(e);
                  },
                },
                {
                  key: "getFetch",
                  value: function (t) {
                    return this.fetchMap.get(t);
                  },
                },
                {
                  key: "getFetchQueue",
                  value: function (t) {
                    return this.hasFetch(t) ? this.getFetch(t).fetchQueue : [];
                  },
                },
                {
                  key: "getFetchQueueCount",
                  value: function (t) {
                    return this.hasFetch(t)
                      ? this.getFetch(t).fetchQueue.length
                      : 0;
                  },
                },
                {
                  key: "hasFetch",
                  value: function (t) {
                    return this.fetchMap.has(t);
                  },
                },
                {
                  key: "abort",
                  value: function (t) {
                    this.fetchMap.has(t) &&
                      this.fetchMap.get(t).controller.abort();
                  },
                },
                {
                  key: "abortAll",
                  value: function () {
                    var t,
                      e = s(this.fetchMap.keys());
                    try {
                      for (e.s(); !(t = e.n()).done; ) {
                        var n = t.value;
                        this.abort(n);
                      }
                    } catch (t) {
                      e.e(t);
                    } finally {
                      e.f();
                    }
                  },
                },
                {
                  key: "getfetchMap",
                  value: function () {
                    return this.fetchMap;
                  },
                },
                {
                  key: "addCache",
                  value: function (t, e) {
                    this.fetchCache.set(t, e);
                  },
                },
                {
                  key: "removeCache",
                  value: function (t) {
                    this.fetchCache.delete(t);
                  },
                },
                {
                  key: "getCache",
                  value: function (t) {
                    return this.fetchCache.get(t);
                  },
                },
                {
                  key: "removeAll",
                  value: function () {
                    this.abortAll(),
                      this.fetchMap.clear(),
                      this.fetchCache.clear();
                  },
                },
                {
                  key: "removeQueryByPreffix",
                  value: function (t) {
                    var e,
                      n = s(this.fetchMap.keys());
                    try {
                      for (n.s(); !(e = n.n()).done; ) {
                        var r = e.value;
                        -1 !== r.indexOf(t) &&
                          (this.abort(r), this.removeCache(r), this.remove(r));
                      }
                    } catch (t) {
                      n.e(t);
                    } finally {
                      n.f();
                    }
                  },
                },
              ]),
              (e = null) && u(t.prototype, e),
              n && u(t, n),
              Object.defineProperty(t, "prototype", { writable: !1 }),
              t
            );
            var t, e, n;
          })();
        f(p, "fetchMap", new Map()), f(p, "fetchCache", new Map());
      },
      79209: (t, e, n) => {
        "use strict";
        n.r(e),
          n.d(e, {
            default: () => q,
            del: () => G,
            get: () => F,
            interceptors: () => U,
            post: () => H,
            postFormData: () => z,
            put: () => W,
          });
        var r = n(74692),
          i = n.n(r),
          o = n(14987),
          a = n(18882);
        function s(t) {
          return (
            (s =
              "function" == typeof Symbol && "symbol" == typeof Symbol.iterator
                ? function (t) {
                    return typeof t;
                  }
                : function (t) {
                    return t &&
                      "function" == typeof Symbol &&
                      t.constructor === Symbol &&
                      t !== Symbol.prototype
                      ? "symbol"
                      : typeof t;
                  }),
            s(t)
          );
        }
        function c(t) {
          var e = this,
            n = [];
          return "string" == typeof t
            ? t
            : JSON.stringify(
                t,
                function (t, r) {
                  if (
                    ((function (t, e) {
                      if (t !== e)
                        throw new TypeError(
                          "Cannot instantiate an arrow function"
                        );
                    })(this, e),
                    "object" === s(r) && null !== r)
                  ) {
                    if (n.includes(r)) return;
                    n.push(r);
                  }
                  return r;
                }.bind(this)
              );
        }
        var l = n(96850);
        function u(t) {
          return (
            (u =
              "function" == typeof Symbol && "symbol" == typeof Symbol.iterator
                ? function (t) {
                    return typeof t;
                  }
                : function (t) {
                    return t &&
                      "function" == typeof Symbol &&
                      t.constructor === Symbol &&
                      t !== Symbol.prototype
                      ? "symbol"
                      : typeof t;
                  }),
            u(t)
          );
        }
        function f(t, e) {
          var n = Object.keys(t);
          if (Object.getOwnPropertySymbols) {
            var r = Object.getOwnPropertySymbols(t);
            e &&
              (r = r.filter(function (e) {
                return Object.getOwnPropertyDescriptor(t, e).enumerable;
              })),
              n.push.apply(n, r);
          }
          return n;
        }
        function d(t) {
          for (var e = 1; e < arguments.length; e++) {
            var n = null != arguments[e] ? arguments[e] : {};
            e % 2
              ? f(Object(n), !0).forEach(function (e) {
                  h(t, e, n[e]);
                })
              : Object.getOwnPropertyDescriptors
              ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(n))
              : f(Object(n)).forEach(function (e) {
                  Object.defineProperty(
                    t,
                    e,
                    Object.getOwnPropertyDescriptor(n, e)
                  );
                });
          }
          return t;
        }
        function h(t, e, n) {
          return (
            (e = (function (t) {
              var e = (function (t, e) {
                if ("object" != u(t) || !t) return t;
                var n = t[Symbol.toPrimitive];
                if (void 0 !== n) {
                  var r = n.call(t, e || "default");
                  if ("object" != u(r)) return r;
                  throw new TypeError(
                    "@@toPrimitive must return a primitive value."
                  );
                }
                return ("string" === e ? String : Number)(t);
              })(t, "string");
              return "symbol" == u(e) ? e : e + "";
            })(e)) in t
              ? Object.defineProperty(t, e, {
                  value: n,
                  enumerable: !0,
                  configurable: !0,
                  writable: !0,
                })
              : (t[e] = n),
            t
          );
        }
        function p(t) {
          var e = t.headers,
            n = void 0 === e ? {} : e;
          return (t.headers = d(d({}, n), (0, l.z)())), t;
        }
        var m = n(62952);
        function v(t) {
          var e =
            !(arguments.length > 1 && void 0 !== arguments[1]) || arguments[1];
          return null != t && t.charts
            ? t
            : !t || (200 !== t.status && 0 !== t.status && "0" !== t.code)
            ? (e && (0, m.errorMessage)(t.messages), Promise.reject(t))
            : t;
        }
        function g(t) {
          return v(t, !1);
        }
        var y = n(18040);
        var b = n(48893);
        function V(t) {
          return (
            (V =
              "function" == typeof Symbol && "symbol" == typeof Symbol.iterator
                ? function (t) {
                    return typeof t;
                  }
                : function (t) {
                    return t &&
                      "function" == typeof Symbol &&
                      t.constructor === Symbol &&
                      t !== Symbol.prototype
                      ? "symbol"
                      : typeof t;
                  }),
            V(t)
          );
        }
        function _(t, e) {
          var n = Object.keys(t);
          if (Object.getOwnPropertySymbols) {
            var r = Object.getOwnPropertySymbols(t);
            e &&
              (r = r.filter(function (e) {
                return Object.getOwnPropertyDescriptor(t, e).enumerable;
              })),
              n.push.apply(n, r);
          }
          return n;
        }
        function w(t) {
          for (var e = 1; e < arguments.length; e++) {
            var n = null != arguments[e] ? arguments[e] : {};
            e % 2
              ? _(Object(n), !0).forEach(function (e) {
                  S(t, e, n[e]);
                })
              : Object.getOwnPropertyDescriptors
              ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(n))
              : _(Object(n)).forEach(function (e) {
                  Object.defineProperty(
                    t,
                    e,
                    Object.getOwnPropertyDescriptor(n, e)
                  );
                });
          }
          return t;
        }
        function S(t, e, n) {
          return (
            (e = (function (t) {
              var e = (function (t, e) {
                if ("object" != V(t) || !t) return t;
                var n = t[Symbol.toPrimitive];
                if (void 0 !== n) {
                  var r = n.call(t, e || "default");
                  if ("object" != V(r)) return r;
                  throw new TypeError(
                    "@@toPrimitive must return a primitive value."
                  );
                }
                return ("string" === e ? String : Number)(t);
              })(t, "string");
              return "symbol" == V(e) ? e : e + "";
            })(e)) in t
              ? Object.defineProperty(t, e, {
                  value: n,
                  enumerable: !0,
                  configurable: !0,
                  writable: !0,
                })
              : (t[e] = n),
            t
          );
        }
        function E(t) {
          var e = t.headers,
            n = void 0 === e ? {} : e;
          return (
            (0, b.Jt)(t) &&
              (t.headers = w(
                w({}, n),
                {},
                { "x-request-route": encodeURI("sdcue/".concat("uxrunner")) }
              )),
            t
          );
        }
        function A(t) {
          return 401 === t.status || "401" == t.code
            ? ((0, l.j)(), Promise.reject(t))
            : 403 === t.status || "403" == t.code
            ? ((0, l.d)(), Promise.reject(t))
            : t;
        }
        function T(t) {
          var e = t.headers,
            n = void 0 === e ? {} : e;
          return l.B.setHeaders(n), (t.headers = n), t;
        }
        function O(t) {
          return (
            (O =
              "function" == typeof Symbol && "symbol" == typeof Symbol.iterator
                ? function (t) {
                    return typeof t;
                  }
                : function (t) {
                    return t &&
                      "function" == typeof Symbol &&
                      t.constructor === Symbol &&
                      t !== Symbol.prototype
                      ? "symbol"
                      : typeof t;
                  }),
            O(t)
          );
        }
        function C(t, e) {
          var n = Object.keys(t);
          if (Object.getOwnPropertySymbols) {
            var r = Object.getOwnPropertySymbols(t);
            e &&
              (r = r.filter(function (e) {
                return Object.getOwnPropertyDescriptor(t, e).enumerable;
              })),
              n.push.apply(n, r);
          }
          return n;
        }
        function P(t) {
          for (var e = 1; e < arguments.length; e++) {
            var n = null != arguments[e] ? arguments[e] : {};
            e % 2
              ? C(Object(n), !0).forEach(function (e) {
                  x(t, e, n[e]);
                })
              : Object.getOwnPropertyDescriptors
              ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(n))
              : C(Object(n)).forEach(function (e) {
                  Object.defineProperty(
                    t,
                    e,
                    Object.getOwnPropertyDescriptor(n, e)
                  );
                });
          }
          return t;
        }
        function x(t, e, n) {
          return (
            (e = (function (t) {
              var e = (function (t, e) {
                if ("object" != O(t) || !t) return t;
                var n = t[Symbol.toPrimitive];
                if (void 0 !== n) {
                  var r = n.call(t, e || "default");
                  if ("object" != O(r)) return r;
                  throw new TypeError(
                    "@@toPrimitive must return a primitive value."
                  );
                }
                return ("string" === e ? String : Number)(t);
              })(t, "string");
              return "symbol" == O(e) ? e : e + "";
            })(e)) in t
              ? Object.defineProperty(t, e, {
                  value: n,
                  enumerable: !0,
                  configurable: !0,
                  writable: !0,
                })
              : (t[e] = n),
            t
          );
        }
        function k(t, e) {
          if (t !== e)
            throw new TypeError("Cannot instantiate an arrow function");
        }
        var I = [],
          j = [];
        function R(t) {
          var e = this,
            n =
              arguments.length > 1 && void 0 !== arguments[1]
                ? arguments[1]
                : {};
          return (
            n.method || (n.method = "GET"),
            I.forEach(
              function (r) {
                k(this, e), (n = r(P(P({}, n), {}, { url: t })));
              }.bind(this)
            ),
            new Promise(
              function (r, i) {
                var o = this;
                k(this, e),
                  window
                    .fetch(t, n)
                    .then(
                      function (t) {
                        var e = this;
                        k(this, o),
                          (t._method = n.method),
                          j.forEach(
                            function (n) {
                              k(this, e), (t = n(t));
                            }.bind(this)
                          ),
                          r(t);
                      }.bind(this)
                    )
                    .catch(
                      function (t) {
                        k(this, o), i(t);
                      }.bind(this)
                    );
              }.bind(this)
            )
          );
        }
        R.interceptors = {
          request: {
            use: function (t) {
              return I.push(t), R.interceptors.request;
            },
          },
          response: {
            use: function (t) {
              return j.push(t), R.interceptors.response;
            },
          },
        };
        const D = R;
        function L(t) {
          return (
            (L =
              "function" == typeof Symbol && "symbol" == typeof Symbol.iterator
                ? function (t) {
                    return typeof t;
                  }
                : function (t) {
                    return t &&
                      "function" == typeof Symbol &&
                      t.constructor === Symbol &&
                      t !== Symbol.prototype
                      ? "symbol"
                      : typeof t;
                  }),
            L(t)
          );
        }
        function M(t, e) {
          if (t !== e)
            throw new TypeError("Cannot instantiate an arrow function");
        }
        function N(t, e) {
          var n = Object.keys(t);
          if (Object.getOwnPropertySymbols) {
            var r = Object.getOwnPropertySymbols(t);
            e &&
              (r = r.filter(function (e) {
                return Object.getOwnPropertyDescriptor(t, e).enumerable;
              })),
              n.push.apply(n, r);
          }
          return n;
        }
        function $(t) {
          for (var e = 1; e < arguments.length; e++) {
            var n = null != arguments[e] ? arguments[e] : {};
            e % 2
              ? N(Object(n), !0).forEach(function (e) {
                  B(t, e, n[e]);
                })
              : Object.getOwnPropertyDescriptors
              ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(n))
              : N(Object(n)).forEach(function (e) {
                  Object.defineProperty(
                    t,
                    e,
                    Object.getOwnPropertyDescriptor(n, e)
                  );
                });
          }
          return t;
        }
        function B(t, e, n) {
          return (
            (e = (function (t) {
              var e = (function (t, e) {
                if ("object" != L(t) || !t) return t;
                var n = t[Symbol.toPrimitive];
                if (void 0 !== n) {
                  var r = n.call(t, e || "default");
                  if ("object" != L(r)) return r;
                  throw new TypeError(
                    "@@toPrimitive must return a primitive value."
                  );
                }
                return ("string" === e ? String : Number)(t);
              })(t, "string");
              return "symbol" == L(e) ? e : e + "";
            })(e)) in t
              ? Object.defineProperty(t, e, {
                  value: n,
                  enumerable: !0,
                  configurable: !0,
                  writable: !0,
                })
              : (t[e] = n),
            t
          );
        }
        var U = D.interceptors;
        function F(t, e, n) {
          var r = e ? (0, a.n)(t, e) : t,
            i = null == n ? void 0 : n.headers;
          return D(
            r,
            $(
              $({}, n),
              {},
              {
                method: "GET",
                headers: $({ "content-type": "application/json" }, i),
              }
            )
          );
        }
        function H(t, e, n) {
          var r = null == n ? void 0 : n.headers;
          return D(
            t,
            $(
              $({}, n),
              {},
              {
                method: "POST",
                body: e ? c(e) : "",
                headers: $({ "content-type": "application/json" }, r),
              }
            )
          );
        }
        function G(t, e, n) {
          return D(
            t,
            $(
              {
                method: "DELETE",
                body: e ? c(e) : "",
                headers: { "content-type": "application/json" },
              },
              n || {}
            )
          );
        }
        function W(t, e, n) {
          return D(
            t,
            $(
              {
                method: "PUT",
                body: e ? c(e) : "",
                headers: { "content-type": "application/json" },
              },
              n || {}
            )
          );
        }
        function z(t, e, n) {
          var r = this,
            s = T(
              E(
                p({
                  method: "POST",
                  url: t,
                  processData: !1,
                  contentType: !!n && "application/x-www-form-urlencoded",
                  data: n ? (0, a.A)(e) : e,
                })
              )
            );
          return i()
            .ajax(s)
            .then(A)
            .then(g)
            .then(
              function (t) {
                return (
                  M(this, r),
                  (t = JSON.parse(
                    o.A.decodeXHRRequestXSSChar(JSON.stringify(t))
                  ))
                );
              }.bind(this)
            )
            .catch(
              function (t) {
                M(this, r);
                var e = JSON.parse(
                  o.A.decodeXHRRequestXSSChar(JSON.stringify(t))
                );
                try {
                  e = e.responseText ? JSON.parse(e.responseText) : e;
                } finally {
                  e.messages && (0, m.errorMessage)(e.messages);
                }
                return Promise.reject(e);
              }.bind(this)
            );
        }
        function q() {}
        U.response
          .use(A)
          .use(v)
          .use(async function (t) {
            var e,
              n = t.headers.get("Content-type").toLowerCase();
            switch (!0) {
              case n.includes("octet-stream"):
              case n.includes("form-data"):
                e = { code: "0", data: await t.blob(), headers: t.headers };
                break;
              case n.includes("image/svg+xml"):
                e = await t.text();
                break;
              case n.includes("application/json"):
                (e = await t.text()),
                  (e = o.A.decodeXHRRequestXSSChar(e)),
                  (e = o.A.decodeXHRRequestXSSChar(e)),
                  (e = JSON.parse(e));
                break;
              default:
                e = await t.blob();
            }
            return (function (t) {
              var e,
                n = "03301E423",
                r = "03301B423";
              if (t.code === n || t.status === n)
                return (
                  (0, l.k)(
                    null !== (e = t.data.errorDetail) && void 0 !== e ? e : ""
                  ),
                  !1
                );
              if (t.code === r || t.status === r) {
                var i = window.location;
                return (
                  (i.href = ""
                    .concat(i.origin)
                    .concat(y.Ay.AUTH_CENTER, "/423.html")),
                  !1
                );
              }
              return !0;
            })(e)
              ? e
              : {};
          }),
          U.request.use(p).use(E).use(T);
      },
      79430: (t, e, n) => {
        "use strict";
        n.d(e, { A: () => c });
        var r = n(12487),
          i = n(27107),
          o = n(39767),
          a = n(4455),
          s = n(16998);
        function c(t) {
          var e = t.slotParams,
            n = (0, s.A)(e, "assistant-model");
          return n
            ? (n === i.Kt.ANALYSIS &&
                r.Yc.get().dialogStatus === i.dL.MIN &&
                r.Yc.setKey("dialogStatus", i.dL.MAX),
              n === r.Yc.get().mode
                ? Promise.resolve({
                    content: ""
                      .concat(o.get("aiModule.i18n_27"), "，")
                      .concat(o.get("aiModule.i18n_28")),
                  })
                : (r.Yc.setKey("mode", n),
                  n === i.Kt.CONTROL &&
                    (r.Yc.setKey("isEditing", !1), (0, a.eS)()),
                  Promise.resolve({
                    content:
                      n === i.Kt.ANALYSIS
                        ? o.get("aiModule.i18n_29")
                        : o.get("aiModule.i18n_30"),
                  })))
            : Promise.resolve({ content: o.get("aiModule.i18n_26") });
        }
      },
      79530: (t, e, n) => {
        "use strict";
        n.d(e, { A: () => o, l: () => i });
        const r = {
          huawei: () => Promise.all([n.e(924), n.e(265)]).then(n.bind(n, 1265)),
          custom: () => n.e(967).then(n.bind(n, 37967)),
          hw_duix: () =>
            Promise.all([n.e(924), n.e(425)]).then(n.bind(n, 96425)),
        };
        async function i(t) {
          let e;
          try {
            e = await import(t);
          } catch (t) {
            throw (console.error("Failed to load module:", t), t);
          }
          return e;
        }
        class o {
          constructor(t) {
            Object.defineProperty(this, "ai", {
              enumerable: !0,
              configurable: !0,
              writable: !0,
              value: void 0,
            }),
              Object.defineProperty(this, "config", {
                enumerable: !0,
                configurable: !0,
                writable: !0,
                value: void 0,
              }),
              (this.config = t);
          }
          async init() {
            const {
                configPath: t,
                paramsPath: e,
                intelligentConfig: { id: n },
              } = this.config,
              o = await (async (t) => {
                const e = await i(t);
                return Promise.resolve(e.config);
              })(t || "/config.demo.js"),
              a = (await i(e || "/params.js")).default,
              s = o.find((t) => t.id === n);
            if (!s)
              throw (
                (console.error("not find module by id:", n),
                Error(`not find module by id: ${n}`))
              );
            try {
              const t = (await r[s.name]()).default;
              (this.ai = new t({
                ...this.config,
                options: { ...s.options, params: a },
              })),
                await this.ai.init();
            } catch (t) {
              throw (
                (console.error("load module error:", t),
                Error(`load module error: ${t}`))
              );
            }
          }
          wakeUp() {
            this.ai.wakeUp();
          }
          command(t, e) {
            this.ai.command(t, e);
          }
          on(t, e) {
            this.ai.on(t, e);
          }
          off(t, e) {
            this.ai.off(t, e);
          }
          speak(t) {
            this.ai.speak(t);
          }
          reportToLLM(t) {
            this.ai.reportToLLM(t);
          }
          setLLMConfig(t) {
            this.ai.setLLMConfig(t);
          }
          disableWakeUp() {
            this.ai.disableWakeUp();
          }
          enableWakeUp() {
            this.ai.enableWakeUp();
          }
          closeSTT() {
            this.ai.closeSTT();
          }
          stopSpeak() {
            this.ai.stopSpeak();
          }
          stop() {
            this.ai.stop();
          }
        }
      },
      81406: (t, e, n) => {
        "use strict";
        n.d(e, { A: () => Ie });
        var r = n(12487),
          i = n(76503),
          o = n(71542),
          a = void 0;
        function s(t, e) {
          if (t !== e)
            throw new TypeError("Cannot instantiate an arrow function");
        }
        var c = {
          "===": function (t, e) {
            return s(this, a), t === e;
          }.bind(void 0),
          ">": function (t, e) {
            return s(this, a), t > e;
          }.bind(void 0),
          "<": function (t, e) {
            return s(this, a), t < e;
          }.bind(void 0),
          ">=": function (t, e) {
            return s(this, a), t >= e;
          }.bind(void 0),
          "<=": function (t, e) {
            return s(this, a), t <= e;
          }.bind(void 0),
          "!==": function (t, e) {
            return s(this, a), t !== e;
          }.bind(void 0),
        };
        function l(t) {
          var e,
            n,
            i = t.field,
            a = t.op,
            s = t.value;
          return (function (t, e) {
            var n = e.op,
              r = e.value;
            if (!n || !c[n](t, r)) return !1;
            return !0;
          })(((e = r.Yc.get()), (n = i) ? o.A.get(e, n) : e), {
            op: a,
            value: s,
          });
        }
        var u = n(39767),
          f = n(27107),
          d = n(4455);
        var h = n(7821),
          p = n(16998);
        function m(t) {
          return (
            (m =
              "function" == typeof Symbol && "symbol" == typeof Symbol.iterator
                ? function (t) {
                    return typeof t;
                  }
                : function (t) {
                    return t &&
                      "function" == typeof Symbol &&
                      t.constructor === Symbol &&
                      t !== Symbol.prototype
                      ? "symbol"
                      : typeof t;
                  }),
            m(t)
          );
        }
        function v(t, e) {
          var n = Object.keys(t);
          if (Object.getOwnPropertySymbols) {
            var r = Object.getOwnPropertySymbols(t);
            e &&
              (r = r.filter(function (e) {
                return Object.getOwnPropertyDescriptor(t, e).enumerable;
              })),
              n.push.apply(n, r);
          }
          return n;
        }
        function g(t) {
          for (var e = 1; e < arguments.length; e++) {
            var n = null != arguments[e] ? arguments[e] : {};
            e % 2
              ? v(Object(n), !0).forEach(function (e) {
                  y(t, e, n[e]);
                })
              : Object.getOwnPropertyDescriptors
              ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(n))
              : v(Object(n)).forEach(function (e) {
                  Object.defineProperty(
                    t,
                    e,
                    Object.getOwnPropertyDescriptor(n, e)
                  );
                });
          }
          return t;
        }
        function y(t, e, n) {
          return (
            (e = (function (t) {
              var e = (function (t, e) {
                if ("object" != m(t) || !t) return t;
                var n = t[Symbol.toPrimitive];
                if (void 0 !== n) {
                  var r = n.call(t, e || "default");
                  if ("object" != m(r)) return r;
                  throw new TypeError(
                    "@@toPrimitive must return a primitive value."
                  );
                }
                return ("string" === e ? String : Number)(t);
              })(t, "string");
              return "symbol" == m(e) ? e : e + "";
            })(e)) in t
              ? Object.defineProperty(t, e, {
                  value: n,
                  enumerable: !0,
                  configurable: !0,
                  writable: !0,
                })
              : (t[e] = n),
            t
          );
        }
        function b(t, e) {
          if (t !== e)
            throw new TypeError("Cannot instantiate an arrow function");
        }
        var V = n(17369);
        function _(t) {
          var e = (0, p.A)(t.slotParams, "error");
          return Promise.resolve({ content: e || (0, i.A)() });
        }
        var w = n(88342);
        var S = n(79430),
          E = n(96850),
          A = n(18040),
          T = n(79209);
        function O(t) {
          var e = this;
          return (0, T.post)(
            "".concat(A.Ay.UX_API, "/runner/card/getCardInfoByIdList"),
            t
          ).then(
            function (t) {
              var n = t.data;
              return (
                (function (t, e) {
                  if (t !== e)
                    throw new TypeError("Cannot instantiate an arrow function");
                })(this, e),
                n
              );
            }.bind(this)
          );
        }
        var C = n(71308);
        const P = n.p + "images/card.3e2e.svg";
        function x(t, e) {
          if (t !== e)
            throw new TypeError("Cannot instantiate an arrow function");
        }
        var k = n(23850),
          I = n(15354),
          j = n(64188);
        function R(t, e) {
          if (t !== e)
            throw new TypeError("Cannot instantiate an arrow function");
        }
        var D = n(13916);
        function L(t) {
          return (
            (L =
              "function" == typeof Symbol && "symbol" == typeof Symbol.iterator
                ? function (t) {
                    return typeof t;
                  }
                : function (t) {
                    return t &&
                      "function" == typeof Symbol &&
                      t.constructor === Symbol &&
                      t !== Symbol.prototype
                      ? "symbol"
                      : typeof t;
                  }),
            L(t)
          );
        }
        function M(t, e, n) {
          return (
            (e = (function (t) {
              var e = (function (t, e) {
                if ("object" != L(t) || !t) return t;
                var n = t[Symbol.toPrimitive];
                if (void 0 !== n) {
                  var r = n.call(t, e || "default");
                  if ("object" != L(r)) return r;
                  throw new TypeError(
                    "@@toPrimitive must return a primitive value."
                  );
                }
                return ("string" === e ? String : Number)(t);
              })(t, "string");
              return "symbol" == L(e) ? e : e + "";
            })(e)) in t
              ? Object.defineProperty(t, e, {
                  value: n,
                  enumerable: !0,
                  configurable: !0,
                  writable: !0,
                })
              : (t[e] = n),
            t
          );
        }
        var N = n(87329);
        function $(t) {
          return (
            ($ =
              "function" == typeof Symbol && "symbol" == typeof Symbol.iterator
                ? function (t) {
                    return typeof t;
                  }
                : function (t) {
                    return t &&
                      "function" == typeof Symbol &&
                      t.constructor === Symbol &&
                      t !== Symbol.prototype
                      ? "symbol"
                      : typeof t;
                  }),
            $(t)
          );
        }
        function B(t, e) {
          var n = Object.keys(t);
          if (Object.getOwnPropertySymbols) {
            var r = Object.getOwnPropertySymbols(t);
            e &&
              (r = r.filter(function (e) {
                return Object.getOwnPropertyDescriptor(t, e).enumerable;
              })),
              n.push.apply(n, r);
          }
          return n;
        }
        function U(t) {
          for (var e = 1; e < arguments.length; e++) {
            var n = null != arguments[e] ? arguments[e] : {};
            e % 2
              ? B(Object(n), !0).forEach(function (e) {
                  F(t, e, n[e]);
                })
              : Object.getOwnPropertyDescriptors
              ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(n))
              : B(Object(n)).forEach(function (e) {
                  Object.defineProperty(
                    t,
                    e,
                    Object.getOwnPropertyDescriptor(n, e)
                  );
                });
          }
          return t;
        }
        function F(t, e, n) {
          return (
            (e = (function (t) {
              var e = (function (t, e) {
                if ("object" != $(t) || !t) return t;
                var n = t[Symbol.toPrimitive];
                if (void 0 !== n) {
                  var r = n.call(t, e || "default");
                  if ("object" != $(r)) return r;
                  throw new TypeError(
                    "@@toPrimitive must return a primitive value."
                  );
                }
                return ("string" === e ? String : Number)(t);
              })(t, "string");
              return "symbol" == $(e) ? e : e + "";
            })(e)) in t
              ? Object.defineProperty(t, e, {
                  value: n,
                  enumerable: !0,
                  configurable: !0,
                  writable: !0,
                })
              : (t[e] = n),
            t
          );
        }
        function H(t) {
          return (
            (function (t) {
              if (Array.isArray(t)) return G(t);
            })(t) ||
            (function (t) {
              if (
                ("undefined" != typeof Symbol && null != t[Symbol.iterator]) ||
                null != t["@@iterator"]
              )
                return Array.from(t);
            })(t) ||
            (function (t, e) {
              if (t) {
                if ("string" == typeof t) return G(t, e);
                var n = {}.toString.call(t).slice(8, -1);
                return (
                  "Object" === n && t.constructor && (n = t.constructor.name),
                  "Map" === n || "Set" === n
                    ? Array.from(t)
                    : "Arguments" === n ||
                      /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)
                    ? G(t, e)
                    : void 0
                );
              }
            })(t) ||
            (function () {
              throw new TypeError(
                "Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."
              );
            })()
          );
        }
        function G(t, e) {
          (null == e || e > t.length) && (e = t.length);
          for (var n = 0, r = Array(e); n < e; n++) r[n] = t[n];
          return r;
        }
        function W(t, e) {
          if (t !== e)
            throw new TypeError("Cannot instantiate an arrow function");
        }
        function z(t) {
          return (
            (z =
              "function" == typeof Symbol && "symbol" == typeof Symbol.iterator
                ? function (t) {
                    return typeof t;
                  }
                : function (t) {
                    return t &&
                      "function" == typeof Symbol &&
                      t.constructor === Symbol &&
                      t !== Symbol.prototype
                      ? "symbol"
                      : typeof t;
                  }),
            z(t)
          );
        }
        function q(t, e) {
          var n = Object.keys(t);
          if (Object.getOwnPropertySymbols) {
            var r = Object.getOwnPropertySymbols(t);
            e &&
              (r = r.filter(function (e) {
                return Object.getOwnPropertyDescriptor(t, e).enumerable;
              })),
              n.push.apply(n, r);
          }
          return n;
        }
        function X(t) {
          for (var e = 1; e < arguments.length; e++) {
            var n = null != arguments[e] ? arguments[e] : {};
            e % 2
              ? q(Object(n), !0).forEach(function (e) {
                  Y(t, e, n[e]);
                })
              : Object.getOwnPropertyDescriptors
              ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(n))
              : q(Object(n)).forEach(function (e) {
                  Object.defineProperty(
                    t,
                    e,
                    Object.getOwnPropertyDescriptor(n, e)
                  );
                });
          }
          return t;
        }
        function Y(t, e, n) {
          return (
            (e = (function (t) {
              var e = (function (t, e) {
                if ("object" != z(t) || !t) return t;
                var n = t[Symbol.toPrimitive];
                if (void 0 !== n) {
                  var r = n.call(t, e || "default");
                  if ("object" != z(r)) return r;
                  throw new TypeError(
                    "@@toPrimitive must return a primitive value."
                  );
                }
                return ("string" === e ? String : Number)(t);
              })(t, "string");
              return "symbol" == z(e) ? e : e + "";
            })(e)) in t
              ? Object.defineProperty(t, e, {
                  value: n,
                  enumerable: !0,
                  configurable: !0,
                  writable: !0,
                })
              : (t[e] = n),
            t
          );
        }
        function K(t, e) {
          return (
            (function (t) {
              if (Array.isArray(t)) return t;
            })(t) ||
            (function (t, e) {
              var n =
                null == t
                  ? null
                  : ("undefined" != typeof Symbol && t[Symbol.iterator]) ||
                    t["@@iterator"];
              if (null != n) {
                var r,
                  i,
                  o,
                  a,
                  s = [],
                  c = !0,
                  l = !1;
                try {
                  if (((o = (n = n.call(t)).next), 0 === e)) {
                    if (Object(n) !== n) return;
                    c = !1;
                  } else
                    for (
                      ;
                      !(c = (r = o.call(n)).done) &&
                      (s.push(r.value), s.length !== e);
                      c = !0
                    );
                } catch (t) {
                  (l = !0), (i = t);
                } finally {
                  try {
                    if (
                      !c &&
                      null != n.return &&
                      ((a = n.return()), Object(a) !== a)
                    )
                      return;
                  } finally {
                    if (l) throw i;
                  }
                }
                return s;
              }
            })(t, e) ||
            (function (t, e) {
              if (t) {
                if ("string" == typeof t) return Z(t, e);
                var n = {}.toString.call(t).slice(8, -1);
                return (
                  "Object" === n && t.constructor && (n = t.constructor.name),
                  "Map" === n || "Set" === n
                    ? Array.from(t)
                    : "Arguments" === n ||
                      /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)
                    ? Z(t, e)
                    : void 0
                );
              }
            })(t, e) ||
            (function () {
              throw new TypeError(
                "Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."
              );
            })()
          );
        }
        function Z(t, e) {
          (null == e || e > t.length) && (e = t.length);
          for (var n = 0, r = Array(e); n < e; n++) r[n] = t[n];
          return r;
        }
        var J = null;
        function Q(t) {
          var e = this;
          if ((clearInterval(J), t)) {
            var n = t.split(""),
              i = 0;
            return (J = setInterval(
              function () {
                !(function (t, e) {
                  if (t !== e)
                    throw new TypeError("Cannot instantiate an arrow function");
                })(this, e),
                  i >= n.length && clearInterval(J);
                var t = r.AK.get(),
                  o = K(r.sI.get()[t], 2),
                  a = o[0],
                  s = o[1];
                (s.content = s.content + (n[i] || "")),
                  r.sI.setKey(t, [X({}, a), X({}, s)]),
                  i++;
              }.bind(this),
              220
            ));
          }
        }
        var tt = n(68978);
        async function et(t) {
          var e,
            n = t.eventConfig,
            r = t.comInstance;
          if (n && r) {
            var i = await (0, tt.xy)(r);
            await i.init(),
              i.dispatchEvent(
                null == n || null === (e = n[0]) || void 0 === e
                  ? void 0
                  : e.eventType
              );
          }
        }
        function nt(t, e) {
          if (t !== e)
            throw new TypeError("Cannot instantiate an arrow function");
        }
        var rt = !0;
        function it(t) {
          var e,
            n,
            i = this,
            o =
              ((e = r.AK.get()),
              (n = K(r.sI.get()[e], 2))[0],
              n[1].content || ""),
            a = function (e) {
              var n = this;
              if ((nt(this, i), "broadcast" === e.type)) {
                rt &&
                  (console.timeEnd("start"),
                  console.log("start开始播报"),
                  (rt = !1));
                var a = e.data,
                  s = a.text,
                  c = a.end;
                if (
                  ((function (t, e) {
                    var n = r.AK.get(),
                      i = K(r.sI.get()[n], 2),
                      o = i[0],
                      a = i[1];
                    (a.content = t + (e || "")),
                      r.sI.setKey(n, [X({}, o), X({}, a)]);
                  })(o, s),
                  !c && t && t.length)
                ) {
                  var l = t.find(
                    function (t) {
                      return nt(this, n), t.startIndex === s.length;
                    }.bind(this)
                  );
                  l && et(l.cfg);
                }
              }
            }.bind(this),
            s = function () {
              nt(this, i), w.A.off("message", a), w.A.off("broadcastEnd", s);
            }.bind(this);
          w.A.on("message", a), w.A.on("broadcastEnd", s);
        }
        function ot(t) {
          return (
            (function (t) {
              if (Array.isArray(t)) return at(t);
            })(t) ||
            (function (t) {
              if (
                ("undefined" != typeof Symbol && null != t[Symbol.iterator]) ||
                null != t["@@iterator"]
              )
                return Array.from(t);
            })(t) ||
            (function (t, e) {
              if (t) {
                if ("string" == typeof t) return at(t, e);
                var n = {}.toString.call(t).slice(8, -1);
                return (
                  "Object" === n && t.constructor && (n = t.constructor.name),
                  "Map" === n || "Set" === n
                    ? Array.from(t)
                    : "Arguments" === n ||
                      /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)
                    ? at(t, e)
                    : void 0
                );
              }
            })(t) ||
            (function () {
              throw new TypeError(
                "Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."
              );
            })()
          );
        }
        function at(t, e) {
          (null == e || e > t.length) && (e = t.length);
          for (var n = 0, r = Array(e); n < e; n++) r[n] = t[n];
          return r;
        }
        function st(t, e) {
          if (t !== e)
            throw new TypeError("Cannot instantiate an arrow function");
        }
        var ct = function () {
          st(this, undefined);
        }.bind(void 0);
        function lt(t) {
          return (
            (lt =
              "function" == typeof Symbol && "symbol" == typeof Symbol.iterator
                ? function (t) {
                    return typeof t;
                  }
                : function (t) {
                    return t &&
                      "function" == typeof Symbol &&
                      t.constructor === Symbol &&
                      t !== Symbol.prototype
                      ? "symbol"
                      : typeof t;
                  }),
            lt(t)
          );
        }
        function ut(t, e) {
          var n = Object.keys(t);
          if (Object.getOwnPropertySymbols) {
            var r = Object.getOwnPropertySymbols(t);
            e &&
              (r = r.filter(function (e) {
                return Object.getOwnPropertyDescriptor(t, e).enumerable;
              })),
              n.push.apply(n, r);
          }
          return n;
        }
        function ft(t) {
          for (var e = 1; e < arguments.length; e++) {
            var n = null != arguments[e] ? arguments[e] : {};
            e % 2
              ? ut(Object(n), !0).forEach(function (e) {
                  dt(t, e, n[e]);
                })
              : Object.getOwnPropertyDescriptors
              ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(n))
              : ut(Object(n)).forEach(function (e) {
                  Object.defineProperty(
                    t,
                    e,
                    Object.getOwnPropertyDescriptor(n, e)
                  );
                });
          }
          return t;
        }
        function dt(t, e, n) {
          return (
            (e = (function (t) {
              var e = (function (t, e) {
                if ("object" != lt(t) || !t) return t;
                var n = t[Symbol.toPrimitive];
                if (void 0 !== n) {
                  var r = n.call(t, e || "default");
                  if ("object" != lt(r)) return r;
                  throw new TypeError(
                    "@@toPrimitive must return a primitive value."
                  );
                }
                return ("string" === e ? String : Number)(t);
              })(t, "string");
              return "symbol" == lt(e) ? e : e + "";
            })(e)) in t
              ? Object.defineProperty(t, e, {
                  value: n,
                  enumerable: !0,
                  configurable: !0,
                  writable: !0,
                })
              : (t[e] = n),
            t
          );
        }
        function ht(t) {
          return (
            (function (t) {
              if (Array.isArray(t)) return pt(t);
            })(t) ||
            (function (t) {
              if (
                ("undefined" != typeof Symbol && null != t[Symbol.iterator]) ||
                null != t["@@iterator"]
              )
                return Array.from(t);
            })(t) ||
            (function (t, e) {
              if (t) {
                if ("string" == typeof t) return pt(t, e);
                var n = {}.toString.call(t).slice(8, -1);
                return (
                  "Object" === n && t.constructor && (n = t.constructor.name),
                  "Map" === n || "Set" === n
                    ? Array.from(t)
                    : "Arguments" === n ||
                      /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)
                    ? pt(t, e)
                    : void 0
                );
              }
            })(t) ||
            (function () {
              throw new TypeError(
                "Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."
              );
            })()
          );
        }
        function pt(t, e) {
          (null == e || e > t.length) && (e = t.length);
          for (var n = 0, r = Array(e); n < e; n++) r[n] = t[n];
          return r;
        }
        function mt(t, e) {
          if (t !== e)
            throw new TypeError("Cannot instantiate an arrow function");
        }
        async function vt(t) {
          t = await (async function (t) {
            var e = this,
              n = [];
            return (
              t.forEach(
                async function (t) {
                  mt(this, e),
                    "DYNAMIC" === t.type
                      ? n.push(gt(t))
                      : n.push(Promise.resolve(t));
                }.bind(this)
              ),
              Promise.all(n)
            );
          })(t);
          var e = [],
            n = async function () {
              var n = this,
                i = t[r];
              if ("TEXT" === i.type) {
                var a = o.A.last(e);
                a && "TEXT" === a.type
                  ? ((a.keywords = [].concat(
                      ht(a.keywords || []),
                      ht(
                        (i.keywords || []).map(
                          function (t) {
                            return (
                              mt(this, n),
                              ft(
                                ft({}, t),
                                {},
                                { startIndex: t.startIndex + a.text.length }
                              )
                            );
                          }.bind(this)
                        )
                      )
                    )),
                    (a.text = a.text + i.text))
                  : e.push(i);
              }
              if ("DYNAMIC" === i.type) {
                var s = o.A.last(e);
                s && "TEXT" === s.type
                  ? (s.text = s.text + (i.cfg.defaultVal || ""))
                  : e.push(i);
              }
              "ACTION" === i.type && e.push(i);
            };
          for (var r in t) await n();
          return e;
        }
        var gt = async function (t) {
          var e = this;
          return (
            mt(this, undefined),
            o.A.get(t, "cfg.dataSetting", null) &&
              (await new Promise(
                async function (n) {
                  var r = this;
                  mt(this, e);
                  var i,
                    a = t.cfg.comInstance;
                  try {
                    (i = await (0, tt.xy)(a)),
                      await i.init(),
                      i.addHook(
                        "afterRequest",
                        function (t, e) {
                          var o = this;
                          if ((mt(this, r), e))
                            return (
                              setTimeout(
                                function () {
                                  var t;
                                  mt(this, o),
                                    null === (t = i) ||
                                      void 0 === t ||
                                      t.destroy();
                                }.bind(this),
                                200
                              ),
                              n(!1)
                            );
                        }.bind(this)
                      ),
                      i.addOnceHook(
                        "afterRender",
                        function () {
                          var e = this;
                          mt(this, r);
                          var a = i.getValue();
                          return (
                            o.A.set(t, "cfg.defaultVal", a),
                            setTimeout(
                              function () {
                                var t;
                                mt(this, e),
                                  null === (t = i) ||
                                    void 0 === t ||
                                    t.destroy();
                              }.bind(this),
                              200
                            ),
                            n(!0)
                          );
                        }.bind(this)
                      );
                  } catch (t) {
                    var s;
                    return (
                      sfLogger.error(t),
                      null === (s = i) ||
                        void 0 === s ||
                        null === (s = s.$parent) ||
                        void 0 === s ||
                        s.remove(),
                      n(!1)
                    );
                  }
                }.bind(this)
              ).then(
                function (t, n) {
                  mt(this, e);
                }.bind(this)
              )),
            t
          );
        }.bind(void 0);
        function yt(t) {
          return (
            (yt =
              "function" == typeof Symbol && "symbol" == typeof Symbol.iterator
                ? function (t) {
                    return typeof t;
                  }
                : function (t) {
                    return t &&
                      "function" == typeof Symbol &&
                      t.constructor === Symbol &&
                      t !== Symbol.prototype
                      ? "symbol"
                      : typeof t;
                  }),
            yt(t)
          );
        }
        function bt(t, e) {
          var n = Object.keys(t);
          if (Object.getOwnPropertySymbols) {
            var r = Object.getOwnPropertySymbols(t);
            e &&
              (r = r.filter(function (e) {
                return Object.getOwnPropertyDescriptor(t, e).enumerable;
              })),
              n.push.apply(n, r);
          }
          return n;
        }
        function Vt(t) {
          for (var e = 1; e < arguments.length; e++) {
            var n = null != arguments[e] ? arguments[e] : {};
            e % 2
              ? bt(Object(n), !0).forEach(function (e) {
                  _t(t, e, n[e]);
                })
              : Object.getOwnPropertyDescriptors
              ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(n))
              : bt(Object(n)).forEach(function (e) {
                  Object.defineProperty(
                    t,
                    e,
                    Object.getOwnPropertyDescriptor(n, e)
                  );
                });
          }
          return t;
        }
        function _t(t, e, n) {
          return (
            (e = (function (t) {
              var e = (function (t, e) {
                if ("object" != yt(t) || !t) return t;
                var n = t[Symbol.toPrimitive];
                if (void 0 !== n) {
                  var r = n.call(t, e || "default");
                  if ("object" != yt(r)) return r;
                  throw new TypeError(
                    "@@toPrimitive must return a primitive value."
                  );
                }
                return ("string" === e ? String : Number)(t);
              })(t, "string");
              return "symbol" == yt(e) ? e : e + "";
            })(e)) in t
              ? Object.defineProperty(t, e, {
                  value: n,
                  enumerable: !0,
                  configurable: !0,
                  writable: !0,
                })
              : (t[e] = n),
            t
          );
        }
        function wt(t, e) {
          return (
            (function (t) {
              if (Array.isArray(t)) return t;
            })(t) ||
            (function (t, e) {
              var n =
                null == t
                  ? null
                  : ("undefined" != typeof Symbol && t[Symbol.iterator]) ||
                    t["@@iterator"];
              if (null != n) {
                var r,
                  i,
                  o,
                  a,
                  s = [],
                  c = !0,
                  l = !1;
                try {
                  if (((o = (n = n.call(t)).next), 0 === e)) {
                    if (Object(n) !== n) return;
                    c = !1;
                  } else
                    for (
                      ;
                      !(c = (r = o.call(n)).done) &&
                      (s.push(r.value), s.length !== e);
                      c = !0
                    );
                } catch (t) {
                  (l = !0), (i = t);
                } finally {
                  try {
                    if (
                      !c &&
                      null != n.return &&
                      ((a = n.return()), Object(a) !== a)
                    )
                      return;
                  } finally {
                    if (l) throw i;
                  }
                }
                return s;
              }
            })(t, e) ||
            (function (t, e) {
              if (t) {
                if ("string" == typeof t) return St(t, e);
                var n = {}.toString.call(t).slice(8, -1);
                return (
                  "Object" === n && t.constructor && (n = t.constructor.name),
                  "Map" === n || "Set" === n
                    ? Array.from(t)
                    : "Arguments" === n ||
                      /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)
                    ? St(t, e)
                    : void 0
                );
              }
            })(t, e) ||
            (function () {
              throw new TypeError(
                "Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."
              );
            })()
          );
        }
        function St(t, e) {
          (null == e || e > t.length) && (e = t.length);
          for (var n = 0, r = Array(e); n < e; n++) r[n] = t[n];
          return r;
        }
        var Et = null;
        function At(t) {
          var e = this;
          if ((clearInterval(Et), t)) {
            var n = t.split(""),
              i = 0;
            return (Et = setInterval(
              function () {
                !(function (t, e) {
                  if (t !== e)
                    throw new TypeError("Cannot instantiate an arrow function");
                })(this, e),
                  i >= n.length && clearInterval(Et);
                var t = r.AK.get(),
                  o = wt(r.sI.get()[t], 2),
                  a = o[0],
                  s = o[1];
                (s.content = s.content + (n[i] || "")),
                  r.sI.setKey(t, [Vt({}, a), Vt({}, s)]),
                  i++;
              }.bind(this),
              220
            ));
          }
        }
        async function Tt(t) {
          var e = t.eventConfig,
            n = t.delayTime,
            r = t.comInstance;
          if (e && r) {
            var i = await (0, tt.xy)(r);
            await i.init(),
              setTimeout(function () {
                var t;
                i.dispatchEvent(
                  null == e || null === (t = e[0]) || void 0 === t
                    ? void 0
                    : t.eventType
                );
              }, 1e3 * (n || 0));
          }
        }
        var Ot = n(5616),
          Ct = n.n(Ot),
          Pt = n(8362),
          xt = n.n(Pt),
          kt = n(60414),
          It = n.n(kt),
          jt = n(21396),
          Rt = n.n(jt);
        function Dt(t) {
          return (
            (Dt =
              "function" == typeof Symbol && "symbol" == typeof Symbol.iterator
                ? function (t) {
                    return typeof t;
                  }
                : function (t) {
                    return t &&
                      "function" == typeof Symbol &&
                      t.constructor === Symbol &&
                      t !== Symbol.prototype
                      ? "symbol"
                      : typeof t;
                  }),
            Dt(t)
          );
        }
        var Lt = void 0;
        function Mt(t, e) {
          var n = Object.keys(t);
          if (Object.getOwnPropertySymbols) {
            var r = Object.getOwnPropertySymbols(t);
            e &&
              (r = r.filter(function (e) {
                return Object.getOwnPropertyDescriptor(t, e).enumerable;
              })),
              n.push.apply(n, r);
          }
          return n;
        }
        function Nt(t) {
          for (var e = 1; e < arguments.length; e++) {
            var n = null != arguments[e] ? arguments[e] : {};
            e % 2
              ? Mt(Object(n), !0).forEach(function (e) {
                  $t(t, e, n[e]);
                })
              : Object.getOwnPropertyDescriptors
              ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(n))
              : Mt(Object(n)).forEach(function (e) {
                  Object.defineProperty(
                    t,
                    e,
                    Object.getOwnPropertyDescriptor(n, e)
                  );
                });
          }
          return t;
        }
        function $t(t, e, n) {
          return (
            (e = (function (t) {
              var e = (function (t, e) {
                if ("object" != Dt(t) || !t) return t;
                var n = t[Symbol.toPrimitive];
                if (void 0 !== n) {
                  var r = n.call(t, e || "default");
                  if ("object" != Dt(r)) return r;
                  throw new TypeError(
                    "@@toPrimitive must return a primitive value."
                  );
                }
                return ("string" === e ? String : Number)(t);
              })(t, "string");
              return "symbol" == Dt(e) ? e : e + "";
            })(e)) in t
              ? Object.defineProperty(t, e, {
                  value: n,
                  enumerable: !0,
                  configurable: !0,
                  writable: !0,
                })
              : (t[e] = n),
            t
          );
        }
        function Bt(t, e) {
          if (t !== e)
            throw new TypeError("Cannot instantiate an arrow function");
        }
        var Ut = async function (t) {
            Bt(this, Lt);
            var e = Math.floor(Date.now() / 1e3) + "",
              n = t.appKey + "+" + t.appSecret + "+" + e,
              r = Rt().MD5(n).toString();
            try {
              var i = await fetch(t.loginUrl, {
                method: "POST",
                headers: { "Content-Type": "application/json" },
                body: JSON.stringify({
                  appkey: t.appKey,
                  signature: r,
                  timestamp: e,
                }),
              });
              return (await i.json()).data;
            } catch (t) {
              console.error("Error:", t);
            }
          }.bind(void 0),
          Ft = async function (t, e) {
            Bt(this, Lt);
            try {
              var n = await fetch(t.setProjectUrl, {
                method: "POST",
                headers: { "Content-Type": "application/json", token: e },
                body: JSON.stringify(Nt({ appkey: t.appKey }, t.setting)),
              });
              return (await n.json()).data;
            } catch (t) {
              console.error("Error:", t);
            }
          }.bind(void 0),
          Ht = async function (t) {
            Bt(this, Lt);
            var e = await Ut(t),
              n = await Ft(t, e);
            return Promise.resolve({ token: e, projectId: n });
          }.bind(void 0);
        var Gt = async function (t) {
            !(function (t, e) {
              if (t !== e)
                throw new TypeError("Cannot instantiate an arrow function");
            })(this, undefined);
            var e = await (async function (t) {
              var e;
              try {
                e = await import(t);
              } catch (t) {
                throw (console.error("Failed to load module:", t), t);
              }
              return e;
            })(t);
            return Promise.resolve(e.config);
          }.bind(void 0),
          Wt = n(86231),
          zt = n.n(Wt),
          qt = n(82406),
          Xt = n.n(qt),
          Yt = void 0;
        function Kt(t, e) {
          if (t !== e)
            throw new TypeError("Cannot instantiate an arrow function");
        }
        var Zt,
          Jt = function (t, e, n) {
            Kt(this, Yt);
            var r = location.host,
              i = new Date().toGMTString(),
              o = "host: "
                .concat(r, "\ndate: ")
                .concat(i, "\nGET /v2/tts HTTP/1.1"),
              a = Xt().HmacSHA256(o, n),
              s = Xt().enc.Base64.stringify(a),
              c = 'api_key="'
                .concat(e, '", algorithm="')
                .concat("hmac-sha256", '", headers="')
                .concat("host date request-line", '", signature="')
                .concat(s, '"'),
              l = btoa(c);
            return ""
              .concat(t, "?authorization=")
              .concat(l, "&date=")
              .concat(i, "&host=")
              .concat(r);
          }.bind(void 0),
          Qt = function (t, e) {
            if ((Kt(this, Yt), "unicode" === e)) {
              for (
                var n = new ArrayBuffer(4 * t.length),
                  r = new Uint16Array(n),
                  i = 0,
                  o = t.length;
                i < o;
                i++
              )
                r[i] = t.charCodeAt(i);
              for (
                var a = "", s = new Uint8Array(n), c = s.byteLength, l = 0;
                l < c;
                l++
              )
                a += String.fromCharCode(s[l]);
              return window.btoa(a);
            }
            return zt().encode(t);
          }.bind(void 0);
        function te(t) {
          return (
            (te =
              "function" == typeof Symbol && "symbol" == typeof Symbol.iterator
                ? function (t) {
                    return typeof t;
                  }
                : function (t) {
                    return t &&
                      "function" == typeof Symbol &&
                      t.constructor === Symbol &&
                      t !== Symbol.prototype
                      ? "symbol"
                      : typeof t;
                  }),
            te(t)
          );
        }
        function ee(t, e) {
          var n = Object.keys(t);
          if (Object.getOwnPropertySymbols) {
            var r = Object.getOwnPropertySymbols(t);
            e &&
              (r = r.filter(function (e) {
                return Object.getOwnPropertyDescriptor(t, e).enumerable;
              })),
              n.push.apply(n, r);
          }
          return n;
        }
        function ne(t) {
          for (var e = 1; e < arguments.length; e++) {
            var n = null != arguments[e] ? arguments[e] : {};
            e % 2
              ? ee(Object(n), !0).forEach(function (e) {
                  oe(t, e, n[e]);
                })
              : Object.getOwnPropertyDescriptors
              ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(n))
              : ee(Object(n)).forEach(function (e) {
                  Object.defineProperty(
                    t,
                    e,
                    Object.getOwnPropertyDescriptor(n, e)
                  );
                });
          }
          return t;
        }
        function re(t, e) {
          if (t !== e)
            throw new TypeError("Cannot instantiate an arrow function");
        }
        function ie(t, e) {
          for (var n = 0; n < e.length; n++) {
            var r = e[n];
            (r.enumerable = r.enumerable || !1),
              (r.configurable = !0),
              "value" in r && (r.writable = !0),
              Object.defineProperty(t, ae(r.key), r);
          }
        }
        function oe(t, e, n) {
          return (
            (e = ae(e)) in t
              ? Object.defineProperty(t, e, {
                  value: n,
                  enumerable: !0,
                  configurable: !0,
                  writable: !0,
                })
              : (t[e] = n),
            t
          );
        }
        function ae(t) {
          var e = (function (t, e) {
            if ("object" != te(t) || !t) return t;
            var n = t[Symbol.toPrimitive];
            if (void 0 !== n) {
              var r = n.call(t, e || "default");
              if ("object" != te(r)) return r;
              throw new TypeError(
                "@@toPrimitive must return a primitive value."
              );
            }
            return ("string" === e ? String : Number)(t);
          })(t, "string");
          return "symbol" == te(e) ? e : e + "";
        }
        var se = (function (t) {
            return (t.xfyun = "xfyun"), (t.aiask365 = "aiask365"), t;
          })(se || {}),
          ce = (function () {
            return (
              (t = function t() {
                !(function (t, e) {
                  if (!(t instanceof e))
                    throw new TypeError("Cannot call a class as a function");
                })(this, t),
                  oe(this, "voiceSDK", void 0),
                  oe(this, "audioPlayer", void 0),
                  oe(this, "websocket", void 0),
                  oe(this, "messageHandler", void 0),
                  oe(this, "currentpage", void 0),
                  oe(this, "ttsType", void 0),
                  oe(this, "sdkInfo", void 0),
                  oe(this, "sdkPlayer", void 0),
                  oe(this, "sendContentMerge", []),
                  oe(this, "currentText", void 0),
                  oe(this, "interrupt", void 0),
                  (this.currentpage = (0, I.Vs)()),
                  this.init();
              }),
              (e = [
                {
                  key: "init",
                  value: async function () {
                    var t = this;
                    if (!this.voiceSDK && !this.audioPlayer) {
                      var e = await Gt(
                        "".concat(
                          window.location.origin,
                          "/ux/runner/static/public/broadcastBasicConfig.js"
                        )
                      );
                      if (
                        ((this.ttsType = e.tts),
                        (this.sdkInfo = e.configparams[this.ttsType]),
                        this.ttsType === se.xfyun)
                      )
                        (this.audioPlayer = new (It())("./xfyun")),
                          this.onAudioPlayerMessage();
                      else {
                        if (this.ttsType !== se.aiask365) return;
                        (this.voiceSDK = new (Ct())({
                          wsUrl: "wss://".concat(
                            location.host,
                            "/sdcue/ueai/api/sy/v1/pc"
                          ),
                          useWorklet: !0,
                          onError: function (e) {
                            return re(this, t), console.error("错误:", e);
                          }.bind(this),
                          onSuccess: function (e) {
                            return (
                              re(this, t), console.log("收到服务器响应:", e)
                            );
                          }.bind(this),
                        })),
                          this.voiceSDK.init().then(
                            function () {
                              re(this, t),
                                (this.websocket = this.voiceSDK.websocket),
                                this.keepHeartbeat(),
                                this.sendProjectRouter(),
                                this.onMessage(),
                                this.initPlayer();
                            }.bind(this)
                          );
                      }
                    }
                  },
                },
                {
                  key: "initPlayer",
                  value: function () {
                    var t = this;
                    document
                      .getElementsByTagName("body")[0]
                      .appendChild(
                        document
                          .createRange()
                          .createContextualFragment(
                            '<div id="sf-digital-dom-box" style="position:absolute; z-index:999; right:420px;bottom:0;width: 216px;height:384px;"></div>'
                          )
                      ),
                      Ht(this.sdkInfo).then(
                        function (e) {
                          var n = this;
                          re(this, t),
                            (e.token && e.projectId) ||
                              console.log("token和projectId获取失败"),
                            (this.sdkInfo.form.token = e.token),
                            (this.sdkInfo.form.projectId = e.projectId),
                            xt().cmwwCli(
                              {
                                environment: this.sdkInfo.env,
                                host: this.sdkInfo.url,
                                containerLable: "#sf-digital-dom-box",
                                token: this.sdkInfo.form.token,
                                projectId: this.sdkInfo.form.projectId,
                                quality: 1,
                                zoom: 0.2,
                                volum: 1,
                                asr: !1,
                              },
                              function (t) {
                                var e = this;
                                re(this, n),
                                  (this.sdkPlayer = t),
                                  this.sdkPlayer.on(
                                    "intialSucccess",
                                    function (t) {
                                      re(this, e), t.type;
                                    }.bind(this)
                                  ),
                                  this.sdkPlayer.on(
                                    "intialError",
                                    function (t) {
                                      re(this, e),
                                        console.log(t),
                                        alert("初始化失败：" + t);
                                    }.bind(this)
                                  ),
                                  this.sdkPlayer.init(),
                                  this.onPlayerMessage();
                              }.bind(this),
                              function (t) {
                                re(this, n), alert("失败回调：" + t);
                              }.bind(this)
                            );
                        }.bind(this)
                      );
                  },
                },
                {
                  key: "sendProjectRouter",
                  value: function () {
                    var t = {
                      content: this.currentpage.projectId,
                      __MESSAGE__: "report_info",
                    };
                    this.sendMessage(JSON.stringify(t));
                  },
                },
                {
                  key: "keepHeartbeat",
                  value: function () {
                    var t = this;
                    setInterval(
                      function () {
                        re(this, t), this.sendMessage(0);
                      }.bind(this),
                      8e3
                    );
                  },
                },
                {
                  key: "sendMessage",
                  value: function (t) {
                    this.websocket.send(t);
                  },
                },
                {
                  key: "onMessage",
                  value: function () {
                    var t = this,
                      e = null;
                    this.websocket.onmessage = function (n) {
                      var i,
                        o = this;
                      re(this, t);
                      var a = JSON.parse(n.data);
                      a.commands &&
                      null !== (i = a.commands) &&
                      void 0 !== i &&
                      i.length
                        ? (0, r.qI)(a)
                        : a.__MESSAGE__ &&
                          (r.YE.get()[f.X2.sy_explain] &&
                            (new Date().getTime(),
                            e && clearTimeout(e),
                            this.trigger(f.X2.sy_explain, a)),
                          (e = setTimeout(
                            function () {
                              re(this, o),
                                this.trigger(f.X2.sy_bcEnd),
                                r.YE.setKey(f.X2.sy_explain, !1),
                                r.YE.get()[f.X2.sy_autoExplain] &&
                                  this.trigger(f.X2.sy_autoExplain),
                                e && clearTimeout(e);
                            }.bind(this),
                            1e3
                          )));
                    }.bind(this);
                  },
                },
                {
                  key: "on",
                  value: function (t, e) {
                    this.messageHandler || (this.messageHandler = new Map()),
                      (this.messageHandler[t] = e);
                  },
                },
                {
                  key: "off",
                  value: function (t) {
                    this.messageHandler[t] = null;
                  },
                },
                {
                  key: "trigger",
                  value: function (t, e) {
                    this.messageHandler &&
                      this.messageHandler[t] &&
                      this.messageHandler[t](e);
                  },
                },
                {
                  key: "hidePerson",
                  value: function () {
                    this.voiceSDK && this.voiceSDK.handleHidePerson();
                  },
                },
                {
                  key: "showPerson",
                  value: function () {
                    this.voiceSDK && this.voiceSDK.handleShowPerson();
                  },
                },
                {
                  key: "breakSpeech",
                  value: function () {
                    if (((this.interrupt = !0), this.ttsType === se.xfyun))
                      this.audioPlayer && this.audioPlayer.stop();
                    else if (this.ttsType === se.aiask365) {
                      var t = JSON.stringify({
                        content: !1,
                        __MESSAGE__: "huaman_break",
                      });
                      this.websocket && this.websocket.send(t);
                    }
                  },
                },
                {
                  key: "textToSpeech",
                  value: function (t) {
                    var e;
                    if (this.ttsType === se.aiask365)
                      null === (e = this.sdkPlayer) ||
                        void 0 === e ||
                        e.sendText(this.sdkInfo.form.question, t);
                    else if (this.ttsType === se.xfyun) {
                      var n, r;
                      null === (n = this.websocket) ||
                        void 0 === n ||
                        n.close(),
                        null === (r = this.audioPlayer) ||
                          void 0 === r ||
                          r.reset(),
                        this.connectWebSocket(t);
                    }
                  },
                },
                {
                  key: "sendStreamTextStart",
                  value: function (t) {
                    var e;
                    this.sdkPlayer &&
                      (null === (e = this.sdkPlayer) ||
                        void 0 === e ||
                        e.sendStreamTextStart(t, this.sdkInfo.form.question));
                  },
                },
                {
                  key: "sendStreamText",
                  value: function (t) {
                    var e;
                    this.sdkPlayer &&
                      (null === (e = this.sdkPlayer) ||
                        void 0 === e ||
                        e.sendStreamText(t));
                  },
                },
                {
                  key: "sendStreamTextEnd",
                  value: function () {
                    var t;
                    this.sdkPlayer &&
                      (null === (t = this.sdkPlayer) ||
                        void 0 === t ||
                        t.sendStreamTextEnd());
                  },
                },
                {
                  key: "onPlayerMessage",
                  value: function () {
                    var t = this;
                    this.sdkPlayer.on(
                      "message",
                      function (e) {
                        var n;
                        re(this, t),
                          "videoStart" == e.type ||
                            ("videoEnd" == e.type
                              ? this.trigger(f.X2.sy_bcEnd)
                              : "wsMessage" == e.type &&
                                "answer" ==
                                  (null == e ||
                                  null === (n = e.data) ||
                                  void 0 === n
                                    ? void 0
                                    : n.type) &&
                                this.trigger(f.X2.sy_explain, e));
                      }.bind(this)
                    );
                  },
                },
                {
                  key: "onAudioPlayerMessage",
                  value: function () {
                    var t = this;
                    (this.audioPlayer.onPlay = function () {
                      re(this, t);
                    }.bind(this)),
                      (this.audioPlayer.onStop = function () {
                        re(this, t), this.trigger(f.X2.sy_bcEnd);
                      }.bind(this));
                  },
                },
                {
                  key: "connectWebSocket",
                  value: function (t) {
                    var e = Jt(
                      this.sdkInfo.wsUrl,
                      this.sdkInfo.apiKey,
                      this.sdkInfo.apiSecret
                    );
                    if ("WebSocket" in window)
                      this.websocket = new WebSocket(e);
                    else {
                      if (!("MozWebSocket" in window))
                        return void alert("浏览器不支持WebSocket");
                      this.websocket = new MozWebSocket(e);
                    }
                    this.onTTSMessage(t);
                  },
                },
                {
                  key: "buildSendContent",
                  value: function (t) {
                    var e = {
                      common: { app_id: this.sdkInfo.appid },
                      business: ne({}, this.sdkInfo.setting),
                      data: {
                        status: 2,
                        text: Qt(t, this.sdkInfo.setting.tte),
                      },
                    };
                    return JSON.stringify(e);
                  },
                },
                {
                  key: "onTTSMessage",
                  value: function (t) {
                    var e = this;
                    if (this.websocket) {
                      if (
                        ((this.currentText = t),
                        this.websocket.readyState === WebSocket.OPEN)
                      ) {
                        var n = this.buildSendContent(t);
                        this.websocket.send(n);
                      } else
                        this.websocket.onopen = function (t) {
                          re(this, e),
                            this.audioPlayer.start({
                              autoPlay: !0,
                              sampleRate: 16e3,
                              resumePlayDuration: 1e3,
                            });
                          var n = this.buildSendContent(this.currentText);
                          this.websocket.send(n);
                        }.bind(this);
                      (this.websocket.onmessage = function (t) {
                        re(this, e);
                        var n = JSON.parse(t.data);
                        0 === n.code
                          ? (this.audioPlayer.postMessage({
                              type: "base64",
                              data: n.data.audio,
                              isLastData: 2 === n.data.status,
                            }),
                            0 === n.code &&
                              2 === n.data.status &&
                              this.websocket.close())
                          : console.error(n);
                      }.bind(this)),
                        (this.websocket.onerror = function (t) {
                          re(this, e), console.error(t);
                        }.bind(this)),
                        (this.websocket.onclose = function (t) {
                          re(this, e);
                        }.bind(this));
                    }
                  },
                },
              ]),
              e && ie(t.prototype, e),
              n && ie(t, n),
              Object.defineProperty(t, "prototype", { writable: !1 }),
              t
            );
            var t, e, n;
          })(),
          le = new ce();
        null !== (Zt = n.g) && void 0 !== Zt && Zt.SF && (SF.voiceSDK = le);
        const ue = le;
        function fe(t, e) {
          if (t !== e)
            throw new TypeError("Cannot instantiate an arrow function");
        }
        var de = !0;
        function he(t) {
          var e,
            n = this,
            i = ((e = r.AK.get()), wt(r.sI.get()[e], 1)[0].content || ""),
            o = (null == t || t.length, ""),
            a = function (e) {
              var a = this;
              fe(this, n);
              var s = e.data,
                c = e.type;
              if (t && t.length && "wsMessage" === c && "answer" === s.type) {
                var l = s.content;
                de &&
                  (console.timeEnd("start"),
                  console.log("start开始播报"),
                  (de = !1)),
                  (function (t, e) {
                    var n = r.AK.get(),
                      i = wt(r.sI.get()[n], 1)[0];
                    (i.content = t + (e || "")), r.sI.setKey(n, [Vt({}, i)]);
                  })(i, l),
                  (o += l);
                var u = t.find(
                  function (t) {
                    return fe(this, a), t.startIndex === o.length;
                  }.bind(this)
                );
                u && Tt(u.cfg);
              }
            }.bind(this);
          ue.on(f.X2.sy_explain, a),
            ue.on(
              f.X2.sy_bcEnd,
              function () {
                fe(this, n), ue.off(f.X2.sy_explain);
              }.bind(this)
            );
        }
        function pe(t) {
          return (
            (function (t) {
              if (Array.isArray(t)) return me(t);
            })(t) ||
            (function (t) {
              if (
                ("undefined" != typeof Symbol && null != t[Symbol.iterator]) ||
                null != t["@@iterator"]
              )
                return Array.from(t);
            })(t) ||
            (function (t, e) {
              if (t) {
                if ("string" == typeof t) return me(t, e);
                var n = {}.toString.call(t).slice(8, -1);
                return (
                  "Object" === n && t.constructor && (n = t.constructor.name),
                  "Map" === n || "Set" === n
                    ? Array.from(t)
                    : "Arguments" === n ||
                      /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)
                    ? me(t, e)
                    : void 0
                );
              }
            })(t) ||
            (function () {
              throw new TypeError(
                "Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."
              );
            })()
          );
        }
        function me(t, e) {
          (null == e || e > t.length) && (e = t.length);
          for (var n = 0, r = Array(e); n < e; n++) r[n] = t[n];
          return r;
        }
        function ve(t, e) {
          if (t !== e)
            throw new TypeError("Cannot instantiate an arrow function");
        }
        var ge,
          ye,
          be = function () {
            ve(this, undefined);
          }.bind(void 0);
        async function Ve(t) {
          var e,
            n,
            i,
            a,
            s = this,
            c = (0, p.A)(t.slotParams, "primary-key"),
            l = (0, k.ph)(),
            u = (0, I.Vs)(),
            d = (0, I.nx)(),
            h =
              null !==
                (e =
                  null == l || null === (n = l.config) || void 0 === n
                    ? void 0
                    : n.broadcastGroupList) && void 0 !== e
                ? e
                : [],
            m =
              null !==
                (i =
                  null == u || null === (a = u.config) || void 0 === a
                    ? void 0
                    : a.broadcastGroupList) && void 0 !== i
                ? i
                : [],
            v = u.config.comBroadcastList,
            g = void 0 === v ? [] : v,
            y = d.filter(
              function (t) {
                var e;
                return (
                  ve(this, s),
                  t.card &&
                    (null === (e = t.getBasicConfig()) || void 0 === e
                      ? void 0
                      : e.display)
                );
              }.bind(this)
            ),
            b = o.A.flatten(
              y.map(
                function (t) {
                  return (
                    ve(this, s),
                    o.A.get(t, "card.cardCfg.config.broadcastGroupList", [])
                  );
                }.bind(this)
              )
            ),
            V = o.A.flatten(
              y.map(
                function (t) {
                  return (
                    ve(this, s),
                    o.A.get(t, "card.cardCfg.config.comBroadcastList", [])
                  );
                }.bind(this)
              )
            ),
            _ = []
              .concat(
                pe(
                  [].concat(pe(g), pe(V)).map(
                    function (t) {
                      return (
                        ve(this, s),
                        {
                          config: {
                            tag: t.tag,
                            timeLineList: [{ type: "TEXT", text: t.content }],
                          },
                        }
                      );
                    }.bind(this)
                  )
                ),
                pe(b),
                pe(m),
                pe(h)
              )
              .find(
                function (t) {
                  return ve(this, s), c == t.id;
                }.bind(this)
              );
          if ((console.log(l, u), !_))
            return Promise.resolve({ content: "无播报内容" });
          be(), r.AK.set(0);
          var S = r.AK.get();
          r.sI.setKey(S, [
            { id: S, sort: 0, type: f.Go.STARTER, status: "", content: "" },
          ]);
          var E = await vt(o.A.cloneDeep(_.config.timeLineList));
          return (
            (be = await (async function (t) {
              var e = this,
                n = 0,
                i = !1,
                o = null,
                a = null;
              return (
                (de = !0),
                r.YE.setKey(f.X2.sy_explain, !0),
                ue.websocket &&
                  ue.websocket.readyState !== WebSocket.CLOSED &&
                  ue.websocket.close(),
                ue.audioPlayer && ue.audioPlayer.reset(),
                (ue.interrupt = !1),
                (async function e() {
                  var r = this;
                  if (!(n >= t.length || i || ue.interrupt)) {
                    var s = t[n];
                    switch ((n++, s.type)) {
                      case "TEXT":
                        w.A.isSupportBroadcastText
                          ? he(s.keywords)
                          : (o = At(s.text)),
                          ue.textToSpeech(s.text),
                          ue.on(
                            f.X2.sy_bcEnd,
                            function () {
                              fe(this, r), e();
                            }.bind(this)
                          );
                        break;
                      case "ACTION":
                        var c = s.cfg,
                          l = c.waitTime,
                          u = void 0 === l ? 0 : l;
                        c.delayTime,
                          await Tt(s.cfg),
                          (a = setTimeout(
                            function () {
                              fe(this, r), e();
                            }.bind(this),
                            1e3 * u || 0
                          ));
                        break;
                      default:
                        console.error("未知的播报类型:", s.type), e();
                    }
                  }
                })(),
                function () {
                  fe(this, e),
                    clearInterval(o),
                    clearTimeout(a),
                    (i = !0),
                    (de = !0);
                }.bind(this)
              );
            })(E)),
            Promise.resolve({ content: "" })
          );
        }
        function _e(t) {
          return ue.breakSpeech(), Promise.resolve({ content: "" });
        }
        function we(t, e) {
          if (t !== e)
            throw new TypeError("Cannot instantiate an arrow function");
        }
        var Se = [
            {
              action: f.X2.sy_show,
              handler: function (t) {
                return (
                  ue.showPerson(),
                  Promise.resolve({ content: u.get("aiModule.i18n_43") })
                );
              },
              preCondition: [],
            },
            {
              action: f.X2.sy_hide,
              handler: function (t) {
                return ue.hidePerson(), Promise.resolve({ content: "" });
              },
              preCondition: [],
            },
            { action: f.X2.sy_explain, handler: Ve, preCondition: [] },
            {
              action: f.X2.sy_wakeup,
              handler: function (t) {
                return Promise.resolve({ content: "" });
              },
              preCondition: [],
            },
            { action: f.X2.sy_pause, handler: _e, preCondition: [] },
            {
              action: f.X2.sy_autoExplain,
              handler: function (t) {
                var e = this;
                r.YE.setKey(f.X2.sy_autoExplain, !1);
                var n = (0, p.A)(t.slotParams, "primary"),
                  i = [];
                n.forEach(
                  function (t) {
                    we(this, e),
                      i.push({
                        action: f.X2.sy_explain,
                        slotParams: [
                          { type: "exec-obj-type", feature: "primary" },
                          { type: "primary-key", feature: t },
                        ],
                      });
                  }.bind(this)
                );
                var o = 0;
                function a() {
                  var e = this;
                  if (o >= i.length)
                    return (
                      r.YE.setKey(f.X2.sy_autoExplain, !1),
                      void ue.off(t.action)
                    );
                  Ie.batchExecute([i[o]])
                    .then(
                      function (t) {
                        we(this, e);
                      }.bind(this)
                    )
                    .catch(
                      function (t) {
                        we(this, e), console.error(t);
                      }.bind(this)
                    )
                    .finally(
                      function () {
                        we(this, e), r.YE.setKey(f.X2.sy_autoExplain, !0);
                      }.bind(this)
                    ),
                    o++;
                }
                return a(), ue.on(f.X2.sy_autoExplain, a), Promise.resolve(!0);
              },
              preCondition: [],
            },
            { action: f.X2.Start, handler: N.A, preCondition: [] },
            {
              action: f.X2.Exit,
              handler: function (t) {
                return (
                  r.Yc.setKey("dialogStatus", f.dL.MIN),
                  r.Yc.setKey("isEditing", !1),
                  (0, d.eS)(),
                  r.i1.set(!1),
                  r.bS.set(!1),
                  r.Bi.set(f.NZ.Voice),
                  w.A.stopTransfer(),
                  Promise.resolve({ content: u.get("aiModule.i18n_23") })
                );
              },
              preCondition: [],
            },
            { action: f.X2.ModeSwitch, handler: S.A, preCondition: [] },
            { action: f.X2.DialogSwitch, handler: V.A, preCondition: [] },
            { action: f.X2.Error, handler: _, preCondition: [] },
            { action: f.X2.None, handler: _, preCondition: [] },
            {
              action: f.X2.Query,
              handler: function (t) {
                var e,
                  n = this,
                  i = t.slotParams,
                  a =
                    null !== (e = (0, p.A)(i, "name-key")) && void 0 !== e
                      ? e
                      : [],
                  s = o.A.uniq(a);
                return O({ idList: s, keywords: "" }).then(
                  function (t) {
                    var e = this;
                    if ((x(this, n), !t || 0 === t.length))
                      return (
                        r.Yc.setKey("cardList", []),
                        r.Yc.setKey("currentCard", null),
                        r.bS.set(!1),
                        { content: u.get("aiModule.i18n_31") }
                      );
                    var i = t
                      .sort(
                        function (t, n) {
                          return x(this, e), s.indexOf(t.id) - s.indexOf(n.id);
                        }.bind(this)
                      )
                      .map(
                        function (t, n) {
                          return (
                            x(this, e),
                            {
                              defaultSelect: 0 === n,
                              src: t.iconUrl
                                ? (0, E.E)(
                                    "/ux/static/customer/runner/card/"
                                      .concat(t.id, "/")
                                      .concat(t.iconUrl)
                                  )
                                : P,
                              id: t.id,
                              viewId: (0, C.A)(),
                              desc: t.cardDesc,
                              name: t.name,
                              resolution: t.resolution,
                            }
                          );
                        }.bind(this)
                      );
                    return (
                      r.Yc.setKey("cardList", i),
                      r.Yc.setKey(
                        "currentCard",
                        i.find(
                          function (t) {
                            return x(this, e), t.defaultSelect;
                          }.bind(this)
                        )
                      ),
                      r.Yc.get().dialogStatus !== f.dL.MAX &&
                        setTimeout(
                          function () {
                            x(this, e), r.bS.set(!0), r.lP.set(!1);
                          }.bind(this),
                          200
                        ),
                      {
                        list: i,
                        content: u.get("aiModule.i18n_32"),
                        type: f.Go.Card,
                      }
                    );
                  }.bind(this)
                );
              },
              preCondition: [],
            },
            {
              action: f.X2.Change,
              handler: function (t) {
                var e = this,
                  n = t.slotParams,
                  o = (0, p.A)(n, "location");
                if (!o) return Promise.resolve({ content: (0, i.A)() });
                var a = o[0],
                  s = r.Yc.get(),
                  c = s.cardList,
                  l = s.currentCard;
                if (0 === c.length && !l)
                  return Promise.resolve({
                    content: u.get("aiModule.i18n_16"),
                  });
                var d = c.findIndex(
                  function (t) {
                    return b(this, e), t === l;
                  }.bind(this)
                );
                if (
                  (-1 === a && (a = ((d + 1) % c.length) + 1),
                  -2 === a && (a = d - 1 < 0 ? c.length : d),
                  !a || a > c.length)
                )
                  return Promise.resolve({
                    content: u.get("aiModule.i18n_42"),
                  });
                var m = c.map(
                  function (t, n) {
                    return (
                      b(this, e),
                      g(
                        g({}, t),
                        {},
                        { viewId: (0, h.yk)(), defaultSelect: n + 1 === a }
                      )
                    );
                  }.bind(this)
                );
                return (
                  r.Yc.setKey("cardList", m),
                  r.Yc.setKey(
                    "currentCard",
                    m.find(
                      function (t) {
                        return b(this, e), t.defaultSelect;
                      }.bind(this)
                    )
                  ),
                  Promise.resolve({
                    content: ""
                      .concat(u.get("aiModule.i18n_17"), "，")
                      .concat(u.get("aiModule.i18n_18"))
                      .concat(a)
                      .concat(u.get("aiModule.i18n_19")),
                    list: m,
                    type: f.Go.Card,
                  })
                );
              },
              preCondition: [
                {
                  field: "cardList.length",
                  op: ">",
                  value: 0,
                  errMsg: u.get("aiModule.i18n_9"),
                },
              ],
            },
            {
              action: f.X2.Adjust,
              handler: function (t) {
                return r.Yc.get().isEditing
                  ? Promise.resolve({ content: u.get("aiModule.i18n_14") })
                  : (r.Yc.setKey("isEditing", !0),
                    (0, d.H4)(),
                    Promise.resolve({ content: u.get("aiModule.i18n_15") }));
              },
              preCondition: [],
            },
            {
              action: f.X2.Replace,
              handler: async function (t) {
                var e,
                  n = (0, p.A)(t.slotParams, "location");
                if (!n) return Promise.resolve({ content: (0, i.A)() });
                var o =
                  null === (e = r.Yc.get().currentCard) || void 0 === e
                    ? void 0
                    : e.id;
                if (!o)
                  return Promise.resolve({
                    content: u.get("aiModule.i18n_16"),
                  });
                var a = await (async function (t, e) {
                  if (0 === (0, d.Xq)().length)
                    return u.get("aiModule.i18n_41");
                  var n = (0, d.YJ)(e);
                  return n
                    ? (n.type === d.bU.CardLayout
                        ? await n.instance.switchCardView(M({}, n.id, t))
                        : await n.instance.switchCardView({ cardId: t }),
                      "")
                    : u.get("aiModule.i18n_40");
                })(o, n[0]);
                if (a) return Promise.resolve({ content: a });
                if ((0, D.fx)()) {
                  var s = (0, I.Vs)();
                  s.id, s.projectId, s.config;
                }
                return Promise.resolve({ content: u.get("aiModule.i18n_35") });
              },
              preCondition: [
                {
                  field: "cardList.length",
                  op: ">",
                  value: 0,
                  errMsg: u.get("aiModule.i18n_10"),
                },
                {
                  field: "isEditing",
                  op: "===",
                  value: !0,
                  errMsg: u.get("aiModule.i18n_11"),
                },
              ],
            },
            {
              action: f.X2.CreateChart,
              preCondition: [],
              handler: async function (t) {
                var e = {
                  type: (0, p.A)(t.slotParams, "chart-type"),
                  data: (0, p.A)(t.slotParams, "chart-data"),
                  summary: (0, p.A)(t.slotParams, "chart-summary"),
                  title: (0, p.A)(t.slotParams, "chart-title"),
                };
                return (
                  r.Yc.get().dialogStatus !== f.dL.MAX &&
                    (r.pC.set(e), r.lP.set(!0), r.bS.set(!1)),
                  Promise.resolve({ content: "", type: f.Go.Chart, data: e })
                );
              },
            },
            {
              action: f.X2.Redirect,
              handler: async function (t) {
                var e,
                  n = this,
                  o = (0, p.A)(t.slotParams, "name-key");
                if (!o) return Promise.resolve({ content: (0, i.A)() });
                var a = null !== (e = o[0]) && void 0 !== e ? e : "",
                  s = await (async function (t) {
                    var e,
                      n = this,
                      r = (0, k.ph)(),
                      i = (0, I.Vs)(),
                      o =
                        null ===
                          (e = r.children.find(
                            function (e) {
                              return (
                                R(this, n), new RegExp(t, "i").test(e.name)
                              );
                            }.bind(this)
                          )) || void 0 === e
                          ? void 0
                          : e.id;
                    if (!o)
                      return { success: !1, errMsg: u.get("aiModule.i18n_33") };
                    if (o === i.id)
                      return { success: !1, errMsg: u.get("aiModule.i18n_14") };
                    var a = await (0, j.D)({ pageId: o, projectId: r.id });
                    return (
                      SF.lib.__history.push(
                        a.replace(window.origin, "").replace(A.Ay.PREFIX, "")
                      ),
                      { success: !0 }
                    );
                  })(a);
                return s.success
                  ? (setTimeout(
                      function () {
                        R(this, n);
                        var t = (0, I.Vs)();
                        w.A.report({ projectId: t.projectId, pageId: t.id });
                      }.bind(this),
                      1e3
                    ),
                    r.Yc.setKey("isEditing", !1),
                    { content: "".concat(u.get("aiModule.i18n_34")).concat(a) })
                  : { content: s.errMsg };
              },
              preCondition: [],
            },
            {
              action: f.X2.TopicSwitch,
              handler: function (t) {
                var e,
                  n,
                  a = this,
                  s = (0, p.A)(t.slotParams, "name-key");
                if (!s) return Promise.resolve({ content: (0, i.A)() });
                for (
                  var c =
                      null !==
                        (e = null !== (n = s[0]) && void 0 !== n ? n : s) &&
                      void 0 !== e
                        ? e
                        : "",
                    l = (0, I.nx)(),
                    f = !1,
                    d = 0;
                  d < l.length;
                  d++
                ) {
                  var h = l[d];
                  if (o.A.get(h, "config.basicConfig.tagName") === c) {
                    h.dispatchDomEvent("click"), (f = !0);
                    break;
                  }
                }
                return (
                  setTimeout(
                    function () {
                      !(function (t, e) {
                        if (t !== e)
                          throw new TypeError(
                            "Cannot instantiate an arrow function"
                          );
                      })(this, a);
                      var t = (0, I.Vs)();
                      (r.Yc.get().pageId === t.id &&
                        r.Yc.get().projectId === t.projectId) ||
                        (w.A.report({ projectId: t.projectId, pageId: t.id }),
                        r.Yc.setKey("isEditing", !1));
                    }.bind(this),
                    2e3
                  ),
                  Promise.resolve({
                    content: f
                      ? "".concat(u.get("aiModule.i18n_34")).concat(c)
                      : (0, i.A)(),
                  })
                );
              },
              preCondition: [],
            },
            {
              action: f.X2.Explain,
              handler: async function (t) {
                var e,
                  n = this,
                  r = (0, p.A)(t.slotParams, "name-desc"),
                  i =
                    null !== (e = null == r ? void 0 : r[0]) && void 0 !== e
                      ? e
                      : "",
                  a = (0, k.ph)(),
                  s = (0, I.Vs)(),
                  c = (0, I.nx)(),
                  l = a.config.broadcastGroupList,
                  u = s.config.broadcastGroupList,
                  f = s.config.comBroadcastList,
                  d = void 0 === f ? [] : f,
                  h = c.filter(
                    function (t) {
                      var e;
                      return (
                        st(this, n),
                        t.card &&
                          (null === (e = t.getBasicConfig()) || void 0 === e
                            ? void 0
                            : e.display)
                      );
                    }.bind(this)
                  ),
                  m = o.A.flatten(
                    h.map(
                      function (t) {
                        return (
                          st(this, n),
                          o.A.get(
                            t,
                            "card.cardCfg.config.broadcastGroupList",
                            []
                          )
                        );
                      }.bind(this)
                    )
                  ),
                  v = o.A.flatten(
                    h.map(
                      function (t) {
                        return (
                          st(this, n),
                          o.A.get(t, "card.cardCfg.config.comBroadcastList", [])
                        );
                      }.bind(this)
                    )
                  ),
                  g = [].concat(
                    ot(
                      [].concat(ot(d), ot(v)).map(
                        function (t) {
                          return (
                            st(this, n),
                            {
                              config: {
                                tag: t.tag,
                                timeLineList: [
                                  { type: "TEXT", text: t.content },
                                ],
                              },
                            }
                          );
                        }.bind(this)
                      )
                    ),
                    ot(m),
                    ot(u),
                    ot(l)
                  );
                console.log(g);
                var y = g.find(
                  function (t) {
                    return st(this, n), t.config.tag === i;
                  }.bind(this)
                );
                return (
                  console.log(a, s),
                  y
                    ? (ct(),
                      (ct = await (async function (t) {
                        var e = this,
                          n = 0,
                          r = !1,
                          i = null,
                          o = null;
                        return (
                          (rt = !0),
                          (async function e() {
                            if (!(n >= t.length || r)) {
                              var a = t[n];
                              switch ((n++, a.type)) {
                                case "TEXT":
                                  w.A.isSupportBroadcastText
                                    ? it(a.keywords)
                                    : (i = Q(a.text)),
                                    rt &&
                                      console.timeLog(
                                        "start",
                                        "向数字人发送播报内容"
                                      ),
                                    await w.A.tts(a.text),
                                    e();
                                  break;
                                case "ACTION":
                                  var s = a.cfg.waitTime;
                                  await et(a.cfg),
                                    (o = setTimeout(e, 1e3 * s || 0));
                                  break;
                                default:
                                  console.error("未知的播报类型:", a.type), e();
                              }
                            }
                          })(),
                          function () {
                            nt(this, e),
                              clearInterval(i),
                              clearTimeout(o),
                              (r = !0),
                              (rt = !0);
                          }.bind(this)
                        );
                      })(
                        (function (t) {
                          var e = this;
                          return o.A.reduce(
                            t,
                            function (t, n) {
                              var r = this;
                              if ((W(this, e), "TEXT" === n.type)) {
                                var i = o.A.last(t);
                                i && "TEXT" === i.type
                                  ? ((i.keywords = [].concat(
                                      H(i.keywords || []),
                                      H(
                                        (n.keywords || []).map(
                                          function (t) {
                                            return (
                                              W(this, r),
                                              U(
                                                U({}, t),
                                                {},
                                                {
                                                  startIndex:
                                                    t.startIndex +
                                                    i.text.length,
                                                }
                                              )
                                            );
                                          }.bind(this)
                                        )
                                      )
                                    )),
                                    (i.text = i.text + n.text))
                                  : t.push(n);
                              }
                              if ("DYNAMIC" === n.type) {
                                var a = o.A.last(t);
                                a && "TEXT" === a.type
                                  ? (a.text = a.text + (n.cfg.defaultVal || ""))
                                  : t.push(n);
                              }
                              return "ACTION" === n.type && t.push(n), t;
                            }.bind(this),
                            []
                          );
                        })(o.A.cloneDeep(y.config.timeLineList))
                      )),
                      Promise.resolve({ content: "" }))
                    : Promise.resolve({ content: "无播报内容" })
                );
              },
              preCondition: [],
            },
            {
              action: f.X2.Close,
              handler: function () {
                r.bS.get() &&
                  Promise.resolve({ content: u.get("aiModule.i18n_14") });
                var t = r.Yc.get();
                return 0 !== t.cardList.length ||
                  t.currentCard ||
                  t.commands.includes("createChart")
                  ? (r.bS.set(!1),
                    r.lP.set(!1),
                    Promise.resolve({ content: u.get("aiModule.i18n_21") }))
                  : Promise.resolve({ content: u.get("aiModule.i18n_13") });
              },
              preCondition: [
                {
                  field: "dialogStatus",
                  op: "!==",
                  value: f.dL.MAX,
                  errMsg: u.get("aiModule.i18n_12"),
                },
              ],
            },
          ],
          Ee = { explain: Ve, pause: _e };
        function Ae(t) {
          return (
            (Ae =
              "function" == typeof Symbol && "symbol" == typeof Symbol.iterator
                ? function (t) {
                    return typeof t;
                  }
                : function (t) {
                    return t &&
                      "function" == typeof Symbol &&
                      t.constructor === Symbol &&
                      t !== Symbol.prototype
                      ? "symbol"
                      : typeof t;
                  }),
            Ae(t)
          );
        }
        function Te(t) {
          return (
            (function (t) {
              if (Array.isArray(t)) return Oe(t);
            })(t) ||
            (function (t) {
              if (
                ("undefined" != typeof Symbol && null != t[Symbol.iterator]) ||
                null != t["@@iterator"]
              )
                return Array.from(t);
            })(t) ||
            (function (t, e) {
              if (t) {
                if ("string" == typeof t) return Oe(t, e);
                var n = {}.toString.call(t).slice(8, -1);
                return (
                  "Object" === n && t.constructor && (n = t.constructor.name),
                  "Map" === n || "Set" === n
                    ? Array.from(t)
                    : "Arguments" === n ||
                      /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)
                    ? Oe(t, e)
                    : void 0
                );
              }
            })(t) ||
            (function () {
              throw new TypeError(
                "Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."
              );
            })()
          );
        }
        function Oe(t, e) {
          (null == e || e > t.length) && (e = t.length);
          for (var n = 0, r = Array(e); n < e; n++) r[n] = t[n];
          return r;
        }
        function Ce(t, e) {
          if (t !== e)
            throw new TypeError("Cannot instantiate an arrow function");
        }
        function Pe(t, e) {
          for (var n = 0; n < e.length; n++) {
            var r = e[n];
            (r.enumerable = r.enumerable || !1),
              (r.configurable = !0),
              "value" in r && (r.writable = !0),
              Object.defineProperty(t, xe(r.key), r);
          }
        }
        function xe(t) {
          var e = (function (t, e) {
            if ("object" != Ae(t) || !t) return t;
            var n = t[Symbol.toPrimitive];
            if (void 0 !== n) {
              var r = n.call(t, e || "default");
              if ("object" != Ae(r)) return r;
              throw new TypeError(
                "@@toPrimitive must return a primitive value."
              );
            }
            return ("string" === e ? String : Number)(t);
          })(t, "string");
          return "symbol" == Ae(e) ? e : e + "";
        }
        (null !== (ge = n.g) &&
          void 0 !== ge &&
          null !== (ge = ge.process) &&
          void 0 !== ge &&
          null !== (ge = ge.env) &&
          void 0 !== ge &&
          ge.UXCARDSDKCOREFILENAME) ||
          null === (ye = n.g) ||
          void 0 === ye ||
          !ye.SF ||
          (SF.digital = Ee);
        var ke = (function () {
          return (
            (t = function t() {
              var e, n, r;
              !(function (t, e) {
                if (!(t instanceof e))
                  throw new TypeError("Cannot call a class as a function");
              })(this, t),
                (e = this),
                (r = Se),
                (n = xe((n = "_commands"))) in e
                  ? Object.defineProperty(e, n, {
                      value: r,
                      enumerable: !0,
                      configurable: !0,
                      writable: !0,
                    })
                  : (e[n] = r);
            }),
            (e = [
              {
                key: "execute",
                value: function (t) {
                  var e = this,
                    n = t.action,
                    o = t.slotParams,
                    a = this._commands.find(
                      function (t) {
                        var r,
                          i = this;
                        return (
                          Ce(this, e),
                          t.executionObjType && o
                            ? t.action === n &&
                              t.executionObjType ===
                                (null ===
                                  (r = o.find(
                                    function (t) {
                                      return (
                                        Ce(this, i), "exec-obj-type" === t.type
                                      );
                                    }.bind(this)
                                  )) || void 0 === r
                                  ? void 0
                                  : r.feature)
                            : t.action === n
                        );
                      }.bind(this)
                    );
                  if (!a) return Promise.resolve({ content: (0, i.A)() });
                  for (var s = a.preCondition, c = 0; c < s.length; c++) {
                    var u = s[c];
                    if (!l(u)) return Promise.resolve({ content: u.errMsg });
                  }
                  return (
                    r.Yc.setKey(
                      "commands",
                      [].concat(Te(r.Yc.get().commands), [n])
                    ),
                    a.handler(t)
                  );
                },
              },
              {
                key: "batchExecute",
                value: function (t) {
                  var e = this;
                  return Promise.all(
                    t.map(
                      function (t) {
                        return Ce(this, e), this.execute(t);
                      }.bind(this)
                    )
                  );
                },
              },
              {
                key: "register",
                value: function (t) {
                  this._commands.push(t);
                },
              },
              {
                key: "remove",
                value: function (t, e) {
                  var n = this;
                  this._commands = this._commands.filter(
                    function (r) {
                      return (
                        Ce(this, n),
                        e
                          ? r.action !== t && r.executionObjType !== e
                          : r.action !== t
                      );
                    }.bind(this)
                  );
                },
              },
            ]),
            e && Pe(t.prototype, e),
            n && Pe(t, n),
            Object.defineProperty(t, "prototype", { writable: !1 }),
            t
          );
          var t, e, n;
        })();
        const Ie = new ke();
      },
      81717: (t, e, n) => {
        "use strict";
        n.d(e, { $: () => r });
        var r = (function (t) {
          return (t.none = "none"), (t.dealZero = "=0"), (t.dealLine = "=-"), t;
        })({});
      },
      82406: function (t, e, n) {
        t.exports = (function (t) {
          "use strict";
          function e(t) {
            return t && "object" == typeof t && "default" in t
              ? t
              : { default: t };
          }
          var r = e(t),
            i =
              "undefined" != typeof globalThis
                ? globalThis
                : "undefined" != typeof window
                ? window
                : void 0 !== n.g
                ? n.g
                : "undefined" != typeof self
                ? self
                : {};
          function o(t, e, n) {
            return (
              t(
                (n = {
                  path: e,
                  exports: {},
                  require: function (t, e) {
                    return a(t, null == e ? n.path : e);
                  },
                }),
                n.exports
              ),
              n.exports
            );
          }
          function a() {
            throw new Error(
              "Dynamic requires are not currently supported by @rollup/plugin-commonjs"
            );
          }
          var s = o(function (t, e) {
              !(function (e, n) {
                t.exports = n();
              })(0, function () {
                var t =
                  t ||
                  (function (t, e) {
                    var n;
                    if (
                      ("undefined" != typeof window &&
                        window.crypto &&
                        (n = window.crypto),
                      "undefined" != typeof self &&
                        self.crypto &&
                        (n = self.crypto),
                      "undefined" != typeof globalThis &&
                        globalThis.crypto &&
                        (n = globalThis.crypto),
                      !n &&
                        "undefined" != typeof window &&
                        window.msCrypto &&
                        (n = window.msCrypto),
                      !n && void 0 !== i && i.crypto && (n = i.crypto),
                      !n && "function" == typeof a)
                    )
                      try {
                        n = r.default;
                      } catch (t) {}
                    var o,
                      s = function () {
                        if (n) {
                          if ("function" == typeof n.getRandomValues)
                            try {
                              return n.getRandomValues(new Uint32Array(1))[0];
                            } catch (t) {}
                          if ("function" == typeof n.randomBytes)
                            try {
                              return n.randomBytes(4).readInt32LE();
                            } catch (t) {}
                        }
                        throw new Error(
                          "Native crypto module could not be used to get secure random number."
                        );
                      },
                      c =
                        Object.create ||
                        ((o = function () {}),
                        function (t) {
                          var e;
                          return (
                            (o.prototype = t),
                            (e = new o()),
                            (o.prototype = null),
                            e
                          );
                        }),
                      l = {},
                      u = (l.lib = {}),
                      f = (u.Base = {
                        extend: function (t) {
                          var e = c(this);
                          return (
                            t && e.mixIn(t),
                            (e.hasOwnProperty("init") &&
                              this.init !== e.init) ||
                              (e.init = function () {
                                e.$super.init.apply(this, arguments);
                              }),
                            (e.init.prototype = e),
                            (e.$super = this),
                            e
                          );
                        },
                        create: function () {
                          var t = this.extend();
                          return t.init.apply(t, arguments), t;
                        },
                        init: function () {},
                        mixIn: function (t) {
                          for (var e in t)
                            t.hasOwnProperty(e) && (this[e] = t[e]);
                          t.hasOwnProperty("toString") &&
                            (this.toString = t.toString);
                        },
                        clone: function () {
                          return this.init.prototype.extend(this);
                        },
                      }),
                      d = (u.WordArray = f.extend({
                        init: function (t, n) {
                          (t = this.words = t || []),
                            (this.sigBytes = n != e ? n : 4 * t.length);
                        },
                        toString: function (t) {
                          return (t || p).stringify(this);
                        },
                        concat: function (t) {
                          var e = this.words,
                            n = t.words,
                            r = this.sigBytes,
                            i = t.sigBytes;
                          if ((this.clamp(), r % 4))
                            for (var o = 0; o < i; o++) {
                              var a = (n[o >>> 2] >>> (24 - (o % 4) * 8)) & 255;
                              e[(r + o) >>> 2] |= a << (24 - ((r + o) % 4) * 8);
                            }
                          else
                            for (var s = 0; s < i; s += 4)
                              e[(r + s) >>> 2] = n[s >>> 2];
                          return (this.sigBytes += i), this;
                        },
                        clamp: function () {
                          var e = this.words,
                            n = this.sigBytes;
                          (e[n >>> 2] &= 4294967295 << (32 - (n % 4) * 8)),
                            (e.length = t.ceil(n / 4));
                        },
                        clone: function () {
                          var t = f.clone.call(this);
                          return (t.words = this.words.slice(0)), t;
                        },
                        random: function (t) {
                          for (var e = [], n = 0; n < t; n += 4) e.push(s());
                          return new d.init(e, t);
                        },
                      })),
                      h = (l.enc = {}),
                      p = (h.Hex = {
                        stringify: function (t) {
                          for (
                            var e = t.words, n = t.sigBytes, r = [], i = 0;
                            i < n;
                            i++
                          ) {
                            var o = (e[i >>> 2] >>> (24 - (i % 4) * 8)) & 255;
                            r.push((o >>> 4).toString(16)),
                              r.push((15 & o).toString(16));
                          }
                          return r.join("");
                        },
                        parse: function (t) {
                          for (var e = t.length, n = [], r = 0; r < e; r += 2)
                            n[r >>> 3] |=
                              parseInt(t.substr(r, 2), 16) <<
                              (24 - (r % 8) * 4);
                          return new d.init(n, e / 2);
                        },
                      }),
                      m = (h.Latin1 = {
                        stringify: function (t) {
                          for (
                            var e = t.words, n = t.sigBytes, r = [], i = 0;
                            i < n;
                            i++
                          ) {
                            var o = (e[i >>> 2] >>> (24 - (i % 4) * 8)) & 255;
                            r.push(String.fromCharCode(o));
                          }
                          return r.join("");
                        },
                        parse: function (t) {
                          for (var e = t.length, n = [], r = 0; r < e; r++)
                            n[r >>> 2] |=
                              (255 & t.charCodeAt(r)) << (24 - (r % 4) * 8);
                          return new d.init(n, e);
                        },
                      }),
                      v = (h.Utf8 = {
                        stringify: function (t) {
                          try {
                            return decodeURIComponent(escape(m.stringify(t)));
                          } catch (t) {
                            throw new Error("Malformed UTF-8 data");
                          }
                        },
                        parse: function (t) {
                          return m.parse(unescape(encodeURIComponent(t)));
                        },
                      }),
                      g = (u.BufferedBlockAlgorithm = f.extend({
                        reset: function () {
                          (this._data = new d.init()), (this._nDataBytes = 0);
                        },
                        _append: function (t) {
                          "string" == typeof t && (t = v.parse(t)),
                            this._data.concat(t),
                            (this._nDataBytes += t.sigBytes);
                        },
                        _process: function (e) {
                          var n,
                            r = this._data,
                            i = r.words,
                            o = r.sigBytes,
                            a = this.blockSize,
                            s = o / (4 * a),
                            c =
                              (s = e
                                ? t.ceil(s)
                                : t.max((0 | s) - this._minBufferSize, 0)) * a,
                            l = t.min(4 * c, o);
                          if (c) {
                            for (var u = 0; u < c; u += a)
                              this._doProcessBlock(i, u);
                            (n = i.splice(0, c)), (r.sigBytes -= l);
                          }
                          return new d.init(n, l);
                        },
                        clone: function () {
                          var t = f.clone.call(this);
                          return (t._data = this._data.clone()), t;
                        },
                        _minBufferSize: 0,
                      }));
                    u.Hasher = g.extend({
                      cfg: f.extend(),
                      init: function (t) {
                        (this.cfg = this.cfg.extend(t)), this.reset();
                      },
                      reset: function () {
                        g.reset.call(this), this._doReset();
                      },
                      update: function (t) {
                        return this._append(t), this._process(), this;
                      },
                      finalize: function (t) {
                        return t && this._append(t), this._doFinalize();
                      },
                      blockSize: 16,
                      _createHelper: function (t) {
                        return function (e, n) {
                          return new t.init(n).finalize(e);
                        };
                      },
                      _createHmacHelper: function (t) {
                        return function (e, n) {
                          return new y.HMAC.init(t, n).finalize(e);
                        };
                      },
                    });
                    var y = (l.algo = {});
                    return l;
                  })(Math);
                return t;
              });
            }),
            c = o(function (t, e) {
              !(function (e, n) {
                t.exports = n(s);
              })(0, function (t) {
                var e, n, r, i, o, a;
                return (
                  (r = (n = t).lib),
                  (i = r.Base),
                  (o = r.WordArray),
                  ((a = n.x64 = {}).Word = i.extend({
                    init: function (t, e) {
                      (this.high = t), (this.low = e);
                    },
                  })),
                  (a.WordArray = i.extend({
                    init: function (t, n) {
                      (t = this.words = t || []),
                        (this.sigBytes = n != e ? n : 8 * t.length);
                    },
                    toX32: function () {
                      for (
                        var t = this.words, e = t.length, n = [], r = 0;
                        r < e;
                        r++
                      ) {
                        var i = t[r];
                        n.push(i.high), n.push(i.low);
                      }
                      return o.create(n, this.sigBytes);
                    },
                    clone: function () {
                      for (
                        var t = i.clone.call(this),
                          e = (t.words = this.words.slice(0)),
                          n = e.length,
                          r = 0;
                        r < n;
                        r++
                      )
                        e[r] = e[r].clone();
                      return t;
                    },
                  })),
                  t
                );
              });
            });
          function l(t, e) {
            return null != e &&
              "undefined" != typeof Symbol &&
              e[Symbol.hasInstance]
              ? !!e[Symbol.hasInstance](t)
              : t instanceof e;
          }
          var u = o(function (t, e) {
              !(function (e, n) {
                t.exports = n(s);
              })(0, function (t) {
                return (
                  (function () {
                    if ("function" == typeof ArrayBuffer) {
                      var e = t.lib.WordArray,
                        n = e.init,
                        r = (e.init = function (t) {
                          if (
                            (l(t, ArrayBuffer) && (t = new Uint8Array(t)),
                            (l(t, Int8Array) ||
                              ("undefined" != typeof Uint8ClampedArray &&
                                l(t, Uint8ClampedArray)) ||
                              l(t, Int16Array) ||
                              l(t, Uint16Array) ||
                              l(t, Int32Array) ||
                              l(t, Uint32Array) ||
                              l(t, Float32Array) ||
                              l(t, Float64Array)) &&
                              (t = new Uint8Array(
                                t.buffer,
                                t.byteOffset,
                                t.byteLength
                              )),
                            l(t, Uint8Array))
                          ) {
                            for (
                              var e = t.byteLength, r = [], i = 0;
                              i < e;
                              i++
                            )
                              r[i >>> 2] |= t[i] << (24 - (i % 4) * 8);
                            n.call(this, r, e);
                          } else n.apply(this, arguments);
                        });
                      r.prototype = e;
                    }
                  })(),
                  t.lib.WordArray
                );
              });
            }),
            f = o(function (t, e) {
              !(function (e, n) {
                t.exports = n(s);
              })(0, function (t) {
                var e, n, r, i;
                return (
                  (e = function (t) {
                    return ((t << 8) & 4278255360) | ((t >>> 8) & 16711935);
                  }),
                  (r = (n = t).lib.WordArray),
                  ((i = n.enc).Utf16 = i.Utf16BE =
                    {
                      stringify: function (t) {
                        for (
                          var e = t.words, n = t.sigBytes, r = [], i = 0;
                          i < n;
                          i += 2
                        ) {
                          var o = (e[i >>> 2] >>> (16 - (i % 4) * 8)) & 65535;
                          r.push(String.fromCharCode(o));
                        }
                        return r.join("");
                      },
                      parse: function (t) {
                        for (var e = t.length, n = [], i = 0; i < e; i++)
                          n[i >>> 1] |= t.charCodeAt(i) << (16 - (i % 2) * 16);
                        return r.create(n, 2 * e);
                      },
                    }),
                  (i.Utf16LE = {
                    stringify: function (t) {
                      for (
                        var n = t.words, r = t.sigBytes, i = [], o = 0;
                        o < r;
                        o += 2
                      ) {
                        var a = e((n[o >>> 2] >>> (16 - (o % 4) * 8)) & 65535);
                        i.push(String.fromCharCode(a));
                      }
                      return i.join("");
                    },
                    parse: function (t) {
                      for (var n = t.length, i = [], o = 0; o < n; o++)
                        i[o >>> 1] |= e(t.charCodeAt(o) << (16 - (o % 2) * 16));
                      return r.create(i, 2 * n);
                    },
                  }),
                  t.enc.Utf16
                );
              });
            }),
            d = o(function (t, e) {
              !(function (e, n) {
                t.exports = n(s);
              })(0, function (t) {
                var e, n, r;
                return (
                  (e = function (t, e, n) {
                    for (var i = [], o = 0, a = 0; a < e; a++)
                      if (a % 4) {
                        var s =
                          (n[t.charCodeAt(a - 1)] << ((a % 4) * 2)) |
                          (n[t.charCodeAt(a)] >>> (6 - (a % 4) * 2));
                        (i[o >>> 2] |= s << (24 - (o % 4) * 8)), o++;
                      }
                    return r.create(i, o);
                  }),
                  (r = (n = t).lib.WordArray),
                  (n.enc.Base64 = {
                    stringify: function (t) {
                      var e = t.words,
                        n = t.sigBytes,
                        r = this._map;
                      t.clamp();
                      for (var i = [], o = 0; o < n; o += 3)
                        for (
                          var a =
                              (((e[o >>> 2] >>> (24 - (o % 4) * 8)) & 255) <<
                                16) |
                              (((e[(o + 1) >>> 2] >>>
                                (24 - ((o + 1) % 4) * 8)) &
                                255) <<
                                8) |
                              ((e[(o + 2) >>> 2] >>> (24 - ((o + 2) % 4) * 8)) &
                                255),
                            s = 0;
                          s < 4 && o + 0.75 * s < n;
                          s++
                        )
                          i.push(r.charAt((a >>> (6 * (3 - s))) & 63));
                      var c = r.charAt(64);
                      if (c) for (; i.length % 4; ) i.push(c);
                      return i.join("");
                    },
                    parse: function (t) {
                      var n = t.length,
                        r = this._map,
                        i = this._reverseMap;
                      if (!i) {
                        i = this._reverseMap = [];
                        for (var o = 0; o < r.length; o++)
                          i[r.charCodeAt(o)] = o;
                      }
                      var a = r.charAt(64);
                      if (a) {
                        var s = t.indexOf(a);
                        -1 !== s && (n = s);
                      }
                      return e(t, n, i);
                    },
                    _map: "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",
                  }),
                  t.enc.Base64
                );
              });
            }),
            h = o(function (t, e) {
              !(function (e, n) {
                t.exports = n(s);
              })(0, function (t) {
                var e, n, r;
                return (
                  (e = function (t, e, n) {
                    for (var i = [], o = 0, a = 0; a < e; a++)
                      if (a % 4) {
                        var s =
                          (n[t.charCodeAt(a - 1)] << ((a % 4) * 2)) |
                          (n[t.charCodeAt(a)] >>> (6 - (a % 4) * 2));
                        (i[o >>> 2] |= s << (24 - (o % 4) * 8)), o++;
                      }
                    return r.create(i, o);
                  }),
                  (r = (n = t).lib.WordArray),
                  (n.enc.Base64url = {
                    stringify: function (t) {
                      var e =
                          !(arguments.length > 1 && void 0 !== arguments[1]) ||
                          arguments[1],
                        n = t.words,
                        r = t.sigBytes,
                        i = e ? this._safe_map : this._map;
                      t.clamp();
                      for (var o = [], a = 0; a < r; a += 3)
                        for (
                          var s =
                              (((n[a >>> 2] >>> (24 - (a % 4) * 8)) & 255) <<
                                16) |
                              (((n[(a + 1) >>> 2] >>>
                                (24 - ((a + 1) % 4) * 8)) &
                                255) <<
                                8) |
                              ((n[(a + 2) >>> 2] >>> (24 - ((a + 2) % 4) * 8)) &
                                255),
                            c = 0;
                          c < 4 && a + 0.75 * c < r;
                          c++
                        )
                          o.push(i.charAt((s >>> (6 * (3 - c))) & 63));
                      var l = i.charAt(64);
                      if (l) for (; o.length % 4; ) o.push(l);
                      return o.join("");
                    },
                    parse: function (t) {
                      var n =
                          !(arguments.length > 1 && void 0 !== arguments[1]) ||
                          arguments[1],
                        r = t.length,
                        i = n ? this._safe_map : this._map,
                        o = this._reverseMap;
                      if (!o) {
                        o = this._reverseMap = [];
                        for (var a = 0; a < i.length; a++)
                          o[i.charCodeAt(a)] = a;
                      }
                      var s = i.charAt(64);
                      if (s) {
                        var c = t.indexOf(s);
                        -1 !== c && (r = c);
                      }
                      return e(t, r, o);
                    },
                    _map: "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",
                    _safe_map:
                      "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_",
                  }),
                  t.enc.Base64url
                );
              });
            }),
            p = o(function (t, e) {
              !(function (e, n) {
                t.exports = n(s);
              })(0, function (t) {
                return (
                  (function (e) {
                    var n = function (t, e, n, r, i, o, a) {
                        var s = t + ((e & n) | (~e & r)) + i + a;
                        return ((s << o) | (s >>> (32 - o))) + e;
                      },
                      r = function (t, e, n, r, i, o, a) {
                        var s = t + ((e & r) | (n & ~r)) + i + a;
                        return ((s << o) | (s >>> (32 - o))) + e;
                      },
                      i = function (t, e, n, r, i, o, a) {
                        var s = t + (e ^ n ^ r) + i + a;
                        return ((s << o) | (s >>> (32 - o))) + e;
                      },
                      o = function (t, e, n, r, i, o, a) {
                        var s = t + (n ^ (e | ~r)) + i + a;
                        return ((s << o) | (s >>> (32 - o))) + e;
                      },
                      a = t,
                      s = a.lib,
                      c = s.WordArray,
                      l = s.Hasher,
                      u = a.algo,
                      f = [];
                    !(function () {
                      for (var t = 0; t < 64; t++)
                        f[t] = (4294967296 * e.abs(e.sin(t + 1))) | 0;
                    })();
                    var d = (u.MD5 = l.extend({
                      _doReset: function () {
                        this._hash = new c.init([
                          1732584193, 4023233417, 2562383102, 271733878,
                        ]);
                      },
                      _doProcessBlock: function (t, e) {
                        for (var a = 0; a < 16; a++) {
                          var s = e + a,
                            c = t[s];
                          t[s] =
                            (16711935 & ((c << 8) | (c >>> 24))) |
                            (4278255360 & ((c << 24) | (c >>> 8)));
                        }
                        var l = this._hash.words,
                          u = t[e + 0],
                          d = t[e + 1],
                          h = t[e + 2],
                          p = t[e + 3],
                          m = t[e + 4],
                          v = t[e + 5],
                          g = t[e + 6],
                          y = t[e + 7],
                          b = t[e + 8],
                          V = t[e + 9],
                          _ = t[e + 10],
                          w = t[e + 11],
                          S = t[e + 12],
                          E = t[e + 13],
                          A = t[e + 14],
                          T = t[e + 15],
                          O = l[0],
                          C = l[1],
                          P = l[2],
                          x = l[3];
                        (O = n(O, C, P, x, u, 7, f[0])),
                          (x = n(x, O, C, P, d, 12, f[1])),
                          (P = n(P, x, O, C, h, 17, f[2])),
                          (C = n(C, P, x, O, p, 22, f[3])),
                          (O = n(O, C, P, x, m, 7, f[4])),
                          (x = n(x, O, C, P, v, 12, f[5])),
                          (P = n(P, x, O, C, g, 17, f[6])),
                          (C = n(C, P, x, O, y, 22, f[7])),
                          (O = n(O, C, P, x, b, 7, f[8])),
                          (x = n(x, O, C, P, V, 12, f[9])),
                          (P = n(P, x, O, C, _, 17, f[10])),
                          (C = n(C, P, x, O, w, 22, f[11])),
                          (O = n(O, C, P, x, S, 7, f[12])),
                          (x = n(x, O, C, P, E, 12, f[13])),
                          (P = n(P, x, O, C, A, 17, f[14])),
                          (C = n(C, P, x, O, T, 22, f[15])),
                          (O = r(O, C, P, x, d, 5, f[16])),
                          (x = r(x, O, C, P, g, 9, f[17])),
                          (P = r(P, x, O, C, w, 14, f[18])),
                          (C = r(C, P, x, O, u, 20, f[19])),
                          (O = r(O, C, P, x, v, 5, f[20])),
                          (x = r(x, O, C, P, _, 9, f[21])),
                          (P = r(P, x, O, C, T, 14, f[22])),
                          (C = r(C, P, x, O, m, 20, f[23])),
                          (O = r(O, C, P, x, V, 5, f[24])),
                          (x = r(x, O, C, P, A, 9, f[25])),
                          (P = r(P, x, O, C, p, 14, f[26])),
                          (C = r(C, P, x, O, b, 20, f[27])),
                          (O = r(O, C, P, x, E, 5, f[28])),
                          (x = r(x, O, C, P, h, 9, f[29])),
                          (P = r(P, x, O, C, y, 14, f[30])),
                          (C = r(C, P, x, O, S, 20, f[31])),
                          (O = i(O, C, P, x, v, 4, f[32])),
                          (x = i(x, O, C, P, b, 11, f[33])),
                          (P = i(P, x, O, C, w, 16, f[34])),
                          (C = i(C, P, x, O, A, 23, f[35])),
                          (O = i(O, C, P, x, d, 4, f[36])),
                          (x = i(x, O, C, P, m, 11, f[37])),
                          (P = i(P, x, O, C, y, 16, f[38])),
                          (C = i(C, P, x, O, _, 23, f[39])),
                          (O = i(O, C, P, x, E, 4, f[40])),
                          (x = i(x, O, C, P, u, 11, f[41])),
                          (P = i(P, x, O, C, p, 16, f[42])),
                          (C = i(C, P, x, O, g, 23, f[43])),
                          (O = i(O, C, P, x, V, 4, f[44])),
                          (x = i(x, O, C, P, S, 11, f[45])),
                          (P = i(P, x, O, C, T, 16, f[46])),
                          (C = i(C, P, x, O, h, 23, f[47])),
                          (O = o(O, C, P, x, u, 6, f[48])),
                          (x = o(x, O, C, P, y, 10, f[49])),
                          (P = o(P, x, O, C, A, 15, f[50])),
                          (C = o(C, P, x, O, v, 21, f[51])),
                          (O = o(O, C, P, x, S, 6, f[52])),
                          (x = o(x, O, C, P, p, 10, f[53])),
                          (P = o(P, x, O, C, _, 15, f[54])),
                          (C = o(C, P, x, O, d, 21, f[55])),
                          (O = o(O, C, P, x, b, 6, f[56])),
                          (x = o(x, O, C, P, T, 10, f[57])),
                          (P = o(P, x, O, C, g, 15, f[58])),
                          (C = o(C, P, x, O, E, 21, f[59])),
                          (O = o(O, C, P, x, m, 6, f[60])),
                          (x = o(x, O, C, P, w, 10, f[61])),
                          (P = o(P, x, O, C, h, 15, f[62])),
                          (C = o(C, P, x, O, V, 21, f[63])),
                          (l[0] = (l[0] + O) | 0),
                          (l[1] = (l[1] + C) | 0),
                          (l[2] = (l[2] + P) | 0),
                          (l[3] = (l[3] + x) | 0);
                      },
                      _doFinalize: function () {
                        var t = this._data,
                          n = t.words,
                          r = 8 * this._nDataBytes,
                          i = 8 * t.sigBytes;
                        n[i >>> 5] |= 128 << (24 - (i % 32));
                        var o = e.floor(r / 4294967296),
                          a = r;
                        (n[15 + (((i + 64) >>> 9) << 4)] =
                          (16711935 & ((o << 8) | (o >>> 24))) |
                          (4278255360 & ((o << 24) | (o >>> 8)))),
                          (n[14 + (((i + 64) >>> 9) << 4)] =
                            (16711935 & ((a << 8) | (a >>> 24))) |
                            (4278255360 & ((a << 24) | (a >>> 8)))),
                          (t.sigBytes = 4 * (n.length + 1)),
                          this._process();
                        for (
                          var s = this._hash, c = s.words, l = 0;
                          l < 4;
                          l++
                        ) {
                          var u = c[l];
                          c[l] =
                            (16711935 & ((u << 8) | (u >>> 24))) |
                            (4278255360 & ((u << 24) | (u >>> 8)));
                        }
                        return s;
                      },
                      clone: function () {
                        var t = l.clone.call(this);
                        return (t._hash = this._hash.clone()), t;
                      },
                    }));
                    (a.MD5 = l._createHelper(d)),
                      (a.HmacMD5 = l._createHmacHelper(d));
                  })(Math),
                  t.MD5
                );
              });
            }),
            m = o(function (t, e) {
              !(function (e, n) {
                t.exports = n(s);
              })(0, function (t) {
                var e, n, r, i, o, a, s;
                return (
                  (n = (e = t).lib),
                  (r = n.WordArray),
                  (i = n.Hasher),
                  (o = e.algo),
                  (a = []),
                  (s = o.SHA1 =
                    i.extend({
                      _doReset: function () {
                        this._hash = new r.init([
                          1732584193, 4023233417, 2562383102, 271733878,
                          3285377520,
                        ]);
                      },
                      _doProcessBlock: function (t, e) {
                        for (
                          var n = this._hash.words,
                            r = n[0],
                            i = n[1],
                            o = n[2],
                            s = n[3],
                            c = n[4],
                            l = 0;
                          l < 80;
                          l++
                        ) {
                          if (l < 16) a[l] = 0 | t[e + l];
                          else {
                            var u = a[l - 3] ^ a[l - 8] ^ a[l - 14] ^ a[l - 16];
                            a[l] = (u << 1) | (u >>> 31);
                          }
                          var f = ((r << 5) | (r >>> 27)) + c + a[l];
                          (f +=
                            l < 20
                              ? 1518500249 + ((i & o) | (~i & s))
                              : l < 40
                              ? 1859775393 + (i ^ o ^ s)
                              : l < 60
                              ? ((i & o) | (i & s) | (o & s)) - 1894007588
                              : (i ^ o ^ s) - 899497514),
                            (c = s),
                            (s = o),
                            (o = (i << 30) | (i >>> 2)),
                            (i = r),
                            (r = f);
                        }
                        (n[0] = (n[0] + r) | 0),
                          (n[1] = (n[1] + i) | 0),
                          (n[2] = (n[2] + o) | 0),
                          (n[3] = (n[3] + s) | 0),
                          (n[4] = (n[4] + c) | 0);
                      },
                      _doFinalize: function () {
                        var t = this._data,
                          e = t.words,
                          n = 8 * this._nDataBytes,
                          r = 8 * t.sigBytes;
                        return (
                          (e[r >>> 5] |= 128 << (24 - (r % 32))),
                          (e[14 + (((r + 64) >>> 9) << 4)] = Math.floor(
                            n / 4294967296
                          )),
                          (e[15 + (((r + 64) >>> 9) << 4)] = n),
                          (t.sigBytes = 4 * e.length),
                          this._process(),
                          this._hash
                        );
                      },
                      clone: function () {
                        var t = i.clone.call(this);
                        return (t._hash = this._hash.clone()), t;
                      },
                    })),
                  (e.SHA1 = i._createHelper(s)),
                  (e.HmacSHA1 = i._createHmacHelper(s)),
                  t.SHA1
                );
              });
            }),
            v = o(function (t, e) {
              !(function (e, n) {
                t.exports = n(s);
              })(0, function (t) {
                return (
                  (function (e) {
                    var n = t,
                      r = n.lib,
                      i = r.WordArray,
                      o = r.Hasher,
                      a = n.algo,
                      s = [],
                      c = [];
                    !(function () {
                      for (
                        var t = function (t) {
                            for (var n = e.sqrt(t), r = 2; r <= n; r++)
                              if (!(t % r)) return !1;
                            return !0;
                          },
                          n = function (t) {
                            return (4294967296 * (t - (0 | t))) | 0;
                          },
                          r = 2,
                          i = 0;
                        i < 64;

                      )
                        t(r) &&
                          (i < 8 && (s[i] = n(e.pow(r, 0.5))),
                          (c[i] = n(e.pow(r, 1 / 3))),
                          i++),
                          r++;
                    })();
                    var l = [],
                      u = (a.SHA256 = o.extend({
                        _doReset: function () {
                          this._hash = new i.init(s.slice(0));
                        },
                        _doProcessBlock: function (t, e) {
                          for (
                            var n = this._hash.words,
                              r = n[0],
                              i = n[1],
                              o = n[2],
                              a = n[3],
                              s = n[4],
                              u = n[5],
                              f = n[6],
                              d = n[7],
                              h = 0;
                            h < 64;
                            h++
                          ) {
                            if (h < 16) l[h] = 0 | t[e + h];
                            else {
                              var p = l[h - 15],
                                m =
                                  ((p << 25) | (p >>> 7)) ^
                                  ((p << 14) | (p >>> 18)) ^
                                  (p >>> 3),
                                v = l[h - 2],
                                g =
                                  ((v << 15) | (v >>> 17)) ^
                                  ((v << 13) | (v >>> 19)) ^
                                  (v >>> 10);
                              l[h] = m + l[h - 7] + g + l[h - 16];
                            }
                            var y = (r & i) ^ (r & o) ^ (i & o),
                              b =
                                ((r << 30) | (r >>> 2)) ^
                                ((r << 19) | (r >>> 13)) ^
                                ((r << 10) | (r >>> 22)),
                              V =
                                d +
                                (((s << 26) | (s >>> 6)) ^
                                  ((s << 21) | (s >>> 11)) ^
                                  ((s << 7) | (s >>> 25))) +
                                ((s & u) ^ (~s & f)) +
                                c[h] +
                                l[h];
                            (d = f),
                              (f = u),
                              (u = s),
                              (s = (a + V) | 0),
                              (a = o),
                              (o = i),
                              (i = r),
                              (r = (V + (b + y)) | 0);
                          }
                          (n[0] = (n[0] + r) | 0),
                            (n[1] = (n[1] + i) | 0),
                            (n[2] = (n[2] + o) | 0),
                            (n[3] = (n[3] + a) | 0),
                            (n[4] = (n[4] + s) | 0),
                            (n[5] = (n[5] + u) | 0),
                            (n[6] = (n[6] + f) | 0),
                            (n[7] = (n[7] + d) | 0);
                        },
                        _doFinalize: function () {
                          var t = this._data,
                            n = t.words,
                            r = 8 * this._nDataBytes,
                            i = 8 * t.sigBytes;
                          return (
                            (n[i >>> 5] |= 128 << (24 - (i % 32))),
                            (n[14 + (((i + 64) >>> 9) << 4)] = e.floor(
                              r / 4294967296
                            )),
                            (n[15 + (((i + 64) >>> 9) << 4)] = r),
                            (t.sigBytes = 4 * n.length),
                            this._process(),
                            this._hash
                          );
                        },
                        clone: function () {
                          var t = o.clone.call(this);
                          return (t._hash = this._hash.clone()), t;
                        },
                      }));
                    (n.SHA256 = o._createHelper(u)),
                      (n.HmacSHA256 = o._createHmacHelper(u));
                  })(Math),
                  t.SHA256
                );
              });
            }),
            g = o(function (t, e) {
              !(function (e, n) {
                t.exports = n(s, v);
              })(0, function (t) {
                var e, n, r, i, o;
                return (
                  (n = (e = t).lib.WordArray),
                  (r = e.algo),
                  (i = r.SHA256),
                  (o = r.SHA224 =
                    i.extend({
                      _doReset: function () {
                        this._hash = new n.init([
                          3238371032, 914150663, 812702999, 4144912697,
                          4290775857, 1750603025, 1694076839, 3204075428,
                        ]);
                      },
                      _doFinalize: function () {
                        var t = i._doFinalize.call(this);
                        return (t.sigBytes -= 4), t;
                      },
                    })),
                  (e.SHA224 = i._createHelper(o)),
                  (e.HmacSHA224 = i._createHmacHelper(o)),
                  t.SHA224
                );
              });
            }),
            y = o(function (t, e) {
              !(function (e, n) {
                t.exports = n(s, c);
              })(0, function (t) {
                return (
                  (function () {
                    var e = function () {
                        return o.create.apply(o, arguments);
                      },
                      n = t,
                      r = n.lib.Hasher,
                      i = n.x64,
                      o = i.Word,
                      a = i.WordArray,
                      s = n.algo,
                      c = [
                        e(1116352408, 3609767458),
                        e(1899447441, 602891725),
                        e(3049323471, 3964484399),
                        e(3921009573, 2173295548),
                        e(961987163, 4081628472),
                        e(1508970993, 3053834265),
                        e(2453635748, 2937671579),
                        e(2870763221, 3664609560),
                        e(3624381080, 2734883394),
                        e(310598401, 1164996542),
                        e(607225278, 1323610764),
                        e(1426881987, 3590304994),
                        e(1925078388, 4068182383),
                        e(2162078206, 991336113),
                        e(2614888103, 633803317),
                        e(3248222580, 3479774868),
                        e(3835390401, 2666613458),
                        e(4022224774, 944711139),
                        e(264347078, 2341262773),
                        e(604807628, 2007800933),
                        e(770255983, 1495990901),
                        e(1249150122, 1856431235),
                        e(1555081692, 3175218132),
                        e(1996064986, 2198950837),
                        e(2554220882, 3999719339),
                        e(2821834349, 766784016),
                        e(2952996808, 2566594879),
                        e(3210313671, 3203337956),
                        e(3336571891, 1034457026),
                        e(3584528711, 2466948901),
                        e(113926993, 3758326383),
                        e(338241895, 168717936),
                        e(666307205, 1188179964),
                        e(773529912, 1546045734),
                        e(1294757372, 1522805485),
                        e(1396182291, 2643833823),
                        e(1695183700, 2343527390),
                        e(1986661051, 1014477480),
                        e(2177026350, 1206759142),
                        e(2456956037, 344077627),
                        e(2730485921, 1290863460),
                        e(2820302411, 3158454273),
                        e(3259730800, 3505952657),
                        e(3345764771, 106217008),
                        e(3516065817, 3606008344),
                        e(3600352804, 1432725776),
                        e(4094571909, 1467031594),
                        e(275423344, 851169720),
                        e(430227734, 3100823752),
                        e(506948616, 1363258195),
                        e(659060556, 3750685593),
                        e(883997877, 3785050280),
                        e(958139571, 3318307427),
                        e(1322822218, 3812723403),
                        e(1537002063, 2003034995),
                        e(1747873779, 3602036899),
                        e(1955562222, 1575990012),
                        e(2024104815, 1125592928),
                        e(2227730452, 2716904306),
                        e(2361852424, 442776044),
                        e(2428436474, 593698344),
                        e(2756734187, 3733110249),
                        e(3204031479, 2999351573),
                        e(3329325298, 3815920427),
                        e(3391569614, 3928383900),
                        e(3515267271, 566280711),
                        e(3940187606, 3454069534),
                        e(4118630271, 4000239992),
                        e(116418474, 1914138554),
                        e(174292421, 2731055270),
                        e(289380356, 3203993006),
                        e(460393269, 320620315),
                        e(685471733, 587496836),
                        e(852142971, 1086792851),
                        e(1017036298, 365543100),
                        e(1126000580, 2618297676),
                        e(1288033470, 3409855158),
                        e(1501505948, 4234509866),
                        e(1607167915, 987167468),
                        e(1816402316, 1246189591),
                      ],
                      l = [];
                    !(function () {
                      for (var t = 0; t < 80; t++) l[t] = e();
                    })();
                    var u = (s.SHA512 = r.extend({
                      _doReset: function () {
                        this._hash = new a.init([
                          new o.init(1779033703, 4089235720),
                          new o.init(3144134277, 2227873595),
                          new o.init(1013904242, 4271175723),
                          new o.init(2773480762, 1595750129),
                          new o.init(1359893119, 2917565137),
                          new o.init(2600822924, 725511199),
                          new o.init(528734635, 4215389547),
                          new o.init(1541459225, 327033209),
                        ]);
                      },
                      _doProcessBlock: function (t, e) {
                        for (
                          var n = this._hash.words,
                            r = n[0],
                            i = n[1],
                            o = n[2],
                            a = n[3],
                            s = n[4],
                            u = n[5],
                            f = n[6],
                            d = n[7],
                            h = r.high,
                            p = r.low,
                            m = i.high,
                            v = i.low,
                            g = o.high,
                            y = o.low,
                            b = a.high,
                            V = a.low,
                            _ = s.high,
                            w = s.low,
                            S = u.high,
                            E = u.low,
                            A = f.high,
                            T = f.low,
                            O = d.high,
                            C = d.low,
                            P = h,
                            x = p,
                            k = m,
                            I = v,
                            j = g,
                            R = y,
                            D = b,
                            L = V,
                            M = _,
                            N = w,
                            $ = S,
                            B = E,
                            U = A,
                            F = T,
                            H = O,
                            G = C,
                            W = 0;
                          W < 80;
                          W++
                        ) {
                          var z,
                            q,
                            X = l[W];
                          if (W < 16)
                            (q = X.high = 0 | t[e + 2 * W]),
                              (z = X.low = 0 | t[e + 2 * W + 1]);
                          else {
                            var Y = l[W - 15],
                              K = Y.high,
                              Z = Y.low,
                              J =
                                ((K >>> 1) | (Z << 31)) ^
                                ((K >>> 8) | (Z << 24)) ^
                                (K >>> 7),
                              Q =
                                ((Z >>> 1) | (K << 31)) ^
                                ((Z >>> 8) | (K << 24)) ^
                                ((Z >>> 7) | (K << 25)),
                              tt = l[W - 2],
                              et = tt.high,
                              nt = tt.low,
                              rt =
                                ((et >>> 19) | (nt << 13)) ^
                                ((et << 3) | (nt >>> 29)) ^
                                (et >>> 6),
                              it =
                                ((nt >>> 19) | (et << 13)) ^
                                ((nt << 3) | (et >>> 29)) ^
                                ((nt >>> 6) | (et << 26)),
                              ot = l[W - 7],
                              at = ot.high,
                              st = ot.low,
                              ct = l[W - 16],
                              lt = ct.high,
                              ut = ct.low;
                            (q =
                              (q =
                                (q =
                                  J +
                                  at +
                                  ((z = Q + st) >>> 0 < Q >>> 0 ? 1 : 0)) +
                                rt +
                                ((z += it) >>> 0 < it >>> 0 ? 1 : 0)) +
                              lt +
                              ((z += ut) >>> 0 < ut >>> 0 ? 1 : 0)),
                              (X.high = q),
                              (X.low = z);
                          }
                          var ft,
                            dt = (M & $) ^ (~M & U),
                            ht = (N & B) ^ (~N & F),
                            pt = (P & k) ^ (P & j) ^ (k & j),
                            mt = (x & I) ^ (x & R) ^ (I & R),
                            vt =
                              ((P >>> 28) | (x << 4)) ^
                              ((P << 30) | (x >>> 2)) ^
                              ((P << 25) | (x >>> 7)),
                            gt =
                              ((x >>> 28) | (P << 4)) ^
                              ((x << 30) | (P >>> 2)) ^
                              ((x << 25) | (P >>> 7)),
                            yt =
                              ((M >>> 14) | (N << 18)) ^
                              ((M >>> 18) | (N << 14)) ^
                              ((M << 23) | (N >>> 9)),
                            bt =
                              ((N >>> 14) | (M << 18)) ^
                              ((N >>> 18) | (M << 14)) ^
                              ((N << 23) | (M >>> 9)),
                            Vt = c[W],
                            _t = Vt.high,
                            wt = Vt.low,
                            St =
                              H + yt + ((ft = G + bt) >>> 0 < G >>> 0 ? 1 : 0),
                            Et = gt + mt;
                          (H = U),
                            (G = F),
                            (U = $),
                            (F = B),
                            ($ = M),
                            (B = N),
                            (M =
                              (D +
                                (St =
                                  (St =
                                    (St =
                                      St +
                                      dt +
                                      ((ft += ht) >>> 0 < ht >>> 0 ? 1 : 0)) +
                                    _t +
                                    ((ft += wt) >>> 0 < wt >>> 0 ? 1 : 0)) +
                                  q +
                                  ((ft += z) >>> 0 < z >>> 0 ? 1 : 0)) +
                                ((N = (L + ft) | 0) >>> 0 < L >>> 0 ? 1 : 0)) |
                              0),
                            (D = j),
                            (L = R),
                            (j = k),
                            (R = I),
                            (k = P),
                            (I = x),
                            (P =
                              (St +
                                (vt + pt + (Et >>> 0 < gt >>> 0 ? 1 : 0)) +
                                ((x = (ft + Et) | 0) >>> 0 < ft >>> 0
                                  ? 1
                                  : 0)) |
                              0);
                        }
                        (p = r.low = p + x),
                          (r.high = h + P + (p >>> 0 < x >>> 0 ? 1 : 0)),
                          (v = i.low = v + I),
                          (i.high = m + k + (v >>> 0 < I >>> 0 ? 1 : 0)),
                          (y = o.low = y + R),
                          (o.high = g + j + (y >>> 0 < R >>> 0 ? 1 : 0)),
                          (V = a.low = V + L),
                          (a.high = b + D + (V >>> 0 < L >>> 0 ? 1 : 0)),
                          (w = s.low = w + N),
                          (s.high = _ + M + (w >>> 0 < N >>> 0 ? 1 : 0)),
                          (E = u.low = E + B),
                          (u.high = S + $ + (E >>> 0 < B >>> 0 ? 1 : 0)),
                          (T = f.low = T + F),
                          (f.high = A + U + (T >>> 0 < F >>> 0 ? 1 : 0)),
                          (C = d.low = C + G),
                          (d.high = O + H + (C >>> 0 < G >>> 0 ? 1 : 0));
                      },
                      _doFinalize: function () {
                        var t = this._data,
                          e = t.words,
                          n = 8 * this._nDataBytes,
                          r = 8 * t.sigBytes;
                        return (
                          (e[r >>> 5] |= 128 << (24 - (r % 32))),
                          (e[30 + (((r + 128) >>> 10) << 5)] = Math.floor(
                            n / 4294967296
                          )),
                          (e[31 + (((r + 128) >>> 10) << 5)] = n),
                          (t.sigBytes = 4 * e.length),
                          this._process(),
                          this._hash.toX32()
                        );
                      },
                      clone: function () {
                        var t = r.clone.call(this);
                        return (t._hash = this._hash.clone()), t;
                      },
                      blockSize: 32,
                    }));
                    (n.SHA512 = r._createHelper(u)),
                      (n.HmacSHA512 = r._createHmacHelper(u));
                  })(),
                  t.SHA512
                );
              });
            }),
            b = o(function (t, e) {
              !(function (e, n) {
                t.exports = n(s, c, y);
              })(0, function (t) {
                var e, n, r, i, o, a, s;
                return (
                  (n = (e = t).x64),
                  (r = n.Word),
                  (i = n.WordArray),
                  (o = e.algo),
                  (a = o.SHA512),
                  (s = o.SHA384 =
                    a.extend({
                      _doReset: function () {
                        this._hash = new i.init([
                          new r.init(3418070365, 3238371032),
                          new r.init(1654270250, 914150663),
                          new r.init(2438529370, 812702999),
                          new r.init(355462360, 4144912697),
                          new r.init(1731405415, 4290775857),
                          new r.init(2394180231, 1750603025),
                          new r.init(3675008525, 1694076839),
                          new r.init(1203062813, 3204075428),
                        ]);
                      },
                      _doFinalize: function () {
                        var t = a._doFinalize.call(this);
                        return (t.sigBytes -= 16), t;
                      },
                    })),
                  (e.SHA384 = a._createHelper(s)),
                  (e.HmacSHA384 = a._createHmacHelper(s)),
                  t.SHA384
                );
              });
            }),
            V = o(function (t, e) {
              !(function (e, n) {
                t.exports = n(s, c);
              })(0, function (t) {
                return (
                  (function (e) {
                    var n = t,
                      r = n.lib,
                      i = r.WordArray,
                      o = r.Hasher,
                      a = n.x64.Word,
                      s = n.algo,
                      c = [],
                      l = [],
                      u = [];
                    !(function () {
                      for (var t = 1, e = 0, n = 0; n < 24; n++) {
                        c[t + 5 * e] = (((n + 1) * (n + 2)) / 2) % 64;
                        var r = (2 * t + 3 * e) % 5;
                        (t = e % 5), (e = r);
                      }
                      for (t = 0; t < 5; t++)
                        for (e = 0; e < 5; e++)
                          l[t + 5 * e] = e + ((2 * t + 3 * e) % 5) * 5;
                      for (var i = 1, o = 0; o < 24; o++) {
                        for (var s = 0, f = 0, d = 0; d < 7; d++) {
                          if (1 & i) {
                            var h = (1 << d) - 1;
                            h < 32 ? (f ^= 1 << h) : (s ^= 1 << (h - 32));
                          }
                          128 & i ? (i = (i << 1) ^ 113) : (i <<= 1);
                        }
                        u[o] = a.create(s, f);
                      }
                    })();
                    var f = [];
                    !(function () {
                      for (var t = 0; t < 25; t++) f[t] = a.create();
                    })();
                    var d = (s.SHA3 = o.extend({
                      cfg: o.cfg.extend({ outputLength: 512 }),
                      _doReset: function () {
                        for (var t = (this._state = []), e = 0; e < 25; e++)
                          t[e] = new a.init();
                        this.blockSize =
                          (1600 - 2 * this.cfg.outputLength) / 32;
                      },
                      _doProcessBlock: function (t, e) {
                        for (
                          var n = this._state, r = this.blockSize / 2, i = 0;
                          i < r;
                          i++
                        ) {
                          var o = t[e + 2 * i],
                            a = t[e + 2 * i + 1];
                          (o =
                            (16711935 & ((o << 8) | (o >>> 24))) |
                            (4278255360 & ((o << 24) | (o >>> 8)))),
                            (a =
                              (16711935 & ((a << 8) | (a >>> 24))) |
                              (4278255360 & ((a << 24) | (a >>> 8)))),
                            ((C = n[i]).high ^= a),
                            (C.low ^= o);
                        }
                        for (var s = 0; s < 24; s++) {
                          for (var d = 0; d < 5; d++) {
                            for (var h = 0, p = 0, m = 0; m < 5; m++)
                              (h ^= (C = n[d + 5 * m]).high), (p ^= C.low);
                            var v = f[d];
                            (v.high = h), (v.low = p);
                          }
                          for (d = 0; d < 5; d++) {
                            var g = f[(d + 4) % 5],
                              y = f[(d + 1) % 5],
                              b = y.high,
                              V = y.low;
                            for (
                              h = g.high ^ ((b << 1) | (V >>> 31)),
                                p = g.low ^ ((V << 1) | (b >>> 31)),
                                m = 0;
                              m < 5;
                              m++
                            )
                              ((C = n[d + 5 * m]).high ^= h), (C.low ^= p);
                          }
                          for (var _ = 1; _ < 25; _++) {
                            var w = (C = n[_]).high,
                              S = C.low,
                              E = c[_];
                            E < 32
                              ? ((h = (w << E) | (S >>> (32 - E))),
                                (p = (S << E) | (w >>> (32 - E))))
                              : ((h = (S << (E - 32)) | (w >>> (64 - E))),
                                (p = (w << (E - 32)) | (S >>> (64 - E))));
                            var A = f[l[_]];
                            (A.high = h), (A.low = p);
                          }
                          var T = f[0],
                            O = n[0];
                          for (
                            T.high = O.high, T.low = O.low, d = 0;
                            d < 5;
                            d++
                          )
                            for (m = 0; m < 5; m++) {
                              var C = n[(_ = d + 5 * m)],
                                P = f[_],
                                x = f[((d + 1) % 5) + 5 * m],
                                k = f[((d + 2) % 5) + 5 * m];
                              (C.high = P.high ^ (~x.high & k.high)),
                                (C.low = P.low ^ (~x.low & k.low));
                            }
                          C = n[0];
                          var I = u[s];
                          (C.high ^= I.high), (C.low ^= I.low);
                        }
                      },
                      _doFinalize: function () {
                        var t = this._data,
                          n = t.words;
                        this._nDataBytes;
                        var r = 8 * t.sigBytes,
                          o = 32 * this.blockSize;
                        (n[r >>> 5] |= 1 << (24 - (r % 32))),
                          (n[((e.ceil((r + 1) / o) * o) >>> 5) - 1] |= 128),
                          (t.sigBytes = 4 * n.length),
                          this._process();
                        for (
                          var a = this._state,
                            s = this.cfg.outputLength / 8,
                            c = s / 8,
                            l = [],
                            u = 0;
                          u < c;
                          u++
                        ) {
                          var f = a[u],
                            d = f.high,
                            h = f.low;
                          (d =
                            (16711935 & ((d << 8) | (d >>> 24))) |
                            (4278255360 & ((d << 24) | (d >>> 8)))),
                            (h =
                              (16711935 & ((h << 8) | (h >>> 24))) |
                              (4278255360 & ((h << 24) | (h >>> 8)))),
                            l.push(h),
                            l.push(d);
                        }
                        return new i.init(l, s);
                      },
                      clone: function () {
                        for (
                          var t = o.clone.call(this),
                            e = (t._state = this._state.slice(0)),
                            n = 0;
                          n < 25;
                          n++
                        )
                          e[n] = e[n].clone();
                        return t;
                      },
                    }));
                    (n.SHA3 = o._createHelper(d)),
                      (n.HmacSHA3 = o._createHmacHelper(d));
                  })(Math),
                  t.SHA3
                );
              });
            }),
            _ = o(function (t, e) {
              !(function (e, n) {
                t.exports = n(s);
              })(0, function (t) {
                var e, n, r, i, o, a, s, c, l, u, f, d, h, p, m, v, g, y;
                return (
                  (e = function (t, e, n) {
                    return t ^ e ^ n;
                  }),
                  (n = function (t, e, n) {
                    return (t & e) | (~t & n);
                  }),
                  (r = function (t, e, n) {
                    return (t | ~e) ^ n;
                  }),
                  (i = function (t, e, n) {
                    return (t & n) | (e & ~n);
                  }),
                  (o = function (t, e, n) {
                    return t ^ (e | ~n);
                  }),
                  (a = function (t, e) {
                    return (t << e) | (t >>> (32 - e));
                  }),
                  (c = (s = t).lib),
                  (l = c.WordArray),
                  (u = c.Hasher),
                  (f = s.algo),
                  (d = l.create([
                    0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 7, 4,
                    13, 1, 10, 6, 15, 3, 12, 0, 9, 5, 2, 14, 11, 8, 3, 10, 14,
                    4, 9, 15, 8, 1, 2, 7, 0, 6, 13, 11, 5, 12, 1, 9, 11, 10, 0,
                    8, 12, 4, 13, 3, 7, 15, 14, 5, 6, 2, 4, 0, 5, 9, 7, 12, 2,
                    10, 14, 1, 3, 8, 11, 6, 15, 13,
                  ])),
                  (h = l.create([
                    5, 14, 7, 0, 9, 2, 11, 4, 13, 6, 15, 8, 1, 10, 3, 12, 6, 11,
                    3, 7, 0, 13, 5, 10, 14, 15, 8, 12, 4, 9, 1, 2, 15, 5, 1, 3,
                    7, 14, 6, 9, 11, 8, 12, 2, 10, 0, 4, 13, 8, 6, 4, 1, 3, 11,
                    15, 0, 5, 12, 2, 13, 9, 7, 10, 14, 12, 15, 10, 4, 1, 5, 8,
                    7, 6, 2, 13, 14, 0, 3, 9, 11,
                  ])),
                  (p = l.create([
                    11, 14, 15, 12, 5, 8, 7, 9, 11, 13, 14, 15, 6, 7, 9, 8, 7,
                    6, 8, 13, 11, 9, 7, 15, 7, 12, 15, 9, 11, 7, 13, 12, 11, 13,
                    6, 7, 14, 9, 13, 15, 14, 8, 13, 6, 5, 12, 7, 5, 11, 12, 14,
                    15, 14, 15, 9, 8, 9, 14, 5, 6, 8, 6, 5, 12, 9, 15, 5, 11, 6,
                    8, 13, 12, 5, 12, 13, 14, 11, 8, 5, 6,
                  ])),
                  (m = l.create([
                    8, 9, 9, 11, 13, 15, 15, 5, 7, 7, 8, 11, 14, 14, 12, 6, 9,
                    13, 15, 7, 12, 8, 9, 11, 7, 7, 12, 7, 6, 15, 13, 11, 9, 7,
                    15, 11, 8, 6, 6, 14, 12, 13, 5, 14, 13, 13, 7, 5, 15, 5, 8,
                    11, 14, 14, 6, 14, 6, 9, 12, 9, 12, 5, 15, 8, 8, 5, 12, 9,
                    12, 5, 14, 6, 8, 13, 6, 5, 15, 13, 11, 11,
                  ])),
                  (v = l.create([
                    0, 1518500249, 1859775393, 2400959708, 2840853838,
                  ])),
                  (g = l.create([
                    1352829926, 1548603684, 1836072691, 2053994217, 0,
                  ])),
                  (y = f.RIPEMD160 =
                    u.extend({
                      _doReset: function () {
                        this._hash = l.create([
                          1732584193, 4023233417, 2562383102, 271733878,
                          3285377520,
                        ]);
                      },
                      _doProcessBlock: function (t, s) {
                        for (var c = 0; c < 16; c++) {
                          var l = s + c,
                            u = t[l];
                          t[l] =
                            (16711935 & ((u << 8) | (u >>> 24))) |
                            (4278255360 & ((u << 24) | (u >>> 8)));
                        }
                        var f,
                          y,
                          b,
                          V,
                          _,
                          w,
                          S,
                          E,
                          A,
                          T,
                          O,
                          C = this._hash.words,
                          P = v.words,
                          x = g.words,
                          k = d.words,
                          I = h.words,
                          j = p.words,
                          R = m.words;
                        for (
                          w = f = C[0],
                            S = y = C[1],
                            E = b = C[2],
                            A = V = C[3],
                            T = _ = C[4],
                            c = 0;
                          c < 80;
                          c += 1
                        )
                          (O = (f + t[s + k[c]]) | 0),
                            (O +=
                              c < 16
                                ? e(y, b, V) + P[0]
                                : c < 32
                                ? n(y, b, V) + P[1]
                                : c < 48
                                ? r(y, b, V) + P[2]
                                : c < 64
                                ? i(y, b, V) + P[3]
                                : o(y, b, V) + P[4]),
                            (O = ((O = a((O |= 0), j[c])) + _) | 0),
                            (f = _),
                            (_ = V),
                            (V = a(b, 10)),
                            (b = y),
                            (y = O),
                            (O = (w + t[s + I[c]]) | 0),
                            (O +=
                              c < 16
                                ? o(S, E, A) + x[0]
                                : c < 32
                                ? i(S, E, A) + x[1]
                                : c < 48
                                ? r(S, E, A) + x[2]
                                : c < 64
                                ? n(S, E, A) + x[3]
                                : e(S, E, A) + x[4]),
                            (O = ((O = a((O |= 0), R[c])) + T) | 0),
                            (w = T),
                            (T = A),
                            (A = a(E, 10)),
                            (E = S),
                            (S = O);
                        (O = (C[1] + b + A) | 0),
                          (C[1] = (C[2] + V + T) | 0),
                          (C[2] = (C[3] + _ + w) | 0),
                          (C[3] = (C[4] + f + S) | 0),
                          (C[4] = (C[0] + y + E) | 0),
                          (C[0] = O);
                      },
                      _doFinalize: function () {
                        var t = this._data,
                          e = t.words,
                          n = 8 * this._nDataBytes,
                          r = 8 * t.sigBytes;
                        (e[r >>> 5] |= 128 << (24 - (r % 32))),
                          (e[14 + (((r + 64) >>> 9) << 4)] =
                            (16711935 & ((n << 8) | (n >>> 24))) |
                            (4278255360 & ((n << 24) | (n >>> 8)))),
                          (t.sigBytes = 4 * (e.length + 1)),
                          this._process();
                        for (
                          var i = this._hash, o = i.words, a = 0;
                          a < 5;
                          a++
                        ) {
                          var s = o[a];
                          o[a] =
                            (16711935 & ((s << 8) | (s >>> 24))) |
                            (4278255360 & ((s << 24) | (s >>> 8)));
                        }
                        return i;
                      },
                      clone: function () {
                        var t = u.clone.call(this);
                        return (t._hash = this._hash.clone()), t;
                      },
                    })),
                  (s.RIPEMD160 = u._createHelper(y)),
                  (s.HmacRIPEMD160 = u._createHmacHelper(y)),
                  t.RIPEMD160
                );
              });
            }),
            w = o(function (t, e) {
              !(function (e, n) {
                t.exports = n(s);
              })(0, function (t) {
                var e, n, r;
                (n = (e = t).lib.Base),
                  (r = e.enc.Utf8),
                  (e.algo.HMAC = n.extend({
                    init: function (t, e) {
                      (t = this._hasher = new t.init()),
                        "string" == typeof e && (e = r.parse(e));
                      var n = t.blockSize,
                        i = 4 * n;
                      e.sigBytes > i && (e = t.finalize(e)), e.clamp();
                      for (
                        var o = (this._oKey = e.clone()),
                          a = (this._iKey = e.clone()),
                          s = o.words,
                          c = a.words,
                          l = 0;
                        l < n;
                        l++
                      )
                        (s[l] ^= 1549556828), (c[l] ^= 909522486);
                      (o.sigBytes = a.sigBytes = i), this.reset();
                    },
                    reset: function () {
                      var t = this._hasher;
                      t.reset(), t.update(this._iKey);
                    },
                    update: function (t) {
                      return this._hasher.update(t), this;
                    },
                    finalize: function (t) {
                      var e = this._hasher,
                        n = e.finalize(t);
                      return (
                        e.reset(), e.finalize(this._oKey.clone().concat(n))
                      );
                    },
                  }));
              });
            }),
            S = o(function (t, e) {
              !(function (e, n) {
                t.exports = n(s, m, w);
              })(0, function (t) {
                var e, n, r, i, o, a, s, c;
                return (
                  (n = (e = t).lib),
                  (r = n.Base),
                  (i = n.WordArray),
                  (o = e.algo),
                  (a = o.SHA1),
                  (s = o.HMAC),
                  (c = o.PBKDF2 =
                    r.extend({
                      cfg: r.extend({ keySize: 4, hasher: a, iterations: 1 }),
                      init: function (t) {
                        this.cfg = this.cfg.extend(t);
                      },
                      compute: function (t, e) {
                        for (
                          var n = this.cfg,
                            r = s.create(n.hasher, t),
                            o = i.create(),
                            a = i.create([1]),
                            c = o.words,
                            l = a.words,
                            u = n.keySize,
                            f = n.iterations;
                          c.length < u;

                        ) {
                          var d = r.update(e).finalize(a);
                          r.reset();
                          for (
                            var h = d.words, p = h.length, m = d, v = 1;
                            v < f;
                            v++
                          ) {
                            (m = r.finalize(m)), r.reset();
                            for (var g = m.words, y = 0; y < p; y++)
                              h[y] ^= g[y];
                          }
                          o.concat(d), l[0]++;
                        }
                        return (o.sigBytes = 4 * u), o;
                      },
                    })),
                  (e.PBKDF2 = function (t, e, n) {
                    return c.create(n).compute(t, e);
                  }),
                  t.PBKDF2
                );
              });
            }),
            E = o(function (t, e) {
              !(function (e, n) {
                t.exports = n(s, m, w);
              })(0, function (t) {
                var e, n, r, i, o, a, s;
                return (
                  (n = (e = t).lib),
                  (r = n.Base),
                  (i = n.WordArray),
                  (o = e.algo),
                  (a = o.MD5),
                  (s = o.EvpKDF =
                    r.extend({
                      cfg: r.extend({ keySize: 4, hasher: a, iterations: 1 }),
                      init: function (t) {
                        this.cfg = this.cfg.extend(t);
                      },
                      compute: function (t, e) {
                        for (
                          var n,
                            r = this.cfg,
                            o = r.hasher.create(),
                            a = i.create(),
                            s = a.words,
                            c = r.keySize,
                            l = r.iterations;
                          s.length < c;

                        ) {
                          n && o.update(n),
                            (n = o.update(t).finalize(e)),
                            o.reset();
                          for (var u = 1; u < l; u++)
                            (n = o.finalize(n)), o.reset();
                          a.concat(n);
                        }
                        return (a.sigBytes = 4 * c), a;
                      },
                    })),
                  (e.EvpKDF = function (t, e, n) {
                    return s.create(n).compute(t, e);
                  }),
                  t.EvpKDF
                );
              });
            }),
            A = o(function (t, e) {
              !(function (e, n) {
                t.exports = n(s, E);
              })(0, function (t) {
                t.lib.Cipher ||
                  (function (e) {
                    var n = t,
                      r = n.lib,
                      i = r.Base,
                      o = r.WordArray,
                      a = r.BufferedBlockAlgorithm,
                      s = n.enc;
                    s.Utf8;
                    var c,
                      l = s.Base64,
                      u = n.algo.EvpKDF,
                      f = (r.Cipher = a.extend({
                        cfg: i.extend(),
                        createEncryptor: function (t, e) {
                          return this.create(this._ENC_XFORM_MODE, t, e);
                        },
                        createDecryptor: function (t, e) {
                          return this.create(this._DEC_XFORM_MODE, t, e);
                        },
                        init: function (t, e, n) {
                          (this.cfg = this.cfg.extend(n)),
                            (this._xformMode = t),
                            (this._key = e),
                            this.reset();
                        },
                        reset: function () {
                          a.reset.call(this), this._doReset();
                        },
                        process: function (t) {
                          return this._append(t), this._process();
                        },
                        finalize: function (t) {
                          return t && this._append(t), this._doFinalize();
                        },
                        keySize: 4,
                        ivSize: 4,
                        _ENC_XFORM_MODE: 1,
                        _DEC_XFORM_MODE: 2,
                        _createHelper:
                          ((c = function (t) {
                            return "string" == typeof t ? V : y;
                          }),
                          function (t) {
                            return {
                              encrypt: function (e, n, r) {
                                return c(n).encrypt(t, e, n, r);
                              },
                              decrypt: function (e, n, r) {
                                return c(n).decrypt(t, e, n, r);
                              },
                            };
                          }),
                      }));
                    r.StreamCipher = f.extend({
                      _doFinalize: function () {
                        return this._process(!0);
                      },
                      blockSize: 1,
                    });
                    var d = (n.mode = {}),
                      h = (r.BlockCipherMode = i.extend({
                        createEncryptor: function (t, e) {
                          return this.Encryptor.create(t, e);
                        },
                        createDecryptor: function (t, e) {
                          return this.Decryptor.create(t, e);
                        },
                        init: function (t, e) {
                          (this._cipher = t), (this._iv = e);
                        },
                      })),
                      p = (d.CBC = (function () {
                        var t = function (t, n, r) {
                            var i,
                              o = this._iv;
                            o
                              ? ((i = o), (this._iv = e))
                              : (i = this._prevBlock);
                            for (var a = 0; a < r; a++) t[n + a] ^= i[a];
                          },
                          n = h.extend();
                        return (
                          (n.Encryptor = n.extend({
                            processBlock: function (e, n) {
                              var r = this._cipher,
                                i = r.blockSize;
                              t.call(this, e, n, i),
                                r.encryptBlock(e, n),
                                (this._prevBlock = e.slice(n, n + i));
                            },
                          })),
                          (n.Decryptor = n.extend({
                            processBlock: function (e, n) {
                              var r = this._cipher,
                                i = r.blockSize,
                                o = e.slice(n, n + i);
                              r.decryptBlock(e, n),
                                t.call(this, e, n, i),
                                (this._prevBlock = o);
                            },
                          })),
                          n
                        );
                      })()),
                      m = ((n.pad = {}).Pkcs7 = {
                        pad: function (t, e) {
                          for (
                            var n = 4 * e,
                              r = n - (t.sigBytes % n),
                              i = (r << 24) | (r << 16) | (r << 8) | r,
                              a = [],
                              s = 0;
                            s < r;
                            s += 4
                          )
                            a.push(i);
                          var c = o.create(a, r);
                          t.concat(c);
                        },
                        unpad: function (t) {
                          var e = 255 & t.words[(t.sigBytes - 1) >>> 2];
                          t.sigBytes -= e;
                        },
                      });
                    r.BlockCipher = f.extend({
                      cfg: f.cfg.extend({ mode: p, padding: m }),
                      reset: function () {
                        var t;
                        f.reset.call(this);
                        var e = this.cfg,
                          n = e.iv,
                          r = e.mode;
                        this._xformMode == this._ENC_XFORM_MODE
                          ? (t = r.createEncryptor)
                          : ((t = r.createDecryptor),
                            (this._minBufferSize = 1)),
                          this._mode && this._mode.__creator == t
                            ? this._mode.init(this, n && n.words)
                            : ((this._mode = t.call(r, this, n && n.words)),
                              (this._mode.__creator = t));
                      },
                      _doProcessBlock: function (t, e) {
                        this._mode.processBlock(t, e);
                      },
                      _doFinalize: function () {
                        var t,
                          e = this.cfg.padding;
                        return (
                          this._xformMode == this._ENC_XFORM_MODE
                            ? (e.pad(this._data, this.blockSize),
                              (t = this._process(!0)))
                            : ((t = this._process(!0)), e.unpad(t)),
                          t
                        );
                      },
                      blockSize: 4,
                    });
                    var v = (r.CipherParams = i.extend({
                        init: function (t) {
                          this.mixIn(t);
                        },
                        toString: function (t) {
                          return (t || this.formatter).stringify(this);
                        },
                      })),
                      g = ((n.format = {}).OpenSSL = {
                        stringify: function (t) {
                          var e = t.ciphertext,
                            n = t.salt;
                          return (
                            n
                              ? o
                                  .create([1398893684, 1701076831])
                                  .concat(n)
                                  .concat(e)
                              : e
                          ).toString(l);
                        },
                        parse: function (t) {
                          var e,
                            n = l.parse(t),
                            r = n.words;
                          return (
                            1398893684 == r[0] &&
                              1701076831 == r[1] &&
                              ((e = o.create(r.slice(2, 4))),
                              r.splice(0, 4),
                              (n.sigBytes -= 16)),
                            v.create({ ciphertext: n, salt: e })
                          );
                        },
                      }),
                      y = (r.SerializableCipher = i.extend({
                        cfg: i.extend({ format: g }),
                        encrypt: function (t, e, n, r) {
                          r = this.cfg.extend(r);
                          var i = t.createEncryptor(n, r),
                            o = i.finalize(e),
                            a = i.cfg;
                          return v.create({
                            ciphertext: o,
                            key: n,
                            iv: a.iv,
                            algorithm: t,
                            mode: a.mode,
                            padding: a.padding,
                            blockSize: t.blockSize,
                            formatter: r.format,
                          });
                        },
                        decrypt: function (t, e, n, r) {
                          return (
                            (r = this.cfg.extend(r)),
                            (e = this._parse(e, r.format)),
                            t.createDecryptor(n, r).finalize(e.ciphertext)
                          );
                        },
                        _parse: function (t, e) {
                          return "string" == typeof t ? e.parse(t, this) : t;
                        },
                      })),
                      b = ((n.kdf = {}).OpenSSL = {
                        execute: function (t, e, n, r) {
                          r || (r = o.random(8));
                          var i = u.create({ keySize: e + n }).compute(t, r),
                            a = o.create(i.words.slice(e), 4 * n);
                          return (
                            (i.sigBytes = 4 * e),
                            v.create({ key: i, iv: a, salt: r })
                          );
                        },
                      }),
                      V = (r.PasswordBasedCipher = y.extend({
                        cfg: y.cfg.extend({ kdf: b }),
                        encrypt: function (t, e, n, r) {
                          var i = (r = this.cfg.extend(r)).kdf.execute(
                            n,
                            t.keySize,
                            t.ivSize
                          );
                          r.iv = i.iv;
                          var o = y.encrypt.call(this, t, e, i.key, r);
                          return o.mixIn(i), o;
                        },
                        decrypt: function (t, e, n, r) {
                          (r = this.cfg.extend(r)),
                            (e = this._parse(e, r.format));
                          var i = r.kdf.execute(n, t.keySize, t.ivSize, e.salt);
                          return (
                            (r.iv = i.iv), y.decrypt.call(this, t, e, i.key, r)
                          );
                        },
                      }));
                  })();
              });
            }),
            T = o(function (t, e) {
              !(function (e, n) {
                t.exports = n(s, A);
              })(0, function (t) {
                var e, n;
                return (
                  (t.mode.CFB =
                    ((e = function (t, e, n, r) {
                      var i,
                        o = this._iv;
                      o
                        ? ((i = o.slice(0)), (this._iv = void 0))
                        : (i = this._prevBlock),
                        r.encryptBlock(i, 0);
                      for (var a = 0; a < n; a++) t[e + a] ^= i[a];
                    }),
                    ((n = t.lib.BlockCipherMode.extend()).Encryptor = n.extend({
                      processBlock: function (t, n) {
                        var r = this._cipher,
                          i = r.blockSize;
                        e.call(this, t, n, i, r),
                          (this._prevBlock = t.slice(n, n + i));
                      },
                    })),
                    (n.Decryptor = n.extend({
                      processBlock: function (t, n) {
                        var r = this._cipher,
                          i = r.blockSize,
                          o = t.slice(n, n + i);
                        e.call(this, t, n, i, r), (this._prevBlock = o);
                      },
                    })),
                    n)),
                  t.mode.CFB
                );
              });
            }),
            O = o(function (t, e) {
              !(function (e, n) {
                t.exports = n(s, A);
              })(0, function (t) {
                var e, n;
                return (
                  (t.mode.CTR =
                    ((e = t.lib.BlockCipherMode.extend()),
                    (n = e.Encryptor =
                      e.extend({
                        processBlock: function (t, e) {
                          var n = this._cipher,
                            r = n.blockSize,
                            i = this._iv,
                            o = this._counter;
                          i &&
                            ((o = this._counter = i.slice(0)),
                            (this._iv = void 0));
                          var a = o.slice(0);
                          n.encryptBlock(a, 0), (o[r - 1] = (o[r - 1] + 1) | 0);
                          for (var s = 0; s < r; s++) t[e + s] ^= a[s];
                        },
                      })),
                    (e.Decryptor = n),
                    e)),
                  t.mode.CTR
                );
              });
            }),
            C = o(function (t, e) {
              !(function (e, n) {
                t.exports = n(s, A);
              })(0, function (t) {
                var e, n, r, i;
                return (
                  (t.mode.CTRGladman =
                    ((e = function (t) {
                      if (255 & ~(t >> 24)) t += 1 << 24;
                      else {
                        var e = (t >> 16) & 255,
                          n = (t >> 8) & 255,
                          r = 255 & t;
                        255 === e
                          ? ((e = 0),
                            255 === n
                              ? ((n = 0), 255 === r ? (r = 0) : ++r)
                              : ++n)
                          : ++e,
                          (t = 0),
                          (t += e << 16),
                          (t += n << 8),
                          (t += r);
                      }
                      return t;
                    }),
                    (n = function (t) {
                      return 0 === (t[0] = e(t[0])) && (t[1] = e(t[1])), t;
                    }),
                    (r = t.lib.BlockCipherMode.extend()),
                    (i = r.Encryptor =
                      r.extend({
                        processBlock: function (t, e) {
                          var r = this._cipher,
                            i = r.blockSize,
                            o = this._iv,
                            a = this._counter;
                          o &&
                            ((a = this._counter = o.slice(0)),
                            (this._iv = void 0)),
                            n(a);
                          var s = a.slice(0);
                          r.encryptBlock(s, 0);
                          for (var c = 0; c < i; c++) t[e + c] ^= s[c];
                        },
                      })),
                    (r.Decryptor = i),
                    r)),
                  t.mode.CTRGladman
                );
              });
            }),
            P = o(function (t, e) {
              !(function (e, n) {
                t.exports = n(s, A);
              })(0, function (t) {
                var e, n;
                return (
                  (t.mode.OFB =
                    ((e = t.lib.BlockCipherMode.extend()),
                    (n = e.Encryptor =
                      e.extend({
                        processBlock: function (t, e) {
                          var n = this._cipher,
                            r = n.blockSize,
                            i = this._iv,
                            o = this._keystream;
                          i &&
                            ((o = this._keystream = i.slice(0)),
                            (this._iv = void 0)),
                            n.encryptBlock(o, 0);
                          for (var a = 0; a < r; a++) t[e + a] ^= o[a];
                        },
                      })),
                    (e.Decryptor = n),
                    e)),
                  t.mode.OFB
                );
              });
            }),
            x = o(function (t, e) {
              !(function (e, n) {
                t.exports = n(s, A);
              })(0, function (t) {
                var e;
                return (
                  (t.mode.ECB =
                    (((e = t.lib.BlockCipherMode.extend()).Encryptor = e.extend(
                      {
                        processBlock: function (t, e) {
                          this._cipher.encryptBlock(t, e);
                        },
                      }
                    )),
                    (e.Decryptor = e.extend({
                      processBlock: function (t, e) {
                        this._cipher.decryptBlock(t, e);
                      },
                    })),
                    e)),
                  t.mode.ECB
                );
              });
            }),
            k = o(function (t, e) {
              !(function (e, n) {
                t.exports = n(s, A);
              })(0, function (t) {
                return (
                  (t.pad.AnsiX923 = {
                    pad: function (t, e) {
                      var n = t.sigBytes,
                        r = 4 * e,
                        i = r - (n % r),
                        o = n + i - 1;
                      t.clamp(),
                        (t.words[o >>> 2] |= i << (24 - (o % 4) * 8)),
                        (t.sigBytes += i);
                    },
                    unpad: function (t) {
                      var e = 255 & t.words[(t.sigBytes - 1) >>> 2];
                      t.sigBytes -= e;
                    },
                  }),
                  t.pad.Ansix923
                );
              });
            }),
            I = o(function (t, e) {
              !(function (e, n) {
                t.exports = n(s, A);
              })(0, function (t) {
                return (
                  (t.pad.Iso10126 = {
                    pad: function (e, n) {
                      var r = 4 * n,
                        i = r - (e.sigBytes % r);
                      e.concat(t.lib.WordArray.random(i - 1)).concat(
                        t.lib.WordArray.create([i << 24], 1)
                      );
                    },
                    unpad: function (t) {
                      var e = 255 & t.words[(t.sigBytes - 1) >>> 2];
                      t.sigBytes -= e;
                    },
                  }),
                  t.pad.Iso10126
                );
              });
            }),
            j = o(function (t, e) {
              !(function (e, n) {
                t.exports = n(s, A);
              })(0, function (t) {
                return (
                  (t.pad.Iso97971 = {
                    pad: function (e, n) {
                      e.concat(t.lib.WordArray.create([2147483648], 1)),
                        t.pad.ZeroPadding.pad(e, n);
                    },
                    unpad: function (e) {
                      t.pad.ZeroPadding.unpad(e), e.sigBytes--;
                    },
                  }),
                  t.pad.Iso97971
                );
              });
            }),
            R = o(function (t, e) {
              !(function (e, n) {
                t.exports = n(s, A);
              })(0, function (t) {
                return (
                  (t.pad.ZeroPadding = {
                    pad: function (t, e) {
                      var n = 4 * e;
                      t.clamp(), (t.sigBytes += n - (t.sigBytes % n || n));
                    },
                    unpad: function (t) {
                      var e = t.words,
                        n = t.sigBytes - 1;
                      for (n = t.sigBytes - 1; n >= 0; n--)
                        if ((e[n >>> 2] >>> (24 - (n % 4) * 8)) & 255) {
                          t.sigBytes = n + 1;
                          break;
                        }
                    },
                  }),
                  t.pad.ZeroPadding
                );
              });
            }),
            D = o(function (t, e) {
              !(function (e, n) {
                t.exports = n(s, A);
              })(0, function (t) {
                return (
                  (t.pad.NoPadding = {
                    pad: function () {},
                    unpad: function () {},
                  }),
                  t.pad.NoPadding
                );
              });
            }),
            L = o(function (t, e) {
              !(function (e, n) {
                t.exports = n(s, A);
              })(0, function (t) {
                var e, n, r;
                return (
                  (n = (e = t).lib.CipherParams),
                  (r = e.enc.Hex),
                  (e.format.Hex = {
                    stringify: function (t) {
                      return t.ciphertext.toString(r);
                    },
                    parse: function (t) {
                      var e = r.parse(t);
                      return n.create({ ciphertext: e });
                    },
                  }),
                  t.format.Hex
                );
              });
            }),
            M = o(function (t, e) {
              !(function (e, n) {
                t.exports = n(s, d, p, E, A);
              })(0, function (t) {
                return (
                  (function () {
                    var e = t,
                      n = e.lib.BlockCipher,
                      r = e.algo,
                      i = [],
                      o = [],
                      a = [],
                      s = [],
                      c = [],
                      l = [],
                      u = [],
                      f = [],
                      d = [],
                      h = [];
                    !(function () {
                      for (var t = [], e = 0; e < 256; e++)
                        t[e] = e < 128 ? e << 1 : (e << 1) ^ 283;
                      var n = 0,
                        r = 0;
                      for (e = 0; e < 256; e++) {
                        var p = r ^ (r << 1) ^ (r << 2) ^ (r << 3) ^ (r << 4);
                        (p = (p >>> 8) ^ (255 & p) ^ 99),
                          (i[n] = p),
                          (o[p] = n);
                        var m = t[n],
                          v = t[m],
                          g = t[v],
                          y = (257 * t[p]) ^ (16843008 * p);
                        (a[n] = (y << 24) | (y >>> 8)),
                          (s[n] = (y << 16) | (y >>> 16)),
                          (c[n] = (y << 8) | (y >>> 24)),
                          (l[n] = y),
                          (y =
                            (16843009 * g) ^
                            (65537 * v) ^
                            (257 * m) ^
                            (16843008 * n)),
                          (u[p] = (y << 24) | (y >>> 8)),
                          (f[p] = (y << 16) | (y >>> 16)),
                          (d[p] = (y << 8) | (y >>> 24)),
                          (h[p] = y),
                          n
                            ? ((n = m ^ t[t[t[g ^ m]]]), (r ^= t[t[r]]))
                            : (n = r = 1);
                      }
                    })();
                    var p = [0, 1, 2, 4, 8, 16, 32, 64, 128, 27, 54],
                      m = (r.AES = n.extend({
                        _doReset: function () {
                          if (
                            !this._nRounds ||
                            this._keyPriorReset !== this._key
                          ) {
                            for (
                              var t = (this._keyPriorReset = this._key),
                                e = t.words,
                                n = t.sigBytes / 4,
                                r = 4 * ((this._nRounds = n + 6) + 1),
                                o = (this._keySchedule = []),
                                a = 0;
                              a < r;
                              a++
                            )
                              a < n
                                ? (o[a] = e[a])
                                : ((l = o[a - 1]),
                                  a % n
                                    ? n > 6 &&
                                      a % n == 4 &&
                                      (l =
                                        (i[l >>> 24] << 24) |
                                        (i[(l >>> 16) & 255] << 16) |
                                        (i[(l >>> 8) & 255] << 8) |
                                        i[255 & l])
                                    : ((l =
                                        (i[
                                          (l = (l << 8) | (l >>> 24)) >>> 24
                                        ] <<
                                          24) |
                                        (i[(l >>> 16) & 255] << 16) |
                                        (i[(l >>> 8) & 255] << 8) |
                                        i[255 & l]),
                                      (l ^= p[(a / n) | 0] << 24)),
                                  (o[a] = o[a - n] ^ l));
                            for (
                              var s = (this._invKeySchedule = []), c = 0;
                              c < r;
                              c++
                            ) {
                              if (((a = r - c), c % 4)) var l = o[a];
                              else l = o[a - 4];
                              s[c] =
                                c < 4 || a <= 4
                                  ? l
                                  : u[i[l >>> 24]] ^
                                    f[i[(l >>> 16) & 255]] ^
                                    d[i[(l >>> 8) & 255]] ^
                                    h[i[255 & l]];
                            }
                          }
                        },
                        encryptBlock: function (t, e) {
                          this._doCryptBlock(
                            t,
                            e,
                            this._keySchedule,
                            a,
                            s,
                            c,
                            l,
                            i
                          );
                        },
                        decryptBlock: function (t, e) {
                          var n = t[e + 1];
                          (t[e + 1] = t[e + 3]),
                            (t[e + 3] = n),
                            this._doCryptBlock(
                              t,
                              e,
                              this._invKeySchedule,
                              u,
                              f,
                              d,
                              h,
                              o
                            ),
                            (n = t[e + 1]),
                            (t[e + 1] = t[e + 3]),
                            (t[e + 3] = n);
                        },
                        _doCryptBlock: function (t, e, n, r, i, o, a, s) {
                          for (
                            var c = this._nRounds,
                              l = t[e] ^ n[0],
                              u = t[e + 1] ^ n[1],
                              f = t[e + 2] ^ n[2],
                              d = t[e + 3] ^ n[3],
                              h = 4,
                              p = 1;
                            p < c;
                            p++
                          ) {
                            var m =
                                r[l >>> 24] ^
                                i[(u >>> 16) & 255] ^
                                o[(f >>> 8) & 255] ^
                                a[255 & d] ^
                                n[h++],
                              v =
                                r[u >>> 24] ^
                                i[(f >>> 16) & 255] ^
                                o[(d >>> 8) & 255] ^
                                a[255 & l] ^
                                n[h++],
                              g =
                                r[f >>> 24] ^
                                i[(d >>> 16) & 255] ^
                                o[(l >>> 8) & 255] ^
                                a[255 & u] ^
                                n[h++],
                              y =
                                r[d >>> 24] ^
                                i[(l >>> 16) & 255] ^
                                o[(u >>> 8) & 255] ^
                                a[255 & f] ^
                                n[h++];
                            (l = m), (u = v), (f = g), (d = y);
                          }
                          (m =
                            ((s[l >>> 24] << 24) |
                              (s[(u >>> 16) & 255] << 16) |
                              (s[(f >>> 8) & 255] << 8) |
                              s[255 & d]) ^
                            n[h++]),
                            (v =
                              ((s[u >>> 24] << 24) |
                                (s[(f >>> 16) & 255] << 16) |
                                (s[(d >>> 8) & 255] << 8) |
                                s[255 & l]) ^
                              n[h++]),
                            (g =
                              ((s[f >>> 24] << 24) |
                                (s[(d >>> 16) & 255] << 16) |
                                (s[(l >>> 8) & 255] << 8) |
                                s[255 & u]) ^
                              n[h++]),
                            (y =
                              ((s[d >>> 24] << 24) |
                                (s[(l >>> 16) & 255] << 16) |
                                (s[(u >>> 8) & 255] << 8) |
                                s[255 & f]) ^
                              n[h++]),
                            (t[e] = m),
                            (t[e + 1] = v),
                            (t[e + 2] = g),
                            (t[e + 3] = y);
                        },
                        keySize: 8,
                      }));
                    e.AES = n._createHelper(m);
                  })(),
                  t.AES
                );
              });
            }),
            N = o(function (t, e) {
              !(function (e, n) {
                t.exports = n(s, d, p, E, A);
              })(0, function (t) {
                return (
                  (function () {
                    var e = function (t, e) {
                        var n = ((this._lBlock >>> t) ^ this._rBlock) & e;
                        (this._rBlock ^= n), (this._lBlock ^= n << t);
                      },
                      n = function (t, e) {
                        var n = ((this._rBlock >>> t) ^ this._lBlock) & e;
                        (this._lBlock ^= n), (this._rBlock ^= n << t);
                      },
                      r = t,
                      i = r.lib,
                      o = i.WordArray,
                      a = i.BlockCipher,
                      s = r.algo,
                      c = [
                        57, 49, 41, 33, 25, 17, 9, 1, 58, 50, 42, 34, 26, 18,
                        10, 2, 59, 51, 43, 35, 27, 19, 11, 3, 60, 52, 44, 36,
                        63, 55, 47, 39, 31, 23, 15, 7, 62, 54, 46, 38, 30, 22,
                        14, 6, 61, 53, 45, 37, 29, 21, 13, 5, 28, 20, 12, 4,
                      ],
                      l = [
                        14, 17, 11, 24, 1, 5, 3, 28, 15, 6, 21, 10, 23, 19, 12,
                        4, 26, 8, 16, 7, 27, 20, 13, 2, 41, 52, 31, 37, 47, 55,
                        30, 40, 51, 45, 33, 48, 44, 49, 39, 56, 34, 53, 46, 42,
                        50, 36, 29, 32,
                      ],
                      u = [
                        1, 2, 4, 6, 8, 10, 12, 14, 15, 17, 19, 21, 23, 25, 27,
                        28,
                      ],
                      f = [
                        {
                          0: 8421888,
                          268435456: 32768,
                          536870912: 8421378,
                          805306368: 2,
                          1073741824: 512,
                          1342177280: 8421890,
                          1610612736: 8389122,
                          1879048192: 8388608,
                          2147483648: 514,
                          2415919104: 8389120,
                          2684354560: 33280,
                          2952790016: 8421376,
                          3221225472: 32770,
                          3489660928: 8388610,
                          3758096384: 0,
                          4026531840: 33282,
                          134217728: 0,
                          402653184: 8421890,
                          671088640: 33282,
                          939524096: 32768,
                          1207959552: 8421888,
                          1476395008: 512,
                          1744830464: 8421378,
                          2013265920: 2,
                          2281701376: 8389120,
                          2550136832: 33280,
                          2818572288: 8421376,
                          3087007744: 8389122,
                          3355443200: 8388610,
                          3623878656: 32770,
                          3892314112: 514,
                          4160749568: 8388608,
                          1: 32768,
                          268435457: 2,
                          536870913: 8421888,
                          805306369: 8388608,
                          1073741825: 8421378,
                          1342177281: 33280,
                          1610612737: 512,
                          1879048193: 8389122,
                          2147483649: 8421890,
                          2415919105: 8421376,
                          2684354561: 8388610,
                          2952790017: 33282,
                          3221225473: 514,
                          3489660929: 8389120,
                          3758096385: 32770,
                          4026531841: 0,
                          134217729: 8421890,
                          402653185: 8421376,
                          671088641: 8388608,
                          939524097: 512,
                          1207959553: 32768,
                          1476395009: 8388610,
                          1744830465: 2,
                          2013265921: 33282,
                          2281701377: 32770,
                          2550136833: 8389122,
                          2818572289: 514,
                          3087007745: 8421888,
                          3355443201: 8389120,
                          3623878657: 0,
                          3892314113: 33280,
                          4160749569: 8421378,
                        },
                        {
                          0: 1074282512,
                          16777216: 16384,
                          33554432: 524288,
                          50331648: 1074266128,
                          67108864: 1073741840,
                          83886080: 1074282496,
                          100663296: 1073758208,
                          117440512: 16,
                          134217728: 540672,
                          150994944: 1073758224,
                          167772160: 1073741824,
                          184549376: 540688,
                          201326592: 524304,
                          218103808: 0,
                          234881024: 16400,
                          251658240: 1074266112,
                          8388608: 1073758208,
                          25165824: 540688,
                          41943040: 16,
                          58720256: 1073758224,
                          75497472: 1074282512,
                          92274688: 1073741824,
                          109051904: 524288,
                          125829120: 1074266128,
                          142606336: 524304,
                          159383552: 0,
                          176160768: 16384,
                          192937984: 1074266112,
                          209715200: 1073741840,
                          226492416: 540672,
                          243269632: 1074282496,
                          260046848: 16400,
                          268435456: 0,
                          285212672: 1074266128,
                          301989888: 1073758224,
                          318767104: 1074282496,
                          335544320: 1074266112,
                          352321536: 16,
                          369098752: 540688,
                          385875968: 16384,
                          402653184: 16400,
                          419430400: 524288,
                          436207616: 524304,
                          452984832: 1073741840,
                          469762048: 540672,
                          486539264: 1073758208,
                          503316480: 1073741824,
                          520093696: 1074282512,
                          276824064: 540688,
                          293601280: 524288,
                          310378496: 1074266112,
                          327155712: 16384,
                          343932928: 1073758208,
                          360710144: 1074282512,
                          377487360: 16,
                          394264576: 1073741824,
                          411041792: 1074282496,
                          427819008: 1073741840,
                          444596224: 1073758224,
                          461373440: 524304,
                          478150656: 0,
                          494927872: 16400,
                          511705088: 1074266128,
                          528482304: 540672,
                        },
                        {
                          0: 260,
                          1048576: 0,
                          2097152: 67109120,
                          3145728: 65796,
                          4194304: 65540,
                          5242880: 67108868,
                          6291456: 67174660,
                          7340032: 67174400,
                          8388608: 67108864,
                          9437184: 67174656,
                          10485760: 65792,
                          11534336: 67174404,
                          12582912: 67109124,
                          13631488: 65536,
                          14680064: 4,
                          15728640: 256,
                          524288: 67174656,
                          1572864: 67174404,
                          2621440: 0,
                          3670016: 67109120,
                          4718592: 67108868,
                          5767168: 65536,
                          6815744: 65540,
                          7864320: 260,
                          8912896: 4,
                          9961472: 256,
                          11010048: 67174400,
                          12058624: 65796,
                          13107200: 65792,
                          14155776: 67109124,
                          15204352: 67174660,
                          16252928: 67108864,
                          16777216: 67174656,
                          17825792: 65540,
                          18874368: 65536,
                          19922944: 67109120,
                          20971520: 256,
                          22020096: 67174660,
                          23068672: 67108868,
                          24117248: 0,
                          25165824: 67109124,
                          26214400: 67108864,
                          27262976: 4,
                          28311552: 65792,
                          29360128: 67174400,
                          30408704: 260,
                          31457280: 65796,
                          32505856: 67174404,
                          17301504: 67108864,
                          18350080: 260,
                          19398656: 67174656,
                          20447232: 0,
                          21495808: 65540,
                          22544384: 67109120,
                          23592960: 256,
                          24641536: 67174404,
                          25690112: 65536,
                          26738688: 67174660,
                          27787264: 65796,
                          28835840: 67108868,
                          29884416: 67109124,
                          30932992: 67174400,
                          31981568: 4,
                          33030144: 65792,
                        },
                        {
                          0: 2151682048,
                          65536: 2147487808,
                          131072: 4198464,
                          196608: 2151677952,
                          262144: 0,
                          327680: 4198400,
                          393216: 2147483712,
                          458752: 4194368,
                          524288: 2147483648,
                          589824: 4194304,
                          655360: 64,
                          720896: 2147487744,
                          786432: 2151678016,
                          851968: 4160,
                          917504: 4096,
                          983040: 2151682112,
                          32768: 2147487808,
                          98304: 64,
                          163840: 2151678016,
                          229376: 2147487744,
                          294912: 4198400,
                          360448: 2151682112,
                          425984: 0,
                          491520: 2151677952,
                          557056: 4096,
                          622592: 2151682048,
                          688128: 4194304,
                          753664: 4160,
                          819200: 2147483648,
                          884736: 4194368,
                          950272: 4198464,
                          1015808: 2147483712,
                          1048576: 4194368,
                          1114112: 4198400,
                          1179648: 2147483712,
                          1245184: 0,
                          1310720: 4160,
                          1376256: 2151678016,
                          1441792: 2151682048,
                          1507328: 2147487808,
                          1572864: 2151682112,
                          1638400: 2147483648,
                          1703936: 2151677952,
                          1769472: 4198464,
                          1835008: 2147487744,
                          1900544: 4194304,
                          1966080: 64,
                          2031616: 4096,
                          1081344: 2151677952,
                          1146880: 2151682112,
                          1212416: 0,
                          1277952: 4198400,
                          1343488: 4194368,
                          1409024: 2147483648,
                          1474560: 2147487808,
                          1540096: 64,
                          1605632: 2147483712,
                          1671168: 4096,
                          1736704: 2147487744,
                          1802240: 2151678016,
                          1867776: 4160,
                          1933312: 2151682048,
                          1998848: 4194304,
                          2064384: 4198464,
                        },
                        {
                          0: 128,
                          4096: 17039360,
                          8192: 262144,
                          12288: 536870912,
                          16384: 537133184,
                          20480: 16777344,
                          24576: 553648256,
                          28672: 262272,
                          32768: 16777216,
                          36864: 537133056,
                          40960: 536871040,
                          45056: 553910400,
                          49152: 553910272,
                          53248: 0,
                          57344: 17039488,
                          61440: 553648128,
                          2048: 17039488,
                          6144: 553648256,
                          10240: 128,
                          14336: 17039360,
                          18432: 262144,
                          22528: 537133184,
                          26624: 553910272,
                          30720: 536870912,
                          34816: 537133056,
                          38912: 0,
                          43008: 553910400,
                          47104: 16777344,
                          51200: 536871040,
                          55296: 553648128,
                          59392: 16777216,
                          63488: 262272,
                          65536: 262144,
                          69632: 128,
                          73728: 536870912,
                          77824: 553648256,
                          81920: 16777344,
                          86016: 553910272,
                          90112: 537133184,
                          94208: 16777216,
                          98304: 553910400,
                          102400: 553648128,
                          106496: 17039360,
                          110592: 537133056,
                          114688: 262272,
                          118784: 536871040,
                          122880: 0,
                          126976: 17039488,
                          67584: 553648256,
                          71680: 16777216,
                          75776: 17039360,
                          79872: 537133184,
                          83968: 536870912,
                          88064: 17039488,
                          92160: 128,
                          96256: 553910272,
                          100352: 262272,
                          104448: 553910400,
                          108544: 0,
                          112640: 553648128,
                          116736: 16777344,
                          120832: 262144,
                          124928: 537133056,
                          129024: 536871040,
                        },
                        {
                          0: 268435464,
                          256: 8192,
                          512: 270532608,
                          768: 270540808,
                          1024: 268443648,
                          1280: 2097152,
                          1536: 2097160,
                          1792: 268435456,
                          2048: 0,
                          2304: 268443656,
                          2560: 2105344,
                          2816: 8,
                          3072: 270532616,
                          3328: 2105352,
                          3584: 8200,
                          3840: 270540800,
                          128: 270532608,
                          384: 270540808,
                          640: 8,
                          896: 2097152,
                          1152: 2105352,
                          1408: 268435464,
                          1664: 268443648,
                          1920: 8200,
                          2176: 2097160,
                          2432: 8192,
                          2688: 268443656,
                          2944: 270532616,
                          3200: 0,
                          3456: 270540800,
                          3712: 2105344,
                          3968: 268435456,
                          4096: 268443648,
                          4352: 270532616,
                          4608: 270540808,
                          4864: 8200,
                          5120: 2097152,
                          5376: 268435456,
                          5632: 268435464,
                          5888: 2105344,
                          6144: 2105352,
                          6400: 0,
                          6656: 8,
                          6912: 270532608,
                          7168: 8192,
                          7424: 268443656,
                          7680: 270540800,
                          7936: 2097160,
                          4224: 8,
                          4480: 2105344,
                          4736: 2097152,
                          4992: 268435464,
                          5248: 268443648,
                          5504: 8200,
                          5760: 270540808,
                          6016: 270532608,
                          6272: 270540800,
                          6528: 270532616,
                          6784: 8192,
                          7040: 2105352,
                          7296: 2097160,
                          7552: 0,
                          7808: 268435456,
                          8064: 268443656,
                        },
                        {
                          0: 1048576,
                          16: 33555457,
                          32: 1024,
                          48: 1049601,
                          64: 34604033,
                          80: 0,
                          96: 1,
                          112: 34603009,
                          128: 33555456,
                          144: 1048577,
                          160: 33554433,
                          176: 34604032,
                          192: 34603008,
                          208: 1025,
                          224: 1049600,
                          240: 33554432,
                          8: 34603009,
                          24: 0,
                          40: 33555457,
                          56: 34604032,
                          72: 1048576,
                          88: 33554433,
                          104: 33554432,
                          120: 1025,
                          136: 1049601,
                          152: 33555456,
                          168: 34603008,
                          184: 1048577,
                          200: 1024,
                          216: 34604033,
                          232: 1,
                          248: 1049600,
                          256: 33554432,
                          272: 1048576,
                          288: 33555457,
                          304: 34603009,
                          320: 1048577,
                          336: 33555456,
                          352: 34604032,
                          368: 1049601,
                          384: 1025,
                          400: 34604033,
                          416: 1049600,
                          432: 1,
                          448: 0,
                          464: 34603008,
                          480: 33554433,
                          496: 1024,
                          264: 1049600,
                          280: 33555457,
                          296: 34603009,
                          312: 1,
                          328: 33554432,
                          344: 1048576,
                          360: 1025,
                          376: 34604032,
                          392: 33554433,
                          408: 34603008,
                          424: 0,
                          440: 34604033,
                          456: 1049601,
                          472: 1024,
                          488: 33555456,
                          504: 1048577,
                        },
                        {
                          0: 134219808,
                          1: 131072,
                          2: 134217728,
                          3: 32,
                          4: 131104,
                          5: 134350880,
                          6: 134350848,
                          7: 2048,
                          8: 134348800,
                          9: 134219776,
                          10: 133120,
                          11: 134348832,
                          12: 2080,
                          13: 0,
                          14: 134217760,
                          15: 133152,
                          2147483648: 2048,
                          2147483649: 134350880,
                          2147483650: 134219808,
                          2147483651: 134217728,
                          2147483652: 134348800,
                          2147483653: 133120,
                          2147483654: 133152,
                          2147483655: 32,
                          2147483656: 134217760,
                          2147483657: 2080,
                          2147483658: 131104,
                          2147483659: 134350848,
                          2147483660: 0,
                          2147483661: 134348832,
                          2147483662: 134219776,
                          2147483663: 131072,
                          16: 133152,
                          17: 134350848,
                          18: 32,
                          19: 2048,
                          20: 134219776,
                          21: 134217760,
                          22: 134348832,
                          23: 131072,
                          24: 0,
                          25: 131104,
                          26: 134348800,
                          27: 134219808,
                          28: 134350880,
                          29: 133120,
                          30: 2080,
                          31: 134217728,
                          2147483664: 131072,
                          2147483665: 2048,
                          2147483666: 134348832,
                          2147483667: 133152,
                          2147483668: 32,
                          2147483669: 134348800,
                          2147483670: 134217728,
                          2147483671: 134219808,
                          2147483672: 134350880,
                          2147483673: 134217760,
                          2147483674: 134219776,
                          2147483675: 0,
                          2147483676: 133120,
                          2147483677: 2080,
                          2147483678: 131104,
                          2147483679: 134350848,
                        },
                      ],
                      d = [
                        4160749569, 528482304, 33030144, 2064384, 129024, 8064,
                        504, 2147483679,
                      ],
                      h = (s.DES = a.extend({
                        _doReset: function () {
                          for (
                            var t = this._key.words, e = [], n = 0;
                            n < 56;
                            n++
                          ) {
                            var r = c[n] - 1;
                            e[n] = (t[r >>> 5] >>> (31 - (r % 32))) & 1;
                          }
                          for (
                            var i = (this._subKeys = []), o = 0;
                            o < 16;
                            o++
                          ) {
                            var a = (i[o] = []),
                              s = u[o];
                            for (n = 0; n < 24; n++)
                              (a[(n / 6) | 0] |=
                                e[(l[n] - 1 + s) % 28] << (31 - (n % 6))),
                                (a[4 + ((n / 6) | 0)] |=
                                  e[28 + ((l[n + 24] - 1 + s) % 28)] <<
                                  (31 - (n % 6)));
                            for (
                              a[0] = (a[0] << 1) | (a[0] >>> 31), n = 1;
                              n < 7;
                              n++
                            )
                              a[n] = a[n] >>> (4 * (n - 1) + 3);
                            a[7] = (a[7] << 5) | (a[7] >>> 27);
                          }
                          var f = (this._invSubKeys = []);
                          for (n = 0; n < 16; n++) f[n] = i[15 - n];
                        },
                        encryptBlock: function (t, e) {
                          this._doCryptBlock(t, e, this._subKeys);
                        },
                        decryptBlock: function (t, e) {
                          this._doCryptBlock(t, e, this._invSubKeys);
                        },
                        _doCryptBlock: function (t, r, i) {
                          (this._lBlock = t[r]),
                            (this._rBlock = t[r + 1]),
                            e.call(this, 4, 252645135),
                            e.call(this, 16, 65535),
                            n.call(this, 2, 858993459),
                            n.call(this, 8, 16711935),
                            e.call(this, 1, 1431655765);
                          for (var o = 0; o < 16; o++) {
                            for (
                              var a = i[o],
                                s = this._lBlock,
                                c = this._rBlock,
                                l = 0,
                                u = 0;
                              u < 8;
                              u++
                            )
                              l |= f[u][((c ^ a[u]) & d[u]) >>> 0];
                            (this._lBlock = c), (this._rBlock = s ^ l);
                          }
                          var h = this._lBlock;
                          (this._lBlock = this._rBlock),
                            (this._rBlock = h),
                            e.call(this, 1, 1431655765),
                            n.call(this, 8, 16711935),
                            n.call(this, 2, 858993459),
                            e.call(this, 16, 65535),
                            e.call(this, 4, 252645135),
                            (t[r] = this._lBlock),
                            (t[r + 1] = this._rBlock);
                        },
                        keySize: 2,
                        ivSize: 2,
                        blockSize: 2,
                      }));
                    r.DES = a._createHelper(h);
                    var p = (s.TripleDES = a.extend({
                      _doReset: function () {
                        var t = this._key.words;
                        if (2 !== t.length && 4 !== t.length && t.length < 6)
                          throw new Error(
                            "Invalid key length - 3DES requires the key length to be 64, 128, 192 or >192."
                          );
                        var e = t.slice(0, 2),
                          n = t.length < 4 ? t.slice(0, 2) : t.slice(2, 4),
                          r = t.length < 6 ? t.slice(0, 2) : t.slice(4, 6);
                        (this._des1 = h.createEncryptor(o.create(e))),
                          (this._des2 = h.createEncryptor(o.create(n))),
                          (this._des3 = h.createEncryptor(o.create(r)));
                      },
                      encryptBlock: function (t, e) {
                        this._des1.encryptBlock(t, e),
                          this._des2.decryptBlock(t, e),
                          this._des3.encryptBlock(t, e);
                      },
                      decryptBlock: function (t, e) {
                        this._des3.decryptBlock(t, e),
                          this._des2.encryptBlock(t, e),
                          this._des1.decryptBlock(t, e);
                      },
                      keySize: 6,
                      ivSize: 2,
                      blockSize: 2,
                    }));
                    r.TripleDES = a._createHelper(p);
                  })(),
                  t.TripleDES
                );
              });
            }),
            $ = o(function (t, e) {
              !(function (e, n) {
                t.exports = n(s, d, p, E, A);
              })(0, function (t) {
                return (
                  (function () {
                    var e = function () {
                        for (
                          var t = this._S,
                            e = this._i,
                            n = this._j,
                            r = 0,
                            i = 0;
                          i < 4;
                          i++
                        ) {
                          n = (n + t[(e = (e + 1) % 256)]) % 256;
                          var o = t[e];
                          (t[e] = t[n]),
                            (t[n] = o),
                            (r |= t[(t[e] + t[n]) % 256] << (24 - 8 * i));
                        }
                        return (this._i = e), (this._j = n), r;
                      },
                      n = t,
                      r = n.lib.StreamCipher,
                      i = n.algo,
                      o = (i.RC4 = r.extend({
                        _doReset: function () {
                          for (
                            var t = this._key,
                              e = t.words,
                              n = t.sigBytes,
                              r = (this._S = []),
                              i = 0;
                            i < 256;
                            i++
                          )
                            r[i] = i;
                          i = 0;
                          for (var o = 0; i < 256; i++) {
                            var a = i % n,
                              s = (e[a >>> 2] >>> (24 - (a % 4) * 8)) & 255;
                            o = (o + r[i] + s) % 256;
                            var c = r[i];
                            (r[i] = r[o]), (r[o] = c);
                          }
                          this._i = this._j = 0;
                        },
                        _doProcessBlock: function (t, n) {
                          t[n] ^= e.call(this);
                        },
                        keySize: 8,
                        ivSize: 0,
                      }));
                    n.RC4 = r._createHelper(o);
                    var a = (i.RC4Drop = o.extend({
                      cfg: o.cfg.extend({ drop: 192 }),
                      _doReset: function () {
                        o._doReset.call(this);
                        for (var t = this.cfg.drop; t > 0; t--) e.call(this);
                      },
                    }));
                    n.RC4Drop = r._createHelper(a);
                  })(),
                  t.RC4
                );
              });
            }),
            B = o(function (t, e) {
              !(function (e, n) {
                t.exports = n(s, d, p, E, A);
              })(0, function (t) {
                var e, n, r, i, o, a, s, c;
                return (
                  (e = function () {
                    for (var t = this._X, e = this._C, n = 0; n < 8; n++)
                      a[n] = e[n];
                    for (
                      e[0] = (e[0] + 1295307597 + this._b) | 0,
                        e[1] =
                          (e[1] +
                            3545052371 +
                            (e[0] >>> 0 < a[0] >>> 0 ? 1 : 0)) |
                          0,
                        e[2] =
                          (e[2] +
                            886263092 +
                            (e[1] >>> 0 < a[1] >>> 0 ? 1 : 0)) |
                          0,
                        e[3] =
                          (e[3] +
                            1295307597 +
                            (e[2] >>> 0 < a[2] >>> 0 ? 1 : 0)) |
                          0,
                        e[4] =
                          (e[4] +
                            3545052371 +
                            (e[3] >>> 0 < a[3] >>> 0 ? 1 : 0)) |
                          0,
                        e[5] =
                          (e[5] +
                            886263092 +
                            (e[4] >>> 0 < a[4] >>> 0 ? 1 : 0)) |
                          0,
                        e[6] =
                          (e[6] +
                            1295307597 +
                            (e[5] >>> 0 < a[5] >>> 0 ? 1 : 0)) |
                          0,
                        e[7] =
                          (e[7] +
                            3545052371 +
                            (e[6] >>> 0 < a[6] >>> 0 ? 1 : 0)) |
                          0,
                        this._b = e[7] >>> 0 < a[7] >>> 0 ? 1 : 0,
                        n = 0;
                      n < 8;
                      n++
                    ) {
                      var r = t[n] + e[n],
                        i = 65535 & r,
                        o = r >>> 16,
                        c = ((((i * i) >>> 17) + i * o) >>> 15) + o * o,
                        l =
                          (((4294901760 & r) * r) | 0) +
                          (((65535 & r) * r) | 0);
                      s[n] = c ^ l;
                    }
                    (t[0] =
                      (s[0] +
                        ((s[7] << 16) | (s[7] >>> 16)) +
                        ((s[6] << 16) | (s[6] >>> 16))) |
                      0),
                      (t[1] =
                        (s[1] + ((s[0] << 8) | (s[0] >>> 24)) + s[7]) | 0),
                      (t[2] =
                        (s[2] +
                          ((s[1] << 16) | (s[1] >>> 16)) +
                          ((s[0] << 16) | (s[0] >>> 16))) |
                        0),
                      (t[3] =
                        (s[3] + ((s[2] << 8) | (s[2] >>> 24)) + s[1]) | 0),
                      (t[4] =
                        (s[4] +
                          ((s[3] << 16) | (s[3] >>> 16)) +
                          ((s[2] << 16) | (s[2] >>> 16))) |
                        0),
                      (t[5] =
                        (s[5] + ((s[4] << 8) | (s[4] >>> 24)) + s[3]) | 0),
                      (t[6] =
                        (s[6] +
                          ((s[5] << 16) | (s[5] >>> 16)) +
                          ((s[4] << 16) | (s[4] >>> 16))) |
                        0),
                      (t[7] =
                        (s[7] + ((s[6] << 8) | (s[6] >>> 24)) + s[5]) | 0);
                  }),
                  (r = (n = t).lib.StreamCipher),
                  (i = n.algo),
                  (o = []),
                  (a = []),
                  (s = []),
                  (c = i.Rabbit =
                    r.extend({
                      _doReset: function () {
                        for (
                          var t = this._key.words, n = this.cfg.iv, r = 0;
                          r < 4;
                          r++
                        )
                          t[r] =
                            (16711935 & ((t[r] << 8) | (t[r] >>> 24))) |
                            (4278255360 & ((t[r] << 24) | (t[r] >>> 8)));
                        var i = (this._X = [
                            t[0],
                            (t[3] << 16) | (t[2] >>> 16),
                            t[1],
                            (t[0] << 16) | (t[3] >>> 16),
                            t[2],
                            (t[1] << 16) | (t[0] >>> 16),
                            t[3],
                            (t[2] << 16) | (t[1] >>> 16),
                          ]),
                          o = (this._C = [
                            (t[2] << 16) | (t[2] >>> 16),
                            (4294901760 & t[0]) | (65535 & t[1]),
                            (t[3] << 16) | (t[3] >>> 16),
                            (4294901760 & t[1]) | (65535 & t[2]),
                            (t[0] << 16) | (t[0] >>> 16),
                            (4294901760 & t[2]) | (65535 & t[3]),
                            (t[1] << 16) | (t[1] >>> 16),
                            (4294901760 & t[3]) | (65535 & t[0]),
                          ]);
                        for (this._b = 0, r = 0; r < 4; r++) e.call(this);
                        for (r = 0; r < 8; r++) o[r] ^= i[(r + 4) & 7];
                        if (n) {
                          var a = n.words,
                            s = a[0],
                            c = a[1],
                            l =
                              (16711935 & ((s << 8) | (s >>> 24))) |
                              (4278255360 & ((s << 24) | (s >>> 8))),
                            u =
                              (16711935 & ((c << 8) | (c >>> 24))) |
                              (4278255360 & ((c << 24) | (c >>> 8))),
                            f = (l >>> 16) | (4294901760 & u),
                            d = (u << 16) | (65535 & l);
                          for (
                            o[0] ^= l,
                              o[1] ^= f,
                              o[2] ^= u,
                              o[3] ^= d,
                              o[4] ^= l,
                              o[5] ^= f,
                              o[6] ^= u,
                              o[7] ^= d,
                              r = 0;
                            r < 4;
                            r++
                          )
                            e.call(this);
                        }
                      },
                      _doProcessBlock: function (t, n) {
                        var r = this._X;
                        e.call(this),
                          (o[0] = r[0] ^ (r[5] >>> 16) ^ (r[3] << 16)),
                          (o[1] = r[2] ^ (r[7] >>> 16) ^ (r[5] << 16)),
                          (o[2] = r[4] ^ (r[1] >>> 16) ^ (r[7] << 16)),
                          (o[3] = r[6] ^ (r[3] >>> 16) ^ (r[1] << 16));
                        for (var i = 0; i < 4; i++)
                          (o[i] =
                            (16711935 & ((o[i] << 8) | (o[i] >>> 24))) |
                            (4278255360 & ((o[i] << 24) | (o[i] >>> 8)))),
                            (t[n + i] ^= o[i]);
                      },
                      blockSize: 4,
                      ivSize: 2,
                    })),
                  (n.Rabbit = r._createHelper(c)),
                  t.Rabbit
                );
              });
            }),
            U = o(function (t, e) {
              !(function (e, n) {
                t.exports = n(s, d, p, E, A);
              })(0, function (t) {
                var e, n, r, i, o, a, s, c;
                return (
                  (e = function () {
                    for (var t = this._X, e = this._C, n = 0; n < 8; n++)
                      a[n] = e[n];
                    for (
                      e[0] = (e[0] + 1295307597 + this._b) | 0,
                        e[1] =
                          (e[1] +
                            3545052371 +
                            (e[0] >>> 0 < a[0] >>> 0 ? 1 : 0)) |
                          0,
                        e[2] =
                          (e[2] +
                            886263092 +
                            (e[1] >>> 0 < a[1] >>> 0 ? 1 : 0)) |
                          0,
                        e[3] =
                          (e[3] +
                            1295307597 +
                            (e[2] >>> 0 < a[2] >>> 0 ? 1 : 0)) |
                          0,
                        e[4] =
                          (e[4] +
                            3545052371 +
                            (e[3] >>> 0 < a[3] >>> 0 ? 1 : 0)) |
                          0,
                        e[5] =
                          (e[5] +
                            886263092 +
                            (e[4] >>> 0 < a[4] >>> 0 ? 1 : 0)) |
                          0,
                        e[6] =
                          (e[6] +
                            1295307597 +
                            (e[5] >>> 0 < a[5] >>> 0 ? 1 : 0)) |
                          0,
                        e[7] =
                          (e[7] +
                            3545052371 +
                            (e[6] >>> 0 < a[6] >>> 0 ? 1 : 0)) |
                          0,
                        this._b = e[7] >>> 0 < a[7] >>> 0 ? 1 : 0,
                        n = 0;
                      n < 8;
                      n++
                    ) {
                      var r = t[n] + e[n],
                        i = 65535 & r,
                        o = r >>> 16,
                        c = ((((i * i) >>> 17) + i * o) >>> 15) + o * o,
                        l =
                          (((4294901760 & r) * r) | 0) +
                          (((65535 & r) * r) | 0);
                      s[n] = c ^ l;
                    }
                    (t[0] =
                      (s[0] +
                        ((s[7] << 16) | (s[7] >>> 16)) +
                        ((s[6] << 16) | (s[6] >>> 16))) |
                      0),
                      (t[1] =
                        (s[1] + ((s[0] << 8) | (s[0] >>> 24)) + s[7]) | 0),
                      (t[2] =
                        (s[2] +
                          ((s[1] << 16) | (s[1] >>> 16)) +
                          ((s[0] << 16) | (s[0] >>> 16))) |
                        0),
                      (t[3] =
                        (s[3] + ((s[2] << 8) | (s[2] >>> 24)) + s[1]) | 0),
                      (t[4] =
                        (s[4] +
                          ((s[3] << 16) | (s[3] >>> 16)) +
                          ((s[2] << 16) | (s[2] >>> 16))) |
                        0),
                      (t[5] =
                        (s[5] + ((s[4] << 8) | (s[4] >>> 24)) + s[3]) | 0),
                      (t[6] =
                        (s[6] +
                          ((s[5] << 16) | (s[5] >>> 16)) +
                          ((s[4] << 16) | (s[4] >>> 16))) |
                        0),
                      (t[7] =
                        (s[7] + ((s[6] << 8) | (s[6] >>> 24)) + s[5]) | 0);
                  }),
                  (r = (n = t).lib.StreamCipher),
                  (i = n.algo),
                  (o = []),
                  (a = []),
                  (s = []),
                  (c = i.RabbitLegacy =
                    r.extend({
                      _doReset: function () {
                        var t = this._key.words,
                          n = this.cfg.iv,
                          r = (this._X = [
                            t[0],
                            (t[3] << 16) | (t[2] >>> 16),
                            t[1],
                            (t[0] << 16) | (t[3] >>> 16),
                            t[2],
                            (t[1] << 16) | (t[0] >>> 16),
                            t[3],
                            (t[2] << 16) | (t[1] >>> 16),
                          ]),
                          i = (this._C = [
                            (t[2] << 16) | (t[2] >>> 16),
                            (4294901760 & t[0]) | (65535 & t[1]),
                            (t[3] << 16) | (t[3] >>> 16),
                            (4294901760 & t[1]) | (65535 & t[2]),
                            (t[0] << 16) | (t[0] >>> 16),
                            (4294901760 & t[2]) | (65535 & t[3]),
                            (t[1] << 16) | (t[1] >>> 16),
                            (4294901760 & t[3]) | (65535 & t[0]),
                          ]);
                        this._b = 0;
                        for (var o = 0; o < 4; o++) e.call(this);
                        for (o = 0; o < 8; o++) i[o] ^= r[(o + 4) & 7];
                        if (n) {
                          var a = n.words,
                            s = a[0],
                            c = a[1],
                            l =
                              (16711935 & ((s << 8) | (s >>> 24))) |
                              (4278255360 & ((s << 24) | (s >>> 8))),
                            u =
                              (16711935 & ((c << 8) | (c >>> 24))) |
                              (4278255360 & ((c << 24) | (c >>> 8))),
                            f = (l >>> 16) | (4294901760 & u),
                            d = (u << 16) | (65535 & l);
                          for (
                            i[0] ^= l,
                              i[1] ^= f,
                              i[2] ^= u,
                              i[3] ^= d,
                              i[4] ^= l,
                              i[5] ^= f,
                              i[6] ^= u,
                              i[7] ^= d,
                              o = 0;
                            o < 4;
                            o++
                          )
                            e.call(this);
                        }
                      },
                      _doProcessBlock: function (t, n) {
                        var r = this._X;
                        e.call(this),
                          (o[0] = r[0] ^ (r[5] >>> 16) ^ (r[3] << 16)),
                          (o[1] = r[2] ^ (r[7] >>> 16) ^ (r[5] << 16)),
                          (o[2] = r[4] ^ (r[1] >>> 16) ^ (r[7] << 16)),
                          (o[3] = r[6] ^ (r[3] >>> 16) ^ (r[1] << 16));
                        for (var i = 0; i < 4; i++)
                          (o[i] =
                            (16711935 & ((o[i] << 8) | (o[i] >>> 24))) |
                            (4278255360 & ((o[i] << 24) | (o[i] >>> 8)))),
                            (t[n + i] ^= o[i]);
                      },
                      blockSize: 4,
                      ivSize: 2,
                    })),
                  (n.RabbitLegacy = r._createHelper(c)),
                  t.RabbitLegacy
                );
              });
            }),
            F = o(function (t, e) {
              !(function (e, n) {
                t.exports = n(
                  s,
                  c,
                  u,
                  f,
                  d,
                  h,
                  p,
                  m,
                  v,
                  g,
                  y,
                  b,
                  V,
                  _,
                  w,
                  S,
                  E,
                  A,
                  T,
                  O,
                  C,
                  P,
                  x,
                  k,
                  I,
                  j,
                  R,
                  D,
                  L,
                  M,
                  N,
                  $,
                  B,
                  U
                );
              })(0, function (t) {
                return t;
              });
            });
          return F;
        })();
      },
      82410: (t, e, n) => {
        "use strict";
        n.d(e, { k: () => r });
        var r = {
          SET_CURRENT_USER: "setCurrentUser",
          SET_CURRENT_PROJECT: "setCurrentProject",
          UPDATE_PAGE: "updatePage",
          GET_PROJECT_PAGES: "getProjectPages",
          GET_SYSTEM_CONSTANTS: "getSystemConstants",
          SET_CURRENT_PAGE: "setCurrentPage",
          CLEAR_CURRENT_PAGE: "clearCurrentPage",
          CLEAR_PAGE_BY_ID: "clearPageById",
          SET_PAGE_LOADED: "setPageLoaded",
          SET_PAGE_CONFIG: "setPageConfig",
          SET_CARD_TO_PAGE: "setCardtoPage",
          SET_REMOTE_CONTROL_CONFIG: "setRemoteControlConfig",
          SET_PERSONAL_CONFIG: "setPersonalConfig",
          SET_PROJECT_WATERMARKINFO: "setProjectWatermarkInfo",
          SET_PAGE_INDICAROR_CARDS: "setPageIndicatorCards",
          SET_COMPONENT_THEME_CONFIG: "setComponentThemeConfig",
          SET_LICENSE_INFO: "setLicenseInfo",
          SET_PERMISSION_LIST: "setPermissionList",
        };
      },
      86231: function (t, e, n) {
        "undefined" != typeof self
          ? self
          : "undefined" != typeof window
          ? window
          : void 0 !== n.g && n.g,
          (t.exports = (function () {
            "use strict";
            var t,
              e = "3.7.5",
              n = e,
              r = "function" == typeof atob,
              i = "function" == typeof btoa,
              o = "function" == typeof Buffer,
              a = "function" == typeof TextDecoder ? new TextDecoder() : void 0,
              s = "function" == typeof TextEncoder ? new TextEncoder() : void 0,
              c =
                "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",
              l = Array.prototype.slice.call(c),
              u =
                ((t = {}),
                l.forEach(function (e, n) {
                  return (t[e] = n);
                }),
                t),
              f =
                /^(?:[A-Za-z\d+\/]{4})*?(?:[A-Za-z\d+\/]{2}(?:==)?|[A-Za-z\d+\/]{3}=?)?$/,
              d = String.fromCharCode.bind(String),
              h =
                "function" == typeof Uint8Array.from
                  ? Uint8Array.from.bind(Uint8Array)
                  : function (t) {
                      return new Uint8Array(Array.prototype.slice.call(t, 0));
                    },
              p = function (t) {
                return t.replace(/=/g, "").replace(/[+\/]/g, function (t) {
                  return "+" == t ? "-" : "_";
                });
              },
              m = function (t) {
                return t.replace(/[^A-Za-z0-9\+\/]/g, "");
              },
              v = function (t) {
                for (
                  var e, n, r, i, o = "", a = t.length % 3, s = 0;
                  s < t.length;

                ) {
                  if (
                    (n = t.charCodeAt(s++)) > 255 ||
                    (r = t.charCodeAt(s++)) > 255 ||
                    (i = t.charCodeAt(s++)) > 255
                  )
                    throw new TypeError("invalid character found");
                  o +=
                    l[((e = (n << 16) | (r << 8) | i) >> 18) & 63] +
                    l[(e >> 12) & 63] +
                    l[(e >> 6) & 63] +
                    l[63 & e];
                }
                return a ? o.slice(0, a - 3) + "===".substring(a) : o;
              },
              g = i
                ? function (t) {
                    return btoa(t);
                  }
                : o
                ? function (t) {
                    return Buffer.from(t, "binary").toString("base64");
                  }
                : v,
              y = o
                ? function (t) {
                    return Buffer.from(t).toString("base64");
                  }
                : function (t) {
                    for (
                      var e = 4096, n = [], r = 0, i = t.length;
                      r < i;
                      r += e
                    )
                      n.push(d.apply(null, t.subarray(r, r + e)));
                    return g(n.join(""));
                  },
              b = function (t, e) {
                return void 0 === e && (e = !1), e ? p(y(t)) : y(t);
              },
              V = function (t) {
                if (t.length < 2)
                  return (e = t.charCodeAt(0)) < 128
                    ? t
                    : e < 2048
                    ? d(192 | (e >>> 6)) + d(128 | (63 & e))
                    : d(224 | ((e >>> 12) & 15)) +
                      d(128 | ((e >>> 6) & 63)) +
                      d(128 | (63 & e));
                var e =
                  65536 +
                  1024 * (t.charCodeAt(0) - 55296) +
                  (t.charCodeAt(1) - 56320);
                return (
                  d(240 | ((e >>> 18) & 7)) +
                  d(128 | ((e >>> 12) & 63)) +
                  d(128 | ((e >>> 6) & 63)) +
                  d(128 | (63 & e))
                );
              },
              _ = /[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,
              w = function (t) {
                return t.replace(_, V);
              },
              S = o
                ? function (t) {
                    return Buffer.from(t, "utf8").toString("base64");
                  }
                : s
                ? function (t) {
                    return y(s.encode(t));
                  }
                : function (t) {
                    return g(w(t));
                  },
              E = function (t, e) {
                return void 0 === e && (e = !1), e ? p(S(t)) : S(t);
              },
              A = function (t) {
                return E(t, !0);
              },
              T =
                /[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,
              O = function (t) {
                switch (t.length) {
                  case 4:
                    var e =
                      (((7 & t.charCodeAt(0)) << 18) |
                        ((63 & t.charCodeAt(1)) << 12) |
                        ((63 & t.charCodeAt(2)) << 6) |
                        (63 & t.charCodeAt(3))) -
                      65536;
                    return d(55296 + (e >>> 10)) + d(56320 + (1023 & e));
                  case 3:
                    return d(
                      ((15 & t.charCodeAt(0)) << 12) |
                        ((63 & t.charCodeAt(1)) << 6) |
                        (63 & t.charCodeAt(2))
                    );
                  default:
                    return d(
                      ((31 & t.charCodeAt(0)) << 6) | (63 & t.charCodeAt(1))
                    );
                }
              },
              C = function (t) {
                return t.replace(T, O);
              },
              P = function (t) {
                if (((t = t.replace(/\s+/g, "")), !f.test(t)))
                  throw new TypeError("malformed base64.");
                t += "==".slice(2 - (3 & t.length));
                for (var e, n, r, i = "", o = 0; o < t.length; )
                  (e =
                    (u[t.charAt(o++)] << 18) |
                    (u[t.charAt(o++)] << 12) |
                    ((n = u[t.charAt(o++)]) << 6) |
                    (r = u[t.charAt(o++)])),
                    (i +=
                      64 === n
                        ? d((e >> 16) & 255)
                        : 64 === r
                        ? d((e >> 16) & 255, (e >> 8) & 255)
                        : d((e >> 16) & 255, (e >> 8) & 255, 255 & e));
                return i;
              },
              x = r
                ? function (t) {
                    return atob(m(t));
                  }
                : o
                ? function (t) {
                    return Buffer.from(t, "base64").toString("binary");
                  }
                : P,
              k = o
                ? function (t) {
                    return h(Buffer.from(t, "base64"));
                  }
                : function (t) {
                    return h(
                      x(t)
                        .split("")
                        .map(function (t) {
                          return t.charCodeAt(0);
                        })
                    );
                  },
              I = function (t) {
                return k(R(t));
              },
              j = o
                ? function (t) {
                    return Buffer.from(t, "base64").toString("utf8");
                  }
                : a
                ? function (t) {
                    return a.decode(k(t));
                  }
                : function (t) {
                    return C(x(t));
                  },
              R = function (t) {
                return m(
                  t.replace(/[-_]/g, function (t) {
                    return "-" == t ? "+" : "/";
                  })
                );
              },
              D = function (t) {
                return j(R(t));
              },
              L = function (t) {
                return {
                  value: t,
                  enumerable: !1,
                  writable: !0,
                  configurable: !0,
                };
              },
              M = function () {
                var t = function (t, e) {
                  return Object.defineProperty(String.prototype, t, L(e));
                };
                t("fromBase64", function () {
                  return D(this);
                }),
                  t("toBase64", function (t) {
                    return E(this, t);
                  }),
                  t("toBase64URI", function () {
                    return E(this, !0);
                  }),
                  t("toBase64URL", function () {
                    return E(this, !0);
                  }),
                  t("toUint8Array", function () {
                    return I(this);
                  });
              },
              N = function () {
                var t = function (t, e) {
                  return Object.defineProperty(Uint8Array.prototype, t, L(e));
                };
                t("toBase64", function (t) {
                  return b(this, t);
                }),
                  t("toBase64URI", function () {
                    return b(this, !0);
                  }),
                  t("toBase64URL", function () {
                    return b(this, !0);
                  });
              },
              $ = function () {
                M(), N();
              },
              B = {
                version: e,
                VERSION: n,
                atob: x,
                atobPolyfill: P,
                btoa: g,
                btoaPolyfill: v,
                fromBase64: D,
                toBase64: E,
                encode: E,
                encodeURI: A,
                encodeURL: A,
                utob: w,
                btou: C,
                decode: D,
                isValid: function (t) {
                  if ("string" != typeof t) return !1;
                  var e = t.replace(/\s+/g, "").replace(/={0,2}$/, "");
                  return (
                    !/[^\s0-9a-zA-Z\+/]/.test(e) || !/[^\s0-9a-zA-Z\-_]/.test(e)
                  );
                },
                fromUint8Array: b,
                toUint8Array: I,
                extendString: M,
                extendUint8Array: N,
                extendBuiltins: $,
                Base64: {},
              };
            return (
              Object.keys(B).forEach(function (t) {
                return (B.Base64[t] = B[t]);
              }),
              B
            );
          })());
      },
      86696: (t, e, n) => {
        "use strict";
        n.d(e, { o$: () => V });
        var r = n(74692),
          i = n.n(r),
          o = n(39767);
        const a = n.p + "font/SourceHanSansSC-Regular.woff2",
          s = n.p + "font/SourceHanSansSCNormal-Regular.woff2";
        o.get("common.i18n_113"), o.get("common.i18n_114");
        var c = n(18040),
          l = n(47104);
        function u(t) {
          return l.A.fonts.where({ id: t }).toArray();
        }
        function f(t, e) {
          if (t !== e)
            throw new TypeError("Cannot instantiate an arrow function");
        }
        var d = {},
          h = [];
        function p(t) {
          var e = this;
          return new Promise(
            async function (n, r) {
              var i = this;
              f(this, e);
              var o = await u(t.fontName);
              o.length
                ? n(o[0].blob)
                : fetch(t.url)
                    .then(
                      function (t) {
                        return f(this, i), t.blob();
                      }.bind(this)
                    )
                    .then(
                      function (e) {
                        f(this, i),
                          (async function (t) {
                            if (!t.id) throw new Error("id is required!");
                            var e = await u(t.id);
                            e[0]
                              ? l.A.fonts.update(e[0].id, t)
                              : l.A.fonts.add(t);
                          })({ id: t.fontName, blob: e }),
                          n(e);
                      }.bind(this)
                    )
                    .catch(
                      function (t) {
                        f(this, i), r(t);
                      }.bind(this)
                    );
            }.bind(this)
          );
        }
        function m(t) {
          var e = this;
          return Promise.all(
            t
              .filter(
                function (t) {
                  return f(this, e), !d[t.fontName];
                }.bind(this)
              )
              .map(
                function (t) {
                  var n = this;
                  return (
                    f(this, e),
                    new Promise(
                      async function (e, r) {
                        var i = this;
                        f(this, n),
                          function (t, e) {
                            var n = this;
                            f(this, i),
                              t.isBuiltIn ||
                                t.url.startsWith(c.Ay.PREFIX) ||
                                t.url.startsWith(c.Ay.VIEWER_BIZ) ||
                                (t.url = c.Ay.VIEWER_BIZ + "/" + t.url),
                              p(t)
                                .then(
                                  function (r) {
                                    var i = this;
                                    f(this, n);
                                    var o = URL.createObjectURL(r),
                                      a = new FontFace(
                                        t.fontName.replace(/\./g, "\\."),
                                        "url(".concat(o, ")")
                                      );
                                    a.load()
                                      .then(
                                        function () {
                                          f(this, i), document.fonts.add(a);
                                        }.bind(this)
                                      )
                                      .finally(
                                        function () {
                                          f(this, i),
                                            h.push(t),
                                            (d[t.fontName] = !0),
                                            e(!0);
                                        }.bind(this)
                                      );
                                  }.bind(this)
                                )
                                .catch(
                                  function (t) {
                                    f(this, n), sfLogger.error(t), e(!0);
                                  }.bind(this)
                                );
                          }.bind(this)(t, e);
                      }.bind(this)
                    )
                  );
                }.bind(this)
              )
          );
        }
        function v(t) {
          var e = this;
          return Promise.all(
            t
              .filter(
                function (t) {
                  return f(this, e), !d[t.fontName];
                }.bind(this)
              )
              .map(
                function (t) {
                  var n = this;
                  return (
                    f(this, e),
                    new Promise(
                      async function (e, r) {
                        var i = this;
                        f(this, n);
                        var o = new FontFace(
                          t.fontName.replace(/\./g, "\\."),
                          "url(".concat(t.url, ")")
                        );
                        o.load()
                          .then(
                            function () {
                              f(this, i), document.fonts.add(o);
                            }.bind(this)
                          )
                          .finally(
                            function () {
                              f(this, i),
                                h.push(t),
                                (d[t.fontName] = !0),
                                e(!0);
                            }.bind(this)
                          );
                      }.bind(this)
                    )
                  );
                }.bind(this)
              )
          );
        }
        n(41418);
        function g(t, e) {
          if (t !== e)
            throw new TypeError("Cannot instantiate an arrow function");
        }
        function y(t) {
          return (
            (function (t) {
              if (Array.isArray(t)) return b(t);
            })(t) ||
            (function (t) {
              if (
                ("undefined" != typeof Symbol && null != t[Symbol.iterator]) ||
                null != t["@@iterator"]
              )
                return Array.from(t);
            })(t) ||
            (function (t, e) {
              if (t) {
                if ("string" == typeof t) return b(t, e);
                var n = {}.toString.call(t).slice(8, -1);
                return (
                  "Object" === n && t.constructor && (n = t.constructor.name),
                  "Map" === n || "Set" === n
                    ? Array.from(t)
                    : "Arguments" === n ||
                      /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)
                    ? b(t, e)
                    : void 0
                );
              }
            })(t) ||
            (function () {
              throw new TypeError(
                "Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."
              );
            })()
          );
        }
        function b(t, e) {
          (null == e || e > t.length) && (e = t.length);
          for (var n = 0, r = Array(e); n < e; n++) r[n] = t[n];
          return r;
        }
        function V(t) {
          var e = this,
            n = "",
            r = y(null != t ? t : []);
          i()('[as="font"]').map(
            function (t, r) {
              g(this, e), (n += (null == r ? void 0 : r.href) || "");
            }.bind(this)
          );
          var o = [],
            a = [];
          return (
            r
              .filter(
                function (t) {
                  return g(this, e), t.url;
                }.bind(this)
              )
              .map(
                function (t) {
                  g(this, e),
                    r[t.fontName] ||
                      ((r[t.fontName] = !0),
                      -1 !== n.indexOf(t.url.match(/[^/]+$/)[0])
                        ? a.push(t)
                        : o.push(t));
                }.bind(this)
              ),
            Promise.all([m(o), v(a)])
          );
        }
      },
      87329: (t, e, n) => {
        "use strict";
        n.d(e, { A: () => o });
        var r = n(12487),
          i = n(27107);
        function o(t) {
          return (
            r.Yc.get().mode === i.Kt.NONE && r.Yc.setKey("mode", i.Kt.CONTROL),
            Promise.resolve()
          );
        }
      },
      87476: (t, e, n) => {
        "use strict";
        n.r(e),
          n.d(e, {
            fastLerp: () => A,
            fastMapToColor: () => T,
            hsla2rgba: () => _,
            lerp: () => O,
            lift: () => S,
            mapToColor: () => C,
            modifyAlpha: () => x,
            modifyHSL: () => P,
            parse: () => V,
            rgba2hsla: () => w,
            stringify: () => k,
            toHex: () => E,
          });
        var r = function () {
            (this.head = null), (this.tail = null), (this._len = 0);
          },
          i = r.prototype;
        (i.insert = function (t) {
          var e = new o(t);
          return this.insertEntry(e), e;
        }),
          (i.insertEntry = function (t) {
            this.head
              ? ((this.tail.next = t),
                (t.prev = this.tail),
                (t.next = null),
                (this.tail = t))
              : (this.head = this.tail = t),
              this._len++;
          }),
          (i.remove = function (t) {
            var e = t.prev,
              n = t.next;
            e ? (e.next = n) : (this.head = n),
              n ? (n.prev = e) : (this.tail = e),
              (t.next = t.prev = null),
              this._len--;
          }),
          (i.len = function () {
            return this._len;
          }),
          (i.clear = function () {
            (this.head = this.tail = null), (this._len = 0);
          });
        var o = function (t) {
            (this.value = t), this.next, this.prev;
          },
          a = function (t) {
            (this._list = new r()),
              (this._map = {}),
              (this._maxSize = t || 10),
              (this._lastRemovedEntry = null);
          },
          s = a.prototype;
        (s.put = function (t, e) {
          var n = this._list,
            r = this._map,
            i = null;
          if (null == r[t]) {
            var a = n.len(),
              s = this._lastRemovedEntry;
            if (a >= this._maxSize && a > 0) {
              var c = n.head;
              n.remove(c),
                delete r[c.key],
                (i = c.value),
                (this._lastRemovedEntry = c);
            }
            s ? (s.value = e) : (s = new o(e)),
              (s.key = t),
              n.insertEntry(s),
              (r[t] = s);
          }
          return i;
        }),
          (s.get = function (t) {
            var e = this._map[t],
              n = this._list;
            if (null != e)
              return e !== n.tail && (n.remove(e), n.insertEntry(e)), e.value;
          }),
          (s.clear = function () {
            this._list.clear(), (this._map = {});
          });
        var c = {
          transparent: [0, 0, 0, 0],
          aliceblue: [240, 248, 255, 1],
          antiquewhite: [250, 235, 215, 1],
          aqua: [0, 255, 255, 1],
          aquamarine: [127, 255, 212, 1],
          azure: [240, 255, 255, 1],
          beige: [245, 245, 220, 1],
          bisque: [255, 228, 196, 1],
          black: [0, 0, 0, 1],
          blanchedalmond: [255, 235, 205, 1],
          blue: [0, 0, 255, 1],
          blueviolet: [138, 43, 226, 1],
          brown: [165, 42, 42, 1],
          burlywood: [222, 184, 135, 1],
          cadetblue: [95, 158, 160, 1],
          chartreuse: [127, 255, 0, 1],
          chocolate: [210, 105, 30, 1],
          coral: [255, 127, 80, 1],
          cornflowerblue: [100, 149, 237, 1],
          cornsilk: [255, 248, 220, 1],
          crimson: [220, 20, 60, 1],
          cyan: [0, 255, 255, 1],
          darkblue: [0, 0, 139, 1],
          darkcyan: [0, 139, 139, 1],
          darkgoldenrod: [184, 134, 11, 1],
          darkgray: [169, 169, 169, 1],
          darkgreen: [0, 100, 0, 1],
          darkgrey: [169, 169, 169, 1],
          darkkhaki: [189, 183, 107, 1],
          darkmagenta: [139, 0, 139, 1],
          darkolivegreen: [85, 107, 47, 1],
          darkorange: [255, 140, 0, 1],
          darkorchid: [153, 50, 204, 1],
          darkred: [139, 0, 0, 1],
          darksalmon: [233, 150, 122, 1],
          darkseagreen: [143, 188, 143, 1],
          darkslateblue: [72, 61, 139, 1],
          darkslategray: [47, 79, 79, 1],
          darkslategrey: [47, 79, 79, 1],
          darkturquoise: [0, 206, 209, 1],
          darkviolet: [148, 0, 211, 1],
          deeppink: [255, 20, 147, 1],
          deepskyblue: [0, 191, 255, 1],
          dimgray: [105, 105, 105, 1],
          dimgrey: [105, 105, 105, 1],
          dodgerblue: [30, 144, 255, 1],
          firebrick: [178, 34, 34, 1],
          floralwhite: [255, 250, 240, 1],
          forestgreen: [34, 139, 34, 1],
          fuchsia: [255, 0, 255, 1],
          gainsboro: [220, 220, 220, 1],
          ghostwhite: [248, 248, 255, 1],
          gold: [255, 215, 0, 1],
          goldenrod: [218, 165, 32, 1],
          gray: [128, 128, 128, 1],
          green: [0, 128, 0, 1],
          greenyellow: [173, 255, 47, 1],
          grey: [128, 128, 128, 1],
          honeydew: [240, 255, 240, 1],
          hotpink: [255, 105, 180, 1],
          indianred: [205, 92, 92, 1],
          indigo: [75, 0, 130, 1],
          ivory: [255, 255, 240, 1],
          khaki: [240, 230, 140, 1],
          lavender: [230, 230, 250, 1],
          lavenderblush: [255, 240, 245, 1],
          lawngreen: [124, 252, 0, 1],
          lemonchiffon: [255, 250, 205, 1],
          lightblue: [173, 216, 230, 1],
          lightcoral: [240, 128, 128, 1],
          lightcyan: [224, 255, 255, 1],
          lightgoldenrodyellow: [250, 250, 210, 1],
          lightgray: [211, 211, 211, 1],
          lightgreen: [144, 238, 144, 1],
          lightgrey: [211, 211, 211, 1],
          lightpink: [255, 182, 193, 1],
          lightsalmon: [255, 160, 122, 1],
          lightseagreen: [32, 178, 170, 1],
          lightskyblue: [135, 206, 250, 1],
          lightslategray: [119, 136, 153, 1],
          lightslategrey: [119, 136, 153, 1],
          lightsteelblue: [176, 196, 222, 1],
          lightyellow: [255, 255, 224, 1],
          lime: [0, 255, 0, 1],
          limegreen: [50, 205, 50, 1],
          linen: [250, 240, 230, 1],
          magenta: [255, 0, 255, 1],
          maroon: [128, 0, 0, 1],
          mediumaquamarine: [102, 205, 170, 1],
          mediumblue: [0, 0, 205, 1],
          mediumorchid: [186, 85, 211, 1],
          mediumpurple: [147, 112, 219, 1],
          mediumseagreen: [60, 179, 113, 1],
          mediumslateblue: [123, 104, 238, 1],
          mediumspringgreen: [0, 250, 154, 1],
          mediumturquoise: [72, 209, 204, 1],
          mediumvioletred: [199, 21, 133, 1],
          midnightblue: [25, 25, 112, 1],
          mintcream: [245, 255, 250, 1],
          mistyrose: [255, 228, 225, 1],
          moccasin: [255, 228, 181, 1],
          navajowhite: [255, 222, 173, 1],
          navy: [0, 0, 128, 1],
          oldlace: [253, 245, 230, 1],
          olive: [128, 128, 0, 1],
          olivedrab: [107, 142, 35, 1],
          orange: [255, 165, 0, 1],
          orangered: [255, 69, 0, 1],
          orchid: [218, 112, 214, 1],
          palegoldenrod: [238, 232, 170, 1],
          palegreen: [152, 251, 152, 1],
          paleturquoise: [175, 238, 238, 1],
          palevioletred: [219, 112, 147, 1],
          papayawhip: [255, 239, 213, 1],
          peachpuff: [255, 218, 185, 1],
          peru: [205, 133, 63, 1],
          pink: [255, 192, 203, 1],
          plum: [221, 160, 221, 1],
          powderblue: [176, 224, 230, 1],
          purple: [128, 0, 128, 1],
          red: [255, 0, 0, 1],
          rosybrown: [188, 143, 143, 1],
          royalblue: [65, 105, 225, 1],
          saddlebrown: [139, 69, 19, 1],
          salmon: [250, 128, 114, 1],
          sandybrown: [244, 164, 96, 1],
          seagreen: [46, 139, 87, 1],
          seashell: [255, 245, 238, 1],
          sienna: [160, 82, 45, 1],
          silver: [192, 192, 192, 1],
          skyblue: [135, 206, 235, 1],
          slateblue: [106, 90, 205, 1],
          slategray: [112, 128, 144, 1],
          slategrey: [112, 128, 144, 1],
          snow: [255, 250, 250, 1],
          springgreen: [0, 255, 127, 1],
          steelblue: [70, 130, 180, 1],
          tan: [210, 180, 140, 1],
          teal: [0, 128, 128, 1],
          thistle: [216, 191, 216, 1],
          tomato: [255, 99, 71, 1],
          turquoise: [64, 224, 208, 1],
          violet: [238, 130, 238, 1],
          wheat: [245, 222, 179, 1],
          white: [255, 255, 255, 1],
          whitesmoke: [245, 245, 245, 1],
          yellow: [255, 255, 0, 1],
          yellowgreen: [154, 205, 50, 1],
        };
        function l(t) {
          return (t = Math.round(t)) < 0 ? 0 : t > 255 ? 255 : t;
        }
        function u(t) {
          return t < 0 ? 0 : t > 1 ? 1 : t;
        }
        function f(t) {
          return t.length && "%" === t.charAt(t.length - 1)
            ? l((parseFloat(t) / 100) * 255)
            : l(parseInt(t, 10));
        }
        function d(t) {
          return t.length && "%" === t.charAt(t.length - 1)
            ? u(parseFloat(t) / 100)
            : u(parseFloat(t));
        }
        function h(t, e, n) {
          return (
            n < 0 ? (n += 1) : n > 1 && (n -= 1),
            6 * n < 1
              ? t + (e - t) * n * 6
              : 2 * n < 1
              ? e
              : 3 * n < 2
              ? t + (e - t) * (2 / 3 - n) * 6
              : t
          );
        }
        function p(t, e, n) {
          return t + (e - t) * n;
        }
        function m(t, e, n, r, i) {
          return (t[0] = e), (t[1] = n), (t[2] = r), (t[3] = i), t;
        }
        function v(t, e) {
          return (t[0] = e[0]), (t[1] = e[1]), (t[2] = e[2]), (t[3] = e[3]), t;
        }
        var g = new a(20),
          y = null;
        function b(t, e) {
          y && v(y, e), (y = g.put(t, y || e.slice()));
        }
        function V(t, e) {
          if (t) {
            e = e || [];
            var n = g.get(t);
            if (n) return v(e, n);
            var r,
              i = (t += "").replace(/ /g, "").toLowerCase();
            if (i in c) return v(e, c[i]), b(t, e), e;
            if ("#" === i.charAt(0))
              return 4 === i.length
                ? (r = parseInt(i.substr(1), 16)) >= 0 && r <= 4095
                  ? (m(
                      e,
                      ((3840 & r) >> 4) | ((3840 & r) >> 8),
                      (240 & r) | ((240 & r) >> 4),
                      (15 & r) | ((15 & r) << 4),
                      1
                    ),
                    b(t, e),
                    e)
                  : void m(e, 0, 0, 0, 1)
                : 7 === i.length
                ? (r = parseInt(i.substr(1), 16)) >= 0 && r <= 16777215
                  ? (m(e, (16711680 & r) >> 16, (65280 & r) >> 8, 255 & r, 1),
                    b(t, e),
                    e)
                  : void m(e, 0, 0, 0, 1)
                : void 0;
            var o = i.indexOf("("),
              a = i.indexOf(")");
            if (-1 !== o && a + 1 === i.length) {
              var s = i.substr(0, o),
                l = i.substr(o + 1, a - (o + 1)).split(","),
                u = 1;
              switch (s) {
                case "rgba":
                  if (4 !== l.length) return void m(e, 0, 0, 0, 1);
                  u = d(l.pop());
                case "rgb":
                  return 3 !== l.length
                    ? void m(e, 0, 0, 0, 1)
                    : (m(e, f(l[0]), f(l[1]), f(l[2]), u), b(t, e), e);
                case "hsla":
                  return 4 !== l.length
                    ? void m(e, 0, 0, 0, 1)
                    : ((l[3] = d(l[3])), _(l, e), b(t, e), e);
                case "hsl":
                  return 3 !== l.length
                    ? void m(e, 0, 0, 0, 1)
                    : (_(l, e), b(t, e), e);
                default:
                  return;
              }
            }
            m(e, 0, 0, 0, 1);
          }
        }
        function _(t, e) {
          var n = (((parseFloat(t[0]) % 360) + 360) % 360) / 360,
            r = d(t[1]),
            i = d(t[2]),
            o = i <= 0.5 ? i * (r + 1) : i + r - i * r,
            a = 2 * i - o;
          return (
            m(
              (e = e || []),
              l(255 * h(a, o, n + 1 / 3)),
              l(255 * h(a, o, n)),
              l(255 * h(a, o, n - 1 / 3)),
              1
            ),
            4 === t.length && (e[3] = t[3]),
            e
          );
        }
        function w(t) {
          if (t) {
            var e,
              n,
              r = t[0] / 255,
              i = t[1] / 255,
              o = t[2] / 255,
              a = Math.min(r, i, o),
              s = Math.max(r, i, o),
              c = s - a,
              l = (s + a) / 2;
            if (0 === c) (e = 0), (n = 0);
            else {
              n = l < 0.5 ? c / (s + a) : c / (2 - s - a);
              var u = ((s - r) / 6 + c / 2) / c,
                f = ((s - i) / 6 + c / 2) / c,
                d = ((s - o) / 6 + c / 2) / c;
              r === s
                ? (e = d - f)
                : i === s
                ? (e = 1 / 3 + u - d)
                : o === s && (e = 2 / 3 + f - u),
                e < 0 && (e += 1),
                e > 1 && (e -= 1);
            }
            var h = [360 * e, n, l];
            return null != t[3] && h.push(t[3]), h;
          }
        }
        function S(t, e) {
          var n = V(t);
          if (n) {
            for (var r = 0; r < 3; r++)
              (n[r] =
                e < 0 ? (n[r] * (1 - e)) | 0 : ((255 - n[r]) * e + n[r]) | 0),
                n[r] > 255 ? (n[r] = 255) : t[r] < 0 && (n[r] = 0);
            return k(n, 4 === n.length ? "rgba" : "rgb");
          }
        }
        function E(t) {
          var e = V(t);
          if (e)
            return ((1 << 24) + (e[0] << 16) + (e[1] << 8) + +e[2])
              .toString(16)
              .slice(1);
        }
        function A(t, e, n) {
          if (e && e.length && t >= 0 && t <= 1) {
            n = n || [];
            var r = t * (e.length - 1),
              i = Math.floor(r),
              o = Math.ceil(r),
              a = e[i],
              s = e[o],
              c = r - i;
            return (
              (n[0] = l(p(a[0], s[0], c))),
              (n[1] = l(p(a[1], s[1], c))),
              (n[2] = l(p(a[2], s[2], c))),
              (n[3] = u(p(a[3], s[3], c))),
              n
            );
          }
        }
        var T = A;
        function O(t, e, n) {
          if (e && e.length && t >= 0 && t <= 1) {
            var r = t * (e.length - 1),
              i = Math.floor(r),
              o = Math.ceil(r),
              a = V(e[i]),
              s = V(e[o]),
              c = r - i,
              f = k(
                [
                  l(p(a[0], s[0], c)),
                  l(p(a[1], s[1], c)),
                  l(p(a[2], s[2], c)),
                  u(p(a[3], s[3], c)),
                ],
                "rgba"
              );
            return n ? { color: f, leftIndex: i, rightIndex: o, value: r } : f;
          }
        }
        var C = O;
        function P(t, e, n, r) {
          if ((t = V(t)))
            return (
              (t = w(t)),
              null != e &&
                (t[0] =
                  ((i = e), (i = Math.round(i)) < 0 ? 0 : i > 360 ? 360 : i)),
              null != n && (t[1] = d(n)),
              null != r && (t[2] = d(r)),
              k(_(t), "rgba")
            );
          var i;
        }
        function x(t, e) {
          if ((t = V(t)) && null != e) return (t[3] = u(e)), k(t, "rgba");
        }
        function k(t, e) {
          if (t && t.length) {
            var n = "".concat(t[0], ",").concat(t[1], ",").concat(t[2]);
            return (
              ("rgba" !== e && "hsva" !== e && "hsla" !== e) ||
                (n += ",".concat(t[3])),
              "".concat(e, "(").concat(n, ")")
            );
          }
        }
      },
      87663: (t, e, n) => {
        "use strict";
        n.d(e, { A: () => s });
        var r = n(15354),
          i = n(52063),
          o = n(13916),
          a = n(66779);
        function s() {
          var t = (0, r.Vs)();
          return (!(0, a.A)() || t.type === i.PageType.Phone) && (0, o.vk)();
        }
      },
      88342: (t, e, n) => {
        "use strict";
        n.d(e, { A: () => w });
        var r = n(79530),
          i = n(18040),
          o = n(12487),
          a = n(71308),
          s = n(22565),
          c = n(27107),
          l = n(61888);
        function u(t, e) {
          var n = this;
          s.d.forEach(
            function (t) {
              return (
                (function (t, e) {
                  if (t !== e)
                    throw new TypeError("Cannot instantiate an arrow function");
                })(this, n),
                clearInterval(t)
              );
            }.bind(this)
          ),
            o.AK.set(e);
          var r = {
            type: c.Go.QUESTION,
            content: t,
            status: c.qp.LOADING,
            sort: (0, l.A)(),
            id: (0, a.A)(),
            name: "",
          };
          o.sI.setKey(e, [
            r,
            {
              type: c.Go.ANSWER,
              content: null,
              status: c.qp.LOADING,
              sort: (0, l.A)(),
              id: (0, a.A)(),
              name: "",
            },
          ]);
        }
        var f = n(7821),
          d = n(39767),
          h = n(54184),
          p = void 0;
        function m(t, e) {
          if (t !== e)
            throw new TypeError("Cannot instantiate an arrow function");
        }
        const v = {
          onKws: function (t) {
            var e = this,
              n = t.status;
            if ((m(this, p), n)) {
              var r = (0, h.A)();
              return (
                o.AK.set(r),
                o.sI.setKey(r, [
                  {
                    type: c.Go.ANSWER,
                    status: c.qp.FINISH,
                    sort: (0, l.A)(),
                    id: (0, f.yk)(),
                    content: d.get("aiModule.i18n_39"),
                  },
                ]),
                s.d.forEach(
                  function (t) {
                    return m(this, e), clearInterval(t);
                  }.bind(this)
                ),
                void o.i1.set(!0)
              );
            }
            w.stopTransfer(), w.startTrigger(), o.i1.set(!1);
          }.bind(void 0),
          onAsr: function (t) {
            var e = t.data;
            m(this, p), o.EA.set(e);
          }.bind(void 0),
          onResultBlock: function (t) {
            var e = t.data,
              n = t.id;
            o.EA.set(e), u(e, n), o.i1.set(!1);
          },
          onIntention: function (t) {
            t.data;
            m(this, p);
          }.bind(void 0),
          onBroadcast: function (t) {
            t.data;
            m(this, p);
          }.bind(void 0),
        };
        function g(t) {
          return (
            (g =
              "function" == typeof Symbol && "symbol" == typeof Symbol.iterator
                ? function (t) {
                    return typeof t;
                  }
                : function (t) {
                    return t &&
                      "function" == typeof Symbol &&
                      t.constructor === Symbol &&
                      t !== Symbol.prototype
                      ? "symbol"
                      : typeof t;
                  }),
            g(t)
          );
        }
        function y(t, e) {
          if (t !== e)
            throw new TypeError("Cannot instantiate an arrow function");
        }
        function b(t, e) {
          for (var n = 0; n < e.length; n++) {
            var r = e[n];
            (r.enumerable = r.enumerable || !1),
              (r.configurable = !0),
              "value" in r && (r.writable = !0),
              Object.defineProperty(t, V(r.key), r);
          }
        }
        function V(t) {
          var e = (function (t, e) {
            if ("object" != g(t) || !t) return t;
            var n = t[Symbol.toPrimitive];
            if (void 0 !== n) {
              var r = n.call(t, e || "default");
              if ("object" != g(r)) return r;
              throw new TypeError(
                "@@toPrimitive must return a primitive value."
              );
            }
            return ("string" === e ? String : Number)(t);
          })(t, "string");
          return "symbol" == g(e) ? e : e + "";
        }
        var _ = (function () {
          return (
            (t = function t() {
              var e, n, r;
              !(function (t, e) {
                if (!(t instanceof e))
                  throw new TypeError("Cannot call a class as a function");
              })(this, t),
                (e = this),
                (r = void 0),
                (n = V((n = "asr"))) in e
                  ? Object.defineProperty(e, n, {
                      value: r,
                      enumerable: !0,
                      configurable: !0,
                      writable: !0,
                    })
                  : (e[n] = r);
            }),
            (e = [
              {
                key: "isSupportBroadcastText",
                get: function () {
                  return !0;
                },
              },
              {
                key: "init",
                value: async function (t) {
                  var e = this;
                  (this.asr = new r.A({
                    configPath: ""
                      .concat(window.location.origin)
                      .concat(
                        window.SF_PREFIX,
                        "/sfueVendor/ux/aiPublic/aiconfig.js"
                      ),
                    paramsPath: ""
                      .concat(window.location.origin)
                      .concat(
                        window.SF_PREFIX,
                        "/sfueVendor/ux/aiPublic/aiparams.js"
                      ),
                    llmConfig: {
                      host: "".concat(window.location.host).concat(i.Ay.AI_UE),
                      token: localStorage.getItem("ue_token") || "",
                      userId: localStorage.getItem("userId") || "-1",
                    },
                    intelligentConfig: {
                      id: t.assistantSourceId,
                      options: { robotElementSelector: t.elementId },
                    },
                  })),
                    await this.asr.init(),
                    this.asr.on(
                      "kws",
                      function (t) {
                        y(this, e),
                          this.stopSpeak(),
                          v.onKws({ status: t.status });
                      }.bind(this)
                    ),
                    this.asr.on(
                      "message",
                      function (t) {
                        y(this, e);
                        var n = t.type,
                          r = t.data;
                        switch (n) {
                          case "asr":
                            v.onAsr({ data: r });
                            break;
                          case "intention":
                            v.onIntention({ data: r });
                            break;
                          case "broadcast":
                            v.onBroadcast({ data: r });
                            break;
                          case "kws":
                            v.onKws({ status: t.status });
                        }
                      }.bind(this)
                    ),
                    this.asr.on(
                      "resultBlock",
                      function (t) {
                        y(this, e),
                          console.time("start"),
                          console.log("start: 0ms 发送指令"),
                          console.log("onResultBlock", t),
                          v.onResultBlock(t);
                      }.bind(this)
                    ),
                    this.asr.on(
                      "result",
                      function (t) {
                        y(this, e),
                          console.timeLog("start", "接收后端指令"),
                          console.log("onResult", t),
                          (0, o.qI)(t);
                      }.bind(this)
                    ),
                    this.asr.on(
                      "broadcastEnd",
                      function () {
                        y(this, e), console.log("onBroadcastEnd");
                      }.bind(this)
                    );
                },
              },
              {
                key: "on",
                value: function (t, e) {
                  this.asr.on(t, e);
                },
              },
              {
                key: "off",
                value: function (t, e) {
                  this.asr.off(t, e);
                },
              },
              {
                key: "report",
                value: function (t) {
                  this.asr.reportToLLM(t);
                },
              },
              {
                key: "sendText",
                value: function (t, e) {
                  console.time("start"),
                    console.log("start: 0ms 发送指令"),
                    this.stopSpeak(),
                    u(t, e),
                    this.asr.command(t, e);
                },
              },
              {
                key: "tts",
                value: function (t) {
                  var e = this;
                  return new Promise(
                    function (n, r) {
                      var i = this;
                      y(this, e), this.asr.speak(t);
                      var o = function () {
                        y(this, i), this.asr.off("broadcastEnd", o), n(!0);
                      }.bind(this);
                      this.asr.on("broadcastEnd", o);
                    }.bind(this)
                  );
                },
              },
              {
                key: "stopSpeak",
                value: function () {
                  this.asr.stopSpeak();
                },
              },
              {
                key: "startTrigger",
                value: function () {
                  this.asr.enableWakeUp();
                },
              },
              {
                key: "stopTrigger",
                value: function () {
                  this.asr.disableWakeUp();
                },
              },
              {
                key: "stopTransfer",
                value: function () {
                  this.asr.closeSTT();
                },
              },
            ]),
            e && b(t.prototype, e),
            n && b(t, n),
            Object.defineProperty(t, "prototype", { writable: !1 }),
            t
          );
          var t, e, n;
        })();
        const w = new _();
      },
      90710: (t, e, n) => {
        "use strict";
        n.d(e, { A: () => i });
        var r = n(47712);
        function i(t) {
          var e =
            !(arguments.length > 1 && void 0 !== arguments[1]) || arguments[1];
          var n = [];
          return (
            (function t(n, i) {
              if (n)
                for (var o = 0; o < n.length; o++) {
                  var a = n[o];
                  e ? a instanceof r.Ay && i.push(a) : i.push(a),
                    a.children && a.children.length && t(a.children, i);
                }
            })(t, n),
            n
          );
        }
      },
      93776: (t, e, n) => {
        "use strict";
        n.d(e, { p2: () => m, L_: () => V, Ay: () => b });
        var r = n(6044),
          i = n.n(r),
          o = n(71542),
          a = n(41702),
          s = n(73104),
          c = (function (t) {
            return (
              (t.RANGEMODE = "rangeMode"), (t.ACCURATEMODE = "accurateMode"), t
            );
          })({}),
          l = n(98322),
          u = n(26150);
        function f(t) {
          return (
            (f =
              "function" == typeof Symbol && "symbol" == typeof Symbol.iterator
                ? function (t) {
                    return typeof t;
                  }
                : function (t) {
                    return t &&
                      "function" == typeof Symbol &&
                      t.constructor === Symbol &&
                      t !== Symbol.prototype
                      ? "symbol"
                      : typeof t;
                  }),
            f(t)
          );
        }
        function d(t) {
          return (
            (function (t) {
              if (Array.isArray(t)) return h(t);
            })(t) ||
            (function (t) {
              if (
                ("undefined" != typeof Symbol && null != t[Symbol.iterator]) ||
                null != t["@@iterator"]
              )
                return Array.from(t);
            })(t) ||
            (function (t, e) {
              if (t) {
                if ("string" == typeof t) return h(t, e);
                var n = {}.toString.call(t).slice(8, -1);
                return (
                  "Object" === n && t.constructor && (n = t.constructor.name),
                  "Map" === n || "Set" === n
                    ? Array.from(t)
                    : "Arguments" === n ||
                      /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)
                    ? h(t, e)
                    : void 0
                );
              }
            })(t) ||
            (function () {
              throw new TypeError(
                "Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."
              );
            })()
          );
        }
        function h(t, e) {
          (null == e || e > t.length) && (e = t.length);
          for (var n = 0, r = Array(e); n < e; n++) r[n] = t[n];
          return r;
        }
        function p(t, e) {
          if (t !== e)
            throw new TypeError("Cannot instantiate an arrow function");
        }
        function m(t) {
          var e = this;
          return t.map(
            function (t) {
              return (
                p(this, e), null == t ? l.Xz.null : "" === t ? l.Xz.empty : t
              );
            }.bind(this)
          );
        }
        function v(t) {
          var e = t.leftColumn,
            n = t.operator,
            r = t.values,
            i = t.dataType;
          return r.length
            ? {
                left: e,
                operator: n,
                right: {
                  queryExpression: {
                    expressionType: l.NR.LITERAL,
                    dataType: i,
                    values: d(r),
                  },
                },
              }
            : {
                left: {
                  queryExpression: {
                    expressionType: l.NR.LITERAL,
                    dataType: "string",
                    values: ["1"],
                  },
                },
                operator: a.Operator.EQ,
                right: {
                  queryExpression: {
                    expressionType: l.NR.LITERAL,
                    dataType: "string",
                    values: ["-1"],
                  },
                },
                children: [],
              };
        }
        function g(t, e, n) {
          var r = n.columnConfig.resultFilter,
            o = (function (t) {
              var e,
                n = t.columnType,
                r =
                  null !== (e = null == t ? void 0 : t.dataType) && void 0 !== e
                    ? e
                    : "string";
              return (
                n === a.ColumnType.DIMENSION && (r = "string"),
                n === a.ColumnType.MEASURE && (r = "decimal"),
                r
              );
            })(n),
            s = e.filters[0].operator,
            l = e.filters[0].values,
            u = null;
          l = (function (t, e) {
            var n,
              r = this,
              i = t.columnConfig.formater,
              o =
                null == i || null === (n = i.convertConfigs) || void 0 === n
                  ? void 0
                  : n.countUnit;
            return o
              ? e.map(
                  function (t) {
                    return p(this, r), t * o;
                  }.bind(this)
                )
              : e;
          })(n, l);
          var h = n.columnConfig.formater;
          return (
            (l = (function (t, e, n) {
              var r,
                i = this;
              return n
                ? (t.timeConditionMode === c.RANGEMODE && (e = d(e[1])),
                  (null ===
                    (r = a.TimeGranularity.find(
                      function (t) {
                        return p(this, i), t.selectId === n;
                      }.bind(this)
                    )) || void 0 === r
                    ? void 0
                    : r.format) &&
                    (e = e.map(
                      function (t) {
                        return p(this, i), "object" === f(t) ? t.value : t;
                      }.bind(this)
                    )),
                  e)
                : e;
            })(r, l, (null == h ? void 0 : h.convertConfigs).timeGranularity)),
            (l = m(l)),
            (u =
              s !== a.Operator.RANGE
                ? v({ leftColumn: t, operator: s, values: l, dataType: o })
                : (function (t) {
                    var e = t.leftColumn,
                      n = t.values,
                      r = t.dataType;
                    return {
                      relation: a.Relation.AND,
                      children: [
                        v({
                          leftColumn: i()(e),
                          operator: a.Operator.GE,
                          values: [n[0]],
                          dataType: r,
                        }),
                        v({
                          leftColumn: i()(e),
                          operator: a.Operator.LE,
                          values: [n[1]],
                          dataType: r,
                        }),
                      ],
                    };
                  })({ leftColumn: t, values: l, dataType: o })),
            u
          );
        }
        function y(t, e, n) {
          var r = this,
            s = e.conditions,
            c = null,
            l = o.A.cloneDeep(
              n.columns.find(
                function (e) {
                  return p(this, r), e.asColumnName === t.columnId;
                }.bind(this)
              )
            );
          return (
            (c =
              s.length < 2
                ? g(l, s[0], t)
                : (function (t, e, n) {
                    var r = this,
                      o = e.conditions,
                      s = {
                        relation: e.relation || a.Relation.AND,
                        children: [],
                      };
                    return (
                      o.forEach(
                        function (e) {
                          p(this, r), s.children.push(g(i()(t), e, n));
                        }.bind(this)
                      ),
                      s
                    );
                  })(l, e, t)),
            c
          );
        }
        function b(t, e) {
          var n = this,
            r = [],
            i = t.bindColumns;
          if (
            (Object.keys(i).forEach(
              function (t) {
                return p(this, n), r.push.apply(r, d(i[t]));
              }.bind(this)
            ),
            !r)
          )
            return null;
          var o = r
            .map(
              function (t) {
                var r;
                p(this, n);
                var i = t.columnConfig.resultFilter;
                if (
                  !i ||
                  !i.isUse ||
                  null == i ||
                  null === (r = i.conditions) ||
                  void 0 === r ||
                  !r.length
                )
                  return null;
                var o = y(t, i, e);
                return delete t.columnConfig.resultFilter, o;
              }.bind(this)
            )
            .filter(
              function (t) {
                return p(this, n), t;
              }.bind(this)
            );
          return o.length
            ? 1 === o.length
              ? o[0]
              : { relation: a.Relation.AND, children: o }
            : null;
        }
        async function V(t, e, n) {
          var r = this;
          if (
            t.filterType !== l.h5.RESULT_FILTER ||
            !o.A.get(t, "condition.children.length")
          )
            return null;
          var c = i()(t.condition);
          return (c = await (0, u.B)(
            c,
            n,
            function (t) {
              var n = this;
              if (
                (p(this, r),
                e && Object.values(a.ColumnType).includes(t.left.type))
              ) {
                var i = e.find(
                  function (e) {
                    return (
                      p(this, n), e.queryExpression.columnName === t.left.value
                    );
                  }.bind(this)
                );
                i &&
                  ((t.left.asColumnName = i.asColumnName),
                  (t.left.formula = i.queryExpression.formula));
              }
              return t;
            }.bind(this),
            function (t) {
              var e = this;
              p(this, r);
              var n = function (t) {
                p(this, e),
                  [s.p.date, s.p.dateTime].includes(
                    t.right.queryExpression.dataType
                  ) &&
                    ((t.right.queryExpression.dataType = "string"),
                    Reflect.deleteProperty(
                      t.right.queryExpression,
                      "dateFormat"
                    ));
              }.bind(this);
              return (
                t.children
                  ? t.children.forEach(
                      function (t) {
                        return p(this, e), n(t);
                      }.bind(this)
                    )
                  : n(t),
                t
              );
            }.bind(this)
          ));
        }
      },
      97864: (t, e, n) => {
        "use strict";
        n.d(e, { $f: () => a, RM: () => l, YB: () => s, sj: () => c });
        var r = n(18040),
          i = n(79209),
          o = n(34625);
        async function a(t) {
          var e = await (0, i.post)(
            ""
              .concat(r.Ay.UX_API, "/")
              .concat(o.H3, "/messagecontrol/deleteBinding"),
            t
          );
          return "0" === e.code ? e.data : e.messages;
        }
        async function s(t, e) {
          var n = await (0, i.post)("".concat(r.Ay.UX_API, "/").concat(t), e);
          return "0" === n.code ? n.data : n.messages;
        }
        async function c(t) {
          var e = await (0, i.get)(
            "".concat(r.Ay.UX_API, "/runner/page/checkExisted?id=").concat(t)
          );
          return !("0" !== e.code || !e.data);
        }
        async function l(t) {
          var e = await (0, i.get)(
            ""
              .concat(r.Ay.UX_API, "/designer/page/getPageDetail?pageId=")
              .concat(t)
          );
          return !("0" !== e.code || !e.data);
        }
      },
      98322: (t, e, n) => {
        "use strict";
        n.d(e, { NR: () => i, Xz: () => r, h5: () => o });
        var r = (function (t) {
            return (t.null = "SQL_NULL"), (t.empty = "SQL_EMPTY"), t;
          })({}),
          i = (function (t) {
            return (
              (t.COLUMN = "COLUMN"),
              (t.FUNCTION = "FUNCTION"),
              (t.TABCAL = "TABCAL"),
              (t.PARAM = "PARAM"),
              (t.LITERAL = "LITERAL"),
              t
            );
          })({}),
          o = (function (t) {
            return (
              (t.CONDITION_FILTER = "CONDITION_FILTER"),
              (t.RESULT_FILTER = "RESULT_FILTER"),
              t
            );
          })({});
      },
      99147: (t, e, n) => {
        "use strict";
        n.d(e, { A: () => r });
        var r = (function (t) {
          return (
            (t[(t.none = 0)] = "none"),
            (t.percentageOfTotal = "percentageOfTotal"),
            (t.percentage = "percentageCalculation"),
            (t.cumulativeSum = "cumulativeSum"),
            (t.difference = "diffCalculation"),
            (t.percentageOfDifference = "percentageOfDiff"),
            (t.yearOnYearValue = "yearOnYearValue"),
            (t.yearOnYearRatio = "yearOnYearRatio"),
            (t.monthOnMonthValue = "monthOnMonthValue"),
            (t.monthOnMonthRatio = "monthOnMonthRatio"),
            t
          );
        })({});
      },
      99393: (t, e, n) => {
        "use strict";
        n.d(e, { E: () => u });
        var r = n(71542),
          i = n(62597);
        function o(t) {
          return (
            (o =
              "function" == typeof Symbol && "symbol" == typeof Symbol.iterator
                ? function (t) {
                    return typeof t;
                  }
                : function (t) {
                    return t &&
                      "function" == typeof Symbol &&
                      t.constructor === Symbol &&
                      t !== Symbol.prototype
                      ? "symbol"
                      : typeof t;
                  }),
            o(t)
          );
        }
        function a(t, e) {
          if (t !== e)
            throw new TypeError("Cannot instantiate an arrow function");
        }
        function s(t, e) {
          for (var n = 0; n < e.length; n++) {
            var r = e[n];
            (r.enumerable = r.enumerable || !1),
              (r.configurable = !0),
              "value" in r && (r.writable = !0),
              Object.defineProperty(t, l(r.key), r);
          }
        }
        function c(t, e, n) {
          return (
            (e = l(e)) in t
              ? Object.defineProperty(t, e, {
                  value: n,
                  enumerable: !0,
                  configurable: !0,
                  writable: !0,
                })
              : (t[e] = n),
            t
          );
        }
        function l(t) {
          var e = (function (t, e) {
            if ("object" != o(t) || !t) return t;
            var n = t[Symbol.toPrimitive];
            if (void 0 !== n) {
              var r = n.call(t, e || "default");
              if ("object" != o(r)) return r;
              throw new TypeError(
                "@@toPrimitive must return a primitive value."
              );
            }
            return ("string" === e ? String : Number)(t);
          })(t, "string");
          return "symbol" == o(e) ? e : e + "";
        }
        var u = (function () {
          return (
            (t = function t(e) {
              !(function (t, e) {
                if (!(t instanceof e))
                  throw new TypeError("Cannot call a class as a function");
              })(this, t),
                c(this, "dataConfig", void 0),
                c(this, "modelTypes", void 0),
                c(this, "filter", void 0),
                c(this, "abs", void 0);
              var n = e.dataConfig,
                r = e.modelTypes,
                i = void 0 === r ? "_default_" : r;
              (this.dataConfig = n),
                (this.modelTypes = i),
                (this.filter = !0),
                (this.abs = !1);
            }),
            (e = [
              {
                key: "_getNullDataWay",
                value: function () {
                  var t,
                    e = (0, i.getNullDataHandleWay)(this.dataConfig);
                  return null !== (t = null == e ? void 0 : e.type) &&
                    void 0 !== t
                    ? t
                    : e;
                },
              },
              {
                key: "showNullData",
                value: function (t, e) {
                  var n =
                      arguments.length > 2 &&
                      void 0 !== arguments[2] &&
                      arguments[2],
                    r = this._getNullDataWay();
                  if (null == e || "" === e)
                    switch (r) {
                      case "none":
                        t = "".concat(e);
                        break;
                      case "=0":
                        t = 0;
                        break;
                      case "=-":
                        t = "-";
                    }
                  if (n && "NaN" === t)
                    switch (r) {
                      case "=0":
                        t = 0;
                        break;
                      case "=-":
                        t = "-";
                    }
                  return t;
                },
              },
              {
                key: "_convertData",
                value: function (t, e) {
                  var n,
                    i = this,
                    o = e.filter,
                    s = e.abs;
                  if (0 === (null == t ? void 0 : t.length)) return [];
                  if (o)
                    n = t.reduce(
                      function (t, e) {
                        var n;
                        if (
                          (a(this, i),
                          null !==
                            (n = r.A.isObject(e)
                              ? r.A.has(e, "originValue")
                                ? e.originValue
                                : e.value
                              : e) && "" !== n)
                        ) {
                          var o = Number(n);
                          !r.A.isNaN(o) &&
                            r.A.isNumber(o) &&
                            t.push(s ? Math.abs(o) : o);
                        }
                        return t;
                      }.bind(this),
                      []
                    );
                  else {
                    var c = this._getNullDataWay();
                    n = t.map(
                      function (t) {
                        var e;
                        if (
                          (a(this, i),
                          null ===
                            (e = r.A.isObject(t)
                              ? r.A.has(t, "originValue")
                                ? t.originValue
                                : t.value
                              : t) && "" === e)
                        )
                          switch (c) {
                            case "none":
                            default:
                              break;
                            case "=0":
                              e = 0;
                              break;
                            case "=-":
                              e = "-";
                          }
                        return s ? Math.abs(e) : Number(e);
                      }.bind(this)
                    );
                  }
                  return n;
                },
              },
              {
                key: "add",
                value: function (t, e) {
                  var n = this,
                    r = null != e ? e : {},
                    i = r.filter,
                    o = void 0 === i ? this.filter : i,
                    s = r.abs,
                    c = void 0 === s ? this.abs : s,
                    l = this._convertData(t, { filter: o, abs: c });
                  return 0 === l.length
                    ? 0
                    : l.reduce(
                        function (t, e) {
                          return a(this, n), t + e;
                        }.bind(this)
                      );
                },
              },
              {
                key: "sub",
                value: function (t, e) {
                  var n = this,
                    r = null != e ? e : {},
                    i = r.filter,
                    o = void 0 === i ? this.filter : i,
                    s = r.abs,
                    c = void 0 === s ? this.abs : s,
                    l = this._convertData(t, { filter: o, abs: c });
                  return 0 === l.length
                    ? 0
                    : l.reduce(
                        function (t, e) {
                          return a(this, n), t - e;
                        }.bind(this)
                      );
                },
              },
              {
                key: "mult",
                value: function (t, e) {
                  var n = this,
                    r = null != e ? e : {},
                    i = r.filter,
                    o = void 0 === i ? this.filter : i,
                    s = r.abs,
                    c = void 0 === s ? this.abs : s,
                    l = this._convertData(t, { filter: o, abs: c });
                  return 0 === l.length
                    ? 0
                    : l.reduce(
                        function (t, e) {
                          return a(this, n), t * e;
                        }.bind(this)
                      );
                },
              },
              {
                key: "divide",
                value: function (t, e) {
                  var n = this,
                    r = null != e ? e : {},
                    i = r.filter,
                    o = void 0 === i ? this.filter : i,
                    s = r.abs,
                    c = void 0 === s ? this.abs : s,
                    l = this._convertData(t, { filter: o, abs: c });
                  return 0 === l.length
                    ? 0
                    : l.reduce(
                        function (t, e, r) {
                          return a(this, n), 0 === e && 0 !== r ? NaN : t / e;
                        }.bind(this)
                      );
                },
              },
            ]),
            e && s(t.prototype, e),
            n && s(t, n),
            Object.defineProperty(t, "prototype", { writable: !1 }),
            t
          );
          var t, e, n;
        })();
      },
    },
    __webpack_module_cache__ = {},
    deferred,
    leafPrototypes,
    getProto,
    inProgress,
    dataWebpackPrefix,
    chunkMapping,
    idToExternalAndNameMapping,
    loadStylesheet,
    installedCssChunks;
  function __webpack_require__(t) {
    var e = __webpack_module_cache__[t];
    if (void 0 !== e) return e.exports;
    var n = (__webpack_module_cache__[t] = { id: t, loaded: !1, exports: {} });
    return (
      __webpack_modules__[t].call(n.exports, n, n.exports, __webpack_require__),
      (n.loaded = !0),
      n.exports
    );
  }
  (__webpack_require__.m = __webpack_modules__),
    (deferred = []),
    (__webpack_require__.O = (t, e, n, r) => {
      if (!e) {
        var i = 1 / 0;
        for (c = 0; c < deferred.length; c++) {
          for (var [e, n, r] = deferred[c], o = !0, a = 0; a < e.length; a++)
            (!1 & r || i >= r) &&
            Object.keys(__webpack_require__.O).every((t) =>
              __webpack_require__.O[t](e[a])
            )
              ? e.splice(a--, 1)
              : ((o = !1), r < i && (i = r));
          if (o) {
            deferred.splice(c--, 1);
            var s = n();
            void 0 !== s && (t = s);
          }
        }
        return t;
      }
      r = r || 0;
      for (var c = deferred.length; c > 0 && deferred[c - 1][2] > r; c--)
        deferred[c] = deferred[c - 1];
      deferred[c] = [e, n, r];
    }),
    (__webpack_require__.n = (t) => {
      var e = t && t.__esModule ? () => t.default : () => t;
      return __webpack_require__.d(e, { a: e }), e;
    }),
    (getProto = Object.getPrototypeOf
      ? (t) => Object.getPrototypeOf(t)
      : (t) => t.__proto__),
    (__webpack_require__.t = function (t, e) {
      if ((1 & e && (t = this(t)), 8 & e)) return t;
      if ("object" == typeof t && t) {
        if (4 & e && t.__esModule) return t;
        if (16 & e && "function" == typeof t.then) return t;
      }
      var n = Object.create(null);
      __webpack_require__.r(n);
      var r = {};
      leafPrototypes = leafPrototypes || [
        null,
        getProto({}),
        getProto([]),
        getProto(getProto),
      ];
      for (
        var i = 2 & e && t;
        "object" == typeof i && !~leafPrototypes.indexOf(i);
        i = getProto(i)
      )
        Object.getOwnPropertyNames(i).forEach((e) => (r[e] = () => t[e]));
      return (r.default = () => t), __webpack_require__.d(n, r), n;
    }),
    (__webpack_require__.d = (t, e) => {
      for (var n in e)
        __webpack_require__.o(e, n) &&
          !__webpack_require__.o(t, n) &&
          Object.defineProperty(t, n, { enumerable: !0, get: e[n] });
    }),
    (__webpack_require__.f = {}),
    (__webpack_require__.e = (t) =>
      Promise.all(
        Object.keys(__webpack_require__.f).reduce(
          (e, n) => (__webpack_require__.f[n](t, e), e),
          []
        )
      )),
    (__webpack_require__.u = (t) =>
      "js/chunk." +
      t +
      "-" +
      {
        97: "4da9f44a",
        265: "f99b178d",
        327: "a90d2f14",
        425: "d9f75908",
        508: "8a0f3f5a",
        534: "73e358d3",
        600: "033c19a1",
        706: "cc17fb53",
        886: "2e96ba31",
        924: "f27335dd",
        967: "174be061",
      }[t] +
      ".js"),
    (__webpack_require__.miniCssF = (t) => "css/chunk." + t + ".css"),
    (__webpack_require__.g = (function () {
      if ("object" == typeof globalThis) return globalThis;
      try {
        return this || new Function("return this")();
      } catch (t) {
        if ("object" == typeof window) return window;
      }
    })()),
    (__webpack_require__.hmd = (t) => (
      (t = Object.create(t)).children || (t.children = []),
      Object.defineProperty(t, "exports", {
        enumerable: !0,
        set: () => {
          throw new Error(
            "ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead: " +
              t.id
          );
        },
      }),
      t
    )),
    (__webpack_require__.o = (t, e) =>
      Object.prototype.hasOwnProperty.call(t, e)),
    (inProgress = {}),
    (dataWebpackPrefix = "sdc-ue-ux:"),
    (__webpack_require__.l = (t, e, n, r) => {
      if (inProgress[t]) inProgress[t].push(e);
      else {
        var i, o;
        if (void 0 !== n)
          for (
            var a = document.getElementsByTagName("script"), s = 0;
            s < a.length;
            s++
          ) {
            var c = a[s];
            if (
              c.getAttribute("src") == t ||
              c.getAttribute("data-webpack") == dataWebpackPrefix + n
            ) {
              i = c;
              break;
            }
          }
        i ||
          ((o = !0),
          ((i = document.createElement("script")).charset = "utf-8"),
          (i.timeout = 120),
          __webpack_require__.nc &&
            i.setAttribute("nonce", __webpack_require__.nc),
          i.setAttribute("data-webpack", dataWebpackPrefix + n),
          (i.src = t)),
          (inProgress[t] = [e]);
        var l = (e, n) => {
            (i.onerror = i.onload = null), clearTimeout(u);
            var r = inProgress[t];
            if (
              (delete inProgress[t],
              i.parentNode && i.parentNode.removeChild(i),
              r && r.forEach((t) => t(n)),
              e)
            )
              return e(n);
          },
          u = setTimeout(
            l.bind(null, void 0, { type: "timeout", target: i }),
            12e4
          );
        (i.onerror = l.bind(null, i.onerror)),
          (i.onload = l.bind(null, i.onload)),
          o && document.head.appendChild(i);
      }
    }),
    (__webpack_require__.r = (t) => {
      "undefined" != typeof Symbol &&
        Symbol.toStringTag &&
        Object.defineProperty(t, Symbol.toStringTag, { value: "Module" }),
        Object.defineProperty(t, "__esModule", { value: !0 });
    }),
    (chunkMapping = {}),
    (idToExternalAndNameMapping = {}),
    (__webpack_require__.f.remotes = (t, e) => {
      __webpack_require__.o(chunkMapping, t) &&
        chunkMapping[t].forEach((t) => {
          var n = __webpack_require__.R;
          n || (n = []);
          var r = idToExternalAndNameMapping[t];
          if (!(n.indexOf(r) >= 0)) {
            if ((n.push(r), r.p)) return e.push(r.p);
            var i = (e) => {
                e || (e = new Error("Container missing")),
                  "string" == typeof e.message &&
                    (e.message +=
                      '\nwhile loading "' + r[1] + '" from ' + r[2]),
                  (__webpack_require__.m[t] = () => {
                    throw e;
                  }),
                  (r.p = 0);
              },
              o = (t, n, o, a, s, c) => {
                try {
                  var l = t(n, o);
                  if (!l || !l.then) return s(l, a, c);
                  var u = l.then((t) => s(t, a), i);
                  if (!c) return u;
                  e.push((r.p = u));
                } catch (t) {
                  i(t);
                }
              },
              a = (t, e, i) => o(e.get, r[1], n, 0, s, i),
              s = (e) => {
                (r.p = 1),
                  (__webpack_require__.m[t] = (t) => {
                    t.exports = e();
                  });
              };
            o(
              __webpack_require__,
              r[2],
              0,
              0,
              (t, e, n) =>
                t ? o(__webpack_require__.I, r[0], 0, t, a, n) : i(),
              1
            );
          }
        });
    }),
    (() => {
      __webpack_require__.S = {};
      var t = {},
        e = {};
      __webpack_require__.I = (n, r) => {
        r || (r = []);
        var i = e[n];
        if ((i || (i = e[n] = {}), !(r.indexOf(i) >= 0))) {
          if ((r.push(i), t[n])) return t[n];
          __webpack_require__.o(__webpack_require__.S, n) ||
            (__webpack_require__.S[n] = {});
          __webpack_require__.S[n];
          var o = [];
          return o.length
            ? (t[n] = Promise.all(o).then(() => (t[n] = 1)))
            : (t[n] = 1);
        }
      };
    })(),
    (__webpack_require__.p = "/ux/runner/static/"),
    (loadStylesheet = (t) =>
      new Promise((e, n) => {
        var r = __webpack_require__.miniCssF(t),
          i = __webpack_require__.p + r;
        if (
          ((t, e) => {
            for (
              var n = document.getElementsByTagName("link"), r = 0;
              r < n.length;
              r++
            ) {
              var i =
                (a = n[r]).getAttribute("data-href") || a.getAttribute("href");
              if ("stylesheet" === a.rel && (i === t || i === e)) return a;
            }
            var o = document.getElementsByTagName("style");
            for (r = 0; r < o.length; r++) {
              var a;
              if ((i = (a = o[r]).getAttribute("data-href")) === t || i === e)
                return a;
            }
          })(r, i)
        )
          return e();
        ((t, e, n, r) => {
          var i = document.createElement("link");
          (i.rel = "stylesheet"),
            (i.type = "text/css"),
            (i.onerror = i.onload =
              (o) => {
                if (((i.onerror = i.onload = null), "load" === o.type)) n();
                else {
                  var a = o && ("load" === o.type ? "missing" : o.type),
                    s = (o && o.target && o.target.href) || e,
                    c = new Error(
                      "Loading CSS chunk " + t + " failed.\n(" + s + ")"
                    );
                  (c.code = "CSS_CHUNK_LOAD_FAILED"),
                    (c.type = a),
                    (c.request = s),
                    i.parentNode.removeChild(i),
                    r(c);
                }
              }),
            (i.href = e),
            document.head.appendChild(i);
        })(t, i, e, n);
      })),
    (installedCssChunks = { 792: 0 }),
    (__webpack_require__.f.miniCss = (t, e) => {
      installedCssChunks[t]
        ? e.push(installedCssChunks[t])
        : 0 !== installedCssChunks[t] &&
          { 337: 1, 755: 1 }[t] &&
          e.push(
            (installedCssChunks[t] = loadStylesheet(t).then(
              () => {
                installedCssChunks[t] = 0;
              },
              (e) => {
                throw (delete installedCssChunks[t], e);
              }
            ))
          );
    }),
    (() => {
      var t = { 792: 0 };
      (__webpack_require__.f.j = (e, n) => {
        var r = __webpack_require__.o(t, e) ? t[e] : void 0;
        if (0 !== r)
          if (r) n.push(r[2]);
          else if (/^(337|755)$/.test(e)) t[e] = 0;
          else {
            var i = new Promise((n, i) => (r = t[e] = [n, i]));
            n.push((r[2] = i));
            var o = __webpack_require__.p + __webpack_require__.u(e),
              a = new Error();
            __webpack_require__.l(
              o,
              (n) => {
                if (
                  __webpack_require__.o(t, e) &&
                  (0 !== (r = t[e]) && (t[e] = void 0), r)
                ) {
                  var i = n && ("load" === n.type ? "missing" : n.type),
                    o = n && n.target && n.target.src;
                  (a.message =
                    "Loading chunk " + e + " failed.\n(" + i + ": " + o + ")"),
                    (a.name = "ChunkLoadError"),
                    (a.type = i),
                    (a.request = o),
                    r[1](a);
                }
              },
              "chunk-" + e,
              e
            );
          }
      }),
        (__webpack_require__.O.j = (e) => 0 === t[e]);
      var e = (e, n) => {
          var r,
            i,
            [o, a, s] = n,
            c = 0;
          if (o.some((e) => 0 !== t[e])) {
            for (r in a)
              __webpack_require__.o(a, r) && (__webpack_require__.m[r] = a[r]);
            if (s) var l = s(__webpack_require__);
          }
          for (e && e(n); c < o.length; c++)
            (i = o[c]),
              __webpack_require__.o(t, i) && t[i] && t[i][0](),
              (t[i] = 0);
          return __webpack_require__.O(l);
        },
        n = (self.webpackChunksdc_ue_ux = self.webpackChunksdc_ue_ux || []);
      n.forEach(e.bind(null, 0)), (n.push = e.bind(null, n.push.bind(n)));
    })(),
    __webpack_require__.O(void 0, [874, 96], () => __webpack_require__(7452));
  var __webpack_exports__ = __webpack_require__.O(void 0, [874, 96], () =>
    __webpack_require__(15915)
  );
  __webpack_exports__ = __webpack_require__.O(__webpack_exports__);
})();
//# sourceMappingURL=../sourcemap/chunk.main-6bcdec16.js.map
