/** Notice * This file contains works from many authors under various (but compatible) licenses. Please see core.txt for more information. **/ (function(){(window.wpCoreControlsBundle=window.wpCoreControlsBundle||[]).push([[11],{431:function(ia,da,e){e.r(da);var ca=e(1);ia=e(50);var y=e(371),ha=e(229),ea=e(20),fa=window;e=function(){function e(e){var w=this;this.Pca=function(e){return e&&("image"===e.type.split("/")[0].toLowerCase()||e.name&&!!e.name.match(/.(jpg|jpeg|png|gif)$/i))};this.file=e;this.bda=new Promise(function(r){return Object(ca.b)(w,void 0,void 0,function(){var h;return Object(ca.d)(this,function(n){switch(n.label){case 0:return this.Pca(this.file)? [4,Object(ha.b)(e)]:[3,2];case 1:h=n.ea(),this.file=ea.p?new Blob([h],{type:e.type}):new File([h],null===e||void 0===e?void 0:e.name,{type:e.type}),n.label=2;case 2:return r(!0),[2]}})})})}e.prototype.getFileData=function(w){var y=this,r=new FileReader;r.onload=function(h){y.trigger(e.Events.DOCUMENT_LOADING_PROGRESS,[h.loaded,h.loaded]);w(new Uint8Array(h.target.result))};r.onprogress=function(h){h.lengthComputable&&y.trigger(e.Events.DOCUMENT_LOADING_PROGRESS,[h.loaded,0