#pragma checksum "D:\HANDICRAFT\BookRegistry\Client\Shared\MainLayout.razor" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "b5b28c6c14b2666b5d9d8422796bc722878f0ab5"
// <auto-generated/>
#pragma warning disable 1591
namespace BookRegistry.Client.Shared
{
    #line hidden
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Threading.Tasks;
    using Microsoft.AspNetCore.Components;
#nullable restore
#line 1 "D:\HANDICRAFT\BookRegistry\Client\_Imports.razor"
using System.Net.Http;

#line default
#line hidden
#nullable disable
#nullable restore
#line 2 "D:\HANDICRAFT\BookRegistry\Client\_Imports.razor"
using System.Net.Http.Json;

#line default
#line hidden
#nullable disable
#nullable restore
#line 3 "D:\HANDICRAFT\BookRegistry\Client\_Imports.razor"
using Microsoft.AspNetCore.Components.Forms;

#line default
#line hidden
#nullable disable
#nullable restore
#line 4 "D:\HANDICRAFT\BookRegistry\Client\_Imports.razor"
using Microsoft.AspNetCore.Components.Routing;

#line default
#line hidden
#nullable disable
#nullable restore
#line 5 "D:\HANDICRAFT\BookRegistry\Client\_Imports.razor"
using Microsoft.AspNetCore.Components.Web;

#line default
#line hidden
#nullable disable
#nullable restore
#line 6 "D:\HANDICRAFT\BookRegistry\Client\_Imports.razor"
using Microsoft.AspNetCore.Components.WebAssembly.Http;

#line default
#line hidden
#nullable disable
#nullable restore
#line 7 "D:\HANDICRAFT\BookRegistry\Client\_Imports.razor"
using Microsoft.AspNetCore.Authorization;

#line default
#line hidden
#nullable disable
#nullable restore
#line 8 "D:\HANDICRAFT\BookRegistry\Client\_Imports.razor"
using Microsoft.AspNetCore.Components.Authorization;

#line default
#line hidden
#nullable disable
#nullable restore
#line 11 "D:\HANDICRAFT\BookRegistry\Client\_Imports.razor"
using CommonHelpers.WASM;

#line default
#line hidden
#nullable disable
#nullable restore
#line 12 "D:\HANDICRAFT\BookRegistry\Client\_Imports.razor"
using AFXUI;

#line default
#line hidden
#nullable disable
#nullable restore
#line 14 "D:\HANDICRAFT\BookRegistry\Client\_Imports.razor"
using BookRegistry.Client;

#line default
#line hidden
#nullable disable
#nullable restore
#line 15 "D:\HANDICRAFT\BookRegistry\Client\_Imports.razor"
using BookRegistry.Client.DB;

#line default
#line hidden
#nullable disable
#nullable restore
#line 16 "D:\HANDICRAFT\BookRegistry\Client\_Imports.razor"
using BookRegistry.Client.Shared;

#line default
#line hidden
#nullable disable
#nullable restore
#line 17 "D:\HANDICRAFT\BookRegistry\Client\_Imports.razor"
using BookRegistry.Client.Components;

#line default
#line hidden
#nullable disable
#nullable restore
#line 18 "D:\HANDICRAFT\BookRegistry\Client\_Imports.razor"
using BookRegistry.Client.Pages;

#line default
#line hidden
#nullable disable
    public partial class MainLayout : ALayoutComponent
    {
        #pragma warning disable 1998
        protected override void BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder)
        {
#nullable restore
#line 2 "D:\HANDICRAFT\BookRegistry\Client\Shared\MainLayout.razor"
  try{

#line default
#line hidden
#nullable disable
            __builder.OpenComponent<BookRegistry.Client.Shared.MessageBox>(0);
            __builder.AddComponentReferenceCapture(1, (__value) => {
#nullable restore
#line 3 "D:\HANDICRAFT\BookRegistry\Client\Shared\MainLayout.razor"
                  MessageBoxInstance = (BookRegistry.Client.Shared.MessageBox)__value;

#line default
#line hidden
#nullable disable
            }
            );
            __builder.CloseComponent();
            __builder.AddMarkupContent(2, "\r\n");
            __builder.OpenComponent<BookRegistry.Client.Shared.ModalDialogFrame>(3);
            __builder.AddComponentReferenceCapture(4, (__value) => {
#nullable restore
#line 4 "D:\HANDICRAFT\BookRegistry\Client\Shared\MainLayout.razor"
                        ModalDialogInstance = (BookRegistry.Client.Shared.ModalDialogFrame)__value;

#line default
#line hidden
#nullable disable
            }
            );
            __builder.CloseComponent();
            __builder.AddMarkupContent(5, "\r\n\r\n");
            __builder.OpenElement(6, "div");
            __builder.AddElementReferenceCapture(7, (__value) => {
#nullable restore
#line 6 "D:\HANDICRAFT\BookRegistry\Client\Shared\MainLayout.razor"
           PageContentDIV = __value;

#line default
#line hidden
#nullable disable
            }
            );
#nullable restore
#line 7 "D:\HANDICRAFT\BookRegistry\Client\Shared\MainLayout.razor"
    if (!Session.IsOpen)
   {

#line default
#line hidden
#nullable disable
            __builder.OpenElement(8, "div");
            __builder.AddAttribute(9, "id", "mainlayout_XNavigationFloatRefDIV");
            __builder.AddAttribute(10, "style", "right:" + " " + (
#nullable restore
#line 9 "D:\HANDICRAFT\BookRegistry\Client\Shared\MainLayout.razor"
                                                              UMagistral.GetPageContentWidthDiff()

#line default
#line hidden
#nullable disable
            ) + "px");
#nullable restore
#line 10 "D:\HANDICRAFT\BookRegistry\Client\Shared\MainLayout.razor"
       if (App.IsOnAuthorizationPage)
      {

#line default
#line hidden
#nullable disable
            __builder.OpenComponent<BookRegistry.Client.Shared.AHRef>(11);
            __builder.AddAttribute(12, "HRef", "/");
            __builder.AddAttribute(13, "Title", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.String>(
#nullable restore
#line 12 "D:\HANDICRAFT\BookRegistry\Client\Shared\MainLayout.razor"
                             ToHomePageHRTile

#line default
#line hidden
#nullable disable
            ));
            __builder.AddAttribute(14, "AccessKey", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.String>(
#nullable restore
#line 12 "D:\HANDICRAFT\BookRegistry\Client\Shared\MainLayout.razor"
                                                         ToHomePageAccessKey

#line default
#line hidden
#nullable disable
            ));
            __builder.AddAttribute(15, "Focusable", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
#nullable restore
#line 13 "D:\HANDICRAFT\BookRegistry\Client\Shared\MainLayout.razor"
                        false

#line default
#line hidden
#nullable disable
            ));
            __builder.AddAttribute(16, "ON_Click", new System.Action(
#nullable restore
#line 13 "D:\HANDICRAFT\BookRegistry\Client\Shared\MainLayout.razor"
                                        ToHomePageHR_OnClick

#line default
#line hidden
#nullable disable
            ));
            __builder.AddAttribute(17, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((__builder2) => {
                __builder2.AddContent(18, 
#nullable restore
#line 13 "D:\HANDICRAFT\BookRegistry\Client\Shared\MainLayout.razor"
                                                              ToHomePageHRCaption_Markup

#line default
#line hidden
#nullable disable
                );
            }
            ));
            __builder.CloseComponent();
#nullable restore
#line 14 "D:\HANDICRAFT\BookRegistry\Client\Shared\MainLayout.razor"
      }

#line default
#line hidden
#nullable disable
#nullable restore
#line 15 "D:\HANDICRAFT\BookRegistry\Client\Shared\MainLayout.razor"
       if (HomePage.IsOnSelectionSubPage)
      {

#line default
#line hidden
#nullable disable
            __builder.OpenComponent<BookRegistry.Client.Shared.AHRef>(19);
            __builder.AddAttribute(20, "HRef", "/authorization");
            __builder.AddAttribute(21, "Title", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.String>(
#nullable restore
#line 17 "D:\HANDICRAFT\BookRegistry\Client\Shared\MainLayout.razor"
                                          ToAuthorizationHRTile

#line default
#line hidden
#nullable disable
            ));
            __builder.AddAttribute(22, "AccessKey", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.String>(
#nullable restore
#line 17 "D:\HANDICRAFT\BookRegistry\Client\Shared\MainLayout.razor"
                                                                           ToAuthorizationAccessKey

#line default
#line hidden
#nullable disable
            ));
            __builder.AddAttribute(23, "Focusable", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
#nullable restore
#line 18 "D:\HANDICRAFT\BookRegistry\Client\Shared\MainLayout.razor"
                        false

#line default
#line hidden
#nullable disable
            ));
            __builder.AddAttribute(24, "ON_Click", new System.Action(
#nullable restore
#line 18 "D:\HANDICRAFT\BookRegistry\Client\Shared\MainLayout.razor"
                                        ToAuthorizationHR_OnClick

#line default
#line hidden
#nullable disable
            ));
            __builder.AddAttribute(25, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((__builder2) => {
                __builder2.AddContent(26, 
#nullable restore
#line 18 "D:\HANDICRAFT\BookRegistry\Client\Shared\MainLayout.razor"
                                                                   ToAuthorizationHRCaption_Markup

#line default
#line hidden
#nullable disable
                );
            }
            ));
            __builder.CloseComponent();
#nullable restore
#line 19 "D:\HANDICRAFT\BookRegistry\Client\Shared\MainLayout.razor"
      }

#line default
#line hidden
#nullable disable
            __builder.CloseElement();
#nullable restore
#line 21 "D:\HANDICRAFT\BookRegistry\Client\Shared\MainLayout.razor"
   }

#line default
#line hidden
#nullable disable
#nullable restore
#line 22 "D:\HANDICRAFT\BookRegistry\Client\Shared\MainLayout.razor"
    if (Session.IsOpen)
   {

#line default
#line hidden
#nullable disable
            __builder.OpenElement(27, "div");
            __builder.AddAttribute(28, "id", "mainlayout_SessionHeaderDIV");
            __builder.OpenElement(29, "div");
            __builder.AddAttribute(30, "id", "mainlayout_SessionElementsDIV");
            __builder.OpenElement(31, "b");
            __builder.AddContent(32, 
#nullable restore
#line 26 "D:\HANDICRAFT\BookRegistry\Client\Shared\MainLayout.razor"
             USR.LoginName

#line default
#line hidden
#nullable disable
            );
            __builder.CloseElement();
            __builder.AddContent(33, ": ");
            __builder.AddContent(34, 
#nullable restore
#line 26 "D:\HANDICRAFT\BookRegistry\Client\Shared\MainLayout.razor"
                                 USR.Initials

#line default
#line hidden
#nullable disable
            );
            __builder.AddMarkupContent(35, "\r\n         ");
            __builder.OpenElement(36, "span");
            __builder.AddAttribute(37, "class", "faint_text");
            __builder.AddContent(38, 
#nullable restore
#line 28 "D:\HANDICRAFT\BookRegistry\Client\Shared\MainLayout.razor"
              USR.IsAdministrator ? "(administrator)" : null

#line default
#line hidden
#nullable disable
            );
            __builder.AddMarkupContent(39, " |\r\n            Logged-in: ");
            __builder.OpenElement(40, "b");
            __builder.AddContent(41, 
#nullable restore
#line 29 "D:\HANDICRAFT\BookRegistry\Client\Shared\MainLayout.razor"
                           Session.LoginTime.ToShortTimeString()

#line default
#line hidden
#nullable disable
            );
            __builder.CloseElement();
            __builder.AddMarkupContent(42, " (loc.)&nbsp;\r\n         ");
            __builder.CloseElement();
            __builder.CloseElement();
            __builder.AddMarkupContent(43, "\r\n      ");
            __builder.OpenComponent<BookRegistry.Client.Shared.AButton>(44);
            __builder.AddAttribute(45, "ID", "mainlayout_CloseSessionBUTTON");
            __builder.AddAttribute(46, "Classes_0", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.String>(
#nullable restore
#line 32 "D:\HANDICRAFT\BookRegistry\Client\Shared\MainLayout.razor"
                                                             null

#line default
#line hidden
#nullable disable
            ));
            __builder.AddAttribute(47, "TabIndex", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Int32?>(
#nullable restore
#line 32 "D:\HANDICRAFT\BookRegistry\Client\Shared\MainLayout.razor"
                                                                           -1

#line default
#line hidden
#nullable disable
            ));
            __builder.AddAttribute(48, "Title", "Close session (reset credentials, reload current page)");
            __builder.AddAttribute(49, "Focusable", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
#nullable restore
#line 34 "D:\HANDICRAFT\BookRegistry\Client\Shared\MainLayout.razor"
                          false

#line default
#line hidden
#nullable disable
            ));
            __builder.AddAttribute(50, "ON_Click", new System.Action(
#nullable restore
#line 35 "D:\HANDICRAFT\BookRegistry\Client\Shared\MainLayout.razor"
                         CloseSessionBUTTON_OnClick

#line default
#line hidden
#nullable disable
            ));
            __builder.AddAttribute(51, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((__builder2) => {
                __builder2.AddContent(52, "Log-off");
            }
            ));
            __builder.CloseComponent();
            __builder.AddMarkupContent(53, "\r\n      ");
            __builder.OpenElement(54, "div");
            __builder.AddAttribute(55, "id", "mainlayout_XNavigationHeaderRefDIV");
#nullable restore
#line 37 "D:\HANDICRAFT\BookRegistry\Client\Shared\MainLayout.razor"
          if (App.IsOnAuthorizationPage)
         {

#line default
#line hidden
#nullable disable
            __builder.OpenComponent<BookRegistry.Client.Shared.AHRef>(56);
            __builder.AddAttribute(57, "HRef", "/");
            __builder.AddAttribute(58, "Title", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.String>(
#nullable restore
#line 39 "D:\HANDICRAFT\BookRegistry\Client\Shared\MainLayout.razor"
                                ToHomePageHRTile

#line default
#line hidden
#nullable disable
            ));
            __builder.AddAttribute(59, "Focusable", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
#nullable restore
#line 40 "D:\HANDICRAFT\BookRegistry\Client\Shared\MainLayout.razor"
                           false

#line default
#line hidden
#nullable disable
            ));
            __builder.AddAttribute(60, "NavigateAuto", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
#nullable restore
#line 40 "D:\HANDICRAFT\BookRegistry\Client\Shared\MainLayout.razor"
                                               true

#line default
#line hidden
#nullable disable
            ));
            __builder.AddAttribute(61, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((__builder2) => {
                __builder2.AddContent(62, 
#nullable restore
#line 40 "D:\HANDICRAFT\BookRegistry\Client\Shared\MainLayout.razor"
                                                     ToHomePageHRCaption

#line default
#line hidden
#nullable disable
                );
            }
            ));
            __builder.CloseComponent();
