// <auto-generated/>
#pragma warning disable 1591
namespace Microsoft.AspNetCore.Diagnostics.RazorViews
{
    #line hidden
    using System.Threading.Tasks;
#line 1 "ErrorPage.cshtml"
using System;

#line default
#line hidden
#line 2 "ErrorPage.cshtml"
using System.Globalization;

#line default
#line hidden
#line 3 "ErrorPage.cshtml"
using System.Linq;

#line default
#line hidden
#line 4 "ErrorPage.cshtml"
using System.Net;

#line default
#line hidden
#line 5 "ErrorPage.cshtml"
using System.Reflection;

#line default
#line hidden
#line 6 "ErrorPage.cshtml"
using Microsoft.AspNetCore.Diagnostics.RazorViews;

#line default
#line hidden
#line 7 "ErrorPage.cshtml"
using Microsoft.AspNetCore.Diagnostics;

#line default
#line hidden
    internal class ErrorPage : Microsoft.Extensions.RazorViews.BaseView
    {
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
#line 17 "ErrorPage.cshtml"
  
    // TODO: Response.ReasonPhrase = "Internal Server Error";
    Response.ContentType = "text/html; charset=utf-8";
    string location = string.Empty;

#line default
#line hidden
            WriteLiteral("<!DOCTYPE html>\r\n<html");
            BeginWriteAttribute("lang", " lang=\"", 536, "\"", 597, 1);
#line 23 "ErrorPage.cshtml"
WriteAttributeValue("", 543, CultureInfo.CurrentUICulture.TwoLetterISOLanguageName, 543, 54, false);

#line default
#line hidden
            EndWriteAttribute();
            WriteLiteral(" xmlns=\"http://www.w3.org/1999/xhtml\">\r\n    <head>\r\n        <meta charset=\"utf-8\" />\r\n        <title>");
#line 26 "ErrorPage.cshtml"
          Write(Resources.ErrorPageHtml_Title);

#line default
#line hidden
            WriteLiteral(@"</title>
        <style>
            body {
    font-family: 'Segoe UI', Tahoma, Arial, Helvetica, sans-serif;
    font-size: .813em;
    color: #222;
    background-color: #fff;
}

h1 {
    color: #44525e;
    margin: 15px 0 15px 0;
}

h2 {
    margin: 10px 5px 0 0;
}

h3 {
    color: #363636;
    margin: 5px 5px 0 0;
    font-weight: normal;
}

code {
    font-family: Consolas, ""Courier New"", courier, monospace;
    font-weight: bold;
}

body .titleerror {
    padding: 3px 3px 6px 3px;
    display: block;
    font-size: 1.5em;
    font-weight: 100;
}

body .location {
    margin: 3px 0 10px 30px;
}

#header {
    font-size: 18px;
    padding: 15px 0;
    border-top: 1px #ddd solid;
    border-bottom: 1px #ddd solid;
    margin-bottom: 0;
}

    #header li {
        display: inline;
        margin: 5px;
        padding: 5px;
        color: #a0a0a0;
        cursor: pointer;
    }

    #header .selected {
        background: #44c5f2;
        color: #fff");
            WriteLiteral(@";
    }

#stackpage ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
    /*border-bottom: 1px #ddd solid;*/
}

#stackpage .details {
    font-size: 1.2em;
    padding: 3px;
    color: #000;
}

#stackpage .stackerror {
    padding: 5px;
    border-bottom: 1px #ddd solid;
}


#stackpage .frame {
    padding: 0;
    margin: 0 0 0 30px;
}

    #stackpage .frame h3 {
        padding: 2px;
        margin: 0;
    }

#stackpage .source {
    padding: 0 0 0 30px;
}

    #stackpage .source ol li {
        font-family: Consolas, ""Courier New"", courier, monospace;
        white-space: pre;
        background-color: #fbfbfb;
    }

#stackpage .frame .source .highlight li span {
    color: #FF0000;
}

#stackpage .source ol.collapsible li {
    color: #888;
}

    #stackpage .source ol.collapsible li span {
        color: #606060;
    }

#routingpage .subheader {
    padding: 5px;
    border-bottom: 1px #ddd solid;
}

