File: DeveloperExceptionPage\Views\ErrorPage.Designer.cs
Web Access
Project: src\src\Middleware\Diagnostics\src\Microsoft.AspNetCore.Diagnostics.csproj (Microsoft.AspNetCore.Diagnostics)
// <auto-generated/>
#pragma warning disable 1591
namespace Microsoft.AspNetCore.Diagnostics.RazorViews
{
    #line hidden
    using System.Threading.Tasks;
#nullable restore
#line 1 "ErrorPage.cshtml"
using System;
 
#line default
#line hidden
#nullable disable
#nullable restore
#line 2 "ErrorPage.cshtml"
using System.Globalization;
 
#line default
#line hidden
#nullable disable
#nullable restore
#line 3 "ErrorPage.cshtml"
using System.Linq;
 
#line default
#line hidden
#nullable disable
#nullable restore
#line 4 "ErrorPage.cshtml"
using System.Net;
 
#line default
#line hidden
#nullable disable
#nullable restore
#line 5 "ErrorPage.cshtml"
using System.Reflection;
 
#line default
#line hidden
#nullable disable
#nullable restore
#line 6 "ErrorPage.cshtml"
using Microsoft.AspNetCore.Diagnostics.RazorViews;
 
#line default
#line hidden
#nullable disable
#nullable restore
#line 7 "ErrorPage.cshtml"
using Microsoft.AspNetCore.Diagnostics;
 
#line default
#line hidden
#nullable disable
    internal class ErrorPage : Microsoft.Extensions.RazorViews.BaseView
    {
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
#nullable restore
#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
#nullable disable
            WriteLiteral("<!DOCTYPE html>\r\n<html");
            BeginWriteAttribute("lang", " lang=\"", 537, "\"", 598, 1);
#nullable restore
#line 23 "ErrorPage.cshtml"
WriteAttributeValue("", 544, CultureInfo.CurrentUICulture.TwoLetterISOLanguageName, 544, 54, false);
 
#line default
#line hidden
#nullable disable
            EndWriteAttribute();
            WriteLiteral(" xmlns=\"http://www.w3.org/1999/xhtml\">\r\n<head>\r\n    <meta charset=\"utf-8\" />\r\n    <title>");
#nullable restore
#line 26 "ErrorPage.cshtml"
      Write(Model.Title);
 
#line default
#line hidden
#nullable disable
            WriteLiteral(@"</title>
    <style>
        :root {
    --color-text: #222;
    --color-background: #fff;
    --color-border: #ddd;
    --color-link: #105e85;
    --color-link-hover: #157eb0;
 
    --color-heading-main: #44525e;
    --color-heading-stacktrace: #363636;
    --color-table-heading: #44525e;
 
    --color-tab-link: #105e85;
    --color-tab-selected: #fff;
    --color-tab-selected-background: #105e85;
 
    --color-code-background: #fbfbfb;
    --color-code-highlight: #c70000;
    --color-code-context-linenum: #606060;
    --color-code-context: #606060;
    --color-code-context-button-background: #ddd;
}
 
/* Intentional double at-signs here to escape properly when included in cshtml */
");
            WriteLiteral(@"@media (prefers-color-scheme: dark) {
    :root {
        --color-text: #dcdcdc;
        --color-background: #222;
        --color-border: #444;
        --color-link: #4db7ea;
        --color-link-hover: #88cfea;
 
        --color-heading-main: #a9bac7;
        --color-heading-stacktrace: #c7c7c7;
        --color-table-heading: #a9bac7;
 
        --color-tab-link: #4db7ea;
        --color-tab-selected: #222;
        --color-tab-selected-background: #4db7ea;
 
        --color-code-background: #1c1c1c;
        --color-code-highlight: #ff8787;
        --color-code-context-linenum: #9B9B9B;
        --color-code-context: #9B9B9B;
        --color-code-context-button-background: #444;
    }
}
 
body {
    font-family: 'Segoe UI', Tahoma, Arial, Helvetica, sans-serif;
    font-size: .813em;
    color: var(--color-text);
    background-color: var(--color-background);
}
 
h1 {
    color: var(--color-heading-main);
    margin: 15px 0 15px 0;
}
 
h2 {
    margin: 10px 5px 0 0;
    padding:");
            WriteLiteral(@" 5px;
    border-bottom: 1px solid var(--color-border);
}
 
h3 {
    color: var(--color-heading-stacktrace);
    margin: 5px 5px 0 0;
    font-weight: normal;
}
 
code {
    font-family: Consolas, ""Courier New"", courier, monospace;
    font-weight: bold;
}
 
a {
    color: var(--color-link);
    text-decoration: none;
}
a:hover {
    color: var(--color-link-hover);
    text-decoration: underline;
}
 
/* Exception title & message */
body .titleerror {
    padding: 3px 3px 6px 3px;
    display: block;
    font-size: 1.5em;
    font-weight: 100;
}
 
/* Exception location */
body .location {
    margin: 3px 0 10px 30px;
    font-size: 1.1em;
}
 
/* Tab navigation */
#header {
    font-size: 18px;
    padding: 15px 0;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    margin-bottom: 0;
}
#header li {
    display: inline;
    margin: 5px;
    padding: 5px;
    color: var(--color-tab-link);
    cursor: pointer;
}
#header");
            WriteLiteral(@" .selected {
    color: var(--color-tab-selected);
    background: var(--color-tab-selected-background);
}
 
/* Stack page */
#stackpage .details {
    font-size: 1.2em;
    padding: 3px;
}
#stackpage ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
}
 
