"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports["default"]=void 0;var a=f(require("react")),b=f(require("prop-types")),c=f(require("./ExtensionDisplay")),d=f(require("classnames")),e=require("../utils/common.js");function f(a){return a&&a.__esModule?a:{default:a}}var g=function(b){var d=!!(1<arguments.length&&arguments[1]!==void 0)&&arguments[1];return(0,e.objectToArray)(b).map(function(b){return d&&!b.value&&(b.value="false"),a["default"].createElement(c["default"],{key:b.key,extensionName:b.key,extensionBody:b.value})})},h=function(b){var c=b.label,e=b.className,f=b.extensions;return c&&""!==c?a["default"].createElement("div",{className:(0,d["default"])("operationInformation extensions",e),"data-testid":"extensions-split"},c&&a["default"].createElement("div",{className:"labelText"},c),a["default"].createElement("div",{className:"valueText"},g(f,!0))):a["default"].createElement("div",{className:"valueText"},g(f))};h.propTypes={label:b["default"].string,className:b["default"].string,extensions:b["default"].object};var i=h;exports["default"]=i;