PageSourceSearch

https://cdn.supercut.ai/2758644bf8e07f54793a756e1b4e09c58f6dd65d/assets/setting-label-context-CXR4BaXs.js

js supercut.ai collected 2026-10-03 19:17:48 UTC 423 bytes, 1 lines download raw bytes

1import{r}from"./index-BDiHYtDp.js";const o=r.createContext(null),s=r.createContext(null),i=()=>r.useContext(o),a=(e,n)=>{const t=i();if(e!==void 0&&e!=="")return e;if(t?.labelTitle!==void 0&&t.labelTitle!=="")return t.labelTitle;if(n!==void 0&&n!=="")return n},g=({hasIcon:e,title:n})=>{const t=r.useContext(s)?.registerLabel;r.useLayoutEffect(()=>{t&&t({hasIcon:e,title:n})},[e,t,n])};export{s as S,o as a,a as b,g as u};

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.