"use strict";var e=Object.defineProperty,s=Object.defineProperties,t=Object.getOwnPropertyDescriptors,a=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable,n=(s,t,a)=>t in s?e(s,t,{enumerable:!0,configurable:!0,writable:!0,value:a}):s[t]=a,c=require("../../../../../../common/vendor.js");const i=c.defineComponent({props:{data:{type:Object,default:()=>({})}},setup(e,i){const m=c.reactive({message:{},show:!1});c.watchEffect((()=>{m.message=e.data}));return g=((e,s)=>{for(var t in s||(s={}))o.call(s,t)&&n(e,t,s[t]);if(a)for(var t of a(s))r.call(s,t)&&n(e,t,s[t]);return e})({},c.toRefs(m)),s(g,t({toggleDialog:()=>{m.show=!m.show}}));var g}});var m=c._export_sfc(i,[["render",function(e,s,t,a,o,r){var n;return c.e({a:(null==(n=e.message)?void 0:n.avatar)||"https://web.sdk.qcloud.com/component/TUIKit/assets/avatar_21.png",b:"in"===e.message.flow},"in"===e.message.flow?{c:c.t(e.message.nick)}:{},{d:c.n("content content-"+e.message.flow),e:"fail"===e.message.status},(e.message.status,{}),{f:"C2C"===e.message.conversationType&&"out"==e.message.flow&&"fail"!==e.message.status},"C2C"===e.message.conversationType&&"out"==e.message.flow&&"fail"!==e.message.status?c.e({g:!e.message.isPeerRead},(e.message.isPeerRead,{}),{h:c.n(!e.message.isPeerRead&&"unRead")}):{},{i:c.n("in"===e.message.flow?"":"reverse")})}],["__scopeId","data-v-5418b13d"]]);wx.createComponent(m);
