1"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[3103],{3103:function(e,t,s){var n=s(1132);t.default=class extends n.xI{static values={open:Boolean};connect(){this.openValue&&(this.storePreviousFocus(),this.trapFocus()),this.escapeHandler=e=>{"Escape"===e.key&&this.openValue&&this.close()},document.addEventListener("keydown",this.escapeHandler)}disconnect(){document.removeEventListener("keydown",this.escapeHandler)}storePreviousFocus(){this.previousFocus=document.activeElement}trapFocus(){const e=this.element,t=e.querySelectorAll('button:not([disabled]), [href], input:not([disabled]), select:not([disabled]), textarea:not([disabled]), [tabindex]:not([tabindex="-1"])'),s=t[0],n=t[t.length-1];s&&s.focus(),this.focusHandler=e=>{"Tab"===e.key&&(e.shiftKey?document.activeElement===s&&(n.focus(),e.preventDefault()):document.activeElement===n&&(s.focus(),e.preventDefault()))},e.addEventListener("keydown",this.focusHandler)}close(e){if(e){e.preventDefault();const t=e.currentTarget.dataset.returnUrl;t&&(window.location.href=t)}this.previousFocus&&this.previousFocus.focus&&this.previousFocus.focus()}}}}]);
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.