#stackpage .frame {
    padding: 0;
    margin: 0 0 0 30px;
    word-break: break-word;
}
#stackpage .frame h3 {
    padding: 2px;
    margin: 0;
}
 
/* Stack frame source */
#stackpage .source {
    padding: 0 0 0 30px;
}
#stackpage .source ol li {
    font-family: Consolas, ""Courier New"", courier, monospace;
    white-space: pre-wrap;
    background-color: var(--color-code-background);
}
 
/* Stack frame source: highlighted line */
#stackpage .source .highlight {
    border-left: 3px solid var(--color-code-highlight);
    margin-left: -3px;
    font-weight: bold;
}
#stackpage .source .highlight li span {
    color: var(--color-code-highlight);
}
 
/* Stack frame source: context lines */
#stackpage .sour");
            WriteLiteral(@"ce .collapsible {
    color: var(--color-code-context-linenum);
}
#stackpage .source .collapsible li span {
    color: var(--color-code-context);
}
 
.expandCollapseButton {
    position: absolute;
    left: 10px;
    width: 16px;
    height: 16px;
    font-size: 10px;
    color: inherit;
    background: var(--color-code-context-button-background);
    padding: 0;
    border: 0;
    cursor: pointer;
}
 
/* Table */
.page table {
    border-collapse: collapse;
    margin: 0 0 20px;
    font-size: 1.1em;
}
.page th {
    padding: 10px 10px 5px 10px;
    color: var(--color-table-heading);
    text-align: left;
}
.page td {
    padding: 3px 10px;
}
.page tr {
    border-bottom: 1px solid var(--color-border);
}
.page tr > :not(:last-child) {
    border-right: 1px solid var(--color-border);
}
.page tr > :first-child {
    min-width: 150px;
}
.page tr > :last-child {
    word-break: break-word;
}
 
.page p {
    font-size: 1.1em;
}
 
/* Raw exception details */
.rawExc");
            WriteLiteral(@"eptionBlock {
    font-size: 1.2em;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}
.showRawException {
    display: inline-block;
    color: var(--color-link);
    background: transparent;
    font: inherit;
    border: 0;
    padding: 10px 0;
    cursor: pointer;
}
.showRawException:hover {
    color: var(--color-link-hover);
    text-decoration: underline;
}
 
    </style>
</head>
<body>
    <h1>");
#nullable restore
#line 263 "ErrorPage.cshtml"
   Write(Resources.ErrorPageHtml_UnhandledException);
 
#line default
#line hidden
#nullable disable
            WriteLiteral("</h1>\r\n");
#nullable restore
#line 264 "ErrorPage.cshtml"
     foreach (var errorDetail in Model.ErrorDetails)
    {
 
#line default
#line hidden
#nullable disable
            WriteLiteral("        <div class=\"titleerror\">\r\n            ");
#nullable restore
#line 267 "ErrorPage.cshtml"
       Write(errorDetail.Error!.GetType().Name);
 
#line default
#line hidden
#nullable disable
            WriteLiteral(": ");
#nullable restore
#line 267 "ErrorPage.cshtml"
                                                  
                Output.Write(HtmlEncodeAndReplaceLineBreaks(errorDetail.Error.Message));
            
 
#line default
#line hidden
#nullable disable
            WriteLiteral("        </div>\r\n");
#nullable restore
#line 271 "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
#nullable disable
            WriteLiteral("            <p class=\"location\">");
#nullable restore
#line 279 "ErrorPage.cshtml"
                           Write(location);
 
#line default
#line hidden
#nullable disable
            WriteLiteral(" in <code");
            BeginWriteAttribute("title", " title=\"", 6644, "\"", 6668, 1);
#nullable restore
#line 279 "ErrorPage.cshtml"
WriteAttributeValue("", 6652, firstFrame.File, 6652, 16, false);
 
#line default
#line hidden
#nullable disable
            EndWriteAttribute();
            WriteLiteral(">");
#nullable restore
#line 279 "ErrorPage.cshtml"
                                                                       Write(System.IO.Path.GetFileName(firstFrame.File));
 
#line default
#line hidden
#nullable disable
            WriteLiteral("</code>, line ");
#nullable restore
#line 279 "ErrorPage.cshtml"
                                                                                                                                 Write(firstFrame.Line);
 
#line default
#line hidden
#nullable disable
            WriteLiteral("</p>\r\n");
#nullable restore
#line 280 "ErrorPage.cshtml"
        }
        else if (!string.IsNullOrEmpty(location))
        {
 
#line default
#line hidden
#nullable disable
            WriteLiteral("            <p class=\"location\">");
#nullable restore
#line 283 "ErrorPage.cshtml"
                           Write(location);
 
#line default
#line hidden
#nullable disable
            WriteLiteral("</p>\r\n");
#nullable restore
#line 284 "ErrorPage.cshtml"
        }
        else
        {
 
#line default
#line hidden
#nullable disable
            WriteLiteral("            <p class=\"location\">");
#nullable restore
#line 287 "ErrorPage.cshtml"
                           Write(Resources.ErrorPageHtml_UnknownLocation);
 
#line default
#line hidden
#nullable disable
            WriteLiteral("</p>\r\n");
#nullable restore
#line 288 "ErrorPage.cshtml"
        }
 
        var reflectionTypeLoadException = errorDetail.Error as ReflectionTypeLoadException;
        if (reflectionTypeLoadException != null)
        {
            if (reflectionTypeLoadException.LoaderExceptions.Length > 0)
            {
 
#line default
#line hidden
#nullable disable
            WriteLiteral("                <h3>Loader Exceptions:</h3>\r\n                <ul>\r\n");
#nullable restore
#line 297 "ErrorPage.cshtml"
                     foreach (var ex in reflectionTypeLoadException.LoaderExceptions)
                    {
 
#line default
#line hidden
#nullable disable
            WriteLiteral("                        <li>");
#nullable restore
#line 299 "ErrorPage.cshtml"
                       Write(ex!.Message);
 
#line default
#line hidden
#nullable disable
            WriteLiteral("</li>\r\n");
#nullable restore
#line 300 "ErrorPage.cshtml"
                    }
 
#line default
#line hidden
#nullable disable
            WriteLiteral("                </ul>\r\n");
#nullable restore
#line 302 "ErrorPage.cshtml"
            }
        }
    }
 
