1import{i as e}from"./rolldown-runtime-BgaNhQyE.js";import{i as t,r as n}from"./framework-Tx0HeTaA.js";import{t as r}from"./cn-B6KiDbIe.js";var i=e(t(),1),a=n(),o=(0,i.createContext)(null);function s(){let e=(0,i.useContext)(o);return e?{id:e.inputId,invalid:e.invalid,...e.invalid?{"aria-invalid":!0,"aria-describedby":e.errorId}:{}}:{invalid:!1}}function c(e){let t=(0,i.useContext)(o);if(!t)throw Error(`<Field.${e}> must be used inside <Field.Root>`);return t}function l({invalid:e=!1,className:t,children:n}){let s=(0,i.useId)(),c=`${s}-error`;return(0,a.jsx)(o.Provider,{value:{inputId:s,errorId:c,invalid:e},children:(0,a.jsx)(`div`,{className:r(`space-y-2`,t),children:n})})}function u({children:e}){return(0,a.jsx)(`label`,{htmlFor:c(`Label`).inputId,className:`block text-sm font-medium text-ink-100`,children:e})}function d({children:e}){let t=c(`Error`);return e?(0,a.jsx)(`p`,{id:t.errorId,role:`alert`,className:`text-sm text-danger-300`,children:e}):null}var f={Root:l,Label:u,Error:d};export{s as n,f 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.