Spaces:
Running
Running
| 'use client'; | |
| ; | |
| Object.defineProperty(exports, "__esModule", { | |
| value: true | |
| }); | |
| 0 && (module.exports = { | |
| NavigationPromisesContext: null, | |
| PathParamsContext: null, | |
| PathnameContext: null, | |
| ReadonlyURLSearchParams: null, | |
| SearchParamsContext: null, | |
| createDevToolsInstrumentedPromise: null | |
| }); | |
| function _export(target, all) { | |
| for(var name in all)Object.defineProperty(target, name, { | |
| enumerable: true, | |
| get: all[name] | |
| }); | |
| } | |
| _export(exports, { | |
| NavigationPromisesContext: function() { | |
| return NavigationPromisesContext; | |
| }, | |
| PathParamsContext: function() { | |
| return PathParamsContext; | |
| }, | |
| PathnameContext: function() { | |
| return PathnameContext; | |
| }, | |
| ReadonlyURLSearchParams: function() { | |
| return _readonlyurlsearchparams.ReadonlyURLSearchParams; | |
| }, | |
| SearchParamsContext: function() { | |
| return SearchParamsContext; | |
| }, | |
| createDevToolsInstrumentedPromise: function() { | |
| return createDevToolsInstrumentedPromise; | |
| } | |
| }); | |
| const _react = require("react"); | |
| const _readonlyurlsearchparams = require("../../client/components/readonly-url-search-params"); | |
| const SearchParamsContext = (0, _react.createContext)(null); | |
| const PathnameContext = (0, _react.createContext)(null); | |
| const PathParamsContext = (0, _react.createContext)(null); | |
| const NavigationPromisesContext = (0, _react.createContext)(null); | |
| function createDevToolsInstrumentedPromise(displayName, value) { | |
| const promise = Promise.resolve(value); | |
| promise.status = 'fulfilled'; | |
| promise.value = value; | |
| promise.displayName = `${displayName} (SSR)`; | |
| return promise; | |
| } | |
| if (process.env.NODE_ENV !== 'production') { | |
| SearchParamsContext.displayName = 'SearchParamsContext'; | |
| PathnameContext.displayName = 'PathnameContext'; | |
| PathParamsContext.displayName = 'PathParamsContext'; | |
| NavigationPromisesContext.displayName = 'NavigationPromisesContext'; | |
| } | |
| //# sourceMappingURL=hooks-client-context.shared-runtime.js.map |