#line default
#line hidden
#nullable disable
            WriteLiteral("    <ul id=\"header\">\r\n        <li id=\"stack\" tabindex=\"1\" class=\"selected\">\r\n            ");
#nullable restore
#line 307 "ErrorPage.cshtml"
       Write(Resources.ErrorPageHtml_StackButton);
 
#line default
#line hidden
#nullable disable
            WriteLiteral("\r\n        </li>\r\n        <li id=\"query\" tabindex=\"2\">\r\n            ");
#nullable restore
#line 310 "ErrorPage.cshtml"
       Write(Resources.ErrorPageHtml_QueryButton);
 
#line default
#line hidden
#nullable disable
            WriteLiteral("\r\n        </li>\r\n        <li id=\"cookies\" tabindex=\"3\">\r\n            ");
#nullable restore
#line 313 "ErrorPage.cshtml"
       Write(Resources.ErrorPageHtml_CookiesButton);
 
#line default
#line hidden
#nullable disable
            WriteLiteral("\r\n        </li>\r\n        <li id=\"headers\" tabindex=\"4\">\r\n            ");
#nullable restore
#line 316 "ErrorPage.cshtml"
       Write(Resources.ErrorPageHtml_HeadersButton);
 
#line default
#line hidden
#nullable disable
            WriteLiteral("\r\n        </li>\r\n        <li id=\"routing\" tabindex=\"5\">\r\n            ");
#nullable restore
#line 319 "ErrorPage.cshtml"
       Write(Resources.ErrorPageHtml_RoutingButton);
 
#line default
#line hidden
#nullable disable
            WriteLiteral("\r\n        </li>\r\n    </ul>\r\n\r\n    <div id=\"stackpage\" class=\"page\">\r\n        <ul>\r\n");
#nullable restore
#line 325 "ErrorPage.cshtml"
              
                var exceptionCount = 0;
                var stackFrameCount = 0;
                var exceptionDetailId = "";
                var frameId = "";
            
 
