UNPKG

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.

8 lines (7 loc) 6 kB
import{e as W,s as j,W as J,T as Q,V as X}from"./defaultTheme-H5XlZ8nr.js";import{g as Y}from"./_commonjsHelpers-D6-XlEtG.js";import{C as Z,i as ee}from"./ConfigCustomBackItUpSet__mf_v__runtimeInit__mf_v__-Cy0TQlfU.js";import{s as te}from"./emotion-serialize.esm-BUa21YfQ.js";import"./ConfigCustomBackItUpSet__loadShare___mf_0_emotion_mf_1_react__loadShare__-DC57Se_W.js";import{C as E}from"./ConfigCustomBackItUpSet__loadShare__react__loadShare__-DXm2I1me.js";import{j as ne}from"./jsx-runtime-Dd3kWLJS.js";const{loadShare:re}=ee,{initPromise:oe}=Z,se=oe.then(e=>re("@emotion/styled",{customShareInfo:{shareConfig:{singleton:!0,strictVersion:!1,requiredVersion:"*"}}})),ie=await se.then(e=>e());var ae=ie;const le=Y(ae);/** * @mui/styled-engine v6.4.9 * * @license MIT * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */function ce(e,n){return le(e,n)}function ue(e,n){Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=n(e.__emotion_styles))}const N=[];function R(e){return N[0]=e,te(N)}const I=e=>e,fe=()=>{let e=I;return{configure(n){e=n},generate(n){return e(n)},reset(){e=I}}},me=fe();function M(e){var n,t,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var o=e.length;for(n=0;n<o;n++)e[n]&&(t=M(e[n]))&&(r&&(r+=" "),r+=t)}else for(t in e)e[t]&&(r&&(r+=" "),r+=t);return r}function Ie(){for(var e,n,t=0,r="",o=arguments.length;t<o;t++)(e=arguments[t])&&(n=M(e))&&(r&&(r+=" "),r+=n);return r}const de={active:"active",checked:"checked",completed:"completed",disabled:"disabled",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",open:"open",readOnly:"readOnly",required:"required",selected:"selected"};function he(e,n,t="Mui"){const r=de[n];return r?`${t}-${r}`:`${me.generate(e)}-${n}`}function De(e,n,t="Mui"){const r={};return n.forEach(o=>{r[o]=he(e,o,t)}),r}function $(e){const{variants:n,...t}=e,r={variants:n,style:R(t),isProcessed:!0};return r.style===t||n&&n.forEach(o=>{typeof o.style!="function"&&(o.style=R(o.style))}),r}const ye=W();function x(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}function pe(e){return e?(n,t)=>t[e]:null}function _e(e,n,t){e.theme=we(e.theme)?t:e.theme[n]||e.theme}function C(e,n){const t=typeof n=="function"?n(e):n;if(Array.isArray(t))return t.flatMap(r=>C(e,r));if(Array.isArray(t==null?void 0:t.variants)){let r;if(t.isProcessed)r=t.style;else{const{variants:o,...s}=t;r=s}return U(e,t.variants,[r])}return t!=null&&t.isProcessed?t.style:t}function U(e,n,t=[]){var o;let r;e:for(let s=0;s<n.length;s+=1){const i=n[s];if(typeof i.props=="function"){if(r??={...e,...e.ownerState,ownerState:e.ownerState},!i.props(r))continue}else for(const a in i.props)if(e[a]!==i.props[a]&&((o=e.ownerState)==null?void 0:o[a])!==i.props[a])continue e;typeof i.style=="function"?(r??={...e,...e.ownerState,ownerState:e.ownerState},t.push(i.style(r))):t.push(i.style)}return t}function Se(e={}){const{themeId:n,defaultTheme:t=ye,rootShouldForwardProp:r=x,slotShouldForwardProp:o=x}=e;function s(a){_e(a,n,t)}return(a,f={})=>{ue(a,l=>l.filter(c=>c!==j));const{name:m,slot:h,skipVariantsResolver:T,skipSx:B,overridesResolver:O=pe(Ce(h)),...q}=f,G=T!==void 0?T:h&&h!=="Root"&&h!=="root"||!1,H=B||!1;let w=x;h==="Root"||h==="root"?w=r:h?w=o:ge(a)&&(w=void 0);const P=ce(a,{shouldForwardProp:w,label:ve(),...q}),L=l=>{if(typeof l=="function"&&l.__emotion_real!==l)return function(_){return C(_,l)};if(J(l)){const c=$(l);return c.variants?function(y){return C(y,c)}:c.style}return l},A=(...l)=>{const c=[],_=l.map(L),y=[];if(c.push(s),m&&O&&y.push(function(d){var v,F;const u=(F=(v=d.theme.components)==null?void 0:v[m])==null?void 0:F.styleOverrides;if(!u)return null;const S={};for(const V in u)S[V]=C(d,u[V]);return O(d,S)}),m&&!G&&y.push(function(d){var S,v;const p=d.theme,u=(v=(S=p==null?void 0:p.components)==null?void 0:S[m])==null?void 0:v.variants;return u?U(d,u):null}),H||y.push(j),Array.isArray(_[0])){const g=_.shift(),d=new Array(c.length).fill(""),p=new Array(y.length).fill("");let u;u=[...d,...g,...p],u.raw=[...d,...g.raw,...p],c.unshift(u)}const K=[...c,..._,...y],k=P(...K);return a.muiName&&(k.muiName=a.muiName),k};return P.withConfig&&(A.withConfig=P.withConfig),A}}function ve(e,n){return void 0}function we(e){for(const n in e)return!1;return!0}function ge(e){return typeof e=="string"&&e.charCodeAt(0)>96}function Ce(e){return e&&e.charAt(0).toLowerCase()+e.slice(1)}function b(e,n){const t={...n};for(const r in e)if(Object.prototype.hasOwnProperty.call(e,r)){const o=r;if(o==="components"||o==="slots")t[o]={...e[o],...t[o]};else if(o==="componentsProps"||o==="slotProps"){const s=e[o],i=n[o];if(!i)t[o]=s||{};else if(!s)t[o]=i;else{t[o]={...i};for(const a in s)if(Object.prototype.hasOwnProperty.call(s,a)){const f=a;t[o][f]=b(s[f],i[f])}}}else t[o]===void 0&&(t[o]=e[o])}return t}function Ee(e,n,t=void 0){const r={};for(const o in e){const s=e[o];let i="",a=!0;for(let f=0;f<s.length;f+=1){const m=s[f];m&&(i+=(a===!0?"":" ")+n(m),a=!1,t&&t[m]&&(i+=" "+t[m]))}r[o]=i}return r}const z=E.createContext(void 0);function Me({value:e,children:n}){return ne.jsx(z.Provider,{value:e,children:n})}function Pe(e){const{theme:n,name:t,props:r}=e;if(!n||!n.components||!n.components[t])return r;const o=n.components[t];return o.defaultProps?b(o.defaultProps,r):!o.styleOverrides&&!o.variants?b(o,r):r}function xe({props:e,name:n}){const t=E.useContext(z);return Pe({props:e,name:n,theme:{components:t}})}const D={theme:void 0};function be(e){let n,t;return function(o){let s=n;return(s===void 0||o.theme!==t)&&(D.theme=o.theme,s=$(e(D)),n=s,t=o.theme),s}}function Te(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const Oe=e=>Te(e)&&e!=="classes",$e=Se({themeId:Q,defaultTheme:X,rootShouldForwardProp:Oe}),Ue=be;function ze(e){return xe(e)}export{me as C,Me as D,Se as a,Ee as b,Ie as c,De as d,$e as e,Te as f,he as g,b as h,Ue as m,Oe as r,ce as s,ze as u};