require("../../@babel/runtime/helpers/Arrayincludes"), require("../../@babel/runtime/helpers/Objectentries");
var e = require("../../@babel/runtime/helpers/regeneratorRuntime"),
  t = require("../../@babel/runtime/helpers/toConsumableArray"),
  n = require("../../@babel/runtime/helpers/slicedToArray"),
  o = require("../../@babel/runtime/helpers/classCallCheck"),
  a = require("../../@babel/runtime/helpers/createClass"),
  r = require("../../@babel/runtime/helpers/assertThisInitialized"),
  l = require("../../@babel/runtime/helpers/possibleConstructorReturn"),
  i = require("../../@babel/runtime/helpers/isNativeReflectConstruct"),
  c = require("../../@babel/runtime/helpers/getPrototypeOf"),
  u = require("../../@babel/runtime/helpers/inherits"),
  d = require("../../@babel/runtime/helpers/typeof"),
  s = require("../../@babel/runtime/helpers/defineProperty"),
  v = require("../../@babel/runtime/helpers/createForOfIteratorHelper");
require("../sub-vendors.js"), (wx.webpackJsonp = wx.webpackJsonp || []).push([
  [7594], {
    1945: function (m, f, p) {
      var g = p(4160),
        h = p(5652),
        y = p(2555),
        b = p(4107),
        C = p(4576),
        k = p(758),
        w = p(3526),
        I = p(7805),
        E = p(2573),
        N = p.n(E),
        O = p(4269),
        P = p(462),
        S = p.n(P),
        A = p(7782),
        x = p(2201),
        T = p(8641),
        D = p(8799),
        j = p(8773),
        L = p(2499),
        R = p(3490),
        _ = p(8367),
        B = p(6454),
        F = Object.defineProperty,
        M = Object.getOwnPropertySymbols,
        z = Object.prototype.hasOwnProperty,
        U = Object.prototype.propertyIsEnumerable,
        V = function (e, t, n) {
          return t in e ? F(e, t, {
            enumerable: !0,
            configurable: !0,
            writable: !0,
            value: n
          }) : e[t] = n
        },
        W = function (e, t) {
          for (var n in t || (t = {})) z.call(t, n) && V(e, n, t[n]);
          if (M) {
            var o, a = v(M(t));
            try {
              for (a.s(); !(o = a.n()).done;) {
                n = o.value;
                U.call(t, n) && V(e, n, t[n])
              }
            } catch (e) {
              a.e(e)
            } finally {
              a.f()
            }
          }
          return e
        },
        Y = "bui-skeleton",
        H = k.forwardRef((function (e, t) {
          var n = e,
            o = n.className,
            a = n.style,
            r = n.animation,
            l = n.width,
            i = n.height,
            c = n.variant,
            u = n.children,
            d = function (e, t) {
              var n = {};
              for (var o in e) z.call(e, o) && t.indexOf(o) < 0 && (n[o] = e[o]);
              if (null != e && M) {
                var a, r = v(M(e));
                try {
                  for (r.s(); !(a = r.n()).done;) {
                    o = a.value;
                    t.indexOf(o) < 0 && U.call(e, o) && (n[o] = e[o])
                  }
                } catch (e) {
                  r.e(e)
                } finally {
                  r.f()
                }
              }
              return n
            }(n, ["className", "style", "animation", "width", "height", "variant", "children"]);
          return k.createElement("span", W({
            className: (0, B.A)(Y, "".concat(Y, "-").concat(c), s(s({}, "".concat(Y, "-animation-").concat(r), r), "".concat(Y, "-with-children"), Boolean(u)), o),
            ref: t,
            style: W({
              width: l,
              height: i
            }, a)
          }, d), u)
        }));
      H.displayName = "BuiSkeleton", H.defaultProps = {
        animation: "wave",
        variant: "text"
      };
      var q = H,
        K = p(3266),
        J = (0, K.A)('<path d="M46.629 3c24.095 0 43.628 19.5 43.628 43.555a43.352 43.352 0 0 1-9.952 27.693l11.406 11.306a4.35 4.35 0 0 1 .022 6.16 4.368 4.368 0 0 1-6.17.021L71.816 78.108a4.343 4.343 0 0 1-1.263-3.567 4.36 4.36 0 0 1 1.168-3.766c6.256-6.458 9.81-15.054 9.81-24.22 0-19.244-15.626-34.844-34.902-34.844-19.277 0-34.903 15.6-34.903 34.844S27.352 81.4 46.629 81.4c3.98 0 7.862-.664 11.535-1.947a4.365 4.365 0 0 1 5.559 2.672 4.354 4.354 0 0 1-2.677 5.55 43.634 43.634 0 0 1-14.417 2.436C22.533 90.11 3 70.61 3 46.555 3 22.5 22.533 3 46.629 3Z"/>', "SearchGapOutlinedIcon"),
        G = p(5215),
        Z = p(872),
        X = p(9836),
        $ = p(9551),
        Q = p.n($),
        ee = p(7800),
        te = Object.defineProperty,
        ne = function (e, t, n) {
          return function (e, t, n) {
            t in e ? te(e, t, {
              enumerable: !0,
              configurable: !0,
              writable: !0,
              value: n
            }) : e[t] = n
          }(e, "symbol" !== d(t) ? t + "" : t, n), n
        },
        oe = function (e) {
          function t(e) {
            var n;
            return o(this, t), n = function (e, t, n) {
              return t = c(t), l(e, i() ? Reflect.construct(t, n || [], c(e).constructor) : t.apply(e, n))
            }(this, t, [e]), ne(r(n), "state"), ne(r(n), "props"), n.state = {
              error: null
            }, n
          }
          return u(t, e), a(t, [{
            key: "componentDidCatch",
            value: function (e) {
              this.setState({
                error: e
              })
            }
          }, {
            key: "render",
            value: function () {
              var e = this.props,
                t = e.fallback,
                n = e.children;
              return this.state.error ? t || null : n
            }
          }])
        }(k.Component),
        ae = ee.A.isObject,
        re = function (e, t, n) {
          var o, a = {},
            r = [],
            l = {},
            i = {},
            c = function (e) {
              var t, n = {};
              return null == (t = Object.keys(e)) || t.forEach((function (t) {
                var o, a;
                null == (a = null == (o = e[t]) ? void 0 : o.children) || a.forEach((function (e) {
                  (null == n ? void 0 : n[e]) || (n[e] = t)
                }))
              })), n
            }(t);
          return null == e || e.forEach((function (e, t) {
            var n, o, u, d, s, v = e.type;
            if (v) {
              var m = v;
              if (null == a ? void 0 : a[v]) {
                var f = Number(null == (n = null == a ? void 0 : a[v]) ? void 0 : n.length) - 1,
                  p = Number(null == (o = null == a ? void 0 : a[v]) ? void 0 : o[f]) + 1;
                m = "".concat(v, "-").concat(p), null == (u = null == a ? void 0 : a[v]) || u.push(f + 1)
              } else m = "".concat(v, "-0"), a[v] = [0];
              l[m] = e;
              var g = c[v];
              g ? (r.push(null), (null == i ? void 0 : i[g]) ? null == (s = null == (d = i[g]) ? void 0 : d.children) || s.push(m) : i[g] = {
                index: t,
                containerName: g,
                children: [m]
              }) : r.push(m)
            }
          })), null == (o = Object.keys(i)) || o.forEach((function (e) {
            var t = i[e] || {},
              n = t.index,
              o = t.children;
            (null == o ? void 0 : o.length) > 0 && (null == r || r.splice(n, 1, i[e]))
          })), {
            renderMap: r,
            componentDataMap: l
          }
        },
        le = function (e, t, n, o, a) {
          var r = null == e ? void 0 : e.indexOf("-"),
            l = null == e ? void 0 : e.slice(0, r),
            i = null == n ? void 0 : n[l],
            c = null == i ? void 0 : i.component;
          if (c) {
            var u = null == i ? void 0 : i.fallback,
              d = u ? k.createElement(u, null) : null;
            return k.createElement(k.Suspense, {
              key: "".concat(l, "-").concat(o),
              fallback: d
            }, k.createElement(oe, null, function (e, t) {
              return e ? k.createElement(e, null, t) : t
            }("7587" !== l && "7984" !== l ? a : null, k.createElement(c, {
              nodeType: l,
              fallback: d,
              cmsData: null == t ? void 0 : t[e]
            }))))
          }
          return null
        },
        ie = function (e, t, n, o) {
          if ((null == e ? void 0 : e.length) > 0) {
            var a = re(e, t),
              r = a.renderMap,
              l = a.componentDataMap;
            return null == r ? void 0 : r.map((function (e, a) {
              var r, i;
              if (!ae(e)) return le(e, l, n, a, o);
              var c = null == e ? void 0 : e.containerName,
                u = null == (r = null == t ? void 0 : t[c]) ? void 0 : r.component;
              return u ? k.createElement(u, {
                key: c
              }, null == (i = null == e ? void 0 : e.children) ? void 0 : i.map((function (e) {
                return le(e, l, n, a, o)
              }))) : null
            }))
          }
          return null
        },
        ce = p(9933),
        ue = Object.defineProperty,
        de = Object.defineProperties,
        se = Object.getOwnPropertyDescriptors,
        ve = Object.getOwnPropertySymbols,
        me = Object.prototype.hasOwnProperty,
        fe = Object.prototype.propertyIsEnumerable,
        pe = function (e, t, n) {
          return t in e ? ue(e, t, {
            enumerable: !0,
            configurable: !0,
            writable: !0,
            value: n
          }) : e[t] = n
        },
        ge = "bui-dm-atmosphere",
        he = (0, k.forwardRef)((function (e, t) {
          var n = e,
            o = n.data,
            a = void 0 === o ? {} : o,
            r = (n.isImmersive, n.height),
            l = void 0 === r ? 0 : r,
            i = n.onClick,
            c = void 0 === i ? function () {} : i,
            u = n.className,
            d = n.logConfig,
            s = void 0 === d ? {} : d,
            m = function (e, t) {
              var n = {};
              for (var o in e) me.call(e, o) && t.indexOf(o) < 0 && (n[o] = e[o]);
              if (null != e && ve) {
                var a, r = v(ve(e));
                try {
                  for (r.s(); !(a = r.n()).done;) {
                    o = a.value;
                    t.indexOf(o) < 0 && fe.call(e, o) && (n[o] = e[o])
                  }
                } catch (e) {
                  r.e(e)
                } finally {
                  r.f()
                }
              }
              return n
            }(n, ["data", "isImmersive", "height", "onClick", "className", "logConfig"]),
            f = a.img;
          return k.createElement("div", function (e, t) {
            return de(e, se(t))
          }(function (e, t) {
            for (var n in t || (t = {})) me.call(t, n) && pe(e, n, t[n]);
            if (ve) {
              var o, a = v(ve(t));
              try {
                for (a.s(); !(o = a.n()).done;) {
                  n = o.value;
                  fe.call(t, n) && pe(e, n, t[n])
                }
              } catch (e) {
                a.e(e)
              } finally {
                a.f()
              }
            }
            return e
          }({
            className: (0, B.A)(ge, u, s.pic, s.picActiveTab),
            ref: t
          }, m), {
            style: {
              backgroundImage: "url(".concat((0, ce.zp)({
                url: f || "",
                width: 600,
                quality: 70
              }), ")"),
              height: l / 3.75 + "vw"
            },
            onClick: function (e) {
              return c(e, a)
            }
          }), k.createElement("div", {
            className: "".concat(ge, "-bottom-linear")
          }))
        }));
      he.displayName = "BuiDmAtmosphere";
      var ye = he,
        be = (0, k.createContext)({
          dmCategoryProps: {},
          TabsProps: {},
          ConcertTourProps: {},
          HotStarActivityProps: {},
          ShowThemeCardProps: {},
          ShowSmallThemeCardProps: {},
          ShowListDrawerProps: {},
          FilterPanelProps: {},
          ShowCardProps: {},
          ShowSoldCardProps: {},
          TravelAndShowProps: {},
          KeyframeProps: {},
          RewardCardProps: {},
          SwiperBannerProps: {},
          atmosphereProps: {},
          brandShowProps: {},
          musicArtistProps: {},
          musicFestivalBrandProps: {},
          ticketBroadcastProps: {},
          smallBannerProps: {},
          venueBrandProps: {},
          scrollBallAreaProps: {},
          verticalAttractionCardProps: {},
          horizontalAttractionCardProps: {}
        }),
        Ce = Object.defineProperty,
        ke = Object.defineProperties,
        we = Object.getOwnPropertyDescriptors,
        Ie = Object.getOwnPropertySymbols,
        Ee = Object.prototype.hasOwnProperty,
        Ne = Object.prototype.propertyIsEnumerable,
        Oe = function (e, t, n) {
          return t in e ? Ce(e, t, {
            enumerable: !0,
            configurable: !0,
            writable: !0,
            value: n
          }) : e[t] = n
        },
        Pe = function (e, t) {
          for (var n in t || (t = {})) Ee.call(t, n) && Oe(e, n, t[n]);
          if (Ie) {
            var o, a = v(Ie(t));
            try {
              for (a.s(); !(o = a.n()).done;) {
                n = o.value;
                Ne.call(t, n) && Oe(e, n, t[n])
              }
            } catch (e) {
              a.e(e)
            } finally {
              a.f()
            }
          }
          return e
        },
        Se = function (e, t) {
          return ke(e, we(t))
        },
        Ae = (0, k.forwardRef)((function (e, t) {
          var n, o, a = e.activeTab,
            r = (0, k.useContext)(be),
            l = r.dmCategoryProps,
            i = (void 0 === l ? {} : l).components,
            c = void 0 === i ? [] : i,
            u = r.atmosphereProps,
            d = void 0 === u ? {} : u,
            s = d.isImmersive,
            v = d.onClickPic,
            m = void 0 === v ? function () {} : v,
            f = d.logConfig,
            p = void 0 === f ? {} : f,
            g = null == (o = null == (n = (c.find((function (e) {
              return "7628" === e.type
            })) || {}).nodes) ? void 0 : n[0]) ? void 0 : o.data;
          return k.createElement(ye, {
            ref: t,
            data: g,
            isImmersive: s,
            height: s ? 350 : 260,
            logConfig: Se(Pe({}, p), {
              picActiveTab: "".concat(p.pic, "-").concat(a)
            }),
            onClick: m
          })
        })),
        xe = p(8273),
        Te = p(7427),
        De = p(1066),
        je = Object.defineProperty,
        Le = Object.getOwnPropertySymbols,
        Re = Object.prototype.hasOwnProperty,
        _e = Object.prototype.propertyIsEnumerable,
        Be = function (e, t, n) {
          return t in e ? je(e, t, {
            enumerable: !0,
            configurable: !0,
            writable: !0,
            value: n
          }) : e[t] = n
        },
        Fe = "bui-dm-brand-show",
        Me = ["//gw.alicdn.com/imgextra/i4/O1CN01u76UaT1v8fxG6TMXx_!!6000000006128-2-tps-624-210.png", "//gw.alicdn.com/imgextra/i1/O1CN01BnS0z61Fj7c2ohkWT_!!6000000000522-2-tps-624-210.png", "//gw.alicdn.com/imgextra/i3/O1CN01RDnWy21GbckC7axiY_!!6000000000641-2-tps-624-210.png", "//gw.alicdn.com/imgextra/i2/O1CN01sw8IXD29l3lrDW4yE_!!6000000008107-2-tps-624-210.png", "//gw.alicdn.com/imgextra/i2/O1CN01NeXGqx1oEu1wZYOtO_!!6000000005194-2-tps-624-210.png"],
        ze = (0, k.memo)((0, k.forwardRef)((function (e, t) {
          var n = e,
            o = n.list,
            a = void 0 === o ? [] : o,
            r = n.onClickBrand,
            l = void 0 === r ? function () {} : r,
            i = n.onClickShow,
            c = void 0 === i ? function () {} : i,
            u = n.className,
            d = n.logConfig,
            s = void 0 === d ? {} : d,
            m = n.useBackgroundImage,
            f = void 0 !== m && m,
            p = function (e, t) {
              var n = {};
              for (var o in e) Re.call(e, o) && t.indexOf(o) < 0 && (n[o] = e[o]);
              if (null != e && Le) {
                var a, r = v(Le(e));
                try {
                  for (r.s(); !(a = r.n()).done;) {
                    o = a.value;
                    t.indexOf(o) < 0 && _e.call(e, o) && (n[o] = e[o])
                  }
                } catch (e) {
                  r.e(e)
                } finally {
                  r.f()
                }
              }
              return n
            }(n, ["list", "onClickBrand", "onClickShow", "className", "logConfig", "useBackgroundImage"]);
          return a.length ? k.createElement("div", function (e, t) {
            for (var n in t || (t = {})) Re.call(t, n) && Be(e, n, t[n]);
            if (Le) {
              var o, a = v(Le(t));
              try {
                for (a.s(); !(o = a.n()).done;) {
                  n = o.value;
                  _e.call(t, n) && Be(e, n, t[n])
                }
              } catch (e) {
                a.e(e)
              } finally {
                a.f()
              }
            }
            return e
          }({
            className: (0, B.A)(Fe, u, "test-link"),
            ref: t
          }, p), a.map((function (e, t) {
            return k.createElement(xe.A, {
              className: "".concat(Fe, "-item"),
              key: t
            }, k.createElement("div", {
              className: (0, B.A)("".concat(Fe, "-item-top"), s.brand, "".concat(s.brand, "-").concat(e.brandId)),
              style: {
                backgroundImage: "url(".concat((0, ce.zp)({
                  url: Me[t % 5] || "",
                  width: 600
                }), "\n                  )")
              },
              onClick: function (n) {
                return l(n, e, t)
              }
            }, k.createElement("div", {
              className: "".concat(Fe, "-item-top-name")
            }, e.name && k.createElement("div", {
              className: "".concat(Fe, "-item-top-name-text")
            }, e.name), e.publishTagPic && (0, De.p)({
              className: "".concat(Fe, "-item-top-tag"),
              src: (0, ce.zp)({
                url: e.publishTagPic || "",
                width: 100,
                ignorePng: !0
              }),
              fit: "cover",
              lazy: !0,
              useImage: !f
            }), e.showArrow && k.createElement(Te.A, {
              htmlColor: "#fff"
            })), e.fansCount && k.createElement("div", {
              className: "".concat(Fe, "-item-top-info")
            }, +e.fansCount >= 1e4 ? "".concat((+e.fansCount / 1e4).toFixed(1), "万") : e.fansCount, "粉丝")), k.createElement("div", {
              className: "".concat(Fe, "-item-bottom")
            }, (e.projectVos || []).map((function (n, o) {
              return k.createElement("div", {
                className: (0, B.A)("".concat(Fe, "-item-bottom-show"), s.show, "".concat(s.show, "-").concat(n.projectId)),
                "data-alog": {
                  parsedTrackInfo: e.parsedTrackInfo,
                  index: o
                },
                key: o,
                onClick: function (t) {
                  return c(t, e, o)
                }
              }, (0, De.p)({
                className: "".concat(Fe, "-item-bottom-poster"),
                src: (0, ce.zp)({
                  url: n.projectPic || "",
                  width: 400,
                  ignorePng: !0
                }),
                fit: "cover",
                lazy: !0,
                useImage: !f || t >= 2
              }), k.createElement("div", {
                className: "".concat(Fe, "-item-bottom-info")
              }, n.projectName && k.createElement("div", {
                className: "".concat(Fe, "-item-bottom-info-title")
              }, n.projectName), function (e) {
                return Number(e) || "0" === String(e) ? k.createElement("div", {
                  className: "".concat(Fe, "-item-bottom-info-price")
                }, k.createElement("span", null, "¥", k.createElement("b", null, e)), "起") : k.createElement("div", {
                  className: "".concat(Fe, "-item-bottom-info-price")
                }, k.createElement("span", {
                  className: "".concat(Fe, "-item-bottom-info-price-text")
                }, e || "价格待定"))
              }(n.priceLow)))
            }))))
          }))) : null
        })));
      ze.displayName = "BuiDmBrandShow";
      var Ue = ze,
        Ve = function (e) {
          var t = e || {},
            n = t.data,
            o = void 0 === n ? {} : n,
            a = t.title,
            r = t.btnText,
            l = t.url,
            i = t.onClick,
            c = void 0 === i ? function () {} : i;
          return k.createElement("div", {
            className: "custom-title-bar",
            onClick: function (e) {
              return c(e, o)
            }
          }, a && k.createElement("div", {
            className: "custom-title-bar-title"
          }, a), k.createElement("div", {
            className: "custom-title-bar-extra"
          }, r && k.createElement("div", {
            className: "custom-title-bar-btntext"
          }, r), l && k.createElement(Te.A, {
            className: "custom-title-bar-arrow",
            htmlColor: "#5f6672"
          })))
        },
        We = Object.defineProperty,
        Ye = Object.defineProperties,
        He = Object.getOwnPropertyDescriptors,
        qe = Object.getOwnPropertySymbols,
        Ke = Object.prototype.hasOwnProperty,
        Je = Object.prototype.propertyIsEnumerable,
        Ge = function (e, t, n) {
          return t in e ? We(e, t, {
            enumerable: !0,
            configurable: !0,
            writable: !0,
            value: n
          }) : e[t] = n
        },
        Ze = function () {
          var e = (0, k.useContext)(be),
            t = e.dmCategoryProps,
            n = (void 0 === t ? {} : t).brandShowCms,
            o = void 0 === n ? {} : n,
            a = e.brandShowProps,
            r = void 0 === a ? {} : a,
            l = r.onClickBrand,
            i = void 0 === l ? function () {} : l,
            c = r.onClickShow,
            u = void 0 === c ? function () {} : c,
            d = r.onClickTitleBar,
            s = void 0 === d ? function () {} : d,
            m = r.logConfig,
            f = void 0 === m ? {} : m,
            p = o.data || {},
            g = p.title,
            h = p.keywords,
            y = (null == h ? void 0 : h[0]) || {},
            b = y.text,
            C = y.action,
            w = (void 0 === C ? {} : C).actionUrl,
            I = void 0 === w ? "" : w,
            E = (0, k.useMemo)((function () {
              return (o.nodes || []).map((function (e) {
                var t, n, o;
                return function (e, t) {
                  return Ye(e, He(t))
                }(function (e, t) {
                  for (var n in t || (t = {})) Ke.call(t, n) && Ge(e, n, t[n]);
                  if (qe) {
                    var o, a = v(qe(t));
                    try {
                      for (a.s(); !(o = a.n()).done;) {
                        n = o.value;
                        Je.call(t, n) && Ge(e, n, t[n])
                      }
                    } catch (e) {
                      a.e(e)
                    } finally {
                      a.f()
                    }
                  }
                  return e
                }({}, e.data), {
                  showArrow: !!(null == (o = null == (n = null == (t = e.data) ? void 0 : t.parsedTrackInfo) ? void 0 : n.item) ? void 0 : o.actionUrl)
                })
              }))
            }), [o]);
          return k.createElement(k.Fragment, null, k.createElement(Ve, {
            data: o.data,
            title: g,
            btnText: b,
            url: I,
            onClick: s
          }), k.createElement(Ue, {
            list: E,
            logConfig: f,
            onClickBrand: i,
            onClickShow: u,
            useBackgroundImage: !0
          }))
        },
        Xe = p(1209),
        $e = p(3438),
        Qe = (0, K.A)('<g fill-rule="nonzero"><path d="M48.28 21.078c-11.934 0-22.961 6.248-28.93 16.389a32.247 32.247 0 0 0 0 32.78c5.966 10.14 16.996 16.388 28.93 16.388 18.445 0 33.4-14.677 33.4-32.78 0-18.1-14.955-32.777-33.4-32.777ZM5.331 53.855c0-15.052 8.187-28.966 21.472-36.497a43.657 43.657 0 0 1 42.948 0C83.04 24.888 91.224 38.8 91.224 53.855 91.227 77.135 72 96 48.28 96 24.56 96 5.332 77.132 5.332 53.855ZM68.544 1.607a4.83 4.83 0 0 1 6.739-.445l19.085 16.39a4.623 4.623 0 0 1 .454 6.609c-1.736 1.946-4.752 2.146-6.736.442L68.997 8.217a4.621 4.621 0 0 1-.453-6.607v-.003Z"/><path d="M27.396 1.578a4.827 4.827 0 0 0-3.27-1.563 4.868 4.868 0 0 0-3.453 1.128L1.625 17.23a4.49 4.49 0 0 0-.448 6.488 4.88 4.88 0 0 0 6.72.435l19.046-16.09a4.488 4.488 0 0 0 .453-6.488v.003Zm20.222 28.31c2.63 0 4.763 2.059 4.763 4.597v15.93l12.165 7.83c2.187 1.41 2.78 4.266 1.32 6.375-1.46 2.115-4.418 2.683-6.605 1.275L44.975 56.7a4.557 4.557 0 0 1-2.117-3.826V34.485c0-2.538 2.133-4.597 4.76-4.597Z"/></g>', "ClockOutlinedIcon"),
        et = p(5837),
        tt = p(2424),
        nt = p(2333),
        ot = (p(4315), function (e) {
          return e.NOT_STARTED = "1", e.HOT_RUSH = "2", e.SOLD_OUT = "3", e.OUT_OF_STOCK = "4", e
        }(ot || {})),
        at = function (e) {
          return e.BUY = "https://gw.alicdn.com/imgextra/i1/O1CN01yDjY0E1LZrIAKyzMo_!!6000000001314-2-tps-154-48.png", e.LIGHT = "https://gw.alicdn.com/imgextra/i2/O1CN01bxxima1J1qeJpCqek_!!6000000000969-2-tps-84-154.png", e
        }(at || {}),
        rt = p(3919).window,
        lt = Object.defineProperty,
        it = Object.getOwnPropertySymbols,
        ct = Object.prototype.hasOwnProperty,
        ut = Object.prototype.propertyIsEnumerable,
        dt = function (e, t, n) {
          return t in e ? lt(e, t, {
            enumerable: !0,
            configurable: !0,
            writable: !0,
            value: n
          }) : e[t] = n
        },
        st = "bui-concert-tour",
        vt = (0, X.jZ)(),
        mt = (0, k.memo)((0, k.forwardRef)((function (e, o) {
          var a, r, l = e,
            i = l.className,
            c = l.concertTourList,
            u = l.cardType,
            d = void 0 === u ? "dark" : u,
            m = l.useDefaultBg,
            f = void 0 !== m && m,
            p = l.diffServerTime,
            g = l.logConfig,
            h = l.context,
            y = l.onRoleTwiceClick,
            b = l.onRoleFirstClick,
            C = l.onTourCityClick,
            w = l.onWantSeeClick,
            I = l.useBackgroundImage,
            E = void 0 !== I && I,
            N = l.autoChange,
            O = void 0 !== N && N,
            P = function (e, t) {
              var n = {};
              for (var o in e) ct.call(e, o) && t.indexOf(o) < 0 && (n[o] = e[o]);
              if (null != e && it) {
                var a, r = v(it(e));
                try {
                  for (r.s(); !(a = r.n()).done;) {
                    o = a.value;
                    t.indexOf(o) < 0 && ut.call(e, o) && (n[o] = e[o])
                  }
                } catch (e) {
                  r.e(e)
                } finally {
                  r.f()
                }
              }
              return n
            }(l, ["className", "concertTourList", "cardType", "useDefaultBg", "diffServerTime", "logConfig", "context", "onRoleTwiceClick", "onRoleFirstClick", "onTourCityClick", "onWantSeeClick", "useBackgroundImage", "autoChange"]),
            S = (h || {}).event,
            A = "dark" === d,
            x = c.length,
            T = g || {},
            D = T.roleItem,
            j = T.tourItem,
            R = T.tourFavorite,
            _ = (0, k.useState)(c),
            F = n(_, 2),
            M = F[0],
            z = F[1],
            U = (0, k.useState)(0),
            V = n(U, 2),
            W = V[0],
            Y = V[1],
            H = (0, k.useState)(!1),
            q = n(H, 2),
            K = q[0],
            J = q[1],
            G = (0, k.useState)(0),
            Z = n(G, 2),
            X = Z[0],
            $ = Z[1],
            Q = (0, k.useState)(0),
            ee = n(Q, 2),
            te = ee[0],
            ne = ee[1],
            oe = (0, k.useReducer)((function (e) {
              return e + 1
            }), 0),
            ae = n(oe, 2),
            re = ae[0],
            le = ae[1],
            ie = (0, k.useRef)(null),
            ue = (0, k.useRef)(null),
            de = (0, k.useRef)(null),
            se = (0, k.useMemo)((function () {
              if (!f) {
                var e = ["flow-green", "flow-orange", "flow-purple"];
                return e[W % e.length]
              }
            }), [W, f]),
            ve = (0, k.useState)((function () {
              return rt.innerWidth > 700
            })),
            me = n(ve, 2),
            fe = me[0],
            pe = me[1],
            ge = (0, k.useState)((function () {
              return vt || !fe ? 60 : .16 * rt.innerWidth
            })),
            he = n(ge, 2),
            ye = he[0],
            be = he[1],
            Ce = (0, k.useState)((function () {
              return vt || !fe ? 9 : .024 * rt.innerWidth
            })),
            ke = n(Ce, 2),
            we = ke[0],
            Ie = ke[1],
            Ee = ye + we;
          (0, k.useEffect)((function () {
            if (!vt) {
              var e = function () {
                var e = rt.innerWidth > 700;
                be(e ? .16 * rt.innerWidth : 60), Ie(e ? .024 * rt.innerWidth : 9), pe(e)
              };
              return rt.addEventListener("resize", e),
                function () {
                  rt.removeEventListener("resize", e)
                }
            }
          }), []), (0, k.useEffect)((function () {
            z(c)
          }), [c]), (0, k.useEffect)((function () {
            null == S || S.emit("concertTourRoleChange", {
              active: W
            })
          }), [W]);
          var Ne = function () {
            ue.current && clearInterval(ue.current), ue.current = null
          };
          (0, k.useEffect)((function () {
            if (!O) return function () {
              return !1
            };
            var e = 0;
            return ue.current = setInterval((function () {
                ie.current && (++e === x && (e = 0), $(Ee * e));
                Y((function (e) {
                  var t = e + 1;
                  return t === x && (t = 0), t
                }))
              }), 4e3),
              function () {
                e = 0, Ne()
              }
          }), [re]), (0, k.useImperativeHandle)(o, (function () {
            return {
              reStartAutoChange: function () {
                de.current = null, J(!1), le()
              },
              stopAutoChange: Ne
            }
          }));
          var Oe = function (e) {
              return k.createElement(k.Fragment, null, vt ? k.createElement(Xe.A, {
                size: "small",
                className: "buy-button hot-rush"
              }, (0, De.p)({
                className: "elec-icon",
                src: (0, ce.zp)({
                  url: "https://gw.alicdn.com/imgextra/i1/O1CN01eCuYeO29MKOLUqPYK_!!6000000008053-2-tps-34-48.png",
                  width: 30,
                  ignorePng: !0
                }),
                fit: "cover",
                useImage: !E
              }), "去抢票") : (0, De.p)({
                className: "buy-icon",
                src: (0, ce.zp)({
                  url: at.BUY,
                  width: 70,
                  ignorePng: !0
                }),
                fit: "cover",
                useImage: !E
              }), k.createElement("span", {
                className: "sale-desc"
              }, (null == e ? void 0 : e.ipvuvStr) || "火爆热抢中"))
            },
            Pe = function (e) {
              var n = function (e) {
                  var t, n;
                  return M.forEach((function (o, a) {
                    var r = (o.nodes || []).findIndex((function (t) {
                      var n;
                      return (null == (n = null == t ? void 0 : t.data) ? void 0 : n.itemId) === e
                    }));
                    r >= 0 && (t = a, n = r)
                  })), {
                    index: t,
                    tourIndex: n
                  }
                }(e.itemId),
                o = n.index,
                a = n.tourIndex;
              z((function (e) {
                var n, r, l = null == e ? void 0 : e[o];
                return (null == (r = null == (n = null == l ? void 0 : l.nodes) ? void 0 : n[a]) ? void 0 : r.data) && (l.nodes[a].data._countDownComplete = !0), e.splice(o, 1, l), t(e)
              }))
            };
          return k.createElement("div", function (e, t) {
            for (var n in t || (t = {})) ct.call(t, n) && dt(e, n, t[n]);
            if (it) {
              var o, a = v(it(t));
              try {
                for (a.s(); !(o = a.n()).done;) {
                  n = o.value;
                  ut.call(t, n) && dt(e, n, t[n])
                }
              } catch (e) {
                a.e(e)
              } finally {
                a.f()
              }
            }
            return e
          }({
            className: (0, B.A)(st, i, s({
              "dark-mode": A
            }, se, A))
          }, P), k.createElement(L.A, {
            className: (0, B.A)("role-wrapper", "tph", {
              "pd-right": M.length === W + 1
            }),
            ref: ie,
            onTouchMove: Ne,
            onDragging: Ne,
            scrollX: !0,
            enableFlex: !0,
            enhanced: !0,
            showScrollbar: !1,
            scrollWithAnimation: !0,
            scrollAnimationDuration: 300,
            scrollLeft: X
          }, M.map((function (e, t) {
            var n = e.data;
            return k.createElement("div", {
              className: (0, B.A)("role-item", D, "".concat(D, "-").concat((null == n ? void 0 : n.artisId) || (null == n ? void 0 : n.itemId)), {
                active: W === t,
                "is-big-screen": fe
              }),
              key: t,
              onClick: function (o) {
                return function (e, t, n, o) {
                  (e.stopPropagation(), Ne(), J(n < W), Y(n), ne(-1), setTimeout((function () {
                    ne(0)
                  })), null === ue.current && ((null == t ? void 0 : t.artisId) && (null == t ? void 0 : t.artisId) === de.current || (null == t ? void 0 : t.itemId) && (null == t ? void 0 : t.itemId) === de.current) ? null == y || y(e, t, n, o) : null == b || b(e, t, n, o), de.current = (null == t ? void 0 : t.artisId) || (null == t ? void 0 : t.itemId), ie.current) && $(Ee * n)
                }(o, n, t, e)
              }
            }, (0, De.p)({
              className: "role-pic",
              src: (0, ce.zp)({
                url: null == n ? void 0 : n.tabImage,
                width: 320,
                ignorePng: !0
              }),
              fit: "cover",
              lazy: !0,
              useImage: !E || t >= 6
            }), k.createElement("div", {
              className: "role-name"
            }, k.createElement("div", {
              className: "role-name-text"
            }, null == n ? void 0 : n.tabName)))
          })), vt && k.createElement("div", {
            className: "place-holder"
          })), (null == (r = null == (a = null == M ? void 0 : M[W]) ? void 0 : a.data) ? void 0 : r.title) && k.createElement("div", {
            key: W,
            className: (0, B.A)("concert-name", {
              "no-slide-animate": "0" === String(W),
              "active-left": K
            })
          }, M[W].data.title), function () {
            var e, t, n = null == (t = null == (e = null == M ? void 0 : M[W]) ? void 0 : e.nodes) ? void 0 : t.length;
            return !!n && k.createElement(L.A, {
              className: (0, B.A)("tour-wrapper", "tph", {
                "only-one-child": 1 === n
              }),
              onTouchMove: Ne,
              onDragging: Ne,
              scrollX: !0,
              scrollLeft: te,
              enableFlex: !0,
              enhanced: !0,
              showScrollbar: !1,
              scrollAnimationDuration: 300
            }, M[W].nodes.map((function (e, t) {
              var o = e.data,
                a = Number(o.saleTime) - (new Date).getTime() + p > 864e5,
                r = o || {},
                l = r.canFollow,
                i = r.followStatusTip,
                c = "0" === String(l);
              return k.createElement("div", {
                key: null == o ? void 0 : o.itemId,
                className: (0, B.A)("tour-item", j, "".concat(j, "-").concat(null == o ? void 0 : o.itemId, "-").concat(t), {
                  "no-slide-animate": "0" === String(W),
                  "active-left": K,
                  "tour-item-gray": [ot.SOLD_OUT, ot.OUT_OF_STOCK].includes(null == o ? void 0 : o.saleStatus),
                  "tour-item-large": (null == o ? void 0 : o.saleStatus) === ot.NOT_STARTED && a,
                  "tour-item-full": 1 === n
                }),
                onClick: function (e) {
                  e.stopPropagation(), Ne(), null == C || C(e, o, t)
                }
              }, k.createElement("div", {
                className: "tour-info"
              }, (null == o ? void 0 : o.city) && k.createElement("div", {
                className: "tour-info-left"
              }, "".concat(o.city, "站")), "true" !== (null == o ? void 0 : o.wantSee) || c ? k.createElement(tt.A, {
                onClick: function (e) {
                  e.stopPropagation(), c ? i && (0, nt.o)({
                    useH5: !0,
                    message: i
                  }) : (Ne(), null == w || w(e, o, t))
                },
                className: (0, B.A)("want-icon", R, "".concat(R, "-").concat(null == o ? void 0 : o.itemId, "-").concat(t), c && "want-disabled"),
                htmlColor: A ? "#ffffff" : "#8896b1"
              }) : k.createElement(et.A, {
                onClick: function (e) {
                  e.stopPropagation(), Ne(), null == w || w(e, o, t)
                },
                className: (0, B.A)("want-icon", R, "".concat(R, "-").concat(null == o ? void 0 : o.itemId, "-").concat(t)),
                htmlColor: "#ff4886"
              })), k.createElement("div", {
                className: "sale-info"
              }, function (e) {
                if (e.saleStatus === ot.NOT_STARTED && !(null == e ? void 0 : e._countDownComplete)) {
                  var t = k.createElement(Xe.A, {
                    size: "small",
                    className: "buy-button"
                  }, k.createElement(Qe, {
                    className: "clock-icon",
                    htmlColor: "#ffffff"
                  }), null == e ? void 0 : e.saleTitle);
                  if (!(null == e ? void 0 : e.saleTime)) return k.createElement(k.Fragment, null, t, k.createElement("span", {
                    className: "sale-desc"
                  }, "即将开抢"));
                  var n = Number(e.saleTime) - (new Date).getTime() + p,
                    o = n < 864e5;
                  return n <= 0 ? Oe(e) : o ? k.createElement($e.A, {
                    className: "concert-countdown",
                    remainingTime: n,
                    onFinish: function () {
                      return Pe(e)
                    },
                    renderContent: function (n) {
                      var o = n.total,
                        a = n.hoursWithDays,
                        r = n.minutes,
                        l = n.seconds;
                      return o > 0 && o < 1e3 ? Oe(e) : k.createElement(k.Fragment, null, t, ("00" !== a || "00" !== r || "00" !== l) && k.createElement("div", {
                        className: "status-right"
                      }, k.createElement("span", {
                        className: (0, B.A)("count-down-wrapper", {
                          "is-dark": A
                        })
                      }, a, ":", r, ":", l), k.createElement("span", {
                        className: "count-down-tail"
                      }, "后开抢")))
                    }
                  }) : k.createElement(k.Fragment, null, t, k.createElement("span", {
                    className: "sale-desc"
                  }, "".concat((0, ce.yx)(e.saleTime, "M月D日 HH:mm"), "开抢")))
                }
                return e.saleStatus === ot.HOT_RUSH || (null == e ? void 0 : e._countDownComplete) ? Oe(e) : [ot.SOLD_OUT, ot.OUT_OF_STOCK].includes(e.saleStatus) ? k.createElement(Xe.A, {
                  size: "small",
                  className: "sold-out-button"
                }, null == e ? void 0 : e.saleTitle) : void 0
              }(o)))
            })))
          }())
        })));
      mt.displayName = "BuiDmConcertTour";
      var ft = mt,
        pt = Object.defineProperty,
        gt = Object.getOwnPropertySymbols,
        ht = Object.prototype.hasOwnProperty,
        yt = Object.prototype.propertyIsEnumerable,
        bt = function (e, t, n) {
          return t in e ? pt(e, t, {
            enumerable: !0,
            configurable: !0,
            writable: !0,
            value: n
          }) : e[t] = n
        },
        Ct = function () {
          var e = (0, k.useContext)(be),
            t = e.dmCategoryProps,
            n = void 0 === t ? {} : t,
            o = n.concertTourCms,
            a = void 0 === o ? {} : o,
            r = n.components,
            l = void 0 === r ? [] : r,
            i = n.initialServerTime,
            c = void 0 === i ? 0 : i,
            u = n.initialLocalTime,
            d = void 0 === u ? 0 : u,
            s = e.ConcertTourProps,
            m = void 0 === s ? {} : s,
            f = m.concertTourRef,
            p = function (e, t) {
              var n = {};
              for (var o in e) ht.call(e, o) && t.indexOf(o) < 0 && (n[o] = e[o]);
              if (null != e && gt) {
                var a, r = v(gt(e));
                try {
                  for (r.s(); !(a = r.n()).done;) {
                    o = a.value;
                    t.indexOf(o) < 0 && yt.call(e, o) && (n[o] = e[o])
                  }
                } catch (e) {
                  r.e(e)
                } finally {
                  r.f()
                }
              }
              return n
            }(m, ["concertTourRef"]),
            g = e.context,
            h = Number(d) - Number(c);
          return k.createElement(ft, function (e, t) {
            for (var n in t || (t = {})) ht.call(t, n) && bt(e, n, t[n]);
            if (gt) {
              var o, a = v(gt(t));
              try {
                for (a.s(); !(o = a.n()).done;) {
                  n = o.value;
                  yt.call(t, n) && bt(e, n, t[n])
                }
              } catch (e) {
                a.e(e)
              } finally {
                a.f()
              }
            }
            return e
          }({
            className: "cms-concert-tour",
            ref: f,
            diffServerTime: h,
            cardType: function () {
              var e, t, n, o = "light",
                a = l.find((function (e) {
                  return "7628" === e.type
                })) || {},
                r = null == (t = null == (e = a.nodes) ? void 0 : e[0]) ? void 0 : t.data;
              if (!a) return o;
              var i = "7630" === "".concat(null == (n = null == l ? void 0 : l[1]) ? void 0 : n.type),
                c = "1" === "".concat(null == r ? void 0 : r.type);
              return i && (o = c ? "light" : "dark"), o
            }(),
            concertTourList: a.nodes,
            context: g,
            useBackgroundImage: !0
          }, p))
        },
        kt = p(9063),
        wt = p(2012),
        It = function (e) {
          return e.NotCompleted = "0", e.CompletedNotLottery = "1", e.LotteryWin = "2", e.LotteryNotWin = "3", e
        }(It || {}),
        Et = function (e) {
          return e.Win = "1", e.NotWin = "-1", e
        }(Et || {}),
        Nt = p(3919).window,
        Ot = Object.defineProperty,
        Pt = Object.defineProperties,
        St = Object.getOwnPropertyDescriptors,
        At = Object.getOwnPropertySymbols,
        xt = Object.prototype.hasOwnProperty,
        Tt = Object.prototype.propertyIsEnumerable,
        Dt = function (e, t, n) {
          return t in e ? Ot(e, t, {
            enumerable: !0,
            configurable: !0,
            writable: !0,
            value: n
          }) : e[t] = n
        },
        jt = function (e, t) {
          for (var n in t || (t = {})) xt.call(t, n) && Dt(e, n, t[n]);
          if (At) {
            var o, a = v(At(t));
            try {
              for (a.s(); !(o = a.n()).done;) {
                n = o.value;
                Tt.call(t, n) && Dt(e, n, t[n])
              }
            } catch (e) {
              a.e(e)
            } finally {
              a.f()
            }
          }
          return e
        },
        Lt = function (e, t) {
          return Pt(e, St(t))
        },
        Rt = function (e, t, n) {
          return new Promise((function (o, a) {
            var r = function (e) {
                try {
                  i(n.next(e))
                } catch (e) {
                  a(e)
                }
              },
              l = function (e) {
                try {
                  i(n.throw(e))
                } catch (e) {
                  a(e)
                }
              },
              i = function (e) {
                return e.done ? o(e.value) : Promise.resolve(e.value).then(r, l)
              };
            i((n = n.apply(e, t)).next())
          }))
        },
        _t = (0, X.jZ)(),
        Bt = (0, k.memo)((0, k.forwardRef)((function (t, o) {
          var a, r, l, i, c, u, d, m, f, p, g, h = t,
            y = h.cmsData,
            b = h.className,
            C = h.logConfig,
            w = h.context,
            I = h.onRoleTwiceClick,
            E = h.onRoleFirstClick,
            N = h.useBackgroundImage,
            O = void 0 !== N && N,
            P = h.autoChange,
            S = void 0 !== P && P,
            A = h.comboChannel,
            x = h.loginCheck,
            T = function (e, t) {
              var n = {};
              for (var o in e) xt.call(e, o) && t.indexOf(o) < 0 && (n[o] = e[o]);
              if (null != e && At) {
                var a, r = v(At(e));
                try {
                  for (r.s(); !(a = r.n()).done;) {
                    o = a.value;
                    t.indexOf(o) < 0 && Tt.call(e, o) && (n[o] = e[o])
                  }
                } catch (e) {
                  r.e(e)
                } finally {
                  r.f()
                }
              }
              return n
            }(h, ["cmsData", "className", "logConfig", "context", "onRoleTwiceClick", "onRoleFirstClick", "useBackgroundImage", "autoChange", "comboChannel", "loginCheck"]),
            D = null != (a = null == y ? void 0 : y.nodes) ? a : [],
            j = null != (r = null == D ? void 0 : D.length) ? r : 0,
            R = (0, k.useState)(0),
            _ = n(R, 2),
            F = _[0],
            M = _[1],
            z = (0, k.useState)(null != (c = null == (i = null == (l = null == D ? void 0 : D[0]) ? void 0 : l.data) ? void 0 : i.tasks) ? c : []),
            U = n(z, 2),
            V = U[0],
            W = U[1],
            Y = (0, k.useState)(!1),
            H = n(Y, 2),
            q = H[0],
            K = H[1],
            J = (0, k.useState)(!1),
            G = n(J, 2),
            X = G[0],
            $ = G[1],
            Q = (0, k.useState)(Number(null == (d = null == (u = null == D ? void 0 : D[0]) ? void 0 : u.data) ? void 0 : d.endTime) < Date.now()),
            ee = n(Q, 2),
            te = ee[0],
            ne = ee[1],
            oe = (0, k.useState)(),
            ae = n(oe, 2),
            re = ae[0],
            le = ae[1],
            ie = (0, k.useState)(0),
            ue = n(ie, 2),
            de = ue[0],
            se = ue[1],
            ve = (0, k.useReducer)((function (e) {
              return e + 1
            }), 0),
            me = n(ve, 2),
            fe = me[0],
            pe = me[1],
            ge = (0, k.useRef)(null),
            he = (0, k.useRef)(null),
            ye = (0, k.useState)((function () {
              return Nt.innerWidth > 700
            })),
            be = n(ye, 2),
            Ce = be[0],
            ke = be[1],
            we = (0, k.useState)((function () {
              return _t || !Ce ? 60 : .16 * Nt.innerWidth
            })),
            Ie = n(we, 2),
            Ee = Ie[0],
            Ne = Ie[1],
            Oe = (0, k.useState)((function () {
              return _t || !Ce ? 9 : .024 * Nt.innerWidth
            })),
            Pe = n(Oe, 2),
            Se = Pe[0],
            Ae = Pe[1],
            xe = Ee + Se;
          (0, k.useEffect)((function () {
            if (!_t) {
              var e = function () {
                var e = Nt.innerWidth > 700;
                Ne(e ? .16 * Nt.innerWidth : 60), Ae(e ? .024 * Nt.innerWidth : 9), ke(e)
              };
              return Nt.addEventListener("resize", e),
                function () {
                  Nt.removeEventListener("resize", e)
                }
            }
          }), []);
          var Te = function (t) {
            return Rt(void 0, null, e().mark((function n() {
              var o, a, r, l, i, c, u, d;
              return e().wrap((function (e) {
                for (;;) switch (e.prev = e.next) {
                  case 0:
                    if (null == t ? void 0 : t.length) {
                      e.next = 2;
                      break
                    }
                    return e.abrupt("return");
                  case 2:
                    return i = null != (o = null == t ? void 0 : t.map((function (e) {
                      return e.taskId
                    }))) ? o : [], e.prev = 3, e.next = 6, null == (a = null == w ? void 0 : w.mtop) ? void 0 : a.call({
                      requestOptions: {
                        api: "mtop.damai.wireless.channel.page.tasks.get",
                        v: "1.0",
                        data: {
                          comboChannel: A,
                          taskIds: i.join(",")
                        }
                      }
                    });
                  case 6:
                    c = e.sent, u = null != (l = _t ? null == c ? void 0 : c.data : null == (r = null == c ? void 0 : c.data) ? void 0 : r.result) ? l : [], d = u.map((function (e) {
                      var n = t.find((function (t) {
                        return t.taskId === e.taskId
                      }));
                      return jt(jt({}, n), e)
                    })), W(d), e.next = 15;
                    break;
                  case 12:
                    e.prev = 12, e.t0 = e.catch(3), $(!0);
                  case 15:
                  case "end":
                    return e.stop()
                }
              }), n, null, [
                [3, 12]
              ])
            })))
          };
          (0, k.useEffect)((function () {}), [F]);
          var je = function () {
            he.current && clearInterval(he.current), he.current = null
          };
          (0, k.useEffect)((function () {
            if (!S) return function () {
              return !1
            };
            var e = 0;
            return he.current = setInterval((function () {
                ge.current && (e++, F === j && (e = 0), se(xe * e));
                M((function (e) {
                  var t = e + 1;
                  return t === j && (t = 0), t
                }))
              }), 4e3),
              function () {
                e = 0, je()
              }
          }), [fe]), (0, k.useImperativeHandle)(o, (function () {
            return {
              reStartAutoChange: function () {
                pe()
              },
              stopAutoChange: je,
              refreshTaskStatus: function () {
                Te(V)
              }
            }
          }));
          var Le = function (t) {
              return Rt(void 0, null, e().mark((function n() {
                var o, a;
                return e().wrap((function (e) {
                  for (;;) switch (e.prev = e.next) {
                    case 0:
                      return e.prev = 0, e.next = 3, null == (o = null == w ? void 0 : w.mtop) ? void 0 : o.call({
                        requestOptions: {
                          api: "mtop.damai.wireless.channel.page.prize.draw",
                          v: "1.0",
                          data: {
                            comboChannel: A,
                            taskId: t
                          }
                        }
                      });
                    case 3:
                      a = e.sent, le(null == a ? void 0 : a.data), K(!0), e.next = 10;
                      break;
                    case 7:
                      e.prev = 7, e.t0 = e.catch(0), (0, nt.o)({
                        useH5: !0,
                        message: "麦麦开小差了，请稍后重试哦"
                      });
                    case 10:
                    case "end":
                      return e.stop()
                  }
                }), n, null, [
                  [0, 7]
                ])
              })))
            },
            Re = function (t, n) {
              var o, a, r, l, i, c, u, d = t.completedConditionNum && t.totalConditionNum;
              return k.createElement("div", {
                className: "hot-star-activity-panel-task",
                key: t.taskId
              }, k.createElement("div", {
                className: "hot-star-activity-panel-task-left"
              }, (null == t ? void 0 : t.taskTitle) && k.createElement("div", {
                className: "hot-star-activity-panel-task-title"
              }, null == t ? void 0 : t.taskTitle), (null == t ? void 0 : t.taskSubTitle) && k.createElement("div", {
                className: "hot-star-activity-panel-task-info"
              }, null == t ? void 0 : t.taskSubTitle)), k.createElement("div", {
                className: "hot-star-activity-panel-task-right"
              }, d && k.createElement("div", {
                className: "hot-star-activity-panel-task-count"
              }, t.completedConditionNum, "/", t.totalConditionNum), k.createElement(Z.A, {
                className: (0, B.A)("hot-star-activity-panel-task-btn", s({
                  "is-red": [It.NotCompleted, It.LotteryWin].includes(null == t ? void 0 : t.taskStatus),
                  "is-orange": (null == t ? void 0 : t.taskStatus) === It.CompletedNotLottery,
                  "is-gray": (null == t ? void 0 : t.taskStatus) === It.LotteryNotWin
                }, C.task, C.task)),
                Component: Xe.A,
                dynamicIndex: n,
                onClick: function () {
                  return function (t) {
                    x({
                      hasLoginDo: function () {
                        return Rt(void 0, null, e().mark((function n() {
                          return e().wrap((function (e) {
                            for (;;) switch (e.prev = e.next) {
                              case 0:
                                if (t.taskStatus !== It.NotCompleted) {
                                  e.next = 4;
                                  break
                                }(0, wt.VJ)({
                                  url: t.taskUrl
                                }), e.next = 11;
                                break;
                              case 4:
                                if (t.taskStatus !== It.CompletedNotLottery) {
                                  e.next = 10;
                                  break
                                }
                                return e.next = 7, Le(t.taskId);
                              case 7:
                                Te(V), e.next = 11;
                                break;
                              case 10:
                                t.taskStatus === It.LotteryNotWin ? (0, nt.o)({
                                  useH5: !0,
                                  message: "你已经参与过该活动"
                                }) : t.taskStatus === It.LotteryWin && (0, wt.VJ)({
                                  url: t.taskUrl
                                });
                              case 11:
                              case "end":
                                return e.stop()
                            }
                          }), n)
                        })))
                      },
                      noLoginDo: function () {
                        return Rt(void 0, null, e().mark((function t() {
                          return e().wrap((function (e) {
                            for (;;) switch (e.prev = e.next) {
                              case 0:
                                Te(V);
                              case 1:
                              case "end":
                                return e.stop()
                            }
                          }), t)
                        })))
                      }
                    })
                  }(t)
                },
                dynamicData: {
                  item: {
                    trackInfo: Lt(jt({}, null == (i = null == (l = null == (r = null == (a = null == (o = null == y ? void 0 : y.nodes) ? void 0 : o[0]) ? void 0 : a.data) ? void 0 : r.parsedTrackInfo) ? void 0 : l.task) ? void 0 : i.trackInfo), {
                      args: {
                        dispatch_id: null == (u = null == (c = D[F]) ? void 0 : c.data) ? void 0 : u.comboDispatchId,
                        type: t.taskStatusDesc
                      }
                    })
                  }
                }
              }, t.taskStatusDesc)))
            },
            _e = function () {
              K(!1)
            };
          return k.createElement(Z.A, jt({
            className: (0, B.A)("hot-star-activity", b)
          }, T), k.createElement("div", {
            className: "hot-star-activity-title"
          }, null == (m = null == y ? void 0 : y.data) ? void 0 : m.title), j > 1 && k.createElement(L.A, {
            className: (0, B.A)("role-wrapper", "tph", {
              "pd-right": j === F + 1
            }),
            ref: ge,
            onTouchMove: je,
            onDragging: je,
            scrollX: !0,
            enableFlex: !0,
            enhanced: !0,
            showScrollbar: !1,
            scrollWithAnimation: !0,
            scrollAnimationDuration: 300,
            scrollLeft: de
          }, D.map((function (e, t) {
            var n, o, a, r, l, i = e.data;
            return k.createElement(Z.A, {
              className: (0, B.A)("role-item", s({
                active: F === t,
                "is-big-screen": Ce
              }, C.icon, C.icon)),
              dynamicIndex: t,
              dynamicData: {
                item: {
                  trackInfo: Lt(jt({}, null == (l = null == (r = null == (a = null == (o = null == (n = null == y ? void 0 : y.nodes) ? void 0 : n[0]) ? void 0 : o.data) ? void 0 : a.parsedTrackInfo) ? void 0 : r.icon) ? void 0 : l.trackInfo), {
                    args: {
                      dispatch_id: i.comboDispatchId,
                      artist_id: i.bizId,
                      clicktype: t !== F ? "0" : "1"
                    }
                  })
                }
              },
              key: i.bizId,
              onClick: function (n) {
                return function (e, t, n, o) {
                  var a;
                  if (e.stopPropagation(), je(), null === he.current && n === F) null == I || I(e, t, n, o);
                  else {
                    M(n), $(!1), ne(Number(null == t ? void 0 : t.endTime) < Date.now());
                    var r = null != (a = null == t ? void 0 : t.tasks) ? a : [];
                    W(r), Te(r), null == E || E(e, t, n, o)
                  }
                  ge.current && se(xe * n)
                }(n, i, t, e)
              }
            }, (0, De.p)({
              className: "role-pic",
              src: (0, ce.zp)({
                url: null == i ? void 0 : i.bizPic,
                width: 320,
                ignorePng: !0
              }),
              fit: "cover",
              lazy: !0,
              useImage: !O || t >= 6
            }), k.createElement("div", {
              className: "role-name"
            }, k.createElement("div", {
              className: "role-name-text"
            }, null == i ? void 0 : i.bizName)))
          })), _t && k.createElement("div", {
            className: "place-holder"
          })), function () {
            var e, t, n, o, a, r, l, i, c = null == (e = null == D ? void 0 : D[F]) ? void 0 : e.data,
              u = te ? k.createElement("div", {
                className: "hot-star-activity-panel-task-end"
              }, "活动已结束，看看其他艺人活动吧～") : k.createElement(k.Fragment, null, (null == V ? void 0 : V.length) >= 2 && (null == V ? void 0 : V.slice(0, 2).map((function (e, t) {
                return k.createElement("div", {
                  className: "hot-star-activity-panel-task-item",
                  key: e.taskId
                }, Re(e, t))
              }))), 1 === (null == V ? void 0 : V.length) && k.createElement("div", {
                className: "hot-star-activity-panel-single-task-item"
              }, Re(null == V ? void 0 : V[0], 0))),
              d = (null == V ? void 0 : V.length) ? u : k.createElement("div", {
                className: "hot-star-activity-panel-task-end"
              }, "当前暂无活动，看看其他艺人活动吧～");
            return k.createElement("div", {
              className: "hot-star-activity-panel"
            }, k.createElement(Z.A, {
              key: c.bizId,
              className: (0, B.A)("hot-star-activity-panel-info", s({}, C.item, C.item)),
              dynamicData: {
                item: {
                  trackInfo: Lt(jt({}, null == (r = null == (a = null == (o = null == (n = null == (t = null == y ? void 0 : y.nodes) ? void 0 : t[0]) ? void 0 : n.data) ? void 0 : o.parsedTrackInfo) ? void 0 : a.item) ? void 0 : r.trackInfo), {
                    args: {
                      dispatch_id: null == (i = null == (l = D[F]) ? void 0 : l.data) ? void 0 : i.comboDispatchId
                    }
                  })
                }
              },
              onClick: function () {
                return function (e) {
                  e && (0, wt.VJ)({
                    url: e
                  })
                }(c.actionUrl)
              }
            }, k.createElement("div", {
              className: "hot-star-activity-panel-info-left"
            }, k.createElement("div", {
              className: "hot-star-activity-panel-info-title"
            }, null == c ? void 0 : c.subTitle), (null == c ? void 0 : c.title) && k.createElement("div", {
              className: "hot-star-activity-panel-info-subtitle"
            }, null == c ? void 0 : c.title), k.createElement($e.A, {
              className: "hot-star-activity-panel-info-countdown",
              endTimestamp: Number(null == c ? void 0 : c.endTime),
              renderContent: function (e) {
                var t = Number(e.days),
                  n = "".concat(t, "天");
                return "限时".concat(t ? n : "").concat(e.hours, ":").concat(e.minutes, ":").concat(e.seconds)
              },
              onFinish: function () {
                ne(!0)
              }
            })), k.createElement("img", {
              alt: "",
              key: null == c ? void 0 : c.benefitPic,
              className: "hot-star-activity-panel-benifit",
              src: (0, ce.zp)({
                url: (null == c ? void 0 : c.benefitPic) || "https://gw.alicdn.com/imgextra/i3/O1CN015X4DDI1xGaEqYzc4X_!!6000000006416-2-tps-990-522.png"
              })
            })), k.createElement("div", null, X ? k.createElement("div", {
              className: "hot-star-activity-panel-task-end"
            }, "请重试") : d))
          }(), k.createElement(kt.A, {
            open: q,
            onClose: _e,
            BackdropProps: {
              onClick: null
            },
            style: {
              display: "flex",
              alignItems: "center",
              justifyContent: "center"
            }
          }, k.createElement("div", {
            className: "hot-star-activity-modal"
          }, k.createElement("div", {
            className: (0, B.A)("hot-star-activity-modal-thumb", {
              "is-success": (null == re ? void 0 : re.drawStatus) === Et.Win,
              "is-failure": (null == re ? void 0 : re.drawStatus) === Et.NotWin
            })
          }), k.createElement("div", {
            className: "hot-star-activity-modal-content"
          }, (null == re ? void 0 : re.title) && k.createElement("div", {
            className: "hot-star-activity-modal-title"
          }, null == re ? void 0 : re.title), k.createElement("div", {
            className: "hot-star-activity-modal-subtitles"
          }, (null == re ? void 0 : re.drawStatus) === Et.Win && k.createElement(k.Fragment, null, k.createElement("div", {
            className: "hot-star-activity-modal-subtitle"
          }, null == re ? void 0 : re.prizeDesc), k.createElement("div", {
            className: "hot-star-activity-modal-subtitle"
          }, null == re ? void 0 : re.subTitle)), (null == re ? void 0 : re.drawStatus) === Et.NotWin && k.createElement("div", {
            className: "hot-star-activity-modal-subtitle"
          }, null == re ? void 0 : re.subTitle)), (null == re ? void 0 : re.drawStatus) === Et.Win && k.createElement(k.Fragment, null, k.createElement(Xe.A, {
            className: "hot-star-activity-modal-btn",
            size: "full",
            onClick: function () {
              return function (e) {
                _e(), (0, wt.VJ)({
                  url: e
                })
              }(null == re ? void 0 : re.jumpUrl)
            }
          }, null != (f = null == re ? void 0 : re.buttonText) ? f : "查看奖品"), k.createElement("div", {
            className: "hot-star-activity-modal-close-btn",
            onClick: _e
          }, null != (p = null == re ? void 0 : re.subButtonText) ? p : "知道了")), (null == re ? void 0 : re.drawStatus) === Et.NotWin && k.createElement(Xe.A, {
            className: "hot-star-activity-modal-btn",
            size: "full",
            onClick: _e
          }, null != (g = null == re ? void 0 : re.buttonText) ? g : "知道了")))))
        }))),
        Ft = Object.defineProperty,
        Mt = Object.getOwnPropertySymbols,
        zt = Object.prototype.hasOwnProperty,
        Ut = Object.prototype.propertyIsEnumerable,
        Vt = function (e, t, n) {
          return t in e ? Ft(e, t, {
            enumerable: !0,
            configurable: !0,
            writable: !0,
            value: n
          }) : e[t] = n
        },
        Wt = p(5149),
        Yt = function (e) {
          var t = e || {},
            n = t.index,
            o = t.type,
            a = t.data,
            r = t.selectedData,
            l = t.onClickSliderItem,
            i = t.getAutoLogData,
            c = t.className,
            u = "tag" === o ? "filter-tag-log" : "date-select-tag-log";
          return k.createElement("div", {
            className: (0, B.A)("across-slider-item", u, c, (null == r ? void 0 : r.length) > 0 && r.indexOf(a.value) > -1 && "selected"),
            "data-log": null == i ? void 0 : i({
              spmC: "tag" === o ? "filter" : "date_selector",
              spmD: "dtag_".concat(n + 1)
            }),
            onClick: function () {
              return l(a)
            }
          }, null == a ? void 0 : a.name)
        },
        Ht = function (e) {
          var t = e.type,
            n = e.sliderData,
            o = e.selectedData,
            a = e.onClickSliderItem,
            r = e.getAutoLogData,
            l = e.scrollToTop,
            i = e.logConfig,
            c = e.event,
            u = e.setSelect;
          return (null == n ? void 0 : n.length) <= 0 ? null : k.createElement("div", null, k.createElement("div", {
            className: (0, B.A)("across-slider")
          }, null == n ? void 0 : n.map((function (e, n) {
            return k.createElement(Yt, {
              getAutoLogData: r,
              className: (0, B.A)(s(s({}, "".concat(i), i), "".concat(i, "_").concat(n), i)),
              key: n,
              index: n,
              type: t,
              data: e,
              selectedData: o,
              onClickSliderItem: function (t) {
                null == c || c.emit("acrossSliderClick", {
                  item: e,
                  logConfig: i,
                  index: n
                }), a(t), "function" == typeof u && u(!0), "function" == typeof l && (null == l || l(t))
              }
            })
          }))))
        },
        qt = (0, K.A)('<path d="M74.707 7.75A13.533 13.533 0 0 1 88.25 21.304v53.404A13.514 13.514 0 0 1 74.71 88.25h-53.4A13.535 13.535 0 0 1 7.75 74.708V21.304A13.556 13.556 0 0 1 21.31 7.753h.02l3.697.025a2.873 2.873 0 0 1-.02 5.746h-.02l-3.686-.027a7.814 7.814 0 0 0-7.805 7.807v9.454l.01.003 68.999.002v-9.46a7.774 7.774 0 0 0-2.278-5.524 7.743 7.743 0 0 0-5.515-2.289h-3.605a2.869 2.869 0 1 1-.003-5.737ZM13.506 36.507h-.01v38.2c0 2.086.815 4.041 2.29 5.516a7.76 7.76 0 0 0 5.525 2.281h53.4a7.737 7.737 0 0 0 5.513-2.281 7.74 7.74 0 0 0 2.28-5.515V36.509l-68.998-.002Zm46.955 6.205c1.094 0 2.092.613 2.576 1.58a2.805 2.805 0 0 1-.296 2.98c-.014.016-.715.927-1.755 2.477l-.256.384a72.424 72.424 0 0 0-3.528 5.927c-1.583 2.98-2.84 5.884-3.736 8.633-1.09 3.341-1.642 6.444-1.642 9.222 0 1.566-1.286 2.835-2.872 2.835-1.586 0-2.871-1.27-2.871-2.835 0-3.386.652-7.093 1.937-11.019 1.005-3.068 2.4-6.286 4.148-9.564a77.957 77.957 0 0 1 2.88-4.95h-17.59c-1.587 0-2.873-1.27-2.873-2.835 0-1.566 1.286-2.835 2.872-2.835ZM40.327 5.833c1.586 0 2.872 1.27 2.872 2.835v5.675c0 .752-.303 1.473-.842 2.004a2.89 2.89 0 0 1-2.03.83c-1.586 0-2.872-1.269-2.872-2.834V8.668c0-1.565 1.286-2.835 2.872-2.835Zm17.263 0c1.586 0 2.871 1.27 2.871 2.835v5.675c0 .752-.302 1.473-.84 2.004a2.89 2.89 0 0 1-2.031.83c-1.586 0-2.872-1.269-2.872-2.834V8.668c0-1.565 1.286-2.835 2.872-2.835Z"/>', "SevenDayCalendarIcon"),
        Kt = p(3566),
        Jt = p(3919).window;

      function Gt(e) {
        var t, n, o, a = function (e) {
            var n = (0, C.A)(e.touches, 1);
            t = n[0]
          },
          r = function (t, o, a) {
            for (var r = t, l = !0; r;) {
              var i = Jt.getComputedStyle(r),
                c = i.overflowY,
                u = i.overflowX;
              if ("y" === o && ("scroll" === c || "auto" === c)) {
                var d = n || a;
                if (void 0 === n && (n = d), 0 !== r.scrollTop && d < 0) {
                  l = !1;
                  break
                }
                if (r.scrollTop + r.offsetHeight + 1 < r.scrollHeight && d > 0) {
                  l = !1;
                  break
                }
              }
              if ("x" === o && ("scroll" === u || "auto" === u)) {
                var s = n || a;
                if (void 0 === n && (n = s), 0 !== r.scrollLeft && s < 0) {
                  l = !1;
                  break
                }
                if (r.scrollLeft + r.offsetWidth < r.scrollWidth && s > 0) {
                  l = !1;
                  break
                }
              }
              if (r === e) break;
              r = r.parentNode
            }
            return l
          },
          l = function (e) {
            var n = e.touches[0];
            t && n && (o || (Math.abs(t.screenY - n.screenY) > Math.abs(t.screenX - n.screenX) && (o = "y"), Math.abs(t.screenY - n.screenY) < Math.abs(t.screenX - n.screenX) && (o = "x")), r(e.target, o, "x" === o ? t.screenX - n.screenX : t.screenY - n.screenY) && !1 == !e.cancelable && e.preventDefault())
          },
          i = function (e) {
            0 === e.touches.length && (t = void 0, n = void 0, o = void 0)
          },
          c = function (e) {
            r(e.target, Math.abs(e.deltaX) > Math.abs(e.deltaY) ? "x" : "y", Math.abs(e.deltaX) > Math.abs(e.deltaY) ? e.deltaX : e.deltaY) && !1 == !e.cancelable && e.preventDefault(), n = void 0
          };
        return e.addEventListener("touchstart", a), e.addEventListener("touchmove", l), e.addEventListener("touchend", i), e.addEventListener("wheel", c),
          function () {
            e.removeEventListener("touchstart", a), e.removeEventListener("touchmove", l), e.removeEventListener("touchend", i), e.removeEventListener("wheel", c)
          }
      }
      var Zt = p(3021),
        Xt = p.n(Zt),
        $t = 1,
        Qt = 2,
        en = 3,
        tn = 4,
        nn = 5,
        on = 0,
        an = 6,
        rn = "FILTER_STORAGE_DATA",
        ln = {
          PURPLE: "linear-gradient(90deg, #A3A3FF 0%, #A8C2FF 100%)",
          YELLOW: "linear-gradient(90deg, #FF9E6C 0%, #FFC088 100%)",
          BLUE: "linear-gradient(90deg, #7FCFFF 0%, #7CE3EF 100%)",
          PINK: " linear-gradient(270deg, #FFB0DE 0%, #FF92BA 100%)"
        },
        cn = {
          PURPLE: "rgba(163,163,255,.8)",
          YELLOW: "rgba(255,158,108,.8)",
          BLUE: "rgba(127,207,255,.8)",
          PINK: "rgba(255,146,186,.8)"
        },
        un = p(2901),
        dn = p.n(un),
        sn = (p(3919).document, Object.defineProperty),
        vn = Object.defineProperties,
        mn = Object.getOwnPropertyDescriptors,
        fn = Object.getOwnPropertySymbols,
        pn = Object.prototype.hasOwnProperty,
        gn = Object.prototype.propertyIsEnumerable,
        hn = function (e, t, n) {
          return t in e ? sn(e, t, {
            enumerable: !0,
            configurable: !0,
            writable: !0,
            value: n
          }) : e[t] = n
        },
        yn = function (e, t) {
          for (var n in t || (t = {})) pn.call(t, n) && hn(e, n, t[n]);
          if (fn) {
            var o, a = v(fn(t));
            try {
              for (a.s(); !(o = a.n()).done;) {
                n = o.value;
                gn.call(t, n) && hn(e, n, t[n])
              }
            } catch (e) {
              a.e(e)
            } finally {
              a.f()
            }
          }
          return e
        },
        bn = function (e, t) {
          return vn(e, mn(t))
        };
      Xt().extend(dn());
      var Cn = function (e, t) {
          return !(!e || !t) && Xt()(e).isSame(t, "day")
        },
        kn = function (e, t) {
          return Xt()(Xt()(e).format("YYYYMMDD")).diff(Xt()(Xt()(t).format("YYYYMMDD")), "day")
        },
        wn = [{
          value: "0",
          name: "全部时间",
          date: []
        }, {
          value: "4",
          name: "一月内",
          date: [Xt()().toDate(), Xt()().add(29, "day").toDate()]
        }, {
          value: "10",
          name: "一周内",
          date: [Xt()().toDate(), Xt()().add(6, "day").toDate()]
        }, {
          value: "9",
          name: "本周末",
          date: [kn(Xt()().toDate(), Xt()().startOf("isoWeek").add(4, "day").toDate()) < 0 ? Xt()().startOf("isoWeek").add(4, "day").toDate() : Xt()().toDate(), kn(Xt()().toDate(), Xt()().startOf("isoWeek").add(6, "day").toDate()) < 0 ? Xt()().startOf("isoWeek").add(6, "day").toDate() : null]
        }],
        In = {
          hot: [],
          category: [],
          firstLevelSelection: [],
          secondLevelSelection: [],
          calendar: [Xt()().toDate(), Xt()().add(6, "day").toDate()],
          calendarSlider: "",
          sort: "10",
          rightFilter: {
            price: [],
            service: []
          },
          cityCode: "",
          comboDispatchId: "",
          itemId: ""
        },
        En = function (e) {
          var t, n, o, a, r, l, i;
          return !(!e || "3" !== (null == e ? void 0 : e.sort) || "" !== (null == e ? void 0 : e.calendarSlider) || 0 !== (null == (t = null == e ? void 0 : e.hot) ? void 0 : t.length) || 0 !== (null == (n = null == e ? void 0 : e.category) ? void 0 : n.length) || 0 !== (null == (o = null == e ? void 0 : e.calendar) ? void 0 : o.length) || 0 !== (null == (r = null == (a = null == e ? void 0 : e.rightFilter) ? void 0 : a.price) ? void 0 : r.length) || 0 !== (null == (i = null == (l = null == e ? void 0 : e.rightFilter) ? void 0 : l.service) ? void 0 : i.length))
        },
        Nn = function (e) {
          var t, n, o, a, r, l, i, c, u, d, s, v, m, f, p, g = [];
          (null == (n = null == (t = null == e ? void 0 : e.rightFilter) ? void 0 : t.price) ? void 0 : n.length) > 0 && g.push({
            price: null == (a = null == (o = null == e ? void 0 : e.rightFilter) ? void 0 : o.price) ? void 0 : a[0]
          }), (null == (l = null == (r = null == e ? void 0 : e.rightFilter) ? void 0 : r.service) ? void 0 : l.length) > 0 && g.push({
            service: null == (c = null == (i = null == e ? void 0 : e.rightFilter) ? void 0 : i.service) ? void 0 : c.join("|")
          });
          var h = [];
          null == (u = null == e ? void 0 : e.category) || u.forEach((function (e) {
            return h.push(e)
          }));
          var y, b = null == e ? void 0 : e.firstLevelSelection,
            C = null == e ? void 0 : e.secondLevelSelection;
          p = (null == e ? void 0 : e.showSubCategory) ? {
            firstLevelSelection: (null == b ? void 0 : b.length) > 0 ? null == b ? void 0 : b.join("|") : "",
            secondLevelSelection: (null == C ? void 0 : C.length) > 0 ? null == C ? void 0 : C.join("|") : ""
          } : {
            categoryId: (null == h ? void 0 : h.length) > 0 ? null == h ? void 0 : h.join("|") : 0
          }, null == (d = null == e ? void 0 : e.hot) || d.forEach((function (e) {
            if (-1 === ["price-1", "dateType-9", "service-1"].indexOf(e)) {
              var t = null == e ? void 0 : e.indexOf("-");
              t > -1 && (y = null == e ? void 0 : e.slice(t + 1))
            }
          }));
          var k = null == (s = null == e ? void 0 : e.calendar) ? void 0 : s[0],
            w = null == (v = null == e ? void 0 : e.calendar) ? void 0 : v[1];
          k = !(null == e ? void 0 : e.calendarSlider) && k && Xt()(k).format("YYYY-MM-DD") || void 0, w = !(null == e ? void 0 : e.calendarSlider) && w && Xt()(w).format("YYYY-MM-DD") || k;
          var I = "0";
          return (null == e ? void 0 : e.calendarSlider) ? I = null == e ? void 0 : e.calendarSlider : (null == (m = null == e ? void 0 : e.calendar) ? void 0 : m[0]) && (I = "5"), yn({
            cityCircleId: null == (f = null == e ? void 0 : e.cityCircle) ? void 0 : f.value,
            comboDispatchId: null == e ? void 0 : e.comboDispatchId,
            itemId: null == e ? void 0 : e.itemId,
            groupId: y,
            dateType: I,
            sortType: (null == e ? void 0 : e.sort) || "10",
            startDate: k,
            latitude: null == e ? void 0 : e.latitude,
            longitude: null == e ? void 0 : e.longitude,
            endDate: w,
            artisteId: e.artisteId,
            optionParam: (null == g ? void 0 : g.length) > 0 ? JSON.stringify(g) : void 0
          }, p)
        },
        On = function (e) {
          for (var t, n, o, a, r, l, i, c, u = [], d = !1, s = 0; s < (null == e ? void 0 : e.length); s++) {
            var v = parseInt(null == (t = e[s]) ? void 0 : t.year, 10);
            if (Xt()().year() <= v)
              for (var m = 0; m < (null == (o = null == (n = e[s]) ? void 0 : n.months) ? void 0 : o.length); m++) Xt()().month() + 1 === parseInt(null == (l = null == (r = null == (a = null == e ? void 0 : e[s]) ? void 0 : a.months) ? void 0 : r[m]) ? void 0 : l.month, 10) && (d = !0), d && (null == u ? void 0 : u.length) < 12 && (null == u || u.push(bn(yn({}, null == (c = null == (i = null == e ? void 0 : e[s]) ? void 0 : i.months) ? void 0 : c[m]), {
                year: v
              })))
          }
          return u
        },
        Pn = function (e, t, n) {
          var o = "";
          return t && Cn(t, e) ? o = n ? "start-range" : "start" : n && Cn(n, e) ? o = "end" : t && n && Xt()(e).diff(t) > 0 && Xt()(e).diff(n) < 0 && (o = "middle"), o
        },
        Sn = function (e, t) {
          return Xt()(e).diff(null == t ? void 0 : t[0]) >= 0 && Xt()(e).diff(null == t ? void 0 : t[1]) <= 0 || 0 === Xt()(e).diff(null == t ? void 0 : t[0])
        },
        An = Object.defineProperty,
        xn = Object.defineProperties,
        Tn = Object.getOwnPropertyDescriptors,
        Dn = Object.getOwnPropertySymbols,
        jn = Object.prototype.hasOwnProperty,
        Ln = Object.prototype.propertyIsEnumerable,
        Rn = function (e, t, n) {
          return t in e ? An(e, t, {
            enumerable: !0,
            configurable: !0,
            writable: !0,
            value: n
          }) : e[t] = n
        },
        _n = function (e, t) {
          for (var n in t || (t = {})) jn.call(t, n) && Rn(e, n, t[n]);
          if (Dn) {
            var o, a = v(Dn(t));
            try {
              for (a.s(); !(o = a.n()).done;) {
                n = o.value;
                Ln.call(t, n) && Rn(e, n, t[n])
              }
            } catch (e) {
              a.e(e)
            } finally {
              a.f()
            }
          }
          return e
        },
        Bn = function (e, t) {
          return xn(e, Tn(t))
        },
        Fn = ["周日", "周一", "周二", "周三", "周四", "周五", "周六"],
        Mn = function (e) {
          var o, a, r = e || {},
            l = r.allMonth,
            i = r.setSelectedPopup,
            c = r.selectedPopup,
            u = r.fetchParams,
            d = r.updateFetchData,
            s = r.setComboDispatchId,
            v = r.setItemId,
            m = r.fetchData,
            f = r.getAutoLogData,
            p = (0, k.useState)([]),
            g = n(p, 2),
            h = g[0],
            y = g[1],
            b = (0, k.useState)(""),
            C = n(b, 2),
            w = C[0],
            I = C[1],
            E = (0, k.useRef)(),
            N = function (e, t, n) {
              var r = Bn(_n({}, u), {
                comboDispatchId: o,
                itemId: a,
                calendar: [e, t],
                calendarSlider: "",
                hot: n
              });
              d(r)
            };
          (0, k.useEffect)((function () {
            c !== on && !(0, X.jZ)() && (null == E ? void 0 : E.current) && Gt(null == E ? void 0 : E.current)
          }), [c]);
          var O = function (e) {
              for (var t, n = 0; n < 12; n++)
                for (var r = Xt()(Xt()().format("YYYYMM")).add(n, "month").format("YYYY/MM"), i = Xt()(r).daysInMonth(), c = Xt()().date(), u = l[n], d = function (n) {
                    var l = null == (t = null == u ? void 0 : u.days) ? void 0 : t.find((function (e) {
                        return parseInt(null == e ? void 0 : e.day, 10) === n
                      })),
                      i = Xt()("".concat(r, "/").concat(n)).toDate(),
                      c = Sn(i, e);
                    !o && c && (o = (null == l ? void 0 : l.comboDispatchId) || ""), !a && c && (a = (null == l ? void 0 : l.itemId) || "")
                  }, s = 0 === n ? c : 1; s <= i; s++) d(s)
            },
            P = null == h ? void 0 : h.map((function (e, r) {
              var l = null == e ? void 0 : e.desc;
              return (null == e ? void 0 : e.isToday) ? l = "今天" : (null == e ? void 0 : e.desc) || (l = Fn[Xt()(e.day).day()]), k.createElement("div", {
                key: r,
                className: (0, B.A)("calendar-bar-item", "calendar-bar-log", null == e ? void 0 : e.className),
                id: "".concat(null == e ? void 0 : e.className),
                "data-log": null == f ? void 0 : f({
                  spmC: "date",
                  spmD: "ditem_".concat(r + 1)
                }),
                onClick: function () {
                  ! function (e) {
                    var r, l = (null == u ? void 0 : u.calendar) || [],
                      i = n(l, 2),
                      c = i[0],
                      d = i[1],
                      f = null == (r = null == u ? void 0 : u.hot) ? void 0 : r.indexOf("dateType-9"),
                      p = {};
                    f > -1 ? null == (p = t((null == u ? void 0 : u.hot) || [])) || p.splice(f, 1) : p = t((null == u ? void 0 : u.hot) || []);
                    var g = [];
                    c || d ? c && !d ? g = Cn(e, c) ? [null, null] : Xt()(e).diff(Xt()(c)) < 0 ? [e, c] : [c, e] : c && d && (g = [e, null]) : g = [e, null], N(g[0], g[1], p), O(g), s(o), v(a), null == m || m(Nn(Bn(_n({}, u), {
                      calendar: g,
                      comboDispatchId: o,
                      itemId: a,
                      calendarSlider: ""
                    })))
                  }(e.day)
                }
              }, k.createElement("span", {
                className: "calendar-bar-item-week"
              }, l), k.createElement("span", {
                className: "calendar-bar-item-date"
              }, Xt()(e.day).format("M.D")))
            }));
          return (0, k.useEffect)((function () {
            ! function () {
              var e, t, n, r, i = [];
              I("");
              for (var c = 0; c < 12; c++)
                for (var d = Xt()(Xt()().format("YYYYMM")).add(c, "month").format("YYYY/MM"), s = Xt()(d).daysInMonth(), v = Xt()().date(), m = l[c], f = function (l) {
                    var c = null == (e = null == m ? void 0 : m.days) ? void 0 : e.find((function (e) {
                        return parseInt(null == e ? void 0 : e.day, 10) === l
                      })),
                      s = Xt()("".concat(d, "/").concat(l)).toDate(),
                      v = Pn(s, null == (t = null == u ? void 0 : u.calendar) ? void 0 : t[0], null == (n = null == u ? void 0 : u.calendar) ? void 0 : n[1]);
                    null == i || i.push({
                      day: Xt()("".concat(d, "/").concat(l)).toDate(),
                      isToday: 0 === Xt()(s).diff(Xt()().format("YYYYMMDD"), "day"),
                      className: v,
                      desc: (null == (r = null == c ? void 0 : c.desc) ? void 0 : r[0]) || ""
                    }), ("start" === v || "start-range" === v) && setTimeout((function () {
                      I("".concat(v))
                    }), 100);
                    var f = Sn(s, u);
                    !o && f && (o = (null == c ? void 0 : c.comboDispatchId) || ""), !a && f && (a = (null == c ? void 0 : c.itemId) || "")
                  }, p = 0 === c ? v : 1; p <= s; p++) f(p);
              y(i)
            }()
          }), [u]), k.createElement("div", {
            className: "calendar-bar",
            ref: E
          }, k.createElement(L.A, {
            className: "calendar-bar-list",
            scrollX: !0,
            enableFlex: !0,
            enhanced: !0,
            scrollIntoView: w,
            scrollIntoViewAlignment: "nearest"
          }, P), k.createElement("div", {
            className: "calendar-bar-icon date-open-log",
            "data-log": null == f ? void 0 : f({
              spmC: "date",
              spmD: "dopen"
            }),
            onClick: function () {
              i(2 === c ? 0 : 2)
            }
          }, k.createElement(qt, {
            className: "calendar-bar-icon-top"
          }), k.createElement("span", {
            className: "calendar-bar-icon-text"
          }, "日历"), k.createElement(Kt.A, {
            className: "calendar-bar-icon-bottom"
          })))
        },
        zn = (0, k.createContext)(null),
        Un = function (t) {
          var n = t || {},
            o = n.data,
            a = n.alreadySort,
            r = n.fetchParams,
            l = n.selectedPopup,
            i = n.setFilterData,
            c = n.setSelectedPopup,
            u = n.children,
            d = n.getAutoLogData,
            s = n.showSubCategory,
            v = n.scrollToTop,
            m = (0, k.useRef)(),
            f = (null == o ? void 0 : o.primary) || {},
            p = f.category,
            g = void 0 === p ? [] : p,
            h = f.sortType,
            y = void 0 === h ? [] : h,
            b = function (t) {
              return function (e, t, n) {
                return new Promise((function (o, a) {
                  var r = function (e) {
                      try {
                        i(n.next(e))
                      } catch (e) {
                        a(e)
                      }
                    },
                    l = function (e) {
                      try {
                        i(n.throw(e))
                      } catch (e) {
                        a(e)
                      }
                    },
                    i = function (e) {
                      return e.done ? o(e.value) : Promise.resolve(e.value).then(r, l)
                    };
                  i((n = n.apply(e, t)).next())
                }))
              }(void 0, null, e().mark((function n() {
                return e().wrap((function (e) {
                  for (;;) switch (e.prev = e.next) {
                    case 0:
                      c(t);
                    case 1:
                    case "end":
                      return e.stop()
                  }
                }), n)
              })))
            };
          (0, k.useEffect)((function () {
            l !== on && !(0, X.jZ)() && (null == m ? void 0 : m.current) && Gt(null == m ? void 0 : m.current)
          }), [l]);
          var C = function (e) {
              "function" == typeof v && v(), l === e ? (i(r), c(on)) : b(e)
            },
            w = (0, k.useMemo)((function () {
              return {
                category: g,
                sortType: y,
                alreadySort: a,
                fetchParams: r,
                selectedPopup: l,
                showSubCategory: s,
                onClickHeadPopup: C,
                getAutoLogData: d
              }
            }), [g, y, a, r, l, s, C, d]);
          return k.createElement(zn.Provider, {
            value: w
          }, k.createElement("div", {
            ref: m,
            className: "filter-header"
          }, u))
        },
        Vn = p(127),
        Wn = Object.defineProperty,
        Yn = Object.defineProperties,
        Hn = Object.getOwnPropertyDescriptors,
        qn = Object.getOwnPropertySymbols,
        Kn = Object.prototype.hasOwnProperty,
        Jn = Object.prototype.propertyIsEnumerable,
        Gn = function (e, t, n) {
          return t in e ? Wn(e, t, {
            enumerable: !0,
            configurable: !0,
            writable: !0,
            value: n
          }) : e[t] = n
        },
        Zn = function (e, t) {
          for (var n in t || (t = {})) Kn.call(t, n) && Gn(e, n, t[n]);
          if (qn) {
            var o, a = v(qn(t));
            try {
              for (a.s(); !(o = a.n()).done;) {
                n = o.value;
                Jn.call(t, n) && Gn(e, n, t[n])
              }
            } catch (e) {
              a.e(e)
            } finally {
              a.f()
            }
          }
          return e
        },
        Xn = function (e, t) {
          return Yn(e, Hn(t))
        },
        $n = function (e) {
          var n, o, a = e.onChange,
            r = e.filterData,
            l = e.onClickSlider,
            i = e.allMonth,
            c = e.setItemId,
            u = e.setComboDispatchId,
            d = e.getAutoLogData,
            v = e.logConfig,
            m = e.event,
            f = function (e) {
              var t, a, l, c, u = Pn(null == e ? void 0 : e.day, null == (t = null == r ? void 0 : r.calendar) ? void 0 : t[0], null == (a = null == r ? void 0 : r.calendar) ? void 0 : a[1]),
                d = 0 === Xt()(null == e ? void 0 : e.day).diff(Xt()().format("YYYYMMDD"), "day"),
                s = null == i ? void 0 : i.findIndex((function (t) {
                  return parseInt(null == t ? void 0 : t.month, 10) === Xt()(null == e ? void 0 : e.day).month() + 1 && +Xt()(null == e ? void 0 : e.day).year() === (null == t ? void 0 : t.year)
                })),
                v = null == (l = null == i ? void 0 : i[s]) ? void 0 : l.days,
                m = null == v ? void 0 : v.find((function (t) {
                  return Xt()(null == e ? void 0 : e.day).date() === parseInt(null == t ? void 0 : t.day, 10)
                })),
                f = Sn(null == e ? void 0 : e.day, null == r ? void 0 : r.calendar);
              return !n && f && (n = null == m ? void 0 : m.comboDispatchId), !o && f && (o = null == m ? void 0 : m.itemId), {
                className: u,
                isToday: d,
                desc: null == (c = null == m ? void 0 : m.desc) ? void 0 : c.reduce((function (e, t) {
                  return e + t
                }), ""),
                itemId: null == m ? void 0 : m.itemId,
                comboDispatchId: null == m ? void 0 : m.comboDispatchId,
                dispatchDesc: null == m ? void 0 : m.dispatchDesc
              }
            };
          (0, k.useEffect)((function () {
            u(n), c(o)
          }), [r]);
          return k.createElement("div", {
            className: (0, B.A)("filter-popup-calendar")
          }, k.createElement(Ht, {
            logConfig: null == v ? void 0 : v.timeSelectLog,
            getAutoLogData: d,
            sliderData: wn,
            type: "calendar",
            event: m,
            selectedData: [null == r ? void 0 : r.calendarSlider],
            onClickSliderItem: function (e) {
              var a = [],
                i = "",
                c = t((null == r ? void 0 : r.hot) || []);
              (null == r ? void 0 : r.calendarSlider) !== (null == e ? void 0 : e.value) && (a = null == e ? void 0 : e.date, i = null == e ? void 0 : e.value);
              var u = "dateType-9",
                d = null == c ? void 0 : c.indexOf(u);
              "9" === (null == e ? void 0 : e.value) ? d > -1 ? null == c || c.splice(d, 1) : c.push(u): d > -1 && (null == c || c.splice(d, 1)), l(Xn(Zn({}, r), {
                hot: c,
                calendar: a,
                calendarSlider: i,
                comboDispatchId: n,
                itemId: o
              }))
            }
          }), k.createElement(Vn.A, {
            mode: "range",
            className: (0, B.A)("show-calendar-wrap", s(s({}, "".concat(null == v ? void 0 : v.timeSelectLog), null == v ? void 0 : v.timeSelectLog), "".concat(null == v ? void 0 : v.timeSelectLog, "-calendar"), null == v ? void 0 : v.timeSelectLog)),
            value: null == r ? void 0 : r.calendar,
            minDate: Xt()(Xt()().format("YYYYMM")).add(0, "month").toDate(),
            maxDate: Xt()(Xt()().format("YYYYMMDD")).add(11, "month").endOf("month").toDate(),
            disabledDate: function (e) {
              return Xt()(Xt()(e).format("YYYYMMDD")).diff(Xt()(Xt()().format("YYYYMMDD")), "day") < 0
            },
            dateRender: function (e) {
              var t, n, o, a, r = f(e);
              return k.createElement("div", {
                key: Xt()(e.day).format("YYYYMMDD"),
                className: (0, B.A)("calendar-day", (null == e ? void 0 : e.disabled) && "disable", !(null == e ? void 0 : e.disabled) && (null == r ? void 0 : r.className), !(null == e ? void 0 : e.disabled) && (null == r ? void 0 : r.isToday) && "today", "calendar-confirm-log")
              }, (null == (t = null == r ? void 0 : r.dispatchDesc) ? void 0 : t.desc) && k.createElement("div", {
                className: "calendar-day-tag"
              }, k.createElement("div", {
                className: "calendar-day-tag-up",
                style: {
                  borderBottom: "6px solid ".concat(cn[null == (n = null == r ? void 0 : r.dispatchDesc) ? void 0 : n.color])
                }
              }), k.createElement("div", {
                className: "calendar-day-tag-content",
                style: {
                  backgroundImage: ln[null == (o = null == r ? void 0 : r.dispatchDesc) ? void 0 : o.color]
                }
              }, null == (a = null == r ? void 0 : r.dispatchDesc) ? void 0 : a.desc)), e.day && Xt()(e.day).format("D"))
            },
            onChange: function (e, l) {
              var i = l.value;
              null == m || m.emit("timeSelectLog", {
                calendar: i,
                index: 4
              });
              var c, u = t((null == r ? void 0 : r.hot) || []),
                d = null == u ? void 0 : u.indexOf("dateType-9");
              d > -1 && u.splice(d), c = (null == i ? void 0 : i[0]) && !(null == i ? void 0 : i[1]) ? Xn(Zn({}, r), {
                hot: u,
                calendar: i,
                calendarSlider: ""
              }) : Xn(Zn({}, r), {
                hot: u,
                calendar: i,
                comboDispatchId: n,
                itemId: o
              }), a(c)
            }
          }))
        },
        Qn = p(9152),
        eo = p(5718),
        to = function (e) {
          var t, o = e.data,
            a = e.selectedData,
            r = e.showSubCategory,
            l = void 0 !== r && r,
            i = e.logConfig,
            c = e.onClick,
            u = e.setShowFilterPopup,
            d = e.event,
            v = (0, k.useState)(!1),
            m = n(v, 2),
            f = m[0],
            p = m[1],
            g = (0, k.useState)({}),
            h = n(g, 2),
            y = h[0],
            b = h[1];
          (0, k.useEffect)((function () {
            b(null == o ? void 0 : o[0])
          }), [o]);
          var C = function (e) {
            var t, n = e.selected,
              r = e.item,
              l = e.subSelectNum;
            return n || (null == r ? void 0 : r.value) === (null == (t = null == o ? void 0 : o[0]) ? void 0 : t.value) && 0 === a.length ? k.createElement(Qn.A, {
              color: "primary",
              variant: "contained"
            }, "全部") : l ? k.createElement(Qn.A, {
              color: "primary",
              variant: "contained"
            }, l) : ""
          };
          return k.createElement("div", {
            className: (0, B.A)("filter-popup-category", {
              "filter-popup-category-show-sub": l
            })
          }, l && f && k.createElement("div", {
            className: "filter-popup-category-toast"
          }, "最多可选10个"), k.createElement("div", {
            className: "filter-popup-category-main"
          }, null == o ? void 0 : o.map((function (t, n) {
            var o, r = (null == a ? void 0 : a.indexOf(null == t ? void 0 : t.value)) > -1,
              i = 0;
            return null == (o = null == t ? void 0 : t.lineItemList) || o.forEach((function (e) {
              (null == a ? void 0 : a.indexOf(e.value)) > -1 && "全部" !== e.name && i++
            })), k.createElement("div", {
              key: n,
              className: (0, B.A)("cate-popup-item", {
                selected: r && !l,
                subSelected: (null == y ? void 0 : y.value) === (null == t ? void 0 : t.value)
              }),
              onClick: function () {
                b(t), "function" == typeof (null == e ? void 0 : e.setShowFilterPopup) && u(!0), !l && c(t)
              }
            }, k.createElement("div", null, null == t ? void 0 : t.name), !l && (r ? k.createElement(eo.A, {
              className: "icon-selected",
              style: {
                color: "#ff2869"
              }
            }) : k.createElement("div", {
              className: "no-selected"
            })), l && C({
              selected: r,
              item: t,
              subSelectNum: i
            }))
          }))), l && k.createElement("div", {
            className: "filter-popup-category-sub"
          }, null == (t = null == y ? void 0 : y.lineItemList) ? void 0 : t.map((function (e, t) {
            var n, r = (null == a ? void 0 : a.indexOf(null == e ? void 0 : e.value)) > -1 || (null == e ? void 0 : e.value) === (null == (n = null == o ? void 0 : o[0]) ? void 0 : n.value) && 0 === a.length;
            return k.createElement("div", {
              className: (0, B.A)("cate-popup-item", s(s({
                selected: r
              }, "".concat(i.typeLog, "_").concat(null == e ? void 0 : e.value), null == i ? void 0 : i.typeLog), "".concat(i.typeLog), null == i ? void 0 : i.typeLog)),
              key: t,
              onClick: function () {
                if ((null == a ? void 0 : a.length) >= 10 && a.indexOf(null == e ? void 0 : e.value) < 0) return p(!0), void setTimeout((function () {
                  p(!1)
                }), 3e3);
                null == d || d.emit("typeLog", {
                  titleLabel: e.name,
                  value: e.value
                }), c(e, null == y ? void 0 : y.lineItemList)
              }
            }, k.createElement("div", null, e.name), r ? k.createElement(eo.A, {
              className: "icon-selected",
              style: {
                color: "#ff2869"
              }
            }) : k.createElement("div", {
              className: "no-selected"
            }))
          }))))
        },
        no = Object.defineProperty,
        oo = Object.defineProperties,
        ao = Object.getOwnPropertyDescriptors,
        ro = Object.getOwnPropertySymbols,
        lo = Object.prototype.hasOwnProperty,
        io = Object.prototype.propertyIsEnumerable,
        co = function (e, t, n) {
          return t in e ? no(e, t, {
            enumerable: !0,
            configurable: !0,
            writable: !0,
            value: n
          }) : e[t] = n
        },
        uo = function (e, t) {
          for (var n in t || (t = {})) lo.call(t, n) && co(e, n, t[n]);
          if (ro) {
            var o, a = v(ro(t));
            try {
              for (a.s(); !(o = a.n()).done;) {
                n = o.value;
                io.call(t, n) && co(e, n, t[n])
              }
            } catch (e) {
              a.e(e)
            } finally {
              a.f()
            }
          }
          return e
        },
        so = function (e, t) {
          return oo(e, ao(t))
        },
        vo = function (e) {
          var n = e.data,
            o = e.onChange,
            a = e.selectedData,
            r = e.getAutoLogData,
            l = function (e, n) {
              var r, l, i = n.option,
                c = uo({}, null == a ? void 0 : a.rightFilter),
                u = null == (r = null == a ? void 0 : a.rightFilter) ? void 0 : r[i],
                d = t((null == a ? void 0 : a.hot) || []),
                s = "".concat(i, "-").concat(null == e ? void 0 : e.value);
              if ("price" === i) {
                (null == u ? void 0 : u.indexOf(null == e ? void 0 : e.value)) > -1 ? c[i] = [] : c[i] = [null == e ? void 0 : e.value];
                var v = null == d ? void 0 : d.indexOf("price-1");
                v > -1 ? null == d || d.splice(v, 1) : "price-1" === s && d.push(s), o(so(uo({}, a), {
                  rightFilter: c,
                  hot: d
                }))
              } else if ("service" === i) {
                var m = null == u ? void 0 : u.indexOf(null == e ? void 0 : e.value);
                if (m > -1 && c[i] ? null == (l = c[i]) || l.splice(m, 1) : c[i] = c[i] ? [].concat(t(c[i]), [null == e ? void 0 : e.value]) : [null == e ? void 0 : e.value], "service-1" === s) {
                  var f = null == d ? void 0 : d.indexOf("service-1");
                  f > -1 ? null == d || d.splice(f, 1) : d.push(s)
                }
                o(so(uo({}, a), {
                  rightFilter: c,
                  hot: d
                }))
              }
            },
            i = function (e) {
              return "service" === (null == e ? void 0 : e.option) ? {
                className: "more-filter-service-log",
                logData: null == r ? void 0 : r({
                  spmC: "filter",
                  spmD: "dmoreservice"
                })
              } : "price" === (null == e ? void 0 : e.option) ? {
                className: "more-filter-price-log",
                logData: null == r ? void 0 : r({
                  spmC: "filter",
                  spmD: "dmoreprice"
                })
              } : {}
            };
          return k.createElement("div", {
            className: "filter-popup-filter"
          }, null == n ? void 0 : n.map((function (e, t) {
            var n, o = i(e),
              r = o.className,
              c = o.logData;
            return k.createElement("div", {
              key: t,
              className: (0, B.A)(r, "filter-popup-filter-item"),
              "data-log": c
            }, k.createElement("div", {
              className: "title"
            }, null == e ? void 0 : e.name), k.createElement(Ht, {
              sliderData: null == e ? void 0 : e.lineItem,
              selectedData: null == (n = null == a ? void 0 : a.rightFilter) ? void 0 : n[null == e ? void 0 : e.option],
              onClickSliderItem: function (t) {
                return l(t, e)
              }
            }))
          })))
        },
        mo = function (t) {
          var o = t.data,
            a = t.onChange,
            r = t.selectedData,
            l = t.getPosition,
            i = t.logConfig,
            c = t.event,
            u = (0, k.useState)(!1),
            d = n(u, 2),
            v = d[0],
            m = d[1],
            f = (0, k.useState)({
              latitude: 1,
              longitude: 1
            }),
            p = n(f, 2),
            g = p[0],
            h = p[1];
          return (0, k.useEffect)((function () {
            "function" == typeof l && function (e, t, n) {
              new Promise((function (o, a) {
                var r = function (e) {
                    try {
                      i(n.next(e))
                    } catch (e) {
                      a(e)
                    }
                  },
                  l = function (e) {
                    try {
                      i(n.throw(e))
                    } catch (e) {
                      a(e)
                    }
                  },
                  i = function (e) {
                    return e.done ? o(e.value) : Promise.resolve(e.value).then(r, l)
                  };
                i((n = n.apply(e, t)).next())
              }))
            }(void 0, null, e().mark((function t() {
              var n, o, a;
              return e().wrap((function (e) {
                for (;;) switch (e.prev = e.next) {
                  case 0:
                    return e.next = 2, l({
                      timeout: 1e4
                    });
                  case 2:
                    n = e.sent, o = n.latitude, a = n.longitude, (o || a) && h({
                      latitude: Number(o),
                      longitude: Number(a)
                    });
                  case 6:
                  case "end":
                    return e.stop()
                }
              }), t)
            })))
          }), []), k.createElement("div", {
            className: "filter-popup-sort"
          }, null == o ? void 0 : o.map((function (e, t) {
            var n = l && !(null == g ? void 0 : g.latitude) && !(null == g ? void 0 : g.longitude) && "距离" === (null == e ? void 0 : e.name);
            return k.createElement("div", {
              key: t,
              className: (0, B.A)("filter-popup-sort-item", (null == e ? void 0 : e.value) === (null == r ? void 0 : r.sort) && "selected", s(s({}, "".concat(null == i ? void 0 : i.sortLog, "_").concat(t), null == i ? void 0 : i.sortLog), "".concat(null == i ? void 0 : i.sortLog), null == i ? void 0 : i.sortLog)),
              onClick: function () {
                if (n) return m(!0), void setTimeout((function () {
                  m(!1)
                }), 500);
                null == c || c.emit("sortLog", {
                  titleLabel: e.name,
                  index: t
                }), a(e)
              }
            }, n ? "".concat(e.name, "（定位失败）") : e.name)
          })), v && k.createElement("div", {
            className: "filter-popup-sort-position-toast"
          }, "定位失败，请检查是否开启授权~"))
        },
        fo = (0, K.A)('<path d="M48 8c22.1 0 40 17.9 40 40S70.1 88 48 88 8 70.1 8 48 25.9 8 48 8zm0 6c-18.8 0-34 15.2-34 34s15.2 34 34 34 34-15.2 34-34-15.2-34-34-34zm13 27c0 6.2-4.4 11.3-10.2 12.7V57c0 1.7-1.3 3-3 3s-3-1.3-3-3v-6c0-1.7 1.3-3 3-3 4 0 7.2-3.1 7.2-7s-3.2-7-7.2-7c-2.5 0-4.8 1.2-6.1 3.2-.3.5-.6 1.1-.8 1.7-.5 1.6-2.2 2.4-3.8 1.9-1.6-.5-2.4-2.2-1.9-3.8.4-1.1.9-2.1 1.5-3.1 2.4-3.7 6.6-5.9 11.1-5.9C55.1 28 61 33.8 61 41zM48 69c-1.7 0-3-1.3-3-3s1.3-3 3-3 3 1.3 3 3-1.3 3-3 3z"/>', "HelpCircleOutlinedIcon"),
        po = p(469),
        go = Object.defineProperty,
        ho = Object.defineProperties,
        yo = Object.getOwnPropertyDescriptors,
        bo = Object.getOwnPropertySymbols,
        Co = Object.prototype.hasOwnProperty,
        ko = Object.prototype.propertyIsEnumerable,
        wo = function (e, t, n) {
          return t in e ? go(e, t, {
            enumerable: !0,
            configurable: !0,
            writable: !0,
            value: n
          }) : e[t] = n
        },
        Io = function () {
          return new Promise((function (e, t) {
            try {
              var n = N().getSystemInfoSync(),
                o = n.windowWidth,
                a = n.windowHeight;
              e(function (e, t) {
                return ho(e, yo(t))
              }(function (e, t) {
                for (var n in t || (t = {})) Co.call(t, n) && wo(e, n, t[n]);
                if (bo) {
                  var o, a = (0, po.A)(bo(t));
                  try {
                    for (a.s(); !(o = a.n()).done;) n = o.value, ko.call(t, n) && wo(e, n, t[n])
                  } catch (e) {
                    a.e(e)
                  } finally {
                    a.f()
                  }
                }
                return e
              }({}, n), {
                width: o,
                height: a,
                left: 0,
                top: 0,
                right: o,
                bottom: a
              }))
            } catch (e) {
              t(e)
            }
          }))
        },
        Eo = function () {
          return new Promise((function (e) {
            N().createSelectorQuery().selectViewport().scrollOffset().exec((function (t) {
              e({
                top: t[0].scrollTop,
                left: t[0].scrollLeft
              })
            }))
          }))
        },
        No = p(9337),
        Oo = function (e, t, n) {
          return new Promise((function (o, a) {
            var r = function (e) {
                try {
                  i(n.next(e))
                } catch (e) {
                  a(e)
                }
              },
              l = function (e) {
                try {
                  i(n.throw(e))
                } catch (e) {
                  a(e)
                }
              },
              i = function (e) {
                return e.done ? o(e.value) : Promise.resolve(e.value).then(r, l)
              };
            i((n = n.apply(e, t)).next())
          }))
        },
        Po = {
          left: "right",
          right: "left",
          top: "bottom",
          bottom: "top"
        },
        So = function (e) {
          var t = e.scrollRoot,
            n = e.scrollRootOffset,
            o = e.childrenOffset,
            a = e.arrowDirection,
            r = e.tipOffset,
            l = e.arrowLocation,
            i = e.offsetSpacing,
            c = o.left,
            u = o.right,
            d = o.top,
            s = o.bottom,
            v = o.width,
            m = o.height,
            f = r.width,
            p = r.height,
            g = n.top,
            h = n.bottom,
            y = n.left,
            b = n.right,
            C = n.width,
            k = n.height,
            w = !t,
            I = w ? 0 : g,
            E = w ? k : h,
            N = w ? 0 : y,
            O = w ? C : b,
            P = a,
            S = l,
            A = "top" === a,
            x = "bottom" === a,
            T = "left" === a,
            D = "right" === a;
          (A && d - p - i < I || x && s + p + i > E || T && c - f - i < N || D && u + f + i > O) && (P = Po[a]), ("top" === l && d + p > E || "bottom" === l && s - p < I || "left" === l && c + f > O || "right" === l && u - f < N) && (S = Po[l]);
          var j = "center" === l;
          return j && (A || x) ? c + (v - f) / 2 + f > O ? S = Po.left : c + (v - f) / 2 < N && (S = Po.right) : j && (T || D) && (d + (m - p) / 2 + m > E ? S = Po.top : d + (m - p) / 2 < I && (S = Po.bottom)), "none" === l && (S = "none"), {
            newArrowDirection: P,
            newArrowLocation: S
          }
        },
        Ao = function (e) {
          return Oo(void 0, [e], (function (e) {
            var t = e.childrenOffset,
              n = e.arrowDirection,
              o = e.tipOffset,
              a = e.arrowLocation,
              r = e.offsetSpacing;
            return (0, h.A)().m((function e() {
              var l, i, c, u, d, s, v, m, f, p, g, y, b, C, k, w, I, E, N;
              return (0, h.A)().w((function (e) {
                for (;;) switch (e.n) {
                  case 0:
                    return e.n = 1, Eo();
                  case 1:
                    if (l = e.v, i = l.top, c = l.left, u = t.width, d = t.height, s = t.left, v = t.right, m = t.top, f = t.bottom, p = {}, u && d && (p = {
                        width: "".concat(u, "px"),
                        height: "".concat(d, "px")
                      }), g = o.width, y = o.height, "top" !== n) {
                      e.n = 8;
                      break
                    }
                    b = m - r - y, w = a, e.n = "left" === w ? 2 : "center" === w ? 3 : "right" === w ? 4 : "none" === w ? 5 : 6;
                    break;
                  case 2:
                    return C = s, e.a(3, 7);
                  case 3:
                    return C = s + (u - g) / 2, e.a(3, 7);
                  case 4:
                    return C = v - g, e.a(3, 7);
                  case 5:
                    return C = s, e.a(3, 7);
                  case 6:
                    return e.a(3, 7);
                  case 7:
                    e.n = 28;
                    break;
                  case 8:
                    if ("bottom" !== n) {
                      e.n = 15;
                      break
                    }
                    b = f + r, I = a, e.n = "left" === I ? 9 : "center" === I ? 10 : "right" === I ? 11 : "none" === I ? 12 : 13;
                    break;
                  case 9:
                    return C = s, e.a(3, 14);
                  case 10:
                    return C = s + (u - g) / 2, e.a(3, 14);
                  case 11:
                    return C = v - g, e.a(3, 14);
                  case 12:
                    return C = s, e.a(3, 14);
                  case 13:
                    return e.a(3, 14);
                  case 14:
                    e.n = 28;
                    break;
                  case 15:
                    if ("left" !== n) {
                      e.n = 22;
                      break
                    }
                    C = s - r - g, E = a, e.n = "top" === E ? 16 : "center" === E ? 17 : "bottom" === E ? 18 : "none" === E ? 19 : 20;
                    break;
                  case 16:
                    return b = m, e.a(3, 21);
                  case 17:
                    return b = m + (d - y) / 2, e.a(3, 21);
                  case 18:
                    return b = f - y, e.a(3, 21);
                  case 19:
                    return b = m, e.a(3, 21);
                  case 20:
                    return e.a(3, 21);
                  case 21:
                    e.n = 28;
                    break;
                  case 22:
                    if ("right" !== n) {
                      e.n = 28;
                      break
                    }
                    C = v + r, N = a, e.n = "top" === N ? 23 : "center" === N ? 24 : "bottom" === N ? 25 : "none" === N ? 26 : 27;
                    break;
                  case 23:
                    return b = m, e.a(3, 28);
                  case 24:
                    return b = m + (d - y) / 2, e.a(3, 28);
                  case 25:
                    return b = f - y, e.a(3, 28);
                  case 26:
                    return b = m, e.a(3, 28);
                  case 27:
                    return e.a(3, 28);
                  case 28:
                    return b && (b = "".concat(b + i, "px")), C && (C = "".concat(C + c, "px")), k = {
                      top: 0,
                      left: 0,
                      transform: "translate3d(".concat(C, ", ").concat(b, ", 0)"),
                      visibility: ""
                    }, e.a(2, {
                      styles: k,
                      childrenStyle: p
                    })
                }
              }), e)
            }))()
          }))
        },
        xo = function (e) {
          return Oo(void 0, [e], (function (e) {
            var t = e.scrollRoot,
              n = e.childrenRef,
              o = e.tipRef,
              a = e.arrowDirection,
              r = void 0 === a ? "top" : a,
              l = e.arrowLocation,
              i = void 0 === l ? "center" : l,
              c = e.offsetSpacing,
              u = void 0 === c ? 0 : c;
            return (0, h.A)().m((function e() {
              var a, l, c, d, s, v, m, f, p;
              return (0, h.A)().w((function (e) {
                for (;;) switch (e.n) {
                  case 0:
                    if (null == n ? void 0 : n.current) {
                      e.n = 1;
                      break
                    }
                    return e.a(2, null);
                  case 1:
                    return e.n = 2, (0, No.A)(n.current);
                  case 2:
                    return a = e.v, e.n = 3, (0, No.A)(o.current);
                  case 3:
                    if ((l = e.v) && a) {
                      e.n = 4;
                      break
                    }
                    return e.a(2, {
                      styles: {},
                      childrenStyle: {},
                      newArrowDirection: r,
                      newArrowLocation: i
                    });
                  case 4:
                    if (!t) {
                      e.n = 6;
                      break
                    }
                    return e.n = 5, (0, No.A)(t);
                  case 5:
                    c = e.v, e.n = 8;
                    break;
                  case 6:
                    return e.n = 7, Io();
                  case 7:
                    c = e.v;
                  case 8:
                    return d = So({
                      scrollRoot: t,
                      scrollRootOffset: c,
                      childrenOffset: a,
                      arrowDirection: r,
                      tipOffset: l,
                      arrowLocation: i,
                      offsetSpacing: u
                    }), s = d.newArrowDirection, v = d.newArrowLocation, e.n = 9, Ao({
                      childrenOffset: a,
                      arrowDirection: s,
                      tipOffset: l,
                      arrowLocation: v,
                      offsetSpacing: u
                    });
                  case 9:
                    return m = e.v, f = m.styles, p = m.childrenStyle, f.visibility = "visible", e.a(2, {
                      styles: f,
                      childrenStyle: p,
                      newArrowDirection: s,
                      newArrowLocation: v
                    })
                }
              }), e)
            }))()
          }))
        },
        To = "onMouseEnter",
        Do = "onMouseLeave",
        jo = "onClick",
        Lo = {
          hover: [To, Do],
          click: [jo]
        },
        Ro = function (e) {
          var t, n = e.split(/([A-Z])/),
            o = n[0];
          return n.length > 1 && (n.splice(0, 1), t = n.join("").toLowerCase()), {
            direction: o,
            location: t
          }
        },
        _o = p(498),
        Bo = p(4067),
        Fo = p(317),
        Mo = p(3919).document,
        zo = p(3919).window,
        Uo = Object.defineProperty,
        Vo = Object.getOwnPropertySymbols,
        Wo = Object.prototype.hasOwnProperty,
        Yo = Object.prototype.propertyIsEnumerable,
        Ho = function (e, t, n) {
          return t in e ? Uo(e, t, {
            enumerable: !0,
            configurable: !0,
            writable: !0,
            value: n
          }) : e[t] = n
        },
        qo = function (e, t) {
          for (var n in t || (t = {})) Wo.call(t, n) && Ho(e, n, t[n]);
          if (Vo) {
            var o, a = v(Vo(t));
            try {
              for (a.s(); !(o = a.n()).done;) {
                n = o.value;
                Yo.call(t, n) && Ho(e, n, t[n])
              }
            } catch (e) {
              a.e(e)
            } finally {
              a.f()
            }
          }
          return e
        },
        Ko = k.forwardRef((function (t, o) {
          var a = t,
            r = a.className,
            l = a.style,
            i = a.children,
            c = a.title,
            u = a.content,
            d = a.defaultOpen,
            s = a.offsetSpacing,
            m = void 0 === s ? 0 : s,
            f = a.placement,
            p = void 0 === f ? "top" : f,
            g = a.trigger,
            h = void 0 === g ? "click" : g,
            y = a.open,
            b = a.hideArrow,
            C = a.onOpenChange,
            w = function (e, t) {
              var n = {};
              for (var o in e) Wo.call(e, o) && t.indexOf(o) < 0 && (n[o] = e[o]);
              if (null != e && Vo) {
                var a, r = v(Vo(e));
                try {
                  for (r.s(); !(a = r.n()).done;) {
                    o = a.value;
                    t.indexOf(o) < 0 && Yo.call(e, o) && (n[o] = e[o])
                  }
                } catch (e) {
                  r.e(e)
                } finally {
                  r.f()
                }
              }
              return n
            }(a, ["className", "style", "children", "title", "content", "defaultOpen", "offsetSpacing", "placement", "trigger", "open", "hideArrow", "onOpenChange"]),
            I = void 0 !== y,
            E = Ro(p),
            N = E.direction,
            O = E.location,
            P = void 0 === O ? "center" : O,
            S = (0, k.useRef)(),
            A = (0, k.useState)(d),
            x = n(A, 2),
            T = x[0],
            D = x[1],
            j = (0, k.useState)(N),
            L = n(j, 2),
            R = L[0],
            _ = L[1],
            F = (0, k.useState)(P),
            M = n(F, 2),
            z = M[0],
            U = M[1],
            V = (0, k.useState)({}),
            W = n(V, 2),
            Y = W[0],
            H = W[1],
            q = (0, k.useRef)(null),
            K = (0, _o.A)(o, q),
            J = function (e) {
              !1 === e && (q.current = null)
            },
            G = function (e, t) {
              I || (J(t), D(t), null == C || C(e, {
                open: t
              }))
            },
            Z = function (e) {
              G(e, !1)
            };
          (0, k.useEffect)((function () {
            I && (D(y), J(y))
          }), [y]), (0, k.useEffect)((function () {
            T || H({
              visibility: "hidden"
            })
          }), [T]);
          var $, Q = function (e) {
              "hover" === h || 1 === (null == h ? void 0 : h.length) && "hover" === (null == h ? void 0 : h[0]) || Z(e)
            },
            ee = (0, Bo.A)((function () {
              return function (e, t, n) {
                return new Promise((function (o, a) {
                  var r = function (e) {
                      try {
                        i(n.next(e))
                      } catch (e) {
                        a(e)
                      }
                    },
                    l = function (e) {
                      try {
                        i(n.throw(e))
                      } catch (e) {
                        a(e)
                      }
                    },
                    i = function (e) {
                      return e.done ? o(e.value) : Promise.resolve(e.value).then(r, l)
                    };
                  i((n = n.apply(e, t)).next())
                }))
              }(void 0, null, e().mark((function t() {
                var n, o, a, r, l, i, c, u;
                return e().wrap((function (e) {
                  for (;;) switch (e.prev = e.next) {
                    case 0:
                      if (q.current) {
                        e.next = 2;
                        break
                      }
                      return e.abrupt("return");
                    case 2:
                      return n = Ro(p), o = n.direction, a = n.location, r = void 0 === a ? "center" : a, e.next = 8, xo({
                        childrenRef: S,
                        arrowDirection: o,
                        arrowLocation: r,
                        offsetSpacing: m,
                        tipRef: q
                      });
                    case 8:
                      if (l = e.sent) {
                        e.next = 11;
                        break
                      }
                      return e.abrupt("return");
                    case 11:
                      i = l.styles, c = l.newArrowDirection, u = l.newArrowLocation, c !== R && _(c), u !== z && U(u), H(i);
                    case 13:
                    case "end":
                      return e.stop()
                  }
                }), t)
              })))
            }), 100);
          if ((0, k.useEffect)((function () {
              return q.current && (I || Mo.addEventListener("click", Q), X.WD || zo.addEventListener("resize", ee)),
                function () {
                  I || Mo.removeEventListener("click", Q), X.WD || zo.removeEventListener("resize", ee)
                }
            }), [T]), !c && !u) return null;
          I || ($ = function (e) {
            var t = e.trigger,
              n = e.click,
              o = e.show,
              a = e.hide,
              r = [];
            r = "string" == typeof t ? [t] : Array.isArray(t) ? t : ["click"];
            var l = {};
            return r.forEach((function (e) {
              (Lo[e] || []).forEach((function (e) {
                var t;
                e === To ? t = o : e === Do ? t = a : e === jo && (t = n), l[e] = t
              }))
            })), l
          }({
            trigger: h,
            click: function (e) {
              e.stopPropagation(), G(e, !T)
            },
            show: function (e) {
              G(e, !0)
            },
            hide: Z
          }));
          var te = qo({
            ref: S
          }, $);
          return k.createElement(k.Fragment, null, y || T ? k.createElement(Fo.A, {
            onRootElementMouted: ee
          }, k.createElement("div", qo({
            className: (0, B.A)("bui-popover", r, "popover-".concat(R), {
              "bui-popover-arrow-hide": b
            }),
            style: qo(qo({}, l), Y),
            ref: K
          }, w), b ? null : k.createElement("div", {
            className: (0, B.A)("bui-popover-arrow", "location-".concat(z))
          }), k.createElement("div", {
            className: "bui-popover-content"
          }, c ? k.createElement("div", {
            className: "bui-popover-title"
          }, c) : null, u ? k.createElement("div", {
            className: "bui-popover-inner-content"
          }, u) : null))) : null, k.isValidElement(i) ? k.cloneElement(i, te) : i)
        }));
      Ko.displayName = "BuiPopover";
      var Jo = Ko,
        Go = function (e) {
          var t, o = e || {},
            a = o.data,
            r = (void 0 === a ? {} : a).artiste,
            l = o.activeId,
            i = void 0 === l ? "-1" : l,
            c = o.onClick,
            u = o.event,
            d = o.logConfig,
            v = o.getAutoLogData,
            m = o.trackInfo,
            f = (0, k.useState)(""),
            p = n(f, 2),
            g = p[0],
            h = p[1],
            y = function (e, t) {
              e.stopPropagation(), h((function (e) {
                return e === t ? "" : t
              }))
            },
            b = function () {
              g && h("")
            };
          return (0, k.useEffect)((function () {
            return null == u || u.on("category_page_scroll", b),
              function () {
                null == u || u.off("category_page_scroll", b)
              }
          }), []), k.createElement(L.A, {
            className: (0, B.A)("filter-popup-artiste"),
            scrollY: !0,
            onScroll: (0, Bo.A)(b, 100)
          }, null == (t = Object.keys(r)) ? void 0 : t.map((function (e, t) {
            var n, o, a, l, f;
            return (null == (o = null == (n = r[e]) ? void 0 : n.list) ? void 0 : o.length) ? k.createElement("div", {
              className: (0, B.A)("filter-popup-module", {
                "filter-popup-module-last": t === (null == (a = Object.keys(r)) ? void 0 : a.length) - 1 && X.WD
              }),
              key: t,
              onClick: b
            }, k.createElement("div", {
              className: (0, B.A)("filter-popup-module-header")
            }, k.createElement("div", {
              className: (0, B.A)("filter-popup-module-title")
            }, null == (l = r[e]) ? void 0 : l.title), k.createElement(Jo, {
              className: "filter-popup-artiste-popover",
              title: null == (f = r[e]) ? void 0 : f.subTitle,
              open: g === e
            }, k.createElement("div", {
              onClick: function (t) {
                return y(t, e)
              },
              className: (0, B.A)("filter-popup-module-icon")
            }, k.createElement(fo, {
              style: {
                color: "#8b93a5"
              },
              className: (0, B.A)("filter-popup-module-icon")
            }))), "follow" === e || "more" === e ? k.createElement("div", {
              className: (0, B.A)("filter-popup-module-desc")
            }, "按首字母排序") : null), k.createElement("div", {
              className: (0, B.A)("filter-popup-module-action")
            }, r[e].list.map((function (e) {
              return k.createElement(Z.A, {
                Component: Xe.A,
                dynamicData: {
                  item: null == m ? void 0 : m.artistePop,
                  titlelabel: null == e ? void 0 : e.name
                },
                className: (0, B.A)("filter-popup-module-artiste", s({}, "".concat(null == d ? void 0 : d.artistePopLog), null == d ? void 0 : d.artistePopLog)),
                "data-log": null == v ? void 0 : v({
                  titlelabel: null == e ? void 0 : e.name
                }),
                color: i === (null == e ? void 0 : e.id) ? "primary" : void 0,
                variant: "light",
                key: null == e ? void 0 : e.id,
                onClick: function () {
                  null == u || u.emit("artiste_btn_log", {
                    name: null == e ? void 0 : e.name
                  }), c(null == e ? void 0 : e.id)
                }
              }, k.createElement("div", {
                className: "filter-popup-module-action-text"
              }, null == e ? void 0 : e.name))
            })))) : null
          })))
        },
        Zo = function (e) {
          var t, n = e.globalCity,
            o = e.cityCircle,
            a = void 0 === o ? [] : o,
            r = e.filterData,
            l = e.onChange,
            i = function (e) {
              l(e)
            };
          return k.createElement("div", {
            className: "city-circle-filter-panel"
          }, k.createElement("div", {
            className: "city-circle-filter-title"
          }, "当前城市"), k.createElement("div", {
            className: "city-circle-filter-items"
          }, k.createElement("div", {
            className: (0, B.A)("city-circle-filter-item", {
              "is-selected": !(null == (t = r.cityCircle) ? void 0 : t.value)
            }),
            onClick: function () {
              return i(null)
            }
          }, null == n ? void 0 : n.name)), k.createElement("div", {
            className: "city-circle-filter-title"
          }, "热门城市圈"), k.createElement("div", {
            className: "city-circle-filter-items"
          }, null == a ? void 0 : a.map((function (e) {
            var t;
            return k.createElement("div", {
              className: (0, B.A)("city-circle-filter-item", {
                "is-selected": (null == (t = r.cityCircle) ? void 0 : t.value) === e.value
              }),
              key: e.value,
              onClick: function () {
                return i(e)
              }
            }, e.name)
          }))))
        },
        Xo = p(3919).window,
        $o = Object.defineProperty,
        Qo = Object.defineProperties,
        ea = Object.getOwnPropertyDescriptors,
        ta = Object.getOwnPropertySymbols,
        na = Object.prototype.hasOwnProperty,
        oa = Object.prototype.propertyIsEnumerable,
        aa = function (e, t, n) {
          return t in e ? $o(e, t, {
            enumerable: !0,
            configurable: !0,
            writable: !0,
            value: n
          }) : e[t] = n
        },
        ra = function (e, t) {
          for (var n in t || (t = {})) na.call(t, n) && aa(e, n, t[n]);
          if (ta) {
            var o, a = v(ta(t));
            try {
              for (a.s(); !(o = a.n()).done;) {
                n = o.value;
                oa.call(t, n) && aa(e, n, t[n])
              }
            } catch (e) {
              a.e(e)
            } finally {
              a.f()
            }
          }
          return e
        },
        la = function (e, t) {
          return Qo(e, ea(t))
        },
        ia = function (e) {
          var n = e || {},
            o = n.data,
            a = n.selectedPopup,
            r = n.setAlreadySort,
            l = n.fetchParams,
            i = n.filterData,
            c = n.setFilterData,
            u = n.setFetchParams,
            d = n.setSelectedPopup,
            v = n.onFilterFetchData,
            m = n.setComboDispatchId,
            f = n.itemId,
            p = n.comboDispatchId,
            g = n.setItemId,
            h = n.onCloseFilterAndFetch,
            y = n.getAutoLogData,
            b = n.showSubCategory,
            C = n.disableWindowScrollTo,
            w = n.logConfig,
            I = n.getPosition,
            E = n.defaultParams,
            N = n.setShowFilterPopup,
            O = n.event,
            P = n.setSelect,
            S = n.cityCircle,
            A = n.globalCity,
            x = n.trackInfo;
          if (0 === a) return null;
          P(!0);
          var T = (0, k.useRef)(null);
          (0, k.useEffect)((function () {
            0 !== a && (C && !(0, X.jZ)() && Xo.scrollTo({
              top: 0
            }), !(0, X.jZ)() && T.current && Gt(T.current))
          }), [a]);
          var D = (null == o ? void 0 : o.primary) || {},
            j = D.category,
            L = void 0 === j ? [] : j,
            R = D.selection,
            _ = void 0 === R ? [] : R,
            F = D.sortType,
            M = void 0 === F ? [] : F,
            z = D.calendar,
            U = void 0 === z ? [] : z,
            V = function () {
              c(l), d(0)
            };
          return k.createElement("div", {
            className: "filter-popup",
            ref: T
          }, a === $t && k.createElement(to, {
            data: L,
            logConfig: w,
            selectedData: null == i ? void 0 : i.category,
            onClick: function (e, n) {
              var o, a, r;
              if (b) {
                var l = e.name,
                  u = e.value,
                  d = "全部" === l,
                  v = null == (o = null == i ? void 0 : i.firstLevelSelection) ? void 0 : o.indexOf(u),
                  m = null == (a = null == i ? void 0 : i.secondLevelSelection) ? void 0 : a.indexOf(u),
                  f = null == (r = null == i ? void 0 : i.category) ? void 0 : r.indexOf(u),
                  p = t((null == i ? void 0 : i.firstLevelSelection) || []),
                  g = t((null == i ? void 0 : i.secondLevelSelection) || []),
                  h = t((null == i ? void 0 : i.category) || []);
                if (v > -1) null == p || p.splice(v, 1), f > -1 && (null == h || h.splice(f, 1)), c(la(ra({}, i), {
                  firstLevelSelection: p,
                  category: h
                }));
                else if (m > -1) null == g || g.splice(m, 1), f > -1 && (null == h || h.splice(f, 1)), c(la(ra({}, i), {
                  secondLevelSelection: g,
                  category: h
                }));
                else {
                  if (d && !u) return void c(la(ra({}, i), {
                    firstLevelSelection: [],
                    secondLevelSelection: [],
                    category: []
                  }));
                  p = null == p ? void 0 : p.filter((function (e) {
                    return e
                  })), h = null == h ? void 0 : h.filter((function (e) {
                    return e
                  })), null == n || n.forEach((function (e) {
                    if (d) {
                      var t = null == g ? void 0 : g.indexOf(null == e ? void 0 : e.value),
                        n = null == h ? void 0 : h.indexOf(null == e ? void 0 : e.value);
                      t > -1 && (null == g || g.splice(t, 1), n > -1 && (null == h || h.splice(n, 1)))
                    } else if ("全部" === (null == e ? void 0 : e.name)) {
                      var o = null == p ? void 0 : p.indexOf(null == e ? void 0 : e.value),
                        a = null == h ? void 0 : h.indexOf(null == e ? void 0 : e.value);
                      o > -1 && (null == p || p.splice(o, 1), a > -1 && (null == h || h.splice(a, 1)))
                    }
                  })), c(la(ra({}, i), {
                    firstLevelSelection: d ? [].concat(t(p), [u]) : p,
                    secondLevelSelection: d ? g : [].concat(t(g), [u]),
                    category: [].concat(t(h), [u])
                  }))
                }
              } else ! function (e, n, o, a, r) {
                var l, i = n.value,
                  c = n.name,
                  u = null == (l = null == a ? void 0 : a[e]) ? void 0 : l.indexOf(i),
                  d = t((null == a ? void 0 : a[e]) || []);
                if (u > -1) return null == d || d.splice(u, 1), r(yn(yn({}, a), s({}, e, d))), yn(yn({}, a), s({}, e, d));
                var v = "全部" === c;
                null == o || o.forEach((function (e) {
                  if (v || "全部" === e.name) {
                    var t = null == d ? void 0 : d.indexOf(null == e ? void 0 : e.value);
                    t > -1 && (null == d || d.splice(t, 1))
                  }
                })), r(yn(yn({}, a), s({}, e, [].concat(t(d), [i])))), yn(yn({}, a), s({}, e, [].concat(t(d), [i])))
              }("category", e, n, i, c)
            },
            showSubCategory: b,
            setShowFilterPopup: N,
            event: O
          }), a === Qt && k.createElement($n, {
            logConfig: w,
            getAutoLogData: y,
            setItemId: g,
            setComboDispatchId: m,
            allMonth: On(U),
            filterData: i,
            onChange: c,
            onClickSlider: function (e) {
              d(0), h(e)
            },
            event: O
          }), a === en && k.createElement(mo, {
            data: M,
            logConfig: w,
            getPosition: I,
            selectedData: i,
            onChange: function (e) {
              var t = {},
                n = {},
                o = n.latitude,
                a = n.longitude;
              (null == e ? void 0 : e.value) !== (null == i ? void 0 : i.sort) && (t = la(ra(ra({}, i), {
                sort: null == e ? void 0 : e.value
              }), {
                latitude: o,
                longitude: a
              }), c(t), u(t), null == v || v(Nn(la(ra({}, t), {
                comboDispatchId: p,
                itemId: f
              })), En(t))), r(!0), d(0)
            },
            event: O
          }), a === an && k.createElement(Zo, {
            globalCity: A,
            cityCircle: S,
            filterData: i,
            onChange: function (e) {
              var t = la(ra({}, i), {
                cityCircle: e
              });
              c(t), u(t), null == v || v(Nn(la(ra({}, t), {
                comboDispatchId: p,
                itemId: f
              })), En(t)), d(0)
            }
          }), a === tn && k.createElement(vo, {
            getAutoLogData: y,
            data: _,
            selectedData: i,
            onChange: c
          }), a === nn && k.createElement(Go, {
            data: o,
            getAutoLogData: y,
            onClick: function (e) {
              var t = la(ra({}, i), {
                artisteId: e,
                groupId: null == o ? void 0 : o.groupId
              });
              c(t), u(t), null == v || v(Nn(la(ra({}, t), {
                comboDispatchId: p,
                itemId: f
              })), En(t)), d(0)
            },
            activeId: null == i ? void 0 : i.artisteId,
            event: O,
            logConfig: w,
            trackInfo: x
          }), [1, 2, 4].indexOf(a) > -1 ? k.createElement("div", {
            className: "filter-popup-handle"
          }, k.createElement("div", {
            className: "filter-popup-handle-wrap"
          }, k.createElement("div", {
            className: "filter-popup-handle-btn reset",
            onClick: function () {
              if (1 === a) c(la(ra({}, i), {
                category: (null == E ? void 0 : E.category) || [],
                firstLevelSelection: (null == E ? void 0 : E.firstLevelSelection) || [],
                secondLevelSelection: (null == E ? void 0 : E.secondLevelSelection) || []
              }));
              else if (2 === a) {
                var e = t((null == i ? void 0 : i.hot) || []);
                if ((null == e ? void 0 : e.length) > 0) {
                  var n = null == e ? void 0 : e.indexOf("dateType-9");
                  n > -1 && e.splice(n, 1)
                }
                c(la(ra({}, i), {
                  hot: e,
                  calendar: [],
                  calendarSlider: ""
                }))
              } else if (4 === a) {
                var o = t((null == i ? void 0 : i.hot) || []);
                o = null == o ? void 0 : o.filter((function (e) {
                  return "price-1" !== e && "service-1" !== e
                })), c(la(ra({}, i), {
                  hot: o,
                  rightFilter: {
                    price: [],
                    service: []
                  }
                }))
              }
            }
          }, "重置"), k.createElement("div", {
            className: (0, B.A)("filter-popup-handle-btn", "confirm", a === Qt && "calendar-confirm-log"),
            onClick: function () {
              u(i), c(i), d(0), null == v || v(Nn(la(ra({}, i), {
                comboDispatchId: p,
                itemId: f,
                showSubCategory: b
              })), En(i))
            },
            "data-log": null == y ? void 0 : y({
              spmC: "date_selector",
              spmD: "dconfirm"
            })
          }, "确定"))) : null, 0 !== a && k.createElement("div", {
            className: "filter-mask",
            onClick: V
          }), 0 !== a && k.createElement("div", {
            className: "filter-mask-transparent",
            onClick: V
          }))
        },
        ca = Object.defineProperty,
        ua = Object.defineProperties,
        da = Object.getOwnPropertyDescriptors,
        sa = Object.getOwnPropertySymbols,
        va = Object.prototype.hasOwnProperty,
        ma = Object.prototype.propertyIsEnumerable,
        fa = function (e, t, n) {
          return t in e ? ca(e, t, {
            enumerable: !0,
            configurable: !0,
            writable: !0,
            value: n
          }) : e[t] = n
        },
        pa = function (e, t) {
          for (var n in t || (t = {})) va.call(t, n) && fa(e, n, t[n]);
          if (sa) {
            var o, a = v(sa(t));
            try {
              for (a.s(); !(o = a.n()).done;) {
                n = o.value;
                ma.call(t, n) && fa(e, n, t[n])
              }
            } catch (e) {
              a.e(e)
            } finally {
              a.f()
            }
          }
          return e
        },
        ga = function (e, t) {
          return ua(e, da(t))
        },
        ha = (0, X.jZ)(),
        ya = "bui-dm-filter-wrap",
        ba = (0, k.forwardRef)((function (e, o) {
          var a, r, l, i, c, u = null == e ? void 0 : e.data,
            d = null == e ? void 0 : e.event,
            s = (null == e ? void 0 : e.globalCity) || {},
            v = (0, k.useRef)(null != (a = null == s ? void 0 : s.code) ? a : null == s ? void 0 : s.damaiId),
            m = (null == e ? void 0 : e.logConfig) || {},
            f = m.timeSelectLog,
            p = m.filterLog,
            g = m.sortLog,
            h = m.typeLog,
            y = m.artisteLog,
            b = m.artistePopLog,
            C = [];
          null == (r = null == u ? void 0 : u.secondary) || r.forEach((function (e) {
            var t, n;
            (null == (t = null == e ? void 0 : e.lineItem) ? void 0 : t.length) > 0 && (null == (n = null == e ? void 0 : e.lineItem) || n.forEach((function (t) {
              C.push({
                option: null == e ? void 0 : e.option,
                name: null == t ? void 0 : t.name,
                value: "".concat(null == e ? void 0 : e.option, "-").concat(null == t ? void 0 : t.value),
                trueValue: null == t ? void 0 : t.value
              })
            })))
          }));
          var w = (0, k.useState)(0),
            I = n(w, 2),
            E = I[0],
            N = I[1],
            O = (0, k.useState)(!1),
            P = n(O, 2),
            S = P[0],
            A = P[1],
            x = (0, k.useState)((null == e ? void 0 : e.defaultParams) || In),
            T = n(x, 2),
            D = T[0],
            j = T[1],
            L = (0, k.useState)((null == e ? void 0 : e.defaultParams) || In),
            R = n(L, 2),
            _ = R[0],
            F = R[1],
            M = (0, k.useState)(!1),
            z = n(M, 2),
            U = z[0],
            V = z[1],
            W = (0, k.useState)(""),
            Y = n(W, 2),
            H = Y[0],
            q = Y[1],
            K = (0, k.useState)(""),
            J = n(K, 2),
            G = J[0],
            Z = J[1];
          (0, k.useEffect)((function () {
            var t;
            if ((null == e ? void 0 : e.isGetStorage) && (ha || (t = null == localStorage ? void 0 : localStorage.getItem(rn)), t)) try {
              j(null == JSON ? void 0 : JSON.parse(t)), F(null == JSON ? void 0 : JSON.parse(t))
            } catch (e) {}
          }), []), (0, k.useEffect)((function () {
            var e;
            try {
              e = JSON.stringify(D)
            } catch (e) {}!ha && (null == localStorage || localStorage.setItem(rn, e))
          }), [D]);
          var X = function (e) {
              e && (F(e), j(e))
            },
            $ = function (t) {
              var n;
              X(t), null == (n = e.onFilterFetchData) || n.call(e, Nn(ga(pa({}, t), {
                comboDispatchId: G,
                itemId: H
              })), En(t))
            };
          return (0, k.useEffect)((function () {
            var t = "function" == typeof (null == e ? void 0 : e.setShowFilterPopup);
            0 === E ? t && (null == e || e.setShowFilterPopup(!1)) : t && (null == e || e.setShowFilterPopup(!0))
          }), [E]), (0, k.useEffect)((function () {
            var e;
            !v.current || v.current === (null == s ? void 0 : s.code) && v.current === (null == s ? void 0 : s.damaiId) || (v.current = null != (e = null == s ? void 0 : s.code) ? e : null == s ? void 0 : s.damaiId, A(!1))
          }), [null == s ? void 0 : s.code, null == s ? void 0 : s.damaiId]), (0, k.useEffect)((function () {
            e.defaultParams && !S && (j(null == e ? void 0 : e.defaultParams), F(null == e ? void 0 : e.defaultParams))
          }), [e.defaultParams]), (0, k.useEffect)((function () {
            var t = function () {
              j(null == e ? void 0 : e.defaultParams), F(null == e ? void 0 : e.defaultParams), V(!1)
            };
            return null == d || d.on("onPagePullDownRefresh", t),
              function () {
                null == d || d.off("onPagePullDownRefresh", t)
              }
          }), []), k.createElement("div", {
            className: (0, B.A)(ya, null == e ? void 0 : e.className),
            style: null == e ? void 0 : e.style,
            ref: o,
            id: null == e ? void 0 : e.id
          }, (null == e ? void 0 : e.showCalendar) && !(E === Qt) && k.createElement(Mn, {
            getAutoLogData: Wt.gQ,
            fetchParams: D,
            setItemId: q,
            setComboDispatchId: Z,
            allMonth: On(null == (l = null == u ? void 0 : u.primary) ? void 0 : l.calendar),
            setSelectedPopup: N,
            selectedPopup: E,
            updateFetchData: X,
            fetchData: e.onFilterFetchData
          }), (E !== Qt || e.showHeader) && k.createElement(Un, {
            data: u,
            alreadySort: U,
            fetchParams: D,
            selectedPopup: E,
            setSelectedPopup: N,
            setFilterData: F,
            children: null == e ? void 0 : e.children,
            getAutoLogData: Wt.gQ,
            showSubCategory: null == e ? void 0 : e.showSubCategory,
            scrollToTop: null == e ? void 0 : e.scrollToTop
          }), k.createElement(ia, {
            logConfig: {
              timeSelectLog: f,
              sortLog: g,
              typeLog: h,
              artisteLog: y,
              artistePopLog: b
            },
            globalCity: s,
            getAutoLogData: Wt.gQ,
            itemId: H,
            comboDispatchId: G,
            data: u,
            setAlreadySort: V,
            setSelect: A,
            selectedPopup: E,
            setItemId: q,
            setComboDispatchId: Z,
            setSelectedPopup: N,
            fetchParams: D,
            setFetchParams: j,
            onCloseFilterAndFetch: $,
            filterData: _,
            setFilterData: F,
            onFilterFetchData: null == e ? void 0 : e.onFilterFetchData,
            showSubCategory: null == e ? void 0 : e.showSubCategory,
            disableWindowScrollTo: null == e ? void 0 : e.disableWindowScrollTo,
            getPosition: null == e ? void 0 : e.getPosition,
            defaultParams: null == e ? void 0 : e.defaultParams,
            setShowFilterPopup: null == e ? void 0 : e.setShowFilterPopup,
            event: d,
            cityCircle: null == (i = null == u ? void 0 : u.primary) ? void 0 : i.cityCircle,
            trackInfo: null == e ? void 0 : e.trackInfo
          }), k.createElement(Ht, {
            logConfig: p,
            getAutoLogData: Wt.gQ,
            type: "tag",
            trackInfo: null == (c = null == u ? void 0 : u.action) ? void 0 : c.tag,
            sliderData: C,
            selectedData: null == _ ? void 0 : _.hot,
            onClickSliderItem: function (e) {
              var n, o = null,
                a = function (e) {
                  var n, o = null == (n = null == _ ? void 0 : _.hot) ? void 0 : n.indexOf(null == e ? void 0 : e.value),
                    a = {};
                  return o > -1 ? (a = t((null == _ ? void 0 : _.hot) || []), null == a || a.splice(o, 1)) : a = [].concat(t((null == _ ? void 0 : _.hot) || []), [null == e ? void 0 : e.value]), a
                },
                r = function (e, n) {
                  var o = function (e, n) {
                      var o, a, r, l = pa({}, null == _ ? void 0 : _.rightFilter),
                        i = null == (a = null == (o = null == l ? void 0 : l[e]) ? void 0 : o.indexOf) ? void 0 : a.call(o, null == n ? void 0 : n.trueValue);
                      return i > -1 ? null == (r = null == l ? void 0 : l[e]) || r.splice(i, 1) : "price" === e ? l[e] = [null == n ? void 0 : n.trueValue] : "service" === e && (l[e] = [].concat(t((null == l ? void 0 : l[e]) || []), [null == n ? void 0 : n.trueValue])), l
                    }(e, n),
                    r = a(n);
                  return ga(pa({}, _), {
                    hot: r,
                    rightFilter: o
                  })
                };
              if ("price" === (null == e ? void 0 : e.option)) o = r("price", e);
              else if ("service" === (null == e ? void 0 : e.option)) o = r("service", e);
              else if ("dateType" === (null == e ? void 0 : e.option)) {
                var l = "",
                  i = [];
                if ((null == _ ? void 0 : _.calendarSlider) !== (null == e ? void 0 : e.trueValue)) {
                  l = null == e ? void 0 : e.trueValue;
                  var c = wn.filter((function (t) {
                    return (null == t ? void 0 : t.value) === (null == e ? void 0 : e.trueValue)
                  }));
                  i = null == (n = null == c ? void 0 : c[0]) ? void 0 : n.date
                }
                var u = a(e);
                o = ga(pa({}, _), {
                  hot: u,
                  calendar: i,
                  calendarSlider: l
                })
              } else {
                var d = t((null == _ ? void 0 : _.hot) || []),
                  s = null == d ? void 0 : d.indexOf(null == e ? void 0 : e.value);
                if (s > -1) null == d || d.splice(s, 1), o = ga(pa({}, _), {
                  hot: d
                });
                else {
                  var v = [];
                  null == d || d.forEach((function (e) {
                    "price-1" !== e && "dateType-9" !== e && "service-1" !== e || v.push(e)
                  })), v.push(null == e ? void 0 : e.value), o = ga(pa({}, _), {
                    hot: [].concat(v)
                  })
                }
              }
              $(o)
            },
            setSelect: A,
            event: d,
            scrollToTop: null == e ? void 0 : e.scrollToTop
          }))
        }));
      ba.displayName = "FilterPanel";
      var Ca = ba,
        ka = Object.defineProperty,
        wa = Object.getOwnPropertySymbols,
        Ia = Object.prototype.hasOwnProperty,
        Ea = Object.prototype.propertyIsEnumerable,
        Na = function (e, t, n) {
          return t in e ? ka(e, t, {
            enumerable: !0,
            configurable: !0,
            writable: !0,
            value: n
          }) : e[t] = n
        },
        Oa = function (e) {
          var t, n, o = (0, k.useContext)(zn),
            a = o.onClickHeadPopup,
            r = o.fetchParams,
            l = o.selectedPopup,
            i = e || {},
            c = i.className,
            u = i.event,
            d = function (e, t) {
              var n = {};
              for (var o in e) Ia.call(e, o) && t.indexOf(o) < 0 && (n[o] = e[o]);
              if (null != e && wa) {
                var a, r = v(wa(e));
                try {
                  for (r.s(); !(a = r.n()).done;) {
                    o = a.value;
                    t.indexOf(o) < 0 && Ea.call(e, o) && (n[o] = e[o])
                  }
                } catch (e) {
                  r.e(e)
                } finally {
                  r.f()
                }
              }
              return n
            }(i, ["className", "event"]),
            s = function () {
              var e, t, n, o, a, l, i, c = "时间";
              if (null == r ? void 0 : r.calendarSlider) {
                var u = null == (e = wn) ? void 0 : e.filter((function (e) {
                  return (null == e ? void 0 : e.value) === (null == r ? void 0 : r.calendarSlider)
                }));
                c = "全部时间" === (null == (t = null == u ? void 0 : u[0]) ? void 0 : t.name) ? "时间" : null == (n = null == u ? void 0 : u[0]) ? void 0 : n.name
              } else(null == (o = null == r ? void 0 : r.calendar) ? void 0 : o[0]) && (c = "".concat(Xt()(null == (a = null == r ? void 0 : r.calendar) ? void 0 : a[0]).format("MMDD")).concat((null == (l = null == r ? void 0 : r.calendar) ? void 0 : l[1]) ? "-".concat(Xt()(null == (i = null == r ? void 0 : r.calendar) ? void 0 : i[1]).format("MMDD")) : ""));
              return c
            };
          return k.createElement("div", function (e, t) {
            for (var n in t || (t = {})) Ia.call(t, n) && Na(e, n, t[n]);
            if (wa) {
              var o, a = v(wa(t));
              try {
                for (a.s(); !(o = a.n()).done;) {
                  n = o.value;
                  Ea.call(t, n) && Na(e, n, t[n])
                }
              } catch (e) {
                a.e(e)
              } finally {
                a.f()
              }
            }
            return e
          }({
            className: (0, B.A)("filter-header-item", c, ((null == (t = null == r ? void 0 : r.calendar) ? void 0 : t[0]) || (null == r ? void 0 : r.calendarSlider)) && "selected"),
            onClick: function () {
              a(Qt), null == u || u.emit("timeRangeLog", {
                titleLabel: s()
              })
            }
          }, d), s(), k.createElement("div", {
            className: "filter-header-item-icon"
          }, k.createElement(Kt.A, {
            className: (0, B.A)("caretup-filled", 2 === l ? "up" : "down"),
            htmlColor: (null == (n = null == r ? void 0 : r.calendar) ? void 0 : n[0]) || (null == r ? void 0 : r.calendarSlider) ? "#ff2869" : "#5F6672"
          })))
        },
        Pa = Object.defineProperty,
        Sa = Object.getOwnPropertySymbols,
        Aa = Object.prototype.hasOwnProperty,
        xa = Object.prototype.propertyIsEnumerable,
        Ta = function (e, t, n) {
          return t in e ? Pa(e, t, {
            enumerable: !0,
            configurable: !0,
            writable: !0,
            value: n
          }) : e[t] = n
        },
        Da = function (e) {
          var t = e || {},
            n = t.className,
            o = t.city,
            a = t.onClickSelect,
            r = function (e, t) {
              var n = {};
              for (var o in e) Aa.call(e, o) && t.indexOf(o) < 0 && (n[o] = e[o]);
              if (null != e && Sa) {
                var a, r = v(Sa(e));
                try {
                  for (r.s(); !(a = r.n()).done;) {
                    o = a.value;
                    t.indexOf(o) < 0 && xa.call(e, o) && (n[o] = e[o])
                  }
                } catch (e) {
                  r.e(e)
                } finally {
                  r.f()
                }
              }
              return n
            }(t, ["className", "city", "onClickSelect"]),
            l = (0, k.useContext)(zn),
            i = l.onClickHeadPopup,
            c = l.selectedPopup,
            u = l.getAutoLogData,
            d = (null == o ? void 0 : o.code) || (null == o ? void 0 : o.cityId);
          return k.createElement("div", function (e, t) {
            for (var n in t || (t = {})) Aa.call(t, n) && Ta(e, n, t[n]);
            if (Sa) {
              var o, a = v(Sa(t));
              try {
                for (a.s(); !(o = a.n()).done;) {
                  n = o.value;
                  xa.call(t, n) && Ta(e, n, t[n])
                }
              } catch (e) {
                a.e(e)
              } finally {
                a.f()
              }
            }
            return e
          }({
            className: (0, B.A)("filter-header-item", "filter-city-select-log", n, d && "selected"),
            "data-log": null == u ? void 0 : u({
              spmC: "filter",
              spmD: "dcity"
            }),
            onClick: function () {
              i(on), null == a || a()
            }
          }, r), (null == o ? void 0 : o.name) || (null == o ? void 0 : o.cityName) || "城市", k.createElement("div", {
            className: "filter-header-item-icon"
          }, k.createElement(Kt.A, {
            className: (0, B.A)("caretup-filled", 5 === c ? "up" : "down"),
            htmlColor: parseInt(d, 10) > 0 ? "#ff2869" : "#5F6672"
          })))
        },
        ja = function (e) {
          var n = (0, k.useContext)(zn),
            o = n.selectedPopup,
            a = n.onClickHeadPopup,
            r = n.fetchParams,
            l = e || {},
            i = l.artiste,
            c = void 0 === i ? {} : i,
            u = c.all,
            d = c.follow,
            v = c.more,
            m = l.logConfig,
            f = l.event;
          return k.createElement("div", {
            className: (0, B.A)("filter-header-item", s({
              selected: "-1" !== (null == r ? void 0 : r.artisteId)
            }, "".concat(null == m ? void 0 : m.artisteLog), null == m ? void 0 : m.artisteLog)),
            onClick: function () {
              var e, t, n;
              null == f || f.emit("artiste_filter_log"), (null == (e = null == u ? void 0 : u.list) ? void 0 : e.length) || (null == (t = null == d ? void 0 : d.list) ? void 0 : t.length) || (null == (n = null == v ? void 0 : v.list) ? void 0 : n.length) ? a(nn) : (0, nt.o)({
                useH5: !0,
                message: "数据请求失败，请重试～"
              })
            }
          }, function () {
            var e = [].concat(t((null == u ? void 0 : u.list) || []), t((null == d ? void 0 : d.list) || []), t((null == v ? void 0 : v.list) || [])),
              n = null == e ? void 0 : e.find((function (e) {
                return e.id === r.artisteId
              }));
            return k.createElement("div", {
              className: "filter-header-item-name"
            }, "-1" !== String(null == n ? void 0 : n.id) && (null == n ? void 0 : n.name) ? null == n ? void 0 : n.name : "艺人")
          }(), k.createElement("div", {
            className: "filter-header-item-icon"
          }, k.createElement(Kt.A, {
            className: (0, B.A)("caretup-filled", 5 === o ? "up" : "down"),
            htmlColor: "-1" !== (null == r ? void 0 : r.artisteId) ? "#ff2869" : "#5F6672"
          })))
        },
        La = function (e) {
          var t, n, o = e.trackInfo,
            a = e.logConfig,
            r = (0, k.useContext)(zn),
            l = r.selectedPopup,
            i = r.onClickHeadPopup,
            c = r.fetchParams,
            u = Boolean(null == c ? void 0 : c.cityCircle);
          return k.createElement(Z.A, {
            className: (0, B.A)("filter-header-item", s({
              selected: u
            }, "".concat(null == a ? void 0 : a.economiczoneLog), null == a ? void 0 : a.economiczoneLog)),
            dynamicData: {
              item: o
            },
            onClick: function () {
              i(an)
            }
          }, k.createElement("div", {
            className: "filter-header-item-text"
          }, null != (n = null == (t = null == c ? void 0 : c.cityCircle) ? void 0 : t.name) ? n : "城市圈"), k.createElement("div", {
            className: "filter-header-item-icon"
          }, k.createElement(Kt.A, {
            className: (0, B.A)("caretup-filled", l === an ? "up" : "down"),
            htmlColor: u ? "#ff2869" : "#5F6672"
          })))
        },
        Ra = Object.defineProperty,
        _a = Object.getOwnPropertySymbols,
        Ba = Object.prototype.hasOwnProperty,
        Fa = Object.prototype.propertyIsEnumerable,
        Ma = function (e, t, n) {
          return t in e ? Ra(e, t, {
            enumerable: !0,
            configurable: !0,
            writable: !0,
            value: n
          }) : e[t] = n
        },
        za = function (e) {
          var n, o = e || {},
            a = o.className,
            r = function (e, t) {
              var n = {};
              for (var o in e) Ba.call(e, o) && t.indexOf(o) < 0 && (n[o] = e[o]);
              if (null != e && _a) {
                var a, r = v(_a(e));
                try {
                  for (r.s(); !(a = r.n()).done;) {
                    o = a.value;
                    t.indexOf(o) < 0 && Fa.call(e, o) && (n[o] = e[o])
                  }
                } catch (e) {
                  r.e(e)
                } finally {
                  r.f()
                }
              }
              return n
            }(o, ["className"]),
            l = (0, k.useContext)(zn),
            i = l.onClickHeadPopup,
            c = l.fetchParams,
            u = l.selectedPopup,
            d = l.category,
            s = l.getAutoLogData,
            m = l.showSubCategory,
            f = null == (n = null == c ? void 0 : c.category) ? void 0 : n.filter((function (e) {
              return e
            }));
          return d.length > 0 && k.createElement("div", function (e, t) {
            for (var n in t || (t = {})) Ba.call(t, n) && Ma(e, n, t[n]);
            if (_a) {
              var o, a = v(_a(t));
              try {
                for (a.s(); !(o = a.n()).done;) {
                  n = o.value;
                  Fa.call(t, n) && Ma(e, n, t[n])
                }
              } catch (e) {
                a.e(e)
              } finally {
                a.f()
              }
            }
            return e
          }({
            "data-log": null == s ? void 0 : s({
              spmC: "filter",
              spmD: "dcategory"
            }),
            className: (0, B.A)("filter-header-item", " filter-category-log", a, (null == f ? void 0 : f.length) > 0 && "selected"),
            onClick: function () {
              return i($t)
            }
          }, r), function () {
            var e, n = 0;
            return (null == f ? void 0 : f.length) > 0 && (e = null == f ? void 0 : f.reduce((function (e, o) {
              var a, r, l;
              if (m) {
                var i, c;
                null == d || d.forEach((function (e) {
                  var a = (null == e ? void 0 : e.lineItemList) || [];
                  (null == e ? void 0 : e.value) === o ? 1 === a.length ? (c = [e], n += 1) : (c = a.filter((function (e) {
                    return (null == e ? void 0 : e.value) !== o
                  })), n += a.length - 1) : a.forEach((function (a) {
                    (null == a ? void 0 : a.value) === o && (n += 1, i = i ? [].concat(t(i), [e]) : [e])
                  }))
                }));
                var u = (null == (a = null == c ? void 0 : c.map((function (e) {
                  return e.name
                }))) ? void 0 : a.join(",")) || (null == (r = null == i ? void 0 : i.find((function (e) {
                  return (null == e ? void 0 : e.value) === o
                }))) ? void 0 : r.name) || "";
                return e ? "".concat(e).concat(e && ",").concat(u) : u
              }
              return e + ("".concat(e && ",").concat(null == (l = null == d ? void 0 : d.find((function (e) {
                return (null == e ? void 0 : e.value) === o
              }))) ? void 0 : l.name) || "")
            }), "")), e ? m ? (null == e ? void 0 : e.length) > 6 ? "".concat(null == e ? void 0 : e.slice(0, 6), "等").concat(n, "类") : e : (null == e ? void 0 : e.length) > 6 ? "".concat(null == e ? void 0 : e.slice(0, 6), "...") : e : "品类"
          }(), k.createElement("div", {
            className: "filter-header-item-icon"
          }, k.createElement(Kt.A, {
            className: (0, B.A)("caretup-filled", 1 === u ? "up" : "down"),
            htmlColor: (null == f ? void 0 : f.length) > 0 ? "#ff2869" : "#5F6672"
          })))
        },
        Ua = Object.defineProperty,
        Va = Object.getOwnPropertySymbols,
        Wa = Object.prototype.hasOwnProperty,
        Ya = Object.prototype.propertyIsEnumerable,
        Ha = function (e, t, n) {
          return t in e ? Ua(e, t, {
            enumerable: !0,
            configurable: !0,
            writable: !0,
            value: n
          }) : e[t] = n
        },
        qa = (0, k.forwardRef)((function (e, t) {
          var n, o, a, r, l, i, c, u, d = e,
            s = d.className,
            m = function (e, t) {
              var n = {};
              for (var o in e) Wa.call(e, o) && t.indexOf(o) < 0 && (n[o] = e[o]);
              if (null != e && Va) {
                var a, r = v(Va(e));
                try {
                  for (r.s(); !(a = r.n()).done;) {
                    o = a.value;
                    t.indexOf(o) < 0 && Ya.call(e, o) && (n[o] = e[o])
                  }
                } catch (e) {
                  r.e(e)
                } finally {
                  r.f()
                }
              }
              return n
            }(d, ["className"]),
            f = (0, k.useContext)(zn),
            p = f.onClickHeadPopup,
            g = f.fetchParams,
            h = f.selectedPopup,
            y = f.getAutoLogData;
          return k.createElement("div", function (e, t) {
            for (var n in t || (t = {})) Wa.call(t, n) && Ha(e, n, t[n]);
            if (Va) {
              var o, a = v(Va(t));
              try {
                for (a.s(); !(o = a.n()).done;) {
                  n = o.value;
                  Ya.call(t, n) && Ha(e, n, t[n])
                }
              } catch (e) {
                a.e(e)
              } finally {
                a.f()
              }
            }
            return e
          }({
            "data-log": null == y ? void 0 : y({
              spmC: "filter",
              spmD: "dmore"
            }),
            ref: t,
            className: (0, B.A)("filter-header-item", " more-filter-log", s, ((null == (o = null == (n = null == g ? void 0 : g.rightFilter) ? void 0 : n.price) ? void 0 : o.length) > 0 || (null == (r = null == (a = null == g ? void 0 : g.rightFilter) ? void 0 : a.service) ? void 0 : r.length) > 0) && "selected"),
            onClick: function () {
              return p(tn)
            }
          }, m), "筛选", k.createElement("div", {
            className: "filter-header-item-icon"
          }, k.createElement(Kt.A, {
            className: (0, B.A)("caretup-filled", 4 === h ? "up" : "down"),
            htmlColor: (null == (i = null == (l = null == g ? void 0 : g.rightFilter) ? void 0 : l.price) ? void 0 : i.length) > 0 || (null == (u = null == (c = null == g ? void 0 : g.rightFilter) ? void 0 : c.service) ? void 0 : u.length) > 0 ? "#ff2869" : "#5f6672"
          })))
        }));
      qa.displayName = "DmAcrossItem";
      var Ka = qa,
        Ja = (0, K.A)('<path d="M54.39 79.455V2.27a2.27 2.27 0 0 1 .634-1.615c.415-.427.98-.663 1.567-.654h5.224a2.16 2.16 0 0 1 1.573.65c.418.424.654 1.005.654 1.61v54.877c0 1.245.976 2.26 2.184 2.26h9.635c.795.02 1.518.483 1.888 1.209a2.32 2.32 0 0 1-.106 2.288L58.372 90.208a2.132 2.132 0 0 1-2.44.841c-.905-.302-1.513-1.176-1.5-2.156l-.034-9.438h-.009Zm-12.762-62.91V93.74c0 .6-.231 1.174-.642 1.598a2.16 2.16 0 0 1-1.55.662h-5.157a2.135 2.135 0 0 1-1.558-.654 2.27 2.27 0 0 1-.634-1.606V38.863c0-1.248-.982-2.26-2.193-2.26H20.26a2.18 2.18 0 0 1-1.979-1.154 2.32 2.32 0 0 1 .078-2.342l19.27-27.315a2.157 2.157 0 0 1 2.452-.835c.906.3 1.521 1.169 1.522 2.15l.026 9.438Z"/>', "SortIcon"),
        Ga = Object.defineProperty,
        Za = Object.getOwnPropertySymbols,
        Xa = Object.prototype.hasOwnProperty,
        $a = Object.prototype.propertyIsEnumerable,
        Qa = function (e, t, n) {
          return t in e ? Ga(e, t, {
            enumerable: !0,
            configurable: !0,
            writable: !0,
            value: n
          }) : e[t] = n
        },
        er = function (e) {
          var t = e || {},
            n = t.className,
            o = t.icon,
            a = function (e, t) {
              var n = {};
              for (var o in e) Xa.call(e, o) && t.indexOf(o) < 0 && (n[o] = e[o]);
              if (null != e && Za) {
                var a, r = v(Za(e));
                try {
                  for (r.s(); !(a = r.n()).done;) {
                    o = a.value;
                    t.indexOf(o) < 0 && $a.call(e, o) && (n[o] = e[o])
                  }
                } catch (e) {
                  r.e(e)
                } finally {
                  r.f()
                }
              }
              return n
            }(t, ["className", "icon"]),
            r = (0, k.useContext)(zn),
            l = r.onClickHeadPopup,
            i = r.fetchParams,
            c = r.sortType,
            u = r.alreadySort,
            d = r.getAutoLogData,
            s = "10" === (null == i ? void 0 : i.sort);
          return k.createElement("div", function (e, t) {
            for (var n in t || (t = {})) Xa.call(t, n) && Qa(e, n, t[n]);
            if (Za) {
              var o, a = v(Za(t));
              try {
                for (a.s(); !(o = a.n()).done;) {
                  n = o.value;
                  $a.call(t, n) && Qa(e, n, t[n])
                }
              } catch (e) {
                a.e(e)
              } finally {
                a.f()
              }
            }
            return e
          }({
            "data-log": null == d ? void 0 : d({
              spmC: "filter",
              spmD: "dsort"
            }),
            className: (0, B.A)("filter-header-item  filter-sort-log", n, (!s || u) && (null == i ? void 0 : i.sort) && "selected"),
            onClick: function () {
              return l(en)
            }
          }, a), function () {
            var e, t;
            if (null == i ? void 0 : i.sort) {
              var n = null == c ? void 0 : c.filter((function (e) {
                return (null == e ? void 0 : e.value) === (null == i ? void 0 : i.sort)
              }));
              return (null == (e = null == n ? void 0 : n[0]) ? void 0 : e.name) ? null == (t = null == n ? void 0 : n[0]) ? void 0 : t.name : "推荐排序"
            }
            return "推荐排序"
          }(), k.createElement("div", {
            className: "filter-header-item-icon filter-header-item-icon-recommend"
          }, k.createElement("span", {
            className: (0, B.A)("caretup-filled"),
            style: {
              height: "16px"
            }
          }, o || k.createElement(Ja, {
            className: (0, B.A)("sort-icon"),
            htmlColor: s && !u || !(null == i ? void 0 : i.sort) ? "#5F6672" : "#ff2869"
          }))))
        },
        tr = Object.defineProperty,
        nr = Object.defineProperties,
        or = Object.getOwnPropertyDescriptors,
        ar = Object.getOwnPropertySymbols,
        rr = Object.prototype.hasOwnProperty,
        lr = Object.prototype.propertyIsEnumerable,
        ir = function (e, t, n) {
          return t in e ? tr(e, t, {
            enumerable: !0,
            configurable: !0,
            writable: !0,
            value: n
          }) : e[t] = n
        },
        cr = function (e, t) {
          for (var n in t || (t = {})) rr.call(t, n) && ir(e, n, t[n]);
          if (ar) {
            var o, a = v(ar(t));
            try {
              for (a.s(); !(o = a.n()).done;) {
                n = o.value;
                lr.call(t, n) && ir(e, n, t[n])
              }
            } catch (e) {
              a.e(e)
            } finally {
              a.f()
            }
          }
          return e
        },
        ur = function (e, t) {
          return nr(e, or(t))
        },
        dr = (0, X.jZ)(),
        sr = function () {
          var e, t, o, a, r, l, i, c, u, d, s, v, m = (0, k.useContext)(be),
            f = m.activeTab,
            p = m.categories,
            g = m.dmCategoryProps,
            h = (void 0 === g ? {} : g).filterPanelCms,
            y = void 0 === h ? {} : h,
            b = m.FilterPanelProps,
            C = void 0 === b ? {} : b,
            I = C.logConfig,
            E = void 0 === I ? {} : I,
            N = C.onFilterFetchData,
            O = void 0 === N ? function (e, t) {} : N,
            P = C.city,
            S = void 0 === P ? {} : P,
            A = C.onCitySelectClick,
            x = void 0 === A ? function (e, t) {} : A,
            j = C.setShowFilterPopup,
            L = void 0 === j ? null : j,
            R = C.globalCity,
            _ = void 0 === R ? {} : R,
            B = m.setScrollToView,
            F = m.setPartLoading,
            M = m.marginTop,
            z = m.getPosition,
            U = m.context,
            V = m.queryParams,
            W = m.filterRef,
            Y = void 0 === W ? null : W,
            H = (0, k.useState)(),
            q = n(H, 2),
            K = q[0],
            J = q[1],
            G = null == p ? void 0 : p[f],
            Z = "category_tourism_performance" === (null == G ? void 0 : G.patternName),
            X = (null == (e = null == y ? void 0 : y.nodes[0]) ? void 0 : e.data) || {},
            $ = X.primary || {},
            Q = $.city,
            ee = $.artisteFilter,
            te = $.cityCircle,
            ne = U.event,
            oe = E.timeRangeLog,
            ae = E.typeLog,
            re = E.sortLog,
            le = E.filterLog,
            ie = E.timeSelectLog,
            ce = E.artisteLog,
            ue = E.artistePopLog;
          try {
            var de = JSON.parse(null == G ? void 0 : G.args) || {};
            v = de.groupId || de.categoryId
          } catch (e) {}
          return (0, k.useEffect)((function () {
            "true" === ee && (0, D.z8)({
              context: T.A,
              queryParams: {
                groupId: v,
                comboChannel: null == V ? void 0 : V.comboChannel,
                dmChannel: null == V ? void 0 : V.dmChannel
              }
            }).then((function (e) {
              J(e)
            }))
          }), [ee]), k.createElement(k.Fragment, null, !dr && k.createElement("div", {
            className: (0, w.A)("cms-dm-filter-panel-title", {
              "traveltab-filter-panel-title": Z
            })
          }, null == (t = null == y ? void 0 : y.data) ? void 0 : t.title), k.createElement("div", {
            className: "cms-dm-filter-panel-sticky-top",
            id: "cms-dm-filter-panel",
            style: {
              height: M,
              marginTop: "-".concat(M)
            }
          }), k.createElement(Ca, {
            ref: Y,
            className: (0, w.A)("cms-dm-filter-panel", {
              "traveltab-panel": Z
            }),
            style: {
              top: M
            },
            isGetStorage: !1,
            showSubCategory: !0,
            showHeader: !0,
            scrollToTop: function () {
              B(""), setTimeout((function () {
                B("cms-dm-filter-panel")
              }))
            },
            setShowFilterPopup: L,
            disableWindowScrollTo: !0,
            onFilterFetchData: function (e) {
              e.categoryId && delete e.categoryId, O(e, y), setTimeout((function () {
                F(!0)
              }), 10)
            },
            logConfig: {
              filterLog: le,
              sortLog: re,
              typeLog: ae,
              timeSelectLog: ie,
              artisteLog: ce,
              artistePopLog: ue
            },
            trackInfo: X.parsedTrackInfo,
            defaultParams: {
              hot: [],
              category: [null == (r = null == (a = null == (o = null == X ? void 0 : X.primary) ? void 0 : o.guideCategory) ? void 0 : a[0]) ? void 0 : r.value],
              firstLevelSelection: [null == (c = null == (i = null == (l = null == X ? void 0 : X.primary) ? void 0 : l.guideCategory) ? void 0 : i[0]) ? void 0 : c.value],
              secondLevelSelection: [],
              calendar: [],
              calendarSlider: "",
              sort: "10",
              rightFilter: {
                price: [],
                service: []
              },
              cityCode: "",
              comboDispatchId: "",
              itemId: "",
              dateType: "0",
              artisteId: "-1"
            },
            event: ne,
            data: {
              secondary: null == X ? void 0 : X.secondary,
              primary: ur(cr({}, null == X ? void 0 : X.primary), {
                category: null == (u = null == X ? void 0 : X.primary) ? void 0 : u.guideCategory
              }),
              artiste: K,
              groupId: v
            },
            getPosition: z,
            globalCity: _
          }, k.createElement("div", {
            className: "cms-dm-filter-panel-left"
          }, !dr && Z && k.createElement("span", {
            className: "traveltab-panel-title"
          }, null == (d = null == y ? void 0 : y.data) ? void 0 : d.title), !Z && k.createElement(Oa, {
            className: "".concat(oe),
            event: ne
          }), "true" === Q && !Z && k.createElement(Da, {
            city: S,
            onClickSelect: function (e) {
              x(e, y)
            }
          }), "true" === ee && k.createElement(ja, {
            artiste: K,
            logConfig: E,
            event: ne
          }), Boolean(null == te ? void 0 : te.length) && k.createElement(La, {
            logConfig: E,
            trackInfo: null == (s = X.parsedTrackInfo) ? void 0 : s.economiczone
          }), !Z && k.createElement(za, null), !Z && k.createElement(Ka, null)), k.createElement(er, {
            className: (0, w.A)({
              "traveltab-recommend": Z
            })
          })))
        },
        vr = p(4545),
        mr = (0, K.A)('<path d="M48 8c22.1 0 40 17.9 40 40S70.1 88 48 88 8 70.1 8 48 25.9 8 48 8zm0 6c-18.8 0-34 15.2-34 34s15.2 34 34 34 34-15.2 34-34-15.2-34-34-34zm-7.7 17c.6 0 1.2.2 1.7.5l23.4 13.8c1.6.9 2.1 2.9 1.1 4.5-.3.5-.7.8-1.1 1.1L42 64.5c-1.6.9-3.6.4-4.5-1.1-.3-.5-.5-1.1-.5-1.7V34.2c0-1.7 1.5-3.2 3.3-3.2z"/>', "PlayCircleOutlinedIcon"),
        fr = function (e) {
          return e.PROJECT = "1", e.DISCOVER = "2", e
        }(fr || {}),
        pr = Object.defineProperty,
        gr = Object.getOwnPropertySymbols,
        hr = Object.prototype.hasOwnProperty,
        yr = Object.prototype.propertyIsEnumerable,
        br = function (e, t, n) {
          return t in e ? pr(e, t, {
            enumerable: !0,
            configurable: !0,
            writable: !0,
            value: n
          }) : e[t] = n
        },
        Cr = "bui-dm-music-artist",
        kr = (0, k.memo)((0, k.forwardRef)((function (e, t) {
          var o = e,
            a = o.context,
            r = o.list,
            l = void 0 === r ? [] : r,
            i = o.onClickArtist,
            c = void 0 === i ? function () {} : i,
            u = o.onClickShow,
            d = void 0 === u ? function () {} : u,
            m = o.className,
            f = o.logConfig,
            p = void 0 === f ? {} : f,
            g = o.useBackgroundImage,
            h = void 0 !== g && g,
            y = function (e, t) {
              var n = {};
              for (var o in e) hr.call(e, o) && t.indexOf(o) < 0 && (n[o] = e[o]);
              if (null != e && gr) {
                var a, r = v(gr(e));
                try {
                  for (r.s(); !(a = r.n()).done;) {
                    o = a.value;
                    t.indexOf(o) < 0 && yr.call(e, o) && (n[o] = e[o])
                  }
                } catch (e) {
                  r.e(e)
                } finally {
                  r.f()
                }
              }
              return n
            }(o, ["context", "list", "onClickArtist", "onClickShow", "className", "logConfig", "useBackgroundImage"]),
            b = (a || {}).event,
            C = (0, k.useState)("0"),
            w = n(C, 2),
            I = w[0],
            E = w[1],
            N = (0, k.useMemo)((function () {
              return l.map((function (e, t) {
                var n = e.topArtist || {};
                return {
                  title: k.createElement("div", {
                    className: (0, B.A)("".concat(Cr, "-tab-item"), p.artist, "".concat(p.artist, "-").concat(n.artistId))
                  }, k.createElement("div", {
                    className: "".concat(Cr, "-tab-item-avatar-box")
                  }, (0, De.p)({
                    className: "".concat(Cr, "-tab-item-avatar"),
                    src: (0, ce.zp)({
                      url: n.headPic || "",
                      width: 200,
                      ignorePng: !0
                    }),
                    fit: "cover",
                    lazy: !0,
                    useImage: !h || t >= 6
                  }), n.tag && k.createElement("div", {
                    className: "".concat(Cr, "-tab-item-tag")
                  }, n.tag)), n.name && k.createElement("div", {
                    className: "".concat(Cr, "-tab-item-name")
                  }, n.name)),
                  index: String(t)
                }
              }))
            }), l),
            O = function (e, t) {
              var n = e || {},
                o = n.type,
                a = n.projectPic,
                r = n.cityName,
                l = n.title,
                i = n.priceLow,
                c = n.videoUrl,
                u = n.videoTime,
                d = null;
              switch (String(o)) {
                case fr.PROJECT:
                  d = k.createElement("div", {
                    className: "".concat(Cr, "-tabpanel-item-project")
                  }, k.createElement("div", {
                    className: "".concat(Cr, "-tabpanel-item-project-top")
                  }, (0, De.p)({
                    className: "".concat(Cr, "-tabpanel-item-project-poster"),
                    src: (0, ce.zp)((0, ce.zp)({
                      url: a || "",
                      width: 400,
                      ignorePng: !0
                    })),
                    fit: "cover",
                    lazy: !0,
                    useImage: !h || t >= 3
                  }), r && k.createElement(Qn.A, {
                    className: "".concat(Cr, "-tabpanel-item-project-citytag"),
                    variant: "contained"
                  }, r)), l && k.createElement("div", {
                    className: "".concat(Cr, "-tabpanel-item-project-name")
                  }, l), function (e) {
                    return Number(e) || "0" === String(e) ? k.createElement("div", {
                      className: "".concat(Cr, "-tabpanel-item-project-price")
                    }, k.createElement("span", null, "¥", k.createElement("b", null, e)), "起") : k.createElement("div", {
                      className: "".concat(Cr, "-tabpanel-item-project-price")
                    }, k.createElement("span", null, e || "价格待定"))
                  }(i));
                  break;
                case fr.DISCOVER:
                  d = k.createElement("div", {
                    className: "".concat(Cr, "-tabpanel-item-discover")
                  }, k.createElement("div", {
                    className: "".concat(Cr, "-tabpanel-item-discover-top")
                  }, (0, De.p)({
                    className: "".concat(Cr, "-tabpanel-item-discover-poster"),
                    src: (0, ce.zp)({
                      url: a || "",
                      width: 400,
                      ignorePng: !0
                    }),
                    fit: "cover",
                    lazy: !0,
                    useImage: !h || t >= 3
                  }), c && k.createElement(mr, {
                    className: "".concat(Cr, "-tabpanel-item-discover-videoicon"),
                    htmlColor: "#fff"
                  }), u && k.createElement(Qn.A, {
                    className: "".concat(Cr, "-tabpanel-item-discover-videotime"),
                    variant: "contained"
                  }, u)), l && k.createElement("div", {
                    className: "".concat(Cr, "-tabpanel-item-discover-name")
                  }, l));
                  break;
                default:
                  d = l ? k.createElement("div", {
                    className: "".concat(Cr, "-tabpanel-item-watchother")
                  }, l, k.createElement(Te.A, {
                    htmlColor: "#959aa5"
                  })) : null
              }
              return d
            };
          return l.length ? k.createElement(xe.A, function (e, t) {
            for (var n in t || (t = {})) hr.call(t, n) && br(e, n, t[n]);
            if (gr) {
              var o, a = v(gr(t));
              try {
                for (a.s(); !(o = a.n()).done;) {
                  n = o.value;
                  yr.call(t, n) && br(e, n, t[n])
                }
              } catch (e) {
                a.e(e)
              } finally {
                a.f()
              }
            }
            return e
          }({
            className: (0, B.A)(Cr, m),
            ref: t
          }, y), k.createElement(R.A, {
            className: "".concat(Cr, "-tabs"),
            tabs: N,
            value: I,
            onChange: function (e, t) {
              var n = t.index;
              E((function (t) {
                var o;
                return null == b || b.emit("musicArtistTabChange", {
                  active: String(n)
                }), c(e, null == (o = null == l ? void 0 : l[n]) ? void 0 : o.topArtist, n, t), String(n)
              }))
            }
          }), k.createElement(vr.A, {
            className: "".concat(Cr, "-divider"),
            direction: "horizontal"
          }), l.map((function (e, t) {
            var n = e.bottomProjects || [];
            return k.createElement(j.A, {
              className: "".concat(Cr, "-tabpanel-item"),
              value: I,
              index: String(t),
              key: t
            }, n.map((function (e, t) {
              var n = !e.type || ![fr.PROJECT, fr.DISCOVER].includes(String(e.type));
              return k.createElement("div", {
                className: (0, B.A)("".concat(Cr, "-tabpanel-item-container"), s(s({}, p.show, !n), p.more, p.more && n), "".concat(p.show, "-").concat(n ? "more" : e.id, "-").concat(t)),
                key: t,
                onClick: function (n) {
                  return d(n, e, t)
                }
              }, O(e, t))
            })))
          }))) : null
        })));
      kr.displayName = "BuiDmMusicArtist";
      var wr = kr,
        Ir = function () {
          var e, t = (0, k.useContext)(be),
            n = t.dmCategoryProps,
            o = (void 0 === n ? {} : n).musicArtistCms,
            a = void 0 === o ? {} : o,
            r = t.musicArtistProps,
            l = void 0 === r ? {} : r,
            i = l.onClickArtist,
            c = void 0 === i ? function () {} : i,
            u = l.onClickShow,
            d = void 0 === u ? function () {} : u,
            s = l.onClickTitleBar,
            v = void 0 === s ? function () {} : s,
            m = l.logConfig,
            f = void 0 === m ? {} : m,
            p = t.context,
            g = a.data || {},
            h = g.title,
            y = g.keywords,
            b = (null == y ? void 0 : y[0]) || {},
            C = b.text,
            w = b.action,
            I = (void 0 === w ? {} : w).actionUrl,
            E = void 0 === I ? "" : I,
            N = null == (e = a.nodes) ? void 0 : e.map((function (e) {
              var t;
              return {
                topArtist: e.data,
                bottomProjects: null == (t = e.nodes) ? void 0 : t.map((function (e) {
                  return e.data
                }))
              }
            }));
          return k.createElement(k.Fragment, null, k.createElement(Ve, {
            data: a.data,
            title: h,
            btnText: C,
            url: E,
            onClick: v
          }), k.createElement(wr, {
            list: N,
            context: p,
            logConfig: f,
            onClickArtist: c,
            onClickShow: d,
            useBackgroundImage: !0
          }))
        },
        Er = Object.defineProperty,
        Nr = Object.getOwnPropertySymbols,
        Or = Object.prototype.hasOwnProperty,
        Pr = Object.prototype.propertyIsEnumerable,
        Sr = function (e, t, n) {
          return t in e ? Er(e, t, {
            enumerable: !0,
            configurable: !0,
            writable: !0,
            value: n
          }) : e[t] = n
        },
        Ar = "bui-dm-music-festival-brand",
        xr = [{
          fontLinear: "-webkit-linear-gradient(right, #ff45bd, #d34bff)",
          bgPic: "//gw.alicdn.com/imgextra/i2/O1CN01HWZeki1Zc3oqYmSfb_!!6000000003214-0-tps-624-663.jpg",
          arrowColor: "#ff45bd",
          infoColor: "#ff45bd"
        }, {
          fontLinear: "-webkit-linear-gradient(right, #a045ff, #3bb2ff)",
          bgPic: "//gw.alicdn.com/imgextra/i4/O1CN01J6pVcA1XcrHGHrqTE_!!6000000002945-0-tps-624-663.jpg",
          arrowColor: "#a045ff",
          infoColor: "#a045ff"
        }, {
          fontLinear: "-webkit-linear-gradient(right, #ffa44b, #ff6b6b)",
          bgPic: "//gw.alicdn.com/imgextra/i4/O1CN010rlXDU1l0IYQrSGwJ_!!6000000004756-0-tps-624-663.jpg",
          arrowColor: "#ffa44b",
          infoColor: "#ffa44b"
        }, {
          fontLinear: "-webkit-linear-gradient(right, #23c8ef, #25e4a1)",
          bgPic: "//gw.alicdn.com/imgextra/i1/O1CN01cHzYd325JLL9RaPbn_!!6000000007505-0-tps-624-663.jpg",
          arrowColor: "#23c8ef",
          infoColor: "#23c8ef"
        }],
        Tr = (0, k.memo)((0, k.forwardRef)((function (e, t) {
          var n = e,
            o = n.list,
            a = void 0 === o ? [] : o,
            r = n.onClickMusicFestivalBrand,
            l = void 0 === r ? function () {} : r,
            i = n.onClickShow,
            c = void 0 === i ? function () {} : i,
            u = n.className,
            d = n.logConfig,
            s = void 0 === d ? {} : d,
            m = n.useBackgroundImage,
            f = void 0 !== m && m,
            p = function (e, t) {
              var n = {};
              for (var o in e) Or.call(e, o) && t.indexOf(o) < 0 && (n[o] = e[o]);
              if (null != e && Nr) {
                var a, r = v(Nr(e));
                try {
                  for (r.s(); !(a = r.n()).done;) {
                    o = a.value;
                    t.indexOf(o) < 0 && Pr.call(e, o) && (n[o] = e[o])
                  }
                } catch (e) {
                  r.e(e)
                } finally {
                  r.f()
                }
              }
              return n
            }(n, ["list", "onClickMusicFestivalBrand", "onClickShow", "className", "logConfig", "useBackgroundImage"]),
            g = function (e, t) {
              var n;
              switch ((e || {}).cardType) {
                case "item":
                  var o = e.tourInfo || {};
                  n = k.createElement("div", {
                    className: "".concat(Ar, "-item-bottom-show"),
                    onClick: function (n) {
                      return c(n, e, t)
                    }
                  }, k.createElement("div", {
                    className: "".concat(Ar, "-item-bottom-show-top")
                  }, (0, De.p)({
                    className: "".concat(Ar, "-item-bottom-show-poster"),
                    src: (0, ce.zp)({
                      url: o.tourPic || "",
                      width: 400,
                      ignorePng: !1
                    }),
                    fit: "cover",
                    lazy: !0,
                    useImage: !f || t >= 2
                  }), k.createElement("div", {
                    className: "".concat(Ar, "-item-bottom-show-info")
                  }, o.tourName && k.createElement("div", {
                    className: "".concat(Ar, "-item-bottom-show-info-title")
                  }, o.tourName), o.tourCitiesDesc && k.createElement("div", {
                    className: "".concat(Ar, "-item-bottom-show-info-city")
                  }, o.tourCitiesDesc), function (e) {
                    return Number(e) || e + "" == "0" ? k.createElement("div", {
                      className: "".concat(Ar, "-item-bottom-show-info-price")
                    }, k.createElement("span", null, "¥", k.createElement("b", null, e)), "起") : k.createElement("div", {
                      className: "".concat(Ar, "-item-bottom-show-info-price")
                    }, k.createElement("span", {
                      className: "".concat(Ar, "-item-bottom-show-info-price-text")
                    }, e || "价格待定"))
                  }((null == o ? void 0 : o.priceCustom) || (null == o ? void 0 : o.tourPriceLow)))), k.createElement("div", {
                    className: "".concat(Ar, "-item-bottom-show-artist")
                  }, o.title && k.createElement("span", {
                    className: "".concat(Ar, "-item-bottom-show-artist-title")
                  }, o.title), o.content));
                  break;
                case "content":
                  var a = e.contents || [];
                  n = k.createElement("div", {
                    className: "".concat(Ar, "-item-bottom-content"),
                    onClick: function (n) {
                      return c(n, e, t)
                    }
                  }, a.map((function (e, n) {
                    return k.createElement("div", {
                      className: "".concat(Ar, "-item-bottom-content-card"),
                      key: n
                    }, (0, De.p)({
                      className: "".concat(Ar, "-item-bottom-content-card-poster"),
                      src: e.imgUrl,
                      fit: "cover",
                      lazy: !0,
                      useImage: !f || t >= 2
                    }), k.createElement("div", {
                      className: "".concat(Ar, "-item-bottom-content-card-title")
                    }, e.title))
                  })));
                  break;
                default:
                  n = null
              }
              return n
            };
          return a.length ? k.createElement("div", function (e, t) {
            for (var n in t || (t = {})) Or.call(t, n) && Sr(e, n, t[n]);
            if (Nr) {
              var o, a = v(Nr(t));
              try {
                for (a.s(); !(o = a.n()).done;) {
                  n = o.value;
                  Pr.call(t, n) && Sr(e, n, t[n])
                }
              } catch (e) {
                a.e(e)
              } finally {
                a.f()
              }
            }
            return e
          }({
            className: (0, B.A)(Ar, u)
          }, p), a.map((function (e, t) {
            return k.createElement(xe.A, {
              className: (0, B.A)("".concat(Ar, "-item"), s.item, "".concat(s.item, "-").concat(e.ipId)),
              key: t,
              style: {
                backgroundImage: "url(".concat((0, ce.zp)({
                  url: xr[t % 4].bgPic || "",
                  width: 600
                }), "\n                  )")
              }
            }, k.createElement("div", {
              className: "".concat(Ar, "-item-top"),
              onClick: function (n) {
                return l(n, e, t)
              }
            }, k.createElement("div", {
              className: "".concat(Ar, "-item-top-left")
            }, e.ipName && k.createElement("div", {
              className: "".concat(Ar, "-item-top-name")
            }, e.ipName && k.createElement("div", {
              className: (0, B.A)("".concat(Ar, "-item-top-name-text"), "text-linear"),
              style: {
                backgroundImage: xr[t % 4].fontLinear
              }
            }, e.ipName), e.showArrow && k.createElement(Te.A, {
              className: "".concat(Ar, "-item-top-arrow"),
              htmlColor: xr[t % 4].arrowColor
            })), e.ipBaseDesc && k.createElement("div", {
              className: "".concat(Ar, "-item-top-info"),
              style: {
                color: xr[t % 4].infoColor
              }
            }, e.ipBaseDesc)), k.createElement("div", {
              className: "".concat(Ar, "-item-top-right")
            }, (0, De.p)({
              className: "".concat(Ar, "-item-top-avatar"),
              src: (0, ce.zp)({
                url: e.musicIpIcon || "",
                width: 200,
                ignorePng: !1
              }),
              fit: "cover",
              lazy: !0,
              useImage: !f || t >= 2
            }), "true" === String(e.showVipTag) && (0, De.p)({
              className: "".concat(Ar, "-item-top-vip-tag"),
              src: (0, ce.zp)({
                url: "//gw.alicdn.com/imgextra/i4/O1CN01uP1K4i271bE6mdGua_!!6000000007737-2-tps-36-36.png",
                width: 100,
                ignorePng: !0
              }),
              fit: "cover",
              lazy: !0,
              useImage: !f
            }))), k.createElement(vr.A, {
              className: "".concat(Ar, "-item-divider"),
              direction: "horizontal"
            }), g(e, t))
          }))) : null
        })));
      Tr.displayName = "BuiDmMusicFestivalBrand";
      var Dr = Tr,
        jr = Object.defineProperty,
        Lr = Object.defineProperties,
        Rr = Object.getOwnPropertyDescriptors,
        _r = Object.getOwnPropertySymbols,
        Br = Object.prototype.hasOwnProperty,
        Fr = Object.prototype.propertyIsEnumerable,
        Mr = function (e, t, n) {
          return t in e ? jr(e, t, {
            enumerable: !0,
            configurable: !0,
            writable: !0,
            value: n
          }) : e[t] = n
        },
        zr = {
          9027: "item",
          9028: "content"
        },
        Ur = function () {
          var e = (0, k.useContext)(be),
            t = e.dmCategoryProps,
            n = (void 0 === t ? {} : t).musicFestivalBrandCms,
            o = void 0 === n ? {} : n,
            a = e.musicFestivalBrandProps,
            r = void 0 === a ? {} : a,
            l = r.onClickMusicFestivalBrand,
            i = void 0 === l ? function () {} : l,
            c = r.onClickShow,
            u = void 0 === c ? function () {} : c,
            d = r.onClickTitleBar,
            s = void 0 === d ? function () {} : d,
            m = r.logConfig,
            f = void 0 === m ? {} : m,
            p = o.data || {},
            g = p.title,
            h = p.keywords,
            y = (null == h ? void 0 : h[0]) || {},
            b = y.text,
            C = y.action,
            w = (void 0 === C ? {} : C).actionUrl,
            I = void 0 === w ? "" : w,
            E = (0, k.useMemo)((function () {
              return (o.nodes || []).map((function (e) {
                var t, n, o;
                return function (e, t) {
                  return Lr(e, Rr(t))
                }(function (e, t) {
                  for (var n in t || (t = {})) Br.call(t, n) && Mr(e, n, t[n]);
                  if (_r) {
                    var o, a = v(_r(t));
                    try {
                      for (a.s(); !(o = a.n()).done;) {
                        n = o.value;
                        Fr.call(t, n) && Mr(e, n, t[n])
                      }
                    } catch (e) {
                      a.e(e)
                    } finally {
                      a.f()
                    }
                  }
                  return e
                }({}, e.data), {
                  showArrow: !!(null == (o = null == (n = null == (t = e.data) ? void 0 : t.parsedTrackInfo) ? void 0 : n.item) ? void 0 : o.actionUrl),
                  cardType: zr[e.type] || "item"
                })
              }))
            }), [o]);
          return k.createElement(k.Fragment, null, k.createElement(Ve, {
            data: o.data,
            title: g,
            btnText: b,
            url: I,
            onClick: s
          }), k.createElement(Dr, {
            list: E,
            logConfig: f,
            onClickMusicFestivalBrand: i,
            onClickShow: u,
            useBackgroundImage: !0
          }))
        },
        Vr = function (e) {
          return e[e.diamond = 1] = "diamond", e[e.vip = 2] = "vip", e[e.ordinary = 3] = "ordinary", e[e.activity = 4] = "activity", e
        }(Vr || {}),
        Wr = function (e) {
          return e[e.ordinary = 1] = "ordinary", e[e.member = 2] = "member", e
        }(Wr || {}),
        Yr = ["3", "4", "7"],
        Hr = p(3498),
        qr = Object.defineProperty,
        Kr = Object.getOwnPropertySymbols,
        Jr = Object.prototype.hasOwnProperty,
        Gr = Object.prototype.propertyIsEnumerable,
        Zr = function (e, t, n) {
          return t in e ? qr(e, t, {
            enumerable: !0,
            configurable: !0,
            writable: !0,
            value: n
          }) : e[t] = n
        },
        Xr = "bui-dm-reward-card",
        $r = k.forwardRef((function (e, t) {
          var n = e,
            o = n.title,
            a = n.subTitle,
            r = n.buttonText,
            l = n.imgUrl,
            i = n.score,
            c = n.buttonStatus,
            u = n.skinStyle,
            d = n.price,
            m = n.onClick,
            f = n.onExchange,
            p = n.className,
            g = n.useBackgroundImage,
            h = void 0 !== g && g,
            y = n.index,
            b = function (e, t) {
              var n = {};
              for (var o in e) Jr.call(e, o) && t.indexOf(o) < 0 && (n[o] = e[o]);
              if (null != e && Kr) {
                var a, r = v(Kr(e));
                try {
                  for (r.s(); !(a = r.n()).done;) {
                    o = a.value;
                    t.indexOf(o) < 0 && Gr.call(e, o) && (n[o] = e[o])
                  }
                } catch (e) {
                  r.e(e)
                } finally {
                  r.f()
                }
              }
              return n
            }(n, ["title", "subTitle", "buttonText", "imgUrl", "score", "buttonStatus", "skinStyle", "price", "onClick", "onExchange", "className", "useBackgroundImage", "index"]);
          return k.createElement("div", function (e, t) {
            for (var n in t || (t = {})) Jr.call(t, n) && Zr(e, n, t[n]);
            if (Kr) {
              var o, a = v(Kr(t));
              try {
                for (a.s(); !(o = a.n()).done;) {
                  n = o.value;
                  Gr.call(t, n) && Zr(e, n, t[n])
                }
              } catch (e) {
                a.e(e)
              } finally {
                a.f()
              }
            }
            return e
          }({
            className: (0, B.A)(Xr, p, s({}, "".concat(Xr, "-").concat(Vr[u]), u)),
            onClick: m,
            ref: t
          }, b), k.createElement(xe.A, {
            className: "".concat(Xr, "-container")
          }, k.createElement(xe.A, {
            className: "".concat(Xr, "-content")
          }, k.createElement("div", {
            className: "bui-card-header"
          }, k.createElement("div", {
            className: "bui-card-header-title"
          }, o), k.createElement("div", {
            className: "bui-card-header-subtitle"
          }, a)), k.createElement("div", {
            className: "".concat(Xr, "-action")
          }, r && k.createElement(Xe.A, {
            onClick: f,
            size: "small",
            disabled: Yr.indexOf(c) > -1,
            variant: "contained"
          }, k.createElement("div", null, r)), ("0" === i || !!Number(i)) && k.createElement("div", {
            className: "".concat(Xr, "-score")
          }, k.createElement("div", {
            className: "".concat(Xr, "-score-icon")
          }), k.createElement("div", {
            className: "".concat(Xr, "-score-desc")
          }, i)))), l && k.createElement(Hr.A, {
            className: "".concat(Xr, "-footer")
          }, (0, De.p)({
            className: "".concat(Xr, "-img"),
            src: (0, ce.zp)({
              url: l
            }),
            fit: "contain",
            lazy: !0,
            useImage: !h || y >= 2
          }), d && k.createElement("div", {
            className: "".concat(Xr, "-price")
          }, "¥", k.createElement("b", null, d)))))
        }));
      $r.displayName = "DmRewardCard";
      var Qr = $r,
        el = p(5598),
        tl = p(3903),
        nl = Object.defineProperty,
        ol = Object.getOwnPropertySymbols,
        al = Object.prototype.hasOwnProperty,
        rl = Object.prototype.propertyIsEnumerable,
        ll = function (e, t, n) {
          return t in e ? nl(e, t, {
            enumerable: !0,
            configurable: !0,
            writable: !0,
            value: n
          }) : e[t] = n
        },
        il = k.forwardRef((function (e, t) {
          var n = e,
            o = n.title,
            a = n.subTitle,
            r = n.buttonText,
            l = n.imgUrl,
            i = n.score,
            c = n.buttonStatus,
            u = n.skinStyle,
            d = n.price,
            m = n.onClick,
            f = n.onExchange,
            p = n.className,
            g = n.useBackgroundImage,
            h = void 0 !== g && g,
            y = function (e, t) {
              var n = {};
              for (var o in e) al.call(e, o) && t.indexOf(o) < 0 && (n[o] = e[o]);
              if (null != e && ol) {
                var a, r = v(ol(e));
                try {
                  for (r.s(); !(a = r.n()).done;) {
                    o = a.value;
                    t.indexOf(o) < 0 && rl.call(e, o) && (n[o] = e[o])
                  }
                } catch (e) {
                  r.e(e)
                } finally {
                  r.f()
                }
              }
              return n
            }(n, ["title", "subTitle", "buttonText", "imgUrl", "score", "buttonStatus", "skinStyle", "price", "onClick", "onExchange", "className", "useBackgroundImage"]);
          return k.createElement(xe.A, function (e, t) {
            for (var n in t || (t = {})) al.call(t, n) && ll(e, n, t[n]);
            if (ol) {
              var o, a = v(ol(t));
              try {
                for (a.s(); !(o = a.n()).done;) {
                  n = o.value;
                  rl.call(t, n) && ll(e, n, t[n])
                }
              } catch (e) {
                a.e(e)
              } finally {
                a.f()
              }
            }
            return e
          }({
            className: (0, B.A)("bui-dm-one-reward-card", p, s({}, "bui-dm-one-reward-card-".concat(Vr[u]), u)),
            onClick: m,
            ref: t
          }, y), k.createElement(el.A, null, k.createElement("div", {
            className: "bui-dm-one-reward-card-poster"
          }, l && (0, De.p)({
            className: "bui-dm-one-reward-card-img",
            src: (0, ce.zp)({
              url: l
            }),
            fit: "cover",
            lazy: !0,
            useImage: !h
          }), d && k.createElement("div", {
            className: "bui-dm-one-reward-card-price"
          }, "¥", k.createElement("b", null, d))), k.createElement(xe.A, {
            className: "bui-dm-one-reward-card-desc"
          }, k.createElement(tl.A, {
            title: o,
            subtitle: a
          }))), k.createElement(Hr.A, null, r && k.createElement(Xe.A, {
            onClick: f,
            disabled: Yr.indexOf(c) > -1,
            variant: "contained"
          }, k.createElement("div", null, r)), ("0" === i || !!Number(i)) && k.createElement("div", {
            className: "bui-dm-one-reward-card-score"
          }, k.createElement("span", {
            className: "bui-dm-one-reward-card-score-img"
          }), k.createElement("span", {
            className: "bui-dm-one-reward-card-score-desc"
          }, i))))
        }));
      il.displayName = "DmOneRewardCard";
      var cl = il,
        ul = Object.defineProperty,
        dl = Object.defineProperties,
        sl = Object.getOwnPropertyDescriptors,
        vl = Object.getOwnPropertySymbols,
        ml = Object.prototype.hasOwnProperty,
        fl = Object.prototype.propertyIsEnumerable,
        pl = function (e, t, n) {
          return t in e ? ul(e, t, {
            enumerable: !0,
            configurable: !0,
            writable: !0,
            value: n
          }) : e[t] = n
        },
        gl = function (e, t) {
          for (var n in t || (t = {})) ml.call(t, n) && pl(e, n, t[n]);
          if (vl) {
            var o, a = v(vl(t));
            try {
              for (a.s(); !(o = a.n()).done;) {
                n = o.value;
                fl.call(t, n) && pl(e, n, t[n])
              }
            } catch (e) {
              a.e(e)
            } finally {
              a.f()
            }
          }
          return e
        },
        hl = function (e, t) {
          return dl(e, sl(t))
        },
        yl = ["7627", "7646"],
        bl = ["7647", "7625"],
        Cl = function () {
          var e = (0, k.useState)(0),
            t = n(e, 2),
            o = t[0],
            a = t[1],
            r = (0, k.useContext)(be),
            l = r.dmCategoryProps.rewardCardCms,
            i = void 0 === l ? {} : l,
            c = r.RewardCardProps,
            u = void 0 === c ? {} : c,
            d = u.logConfig,
            v = void 0 === d ? {} : d,
            m = u.onOneRewardCardClick,
            f = void 0 === m ? function () {} : m,
            p = u.onRewardCardClick,
            g = void 0 === p ? function () {} : p,
            h = u.onOneRewardCardExchange,
            y = void 0 === h ? function () {} : h,
            b = u.onRewardCardExchange,
            C = void 0 === b ? function () {} : b,
            I = r.activeTab,
            E = v || {},
            N = E.oneCardItemLog,
            O = E.moreCardItemLog,
            P = (0, k.useMemo)((function () {
              var e;
              return (null == (e = null == i ? void 0 : i.nodes) ? void 0 : e.filter((function (e) {
                var t, n = "member" !== Wr[null == (t = null == e ? void 0 : e.data) ? void 0 : t.buttonAction],
                  o = yl.concat(bl).includes(e.type);
                return n && o
              }))) || []
            }), [i]);
          return (0, k.useEffect)((function () {
            var e = (null == i ? void 0 : i.nodes) || [];
            if (e.length) {
              var t = e.length > 2;
              2 === e.length && (t = e.every((function (e) {
                return !bl.includes(e.type)
              }))), t && setTimeout((function () {
                a(yl.includes(e[0].type) ? 166 : 83)
              }), 300)
            }
          }), [i]), k.createElement("div", {
            className: "cms-dm-reward-card"
          }, !!P.length && k.createElement(L.A, {
            className: (0, w.A)("cms-dm-reward-card-wrapper", "tph"),
            scrollX: !0,
            scrollLeft: o,
            enableFlex: !0,
            enhanced: !0,
            scrollWithAnimation: !0,
            showScrollbar: !1
          }, P.map((function (e, t) {
            return bl.includes(null == e ? void 0 : e.type) ? k.createElement(Qr, hl(gl({
              className: (0, w.A)("category-reward", s(s({
                "category-reward-half": "7647" === e.type
              }, "".concat(O), O), "".concat(O, "_").concat(I, "_").concat(t), O)),
              key: t
            }, null == e ? void 0 : e.data), {
              onClick: function (n) {
                g(n, e, t)
              },
              onExchange: function (n) {
                C(n, e, t)
              },
              useBackgroundImage: !0,
              index: t
            })) : k.createElement(cl, hl(gl({
              className: (0, w.A)("category-reward", s(s({}, "".concat(N), N), "".concat(N, "_").concat(I, "_").concat(t), N)),
              key: t
            }, null == e ? void 0 : e.data), {
              onClick: function (n) {
                f(n, e, t)
              },
              onExchange: function (n) {
                y(n, e, t)
              },
              useBackgroundImage: !0
            }))
          }))))
        },
        kl = p(2614),
        wl = p(7266),
        Il = function (e) {
          return e[e.loadTip = 7589] = "loadTip", e[e.showList = 7588] = "showList", e
        }(Il || {}),
        El = function () {
          var e = (0, k.useContext)(be),
            t = e.dmCategoryProps,
            n = (void 0 === t ? {} : t).showCardCms,
            o = void 0 === n ? {} : n,
            a = e.ShowCardProps,
            r = void 0 === a ? {} : a,
            l = r.onShowCardClick,
            i = void 0 === l ? function () {} : l,
            c = r.ref,
            u = void 0 === c ? null : c,
            d = r.logConfig,
            v = void 0 === d ? {} : d,
            m = e.marginTop,
            f = e.referItemId,
            p = o.nodes,
            g = (v || {}).cardItemLog;
          return k.createElement("div", {
            className: "cms-dm-show-card",
            ref: u,
            style: {
              minHeight: "calc(100vh - ".concat(m, ")")
            }
          }, null == p ? void 0 : p.map((function (e, t) {
            var n, o, a = ((null == e ? void 0 : e.data) || {}).id;
            return "showList" === Il[null == e ? void 0 : e.type] ? null : "loadTip" === Il[null == e ? void 0 : e.type] ? k.createElement("div", {
              key: t,
              className: "cms-dm-show-card-nearby"
            }, k.createElement("div", {
              className: "cms-dm-show-card-nearby-load"
            }, null == (n = null == e ? void 0 : e.data) ? void 0 : n.loadTip), k.createElement("div", {
              className: "cms-dm-show-card-nearby-tip"
            }, null == (o = null == e ? void 0 : e.data) ? void 0 : o.nearByTip)) : k.createElement(kl.A, {
              className: (0, w.A)(s(s(s({}, "".concat(g), g), "".concat(g, "_").concat(a), g && a), "cms-dm-show-card-refer-project", f === a && 0 === t)),
              key: t,
              data: (0, wl.G)(null == e ? void 0 : e.data),
              useBackgroundImage: !0,
              index: t,
              onClick: function () {
                null == i || i(e, t)
              }
            })
          })), k.createElement("div", {
            className: "cms-dm-show-card-infinite"
          }, k.createElement((function (e) {
            return e.hasMore ? k.createElement("span", null, "加载中...") : ""
          }), {
            hasMore: "true" === (null == o ? void 0 : o.more)
          })))
        },
        Nl = Object.defineProperty,
        Ol = Object.defineProperties,
        Pl = Object.getOwnPropertyDescriptors,
        Sl = Object.getOwnPropertySymbols,
        Al = Object.prototype.hasOwnProperty,
        xl = Object.prototype.propertyIsEnumerable,
        Tl = function (e, t, n) {
          return t in e ? Nl(e, t, {
            enumerable: !0,
            configurable: !0,
            writable: !0,
            value: n
          }) : e[t] = n
        },
        Dl = function (e, t) {
          for (var n in t || (t = {})) Al.call(t, n) && Tl(e, n, t[n]);
          if (Sl) {
            var o, a = v(Sl(t));
            try {
              for (a.s(); !(o = a.n()).done;) {
                n = o.value;
                xl.call(t, n) && Tl(e, n, t[n])
              }
            } catch (e) {
              a.e(e)
            } finally {
              a.f()
            }
          }
          return e
        },
        jl = function (e, t) {
          return Ol(e, Pl(t))
        },
        Ll = function (e, t) {
          var n = {};
          for (var o in e) Al.call(e, o) && t.indexOf(o) < 0 && (n[o] = e[o]);
          if (null != e && Sl) {
            var a, r = v(Sl(e));
            try {
              for (r.s(); !(a = r.n()).done;) {
                o = a.value;
                t.indexOf(o) < 0 && xl.call(e, o) && (n[o] = e[o])
              }
            } catch (e) {
              r.e(e)
            } finally {
              r.f()
            }
          }
          return n
        },
        Rl = "bui-show-list",
        _l = function (t, o) {
          var a, r, l = t,
            i = l.children,
            c = l.className,
            u = l.style,
            d = l.lowHeight,
            s = void 0 !== d && d,
            v = l.soonHeight,
            m = l.useTheming,
            f = void 0 !== m && m,
            p = l.tabProps,
            g = l.headerProps,
            h = l.contentProps,
            y = l.context,
            b = l.currentIndex,
            C = Ll(l, ["children", "className", "style", "lowHeight", "soonHeight", "useTheming", "tabProps", "headerProps", "contentProps", "context", "currentIndex"]),
            w = (y || {}).event,
            I = p,
            E = I.defaultActiveIndex,
            N = I.onChange,
            O = I.tabList,
            P = I.className,
            S = Ll(I, ["defaultActiveIndex", "onChange", "tabList", "className"]),
            A = g || {},
            x = A.extra,
            T = A.endIcon,
            D = A.onClick,
            j = Ll(A, ["extra", "endIcon", "onClick"]),
            L = (0, k.useState)(E),
            F = n(L, 2),
            M = F[0],
            z = F[1];
          return k.createElement(Z.A, Dl({
            Component: xe.A,
            className: (0, B.A)(Rl, c, {
              "is-theming": f
            }),
            style: u,
            ref: o
          }, C), k.createElement(tl.A, jl(Dl({}, j), {
            className: "show-list-header",
            title: !!(null == (a = null == p ? void 0 : p.tabList) ? void 0 : a.length) && k.createElement(R.A, jl(Dl({
              className: (0, B.A)(P, "show-list-tabs", {
                "is-single": 1 === (null == (r = null == p ? void 0 : p.tabList) ? void 0 : r.length)
              })
            }, S), {
              value: M,
              onChange: function (t, n) {
                return function (e, t, n) {
                  return new Promise((function (o, a) {
                    var r = function (e) {
                        try {
                          i(n.next(e))
                        } catch (e) {
                          a(e)
                        }
                      },
                      l = function (e) {
                        try {
                          i(n.throw(e))
                        } catch (e) {
                          a(e)
                        }
                      },
                      i = function (e) {
                        return e.done ? o(e.value) : Promise.resolve(e.value).then(r, l)
                      };
                    i((n = n.apply(e, t)).next())
                  }))
                }(void 0, [t, n], (function (t, n) {
                  var o = n.index;
                  return e().mark((function n() {
                    return e().wrap((function (e) {
                      for (;;) switch (e.prev = e.next) {
                        case 0:
                          o !== M && (null == w || w.emit("showListTabChange", {
                            current: o,
                            componentIndex: b
                          }), z(o), null == N || N(t, {
                            index: o
                          }));
                        case 1:
                        case "end":
                          return e.stop()
                      }
                    }), n)
                  }))()
                }))
              },
              onClick: function (e) {
                e.stopPropagation()
              }
            }), null == O ? void 0 : O.map((function (e) {
              var t = e || {},
                n = t.title,
                o = Ll(t, ["title"]);
              return k.createElement(Z.A, Dl({
                Component: _.A,
                key: e.index,
                index: null == e ? void 0 : e.index,
                disabled: null == e ? void 0 : e.disabled
              }, o), n)
            }))),
            extra: x || "",
            endIcon: T,
            onClick: D
          })), k.createElement(el.A, jl(Dl({}, h), {
            className: (0, B.A)("scroll-container", {
              "mini-low-height": s,
              "show-h5-soon": "soonHeight" === v
            }),
            key: M
          }), i))
        };
      _l.displayName = "ShowList";
      var Bl = (0, k.forwardRef)(_l),
        Fl = function (e) {
          return e.ZAONIAO = "ZAONIAO", e.COMBINE = "COMBINE", e.SINGLE = "SINGLE", e.COUPON = "COUPON", e.VIP = "VIP", e
        }(Fl || {}),
        Ml = function (e) {
          return e.ARTIST = "ARTIST", e
        }(Ml || {}),
        zl = function (e) {
          return e.NO1 = "https://gw.alicdn.com/imgextra/i4/O1CN01sfTUyS1YWjbAmo0Ib_!!6000000003067-2-tps-46-60.png", e.NO2 = "https://gw.alicdn.com/imgextra/i4/O1CN01EOw2hP1pPGbkmGcnw_!!6000000005352-2-tps-46-60.png", e.NO3 = "https://gw.alicdn.com/imgextra/i3/O1CN01jD8Q7a23isBX0axpZ_!!6000000007290-2-tps-46-60.png", e.NO4 = "https://gw.alicdn.com/imgextra/i4/O1CN01wzajFt1WoTi6YJjdT_!!6000000002835-2-tps-46-60.png", e
        }(zl || {}),
        Ul = Object.defineProperty,
        Vl = function (e, t, n) {
          return function (e, t, n) {
            t in e ? Ul(e, t, {
              enumerable: !0,
              configurable: !0,
              writable: !0,
              value: n
            }) : e[t] = n
          }(e, "symbol" !== d(t) ? t + "" : t, n), n
        },
        Wl = function () {
          return a((function e(t, n) {
            o(this, e), Vl(this, "data"), Vl(this, "horizontal"), this.data = null == t ? void 0 : t.data, this.horizontal = (null == n ? void 0 : n.horizontal) || !1
          }), [{
            key: "vm",
            get: function () {
              return {
                showId: this.showId,
                poster: this.poster,
                content: this.content,
                horizontal: this.horizontal,
                originData: this.data
              }
            }
          }, {
            key: "showId",
            get: function () {
              var e;
              return null == (e = this.data) ? void 0 : e.id
            }
          }, {
            key: "poster",
            get: function () {
              var e, t, n, o;
              return {
                image: {
                  src: (0, ce.xn)(null == (e = this.data) ? void 0 : e.verticalPic, "medium", !1, !1),
                  lazy: !0,
                  fit: "cover"
                },
                cardRankNo: {
                  text: null == (t = this.data) ? void 0 : t.cardRankNo
                },
                topLeftTag: {
                  text: null == (n = this.data) ? void 0 : n.topLeft
                },
                topRightTag: {
                  text: null == (o = this.data) ? void 0 : o.topRight
                },
                bottomLeft: this.bottomLeft
              }
            }
          }, {
            key: "content",
            get: function () {
              var e, t, n;
              return {
                title: null == (e = this.data) ? void 0 : e.name,
                subTitle: null == (t = this.data) ? void 0 : t.interestInfo,
                price: null == (n = this.data) ? void 0 : n.priceLow,
                discountTag: this.discountTag
              }
            }
          }, {
            key: "discountTag",
            get: function () {
              var e, t = ((null == (e = this.data) ? void 0 : e.marketPromotionTags) || []).filter((function (e) {
                  return e.type !== Fl.VIP
                })),
                n = null == t ? void 0 : t[0];
              return (null == n ? void 0 : n.shortTag) ? {
                text: n.shortTag,
                color: "primary"
              } : null
            }
          }, {
            key: "bottomLeft",
            get: function () {
              var e, t, n, o, a, r, l, i, c, u, d = ((null == (t = null == (e = this.data) ? void 0 : e.bottomLeftV2) ? void 0 : t.value) || "").replace(/<[^>]+>/g, "");
              return (null == (o = null == (n = this.data) ? void 0 : n.bottomLeftV2) ? void 0 : o.valueType) === Ml.ARTIST ? {
                pic: (0, ce.zp)({
                  url: null == (r = null == (a = this.data) ? void 0 : a.bottomLeftV2) ? void 0 : r.pic,
                  width: 30
                }),
                value: d,
                type: null == (i = null == (l = this.data) ? void 0 : l.bottomLeftV2) ? void 0 : i.valueType
              } : {
                value: d,
                type: null == (u = null == (c = this.data) ? void 0 : c.bottomLeftV2) ? void 0 : u.valueType
              }
            }
          }])
        }(),
        Yl = function (e, t) {
          return new Wl(e, t)
        },
        Hl = Object.defineProperty,
        ql = Object.defineProperties,
        Kl = Object.getOwnPropertyDescriptors,
        Jl = Object.getOwnPropertySymbols,
        Gl = Object.prototype.hasOwnProperty,
        Zl = Object.prototype.propertyIsEnumerable,
        Xl = function (e, t, n) {
          return t in e ? Hl(e, t, {
            enumerable: !0,
            configurable: !0,
            writable: !0,
            value: n
          }) : e[t] = n
        },
        $l = function (e, t) {
          for (var n in t || (t = {})) Gl.call(t, n) && Xl(e, n, t[n]);
          if (Jl) {
            var o, a = v(Jl(t));
            try {
              for (a.s(); !(o = a.n()).done;) {
                n = o.value;
                Zl.call(t, n) && Xl(e, n, t[n])
              }
            } catch (e) {
              a.e(e)
            } finally {
              a.f()
            }
          }
          return e
        },
        Ql = function (e, t) {
          return ql(e, Kl(t))
        },
        ei = "bui-vertical-show-card",
        ti = k.forwardRef((function (e, t) {
          var n, o, a, r, l, i, c = e,
            u = c.hiddenIndex,
            d = void 0 === u ? new Set : u,
            s = c.className,
            m = c.horizontal,
            f = c.comingSoon,
            p = c.poster,
            g = c.content,
            h = c.logConfig,
            y = c.onCardClick,
            b = c.onBtnClick,
            C = c.useBackgroundImage,
            w = void 0 !== C && C,
            I = c.index,
            E = (c.showId, c.originData, c.ImageComponent),
            N = function (e, t) {
              var n = {};
              for (var o in e) Gl.call(e, o) && t.indexOf(o) < 0 && (n[o] = e[o]);
              if (null != e && Jl) {
                var a, r = v(Jl(e));
                try {
                  for (r.s(); !(a = r.n()).done;) {
                    o = a.value;
                    t.indexOf(o) < 0 && Zl.call(e, o) && (n[o] = e[o])
                  }
                } catch (e) {
                  r.e(e)
                } finally {
                  r.f()
                }
              }
              return n
            }(c, ["hiddenIndex", "className", "horizontal", "comingSoon", "poster", "content", "logConfig", "onCardClick", "onBtnClick", "useBackgroundImage", "index", "showId", "originData", "ImageComponent"]),
            O = p.image,
            P = p.cardRankNo,
            S = p.topLeftTag,
            A = p.topDiscountTag,
            x = p.topRightTag,
            T = p.bottomLeft,
            D = (null != h ? h : {}).cardItem,
            j = (null == P ? void 0 : P.text) && Number(P.text) < 4 ? zl["NO".concat(P.text)] : zl.NO4,
            L = "true" === (null == (n = null == N ? void 0 : N.originData) ? void 0 : n.isFollow) || !0 === (null == (o = null == N ? void 0 : N.originData) ? void 0 : o.isFollow);
          return k.createElement(Z.A, Ql($l({
            style: m ? {} : {
              display: "flex",
              flexDirection: "column"
            },
            className: (0, B.A)(ei, s, D, {
              "bui-vertical-show-card-horizontal": m
            }),
            ref: t
          }, N), {
            onClick: function (t) {
              return y(t, e)
            }
          }), !d.has("".concat(null == e ? void 0 : e.dynamicIndex)) && k.createElement(k.Fragment, null, k.createElement("div", {
            className: "poster-container"
          }, (null == P ? void 0 : P.text) ? k.createElement("div", {
            className: "top-left-rank",
            style: {
              backgroundImage: "url(".concat(j, ")")
            }
          }, P.text) : ((null == S ? void 0 : S.text) || (null == A ? void 0 : A.text)) && k.createElement("div", {
            className: "bui-tag-list"
          }, (null == S ? void 0 : S.text) && k.createElement(Qn.A, {
            className: "bui-tag-item",
            variant: "contained",
            htmlColor: "rgba(0, 0, 0, 0.8)",
            color: "default"
          }, S.text), (null == A ? void 0 : A.text) && k.createElement(Qn.A, {
            className: "bui-tag-item",
            variant: "contained",
            color: "primary"
          }, null == A ? void 0 : A.text)), (null == x ? void 0 : x.text) && k.createElement(Qn.A, {
            variant: "contained",
            color: null == x ? void 0 : x.color,
            className: (0, B.A)("top-right-tag", null == x ? void 0 : x.className)
          }, null == x ? void 0 : x.text), (0, De.p)(Ql($l({
            className: "show-poster"
          }, O), {
            lazy: !0,
            useImage: !w || I >= 5,
            ImageComponent: E
          })), ((null == T ? void 0 : T.pic) || (null == T ? void 0 : T.value)) && k.createElement("div", {
            className: (0, B.A)("bottom-left-desc", T.className)
          }, (null == T ? void 0 : T.pic) && (null == (a = De.p) ? void 0 : a({
            className: "bottom-left-img",
            src: (0, ce.zp)({
              url: T.pic,
              ignorePng: !0
            }),
            fit: "cover",
            lazy: !0,
            useImage: !w || I >= 5
          })), (null == T ? void 0 : T.value) && k.createElement("span", {
            className: "bottom-left-value"
          }, T.value))), k.createElement("div", {
            className: "info-wrapper"
          }, (null == g ? void 0 : g.title) && k.createElement("span", {
            className: "show-title"
          }, null == g ? void 0 : g.title), k.createElement("div", {
            className: "info-footer"
          }, (null == g ? void 0 : g.subTitle) && k.createElement("div", {
            className: "show-subtitle"
          }, (null == g ? void 0 : g.subTitle) || k.createElement(k.Fragment, null, " ")), !f && k.createElement("div", {
            className: "price-info"
          }, (null == g ? void 0 : g.price) && /^\d+(.\d+)?$/g.test(null == g ? void 0 : g.price) ? k.createElement(k.Fragment, null, k.createElement("span", {
            className: "unit"
          }, "¥"), k.createElement("span", {
            className: "count"
          }, g.price), k.createElement("span", {
            className: "suffix"
          }, "起")) : (null == g ? void 0 : g.price) && k.createElement("span", {
            className: "normal-weight"
          }, g.price), (null == (r = null == g ? void 0 : g.discountTag) ? void 0 : r.text) && k.createElement(Qn.A, {
            variant: "contained",
            className: "price-discount-tag",
            color: null == (l = null == g ? void 0 : g.discountTag) ? void 0 : l.color
          }, g.discountTag.text)))), !m && f ? k.createElement(Z.A, {
            className: "bui-btn-wrap",
            Component: Xe.A,
            dynamicData: null == (i = null == N ? void 0 : N.dynamicData) ? void 0 : i.wantSee,
            dynamicIndex: null == e ? void 0 : e.dynamicIndex,
            variant: L ? "outlined" : "contained",
            color: L ? "default" : "warning",
            onClick: function (t) {
              t.stopPropagation(), b(t, e)
            }
          }, L ? "已想看" : "想看") : null))
        }));
      ti.displayName = "VerticalShowCard";
      var ni = (0, k.memo)(ti),
        oi = Object.defineProperty,
        ai = Object.defineProperties,
        ri = Object.getOwnPropertyDescriptors,
        li = Object.getOwnPropertySymbols,
        ii = Object.prototype.hasOwnProperty,
        ci = Object.prototype.propertyIsEnumerable,
        ui = function (e, t, n) {
          return t in e ? oi(e, t, {
            enumerable: !0,
            configurable: !0,
            writable: !0,
            value: n
          }) : e[t] = n
        },
        di = function (e, t) {
          for (var n in t || (t = {})) ii.call(t, n) && ui(e, n, t[n]);
          if (li) {
            var o, a = v(li(t));
            try {
              for (a.s(); !(o = a.n()).done;) {
                n = o.value;
                ci.call(t, n) && ui(e, n, t[n])
              }
            } catch (e) {
              a.e(e)
            } finally {
              a.f()
            }
          }
          return e
        },
        si = function (e, t) {
          return ai(e, ri(t))
        },
        vi = function (e) {
          var t, o, a, r, l, i, c, u, d, s = (0, k.useContext)(be),
            v = s.referItemId,
            m = s.dmCategoryProps,
            f = s.ShowListDrawerProps,
            p = f.logConfig,
            g = void 0 === p ? {} : p,
            h = f.onClickExtra,
            y = f.onCardClick,
            b = f.onDrawerTabChange,
            C = s.context,
            I = C.event,
            E = (e || {}).cmsData,
            N = void 0 === E ? {} : E,
            O = (m || {}).components,
            P = ((void 0 === O ? [] : O).filter((function (e) {
              return "9998" === (null == e ? void 0 : e.type)
            })) || []).findIndex((function (e) {
              var t, n;
              return (null == (t = null == e ? void 0 : e.data) ? void 0 : t.nodeId) === (null == (n = null == N ? void 0 : N.data) ? void 0 : n.nodeId)
            }));
          null == I || I.emit("updateShowListDrawerAplus", {
            curIndex: P,
            curShowListDrawerCms: N
          });
          var S = (0, k.useState)("0"),
            A = n(S, 2),
            x = A[0],
            T = A[1],
            D = (0, k.useMemo)((function () {
              return {
                defaultActiveIndex: x,
                tabList: ((null == N ? void 0 : N.nodes) || []).map((function (e, t) {
                  return {
                    title: e.data.title,
                    index: "".concat(t)
                  }
                })),
                onChange: function (e, t) {
                  var n, o = t.index;
                  T(o), null == b || b(e, {
                    index: o,
                    componentIndex: P
                  }, null == (n = null == N ? void 0 : N.nodes) ? void 0 : n[o])
                },
                autoFull: !1
              }
            }), [x, N]);
          return k.createElement(Bl, {
            className: (0, w.A)("cms-show-list-drawer", "cms-show-list-drawer-".concat(P)),
            tabProps: D,
            context: C,
            currentIndex: P,
            headerProps: {
              title: "",
              endIcon: !!(null == (i = null == (l = null == (r = null == (a = null == (o = null == (t = null == N ? void 0 : N.nodes) ? void 0 : t[x]) ? void 0 : o.data) ? void 0 : a.keywords) ? void 0 : r[0]) ? void 0 : l.action) ? void 0 : i.actionUrl) && k.createElement(Te.A, {
                size: "small",
                htmlColor: "#666"
              }),
              extra: k.createElement("span", {
                className: (0, w.A)("".concat(null == g ? void 0 : g.moreBtn, "-").concat(x))
              }, null == (d = null == (u = null == (c = null == N ? void 0 : N.nodes) ? void 0 : c[x]) ? void 0 : u.data) ? void 0 : d.moreBtnName),
              onClick: function (e) {
                var t, n;
                h(e, null == (n = null == (t = null == N ? void 0 : N.nodes) ? void 0 : t[x]) ? void 0 : n.data)
              }
            }
          }, D.tabList.map((function (e) {
            var t, n;
            return k.createElement(j.A, {
              key: e.index,
              value: x,
              index: e.index
            }, ((null == (n = null == (t = null == N ? void 0 : N.nodes) ? void 0 : t[x]) ? void 0 : n.nodes) || []).map((function (e, t) {
              var n, o = Yl(e).vm,
                a = v === o.showId;
              return k.createElement(ni, si(di({
                key: "hot_".concat(o.showId),
                className: (0, w.A)(null == g ? void 0 : g.cardItem, {
                  "refer-project": a
                })
              }, o), {
                "data-alog": {
                  parsedTrackInfo: null == (n = null == e ? void 0 : e.data) ? void 0 : n.parsedTrackInfo,
                  index: t
                },
                logConfig: si(di({}, g), {
                  cardItem: "".concat(null == g ? void 0 : g.cardItem, "-").concat(P, "-").concat(o.showId)
                }),
                onCardClick: function (e, n) {
                  return null == y ? void 0 : y(e, n, t)
                },
                useBackgroundImage: !0,
                index: t
              }))
            })))
          })))
        },
        mi = Object.defineProperty,
        fi = Object.defineProperties,
        pi = Object.getOwnPropertyDescriptors,
        gi = Object.getOwnPropertySymbols,
        hi = Object.prototype.hasOwnProperty,
        yi = Object.prototype.propertyIsEnumerable,
        bi = function (e, t, n) {
          return t in e ? mi(e, t, {
            enumerable: !0,
            configurable: !0,
            writable: !0,
            value: n
          }) : e[t] = n
        },
        Ci = function (e, t) {
          for (var n in t || (t = {})) hi.call(t, n) && bi(e, n, t[n]);
          if (gi) {
            var o, a = v(gi(t));
            try {
              for (a.s(); !(o = a.n()).done;) {
                n = o.value;
                yi.call(t, n) && bi(e, n, t[n])
              }
            } catch (e) {
              a.e(e)
            } finally {
              a.f()
            }
          }
          return e
        },
        ki = function (e, t) {
          return fi(e, pi(t))
        },
        wi = function () {
          var e, t, o, a, r, l, i, c, u = (0, k.useContext)(be),
            d = u.dmCategoryProps,
            s = (void 0 === d ? {} : d).showSmallThemeCardCms,
            v = void 0 === s ? {} : s,
            m = u.ShowSmallThemeCardProps,
            f = void 0 === m ? {} : m,
            p = f.logConfig,
            g = void 0 === p ? {} : p,
            h = f.onClickExtra,
            y = f.onCardClick,
            b = (0, k.useState)(0),
            C = n(b, 2),
            I = C[0],
            E = C[1],
            N = {
              defaultActiveIndex: "0",
              tabList: [{
                title: (null == (e = null == v ? void 0 : v.data) ? void 0 : e.title) ? k.createElement(k.Fragment, null, k.createElement("img", {
                  src: v.data.title,
                  style: {
                    display: "none"
                  },
                  alt: "",
                  onLoad: function (e) {
                    E(e.currentTarget.width * (15 / e.currentTarget.height))
                  }
                }), (0, De.p)({
                  className: "cms-small-theme-card-title",
                  src: v.data.title,
                  fit: "auto 100%",
                  lazy: !0,
                  useImage: !1,
                  style: {
                    width: I / 3.75 + "vw",
                    height: "4vw",
                    maxWidth: 286 / 3.75 + "vw"
                  }
                })) : null,
                index: "0"
              }]
            };
          return k.createElement(Bl, {
            className: "cms-small-theme-card",
            style: {
              backgroundImage: "url(".concat(v.data.backgroundPic, ")")
            },
            lowHeight: !0,
            useTheming: !0,
            tabProps: N,
            headerProps: {
              title: "",
              endIcon: !!(null == (r = null == (a = null == (o = null == (t = null == v ? void 0 : v.data) ? void 0 : t.keywords) ? void 0 : o[0]) ? void 0 : a.action) ? void 0 : r.actionUrl) && k.createElement(Te.A, {
                size: "small",
                htmlColor: "#666"
              }),
              extra: k.createElement("span", {
                className: (0, w.A)(null == g ? void 0 : g.moreBtn)
              }, null == (c = null == (i = null == (l = null == v ? void 0 : v.data) ? void 0 : l.keywords) ? void 0 : i[0]) ? void 0 : c.text),
              onClick: function (e) {
                h(e, null == v ? void 0 : v.data)
              }
            }
          }, N.tabList.map((function (e) {
            return k.createElement(j.A, {
              key: e.index,
              value: e.index,
              index: e.index
            }, ((null == v ? void 0 : v.nodes) || []).slice(0, 2).map((function (e, t) {
              var n = Yl(e, {
                horizontal: !0
              }).vm;
              return k.createElement(ni, ki(Ci({
                className: null == g ? void 0 : g.cardItem,
                key: "hot_".concat(n.showId)
              }, n), {
                logConfig: ki(Ci({}, g), {
                  cardItem: "".concat(null == g ? void 0 : g.cardItem, "-").concat(n.showId)
                }),
                onCardClick: function (e, n) {
                  return null == y ? void 0 : y(e, n, t)
                },
                useBackgroundImage: !0,
                index: t
              }))
            })))
          })))
        },
        Ii = p(1942),
        Ei = p(3969),
        Ni = Object.defineProperty,
        Oi = Object.getOwnPropertySymbols,
        Pi = Object.prototype.hasOwnProperty,
        Si = Object.prototype.propertyIsEnumerable,
        Ai = function (e, t, n) {
          return t in e ? Ni(e, t, {
            enumerable: !0,
            configurable: !0,
            writable: !0,
            value: n
          }) : e[t] = n
        },
        xi = k.forwardRef((function (e, t) {
          var o = e,
            a = o.titlePic,
            r = o.bgPic,
            l = o.name,
            i = o.displayFullName,
            c = o.showTime,
            u = o.cityName,
            d = o.desc,
            s = o.guideSubCategoryName,
            m = o.itemScore,
            f = o.venueName,
            p = o.ipvuv,
            g = o.ipvuvNum,
            h = o.priceLow,
            y = o.countdownTime,
            b = o.upTime,
            C = o.buyBtnText,
            w = void 0 === C ? "购票" : C,
            I = o.isHotBuy,
            E = o.buyImgPic,
            N = void 0 === E ? "https://gw.alicdn.com/imgextra/i3/O1CN01rPzMPF2A2Sp6PiFnu_!!6000000008145-2-tps-347-72.png" : E,
            O = o.moreText,
            P = void 0 === O ? "" : O,
            S = o.isFollow,
            A = o.verticalPic,
            x = o.className,
            T = o.extraTitle,
            D = o.extraContent,
            j = o.status,
            L = o.marketPromotionTags,
            R = void 0 === L ? [] : L,
            _ = o.canFollow,
            F = o.followStatusTip,
            M = o.onClick,
            z = o.onTitleClick,
            U = o.onExtraClick,
            V = o.onFollowClick,
            W = o.onCountdownOver,
            Y = o.useBackgroundImage,
            H = void 0 !== Y && Y,
            q = function (e, t) {
              var n = {};
              for (var o in e) Pi.call(e, o) && t.indexOf(o) < 0 && (n[o] = e[o]);
              if (null != e && Oi) {
                var a, r = v(Oi(e));
                try {
                  for (r.s(); !(a = r.n()).done;) {
                    o = a.value;
                    t.indexOf(o) < 0 && Si.call(e, o) && (n[o] = e[o])
                  }
                } catch (e) {
                  r.e(e)
                } finally {
                  r.f()
                }
              }
              return n
            }(o, ["titlePic", "bgPic", "name", "displayFullName", "showTime", "cityName", "desc", "guideSubCategoryName", "itemScore", "venueName", "ipvuv", "ipvuvNum", "priceLow", "countdownTime", "upTime", "buyBtnText", "isHotBuy", "buyImgPic", "moreText", "isFollow", "verticalPic", "className", "extraTitle", "extraContent", "status", "marketPromotionTags", "canFollow", "followStatusTip", "onClick", "onTitleClick", "onExtraClick", "onFollowClick", "onCountdownOver", "useBackgroundImage"]),
            K = (0, k.useState)(0),
            J = n(K, 2),
            G = J[0],
            Z = J[1],
            X = "0" === String(_),
            $ = !new RegExp("[一-龥]+").test(h),
            Q = I ? k.createElement(Ii.A, {
              fit: "heightFix",
              src: (0, ce.zp)({
                url: N
              }),
              className: "buy-img",
              lazy: !0
            }) : k.createElement(Xe.A, {
              color: "primary",
              size: "small",
              className: "bui-hsc-buy-btn"
            }, w),
            ee = Number(y) > 6048e5 ? function (e) {
              var t = new Date(+e),
                n = t.getMonth() + 1,
                o = t.getDate(),
                a = t.getHours(),
                r = t.getMinutes();
              return k.createElement("div", {
                className: "sold-time"
              }, n, "月", o, "日", a, ":", r, "开售")
            }(b || (new Date).getTime() + Number(y)) : k.createElement("div", {
              className: "bui-hsc-content-countdown"
            }, k.createElement($e.A, {
              remainingTime: Number(y),
              onFinish: function () {
                W && W({})
              },
              renderContent: function (e) {
                var t = e.total,
                  n = e.days,
                  o = e.hoursWithDays,
                  a = e.minutes,
                  r = e.seconds;
                return t < 1e3 ? Q : Number(n) > 0 ? k.createElement("div", {
                  className: "sold-time"
                }, n, "天", o, ":", a, ":", r, "后开售") : k.createElement("div", {
                  className: "sold-time"
                }, o, ":", a, ":", r, "后开售")
              }
            })),
            te = "false" === String(S) || X ? k.createElement(tt.A, {
              className: "want-icon",
              htmlColor: "#3c3f44"
            }) : "true" === String(S) ? k.createElement(et.A, {
              className: "want-icon",
              htmlColor: "#ff70b8"
            }) : null;
          return k.createElement(xe.A, function (e, t) {
            for (var n in t || (t = {})) Pi.call(t, n) && Ai(e, n, t[n]);
            if (Oi) {
              var o, a = v(Oi(t));
              try {
                for (a.s(); !(o = a.n()).done;) {
                  n = o.value;
                  Si.call(t, n) && Ai(e, n, t[n])
                }
              } catch (e) {
                a.e(e)
              } finally {
                a.f()
              }
            }
            return e
          }({
            ref: t,
            className: (0, B.A)("bui-hsc", x),
            onClick: M,
            style: {
              backgroundImage: "url(".concat((0, ce.zp)({
                url: r
              }), ")")
            }
          }, Object.keys(q).reduce((function (e, t) {
            return (null == t ? void 0 : t.startsWith("data-")) && (e[t] = q[t]), e
          }), {})), a && k.createElement(tl.A, {
            className: "card-main-title",
            title: k.createElement(k.Fragment, null, k.createElement("img", {
              src: a,
              style: {
                display: "none"
              },
              alt: "",
              onLoad: function (e) {
                Z(e.currentTarget.width * (15 / e.currentTarget.height))
              }
            }), (0, De.p)({
              className: "card-main-title-img",
              src: (0, ce.zp)({
                url: a
              }),
              style: {
                width: G / 3.75 + "vw",
                height: "4vw"
              },
              fit: H ? "auto 100%" : "heightFix",
              lazy: !0,
              useImage: !H
            })),
            endIcon: !!P && k.createElement(Te.A, {
              size: "small",
              htmlColor: "#666666"
            }),
            extra: P,
            onClick: z ? function (e) {
              e.stopPropagation(), z && z(e)
            } : void 0
          }), k.createElement(el.A, {
            className: "bui-hsc-body"
          }, A && k.createElement("div", {
            className: "bui-hsc-pic"
          }, (0, De.p)({
            className: "poster-pic",
            src: (0, ce.zp)({
              url: A,
              ignorePng: !0
            }),
            fit: "cover",
            lazy: !0,
            useImage: !H
          }), s && k.createElement(Qn.A, {
            variant: "contained",
            htmlColor: "rgba(0,0,0,0.8)",
            className: "poster-tag-top"
          }, s), m && k.createElement("div", {
            className: "shade-grade"
          }, k.createElement("span", {
            className: "shade-grade-num"
          }, m), k.createElement("span", {
            className: "shade-grade-txt"
          }, "分"))), k.createElement(xe.A, {
            className: "bui-hsc-content"
          }, k.createElement(tl.A, {
            title: k.createElement("div", {
              className: "card-name-wrapper"
            }, k.createElement("div", {
              className: "card-name"
            }, l), k.createElement("div", {
              className: (0, B.A)("card-follow", {
                "follow-disabled": X
              }),
              onClick: function (e) {
                e.stopPropagation(), X ? F && (0, nt.o)({
                  useH5: !0,
                  message: F
                }) : V && V(e)
              }
            }, te)),
            className: (0, B.A)({
              "full-display": i
            })
          }), k.createElement(el.A, null, k.createElement("div", {
            className: "bui-hsc-content-desc"
          }, g ? k.createElement("div", null, k.createElement("span", {
            className: "bui-hsc-content-want-see"
          }, g), k.createElement("span", null, "人想看")) : p ? k.createElement("div", null, p) : null, d && k.createElement("div", {
            className: "desc-txt"
          }, d), c && k.createElement("div", null, c), (u || f) && k.createElement("div", {
            className: "bui-hsc-content-location"
          }, k.createElement("div", {
            className: "bui-hsc-content-location-city"
          }, u), u && f && k.createElement("span", {
            className: "divider-dot"
          }, "·"), k.createElement("div", {
            className: "bui-hsc-content-location-venue"
          }, f))), k.createElement("div", {
            className: "bui-hsc-content-hot"
          }, k.createElement("div", {
            className: "price-info"
          }, $ && h ? k.createElement("div", {
            className: "price"
          }, k.createElement("div", {
            className: "unit"
          }, "¥"), k.createElement("div", {
            className: "count"
          }, h), k.createElement("div", {
            className: "suffix"
          }, "起")) : k.createElement("div", {
            className: "price"
          }, k.createElement("div", {
            className: "count price-custom"
          }, h)), (null == R ? void 0 : R[0]) && h && function (e) {
            var t = e.prefix,
              n = e.tag,
              o = e.shortTag,
              a = e.type;
            if ("VIP" === a || "VIP_PRIVILEGE" === a) return null;
            var r = "#FF7292";
            return "HALFPRICE" === a ? k.createElement("div", {
              className: "half-price-tag"
            }) : t ? k.createElement(Ei.A, null, k.createElement(Qn.A, {
              variant: "contained",
              htmlColor: r,
              className: "promotion-tag"
            }, t), k.createElement(Qn.A, {
              variant: "outlined",
              htmlColor: r,
              className: "promotion-tag"
            }, n || o)) : k.createElement(Qn.A, {
              variant: "contained",
              htmlColor: r,
              className: "promotion-tag"
            }, n || o)
          }(null == R ? void 0 : R[0])), 1 === Number(j) && Number(y) ? ee : 2 === Number(j) ? Q : null)))), D && k.createElement(el.A, {
            className: "bui-card-content bui-hsc-body bui-card-content-extra",
            onClick: function (e) {
              e.stopPropagation(), U && U(e)
            }
          }, k.createElement("div", {
            className: "bui-hsc-content-extra"
          }, k.createElement("div", {
            className: "bui-hsc-content-extra-title"
          }, T), T && k.createElement(vr.A, {
            className: "bui-hsc-content-extra-divider",
            style: {
              height: "80%"
            }
          }), k.createElement("div", {
            className: "bui-hsc-content-extra-content"
          }, D, U && k.createElement(Te.A, {
            className: "bui-hsc-content-extra-content-arrow",
            htmlColor: "#4d4d56"
          })))))
        }));
      xi.displayName = "DmHotShowCard";
      var Ti = xi,
        Di = Object.defineProperty,
        ji = Object.defineProperties,
        Li = Object.getOwnPropertyDescriptors,
        Ri = Object.getOwnPropertySymbols,
        _i = Object.prototype.hasOwnProperty,
        Bi = Object.prototype.propertyIsEnumerable,
        Fi = function (e, t, n) {
          return t in e ? Di(e, t, {
            enumerable: !0,
            configurable: !0,
            writable: !0,
            value: n
          }) : e[t] = n
        },
        Mi = function () {
          var e, t, n, o = (0, k.useContext)(be),
            a = o.dmCategoryProps,
            r = (void 0 === a ? {} : a).showSoldCardCms,
            l = void 0 === r ? {} : r,
            i = o.ShowSoldCardProps,
            c = void 0 === i ? {} : i,
            u = c.logConfig,
            d = void 0 === u ? {} : u,
            s = c.onCardClick,
            m = void 0 === s ? function () {} : s,
            f = c.onCardTitleClick,
            p = void 0 === f ? function () {} : f,
            g = c.onCardFollowClick,
            h = void 0 === g ? function () {} : g,
            y = null == (t = null == (e = null == l ? void 0 : l.nodes) ? void 0 : e[0]) ? void 0 : t.data,
            b = null == l ? void 0 : l.data,
            C = null == (n = null == b ? void 0 : b.keywords) ? void 0 : n[0];
          return y ? k.createElement("div", {
            className: "cms-dm-show-sold-card"
          }, k.createElement(Ti, function (e, t) {
            return ji(e, Li(t))
          }(function (e, t) {
            for (var n in t || (t = {})) _i.call(t, n) && Fi(e, n, t[n]);
            if (Ri) {
              var o, a = v(Ri(t));
              try {
                for (a.s(); !(o = a.n()).done;) {
                  n = o.value;
                  Bi.call(t, n) && Fi(e, n, t[n])
                }
              } catch (e) {
                a.e(e)
              } finally {
                a.f()
              }
            }
            return e
          }({
            className: null == d ? void 0 : d.cardItemLog
          }, y), {
            bgPic: null == b ? void 0 : b.backPic,
            titlePic: null == b ? void 0 : b.titlePic,
            moreText: null == C ? void 0 : C.text,
            isHotBuy: !0,
            onClick: function () {
              return m(y)
            },
            onTitleClick: function () {
              return p(y)
            },
            onFollowClick: function () {
              return h(y)
            },
            useBackgroundImage: !0
          }))) : null
        },
        zi = p(2736),
        Ui = p.n(zi),
        Vi = k.memo((function (e) {
          var t = e.price,
            n = e.prettyPrice;
          if (!t) return null;
          var o = String(t);
          if (/^\d+(\.\d+)?$/.test(o)) {
            var a = n(t),
              r = a.integerPart,
              l = a.decimalPart;
            return k.createElement("div", {
              className: "info"
            }, k.createElement("div", {
              className: "yuan"
            }, "￥"), k.createElement("div", {
              className: "amount"
            }, r, l && k.createElement("span", {
              className: "decimal"
            }, ".", l)), k.createElement("div", {
              className: "qi"
            }, "起"))
          }
          return k.createElement("div", {
            className: "info"
          }, k.createElement("div", {
            className: "desc"
          }, t))
        }));
      Vi.displayName = "PriceDisplay", Vi.propTypes = {
        price: Ui().oneOfType([Ui().string, Ui().number]),
        prettyPrice: Ui().func.isRequired
      };
      var Wi = Vi,
        Yi = k.memo((function (e) {
          var t, n = e.promotionTags,
            o = null == (t = null == n ? void 0 : n[0]) ? void 0 : t.shortTag;
          return o ? k.createElement(Qn.A, {
            variant: "contained",
            htmlColor: "#FF4886"
          }, o) : null
        }));
      Yi.displayName = "PromotionTag", Yi.propTypes = {
        promotionTags: Ui().arrayOf(Ui().shape({
          shortTag: Ui().string
        }))
      };
      var Hi = Yi,
        qi = Object.defineProperty,
        Ki = Object.getOwnPropertySymbols,
        Ji = Object.prototype.hasOwnProperty,
        Gi = Object.prototype.propertyIsEnumerable,
        Zi = function (e, t, n) {
          return t in e ? qi(e, t, {
            enumerable: !0,
            configurable: !0,
            writable: !0,
            value: n
          }) : e[t] = n
        },
        Xi = function (e, t) {
          for (var n in t || (t = {})) Ji.call(t, n) && Zi(e, n, t[n]);
          if (Ki) {
            var o, a = v(Ki(t));
            try {
              for (a.s(); !(o = a.n()).done;) {
                n = o.value;
                Gi.call(t, n) && Zi(e, n, t[n])
              }
            } catch (e) {
              a.e(e)
            } finally {
              a.f()
            }
          }
          return e
        },
        $i = {
          width: 640,
          height: 640
        },
        Qi = k.memo((function (e) {
          var t = e.item,
            n = e.index,
            o = e.className,
            a = e.prettyPrice,
            r = e.onClick;
          return k.createElement("div", {
            className: (0, B.A)("scenery-item", o),
            onClick: function (e) {
              return r(e, n, t.id)
            }
          }, k.createElement("div", {
            className: "left"
          }, k.createElement("div", {
            className: "poster",
            style: {
              backgroundImage: "url(".concat((0, ce.zp)(Xi({
                url: t.pic
              }, $i)), ")")
            }
          }), t.topLeft && k.createElement("div", {
            className: "tag"
          }, t.topLeft)), k.createElement("div", {
            className: "right"
          }, k.createElement("div", {
            className: "name"
          }, t.name), k.createElement("div", {
            className: "price"
          }, k.createElement(Wi, {
            price: t.price,
            prettyPrice: a
          }), k.createElement(Hi, {
            promotionTags: t.marketPromotionTags
          }))))
        }));
      Qi.displayName = "SceneryItem", Qi.propTypes = {
        item: Ui().shape({
          id: Ui().oneOfType([Ui().string, Ui().number]),
          pic: Ui().string,
          topLeft: Ui().string,
          name: Ui().string,
          price: Ui().oneOfType([Ui().string, Ui().number]),
          marketPromotionTags: Ui().arrayOf(Ui().shape({
            shortTag: Ui().string
          }))
        }).isRequired,
        index: Ui().number.isRequired,
        className: Ui().string,
        prettyPrice: Ui().func.isRequired,
        onClick: Ui().func.isRequired
      };
      var ec = Qi,
        tc = Object.defineProperty,
        nc = Object.getOwnPropertySymbols,
        oc = Object.prototype.hasOwnProperty,
        ac = Object.prototype.propertyIsEnumerable,
        rc = function (e, t, n) {
          return t in e ? tc(e, t, {
            enumerable: !0,
            configurable: !0,
            writable: !0,
            value: n
          }) : e[t] = n
        },
        lc = function (e, t) {
          for (var n in t || (t = {})) oc.call(t, n) && rc(e, n, t[n]);
          if (nc) {
            var o, a = v(nc(t));
            try {
              for (a.s(); !(o = a.n()).done;) {
                n = o.value;
                ac.call(t, n) && rc(e, n, t[n])
              }
            } catch (e) {
              a.e(e)
            } finally {
              a.f()
            }
          }
          return e
        },
        ic = {
          width: 640,
          height: 640
        },
        cc = k.memo((function (e) {
          var t = e.item,
            n = e.index,
            o = e.className,
            a = e.prettyPrice,
            r = e.onClick;
          return k.createElement("div", {
            className: (0, B.A)("show-item", o),
            onClick: function (e) {
              return r(e, n, t.id)
            }
          }, k.createElement("div", {
            className: "left"
          }, k.createElement("div", {
            className: "poster",
            style: {
              backgroundImage: "url(".concat((0, ce.zp)(lc({
                url: t.pic
              }, ic)), ")")
            }
          }), t.topLeft && k.createElement("div", {
            className: "tag"
          }, t.topLeft)), k.createElement("div", {
            className: "right"
          }, k.createElement("div", {
            className: "show-info"
          }, k.createElement("div", {
            className: "name"
          }, t.name), k.createElement("div", {
            className: "brief"
          }, t.fansViewText)), k.createElement("div", {
            className: "price"
          }, k.createElement(Wi, {
            price: t.price,
            prettyPrice: a
          }), k.createElement(Hi, {
            promotionTags: t.marketPromotionTags
          }))))
        }));
      cc.displayName = "ShowItem", cc.propTypes = {
        item: Ui().shape({
          id: Ui().oneOfType([Ui().string, Ui().number]),
          pic: Ui().string,
          topLeft: Ui().string,
          name: Ui().string,
          fansViewText: Ui().string,
          price: Ui().oneOfType([Ui().string, Ui().number]),
          marketPromotionTags: Ui().arrayOf(Ui().shape({
            shortTag: Ui().string
          }))
        }).isRequired,
        index: Ui().number.isRequired,
        className: Ui().string,
        prettyPrice: Ui().func.isRequired,
        onClick: Ui().func.isRequired
      };
      var uc = cc,
        dc = k.memo((function (e) {
          var t = e.title,
            n = e.jumpUrl,
            o = e.arrowPic,
            a = e.petalPicLeft,
            r = e.petalPicRight,
            l = e.className,
            i = e.onClick,
            c = e.showPetals,
            u = void 0 !== c && c;
          return k.createElement("div", {
            className: (0, B.A)("card-title", l),
            onClick: i
          }, k.createElement("div", {
            className: "title-txt-wrap"
          }, u && t && a && k.createElement("img", {
            className: "petal",
            src: a,
            alt: ""
          }), k.createElement("span", {
            className: "title-txt"
          }, t || " "), u && t && r && k.createElement("img", {
            className: "petal",
            src: r,
            alt: ""
          })), n && o && k.createElement("img", {
            className: "arrow",
            src: o,
            alt: ""
          }))
        }));
      dc.displayName = "CardTitle", dc.propTypes = {
        title: Ui().string,
        jumpUrl: Ui().string,
        arrowPic: Ui().string.isRequired,
        petalPicLeft: Ui().string,
        petalPicRight: Ui().string,
        className: Ui().string,
        onClick: Ui().func.isRequired,
        showPetals: Ui().bool
      };
      var sc = dc,
        vc = Object.defineProperty,
        mc = Object.getOwnPropertySymbols,
        fc = Object.prototype.hasOwnProperty,
        pc = Object.prototype.propertyIsEnumerable,
        gc = function (e, t, n) {
          return t in e ? vc(e, t, {
            enumerable: !0,
            configurable: !0,
            writable: !0,
            value: n
          }) : e[t] = n
        },
        hc = 3,
        yc = 2,
        bc = 3,
        Cc = 2,
        kc = {
          arrow: "https://gw.alicdn.com/imgextra/i3/O1CN01Awe3eZ1osIJgmy18b_!!6000000005280-2-tps-56-56.png",
          petalLeft: "https://gw.alicdn.com/imgextra/i2/O1CN01Q5SeZV270EGK5MiuQ_!!6000000007734-2-tps-32-60.png",
          petalRight: "https://gw.alicdn.com/imgextra/i4/O1CN01olxhUi27QKq1GYsuX_!!6000000007791-2-tps-33-60.png"
        },
        wc = function (e) {
          var t, o, a, r, l = e,
            i = l.sceneryData,
            c = l.showData,
            u = l.arrowPic,
            d = void 0 === u ? kc.arrow : u,
            s = l.petalPicLeft,
            m = void 0 === s ? kc.petalLeft : s,
            f = l.petalPicRight,
            p = void 0 === f ? kc.petalRight : f,
            g = l.logConfig,
            h = void 0 === g ? {} : g,
            y = l.onLeftItemClick,
            b = void 0 === y ? function () {} : y,
            C = l.onLeftMoreClick,
            w = void 0 === C ? function () {} : C,
            I = l.onRightItemClick,
            E = void 0 === I ? function () {} : I,
            N = l.onRightMoreClick,
            O = void 0 === N ? function () {} : N,
            P = l.onFirstAppear,
            S = void 0 === P ? function () {} : P,
            A = function (e, t) {
              var n = {};
              for (var o in e) fc.call(e, o) && t.indexOf(o) < 0 && (n[o] = e[o]);
              if (null != e && mc) {
                var a, r = v(mc(e));
                try {
                  for (r.s(); !(a = r.n()).done;) {
                    o = a.value;
                    t.indexOf(o) < 0 && pc.call(e, o) && (n[o] = e[o])
                  }
                } catch (e) {
                  r.e(e)
                } finally {
                  r.f()
                }
              }
              return n
            }(l, ["sceneryData", "showData", "arrowPic", "petalPicLeft", "petalPicRight", "logConfig", "onLeftItemClick", "onLeftMoreClick", "onRightItemClick", "onRightMoreClick", "onFirstAppear"]),
            x = (0, k.useMemo)((function () {
              return function (e) {
                var t = "number" == typeof e ? e.toString() : e;
                if (!t.includes(".")) return {
                  integerPart: t,
                  decimalPart: ""
                };
                var o = t.split("."),
                  a = n(o, 2);
                return {
                  integerPart: a[0],
                  decimalPart: a[1]
                }
              }
            }), []),
            T = (0, k.useMemo)((function () {
              var e, t, n, o;
              return (null != (t = null == (e = null == i ? void 0 : i.list) ? void 0 : e.length) ? t : 0) >= hc && (null != (o = null == (n = null == c ? void 0 : c.list) ? void 0 : n.length) ? o : 0) >= yc
            }), [null == (t = null == i ? void 0 : i.list) ? void 0 : t.length, null == (o = null == c ? void 0 : c.list) ? void 0 : o.length]),
            D = (0, k.useMemo)((function () {
              return Object.keys(A).reduce((function (e, t) {
                return t.startsWith("data-") && (e[t] = A[t]), e
              }), {})
            }), [A]),
            j = (0, k.useCallback)((function () {
              w(i), (null == i ? void 0 : i.moreBtnJumpUrl) && (0, wt.VJ)({
                url: i.moreBtnJumpUrl
              })
            }), [w, i]),
            L = (0, k.useCallback)((function () {
              O(c), (null == c ? void 0 : c.moreBtnJumpUrl) && (0, wt.VJ)({
                url: c.moreBtnJumpUrl
              })
            }), [O, c]),
            R = (0, k.useCallback)((function (e, t, n) {
              b(t, n, i), (0, wt.VJ)({
                page: "shows_scenery",
                query: {
                  id: n
                },
                dom: e.currentTarget
              })
            }), [b, i]),
            _ = (0, k.useCallback)((function (e, t, n) {
              E(t, n, c), (0, wt.VJ)({
                page: "shows_item_detail",
                query: {
                  itemId: n
                },
                dom: e.currentTarget
              })
            }), [E, c]);
          return (0, k.useEffect)((function () {
            T && S([i, c])
          }), [T, S, i, c]), T ? k.createElement("div", function (e, t) {
            for (var n in t || (t = {})) fc.call(t, n) && gc(e, n, t[n]);
            if (mc) {
              var o, a = v(mc(t));
              try {
                for (a.s(); !(o = a.n()).done;) {
                  n = o.value;
                  pc.call(t, n) && gc(e, n, t[n])
                }
              } catch (e) {
                a.e(e)
              } finally {
                a.f()
              }
            }
            return e
          }({
            className: "bui-travel-show-card"
          }, D), k.createElement(xe.A, {
            className: "travel-card"
          }, k.createElement(sc, {
            title: null == i ? void 0 : i.moreBtnName,
            jumpUrl: null == i ? void 0 : i.moreBtnJumpUrl,
            arrowPic: d,
            petalPicLeft: m,
            petalPicRight: p,
            className: (0, B.A)("travel-card-title", h.leftMore),
            onClick: j,
            showPetals: !0
          }), null == (a = null == i ? void 0 : i.list) ? void 0 : a.slice(0, bc).map((function (e, t) {
            return k.createElement(ec, {
              key: "scenery-".concat(e.id, "-").concat(t),
              item: e,
              index: t,
              className: h.leftItem,
              prettyPrice: x,
              onClick: R
            })
          }))), k.createElement(xe.A, {
            className: "show-card"
          }, k.createElement(sc, {
            title: null == c ? void 0 : c.moreBtnName,
            jumpUrl: null == c ? void 0 : c.moreBtnJumpUrl,
            arrowPic: d,
            className: (0, B.A)("show-card-title", h.rightMore),
            onClick: L
          }), null == (r = null == c ? void 0 : c.list) ? void 0 : r.slice(0, Cc).map((function (e, t) {
            return k.createElement(uc, {
              key: "show-".concat(e.id, "-").concat(t),
              item: e,
              index: t,
              className: h.rightItem,
              prettyPrice: x,
              onClick: _
            })
          })))) : null
        };
      wc.displayName = "TravelAndShowCard";
      var Ic = wc,
        Ec = function () {
          var e, t, n, o, a = (0, k.useContext)(be),
            r = a.dmCategoryProps,
            l = (void 0 === r ? {} : r).travelAndShowCms,
            i = void 0 === l ? {} : l,
            c = a.TravelAndShowProps,
            u = void 0 === c ? {} : c,
            d = u.logConfig,
            s = void 0 === d ? {} : d,
            v = u.onLeftItemClick,
            m = void 0 === v ? function () {} : v,
            f = u.onLeftMoreClick,
            p = void 0 === f ? function () {} : f,
            g = u.onRightItemClick,
            h = void 0 === g ? function () {} : g,
            y = u.onRightMoreClick,
            b = void 0 === y ? function () {} : y,
            C = u.onFirstAppear,
            w = void 0 === C ? function () {} : C,
            I = (null == i ? void 0 : i.nodes) || [];
          return (null == (e = null == I ? void 0 : I[1]) ? void 0 : e.data) && (null == (t = null == I ? void 0 : I[0]) ? void 0 : t.data) ? k.createElement("div", {
            className: "cms-dm-travel-and-show"
          }, k.createElement(Ic, {
            logConfig: s,
            sceneryData: null == (n = null == I ? void 0 : I[0]) ? void 0 : n.data,
            showData: null == (o = null == I ? void 0 : I[1]) ? void 0 : o.data,
            onLeftItemClick: m,
            onLeftMoreClick: p,
            onRightItemClick: h,
            onRightMoreClick: b,
            onFirstAppear: w
          })) : null
        },
        Nc = Object.defineProperty,
        Oc = Object.defineProperties,
        Pc = Object.getOwnPropertyDescriptors,
        Sc = Object.getOwnPropertySymbols,
        Ac = Object.prototype.hasOwnProperty,
        xc = Object.prototype.propertyIsEnumerable,
        Tc = function (e, t, n) {
          return t in e ? Nc(e, t, {
            enumerable: !0,
            configurable: !0,
            writable: !0,
            value: n
          }) : e[t] = n
        },
        Dc = function (e, t) {
          for (var n in t || (t = {})) Ac.call(t, n) && Tc(e, n, t[n]);
          if (Sc) {
            var o, a = v(Sc(t));
            try {
              for (a.s(); !(o = a.n()).done;) {
                n = o.value;
                xc.call(t, n) && Tc(e, n, t[n])
              }
            } catch (e) {
              a.e(e)
            } finally {
              a.f()
            }
          }
          return e
        },
        jc = function (e, t) {
          return Oc(e, Pc(t))
        },
        Lc = function () {
          var e, t, o, a, r, l, i, c, u = (0, k.useContext)(be),
            d = u.dmCategoryProps,
            s = (void 0 === d ? {} : d).showThemeCardCms,
            v = void 0 === s ? {} : s,
            m = u.ShowThemeCardProps,
            f = void 0 === m ? {} : m,
            p = f.logConfig,
            g = void 0 === p ? {} : p,
            h = f.onClickExtra,
            y = f.onCardClick,
            b = null == (e = null == v ? void 0 : v.data) ? void 0 : e.title,
            C = (0, k.useState)(0),
            I = n(C, 2),
            E = I[0],
            N = I[1],
            O = {
              defaultActiveIndex: "0",
              tabList: [{
                title: b ? k.createElement(k.Fragment, null, k.createElement("img", {
                  src: b,
                  style: {
                    display: "none"
                  },
                  alt: "",
                  onLoad: function (e) {
                    N(e.currentTarget.width * (15 / e.currentTarget.height))
                  }
                }), (0, De.p)({
                  className: "cms-show-theme-card-title",
                  src: b,
                  style: {
                    width: E / 3.75 + "vw",
                    height: "4vw",
                    maxWidth: 286 / 3.75 + "vw"
                  },
                  fit: "auto 100%",
                  lazy: !0,
                  useImage: !1
                })) : null,
                index: "0"
              }]
            };
          return k.createElement(Bl, {
            className: "cms-show-theme-card",
            style: {
              backgroundImage: "url(".concat(v.data.backgroundPic, ")")
            },
            useTheming: !0,
            tabProps: O,
            headerProps: {
              title: "",
              endIcon: !!(null == (r = null == (a = null == (o = null == (t = null == v ? void 0 : v.data) ? void 0 : t.keywords) ? void 0 : o[0]) ? void 0 : a.action) ? void 0 : r.actionUrl) && k.createElement(Te.A, {
                size: "small",
                htmlColor: "#666"
              }),
              extra: k.createElement("span", {
                className: (0, w.A)(null == g ? void 0 : g.moreBtn)
              }, null == (c = null == (i = null == (l = null == v ? void 0 : v.data) ? void 0 : l.keywords) ? void 0 : i[0]) ? void 0 : c.text),
              onClick: function (e) {
                h(e, null == v ? void 0 : v.data)
              }
            }
          }, O.tabList.map((function (e) {
            return k.createElement(j.A, {
              key: e.index,
              value: e.index,
              index: e.index
            }, ((null == v ? void 0 : v.nodes) || []).map((function (e, t) {
              var n = Yl(e).vm;
              return k.createElement(ni, jc(Dc({
                className: null == g ? void 0 : g.cardItem,
                key: "hot_".concat(n.showId)
              }, n), {
                logConfig: jc(Dc({}, g), {
                  cardItem: "".concat(null == g ? void 0 : g.cardItem, "-").concat(n.showId)
                }),
                onCardClick: function (e, n) {
                  return null == y ? void 0 : y(e, n, t)
                },
                useBackgroundImage: !0,
                index: t
              }))
            })))
          })))
        },
        Rc = p(6868),
        _c = p(2760),
        Bc = p(5643),
        Fc = Object.defineProperty,
        Mc = Object.getOwnPropertySymbols,
        zc = Object.prototype.hasOwnProperty,
        Uc = Object.prototype.propertyIsEnumerable,
        Vc = function (e, t, n) {
          return t in e ? Fc(e, t, {
            enumerable: !0,
            configurable: !0,
            writable: !0,
            value: n
          }) : e[t] = n
        },
        Wc = "bui-dm-ticket-broadcast",
        Yc = (0, k.forwardRef)((function (e, t) {
          var o, a, r, l = e,
            i = l.data,
            c = l.topProjects,
            u = l.bottomProject,
            d = l.initialLocalTime,
            s = void 0 === d ? 0 : d,
            m = l.initialServerTime,
            f = void 0 === m ? Date.now() : m,
            p = l.onClickTopShow,
            g = void 0 === p ? function () {} : p,
            h = l.onClickBottomShow,
            y = void 0 === h ? function () {} : h,
            b = l.className,
            C = l.logConfig,
            w = void 0 === C ? {} : C,
            I = l.useBackgroundImage,
            E = void 0 !== I && I,
            N = function (e, t) {
              var n = {};
              for (var o in e) zc.call(e, o) && t.indexOf(o) < 0 && (n[o] = e[o]);
              if (null != e && Mc) {
                var a, r = v(Mc(e));
                try {
                  for (r.s(); !(a = r.n()).done;) {
                    o = a.value;
                    t.indexOf(o) < 0 && Uc.call(e, o) && (n[o] = e[o])
                  }
                } catch (e) {
                  r.e(e)
                } finally {
                  r.f()
                }
              }
              return n
            }(l, ["data", "topProjects", "bottomProject", "initialLocalTime", "initialServerTime", "onClickTopShow", "onClickBottomShow", "className", "logConfig", "useBackgroundImage"]),
            O = u || {},
            P = O.artistName,
            S = O.ipvuv,
            A = O.marketPromotionTags,
            x = O.name,
            T = O.priceLow,
            D = O.upTime,
            j = O.verticalPic,
            L = O.wantCountDesc,
            R = (0, k.useState)(+D <= +f),
            _ = n(R, 2),
            F = _[0],
            M = _[1],
            z = function () {
              M(!0)
            };
          return k.createElement(xe.A, function (e, t) {
            for (var n in t || (t = {})) zc.call(t, n) && Vc(e, n, t[n]);
            if (Mc) {
              var o, a = v(Mc(t));
              try {
                for (a.s(); !(o = a.n()).done;) {
                  n = o.value;
                  Uc.call(t, n) && Vc(e, n, t[n])
                }
              } catch (e) {
                a.e(e)
              } finally {
                a.f()
              }
            }
            return e
          }({
            className: (0, B.A)(Wc, b),
            ref: t
          }, N), k.createElement(tl.A, {
            title: (0, De.p)({
              className: "".concat(Wc, "-top-title"),
              src: (0, ce.zp)({
                url: "https://gw.alicdn.com/imgextra/i4/O1CN013JiU6J22ozrZ5Bkrc_!!6000000007168-2-tps-258-45.png",
                width: 100
              }),
              fit: "cover",
              lazy: !0,
              useImage: !E
            }),
            extra: c && !!c.length && k.createElement("div", {
              className: "".concat(Wc, "-top-info")
            }, k.createElement(Rc.A, {
              className: (0, B.A)("".concat(Wc, "-top-info-swiper"), "tph"),
              vertical: !0,
              circular: !0,
              autoplay: c.length > 1
            }, c.map((function (e, t) {
              return k.createElement(_c.A, {
                className: (0, B.A)("".concat(Wc, "-top-info-item"), "tph", w.topShow, "".concat(w.topShow, "-").concat(e.upTime, "-").concat(t)),
                key: t,
                onClick: function (e) {
                  return g(e, i, t)
                }
              }, e.highlightTitle && k.createElement("span", {
                className: "".concat(Wc, "-top-info-highlight-title")
              }, e.highlightTitle), e.title && k.createElement("span", {
                className: "".concat(Wc, "-top-info-title")
              }, e.title))
            }))), k.createElement(Te.A, {
              className: "".concat(Wc, "-top-info-arrow"),
              htmlColor: "#3c3f44"
            }))
          }), u && k.createElement(el.A, null, k.createElement("div", {
            className: (0, B.A)("".concat(Wc, "-show"), w.bottomShow, "".concat(w.bottomShow, "-").concat(u.itemId)),
            onClick: function (e) {
              return y(e, i)
            }
          }, k.createElement("div", {
            className: "".concat(Wc, "-show-left-poster")
          }, P ? k.createElement("div", {
            className: "".concat(Wc, "-show-circle-poster")
          }, (0, De.p)({
            className: "".concat(Wc, "-show-artist-avatar"),
            src: (0, ce.zp)({
              url: j || "",
              width: 400,
              ignorePng: !0
            }),
            fit: "cover",
            lazy: !0,
            useImage: !E
          }), k.createElement("div", {
            className: "".concat(Wc, "-show-artist-name")
          }, P)) : (0, De.p)({
            className: "".concat(Wc, "-show-square-poster"),
            src: (0, ce.zp)({
              url: j || "",
              width: 400,
              ignorePng: !0
            }),
            fit: "cover",
            lazy: !0,
            useImage: !E
          })), k.createElement("div", {
            className: "".concat(Wc, "-show-info")
          }, x && k.createElement("div", {
            className: "".concat(Wc, "-show-info-name")
          }, x), k.createElement("div", {
            className: "".concat(Wc, "-show-info-want-see")
          }, L ? k.createElement(k.Fragment, null, k.createElement("b", null, null == (o = L.split("人")) ? void 0 : o[0]), "人想看") : k.createElement(k.Fragment, null, " ")), k.createElement("div", {
            className: "".concat(Wc, "-show-info-bottom")
          }, k.createElement("div", {
            className: "".concat(Wc, "-show-info-price")
          }, function (e) {
            return Number(e) || e + "" == "0" ? k.createElement(k.Fragment, null, k.createElement("span", null, "¥", k.createElement("b", null, e)), "起") : k.createElement("span", null, e || "价格待定")
          }(T), A && !!A.length && ![Bc.b.VIP, Bc.b.VIP_PRIVILEGE].includes(null == (a = null == A ? void 0 : A[0]) ? void 0 : a.type) && k.createElement(Qn.A, {
            className: "".concat(Wc, "-show-info-price-tag"),
            variant: "contained",
            htmlColor: "#ff7292"
          }, null == (r = null == A ? void 0 : A[0]) ? void 0 : r.shortTag)), k.createElement("div", {
            className: "".concat(Wc, "-show-info-countdown")
          }, function () {
            var e = Date.now(),
              t = +D - +f - (e - s);
            if (F || !D || t <= 0) return k.createElement("div", {
              className: "".concat(Wc, "-show-info-countdown-text")
            }, S);
            if (t > 6048e5) {
              var n = new Date(+D),
                o = n.getMonth() + 1,
                a = n.getDate(),
                r = n.getHours(),
                l = n.getMinutes();
              return k.createElement("div", {
                className: "".concat(Wc, "-show-info-countdown-text")
              }, k.createElement("span", {
                className: "".concat(Wc, "-show-info-countdown-text-day")
              }, o, "月", a, "日"), k.createElement("span", {
                className: "".concat(Wc, "-show-info-countdown-text-time")
              }, r, ":", l))
            }
            return k.createElement($e.A, {
              remainingTime: t,
              onFinish: z,
              renderContent: function (e) {
                var t = e.days,
                  n = e.hoursWithDays,
                  o = e.minutes,
                  a = e.seconds;
                return k.createElement("div", {
                  className: "".concat(Wc, "-show-info-countdown-text")
                }, k.createElement("span", {
                  className: "".concat(Wc, "-show-info-countdown-text-day")
                }, +t > 0 ? "".concat(null == t ? void 0 : t.slice(1), "天") : ""), k.createElement("span", {
                  className: "".concat(Wc, "-show-info-countdown-text-dynamic-time")
                }, n, ":", o, ":", a))
              }
            })
          }()))))))
        }));
      Yc.displayName = "BuiDmTicketBroadcast";
      var Hc = Yc,
        qc = function () {
          var e, t, n = (0, k.useContext)(be),
            o = n.dmCategoryProps,
            a = void 0 === o ? {} : o,
            r = a.ticketBroadcastCms,
            l = void 0 === r ? {} : r,
            i = a.initialLocalTime,
            c = void 0 === i ? 0 : i,
            u = a.initialServerTime,
            d = void 0 === u ? Date.now() : u,
            s = n.ticketBroadcastProps,
            v = void 0 === s ? {} : s,
            m = v.onClickTopShow,
            f = void 0 === m ? function () {} : m,
            p = v.onClickBottomShow,
            g = void 0 === p ? function () {} : p,
            h = v.logConfig,
            y = void 0 === h ? {} : h,
            b = null == (t = null == (e = l.nodes) ? void 0 : e[0]) ? void 0 : t.data,
            C = b || {},
            w = C.top,
            I = C.projects;
          return k.createElement(Hc, {
            data: b,
            topProjects: I,
            bottomProject: w,
            initialLocalTime: c,
            initialServerTime: d,
            logConfig: y,
            onClickTopShow: f,
            onClickBottomShow: g,
            useBackgroundImage: !0
          })
        },
        Kc = Object.defineProperty,
        Jc = Object.getOwnPropertySymbols,
        Gc = Object.prototype.hasOwnProperty,
        Zc = Object.prototype.propertyIsEnumerable,
        Xc = function (e, t, n) {
          return t in e ? Kc(e, t, {
            enumerable: !0,
            configurable: !0,
            writable: !0,
            value: n
          }) : e[t] = n
        },
        $c = "bui-small-banner",
        Qc = (0, k.forwardRef)((function (e, t) {
          var n = e,
            o = n.list,
            a = void 0 === o ? [] : o,
            r = n.onClickItem,
            l = void 0 === r ? function () {} : r,
            i = n.logConfig,
            c = void 0 === i ? {} : i,
            u = n.className,
            d = n.useBackgroundImage,
            s = void 0 !== d && d,
            m = function (e, t) {
              var n = {};
              for (var o in e) Gc.call(e, o) && t.indexOf(o) < 0 && (n[o] = e[o]);
              if (null != e && Jc) {
                var a, r = v(Jc(e));
                try {
                  for (r.s(); !(a = r.n()).done;) {
                    o = a.value;
                    t.indexOf(o) < 0 && Zc.call(e, o) && (n[o] = e[o])
                  }
                } catch (e) {
                  r.e(e)
                } finally {
                  r.f()
                }
              }
              return n
            }(n, ["list", "onClickItem", "logConfig", "className", "useBackgroundImage"]);
          return a.length ? k.createElement("div", function (e, t) {
            for (var n in t || (t = {})) Gc.call(t, n) && Xc(e, n, t[n]);
            if (Jc) {
              var o, a = v(Jc(t));
              try {
                for (a.s(); !(o = a.n()).done;) {
                  n = o.value;
                  Zc.call(t, n) && Xc(e, n, t[n])
                }
              } catch (e) {
                a.e(e)
              } finally {
                a.f()
              }
            }
            return e
          }({
            className: (0, B.A)($c, u),
            ref: t
          }, m), a.map((function (e, t) {
            return k.createElement(xe.A, {
              className: (0, B.A)("".concat($c, "-item"), c.item, "".concat(c.item, "-").concat(e.comboDispatchId)),
              key: t,
              onClick: function (n) {
                return l(n, e, t)
              }
            }, (0, De.p)({
              className: "".concat($c, "-item-pic"),
              src: (0, ce.zp)({
                url: e.pic || "",
                width: 400,
                ignorePng: !0
              }),
              fit: "cover",
              lazy: !0,
              useImage: !s || t >= 3
            }), k.createElement("div", {
              className: "".concat($c, "-item-content")
            }, e.title && k.createElement("div", {
              className: "".concat($c, "-item-title")
            }, e.title), e.subTitle && k.createElement("div", {
              className: "".concat($c, "-item-subtitle")
            }, e.subTitle)))
          }))) : null
        }));
      Qc.displayName = "BuiSmallBanner";
      var eu = Qc,
        tu = function () {
          var e = (0, k.useContext)(be),
            t = e.dmCategoryProps,
            n = (void 0 === t ? {} : t).smallBannerCms,
            o = void 0 === n ? {} : n,
            a = e.smallBannerProps,
            r = void 0 === a ? {} : a,
            l = r.onClickItem,
            i = void 0 === l ? function () {} : l,
            c = r.logConfig,
            u = void 0 === c ? {} : c,
            d = (0, k.useMemo)((function () {
              return (o.nodes || []).map((function (e) {
                return e.data
              }))
            }), [o]);
          return k.createElement(eu, {
            list: d,
            logConfig: u,
            onClickItem: i,
            useBackgroundImage: !0
          })
        },
        nu = function () {
          var e = (0, k.useContext)(be),
            t = e.dmCategoryProps,
            n = (void 0 === t ? {} : t).swiperBannerCms,
            o = void 0 === n ? {} : n,
            a = e.SwiperBannerProps,
            r = void 0 === a ? {} : a,
            l = r.onSwiperBannerClick,
            i = void 0 === l ? function () {} : l,
            c = r.logConfig,
            u = void 0 === c ? {} : c,
            d = null == o ? void 0 : o.nodes,
            v = 1 === (null == d ? void 0 : d.length),
            m = (u || {}).cardItemLog;
          return k.createElement(Rc.A, {
            className: "cms-dm-swiper-banner tph",
            displayMultipleItems: v ? 0 : void 0,
            circular: !v,
            indicatorDots: !v,
            autoplay: !v,
            allowTouchMove: !v
          }, d.map((function (e, t) {
            var n = (null == e ? void 0 : e.data) || {},
              o = n.cover,
              a = n.id;
            return k.createElement(_c.A, {
              className: (0, w.A)(s(s({}, "".concat(m), m), "".concat(m, "_").concat(a), a && m)),
              key: a + t,
              onClick: function () {
                i(e, t)
              }
            }, k.createElement("div", {
              className: (0, w.A)({
                "cms-dm-swiper-banner-first": 0 === t,
                "cms-dm-swiper-banner-last": t === d.length - 1
              }),
              style: {
                width: "100%",
                height: "100%",
                backgroundImage: "url(".concat((0, ce.zp)({
                  url: o,
                  ignorePng: !0
                }), ")"),
                backgroundSize: "cover"
              }
            }))
          })))
        },
        ou = p(5317),
        au = p(6324),
        ru = function (e, t, n) {
          var o, a;
          e /= 255, t /= 255, n /= 255;
          var r = Math.max(e, t, n),
            l = Math.min(e, t, n),
            i = r - l;
          return r === l ? o = 0 : r === e && t >= n ? o = (t - n) / i * 60 : r === e && t < n ? o = (t - n) / i * 60 + 360 : r === t ? o = (n - e) / i * 60 + 120 : r === n && (o = (e - t) / i * 60 + 240), [o, 0 === (a = (r + l) / 2) || r === l ? 0 : a > 0 && a <= .5 ? i / (2 * a) : i / (2 - 2 * a), a]
        },
        lu = function (e, t, n) {
          e.width = t, e.height = n;
          var o = e.getContext("2d");
          return o.fillStyle = "#fff", o.fillRect(0, 0, t, n), o
        },
        iu = function (e, t) {
          return function (e, t) {
            var n = arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : 0,
              o = arguments.length > 3 && void 0 !== arguments[3] ? arguments[3] : 0;
            return new Promise((function (a, r) {
              try {
                N().createSelectorQuery().select(t).fields({
                  node: !0,
                  size: !0
                }).exec((function (t) {
                  try {
                    var l = t[0].node,
                      i = l.createImage();
                    i.onload = function () {
                      if (n && o || (n = i.width, o = i.height), n > 16 || o > 16) {
                        var e = Math.max(n, o) / 16;
                        n /= e, o /= e
                      }
                      var t = lu(l, n, o);
                      t.drawImage(i, 0, 0, n, o);
                      var r = t.getImageData(0, 0, n, o);
                      a([r, t])
                    }, i.onerror = function (e) {
                      r(e)
                    }, "string" == typeof e && (i.src = e)
                  } catch (e) {
                    r(e)
                  }
                }))
              } catch (e) {
                r(e)
              }
            }))
          }(e, t).then((function (e) {
            var t = (0, C.A)(e, 2),
              n = t[0],
              o = t[1];
            return o.fillStyle = function (e) {
              for (var t = {}, n = e.data, o = e.width, a = e.height, r = [0, 0, 0, 0, 0, 0], l = 0, i = 0, c = 0, u = 0; u < a;) {
                for (; c < o;) {
                  var d = 4 * ++c * u,
                    s = t[d] ? t[d] : t[d] = ru(n[d], n[d + 1], n[d + 2]),
                    v = (0, C.A)(s, 3),
                    m = v[0];
                  i += v[1], l += v[2], m > 320 || m < 30 ? r[0]++ : m > 30 && m <= 60 ? r[1]++ : m > 60 && m <= 150 ? r[2]++ : m > 150 && m <= 200 ? r[3]++ : m > 200 && m <= 220 ? r[4]++ : m > 220 && m <= 320 && r[5]++
                }
                c = 0, u++
              }
              if ((l /= o * a) < .2) return "#2c292f";
              if (l > .8) return "#AAAEB2";
              if ((i /= o * a) < .1) return "#AAAEB2";
              if (i < .2) return "#778894";
              if (i < .3) return "#626169";
              var f = Math.max.apply(Math, r);
              return ["#440c0c", "#725b0d", "#365030", "#074b66", "#0d1f3c", "#29263c"][r.indexOf(f)]
            }(n), Promise.resolve(o.fillStyle)
          }))
        },
        cu = Object.defineProperty,
        uu = Object.getOwnPropertySymbols,
        du = Object.prototype.hasOwnProperty,
        su = Object.prototype.propertyIsEnumerable,
        vu = function (e, t, n) {
          return t in e ? cu(e, t, {
            enumerable: !0,
            configurable: !0,
            writable: !0,
            value: n
          }) : e[t] = n
        },
        mu = "bui-poster-swiper",
        fu = (0, k.forwardRef)((function (e, t) {
          var n = e,
            o = n.list,
            a = void 0 === o ? [] : o,
            r = n.pauseDuration,
            l = void 0 === r ? 2.6 : r,
            i = n.transitionDuration,
            c = void 0 === i ? .4 : i,
            u = n.dynamicLength,
            d = void 0 === u ? a.length : u,
            s = n.gap,
            m = void 0 === s ? 6 : s,
            f = n.maxPosterWidth,
            p = void 0 === f ? 36 : f,
            g = n.maxPosterHeight,
            h = void 0 === g ? 47 : g,
            y = n.className,
            b = function (e, t) {
              var n = {};
              for (var o in e) du.call(e, o) && t.indexOf(o) < 0 && (n[o] = e[o]);
              if (null != e && uu) {
                var a, r = v(uu(e));
                try {
                  for (r.s(); !(a = r.n()).done;) {
                    o = a.value;
                    t.indexOf(o) < 0 && su.call(e, o) && (n[o] = e[o])
                  }
                } catch (e) {
                  r.e(e)
                } finally {
                  r.f()
                }
              }
              return n
            }(n, ["list", "pauseDuration", "transitionDuration", "dynamicLength", "gap", "maxPosterWidth", "maxPosterHeight", "className"]),
            C = 3 - a.length;
          return a.length ? k.createElement("div", function (e, t) {
            for (var n in t || (t = {})) du.call(t, n) && vu(e, n, t[n]);
            if (uu) {
              var o, a = v(uu(t));
              try {
                for (a.s(); !(o = a.n()).done;) {
                  n = o.value;
                  su.call(t, n) && vu(e, n, t[n])
                }
              } catch (e) {
                a.e(e)
              } finally {
                a.f()
              }
            }
            return e
          }({
            className: (0, B.A)(mu, y),
            ref: t,
            style: {
              width: (p + m * (a.length - 1)) / 3.75 + "vw",
              height: h / 3.75 + "vw",
              "--gap": "".concat(m, "px"),
              "--max-poster-width": "".concat(p, "px"),
              "--max-poster-height": "".concat(h, "px"),
              "--pause-duration": "".concat(l, "s")
            }
          }, b), a.map((function (e, t) {
            return k.createElement(Ii.A, {
              className: (0, B.A)("".concat(mu, "-item")),
              key: t,
              src: (0, ce.zp)({
                url: e.src || "",
                width: 200,
                quality: "30",
                ignorePng: !0,
                autoAdaptSize: !0
              }),
              fit: "cover",
              style: {
                animationName: d <= 1 || t >= d ? "none" : "broadcast-".concat(3 === d ? "three" : "two", "-").concat(t + 1),
                animationDuration: l * d + c * d + "s"
              }
            })
          })), C > 0 && new Array(C).fill(1).map((function (e, t) {
            return k.createElement("div", {
              className: (0, B.A)("".concat(mu, "-item"), "".concat(mu, "-item-placeholder")),
              key: a.length + t
            })
          }))) : null
        }));
      fu.displayName = "BuiPosterSwiper";
      var pu = fu,
        gu = function (e) {
          return e.SHOW = "1", e.COUPON = "2", e
        }(gu || {}),
        hu = p(3919).document,
        yu = "bui-venue-small-banner",
        bu = {
          "#440c0c": "#802540",
          "#725b0d": "#77572B",
          "#365030": "#154D4A",
          "#074b66": "#245779",
          "#0d1f3c": "#4B4C8A",
          "#29263c": "#5B4080",
          "#2c292f": "#424242",
          "#AAAEB2": "#424242",
          "#aaaeb2": "#424242",
          "#778894": "#424242",
          "#626169": "#424242",
          default: "#4B4C8A"
        },
        Cu = {
          "#440c0c": "#C9748E",
          "#725b0d": "#C2A06C",
          "#365030": "#84B1AA",
          "#074b66": "#78A3BF",
          "#0d1f3c": "#9D9DD8",
          "#29263c": "#B287CD",
          "#2c292f": "#787878",
          "#AAAEB2": "#787878",
          "#aaaeb2": "#787878",
          "#778894": "#787878",
          "#626169": "#787878",
          default: "#9D9DD8"
        },
        ku = function (e) {
          return bu[e]
        },
        wu = function (e) {
          return Cu[e]
        },
        Iu = (0, X.jZ)(),
        Eu = function (e) {
          var t, o, a, r = e.data,
            l = void 0 === r ? {} : r,
            i = e.index,
            c = e.Canvas,
            u = e.rootClass,
            d = e.logConfig,
            s = e.IntersectionObserver,
            v = e.onClick,
            m = (0, k.useState)({
              mainColor: "",
              subColor: ""
            }),
            f = n(m, 2),
            p = f[0],
            g = f[1],
            h = (0, k.useState)(!1),
            y = n(h, 2),
            b = y[0],
            C = y[1],
            w = (0, k.useState)(!1),
            I = n(w, 2),
            E = I[0],
            N = I[1],
            O = (0, k.useRef)(!1),
            P = Iu && c,
            S = "venue-small-banner-item-canvas-".concat(i),
            A = "".concat(yu, "-item-").concat(i),
            x = "rgba(0, 0, 0, 0.3)",
            T = function () {
              var e = {
                  url: l.headPic || "",
                  width: 200,
                  quality: 60,
                  ignorePng: !0,
                  autoAdaptSize: !0
                },
                t = (0, ce.zp)(e);
              iu((null == t ? void 0 : t.startsWith("//")) ? "https:".concat(t) : t, P ? ".".concat(u, " >>> #").concat(S) : null).then((function (e) {
                g({
                  mainColor: ku(e),
                  subColor: wu(e)
                })
              })).catch((function (e) {
                g({
                  mainColor: ku("default"),
                  subColor: wu("default")
                })
              })).finally((function () {
                O.current = !0
              }))
            };
          (0, k.useEffect)((function () {
            var e, t;
            if (s)
              if (Iu) {
                var n = function () {
                  O.current || T()
                };
                t = setTimeout((function () {
                  var t, o;
                  null == (o = null == (t = null == (e = s(null, {
                    threshold: [.1]
                  })) ? void 0 : e.relativeToViewport) ? void 0 : t.call(e)) || o.observe(".".concat(u, " >>> .").concat(A), n)
                }))
              } else {
                var o = hu.querySelector(".".concat(A));
                (e = new s((function (e) {
                  !O.current && (null == e ? void 0 : e[0].isIntersecting) && T()
                }), {
                  threshold: .1
                })).observe(o)
              } return function () {
              e && (e.disconnect(), e = null), t && (clearTimeout(t), t = null)
            }
          }), []);
          var D = {
              url: l.headPic || "",
              width: 700,
              ignorePng: !0,
              autoAdaptSize: !0
            },
            j = b ? bu.default : p.mainColor,
            L = b ? Cu.default : p.subColor;
          return k.createElement(xe.A, {
            className: (0, B.A)("".concat(yu, "-item"), A, d.item),
            style: {
              "--main-color": j,
              "--sub-color": L
            },
            onClick: function (e) {
              return v(e, l, i)
            }
          }, k.createElement(Ii.A, {
            className: "".concat(yu, "-item-bg"),
            src: (0, ce.zp)(D),
            style: {
              backgroundColor: !l.headPic || b ? Cu.default : ""
            },
            fit: "cover",
            onError: function () {
              C(!0)
            }
          }), k.createElement("div", {
            className: "".concat(yu, "-item-content"),
            style: {
              backgroundImage: E ? "" : "linear-gradient(to bottom, transparent, ".concat(x, " 60%, ").concat(x, " 100%)")
            }
          }, k.createElement(ou.A, {
            appear: !0,
            in: !!j,
            timeout: {
              enter: 300
            },
            easing: {
              enter: "ease-in"
            },
            onEntered: function () {
              N(!0)
            }
          }, k.createElement("div", {
            className: (0, B.A)("".concat(yu, "-item-content-bg")),
            style: {
              backgroundImage: "linear-gradient(to bottom, transparent, ".concat(j, " 60%, ").concat(j, " 100%)")
            }
          })), k.createElement("div", {
            className: "".concat(yu, "-item-content-inner")
          }, k.createElement("div", {
            className: "".concat(yu, "-item-left")
          }, l.nickname && k.createElement("div", {
            className: "".concat(yu, "-item-title")
          }, l.nickname), (l.fansNum || l.projectCount) && k.createElement("div", {
            className: "".concat(yu, "-item-info")
          }, l.fansNum && k.createElement(k.Fragment, null, k.createElement("div", {
            className: "".concat(yu, "-item-info-fan")
          }, k.createElement("b", null, +l.fansNum > 9999 ? "".concat((+l.fansNum / 1e4).toFixed(1), "万") : l.fansNum), "粉丝"), k.createElement(vr.A, {
            className: "".concat(yu, "-item-info-divider")
          })), k.createElement("div", {
            className: "".concat(yu, "-item-info-project")
          }, +l.projectCount > 0 ? k.createElement(k.Fragment, null, k.createElement("b", null, l.projectCount), "场在售演出") : "暂无在售演出"))), k.createElement("div", {
            className: "".concat(yu, "-item-right")
          }, (null == (t = l.tags) ? void 0 : t.length) > 0 && l.tagType === gu.SHOW && k.createElement("div", {
            className: "".concat(yu, "-item-show")
          }, k.createElement(pu, {
            list: l.tags.map((function (e) {
              return {
                src: e.tagTitle
              }
            }))
          })), (null == (o = l.tags) ? void 0 : o.length) > 0 && l.tagType === gu.COUPON && k.createElement("div", {
            className: "".concat(yu, "-item-coupon"),
            style: {
              backgroundImage: E ? "" : "linear-gradient(to bottom, ".concat(x, " 60%, ").concat(x, " 100%)")
            }
          }, k.createElement("div", {
            className: "".concat(yu, "-item-coupon-inner")
          }, k.createElement("div", {
            className: "".concat(yu, "-item-coupon-top")
          }, "￥", k.createElement("span", {
            className: (0, B.A)("".concat(yu, "-item-coupon-top-price"), {
              "more-than-3-number": (null == (a = l.tags[0].tagTitle) ? void 0 : a.length) > 3
            })
          }, l.tags[0].tagTitle)), k.createElement("div", {
            className: (0, B.A)("".concat(yu, "-item-coupon-divider"), {
              "not-transition-end": !E
            })
          }), k.createElement("div", {
            className: "".concat(yu, "-item-coupon-bottom")
          }, l.tags[0].tagSubTitle)), k.createElement(ou.A, {
            appear: !0,
            in: !!j,
            timeout: {
              enter: 300
            },
            easing: {
              enter: "ease-in"
            }
          }, k.createElement("div", {
            className: (0, B.A)("".concat(yu, "-item-coupon-bg")),
            style: {
              backgroundImage: "linear-gradient(to bottom, ".concat(L, ", ").concat((0, au.A)(L, .5), " 100%)")
            }
          })))))), P && !O.current && k.createElement(c, {
            id: S,
            type: "2d",
            className: "".concat(yu, "-item-canvas}")
          }))
        };
      Eu.displayName = "BuiVenueSmallBannerItem";
      var Nu = Eu,
        Ou = Object.defineProperty,
        Pu = Object.getOwnPropertySymbols,
        Su = Object.prototype.hasOwnProperty,
        Au = Object.prototype.propertyIsEnumerable,
        xu = function (e, t, n) {
          return t in e ? Ou(e, t, {
            enumerable: !0,
            configurable: !0,
            writable: !0,
            value: n
          }) : e[t] = n
        },
        Tu = "bui-venue-small-banner",
        Du = (0, k.forwardRef)((function (e, t) {
          var n = e,
            o = n.list,
            a = void 0 === o ? [] : o,
            r = n.Canvas,
            l = n.onClickItem,
            i = void 0 === l ? function () {} : l,
            c = n.rootClass,
            u = n.logConfig,
            d = void 0 === u ? {} : u,
            s = n.className,
            m = n.IntersectionObserver,
            f = function (e, t) {
              var n = {};
              for (var o in e) Su.call(e, o) && t.indexOf(o) < 0 && (n[o] = e[o]);
              if (null != e && Pu) {
                var a, r = v(Pu(e));
                try {
                  for (r.s(); !(a = r.n()).done;) {
                    o = a.value;
                    t.indexOf(o) < 0 && Au.call(e, o) && (n[o] = e[o])
                  }
                } catch (e) {
                  r.e(e)
                } finally {
                  r.f()
                }
              }
              return n
            }(n, ["list", "Canvas", "onClickItem", "rootClass", "logConfig", "className", "IntersectionObserver"]);
          return a.length ? k.createElement("div", function (e, t) {
            for (var n in t || (t = {})) Su.call(t, n) && xu(e, n, t[n]);
            if (Pu) {
              var o, a = v(Pu(t));
              try {
                for (a.s(); !(o = a.n()).done;) {
                  n = o.value;
                  Au.call(t, n) && xu(e, n, t[n])
                }
              } catch (e) {
                a.e(e)
              } finally {
                a.f()
              }
            }
            return e
          }({
            className: (0, B.A)(Tu, s),
            ref: t
          }, f), a.map((function (e, t) {
            return k.createElement(Nu, {
              key: t,
              data: e,
              index: t,
              rootClass: c,
              Canvas: r,
              logConfig: d,
              IntersectionObserver: m,
              onClick: i
            })
          }))) : null
        }));
      Du.displayName = "BuiVenueSmallBanner";
      var ju = Du,
        Lu = function () {
          var e = (0, k.useContext)(be),
            t = e.dmCategoryProps,
            n = (void 0 === t ? {} : t).venueSmallBannerCms,
            o = void 0 === n ? {} : n,
            a = e.venueSmallBannerProps,
            r = void 0 === a ? {} : a,
            l = r.Canvas,
            i = void 0 === l ? null : l,
            c = r.onClickItem,
            u = void 0 === c ? function () {} : c,
            d = r.logConfig,
            s = void 0 === d ? {} : d,
            v = r.IntersectionObserver,
            m = void 0 === v ? null : v,
            f = e.rootLogCls,
            p = o.data || {},
            g = p.title,
            h = p.keywords,
            y = (null == h ? void 0 : h[0]) || {},
            b = y.text,
            C = y.action,
            w = (void 0 === C ? {} : C).actionUrl,
            I = void 0 === w ? "" : w,
            E = (0, k.useMemo)((function () {
              return (o.nodes || []).map((function (e) {
                return e.data
              }))
            }), [o]);
          return k.createElement(xe.A, {
            className: "bui-cms-venue-small-banner"
          }, g && k.createElement(Ve, {
            title: g,
            btnText: b,
            url: I
          }), k.createElement(ju, {
            list: E,
            Canvas: i,
            rootClass: f,
            logConfig: s,
            IntersectionObserver: m,
            onClickItem: u
          }))
        },
        Ru = p(3919).window,
        _u = Object.defineProperty,
        Bu = Object.getOwnPropertySymbols,
        Fu = Object.prototype.hasOwnProperty,
        Mu = Object.prototype.propertyIsEnumerable,
        zu = function (e, t, n) {
          return t in e ? _u(e, t, {
            enumerable: !0,
            configurable: !0,
            writable: !0,
            value: n
          }) : e[t] = n
        },
        Uu = "bui-concert-brandV2",
        Vu = (0, X.jZ)(),
        Wu = (0, k.memo)((0, k.forwardRef)((function (e, t) {
          var o = e,
            a = o.className,
            r = o.list,
            l = o.title,
            i = void 0 === l ? "厂牌·场馆" : l,
            c = o.titleImgUrl,
            u = void 0 === c ? "https://img.alicdn.com/imgextra/i2/O1CN01uJJ9GV1owPlYxgyD0_!!6000000005289-2-tps-150-54.png" : c,
            d = o.modeType,
            s = void 0 === d ? "light" : d,
            m = o.logConfig,
            f = o.context,
            p = o.useBackgroundImage,
            g = void 0 !== p && p,
            h = o.autoChange,
            y = void 0 === h || h,
            b = o.onChangeBrandCallback,
            C = o.onClickBrand,
            w = o.onClickBrandTitle,
            I = function (e, t) {
              var n = {};
              for (var o in e) Fu.call(e, o) && t.indexOf(o) < 0 && (n[o] = e[o]);
              if (null != e && Bu) {
                var a, r = v(Bu(e));
                try {
                  for (r.s(); !(a = r.n()).done;) {
                    o = a.value;
                    t.indexOf(o) < 0 && Mu.call(e, o) && (n[o] = e[o])
                  }
                } catch (e) {
                  r.e(e)
                } finally {
                  r.f()
                }
              }
              return n
            }(o, ["className", "list", "title", "titleImgUrl", "modeType", "logConfig", "context", "useBackgroundImage", "autoChange", "onChangeBrandCallback", "onClickBrand", "onClickBrandTitle"]),
            E = (f || {}).event,
            N = "dark" === s,
            O = r.length,
            P = (m || {}).logoItem,
            S = (0, k.useState)(r),
            A = n(S, 2),
            x = A[0],
            T = A[1],
            D = (0, k.useState)(0),
            j = n(D, 2),
            R = j[0],
            _ = j[1],
            F = (0, k.useState)(0),
            M = n(F, 2),
            z = M[0],
            U = M[1],
            V = (0, k.useReducer)((function (e) {
              return e + 1
            }), 0),
            W = n(V, 2),
            Y = W[0],
            H = W[1],
            q = (0, k.useRef)(null),
            K = (0, k.useRef)(null),
            J = (0, k.useState)((function () {
              return Ru.innerWidth > 700
            })),
            G = n(J, 2),
            $ = G[0],
            Q = G[1],
            ee = (0, k.useState)((function () {
              return Vu && X.Yb ? .16 * wx.getSystemInfoSync().windowWidth : 60
            })),
            te = n(ee, 2),
            ne = te[0],
            oe = te[1],
            ae = (0, k.useState)((function () {
              return Vu && X.Yb ? 8 / 375 * wx.getSystemInfoSync().windowWidth : 8
            })),
            re = n(ae, 2),
            le = re[0],
            ie = re[1],
            ue = ne + le,
            de = function () {
              K.current && clearInterval(K.current), K.current = null
            },
            se = function () {
              de()
            };
          (0, k.useEffect)((function () {
            if (null == E || E.on("onStopAutoChange", se), !Vu) {
              var e = function () {
                var e = Ru.innerWidth > 700;
                oe(.16 * Ru.innerWidth), ie(8 / 375 * Ru.innerWidth), Q(e)
              };
              return Ru.addEventListener("resize", e),
                function () {
                  Ru.removeEventListener("resize", e)
                }
            }
          }), []), (0, k.useEffect)((function () {
            T(r)
          }), [r]), (0, k.useEffect)((function () {
            null == E || E.emit("concertTChange", {
              active: R
            })
          }), [R]), (0, k.useEffect)((function () {
            if (!y) return function () {
              return !1
            };
            var e = 0;
            return K.current = setInterval((function () {
                if (q.current) {
                  ++e === O && (e = 0);
                  var t = ue * e;
                  0 === e && (t = 0), U(t), null == E || E.emit("onChangeBrandCallback", {
                    item: x[e],
                    index: e,
                    type: "auto"
                  }), null == b || b(x[e], e, {
                    type: "auto"
                  })
                }
                _((function (e) {
                  var t = e + 1;
                  return t === O && (t = 0), t
                }))
              }), 4e3),
              function () {
                e = 0, de()
              }
          }), [Y]), (0, k.useImperativeHandle)(t, (function () {
            return {
              reStartAutoChange: function () {
                H()
              },
              stopAutoChange: de
            }
          }));
          var ve = function (e) {
            var t, n;
            return {
              trackInfo: (null == (n = null == (t = null == e ? void 0 : e.parsedTrackInfo) ? void 0 : t.logochange) ? void 0 : n.trackInfo) || {}
            }
          };
          return k.createElement("div", function (e, t) {
            for (var n in t || (t = {})) Fu.call(t, n) && zu(e, n, t[n]);
            if (Bu) {
              var o, a = v(Bu(t));
              try {
                for (a.s(); !(o = a.n()).done;) {
                  n = o.value;
                  Mu.call(t, n) && zu(e, n, t[n])
                }
              } catch (e) {
                a.e(e)
              } finally {
                a.f()
              }
            }
            return e
          }({
            ref: t,
            className: (0, B.A)(Uu, a, {
              "dark-mode": N
            })
          }, I), k.createElement("div", {
            className: "title-wrapper",
            onClick: function (e) {
              return w(e)
            }
          }, k.createElement("h4", {
            className: "title-text"
          }, i), k.createElement("span", {
            className: "title-img"
          }, k.createElement("img", {
            src: u,
            alt: ""
          }))), k.createElement(Z.A, {
            className: "bui-bandv2show-position-container"
          }, k.createElement(L.A, {
            className: (0, B.A)("scroll-wrapper", "tph", {
              "pd-right": x.length === R + 1
            }),
            ref: q,
            onTouchMove: de,
            onDragging: de,
            scrollX: !0,
            enableFlex: !0,
            enhanced: !0,
            showScrollbar: !1,
            scrollWithAnimation: !0,
            scrollAnimationDuration: 300,
            scrollLeft: z
          }, x.map((function (e, t) {
            var n, o, a;
            return k.createElement(Z.A, {
              dynamicData: ve(e),
              className: (0, B.A)("brand-item-wrapper", P, "".concat(P, "-").concat(null == (a = null == (o = null == (n = ve(e)) ? void 0 : n.trackInfo) ? void 0 : o.args) ? void 0 : a.id, "-").concat(t), {
                active: R === t,
                "is-big-screen": $
              }),
              key: t,
              onClick: function (n) {
                return function (e, t, n) {
                  var o = R === n;
                  (e.stopPropagation(), de(), _(n), q.current) && U(ue * n);
                  o ? (o = !1, null == C || C(e, t, n, "DmVenueBrandTab")) : (null == E || E.emit("onChangeBrandCallback", {
                    item: t,
                    index: n,
                    type: "click"
                  }), null == b || b(t, n, {
                    e: e,
                    type: "click"
                  }))
                }(n, e, t)
              }
            }, k.createElement("div", {
              className: (0, B.A)("brand-item", {
                active: R === t,
                "is-big-screen": $
              })
            }, (0, De.p)({
              className: "brand-pic",
              src: (0, ce.zp)({
                url: null == e ? void 0 : e.tabPic,
                width: 320,
                ignorePng: !0
              }),
              fit: "cover",
              lazy: !0,
              useImage: !g
            })), k.createElement("span", {
              className: "actice_arrow"
            }))
          })), Vu && k.createElement("div", {
            className: "place-holder"
          }))))
        })));
      Wu.displayName = "BuiDmVenueBrandTab";
      var Yu = Wu,
        Hu = Object.defineProperty,
        qu = Object.getOwnPropertySymbols,
        Ku = Object.prototype.hasOwnProperty,
        Ju = Object.prototype.propertyIsEnumerable,
        Gu = function (e, t, n) {
          return t in e ? Hu(e, t, {
            enumerable: !0,
            configurable: !0,
            writable: !0,
            value: n
          }) : e[t] = n
        },
        Zu = function (e, t) {
          for (var n in t || (t = {})) Ku.call(t, n) && Gu(e, n, t[n]);
          if (qu) {
            var o, a = v(qu(t));
            try {
              for (a.s(); !(o = a.n()).done;) {
                n = o.value;
                Ju.call(t, n) && Gu(e, n, t[n])
              }
            } catch (e) {
              a.e(e)
            } finally {
              a.f()
            }
          }
          return e
        },
        Xu = function (e) {
          var t = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : {};
          if (!e) return e;
          var n = e;
          return Object.keys(n).forEach((function (e) {
            (null == n ? void 0 : n[e]) || (n[e] = {});
            var o = null == t ? void 0 : t[e];
            if (o) {
              var a = (n[e] || {}).trackInfo,
                r = void 0 === a ? {} : a;
              (null == r ? void 0 : r.args) || (r.args = {}), r.args = Zu(Zu({}, r.args), o)
            }
          })), JSON.parse(JSON.stringify(n))
        },
        $u = p(3919).window,
        Qu = "bui-dm-venue-brand",
        ed = {
          "#440c0c": "background-red",
          "#725b0d": "background-red",
          "#365030": "background-green",
          "#074b66": "background-blue",
          "#0d1f3c": "background-purple",
          "#29263c": "background-purple",
          "#2c292f": "background-red",
          "#AAAEB2": "background-red",
          "#aaaeb2": "background-red",
          "#778894": "background-red",
          "#626169": "background-red",
          default: "background-red"
        },
        td = (0, X.jZ)(),
        nd = !0,
        od = "auto",
        ad = (0, k.forwardRef)((function (e, t) {
          var o, a, r, l, i, c, u, d, s, v, m, f, p, g, h, y, b, C, w, I, E, N, O, P, S, A, x = e.Canvas,
            T = void 0 === x ? null : x,
            D = e.rootClass,
            j = void 0 === D ? "" : D,
            L = e.list,
            R = void 0 === L ? [] : L,
            _ = e.index,
            F = void 0 === _ ? -1 : _,
            M = e.onClickBrand,
            z = void 0 === M ? function () {} : M,
            U = e.onClickShow,
            V = void 0 === U ? function () {} : U,
            W = e.context,
            Y = e.logConfig,
            H = void 0 === Y ? {} : Y,
            q = e.useBackgroundImage,
            K = void 0 !== q && q,
            J = (W || {}).event,
            G = H || {},
            X = G.dcouponbtnItem,
            $ = G.dprojectItem,
            Q = G.dcontentItem,
            ee = G.dbannerItem,
            te = (null == R ? void 0 : R[F]) || {},
            ne = td && T,
            oe = "".concat(Qu, "-").concat(F),
            ae = (0, k.useState)("background-red"),
            re = n(ae, 2),
            le = re[0],
            ie = re[1],
            ue = (0, k.useState)(nd ? "oneHide" : "bui-dm-venue-brand-animation"),
            de = n(ue, 2),
            se = de[0],
            ve = de[1],
            me = (0, k.useState)((function () {
              return $u.innerWidth > 700
            })),
            fe = n(me, 2),
            pe = fe[0],
            ge = fe[1];
          if ((0, k.useEffect)((function () {
              if (!td) {
                var e = function () {
                  var e = $u.innerWidth > 700;
                  ge(e)
                };
                return $u.addEventListener("resize", e),
                  function () {
                    $u.removeEventListener("resize", e)
                  }
              }
            }), []), (0, k.useEffect)((function () {
              null == J || J.emit("DmVenueBrandCardItemChange", {
                active: F
              }), be(null == te ? void 0 : te.tabPic), "click" !== od && (nd = !1), ve("bui-dm-venue-brand-animation"), (F > 0 || 0 === F && !nd || "click" === od) && ("click" !== od && F >= (R || []).length - 2 && (nd = !1), 0 === F && (nd = !0), ve("bui-dm-venue-brand-animation"))
            }), [F]), !R.length || F >= R.length) return null;
          var he = function (e) {
              return e ? +e >= 1e4 ? "".concat((+e / 1e4).toFixed(1), "万") : e : "0"
            },
            ye = function (e) {
              if (!e) return 0;
              var t = 0;
              return e.split("").forEach((function (e) {
                e.charCodeAt(0) >= 19968 && e.charCodeAt(0) <= 40959 ? t += 1 : t += "W" === e || "M" === e ? .85 : .8
              })), t
            },
            be = function (e) {
              if (e) {
                var t = (0, ce.zp)({
                  url: e,
                  width: 64,
                  height: 64,
                  ignorePng: !0
                });
                t.startsWith("https:") || (t = "https:".concat(t)), iu(t, ne ? ".".concat(j, " >>> #").concat(oe) : null).then((function (e) {
                  ie(ed[e])
                })).catch((function (e) {})).finally((function () {}))
              }
            },
            Ce = "".concat(he(null == te ? void 0 : te.fans), "粉丝");
          null == J || J.on("resetInitAniOne", (function () {
            var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : "auto";
            "click" === (od = e) && (nd = !0)
          }));
          var ke = "".concat(he(null == te ? void 0 : te.performanceCount), "场在售演出"),
            we = function (e, t) {
              var n, o, a, r, l = {};
              switch (t) {
                case "couponbtn":
                  var i = Xu(null == e ? void 0 : e.parsedTrackInfo, {
                    couponbtn: {
                      index: F
                    }
                  });
                  l = null == (n = null == i ? void 0 : i.couponbtn) ? void 0 : n.trackInfo;
                  break;
                case "project":
                  var c = Xu(null == e ? void 0 : e.parsedTrackInfo, {
                    project: {
                      index: F
                    }
                  });
                  l = null == (o = null == c ? void 0 : c.project) ? void 0 : o.trackInfo;
                  break;
                case "content":
                  var u = Xu(null == e ? void 0 : e.parsedTrackInfo, {
                    content: {
                      index: F
                    }
                  });
                  l = null == (a = null == u ? void 0 : u.content) ? void 0 : a.trackInfo;
                  break;
                case "banner":
                  var d = Xu(null == e ? void 0 : e.parsedTrackInfo, {
                    banner: {
                      index: F
                    }
                  });
                  l = null == (r = null == d ? void 0 : d.banner) ? void 0 : r.trackInfo
              }
              return {
                trackInfo: l
              }
            };
          return k.createElement(Z.A, {
            className: "".concat(Qu, " ").concat(se)
          }, "1" === "".concat(null == te ? void 0 : te.type) ? k.createElement(Z.A, {
            "data-alog": {
              index: F
            },
            className: (0, B.A)("".concat(Qu, pe ? "-super-big" : "-super"), " ".concat(ee, " "), "".concat(ee, "-").concat(null == (l = null == (r = null == (a = null == (o = null == te ? void 0 : te.parsedTrackInfo) ? void 0 : o.banner) ? void 0 : a.trackInfo) ? void 0 : r.args) ? void 0 : l.id, "-").concat(F)),
            style: {
              "--super-banner-background": "url('".concat(null == te ? void 0 : te.mainPic, "')")
            },
            dynamicData: we(te, "banner"),
            onClick: function (e) {
              null == J || J.emit("onStopAutoChange"), z(e, te, F, "DmVenueBrandBanner")
            }
          }, (null == te ? void 0 : te.mainPic) && k.createElement(Ii.A, {
            src: (0, ce.zp)({
              url: null == te ? void 0 : te.mainPic,
              height: 154,
              ignorePng: !0
            }),
            fit: "cover",
            className: "".concat(Qu, td ? "-super-banner-wx" : "-super-banner")
          }), !(null == te ? void 0 : te.mainPic) && k.createElement("div", {
            className: "".concat(Qu, "-super-default")
          })) : k.createElement(Z.A, {
            className: (0, B.A)("".concat(le), "".concat(Qu, "-card")),
            dynamicData: we(te, "couponbtn"),
            onClick: function (e) {
              null == J || J.emit("onStopAutoChange"), z(e, te, F, "DmVenueBrandCoupon")
            }
          }, k.createElement("div", {
            className: "".concat(Qu, "-card-basic")
          }, k.createElement("div", {
            className: "".concat(Qu, "-card-basic-header")
          }, function (e) {
            var t = ye(e);
            return t > 8 ? k.createElement("div", {
              className: "".concat(Qu, "-card-basic-header-title small")
            }, e) : t > 6 ? k.createElement("div", {
              className: "".concat(Qu, "-card-basic-header-title medium")
            }, e) : k.createElement("div", {
              className: "".concat(Qu, "-card-basic-header-title large")
            }, e)
          }(null == te ? void 0 : te.tabName), k.createElement(Ii.A, {
            key: "tag-".concat(F),
            src: (0, ce.zp)({
              url: function (e) {
                return 2 == +e ? "https://gw.alicdn.com/imgextra/i3/O1CN013NNuuL23pHq3fvV8q_!!6000000007304-2-tps-95-36.png" : 3 == +e ? "https://gw.alicdn.com/imgextra/i1/O1CN01jQQf201eNvmwpy8Fr_!!6000000003860-2-tps-71-36.png" : ""
              }(null == te ? void 0 : te.type),
              height: 8,
              ignorePng: !0
            }),
            className: "".concat(Qu, "-card-basic-header-tag-").concat(null == te ? void 0 : te.type)
          })), k.createElement("div", {
            className: "".concat(Qu, "-card-basic-content")
          }, function (e) {
            var t = ye(e);
            return t > 15 ? k.createElement("div", {
              className: "".concat(Qu, "-card-basic-content small")
            }, e) : t > 10 ? k.createElement("div", {
              className: "".concat(Qu, "-card-basic-content medium")
            }, e) : k.createElement("div", {
              className: "".concat(Qu, "-card-basic-content large")
            }, e)
          }("".concat(Ce, " | ").concat(ke))), k.createElement("div", {
            "data-alog": {
              index: F
            },
            className: "".concat(Qu, "-card-basic-bottom\n                ").concat(X, "\n                ").concat(X, "-").concat(null == (d = null == (u = null == (c = null == (i = null == te ? void 0 : te.parsedTrackInfo) ? void 0 : i.couponbtn) ? void 0 : c.trackInfo) ? void 0 : u.args) ? void 0 : d.id, "-").concat(F)
          }, (null == te ? void 0 : te.couponInfo) && Object.keys(null == te ? void 0 : te.couponInfo).length > 0 ? k.createElement("div", {
            className: "".concat(Qu, "-coupon")
          }, k.createElement("div", {
            className: "".concat(Qu, "-coupon-title")
          }, null == (s = null == te ? void 0 : te.couponInfo) ? void 0 : s.couponTypeName), function (e) {
            return Number(e) || "0" === String(e) ? k.createElement("div", {
              className: "".concat(Qu, "-coupon-price")
            }, k.createElement("span", null, "¥", k.createElement("b", null, +e))) : null
          }(null == (v = null == te ? void 0 : te.couponInfo) ? void 0 : v.decreaseMoneyTag), k.createElement("div", {
            className: "".concat(Qu, "-coupon-text")
          }, "去领券", k.createElement(Kt.A, {
            size: "small",
            className: "".concat(Qu, "-coupon-text-svg"),
            htmlColor: "#ffffff"
          }))) : k.createElement(Xe.A, {
            variant: "light",
            size: "full",
            className: "".concat(Qu, "-card-basic-bottom-btn")
          }, "去逛主页"))), k.createElement("div", {
            className: "".concat(Qu, "-card-info"),
            onClick: function (e) {
              e.stopPropagation()
            }
          }, k.createElement(Z.A, {
            "data-alog": {
              index: F
            },
            className: "".concat(Qu, "-card-info-item ").concat($, "\n                ").concat($, "-").concat(null == (g = null == (p = null == (f = null == (m = null == te ? void 0 : te.parsedTrackInfo) ? void 0 : m.project) ? void 0 : f.trackInfo) ? void 0 : p.args) ? void 0 : g.id, "-").concat(F),
            dynamicData: we(te, "project"),
            onClick: function (e) {
              e.stopPropagation(), null == J || J.emit("onStopAutoChange"), V(e, te, F, 1)
            }
          }, (0, De.p)({
            className: "".concat(Qu, "-card-info-item-poster"),
            src: (0, ce.zp)({
              url: null == (h = null == te ? void 0 : te.performanceInfo) ? void 0 : h.verticalPic,
              height: 128,
              ignorePng: !0
            }),
            fit: "cover",
            lazy: !0,
            useImage: !K,
            key: "verticalPic-".concat(F)
          }), k.createElement("div", {
            className: "".concat(Qu, "-card-info-item-right")
          }, k.createElement("div", {
            className: "".concat(Qu, "-card-info-item-right-title")
          }, null == (y = null == te ? void 0 : te.performanceInfo) ? void 0 : y.name), function (e) {
            return Number(e) ? k.createElement("div", {
              className: "".concat(Qu, "-card-info-item-right-price")
            }, k.createElement("span", null, "¥", k.createElement("b", null, +e)), "起") : k.createElement("div", {
              className: "".concat(Qu, "-card-info-item-right-price")
            }, k.createElement("div", {
              className: "".concat(Qu, "-card-info-item-right-price-text")
            }, e))
          }((null == (b = null == te ? void 0 : te.performanceInfo) ? void 0 : b.priceCustom) || (null == (C = null == te ? void 0 : te.performanceInfo) ? void 0 : C.priceLow)))), (null == te ? void 0 : te.content) && Object.keys(te.content).length > 0 && k.createElement(Z.A, {
            "data-alog": {
              index: F
            },
            className: "".concat(Qu, "-card-info-news ").concat(Q, "\n                ").concat(Q, "-").concat(null == (N = null == (E = null == (I = null == (w = null == te ? void 0 : te.parsedTrackInfo) ? void 0 : w.content) ? void 0 : I.trackInfo) ? void 0 : E.args) ? void 0 : N.id, "-").concat(F),
            dynamicData: we(te, "content"),
            onClick: function (e) {
              e.stopPropagation(), null == J || J.emit("onStopAutoChange"), V(e, te, F, 2)
            }
          }, (0, De.p)({
            className: "".concat(Qu, "-card-info-news-poster"),
            src: (0, ce.zp)({
              url: null == (O = null == te ? void 0 : te.content) ? void 0 : O.contentImage,
              height: 96,
              ignorePng: !0
            }),
            fit: "cover",
            lazy: !0,
            useImage: !K,
            key: "contentImage-".concat(F)
          }), k.createElement("div", {
            className: "".concat(Qu, "-card-info-news-right")
          }, k.createElement("div", {
            className: "".concat(Qu, "-card-info-news-right-title")
          }, null == (P = null == te ? void 0 : te.content) ? void 0 : P.contentName), k.createElement(Qn.A, {
            variant: "contained",
            className: "".concat(Qu, "-card-info-news-tag")
          }, "资讯"), "1" === "".concat(null == (S = null == te ? void 0 : te.content) ? void 0 : S.isVideo) && (null == (A = null == te ? void 0 : te.content) ? void 0 : A.contentImage) && k.createElement(Ii.A, {
            src: (0, ce.zp)({
              url: "https://gw.alicdn.com/imgextra/i3/O1CN01p6gPzx1gjZjlmr9Wr_!!6000000004178-2-tps-72-72.png",
              height: 16,
              ignorePng: !0
            }),
            className: "".concat(Qu, "-card-info-news-video")
          }))))), ne && k.createElement(T, {
            id: oe,
            type: "2d",
            className: "".concat(Qu, "-item-canvas}")
          }))
        }));
      ad.displayName = "BuiDmVenueBrandCard";
      var rd = ad,
        ld = Object.defineProperty,
        id = Object.getOwnPropertySymbols,
        cd = Object.prototype.hasOwnProperty,
        ud = Object.prototype.propertyIsEnumerable,
        dd = function (e, t, n) {
          return t in e ? ld(e, t, {
            enumerable: !0,
            configurable: !0,
            writable: !0,
            value: n
          }) : e[t] = n
        },
        sd = function (e) {
          var t = e,
            o = t.list,
            a = t.logConfig,
            r = t.onClickBrand,
            l = t.onClickShow,
            i = t.onClickBrandTitle,
            c = t.onFirstClickBrand,
            u = t.onTabChangeFn,
            d = t.autoChange,
            s = t.title,
            m = t.titleImgUrl,
            f = t.context,
            p = t.Canvas,
            g = t.rootClass,
            h = function (e, t) {
              var n = {};
              for (var o in e) cd.call(e, o) && t.indexOf(o) < 0 && (n[o] = e[o]);
              if (null != e && id) {
                var a, r = v(id(e));
                try {
                  for (r.s(); !(a = r.n()).done;) {
                    o = a.value;
                    t.indexOf(o) < 0 && ud.call(e, o) && (n[o] = e[o])
                  }
                } catch (e) {
                  r.e(e)
                } finally {
                  r.f()
                }
              }
              return n
            }(t, ["list", "logConfig", "onClickBrand", "onClickShow", "onClickBrandTitle", "onFirstClickBrand", "onTabChangeFn", "autoChange", "title", "titleImgUrl", "context", "Canvas", "rootClass"]),
            y = (0, k.useState)(0),
            b = n(y, 2),
            C = b[0],
            w = b[1],
            I = (f || {}).event;
          return k.createElement("div", {
            className: "bui-brand-v2-show-wrap brandV2ShowWrap"
          }, k.createElement(Yu, function (e, t) {
            for (var n in t || (t = {})) cd.call(t, n) && dd(e, n, t[n]);
            if (id) {
              var o, a = v(id(t));
              try {
                for (a.s(); !(o = a.n()).done;) {
                  n = o.value;
                  ud.call(t, n) && dd(e, n, t[n])
                }
              } catch (e) {
                a.e(e)
              } finally {
                a.f()
              }
            }
            return e
          }({
            context: f,
            list: o,
            autoChange: d,
            logConfig: a,
            onChangeBrandCallback: function (e, t, n) {
              u && u(e, t, n), "click" === n.type ? (c && c(e, t, n), null == I || I.emit("resetInitAniOne", "click")) : null == I || I.emit("resetInitAniOne", "auto"), w(t)
            },
            onClickBrand: r,
            onClickBrandTitle: i,
            title: s,
            titleImgUrl: m
          }, h)), k.createElement(rd, {
            context: f,
            Canvas: p,
            rootClass: g,
            list: o,
            index: C,
            logConfig: a,
            onClickBrand: r,
            onClickShow: l,
            key: C
          }))
        };

      function vd(e) {
        return (vd = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (e) {
          return typeof e
        } : function (e) {
          return e && "function" == typeof Symbol && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e
        })(e)
      }

      function md(e, t) {
        for (var n = 0; n < t.length; n++) {
          var o = t[n];
          o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, Cd(o.key), o)
        }
      }

      function fd(e, t) {
        return (fd = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (e, t) {
          return e.__proto__ = t, e
        })(e, t)
      }

      function pd(e) {
        var t = function () {
          if ("undefined" == typeof Reflect || !Reflect.construct) return !1;
          if (Reflect.construct.sham) return !1;
          if ("function" == typeof Proxy) return !0;
          try {
            return Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], (function () {}))), !0
          } catch (e) {
            return !1
          }
        }();
        return function () {
          var n, o = yd(e);
          if (t) {
            var a = yd(this).constructor;
            n = Reflect.construct(o, arguments, a)
          } else n = o.apply(this, arguments);
          return gd(this, n)
        }
      }

      function gd(e, t) {
        if (t && ("object" === vd(t) || "function" == typeof t)) return t;
        if (void 0 !== t) throw new TypeError("Derived constructors may only return object or undefined");
        return hd(e)
      }

      function hd(e) {
        if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
        return e
      }

      function yd(e) {
        return (yd = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function (e) {
          return e.__proto__ || Object.getPrototypeOf(e)
        })(e)
      }

      function bd(e, t, n) {
        return (t = Cd(t)) in e ? Object.defineProperty(e, t, {
          value: n,
          enumerable: !0,
          configurable: !0,
          writable: !0
        }) : e[t] = n, e
      }

      function Cd(e) {
        var t = function (e, t) {
          if ("object" != vd(e) || !e) return e;
          var n = e[Symbol.toPrimitive];
          if (void 0 !== n) {
            var o = n.call(e, t || "default");
            if ("object" != vd(o)) return o;
            throw new TypeError("@@toPrimitive must return a primitive value.")
          }
          return ("string" === t ? String : Number)(e)
        }(e, "string");
        return "symbol" == vd(t) ? t : String(t)
      }
      var kd = function (e) {
          ! function (e, t) {
            if ("function" != typeof t && null !== t) throw new TypeError("Super expression must either be null or a function");
            e.prototype = Object.create(t && t.prototype, {
              constructor: {
                value: e,
                writable: !0,
                configurable: !0
              }
            }), Object.defineProperty(e, "prototype", {
              writable: !1
            }), t && fd(e, t)
          }(n, e);
          var t = pd(n);

          function n(e) {
            var o;
            return function (e, t) {
              if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function")
            }(this, n), bd(hd(o = t.call(this, e)), "state", void 0), bd(hd(o), "props", void 0), o.state = {
              error: null
            }, o
          }
          return function (e, t, n) {
            t && md(e.prototype, t), n && md(e, n), Object.defineProperty(e, "prototype", {
              writable: !1
            })
          }(n, [{
            key: "componentDidCatch",
            value: function (e) {
              this.setState({
                error: e
              })
            }
          }, {
            key: "render",
            value: function () {
              var e = this.props,
                t = e.fallback,
                n = e.children;
              return this.state.error ? t || null : n
            }
          }]), n
        }(k.Component),
        wd = function (e, t) {
          var n, o = {},
            a = [],
            r = {},
            l = {};
          return null == e || e.forEach((function (e, n) {
            var i = e.type;
            if (i) {
              var c = i;
              if (null != o && o[i]) {
                var u, d, s, v = ((null == o || null === (u = o[i]) || void 0 === u ? void 0 : u.length) || 0) - 1,
                  m = ((null == o || null === (d = o[i]) || void 0 === d ? void 0 : d[v]) || 0) + 1;
                c = "".concat(i, "-").concat(m), null == o || null === (s = o[i]) || void 0 === s || s.push(v + 1)
              } else c = "".concat(i, "-0"), o[i] = [0];
              r[c] = e;
              var f, p = function () {
                var e, t = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {},
                  n = {};
                return null === (e = Object.keys(t)) || void 0 === e || e.forEach((function (e) {
                  var o;
                  null === (o = t[e]) || void 0 === o || null === (o = o.children) || void 0 === o || o.forEach((function (t) {
                    null != n && n[t] || (n[t] = e)
                  }))
                })), n
              }(t || {})[i];
              p ? (a.push(null), null != l && l[p] ? null === (f = l[p]) || void 0 === f || null === (f = f.children) || void 0 === f || f.push(c) : l[p] = {
                index: n,
                containerName: p,
                children: [c]
              }) : a.push(c)
            }
          })), null === (n = Object.keys(l)) || void 0 === n || n.forEach((function (e) {
            var t = l[e] || {},
              n = t.index,
              o = t.children;
            (null == o ? void 0 : o.length) > 0 && (null == a || a.splice(n, 1, l[e]))
          })), {
            renderMap: a,
            componentDataMap: r
          }
        },
        Id = function (e) {
          return function (t) {
            return {}.toString.call(t) === "[object " + e + "]"
          }
        }("Object");

      function Ed() {
        return (Ed = Object.assign ? Object.assign.bind() : function (e) {
          for (var t = 1; t < arguments.length; t++) {
            var n = arguments[t];
            for (var o in n) Object.prototype.hasOwnProperty.call(n, o) && (e[o] = n[o])
          }
          return e
        }).apply(this, arguments)
      }
      var Nd = function (e) {
          var t = e || {},
            n = t.formatType,
            o = t.parsedData,
            a = t.componentDataMap,
            r = t.index,
            l = t.componentsMap,
            i = null == n ? void 0 : n.indexOf("-"),
            c = null == n ? void 0 : n.slice(0, i),
            u = null == l ? void 0 : l[c],
            d = u || {},
            s = d.component,
            v = d.actions,
            m = void 0 === v ? {} : v,
            f = d.extra,
            p = void 0 === f ? {} : f;
          if (s) {
            var g = null == u ? void 0 : u.fallback,
              h = g ? k.createElement(g, null) : k.createElement(k.Fragment, null),
              y = k.createElement(kd, null, k.createElement(s, Ed({
                nodeType: c,
                fallback: h,
                cmsData: null == a ? void 0 : a[n],
                parsedData: o
              }, m, p)));
            return X.WD ? y : k.createElement(k.Suspense, {
              key: "".concat(c, "-").concat(r),
              fallback: h
            }, y)
          }
          return null
        },
        Od = ["className", "state", "componentsMap", "containerMap"];

      function Pd() {
        return (Pd = Object.assign ? Object.assign.bind() : function (e) {
          for (var t = 1; t < arguments.length; t++) {
            var n = arguments[t];
            for (var o in n) Object.prototype.hasOwnProperty.call(n, o) && (e[o] = n[o])
          }
          return e
        }).apply(this, arguments)
      }

      function Sd(e, t) {
        if (null == e) return {};
        var n, o, a = function (e, t) {
          if (null == e) return {};
          var n, o, a = {},
            r = Object.keys(e);
          for (o = 0; o < r.length; o++) n = r[o], t.indexOf(n) >= 0 || (a[n] = e[n]);
          return a
        }(e, t);
        if (Object.getOwnPropertySymbols) {
          var r = Object.getOwnPropertySymbols(e);
          for (o = 0; o < r.length; o++) n = r[o], t.indexOf(n) >= 0 || Object.prototype.propertyIsEnumerable.call(e, n) && (a[n] = e[n])
        }
        return a
      }
      var Ad = k.forwardRef((function (e, t) {
        var n = e || {},
          o = n.className,
          a = n.state,
          r = n.componentsMap,
          l = n.containerMap,
          i = Sd(n, Od),
          c = a.cmsParsedData,
          u = (void 0 === c ? {} : c).componentsData,
          d = void 0 === u ? [] : u;
        return null != d && d.length ? k.createElement("div", Pd({
          className: (0, w.A)(o || ""),
          ref: t
        }, i), !!d.length && function (e) {
          var t = e || {},
            n = t.parsedData,
            o = t.componentsData,
            a = t.componentsMap,
            r = t.containerMap;
          if ((null == o ? void 0 : o.length) > 0) {
            var l = wd(o, r),
              i = l.renderMap,
              c = l.componentDataMap;
            return null == i ? void 0 : i.map((function (e, t) {
              if (!Id(e)) return Nd({
                parsedData: n,
                formatType: e,
                componentDataMap: c,
                index: t,
                componentsMap: a
              });
              var o, l, i = null == e ? void 0 : e.containerName,
                u = null == r || null === (o = r[i]) || void 0 === o ? void 0 : o.component;
              return u ? k.createElement(u, {
                key: i
              }, null == e || null === (l = e.children) || void 0 === l ? void 0 : l.map((function (e) {
                return Nd({
                  formatType: e,
                  parsedData: n,
                  componentDataMap: c,
                  index: t,
                  componentsMap: a
                })
              }))) : []
            }))
          }
          return []
        }({
          parsedData: a,
          componentsData: d,
          componentsMap: r,
          containerMap: l
        })) : null
      }));
      Ad.displayName = "CMSInner";
      var xd = Ad,
        Td = p(644),
        Dd = p.n(Td),
        jd = p(3919).URLSearchParams;

      function Ld(e) {
        return (Ld = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (e) {
          return typeof e
        } : function (e) {
          return e && "function" == typeof Symbol && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e
        })(e)
      }

      function Rd(e, t) {
        var n = Object.keys(e);
        if (Object.getOwnPropertySymbols) {
          var o = Object.getOwnPropertySymbols(e);
          t && (o = o.filter((function (t) {
            return Object.getOwnPropertyDescriptor(e, t).enumerable
          }))), n.push.apply(n, o)
        }
        return n
      }

      function _d(e) {
        for (var t = 1; t < arguments.length; t++) {
          var n = null != arguments[t] ? arguments[t] : {};
          t % 2 ? Rd(Object(n), !0).forEach((function (t) {
            zd(e, t, n[t])
          })) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Rd(Object(n)).forEach((function (t) {
            Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t))
          }))
        }
        return e
      }

      function Bd(e, t) {
        return function (e) {
          if (Array.isArray(e)) return e
        }(e) || function (e, t) {
          var n = null == e ? null : "undefined" != typeof Symbol && e[Symbol.iterator] || e["@@iterator"];
          if (null != n) {
            var o, a, r, l, i = [],
              c = !0,
              u = !1;
            try {
              if (r = (n = n.call(e)).next, 0 === t) {
                if (Object(n) !== n) return;
                c = !1
              } else
                for (; !(c = (o = r.call(n)).done) && (i.push(o.value), i.length !== t); c = !0);
            } catch (e) {
              u = !0, a = e
            } finally {
              try {
                if (!c && null != n.return && (l = n.return(), Object(l) !== l)) return
              } finally {
                if (u) throw a
              }
            }
            return i
          }
        }(e, t) || function (e, t) {
          if (e) {
            if ("string" == typeof e) return Fd(e, t);
            var n = Object.prototype.toString.call(e).slice(8, -1);
            return "Object" === n && e.constructor && (n = e.constructor.name), "Map" === n || "Set" === n ? Array.from(e) : "Arguments" === n || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? Fd(e, t) : void 0
          }
        }(e, t) || 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 Fd(e, t) {
        (null == t || t > e.length) && (t = e.length);
        for (var n = 0, o = new Array(t); n < t; n++) o[n] = e[n];
        return o
      }

      function Md(e, t) {
        for (var n = 0; n < t.length; n++) {
          var o = t[n];
          o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, Ud(o.key), o)
        }
      }

      function zd(e, t, n) {
        return (t = Ud(t)) in e ? Object.defineProperty(e, t, {
          value: n,
          enumerable: !0,
          configurable: !0,
          writable: !0
        }) : e[t] = n, e
      }

      function Ud(e) {
        var t = function (e, t) {
          if ("object" != Ld(e) || !e) return e;
          var n = e[Symbol.toPrimitive];
          if (void 0 !== n) {
            var o = n.call(e, t || "default");
            if ("object" != Ld(o)) return o;
            throw new TypeError("@@toPrimitive must return a primitive value.")
          }
          return ("string" === t ? String : Number)(e)
        }(e, "string");
        return "symbol" == Ld(t) ? t : String(t)
      }
      var Vd = function () {
        function e(t, n) {
          (function (e, t) {
            if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function")
          })(this, e), zd(this, "business", void 0), zd(this, "cmsNode", void 0), zd(this, "cmsParsedData", void 0), this.business = n, this.cmsNode = t, this.cmsParsedData = {
            floorsData: [],
            componentsData: []
          }, this.byLevel(this.cmsNode, void 0)
        }
        return function (e, t, n) {
          t && Md(e.prototype, t), n && Md(e, n), Object.defineProperty(e, "prototype", {
            writable: !1
          })
        }(e, [{
          key: "getFloors",
          value: function () {
            return this.cmsParsedData.floorsData
          }
        }, {
          key: "getComponents",
          value: function () {
            return this.cmsParsedData.componentsData
          }
        }, {
          key: "generateLogkey",
          value: function (e) {
            var t = e || {},
              n = t.business,
              o = void 0 === n ? "dianying" : n,
              a = t.spmC,
              r = t.spmD,
              l = t.actionType,
              i = /_\d+$/.test(a) ? null == a ? void 0 : a.replace(/_\d+$/, "") : a,
              c = null != r && r.endsWith("_") ? null == r ? void 0 : r.replace(/.$/, "") : r;
            return "/".concat(o, ".").concat(i, "_").concat(c, ".").concat(l)
          }
        }, {
          key: "parseTrackInfo",
          value: function (e, t) {
            var n, o, a, r = arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : {},
              l = arguments.length > 3 ? arguments[3] : void 0,
              i = e || {},
              c = i.cardConfig,
              u = void 0 === c ? {} : c,
              d = i.spmC,
              s = u["".concat(r.type)] || {},
              v = s[t] || {},
              m = v.d,
              f = v.cn,
              p = v.en,
              g = v.acu,
              h = v.ack,
              y = (v.act, v.ag),
              b = void 0 === y ? {} : y,
              C = /^\$urlEncode\((.+)\)$/,
              k = /^\$\{(.+)\}$/,
              w = /comboParent\./,
              I = {
                dispatch_id: null == r || null === (n = r.data) || void 0 === n ? void 0 : n.comboDispatchId,
                dispatch_system: null == r || null === (o = r.data) || void 0 === o ? void 0 : o.comboDispatchSystem
              },
              E = f || this.generateLogkey({
                business: this.business,
                spmC: d,
                spmD: m,
                actionType: "clk"
              }),
              N = p || this.generateLogkey({
                business: this.business,
                spmC: d,
                spmD: m,
                actionType: "exp"
              });
            try {
              if (Object.keys(b).forEach((function (e) {
                  var t, n = b[e],
                    o = w.test(n) ? r.data : l;
                  I[e] = k.test(n) ? Dd()(o, null === (t = n.replace(w, "").match(k)) || void 0 === t ? void 0 : t[1]) : n
                })), g) {
                var O = g.split("?"),
                  P = Bd(O, 2),
                  S = P[0],
                  A = P[1],
                  x = new jd(A),
                  T = [];
                Array.from(x.keys()).forEach((function (e) {
                  var t, n, o, a, i = x.get(e) || "",
                    c = w.test(i) ? r.data : l;
                  C.test(i) ? (i = (null === (n = i.match(C)) || void 0 === n ? void 0 : n[1]) || "", t = k.test(i) ? encodeURIComponent(Dd()(c, (null === (o = i.replace(w, "").match(k)) || void 0 === o ? void 0 : o[1]) || "")) : encodeURIComponent(i)) : t = k.test(i) ? Dd()(c, (null === (a = i.replace(w, "").match(k)) || void 0 === a ? void 0 : a[1]) || "") : i, T.push("".concat(e, "=").concat(t))
                })), a = "".concat(S).concat(T.length ? "?".concat(T.join("&")) : "")
              } else h && (a = null == l ? void 0 : l[h])
            } catch (e) {}
            return {
              trackInfo: {
                spmc: d,
                spmd: m,
                clickEventName: E,
                exposeEventName: N,
                args: I
              },
              actionUrl: a
            }
          }
        }, {
          key: "byLevel",
          value: function (e, t) {
            var n = this,
              o = this.cmsParsedData,
              a = t || {},
              r = a.parentLevel,
              l = a.parentType,
              i = a.parentNodeId,
              c = a.hasParseLevel2,
              u = a.outerLevel2,
              d = a.crConfig;
            if (e && (e.parentLevel = r, e.parentType = l), "1" === "".concat(null == e ? void 0 : e.level)) o.floorsData.push(e);
            else if ("2" === "".concat(null == e ? void 0 : e.level)) {
              var s, v;
              if (i && (e.parentNodeId = i), c && null != e && null !== (s = e.nodes) && void 0 !== s && s.length) {
                var m, f = (null == e || null === (m = e.data) || void 0 === m ? void 0 : m.action) || {};
                Object.keys(f).forEach((function (t) {
                  var n, o, a, r;
                  f[t] && f[t].trackInfo && (f[t].trackInfo.spmc = null !== (n = f[t].trackInfo) && void 0 !== n && n.spmc ? null == f || null === (o = f[t]) || void 0 === o || null === (o = o.trackInfo) || void 0 === o ? void 0 : o.spmc : (null == e || null === (a = e.data) || void 0 === a || null === (a = a.action) || void 0 === a || null === (a = a.item) || void 0 === a || null === (a = a.trackInfo) || void 0 === a ? void 0 : a.spmc) || (null == u || null === (r = u.data) || void 0 === r || null === (r = r.action) || void 0 === r || null === (r = r.item) || void 0 === r || null === (r = r.trackInfo) || void 0 === r ? void 0 : r.spmc))
                }))
              }
              if (null !== (v = e.data) && void 0 !== v && v.action) {
                var p, g, h, y = (null === (p = e.data) || void 0 === p ? void 0 : p.action) || {},
                  b = y.clickEventName,
                  C = y.exposeEventNam,
                  k = null === (g = e.data.action.item) || void 0 === g || null === (g = g.trackInfo) || void 0 === g ? void 0 : g.spmc,
                  w = Object.keys(e.data.action),
                  I = {};
                w.forEach((function (t) {
                  var o, a, r = null === (o = e.data.action) || void 0 === o || null === (o = o[t]) || void 0 === o ? void 0 : o.trackInfo,
                    l = null == r ? void 0 : r.spmd,
                    i = r.clickEventName,
                    c = r.exposeEventName,
                    u = b || i ? b || i : n.generateLogkey({
                      business: n.business,
                      spmC: k,
                      spmD: l,
                      actionType: "clk"
                    }),
                    d = C || c ? C || c : n.generateLogkey({
                      business: n.business,
                      spmC: k,
                      spmD: l,
                      actionType: "exp"
                    });
                  I[t] = _d(_d({}, e.data.action[t]), {}, {
                    spmc: k,
                    trackInfo: _d(_d({}, (null === (a = e.data.action) || void 0 === a || null === (a = a[t]) || void 0 === a ? void 0 : a.trackInfo) || {}), {}, {
                      clickEventName: u,
                      exposeEventName: d
                    })
                  })
                })), e.data.parsedTrackInfo = I, null !== (h = e.data) && void 0 !== h && h.keywords && e.data.keywords.forEach((function (e) {
                  if (e.action) {
                    var t, o = null === (t = e.action) || void 0 === t ? void 0 : t.trackInfo,
                      a = null == o ? void 0 : o.spmd,
                      r = o.clickEventName,
                      l = o.exposeEventName,
                      i = b || r ? b || r : n.generateLogkey({
                        business: n.business,
                        spmC: k,
                        spmD: a,
                        actionType: "clk"
                      }),
                      c = C || l ? C || l : n.generateLogkey({
                        business: n.business,
                        spmC: k,
                        spmD: a,
                        actionType: "exp"
                      });
                    e.parsedTrackInfo = _d(_d({}, e.action), {}, {
                      trackInfo: _d(_d({}, e.action.trackInfo), {}, {
                        spmc: k,
                        clickEventName: i,
                        exposeEventName: c
                      })
                    })
                  }
                }))
              }
              c || o.componentsData.push(e)
            } else if (d && "3" === "".concat(null == e ? void 0 : e.level) && e.data) {
              e.data.level3InData = e.level, e.data.level3TypeInData = e.type, e.data.parentTypeInData = l;
              var E = d.cardConfig,
                N = void 0 === E ? {} : E,
                O = (d.spmC, N["".concat(e.type)] || N[0]);
              if (O) {
                var P = Object.keys(O || {}),
                  S = {};
                P.forEach((function (t) {
                  if (t.endsWith("[]")) {
                    var o, a = t.slice(0, t.length - 2),
                      r = (null === (o = e.data) || void 0 === o ? void 0 : o[a]) || [];
                    S[a] = r.map((function (o, a) {
                      return n.parseTrackInfo(d, t, e, o)
                    }))
                  } else S[t] = n.parseTrackInfo(d, t, e, e.data)
                })), e.data.parsedTrackInfo = S
              }
            }
            null != e && e.nodes && e.nodes.forEach((function (t) {
              var o, a, r;
              n.byLevel(t, {
                parentNodeId: "1" === "".concat(null == e ? void 0 : e.level) ? null == e || null === (o = e.data) || void 0 === o ? void 0 : o.nodeId : "",
                parentLevel: null == e ? void 0 : e.level,
                parentType: null == e ? void 0 : e.type,
                hasParseLevel2: "2" === "".concat(null == e ? void 0 : e.level),
                outerLevel2: c || "2" !== "".concat(null == e ? void 0 : e.level) ? null : e,
                crConfig: null != e && e.cr ? {
                  cardConfig: e.cr.c,
                  spmC: (null === (a = e.data) || void 0 === a || null === (a = a.action) || void 0 === a || null === (a = a.item) || void 0 === a || null === (a = a.trackInfo) || void 0 === a ? void 0 : a.spmc) || (null == u || null === (r = u.data) || void 0 === r || null === (r = r.action) || void 0 === r || null === (r = r.item) || void 0 === r || null === (r = r.trackInfo) || void 0 === r ? void 0 : r.spmc)
                } : null
              })
            }))
          }
        }]), e
      }();
      var Wd = function (e) {
        var t = (0, k.useRef)(e);
        t.current = (0, k.useMemo)((function () {
          return e
        }), [e]);
        var n = (0, k.useRef)();
        return n.current || (n.current = function () {
          for (var e = arguments.length, n = new Array(e), o = 0; o < e; o++) n[o] = arguments[o];
          return t.current.apply(this, n)
        }), n.current
      };

      function Yd(e) {
        return (Yd = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (e) {
          return typeof e
        } : function (e) {
          return e && "function" == typeof Symbol && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e
        })(e)
      }

      function Hd(e, t) {
        for (var n = 0; n < t.length; n++) {
          var o = t[n];
          o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, Kd(o.key), o)
        }
      }

      function qd(e, t, n) {
        return (t = Kd(t)) in e ? Object.defineProperty(e, t, {
          value: n,
          enumerable: !0,
          configurable: !0,
          writable: !0
        }) : e[t] = n, e
      }

      function Kd(e) {
        var t = function (e, t) {
          if ("object" != Yd(e) || !e) return e;
          var n = e[Symbol.toPrimitive];
          if (void 0 !== n) {
            var o = n.call(e, t || "default");
            if ("object" != Yd(o)) return o;
            throw new TypeError("@@toPrimitive must return a primitive value.")
          }
          return ("string" === t ? String : Number)(e)
        }(e, "string");
        return "symbol" == Yd(t) ? t : String(t)
      }
      var Jd = function () {
        function e(t, n, o) {
          (function (e, t) {
            if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function")
          })(this, e), qd(this, "CMSParser", void 0), qd(this, "update", void 0), qd(this, "business", void 0), this.business = o, this.CMSParser = t ? new Vd(t, o) : void 0, this.update = null != n ? n : function () {}, e.instance = this
        }
        return function (e, t, n) {
          t && Hd(e.prototype, t), n && Hd(e, n), Object.defineProperty(e, "prototype", {
            writable: !1
          })
        }(e, [{
          key: "subscribeUpdate",
          value: function (e) {
            this.update = e
          }
        }, {
          key: "updateCMSData",
          value: function (e) {
            e && (this.CMSParser = new Vd(e, this.business))
          }
        }, {
          key: "updateCMSDataRefresh",
          value: function (e) {
            this.CMSParser = e, this.refresh()
          }
        }, {
          key: "refresh",
          value: function () {
            this.update()
          }
        }, {
          key: "getCMSData",
          value: function () {
            return this.CMSParser
          }
        }], [{
          key: "getInstance",
          value: function () {
            if (this.instance) return this.instance
          }
        }]), e
      }();

      function Gd(e, t) {
        return function (e) {
          if (Array.isArray(e)) return e
        }(e) || function (e, t) {
          var n = null == e ? null : "undefined" != typeof Symbol && e[Symbol.iterator] || e["@@iterator"];
          if (null != n) {
            var o, a, r, l, i = [],
              c = !0,
              u = !1;
            try {
              if (r = (n = n.call(e)).next, 0 === t) {
                if (Object(n) !== n) return;
                c = !1
              } else
                for (; !(c = (o = r.call(n)).done) && (i.push(o.value), i.length !== t); c = !0);
            } catch (e) {
              u = !0, a = e
            } finally {
              try {
                if (!c && null != n.return && (l = n.return(), Object(l) !== l)) return
              } finally {
                if (u) throw a
              }
            }
            return i
          }
        }(e, t) || function (e, t) {
          if (e) {
            if ("string" == typeof e) return Zd(e, t);
            var n = Object.prototype.toString.call(e).slice(8, -1);
            return "Object" === n && e.constructor && (n = e.constructor.name), "Map" === n || "Set" === n ? Array.from(e) : "Arguments" === n || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? Zd(e, t) : void 0
          }
        }(e, t) || 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 Zd(e, t) {
        (null == t || t > e.length) && (t = e.length);
        for (var n = 0, o = new Array(t); n < t; n++) o[n] = e[n];
        return o
      }
      qd(Jd, "instance", void 0);
      var Xd = function () {
        var e = Gd((0, k.useState)({}), 2)[1];
        return (0, k.useCallback)((function () {
          return e({})
        }), [])
      };

      function $d(e, t) {
        var n, o = Xd(),
          a = function () {
            var n = Jd.getInstance();
            return n ? (e && (null == n || n.updateCMSData(e)), n) : new Jd(e, o, t)
          }();
        return {
          state: null == a ? void 0 : a.getCMSData(),
          update: Wd(null == a || null === (n = a.updateCMSDataRefresh) || void 0 === n ? void 0 : n.bind(a))
        }
      }
      var Qd = ["className", "data", "business", "cmsMapping", "cmsContainerMapping", "cmsContainers", "actions", "extra"];

      function es() {
        return (es = Object.assign ? Object.assign.bind() : function (e) {
          for (var t = 1; t < arguments.length; t++) {
            var n = arguments[t];
            for (var o in n) Object.prototype.hasOwnProperty.call(n, o) && (e[o] = n[o])
          }
          return e
        }).apply(this, arguments)
      }

      function ts(e, t) {
        if (null == e) return {};
        var n, o, a = function (e, t) {
          if (null == e) return {};
          var n, o, a = {},
            r = Object.keys(e);
          for (o = 0; o < r.length; o++) n = r[o], t.indexOf(n) >= 0 || (a[n] = e[n]);
          return a
        }(e, t);
        if (Object.getOwnPropertySymbols) {
          var r = Object.getOwnPropertySymbols(e);
          for (o = 0; o < r.length; o++) n = r[o], t.indexOf(n) >= 0 || Object.prototype.propertyIsEnumerable.call(e, n) && (a[n] = e[n])
        }
        return a
      }
      k.forwardRef((function (e, t) {
        e.className;
        var n = e.data,
          o = e.business,
          a = e.cmsMapping,
          r = e.cmsContainerMapping,
          l = e.cmsContainers,
          i = e.actions,
          c = e.extra,
          u = ts(e, Qd),
          d = $d(n, o).state,
          s = void 0 === d ? {} : d,
          v = s.cmsParsedData,
          m = (void 0 === v ? {} : v).componentsData,
          f = void 0 === m ? [] : m;
        if (null == f || !f.length) return null;
        var p = function (e) {
            var t = e || {},
              n = t.cmsMapping,
              o = t.cmsContainerMapping,
              a = t.cmsContainers,
              r = t.componentsData,
              l = void 0 === r ? [] : r,
              i = t.actions,
              c = t.extra,
              u = {};
            l.forEach((function (e) {
              var t = (null == e ? void 0 : e.type) || "__",
                o = (null == n ? void 0 : n[t]) || {},
                a = {},
                r = {};
              ((null == o ? void 0 : o.actions) || []).forEach((function (e) {
                a[e] = null == i ? void 0 : i[e]
              })), ((null == o ? void 0 : o.extra) || []).forEach((function (e) {
                r[e] = null == c ? void 0 : c[e]
              })), u[t] = {
                component: o.component,
                actions: a,
                extra: r
              }
            }));
            var d = {};
            return (a || []).map((function (e) {
              null != o && o[e] && (d[e] = o[e])
            })), {
              componentsMap: u,
              containerMap: d
            }
          }({
            cmsMapping: a,
            cmsContainerMapping: r,
            cmsContainers: l,
            componentsData: f,
            actions: i,
            extra: c
          }),
          g = p.componentsMap,
          h = p.containerMap;
        return k.createElement(xd, es({
          className: "cms-view",
          state: s,
          componentsMap: g,
          containerMap: h
        }, u))
      })).displayName = "CMSPage";
      var ns = ["className", "data", "business", "componentsMap", "containerMap"];

      function os() {
        return (os = Object.assign ? Object.assign.bind() : function (e) {
          for (var t = 1; t < arguments.length; t++) {
            var n = arguments[t];
            for (var o in n) Object.prototype.hasOwnProperty.call(n, o) && (e[o] = n[o])
          }
          return e
        }).apply(this, arguments)
      }

      function as(e, t) {
        if (null == e) return {};
        var n, o, a = function (e, t) {
          if (null == e) return {};
          var n, o, a = {},
            r = Object.keys(e);
          for (o = 0; o < r.length; o++) n = r[o], t.indexOf(n) >= 0 || (a[n] = e[n]);
          return a
        }(e, t);
        if (Object.getOwnPropertySymbols) {
          var r = Object.getOwnPropertySymbols(e);
          for (o = 0; o < r.length; o++) n = r[o], t.indexOf(n) >= 0 || Object.prototype.propertyIsEnumerable.call(e, n) && (a[n] = e[n])
        }
        return a
      }
      k.forwardRef((function (e, t) {
        var n = e.className,
          o = e.data,
          a = e.business,
          r = e.componentsMap,
          l = e.containerMap,
          i = as(e, ns),
          c = $d(o, a).state,
          u = void 0 === c ? {} : c;
        return k.createElement(xd, os({
          className: (0, w.A)("cms-view", n),
          ref: t,
          state: u,
          componentsMap: r,
          containerMap: l
        }, i))
      })).displayName = "CMSView";
      var rs = p(3919).window;

      function ls(e) {
        return function (e) {
          if (Array.isArray(e)) return us(e)
        }(e) || function (e) {
          if ("undefined" != typeof Symbol && null != e[Symbol.iterator] || null != e["@@iterator"]) return Array.from(e)
        }(e) || cs(e) || 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 is(e, t) {
        return function (e) {
          if (Array.isArray(e)) return e
        }(e) || function (e, t) {
          var n = null == e ? null : "undefined" != typeof Symbol && e[Symbol.iterator] || e["@@iterator"];
          if (null != n) {
            var o, a, r, l, i = [],
              c = !0,
              u = !1;
            try {
              if (r = (n = n.call(e)).next, 0 === t) {
                if (Object(n) !== n) return;
                c = !1
              } else
                for (; !(c = (o = r.call(n)).done) && (i.push(o.value), i.length !== t); c = !0);
            } catch (e) {
              u = !0, a = e
            } finally {
              try {
                if (!c && null != n.return && (l = n.return(), Object(l) !== l)) return
              } finally {
                if (u) throw a
              }
            }
            return i
          }
        }(e, t) || cs(e, t) || 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 cs(e, t) {
        if (e) {
          if ("string" == typeof e) return us(e, t);
          var n = Object.prototype.toString.call(e).slice(8, -1);
          return "Object" === n && e.constructor && (n = e.constructor.name), "Map" === n || "Set" === n ? Array.from(e) : "Arguments" === n || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? us(e, t) : void 0
        }
      }

      function us(e, t) {
        (null == t || t > e.length) && (t = e.length);
        for (var n = 0, o = new Array(t); n < t; n++) o[n] = e[n];
        return o
      }

      function ds(e) {
        return (ds = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (e) {
          return typeof e
        } : function (e) {
          return e && "function" == typeof Symbol && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e
        })(e)
      }

      function ss(e, t) {
        var n = Object.keys(e);
        if (Object.getOwnPropertySymbols) {
          var o = Object.getOwnPropertySymbols(e);
          t && (o = o.filter((function (t) {
            return Object.getOwnPropertyDescriptor(e, t).enumerable
          }))), n.push.apply(n, o)
        }
        return n
      }

      function vs(e) {
        for (var t = 1; t < arguments.length; t++) {
          var n = null != arguments[t] ? arguments[t] : {};
          t % 2 ? ss(Object(n), !0).forEach((function (t) {
            ms(e, t, n[t])
          })) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : ss(Object(n)).forEach((function (t) {
            Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t))
          }))
        }
        return e
      }

      function ms(e, t, n) {
        return (t = function (e) {
          var t = function (e, t) {
            if ("object" != ds(e) || !e) return e;
            var n = e[Symbol.toPrimitive];
            if (void 0 !== n) {
              var o = n.call(e, t || "default");
              if ("object" != ds(o)) return o;
              throw new TypeError("@@toPrimitive must return a primitive value.")
            }
            return ("string" === t ? String : Number)(e)
          }(e, "string");
          return "symbol" == ds(t) ? t : String(t)
        }(t)) in e ? Object.defineProperty(e, t, {
          value: n,
          enumerable: !0,
          configurable: !0,
          writable: !0
        }) : e[t] = n, e
      }
      var fs = X.WD ? p.g : rs;
      fs.uniqueId = 0, fs.DynamicDivTree = {
        children: {}
      };
      var ps = function (e) {
          for (var t = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : fs.DynamicDivTree, n = e, o = t; n.length;) o.children[n[0]] || (o.children[n[0]] = {
            children: {}
          }), o = o.children[n[0]], n = n.slice(1);
          return o
        },
        gs = function (e, t) {
          var n = t.match(/[$#.]?[^$#.]+/g);
          return e.match(/[$#.]?[^$#.]+/g).every((function (e) {
            return n.some((function (t) {
              return e === t
            }))
          }))
        },
        hs = function () {
          var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : fs.DynamicDivTree,
            t = function t(n) {
              var o = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : e,
                a = arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : {},
                r = n.replace(" >>> ", " "),
                l = vs(vs({}, a), o.data);
              if (void 0 !== o.data && "object" !== ds(o.data) && (l.data = o.data), !r.length) return [bs(vs(vs({}, o), {}, {
                dataPack: l
              }))];
              var i = r.indexOf(" ");
              i < 0 && (i = 1 / 0);
              var c = r.slice(0, i),
                u = r.slice(i + 1),
                d = Object.entries(o.children).sort((function (e, t) {
                  return e[1].index - t[1].index
                }));
              return d.map((function (e) {
                var n = is(e, 2),
                  o = n[0],
                  a = n[1];
                return [].concat(ls(gs(c, o) ? t(u, a, l) : []), ls(t(r, a, l)))
              })).flat(1).filter((function (e) {
                return e
              })).filter((function (e, t, n) {
                return n.findIndex((function (t) {
                  return t.key === e.key
                })) === t
              }))
            };
          return t
        },
        ys = hs(),
        bs = function (e) {
          return e.querySelectorAll = hs(e), e.closest = function () {
            var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : fs.DynamicDivTree,
              t = function (t) {
                for (var n, o = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : e, a = o.path, r = t, l = a.length - 1; l >= 0 && r.length;) {
                  var i = r.lastIndexOf(" "),
                    c = i > 0 ? r.slice(0, i) : "",
                    u = r.slice(i + 1);
                  gs(u, a[l]) && (n = l, r = c), l--
                }
                if (l >= 0 && void 0 !== n) return ps(o.path.slice(0, n + 1))
              };
            return t
          }(e), e
        };
      bs(fs.DynamicDivTree), fs.q = ys;
      var Cs = Object.defineProperty,
        ks = Object.defineProperties,
        ws = Object.getOwnPropertyDescriptors,
        Is = Object.getOwnPropertySymbols,
        Es = Object.prototype.hasOwnProperty,
        Ns = Object.prototype.propertyIsEnumerable,
        Os = function (e, t, n) {
          return t in e ? Cs(e, t, {
            enumerable: !0,
            configurable: !0,
            writable: !0,
            value: n
          }) : e[t] = n
        },
        Ps = function () {
          var e, t, n, o = (0, k.useContext)(be),
            a = o.dmCategoryProps,
            r = (void 0 === a ? {} : a).brandV2ShowCms,
            l = void 0 === r ? {} : r,
            i = o.venueBrandProps,
            c = void 0 === i ? {} : i,
            u = c.Canvas,
            d = void 0 === u ? null : u,
            s = c.onClickBrand,
            m = void 0 === s ? function () {} : s,
            f = c.onClickShow,
            p = void 0 === f ? function () {} : f,
            g = c.onClickTitleBar,
            h = void 0 === g ? function () {} : g,
            y = c.onFirstClickBrand,
            b = void 0 === y ? function () {} : y,
            C = c.onTabChangeFn,
            w = void 0 === C ? function () {} : C,
            I = c.logConfig,
            E = void 0 === I ? {} : I,
            N = c.autoChange,
            O = void 0 === N || N,
            P = o.context,
            S = o.rootLogCls,
            A = (0, k.useMemo)((function () {
              return function (e, t) {
                return e ? new Vd(e, t) : void 0
              }(l || {}, "yanchu") || {}
            }), [l]).cmsParsedData,
            x = (null == A ? void 0 : A.componentsData) || [];
          n = x[0] || l;
          var T = (0, k.useMemo)((function () {
              return (n.nodes || []).map((function (e) {
                var t, n, o;
                return function (e, t) {
                  return ks(e, ws(t))
                }(function (e, t) {
                  for (var n in t || (t = {})) Es.call(t, n) && Os(e, n, t[n]);
                  if (Is) {
                    var o, a = v(Is(t));
                    try {
                      for (a.s(); !(o = a.n()).done;) {
                        n = o.value;
                        Ns.call(t, n) && Os(e, n, t[n])
                      }
                    } catch (e) {
                      a.e(e)
                    } finally {
                      a.f()
                    }
                  }
                  return e
                }({}, e.data), {
                  showArrow: !!(null == (o = null == (n = null == (t = e.data) ? void 0 : t.parsedTrackInfo) ? void 0 : n.item) ? void 0 : o.actionUrl)
                })
              })).filter((function (e) {
                return 1 == +e.type || e.hasOwnProperty("performanceInfo") && Object.keys(e.performanceInfo).length > 0
              }))
            }), [l]),
            D = (null == (e = null == n ? void 0 : n.data) ? void 0 : e.title) || "厂牌·场馆",
            j = (null == (t = null == n ? void 0 : n.data) ? void 0 : t.backPic) || "https://img.alicdn.com/imgextra/i2/O1CN01uJJ9GV1owPlYxgyD0_!!6000000005289-2-tps-150-54.png";
          return T.length ? k.createElement(sd, {
            context: P,
            Canvas: d,
            rootClass: S,
            list: T,
            onTabChangeFn: w,
            autoChange: O,
            logConfig: E,
            onClickBrand: m,
            onClickBrandTitle: h,
            onClickShow: p,
            onFirstClickBrand: b,
            title: D,
            titleImgUrl: j
          }) : null
        },
        Ss = p(4694),
        As = p(1841),
        xs = p(7568),
        Ts = p(8870),
        Ds = Object.defineProperty,
        js = Object.getOwnPropertySymbols,
        Ls = Object.prototype.hasOwnProperty,
        Rs = Object.prototype.propertyIsEnumerable,
        _s = function (e, t, n) {
          return t in e ? Ds(e, t, {
            enumerable: !0,
            configurable: !0,
            writable: !0,
            value: n
          }) : e[t] = n
        },
        Bs = function (e, t) {
          for (var n in t || (t = {})) Ls.call(t, n) && _s(e, n, t[n]);
          if (js) {
            var o, a = v(js(t));
            try {
              for (a.s(); !(o = a.n()).done;) {
                n = o.value;
                Rs.call(t, n) && _s(e, n, t[n])
              }
            } catch (e) {
              a.e(e)
            } finally {
              a.f()
            }
          }
          return e
        },
        Fs = "bui-scroll-ballarea",
        Ms = (0, X.jZ)(),
        zs = (0, k.forwardRef)((function (e, t) {
          var o = e,
            a = o.className,
            r = o.style,
            l = o.maxVisibleCount,
            i = void 0 === l ? 5 : l,
            c = o.onClick,
            u = void 0 === c ? function () {} : c,
            d = o.children,
            s = o.scrollViewProps,
            m = function (e, t) {
              var n = {};
              for (var o in e) Ls.call(e, o) && t.indexOf(o) < 0 && (n[o] = e[o]);
              if (null != e && js) {
                var a, r = v(js(e));
                try {
                  for (r.s(); !(a = r.n()).done;) {
                    o = a.value;
                    t.indexOf(o) < 0 && Rs.call(e, o) && (n[o] = e[o])
                  }
                } catch (e) {
                  r.e(e)
                } finally {
                  r.f()
                }
              }
              return n
            }(o, ["className", "style", "maxVisibleCount", "onClick", "children", "scrollViewProps"]),
            f = (0, k.useState)(0),
            p = n(f, 2),
            g = p[0],
            h = p[1],
            y = (0, xs.A)((function (e) {
              var t, n, o, a, r, l, i, c;
              Ms ? (l = (null == (t = null == e ? void 0 : e.detail) ? void 0 : t.scrollWidth) || 0, i = (null == (n = null == e ? void 0 : e.detail) ? void 0 : n.scrollLeft) || 0, c = 375) : (l = (null == (o = null == e ? void 0 : e.target) ? void 0 : o.scrollWidth) || 0, i = (null == (a = null == e ? void 0 : e.target) ? void 0 : a.scrollLeft) || 0, c = (null == (r = null == e ? void 0 : e.target) ? void 0 : r.clientWidth) || 0);
              var u = i / (l - c) / 2 * 100;
              h((function () {
                return u < 0 ? 0 : u > 50 ? 50 : u
              }))
            }), 5);
          return k.createElement(Ts.L, {
            value: {
              direction: "vertical",
              maxVisibleCount: i,
              allowScroll: !0
            }
          }, k.createElement("div", Bs({
            ref: t,
            onClick: u,
            className: (0, B.A)(Fs, "".concat(Fs, "-scroll"), a),
            style: r
          }, m), k.createElement(L.A, Bs({
            className: (0, B.A)("".concat(Fs, "-with-scroll tph")),
            scrollX: !0,
            onScroll: y
          }, s), d), k.Children.count(d) > i && k.createElement("div", {
            className: (0, B.A)("".concat(Fs, "-scrollbar"))
          }, k.createElement("div", {
            className: (0, B.A)("".concat(Fs, "-scrollbar-nav")),
            style: {
              left: "".concat(g, "%")
            }
          }))))
        }));
      zs.displayName = "BuiScrollBallArea";
      var Us = zs,
        Vs = "cms-scroll-ball-area",
        Ws = function () {
          var e = (0, k.useContext)(be),
            t = e.dmCategoryProps,
            o = (void 0 === t ? {} : t).scrollBallAreaCms,
            a = void 0 === o ? {} : o,
            r = e.scrollBallAreaProps,
            l = void 0 === r ? {} : r,
            i = l.onBallClick,
            c = void 0 === i ? function () {} : i,
            u = l.logConfig,
            d = void 0 === u ? {} : u,
            s = a.nodes || [],
            v = s.length <= 5,
            m = function (e, t) {
              c(e, t), (null == e ? void 0 : e.schema) && (0, wt.VJ)({
                url: e.schema
              })
            },
            f = function () {
              return s.map((function (e, t) {
                var o, a = null == e ? void 0 : e.data,
                  r = [null == a ? void 0 : a.icon1, null == a ? void 0 : a.icon2].filter((function (e) {
                    return !!e
                  }));
                return r.length >= 2 ? o = r.slice(0, 2) : 1 === r.length && (o = n(r, 1)[0]), k.createElement(As.A, {
                  key: t,
                  className: (0, w.A)(d.item),
                  size: "medium",
                  direction: "vertical",
                  imgUrl: (0, ce.zp)({
                    url: null == a ? void 0 : a.pic,
                    width: 100,
                    height: 100
                  }),
                  flagAnimation: "scale",
                  subTitle: o,
                  onClick: function () {
                    m(a, t)
                  },
                  style: {
                    "--item-top-offset": Ss.Ay.isAndroid ? "0" : "9px",
                    "--flag-top": Array.isArray(o) && o.length >= 2 ? "-7px" : "0"
                  }
                }, null == a ? void 0 : a.title)
              }))
            };
          return v ? k.createElement("div", {
            className: "".concat(Vs, "-short")
          }, f()) : k.createElement(Us, {
            className: Vs,
            scrollViewProps: {
              enhanced: !0,
              enableFlex: !0
            }
          }, f())
        },
        Ys = p(8039),
        Hs = Object.defineProperty,
        qs = Object.getOwnPropertySymbols,
        Ks = Object.prototype.hasOwnProperty,
        Js = Object.prototype.propertyIsEnumerable,
        Gs = function (e, t, n) {
          return t in e ? Hs(e, t, {
            enumerable: !0,
            configurable: !0,
            writable: !0,
            value: n
          }) : e[t] = n
        },
        Zs = "bui-vertical-attraction-card",
        Xs = k.forwardRef((function (e, t) {
          var n, o, a, r = e || {},
            l = r.className,
            i = r.data,
            c = void 0 === i ? {} : i,
            u = r.logConfig,
            d = r.onItemClick,
            s = r.onMoreClick,
            m = function (e, t) {
              var n = {};
              for (var o in e) Ks.call(e, o) && t.indexOf(o) < 0 && (n[o] = e[o]);
              if (null != e && qs) {
                var a, r = v(qs(e));
                try {
                  for (r.s(); !(a = r.n()).done;) {
                    o = a.value;
                    t.indexOf(o) < 0 && Js.call(e, o) && (n[o] = e[o])
                  }
                } catch (e) {
                  r.e(e)
                } finally {
                  r.f()
                }
              }
              return n
            }(r, ["className", "data", "logConfig", "onItemClick", "onMoreClick"]),
            f = c.data,
            p = c.nodes,
            g = void 0 === p ? [] : p,
            h = null == (a = null == (o = null == (n = null == g ? void 0 : g[0]) ? void 0 : n.data) ? void 0 : o.parsedTrackInfo) ? void 0 : a.more,
            y = function (e, t) {
              null == d || d(e, t), (null == e ? void 0 : e.id) && (0, wt.VJ)({
                page: "shows_scenery",
                query: {
                  id: null == e ? void 0 : e.id
                },
                spmC: "vertical_tourist_card",
                spmD: "item"
              })
            };
          return k.createElement("div", function (e, t) {
            for (var n in t || (t = {})) Ks.call(t, n) && Gs(e, n, t[n]);
            if (qs) {
              var o, a = v(qs(t));
              try {
                for (a.s(); !(o = a.n()).done;) {
                  n = o.value;
                  Js.call(t, n) && Gs(e, n, t[n])
                }
              } catch (e) {
                a.e(e)
              } finally {
                a.f()
              }
            }
            return e
          }({
            className: (0, B.A)(Zs, l),
            ref: t
          }, m), k.createElement("div", {
            className: "half-bg",
            style: {
              background: (null == f ? void 0 : f.backgroundPic) ? "url(".concat((0, ce.zp)({
                url: f.backgroundPic
              }), ") no-repeat") : "#fff",
              backgroundSize: "100% 100%"
            }
          }), k.createElement("div", {
            className: "attraction-header"
          }, (null == f ? void 0 : f.title) ? k.createElement(Ii.A, {
            className: "attraction-header-img-title",
            fit: "heightFix",
            src: (0, ce.zp)({
              url: f.title,
              width: 240,
              height: 40
            })
          }) : k.createElement("span", {
            className: "attraction-header-title"
          }, null == f ? void 0 : f.tabName), (null == f ? void 0 : f.moreBtnName) && k.createElement("div", {
            className: (0, B.A)("attraction-header-more", u.more),
            onClick: function () {
              return function (e) {
                null == s || s(h), (null == e ? void 0 : e.actionUrl) && (0, wt.VJ)({
                  url: e.actionUrl
                })
              }(f)
            }
          }, f.moreBtnName, k.createElement(Te.A, {
            className: "attraction-header-more-icon",
            htmlColor: "#666666"
          }))), k.createElement("div", {
            className: "attraction-list"
          }, g.map((function (e, t) {
            var n = (null == e ? void 0 : e.data) || {};
            return k.createElement("div", {
              className: (0, B.A)("attraction-item", u.item),
              key: null == n ? void 0 : n.id,
              onClick: function () {
                null == y || y(n, t)
              }
            }, k.createElement("div", {
              className: "attraction-item-poster"
            }, k.createElement(Ii.A, {
              className: "attraction-img",
              fit: "cover",
              src: (0, ce.zp)({
                url: n.verticalPic,
                width: 160,
                height: 160
              })
            }), (null == n ? void 0 : n.nameTag) && k.createElement(Qn.A, {
              className: "attraction-poster-tag",
              variant: "contained"
            }, n.nameTag)), k.createElement("div", {
              className: "attraction-item-info"
            }, k.createElement("div", {
              className: "attraction-item-name"
            }, n.name), k.createElement("div", {
              className: "attraction-item-price"
            }, (null == n ? void 0 : n.priceLow) && /^\d+(.\d+)?$/g.test(null == n ? void 0 : n.priceLow) ? k.createElement(k.Fragment, null, k.createElement("span", {
              className: "price-unit"
            }, "¥"), k.createElement("span", {
              className: "price-number"
            }, n.priceLow), k.createElement("span", {
              className: "price-desc"
            }, "起")) : k.createElement("span", {
              className: "price-number fz-sm"
            }, (null == n ? void 0 : n.priceLow) || "价格待定"), k.createElement(Ys.A, {
              className: "attraction-price-tag",
              marketPromotionTags: n.marketPromotionTags,
              useShortTag: !0
            }))))
          }))))
        }));
      Xs.displayName = "VerticalAttractionCard";
      var $s = (0, k.memo)(Xs),
        Qs = function () {
          var e = (0, k.useContext)(be),
            t = e.dmCategoryProps.verticalAttractionCardCms,
            n = void 0 === t ? {} : t,
            o = e.verticalAttractionCardProps,
            a = void 0 === o ? {} : o,
            r = a.onCardClick,
            l = void 0 === r ? function () {} : r,
            i = a.onMoreClick,
            c = void 0 === i ? function () {} : i,
            u = a.logConfig,
            d = void 0 === u ? {} : u;
          return k.createElement($s, {
            className: "cms-vertical-attraction",
            logConfig: d,
            data: n || {},
            onItemClick: l,
            onMoreClick: c
          })
        },
        ev = p(7654),
        tv = function (e) {
          return e[e.loadTip = 7589] = "loadTip", e[e.travelList = 7897] = "travelList", e
        }(tv || {}),
        nv = function (e) {
          return e.hasMore ? k.createElement("span", null, "加载中...") : ""
        },
        ov = function () {
          var e = (0, k.useContext)(be),
            t = e.dmCategoryProps.showCardCms,
            n = void 0 === t ? {} : t,
            o = e.categories,
            a = e.activeTab,
            r = e.horizontalAttractionCardProps,
            l = void 0 === r ? {} : r,
            i = l.onCardClick,
            c = void 0 === i ? function () {} : i,
            u = l.logConfig,
            d = void 0 === u ? {} : u,
            s = (null == n ? void 0 : n.nodes) || [],
            v = null == o ? void 0 : o[a],
            m = "category_tourism_performance" === (null == v ? void 0 : v.patternName);
          return k.createElement("div", {
            className: "cms-attraction-wrapper"
          }, null == s ? void 0 : s.map((function (e, t) {
            var n = (null == e ? void 0 : e.data) || {};
            return "travelList" === tv[null == e ? void 0 : e.type] ? "" : "loadTip" === tv[null == e ? void 0 : e.type] ? k.createElement("div", {
              key: "".concat(null == n ? void 0 : n.id, "-").concat(t),
              className: "cms-attraction-nearby"
            }, k.createElement("div", {
              className: "cms-attraction-nearby-load"
            }, null == n ? void 0 : n.loadTip), k.createElement("div", {
              className: "cms-attraction-nearby-tip"
            }, null == n ? void 0 : n.nearByTip)) : k.createElement(ev.A, {
              key: t,
              className: (0, w.A)("cms-horizontal-attraction", {
                "cms-horizontal-attraction-travel": m && (null == n ? void 0 : n.isReferItem)
              }),
              data: n,
              onClick: function (e) {
                c(e, t)
              },
              logConfig: d
            })
          })), k.createElement("div", {
            className: "cms-attraction-infinite"
          }, k.createElement(nv, {
            hasMore: "true" === (null == n ? void 0 : n.more)
          })))
        };

      function av(e) {
        if (!e) return e;
        var t;
        try {
          t = JSON.parse(e)
        } catch (e) {}
        var n = {
          price: [],
          service: []
        };
        return t.forEach((function (e) {
          Object.keys(e).forEach((function (t) {
            if (-1 !== ["price", "service"].indexOf(t)) {
              var o = e[t].split("|");
              n[t] = n[t].concat(o)
            }
          }))
        })), n
      }
      var rv = function (e, t) {
          var n = e || {},
            o = n.startDate,
            a = n.endDate,
            r = n.dateType,
            l = n.sortType,
            i = n.optionParam,
            c = n.cityCircleId;
          return {
            cityCircle: null == t ? void 0 : t.find((function (e) {
              return (null == e ? void 0 : e.value) === c
            })),
            calendar: [o ? new Date(o) : null, a && o !== a ? new Date(a) : null],
            calendarSlider: o || a ? null : r,
            sort: l || "10",
            rightFilter: av(i)
          }
        },
        lv = Object.defineProperty,
        iv = Object.defineProperties,
        cv = Object.getOwnPropertyDescriptors,
        uv = Object.getOwnPropertySymbols,
        dv = Object.prototype.hasOwnProperty,
        sv = Object.prototype.propertyIsEnumerable,
        vv = function (e, t, n) {
          return t in e ? lv(e, t, {
            enumerable: !0,
            configurable: !0,
            writable: !0,
            value: n
          }) : e[t] = n
        },
        mv = function (e, t) {
          for (var n in t || (t = {})) dv.call(t, n) && vv(e, n, t[n]);
          if (uv) {
            var o, a = v(uv(t));
            try {
              for (a.s(); !(o = a.n()).done;) {
                n = o.value;
                sv.call(t, n) && vv(e, n, t[n])
              }
            } catch (e) {
              a.e(e)
            } finally {
              a.f()
            }
          }
          return e
        },
        fv = function (e, t) {
          return iv(e, cv(t))
        },
        pv = "dm-travel-filter",
        gv = function (e) {
          return e[e.loadTip = 7589] = "loadTip", e[e.travelList = 7897] = "travelList", e[e.showList = 7588] = "showList", e
        }(gv || {}),
        hv = function () {
          var e, t, o = (0, k.useContext)(be),
            a = o.dmCategoryProps,
            r = void 0 === a ? {} : a,
            l = r.travelFilter,
            i = r.categories,
            c = o.setScrollToView,
            u = o.marginTop,
            d = o.FilterPanelProps,
            v = void 0 === d ? {} : d,
            m = v.globalCity,
            f = v.onFilterFetchData,
            p = void 0 === f ? function (e, t) {} : f,
            g = v.logConfig,
            h = void 0 === g ? {} : g,
            y = v.setShowFilterPopup,
            b = void 0 === y ? null : y,
            C = o.CmsTravelFilter,
            I = void 0 === C ? {} : C,
            E = I.setTravelIndex,
            N = I.onShowCardClick,
            O = I.logConfig,
            P = o.ShowCardProps,
            S = (void 0 === P ? {} : P).logConfig,
            A = void 0 === S ? {} : S,
            x = o.horizontalAttractionCardProps,
            T = void 0 === x ? {} : x,
            D = T.onCardClick,
            B = void 0 === D ? function () {} : D,
            F = T.logConfig,
            M = void 0 === F ? {} : F,
            z = o.partRefreshCms,
            U = o.activeTab,
            V = o.citySite,
            W = o.getPosition,
            Y = o.referTouristId,
            H = o.referItemId,
            q = o.profitItemId,
            K = o.context,
            J = h.timeRangeLog,
            G = h.sortLog,
            $ = h.filterLog,
            Q = h.timeSelectLog,
            ee = null == A ? void 0 : A.cardItemLog,
            te = (0, k.useState)({}),
            ne = n(te, 2),
            oe = ne[0],
            ae = ne[1],
            re = (0, k.useState)(""),
            le = n(re, 2),
            ie = le[0],
            ue = le[1],
            de = (0, k.useState)("0"),
            se = n(de, 2),
            ve = se[0],
            me = se[1],
            fe = K.event,
            pe = function (e, t) {
              var n, o, a, r, u = t.index,
                d = null == i ? void 0 : i[U],
                s = null == (a = null == (o = null == (n = null == l ? void 0 : l.nodes) ? void 0 : n[u]) ? void 0 : o.data) ? void 0 : a.groupId,
                v = "4660" === s ? {
                  referTouristId: Y,
                  referItemId: H,
                  profitItemId: q
                } : {};
              z({
                dr: [{
                  targetSectionId: null == (r = null == l ? void 0 : l.data) ? void 0 : r.nodeId,
                  targetLayerId: null == l ? void 0 : l.parentNodeId
                }],
                patternName: null == d ? void 0 : d.patternName,
                patternVersion: null == d ? void 0 : d.patternVersion,
                travelFilterChanged: !0,
                args: mv(fv(mv({}, oe[u]), {
                  partRefreshCms: !0,
                  currentCityId: (null == V ? void 0 : V.damaiId) || (null == m ? void 0 : m.damaiId),
                  comboCityId: (null == V ? void 0 : V.damaiId) || (null == m ? void 0 : m.damaiId),
                  groupId: s
                }), v)
              }), X.WD && (ue(""), setTimeout((function () {
                ue("travel-item-".concat(u))
              }))), c(""), null == E || E(u), me(String(u))
            },
            ge = function () {
              c(""), setTimeout((function () {
                c("cms-dm-travel-filter")
              }))
            },
            he = function (e, t) {
              var n, o, a = ((null == (o = null == (n = null == l ? void 0 : l.nodes) ? void 0 : n[ve]) ? void 0 : o.data) || {}).groupId;
              ae((function (n) {
                return fv(mv({}, n), s({}, t, fv(mv({}, e), {
                  groupId: a,
                  sortType: null == e ? void 0 : e.sortType
                })))
              })), null == p || p(e, {})
            };
          return (0, k.useEffect)((function () {
            me("0"), ae({})
          }), [null == m ? void 0 : m.name]), k.createElement("div", {
            className: (0, w.A)(pv)
          }, k.createElement(L.A, {
            className: (0, w.A)("".concat(pv, "-tabs-scroll")),
            scrollX: !0,
            enhanced: !0,
            enableFlex: !0,
            showScrollbar: !1,
            scrollIntoView: ie,
            scrollWithAnimation: !0,
            scrollAnimationDuration: 300
          }, k.createElement(R.A, {
            className: "".concat(pv, "-tabs"),
            value: ve
          }, null == (e = null == l ? void 0 : l.nodes) ? void 0 : e.map((function (e, t) {
            var n, o, a;
            return k.createElement(_.A, {
              className: (0, w.A)("".concat(pv, "-tab"), s({}, "".concat(pv, "-tab-active"), String(t) === ve)),
              id: "travel-item-".concat(t),
              key: String(t),
              index: String(t),
              onClick: pe
            }, k.createElement(Z.A, {
              className: (0, w.A)(s({}, "".concat(null == O ? void 0 : O.item), null == O ? void 0 : O.item)),
              dynamicData: {
                item: {
                  trackInfo: {
                    spmc: "tab",
                    spmd: "item_",
                    clickEventName: "/yanchu.tab_item.clk",
                    exposeEventName: "/yanchu.tab_item.exp"
                  }
                },
                dispatch_id: null == (n = null == e ? void 0 : e.data) ? void 0 : n.comboDispatchId
              }
            }, k.createElement(Ii.A, {
              className: "".concat(pv, "-img"),
              src: (0, ce.zp)({
                url: null == (o = null == e ? void 0 : e.data) ? void 0 : o.ballIcon
              })
            }), k.createElement("div", {
              className: "".concat(pv, "-title")
            }, null == (a = null == e ? void 0 : e.data) ? void 0 : a.ballName)))
          })))), null == (t = null == l ? void 0 : l.nodes) ? void 0 : t.map((function (e, t) {
            var n, o, a, r, i, c, d, v, f = "2" === (null == (n = null == e ? void 0 : e.data) ? void 0 : n.ballType),
              p = null == (a = null == (o = null == e ? void 0 : e.data) ? void 0 : o.primary) ? void 0 : a.cityCircle;
            return k.createElement(j.A, {
              value: ve,
              index: String(t)
            }, k.createElement("div", {
              className: (0, w.A)("".concat(pv, "-sticky-top")),
              id: "cms-dm-travel-filter",
              style: {
                height: u,
                marginTop: "-".concat(u)
              }
            }), k.createElement(Ca, {
              className: (0, w.A)("".concat(pv, "-panel"), "traveltab-panel"),
              data: {
                primary: fv(mv({}, null == (r = null == e ? void 0 : e.data) ? void 0 : r.primary), {
                  calendar: null == (i = null == l ? void 0 : l.data) ? void 0 : i.calendar,
                  cityCircle: p
                })
              },
              isGetStorage: !1,
              globalCity: m,
              logConfig: {
                filterLog: $,
                sortLog: G,
                timeSelectLog: Q,
                timeRangeLog: J
              },
              disableWindowScrollTo: !0,
              getPosition: W,
              style: {
                top: u
              },
              defaultParams: rv(oe[ve], p),
              setShowFilterPopup: b,
              event: fe,
              scrollToTop: ge,
              onFilterFetchData: function (e) {
                return he(e, t)
              }
            }, f && k.createElement(Oa, {
              className: "".concat(J),
              event: fe
            }), p && k.createElement(La, {
              logConfig: h,
              trackInfo: null == (d = null == (c = null == e ? void 0 : e.data) ? void 0 : c.parsedTrackInfo) ? void 0 : d.economiczone
            }), k.createElement(Ka, null), k.createElement(er, {
              className: "traveltab-recommend"
            })), k.createElement("div", {
              className: (0, w.A)("".concat(pv, "-card-list-bg")),
              style: {
                marginTop: u
              }
            }), k.createElement("div", {
              className: (0, w.A)("".concat(pv, "-card-list")),
              style: {
                minHeight: "calc(100vh - ".concat(u, ")")
              }
            }, null == (v = null == e ? void 0 : e.nodes) ? void 0 : v.map((function (e, t) {
              var n, o = (null == e ? void 0 : e.data) || {};
              if ("travelList" === gv[null == e ? void 0 : e.type]) return "";
              if ("showList" === gv[null == e ? void 0 : e.type]) return null;
              if ("loadTip" === gv[null == e ? void 0 : e.type]) return k.createElement("div", {
                key: "".concat(null == o ? void 0 : o.id, "-").concat(t),
                className: "".concat(pv, "-nearby")
              }, k.createElement("div", {
                className: "".concat(pv, "-nearby-load")
              }, null == o ? void 0 : o.loadTip), k.createElement("div", {
                className: "".concat(pv, "-nearby-tip")
              }, null == o ? void 0 : o.nearByTip));
              var a = null == o ? void 0 : o.id;
              return f ? k.createElement(kl.A, {
                className: (0, w.A)(s(s(s({}, "".concat(ee), ee), "".concat(ee, "_").concat(a), ee && a), "".concat(pv, "-refer-project"), H === (null == o ? void 0 : o.id) && 0 === t)),
                data: (0, wl.G)(o),
                key: t,
                onClick: function () {
                  null == N || N(e, t)
                }
              }) : k.createElement(ev.A, {
                className: (0, w.A)(s({}, "".concat(pv, "-refer-card"), "true" === (null == (n = null == e ? void 0 : e.data) ? void 0 : n.isReferItem))),
                data: null == e ? void 0 : e.data,
                key: t,
                logConfig: M,
                onClick: function (e) {
                  B(e, t)
                }
              })
            })), k.createElement("div", null, "true" === e.more ? k.createElement("span", {
              className: "".concat(pv, "-infinite")
            }, "加载更多...") : "")))
          })))
        },
        yv = Object.defineProperty,
        bv = function (e, t, n) {
          return function (e, t, n) {
            t in e ? yv(e, t, {
              enumerable: !0,
              configurable: !0,
              writable: !0,
              value: n
            }) : e[t] = n
          }(e, "symbol" !== d(t) ? t + "" : t, n), n
        },
        Cv = new(function () {
          return a((function e() {
            o(this, e), bv(this, "events", {})
          }), [{
            key: "on",
            value: function (e, t) {
              this.events[e] || (this.events[e] = []), this.events[e].push(t)
            }
          }, {
            key: "emit",
            value: function (e, t) {
              var n = this.events[e];
              n && n.length > 0 && n.forEach((function (e) {
                e(t)
              }))
            }
          }, {
            key: "off",
            value: function (e, t) {
              var n = this.events[e];
              n && (this.events[e] = n.filter((function (e) {
                return e !== t
              })))
            }
          }])
        }()),
        kv = Object.defineProperty,
        wv = Object.getOwnPropertySymbols,
        Iv = Object.prototype.hasOwnProperty,
        Ev = Object.prototype.propertyIsEnumerable,
        Nv = function (e, t, n) {
          return t in e ? kv(e, t, {
            enumerable: !0,
            configurable: !0,
            writable: !0,
            value: n
          }) : e[t] = n
        },
        Ov = function (e) {
          var t = e,
            o = t.className,
            a = t.src,
            r = t.onClick,
            l = t.fallback,
            i = t.style,
            c = t.lazy,
            u = function (e, t) {
              var n = {};
              for (var o in e) Iv.call(e, o) && t.indexOf(o) < 0 && (n[o] = e[o]);
              if (null != e && wv) {
                var a, r = v(wv(e));
                try {
                  for (r.s(); !(a = r.n()).done;) {
                    o = a.value;
                    t.indexOf(o) < 0 && Ev.call(e, o) && (n[o] = e[o])
                  }
                } catch (e) {
                  r.e(e)
                } finally {
                  r.f()
                }
              }
              return n
            }(t, ["className", "src", "onClick", "fallback", "style", "lazy"]),
            d = (0, k.useState)(!1),
            s = n(d, 2),
            m = s[0],
            f = s[1];
          return m ? l : k.createElement(Ii.A, function (e, t) {
            for (var n in t || (t = {})) Iv.call(t, n) && Nv(e, n, t[n]);
            if (wv) {
              var o, a = v(wv(t));
              try {
                for (a.s(); !(o = a.n()).done;) {
                  n = o.value;
                  Ev.call(t, n) && Nv(e, n, t[n])
                }
              } catch (e) {
                a.e(e)
              } finally {
                a.f()
              }
            }
            return e
          }({
            style: i,
            className: o,
            src: a,
            lazy: c,
            onClick: r,
            onError: function () {
              f(!0)
            }
          }, u))
        },
        Pv = p(3919).document,
        Sv = "dm-keyframe",
        Av = (0, X.jZ)(),
        xv = function (e, n) {
          if (!Array.isArray(e)) throw new Error("第一个参数必须是数组");
          if ("number" != typeof n || n < 0) throw new Error("索引必须是非负整数");
          if (e.length <= 1) return t(e);
          var o = Math.min(n, e.length),
            a = e.slice(0, o),
            r = e.slice(o);
          return [].concat(t(r), t(a))
        },
        Tv = 0,
        Dv = 0,
        jv = function (e) {
          return e / 3.75 + "vw"
        },
        Lv = 0,
        Rv = {
          7603: {
            storeKey: "ticketBroadcastCms",
            component: qc
          },
          7605: {
            storeKey: "brandShowCms",
            component: Ze
          },
          7606: {
            storeKey: "musicArtistCms",
            component: Ir
          },
          7607: {
            storeKey: "smallBannerCms",
            component: tu
          },
          7623: {
            storeKey: "musicFestivalBrandCms",
            component: Ur
          },
          7630: {
            storeKey: "concertTourCms",
            component: Ct
          },
          7962: {
            storeKey: "hotStarActivityCms",
            component: function () {
              var e = (0, k.useContext)(be),
                t = e.dmCategoryProps,
                n = (void 0 === t ? {} : t).hotStarActivityCms,
                o = void 0 === n ? {} : n,
                a = e.HotStarActivityProps,
                r = void 0 === a ? {} : a,
                l = r.hotStarActivityRef,
                i = function (e, t) {
                  var n = {};
                  for (var o in e) zt.call(e, o) && t.indexOf(o) < 0 && (n[o] = e[o]);
                  if (null != e && Mt) {
                    var a, r = v(Mt(e));
                    try {
                      for (r.s(); !(a = r.n()).done;) {
                        o = a.value;
                        t.indexOf(o) < 0 && Ut.call(e, o) && (n[o] = e[o])
                      }
                    } catch (e) {
                      r.e(e)
                    } finally {
                      r.f()
                    }
                  }
                  return n
                }(r, ["hotStarActivityRef"]),
                c = e.context;
              return k.createElement(Bt, function (e, t) {
                for (var n in t || (t = {})) zt.call(t, n) && Vt(e, n, t[n]);
                if (Mt) {
                  var o, a = v(Mt(t));
                  try {
                    for (a.s(); !(o = a.n()).done;) {
                      n = o.value;
                      Ut.call(t, n) && Vt(e, n, t[n])
                    }
                  } catch (e) {
                    a.e(e)
                  } finally {
                    a.f()
                  }
                }
                return e
              }({
                ref: l,
                className: "cms-hot-star-activity",
                cmsData: o,
                context: c,
                useBackgroundImage: !0
              }, i))
            }
          },
          7622: {
            storeKey: "showThemeCardCms",
            component: Lc
          },
          7624: {
            storeKey: "showSmallThemeCardCms",
            component: wi
          },
          9998: {
            storeKey: "showListDrawerCms",
            component: vi
          },
          7636: {
            storeKey: "showSoldCardCms",
            component: Mi
          },
          7625: {
            storeKey: "rewardCardCms",
            component: Cl
          },
          7587: {
            storeKey: "filterPanelCms",
            component: sr
          },
          7588: {
            storeKey: "showCardCms",
            component: El
          },
          7614: {
            storeKey: "swiperBannerCms",
            component: nu
          },
          7656: {
            storeKey: "venueSmallBannerCms",
            component: Lu
          },
          7677: {
            storeKey: "brandV2ShowCms",
            component: Ps
          },
          7883: {
            storeKey: "verticalAttractionCardCms",
            component: Qs
          },
          7897: {
            storeKey: "showCardCms",
            component: ov
          },
          7882: {
            storeKey: "scrollBallAreaCms",
            component: Ws
          },
          7983: {
            storeKey: "travelAndShowCms",
            component: Ec
          },
          7984: {
            storeKey: "travelFilter",
            component: hv
          },
          7550: {
            storeKey: "keyframe",
            component: function (e) {
              var o = (0, k.useContext)(be).KeyframeProps,
                a = null == o ? void 0 : o.onKeyframeItemLog,
                r = e.cmsData,
                l = e.className,
                i = (null == r ? void 0 : r.nodes) || [],
                c = t(i),
                u = (0, k.useState)(t(i)),
                d = n(u, 2),
                v = d[0],
                m = d[1],
                f = (0, k.useState)(0),
                p = n(f, 2),
                g = p[0],
                h = p[1],
                y = (0, k.useRef)(0),
                b = (0, k.useState)(0),
                C = n(b, 2),
                I = C[0],
                E = C[1],
                N = (0, k.useRef)(0),
                O = (0, k.useRef)(0),
                P = (0, k.useRef)("1" === i[0].data.type),
                S = (0, k.useState)(!0),
                A = n(S, 2),
                x = A[0],
                T = A[1],
                D = (0, k.useRef)(!0),
                j = (0, k.useState)(0),
                L = n(j, 2),
                R = L[0],
                _ = L[1],
                B = (0, k.useState)(!1),
                F = n(B, 2),
                M = F[0],
                z = F[1],
                U = (0, k.useRef)(!1),
                V = function (e) {
                  var t = e + Lv < i.length ? e + Lv : e + Lv - i.length,
                    n = i[t].data;
                  a && a("exp", null == n ? void 0 : n.comboDispatchId, t, P.current)
                },
                W = function (e) {
                  var t = i.findIndex((function (t) {
                    var n;
                    return (null == (n = null == t ? void 0 : t.data) ? void 0 : n.id) === (null == e ? void 0 : e.id)
                  }));
                  a && (a("exp", null == e ? void 0 : e.comboDispatchId, "".concat(t, "_0"), P.current), a("exp", null == e ? void 0 : e.comboDispatchId, "".concat(t, "_1"), P.current), a("exp", null == e ? void 0 : e.comboDispatchId, "".concat(t, "_2"), P.current))
                },
                Y = function (e) {
                  var t = e.detail.current,
                    n = v[t].data;
                  "1" === n.type ? P.current = !0 : P.current = !1, y.current = t, D.current ? V(t) : x || W(n), h(t + Lv < i.length ? t + Lv : t + Lv - i.length)
                },
                H = function () {
                  var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : "";
                  e && (0, wt.VJ)({
                    url: e
                  })
                },
                q = function (e) {
                  var t, n = Av ? e.data.detail.scrollTop : e.target.scrollTop;
                  !P.current || n < 0 || !U.current || ((null == O ? void 0 : O.current) > n ? t = "down" : (null == O ? void 0 : O.current) < n && (t = "up"), O.current = n, E((function (e) {
                    return "down" === t ? e > 7 ? (N.current = e - 8, e - 8) : (N.current = 0, 0) : e < 78 ? (N.current = e + 8, e + 8) : (N.current = e, e)
                  })))
                },
                K = function (e) {
                  var t, n;
                  z(P.current), U.current = !0;
                  var o = Av ? null == (n = null == (t = null == e ? void 0 : e.data) ? void 0 : t.changedTouches) ? void 0 : n[0] : e.touches[0];
                  Tv = (null == o ? void 0 : o.clientX) || 0, Dv = (null == o ? void 0 : o.clientY) || 0
                },
                J = function (e) {
                  var n, o;
                  z(!1), U.current = !1;
                  var a = Av ? null == (o = null == (n = null == e ? void 0 : e.data) ? void 0 : n.changedTouches) ? void 0 : o[0] : e.changedTouches[0],
                    r = a.clientX,
                    l = a.clientY,
                    u = r - Tv,
                    d = l - Dv;
                  if (Math.abs(u) <= Math.abs(d)) {
                    if (Math.sqrt(d * d) < 30) return void(N.current < 42.5 ? (N.current = 0, E(0), T(!0), D.current = !0) : (E(85), N.current = 85, T(!1), D.current = !1));
                    if (d > 0) P.current && !D.current && (E(0), N.current = 0, T(!0), setTimeout((function () {
                      D.current = !0
                    })), m((function (e) {
                      var n = e[y.current],
                        o = t(c).findIndex((function (e) {
                          return e.data.id === n.data.id
                        })),
                        a = t(i).findIndex((function (e) {
                          return e.data.id === n.data.id
                        }));
                      setTimeout((function () {
                        y.current = 0, h(a), Lv = a
                      }));
                      var r = t(xv(t(c), o));
                      return c = t(xv(t(c), o)), r
                    })), _((function (e) {
                      return e + 1
                    })));
                    else if (P.current && D.current) {
                      E(85), N.current = 85, T(!1), D.current = !1;
                      var s = t(xv(t(c), y.current)).filter((function (e) {
                        var t;
                        return "1" === (null == (t = null == e ? void 0 : e.data) ? void 0 : t.type)
                      }));
                      _((function (e) {
                        return e + 1
                      })), m(t(s)), setTimeout((function () {
                        Y({
                          detail: {
                            current: 0
                          }
                        })
                      }))
                    }
                  }
                };
              (0, k.useEffect)((function () {
                var e;
                return Av && (Cv.on("onScroll", q), Cv.on("onTouchStart", K), Cv.on("onTouchEnd", J)), Av || (null == (e = null == Pv ? void 0 : Pv.querySelector(".bui-dm-category-container")) || e.addEventListener("scroll", q), null == e || e.addEventListener("touchstart", K, {
                    passive: !0
                  }), null == e || e.addEventListener("touchend", J, {
                    passive: !0
                  })),
                  function () {
                    null == e || e.removeEventListener("scroll", q)
                  }
              }), []);
              var G = function (e) {
                var t = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : "normal",
                  n = arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : 0,
                  o = i.findIndex((function (t) {
                    var n;
                    return (null == (n = null == t ? void 0 : t.data) ? void 0 : n.id) === e.id
                  }));
                "normal" === t ? a && a("clk", null == e ? void 0 : e.comboDispatchId, o, P.current) : a && a("clk", null == e ? void 0 : e.comboDispatchId, "".concat(o, "_").concat(n), P.current)
              };
              return k.createElement("div", {
                className: (0, w.A)("".concat(Sv), l)
              }, k.createElement(Rc.A, {
                key: R,
                className: "".concat(Sv, "-banner-swiper"),
                indicatorDots: !1,
                autoplay: x && !M,
                circular: !0,
                loop: !0,
                onChange: Y,
                style: {
                  height: jv(70 + I),
                  borderRadius: jv(12),
                  overflow: "hidden"
                }
              }, v.map((function (e) {
                var t = e.data;
                return k.createElement(_c.A, {
                  key: t.id,
                  draggable: !1,
                  style: {
                    height: jv(70 + I)
                  }
                }, k.createElement("div", {
                  className: "".concat(Sv, "-slide-img-wrap ").concat(Sv, "-log-banner-item"),
                  onClick: function (e) {
                    G(t), H(null == t ? void 0 : t.schema), e.stopPropagation()
                  },
                  style: {
                    height: jv(70 + I)
                  }
                }, k.createElement(Ii.A, {
                  className: "".concat(Sv, "-slide-image"),
                  src: (0, ce.zp)({
                    url: t.picHigh || "",
                    width: 960,
                    ignorePng: !1
                  }),
                  lazy: !0
                }), k.createElement("div", {
                  className: "".concat(Sv, "-extent-wrapper"),
                  style: {
                    height: jv(I + 20)
                  }
                }, k.createElement("div", {
                  className: "".concat(Sv, "-gradient-area"),
                  style: {
                    background: "linear-gradient(to bottom, transparent, ".concat(t.color, " 100%)")
                  }
                }), k.createElement("div", {
                  className: "".concat(Sv, "-extent-content"),
                  style: {
                    background: "".concat(t.color),
                    height: jv(I)
                  }
                }, k.createElement(Ov, {
                  className: "".concat(Sv, "-content-img ").concat(Sv, "-slide-image-left"),
                  src: (0, ce.zp)({
                    url: t.subPic1 || "",
                    width: 960,
                    ignorePng: !1
                  }),
                  lazy: !0,
                  onClick: function (e) {
                    H(null == t ? void 0 : t.subPic1Schema), G(t, "keyframe", 0), e.stopPropagation()
                  },
                  fallback: k.createElement("div", {
                    className: "".concat(Sv, "-content-img-fallback")
                  }, k.createElement("div", {
                    className: "".concat(Sv, "-content-img-fallback-gradient")
                  }))
                }), k.createElement(Ov, {
                  style: {
                    border: "none"
                  },
                  className: "".concat(Sv, "-content-img"),
                  src: (0, ce.zp)({
                    url: t.subPic2 || "",
                    width: 960,
                    ignorePng: !1
                  }),
                  lazy: !0,
                  onClick: function (e) {
                    H(null == t ? void 0 : t.subPic2Schema), G(t, "keyframe", 1), e.stopPropagation()
                  },
                  fallback: k.createElement("div", {
                    className: "".concat(Sv, "-content-img-fallback")
                  }, k.createElement("div", {
                    className: "".concat(Sv, "-content-img-fallback-gradient")
                  }))
                }), k.createElement(Ov, {
                  className: "".concat(Sv, "-content-img ").concat(Sv, "-slide-image-right"),
                  src: (0, ce.zp)({
                    url: t.subPic3 || "",
                    width: 960,
                    ignorePng: !1
                  }),
                  lazy: !0,
                  onClick: function (e) {
                    H(null == t ? void 0 : t.subPic3Schema), G(t, "keyframe", 2), e.stopPropagation()
                  },
                  fallback: k.createElement("div", {
                    className: "".concat(Sv, "-content-img-fallback")
                  }, k.createElement("div", {
                    className: "".concat(Sv, "-content-img-fallback-gradient")
                  }))
                })))))
              }))), x && (null == v ? void 0 : v.length) > 1 && k.createElement("div", {
                className: "".concat(Sv, "-indicator")
              }, null == r ? void 0 : r.nodes.map((function (e, t) {
                return k.createElement("div", {
                  className: (0, w.A)("".concat(Sv, "-indicator-item"), s({}, "".concat(Sv, "-indicator-item-checked"), t === g)),
                  key: "indicator-".concat(t)
                })
              }))))
            }
          }
        },
        _v = p(1753),
        Bv = p(3323),
        Fv = function () {
          return k.createElement(Bv.A, {
            direction: "row",
            spacing: 9,
            justifyContent: "flex-start"
          }, k.createElement(q, {
            className: "w75h100",
            variant: "rounded"
          }), k.createElement(Bv.A, {
            className: "h100",
            spacing: 9,
            justifyContent: "space-between",
            alignItems: "flex-start"
          }, k.createElement(q, {
            className: "w250h20 ml12",
            variant: "rounded"
          }), k.createElement(q, {
            className: "w120h20 ml12",
            variant: "rounded"
          })))
        },
        Mv = function () {
          return k.createElement(Bv.A, {
            className: "bui-dm-category-skeleton-box",
            spacing: 9
          }, k.createElement(q, {
            className: "w357h90 mb9",
            variant: "rounded"
          }), k.createElement("div", {
            className: (0, w.A)("bui-dm-category-skeleton-vertical-show-list", "bui-dm-category-skeleton-card", "mb9")
          }, [1, 2, 3, 4, 5].map((function (e) {
            return k.createElement(q, {
              className: "w75h100 mr9",
              variant: "rounded",
              key: e
            })
          }))), k.createElement(q, {
            className: "w357h90 mb9",
            variant: "rounded"
          }), [1, 2, 3].map((function (e) {
            return k.createElement("div", {
              className: (0, w.A)("bui-dm-category-skeleton-card mb9"),
              key: e
            }, k.createElement(Fv, null))
          })))
        },
        zv = p(7071),
        Uv = p(9535),
        Vv = p.n(Uv),
        Wv = p(3919).URLSearchParams,
        Yv = Object.defineProperty,
        Hv = Object.defineProperties,
        qv = Object.getOwnPropertyDescriptors,
        Kv = Object.getOwnPropertySymbols,
        Jv = Object.prototype.hasOwnProperty,
        Gv = Object.prototype.propertyIsEnumerable,
        Zv = function (e, t, n) {
          return t in e ? Yv(e, t, {
            enumerable: !0,
            configurable: !0,
            writable: !0,
            value: n
          }) : e[t] = n
        },
        Xv = function (e, t) {
          for (var n in t || (t = {})) Jv.call(t, n) && Zv(e, n, t[n]);
          if (Kv) {
            var o, a = v(Kv(t));
            try {
              for (a.s(); !(o = a.n()).done;) {
                n = o.value;
                Gv.call(t, n) && Zv(e, n, t[n])
              }
            } catch (e) {
              a.e(e)
            } finally {
              a.f()
            }
          }
          return e
        },
        $v = function (e, t) {
          return Hv(e, qv(t))
        },
        Qv = function (e, t, n) {
          return Zv(e, "symbol" !== d(t) ? t + "" : t, n), n
        },
        em = function () {
          return a((function e(t) {
            o(this, e), Qv(this, "cmsNode"), Qv(this, "cmsParsedData"), this.cmsNode = t, this.cmsParsedData = {
              floorsData: [],
              componentsData: []
            }, this.byLevel(this.cmsNode, null)
          }), [{
            key: "getFloors",
            value: function () {
              return this.cmsParsedData.floorsData
            }
          }, {
            key: "getComponents",
            value: function () {
              return this.cmsParsedData.componentsData
            }
          }, {
            key: "parseTrackInfo",
            value: function (e, t) {
              var o, a, r, l = arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : {},
                i = arguments.length > 3 ? arguments[3] : void 0,
                c = e || {},
                u = c.cardConfig,
                d = void 0 === u ? {} : u,
                s = c.spmC,
                v = d["".concat(l.type)],
                m = v[t] || {},
                f = m.d,
                p = m.cn,
                g = m.en,
                h = m.acu,
                y = m.ack,
                b = m.ag,
                C = void 0 === b ? {} : b,
                k = /^\$urlEncode\((.+)\)$/,
                w = /^\$\{(.+)\}$/,
                I = /comboParent\./,
                E = {
                  dispatch_id: null == (o = null == l ? void 0 : l.data) ? void 0 : o.comboDispatchId,
                  dispatch_system: null == (a = null == l ? void 0 : l.data) ? void 0 : a.comboDispatchSystem
                };
              try {
                if (Object.keys(C).forEach((function (e) {
                    var t, n = C[e],
                      o = I.test(n) ? l.data : i;
                    E[e] = w.test(n) ? Vv()(o, null == (t = n.replace(I, "").match(w)) ? void 0 : t[1]) : n
                  })), h) {
                  var N = h.split("?"),
                    O = n(N, 2),
                    P = O[0],
                    S = O[1],
                    A = new Wv(S),
                    x = [];
                  Array.from(A.keys()).forEach((function (e) {
                    var t, n, o, a, r = A.get(e),
                      c = I.test(r) ? l.data : i;
                    k.test(r) ? (r = null == (t = r.match(k)) ? void 0 : t[1], a = w.test(r) ? encodeURIComponent(Vv()(c, null == (n = r.replace(I, "").match(w)) ? void 0 : n[1])) : encodeURIComponent(r)) : a = w.test(r) ? Vv()(c, null == (o = r.replace(I, "").match(w)) ? void 0 : o[1]) : r, x.push("".concat(e, "=").concat(a))
                  })), r = "".concat(P).concat(x.length ? "?".concat(x.join("&")) : "")
                } else y && (r = null == i ? void 0 : i[y])
              } catch (e) {}
              return {
                trackInfo: {
                  spmc: s,
                  spmd: f,
                  clickEventName: p,
                  exposeEventName: g,
                  args: E
                },
                actionUrl: r
              }
            }
          }, {
            key: "byLevel",
            value: function (e, t) {
              var n, o, a, r, l = this,
                i = this.cmsParsedData,
                c = t || {},
                u = c.parentNodeId,
                d = c.hasParseLevel2,
                s = c.outerLevel2,
                v = c.crConfig;
              if ("1" === "".concat(null == e ? void 0 : e.level)) i.floorsData.push(e);
              else if ("2" === "".concat(null == e ? void 0 : e.level)) {
                if (u && (e.parentNodeId = u), d && (null == (n = null == e ? void 0 : e.nodes) ? void 0 : n.length)) {
                  var m = (null == (o = null == e ? void 0 : e.data) ? void 0 : o.action) || {};
                  Object.keys(m).forEach((function (t) {
                    var n, o, a, r, l, i, c, u, d, v, f;
                    m[t] && m[t].trackInfo && (m[t].trackInfo.spmc = (null == (n = m[t].trackInfo) ? void 0 : n.spmc) ? null == (a = null == (o = null == m ? void 0 : m[t]) ? void 0 : o.trackInfo) ? void 0 : a.spmc : (null == (c = null == (i = null == (l = null == (r = null == e ? void 0 : e.data) ? void 0 : r.action) ? void 0 : l.item) ? void 0 : i.trackInfo) ? void 0 : c.spmc) || (null == (f = null == (v = null == (d = null == (u = null == s ? void 0 : s.data) ? void 0 : u.action) ? void 0 : d.item) ? void 0 : v.trackInfo) ? void 0 : f.spmc))
                  }))
                }
                if (null == (a = e.data) ? void 0 : a.action) {
                  var f = Object.keys(e.data.action),
                    p = {};
                  f.forEach((function (t) {
                    var n, o;
                    p[t] = $v(Xv({}, e.data.action[t]), {
                      spmc: null == (o = null == (n = e.data.action.item) ? void 0 : n.trackInfo) ? void 0 : o.spmc
                    })
                  })), e.data.parsedTrackInfo = p, (null == (r = e.data) ? void 0 : r.keywords) && e.data.keywords.forEach((function (t) {
                    var n, o;
                    t.action && (t.parsedTrackInfo = $v(Xv({}, t.action), {
                      trackInfo: $v(Xv({}, t.action.trackInfo), {
                        spmc: null == (o = null == (n = e.data.action.item) ? void 0 : n.trackInfo) ? void 0 : o.spmc
                      })
                    }))
                  }))
                }
                d || i.componentsData.push(e)
              } else if (v && "3" === "".concat(null == e ? void 0 : e.level) && e.data) {
                var g = v.cardConfig,
                  h = void 0 === g ? {} : g,
                  y = h["".concat(e.type)] || h[0];
                if (y) {
                  var b = Object.keys(y || {}),
                    C = {};
                  b.forEach((function (t) {
                    var n;
                    if (t.endsWith("[]")) {
                      var o = t.slice(0, t.length - 2),
                        a = (null == (n = e.data) ? void 0 : n[o]) || [];
                      C[o] = a.map((function (n) {
                        return l.parseTrackInfo(v, t, e, n)
                      }))
                    } else C[t] = l.parseTrackInfo(v, t, e, e.data)
                  })), e.data.parsedTrackInfo = C
                }
              }(null == e ? void 0 : e.nodes) && e.nodes.forEach((function (t) {
                var n, o, a, r, i, c, u, v, m;
                l.byLevel(t, {
                  parentNodeId: "1" === "".concat(null == e ? void 0 : e.level) ? null == (n = null == e ? void 0 : e.data) ? void 0 : n.nodeId : "",
                  hasParseLevel2: "2" === "".concat(null == e ? void 0 : e.level),
                  outerLevel2: d || "2" !== "".concat(null == e ? void 0 : e.level) ? null : e,
                  crConfig: (null == e ? void 0 : e.cr) ? {
                    cardConfig: e.cr.c,
                    spmC: (null == (i = null == (r = null == (a = null == (o = e.data) ? void 0 : o.action) ? void 0 : a.item) ? void 0 : r.trackInfo) ? void 0 : i.spmc) || (null == (m = null == (v = null == (u = null == (c = null == s ? void 0 : s.data) ? void 0 : c.action) ? void 0 : u.item) ? void 0 : v.trackInfo) ? void 0 : m.spmc)
                  } : null
                })
              }))
            }
          }])
        }();

      function tm(e) {
        return new em(e)
      }
      var nm = function () {
          var e, t = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {},
            n = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : {},
            o = n || {},
            a = o.isPartRefresh,
            r = null == (e = tm(t).getComponents()) ? void 0 : e.filter((function (e) {
              var t;
              return !!(null == (t = null == e ? void 0 : e.nodes) ? void 0 : t.length)
            })),
            l = {};
          null == r || r.forEach((function (e) {
            var t;
            l[null == (t = Rv[null == e ? void 0 : e.type]) ? void 0 : t.storeKey] = e
          }));
          var i = r.find((function (e) {
            return "7628" === "".concat(e.type)
          }));
          return i && (l.atmosphereCms = i), a ? {
            level2StoreKeyValueMap: l
          } : {
            components: r,
            level2StoreKeyValueMap: l
          }
        },
        om = Object.defineProperty,
        am = Object.defineProperties,
        rm = Object.getOwnPropertyDescriptors,
        lm = Object.getOwnPropertySymbols,
        im = Object.prototype.hasOwnProperty,
        cm = Object.prototype.propertyIsEnumerable,
        um = function (e, t, n) {
          return t in e ? om(e, t, {
            enumerable: !0,
            configurable: !0,
            writable: !0,
            value: n
          }) : e[t] = n
        },
        dm = function (e, t) {
          for (var n in t || (t = {})) im.call(t, n) && um(e, n, t[n]);
          if (lm) {
            var o, a = v(lm(t));
            try {
              for (a.s(); !(o = a.n()).done;) {
                n = o.value;
                cm.call(t, n) && um(e, n, t[n])
              }
            } catch (e) {
              a.e(e)
            } finally {
              a.f()
            }
          }
          return e
        },
        sm = function (e, t) {
          return am(e, rm(t))
        },
        vm = {
          pageStatus: "idle",
          partRefreshCmsStatus: "idle",
          components: [],
          serverTime: "",
          initialServerTime: "",
          initialLocalTime: (new Date).getTime()
        },
        mm = !1,
        fm = function (e, t) {
          var n, o, a, r, l = t || {},
            i = l.context,
            c = l.setDynamicMetaInfo,
            u = l.setDmCategoryProps,
            d = l.setLoading;
          if ((null == (o = null == (n = null == e ? void 0 : e.data) ? void 0 : n.nodes) ? void 0 : o.length) > 0) {
            null == c || c();
            var s = nm(e.data) || {},
              v = s.components,
              m = s.level2StoreKeyValueMap,
              f = (0, zv.u)(v),
              p = (null == (r = null == (a = null == e ? void 0 : e.data) ? void 0 : a.data) ? void 0 : r.serverTime) || Date.now(),
              g = (new Date).getTime();
            return null == d || d(!1), void(null == u || u((function (e) {
              var t, n = dm({
                categories: null == e ? void 0 : e.categories,
                pageStatus: "success",
                components: f,
                initialServerTime: p,
                initialLocalTime: g,
                serverTime: p
              }, m);
              return null == (t = null == i ? void 0 : i.event) || t.emit("cmsLoaded", n), n
            })))
          }
          null == d || d(!1), null == u || u((function (e) {
            return sm(dm({}, e), {
              pageStatus: "failed"
            })
          }))
        },
        pm = function (o, a, r) {
          var l = a.event,
            i = r.getCity,
            c = r.getPosition,
            u = r.setDynamicMetaInfo,
            d = void 0 === u ? function () {} : u,
            s = r.prefetchDataPromise,
            v = (0, k.useState)(dm({}, vm)),
            m = n(v, 2),
            f = m[0],
            p = m[1],
            g = (0, k.useState)(!0),
            h = n(g, 2),
            y = h[0],
            b = h[1],
            C = {
              context: a,
              setDmCategoryProps: p,
              queryParams: o,
              getCity: i,
              getPosition: c,
              setDynamicMetaInfo: d,
              fetchCmsSuccessCb: fm,
              setLoading: b
            };
          (0, k.useEffect)((function () {
            null == l || l.emit("dmCategoryChange", f)
          }), [f]), (0, k.useEffect)((function () {
            var e = function (e) {
              p((function (t) {
                return dm(dm({}, t), e)
              }))
            };
            return null == l || l.on("setDmCategoryProps", e),
              function () {
                null == l || l.off("setDmCategoryProps", e)
              }
          }), []), (0, k.useEffect)((function () {
            var e = function (e) {
              w(e)
            };
            return null == l || l.on("partRefreshCms", e),
              function () {
                null == l || l.off("partRefreshCms", e)
              }
          }), [f]), (0, k.useEffect)((function () {
            s ? s.then((function (e) {
              var t = n(e || [], 2),
                o = t[0],
                a = t[1];
              null == p || p((function (e) {
                return sm(dm({}, e), {
                  categories: o
                })
              })), fm(a, C)
            })).catch((function () {
              (0, D.jE)(C)
            })) : (0, D.jE)(C)
          }), []);
          var w = function (n) {
            return function (e, t, n) {
              return new Promise((function (o, a) {
                var r = function (e) {
                    try {
                      i(n.next(e))
                    } catch (e) {
                      a(e)
                    }
                  },
                  l = function (e) {
                    try {
                      i(n.throw(e))
                    } catch (e) {
                      a(e)
                    }
                  },
                  i = function (e) {
                    return e.done ? o(e.value) : Promise.resolve(e.value).then(r, l)
                  };
                i((n = n.apply(e, t)).next())
              }))
            }(void 0, null, e().mark((function r() {
              var l, u, d, s, v, m, g, h, y, b, C, k, w, I, E, N, O, P;
              return e().wrap((function (e) {
                for (;;) switch (e.prev = e.next) {
                  case 0:
                    if (d = (u = n || {}).dr, s = u.args, v = void 0 === s ? {} : s, m = u.patternName, g = u.patternVersion, h = u.showCardLoadMore, y = u.travelCardLoadMore, b = u.travelFilterChanged, !mm || !h && !y) {
                      e.next = 3;
                      break
                    }
                    return e.abrupt("return");
                  case 3:
                    if (mm = !0, m && g) {
                      e.next = 5;
                      break
                    }
                    return e.abrupt("return", void(mm = !1));
                  case 5:
                    return e.next = 7, i();
                  case 7:
                    if (e.t0 = e.sent, e.t0) {
                      e.next = 10;
                      break
                    }
                    e.t0 = {};
                  case 10:
                    return C = e.t0, k = C.code, e.next = 14, c();
                  case 14:
                    if (e.t1 = e.sent, e.t1) {
                      e.next = 17;
                      break
                    }
                    e.t1 = {};
                  case 17:
                    if (w = e.t1, I = w.latitude, E = w.longitude, N = sm(dm({}, v), {
                        currentCityId: (0, D.Hj)(v.currentCityId),
                        comboCityId: null != (l = null == v ? void 0 : v.comboCityId) ? l : (0, D.Hj)(k)
                      }), O = {
                        dr: d,
                        patternName: m,
                        patternVersion: g,
                        args: sm(dm({}, N), {
                          latitude: I,
                          longitude: E
                        }),
                        comboChannel: null == o ? void 0 : o.comboChannel,
                        dmChannel: null == o ? void 0 : o.dmChannel
                      }, p((function (e) {
                        return O.componentsData = e.components, sm(dm({}, e), {
                          partRefreshCmsStatus: "loading"
                        })
                      })), "[]" === (P = (0, zv.y)(O)).dr) {
                      e.next = 26;
                      break
                    }
                    return e.abrupt("return", a.mtop.call({
                      requestOptions: {
                        api: "mtop.damai.mec.aristotle.get",
                        v: "3.0",
                        dataType: "json",
                        valueType: "string",
                        data: dm({}, P)
                      }
                    }).then((function (e) {
                      var n, o, a, r, l, i;
                      if (null == (n = null == e ? void 0 : e.data) ? void 0 : n.nodes) {
                        var c = (nm(null == e ? void 0 : e.data) || {}).level2StoreKeyValueMap,
                          u = null == f ? void 0 : f.travelFilter,
                          d = null == (a = null == (o = c.travelFilter) ? void 0 : o.nodes) ? void 0 : a[0];
                        if (h) {
                          var s = null == f ? void 0 : f.showCardCms;
                          c.showCardCms.nodes = [].concat(t(s.nodes), t(c.showCardCms.nodes)), p((function (t) {
                            var n, o;
                            return dm(sm(dm({}, t), {
                              partRefreshCmsStatus: "success",
                              serverTime: (null == (o = null == (n = null == e ? void 0 : e.data) ? void 0 : n.data) ? void 0 : o.serverTime) || Date.now()
                            }), c)
                          }))
                        } else y && d ? ((null == (r = d.nodes) ? void 0 : r.length) > 0 && (c.travelFilter.nodes = null == (l = null == u ? void 0 : u.nodes) ? void 0 : l.map((function (e) {
                          var n, o;
                          return (null == (n = null == d ? void 0 : d.data) ? void 0 : n.groupId) === (null == (o = null == e ? void 0 : e.data) ? void 0 : o.groupId) ? sm(dm({}, d), {
                            nodes: [].concat(t(e.nodes), t(d.nodes))
                          }) : e
                        }))), p((function (t) {
                          var n, o;
                          return dm(sm(dm({}, t), {
                            partRefreshCmsStatus: "success",
                            serverTime: (null == (o = null == (n = null == e ? void 0 : e.data) ? void 0 : n.data) ? void 0 : o.serverTime) || Date.now()
                          }), c)
                        }))) : b && d ? (c.travelFilter.nodes = null == (i = null == u ? void 0 : u.nodes) ? void 0 : i.map((function (e) {
                          var t, n;
                          return (null == (t = null == d ? void 0 : d.data) ? void 0 : t.groupId) === (null == (n = null == e ? void 0 : e.data) ? void 0 : n.groupId) ? d : e
                        })), p((function (t) {
                          var n, o;
                          return dm(sm(dm({}, t), {
                            partRefreshCmsStatus: "success",
                            serverTime: (null == (o = null == (n = null == e ? void 0 : e.data) ? void 0 : n.data) ? void 0 : o.serverTime) || Date.now()
                          }), c)
                        }))) : p((function (t) {
                          var n, o;
                          return dm(sm(dm({}, t), {
                            partRefreshCmsStatus: "success",
                            serverTime: (null == (o = null == (n = null == e ? void 0 : e.data) ? void 0 : n.data) ? void 0 : o.serverTime) || Date.now()
                          }), c)
                        }));
                        return setTimeout((function () {
                          mm = !1
                        }), 300), "success"
                      }
                      mm = !1, p((function (e) {
                        return sm(dm({}, e), {
                          partRefreshCmsStatus: "failed"
                        })
                      }))
                    })).catch((function () {
                      mm = !1, p((function (e) {
                        return sm(dm({}, e), {
                          partRefreshCmsStatus: "failed"
                        })
                      }))
                    })));
                  case 26:
                    mm = !1;
                  case 27:
                  case "end":
                    return e.stop()
                }
              }), r)
            })))
          };
          return {
            dmCategoryProps: f,
            fetchCms: function (e, t) {
              return (0, D.cB)(e, t, C)
            },
            partRefreshCms: w,
            setDmCategoryProps: p,
            loading: y,
            setLoading: b
          }
        },
        gm = Object.defineProperty,
        hm = Object.defineProperties,
        ym = Object.getOwnPropertyDescriptors,
        bm = Object.getOwnPropertySymbols,
        Cm = Object.prototype.hasOwnProperty,
        km = Object.prototype.propertyIsEnumerable,
        wm = function (e, t, n) {
          return t in e ? gm(e, t, {
            enumerable: !0,
            configurable: !0,
            writable: !0,
            value: n
          }) : e[t] = n
        },
        Im = function (e, t) {
          for (var n in t || (t = {})) Cm.call(t, n) && wm(e, n, t[n]);
          if (bm) {
            var o, a = v(bm(t));
            try {
              for (a.s(); !(o = a.n()).done;) {
                n = o.value;
                km.call(t, n) && wm(e, n, t[n])
              }
            } catch (e) {
              a.e(e)
            } finally {
              a.f()
            }
          }
          return e
        },
        Em = function (e, t) {
          return hm(e, ym(t))
        },
        Nm = function (e, t, n) {
          return new Promise((function (o, a) {
            var r = function (e) {
                try {
                  i(n.next(e))
                } catch (e) {
                  a(e)
                }
              },
              l = function (e) {
                try {
                  i(n.throw(e))
                } catch (e) {
                  a(e)
                }
              },
              i = function (e) {
                return e.done ? o(e.value) : Promise.resolve(e.value).then(r, l)
              };
            i((n = n.apply(e, t)).next())
          }))
        },
        Om = (0, X.jZ)(),
        Pm = null,
        Sm = k.forwardRef((function (t, o) {
          var a, r, l, i, c = t || {},
            u = c.context,
            d = c.getCity,
            m = void 0 === d ? function () {} : d,
            f = c.getPosition,
            p = void 0 === f ? function () {} : f,
            g = c.setDynamicMetaInfo,
            h = c.queryParams,
            y = c.optimizeProps,
            b = void 0 === y ? {} : y,
            C = c.topMenuBarProps,
            I = void 0 === C ? {} : C,
            E = c.atmosphereProps,
            N = void 0 === E ? {} : E,
            O = c.onPageRefresh,
            P = c.TabsProps,
            S = void 0 === P ? {} : P,
            A = c.ScrollViewProps,
            x = void 0 === A ? {} : A,
            T = c.children,
            D = c.rootCnCache,
            B = c.rootLogCls,
            F = c.tabsLeftRender,
            M = c.setFetchCms,
            z = c.logConfig,
            U = c.dmCategoryRef,
            V = c.CmsTravelFilter,
            W = c.FilterPanelProps,
            Y = (void 0 === W ? {} : W).globalCity,
            H = b.CustomWrapper,
            K = b.isFullRender,
            X = void 0 === K || K,
            $ = b.setIsFullRender,
            ee = void 0 === $ ? function () {} : $,
            te = b.prefetchDataPromise,
            ne = (null == h ? void 0 : h.referItemId) || (null == h ? void 0 : h.referitemid),
            ae = (null == h ? void 0 : h.referTouristId) || (null == h ? void 0 : h.refertouristid),
            re = (null == h ? void 0 : h.profitItemId) || (null == h ? void 0 : h.profitItemid),
            le = pm(h, u, {
              getCity: m,
              getPosition: p,
              setDynamicMetaInfo: g,
              prefetchDataPromise: te
            }) || {},
            ce = le.dmCategoryProps,
            ue = le.fetchCms,
            de = le.partRefreshCms,
            se = le.loading,
            ve = le.setLoading,
            me = u.event,
            fe = u.autoExpose,
            pe = u.autoClick,
            ge = ce || {},
            he = ge.categories,
            ye = void 0 === he ? [] : he,
            Ce = ge.components,
            ke = void 0 === Ce ? [] : Ce,
            we = ge.pageStatus,
            Ie = I || {},
            Ee = Ie.renderTopCustomDom,
            Ne = void 0 === Ee ? function () {
              return null
            } : Ee,
            Oe = Ie.className,
            Pe = x || {},
            Se = Pe.handleLoadMore,
            xe = function (e, t) {
              var n = {};
              for (var o in e) Cm.call(e, o) && t.indexOf(o) < 0 && (n[o] = e[o]);
              if (null != e && bm) {
                var a, r = v(bm(e));
                try {
                  for (r.s(); !(a = r.n()).done;) {
                    o = a.value;
                    t.indexOf(o) < 0 && km.call(e, o) && (n[o] = e[o])
                  }
                } catch (e) {
                  r.e(e)
                } finally {
                  r.f()
                }
              }
              return n
            }(Pe, ["handleLoadMore"]),
            Te = N.statusBarHeight,
            De = void 0 === Te ? 0 : Te,
            je = N.menuBarHeight,
            Le = void 0 === je ? 0 : je,
            Re = N.isImmersive,
            _e = S || {},
            Be = _e.nextTick,
            Fe = _e.onTabChange,
            Me = _e.onClickSearch,
            ze = _e.defaultActiveIndex,
            Ue = (0, k.useState)(!1),
            Ve = n(Ue, 2),
            We = Ve[0],
            Ye = Ve[1],
            He = (0, k.useState)(!1),
            qe = n(He, 2),
            Ke = qe[0],
            Je = qe[1],
            Ge = (0, k.useRef)(null),
            Ze = (0, k.useState)(""),
            Xe = n(Ze, 2),
            $e = Xe[0],
            Qe = Xe[1],
            et = (0, k.useState)(null),
            tt = n(et, 2),
            nt = tt[0],
            ot = tt[1],
            at = (0, k.useState)(""),
            rt = n(at, 2),
            lt = rt[0],
            it = rt[1],
            ct = (0, k.useRef)(void 0),
            ut = (0, k.useRef)(!0),
            dt = (null == (l = null == (r = null == (a = ke.find((function (e) {
              return "7628" === e.type
            }))) ? void 0 : a.nodes) ? void 0 : r[0]) ? void 0 : l.data) || {},
            st = dt.type,
            vt = dt.img,
            mt = (0, k.useState)(ze || ""),
            ft = n(mt, 2),
            pt = ft[0],
            gt = ft[1],
            ht = (0, k.useState)(!1),
            yt = n(ht, 2),
            bt = yt[0],
            Ct = yt[1],
            kt = (0, k.useRef)(null);
          (0, k.useEffect)((function () {
            null == M || M(ue)
          }), [M, ue]), (0, k.useLayoutEffect)((function () {
            gt(ze), ze && "success" === ce.pageStatus && ut.current && (Om ? Be((function () {
              Pt({
                index: ze
              })
            })) : Pt({
              index: ze
            }), ut.current = !1)
          }), [ze, ce]), (0, k.useLayoutEffect)((function () {
            "success" === ce.pageStatus && setTimeout((function () {
              ee(!0)
            }), 1e3)
          }), [ce]);
          var wt = function () {
            ot(0), Qe(""), Ct(!1), ee(!1), setTimeout((function () {
              ot(null)
            }))
          };
          (0, k.useEffect)((function () {
            (null == Y ? void 0 : Y.damaiId) && setTimeout((function () {
              wt()
            }))
          }), [null == Y ? void 0 : Y.damaiId]), (null == U ? void 0 : U.current) && (U.current = {
            scrollPageToTop: wt
          });
          var It = Q()((function (t) {
              return Nm(void 0, null, e().mark((function n() {
                var o, a, r, l, i, c, u, d, s, v, m, f;
                return e().wrap((function (n) {
                  for (;;) switch (n.prev = n.next) {
                    case 0:
                      return null == me || me.emit("category_page_scroll"), (null == (o = null == t ? void 0 : t.detail) ? void 0 : o.scrollTop) <= 0 ? Ct(!1) : Ct(!0), Pm && (clearTimeout(Pm), Pm = null), Pm = setTimeout((function () {
                        return Nm(void 0, null, e().mark((function t() {
                          var n, o, a;
                          return e().wrap((function (e) {
                            for (;;) switch (e.prev = e.next) {
                              case 0:
                                return e.next = 2, null == (n = kt.current) ? void 0 : n.getBoundingClientRect();
                              case 2:
                                if (e.t0 = o = e.sent, null != e.t0) {
                                  e.next = 7;
                                  break
                                }
                                e.t1 = void 0, e.next = 8;
                                break;
                              case 7:
                                e.t1 = o.top;
                              case 8:
                                a = e.t1, Ct(0 !== a);
                              case 10:
                              case "end":
                                return e.stop()
                            }
                          }), t)
                        })))
                      }), 200), s = (null == (r = null == (a = null == ct ? void 0 : ct.current) ? void 0 : a.className) ? void 0 : r.indexOf("dm-filter-panel-bg")) > -1, n.next = 4, null == (l = null == ct ? void 0 : ct.current) ? void 0 : l.getBoundingClientRect();
                    case 4:
                      if (n.t0 = n.sent, n.t0) {
                        n.next = 7;
                        break
                      }
                      n.t0 = {};
                    case 7:
                      v = n.t0, m = v.top, f = v.width, m <= (De + Le + 42) / 375 * f ? !s && (null == (c = null == (i = null == ct ? void 0 : ct.current) ? void 0 : i.classList) || c.add("dm-filter-panel-bg")) : s && (null == (d = null == (u = null == ct ? void 0 : ct.current) ? void 0 : u.classList) || d.remove("dm-filter-panel-bg"));
                    case 11:
                    case "end":
                      return n.stop()
                  }
                }), n)
              })))
            }), 100),
            Et = (0, k.useMemo)((function () {
              return null == ye ? void 0 : ye.map((function (e, t) {
                return {
                  title: e.name,
                  index: "".concat(t)
                }
              }))
            }), [ye]),
            Nt = (0, k.useMemo)((function () {
              return !!vt && !bt && !se
            }), [vt, bt, se]),
            Ot = (0, k.useMemo)((function () {
              return st === _v.w.HIGN
            }), [st]);
          (0, k.useEffect)((function () {
            ["success", "failed"].includes(null == ce ? void 0 : ce.pageStatus) && We && Ye(!1);
            var e = function () {
              Je(!0), ve(!1)
            };
            return null == me || me.on("interfaceError", e),
              function () {
                null == me || me.off("interfaceError", e)
              }
          }), [ce]);
          var Pt = function (t) {
            return Nm(void 0, [t], (function (t) {
              var n = t.index;
              return e().mark((function t() {
                var o, a;
                return e().wrap((function (e) {
                  for (;;) switch (e.prev = e.next) {
                    case 0:
                      if (Ge.current) {
                        e.next = 2;
                        break
                      }
                      return e.abrupt("return");
                    case 2:
                      o = +n - 1, Om ? it("category-item-".concat(o)) : (a = Ge.current.querySelectorAll(".".concat("bui-tab")), o >= 0 && setTimeout((function () {
                        var e;
                        null == (e = a[o]) || e.scrollIntoView({
                          behavior: "smooth",
                          block: "center",
                          inline: "start"
                        })
                      }), 200));
                    case 4:
                    case "end":
                      return e.stop()
                  }
                }), t)
              }))()
            }))
          };
          return "failed" === we || Ke ? k.createElement(G.A, {
            theme: "show",
            buttonText: "刷新",
            onClick: function () {
              Je(!1), null == O || O(ue)
            }
          }) : "success" !== we && D ? null : k.createElement(be.Provider, {
            value: Em(Im({}, t), {
              referItemId: ne,
              referTouristId: ae,
              profitItemId: re,
              dmCategoryProps: ce,
              setScrollToView: Qe,
              setPartLoading: Ye,
              partRefreshCms: de,
              marginTop: (Le + 42 - 1 + De) / 3.75 + "vw",
              getPosition: p,
              activeTab: pt,
              filterRef: ct,
              categories: ye,
              CmsTravelFilter: V
            })
          }, k.createElement(oe, null, k.createElement(Z.A, {
            className: (0, w.A)("bui-dm-category", s(s({
              "category-container bui-dm-light": Om
            }, B, B && Om), "bui-dm-category-travel", "category_tourism_performance" === (null == (i = null == ye ? void 0 : ye[pt]) ? void 0 : i.patternName))),
            onMutate: function (e) {
              z && fe(e, z)
            },
            onAutoClick: function (e, t) {
              z && pe(e, t, z)
            }
          }, k.createElement("div", {
            className: (0, w.A)("bui-dm-category-header-container", Oe, {
              "has-atmosphere": Nt,
              "not-immersive": !Re
            }),
            style: {
              paddingTop: De / 3.75 + "vw",
              height: (Le + 42) / 3.75 + "vw"
            }
          }, Ne(Nt), k.createElement("div", {
            className: "category-tabs-bar-wrapper"
          }, null == F ? void 0 : F(Nt), (null == ye ? void 0 : ye.length) ? k.createElement(L.A, {
            id: "category-scroll",
            className: (0, w.A)("category-tabs-wrapper", "tph"),
            scrollX: !0,
            enhanced: !0,
            enableFlex: !0,
            showScrollbar: !1,
            scrollIntoView: lt,
            scrollWithAnimation: !0,
            scrollAnimationDuration: 300,
            style: {
              height: "11.2vw"
            }
          }, k.createElement(R.A, {
            ref: Ge,
            className: (0, w.A)("category-tabs", {
              "has-atmosphere": Nt
            }),
            value: pt,
            style: {
              height: "11.2vw"
            },
            onChange: function (t, n) {
              return Nm(void 0, null, e().mark((function o() {
                return e().wrap((function (e) {
                  for (;;) switch (e.prev = e.next) {
                    case 0:
                      if (e.t0 = pt !== n.index, !e.t0) {
                        e.next = 8;
                        break
                      }
                      return gt(n.index), ve(!0), e.next = 6, Pt(n);
                    case 6:
                      wt(), null == Fe || Fe(t, {
                        index: n.index,
                        fetchCms: ue
                      });
                    case 8:
                    case "end":
                      return e.stop()
                  }
                }), o)
              })))
            }
          }, Et.map((function (e, t) {
            return k.createElement(_.A, {
              id: "category-item-".concat(t),
              key: e.index,
              index: e.index
            }, e.title)
          })))) : k.createElement("div", {
            className: "category-tabs-wrapper skeleton-wrapper"
          }, [1, 2, 3, 4, 5].map((function (e) {
            return k.createElement(q, {
              key: e,
              className: "tab-skeleton",
              variant: "rounded"
            })
          }))), Me && (null == ye ? void 0 : ye.length) ? k.createElement("div", {
            className: (0, w.A)("search-bar", {
              "has-atmosphere": Nt
            }),
            onClick: Me
          }, k.createElement(J, {
            className: "search-icon",
            htmlColor: Nt ? "#ffffff" : "#2e333e"
          })) : null)), (!Om && !se || Om) && k.createElement(L.A, Im({
            className: (0, w.A)("bui-dm-category-container", "tph"),
            ref: o,
            enhanced: !0,
            enableFlex: !0,
            showScrollbar: !1,
            scrollTop: nt,
            scrollY: !0,
            scrollIntoView: $e,
            onScroll: function (e) {
              Q()((function (e) {
                Cv.emit("onScroll", {
                  data: e
                })
              }), 100)(e), It(e)
            },
            onTouchStart: function (e) {
              Cv.emit("onTouchStart", {
                data: e
              })
            },
            onTouchEnd: function (e) {
              Cv.emit("onTouchEnd", {
                data: e
              })
            },
            onScrollToLower: function () {
              Q()((function () {
                null == Se || Se(de)
              }), 300)()
            }
          }, xe), T, vt && !se && k.createElement(Ae, {
            ref: kt,
            activeTab: pt
          }), !se && k.createElement("div", {
            className: (0, w.A)("bui-dm-category-tabpanel-container"),
            style: {
              marginTop: function () {
                var e = -210;
                return vt ? Ot && (e = -150) : e = De + Le + 42, e / 3.75 + "vw"
              }(),
              paddingTop: (vt ? 0 : 8) / 3.75 + "vw",
              backgroundImage: vt ? "" : "linear-gradient(to bottom, #fff4f5, #f4f5f6)"
            }
          }, null == ye ? void 0 : ye.map((function (e, t) {
            var n = null == ke ? void 0 : ke.slice(0, 4);
            return X || D ? n = ke : vt && (n = null == ke ? void 0 : ke.slice(0, 5)), k.createElement(j.A, {
              key: e.patternName,
              value: pt,
              index: "".concat(t)
            }, "".concat(t) === "".concat(pt) ? ie(n, {}, Rv, H) : null)
          })))), k.createElement("div", {
            className: (0, w.A)("bui-dm-category-loading", {
              "bui-dm-category-loading-show": se
            }),
            style: {
              top: (Om || !ut.current ? Le + 42 + De : Le + De) / 3.75 + "vw"
            }
          }, k.createElement(Mv, null)), k.createElement("div", {
            className: (0, w.A)("bui-dm-category-part-loading", {
              "bui-dm-category-part-loading-hide": !We
            })
          }, k.createElement("i", {
            className: "bui-dm-category-part-loading-icon"
          }), "加载中"))))
        }));
      Sm.displayName = "DmCategory";
      var Am = Sm,
        xm = Object.defineProperty,
        Tm = Object.defineProperties,
        Dm = Object.getOwnPropertyDescriptors,
        jm = Object.getOwnPropertySymbols,
        Lm = Object.prototype.hasOwnProperty,
        Rm = Object.prototype.propertyIsEnumerable,
        _m = function (e, t, n) {
          return t in e ? xm(e, t, {
            enumerable: !0,
            configurable: !0,
            writable: !0,
            value: n
          }) : e[t] = n
        },
        Bm = k.forwardRef((function (e, t) {
          return k.createElement(Am, function (e, t) {
            return Tm(e, Dm(t))
          }(function (e, t) {
            for (var n in t || (t = {})) Lm.call(t, n) && _m(e, n, t[n]);
            if (jm) {
              var o, a = v(jm(t));
              try {
                for (a.s(); !(o = a.n()).done;) {
                  n = o.value;
                  Rm.call(t, n) && _m(e, n, t[n])
                }
              } catch (e) {
                a.e(e)
              } finally {
                a.f()
              }
            }
            return e
          }({}, e), {
            ref: t
          }))
        })),
        Fm = p(5846),
        Mm = p(4752),
        zm = p(7852),
        Um = {
          api: "mtop.damai.wireless.search.performance.calendar.get",
          v: "1.0",
          data: {}
        },
        Vm = {
          api: "mtop.damai.wireless.follow.relation.update.v2",
          v: "1.0",
          data: {}
        },
        Wm = p(9887),
        Ym = {
          getPerformanceCalendar: function () {
            var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {};
            return new Wm.p((0, b.A)((0, b.A)({}, Um), e)).create()
          },
          relationUpdate: function () {
            var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {};
            return new Wm.p((0, b.A)((0, b.A)({}, Vm), e)).create()
          }
        },
        Hm = p(5059),
        qm = p(3816),
        Km = p(104),
        Jm = p(4911),
        Gm = p(6432),
        Zm = p(761),
        Xm = p(9977),
        $m = p(858),
        Qm = {
          atmosphere: {
            pic: "log-pic-atmosphere"
          },
          brandShow: {
            brand: "log-brand-brand-show",
            show: "log-show-brand-show"
          },
          musicArtist: {
            artist: "log-artist-music-artist",
            show: "log-show-music-artist",
            more: "log-show-music-artist-more"
          },
          musicFestivalBrand: {
            item: "log-item-music-festival-brand"
          },
          ticketBroadcast: {
            topShow: "log-top-show-ticket-broadcast",
            bottomShow: "log-bottom-show-ticket-broadcast"
          },
          smallBanner: {
            item: "log-item-small-banner"
          },
          brandV2Show: {
            logoItem: "brand-v2-show-logo-item",
            dcouponbtnItem: "brand-v2-show-dcouponbtn-item",
            dprojectItem: "brand-v2-show-dproject-item",
            dcontentItem: "brand-v2-show-dcontent-item",
            dbannerItem: "brand-v2-show-dbanner-item"
          },
          concertTour: {
            roleItem: "concert-tour-role-item",
            tourItem: "concert-tour-item",
            tourFavorite: "concert-tour-favorite"
          },
          showListDrawer: {
            moreBtn: "log-common-tab-more",
            cardItem: "log-common-tab-item"
          },
          showSmallThemeCard: {
            moreBtn: "log-small-theme-more",
            cardItem: "log-small-theme-card-item"
          },
          showThemeCard: {
            moreBtn: "log-theme-card-more",
            cardItem: "log-theme-card-item"
          },
          SwiperBanner: {
            cardItemLog: "log-swiper-banner-item"
          },
          RewardCard: {
            oneCardItemLog: "log-one-reward-card-item",
            moreCardItemLog: "log-more-reward-card-item"
          },
          FilterPanel: {
            timeRangeLog: "log-filter-panel-time-range",
            timeSelectLog: "log-filter-panel-time-select",
            typeLog: "log-filter-panel-type",
            filterLog: "log-filter-panel-filter",
            sortLog: "log-filter-panel-sort",
            cityEntryLog: "filter-city-select-log",
            artisteLog: "log-filter-panel-artiste",
            artistePopLog: "log-filter-artiste-pop",
            economiczoneLog: "log-filter-economiczone"
          },
          ShowCard: {
            cardItemLog: "log-show-card-item"
          },
          ShowSoldCard: {
            cardItemLog: "log-show-sold-card-item"
          },
          venueSmallBanner: {
            item: "log-item-venue-small-banner"
          },
          verticalAttractionCard: {
            item: "log-va-card-item",
            more: "log-va-card-more"
          },
          horizontalAttractionCard: {
            item: "log-ha-card-item"
          },
          scrollBallArea: {
            item: "log-scroll-ball-item"
          },
          hotStarActivity: {
            icon: "log-hot-star-activity-icon",
            item: "log-hot-star-activity-item",
            task: "log-hot-star-activity-task"
          },
          travelAndShow: {
            leftItem: "log-tas-left-item",
            leftMore: "log-tas-left-more",
            rightItem: "log-tas-right-item",
            rightMore: "log-tas-right-more"
          },
          travelFilter: {
            item: "log-travel-filter-item"
          }
        },
        ef = p(9476),
        tf = p(7545),
        nf = T.A.event,
        of = "category-container-log",
        af = function (e) {
          return ".".concat( of , " >>> .").concat(e)
        },
        rf = function (e) {
          var t;
          try {
            t = "object" === (0, ef.A)(null == e ? void 0 : e.alog) ? null == e ? void 0 : e.alog : JSON.parse((null == e ? void 0 : e.alog) || "{}")
          } catch (e) {}
          return t
        };
      var lf, cf, uf = p(7963),
        df = function (e) {
          var t = {};
          try {
            t = JSON.parse(e || "{}")
          } catch (e) {}
          return t
        },
        sf = p(6981),
        vf = p(5765),
        mf = p(3150),
        ff = p(7422),
        pf = p(8477),
        gf = "CHANGE_CITY_TOOLTIP_VISIBLE",
        hf = function (e) {
          return ".".concat("category-container-log", " >>> .").concat(e)
        },
        yf = function () {
          return [{
            cssSelector: hf(Qm.FilterPanel.artistePopLog),
            trackInfo: ["item"],
            data: ["titlelabel"]
          }, {
            cssSelector: hf(Qm.FilterPanel.economiczoneLog),
            trackInfo: ["item"]
          }, {
            trackInfo: ["item"],
            cssSelector: hf(Qm.hotStarActivity.icon)
          }, {
            trackInfo: ["item"],
            cssSelector: hf(Qm.hotStarActivity.item)
          }, {
            trackInfo: ["item"],
            cssSelector: hf(Qm.hotStarActivity.task)
          }, {
            cssSelector: hf(Qm.travelFilter.item),
            trackInfo: ["item"],
            data: ["dispatch_id"],
            forceIndex: !0
          }]
        },
        bf = {
          exp: yf(),
          clk: yf()
        },
        Cf = p(6070),
        kf = T.A.event,
        wf = !0,
        If = !1,
        Ef = N().getSystemInfo(),
        Nf = "";

      function Of() {
        var e, t, n, o, a, r, l = (0, k.useRef)(null),
          i = (0, E.useRouter)(),
          c = (null == i ? void 0 : i.params) || {},
          u = c.utm,
          d = c.sqm,
          s = c.citycode,
          v = c.cityname,
          m = c.referTouristId,
          f = c.referItemId,
          p = c.profitItemId,
          g = function () {
            var e = (0, k.useState)(!1),
              t = (0, C.A)(e, 2),
              n = t[0],
              o = t[1],
              a = function () {
                o(!1), N().setStorageSync(gf, !1)
              };
            return (0, E.useLoad)((function () {
              var e = N().getStorageSync(gf);
              o(!1 !== e)
            })), (0, E.useDidHide)((function () {
              a()
            })), (0, E.useUnload)((function () {
              a()
            })), (0, k.useEffect)((function () {
              if (n) {
                var e = setTimeout((function () {
                  a()
                }), 5e3);
                return function () {
                  clearTimeout(e)
                }
              }
            }), [n]), {
              changeCityTooltipVisible: n,
              closeChangeCityTooltip: a
            }
          }(),
          P = g.changeCityTooltipVisible,
          j = g.closeChangeCityTooltip;
        (0, E.useLoad)((function () {
          lf = (0, uf.A)()
        }));
        var L = decodeURIComponent(decodeURIComponent(v)),
          R = {
            damaiId: s,
            name: L = "undefined" === L ? void 0 : L
          },
          _ = function () {
            var e = zm.Di.getUserSelectedCitySite();
            return R.damaiId || null != e && e.damaiId ? {
              damaiId: (null == e ? void 0 : e.damaiId) || (null == R ? void 0 : R.damaiId),
              name: (null == e ? void 0 : e.name) || (null == R ? void 0 : R.name)
            } : {
              damaiId: "852",
              name: "北京"
            }
          };
        if (wf) {
          var B, F;
          wf = !1;
          var M, z, U = null === (B = N().getCurrentInstance().router) || void 0 === B || null === (B = B.params) || void 0 === B ? void 0 : B.categoryId,
            V = N().getStorageSync("STASH_ROOT_CN_CATEGORY_".concat(U)) || {},
            W = V.stashRootCN,
            Y = V.currentIndex,
            H = void 0 === Y ? "" : Y,
            q = V.cityId;
          null != W && W.length && q === (null === (F = _()) || void 0 === F ? void 0 : F.damaiId) ? (ff.A.sendOtherEvent("/yanchu.category.root_cn_cache", {
            categoryId: U
          }), Nf = H, If = !0, W.length && (null === (M = N().getCurrentInstance()) || void 0 === M || null === (M = M.page) || void 0 === M || null === (z = M.setData) || void 0 === z || z.call(M, {
            root: {
              cn: W
            }
          }))) : ff.A.sendOtherEvent("/yanchu.category.root_cn_no_cache", {
            categoryId: U
          })
        }
        var K = (0, k.useState)(_()),
          J = (0, C.A)(K, 2),
          G = J[0],
          Z = J[1],
          X = (0, k.useState)(_()),
          $ = (0, C.A)(X, 2),
          Q = $[0],
          ee = $[1],
          te = (0, k.useState)(!1),
          ne = (0, C.A)(te, 2),
          oe = ne[0],
          ae = ne[1],
          re = (0, k.useState)({}),
          le = (0, C.A)(re, 2),
          ie = le[0],
          ce = le[1],
          ue = (0, k.useRef)(null),
          de = (0, k.useRef)(null),
          se = (0, k.useState)(Nf),
          ve = (0, C.A)(se, 2),
          me = ve[0],
          fe = ve[1],
          pe = (0, k.useState)({
            pageIndex: 1,
            pageSize: 15
          }),
          ge = (0, C.A)(pe, 2),
          he = ge[0],
          ye = ge[1],
          be = (0, k.useState)({}),
          Ce = (0, C.A)(be, 2),
          ke = Ce[0],
          we = Ce[1],
          Ie = (0, k.useState)(!1),
          Ee = (0, C.A)(Ie, 2),
          Ne = Ee[0],
          Oe = Ee[1],
          Pe = (0, k.useState)(0),
          Se = (0, C.A)(Pe, 2),
          Ae = Se[0],
          xe = Se[1],
          Te = null == ie ? void 0 : ie.showCardCms,
          De = (0, k.useRef)(!1),
          je = (0, k.useRef)(!1),
          Le = null == ie || null === (e = ie.travelFilter) || void 0 === e || null === (e = e.nodes) || void 0 === e ? void 0 : e[Ae],
          Re = function (e) {
            var t, n = me;
            if (!me) {
              var o, a = (0, D.Ko)(null == e ? void 0 : e.categories, null == i || null === (o = i.params) || void 0 === o ? void 0 : o.categoryId).defaultIndex;
              n = a > -1 ? "".concat(a) : "0"
            }
            return {
              activeCategory: null == e || null === (t = e.categories) || void 0 === t ? void 0 : t[+n],
              currentIndex: n
            }
          },
          _e = (0, k.useMemo)((function () {
            var e;
            return null === (e = Re(ie)) || void 0 === e ? void 0 : e.activeCategory
          }), [me, null == ie ? void 0 : ie.categories]);
        (0, k.useEffect)((function () {
          var e = function (e) {
            ce(e)
          };
          return kf.on("dmCategoryChange", e),
            function () {
              kf.off("dmCategoryChange", e)
            }
        }), []), (0, k.useEffect)((function () {
          (0, Gm.hZ)("utm_value", u || ""), (0, Gm.hZ)("sqm_value", d || "")
        }), []), (0, k.useEffect)((function () {
          var e = !1;
          De.current || function () {
            var e, t;
            null === (e = lf) || void 0 === e || null === (t = e.sendFCP) || void 0 === t || t.call(e), De.current = !0
          }();
          var t = function (t) {
              e || (e = !0, Mm.Ay.sendPV({
                spmB: t.spmb
              }, (0, b.A)({
                _pageRoute: "subPackages/category/index"
              }, null == i ? void 0 : i.params)))
            },
            n = function (e) {
              ce(e);
              var n = Re(e),
                o = n.activeCategory,
                a = n.currentIndex,
                r = df(null == o ? void 0 : o.args),
                l = r.groupId,
                i = r.categoryId,
                c = function () {
                  ot({
                    categoryId: l || i,
                    currentIndex: a
                  }), cf = null
                };
              cf ? (clearTimeout(cf), cf = setTimeout(c, 1500)) : cf = setTimeout(c, 1500), null != o && o.spmb && (Mm.Ay.universalLog.setPageSPM(I.c, null == o ? void 0 : o.spmb), lf.setLogData({
                spmB: null == o ? void 0 : o.spmb
              }), t(o), function () {
                var e, t, n, o;
                je.current || (null === (e = lf) || void 0 === e || null === (t = e.sendFMP) || void 0 === t || t.call(e), null === (n = lf) || void 0 === n || null === (o = n.sendFLT) || void 0 === o || o.call(n), je.current = !0)
              }())
            };
          return kf.on("cmsLoaded", n),
            function () {
              kf.off("cmsLoaded", n)
            }
        }), [_e]),
        function (e, t, n, o, a, r) {
          var l, i, c = (0, k.useState)(0),
            u = (0, C.A)(c, 2),
            d = u[0],
            s = u[1],
            v = (0, k.useState)(0),
            m = (0, C.A)(v, 2),
            f = m[0],
            p = m[1],
            g = (0, k.useState)(""),
            h = (0, C.A)(g, 2),
            y = h[0],
            w = h[1],
            I = (0, k.useState)(0),
            N = (0, C.A)(I, 2),
            O = N[0],
            P = N[1],
            S = (0, k.useState)(null),
            A = (0, C.A)(S, 2),
            x = A[0],
            T = A[1],
            D = (0, k.useState)(null),
            j = (0, C.A)(D, 2),
            L = j[0],
            R = j[1],
            _ = (0, k.useState)("0"),
            B = (0, C.A)(_, 2),
            F = B[0],
            M = B[1],
            z = e.atmosphereCms,
            U = e.brandShowCms,
            V = e.musicArtistCms,
            W = e.musicFestivalBrandCms,
            Y = e.ticketBroadcastCms,
            H = e.smallBannerCms,
            q = e.concertTourCms,
            K = e.brandV2ShowCms,
            J = e.showThemeCardCms,
            G = e.showSmallThemeCardCms,
            Z = e.filterPanelCms,
            X = e.showCardCms,
            $ = e.swiperBannerCms,
            Q = e.rewardCardCms,
            ee = e.showSoldCardCms,
            te = e.venueSmallBannerCms,
            ne = e.scrollBallAreaCms,
            oe = e.verticalAttractionCardCms,
            ae = e.travelFilter,
            re = null === E.useRouter || void 0 === E.useRouter || null === (l = (0, E.useRouter)()) || void 0 === l ? void 0 : l.params,
            le = re.referTouristId,
            ie = re.referItemId,
            ce = re.profitItemId,
            ue = null == ae || null === (i = ae.nodes) || void 0 === i || null === (i = i[r]) || void 0 === i || null === (i = i.data) || void 0 === i ? void 0 : i.parsedTrackInfo;
          (0, k.useEffect)((function () {
            var e = function (e) {
                var t = e.active;
                s(t)
              },
              t = function (e) {
                var t = e.current,
                  n = e.componentIndex;
                w("".concat(t, "-").concat(n))
              },
              n = function (e) {
                var t = e.active;
                M(t)
              },
              o = function (e) {
                var t = e.curIndex,
                  n = e.curShowListDrawerCms;
                P(t), 0 === t ? T(n) : 1 === t && R(n)
              };
            return nf.on("DmVenueBrandCardItemChange", (function (e) {
                var t = e.active;
                p(t)
              })), nf.on("concertTourRoleChange", e), nf.on("showListTabChange", t), nf.on("musicArtistTabChange", n), nf.on("updateShowListDrawerAplus", o),
              function () {
                nf.off("concertTourRoleChange", e), nf.off("showListTabChange", t), nf.off("musicArtistTabChange", n), nf.off("updateShowListDrawerAplus", o)
              }
          }), []), (0, k.useEffect)((function () {
            var e, t = (null == Z || null === (e = Z.nodes) || void 0 === e || null === (e = e[0]) || void 0 === e || null === (e = e.data) || void 0 === e ? void 0 : e.parsedTrackInfo) || ue || {},
              n = t.filter,
              a = t.select,
              r = t.time,
              l = t.type,
              i = t.sort,
              c = t.artiste,
              u = function (e) {
                (0, Mm.kU)({
                  trackInfo: (0, b.A)((0, b.A)({}, null == r ? void 0 : r.trackInfo), {}, {
                    args: {
                      titleLabel: null == e ? void 0 : e.titleLabel,
                      city: o
                    }
                  })
                })
              },
              d = function (e) {
                var t, n, r = null == e || null === (t = e.calendar) || void 0 === t ? void 0 : t[0],
                  l = null == e || null === (n = e.calendar) || void 0 === n ? void 0 : n[1],
                  i = r ? "".concat(String((null == r ? void 0 : r.getMonth()) + 1).padStart(2, "0")).concat(String(null == r ? void 0 : r.getDate()).padStart(2, "0")) : "",
                  c = l ? "".concat(String((null == l ? void 0 : l.getMonth()) + 1).padStart(2, "0")).concat(String(null == l ? void 0 : l.getDate()).padStart(2, "0")) : "";
                (0, Mm.kU)({
                  trackInfo: (0, b.A)((0, b.A)({}, null == a ? void 0 : a.trackInfo), {}, {
                    args: {
                      titleLabel: c ? "".concat(i, "-").concat(c) : i,
                      city: o
                    }
                  })
                }, (0, zm.Dh)(null == e ? void 0 : e.index))
              },
              s = function (e) {
                var t, n = null == Z || null === (t = Z.nodes[0]) || void 0 === t || null === (t = t.data) || void 0 === t || null === (t = t.primary) || void 0 === t || null === (t = t.guideCategory) || void 0 === t || null === (t = t.map((function (e) {
                  return null == e ? void 0 : e.lineItemList
                }))) || void 0 === t ? void 0 : t.flat(2);
                (0, Mm.kU)({
                  trackInfo: (0, b.A)((0, b.A)({}, null == l ? void 0 : l.trackInfo), {}, {
                    args: {
                      titleLabel: null == e ? void 0 : e.titleLabel,
                      city: o
                    }
                  })
                }, (0, zm.Dh)(n.findIndex((function (t) {
                  return t.value === (null == e ? void 0 : e.value)
                }))))
              },
              v = function (e) {
                var t, r;
                (null == e ? void 0 : e.logConfig.indexOf("log-filter-panel-filter")) > -1 ? (0, Mm.kU)({
                  trackInfo: (0, b.A)((0, b.A)({}, null == n ? void 0 : n.trackInfo), {}, {
                    spmc: "filter",
                    args: {
                      titleLabel: null == e || null === (t = e.item) || void 0 === t ? void 0 : t.name,
                      city: o
                    }
                  })
                }, (0, zm.Dh)(null == e ? void 0 : e.index)) : (0, Mm.kU)({
                  trackInfo: (0, b.A)((0, b.A)({}, null == a ? void 0 : a.trackInfo), {}, {
                    args: {
                      titleLabel: null == e || null === (r = e.item) || void 0 === r ? void 0 : r.name,
                      city: o
                    }
                  })
                }, (0, zm.Dh)(null == e ? void 0 : e.index))
              },
              m = function (e) {
                (0, Mm.kU)({
                  trackInfo: (0, b.A)((0, b.A)({}, null == i ? void 0 : i.trackInfo), {}, {
                    args: {
                      titleLabel: null == e ? void 0 : e.titleLabel,
                      city: o
                    }
                  })
                }, (0, zm.Dh)(null == e ? void 0 : e.index))
              },
              f = function () {
                (0, Mm.kU)({
                  trackInfo: (0, b.A)({}, null == c ? void 0 : c.trackInfo)
                })
              };
            return nf.on("timeRangeLog", u), nf.on("timeSelectLog", d), nf.on("typeLog", s), nf.on("acrossSliderClick", v), nf.on("sortLog", m), nf.on("artiste_filter_log", f),
              function () {
                nf.off("timeRangeLog", u), nf.off("timeSelectLog", d), nf.off("typeLog", s), nf.off("acrossSliderClick", v), nf.off("sortLog", m), nf.off("artiste_filter_log", f)
              }
          }), [Z, ae]), (0, tf.Or)({
            selector: af(Qm.atmosphere.pic),
            dependencies: [z, t, a],
            autoExp: !1
          }, (function () {
            var e, t = (null == z || null === (e = z.nodes) || void 0 === e || null === (e = e[0]) || void 0 === e || null === (e = e.data) || void 0 === e || null === (e = e.parsedTrackInfo) || void 0 === e || null === (e = e.item) || void 0 === e ? void 0 : e.trackInfo) || {},
              n = t.args,
              o = t.exposeEventName,
              a = t.spmc,
              r = t.spmd;
            (0, Mm.Th)({
              trackInfo: {
                args: n,
                exposeEventName: o,
                spmc: a,
                spmd: r
              }
            })
          })), (0, tf.Or)({
            selector: af(Qm.brandShow.brand),
            dependencies: [U, t, a],
            autoExp: !1
          }, (function (e) {
            var t, n, o = e.index,
              a = null == U || null === (t = U.nodes) || void 0 === t ? void 0 : t[o],
              r = (null == a || null === (n = a.data) || void 0 === n || null === (n = n.parsedTrackInfo) || void 0 === n || null === (n = n.item) || void 0 === n ? void 0 : n.trackInfo) || {},
              l = r.args,
              i = r.exposeEventName,
              c = r.spmc,
              u = r.spmd;
            (0, Mm.Th)({
              trackInfo: {
                args: l,
                exposeEventName: i,
                spmc: c,
                spmd: u
              }
            }, (0, zm.Dh)(o))
          })), (0, tf.Or)({
            selector: af(Qm.brandShow.show),
            dependencies: [U, t, a],
            useDom: !0,
            autoExp: !1
          }, (function (e) {
            var t, n = e.dataset,
              o = rf(n) || {},
              a = o.index,
              r = o.parsedTrackInfo;
            r && (0, Mm.Th)({
              trackInfo: null === (t = r.projectVos) || void 0 === t || null === (t = t[a]) || void 0 === t ? void 0 : t.trackInfo
            }, (0, zm.Dh)(a))
          })), (0, tf.Or)({
            selector: af(Qm.musicArtist.artist),
            dependencies: [V, t, a],
            autoExp: !1
          }, (function (e) {
            var t, n, o = e.index,
              a = null == V || null === (t = V.nodes) || void 0 === t ? void 0 : t[o];
            (0, Mm.Th)({
              trackInfo: null == a || null === (n = a.data) || void 0 === n || null === (n = n.action) || void 0 === n || null === (n = n.tab) || void 0 === n ? void 0 : n.trackInfo
            }, (0, zm.Dh)(o))
          })), (0, tf.Or)({
            selector: af(Qm.musicArtist.show),
            dependencies: [V, F, t, a],
            autoExp: !1
          }, (function (e) {
            var t, n, o = e.index,
              a = null === (t = ((null == V ? void 0 : V.nodes) || [])[F]) || void 0 === t || null === (t = t.nodes) || void 0 === t ? void 0 : t[o];
            a && (0, Mm.Th)({
              trackInfo: null == a || null === (n = a.data) || void 0 === n || null === (n = n.parsedTrackInfo) || void 0 === n || null === (n = n.item) || void 0 === n ? void 0 : n.trackInfo
            }, (0, zm.Dh)(o))
          })), (0, tf.Or)({
            selector: af(Qm.musicArtist.more),
            dependencies: [V, F, t, a],
            autoExp: !1
          }, (function () {
            var e, t, n = null === (e = ((null == V ? void 0 : V.nodes) || [])[F]) || void 0 === e || null === (e = e.nodes) || void 0 === e ? void 0 : e.find((function (e) {
              return "7629" === e.type
            }));
            n && (0, Mm.Th)({
              trackInfo: null == n || null === (t = n.data) || void 0 === t || null === (t = t.parsedTrackInfo) || void 0 === t || null === (t = t.item) || void 0 === t ? void 0 : t.trackInfo
            })
          })), (0, tf.Or)({
            selector: af(Qm.musicFestivalBrand.item),
            dependencies: [W, t, a],
            autoExp: !1
          }, (function (e) {
            var t, n, o = e.index,
              a = null == W || null === (t = W.nodes) || void 0 === t ? void 0 : t[o];
            (0, Mm.Th)({
              trackInfo: null == a || null === (n = a.data) || void 0 === n || null === (n = n.parsedTrackInfo) || void 0 === n || null === (n = n.item) || void 0 === n ? void 0 : n.trackInfo
            }, (0, zm.Dh)(o))
          })), (0, tf.Or)({
            selector: af(Qm.ticketBroadcast.topShow),
            dependencies: [Y, t, a],
            autoExp: !1
          }, (function (e) {
            var t, n, o = e.index,
              a = null == Y || null === (t = Y.nodes) || void 0 === t ? void 0 : t[0];
            (0, Mm.Th)({
              trackInfo: null == a || null === (n = a.data) || void 0 === n || null === (n = n.parsedTrackInfo) || void 0 === n || null === (n = n.projects) || void 0 === n || null === (n = n[o]) || void 0 === n ? void 0 : n.trackInfo
            }, (0, zm.Dh)(o))
          })), (0, tf.Or)({
            selector: af(Qm.ticketBroadcast.bottomShow),
            dependencies: [Y, t, a],
            autoExp: !1
          }, (function () {
            var e, t = ((null == Y || null === (e = Y.nodes) || void 0 === e || null === (e = e[0]) || void 0 === e || null === (e = e.data) || void 0 === e ? void 0 : e.parsedTrackInfo) || {}).item;
            (0, Mm.Th)({
              trackInfo: null == t ? void 0 : t.trackInfo
            })
          })), (0, tf.Or)({
            selector: af(Qm.smallBanner.item),
            dependencies: [H, t, a],
            autoExp: !1
          }, (function (e) {
            var t, n, o = e.index,
              a = null == H || null === (t = H.nodes) || void 0 === t ? void 0 : t[o],
              r = (null == a || null === (n = a.data) || void 0 === n || null === (n = n.parsedTrackInfo) || void 0 === n || null === (n = n.item) || void 0 === n ? void 0 : n.trackInfo) || {},
              l = r.args,
              i = r.exposeEventName,
              c = r.spmc,
              u = r.spmd;
            (0, Mm.Th)({
              trackInfo: {
                args: l,
                exposeEventName: i,
                spmc: c,
                spmd: u
              }
            }, (0, zm.Dh)(o))
          })), (0, tf.Or)({
            selector: af(Qm.brandV2Show.logoItem),
            dependencies: [K, t, a],
            autoExp: !1
          }, (function (e) {
            var t, n, o = e.index,
              a = null == K || null === (t = K.nodes) || void 0 === t ? void 0 : t[o],
              r = (null == a || null === (n = a.data) || void 0 === n || null === (n = n.parsedTrackInfo) || void 0 === n || null === (n = n.logochange) || void 0 === n ? void 0 : n.trackInfo) || {},
              l = r.args,
              i = r.exposeEventName,
              c = r.spmd,
              u = r.spmc;
            (0, Mm.Th)({
              trackInfo: {
                args: l,
                exposeEventName: i,
                spmc: u,
                spmd: c
              }
            }, (0, zm.Dh)(o))
          })), (0, tf.Or)({
            selector: af(Qm.brandV2Show.dcontentItem),
            dependencies: [K, f, t, a],
            autoExp: !1,
            useDom: !0
          }, (function (e) {
            var t, n, o = e.dataset,
              a = rf(o).index,
              r = void 0 === a ? 0 : a,
              l = null == K || null === (t = K.nodes) || void 0 === t ? void 0 : t[r],
              i = (null == l || null === (n = l.data) || void 0 === n || null === (n = n.parsedTrackInfo) || void 0 === n || null === (n = n.content) || void 0 === n ? void 0 : n.trackInfo) || {},
              c = i.args,
              u = i.exposeEventName,
              d = i.spmd,
              s = i.spmc;
            (0, Mm.Th)({
              trackInfo: {
                args: (0, b.A)((0, b.A)({}, c), {}, {
                  index: r
                }),
                exposeEventName: u,
                spmc: s,
                spmd: d
              }
            })
          })), (0, tf.Or)({
            selector: af(Qm.brandV2Show.dprojectItem),
            dependencies: [K, f, t, a],
            autoExp: !1,
            useDom: !0
          }, (function (e) {
            var t, n, o = e.dataset,
              a = rf(o).index,
              r = void 0 === a ? 0 : a,
              l = null == K || null === (t = K.nodes) || void 0 === t ? void 0 : t[r],
              i = (null == l || null === (n = l.data) || void 0 === n || null === (n = n.parsedTrackInfo) || void 0 === n || null === (n = n.project) || void 0 === n ? void 0 : n.trackInfo) || {},
              c = i.args,
              u = i.exposeEventName,
              d = i.spmd,
              s = i.spmc;
            (0, Mm.Th)({
              trackInfo: {
                args: (0, b.A)((0, b.A)({}, c), {}, {
                  index: r
                }),
                exposeEventName: u,
                spmc: s,
                spmd: d
              }
            })
          })), (0, tf.Or)({
            selector: af(Qm.brandV2Show.dcouponbtnItem),
            dependencies: [K, f, t, a],
            autoExp: !1,
            useDom: !0
          }, (function (e) {
            var t, n, o = e.dataset,
              a = rf(o).index,
              r = void 0 === a ? 0 : a,
              l = null == K || null === (t = K.nodes) || void 0 === t ? void 0 : t[r],
              i = (null == l || null === (n = l.data) || void 0 === n || null === (n = n.parsedTrackInfo) || void 0 === n || null === (n = n.couponbtn) || void 0 === n ? void 0 : n.trackInfo) || {},
              c = i.args,
              u = i.exposeEventName,
              d = i.spmd,
              s = i.spmc;
            (0, Mm.Th)({
              trackInfo: {
                args: (0, b.A)((0, b.A)({}, c), {}, {
                  index: r
                }),
                exposeEventName: u,
                spmc: s,
                spmd: d
              }
            })
          })), (0, tf.Or)({
            selector: af(Qm.brandV2Show.dbannerItem),
            dependencies: [K, f, t, a],
            autoExp: !1,
            useDom: !0
          }, (function (e) {
            var t, n, o = e.dataset,
              a = rf(o).index,
              r = void 0 === a ? 0 : a,
              l = null == K || null === (t = K.nodes) || void 0 === t ? void 0 : t[r],
              i = (null == l || null === (n = l.data) || void 0 === n || null === (n = n.parsedTrackInfo) || void 0 === n || null === (n = n.banner) || void 0 === n ? void 0 : n.trackInfo) || {},
              c = i.args,
              u = i.exposeEventName,
              d = i.spmd,
              s = i.spmc;
            (0, Mm.Th)({
              trackInfo: {
                args: (0, b.A)((0, b.A)({}, c), {}, {
                  index: r
                }),
                exposeEventName: u,
                spmc: s,
                spmd: d
              }
            })
          })), (0, tf.Or)({
            selector: af(Qm.concertTour.roleItem),
            dependencies: [q, t, a],
            autoExp: !1
          }, (function (e) {
            var t, n, o, a = e.index,
              r = null == q || null === (t = q.nodes) || void 0 === t ? void 0 : t[a],
              l = (null == r || null === (n = r.data) || void 0 === n || null === (n = n.action) || void 0 === n || null === (n = n.artistchange) || void 0 === n ? void 0 : n.trackInfo) || {},
              i = l.args,
              c = l.exposeEventName,
              u = l.spmd;
            (0, Mm.Th)({
              trackInfo: {
                args: i,
                exposeEventName: c,
                spmc: null == r || null === (o = r.data) || void 0 === o || null === (o = o.action) || void 0 === o || null === (o = o.item) || void 0 === o || null === (o = o.trackInfo) || void 0 === o ? void 0 : o.spmc,
                spmd: u
              }
            }, (0, zm.Dh)(a))
          })), (0, tf.Or)({
            selector: af(Qm.concertTour.tourItem),
            dependencies: [q, d, t, a],
            autoExp: !1
          }, (function (e) {
            var t, n, o = e.index,
              a = null === (t = ((null == q ? void 0 : q.nodes) || [])[d]) || void 0 === t || null === (t = t.nodes) || void 0 === t ? void 0 : t[o];
            if (a) {
              var r = ((null == a || null === (n = a.data) || void 0 === n ? void 0 : n.parsedTrackInfo) || {}).item;
              (0, Mm.Th)({
                trackInfo: null == r ? void 0 : r.trackInfo
              }, (0, zm.Dh)(o))
            }
          })), (0, tf.Or)({
            selector: af(Qm.concertTour.tourFavorite),
            dependencies: [q, d, t, a],
            autoExp: !1
          }, (function (e) {
            var t, n, o = e.index,
              a = null === (t = ((null == q ? void 0 : q.nodes) || [])[d]) || void 0 === t || null === (t = t.nodes) || void 0 === t ? void 0 : t[o];
            if (a) {
              var r = ((null == a || null === (n = a.data) || void 0 === n ? void 0 : n.parsedTrackInfo) || {}).favorite;
              (0, Mm.Th)({
                trackInfo: null == r ? void 0 : r.trackInfo
              }, (0, zm.Dh)(o))
            }
          })), (0, tf.Or)({
            selector: af(Qm.showListDrawer.cardItem),
            dependencies: [x, L, y, O, t, a],
            useDom: !0,
            autoExp: !1
          }, (function (e) {
            var t = e.dataset,
              n = rf(t) || {},
              o = n.index,
              a = n.parsedTrackInfo;
            if (a) {
              var r = (a || {}).item;
              (0, Mm.Th)({
                trackInfo: null == r ? void 0 : r.trackInfo
              }, (0, b.A)((0, b.A)({}, (0, zm.Dh)(o)), {}, {
                current_tab: y
              }))
            }
          })), (0, tf.Or)({
            selector: af(Qm.showThemeCard.cardItem),
            dependencies: [J, t, a],
            autoExp: !1
          }, (function (e) {
            var t, n = e.index,
              o = ((null == J ? void 0 : J.nodes) || [])[n];
            if (o) {
              var a = ((null == o || null === (t = o.data) || void 0 === t ? void 0 : t.parsedTrackInfo) || {}).item;
              (0, Mm.Th)({
                trackInfo: null == a ? void 0 : a.trackInfo
              }, (0, zm.Dh)(n))
            }
          })), (0, tf.Or)({
            selector: af(Qm.showSmallThemeCard.cardItem),
            dependencies: [G, t, a],
            autoExp: !1
          }, (function (e) {
            var t, n = e.index,
              o = ((null == G ? void 0 : G.nodes) || [])[n];
            if (o) {
              var a = ((null == o || null === (t = o.data) || void 0 === t ? void 0 : t.parsedTrackInfo) || {}).item;
              (0, Mm.Th)({
                trackInfo: null == a ? void 0 : a.trackInfo
              }, (0, zm.Dh)(n))
            }
          })), (0, tf.Or)({
            selector: af(Qm.SwiperBanner.cardItemLog),
            dependencies: [$, t, a],
            autoExp: !1
          }, (function (e) {
            var t, n = e.index,
              o = ((null == $ ? void 0 : $.nodes) || [])[n];
            if (o) {
              var a = ((null == o || null === (t = o.data) || void 0 === t ? void 0 : t.parsedTrackInfo) || {}).item;
              (0, Mm.Th)({
                trackInfo: null == a ? void 0 : a.trackInfo
              }, (0, zm.Dh)(n))
            }
          })), (0, tf.Or)({
            selector: af(Qm.RewardCard.oneCardItemLog),
            dependencies: [Q, t, a],
            autoExp: !1
          }, (function (e) {
            var t, n, o = e.index,
              a = null === (t = ((null == Q ? void 0 : Q.nodes) || []).filter((function (e) {
                return 7627 === Number(e.type)
              }))) || void 0 === t ? void 0 : t[o];
            if (a) {
              var r = ((null == a || null === (n = a.data) || void 0 === n ? void 0 : n.parsedTrackInfo) || {}).item;
              (0, Mm.Th)({
                trackInfo: null == r ? void 0 : r.trackInfo
              }, (0, zm.Dh)(o))
            }
          })), (0, tf.Or)({
            selector: af(Qm.RewardCard.moreCardItemLog),
            dependencies: [Q, t, a],
            autoExp: !1
          }, (function (e) {
            var t, n, o = e.index,
              a = null === (t = ((null == Q ? void 0 : Q.nodes) || []).filter((function (e) {
                return 7625 === Number(e.type)
              }))) || void 0 === t ? void 0 : t[o];
            if (a) {
              var r = ((null == a || null === (n = a.data) || void 0 === n ? void 0 : n.parsedTrackInfo) || {}).item;
              (0, Mm.Th)({
                trackInfo: null == r ? void 0 : r.trackInfo
              }, (0, zm.Dh)(o))
            }
          })), (0, tf.Or)({
            selector: af(Qm.FilterPanel.filterLog),
            dependencies: [Z, t, a],
            autoExp: !1
          }, (function (e) {
            var t, n = e.index,
              o = ((null == Z || null === (t = Z.nodes) || void 0 === t || null === (t = t[0]) || void 0 === t || null === (t = t.data) || void 0 === t ? void 0 : t.parsedTrackInfo) || {}).filter;
            (0, Mm.Th)({
              trackInfo: (0, b.A)((0, b.A)({}, null == o ? void 0 : o.trackInfo), {}, {
                spmc: "filter"
              })
            }, (0, zm.Dh)(n))
          })), (0, tf.Or)({
            selector: af(Qm.FilterPanel.timeSelectLog),
            dependencies: [n, a, ae, r],
            autoExp: !1
          }, (function (e) {
            var t = e.index;
            if (n) {
              var o, a = ((null == Z || null === (o = Z.nodes) || void 0 === o || null === (o = o[0]) || void 0 === o || null === (o = o.data) || void 0 === o ? void 0 : o.parsedTrackInfo) || ue || {}).select;
              (0, Mm.Th)({
                trackInfo: null == a ? void 0 : a.trackInfo
              }, (0, zm.Dh)(t))
            }
          })), (0, tf.Or)({
            selector: af(Qm.FilterPanel.cityEntryLog),
            dependencies: [n, a, ae, r],
            autoExp: !1
          }, (function () {
            var e, t, n = ((null == Z || null === (e = Z.nodes) || void 0 === e || null === (e = e[0]) || void 0 === e || null === (e = e.data) || void 0 === e ? void 0 : e.parsedTrackInfo) || ue || {}).cityEntry;
            (0, Mm.Th)({
              trackInfo: (0, b.A)((0, b.A)({}, null == n ? void 0 : n.trackInfo), {}, {
                args: (0, b.A)((0, b.A)({}, null == n || null === (t = n.trackInfo) || void 0 === t ? void 0 : t.args), {}, {
                  titlelabel: o
                })
              })
            })
          })), (0, tf.Or)({
            selector: af(Qm.FilterPanel.timeRangeLog),
            dependencies: [Z, t, a, ae, r],
            autoExp: !1
          }, (function () {
            var e, t = ((null == Z || null === (e = Z.nodes) || void 0 === e || null === (e = e[0]) || void 0 === e || null === (e = e.data) || void 0 === e ? void 0 : e.parsedTrackInfo) || ue || {}).time;
            (0, Mm.Th)({
              trackInfo: null == t ? void 0 : t.trackInfo
            })
          })), (0, tf.Or)({
            selector: af(Qm.FilterPanel.typeLog),
            dependencies: [n, a],
            autoExp: !1
          }, (function (e) {
            var t = e.index;
            if (n) {
              var o, a = ((null == Z || null === (o = Z.nodes) || void 0 === o || null === (o = o[0]) || void 0 === o || null === (o = o.data) || void 0 === o ? void 0 : o.parsedTrackInfo) || {}).type;
              (0, Mm.Th)({
                trackInfo: null == a ? void 0 : a.trackInfo
              }, (0, zm.Dh)(t))
            }
          })), (0, tf.Or)({
            selector: af(Qm.FilterPanel.sortLog),
            dependencies: [n, a, ae, r],
            autoExp: !1
          }, (function (e) {
            var t = e.index;
            if (n) {
              var o, a = ((null == Z || null === (o = Z.nodes) || void 0 === o || null === (o = o[0]) || void 0 === o || null === (o = o.data) || void 0 === o ? void 0 : o.parsedTrackInfo) || ue || {}).sort;
              (0, Mm.Th)({
                trackInfo: null == a ? void 0 : a.trackInfo
              }, (0, zm.Dh)(t))
            }
          })), (0, tf.Or)({
            selector: af(Qm.FilterPanel.artisteLog),
            dependencies: [n, a],
            autoExp: !1
          }, (function () {
            var e, t = ((null == Z || null === (e = Z.nodes) || void 0 === e || null === (e = e[0]) || void 0 === e || null === (e = e.data) || void 0 === e ? void 0 : e.parsedTrackInfo) || {}).artiste;
            (0, Mm.Th)({
              trackInfo: null == t ? void 0 : t.trackInfo
            })
          })), (0, tf.Or)({
            selector: af(Qm.ShowCard.cardItemLog),
            dependencies: [X, t, a, ae, r],
            autoExp: !1
          }, (function (e) {
            var t, n, o, a = e.index,
              l = null === (t = (null == X ? void 0 : X.nodes) || (null == ae || null === (n = ae.nodes) || void 0 === n || null === (n = n[r]) || void 0 === n ? void 0 : n.nodes) || []) || void 0 === t ? void 0 : t[a];
            if (l) {
              var i = ((null == l || null === (o = l.data) || void 0 === o ? void 0 : o.parsedTrackInfo) || {}).item;
              (0, Mm.Th)({
                trackInfo: null == i ? void 0 : i.trackInfo
              }, (0, zm.Dh)(a))
            }
          })), (0, tf.Or)({
            selector: af(Qm.ShowSoldCard.cardItemLog),
            dependencies: [ee, t, a],
            autoExp: !1
          }, (function () {
            var e, t = (null == ee || null === (e = ee.nodes) || void 0 === e || null === (e = e[0]) || void 0 === e || null === (e = e.data) || void 0 === e ? void 0 : e.parsedTrackInfo) || {},
              n = t.item,
              o = t.all;
            n && (0, Mm.Th)({
              trackInfo: null == n ? void 0 : n.trackInfo
            }, (0, zm.Dh)(0)), o && (0, Mm.Th)({
              trackInfo: null == o ? void 0 : o.trackInfo
            })
          })), (0, tf.Or)({
            selector: af(Qm.venueSmallBanner.item),
            dependencies: [te, t, a],
            autoExp: !1
          }, (function (e) {
            var t, n, a, r, l, i = e.index,
              c = null === (t = (null == te ? void 0 : te.nodes) || []) || void 0 === t ? void 0 : t[i];
            if (c) {
              var u = ((null == c || null === (n = c.data) || void 0 === n ? void 0 : n.parsedTrackInfo) || {}).item;
              (0, Mm.Th)({
                trackInfo: (0, b.A)((0, b.A)({}, null == u ? void 0 : u.trackInfo), {}, {
                  args: (0, b.A)((0, b.A)({}, null == u || null === (a = u.trackInfo) || void 0 === a ? void 0 : a.args), {}, {
                    showtype: "2" === (null == c || null === (r = c.data) || void 0 === r ? void 0 : r.tagType) ? 2 : (null == c || null === (l = c.data) || void 0 === l || null === (l = l.tags) || void 0 === l ? void 0 : l.length) > 0 ? 1 : 0,
                    city: o
                  })
                })
              }, (0, zm.Dh)(i))
            }
          })), (0, tf.Or)({
            selector: af(Qm.scrollBallArea.item),
            dependencies: [ne, t, a],
            autoExp: !1
          }, (function (e) {
            var t, n, o = e.index,
              a = null === (t = (null == ne ? void 0 : ne.nodes) || []) || void 0 === t ? void 0 : t[o];
            if (a) {
              var r = ((null == a || null === (n = a.data) || void 0 === n ? void 0 : n.parsedTrackInfo) || {}).item;
              (0, Mm.Th)({
                trackInfo: null == r ? void 0 : r.trackInfo
              }, (0, zm.Dh)(o))
            }
          })), (0, tf.Or)({
            selector: af(Qm.verticalAttractionCard.item),
            dependencies: [oe, t, a],
            autoExp: !1
          }, (function (e) {
            var t, n, o = e.index,
              a = null === (t = (null == oe ? void 0 : oe.nodes) || []) || void 0 === t ? void 0 : t[o];
            if (a) {
              var r = ((null == a || null === (n = a.data) || void 0 === n ? void 0 : n.parsedTrackInfo) || {}).item;
              (0, Mm.Th)({
                trackInfo: null == r ? void 0 : r.trackInfo
              }, (0, zm.Dh)(o))
            }
          })), (0, tf.Or)({
            selector: af(Qm.verticalAttractionCard.more),
            dependencies: [oe, t, a],
            autoExp: !1
          }, (function () {
            var e, t, n = null === (e = (null == oe ? void 0 : oe.nodes) || []) || void 0 === e ? void 0 : e[0];
            if (n) {
              var o = ((null == n || null === (t = n.data) || void 0 === t ? void 0 : t.parsedTrackInfo) || {}).more;
              (0, Mm.Th)({
                trackInfo: null == o ? void 0 : o.trackInfo
              })
            }
          })), (0, tf.Or)({
            selector: af(Qm.horizontalAttractionCard.item),
            dependencies: [X, t, a, ae, r],
            autoExp: !1,
            end: !X && !ae
          }, (function (e) {
            var t, n, o, a, l, i = e.index,
              c = null === (t = (null == X ? void 0 : X.nodes) || (null == ae || null === (n = ae.nodes) || void 0 === n || null === (n = n[r]) || void 0 === n ? void 0 : n.nodes) || []) || void 0 === t ? void 0 : t[i];
            if (c) {
              var u = ((null == c || null === (o = c.data) || void 0 === o ? void 0 : o.parsedTrackInfo) || {}).item,
                d = "true" === (null == c || null === (a = c.data) || void 0 === a ? void 0 : a.isReferItem) && 0 === Number(r) ? {
                  exposeEventName: "/yanchu.mustsee_item.exp",
                  args: (0, b.A)({
                    tiplabel: le || ie || ce
                  }, (null == u || null === (l = u.trackInfo) || void 0 === l ? void 0 : l.args) || {})
                } : {};
              (0, Mm.Th)({
                trackInfo: (0, b.A)((0, b.A)({}, (null == u ? void 0 : u.trackInfo) || {}), d)
              }, (0, zm.Dh)(i))
            }
          }))
        }(ie, me, oe, L, Ne, Ae);
        var Be = (0, k.useRef)(!1);
        (0, E.useDidShow)((function () {
          if (Be.current) Be.current = !1;
          else {
            (0, pf.wW)();
            var e = df(null == _e ? void 0 : _e.args),
              t = e.groupId,
              n = e.categoryId;
            kf.emit("partRefreshCms", {
              dr: ["7603", "7677"],
              args: {
                groupId: t,
                categoryId: n,
                currentCityId: null == G ? void 0 : G.damaiId,
                comboCityId: null == G ? void 0 : G.damaiId,
                pageRefresh: !0
              },
              patternName: null == _e ? void 0 : _e.patternName,
              patternVersion: null == _e ? void 0 : _e.patternVersion
            }), null != _e && _e.spmb && Mm.Ay.universalLog.setPageSPM(I.c, null == _e ? void 0 : _e.spmb)
          }
        })), (0, E.useDidHide)((function () {
          var e, t;
          null == ue || null === (e = ue.current) || void 0 === e || null === (t = e.stopAutoChange) || void 0 === t || t.call(e)
        })), (0, k.useEffect)((function () {
          var e = ie.categories,
            t = void 0 === e ? [] : e;
          if (null != t && t.length) {
            var n, o = (0, D.Ko)(t, null == i || null === (n = i.params) || void 0 === n ? void 0 : n.categoryId).defaultIndex;
            fe(o > -1 ? "".concat(o) : "0")
          }
        }), [null == i ? void 0 : i.params, null == ie ? void 0 : ie.categories]);
        var Fe = function (e) {
            var t = e.spmc,
              n = e.spmd,
              o = e.index,
              a = void 0 === o ? "" : o;
            return "".concat(I.c, ".").concat(_e.spmb, ".").concat(t, ".").concat(n).concat(a)
          },
          Me = (0, k.useRef)(),
          ze = function () {
            Mm.Ay.sendGoldLog("CLK", "/yanchu.top_city.clk", {
              spmC: "top",
              spmD: "city",
              titlelabel: null == _e ? void 0 : _e.name
            }), (0, Xm.l)((function (e) {
              if (Be.current = !0, e) {
                var t, n = {
                  damaiId: e.code,
                  name: e.name
                };
                Z(n), ee(n), zm.Di.updateUserSelectedCity(n), we({}), ye({
                  pageIndex: 1,
                  pageSize: 15
                }), null === (t = l.current) || void 0 === t || t.scrollPageToTop(), Me.current && Ue(me, Me.current, n.damaiId)
              }
            }), {
              showSelectCity: !1,
              saveCity: !0
            })
          },
          Ue = function (e, t, n) {
            var o, a = null == ie || null === (o = ie.categories) || void 0 === o ? void 0 : o.find((function (t, n) {
              return n === +e
            }));
            a && t({
              args: (0, b.A)((0, b.A)({}, JSON.parse(a.args)), {}, {
                currentCityId: n,
                pageRefresh: !0
              }),
              patternName: a.patternName,
              patternVersion: a.patternVersion
            }, {
              showPageLoading: !0
            }).finally((function () {
              N().nextTick((function () {
                var e, t;
                null == ue || null === (e = ue.current) || void 0 === e || null === (t = e.reStartAutoChange) || void 0 === t || t.call(e)
              }))
            }))
          },
          Ve = function () {
            var e = (0, y.A)((0, h.A)().m((function e(t, n, o) {
              var a, r, l, i, c, u, d;
              return (0, h.A)().w((function (e) {
                for (;;) switch (e.n) {
                  case 0:
                    return e.n = 1, (0, Zm.w)({
                      showLoading: !1
                    });
                  case 1:
                    if (l = e.v, l.success) {
                      e.n = 2;
                      break
                    }
                    return (0, Zm.o)("请登录后再试"), e.a(2);
                  case 2:
                    i = "false" === (null == n ? void 0 : n.wantSee) ? "1" : "0", (0, Mm.kU)({
                      trackInfo: null == n || null === (a = n.parsedTrackInfo) || void 0 === a || null === (a = a.favorite) || void 0 === a ? void 0 : a.trackInfo
                    }, (0, b.A)((0, b.A)({}, (0, zm.Dh)(o)), {}, {
                      operate_type: i
                    })), c = ie.concertTourCms, u = 0, d = null == c || null === (r = c.nodes) || void 0 === r ? void 0 : r.find((function (e, t) {
                      var o = ((null == e ? void 0 : e.nodes) || []).find((function (e) {
                        var t;
                        return (null == e || null === (t = e.data) || void 0 === t ? void 0 : t.itemId) === (null == n ? void 0 : n.itemId)
                      }));
                      return o && (o.data.wantSee = "true" === o.data.wantSee ? "false" : "true", u = t), !!o
                    })), Ym.relationUpdate({
                      group: "PROJECT_GROUP",
                      targetType: "ITEM",
                      operateType: i,
                      targetId: null == n ? void 0 : n.itemId,
                      pageName: "DM_CHANNEL_DETAIL"
                    }).then(function () {
                      var e = (0, y.A)((0, h.A)().m((function e(t) {
                        var n, o, a, r;
                        return (0, h.A)().w((function (e) {
                          for (;;) switch (e.n) {
                            case 0:
                              if (n = (0, C.A)(t, 2), o = n[0], a = n[1], !o) {
                                e.n = 1;
                                break
                              }
                              return (0, Zm.o)(o.message), e.a(2);
                            case 1:
                              a && (0 === (r = parseInt(a.status)) || 1 === r ? (d && (null == c || c.nodes.splice(u, 1, d), kf.emit("setDmCategoryProps", {
                                concertTourCms: c
                              })), (0, Zm.o)("1" === i ? "想看成功" : "已取消想看")) : (0, Zm.o)("想看失败，请稍后再试试吧～"));
                            case 2:
                              return e.a(2)
                          }
                        }), e)
                      })));
                      return function (t) {
                        return e.apply(this, arguments)
                      }
                    }());
                  case 3:
                    return e.a(2)
                }
              }), e)
            })));
            return function (t, n, o) {
              return e.apply(this, arguments)
            }
          }(),
          We = function (e, t) {
            var n, o, a;
            null != t && null !== (n = t.keywords) && void 0 !== n && null !== (n = n[0]) && void 0 !== n && null !== (n = n.action) && void 0 !== n && n.actionUrl && Jm.A.navTo(t.keywords[0].action.actionUrl, {
              spm: Fe({
                spmc: null == t || null === (o = t.action) || void 0 === o || null === (o = o.item) || void 0 === o || null === (o = o.trackInfo) || void 0 === o ? void 0 : o.spmc,
                spmd: null === (a = t.keywords[0].action) || void 0 === a || null === (a = a.trackInfo) || void 0 === a ? void 0 : a.spmd
              })
            })
          },
          Ye = function (e, t, n) {
            var o, a, r, l, i = t.originData;
            null != i && null !== (o = i.parsedTrackInfo) && void 0 !== o && null !== (o = o.item) && void 0 !== o && o.actionUrl && ((0, Mm.kU)({
              trackInfo: null == i || null === (a = i.parsedTrackInfo) || void 0 === a || null === (a = a.item) || void 0 === a ? void 0 : a.trackInfo
            }, (0, zm.Dh)(n)), Jm.A.navTo(i.parsedTrackInfo.item.actionUrl, {
              spm: Fe({
                spmc: null == i || null === (r = i.parsedTrackInfo) || void 0 === r || null === (r = r.item) || void 0 === r || null === (r = r.trackInfo) || void 0 === r ? void 0 : r.spmc,
                spmd: null == i || null === (l = i.parsedTrackInfo) || void 0 === l || null === (l = l.item) || void 0 === l || null === (l = l.trackInfo) || void 0 === l ? void 0 : l.spmd,
                index: n
              })
            }))
          },
          He = function (e, t) {
            var n, o, a, r = ((null == e ? void 0 : e.data) || {}).parsedTrackInfo,
              l = null == r ? void 0 : r.item;
            (0, Mm.kU)({
              trackInfo: null == r || null === (n = r.item) || void 0 === n ? void 0 : n.trackInfo
            }, (0, zm.Dh)(t));
            try {
              if (null != l && l.actionUrl && l.actionUrl.startsWith("http")) {
                var i, c, u = new vf.g(decodeURIComponent(l.actionUrl).toLowerCase()),
                  d = null == u ? void 0 : u.params;
                d && (null != d && d.itemid || null != d && d.id || null != d && d.projectid || null != d && null !== (i = d.q) && void 0 !== i && i.id) || (0, mf.Ay)("error", "".concat(null == e || null === (c = e.data) || void 0 === c ? void 0 : c.name, "跳转参数不全:").concat(l.actionUrl))
              }
            } catch (e) {}
            Jm.A.navTo(null == l ? void 0 : l.actionUrl, {
              spm: Fe({
                spmc: null == l || null === (o = l.trackInfo) || void 0 === o ? void 0 : o.spmc,
                spmd: null == l || null === (a = l.trackInfo) || void 0 === a ? void 0 : a.spmd,
                index: t
              })
            })
          },
          qe = function (e, t, n) {
            var o, a, r, l, i = ((null == t ? void 0 : t.data) || {}).parsedTrackInfo,
              c = null == i ? void 0 : i.item;
            (0, Mm.kU)({
              trackInfo: null == i || null === (o = i.item) || void 0 === o ? void 0 : o.trackInfo
            }, (0, zm.Dh)(n)), Jm.A.navTo(null == t || null === (a = t.data) || void 0 === a ? void 0 : a.detailUrl, {
              spm: Fe({
                spmc: null == c || null === (r = c.trackInfo) || void 0 === r ? void 0 : r.spmc,
                spmd: null == c || null === (l = c.trackInfo) || void 0 === l ? void 0 : l.spmd,
                index: n
              })
            })
          },
          Ke = function () {
            var e = (0, y.A)((0, h.A)().m((function e(t) {
              var n, o, a, r, l, i, c, u;
              return (0, h.A)().w((function (e) {
                for (;;) switch (e.n) {
                  case 0:
                    return e.n = 1, (0, Zm.w)({
                      showLoading: !1
                    });
                  case 1:
                    if (o = e.v, o.success) {
                      e.n = 2;
                      break
                    }
                    return (0, Zm.o)("请登录后再试"), e.a(2);
                  case 2:
                    r = (a = t || {}).parsedTrackInfo, l = a.itemId, i = a.isFollow, c = "false" === String(i) ? "1" : "0", (0, Mm.kU)({
                      trackInfo: null == r || null === (n = r.favorite) || void 0 === n ? void 0 : n.trackInfo
                    }, {
                      operate_type: c
                    }), u = ie.showSoldCardCms, Ym.relationUpdate({
                      group: "PROJECT_GROUP",
                      targetType: "ITEM",
                      operateType: c,
                      targetId: l,
                      pageName: "DM_CHANNEL_DETAIL"
                    }).then(function () {
                      var e = (0, y.A)((0, h.A)().m((function e(t) {
                        var n, o, a, r, l;
                        return (0, h.A)().w((function (e) {
                          for (;;) switch (e.n) {
                            case 0:
                              if (n = (0, C.A)(t, 2), o = n[0], a = n[1], !o) {
                                e.n = 1;
                                break
                              }
                              return (0, Zm.o)(o.message), e.a(2);
                            case 1:
                              a && (0 === (r = parseInt(a.status)) || 1 === r ? ((l = u.nodes[0].data).isFollow = 0 === r ? "false" : "true", Number(l.ipvuvNum) > 0 && (l.ipvuvNum = 0 === r ? Number(l.ipvuvNum) - 1 : Number(l.ipvuvNum) + 1), kf.emit("setDmCategoryProps", {
                                showSoldCardCms: u
                              }), (0, Zm.o)("1" === c ? "想看成功" : "已取消想看")) : (0, Zm.o)("想看失败，请稍后再试试吧～"));
                            case 2:
                              return e.a(2)
                          }
                        }), e)
                      })));
                      return function (t) {
                        return e.apply(this, arguments)
                      }
                    }());
                  case 3:
                    return e.a(2)
                }
              }), e)
            })));
            return function (t) {
              return e.apply(this, arguments)
            }
          }(),
          Je = function (e, t) {
            var n, o, a = (null == t || null === (n = t.keywords) || void 0 === n || null === (n = n[0]) || void 0 === n ? void 0 : n.action) || {},
              r = a.actionUrl,
              l = a.trackInfo;
            r && Jm.A.navTo(r, {
              spm: Fe({
                spmc: null == t || null === (o = t.action) || void 0 === o || null === (o = o.item) || void 0 === o || null === (o = o.trackInfo) || void 0 === o ? void 0 : o.spmc,
                spmd: null == l ? void 0 : l.spmd
              })
            })
          },
          Ge = function (e, t) {
            var n = arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : "exp",
              o = S()((function () {
                Mm.Ay.sendGoldLog("exp" === n ? "EXP" : "CLK", "/yanchu.brandvenue_logojump.".concat(n), (0, b.A)({}, e))
              }), 500);
            o()
          },
          Ze = function (e, t, n) {
            try {
              var o, a = ((null == e || null === (o = e.parsedTrackInfo) || void 0 === o ? void 0 : o[n]) || {}).trackInfo,
                r = "/yanchu.brandvenue_" + n + ".clk",
                l = (a || {}).args;
              Mm.Ay.sendGoldLog("CLK", r, (0, b.A)((0, b.A)({}, l), {}, {
                index: t,
                spmC: (null == a ? void 0 : a.spmc) || "brandvenue",
                spmD: "".concat(a.spmd)
              }))
            } catch (e) {}
          },
          Xe = function (e, t, n) {
            var o, a = null == t || null === (o = t.parsedTrackInfo) || void 0 === o ? void 0 : o.item,
              r = (a || {}).actionUrl,
              l = (null == a ? void 0 : a.trackInfo) || {},
              i = l.spmc,
              c = l.spmd;
            r && ((0, Mm.kU)({
              trackInfo: null == a ? void 0 : a.trackInfo
            }, (0, zm.Dh)(n)), Jm.A.navTo(r, {
              spm: Fe({
                spmc: i,
                spmd: c,
                index: n
              })
            }))
          },
          $e = function () {
            (0, E.getCurrentPages)().length > 1 ? (0, E.navigateBack)() : Jm.A.navTo("pages/home/index", {}, {
              redirect: !0
            })
          },
          Qe = function (e, t, n) {
            var o = arguments.length > 3 && void 0 !== arguments[3] ? arguments[3] : "";
            Mm.Ay.sendGoldLog("clk" === e ? "CLK" : "EXP", "/yanchu.tourranklist_item.".concat(e), {
              view_id: n,
              dispatch_id: o,
              spmC: "tourranklist",
              spmD: "item_" + t
            })
          },
          et = function (e, t, n) {
            var o = arguments.length > 3 && void 0 !== arguments[3] ? arguments[3] : "";
            Mm.Ay.sendGoldLog("clk" === e ? "CLK" : "EXP", "/yanchu.function_function_item.".concat(e), {
              item_id: n,
              dispatch_id: o,
              spmC: "function",
              spmD: "function_0_item_" + t
            })
          },
          tt = function (e) {
            var t = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : "";
            Mm.Ay.sendGoldLog("clk" === e ? "CLK" : "EXP", "/yanchu.tourranklist_more.".concat(e), {
              dispatch_id: t,
              spmC: "tourranklist",
              spmD: "more"
            })
          },
          nt = function (e) {
            var t = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : "";
            Mm.Ay.sendGoldLog("clk" === e ? "CLK" : "EXP", "/yanchu.function_function_more.".concat(e), {
              dispatch_id: t,
              spmC: "function",
              spmD: "function_0_more"
            })
          };
        (0, E.useShareAppMessage)((function () {
          try {
            var e = JSON.parse((null == _e ? void 0 : _e.args) || "{}"),
              t = void 0 === (null == e ? void 0 : e.groupId) ? null == e ? void 0 : e.categoryId : null == e ? void 0 : e.groupId,
              n = "/subPackages/category/index?sc=wxmini_share&categoryId=".concat(t, "&cityname=").concat(null == G ? void 0 : G.name, "&citycode=").concat(null == G ? void 0 : G.damaiId);
            return Km.A.createShareObject("大麦网", "", n)
          } catch (e) {}
        }));
        var ot = function () {
            var e = (0, y.A)((0, h.A)().m((function e(t) {
              var n, o, a, r, l, i, c, u;
              return (0, h.A)().w((function (e) {
                for (;;) switch (e.n) {
                  case 0:
                    if (o = t.categoryId, a = t.currentIndex, r = (0, E.getCurrentPages)(), !(l = (null == r || null === (n = r[(null == r ? void 0 : r.length) - 1]) || void 0 === n || null === (n = n.__data__) || void 0 === n || null === (n = n.root) || void 0 === n ? void 0 : n.cn) || []).length) {
                      e.n = 2;
                      break
                    }
                    return i = "cms-dm-filter-panel", e.n = 1, Ef;
                  case 1:
                    c = e.v, u = {
                      "category-tabs-wrapper": "category-item-"
                    }, N().createSelectorQuery().select(".category-container >>> #".concat(i)).boundingClientRect().exec((function (e) {
                      var t, n = (0, C.A)(e, 1)[0],
                        r = (null === (t = N().getCurrentInstance().router) || void 0 === t ? void 0 : t.params) || {},
                        d = (null == r ? void 0 : r.categoryId) || (null == r ? void 0 : r.groupId);
                      (null == n ? void 0 : n.top) - 0 + (null == n ? void 0 : n.height) >= .8 * (null == c ? void 0 : c.screenHeight) ? N().setStorage({
                        key: "STASH_ROOT_CN_CATEGORY_".concat(o || d),
                        data: {
                          stashRootCN: (0, sf.rI)(l, {
                            scrollIntoView: u,
                            popup: [],
                            fs_tag: i
                          }),
                          currentIndex: a,
                          cityId: null == G ? void 0 : G.damaiId
                        },
                        fail: function () {
                          ff.A.sendOtherEvent("/yanchu.category.root_cn_cache_err", {})
                        }
                      }) : n && N().setStorage({
                        key: "STASH_ROOT_CN_CATEGORY_".concat(o || d),
                        data: {
                          stashRootCN: (0, sf.rI)(l, {
                            scrollIntoView: u
                          }),
                          currentIndex: a,
                          cityId: null == G ? void 0 : G.damaiId
                        },
                        fail: function () {
                          ff.A.sendOtherEvent("/yanchu.category.root_cn_cache_err", {})
                        }
                      })
                    }));
                  case 2:
                    return e.a(2)
                }
              }), e)
            })));
            return function (t) {
              return e.apply(this, arguments)
            }
          }(),
          at = function () {
            var e = (0, y.A)((0, h.A)().m((function e(t) {
              var n, o, a;
              return (0, h.A)().w((function (e) {
                for (;;) switch (e.n) {
                  case 0:
                    return n = t.hasLoginDo, o = t.noLoginDo, e.n = 1, qm.A.isLogin();
                  case 1:
                    if (!e.v) {
                      e.n = 2;
                      break
                    }
                    n(), e.n = 4;
                    break;
                  case 2:
                    return e.n = 3, qm.A.login();
                  case 3:
                    a = e.v, a.success && o();
                  case 4:
                    return e.a(2)
                }
              }), e)
            })));
            return function (t) {
              return e.apply(this, arguments)
            }
          }();
        (0, E.useUnload)((function () {
          wf = !0, If = !1, Nf = "", cf = null
        })), (0, k.useEffect)((function () {
          null != _e && _e.name && Mm.Ay.sendGoldLog("EXP", "/yanchu.top_city.exp", {
            spmC: "top",
            spmD: "city",
            titlelabel: null == _e ? void 0 : _e.name
          })
        }), [null == _e ? void 0 : _e.name]), (0, E.useDidShow)((function () {
          var e;
          null === (e = de.current) || void 0 === e || e.refreshTaskStatus()
        }));
        var rt = null === (t = wx) || void 0 === t || null === (n = t.getMenuButtonBoundingClientRect) || void 0 === n || null === (n = n.call(t)) || void 0 === n ? void 0 : n.left;
        return (0, Cf.jsx)(Bm, {
          rootLogCls: of ,
          rootCnCache: If,
          logConfig: bf,
          context: T.A,
          dmCategoryRef: l,
          queryParams: (0, b.A)((0, b.A)({}, null == i ? void 0 : i.params), {}, {
            referItemId: null == i || null === (o = i.params) || void 0 === o ? void 0 : o.referItemId,
            profitItemId: null == i || null === (a = i.params) || void 0 === a ? void 0 : a.profitItemId,
            comboChannel: "4",
            dmChannel: (0, Hm.JV)()
          }),
          getCity: $m.K,
          getPosition: $m.E,
          onPageRefresh: function (e) {
            (0, E.getNetworkType)({
              success: function (t) {
                t && "none" !== t.networkType ? Ue(me, e, null == G ? void 0 : G.damaiId) : (0, Zm.o)("加载失败，点击重新加载")
              },
              fail: function (e) {
                (0, Zm.o)("加载失败，点击重新加载")
              }
            })
          },
          optimizeProps: {
            isFullRender: Ne,
            setIsFullRender: Oe,
            CustomWrapper: O.RW,
            prefetchDataPromise: null === (r = N().getCurrentInstance().preloadData) || void 0 === r ? void 0 : r.categoryPrefetchDataPromise
          },
          setFetchCms: function (e) {
            Me.current = e
          },
          topMenuBarProps: {
            renderTopCustomDom: function (e) {
              var t = e ? "#fff" : "#000";
              return (0, Cf.jsxs)("div", {
                className: (0, w.A)("category-page-top-custom-dom", {
                  "has-atmosphere": e
                }),
                style: {
                  width: rt ? "".concat(rt, "px") : "100%"
                },
                children: [(0, Cf.jsx)(Fm.A, {
                  className: "category-page-top-custom-dom-backbtn",
                  htmlColor: t,
                  onClick: $e
                }), (0, Cf.jsxs)("div", {
                  className: "category-page-top-custom-dom-change-city",
                  children: [(0, Cf.jsxs)("div", {
                    className: "category-page-top-custom-dom-change-city-ele",
                    style: {
                      color: t
                    },
                    onClick: ze,
                    children: [(0, Cf.jsx)("div", {
                      children: (null == G ? void 0 : G.name) || "城市"
                    }), (0, Cf.jsx)(A.A, {
                      htmlColor: t
                    })]
                  }), P && (0, Cf.jsxs)("div", {
                    className: "category-page-top-custom-dom-change-city-tooltip",
                    children: [(0, Cf.jsx)("span", {
                      children: "这里可以切换城市哦~"
                    }), (0, Cf.jsx)(x.A, {
                      className: "category-page-top-custom-dom-change-city-tooltip-close",
                      htmlColor: "rgba(255, 255, 255, 0.5)",
                      onClick: j
                    })]
                  })]
                })]
              })
            }
          },
          TabsProps: {
            onTabChange: function (e, t) {
              var n = t.index,
                o = t.fetchCms;
              If = !1;
              var a = _(),
                r = a.damaiId,
                l = a.name;
              Z({
                damaiId: r,
                name: l
              }), ee({
                damaiId: r,
                name: l
              }), fe(n), we({}), ye({
                pageIndex: 1,
                pageSize: 15
              }), N().nextTick((function () {
                Ue(n, o, r)
              }))
            },
            createSelectorQuery: N().createSelectorQuery,
            nextTick: N().nextTick,
            onClickSearch: function () {
              Jm.A.navTo("pages/search/index", {
                citycode: s,
                cityname: v
              })
            },
            defaultActiveIndex: me
          },
          ConcertTourProps: {
            logConfig: Qm.concertTour,
            concertTourRef: ue,
            viewportWidth: N().getWindowInfo().screenWidth,
            onRoleFirstClick: function (e, t, n) {
              var o, a, r = t.action;
              null != r && r.artistchange && (0, Mm.kU)({
                trackInfo: (0, b.A)((0, b.A)({}, null == r || null === (o = r.artistchange) || void 0 === o ? void 0 : o.trackInfo), {}, {
                  spmc: null == r || null === (a = r.item) || void 0 === a || null === (a = a.trackInfo) || void 0 === a ? void 0 : a.spmc
                })
              }, (0, zm.Dh)(n))
            },
            onRoleTwiceClick: function (e, t, n) {
              var o, a, r, l, i, c = t.action;
              null != c && null !== (o = c.artistjump) && void 0 !== o && o.actionUrl && ((0, Mm.kU)({
                trackInfo: (0, b.A)((0, b.A)({}, null == c || null === (a = c.artistjump) || void 0 === a ? void 0 : a.trackInfo), {}, {
                  spmc: null == c || null === (r = c.item) || void 0 === r || null === (r = r.trackInfo) || void 0 === r ? void 0 : r.spmc
                })
              }, (0, zm.Dh)(n)), Jm.A.navTo(c.artistjump.actionUrl, {
                spm: Fe({
                  spmc: null == c || null === (l = c.item) || void 0 === l || null === (l = l.trackInfo) || void 0 === l ? void 0 : l.spmc,
                  spmd: null == c || null === (i = c.artistjump) || void 0 === i || null === (i = i.trackInfo) || void 0 === i ? void 0 : i.spmd,
                  index: n
                })
              }))
            },
            onTourCityClick: function (e, t, n) {
              var o, a, r, l, i = t.parsedTrackInfo;
              null != i && null !== (o = i.item) && void 0 !== o && o.actionUrl && ((0, Mm.kU)({
                trackInfo: null == i || null === (a = i.item) || void 0 === a ? void 0 : a.trackInfo
              }, (0, zm.Dh)(n)), Jm.A.navTo(i.item.actionUrl, {
                spm: Fe({
                  spmc: null == i || null === (r = i.item) || void 0 === r || null === (r = r.trackInfo) || void 0 === r ? void 0 : r.spmc,
                  spmd: null == i || null === (l = i.item) || void 0 === l || null === (l = l.trackInfo) || void 0 === l ? void 0 : l.spmd,
                  index: n
                })
              }))
            },
            onWantSeeClick: Ve
          },
          HotStarActivityProps: {
            hotStarActivityRef: de,
            loginCheck: at,
            comboChannel: "4",
            onRoleTwiceClick: function (e, t) {
              t.bizPageUrl && Jm.A.navTo(t.bizPageUrl)
            },
            logConfig: Qm.hotStarActivity
          },
          ShowThemeCardProps: {
            logConfig: Qm.showThemeCard,
            onClickExtra: We,
            onCardClick: Ye
          },
          ShowSmallThemeCardProps: {
            logConfig: Qm.showSmallThemeCard,
            onClickExtra: We,
            onCardClick: Ye
          },
          ShowListDrawerProps: {
            logConfig: Qm.showListDrawer,
            onClickExtra: function (e, t) {
              var n, o, a, r = null == t || null === (n = t.keywords) || void 0 === n || null === (n = n[0]) || void 0 === n || null === (n = n.action) || void 0 === n ? void 0 : n.actionUrl;
              r && Jm.A.navTo(r, {
                spm: Fe({
                  spmc: null == t || null === (o = t.action) || void 0 === o || null === (o = o.item) || void 0 === o || null === (o = o.trackInfo) || void 0 === o ? void 0 : o.spmc,
                  spmd: null == t || null === (a = t.keywords) || void 0 === a || null === (a = a[0].action) || void 0 === a || null === (a = a.trackInfo) || void 0 === a ? void 0 : a.spmd
                })
              })
            },
            onCardClick: function (e, t, n) {
              var o, a, r, l, i = t.originData;
              null != i && null !== (o = i.parsedTrackInfo) && void 0 !== o && null !== (o = o.item) && void 0 !== o && o.actionUrl && ((0, Mm.kU)({
                trackInfo: null == i || null === (a = i.parsedTrackInfo) || void 0 === a || null === (a = a.item) || void 0 === a ? void 0 : a.trackInfo
              }, (0, zm.Dh)(n)), Jm.A.navTo(i.parsedTrackInfo.item.actionUrl, {
                spm: Fe({
                  spmc: null == i || null === (r = i.parsedTrackInfo) || void 0 === r || null === (r = r.item) || void 0 === r || null === (r = r.trackInfo) || void 0 === r ? void 0 : r.spmc,
                  spmd: null == i || null === (l = i.parsedTrackInfo) || void 0 === l || null === (l = l.item) || void 0 === l || null === (l = l.trackInfo) || void 0 === l ? void 0 : l.spmd,
                  index: n
                })
              }))
            }
          },
          FilterPanelProps: {
            logConfig: Qm.FilterPanel,
            onFilterFetchData: function (e, t) {
              var n, o, a;
              we((0, b.A)((0, b.A)({}, ke), e));
              var r, l, i = df(null == _e ? void 0 : _e.args),
                c = i.groupId,
                u = i.categoryId;
              Le && (c = null == Le || null === (r = Le.data) || void 0 === r ? void 0 : r.groupId), l = null != e && e.groupId ? (0, b.A)((0, b.A)((0, b.A)({}, ke), e), {}, {
                categoryId: u,
                currentCityId: null == Q ? void 0 : Q.damaiId
              }) : (0, b.A)((0, b.A)((0, b.A)({}, ke), e), {}, {
                groupId: c,
                categoryId: u,
                currentCityId: null == Q ? void 0 : Q.damaiId
              });
              var d = (null == ie || null === (n = ie.travelFilter) || void 0 === n || null === (n = n.data) || void 0 === n ? void 0 : n.nodeId) || (null == Te || null === (o = Te.data) || void 0 === o ? void 0 : o.nodeId),
                s = (null == ie || null === (a = ie.travelFilter) || void 0 === a ? void 0 : a.parentNodeId) || (null == Te ? void 0 : Te.parentNodeId);
              kf.emit("partRefreshCms", {
                dr: [{
                  targetSectionId: d,
                  targetLayerId: s
                }],
                args: l,
                travelFilterChanged: !0,
                patternName: null == _e ? void 0 : _e.patternName,
                patternVersion: null == _e ? void 0 : _e.patternVersion
              })
            },
            onCitySelectClick: function () {
              var e, t, n = ie.filterPanelCms,
                o = ((null == n || null === (e = n.nodes) || void 0 === e || null === (e = e[0]) || void 0 === e || null === (e = e.data) || void 0 === e ? void 0 : e.parsedTrackInfo) || {}).cityEntry;
              o && (0, Mm.kU)({
                trackInfo: (0, b.A)((0, b.A)({}, null == o ? void 0 : o.trackInfo), {}, {
                  args: (0, b.A)((0, b.A)({}, null == o || null === (t = o.trackInfo) || void 0 === t ? void 0 : t.args), {}, {
                    titlelabel: L
                  })
                })
              }), (0, Xm.l)((function (e) {
                if (e) {
                  var t, n = {
                    damaiId: e.code,
                    name: e.name
                  };
                  ee(n), we((0, b.A)((0, b.A)({}, ke), {}, {
                    currentCityId: null == n ? void 0 : n.damaiId
                  }));
                  var o, a = df(null == _e ? void 0 : _e.args),
                    r = a.groupId,
                    l = a.categoryId;
                  o = null != ke && ke.groupId ? (0, b.A)((0, b.A)({}, ke), {}, {
                    currentCityId: null == n ? void 0 : n.damaiId,
                    categoryId: l
                  }) : (0, b.A)((0, b.A)({}, ke), {}, {
                    currentCityId: null == n ? void 0 : n.damaiId,
                    groupId: r,
                    categoryId: l
                  }), kf.emit("partRefreshCms", {
                    dr: [{
                      targetSectionId: null == Te || null === (t = Te.data) || void 0 === t ? void 0 : t.nodeId,
                      targetLayerId: null == Te ? void 0 : Te.parentNodeId
                    }],
                    args: (0, b.A)({}, o),
                    patternName: null == _e ? void 0 : _e.patternName,
                    patternVersion: null == _e ? void 0 : _e.patternVersion
                  })
                }
              }), {
                showSelectCity: !1,
                saveCity: !1
              })
            },
            globalCity: (0, b.A)({}, G),
            city: (0, b.A)({}, Q),
            setShowFilterPopup: ae
          },
          ShowCardProps: {
            logConfig: Qm.ShowCard,
            onShowCardClick: He
          },
          RewardCardProps: {
            logConfig: Qm.RewardCard,
            onOneRewardCardClick: qe,
            onRewardCardClick: qe
          },
          ShowSoldCardProps: {
            logConfig: Qm.ShowSoldCard,
            onCardClick: function (e) {
              var t, n, o = (e || {}).parsedTrackInfo.item;
              (0, Mm.kU)({
                trackInfo: null == o ? void 0 : o.trackInfo
              }, (0, zm.Dh)(0)), Jm.A.navTo(null == o ? void 0 : o.actionUrl, {
                spm: Fe({
                  spmc: null == o || null === (t = o.trackInfo) || void 0 === t ? void 0 : t.spmc,
                  spmd: null == o || null === (n = o.trackInfo) || void 0 === n ? void 0 : n.spmd,
                  index: "0"
                })
              })
            },
            onCardTitleClick: function (e) {
              var t, n, o = (e || {}).parsedTrackInfo.all;
              (0, Mm.kU)({
                trackInfo: null == o ? void 0 : o.trackInfo
              }), Jm.A.navTo("".concat(null == o ? void 0 : o.actionUrl, "&cityName=").concat(decodeURIComponent(decodeURIComponent(v)), "&cityCode=").concat(s), {
                spm: Fe({
                  spmc: null == o || null === (t = o.trackInfo) || void 0 === t ? void 0 : t.spmc,
                  spmd: null == o || null === (n = o.trackInfo) || void 0 === n ? void 0 : n.spmd
                })
              })
            },
            onCardFollowClick: Ke
          },
          TravelAndShowProps: {
            logConfig: Qm.travelAndShow,
            onLeftItemClick: function (e, t, n) {
              var o;
              Qe("clk", e, t, null == n || null === (o = n.list) || void 0 === o || null === (o = o[e]) || void 0 === o ? void 0 : o.comboDispatchId)
            },
            onLeftMoreClick: function (e) {
              tt("clk", null == e ? void 0 : e.comboDispatchId)
            },
            onRightItemClick: function (e, t, n) {
              var o;
              et("clk", e, t, null == n || null === (o = n.list) || void 0 === o || null === (o = o[e]) || void 0 === o ? void 0 : o.comboDispatchId)
            },
            onRightMoreClick: function (e) {
              nt("clk", null == e ? void 0 : e.comboDispatchId)
            },
            onFirstAppear: function (e) {
              var t, n, o = (0, C.A)(e, 2),
                a = o[0],
                r = o[1];
              null == a || null === (t = a.list) || void 0 === t || t.forEach((function (e, t) {
                Qe("exp", t, e.id, null == e ? void 0 : e.comboDispatchId)
              })), null == r || null === (n = r.list) || void 0 === n || n.forEach((function (e, t) {
                et("exp", t, e.id, null == e ? void 0 : e.comboDispatchId)
              })), tt("exp", null == a ? void 0 : a.comboDispatchId), nt("exp", null == r ? void 0 : r.comboDispatchId)
            }
          },
          KeyframeProps: {
            onKeyframeItemLog: function (e, t, n) {
              var o = arguments.length > 3 && void 0 !== arguments[3] && arguments[3];
              Mm.Ay.sendGoldLog("clk" === e ? "CLK" : "EXP", "/yanchu.newbanner_item.".concat(e), {
                dispatch_id: t || "",
                type: o ? 1 : 0,
                spmC: "newbanner",
                spmD: "item_" + n
              })
            }
          },
          ScrollViewProps: {
            handleLoadMore: function (e) {
              var t, n, o, a = (null == Te || null === (t = Te.data) || void 0 === t ? void 0 : t.nodeId) || (null == ie || null === (n = ie.travelFilter) || void 0 === n || null === (n = n.data) || void 0 === n ? void 0 : n.nodeId),
                r = (null == Te ? void 0 : Te.parentNodeId) || (null == ie || null === (o = ie.travelFilter) || void 0 === o ? void 0 : o.parentNodeId),
                l = "true" === (null == Le ? void 0 : Le.more);
              if ("true" === (null == Te ? void 0 : Te.more) || l) {
                var i, c, u = df(null == _e ? void 0 : _e.args),
                  d = u.groupId,
                  s = u.categoryId;
                i = null != ke && ke.groupId ? (0, b.A)((0, b.A)({}, ke), {}, {
                  categoryId: s
                }) : (0, b.A)((0, b.A)({}, ke), {}, {
                  groupId: Te ? d : null == Le || null === (c = Le.data) || void 0 === c ? void 0 : c.groupId,
                  categoryId: s
                });
                var v = (l ? null == Le ? void 0 : Le.data : null == Te ? void 0 : Te.data) || {},
                  m = v.nextCityOption,
                  f = v.nextPageIndex,
                  p = l ? {
                    travelCardLoadMore: !0
                  } : {
                    showCardLoadMore: !0
                  };
                if (m && f) e((0, b.A)((0, b.A)({
                  dr: [{
                    targetSectionId: a,
                    targetLayerId: r
                  }],
                  patternName: null == _e ? void 0 : _e.patternName,
                  patternVersion: null == _e ? void 0 : _e.patternVersion
                }, p), {}, {
                  args: (0, b.A)({
                    pageIndex: String(f),
                    cityOption: String(m),
                    pageSize: String(he.pageSize),
                    currentCityId: null == Q ? void 0 : Q.damaiId
                  }, i)
                }));
                else {
                  var g = he.pageIndex,
                    h = he.pageSize;
                  e((0, b.A)((0, b.A)({
                    dr: [{
                      targetSectionId: a,
                      targetLayerId: r
                    }],
                    patternName: null == _e ? void 0 : _e.patternName,
                    patternVersion: null == _e ? void 0 : _e.patternVersion
                  }, p), {}, {
                    args: (0, b.A)({
                      pageIndex: String(g + 1),
                      pageSize: String(h),
                      cityOption: "0",
                      currentCityId: null == Q ? void 0 : Q.damaiId
                    }, i)
                  })).then((function (e) {
                    "success" === e && ye({
                      pageIndex: g + 1,
                      pageSize: h
                    })
                  }))
                }
              }
            }
          },
          SwiperBannerProps: {
            logConfig: null == Qm ? void 0 : Qm.SwiperBanner,
            onSwiperBannerClick: function (e, t) {
              var n, o, a, r, l = ((null == e ? void 0 : e.data) || {}).parsedTrackInfo,
                i = l.item;
              (0, Mm.kU)({
                trackInfo: null == l || null === (n = l.item) || void 0 === n ? void 0 : n.trackInfo
              }, (0, zm.Dh)(t)), Jm.A.navTo(null == e || null === (o = e.data) || void 0 === o ? void 0 : o.jumpUrl, {
                spm: Fe({
                  spmc: null == i || null === (a = i.trackInfo) || void 0 === a ? void 0 : a.spmc,
                  spmd: null == i || null === (r = i.trackInfo) || void 0 === r ? void 0 : r.spmd,
                  index: t
                })
              })
            }
          },
          atmosphereProps: {
            logConfig: Qm.atmosphere,
            statusBarHeight: (0, Gm.Jt)("statusBarHeight"),
            menuBarHeight: (0, Gm.Jt)("menubarHeight"),
            isImmersive: !0,
            onClickPic: function (e, t) {
              var n, o = null == t || null === (n = t.parsedTrackInfo) || void 0 === n ? void 0 : n.item,
                a = (o || {}).actionUrl,
                r = (null == o ? void 0 : o.trackInfo) || {},
                l = r.spmc,
                i = r.spmd;
              a && ((0, Mm.kU)({
                trackInfo: null == o ? void 0 : o.trackInfo
              }), Jm.A.navTo(a, {
                spm: Fe({
                  spmc: l,
                  spmd: i
                })
              }))
            }
          },
          brandShowProps: {
            logConfig: Qm.brandShow,
            onClickBrand: function (e, t, n) {
              var o, a = null == t || null === (o = t.parsedTrackInfo) || void 0 === o ? void 0 : o.item,
                r = (a || {}).actionUrl,
                l = (null == a ? void 0 : a.trackInfo) || {},
                i = l.spmc,
                c = l.spmd;
              r && ((0, Mm.kU)({
                trackInfo: null == a ? void 0 : a.trackInfo
              }, (0, zm.Dh)(n)), Jm.A.navTo(r, {
                spm: Fe({
                  spmc: i,
                  spmd: c,
                  index: n
                })
              }))
            },
            onClickShow: function (e, t, n) {
              var o, a = null == t || null === (o = t.parsedTrackInfo) || void 0 === o || null === (o = o.projectVos) || void 0 === o ? void 0 : o[n],
                r = (a || {}).actionUrl,
                l = (null == a ? void 0 : a.trackInfo) || {},
                i = l.spmc,
                c = l.spmd;
              r && ((0, Mm.kU)({
                trackInfo: null == a ? void 0 : a.trackInfo
              }, (0, zm.Dh)(n)), Jm.A.navTo(r, {
                spm: Fe({
                  spmc: i,
                  spmd: c,
                  index: n
                })
              }))
            },
            onClickTitleBar: Je
          },
          venueBrandProps: {
            logConfig: Qm.brandV2Show,
            Canvas: O.Hl,
            onClickBrand: function (e, t, n) {
              var o, a = arguments.length > 3 && void 0 !== arguments[3] ? arguments[3] : "",
                r = (null == t || null === (o = t.parsedTrackInfo) || void 0 === o || null === (o = o.item) || void 0 === o ? void 0 : o.trackInfo) || {},
                l = r || {},
                i = l.spmc,
                c = null == t ? void 0 : t.dmActionUrl;
              if ("DmVenueBrandTab" === a) {
                var u = (null == r ? void 0 : r.args) || {};
                Ge((0, b.A)((0, b.A)({}, u), {}, {
                  spmC: r.spmc || "brandvenue",
                  spmD: "".concat(r.spmd).concat(n)
                }), n, "clk")
              }
              var d, s, v, m = "";
              "DmVenueBrandTab" === a && (m = null == t || null === (d = t.parsedTrackInfo) || void 0 === d || null === (d = d.item) || void 0 === d || null === (d = d.trackInfo) || void 0 === d ? void 0 : d.spmd), "DmVenueBrandBanner" === a && (Ze(t, n, "banner"), m = null == t || null === (s = t.parsedTrackInfo) || void 0 === s || null === (s = s.banner) || void 0 === s || null === (s = s.trackInfo) || void 0 === s ? void 0 : s.spmd), "DmVenueBrandCoupon" === a && (Ze(t, n, "couponbtn"), m = null == t || null === (v = t.parsedTrackInfo) || void 0 === v || null === (v = v.couponbtn) || void 0 === v || null === (v = v.trackInfo) || void 0 === v ? void 0 : v.spmd), 2 == +(null == t ? void 0 : t.type) && (c = "https://m.damai.cn/shows/brand.html?brandId=" + (null == t ? void 0 : t.id)), 3 == +(null == t ? void 0 : t.type) && (c = "https://m.damai.cn/shows/pages/venue.html?id=" + (null == t ? void 0 : t.id)), c && Jm.A.navTo(c, {
                spm: Fe({
                  spmc: i,
                  spmd: m,
                  index: n
                })
              }, {
                needLogin: !0
              })
            },
            onFirstClickBrand: function (e, t) {
              var n, o = (null == e || null === (n = e.parsedTrackInfo) || void 0 === n || null === (n = n.item) || void 0 === n ? void 0 : n.trackInfo) || {},
                a = (null == o ? void 0 : o.args) || {};
              Ge((0, b.A)((0, b.A)({}, a), {}, {
                spmC: o.spmc || "brandvenue",
                spmD: "".concat(o.spmd).concat(t)
              }), t)
            },
            onTabChangeFn: function (e, t) {
              try {
                var n, o = (null == e || null === (n = e.parsedTrackInfo) || void 0 === n || null === (n = n.logochange) || void 0 === n ? void 0 : n.trackInfo) || {},
                  a = (null == o ? void 0 : o.args) || {};
                Mm.Ay.sendGoldLog("CLK", (null == o ? void 0 : o.clickEventName) || "/yanchu.brandvenue_logochange.clk", (0, b.A)((0, b.A)({}, a), {}, {
                  spmC: o.spmc || "brandvenue",
                  spmD: "".concat(o.spmd).concat(t)
                }))
              } catch (e) {}
            },
            onClickShow: function (e, t, n, o) {
              if (1 == +o) {
                var a, r;
                Ze(t, n, "project");
                var l = null == t || null === (a = t.performanceInfo) || void 0 === a ? void 0 : a.itemId,
                  i = (null == t || null === (r = t.parsedTrackInfo) || void 0 === r || null === (r = r.project) || void 0 === r ? void 0 : r.trackInfo) || {},
                  c = i.spmc,
                  u = i.spmd;
                if (!l) return;
                Jm.A.navTo("https://m.damai.cn/shows/item.html?itemId=" + l, {
                  spm: Fe({
                    spmc: c,
                    spmd: u,
                    index: n
                  })
                })
              }
              if (2 == +o) {
                var d, s;
                Ze(t, n, "content");
                var v = null == t || null === (d = t.content) || void 0 === d ? void 0 : d.contentId,
                  m = (null == t || null === (s = t.parsedTrackInfo) || void 0 === s || null === (s = s.content) || void 0 === s ? void 0 : s.trackInfo) || {},
                  f = m.spmc,
                  p = m.spmd;
                if (!v) return;
                Jm.A.navTo("https://m.damai.cn/shows/pages/content-detail.html?contentId=" + v, {
                  spm: Fe({
                    spmc: f,
                    spmd: p,
                    index: n
                  })
                })
              }
            },
            onClickTitleBar: Je
          },
          musicArtistProps: {
            logConfig: Qm.musicArtist,
            onClickArtist: function (e, t, n, o) {
              var a, r, l = ((null == t || null === (a = t.action) || void 0 === a ? void 0 : a.item) || {}).actionUrl,
                i = ((null == t || null === (r = t.action) || void 0 === r ? void 0 : r.tab) || {}).trackInfo,
                c = i || {},
                u = c.spmc,
                d = c.spmd;
              (0, Mm.kU)({
                trackInfo: i
              }, (0, zm.Dh)(n)), l && n + "" == o + "" && Jm.A.navTo(l, {
                spm: Fe({
                  spmc: u,
                  spmd: d,
                  index: n
                })
              })
            },
            onClickShow: function (e, t, n) {
              var o, a = null == t || null === (o = t.parsedTrackInfo) || void 0 === o ? void 0 : o.item,
                r = (a || {}).actionUrl,
                l = (null == a ? void 0 : a.trackInfo) || {},
                i = l.spmc,
                c = l.spmd;
              r && ((0, Mm.kU)({
                trackInfo: null == a ? void 0 : a.trackInfo
              }, null != t && t.type && ["1", "2"].includes(null == t ? void 0 : t.type) ? (0, zm.Dh)(n) : void 0), Jm.A.navTo(r, {
                spm: Fe({
                  spmc: i,
                  spmd: c,
                  index: n
                })
              }))
            },
            onClickTitleBar: Je
          },
          musicFestivalBrandProps: {
            logConfig: Qm.musicFestivalBrand,
            onClickMusicFestivalBrand: Xe,
            onClickShow: function (e, t, n) {
              Xe(0, t, n)
            },
            onClickTitleBar: Je
          },
          ticketBroadcastProps: {
            logConfig: Qm.ticketBroadcast,
            onClickTopShow: function (e, t, n) {
              var o, a = null == t || null === (o = t.parsedTrackInfo) || void 0 === o || null === (o = o.projects) || void 0 === o ? void 0 : o[n],
                r = (a || {}).actionUrl,
                l = (null == a ? void 0 : a.trackInfo) || {},
                i = l.spmc,
                c = l.spmd;
              r && ((0, Mm.kU)({
                trackInfo: null == a ? void 0 : a.trackInfo
              }, (0, zm.Dh)(n)), Jm.A.navTo(r, {
                spm: Fe({
                  spmc: i,
                  spmd: c,
                  index: n
                })
              }))
            },
            onClickBottomShow: function (e, t) {
              var n, o = null == t || null === (n = t.parsedTrackInfo) || void 0 === n ? void 0 : n.item,
                a = (o || {}).actionUrl,
                r = (null == o ? void 0 : o.trackInfo) || {},
                l = r.spmc,
                i = r.spmd;
              a && ((0, Mm.kU)({
                trackInfo: null == o ? void 0 : o.trackInfo
              }), Jm.A.navTo(a, {
                spm: Fe({
                  spmc: l,
                  spmd: i
                })
              }))
            }
          },
          smallBannerProps: {
            logConfig: Qm.smallBanner,
            onClickItem: function (e, t, n) {
              var o, a = null == t || null === (o = t.parsedTrackInfo) || void 0 === o ? void 0 : o.item,
                r = (a || {}).actionUrl,
                l = (null == a ? void 0 : a.trackInfo) || {},
                i = l.spmc,
                c = l.spmd;
              r && ((0, Mm.kU)({
                trackInfo: null == a ? void 0 : a.trackInfo
              }, (0, zm.Dh)(n)), Jm.A.navTo(r, {
                spm: Fe({
                  spmc: i,
                  spmd: c,
                  index: n
                })
              }))
            }
          },
          venueSmallBannerProps: {
            Canvas: O.Hl,
            logConfig: Qm.venueSmallBanner,
            IntersectionObserver: E.createIntersectionObserver,
            onClickItem: function (e, t, n) {
              var o, a, r, l = null == t || null === (o = t.parsedTrackInfo) || void 0 === o ? void 0 : o.item,
                i = (l || {}).actionUrl,
                c = (null == l ? void 0 : l.trackInfo) || {},
                u = c.spmc,
                d = c.spmd;
              i && ((0, Mm.kU)({
                trackInfo: (0, b.A)((0, b.A)({}, null == l ? void 0 : l.trackInfo), {}, {
                  args: (0, b.A)((0, b.A)({}, null == l || null === (a = l.trackInfo) || void 0 === a ? void 0 : a.args), {}, {
                    showtype: "2" === (null == t ? void 0 : t.tagType) ? 2 : (null == t || null === (r = t.tags) || void 0 === r ? void 0 : r.length) > 0 ? 1 : 0,
                    city: L
                  })
                })
              }, (0, zm.Dh)(n)), Jm.A.navTo(i, {
                spm: Fe({
                  spmc: u,
                  spmd: d,
                  index: n
                })
              }))
            }
          },
          scrollBallAreaProps: {
            logConfig: Qm.scrollBallArea,
            onBallClick: function (e, t) {
              var n;
              (0, Mm.kU)({
                trackInfo: (null == e || null === (n = e.parsedTrackInfo) || void 0 === n || null === (n = n.item) || void 0 === n ? void 0 : n.trackInfo) || {}
              }, (0, zm.Dh)(t))
            }
          },
          horizontalAttractionCardProps: {
            logConfig: Qm.horizontalAttractionCard,
            onCardClick: function (e, t) {
              var n, o = (null == e || null === (n = e.parsedTrackInfo) || void 0 === n || null === (n = n.item) || void 0 === n ? void 0 : n.trackInfo) || {},
                a = "true" === (null == e ? void 0 : e.isReferItem) && 0 === t ? {
                  clickEventName: "/yanchu.mustsee_item.clk",
                  args: (0, b.A)({
                    tiplabel: m || f || p
                  }, (null == o ? void 0 : o.args) || {})
                } : {};
              (0, Mm.kU)({
                trackInfo: (0, b.A)((0, b.A)({}, o), a)
              }, (0, zm.Dh)(t))
            }
          },
          verticalAttractionCardProps: {
            logConfig: Qm.verticalAttractionCard,
            onCardClick: function (e, t) {
              var n;
              (0, Mm.kU)({
                trackInfo: (null == e || null === (n = e.parsedTrackInfo) || void 0 === n || null === (n = n.item) || void 0 === n ? void 0 : n.trackInfo) || {}
              }, (0, zm.Dh)(t))
            },
            onMoreClick: function (e) {
              (0, Mm.kU)({
                trackInfo: (null == e ? void 0 : e.trackInfo) || {}
              })
            }
          },
          CmsTravelFilter: {
            setTravelIndex: xe,
            citySite: Q,
            onShowCardClick: He,
            logConfig: Qm.travelFilter
          }
        })
      }
      Of.enableShareAppMessage = !0, Page((0, g.eU)(Of, "subPackages/category/index", {
        root: {
          cn: []
        }
      }, {
        navigationStyle: "custom",
        navigationBarBackgroundColor: "#ffffff",
        backgroundTextStyle: "dark",
        navigationBarTextStyle: "white",
        navigationBarTitleText: "分类",
        enableShareAppMessage: !0,
        onReachBottomDistance: 100,
        spmB: "category"
      } || {}))
    },
    2736: function (e, t, n) {
      e.exports = n(6186)()
    },
    2985: function (e) {
      e.exports = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"
    },
    6186: function (e, t, n) {
      var o = n(2985);

      function a() {}

      function r() {}
      r.resetWarningCache = a, e.exports = function () {
        function e(e, t, n, a, r, l) {
          if (l !== o) {
            var i = new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");
            throw i.name = "Invariant Violation", i
          }
        }

        function t() {
          return e
        }
        e.isRequired = e;
        var n = {
          array: e,
          bigint: e,
          bool: e,
          func: e,
          number: e,
          object: e,
          string: e,
          symbol: e,
          any: e,
          arrayOf: t,
          element: e,
          elementType: e,
          instanceOf: t,
          node: e,
          objectOf: t,
          oneOf: t,
          oneOfType: t,
          shape: t,
          exact: t,
          checkPropTypes: r,
          resetWarningCache: a
        };
        return n.PropTypes = n, n
      }
    },
    9535: function (e, t, n) {
      var o = "__lodash_hash_undefined__",
        a = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,
        r = /^\w*$/,
        l = /^\./,
        i = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,
        c = /\\(\\)?/g,
        u = /^\[object .+?Constructor\]$/,
        s = "object" == d(n.g) && n.g && n.g.Object === Object && n.g,
        v = "object" == ("undefined" == typeof self ? "undefined" : d(self)) && self && self.Object === Object && self,
        m = s || v || Function("return this")();
      var f = Array.prototype,
        p = Function.prototype,
        g = Object.prototype,
        h = m["__core-js_shared__"],
        y = function () {
          var e = /[^.]+$/.exec(h && h.keys && h.keys.IE_PROTO || "");
          return e ? "Symbol(src)_1." + e : ""
        }(),
        b = p.toString,
        C = g.hasOwnProperty,
        k = g.toString,
        w = RegExp("^" + b.call(C).replace(/[\\^$.*+?()[\]{}|]/g, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"),
        I = m.Symbol,
        E = f.splice,
        N = _(m, "Map"),
        O = _(Object, "create"),
        P = I ? I.prototype : void 0,
        S = P ? P.toString : void 0;

      function A(e) {
        var t = -1,
          n = e ? e.length : 0;
        for (this.clear(); ++t < n;) {
          var o = e[t];
          this.set(o[0], o[1])
        }
      }

      function x(e) {
        var t = -1,
          n = e ? e.length : 0;
        for (this.clear(); ++t < n;) {
          var o = e[t];
          this.set(o[0], o[1])
        }
      }

      function T(e) {
        var t = -1,
          n = e ? e.length : 0;
        for (this.clear(); ++t < n;) {
          var o = e[t];
          this.set(o[0], o[1])
        }
      }

      function D(e, t) {
        for (var n = e.length; n--;)
          if (z(e[n][0], t)) return n;
        return -1
      }

      function j(e, t) {
        t = function (e, t) {
          if (U(e)) return !1;
          var n = d(e);
          return !("number" != n && "symbol" != n && "boolean" != n && null != e && !W(e)) || r.test(e) || !a.test(e) || null != t && e in Object(t)
        }(t, e) ? [t] : function (e) {
          return U(e) ? e : B(e)
        }(t);
        for (var n = 0, o = t.length; null != e && n < o;) e = e[F(t[n++])];
        return n && n == o ? e : void 0
      }

      function L(e) {
        return !(!V(e) || function (e) {
          return !!y && y in e
        }(e)) && (function (e) {
          var t = V(e) ? k.call(e) : "";
          return "[object Function]" == t || "[object GeneratorFunction]" == t
        }(e) || function (e) {
          var t = !1;
          if (null != e && "function" != typeof e.toString) try {
            t = !!(e + "")
          } catch (e) {}
          return t
        }(e) ? w : u).test(function (e) {
          if (null != e) {
            try {
              return b.call(e)
            } catch (e) {}
            try {
              return e + ""
            } catch (e) {}
          }
          return ""
        }(e))
      }

      function R(e, t) {
        var n = e.__data__;
        return function (e) {
          var t = d(e);
          return "string" == t || "number" == t || "symbol" == t || "boolean" == t ? "__proto__" !== e : null === e
        }(t) ? n["string" == typeof t ? "string" : "hash"] : n.map
      }

      function _(e, t) {
        var n = function (e, t) {
          return null == e ? void 0 : e[t]
        }(e, t);
        return L(n) ? n : void 0
      }
      A.prototype.clear = function () {
        this.__data__ = O ? O(null) : {}
      }, A.prototype.delete = function (e) {
        return this.has(e) && delete this.__data__[e]
      }, A.prototype.get = function (e) {
        var t = this.__data__;
        if (O) {
          var n = t[e];
          return n === o ? void 0 : n
        }
        return C.call(t, e) ? t[e] : void 0
      }, A.prototype.has = function (e) {
        var t = this.__data__;
        return O ? void 0 !== t[e] : C.call(t, e)
      }, A.prototype.set = function (e, t) {
        return this.__data__[e] = O && void 0 === t ? o : t, this
      }, x.prototype.clear = function () {
        this.__data__ = []
      }, x.prototype.delete = function (e) {
        var t = this.__data__,
          n = D(t, e);
        return !(n < 0) && (n == t.length - 1 ? t.pop() : E.call(t, n, 1), !0)
      }, x.prototype.get = function (e) {
        var t = this.__data__,
          n = D(t, e);
        return n < 0 ? void 0 : t[n][1]
      }, x.prototype.has = function (e) {
        return D(this.__data__, e) > -1
      }, x.prototype.set = function (e, t) {
        var n = this.__data__,
          o = D(n, e);
        return o < 0 ? n.push([e, t]) : n[o][1] = t, this
      }, T.prototype.clear = function () {
        this.__data__ = {
          hash: new A,
          map: new(N || x),
          string: new A
        }
      }, T.prototype.delete = function (e) {
        return R(this, e).delete(e)
      }, T.prototype.get = function (e) {
        return R(this, e).get(e)
      }, T.prototype.has = function (e) {
        return R(this, e).has(e)
      }, T.prototype.set = function (e, t) {
        return R(this, e).set(e, t), this
      };
      var B = M((function (e) {
        e = function (e) {
          return null == e ? "" : function (e) {
            if ("string" == typeof e) return e;
            if (W(e)) return S ? S.call(e) : "";
            var t = e + "";
            return "0" == t && 1 / e == -1 / 0 ? "-0" : t
          }(e)
        }(e);
        var t = [];
        return l.test(e) && t.push(""), e.replace(i, (function (e, n, o, a) {
          t.push(o ? a.replace(c, "$1") : n || e)
        })), t
      }));

      function F(e) {
        if ("string" == typeof e || W(e)) return e;
        var t = e + "";
        return "0" == t && 1 / e == -1 / 0 ? "-0" : t
      }

      function M(e, t) {
        if ("function" != typeof e || t && "function" != typeof t) throw new TypeError("Expected a function");
        var n = function () {
          var o = arguments,
            a = t ? t.apply(this, o) : o[0],
            r = n.cache;
          if (r.has(a)) return r.get(a);
          var l = e.apply(this, o);
          return n.cache = r.set(a, l), l
        };
        return n.cache = new(M.Cache || T), n
      }

      function z(e, t) {
        return e === t || e != e && t != t
      }
      M.Cache = T;
      var U = Array.isArray;

      function V(e) {
        var t = d(e);
        return !!e && ("object" == t || "function" == t)
      }

      function W(e) {
        return "symbol" == d(e) || function (e) {
          return !!e && "object" == d(e)
        }(e) && "[object Symbol]" == k.call(e)
      }
      e.exports = function (e, t, n) {
        var o = null == e ? void 0 : j(e, t);
        return void 0 === o ? n : o
      }
    }
  },
  function (e) {
    e.O(0, [933, 6907, 8096, 2076], (function () {
      return t = 1945, e(e.s = t);
      var t
    })), e.O()
  }
]);
