1import{t as e}from"./jsx-runtime-CbkpsQZ0.js";import{H as t,I as n,i as r,m as i,n as a,p as o,r as s}from"./Text-DjqRmEnZ.js";import{n as c}from"./Group-C9hsIZXt.js";import{t as l}from"./Collapse-W-vWZ1z3.js";import{n as u}from"./Stack-Coq64YNZ.js";var d={root:`m_f0824112`,description:`m_57492dcc`,section:`m_690090b5`,label:`m_1f6ac4c4`,body:`m_f07af9d2`,children:`m_e17b862f`,chevron:`m_1fd8a00b`},f=e(),p=n((e,{variant:n,color:r,childrenOffset:i,autoContrast:a})=>{let o=e.variantColorResolver({color:r||e.primaryColor,theme:e,variant:n||`light`,autoContrast:a});return{root:{"--nl-bg":r||n?o.background:void 0,"--nl-hover":r||n?o.hover:void 0,"--nl-color":r||n?o.color:void 0},children:{"--nl-offset":t(i)}}}),m=r(e=>{let t=i(`NavLink`,null,e),{classNames:n,className:r,style:m,styles:h,unstyled:g,vars:_,opened:v,defaultOpened:y,onChange:b,children:x,active:S,disabled:C,leftSection:w,rightSection:T,label:E,description:D,disableRightSectionRotation:O,noWrap:k,childrenOffset:A,autoContrast:j,mod:M,attributes:N,onClick:P,onKeyDown:F,keepMounted:I,...L}=t,R=o({name:`NavLink`,props:t,classes:d,className:r,style:m,classNames:n,styles:h,unstyled:g,attributes:N,vars:_,varsResolver:p}),[z,B]=c({value:v,defaultValue:y,finalValue:!1,onChange:b}),V=!!x,H=e=>{P?.(e),V&&(e.preventDefault(),B(!z))};return(0,f.jsxs)(f.Fragment,{children:[(0,f.jsxs)(a,{...R(`root`),component:`a`,onClick:H,onKeyDown:e=>{F?.(e),e.nativeEvent.code===`Space`&&V&&(e.preventDefault(),B(!z))},unstyled:g,mod:[{disabled:C,active:S,expanded:z},M],...L,children:[w&&(0,f.jsx)(s,{component:`span`,...R(`section`),mod:{position:`left`},children:w}),(0,f.jsxs)(s,{...R(`body`),mod:{"no-wrap":k},children:[(0,f.jsx)(s,{component:`span`,...R(`label`),children:E}),(0,f.jsx)(s,{component:`span`,mod:{active:S},...R(`description`),children:D})]}),(V||T!==void 0)&&(0,f.jsx)(s,{...R(`section`),component:`span`,mod:{rotate:z&&!O,position:`right`},children:V&&T===void 0?(0,f.jsx)(u,{...R(`chevron`)}):T})]}),V&&(0,f.jsx)(l,{expanded:z,keepMounted:I,...R(`collapse`),children:(0,f.jsx)(`div`,{...R(`children`),children:x})})]})});m.classes=d,m.varsResolver=p,m.displayName=`@mantine/core/NavLink`;export{m 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.