#pragma checksum "D:\Work\Caritas\CaritasPWA\Shared\NavMenu.razor" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "1d60d0e8140e16fff6ba108f7aa2a299015a6a5f"
// <auto-generated/>
#pragma warning disable 1591
namespace CaritasPWA.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:\Work\Caritas\CaritasPWA\_Imports.razor"
using System.Net.Http;

#line default
#line hidden
#nullable disable
#nullable restore
#line 2 "D:\Work\Caritas\CaritasPWA\_Imports.razor"
using System.Net.Http.Json;

#line default
#line hidden
#nullable disable
#nullable restore
#line 3 "D:\Work\Caritas\CaritasPWA\_Imports.razor"
using Microsoft.AspNetCore.Components.Forms;

#line default
#line hidden
#nullable disable
#nullable restore
#line 4 "D:\Work\Caritas\CaritasPWA\_Imports.razor"
using Microsoft.AspNetCore.Components.Routing;

#line default
#line hidden
#nullable disable
#nullable restore
#line 5 "D:\Work\Caritas\CaritasPWA\_Imports.razor"
using Microsoft.AspNetCore.Components.Web;

#line default
#line hidden
#nullable disable
#nullable restore
#line 6 "D:\Work\Caritas\CaritasPWA\_Imports.razor"
using Microsoft.AspNetCore.Components.WebAssembly.Http;

#line default
#line hidden
#nullable disable
#nullable restore
#line 7 "D:\Work\Caritas\CaritasPWA\_Imports.razor"
using Microsoft.JSInterop;

#line default
#line hidden
#nullable disable
#nullable restore
#line 8 "D:\Work\Caritas\CaritasPWA\_Imports.razor"
using CaritasPWA;

#line default
#line hidden
#nullable disable
#nullable restore
#line 9 "D:\Work\Caritas\CaritasPWA\_Imports.razor"
using CaritasPWA.Shared;

#line default
#line hidden
#nullable disable
#nullable restore
#line 10 "D:\Work\Caritas\CaritasPWA\_Imports.razor"
using MatBlazor;

