Linux business57.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64
LiteSpeed
Server IP : 199.188.201.191 & Your IP : 18.119.120.229
Domains :
Cant Read [ /etc/named.conf ]
User : derozboy
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
home /
derozboy /
cac-groupfr.site /
wp-includes /
js /
Delete
Unzip
Name
Size
Permission
Date
Action
codemirror
[ DIR ]
drwxr-xr-x
2024-10-04 11:52
crop
[ DIR ]
drwxr-xr-x
2024-10-04 11:52
dist
[ DIR ]
drwxr-xr-x
2024-11-13 03:02
imgareaselect
[ DIR ]
drwxr-xr-x
2024-10-04 11:52
jcrop
[ DIR ]
drwxr-xr-x
2024-10-04 11:52
jquery
[ DIR ]
drwxr-xr-x
2024-10-04 11:52
mediaelement
[ DIR ]
drwxr-xr-x
2024-10-04 11:52
plupload
[ DIR ]
drwxr-xr-x
2024-10-04 11:52
swfupload
[ DIR ]
drwxr-xr-x
2024-10-04 11:52
thickbox
[ DIR ]
drwxr-xr-x
2024-10-04 11:52
tinymce
[ DIR ]
drwxr-xr-x
2024-10-04 11:52
admin-bar.js
10.3
KB
-rw-r--r--
2024-05-12 03:58
admin-bar.min.js
3.41
KB
-rw-r--r--
2024-05-12 03:58
api-request.js
3.25
KB
-rw-r--r--
2020-12-01 14:14
api-request.min.js
1023
B
-rw-r--r--
2022-04-09 05:37
autosave.js
21.95
KB
-rw-r--r--
2021-03-19 04:31
autosave.min.js
5.67
KB
-rw-r--r--
2023-02-03 03:06
backbone.js
78.51
KB
-rw-r--r--
2024-11-13 03:02
backbone.min.js
23.71
KB
-rw-r--r--
2024-11-13 03:02
clipboard.js
26.18
KB
-rw-r--r--
2022-10-05 01:25
clipboard.min.js
8.8
KB
-rw-r--r--
2024-06-27 23:21
colorpicker.js
28.4
KB
-rw-r--r--
2012-11-18 01:41
colorpicker.min.js
16.13
KB
-rw-r--r--
2022-09-24 05:25
comment-reply.js
12.22
KB
-rw-r--r--
2024-11-13 03:02
comment-reply.min.js
2.96
KB
-rw-r--r--
2024-11-13 03:02
customize-base.js
25.22
KB
-rw-r--r--
2023-05-20 19:49
customize-base.min.js
7.67
KB
-rw-r--r--
2023-02-03 03:06
customize-loader.js
7.72
KB
-rw-r--r--
2024-04-13 03:17
customize-loader.min.js
3.47
KB
-rw-r--r--
2023-02-03 03:06
customize-models.js
6.66
KB
-rw-r--r--
2020-06-25 22:13
customize-models.min.js
3.59
KB
-rw-r--r--
2023-02-03 03:06
customize-preview-nav-menus.js
14.67
KB
-rw-r--r--
2020-07-28 09:05
customize-preview-nav-menus.min.js
4.92
KB
-rw-r--r--
2024-06-27 23:21
customize-preview-widgets.js
22.71
KB
-rw-r--r--
2020-06-20 22:28
customize-preview-widgets.min.js
7.64
KB
-rw-r--r--
2023-02-03 03:06
customize-preview.js
27.3
KB
-rw-r--r--
2020-07-28 09:05
customize-preview.min.js
10.45
KB
-rw-r--r--
2023-02-03 03:06
customize-selective-refresh.js
32.55
KB
-rw-r--r--
2024-04-13 03:17
customize-selective-refresh.min.js
10.44
KB
-rw-r--r--
2024-06-27 23:21
customize-views.js
4.95
KB
-rw-r--r--
2018-06-28 12:00
customize-views.min.js
2.39
KB
-rw-r--r--
2021-01-07 01:59
heartbeat.js
23.49
KB
-rw-r--r--
2024-11-13 03:02
heartbeat.min.js
5.81
KB
-rw-r--r--
2024-11-13 03:02
hoverIntent.js
7.06
KB
-rw-r--r--
2022-01-04 01:33
hoverIntent.min.js
1.46
KB
-rw-r--r--
2024-06-27 23:21
hoverintent-js.min.js
1.68
KB
-rw-r--r--
2019-12-10 11:33
imagesloaded.min.js
5.39
KB
-rw-r--r--
2023-08-12 03:48
json2.js
17.99
KB
-rw-r--r--
2015-10-06 23:32
json2.min.js
3.07
KB
-rw-r--r--
2024-06-27 23:21
masonry.min.js
23.57
KB
-rw-r--r--
2020-06-14 04:23
mce-view.js
25.24
KB
-rw-r--r--
2023-10-10 07:01
mce-view.min.js
9.54
KB
-rw-r--r--
2024-06-27 23:21
media-audiovideo.js
24.39
KB
-rw-r--r--
2024-02-16 03:23
media-audiovideo.min.js
11.78
KB
-rw-r--r--
2024-02-16 03:23
media-editor.js
28.44
KB
-rw-r--r--
2020-07-28 09:05
media-editor.min.js
10.63
KB
-rw-r--r--
2023-02-03 03:06
media-grid.js
26.18
KB
-rw-r--r--
2024-11-13 03:02
media-grid.min.js
12.95
KB
-rw-r--r--
2024-02-16 03:23
media-models.js
42.74
KB
-rw-r--r--
2024-02-16 03:23
media-models.min.js
12.98
KB
-rw-r--r--
2024-06-27 23:21
media-views.js
266.87
KB
-rw-r--r--
2024-11-13 03:02
media-views.min.js
108.02
KB
-rw-r--r--
2024-11-13 03:02
quicktags.js
22.07
KB
-rw-r--r--
2021-09-09 08:59
quicktags.min.js
10.87
KB
-rw-r--r--
2023-02-03 03:06
shortcode.js
10.51
KB
-rw-r--r--
2020-01-29 11:15
shortcode.min.js
2.58
KB
-rw-r--r--
2022-09-24 05:25
swfobject.js
9.99
KB
-rw-r--r--
2012-04-18 08:39
tw-sack.js
4.85
KB
-rw-r--r--
2012-08-23 09:34
tw-sack.min.js
3.21
KB
-rw-r--r--
2022-04-09 05:37
twemoji.js
32.16
KB
-rw-r--r--
2024-02-14 01:06
twemoji.min.js
15.42
KB
-rw-r--r--
2024-06-27 23:21
underscore.js
67.12
KB
-rw-r--r--
2024-11-13 03:02
underscore.min.js
18.44
KB
-rw-r--r--
2024-11-13 03:02
utils.js
4.56
KB
-rw-r--r--
2020-01-29 11:15
utils.min.js
1.82
KB
-rw-r--r--
2022-09-24 05:25
wp-ajax-response.js
3.75
KB
-rw-r--r--
2024-06-22 03:47
wp-ajax-response.min.js
2.45
KB
-rw-r--r--
2024-06-22 03:47
wp-api.js
45.88
KB
-rw-r--r--
2023-01-10 20:00
wp-api.min.js
14.34
KB
-rw-r--r--
2024-06-27 23:21
wp-auth-check.js
4.11
KB
-rw-r--r--
2021-03-19 04:31
wp-auth-check.min.js
1.62
KB
-rw-r--r--
2021-03-19 04:31
wp-backbone.js
14.88
KB
-rw-r--r--
2024-04-13 03:17
wp-backbone.min.js
2.97
KB
-rw-r--r--
2022-04-09 05:37
wp-custom-header.js
10.22
KB
-rw-r--r--
2021-04-10 22:10
wp-custom-header.min.js
4.34
KB
-rw-r--r--
2023-02-03 03:06
wp-embed-template.js
6.62
KB
-rw-r--r--
2021-11-11 13:19
wp-embed-template.min.js
3.1
KB
-rw-r--r--
2024-06-27 23:21
wp-embed.js
3.14
KB
-rw-r--r--
2023-08-11 05:19
wp-embed.min.js
1.22
KB
-rw-r--r--
2024-06-27 23:21
wp-emoji-loader.js
11.92
KB
-rw-r--r--
2024-02-14 01:06
wp-emoji-loader.min.js
2.86
KB
-rw-r--r--
2024-02-14 01:06
wp-emoji-release.min.js
18.29
KB
-rw-r--r--
2024-06-27 23:21
wp-emoji.js
8.76
KB
-rw-r--r--
2023-02-02 11:23
wp-emoji.min.js
2.82
KB
-rw-r--r--
2023-02-02 11:23
wp-list-revisions.js
970
B
-rw-r--r--
2018-06-28 12:00
wp-list-revisions.min.js
597
B
-rw-r--r--
2021-01-07 01:59
wp-lists.js
24.72
KB
-rw-r--r--
2023-06-25 00:02
wp-lists.min.js
7.34
KB
-rw-r--r--
2023-06-25 00:02
wp-pointer.js
9.99
KB
-rw-r--r--
2021-02-17 06:55
wp-pointer.min.js
3.54
KB
-rw-r--r--
2022-04-09 05:37
wp-sanitize.js
1.32
KB
-rw-r--r--
2019-09-05 02:43
wp-sanitize.min.js
458
B
-rw-r--r--
2022-04-09 05:37
wp-util.js
4.57
KB
-rw-r--r--
2022-09-20 13:22
wp-util.min.js
1.39
KB
-rw-r--r--
2022-09-20 13:22
wpdialog.js
569
B
-rw-r--r--
2023-01-25 07:43
wpdialog.min.js
281
B
-rw-r--r--
2023-01-25 07:43
wplink.js
20.74
KB
-rw-r--r--
2024-11-13 03:02
wplink.min.js
11.05
KB
-rw-r--r--
2024-11-13 03:02
zxcvbn-async.js
821
B
-rw-r--r--
2018-06-28 12:00
zxcvbn-async.min.js
351
B
-rw-r--r--
2021-02-24 03:15
zxcvbn.min.js
802.97
KB
-rw-r--r--
2019-10-26 09:47
Save
Rename
/** * @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 );