Edit File by line

Deprecated: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in /home/sportsfever/public_html/filemanger/function.php on line 93
/home/sportsfe.../httpdocs/clone/wp-inclu.../js/dist
File: router.js
/******/ (() => { // webpackBootstrap
[0] Fix | Delete
/******/ "use strict";
[1] Fix | Delete
/******/ // The require scope
[2] Fix | Delete
/******/ var __webpack_require__ = {};
[3] Fix | Delete
/******/
[4] Fix | Delete
/************************************************************************/
[5] Fix | Delete
/******/ /* webpack/runtime/define property getters */
[6] Fix | Delete
/******/ (() => {
[7] Fix | Delete
/******/ // define getter functions for harmony exports
[8] Fix | Delete
/******/ __webpack_require__.d = (exports, definition) => {
[9] Fix | Delete
/******/ for(var key in definition) {
[10] Fix | Delete
/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
[11] Fix | Delete
/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
[12] Fix | Delete
/******/ }
[13] Fix | Delete
/******/ }
[14] Fix | Delete
/******/ };
[15] Fix | Delete
/******/ })();
[16] Fix | Delete
/******/
[17] Fix | Delete
/******/ /* webpack/runtime/hasOwnProperty shorthand */
[18] Fix | Delete
/******/ (() => {
[19] Fix | Delete
/******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
[20] Fix | Delete
/******/ })();
[21] Fix | Delete
/******/
[22] Fix | Delete
/******/ /* webpack/runtime/make namespace object */
[23] Fix | Delete
/******/ (() => {
[24] Fix | Delete
/******/ // define __esModule on exports
[25] Fix | Delete
/******/ __webpack_require__.r = (exports) => {
[26] Fix | Delete
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
[27] Fix | Delete
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
[28] Fix | Delete
/******/ }
[29] Fix | Delete
/******/ Object.defineProperty(exports, '__esModule', { value: true });
[30] Fix | Delete
/******/ };
[31] Fix | Delete
/******/ })();
[32] Fix | Delete
/******/
[33] Fix | Delete
/************************************************************************/
[34] Fix | Delete
var __webpack_exports__ = {};
[35] Fix | Delete
// ESM COMPAT FLAG
[36] Fix | Delete
__webpack_require__.r(__webpack_exports__);
[37] Fix | Delete
[38] Fix | Delete
// EXPORTS
[39] Fix | Delete
__webpack_require__.d(__webpack_exports__, {
[40] Fix | Delete
privateApis: () => (/* reexport */ privateApis)
[41] Fix | Delete
});
[42] Fix | Delete
[43] Fix | Delete
;// CONCATENATED MODULE: external ["wp","element"]
[44] Fix | Delete
const external_wp_element_namespaceObject = window["wp"]["element"];
[45] Fix | Delete
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js
[46] Fix | Delete
function extends_extends() {
[47] Fix | Delete
extends_extends = Object.assign ? Object.assign.bind() : function (target) {
[48] Fix | Delete
for (var i = 1; i < arguments.length; i++) {
[49] Fix | Delete
var source = arguments[i];
[50] Fix | Delete
for (var key in source) {
[51] Fix | Delete
if (Object.prototype.hasOwnProperty.call(source, key)) {
[52] Fix | Delete
target[key] = source[key];
[53] Fix | Delete
}
[54] Fix | Delete
}
[55] Fix | Delete
}
[56] Fix | Delete
return target;
[57] Fix | Delete
};
[58] Fix | Delete
return extends_extends.apply(this, arguments);
[59] Fix | Delete
}
[60] Fix | Delete
;// CONCATENATED MODULE: ./node_modules/history/index.js
[61] Fix | Delete
[62] Fix | Delete
[63] Fix | Delete
/**
[64] Fix | Delete
* Actions represent the type of change to a location value.
[65] Fix | Delete
*
[66] Fix | Delete
* @see https://github.com/remix-run/history/tree/main/docs/api-reference.md#action
[67] Fix | Delete
*/
[68] Fix | Delete
var Action;
[69] Fix | Delete
[70] Fix | Delete
(function (Action) {
[71] Fix | Delete
/**
[72] Fix | Delete
* A POP indicates a change to an arbitrary index in the history stack, such
[73] Fix | Delete
* as a back or forward navigation. It does not describe the direction of the
[74] Fix | Delete
* navigation, only that the current index changed.
[75] Fix | Delete
*
[76] Fix | Delete
* Note: This is the default action for newly created history objects.
[77] Fix | Delete
*/
[78] Fix | Delete
Action["Pop"] = "POP";
[79] Fix | Delete
/**
[80] Fix | Delete
* A PUSH indicates a new entry being added to the history stack, such as when
[81] Fix | Delete
* a link is clicked and a new page loads. When this happens, all subsequent
[82] Fix | Delete
* entries in the stack are lost.
[83] Fix | Delete
*/
[84] Fix | Delete
[85] Fix | Delete
Action["Push"] = "PUSH";
[86] Fix | Delete
/**
[87] Fix | Delete
* A REPLACE indicates the entry at the current index in the history stack
[88] Fix | Delete
* being replaced by a new one.
[89] Fix | Delete
*/
[90] Fix | Delete
[91] Fix | Delete
Action["Replace"] = "REPLACE";
[92] Fix | Delete
})(Action || (Action = {}));
[93] Fix | Delete
[94] Fix | Delete
var readOnly = false ? 0 : function (obj) {
[95] Fix | Delete
return obj;
[96] Fix | Delete
};
[97] Fix | Delete
[98] Fix | Delete
function warning(cond, message) {
[99] Fix | Delete
if (!cond) {
[100] Fix | Delete
// eslint-disable-next-line no-console
[101] Fix | Delete
if (typeof console !== 'undefined') console.warn(message);
[102] Fix | Delete
[103] Fix | Delete
try {
[104] Fix | Delete
// Welcome to debugging history!
[105] Fix | Delete
//
[106] Fix | Delete
// This error is thrown as a convenience so you can more easily
[107] Fix | Delete
// find the source for a warning that appears in the console by
[108] Fix | Delete
// enabling "pause on exceptions" in your JavaScript debugger.
[109] Fix | Delete
throw new Error(message); // eslint-disable-next-line no-empty
[110] Fix | Delete
} catch (e) {}
[111] Fix | Delete
}
[112] Fix | Delete
}
[113] Fix | Delete
[114] Fix | Delete
var BeforeUnloadEventType = 'beforeunload';
[115] Fix | Delete
var HashChangeEventType = 'hashchange';
[116] Fix | Delete
var PopStateEventType = 'popstate';
[117] Fix | Delete
/**
[118] Fix | Delete
* Browser history stores the location in regular URLs. This is the standard for
[119] Fix | Delete
* most web apps, but it requires some configuration on the server to ensure you
[120] Fix | Delete
* serve the same app at multiple URLs.
[121] Fix | Delete
*
[122] Fix | Delete
* @see https://github.com/remix-run/history/tree/main/docs/api-reference.md#createbrowserhistory
[123] Fix | Delete
*/
[124] Fix | Delete
[125] Fix | Delete
function createBrowserHistory(options) {
[126] Fix | Delete
if (options === void 0) {
[127] Fix | Delete
options = {};
[128] Fix | Delete
}
[129] Fix | Delete
[130] Fix | Delete
var _options = options,
[131] Fix | Delete
_options$window = _options.window,
[132] Fix | Delete
window = _options$window === void 0 ? document.defaultView : _options$window;
[133] Fix | Delete
var globalHistory = window.history;
[134] Fix | Delete
[135] Fix | Delete
function getIndexAndLocation() {
[136] Fix | Delete
var _window$location = window.location,
[137] Fix | Delete
pathname = _window$location.pathname,
[138] Fix | Delete
search = _window$location.search,
[139] Fix | Delete
hash = _window$location.hash;
[140] Fix | Delete
var state = globalHistory.state || {};
[141] Fix | Delete
return [state.idx, readOnly({
[142] Fix | Delete
pathname: pathname,
[143] Fix | Delete
search: search,
[144] Fix | Delete
hash: hash,
[145] Fix | Delete
state: state.usr || null,
[146] Fix | Delete
key: state.key || 'default'
[147] Fix | Delete
})];
[148] Fix | Delete
}
[149] Fix | Delete
[150] Fix | Delete
var blockedPopTx = null;
[151] Fix | Delete
[152] Fix | Delete
function handlePop() {
[153] Fix | Delete
if (blockedPopTx) {
[154] Fix | Delete
blockers.call(blockedPopTx);
[155] Fix | Delete
blockedPopTx = null;
[156] Fix | Delete
} else {
[157] Fix | Delete
var nextAction = Action.Pop;
[158] Fix | Delete
[159] Fix | Delete
var _getIndexAndLocation = getIndexAndLocation(),
[160] Fix | Delete
nextIndex = _getIndexAndLocation[0],
[161] Fix | Delete
nextLocation = _getIndexAndLocation[1];
[162] Fix | Delete
[163] Fix | Delete
if (blockers.length) {
[164] Fix | Delete
if (nextIndex != null) {
[165] Fix | Delete
var delta = index - nextIndex;
[166] Fix | Delete
[167] Fix | Delete
if (delta) {
[168] Fix | Delete
// Revert the POP
[169] Fix | Delete
blockedPopTx = {
[170] Fix | Delete
action: nextAction,
[171] Fix | Delete
location: nextLocation,
[172] Fix | Delete
retry: function retry() {
[173] Fix | Delete
go(delta * -1);
[174] Fix | Delete
}
[175] Fix | Delete
};
[176] Fix | Delete
go(delta);
[177] Fix | Delete
}
[178] Fix | Delete
} else {
[179] Fix | Delete
// Trying to POP to a location with no index. We did not create
[180] Fix | Delete
// this location, so we can't effectively block the navigation.
[181] Fix | Delete
false ? 0 : void 0;
[182] Fix | Delete
}
[183] Fix | Delete
} else {
[184] Fix | Delete
applyTx(nextAction);
[185] Fix | Delete
}
[186] Fix | Delete
}
[187] Fix | Delete
}
[188] Fix | Delete
[189] Fix | Delete
window.addEventListener(PopStateEventType, handlePop);
[190] Fix | Delete
var action = Action.Pop;
[191] Fix | Delete
[192] Fix | Delete
var _getIndexAndLocation2 = getIndexAndLocation(),
[193] Fix | Delete
index = _getIndexAndLocation2[0],
[194] Fix | Delete
location = _getIndexAndLocation2[1];
[195] Fix | Delete
[196] Fix | Delete
var listeners = createEvents();
[197] Fix | Delete
var blockers = createEvents();
[198] Fix | Delete
[199] Fix | Delete
if (index == null) {
[200] Fix | Delete
index = 0;
[201] Fix | Delete
globalHistory.replaceState(extends_extends({}, globalHistory.state, {
[202] Fix | Delete
idx: index
[203] Fix | Delete
}), '');
[204] Fix | Delete
}
[205] Fix | Delete
[206] Fix | Delete
function createHref(to) {
[207] Fix | Delete
return typeof to === 'string' ? to : createPath(to);
[208] Fix | Delete
} // state defaults to `null` because `window.history.state` does
[209] Fix | Delete
[210] Fix | Delete
[211] Fix | Delete
function getNextLocation(to, state) {
[212] Fix | Delete
if (state === void 0) {
[213] Fix | Delete
state = null;
[214] Fix | Delete
}
[215] Fix | Delete
[216] Fix | Delete
return readOnly(extends_extends({
[217] Fix | Delete
pathname: location.pathname,
[218] Fix | Delete
hash: '',
[219] Fix | Delete
search: ''
[220] Fix | Delete
}, typeof to === 'string' ? parsePath(to) : to, {
[221] Fix | Delete
state: state,
[222] Fix | Delete
key: createKey()
[223] Fix | Delete
}));
[224] Fix | Delete
}
[225] Fix | Delete
[226] Fix | Delete
function getHistoryStateAndUrl(nextLocation, index) {
[227] Fix | Delete
return [{
[228] Fix | Delete
usr: nextLocation.state,
[229] Fix | Delete
key: nextLocation.key,
[230] Fix | Delete
idx: index
[231] Fix | Delete
}, createHref(nextLocation)];
[232] Fix | Delete
}
[233] Fix | Delete
[234] Fix | Delete
function allowTx(action, location, retry) {
[235] Fix | Delete
return !blockers.length || (blockers.call({
[236] Fix | Delete
action: action,
[237] Fix | Delete
location: location,
[238] Fix | Delete
retry: retry
[239] Fix | Delete
}), false);
[240] Fix | Delete
}
[241] Fix | Delete
[242] Fix | Delete
function applyTx(nextAction) {
[243] Fix | Delete
action = nextAction;
[244] Fix | Delete
[245] Fix | Delete
var _getIndexAndLocation3 = getIndexAndLocation();
[246] Fix | Delete
[247] Fix | Delete
index = _getIndexAndLocation3[0];
[248] Fix | Delete
location = _getIndexAndLocation3[1];
[249] Fix | Delete
listeners.call({
[250] Fix | Delete
action: action,
[251] Fix | Delete
location: location
[252] Fix | Delete
});
[253] Fix | Delete
}
[254] Fix | Delete
[255] Fix | Delete
function push(to, state) {
[256] Fix | Delete
var nextAction = Action.Push;
[257] Fix | Delete
var nextLocation = getNextLocation(to, state);
[258] Fix | Delete
[259] Fix | Delete
function retry() {
[260] Fix | Delete
push(to, state);
[261] Fix | Delete
}
[262] Fix | Delete
[263] Fix | Delete
if (allowTx(nextAction, nextLocation, retry)) {
[264] Fix | Delete
var _getHistoryStateAndUr = getHistoryStateAndUrl(nextLocation, index + 1),
[265] Fix | Delete
historyState = _getHistoryStateAndUr[0],
[266] Fix | Delete
url = _getHistoryStateAndUr[1]; // TODO: Support forced reloading
[267] Fix | Delete
// try...catch because iOS limits us to 100 pushState calls :/
[268] Fix | Delete
[269] Fix | Delete
[270] Fix | Delete
try {
[271] Fix | Delete
globalHistory.pushState(historyState, '', url);
[272] Fix | Delete
} catch (error) {
[273] Fix | Delete
// They are going to lose state here, but there is no real
[274] Fix | Delete
// way to warn them about it since the page will refresh...
[275] Fix | Delete
window.location.assign(url);
[276] Fix | Delete
}
[277] Fix | Delete
[278] Fix | Delete
applyTx(nextAction);
[279] Fix | Delete
}
[280] Fix | Delete
}
[281] Fix | Delete
[282] Fix | Delete
function replace(to, state) {
[283] Fix | Delete
var nextAction = Action.Replace;
[284] Fix | Delete
var nextLocation = getNextLocation(to, state);
[285] Fix | Delete
[286] Fix | Delete
function retry() {
[287] Fix | Delete
replace(to, state);
[288] Fix | Delete
}
[289] Fix | Delete
[290] Fix | Delete
if (allowTx(nextAction, nextLocation, retry)) {
[291] Fix | Delete
var _getHistoryStateAndUr2 = getHistoryStateAndUrl(nextLocation, index),
[292] Fix | Delete
historyState = _getHistoryStateAndUr2[0],
[293] Fix | Delete
url = _getHistoryStateAndUr2[1]; // TODO: Support forced reloading
[294] Fix | Delete
[295] Fix | Delete
[296] Fix | Delete
globalHistory.replaceState(historyState, '', url);
[297] Fix | Delete
applyTx(nextAction);
[298] Fix | Delete
}
[299] Fix | Delete
}
[300] Fix | Delete
[301] Fix | Delete
function go(delta) {
[302] Fix | Delete
globalHistory.go(delta);
[303] Fix | Delete
}
[304] Fix | Delete
[305] Fix | Delete
var history = {
[306] Fix | Delete
get action() {
[307] Fix | Delete
return action;
[308] Fix | Delete
},
[309] Fix | Delete
[310] Fix | Delete
get location() {
[311] Fix | Delete
return location;
[312] Fix | Delete
},
[313] Fix | Delete
[314] Fix | Delete
createHref: createHref,
[315] Fix | Delete
push: push,
[316] Fix | Delete
replace: replace,
[317] Fix | Delete
go: go,
[318] Fix | Delete
back: function back() {
[319] Fix | Delete
go(-1);
[320] Fix | Delete
},
[321] Fix | Delete
forward: function forward() {
[322] Fix | Delete
go(1);
[323] Fix | Delete
},
[324] Fix | Delete
listen: function listen(listener) {
[325] Fix | Delete
return listeners.push(listener);
[326] Fix | Delete
},
[327] Fix | Delete
block: function block(blocker) {
[328] Fix | Delete
var unblock = blockers.push(blocker);
[329] Fix | Delete
[330] Fix | Delete
if (blockers.length === 1) {
[331] Fix | Delete
window.addEventListener(BeforeUnloadEventType, promptBeforeUnload);
[332] Fix | Delete
}
[333] Fix | Delete
[334] Fix | Delete
return function () {
[335] Fix | Delete
unblock(); // Remove the beforeunload listener so the document may
[336] Fix | Delete
// still be salvageable in the pagehide event.
[337] Fix | Delete
// See https://html.spec.whatwg.org/#unloading-documents
[338] Fix | Delete
[339] Fix | Delete
if (!blockers.length) {
[340] Fix | Delete
window.removeEventListener(BeforeUnloadEventType, promptBeforeUnload);
[341] Fix | Delete
}
[342] Fix | Delete
};
[343] Fix | Delete
}
[344] Fix | Delete
};
[345] Fix | Delete
return history;
[346] Fix | Delete
}
[347] Fix | Delete
/**
[348] Fix | Delete
* Hash history stores the location in window.location.hash. This makes it ideal
[349] Fix | Delete
* for situations where you don't want to send the location to the server for
[350] Fix | Delete
* some reason, either because you do cannot configure it or the URL space is
[351] Fix | Delete
* reserved for something else.
[352] Fix | Delete
*
[353] Fix | Delete
* @see https://github.com/remix-run/history/tree/main/docs/api-reference.md#createhashhistory
[354] Fix | Delete
*/
[355] Fix | Delete
[356] Fix | Delete
function createHashHistory(options) {
[357] Fix | Delete
if (options === void 0) {
[358] Fix | Delete
options = {};
[359] Fix | Delete
}
[360] Fix | Delete
[361] Fix | Delete
var _options2 = options,
[362] Fix | Delete
_options2$window = _options2.window,
[363] Fix | Delete
window = _options2$window === void 0 ? document.defaultView : _options2$window;
[364] Fix | Delete
var globalHistory = window.history;
[365] Fix | Delete
[366] Fix | Delete
function getIndexAndLocation() {
[367] Fix | Delete
var _parsePath = parsePath(window.location.hash.substr(1)),
[368] Fix | Delete
_parsePath$pathname = _parsePath.pathname,
[369] Fix | Delete
pathname = _parsePath$pathname === void 0 ? '/' : _parsePath$pathname,
[370] Fix | Delete
_parsePath$search = _parsePath.search,
[371] Fix | Delete
search = _parsePath$search === void 0 ? '' : _parsePath$search,
[372] Fix | Delete
_parsePath$hash = _parsePath.hash,
[373] Fix | Delete
hash = _parsePath$hash === void 0 ? '' : _parsePath$hash;
[374] Fix | Delete
[375] Fix | Delete
var state = globalHistory.state || {};
[376] Fix | Delete
return [state.idx, readOnly({
[377] Fix | Delete
pathname: pathname,
[378] Fix | Delete
search: search,
[379] Fix | Delete
hash: hash,
[380] Fix | Delete
state: state.usr || null,
[381] Fix | Delete
key: state.key || 'default'
[382] Fix | Delete
})];
[383] Fix | Delete
}
[384] Fix | Delete
[385] Fix | Delete
var blockedPopTx = null;
[386] Fix | Delete
[387] Fix | Delete
function handlePop() {
[388] Fix | Delete
if (blockedPopTx) {
[389] Fix | Delete
blockers.call(blockedPopTx);
[390] Fix | Delete
blockedPopTx = null;
[391] Fix | Delete
} else {
[392] Fix | Delete
var nextAction = Action.Pop;
[393] Fix | Delete
[394] Fix | Delete
var _getIndexAndLocation4 = getIndexAndLocation(),
[395] Fix | Delete
nextIndex = _getIndexAndLocation4[0],
[396] Fix | Delete
nextLocation = _getIndexAndLocation4[1];
[397] Fix | Delete
[398] Fix | Delete
if (blockers.length) {
[399] Fix | Delete
if (nextIndex != null) {
[400] Fix | Delete
var delta = index - nextIndex;
[401] Fix | Delete
[402] Fix | Delete
if (delta) {
[403] Fix | Delete
// Revert the POP
[404] Fix | Delete
blockedPopTx = {
[405] Fix | Delete
action: nextAction,
[406] Fix | Delete
location: nextLocation,
[407] Fix | Delete
retry: function retry() {
[408] Fix | Delete
go(delta * -1);
[409] Fix | Delete
}
[410] Fix | Delete
};
[411] Fix | Delete
go(delta);
[412] Fix | Delete
}
[413] Fix | Delete
} else {
[414] Fix | Delete
// Trying to POP to a location with no index. We did not create
[415] Fix | Delete
// this location, so we can't effectively block the navigation.
[416] Fix | Delete
false ? 0 : void 0;
[417] Fix | Delete
}
[418] Fix | Delete
} else {
[419] Fix | Delete
applyTx(nextAction);
[420] Fix | Delete
}
[421] Fix | Delete
}
[422] Fix | Delete
}
[423] Fix | Delete
[424] Fix | Delete
window.addEventListener(PopStateEventType, handlePop); // popstate does not fire on hashchange in IE 11 and old (trident) Edge
[425] Fix | Delete
// https://developer.mozilla.org/de/docs/Web/API/Window/popstate_event
[426] Fix | Delete
[427] Fix | Delete
window.addEventListener(HashChangeEventType, function () {
[428] Fix | Delete
var _getIndexAndLocation5 = getIndexAndLocation(),
[429] Fix | Delete
nextLocation = _getIndexAndLocation5[1]; // Ignore extraneous hashchange events.
[430] Fix | Delete
[431] Fix | Delete
[432] Fix | Delete
if (createPath(nextLocation) !== createPath(location)) {
[433] Fix | Delete
handlePop();
[434] Fix | Delete
}
[435] Fix | Delete
});
[436] Fix | Delete
var action = Action.Pop;
[437] Fix | Delete
[438] Fix | Delete
var _getIndexAndLocation6 = getIndexAndLocation(),
[439] Fix | Delete
index = _getIndexAndLocation6[0],
[440] Fix | Delete
location = _getIndexAndLocation6[1];
[441] Fix | Delete
[442] Fix | Delete
var listeners = createEvents();
[443] Fix | Delete
var blockers = createEvents();
[444] Fix | Delete
[445] Fix | Delete
if (index == null) {
[446] Fix | Delete
index = 0;
[447] Fix | Delete
globalHistory.replaceState(_extends({}, globalHistory.state, {
[448] Fix | Delete
idx: index
[449] Fix | Delete
}), '');
[450] Fix | Delete
}
[451] Fix | Delete
[452] Fix | Delete
function getBaseHref() {
[453] Fix | Delete
var base = document.querySelector('base');
[454] Fix | Delete
var href = '';
[455] Fix | Delete
[456] Fix | Delete
if (base && base.getAttribute('href')) {
[457] Fix | Delete
var url = window.location.href;
[458] Fix | Delete
var hashIndex = url.indexOf('#');
[459] Fix | Delete
href = hashIndex === -1 ? url : url.slice(0, hashIndex);
[460] Fix | Delete
}
[461] Fix | Delete
[462] Fix | Delete
return href;
[463] Fix | Delete
}
[464] Fix | Delete
[465] Fix | Delete
function createHref(to) {
[466] Fix | Delete
return getBaseHref() + '#' + (typeof to === 'string' ? to : createPath(to));
[467] Fix | Delete
}
[468] Fix | Delete
[469] Fix | Delete
function getNextLocation(to, state) {
[470] Fix | Delete
if (state === void 0) {
[471] Fix | Delete
state = null;
[472] Fix | Delete
}
[473] Fix | Delete
[474] Fix | Delete
return readOnly(_extends({
[475] Fix | Delete
pathname: location.pathname,
[476] Fix | Delete
hash: '',
[477] Fix | Delete
search: ''
[478] Fix | Delete
}, typeof to === 'string' ? parsePath(to) : to, {
[479] Fix | Delete
state: state,
[480] Fix | Delete
key: createKey()
[481] Fix | Delete
}));
[482] Fix | Delete
}
[483] Fix | Delete
[484] Fix | Delete
function getHistoryStateAndUrl(nextLocation, index) {
[485] Fix | Delete
return [{
[486] Fix | Delete
usr: nextLocation.state,
[487] Fix | Delete
key: nextLocation.key,
[488] Fix | Delete
idx: index
[489] Fix | Delete
}, createHref(nextLocation)];
[490] Fix | Delete
}
[491] Fix | Delete
[492] Fix | Delete
function allowTx(action, location, retry) {
[493] Fix | Delete
return !blockers.length || (blockers.call({
[494] Fix | Delete
action: action,
[495] Fix | Delete
location: location,
[496] Fix | Delete
retry: retry
[497] Fix | Delete
}), false);
[498] Fix | Delete
}
[499] Fix | Delete
12
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function