"use strict";
const common_vendor = require("../../../../common/vendor.js");
require("../../../adapter-vue.js");
const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
  __name: "message-call-group",
  props: {
    message: { default: () => ({}) },
    signalingInfo: { default: () => ({}) },
    customContent: { default: () => ({}) },
    blinkMessageIDList: { default: () => [] }
  },
  setup(__props) {
    const props = __props;
    const TYPES = common_vendor.qt.TYPES;
    const isCallMessage = common_vendor.computed(() => !!props.signalingInfo);
    const conversationType = common_vendor.computed(() => {
      var _a;
      return (_a = props.message) == null ? void 0 : _a.conversationType;
    });
    const custom = common_vendor.computed(() => {
      var _a;
      return (_a = props.customContent) == null ? void 0 : _a.custom;
    });
    const isBlink = common_vendor.computed(() => {
      var _a, _b;
      if ((_a = props.message) == null ? void 0 : _a.ID) {
        return (_b = props.blinkMessageIDList) == null ? void 0 : _b.includes(props.message.ID);
      }
      return false;
    });
    return (_ctx, _cache) => {
      return common_vendor.e({
        a: common_vendor.unref(isCallMessage) && common_vendor.unref(conversationType) === common_vendor.unref(TYPES).CONV_GROUP
      }, common_vendor.unref(isCallMessage) && common_vendor.unref(conversationType) === common_vendor.unref(TYPES).CONV_GROUP ? {
        b: common_vendor.t(common_vendor.unref(custom)),
        c: common_vendor.unref(isBlink) ? 1 : ""
      } : {});
    };
  }
});
const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__scopeId", "data-v-80245e9e"]]);
wx.createComponent(Component);
//# sourceMappingURL=../../../../../.sourcemap/mp-weixin/TUIKit/plugins/plugin-components/message-call/message-call-group.js.map
