github.com/qubitproducts/logspray@v0.2.14/server/swagger-ui/src/main/template/templates.js (about) 1 /* jshint ignore:start */ 2 {(function() { 3 var template = Handlebars.template, templates = Handlebars.templates = Handlebars.templates || {}; 4 templates['apikey_auth'] = template({"1":function(container,depth0,helpers,partials,data) { 5 var stack1; 6 7 return " <span class=\"key_auth__value\">" 8 + ((stack1 = (helpers.sanitize || (depth0 && depth0.sanitize) || helpers.helperMissing).call(depth0 != null ? depth0 : {},(depth0 != null ? depth0.value : depth0),{"name":"sanitize","hash":{},"data":data})) != null ? stack1 : "") 9 + "</span>\n"; 10 },"3":function(container,depth0,helpers,partials,data) { 11 return " <input placeholder=\"api_key\" class=\"auth_input input_apiKey_entry\" name=\"apiKey\" type=\"text\"/>\n"; 12 },"compiler":[7,">= 4.0.0"],"main":function(container,depth0,helpers,partials,data) { 13 var stack1, alias1=depth0 != null ? depth0 : {}, alias2=helpers.helperMissing; 14 15 return "<div class=\"key_input_container\">\n <h3 class=\"auth__title\">Api key authorization</h3>\n <div class=\"auth__description\">" 16 + ((stack1 = (helpers.sanitize || (depth0 && depth0.sanitize) || alias2).call(alias1,(depth0 != null ? depth0.description : depth0),{"name":"sanitize","hash":{},"data":data})) != null ? stack1 : "") 17 + "</div>\n <div>\n <div class=\"key_auth__field\">\n <span class=\"key_auth__label\">name:</span>\n <span class=\"key_auth__value\">" 18 + ((stack1 = (helpers.escape || (depth0 && depth0.escape) || alias2).call(alias1,(depth0 != null ? depth0.name : depth0),{"name":"escape","hash":{},"data":data})) != null ? stack1 : "") 19 + "</span>\n </div>\n <div class=\"key_auth__field\">\n <span class=\"key_auth__label\">in:</span>\n <span class=\"key_auth__value\">" 20 + ((stack1 = (helpers.escape || (depth0 && depth0.escape) || alias2).call(alias1,(depth0 != null ? depth0["in"] : depth0),{"name":"escape","hash":{},"data":data})) != null ? stack1 : "") 21 + "</span>\n </div>\n <div class=\"key_auth__field\">\n <span class=\"key_auth__label\">value:</span>\n" 22 + ((stack1 = helpers["if"].call(alias1,(depth0 != null ? depth0.isLogout : depth0),{"name":"if","hash":{},"fn":container.program(1, data, 0),"inverse":container.program(3, data, 0),"data":data})) != null ? stack1 : "") 23 + " </div>\n </div>\n</div>\n"; 24 },"useData":true}); 25 templates['auth_button'] = template({"compiler":[7,">= 4.0.0"],"main":function(container,depth0,helpers,partials,data) { 26 return "<a class='authorize__btn' href=\"#\">Authorize</a>\n"; 27 },"useData":true}); 28 templates['auth_button_operation'] = template({"1":function(container,depth0,helpers,partials,data) { 29 return " authorize__btn_operation_login\n"; 30 },"3":function(container,depth0,helpers,partials,data) { 31 return " authorize__btn_operation_logout\n"; 32 },"5":function(container,depth0,helpers,partials,data) { 33 var stack1; 34 35 return " <ul class=\"authorize-scopes\">\n" 36 + ((stack1 = helpers.each.call(depth0 != null ? depth0 : {},(depth0 != null ? depth0.scopes : depth0),{"name":"each","hash":{},"fn":container.program(6, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "") 37 + " </ul>\n"; 38 },"6":function(container,depth0,helpers,partials,data) { 39 var stack1, alias1=depth0 != null ? depth0 : {}, alias2=helpers.helperMissing; 40 41 return " <li class=\"authorize__scope\" title=\"" 42 + ((stack1 = (helpers.escape || (depth0 && depth0.escape) || alias2).call(alias1,(depth0 != null ? depth0.description : depth0),{"name":"escape","hash":{},"data":data})) != null ? stack1 : "") 43 + "\">" 44 + ((stack1 = (helpers.escape || (depth0 && depth0.escape) || alias2).call(alias1,(depth0 != null ? depth0.scope : depth0),{"name":"escape","hash":{},"data":data})) != null ? stack1 : "") 45 + "</li>\n"; 46 },"compiler":[7,">= 4.0.0"],"main":function(container,depth0,helpers,partials,data) { 47 var stack1, alias1=depth0 != null ? depth0 : {}; 48 49 return "<div class=\"authorize__btn authorize__btn_operation\n" 50 + ((stack1 = helpers["if"].call(alias1,(depth0 != null ? depth0.isLogout : depth0),{"name":"if","hash":{},"fn":container.program(1, data, 0),"inverse":container.program(3, data, 0),"data":data})) != null ? stack1 : "") 51 + "\">\n" 52 + ((stack1 = helpers["if"].call(alias1,(depth0 != null ? depth0.scopes : depth0),{"name":"if","hash":{},"fn":container.program(5, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "") 53 + "</div>\n"; 54 },"useData":true}); 55 templates['auth_view'] = template({"1":function(container,depth0,helpers,partials,data) { 56 return " <button type=\"button\" class=\"auth__button auth_submit__button\" data-sw-translate>Authorize</button>\n"; 57 },"3":function(container,depth0,helpers,partials,data) { 58 return " <button type=\"button\" class=\"auth__button auth_logout__button\" data-sw-translate>Logout</button>\n"; 59 },"compiler":[7,">= 4.0.0"],"main":function(container,depth0,helpers,partials,data) { 60 var stack1, alias1=depth0 != null ? depth0 : {}; 61 62 return "<div class=\"auth_container\">\n\n <div class=\"auth_inner\"></div>\n <div class=\"auth_submit\">\n" 63 + ((stack1 = helpers.unless.call(alias1,(depth0 != null ? depth0.isLogout : depth0),{"name":"unless","hash":{},"fn":container.program(1, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "") 64 + ((stack1 = helpers["if"].call(alias1,(depth0 != null ? depth0.isAuthorized : depth0),{"name":"if","hash":{},"fn":container.program(3, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "") 65 + " </div>\n\n</div>\n"; 66 },"useData":true}); 67 templates['basic_auth'] = template({"1":function(container,depth0,helpers,partials,data) { 68 return " - authorized"; 69 },"3":function(container,depth0,helpers,partials,data) { 70 var stack1; 71 72 return " <span class=\"basic_auth__value\">" 73 + ((stack1 = (helpers.escape || (depth0 && depth0.escape) || helpers.helperMissing).call(depth0 != null ? depth0 : {},(depth0 != null ? depth0.username : depth0),{"name":"escape","hash":{},"data":data})) != null ? stack1 : "") 74 + "</span>\n"; 75 },"5":function(container,depth0,helpers,partials,data) { 76 return " <input required placeholder=\"username\" class=\"basic_auth__username auth_input\" name=\"username\" type=\"text\"/>\n"; 77 },"7":function(container,depth0,helpers,partials,data) { 78 return " <div class=\"auth_label\">\n <span class=\"basic_auth__label\" data-sw-translate>password:</span>\n <input required placeholder=\"password\" class=\"basic_auth__password auth_input\" name=\"password\" type=\"password\"/></label>\n </div>\n"; 79 },"compiler":[7,">= 4.0.0"],"main":function(container,depth0,helpers,partials,data) { 80 var stack1, alias1=depth0 != null ? depth0 : {}; 81 82 return "<div class='basic_auth_container'>\n <h3 class=\"auth__title\">Basic authentication" 83 + ((stack1 = helpers["if"].call(alias1,(depth0 != null ? depth0.isLogout : depth0),{"name":"if","hash":{},"fn":container.program(1, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "") 84 + "</h3>\n <form class=\"basic_input_container\">\n <div class=\"auth__description\">" 85 + ((stack1 = (helpers.sanitize || (depth0 && depth0.sanitize) || helpers.helperMissing).call(alias1,(depth0 != null ? depth0.description : depth0),{"name":"sanitize","hash":{},"data":data})) != null ? stack1 : "") 86 + "</div>\n <div class=\"auth_label\">\n <span class=\"basic_auth__label\" data-sw-translate>username:</span>\n" 87 + ((stack1 = helpers["if"].call(alias1,(depth0 != null ? depth0.isLogout : depth0),{"name":"if","hash":{},"fn":container.program(3, data, 0),"inverse":container.program(5, data, 0),"data":data})) != null ? stack1 : "") 88 + " </div>\n" 89 + ((stack1 = helpers.unless.call(alias1,(depth0 != null ? depth0.isLogout : depth0),{"name":"unless","hash":{},"fn":container.program(7, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "") 90 + " </form>\n</div>\n"; 91 },"useData":true}); 92 templates['content_type'] = template({"1":function(container,depth0,helpers,partials,data) { 93 var stack1; 94 95 return ((stack1 = helpers.each.call(depth0 != null ? depth0 : {},(depth0 != null ? depth0.produces : depth0),{"name":"each","hash":{},"fn":container.program(2, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : ""); 96 },"2":function(container,depth0,helpers,partials,data) { 97 var stack1, alias1=depth0 != null ? depth0 : {}, alias2=helpers.helperMissing; 98 99 return " <option value=\"" 100 + ((stack1 = (helpers.sanitize || (depth0 && depth0.sanitize) || alias2).call(alias1,depth0,{"name":"sanitize","hash":{},"data":data})) != null ? stack1 : "") 101 + "\">" 102 + ((stack1 = (helpers.sanitize || (depth0 && depth0.sanitize) || alias2).call(alias1,depth0,{"name":"sanitize","hash":{},"data":data})) != null ? stack1 : "") 103 + "</option>\n"; 104 },"4":function(container,depth0,helpers,partials,data) { 105 return " <option value=\"application/json\">application/json</option>\n"; 106 },"compiler":[7,">= 4.0.0"],"main":function(container,depth0,helpers,partials,data) { 107 var stack1, alias1=depth0 != null ? depth0 : {}, alias2=helpers.helperMissing; 108 109 return "<label data-sw-translate for=\"" 110 + ((stack1 = (helpers.escape || (depth0 && depth0.escape) || alias2).call(alias1,(depth0 != null ? depth0.contentTypeId : depth0),{"name":"escape","hash":{},"data":data})) != null ? stack1 : "") 111 + "\">Response Content Type</label>\n<select name=\"contentType\" id=\"" 112 + ((stack1 = (helpers.escape || (depth0 && depth0.escape) || alias2).call(alias1,(depth0 != null ? depth0.contentTypeId : depth0),{"name":"escape","hash":{},"data":data})) != null ? stack1 : "") 113 + "\">\n" 114 + ((stack1 = helpers["if"].call(alias1,(depth0 != null ? depth0.produces : depth0),{"name":"if","hash":{},"fn":container.program(1, data, 0),"inverse":container.program(4, data, 0),"data":data})) != null ? stack1 : "") 115 + "</select>\n"; 116 },"useData":true}); 117 templates['main'] = template({"1":function(container,depth0,helpers,partials,data) { 118 var stack1, alias1=depth0 != null ? depth0 : {}, alias2=helpers.helperMissing; 119 120 return " <div class=\"info_title\">" 121 + ((stack1 = (helpers.sanitize || (depth0 && depth0.sanitize) || alias2).call(alias1,((stack1 = (depth0 != null ? depth0.info : depth0)) != null ? stack1.title : stack1),{"name":"sanitize","hash":{},"data":data})) != null ? stack1 : "") 122 + "</div>\n <div class=\"info_description markdown\">" 123 + ((stack1 = (helpers.sanitize || (depth0 && depth0.sanitize) || alias2).call(alias1,((stack1 = (depth0 != null ? depth0.info : depth0)) != null ? stack1.description : stack1),{"name":"sanitize","hash":{},"data":data})) != null ? stack1 : "") 124 + "</div>\n" 125 + ((stack1 = helpers["if"].call(alias1,(depth0 != null ? depth0.externalDocs : depth0),{"name":"if","hash":{},"fn":container.program(2, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "") 126 + " " 127 + ((stack1 = helpers["if"].call(alias1,((stack1 = (depth0 != null ? depth0.info : depth0)) != null ? stack1.termsOfServiceUrl : stack1),{"name":"if","hash":{},"fn":container.program(4, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "") 128 + "\n " 129 + ((stack1 = helpers["if"].call(alias1,((stack1 = ((stack1 = (depth0 != null ? depth0.info : depth0)) != null ? stack1.contact : stack1)) != null ? stack1.name : stack1),{"name":"if","hash":{},"fn":container.program(6, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "") 130 + "\n " 131 + ((stack1 = helpers["if"].call(alias1,((stack1 = ((stack1 = (depth0 != null ? depth0.info : depth0)) != null ? stack1.contact : stack1)) != null ? stack1.url : stack1),{"name":"if","hash":{},"fn":container.program(8, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "") 132 + "\n " 133 + ((stack1 = helpers["if"].call(alias1,((stack1 = ((stack1 = (depth0 != null ? depth0.info : depth0)) != null ? stack1.contact : stack1)) != null ? stack1.email : stack1),{"name":"if","hash":{},"fn":container.program(10, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "") 134 + "\n " 135 + ((stack1 = helpers["if"].call(alias1,((stack1 = (depth0 != null ? depth0.info : depth0)) != null ? stack1.license : stack1),{"name":"if","hash":{},"fn":container.program(12, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "") 136 + "\n"; 137 },"2":function(container,depth0,helpers,partials,data) { 138 var stack1, alias1=depth0 != null ? depth0 : {}, alias2=helpers.helperMissing; 139 140 return " <p>" 141 + ((stack1 = (helpers.sanitize || (depth0 && depth0.sanitize) || alias2).call(alias1,((stack1 = (depth0 != null ? depth0.externalDocs : depth0)) != null ? stack1.description : stack1),{"name":"sanitize","hash":{},"data":data})) != null ? stack1 : "") 142 + "</p>\n <a href=\"" 143 + ((stack1 = (helpers.escape || (depth0 && depth0.escape) || alias2).call(alias1,((stack1 = (depth0 != null ? depth0.externalDocs : depth0)) != null ? stack1.url : stack1),{"name":"escape","hash":{},"data":data})) != null ? stack1 : "") 144 + "\" target=\"_blank\">" 145 + ((stack1 = (helpers.escape || (depth0 && depth0.escape) || alias2).call(alias1,((stack1 = (depth0 != null ? depth0.externalDocs : depth0)) != null ? stack1.url : stack1),{"name":"escape","hash":{},"data":data})) != null ? stack1 : "") 146 + "</a>\n"; 147 },"4":function(container,depth0,helpers,partials,data) { 148 var stack1; 149 150 return "<div class=\"info_tos\"><a target=\"_blank\" href=\"" 151 + ((stack1 = (helpers.escape || (depth0 && depth0.escape) || helpers.helperMissing).call(depth0 != null ? depth0 : {},((stack1 = (depth0 != null ? depth0.info : depth0)) != null ? stack1.termsOfServiceUrl : stack1),{"name":"escape","hash":{},"data":data})) != null ? stack1 : "") 152 + "\" data-sw-translate>Terms of service</a></div>"; 153 },"6":function(container,depth0,helpers,partials,data) { 154 var stack1; 155 156 return "<div><div class='info_name' style=\"display: inline\" data-sw-translate>Created by </div> " 157 + ((stack1 = (helpers.escape || (depth0 && depth0.escape) || helpers.helperMissing).call(depth0 != null ? depth0 : {},((stack1 = ((stack1 = (depth0 != null ? depth0.info : depth0)) != null ? stack1.contact : stack1)) != null ? stack1.name : stack1),{"name":"escape","hash":{},"data":data})) != null ? stack1 : "") 158 + "</div>"; 159 },"8":function(container,depth0,helpers,partials,data) { 160 var stack1, alias1=depth0 != null ? depth0 : {}, alias2=helpers.helperMissing; 161 162 return "<div class='info_url' data-sw-translate>See more at <a href=\"" 163 + ((stack1 = (helpers.escape || (depth0 && depth0.escape) || alias2).call(alias1,((stack1 = ((stack1 = (depth0 != null ? depth0.info : depth0)) != null ? stack1.contact : stack1)) != null ? stack1.url : stack1),{"name":"escape","hash":{},"data":data})) != null ? stack1 : "") 164 + "\">" 165 + ((stack1 = (helpers.escape || (depth0 && depth0.escape) || alias2).call(alias1,((stack1 = ((stack1 = (depth0 != null ? depth0.info : depth0)) != null ? stack1.contact : stack1)) != null ? stack1.url : stack1),{"name":"escape","hash":{},"data":data})) != null ? stack1 : "") 166 + "</a></div>"; 167 },"10":function(container,depth0,helpers,partials,data) { 168 var stack1, alias1=depth0 != null ? depth0 : {}, alias2=helpers.helperMissing; 169 170 return "<div class='info_email'><a target=\"_parent\" href=\"mailto:" 171 + ((stack1 = (helpers.escape || (depth0 && depth0.escape) || alias2).call(alias1,((stack1 = ((stack1 = (depth0 != null ? depth0.info : depth0)) != null ? stack1.contact : stack1)) != null ? stack1.email : stack1),{"name":"escape","hash":{},"data":data})) != null ? stack1 : "") 172 + "?subject=" 173 + ((stack1 = (helpers.escape || (depth0 && depth0.escape) || alias2).call(alias1,((stack1 = (depth0 != null ? depth0.info : depth0)) != null ? stack1.title : stack1),{"name":"escape","hash":{},"data":data})) != null ? stack1 : "") 174 + "\" data-sw-translate>Contact the developer</a></div>"; 175 },"12":function(container,depth0,helpers,partials,data) { 176 var stack1, alias1=depth0 != null ? depth0 : {}, alias2=helpers.helperMissing; 177 178 return "<div class='info_license'><a target=\"_blank\" href='" 179 + ((stack1 = (helpers.escape || (depth0 && depth0.escape) || alias2).call(alias1,((stack1 = ((stack1 = (depth0 != null ? depth0.info : depth0)) != null ? stack1.license : stack1)) != null ? stack1.url : stack1),{"name":"escape","hash":{},"data":data})) != null ? stack1 : "") 180 + "'>" 181 + ((stack1 = (helpers.escape || (depth0 && depth0.escape) || alias2).call(alias1,((stack1 = ((stack1 = (depth0 != null ? depth0.info : depth0)) != null ? stack1.license : stack1)) != null ? stack1.name : stack1),{"name":"escape","hash":{},"data":data})) != null ? stack1 : "") 182 + "</a></div>"; 183 },"14":function(container,depth0,helpers,partials,data) { 184 var stack1; 185 186 return " , <span style=\"font-variant: small-caps\" data-sw-translate>api version</span>: " 187 + ((stack1 = (helpers.escape || (depth0 && depth0.escape) || helpers.helperMissing).call(depth0 != null ? depth0 : {},((stack1 = (depth0 != null ? depth0.info : depth0)) != null ? stack1.version : stack1),{"name":"escape","hash":{},"data":data})) != null ? stack1 : "") 188 + "\n "; 189 },"16":function(container,depth0,helpers,partials,data) { 190 var stack1, alias1=depth0 != null ? depth0 : {}, alias2=helpers.helperMissing; 191 192 return " <span style=\"float:right\"><a target=\"_blank\" href=\"" 193 + ((stack1 = (helpers.escape || (depth0 && depth0.escape) || alias2).call(alias1,(depth0 != null ? depth0.validatorUrl : depth0),{"name":"escape","hash":{},"data":data})) != null ? stack1 : "") 194 + "/debug?url=" 195 + ((stack1 = (helpers.escape || (depth0 && depth0.escape) || alias2).call(alias1,(depth0 != null ? depth0.url : depth0),{"name":"escape","hash":{},"data":data})) != null ? stack1 : "") 196 + "\"><img id=\"validator\" src=\"" 197 + ((stack1 = (helpers.escape || (depth0 && depth0.escape) || alias2).call(alias1,(depth0 != null ? depth0.validatorUrl : depth0),{"name":"escape","hash":{},"data":data})) != null ? stack1 : "") 198 + "?url=" 199 + ((stack1 = (helpers.escape || (depth0 && depth0.escape) || alias2).call(alias1,(depth0 != null ? depth0.url : depth0),{"name":"escape","hash":{},"data":data})) != null ? stack1 : "") 200 + "\"></a>\n </span>\n"; 201 },"compiler":[7,">= 4.0.0"],"main":function(container,depth0,helpers,partials,data) { 202 var stack1, alias1=depth0 != null ? depth0 : {}; 203 204 return "<div class='info' id='api_info'>\n" 205 + ((stack1 = helpers["if"].call(alias1,(depth0 != null ? depth0.info : depth0),{"name":"if","hash":{},"fn":container.program(1, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "") 206 + "</div>\n<div class='container' id='resources_container'>\n <div class='authorize-wrapper'></div>\n\n <ul id='resources'></ul>\n\n <div class=\"footer\">\n <h4 style=\"color: #999\">[ <span style=\"font-variant: small-caps\">base url</span>: " 207 + ((stack1 = (helpers.escape || (depth0 && depth0.escape) || helpers.helperMissing).call(alias1,(depth0 != null ? depth0.basePath : depth0),{"name":"escape","hash":{},"data":data})) != null ? stack1 : "") 208 + "\n" 209 + ((stack1 = helpers["if"].call(alias1,((stack1 = (depth0 != null ? depth0.info : depth0)) != null ? stack1.version : stack1),{"name":"if","hash":{},"fn":container.program(14, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "") 210 + "]\n" 211 + ((stack1 = helpers["if"].call(alias1,(depth0 != null ? depth0.validatorUrl : depth0),{"name":"if","hash":{},"fn":container.program(16, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "") 212 + " </h4>\n </div>\n</div>\n"; 213 },"useData":true}); 214 templates['oauth2'] = template({"1":function(container,depth0,helpers,partials,data) { 215 var stack1, alias1=depth0 != null ? depth0 : {}, alias2=helpers.helperMissing; 216 217 return " <li>\n <input class=\"oauth-scope\" type=\"checkbox\" data-scope=\"" 218 + ((stack1 = (helpers.escape || (depth0 && depth0.escape) || alias2).call(alias1,(depth0 != null ? depth0.scope : depth0),{"name":"escape","hash":{},"data":data})) != null ? stack1 : "") 219 + "\" oauthtype=\"" 220 + ((stack1 = (helpers.escape || (depth0 && depth0.escape) || alias2).call(alias1,(depth0 != null ? depth0.OAuthSchemeKey : depth0),{"name":"escape","hash":{},"data":data})) != null ? stack1 : "") 221 + "\"/>\n <label>" 222 + ((stack1 = (helpers.escape || (depth0 && depth0.escape) || alias2).call(alias1,(depth0 != null ? depth0.scope : depth0),{"name":"escape","hash":{},"data":data})) != null ? stack1 : "") 223 + "</label><br/>\n <span class=\"api-scope-desc\">" 224 + ((stack1 = (helpers.escape || (depth0 && depth0.escape) || alias2).call(alias1,(depth0 != null ? depth0.description : depth0),{"name":"escape","hash":{},"data":data})) != null ? stack1 : "") 225 + "\n" 226 + ((stack1 = helpers["if"].call(alias1,(depth0 != null ? depth0.OAuthSchemeKey : depth0),{"name":"if","hash":{},"fn":container.program(2, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "") 227 + " </span>\n </li>\n"; 228 },"2":function(container,depth0,helpers,partials,data) { 229 var stack1; 230 231 return " (" 232 + ((stack1 = (helpers.escape || (depth0 && depth0.escape) || helpers.helperMissing).call(depth0 != null ? depth0 : {},(depth0 != null ? depth0.OAuthSchemeKey : depth0),{"name":"escape","hash":{},"data":data})) != null ? stack1 : "") 233 + ")\n"; 234 },"compiler":[7,">= 4.0.0"],"main":function(container,depth0,helpers,partials,data) { 235 var stack1, alias1=depth0 != null ? depth0 : {}, alias2=helpers.helperMissing; 236 237 return "<div>\n <h3 class=\"auth__title\">Select OAuth2.0 Scopes</h3>\n <p>" 238 + ((stack1 = (helpers.sanitize || (depth0 && depth0.sanitize) || alias2).call(alias1,(depth0 != null ? depth0.description : depth0),{"name":"sanitize","hash":{},"data":data})) != null ? stack1 : "") 239 + "</p>\n <p>Scopes are used to grant an application different levels of access to data on behalf of the end user. Each API may declare one or more scopes.\n <a href=\"#\">Learn how to use</a>\n </p>\n <p><strong> " 240 + ((stack1 = (helpers.escape || (depth0 && depth0.escape) || alias2).call(alias1,(depth0 != null ? depth0.appName : depth0),{"name":"escape","hash":{},"data":data})) != null ? stack1 : "") 241 + " </strong> API requires the following scopes. Select which ones you want to grant to Swagger UI.</p>\n <p>Authorization URL: " 242 + ((stack1 = (helpers.sanitize || (depth0 && depth0.sanitize) || alias2).call(alias1,(depth0 != null ? depth0.authorizationUrl : depth0),{"name":"sanitize","hash":{},"data":data})) != null ? stack1 : "") 243 + "</p>\n <p>flow: " 244 + ((stack1 = (helpers.escape || (depth0 && depth0.escape) || alias2).call(alias1,(depth0 != null ? depth0.flow : depth0),{"name":"escape","hash":{},"data":data})) != null ? stack1 : "") 245 + "</p>\n <ul class=\"api-popup-scopes\">\n" 246 + ((stack1 = helpers.each.call(alias1,(depth0 != null ? depth0.scopes : depth0),{"name":"each","hash":{},"fn":container.program(1, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "") 247 + " </ul>\n</div>"; 248 },"useData":true}); 249 templates['operation'] = template({"1":function(container,depth0,helpers,partials,data) { 250 return "deprecated"; 251 },"3":function(container,depth0,helpers,partials,data) { 252 return " <h4><span data-sw-translate>Warning: Deprecated</span></h4>\n"; 253 },"5":function(container,depth0,helpers,partials,data) { 254 var stack1; 255 256 return " <h4><span data-sw-translate>Implementation Notes</span></h4>\n <div class=\"markdown\">" 257 + ((stack1 = (helpers.sanitize || (depth0 && depth0.sanitize) || helpers.helperMissing).call(depth0 != null ? depth0 : {},(depth0 != null ? depth0.description : depth0),{"name":"sanitize","hash":{},"data":data})) != null ? stack1 : "") 258 + "</div>\n"; 259 },"7":function(container,depth0,helpers,partials,data) { 260 return " <div class='authorize-wrapper authorize-wrapper_operation'></div>\n"; 261 },"9":function(container,depth0,helpers,partials,data) { 262 var stack1, alias1=depth0 != null ? depth0 : {}; 263 264 return " <div class=\"response-class\">\n <h4><span data-sw-translate>Response Class</span> (<span data-sw-translate>Status</span> " 265 + ((stack1 = (helpers.escape || (depth0 && depth0.escape) || helpers.helperMissing).call(alias1,(depth0 != null ? depth0.successCode : depth0),{"name":"escape","hash":{},"data":data})) != null ? stack1 : "") 266 + ")</h4>\n " 267 + ((stack1 = helpers["if"].call(alias1,(depth0 != null ? depth0.successDescription : depth0),{"name":"if","hash":{},"fn":container.program(10, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "") 268 + "\n <p><span class=\"model-signature\" /></p>\n <br/>\n <div class=\"response-content-type\" />\n </div>\n"; 269 },"10":function(container,depth0,helpers,partials,data) { 270 var stack1; 271 272 return "<div class=\"markdown\">" 273 + ((stack1 = (helpers.sanitize || (depth0 && depth0.sanitize) || helpers.helperMissing).call(depth0 != null ? depth0 : {},(depth0 != null ? depth0.successDescription : depth0),{"name":"sanitize","hash":{},"data":data})) != null ? stack1 : "") 274 + "</div>"; 275 },"12":function(container,depth0,helpers,partials,data) { 276 var stack1; 277 278 return " <h4 data-sw-translate>Headers</h4>\n <table class=\"headers\">\n <thead>\n <tr>\n <th style=\"width: 100px; max-width: 100px\" data-sw-translate>Header</th>\n <th style=\"width: 310px; max-width: 310px\" data-sw-translate>Description</th>\n <th style=\"width: 200px; max-width: 200px\" data-sw-translate>Type</th>\n <th style=\"width: 320px; max-width: 320px\" data-sw-translate>Other</th>\n </tr>\n </thead>\n <tbody>\n" 279 + ((stack1 = helpers.each.call(depth0 != null ? depth0 : {},(depth0 != null ? depth0.headers : depth0),{"name":"each","hash":{},"fn":container.program(13, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "") 280 + " </tbody>\n </table>\n"; 281 },"13":function(container,depth0,helpers,partials,data) { 282 var stack1, helper, alias1=depth0 != null ? depth0 : {}, alias2=helpers.helperMissing; 283 284 return " <tr>\n <td>" 285 + container.escapeExpression(((helper = (helper = helpers.key || (data && data.key)) != null ? helper : alias2),(typeof helper === "function" ? helper.call(alias1,{"name":"key","hash":{},"data":data}) : helper))) 286 + "</td>\n <td>" 287 + ((stack1 = (helpers.sanitize || (depth0 && depth0.sanitize) || alias2).call(alias1,(depth0 != null ? depth0.description : depth0),{"name":"sanitize","hash":{},"data":data})) != null ? stack1 : "") 288 + "</td>\n <td>" 289 + ((stack1 = (helpers.escape || (depth0 && depth0.escape) || alias2).call(alias1,(depth0 != null ? depth0.type : depth0),{"name":"escape","hash":{},"data":data})) != null ? stack1 : "") 290 + "</td>\n <td>" 291 + ((stack1 = (helpers.escape || (depth0 && depth0.escape) || alias2).call(alias1,(depth0 != null ? depth0.other : depth0),{"name":"escape","hash":{},"data":data})) != null ? stack1 : "") 292 + "</td>\n </tr>\n"; 293 },"15":function(container,depth0,helpers,partials,data) { 294 return " <h4 data-sw-translate>Parameters</h4>\n <table class='fullwidth parameters'>\n <thead>\n <tr>\n <th style=\"width: 100px; max-width: 100px\" data-sw-translate>Parameter</th>\n <th style=\"width: 310px; max-width: 310px\" data-sw-translate>Value</th>\n <th style=\"width: 200px; max-width: 200px\" data-sw-translate>Description</th>\n <th style=\"width: 100px; max-width: 100px\" data-sw-translate>Parameter Type</th>\n <th style=\"width: 220px; max-width: 230px\" data-sw-translate>Data Type</th>\n </tr>\n </thead>\n <tbody class=\"operation-params\">\n\n </tbody>\n </table>\n"; 295 },"17":function(container,depth0,helpers,partials,data) { 296 return " <div style='margin:0;padding:0;display:inline'></div>\n <h4 data-sw-translate>Response Messages</h4>\n <table class='fullwidth response-messages'>\n <thead>\n <tr>\n <th data-sw-translate>HTTP Status Code</th>\n <th data-sw-translate>Reason</th>\n <th data-sw-translate>Response Model</th>\n <th data-sw-translate>Headers</th>\n </tr>\n </thead>\n <tbody class=\"operation-status\">\n </tbody>\n </table>\n"; 297 },"19":function(container,depth0,helpers,partials,data) { 298 return ""; 299 },"21":function(container,depth0,helpers,partials,data) { 300 return " <div class='sandbox_header'>\n <input class='submit' type='submit' value='Try it out!' data-sw-translate/>\n <a href='#' class='response_hider' style='display:none' data-sw-translate>Hide Response</a>\n <span class='response_throbber' style='display:none'></span>\n </div>\n"; 301 },"23":function(container,depth0,helpers,partials,data) { 302 return " <h4 data-sw-translate>Request Headers</h4>\n <div class='block request_headers'></div>\n"; 303 },"compiler":[7,">= 4.0.0"],"main":function(container,depth0,helpers,partials,data) { 304 var stack1, alias1=depth0 != null ? depth0 : {}, alias2=helpers.helperMissing, alias3=container.escapeExpression; 305 306 return " <ul class='operations' >\n <li class='" 307 + ((stack1 = (helpers.escape || (depth0 && depth0.escape) || alias2).call(alias1,(depth0 != null ? depth0.method : depth0),{"name":"escape","hash":{},"data":data})) != null ? stack1 : "") 308 + " operation' id='" 309 + ((stack1 = (helpers.escape || (depth0 && depth0.escape) || alias2).call(alias1,(depth0 != null ? depth0.parentId : depth0),{"name":"escape","hash":{},"data":data})) != null ? stack1 : "") 310 + "_" 311 + ((stack1 = (helpers.escape || (depth0 && depth0.escape) || alias2).call(alias1,(depth0 != null ? depth0.nickname : depth0),{"name":"escape","hash":{},"data":data})) != null ? stack1 : "") 312 + "'>\n <div class='heading'>\n <h3>\n <span class='http_method'>\n <a href='#!/" 313 + alias3((helpers.sanitize || (depth0 && depth0.sanitize) || alias2).call(alias1,(depth0 != null ? depth0.encodedParentId : depth0),{"name":"sanitize","hash":{},"data":data})) 314 + "/" 315 + alias3((helpers.sanitize || (depth0 && depth0.sanitize) || alias2).call(alias1,(depth0 != null ? depth0.nickname : depth0),{"name":"sanitize","hash":{},"data":data})) 316 + "' class=\"toggleOperation\">" 317 + ((stack1 = (helpers.escape || (depth0 && depth0.escape) || alias2).call(alias1,(depth0 != null ? depth0.method : depth0),{"name":"escape","hash":{},"data":data})) != null ? stack1 : "") 318 + "</a>\n </span>\n <span class='path'>\n <a href='#!/" 319 + alias3((helpers.sanitize || (depth0 && depth0.sanitize) || alias2).call(alias1,(depth0 != null ? depth0.encodedParentId : depth0),{"name":"sanitize","hash":{},"data":data})) 320 + "/" 321 + alias3((helpers.sanitize || (depth0 && depth0.sanitize) || alias2).call(alias1,(depth0 != null ? depth0.nickname : depth0),{"name":"sanitize","hash":{},"data":data})) 322 + "' class=\"toggleOperation " 323 + ((stack1 = helpers["if"].call(alias1,(depth0 != null ? depth0.deprecated : depth0),{"name":"if","hash":{},"fn":container.program(1, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "") 324 + "\">" 325 + ((stack1 = (helpers.escape || (depth0 && depth0.escape) || alias2).call(alias1,(depth0 != null ? depth0.path : depth0),{"name":"escape","hash":{},"data":data})) != null ? stack1 : "") 326 + "</a>\n </span>\n </h3>\n <ul class='options'>\n <li>\n <a href='#!/" 327 + alias3((helpers.sanitize || (depth0 && depth0.sanitize) || alias2).call(alias1,(depth0 != null ? depth0.encodedParentId : depth0),{"name":"sanitize","hash":{},"data":data})) 328 + "/" 329 + alias3((helpers.sanitize || (depth0 && depth0.sanitize) || alias2).call(alias1,(depth0 != null ? depth0.nickname : depth0),{"name":"sanitize","hash":{},"data":data})) 330 + "' class=\"toggleOperation\"><span class=\"markdown\">" 331 + ((stack1 = (helpers.escape || (depth0 && depth0.escape) || alias2).call(alias1,(depth0 != null ? depth0.summary : depth0),{"name":"escape","hash":{},"data":data})) != null ? stack1 : "") 332 + "</span></a>\n </li>\n </ul>\n </div>\n <div class='content' id='" 333 + alias3((helpers.sanitize || (depth0 && depth0.sanitize) || alias2).call(alias1,(depth0 != null ? depth0.encodedParentId : depth0),{"name":"sanitize","hash":{},"data":data})) 334 + "_" 335 + alias3((helpers.sanitize || (depth0 && depth0.sanitize) || alias2).call(alias1,(depth0 != null ? depth0.nickname : depth0),{"name":"sanitize","hash":{},"data":data})) 336 + "_content' style='display:none'>\n" 337 + ((stack1 = helpers["if"].call(alias1,(depth0 != null ? depth0.deprecated : depth0),{"name":"if","hash":{},"fn":container.program(3, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "") 338 + ((stack1 = helpers["if"].call(alias1,(depth0 != null ? depth0.description : depth0),{"name":"if","hash":{},"fn":container.program(5, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "") 339 + ((stack1 = helpers["if"].call(alias1,(depth0 != null ? depth0.security : depth0),{"name":"if","hash":{},"fn":container.program(7, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "") 340 + ((stack1 = helpers["if"].call(alias1,(depth0 != null ? depth0.type : depth0),{"name":"if","hash":{},"fn":container.program(9, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "") 341 + "\n" 342 + ((stack1 = helpers["if"].call(alias1,(depth0 != null ? depth0.headers : depth0),{"name":"if","hash":{},"fn":container.program(12, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "") 343 + "\n <form accept-charset='UTF-8' class='sandbox'>\n <div style='margin:0;padding:0;display:inline'></div>\n" 344 + ((stack1 = helpers["if"].call(alias1,(depth0 != null ? depth0.parameters : depth0),{"name":"if","hash":{},"fn":container.program(15, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "") 345 + ((stack1 = helpers["if"].call(alias1,(depth0 != null ? depth0.responseMessages : depth0),{"name":"if","hash":{},"fn":container.program(17, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "") 346 + ((stack1 = helpers["if"].call(alias1,(depth0 != null ? depth0.isReadOnly : depth0),{"name":"if","hash":{},"fn":container.program(19, data, 0),"inverse":container.program(21, data, 0),"data":data})) != null ? stack1 : "") 347 + " </form>\n <div class='response' style='display:none'>\n <h4 class='curl'>Curl</h4>\n <div class='block curl'></div>\n <h4 data-sw-translate>Request URL</h4>\n <div class='block request_url'></div>\n" 348 + ((stack1 = helpers["if"].call(alias1,(depth0 != null ? depth0.showRequestHeaders : depth0),{"name":"if","hash":{},"fn":container.program(23, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "") 349 + " <h4 data-sw-translate>Response Body</h4>\n <div class='block response_body'></div>\n <h4 data-sw-translate>Response Code</h4>\n <div class='block response_code'></div>\n <h4 data-sw-translate>Response Headers</h4>\n <div class='block response_headers'></div>\n </div>\n </div>\n </li>\n </ul>\n"; 350 },"useData":true}); 351 templates['param'] = template({"1":function(container,depth0,helpers,partials,data) { 352 var stack1; 353 354 return ((stack1 = helpers["if"].call(depth0 != null ? depth0 : {},(depth0 != null ? depth0.isFile : depth0),{"name":"if","hash":{},"fn":container.program(2, data, 0),"inverse":container.program(4, data, 0),"data":data})) != null ? stack1 : ""); 355 },"2":function(container,depth0,helpers,partials,data) { 356 var stack1, alias1=depth0 != null ? depth0 : {}, alias2=helpers.helperMissing; 357 358 return " <input type=\"file\" name='" 359 + ((stack1 = (helpers.escape || (depth0 && depth0.escape) || alias2).call(alias1,(depth0 != null ? depth0.name : depth0),{"name":"escape","hash":{},"data":data})) != null ? stack1 : "") 360 + "' id='" 361 + ((stack1 = (helpers.escape || (depth0 && depth0.escape) || alias2).call(alias1,(depth0 != null ? depth0.valueId : depth0),{"name":"escape","hash":{},"data":data})) != null ? stack1 : "") 362 + "'/>\n <div class=\"parameter-content-type\" />\n"; 363 },"4":function(container,depth0,helpers,partials,data) { 364 var stack1; 365 366 return ((stack1 = helpers["if"].call(depth0 != null ? depth0 : {},(depth0 != null ? depth0["default"] : depth0),{"name":"if","hash":{},"fn":container.program(5, data, 0),"inverse":container.program(7, data, 0),"data":data})) != null ? stack1 : ""); 367 },"5":function(container,depth0,helpers,partials,data) { 368 var stack1, alias1=depth0 != null ? depth0 : {}, alias2=helpers.helperMissing; 369 370 return " <div class=\"editor_holder\"></div>\n <textarea class='body-textarea' name='" 371 + ((stack1 = (helpers.escape || (depth0 && depth0.escape) || alias2).call(alias1,(depth0 != null ? depth0.name : depth0),{"name":"escape","hash":{},"data":data})) != null ? stack1 : "") 372 + "' id='" 373 + ((stack1 = (helpers.escape || (depth0 && depth0.escape) || alias2).call(alias1,(depth0 != null ? depth0.valueId : depth0),{"name":"escape","hash":{},"data":data})) != null ? stack1 : "") 374 + "'>" 375 + ((stack1 = (helpers.escape || (depth0 && depth0.escape) || alias2).call(alias1,(depth0 != null ? depth0["default"] : depth0),{"name":"escape","hash":{},"data":data})) != null ? stack1 : "") 376 + "</textarea>\n <br />\n <div class=\"parameter-content-type\" />\n"; 377 },"7":function(container,depth0,helpers,partials,data) { 378 var stack1, alias1=depth0 != null ? depth0 : {}, alias2=helpers.helperMissing; 379 380 return " <textarea class='body-textarea' name='" 381 + ((stack1 = (helpers.escape || (depth0 && depth0.escape) || alias2).call(alias1,(depth0 != null ? depth0.name : depth0),{"name":"escape","hash":{},"data":data})) != null ? stack1 : "") 382 + "' id='" 383 + ((stack1 = (helpers.escape || (depth0 && depth0.escape) || alias2).call(alias1,(depth0 != null ? depth0.valueId : depth0),{"name":"escape","hash":{},"data":data})) != null ? stack1 : "") 384 + "'></textarea>\n <div class=\"editor_holder\"></div>\n <br />\n <div class=\"parameter-content-type\" />\n"; 385 },"9":function(container,depth0,helpers,partials,data) { 386 var stack1; 387 388 return ((stack1 = helpers["if"].call(depth0 != null ? depth0 : {},(depth0 != null ? depth0.isFile : depth0),{"name":"if","hash":{},"fn":container.program(2, data, 0),"inverse":container.program(10, data, 0),"data":data})) != null ? stack1 : ""); 389 },"10":function(container,depth0,helpers,partials,data) { 390 var stack1; 391 392 return ((stack1 = (helpers.renderTextParam || (depth0 && depth0.renderTextParam) || helpers.helperMissing).call(depth0 != null ? depth0 : {},depth0,{"name":"renderTextParam","hash":{},"fn":container.program(11, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : ""); 393 },"11":function(container,depth0,helpers,partials,data) { 394 return ""; 395 },"compiler":[7,">= 4.0.0"],"main":function(container,depth0,helpers,partials,data) { 396 var stack1, alias1=depth0 != null ? depth0 : {}, alias2=helpers.helperMissing; 397 398 return "<td class='code'><label for='" 399 + ((stack1 = (helpers.escape || (depth0 && depth0.escape) || alias2).call(alias1,(depth0 != null ? depth0.valueId : depth0),{"name":"escape","hash":{},"data":data})) != null ? stack1 : "") 400 + "'>" 401 + ((stack1 = (helpers.escape || (depth0 && depth0.escape) || alias2).call(alias1,(depth0 != null ? depth0.name : depth0),{"name":"escape","hash":{},"data":data})) != null ? stack1 : "") 402 + "</label></td>\n<td>\n\n" 403 + ((stack1 = helpers["if"].call(alias1,(depth0 != null ? depth0.isBody : depth0),{"name":"if","hash":{},"fn":container.program(1, data, 0),"inverse":container.program(9, data, 0),"data":data})) != null ? stack1 : "") 404 + "\n</td>\n<td class=\"markdown\">" 405 + ((stack1 = (helpers.sanitize || (depth0 && depth0.sanitize) || alias2).call(alias1,(depth0 != null ? depth0.description : depth0),{"name":"sanitize","hash":{},"data":data})) != null ? stack1 : "") 406 + "</td>\n<td>" 407 + ((stack1 = (helpers.escape || (depth0 && depth0.escape) || alias2).call(alias1,(depth0 != null ? depth0.paramType : depth0),{"name":"escape","hash":{},"data":data})) != null ? stack1 : "") 408 + "</td>\n<td>\n <span class=\"model-signature\"></span>\n</td>\n"; 409 },"useData":true}); 410 templates['param_list'] = template({"1":function(container,depth0,helpers,partials,data) { 411 return " required"; 412 },"3":function(container,depth0,helpers,partials,data) { 413 return " multiple=\"multiple\""; 414 },"5":function(container,depth0,helpers,partials,data) { 415 return " required "; 416 },"7":function(container,depth0,helpers,partials,data) { 417 var stack1; 418 419 return " <option " 420 + ((stack1 = helpers.unless.call(depth0 != null ? depth0 : {},(depth0 != null ? depth0.hasDefault : depth0),{"name":"unless","hash":{},"fn":container.program(8, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "") 421 + " value=''></option>\n"; 422 },"8":function(container,depth0,helpers,partials,data) { 423 return " selected=\"\" "; 424 },"10":function(container,depth0,helpers,partials,data) { 425 var stack1, alias1=depth0 != null ? depth0 : {}, alias2=helpers.helperMissing; 426 427 return "\n <option " 428 + ((stack1 = helpers["if"].call(alias1,(depth0 != null ? depth0.isDefault : depth0),{"name":"if","hash":{},"fn":container.program(11, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "") 429 + " value='" 430 + ((stack1 = (helpers.sanitize || (depth0 && depth0.sanitize) || alias2).call(alias1,(depth0 != null ? depth0.value : depth0),{"name":"sanitize","hash":{},"data":data})) != null ? stack1 : "") 431 + "'> " 432 + ((stack1 = (helpers.sanitize || (depth0 && depth0.sanitize) || alias2).call(alias1,(depth0 != null ? depth0.value : depth0),{"name":"sanitize","hash":{},"data":data})) != null ? stack1 : "") 433 + " " 434 + ((stack1 = helpers["if"].call(alias1,(depth0 != null ? depth0.isDefault : depth0),{"name":"if","hash":{},"fn":container.program(13, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "") 435 + " </option>\n\n"; 436 },"11":function(container,depth0,helpers,partials,data) { 437 return " selected=\"\" "; 438 },"13":function(container,depth0,helpers,partials,data) { 439 return " (default) "; 440 },"15":function(container,depth0,helpers,partials,data) { 441 return "<strong>"; 442 },"17":function(container,depth0,helpers,partials,data) { 443 return "</strong>"; 444 },"compiler":[7,">= 4.0.0"],"main":function(container,depth0,helpers,partials,data) { 445 var stack1, helper, alias1=depth0 != null ? depth0 : {}, alias2=helpers.helperMissing; 446 447 return "<td class='code" 448 + ((stack1 = helpers["if"].call(alias1,(depth0 != null ? depth0.required : depth0),{"name":"if","hash":{},"fn":container.program(1, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "") 449 + "'><label for='" 450 + ((stack1 = (helpers.escape || (depth0 && depth0.escape) || alias2).call(alias1,(depth0 != null ? depth0.valueId : depth0),{"name":"escape","hash":{},"data":data})) != null ? stack1 : "") 451 + "'>" 452 + ((stack1 = (helpers.sanitize || (depth0 && depth0.sanitize) || alias2).call(alias1,(depth0 != null ? depth0.name : depth0),{"name":"sanitize","hash":{},"data":data})) != null ? stack1 : "") 453 + "</label></td>\n<td>\n <select " 454 + ((stack1 = (helpers.isArray || (depth0 && depth0.isArray) || alias2).call(alias1,depth0,{"name":"isArray","hash":{},"fn":container.program(3, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "") 455 + " class=\"parameter " 456 + ((stack1 = helpers["if"].call(alias1,(depth0 != null ? depth0.required : depth0),{"name":"if","hash":{},"fn":container.program(5, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "") 457 + "\" name=\"" 458 + ((stack1 = (helpers.sanitize || (depth0 && depth0.sanitize) || alias2).call(alias1,(depth0 != null ? depth0.name : depth0),{"name":"sanitize","hash":{},"data":data})) != null ? stack1 : "") 459 + "\" id=\"" 460 + ((stack1 = (helpers.escape || (depth0 && depth0.escape) || alias2).call(alias1,(depth0 != null ? depth0.valueId : depth0),{"name":"escape","hash":{},"data":data})) != null ? stack1 : "") 461 + "\">\n\n" 462 + ((stack1 = helpers.unless.call(alias1,(depth0 != null ? depth0.required : depth0),{"name":"unless","hash":{},"fn":container.program(7, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "") 463 + "\n" 464 + ((stack1 = helpers.each.call(alias1,((stack1 = (depth0 != null ? depth0.allowableValues : depth0)) != null ? stack1.descriptiveValues : stack1),{"name":"each","hash":{},"fn":container.program(10, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "") 465 + "\n </select>\n</td>\n<td class=\"markdown\">" 466 + ((stack1 = helpers["if"].call(alias1,(depth0 != null ? depth0.required : depth0),{"name":"if","hash":{},"fn":container.program(15, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "") 467 + ((stack1 = ((helper = (helper = helpers.description || (depth0 != null ? depth0.description : depth0)) != null ? helper : alias2),(typeof helper === "function" ? helper.call(alias1,{"name":"description","hash":{},"data":data}) : helper))) != null ? stack1 : "") 468 + ((stack1 = helpers["if"].call(alias1,(depth0 != null ? depth0.required : depth0),{"name":"if","hash":{},"fn":container.program(17, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "") 469 + "</td>\n<td>" 470 + ((stack1 = (helpers.escape || (depth0 && depth0.escape) || alias2).call(alias1,(depth0 != null ? depth0.paramType : depth0),{"name":"escape","hash":{},"data":data})) != null ? stack1 : "") 471 + "</td>\n<td><span class=\"model-signature\"></span></td>\n"; 472 },"useData":true}); 473 templates['param_readonly'] = template({"1":function(container,depth0,helpers,partials,data) { 474 var stack1, alias1=depth0 != null ? depth0 : {}, alias2=helpers.helperMissing; 475 476 return " <textarea class='body-textarea' readonly='readonly' name='" 477 + ((stack1 = (helpers.sanitize || (depth0 && depth0.sanitize) || alias2).call(alias1,(depth0 != null ? depth0.name : depth0),{"name":"sanitize","hash":{},"data":data})) != null ? stack1 : "") 478 + "' id='" 479 + ((stack1 = (helpers.escape || (depth0 && depth0.escape) || alias2).call(alias1,(depth0 != null ? depth0.valueId : depth0),{"name":"escape","hash":{},"data":data})) != null ? stack1 : "") 480 + "'>" 481 + ((stack1 = (helpers.sanitize || (depth0 && depth0.sanitize) || alias2).call(alias1,(depth0 != null ? depth0["default"] : depth0),{"name":"sanitize","hash":{},"data":data})) != null ? stack1 : "") 482 + "</textarea>\n <div class=\"parameter-content-type\" />\n"; 483 },"3":function(container,depth0,helpers,partials,data) { 484 var stack1; 485 486 return ((stack1 = helpers["if"].call(depth0 != null ? depth0 : {},(depth0 != null ? depth0["default"] : depth0),{"name":"if","hash":{},"fn":container.program(4, data, 0),"inverse":container.program(6, data, 0),"data":data})) != null ? stack1 : ""); 487 },"4":function(container,depth0,helpers,partials,data) { 488 var stack1; 489 490 return " " 491 + ((stack1 = (helpers.sanitize || (depth0 && depth0.sanitize) || helpers.helperMissing).call(depth0 != null ? depth0 : {},(depth0 != null ? depth0["default"] : depth0),{"name":"sanitize","hash":{},"data":data})) != null ? stack1 : "") 492 + "\n"; 493 },"6":function(container,depth0,helpers,partials,data) { 494 return " (empty)\n"; 495 },"compiler":[7,">= 4.0.0"],"main":function(container,depth0,helpers,partials,data) { 496 var stack1, alias1=depth0 != null ? depth0 : {}, alias2=helpers.helperMissing; 497 498 return "<td class='code'><label for='" 499 + ((stack1 = (helpers.escape || (depth0 && depth0.escape) || alias2).call(alias1,(depth0 != null ? depth0.valueId : depth0),{"name":"escape","hash":{},"data":data})) != null ? stack1 : "") 500 + "'>" 501 + ((stack1 = (helpers.sanitize || (depth0 && depth0.sanitize) || alias2).call(alias1,(depth0 != null ? depth0.name : depth0),{"name":"sanitize","hash":{},"data":data})) != null ? stack1 : "") 502 + "</label></td>\n<td>\n" 503 + ((stack1 = helpers["if"].call(alias1,(depth0 != null ? depth0.isBody : depth0),{"name":"if","hash":{},"fn":container.program(1, data, 0),"inverse":container.program(3, data, 0),"data":data})) != null ? stack1 : "") 504 + "</td>\n<td class=\"markdown\">" 505 + ((stack1 = (helpers.sanitize || (depth0 && depth0.sanitize) || alias2).call(alias1,(depth0 != null ? depth0.description : depth0),{"name":"sanitize","hash":{},"data":data})) != null ? stack1 : "") 506 + "</td>\n<td>" 507 + ((stack1 = (helpers.escape || (depth0 && depth0.escape) || alias2).call(alias1,(depth0 != null ? depth0.paramType : depth0),{"name":"escape","hash":{},"data":data})) != null ? stack1 : "") 508 + "</td>\n<td><span class=\"model-signature\"></span></td>\n"; 509 },"useData":true}); 510 templates['param_readonly_required'] = template({"1":function(container,depth0,helpers,partials,data) { 511 var stack1, alias1=depth0 != null ? depth0 : {}, alias2=helpers.helperMissing; 512 513 return " <textarea class='body-textarea' readonly='readonly' placeholder='(required)' name='" 514 + ((stack1 = (helpers.sanitize || (depth0 && depth0.sanitize) || alias2).call(alias1,(depth0 != null ? depth0.name : depth0),{"name":"sanitize","hash":{},"data":data})) != null ? stack1 : "") 515 + "' id='" 516 + ((stack1 = (helpers.escape || (depth0 && depth0.escape) || alias2).call(alias1,(depth0 != null ? depth0.valueId : depth0),{"name":"escape","hash":{},"data":data})) != null ? stack1 : "") 517 + "'>" 518 + ((stack1 = (helpers.sanitize || (depth0 && depth0.sanitize) || alias2).call(alias1,(depth0 != null ? depth0["default"] : depth0),{"name":"sanitize","hash":{},"data":data})) != null ? stack1 : "") 519 + "</textarea>\n"; 520 },"3":function(container,depth0,helpers,partials,data) { 521 var stack1; 522 523 return ((stack1 = helpers["if"].call(depth0 != null ? depth0 : {},(depth0 != null ? depth0["default"] : depth0),{"name":"if","hash":{},"fn":container.program(4, data, 0),"inverse":container.program(6, data, 0),"data":data})) != null ? stack1 : ""); 524 },"4":function(container,depth0,helpers,partials,data) { 525 var stack1; 526 527 return " " 528 + ((stack1 = (helpers.sanitize || (depth0 && depth0.sanitize) || helpers.helperMissing).call(depth0 != null ? depth0 : {},(depth0 != null ? depth0["default"] : depth0),{"name":"sanitize","hash":{},"data":data})) != null ? stack1 : "") 529 + "\n"; 530 },"6":function(container,depth0,helpers,partials,data) { 531 return " (empty)\n"; 532 },"compiler":[7,">= 4.0.0"],"main":function(container,depth0,helpers,partials,data) { 533 var stack1, alias1=depth0 != null ? depth0 : {}, alias2=helpers.helperMissing; 534 535 return "<td class='code required'><label for='" 536 + ((stack1 = (helpers.escape || (depth0 && depth0.escape) || alias2).call(alias1,(depth0 != null ? depth0.valueId : depth0),{"name":"escape","hash":{},"data":data})) != null ? stack1 : "") 537 + "'>" 538 + ((stack1 = (helpers.sanitize || (depth0 && depth0.sanitize) || alias2).call(alias1,(depth0 != null ? depth0.name : depth0),{"name":"sanitize","hash":{},"data":data})) != null ? stack1 : "") 539 + "</label></td>\n<td>\n" 540 + ((stack1 = helpers["if"].call(alias1,(depth0 != null ? depth0.isBody : depth0),{"name":"if","hash":{},"fn":container.program(1, data, 0),"inverse":container.program(3, data, 0),"data":data})) != null ? stack1 : "") 541 + "</td>\n<td class=\"markdown\">" 542 + ((stack1 = (helpers.sanitize || (depth0 && depth0.sanitize) || alias2).call(alias1,(depth0 != null ? depth0.description : depth0),{"name":"sanitize","hash":{},"data":data})) != null ? stack1 : "") 543 + "</td>\n<td>" 544 + ((stack1 = (helpers.escape || (depth0 && depth0.escape) || alias2).call(alias1,(depth0 != null ? depth0.paramType : depth0),{"name":"escape","hash":{},"data":data})) != null ? stack1 : "") 545 + "</td>\n<td><span class=\"model-signature\"></span></td>\n"; 546 },"useData":true}); 547 templates['param_required'] = template({"1":function(container,depth0,helpers,partials,data) { 548 var stack1; 549 550 return ((stack1 = helpers["if"].call(depth0 != null ? depth0 : {},(depth0 != null ? depth0.isFile : depth0),{"name":"if","hash":{},"fn":container.program(2, data, 0),"inverse":container.program(4, data, 0),"data":data})) != null ? stack1 : ""); 551 },"2":function(container,depth0,helpers,partials,data) { 552 var stack1, alias1=depth0 != null ? depth0 : {}, alias2=helpers.helperMissing; 553 554 return " <input type=\"file\" name='" 555 + ((stack1 = (helpers.escape || (depth0 && depth0.escape) || alias2).call(alias1,(depth0 != null ? depth0.name : depth0),{"name":"escape","hash":{},"data":data})) != null ? stack1 : "") 556 + "' id='" 557 + ((stack1 = (helpers.escape || (depth0 && depth0.escape) || alias2).call(alias1,(depth0 != null ? depth0.valueId : depth0),{"name":"escape","hash":{},"data":data})) != null ? stack1 : "") 558 + "'/>\n"; 559 },"4":function(container,depth0,helpers,partials,data) { 560 var stack1; 561 562 return ((stack1 = helpers["if"].call(depth0 != null ? depth0 : {},(depth0 != null ? depth0["default"] : depth0),{"name":"if","hash":{},"fn":container.program(5, data, 0),"inverse":container.program(7, data, 0),"data":data})) != null ? stack1 : ""); 563 },"5":function(container,depth0,helpers,partials,data) { 564 var stack1, alias1=depth0 != null ? depth0 : {}, alias2=helpers.helperMissing; 565 566 return " <div class=\"editor_holder\"></div>\n <textarea class='body-textarea required' placeholder='(required)' name='" 567 + ((stack1 = (helpers.sanitize || (depth0 && depth0.sanitize) || alias2).call(alias1,(depth0 != null ? depth0.name : depth0),{"name":"sanitize","hash":{},"data":data})) != null ? stack1 : "") 568 + "' id=\"" 569 + ((stack1 = (helpers.escape || (depth0 && depth0.escape) || alias2).call(alias1,(depth0 != null ? depth0.valueId : depth0),{"name":"escape","hash":{},"data":data})) != null ? stack1 : "") 570 + "\">" 571 + ((stack1 = (helpers.sanitize || (depth0 && depth0.sanitize) || alias2).call(alias1,(depth0 != null ? depth0["default"] : depth0),{"name":"sanitize","hash":{},"data":data})) != null ? stack1 : "") 572 + "</textarea>\n <br />\n <div class=\"parameter-content-type\" />\n"; 573 },"7":function(container,depth0,helpers,partials,data) { 574 var stack1, alias1=depth0 != null ? depth0 : {}, alias2=helpers.helperMissing; 575 576 return " <textarea class='body-textarea required' placeholder='(required)' name='" 577 + ((stack1 = (helpers.sanitize || (depth0 && depth0.sanitize) || alias2).call(alias1,(depth0 != null ? depth0.name : depth0),{"name":"sanitize","hash":{},"data":data})) != null ? stack1 : "") 578 + "' id='" 579 + ((stack1 = (helpers.escape || (depth0 && depth0.escape) || alias2).call(alias1,(depth0 != null ? depth0.valueId : depth0),{"name":"escape","hash":{},"data":data})) != null ? stack1 : "") 580 + "'></textarea>\n <div class=\"editor_holder\"></div>\n <br />\n <div class=\"parameter-content-type\" />\n"; 581 },"9":function(container,depth0,helpers,partials,data) { 582 var stack1; 583 584 return ((stack1 = helpers["if"].call(depth0 != null ? depth0 : {},(depth0 != null ? depth0.isFile : depth0),{"name":"if","hash":{},"fn":container.program(10, data, 0),"inverse":container.program(12, data, 0),"data":data})) != null ? stack1 : ""); 585 },"10":function(container,depth0,helpers,partials,data) { 586 var stack1, alias1=depth0 != null ? depth0 : {}, alias2=helpers.helperMissing; 587 588 return " <input class='parameter' class='required' type='file' name='" 589 + ((stack1 = (helpers.sanitize || (depth0 && depth0.sanitize) || alias2).call(alias1,(depth0 != null ? depth0.name : depth0),{"name":"sanitize","hash":{},"data":data})) != null ? stack1 : "") 590 + "' id='" 591 + ((stack1 = (helpers.escape || (depth0 && depth0.escape) || alias2).call(alias1,(depth0 != null ? depth0.valueId : depth0),{"name":"escape","hash":{},"data":data})) != null ? stack1 : "") 592 + "'/>\n"; 593 },"12":function(container,depth0,helpers,partials,data) { 594 var stack1; 595 596 return ((stack1 = (helpers.renderTextParam || (depth0 && depth0.renderTextParam) || helpers.helperMissing).call(depth0 != null ? depth0 : {},depth0,{"name":"renderTextParam","hash":{},"fn":container.program(13, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : ""); 597 },"13":function(container,depth0,helpers,partials,data) { 598 return ""; 599 },"compiler":[7,">= 4.0.0"],"main":function(container,depth0,helpers,partials,data) { 600 var stack1, alias1=depth0 != null ? depth0 : {}, alias2=helpers.helperMissing; 601 602 return "<td class='code required'><label for='" 603 + ((stack1 = (helpers.escape || (depth0 && depth0.escape) || alias2).call(alias1,(depth0 != null ? depth0.valueId : depth0),{"name":"escape","hash":{},"data":data})) != null ? stack1 : "") 604 + "'>" 605 + ((stack1 = (helpers.escape || (depth0 && depth0.escape) || alias2).call(alias1,(depth0 != null ? depth0.name : depth0),{"name":"escape","hash":{},"data":data})) != null ? stack1 : "") 606 + "</label></td>\n<td>\n" 607 + ((stack1 = helpers["if"].call(alias1,(depth0 != null ? depth0.isBody : depth0),{"name":"if","hash":{},"fn":container.program(1, data, 0),"inverse":container.program(9, data, 0),"data":data})) != null ? stack1 : "") 608 + "</td>\n<td>\n <strong><span class=\"markdown\">" 609 + ((stack1 = (helpers.sanitize || (depth0 && depth0.sanitize) || alias2).call(alias1,(depth0 != null ? depth0.description : depth0),{"name":"sanitize","hash":{},"data":data})) != null ? stack1 : "") 610 + "</span></strong>\n</td>\n<td>" 611 + ((stack1 = (helpers.escape || (depth0 && depth0.escape) || alias2).call(alias1,(depth0 != null ? depth0.paramType : depth0),{"name":"escape","hash":{},"data":data})) != null ? stack1 : "") 612 + "</td>\n<td><span class=\"model-signature\"></span></td>\n"; 613 },"useData":true}); 614 templates['parameter_content_type'] = template({"1":function(container,depth0,helpers,partials,data) { 615 var stack1; 616 617 return ((stack1 = helpers.each.call(depth0 != null ? depth0 : {},(depth0 != null ? depth0.consumes : depth0),{"name":"each","hash":{},"fn":container.program(2, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : ""); 618 },"2":function(container,depth0,helpers,partials,data) { 619 var stack1, alias1=depth0 != null ? depth0 : {}, alias2=helpers.helperMissing; 620 621 return " <option value=\"" 622 + ((stack1 = (helpers.sanitize || (depth0 && depth0.sanitize) || alias2).call(alias1,depth0,{"name":"sanitize","hash":{},"data":data})) != null ? stack1 : "") 623 + "\">" 624 + ((stack1 = (helpers.sanitize || (depth0 && depth0.sanitize) || alias2).call(alias1,depth0,{"name":"sanitize","hash":{},"data":data})) != null ? stack1 : "") 625 + "</option>\n"; 626 },"4":function(container,depth0,helpers,partials,data) { 627 return " <option value=\"application/json\">application/json</option>\n"; 628 },"compiler":[7,">= 4.0.0"],"main":function(container,depth0,helpers,partials,data) { 629 var stack1, helper, alias1=depth0 != null ? depth0 : {}, alias2=helpers.helperMissing; 630 631 return "<label for=\"" 632 + container.escapeExpression(((helper = (helper = helpers.parameterContentTypeId || (depth0 != null ? depth0.parameterContentTypeId : depth0)) != null ? helper : alias2),(typeof helper === "function" ? helper.call(alias1,{"name":"parameterContentTypeId","hash":{},"data":data}) : helper))) 633 + "\" data-sw-translate>Parameter content type:</label>\n<select name=\"parameterContentType\" id=\"" 634 + ((stack1 = (helpers.sanitize || (depth0 && depth0.sanitize) || alias2).call(alias1,(depth0 != null ? depth0.parameterContentTypeId : depth0),{"name":"sanitize","hash":{},"data":data})) != null ? stack1 : "") 635 + "\">\n" 636 + ((stack1 = helpers["if"].call(alias1,(depth0 != null ? depth0.consumes : depth0),{"name":"if","hash":{},"fn":container.program(1, data, 0),"inverse":container.program(4, data, 0),"data":data})) != null ? stack1 : "") 637 + "</select>\n"; 638 },"useData":true}); 639 templates['popup'] = template({"compiler":[7,">= 4.0.0"],"main":function(container,depth0,helpers,partials,data) { 640 var helper; 641 642 return "<div class=\"api-popup-dialog-wrapper\">\n <div class=\"api-popup-title\">" 643 + container.escapeExpression(((helper = (helper = helpers.title || (depth0 != null ? depth0.title : depth0)) != null ? helper : helpers.helperMissing),(typeof helper === "function" ? helper.call(depth0 != null ? depth0 : {},{"name":"title","hash":{},"data":data}) : helper))) 644 + "</div>\n <div class=\"api-popup-content\"></div>\n <p class=\"error-msg\"></p>\n <div class=\"api-popup-actions\">\n <button class=\"api-popup-cancel api-button gray\" type=\"button\">Cancel</button>\n </div>\n</div>\n<div class=\"api-popup-dialog-shadow\"></div>"; 645 },"useData":true}); 646 templates['resource'] = template({"1":function(container,depth0,helpers,partials,data) { 647 return " : "; 648 },"3":function(container,depth0,helpers,partials,data) { 649 var stack1; 650 651 return " <li>\n <a href='" 652 + ((stack1 = (helpers.sanitize || (depth0 && depth0.sanitize) || helpers.helperMissing).call(depth0 != null ? depth0 : {},(depth0 != null ? depth0.url : depth0),{"name":"sanitize","hash":{},"data":data})) != null ? stack1 : "") 653 + "' data-sw-translate>Raw</a>\n </li>\n"; 654 },"compiler":[7,">= 4.0.0"],"main":function(container,depth0,helpers,partials,data) { 655 var stack1, helper, options, alias1=depth0 != null ? depth0 : {}, alias2=helpers.helperMissing, buffer = 656 "<div class='heading'>\n <h2>\n <a href='#!/" 657 + ((stack1 = (helpers.sanitize || (depth0 && depth0.sanitize) || alias2).call(alias1,(depth0 != null ? depth0.id : depth0),{"name":"sanitize","hash":{},"data":data})) != null ? stack1 : "") 658 + "' class=\"toggleEndpointList\" data-id=\"" 659 + ((stack1 = (helpers.sanitize || (depth0 && depth0.sanitize) || alias2).call(alias1,(depth0 != null ? depth0.id : depth0),{"name":"sanitize","hash":{},"data":data})) != null ? stack1 : "") 660 + "\">" 661 + ((stack1 = (helpers.sanitize || (depth0 && depth0.sanitize) || alias2).call(alias1,(depth0 != null ? depth0.name : depth0),{"name":"sanitize","hash":{},"data":data})) != null ? stack1 : "") 662 + "</a> "; 663 stack1 = ((helper = (helper = helpers.summary || (depth0 != null ? depth0.summary : depth0)) != null ? helper : alias2),(options={"name":"summary","hash":{},"fn":container.program(1, data, 0),"inverse":container.noop,"data":data}),(typeof helper === "function" ? helper.call(alias1,options) : helper)); 664 if (!helpers.summary) { stack1 = helpers.blockHelperMissing.call(depth0,stack1,options)} 665 if (stack1 != null) { buffer += stack1; } 666 return buffer + ((stack1 = (helpers.sanitize || (depth0 && depth0.sanitize) || alias2).call(alias1,(depth0 != null ? depth0.summary : depth0),{"name":"sanitize","hash":{},"data":data})) != null ? stack1 : "") 667 + "\n </h2>\n <ul class='options'>\n <li>\n <a href='#!/" 668 + ((stack1 = (helpers.sanitize || (depth0 && depth0.sanitize) || alias2).call(alias1,(depth0 != null ? depth0.id : depth0),{"name":"sanitize","hash":{},"data":data})) != null ? stack1 : "") 669 + "' id='endpointListTogger_" 670 + ((stack1 = (helpers.sanitize || (depth0 && depth0.sanitize) || alias2).call(alias1,(depth0 != null ? depth0.id : depth0),{"name":"sanitize","hash":{},"data":data})) != null ? stack1 : "") 671 + "' class=\"toggleEndpointList\" data-id=\"" 672 + ((stack1 = (helpers.sanitize || (depth0 && depth0.sanitize) || alias2).call(alias1,(depth0 != null ? depth0.id : depth0),{"name":"sanitize","hash":{},"data":data})) != null ? stack1 : "") 673 + "\" data-sw-translate>Show/Hide</a>\n </li>\n <li>\n <a href='#' class=\"collapseResource\" data-id=\"" 674 + ((stack1 = (helpers.sanitize || (depth0 && depth0.sanitize) || alias2).call(alias1,(depth0 != null ? depth0.id : depth0),{"name":"sanitize","hash":{},"data":data})) != null ? stack1 : "") 675 + "\" data-sw-translate>\n List Operations\n </a>\n </li>\n <li>\n <a href='#' class=\"expandResource\" data-id=\"" 676 + ((stack1 = (helpers.sanitize || (depth0 && depth0.sanitize) || alias2).call(alias1,(depth0 != null ? depth0.id : depth0),{"name":"sanitize","hash":{},"data":data})) != null ? stack1 : "") 677 + "\" data-sw-translate>\n Expand Operations\n </a>\n </li>\n" 678 + ((stack1 = helpers["if"].call(alias1,(depth0 != null ? depth0.url : depth0),{"name":"if","hash":{},"fn":container.program(3, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "") 679 + " </ul>\n</div>\n<ul class='endpoints' id='" 680 + ((stack1 = (helpers.sanitize || (depth0 && depth0.sanitize) || alias2).call(alias1,(depth0 != null ? depth0.id : depth0),{"name":"sanitize","hash":{},"data":data})) != null ? stack1 : "") 681 + "_endpoint_list' style='display:none'>\n\n</ul>\n"; 682 },"useData":true}); 683 templates['response_content_type'] = template({"1":function(container,depth0,helpers,partials,data) { 684 var stack1; 685 686 return ((stack1 = helpers.each.call(depth0 != null ? depth0 : {},(depth0 != null ? depth0.produces : depth0),{"name":"each","hash":{},"fn":container.program(2, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : ""); 687 },"2":function(container,depth0,helpers,partials,data) { 688 var stack1, alias1=depth0 != null ? depth0 : {}, alias2=helpers.helperMissing; 689 690 return " <option value=\"" 691 + ((stack1 = (helpers.sanitize || (depth0 && depth0.sanitize) || alias2).call(alias1,depth0,{"name":"sanitize","hash":{},"data":data})) != null ? stack1 : "") 692 + "\">" 693 + ((stack1 = (helpers.sanitize || (depth0 && depth0.sanitize) || alias2).call(alias1,depth0,{"name":"sanitize","hash":{},"data":data})) != null ? stack1 : "") 694 + "</option>\n"; 695 },"4":function(container,depth0,helpers,partials,data) { 696 return " <option value=\"application/json\">application/json</option>\n"; 697 },"compiler":[7,">= 4.0.0"],"main":function(container,depth0,helpers,partials,data) { 698 var stack1, helper, alias1=depth0 != null ? depth0 : {}, alias2=helpers.helperMissing, alias3="function", alias4=container.escapeExpression; 699 700 return "<label data-sw-translate for=\"" 701 + alias4(((helper = (helper = helpers.responseContentTypeId || (depth0 != null ? depth0.responseContentTypeId : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"responseContentTypeId","hash":{},"data":data}) : helper))) 702 + "\">Response Content Type</label>\n<select name=\"responseContentType\" id=\"" 703 + alias4(((helper = (helper = helpers.responseContentTypeId || (depth0 != null ? depth0.responseContentTypeId : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"responseContentTypeId","hash":{},"data":data}) : helper))) 704 + "\">\n" 705 + ((stack1 = helpers["if"].call(alias1,(depth0 != null ? depth0.produces : depth0),{"name":"if","hash":{},"fn":container.program(1, data, 0),"inverse":container.program(4, data, 0),"data":data})) != null ? stack1 : "") 706 + "</select>\n"; 707 },"useData":true}); 708 templates['signature'] = template({"1":function(container,depth0,helpers,partials,data) { 709 var stack1, alias1=depth0 != null ? depth0 : {}; 710 711 return "\n<div>\n<ul class=\"signature-nav\">\n <li><a class=\"description-link\" href=\"#\" data-sw-translate>Model</a></li>\n <li><a class=\"snippet-link\" href=\"#\" data-sw-translate>Example Value</a></li>\n</ul>\n<div>\n\n<div class=\"signature-container\">\n <div class=\"description\">\n " 712 + container.escapeExpression((helpers.sanitize || (depth0 && depth0.sanitize) || helpers.helperMissing).call(alias1,(depth0 != null ? depth0.signature : depth0),{"name":"sanitize","hash":{},"data":data})) 713 + "\n </div>\n\n <div class=\"snippet\">\n" 714 + ((stack1 = helpers["if"].call(alias1,(depth0 != null ? depth0.sampleJSON : depth0),{"name":"if","hash":{},"fn":container.program(2, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "") 715 + ((stack1 = helpers["if"].call(alias1,(depth0 != null ? depth0.sampleXML : depth0),{"name":"if","hash":{},"fn":container.program(5, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "") 716 + " </div>\n</div>\n"; 717 },"2":function(container,depth0,helpers,partials,data) { 718 var stack1, alias1=depth0 != null ? depth0 : {}; 719 720 return " <div class=\"snippet_json\">\n <pre><code>" 721 + ((stack1 = (helpers.escape || (depth0 && depth0.escape) || helpers.helperMissing).call(alias1,(depth0 != null ? depth0.sampleJSON : depth0),{"name":"escape","hash":{},"data":data})) != null ? stack1 : "") 722 + "</code></pre>\n " 723 + ((stack1 = helpers["if"].call(alias1,(depth0 != null ? depth0.isParam : depth0),{"name":"if","hash":{},"fn":container.program(3, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "") 724 + "\n </div>\n"; 725 },"3":function(container,depth0,helpers,partials,data) { 726 return "<small class=\"notice\" data-sw-translate></small>"; 727 },"5":function(container,depth0,helpers,partials,data) { 728 var stack1, alias1=depth0 != null ? depth0 : {}; 729 730 return " <div class=\"snippet_xml\">\n <pre><code>" 731 + ((stack1 = (helpers.escape || (depth0 && depth0.escape) || helpers.helperMissing).call(alias1,(depth0 != null ? depth0.sampleXML : depth0),{"name":"escape","hash":{},"data":data})) != null ? stack1 : "") 732 + "</code></pre>\n " 733 + ((stack1 = helpers["if"].call(alias1,(depth0 != null ? depth0.isParam : depth0),{"name":"if","hash":{},"fn":container.program(3, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "") 734 + "\n </div>\n"; 735 },"7":function(container,depth0,helpers,partials,data) { 736 var stack1; 737 738 return " " 739 + ((stack1 = (helpers.escape || (depth0 && depth0.escape) || helpers.helperMissing).call(depth0 != null ? depth0 : {},(depth0 != null ? depth0.signature : depth0),{"name":"escape","hash":{},"data":data})) != null ? stack1 : "") 740 + "\n"; 741 },"compiler":[7,">= 4.0.0"],"main":function(container,depth0,helpers,partials,data) { 742 var stack1; 743 744 return ((stack1 = (helpers.ifCond || (depth0 && depth0.ifCond) || helpers.helperMissing).call(depth0 != null ? depth0 : {},(depth0 != null ? depth0.sampleJSON : depth0),"||",(depth0 != null ? depth0.sampleXML : depth0),{"name":"ifCond","hash":{},"fn":container.program(1, data, 0),"inverse":container.program(7, data, 0),"data":data})) != null ? stack1 : ""); 745 },"useData":true}); 746 templates['status_code'] = template({"1":function(container,depth0,helpers,partials,data) { 747 var stack1, helper, alias1=depth0 != null ? depth0 : {}, alias2=helpers.helperMissing; 748 749 return " <tr>\n <td>" 750 + container.escapeExpression(((helper = (helper = helpers.key || (data && data.key)) != null ? helper : alias2),(typeof helper === "function" ? helper.call(alias1,{"name":"key","hash":{},"data":data}) : helper))) 751 + "</td>\n <td>" 752 + ((stack1 = (helpers.sanitize || (depth0 && depth0.sanitize) || alias2).call(alias1,(depth0 != null ? depth0.description : depth0),{"name":"sanitize","hash":{},"data":data})) != null ? stack1 : "") 753 + "</td>\n <td>" 754 + ((stack1 = (helpers.escape || (depth0 && depth0.escape) || alias2).call(alias1,(depth0 != null ? depth0.type : depth0),{"name":"escape","hash":{},"data":data})) != null ? stack1 : "") 755 + "</td>\n </tr>\n"; 756 },"compiler":[7,">= 4.0.0"],"main":function(container,depth0,helpers,partials,data) { 757 var stack1, alias1=depth0 != null ? depth0 : {}, alias2=helpers.helperMissing; 758 759 return "<td width='15%' class='code'>" 760 + ((stack1 = (helpers.escape || (depth0 && depth0.escape) || alias2).call(alias1,(depth0 != null ? depth0.code : depth0),{"name":"escape","hash":{},"data":data})) != null ? stack1 : "") 761 + "</td>\n<td class=\"markdown\">" 762 + ((stack1 = (helpers.escape || (depth0 && depth0.escape) || alias2).call(alias1,(depth0 != null ? depth0.message : depth0),{"name":"escape","hash":{},"data":data})) != null ? stack1 : "") 763 + "</td>\n<td width='50%'><span class=\"model-signature\" /></td>\n<td class=\"headers\">\n <table>\n <tbody>\n" 764 + ((stack1 = helpers.each.call(alias1,(depth0 != null ? depth0.headers : depth0),{"name":"each","hash":{},"fn":container.program(1, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "") 765 + " </tbody>\n </table>\n</td>"; 766 },"useData":true}); 767 })();} 768 /* jshint ignore:end */