/home/player95/public_html/wp-includes/js/customize-models.js
/**
 * @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 );
Path: home/player95/public_html/wp-includes/js
  • [D] codemirror
  • [D] crop
  • [D] dist
  • [D] imgareaselect
  • [D] jcrop
  • [D] jquery
  • [D] mediaelement
  • [D] plupload
  • [D] swfupload
  • [D] thickbox
  • [D] tinymce
  • [F] admin-bar.js
  • [F] admin-bar.min.js
  • [F] api-request.js
  • [F] api-request.min.js
  • [F] autosave.js
  • [F] autosave.min.js
  • [F] backbone.js
  • [F] backbone.min.js
  • [F] clipboard.js
  • [F] clipboard.min.js
  • [F] colorpicker.js
  • [F] colorpicker.min.js
  • [F] comment-reply.js
  • [F] comment-reply.min.js
  • [F] customize-base.js
  • [F] customize-base.min.js
  • [F] customize-loader.js
  • [F] customize-loader.min.js
  • [F] customize-models.js
  • [F] customize-models.min.js
  • [F] customize-preview-nav-menus.js
  • [F] customize-preview-nav-menus.min.js
  • [F] customize-preview-widgets.js
  • [F] customize-preview-widgets.min.js
  • [F] customize-preview.js
  • [F] customize-preview.min.js
  • [F] customize-selective-refresh.js
  • [F] customize-selective-refresh.min.js
  • [F] customize-views.js
  • [F] customize-views.min.js
  • [F] heartbeat.js
  • [F] heartbeat.min.js
  • [F] hoverintent-js.min.js
  • [F] hoverIntent.js
  • [F] hoverIntent.min.js
  • [F] imagesloaded.min.js
  • [F] json2.js
  • [F] json2.min.js
  • [F] masonry.min.js
  • [F] mce-view.js
  • [F] mce-view.min.js
  • [F] media-audiovideo.js
  • [F] media-audiovideo.min.js
  • [F] media-editor.js
  • [F] media-editor.min.js
  • [F] media-grid.js
  • [F] media-grid.min.js
  • [F] media-models.js
  • [F] media-models.min.js
  • [F] media-views.js
  • [F] media-views.min.js
  • [F] quicktags.js
  • [F] quicktags.min.js
  • [F] shortcode.js
  • [F] shortcode.min.js
  • [F] swfobject.js
  • [F] tw-sack.js
  • [F] tw-sack.min.js
  • [F] twemoji.js
  • [F] twemoji.min.js
  • [F] underscore.js
  • [F] underscore.min.js
  • [F] utils.js
  • [F] utils.min.js
  • [F] wp-ajax-response.js
  • [F] wp-ajax-response.min.js
  • [F] wp-api.js
  • [F] wp-api.min.js
  • [F] wp-auth-check.js
  • [F] wp-auth-check.min.js
  • [F] wp-backbone.js
  • [F] wp-backbone.min.js
  • [F] wp-custom-header.js
  • [F] wp-custom-header.min.js
  • [F] wp-embed-template.js
  • [F] wp-embed-template.min.js
  • [F] wp-embed.js
  • [F] wp-embed.min.js
  • [F] wp-emoji-loader.js
  • [F] wp-emoji-loader.min.js
  • [F] wp-emoji-release.min.js
  • [F] wp-emoji.js
  • [F] wp-emoji.min.js
  • [F] wp-list-revisions.js
  • [F] wp-list-revisions.min.js
  • [F] wp-lists.js
  • [F] wp-lists.min.js
  • [F] wp-pointer.js
  • [F] wp-pointer.min.js
  • [F] wp-sanitize.js
  • [F] wp-sanitize.min.js
  • [F] wp-util.js
  • [F] wp-util.min.js
  • [F] wpdialog.js
  • [F] wpdialog.min.js
  • [F] wplink.js
  • [F] wplink.min.js
  • [F] zxcvbn-async.js
  • [F] zxcvbn-async.min.js
  • [F] zxcvbn.min.js
Page not found – mmsbee24
Skip to content

mmsbee24

  • Sample Page
  • Homepage
  • Error 404

Oops! That page can’t be found.

It looks like nothing was found at this location. Maybe try one of the links below or a search?

Random videos

Khwahish Private StripChat Show
17
Khwahish Private StripChat Show
Hot Ellie Sharma Quick Boob Flash and Teasing on Tango Live
1
Hot Ellie Sharma Quick Boob Flash and Teasing on Tango Live
Chubby babe riding
1
Chubby babe riding
fucking with Isabel,Jerk off with REAL GIRLS in sex video chat
0 17:27
fucking with Isabel,Jerk off with REAL GIRLS in sex video chat
Cute desi lady sexy navel and boobs in pink saree
8
Cute desi lady sexy navel and boobs in pink saree
Goddess Janisha Superb 121 Live Show
1
Goddess Janisha Superb 121 Live Show
Indian Milf ur_khwahishh pussy fingering, boobs pressing and Ass Showing
9
Indian Milf ur_khwahishh pussy fingering, boobs pressing and Ass Showing
Bringing stranger girl to my bedroom and fucked her pussy,hunter Asia
4 20:13
Bringing stranger girl to my bedroom and fucked her pussy,hunter Asia
Gandi Baat Anveshi Jain Flora Saini
2
Gandi Baat Anveshi Jain Flora Saini
Gunjan Aras-instagram Model & Gandi baat 4 fame
2
Gunjan Aras-instagram Model & Gandi baat 4 fame
Khwahish Hot Show Live Ass Slap
5
Khwahish Hot Show Live Ass Slap

Archives

  • November 2025

Categories

  • App Content
  • Big Boobs
  • Desi
  • StripChat
  • Tango
  • Uncategorized
All rights reserved. Powered by WP-Script.com
Registration is disabled.

Login to mmsbee24

Lost Password?

Reset Password

Enter the username or e-mail you used in your profile. A password reset link will be sent to you by email.


Loading...

Don't have an account? Sign up Already have an account? Login