"use strict";
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
const jsxRuntime = require("react/jsx-runtime");
const onClick = (e) => {
  window.open(e.currentTarget.href, "_blank");
};
const style = {
  cursor: "pointer"
};
const AnchorRenderer = (props) => /* @__PURE__ */ jsxRuntime.jsx(
  "a",
  {
    ...props.attributes,
    href: props.element.href,
    title: props.element.href,
    target: "_blank",
    rel: "noopener noreferrer",
    onClickCapture: onClick,
    style,
    children: props.children
  }
);
AnchorRenderer.displayName = "AnchorRenderer";
exports.AnchorRenderer = AnchorRenderer;
//# sourceMappingURL=AnchorRenderer.cjs.map
