PageSourceSearch

https://www.clinpgx.org/assets/ExternalLink-4uaxCnCn.js

js clinpgx.org collected 2026-10-02 14:43:07 UTC 1,787 bytes, 2 lines download raw bytes

1(function(){try{var e=typeof window<`u`?window:typeof global<`u`?global:typeof globalThis<`u`?globalThis:typeof self<`u`?self:{};e.SENTRY_RELEASE={id:`b9b32230849b5ab08f94ebc816a87f70f3707cea`};var t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]=`ff758aaa-bfff-4d96-9ea6-3a940b300805`,e._sentryDebugIdIdentifier=`sentry-dbid-ff758aaa-bfff-4d96-9ea6-3a940b300805`)}catch{}})();import{s as e,t}from"./react-hoaiUuAE.js";import{n}from"./lodash-DZ3iI0VK.js";import{t as r}from"./jsx-runtime-C2kWXPDX.js";import{c as i,d as a,f as o,l as s,o as c,p as l,v as u}from"./Link-DjMJJ7Cs.js";t();var d=e(r());function f({href:e,newTab:t=!0,showNewTabIcon:r=!1,rel:f,role:p,download:m,onClick:h,onKeyDown:g,onMouseDown:_,title:v,className:y,style:b,iconOnly:x,tabIndex:S=0,children:C,...w}){if(!e)return n.error(`ExternalLink requires an href`),(0,d.jsx)(`span`,{className:`text-danger`,children:`error - check console`});if(s(e))return n.error(`ExternalLink requires an external href`),(0,d.jsx)(`span`,{className:`text-danger`,children:`error - check console`});let T=t&&r?(0,d.jsx)(a,{size:`2xs`,className:`link__extIcon`}):null,E=!!x;if(c(C)){if(T)E=!0;else return n.error(`ExternalLink requires children or new tab icon`),(0,d.jsx)(`span`,{className:`text-danger`,children:`error - check console`})}let D={className:u(`link`,{"link--iconOnly":E},y),style:b,role:p,download:m,title:v,tabIndex:S,...l(w),...o(w)};return h&&(D.onClick=h),g&&(D.onKeyDown=g),_&&(D.onMouseDown=_),i(e,f,t,D),D[`aria-hidden`]?D.tabIndex=-1:v&&!D[`aria-label`]&&(D[`aria-label`]=v),(0,d.jsxs)(`a`,{href:e,...D,children:[C,T,t&&(0,d.jsx)(`span`,{className:`screen-reader-text`,children:`(opens in new window)`})]})}export{f as t};
2//# sourceMappingURL=ExternalLink-4uaxCnCn.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.