"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("prop-types"),r=require("@material-ui/core"),s=require("@material-ui/icons/Fullscreen"),i=require("@material-ui/icons/Close"),a=require("@material-ui/icons/Info"),n=require("../styles.css.js"),l=require("react/jsx-runtime");function c(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var o=c(s),t=c(i),d=c(a),p=r.makeStyles({appActionIcon:{cursor:"pointer"},fullscreenIcon:{cursor:"pointer",color:"#fff",fontSize:24},infoIcon:{color:"#90caf9",fontSize:20},avatar:{background:"#ffffff19",marginTop:"-8px"}}),u=function(e){var s=e.setMaximized,i=p();return l.jsxs("div",{className:n.embeddedAppFullscreen,onClick:function(){return s(!0)},children:[l.jsxs("div",{className:n.embeddedAppFullscreenTitle,children:[l.jsx(d.default,{className:i.infoIcon}),l.jsx(r.Typography,{variant:"body2",children:l.jsx("span",{className:n.embeddedAppFullscreenText,children:"Some app interactions disabled"})})]}),l.jsx(r.Tooltip,{title:"Fullscreen",children:l.jsx(r.Avatar,{className:i.avatar,children:l.jsx(o.default,{className:i.fullscreenIcon,color:"action"})})})]})};u.propTypes={setMaximized:e.func.isRequired};var f=function(e){var s=e.setMaximized,i=p();return l.jsxs(l.Fragment,{children:[l.jsx("div",{className:n.embeddedAppFullscreenAppClose,children:l.jsx(t.default,{className:i.appActionIcon,onClick:function(){return s(!1)}})}),l.jsx("div",{className:n.embeddedAppFullscreenAppInfo,children:l.jsxs("div",{className:n.embeddedAppFullscreenTitle,children:[l.jsx(d.default,{className:i.infoIcon}),l.jsx(r.Typography,{variant:"body2",children:l.jsx("span",{className:n.embeddedAppFullscreenText,children:"Some app interactions disabled"})})]})})]})};f.propTypes={setMaximized:e.func.isRequired},exports.AppInfo=u,exports.AppInfoMaximized=f;
