{"version":3,"file":"browser-click-CN8Qe4eL.mjs","names":[],"sources":["../../widgets/src/lib/browser-click.ts"],"sourcesContent":["/**\n * Whether the browser should handle this click on an anchor itself rather than\n * the app intercepting it. Cmd/Ctrl-click and middle-click open a new tab,\n * Shift-click a new window, Alt-click downloads — hijacking any of those into\n * in-app navigation takes away something the user explicitly asked for.\n */\nexport function isBrowserHandledClick(e: React.MouseEvent): boolean {\n  return e.button !== 0 || e.metaKey || e.ctrlKey || e.shiftKey || e.altKey;\n}\n"],"mappings":";;;;;;;AAMA,SAAgB,sBAAsB,GAA8B;AAClE,QAAO,EAAE,WAAW,KAAK,EAAE,WAAW,EAAE,WAAW,EAAE,YAAY,EAAE"}