var __defProp = Object.defineProperty;
var __defProps = Object.defineProperties;
var __getOwnPropDescs = Object.getOwnPropertyDescriptors;
var __getOwnPropSymbols = Object.getOwnPropertySymbols;
var __hasOwnProp = Object.prototype.hasOwnProperty;
var __propIsEnum = Object.prototype.propertyIsEnumerable;
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
var __spreadValues = (a, b) => {
  for (var prop in b || (b = {}))
    if (__hasOwnProp.call(b, prop))
      __defNormalProp(a, prop, b[prop]);
  if (__getOwnPropSymbols)
    for (var prop of __getOwnPropSymbols(b)) {
      if (__propIsEnum.call(b, prop))
        __defNormalProp(a, prop, b[prop]);
    }
  return a;
};
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
import { n as normalizeComponent, L as LazyImage, h as Icon, l as lodash, d as api } from "./index.js";
import { S as Skeleton$1 } from "./index4.js";
import { f as filterUrlOrigin, S as SwiperList, T as TopicModules, R as Resource } from "./index3.js";
import "vue";
import "./gd-abtest.js";
import "./index5.js";
var render$b = function() {
  var _vm = this;
  var _h = _vm.$createElement;
  var _c = _vm._self._c || _h;
  return _c("div", {
    class: _vm.bem()
  }, [_c("div", {
    class: _vm.bem("banner")
  }, [_c("Skeleton")], 1), _c("div", {
    class: _vm.bem("hotword")
  }, [_c("Skeleton", {
    attrs: {
      "width": 70,
      "height": 36
    }
  })], 1), _c("div", {
    class: _vm.bem("swiper")
  }, _vm._l(7, function(item) {
    return _c("div", {
      key: item
    }, [_c("Skeleton", {
      attrs: {
        "height": 330,
        "width": 186
      }
    })], 1);
  }), 0), _c("div", {
    class: _vm.bem("list")
  }, [_c("SkeletonTpls", {
    attrs: {
      "rows": 3,
      "cols": _vm.skeletonCols
    }
  })], 1)]);
};
var staticRenderFns$b = [];
var index_vue_vue_type_style_index_0_lang$a = /* @__PURE__ */ (() => 'body{min-width:1200px;overflow:overlay;-webkit-font-smoothing:antialiased;-webkit-tap-highlight-color:rgba(0,0,0,0)}body::-webkit-scrollbar{width:7px}body::-webkit-scrollbar-thumb{background-color:#000000b3;border:1px solid #fff;border-radius:10rem}body::-webkit-scrollbar-track-piece:start,body::-webkit-scrollbar-track-piece:end{background:transparent}ul{padding:0;list-style:none}.tofh{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}[id^=HUABAN],[class^=HUABAN],[id^=ZCOOL],[class^=ZCOOL],[id^=lvye],[class^=lvye],[id^=xmt-],[class^=xmt-]{display:none!important}body>iframe[src="chrome-extension://gpdjojdkbbmdfjfahjcgigfpmkopogic/html/grid.html"],body>iframe[src="chrome-extension://gpdjojdkbbmdfjfahjcgigfpmkopogic/html/search.html"]{visibility:hidden!important;transform:translate(-10000px)!important}.eui-popup-base{z-index:2100!important}.eui-tabs__header{border-bottom-width:1px!important}.gda-btn:not(.gda-btn-sm){min-width:88px}.gda-btn>.gdaicon{font-size:20px;vertical-align:-.1em}.gda-btn svg{vertical-align:bottom}.gda-btn.disabled,.gda-btn[disabled]{cursor:default}.gda-dropdown-menu{box-shadow:0 2px 8px #00000029}.gda-dropdown-menu-item{padding:10px 12px;line-height:20px}.gda-dropdown-menu-item>.gdaicon:first-child{font-size:20px;vertical-align:bottom}.gda-dropdown-menu-item:hover,.gda-dropdown-menu-submenu-title:hover{background:#f6f7f9}.gda-dropdown-menu-item-disabled:hover,.gda-dropdown-menu-submenu-title-disabled:hover{background-color:#fff}.gda-modal-header{padding:18px 24px;border-bottom:none}.gda-modal-title{line-height:24px}.gda-modal-close-x{width:60px;height:60px;line-height:60px}.gda-modal-footer{border-top:none}.gda-form-item-label{font-weight:700}.gda-form-horizontal .gda-form-item{margin-bottom:10px}.gda-form-horizontal .gda-form-item-label{font-weight:700;line-height:48px}.gda-pagination-item,.gda-pagination-item:focus,.gda-pagination-item:hover,.gda-pagination-prev .gda-pagination-item-link,.gda-pagination-next .gda-pagination-item-link{color:#444950;background-color:#f0f3f4;border:none}.gda-pagination-item-active,.gda-pagination-item-active:focus,.gda-pagination-item-active:hover{background:#2254f4;border:none}.gda-pagination-item-active a,.gda-pagination-item-active:focus a,.gda-pagination-item-active:hover a{color:#fff}.gda-pagination-prev.gda-pagination-disabled .gda-pagination-item-link,.gda-pagination-next.gda-pagination-disabled .gda-pagination-item-link{opacity:.3}.gda-pagination-prev:focus .gda-pagination-item-link,.gda-pagination-next:focus .gda-pagination-item-link,.gda-pagination-prev:hover .gda-pagination-item-link,.gda-pagination-next:hover .gda-pagination-item-link{color:#444950}.gda-tree li,.gda-tree li:first-child,.gda-tree li:last-child{padding:0}.gda-tree-child-tree>li:first-child{padding-top:0}:root .gda-tree li span.gda-tree-switcher.gda-tree-switcher_close .gda-tree-switcher-icon,:root .gda-tree li span.gda-tree-switcher.gda-tree-switcher_open .gda-tree-switcher-icon{font-size:16px;vertical-align:-3px}.gda-tree.gda-tree-directory>li span.gda-tree-node-content-wrapper:hover:before,.gda-tree.gda-tree-directory .gda-tree-child-tree>li span.gda-tree-node-content-wrapper:hover:before{border-radius:4px}.gda-tree .gda-tree-treenode-checkbox-checked .gda-tree-checkbox-checked:after{display:none}.exhibition-skeleton__banner{width:100%;height:300px;overflow:hidden;background:#f0f3f4;border-radius:8px}.exhibition-skeleton__hotword,.exhibition-skeleton__swiper{display:flex;margin-top:20px}.exhibition-skeleton__hotword{width:100%;height:36px;background:#f0f3f4;border-radius:8px}.exhibition-skeleton__swiper>div{width:220px;margin-right:16px;background:#f0f3f4}.exhibition-skeleton__list{margin-top:48px}\n')();
const SkeletonTpls = Skeleton$1.Tpls;
const __vue2_script$b = {
  name: "exhibition-skeleton",
  components: {
    Skeleton: Skeleton$1,
    SkeletonTpls
  },
  data() {
    return {
      skeletonCols: 5
    };
  },
  mounted() {
    this.skeletonCols = window.innerWidth >= 1600 ? 6 : 5;
  }
};
const __cssModules$b = {};
var __component__$b = /* @__PURE__ */ normalizeComponent(__vue2_script$b, render$b, staticRenderFns$b, false, __vue2_injectStyles$b, null, null, null);
function __vue2_injectStyles$b(context) {
  for (let o in __cssModules$b) {
    this[o] = __cssModules$b[o];
  }
}
var Skeleton = /* @__PURE__ */ function() {
  return __component__$b.exports;
}();
var render$a = function() {
  var _vm = this;
  var _h = _vm.$createElement;
  var _c = _vm._self._c || _h;
  return _c("div", {
    class: _vm.bem()
  }, [_c("GBreadcrumb", {
    attrs: {
      "size": "small"
    }
  }, [_c("GBreadcrumbItem", [_c("router-link", {
    attrs: {
      "to": {
        name: "cdm-discover"
      }
    }
  }, [_vm._v("\u53D1\u73B0")])], 1), _vm.banner.title ? _c("GBreadcrumbItem", {
    attrs: {
      "current": ""
    }
  }, [_c("router-link", {
    attrs: {
      "to": {
        path: _vm.$route.pathname
      }
    }
  }, [_vm._v(_vm._s(_vm.banner.title))])], 1) : _vm._e()], 1), _c("div", {
    class: _vm.bem("bg")
  }, [_c("div", {
    class: _vm.bem("bg-img"),
    style: {
      backgroundImage: `url(${_vm.src})`,
      "background-color": _vm.banner.backgroundColor
    },
    attrs: {
      "href": _vm.banner.url || null,
      "target": _vm.banner.target ? "_blank" : null
    }
  }), _vm.videoUrl ? _c("video", {
    style: {
      "background-color": _vm.banner.backgroundColor
    },
    attrs: {
      "muted": "",
      "src": _vm.videoUrl,
      "autoplay": "",
      "loop": ""
    },
    domProps: {
      "muted": true
    }
  }) : _vm._e()]), _c("div", {
    class: _vm.bem("bg-content", {
      active: !!_vm.banner.url
    }),
    on: {
      "click": function($event) {
        $event.preventDefault();
        $event.stopPropagation();
        return _vm.onClick.apply(null, arguments);
      }
    }
  }, [_c("h2", {
    staticClass: "text",
    style: {
      color: _vm.banner.fontColor || null
    }
  }, [_vm._v(" " + _vm._s(_vm.banner.title) + " ")]), _c("div"), _c("span", {
    staticClass: "text",
    style: {
      color: _vm.banner.fontColor || null
    }
  }, [_vm._v(" " + _vm._s(_vm.banner.description) + " ")]), _c("div")])], 1);
};
var staticRenderFns$a = [];
var index_vue_vue_type_style_index_0_lang$9 = /* @__PURE__ */ (() => 'body{min-width:1200px;overflow:overlay;-webkit-font-smoothing:antialiased;-webkit-tap-highlight-color:rgba(0,0,0,0)}body::-webkit-scrollbar{width:7px}body::-webkit-scrollbar-thumb{background-color:#000000b3;border:1px solid #fff;border-radius:10rem}body::-webkit-scrollbar-track-piece:start,body::-webkit-scrollbar-track-piece:end{background:transparent}ul{padding:0;list-style:none}.tofh{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}[id^=HUABAN],[class^=HUABAN],[id^=ZCOOL],[class^=ZCOOL],[id^=lvye],[class^=lvye],[id^=xmt-],[class^=xmt-]{display:none!important}body>iframe[src="chrome-extension://gpdjojdkbbmdfjfahjcgigfpmkopogic/html/grid.html"],body>iframe[src="chrome-extension://gpdjojdkbbmdfjfahjcgigfpmkopogic/html/search.html"]{visibility:hidden!important;transform:translate(-10000px)!important}.eui-popup-base{z-index:2100!important}.eui-tabs__header{border-bottom-width:1px!important}.gda-btn:not(.gda-btn-sm){min-width:88px}.gda-btn>.gdaicon{font-size:20px;vertical-align:-.1em}.gda-btn svg{vertical-align:bottom}.gda-btn.disabled,.gda-btn[disabled]{cursor:default}.gda-dropdown-menu{box-shadow:0 2px 8px #00000029}.gda-dropdown-menu-item{padding:10px 12px;line-height:20px}.gda-dropdown-menu-item>.gdaicon:first-child{font-size:20px;vertical-align:bottom}.gda-dropdown-menu-item:hover,.gda-dropdown-menu-submenu-title:hover{background:#f6f7f9}.gda-dropdown-menu-item-disabled:hover,.gda-dropdown-menu-submenu-title-disabled:hover{background-color:#fff}.gda-modal-header{padding:18px 24px;border-bottom:none}.gda-modal-title{line-height:24px}.gda-modal-close-x{width:60px;height:60px;line-height:60px}.gda-modal-footer{border-top:none}.gda-form-item-label{font-weight:700}.gda-form-horizontal .gda-form-item{margin-bottom:10px}.gda-form-horizontal .gda-form-item-label{font-weight:700;line-height:48px}.gda-pagination-item,.gda-pagination-item:focus,.gda-pagination-item:hover,.gda-pagination-prev .gda-pagination-item-link,.gda-pagination-next .gda-pagination-item-link{color:#444950;background-color:#f0f3f4;border:none}.gda-pagination-item-active,.gda-pagination-item-active:focus,.gda-pagination-item-active:hover{background:#2254f4;border:none}.gda-pagination-item-active a,.gda-pagination-item-active:focus a,.gda-pagination-item-active:hover a{color:#fff}.gda-pagination-prev.gda-pagination-disabled .gda-pagination-item-link,.gda-pagination-next.gda-pagination-disabled .gda-pagination-item-link{opacity:.3}.gda-pagination-prev:focus .gda-pagination-item-link,.gda-pagination-next:focus .gda-pagination-item-link,.gda-pagination-prev:hover .gda-pagination-item-link,.gda-pagination-next:hover .gda-pagination-item-link{color:#444950}.gda-tree li,.gda-tree li:first-child,.gda-tree li:last-child{padding:0}.gda-tree-child-tree>li:first-child{padding-top:0}:root .gda-tree li span.gda-tree-switcher.gda-tree-switcher_close .gda-tree-switcher-icon,:root .gda-tree li span.gda-tree-switcher.gda-tree-switcher_open .gda-tree-switcher-icon{font-size:16px;vertical-align:-3px}.gda-tree.gda-tree-directory>li span.gda-tree-node-content-wrapper:hover:before,.gda-tree.gda-tree-directory .gda-tree-child-tree>li span.gda-tree-node-content-wrapper:hover:before{border-radius:4px}.gda-tree .gda-tree-treenode-checkbox-checked .gda-tree-checkbox-checked:after{display:none}.exhibition-banner{position:relative}.exhibition-banner .gda-breadcrumb{margin-bottom:10px}.exhibition-banner__bg{position:absolute;display:flex;width:100%;height:220px}.exhibition-banner__bg-img{width:100%;height:100%;background-color:#dadde1;background-position:right;background-size:cover;border-radius:8px}.exhibition-banner__bg video{position:absolute;top:0;width:100%;height:100%;object-fit:cover;object-position:center right;border-radius:8px}.exhibition-banner__bg-content{position:relative;display:flex;flex-direction:column;justify-content:center;height:220px;padding:32px}.exhibition-banner__bg-content--active{cursor:pointer}.exhibition-banner__bg-content .text{display:inline-block;color:#fff;cursor:default}.exhibition-banner__bg-content>h2{margin-bottom:4px;font-size:32px}.exhibition-banner__bg-content>span{font-size:14px;font-weight:400;line-height:20px}.exhibition-banner__bg-content .search-box{display:inline-block}.exhibition-banner__bg-content .search-box .v3-search{width:419px}.exhibition-banner__bg-content .search-box .v3-search>span,.exhibition-banner__bg-content .search-box .v3-search>span .g-input__inner{max-width:419px}\n')();
const __vue2_script$a = {
  name: "exhibition-banner",
  components: {},
  props: {
    banner: {
      type: Object,
      default: () => ({})
    },
    module: {
      type: Object,
      default: () => ({})
    },
    placeholderModule: {
      type: Object,
      default: () => ({})
    },
    searchHotWords: {
      type: Array,
      default: () => []
    }
  },
  data() {
    return {};
  },
  computed: {
    placeholder() {
      if (this.placeholderModule && this.placeholderModule.resources && this.placeholderModule.resources.length) {
        return this.placeholderModule.resources[0].name || "";
      }
      return "";
    },
    src() {
      const url = this.banner.preview ? this.banner.preview.url : "";
      return this.getImageUrl(url);
    },
    videoUrl() {
      return /\.mp4$/.test(this.banner.preview ? this.banner.preview.url : "") ? this.banner.preview.url : null;
    }
  },
  methods: {
    onClick(e) {
      if (e.target.className.includes("bg-content") && this.banner.url) {
        this.banner.target ? window.open(this.banner.url) : location.href = this.banner.url;
      }
    },
    getImageUrl(url) {
      if (url) {
        return this.ossUrl(url, { height: 300 });
      }
      return "";
    }
  }
};
const __cssModules$a = {};
var __component__$a = /* @__PURE__ */ normalizeComponent(__vue2_script$a, render$a, staticRenderFns$a, false, __vue2_injectStyles$a, null, null, null);
function __vue2_injectStyles$a(context) {
  for (let o in __cssModules$a) {
    this[o] = __cssModules$a[o];
  }
}
var Banner = /* @__PURE__ */ function() {
  return __component__$a.exports;
}();
var render$9 = function() {
  var _vm = this;
  var _h = _vm.$createElement;
  var _c = _vm._self._c || _h;
  return _c("div", {
    class: _vm.bem()
  }, [_c("div", {
    class: _vm.bem("content")
  }, [_c("div", {
    class: _vm.bem("title")
  }, [_vm._v(_vm._s(_vm.title) + "\uFF1A")]), _vm._l(_vm.filterHotWords.slice(0, _vm.columns), function(item) {
    return _c("a", {
      key: item.id,
      class: _vm.bem("tag"),
      attrs: {
        "href": item.url,
        "target": "__blank"
      }
    }, [_vm._v(" " + _vm._s(item.title) + " "), _vm.isHot(item) ? _c("i", {
      class: _vm.bem("hot")
    }) : _vm.isNew(item) ? _c("i", {
      class: _vm.bem("new")
    }) : _vm._e()]);
  })], 2), _vm._t("more")], 2);
};
var staticRenderFns$9 = [];
var index_vue_vue_type_style_index_0_lang$8 = /* @__PURE__ */ (() => 'body{min-width:1200px;overflow:overlay;-webkit-font-smoothing:antialiased;-webkit-tap-highlight-color:rgba(0,0,0,0)}body::-webkit-scrollbar{width:7px}body::-webkit-scrollbar-thumb{background-color:#000000b3;border:1px solid #fff;border-radius:10rem}body::-webkit-scrollbar-track-piece:start,body::-webkit-scrollbar-track-piece:end{background:transparent}ul{padding:0;list-style:none}.tofh{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}[id^=HUABAN],[class^=HUABAN],[id^=ZCOOL],[class^=ZCOOL],[id^=lvye],[class^=lvye],[id^=xmt-],[class^=xmt-]{display:none!important}body>iframe[src="chrome-extension://gpdjojdkbbmdfjfahjcgigfpmkopogic/html/grid.html"],body>iframe[src="chrome-extension://gpdjojdkbbmdfjfahjcgigfpmkopogic/html/search.html"]{visibility:hidden!important;transform:translate(-10000px)!important}.eui-popup-base{z-index:2100!important}.eui-tabs__header{border-bottom-width:1px!important}.gda-btn:not(.gda-btn-sm){min-width:88px}.gda-btn>.gdaicon{font-size:20px;vertical-align:-.1em}.gda-btn svg{vertical-align:bottom}.gda-btn.disabled,.gda-btn[disabled]{cursor:default}.gda-dropdown-menu{box-shadow:0 2px 8px #00000029}.gda-dropdown-menu-item{padding:10px 12px;line-height:20px}.gda-dropdown-menu-item>.gdaicon:first-child{font-size:20px;vertical-align:bottom}.gda-dropdown-menu-item:hover,.gda-dropdown-menu-submenu-title:hover{background:#f6f7f9}.gda-dropdown-menu-item-disabled:hover,.gda-dropdown-menu-submenu-title-disabled:hover{background-color:#fff}.gda-modal-header{padding:18px 24px;border-bottom:none}.gda-modal-title{line-height:24px}.gda-modal-close-x{width:60px;height:60px;line-height:60px}.gda-modal-footer{border-top:none}.gda-form-item-label{font-weight:700}.gda-form-horizontal .gda-form-item{margin-bottom:10px}.gda-form-horizontal .gda-form-item-label{font-weight:700;line-height:48px}.gda-pagination-item,.gda-pagination-item:focus,.gda-pagination-item:hover,.gda-pagination-prev .gda-pagination-item-link,.gda-pagination-next .gda-pagination-item-link{color:#444950;background-color:#f0f3f4;border:none}.gda-pagination-item-active,.gda-pagination-item-active:focus,.gda-pagination-item-active:hover{background:#2254f4;border:none}.gda-pagination-item-active a,.gda-pagination-item-active:focus a,.gda-pagination-item-active:hover a{color:#fff}.gda-pagination-prev.gda-pagination-disabled .gda-pagination-item-link,.gda-pagination-next.gda-pagination-disabled .gda-pagination-item-link{opacity:.3}.gda-pagination-prev:focus .gda-pagination-item-link,.gda-pagination-next:focus .gda-pagination-item-link,.gda-pagination-prev:hover .gda-pagination-item-link,.gda-pagination-next:hover .gda-pagination-item-link{color:#444950}.gda-tree li,.gda-tree li:first-child,.gda-tree li:last-child{padding:0}.gda-tree-child-tree>li:first-child{padding-top:0}:root .gda-tree li span.gda-tree-switcher.gda-tree-switcher_close .gda-tree-switcher-icon,:root .gda-tree li span.gda-tree-switcher.gda-tree-switcher_open .gda-tree-switcher-icon{font-size:16px;vertical-align:-3px}.gda-tree.gda-tree-directory>li span.gda-tree-node-content-wrapper:hover:before,.gda-tree.gda-tree-directory .gda-tree-child-tree>li span.gda-tree-node-content-wrapper:hover:before{border-radius:4px}.gda-tree .gda-tree-treenode-checkbox-checked .gda-tree-checkbox-checked:after{display:none}.exhibitions-hot-words{display:flex;align-items:center;justify-content:space-between;background:#f6f7f9;border-radius:4px}.exhibitions-hot-words__content{display:flex;align-items:center}.exhibitions-hot-words__title{padding:19px 0;margin:0 12px 0 16px;font-size:14px;color:#444950}.exhibitions-hot-words__tag{display:flex;padding:19px 0;margin-right:32px;font-size:14px;font-weight:400;line-height:1;color:#444950;cursor:pointer;transition:color .2s}.exhibitions-hot-words__tag:last-child{margin:0}.exhibitions-hot-words__tag:hover{color:#2254f4}.exhibitions-hot-words__tag-fire{margin-left:4px;font-size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DE3LjczLDUuNjA1IEwxNy43ODQsNS42MDUgTDE4Ljc4MywwLjc1NCBMMTkuOTk4LDAuNzU0IEwxOC41NDksNyBMMTcuMDY0LDcgTDE2LjAwMiwyLjgxNSBMMTUuOTQ4LDIuODE1IEwxNC44NSw3IEwxMy4zNzQsNyBaIiBpZD0iTkVXIj48L3BhdGg+CiAgICAgICAgICAgIDwvZz4KICAgICAgICA8L2c+CiAgICA8L2c+Cjwvc3ZnPg==)}\n')();
const routesWhiteList = [/\/s\/\w+/, /\/topic\/\w+/];
const __vue2_script$9 = {
  name: "exhibitions-hot-words",
  props: {
    title: {
      type: String,
      required: true
    },
    hotWords: {
      type: Array,
      default: () => []
    },
    module: {
      type: Object,
      default: () => ({})
    }
  },
  data() {
    return {
      clientWidth: 900
    };
  },
  computed: {
    columns() {
      return Math.ceil((this.clientWidth - 130) / 120);
    },
    filterHotWords() {
      return this.hotWords.map((item) => {
        const url = filterUrlOrigin(item.url);
        if (url) {
          item.url = `/cdm${url}`;
        }
        return item;
      }).filter((item) => routesWhiteList.some((reg) => reg.test(item.url)));
    }
  },
  mounted() {
    this.update();
    window.addEventListener("resize", this.update);
  },
  beforeDestroy() {
    window.removeEventListener("resize", this.update);
  },
  methods: {
    update() {
      this.clientWidth = this.$el.clientWidth;
    },
    isHot(item) {
      return this.timeCompare(item, 2);
    },
    isNew(item) {
      return this.timeCompare(item, 1);
    },
    timeCompare(item, logoCompare) {
      const date = Date.now();
      const start = Date.parse(new Date(item.logo_start * 1e3));
      const end = Date.parse(new Date(item.logo_end * 1e3));
      const isShow = start <= date && end >= date;
      return item.logo === logoCompare && isShow;
    }
  }
};
const __cssModules$9 = {};
var __component__$9 = /* @__PURE__ */ normalizeComponent(__vue2_script$9, render$9, staticRenderFns$9, false, __vue2_injectStyles$9, null, null, null);
function __vue2_injectStyles$9(context) {
  for (let o in __cssModules$9) {
    this[o] = __cssModules$9[o];
  }
}
var HotWords = /* @__PURE__ */ function() {
  return __component__$9.exports;
}();
var render$8 = function() {
  var _vm = this;
  var _h = _vm.$createElement;
  var _c = _vm._self._c || _h;
  return _c("section", {
    class: _vm.bem()
  }, [_c("div", {
    class: _vm.bem("header")
  }, [_c("h3", [_vm._v(_vm._s(_vm.title))])]), _c("SwiperList", {
    attrs: {
      "itemWidth": 128,
      "margin": 24,
      "list": _vm.list
    },
    scopedSlots: _vm._u([{
      key: "default",
      fn: function(_ref) {
        var item = _ref.item, index2 = _ref.index;
        return [_c("div", {
          class: _vm.bem("item"),
          on: {
            "click": function($event) {
              return _vm.handleClick(item, index2);
            }
          }
        }, [_c("LazyImage", {
          class: _vm.bem("tag-img"),
          attrs: {
            "src": _vm.ossUrl(item.preview.url, 150),
            "aspectRatio": item.preview.height / item.preview.width,
            "color": item.preview.hex ? item.preview.hex : "#F0F3F4"
          }
        }), _c("router-link", {
          class: _vm.bem("tag-title"),
          attrs: {
            "to": `/s/${_vm.scene}/search?filter_id=${item.id}`
          }
        }, [_c("span", {
          staticClass: "strong"
        }, [_vm._v(_vm._s(item.name))])]), item.description ? _c("span", {
          class: _vm.bem("tag-description")
        }, [_vm._v(" " + _vm._s(item.description) + " ")]) : _vm._e()], 1)];
      }
    }])
  })], 1);
};
var staticRenderFns$8 = [];
var index_vue_vue_type_style_index_0_lang$7 = /* @__PURE__ */ (() => '.exhibitions-material-category .swiper-list__list{display:flex;flex-wrap:nowrap;align-items:flex-end}.exhibitions-material-category .swiper-list__list>div{flex:0 0 auto}.exhibitions-material-category__header{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px}.exhibitions-material-category__header h3{margin:0;font-size:20px;font-weight:600;line-height:36px;color:#000}.exhibitions-material-category__item{display:flex;flex-direction:column;align-items:center;cursor:pointer}.exhibitions-material-category__item .strong{margin-top:12px}.exhibitions-material-category__item .exhibitions-material-category__tag-description{opacity:0;transition:opacity .15s}.exhibitions-material-category__item:hover .exhibitions-material-category__tag-description{opacity:1}.exhibitions-material-category__tag-title{display:block;margin-top:12px;font-size:14px;font-weight:700;line-height:20px;color:#000}.exhibitions-material-category__tag-img{overflow:hidden;border-radius:4px;box-shadow:0 1px 4px #0000001f;transition:all .4s ease}.exhibitions-material-category__tag-img:hover{box-shadow:0 4px 16px #00000029}body{min-width:1200px;overflow:overlay;-webkit-font-smoothing:antialiased;-webkit-tap-highlight-color:rgba(0,0,0,0)}body::-webkit-scrollbar{width:7px}body::-webkit-scrollbar-thumb{background-color:#000000b3;border:1px solid #fff;border-radius:10rem}body::-webkit-scrollbar-track-piece:start,body::-webkit-scrollbar-track-piece:end{background:transparent}ul{padding:0;list-style:none}.tofh{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}[id^=HUABAN],[class^=HUABAN],[id^=ZCOOL],[class^=ZCOOL],[id^=lvye],[class^=lvye],[id^=xmt-],[class^=xmt-]{display:none!important}body>iframe[src="chrome-extension://gpdjojdkbbmdfjfahjcgigfpmkopogic/html/grid.html"],body>iframe[src="chrome-extension://gpdjojdkbbmdfjfahjcgigfpmkopogic/html/search.html"]{visibility:hidden!important;transform:translate(-10000px)!important}.eui-popup-base{z-index:2100!important}.eui-tabs__header{border-bottom-width:1px!important}.gda-btn:not(.gda-btn-sm){min-width:88px}.gda-btn>.gdaicon{font-size:20px;vertical-align:-.1em}.gda-btn svg{vertical-align:bottom}.gda-btn.disabled,.gda-btn[disabled]{cursor:default}.gda-dropdown-menu{box-shadow:0 2px 8px #00000029}.gda-dropdown-menu-item{padding:10px 12px;line-height:20px}.gda-dropdown-menu-item>.gdaicon:first-child{font-size:20px;vertical-align:bottom}.gda-dropdown-menu-item:hover,.gda-dropdown-menu-submenu-title:hover{background:#f6f7f9}.gda-dropdown-menu-item-disabled:hover,.gda-dropdown-menu-submenu-title-disabled:hover{background-color:#fff}.gda-modal-header{padding:18px 24px;border-bottom:none}.gda-modal-title{line-height:24px}.gda-modal-close-x{width:60px;height:60px;line-height:60px}.gda-modal-footer{border-top:none}.gda-form-item-label{font-weight:700}.gda-form-horizontal .gda-form-item{margin-bottom:10px}.gda-form-horizontal .gda-form-item-label{font-weight:700;line-height:48px}.gda-pagination-item,.gda-pagination-item:focus,.gda-pagination-item:hover,.gda-pagination-prev .gda-pagination-item-link,.gda-pagination-next .gda-pagination-item-link{color:#444950;background-color:#f0f3f4;border:none}.gda-pagination-item-active,.gda-pagination-item-active:focus,.gda-pagination-item-active:hover{background:#2254f4;border:none}.gda-pagination-item-active a,.gda-pagination-item-active:focus a,.gda-pagination-item-active:hover a{color:#fff}.gda-pagination-prev.gda-pagination-disabled .gda-pagination-item-link,.gda-pagination-next.gda-pagination-disabled .gda-pagination-item-link{opacity:.3}.gda-pagination-prev:focus .gda-pagination-item-link,.gda-pagination-next:focus .gda-pagination-item-link,.gda-pagination-prev:hover .gda-pagination-item-link,.gda-pagination-next:hover .gda-pagination-item-link{color:#444950}.gda-tree li,.gda-tree li:first-child,.gda-tree li:last-child{padding:0}.gda-tree-child-tree>li:first-child{padding-top:0}:root .gda-tree li span.gda-tree-switcher.gda-tree-switcher_close .gda-tree-switcher-icon,:root .gda-tree li span.gda-tree-switcher.gda-tree-switcher_open .gda-tree-switcher-icon{font-size:16px;vertical-align:-3px}.gda-tree.gda-tree-directory>li span.gda-tree-node-content-wrapper:hover:before,.gda-tree.gda-tree-directory .gda-tree-child-tree>li span.gda-tree-node-content-wrapper:hover:before{border-radius:4px}.gda-tree .gda-tree-treenode-checkbox-checked .gda-tree-checkbox-checked:after{display:none}\n')();
const __vue2_script$8 = {
  name: "exhibitions-material-category",
  components: {
    LazyImage,
    SwiperList
  },
  props: {
    title: {
      type: String,
      default: "\u63A8\u8350\u7C7B\u522B"
    },
    list: {
      type: Array,
      required: true
    },
    module: {
      type: Object,
      default: () => ({})
    }
  },
  computed: {
    scene() {
      return this.$route.params.scene;
    }
  },
  methods: {
    handleClick(item) {
      this.$router.push(`/cdm/s/${this.scene}/search?design_category_id=${item.id}`);
    }
  }
};
const __cssModules$8 = {};
var __component__$8 = /* @__PURE__ */ normalizeComponent(__vue2_script$8, render$8, staticRenderFns$8, false, __vue2_injectStyles$8, null, null, null);
function __vue2_injectStyles$8(context) {
  for (let o in __cssModules$8) {
    this[o] = __cssModules$8[o];
  }
}
var MaterialCategory = /* @__PURE__ */ function() {
  return __component__$8.exports;
}();
var render$7 = function() {
  var _vm = this;
  var _h = _vm.$createElement;
  var _c = _vm._self._c || _h;
  return _c("div", {
    class: _vm.bem()
  }, [_c("div", {
    class: _vm.bem("title")
  }, [_c("h3", {
    class: _vm.bem("title--left")
  }, [_vm._v(_vm._s(_vm.title))]), _c("div", {
    class: _vm.bem("title--right")
  }, [_vm.categoryList.length ? _c("div", _vm._l(_vm.categoryList, function(cate) {
    return _c("span", {
      key: cate.id,
      class: _vm.bem("title-item", {
        active: _vm.currentCateId === cate.id
      }),
      on: {
        "mouseover": function($event) {
          return _vm.toggleCate(cate);
        }
      }
    }, [_vm._v(" " + _vm._s(cate.name) + " ")]);
  }), 0) : _vm._e(), _vm._t("pagination"), _c("span", {
    class: _vm.bem("title-item", "more")
  }, [_c("router-link", {
    attrs: {
      "to": _vm.moreLink,
      "target": "_blank"
    },
    on: {
      "click": function($event) {
        return _vm.$emit("clickMore");
      }
    }
  }, [_vm._v(" \u67E5\u770B\u66F4\u591A "), _c("GIcon", {
    attrs: {
      "type": "right-dir"
    }
  })], 1)], 1)], 2)]), _c("div", {
    class: _vm.bem("list")
  }, [_vm._t("default")], 2)]);
};
var staticRenderFns$7 = [];
var index_vue_vue_type_style_index_0_lang$6 = /* @__PURE__ */ (() => 'body{min-width:1200px;overflow:overlay;-webkit-font-smoothing:antialiased;-webkit-tap-highlight-color:rgba(0,0,0,0)}body::-webkit-scrollbar{width:7px}body::-webkit-scrollbar-thumb{background-color:#000000b3;border:1px solid #fff;border-radius:10rem}body::-webkit-scrollbar-track-piece:start,body::-webkit-scrollbar-track-piece:end{background:transparent}ul{padding:0;list-style:none}.tofh{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}[id^=HUABAN],[class^=HUABAN],[id^=ZCOOL],[class^=ZCOOL],[id^=lvye],[class^=lvye],[id^=xmt-],[class^=xmt-]{display:none!important}body>iframe[src="chrome-extension://gpdjojdkbbmdfjfahjcgigfpmkopogic/html/grid.html"],body>iframe[src="chrome-extension://gpdjojdkbbmdfjfahjcgigfpmkopogic/html/search.html"]{visibility:hidden!important;transform:translate(-10000px)!important}.eui-popup-base{z-index:2100!important}.eui-tabs__header{border-bottom-width:1px!important}.gda-btn:not(.gda-btn-sm){min-width:88px}.gda-btn>.gdaicon{font-size:20px;vertical-align:-.1em}.gda-btn svg{vertical-align:bottom}.gda-btn.disabled,.gda-btn[disabled]{cursor:default}.gda-dropdown-menu{box-shadow:0 2px 8px #00000029}.gda-dropdown-menu-item{padding:10px 12px;line-height:20px}.gda-dropdown-menu-item>.gdaicon:first-child{font-size:20px;vertical-align:bottom}.gda-dropdown-menu-item:hover,.gda-dropdown-menu-submenu-title:hover{background:#f6f7f9}.gda-dropdown-menu-item-disabled:hover,.gda-dropdown-menu-submenu-title-disabled:hover{background-color:#fff}.gda-modal-header{padding:18px 24px;border-bottom:none}.gda-modal-title{line-height:24px}.gda-modal-close-x{width:60px;height:60px;line-height:60px}.gda-modal-footer{border-top:none}.gda-form-item-label{font-weight:700}.gda-form-horizontal .gda-form-item{margin-bottom:10px}.gda-form-horizontal .gda-form-item-label{font-weight:700;line-height:48px}.gda-pagination-item,.gda-pagination-item:focus,.gda-pagination-item:hover,.gda-pagination-prev .gda-pagination-item-link,.gda-pagination-next .gda-pagination-item-link{color:#444950;background-color:#f0f3f4;border:none}.gda-pagination-item-active,.gda-pagination-item-active:focus,.gda-pagination-item-active:hover{background:#2254f4;border:none}.gda-pagination-item-active a,.gda-pagination-item-active:focus a,.gda-pagination-item-active:hover a{color:#fff}.gda-pagination-prev.gda-pagination-disabled .gda-pagination-item-link,.gda-pagination-next.gda-pagination-disabled .gda-pagination-item-link{opacity:.3}.gda-pagination-prev:focus .gda-pagination-item-link,.gda-pagination-next:focus .gda-pagination-item-link,.gda-pagination-prev:hover .gda-pagination-item-link,.gda-pagination-next:hover .gda-pagination-item-link{color:#444950}.gda-tree li,.gda-tree li:first-child,.gda-tree li:last-child{padding:0}.gda-tree-child-tree>li:first-child{padding-top:0}:root .gda-tree li span.gda-tree-switcher.gda-tree-switcher_close .gda-tree-switcher-icon,:root .gda-tree li span.gda-tree-switcher.gda-tree-switcher_open .gda-tree-switcher-icon{font-size:16px;vertical-align:-3px}.gda-tree.gda-tree-directory>li span.gda-tree-node-content-wrapper:hover:before,.gda-tree.gda-tree-directory .gda-tree-child-tree>li span.gda-tree-node-content-wrapper:hover:before{border-radius:4px}.gda-tree .gda-tree-treenode-checkbox-checked .gda-tree-checkbox-checked:after{display:none}.block__title{display:flex;align-items:center;justify-content:space-between;padding-bottom:30px}.block__title--left{display:inline-block;width:300px;font-size:24px;color:#000}.block__title--right{display:flex}.block__title-item{display:inline-block;padding:8px 20px;margin-left:16px;font-size:14px;color:#000;text-align:center;background-color:#f8fafc;border-radius:18px;cursor:pointer}.block__title-item--more{padding:8px 10px 8px 22px}.block__title-item>a{display:flex;align-items:center;justify-content:space-between;min-width:76px;color:#000}.block__title-item>a .gdd-svg-icon{font-size:20px;color:#000}.block__title-item:hover,.block__title-item:hover a,.block__title-item:hover .gdd-svg-icon,.block__title-item--active{color:#2254f4}\n')();
const __vue2_script$7 = {
  name: "block",
  props: {
    title: {
      type: String,
      default: ""
    },
    categoryList: {
      type: Array,
      default: () => []
    },
    currentCateId: {
      type: [String, Number],
      default: ""
    },
    moreLink: {
      type: [String, Object],
      default: "#"
    }
  },
  data() {
    return {};
  },
  methods: {
    toggleCate(cate) {
      this.$emit("toggleCate", cate);
    }
  }
};
const __cssModules$7 = {};
var __component__$7 = /* @__PURE__ */ normalizeComponent(__vue2_script$7, render$7, staticRenderFns$7, false, __vue2_injectStyles$7, null, null, null);
function __vue2_injectStyles$7(context) {
  for (let o in __cssModules$7) {
    this[o] = __cssModules$7[o];
  }
}
var Block = /* @__PURE__ */ function() {
  return __component__$7.exports;
}();
var render$6 = function() {
  var _vm = this;
  var _h = _vm.$createElement;
  var _c = _vm._self._c || _h;
  return _c("router-link", {
    class: _vm.bem(),
    attrs: {
      "tag": "div",
      "to": {
        name: "suit-detail",
        params: {
          id: _vm.topic.id
        }
      }
    }
  }, [_c("div", {
    class: _vm.bem("preview"),
    style: {
      "padding-bottom": _vm.topic.preview.height / _vm.topic.preview.width * 100 + "%"
    }
  }, [_c("LazyImage", {
    class: _vm.bem("img"),
    attrs: {
      "src": _vm.src
    }
  })], 1), _c("div", {
    class: _vm.bem("footer")
  }, [_c("div", {
    class: _vm.bem("description")
  }, [_vm.topic.title ? _c("router-link", {
    class: _vm.bem("title"),
    attrs: {
      "title": _vm.topic.title,
      "to": {
        name: "suit-detail",
        params: {
          id: _vm.topic.id
        }
      }
    }
  }, [_vm._v(" " + _vm._s(_vm.topic.title) + " ")]) : _vm._e(), _vm.descMap[_vm.topic.type] ? _c("div", {
    class: _vm.bem("type")
  }, [_vm._v(" " + _vm._s(_vm.descMap[_vm.topic.type]) + " ")]) : _vm._e()], 1), _c("div", {
    class: _vm.bem("tag")
  }, [_vm._v(_vm._s(_vm.topic.count) + "\u7D20\u6750")])])]);
};
var staticRenderFns$6 = [];
var suitCard_vue_vue_type_style_index_0_lang = /* @__PURE__ */ (() => 'body{min-width:1200px;overflow:overlay;-webkit-font-smoothing:antialiased;-webkit-tap-highlight-color:rgba(0,0,0,0)}body::-webkit-scrollbar{width:7px}body::-webkit-scrollbar-thumb{background-color:#000000b3;border:1px solid #fff;border-radius:10rem}body::-webkit-scrollbar-track-piece:start,body::-webkit-scrollbar-track-piece:end{background:transparent}ul{padding:0;list-style:none}.tofh{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}[id^=HUABAN],[class^=HUABAN],[id^=ZCOOL],[class^=ZCOOL],[id^=lvye],[class^=lvye],[id^=xmt-],[class^=xmt-]{display:none!important}body>iframe[src="chrome-extension://gpdjojdkbbmdfjfahjcgigfpmkopogic/html/grid.html"],body>iframe[src="chrome-extension://gpdjojdkbbmdfjfahjcgigfpmkopogic/html/search.html"]{visibility:hidden!important;transform:translate(-10000px)!important}.eui-popup-base{z-index:2100!important}.eui-tabs__header{border-bottom-width:1px!important}.gda-btn:not(.gda-btn-sm){min-width:88px}.gda-btn>.gdaicon{font-size:20px;vertical-align:-.1em}.gda-btn svg{vertical-align:bottom}.gda-btn.disabled,.gda-btn[disabled]{cursor:default}.gda-dropdown-menu{box-shadow:0 2px 8px #00000029}.gda-dropdown-menu-item{padding:10px 12px;line-height:20px}.gda-dropdown-menu-item>.gdaicon:first-child{font-size:20px;vertical-align:bottom}.gda-dropdown-menu-item:hover,.gda-dropdown-menu-submenu-title:hover{background:#f6f7f9}.gda-dropdown-menu-item-disabled:hover,.gda-dropdown-menu-submenu-title-disabled:hover{background-color:#fff}.gda-modal-header{padding:18px 24px;border-bottom:none}.gda-modal-title{line-height:24px}.gda-modal-close-x{width:60px;height:60px;line-height:60px}.gda-modal-footer{border-top:none}.gda-form-item-label{font-weight:700}.gda-form-horizontal .gda-form-item{margin-bottom:10px}.gda-form-horizontal .gda-form-item-label{font-weight:700;line-height:48px}.gda-pagination-item,.gda-pagination-item:focus,.gda-pagination-item:hover,.gda-pagination-prev .gda-pagination-item-link,.gda-pagination-next .gda-pagination-item-link{color:#444950;background-color:#f0f3f4;border:none}.gda-pagination-item-active,.gda-pagination-item-active:focus,.gda-pagination-item-active:hover{background:#2254f4;border:none}.gda-pagination-item-active a,.gda-pagination-item-active:focus a,.gda-pagination-item-active:hover a{color:#fff}.gda-pagination-prev.gda-pagination-disabled .gda-pagination-item-link,.gda-pagination-next.gda-pagination-disabled .gda-pagination-item-link{opacity:.3}.gda-pagination-prev:focus .gda-pagination-item-link,.gda-pagination-next:focus .gda-pagination-item-link,.gda-pagination-prev:hover .gda-pagination-item-link,.gda-pagination-next:hover .gda-pagination-item-link{color:#444950}.gda-tree li,.gda-tree li:first-child,.gda-tree li:last-child{padding:0}.gda-tree-child-tree>li:first-child{padding-top:0}:root .gda-tree li span.gda-tree-switcher.gda-tree-switcher_close .gda-tree-switcher-icon,:root .gda-tree li span.gda-tree-switcher.gda-tree-switcher_open .gda-tree-switcher-icon{font-size:16px;vertical-align:-3px}.gda-tree.gda-tree-directory>li span.gda-tree-node-content-wrapper:hover:before,.gda-tree.gda-tree-directory .gda-tree-child-tree>li span.gda-tree-node-content-wrapper:hover:before{border-radius:4px}.gda-tree .gda-tree-treenode-checkbox-checked .gda-tree-checkbox-checked:after{display:none}.suit-card{display:block;padding:14px;overflow:hidden;background:#ffffff;border-radius:4px;box-shadow:0 1px 4px #0000001f;cursor:pointer;transition:all .3s cubic-bezier(.25,.8,.25,1)}.suit-card:hover{box-shadow:0 4px 16px #00000029}.suit-card__preview{position:relative;cursor:pointer}.suit-card .suit-card__img{position:absolute;top:0;left:0;width:100%;height:100%}.suit-card__footer{display:flex;align-items:center;justify-content:space-between;margin-top:20px;margin-bottom:10px}.suit-card__tag{flex:0 0 auto;padding:4px 12px;font-size:12px;font-weight:400;line-height:1;color:#444950;border:1px solid #dadde1;border-radius:12px;cursor:default}.suit-card__title{font-size:16px;font-weight:700;line-height:22px;color:#444950}.suit-card__title:hover{color:#000}.suit-card__description{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.suit-card__type{margin-top:4px;font-size:13px;line-height:17px;color:#666}\n')();
const descMap = {
  decoration: "\u6D77\u62A5/\u4E3B\u56FE/\u9875\u9762",
  eleme: "\u5E97\u62DB/\u6D77\u62A5/\u5546\u54C1\u56FE"
};
const __vue2_script$6 = {
  name: "suit-card",
  components: {
    LazyImage
  },
  props: {
    topic: {
      type: Object,
      required: true
    },
    alias: {
      type: String,
      default: "decoration"
    }
  },
  data() {
    return {
      descMap
    };
  },
  computed: {
    category() {
      switch (this.topic.type) {
        case "group":
          return "\u6D77\u62A5/\u4E3B\u56FE/\u9875\u9762";
      }
      return null;
    },
    type() {
      return this.alias;
    },
    src() {
      return this.getImageUrl(this.topic.preview);
    }
  },
  methods: {
    load() {
      this.$emit("load");
    },
    getImageUrl(preview) {
      if (preview && preview.url && preview.width) {
        return this.ossUrl(preview.url, {
          width: preview.width / 2,
          type: "webp"
        });
      }
      return "";
    }
  }
};
const __cssModules$6 = {};
var __component__$6 = /* @__PURE__ */ normalizeComponent(__vue2_script$6, render$6, staticRenderFns$6, false, __vue2_injectStyles$6, null, null, null);
function __vue2_injectStyles$6(context) {
  for (let o in __cssModules$6) {
    this[o] = __cssModules$6[o];
  }
}
var SuitCard = /* @__PURE__ */ function() {
  return __component__$6.exports;
}();
var render$5 = function() {
  var _vm = this;
  var _h = _vm.$createElement;
  var _c = _vm._self._c || _h;
  return _c("section", {
    class: _vm.bem()
  }, _vm._l(_vm.suits, function(suit) {
    return _c("SuitCard", {
      key: suit.id,
      class: _vm.bem("suit"),
      attrs: {
        "topic": suit
      }
    });
  }), 1);
};
var staticRenderFns$5 = [];
var index_vue_vue_type_style_index_0_lang$5 = /* @__PURE__ */ (() => '.suit-list{display:flex;flex-wrap:wrap;padding-bottom:12px}.suit-list__suit{width:calc((100% - 60px)/4);margin-right:20px;margin-bottom:20px}@media (max-width: 1600px){.suit-list__suit{width:calc((100% - 40px) / 3)}.suit-list__suit:nth-child(4n){margin-right:20px}.suit-list__suit:nth-child(3n){margin-right:0}}.suit-list__suit:nth-child(4n){margin-right:0}body{min-width:1200px;overflow:overlay;-webkit-font-smoothing:antialiased;-webkit-tap-highlight-color:rgba(0,0,0,0)}body::-webkit-scrollbar{width:7px}body::-webkit-scrollbar-thumb{background-color:#000000b3;border:1px solid #fff;border-radius:10rem}body::-webkit-scrollbar-track-piece:start,body::-webkit-scrollbar-track-piece:end{background:transparent}ul{padding:0;list-style:none}.tofh{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}[id^=HUABAN],[class^=HUABAN],[id^=ZCOOL],[class^=ZCOOL],[id^=lvye],[class^=lvye],[id^=xmt-],[class^=xmt-]{display:none!important}body>iframe[src="chrome-extension://gpdjojdkbbmdfjfahjcgigfpmkopogic/html/grid.html"],body>iframe[src="chrome-extension://gpdjojdkbbmdfjfahjcgigfpmkopogic/html/search.html"]{visibility:hidden!important;transform:translate(-10000px)!important}.eui-popup-base{z-index:2100!important}.eui-tabs__header{border-bottom-width:1px!important}.gda-btn:not(.gda-btn-sm){min-width:88px}.gda-btn>.gdaicon{font-size:20px;vertical-align:-.1em}.gda-btn svg{vertical-align:bottom}.gda-btn.disabled,.gda-btn[disabled]{cursor:default}.gda-dropdown-menu{box-shadow:0 2px 8px #00000029}.gda-dropdown-menu-item{padding:10px 12px;line-height:20px}.gda-dropdown-menu-item>.gdaicon:first-child{font-size:20px;vertical-align:bottom}.gda-dropdown-menu-item:hover,.gda-dropdown-menu-submenu-title:hover{background:#f6f7f9}.gda-dropdown-menu-item-disabled:hover,.gda-dropdown-menu-submenu-title-disabled:hover{background-color:#fff}.gda-modal-header{padding:18px 24px;border-bottom:none}.gda-modal-title{line-height:24px}.gda-modal-close-x{width:60px;height:60px;line-height:60px}.gda-modal-footer{border-top:none}.gda-form-item-label{font-weight:700}.gda-form-horizontal .gda-form-item{margin-bottom:10px}.gda-form-horizontal .gda-form-item-label{font-weight:700;line-height:48px}.gda-pagination-item,.gda-pagination-item:focus,.gda-pagination-item:hover,.gda-pagination-prev .gda-pagination-item-link,.gda-pagination-next .gda-pagination-item-link{color:#444950;background-color:#f0f3f4;border:none}.gda-pagination-item-active,.gda-pagination-item-active:focus,.gda-pagination-item-active:hover{background:#2254f4;border:none}.gda-pagination-item-active a,.gda-pagination-item-active:focus a,.gda-pagination-item-active:hover a{color:#fff}.gda-pagination-prev.gda-pagination-disabled .gda-pagination-item-link,.gda-pagination-next.gda-pagination-disabled .gda-pagination-item-link{opacity:.3}.gda-pagination-prev:focus .gda-pagination-item-link,.gda-pagination-next:focus .gda-pagination-item-link,.gda-pagination-prev:hover .gda-pagination-item-link,.gda-pagination-next:hover .gda-pagination-item-link{color:#444950}.gda-tree li,.gda-tree li:first-child,.gda-tree li:last-child{padding:0}.gda-tree-child-tree>li:first-child{padding-top:0}:root .gda-tree li span.gda-tree-switcher.gda-tree-switcher_close .gda-tree-switcher-icon,:root .gda-tree li span.gda-tree-switcher.gda-tree-switcher_open .gda-tree-switcher-icon{font-size:16px;vertical-align:-3px}.gda-tree.gda-tree-directory>li span.gda-tree-node-content-wrapper:hover:before,.gda-tree.gda-tree-directory .gda-tree-child-tree>li span.gda-tree-node-content-wrapper:hover:before{border-radius:4px}.gda-tree .gda-tree-treenode-checkbox-checked .gda-tree-checkbox-checked:after{display:none}\n')();
const __vue2_script$5 = {
  name: "suit-list",
  components: {
    SuitCard
  },
  props: {
    suits: {
      type: Array,
      required: true
    }
  }
};
const __cssModules$5 = {};
var __component__$5 = /* @__PURE__ */ normalizeComponent(__vue2_script$5, render$5, staticRenderFns$5, false, __vue2_injectStyles$5, null, null, null);
function __vue2_injectStyles$5(context) {
  for (let o in __cssModules$5) {
    this[o] = __cssModules$5[o];
  }
}
var SuitList = /* @__PURE__ */ function() {
  return __component__$5.exports;
}();
var render$4 = function() {
  var _vm = this;
  var _h = _vm.$createElement;
  var _c = _vm._self._c || _h;
  return _c("div", {
    class: _vm.bem()
  }, [_c("button", {
    class: _vm.bem("btn", "prev"),
    on: {
      "click": function($event) {
        return _vm.onPagerClick(-1);
      }
    }
  }, [_c("GIcon", {
    class: {
      disabled: _vm.isDisabled(-1)
    },
    attrs: {
      "type": "right-dir"
    }
  })], 1), _c("div", {
    class: _vm.bem("page")
  }, [_c("span", {
    class: _vm.bem("pager-current")
  }, [_vm._v(_vm._s(_vm.currentPage))]), _c("span", [_vm._v("/")]), _c("span", {
    class: _vm.bem("page-total")
  }, [_vm._v(_vm._s(_vm.pageCount))])]), _c("button", {
    class: _vm.bem("btn", "next"),
    on: {
      "click": function($event) {
        return _vm.onPagerClick(1);
      }
    }
  }, [_c("GIcon", {
    class: {
      disabled: _vm.isDisabled(1)
    },
    attrs: {
      "type": "right-dir"
    }
  })], 1)]);
};
var staticRenderFns$4 = [];
var index_vue_vue_type_style_index_0_lang$4 = /* @__PURE__ */ (() => 'body{min-width:1200px;overflow:overlay;-webkit-font-smoothing:antialiased;-webkit-tap-highlight-color:rgba(0,0,0,0)}body::-webkit-scrollbar{width:7px}body::-webkit-scrollbar-thumb{background-color:#000000b3;border:1px solid #fff;border-radius:10rem}body::-webkit-scrollbar-track-piece:start,body::-webkit-scrollbar-track-piece:end{background:transparent}ul{padding:0;list-style:none}.tofh{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}[id^=HUABAN],[class^=HUABAN],[id^=ZCOOL],[class^=ZCOOL],[id^=lvye],[class^=lvye],[id^=xmt-],[class^=xmt-]{display:none!important}body>iframe[src="chrome-extension://gpdjojdkbbmdfjfahjcgigfpmkopogic/html/grid.html"],body>iframe[src="chrome-extension://gpdjojdkbbmdfjfahjcgigfpmkopogic/html/search.html"]{visibility:hidden!important;transform:translate(-10000px)!important}.eui-popup-base{z-index:2100!important}.eui-tabs__header{border-bottom-width:1px!important}.gda-btn:not(.gda-btn-sm){min-width:88px}.gda-btn>.gdaicon{font-size:20px;vertical-align:-.1em}.gda-btn svg{vertical-align:bottom}.gda-btn.disabled,.gda-btn[disabled]{cursor:default}.gda-dropdown-menu{box-shadow:0 2px 8px #00000029}.gda-dropdown-menu-item{padding:10px 12px;line-height:20px}.gda-dropdown-menu-item>.gdaicon:first-child{font-size:20px;vertical-align:bottom}.gda-dropdown-menu-item:hover,.gda-dropdown-menu-submenu-title:hover{background:#f6f7f9}.gda-dropdown-menu-item-disabled:hover,.gda-dropdown-menu-submenu-title-disabled:hover{background-color:#fff}.gda-modal-header{padding:18px 24px;border-bottom:none}.gda-modal-title{line-height:24px}.gda-modal-close-x{width:60px;height:60px;line-height:60px}.gda-modal-footer{border-top:none}.gda-form-item-label{font-weight:700}.gda-form-horizontal .gda-form-item{margin-bottom:10px}.gda-form-horizontal .gda-form-item-label{font-weight:700;line-height:48px}.gda-pagination-item,.gda-pagination-item:focus,.gda-pagination-item:hover,.gda-pagination-prev .gda-pagination-item-link,.gda-pagination-next .gda-pagination-item-link{color:#444950;background-color:#f0f3f4;border:none}.gda-pagination-item-active,.gda-pagination-item-active:focus,.gda-pagination-item-active:hover{background:#2254f4;border:none}.gda-pagination-item-active a,.gda-pagination-item-active:focus a,.gda-pagination-item-active:hover a{color:#fff}.gda-pagination-prev.gda-pagination-disabled .gda-pagination-item-link,.gda-pagination-next.gda-pagination-disabled .gda-pagination-item-link{opacity:.3}.gda-pagination-prev:focus .gda-pagination-item-link,.gda-pagination-next:focus .gda-pagination-item-link,.gda-pagination-prev:hover .gda-pagination-item-link,.gda-pagination-next:hover .gda-pagination-item-link{color:#444950}.gda-tree li,.gda-tree li:first-child,.gda-tree li:last-child{padding:0}.gda-tree-child-tree>li:first-child{padding-top:0}:root .gda-tree li span.gda-tree-switcher.gda-tree-switcher_close .gda-tree-switcher-icon,:root .gda-tree li span.gda-tree-switcher.gda-tree-switcher_open .gda-tree-switcher-icon{font-size:16px;vertical-align:-3px}.gda-tree.gda-tree-directory>li span.gda-tree-node-content-wrapper:hover:before,.gda-tree.gda-tree-directory .gda-tree-child-tree>li span.gda-tree-node-content-wrapper:hover:before{border-radius:4px}.gda-tree .gda-tree-treenode-checkbox-checked .gda-tree-checkbox-checked:after{display:none}.topic-pagination{display:flex;align-items:center;justify-content:space-between;min-width:94px;height:36px;line-height:36px;background:#f8fafc;border-radius:18px}.topic-pagination__page{letter-spacing:1px;user-select:none}.topic-pagination__btn{width:20px;height:36px;cursor:pointer}.topic-pagination__btn:hover svg{color:#2254f4}.topic-pagination__btn svg{margin-top:3px;font-size:20px;color:#000}.topic-pagination__btn svg.disabled{color:#bec3c9;cursor:not-allowed}.topic-pagination__btn--prev{margin-left:12px}.topic-pagination__btn--prev svg{transform:rotate(180deg)}.topic-pagination__btn--next{margin-right:12px}\n')();
const __vue2_script$4 = {
  name: "topic-pagination",
  props: {
    total: {
      type: Number,
      default: 1
    },
    pageSize: {
      type: Number,
      default: 1
    },
    currentPage: {
      type: Number,
      default: 1
    }
  },
  data() {
    return {};
  },
  computed: {
    pageCount() {
      return Math.ceil(this.total / this.pageSize);
    }
  },
  methods: {
    onPagerClick(n) {
      if (this.isDisabled(n)) {
        return;
      }
      let pageIndex = this.currentPage;
      pageIndex += n;
      if (pageIndex > this.pageCount) {
        pageIndex = this.pageCount;
      } else if (pageIndex < 1) {
        pageIndex = 1;
      }
      this.$emit("change", pageIndex);
    },
    isDisabled(step) {
      if (step === 1) {
        return this.currentPage === this.pageCount;
      }
      return this.currentPage === 1;
    }
  }
};
const __cssModules$4 = {};
var __component__$4 = /* @__PURE__ */ normalizeComponent(__vue2_script$4, render$4, staticRenderFns$4, false, __vue2_injectStyles$4, null, null, null);
function __vue2_injectStyles$4(context) {
  for (let o in __cssModules$4) {
    this[o] = __cssModules$4[o];
  }
}
var TopicPagination = /* @__PURE__ */ function() {
  return __component__$4.exports;
}();
var render$3 = function() {
  var _vm = this;
  var _h = _vm.$createElement;
  var _c = _vm._self._c || _h;
  return _c("div", {
    class: _vm.bem()
  }, [_c("Block", {
    attrs: {
      "title": _vm.title,
      "moreLink": "/topics/recommendation"
    }
  }, [_c("topic-pagination", {
    attrs: {
      "slot": "pagination",
      "pageSize": _vm.columns,
      "total": _vm.topics.length,
      "currentPage": _vm.currentPage
    },
    on: {
      "update:currentPage": function($event) {
        _vm.currentPage = $event;
      },
      "update:current-page": function($event) {
        _vm.currentPage = $event;
      },
      "change": function($event) {
        return _vm.onPagerClick($event);
      }
    },
    slot: "pagination"
  }), _c("div", {
    class: _vm.bem("list-container")
  }, [_c("SuitList", {
    attrs: {
      "suits": _vm.listOfCurPage
    }
  })], 1)], 1)], 1);
};
var staticRenderFns$3 = [];
var index_vue_vue_type_style_index_0_lang$3 = /* @__PURE__ */ (() => '.exhibition-topics__list-container{position:relative}.exhibition-topics__list-container--loading{min-height:100px}body{min-width:1200px;overflow:overlay;-webkit-font-smoothing:antialiased;-webkit-tap-highlight-color:rgba(0,0,0,0)}body::-webkit-scrollbar{width:7px}body::-webkit-scrollbar-thumb{background-color:#000000b3;border:1px solid #fff;border-radius:10rem}body::-webkit-scrollbar-track-piece:start,body::-webkit-scrollbar-track-piece:end{background:transparent}ul{padding:0;list-style:none}.tofh{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}[id^=HUABAN],[class^=HUABAN],[id^=ZCOOL],[class^=ZCOOL],[id^=lvye],[class^=lvye],[id^=xmt-],[class^=xmt-]{display:none!important}body>iframe[src="chrome-extension://gpdjojdkbbmdfjfahjcgigfpmkopogic/html/grid.html"],body>iframe[src="chrome-extension://gpdjojdkbbmdfjfahjcgigfpmkopogic/html/search.html"]{visibility:hidden!important;transform:translate(-10000px)!important}.eui-popup-base{z-index:2100!important}.eui-tabs__header{border-bottom-width:1px!important}.gda-btn:not(.gda-btn-sm){min-width:88px}.gda-btn>.gdaicon{font-size:20px;vertical-align:-.1em}.gda-btn svg{vertical-align:bottom}.gda-btn.disabled,.gda-btn[disabled]{cursor:default}.gda-dropdown-menu{box-shadow:0 2px 8px #00000029}.gda-dropdown-menu-item{padding:10px 12px;line-height:20px}.gda-dropdown-menu-item>.gdaicon:first-child{font-size:20px;vertical-align:bottom}.gda-dropdown-menu-item:hover,.gda-dropdown-menu-submenu-title:hover{background:#f6f7f9}.gda-dropdown-menu-item-disabled:hover,.gda-dropdown-menu-submenu-title-disabled:hover{background-color:#fff}.gda-modal-header{padding:18px 24px;border-bottom:none}.gda-modal-title{line-height:24px}.gda-modal-close-x{width:60px;height:60px;line-height:60px}.gda-modal-footer{border-top:none}.gda-form-item-label{font-weight:700}.gda-form-horizontal .gda-form-item{margin-bottom:10px}.gda-form-horizontal .gda-form-item-label{font-weight:700;line-height:48px}.gda-pagination-item,.gda-pagination-item:focus,.gda-pagination-item:hover,.gda-pagination-prev .gda-pagination-item-link,.gda-pagination-next .gda-pagination-item-link{color:#444950;background-color:#f0f3f4;border:none}.gda-pagination-item-active,.gda-pagination-item-active:focus,.gda-pagination-item-active:hover{background:#2254f4;border:none}.gda-pagination-item-active a,.gda-pagination-item-active:focus a,.gda-pagination-item-active:hover a{color:#fff}.gda-pagination-prev.gda-pagination-disabled .gda-pagination-item-link,.gda-pagination-next.gda-pagination-disabled .gda-pagination-item-link{opacity:.3}.gda-pagination-prev:focus .gda-pagination-item-link,.gda-pagination-next:focus .gda-pagination-item-link,.gda-pagination-prev:hover .gda-pagination-item-link,.gda-pagination-next:hover .gda-pagination-item-link{color:#444950}.gda-tree li,.gda-tree li:first-child,.gda-tree li:last-child{padding:0}.gda-tree-child-tree>li:first-child{padding-top:0}:root .gda-tree li span.gda-tree-switcher.gda-tree-switcher_close .gda-tree-switcher-icon,:root .gda-tree li span.gda-tree-switcher.gda-tree-switcher_open .gda-tree-switcher-icon{font-size:16px;vertical-align:-3px}.gda-tree.gda-tree-directory>li span.gda-tree-node-content-wrapper:hover:before,.gda-tree.gda-tree-directory .gda-tree-child-tree>li span.gda-tree-node-content-wrapper:hover:before{border-radius:4px}.gda-tree .gda-tree-treenode-checkbox-checked .gda-tree-checkbox-checked:after{display:none}\n')();
const __vue2_script$3 = {
  name: "exhibition-topics",
  components: {
    Block,
    SuitList,
    TopicPagination
  },
  props: {
    title: {
      type: String,
      required: true
    },
    suits: {
      type: Array,
      required: true
    }
  },
  data() {
    return {
      columns: 4,
      currentPage: 1
    };
  },
  computed: {
    listOfCurPage() {
      const pageSize = this.columns;
      const currentPage = this.currentPage;
      return this.suits.slice((currentPage - 1) * pageSize, currentPage * pageSize);
    }
  },
  methods: {
    onPagerClick(n) {
      this.currentPage = n;
    }
  }
};
const __cssModules$3 = {};
var __component__$3 = /* @__PURE__ */ normalizeComponent(__vue2_script$3, render$3, staticRenderFns$3, false, __vue2_injectStyles$3, null, null, null);
function __vue2_injectStyles$3(context) {
  for (let o in __cssModules$3) {
    this[o] = __cssModules$3[o];
  }
}
var Suits = /* @__PURE__ */ function() {
  return __component__$3.exports;
}();
var render$2 = function() {
  var _vm = this;
  var _h = _vm.$createElement;
  var _c = _vm._self._c || _h;
  return _c("div", {
    class: _vm.bem(),
    on: {
      "click": _vm.handleClick
    }
  }, [_vm.mappedTag ? _c("span", {
    class: _vm.bem("tag", _vm.mappedTag.class)
  }, [_vm._v(_vm._s(_vm.mappedTag.label))]) : _vm._e(), _c("img", {
    class: _vm.bem("icon"),
    attrs: {
      "src": _vm.data.preview && _vm.data.preview.url
    }
  }), _c("div", {
    class: _vm.bem("content")
  }, [_c("div", {
    class: _vm.bem("name")
  }, [_vm._v(_vm._s(_vm.data.name))]), _c("div", {
    class: _vm.bem("desc")
  }, [_vm._v(_vm._s(_vm.data.description))]), _c("a", {
    class: _vm.bem("link"),
    attrs: {
      "target": "__blank",
      "href": _vm.data.url,
      "rel": "nofollow"
    },
    on: {
      "click": function($event) {
        $event.stopPropagation();
      }
    }
  }, [_vm._v(" \u5728\u7EBF\u4F7F\u7528 ")])])]);
};
var staticRenderFns$2 = [];
var index_vue_vue_type_style_index_0_lang$2 = /* @__PURE__ */ (() => '.tool-card{position:relative;display:flex;width:380px;height:153px;padding:20px;background:#f8fafc;border-radius:4px;transition:all .2s ease-in-out}.tool-card:hover{box-shadow:0 4px 16px #00000029;cursor:pointer}.tool-card__tag{position:absolute;top:8px;right:8px;width:66px;height:24px;font-size:12px;font-weight:700;line-height:24px;color:#fff;text-align:center;border-radius:12px 15px 15px 0}.tool-card__tag--new{font-size:0;background-image:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB3aWR0aD0iNjZweCIgaGVpZ2h0PSIyNHB4IiB2aWV3Qm94PSIwIDAgNjYgMjQiIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayI+CiAgICA8IS0tIEdlbmVyYXRvcjogU2tldGNoIDU1ICg3ODA3NikgLSBodHRwczovL3NrZXRjaGFwcC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MjM0ODE1NjksMi45NTA5OTY1MiA3LjI5MTU1MDkxLDMuMDQ1NzY5MTYgQzcuMzE1OTI0MzQsMy4wODY0ODM0NSA3LjM1Mzk4LDMuMTE3MjA1MjYgNy4zOTg5MTgzNSwzLjEzMjQ0NTQxIEwxMC4zNzM3ODMzLDQuMTQxMzI1MTciIGlkPSJQYXRoLTIiIHN0cm9rZT0iIzAwMDAwMCIgc3Ryb2tlLXdpZHRoPSIxLjUiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoOC44MTg0NTIsIDIuNjI1MjQ0KSByb3RhdGUoLTUuMDAwMDAwKSB0cmFuc2xhdGUoLTguODE4NDUyLCAtMi42MjUyNDQpICI+PC9wYXRoPgogICAgICAgICAgICAgICAgPC9nPgogICAgICAgICAgICA8L2c+CiAgICAgICAgPC9nPgogICAgPC9nPgo8L3N2Zz4=);background-repeat:no-repeat;background-size:contain;border-radius:0}.tool-card__tag--hot{background-color:#de415c}.tool-card__icon{width:76px;height:76px;margin-right:16px}.tool-card__content{flex:1;line-height:24px}.tool-card__name{margin-bottom:8px;font-size:16px;font-weight:700;color:#000}.tool-card__desc{height:48px;margin-bottom:16px;color:#444950}.tool-card__link{font-weight:600;line-height:20px;color:#2254f4}body{min-width:1200px;overflow:overlay;-webkit-font-smoothing:antialiased;-webkit-tap-highlight-color:rgba(0,0,0,0)}body::-webkit-scrollbar{width:7px}body::-webkit-scrollbar-thumb{background-color:#000000b3;border:1px solid #fff;border-radius:10rem}body::-webkit-scrollbar-track-piece:start,body::-webkit-scrollbar-track-piece:end{background:transparent}ul{padding:0;list-style:none}.tofh{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}[id^=HUABAN],[class^=HUABAN],[id^=ZCOOL],[class^=ZCOOL],[id^=lvye],[class^=lvye],[id^=xmt-],[class^=xmt-]{display:none!important}body>iframe[src="chrome-extension://gpdjojdkbbmdfjfahjcgigfpmkopogic/html/grid.html"],body>iframe[src="chrome-extension://gpdjojdkbbmdfjfahjcgigfpmkopogic/html/search.html"]{visibility:hidden!important;transform:translate(-10000px)!important}.eui-popup-base{z-index:2100!important}.eui-tabs__header{border-bottom-width:1px!important}.gda-btn:not(.gda-btn-sm){min-width:88px}.gda-btn>.gdaicon{font-size:20px;vertical-align:-.1em}.gda-btn svg{vertical-align:bottom}.gda-btn.disabled,.gda-btn[disabled]{cursor:default}.gda-dropdown-menu{box-shadow:0 2px 8px #00000029}.gda-dropdown-menu-item{padding:10px 12px;line-height:20px}.gda-dropdown-menu-item>.gdaicon:first-child{font-size:20px;vertical-align:bottom}.gda-dropdown-menu-item:hover,.gda-dropdown-menu-submenu-title:hover{background:#f6f7f9}.gda-dropdown-menu-item-disabled:hover,.gda-dropdown-menu-submenu-title-disabled:hover{background-color:#fff}.gda-modal-header{padding:18px 24px;border-bottom:none}.gda-modal-title{line-height:24px}.gda-modal-close-x{width:60px;height:60px;line-height:60px}.gda-modal-footer{border-top:none}.gda-form-item-label{font-weight:700}.gda-form-horizontal .gda-form-item{margin-bottom:10px}.gda-form-horizontal .gda-form-item-label{font-weight:700;line-height:48px}.gda-pagination-item,.gda-pagination-item:focus,.gda-pagination-item:hover,.gda-pagination-prev .gda-pagination-item-link,.gda-pagination-next .gda-pagination-item-link{color:#444950;background-color:#f0f3f4;border:none}.gda-pagination-item-active,.gda-pagination-item-active:focus,.gda-pagination-item-active:hover{background:#2254f4;border:none}.gda-pagination-item-active a,.gda-pagination-item-active:focus a,.gda-pagination-item-active:hover a{color:#fff}.gda-pagination-prev.gda-pagination-disabled .gda-pagination-item-link,.gda-pagination-next.gda-pagination-disabled .gda-pagination-item-link{opacity:.3}.gda-pagination-prev:focus .gda-pagination-item-link,.gda-pagination-next:focus .gda-pagination-item-link,.gda-pagination-prev:hover .gda-pagination-item-link,.gda-pagination-next:hover .gda-pagination-item-link{color:#444950}.gda-tree li,.gda-tree li:first-child,.gda-tree li:last-child{padding:0}.gda-tree-child-tree>li:first-child{padding-top:0}:root .gda-tree li span.gda-tree-switcher.gda-tree-switcher_close .gda-tree-switcher-icon,:root .gda-tree li span.gda-tree-switcher.gda-tree-switcher_open .gda-tree-switcher-icon{font-size:16px;vertical-align:-3px}.gda-tree.gda-tree-directory>li span.gda-tree-node-content-wrapper:hover:before,.gda-tree.gda-tree-directory .gda-tree-child-tree>li span.gda-tree-node-content-wrapper:hover:before{border-radius:4px}.gda-tree .gda-tree-treenode-checkbox-checked .gda-tree-checkbox-checked:after{display:none}\n')();
const TAGS = {
  1: {
    label: "\u6709\u65B0\u7269",
    class: "new"
  },
  2: {
    label: "\u70ED\u95E8",
    class: "hot"
  }
};
const __vue2_script$2 = {
  name: "tool-card",
  props: {
    data: {
      type: Object,
      required: true
    }
  },
  computed: {
    tag() {
      const now = Math.round(Date.now() / 1e3);
      const data = this.data;
      if (data.logo && data.logo > 0 && (data.logo_start === 0 || data.logo_start && data.logo_start <= now) && (data.logo_end === 0 || data.logo_end && data.logo_end >= now)) {
        return data.logo;
      }
      return -1;
    },
    mappedTag() {
      return TAGS[this.tag];
    }
  },
  methods: {
    handleClick() {
      window.open(this.data.url);
    }
  }
};
const __cssModules$2 = {};
var __component__$2 = /* @__PURE__ */ normalizeComponent(__vue2_script$2, render$2, staticRenderFns$2, false, __vue2_injectStyles$2, null, null, null);
function __vue2_injectStyles$2(context) {
  for (let o in __cssModules$2) {
    this[o] = __cssModules$2[o];
  }
}
var ToolCard = /* @__PURE__ */ function() {
  return __component__$2.exports;
}();
var render$1 = function() {
  var _vm = this;
  var _h = _vm.$createElement;
  var _c = _vm._self._c || _h;
  return _c("div", {
    class: _vm.bem()
  }, [_c("div", {
    class: _vm.bem("header")
  }, [_c("h3", {
    attrs: {
      "type": "h3"
    }
  }, [_vm._v(_vm._s(_vm.title))]), _vm.moreLink ? _c("div", {
    class: [_vm.bem("more"), "g-exhibition-tabs__tab"],
    on: {
      "click": function($event) {
        return _vm.$emit("more");
      }
    }
  }, [_vm._v(" \u67E5\u770B\u66F4\u591A "), _c("GIcon", {
    attrs: {
      "name": "chevron-right-outline"
    }
  })], 1) : _vm._e()]), _c("div", {
    class: _vm.bem("list")
  }, _vm._l(_vm.tools, function(tool, index2) {
    return _c("tool-card", {
      key: index2,
      class: _vm.bem("card"),
      attrs: {
        "data": tool
      }
    });
  }), 1)]);
};
var staticRenderFns$1 = [];
var index_vue_vue_type_style_index_0_lang$1 = /* @__PURE__ */ (() => '.exhibition-tools__header{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px}.exhibition-tools__header h3{font-size:24px;font-weight:700;line-height:36px;color:#000}.exhibition-tools .exhibition-tools__list{display:flex;flex-wrap:wrap}.exhibition-tools .exhibition-tools__card{width:calc(25% - 18px);margin-right:24px}.exhibition-tools .exhibition-tools__card:nth-of-type(4n){margin-right:0;margin-bottom:23px}.exhibition-tools .exhibition-tools__card:last-of-type{margin-bottom:0}.exhibition-tools__more{padding-right:10px}.exhibition-tools__more svg{font-size:20px}@media screen and (max-width: 1600px){.exhibition-tools .exhibition-tools__card{width:calc(100% / 3 - 16px);margin-right:24px}.exhibition-tools .exhibition-tools__card:nth-of-type(4n){margin-right:24px}.exhibition-tools .exhibition-tools__card:nth-of-type(3n){margin-right:0;margin-bottom:23px}.exhibition-tools .exhibition-tools__card:last-of-type{margin-bottom:0}}body{min-width:1200px;overflow:overlay;-webkit-font-smoothing:antialiased;-webkit-tap-highlight-color:rgba(0,0,0,0)}body::-webkit-scrollbar{width:7px}body::-webkit-scrollbar-thumb{background-color:#000000b3;border:1px solid #fff;border-radius:10rem}body::-webkit-scrollbar-track-piece:start,body::-webkit-scrollbar-track-piece:end{background:transparent}ul{padding:0;list-style:none}.tofh{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}[id^=HUABAN],[class^=HUABAN],[id^=ZCOOL],[class^=ZCOOL],[id^=lvye],[class^=lvye],[id^=xmt-],[class^=xmt-]{display:none!important}body>iframe[src="chrome-extension://gpdjojdkbbmdfjfahjcgigfpmkopogic/html/grid.html"],body>iframe[src="chrome-extension://gpdjojdkbbmdfjfahjcgigfpmkopogic/html/search.html"]{visibility:hidden!important;transform:translate(-10000px)!important}.eui-popup-base{z-index:2100!important}.eui-tabs__header{border-bottom-width:1px!important}.gda-btn:not(.gda-btn-sm){min-width:88px}.gda-btn>.gdaicon{font-size:20px;vertical-align:-.1em}.gda-btn svg{vertical-align:bottom}.gda-btn.disabled,.gda-btn[disabled]{cursor:default}.gda-dropdown-menu{box-shadow:0 2px 8px #00000029}.gda-dropdown-menu-item{padding:10px 12px;line-height:20px}.gda-dropdown-menu-item>.gdaicon:first-child{font-size:20px;vertical-align:bottom}.gda-dropdown-menu-item:hover,.gda-dropdown-menu-submenu-title:hover{background:#f6f7f9}.gda-dropdown-menu-item-disabled:hover,.gda-dropdown-menu-submenu-title-disabled:hover{background-color:#fff}.gda-modal-header{padding:18px 24px;border-bottom:none}.gda-modal-title{line-height:24px}.gda-modal-close-x{width:60px;height:60px;line-height:60px}.gda-modal-footer{border-top:none}.gda-form-item-label{font-weight:700}.gda-form-horizontal .gda-form-item{margin-bottom:10px}.gda-form-horizontal .gda-form-item-label{font-weight:700;line-height:48px}.gda-pagination-item,.gda-pagination-item:focus,.gda-pagination-item:hover,.gda-pagination-prev .gda-pagination-item-link,.gda-pagination-next .gda-pagination-item-link{color:#444950;background-color:#f0f3f4;border:none}.gda-pagination-item-active,.gda-pagination-item-active:focus,.gda-pagination-item-active:hover{background:#2254f4;border:none}.gda-pagination-item-active a,.gda-pagination-item-active:focus a,.gda-pagination-item-active:hover a{color:#fff}.gda-pagination-prev.gda-pagination-disabled .gda-pagination-item-link,.gda-pagination-next.gda-pagination-disabled .gda-pagination-item-link{opacity:.3}.gda-pagination-prev:focus .gda-pagination-item-link,.gda-pagination-next:focus .gda-pagination-item-link,.gda-pagination-prev:hover .gda-pagination-item-link,.gda-pagination-next:hover .gda-pagination-item-link{color:#444950}.gda-tree li,.gda-tree li:first-child,.gda-tree li:last-child{padding:0}.gda-tree-child-tree>li:first-child{padding-top:0}:root .gda-tree li span.gda-tree-switcher.gda-tree-switcher_close .gda-tree-switcher-icon,:root .gda-tree li span.gda-tree-switcher.gda-tree-switcher_open .gda-tree-switcher-icon{font-size:16px;vertical-align:-3px}.gda-tree.gda-tree-directory>li span.gda-tree-node-content-wrapper:hover:before,.gda-tree.gda-tree-directory .gda-tree-child-tree>li span.gda-tree-node-content-wrapper:hover:before{border-radius:4px}.gda-tree .gda-tree-treenode-checkbox-checked .gda-tree-checkbox-checked:after{display:none}\n')();
const __vue2_script$1 = {
  name: "exhibition-tools",
  components: {
    ToolCard
  },
  props: {
    title: {
      type: String,
      default: ""
    },
    moreLink: {
      type: String,
      default: ""
    },
    tools: {
      type: Array,
      required: true
    }
  }
};
const __cssModules$1 = {};
var __component__$1 = /* @__PURE__ */ normalizeComponent(__vue2_script$1, render$1, staticRenderFns$1, false, __vue2_injectStyles$1, null, null, null);
function __vue2_injectStyles$1(context) {
  for (let o in __cssModules$1) {
    this[o] = __cssModules$1[o];
  }
}
var Tools = /* @__PURE__ */ function() {
  return __component__$1.exports;
}();
var render = function() {
  var _vm = this;
  var _h = _vm.$createElement;
  var _c = _vm._self._c || _h;
  return _c("Resource", {
    class: _vm.bem(),
    attrs: {
      "tag": "section",
      "query": _vm.getExhibitionByAlias,
      "variables": {
        scene: _vm.$route.params.scene,
        page_size: 100
      }
    },
    on: {
      "result": _vm.onResult
    },
    scopedSlots: _vm._u([{
      key: "default",
      fn: function(_ref) {
        var _ref$result = _ref.result, data = _ref$result.data, loading = _ref$result.loading;
        return [loading ? _c("Skeleton") : [_vm._l(_vm.modules, function(module) {
          return [module.resource_type === "banner" ? _c("Banner", {
            key: module.id,
            class: _vm.bem("component"),
            attrs: {
              "banner": module.resources[0],
              "placeholderModule": _vm.placeholderModule,
              "searchHotWords": _vm.searchHotWords,
              "module": module
            }
          }) : _vm._e(), module.resource_type === "recommend_filter" ? _c("MaterialCategory", {
            key: module.id,
            class: _vm.bem("component"),
            attrs: {
              "list": module.resources,
              "title": module.name,
              "module": module
            }
          }) : _vm._e(), module.resource_type === "web_topic" && module.resources.length ? _c("TopicModules", {
            key: module.id,
            class: _vm.bem("component", ["large"]),
            attrs: {
              "modules": module.resources,
              "topicId": module.id,
              "title": module.name || module.title,
              "exposeSource": "\u884C\u4E1A\u573A\u666F\u9875",
              "location": _vm.topicsId.indexOf(module.id) + 1 || 1
            },
            on: {
              "more": function($event) {
                return _vm.handleMore(module);
              }
            }
          }) : module.resource_type === "hot_word" ? _c("HotWords", {
            key: module.id,
            class: [_vm.bem("component"), _vm.bem("hot-words")],
            attrs: {
              "title": module.name,
              "hotWords": module.resources,
              "module": module
            }
          }, [_c("router-link", {
            attrs: {
              "slot": "more",
              "to": {
                name: "cdm-scene-search",
                params: _vm.$route.params
              }
            },
            slot: "more"
          }, [_c("span", {
            staticClass: "text"
          }, [_vm._v(" " + _vm._s(`\u6240\u6709${_vm.getRecommendFilterAlias(data)}\u6A21\u677F`) + " "), _c("Icon", {
            style: {
              fontSize: "20px"
            },
            attrs: {
              "type": "iconchevron_right"
            }
          })], 1)])], 1) : module.resource_type === "suit" ? _c("Suits", {
            key: module.id,
            class: _vm.bem("component"),
            attrs: {
              "title": module.name,
              "suits": module.resources
            }
          }) : module.resource_type === "tool" ? _c("Tools", {
            key: module.id,
            class: _vm.bem("component", ["large"]),
            attrs: {
              "title": module.name,
              "tools": module.resources,
              "moreLink": module.redirectUrl
            },
            on: {
              "more": function($event) {
                return _vm.toolMore(module);
              }
            }
          }) : _vm._e()];
        })]];
      }
    }])
  });
};
var staticRenderFns = [];
var index_vue_vue_type_style_index_0_lang = /* @__PURE__ */ (() => 'body{min-width:1200px;overflow:overlay;-webkit-font-smoothing:antialiased;-webkit-tap-highlight-color:rgba(0,0,0,0)}body::-webkit-scrollbar{width:7px}body::-webkit-scrollbar-thumb{background-color:#000000b3;border:1px solid #fff;border-radius:10rem}body::-webkit-scrollbar-track-piece:start,body::-webkit-scrollbar-track-piece:end{background:transparent}ul{padding:0;list-style:none}.tofh{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}[id^=HUABAN],[class^=HUABAN],[id^=ZCOOL],[class^=ZCOOL],[id^=lvye],[class^=lvye],[id^=xmt-],[class^=xmt-]{display:none!important}body>iframe[src="chrome-extension://gpdjojdkbbmdfjfahjcgigfpmkopogic/html/grid.html"],body>iframe[src="chrome-extension://gpdjojdkbbmdfjfahjcgigfpmkopogic/html/search.html"]{visibility:hidden!important;transform:translate(-10000px)!important}.eui-popup-base{z-index:2100!important}.eui-tabs__header{border-bottom-width:1px!important}.gda-btn:not(.gda-btn-sm){min-width:88px}.gda-btn>.gdaicon{font-size:20px;vertical-align:-.1em}.gda-btn svg{vertical-align:bottom}.gda-btn.disabled,.gda-btn[disabled]{cursor:default}.gda-dropdown-menu{box-shadow:0 2px 8px #00000029}.gda-dropdown-menu-item{padding:10px 12px;line-height:20px}.gda-dropdown-menu-item>.gdaicon:first-child{font-size:20px;vertical-align:bottom}.gda-dropdown-menu-item:hover,.gda-dropdown-menu-submenu-title:hover{background:#f6f7f9}.gda-dropdown-menu-item-disabled:hover,.gda-dropdown-menu-submenu-title-disabled:hover{background-color:#fff}.gda-modal-header{padding:18px 24px;border-bottom:none}.gda-modal-title{line-height:24px}.gda-modal-close-x{width:60px;height:60px;line-height:60px}.gda-modal-footer{border-top:none}.gda-form-item-label{font-weight:700}.gda-form-horizontal .gda-form-item{margin-bottom:10px}.gda-form-horizontal .gda-form-item-label{font-weight:700;line-height:48px}.gda-pagination-item,.gda-pagination-item:focus,.gda-pagination-item:hover,.gda-pagination-prev .gda-pagination-item-link,.gda-pagination-next .gda-pagination-item-link{color:#444950;background-color:#f0f3f4;border:none}.gda-pagination-item-active,.gda-pagination-item-active:focus,.gda-pagination-item-active:hover{background:#2254f4;border:none}.gda-pagination-item-active a,.gda-pagination-item-active:focus a,.gda-pagination-item-active:hover a{color:#fff}.gda-pagination-prev.gda-pagination-disabled .gda-pagination-item-link,.gda-pagination-next.gda-pagination-disabled .gda-pagination-item-link{opacity:.3}.gda-pagination-prev:focus .gda-pagination-item-link,.gda-pagination-next:focus .gda-pagination-item-link,.gda-pagination-prev:hover .gda-pagination-item-link,.gda-pagination-next:hover .gda-pagination-item-link{color:#444950}.gda-tree li,.gda-tree li:first-child,.gda-tree li:last-child{padding:0}.gda-tree-child-tree>li:first-child{padding-top:0}:root .gda-tree li span.gda-tree-switcher.gda-tree-switcher_close .gda-tree-switcher-icon,:root .gda-tree li span.gda-tree-switcher.gda-tree-switcher_open .gda-tree-switcher-icon{font-size:16px;vertical-align:-3px}.gda-tree.gda-tree-directory>li span.gda-tree-node-content-wrapper:hover:before,.gda-tree.gda-tree-directory .gda-tree-child-tree>li span.gda-tree-node-content-wrapper:hover:before{border-radius:4px}.gda-tree .gda-tree-treenode-checkbox-checked .gda-tree-checkbox-checked:after{display:none}.exhibitions-page{padding:24px 48px}.exhibitions-page__component+.exhibitions-page__component{margin-top:24px}.exhibitions-page__component+.exhibitions-page__component.exhibitions-page__hot-words{margin-top:8px}.exhibitions-page__hot-words{display:flex;align-items:center;justify-content:space-between}.exhibitions-page__hot-words a .text{display:flex;align-items:center;margin-right:10px;color:#444950}.exhibitions-page__hot-words a .text .g-icon{font-size:20px}.exhibitions-page__hot-words a .text:hover{color:#2254f4}.exhibitions-page .exhibitions-page__component--large{margin-top:56px}\n')();
const { cdmApi } = api;
const SORT_WEIGHT = {
  banner: 1,
  hot_word: 2,
  recommend_filter: 3
};
const __vue2_script = {
  name: "exhibitions-page",
  components: {
    TopicModules,
    Icon,
    Suits,
    Tools,
    Skeleton,
    HotWords,
    Banner,
    Resource,
    MaterialCategory
  },
  data() {
    return {
      exhibitionModules: [],
      topicsId: []
    };
  },
  computed: {
    placeholderModule() {
      return this.modules.find((module) => module.resource_type === "search_placeholder_word");
    },
    searchHotWords() {
      const hotWordModule = this.modules.find((module) => module.resource_type === "search_hot_word");
      if (hotWordModule) {
        return hotWordModule.resources;
      }
      return [];
    },
    modules() {
      return [...this.exhibitionModules].map((m, i) => __spreadProps(__spreadValues({}, m), {
        resources: m.resources || [],
        index: i + 10
      })).sort((a, b) => (SORT_WEIGHT[a.resource_type] || a.index) - (SORT_WEIGHT[b.resource_type] || b.index) < 0 ? -1 : 1);
    },
    getExhibitionByAlias() {
      return cdmApi.getExhibition;
    }
  },
  watch: {
    async $route() {
      const { seo } = await this.getExhibitionSeo();
      this.seo = seo;
    }
  },
  created() {
    this.getExhibitionSeo();
  },
  methods: {
    async getExhibitionSeo() {
      const { data: seo } = await cdmApi.getExhibitionModulesSeo({
        position: this.$route.params.scene
      });
      this.seo = seo;
    },
    onResult(result) {
      const { data } = result;
      if (data === null)
        return;
      this.exhibitionModules = data;
      this.topicsId = [];
      data.forEach((v) => {
        if (v.resource_type === "web_topic") {
          this.topicsId.push(v.id);
        }
      });
      return data;
    },
    getRecommendFilterAlias(exhibitionModules) {
      if (exhibitionModules === null)
        return;
      const filter = exhibitionModules.find((e) => e.resource_type === "recommend_filter");
      if (filter) {
        return filter.exhibition_name;
      }
      return "";
    },
    handleMore(module) {
      const URL = `${window.location.origin}/topic/${module.id}`;
      window.open(URL);
    },
    toolMore(module) {
      const link = module.redirectUrl;
      const scene = lodash.exports.get(this.$route, "params.scene", "");
      this.$router.push({
        path: link,
        query: {
          scene
        }
      });
    }
  }
};
const __cssModules = {};
var __component__ = /* @__PURE__ */ normalizeComponent(__vue2_script, render, staticRenderFns, false, __vue2_injectStyles, null, null, null);
function __vue2_injectStyles(context) {
  for (let o in __cssModules) {
    this[o] = __cssModules[o];
  }
}
var index = /* @__PURE__ */ function() {
  return __component__.exports;
}();
export { index as default };
