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) • 6.07 kB
JavaScript
import{e as X,s as $,W as Y,T as Z,V as z}from"./defaultTheme-007y2GZo.js";import{e as N}from"./ConfigCustomBackItUpSet__loadShare___mf_0_emotion_mf_1_styled__loadShare__.js-DBgOMSmJ.js";import{s as ee}from"./emotion-serialize.esm-Q4o_CgeF.js";import"./ConfigCustomBackItUpSet__loadShare___mf_0_emotion_mf_1_react__loadShare__.js-DG2MT8MH.js";import{e as te,d as ne}from"./ConfigCustomBackItUpSet__loadShare__react__loadShare__.js-PbBEGjBn.js";import{j as se}from"./jsx-runtime-Dwm7ePYH.js";function oe(e,s){return N(e,s)}function re(e,s){Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=s(e.__emotion_styles))}const D=[];function w(e){return D[0]=e,ee(D)}const E=e=>e,ie=()=>{let e=E;return{configure(s){e=s},generate(s){return e(s)},reset(){e=E}}},ue=ie();function G(e){var s,t,n="";if(typeof e=="string"||typeof e=="number")n+=e;else if(typeof e=="object")if(Array.isArray(e)){var o=e.length;for(s=0;s<o;s++)e[s]&&(t=G(e[s]))&&(n&&(n+=" "),n+=t)}else for(t in e)e[t]&&(n&&(n+=" "),n+=t);return n}function Fe(){for(var e,s,t=0,n="",o=arguments.length;t<o;t++)(e=arguments[t])&&(s=G(e))&&(n&&(n+=" "),n+=s);return n}const ae={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 ce(e,s,t="Mui"){const n=ae[s];return n?`${t}-${n}`:`${ue.generate(e)}-${s}`}function je(e,s,t="Mui"){const n={};return s.forEach(o=>{n[o]=ce(e,o,t)}),n}function H(e){const{variants:s,...t}=e,n={variants:s,style:w(t),isProcessed:!0};return n.style===t||s&&s.forEach(o=>{typeof o.style!="function"&&(o.style=w(o.style))}),n}const le=X();function O(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}function v(e,s){return s&&e&&typeof e=="object"&&e.styles&&!e.styles.startsWith("@layer")&&(e.styles=`@layer ${s}{${String(e.styles)}}`),e}function fe(e){return e?(s,t)=>t[e]:null}function me(e,s,t){e.theme=ye(e.theme)?t:e.theme[s]||e.theme}function C(e,s,t){const n=typeof s=="function"?s(e):s;if(Array.isArray(n))return n.flatMap(o=>C(e,o,t));if(Array.isArray(n==null?void 0:n.variants)){let o;if(n.isProcessed)o=t?v(n.style,t):n.style;else{const{variants:i,...u}=n;o=t?v(w(u),t):u}return I(e,n.variants,[o],t)}return n!=null&&n.isProcessed?t?v(w(n.style),t):n.style:t?v(w(n),t):n}function I(e,s,t=[],n=void 0){var i;let o;e:for(let u=0;u<s.length;u+=1){const r=s[u];if(typeof r.props=="function"){if(o??={...e,...e.ownerState,ownerState:e.ownerState},!r.props(o))continue}else for(const a in r.props)if(e[a]!==r.props[a]&&((i=e.ownerState)==null?void 0:i[a])!==r.props[a])continue e;typeof r.style=="function"?(o??={...e,...e.ownerState,ownerState:e.ownerState},t.push(n?v(w(r.style(o)),n):r.style(o))):t.push(n?v(w(r.style),n):r.style)}return t}function de(e={}){const{themeId:s,defaultTheme:t=le,rootShouldForwardProp:n=O,slotShouldForwardProp:o=O}=e;function i(r){me(r,s,t)}return(r,a={})=>{re(r,c=>c.filter(l=>l!==$));const{name:f,slot:y,skipVariantsResolver:F,skipSx:q,overridesResolver:j=fe(Se(y)),...K}=a,x=f&&f.startsWith("Mui")||y?"components":"custom",U=F!==void 0?F:y&&y!=="Root"&&y!=="root"||!1,B=q||!1;let g=O;y==="Root"||y==="root"?g=n:y?g=o:pe(r)&&(g=void 0);const T=oe(r,{shouldForwardProp:g,label:he(),...K}),J=c=>{if(c.__emotion_real===c)return c;if(typeof c=="function")return function(p){return C(p,c,p.theme.modularCssLayers?x:void 0)};if(Y(c)){const l=H(c);return function(h){return l.variants?C(h,l,h.theme.modularCssLayers?x:void 0):h.theme.modularCssLayers?v(l.style,x):l.style}}return c},k=(...c)=>{const l=[],p=c.map(J),h=[];if(l.push(i),f&&j&&h.push(function(m){var _,V;const d=(V=(_=m.theme.components)==null?void 0:_[f])==null?void 0:V.styleOverrides;if(!d)return null;const P={};for(const L in d)P[L]=C(m,d[L],m.theme.modularCssLayers?"theme":void 0);return j(m,P)}),f&&!U&&h.push(function(m){var P,_;const S=m.theme,d=(_=(P=S==null?void 0:S.components)==null?void 0:P[f])==null?void 0:_.variants;return d?I(m,d,[],m.theme.modularCssLayers?"theme":void 0):null}),B||h.push($),Array.isArray(p[0])){const b=p.shift(),m=new Array(l.length).fill(""),S=new Array(h.length).fill("");let d;d=[...m,...b,...S],d.raw=[...m,...b.raw,...S],l.unshift(d)}const Q=[...l,...p,...h],R=T(...Q);return r.muiName&&(R.muiName=r.muiName),R};return T.withConfig&&(k.withConfig=T.withConfig),k}}function he(e,s){return void 0}function ye(e){for(const s in e)return!1;return!0}function pe(e){return typeof e=="string"&&e.charCodeAt(0)>96}function Se(e){return e&&e.charAt(0).toLowerCase()+e.slice(1)}function A(e,s){const t={...s};for(const n in e)if(Object.prototype.hasOwnProperty.call(e,n)){const o=n;if(o==="components"||o==="slots")t[o]={...e[o],...t[o]};else if(o==="componentsProps"||o==="slotProps"){const i=e[o],u=s[o];if(!u)t[o]=i||{};else if(!i)t[o]=u;else{t[o]={...u};for(const r in i)if(Object.prototype.hasOwnProperty.call(i,r)){const a=r;t[o][a]=A(i[a],u[a])}}}else t[o]===void 0&&(t[o]=e[o])}return t}function ke(e,s,t=void 0){const n={};for(const o in e){const i=e[o];let u="",r=!0;for(let a=0;a<i.length;a+=1){const f=i[a];f&&(u+=(r===!0?"":" ")+s(f),r=!1,t&&t[f]&&(u+=" "+t[f]))}n[o]=u}return n}const W=ne(void 0);function Re({value:e,children:s}){return se.jsx(W.Provider,{value:e,children:s})}function ve(e){const{theme:s,name:t,props:n}=e;if(!s||!s.components||!s.components[t])return n;const o=s.components[t];return o.defaultProps?A(o.defaultProps,n):!o.styleOverrides&&!o.variants?A(o,n):n}function we({props:e,name:s}){const t=te(W);return ve({props:e,name:s,theme:{components:t}})}const M={theme:void 0};function Pe(e){let s,t;return function(o){let i=s;return(i===void 0||o.theme!==t)&&(M.theme=o.theme,i=H(e(M)),s=i,t=o.theme),i}}function _e(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const ge=e=>_e(e)&&e!=="classes",Ve=de({themeId:Z,defaultTheme:z,rootShouldForwardProp:ge}),Le=Pe;function $e(e){return we(e)}export{ue as C,Re as D,de as a,ke as b,Fe as c,je as d,Ve as e,_e as f,ce as g,A as h,w as i,Le as m,ge as r,oe as s,$e as u};