import { n as getListHttp, H as Head, T as Title, M as Meta, o as operateLikeHttp } from './config-provider-3USMgBh7.mjs';
import { e as ElMessage, _ as __nuxt_component_3, b as __nuxt_component_4, d as __nuxt_component_6, h as handleDate, a as _imports_2, c as _imports_4 } from './like-red-pitch-CZwLMvYQ.mjs';
import { inject, ref, watchEffect, withAsyncContext, withCtx, createTextVNode, createVNode, unref, nextTick, mergeProps, useSSRContext } from 'vue';
import { ssrRenderComponent, ssrInterpolate, ssrRenderAttr, ssrRenderList, ssrRenderStyle, ssrRenderAttrs } from 'vue/server-renderer';
import { _ as _export_sfc } from './_plugin-vue_export-helper-1tPrXgE0.mjs';
import { u as useHead } from './v3-CKwuViaV.mjs';
import { f as useRoute, u as useRouter } from './server.mjs';
import 'axios';
import 'qs';
import '../routes/renderer.mjs';
import 'vue-bundle-renderer/runtime';
import '../_/nitro.mjs';
import 'node:http';
import 'node:https';
import 'node:events';
import 'node:buffer';
import 'node:fs';
import 'node:url';
import 'node:path';
import 'node:crypto';
import 'unhead/server';
import 'unhead/utils';
import 'devalue';
import 'unhead/plugins';
import 'vue-router';
import 'node:zlib';
import 'node:stream';
import 'node:util';
import 'node:net';
import 'node-cache';

