PageSourceSearch

https://tournify.fly.dev/assets/openLink-CAvzLuOw.js

js tournify.fly.dev collected 2026-10-03 08:28:12 UTC 1,763 bytes, 1 lines download raw bytes

1import{$,a as f,b as v,c as y,d as h}from"./platform-CvS5mKvf.js";import{r as b}from"./jsx-runtime-yvcgGv6i.js";const K=b.createContext({isNative:!0,open:x,useHref:e=>e});function w(){return b.useContext(K)}function i(e,a,t=!0){var d,n;let{metaKey:r,ctrlKey:l,altKey:c,shiftKey:o}=a;$()&&(!((n=window.event)===null||n===void 0||(d=n.type)===null||d===void 0)&&d.startsWith("key"))&&e.target==="_blank"&&(f()?r=!0:l=!0);let u=v()&&f()&&!y()?new KeyboardEvent("keydown",{keyIdentifier:"Enter",metaKey:r,ctrlKey:l,altKey:c,shiftKey:o}):new MouseEvent("click",{metaKey:r,ctrlKey:l,altKey:c,shiftKey:o,bubbles:!0,cancelable:!0});i.isOpening=t,h(e),e.dispatchEvent(u),i.isOpening=!1}i.isOpening=!1;function s(e,a){if(e instanceof HTMLAnchorElement)a(e);else if(e.hasAttribute("data-href")){let t=document.createElement("a");t.href=e.getAttribute("data-href"),e.hasAttribute("data-target")&&(t.target=e.getAttribute("data-target")),e.hasAttribute("data-rel")&&(t.rel=e.getAttribute("data-rel")),e.hasAttribute("data-download")&&(t.download=e.getAttribute("data-download")),e.hasAttribute("data-ping")&&(t.ping=e.getAttribute("data-ping")),e.hasAttribute("data-referrer-policy")&&(t.referrerPolicy=e.getAttribute("data-referrer-policy")),e.appendChild(t),a(t),e.removeChild(t)}}function x(e,a){s(e,t=>i(t,a))}function g(e){return{"data-href":e.href,"data-target":e.target,"data-rel":e.rel,"data-download":e.download,"data-ping":e.ping,"data-referrer-policy":e.referrerPolicy}}function k(e){let a=w();return{href:e!=null&&e.href?a.useHref(e==null?void 0:e.href):void 0,target:e==null?void 0:e.target,rel:e==null?void 0:e.rel,download:e==null?void 0:e.download,ping:e==null?void 0:e.ping,referrerPolicy:e==null?void 0:e.referrerPolicy}}export{i as $,w as a,k as b,g as c};

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.