System.register(["./index-legacy-DQdImDha.js?v=1773287522785","./vue-core-legacy-Cn1vuJ3s.js?v=1773287522785","./naive-ui-legacy-BW82sq8q.js?v=1773287522785"],(function(e,s){"use strict";var t,a,r,n,u,i,l,c,o,f,p,v,d,x,y;return{setters:[e=>{t=e.N,a=e.l},e=>{r=e.k,n=e.r,u=e.$,i=e.a8,l=e.au,c=e.a9,o=e._,f=e.a0,p=e.s,v=e.ai,d=e.X,x=e.S},e=>{y=e.b}],execute:function(){e("_",r({__name:"index",props:{value:{default:""},width:{default:240},prefix:{type:Boolean,default:!1}},emits:["search","update:value"],setup(e,{expose:s,emit:r}){const m=e,h=n(null);s({focus:()=>{h.value?.focus()}});const k=r,_=t(m,"value"),g=()=>{k("search",_.value)};return(e,s)=>{const t=a,r=y;return u(),i(r,p({value:x(_),"onUpdate:value":s[0]||(s[0]=e=>d(_)?_.value=e:null)},e.$attrs,{ref_key:"inputRef",ref:h,class:"bt-search",style:{width:`${e.width}px`},onKeyup:v(g,["enter"])}),l({_:2},[e.prefix?{name:"prefix",fn:c((()=>[o("div",{class:"flex items-center cursor-pointer",onClick:g},[f(t,{name:"search",size:"16"})])])),key:"0"}:void 0,e.prefix?void 0:{name:"suffix",fn:c((()=>[o("div",{class:"flex items-center cursor-pointer",onClick:g},[f(t,{name:"search",size:"16"})])])),key:"1"}]),1040,["value","style"])}}}))}}}));
