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: annotations.js
[500] Fix | Delete
if (!getRandomValues) {
[501] Fix | Delete
throw new Error('crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported');
[502] Fix | Delete
}
[503] Fix | Delete
}
[504] Fix | Delete
[505] Fix | Delete
return getRandomValues(rnds8);
[506] Fix | Delete
}
[507] Fix | Delete
;// CONCATENATED MODULE: ./node_modules/uuid/dist/esm-browser/stringify.js
[508] Fix | Delete
[509] Fix | Delete
/**
[510] Fix | Delete
* Convert array of 16 byte values to UUID string format of the form:
[511] Fix | Delete
* XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX
[512] Fix | Delete
*/
[513] Fix | Delete
[514] Fix | Delete
const byteToHex = [];
[515] Fix | Delete
[516] Fix | Delete
for (let i = 0; i < 256; ++i) {
[517] Fix | Delete
byteToHex.push((i + 0x100).toString(16).slice(1));
[518] Fix | Delete
}
[519] Fix | Delete
[520] Fix | Delete
function unsafeStringify(arr, offset = 0) {
[521] Fix | Delete
// Note: Be careful editing this code! It's been tuned for performance
[522] Fix | Delete
// and works in ways you may not expect. See https://github.com/uuidjs/uuid/pull/434
[523] 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]];
[524] Fix | Delete
}
[525] Fix | Delete
[526] Fix | Delete
function stringify(arr, offset = 0) {
[527] Fix | Delete
const uuid = unsafeStringify(arr, offset); // Consistency check for valid UUID. If this throws, it's likely due to one
[528] Fix | Delete
// of the following:
[529] Fix | Delete
// - One or more input array values don't map to a hex octet (leading to
[530] Fix | Delete
// "undefined" in the uuid)
[531] Fix | Delete
// - Invalid input values for the RFC `version` or `variant` fields
[532] Fix | Delete
[533] Fix | Delete
if (!validate(uuid)) {
[534] Fix | Delete
throw TypeError('Stringified UUID is invalid');
[535] Fix | Delete
}
[536] Fix | Delete
[537] Fix | Delete
return uuid;
[538] Fix | Delete
}
[539] Fix | Delete
[540] Fix | Delete
/* harmony default export */ const esm_browser_stringify = ((/* unused pure expression or super */ null && (stringify)));
[541] Fix | Delete
;// CONCATENATED MODULE: ./node_modules/uuid/dist/esm-browser/v4.js
[542] Fix | Delete
[543] Fix | Delete
[544] Fix | Delete
[545] Fix | Delete
[546] Fix | Delete
function v4(options, buf, offset) {
[547] Fix | Delete
if (esm_browser_native.randomUUID && !buf && !options) {
[548] Fix | Delete
return esm_browser_native.randomUUID();
[549] Fix | Delete
}
[550] Fix | Delete
[551] Fix | Delete
options = options || {};
[552] Fix | Delete
const rnds = options.random || (options.rng || rng)(); // Per 4.4, set bits for version and `clock_seq_hi_and_reserved`
[553] Fix | Delete
[554] Fix | Delete
rnds[6] = rnds[6] & 0x0f | 0x40;
[555] Fix | Delete
rnds[8] = rnds[8] & 0x3f | 0x80; // Copy bytes to buffer, if provided
[556] Fix | Delete
[557] Fix | Delete
if (buf) {
[558] Fix | Delete
offset = offset || 0;
[559] Fix | Delete
[560] Fix | Delete
for (let i = 0; i < 16; ++i) {
[561] Fix | Delete
buf[offset + i] = rnds[i];
[562] Fix | Delete
}
[563] Fix | Delete
[564] Fix | Delete
return buf;
[565] Fix | Delete
}
[566] Fix | Delete
[567] Fix | Delete
return unsafeStringify(rnds);
[568] Fix | Delete
}
[569] Fix | Delete
[570] Fix | Delete
/* harmony default export */ const esm_browser_v4 = (v4);
[571] Fix | Delete
;// CONCATENATED MODULE: ./node_modules/@wordpress/annotations/build-module/store/actions.js
[572] Fix | Delete
/**
[573] Fix | Delete
* External dependencies
[574] Fix | Delete
*/
[575] Fix | Delete
[576] Fix | Delete
[577] Fix | Delete
/**
[578] Fix | Delete
* @typedef WPAnnotationRange
[579] Fix | Delete
*
[580] Fix | Delete
* @property {number} start The offset where the annotation should start.
[581] Fix | Delete
* @property {number} end The offset where the annotation should end.
[582] Fix | Delete
*/
[583] Fix | Delete
[584] Fix | Delete
/**
[585] Fix | Delete
* Adds an annotation to a block.
[586] Fix | Delete
*
[587] Fix | Delete
* The `block` attribute refers to a block ID that needs to be annotated.
[588] Fix | Delete
* `isBlockAnnotation` controls whether or not the annotation is a block
[589] Fix | Delete
* annotation. The `source` is the source of the annotation, this will be used
[590] Fix | Delete
* to identity groups of annotations.
[591] Fix | Delete
*
[592] Fix | Delete
* The `range` property is only relevant if the selector is 'range'.
[593] Fix | Delete
*
[594] Fix | Delete
* @param {Object} annotation The annotation to add.
[595] Fix | Delete
* @param {string} annotation.blockClientId The blockClientId to add the annotation to.
[596] Fix | Delete
* @param {string} annotation.richTextIdentifier Identifier for the RichText instance the annotation applies to.
[597] Fix | Delete
* @param {WPAnnotationRange} annotation.range The range at which to apply this annotation.
[598] Fix | Delete
* @param {string} [annotation.selector="range"] The way to apply this annotation.
[599] Fix | Delete
* @param {string} [annotation.source="default"] The source that added the annotation.
[600] Fix | Delete
* @param {string} [annotation.id] The ID the annotation should have. Generates a UUID by default.
[601] Fix | Delete
*
[602] Fix | Delete
* @return {Object} Action object.
[603] Fix | Delete
*/
[604] Fix | Delete
function __experimentalAddAnnotation({
[605] Fix | Delete
blockClientId,
[606] Fix | Delete
richTextIdentifier = null,
[607] Fix | Delete
range = null,
[608] Fix | Delete
selector = 'range',
[609] Fix | Delete
source = 'default',
[610] Fix | Delete
id = esm_browser_v4()
[611] Fix | Delete
}) {
[612] Fix | Delete
const action = {
[613] Fix | Delete
type: 'ANNOTATION_ADD',
[614] Fix | Delete
id,
[615] Fix | Delete
blockClientId,
[616] Fix | Delete
richTextIdentifier,
[617] Fix | Delete
source,
[618] Fix | Delete
selector
[619] Fix | Delete
};
[620] Fix | Delete
if (selector === 'range') {
[621] Fix | Delete
action.range = range;
[622] Fix | Delete
}
[623] Fix | Delete
return action;
[624] Fix | Delete
}
[625] Fix | Delete
[626] Fix | Delete
/**
[627] Fix | Delete
* Removes an annotation with a specific ID.
[628] Fix | Delete
*
[629] Fix | Delete
* @param {string} annotationId The annotation to remove.
[630] Fix | Delete
*
[631] Fix | Delete
* @return {Object} Action object.
[632] Fix | Delete
*/
[633] Fix | Delete
function __experimentalRemoveAnnotation(annotationId) {
[634] Fix | Delete
return {
[635] Fix | Delete
type: 'ANNOTATION_REMOVE',
[636] Fix | Delete
annotationId
[637] Fix | Delete
};
[638] Fix | Delete
}
[639] Fix | Delete
[640] Fix | Delete
/**
[641] Fix | Delete
* Updates the range of an annotation.
[642] Fix | Delete
*
[643] Fix | Delete
* @param {string} annotationId ID of the annotation to update.
[644] Fix | Delete
* @param {number} start The start of the new range.
[645] Fix | Delete
* @param {number} end The end of the new range.
[646] Fix | Delete
*
[647] Fix | Delete
* @return {Object} Action object.
[648] Fix | Delete
*/
[649] Fix | Delete
function __experimentalUpdateAnnotationRange(annotationId, start, end) {
[650] Fix | Delete
return {
[651] Fix | Delete
type: 'ANNOTATION_UPDATE_RANGE',
[652] Fix | Delete
annotationId,
[653] Fix | Delete
start,
[654] Fix | Delete
end
[655] Fix | Delete
};
[656] Fix | Delete
}
[657] Fix | Delete
[658] Fix | Delete
/**
[659] Fix | Delete
* Removes all annotations of a specific source.
[660] Fix | Delete
*
[661] Fix | Delete
* @param {string} source The source to remove.
[662] Fix | Delete
*
[663] Fix | Delete
* @return {Object} Action object.
[664] Fix | Delete
*/
[665] Fix | Delete
function __experimentalRemoveAnnotationsBySource(source) {
[666] Fix | Delete
return {
[667] Fix | Delete
type: 'ANNOTATION_REMOVE_SOURCE',
[668] Fix | Delete
source
[669] Fix | Delete
};
[670] Fix | Delete
}
[671] Fix | Delete
[672] Fix | Delete
;// CONCATENATED MODULE: ./node_modules/@wordpress/annotations/build-module/store/index.js
[673] Fix | Delete
/**
[674] Fix | Delete
* WordPress dependencies
[675] Fix | Delete
*/
[676] Fix | Delete
[677] Fix | Delete
[678] Fix | Delete
/**
[679] Fix | Delete
* Internal dependencies
[680] Fix | Delete
*/
[681] Fix | Delete
[682] Fix | Delete
[683] Fix | Delete
[684] Fix | Delete
[685] Fix | Delete
/**
[686] Fix | Delete
* Module Constants
[687] Fix | Delete
*/
[688] Fix | Delete
[689] Fix | Delete
[690] Fix | Delete
/**
[691] Fix | Delete
* Store definition for the annotations namespace.
[692] Fix | Delete
*
[693] Fix | Delete
* @see https://github.com/WordPress/gutenberg/blob/HEAD/packages/data/README.md#createReduxStore
[694] Fix | Delete
*
[695] Fix | Delete
* @type {Object}
[696] Fix | Delete
*/
[697] Fix | Delete
const store = (0,external_wp_data_namespaceObject.createReduxStore)(STORE_NAME, {
[698] Fix | Delete
reducer: reducer,
[699] Fix | Delete
selectors: selectors_namespaceObject,
[700] Fix | Delete
actions: actions_namespaceObject
[701] Fix | Delete
});
[702] Fix | Delete
(0,external_wp_data_namespaceObject.register)(store);
[703] Fix | Delete
[704] Fix | Delete
;// CONCATENATED MODULE: ./node_modules/@wordpress/annotations/build-module/index.js
[705] Fix | Delete
/**
[706] Fix | Delete
* Internal dependencies
[707] Fix | Delete
*/
[708] Fix | Delete
[709] Fix | Delete
[710] Fix | Delete
[711] Fix | Delete
[712] Fix | Delete
(window.wp = window.wp || {}).annotations = __webpack_exports__;
[713] Fix | Delete
/******/ })()
[714] Fix | Delete
;
[715] Fix | Delete
12
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function