PageSourceSearch

https://www.officer.com/_nuxt/useFocusTrap-CPSWR5y6.mjs

js officer.com collected 2026-09-24 08:46:30 UTC 671 bytes, 1 lines download raw bytes

1import{Pt as e,jt as t}from"./vue.runtime.esm-bundler-DK-ieOMu.mjs";e();var n=`button, [href], input, select, search, textarea, [tabindex]:not([tabindex="-1"])`,r=()=>{let e=t((e,t)=>{let n=null;return{get(){return e(),n},set(e){n=e,e?s():c(),t()}}}),r=[],i,a;function o(e){e.key===`Tab`&&(e.shiftKey?document.activeElement===i&&(a?.focus(),e.preventDefault()):document.activeElement===a&&(i?.focus(),e.preventDefault()))}function s(){e.value&&(r=e.value.querySelectorAll(n),i=r[0],a=r[r.length-1],document.addEventListener(`keydown`,o),i?.focus())}function c(){document.removeEventListener(`keydown`,o)}return{trapRef:e,initTrapFocus:s,clearTrapFocus:c}};export{r 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.