PageSourceSearch

https://steampass.gg/_nuxt/CHftlrU3.js

js steampass.gg collected 2026-10-08 15:03:39 UTC 1,208 bytes, 1 lines download raw bytes

1import{l as p}from"./Je2jV6Xm.js";import{r as N,c as D}from"./BgyyoJFU.js";const F=["INPUT","TEXTAREA"];function T(r,t,o,i={}){if(!t||i.enableIgnoredElement&&F.includes(t.nodeName))return null;const{arrowKeyOptions:l="both",attributeName:e="[data-reka-collection-item]",itemsArray:c=[],loop:n=!0,dir:s="ltr",preventScroll:x=!0,focus:k=!1}=i,[g,w,v,h,A,b]=[r.key==="ArrowRight",r.key==="ArrowLeft",r.key==="ArrowUp",r.key==="ArrowDown",r.key==="Home",r.key==="End"],u=v||h,f=g||w;if(!A&&!b&&(!u&&!f||l==="vertical"&&f||l==="horizontal"&&u))return null;const d=o?Array.from(o.querySelectorAll(e)):c;if(!d.length)return null;x&&r.preventDefault();let a=null;return f||u?a=y(d,t,{goForward:u?h:s==="ltr"?g:w,loop:n}):A?a=d.at(0)||null:b&&(a=d.at(-1)||null),k&&a?.focus(),a}function y(r,t,o,i=r.includes(t)?r.length:r.length+1){if(--i===0)return null;const l=r.indexOf(t);let e;if(l===-1?e=o.goForward?0:r.length-1:e=o.goForward?l+1:l-1,!o.loop&&(e<0||e>=r.length))return null;const c=(e+r.length)%r.length,n=r[c];return n?n.hasAttribute("disabled")&&n.getAttribute("disabled")!=="false"?y(r,n,o,i):n:null}function j(r){const t=p({dir:N("ltr")});return D(()=>r?.value||t.dir?.value||"ltr")}export{T as a,j 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.