\n \n\n \n \n \n\n \n \n \n\n \n \n \n\n\n \n \n \n\n \n \n \n\n \n ');var t=window.location.origin+window.location.pathname+"/spec.yaml",n=window.SwaggerUIBundle({url:t,dom_id:"#swagger-ui",validationUrl:!1,requestInterceptor:function(e){if(n&&e.loadSpec){var t=n.extendingSelectors.credentials();t&&(e.headers.Authorization="Basic "+btoa(t.username+":"+t.password))}return e},responseInterceptor:function(e){var t=document.createElement("a");if(t.href=e.url,200==e.status&&t.pathname.match(/\/tours(\/[^/]+)?$/)){var n=t.pathname.match(/tours$/)?"tours.json":"tour-options.json",i=JSON.stringify(e.body,null,2),a="function"==typeof File?new File([i],n,{type:"application/json"}):new Blob([i],{type:"application/json"});if(void 0!==window.navigator.msSaveBlob)window.navigator.msSaveBlob(a,n);else{var r=window.URL||window.webkitURL,o=r.createObjectURL(a);if(n){var s=document.createElement("a");void 0===s.download?window.location=o:(s.href=o,s.download=n,document.body.appendChild(s),s.click())}else window.location=o;setTimeout((function(){r.revokeObjectURL(o)}),100)}e.body={},e.obj={},e.data="{}",e.text="{}"}return e},presets:[window.SwaggerUIBundle.presets.apis],plugins:[window.SwaggerUIBundle.plugins.DownloadUrl,e],jsonEditor:!0,showRequestHeaders:!0,displayRequestDuration:!0});window.ui=n}))})()