/*! Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one or more contributor license agreements. * Licensed under the Elastic License 2.0; you may not use this file except in compliance with the Elastic License 2.0. */ (window.stackConnectors_bundle_jsonpfunction=window.stackConnectors_bundle_jsonpfunction||[]).push([[66],{110:function(n,o,e){"use strict";e.r(o),e.d(o,"default",(function(){return i}));var a=e(2),r=(e(1),e(12)),t=e(9);const i=({actionParams:n,editAction:o,index:e,messageVariables:i,errors:s})=>{var d;const{body:l}=n;return Object(t.jsx)(a.JsonEditorWithMessageVariables,{messageVariables:i,paramsProperty:"body",inputTargetValue:l,label:r.BODY_FIELD_LABEL,"aria-label":r.BODY_FIELD_ARIA_LABEL,errors:s.body,onDocumentsChange:n=>{o("body",n,e)},onBlur:()=>{l||o("body","",e)},euiCodeEditorProps:{options:{renderValidationDecorations:l&&null!=s&&null!==(d=s.body)&&void 0!==d&&d.length?"on":"off",lineNumbers:"on",fontSize:14,minimap:{enabled:!1},scrollBeyondLastLine:!1,folding:!0,wordWrap:"on",wrappingIndent:"indent",automaticLayout:!0}}})}}}]);