/*! 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.cases_bundle_jsonpfunction=window.cases_bundle_jsonpfunction||[]).push([[26],{250:function(n,e,t){"use strict";t.r(e),t.d(e,"FileDownloadButton",(function(){return r}));var o=t(3),a=t.n(o),i=t(15),c=t(81),s=t(35),l=t(33),u=t(29);const d=({fileId:n,isIcon:e})=>{const{owner:t}=Object(l.a)(),{client:o}=Object(c.b)(),d={iconType:"download","aria-label":u.j,href:o.getDownloadHref({fileKind:Object(s.a)(t[0]),id:n}),"data-test-subj":"cases-files-download-button"};return e?a.a.createElement(i.EuiButtonIcon,d):a.a.createElement(i.EuiButtonEmpty,d,u.j)};d.displayName="FileDownloadButton";const r=a.a.memo(d)}}]);