import{d as M,r as U,o as a,c as l,a as t,l as q,t as n,i,g as s,w as E,j as A,a2 as L,_ as P,__tla as V}from"./index-2c56227b.js";import{E as j,__tla as I}from"./el-link-dfb00afa.js";import Y,{__tla as G}from"./main-06d64462.js";import H,{__tla as N}from"./main-319f3859.js";import O,{__tla as T}from"./main-9a47ac8b.js";import X,{__tla as z}from"./main-5d4551ad.js";import B,{__tla as C}from"./main-e1035452.js";import D,{__tla as F}from"./MsgEvent-8ab48399.js";import{M as r}from"./types-5fca7b13.js";import{__tla as J}from"./el-image-cae97e2e.js";import{__tla as K}from"./el-image-viewer-da1b6008.js";let b,Q=Promise.all([(()=>{try{return V}catch{}})(),(()=>{try{return I}catch{}})(),(()=>{try{return G}catch{}})(),(()=>{try{return N}catch{}})(),(()=>{try{return T}catch{}})(),(()=>{try{return z}catch{}})(),(()=>{try{return C}catch{}})(),(()=>{try{return F}catch{}})(),(()=>{try{return J}catch{}})(),(()=>{try{return K}catch{}})()]).then(async()=>{let _,c,o,u,m,y,d,p,h,f,v,k,g;_={key:1},c={key:2},o={key:3},u=["href"],m=["src"],y={key:4,style:{"text-align":"center"}},d={key:5,class:"avue-card__detail"},p={class:"avue-card__title"},h=s("i",{class:"el-icon-link"},null,-1),f={class:"avue-card__info",style:{height:"unset"}},v={key:6},k={key:7,style:{width:"300px"}},g={key:8},b=P(M({name:"Msg",__name:"Msg",props:{item:{type:null,required:!0}},setup(x){const e=U(x.item);return(R,S)=>{const w=j;return a(),l("div",null,[t(e).type===t(r).Event?(a(),q(D,{key:0,item:t(e)},null,8,["item"])):t(e).type===t(r).Text?(a(),l("div",_,n(t(e).content),1)):t(e).type===t(r).Voice?(a(),l("div",c,[i(t(H),{url:t(e).mediaUrl,content:t(e).recognition},null,8,["url","content"])])):t(e).type===t(r).Image?(a(),l("div",o,[s("a",{target:"_blank",href:t(e).mediaUrl},[s("img",{src:t(e).mediaUrl,style:{width:"100px"}},null,8,m)],8,u)])):t(e).type===t(r).Video||t(e).type==="shortvideo"?(a(),l("div",y,[i(t(Y),{url:t(e).mediaUrl},null,8,["url"])])):t(e).type===t(r).Link?(a(),l("div",d,[i(w,{type:"success",underline:!1,target:"_blank",href:t(e).url},{default:E(()=>[s("div",p,[h,A(n(t(e).title),1)])]),_:1},8,["href"]),s("div",f,n(t(e).description),1)])):t(e).type===t(r).Location?(a(),l("div",v,[i(t(X),{label:t(e).label,"location-y":t(e).locationY,"location-x":t(e).locationX},null,8,["label","location-y","location-x"])])):t(e).type===t(r).News?(a(),l("div",k,[i(t(O),{articles:t(e).articles},null,8,["articles"])])):t(e).type===t(r).Music?(a(),l("div",g,[i(t(B),{title:t(e).title,description:t(e).description,"thumb-media-url":t(e).thumbMediaUrl,"music-url":t(e).musicUrl,"hq-music-url":t(e).hqMusicUrl},null,8,["title","description","thumb-media-url","music-url","hq-music-url"])])):L("",!0)])}}}),[["__file","E:/GAOHP_2023/mall/newfeifan-front/yudao-ui-admin-vue3/src/views/mp/components/wx-msg/components/Msg.vue"]])});export{Q as __tla,b as default};
