!function(o){"use strict";var e=function(){return"undefined"!=typeof wpuf_ud_cover_photo?wpuf_ud_cover_photo.nonce:""},p={type:"cover-photo",aspectRatio:16/9,croppedSize:{width:1920,height:600},modalTitle:"Upload Cover Photo",fileInputName:"cover_photo",ajaxAction:"wpuf_upload_cover_photo",updateSelector:".wpuf-cover-photo__image",nonceName:"nonce",maxSize:10485760,prefix:"wpuf-cover-photo"};o(document).ready(function(){"undefined"!=typeof WPUFProfileImageUpload?(p.nonce=e(),window.wpufCoverPhotoUpload=new WPUFProfileImageUpload(p)):console.error("WPUFProfileImageUpload base class not found. Make sure profile-image-upload.js is loaded first.")}),window.wpufOpenCoverPhotoUpload=function(o){"undefined"!=typeof WPUFProfileImageUpload?(window.wpufCoverPhotoUpload||(p.nonce=e(),window.wpufCoverPhotoUpload=new WPUFProfileImageUpload(p)),window.wpufCoverPhotoUpload&&window.wpufCoverPhotoUpload.openModal(o)):setTimeout(function(){"undefined"!=typeof WPUFProfileImageUpload?window.wpufOpenCoverPhotoUpload(o):console.error("WPUFProfileImageUpload base class not found. Make sure profile-image-upload.js is loaded first.")},100)}}(jQuery);
//# sourceMappingURL=cover-photo-upload.js.map