/*! 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.triggersActionsUi_bundle_jsonpfunction=window.triggersActionsUi_bundle_jsonpfunction||[]).push([[57],{107:function(n,e,i){"use strict";i.r(e),i.d(e,"RuleConditionsGroup",(function(){return u})),i.d(e,"default",(function(){return u}));var o=i(1),t=i.n(o),l=i(3),s=i(2),r=i(0);const u=({actionGroup:n,onResetConditionsFor:e,children:i,...o})=>n?Object(r.jsx)(s.EuiFormRow,{label:Object(r.jsx)(s.EuiTitle,{size:"s"},Object(r.jsx)("strong",null,n.name)),fullWidth:!0,labelAppend:e&&!n.isRequired&&Object(r.jsx)(s.EuiButtonIcon,{iconType:"minusInCircle",color:"danger","aria-label":l.i18n.translate("xpack.triggersActionsUI.sections.ruleForm.conditions.removeConditionLabel",{defaultMessage:"Remove"}),onClick:()=>e(n)})},t.a.isValidElement(i)?t.a.cloneElement(t.a.Children.only(i),{actionGroup:n,...o}):Object(r.jsx)(t.a.Fragment,null)):null}}]);