#line default
#line hidden
#nullable disable
#nullable restore
#line 331 "ErrorPage.cshtml"
             foreach (var errorDetail in Model.ErrorDetails)
            {
                exceptionCount++;
                exceptionDetailId = "exceptionDetail" + exceptionCount;
 
 
#line default
#line hidden
#nullable disable
            WriteLiteral("                <li>\r\n                    <h2>");
#nullable restore
#line 337 "ErrorPage.cshtml"
                   Write(errorDetail.Error!.GetType().Name);
 
#line default
#line hidden
#nullable disable
            WriteLiteral(": ");
#nullable restore
#line 337 "ErrorPage.cshtml"
                                                       Write(errorDetail.Error.Message);
 
#line default
#line hidden
#nullable disable
            WriteLiteral("</h2>\r\n                    <ul>\r\n");
#nullable restore
#line 339 "ErrorPage.cshtml"
                         foreach (var frame in errorDetail.StackFrames)
                        {
                            stackFrameCount++;
                            frameId = "frame" + stackFrameCount;
 
 
#line default
#line hidden
#nullable disable
            WriteLiteral("                            <li class=\"frame\"");
            BeginWriteAttribute("id", " id=\"", 8958, "\"", 8971, 1);
#nullable restore
#line 344 "ErrorPage.cshtml"
WriteAttributeValue("", 8963, frameId, 8963, 8, false);
 
#line default
#line hidden
#nullable disable
            EndWriteAttribute();
            WriteLiteral(">\r\n");
#nullable restore
#line 345 "ErrorPage.cshtml"
                                 if (string.IsNullOrEmpty(frame.File))
                                {
 
#line default
#line hidden
#nullable disable
            WriteLiteral("                                    <h3>");
#nullable restore
#line 347 "ErrorPage.cshtml"
                                   Write(frame.Function);
 
#line default
#line hidden
#nullable disable
            WriteLiteral("</h3>\r\n");
#nullable restore
#line 348 "ErrorPage.cshtml"
                                }
                                else
                                {
 
#line default
#line hidden
#nullable disable
            WriteLiteral("                                    <h3>");
#nullable restore
#line 351 "ErrorPage.cshtml"
                                   Write(frame.Function);
 
#line default
#line hidden
#nullable disable
            WriteLiteral(" in <code");
            BeginWriteAttribute("title", " title=\"", 9316, "\"", 9335, 1);
#nullable restore
#line 351 "ErrorPage.cshtml"
WriteAttributeValue("", 9324, frame.File, 9324, 11, false);
 
#line default
#line hidden
#nullable disable
            EndWriteAttribute();
            WriteLiteral(">");
#nullable restore
#line 351 "ErrorPage.cshtml"
                                                                                Write(System.IO.Path.GetFileName(frame.File));
 
#line default
#line hidden
#nullable disable
            WriteLiteral("</code></h3>\r\n");
#nullable restore
#line 352 "ErrorPage.cshtml"
                                }
 
#line default
#line hidden
#nullable disable
            WriteLiteral("\r\n");
#nullable restore
#line 354 "ErrorPage.cshtml"
                                 if (frame.Line != 0 && frame.ContextCode.Any())
                                {
 
#line default
#line hidden
#nullable disable
            WriteLiteral("                                    <button class=\"expandCollapseButton\" data-frameId=\"");
#nullable restore
#line 356 "ErrorPage.cshtml"
                                                                                  Write(frameId);
 
#line default
#line hidden
#nullable disable
            WriteLiteral("\">+</button>\r\n                                    <div class=\"source\">\r\n");
#nullable restore
#line 358 "ErrorPage.cshtml"
                                         if (frame.PreContextCode.Any())
                                        {
 
#line default
#line hidden
#nullable disable
            WriteLiteral("                                            <ol");
            BeginWriteAttribute("start", " start=\"", 9875, "\"", 9904, 1);
#nullable restore
#line 360 "ErrorPage.cshtml"
WriteAttributeValue("", 9883, frame.PreContextLine, 9883, 21, false);
 
#line default
#line hidden
#nullable disable
            EndWriteAttribute();
            WriteLiteral(" class=\"collapsible\">\r\n");
#nullable restore
#line 361 "ErrorPage.cshtml"
                                                 foreach (var line in frame.PreContextCode)
                                                {
 
#line default
#line hidden
#nullable disable
            WriteLiteral("                                                    <li><span>");
#nullable restore
#line 363 "ErrorPage.cshtml"
                                                         Write(line);
 
#line default
#line hidden
#nullable disable
            WriteLiteral("</span></li>\r\n");
#nullable restore
#line 364 "ErrorPage.cshtml"
                                                }
 
#line default
#line hidden
#nullable disable
            WriteLiteral("                                            </ol>\r\n");
#nullable restore
#line 366 "ErrorPage.cshtml"
                                        }
 
#line default
#line hidden
#nullable disable
            WriteLiteral("\r\n                                        <ol");
            BeginWriteAttribute("start", " start=\"", 10343, "\"", 10362, 1);
#nullable restore
#line 368 "ErrorPage.cshtml"
WriteAttributeValue("", 10351, frame.Line, 10351, 11, false);
 
#line default
#line hidden
#nullable disable
            EndWriteAttribute();
            WriteLiteral(" class=\"highlight\">\r\n");
#nullable restore
#line 369 "ErrorPage.cshtml"
                                             foreach (var line in frame.ContextCode)
                                            {
 
#line default
#line hidden
#nullable disable
            WriteLiteral("                                                <li><span>");
#nullable restore
#line 371 "ErrorPage.cshtml"
                                                     Write(line);
 
#line default
#line hidden
#nullable disable
            WriteLiteral("</span></li>\r\n");
#nullable restore
#line 372 "ErrorPage.cshtml"
                                            }
 
#line default
#line hidden
#nullable disable
            WriteLiteral("                                        </ol>\r\n\r\n");
#nullable restore
#line 375 "ErrorPage.cshtml"
                                         if (frame.PostContextCode.Any())
                                        {
 
#line default
#line hidden
#nullable disable
            WriteLiteral("                                            <ol");
            BeginWriteAttribute("start", " start=\'", 10855, "\'", 10880, 1);
#nullable restore
#line 377 "ErrorPage.cshtml"
WriteAttributeValue("", 10863, frame.Line + 1, 10863, 17, false);
 
#line default
#line hidden
#nullable disable
            EndWriteAttribute();
            WriteLiteral(" class=\"collapsible\">\r\n");
#nullable restore
#line 378 "ErrorPage.cshtml"
                                                 foreach (var line in frame.PostContextCode)
                                                {
 
#line default
#line hidden
#nullable disable
            WriteLiteral("                                                    <li><span>");
#nullable restore
#line 380 "ErrorPage.cshtml"
                                                         Write(line);
 
#line default
#line hidden
#nullable disable
            WriteLiteral("</span></li>\r\n");
#nullable restore
#line 381 "ErrorPage.cshtml"
                                                }
 
#line default
#line hidden
#nullable disable
            WriteLiteral("                                            </ol>\r\n");
#nullable restore
#line 383 "ErrorPage.cshtml"
                                        }
 
#line default
#line hidden
#nullable disable
            WriteLiteral("                                    </div>\r\n");
#nullable restore
#line 385 "ErrorPage.cshtml"
                                }
 
#line default
#line hidden
#nullable disable
            WriteLiteral("                            </li>\r\n");
#nullable restore
#line 387 "ErrorPage.cshtml"
                        }
 
#line default
#line hidden
#nullable disable
            WriteLiteral("                    </ul>\r\n                </li>\r\n                <li>\r\n                    <br />\r\n                    <div class=\"rawExceptionBlock\">\r\n                        <button class=\"showRawException\" data-exceptionDetailId=\"");
#nullable restore
#line 393 "ErrorPage.cshtml"
                                                                            Write(exceptionDetailId);
 
#line default
#line hidden
#nullable disable
            WriteLiteral("\">Show raw exception details</button>\r\n                        <div");
            BeginWriteAttribute("id", " id=\"", 11735, "\"", 11758, 1);
#nullable restore
#line 394 "ErrorPage.cshtml"
WriteAttributeValue("", 11740, exceptionDetailId, 11740, 18, false);
 
#line default
#line hidden
#nullable disable
            EndWriteAttribute();
            WriteLiteral(" class=\"rawExceptionDetails\">\r\n                            <pre class=\"rawExceptionStackTrace\">");
#nullable restore
#line 395 "ErrorPage.cshtml"
                                                           Write(errorDetail.Error.ToString());
 
#line default
#line hidden
#nullable disable
            WriteLiteral("</pre>\r\n                        </div>\r\n                    </div>\r\n                </li>\r\n");
#nullable restore
#line 399 "ErrorPage.cshtml"
            }
 
