#pragma checksum "C:\Users\alestoya\Desktop\Apps\TelerikAspNetCoreApp29\TelerikAspNetCoreApp29\Views\Home\Index.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "5981d542e484d1e7f12461bfdf69dea754c6a256"
// <auto-generated/>
#pragma warning disable 1591
[assembly: global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemAttribute(typeof(AspNetCore.Views_Home_Index), @"mvc.1.0.view", @"/Views/Home/Index.cshtml")]
namespace AspNetCore
{
    #line hidden
    using System;
    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;
#nullable restore
#line 1 "C:\Users\alestoya\Desktop\Apps\TelerikAspNetCoreApp29\TelerikAspNetCoreApp29\Views\_ViewImports.cshtml"
using TelerikAspNetCoreApp29;

#line default
#line hidden
#nullable disable
#nullable restore
#line 2 "C:\Users\alestoya\Desktop\Apps\TelerikAspNetCoreApp29\TelerikAspNetCoreApp29\Views\_ViewImports.cshtml"
using Kendo.Mvc.UI;

#line default
#line hidden
#nullable disable
    [global::Microsoft.AspNetCore.Razor.Hosting.RazorSourceChecksumAttribute(@"SHA1", @"5981d542e484d1e7f12461bfdf69dea754c6a256", @"/Views/Home/Index.cshtml")]
    [global::Microsoft.AspNetCore.Razor.Hosting.RazorSourceChecksumAttribute(@"SHA1", @"d453951d515f96b2c7207ade3887ba8c10e8d735", @"/Views/_ViewImports.cshtml")]
    public class Views_Home_Index : global::Microsoft.AspNetCore.Mvc.Razor.RazorPage<dynamic>
    {
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
#nullable restore
#line 1 "C:\Users\alestoya\Desktop\Apps\TelerikAspNetCoreApp29\TelerikAspNetCoreApp29\Views\Home\Index.cshtml"
  
