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

Warning: Undefined array key "page_file_edit_line" in /home/sportsfever/public_html/filemanger/edit_text_line.php on line 32
/home/sportsfe.../httpdocs/clone/wp-inclu.../js/dist
File: core-data.js
var descriptor = descriptorIn || (target ? Object.getOwnPropertyDescriptor(target, contextIn.name) : {});
[1000] Fix | Delete
var _, done = false;
[1001] Fix | Delete
for (var i = decorators.length - 1; i >= 0; i--) {
[1002] Fix | Delete
var context = {};
[1003] Fix | Delete
for (var p in contextIn) context[p] = p === "access" ? {} : contextIn[p];
[1004] Fix | Delete
for (var p in contextIn.access) context.access[p] = contextIn.access[p];
[1005] Fix | Delete
context.addInitializer = function (f) { if (done) throw new TypeError("Cannot add initializers after decoration has completed"); extraInitializers.push(accept(f || null)); };
[1006] Fix | Delete
var result = (0, decorators[i])(kind === "accessor" ? { get: descriptor.get, set: descriptor.set } : descriptor[key], context);
[1007] Fix | Delete
if (kind === "accessor") {
[1008] Fix | Delete
if (result === void 0) continue;
[1009] Fix | Delete
if (result === null || typeof result !== "object") throw new TypeError("Object expected");
[1010] Fix | Delete
if (_ = accept(result.get)) descriptor.get = _;
[1011] Fix | Delete
if (_ = accept(result.set)) descriptor.set = _;
[1012] Fix | Delete
if (_ = accept(result.init)) initializers.unshift(_);
[1013] Fix | Delete
}
[1014] Fix | Delete
else if (_ = accept(result)) {
[1015] Fix | Delete
if (kind === "field") initializers.unshift(_);
[1016] Fix | Delete
else descriptor[key] = _;
[1017] Fix | Delete
}
[1018] Fix | Delete
}
[1019] Fix | Delete
if (target) Object.defineProperty(target, contextIn.name, descriptor);
[1020] Fix | Delete
done = true;
[1021] Fix | Delete
};
[1022] Fix | Delete
[1023] Fix | Delete
function __runInitializers(thisArg, initializers, value) {
[1024] Fix | Delete
var useValue = arguments.length > 2;
[1025] Fix | Delete
for (var i = 0; i < initializers.length; i++) {
[1026] Fix | Delete
value = useValue ? initializers[i].call(thisArg, value) : initializers[i].call(thisArg);
[1027] Fix | Delete
}
[1028] Fix | Delete
return useValue ? value : void 0;
[1029] Fix | Delete
};
[1030] Fix | Delete
[1031] Fix | Delete
function __propKey(x) {
[1032] Fix | Delete
return typeof x === "symbol" ? x : "".concat(x);
[1033] Fix | Delete
};
[1034] Fix | Delete
[1035] Fix | Delete
function __setFunctionName(f, name, prefix) {
[1036] Fix | Delete
if (typeof name === "symbol") name = name.description ? "[".concat(name.description, "]") : "";
[1037] Fix | Delete
return Object.defineProperty(f, "name", { configurable: true, value: prefix ? "".concat(prefix, " ", name) : name });
[1038] Fix | Delete
};
[1039] Fix | Delete
[1040] Fix | Delete
function __metadata(metadataKey, metadataValue) {
[1041] Fix | Delete
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(metadataKey, metadataValue);
[1042] Fix | Delete
}
[1043] Fix | Delete
[1044] Fix | Delete
function __awaiter(thisArg, _arguments, P, generator) {
[1045] Fix | Delete
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
[1046] Fix | Delete
return new (P || (P = Promise))(function (resolve, reject) {
[1047] Fix | Delete
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
[1048] Fix | Delete
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
[1049] Fix | Delete
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
[1050] Fix | Delete
step((generator = generator.apply(thisArg, _arguments || [])).next());
[1051] Fix | Delete
});
[1052] Fix | Delete
}
[1053] Fix | Delete
[1054] Fix | Delete
function __generator(thisArg, body) {
[1055] Fix | Delete
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
[1056] Fix | Delete
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
[1057] Fix | Delete
function verb(n) { return function (v) { return step([n, v]); }; }
[1058] Fix | Delete
function step(op) {
[1059] Fix | Delete
if (f) throw new TypeError("Generator is already executing.");
[1060] Fix | Delete
while (g && (g = 0, op[0] && (_ = 0)), _) try {
[1061] Fix | Delete
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
[1062] Fix | Delete
if (y = 0, t) op = [op[0] & 2, t.value];
[1063] Fix | Delete
switch (op[0]) {
[1064] Fix | Delete
case 0: case 1: t = op; break;
[1065] Fix | Delete
case 4: _.label++; return { value: op[1], done: false };
[1066] Fix | Delete
case 5: _.label++; y = op[1]; op = [0]; continue;
[1067] Fix | Delete
case 7: op = _.ops.pop(); _.trys.pop(); continue;
[1068] Fix | Delete
default:
[1069] Fix | Delete
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
[1070] Fix | Delete
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
[1071] Fix | Delete
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
[1072] Fix | Delete
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
[1073] Fix | Delete
if (t[2]) _.ops.pop();
[1074] Fix | Delete
_.trys.pop(); continue;
[1075] Fix | Delete
}
[1076] Fix | Delete
op = body.call(thisArg, _);
[1077] Fix | Delete
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
[1078] Fix | Delete
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
[1079] Fix | Delete
}
[1080] Fix | Delete
}
[1081] Fix | Delete
[1082] Fix | Delete
var __createBinding = Object.create ? (function(o, m, k, k2) {
[1083] Fix | Delete
if (k2 === undefined) k2 = k;
[1084] Fix | Delete
var desc = Object.getOwnPropertyDescriptor(m, k);
[1085] Fix | Delete
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
[1086] Fix | Delete
desc = { enumerable: true, get: function() { return m[k]; } };
[1087] Fix | Delete
}
[1088] Fix | Delete
Object.defineProperty(o, k2, desc);
[1089] Fix | Delete
}) : (function(o, m, k, k2) {
[1090] Fix | Delete
if (k2 === undefined) k2 = k;
[1091] Fix | Delete
o[k2] = m[k];
[1092] Fix | Delete
});
[1093] Fix | Delete
[1094] Fix | Delete
function __exportStar(m, o) {
[1095] Fix | Delete
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(o, p)) __createBinding(o, m, p);
[1096] Fix | Delete
}
[1097] Fix | Delete
[1098] Fix | Delete
function __values(o) {
[1099] Fix | Delete
var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
[1100] Fix | Delete
if (m) return m.call(o);
[1101] Fix | Delete
if (o && typeof o.length === "number") return {
[1102] Fix | Delete
next: function () {
[1103] Fix | Delete
if (o && i >= o.length) o = void 0;
[1104] Fix | Delete
return { value: o && o[i++], done: !o };
[1105] Fix | Delete
}
[1106] Fix | Delete
};
[1107] Fix | Delete
throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
[1108] Fix | Delete
}
[1109] Fix | Delete
[1110] Fix | Delete
function __read(o, n) {
[1111] Fix | Delete
var m = typeof Symbol === "function" && o[Symbol.iterator];
[1112] Fix | Delete
if (!m) return o;
[1113] Fix | Delete
var i = m.call(o), r, ar = [], e;
[1114] Fix | Delete
try {
[1115] Fix | Delete
while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);
[1116] Fix | Delete
}
[1117] Fix | Delete
catch (error) { e = { error: error }; }
[1118] Fix | Delete
finally {
[1119] Fix | Delete
try {
[1120] Fix | Delete
if (r && !r.done && (m = i["return"])) m.call(i);
[1121] Fix | Delete
}
[1122] Fix | Delete
finally { if (e) throw e.error; }
[1123] Fix | Delete
}
[1124] Fix | Delete
return ar;
[1125] Fix | Delete
}
[1126] Fix | Delete
[1127] Fix | Delete
/** @deprecated */
[1128] Fix | Delete
function __spread() {
[1129] Fix | Delete
for (var ar = [], i = 0; i < arguments.length; i++)
[1130] Fix | Delete
ar = ar.concat(__read(arguments[i]));
[1131] Fix | Delete
return ar;
[1132] Fix | Delete
}
[1133] Fix | Delete
[1134] Fix | Delete
/** @deprecated */
[1135] Fix | Delete
function __spreadArrays() {
[1136] Fix | Delete
for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;
[1137] Fix | Delete
for (var r = Array(s), k = 0, i = 0; i < il; i++)
[1138] Fix | Delete
for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)
[1139] Fix | Delete
r[k] = a[j];
[1140] Fix | Delete
return r;
[1141] Fix | Delete
}
[1142] Fix | Delete
[1143] Fix | Delete
function __spreadArray(to, from, pack) {
[1144] Fix | Delete
if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
[1145] Fix | Delete
if (ar || !(i in from)) {
[1146] Fix | Delete
if (!ar) ar = Array.prototype.slice.call(from, 0, i);
[1147] Fix | Delete
ar[i] = from[i];
[1148] Fix | Delete
}
[1149] Fix | Delete
}
[1150] Fix | Delete
return to.concat(ar || Array.prototype.slice.call(from));
[1151] Fix | Delete
}
[1152] Fix | Delete
[1153] Fix | Delete
function __await(v) {
[1154] Fix | Delete
return this instanceof __await ? (this.v = v, this) : new __await(v);
[1155] Fix | Delete
}
[1156] Fix | Delete
[1157] Fix | Delete
function __asyncGenerator(thisArg, _arguments, generator) {
[1158] Fix | Delete
if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
[1159] Fix | Delete
var g = generator.apply(thisArg, _arguments || []), i, q = [];
[1160] Fix | Delete
return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i;
[1161] Fix | Delete
function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }
[1162] Fix | Delete
function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }
[1163] Fix | Delete
function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }
[1164] Fix | Delete
function fulfill(value) { resume("next", value); }
[1165] Fix | Delete
function reject(value) { resume("throw", value); }
[1166] Fix | Delete
function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }
[1167] Fix | Delete
}
[1168] Fix | Delete
[1169] Fix | Delete
function __asyncDelegator(o) {
[1170] Fix | Delete
var i, p;
[1171] Fix | Delete
return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i;
[1172] Fix | Delete
function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: false } : f ? f(v) : v; } : f; }
[1173] Fix | Delete
}
[1174] Fix | Delete
[1175] Fix | Delete
function __asyncValues(o) {
[1176] Fix | Delete
if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
[1177] Fix | Delete
var m = o[Symbol.asyncIterator], i;
[1178] Fix | Delete
return m ? m.call(o) : (o = typeof __values === "function" ? __values(o) : o[Symbol.iterator](), i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i);
[1179] Fix | Delete
function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }
[1180] Fix | Delete
function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }
[1181] Fix | Delete
}
[1182] Fix | Delete
[1183] Fix | Delete
function __makeTemplateObject(cooked, raw) {
[1184] Fix | Delete
if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
[1185] Fix | Delete
return cooked;
[1186] Fix | Delete
};
[1187] Fix | Delete
[1188] Fix | Delete
var __setModuleDefault = Object.create ? (function(o, v) {
[1189] Fix | Delete
Object.defineProperty(o, "default", { enumerable: true, value: v });
[1190] Fix | Delete
}) : function(o, v) {
[1191] Fix | Delete
o["default"] = v;
[1192] Fix | Delete
};
[1193] Fix | Delete
[1194] Fix | Delete
function __importStar(mod) {
[1195] Fix | Delete
if (mod && mod.__esModule) return mod;
[1196] Fix | Delete
var result = {};
[1197] Fix | Delete
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
[1198] Fix | Delete
__setModuleDefault(result, mod);
[1199] Fix | Delete
return result;
[1200] Fix | Delete
}
[1201] Fix | Delete
[1202] Fix | Delete
function __importDefault(mod) {
[1203] Fix | Delete
return (mod && mod.__esModule) ? mod : { default: mod };
[1204] Fix | Delete
}
[1205] Fix | Delete
[1206] Fix | Delete
function __classPrivateFieldGet(receiver, state, kind, f) {
[1207] Fix | Delete
if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter");
[1208] Fix | Delete
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
[1209] Fix | Delete
return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
[1210] Fix | Delete
}
[1211] Fix | Delete
[1212] Fix | Delete
function __classPrivateFieldSet(receiver, state, value, kind, f) {
[1213] Fix | Delete
if (kind === "m") throw new TypeError("Private method is not writable");
[1214] Fix | Delete
if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a setter");
[1215] Fix | Delete
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot write private member to an object whose class did not declare it");
[1216] Fix | Delete
return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
[1217] Fix | Delete
}
[1218] Fix | Delete
[1219] Fix | Delete
function __classPrivateFieldIn(state, receiver) {
[1220] Fix | Delete
if (receiver === null || (typeof receiver !== "object" && typeof receiver !== "function")) throw new TypeError("Cannot use 'in' operator on non-object");
[1221] Fix | Delete
return typeof state === "function" ? receiver === state : state.has(receiver);
[1222] Fix | Delete
}
[1223] Fix | Delete
[1224] Fix | Delete
function __addDisposableResource(env, value, async) {
[1225] Fix | Delete
if (value !== null && value !== void 0) {
[1226] Fix | Delete
if (typeof value !== "object" && typeof value !== "function") throw new TypeError("Object expected.");
[1227] Fix | Delete
var dispose;
[1228] Fix | Delete
if (async) {
[1229] Fix | Delete
if (!Symbol.asyncDispose) throw new TypeError("Symbol.asyncDispose is not defined.");
[1230] Fix | Delete
dispose = value[Symbol.asyncDispose];
[1231] Fix | Delete
}
[1232] Fix | Delete
if (dispose === void 0) {
[1233] Fix | Delete
if (!Symbol.dispose) throw new TypeError("Symbol.dispose is not defined.");
[1234] Fix | Delete
dispose = value[Symbol.dispose];
[1235] Fix | Delete
}
[1236] Fix | Delete
if (typeof dispose !== "function") throw new TypeError("Object not disposable.");
[1237] Fix | Delete
env.stack.push({ value: value, dispose: dispose, async: async });
[1238] Fix | Delete
}
[1239] Fix | Delete
else if (async) {
[1240] Fix | Delete
env.stack.push({ async: true });
[1241] Fix | Delete
}
[1242] Fix | Delete
return value;
[1243] Fix | Delete
}
[1244] Fix | Delete
[1245] Fix | Delete
var _SuppressedError = typeof SuppressedError === "function" ? SuppressedError : function (error, suppressed, message) {
[1246] Fix | Delete
var e = new Error(message);
[1247] Fix | Delete
return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
[1248] Fix | Delete
};
[1249] Fix | Delete
[1250] Fix | Delete
function __disposeResources(env) {
[1251] Fix | Delete
function fail(e) {
[1252] Fix | Delete
env.error = env.hasError ? new _SuppressedError(e, env.error, "An error was suppressed during disposal.") : e;
[1253] Fix | Delete
env.hasError = true;
[1254] Fix | Delete
}
[1255] Fix | Delete
function next() {
[1256] Fix | Delete
while (env.stack.length) {
[1257] Fix | Delete
var rec = env.stack.pop();
[1258] Fix | Delete
try {
[1259] Fix | Delete
var result = rec.dispose && rec.dispose.call(rec.value);
[1260] Fix | Delete
if (rec.async) return Promise.resolve(result).then(next, function(e) { fail(e); return next(); });
[1261] Fix | Delete
}
[1262] Fix | Delete
catch (e) {
[1263] Fix | Delete
fail(e);
[1264] Fix | Delete
}
[1265] Fix | Delete
}
[1266] Fix | Delete
if (env.hasError) throw env.error;
[1267] Fix | Delete
}
[1268] Fix | Delete
return next();
[1269] Fix | Delete
}
[1270] Fix | Delete
[1271] Fix | Delete
/* harmony default export */ const tslib_es6 = ({
[1272] Fix | Delete
__extends,
[1273] Fix | Delete
__assign,
[1274] Fix | Delete
__rest,
[1275] Fix | Delete
__decorate,
[1276] Fix | Delete
__param,
[1277] Fix | Delete
__metadata,
[1278] Fix | Delete
__awaiter,
[1279] Fix | Delete
__generator,
[1280] Fix | Delete
__createBinding,
[1281] Fix | Delete
__exportStar,
[1282] Fix | Delete
__values,
[1283] Fix | Delete
__read,
[1284] Fix | Delete
__spread,
[1285] Fix | Delete
__spreadArrays,
[1286] Fix | Delete
__spreadArray,
[1287] Fix | Delete
__await,
[1288] Fix | Delete
__asyncGenerator,
[1289] Fix | Delete
__asyncDelegator,
[1290] Fix | Delete
__asyncValues,
[1291] Fix | Delete
__makeTemplateObject,
[1292] Fix | Delete
__importStar,
[1293] Fix | Delete
__importDefault,
[1294] Fix | Delete
__classPrivateFieldGet,
[1295] Fix | Delete
__classPrivateFieldSet,
[1296] Fix | Delete
__classPrivateFieldIn,
[1297] Fix | Delete
__addDisposableResource,
[1298] Fix | Delete
__disposeResources,
[1299] Fix | Delete
});
[1300] Fix | Delete
[1301] Fix | Delete
;// CONCATENATED MODULE: ./node_modules/lower-case/dist.es2015/index.js
[1302] Fix | Delete
/**
[1303] Fix | Delete
* Source: ftp://ftp.unicode.org/Public/UCD/latest/ucd/SpecialCasing.txt
[1304] Fix | Delete
*/
[1305] Fix | Delete
var SUPPORTED_LOCALE = {
[1306] Fix | Delete
tr: {
[1307] Fix | Delete
regexp: /\u0130|\u0049|\u0049\u0307/g,
[1308] Fix | Delete
map: {
[1309] Fix | Delete
İ: "\u0069",
[1310] Fix | Delete
I: "\u0131",
[1311] Fix | Delete
İ: "\u0069",
[1312] Fix | Delete
},
[1313] Fix | Delete
},
[1314] Fix | Delete
az: {
[1315] Fix | Delete
regexp: /\u0130/g,
[1316] Fix | Delete
map: {
[1317] Fix | Delete
İ: "\u0069",
[1318] Fix | Delete
I: "\u0131",
[1319] Fix | Delete
İ: "\u0069",
[1320] Fix | Delete
},
[1321] Fix | Delete
},
[1322] Fix | Delete
lt: {
[1323] Fix | Delete
regexp: /\u0049|\u004A|\u012E|\u00CC|\u00CD|\u0128/g,
[1324] Fix | Delete
map: {
[1325] Fix | Delete
I: "\u0069\u0307",
[1326] Fix | Delete
J: "\u006A\u0307",
[1327] Fix | Delete
Į: "\u012F\u0307",
[1328] Fix | Delete
Ì: "\u0069\u0307\u0300",
[1329] Fix | Delete
Í: "\u0069\u0307\u0301",
[1330] Fix | Delete
Ĩ: "\u0069\u0307\u0303",
[1331] Fix | Delete
},
[1332] Fix | Delete
},
[1333] Fix | Delete
};
[1334] Fix | Delete
/**
[1335] Fix | Delete
* Localized lower case.
[1336] Fix | Delete
*/
[1337] Fix | Delete
function localeLowerCase(str, locale) {
[1338] Fix | Delete
var lang = SUPPORTED_LOCALE[locale.toLowerCase()];
[1339] Fix | Delete
if (lang)
[1340] Fix | Delete
return lowerCase(str.replace(lang.regexp, function (m) { return lang.map[m]; }));
[1341] Fix | Delete
return lowerCase(str);
[1342] Fix | Delete
}
[1343] Fix | Delete
/**
[1344] Fix | Delete
* Lower case as a function.
[1345] Fix | Delete
*/
[1346] Fix | Delete
function lowerCase(str) {
[1347] Fix | Delete
return str.toLowerCase();
[1348] Fix | Delete
}
[1349] Fix | Delete
[1350] Fix | Delete
;// CONCATENATED MODULE: ./node_modules/no-case/dist.es2015/index.js
[1351] Fix | Delete
[1352] Fix | Delete
// Support camel case ("camelCase" -> "camel Case" and "CAMELCase" -> "CAMEL Case").
[1353] Fix | Delete
var DEFAULT_SPLIT_REGEXP = [/([a-z0-9])([A-Z])/g, /([A-Z])([A-Z][a-z])/g];
[1354] Fix | Delete
// Remove all non-word characters.
[1355] Fix | Delete
var DEFAULT_STRIP_REGEXP = /[^A-Z0-9]+/gi;
[1356] Fix | Delete
/**
[1357] Fix | Delete
* Normalize the string into something other libraries can manipulate easier.
[1358] Fix | Delete
*/
[1359] Fix | Delete
function noCase(input, options) {
[1360] Fix | Delete
if (options === void 0) { options = {}; }
[1361] Fix | Delete
var _a = options.splitRegexp, splitRegexp = _a === void 0 ? DEFAULT_SPLIT_REGEXP : _a, _b = options.stripRegexp, stripRegexp = _b === void 0 ? DEFAULT_STRIP_REGEXP : _b, _c = options.transform, transform = _c === void 0 ? lowerCase : _c, _d = options.delimiter, delimiter = _d === void 0 ? " " : _d;
[1362] Fix | Delete
var result = replace(replace(input, splitRegexp, "$1\0$2"), stripRegexp, "\0");
[1363] Fix | Delete
var start = 0;
[1364] Fix | Delete
var end = result.length;
[1365] Fix | Delete
// Trim the delimiter from around the output string.
[1366] Fix | Delete
while (result.charAt(start) === "\0")
[1367] Fix | Delete
start++;
[1368] Fix | Delete
while (result.charAt(end - 1) === "\0")
[1369] Fix | Delete
end--;
[1370] Fix | Delete
// Transform each token independently.
[1371] Fix | Delete
return result.slice(start, end).split("\0").map(transform).join(delimiter);
[1372] Fix | Delete
}
[1373] Fix | Delete
/**
[1374] Fix | Delete
* Replace `re` in the input string with the replacement value.
[1375] Fix | Delete
*/
[1376] Fix | Delete
function replace(input, re, value) {
[1377] Fix | Delete
if (re instanceof RegExp)
[1378] Fix | Delete
return input.replace(re, value);
[1379] Fix | Delete
return re.reduce(function (input, re) { return input.replace(re, value); }, input);
[1380] Fix | Delete
}
[1381] Fix | Delete
[1382] Fix | Delete
;// CONCATENATED MODULE: ./node_modules/upper-case-first/dist.es2015/index.js
[1383] Fix | Delete
/**
[1384] Fix | Delete
* Upper case the first character of an input string.
[1385] Fix | Delete
*/
[1386] Fix | Delete
function upperCaseFirst(input) {
[1387] Fix | Delete
return input.charAt(0).toUpperCase() + input.substr(1);
[1388] Fix | Delete
}
[1389] Fix | Delete
[1390] Fix | Delete
;// CONCATENATED MODULE: ./node_modules/capital-case/dist.es2015/index.js
[1391] Fix | Delete
[1392] Fix | Delete
[1393] Fix | Delete
[1394] Fix | Delete
function capitalCaseTransform(input) {
[1395] Fix | Delete
return upperCaseFirst(input.toLowerCase());
[1396] Fix | Delete
}
[1397] Fix | Delete
function capitalCase(input, options) {
[1398] Fix | Delete
if (options === void 0) { options = {}; }
[1399] Fix | Delete
return noCase(input, __assign({ delimiter: " ", transform: capitalCaseTransform }, options));
[1400] Fix | Delete
}
[1401] Fix | Delete
[1402] Fix | Delete
;// CONCATENATED MODULE: ./node_modules/pascal-case/dist.es2015/index.js
[1403] Fix | Delete
[1404] Fix | Delete
[1405] Fix | Delete
function pascalCaseTransform(input, index) {
[1406] Fix | Delete
var firstChar = input.charAt(0);
[1407] Fix | Delete
var lowerChars = input.substr(1).toLowerCase();
[1408] Fix | Delete
if (index > 0 && firstChar >= "0" && firstChar <= "9") {
[1409] Fix | Delete
return "_" + firstChar + lowerChars;
[1410] Fix | Delete
}
[1411] Fix | Delete
return "" + firstChar.toUpperCase() + lowerChars;
[1412] Fix | Delete
}
[1413] Fix | Delete
function dist_es2015_pascalCaseTransformMerge(input) {
[1414] Fix | Delete
return input.charAt(0).toUpperCase() + input.slice(1).toLowerCase();
[1415] Fix | Delete
}
[1416] Fix | Delete
function pascalCase(input, options) {
[1417] Fix | Delete
if (options === void 0) { options = {}; }
[1418] Fix | Delete
return noCase(input, __assign({ delimiter: "", transform: pascalCaseTransform }, options));
[1419] Fix | Delete
}
[1420] Fix | Delete
[1421] Fix | Delete
;// CONCATENATED MODULE: external ["wp","apiFetch"]
[1422] Fix | Delete
const external_wp_apiFetch_namespaceObject = window["wp"]["apiFetch"];
[1423] Fix | Delete
var external_wp_apiFetch_default = /*#__PURE__*/__webpack_require__.n(external_wp_apiFetch_namespaceObject);
[1424] Fix | Delete
;// CONCATENATED MODULE: external ["wp","i18n"]
[1425] Fix | Delete
const external_wp_i18n_namespaceObject = window["wp"]["i18n"];
[1426] Fix | Delete
;// CONCATENATED MODULE: external ["wp","richText"]
[1427] Fix | Delete
const external_wp_richText_namespaceObject = window["wp"]["richText"];
[1428] Fix | Delete
;// CONCATENATED MODULE: ./node_modules/uuid/dist/esm-browser/native.js
[1429] Fix | Delete
const randomUUID = typeof crypto !== 'undefined' && crypto.randomUUID && crypto.randomUUID.bind(crypto);
[1430] Fix | Delete
/* harmony default export */ const esm_browser_native = ({
[1431] Fix | Delete
randomUUID
[1432] Fix | Delete
});
[1433] Fix | Delete
;// CONCATENATED MODULE: ./node_modules/uuid/dist/esm-browser/rng.js
[1434] Fix | Delete
// Unique ID creation requires a high quality random # generator. In the browser we therefore
[1435] Fix | Delete
// require the crypto API and do not support built-in fallback to lower quality random number
[1436] Fix | Delete
// generators (like Math.random()).
[1437] Fix | Delete
let getRandomValues;
[1438] Fix | Delete
const rnds8 = new Uint8Array(16);
[1439] Fix | Delete
function rng() {
[1440] Fix | Delete
// lazy load so that environments that need to polyfill have a chance to do so
[1441] Fix | Delete
if (!getRandomValues) {
[1442] Fix | Delete
// getRandomValues needs to be invoked in a context where "this" is a Crypto implementation.
[1443] Fix | Delete
getRandomValues = typeof crypto !== 'undefined' && crypto.getRandomValues && crypto.getRandomValues.bind(crypto);
[1444] Fix | Delete
[1445] Fix | Delete
if (!getRandomValues) {
[1446] Fix | Delete
throw new Error('crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported');
[1447] Fix | Delete
}
[1448] Fix | Delete
}
[1449] Fix | Delete
[1450] Fix | Delete
return getRandomValues(rnds8);
[1451] Fix | Delete
}
[1452] Fix | Delete
;// CONCATENATED MODULE: ./node_modules/uuid/dist/esm-browser/stringify.js
[1453] Fix | Delete
[1454] Fix | Delete
/**
[1455] Fix | Delete
* Convert array of 16 byte values to UUID string format of the form:
[1456] Fix | Delete
* XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX
[1457] Fix | Delete
*/
[1458] Fix | Delete
[1459] Fix | Delete
const byteToHex = [];
[1460] Fix | Delete
[1461] Fix | Delete
for (let i = 0; i < 256; ++i) {
[1462] Fix | Delete
byteToHex.push((i + 0x100).toString(16).slice(1));
[1463] Fix | Delete
}
[1464] Fix | Delete
[1465] Fix | Delete
function unsafeStringify(arr, offset = 0) {
[1466] Fix | Delete
// Note: Be careful editing this code! It's been tuned for performance
[1467] Fix | Delete
// and works in ways you may not expect. See https://github.com/uuidjs/uuid/pull/434
[1468] Fix | Delete
return byteToHex[arr[offset + 0]] + byteToHex[arr[offset + 1]] + byteToHex[arr[offset + 2]] + byteToHex[arr[offset + 3]] + '-' + byteToHex[arr[offset + 4]] + byteToHex[arr[offset + 5]] + '-' + byteToHex[arr[offset + 6]] + byteToHex[arr[offset + 7]] + '-' + byteToHex[arr[offset + 8]] + byteToHex[arr[offset + 9]] + '-' + byteToHex[arr[offset + 10]] + byteToHex[arr[offset + 11]] + byteToHex[arr[offset + 12]] + byteToHex[arr[offset + 13]] + byteToHex[arr[offset + 14]] + byteToHex[arr[offset + 15]];
[1469] Fix | Delete
}
[1470] Fix | Delete
[1471] Fix | Delete
function stringify(arr, offset = 0) {
[1472] Fix | Delete
const uuid = unsafeStringify(arr, offset); // Consistency check for valid UUID. If this throws, it's likely due to one
[1473] Fix | Delete
// of the following:
[1474] Fix | Delete
// - One or more input array values don't map to a hex octet (leading to
[1475] Fix | Delete
// "undefined" in the uuid)
[1476] Fix | Delete
// - Invalid input values for the RFC `version` or `variant` fields
[1477] Fix | Delete
[1478] Fix | Delete
if (!validate(uuid)) {
[1479] Fix | Delete
throw TypeError('Stringified UUID is invalid');
[1480] Fix | Delete
}
[1481] Fix | Delete
[1482] Fix | Delete
return uuid;
[1483] Fix | Delete
}
[1484] Fix | Delete
[1485] Fix | Delete
/* harmony default export */ const esm_browser_stringify = ((/* unused pure expression or super */ null && (stringify)));
[1486] Fix | Delete
;// CONCATENATED MODULE: ./node_modules/uuid/dist/esm-browser/v4.js
[1487] Fix | Delete
[1488] Fix | Delete
[1489] Fix | Delete
[1490] Fix | Delete
[1491] Fix | Delete
function v4(options, buf, offset) {
[1492] Fix | Delete
if (esm_browser_native.randomUUID && !buf && !options) {
[1493] Fix | Delete
return esm_browser_native.randomUUID();
[1494] Fix | Delete
}
[1495] Fix | Delete
[1496] Fix | Delete
options = options || {};
[1497] Fix | Delete
const rnds = options.random || (options.rng || rng)(); // Per 4.4, set bits for version and `clock_seq_hi_and_reserved`
[1498] Fix | Delete
[1499] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function