PageSourceSearch

https://getmontecarlo.com/assets/search-box-CC3c7NnS.js

js getmontecarlo.com collected 2026-10-01 11:26:03 UTC 690 bytes, 1 lines download raw bytes

1import{A as e}from"./vendor-codemirror-DOxSoMuC.js";import{Mo as t,Pr as n,ba as r,mt as i,xi as a}from"./src-CzRXvHbZ.js";import{t as o}from"./TextInput-CDQUN3Zd.js";var s=e(),c=({searchString:e,onSearchStringChange:c,placeholder:l=`Search…`,helpText:u,...d})=>{let f=()=>{c(``)};return(0,s.jsx)(o,{placeholder:l,value:e,onChange:e=>c(e.target.value),onKeyDown:t=>{t.key===`Escape`&&e.trim()&&(f(),t.preventDefault())},leftSection:(0,s.jsx)(a,{}),rightSection:e.trim()?(0,s.jsx)(t,{size:`compact`,variant:`subtle`,color:`gray`,onClick:f,"aria-label":`Clear search`,children:(0,s.jsx)(r,{})}):u?.length?(0,s.jsx)(i,{label:u,children:(0,s.jsx)(n,{size:`sm`})}):null,...d})};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.