media-views

Created Diff never expires
45 removals
5633 lines
45 additions
5633 lines
/*! This file is auto-generated */
(() => {
var i = {
7145: (e) => {
var s = wp.media.model.Selection,
o = wp.media.controller.Library,
t = o.extend({
defaults: _.defaults(
{
multiple: 'add',
filterable: 'uploaded',
priority: 100,
syncSelection: !1,
},
o.prototype.defaults
),
initialize: function () {
var e = this.get('collectionType');
'video' === this.get('type') && (e = 'video-' + e),
this.set('id', e + '-library'),
this.set('toolbar', e + '-add'),
this.set('menu', e),
this.get('library') ||
this.set(
'library',
wp.media.query({ type: this.get('type') })
),
o.prototype.initialize.apply(this, arguments);
},
activate: function () {
var e = this.get('library'),
t = this.get('editLibrary'),
i = this.frame
.state(this.get('collectionType') + '-edit')
.get('library');
t && t !== i && e.unobserve(t),
/*! This file is auto-generated */
i.promise()
);
}),
(n.controller.Region = o(9875)),
(n.controller.StateMachine = o(6150)),
(n.controller.State = o(5694)),
(n.selectionSync = o(4181)),
(n.controller.Library = o(472)),
(n.controller.ImageDetails = o(705)),
(n.controller.GalleryEdit = o(2038)),
(n.controller.GalleryAdd = o(7127)),
(n.controller.CollectionEdit = o(8612)),
(n.controller.CollectionAdd = o(7145)),
(n.controller.FeaturedImage = o(1169)),
(n.controller.ReplaceImage = o(2275)),
(n.controller.EditImage = o(5663)),
(n.controller.MediaLibrary = o(8065)),
(n.controller.Embed = o(4910)),
(n.controller.Cropper = o(5422)),
(n.controller.CustomizeImageCropper = o(9660)),
(n.controller.SiteIconCropper = o(6172)),
(n.View = o(4747)),
(n.view.Frame = o(1061)),
(n.view.MediaFrame = o(2836)),
(n.view.MediaFrame.Select = o(455)),
(n.view.MediaFrame.Post = o(4274)),
(n.view.MediaFrame.ImageDetails = o(5424)),
(n.view.Modal = o(2621)),
(n.view.FocusManager = o(718)),
(n.view.UploaderWindow = o(8291)),
(n.view.EditorUploader = o(3674)),
(n.view.UploaderInline = o(1753)),
(n.view.UploaderStatus = o(8197)),
(n.view.UploaderStatusError = o(6442)),
(n.view.Toolbar = o(5275)),
(n.view.Toolbar.Select = o(9458)),
(n.view.Toolbar.Embed = o(397)),
(n.view.Button = o(846)),
(n.view.ButtonGroup = o(168)),
(n.view.PriorityList = o(8815)),
(n.view.MenuItem = o(9013)),
(n.view.Menu = o(1)),
(n.view.RouterItem = o(6327)),
(n.view.Router = o(4783)),
(n.view.Sidebar = o(1992)),
(n.view.Attachment = o(4075)),
(n.view.Attachment.Library = o(3443)),
(n.view.Attachment.EditLibrary = o(5232)),
(n.view.Attachments = o(8142)),
(n.view.Search = o(2102)),
(n.view.AttachmentFilters = o(7709)),
(n.view.DateFilter = o(6472)),
(n.view.AttachmentFilters.Uploaded = o(1368)),
(n.view.AttachmentFilters.All = o(7349)),
(n.view.AttachmentsBrowser = o(6829)),
(n.view.Selection = o(8282)),
(n.view.Attachment.Selection = o(3962)),
(n.view.Attachments.Selection = o(3479)),
(n.view.Attachment.EditSelection = o(4593)),
(n.view.Settings = o(1915)),
(n.view.Settings.AttachmentDisplay = o(7656)),
(n.view.Settings.Gallery = o(7266)),
(n.view.Settings.Playlist = o(2356)),
(n.view.Attachment.Details = o(6090)),
(n.view.AttachmentCompat = o(2982)),
(n.view.Iframe = o(1982)),
(n.view.Embed = o(5741)),
(n.view.Label = o(4338)),
(n.view.EmbedUrl = o(7327)),
(n.view.EmbedLink = o(8232)),
(n.view.EmbedImage = o(2395)),
(n.view.ImageDetails = o(2650)),
(n.view.Cropper = o(7637)),
(n.view.SiteIconCropper = o(443)),
(n.view.SiteIconPreview = o(7810)),
(n.view.EditImage = o(6126)),
(n.view.Spinner = o(9141)),
(n.view.Heading = o(170));
})();