"use strict";var e=require("@babel/runtime/helpers/defineProperty"),t=require("@babel/runtime/helpers/objectWithoutProperties"),r=require("classnames"),i=require("@material-ui/core"),o=require("@material-ui/icons"),n=require("../../../componentsV2/Switch/Switch.js"),a=require("react/jsx-runtime");function s(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var c=s(e),l=s(t),u=s(r),p=["isChecked","title","className"];function f(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,i)}return r}var m=i.makeStyles((function(e){var t=e.palette;return{root:{marginBottom:(0,e.spacing)(.75),width:"fit-content"},title:{display:"flex",alignItems:"center"},infoIcon:{marginLeft:4,color:t.primary.text6,"&:hover":{color:t.primary.contrastText}}}})),b=function(e){var t=e.isChecked,r=e.title,s=e.className,b=l.default(e,p),d=m();return a.jsx(n.Switch,function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?f(Object(r),!0).forEach((function(t){c.default(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):f(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({className:u.default(d.root,s),size:"small",onLabel:a.jsxs("span",{className:d.title,children:[r,a.jsx(i.Tooltip,{title:"A separate app will be placed on the dashboard for each asset chosen",placement:"bottom-start",children:a.jsx(o.InfoOutlined,{fontSize:"small",className:d.infoIcon})})]}),checked:t},b))};b.defaultProps={title:"Multiple Assets"},module.exports=b;
//# sourceMappingURL=MultipleAssetsToggle.js.map
