System.register(["./page_layout-legacy.js?v=1753954525509","./mail-legacy2.js?v=1753954525509","./public-legacy.js?v=1753954525509","./vue-legacy.js?v=1753954525509","./naive-legacy.js?v=1753954525509"],(function(e,a){"use strict";var l,t,n,u,s,i,o,c,r,v,g,d;return{setters:[e=>{l=e.w},e=>{t=e.c},e=>{n=e.c},e=>{u=e.k,s=e.ab,i=e.P,o=e.ac,c=e.r,r=e.U,v=e.a1,g=e.X},e=>{d=e.cG}],execute:function(){e("_",u({__name:"index",props:s({all:{type:Boolean,default:!0},showTag:{type:Boolean,default:!0}},{value:{},valueModifiers:{}}),emits:["update:value"],setup(e){const a=e,{t:u}=i(),s=o(e,"value"),p=c([]),y=({option:e})=>a.showTag?`${u("Mail.MailBox.index_29")}${e.label}`:`${e.label}`,{loading:b,setLoading:f}=n();return(async()=>{try{f(!0);const{message:e}=await t();l(e)&&(p.value=e.map((e=>({label:e,value:e}))),a.all?p.value.unshift({label:u("Public.All"),value:""}):s.value=e[0]||"")}finally{f(!1)}})(),(e,a)=>{const l=d;return r(),v(l,{value:s.value,"onUpdate:value":a[0]||(a[0]=e=>s.value=e),"consistent-menu-width":!1,options:g(p),loading:g(b),"render-tag":y,filterable:!0},null,8,["value","options","loading"])}}}))}}}));
