"use strict";
const common_vendor = require("../../../../common/vendor.js");
const TUIKit_utils_env = require("../../../utils/env.js");
const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
  __name: "index",
  props: {
    content: { default: () => ({}) },
    messageItem: { default: () => ({}) }
  },
  setup(__props) {
    const props = __props;
    return (_ctx, _cache) => {
      return common_vendor.e({
        a: props.messageItem.status === "unSend" && props.messageItem.progress < 1
      }, props.messageItem.status === "unSend" && props.messageItem.progress < 1 ? common_vendor.e({
        b: !common_vendor.unref(TUIKit_utils_env.isUniFrameWork)
      }, !common_vendor.unref(TUIKit_utils_env.isUniFrameWork) ? {
        c: props.messageItem.progress
      } : {
        d: Math.round(props.messageItem.progress * 100)
      }) : {});
    };
  }
});
const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__scopeId", "data-v-99d7e968"]]);
wx.createComponent(Component);
//# sourceMappingURL=../../../../../.sourcemap/mp-weixin/TUIKit/components/common/ProgressMessage/index.js.map
