"use strict";
const common_vendor = require("../../../../../../common/vendor.js");
require("../../../../../adapter-vue.js");
const TUIKit_components_TUIChat_emojiConfig_index = require("../../../../TUIChat/emoji-config/index.js");
const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
  __name: "message-abstract-text",
  props: {
    content: { default: () => [] },
    highlightType: { default: "font" },
    displayType: { default: "info" }
  },
  setup(__props) {
    const props = __props;
    const contentText = common_vendor.ref(props.content);
    return (_ctx, _cache) => {
      return {
        a: common_vendor.f(common_vendor.unref(contentText), (contentItem, index, i0) => {
          return {
            a: common_vendor.t(common_vendor.unref(TUIKit_components_TUIChat_emojiConfig_index.transformTextWithKeysToEmojiNames)(contentItem.text)),
            b: index,
            c: common_vendor.n(contentItem && contentItem.isHighlight ? "highlight" : "normal")
          };
        }),
        b: common_vendor.n(`message-abstract-text-${_ctx.highlightType}`),
        c: common_vendor.n(`message-abstract-text-${_ctx.displayType}`)
      };
    };
  }
});
const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__scopeId", "data-v-94825845"]]);
wx.createComponent(Component);
//# sourceMappingURL=../../../../../../../.sourcemap/mp-weixin/TUIKit/components/TUISearch/search-result/search-result-item/message-abstract/message-abstract-text.js.map
