text: jQuery(function(e){function t(){var t=[],a=[],i=e(window).scrollTop(),s=30;e(".navbar-nav").find("a.scroll").each(function(){var i=e(this.hash);i=i.length?i:e("[name="+this.hash.slice(1)+"]"),t.push(i.offset().top-s),a.push(i.offset().top+e(e(this).attr("href")).height())}),e.each(t,function(a){i>t[a]-s&&e(".navbar-nav li").removeClass("active").eq(a).addClass("active")})}var a=e(window).width();new WOW({boxClass:"wow",animateClass:"animated",offset:10,mobile:!0,live:!0}).init();e("#map").css({width:a+"px"}),e(window).resize(function(){e("#map").css({width:a+"px"})}),e(document).ready(function(){e(".scroll").on("click",function(t){if(location.pathname.replace(/^\//,"")==this.pathname.replace(/^\//,"")&&location.hostname==this.hostname){var a=e(this.hash);if(a=a.length?a:e("[name="+this.hash.slice(1)+"]"),a.length)return e("html,body").animate({scrollTop:a.offset().top-55},1500),!1}})}),e(window).scroll(function(e){t()}),e(".progress").on("inview",function(t,a){a&&(e(".progress-label").countTo({formatter:function(e,t){return e.toFixed(t.decimals)+"%"}}),e(this).unbind("inview"))}),e(document).ready(function(){e("#action-form").submit(function(t){return t.preventDefault(),e("#action-submit").html('<i class="material-icons" style="vertical-align: -29%">loop</i> Cadastrando...'),e.ajax({url:e("#action-form").attr("action"),type:"POST",data:e(this).serialize(),success:function(t){t=e.parseJSON(t),t.status?(e("#action-submit").removeClass("btn-default").addClass("registered").html('<i class="material-icons" style="vertical-align: -29%">done</i> Cadastrado!'),document.getElementById("action-submit").setAttribute("type","button"),jQuery.fn.reset=function(){e(this).each(function(){this.reset()})},e("#action-form").reset(),e(".to-action .callback div.alert").remove(),e(".to-action .callback").append("<div class='alert alert-success'>Acabei de enviar um email de confirmação para seu email. :)</div>")):(e("#action-submit").html('<i class="material-icons" style="vertical-align: -29%">verified_user</i> Cadastrar'),t.errors.forEach(function(e){toastr.warning(e)}),document.getElementById("action_token").setAttribute("value",t.token))}}),e(".contact-form #name").prop("readonly",!0),e(".contact-form #email").prop("readonly",!0),e(".contact-form #subject").prop("readonly",!0),e(".contact-form #message").prop("readonly",!0),document.getElementById("message-submit").setAttribute("type","button"),e(".contact-form .callback div.alert").remove(),e(".contact-form .callback").append("<div class='alert alert-success'>Olá! Como você me enviou seu email, agora preciso que atualize a pagina para poder me enviar uma mensagem. 'Questões de segurança'. Obrigado :)</div>"),!1})}),e(document).ready(function(){e("#message-form").submit(function(t){return t.preventDefault(),e("#message-submit").html('<i class="material-icons" style="vertical-align: -29%">loop</i> Enviando...'),e.ajax({url:e("#message-form").attr("action"),type:"POST",data:e(this).serialize(),success:function(t){t=e.parseJSON(t),t.status?(e("#message-submit").removeClass("btn-default").addClass("registered").html('<i class="material-icons" style="vertical-align: -29%">done</i> Enviado!'),document.getElementById("message-submit").setAttribute("type","button"),jQuery.fn.reset=function(){e(this).each(function(){this.reset()})},e("#message-form").reset()):(e("#message-submit").html('<i class="material-icons" style="vertical-align: -29%">verified_user</i> Enviar'),t.errors.forEach(function(e,t){toastr.warning(e)}),document.getElementById("message_token").setAttribute("value",t.token))}}),e(".to-action #email").prop("readonly",!0),document.getElementById("action-submit").setAttribute("type","button"),e(".to-action .callback div.alert").remove(),e(".to-action .callback").append("<div class='alert alert-success'>Olá! Como você me enviou uma mensagem, agora preciso que atualize a pagina para poder me enviar seu email. 'Questões de segurança'. Obrigado :)</div>"),!1})})});