"use strict";var e=require("react/jsx-runtime"),i=require("@material-ui/core");function t(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var a=t(require("classnames")),r=i.makeStyles({wrapper:{position:"relative",width:"100%",height:"100%",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"flex-start",padding:"16px",zIndex:function(e){return e.showArrow?1:"auto"},"@media (max-height:350px)":{paddingTop:"56px"},"@media (max-width:500px)":{paddingTop:"128px"}},errorImage:{width:"390px",height:"300px",marginTop:"24px","@media (max-height:400px)":{width:"260px",height:"200px"},"@media (max-height:350px), (max-width: 580px) and (max-height:550px)":{display:"none"},"@media (max-width:500px)":{width:"260px",height:"200px"}},title:{fontSize:"32px",fontStyle:"italic",color:"#9E9E9E",lineHeight:"37px",fontWeight:"normal","@media (max-height:400px)":{fontSize:"24px"},"@media (max-width:500px)":{fontSize:"24px"}},description:{fontSize:"16px",color:"#9E9E9E"},arrow:{position:"absolute",top:0,right:0,zIndex:-1,"@media (max-width: 960px)":{display:"none"}}});module.exports=function(t){var o=t.title,d=void 0===o?"No Data Available":o,p=t.description,s=void 0===p?"":p,n=t.showArrow,x=void 0!==n&&n,l=t.customStyles,m=void 0===l?{}:l,h=r({showArrow:x});return e.jsxs("div",{"data-testid":"".concat("EmptyView","_wrapper"),className:a.default(h.wrapper,m.wrapper),children:[e.jsx(i.Typography,{className:a.default(h.title,m.title),children:d}),e.jsx(i.Typography,{className:a.default(h.description,m.description),children:s}),e.jsx("img",{src:"/static/media/5010eaf4520add4dcd713ce1fdbda5ea.png",className:h.errorImage,alt:"error state"}),x&&e.jsx("img",{src:"/static/media/1be6a0ee1d46b5f5c15203014864e086.svg",alt:"arrow",className:a.default(h.arrow,m.arrow)})]})};
