"use strict";const e=require("../../../common/vendor.js");require("../../adapter-vue.js");const s=require("../../utils/env.js");Math||t();const t=()=>"../../components/TUIChat/message-list/message-elements/message-bubble.js",n=e.defineComponent({__name:"message-plugin-layout",props:{message:{default:()=>({})},showStyle:{default:""},bubbleClassNameList:{default:()=>[]},blinkMessageIDList:{default:()=>[]}},emits:["resendMessage","handleToggleMessageItem","handleH5LongPress"],setup(t,{emit:n}){const a=t,o=n,r=e.computed((()=>{var s;return e.Jt.getMessageModel(null==(s=a.message)?void 0:s.ID)})),u=(e,s,t=!1)=>{o("handleToggleMessageItem",e,s,t)},l=(e,s,t)=>{o("handleH5LongPress",e,s,t)};return(t,n)=>e.e({a:"tip"===a.showStyle},"tip"===a.showStyle?{}:"bubble"===a.showStyle?e.e({c:!e.unref(s.isUniFrameWork)},(e.unref(s.isUniFrameWork),{}),{d:e.unref(s.isUniFrameWork)},(e.unref(s.isUniFrameWork),{}),{e:e.o$1((s=>{return t=e.unref(r),void o("resendMessage",t);var t})),f:e.p({messageItem:e.unref(r),content:e.unref(r).getMessageContent(),blinkMessageIDList:a.blinkMessageIDList,classNameList:a.bubbleClassNameList}),g:e.o$1((s=>u(s,e.unref(r),!0))),h:e.o$1((s=>u(s,e.unref(r)))),i:e.o$1((s=>l(s,e.unref(r),"touchstart"))),j:e.o$1((s=>l(s,e.unref(r),"touchend"))),k:e.o$1((s=>l(s,e.unref(r),"touchend")))}):{},{b:"bubble"===a.showStyle})}}),a=e._export_sfc(n,[["__scopeId","data-v-b6903fb1"]]);wx.createComponent(a);
