AlkantarClanX12
Current Path : /home/thanudqk/thepball.com/wp-content/plugins/wp-smushit/app/assets/js/ |
Current File : /home/thanudqk/thepball.com/wp-content/plugins/wp-smushit/app/assets/js/smush-media.min.js |
!function(t){var e={};function i(r){if(e[r])return e[r].exports;var s=e[r]={i:r,l:!1,exports:{}};return t[r].call(s.exports,s,s.exports,i),s.l=!0,s.exports}i.m=t,i.c=e,i.d=function(t,e,r){i.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},i.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},i.t=function(t,e){if(1&e&&(t=i(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(i.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var s in t)i.d(r,s,function(e){return t[e]}.bind(null,s));return r},i.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return i.d(e,"a",e),e},i.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},i.p="",i(i.s=24)}({24:function(t,e){!function(t,e){"use strict";var i=wp.media,r=e.template("<span class='setting smush-stats' data-setting='smush'><span class='name'><%= label %></span><span class='value'><%= value %></span></span>"),s=function(t){return r({label:smush_vars.strings.stats_label,value:t})};if(void 0!==i.view&&void 0!==i.view.Attachment.Details.TwoColumn){var n=i.view.Attachment.Details.TwoColumn;i.view.Attachment.Details.TwoColumn=n.extend({initialize:function(){n.prototype.initialize.apply(this,arguments),this.listenTo(this.model,"change:smush",this.render)},render:function(){i.view.Attachment.prototype.render.apply(this,arguments);var t=this.model.get("smush");return void 0===t||(this.model.fetch(),this.views.detach(),this.$el.find(".settings").append(s(t)),this.views.render()),this}})}var a=i.view.Attachment.Details;i.view.Attachment.Details=a.extend({initialize:function(){a.prototype.initialize.apply(this,arguments),this.listenTo(this.model,"change:smush",this.render)},render:function(){i.view.Attachment.prototype.render.apply(this,arguments);var t=this.model.get("smush");return void 0===t||(this.model.fetch(),this.views.detach(),this.$el.append(s(t))),this}});var o=wp.media.view.AttachmentFilters.extend({id:"media-attachment-smush-filter",createFilters:function(){this.filters={all:{text:smush_vars.strings.filter_all,props:{stats:"all"},priority:10},unsmushed:{text:smush_vars.strings.filter_not_processed,props:{stats:"unsmushed"},priority:20},excluded:{text:smush_vars.strings.filter_excl,props:{stats:"excluded"},priority:30}}}}),l=wp.media.view.AttachmentsBrowser;wp.media.view.AttachmentsBrowser=wp.media.view.AttachmentsBrowser.extend({createToolbar:function(){l.prototype.createToolbar.call(this),this.toolbar.set("MediaLibraryTaxonomyFilter",new o({controller:this.controller,model:this.collection.props,priority:-75}).render())}})}(jQuery,_)}}); //# sourceMappingURL=smush-media.min.js.map