#pragma checksum "C:\Users\copacabana_alura\Documents\Visual Studio 2017\Projects\Selenium.Tests\Alura.LeilaoOnline.WebApp\Views\Shared\DisplayTemplates\LeilaoAntesDoPregao.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "8b38c6a2370f6089dded749fca9ae76527b0d5af"
// <auto-generated/>
#pragma warning disable 1591
[assembly: global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemAttribute(typeof(AspNetCore.Views_Shared_DisplayTemplates_LeilaoAntesDoPregao), @"mvc.1.0.view", @"/Views/Shared/DisplayTemplates/LeilaoAntesDoPregao.cshtml")]
[assembly:global::Microsoft.AspNetCore.Mvc.Razor.Compilation.RazorViewAttribute(@"/Views/Shared/DisplayTemplates/LeilaoAntesDoPregao.cshtml", typeof(AspNetCore.Views_Shared_DisplayTemplates_LeilaoAntesDoPregao))]
namespace AspNetCore
{
    #line hidden
    using System.Collections.Generic;
    using System.Linq;
    using System.Threading.Tasks;
    using Microsoft.AspNetCore.Mvc;
    using Microsoft.AspNetCore.Mvc.Rendering;
    using Microsoft.AspNetCore.Mvc.ViewFeatures;
#line 1 "C:\Users\copacabana_alura\Documents\Visual Studio 2017\Projects\Selenium.Tests\Alura.LeilaoOnline.WebApp\Views\_ViewImports.cshtml"
using System;

#line default
#line hidden
#line 2 "C:\Users\copacabana_alura\Documents\Visual Studio 2017\Projects\Selenium.Tests\Alura.LeilaoOnline.WebApp\Views\_ViewImports.cshtml"
using System.Globalization;

#line default
#line hidden
#line 3 "C:\Users\copacabana_alura\Documents\Visual Studio 2017\Projects\Selenium.Tests\Alura.LeilaoOnline.WebApp\Views\_ViewImports.cshtml"
using Alura.LeilaoOnline.Core;

#line default
#line hidden
#line 4 "C:\Users\copacabana_alura\Documents\Visual Studio 2017\Projects\Selenium.Tests\Alura.LeilaoOnline.WebApp\Views\_ViewImports.cshtml"
using Alura.LeilaoOnline.WebApp.Models;

#line default
#line hidden
#line 5 "C:\Users\copacabana_alura\Documents\Visual Studio 2017\Projects\Selenium.Tests\Alura.LeilaoOnline.WebApp\Views\_ViewImports.cshtml"
using Alura.LeilaoOnline.WebApp.Extensions;

#line default
#line hidden
#line 6 "C:\Users\copacabana_alura\Documents\Visual Studio 2017\Projects\Selenium.Tests\Alura.LeilaoOnline.WebApp\Views\_ViewImports.cshtml"
using Humanizer;

#line default
#line hidden
    [global::Microsoft.AspNetCore.Razor.Hosting.RazorSourceChecksumAttribute(@"SHA1", @"8b38c6a2370f6089dded749fca9ae76527b0d5af", @"/Views/Shared/DisplayTemplates/LeilaoAntesDoPregao.cshtml")]
    [global::Microsoft.AspNetCore.Razor.Hosting.RazorSourceChecksumAttribute(@"SHA1", @"e0561bac95bfd946575bd5868d8b531582dc7ff7", @"/Views/_ViewImports.cshtml")]
    public class Views_Shared_DisplayTemplates_LeilaoAntesDoPregao : global::Microsoft.AspNetCore.Mvc.Razor.RazorPage<EstadoLeilao>
    {
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
            BeginContext(20, 1, true);
            WriteLiteral("\n");
            EndContext();
#line 3 "C:\Users\copacabana_alura\Documents\Visual Studio 2017\Projects\Selenium.Tests\Alura.LeilaoOnline.WebApp\Views\Shared\DisplayTemplates\LeilaoAntesDoPregao.cshtml"
   
