PageSourceSearch

https://neuml-txtai.hf.space/static/js/index.C9ZwaDT3.js

js neuml-txtai.hf.space collected 2026-10-03 10:21:31 UTC 2,504 bytes, 1 lines download raw bytes

1import{x as l,r as d,Y as u,g as f,j as i,a as x,P as b,l as k,Z as w,S as L}from"./index.3bHSf9gi.js";const S=l("div",{target:"e11lneww0"})({display:"flex",flexDirection:"column",width:"100%"}),v=l("a",{target:"e11lneww1"})(({disabled:a,isCurrentPage:o,theme:r})=>({textDecoration:"none",width:"100%",display:"flex",flexDirection:"row",alignItems:"center",justifyContent:"flex-start",gap:r.spacing.sm,borderRadius:r.radii.default,paddingLeft:r.spacing.sm,paddingRight:r.spacing.sm,marginTop:r.spacing.threeXS,marginBottom:r.spacing.threeXS,lineHeight:r.lineHeights.menuItem,backgroundColor:o?r.colors.darkenedBgMix15:"transparent","&:hover":{backgroundColor:o?r.colors.darkenedBgMix25:r.colors.darkenedBgMix15},"&:active,&:visited,&:hover":{textDecoration:"none"},"&:focus":{outline:"none"},"&:focus-visible":{backgroundColor:r.colors.darkenedBgMix15},"@media print":{paddingLeft:r.spacing.none},...a?{borderColor:r.colors.borderColor,backgroundColor:r.colors.transparent,color:r.colors.fadedText40,cursor:"not-allowed","&:hover":{color:r.colors.fadedText40,backgroundColor:r.colors.transparent}}:{}})),y=l("span",{target:"e11lneww2"})(({disabled:a,theme:o})=>({color:o.colors.bodyText,overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis",display:"table-cell",...a?{borderColor:o.colors.borderColor,backgroundColor:o.colors.transparent,color:o.colors.fadedText40,cursor:"not-allowed"}:{}}));function C(a){let o=a.page;if(a.queryString)if(a.external)try{const r=new URL(a.page);new URLSearchParams(a.queryString).forEach((n,e)=>r.searchParams.append(e,n)),o=r.toString()}catch{const[r,t]=o.split("#");o=r+(r.includes("?")?"&":"?")+a.queryString+(t?"#"+t:"")}else o+=(o.includes("?")?"&":"?")+a.queryString;return o}function h(a){const{onPageChange:o,currentPageScriptHash:r}=d.useContext(u),{colors:t}=f(),{disabled:n,element:e}=a,s=r===e.pageScriptHash,g=c=>{e.external?n&&c.preventDefault():(c.preventDefault(),n||o(e.pageScriptHash,e.queryString))},p=C(e);return i("div",{className:"stPageLink","data-testid":"stPageLink",children:i(x,{help:e.help,placement:b.TOP_RIGHT,containerWidth:!0,children:i(S,{children:k(v,{"data-testid":"stPageLink-NavLink",disabled:n,isCurrentPage:s,href:p,target:e.external?"_blank":"",rel:"noreferrer",onClick:g,children:[e.icon&&i(w,{size:"lg",color:n?t.fadedText40:t.bodyText,iconValue:e.icon}),i(y,{disabled:n,children:i(L,{source:e.label,allowHTML:!1,isLabel:!0,boldLabel:s,largerLabel:!0,disableLinks:!0})})]})})})})}const P=d.memo(h);export{P as default};

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.