#line default
#line hidden
#nullable disable
            WriteLiteral("        </ul>\r\n    </div>\r\n\r\n    <div id=\"querypage\" class=\"page\">\r\n");
#nullable restore
#line 404 "ErrorPage.cshtml"
         if (Model.Query.Any())
        {
 
#line default
#line hidden
#nullable disable
            WriteLiteral("            <table>\r\n                <thead>\r\n                    <tr>\r\n                        <th>");
#nullable restore
#line 409 "ErrorPage.cshtml"
                       Write(Resources.ErrorPageHtml_VariableColumn);
 
#line default
#line hidden
#nullable disable
            WriteLiteral("</th>\r\n                        <th>");
#nullable restore
#line 410 "ErrorPage.cshtml"
                       Write(Resources.ErrorPageHtml_ValueColumn);
 
#line default
#line hidden
#nullable disable
            WriteLiteral("</th>\r\n                    </tr>\r\n                </thead>\r\n                <tbody>\r\n");
#nullable restore
#line 414 "ErrorPage.cshtml"
                     foreach (var kv in Model.Query.OrderBy(kv => kv.Key))
                    {
                        foreach (var v in kv.Value)
                        {
 
#line default
#line hidden
#nullable disable
            WriteLiteral("                            <tr>\r\n                                <td>");
#nullable restore
#line 419 "ErrorPage.cshtml"
                               Write(kv.Key);
 
#line default
#line hidden
#nullable disable
            WriteLiteral("</td>\r\n                                <td>");
#nullable restore
#line 420 "ErrorPage.cshtml"
                               Write(v);
 
#line default
#line hidden
#nullable disable
            WriteLiteral("</td>\r\n                            </tr>\r\n");
#nullable restore
#line 422 "ErrorPage.cshtml"
                        }
                    }
 
#line default
#line hidden
#nullable disable
            WriteLiteral("                </tbody>\r\n            </table>\r\n");
#nullable restore
#line 426 "ErrorPage.cshtml"
        }
        else
        {
 
#line default
#line hidden
#nullable disable
            WriteLiteral("            <p>");
#nullable restore
#line 429 "ErrorPage.cshtml"
          Write(Resources.ErrorPageHtml_NoQueryStringData);
 
#line default
#line hidden
#nullable disable
            WriteLiteral("</p>\r\n");
#nullable restore
#line 430 "ErrorPage.cshtml"
        }
 
#line default
#line hidden
#nullable disable
            WriteLiteral("    </div>\r\n\r\n    <div id=\"cookiespage\" class=\"page\">\r\n");
