redoc/dist/redoc.min.js

8 lines
998 KiB
JavaScript
Raw Normal View History

2016-08-30 20:26:58 +03:00
/*!
* ReDoc - OpenAPI/Swagger-generated API Reference Documentation
* -------------------------------------------------------------
2017-04-19 14:31:42 +03:00
* Version: "1.13.0"
2016-08-30 20:26:58 +03:00
* Repo: https://github.com/Rebilly/ReDoc
2016-06-18 21:14:20 +03:00
*/
2017-04-19 14:31:42 +03:00
(function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(function(){try{return require("esprima")}catch(t){}}(),function(){try{return require("jquery")}catch(t){}}()):"function"==typeof define&&define.amd?define("Redoc",["esprima","jquery"],e):"object"==typeof exports?exports.Redoc=e(function(){try{return require("esprima")}catch(t){}}(),function(){try{return require("jquery")}catch(t){}}()):t.Redoc=e(t.esprima,t.jquery)})(this,function(t,e){return function(t){function e(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,e),o.l=!0,o.exports}var n={};return e.m=t,e.c=n,e.i=function(t){return t},e.d=function(t,n,r){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:r})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="",e(e.s=669)}([function(t,e,n){var r=n(6),o=n(7),i=n(26),a=n(22),s=n(53),l=function(t,e,n){var u,c,p,f,h=t&l.F,d=t&l.G,m=t&l.S,g=t&l.P,y=t&l.B,v=d?r:m?r[e]||(r[e]={}):(r[e]||{}).prototype,b=d?o:o[e]||(o[e]={}),_=b.prototype||(b.prototype={});d&&(n=e);for(u in n)c=!h&&v&&void 0!==v[u],p=(c?v:n)[u],f=y&&c?s(p,r):g&&"function"==typeof p?s(Function.call,p):p,v&&a(v,u,p,t&l.U),b[u]!=p&&i(b,u,f),g&&_[u]!=p&&(_[u]=p)};r.core=o,l.F=1,l.G=2,l.S=4,l.P=8,l.B=16,l.W=32,l.U=64,l.R=128,t.exports=l},function(t,e,n){"use strict";(function(t){function r(){if(!Hr){var t=Br.Symbol;if(t&&t.iterator)Hr=t.iterator;else for(var e=Object.getOwnPropertyNames(Map.prototype),n=0;n<e.length;++n){var r=e[n];"entries"!==r&&"size"!==r&&Map.prototype[r]===Map.prototype.entries&&(Hr=r)}}return Hr}function o(t){Zone.current.scheduleMicroTask("scheduleMicrotask",t)}function i(t,e){return t===e||"number"==typeof t&&"number"==typeof e&&isNaN(t)&&isNaN(e)}function a(t){if("string"==typeof t)return t;if(null==t)return""+t;if(t.overriddenName)return""+t.overriddenName;if(t.name)return""+t.name;var e=t.toString();if(null==e)return""+e;var n=e.indexOf("\n");return n===-1?e:e.substring(0,n)}function s(t){return"function"==typeof t&&t.hasOwnProperty("annotation")&&(t=t.annotation),t}function l(t,e){if(t===Object||t===String||t===Function||t===Number||t===Array)throw new Error("Can not use native "+a(t)+" as constructor");if("function"==typeof t)return t;if(Array.isArray(t)){var n=t,r=n.length-1,o=t[r];if("function"!=typeof o)throw new Error("Last position of Class method array must be Function in key "+e+" was '"+a(o)+"'");if(r!=o.length)throw new Error("Number of annotations ("+r+") does not match number of arguments ("+o.length+") in the function: "+a(o));for(var i=[],l=0,u=n.length-1;l<u;l++){var c=[];i.push(c);var p=n[l];if(Array.isArray(p))for(var f=0;f<p.length;f++)c.push(s(p[f]));else"function"==typeof p?c.push(s(p)):c.push(p)}return Vr.defineMetadata("parameters",i,o),o}throw new Error("Only Function or Array is supported in Class definition for key '"+e+"' is '"+a(t)+"'")}function u(t){var e=l(t.hasOwnProperty("constructor")?t.constructor:void 0,"constructor"),n=e.prototype;if(t.hasOwnProperty("extends")){if("function"!=typeof t.extends)throw new Error("Class definition 'extends' property must be a constructor function was: "+a(t.extends));e.prototype=n=Object.create(t.extends.prototype)}for(var r in t)"extends"!==r&&"prototype"!==r&&t.hasOwnProperty(r)&&(n[r]=l(t[r],r));this&&this.annotations instanceof Array&&Vr.defineMetadata("annotations",this.annotations,e);var o=e.name;return o&&"constructor"!==o||(e.overriddenName="class"+$r++),e}function c(t,e,n,r){function o(t){if(!Vr||!Vr.getOwnMetadata)throw"reflect-metadata shim is required when using class decorators";if(this instanceof o)return i.call(this,t),this;var e=new o(t),n="function"==typeof this&&Array.isArray(this.annotations)?this.annotations:[];n.push(e);var a=function(t){var n=Vr.getOwnMetadata("annotations",t)||[];return n.push(e),Vr.defineMetadata("annotations",n,t),t};return a.annotations=n,a.Class=u,r&&r(a),a}void 0===r&&(r=null);var i=p([e]);return n
2016-08-30 20:26:58 +03:00
//# sourceMappingURL=redoc.min.map