1import{o as e}from"./chunk-drIdtY4w.js";import{t}from"./jquery-C7pwReqP.js";import{n}from"./dom_ready-M05LFBDg.js";var r=e(t()),i=e=>{if(new URLSearchParams(window.location.search).has(`iframe_preview`))return;let t;e=(0,r.default)(e);let n=e.data(`focus`);if(n===`this`?t=e:n===`first-field`?(t=(0,r.default)(`input:visible, textarea:visible`,e[0]).filter(function(){return!(0,r.default)(this).closest(`.js-object-picker-select`).length}).first(),t.parents(`.button-selectors`).length&&(t=null)):n===`none`||(t=(0,r.default)(n)),t&&!t.is(`:focus`))return t[0]?.focus({preventScroll:!0})};n(`focus form field`,()=>(0,r.default)(`[data-focus]`).not(`[data-turbolinks-permanent] [data-focus]`).first().each(function(){return i((0,r.default)(this))}));export{i as t}; 2//# sourceMappingURL=form_focus-CPpwxB8Z.js.map
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.