"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.initRouteSpy = exports.RouterSpyStateContext = void 0; var _fp = require("lodash/fp"); var _react = require("react"); var _types = require("../../../app/types"); /* * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * or more contributor license agreements. Licensed under the Elastic License * 2.0; you may not use this file except in compliance with the Elastic License * 2.0. */ const initRouteSpy = { pageName: _types.SecurityPageName.noPage, detailName: undefined, tabName: undefined, search: '', pathName: '/', state: undefined }; exports.initRouteSpy = initRouteSpy; const RouterSpyStateContext = /*#__PURE__*/(0, _react.createContext)([initRouteSpy, () => _fp.noop]); exports.RouterSpyStateContext = RouterSpyStateContext;