iobroker.backitup
Version:
ioBroker.backitup allows you to backup and restore your ioBroker installation and other systems, such as databases, Zigbee, scripts and many more.
2 lines (1 loc) • 2.92 kB
JavaScript
import{C as y}from"./ConfigCustomBackItUpSet__loadShare__react__loadShare__-4sGW5l7i.js";import{j as h}from"./jsx-runtime-D2IYR6ST.js";import{d as C,g as I,u as R,e as w,c as _,b,m as j}from"./DefaultPropsProvider-CCPMtYc6.js";import{d as z}from"./defaultTheme-BMwjsIOh.js";function M(o){return I("MuiSvgIcon",o)}const k=C("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]),N=o=>{const{color:t,fontSize:e,classes:i}=o,r={root:["root",t!=="inherit"&&`color${z(t)}`,`fontSize${z(e)}`]};return b(r,M,i)},U=w("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(o,t)=>{const{ownerState:e}=o;return[t.root,e.color!=="inherit"&&t[`color${z(e.color)}`],t[`fontSize${z(e.fontSize)}`]]}})(j(({theme:o})=>{var t,e,i,r,l,d,n,u,c,S,a,f,g,p;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",flexShrink:0,transition:(r=(t=o.transitions)==null?void 0:t.create)==null?void 0:r.call(t,"fill",{duration:(i=(e=(o.vars??o).transitions)==null?void 0:e.duration)==null?void 0:i.shorter}),variants:[{props:s=>!s.hasSvgAsChild,style:{fill:"currentColor"}},{props:{fontSize:"inherit"},style:{fontSize:"inherit"}},{props:{fontSize:"small"},style:{fontSize:((d=(l=o.typography)==null?void 0:l.pxToRem)==null?void 0:d.call(l,20))||"1.25rem"}},{props:{fontSize:"medium"},style:{fontSize:((u=(n=o.typography)==null?void 0:n.pxToRem)==null?void 0:u.call(n,24))||"1.5rem"}},{props:{fontSize:"large"},style:{fontSize:((S=(c=o.typography)==null?void 0:c.pxToRem)==null?void 0:S.call(c,35))||"2.1875rem"}},...Object.entries((o.vars??o).palette).filter(([,s])=>s&&s.main).map(([s])=>{var m,v;return{props:{color:s},style:{color:(v=(m=(o.vars??o).palette)==null?void 0:m[s])==null?void 0:v.main}}}),{props:{color:"action"},style:{color:(f=(a=(o.vars??o).palette)==null?void 0:a.action)==null?void 0:f.active}},{props:{color:"disabled"},style:{color:(p=(g=(o.vars??o).palette)==null?void 0:g.action)==null?void 0:p.disabled}},{props:{color:"inherit"},style:{color:void 0}}]}})),x=y.forwardRef(function(t,e){const i=R({props:t,name:"MuiSvgIcon"}),{children:r,className:l,color:d="inherit",component:n="svg",fontSize:u="medium",htmlColor:c,inheritViewBox:S=!1,titleAccess:a,viewBox:f="0 0 24 24",...g}=i,p=y.isValidElement(r)&&r.type==="svg",s={...i,color:d,component:n,fontSize:u,instanceFontSize:t.fontSize,inheritViewBox:S,viewBox:f,hasSvgAsChild:p},m={};S||(m.viewBox=f);const v=N(s);return h.jsxs(U,{as:n,className:_(v.root,l),focusable:"false",color:c,"aria-hidden":a?void 0:!0,role:a?"img":void 0,ref:e,...m,...g,...p&&r.props,ownerState:s,children:[p?r.props.children:r,a?h.jsx("title",{children:a}):null]})});x.muiName="SvgIcon";function E(o,t){function e(i,r){return h.jsx(x,{"data-testid":`${t}Icon`,ref:r,...i,children:o})}return e.muiName=x.muiName,y.memo(y.forwardRef(e))}export{x as S,E as c,M as g,k as s};