#nullable restore
#line 434 "ErrorPage.cshtml"
         if (Model.Cookies.Any())
        {
 
#line default
#line hidden
#nullable disable
            WriteLiteral("            <table>\r\n                <thead>\r\n                    <tr>\r\n                        <th>");
#nullable restore
#line 439 "ErrorPage.cshtml"
                       Write(Resources.ErrorPageHtml_VariableColumn);
 
#line default
#line hidden
#nullable disable
            WriteLiteral("</th>\r\n                        <th>");
#nullable restore
#line 440 "ErrorPage.cshtml"
                       Write(Resources.ErrorPageHtml_ValueColumn);
 
#line default
#line hidden
#nullable disable
            WriteLiteral("</th>\r\n                    </tr>\r\n                </thead>\r\n                <tbody>\r\n");
#nullable restore
#line 444 "ErrorPage.cshtml"
                     foreach (var kv in Model.Cookies.OrderBy(kv => kv.Key))
                    {
 
#line default
#line hidden
#nullable disable
            WriteLiteral("                        <tr>\r\n                            <td>");
#nullable restore
#line 447 "ErrorPage.cshtml"
                           Write(kv.Key);
 
#line default
#line hidden
#nullable disable
            WriteLiteral("</td>\r\n                            <td>");
#nullable restore
#line 448 "ErrorPage.cshtml"
                           Write(kv.Value);
 
#line default
#line hidden
#nullable disable
            WriteLiteral("</td>\r\n                        </tr>\r\n");
#nullable restore
#line 450 "ErrorPage.cshtml"
                    }
 
#line default
#line hidden
#nullable disable
            WriteLiteral("                </tbody>\r\n            </table>\r\n");
#nullable restore
#line 453 "ErrorPage.cshtml"
        }
        else
        {
 
#line default
#line hidden
#nullable disable
            WriteLiteral("            <p>");
#nullable restore
#line 456 "ErrorPage.cshtml"
          Write(Resources.ErrorPageHtml_NoCookieData);
 
#line default
#line hidden
#nullable disable
            WriteLiteral("</p>\r\n");
#nullable restore
#line 457 "ErrorPage.cshtml"
        }
 
#line default
#line hidden
#nullable disable
            WriteLiteral("    </div>\r\n\r\n    <div id=\"headerspage\" class=\"page\">\r\n");
#nullable restore
#line 461 "ErrorPage.cshtml"
         if (Model.Headers.Any())
        {
 
#line default
#line hidden
#nullable disable
            WriteLiteral("            <table>\r\n                <thead>\r\n                    <tr>\r\n                        <th>");
#nullable restore
#line 466 "ErrorPage.cshtml"
                       Write(Resources.ErrorPageHtml_VariableColumn);
 
#line default
#line hidden
#nullable disable
            WriteLiteral("</th>\r\n                        <th>");
#nullable restore
#line 467 "ErrorPage.cshtml"
                       Write(Resources.ErrorPageHtml_ValueColumn);
 
#line default
#line hidden
#nullable disable
            WriteLiteral("</th>\r\n                    </tr>\r\n                </thead>\r\n                <tbody>\r\n");
#nullable restore
#line 471 "ErrorPage.cshtml"
                     foreach (var kv in Model.Headers.OrderBy(kv => kv.Key))
                    {
                        foreach (var v in kv.Value)
                        {
 
#line default
#line hidden
#nullable disable
            WriteLiteral("                            <tr>\r\n                                <td>");
#nullable restore
#line 476 "ErrorPage.cshtml"
                               Write(kv.Key);
 
#line default
#line hidden
#nullable disable
            WriteLiteral("</td>\r\n                                <td>");
#nullable restore
#line 477 "ErrorPage.cshtml"
                               Write(v);
 
#line default
#line hidden
#nullable disable
            WriteLiteral("</td>\r\n                            </tr>\r\n");
#nullable restore
#line 479 "ErrorPage.cshtml"
                        }
                    }
 
#line default
#line hidden
#nullable disable
            WriteLiteral("                </tbody>\r\n            </table>\r\n");
#nullable restore
#line 483 "ErrorPage.cshtml"
        }
        else
        {
 
#line default
#line hidden
#nullable disable
            WriteLiteral("            <p>");
#nullable restore
#line 486 "ErrorPage.cshtml"
          Write(Resources.ErrorPageHtml_NoHeaderData);
 
#line default
#line hidden
#nullable disable
            WriteLiteral("</p>\r\n");
#nullable restore
#line 487 "ErrorPage.cshtml"
        }
 
#line default
#line hidden
#nullable disable
            WriteLiteral("    </div>\r\n\r\n    <div id=\"routingpage\" class=\"page\">\r\n        <h2>");
#nullable restore
#line 491 "ErrorPage.cshtml"
       Write(Resources.ErrorPageHtml_Endpoint);
 
#line default
#line hidden
#nullable disable
            WriteLiteral("</h2>\r\n");
