import { createContext, useContext } from "react";
var defaultContext = /*#__PURE__*/createContext({});
var useEngineContext = function useEngineContext() {
  var context = useContext(window.__appContext || defaultContext);
  return context || {};
};
export var usePisellOS = function usePisellOS() {
  var _context$appHelper;
  var context = useContext(window.__appContext || defaultContext);
  var _ref = (context === null || context === void 0 || (_context$appHelper = context.appHelper) === null || _context$appHelper === void 0 ? void 0 : _context$appHelper.utils) || {},
    pisellos = _ref.pisellos;
  return pisellos;
};
export default useEngineContext;