forgejo/public/vendor/assets/swagger-ui/swagger-ui.js

9 lines
756 KiB
JavaScript
Raw Normal View History

2019-04-17 05:50:55 +03:00
(function webpackUniversalModuleDefinition(root,factory){if(typeof exports==="object"&&typeof module==="object")module.exports=factory(require("deep-extend"),require("immutable"),require("css.escape"),require("memoizee"),require("stream"),require("base64-js"),require("ieee754"),require("isarray"),require("react"),require("react-dom"),require("react-redux"),require("swagger-client"),require("reselect"),require("url-parse"),require("serialize-error"),function webpackLoadOptionalExternalModule(){try{return require("buffer")}catch(e){}}(),require("regenerator-runtime"),require("prop-types"),require("react-immutable-proptypes"),require("react-immutable-pure-component"),require("classnames"),require("remarkable"),require("dompurify"),require("zenscroll"),require("react-debounce-input"),require("xml-but-prettier"),require("js-file-download"),require("redux"),require("redux-immutable"));else if(typeof define==="function"&&define.amd)define(["deep-extend","immutable","css.escape","memoizee","stream","base64-js","ieee754","isarray","react","react-dom","react-redux","swagger-client","reselect","url-parse","serialize-error","buffer","regenerator-runtime","prop-types","react-immutable-proptypes","react-immutable-pure-component","classnames","remarkable","dompurify","zenscroll","react-debounce-input","xml-but-prettier","js-file-download","redux","redux-immutable"],factory);else if(typeof exports==="object")exports["SwaggerUICore"]=factory(require("deep-extend"),require("immutable"),require("css.escape"),require("memoizee"),require("stream"),require("base64-js"),require("ieee754"),require("isarray"),require("react"),require("react-dom"),require("react-redux"),require("swagger-client"),require("reselect"),require("url-parse"),require("serialize-error"),function webpackLoadOptionalExternalModule(){try{return require("buffer")}catch(e){}}(),require("regenerator-runtime"),require("prop-types"),require("react-immutable-proptypes"),require("react-immutable-pure-component"),require("classnames"),require("remarkable"),require("dompurify"),require("zenscroll"),require("react-debounce-input"),require("xml-but-prettier"),require("js-file-download"),require("redux"),require("redux-immutable"));else root["SwaggerUICore"]=factory(root["deep-extend"],root["immutable"],root["css.escape"],root["memoizee"],root["stream"],root["base64-js"],root["ieee754"],root["isarray"],root["react"],root["react-dom"],root["react-redux"],root["swagger-client"],root["reselect"],root["url-parse"],root["serialize-error"],root["buffer"],root["regenerator-runtime"],root["prop-types"],root["react-immutable-proptypes"],root["react-immutable-pure-component"],root["classnames"],root["remarkable"],root["dompurify"],root["zenscroll"],root["react-debounce-input"],root["xml-but-prettier"],root["js-file-download"],root["redux"],root["redux-immutable"])})(this,function(__WEBPACK_EXTERNAL_MODULE_178__,__WEBPACK_EXTERNAL_MODULE_7__,__WEBPACK_EXTERNAL_MODULE_484__,__WEBPACK_EXTERNAL_MODULE_483__,__WEBPACK_EXTERNAL_MODULE_482__,__WEBPACK_EXTERNAL_MODULE_383__,__WEBPACK_EXTERNAL_MODULE_384__,__WEBPACK_EXTERNAL_MODULE_385__,__WEBPACK_EXTERNAL_MODULE_0__,__WEBPACK_EXTERNAL_MODULE_541__,__WEBPACK_EXTERNAL_MODULE_542__,__WEBPACK_EXTERNAL_MODULE_239__,__WEBPACK_EXTERNAL_MODULE_37__,__WEBPACK_EXTERNAL_MODULE_144__,__WEBPACK_EXTERNAL_MODULE_123__,__WEBPACK_EXTERNAL_MODULE_519__,__WEBPACK_EXTERNAL_MODULE_504__,__WEBPACK_EXTERNAL_MODULE_1__,__WEBPACK_EXTERNAL_MODULE_9__,__WEBPACK_EXTERNAL_MODULE_636__,__WEBPACK_EXTERNAL_MODULE_75__,__WEBPACK_EXTERNAL_MODULE_263__,__WEBPACK_EXTERNAL_MODULE_648__,__WEBPACK_EXTERNAL_MODULE_582__,__WEBPACK_EXTERNAL_MODULE_651__,__WEBPACK_EXTERNAL_MODULE_612__,__WEBPACK_EXTERNAL_MODULE_608__,__WEBPACK_EXTERNAL_MODULE_380__,__WEBPACK_EXTERNAL_MODULE_381__){return function(modules){var installedModules={};function __webpack_require__(moduleId){if(installedModules[moduleId]){return installedModules[moduleId].exports}var module=installedModules[moduleId]={i:moduleId,l:false,exports:{}};modules[moduleId].call(module.exports,module,module.exports,__webpack_require__);module.
/*!
* The buffer module from node.js, for the browser.
*
* @author Feross Aboukhadijeh <feross@feross.org> <http://feross.org>
* @license MIT
*/
2019-04-17 05:50:55 +03:00
var base64=__webpack_require__(383);var ieee754=__webpack_require__(384);var isArray=__webpack_require__(385);exports.Buffer=Buffer;exports.SlowBuffer=SlowBuffer;exports.INSPECT_MAX_BYTES=50;Buffer.TYPED_ARRAY_SUPPORT=global.TYPED_ARRAY_SUPPORT!==undefined?global.TYPED_ARRAY_SUPPORT:typedArraySupport();exports.kMaxLength=kMaxLength();function typedArraySupport(){try{var arr=new Uint8Array(1);arr.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}};return arr.foo()===42&&typeof arr.subarray==="function"&&arr.subarray(1,1).byteLength===0}catch(e){return false}}function kMaxLength(){return Buffer.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function createBuffer(that,length){if(kMaxLength()<length){throw new RangeError("Invalid typed array length")}if(Buffer.TYPED_ARRAY_SUPPORT){that=new Uint8Array(length);that.__proto__=Buffer.prototype}else{if(that===null){that=new Buffer(length)}that.length=length}return that}function Buffer(arg,encodingOrOffset,length){if(!Buffer.TYPED_ARRAY_SUPPORT&&!(this instanceof Buffer)){return new Buffer(arg,encodingOrOffset,length)}if(typeof arg==="number"){if(typeof encodingOrOffset==="string"){throw new Error("If encoding is specified then the first argument must be a string")}return allocUnsafe(this,arg)}return from(this,arg,encodingOrOffset,length)}Buffer.poolSize=8192;Buffer._augment=function(arr){arr.__proto__=Buffer.prototype;return arr};function from(that,value,encodingOrOffset,length){if(typeof value==="number"){throw new TypeError('"value" argument must not be a number')}if(typeof ArrayBuffer!=="undefined"&&value instanceof ArrayBuffer){return fromArrayBuffer(that,value,encodingOrOffset,length)}if(typeof value==="string"){return fromString(that,value,encodingOrOffset)}return fromObject(that,value)}Buffer.from=function(value,encodingOrOffset,length){return from(null,value,encodingOrOffset,length)};if(Buffer.TYPED_ARRAY_SUPPORT){Buffer.prototype.__proto__=Uint8Array.prototype;Buffer.__proto__=Uint8Array;if(typeof Symbol!=="undefined"&&Symbol.species&&Buffer[Symbol.species]===Buffer){Object.defineProperty(Buffer,Symbol.species,{value:null,configurable:true})}}function assertSize(size){if(typeof size!=="number"){throw new TypeError('"size" argument must be a number')}else if(size<0){throw new RangeError('"size" argument must not be negative')}}function alloc(that,size,fill,encoding){assertSize(size);if(size<=0){return createBuffer(that,size)}if(fill!==undefined){return typeof encoding==="string"?createBuffer(that,size).fill(fill,encoding):createBuffer(that,size).fill(fill)}return createBuffer(that,size)}Buffer.alloc=function(size,fill,encoding){return alloc(null,size,fill,encoding)};function allocUnsafe(that,size){assertSize(size);that=createBuffer(that,size<0?0:checked(size)|0);if(!Buffer.TYPED_ARRAY_SUPPORT){for(var i=0;i<size;++i){that[i]=0}}return that}Buffer.allocUnsafe=function(size){return allocUnsafe(null,size)};Buffer.allocUnsafeSlow=function(size){return allocUnsafe(null,size)};function fromString(that,string,encoding){if(typeof encoding!=="string"||encoding===""){encoding="utf8"}if(!Buffer.isEncoding(encoding)){throw new TypeError('"encoding" must be a valid string encoding')}var length=byteLength(string,encoding)|0;that=createBuffer(that,length);var actual=that.write(string,encoding);if(actual!==length){that=that.slice(0,actual)}return that}function fromArrayLike(that,array){var length=array.length<0?0:checked(array.length)|0;that=createBuffer(that,length);for(var i=0;i<length;i+=1){that[i]=array[i]&255}return that}function fromArrayBuffer(that,array,byteOffset,length){array.byteLength;if(byteOffset<0||array.byteLength<byteOffset){throw new RangeError("'offset' is out of bounds")}if(array.byteLength<byteOffset+(length||0)){throw new RangeError("'length' is out of bounds")}if(byteOffset===undefined&&length===undefined){array=new Uint8Array(array)}else if(length===undefined){array=new Uint8Array(array,byteOffset)}else{array=new Uint8Array(array,byteOffset,length)}if(Buffer.TYPED_ARRAY_SUPPORT){that=array;that.__proto__=Buffer.prototype}else{that=fromArrayLike(that,a
//# sourceMappingURL=swagger-ui.js.map