"use strict";(globalThis.webpackChunk_jbrowse_web=globalThis.webpackChunk_jbrowse_web||[]).push([[1304],{81304:(e,t,s)=>{s.r(t),s.d(t,{DotplotTooltipClick:()=>a,default:()=>b});var o=s(9236),i=s(68446),n=s(90257),l=s(69500);const a=(0,i.observer)(function({model:e,mousedown:t,mousedownClient:s,xdistance:i,ydistance:a}){const{hview:b,vview:r,viewHeight:w}=e,c=(s?.[0]||0)-0,h=(s?.[1]||0)-0;return t&&Math.abs(i)>3&&Math.abs(a)>3?(0,l.jsxs)(o.A,{placement:i<0?"right":"left",clientPoint:{x:c,y:h},children:[`x - ${(0,n.wJ)(t[0],b)}`,(0,l.jsx)("br",{}),`y - ${(0,n.wJ)(w-t[1],r)}`,(0,l.jsx)("br",{})]}):null}),b=a}}]);
//# sourceMappingURL=1304.530b8e75.chunk.js.map