System.register(["./page_layout-legacy.js?v=1763625242172","./mail-legacy.js?v=1763625242172","./public-legacy.js?v=1763625242172","./vue-legacy.js?v=1763625242172","./naive-legacy.js?v=1763625242172"],(function(e,a){"use strict";var l,t,n,u,s,i,o,r,c,v,d,g;return{setters:[e=>{l=e.x},e=>{t=e.c},e=>{n=e.d},e=>{u=e.k,s=e.ad,i=e.P,o=e.ae,r=e.r,c=e.R,v=e.a2,d=e.V},e=>{g=e.dV}],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=r([]),y=({option:e})=>a.showTag?`${u("Mail.MailBox.index_29")}${e.label}`:`${e.label}`,{loading:f,setLoading:b}=n();return(async()=>{try{b(!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{b(!1)}})(),(e,a)=>{const l=g;return c(),v(l,{value:s.value,"onUpdate:value":a[0]||(a[0]=e=>s.value=e),"consistent-menu-width":!1,options:d(p),loading:d(f),"render-tag":y,filterable:!0},null,8,["value","options","loading"])}}}))}}}));
