!function(){$(function(){"use strict";return $("#fileupload").fileupload({url:"http://se7en.herokuapp.com/uploads"}),$("#fileupload").fileupload("option","redirect",window.location.href.replace(/\/[^\/]*$/,"/cors/result.html?%s")),"blueimp.github.io"!==window.location.hostname?($("#fileupload").addClass("fileupload-processing"),$.ajax({url:$("#fileupload").fileupload("option","url"),dataType:"json",context:$("#fileupload")[0]}).always(function(){return $(this).removeClass("fileupload-processing")}).done(function(e){return $(this).fileupload("option","done").call(this,$.Event("done"),{result:e})})):($("#fileupload").fileupload("option",{url:"//jquery-file-upload.appspot.com/",disableImageResize:/Android(?!.*Chrome)|Opera/.test(window.navigator.userAgent),maxFileSize:5e6,acceptFileTypes:/(\.|\/)(gif|jpe?g|png)$/i}),$.support.cors?$.ajax({url:"//jquery-file-upload.appspot.com/",type:"HEAD"}).fail(function(){return $('<div class="alert alert-danger"/>').text("Upload server currently unavailable - "+new Date).appendTo("#fileupload")}):void 0)})}.call(this);