<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>{0}</title>
<style>
body  {
    background-color:white;
    color:#000000;
    font-family: "Helvetica Neue", Helvetica, Verdana, Arial;
    margin: 0;
    font-size: 13px;
}
a#logo {
    position: absolute;
    top: 4px;
    right: 0;
    width: 50px;
    height: 50px;
    background-size: 42px 42px;
    background-repeat: no-repeat;
    background-image: url("{{serviceStackLogoDataUriLight}}");
}
.icons {
    display: block;
    float: right;
}
.auth {
    display: block;
    width: 17px;
    height: 17px;
    background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABEAAAARCAIAAAC0D9CtAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAAYdEVYdFNvZnR3YXJlAHBhaW50Lm5ldCA0LjAuNWWFMmUAAADsSURBVDhPY/hPOsCr58Pi/w9s/t/k+X9P5//zjP+/X0OEcet5lvL/BgMKui3z/+d9oAwOPR9Xo6h+VfP/cQCI8dABKIlDD0QFBN0zAIn8eg7l/riNQ88dBYSeGyz/37T/f5YA5X5cjUMP0OkIPajo22lsel4UoKuDo1si//9+x9AD1IBHDzBs0MMAogEt0CDopsD/j8shqpD0IDSwIJS+bgbF7LfTQCdBlSH0oGl4VQ9CMIPRAFgPsgZgSgEGK17AgK4BmMAIAbCj33RDnUTIBggA2wPxLtCSr4ehwngB2D/A1ApEsKROAPz/DwCLE/At7aBI3gAAAABJRU5ErkJggg==);
}
h1 {
    color: #FFF;
    font-size: 26px;
    font-weight: normal;
    margin: 0;
    padding: 0 0 0 15px;
    line-height: 48px;
    min-height: 48px;
    border-radius: 0px;
    border-bottom: 1px solid #191e23;
    background: #2c3742; /* Old browsers */
    background: -moz-linear-gradient(top,  #2c3742 0%, #28303a 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#2c3742), color-stop(100%,#28303a)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top,  #2c3742 0%,#28303a 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top,  #2c3742 0%,#28303a 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top,  #2c3742 0%,#28303a 100%); /* IE10+ */
    background: linear-gradient(to bottom,  #2c3742 0%,#28303a 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#2c3742', endColorstr='#28303a',GradientType=0 ); /* IE6-9 */
}
h2 {
    margin: 25px 0 20px 0;
    color: #29323D;
    font-family: 'Open Sans', sans-serif;
    font-size: 24px;
}
h3 {
    color: #29323D;
    font-size: 18px;
    font-family: 'Open Sans', sans-serif;
}
a {
    color: #428bca;
    font-weight: bold;
    text-decoration: none;
}
a:hover, a:focus {
    color: #2a6496;
    text-decoration: underline;
}
ul {
    margin: 10px 0 0 10px;
    padding: 0 0 0 10px;
}
li {
    clear: left;
    margin-top: 10px;
}
table {
    border-collapse: collapse;
    border-spacing: 0;
    margin: 0 0 20px 0;
}
table, tr, th, td {
    border: none;
}
.operations, .operation {
    padding: 0 0 0 15px;
}
/* All Operations */
.operations table {
    margin-left: 1.5em;
}
.operations th {
    text-align: left;
    font-weight: normal;
    line-height: 18px;
    min-width: 27em;
    white-space: nowrap;
}
/* Single Operation */
.operations td {
    font-size: 12px;
    line-height: 18px;
    font-weight: bold;
    color: #CCC;
    padding-left: 1.5em;
    vertical-align: top;
}
.operation caption {
    text-align: left;
    font-size: 14px;
    padding: 10px 0;
    white-space: nowrap;
}
.operation tbody th {
    text-align: left;
}
.operation thead th {
    text-align: left;
    text-transform: uppercase;
}
.operation th, .operation td {
    padding: 5px 15px;
    vertical-align: top;
}
.operation h4 {
    margin: 10px 0;
    padding: 0;
}
.operation li {
    margin: 0;
}
.example {
    padding-left: 15px;
}
.example h3 { 
    color:#000000;
    margin: 10px 0 0 -15px;
}
.example pre {
    background-color: #E5E5CC;
    border: 1px solid #F0F0E0;
    font-family: Courier New;
    font-size: 15px;
    padding: 5px;
    margin-right: 15px;
    white-space: pre-wrap;
    overflow:auto;
}
.example .value {
    color: blue;
}    
.call-info {
    margin: 0 0 20px 0;
}
#desc{
    margin: 0;
    padding: 0 0 15px 15px;
    font-size: 16px;
}
#desc P {
    margin: 5px 0;
    padding: 0;
    line-height: 20px;
    color: #444;
}