#nullable restore
#line 492 "ErrorPage.cshtml"
         if (Model.Endpoint != null)
        {
 
#line default
#line hidden
#nullable disable
            WriteLiteral("            <table>\r\n                <thead>\r\n                    <tr>\r\n                        <th>");
#nullable restore
#line 497 "ErrorPage.cshtml"
                       Write(Resources.ErrorPageHtml_NameColumn);
 
#line default
#line hidden
#nullable disable
            WriteLiteral("</th>\r\n                        <th>");
#nullable restore
#line 498 "ErrorPage.cshtml"
                       Write(Resources.ErrorPageHtml_ValueColumn);
 
#line default
#line hidden
#nullable disable
            WriteLiteral("</th>\r\n                    </tr>\r\n                </thead>\r\n                <tbody>\r\n                    <tr>\r\n                        <td>");
#nullable restore
#line 503 "ErrorPage.cshtml"
                       Write(Resources.ErrorPageHtml_EndpointDisplayName);
 
#line default
#line hidden
#nullable disable
            WriteLiteral("</td>\r\n                        <td>");
#nullable restore
#line 504 "ErrorPage.cshtml"
                       Write(Model.Endpoint.DisplayName);
 
#line default
#line hidden
#nullable disable
            WriteLiteral("</td>\r\n                    </tr>\r\n");
#nullable restore
#line 506 "ErrorPage.cshtml"
                     if (!string.IsNullOrEmpty(Model.Endpoint.RoutePattern))
                    {
 
#line default
#line hidden
#nullable disable
            WriteLiteral("                        <tr>\r\n                            <td>");
#nullable restore
#line 509 "ErrorPage.cshtml"
                           Write(Resources.ErrorPageHtml_EndpointRoutePattern);
 
#line default
#line hidden
#nullable disable
            WriteLiteral("</td>\r\n                            <td>");
#nullable restore
#line 510 "ErrorPage.cshtml"
                           Write(Model.Endpoint.RoutePattern);
 
#line default
#line hidden
#nullable disable
            WriteLiteral("</td>\r\n                        </tr>\r\n");
#nullable restore
#line 512 "ErrorPage.cshtml"
                    }
 
#line default
#line hidden
#nullable disable
#nullable restore
#line 513 "ErrorPage.cshtml"
                     if (Model.Endpoint.Order != null)
                    {
 
#line default
#line hidden
#nullable disable
            WriteLiteral("                        <tr>\r\n                            <td>");
#nullable restore
#line 516 "ErrorPage.cshtml"
                           Write(Resources.ErrorPageHtml_EndpointRouteOrder);
 
#line default
#line hidden
#nullable disable
            WriteLiteral("</td>\r\n                            <td>");
#nullable restore
#line 517 "ErrorPage.cshtml"
                           Write(Model.Endpoint.Order);
 
#line default
#line hidden
#nullable disable
            WriteLiteral("</td>\r\n                        </tr>\r\n");
#nullable restore
#line 519 "ErrorPage.cshtml"
                    }
 
#line default
#line hidden
#nullable disable
#nullable restore
#line 520 "ErrorPage.cshtml"
                     if (!string.IsNullOrEmpty(Model.Endpoint.HttpMethods))
                    {
 
#line default
#line hidden
#nullable disable
            WriteLiteral("                        <tr>\r\n                            <td>");
#nullable restore
#line 523 "ErrorPage.cshtml"
                           Write(Resources.ErrorPageHtml_EndpointRouteHttpMethod);
 
#line default
#line hidden
#nullable disable
            WriteLiteral("</td>\r\n                            <td>");
#nullable restore
#line 524 "ErrorPage.cshtml"
                           Write(Model.Endpoint.HttpMethods);
 
#line default
#line hidden
#nullable disable
            WriteLiteral("</td>\r\n                        </tr>\r\n");
#nullable restore
#line 526 "ErrorPage.cshtml"
                    }
 
#line default
#line hidden
#nullable disable
            WriteLiteral("                </tbody>\r\n            </table>\r\n");
#nullable restore
#line 529 "ErrorPage.cshtml"
        }
        else
        {
 
#line default
#line hidden
#nullable disable
            WriteLiteral("            <p>");
#nullable restore
#line 532 "ErrorPage.cshtml"
          Write(Resources.ErrorPageHtml_NoEndpoint);
 
#line default
#line hidden
#nullable disable
            WriteLiteral("</p>\r\n");
#nullable restore
#line 533 "ErrorPage.cshtml"
        }
 
#line default
#line hidden
#nullable disable
            WriteLiteral("        <h2>");
#nullable restore
#line 534 "ErrorPage.cshtml"
       Write(Resources.ErrorPageHtml_Metadata);
 
#line default
#line hidden
#nullable disable
            WriteLiteral("</h2>\r\n");
