/*! 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.apm_bundle_jsonpfunction=window.apm_bundle_jsonpfunction||[]).push([[25],{1040:function(n,i,o){"use strict";o.r(i),o.d(i,"CreateAPMPolicyForm",(function(){return a}));var t=o(1),u=o.n(t),e=o(480);function a({newPolicy:n,onChange:i}){const[o,...t]=null==n?void 0:n.inputs,a=null==o?void 0:o.vars;return u.a.createElement(e.a,{vars:a,updateAPMPolicy:function(u,e){i({isValid:e,updatedPolicy:{...n,inputs:[{...o,vars:u},...t]}})}})}}}]);