    LeilaoViewModel leilao = ViewData["Leilao"] as LeilaoViewModel;
    Usuario usuarioLogado = ViewData["UsuarioLogado"] as Usuario;
    TimeSpan comecaEm = DateTime.Now - leilao.InicioPregao;

#line default
#line hidden
            BeginContext(221, 174, true);
            WriteLiteral("\n<div class=\"card estado\">\n    <div class=\"brown darken-3 white-text center-align\">\n        <h4>\n            <i class=\"fas fa-hourglass-start\"></i>\n        </h4>\n        <h5>");
            EndContext();
            BeginContext(396, 17, false);
#line 14 "C:\Users\copacabana_alura\Documents\Visual Studio 2017\Projects\Selenium.Tests\Alura.LeilaoOnline.WebApp\Views\Shared\DisplayTemplates\LeilaoAntesDoPregao.cshtml"
       Write(Model.ParaTexto());

#line default
#line hidden
            EndContext();
            BeginContext(413, 27, true);
            WriteLiteral("</h5>\n        <p>Começa em ");
            EndContext();
            BeginContext(441, 19, false);
#line 15 "C:\Users\copacabana_alura\Documents\Visual Studio 2017\Projects\Selenium.Tests\Alura.LeilaoOnline.WebApp\Views\Shared\DisplayTemplates\LeilaoAntesDoPregao.cshtml"
                Write(comecaEm.Humanize());

#line default
#line hidden
            EndContext();
            BeginContext(460, 87, true);
            WriteLiteral(".</p>\n    </div>\n    <div class=\"center-align brown-text text-darken-3\" data-idLeilao=\"");
            EndContext();
            BeginContext(548, 9, false);
#line 17 "C:\Users\copacabana_alura\Documents\Visual Studio 2017\Projects\Selenium.Tests\Alura.LeilaoOnline.WebApp\Views\Shared\DisplayTemplates\LeilaoAntesDoPregao.cshtml"
                                                                 Write(leilao.Id);

#line default
#line hidden
            EndContext();
            BeginContext(557, 22, true);
            WriteLiteral("\" data-idInteressada=\"");
            EndContext();
            BeginContext(580, 28, false);
#line 17 "C:\Users\copacabana_alura\Documents\Visual Studio 2017\Projects\Selenium.Tests\Alura.LeilaoOnline.WebApp\Views\Shared\DisplayTemplates\LeilaoAntesDoPregao.cshtml"
                                                                                                 Write(usuarioLogado.Interessada.Id);

#line default
#line hidden
            EndContext();
            BeginContext(608, 46, true);
            WriteLiteral("\">\n        <h6>Valor Inicial</h6>\n        <h5>");
            EndContext();
            BeginContext(655, 61, false);
#line 19 "C:\Users\copacabana_alura\Documents\Visual Studio 2017\Projects\Selenium.Tests\Alura.LeilaoOnline.WebApp\Views\Shared\DisplayTemplates\LeilaoAntesDoPregao.cshtml"
       Write(leilao.ValorInicial.ToString("C", CultureInfo.CurrentCulture));

#line default
#line hidden
            EndContext();
            BeginContext(716, 6, true);
            WriteLiteral("</h5>\n");
            EndContext();
#line 20 "C:\Users\copacabana_alura\Documents\Visual Studio 2017\Projects\Selenium.Tests\Alura.LeilaoOnline.WebApp\Views\Shared\DisplayTemplates\LeilaoAntesDoPregao.cshtml"
         if (usuarioLogado != null)
        {
            if (leilao.SendoSeguido)
            {

#line default
#line hidden
            BeginContext(819, 222, true);
            WriteLiteral("                <p>Você já está seguindo esse leilão.</p>\n                <button class=\"btn waves-effect waves-light brown darken-3 btn-flat white-text abandonar\">\n                    Abandonar!\n                </button>\n");
            EndContext();
#line 28 "C:\Users\copacabana_alura\Documents\Visual Studio 2017\Projects\Selenium.Tests\Alura.LeilaoOnline.WebApp\Views\Shared\DisplayTemplates\LeilaoAntesDoPregao.cshtml"
            }
            else
            {

#line default
#line hidden
            BeginContext(1086, 217, true);
            WriteLiteral("                <p>Você não está seguindo esse leilão.</p>\n                <button class=\"btn waves-effect waves-light brown darken-3 btn-flat white-text seguir\">\n                    Seguir!\n                </button>\n");
            EndContext();
#line 35 "C:\Users\copacabana_alura\Documents\Visual Studio 2017\Projects\Selenium.Tests\Alura.LeilaoOnline.WebApp\Views\Shared\DisplayTemplates\LeilaoAntesDoPregao.cshtml"
            }

        }

#line default
#line hidden
            BeginContext(1328, 17, true);
            WriteLiteral("    </div>\n</div>");
            EndContext();
        }
        #pragma warning restore 1998
        [global::Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute]
        public global::Microsoft.AspNetCore.Mvc.ViewFeatures.IModelExpressionProvider ModelExpressionProvider { get; private set; }
        [global::Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute]
        public global::Microsoft.AspNetCore.Mvc.IUrlHelper Url { get; private set; }
        [global::Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute]
        public global::Microsoft.AspNetCore.Mvc.IViewComponentHelper Component { get; private set; }
        [global::Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute]
        public global::Microsoft.AspNetCore.Mvc.Rendering.IJsonHelper Json { get; private set; }
        [global::Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute]
        public global::Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper<EstadoLeilao> Html { get; private set; }
    }
}
#pragma warning restore 1591
