"use strict";
Object.defineProperty(exports, "__esModule", {
    value: true
});
Object.defineProperty(exports, "ToolButtonsGroup", {
    enumerable: true,
    get: function() {
        return ToolButtonsGroup;
    }
});
const _jsxruntime = require("react/jsx-runtime");
const _copybutton = require("../copy-button");
const _nodejsinspector = require("../nodejs-inspector");
function ToolButtonsGroup(param) {
    let { error, debugInfo } = param;
    return /*#__PURE__*/ (0, _jsxruntime.jsxs)("span", {
        children: [
            /*#__PURE__*/ (0, _jsxruntime.jsx)(_copybutton.CopyButton, {
                "data-nextjs-data-runtime-error-copy-stack": true,
                actionLabel: "Copy error stack",
                successLabel: "Copied",
                content: (error == null ? void 0 : error.stack) || '',
                disabled: !(error == null ? void 0 : error.stack)
            }),
            /*#__PURE__*/ (0, _jsxruntime.jsx)(_nodejsinspector.NodejsInspectorCopyButton, {
                devtoolsFrontendUrl: debugInfo == null ? void 0 : debugInfo.devtoolsFrontendUrl
            })
        ]
    });
}

if ((typeof exports.default === 'function' || (typeof exports.default === 'object' && exports.default !== null)) && typeof exports.default.__esModule === 'undefined') {
  Object.defineProperty(exports.default, '__esModule', { value: true });
  Object.assign(exports.default, exports);
  module.exports = exports.default;
}

//# sourceMappingURL=ToolButtonsGroup.js.map