const _imports_0$1 = "data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3csvg%20version='1.1'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='20px'%20height='20px'%20xmlns='http://www.w3.org/2000/svg'%3e%3cdefs%3e%3cfilter%20x='-50.00%25'%20y='-50.00%25'%20width='200.00%25'%20height='200.00%25'%20filterUnits='objectBoundingBox'%20id='filter1211'%3e%3cfeColorMatrix%20type='matrix'%20values='1%200%200%200%200.2%200%201%200%200%200.2%200%200%201%200%200.2%200%200%200%201%200%20'%20in='SourceGraphic'%20/%3e%3c/filter%3e%3c/defs%3e%3cg%20transform='matrix(1%200%200%201%20-12%20-72%20)'%3e%3cimage%20preserveAspectRatio='none'%20style='overflow:visible'%20width='20'%20height='20'%20xlink:href='data:image/png;base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BMP0AFkCSt6AjAgOpOzc4xEuQB5RoHyCaCACQqLiuXbS0ylgJCuTKa/vALTTlRZJdlfXYPsJ6qVAtQx7HqzhaiBjIFFoCJiNjKBtYl5z2abuN9mB2ix0rgVoE3otpOuOho6OkjcKQZ0kbIpFHcD9Ajd3kqAvlDsbAHoFwOMBDAQigeHXMMRtmZE5+biUYAxMWCcACYQS4VoEmDqtwI8FpSmZQF4/VqAwYhSbqyzoIsDfh4wM+tlNeehTvk8zb0LDhTAreKXi491Fvl8CQXQh9dbCuv08Hk97hMyl+njfu0Km5tXaa4OOP/KLMQMWCujB886d3tshE6iTRxga5sbdBc9yHe43L6LAuyFp3GfdQ74/BAFODrmni9Vss48DzjBjcHpGT14zvXU2bqgeafvz0zjNwEaArjEAa4ArsXVYHi3RdGNGuBWXO71k384ZkR/SYC5RSUME7Nj7+6DUfTAbG7XowTgaQh9samHJd9NeYXsVz3LfN3L6wjm572D8gP09l77HEUfbkVc/06fZiPR4mu5xpIAAAAldEVYdGRhdGU6Y3JlYXRlADIwMjItMTEtMDJUMTQ6NTU6NDArMDg6MDCc3/v8AAAAJXRFWHRkYXRlOm1vZGlmeQAyMDIyLTExLTAyVDE0OjU1OjQwKzA4OjAw7YJDQAAAAEd0RVh0c3ZnOmJhc2UtdXJpAGZpbGU6Ly8vaG9tZS9hZG1pbi9pY29uLWZvbnQvdG1wL2ljb25faG51MTgycmltYzkvcmlxaS5zdmeP3YsrAAAAAElFTkSuQmCC'%20x='12px'%20y='72px'%20filter='url(%23filter1211)'%20/%3e%3c/g%3e%3c/svg%3e";
const _imports_1$1 = "data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3csvg%20version='1.1'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='20px'%20height='20px'%20xmlns='http://www.w3.org/2000/svg'%3e%3cdefs%3e%3cfilter%20x='-50.00%25'%20y='-50.00%25'%20width='200.00%25'%20height='200.00%25'%20filterUnits='objectBoundingBox'%20id='filter1212'%3e%3cfeColorMatrix%20type='matrix'%20values='0%200%200%200%201.5%200%200%200%200%201.5%200%200%200%200%201.5%200%200%200%201%200%20'%20in='SourceGraphic'%20/%3e%3c/filter%3e%3c/defs%3e%3cg%20transform='matrix(1%200%200%201%20-12%20-72%20)'%3e%3cimage%20preserveAspectRatio='none'%20style='overflow:visible'%20width='20'%20height='20'%20xlink:href='data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAMAAACdt4HsAAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABdwnLpRPAAAAYxQTFRFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAO6AaXgAAAIN0Uk5TABQcASQMVPr+dqvsLL7lisnxJ5VLa3fi+IzHclwlE5T3Pyrf/XUW4F+bmVBE1bZHbO8S+/zG9SENw3RXs+EQhyO8RjPb6VLyGtHcgznC6G7SUbS7t6mQQc+G8/kF580JQjUiBtCSTC9d6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g+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3csvg%20version='1.1'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='13px'%20height='13px'%20xmlns='http://www.w3.org/2000/svg'%3e%3cdefs%3e%3cfilter%20x='-50.00%25'%20y='-50.00%25'%20width='200.00%25'%20height='200.00%25'%20filterUnits='objectBoundingBox'%20id='filter851'%3e%3cfeColorMatrix%20type='matrix'%20values='1%200%200%200%200.25%200%201%200%200%200.25%200%200%201%200%200.25%200%200%200%201%200%20'%20in='SourceGraphic'%20/%3e%3c/filter%3e%3c/defs%3e%3cg%20transform='matrix(1%200%200%201%20-1059%20-1144%20)'%3e%3cimage%20preserveAspectRatio='none'%20style='overflow:visible'%20width='13'%20height='13'%20xlink:href='data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAAQKADAAQAAAABAAAAQAAAAABGUUKwAAAE8ElEQVR4Ae1a24tPURQexjAxuZVcm1FESqHc80CDkhIpCsULcnlQ3kSUFy9480L+BeWdPGBGQiPEw8wowjAz7nLn+6bZ0/7t+fb5/Y5z5sw+J6vWnHO+vfY+a3177cvZv6mqGjwZgVfvhV6BvoR+h76AXoJuhg6FFlZWILJW6J8IvYWyGdDCyVpE9AUaFbwpY2bMKhID0xBMZ4XBGxJaYF9TFBLOxQzekLCnCARw0vssCHgPbD90AZSBdkNN4ObaBCz3shQRmIDs61Ynso0euzGOXe4eN3gCq3Mi4Xi3CTL3ix27VB6zXGs5BFz5BYDDwpYfeODs78qArAZZEsAVwJVPANjDrrS5AJ5zT8B0EdRzgRHqEvhYgSWGsswA1YPPPBG8FXi1wBJDWRHAiW6l8PaJwAh9FfgwgSWGsiJgHTytFd7yQ0jJaAEOiK8D0qhwfqfA+PV3TeCEFAEdHttEcBYE8MtvvfCSn70fBU5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ZB4+/1PE3U78eyp/f+wkrFl2ZFV7hyUiRCXiI+NSZQA8hnANae+6K+acZYTVC+a+3XtmGEh4SFCkL+K94x6G10EgxewAeHZEpLiF5FZ7/cbPzCHql9x6X//KfgSgG/gK9mIkzqc2oKwAAAABJRU5ErkJggg=='%20x='1059px'%20y='1144px'%20filter='url(%23filter851)'%20/%3e%3c/g%3e%3c/svg%3e";
const _imports_5 = "data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3csvg%20version='1.1'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='13px'%20height='12px'%20xmlns='http://www.w3.org/2000/svg'%3e%3cdefs%3e%3cfilter%20x='-50.00%25'%20y='-50.00%25'%20width='200.00%25'%20height='200.00%25'%20filterUnits='objectBoundingBox'%20id='filter852'%3e%3cfeColorMatrix%20type='matrix'%20values='1%200%200%200%200.25%200%201%200%200%200.25%200%200%201%200%200.25%200%200%200%201%200%20'%20in='SourceGraphic'%20/%3e%3c/filter%3e%3c/defs%3e%3cg%20transform='matrix(1%200%200%201%20-1099%20-1145%20)'%3e%3cimage%20preserveAspectRatio='none'%20style='overflow:visible'%20width='13'%20height='12'%20xlink:href='data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAAA4CAYAAABNGP5yAAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAAQKADAAQAAAABAAAAOAAAAACP8+m+AAADhUlEQVRoBe2aS4hPURzHZ7zfj4USmTGTkGcodiRRNh5JNsooO7NhgyJSyoayIDbySFlYkLLwyAaRR5Ty2DCTJPIYeYfx+U5z9O/M+f/N/zf3/q//vfdX3+4959zze3zP6557T01NxqU2EP8M8prAPDAaVLN8x/lWcBEcA+9AURlCyVHwG7SnEG3EtAEERcHfAmkM3I9pd4iBUxkJ3pGxwpGgOWAuUOv7cpuM60DjqFplOI4vA2O8AJ6TngB+Kf8QcMy46zbyQhOknq82GYbDV4GLzV0Xu0AeeoV3XUGKrg3E4k/uOxVfL+AvdWIrbfKMgF54QdUrLQL6ewXfvHRakp+8QHorLQIyLTkBmW5+gs98D+jTwx4wivpDe6jDr/6WDL23V0SsBDTi3XkwJSYvr6B3Ofgck/6/aq1DQG+KcQUv5xaB9bqJW6wEdLxExOzc+Jj1d6i3EvCkAs49qoAN8yqwB+cugx8xOPkFnSfBiRh0d1FpnQRfoUm7Kb1OarcVpbyPUtm/dFkJcHq1n66ow85wVFfrHBCV/cT15AQk3gQJO5D3gIQbIHHzme8B1mVQxK0DC8GABJuxFdsHgb75mcRKQDPWDpgsRl9pNSonAdO3TOsQWBJ9HGaNddQ070ytBMSxBzAzQEVT68uglYDj1NWPhv9BbuLEY6sj1jngHAZngwVgoNV4BPVa0HEWmBvDSoB8f9AJ3VetWIdA1QbsO54T4DOStXTeA7LW4n68eQ+AkXaPlb5eOi1Jv7E73h2U+caLcJqXTkNSh6UavEBeu/QZbtQLHPSld74rTMl1X0F8Ls41iq0WrAIioVC+ktgPLgH/aEnhc1Hda3OlP0E/y1SoHqweW2zY1lO2FqwEhfKRRB1oU6Z+buhMoGMmqatOq80E3ZURPHgfWPzd7huZTIbmAouyKOvoUOYO0J09yiajv/r1HtQ/nYKnRqVRkiBdd8BUUEo2Uliu3dPUKbl7HcQDm4G1a5XrUKnn9ZFjK9AQDclgMq+BUjpUJj0XwFLQRTQJFhMdfRkLZChOGYdyzdKNRYzoHHMTCH30kP9a3kaCkHwgswWUO7mGdMWap265t9PRUItqVdoCivUGitIhswjjHgiRoLwbQF+AUy39iG4X0IoQIuIl+XEPS0wkL3rB0QfPEAlzknevMh5ozGu913E5R4R6gFarTMlEoj0MjgC9tEUmfwCaJfF0KbQc/QAAAABJRU5ErkJggg=='%20x='1099px'%20y='1145px'%20filter='url(%23filter852)'%20/%3e%3c/g%3e%3c/svg%3e";
const _sfc_main$1 = {
  __name: "Item",
  __ssrInlineRender: true,
  props: {
    item: Object
  },
  emits: ["childEvent"],
  setup(__props, { emit: __emit }) {
    inject("userInfo");
    inject("openAttest");
    inject("realname");
    const formatNumberWithCommas = (number) => {
      return number.toString().replace(/\B(?=(\d{3})+(?!\d))/g, ",");
    };
    return (_ctx, _push, _parent, _attrs) => {
      _push(`<a${ssrRenderAttrs(mergeProps({
        class: "box flexflex",
        target: "_blank",
        href: `./details/${__props.item["uniqid"]}`
      }, _attrs))} data-v-692a8db1><img class="img"${ssrRenderAttr("src", __props.item["schoolimage"])} data-v-692a8db1><div class="content flexflex" data-v-692a8db1><div class="name" data-v-692a8db1>${ssrInterpolate(__props.item["school"])}</div><div class="list flexflex" data-v-692a8db1>`);
      if (__props.item["profession"]) {
        _push(`<div class="item flexacenter" data-v-692a8db1><div class="item-name" data-v-692a8db1>${ssrInterpolate(__props.item["project"] ? "" : "\u9879\u76EE/")}\u4E13\u4E1A</div><div class="item-value ellipsis" data-v-692a8db1>${ssrInterpolate(__props.item["profession"])}</div></div>`);
      } else {
        _push(`<!---->`);
      }
      if (__props.item["project"]) {
        _push(`<div class="item flexacenter" data-v-692a8db1><div class="item-name" data-v-692a8db1>\u9879\u76EE${ssrInterpolate(__props.item["profession"] ? "" : "/\u4E13\u4E1A")}</div><div class="item-value ellipsis" data-v-692a8db1>${ssrInterpolate(__props.item["project"])}</div></div>`);
      } else {
        _push(`<!---->`);
      }
      if (__props.item["interviewtime"]) {
        _push(`<div class="item flexacenter" data-v-692a8db1><div class="item-name" data-v-692a8db1>\u65F6\u95F4</div><div class="item-value ellipsis" data-v-692a8db1>${ssrInterpolate(__props.item["interviewtime"])}</div></div>`);
      } else {
        _push(`<!---->`);
      }
      _push(`</div><div class="text-box" data-v-692a8db1><div class="text" data-v-692a8db1>${ssrInterpolate(__props.item["message"])}</div><div class="time flexacenter" data-v-692a8db1><img class="time-icon time-black-icon"${ssrRenderAttr("src", _imports_0$1)} data-v-692a8db1><img class="time-icon time-white-icon"${ssrRenderAttr("src", _imports_1$1)} data-v-692a8db1><div data-v-692a8db1>${ssrInterpolate(("handleDate" in _ctx ? _ctx.handleDate : unref(handleDate))(__props.item["releasetime"]))}\u53D1\u5E03</div></div></div><div class="data-list flexacenter" data-v-692a8db1><div class="data-item flexacenter" data-v-692a8db1><img class="data-item-icon"${ssrRenderAttr("src", _imports_2)} data-v-692a8db1> ${ssrInterpolate(formatNumberWithCommas(__props.item["views"] || 0))}</div><div class="data-item flexacenter" data-v-692a8db1>`);
      if (__props.item["islike"] == 0) {
        _push(`<img class="data-item-icon"${ssrRenderAttr("src", _imports_3)} data-v-692a8db1>`);
      } else {
        _push(`<img class="data-item-icon"${ssrRenderAttr("src", _imports_4)} data-v-692a8db1>`);
      }
      _push(` ${ssrInterpolate(__props.item["likenum"] || 0)}</div><div class="data-item flexacenter" data-v-692a8db1><img class="data-item-icon"${ssrRenderAttr("src", _imports_5)} data-v-692a8db1> ${ssrInterpolate(__props.item["commentnum"] || 0)}</div></div></div></a>`);
    };
  }
};
const _sfc_setup$1 = _sfc_main$1.setup;
_sfc_main$1.setup = (props, ctx) => {
  const ssrContext = useSSRContext();
  (ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("components/Item.vue");
  return _sfc_setup$1 ? _sfc_setup$1(props, ctx) : void 0;
};
const __nuxt_component_5 = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-692a8db1"]]);
const _imports_0 = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAAIKADAAQAAAABAAAAIAAAAACshmLzAAAED0lEQVRYCe2Wu09UQRTGdwlYWWMAIzEhWhCJhRgVAbHzAWil1sT/gKcKLAqG159AYimVgIFSeVOglSYmRhPFEEiIlTQ2sP6+y5zr3OUuLFDqJLPnzHce883MmdmbSPzrLXmQDRgaGjqNfyO9Op1OFyFPu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LysijRPQsQ719HhKkyooVXY5odjmpsqknet53jDcwn1dH0mDU+M+ckmK0w97GymCoCrJRM8hH/BRvkkzxiEeTb4zeJrct2qYs9NVcR4FEaXezIkT9NQvNF12AtrLnACheBqRJMuVdLkHN2DEynZ/q/jlyMjBc83Qrs09c1QJ2T+eSaoLttnsG+RY1Xx8a3w0kwE22ifwWcBxuB/NDgDkeh7PQgLN+Yaw7L/rw1NxplXnmlXbkxp/zy4yqQ1/pr4AmYYp7cD6KwDb+JAMDUKh2UpphUuQY0tZaT8wQBnDwsFpMKFWBRbCeXChXg5GGxmFSoAItiO7lUqAAnD4vFpEIFWBQ7WepL0tFsF+s+CWrmqGUaRgXcNWRo8hl2a5GL5+B14IHmefgFtsI/OgZNzeqzd0IGorLuZXAJyN/yHoOblP8ftqEFBYICQQFrCvwFEG2wKFYx49sAAAAASUVORK5CYII=";
const _sfc_main = {
  __name: "index",
  __ssrInlineRender: true,
  async setup(__props) {
    let __temp, __restore;
    let isNeedLogin = inject("isNeedLogin");
    const goLogin = inject("goLogin");
    useHead({ script: [{ src: "https://app.gter.net/bottom?tpl=header&menukey=mj" }, { src: "https://app.gter.net/bottom?tpl=footer,popupnotification", body: true }] });
    ref(null);
    const route = useRoute();
    let keyword = ref("");
    keyword.value = route.query["keyword"];
    watchEffect(() => {
      if (keyword.value != route.query["keyword"]) {
        list.value = [];
        page.value = 1;
        keyword.value = route.query["keyword"];
        getList(route.query["keyword"]);
      }
    });
    let page = ref(1);
    let count = ref(0);
    let list = ref([]);
    let loading = false;
    const getList = () => {
      if (page.value == 0 || loading) return;
      loading = true;
      getListHttp({ page: page.value, keyword: keyword.value }).then((res) => {
        if (res.code != 200) {
          page.value = 0;
          ElMessage({
            message: res.message,
            type: "error"
          });
          return;
        }
        let data = res.data;
        list.value = list.value.concat(data.data || []);
        if (data.count > list.value.length) page.value++;
        else page.value = 0;
        count.value = data["count"];
        setTimeout(() => {
          return;
        }, 500);
      }).finally(() => loading = false);
    };
    let user = inject("userInfo");
    let openAttest = inject("openAttest");
    const realname = inject("realname");
    let isLikeGif = ref(false);
    const handleLike = (token) => {
      if (realname.value == 0 && user.value.uin > 0) {
        openAttest();
        return;
      }
      if (isNeedLogin.value) {
        goLogin();
        return;
      }
      operateLikeHttp({ token }).then((res) => {
        if (res.code != 200) return;
        let data = res.data;
        const status = data["status"];
        list.value.forEach((element) => {
          if (element["token"] == token) {
            element["islike"] = status;
            element["likenum"] = data["count"];
          }
        });
        ElMessage.success(res.message);
        if (status) {
          isLikeGif.value = false;
          nextTick(() => {
            isLikeGif.value = true;
            setTimeout(() => isLikeGif.value = false, 2e3);
          });
        }
      });
    };
    useRouter();
    try {
      if ((void 0).hostname != "localhost") {
        [__temp, __restore] = withAsyncContext(() => getListHttp({ page: 1, keyword: keyword.value }).then((res) => {
          if (res.code != 200) {
            page.value = 0;
            ElMessage({
              message: res.message,
              type: "error"
            });
            return;
          }
          let data = res.data;
          list.value = list.value.concat(data.data || []);
        })), await __temp, __restore();
      }
    } catch (error) {
    }
    let returnTopState = ref(false);
    return (_ctx, _push, _parent, _attrs) => {
      const _component_Head = Head;
      const _component_Title = Title;
      const _component_Meta = Meta;
      const _component_TopHead = __nuxt_component_3;
      const _component_empty = __nuxt_component_4;
      const _component_Item = __nuxt_component_5;
      const _component_Like = __nuxt_component_6;
      _push(`<!--[-->`);
      _push(ssrRenderComponent(_component_Head, null, {
        default: withCtx((_, _push2, _parent2, _scopeId) => {
          if (_push2) {
            _push2(ssrRenderComponent(_component_Title, null, {
              default: withCtx((_2, _push3, _parent3, _scopeId2) => {
                if (_push3) {
                  _push3(`\u5BC4\u6258\u5929\u4E0B - \u9762\u7ECF\u5206\u4EAB`);
                } else {
                  return [
                    createTextVNode("\u5BC4\u6258\u5929\u4E0B - \u9762\u7ECF\u5206\u4EAB")
                  ];
                }
              }),
              _: 1
            }, _parent2, _scopeId));
            _push2(ssrRenderComponent(_component_Meta, {
              name: "keyword",
              content: "\u7559\u5B66\u8D44\u8BAF\uFF0C\u7559\u5B66\u4EA4\u6D41\u8BBA\u575B\uFF0C\u7559\u5B66\u9762\u7ECF\uFF0C\u9762\u8BD5\u7ECF\u9A8C\uFF0C\u5BC4\u6258\u5929\u4E0B"
            }, null, _parent2, _scopeId));
          } else {
            return [
              createVNode(_component_Title, null, {
                default: withCtx(() => [
                  createTextVNode("\u5BC4\u6258\u5929\u4E0B - \u9762\u7ECF\u5206\u4EAB")
                ]),
                _: 1
              }),
              createVNode(_component_Meta, {
                name: "keyword",
                content: "\u7559\u5B66\u8D44\u8BAF\uFF0C\u7559\u5B66\u4EA4\u6D41\u8BBA\u575B\uFF0C\u7559\u5B66\u9762\u7ECF\uFF0C\u9762\u8BD5\u7ECF\u9A8C\uFF0C\u5BC4\u6258\u5929\u4E0B"
              })
            ];
          }
        }),
        _: 1
      }, _parent));
      _push(ssrRenderComponent(_component_TopHead, null, null, _parent));
      if (unref(keyword)) {
        _push(`<div class="search-result flexacenter" data-v-64182b0b><div class="keyword flexacenter" data-v-64182b0b>${ssrInterpolate(unref(keyword))} <img class="keyword-icon"${ssrRenderAttr("src", _imports_0)} data-v-64182b0b></div><div class="halving-line" data-v-64182b0b></div><div class="total" data-v-64182b0b>\u5171 ${ssrInterpolate(unref(count))} \u6761\u641C\u7D22\u6570\u636E</div></div>`);
      } else {
        _push(`<!---->`);
      }
      _push(`<div class="content" data-v-64182b0b>`);
      if (unref(list).length == 0 && unref(page) == 0) {
        _push(`<div class="empty-box flexcenter" data-v-64182b0b>`);
        _push(ssrRenderComponent(_component_empty, { hint: "\u6CA1\u6709\u627E\u5230\u76F8\u5173\u7ED3\u679C\uFF0C\u8BF7\u66F4\u6362\u641C\u7D22\u5173\u952E\u8BCD" }, null, _parent));
        _push(`</div>`);
      } else {
        _push(`<!--[-->`);
        ssrRenderList(unref(list), (item, index2) => {
          _push(ssrRenderComponent(_component_Item, {
            key: index2,
            item,
            onHandleLike: handleLike
          }, null, _parent));
        });
        _push(`<!--]-->`);
      }
      _push(`</div>`);
      if (unref(page) == 0 && unref(list).length > 0) {
        _push(`<div class="in-end" data-v-64182b0b>- \u5230\u5E95\u4E86 -</div>`);
      } else {
        _push(`<!---->`);
      }
      if (unref(returnTopState)) {
        _push(`<div class="right-returnTop" data-v-64182b0b><img${ssrRenderAttr("src", _imports_1)} style="${ssrRenderStyle({ "width": "24px", "height": "24px" })}" data-v-64182b0b></div>`);
      } else {
        _push(`<!---->`);
      }
      if (unref(isLikeGif)) {
        _push(ssrRenderComponent(_component_Like, null, null, _parent));
      } else {
        _push(`<!---->`);
      }
      _push(`<!--]-->`);
    };
  }
};
const _sfc_setup = _sfc_main.setup;
_sfc_main.setup = (props, ctx) => {
  const ssrContext = useSSRContext();
  (ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("pages/index.html/index.vue");
  return _sfc_setup ? _sfc_setup(props, ctx) : void 0;
};
const index = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-64182b0b"]]);

export { index as default };
//# sourceMappingURL=index-CB8j4IpY.mjs.map