table {
    min-width: 500px;
}
#filter td {
    text-align: right;
}
#filter div.txt {
    margin: -35px 0 0 0;
}
.error-popup {
    position: absolute;
    top: 48px;
    text-align: center;
    background: rgb(216,67,21);
    width: 100%;
    line-height: 40px;
    color: #fff;
}
.error-popup a {
    font-weight: normal;
    color: #fff;
    font-size: 18px;
    display: block;
}
div.tags {
    color: rgb(44, 87, 119);
    user-select: none;
}
div.tags span {
    background: rgb(225, 236, 244);
    border-radius: 3px;
    margin: 2px 0 5px 2px;
    display: inline-block;
    cursor: pointer;
}
div.tags span:hover {
    background: rgb(209, 229, 241);
}
div.tags span.active {
    background: #428bca;
    color: #fff;
}
div.tags b {
    font-weight: normal;
    padding: 2px 5px;
}
</style>
</head>
<body>
    <a id="logo" href="https://servicestack.net" title="ServiceStack {7}"></a>
    <h1>{0}</h1>
    
    <div class="operations">
        <p>
            The following operations are available.
        </p>

        {2}
        
        <h3><a href="https://docs.servicestack.net/clients-overview">Clients Overview</a></h3>

        {3}

	    {4}
 
        {5}
        
        {6}
    </div>
    
    <p>&nbsp;</p>
    
<script>
if (document.querySelectorAll) {
    function $(sel,el) { return (el||document).querySelector(sel); }
    function $$(sel,el) { return Array.prototype.slice.call((el||document).querySelectorAll(sel)); }
    let table = $$("table")[0];
    if (table) {
        let cols = $$("tr:first-child td",table).length + 1; //th
        let isIE9 = document.documentMode <= 9;
        let tagNames = []
        $$('[data-tags]',table).forEach(function (x) {
            Array.prototype.push.apply(tagNames,x.getAttribute('data-tags').split(','));
        });
        tagNames = tagNames.filter(function(value,index,self) {
            return value && self.indexOf(value) === index;
        });
        tagNames.sort();
        let tagsHtml = tagNames.map(function(x) { return "<span data-tag='" + x + "'><b>" + x + "</b></span>"}).join('');
        if (tagsHtml !== "") {
            tagsHtml = '<div class="tags">' + tagsHtml + '</div>';
        }
        let html = '<div class="txt"><input type="text" placeholder="filter" />' + tagsHtml + '</div>';
        
        if (!isIE9) {
            table.insertAdjacentHTML("afterbegin",
                '<thead id="filter"><tr><td colspan="' + cols + '">' + html + '</td></tr></thead>');
        } else {
            let thead = document.createElement('thead');
            let tr = document.createElement("tr");
            let td = document.createElement("td");
            thead.id = "filter";
            td.innerHTML = html;
            td.setAttribute("colspan", cols);
            tr.appendChild(td);
            thead.appendChild(tr);
            table.insertBefore(thead, table.firstChild);
        }

        let tagEls = $$('.tags span');
        let input = $$("#filter input")[0];
        function filter() {
            let activeTagEl = $('.tags span.active b');
            let activeTag = activeTagEl && activeTagEl.innerHTML;

            let rows = $$("tbody tr");
            for (let i = 0; i < rows.length; i++) {
                let th = rows[i].firstChild;
                let thTags = th.getAttribute('data-tags').split(',').filter(function(x){ return !!x});
                rows[i].style.display = th.innerHTML.toLowerCase()
                    .indexOf(input.value.toLowerCase()) >= 0
                    && (!activeTag || thTags.indexOf(activeTag) >= 0)
                    ? 'block'
                    : 'none';
            }
        }
        if (input) {
            input.onkeyup = filter;
        }

        let $id = $('#ui');
        function selectTag() {
            let $this = this;
            tagEls.forEach(function(el) {
                el.className = el === $this && $this.className !== 'active' ? 'active' : '';
            });
            let isActive = this.className.indexOf('active') >= 0;
            let tag = this.getAttribute('data-tag');
            if (tag) {
                if (isActive)
                    location.href = '#tag=' + tag;
                else
                    history.pushState("", document.title, window.location.pathname + window.location.search);
            }
            filter();
            if ($id)
                $id.href = tag ? "ui?IncludeTypes={" + tag + "}" : "ui";
        }
        tagEls.forEach(function(el) {
            el.onclick = selectTag;
        });
    }
    function clearTag() {
        $$('.tags span').forEach(el => el.className = '');
        filter();
    }
    function handleHash(hash) {
        if (!hash) return;
        let name = hash.split('=')[0];
        if (name === 'tag') {
            let tag = hash.split('=')[1];
            let el = $('[data-tag="' + tag + '"]');
            if (el && el.className.indexOf('active') === -1) selectTag.bind(el)();
        }
    }
    if (location.hash) {
        handleHash(location.hash.substring(1));
    }
    window.onhashchange = function () {
        if (location.hash) handleHash(location.hash.substring(1));
        else clearTag();
    }
}
</script>

    {8}

</body>
</html>
