securityos/node_modules/next/dist/shared/lib/app-router-context.shared-r...

56 lines
1.8 KiB
JavaScript
Raw Normal View History

2024-09-06 15:32:35 +00:00
"use client";
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
0 && (module.exports = {
CacheStates: null,
AppRouterContext: null,
LayoutRouterContext: null,
GlobalLayoutRouterContext: null,
TemplateContext: null
});
function _export(target, all) {
for(var name in all)Object.defineProperty(target, name, {
enumerable: true,
get: all[name]
});
}
_export(exports, {
CacheStates: function() {
return CacheStates;
},
AppRouterContext: function() {
return AppRouterContext;
},
LayoutRouterContext: function() {
return LayoutRouterContext;
},
GlobalLayoutRouterContext: function() {
return GlobalLayoutRouterContext;
},
TemplateContext: function() {
return TemplateContext;
}
});
const _interop_require_default = require("@swc/helpers/_/_interop_require_default");
const _react = /*#__PURE__*/ _interop_require_default._(require("react"));
var CacheStates;
(function(CacheStates) {
CacheStates["LAZY_INITIALIZED"] = "LAZYINITIALIZED";
CacheStates["DATA_FETCH"] = "DATAFETCH";
CacheStates["READY"] = "READY";
})(CacheStates || (CacheStates = {}));
const AppRouterContext = _react.default.createContext(null);
const LayoutRouterContext = _react.default.createContext(null);
const GlobalLayoutRouterContext = _react.default.createContext(null);
const TemplateContext = _react.default.createContext(null);
if (process.env.NODE_ENV !== "production") {
AppRouterContext.displayName = "AppRouterContext";
LayoutRouterContext.displayName = "LayoutRouterContext";
GlobalLayoutRouterContext.displayName = "GlobalLayoutRouterContext";
TemplateContext.displayName = "TemplateContext";
}
//# sourceMappingURL=app-router-context.shared-runtime.js.map