#nullable restore
#line 535 "ErrorPage.cshtml"
         if (Model.Endpoint?.Metadata?.Count > 0)
        {
 
#line default
#line hidden
#nullable disable
            WriteLiteral("            <table>\r\n                <thead>\r\n                    <tr>\r\n                        <th>");
#nullable restore
#line 540 "ErrorPage.cshtml"
                       Write(Resources.ErrorPageHtml_MetadataTypeColumn);
 
#line default
#line hidden
#nullable disable
            WriteLiteral("</th>\r\n                        <th>");
#nullable restore
#line 541 "ErrorPage.cshtml"
                       Write(Resources.ErrorPageHtml_MetadataDetail);
 
#line default
#line hidden
#nullable disable
            WriteLiteral("</th>\r\n                    </tr>\r\n                </thead>\r\n                <tbody>\r\n");
#nullable restore
#line 545 "ErrorPage.cshtml"
                     foreach (var metadata in Model.Endpoint.Metadata)
                    {
 
#line default
#line hidden
#nullable disable
            WriteLiteral("                        <tr>\r\n                            <td><span");
            BeginWriteAttribute("title", " title=\"", 17067, "\"", 17121, 1);
#nullable restore
#line 548 "ErrorPage.cshtml"
WriteAttributeValue("", 17075, metadata.GetType().FullName ?? string.Empty, 17075, 46, false);
 
#line default
#line hidden
#nullable disable
            EndWriteAttribute();
            WriteLiteral(">");
#nullable restore
#line 548 "ErrorPage.cshtml"
                                                                                        Write(metadata.GetType().Name);
 
#line default
#line hidden
#nullable disable
            WriteLiteral("</span></td>\r\n                            <td>\r\n");
#nullable restore
#line 550 "ErrorPage.cshtml"
                                  
                                    Output.Write(HtmlEncodeAndReplaceLineBreaks(metadata.ToString() ?? string.Empty));
                                
 
#line default
#line hidden
#nullable disable
            WriteLiteral("                            </td>\r\n                        </tr>\r\n");
#nullable restore
#line 555 "ErrorPage.cshtml"
                    }
 
#line default
#line hidden
#nullable disable
            WriteLiteral("                </tbody>\r\n            </table>\r\n");
#nullable restore
#line 558 "ErrorPage.cshtml"
        }
 
#line default
#line hidden
#nullable disable
            WriteLiteral("        <h2>");
#nullable restore
#line 559 "ErrorPage.cshtml"
       Write(Resources.ErrorPageHtml_RouteValues);
 
#line default
#line hidden
#nullable disable
            WriteLiteral("</h2>\r\n");
#nullable restore
#line 560 "ErrorPage.cshtml"
         if (Model.RouteValues != null && Model.RouteValues.Any())
        {
 
#line default
#line hidden
#nullable disable
            WriteLiteral("            <table>\r\n                <thead>\r\n                    <tr>\r\n                        <th>");
#nullable restore
#line 565 "ErrorPage.cshtml"
                       Write(Resources.ErrorPageHtml_VariableColumn);
 
#line default
#line hidden
#nullable disable
            WriteLiteral("</th>\r\n                        <th>");
#nullable restore
#line 566 "ErrorPage.cshtml"
                       Write(Resources.ErrorPageHtml_ValueColumn);
 
#line default
#line hidden
#nullable disable
            WriteLiteral("</th>\r\n                    </tr>\r\n                </thead>\r\n                <tbody>\r\n");
#nullable restore
#line 570 "ErrorPage.cshtml"
                     foreach (var kv in Model.RouteValues.OrderBy(kv => kv.Key))
                    {
 
#line default
#line hidden
#nullable disable
            WriteLiteral("                        <tr>\r\n                            <td>");
#nullable restore
#line 573 "ErrorPage.cshtml"
                           Write(kv.Key);
 
#line default
#line hidden
#nullable disable
            WriteLiteral("</td>\r\n                            <td>");
#nullable restore
#line 574 "ErrorPage.cshtml"
                            Write(kv.Value!);
 
#line default
#line hidden
#nullable disable
            WriteLiteral("</td>\r\n                        </tr>\r\n");
#nullable restore
#line 576 "ErrorPage.cshtml"
                    }
 
#line default
#line hidden
#nullable disable
            WriteLiteral("                </tbody>\r\n            </table>\r\n");
#nullable restore
#line 579 "ErrorPage.cshtml"
        }
        else
        {
 
#line default
#line hidden
#nullable disable
            WriteLiteral("            <p>");
#nullable restore
#line 582 "ErrorPage.cshtml"
          Write(Resources.ErrorPageHtml_NoRouteValues);
 
#line default
#line hidden
#nullable disable
            WriteLiteral("</p>\r\n");
#nullable restore
#line 583 "ErrorPage.cshtml"
        }
 
#line default
#line hidden
#nullable disable
            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.concat(ns(selector, e");
            WriteLiteral(@"l).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.indexOf(classNa");
            WriteLiteral(@"me) < 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) {
            return this.o");
            WriteLiteral(@"n(""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 (e.which === 13)");
            WriteLiteral(@" {
                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
#nullable restore
#line 9 "ErrorPage.cshtml"
 
    public ErrorPage(ErrorPageModel model)
    {
        Model = model;
    }
 
    public ErrorPageModel Model { get; set; }
 
#line default
#line hidden
#nullable disable
    }
}
#pragma warning restore 1591