PageSourceSearch

http://node.cc/static/js/textSelection.CRrpnEtY.js

js node.cc collected 2026-10-06 13:16:43 UTC 960 bytes, 1 lines download raw bytes

1import{F as e,Y as t}from"./Tooltip.PNC8NIZa.js";import{c as n}from"./useFocusRing.C8atAWyK.js";var r=`default`,i=``,a=new WeakMap;function o(n){if(e()){if(r==="default"){let e=t(n);i=e.documentElement.style.webkitUserSelect,e.documentElement.style.webkitUserSelect=`none`}r=`disabled`}else if(n instanceof HTMLElement||n instanceof SVGElement){let e=`userSelect`in n.style?`userSelect`:`webkitUserSelect`;a.set(n,n.style[e]),n.style[e]=`none`}}function s(o){if(e()){if(r!==`disabled`)return;r=`restoring`,setTimeout(()=>{n(()=>{if(r===`restoring`){let e=t(o);e.documentElement.style.webkitUserSelect===`none`&&(e.documentElement.style.webkitUserSelect=i||``),i=``,r=`default`}})},300)}else if((o instanceof HTMLElement||o instanceof SVGElement)&&o&&a.has(o)){let e=a.get(o),t=`userSelect`in o.style?`userSelect`:`webkitUserSelect`;o.style[t]===`none`&&(o.style[t]=e),o.getAttribute(`style`)===``&&o.removeAttribute(`style`),a.delete(o)}}export{s as n,o 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.