text: "use strict";$(document).ready(function(){$("#id_imagem").change(function(){var e=$(this),n=e[0].files[0],i=new FileReader;i.readAsDataURL(n),i.onload=function(e){$("img.upload-image").attr("src",this.result)}.bind(i)}),$(".alert").fadeTo(2e3,500).slideUp(500,function(){$(".alert").slideUp(500)}),$(".loading-spinner").each(function(e){var n=$(this),i=$(this).data("url");""!=i?$.ajax({url:i,type:"GET",success:function(e){$(n).css("display","none"),$(n).after(e)},error:function(e){console.log("erro")}}):console.log("Elemento não possui url")})});