#nullable restore
#line 41 "D:\HANDICRAFT\BookRegistry\Client\Shared\MainLayout.razor"
         }
         else
         {

#line default
#line hidden
#nullable disable
            __builder.OpenComponent<BookRegistry.Client.Shared.AHRef>(63);
            __builder.AddAttribute(64, "HRef", "/authorization");
            __builder.AddAttribute(65, "Title", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.String>(
#nullable restore
#line 44 "D:\HANDICRAFT\BookRegistry\Client\Shared\MainLayout.razor"
                                             ToAuthorizationHRTile

#line default
#line hidden
#nullable disable
            ));
            __builder.AddAttribute(66, "Focusable", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
#nullable restore
#line 45 "D:\HANDICRAFT\BookRegistry\Client\Shared\MainLayout.razor"
                           false

#line default
#line hidden
#nullable disable
            ));
            __builder.AddAttribute(67, "NavigateAuto", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
#nullable restore
#line 45 "D:\HANDICRAFT\BookRegistry\Client\Shared\MainLayout.razor"
                                               true

#line default
#line hidden
#nullable disable
            ));
            __builder.AddAttribute(68, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((__builder2) => {
                __builder2.AddContent(69, 
#nullable restore
#line 45 "D:\HANDICRAFT\BookRegistry\Client\Shared\MainLayout.razor"
                                                     ToAuthorizationHRCaption

#line default
#line hidden
#nullable disable
                );
            }
            ));
            __builder.CloseComponent();
#nullable restore
#line 46 "D:\HANDICRAFT\BookRegistry\Client\Shared\MainLayout.razor"
         }

#line default
#line hidden
#nullable disable
            __builder.CloseElement();
            __builder.CloseElement();
#nullable restore
#line 49 "D:\HANDICRAFT\BookRegistry\Client\Shared\MainLayout.razor"
   }

#line default
#line hidden
#nullable disable
            __builder.OpenElement(70, "div");
            __builder.AddAttribute(71, "id", "mainlayout_BodyDIV");
            __builder.AddContent(72, 
#nullable restore
#line 51 "D:\HANDICRAFT\BookRegistry\Client\Shared\MainLayout.razor"
       Body

#line default
#line hidden
#nullable disable
            );
            __builder.CloseElement();
            __builder.CloseElement();
#nullable restore
#line 55 "D:\HANDICRAFT\BookRegistry\Client\Shared\MainLayout.razor"
}catch(Exception e){ProcessRenderingError(GetType(),e,false);}

#line default
#line hidden
#nullable disable
        }
        #pragma warning restore 1998
    }
}
#pragma warning restore 1591
