UNPKG

iobroker.kisshome-defender

Version:
2 lines (1 loc) 1.17 kB
import{a as c}from"./_commonjsHelpers-DsqdWQfm.js";import{k as i}from"./kisshome_mf_2_defender__loadShare__react__loadShare__-m8N8GhhJ.js";import{T as m,t as u,I as h,H as y}from"./defaultTheme-OGBRcog7.js";var n={exports:{}},T="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",f=T,l=f;function a(){}function s(){}s.resetWarningCache=a;var _=function(){function e(g,v,x,E,R,p){if(p!==l){var o=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw o.name="Invariant Violation",o}}e.isRequired=e;function t(){return e}var r={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:s,resetWarningCache:a};return r.PropTypes=r,r};n.exports=_();var P=n.exports;const j=c(P);function b(e){return Object.keys(e).length===0}function d(e=null){const t=i.useContext(m);return!t||b(t)?e:t}const O=u();function S(e=O){return d(e)}function D(){const e=S(y);return e[h]||e}export{j as P,S as a,d as b,D as u};