PageSourceSearch

https://hub.x-cmd.com/_nuxt/BvpOG3xH.js

js x-cmd.com collected 2026-10-03 22:03:57 UTC 2,421 bytes, 1 lines download raw bytes

vendor: 2,421 bytes, line 1
1import{F as e,I as t,N as n,P as r}from"./Cnbu3Amz2.js";var i=t=>e(t)&&t.tagName===`IFRAME`,a=/^(audio|video|details)$/;function o(e){let t=e.getAttribute(`tabindex`);return t?parseInt(t,10):NaN}var s=e=>!Number.isNaN(o(e)),c=e=>o(e)<0;function l(e){return t(e)&&e.type===`radio`}function u(e){if(!l(e)||!e.name||e.checked)return!0;let t=`input[type="radio"][name="${CSS.escape(e.name)}"]`,n=e.form??e.ownerDocument,r=Array.from(n.querySelectorAll(t)).filter(t=>t.form===e.form&&h(t)),i=r.find(e=>e.checked);return i?i===e:r[0]===e}function d(e,t){if(!t)return null;if(t===!0)return e.shadowRoot||null;let n=t(e);return(n===!0?e.shadowRoot:n)||null}function f(e,t,n){let r=[...e],i=[...e],a=new Set,o=new Map;e.forEach((e,t)=>o.set(e,t));let s=0;for(;s<i.length;){let e=i[s++];if(!e||a.has(e))continue;a.add(e);let c=d(e,t);if(c){let t=Array.from(c.querySelectorAll(p)).filter(n),a=o.get(e);if(a!==void 0){let e=a+1;r.splice(e,0,...t),t.forEach((t,n)=>{o.set(t,e+n)});for(let n=e+t.length;n<r.length;n++)o.set(r[n],n)}else{let e=r.length;r.push(...t),t.forEach((t,n)=>{o.set(t,e+n)})}i.push(...t)}}return r}var p=`input:not([type='hidden']):not([disabled]), select:not([disabled]), textarea:not([disabled]), a[href], button:not([disabled]), [tabindex], iframe, object, embed, area[href], audio[controls], video[controls], [contenteditable]:not([contenteditable='false']), details > summary:first-of-type`,m=(t,n={})=>{if(!t)return[];let{includeContainer:r=!1,getShadowRoot:a}=n,o=Array.from(t.querySelectorAll(p));(r==1||r==`if-empty`&&o.length===0)&&e(t)&&h(t)&&o.unshift(t);let s=[];for(let e of o)if(h(e)){if(i(e)&&e.contentDocument){let t=e.contentDocument.body;s.push(...m(t,{getShadowRoot:a}));continue}s.push(e)}return a?f(s,a,h):s};function h(t){return!e(t)||t.closest(`[inert]`)?!1:t.matches(p)&&r(t)}function g(e,t={}){if(!e)return[];let{includeContainer:n,getShadowRoot:r}=t,a=Array.from(e.querySelectorAll(p));n&&_(e)&&a.unshift(e);let o=[];for(let e of a)if(_(e)){if(i(e)&&e.contentDocument){let t=e.contentDocument.body;o.push(...g(t,{getShadowRoot:r}));continue}o.push(e)}if(r){let e=f(o,r,_);return!e.length&&n?a:e}return!o.length&&n?a:o}function _(t){return e(t)&&t.tabIndex>0?!0:!h(t)||c(t)?!1:u(t)}function v(e,t={}){let n=g(e,t);return[n[0]||null,n[n.length-1]||null]}function y(e){return e.tabIndex<0&&(a.test(e.localName)||n(e))&&!s(e)?0:e.tabIndex}export{h as a,g as i,y as n,_ as o,v as r,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.