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.51 kB
JavaScript
import{e as Y,s as I,W as Z,T as z,V as N}from"./defaultTheme-BMwjsIOh.js";import{g as ee}from"./_commonjsHelpers-D6-XlEtG.js";import{C as te,a as ne}from"./ConfigCustomBackItUpSet__mf_v__runtimeInit__mf_v__-kW6JvUJ8.js";import{s as oe}from"./emotion-serialize.esm-Q4o_CgeF.js";import"./ConfigCustomBackItUpSet__loadShare___mf_0_emotion_mf_1_react__loadShare__-BkqgHVEH.js";import{C as M}from"./ConfigCustomBackItUpSet__loadShare__react__loadShare__-4sGW5l7i.js";import{j as se}from"./jsx-runtime-D2IYR6ST.js";const{loadShare:re}=ne,{initPromise:ie}=te,ae=ie.then(e=>re("@emotion/styled",{customShareInfo:{shareConfig:{singleton:!0,strictVersion:!1,requiredVersion:"*"}}})),ce=await ae.then(e=>e());var ue=ce;const le=ee(ue);/**
* @mui/styled-engine v6.5.0
*
* @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 fe(e,o){return le(e,o)}function me(e,o){Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=o(e.__emotion_styles))}const $=[];function v(e){return $[0]=e,oe($)}const D=e=>e,de=()=>{let e=D;return{configure(o){e=o},generate(o){return e(o)},reset(){e=D}}},he=de();function U(e){var o,t,n="";if(typeof e=="string"||typeof e=="number")n+=e;else if(typeof e=="object")if(Array.isArray(e)){var s=e.length;for(o=0;o<s;o++)e[o]&&(t=U(e[o]))&&(n&&(n+=" "),n+=t)}else for(t in e)e[t]&&(n&&(n+=" "),n+=t);return n}function De(){for(var e,o,t=0,n="",s=arguments.length;t<s;t++)(e=arguments[t])&&(o=U(e))&&(n&&(n+=" "),n+=o);return n}const ye={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 pe(e,o,t="Mui"){const n=ye[o];return n?`${t}-${n}`:`${he.generate(e)}-${o}`}function Ee(e,o,t="Mui"){const n={};return o.forEach(s=>{n[s]=pe(e,s,t)}),n}function B(e){const{variants:o,...t}=e,n={variants:o,style:v(t),isProcessed:!0};return n.style===t||o&&o.forEach(s=>{typeof s.style!="function"&&(s.style=v(s.style))}),n}const _e=Y();function O(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}function S(e,o){return o&&e&&typeof e=="object"&&e.styles&&!e.styles.startsWith("@layer")&&(e.styles=`@layer ${o}{${String(e.styles)}}`),e}function Se(e){return e?(o,t)=>t[e]:null}function ve(e,o,t){e.theme=ge(e.theme)?t:e.theme[o]||e.theme}function x(e,o,t){const n=typeof o=="function"?o(e):o;if(Array.isArray(n))return n.flatMap(s=>x(e,s,t));if(Array.isArray(n==null?void 0:n.variants)){let s;if(n.isProcessed)s=t?S(n.style,t):n.style;else{const{variants:i,...a}=n;s=t?S(v(a),t):a}return q(e,n.variants,[s],t)}return n!=null&&n.isProcessed?t?S(v(n.style),t):n.style:t?S(v(n),t):n}function q(e,o,t=[],n=void 0){var i;let s;e:for(let a=0;a<o.length;a+=1){const r=o[a];if(typeof r.props=="function"){if(s??={...e,...e.ownerState,ownerState:e.ownerState},!r.props(s))continue}else for(const c in r.props)if(e[c]!==r.props[c]&&((i=e.ownerState)==null?void 0:i[c])!==r.props[c])continue e;typeof r.style=="function"?(s??={...e,...e.ownerState,ownerState:e.ownerState},t.push(n?S(v(r.style(s)),n):r.style(s))):t.push(n?S(v(r.style),n):r.style)}return t}function Ce(e={}){const{themeId:o,defaultTheme:t=_e,rootShouldForwardProp:n=O,slotShouldForwardProp:s=O}=e;function i(r){ve(r,o,t)}return(r,c={})=>{me(r,u=>u.filter(l=>l!==I));const{name:f,slot:y,skipVariantsResolver:k,skipSx:H,overridesResolver:F=Se(xe(y)),...W}=c,b=f&&f.startsWith("Mui")||y?"components":"custom",K=k!==void 0?k:y&&y!=="Root"&&y!=="root"||!1,J=H||!1;let g=O;y==="Root"||y==="root"?g=n:y?g=s:Pe(r)&&(g=void 0);const T=fe(r,{shouldForwardProp:g,label:we(),...W}),Q=u=>{if(u.__emotion_real===u)return u;if(typeof u=="function")return function(p){return x(p,u,p.theme.modularCssLayers?b:void 0)};if(Z(u)){const l=B(u);return function(h){return l.variants?x(h,l,h.theme.modularCssLayers?b:void 0):h.theme.modularCssLayers?S(l.style,b):l.style}}return u},j=(...u)=>{const l=[],p=u.map(Q),h=[];if(l.push(i),f&&F&&h.push(function(m){var w,R;const d=(R=(w=m.theme.components)==null?void 0:w[f])==null?void 0:R.styleOverrides;if(!d)return null;const C={};for(const L in d)C[L]=x(m,d[L],m.theme.modularCssLayers?"theme":void 0);return F(m,C)}),f&&!K&&h.push(function(m){var C,w;const _=m.theme,d=(w=(C=_==null?void 0:_.components)==null?void 0:C[f])==null?void 0:w.variants;return d?q(m,d,[],m.theme.modularCssLayers?"theme":void 0):null}),J||h.push(I),Array.isArray(p[0])){const P=p.shift(),m=new Array(l.length).fill(""),_=new Array(h.length).fill("");let d;d=[...m,...P,..._],d.raw=[...m,...P.raw,..._],l.unshift(d)}const X=[...l,...p,...h],V=T(...X);return r.muiName&&(V.muiName=r.muiName),V};return T.withConfig&&(j.withConfig=T.withConfig),j}}function we(e,o){return void 0}function ge(e){for(const o in e)return!1;return!0}function Pe(e){return typeof e=="string"&&e.charCodeAt(0)>96}function xe(e){return e&&e.charAt(0).toLowerCase()+e.slice(1)}function A(e,o){const t={...o};for(const n in e)if(Object.prototype.hasOwnProperty.call(e,n)){const s=n;if(s==="components"||s==="slots")t[s]={...e[s],...t[s]};else if(s==="componentsProps"||s==="slotProps"){const i=e[s],a=o[s];if(!a)t[s]=i||{};else if(!i)t[s]=a;else{t[s]={...a};for(const r in i)if(Object.prototype.hasOwnProperty.call(i,r)){const c=r;t[s][c]=A(i[c],a[c])}}}else t[s]===void 0&&(t[s]=e[s])}return t}function Me(e,o,t=void 0){const n={};for(const s in e){const i=e[s];let a="",r=!0;for(let c=0;c<i.length;c+=1){const f=i[c];f&&(a+=(r===!0?"":" ")+o(f),r=!1,t&&t[f]&&(a+=" "+t[f]))}n[s]=a}return n}const G=M.createContext(void 0);function Ue({value:e,children:o}){return se.jsx(G.Provider,{value:e,children:o})}function be(e){const{theme:o,name:t,props:n}=e;if(!o||!o.components||!o.components[t])return n;const s=o.components[t];return s.defaultProps?A(s.defaultProps,n):!s.styleOverrides&&!s.variants?A(s,n):n}function Te({props:e,name:o}){const t=M.useContext(G);return be({props:e,name:o,theme:{components:t}})}const E={theme:void 0};function Oe(e){let o,t;return function(s){let i=o;return(i===void 0||s.theme!==t)&&(E.theme=s.theme,i=B(e(E)),o=i,t=s.theme),i}}function Ae(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const ke=e=>Ae(e)&&e!=="classes",Be=Ce({themeId:z,defaultTheme:N,rootShouldForwardProp:ke}),qe=Oe;function Ge(e){return Te(e)}export{he as C,Ue as D,Ce as a,Me as b,De as c,Ee as d,Be as e,Ae as f,pe as g,A as h,v as i,qe as m,ke as r,fe as s,Ge as u};