import{d as w,e as x,r as T,O as j,a as _,o as I,j as M,w as t,i as a,m as s,R as c,_ as N,s as R,Y as P,Z as O,__tla as S}from"./index-1e808f2e.js";import{N as W,R as n,c as y,T as Y,__tla as Z}from"./TabNews-85923e2b.js";import{_ as k,__tla as q}from"./TabText.vue_vue_type_script_setup_true_lang-2d568111.js";import z,{__tla as A}from"./TabImage-ce08097d.js";import B,{__tla as C}from"./TabVoice-ce8309cb.js";import D,{__tla as E}from"./TabVideo-5d915b7f.js";import{_ as F,__tla as G}from"./TabMusic.vue_vue_type_script_setup_true_lang-4033d899.js";import{_ as H}from"./_plugin-vue_export-helper-1b428a4d.js";import{__tla as J}from"./main-fae03c69.js";import{__tla as K}from"./el-image-263fb014.js";import{__tla as L}from"./el-image-viewer-dddb6285.js";import{__tla as Q}from"./main-7080b19d.js";import{__tla as X}from"./index.vue_vue_type_script_setup_true_lang-571824c6.js";import{__tla as $}from"./index-73afebcf.js";import{__tla as aa}from"./main-c2ebd06d.js";import{__tla as ea}from"./main.vue_vue_type_script_setup_true_lang-068c3b56.js";import{__tla as ta}from"./index-1a14fda3.js";import{__tla as la}from"./index-6e04feee.js";import{__tla as _a}from"./formatTime-a348c3be.js";import{__tla as ra}from"./useUpload-3083c231.js";import{__tla as ma}from"./useMessage-5f9e8917.js";let V,oa=Promise.all([(()=>{try{return S}catch{}})(),(()=>{try{return Z}catch{}})(),(()=>{try{return q}catch{}})(),(()=>{try{return A}catch{}})(),(()=>{try{return C}catch{}})(),(()=>{try{return E}catch{}})(),(()=>{try{return G}catch{}})(),(()=>{try{return J}catch{}})(),(()=>{try{return K}catch{}})(),(()=>{try{return L}catch{}})(),(()=>{try{return Q}catch{}})(),(()=>{try{return X}catch{}})(),(()=>{try{return $}catch{}})(),(()=>{try{return aa}catch{}})(),(()=>{try{return ea}catch{}})(),(()=>{try{return ta}catch{}})(),(()=>{try{return la}catch{}})(),(()=>{try{return _a}catch{}})(),(()=>{try{return ra}catch{}})(),(()=>{try{return ma}catch{}})()]).then(async()=>{V=H(w({name:"WxReplySelect",__name:"main",props:{modelValue:{},newsType:{default:()=>W.Published}},emits:["update:modelValue"],setup(h,{expose:v,emit:g}){const p=h,b=g,e=x({get:()=>p.modelValue,set:u=>b("update:modelValue",u)}),f=new Map,i=T(p.modelValue.type||n.Text);return j(i,(u,l)=>{if(l===void 0||u===void 0)return;f.set(l,_(e));const m=f.get(u);if(m)e.value=m;else{let o=y(e);o.type=u,e.value=o}},{immediate:!0}),v({clear:()=>{e.value=y(e)}}),(u,l)=>{const m=N,o=R,d=P,U=O;return I(),M(U,{type:"border-card",modelValue:_(i),"onUpdate:modelValue":l[6]||(l[6]=r=>c(i)?i.value=r:null)},{default:t(()=>[a(d,{name:_(n).Text},{label:t(()=>[a(o,{align:"middle"},{default:t(()=>[a(m,{icon:"ep:document"}),s(" \u6587\u672C")]),_:1})]),default:t(()=>[a(k,{modelValue:_(e).content,"onUpdate:modelValue":l[0]||(l[0]=r=>_(e).content=r)},null,8,["modelValue"])]),_:1},8,["name"]),a(d,{name:_(n).Image},{label:t(()=>[a(o,{align:"middle"},{default:t(()=>[a(m,{icon:"ep:picture",class:"mr-5px"}),s(" \u56FE\u7247")]),_:1})]),default:t(()=>[a(z,{modelValue:_(e),"onUpdate:modelValue":l[1]||(l[1]=r=>c(e)?e.value=r:null)},null,8,["modelValue"])]),_:1},8,["name"]),a(d,{name:_(n).Voice},{label:t(()=>[a(o,{align:"middle"},{default:t(()=>[a(m,{icon:"ep:phone"}),s(" \u8BED\u97F3")]),_:1})]),default:t(()=>[a(B,{modelValue:_(e),"onUpdate:modelValue":l[2]||(l[2]=r=>c(e)?e.value=r:null)},null,8,["modelValue"])]),_:1},8,["name"]),a(d,{name:_(n).Video},{label:t(()=>[a(o,{align:"middle"},{default:t(()=>[a(m,{icon:"ep:share"}),s(" \u89C6\u9891")]),_:1})]),default:t(()=>[a(D,{modelValue:_(e),"onUpdate:modelValue":l[3]||(l[3]=r=>c(e)?e.value=r:null)},null,8,["modelValue"])]),_:1},8,["name"]),a(d,{name:_(n).News},{label:t(()=>[a(o,{align:"middle"},{default:t(()=>[a(m,{icon:"ep:reading"}),s(" \u56FE\u6587")]),_:1})]),default:t(()=>[a(Y,{modelValue:_(e),"onUpdate:modelValue":l[4]||(l[4]=r=>c(e)?e.value=r:null),"news-type":u.newsType},null,8,["modelValue","news-type"])]),_:1},8,["name"]),a(d,{name:_(n).Music},{label:t(()=>[a(o,{align:"middle"},{default:t(()=>[a(m,{icon:"ep:service"}),s("\u97F3\u4E50")]),_:1})]),default:t(()=>[a(F,{modelValue:_(e),"onUpdate:modelValue":l[5]||(l[5]=r=>c(e)?e.value=r:null)},null,8,["modelValue"])]),_:1},8,["name"])]),_:1},8,["modelValue"])}}}),[["__scopeId","data-v-5f4f2e76"]])});export{oa as __tla,V as default};