1import{A as e,D as t,H as n,Ht as r,Lt as i,O as a,P as o,Pt as s,Zt as c,g as l,it as u,k as d,kt as f,m as p,o as m,rt as h,tt as g}from"./vue.runtime.esm-bundler-DK-ieOMu.mjs";import{t as _}from"./IconElement-DRwLcDEX.mjs";import{t as v}from"./_plugin-vue_export-helper-BDNMzG2s.mjs";import{t as y}from"./debounce-CKTdELsr.mjs";import{l as b}from"#entry";s(),n(),m();var x={class:`input`},S=[`placeholder`],C=v({__name:`WebSearchField`,props:{placeholder:{type:String,default:`Search here...`},value:{type:String},fromModal:{type:Boolean,default:!1},debounceAmount:{type:Number,default:500}},emits:[`update`],setup(n,{emit:s}){let m=n,v=s,C=r(m.value),w=r(),{trapRef:T}=b(),E=y(()=>v(`update`,C.value),m.debounceAmount);g(()=>{m.fromModal&&(w.value=T)}),h(()=>{m.fromModal&&C.value?.length>0&&(w.value=``)});function D(){C.value=``,v(`update`,``)}return(r,s)=>{let m=_;return u(),e(`div`,{ref:c(w),class:`search-field`},[t(`div`,x,[o(m,{icon:`mdi:magnify`,class:`icon`,width:24,"icon-color":`#666666`}),f(t(`input`,{id:`web-search`,"onUpdate:modelValue":s[0]||=e=>i(C)?C.value=e:null,type:`search`,placeholder:n.placeholder,onInput:s[1]||=(...e)=>c(E)&&c(E)(...e)},null,40,S),[[p,c(C)]]),c(C)?(u(),a(m,{key:0,tabindex:`0`,icon:`mdi:close`,class:`clear-icon`,width:24,"icon-color":`#666666`,"aria-label":`clear search text`,role:`button`,onKeyup:l(D,[`enter`]),onClick:D})):d(``,!0)])],512)}}},[[`__scopeId`,`data-v-c942be3e`]]);export{C as t};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.