.page table {
    border-collapse");
            WriteLiteral(@": separate;
    border-spacing: 0;
    margin: 0 0 20px;
}

.page th {
    vertical-align: bottom;
    padding: 10px 5px 5px 5px;
    font-weight: 400;
    color: #a0a0a0;
    text-align: left;
}

.page td {
    padding: 3px 10px;
}

.page th, .page td {
    border-right: 1px #ddd solid;
    border-bottom: 1px #ddd solid;
    border-left: 1px transparent solid;
    border-top: 1px transparent solid;
    box-sizing: border-box;
}

    .page th:last-child, .page td:last-child {
        border-right: 1px transparent solid;
    }

.page .length {
    text-align: right;
}

a {
    color: #1ba1e2;
    text-decoration: none;
}

    a:hover {
        color: #13709e;
        text-decoration: underline;
    }

.showRawException {
    cursor: pointer;
    color: #44c5f2;
    background-color: transparent;
    font-size: 1.2em;
    text-align: left;
    text-decoration: none;
    display: inline-block;
    border: 0;
    padding: 0;
}

.rawExceptionStackTrace {
    ");
            WriteLiteral(@"font-size: 1.2em;
}

.rawExceptionBlock {
    border-top: 1px #ddd solid;
    border-bottom: 1px #ddd solid;
}

.showRawExceptionContainer {
    margin-top: 10px;
    margin-bottom: 10px;
}

.expandCollapseButton {
    cursor: pointer;
    float: left;
    height: 16px;
    width: 16px;
    font-size: 10px;
    position: absolute;
    left: 10px;
    background-color: #eee;
    padding: 0;
    border: 0;
    margin: 0;
}

        </style>
    </head>
    <body>
        <h1>");
#line 230 "ErrorPage.cshtml"
       Write(Resources.ErrorPageHtml_UnhandledException);

#line default
#line hidden
            WriteLiteral("</h1>\r\n");
#line 231 "ErrorPage.cshtml"
         foreach (var errorDetail in Model.ErrorDetails)
        {

#line default
#line hidden
            WriteLiteral("            <div class=\"titleerror\">");
#line 233 "ErrorPage.cshtml"
                               Write(errorDetail.Error.GetType().Name);

#line default
#line hidden
            WriteLiteral(": ");
#line 233 "ErrorPage.cshtml"
                                                                          Output.Write(HtmlEncodeAndReplaceLineBreaks(errorDetail.Error.Message)); 

#line default
#line hidden
            WriteLiteral("</div>\r\n");
#line 234 "ErrorPage.cshtml"

            var firstFrame = errorDetail.StackFrames.FirstOrDefault();
            if (firstFrame != null)
            {
                location = firstFrame.Function;
            }
            if (!string.IsNullOrEmpty(location) && firstFrame != null && !string.IsNullOrEmpty(firstFrame.File))
            {

#line default
#line hidden
            WriteLiteral("                <p class=\"location\">");
#line 242 "ErrorPage.cshtml"
                               Write(location);

#line default
#line hidden
            WriteLiteral(" in <code");
            BeginWriteAttribute("title", " title=\"", 4957, "\"", 4981, 1);
#line 242 "ErrorPage.cshtml"
WriteAttributeValue("", 4965, firstFrame.File, 4965, 16, false);

#line default
#line hidden
            EndWriteAttribute();
            WriteLiteral(">");
#line 242 "ErrorPage.cshtml"
                                                                           Write(System.IO.Path.GetFileName(firstFrame.File));

#line default
#line hidden
            WriteLiteral("</code>, line ");
#line 242 "ErrorPage.cshtml"
                                                                                                                                     Write(firstFrame.Line);

#line default
#line hidden
            WriteLiteral("</p>\r\n");
#line 243 "ErrorPage.cshtml"
            }
            else if (!string.IsNullOrEmpty(location))
            {

#line default
#line hidden
            WriteLiteral("                <p class=\"location\">");
#line 246 "ErrorPage.cshtml"
                               Write(location);

#line default
#line hidden
            WriteLiteral("</p>\r\n");
#line 247 "ErrorPage.cshtml"
            }
            else
            {

#line default
#line hidden
            WriteLiteral("                <p class=\"location\">");
#line 250 "ErrorPage.cshtml"
                               Write(Resources.ErrorPageHtml_UnknownLocation);

#line default
#line hidden
            WriteLiteral("</p>\r\n");
#line 251 "ErrorPage.cshtml"
            }

            var reflectionTypeLoadException = errorDetail.Error as ReflectionTypeLoadException;
            if (reflectionTypeLoadException != null)
            {
                if (reflectionTypeLoadException.LoaderExceptions.Length > 0)
                {

#line default
#line hidden
            WriteLiteral("                    <h3>Loader Exceptions:</h3>\r\n                    <ul>\r\n");
#line 260 "ErrorPage.cshtml"
                         foreach (var ex in reflectionTypeLoadException.LoaderExceptions)
                        {

#line default
#line hidden
            WriteLiteral("                            <li>");
#line 262 "ErrorPage.cshtml"
                           Write(ex.Message);

#line default
#line hidden
            WriteLiteral("</li>\r\n");
#line 263 "ErrorPage.cshtml"
                        }

#line default
#line hidden
            WriteLiteral("                    </ul>\r\n");
#line 265 "ErrorPage.cshtml"
                }
            }
        }

#line default
#line hidden
            WriteLiteral("        <ul id=\"header\">\r\n            <li id=\"stack\" tabindex=\"1\" class=\"selected\">\r\n                ");
#line 270 "ErrorPage.cshtml"
           Write(Resources.ErrorPageHtml_StackButton);

#line default
#line hidden
            WriteLiteral("\r\n            </li>\r\n            <li id=\"query\" tabindex=\"2\">\r\n                ");
#line 273 "ErrorPage.cshtml"
           Write(Resources.ErrorPageHtml_QueryButton);

#line default
#line hidden
            WriteLiteral("\r\n            </li>\r\n            <li id=\"cookies\" tabindex=\"3\">\r\n                ");
#line 276 "ErrorPage.cshtml"
           Write(Resources.ErrorPageHtml_CookiesButton);

#line default
#line hidden
            WriteLiteral("\r\n            </li>\r\n            <li id=\"headers\" tabindex=\"4\">\r\n                ");
#line 279 "ErrorPage.cshtml"
           Write(Resources.ErrorPageHtml_HeadersButton);

#line default
#line hidden
            WriteLiteral("\r\n            </li>\r\n            <li id=\"routing\" tabindex=\"5\">\r\n                ");
#line 282 "ErrorPage.cshtml"
           Write(Resources.ErrorPageHtml_RoutingButton);

#line default
#line hidden
            WriteLiteral("\r\n            </li>\r\n        </ul>\r\n\r\n        <div id=\"stackpage\" class=\"page\">\r\n            <ul>\r\n");
#line 288 "ErrorPage.cshtml"
                  
                    var exceptionCount = 0;
                    var stackFrameCount = 0;
                    var exceptionDetailId = "";
                    var frameId = "";
                

#line default
#line hidden
#line 294 "ErrorPage.cshtml"
                 foreach (var errorDetail in Model.ErrorDetails)
                {
                    exceptionCount++;
                    exceptionDetailId = "exceptionDetail" + exceptionCount;


#line default
#line hidden
            WriteLiteral("                    <li>\r\n                        <h2 class=\"stackerror\">");
#line 300 "ErrorPage.cshtml"
                                          Write(errorDetail.Error.GetType().Name);

#line default
#line hidden
            WriteLiteral(": ");
#line 300 "ErrorPage.cshtml"
                                                                             Write(errorDetail.Error.Message);

#line default
#line hidden
            WriteLiteral("</h2>\r\n                        <ul>\r\n");
#line 302 "ErrorPage.cshtml"
                             foreach (var frame in errorDetail.StackFrames)
                            {
                                stackFrameCount++;
                                frameId = "frame" + stackFrameCount;


#line default
#line hidden
            WriteLiteral("                                <li class=\"frame\"");
            BeginWriteAttribute("id", " id=\"", 7532, "\"", 7545, 1);
#line 307 "ErrorPage.cshtml"
WriteAttributeValue("", 7537, frameId, 7537, 8, false);

#line default
#line hidden
            EndWriteAttribute();
            WriteLiteral(">\r\n");
#line 308 "ErrorPage.cshtml"
                                     if (string.IsNullOrEmpty(frame.File))
                                    {

#line default
#line hidden
            WriteLiteral("                                        <h3>");
#line 310 "ErrorPage.cshtml"
                                       Write(frame.Function);

#line default
#line hidden
            WriteLiteral("</h3>\r\n");
#line 311 "ErrorPage.cshtml"
                                    }
                                    else
                                    {

#line default
#line hidden
            WriteLiteral("                                        <h3>");
#line 314 "ErrorPage.cshtml"
                                       Write(frame.Function);

#line default
#line hidden
            WriteLiteral(" in <code");
            BeginWriteAttribute("title", " title=\"", 7918, "\"", 7937, 1);
#line 314 "ErrorPage.cshtml"
WriteAttributeValue("", 7926, frame.File, 7926, 11, false);

#line default
#line hidden
            EndWriteAttribute();
            WriteLiteral(">");
#line 314 "ErrorPage.cshtml"
                                                                                    Write(System.IO.Path.GetFileName(frame.File));

#line default
#line hidden
            WriteLiteral("</code></h3>\r\n");
#line 315 "ErrorPage.cshtml"
                                    }

#line default
#line hidden
            WriteLiteral("\r\n");
#line 317 "ErrorPage.cshtml"
                                     if (frame.Line != 0 && frame.ContextCode.Any())
                                    {

#line default
#line hidden
            WriteLiteral("                                        <button class=\"expandCollapseButton\" data-frameId=\"");
#line 319 "ErrorPage.cshtml"
                                                                                      Write(frameId);

#line default
#line hidden
            WriteLiteral("\">+</button>\r\n                                        <div class=\"source\">\r\n");
#line 321 "ErrorPage.cshtml"
                                             if (frame.PreContextCode.Any())
                                            {

#line default
#line hidden
            WriteLiteral("                                                <ol");
            BeginWriteAttribute("start", " start=\"", 8509, "\"", 8538, 1);
#line 323 "ErrorPage.cshtml"
WriteAttributeValue("", 8517, frame.PreContextLine, 8517, 21, false);

#line default
#line hidden
            EndWriteAttribute();
            WriteLiteral(" class=\"collapsible\">\r\n");
#line 324 "ErrorPage.cshtml"
                                                     foreach (var line in frame.PreContextCode)
                                                    {

#line default
#line hidden
            WriteLiteral("                                                        <li><span>");
#line 326 "ErrorPage.cshtml"
                                                             Write(line);

#line default
#line hidden
            WriteLiteral("</span></li>\r\n");
#line 327 "ErrorPage.cshtml"
                                                    }

#line default
#line hidden
            WriteLiteral("                                                </ol>\r\n");
#line 329 "ErrorPage.cshtml"
                                            }

#line default
#line hidden
            WriteLiteral("\r\n                                            <ol");
            BeginWriteAttribute("start", " start=\"", 9005, "\"", 9024, 1);
#line 331 "ErrorPage.cshtml"
WriteAttributeValue("", 9013, frame.Line, 9013, 11, false);

#line default
#line hidden
            EndWriteAttribute();
            WriteLiteral(" class=\"highlight\">\r\n");
#line 332 "ErrorPage.cshtml"
                                                 foreach (var line in frame.ContextCode)
                                                {

#line default
#line hidden
            WriteLiteral("                                                    <li><span>");
#line 334 "ErrorPage.cshtml"
                                                         Write(line);

#line default
#line hidden
            WriteLiteral("</span></li>\r\n");
#line 335 "ErrorPage.cshtml"
                                                }

#line default
#line hidden
            WriteLiteral("                                            </ol>\r\n\r\n");
#line 338 "ErrorPage.cshtml"
                                             if (frame.PostContextCode.Any())
                                            {

#line default
#line hidden
            WriteLiteral("                                                <ol");
            BeginWriteAttribute("start", " start=\'", 9549, "\'", 9574, 1);
#line 340 "ErrorPage.cshtml"
WriteAttributeValue("", 9557, frame.Line + 1, 9557, 17, false);

#line default
#line hidden
            EndWriteAttribute();
            WriteLiteral(" class=\"collapsible\">\r\n");
#line 341 "ErrorPage.cshtml"
                                                     foreach (var line in frame.PostContextCode)
                                                    {

#line default
#line hidden
            WriteLiteral("                                                        <li><span>");
#line 343 "ErrorPage.cshtml"
                                                             Write(line);

#line default
#line hidden
            WriteLiteral("</span></li>\r\n");
#line 344 "ErrorPage.cshtml"
                                                    }

#line default
#line hidden
            WriteLiteral("                                                </ol>\r\n");
#line 346 "ErrorPage.cshtml"
                                            }

#line default
#line hidden
            WriteLiteral("                                        </div>\r\n");
#line 348 "ErrorPage.cshtml"
                                    }

#line default
#line hidden
            WriteLiteral("                                </li>\r\n");
#line 350 "ErrorPage.cshtml"
                            }

#line default
#line hidden
            WriteLiteral(@"                        </ul>
                    </li>
                    <li>
                        <br />
                        <div class=""rawExceptionBlock"">
                            <div class=""showRawExceptionContainer"">
                                <button class=""showRawException"" data-exceptionDetailId=""");
#line 357 "ErrorPage.cshtml"
                                                                                    Write(exceptionDetailId);

#line default
#line hidden
            WriteLiteral("\">Show raw exception details</button>\r\n                            </div>\r\n                            <div");
            BeginWriteAttribute("id", " id=\"", 10606, "\"", 10629, 1);
#line 359 "ErrorPage.cshtml"
WriteAttributeValue("", 10611, exceptionDetailId, 10611, 18, false);

#line default
#line hidden
            EndWriteAttribute();
            WriteLiteral(" class=\"rawExceptionDetails\">\r\n                                <pre class=\"rawExceptionStackTrace\">");
#line 360 "ErrorPage.cshtml"
                                                               Write(errorDetail.Error.ToString());

#line default
#line hidden
            WriteLiteral("</pre>\r\n                            </div>\r\n                        </div>\r\n                    </li>\r\n");
#line 364 "ErrorPage.cshtml"
                }

#line default
#line hidden
            WriteLiteral("            </ul>\r\n        </div>\r\n\r\n        <div id=\"querypage\" class=\"page\">\r\n");
#line 369 "ErrorPage.cshtml"
             if (Model.Query.Any())
            {

#line default
#line hidden
            WriteLiteral("                <table>\r\n                    <thead>\r\n                        <tr>\r\n                            <th>");
#line 374 "ErrorPage.cshtml"
                           Write(Resources.ErrorPageHtml_VariableColumn);

#line default
#line hidden
            WriteLiteral("</th>\r\n                            <th>");
#line 375 "ErrorPage.cshtml"
                           Write(Resources.ErrorPageHtml_ValueColumn);

#line default
#line hidden
            WriteLiteral("</th>\r\n                        </tr>\r\n                    </thead>\r\n                    <tbody>\r\n");
#line 379 "ErrorPage.cshtml"
                         foreach (var kv in Model.Query.OrderBy(kv => kv.Key))
                        {
                            foreach (var v in kv.Value)
                            {

#line default
#line hidden
            WriteLiteral("                                <tr>\r\n                                    <td>");
#line 384 "ErrorPage.cshtml"
                                   Write(kv.Key);

#line default
#line hidden
            WriteLiteral("</td>\r\n                                    <td>");
#line 385 "ErrorPage.cshtml"
                                   Write(v);

#line default
#line hidden
            WriteLiteral("</td>\r\n                                </tr>\r\n");
#line 387 "ErrorPage.cshtml"
                            }
                        }

#line default
#line hidden
            WriteLiteral("                    </tbody>\r\n                </table>\r\n");
#line 391 "ErrorPage.cshtml"
            }
            else
            {

#line default
#line hidden
            WriteLiteral("                <p>");
#line 394 "ErrorPage.cshtml"
              Write(Resources.ErrorPageHtml_NoQueryStringData);

#line default
#line hidden
            WriteLiteral("</p>\r\n");
#line 395 "ErrorPage.cshtml"
            }

#line default
#line hidden
            WriteLiteral("        </div>\r\n\r\n        <div id=\"cookiespage\" class=\"page\">\r\n");
#line 399 "ErrorPage.cshtml"
             if (Model.Cookies.Any())
            {

#line default
#line hidden
            WriteLiteral("                <table>\r\n                    <thead>\r\n                        <tr>\r\n                            <th>");
#line 404 "ErrorPage.cshtml"
                           Write(Resources.ErrorPageHtml_VariableColumn);

#line default
#line hidden
            WriteLiteral("</th>\r\n                            <th>");
#line 405 "ErrorPage.cshtml"
                           Write(Resources.ErrorPageHtml_ValueColumn);

#line default
#line hidden
            WriteLiteral("</th>\r\n                        </tr>\r\n                    </thead>\r\n                    <tbody>\r\n");
#line 409 "ErrorPage.cshtml"
                         foreach (var kv in Model.Cookies.OrderBy(kv => kv.Key))
                        {

#line default
#line hidden
            WriteLiteral("                            <tr>\r\n                                <td>");
#line 412 "ErrorPage.cshtml"
                               Write(kv.Key);

#line default
#line hidden
            WriteLiteral("</td>\r\n                                <td>");
#line 413 "ErrorPage.cshtml"
                               Write(kv.Value);

#line default
#line hidden
            WriteLiteral("</td>\r\n                            </tr>\r\n");
#line 415 "ErrorPage.cshtml"
                        }

#line default
#line hidden
            WriteLiteral("                    </tbody>\r\n                </table>\r\n");
#line 418 "ErrorPage.cshtml"
            }
            else
            {

#line default
#line hidden
            WriteLiteral("                <p>");
#line 421 "ErrorPage.cshtml"
              Write(Resources.ErrorPageHtml_NoCookieData);

#line default
#line hidden
            WriteLiteral("</p>\r\n");
#line 422 "ErrorPage.cshtml"
            }

#line default
#line hidden
            WriteLiteral("        </div>\r\n\r\n        <div id=\"headerspage\" class=\"page\">\r\n");
#line 426 "ErrorPage.cshtml"
             if (Model.Headers.Any())
            {

#line default
#line hidden
            WriteLiteral("                <table>\r\n                    <thead>\r\n                        <tr>\r\n                            <th>");
#line 431 "ErrorPage.cshtml"
                           Write(Resources.ErrorPageHtml_VariableColumn);

#line default
#line hidden
            WriteLiteral("</th>\r\n                            <th>");
#line 432 "ErrorPage.cshtml"
                           Write(Resources.ErrorPageHtml_ValueColumn);

#line default
#line hidden
            WriteLiteral("</th>\r\n                        </tr>\r\n                    </thead>\r\n                    <tbody>\r\n");
#line 436 "ErrorPage.cshtml"
                         foreach (var kv in Model.Headers.OrderBy(kv => kv.Key))
                        {
                            foreach (var v in kv.Value)
                            {

#line default
#line hidden
            WriteLiteral("                                <tr>\r\n                                    <td>");
#line 441 "ErrorPage.cshtml"
                                   Write(kv.Key);

#line default
#line hidden
            WriteLiteral("</td>\r\n                                    <td>");
#line 442 "ErrorPage.cshtml"
                                   Write(v);

#line default
#line hidden
            WriteLiteral("</td>\r\n                                </tr>\r\n");
#line 444 "ErrorPage.cshtml"
                            }
                        }

#line default
#line hidden
            WriteLiteral("                    </tbody>\r\n                </table>\r\n");
#line 448 "ErrorPage.cshtml"
            }
            else
            {

#line default
#line hidden
            WriteLiteral("                <p>");
#line 451 "ErrorPage.cshtml"
              Write(Resources.ErrorPageHtml_NoHeaderData);

#line default
#line hidden
            WriteLiteral("</p>\r\n");
#line 452 "ErrorPage.cshtml"
            }

#line default
#line hidden
            WriteLiteral("        </div>\r\n\r\n        <div id=\"routingpage\" class=\"page\">\r\n            <h2 class=\"subheader\">");
#line 456 "ErrorPage.cshtml"
                             Write(Resources.ErrorPageHtml_Endpoint);

#line default
#line hidden
            WriteLiteral("</h2>\r\n");
#line 457 "ErrorPage.cshtml"
             if (Model.Endpoint != null)
            {

#line default
#line hidden
            WriteLiteral("                <table>\r\n                    <thead>\r\n                        <tr>\r\n                            <th>");
#line 462 "ErrorPage.cshtml"
                           Write(Resources.ErrorPageHtml_NameColumn);

#line default
#line hidden
            WriteLiteral("</th>\r\n                            <th>");
#line 463 "ErrorPage.cshtml"
                           Write(Resources.ErrorPageHtml_ValueColumn);

#line default
#line hidden
            WriteLiteral("</th>\r\n                        </tr>\r\n                    </thead>\r\n                    <tbody>\r\n                        <tr>\r\n                            <td>");
#line 468 "ErrorPage.cshtml"
                           Write(Resources.ErrorPageHtml_EndpointDisplayName);

#line default
#line hidden
            WriteLiteral("</td>\r\n                            <td>");
#line 469 "ErrorPage.cshtml"
                           Write(Model.Endpoint.DisplayName);

#line default
#line hidden
            WriteLiteral("</td>\r\n                        </tr>\r\n");
#line 471 "ErrorPage.cshtml"
                         if (!string.IsNullOrEmpty(Model.Endpoint.RoutePattern))
                        {

#line default
#line hidden
            WriteLiteral("                            <tr>\r\n                                <td>");
#line 474 "ErrorPage.cshtml"
                               Write(Resources.ErrorPageHtml_EndpointRoutePattern);

#line default
#line hidden
            WriteLiteral("</td>\r\n                                <td>");
#line 475 "ErrorPage.cshtml"
                               Write(Model.Endpoint.RoutePattern);

#line default
#line hidden
            WriteLiteral("</td>\r\n                            </tr>\r\n");
#line 477 "ErrorPage.cshtml"
                        }

#line default
#line hidden
#line 478 "ErrorPage.cshtml"
                         if (Model.Endpoint.Order != null)
                        {

#line default
#line hidden
            WriteLiteral("                            <tr>\r\n                                <td>");
#line 481 "ErrorPage.cshtml"
                               Write(Resources.ErrorPageHtml_EndpointRouteOrder);

#line default
#line hidden
            WriteLiteral("</td>\r\n                                <td>");
#line 482 "ErrorPage.cshtml"
                               Write(Model.Endpoint.Order);

#line default
#line hidden
            WriteLiteral("</td>\r\n                            </tr>\r\n");
#line 484 "ErrorPage.cshtml"
                        }

#line default
#line hidden
#line 485 "ErrorPage.cshtml"
                         if (!string.IsNullOrEmpty(Model.Endpoint.HttpMethods))
                        {

#line default
#line hidden
            WriteLiteral("                            <tr>\r\n                                <td>");
#line 488 "ErrorPage.cshtml"
                               Write(Resources.ErrorPageHtml_EndpointRouteHttpMethod);

#line default
#line hidden
            WriteLiteral("</td>\r\n                                <td>");
#line 489 "ErrorPage.cshtml"
                               Write(Model.Endpoint.HttpMethods);

#line default
#line hidden
            WriteLiteral("</td>\r\n                            </tr>\r\n");
#line 491 "ErrorPage.cshtml"
                        }

#line default
#line hidden
            WriteLiteral("                    </tbody>\r\n                </table>\r\n");
#line 494 "ErrorPage.cshtml"
            }
            else
            {

#line default
#line hidden
            WriteLiteral("                <p>");
#line 497 "ErrorPage.cshtml"
              Write(Resources.ErrorPageHtml_NoEndpoint);

#line default
#line hidden
            WriteLiteral("</p>\r\n");
#line 498 "ErrorPage.cshtml"
            }

#line default
#line hidden
            WriteLiteral("            <h2 class=\"subheader\">");
#line 499 "ErrorPage.cshtml"
                             Write(Resources.ErrorPageHtml_RouteValues);

#line default
#line hidden
            WriteLiteral("</h2>\r\n");
#line 500 "ErrorPage.cshtml"
             if (Model.RouteValues != null && Model.RouteValues.Any())
            {

#line default
#line hidden
            WriteLiteral("                <table>\r\n                    <thead>\r\n                        <tr>\r\n                            <th>");
#line 505 "ErrorPage.cshtml"
                           Write(Resources.ErrorPageHtml_VariableColumn);

#line default
#line hidden
            WriteLiteral("</th>\r\n                            <th>");
#line 506 "ErrorPage.cshtml"
                           Write(Resources.ErrorPageHtml_ValueColumn);

#line default
#line hidden
            WriteLiteral("</th>\r\n                        </tr>\r\n                    </thead>\r\n                    <tbody>\r\n");
#line 510 "ErrorPage.cshtml"
                         foreach (var kv in Model.RouteValues.OrderBy(kv => kv.Key))
                        {

#line default
#line hidden
            WriteLiteral("                            <tr>\r\n                                <td>");
#line 513 "ErrorPage.cshtml"
                               Write(kv.Key);

#line default
#line hidden
            WriteLiteral("</td>\r\n                                <td>");
#line 514 "ErrorPage.cshtml"
                               Write(kv.Value);

#line default
#line hidden
            WriteLiteral("</td>\r\n                            </tr>\r\n");
#line 516 "ErrorPage.cshtml"
                        }

#line default
#line hidden
            WriteLiteral("                    </tbody>\r\n                </table>\r\n");
#line 519 "ErrorPage.cshtml"
            }
            else
            {

#line default
#line hidden
            WriteLiteral("                <p>");
#line 522 "ErrorPage.cshtml"
              Write(Resources.ErrorPageHtml_NoRouteValues);

#line default
#line hidden
            WriteLiteral("</p>\r\n");
#line 523 "ErrorPage.cshtml"
            }

#line default
#line hidden
            WriteLiteral(@"        </div>

        <script>
            //<!--
            (function (window, undefined) {
    ""use strict"";

    function ns(selector, element) {
        return new NodeCollection(selector, element);
    }

    function NodeCollection(selector, element) {
        this.items = [];
        element = element || window.document;

        var nodeList;

        if (typeof (selector) === ""string"") {
            nodeList = element.querySelectorAll(selector);
            for (var i = 0, l = nodeList.length; i < l; i++) {
                this.items.push(nodeList.item(i));
            }
        }
    }

    NodeCollection.prototype = {
        each: function (callback) {
            for (var i = 0, l = this.items.length; i < l; i++) {
                callback(this.items[i], i);
            }
            return this;
        },

        children: function (selector) {
            var children = [];

            this.each(function (el) {
                children = children.conca");
            WriteLiteral(@"t(ns(selector, el).items);
            });

            return ns(children);
        },

        hide: function () {
            this.each(function (el) {
                el.style.display = ""none"";
            });

            return this;
        },

        toggle: function () {
            this.each(function (el) {
                el.style.display = el.style.display === ""none"" ? """" : ""none"";
            });

            return this;
        },

        show: function () {
            this.each(function (el) {
                el.style.display = """";
            });

            return this;
        },

        addClass: function (className) {
            this.each(function (el) {
                var existingClassName = el.className,
                    classNames;
                if (!existingClassName) {
                    el.className = className;
                } else {
                    classNames = existingClassName.split("" "");
                    if (classNames");
            WriteLiteral(@".indexOf(className) < 0) {
                        el.className = existingClassName + "" "" + className;
                    }
                }
            });

            return this;
        },

        removeClass: function (className) {
            this.each(function (el) {
                var existingClassName = el.className,
                    classNames, index;
                if (existingClassName === className) {
                    el.className = """";
                } else if (existingClassName) {
                    classNames = existingClassName.split("" "");
                    index = classNames.indexOf(className);
                    if (index > 0) {
                        classNames.splice(index, 1);
                        el.className = classNames.join("" "");
                    }
                }
            });

            return this;
        },

        attr: function (name) {
            if (this.items.length === 0) {
                return null;
        ");
            WriteLiteral(@"    }

            return this.items[0].getAttribute(name);
        },

        on: function (eventName, handler) {
            this.each(function (el, idx) {
                var callback = function (e) {
                    e = e || window.event;
                    if (!e.which && e.keyCode) {
                        e.which = e.keyCode; // Normalize IE8 key events
                    }
                    handler.apply(el, [e]);
                };

                if (el.addEventListener) { // DOM Events
                    el.addEventListener(eventName, callback, false);
                } else if (el.attachEvent) { // IE8 events
                    el.attachEvent(""on"" + eventName, callback);
                } else {
                    el[""on"" + type] = callback;
                }
            });

            return this;
        },

        click: function (handler) {
            return this.on(""click"", handler);
        },

        keypress: function (handler) {
         ");
            WriteLiteral(@"   return this.on(""keypress"", handler);
        }
    };

    function frame(el) {
        ns("".source .collapsible"", el).toggle();
    }

    function expandCollapseButton(el) {
        var frameId = el.getAttribute(""data-frameId"");
        frame(document.getElementById(frameId));
        if (el.innerText === ""+"") {
            el.innerText = ""-"";
        }
        else {
            el.innerText = ""+"";
        }
    }

    function tab(el) {
        var unselected = ns(""#header .selected"").removeClass(""selected"").attr(""id"");
        var selected = ns(""#"" + el.id).addClass(""selected"").attr(""id"");

        ns(""#"" + unselected + ""page"").hide();
        ns(""#"" + selected + ""page"").show();
    }

    ns("".rawExceptionDetails"").hide();
    ns("".collapsible"").hide();
    ns("".page"").hide();
    ns(""#stackpage"").show();

    ns("".expandCollapseButton"")
        .click(function () {
            expandCollapseButton(this);
        })
        .keypress(function (e) {
            if ");
            WriteLiteral(@"(e.which === 13) {
                expandCollapseButton(this);
            }
        });

    ns(""#header li"")
        .click(function () {
            tab(this);
        })
        .keypress(function (e) {
            if (e.which === 13) {
                tab(this);
            }
        });

    ns("".showRawException"")
        .click(function () {
            var exceptionDetailId = this.getAttribute(""data-exceptionDetailId"");
            ns(""#"" + exceptionDetailId).toggle();
        });
})(window);
            //-->
        </script>
    </body>
</html>
");
        }
        #pragma warning restore 1998
#line 9 "ErrorPage.cshtml"
 
    public ErrorPage(ErrorPageModel model)
    {
        Model = model;
    }

    public ErrorPageModel Model { get; set; }

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