    ViewData["Title"] = "Home Page";

#line default
#line hidden
#nullable disable
            WriteLiteral("\r\n");
#nullable restore
#line 5 "C:\Users\alestoya\Desktop\Apps\TelerikAspNetCoreApp29\TelerikAspNetCoreApp29\Views\Home\Index.cshtml"
 using (Html.BeginForm("Index", "Home", FormMethod.Post))
{

#line default
#line hidden
#nullable disable
            WriteLiteral("    <div class=\"configurator\">\r\n        <div class=\"header\">Configurator</div>\r\n    <div class=\"box-col\">\r\n        <h4>Animation Settings</h4>\r\n         <ul class=\"options\">\r\n            <li>\r\n                ");
#nullable restore
#line 13 "C:\Users\alestoya\Desktop\Apps\TelerikAspNetCoreApp29\TelerikAspNetCoreApp29\Views\Home\Index.cshtml"
           Write(Html.RadioButton("animation", "zoom"));

#line default
#line hidden
#nullable disable
            WriteLiteral("\r\n                ");
#nullable restore
#line 14 "C:\Users\alestoya\Desktop\Apps\TelerikAspNetCoreApp29\TelerikAspNetCoreApp29\Views\Home\Index.cshtml"
           Write(Html.Label("zoom", "default/zoom animation"));

#line default
#line hidden
#nullable disable
            WriteLiteral("\r\n            </li>\r\n            <li>\r\n                ");
#nullable restore
#line 17 "C:\Users\alestoya\Desktop\Apps\TelerikAspNetCoreApp29\TelerikAspNetCoreApp29\Views\Home\Index.cshtml"
           Write(Html.RadioButton("animation", "toggle"));

#line default
#line hidden
#nullable disable
            WriteLiteral("\r\n                ");
#nullable restore
#line 18 "C:\Users\alestoya\Desktop\Apps\TelerikAspNetCoreApp29\TelerikAspNetCoreApp29\Views\Home\Index.cshtml"
           Write(Html.Label("toggle", "toggle animation"));

#line default
#line hidden
#nullable disable
            WriteLiteral("\r\n            </li>\r\n            <li>\r\n                 ");
#nullable restore
#line 21 "C:\Users\alestoya\Desktop\Apps\TelerikAspNetCoreApp29\TelerikAspNetCoreApp29\Views\Home\Index.cshtml"
            Write(Html.RadioButton("animation", "expand"));

#line default
#line hidden
#nullable disable
            WriteLiteral("\r\n                 ");
#nullable restore
#line 22 "C:\Users\alestoya\Desktop\Apps\TelerikAspNetCoreApp29\TelerikAspNetCoreApp29\Views\Home\Index.cshtml"
            Write(Html.Label("expand", "expand animation"));

#line default
#line hidden
#nullable disable
            WriteLiteral("\r\n            </li>\r\n            <li>\r\n                 ");
#nullable restore
#line 25 "C:\Users\alestoya\Desktop\Apps\TelerikAspNetCoreApp29\TelerikAspNetCoreApp29\Views\Home\Index.cshtml"
            Write(Html.CheckBox("opacity"));

#line default
#line hidden
#nullable disable
            WriteLiteral("\r\n                 ");
#nullable restore
#line 26 "C:\Users\alestoya\Desktop\Apps\TelerikAspNetCoreApp29\TelerikAspNetCoreApp29\Views\Home\Index.cshtml"
            Write(Html.Label("opacity", "animate opacity"));

#line default
#line hidden
#nullable disable
            WriteLiteral("\r\n            </li>\r\n        </ul>\r\n    </div>\r\n    <div class=\"box-col\">\r\n        <h4>Window Settings</h4>\r\n        <ul class=\"options\">\r\n            <li>\r\n                ");
#nullable restore
#line 34 "C:\Users\alestoya\Desktop\Apps\TelerikAspNetCoreApp29\TelerikAspNetCoreApp29\Views\Home\Index.cshtml"
           Write(Html.CheckBox("draggable"));

#line default
#line hidden
#nullable disable
            WriteLiteral("\r\n                ");
#nullable restore
#line 35 "C:\Users\alestoya\Desktop\Apps\TelerikAspNetCoreApp29\TelerikAspNetCoreApp29\Views\Home\Index.cshtml"
           Write(Html.Label("draggable", "draggable"));

#line default
#line hidden
#nullable disable
            WriteLiteral("\r\n            </li>\r\n            <li>\r\n                ");
#nullable restore
#line 38 "C:\Users\alestoya\Desktop\Apps\TelerikAspNetCoreApp29\TelerikAspNetCoreApp29\Views\Home\Index.cshtml"
           Write(Html.CheckBox("resizable"));

#line default
#line hidden
#nullable disable
            WriteLiteral("\r\n                ");
#nullable restore
#line 39 "C:\Users\alestoya\Desktop\Apps\TelerikAspNetCoreApp29\TelerikAspNetCoreApp29\Views\Home\Index.cshtml"
           Write(Html.Label("resizable", "resizable"));

#line default
#line hidden
#nullable disable
            WriteLiteral("\r\n            </li>\r\n        </ul>\r\n    </div>\r\n    </div>\r\n");
            WriteLiteral("    <button class=\"k-button k-button-sm k-button-outline-primary\" >Apply</button>\r\n");
#nullable restore
#line 46 "C:\Users\alestoya\Desktop\Apps\TelerikAspNetCoreApp29\TelerikAspNetCoreApp29\Views\Home\Index.cshtml"
}

#line default
#line hidden
#nullable disable
            WriteLiteral("\r\n");
#nullable restore
#line 48 "C:\Users\alestoya\Desktop\Apps\TelerikAspNetCoreApp29\TelerikAspNetCoreApp29\Views\Home\Index.cshtml"
Write(Html.Kendo().Window()
    .Name("window")
    .Animation(animation =>
    {
        animation.Open(open =>
        {
            if (ViewBag.animation == "expand")
            {
                open.Expand(ExpandDirection.Vertical);
            }

            if (ViewBag.animation == "zoom")
            {
                open.Zoom(ZoomDirection.In);
            }

            if (ViewBag.opacity == true)
            {
                open.Fade(FadeDirection.In);
            }
        });

        animation.Close(close =>
        {
            close.Reverse(true);
            if (ViewBag.animation == "expand")
            {
                close.Expand(ExpandDirection.Vertical);
            }

            if (ViewBag.animation == "zoom")
            {
                close.Zoom(ZoomDirection.Out);
                close.Reverse(false);
            }

            if (ViewBag.opacity == true)
            {
                close.Fade(FadeDirection.In);
            }

        });
    })
    .Content(item => new global::Microsoft.AspNetCore.Mvc.Razor.HelperResult(async(__razor_template_writer) => {
    PushWriter(__razor_template_writer);
    WriteLiteral("\r\n        <div style=\"text-align: center;\">\r\n");
    WriteLiteral("                <p>ARNE JACOBSEN EGG CHAIR<br /> Image by: <a href=\"https://www.conranshop.co.uk/\" title=\"https://www.conranshop.co.uk/\">https://www.conranshop.co.uk/</a></p>\r\n            </div>\r\n    ");
    PopWriter();
}
))
    .Width(500)
    .Draggable(ViewBag.draggable==true?true:false)
    .Resizable(resize => resize.Enabled(ViewBag.resizable == true?true:false))
    .Title("EGG CHAIR")
    .Actions(actions => actions
        .Custom("custom")
        .Minimize()
        .Maximize()
        .Close()
    )
    .Events(events=> events.Close("close"))
);

#line default
#line hidden
#nullable disable
            WriteLiteral(@"


<div class=""responsive-message""></div>

<script type=""text/javascript"">
        function close() {
            $(""#undo"").fadeIn(300);
        }

        $(document).ready( function () {
        
        
            var dialog = $(""#window"");
            $(""#undo"")
                .bind(""click"", function () {
                    $(""#window"").data(""kendoWindow"").open();
                    $(""#undo"").fadeOut(300);
           
                 alert(""test"");
            
                });

            dialog.data(""kendoWindow"").wrapper
                .find("".k-i-custom"").parent().click(function (e) {
                    alert(""Custom action button clicked"");
                    e.preventDefault();
                });
    
   
    
        });

    </script>

<style>

    #example {
        min-height: 400px;
    }

    #undo {
        text-align: center;
        position: absolute;
        white-space: nowrap;
        padding: 1em;
        cursor: pointer;
 ");
            WriteLiteral("   }\r\n\r\n    .k-window {\r\n        z-index: 100000;\r\n    }\r\n\r\n    ");
            WriteLiteral("@media screen and (max-width: 1023px) {\r\n        div.k-window {\r\n            display: none !important;\r\n        }\r\n    }\r\n</style>");
        }
        #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<dynamic> Html { get; private set; }
    }
}
#pragma warning restore 1591
