PageSourceSearch

https://kbve.com/_astro/SocialTooltip.astro_astro_type_script_index_0_lang.BJRR8VuH.js

js kbve.com collected 2026-09-26 04:38:11 UTC 1,296 bytes, 1 lines download raw bytes

1import{S as e,b as t,v as n}from"./src.Ei5FvxJI.js";import{n as r}from"./clientRouter.hT5sTn99.js";function i(e,t,n){if(n!==`auto`)return n;let r=e.getBoundingClientRect(),i=t.getBoundingClientRect(),a=window.innerHeight-r.bottom,o=r.top;return a<i.height+16&&o>i.height+16?`top`:`bottom`}function a(){return globalThis.matchMedia?.(`(prefers-reduced-motion: reduce)`)?.matches??!1}r(()=>{let r=[];return document.querySelectorAll(`[data-stt-root]`).forEach(o=>{let s=o.id,c=o.querySelector(`[data-stt-trigger]`),l=o.querySelector(`[data-stt-panel]`);if(!c||!l)return;let u=o.dataset.sttDir||`auto`,d=a(),f=()=>e(s),p=()=>t(s);o.addEventListener(`pointerenter`,f),o.addEventListener(`pointerleave`,p),c.addEventListener(`focus`,f),c.addEventListener(`blur`,p);let m=n.subscribe(e=>{if(e===s){if(d&&o.classList.add(`stt--reduce`),o.classList.add(`stt--open`),c.setAttribute(`aria-expanded`,`true`),u===`auto`){let e=i(o,l,`auto`);o.classList.toggle(`stt--dir-top`,e===`top`),o.classList.toggle(`stt--dir-bottom`,e===`bottom`)}}else o.classList.remove(`stt--open`),c.setAttribute(`aria-expanded`,`false`)});r.push(()=>{o.removeEventListener(`pointerenter`,f),o.removeEventListener(`pointerleave`,p),c.removeEventListener(`focus`,f),c.removeEventListener(`blur`,p),m()})}),()=>{r.forEach(e=>e())}});

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.