#line default
#line hidden
#nullable disable
    public partial class NavMenu : Microsoft.AspNetCore.Components.ComponentBase
    {
        #pragma warning disable 1998
        protected override void BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder)
        {
            __builder.OpenComponent<MatBlazor.MatAppBarContainer>(0);
            __builder.AddAttribute(1, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((__builder2) => {
                __builder2.AddMarkupContent(2, "\r\n    ");
                __builder2.OpenComponent<MatBlazor.MatAppBar>(3);
                __builder2.AddAttribute(4, "Fixed", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
#nullable restore
#line 2 "D:\Work\Caritas\CaritasPWA\Shared\NavMenu.razor"
                      true

#line default
#line hidden
#nullable disable
                ));
                __builder2.AddAttribute(5, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((__builder3) => {
                    __builder3.AddMarkupContent(6, "\r\n        ");
                    __builder3.OpenComponent<MatBlazor.MatAppBarRow>(7);
                    __builder3.AddAttribute(8, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((__builder4) => {
                        __builder4.AddMarkupContent(9, "\r\n            ");
                        __builder4.OpenComponent<MatBlazor.MatAppBarSection>(10);
                        __builder4.AddAttribute(11, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((__builder5) => {
                            __builder5.AddMarkupContent(12, "\r\n                ");
                            __builder5.OpenComponent<MatBlazor.MatIconButton>(13);
                            __builder5.AddAttribute(14, "Icon", "menu");
                            __builder5.AddAttribute(15, "OnClick", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<Microsoft.AspNetCore.Components.EventCallback<Microsoft.AspNetCore.Components.Web.MouseEventArgs>>(Microsoft.AspNetCore.Components.EventCallback.Factory.Create<Microsoft.AspNetCore.Components.Web.MouseEventArgs>(this, 
#nullable restore
#line 5 "D:\Work\Caritas\CaritasPWA\Shared\NavMenu.razor"
                                                      (e) => ButtonClicked()

#line default
#line hidden
#nullable disable
                            )));
                            __builder5.CloseComponent();
                            __builder5.AddMarkupContent(16, "\r\n                ");
                            __builder5.OpenComponent<MatBlazor.MatAppBarTitle>(17);
                            __builder5.AddAttribute(18, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((__builder6) => {
                                __builder6.AddContent(19, "CaritasPWA");
                            }
                            ));
                            __builder5.CloseComponent();
                            __builder5.AddMarkupContent(20, "\r\n            ");
                        }
                        ));
                        __builder4.CloseComponent();
                        __builder4.AddMarkupContent(21, "\r\n            ");
                        __builder4.OpenComponent<MatBlazor.MatAppBarSection>(22);
                        __builder4.AddAttribute(23, "Align", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<MatBlazor.MatAppBarSectionAlign>(
#nullable restore
#line 19 "D:\Work\Caritas\CaritasPWA\Shared\NavMenu.razor"
                                      MatAppBarSectionAlign.End

#line default
#line hidden
#nullable disable
                        ));
                        __builder4.AddAttribute(24, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((__builder5) => {
                            __builder5.AddMarkupContent(25, "\r\n                ");
                            __builder5.OpenComponent<Microsoft.AspNetCore.Components.Routing.NavLink>(26);
                            __builder5.AddAttribute(27, "class", "text-white");
                            __builder5.AddAttribute(28, "href", "http://blazor.net");
                            __builder5.AddAttribute(29, "Align", 
#nullable restore
#line 20 "D:\Work\Caritas\CaritasPWA\Shared\NavMenu.razor"
                                                                             MatAppBarSectionAlign.End

#line default
#line hidden
#nullable disable
                            );
                            __builder5.AddAttribute(30, "Style", "padding-right:1em");
                            __builder5.AddAttribute(31, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((__builder6) => {
                                __builder6.AddContent(32, "About");
                            }
                            ));
                            __builder5.CloseComponent();
                            __builder5.AddMarkupContent(33, "\r\n            ");
                        }
                        ));
                        __builder4.CloseComponent();
                        __builder4.AddMarkupContent(34, "\r\n        ");
                    }
                    ));
                    __builder3.CloseComponent();
                    __builder3.AddMarkupContent(35, "\r\n    ");
                }
                ));
                __builder2.CloseComponent();
                __builder2.AddMarkupContent(36, "\r\n    ");
                __builder2.OpenComponent<MatBlazor.MatAppBarContent>(37);
                __builder2.AddAttribute(38, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((__builder3) => {
                    __builder3.AddMarkupContent(39, "\r\n        ");
                    __builder3.OpenComponent<MatBlazor.MatDrawerContainer>(40);
                    __builder3.AddAttribute(41, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((__builder4) => {
                        __builder4.AddMarkupContent(42, "\r\n            ");
                        __builder4.OpenComponent<MatBlazor.MatDrawer>(43);
                        __builder4.AddAttribute(44, "Mode", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<MatBlazor.MatDrawerMode>(
#nullable restore
#line 26 "D:\Work\Caritas\CaritasPWA\Shared\NavMenu.razor"
                                                     MatDrawerMode.Modal

#line default
#line hidden
#nullable disable
                        ));
                        __builder4.AddAttribute(45, "Opened", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.Boolean>(
#nullable restore
#line 26 "D:\Work\Caritas\CaritasPWA\Shared\NavMenu.razor"
                                      Opened

#line default
#line hidden
#nullable disable
                        ));
                        __builder4.AddAttribute(46, "OpenedChanged", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<Microsoft.AspNetCore.Components.EventCallback<System.Boolean>>(Microsoft.AspNetCore.Components.EventCallback.Factory.Create<System.Boolean>(this, Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.CreateInferredEventCallback(this, __value => Opened = __value, Opened))));
                        __builder4.AddAttribute(47, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((__builder5) => {
                            __builder5.AddMarkupContent(48, "\r\n                ");
                            __builder5.OpenComponent<MatBlazor.MatList>(49);
                            __builder5.AddAttribute(50, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((__builder6) => {
                                __builder6.AddMarkupContent(51, "\r\n                    ");
                                __builder6.OpenComponent<MatBlazor.MatListItem>(52);
                                __builder6.AddAttribute(53, "Class", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.String>(
#nullable restore
#line 28 "D:\Work\Caritas\CaritasPWA\Shared\NavMenu.razor"
                                          (Index == 1)?"bg-primary-color text-white" : ""

#line default
#line hidden
#nullable disable
                                ));
                                __builder6.AddAttribute(54, "href", "");
                                __builder6.AddAttribute(55, "Match", "NavLinkMatch.All");
                                __builder6.AddAttribute(56, "onclick", Microsoft.AspNetCore.Components.EventCallback.Factory.Create<Microsoft.AspNetCore.Components.Web.MouseEventArgs>(this, 
#nullable restore
#line 31 "D:\Work\Caritas\CaritasPWA\Shared\NavMenu.razor"
                                             (e) => ButtonClicked(1)

#line default
#line hidden
#nullable disable
                                ));
                                __builder6.AddAttribute(57, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((__builder7) => {
                                    __builder7.AddMarkupContent(58, "\r\n                        ");
                                    __builder7.OpenComponent<MatBlazor.MatIcon>(59);
                                    __builder7.AddAttribute(60, "Icon", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.String>(
#nullable restore
#line 32 "D:\Work\Caritas\CaritasPWA\Shared\NavMenu.razor"
                                        MatIconNames.Apps

#line default
#line hidden
#nullable disable
                                    ));
                                    __builder7.CloseComponent();
                                    __builder7.AddMarkupContent(61, "\r\n                        ");
                                    __builder7.OpenComponent<MatBlazor.MatListItemText>(62);
                                    __builder7.AddAttribute(63, "Style", "padding-left:0.5em");
                                    __builder7.AddAttribute(64, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((__builder8) => {
                                        __builder8.AddContent(65, "Caritas Dienste");
                                    }
                                    ));
                                    __builder7.CloseComponent();
                                    __builder7.AddMarkupContent(66, "\r\n                    ");
                                }
                                ));
                                __builder6.CloseComponent();
                                __builder6.AddMarkupContent(67, "\r\n                    ");
                                __builder6.OpenComponent<MatBlazor.MatListItem>(68);
                                __builder6.AddAttribute(69, "Class", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.String>(
#nullable restore
#line 35 "D:\Work\Caritas\CaritasPWA\Shared\NavMenu.razor"
                                          (Index == 2)?"bg-primary-color text-white" : ""

#line default
#line hidden
#nullable disable
                                ));
                                __builder6.AddAttribute(70, "Href", "counter");
                                __builder6.AddAttribute(71, "onclick", Microsoft.AspNetCore.Components.EventCallback.Factory.Create<Microsoft.AspNetCore.Components.Web.MouseEventArgs>(this, 
#nullable restore
#line 37 "D:\Work\Caritas\CaritasPWA\Shared\NavMenu.razor"
                                             (e) => ButtonClicked(2)

#line default
#line hidden
#nullable disable
                                ));
                                __builder6.AddAttribute(72, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((__builder7) => {
                                    __builder7.AddMarkupContent(73, "\r\n                        ");
                                    __builder7.OpenComponent<MatBlazor.MatIcon>(74);
                                    __builder7.AddAttribute(75, "Icon", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.String>(
#nullable restore
#line 38 "D:\Work\Caritas\CaritasPWA\Shared\NavMenu.razor"
                                        MatIconNames.Person_outline

#line default
#line hidden
#nullable disable
                                    ));
                                    __builder7.CloseComponent();
                                    __builder7.AddMarkupContent(76, "\r\n                        ");
                                    __builder7.OpenComponent<MatBlazor.MatListItemText>(77);
                                    __builder7.AddAttribute(78, "Style", "padding-left:0.5em");
                                    __builder7.AddAttribute(79, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((__builder8) => {
                                        __builder8.AddContent(80, "Konto");
                                    }
                                    ));
                                    __builder7.CloseComponent();
                                    __builder7.AddMarkupContent(81, "\r\n                    ");
                                }
                                ));
                                __builder6.CloseComponent();
                                __builder6.AddMarkupContent(82, "\r\n                    ");
                                __builder6.OpenComponent<MatBlazor.MatListItem>(83);
                                __builder6.AddAttribute(84, "Class", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.String>(
#nullable restore
#line 41 "D:\Work\Caritas\CaritasPWA\Shared\NavMenu.razor"
                                          (Index == 3)?"bg-primary-color text-white" : ""

#line default
#line hidden
#nullable disable
                                ));
                                __builder6.AddAttribute(85, "Href", "fetchdata");
                                __builder6.AddAttribute(86, "onclick", Microsoft.AspNetCore.Components.EventCallback.Factory.Create<Microsoft.AspNetCore.Components.Web.MouseEventArgs>(this, 
#nullable restore
#line 43 "D:\Work\Caritas\CaritasPWA\Shared\NavMenu.razor"
                                             (e) => ButtonClicked(3)

#line default
#line hidden
#nullable disable
                                ));
                                __builder6.AddAttribute(87, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((__builder7) => {
                                    __builder7.AddMarkupContent(88, "\r\n                        ");
                                    __builder7.OpenComponent<MatBlazor.MatIcon>(89);
                                    __builder7.AddAttribute(90, "Icon", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.String>(
#nullable restore
#line 44 "D:\Work\Caritas\CaritasPWA\Shared\NavMenu.razor"
                                        MatIconNames.Error_outline

#line default
#line hidden
#nullable disable
                                    ));
                                    __builder7.AddAttribute(91, "Style", "transform: rotate(180deg)");
                                    __builder7.CloseComponent();
                                    __builder7.AddMarkupContent(92, "\r\n                        ");
                                    __builder7.OpenComponent<MatBlazor.MatListItemText>(93);
                                    __builder7.AddAttribute(94, "Style", "padding-left:0.5em");
                                    __builder7.AddAttribute(95, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((__builder8) => {
                                        __builder8.AddContent(96, "Info");
                                    }
                                    ));
                                    __builder7.CloseComponent();
                                    __builder7.AddMarkupContent(97, "\r\n                    ");
                                }
                                ));
                                __builder6.CloseComponent();
                                __builder6.AddMarkupContent(98, "\r\n                    ");
                                __builder6.OpenComponent<MatBlazor.MatListItem>(99);
                                __builder6.AddAttribute(100, "Class", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.String>(
#nullable restore
#line 47 "D:\Work\Caritas\CaritasPWA\Shared\NavMenu.razor"
                                          (Index == 4)?"bg-primary-color text-white" : ""

#line default
#line hidden
#nullable disable
                                ));
                                __builder6.AddAttribute(101, "Href", "counter");
                                __builder6.AddAttribute(102, "onclick", Microsoft.AspNetCore.Components.EventCallback.Factory.Create<Microsoft.AspNetCore.Components.Web.MouseEventArgs>(this, 
#nullable restore
#line 49 "D:\Work\Caritas\CaritasPWA\Shared\NavMenu.razor"
                                             (e) => ButtonClicked(4)

#line default
#line hidden
#nullable disable
                                ));
                                __builder6.AddAttribute(103, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((__builder7) => {
                                    __builder7.AddMarkupContent(104, "\r\n                        ");
                                    __builder7.OpenComponent<MatBlazor.MatIcon>(105);
                                    __builder7.AddAttribute(106, "Icon", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<System.String>(
#nullable restore
#line 50 "D:\Work\Caritas\CaritasPWA\Shared\NavMenu.razor"
                                        MatIconNames.Exit_to_app

#line default
#line hidden
#nullable disable
                                    ));
                                    __builder7.CloseComponent();
                                    __builder7.AddMarkupContent(107, "\r\n                        ");
                                    __builder7.OpenComponent<MatBlazor.MatListItemText>(108);
                                    __builder7.AddAttribute(109, "Style", "padding-left:0.5em");
                                    __builder7.AddAttribute(110, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((__builder8) => {
                                        __builder8.AddContent(111, "Logout");
                                    }
                                    ));
                                    __builder7.CloseComponent();
                                    __builder7.AddMarkupContent(112, "\r\n                    ");
                                }
                                ));
                                __builder6.CloseComponent();
                                __builder6.AddMarkupContent(113, "\r\n                ");
                            }
                            ));
                            __builder5.CloseComponent();
                            __builder5.AddMarkupContent(114, "\r\n            ");
                        }
                        ));
                        __builder4.CloseComponent();
                        __builder4.AddMarkupContent(115, "\r\n        ");
                    }
                    ));
                    __builder3.CloseComponent();
                    __builder3.AddMarkupContent(116, "\r\n\r\n    ");
                }
                ));
                __builder2.CloseComponent();
                __builder2.AddMarkupContent(117, "\r\n");
            }
            ));
            __builder.CloseComponent();
        }
        #pragma warning restore 1998
#nullable restore
#line 62 "D:\Work\Caritas\CaritasPWA\Shared\NavMenu.razor"
 
    bool Opened = false;

    int Index = 0;

    void ButtonClicked() {
        Opened = !Opened;
    }

    void ButtonClicked(int _Index) {
        Index = _Index;
        ButtonClicked();
    }

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