1import{o as w}from"./DSUjMbWR.js";import{c as f,w as m,h as g}from"./3WMZcwSo.js";import{af as s,s as b,b as p}from"./DQ9ahLxX.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new t.Error().stack;o&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[o]="a7a91880-b867-4aca-bc7f-4bb374892110",t._sentryDebugIdIdentifier="sentry-dbid-a7a91880-b867-4aca-bc7f-4bb374892110")}catch{}})();function y(){return/iPhone/gi.test(window.navigator.platform)||/Mac/gi.test(window.navigator.platform)&&window.navigator.maxTouchPoints>0}function h(){return/Android/gi.test(window.navigator.userAgent)}function E(){return y()||h()}function c(t,o,r){f.isServer||s(i=>{document.addEventListener(t,o,r),i(()=>document.removeEventListener(t,o,r))})}function L(t,o,r){f.isServer||s(i=>{window.addEventListener(t,o,r),i(()=>window.removeEventListener(t,o,r))})}function D(t,o,r=b(()=>!0)){function i(e,u){if(!r.value||e.defaultPrevented)return;let n=u(e);if(n===null||!n.getRootNode().contains(n))return;let v=(function l(a){return typeof a=="function"?l(a()):Array.isArray(a)||a instanceof Set?a:[a]})(t);for(let l of v){if(l===null)continue;let a=l instanceof HTMLElement?l:w(l);if(a!=null&&a.contains(n)||e.composed&&e.composedPath().includes(a))return}return!m(n,g.Loose)&&n.tabIndex!==-1&&e.preventDefault(),o(e,n)}let d=p(null);c("pointerdown",e=>{var u,n;r.value&&(d.value=((n=(u=e.composedPath)==null?void 0:u.call(e))==null?void 0:n[0])||e.target)},!0),c("mousedown",e=>{var u,n;r.value&&(d.value=((n=(u=e.composedPath)==null?void 0:u.call(e))==null?void 0:n[0])||e.target)},!0),c("click",e=>{E()||d.value&&(i(e,()=>d.value),d.value=null)},!0),c("touchend",e=>i(e,()=>e.target instanceof HTMLElement?e.target:null),!0),L("blur",e=>i(e,()=>window.document.activeElement instanceof HTMLIFrameElement?window.document.activeElement:null),!0)}export{L as a,E as n,y as t,D as w};
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.