import { defineComponent, openBlock, createElementBlock, createElementVNode, createVNode, toDisplayString, unref, withCtx, createTextVNode, createCommentVNode } from "vue";
import useRoomMoreHooks from "./useRoomMoreHooks.mjs";
import SvgIcon from "../common/base/SvgIcon.vue.mjs";
import copyIcon from "../common/icons/CopyIcon.vue.mjs";
import EmailIcon from "../common/icons/EmailIcon.vue.mjs";
import TuiButton from "../common/base/Button.vue.mjs";
const _hoisted_1 = { class: "more-container" };
const _hoisted_2 = { class: "more-title" };
const _hoisted_3 = { class: "more-notice" };
const _hoisted_4 = {
  key: 0,
  class: "more-item"
};
const _hoisted_5 = { class: "item-title" };
const _hoisted_6 = { class: "more-item" };
const _hoisted_7 = { class: "item-title" };
const _hoisted_8 = { class: "more-content" };
const _sfc_main = /* @__PURE__ */ defineComponent({
  __name: "indexPC",
  setup(__props) {
    const { t, onCopy, handleClick, email, isZH } = useRoomMoreHooks();
    return (_ctx, _cache) => {
      return openBlock(), createElementBlock("div", _hoisted_1, [
        createElementVNode("div", _hoisted_2, [
          createVNode(SvgIcon, {
            class: "email-icon",
            icon: EmailIcon
          }),
          createElementVNode("div", _hoisted_3, toDisplayString(unref(t)("If you have any questions, please email us.")), 1)
        ]),
        unref(isZH) ? (openBlock(), createElementBlock("div", _hoisted_4, [
          createElementVNode("div", _hoisted_5, toDisplayString(unref(t)("Join our product discussion group")), 1),
          createVNode(TuiButton, {
            class: "join-button",
            type: "primary",
            onClick: unref(handleClick)
          }, {
            default: withCtx(() => [
              createTextVNode(toDisplayString(unref(t)("Join now")), 1)
            ]),
            _: 1
          }, 8, ["onClick"])
        ])) : createCommentVNode("", true),
        createElementVNode("div", _hoisted_6, [
          createElementVNode("div", _hoisted_7, toDisplayString(unref(t)("Our email address")), 1),
          createElementVNode("div", _hoisted_8, toDisplayString(unref(email)), 1),
          createVNode(SvgIcon, {
            class: "copy-icon",
            icon: copyIcon,
            onClick: _cache[0] || (_cache[0] = ($event) => unref(onCopy)(unref(email)))
          })
        ])
      ]);
    };
  }
});
export {
  _sfc_main as default
};
