swagger-client 3.8.18 → 3.8.22

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -44,7 +44,7 @@ const Swagger = require('swagger-client')
44
44
  ##### Import in browser
45
45
 
46
46
  ```html
47
- <script src='browser/swagger-client.js' type='text/javascript'></script>
47
+ <script src='//unpkg.com/swagger-client' type='text/javascript'></script>
48
48
  <script>
49
49
  var swaggerClient = new SwaggerClient(specUrl);
50
50
  </script>
@@ -243,14 +243,12 @@ Swagger({...}).then((client) => {
243
243
  In Browser
244
244
  ----------
245
245
 
246
- Prepare swagger-client.js by `npm run build-bundle`
247
- Note, browser version exports class `SwaggerClient` to global namespace
248
246
  If you need activate CORS requests, just enable it by `withCredentials` property at `http`
249
247
 
250
248
  ```html
251
249
  <html>
252
250
  <head>
253
- <script src='browser/swagger-client.js' type='text/javascript'></script>
251
+ <script src='//unpkg.com/swagger-client' type='text/javascript'></script>
254
252
  <script>
255
253
 
256
254
  var specUrl = 'http://petstore.swagger.io/v2/swagger.json'; // data urls are OK too 'data:application/json;base64,abc...'
@@ -322,11 +320,11 @@ As such we've left the static version of `http` to not perform any serialization
322
320
  ```sh
323
321
  npm install
324
322
  npm run test # run test
325
- npm run test:watch # run test with change watching
326
- npm run lint # run lint
323
+ npm run test:unit:watch # run test with change watching
324
+ npm run test:lint # run lint
327
325
  npm run build # package to release
328
- npm run build-dev # package with non-minified dist/index.js (for debugging)
329
- npm run build-bundle # build browser version available at .../browser
326
+ npm run build:umd:watch # package with non-minified dist/index.js (for debugging)
327
+ npm run build:bundle # build browser version available at .../browser/index.js
330
328
  ```
331
329
 
332
330
  # Migration from 2.x
@@ -342,3 +340,4 @@ Please disclose any security-related issues or vulnerabilities by emailing [secu
342
340
  ### Graveyard
343
341
 
344
342
  For features known to be missing from 3.x please see [the Graveyard](docs/GRAVEYARD.md)
343
+
@@ -0,0 +1,40 @@
1
+ !function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.SwaggerClient=e():t.SwaggerClient=e()}("undefined"!=typeof self?self:this,function(){return function(t){function e(n){if(r[n])return r[n].exports;var o=r[n]={i:n,l:!1,exports:{}};return t[n].call(o.exports,o,o.exports,e),o.l=!0,o.exports}var r={};return e.m=t,e.c=r,e.d=function(t,r,n){e.o(t,r)||Object.defineProperty(t,r,{configurable:!1,enumerable:!0,get:n})},e.n=function(t){var r=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(r,"a",r),r},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="",e(e.s=166)}([function(t,e){var r=t.exports={version:"2.5.7"};"number"==typeof __e&&(__e=r)},function(t,e,r){"use strict";function n(t){var e={};return null!==t&&Object.keys(t).forEach(function(r){t[r].forEach(function(t){e[String(t)]=r})}),e}function o(t,e){if(e=e||{},Object.keys(e).forEach(function(e){if(-1===a.indexOf(e))throw new i('Unknown option "'+e+'" is met in definition of "'+t+'" YAML type.')}),this.tag=t,this.kind=e.kind||null,this.resolve=e.resolve||function(){return!0},this.construct=e.construct||function(t){return t},this.instanceOf=e.instanceOf||null,this.predicate=e.predicate||null,this.represent=e.represent||null,this.defaultStyle=e.defaultStyle||null,this.styleAliases=n(e.styleAliases||null),-1===u.indexOf(this.kind))throw new i('Unknown kind "'+this.kind+'" is specified for "'+t+'" YAML type.')}var i=r(41),a=["kind","resolve","construct","instanceOf","predicate","represent","defaultStyle","styleAliases"],u=["scalar","sequence","mapping"];t.exports=o},function(t,e){var r=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=r)},function(t,e,r){var n=r(75)("wks"),o=r(47),i=r(2).Symbol,a="function"==typeof i;(t.exports=function(t){return n[t]||(n[t]=a&&i[t]||(a?i:o)("Symbol."+t))}).store=n},function(t,e,r){var n=r(2),o=r(0),i=r(19),a=r(15),u=r(17),s=function(t,e,r){var c,f,l,p=t&s.F,h=t&s.G,d=t&s.S,v=t&s.P,y=t&s.B,g=t&s.W,m=h?o:o[e]||(o[e]={}),b=m.prototype,w=h?n:d?n[e]:(n[e]||{}).prototype;h&&(r=e);for(c in r)(f=!p&&w&&void 0!==w[c])&&u(m,c)||(l=f?w[c]:r[c],m[c]=h&&"function"!=typeof w[c]?r[c]:y&&f?i(l,n):g&&w[c]==l?function(t){var e=function(e,r,n){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(e);case 2:return new t(e,r)}return new t(e,r,n)}return t.apply(this,arguments)};return e.prototype=t.prototype,e}(l):v&&"function"==typeof l?i(Function.call,l):l,v&&((m.virtual||(m.virtual={}))[c]=l,t&s.R&&b&&!b[c]&&a(b,c,l)))};s.F=1,s.G=2,s.S=4,s.P=8,s.B=16,s.W=32,s.U=64,s.R=128,t.exports=s},function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,e){var r=Array.isArray;t.exports=r},function(t,e,r){var n=r(8),o=r(112),i=r(70),a=Object.defineProperty;e.f=r(12)?Object.defineProperty:function(t,e,r){if(n(t),e=i(e,!0),n(r),o)try{return a(t,e,r)}catch(t){}if("get"in r||"set"in r)throw TypeError("Accessors not supported!");return"value"in r&&(t[e]=r.value),t}},function(t,e,r){var n=r(5);t.exports=function(t){if(!n(t))throw TypeError(t+" is not an object!");return t}},function(t,e,r){var n=r(116),o="object"==typeof self&&self&&self.Object===Object&&self,i=n||o||Function("return this")();t.exports=i},function(t,e){function r(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}t.exports=r},function(t,e,r){t.exports={default:r(264),__esModule:!0}},function(t,e,r){t.exports=!r(16)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(t,e){function r(t){return null!=t&&"object"==typeof t}t.exports=r},function(t,e,r){t.exports={default:r(168),__esModule:!0}},function(t,e,r){var n=r(7),o=r(30);t.exports=r(12)?function(t,e,r){return n.f(t,e,o(1,r))}:function(t,e,r){return t[e]=r,t}},function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,e){var r={}.hasOwnProperty;t.exports=function(t,e){return r.call(t,e)}},function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}e.__esModule=!0;var o=r(270),i=n(o),a=r(272),u=n(a),s="function"==typeof u.default&&"symbol"==typeof i.default?function(t){return typeof t}:function(t){return t&&"function"==typeof u.default&&t.constructor===u.default&&t!==u.default.prototype?"symbol":typeof t};e.default="function"==typeof u.default&&"symbol"===s(i.default)?function(t){return void 0===t?"undefined":s(t)}:function(t){return t&&"function"==typeof u.default&&t.constructor===u.default&&t!==u.default.prototype?"symbol":void 0===t?"undefined":s(t)}},function(t,e,r){var n=r(29);t.exports=function(t,e,r){if(n(t),void 0===e)return t;switch(r){case 1:return function(r){return t.call(e,r)};case 2:return function(r,n){return t.call(e,r,n)};case 3:return function(r,n,o){return t.call(e,r,n,o)}}return function(){return t.apply(e,arguments)}}},function(t,e,r){function n(t,e){var r=i(t,e);return o(r)?r:void 0}var o=r(184),i=r(189);t.exports=n},function(t,e,r){function n(t){return null==t?void 0===t?s:u:c&&c in Object(t)?i(t):a(t)}var o=r(23),i=r(185),a=r(186),u="[object Null]",s="[object Undefined]",c=o?o.toStringTag:void 0;t.exports=n},function(t,e,r){var n=r(71),o=r(72);t.exports=function(t){return n(o(t))}},function(t,e,r){var n=r(9),o=n.Symbol;t.exports=o},function(t,e,r){function n(t){return a(t)?o(t):i(t)}var o=r(120),i=r(208),a=r(36);t.exports=n},function(t,e){t.exports={}},function(t,e,r){"use strict";function n(t){return void 0===t||null===t}function o(t){return"object"==typeof t&&null!==t}function i(t){return Array.isArray(t)?t:n(t)?[]:[t]}function a(t,e){var r,n,o,i;if(e)for(i=Object.keys(e),r=0,n=i.length;r<n;r+=1)o=i[r],t[o]=e[o];return t}function u(t,e){var r,n="";for(r=0;r<e;r+=1)n+=t;return n}function s(t){return 0===t&&Number.NEGATIVE_INFINITY===1/t}t.exports.isNothing=n,t.exports.isObject=o,t.exports.toArray=i,t.exports.repeat=u,t.exports.isNegativeZero=s,t.exports.extend=a},function(t,e,r){"use strict";function n(t,e,r){var o=[];return t.include.forEach(function(t){r=n(t,e,r)}),t[e].forEach(function(t){r.forEach(function(e,r){e.tag===t.tag&&e.kind===t.kind&&o.push(r)}),r.push(t)}),r.filter(function(t,e){return-1===o.indexOf(e)})}function o(){function t(t){n[t.kind][t.tag]=n.fallback[t.tag]=t}var e,r,n={scalar:{},sequence:{},mapping:{},fallback:{}};for(e=0,r=arguments.length;e<r;e+=1)arguments[e].forEach(t);return n}function i(t){this.include=t.include||[],this.implicit=t.implicit||[],this.explicit=t.explicit||[],this.implicit.forEach(function(t){if(t.loadKind&&"scalar"!==t.loadKind)throw new u("There is a non-scalar type in the implicit list of a schema. Implicit resolving of such types is not supported.")}),this.compiledImplicit=n(this,"implicit",[]),this.compiledExplicit=n(this,"explicit",[]),this.compiledTypeMap=o(this.compiledImplicit,this.compiledExplicit)}var a=r(26),u=r(41),s=r(1);i.DEFAULT=null,i.create=function(){var t,e;switch(arguments.length){case 1:t=i.DEFAULT,e=arguments[0];break;case 2:t=arguments[0],e=arguments[1];break;default:throw new u("Wrong number of arguments for Schema.create function")}if(t=a.toArray(t),e=a.toArray(e),!t.every(function(t){return t instanceof i}))throw new u("Specified list of super schemas (or a single Schema object) contains a non-Schema object.");if(!e.every(function(t){return t instanceof s}))throw new u("Specified list of YAML types (or a single Type object) contains a non-Type object.");return new i({include:t,explicit:e})},t.exports=i},function(t,e,r){"use strict";e.__esModule=!0;var n=r(14),o=function(t){return t&&t.__esModule?t:{default:t}}(n);e.default=o.default||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}},function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},function(t,e,r){var n=r(114),o=r(76);t.exports=Object.keys||function(t){return n(t,o)}},function(t,e){var r={}.toString;t.exports=function(t){return r.call(t).slice(8,-1)}},function(t,e){t.exports=!0},function(t,e,r){var n=r(72);t.exports=function(t){return Object(n(t))}},function(t,e,r){function n(t,e,r,n){var a=!r;r||(r={});for(var u=-1,s=e.length;++u<s;){var c=e[u],f=n?n(r[c],t[c],c,r,t):void 0;void 0===f&&(f=t[c]),a?i(r,c,f):o(r,c,f)}return r}var o=r(54),i=r(118);t.exports=n},function(t,e,r){function n(t){return null!=t&&i(t.length)&&!o(t)}var o=r(115),i=r(84);t.exports=n},function(t,e,r){r(254);for(var n=r(2),o=r(15),i=r(25),a=r(3)("toStringTag"),u="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),s=0;s<u.length;s++){var c=u[s],f=n[c],l=f&&f.prototype;l&&!l[a]&&o(l,a,c),i[c]=i.Array}},function(t,e,r){var n=r(7).f,o=r(17),i=r(3)("toStringTag");t.exports=function(t,e,r){t&&!o(t=r?t:t.prototype,i)&&n(t,i,{configurable:!0,value:e})}},function(t,e,r){"use strict";var n=r(260)(!0);r(135)(String,"String",function(t){this._t=String(t),this._i=0},function(){var t,e=this._t,r=this._i;return r>=e.length?{value:void 0,done:!0}:(t=n(e,r),this._i+=t.length,{value:t,done:!1})})},function(t,e,r){t.exports=r(268)},function(t,e,r){"use strict";function n(t,e){Error.call(this),this.name="YAMLException",this.reason=t,this.mark=e,this.message=(this.reason||"(unknown reason)")+(this.mark?" "+this.mark.toString():""),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=(new Error).stack||""}n.prototype=Object.create(Error.prototype),n.prototype.constructor=n,n.prototype.toString=function(t){var e=this.name+": ";return e+=this.reason||"(unknown reason)",!t&&this.mark&&(e+=" "+this.mark.toString()),e},t.exports=n},function(t,e,r){"use strict";var n=r(27);t.exports=new n({include:[r(149)],implicit:[r(302),r(303)],explicit:[r(304),r(308),r(309),r(310)]})},function(t,e,r){"use strict";(function(t){function n(){return i.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function o(t,e){if(n()<e)throw new RangeError("Invalid typed array length");return i.TYPED_ARRAY_SUPPORT?(t=new Uint8Array(e),t.__proto__=i.prototype):(null===t&&(t=new i(e)),t.length=e),t}function i(t,e,r){if(!(i.TYPED_ARRAY_SUPPORT||this instanceof i))return new i(t,e,r);if("number"==typeof t){if("string"==typeof e)throw new Error("If encoding is specified then the first argument must be a string");return c(this,t)}return a(this,t,e,r)}function a(t,e,r,n){if("number"==typeof e)throw new TypeError('"value" argument must not be a number');return"undefined"!=typeof ArrayBuffer&&e instanceof ArrayBuffer?p(t,e,r,n):"string"==typeof e?f(t,e,r):h(t,e)}function u(t){if("number"!=typeof t)throw new TypeError('"size" argument must be a number');if(t<0)throw new RangeError('"size" argument must not be negative')}function s(t,e,r,n){return u(e),e<=0?o(t,e):void 0!==r?"string"==typeof n?o(t,e).fill(r,n):o(t,e).fill(r):o(t,e)}function c(t,e){if(u(e),t=o(t,e<0?0:0|d(e)),!i.TYPED_ARRAY_SUPPORT)for(var r=0;r<e;++r)t[r]=0;return t}function f(t,e,r){if("string"==typeof r&&""!==r||(r="utf8"),!i.isEncoding(r))throw new TypeError('"encoding" must be a valid string encoding');var n=0|y(e,r);t=o(t,n);var a=t.write(e,r);return a!==n&&(t=t.slice(0,a)),t}function l(t,e){var r=e.length<0?0:0|d(e.length);t=o(t,r);for(var n=0;n<r;n+=1)t[n]=255&e[n];return t}function p(t,e,r,n){if(e.byteLength,r<0||e.byteLength<r)throw new RangeError("'offset' is out of bounds");if(e.byteLength<r+(n||0))throw new RangeError("'length' is out of bounds");return e=void 0===r&&void 0===n?new Uint8Array(e):void 0===n?new Uint8Array(e,r):new Uint8Array(e,r,n),i.TYPED_ARRAY_SUPPORT?(t=e,t.__proto__=i.prototype):t=l(t,e),t}function h(t,e){if(i.isBuffer(e)){var r=0|d(e.length);return t=o(t,r),0===t.length?t:(e.copy(t,0,0,r),t)}if(e){if("undefined"!=typeof ArrayBuffer&&e.buffer instanceof ArrayBuffer||"length"in e)return"number"!=typeof e.length||W(e.length)?o(t,0):l(t,e);if("Buffer"===e.type&&Z(e.data))return l(t,e.data)}throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}function d(t){if(t>=n())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+n().toString(16)+" bytes");return 0|t}function v(t){return+t!=t&&(t=0),i.alloc(+t)}function y(t,e){if(i.isBuffer(t))return t.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(t)||t instanceof ArrayBuffer))return t.byteLength;"string"!=typeof t&&(t=""+t);var r=t.length;if(0===r)return 0;for(var n=!1;;)switch(e){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":case void 0:return $(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return J(t).length;default:if(n)return $(t).length;e=(""+e).toLowerCase(),n=!0}}function g(t,e,r){var n=!1;if((void 0===e||e<0)&&(e=0),e>this.length)return"";if((void 0===r||r>this.length)&&(r=this.length),r<=0)return"";if(r>>>=0,e>>>=0,r<=e)return"";for(t||(t="utf8");;)switch(t){case"hex":return I(this,e,r);case"utf8":case"utf-8":return C(this,e,r);case"ascii":return k(this,e,r);case"latin1":case"binary":return T(this,e,r);case"base64":return P(this,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return R(this,e,r);default:if(n)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}function m(t,e,r){var n=t[e];t[e]=t[r],t[r]=n}function b(t,e,r,n,o){if(0===t.length)return-1;if("string"==typeof r?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,isNaN(r)&&(r=o?0:t.length-1),r<0&&(r=t.length+r),r>=t.length){if(o)return-1;r=t.length-1}else if(r<0){if(!o)return-1;r=0}if("string"==typeof e&&(e=i.from(e,n)),i.isBuffer(e))return 0===e.length?-1:w(t,e,r,n,o);if("number"==typeof e)return e&=255,i.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?o?Uint8Array.prototype.indexOf.call(t,e,r):Uint8Array.prototype.lastIndexOf.call(t,e,r):w(t,[e],r,n,o);throw new TypeError("val must be string, number or Buffer")}function w(t,e,r,n,o){function i(t,e){return 1===a?t[e]:t.readUInt16BE(e*a)}var a=1,u=t.length,s=e.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(t.length<2||e.length<2)return-1;a=2,u/=2,s/=2,r/=2}var c;if(o){var f=-1;for(c=r;c<u;c++)if(i(t,c)===i(e,-1===f?0:c-f)){if(-1===f&&(f=c),c-f+1===s)return f*a}else-1!==f&&(c-=c-f),f=-1}else for(r+s>u&&(r=u-s),c=r;c>=0;c--){for(var l=!0,p=0;p<s;p++)if(i(t,c+p)!==i(e,p)){l=!1;break}if(l)return c}return-1}function x(t,e,r,n){r=Number(r)||0;var o=t.length-r;n?(n=Number(n))>o&&(n=o):n=o;var i=e.length;if(i%2!=0)throw new TypeError("Invalid hex string");n>i/2&&(n=i/2);for(var a=0;a<n;++a){var u=parseInt(e.substr(2*a,2),16);if(isNaN(u))return a;t[r+a]=u}return a}function _(t,e,r,n){return G($(e,t.length-r),t,r,n)}function A(t,e,r,n){return G(H(e),t,r,n)}function O(t,e,r,n){return A(t,e,r,n)}function j(t,e,r,n){return G(J(e),t,r,n)}function E(t,e,r,n){return G(V(e,t.length-r),t,r,n)}function P(t,e,r){return 0===e&&r===t.length?K.fromByteArray(t):K.fromByteArray(t.slice(e,r))}function C(t,e,r){r=Math.min(t.length,r);for(var n=[],o=e;o<r;){var i=t[o],a=null,u=i>239?4:i>223?3:i>191?2:1;if(o+u<=r){var s,c,f,l;switch(u){case 1:i<128&&(a=i);break;case 2:s=t[o+1],128==(192&s)&&(l=(31&i)<<6|63&s)>127&&(a=l);break;case 3:s=t[o+1],c=t[o+2],128==(192&s)&&128==(192&c)&&(l=(15&i)<<12|(63&s)<<6|63&c)>2047&&(l<55296||l>57343)&&(a=l);break;case 4:s=t[o+1],c=t[o+2],f=t[o+3],128==(192&s)&&128==(192&c)&&128==(192&f)&&(l=(15&i)<<18|(63&s)<<12|(63&c)<<6|63&f)>65535&&l<1114112&&(a=l)}}null===a?(a=65533,u=1):a>65535&&(a-=65536,n.push(a>>>10&1023|55296),a=56320|1023&a),n.push(a),o+=u}return S(n)}function S(t){var e=t.length;if(e<=X)return String.fromCharCode.apply(String,t);for(var r="",n=0;n<e;)r+=String.fromCharCode.apply(String,t.slice(n,n+=X));return r}function k(t,e,r){var n="";r=Math.min(t.length,r);for(var o=e;o<r;++o)n+=String.fromCharCode(127&t[o]);return n}function T(t,e,r){var n="";r=Math.min(t.length,r);for(var o=e;o<r;++o)n+=String.fromCharCode(t[o]);return n}function I(t,e,r){var n=t.length;(!e||e<0)&&(e=0),(!r||r<0||r>n)&&(r=n);for(var o="",i=e;i<r;++i)o+=Y(t[i]);return o}function R(t,e,r){for(var n=t.slice(e,r),o="",i=0;i<n.length;i+=2)o+=String.fromCharCode(n[i]+256*n[i+1]);return o}function M(t,e,r){if(t%1!=0||t<0)throw new RangeError("offset is not uint");if(t+e>r)throw new RangeError("Trying to access beyond buffer length")}function N(t,e,r,n,o,a){if(!i.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>o||e<a)throw new RangeError('"value" argument is out of bounds');if(r+n>t.length)throw new RangeError("Index out of range")}function F(t,e,r,n){e<0&&(e=65535+e+1);for(var o=0,i=Math.min(t.length-r,2);o<i;++o)t[r+o]=(e&255<<8*(n?o:1-o))>>>8*(n?o:1-o)}function L(t,e,r,n){e<0&&(e=4294967295+e+1);for(var o=0,i=Math.min(t.length-r,4);o<i;++o)t[r+o]=e>>>8*(n?o:3-o)&255}function D(t,e,r,n,o,i){if(r+n>t.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function U(t,e,r,n,o){return o||D(t,e,r,4,3.4028234663852886e38,-3.4028234663852886e38),Q.write(t,e,r,n,23,4),r+4}function B(t,e,r,n,o){return o||D(t,e,r,8,1.7976931348623157e308,-1.7976931348623157e308),Q.write(t,e,r,n,52,8),r+8}function q(t){if(t=z(t).replace(tt,""),t.length<2)return"";for(;t.length%4!=0;)t+="=";return t}function z(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")}function Y(t){return t<16?"0"+t.toString(16):t.toString(16)}function $(t,e){e=e||1/0;for(var r,n=t.length,o=null,i=[],a=0;a<n;++a){if((r=t.charCodeAt(a))>55295&&r<57344){if(!o){if(r>56319){(e-=3)>-1&&i.push(239,191,189);continue}if(a+1===n){(e-=3)>-1&&i.push(239,191,189);continue}o=r;continue}if(r<56320){(e-=3)>-1&&i.push(239,191,189),o=r;continue}r=65536+(o-55296<<10|r-56320)}else o&&(e-=3)>-1&&i.push(239,191,189);if(o=null,r<128){if((e-=1)<0)break;i.push(r)}else if(r<2048){if((e-=2)<0)break;i.push(r>>6|192,63&r|128)}else if(r<65536){if((e-=3)<0)break;i.push(r>>12|224,r>>6&63|128,63&r|128)}else{if(!(r<1114112))throw new Error("Invalid code point");if((e-=4)<0)break;i.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}}return i}function H(t){for(var e=[],r=0;r<t.length;++r)e.push(255&t.charCodeAt(r));return e}function V(t,e){for(var r,n,o,i=[],a=0;a<t.length&&!((e-=2)<0);++a)r=t.charCodeAt(a),n=r>>8,o=r%256,i.push(o),i.push(n);return i}function J(t){return K.toByteArray(q(t))}function G(t,e,r,n){for(var o=0;o<n&&!(o+r>=e.length||o>=t.length);++o)e[o+r]=t[o];return o}function W(t){return t!==t}/*!
2
+ * The buffer module from node.js, for the browser.
3
+ *
4
+ * @author Feross Aboukhadijeh <feross@feross.org> <http://feross.org>
5
+ * @license MIT
6
+ */
7
+ var K=r(305),Q=r(306),Z=r(307);e.Buffer=i,e.SlowBuffer=v,e.INSPECT_MAX_BYTES=50,i.TYPED_ARRAY_SUPPORT=void 0!==t.TYPED_ARRAY_SUPPORT?t.TYPED_ARRAY_SUPPORT:function(){try{var t=new Uint8Array(1);return t.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===t.foo()&&"function"==typeof t.subarray&&0===t.subarray(1,1).byteLength}catch(t){return!1}}(),e.kMaxLength=n(),i.poolSize=8192,i._augment=function(t){return t.__proto__=i.prototype,t},i.from=function(t,e,r){return a(null,t,e,r)},i.TYPED_ARRAY_SUPPORT&&(i.prototype.__proto__=Uint8Array.prototype,i.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&i[Symbol.species]===i&&Object.defineProperty(i,Symbol.species,{value:null,configurable:!0})),i.alloc=function(t,e,r){return s(null,t,e,r)},i.allocUnsafe=function(t){return c(null,t)},i.allocUnsafeSlow=function(t){return c(null,t)},i.isBuffer=function(t){return!(null==t||!t._isBuffer)},i.compare=function(t,e){if(!i.isBuffer(t)||!i.isBuffer(e))throw new TypeError("Arguments must be Buffers");if(t===e)return 0;for(var r=t.length,n=e.length,o=0,a=Math.min(r,n);o<a;++o)if(t[o]!==e[o]){r=t[o],n=e[o];break}return r<n?-1:n<r?1:0},i.isEncoding=function(t){switch(String(t).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},i.concat=function(t,e){if(!Z(t))throw new TypeError('"list" argument must be an Array of Buffers');if(0===t.length)return i.alloc(0);var r;if(void 0===e)for(e=0,r=0;r<t.length;++r)e+=t[r].length;var n=i.allocUnsafe(e),o=0;for(r=0;r<t.length;++r){var a=t[r];if(!i.isBuffer(a))throw new TypeError('"list" argument must be an Array of Buffers');a.copy(n,o),o+=a.length}return n},i.byteLength=y,i.prototype._isBuffer=!0,i.prototype.swap16=function(){var t=this.length;if(t%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var e=0;e<t;e+=2)m(this,e,e+1);return this},i.prototype.swap32=function(){var t=this.length;if(t%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var e=0;e<t;e+=4)m(this,e,e+3),m(this,e+1,e+2);return this},i.prototype.swap64=function(){var t=this.length;if(t%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var e=0;e<t;e+=8)m(this,e,e+7),m(this,e+1,e+6),m(this,e+2,e+5),m(this,e+3,e+4);return this},i.prototype.toString=function(){var t=0|this.length;return 0===t?"":0===arguments.length?C(this,0,t):g.apply(this,arguments)},i.prototype.equals=function(t){if(!i.isBuffer(t))throw new TypeError("Argument must be a Buffer");return this===t||0===i.compare(this,t)},i.prototype.inspect=function(){var t="",r=e.INSPECT_MAX_BYTES;return this.length>0&&(t=this.toString("hex",0,r).match(/.{2}/g).join(" "),this.length>r&&(t+=" ... ")),"<Buffer "+t+">"},i.prototype.compare=function(t,e,r,n,o){if(!i.isBuffer(t))throw new TypeError("Argument must be a Buffer");if(void 0===e&&(e=0),void 0===r&&(r=t?t.length:0),void 0===n&&(n=0),void 0===o&&(o=this.length),e<0||r>t.length||n<0||o>this.length)throw new RangeError("out of range index");if(n>=o&&e>=r)return 0;if(n>=o)return-1;if(e>=r)return 1;if(e>>>=0,r>>>=0,n>>>=0,o>>>=0,this===t)return 0;for(var a=o-n,u=r-e,s=Math.min(a,u),c=this.slice(n,o),f=t.slice(e,r),l=0;l<s;++l)if(c[l]!==f[l]){a=c[l],u=f[l];break}return a<u?-1:u<a?1:0},i.prototype.includes=function(t,e,r){return-1!==this.indexOf(t,e,r)},i.prototype.indexOf=function(t,e,r){return b(this,t,e,r,!0)},i.prototype.lastIndexOf=function(t,e,r){return b(this,t,e,r,!1)},i.prototype.write=function(t,e,r,n){if(void 0===e)n="utf8",r=this.length,e=0;else if(void 0===r&&"string"==typeof e)n=e,r=this.length,e=0;else{if(!isFinite(e))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");e|=0,isFinite(r)?(r|=0,void 0===n&&(n="utf8")):(n=r,r=void 0)}var o=this.length-e;if((void 0===r||r>o)&&(r=o),t.length>0&&(r<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var i=!1;;)switch(n){case"hex":return x(this,t,e,r);case"utf8":case"utf-8":return _(this,t,e,r);case"ascii":return A(this,t,e,r);case"latin1":case"binary":return O(this,t,e,r);case"base64":return j(this,t,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return E(this,t,e,r);default:if(i)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),i=!0}},i.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var X=4096;i.prototype.slice=function(t,e){var r=this.length;t=~~t,e=void 0===e?r:~~e,t<0?(t+=r)<0&&(t=0):t>r&&(t=r),e<0?(e+=r)<0&&(e=0):e>r&&(e=r),e<t&&(e=t);var n;if(i.TYPED_ARRAY_SUPPORT)n=this.subarray(t,e),n.__proto__=i.prototype;else{var o=e-t;n=new i(o,void 0);for(var a=0;a<o;++a)n[a]=this[a+t]}return n},i.prototype.readUIntLE=function(t,e,r){t|=0,e|=0,r||M(t,e,this.length);for(var n=this[t],o=1,i=0;++i<e&&(o*=256);)n+=this[t+i]*o;return n},i.prototype.readUIntBE=function(t,e,r){t|=0,e|=0,r||M(t,e,this.length);for(var n=this[t+--e],o=1;e>0&&(o*=256);)n+=this[t+--e]*o;return n},i.prototype.readUInt8=function(t,e){return e||M(t,1,this.length),this[t]},i.prototype.readUInt16LE=function(t,e){return e||M(t,2,this.length),this[t]|this[t+1]<<8},i.prototype.readUInt16BE=function(t,e){return e||M(t,2,this.length),this[t]<<8|this[t+1]},i.prototype.readUInt32LE=function(t,e){return e||M(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+16777216*this[t+3]},i.prototype.readUInt32BE=function(t,e){return e||M(t,4,this.length),16777216*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},i.prototype.readIntLE=function(t,e,r){t|=0,e|=0,r||M(t,e,this.length);for(var n=this[t],o=1,i=0;++i<e&&(o*=256);)n+=this[t+i]*o;return o*=128,n>=o&&(n-=Math.pow(2,8*e)),n},i.prototype.readIntBE=function(t,e,r){t|=0,e|=0,r||M(t,e,this.length);for(var n=e,o=1,i=this[t+--n];n>0&&(o*=256);)i+=this[t+--n]*o;return o*=128,i>=o&&(i-=Math.pow(2,8*e)),i},i.prototype.readInt8=function(t,e){return e||M(t,1,this.length),128&this[t]?-1*(255-this[t]+1):this[t]},i.prototype.readInt16LE=function(t,e){e||M(t,2,this.length);var r=this[t]|this[t+1]<<8;return 32768&r?4294901760|r:r},i.prototype.readInt16BE=function(t,e){e||M(t,2,this.length);var r=this[t+1]|this[t]<<8;return 32768&r?4294901760|r:r},i.prototype.readInt32LE=function(t,e){return e||M(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},i.prototype.readInt32BE=function(t,e){return e||M(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},i.prototype.readFloatLE=function(t,e){return e||M(t,4,this.length),Q.read(this,t,!0,23,4)},i.prototype.readFloatBE=function(t,e){return e||M(t,4,this.length),Q.read(this,t,!1,23,4)},i.prototype.readDoubleLE=function(t,e){return e||M(t,8,this.length),Q.read(this,t,!0,52,8)},i.prototype.readDoubleBE=function(t,e){return e||M(t,8,this.length),Q.read(this,t,!1,52,8)},i.prototype.writeUIntLE=function(t,e,r,n){if(t=+t,e|=0,r|=0,!n){N(this,t,e,r,Math.pow(2,8*r)-1,0)}var o=1,i=0;for(this[e]=255&t;++i<r&&(o*=256);)this[e+i]=t/o&255;return e+r},i.prototype.writeUIntBE=function(t,e,r,n){if(t=+t,e|=0,r|=0,!n){N(this,t,e,r,Math.pow(2,8*r)-1,0)}var o=r-1,i=1;for(this[e+o]=255&t;--o>=0&&(i*=256);)this[e+o]=t/i&255;return e+r},i.prototype.writeUInt8=function(t,e,r){return t=+t,e|=0,r||N(this,t,e,1,255,0),i.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),this[e]=255&t,e+1},i.prototype.writeUInt16LE=function(t,e,r){return t=+t,e|=0,r||N(this,t,e,2,65535,0),i.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):F(this,t,e,!0),e+2},i.prototype.writeUInt16BE=function(t,e,r){return t=+t,e|=0,r||N(this,t,e,2,65535,0),i.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):F(this,t,e,!1),e+2},i.prototype.writeUInt32LE=function(t,e,r){return t=+t,e|=0,r||N(this,t,e,4,4294967295,0),i.TYPED_ARRAY_SUPPORT?(this[e+3]=t>>>24,this[e+2]=t>>>16,this[e+1]=t>>>8,this[e]=255&t):L(this,t,e,!0),e+4},i.prototype.writeUInt32BE=function(t,e,r){return t=+t,e|=0,r||N(this,t,e,4,4294967295,0),i.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):L(this,t,e,!1),e+4},i.prototype.writeIntLE=function(t,e,r,n){if(t=+t,e|=0,!n){var o=Math.pow(2,8*r-1);N(this,t,e,r,o-1,-o)}var i=0,a=1,u=0;for(this[e]=255&t;++i<r&&(a*=256);)t<0&&0===u&&0!==this[e+i-1]&&(u=1),this[e+i]=(t/a>>0)-u&255;return e+r},i.prototype.writeIntBE=function(t,e,r,n){if(t=+t,e|=0,!n){var o=Math.pow(2,8*r-1);N(this,t,e,r,o-1,-o)}var i=r-1,a=1,u=0;for(this[e+i]=255&t;--i>=0&&(a*=256);)t<0&&0===u&&0!==this[e+i+1]&&(u=1),this[e+i]=(t/a>>0)-u&255;return e+r},i.prototype.writeInt8=function(t,e,r){return t=+t,e|=0,r||N(this,t,e,1,127,-128),i.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),t<0&&(t=255+t+1),this[e]=255&t,e+1},i.prototype.writeInt16LE=function(t,e,r){return t=+t,e|=0,r||N(this,t,e,2,32767,-32768),i.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):F(this,t,e,!0),e+2},i.prototype.writeInt16BE=function(t,e,r){return t=+t,e|=0,r||N(this,t,e,2,32767,-32768),i.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):F(this,t,e,!1),e+2},i.prototype.writeInt32LE=function(t,e,r){return t=+t,e|=0,r||N(this,t,e,4,2147483647,-2147483648),i.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8,this[e+2]=t>>>16,this[e+3]=t>>>24):L(this,t,e,!0),e+4},i.prototype.writeInt32BE=function(t,e,r){return t=+t,e|=0,r||N(this,t,e,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),i.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):L(this,t,e,!1),e+4},i.prototype.writeFloatLE=function(t,e,r){return U(this,t,e,!0,r)},i.prototype.writeFloatBE=function(t,e,r){return U(this,t,e,!1,r)},i.prototype.writeDoubleLE=function(t,e,r){return B(this,t,e,!0,r)},i.prototype.writeDoubleBE=function(t,e,r){return B(this,t,e,!1,r)},i.prototype.copy=function(t,e,r,n){if(r||(r=0),n||0===n||(n=this.length),e>=t.length&&(e=t.length),e||(e=0),n>0&&n<r&&(n=r),n===r)return 0;if(0===t.length||0===this.length)return 0;if(e<0)throw new RangeError("targetStart out of bounds");if(r<0||r>=this.length)throw new RangeError("sourceStart out of bounds");if(n<0)throw new RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),t.length-e<n-r&&(n=t.length-e+r);var o,a=n-r;if(this===t&&r<e&&e<n)for(o=a-1;o>=0;--o)t[o+e]=this[o+r];else if(a<1e3||!i.TYPED_ARRAY_SUPPORT)for(o=0;o<a;++o)t[o+e]=this[o+r];else Uint8Array.prototype.set.call(t,this.subarray(r,r+a),e);return a},i.prototype.fill=function(t,e,r,n){if("string"==typeof t){if("string"==typeof e?(n=e,e=0,r=this.length):"string"==typeof r&&(n=r,r=this.length),1===t.length){var o=t.charCodeAt(0);o<256&&(t=o)}if(void 0!==n&&"string"!=typeof n)throw new TypeError("encoding must be a string");if("string"==typeof n&&!i.isEncoding(n))throw new TypeError("Unknown encoding: "+n)}else"number"==typeof t&&(t&=255);if(e<0||this.length<e||this.length<r)throw new RangeError("Out of range index");if(r<=e)return this;e>>>=0,r=void 0===r?this.length:r>>>0,t||(t=0);var a;if("number"==typeof t)for(a=e;a<r;++a)this[a]=t;else{var u=i.isBuffer(t)?t:$(new i(t,n).toString()),s=u.length;for(a=0;a<r-e;++a)this[a+e]=u[a%s]}return this};var tt=/[^+\/0-9A-Za-z-_]/g}).call(e,r(80))},function(t,e,r){function n(t){if("string"==typeof t||o(t))return t;var e=t+"";return"0"==e&&1/t==-i?"-0":e}var o=r(60),i=1/0;t.exports=n},function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}function o(t){var e=t.openapi;return!!e&&(0,w.default)(e,"3")}function i(t){var e=t.swagger;return!!e&&(0,w.default)(e,"2")}function a(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=n.v2OperationIdCompatibilityMode;return t&&"object"===(void 0===t?"undefined":(0,y.default)(t))?(t.operationId||"").replace(/\s/g,"").length?_(t.operationId):u(e,r,{v2OperationIdCompatibilityMode:o}):null}function u(t,e){if((arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).v2OperationIdCompatibilityMode){var r=(e.toLowerCase()+"_"+t).replace(/[\s!@#$%^&*()_+=[{\]};:<>|.\/?,\\'""-]/g,"_");return r=r||t.substring(1)+"_"+e,r.replace(/((_){2,})/g,"_").replace(/^(_)*/g,"").replace(/([_])*$/g,"")}return""+x(e)+_(t)}function s(t,e){return x(e)+"-"+t}function c(t,e){return t&&t.paths?f(t,function(t){var r=t.pathName,n=t.method,o=t.operation;if(!o||"object"!==(void 0===o?"undefined":(0,y.default)(o)))return!1;var i=o.operationId;return[a(o,r,n),s(r,n),i].some(function(t){return t&&t===e})}):null}function f(t,e){return l(t,e,!0)||null}function l(t,e,r){if(!t||"object"!==(void 0===t?"undefined":(0,y.default)(t))||!t.paths||"object"!==(0,y.default)(t.paths))return null;var n=t.paths;for(var o in n)for(var i in n[o])if("PARAMETERS"!==i.toUpperCase()){var a=n[o][i];if(a&&"object"===(void 0===a?"undefined":(0,y.default)(a))){var u={spec:t,pathName:o,method:i.toUpperCase(),operation:a},s=e(u);if(r&&s)return u}}}function p(t){var e=t.spec,r=e.paths,n={};if(!r||e.$$normalized)return t;for(var o in r){var i=r[o];if((0,m.default)(i)){var u=i.parameters;for(var s in i){(function(t){var r=i[t];if(!(0,m.default)(r))return"continue";var s=a(r,o,t);if(s){n[s]?n[s].push(r):n[s]=[r];var c=n[s];if(c.length>1)c.forEach(function(t,e){t.__originalOperationId=t.__originalOperationId||t.operationId,t.operationId=""+s+(e+1)});else if(void 0!==r.operationId){var f=c[0];f.__originalOperationId=f.__originalOperationId||r.operationId,f.operationId=s}}if("parameters"!==t){var l=[],p={};for(var h in e)"produces"!==h&&"consumes"!==h&&"security"!==h||(p[h]=e[h],l.push(p));if(u&&(p.parameters=u,l.push(p)),l.length){var v=!0,y=!1,g=void 0;try{for(var b,w=(0,d.default)(l);!(v=(b=w.next()).done);v=!0){var x=b.value;for(var _ in x)if(r[_]){if("parameters"===_){var A=!0,O=!1,j=void 0;try{for(var E,P=(0,d.default)(x[_]);!(A=(E=P.next()).done);A=!0)!function(){var t=E.value;r[_].some(function(e){return e.name&&e.name===t.name||e.$ref&&e.$ref===t.$ref||e.$$ref&&e.$$ref===t.$$ref||e===t})||r[_].push(t)}()}catch(t){O=!0,j=t}finally{try{!A&&P.return&&P.return()}finally{if(O)throw j}}}}else r[_]=x[_]}}catch(t){y=!0,g=t}finally{try{!v&&w.return&&w.return()}finally{if(y)throw g}}}}})(s)}}}return e.$$normalized=!0,t}Object.defineProperty(e,"__esModule",{value:!0});var h=r(96),d=n(h),v=r(18),y=n(v);e.isOAS3=o,e.isSwagger2=i,e.opId=a,e.idFromPathMethod=u,e.legacyIdFromPathMethod=s,e.getOperationRaw=c,e.findOperation=f,e.eachOperation=l,e.normalizeSwagger=p;var g=r(10),m=n(g),b=r(131),w=n(b),x=function(t){return String.prototype.toLowerCase.call(t)},_=function(t){return t.replace(/[^\w]/gi,"_")}},function(t,e,r){var n=r(73),o=Math.min;t.exports=function(t){return t>0?o(n(t),9007199254740991):0}},function(t,e){var r=0,n=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++r+n).toString(36))}},function(t,e){e.f={}.propertyIsEnumerable},function(t,e,r){function n(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}var o=r(174),i=r(175),a=r(176),u=r(177),s=r(178);n.prototype.clear=o,n.prototype.delete=i,n.prototype.get=a,n.prototype.has=u,n.prototype.set=s,t.exports=n},function(t,e,r){function n(t,e){for(var r=t.length;r--;)if(o(t[r][0],e))return r;return-1}var o=r(51);t.exports=n},function(t,e){function r(t,e){return t===e||t!==t&&e!==e}t.exports=r},function(t,e,r){var n=r(20),o=n(Object,"create");t.exports=o},function(t,e,r){function n(t,e){var r=t.__data__;return o(e)?r["string"==typeof e?"string":"hash"]:r.map}var o=r(198);t.exports=n},function(t,e,r){function n(t,e,r){var n=t[e];u.call(t,e)&&i(n,r)&&(void 0!==r||e in t)||o(t,e,r)}var o=r(118),i=r(51),a=Object.prototype,u=a.hasOwnProperty;t.exports=n},function(t,e){t.exports=function(t){return t.webpackPolyfill||(t.deprecate=function(){},t.paths=[],t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),t.webpackPolyfill=1),t}},function(t,e){function r(t,e){var r=typeof t;return!!(e=null==e?n:e)&&("number"==r||"symbol"!=r&&o.test(t))&&t>-1&&t%1==0&&t<e}var n=9007199254740991,o=/^(?:0|[1-9]\d*)$/;t.exports=r},function(t,e){function r(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||n)}var n=Object.prototype;t.exports=r},function(t,e,r){var n=r(219),o=r(79),i=r(220),a=r(221),u=r(222),s=r(21),c=r(117),f=c(n),l=c(o),p=c(i),h=c(a),d=c(u),v=s;(n&&"[object DataView]"!=v(new n(new ArrayBuffer(1)))||o&&"[object Map]"!=v(new o)||i&&"[object Promise]"!=v(i.resolve())||a&&"[object Set]"!=v(new a)||u&&"[object WeakMap]"!=v(new u))&&(v=function(t){var e=s(t),r="[object Object]"==e?t.constructor:void 0,n=r?c(r):"";if(n)switch(n){case f:return"[object DataView]";case l:return"[object Map]";case p:return"[object Promise]";case h:return"[object Set]";case d:return"[object WeakMap]"}return e}),t.exports=v},function(t,e,r){var n=r(54),o=r(35),i=r(235),a=r(36),u=r(57),s=r(24),c=Object.prototype,f=c.hasOwnProperty,l=i(function(t,e){if(u(e)||a(e))return void o(e,s(e),t);for(var r in e)f.call(e,r)&&n(t,r,e[r])});t.exports=l},function(t,e,r){function n(t){return"symbol"==typeof t||i(t)&&o(t)==a}var o=r(21),i=r(13),a="[object Symbol]";t.exports=n},function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}function o(t,e){return"application/json"===e?JSON.parse(t):P.default.safeLoad(t)}function i(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=r.loadSpec,i=void 0!==n&&n,u={ok:t.ok,url:t.url||e,status:t.status,statusText:t.statusText,headers:a(t.headers)},s=u.headers["content-type"],c=i||T(s);return(c?t.text:t.blob||t.buffer).call(t).then(function(t){if(u.text=t,u.data=t,c)try{var e=o(t,s);u.body=e,u.obj=e}catch(t){u.parseError=t}return u})}function a(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e={};return"function"==typeof t.forEach?(t.forEach(function(t,r){void 0!==e[r]?(e[r]=Array.isArray(e[r])?e[r]:[e[r]],e[r].push(t)):e[r]=t}),e):e}function u(t,e){return e||"undefined"==typeof navigator||(e=navigator),e&&"ReactNative"===e.product?!(!t||"object"!==(void 0===t?"undefined":(0,x.default)(t))||"string"!=typeof t.uri):"undefined"!=typeof File?t instanceof File:null!==t&&"object"===(void 0===t?"undefined":(0,x.default)(t))&&"function"==typeof t.pipe}function s(t,e){var r=t.collectionFormat,n=t.allowEmptyValue,o="object"===(void 0===t?"undefined":(0,x.default)(t))?t.value:t,i={csv:",",ssv:"%20",tsv:"%09",pipes:"|"};if(void 0===o&&n)return"";if(u(o)||"boolean"==typeof o)return o;var a=encodeURIComponent;return e&&(a=(0,S.default)(o)?function(t){return t}:function(t){return(0,g.default)(t)}),"object"!==(void 0===o?"undefined":(0,x.default)(o))||Array.isArray(o)?Array.isArray(o)?Array.isArray(o)&&!r?o.map(a).join(","):"multi"===r?o.map(a):o.map(a).join(i[r]):a(o):""}function c(t){var e=(0,v.default)(t).reduce(function(e,r){var n=t[r],o=!!n.skipEncoding,i=o?r:encodeURIComponent(r),a=function(t){return t&&"object"===(void 0===t?"undefined":(0,x.default)(t))}(n)&&!Array.isArray(n);return e[i]=s(a?n:{value:n},o),e},{});return j.default.stringify(e,{encode:!1,indices:!1})||""}function f(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.url,n=void 0===e?"":e,o=t.query,i=t.form;if(i){var a=(0,v.default)(i).some(function(t){return u(i[t].value)}),f=t.headers["content-type"]||t.headers["Content-Type"];if(a||/multipart\/form-data/i.test(f)){var l=r(316);t.body=new l,(0,v.default)(i).forEach(function(e){t.body.append(e,s(i[e],!0))})}else t.body=c(i);delete t.form}if(o){var p=n.split("?"),d=(0,h.default)(p,2),y=d[0],g=d[1],m="";if(g){var b=j.default.parse(g);(0,v.default)(o).forEach(function(t){return delete b[t]}),m=j.default.stringify(b,{encode:!0})}var w=function(){for(var t=arguments.length,e=Array(t),r=0;r<t;r++)e[r]=arguments[r];var n=e.filter(function(t){return t}).join("&");return n?"?"+n:""}(m,c(o));t.url=y+w,delete t.query}return t}function l(t,e,r){return r=r||function(t){return t},e=e||function(t){return t},function(n){return"string"==typeof n&&(n={url:n}),k.mergeInQueryOrForm(n),n=e(n),r(t(n))}}Object.defineProperty(e,"__esModule",{value:!0}),e.shouldDownloadAsText=e.self=void 0;var p=r(251),h=n(p),d=r(11),v=n(d),y=r(62),g=n(y),m=r(40),b=n(m),w=r(18),x=n(w),_=r(101),A=n(_);e.serializeRes=i,e.serializeHeaders=a,e.isFile=u,e.encodeFormOrQuery=c,e.mergeInQueryOrForm=f,e.makeHttp=l,r(288);var O=r(289),j=n(O),E=r(148),P=n(E),C=r(315),S=n(C),k=e.self={serializeRes:i,mergeInQueryOrForm:f};e.default=function(){function t(t){return e.apply(this,arguments)}var e=(0,A.default)(b.default.mark(function t(e){var r,n,o,i,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return b.default.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if("object"===(void 0===e?"undefined":(0,x.default)(e))&&(a=e,e=a.url),a.headers=a.headers||{},k.mergeInQueryOrForm(a),!a.requestInterceptor){t.next=10;break}return t.next=6,a.requestInterceptor(a);case 6:if(t.t0=t.sent,t.t0){t.next=9;break}t.t0=a;case 9:a=t.t0;case 10:return r=a.headers["content-type"]||a.headers["Content-Type"],/multipart\/form-data/i.test(r)&&(delete a.headers["content-type"],delete a.headers["Content-Type"]),n=void 0,t.prev=13,t.next=16,(a.userFetch||fetch)(a.url,a);case 16:return n=t.sent,t.next=19,k.serializeRes(n,e,a);case 19:if(n=t.sent,!a.responseInterceptor){t.next=27;break}return t.next=23,a.responseInterceptor(n);case 23:if(t.t1=t.sent,t.t1){t.next=26;break}t.t1=n;case 26:n=t.t1;case 27:t.next=37;break;case 29:if(t.prev=29,t.t2=t.catch(13),n){t.next=33;break}throw t.t2;case 33:throw o=new Error(n.statusText),o.statusCode=o.status=n.status,o.responseError=t.t2,o;case 37:if(n.ok){t.next=42;break}throw i=new Error(n.statusText),i.statusCode=i.status=n.status,i.response=n,i;case 42:return t.abrupt("return",n);case 43:case"end":return t.stop()}},t,this,[[13,29]])}));return t}();var T=e.shouldDownloadAsText=function(){return/(json|xml|yaml|text)\b/.test(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"")}},function(t,e,r){t.exports={default:r(267),__esModule:!0}},function(t,e,r){var n=r(47)("meta"),o=r(5),i=r(17),a=r(7).f,u=0,s=Object.isExtensible||function(){return!0},c=!r(16)(function(){return s(Object.preventExtensions({}))}),f=function(t){a(t,n,{value:{i:"O"+ ++u,w:{}}})},l=function(t,e){if(!o(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!i(t,n)){if(!s(t))return"F";if(!e)return"E";f(t)}return t[n].i},p=function(t,e){if(!i(t,n)){if(!s(t))return!0;if(!e)return!1;f(t)}return t[n].w},h=function(t){return c&&d.NEED&&s(t)&&!i(t,n)&&f(t),t},d=t.exports={KEY:n,NEED:!1,fastKey:l,getWeak:p,onFreeze:h}},function(t,e,r){var n=r(19),o=r(139),i=r(140),a=r(8),u=r(46),s=r(97),c={},f={},e=t.exports=function(t,e,r,l,p){var h,d,v,y,g=p?function(){return t}:s(t),m=n(r,l,e?2:1),b=0;if("function"!=typeof g)throw TypeError(t+" is not iterable!");if(i(g)){for(h=u(t.length);h>b;b++)if((y=e?m(a(d=t[b])[0],d[1]):m(t[b]))===c||y===f)return y}else for(v=g.call(t);!(d=v.next()).done;)if((y=o(v,m,d.value,e))===c||y===f)return y};e.BREAK=c,e.RETURN=f},function(t,e,r){"use strict";var n=r(27);t.exports=n.DEFAULT=new n({include:[r(42)],explicit:[r(311),r(312),r(313)]})},function(t,e,r){function n(t,e,r){var n=null==t?void 0:o(t,e);return void 0===n?r:n}var o=r(107);t.exports=n},function(t,e,r){function n(t,e){return o(t)?t:i(t,e)?[t]:a(u(t))}var o=r(6),i=r(108),a=r(339),u=r(134);t.exports=n},function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}function o(t,e,r){if(r=r||{},e=(0,Y.default)({},e,{path:e.path&&i(e.path)}),"merge"===e.op){var n=R(t,e.path);(0,Y.default)(n,e.value),H.default.applyPatch(t,[u(e.path,n)])}else if("mergeDeep"===e.op){var o=R(t,e.path);for(var a in e.value){var s=e.value[a],c=Array.isArray(s);if(c){var f=o[a]||[];o[a]=f.concat(s)}else if(A(s)&&!c){var l=(0,Y.default)({},o[a]);for(var p in s){if(Object.prototype.hasOwnProperty.call(l,p)){l=(0,W.default)((0,Q.default)({},l),s);break}(0,Y.default)(l,(0,q.default)({},p,s[p]))}o[a]=l}else o[a]=s}}else if("add"===e.op&&""===e.path&&A(e.value)){var h=(0,U.default)(e.value).reduce(function(t,r){return t.push({op:"add",path:"/"+i(r),value:e.value[r]}),t},[]);H.default.applyPatch(t,h)}else if("replace"===e.op&&""===e.path){var d=e.value;r.allowMetaPatches&&e.meta&&k(e)&&(Array.isArray(e.value)||A(e.value))&&(d=(0,Y.default)({},d,e.meta)),t=d}else if(H.default.applyPatch(t,[e]),r.allowMetaPatches&&e.meta&&k(e)&&(Array.isArray(e.value)||A(e.value))){var v=R(t,e.path),y=(0,Y.default)({},v,e.meta);H.default.applyPatch(t,[u(e.path,y)])}return t}function i(t){return Array.isArray(t)?t.length<1?"":"/"+t.map(function(t){return(t+"").replace(/~/g,"~0").replace(/\//g,"~1")}).join("/"):t}function a(t,e){return{op:"add",path:t,value:e}}function u(t,e,r){return{op:"replace",path:t,value:e,meta:r}}function s(t,e){return{op:"remove",path:t}}function c(t,e){return{type:"mutation",op:"merge",path:t,value:e}}function f(t,e){return{type:"mutation",op:"mergeDeep",path:t,value:e}}function l(t,e){return{type:"context",path:t,value:e}}function p(t,e){try{return d(t,y,e)}catch(t){return t}}function h(t,e){try{return d(t,v,e)}catch(t){return t}}function d(t,e,r){return _(x(t.filter(k).map(function(t){return e(t.value,r,t.path)})||[]))}function v(t,e,r){return r=r||[],Array.isArray(t)?t.map(function(t,n){return v(t,e,r.concat(n))}):A(t)?(0,U.default)(t).map(function(n){return v(t[n],e,r.concat(n))}):e(t,r[r.length-1],r)}function y(t,e,r){r=r||[];var n=[];if(r.length>0){var o=e(t,r[r.length-1],r);o&&(n=n.concat(o))}if(Array.isArray(t)){var i=t.map(function(t,n){return y(t,e,r.concat(n))});i&&(n=n.concat(i))}else if(A(t)){var a=(0,U.default)(t).map(function(n){return y(t[n],e,r.concat(n))});a&&(n=n.concat(a))}return n=x(n)}function g(t,e){if(!Array.isArray(e))return!1;for(var r=0,n=e.length;r<n;r++)if(e[r]!==t[r])return!1;return!0}function m(t,e){return e.reduce(function(t,e){return void 0!==e&&t?t[e]:t},t)}function b(t){return _(x(w(t)))}function w(t){return Array.isArray(t)?t:[t]}function x(t){var e;return(e=[]).concat.apply(e,(0,L.default)(t.map(function(t){return Array.isArray(t)?x(t):t})))}function _(t){return t.filter(function(t){return void 0!==t})}function A(t){return t&&"object"===(void 0===t?"undefined":(0,N.default)(t))}function O(t){return A(t)&&j(t.then)}function j(t){return t&&"function"==typeof t}function E(t){return t instanceof Error}function P(t){if(I(t)){var e=t.op;return"add"===e||"remove"===e||"replace"===e}return!1}function C(t){return J.default.isGeneratorFunction(t)}function S(t){return P(t)||I(t)&&"mutation"===t.type}function k(t){return S(t)&&("add"===t.op||"replace"===t.op||"merge"===t.op||"mergeDeep"===t.op)}function T(t){return I(t)&&"context"===t.type}function I(t){return t&&"object"===(void 0===t?"undefined":(0,N.default)(t))}function R(t,e){try{return H.default.getValueByPointer(t,e)}catch(t){return console.error(t),{}}}Object.defineProperty(e,"__esModule",{value:!0});var M=r(18),N=n(M),F=r(349),L=n(F),D=r(11),U=n(D),B=r(354),q=n(B),z=r(14),Y=n(z),$=r(355),H=n($),V=r(40),J=n(V),G=r(358),W=n(G),K=r(359),Q=n(K);e.default={add:a,replace:u,remove:s,merge:c,mergeDeep:f,context:l,getIn:m,applyPatch:o,parentPathMatch:g,flatten:x,fullyNormalizeArray:b,normalizeArray:w,isPromise:O,forEachNew:p,forEachNewPrimitive:h,isJsonPatch:P,isContextPatch:T,isPatch:I,isMutation:S,isAdditiveMutation:k,isGenerator:C,isFunction:j,isObject:A,isError:E},t.exports=e.default},function(t,e,r){var n=r(5),o=r(2).document,i=n(o)&&n(o.createElement);t.exports=function(t){return i?o.createElement(t):{}}},function(t,e,r){var n=r(5);t.exports=function(t,e){if(!n(t))return t;var r,o;if(e&&"function"==typeof(r=t.toString)&&!n(o=r.call(t)))return o;if("function"==typeof(r=t.valueOf)&&!n(o=r.call(t)))return o;if(!e&&"function"==typeof(r=t.toString)&&!n(o=r.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},function(t,e,r){var n=r(32);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==n(t)?t.split(""):Object(t)}},function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},function(t,e){var r=Math.ceil,n=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?n:r)(t)}},function(t,e,r){var n=r(75)("keys"),o=r(47);t.exports=function(t){return n[t]||(n[t]=o(t))}},function(t,e,r){var n=r(0),o=r(2),i=o["__core-js_shared__"]||(o["__core-js_shared__"]={});(t.exports=function(t,e){return i[t]||(i[t]=void 0!==e?e:{})})("versions",[]).push({version:n.version,mode:r(33)?"pure":"global",copyright:"© 2018 Denis Pushkarev (zloirock.ru)"})},function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(t,e){e.f=Object.getOwnPropertySymbols},function(t,e,r){function n(t){var e=this.__data__=new o(t);this.size=e.size}var o=r(49),i=r(179),a=r(180),u=r(181),s=r(182),c=r(183);n.prototype.clear=i,n.prototype.delete=a,n.prototype.get=u,n.prototype.has=s,n.prototype.set=c,t.exports=n},function(t,e,r){var n=r(20),o=r(9),i=n(o,"Map");t.exports=i},function(t,e){var r;r=function(){return this}();try{r=r||Function("return this")()||(0,eval)("this")}catch(t){"object"==typeof window&&(r=window)}t.exports=r},function(t,e,r){function n(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}var o=r(190),i=r(197),a=r(199),u=r(200),s=r(201);n.prototype.clear=o,n.prototype.delete=i,n.prototype.get=a,n.prototype.has=u,n.prototype.set=s,t.exports=n},function(t,e,r){var n=r(205),o=r(13),i=Object.prototype,a=i.hasOwnProperty,u=i.propertyIsEnumerable,s=n(function(){return arguments}())?n:function(t){return o(t)&&a.call(t,"callee")&&!u.call(t,"callee")};t.exports=s},function(t,e,r){(function(t){var n=r(9),o=r(206),i="object"==typeof e&&e&&!e.nodeType&&e,a=i&&"object"==typeof t&&t&&!t.nodeType&&t,u=a&&a.exports===i,s=u?n.Buffer:void 0,c=s?s.isBuffer:void 0,f=c||o;t.exports=f}).call(e,r(55)(t))},function(t,e){function r(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=n}var n=9007199254740991;t.exports=r},function(t,e){function r(t){return function(e){return t(e)}}t.exports=r},function(t,e,r){(function(t){var n=r(116),o="object"==typeof e&&e&&!e.nodeType&&e,i=o&&"object"==typeof t&&t&&!t.nodeType&&t,a=i&&i.exports===o,u=a&&n.process,s=function(){try{var t=i&&i.require&&i.require("util").types;return t||u&&u.binding&&u.binding("util")}catch(t){}}();t.exports=s}).call(e,r(55)(t))},function(t,e,r){var n=r(216),o=r(124),i=Object.prototype,a=i.propertyIsEnumerable,u=Object.getOwnPropertySymbols,s=u?function(t){return null==t?[]:(t=Object(t),n(u(t),function(e){return a.call(t,e)}))}:o;t.exports=s},function(t,e){function r(t,e){for(var r=-1,n=e.length,o=t.length;++r<n;)t[o+r]=e[r];return t}t.exports=r},function(t,e,r){var n=r(122),o=n(Object.getPrototypeOf,Object);t.exports=o},function(t,e,r){function n(t){var e=new t.constructor(t.byteLength);return new o(e).set(new o(t)),e}var o=r(128);t.exports=n},function(t,e){function r(t){return t}t.exports=r},function(t,e,r){"use strict";function n(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}function o(t,e,r){if(t&&c.isObject(t)&&t instanceof n)return t;var o=new n;return o.parse(t,e,r),o}function i(t){return c.isString(t)&&(t=o(t)),t instanceof n?t.format():n.prototype.format.call(t)}function a(t,e){return o(t,!1,!0).resolve(e)}function u(t,e){return t?o(t,!1,!0).resolveObject(e):e}var s=r(246),c=r(247);e.parse=o,e.resolve=a,e.resolveObject=u,e.format=i,e.Url=n;var f=/^([a-z0-9.+-]+:)/i,l=/:[0-9]*$/,p=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,h=["<",">",'"',"`"," ","\r","\n","\t"],d=["{","}","|","\\","^","`"].concat(h),v=["'"].concat(d),y=["%","/","?",";","#"].concat(v),g=["/","?","#"],m=/^[+a-z0-9A-Z_-]{0,63}$/,b=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,w={javascript:!0,"javascript:":!0},x={javascript:!0,"javascript:":!0},_={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},A=r(248);n.prototype.parse=function(t,e,r){if(!c.isString(t))throw new TypeError("Parameter 'url' must be a string, not "+typeof t);var n=t.indexOf("?"),o=-1!==n&&n<t.indexOf("#")?"?":"#",i=t.split(o),a=/\\/g;i[0]=i[0].replace(a,"/"),t=i.join(o);var u=t;if(u=u.trim(),!r&&1===t.split("#").length){var l=p.exec(u);if(l)return this.path=u,this.href=u,this.pathname=l[1],l[2]?(this.search=l[2],this.query=e?A.parse(this.search.substr(1)):this.search.substr(1)):e&&(this.search="",this.query={}),this}var h=f.exec(u);if(h){h=h[0];var d=h.toLowerCase();this.protocol=d,u=u.substr(h.length)}if(r||h||u.match(/^\/\/[^@\/]+@[^@\/]+/)){var O="//"===u.substr(0,2);!O||h&&x[h]||(u=u.substr(2),this.slashes=!0)}if(!x[h]&&(O||h&&!_[h])){for(var j=-1,E=0;E<g.length;E++){var P=u.indexOf(g[E]);-1!==P&&(-1===j||P<j)&&(j=P)}var C,S;S=-1===j?u.lastIndexOf("@"):u.lastIndexOf("@",j),-1!==S&&(C=u.slice(0,S),u=u.slice(S+1),this.auth=decodeURIComponent(C)),j=-1;for(var E=0;E<y.length;E++){var P=u.indexOf(y[E]);-1!==P&&(-1===j||P<j)&&(j=P)}-1===j&&(j=u.length),this.host=u.slice(0,j),u=u.slice(j),this.parseHost(),this.hostname=this.hostname||"";var k="["===this.hostname[0]&&"]"===this.hostname[this.hostname.length-1];if(!k)for(var T=this.hostname.split(/\./),E=0,I=T.length;E<I;E++){var R=T[E];if(R&&!R.match(m)){for(var M="",N=0,F=R.length;N<F;N++)R.charCodeAt(N)>127?M+="x":M+=R[N];if(!M.match(m)){var L=T.slice(0,E),D=T.slice(E+1),U=R.match(b);U&&(L.push(U[1]),D.unshift(U[2])),D.length&&(u="/"+D.join(".")+u),this.hostname=L.join(".");break}}}this.hostname.length>255?this.hostname="":this.hostname=this.hostname.toLowerCase(),k||(this.hostname=s.toASCII(this.hostname));var B=this.port?":"+this.port:"",q=this.hostname||"";this.host=q+B,this.href+=this.host,k&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),"/"!==u[0]&&(u="/"+u))}if(!w[d])for(var E=0,I=v.length;E<I;E++){var z=v[E];if(-1!==u.indexOf(z)){var Y=encodeURIComponent(z);Y===z&&(Y=escape(z)),u=u.split(z).join(Y)}}var $=u.indexOf("#");-1!==$&&(this.hash=u.substr($),u=u.slice(0,$));var H=u.indexOf("?");if(-1!==H?(this.search=u.substr(H),this.query=u.substr(H+1),e&&(this.query=A.parse(this.query)),u=u.slice(0,H)):e&&(this.search="",this.query={}),u&&(this.pathname=u),_[d]&&this.hostname&&!this.pathname&&(this.pathname="/"),this.pathname||this.search){var B=this.pathname||"",V=this.search||"";this.path=B+V}return this.href=this.format(),this},n.prototype.format=function(){var t=this.auth||"";t&&(t=encodeURIComponent(t),t=t.replace(/%3A/i,":"),t+="@");var e=this.protocol||"",r=this.pathname||"",n=this.hash||"",o=!1,i="";this.host?o=t+this.host:this.hostname&&(o=t+(-1===this.hostname.indexOf(":")?this.hostname:"["+this.hostname+"]"),this.port&&(o+=":"+this.port)),this.query&&c.isObject(this.query)&&Object.keys(this.query).length&&(i=A.stringify(this.query));var a=this.search||i&&"?"+i||"";return e&&":"!==e.substr(-1)&&(e+=":"),this.slashes||(!e||_[e])&&!1!==o?(o="//"+(o||""),r&&"/"!==r.charAt(0)&&(r="/"+r)):o||(o=""),n&&"#"!==n.charAt(0)&&(n="#"+n),a&&"?"!==a.charAt(0)&&(a="?"+a),r=r.replace(/[?#]/g,function(t){return encodeURIComponent(t)}),a=a.replace("#","%23"),e+o+r+a+n},n.prototype.resolve=function(t){return this.resolveObject(o(t,!1,!0)).format()},n.prototype.resolveObject=function(t){if(c.isString(t)){var e=new n;e.parse(t,!1,!0),t=e}for(var r=new n,o=Object.keys(this),i=0;i<o.length;i++){var a=o[i];r[a]=this[a]}if(r.hash=t.hash,""===t.href)return r.href=r.format(),r;if(t.slashes&&!t.protocol){for(var u=Object.keys(t),s=0;s<u.length;s++){var f=u[s];"protocol"!==f&&(r[f]=t[f])}return _[r.protocol]&&r.hostname&&!r.pathname&&(r.path=r.pathname="/"),r.href=r.format(),r}if(t.protocol&&t.protocol!==r.protocol){if(!_[t.protocol]){for(var l=Object.keys(t),p=0;p<l.length;p++){var h=l[p];r[h]=t[h]}return r.href=r.format(),r}if(r.protocol=t.protocol,t.host||x[t.protocol])r.pathname=t.pathname;else{for(var d=(t.pathname||"").split("/");d.length&&!(t.host=d.shift()););t.host||(t.host=""),t.hostname||(t.hostname=""),""!==d[0]&&d.unshift(""),d.length<2&&d.unshift(""),r.pathname=d.join("/")}if(r.search=t.search,r.query=t.query,r.host=t.host||"",r.auth=t.auth,r.hostname=t.hostname||t.host,r.port=t.port,r.pathname||r.search){var v=r.pathname||"",y=r.search||"";r.path=v+y}return r.slashes=r.slashes||t.slashes,r.href=r.format(),r}var g=r.pathname&&"/"===r.pathname.charAt(0),m=t.host||t.pathname&&"/"===t.pathname.charAt(0),b=m||g||r.host&&t.pathname,w=b,A=r.pathname&&r.pathname.split("/")||[],d=t.pathname&&t.pathname.split("/")||[],O=r.protocol&&!_[r.protocol];if(O&&(r.hostname="",r.port=null,r.host&&(""===A[0]?A[0]=r.host:A.unshift(r.host)),r.host="",t.protocol&&(t.hostname=null,t.port=null,t.host&&(""===d[0]?d[0]=t.host:d.unshift(t.host)),t.host=null),b=b&&(""===d[0]||""===A[0])),m)r.host=t.host||""===t.host?t.host:r.host,r.hostname=t.hostname||""===t.hostname?t.hostname:r.hostname,r.search=t.search,r.query=t.query,A=d;else if(d.length)A||(A=[]),A.pop(),A=A.concat(d),r.search=t.search,r.query=t.query;else if(!c.isNullOrUndefined(t.search)){if(O){r.hostname=r.host=A.shift();var j=!!(r.host&&r.host.indexOf("@")>0)&&r.host.split("@");j&&(r.auth=j.shift(),r.host=r.hostname=j.shift())}return r.search=t.search,r.query=t.query,c.isNull(r.pathname)&&c.isNull(r.search)||(r.path=(r.pathname?r.pathname:"")+(r.search?r.search:"")),r.href=r.format(),r}if(!A.length)return r.pathname=null,r.search?r.path="/"+r.search:r.path=null,r.href=r.format(),r;for(var E=A.slice(-1)[0],P=(r.host||t.host||A.length>1)&&("."===E||".."===E)||""===E,C=0,S=A.length;S>=0;S--)E=A[S],"."===E?A.splice(S,1):".."===E?(A.splice(S,1),C++):C&&(A.splice(S,1),C--);if(!b&&!w)for(;C--;C)A.unshift("..");!b||""===A[0]||A[0]&&"/"===A[0].charAt(0)||A.unshift(""),P&&"/"!==A.join("/").substr(-1)&&A.push("");var k=""===A[0]||A[0]&&"/"===A[0].charAt(0);if(O){r.hostname=r.host=k?"":A.length?A.shift():"";var j=!!(r.host&&r.host.indexOf("@")>0)&&r.host.split("@");j&&(r.auth=j.shift(),r.host=r.hostname=j.shift())}return b=b||r.host&&A.length,b&&!k&&A.unshift(""),A.length?r.pathname=A.join("/"):(r.pathname=null,r.path=null),c.isNull(r.pathname)&&c.isNull(r.search)||(r.path=(r.pathname?r.pathname:"")+(r.search?r.search:"")),r.auth=t.auth||r.auth,r.slashes=r.slashes||t.slashes,r.href=r.format(),r},n.prototype.parseHost=function(){var t=this.host,e=l.exec(t);e&&(e=e[0],":"!==e&&(this.port=e.substr(1)),t=t.substr(0,t.length-e.length)),t&&(this.hostname=t)}},function(t,e,r){t.exports=r(15)},function(t,e,r){var n=r(8),o=r(258),i=r(76),a=r(74)("IE_PROTO"),u=function(){},s=function(){var t,e=r(69)("iframe"),n=i.length;for(e.style.display="none",r(136).appendChild(e),e.src="javascript:",t=e.contentWindow.document,t.open(),t.write("<script>document.F=Object<\/script>"),t.close(),s=t.F;n--;)delete s.prototype[i[n]];return s()};t.exports=Object.create||function(t,e){var r;return null!==t?(u.prototype=n(t),r=new u,u.prototype=null,r[a]=t):r=s(),void 0===e?r:o(r,e)}},function(t,e,r){var n=r(32),o=r(3)("toStringTag"),i="Arguments"==n(function(){return arguments}()),a=function(t,e){try{return t[e]}catch(t){}};t.exports=function(t){var e,r,u;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(r=a(e=Object(t),o))?r:i?n(e):"Object"==(u=n(e))&&"function"==typeof e.callee?"Arguments":u}},function(t,e,r){t.exports={default:r(262),__esModule:!0}},function(t,e,r){var n=r(95),o=r(3)("iterator"),i=r(25);t.exports=r(0).getIteratorMethod=function(t){if(void 0!=t)return t[o]||t["@@iterator"]||i[n(t)]}},function(t,e,r){e.f=r(3)},function(t,e,r){var n=r(2),o=r(0),i=r(33),a=r(98),u=r(7).f;t.exports=function(t){var e=o.Symbol||(o.Symbol=i?{}:n.Symbol||{});"_"==t.charAt(0)||t in e||u(e,t,{value:a.f(t)})}},function(t,e){},function(t,e,r){"use strict";e.__esModule=!0;var n=r(102),o=function(t){return t&&t.__esModule?t:{default:t}}(n);e.default=function(t){return function(){var e=t.apply(this,arguments);return new o.default(function(t,r){function n(i,a){try{var u=e[i](a),s=u.value}catch(t){return void r(t)}if(!u.done)return o.default.resolve(s).then(function(t){n("next",t)},function(t){n("throw",t)});t(s)}return n("next")})}}},function(t,e,r){t.exports={default:r(280),__esModule:!0}},function(t,e){t.exports=function(t,e,r,n){if(!(t instanceof e)||void 0!==n&&n in t)throw TypeError(r+": incorrect invocation!");return t}},function(t,e,r){"use strict";function n(t){var e,r;this.promise=new t(function(t,n){if(void 0!==e||void 0!==r)throw TypeError("Bad Promise constructor");e=t,r=n}),this.resolve=o(e),this.reject=o(r)}var o=r(29);t.exports.f=function(t){return new n(t)}},function(t,e,r){var n=r(15);t.exports=function(t,e,r){for(var o in e)r&&t[o]?t[o]=e[o]:n(t,o,e[o]);return t}},function(t,e,r){"use strict";var n=r(27);t.exports=new n({explicit:[r(295),r(296),r(297)]})},function(t,e,r){function n(t,e){e=o(e,t);for(var r=0,n=e.length;null!=t&&r<n;)t=t[i(e[r++])];return r&&r==n?t:void 0}var o=r(67),i=r(44);t.exports=n},function(t,e,r){function n(t,e){if(o(t))return!1;var r=typeof t;return!("number"!=r&&"symbol"!=r&&"boolean"!=r&&null!=t&&!i(t))||(u.test(t)||!a.test(t)||null!=e&&t in Object(e))}var o=r(6),i=r(60),a=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,u=/^\w*$/;t.exports=n},function(t,e){function r(t,e){return p.call(t,e)}function n(t){if(Array.isArray(t)){for(var e=new Array(t.length),n=0;n<e.length;n++)e[n]=""+n;return e}if(Object.keys)return Object.keys(t);var e=[];for(var o in t)r(t,o)&&e.push(o);return e}function o(t){switch(typeof t){case"object":return JSON.parse(JSON.stringify(t));case"undefined":return null;default:return t}}function i(t){for(var e,r=0,n=t.length;r<n;){e=t.charCodeAt(r);{if(!(e>=48&&e<=57))return!1;r++}}return!0}function a(t){return-1===t.indexOf("/")&&-1===t.indexOf("~")?t:t.replace(/~/g,"~0").replace(/\//g,"~1")}function u(t){return t.replace(/~1/g,"/").replace(/~0/g,"~")}function s(t,e){var n;for(var o in t)if(r(t,o)){if(t[o]===e)return a(o)+"/";if("object"==typeof t[o]&&""!=(n=s(t[o],e)))return a(o)+"/"+n}return""}function c(t,e){if(t===e)return"/";var r=s(t,e);if(""===r)throw new Error("Object not found in root");return"/"+r}function f(t){if(void 0===t)return!0;if(t)if(Array.isArray(t)){for(var e=0,r=t.length;e<r;e++)if(f(t[e]))return!0}else if("object"==typeof t)for(var o=n(t),i=o.length,e=0;e<i;e++)if(f(t[o[e]]))return!0;return!1}var l=this&&this.__extends||function(t,e){function r(){this.constructor=t}for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)},p=Object.prototype.hasOwnProperty;e.hasOwnProperty=r,e._objectKeys=n,e._deepClone=o,e.isInteger=i,e.escapePathComponent=a,e.unescapePathComponent=u,e._getPathRecursive=s,e.getPath=c,e.hasUndefined=f;var h=function(t){function e(e,r,n,o,i){t.call(this,e),this.message=e,this.name=r,this.index=n,this.operation=o,this.tree=i}return l(e,t),e}(Error);e.PatchError=h},function(t,e,r){var n=r(19),o=r(71),i=r(34),a=r(46),u=r(364);t.exports=function(t,e){var r=1==t,s=2==t,c=3==t,f=4==t,l=6==t,p=5==t||l,h=e||u;return function(e,u,d){for(var v,y,g=i(e),m=o(g),b=n(u,d,3),w=a(m.length),x=0,_=r?h(e,w):s?h(e,0):void 0;w>x;x++)if((p||x in m)&&(v=m[x],y=b(v,x,g),t))if(r)_[x]=y;else if(y)switch(t){case 3:return!0;case 5:return v;case 6:return x;case 2:_.push(v)}else if(f)return!1;return l?-1:c||f?f:_}}},function(t,e,r){(function(e){!function(){"use strict";function r(t){var r;return r=t instanceof e?t:new e(t.toString(),"binary"),r.toString("base64")}t.exports=r}()}).call(e,r(43).Buffer)},function(t,e,r){t.exports=!r(12)&&!r(16)(function(){return 7!=Object.defineProperty(r(69)("div"),"a",{get:function(){return 7}}).a})},function(t,e,r){"use strict";var n=r(31),o=r(77),i=r(48),a=r(34),u=r(71),s=Object.assign;t.exports=!s||r(16)(function(){var t={},e={},r=Symbol(),n="abcdefghijklmnopqrst";return t[r]=7,n.split("").forEach(function(t){e[t]=t}),7!=s({},t)[r]||Object.keys(s({},e)).join("")!=n})?function(t,e){for(var r=a(t),s=arguments.length,c=1,f=o.f,l=i.f;s>c;)for(var p,h=u(arguments[c++]),d=f?n(h).concat(f(h)):n(h),v=d.length,y=0;v>y;)l.call(h,p=d[y++])&&(r[p]=h[p]);return r}:s},function(t,e,r){var n=r(17),o=r(22),i=r(170)(!1),a=r(74)("IE_PROTO");t.exports=function(t,e){var r,u=o(t),s=0,c=[];for(r in u)r!=a&&n(u,r)&&c.push(r);for(;e.length>s;)n(u,r=e[s++])&&(~i(c,r)||c.push(r));return c}},function(t,e,r){function n(t){if(!i(t))return!1;var e=o(t);return e==u||e==s||e==a||e==c}var o=r(21),i=r(10),a="[object AsyncFunction]",u="[object Function]",s="[object GeneratorFunction]",c="[object Proxy]";t.exports=n},function(t,e,r){(function(e){var r="object"==typeof e&&e&&e.Object===Object&&e;t.exports=r}).call(e,r(80))},function(t,e){function r(t){if(null!=t){try{return o.call(t)}catch(t){}try{return t+""}catch(t){}}return""}var n=Function.prototype,o=n.toString;t.exports=r},function(t,e,r){function n(t,e,r){"__proto__"==e&&o?o(t,e,{configurable:!0,enumerable:!0,value:r,writable:!0}):t[e]=r}var o=r(119);t.exports=n},function(t,e,r){var n=r(20),o=function(){try{var t=n(Object,"defineProperty");return t({},"",{}),t}catch(t){}}();t.exports=o},function(t,e,r){function n(t,e){var r=a(t),n=!r&&i(t),f=!r&&!n&&u(t),p=!r&&!n&&!f&&c(t),h=r||n||f||p,d=h?o(t.length,String):[],v=d.length;for(var y in t)!e&&!l.call(t,y)||h&&("length"==y||f&&("offset"==y||"parent"==y)||p&&("buffer"==y||"byteLength"==y||"byteOffset"==y)||s(y,v))||d.push(y);return d}var o=r(204),i=r(82),a=r(6),u=r(83),s=r(56),c=r(121),f=Object.prototype,l=f.hasOwnProperty;t.exports=n},function(t,e,r){var n=r(207),o=r(85),i=r(86),a=i&&i.isTypedArray,u=a?o(a):n;t.exports=u},function(t,e){function r(t,e){return function(r){return t(e(r))}}t.exports=r},function(t,e,r){function n(t){return a(t)?o(t,!0):i(t)}var o=r(120),i=r(211),a=r(36);t.exports=n},function(t,e){function r(){return[]}t.exports=r},function(t,e,r){var n=r(88),o=r(89),i=r(87),a=r(124),u=Object.getOwnPropertySymbols,s=u?function(t){for(var e=[];t;)n(e,i(t)),t=o(t);return e}:a;t.exports=s},function(t,e,r){function n(t){return o(t,a,i)}var o=r(127),i=r(87),a=r(24);t.exports=n},function(t,e,r){function n(t,e,r){var n=e(t);return i(t)?n:o(n,r(t))}var o=r(88),i=r(6);t.exports=n},function(t,e,r){var n=r(9),o=n.Uint8Array;t.exports=o},function(t,e,r){function n(t,e,r){return e=i(void 0===e?t.length-1:e,0),function(){for(var n=arguments,a=-1,u=i(n.length-e,0),s=Array(u);++a<u;)s[a]=n[e+a];a=-1;for(var c=Array(e+1);++a<e;)c[a]=n[a];return c[e]=r(s),o(t,this,c)}}var o=r(237),i=Math.max;t.exports=n},function(t,e,r){var n=r(238),o=r(240),i=o(n);t.exports=i},function(t,e,r){function n(t,e,r){return t=u(t),r=null==r?0:o(a(r),0,t.length),e=i(e),t.slice(r,r+e.length)==e}var o=r(242),i=r(132),a=r(133),u=r(134);t.exports=n},function(t,e,r){function n(t){if("string"==typeof t)return t;if(a(t))return i(t,n)+"";if(u(t))return f?f.call(t):"";var e=t+"";return"0"==e&&1/t==-s?"-0":e}var o=r(23),i=r(243),a=r(6),u=r(60),s=1/0,c=o?o.prototype:void 0,f=c?c.toString:void 0;t.exports=n},function(t,e,r){function n(t){var e=o(t),r=e%1;return e===e?r?e-r:e:0}var o=r(244);t.exports=n},function(t,e,r){function n(t){return null==t?"":o(t)}var o=r(132);t.exports=n},function(t,e,r){"use strict";var n=r(33),o=r(4),i=r(93),a=r(15),u=r(25),s=r(257),c=r(38),f=r(259),l=r(3)("iterator"),p=!([].keys&&"next"in[].keys()),h=function(){return this};t.exports=function(t,e,r,d,v,y,g){s(r,e,d);var m,b,w,x=function(t){if(!p&&t in j)return j[t];switch(t){case"keys":case"values":return function(){return new r(this,t)}}return function(){return new r(this,t)}},_=e+" Iterator",A="values"==v,O=!1,j=t.prototype,E=j[l]||j["@@iterator"]||v&&j[v],P=E||x(v),C=v?A?x("entries"):P:void 0,S="Array"==e?j.entries||E:E;if(S&&(w=f(S.call(new t)))!==Object.prototype&&w.next&&(c(w,_,!0),n||"function"==typeof w[l]||a(w,l,h)),A&&E&&"values"!==E.name&&(O=!0,P=function(){return E.call(this)}),n&&!g||!p&&!O&&j[l]||a(j,l,P),u[e]=P,u[_]=h,v)if(m={values:A?P:x("values"),keys:y?P:x("keys"),entries:C},g)for(b in m)b in j||i(j,b,m[b]);else o(o.P+o.F*(p||O),e,m);return m}},function(t,e,r){var n=r(2).document;t.exports=n&&n.documentElement},function(t,e,r){var n=r(32);t.exports=Array.isArray||function(t){return"Array"==n(t)}},function(t,e,r){var n=r(114),o=r(76).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return n(t,o)}},function(t,e,r){var n=r(8);t.exports=function(t,e,r,o){try{return o?e(n(r)[0],r[1]):e(r)}catch(e){var i=t.return;throw void 0!==i&&n(i.call(t)),e}}},function(t,e,r){var n=r(25),o=r(3)("iterator"),i=Array.prototype;t.exports=function(t){return void 0!==t&&(n.Array===t||i[o]===t)}},function(t,e,r){var n=r(8),o=r(29),i=r(3)("species");t.exports=function(t,e){var r,a=n(t).constructor;return void 0===a||void 0==(r=n(a)[i])?e:o(r)}},function(t,e,r){var n,o,i,a=r(19),u=r(282),s=r(136),c=r(69),f=r(2),l=f.process,p=f.setImmediate,h=f.clearImmediate,d=f.MessageChannel,v=f.Dispatch,y=0,g={},m=function(){var t=+this;if(g.hasOwnProperty(t)){var e=g[t];delete g[t],e()}},b=function(t){m.call(t.data)};p&&h||(p=function(t){for(var e=[],r=1;arguments.length>r;)e.push(arguments[r++]);return g[++y]=function(){u("function"==typeof t?t:Function(t),e)},n(y),y},h=function(t){delete g[t]},"process"==r(32)(l)?n=function(t){l.nextTick(a(m,t,1))}:v&&v.now?n=function(t){v.now(a(m,t,1))}:d?(o=new d,i=o.port2,o.port1.onmessage=b,n=a(i.postMessage,i,1)):f.addEventListener&&"function"==typeof postMessage&&!f.importScripts?(n=function(t){f.postMessage(t+"","*")},f.addEventListener("message",b,!1)):n="onreadystatechange"in c("script")?function(t){s.appendChild(c("script")).onreadystatechange=function(){s.removeChild(this),m.call(t)}}:function(t){setTimeout(a(m,t,1),0)}),t.exports={set:p,clear:h}},function(t,e){t.exports=function(t){try{return{e:!1,v:t()}}catch(t){return{e:!0,v:t}}}},function(t,e,r){var n=r(8),o=r(5),i=r(104);t.exports=function(t,e){if(n(t),o(e)&&e.constructor===t)return e;var r=i.f(t);return(0,r.resolve)(e),r.promise}},function(t,e,r){var n=r(3)("iterator"),o=!1;try{var i=[7][n]();i.return=function(){o=!0},Array.from(i,function(){throw 2})}catch(t){}t.exports=function(t,e){if(!e&&!o)return!1;var r=!1;try{var i=[7],a=i[n]();a.next=function(){return{done:r=!0}},i[n]=function(){return a},t(i)}catch(t){}return r}},function(t,e,r){"use strict";var n=Object.prototype.hasOwnProperty,o=function(){for(var t=[],e=0;e<256;++e)t.push("%"+((e<16?"0":"")+e.toString(16)).toUpperCase());return t}(),i=function(t){for(var e;t.length;){var r=t.pop();if(e=r.obj[r.prop],Array.isArray(e)){for(var n=[],o=0;o<e.length;++o)void 0!==e[o]&&n.push(e[o]);r.obj[r.prop]=n}}return e},a=function(t,e){for(var r=e&&e.plainObjects?Object.create(null):{},n=0;n<t.length;++n)void 0!==t[n]&&(r[n]=t[n]);return r},u=function t(e,r,o){if(!r)return e;if("object"!=typeof r){if(Array.isArray(e))e.push(r);else{if("object"!=typeof e)return[e,r];(o.plainObjects||o.allowPrototypes||!n.call(Object.prototype,r))&&(e[r]=!0)}return e}if("object"!=typeof e)return[e].concat(r);var i=e;return Array.isArray(e)&&!Array.isArray(r)&&(i=a(e,o)),Array.isArray(e)&&Array.isArray(r)?(r.forEach(function(r,i){n.call(e,i)?e[i]&&"object"==typeof e[i]?e[i]=t(e[i],r,o):e.push(r):e[i]=r}),e):Object.keys(r).reduce(function(e,i){var a=r[i];return n.call(e,i)?e[i]=t(e[i],a,o):e[i]=a,e},i)},s=function(t,e){return Object.keys(e).reduce(function(t,r){return t[r]=e[r],t},t)},c=function(t){try{return decodeURIComponent(t.replace(/\+/g," "))}catch(e){return t}},f=function(t){if(0===t.length)return t;for(var e="string"==typeof t?t:String(t),r="",n=0;n<e.length;++n){var i=e.charCodeAt(n);45===i||46===i||95===i||126===i||i>=48&&i<=57||i>=65&&i<=90||i>=97&&i<=122?r+=e.charAt(n):i<128?r+=o[i]:i<2048?r+=o[192|i>>6]+o[128|63&i]:i<55296||i>=57344?r+=o[224|i>>12]+o[128|i>>6&63]+o[128|63&i]:(n+=1,i=65536+((1023&i)<<10|1023&e.charCodeAt(n)),r+=o[240|i>>18]+o[128|i>>12&63]+o[128|i>>6&63]+o[128|63&i])}return r},l=function(t){for(var e=[{obj:{o:t},prop:"o"}],r=[],n=0;n<e.length;++n)for(var o=e[n],a=o.obj[o.prop],u=Object.keys(a),s=0;s<u.length;++s){var c=u[s],f=a[c];"object"==typeof f&&null!==f&&-1===r.indexOf(f)&&(e.push({obj:a,prop:c}),r.push(f))}return i(e)},p=function(t){return"[object RegExp]"===Object.prototype.toString.call(t)},h=function(t){return null!==t&&void 0!==t&&!!(t.constructor&&t.constructor.isBuffer&&t.constructor.isBuffer(t))};t.exports={arrayToObject:a,assign:s,compact:l,decode:c,encode:f,isBuffer:h,isRegExp:p,merge:u}},function(t,e,r){"use strict";var n=String.prototype.replace,o=/%20/g;t.exports={default:"RFC3986",formatters:{RFC1738:function(t){return n.call(t,o,"+")},RFC3986:function(t){return t}},RFC1738:"RFC1738",RFC3986:"RFC3986"}},function(t,e,r){"use strict";var n=r(292);t.exports=n},function(t,e,r){"use strict";var n=r(27);t.exports=new n({include:[r(150)]})},function(t,e,r){"use strict";var n=r(27);t.exports=new n({include:[r(106)],implicit:[r(298),r(299),r(300),r(301)]})},function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}function o(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=e.requestInterceptor,n=e.responseInterceptor,o=t.withCredentials?"include":"same-origin";return function(e){return t({url:e,loadSpec:!0,requestInterceptor:r,responseInterceptor:n,headers:{Accept:"application/json"},credentials:o}).then(function(t){return t.body})}}function i(){h.plugins.refs.clearCache()}function a(t){function e(t){var e=this;_&&(h.plugins.refs.docCache[_]=t),h.plugins.refs.fetchJSON=o(x,{requestInterceptor:m,responseInterceptor:b});var r=[h.plugins.refs];return"function"==typeof g&&r.push(h.plugins.parameters),"function"==typeof y&&r.push(h.plugins.properties),"strict"!==a&&r.push(h.plugins.allOf),(0,d.default)({spec:t,context:{baseDoc:_},plugins:r,allowMetaPatches:c,pathDiscriminator:l,parameterMacro:g,modelPropertyMacro:y}).then(w?function(){var t=(0,f.default)(s.default.mark(function t(r){return s.default.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",r);case 1:case"end":return t.stop()}},t,e)}));return function(e){return t.apply(this,arguments)}}():v.normalizeSwagger)}var r=t.fetch,n=t.spec,i=t.url,a=t.mode,u=t.allowMetaPatches,c=void 0===u||u,l=t.pathDiscriminator,y=t.modelPropertyMacro,g=t.parameterMacro,m=t.requestInterceptor,b=t.responseInterceptor,w=t.skipNormalization,x=t.http,_=t.baseDoc;return _=_||i,x=r||x||p.default,n?e(n):o(x,{requestInterceptor:m,responseInterceptor:b})(_).then(e)}Object.defineProperty(e,"__esModule",{value:!0});var u=r(40),s=n(u),c=r(101),f=n(c);e.makeFetchJSON=o,e.clearCache=i,e.default=a;var l=r(61),p=n(l),h=r(317),d=n(h),v=r(45)},function(t,e,r){"use strict";e.__esModule=!0,e.default=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}},function(t,e,r){"use strict";e.__esModule=!0;var n=r(154),o=function(t){return t&&t.__esModule?t:{default:t}}(n);e.default=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),(0,o.default)(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}()},function(t,e,r){t.exports={default:r(321),__esModule:!0}},function(t,e,r){function n(t){return"function"==typeof t?t:null==t?a:"object"==typeof t?u(t)?i(t[0],t[1]):o(t):s(t)}var o=r(325),i=r(338),a=r(91),u=r(6),s=r(344);t.exports=n},function(t,e,r){function n(t,e,r,a,u){return t===e||(null==t||null==e||!i(t)&&!i(e)?t!==t&&e!==e:o(t,e,r,a,n,u))}var o=r(327),i=r(13);t.exports=n},function(t,e,r){function n(t,e,r,n,c,f){var l=r&u,p=t.length,h=e.length;if(p!=h&&!(l&&h>p))return!1;var d=f.get(t);if(d&&f.get(e))return d==e;var v=-1,y=!0,g=r&s?new o:void 0;for(f.set(t,e),f.set(e,t);++v<p;){var m=t[v],b=e[v];if(n)var w=l?n(b,m,v,e,t,f):n(m,b,v,t,e,f);if(void 0!==w){if(w)continue;y=!1;break}if(g){if(!i(e,function(t,e){if(!a(g,e)&&(m===t||c(m,t,r,n,f)))return g.push(e)})){y=!1;break}}else if(m!==b&&!c(m,b,r,n,f)){y=!1;break}}return f.delete(t),f.delete(e),y}var o=r(328),i=r(331),a=r(332),u=1,s=2;t.exports=n},function(t,e,r){function n(t){return t===t&&!o(t)}var o=r(10);t.exports=n},function(t,e){function r(t,e){return function(r){return null!=r&&(r[t]===e&&(void 0!==e||t in Object(r)))}}t.exports=r},function(t,e,r){function n(t,e){return null!=t&&i(t,e,o)}var o=r(342),i=r(343);t.exports=n},function(t,e,r){function n(t){return null===t||void 0===t}function o(t){return!(!t||"object"!=typeof t||"number"!=typeof t.length)&&("function"==typeof t.copy&&"function"==typeof t.slice&&!(t.length>0&&"number"!=typeof t[0]))}function i(t,e,r){var i,f;if(n(t)||n(e))return!1;if(t.prototype!==e.prototype)return!1;if(s(t))return!!s(e)&&(t=a.call(t),e=a.call(e),c(t,e,r));if(o(t)){if(!o(e))return!1;if(t.length!==e.length)return!1;for(i=0;i<t.length;i++)if(t[i]!==e[i])return!1;return!0}try{var l=u(t),p=u(e)}catch(t){return!1}if(l.length!=p.length)return!1;for(l.sort(),p.sort(),i=l.length-1;i>=0;i--)if(l[i]!=p[i])return!1;for(i=l.length-1;i>=0;i--)if(f=l[i],!c(t[f],e[f],r))return!1;return typeof t==typeof e}var a=Array.prototype.slice,u=r(356),s=r(357),c=t.exports=function(t,e,r){return r||(r={}),t===e||(t instanceof Date&&e instanceof Date?t.getTime()===e.getTime():!t||!e||"object"!=typeof t&&"object"!=typeof e?r.strict?t===e:t==e:i(t,e,r))}},function(t,e,r){function n(t,e){if(""==e)return t;var r={op:"_get",path:e};return o(t,r),r.value}function o(t,r,o,i){if(void 0===o&&(o=!1),void 0===i&&(i=!0),o&&("function"==typeof o?o(r,0,t,r.path):u(r,0)),""===r.path){var a={newDocument:t};if("add"===r.op)return a.newDocument=r.value,a;if("replace"===r.op)return a.newDocument=r.value,a.removed=t,a;if("move"===r.op||"copy"===r.op)return a.newDocument=n(t,r.from),"move"===r.op&&(a.removed=t),a;if("test"===r.op){if(a.test=l(t,r.value),!1===a.test)throw new e.JsonPatchError("Test operation failed","TEST_OPERATION_FAILED",0,r,t);return a.newDocument=t,a}if("remove"===r.op)return a.removed=t,a.newDocument=null,a;if("_get"===r.op)return r.value=t,a;if(o)throw new e.JsonPatchError("Operation `op` property is not one of operations defined in RFC-6902","OPERATION_OP_INVALID",0,r,t);return a}i||(t=p._deepClone(t));var s=r.path||"",c=s.split("/"),f=t,v=1,y=c.length,g=void 0,m=void 0,b=void 0;for(b="function"==typeof o?o:u;;){if(m=c[v],o&&void 0===g&&(void 0===f[m]?g=c.slice(0,v).join("/"):v==y-1&&(g=r.path),void 0!==g&&b(r,0,t,g)),v++,Array.isArray(f)){if("-"===m)m=f.length;else{if(o&&!p.isInteger(m))throw new e.JsonPatchError("Expected an unsigned base-10 integer value, making the new referenced value the array element with the zero-based index","OPERATION_PATH_ILLEGAL_ARRAY_INDEX",0,r.path,r);p.isInteger(m)&&(m=~~m)}if(v>=y){if(o&&"add"===r.op&&m>f.length)throw new e.JsonPatchError("The specified index MUST NOT be greater than the number of elements in the array","OPERATION_VALUE_OUT_OF_BOUNDS",0,r.path,r);var a=d[r.op].call(r,f,m,t);if(!1===a.test)throw new e.JsonPatchError("Test operation failed","TEST_OPERATION_FAILED",0,r,t);return a}}else if(m&&-1!=m.indexOf("~")&&(m=p.unescapePathComponent(m)),v>=y){var a=h[r.op].call(r,f,m,t);if(!1===a.test)throw new e.JsonPatchError("Test operation failed","TEST_OPERATION_FAILED",0,r,t);return a}f=f[m]}}function i(t,r,n,i){if(void 0===i&&(i=!0),n&&!Array.isArray(r))throw new e.JsonPatchError("Patch sequence must be an array","SEQUENCE_NOT_AN_ARRAY");i||(t=p._deepClone(t));for(var a=new Array(r.length),u=0,s=r.length;u<s;u++)a[u]=o(t,r[u],n),t=a[u].newDocument;return a.newDocument=t,a}function a(t,r){var n=o(t,r);if(!1===n.test)throw new e.JsonPatchError("Test operation failed","TEST_OPERATION_FAILED",0,r,t);return n.newDocument}function u(t,r,n,o){if("object"!=typeof t||null===t||Array.isArray(t))throw new e.JsonPatchError("Operation is not an object","OPERATION_NOT_AN_OBJECT",r,t,n);if(!h[t.op])throw new e.JsonPatchError("Operation `op` property is not one of operations defined in RFC-6902","OPERATION_OP_INVALID",r,t,n);if("string"!=typeof t.path)throw new e.JsonPatchError("Operation `path` property is not a string","OPERATION_PATH_INVALID",r,t,n);if(0!==t.path.indexOf("/")&&t.path.length>0)throw new e.JsonPatchError('Operation `path` property must start with "/"',"OPERATION_PATH_INVALID",r,t,n);if(("move"===t.op||"copy"===t.op)&&"string"!=typeof t.from)throw new e.JsonPatchError("Operation `from` property is not present (applicable in `move` and `copy` operations)","OPERATION_FROM_REQUIRED",r,t,n);if(("add"===t.op||"replace"===t.op||"test"===t.op)&&void 0===t.value)throw new e.JsonPatchError("Operation `value` property is not present (applicable in `add`, `replace` and `test` operations)","OPERATION_VALUE_REQUIRED",r,t,n);if(("add"===t.op||"replace"===t.op||"test"===t.op)&&p.hasUndefined(t.value))throw new e.JsonPatchError("Operation `value` property is not present (applicable in `add`, `replace` and `test` operations)","OPERATION_VALUE_CANNOT_CONTAIN_UNDEFINED",r,t,n);if(n)if("add"==t.op){var i=t.path.split("/").length,a=o.split("/").length;if(i!==a+1&&i!==a)throw new e.JsonPatchError("Cannot perform an `add` operation at the desired path","OPERATION_PATH_CANNOT_ADD",r,t,n)}else if("replace"===t.op||"remove"===t.op||"_get"===t.op){if(t.path!==o)throw new e.JsonPatchError("Cannot perform the operation at a path that does not exist","OPERATION_PATH_UNRESOLVABLE",r,t,n)}else if("move"===t.op||"copy"===t.op){var u={op:"_get",path:t.from,value:void 0},c=s([u],n);if(c&&"OPERATION_PATH_UNRESOLVABLE"===c.name)throw new e.JsonPatchError("Cannot perform the operation from a path that does not exist","OPERATION_FROM_UNRESOLVABLE",r,t,n)}}function s(t,r,n){try{if(!Array.isArray(t))throw new e.JsonPatchError("Patch sequence must be an array","SEQUENCE_NOT_AN_ARRAY");if(r)i(p._deepClone(r),p._deepClone(t),n||!0);else{n=n||u;for(var o=0;o<t.length;o++)n(t[o],o,r,void 0)}}catch(t){if(t instanceof e.JsonPatchError)return t;throw t}}var c={strict:!0},f=r(161),l=function(t,e){return f(t,e,c)},p=r(109);e.JsonPatchError=p.PatchError,e.deepClone=p._deepClone;var h={add:function(t,e,r){return t[e]=this.value,{newDocument:r}},remove:function(t,e,r){var n=t[e];return delete t[e],{newDocument:r,removed:n}},replace:function(t,e,r){var n=t[e];return t[e]=this.value,{newDocument:r,removed:n}},move:function(t,e,r){var i=n(r,this.path);i&&(i=p._deepClone(i));var a=o(r,{op:"remove",path:this.from}).removed;return o(r,{op:"add",path:this.path,value:a}),{newDocument:r,removed:i}},copy:function(t,e,r){var i=n(r,this.from);return o(r,{op:"add",path:this.path,value:p._deepClone(i)}),{newDocument:r}},test:function(t,e,r){return{newDocument:r,test:l(t[e],this.value)}},_get:function(t,e,r){return this.value=t[e],{newDocument:r}}},d={add:function(t,e,r){return p.isInteger(e)?t.splice(e,0,this.value):t[e]=this.value,{newDocument:r,index:e}},remove:function(t,e,r){return{newDocument:r,removed:t.splice(e,1)[0]}},replace:function(t,e,r){var n=t[e];return t[e]=this.value,{newDocument:r,removed:n}},move:h.move,copy:h.copy,test:h.test,_get:h._get};e.getValueByPointer=n,e.applyOperation=o,e.applyPatch=i,e.applyReducer=a,e.validator=u,e.validate=s},function(t,e,r){var n=r(5);t.exports=function(t,e){if(!n(t)||t._t!==e)throw TypeError("Incompatible receiver, "+e+" required!");return t}},function(t,e,r){"use strict";function n(t,e){function r(){Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=(new Error).stack;for(var t=arguments.length,r=Array(t),n=0;n<t;n++)r[n]=arguments[n];this.message=r[0],e&&e.apply(this,r)}return r.prototype=new Error,r.prototype.name=t,r.prototype.constructor=r,r}Object.defineProperty(e,"__esModule",{value:!0}),e.default=n,t.exports=e.default},function(t,e,r){"use strict";function n(t){var e=t[t.length-1],r=t[t.length-2],n=t.join("/");return o.indexOf(e)>-1&&-1===i.indexOf(r)||a.indexOf(n)>-1||u.some(function(t){return n.indexOf(t)>-1})}Object.defineProperty(e,"__esModule",{value:!0}),e.isFreelyNamed=n;var o=["properties"],i=["properties"],a=["definitions","parameters","responses","securityDefinitions","components/schemas","components/responses","components/parameters","components/securitySchemes"],u=["schema/example"]},function(t,e,r){t.exports=r(167)},function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}function o(t){var e=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if("string"==typeof t?r.url=t:r=t,!(this instanceof o))return new o(r);(0,c.default)(this,r);var n=this.resolve().then(function(){return e.disableInterfaces||(0,c.default)(e,o.makeApisTagOperation(e)),e});return n.client=this,n}Object.defineProperty(e,"__esModule",{value:!0});var i=r(28),a=n(i),u=r(172),s=(n(u),r(59)),c=n(s),f=r(131),l=n(f),p=r(92),h=n(p),d=r(61),v=n(d),y=r(151),g=n(y),m=r(378),b=n(m),w=r(379),x=r(388),_=r(45);o.http=v.default,o.makeHttp=d.makeHttp.bind(null,o.http),o.resolve=g.default,o.resolveSubtree=b.default,o.execute=x.execute,o.serializeRes=d.serializeRes,o.serializeHeaders=d.serializeHeaders,o.clearCache=y.clearCache,o.parameterBuilders=x.PARAMETER_BUILDERS,o.makeApisTagOperation=w.makeApisTagOperation,o.buildRequest=x.buildRequest,o.helpers={opId:_.opId},o.prototype={http:v.default,execute:function(t){return this.applyDefaults(),o.execute((0,a.default)({spec:this.spec,http:this.http,securities:{authorized:this.authorizations},contextUrl:"string"==typeof this.url?this.url:void 0},t))},resolve:function(){var t=this;return o.resolve({spec:this.spec,url:this.url,allowMetaPatches:this.allowMetaPatches,requestInterceptor:this.requestInterceptor||null,responseInterceptor:this.responseInterceptor||null}).then(function(e){return t.originalSpec=t.spec,t.spec=e.spec,t.errors=e.errors,t})}},o.prototype.applyDefaults=function(){var t=this.spec,e=this.url;if(e&&(0,l.default)(e,"http")){var r=h.default.parse(e);t.host||(t.host=r.host),t.schemes||(t.schemes=[r.protocol.replace(":","")]),t.basePath||(t.basePath="/")}},e.default=o,t.exports=e.default},function(t,e,r){r(169),t.exports=r(0).Object.assign},function(t,e,r){var n=r(4);n(n.S+n.F,"Object",{assign:r(113)})},function(t,e,r){var n=r(22),o=r(46),i=r(171);t.exports=function(t){return function(e,r,a){var u,s=n(e),c=o(s.length),f=i(a,c);if(t&&r!=r){for(;c>f;)if((u=s[f++])!=u)return!0}else for(;c>f;f++)if((t||f in s)&&s[f]===r)return t||f||0;return!t&&-1}}},function(t,e,r){var n=r(73),o=Math.max,i=Math.min;t.exports=function(t,e){return t=n(t),t<0?o(t+e,0):i(t,e)}},function(t,e,r){function n(t){return o(t,i|a)}var o=r(173),i=1,a=4;t.exports=n},function(t,e,r){function n(t,e,r,R,M,N){var F,L=e&j,D=e&E,U=e&P;if(r&&(F=M?r(t,R,M,N):r(t)),void 0!==F)return F;if(!_(t))return t;var B=b(t);if(B){if(F=y(t),!L)return f(t,F)}else{var q=v(t),z=q==S||q==k;if(w(t))return c(t,L);if(q==T||q==C||z&&!M){if(F=D||z?{}:m(t),!L)return D?p(t,s(F,t)):l(t,u(F,t))}else{if(!I[q])return M?t:{};F=g(t,q,L)}}N||(N=new o);var Y=N.get(t);if(Y)return Y;if(N.set(t,F),A(t))return t.forEach(function(o){F.add(n(o,e,r,o,t,N))}),F;if(x(t))return t.forEach(function(o,i){F.set(i,n(o,e,r,i,t,N))}),F;var $=U?D?d:h:D?keysIn:O,H=B?void 0:$(t);return i(H||t,function(o,i){H&&(i=o,o=t[i]),a(F,i,n(o,e,r,i,t,N))}),F}var o=r(78),i=r(202),a=r(54),u=r(203),s=r(210),c=r(213),f=r(214),l=r(215),p=r(217),h=r(126),d=r(218),v=r(58),y=r(223),g=r(224),m=r(229),b=r(6),w=r(83),x=r(231),_=r(10),A=r(233),O=r(24),j=1,E=2,P=4,C="[object Arguments]",S="[object Function]",k="[object GeneratorFunction]",T="[object Object]",I={};I[C]=I["[object Array]"]=I["[object ArrayBuffer]"]=I["[object DataView]"]=I["[object Boolean]"]=I["[object Date]"]=I["[object Float32Array]"]=I["[object Float64Array]"]=I["[object Int8Array]"]=I["[object Int16Array]"]=I["[object Int32Array]"]=I["[object Map]"]=I["[object Number]"]=I[T]=I["[object RegExp]"]=I["[object Set]"]=I["[object String]"]=I["[object Symbol]"]=I["[object Uint8Array]"]=I["[object Uint8ClampedArray]"]=I["[object Uint16Array]"]=I["[object Uint32Array]"]=!0,I["[object Error]"]=I[S]=I["[object WeakMap]"]=!1,t.exports=n},function(t,e){function r(){this.__data__=[],this.size=0}t.exports=r},function(t,e,r){function n(t){var e=this.__data__,r=o(e,t);return!(r<0)&&(r==e.length-1?e.pop():a.call(e,r,1),--this.size,!0)}var o=r(50),i=Array.prototype,a=i.splice;t.exports=n},function(t,e,r){function n(t){var e=this.__data__,r=o(e,t);return r<0?void 0:e[r][1]}var o=r(50);t.exports=n},function(t,e,r){function n(t){return o(this.__data__,t)>-1}var o=r(50);t.exports=n},function(t,e,r){function n(t,e){var r=this.__data__,n=o(r,t);return n<0?(++this.size,r.push([t,e])):r[n][1]=e,this}var o=r(50);t.exports=n},function(t,e,r){function n(){this.__data__=new o,this.size=0}var o=r(49);t.exports=n},function(t,e){function r(t){var e=this.__data__,r=e.delete(t);return this.size=e.size,r}t.exports=r},function(t,e){function r(t){return this.__data__.get(t)}t.exports=r},function(t,e){function r(t){return this.__data__.has(t)}t.exports=r},function(t,e,r){function n(t,e){var r=this.__data__;if(r instanceof o){var n=r.__data__;if(!i||n.length<u-1)return n.push([t,e]),this.size=++r.size,this;r=this.__data__=new a(n)}return r.set(t,e),this.size=r.size,this}var o=r(49),i=r(79),a=r(81),u=200;t.exports=n},function(t,e,r){function n(t){return!(!a(t)||i(t))&&(o(t)?d:c).test(u(t))}var o=r(115),i=r(187),a=r(10),u=r(117),s=/[\\^$.*+?()[\]{}|]/g,c=/^\[object .+?Constructor\]$/,f=Function.prototype,l=Object.prototype,p=f.toString,h=l.hasOwnProperty,d=RegExp("^"+p.call(h).replace(s,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");t.exports=n},function(t,e,r){function n(t){var e=a.call(t,s),r=t[s];try{t[s]=void 0;var n=!0}catch(t){}var o=u.call(t);return n&&(e?t[s]=r:delete t[s]),o}var o=r(23),i=Object.prototype,a=i.hasOwnProperty,u=i.toString,s=o?o.toStringTag:void 0;t.exports=n},function(t,e){function r(t){return o.call(t)}var n=Object.prototype,o=n.toString;t.exports=r},function(t,e,r){function n(t){return!!i&&i in t}var o=r(188),i=function(){var t=/[^.]+$/.exec(o&&o.keys&&o.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}();t.exports=n},function(t,e,r){var n=r(9),o=n["__core-js_shared__"];t.exports=o},function(t,e){function r(t,e){return null==t?void 0:t[e]}t.exports=r},function(t,e,r){function n(){this.size=0,this.__data__={hash:new o,map:new(a||i),string:new o}}var o=r(191),i=r(49),a=r(79);t.exports=n},function(t,e,r){function n(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}var o=r(192),i=r(193),a=r(194),u=r(195),s=r(196);n.prototype.clear=o,n.prototype.delete=i,n.prototype.get=a,n.prototype.has=u,n.prototype.set=s,t.exports=n},function(t,e,r){function n(){this.__data__=o?o(null):{},this.size=0}var o=r(52);t.exports=n},function(t,e){function r(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e}t.exports=r},function(t,e,r){function n(t){var e=this.__data__;if(o){var r=e[t];return r===i?void 0:r}return u.call(e,t)?e[t]:void 0}var o=r(52),i="__lodash_hash_undefined__",a=Object.prototype,u=a.hasOwnProperty;t.exports=n},function(t,e,r){function n(t){var e=this.__data__;return o?void 0!==e[t]:a.call(e,t)}var o=r(52),i=Object.prototype,a=i.hasOwnProperty;t.exports=n},function(t,e,r){function n(t,e){var r=this.__data__;return this.size+=this.has(t)?0:1,r[t]=o&&void 0===e?i:e,this}var o=r(52),i="__lodash_hash_undefined__";t.exports=n},function(t,e,r){function n(t){var e=o(this,t).delete(t);return this.size-=e?1:0,e}var o=r(53);t.exports=n},function(t,e){function r(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t}t.exports=r},function(t,e,r){function n(t){return o(this,t).get(t)}var o=r(53);t.exports=n},function(t,e,r){function n(t){return o(this,t).has(t)}var o=r(53);t.exports=n},function(t,e,r){function n(t,e){var r=o(this,t),n=r.size;return r.set(t,e),this.size+=r.size==n?0:1,this}var o=r(53);t.exports=n},function(t,e){function r(t,e){for(var r=-1,n=null==t?0:t.length;++r<n&&!1!==e(t[r],r,t););return t}t.exports=r},function(t,e,r){function n(t,e){return t&&o(e,i(e),t)}var o=r(35),i=r(24);t.exports=n},function(t,e){function r(t,e){for(var r=-1,n=Array(t);++r<t;)n[r]=e(r);return n}t.exports=r},function(t,e,r){function n(t){return i(t)&&o(t)==a}var o=r(21),i=r(13),a="[object Arguments]";t.exports=n},function(t,e){function r(){return!1}t.exports=r},function(t,e,r){function n(t){return a(t)&&i(t.length)&&!!u[o(t)]}var o=r(21),i=r(84),a=r(13),u={};u["[object Float32Array]"]=u["[object Float64Array]"]=u["[object Int8Array]"]=u["[object Int16Array]"]=u["[object Int32Array]"]=u["[object Uint8Array]"]=u["[object Uint8ClampedArray]"]=u["[object Uint16Array]"]=u["[object Uint32Array]"]=!0,u["[object Arguments]"]=u["[object Array]"]=u["[object ArrayBuffer]"]=u["[object Boolean]"]=u["[object DataView]"]=u["[object Date]"]=u["[object Error]"]=u["[object Function]"]=u["[object Map]"]=u["[object Number]"]=u["[object Object]"]=u["[object RegExp]"]=u["[object Set]"]=u["[object String]"]=u["[object WeakMap]"]=!1,t.exports=n},function(t,e,r){function n(t){if(!o(t))return i(t);var e=[];for(var r in Object(t))u.call(t,r)&&"constructor"!=r&&e.push(r);return e}var o=r(57),i=r(209),a=Object.prototype,u=a.hasOwnProperty;t.exports=n},function(t,e,r){var n=r(122),o=n(Object.keys,Object);t.exports=o},function(t,e,r){function n(t,e){return t&&o(e,i(e),t)}var o=r(35),i=r(123);t.exports=n},function(t,e,r){function n(t){if(!o(t))return a(t);var e=i(t),r=[];for(var n in t)("constructor"!=n||!e&&s.call(t,n))&&r.push(n);return r}var o=r(10),i=r(57),a=r(212),u=Object.prototype,s=u.hasOwnProperty;t.exports=n},function(t,e){function r(t){var e=[];if(null!=t)for(var r in Object(t))e.push(r);return e}t.exports=r},function(t,e,r){(function(t){function n(t,e){if(e)return t.slice();var r=t.length,n=c?c(r):new t.constructor(r);return t.copy(n),n}var o=r(9),i="object"==typeof e&&e&&!e.nodeType&&e,a=i&&"object"==typeof t&&t&&!t.nodeType&&t,u=a&&a.exports===i,s=u?o.Buffer:void 0,c=s?s.allocUnsafe:void 0;t.exports=n}).call(e,r(55)(t))},function(t,e){function r(t,e){var r=-1,n=t.length;for(e||(e=Array(n));++r<n;)e[r]=t[r];return e}t.exports=r},function(t,e,r){function n(t,e){return o(t,i(t),e)}var o=r(35),i=r(87);t.exports=n},function(t,e){function r(t,e){for(var r=-1,n=null==t?0:t.length,o=0,i=[];++r<n;){var a=t[r];e(a,r,t)&&(i[o++]=a)}return i}t.exports=r},function(t,e,r){function n(t,e){return o(t,i(t),e)}var o=r(35),i=r(125);t.exports=n},function(t,e,r){function n(t){return o(t,a,i)}var o=r(127),i=r(125),a=r(123);t.exports=n},function(t,e,r){var n=r(20),o=r(9),i=n(o,"DataView");t.exports=i},function(t,e,r){var n=r(20),o=r(9),i=n(o,"Promise");t.exports=i},function(t,e,r){var n=r(20),o=r(9),i=n(o,"Set");t.exports=i},function(t,e,r){var n=r(20),o=r(9),i=n(o,"WeakMap");t.exports=i},function(t,e){function r(t){var e=t.length,r=new t.constructor(e);return e&&"string"==typeof t[0]&&o.call(t,"index")&&(r.index=t.index,r.input=t.input),r}var n=Object.prototype,o=n.hasOwnProperty;t.exports=r},function(t,e,r){function n(t,e,r){var n=t.constructor;switch(e){case g:return o(t);case c:case f:return new n(+t);case m:return i(t,r);case b:case w:case x:case _:case A:case O:case j:case E:case P:return s(t,r);case l:return new n;case p:case v:return new n(t);case h:return a(t);case d:return new n;case y:return u(t)}}var o=r(90),i=r(225),a=r(226),u=r(227),s=r(228),c="[object Boolean]",f="[object Date]",l="[object Map]",p="[object Number]",h="[object RegExp]",d="[object Set]",v="[object String]",y="[object Symbol]",g="[object ArrayBuffer]",m="[object DataView]",b="[object Float32Array]",w="[object Float64Array]",x="[object Int8Array]",_="[object Int16Array]",A="[object Int32Array]",O="[object Uint8Array]",j="[object Uint8ClampedArray]",E="[object Uint16Array]",P="[object Uint32Array]";t.exports=n},function(t,e,r){function n(t,e){var r=e?o(t.buffer):t.buffer;return new t.constructor(r,t.byteOffset,t.byteLength)}var o=r(90);t.exports=n},function(t,e){function r(t){var e=new t.constructor(t.source,n.exec(t));return e.lastIndex=t.lastIndex,e}var n=/\w*$/;t.exports=r},function(t,e,r){function n(t){return a?Object(a.call(t)):{}}var o=r(23),i=o?o.prototype:void 0,a=i?i.valueOf:void 0;t.exports=n},function(t,e,r){function n(t,e){var r=e?o(t.buffer):t.buffer;return new t.constructor(r,t.byteOffset,t.length)}var o=r(90);t.exports=n},function(t,e,r){function n(t){return"function"!=typeof t.constructor||a(t)?{}:o(i(t))}var o=r(230),i=r(89),a=r(57);t.exports=n},function(t,e,r){var n=r(10),o=Object.create,i=function(){function t(){}return function(e){if(!n(e))return{};if(o)return o(e);t.prototype=e;var r=new t;return t.prototype=void 0,r}}();t.exports=i},function(t,e,r){var n=r(232),o=r(85),i=r(86),a=i&&i.isMap,u=a?o(a):n;t.exports=u},function(t,e,r){function n(t){return i(t)&&o(t)==a}var o=r(58),i=r(13),a="[object Map]";t.exports=n},function(t,e,r){var n=r(234),o=r(85),i=r(86),a=i&&i.isSet,u=a?o(a):n;t.exports=u},function(t,e,r){function n(t){return i(t)&&o(t)==a}var o=r(58),i=r(13),a="[object Set]";t.exports=n},function(t,e,r){function n(t){return o(function(e,r){var n=-1,o=r.length,a=o>1?r[o-1]:void 0,u=o>2?r[2]:void 0;for(a=t.length>3&&"function"==typeof a?(o--,a):void 0,u&&i(r[0],r[1],u)&&(a=o<3?void 0:a,o=1),e=Object(e);++n<o;){var s=r[n];s&&t(e,s,n,a)}return e})}var o=r(236),i=r(241);t.exports=n},function(t,e,r){function n(t,e){return a(i(t,e,o),t+"")}var o=r(91),i=r(129),a=r(130);t.exports=n},function(t,e){function r(t,e,r){switch(r.length){case 0:return t.call(e);case 1:return t.call(e,r[0]);case 2:return t.call(e,r[0],r[1]);case 3:return t.call(e,r[0],r[1],r[2])}return t.apply(e,r)}t.exports=r},function(t,e,r){var n=r(239),o=r(119),i=r(91),a=o?function(t,e){return o(t,"toString",{configurable:!0,enumerable:!1,value:n(e),writable:!0})}:i;t.exports=a},function(t,e){function r(t){return function(){return t}}t.exports=r},function(t,e){function r(t){var e=0,r=0;return function(){var a=i(),u=o-(a-r);if(r=a,u>0){if(++e>=n)return arguments[0]}else e=0;return t.apply(void 0,arguments)}}var n=800,o=16,i=Date.now;t.exports=r},function(t,e,r){function n(t,e,r){if(!u(r))return!1;var n=typeof e;return!!("number"==n?i(r)&&a(e,r.length):"string"==n&&e in r)&&o(r[e],t)}var o=r(51),i=r(36),a=r(56),u=r(10);t.exports=n},function(t,e){function r(t,e,r){return t===t&&(void 0!==r&&(t=t<=r?t:r),void 0!==e&&(t=t>=e?t:e)),t}t.exports=r},function(t,e){function r(t,e){for(var r=-1,n=null==t?0:t.length,o=Array(n);++r<n;)o[r]=e(t[r],r,t);return o}t.exports=r},function(t,e,r){function n(t){if(!t)return 0===t?t:0;if((t=o(t))===i||t===-i){return(t<0?-1:1)*a}return t===t?t:0}var o=r(245),i=1/0,a=1.7976931348623157e308;t.exports=n},function(t,e,r){function n(t){if("number"==typeof t)return t;if(i(t))return a;if(o(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=o(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=t.replace(u,"");var r=c.test(t);return r||f.test(t)?l(t.slice(2),r?2:8):s.test(t)?a:+t}var o=r(10),i=r(60),a=NaN,u=/^\s+|\s+$/g,s=/^[-+]0x[0-9a-f]+$/i,c=/^0b[01]+$/i,f=/^0o[0-7]+$/i,l=parseInt;t.exports=n},function(t,e,r){(function(t,n){var o;!function(i){function a(t){throw RangeError(I[t])}function u(t,e){for(var r=t.length,n=[];r--;)n[r]=e(t[r]);return n}function s(t,e){var r=t.split("@"),n="";return r.length>1&&(n=r[0]+"@",t=r[1]),t=t.replace(T,"."),n+u(t.split("."),e).join(".")}function c(t){for(var e,r,n=[],o=0,i=t.length;o<i;)e=t.charCodeAt(o++),e>=55296&&e<=56319&&o<i?(r=t.charCodeAt(o++),56320==(64512&r)?n.push(((1023&e)<<10)+(1023&r)+65536):(n.push(e),o--)):n.push(e);return n}function f(t){return u(t,function(t){var e="";return t>65535&&(t-=65536,e+=N(t>>>10&1023|55296),t=56320|1023&t),e+=N(t)}).join("")}function l(t){return t-48<10?t-22:t-65<26?t-65:t-97<26?t-97:x}function p(t,e){return t+22+75*(t<26)-((0!=e)<<5)}function h(t,e,r){var n=0;for(t=r?M(t/j):t>>1,t+=M(t/e);t>R*A>>1;n+=x)t=M(t/R);return M(n+(R+1)*t/(t+O))}function d(t){var e,r,n,o,i,u,s,c,p,d,v=[],y=t.length,g=0,m=P,b=E;for(r=t.lastIndexOf(C),r<0&&(r=0),n=0;n<r;++n)t.charCodeAt(n)>=128&&a("not-basic"),v.push(t.charCodeAt(n));for(o=r>0?r+1:0;o<y;){for(i=g,u=1,s=x;o>=y&&a("invalid-input"),c=l(t.charCodeAt(o++)),(c>=x||c>M((w-g)/u))&&a("overflow"),g+=c*u,p=s<=b?_:s>=b+A?A:s-b,!(c<p);s+=x)d=x-p,u>M(w/d)&&a("overflow"),u*=d;e=v.length+1,b=h(g-i,e,0==i),M(g/e)>w-m&&a("overflow"),m+=M(g/e),g%=e,v.splice(g++,0,m)}return f(v)}function v(t){var e,r,n,o,i,u,s,f,l,d,v,y,g,m,b,O=[];for(t=c(t),y=t.length,e=P,r=0,i=E,u=0;u<y;++u)(v=t[u])<128&&O.push(N(v));for(n=o=O.length,o&&O.push(C);n<y;){for(s=w,u=0;u<y;++u)(v=t[u])>=e&&v<s&&(s=v);for(g=n+1,s-e>M((w-r)/g)&&a("overflow"),r+=(s-e)*g,e=s,u=0;u<y;++u)if(v=t[u],v<e&&++r>w&&a("overflow"),v==e){for(f=r,l=x;d=l<=i?_:l>=i+A?A:l-i,!(f<d);l+=x)b=f-d,m=x-d,O.push(N(p(d+b%m,0))),f=M(b/m);O.push(N(p(f,0))),i=h(r,g,n==o),r=0,++n}++r,++e}return O.join("")}function y(t){return s(t,function(t){return S.test(t)?d(t.slice(4).toLowerCase()):t})}function g(t){return s(t,function(t){return k.test(t)?"xn--"+v(t):t})}var m=("object"==typeof e&&e&&e.nodeType,"object"==typeof t&&t&&t.nodeType,"object"==typeof n&&n);var b,w=2147483647,x=36,_=1,A=26,O=38,j=700,E=72,P=128,C="-",S=/^xn--/,k=/[^\x20-\x7E]/,T=/[\x2E\u3002\uFF0E\uFF61]/g,I={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},R=x-_,M=Math.floor,N=String.fromCharCode;b={version:"1.3.2",ucs2:{decode:c,encode:f},decode:d,encode:v,toASCII:g,toUnicode:y},void 0!==(o=function(){return b}.call(e,r,e,t))&&(t.exports=o)}()}).call(e,r(55)(t),r(80))},function(t,e,r){"use strict";t.exports={isString:function(t){return"string"==typeof t},isObject:function(t){return"object"==typeof t&&null!==t},isNull:function(t){return null===t},isNullOrUndefined:function(t){return null==t}}},function(t,e,r){"use strict";e.decode=e.parse=r(249),e.encode=e.stringify=r(250)},function(t,e,r){"use strict";function n(t,e){return Object.prototype.hasOwnProperty.call(t,e)}t.exports=function(t,e,r,i){e=e||"&",r=r||"=";var a={};if("string"!=typeof t||0===t.length)return a;var u=/\+/g;t=t.split(e);var s=1e3;i&&"number"==typeof i.maxKeys&&(s=i.maxKeys);var c=t.length;s>0&&c>s&&(c=s);for(var f=0;f<c;++f){var l,p,h,d,v=t[f].replace(u,"%20"),y=v.indexOf(r);y>=0?(l=v.substr(0,y),p=v.substr(y+1)):(l=v,p=""),h=decodeURIComponent(l),d=decodeURIComponent(p),n(a,h)?o(a[h])?a[h].push(d):a[h]=[a[h],d]:a[h]=d}return a};var o=Array.isArray||function(t){return"[object Array]"===Object.prototype.toString.call(t)}},function(t,e,r){"use strict";function n(t,e){if(t.map)return t.map(e);for(var r=[],n=0;n<t.length;n++)r.push(e(t[n],n));return r}var o=function(t){switch(typeof t){case"string":return t;case"boolean":return t?"true":"false";case"number":return isFinite(t)?t:"";default:return""}};t.exports=function(t,e,r,u){return e=e||"&",r=r||"=",null===t&&(t=void 0),"object"==typeof t?n(a(t),function(a){var u=encodeURIComponent(o(a))+r;return i(t[a])?n(t[a],function(t){return u+encodeURIComponent(o(t))}).join(e):u+encodeURIComponent(o(t[a]))}).join(e):u?encodeURIComponent(o(u))+r+encodeURIComponent(o(t)):""};var i=Array.isArray||function(t){return"[object Array]"===Object.prototype.toString.call(t)},a=Object.keys||function(t){var e=[];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.push(r);return e}},function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}e.__esModule=!0;var o=r(252),i=n(o),a=r(96),u=n(a);e.default=function(){function t(t,e){var r=[],n=!0,o=!1,i=void 0;try{for(var a,s=(0,u.default)(t);!(n=(a=s.next()).done)&&(r.push(a.value),!e||r.length!==e);n=!0);}catch(t){o=!0,i=t}finally{try{!n&&s.return&&s.return()}finally{if(o)throw i}}return r}return function(e,r){if(Array.isArray(e))return e;if((0,i.default)(Object(e)))return t(e,r);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}()},function(t,e,r){t.exports={default:r(253),__esModule:!0}},function(t,e,r){r(37),r(39),t.exports=r(261)},function(t,e,r){"use strict";var n=r(255),o=r(256),i=r(25),a=r(22);t.exports=r(135)(Array,"Array",function(t,e){this._t=a(t),this._i=0,this._k=e},function(){var t=this._t,e=this._k,r=this._i++;return!t||r>=t.length?(this._t=void 0,o(1)):"keys"==e?o(0,r):"values"==e?o(0,t[r]):o(0,[r,t[r]])},"values"),i.Arguments=i.Array,n("keys"),n("values"),n("entries")},function(t,e){t.exports=function(){}},function(t,e){t.exports=function(t,e){return{value:e,done:!!t}}},function(t,e,r){"use strict";var n=r(94),o=r(30),i=r(38),a={};r(15)(a,r(3)("iterator"),function(){return this}),t.exports=function(t,e,r){t.prototype=n(a,{next:o(1,r)}),i(t,e+" Iterator")}},function(t,e,r){var n=r(7),o=r(8),i=r(31);t.exports=r(12)?Object.defineProperties:function(t,e){o(t);for(var r,a=i(e),u=a.length,s=0;u>s;)n.f(t,r=a[s++],e[r]);return t}},function(t,e,r){var n=r(17),o=r(34),i=r(74)("IE_PROTO"),a=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=o(t),n(t,i)?t[i]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?a:null}},function(t,e,r){var n=r(73),o=r(72);t.exports=function(t){return function(e,r){var i,a,u=String(o(e)),s=n(r),c=u.length;return s<0||s>=c?t?"":void 0:(i=u.charCodeAt(s),i<55296||i>56319||s+1===c||(a=u.charCodeAt(s+1))<56320||a>57343?t?u.charAt(s):i:t?u.slice(s,s+2):a-56320+(i-55296<<10)+65536)}}},function(t,e,r){var n=r(95),o=r(3)("iterator"),i=r(25);t.exports=r(0).isIterable=function(t){var e=Object(t);return void 0!==e[o]||"@@iterator"in e||i.hasOwnProperty(n(e))}},function(t,e,r){r(37),r(39),t.exports=r(263)},function(t,e,r){var n=r(8),o=r(97);t.exports=r(0).getIterator=function(t){var e=o(t);if("function"!=typeof e)throw TypeError(t+" is not iterable!");return n(e.call(t))}},function(t,e,r){r(265),t.exports=r(0).Object.keys},function(t,e,r){var n=r(34),o=r(31);r(266)("keys",function(){return function(t){return o(n(t))}})},function(t,e,r){var n=r(4),o=r(0),i=r(16);t.exports=function(t,e){var r=(o.Object||{})[t]||Object[t],a={};a[t]=e(r),n(n.S+n.F*i(function(){r(1)}),"Object",a)}},function(t,e,r){var n=r(0),o=n.JSON||(n.JSON={stringify:JSON.stringify});t.exports=function(t){return o.stringify.apply(o,arguments)}},function(t,e,r){var n=function(){return this}()||Function("return this")(),o=n.regeneratorRuntime&&Object.getOwnPropertyNames(n).indexOf("regeneratorRuntime")>=0,i=o&&n.regeneratorRuntime;if(n.regeneratorRuntime=void 0,t.exports=r(269),o)n.regeneratorRuntime=i;else try{delete n.regeneratorRuntime}catch(t){n.regeneratorRuntime=void 0}},function(t,e){!function(e){"use strict";function r(t,e,r,n){var i=e&&e.prototype instanceof o?e:o,a=Object.create(i.prototype),u=new h(n||[]);return a._invoke=c(t,r,u),a}function n(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}function o(){}function i(){}function a(){}function u(t){["next","throw","return"].forEach(function(e){t[e]=function(t){return this._invoke(e,t)}})}function s(t){function e(r,o,i,a){var u=n(t[r],t,o);if("throw"!==u.type){var s=u.arg,c=s.value;return c&&"object"==typeof c&&m.call(c,"__await")?Promise.resolve(c.__await).then(function(t){e("next",t,i,a)},function(t){e("throw",t,i,a)}):Promise.resolve(c).then(function(t){s.value=t,i(s)},a)}a(u.arg)}function r(t,r){function n(){return new Promise(function(n,o){e(t,r,n,o)})}return o=o?o.then(n,n):n()}var o;this._invoke=r}function c(t,e,r){var o=j;return function(i,a){if(o===P)throw new Error("Generator is already running");if(o===C){if("throw"===i)throw a;return v()}for(r.method=i,r.arg=a;;){var u=r.delegate;if(u){var s=f(u,r);if(s){if(s===S)continue;return s}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(o===j)throw o=C,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);o=P;var c=n(t,e,r);if("normal"===c.type){if(o=r.done?C:E,c.arg===S)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(o=C,r.method="throw",r.arg=c.arg)}}}function f(t,e){var r=t.iterator[e.method];if(r===y){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=y,f(t,e),"throw"===e.method))return S;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return S}var o=n(r,t.iterator,e.arg);if("throw"===o.type)return e.method="throw",e.arg=o.arg,e.delegate=null,S;var i=o.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=y),e.delegate=null,S):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,S)}function l(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function p(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function h(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(l,this),this.reset(!0)}function d(t){if(t){var e=t[w];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var r=-1,n=function e(){for(;++r<t.length;)if(m.call(t,r))return e.value=t[r],e.done=!1,e;return e.value=y,e.done=!0,e};return n.next=n}}return{next:v}}function v(){return{value:y,done:!0}}var y,g=Object.prototype,m=g.hasOwnProperty,b="function"==typeof Symbol?Symbol:{},w=b.iterator||"@@iterator",x=b.asyncIterator||"@@asyncIterator",_=b.toStringTag||"@@toStringTag",A="object"==typeof t,O=e.regeneratorRuntime;if(O)return void(A&&(t.exports=O));O=e.regeneratorRuntime=A?t.exports:{},O.wrap=r;var j="suspendedStart",E="suspendedYield",P="executing",C="completed",S={},k={};k[w]=function(){return this};var T=Object.getPrototypeOf,I=T&&T(T(d([])));I&&I!==g&&m.call(I,w)&&(k=I);var R=a.prototype=o.prototype=Object.create(k);i.prototype=R.constructor=a,a.constructor=i,a[_]=i.displayName="GeneratorFunction",O.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===i||"GeneratorFunction"===(e.displayName||e.name))},O.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,a):(t.__proto__=a,_ in t||(t[_]="GeneratorFunction")),t.prototype=Object.create(R),t},O.awrap=function(t){return{__await:t}},u(s.prototype),s.prototype[x]=function(){return this},O.AsyncIterator=s,O.async=function(t,e,n,o){var i=new s(r(t,e,n,o));return O.isGeneratorFunction(e)?i:i.next().then(function(t){return t.done?t.value:i.next()})},u(R),R[_]="Generator",R[w]=function(){return this},R.toString=function(){return"[object Generator]"},O.keys=function(t){var e=[];for(var r in t)e.push(r);return e.reverse(),function r(){for(;e.length;){var n=e.pop();if(n in t)return r.value=n,r.done=!1,r}return r.done=!0,r}},O.values=d,h.prototype={constructor:h,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=y,this.done=!1,this.delegate=null,this.method="next",this.arg=y,this.tryEntries.forEach(p),!t)for(var e in this)"t"===e.charAt(0)&&m.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=y)},stop:function(){this.done=!0;var t=this.tryEntries[0],e=t.completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){function e(e,n){return i.type="throw",i.arg=t,r.next=e,n&&(r.method="next",r.arg=y),!!n}if(this.done)throw t;for(var r=this,n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n],i=o.completion;if("root"===o.tryLoc)return e("end");if(o.tryLoc<=this.prev){var a=m.call(o,"catchLoc"),u=m.call(o,"finallyLoc");if(a&&u){if(this.prev<o.catchLoc)return e(o.catchLoc,!0);if(this.prev<o.finallyLoc)return e(o.finallyLoc)}else if(a){if(this.prev<o.catchLoc)return e(o.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return e(o.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&m.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var o=n;break}}o&&("break"===t||"continue"===t)&&o.tryLoc<=e&&e<=o.finallyLoc&&(o=null);var i=o?o.completion:{};return i.type=t,i.arg=e,o?(this.method="next",this.next=o.finallyLoc,S):this.complete(i)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),S},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),p(r),S}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;p(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:d(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=y),S}}}(function(){return this}()||Function("return this")())},function(t,e,r){t.exports={default:r(271),__esModule:!0}},function(t,e,r){r(39),r(37),t.exports=r(98).f("iterator")},function(t,e,r){t.exports={default:r(273),__esModule:!0}},function(t,e,r){r(274),r(100),r(278),r(279),t.exports=r(0).Symbol},function(t,e,r){"use strict";var n=r(2),o=r(17),i=r(12),a=r(4),u=r(93),s=r(63).KEY,c=r(16),f=r(75),l=r(38),p=r(47),h=r(3),d=r(98),v=r(99),y=r(275),g=r(137),m=r(8),b=r(5),w=r(22),x=r(70),_=r(30),A=r(94),O=r(276),j=r(277),E=r(7),P=r(31),C=j.f,S=E.f,k=O.f,T=n.Symbol,I=n.JSON,R=I&&I.stringify,M=h("_hidden"),N=h("toPrimitive"),F={}.propertyIsEnumerable,L=f("symbol-registry"),D=f("symbols"),U=f("op-symbols"),B=Object.prototype,q="function"==typeof T,z=n.QObject,Y=!z||!z.prototype||!z.prototype.findChild,$=i&&c(function(){return 7!=A(S({},"a",{get:function(){return S(this,"a",{value:7}).a}})).a})?function(t,e,r){var n=C(B,e);n&&delete B[e],S(t,e,r),n&&t!==B&&S(B,e,n)}:S,H=function(t){var e=D[t]=A(T.prototype);return e._k=t,e},V=q&&"symbol"==typeof T.iterator?function(t){return"symbol"==typeof t}:function(t){return t instanceof T},J=function(t,e,r){return t===B&&J(U,e,r),m(t),e=x(e,!0),m(r),o(D,e)?(r.enumerable?(o(t,M)&&t[M][e]&&(t[M][e]=!1),r=A(r,{enumerable:_(0,!1)})):(o(t,M)||S(t,M,_(1,{})),t[M][e]=!0),$(t,e,r)):S(t,e,r)},G=function(t,e){m(t);for(var r,n=y(e=w(e)),o=0,i=n.length;i>o;)J(t,r=n[o++],e[r]);return t},W=function(t,e){return void 0===e?A(t):G(A(t),e)},K=function(t){var e=F.call(this,t=x(t,!0));return!(this===B&&o(D,t)&&!o(U,t))&&(!(e||!o(this,t)||!o(D,t)||o(this,M)&&this[M][t])||e)},Q=function(t,e){if(t=w(t),e=x(e,!0),t!==B||!o(D,e)||o(U,e)){var r=C(t,e);return!r||!o(D,e)||o(t,M)&&t[M][e]||(r.enumerable=!0),r}},Z=function(t){for(var e,r=k(w(t)),n=[],i=0;r.length>i;)o(D,e=r[i++])||e==M||e==s||n.push(e);return n},X=function(t){for(var e,r=t===B,n=k(r?U:w(t)),i=[],a=0;n.length>a;)!o(D,e=n[a++])||r&&!o(B,e)||i.push(D[e]);return i};q||(T=function(){if(this instanceof T)throw TypeError("Symbol is not a constructor!");var t=p(arguments.length>0?arguments[0]:void 0),e=function(r){this===B&&e.call(U,r),o(this,M)&&o(this[M],t)&&(this[M][t]=!1),$(this,t,_(1,r))};return i&&Y&&$(B,t,{configurable:!0,set:e}),H(t)},u(T.prototype,"toString",function(){return this._k}),j.f=Q,E.f=J,r(138).f=O.f=Z,r(48).f=K,r(77).f=X,i&&!r(33)&&u(B,"propertyIsEnumerable",K,!0),d.f=function(t){return H(h(t))}),a(a.G+a.W+a.F*!q,{Symbol:T});for(var tt="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),et=0;tt.length>et;)h(tt[et++]);for(var rt=P(h.store),nt=0;rt.length>nt;)v(rt[nt++]);a(a.S+a.F*!q,"Symbol",{for:function(t){return o(L,t+="")?L[t]:L[t]=T(t)},keyFor:function(t){if(!V(t))throw TypeError(t+" is not a symbol!");for(var e in L)if(L[e]===t)return e},useSetter:function(){Y=!0},useSimple:function(){Y=!1}}),a(a.S+a.F*!q,"Object",{create:W,defineProperty:J,defineProperties:G,getOwnPropertyDescriptor:Q,getOwnPropertyNames:Z,getOwnPropertySymbols:X}),I&&a(a.S+a.F*(!q||c(function(){var t=T();return"[null]"!=R([t])||"{}"!=R({a:t})||"{}"!=R(Object(t))})),"JSON",{stringify:function(t){for(var e,r,n=[t],o=1;arguments.length>o;)n.push(arguments[o++]);if(r=e=n[1],(b(e)||void 0!==t)&&!V(t))return g(e)||(e=function(t,e){if("function"==typeof r&&(e=r.call(this,t,e)),!V(e))return e}),n[1]=e,R.apply(I,n)}}),T.prototype[N]||r(15)(T.prototype,N,T.prototype.valueOf),l(T,"Symbol"),l(Math,"Math",!0),l(n.JSON,"JSON",!0)},function(t,e,r){var n=r(31),o=r(77),i=r(48);t.exports=function(t){var e=n(t),r=o.f;if(r)for(var a,u=r(t),s=i.f,c=0;u.length>c;)s.call(t,a=u[c++])&&e.push(a);return e}},function(t,e,r){var n=r(22),o=r(138).f,i={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],u=function(t){try{return o(t)}catch(t){return a.slice()}};t.exports.f=function(t){return a&&"[object Window]"==i.call(t)?u(t):o(n(t))}},function(t,e,r){var n=r(48),o=r(30),i=r(22),a=r(70),u=r(17),s=r(112),c=Object.getOwnPropertyDescriptor;e.f=r(12)?c:function(t,e){if(t=i(t),e=a(e,!0),s)try{return c(t,e)}catch(t){}if(u(t,e))return o(!n.f.call(t,e),t[e])}},function(t,e,r){r(99)("asyncIterator")},function(t,e,r){r(99)("observable")},function(t,e,r){r(100),r(39),r(37),r(281),r(286),r(287),t.exports=r(0).Promise},function(t,e,r){"use strict";var n,o,i,a,u=r(33),s=r(2),c=r(19),f=r(95),l=r(4),p=r(5),h=r(29),d=r(103),v=r(64),y=r(141),g=r(142).set,m=r(283)(),b=r(104),w=r(143),x=r(284),_=r(144),A=s.TypeError,O=s.process,j=O&&O.versions,E=j&&j.v8||"",P=s.Promise,C="process"==f(O),S=function(){},k=o=b.f,T=!!function(){try{var t=P.resolve(1),e=(t.constructor={})[r(3)("species")]=function(t){t(S,S)};return(C||"function"==typeof PromiseRejectionEvent)&&t.then(S)instanceof e&&0!==E.indexOf("6.6")&&-1===x.indexOf("Chrome/66")}catch(t){}}(),I=function(t){var e;return!(!p(t)||"function"!=typeof(e=t.then))&&e},R=function(t,e){if(!t._n){t._n=!0;var r=t._c;m(function(){for(var n=t._v,o=1==t._s,i=0;r.length>i;)!function(e){var r,i,a,u=o?e.ok:e.fail,s=e.resolve,c=e.reject,f=e.domain;try{u?(o||(2==t._h&&F(t),t._h=1),!0===u?r=n:(f&&f.enter(),r=u(n),f&&(f.exit(),a=!0)),r===e.promise?c(A("Promise-chain cycle")):(i=I(r))?i.call(r,s,c):s(r)):c(n)}catch(t){f&&!a&&f.exit(),c(t)}}(r[i++]);t._c=[],t._n=!1,e&&!t._h&&M(t)})}},M=function(t){g.call(s,function(){var e,r,n,o=t._v,i=N(t);if(i&&(e=w(function(){C?O.emit("unhandledRejection",o,t):(r=s.onunhandledrejection)?r({promise:t,reason:o}):(n=s.console)&&n.error&&n.error("Unhandled promise rejection",o)}),t._h=C||N(t)?2:1),t._a=void 0,i&&e.e)throw e.v})},N=function(t){return 1!==t._h&&0===(t._a||t._c).length},F=function(t){g.call(s,function(){var e;C?O.emit("rejectionHandled",t):(e=s.onrejectionhandled)&&e({promise:t,reason:t._v})})},L=function(t){var e=this;e._d||(e._d=!0,e=e._w||e,e._v=t,e._s=2,e._a||(e._a=e._c.slice()),R(e,!0))},D=function(t){var e,r=this;if(!r._d){r._d=!0,r=r._w||r;try{if(r===t)throw A("Promise can't be resolved itself");(e=I(t))?m(function(){var n={_w:r,_d:!1};try{e.call(t,c(D,n,1),c(L,n,1))}catch(t){L.call(n,t)}}):(r._v=t,r._s=1,R(r,!1))}catch(t){L.call({_w:r,_d:!1},t)}}};T||(P=function(t){d(this,P,"Promise","_h"),h(t),n.call(this);try{t(c(D,this,1),c(L,this,1))}catch(t){L.call(this,t)}},n=function(t){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1},n.prototype=r(105)(P.prototype,{then:function(t,e){var r=k(y(this,P));return r.ok="function"!=typeof t||t,r.fail="function"==typeof e&&e,r.domain=C?O.domain:void 0,this._c.push(r),this._a&&this._a.push(r),this._s&&R(this,!1),r.promise},catch:function(t){return this.then(void 0,t)}}),i=function(){var t=new n;this.promise=t,this.resolve=c(D,t,1),this.reject=c(L,t,1)},b.f=k=function(t){return t===P||t===a?new i(t):o(t)}),l(l.G+l.W+l.F*!T,{Promise:P}),r(38)(P,"Promise"),r(285)("Promise"),a=r(0).Promise,l(l.S+l.F*!T,"Promise",{reject:function(t){var e=k(this);return(0,e.reject)(t),e.promise}}),l(l.S+l.F*(u||!T),"Promise",{resolve:function(t){return _(u&&this===a?P:this,t)}}),l(l.S+l.F*!(T&&r(145)(function(t){P.all(t).catch(S)})),"Promise",{all:function(t){var e=this,r=k(e),n=r.resolve,o=r.reject,i=w(function(){var r=[],i=0,a=1;v(t,!1,function(t){var u=i++,s=!1;r.push(void 0),a++,e.resolve(t).then(function(t){s||(s=!0,r[u]=t,--a||n(r))},o)}),--a||n(r)});return i.e&&o(i.v),r.promise},race:function(t){var e=this,r=k(e),n=r.reject,o=w(function(){v(t,!1,function(t){e.resolve(t).then(r.resolve,n)})});return o.e&&n(o.v),r.promise}})},function(t,e){t.exports=function(t,e,r){var n=void 0===r;switch(e.length){case 0:return n?t():t.call(r);case 1:return n?t(e[0]):t.call(r,e[0]);case 2:return n?t(e[0],e[1]):t.call(r,e[0],e[1]);case 3:return n?t(e[0],e[1],e[2]):t.call(r,e[0],e[1],e[2]);case 4:return n?t(e[0],e[1],e[2],e[3]):t.call(r,e[0],e[1],e[2],e[3])}return t.apply(r,e)}},function(t,e,r){var n=r(2),o=r(142).set,i=n.MutationObserver||n.WebKitMutationObserver,a=n.process,u=n.Promise,s="process"==r(32)(a);t.exports=function(){var t,e,r,c=function(){var n,o;for(s&&(n=a.domain)&&n.exit();t;){o=t.fn,t=t.next;try{o()}catch(n){throw t?r():e=void 0,n}}e=void 0,n&&n.enter()};if(s)r=function(){a.nextTick(c)};else if(!i||n.navigator&&n.navigator.standalone)if(u&&u.resolve){var f=u.resolve(void 0);r=function(){f.then(c)}}else r=function(){o.call(n,c)};else{var l=!0,p=document.createTextNode("");new i(c).observe(p,{characterData:!0}),r=function(){p.data=l=!l}}return function(n){var o={fn:n,next:void 0};e&&(e.next=o),t||(t=o,r()),e=o}}},function(t,e,r){var n=r(2),o=n.navigator;t.exports=o&&o.userAgent||""},function(t,e,r){"use strict";var n=r(2),o=r(0),i=r(7),a=r(12),u=r(3)("species");t.exports=function(t){var e="function"==typeof o[t]?o[t]:n[t];a&&e&&!e[u]&&i.f(e,u,{configurable:!0,get:function(){return this}})}},function(t,e,r){"use strict";var n=r(4),o=r(0),i=r(2),a=r(141),u=r(144);n(n.P+n.R,"Promise",{finally:function(t){var e=a(this,o.Promise||i.Promise),r="function"==typeof t;return this.then(r?function(r){return u(e,t()).then(function(){return r})}:t,r?function(r){return u(e,t()).then(function(){throw r})}:t)}})},function(t,e,r){"use strict";var n=r(4),o=r(104),i=r(143);n(n.S,"Promise",{try:function(t){var e=o.f(this),r=i(t);return(r.e?e.reject:e.resolve)(r.v),e.promise}})},function(t,e){!function(t){"use strict";function e(t){if("string"!=typeof t&&(t=String(t)),/[^a-z0-9\-#$%&'*+.\^_`|~]/i.test(t))throw new TypeError("Invalid character in header field name");return t.toLowerCase()}function r(t){return"string"!=typeof t&&(t=String(t)),t}function n(t){var e={next:function(){var e=t.shift();return{done:void 0===e,value:e}}};return g.iterable&&(e[Symbol.iterator]=function(){return e}),e}function o(t){this.map={},t instanceof o?t.forEach(function(t,e){this.append(e,t)},this):Array.isArray(t)?t.forEach(function(t){this.append(t[0],t[1])},this):t&&Object.getOwnPropertyNames(t).forEach(function(e){this.append(e,t[e])},this)}function i(t){if(t.bodyUsed)return Promise.reject(new TypeError("Already read"));t.bodyUsed=!0}function a(t){return new Promise(function(e,r){t.onload=function(){e(t.result)},t.onerror=function(){r(t.error)}})}function u(t){var e=new FileReader,r=a(e);return e.readAsArrayBuffer(t),r}function s(t){var e=new FileReader,r=a(e);return e.readAsText(t),r}function c(t){for(var e=new Uint8Array(t),r=new Array(e.length),n=0;n<e.length;n++)r[n]=String.fromCharCode(e[n]);return r.join("")}function f(t){if(t.slice)return t.slice(0);var e=new Uint8Array(t.byteLength);return e.set(new Uint8Array(t)),e.buffer}function l(){return this.bodyUsed=!1,this._initBody=function(t){if(this._bodyInit=t,t)if("string"==typeof t)this._bodyText=t;else if(g.blob&&Blob.prototype.isPrototypeOf(t))this._bodyBlob=t;else if(g.formData&&FormData.prototype.isPrototypeOf(t))this._bodyFormData=t;else if(g.searchParams&&URLSearchParams.prototype.isPrototypeOf(t))this._bodyText=t.toString();else if(g.arrayBuffer&&g.blob&&b(t))this._bodyArrayBuffer=f(t.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer]);else{if(!g.arrayBuffer||!ArrayBuffer.prototype.isPrototypeOf(t)&&!w(t))throw new Error("unsupported BodyInit type");this._bodyArrayBuffer=f(t)}else this._bodyText="";this.headers.get("content-type")||("string"==typeof t?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):g.searchParams&&URLSearchParams.prototype.isPrototypeOf(t)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},g.blob&&(this.blob=function(){var t=i(this);if(t)return t;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?i(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(u)}),this.text=function(){var t=i(this);if(t)return t;if(this._bodyBlob)return s(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(c(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},g.formData&&(this.formData=function(){return this.text().then(d)}),this.json=function(){return this.text().then(JSON.parse)},this}function p(t){var e=t.toUpperCase();return x.indexOf(e)>-1?e:t}function h(t,e){var r=(e=e||{}).body;if(t instanceof h){if(t.bodyUsed)throw new TypeError("Already read");this.url=t.url,this.credentials=t.credentials,e.headers||(this.headers=new o(t.headers)),this.method=t.method,this.mode=t.mode,r||null==t._bodyInit||(r=t._bodyInit,t.bodyUsed=!0)}else this.url=String(t);if(this.credentials=e.credentials||this.credentials||"omit",!e.headers&&this.headers||(this.headers=new o(e.headers)),this.method=p(e.method||this.method||"GET"),this.mode=e.mode||this.mode||null,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&r)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(r)}function d(t){var e=new FormData;return t.trim().split("&").forEach(function(t){if(t){var r=t.split("="),n=r.shift().replace(/\+/g," "),o=r.join("=").replace(/\+/g," ");e.append(decodeURIComponent(n),decodeURIComponent(o))}}),e}function v(t){var e=new o;return t.split(/\r?\n/).forEach(function(t){var r=t.split(":"),n=r.shift().trim();if(n){var o=r.join(":").trim();e.append(n,o)}}),e}function y(t,e){e||(e={}),this.type="default",this.status="status"in e?e.status:200,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in e?e.statusText:"OK",this.headers=new o(e.headers),this.url=e.url||"",this._initBody(t)}if(!t.fetch){var g={searchParams:"URLSearchParams"in t,iterable:"Symbol"in t&&"iterator"in Symbol,blob:"FileReader"in t&&"Blob"in t&&function(){try{return new Blob,!0}catch(t){return!1}}(),formData:"FormData"in t,arrayBuffer:"ArrayBuffer"in t};if(g.arrayBuffer)var m=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],b=function(t){return t&&DataView.prototype.isPrototypeOf(t)},w=ArrayBuffer.isView||function(t){return t&&m.indexOf(Object.prototype.toString.call(t))>-1};o.prototype.append=function(t,n){t=e(t),n=r(n);var o=this.map[t];this.map[t]=o?o+","+n:n},o.prototype.delete=function(t){delete this.map[e(t)]},o.prototype.get=function(t){return t=e(t),this.has(t)?this.map[t]:null},o.prototype.has=function(t){return this.map.hasOwnProperty(e(t))},o.prototype.set=function(t,n){this.map[e(t)]=r(n)},o.prototype.forEach=function(t,e){for(var r in this.map)this.map.hasOwnProperty(r)&&t.call(e,this.map[r],r,this)},o.prototype.keys=function(){var t=[];return this.forEach(function(e,r){t.push(r)}),n(t)},o.prototype.values=function(){var t=[];return this.forEach(function(e){t.push(e)}),n(t)},o.prototype.entries=function(){var t=[];return this.forEach(function(e,r){t.push([r,e])}),n(t)},g.iterable&&(o.prototype[Symbol.iterator]=o.prototype.entries);var x=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];h.prototype.clone=function(){return new h(this,{body:this._bodyInit})},l.call(h.prototype),l.call(y.prototype),y.prototype.clone=function(){return new y(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new o(this.headers),url:this.url})},y.error=function(){var t=new y(null,{status:0,statusText:""});return t.type="error",t};var _=[301,302,303,307,308];y.redirect=function(t,e){if(-1===_.indexOf(e))throw new RangeError("Invalid status code");return new y(null,{status:e,headers:{location:t}})},t.Headers=o,t.Request=h,t.Response=y,t.fetch=function(t,e){return new Promise(function(r,n){var o=new h(t,e),i=new XMLHttpRequest;i.onload=function(){var t={status:i.status,statusText:i.statusText,headers:v(i.getAllResponseHeaders()||"")};t.url="responseURL"in i?i.responseURL:t.headers.get("X-Request-URL");var e="response"in i?i.response:i.responseText;r(new y(e,t))},i.onerror=function(){n(new TypeError("Network request failed"))},i.ontimeout=function(){n(new TypeError("Network request failed"))},i.open(o.method,o.url,!0),"include"===o.credentials&&(i.withCredentials=!0),"responseType"in i&&g.blob&&(i.responseType="blob"),o.headers.forEach(function(t,e){i.setRequestHeader(e,t)}),i.send(void 0===o._bodyInit?null:o._bodyInit)})},t.fetch.polyfill=!0}}("undefined"!=typeof self?self:this)},function(t,e,r){"use strict";var n=r(290),o=r(291),i=r(147);t.exports={formats:i,parse:o,stringify:n}},function(t,e,r){"use strict";var n=r(146),o=r(147),i={brackets:function(t){return t+"[]"},indices:function(t,e){return t+"["+e+"]"},repeat:function(t){return t}},a=Date.prototype.toISOString,u={delimiter:"&",encode:!0,encoder:n.encode,encodeValuesOnly:!1,serializeDate:function(t){return a.call(t)},skipNulls:!1,strictNullHandling:!1},s=function t(e,r,o,i,a,s,c,f,l,p,h,d){var v=e;if("function"==typeof c)v=c(r,v);else if(v instanceof Date)v=p(v);else if(null===v){if(i)return s&&!d?s(r,u.encoder):r;v=""}if("string"==typeof v||"number"==typeof v||"boolean"==typeof v||n.isBuffer(v)){if(s){return[h(d?r:s(r,u.encoder))+"="+h(s(v,u.encoder))]}return[h(r)+"="+h(String(v))]}var y=[];if(void 0===v)return y;var g;if(Array.isArray(c))g=c;else{var m=Object.keys(v);g=f?m.sort(f):m}for(var b=0;b<g.length;++b){var w=g[b];a&&null===v[w]||(y=Array.isArray(v)?y.concat(t(v[w],o(r,w),o,i,a,s,c,f,l,p,h,d)):y.concat(t(v[w],r+(l?"."+w:"["+w+"]"),o,i,a,s,c,f,l,p,h,d)))}return y};t.exports=function(t,e){var r=t,a=e?n.assign({},e):{};if(null!==a.encoder&&void 0!==a.encoder&&"function"!=typeof a.encoder)throw new TypeError("Encoder has to be a function.");var c=void 0===a.delimiter?u.delimiter:a.delimiter,f="boolean"==typeof a.strictNullHandling?a.strictNullHandling:u.strictNullHandling,l="boolean"==typeof a.skipNulls?a.skipNulls:u.skipNulls,p="boolean"==typeof a.encode?a.encode:u.encode,h="function"==typeof a.encoder?a.encoder:u.encoder,d="function"==typeof a.sort?a.sort:null,v=void 0!==a.allowDots&&a.allowDots,y="function"==typeof a.serializeDate?a.serializeDate:u.serializeDate,g="boolean"==typeof a.encodeValuesOnly?a.encodeValuesOnly:u.encodeValuesOnly;if(void 0===a.format)a.format=o.default;else if(!Object.prototype.hasOwnProperty.call(o.formatters,a.format))throw new TypeError("Unknown format option provided.");var m,b,w=o.formatters[a.format];"function"==typeof a.filter?(b=a.filter,r=b("",r)):Array.isArray(a.filter)&&(b=a.filter,m=b);var x=[];if("object"!=typeof r||null===r)return"";var _;_=a.arrayFormat in i?a.arrayFormat:"indices"in a?a.indices?"indices":"repeat":"indices";var A=i[_];m||(m=Object.keys(r)),d&&m.sort(d);for(var O=0;O<m.length;++O){var j=m[O];l&&null===r[j]||(x=x.concat(s(r[j],j,A,f,l,p?h:null,b,d,v,y,w,g)))}var E=x.join(c),P=!0===a.addQueryPrefix?"?":"";return E.length>0?P+E:""}},function(t,e,r){"use strict";var n=r(146),o=Object.prototype.hasOwnProperty,i={allowDots:!1,allowPrototypes:!1,arrayLimit:20,decoder:n.decode,delimiter:"&",depth:5,parameterLimit:1e3,plainObjects:!1,strictNullHandling:!1},a=function(t,e){for(var r={},n=e.ignoreQueryPrefix?t.replace(/^\?/,""):t,a=e.parameterLimit===1/0?void 0:e.parameterLimit,u=n.split(e.delimiter,a),s=0;s<u.length;++s){var c,f,l=u[s],p=l.indexOf("]="),h=-1===p?l.indexOf("="):p+1;-1===h?(c=e.decoder(l,i.decoder),f=e.strictNullHandling?null:""):(c=e.decoder(l.slice(0,h),i.decoder),f=e.decoder(l.slice(h+1),i.decoder)),o.call(r,c)?r[c]=[].concat(r[c]).concat(f):r[c]=f}return r},u=function(t,e,r){for(var n=e,o=t.length-1;o>=0;--o){var i,a=t[o];if("[]"===a)i=[],i=i.concat(n);else{i=r.plainObjects?Object.create(null):{};var u="["===a.charAt(0)&&"]"===a.charAt(a.length-1)?a.slice(1,-1):a,s=parseInt(u,10);!isNaN(s)&&a!==u&&String(s)===u&&s>=0&&r.parseArrays&&s<=r.arrayLimit?(i=[],i[s]=n):i[u]=n}n=i}return n},s=function(t,e,r){if(t){var n=r.allowDots?t.replace(/\.([^.[]+)/g,"[$1]"):t,i=/(\[[^[\]]*])/,a=/(\[[^[\]]*])/g,s=i.exec(n),c=s?n.slice(0,s.index):n,f=[];if(c){if(!r.plainObjects&&o.call(Object.prototype,c)&&!r.allowPrototypes)return;f.push(c)}for(var l=0;null!==(s=a.exec(n))&&l<r.depth;){if(l+=1,!r.plainObjects&&o.call(Object.prototype,s[1].slice(1,-1))&&!r.allowPrototypes)return;f.push(s[1])}return s&&f.push("["+n.slice(s.index)+"]"),u(f,e,r)}};t.exports=function(t,e){var r=e?n.assign({},e):{};if(null!==r.decoder&&void 0!==r.decoder&&"function"!=typeof r.decoder)throw new TypeError("Decoder has to be a function.");if(r.ignoreQueryPrefix=!0===r.ignoreQueryPrefix,r.delimiter="string"==typeof r.delimiter||n.isRegExp(r.delimiter)?r.delimiter:i.delimiter,r.depth="number"==typeof r.depth?r.depth:i.depth,r.arrayLimit="number"==typeof r.arrayLimit?r.arrayLimit:i.arrayLimit,r.parseArrays=!1!==r.parseArrays,r.decoder="function"==typeof r.decoder?r.decoder:i.decoder,r.allowDots="boolean"==typeof r.allowDots?r.allowDots:i.allowDots,r.plainObjects="boolean"==typeof r.plainObjects?r.plainObjects:i.plainObjects,r.allowPrototypes="boolean"==typeof r.allowPrototypes?r.allowPrototypes:i.allowPrototypes,r.parameterLimit="number"==typeof r.parameterLimit?r.parameterLimit:i.parameterLimit,r.strictNullHandling="boolean"==typeof r.strictNullHandling?r.strictNullHandling:i.strictNullHandling,""===t||null===t||void 0===t)return r.plainObjects?Object.create(null):{};for(var o="string"==typeof t?a(t,r):t,u=r.plainObjects?Object.create(null):{},c=Object.keys(o),f=0;f<c.length;++f){var l=c[f],p=s(l,o[l],r);u=n.merge(u,p,r)}return n.compact(u)}},function(t,e,r){"use strict";function n(t){return function(){throw new Error("Function "+t+" is deprecated and cannot be used.")}}var o=r(293),i=r(314);t.exports.Type=r(1),t.exports.Schema=r(27),t.exports.FAILSAFE_SCHEMA=r(106),t.exports.JSON_SCHEMA=r(150),t.exports.CORE_SCHEMA=r(149),t.exports.DEFAULT_SAFE_SCHEMA=r(42),t.exports.DEFAULT_FULL_SCHEMA=r(65),t.exports.load=o.load,t.exports.loadAll=o.loadAll,t.exports.safeLoad=o.safeLoad,t.exports.safeLoadAll=o.safeLoadAll,t.exports.dump=i.dump,t.exports.safeDump=i.safeDump,t.exports.YAMLException=r(41),t.exports.MINIMAL_SCHEMA=r(106),t.exports.SAFE_SCHEMA=r(42),t.exports.DEFAULT_SCHEMA=r(65),t.exports.scan=n("scan"),t.exports.parse=n("parse"),t.exports.compose=n("compose"),t.exports.addConstructor=n("addConstructor")},function(t,e,r){"use strict";function n(t){return 10===t||13===t}function o(t){return 9===t||32===t}function i(t){return 9===t||32===t||10===t||13===t}function a(t){return 44===t||91===t||93===t||123===t||125===t}function u(t){var e;return 48<=t&&t<=57?t-48:(e=32|t,97<=e&&e<=102?e-97+10:-1)}function s(t){return 120===t?2:117===t?4:85===t?8:0}function c(t){return 48<=t&&t<=57?t-48:-1}function f(t){return 48===t?"\0":97===t?"":98===t?"\b":116===t?"\t":9===t?"\t":110===t?"\n":118===t?"\v":102===t?"\f":114===t?"\r":101===t?"":32===t?" ":34===t?'"':47===t?"/":92===t?"\\":78===t?"…":95===t?" ":76===t?"\u2028":80===t?"\u2029":""}function l(t){return t<=65535?String.fromCharCode(t):String.fromCharCode(55296+(t-65536>>10),56320+(t-65536&1023))}function p(t,e){this.input=t,this.filename=e.filename||null,this.schema=e.schema||$,this.onWarning=e.onWarning||null,this.legacy=e.legacy||!1,this.json=e.json||!1,this.listener=e.listener||null,this.implicitTypes=this.schema.compiledImplicit,this.typeMap=this.schema.compiledTypeMap,this.length=t.length,this.position=0,this.line=0,this.lineStart=0,this.lineIndent=0,this.documents=[]}function h(t,e){return new q(e,new z(t.filename,t.input,t.position,t.line,t.position-t.lineStart))}function d(t,e){throw h(t,e)}function v(t,e){t.onWarning&&t.onWarning.call(null,h(t,e))}function y(t,e,r,n){var o,i,a,u;if(e<r){if(u=t.input.slice(e,r),n)for(o=0,i=u.length;o<i;o+=1)9===(a=u.charCodeAt(o))||32<=a&&a<=1114111||d(t,"expected valid JSON character");else X.test(u)&&d(t,"the stream contains non-printable characters");t.result+=u}}function g(t,e,r,n){var o,i,a,u;for(B.isObject(r)||d(t,"cannot merge mappings; the provided source object is unacceptable"),o=Object.keys(r),a=0,u=o.length;a<u;a+=1)i=o[a],H.call(e,i)||(e[i]=r[i],n[i]=!0)}function m(t,e,r,n,o,i,a,u){var s,c;if(o=String(o),null===e&&(e={}),"tag:yaml.org,2002:merge"===n)if(Array.isArray(i))for(s=0,c=i.length;s<c;s+=1)g(t,e,i[s],r);else g(t,e,i,r);else t.json||H.call(r,o)||!H.call(e,o)||(t.line=a||t.line,t.position=u||t.position,d(t,"duplicated mapping key")),e[o]=i,delete r[o];return e}function b(t){var e;e=t.input.charCodeAt(t.position),10===e?t.position++:13===e?(t.position++,10===t.input.charCodeAt(t.position)&&t.position++):d(t,"a line break is expected"),t.line+=1,t.lineStart=t.position}function w(t,e,r){for(var i=0,a=t.input.charCodeAt(t.position);0!==a;){for(;o(a);)a=t.input.charCodeAt(++t.position);if(e&&35===a)do{a=t.input.charCodeAt(++t.position)}while(10!==a&&13!==a&&0!==a);if(!n(a))break;for(b(t),a=t.input.charCodeAt(t.position),i++,t.lineIndent=0;32===a;)t.lineIndent++,a=t.input.charCodeAt(++t.position)}return-1!==r&&0!==i&&t.lineIndent<r&&v(t,"deficient indentation"),i}function x(t){var e,r=t.position;return!(45!==(e=t.input.charCodeAt(r))&&46!==e||e!==t.input.charCodeAt(r+1)||e!==t.input.charCodeAt(r+2)||(r+=3,0!==(e=t.input.charCodeAt(r))&&!i(e)))}function _(t,e){1===e?t.result+=" ":e>1&&(t.result+=B.repeat("\n",e-1))}function A(t,e,r){var u,s,c,f,l,p,h,d,v,g=t.kind,m=t.result;if(v=t.input.charCodeAt(t.position),i(v)||a(v)||35===v||38===v||42===v||33===v||124===v||62===v||39===v||34===v||37===v||64===v||96===v)return!1;if((63===v||45===v)&&(s=t.input.charCodeAt(t.position+1),i(s)||r&&a(s)))return!1;for(t.kind="scalar",t.result="",c=f=t.position,l=!1;0!==v;){if(58===v){if(s=t.input.charCodeAt(t.position+1),i(s)||r&&a(s))break}else if(35===v){if(u=t.input.charCodeAt(t.position-1),i(u))break}else{if(t.position===t.lineStart&&x(t)||r&&a(v))break;if(n(v)){if(p=t.line,h=t.lineStart,d=t.lineIndent,w(t,!1,-1),t.lineIndent>=e){l=!0,v=t.input.charCodeAt(t.position);continue}t.position=f,t.line=p,t.lineStart=h,t.lineIndent=d;break}}l&&(y(t,c,f,!1),_(t,t.line-p),c=f=t.position,l=!1),o(v)||(f=t.position+1),v=t.input.charCodeAt(++t.position)}return y(t,c,f,!1),!!t.result||(t.kind=g,t.result=m,!1)}function O(t,e){var r,o,i;if(39!==(r=t.input.charCodeAt(t.position)))return!1;for(t.kind="scalar",t.result="",t.position++,o=i=t.position;0!==(r=t.input.charCodeAt(t.position));)if(39===r){if(y(t,o,t.position,!0),39!==(r=t.input.charCodeAt(++t.position)))return!0;o=t.position,t.position++,i=t.position}else n(r)?(y(t,o,i,!0),_(t,w(t,!1,e)),o=i=t.position):t.position===t.lineStart&&x(t)?d(t,"unexpected end of the document within a single quoted scalar"):(t.position++,i=t.position);d(t,"unexpected end of the stream within a single quoted scalar")}function j(t,e){var r,o,i,a,c,f;if(34!==(f=t.input.charCodeAt(t.position)))return!1;for(t.kind="scalar",t.result="",t.position++,r=o=t.position;0!==(f=t.input.charCodeAt(t.position));){if(34===f)return y(t,r,t.position,!0),t.position++,!0;if(92===f){if(y(t,r,t.position,!0),f=t.input.charCodeAt(++t.position),n(f))w(t,!1,e);else if(f<256&&ot[f])t.result+=it[f],t.position++;else if((c=s(f))>0){for(i=c,a=0;i>0;i--)f=t.input.charCodeAt(++t.position),(c=u(f))>=0?a=(a<<4)+c:d(t,"expected hexadecimal character");t.result+=l(a),t.position++}else d(t,"unknown escape sequence");r=o=t.position}else n(f)?(y(t,r,o,!0),_(t,w(t,!1,e)),r=o=t.position):t.position===t.lineStart&&x(t)?d(t,"unexpected end of the document within a double quoted scalar"):(t.position++,o=t.position)}d(t,"unexpected end of the stream within a double quoted scalar")}function E(t,e){var r,n,o,a,u,s,c,f,l,p,h,v=!0,y=t.tag,g=t.anchor,b={};if(91===(h=t.input.charCodeAt(t.position)))a=93,c=!1,n=[];else{if(123!==h)return!1;a=125,c=!0,n={}}for(null!==t.anchor&&(t.anchorMap[t.anchor]=n),h=t.input.charCodeAt(++t.position);0!==h;){if(w(t,!0,e),(h=t.input.charCodeAt(t.position))===a)return t.position++,t.tag=y,t.anchor=g,t.kind=c?"mapping":"sequence",t.result=n,!0;v||d(t,"missed comma between flow collection entries"),l=f=p=null,u=s=!1,63===h&&(o=t.input.charCodeAt(t.position+1),i(o)&&(u=s=!0,t.position++,w(t,!0,e))),r=t.line,R(t,e,V,!1,!0),l=t.tag,f=t.result,w(t,!0,e),h=t.input.charCodeAt(t.position),!s&&t.line!==r||58!==h||(u=!0,h=t.input.charCodeAt(++t.position),w(t,!0,e),R(t,e,V,!1,!0),p=t.result),c?m(t,n,b,l,f,p):u?n.push(m(t,null,b,l,f,p)):n.push(f),w(t,!0,e),h=t.input.charCodeAt(t.position),44===h?(v=!0,h=t.input.charCodeAt(++t.position)):v=!1}d(t,"unexpected end of the stream within a flow collection")}function P(t,e){var r,i,a,u,s=K,f=!1,l=!1,p=e,h=0,v=!1;if(124===(u=t.input.charCodeAt(t.position)))i=!1;else{if(62!==u)return!1;i=!0}for(t.kind="scalar",t.result="";0!==u;)if(43===(u=t.input.charCodeAt(++t.position))||45===u)K===s?s=43===u?Z:Q:d(t,"repeat of a chomping mode identifier");else{if(!((a=c(u))>=0))break;0===a?d(t,"bad explicit indentation width of a block scalar; it cannot be less than one"):l?d(t,"repeat of an indentation width identifier"):(p=e+a-1,l=!0)}if(o(u)){do{u=t.input.charCodeAt(++t.position)}while(o(u));if(35===u)do{u=t.input.charCodeAt(++t.position)}while(!n(u)&&0!==u)}for(;0!==u;){for(b(t),t.lineIndent=0,u=t.input.charCodeAt(t.position);(!l||t.lineIndent<p)&&32===u;)t.lineIndent++,u=t.input.charCodeAt(++t.position);if(!l&&t.lineIndent>p&&(p=t.lineIndent),n(u))h++;else{if(t.lineIndent<p){s===Z?t.result+=B.repeat("\n",f?1+h:h):s===K&&f&&(t.result+="\n");break}for(i?o(u)?(v=!0,t.result+=B.repeat("\n",f?1+h:h)):v?(v=!1,t.result+=B.repeat("\n",h+1)):0===h?f&&(t.result+=" "):t.result+=B.repeat("\n",h):t.result+=B.repeat("\n",f?1+h:h),f=!0,l=!0,h=0,r=t.position;!n(u)&&0!==u;)u=t.input.charCodeAt(++t.position);y(t,r,t.position,!1)}}return!0}function C(t,e){var r,n,o,a=t.tag,u=t.anchor,s=[],c=!1;for(null!==t.anchor&&(t.anchorMap[t.anchor]=s),o=t.input.charCodeAt(t.position);0!==o&&45===o&&(n=t.input.charCodeAt(t.position+1),i(n));)if(c=!0,t.position++,w(t,!0,-1)&&t.lineIndent<=e)s.push(null),o=t.input.charCodeAt(t.position);else if(r=t.line,R(t,e,G,!1,!0),s.push(t.result),w(t,!0,-1),o=t.input.charCodeAt(t.position),(t.line===r||t.lineIndent>e)&&0!==o)d(t,"bad indentation of a sequence entry");else if(t.lineIndent<e)break;return!!c&&(t.tag=a,t.anchor=u,t.kind="sequence",t.result=s,!0)}function S(t,e,r){var n,a,u,s,c,f=t.tag,l=t.anchor,p={},h={},v=null,y=null,g=null,b=!1,x=!1;for(null!==t.anchor&&(t.anchorMap[t.anchor]=p),c=t.input.charCodeAt(t.position);0!==c;){if(n=t.input.charCodeAt(t.position+1),u=t.line,s=t.position,63!==c&&58!==c||!i(n)){if(!R(t,r,J,!1,!0))break;if(t.line===u){for(c=t.input.charCodeAt(t.position);o(c);)c=t.input.charCodeAt(++t.position);if(58===c)c=t.input.charCodeAt(++t.position),i(c)||d(t,"a whitespace character is expected after the key-value separator within a block mapping"),b&&(m(t,p,h,v,y,null),v=y=g=null),x=!0,b=!1,a=!1,v=t.tag,y=t.result;else{if(!x)return t.tag=f,t.anchor=l,!0;d(t,"can not read an implicit mapping pair; a colon is missed")}}else{if(!x)return t.tag=f,t.anchor=l,!0;d(t,"can not read a block mapping entry; a multiline key may not be an implicit key")}}else 63===c?(b&&(m(t,p,h,v,y,null),v=y=g=null),x=!0,b=!0,a=!0):b?(b=!1,a=!0):d(t,"incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"),t.position+=1,c=n;if((t.line===u||t.lineIndent>e)&&(R(t,e,W,!0,a)&&(b?y=t.result:g=t.result),b||(m(t,p,h,v,y,g,u,s),v=y=g=null),w(t,!0,-1),c=t.input.charCodeAt(t.position)),t.lineIndent>e&&0!==c)d(t,"bad indentation of a mapping entry");else if(t.lineIndent<e)break}return b&&m(t,p,h,v,y,null),x&&(t.tag=f,t.anchor=l,t.kind="mapping",t.result=p),x}function k(t){var e,r,n,o,a=!1,u=!1;if(33!==(o=t.input.charCodeAt(t.position)))return!1;if(null!==t.tag&&d(t,"duplication of a tag property"),o=t.input.charCodeAt(++t.position),60===o?(a=!0,o=t.input.charCodeAt(++t.position)):33===o?(u=!0,r="!!",o=t.input.charCodeAt(++t.position)):r="!",e=t.position,a){do{o=t.input.charCodeAt(++t.position)}while(0!==o&&62!==o);t.position<t.length?(n=t.input.slice(e,t.position),o=t.input.charCodeAt(++t.position)):d(t,"unexpected end of the stream within a verbatim tag")}else{for(;0!==o&&!i(o);)33===o&&(u?d(t,"tag suffix cannot contain exclamation marks"):(r=t.input.slice(e-1,t.position+1),rt.test(r)||d(t,"named tag handle cannot contain such characters"),u=!0,e=t.position+1)),o=t.input.charCodeAt(++t.position);n=t.input.slice(e,t.position),et.test(n)&&d(t,"tag suffix cannot contain flow indicator characters")}return n&&!nt.test(n)&&d(t,"tag name cannot contain such characters: "+n),a?t.tag=n:H.call(t.tagMap,r)?t.tag=t.tagMap[r]+n:"!"===r?t.tag="!"+n:"!!"===r?t.tag="tag:yaml.org,2002:"+n:d(t,'undeclared tag handle "'+r+'"'),!0}function T(t){var e,r;if(38!==(r=t.input.charCodeAt(t.position)))return!1;for(null!==t.anchor&&d(t,"duplication of an anchor property"),r=t.input.charCodeAt(++t.position),e=t.position;0!==r&&!i(r)&&!a(r);)r=t.input.charCodeAt(++t.position);return t.position===e&&d(t,"name of an anchor node must contain at least one character"),t.anchor=t.input.slice(e,t.position),!0}function I(t){var e,r,n;if(42!==(n=t.input.charCodeAt(t.position)))return!1;for(n=t.input.charCodeAt(++t.position),e=t.position;0!==n&&!i(n)&&!a(n);)n=t.input.charCodeAt(++t.position);return t.position===e&&d(t,"name of an alias node must contain at least one character"),r=t.input.slice(e,t.position),t.anchorMap.hasOwnProperty(r)||d(t,'unidentified alias "'+r+'"'),t.result=t.anchorMap[r],w(t,!0,-1),!0}function R(t,e,r,n,o){var i,a,u,s,c,f,l,p,h=1,v=!1,y=!1;if(null!==t.listener&&t.listener("open",t),t.tag=null,t.anchor=null,t.kind=null,t.result=null,i=a=u=W===r||G===r,n&&w(t,!0,-1)&&(v=!0,t.lineIndent>e?h=1:t.lineIndent===e?h=0:t.lineIndent<e&&(h=-1)),1===h)for(;k(t)||T(t);)w(t,!0,-1)?(v=!0,u=i,t.lineIndent>e?h=1:t.lineIndent===e?h=0:t.lineIndent<e&&(h=-1)):u=!1;if(u&&(u=v||o),1!==h&&W!==r||(l=V===r||J===r?e:e+1,p=t.position-t.lineStart,1===h?u&&(C(t,p)||S(t,p,l))||E(t,l)?y=!0:(a&&P(t,l)||O(t,l)||j(t,l)?y=!0:I(t)?(y=!0,null===t.tag&&null===t.anchor||d(t,"alias node should not have any properties")):A(t,l,V===r)&&(y=!0,null===t.tag&&(t.tag="?")),null!==t.anchor&&(t.anchorMap[t.anchor]=t.result)):0===h&&(y=u&&C(t,p))),null!==t.tag&&"!"!==t.tag)if("?"===t.tag){for(s=0,c=t.implicitTypes.length;s<c;s+=1)if(f=t.implicitTypes[s],f.resolve(t.result)){t.result=f.construct(t.result),t.tag=f.tag,null!==t.anchor&&(t.anchorMap[t.anchor]=t.result);break}}else H.call(t.typeMap[t.kind||"fallback"],t.tag)?(f=t.typeMap[t.kind||"fallback"][t.tag],null!==t.result&&f.kind!==t.kind&&d(t,"unacceptable node kind for !<"+t.tag+'> tag; it should be "'+f.kind+'", not "'+t.kind+'"'),f.resolve(t.result)?(t.result=f.construct(t.result),null!==t.anchor&&(t.anchorMap[t.anchor]=t.result)):d(t,"cannot resolve a node with !<"+t.tag+"> explicit tag")):d(t,"unknown tag !<"+t.tag+">");return null!==t.listener&&t.listener("close",t),null!==t.tag||null!==t.anchor||y}function M(t){var e,r,a,u,s=t.position,c=!1;for(t.version=null,t.checkLineBreaks=t.legacy,t.tagMap={},t.anchorMap={};0!==(u=t.input.charCodeAt(t.position))&&(w(t,!0,-1),u=t.input.charCodeAt(t.position),!(t.lineIndent>0||37!==u));){for(c=!0,u=t.input.charCodeAt(++t.position),e=t.position;0!==u&&!i(u);)u=t.input.charCodeAt(++t.position);for(r=t.input.slice(e,t.position),a=[],r.length<1&&d(t,"directive name must not be less than one character in length");0!==u;){for(;o(u);)u=t.input.charCodeAt(++t.position);if(35===u){do{u=t.input.charCodeAt(++t.position)}while(0!==u&&!n(u));break}if(n(u))break;for(e=t.position;0!==u&&!i(u);)u=t.input.charCodeAt(++t.position);a.push(t.input.slice(e,t.position))}0!==u&&b(t),H.call(ut,r)?ut[r](t,r,a):v(t,'unknown document directive "'+r+'"')}if(w(t,!0,-1),0===t.lineIndent&&45===t.input.charCodeAt(t.position)&&45===t.input.charCodeAt(t.position+1)&&45===t.input.charCodeAt(t.position+2)?(t.position+=3,w(t,!0,-1)):c&&d(t,"directives end mark is expected"),R(t,t.lineIndent-1,W,!1,!0),w(t,!0,-1),t.checkLineBreaks&&tt.test(t.input.slice(s,t.position))&&v(t,"non-ASCII line breaks are interpreted as content"),t.documents.push(t.result),t.position===t.lineStart&&x(t))return void(46===t.input.charCodeAt(t.position)&&(t.position+=3,w(t,!0,-1)));t.position<t.length-1&&d(t,"end of the stream or a document separator is expected")}function N(t,e){t=String(t),e=e||{},0!==t.length&&(10!==t.charCodeAt(t.length-1)&&13!==t.charCodeAt(t.length-1)&&(t+="\n"),65279===t.charCodeAt(0)&&(t=t.slice(1)));var r=new p(t,e);for(r.input+="\0";32===r.input.charCodeAt(r.position);)r.lineIndent+=1,r.position+=1;for(;r.position<r.length-1;)M(r);return r.documents}function F(t,e,r){var n,o,i=N(t,r);if("function"!=typeof e)return i;for(n=0,o=i.length;n<o;n+=1)e(i[n])}function L(t,e){var r=N(t,e);if(0!==r.length){if(1===r.length)return r[0];throw new q("expected a single document in the stream, but found more")}}function D(t,e,r){if("function"!=typeof e)return F(t,B.extend({schema:Y},r));F(t,e,B.extend({schema:Y},r))}function U(t,e){return L(t,B.extend({schema:Y},e))}for(var B=r(26),q=r(41),z=r(294),Y=r(42),$=r(65),H=Object.prototype.hasOwnProperty,V=1,J=2,G=3,W=4,K=1,Q=2,Z=3,X=/[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,tt=/[\x85\u2028\u2029]/,et=/[,\[\]\{\}]/,rt=/^(?:!|!!|![a-z\-]+!)$/i,nt=/^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i,ot=new Array(256),it=new Array(256),at=0;at<256;at++)ot[at]=f(at)?1:0,it[at]=f(at);var ut={YAML:function(t,e,r){var n,o,i;null!==t.version&&d(t,"duplication of %YAML directive"),1!==r.length&&d(t,"YAML directive accepts exactly one argument"),n=/^([0-9]+)\.([0-9]+)$/.exec(r[0]),null===n&&d(t,"ill-formed argument of the YAML directive"),o=parseInt(n[1],10),i=parseInt(n[2],10),1!==o&&d(t,"unacceptable YAML version of the document"),t.version=r[0],t.checkLineBreaks=i<2,1!==i&&2!==i&&v(t,"unsupported YAML version of the document")},TAG:function(t,e,r){var n,o;2!==r.length&&d(t,"TAG directive accepts exactly two arguments"),n=r[0],o=r[1],rt.test(n)||d(t,"ill-formed tag handle (first argument) of the TAG directive"),H.call(t.tagMap,n)&&d(t,'there is a previously declared suffix for "'+n+'" tag handle'),nt.test(o)||d(t,"ill-formed tag prefix (second argument) of the TAG directive"),t.tagMap[n]=o}};t.exports.loadAll=F,t.exports.load=L,t.exports.safeLoadAll=D,t.exports.safeLoad=U},function(t,e,r){"use strict";function n(t,e,r,n,o){this.name=t,this.buffer=e,this.position=r,this.line=n,this.column=o}var o=r(26);n.prototype.getSnippet=function(t,e){var r,n,i,a,u;if(!this.buffer)return null;for(t=t||4,e=e||75,r="",n=this.position;n>0&&-1==="\0\r\n…\u2028\u2029".indexOf(this.buffer.charAt(n-1));)if(n-=1,this.position-n>e/2-1){r=" ... ",n+=5;break}for(i="",a=this.position;a<this.buffer.length&&-1==="\0\r\n…\u2028\u2029".indexOf(this.buffer.charAt(a));)if((a+=1)-this.position>e/2-1){i=" ... ",a-=5;break}return u=this.buffer.slice(n,a),o.repeat(" ",t)+r+u+i+"\n"+o.repeat(" ",t+this.position-n+r.length)+"^"},n.prototype.toString=function(t){var e,r="";return this.name&&(r+='in "'+this.name+'" '),r+="at line "+(this.line+1)+", column "+(this.column+1),t||(e=this.getSnippet())&&(r+=":\n"+e),r},t.exports=n},function(t,e,r){"use strict";var n=r(1);t.exports=new n("tag:yaml.org,2002:str",{kind:"scalar",construct:function(t){return null!==t?t:""}})},function(t,e,r){"use strict";var n=r(1);t.exports=new n("tag:yaml.org,2002:seq",{kind:"sequence",construct:function(t){return null!==t?t:[]}})},function(t,e,r){"use strict";var n=r(1);t.exports=new n("tag:yaml.org,2002:map",{kind:"mapping",construct:function(t){return null!==t?t:{}}})},function(t,e,r){"use strict";function n(t){if(null===t)return!0;var e=t.length;return 1===e&&"~"===t||4===e&&("null"===t||"Null"===t||"NULL"===t)}function o(){return null}function i(t){return null===t}var a=r(1);t.exports=new a("tag:yaml.org,2002:null",{kind:"scalar",resolve:n,construct:o,predicate:i,represent:{canonical:function(){return"~"},lowercase:function(){return"null"},uppercase:function(){return"NULL"},camelcase:function(){return"Null"}},defaultStyle:"lowercase"})},function(t,e,r){"use strict";function n(t){if(null===t)return!1;var e=t.length;return 4===e&&("true"===t||"True"===t||"TRUE"===t)||5===e&&("false"===t||"False"===t||"FALSE"===t)}function o(t){return"true"===t||"True"===t||"TRUE"===t}function i(t){return"[object Boolean]"===Object.prototype.toString.call(t)}var a=r(1);t.exports=new a("tag:yaml.org,2002:bool",{kind:"scalar",resolve:n,construct:o,predicate:i,represent:{lowercase:function(t){return t?"true":"false"},uppercase:function(t){return t?"TRUE":"FALSE"},camelcase:function(t){return t?"True":"False"}},defaultStyle:"lowercase"})},function(t,e,r){"use strict";function n(t){return 48<=t&&t<=57||65<=t&&t<=70||97<=t&&t<=102}function o(t){return 48<=t&&t<=55}function i(t){return 48<=t&&t<=57}function a(t){if(null===t)return!1;var e,r=t.length,a=0,u=!1;if(!r)return!1;if(e=t[a],"-"!==e&&"+"!==e||(e=t[++a]),"0"===e){if(a+1===r)return!0;if("b"===(e=t[++a])){for(a++;a<r;a++)if("_"!==(e=t[a])){if("0"!==e&&"1"!==e)return!1;u=!0}return u&&"_"!==e}if("x"===e){for(a++;a<r;a++)if("_"!==(e=t[a])){if(!n(t.charCodeAt(a)))return!1;u=!0}return u&&"_"!==e}for(;a<r;a++)if("_"!==(e=t[a])){if(!o(t.charCodeAt(a)))return!1;u=!0}return u&&"_"!==e}if("_"===e)return!1;for(;a<r;a++)if("_"!==(e=t[a])){if(":"===e)break;if(!i(t.charCodeAt(a)))return!1;u=!0}return!(!u||"_"===e)&&(":"!==e||/^(:[0-5]?[0-9])+$/.test(t.slice(a)))}function u(t){var e,r,n=t,o=1,i=[];return-1!==n.indexOf("_")&&(n=n.replace(/_/g,"")),e=n[0],"-"!==e&&"+"!==e||("-"===e&&(o=-1),n=n.slice(1),e=n[0]),"0"===n?0:"0"===e?"b"===n[1]?o*parseInt(n.slice(2),2):"x"===n[1]?o*parseInt(n,16):o*parseInt(n,8):-1!==n.indexOf(":")?(n.split(":").forEach(function(t){i.unshift(parseInt(t,10))}),n=0,r=1,i.forEach(function(t){n+=t*r,r*=60}),o*n):o*parseInt(n,10)}function s(t){return"[object Number]"===Object.prototype.toString.call(t)&&t%1==0&&!c.isNegativeZero(t)}var c=r(26),f=r(1);t.exports=new f("tag:yaml.org,2002:int",{kind:"scalar",resolve:a,construct:u,predicate:s,represent:{binary:function(t){return t>=0?"0b"+t.toString(2):"-0b"+t.toString(2).slice(1)},octal:function(t){return t>=0?"0"+t.toString(8):"-0"+t.toString(8).slice(1)},decimal:function(t){return t.toString(10)},hexadecimal:function(t){return t>=0?"0x"+t.toString(16).toUpperCase():"-0x"+t.toString(16).toUpperCase().slice(1)}},defaultStyle:"decimal",styleAliases:{binary:[2,"bin"],octal:[8,"oct"],decimal:[10,"dec"],hexadecimal:[16,"hex"]}})},function(t,e,r){"use strict";function n(t){return null!==t&&!(!c.test(t)||"_"===t[t.length-1])}function o(t){var e,r,n,o;return e=t.replace(/_/g,"").toLowerCase(),r="-"===e[0]?-1:1,o=[],"+-".indexOf(e[0])>=0&&(e=e.slice(1)),".inf"===e?1===r?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY:".nan"===e?NaN:e.indexOf(":")>=0?(e.split(":").forEach(function(t){o.unshift(parseFloat(t,10))}),e=0,n=1,o.forEach(function(t){e+=t*n,n*=60}),r*e):r*parseFloat(e,10)}function i(t,e){var r;if(isNaN(t))switch(e){case"lowercase":return".nan";case"uppercase":return".NAN";case"camelcase":return".NaN"}else if(Number.POSITIVE_INFINITY===t)switch(e){case"lowercase":return".inf";case"uppercase":return".INF";case"camelcase":return".Inf"}else if(Number.NEGATIVE_INFINITY===t)switch(e){case"lowercase":return"-.inf";case"uppercase":return"-.INF";case"camelcase":return"-.Inf"}else if(u.isNegativeZero(t))return"-0.0";return r=t.toString(10),f.test(r)?r.replace("e",".e"):r}function a(t){return"[object Number]"===Object.prototype.toString.call(t)&&(t%1!=0||u.isNegativeZero(t))}var u=r(26),s=r(1),c=new RegExp("^(?:[-+]?(?:0|[1-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+\\.[0-9_]*|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$"),f=/^[-+]?[0-9]+e/;t.exports=new s("tag:yaml.org,2002:float",{kind:"scalar",resolve:n,construct:o,predicate:a,represent:i,defaultStyle:"lowercase"})},function(t,e,r){"use strict";function n(t){return null!==t&&(null!==u.exec(t)||null!==s.exec(t))}function o(t){var e,r,n,o,i,a,c,f,l,p,h=0,d=null;if(e=u.exec(t),null===e&&(e=s.exec(t)),null===e)throw new Error("Date resolve error");if(r=+e[1],n=+e[2]-1,o=+e[3],!e[4])return new Date(Date.UTC(r,n,o));if(i=+e[4],a=+e[5],c=+e[6],e[7]){for(h=e[7].slice(0,3);h.length<3;)h+="0";h=+h}return e[9]&&(f=+e[10],l=+(e[11]||0),d=6e4*(60*f+l),"-"===e[9]&&(d=-d)),p=new Date(Date.UTC(r,n,o,i,a,c,h)),d&&p.setTime(p.getTime()-d),p}function i(t){return t.toISOString()}var a=r(1),u=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"),s=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:[Tt]|[ \\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\.([0-9]*))?(?:[ \\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?$");t.exports=new a("tag:yaml.org,2002:timestamp",{kind:"scalar",resolve:n,construct:o,instanceOf:Date,represent:i})},function(t,e,r){"use strict";function n(t){return"<<"===t||null===t}var o=r(1);t.exports=new o("tag:yaml.org,2002:merge",{kind:"scalar",resolve:n})},function(t,e,r){"use strict";function n(t){if(null===t)return!1;var e,r,n=0,o=t.length,i=c;for(r=0;r<o;r++)if(!((e=i.indexOf(t.charAt(r)))>64)){if(e<0)return!1;n+=6}return n%8==0}function o(t){var e,r,n=t.replace(/[\r\n=]/g,""),o=n.length,i=c,a=0,s=[];for(e=0;e<o;e++)e%4==0&&e&&(s.push(a>>16&255),s.push(a>>8&255),s.push(255&a)),a=a<<6|i.indexOf(n.charAt(e));return r=o%4*6,0===r?(s.push(a>>16&255),s.push(a>>8&255),s.push(255&a)):18===r?(s.push(a>>10&255),s.push(a>>2&255)):12===r&&s.push(a>>4&255),u?u.from?u.from(s):new u(s):s}function i(t){var e,r,n="",o=0,i=t.length,a=c;for(e=0;e<i;e++)e%3==0&&e&&(n+=a[o>>18&63],n+=a[o>>12&63],n+=a[o>>6&63],n+=a[63&o]),o=(o<<8)+t[e];return r=i%3,0===r?(n+=a[o>>18&63],n+=a[o>>12&63],n+=a[o>>6&63],n+=a[63&o]):2===r?(n+=a[o>>10&63],n+=a[o>>4&63],n+=a[o<<2&63],n+=a[64]):1===r&&(n+=a[o>>2&63],n+=a[o<<4&63],n+=a[64],n+=a[64]),n}function a(t){return u&&u.isBuffer(t)}var u;try{u=r(43).Buffer}catch(t){}var s=r(1),c="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=\n\r";t.exports=new s("tag:yaml.org,2002:binary",{kind:"scalar",resolve:n,construct:o,predicate:a,represent:i})},function(t,e,r){"use strict";function n(t){var e=t.length;if(e%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var r=t.indexOf("=");return-1===r&&(r=e),[r,r===e?0:4-r%4]}function o(t){var e=n(t),r=e[0],o=e[1];return 3*(r+o)/4-o}function i(t,e,r){return 3*(e+r)/4-r}function a(t){for(var e,r=n(t),o=r[0],a=r[1],u=new p(i(t,o,a)),s=0,c=a>0?o-4:o,f=0;f<c;f+=4)e=l[t.charCodeAt(f)]<<18|l[t.charCodeAt(f+1)]<<12|l[t.charCodeAt(f+2)]<<6|l[t.charCodeAt(f+3)],u[s++]=e>>16&255,u[s++]=e>>8&255,u[s++]=255&e;return 2===a&&(e=l[t.charCodeAt(f)]<<2|l[t.charCodeAt(f+1)]>>4,u[s++]=255&e),1===a&&(e=l[t.charCodeAt(f)]<<10|l[t.charCodeAt(f+1)]<<4|l[t.charCodeAt(f+2)]>>2,u[s++]=e>>8&255,u[s++]=255&e),u}function u(t){return f[t>>18&63]+f[t>>12&63]+f[t>>6&63]+f[63&t]}function s(t,e,r){for(var n,o=[],i=e;i<r;i+=3)n=(t[i]<<16&16711680)+(t[i+1]<<8&65280)+(255&t[i+2]),o.push(u(n));return o.join("")}function c(t){for(var e,r=t.length,n=r%3,o=[],i=0,a=r-n;i<a;i+=16383)o.push(s(t,i,i+16383>a?a:i+16383));return 1===n?(e=t[r-1],o.push(f[e>>2]+f[e<<4&63]+"==")):2===n&&(e=(t[r-2]<<8)+t[r-1],o.push(f[e>>10]+f[e>>4&63]+f[e<<2&63]+"=")),o.join("")}e.byteLength=o,e.toByteArray=a,e.fromByteArray=c;for(var f=[],l=[],p="undefined"!=typeof Uint8Array?Uint8Array:Array,h="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",d=0,v=h.length;d<v;++d)f[d]=h[d],l[h.charCodeAt(d)]=d;l["-".charCodeAt(0)]=62,l["_".charCodeAt(0)]=63},function(t,e){e.read=function(t,e,r,n,o){var i,a,u=8*o-n-1,s=(1<<u)-1,c=s>>1,f=-7,l=r?o-1:0,p=r?-1:1,h=t[e+l];for(l+=p,i=h&(1<<-f)-1,h>>=-f,f+=u;f>0;i=256*i+t[e+l],l+=p,f-=8);for(a=i&(1<<-f)-1,i>>=-f,f+=n;f>0;a=256*a+t[e+l],l+=p,f-=8);if(0===i)i=1-c;else{if(i===s)return a?NaN:1/0*(h?-1:1);a+=Math.pow(2,n),i-=c}return(h?-1:1)*a*Math.pow(2,i-n)},e.write=function(t,e,r,n,o,i){var a,u,s,c=8*i-o-1,f=(1<<c)-1,l=f>>1,p=23===o?Math.pow(2,-24)-Math.pow(2,-77):0,h=n?0:i-1,d=n?1:-1,v=e<0||0===e&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(u=isNaN(e)?1:0,a=f):(a=Math.floor(Math.log(e)/Math.LN2),e*(s=Math.pow(2,-a))<1&&(a--,s*=2),e+=a+l>=1?p/s:p*Math.pow(2,1-l),e*s>=2&&(a++,s/=2),a+l>=f?(u=0,a=f):a+l>=1?(u=(e*s-1)*Math.pow(2,o),a+=l):(u=e*Math.pow(2,l-1)*Math.pow(2,o),a=0));o>=8;t[r+h]=255&u,h+=d,u/=256,o-=8);for(a=a<<o|u,c+=o;c>0;t[r+h]=255&a,h+=d,a/=256,c-=8);t[r+h-d]|=128*v}},function(t,e){var r={}.toString;t.exports=Array.isArray||function(t){return"[object Array]"==r.call(t)}},function(t,e,r){"use strict";function n(t){if(null===t)return!0;var e,r,n,o,i,s=[],c=t;for(e=0,r=c.length;e<r;e+=1){if(n=c[e],i=!1,"[object Object]"!==u.call(n))return!1;for(o in n)if(a.call(n,o)){if(i)return!1;i=!0}if(!i)return!1;if(-1!==s.indexOf(o))return!1;s.push(o)}return!0}function o(t){return null!==t?t:[]}var i=r(1),a=Object.prototype.hasOwnProperty,u=Object.prototype.toString;t.exports=new i("tag:yaml.org,2002:omap",{kind:"sequence",resolve:n,construct:o})},function(t,e,r){"use strict";function n(t){if(null===t)return!0;var e,r,n,o,i,u=t;for(i=new Array(u.length),e=0,r=u.length;e<r;e+=1){if(n=u[e],"[object Object]"!==a.call(n))return!1;if(o=Object.keys(n),1!==o.length)return!1;i[e]=[o[0],n[o[0]]]}return!0}function o(t){if(null===t)return[];var e,r,n,o,i,a=t;for(i=new Array(a.length),e=0,r=a.length;e<r;e+=1)n=a[e],o=Object.keys(n),i[e]=[o[0],n[o[0]]];return i}var i=r(1),a=Object.prototype.toString;t.exports=new i("tag:yaml.org,2002:pairs",{kind:"sequence",resolve:n,construct:o})},function(t,e,r){"use strict";function n(t){if(null===t)return!0;var e,r=t;for(e in r)if(a.call(r,e)&&null!==r[e])return!1;return!0}function o(t){return null!==t?t:{}}var i=r(1),a=Object.prototype.hasOwnProperty;t.exports=new i("tag:yaml.org,2002:set",{kind:"mapping",resolve:n,construct:o})},function(t,e,r){"use strict";function n(){return!0}function o(){}function i(){return""}function a(t){return void 0===t}var u=r(1);t.exports=new u("tag:yaml.org,2002:js/undefined",{kind:"scalar",resolve:n,construct:o,predicate:a,represent:i})},function(t,e,r){"use strict";function n(t){if(null===t)return!1;if(0===t.length)return!1;var e=t,r=/\/([gim]*)$/.exec(t),n="";if("/"===e[0]){if(r&&(n=r[1]),n.length>3)return!1;if("/"!==e[e.length-n.length-1])return!1}return!0}function o(t){var e=t,r=/\/([gim]*)$/.exec(t),n="";return"/"===e[0]&&(r&&(n=r[1]),e=e.slice(1,e.length-n.length-1)),new RegExp(e,n)}function i(t){var e="/"+t.source+"/";return t.global&&(e+="g"),t.multiline&&(e+="m"),t.ignoreCase&&(e+="i"),e}function a(t){return"[object RegExp]"===Object.prototype.toString.call(t)}var u=r(1);t.exports=new u("tag:yaml.org,2002:js/regexp",{kind:"scalar",resolve:n,construct:o,predicate:a,represent:i})},function(t,e,r){"use strict";function n(t){if(null===t)return!1;try{var e="("+t+")",r=u.parse(e,{range:!0});return"Program"===r.type&&1===r.body.length&&"ExpressionStatement"===r.body[0].type&&("ArrowFunctionExpression"===r.body[0].expression.type||"FunctionExpression"===r.body[0].expression.type)}catch(t){return!1}}function o(t){var e,r="("+t+")",n=u.parse(r,{range:!0}),o=[];if("Program"!==n.type||1!==n.body.length||"ExpressionStatement"!==n.body[0].type||"ArrowFunctionExpression"!==n.body[0].expression.type&&"FunctionExpression"!==n.body[0].expression.type)throw new Error("Failed to resolve function");return n.body[0].expression.params.forEach(function(t){o.push(t.name)}),e=n.body[0].expression.body.range,"BlockStatement"===n.body[0].expression.body.type?new Function(o,r.slice(e[0]+1,e[1]-1)):new Function(o,"return "+r.slice(e[0],e[1]))}function i(t){return t.toString()}function a(t){return"[object Function]"===Object.prototype.toString.call(t)}var u;"undefined"!=typeof window&&(u=window.esprima);var s=r(1);t.exports=new s("tag:yaml.org,2002:js/function",{kind:"scalar",resolve:n,construct:o,predicate:a,represent:i})},function(t,e,r){"use strict";function n(t,e){var r,n,o,i,a,u,s;if(null===e)return{};for(r={},n=Object.keys(e),o=0,i=n.length;o<i;o+=1)a=n[o],u=String(e[a]),"!!"===a.slice(0,2)&&(a="tag:yaml.org,2002:"+a.slice(2)),s=t.compiledTypeMap.fallback[a],s&&F.call(s.styleAliases,u)&&(u=s.styleAliases[u]),r[a]=u;return r}function o(t){var e,r,n;if(e=t.toString(16).toUpperCase(),t<=255)r="x",n=2;else if(t<=65535)r="u",n=4;else{if(!(t<=4294967295))throw new I("code point within a string may not be greater than 0xFFFFFFFF");r="U",n=8}return"\\"+r+T.repeat("0",n-e.length)+e}function i(t){this.schema=t.schema||R,this.indent=Math.max(1,t.indent||2),this.skipInvalid=t.skipInvalid||!1,this.flowLevel=T.isNothing(t.flowLevel)?-1:t.flowLevel,this.styleMap=n(this.schema,t.styles||null),this.sortKeys=t.sortKeys||!1,this.lineWidth=t.lineWidth||80,this.noRefs=t.noRefs||!1,this.noCompatMode=t.noCompatMode||!1,this.condenseFlow=t.condenseFlow||!1,this.implicitTypes=this.schema.compiledImplicit,this.explicitTypes=this.schema.compiledExplicit,this.tag=null,this.result="",this.duplicates=[],this.usedDuplicates=null}function a(t,e){for(var r,n=T.repeat(" ",e),o=0,i=-1,a="",u=t.length;o<u;)i=t.indexOf("\n",o),-1===i?(r=t.slice(o),o=u):(r=t.slice(o,i+1),o=i+1),r.length&&"\n"!==r&&(a+=n),a+=r;return a}function u(t,e){return"\n"+T.repeat(" ",t.indent*e)}function s(t,e){var r,n,o;for(r=0,n=t.implicitTypes.length;r<n;r+=1)if(o=t.implicitTypes[r],o.resolve(e))return!0;return!1}function c(t){return t===U||t===L}function f(t){return 32<=t&&t<=126||161<=t&&t<=55295&&8232!==t&&8233!==t||57344<=t&&t<=65533&&65279!==t||65536<=t&&t<=1114111}function l(t){return f(t)&&65279!==t&&t!==J&&t!==X&&t!==tt&&t!==rt&&t!==ot&&t!==W&&t!==z}function p(t){return f(t)&&65279!==t&&!c(t)&&t!==G&&t!==Q&&t!==W&&t!==J&&t!==X&&t!==tt&&t!==rt&&t!==ot&&t!==z&&t!==$&&t!==V&&t!==B&&t!==nt&&t!==K&&t!==H&&t!==q&&t!==Y&&t!==Z&&t!==et}function h(t){return/^\n* /.test(t)}function d(t,e,r,n,o){var i,a,u=!1,s=!1,d=-1!==n,v=-1,y=p(t.charCodeAt(0))&&!c(t.charCodeAt(t.length-1));if(e)for(i=0;i<t.length;i++){if(a=t.charCodeAt(i),!f(a))return lt;y=y&&l(a)}else{for(i=0;i<t.length;i++){if((a=t.charCodeAt(i))===D)u=!0,d&&(s=s||i-v-1>n&&" "!==t[v+1],v=i);else if(!f(a))return lt;y=y&&l(a)}s=s||d&&i-v-1>n&&" "!==t[v+1]}return u||s?r>9&&h(t)?lt:s?ft:ct:y&&!o(t)?ut:st}function v(t,e,r,n){t.dump=function(){function o(e){return s(t,e)}if(0===e.length)return"''";if(!t.noCompatMode&&-1!==at.indexOf(e))return"'"+e+"'";var i=t.indent*Math.max(1,r),u=-1===t.lineWidth?-1:Math.max(Math.min(t.lineWidth,40),t.lineWidth-i),c=n||t.flowLevel>-1&&r>=t.flowLevel;switch(d(e,c,t.indent,u,o)){case ut:return e;case st:return"'"+e.replace(/'/g,"''")+"'";case ct:return"|"+y(e,t.indent)+g(a(e,i));case ft:return">"+y(e,t.indent)+g(a(m(e,u),i));case lt:return'"'+w(e)+'"';default:throw new I("impossible error: invalid scalar style")}}()}function y(t,e){var r=h(t)?String(e):"",n="\n"===t[t.length-1];return r+(!n||"\n"!==t[t.length-2]&&"\n"!==t?n?"":"-":"+")+"\n"}function g(t){return"\n"===t[t.length-1]?t.slice(0,-1):t}function m(t,e){for(var r,n,o=/(\n+)([^\n]*)/g,i=function(){var r=t.indexOf("\n");return r=-1!==r?r:t.length,o.lastIndex=r,b(t.slice(0,r),e)}(),a="\n"===t[0]||" "===t[0];n=o.exec(t);){var u=n[1],s=n[2];r=" "===s[0],i+=u+(a||r||""===s?"":"\n")+b(s,e),a=r}return i}function b(t,e){if(""===t||" "===t[0])return t;for(var r,n,o=/ [^ ]/g,i=0,a=0,u=0,s="";r=o.exec(t);)u=r.index,u-i>e&&(n=a>i?a:u,s+="\n"+t.slice(i,n),i=n+1),a=u;return s+="\n",t.length-i>e&&a>i?s+=t.slice(i,a)+"\n"+t.slice(a+1):s+=t.slice(i),s.slice(1)}function w(t){for(var e,r,n,i="",a=0;a<t.length;a++)e=t.charCodeAt(a),e>=55296&&e<=56319&&(r=t.charCodeAt(a+1))>=56320&&r<=57343?(i+=o(1024*(e-55296)+r-56320+65536),a++):(n=it[e],i+=!n&&f(e)?t[a]:n||o(e));return i}function x(t,e,r){var n,o,i="",a=t.tag;for(n=0,o=r.length;n<o;n+=1)E(t,e,r[n],!1,!1)&&(0!==n&&(i+=","+(t.condenseFlow?"":" ")),i+=t.dump);t.tag=a,t.dump="["+i+"]"}function _(t,e,r,n){var o,i,a="",s=t.tag;for(o=0,i=r.length;o<i;o+=1)E(t,e+1,r[o],!0,!0)&&(n&&0===o||(a+=u(t,e)),t.dump&&D===t.dump.charCodeAt(0)?a+="-":a+="- ",a+=t.dump);t.tag=s,t.dump=a||"[]"}function A(t,e,r){var n,o,i,a,u,s="",c=t.tag,f=Object.keys(r);for(n=0,o=f.length;n<o;n+=1)u=t.condenseFlow?'"':"",0!==n&&(u+=", "),i=f[n],a=r[i],E(t,e,i,!1,!1)&&(t.dump.length>1024&&(u+="? "),u+=t.dump+(t.condenseFlow?'"':"")+":"+(t.condenseFlow?"":" "),E(t,e,a,!1,!1)&&(u+=t.dump,s+=u));t.tag=c,t.dump="{"+s+"}"}function O(t,e,r,n){var o,i,a,s,c,f,l="",p=t.tag,h=Object.keys(r);if(!0===t.sortKeys)h.sort();else if("function"==typeof t.sortKeys)h.sort(t.sortKeys);else if(t.sortKeys)throw new I("sortKeys must be a boolean or a function");for(o=0,i=h.length;o<i;o+=1)f="",n&&0===o||(f+=u(t,e)),a=h[o],s=r[a],E(t,e+1,a,!0,!0,!0)&&(c=null!==t.tag&&"?"!==t.tag||t.dump&&t.dump.length>1024,c&&(t.dump&&D===t.dump.charCodeAt(0)?f+="?":f+="? "),f+=t.dump,c&&(f+=u(t,e)),E(t,e+1,s,!0,c)&&(t.dump&&D===t.dump.charCodeAt(0)?f+=":":f+=": ",f+=t.dump,l+=f));t.tag=p,t.dump=l||"{}"}function j(t,e,r){var n,o,i,a,u,s;for(o=r?t.explicitTypes:t.implicitTypes,i=0,a=o.length;i<a;i+=1)if(u=o[i],(u.instanceOf||u.predicate)&&(!u.instanceOf||"object"==typeof e&&e instanceof u.instanceOf)&&(!u.predicate||u.predicate(e))){if(t.tag=r?u.tag:"?",u.represent){if(s=t.styleMap[u.tag]||u.defaultStyle,"[object Function]"===N.call(u.represent))n=u.represent(e,s);else{if(!F.call(u.represent,s))throw new I("!<"+u.tag+'> tag resolver accepts not "'+s+'" style');n=u.represent[s](e,s)}t.dump=n}return!0}return!1}function E(t,e,r,n,o,i){t.tag=null,t.dump=r,j(t,r,!1)||j(t,r,!0);var a=N.call(t.dump);n&&(n=t.flowLevel<0||t.flowLevel>e);var u,s,c="[object Object]"===a||"[object Array]"===a;if(c&&(u=t.duplicates.indexOf(r),s=-1!==u),(null!==t.tag&&"?"!==t.tag||s||2!==t.indent&&e>0)&&(o=!1),s&&t.usedDuplicates[u])t.dump="*ref_"+u;else{if(c&&s&&!t.usedDuplicates[u]&&(t.usedDuplicates[u]=!0),"[object Object]"===a)n&&0!==Object.keys(t.dump).length?(O(t,e,t.dump,o),s&&(t.dump="&ref_"+u+t.dump)):(A(t,e,t.dump),s&&(t.dump="&ref_"+u+" "+t.dump));else if("[object Array]"===a)n&&0!==t.dump.length?(_(t,e,t.dump,o),s&&(t.dump="&ref_"+u+t.dump)):(x(t,e,t.dump),s&&(t.dump="&ref_"+u+" "+t.dump));else{if("[object String]"!==a){if(t.skipInvalid)return!1;throw new I("unacceptable kind of an object to dump "+a)}"?"!==t.tag&&v(t,t.dump,e,i)}null!==t.tag&&"?"!==t.tag&&(t.dump="!<"+t.tag+"> "+t.dump)}return!0}function P(t,e){var r,n,o=[],i=[];for(C(t,o,i),r=0,n=i.length;r<n;r+=1)e.duplicates.push(o[i[r]]);e.usedDuplicates=new Array(n)}function C(t,e,r){var n,o,i;if(null!==t&&"object"==typeof t)if(-1!==(o=e.indexOf(t)))-1===r.indexOf(o)&&r.push(o);else if(e.push(t),Array.isArray(t))for(o=0,i=t.length;o<i;o+=1)C(t[o],e,r);else for(n=Object.keys(t),o=0,i=n.length;o<i;o+=1)C(t[n[o]],e,r)}function S(t,e){e=e||{};var r=new i(e);return r.noRefs||P(t,r),E(r,0,t,!0,!0)?r.dump+"\n":""}function k(t,e){return S(t,T.extend({schema:M},e))}var T=r(26),I=r(41),R=r(65),M=r(42),N=Object.prototype.toString,F=Object.prototype.hasOwnProperty,L=9,D=10,U=32,B=33,q=34,z=35,Y=37,$=38,H=39,V=42,J=44,G=45,W=58,K=62,Q=63,Z=64,X=91,tt=93,et=96,rt=123,nt=124,ot=125,it={};it[0]="\\0",it[7]="\\a",it[8]="\\b",it[9]="\\t",it[10]="\\n",it[11]="\\v",it[12]="\\f",it[13]="\\r",it[27]="\\e",it[34]='\\"',it[92]="\\\\",it[133]="\\N",it[160]="\\_",it[8232]="\\L",it[8233]="\\P";var at=["y","Y","yes","Yes","YES","on","On","ON","n","N","no","No","NO","off","Off","OFF"],ut=1,st=2,ct=3,ft=4,lt=5;t.exports.dump=S,t.exports.safeDump=k},function(t,e,r){function n(t){return"string"==typeof t||!i(t)&&a(t)&&o(t)==u}var o=r(21),i=r(6),a=r(13),u="[object String]";t.exports=n},function(t,e){t.exports=FormData},function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}function o(t){return new U(t).dispatch()}Object.defineProperty(e,"__esModule",{value:!0}),e.plugins=e.SpecMap=void 0;var i=r(62),a=n(i),u=r(18),s=n(u),c=r(102),f=n(c),l=r(40),p=n(l),h=r(11),d=n(h),v=r(96),y=n(v),g=r(318),m=n(g),b=r(14),w=n(b),x=r(152),_=n(x),A=r(153),O=n(A);e.default=o;var j=r(323),E=n(j),P=r(68),C=n(P),S=r(360),k=n(S),T=r(374),I=n(T),R=r(375),M=n(R),N=r(376),F=n(N),L=r(377),D=n(L),U=function(){function t(e){(0,_.default)(this,t),(0,w.default)(this,{spec:"",debugLevel:"info",plugins:[],pluginHistory:{},errors:[],mutations:[],promisedPatches:[],state:{},patches:[],context:{},contextTree:new D.default,showDebug:!1,allPatches:[],pluginProp:"specMap",libMethods:(0,w.default)((0,m.default)(this),C.default),allowMetaPatches:!1},e),this.get=this._get.bind(this),this.getContext=this._getContext.bind(this),this.hasRun=this._hasRun.bind(this),this.wrappedPlugins=this.plugins.map(this.wrapPlugin.bind(this)).filter(C.default.isFunction),this.patches.push(C.default.add([],this.spec)),this.patches.push(C.default.context([],this.context)),this.updatePatches(this.patches)}return(0,O.default)(t,[{key:"debug",value:function(t){if(this.debugLevel===t){for(var e,r=arguments.length,n=Array(r>1?r-1:0),o=1;o<r;o++)n[o-1]=arguments[o];(e=console).log.apply(e,n)}}},{key:"verbose",value:function(t){if("verbose"===this.debugLevel){for(var e,r=arguments.length,n=Array(r>1?r-1:0),o=1;o<r;o++)n[o-1]=arguments[o];(e=console).log.apply(e,["["+t+"] "].concat(n))}}},{key:"wrapPlugin",value:function(t,e){var r=this.pathDiscriminator,n=null,o=void 0;return t[this.pluginProp]?(n=t,o=t[this.pluginProp]):C.default.isFunction(t)?o=t:C.default.isObject(t)&&(o=function(t){var e=function(t,e){return!Array.isArray(t)||t.every(function(t,r){return t===e[r]})};return p.default.mark(function n(o,i){var a,u,s,c,f,l,h,v,g;return p.default.wrap(function(n){for(;;)switch(n.prev=n.next){case 0:g=function n(o,s,c){var f,l,h,v,g,m,b,w,x,_,A,O,j,E,P,S;return p.default.wrap(function(a){for(;;)switch(a.prev=a.next){case 0:if(C.default.isObject(o)){a.next=6;break}if(t.key!==s[s.length-1]){a.next=4;break}return a.next=4,t.plugin(o,t.key,s,i);case 4:a.next=48;break;case 6:f=s.length-1,l=s[f],h=s.indexOf("properties"),v="properties"===l&&f===h,g=i.allowMetaPatches&&u[o.$$ref],m=!0,b=!1,w=void 0,a.prev=14,x=(0,y.default)((0,d.default)(o));case 16:if(m=(_=x.next()).done){a.next=34;break}if(A=_.value,O=o[A],j=s.concat(A),E=C.default.isObject(O),P=o.$$ref,g){a.next=26;break}if(!E){a.next=26;break}return i.allowMetaPatches&&P&&(u[P]=!0),a.delegateYield(n(O,j,c),"t0",26);case 26:if(v||A!==t.key){a.next=31;break}if(S=e(r,s),r&&!S){a.next=31;break}return a.next=31,t.plugin(O,A,j,i,c);case 31:m=!0,a.next=16;break;case 34:a.next=40;break;case 36:a.prev=36,a.t1=a.catch(14),b=!0,w=a.t1;case 40:a.prev=40,a.prev=41,!m&&x.return&&x.return();case 43:if(a.prev=43,!b){a.next=46;break}throw w;case 46:return a.finish(43);case 47:return a.finish(40);case 48:case"end":return a.stop()}},a,this,[[14,36,40,48],[41,,43,47]])},a=p.default.mark(g),u={},s=!0,c=!1,f=void 0,n.prev=6,l=(0,y.default)(o.filter(C.default.isAdditiveMutation));case 8:if(s=(h=l.next()).done){n.next=14;break}return v=h.value,n.delegateYield(g(v.value,v.path,v),"t0",11);case 11:s=!0,n.next=8;break;case 14:n.next=20;break;case 16:n.prev=16,n.t1=n.catch(6),c=!0,f=n.t1;case 20:n.prev=20,n.prev=21,!s&&l.return&&l.return();case 23:if(n.prev=23,!c){n.next=26;break}throw f;case 26:return n.finish(23);case 27:return n.finish(20);case 28:case"end":return n.stop()}},n,this,[[6,16,20,28],[21,,23,27]])})}(t)),(0,w.default)(o.bind(n),{pluginName:t.name||e,isGenerator:C.default.isGenerator(o)})}},{key:"nextPlugin",value:function(){var t=this;return(0,E.default)(this.wrappedPlugins,function(e){return t.getMutationsForPlugin(e).length>0})}},{key:"nextPromisedPatch",value:function(){if(this.promisedPatches.length>0)return f.default.race(this.promisedPatches.map(function(t){return t.value}))}},{key:"getPluginHistory",value:function(t){var e=this.getPluginName(t);return this.pluginHistory[e]||[]}},{key:"getPluginRunCount",value:function(t){return this.getPluginHistory(t).length}},{key:"getPluginHistoryTip",value:function(t){var e=this.getPluginHistory(t);return e&&e[e.length-1]||{}}},{key:"getPluginMutationIndex",value:function(t){var e=this.getPluginHistoryTip(t).mutationIndex;return"number"!=typeof e?-1:e}},{key:"getPluginName",value:function(t){return t.pluginName}},{key:"updatePluginHistory",value:function(t,e){var r=this.getPluginName(t);(this.pluginHistory[r]=this.pluginHistory[r]||[]).push(e)}},{key:"updatePatches",value:function(t,e){var r=this;C.default.normalizeArray(t).forEach(function(t){if(t instanceof Error)return void r.errors.push(t);try{if(!C.default.isObject(t))return void r.debug("updatePatches","Got a non-object patch",t);if(r.showDebug&&r.allPatches.push(t),C.default.isPromise(t.value))return r.promisedPatches.push(t),void r.promisedPatchThen(t);if(C.default.isContextPatch(t))return void r.setContext(t.path,t.value);if(C.default.isMutation(t))return void r.updateMutations(t)}catch(t){console.error(t),r.errors.push(t)}})}},{key:"updateMutations",value:function(t){"object"===(0,s.default)(t.value)&&!Array.isArray(t.value)&&this.allowMetaPatches&&(t.value=(0,w.default)({},t.value));var e=C.default.applyPatch(this.state,t,{allowMetaPatches:this.allowMetaPatches});e&&(this.mutations.push(t),this.state=e)}},{key:"removePromisedPatch",value:function(t){var e=this.promisedPatches.indexOf(t);if(e<0)return void this.debug("Tried to remove a promisedPatch that isn't there!");this.promisedPatches.splice(e,1)}},{key:"promisedPatchThen",value:function(t){var e=this;return t.value=t.value.then(function(r){var n=(0,w.default)({},t,{value:r});e.removePromisedPatch(t),e.updatePatches(n)}).catch(function(r){e.removePromisedPatch(t),e.updatePatches(r)})}},{key:"getMutations",value:function(t,e){return t=t||0,"number"!=typeof e&&(e=this.mutations.length),this.mutations.slice(t,e)}},{key:"getCurrentMutations",value:function(){return this.getMutationsForPlugin(this.getCurrentPlugin())}},{key:"getMutationsForPlugin",value:function(t){var e=this.getPluginMutationIndex(t);return this.getMutations(e+1)}},{key:"getCurrentPlugin",value:function(){return this.currentPlugin}},{key:"getPatchesOfType",value:function(t,e){return t.filter(e)}},{key:"getLib",value:function(){return this.libMethods}},{key:"_get",value:function(t){return C.default.getIn(this.state,t)}},{key:"_getContext",value:function(t){return this.contextTree.get(t)}},{key:"setContext",value:function(t,e){return this.contextTree.set(t,e)}},{key:"_hasRun",value:function(t){return this.getPluginRunCount(this.getCurrentPlugin())>(t||0)}},{key:"_clone",value:function(t){return JSON.parse((0,a.default)(t))}},{key:"dispatch",value:function(){function t(t){t&&(t=C.default.fullyNormalizeArray(t),r.updatePatches(t,n))}var e=this,r=this,n=this.nextPlugin();if(!n){var o=this.nextPromisedPatch();if(o)return o.then(function(){return e.dispatch()}).catch(function(){return e.dispatch()});var i={spec:this.state,errors:this.errors};return this.showDebug&&(i.patches=this.allPatches),f.default.resolve(i)}if(r.pluginCount=r.pluginCount||{},r.pluginCount[n]=(r.pluginCount[n]||0)+1,r.pluginCount[n]>100)return f.default.resolve({spec:r.state,errors:r.errors.concat(new Error("We've reached a hard limit of 100 plugin runs"))});if(n!==this.currentPlugin&&this.promisedPatches.length){var a=this.promisedPatches.map(function(t){return t.value});return f.default.all(a.map(function(t){return t.then(Function,Function)})).then(function(){return e.dispatch()})}return function(){r.currentPlugin=n;var e=r.getCurrentMutations(),o=r.mutations.length-1;try{if(n.isGenerator){var i=!0,a=!1,u=void 0;try{for(var s,c=(0,y.default)(n(e,r.getLib()));!(i=(s=c.next()).done);i=!0){t(s.value)}}catch(t){a=!0,u=t}finally{try{!i&&c.return&&c.return()}finally{if(a)throw u}}}else{t(n(e,r.getLib()))}}catch(e){console.error(e),t([(0,w.default)((0,m.default)(e),{plugin:n})])}finally{r.updatePluginHistory(n,{mutationIndex:o})}return r.dispatch()}()}}]),t}(),B={refs:k.default,allOf:I.default,parameters:M.default,properties:F.default};e.SpecMap=U,e.plugins=B},function(t,e,r){t.exports={default:r(319),__esModule:!0}},function(t,e,r){r(320);var n=r(0).Object;t.exports=function(t,e){return n.create(t,e)}},function(t,e,r){var n=r(4);n(n.S,"Object",{create:r(94)})},function(t,e,r){r(322);var n=r(0).Object;t.exports=function(t,e,r){return n.defineProperty(t,e,r)}},function(t,e,r){var n=r(4);n(n.S+n.F*!r(12),"Object",{defineProperty:r(7).f})},function(t,e,r){var n=r(324),o=r(347),i=n(o);t.exports=i},function(t,e,r){function n(t){return function(e,r,n){var u=Object(e);if(!i(e)){var s=o(r,3);e=a(e),r=function(t){return s(u[t],t,u)}}var c=t(e,r,n);return c>-1?u[s?e[c]:c]:void 0}}var o=r(155),i=r(36),a=r(24);t.exports=n},function(t,e,r){function n(t){var e=i(t);return 1==e.length&&e[0][2]?a(e[0][0],e[0][1]):function(r){return r===t||o(r,t,e)}}var o=r(326),i=r(337),a=r(159);t.exports=n},function(t,e,r){function n(t,e,r,n){var s=r.length,c=s,f=!n;if(null==t)return!c;for(t=Object(t);s--;){var l=r[s];if(f&&l[2]?l[1]!==t[l[0]]:!(l[0]in t))return!1}for(;++s<c;){l=r[s];var p=l[0],h=t[p],d=l[1];if(f&&l[2]){if(void 0===h&&!(p in t))return!1}else{var v=new o;if(n)var y=n(h,d,p,t,e,v);if(!(void 0===y?i(d,h,a|u,n,v):y))return!1}}return!0}var o=r(78),i=r(156),a=1,u=2;t.exports=n},function(t,e,r){function n(t,e,r,n,y,m){var b=c(t),w=c(e),x=b?d:s(t),_=w?d:s(e);x=x==h?v:x,_=_==h?v:_;var A=x==v,O=_==v,j=x==_;if(j&&f(t)){if(!f(e))return!1;b=!0,A=!1}if(j&&!A)return m||(m=new o),b||l(t)?i(t,e,r,n,y,m):a(t,e,x,r,n,y,m);if(!(r&p)){var E=A&&g.call(t,"__wrapped__"),P=O&&g.call(e,"__wrapped__");if(E||P){var C=E?t.value():t,S=P?e.value():e;return m||(m=new o),y(C,S,r,n,m)}}return!!j&&(m||(m=new o),u(t,e,r,n,y,m))}var o=r(78),i=r(157),a=r(333),u=r(336),s=r(58),c=r(6),f=r(83),l=r(121),p=1,h="[object Arguments]",d="[object Array]",v="[object Object]",y=Object.prototype,g=y.hasOwnProperty;t.exports=n},function(t,e,r){function n(t){var e=-1,r=null==t?0:t.length;for(this.__data__=new o;++e<r;)this.add(t[e])}var o=r(81),i=r(329),a=r(330);n.prototype.add=n.prototype.push=i,n.prototype.has=a,t.exports=n},function(t,e){function r(t){return this.__data__.set(t,n),this}var n="__lodash_hash_undefined__";t.exports=r},function(t,e){function r(t){return this.__data__.has(t)}t.exports=r},function(t,e){function r(t,e){for(var r=-1,n=null==t?0:t.length;++r<n;)if(e(t[r],r,t))return!0;return!1}t.exports=r},function(t,e){function r(t,e){return t.has(e)}t.exports=r},function(t,e,r){function n(t,e,r,n,o,A,j){switch(r){case _:if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case x:return!(t.byteLength!=e.byteLength||!A(new i(t),new i(e)));case p:case h:case y:return a(+t,+e);case d:return t.name==e.name&&t.message==e.message;case g:case b:return t==e+"";case v:var E=s;case m:var P=n&f;if(E||(E=c),t.size!=e.size&&!P)return!1;var C=j.get(t);if(C)return C==e;n|=l,j.set(t,e);var S=u(E(t),E(e),n,o,A,j);return j.delete(t),S;case w:if(O)return O.call(t)==O.call(e)}return!1}var o=r(23),i=r(128),a=r(51),u=r(157),s=r(334),c=r(335),f=1,l=2,p="[object Boolean]",h="[object Date]",d="[object Error]",v="[object Map]",y="[object Number]",g="[object RegExp]",m="[object Set]",b="[object String]",w="[object Symbol]",x="[object ArrayBuffer]",_="[object DataView]",A=o?o.prototype:void 0,O=A?A.valueOf:void 0;t.exports=n},function(t,e){function r(t){var e=-1,r=Array(t.size);return t.forEach(function(t,n){r[++e]=[n,t]}),r}t.exports=r},function(t,e){function r(t){var e=-1,r=Array(t.size);return t.forEach(function(t){r[++e]=t}),r}t.exports=r},function(t,e,r){function n(t,e,r,n,a,s){var c=r&i,f=o(t),l=f.length;if(l!=o(e).length&&!c)return!1;for(var p=l;p--;){var h=f[p];if(!(c?h in e:u.call(e,h)))return!1}var d=s.get(t);if(d&&s.get(e))return d==e;var v=!0;s.set(t,e),s.set(e,t);for(var y=c;++p<l;){h=f[p];var g=t[h],m=e[h];if(n)var b=c?n(m,g,h,e,t,s):n(g,m,h,t,e,s);if(!(void 0===b?g===m||a(g,m,r,n,s):b)){v=!1;break}y||(y="constructor"==h)}if(v&&!y){var w=t.constructor,x=e.constructor;w!=x&&"constructor"in t&&"constructor"in e&&!("function"==typeof w&&w instanceof w&&"function"==typeof x&&x instanceof x)&&(v=!1)}return s.delete(t),s.delete(e),v}var o=r(126),i=1,a=Object.prototype,u=a.hasOwnProperty;t.exports=n},function(t,e,r){function n(t){for(var e=i(t),r=e.length;r--;){var n=e[r],a=t[n];e[r]=[n,a,o(a)]}return e}var o=r(158),i=r(24);t.exports=n},function(t,e,r){function n(t,e){return u(t)&&s(e)?c(f(t),e):function(r){var n=i(r,t);return void 0===n&&n===e?a(r,t):o(e,n,l|p)}}var o=r(156),i=r(66),a=r(160),u=r(108),s=r(158),c=r(159),f=r(44),l=1,p=2;t.exports=n},function(t,e,r){var n=r(340),o=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,i=/\\(\\)?/g,a=n(function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(o,function(t,r,n,o){e.push(n?o.replace(i,"$1"):r||t)}),e});t.exports=a},function(t,e,r){function n(t){var e=o(t,function(t){return r.size===i&&r.clear(),t}),r=e.cache;return e}var o=r(341),i=500;t.exports=n},function(t,e,r){function n(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new TypeError(i);var r=function(){var n=arguments,o=e?e.apply(this,n):n[0],i=r.cache;if(i.has(o))return i.get(o);var a=t.apply(this,n);return r.cache=i.set(o,a)||i,a};return r.cache=new(n.Cache||o),r}var o=r(81),i="Expected a function";n.Cache=o,t.exports=n},function(t,e){function r(t,e){return null!=t&&e in Object(t)}t.exports=r},function(t,e,r){function n(t,e,r){e=o(e,t);for(var n=-1,f=e.length,l=!1;++n<f;){var p=c(e[n]);if(!(l=null!=t&&r(t,p)))break;t=t[p]}return l||++n!=f?l:!!(f=null==t?0:t.length)&&s(f)&&u(p,f)&&(a(t)||i(t))}var o=r(67),i=r(82),a=r(6),u=r(56),s=r(84),c=r(44);t.exports=n},function(t,e,r){function n(t){return a(t)?o(u(t)):i(t)}var o=r(345),i=r(346),a=r(108),u=r(44);t.exports=n},function(t,e){function r(t){return function(e){return null==e?void 0:e[t]}}t.exports=r},function(t,e,r){function n(t){return function(e){return o(e,t)}}var o=r(107);t.exports=n},function(t,e,r){function n(t,e,r){var n=null==t?0:t.length;if(!n)return-1;var s=null==r?0:a(r);return s<0&&(s=u(n+s,0)),o(t,i(e,3),s)}var o=r(348),i=r(155),a=r(133),u=Math.max;t.exports=n},function(t,e){function r(t,e,r,n){for(var o=t.length,i=r+(n?1:-1);n?i--:++i<o;)if(e(t[i],i,t))return i;return-1}t.exports=r},function(t,e,r){"use strict";e.__esModule=!0;var n=r(350),o=function(t){return t&&t.__esModule?t:{default:t}}(n);e.default=function(t){if(Array.isArray(t)){for(var e=0,r=Array(t.length);e<t.length;e++)r[e]=t[e];return r}return(0,o.default)(t)}},function(t,e,r){t.exports={default:r(351),__esModule:!0}},function(t,e,r){r(39),r(352),t.exports=r(0).Array.from},function(t,e,r){"use strict";var n=r(19),o=r(4),i=r(34),a=r(139),u=r(140),s=r(46),c=r(353),f=r(97);o(o.S+o.F*!r(145)(function(t){Array.from(t)}),"Array",{from:function(t){var e,r,o,l,p=i(t),h="function"==typeof this?this:Array,d=arguments.length,v=d>1?arguments[1]:void 0,y=void 0!==v,g=0,m=f(p);if(y&&(v=n(v,d>2?arguments[2]:void 0,2)),void 0==m||h==Array&&u(m))for(e=s(p.length),r=new h(e);e>g;g++)c(r,g,y?v(p[g],g):p[g]);else for(l=m.call(p),r=new h;!(o=l.next()).done;g++)c(r,g,y?a(l,v,[o.value,g],!0):o.value);return r.length=g,r}})},function(t,e,r){"use strict";var n=r(7),o=r(30);t.exports=function(t,e,r){e in t?n.f(t,e,o(0,r)):t[e]=r}},function(t,e,r){"use strict";e.__esModule=!0;var n=r(154),o=function(t){return t&&t.__esModule?t:{default:t}}(n);e.default=function(t,e,r){return e in t?(0,o.default)(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}},function(t,e,r){function n(t){for(var e=0,r=v.length;e<r;e++)if(v[e].obj===t)return v[e]}function o(t,e){for(var r=0,n=t.observers.length;r<n;r++)if(t.observers[r].callback===e)return t.observers[r].observer}function i(t,e){for(var r=0,n=t.observers.length;r<n;r++)if(t.observers[r].observer===e)return void t.observers.splice(r,1)}function a(t,e){e.unobserve()}function u(t,e){var r,a=[],u=n(t);if(u?r=o(u,e):(u=new y(t),v.push(u)),r)return r;if(r={},u.value=l._deepClone(t),e){r.callback=e,r.next=null;var c=function(){s(r)},f=function(){clearTimeout(r.next),r.next=setTimeout(c)};"undefined"!=typeof window&&(window.addEventListener?(window.addEventListener("mouseup",f),window.addEventListener("keyup",f),window.addEventListener("mousedown",f),window.addEventListener("keydown",f),window.addEventListener("change",f)):(document.documentElement.attachEvent("onmouseup",f),document.documentElement.attachEvent("onkeyup",f),document.documentElement.attachEvent("onmousedown",f),document.documentElement.attachEvent("onkeydown",f),document.documentElement.attachEvent("onchange",f)))}return r.patches=a,r.object=t,r.unobserve=function(){s(r),clearTimeout(r.next),i(u,r),"undefined"!=typeof window&&(window.removeEventListener?(window.removeEventListener("mouseup",f),window.removeEventListener("keyup",f),window.removeEventListener("mousedown",f),window.removeEventListener("keydown",f)):(document.documentElement.detachEvent("onmouseup",f),document.documentElement.detachEvent("onkeyup",f),document.documentElement.detachEvent("onmousedown",f),document.documentElement.detachEvent("onkeydown",f)))},u.observers.push(new g(e,r)),r}function s(t){for(var e,r=0,n=v.length;r<n;r++)if(v[r].obj===t.object){e=v[r];break}c(e.value,t.object,t.patches,""),t.patches.length&&p.applyPatch(e.value,t.patches);var o=t.patches;return o.length>0&&(t.patches=[],t.callback&&t.callback(o)),o}function c(t,e,r,n){if(e!==t){"function"==typeof e.toJSON&&(e=e.toJSON());for(var o=l._objectKeys(e),i=l._objectKeys(t),a=!1,u=i.length-1;u>=0;u--){var s=i[u],f=t[s];if(!l.hasOwnProperty(e,s)||void 0===e[s]&&void 0!==f&&!1===Array.isArray(e))r.push({op:"remove",path:n+"/"+l.escapePathComponent(s)}),a=!0;else{var p=e[s];"object"==typeof f&&null!=f&&"object"==typeof p&&null!=p?c(f,p,r,n+"/"+l.escapePathComponent(s)):f!==p&&(!0,r.push({op:"replace",path:n+"/"+l.escapePathComponent(s),value:l._deepClone(p)}))}}if(a||o.length!=i.length)for(var u=0;u<o.length;u++){var s=o[u];l.hasOwnProperty(t,s)||void 0===e[s]||r.push({op:"add",path:n+"/"+l.escapePathComponent(s),value:l._deepClone(e[s])})}}}function f(t,e){var r=[];return c(t,e,r,""),r}var l=(r(161),r(109)),p=r(162),h=r(162);e.applyOperation=h.applyOperation,e.applyPatch=h.applyPatch,e.applyReducer=h.applyReducer,e.getValueByPointer=h.getValueByPointer,e.validate=h.validate,e.validator=h.validator;var d=r(109);e.JsonPatchError=d.PatchError,e.deepClone=d._deepClone,e.escapePathComponent=d.escapePathComponent,e.unescapePathComponent=d.unescapePathComponent;var v=[],y=function(){function t(t){this.observers=[],this.obj=t}return t}(),g=function(){function t(t,e){this.callback=t,this.observer=e}return t}();e.unobserve=a,e.observe=u,e.generate=s,e.compare=f},function(t,e){function r(t){var e=[];for(var r in t)e.push(r);return e}e=t.exports="function"==typeof Object.keys?Object.keys:r,e.shim=r},function(t,e){function r(t){return"[object Arguments]"==Object.prototype.toString.call(t)}function n(t){return t&&"object"==typeof t&&"number"==typeof t.length&&Object.prototype.hasOwnProperty.call(t,"callee")&&!Object.prototype.propertyIsEnumerable.call(t,"callee")||!1}var o="[object Arguments]"==function(){return Object.prototype.toString.call(arguments)}();e=t.exports=o?r:n,e.supported=r,e.unsupported=n},function(t,e,r){"use strict";(function(e){/*!
8
+ * @description Recursive object extending
9
+ * @author Viacheslav Lotsmanov <lotsmanov89@gmail.com>
10
+ * @license MIT
11
+ *
12
+ * The MIT License (MIT)
13
+ *
14
+ * Copyright (c) 2013-2018 Viacheslav Lotsmanov
15
+ *
16
+ * Permission is hereby granted, free of charge, to any person obtaining a copy of
17
+ * this software and associated documentation files (the "Software"), to deal in
18
+ * the Software without restriction, including without limitation the rights to
19
+ * use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
20
+ * the Software, and to permit persons to whom the Software is furnished to do so,
21
+ * subject to the following conditions:
22
+ *
23
+ * The above copyright notice and this permission notice shall be included in all
24
+ * copies or substantial portions of the Software.
25
+ *
26
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
27
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
28
+ * FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
29
+ * COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
30
+ * IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
31
+ * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
32
+ */
33
+ function r(t){return t instanceof e||t instanceof Date||t instanceof RegExp}function n(t){if(t instanceof e){var r=e.alloc?e.alloc(t.length):new e(t.length);return t.copy(r),r}if(t instanceof Date)return new Date(t.getTime());if(t instanceof RegExp)return new RegExp(t);throw new Error("Unexpected situation")}function o(t){var e=[];return t.forEach(function(t,i){"object"==typeof t&&null!==t?Array.isArray(t)?e[i]=o(t):r(t)?e[i]=n(t):e[i]=a({},t):e[i]=t}),e}function i(t,e){return"__proto__"===e?void 0:t[e]}var a=t.exports=function(){if(arguments.length<1||"object"!=typeof arguments[0])return!1;if(arguments.length<2)return arguments[0];var t,e,u=arguments[0],s=Array.prototype.slice.call(arguments,1);return s.forEach(function(s){"object"!=typeof s||null===s||Array.isArray(s)||Object.keys(s).forEach(function(c){return e=i(u,c),t=i(s,c),t===u?void 0:"object"!=typeof t||null===t?void(u[c]=t):Array.isArray(t)?void(u[c]=o(t)):r(t)?void(u[c]=n(t)):"object"!=typeof e||null===e||Array.isArray(e)?void(u[c]=a({},t)):void(u[c]=a(e,t))})}),u}}).call(e,r(43).Buffer)},function(t,e,r){"use strict";function n(t){return null===t?"null":void 0===t?"undefined":"object"===(void 0===t?"undefined":s(t))?Array.isArray(t)?"array":"object":void 0===t?"undefined":s(t)}function o(t){return"object"===n(t)?a(t):"array"===n(t)?i(t):t}function i(t){return t.map(o)}function a(t){var e={};for(var r in t)t.hasOwnProperty(r)&&(e[r]=o(t[r]));return e}function u(t){for(var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o={arrayBehaviour:r.arrayBehaviour||"replace"},s=e.map(function(t){return t||{}}),c=t||{},f=0;f<s.length;f++)for(var l=s[f],p=Object.keys(l),h=0;h<p.length;h++){var d=p[h],v=l[d],y=n(v),g=n(c[d]);if("object"===y)if("undefined"!==g){var m="object"===g?c[d]:{};c[d]=u({},[m,a(v)],o)}else c[d]=a(v);else if("array"===y)if("array"===g){var b=i(v);c[d]="merge"===o.arrayBehaviour?c[d].concat(b):b}else c[d]=i(v);else c[d]=v}return c}var s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};t.exports=function(t){for(var e=arguments.length,r=Array(e>1?e-1:0),n=1;n<e;n++)r[n-1]=arguments[n];return u(t,r)},t.exports.noMutate=function(){for(var t=arguments.length,e=Array(t),r=0;r<t;r++)e[r]=arguments[r];return u({},e)},t.exports.withOptions=function(t,e,r){return u(t,e,r)}},function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}function o(t,e){if(!q.test(t)){if(!e)throw new z("Tried to resolve a relative URL, without having a basePath. path: '"+t+"' basePath: '"+e+"'");return N.default.resolve(e,t)}return t}function i(t,e){var r=void 0;return r=t&&t.response&&t.response.body?t.response.body.code+" "+t.response.body.message:t.message,new z("Could not resolve reference: "+r,e,t)}function a(t){return(t+"").split("#")}function u(t,e){var r=Y[t];if(r&&!L.default.isPromise(r))try{var n=l(e,r);return(0,C.default)(O.default.resolve(n),{__value:n})}catch(t){return O.default.reject(t)}return c(t).then(function(t){return l(e,t)})}function s(t){void 0!==t?delete Y[t]:(0,_.default)(Y).forEach(function(t){delete Y[t]})}function c(t){var e=Y[t];return e?L.default.isPromise(e)?e:O.default.resolve(e):(Y[t]=V.fetchJSON(t).then(function(e){return Y[t]=e,e}),Y[t])}function f(t){return(0,S.fetch)(t,{headers:{Accept:"application/json, application/yaml"},loadSpec:!0}).then(function(t){return t.text()}).then(function(t){return T.default.safeLoad(t)})}function l(t,e){var r=p(t);if(r.length<1)return e;var n=L.default.getIn(e,r);if(void 0===n)throw new z("Could not resolve pointer: "+t+" does not exist in document",{pointer:t});return n}function p(t){if("string"!=typeof t)throw new TypeError("Expected a string, got a "+(void 0===t?"undefined":(0,w.default)(t)));return"/"===t[0]&&(t=t.substr(1)),""===t?[]:t.split("/").map(h)}function h(t){return"string"!=typeof t?t:R.default.unescape(t.replace(/~1/g,"/").replace(/~0/g,"~"))}function d(t){return R.default.escape(t.replace(/~/g,"~0").replace(/\//g,"~1"))}function v(t){return 0===t.length?"":"/"+t.map(d).join("/")}function y(t,e){if(J(e))return!0;var r=t.charAt(e.length),n=e.slice(-1);return 0===t.indexOf(e)&&(!r||"/"===r||"#"===r)&&"#"!==n}function g(t,e,r,n){var o=$.get(n);o||(o={},$.set(n,o));var i=v(r),a=(e||"<specmap-base>")+"#"+t;if(e==n.contextTree.get([]).baseDoc&&y(i,t))return!0;var u="";if(r.some(function(t){return u=u+"/"+d(t),o[u]&&o[u].some(function(t){return y(t,a)||y(a,t)})}))return!0;o[i]=(o[i]||[]).concat(a)}function m(t,e){function r(t){return L.default.isObject(t)&&(n.indexOf(t)>=0||(0,_.default)(t).some(function(e){return r(t[e])}))}var n=[t];return e.path.reduce(function(t,e){return n.push(t[e]),t[e]},t),r(e.value)}Object.defineProperty(e,"__esModule",{value:!0});var b=r(18),w=n(b),x=r(11),_=n(x),A=r(102),O=n(A),j=r(361),E=n(j),P=r(14),C=n(P),S=r(372),k=r(148),T=n(k),I=r(373),R=n(I),M=r(92),N=n(M),F=r(68),L=n(F),D=r(164),U=n(D),B=r(165),q=new RegExp("^([a-z]+://|//)","i"),z=(0,U.default)("JSONRefError",function(t,e,r){this.originalError=r,(0,C.default)(this,e||{})}),Y={},$=new E.default,H={key:"$ref",plugin:function(t,e,r,n){var s=r.slice(0,-1);if(!(0,B.isFreelyNamed)(s)){var c=n.getContext(r).baseDoc;if("string"!=typeof t)return new z("$ref: must be a string (JSON-Ref)",{$ref:t,baseDoc:c,fullPath:r});var f=a(t),l=f[0],h=f[1]||"",d=void 0;try{d=c||l?o(l,c):null}catch(e){return i(e,{pointer:h,$ref:t,basePath:d,fullPath:r})}var v=void 0,y=void 0;if(!g(h,d,s,n)){if(null==d?(y=p(h),void 0===(v=n.get(y))&&(v=new z("Could not resolve reference: "+t,{pointer:h,$ref:t,baseDoc:c,fullPath:r}))):(v=u(d,h),v=null!=v.__value?v.__value:v.catch(function(e){throw i(e,{pointer:h,$ref:t,baseDoc:c,fullPath:r})})),v instanceof Error)return[L.default.remove(r),v];var b=L.default.replace(s,v,{$$ref:t});if(d&&d!==c)return[b,L.default.context(s,{baseDoc:d})];try{if(!m(n.state,b))return b}catch(t){return null}}}}},V=(0,C.default)(H,{docCache:Y,absoluteify:o,clearCache:s,JSONRefError:z,wrapError:i,getDoc:c,split:a,extractFromDoc:u,fetchJSON:f,extract:l,jsonPointerToArray:p,unescapeJsonPointerToken:h});e.default=V;var J=function(t){return!t||"/"===t||"#"===t};t.exports=e.default},function(t,e,r){t.exports={default:r(362),__esModule:!0}},function(t,e,r){r(100),r(37),r(363),r(368),r(370),t.exports=r(0).WeakMap},function(t,e,r){"use strict";var n,o=r(110)(0),i=r(93),a=r(63),u=r(113),s=r(366),c=r(5),f=r(16),l=r(163),p=a.getWeak,h=Object.isExtensible,d=s.ufstore,v={},y=function(t){return function(){return t(this,arguments.length>0?arguments[0]:void 0)}},g={get:function(t){if(c(t)){var e=p(t);return!0===e?d(l(this,"WeakMap")).get(t):e?e[this._i]:void 0}},set:function(t,e){return s.def(l(this,"WeakMap"),t,e)}},m=t.exports=r(367)("WeakMap",y,g,s,!0,!0);f(function(){return 7!=(new m).set((Object.freeze||Object)(v),7).get(v)})&&(n=s.getConstructor(y,"WeakMap"),u(n.prototype,g),a.NEED=!0,o(["delete","has","get","set"],function(t){var e=m.prototype,r=e[t];i(e,t,function(e,o){if(c(e)&&!h(e)){this._f||(this._f=new n);var i=this._f[t](e,o);return"set"==t?this:i}return r.call(this,e,o)})}))},function(t,e,r){var n=r(365);t.exports=function(t,e){return new(n(t))(e)}},function(t,e,r){var n=r(5),o=r(137),i=r(3)("species");t.exports=function(t){var e;return o(t)&&(e=t.constructor,"function"!=typeof e||e!==Array&&!o(e.prototype)||(e=void 0),n(e)&&null===(e=e[i])&&(e=void 0)),void 0===e?Array:e}},function(t,e,r){"use strict";var n=r(105),o=r(63).getWeak,i=r(8),a=r(5),u=r(103),s=r(64),c=r(110),f=r(17),l=r(163),p=c(5),h=c(6),d=0,v=function(t){return t._l||(t._l=new y)},y=function(){this.a=[]},g=function(t,e){return p(t.a,function(t){return t[0]===e})};y.prototype={get:function(t){var e=g(this,t);if(e)return e[1]},has:function(t){return!!g(this,t)},set:function(t,e){var r=g(this,t);r?r[1]=e:this.a.push([t,e])},delete:function(t){var e=h(this.a,function(e){return e[0]===t});return~e&&this.a.splice(e,1),!!~e}},t.exports={getConstructor:function(t,e,r,i){var c=t(function(t,n){u(t,c,e,"_i"),t._t=e,t._i=d++,t._l=void 0,void 0!=n&&s(n,r,t[i],t)});return n(c.prototype,{delete:function(t){if(!a(t))return!1;var r=o(t);return!0===r?v(l(this,e)).delete(t):r&&f(r,this._i)&&delete r[this._i]},has:function(t){if(!a(t))return!1;var r=o(t);return!0===r?v(l(this,e)).has(t):r&&f(r,this._i)}}),c},def:function(t,e,r){var n=o(i(e),!0);return!0===n?v(t).set(e,r):n[t._i]=r,t},ufstore:v}},function(t,e,r){"use strict";var n=r(2),o=r(4),i=r(63),a=r(16),u=r(15),s=r(105),c=r(64),f=r(103),l=r(5),p=r(38),h=r(7).f,d=r(110)(0),v=r(12);t.exports=function(t,e,r,y,g,m){var b=n[t],w=b,x=g?"set":"add",_=w&&w.prototype,A={};return v&&"function"==typeof w&&(m||_.forEach&&!a(function(){(new w).entries().next()}))?(w=e(function(e,r){f(e,w,t,"_c"),e._c=new b,void 0!=r&&c(r,g,e[x],e)}),d("add,clear,delete,forEach,get,has,set,keys,values,entries,toJSON".split(","),function(t){var e="add"==t||"set"==t;t in _&&(!m||"clear"!=t)&&u(w.prototype,t,function(r,n){if(f(this,w,t),!e&&m&&!l(r))return"get"==t&&void 0;var o=this._c[t](0===r?0:r,n);return e?this:o})}),m||h(w.prototype,"size",{get:function(){return this._c.size}})):(w=y.getConstructor(e,t,g,x),s(w.prototype,r),i.NEED=!0),p(w,t),A[t]=w,o(o.G+o.W+o.F,A),m||y.setStrong(w,t,g),w}},function(t,e,r){r(369)("WeakMap")},function(t,e,r){"use strict";var n=r(4);t.exports=function(t){n(n.S,t,{of:function(){for(var t=arguments.length,e=new Array(t);t--;)e[t]=arguments[t];return new this(e)}})}},function(t,e,r){r(371)("WeakMap")},function(t,e,r){"use strict";var n=r(4),o=r(29),i=r(19),a=r(64);t.exports=function(t){n(n.S,t,{from:function(t){var e,r,n,u,s=arguments[1];return o(this),e=void 0!==s,e&&o(s),void 0==t?new this:(r=[],e?(n=0,u=i(s,arguments[2],2),a(t,!1,function(t){r.push(u(t,n++))})):a(t,!1,r.push,r),new this(r))}})}},function(t,e){var r={};!function(t){"use strict";function e(t){if("string"!=typeof t&&(t=String(t)),/[^a-z0-9\-#$%&'*+.\^_`|~]/i.test(t))throw new TypeError("Invalid character in header field name");return t.toLowerCase()}function r(t){return"string"!=typeof t&&(t=String(t)),t}function n(t){var e={next:function(){var e=t.shift();return{done:void 0===e,value:e}}};return g.iterable&&(e[Symbol.iterator]=function(){return e}),e}function o(t){this.map={},t instanceof o?t.forEach(function(t,e){this.append(e,t)},this):Array.isArray(t)?t.forEach(function(t){this.append(t[0],t[1])},this):t&&Object.getOwnPropertyNames(t).forEach(function(e){this.append(e,t[e])},this)}function i(t){if(t.bodyUsed)return Promise.reject(new TypeError("Already read"));t.bodyUsed=!0}function a(t){return new Promise(function(e,r){t.onload=function(){e(t.result)},t.onerror=function(){r(t.error)}})}function u(t){var e=new FileReader,r=a(e);return e.readAsArrayBuffer(t),r}function s(t){var e=new FileReader,r=a(e);return e.readAsText(t),r}function c(t){for(var e=new Uint8Array(t),r=new Array(e.length),n=0;n<e.length;n++)r[n]=String.fromCharCode(e[n]);return r.join("")}function f(t){if(t.slice)return t.slice(0);var e=new Uint8Array(t.byteLength);return e.set(new Uint8Array(t)),e.buffer}function l(){return this.bodyUsed=!1,this._initBody=function(t){if(this._bodyInit=t,t)if("string"==typeof t)this._bodyText=t;else if(g.blob&&Blob.prototype.isPrototypeOf(t))this._bodyBlob=t;else if(g.formData&&FormData.prototype.isPrototypeOf(t))this._bodyFormData=t;else if(g.searchParams&&URLSearchParams.prototype.isPrototypeOf(t))this._bodyText=t.toString();else if(g.arrayBuffer&&g.blob&&b(t))this._bodyArrayBuffer=f(t.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer]);else{if(!g.arrayBuffer||!ArrayBuffer.prototype.isPrototypeOf(t)&&!w(t))throw new Error("unsupported BodyInit type");this._bodyArrayBuffer=f(t)}else this._bodyText="";this.headers.get("content-type")||("string"==typeof t?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):g.searchParams&&URLSearchParams.prototype.isPrototypeOf(t)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},g.blob&&(this.blob=function(){var t=i(this);if(t)return t;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?i(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(u)}),this.text=function(){var t=i(this);if(t)return t;if(this._bodyBlob)return s(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(c(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},g.formData&&(this.formData=function(){return this.text().then(d)}),this.json=function(){return this.text().then(JSON.parse)},this}function p(t){var e=t.toUpperCase();return x.indexOf(e)>-1?e:t}function h(t,e){var r=(e=e||{}).body;if(t instanceof h){if(t.bodyUsed)throw new TypeError("Already read");this.url=t.url,this.credentials=t.credentials,e.headers||(this.headers=new o(t.headers)),this.method=t.method,this.mode=t.mode,r||null==t._bodyInit||(r=t._bodyInit,t.bodyUsed=!0)}else this.url=String(t);if(this.credentials=e.credentials||this.credentials||"omit",!e.headers&&this.headers||(this.headers=new o(e.headers)),this.method=p(e.method||this.method||"GET"),this.mode=e.mode||this.mode||null,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&r)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(r)}function d(t){var e=new FormData;return t.trim().split("&").forEach(function(t){if(t){var r=t.split("="),n=r.shift().replace(/\+/g," "),o=r.join("=").replace(/\+/g," ");e.append(decodeURIComponent(n),decodeURIComponent(o))}}),e}function v(t){var e=new o;return t.split(/\r?\n/).forEach(function(t){var r=t.split(":"),n=r.shift().trim();if(n){var o=r.join(":").trim();e.append(n,o)}}),e}function y(t,e){e||(e={}),this.type="default",this.status="status"in e?e.status:200,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in e?e.statusText:"OK",this.headers=new o(e.headers),this.url=e.url||"",this._initBody(t)}if(!t.fetch){var g={searchParams:"URLSearchParams"in t,iterable:"Symbol"in t&&"iterator"in Symbol,blob:"FileReader"in t&&"Blob"in t&&function(){try{return new Blob,!0}catch(t){return!1}}(),formData:"FormData"in t,arrayBuffer:"ArrayBuffer"in t};if(g.arrayBuffer)var m=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],b=function(t){return t&&DataView.prototype.isPrototypeOf(t)},w=ArrayBuffer.isView||function(t){return t&&m.indexOf(Object.prototype.toString.call(t))>-1};o.prototype.append=function(t,n){t=e(t),n=r(n);var o=this.map[t];this.map[t]=o?o+","+n:n},o.prototype.delete=function(t){delete this.map[e(t)]},o.prototype.get=function(t){return t=e(t),this.has(t)?this.map[t]:null},o.prototype.has=function(t){return this.map.hasOwnProperty(e(t))},o.prototype.set=function(t,n){this.map[e(t)]=r(n)},o.prototype.forEach=function(t,e){for(var r in this.map)this.map.hasOwnProperty(r)&&t.call(e,this.map[r],r,this)},o.prototype.keys=function(){var t=[];return this.forEach(function(e,r){t.push(r)}),n(t)},o.prototype.values=function(){var t=[];return this.forEach(function(e){t.push(e)}),n(t)},o.prototype.entries=function(){var t=[];return this.forEach(function(e,r){t.push([r,e])}),n(t)},g.iterable&&(o.prototype[Symbol.iterator]=o.prototype.entries);var x=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];h.prototype.clone=function(){return new h(this,{body:this._bodyInit})},l.call(h.prototype),l.call(y.prototype),y.prototype.clone=function(){return new y(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new o(this.headers),url:this.url})},y.error=function(){var t=new y(null,{status:0,statusText:""});return t.type="error",t};var _=[301,302,303,307,308];y.redirect=function(t,e){if(-1===_.indexOf(e))throw new RangeError("Invalid status code");return new y(null,{status:e,headers:{location:t}})},t.Headers=o,t.Request=h,t.Response=y,t.fetch=function(t,e){return new Promise(function(r,n){var o=new h(t,e),i=new XMLHttpRequest;i.onload=function(){var t={status:i.status,statusText:i.statusText,headers:v(i.getAllResponseHeaders()||"")};t.url="responseURL"in i?i.responseURL:t.headers.get("X-Request-URL");var e="response"in i?i.response:i.responseText;r(new y(e,t))},i.onerror=function(){n(new TypeError("Network request failed"))},i.ontimeout=function(){n(new TypeError("Network request failed"))},i.open(o.method,o.url,!0),"include"===o.credentials&&(i.withCredentials=!0),"responseType"in i&&g.blob&&(i.responseType="blob"),o.headers.forEach(function(t,e){i.setRequestHeader(e,t)}),i.send(void 0===o._bodyInit?null:o._bodyInit)})},t.fetch.polyfill=!0}}(void 0!==r?r:this),t.exports=r},function(t,e,r){"use strict";function n(t,e){try{return decodeURIComponent(t)}catch(r){return i.unescapeBuffer(t,e).toString()}}function o(t,e){try{return e(t)}catch(e){return i.unescape(t,!0)}}var i=e,a=r(43).Buffer;i.unescapeBuffer=function(t,e){for(var r,n,o,i=new a(t.length),u=0,s=0,c=0;s<=t.length;s++){var f=s<t.length?t.charCodeAt(s):NaN;switch(u){case 0:switch(f){case 37:r=0,n=0,u=1;break;case 43:e&&(f=32);default:i[c++]=f}break;case 1:if(o=f,f>=48&&f<=57)r=f-48;else if(f>=65&&f<=70)r=f-65+10;else{if(!(f>=97&&f<=102)){i[c++]=37,i[c++]=f,u=0;break}r=f-97+10}u=2;break;case 2:if(u=0,f>=48&&f<=57)n=f-48;else if(f>=65&&f<=70)n=f-65+10;else{if(!(f>=97&&f<=102)){i[c++]=37,i[c++]=o,i[c++]=f;break}n=f-97+10}i[c++]=16*r+n}}return i.slice(0,c-1)},i.unescape=n;for(var u=new Array(256),s=0;s<256;++s)u[s]="%"+((s<16?"0":"")+s.toString(16)).toUpperCase();i.escape=function(t){"string"!=typeof t&&(t+="");for(var e="",r=0,n=0;n<t.length;++n){var o=t.charCodeAt(n);if(!(33===o||45===o||46===o||95===o||126===o||o>=39&&o<=42||o>=48&&o<=57||o>=65&&o<=90||o>=97&&o<=122))if(n-r>0&&(e+=t.slice(r,n)),o<128)r=n+1,e+=u[o];else if(o<2048)r=n+1,e+=u[192|o>>6]+u[128|63&o];else if(o<55296||o>=57344)r=n+1,e+=u[224|o>>12]+u[128|o>>6&63]+u[128|63&o];else{++n;var i;if(!(n<t.length))throw new URIError("URI malformed");i=1023&t.charCodeAt(n),r=n+1,o=65536+((1023&o)<<10|i),e+=u[240|o>>18]+u[128|o>>12&63]+u[128|o>>6&63]+u[128|63&o]}}return 0===r?t:r<t.length?e+t.slice(r):e};var c=function(t){return"string"==typeof t?t:"number"==typeof t&&isFinite(t)?""+t:"boolean"==typeof t?t?"true":"false":""};i.stringify=i.encode=function(t,e,r,n){e=e||"&",r=r||"=";var o=i.escape;if(n&&"function"==typeof n.encodeURIComponent&&(o=n.encodeURIComponent),null!==t&&"object"==typeof t){for(var a=Object.keys(t),u=a.length,s=u-1,f="",l=0;l<u;++l){var p=a[l],h=t[p],d=o(c(p))+r;if(Array.isArray(h)){for(var v=h.length,y=v-1,g=0;g<v;++g)f+=d+o(c(h[g])),g<y&&(f+=e);v&&l<s&&(f+=e)}else f+=d+o(c(h)),l<s&&(f+=e)}return f}return""},i.parse=i.decode=function(t,e,r,a){e=e||"&",r=r||"=";var u={};if("string"!=typeof t||0===t.length)return u;"string"!=typeof e&&(e+="");var s=r.length,c=e.length,f=1e3;a&&"number"==typeof a.maxKeys&&(f=a.maxKeys);var l=1/0;f>0&&(l=f);var p=i.unescape;a&&"function"==typeof a.decodeURIComponent&&(p=a.decodeURIComponent);for(var h=p!==n,d=[],v=0,y=0,g=0,m="",b="",w=h,x=h,_=0,A=0;A<t.length;++A){var O=t.charCodeAt(A);if(O!==e.charCodeAt(y)){if(y=0,x||(37===O?_=1:_>0&&(O>=48&&O<=57||O>=65&&O<=70||O>=97&&O<=102)?3==++_&&(x=!0):_=0),g<s){if(O===r.charCodeAt(g)){if(++g===s){var j=A-g+1;v<j&&(m+=t.slice(v,j)),_=0,v=A+1}continue}g=0,w||(37===O?_=1:_>0&&(O>=48&&O<=57||O>=65&&O<=70||O>=97&&O<=102)?3==++_&&(w=!0):_=0)}43===O&&(g<s?(A-v>0&&(m+=t.slice(v,A)),m+="%20",w=!0):(A-v>0&&(b+=t.slice(v,A)),b+="%20",x=!0),v=A+1)}else if(++y===c){var j=A-y+1;if(g<s?v<j&&(m+=t.slice(v,j)):v<j&&(b+=t.slice(v,j)),w&&(m=o(m,p)),x&&(b=o(b,p)),-1===d.indexOf(m))u[m]=b,d[d.length]=m;else{var E=u[m];E instanceof Array?E[E.length]=b:u[m]=[E,b]}if(0==--l)break;w=x=h,_=0,m=b="",v=A+1,y=g=0}}if(l>0&&(v<t.length||g>0))if(v<t.length&&(g<s?m+=t.slice(v):y<c&&(b+=t.slice(v))),w&&(m=o(m,p)),x&&(b=o(b,p)),-1===d.indexOf(m))u[m]=b,d[d.length]=m;else{var E=u[m];E instanceof Array?E[E.length]=b:u[m]=[E,b]}return u}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(14),o=function(t){return t&&t.__esModule?t:{default:t}}(n),i=r(165);e.default={key:"allOf",plugin:function(t,e,r,n,a){if(!a.meta||!a.meta.$$ref){var u=r.slice(0,-1);if(!(0,i.isFreelyNamed)(u)){if(!Array.isArray(t)){var s=new TypeError("allOf must be an array");return s.fullPath=r,s}var c=!1,f=a.value;u.forEach(function(t){f&&(f=f[t])}),f=(0,o.default)({},f),delete f.allOf;var l=[n.replace(u,{})].concat(t.map(function(t,e){if(!n.isObject(t)){if(c)return null;c=!0;var o=new TypeError("Elements in allOf must be objects");return o.fullPath=r,o}return n.mergeDeep(u,t)}));return l.push(n.mergeDeep(u,f)),f.$$ref||l.push(n.remove([].concat(u,"$$ref"))),l}}}},t.exports=e.default},function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var o=r(14),i=n(o),a=r(68),u=n(a);e.default={key:"parameters",plugin:function(t,e,r,n,o){if(Array.isArray(t)&&t.length){var a=(0,i.default)([],t),s=r.slice(0,-1),c=(0,i.default)({},u.default.getIn(n.spec,s));return t.forEach(function(t,e){try{a[e].default=n.parameterMacro(c,t)}catch(t){var o=new Error(t);return o.fullPath=r,o}}),u.default.replace(r,a)}return u.default.replace(r,t)}},t.exports=e.default},function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var o=r(14),i=n(o),a=r(68),u=n(a);e.default={key:"properties",plugin:function(t,e,r,n){var o=(0,i.default)({},t);for(var a in t)try{o[a].default=n.modelPropertyMacro(o[a])}catch(t){var s=new Error(t);return s.fullPath=r,s}return u.default.replace(r,o)}},t.exports=e.default},function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}function o(t,e){return i({children:{}},t,e)}function i(t,e,r){return t.value=e||{},t.protoValue=r?(0,c.default)({},r.protoValue,t.value):t.value,(0,u.default)(t.children).forEach(function(e){var r=t.children[e];t.children[e]=i(r,r.value,t)}),t}Object.defineProperty(e,"__esModule",{value:!0});var a=r(11),u=n(a),s=r(28),c=n(s),f=r(152),l=n(f),p=r(153),h=n(p),d=function(){function t(e){(0,l.default)(this,t),this.root=o(e||{})}return(0,h.default)(t,[{key:"set",value:function(t,e){var r=this.getParent(t,!0);if(!r)return void i(this.root,e,null);var n=t[t.length-1],a=r.children;if(a[n])return void i(a[n],e,r);a[n]=o(e,r)}},{key:"get",value:function(t){if(t=t||[],t.length<1)return this.root.value;for(var e=this.root,r=void 0,n=void 0,o=0;o<t.length&&(n=t[o],r=e.children,r[n]);o++)e=r[n];return e&&e.protoValue}},{key:"getParent",value:function(t,e){return!t||t.length<1?null:t.length<2?this.root:t.slice(0,-1).reduce(function(t,r){if(!t)return t;var n=t.children;return!n[r]&&e&&(n[r]=o(null,t)),n[r]},this.root)}}]),t}();e.default=d,t.exports=e.default},function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var o=r(40),i=n(o),a=r(28),u=n(a),s=r(101),c=n(s),f=r(66),l=n(f),p=r(151),h=n(p),d=r(45);e.default=function(){function t(t,r){return e.apply(this,arguments)}var e=(0,c.default)(i.default.mark(function t(e,r){var n,o,a,s,c,f,p,v,y,g,m=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return i.default.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return n=m.returnEntireTree,o=m.baseDoc,a=m.requestInterceptor,s=m.responseInterceptor,c=m.parameterMacro,f=m.modelPropertyMacro,p={pathDiscriminator:r,baseDoc:o,requestInterceptor:a,responseInterceptor:s,parameterMacro:c,modelPropertyMacro:f},v=(0,d.normalizeSwagger)({spec:e}),y=v.spec,t.next=5,(0,h.default)((0,u.default)({},p,{spec:y,allowMetaPatches:!0,skipNormalization:!0}));case 5:return g=t.sent,!n&&Array.isArray(r)&&r.length&&(g.spec=(0,l.default)(g.spec,r)||null),t.abrupt("return",g);case 8:case"end":return t.stop()}},t,this)}));return t}(),t.exports=e.default},function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}function o(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return function(e){var r=e.pathName,n=e.method,o=e.operationId;return function(e){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return t.execute((0,c.default)({spec:t.spec},(0,l.default)(t,"requestInterceptor","responseInterceptor","userFetch"),{pathName:r,method:n,parameters:e,operationId:o},i))}}}function i(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=v.makeExecute(t),r=v.mapTagOperations({v2OperationIdCompatibilityMode:t.v2OperationIdCompatibilityMode,spec:t.spec,cb:e}),n={};for(var o in r){n[o]={operations:{}};for(var i in r[o])n[o].operations[i]={execute:r[o][i]}}return{apis:n}}function a(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=v.makeExecute(t);return{apis:v.mapTagOperations({v2OperationIdCompatibilityMode:t.v2OperationIdCompatibilityMode,spec:t.spec,cb:e})}}function u(t){var e=t.spec,r=t.cb,n=void 0===r?h:r,o=t.defaultTag,i=void 0===o?"default":o,a=t.v2OperationIdCompatibilityMode,u={},s={};return(0,p.eachOperation)(e,function(t){var r=t.pathName,o=t.method,c=t.operation;(c.tags?d(c.tags):[i]).forEach(function(t){if("string"==typeof t){var i=s[t]=s[t]||{},f=(0,p.opId)(c,r,o,{v2OperationIdCompatibilityMode:a}),l=n({spec:e,pathName:r,method:o,operation:c,operationId:f});if(u[f])u[f]++,i[""+f+u[f]]=l;else if(void 0!==i[f]){var h=u[f]||1;u[f]=h+1,i[""+f+u[f]]=l;var d=i[f];delete i[f],i[""+f+h]=d}else i[f]=l}})}),s}Object.defineProperty(e,"__esModule",{value:!0}),e.self=void 0;var s=r(28),c=n(s);e.makeExecute=o,e.makeApisTagOperationsOperationExecute=i,e.makeApisTagOperation=a,e.mapTagOperations=u;var f=r(380),l=n(f),p=r(45),h=function(){return null},d=function(t){return Array.isArray(t)?t:[t]},v=e.self={mapTagOperations:u,makeExecute:o}},function(t,e,r){var n=r(381),o=r(384),i=o(function(t,e){return null==t?{}:n(t,e)});t.exports=i},function(t,e,r){function n(t,e){return o(t,e,function(e,r){return i(t,r)})}var o=r(382),i=r(160);t.exports=n},function(t,e,r){function n(t,e,r){for(var n=-1,u=e.length,s={};++n<u;){var c=e[n],f=o(t,c);r(f,c)&&i(s,a(c,t),f)}return s}var o=r(107),i=r(383),a=r(67);t.exports=n},function(t,e,r){function n(t,e,r,n){if(!u(t))return t;e=i(e,t);for(var c=-1,f=e.length,l=f-1,p=t;null!=p&&++c<f;){var h=s(e[c]),d=r;if(c!=l){var v=p[h];d=n?n(v,h,p):void 0,void 0===d&&(d=u(v)?v:a(e[c+1])?[]:{})}o(p,h,d),p=p[h]}return t}var o=r(54),i=r(67),a=r(56),u=r(10),s=r(44);t.exports=n},function(t,e,r){function n(t){return a(i(t,void 0,o),t+"")}var o=r(385),i=r(129),a=r(130);t.exports=n},function(t,e,r){function n(t){return(null==t?0:t.length)?o(t,1):[]}var o=r(386);t.exports=n},function(t,e,r){function n(t,e,r,a,u){var s=-1,c=t.length;for(r||(r=i),u||(u=[]);++s<c;){var f=t[s];e>0&&r(f)?e>1?n(f,e-1,r,a,u):o(u,f):a||(u[u.length]=f)}return u}var o=r(88),i=r(387);t.exports=n},function(t,e,r){function n(t){return a(t)||i(t)||!!(u&&t&&t[u])}var o=r(23),i=r(82),a=r(6),u=o?o.isConcatSpreadable:void 0;t.exports=n},function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}function o(t){var e=t.http,r=t.fetch,n=t.spec,o=t.operationId,i=t.pathName,a=t.method,u=t.parameters,s=t.securities,c=(0,y.default)(t,["http","fetch","spec","operationId","pathName","method","parameters","securities"]),f=e||r||M.default;i&&a&&!o&&(o=(0,H.legacyIdFromPathMethod)(i,a));var l=K.buildRequest((0,d.default)({spec:n,operationId:o,parameters:u,securities:s,http:f},c));return l.body&&((0,j.default)(l.body)||(0,P.default)(l.body))&&(l.body=(0,p.default)(l.body)),f(l)}function i(t){var e=t.spec,r=t.operationId,n=(t.securities,t.requestContentType,t.responseContentType),o=t.scheme,i=t.requestInterceptor,u=t.responseInterceptor,s=t.contextUrl,c=t.userFetch,f=(t.requestBody,t.server),l=t.serverVariables,p=t.http,h=t.parameters,v=t.parameterBuilders,y=(0,H.isOAS3)(e);v||(v=y?B.default:D.default);var g=p&&p.withCredentials?"include":"same-origin",b={url:"",credentials:g,headers:{},cookies:{}};i&&(b.requestInterceptor=i),u&&(b.responseInterceptor=u),c&&(b.userFetch=c);var w=(0,H.getOperationRaw)(e,r);if(!w)throw new J("Operation "+r+" not found");var x=w.operation,_=void 0===x?{}:x,A=w.method,O=w.pathName;if(b.url+=a({spec:e,scheme:o,contextUrl:s,server:f,serverVariables:l,pathName:O,method:A}),!r)return delete b.cookies,b;b.url+=O,b.method=(""+A).toUpperCase(),h=h||{};var j=e.paths[O]||{};n&&(b.headers.accept=n);var E=W([].concat(V(_.parameters)).concat(V(j.parameters)));E.forEach(function(t){var r=v[t.in],n=void 0;if("body"===t.in&&t.schema&&t.schema.properties&&(n=h),n=t&&t.name&&h[t.name],void 0===n?n=t&&t.name&&h[t.in+"."+t.name]:G(t.name,E).length>1&&console.warn("Parameter '"+t.name+"' is ambiguous because the defined spec has more than one parameter with the name: '"+t.name+"' and the passed-in parameter values did not define an 'in' value."),null!==n){if(void 0!==t.default&&void 0===n&&(n=t.default),void 0===n&&t.required&&!t.allowEmptyValue)throw new Error("Required parameter "+t.name+" is not provided");if(y&&t.schema&&"object"===t.schema.type&&"string"==typeof n)try{n=JSON.parse(n)}catch(t){throw new Error("Could not parse object parameter value string as JSON")}r&&r({req:b,parameter:t,value:n,operation:_,spec:e})}});var P=(0,d.default)({},t,{operation:_});if(b=y?(0,z.default)(P,b):(0,$.default)(P,b),b.cookies&&(0,m.default)(b.cookies).length){var C=(0,m.default)(b.cookies).reduce(function(t,e){var r=b.cookies[e];return t+(t?"&":"")+I.default.serialize(e,r)},"");b.headers.Cookie=C}return b.cookies&&delete b.cookies,(0,R.mergeInQueryOrForm)(b),b}function a(t){return(0,H.isOAS3)(t.spec)?u(t):f(t)}function u(t){var e=t.spec,r=t.pathName,n=t.method,o=t.server,i=t.contextUrl,a=t.serverVariables,u=void 0===a?{}:a,f=(0,A.default)(e,["paths",r,(n||"").toLowerCase(),"servers"])||(0,A.default)(e,["paths",r,"servers"])||(0,A.default)(e,["servers"]),l="",p=null;if(o&&f&&f.length){var h=f.map(function(t){return t.url});h.indexOf(o)>-1&&(l=o,p=f[h.indexOf(o)])}if(!l&&f&&f.length&&(l=f[0].url,p=f[0]),l.indexOf("{")>-1){c(l).forEach(function(t){if(p.variables&&p.variables[t]){var e=p.variables[t],r=u[t]||e.default,n=new RegExp("{"+t+"}","g");l=l.replace(n,r)}})}return s(l,i)}function s(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",r=k.default.parse(t),n=k.default.parse(e),o=Q(r.protocol)||Q(n.protocol)||"",i=r.host||n.host,a=r.pathname||"",u=void 0;return u=o&&i?o+"://"+(i+a):a,"/"===u[u.length-1]?u.slice(0,-1):u}function c(t){for(var e=[],r=/{([^}]+)}/g,n=void 0;n=r.exec(t);)e.push(n[1]);return e}function f(t){var e=t.spec,r=t.scheme,n=t.contextUrl,o=void 0===n?"":n,i=k.default.parse(o),a=Array.isArray(e.schemes)?e.schemes[0]:null,u=r||a||Q(i.protocol)||"http",s=e.host||i.host||"",c=e.basePath||"",f=void 0;return f=u&&s?u+"://"+(s+c):c,"/"===f[f.length-1]?f.slice(0,-1):f}Object.defineProperty(e,"__esModule",{value:!0}),e.self=void 0;var l=r(62),p=n(l),h=r(28),d=n(h),v=r(389),y=n(v),g=r(11),m=n(g),b=r(14),w=n(b);e.execute=o,e.buildRequest=i,e.baseUrl=a;var x=r(59),_=(n(x),r(66)),A=n(_),O=r(390),j=n(O),E=r(6),P=n(E),C=r(111),S=(n(C),r(92)),k=n(S),T=r(391),I=n(T),R=r(61),M=n(R),N=r(164),F=n(N),L=r(392),D=n(L),U=r(393),B=n(U),q=r(398),z=n(q),Y=r(399),$=n(Y),H=r(45),V=function(t){return Array.isArray(t)?t:[]},J=(0,F.default)("OperationNotFoundError",function(t,e,r){this.originalError=r,(0,w.default)(this,e||{})}),G=function(t,e){return e.filter(function(e){return e.name===t})},W=function(t){var e={};t.forEach(function(t){e[t.in]||(e[t.in]={}),e[t.in][t.name]=t});var r=[];return(0,m.default)(e).forEach(function(t){(0,m.default)(e[t]).forEach(function(n){r.push(e[t][n])})}),r},K=e.self={buildRequest:i},Q=function(t){return t?t.replace(/\W/g,""):null}},function(t,e,r){"use strict";e.__esModule=!0,e.default=function(t,e){var r={};for(var n in t)e.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(t,n)&&(r[n]=t[n]);return r}},function(t,e,r){function n(t){if(!a(t)||o(t)!=u)return!1;var e=i(t);if(null===e)return!0;var r=l.call(e,"constructor")&&e.constructor;return"function"==typeof r&&r instanceof r&&f.call(r)==p}var o=r(21),i=r(89),a=r(13),u="[object Object]",s=Function.prototype,c=Object.prototype,f=s.toString,l=c.hasOwnProperty,p=f.call(Object);t.exports=n},function(t,e,r){"use strict";function n(t,e){if("string"!=typeof t)throw new TypeError("argument str must be a string");for(var r={},n=e||{},o=t.split(s),u=n.decode||a,c=0;c<o.length;c++){var f=o[c],l=f.indexOf("=");if(!(l<0)){var p=f.substr(0,l).trim(),h=f.substr(++l,f.length).trim();'"'==h[0]&&(h=h.slice(1,-1)),void 0==r[p]&&(r[p]=i(h,u))}}return r}function o(t,e,r){var n=r||{},o=n.encode||u;if("function"!=typeof o)throw new TypeError("option encode is invalid");if(!c.test(t))throw new TypeError("argument name is invalid");var i=o(e);if(i&&!c.test(i))throw new TypeError("argument val is invalid");var a=t+"="+i;if(null!=n.maxAge){var s=n.maxAge-0;if(isNaN(s))throw new Error("maxAge should be a Number");a+="; Max-Age="+Math.floor(s)}if(n.domain){if(!c.test(n.domain))throw new TypeError("option domain is invalid");a+="; Domain="+n.domain}if(n.path){if(!c.test(n.path))throw new TypeError("option path is invalid");a+="; Path="+n.path}if(n.expires){if("function"!=typeof n.expires.toUTCString)throw new TypeError("option expires is invalid");a+="; Expires="+n.expires.toUTCString()}if(n.httpOnly&&(a+="; HttpOnly"),n.secure&&(a+="; Secure"),n.sameSite){switch("string"==typeof n.sameSite?n.sameSite.toLowerCase():n.sameSite){case!0:a+="; SameSite=Strict";break;case"lax":a+="; SameSite=Lax";break;case"strict":a+="; SameSite=Strict";break;default:throw new TypeError("option sameSite is invalid")}}return a}function i(t,e){try{return e(t)}catch(e){return t}}/*!
34
+ * cookie
35
+ * Copyright(c) 2012-2014 Roman Shtylman
36
+ * Copyright(c) 2015 Douglas Christopher Wilson
37
+ * MIT Licensed
38
+ */
39
+ e.parse=n,e.serialize=o;var a=decodeURIComponent,u=encodeURIComponent,s=/; */,c=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/},function(t,e,r){"use strict";function n(t){var e=t.req,r=t.value;e.body=r}function o(t){var e=t.req,r=t.value,n=t.parameter;(r||n.allowEmptyValue)&&(e.form=e.form||{},e.form[n.name]={value:r,allowEmptyValue:n.allowEmptyValue,collectionFormat:n.collectionFormat})}function i(t){var e=t.req,r=t.parameter,n=t.value;e.headers=e.headers||{},void 0!==n&&(e.headers[r.name]=n)}function a(t){var e=t.req,r=t.value,n=t.parameter;e.url=e.url.replace("{"+n.name+"}",encodeURIComponent(r))}function u(t){var e=t.req,r=t.value,n=t.parameter;if(e.query=e.query||{},!1===r&&"boolean"===n.type&&(r="false"),0===r&&["number","integer"].indexOf(n.type)>-1&&(r="0"),r)e.query[n.name]={collectionFormat:n.collectionFormat,value:r};else if(n.allowEmptyValue&&void 0!==r){var o=n.name;e.query[o]=e.query[o]||{},e.query[o].allowEmptyValue=!0}}Object.defineProperty(e,"__esModule",{value:!0}),e.default={body:n,header:i,query:u,path:a,formData:o},t.exports=e.default},function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}function o(t){var e=t.req,r=t.value,n=t.parameter,o=n.name,i=n.style,a=n.explode,u=(0,h.default)({key:n.name,value:r,style:i||"simple",explode:a||!1,escape:!0});e.url=e.url.replace("{"+o+"}",u)}function i(t){var e=t.req,r=t.value,n=t.parameter;if(e.query=e.query||{},!1===r&&(r="false"),0===r&&(r="0"),r){var o=void 0===r?"undefined":(0,l.default)(r);if("deepObject"===n.style){(0,c.default)(r).forEach(function(t){var o=r[t];e.query[n.name+"["+t+"]"]={value:(0,h.default)({key:t,value:o,style:"deepObject",escape:n.allowReserved?"unsafe":"reserved"}),skipEncoding:!0}})}else if("object"!==o||Array.isArray(r)||"form"!==n.style&&n.style||!n.explode&&void 0!==n.explode)e.query[n.name]={value:(0,h.default)({key:n.name,value:r,style:n.style||"form",explode:void 0===n.explode||n.explode,escape:n.allowReserved?"unsafe":"reserved"}),skipEncoding:!0};else{var i=(0,c.default)(r);i.forEach(function(t){var o=r[t];e.query[t]={value:(0,h.default)({key:t,value:o,style:n.style||"form",escape:n.allowReserved?"unsafe":"reserved"}),skipEncoding:!0}})}}else if(n.allowEmptyValue&&void 0!==r){var a=n.name;e.query[a]=e.query[a]||{},e.query[a].allowEmptyValue=!0}}function a(t){var e=t.req,r=t.parameter,n=t.value;e.headers=e.headers||{},d.indexOf(r.name.toLowerCase())>-1||void 0!==n&&(e.headers[r.name]=(0,h.default)({key:r.name,value:n,style:r.style||"simple",explode:void 0!==r.explode&&r.explode,escape:!1}))}function u(t){var e=t.req,r=t.parameter,n=t.value;e.headers=e.headers||{};var o=void 0===n?"undefined":(0,l.default)(n);if("undefined"!==o){var i="object"===o&&!Array.isArray(n)&&r.explode?"":r.name+"=";e.headers.Cookie=i+(0,h.default)({key:r.name,value:n,escape:!1,style:r.style||"form",explode:void 0!==r.explode&&r.explode})}}Object.defineProperty(e,"__esModule",{value:!0});var s=r(11),c=n(s),f=r(18),l=n(f),p=r(394),h=n(p);e.default={path:o,query:i,header:a,cookie:u};var d=["accept","authorization","content-type"];t.exports=e.default},function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}function o(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=e.escape,n=arguments[2];return"number"==typeof t&&(t=t.toString()),"string"==typeof t&&t.length&&r?n?JSON.parse(t):(0,v.stringToCharArray)(t).map(function(t){return g(t)?t:y(t)&&"unsafe"===r?t:((0,d.default)(t)||[]).map(function(t){return("0"+t.toString(16).toUpperCase()).slice(-2)}).map(function(t){return"%"+t}).join("")}).join(""):t}function i(t){var e=t.key,r=t.value,n=t.style,i=t.explode,a=t.escape,u=function(t){return o(t,{escape:a})};if("simple"===n)return r.map(function(t){return u(t)}).join(",");if("label"===n)return"."+r.map(function(t){return u(t)}).join(".");if("matrix"===n)return r.map(function(t){return u(t)}).reduce(function(t,r){return!t||i?(t||"")+";"+e+"="+r:t+","+r},"");if("form"===n){var s=i?"&"+e+"=":",";return r.map(function(t){return u(t)}).join(s)}if("spaceDelimited"===n){var c=i?e+"=":"";return r.map(function(t){return u(t)}).join(" "+c)}if("pipeDelimited"===n){var f=i?e+"=":"";return r.map(function(t){return u(t)}).join("|"+f)}}function a(t){var e=t.key,r=t.value,n=t.style,i=t.explode,a=t.escape,u=function(t){return o(t,{escape:a})},s=(0,c.default)(r);return"simple"===n?s.reduce(function(t,e){var n=u(r[e]),o=i?"=":",";return(t?t+",":"")+e+o+n},""):"label"===n?s.reduce(function(t,e){var n=u(r[e]),o=i?"=":".";return(t?t+".":".")+e+o+n},""):"matrix"===n&&i?s.reduce(function(t,e){var n=u(r[e]);return(t?t+";":";")+e+"="+n},""):"matrix"===n?s.reduce(function(t,n){var o=u(r[n]);return(t?t+",":";"+e+"=")+n+","+o},""):"form"===n?s.reduce(function(t,e){var n=u(r[e]);return(t?t+(i?"&":","):"")+e+(i?"=":",")+n},""):void 0}function u(t){var e=t.key,r=t.value,n=t.style,i=t.escape,a=function(t){return o(t,{escape:i})};return"simple"===n?a(r):"label"===n?"."+a(r):"matrix"===n?";"+e+"="+a(r):"form"===n?a(r):"deepObject"===n?a(r):void 0}Object.defineProperty(e,"__esModule",{value:!0});var s=r(11),c=n(s),f=r(18),l=n(f);e.encodeDisallowedCharacters=o,e.default=function(t){var e=t.value;return Array.isArray(e)?i(t):"object"===(void 0===e?"undefined":(0,l.default)(e))?a(t):u(t)};var p=r(395),h=(n(p),r(396)),d=n(h),v=r(397),y=function(t){return":/?#[]@!$&'()*+,;=".indexOf(t)>-1},g=function(t){return/^[a-z0-9\-._~]+$/i.test(t)}},function(t,e,r){"use strict";var n=function(t){return encodeURIComponent(t).replace(/[!'()*]/g,function(t){return"%"+t.charCodeAt(0).toString(16).toUpperCase()})};t.exports=n},function(t,e){t.exports=function(t){for(var e=[],r=0;r<t.length;r++){var n=t.charCodeAt(r);if(n>=55296&&n<=56319&&r+1<t.length){var o=t.charCodeAt(r+1);if(o>=56320&&o<=57343){var i=1024*(n-55296)+o-56320+65536;e.push(240+Math.floor(i/64/64/64),128+Math.floor(i/64/64)%64,128+Math.floor(i/64)%64,128+i%64),r+=1;continue}}n>=2048?e.push(224+Math.floor(n/64/64),128+Math.floor(n/64)%64,128+n%64):n>=128?e.push(192+Math.floor(n/64),128+n%64):e.push(n)}return e}},function(t,e){!function(){function t(t,e){function r(t,e){return n(t,new RegExp(a.source,"g"),e)}function n(t,e,r){if(!o(t))return r;var n=0,i=0;do{var a=e.exec(t);if(null===a)break;if(!(i<r))break;n+=a[0].length,i++}while(null!==a);return n>=t.length?-1:n}function o(t){return u.test(t)}function i(t,r){void 0==t&&(t=["[^]"]),void 0==r&&(r="g");var n=[];return e.forEach(function(t){n.push(t.source)}),n.push(a.source),n=n.concat(t),new RegExp(n.join("|"),r)}t.findCharIndex=function(t,e){if(e>=t.length)return-1;if(!o(t))return e;for(var r=i(),n=0;null!==r.exec(t)&&!(r.lastIndex>e);)n++;return n},t.findByteIndex=function(t,e){return e>=this.length(t)?-1:n(t,i(),e)},t.charAt=function(t,e){var r=this.findByteIndex(t,e);if(r<0||r>=t.length)return"";var n=t.slice(r,r+8),o=u.exec(n);return null===o?n[0]:o[0]},t.charCodeAt=function(t,e){var n=r(t,e);if(n<0)return NaN;var o=t.charCodeAt(n);if(55296<=o&&o<=56319){return 1024*(o-55296)+(t.charCodeAt(n+1)-56320)+65536}return o},t.fromCharCode=function(t){return t>65535?(t-=65536,String.fromCharCode(55296+(t>>10),56320+(1023&t))):String.fromCharCode(t)},t.indexOf=function(t,e,r){void 0!==r&&null!==r||(r=0);var n=this.findByteIndex(t,r),o=t.indexOf(e,n);return o<0?-1:this.findCharIndex(t,o)},t.lastIndexOf=function(t,e,r){var n;if(void 0===r||null===r)n=t.lastIndexOf(e);else{var o=this.findByteIndex(t,r);n=t.lastIndexOf(e,o)}return n<0?-1:this.findCharIndex(t,n)},t.slice=function(t,e,r){var n,o=this.findByteIndex(t,e);return o<0&&(o=t.length),void 0===r||null===r?n=t.length:(n=this.findByteIndex(t,r))<0&&(n=t.length),t.slice(o,n)},t.substr=function(t,e,r){return e<0&&(e=this.length(t)+e),void 0===r||null===r?this.slice(t,e):this.slice(t,e,e+r)},t.substring=t.slice,t.length=function(t){return this.findCharIndex(t,t.length-1)+1},t.stringToCodePoints=function(t){for(var e=[],r=0;r<t.length&&(codePoint=this.charCodeAt(t,r),codePoint);r++)e.push(codePoint);return e},t.codePointsToString=function(t){for(var e=[],r=0;r<t.length;r++)e.push(this.fromCharCode(t[r]));return e.join("")},t.stringToBytes=function(t){for(var e=[],r=0;r<t.length;r++){for(var n=t.charCodeAt(r),o=[];n>0;)o.push(255&n),n>>=8;1==o.length&&o.push(0),e=e.concat(o.reverse())}return e},t.bytesToString=function(t){for(var e=[],r=0;r<t.length;r+=2){var n=t[r],o=t[r+1],i=n<<8|o;e.push(String.fromCharCode(i))}return e.join("")},t.stringToCharArray=function(t){var e=[],r=i();do{var n=r.exec(t);if(null===n)break;e.push(n[0])}while(null!==n);return e};var a=/[\uD800-\uDBFF][\uDC00-\uDFFF]/,u=i([],"")}var r;void 0!==e&&null!==e?r=e:"undefined"!=typeof window&&null!==window&&(void 0!==window.UtfString&&null!==window.UtfString||(window.UtfString={}),r=window.UtfString);var n=/\uD83C[\uDDE6-\uDDFF]\uD83C[\uDDE6-\uDDFF]/;r.visual={},t(r,[]),t(r.visual,[n])}()},function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}function o(t){var e=t.request,r=t.securities,n=void 0===r?{}:r,o=t.operation,i=void 0===o?{}:o,a=t.spec,u=(0,p.default)({},e),s=n.authorized,c=void 0===s?{}:s,l=i.security||a.security||[],h=c&&!!(0,f.default)(c).length,v=(0,d.default)(a,["components","securitySchemes"])||{};return u.headers=u.headers||{},u.query=u.query||{},(0,f.default)(n).length&&h&&l&&(!Array.isArray(i.security)||i.security.length)?(l.forEach(function(t,e){for(var r in t){var n=c[r],o=v[r];if(n){var i=n.value||n,a=o.type;if(n)if("apiKey"===a)"query"===o.in&&(u.query[o.name]=i),"header"===o.in&&(u.headers[o.name]=i),"cookie"===o.in&&(u.cookies[o.name]=i);else if("http"===a){if("basic"===o.scheme){var s=i.username,f=i.password,l=(0,y.default)(s+":"+f);u.headers.Authorization="Basic "+l}"bearer"===o.scheme&&(u.headers.Authorization="Bearer "+i)}else if("oauth2"===a){var p=n.token||{},h=p.access_token,d=p.token_type;d&&"bearer"!==d.toLowerCase()||(d="Bearer"),u.headers.Authorization=d+" "+h}}}}),u):e}Object.defineProperty(e,"__esModule",{value:!0});var i=r(62),a=n(i),u=r(18),s=n(u),c=r(11),f=n(c);e.default=function(t,e){var r=t.operation,n=t.requestBody,i=t.securities,u=t.spec,c=t.attachContentTypeForEmptyPayload,l=t.requestContentType;e=o({request:e,securities:i,operation:r,spec:u});var p=r.requestBody||{},h=(0,f.default)(p.content||{}),d=l&&h.indexOf(l)>-1;if(n||c){if(l&&d)e.headers["Content-Type"]=l;else if(!l){var v=h[0];v&&(e.headers["Content-Type"]=v,l=v)}}else l&&d&&(e.headers["Content-Type"]=l);return n&&(l?h.indexOf(l)>-1&&("application/x-www-form-urlencoded"===l||0===l.indexOf("multipart/")?"object"===(void 0===n?"undefined":(0,s.default)(n))?(e.form={},(0,f.default)(n).forEach(function(t){var r=n[t],o=void 0,i=void 0;"undefined"!=typeof File&&(i=r instanceof File),"undefined"!=typeof Blob&&(i=i||r instanceof Blob),void 0!==g.Buffer&&(i=i||g.Buffer.isBuffer(r)),o="object"!==(void 0===r?"undefined":(0,s.default)(r))||i?r:Array.isArray(r)?r.toString():(0,a.default)(r),e.form[t]={value:o}})):e.form=n:e.body=n):e.body=n),e},e.applySecurities=o;var l=r(59),p=n(l),h=r(66),d=n(h),v=r(111),y=n(v),g=r(43)},function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}function o(t){var e=t.request,r=t.securities,n=void 0===r?{}:r,o=t.operation,i=void 0===o?{}:o,u=t.spec,c=(0,f.default)({},e),l=n.authorized,p=void 0===l?{}:l,h=n.specSecurity,d=void 0===h?[]:h,v=i.security||d,y=p&&!!(0,a.default)(p).length,g=u.securityDefinitions;return c.headers=c.headers||{},c.query=c.query||{},(0,a.default)(n).length&&y&&v&&(!Array.isArray(i.security)||i.security.length)?(v.forEach(function(t,e){for(var r in t){var n=p[r];if(n){var o=n.token,i=n.value||n,a=g[r],u=a.type,f=a["x-tokenName"]||"access_token",l=o&&o[f],h=o&&o.token_type;if(n)if("apiKey"===u){var d="query"===a.in?"query":"headers";c[d]=c[d]||{},c[d][a.name]=i}else"basic"===u?i.header?c.headers.authorization=i.header:(i.base64=(0,s.default)(i.username+":"+i.password),c.headers.authorization="Basic "+i.base64):"oauth2"===u&&l&&(h=h&&"bearer"!==h.toLowerCase()?h:"Bearer",c.headers.authorization=h+" "+l)}}}),c):e}Object.defineProperty(e,"__esModule",{value:!0});var i=r(11),a=n(i);e.default=function(t,e){var r=t.spec,n=t.operation,i=t.securities,a=t.requestContentType,u=t.attachContentTypeForEmptyPayload;if(e=o({request:e,securities:i,operation:n,spec:r}),e.body||e.form||u)a?e.headers["Content-Type"]=a:Array.isArray(n.consumes)?e.headers["Content-Type"]=n.consumes[0]:Array.isArray(r.consumes)?e.headers["Content-Type"]=r.consumes[0]:n.parameters&&n.parameters.filter(function(t){return"file"===t.type}).length?e.headers["Content-Type"]="multipart/form-data":n.parameters&&n.parameters.filter(function(t){return"formData"===t.in}).length&&(e.headers["Content-Type"]="application/x-www-form-urlencoded");else if(a){var s=n.parameters&&n.parameters.filter(function(t){return"body"===t.in}).length>0,c=n.parameters&&n.parameters.filter(function(t){return"formData"===t.in}).length>0;(s||c)&&(e.headers["Content-Type"]=a)}return e},e.applySecurities=o;var u=r(111),s=n(u),c=r(59),f=n(c),l=r(61);n(l)}])});
40
+ //# sourceMappingURL=index.js.map
package/dist/index.js CHANGED
@@ -1,2 +1,2 @@
1
- module.exports=function(e){function t(n){if(r[n])return r[n].exports;var a=r[n]={i:n,l:!1,exports:{}};return e[n].call(a.exports,a,a.exports,t),a.l=!0,a.exports}var r={};return t.m=e,t.c=r,t.d=function(e,r,n){t.o(e,r)||Object.defineProperty(e,r,{configurable:!1,enumerable:!0,get:n})},t.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(r,"a",r),r},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=23)}([function(e,t){e.exports=require("babel-runtime/core-js/object/keys")},function(e,t){e.exports=require("babel-runtime/helpers/typeof")},function(e,t){e.exports=require("babel-runtime/core-js/object/assign")},function(e,t){e.exports=require("babel-runtime/helpers/extends")},function(e,t){e.exports=require("babel-runtime/regenerator")},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}function a(e){var t=e.openapi;return!!t&&(0,x.default)(t,"3")}function u(e){var t=e.swagger;return!!t&&(0,x.default)(t,"2")}function o(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},a=n.v2OperationIdCompatibilityMode;return e&&"object"===(void 0===e?"undefined":(0,m.default)(e))?(e.operationId||"").replace(/\s/g,"").length?k(e.operationId):i(t,r,{v2OperationIdCompatibilityMode:a}):null}function i(e,t){if((arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).v2OperationIdCompatibilityMode){var r=(t.toLowerCase()+"_"+e).replace(/[\s!@#$%^&*()_+=[{\]};:<>|.\/?,\\'""-]/g,"_");return r=r||e.substring(1)+"_"+t,r.replace(/((_){2,})/g,"_").replace(/^(_)*/g,"").replace(/([_])*$/g,"")}return""+P(t)+k(e)}function s(e,t){return P(t)+"-"+e}function l(e,t){return e&&e.paths?c(e,function(e){var r=e.pathName,n=e.method,a=e.operation;if(!a||"object"!==(void 0===a?"undefined":(0,m.default)(a)))return!1;var u=a.operationId;return[o(a,r,n),s(r,n),u].some(function(e){return e&&e===t})}):null}function c(e,t){return f(e,t,!0)||null}function f(e,t,r){if(!e||"object"!==(void 0===e?"undefined":(0,m.default)(e))||!e.paths||"object"!==(0,m.default)(e.paths))return null;var n=e.paths;for(var a in n)for(var u in n[a])if("PARAMETERS"!==u.toUpperCase()){var o=n[a][u];if(o&&"object"===(void 0===o?"undefined":(0,m.default)(o))){var i={spec:e,pathName:a,method:u.toUpperCase(),operation:o},s=t(i);if(r&&s)return i}}}function p(e){var t=e.spec,r=t.paths,n={};if(!r||t.$$normalized)return e;for(var a in r){var u=r[a];if((0,g.default)(u)){var i=u.parameters;for(var s in u){(function(e){var r=u[e];if(!(0,g.default)(r))return"continue";var s=o(r,a,e);if(s){n[s]?n[s].push(r):n[s]=[r];var l=n[s];if(l.length>1)l.forEach(function(e,t){e.__originalOperationId=e.__originalOperationId||e.operationId,e.operationId=""+s+(t+1)});else if(void 0!==r.operationId){var c=l[0];c.__originalOperationId=c.__originalOperationId||r.operationId,c.operationId=s}}if("parameters"!==e){var f=[],p={};for(var d in t)"produces"!==d&&"consumes"!==d&&"security"!==d||(p[d]=t[d],f.push(p));if(i&&(p.parameters=i,f.push(p)),f.length){var v=!0,m=!1,y=void 0;try{for(var b,x=(0,h.default)(f);!(v=(b=x.next()).done);v=!0){var P=b.value;for(var k in P)if(r[k]){if("parameters"===k){var w=!0,_=!1,O=void 0;try{for(var q,M=(0,h.default)(P[k]);!(w=(q=M.next()).done);w=!0)!function(){var e=q.value;r[k].some(function(t){return t.name&&t.name===e.name||t.$ref&&t.$ref===e.$ref||t.$$ref&&t.$$ref===e.$$ref||t===e})||r[k].push(e)}()}catch(e){_=!0,O=e}finally{try{!w&&M.return&&M.return()}finally{if(_)throw O}}}}else r[k]=P[k]}}catch(e){m=!0,y=e}finally{try{!v&&x.return&&x.return()}finally{if(m)throw y}}}}})(s)}}}return t.$$normalized=!0,e}Object.defineProperty(t,"__esModule",{value:!0});var d=r(18),h=n(d),v=r(1),m=n(v);t.isOAS3=a,t.isSwagger2=u,t.opId=o,t.idFromPathMethod=i,t.legacyIdFromPathMethod=s,t.getOperationRaw=l,t.findOperation=c,t.eachOperation=f,t.normalizeSwagger=p;var y=r(47),g=n(y),b=r(14),x=n(b),P=function(e){return String.prototype.toLowerCase.call(e)},k=function(e){return e.replace(/[^\w]/gi,"_")}},function(e,t){e.exports=require("lodash/assign")},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}function a(e,t){return"application/json"===t?JSON.parse(e):M.default.safeLoad(e)}function u(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=r.loadSpec,u=void 0!==n&&n,i={ok:e.ok,url:e.url||t,status:e.status,statusText:e.statusText,headers:o(e.headers)},s=i.headers["content-type"],l=u||I(s);return(l?e.text:e.blob||e.buffer).call(e).then(function(e){if(i.text=e,i.data=e,l)try{var t=a(e,s);i.body=t,i.obj=t}catch(e){i.parseError=e}return i})}function o(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t={};return"function"==typeof e.forEach?(e.forEach(function(e,r){void 0!==t[r]?(t[r]=Array.isArray(t[r])?t[r]:[t[r]],t[r].push(e)):t[r]=e}),t):t}function i(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:navigator;return t&&"ReactNative"===t.product?!(!e||"object"!==(void 0===e?"undefined":(0,P.default)(e))||"string"!=typeof e.uri):"undefined"!=typeof File?e instanceof File:null!==e&&"object"===(void 0===e?"undefined":(0,P.default)(e))&&"function"==typeof e.pipe}function s(e,t){var r=e.collectionFormat,n=e.allowEmptyValue,a="object"===(void 0===e?"undefined":(0,P.default)(e))?e.value:e,u={csv:",",ssv:"%20",tsv:"%09",pipes:"|"};if(void 0===a&&n)return"";if(i(a)||"boolean"==typeof a)return a;var o=encodeURIComponent;return t&&(o=(0,j.default)(a)?function(e){return e}:function(e){return(0,y.default)(e)}),"object"!==(void 0===a?"undefined":(0,P.default)(a))||Array.isArray(a)?Array.isArray(a)?Array.isArray(a)&&!r?a.map(o).join(","):"multi"===r?a.map(o):a.map(o).join(u[r]):o(a):""}function l(e){var t=(0,v.default)(e).reduce(function(t,r){var n=e[r],a=!!n.skipEncoding,u=a?r:encodeURIComponent(r),o=function(e){return e&&"object"===(void 0===e?"undefined":(0,P.default)(e))}(n)&&!Array.isArray(n);return t[u]=s(o?n:{value:n},a),t},{});return O.default.stringify(t,{encode:!1,indices:!1})||""}function c(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.url,n=void 0===t?"":t,a=e.query,u=e.form;if(u){var o=(0,v.default)(u).some(function(e){return i(u[e].value)}),c=e.headers["content-type"]||e.headers["Content-Type"];if(o||/multipart\/form-data/i.test(c)){var f=r(30);e.body=new f,(0,v.default)(u).forEach(function(t){e.body.append(t,s(u[t],!0))})}else e.body=l(u);delete e.form}if(a){var p=n.split("?"),h=(0,d.default)(p,2),m=h[0],y=h[1],g="";if(y){var b=O.default.parse(y);(0,v.default)(a).forEach(function(e){return delete b[e]}),g=O.default.stringify(b,{encode:!0})}var x=function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];var n=t.filter(function(e){return e}).join("&");return n?"?"+n:""}(g,l(a));e.url=m+x,delete e.query}return e}function f(e,t,r){return r=r||function(e){return e},t=t||function(e){return e},function(n){return"string"==typeof n&&(n={url:n}),C.mergeInQueryOrForm(n),n=t(n),r(e(n))}}Object.defineProperty(t,"__esModule",{value:!0}),t.shouldDownloadAsText=t.self=void 0;var p=r(26),d=n(p),h=r(0),v=n(h),m=r(8),y=n(m),g=r(4),b=n(g),x=r(1),P=n(x),k=r(11),w=n(k);t.serializeRes=u,t.serializeHeaders=o,t.isFile=i,t.encodeFormOrQuery=l,t.mergeInQueryOrForm=c,t.makeHttp=f,r(27);var _=r(28),O=n(_),q=r(15),M=n(q),A=r(29),j=n(A),C=t.self={serializeRes:u,mergeInQueryOrForm:c};t.default=function(){function e(e){return t.apply(this,arguments)}var t=(0,w.default)(b.default.mark(function e(t){var r,n,a,u,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return b.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if("object"===(void 0===t?"undefined":(0,P.default)(t))&&(o=t,t=o.url),o.headers=o.headers||{},C.mergeInQueryOrForm(o),!o.requestInterceptor){e.next=10;break}return e.next=6,o.requestInterceptor(o);case 6:if(e.t0=e.sent,e.t0){e.next=9;break}e.t0=o;case 9:o=e.t0;case 10:return r=o.headers["content-type"]||o.headers["Content-Type"],/multipart\/form-data/i.test(r)&&(delete o.headers["content-type"],delete o.headers["Content-Type"]),n=void 0,e.prev=13,e.next=16,(o.userFetch||fetch)(o.url,o);case 16:return n=e.sent,e.next=19,C.serializeRes(n,t,o);case 19:if(n=e.sent,!o.responseInterceptor){e.next=27;break}return e.next=23,o.responseInterceptor(n);case 23:if(e.t1=e.sent,e.t1){e.next=26;break}e.t1=n;case 26:n=e.t1;case 27:e.next=37;break;case 29:if(e.prev=29,e.t2=e.catch(13),n){e.next=33;break}throw e.t2;case 33:throw a=new Error(n.statusText),a.statusCode=a.status=n.status,a.responseError=e.t2,a;case 37:if(n.ok){e.next=42;break}throw u=new Error(n.statusText),u.statusCode=u.status=n.status,u.response=n,u;case 42:return e.abrupt("return",n);case 43:case"end":return e.stop()}},e,this,[[13,29]])}));return e}();var I=t.shouldDownloadAsText=function(){return/(json|xml|yaml|text)\b/.test(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"")}},function(e,t){e.exports=require("babel-runtime/core-js/json/stringify")},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}function a(e,t,r){if(r=r||{},t=(0,L.default)({},t,{path:t.path&&u(t.path)}),"merge"===t.op){var n=T(e,t.path);(0,L.default)(n,t.value),U.default.applyPatch(e,[i(t.path,n)])}else if("mergeDeep"===t.op){var a=T(e,t.path);for(var o in t.value){var s=t.value[o],l=Array.isArray(s);if(l){var c=a[o]||[];a[o]=c.concat(s)}else if(w(s)&&!l){var f=(0,L.default)({},a[o]);for(var p in s){if(Object.prototype.hasOwnProperty.call(f,p)){f=(0,W.default)((0,Y.default)({},f),s);break}(0,L.default)(f,(0,B.default)({},p,s[p]))}a[o]=f}else a[o]=s}}else if("add"===t.op&&""===t.path&&w(t.value)){var d=(0,$.default)(t.value).reduce(function(e,r){return e.push({op:"add",path:"/"+u(r),value:t.value[r]}),e},[]);U.default.applyPatch(e,d)}else if("replace"===t.op&&""===t.path){var h=t.value;r.allowMetaPatches&&t.meta&&C(t)&&(Array.isArray(t.value)||w(t.value))&&(h=(0,L.default)({},h,t.meta)),e=h}else if(U.default.applyPatch(e,[t]),r.allowMetaPatches&&t.meta&&C(t)&&(Array.isArray(t.value)||w(t.value))){var v=T(e,t.path),m=(0,L.default)({},v,t.meta);U.default.applyPatch(e,[i(t.path,m)])}return e}function u(e){return Array.isArray(e)?e.length<1?"":"/"+e.map(function(e){return(e+"").replace(/~/g,"~0").replace(/\//g,"~1")}).join("/"):e}function o(e,t){return{op:"add",path:e,value:t}}function i(e,t,r){return{op:"replace",path:e,value:t,meta:r}}function s(e,t){return{op:"remove",path:e}}function l(e,t){return{type:"mutation",op:"merge",path:e,value:t}}function c(e,t){return{type:"mutation",op:"mergeDeep",path:e,value:t}}function f(e,t){return{type:"context",path:e,value:t}}function p(e,t){try{return h(e,m,t)}catch(e){return e}}function d(e,t){try{return h(e,v,t)}catch(e){return e}}function h(e,t,r){return k(P(e.filter(C).map(function(e){return t(e.value,r,e.path)})||[]))}function v(e,t,r){return r=r||[],Array.isArray(e)?e.map(function(e,n){return v(e,t,r.concat(n))}):w(e)?(0,$.default)(e).map(function(n){return v(e[n],t,r.concat(n))}):t(e,r[r.length-1],r)}function m(e,t,r){r=r||[];var n=[];if(r.length>0){var a=t(e,r[r.length-1],r);a&&(n=n.concat(a))}if(Array.isArray(e)){var u=e.map(function(e,n){return m(e,t,r.concat(n))});u&&(n=n.concat(u))}else if(w(e)){var o=(0,$.default)(e).map(function(n){return m(e[n],t,r.concat(n))});o&&(n=n.concat(o))}return n=P(n)}function y(e,t){if(!Array.isArray(t))return!1;for(var r=0,n=t.length;r<n;r++)if(t[r]!==e[r])return!1;return!0}function g(e,t){return t.reduce(function(e,t){return void 0!==t&&e?e[t]:e},e)}function b(e){return k(P(x(e)))}function x(e){return Array.isArray(e)?e:[e]}function P(e){var t;return(t=[]).concat.apply(t,(0,D.default)(e.map(function(e){return Array.isArray(e)?P(e):e})))}function k(e){return e.filter(function(e){return void 0!==e})}function w(e){return e&&"object"===(void 0===e?"undefined":(0,N.default)(e))}function _(e){return w(e)&&O(e.then)}function O(e){return e&&"function"==typeof e}function q(e){return e instanceof Error}function M(e){if(E(e)){var t=e.op;return"add"===t||"remove"===t||"replace"===t}return!1}function A(e){return G.default.isGeneratorFunction(e)}function j(e){return M(e)||E(e)&&"mutation"===e.type}function C(e){return j(e)&&("add"===e.op||"replace"===e.op||"merge"===e.op||"mergeDeep"===e.op)}function I(e){return E(e)&&"context"===e.type}function E(e){return e&&"object"===(void 0===e?"undefined":(0,N.default)(e))}function T(e,t){try{return U.default.getValueByPointer(e,t)}catch(e){return console.error(e),{}}}Object.defineProperty(t,"__esModule",{value:!0});var F=r(1),N=n(F),S=r(34),D=n(S),R=r(0),$=n(R),z=r(35),B=n(z),H=r(2),L=n(H),V=r(36),U=n(V),J=r(4),G=n(J),Q=r(37),W=n(Q),K=r(38),Y=n(K);t.default={add:o,replace:i,remove:s,merge:l,mergeDeep:c,context:f,getIn:g,applyPatch:a,parentPathMatch:y,flatten:P,fullyNormalizeArray:b,normalizeArray:x,isPromise:_,forEachNew:p,forEachNewPrimitive:d,isJsonPatch:M,isContextPatch:I,isPatch:E,isMutation:j,isAdditiveMutation:C,isGenerator:A,isFunction:O,isObject:w,isError:q},e.exports=t.default},function(e,t){e.exports=require("url")},function(e,t){e.exports=require("babel-runtime/helpers/asyncToGenerator")},function(e,t){e.exports=require("lodash/get")},function(e,t){e.exports=require("btoa")},function(e,t){e.exports=require("lodash/startsWith")},function(e,t){e.exports=require("@kyleshockey/js-yaml")},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}function a(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.requestInterceptor,n=t.responseInterceptor,a=e.withCredentials?"include":"same-origin";return function(t){return e({url:t,loadSpec:!0,requestInterceptor:r,responseInterceptor:n,headers:{Accept:"application/json"},credentials:a}).then(function(e){return e.body})}}function u(){d.plugins.refs.clearCache()}function o(e){function t(e){var t=this;k&&(d.plugins.refs.docCache[k]=e),d.plugins.refs.fetchJSON=a(P,{requestInterceptor:g,responseInterceptor:b});var r=[d.plugins.refs];return"function"==typeof y&&r.push(d.plugins.parameters),"function"==typeof m&&r.push(d.plugins.properties),"strict"!==o&&r.push(d.plugins.allOf),(0,h.default)({spec:e,context:{baseDoc:k},plugins:r,allowMetaPatches:l,pathDiscriminator:f,parameterMacro:y,modelPropertyMacro:m}).then(x?function(){var e=(0,c.default)(s.default.mark(function e(r){return s.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",r);case 1:case"end":return e.stop()}},e,t)}));return function(t){return e.apply(this,arguments)}}():v.normalizeSwagger)}var r=e.fetch,n=e.spec,u=e.url,o=e.mode,i=e.allowMetaPatches,l=void 0===i||i,f=e.pathDiscriminator,m=e.modelPropertyMacro,y=e.parameterMacro,g=e.requestInterceptor,b=e.responseInterceptor,x=e.skipNormalization,P=e.http,k=e.baseDoc;return k=k||u,P=r||P||p.default,n?t(n):a(P,{requestInterceptor:g,responseInterceptor:b})(k).then(t)}Object.defineProperty(t,"__esModule",{value:!0});var i=r(4),s=n(i),l=r(11),c=n(l);t.makeFetchJSON=a,t.clearCache=u,t.default=o;var f=r(7),p=n(f),d=r(31),h=n(d),v=r(5)},function(e,t){e.exports=require("babel-runtime/core-js/promise")},function(e,t){e.exports=require("babel-runtime/core-js/get-iterator")},function(e,t){e.exports=require("babel-runtime/helpers/classCallCheck")},function(e,t){e.exports=require("babel-runtime/helpers/createClass")},function(e,t,r){"use strict";function n(e,t){function r(){Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=(new Error).stack;for(var e=arguments.length,r=Array(e),n=0;n<e;n++)r[n]=arguments[n];this.message=r[0],t&&t.apply(this,r)}return r.prototype=new Error,r.prototype.name=e,r.prototype.constructor=r,r}Object.defineProperty(t,"__esModule",{value:!0}),t.default=n,e.exports=t.default},function(e,t,r){"use strict";function n(e){var t=e[e.length-1],r=e[e.length-2],n=e.join("/");return a.indexOf(t)>-1&&-1===u.indexOf(r)||o.indexOf(n)>-1||i.some(function(e){return n.indexOf(e)>-1})}Object.defineProperty(t,"__esModule",{value:!0}),t.isFreelyNamed=n;var a=["properties"],u=["properties"],o=["definitions","parameters","responses","securityDefinitions","components/schemas","components/responses","components/parameters","components/securitySchemes"],i=["schema/example"]},function(e,t,r){e.exports=r(24)},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}function a(e){var t=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if("string"==typeof e?r.url=e:r=e,!(this instanceof a))return new a(r);(0,l.default)(this,r);var n=this.resolve().then(function(){return t.disableInterfaces||(0,l.default)(t,a.makeApisTagOperation(t)),t});return n.client=this,n}Object.defineProperty(t,"__esModule",{value:!0});var u=r(3),o=n(u),i=r(25),s=(n(i),r(6)),l=n(s),c=r(14),f=n(c),p=r(10),d=n(p),h=r(7),v=n(h),m=r(16),y=n(m),g=r(48),b=n(g),x=r(49),P=r(51),k=r(5);a.http=v.default,a.makeHttp=h.makeHttp.bind(null,a.http),a.resolve=y.default,a.resolveSubtree=b.default,a.execute=P.execute,a.serializeRes=h.serializeRes,a.serializeHeaders=h.serializeHeaders,a.clearCache=m.clearCache,a.parameterBuilders=P.PARAMETER_BUILDERS,a.makeApisTagOperation=x.makeApisTagOperation,a.buildRequest=P.buildRequest,a.helpers={opId:k.opId},a.prototype={http:v.default,execute:function(e){return this.applyDefaults(),a.execute((0,o.default)({spec:this.spec,http:this.http,securities:{authorized:this.authorizations},contextUrl:"string"==typeof this.url?this.url:void 0},e))},resolve:function(){var e=this;return a.resolve({spec:this.spec,url:this.url,allowMetaPatches:this.allowMetaPatches,requestInterceptor:this.requestInterceptor||null,responseInterceptor:this.responseInterceptor||null}).then(function(t){return e.originalSpec=e.spec,e.spec=t.spec,e.errors=t.errors,e})}},a.prototype.applyDefaults=function(){var e=this.spec,t=this.url;if(t&&(0,f.default)(t,"http")){var r=d.default.parse(t);e.host||(e.host=r.host),e.schemes||(e.schemes=[r.protocol.replace(":","")]),e.basePath||(e.basePath="/")}},t.default=a,e.exports=t.default},function(e,t){e.exports=require("lodash/cloneDeep")},function(e,t){e.exports=require("babel-runtime/helpers/slicedToArray")},function(e,t){e.exports=require("cross-fetch/polyfill")},function(e,t){e.exports=require("qs")},function(e,t){e.exports=require("lodash/isString")},function(e,t){e.exports=require("isomorphic-form-data")},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}function a(e){return new $(e).dispatch()}Object.defineProperty(t,"__esModule",{value:!0}),t.plugins=t.SpecMap=void 0;var u=r(8),o=n(u),i=r(1),s=n(i),l=r(17),c=n(l),f=r(4),p=n(f),d=r(0),h=n(d),v=r(18),m=n(v),y=r(32),g=n(y),b=r(2),x=n(b),P=r(19),k=n(P),w=r(20),_=n(w);t.default=a;var O=r(33),q=n(O),M=r(9),A=n(M),j=r(39),C=n(j),I=r(43),E=n(I),T=r(44),F=n(T),N=r(45),S=n(N),D=r(46),R=n(D),$=function(){function e(t){(0,k.default)(this,e),(0,x.default)(this,{spec:"",debugLevel:"info",plugins:[],pluginHistory:{},errors:[],mutations:[],promisedPatches:[],state:{},patches:[],context:{},contextTree:new R.default,showDebug:!1,allPatches:[],pluginProp:"specMap",libMethods:(0,x.default)((0,g.default)(this),A.default),allowMetaPatches:!1},t),this.get=this._get.bind(this),this.getContext=this._getContext.bind(this),this.hasRun=this._hasRun.bind(this),this.wrappedPlugins=this.plugins.map(this.wrapPlugin.bind(this)).filter(A.default.isFunction),this.patches.push(A.default.add([],this.spec)),this.patches.push(A.default.context([],this.context)),this.updatePatches(this.patches)}return(0,_.default)(e,[{key:"debug",value:function(e){if(this.debugLevel===e){for(var t,r=arguments.length,n=Array(r>1?r-1:0),a=1;a<r;a++)n[a-1]=arguments[a];(t=console).log.apply(t,n)}}},{key:"verbose",value:function(e){if("verbose"===this.debugLevel){for(var t,r=arguments.length,n=Array(r>1?r-1:0),a=1;a<r;a++)n[a-1]=arguments[a];(t=console).log.apply(t,["["+e+"] "].concat(n))}}},{key:"wrapPlugin",value:function(e,t){var r=this.pathDiscriminator,n=null,a=void 0;return e[this.pluginProp]?(n=e,a=e[this.pluginProp]):A.default.isFunction(e)?a=e:A.default.isObject(e)&&(a=function(e){var t=function(e,t){return!Array.isArray(e)||e.every(function(e,r){return e===t[r]})};return p.default.mark(function n(a,u){var o,i,s,l,c,f,d,v,y;return p.default.wrap(function(n){for(;;)switch(n.prev=n.next){case 0:y=function n(a,s,l){var c,f,d,v,y,g,b,x,P,k,w,_,O,q,M,j;return p.default.wrap(function(o){for(;;)switch(o.prev=o.next){case 0:if(A.default.isObject(a)){o.next=6;break}if(e.key!==s[s.length-1]){o.next=4;break}return o.next=4,e.plugin(a,e.key,s,u);case 4:o.next=48;break;case 6:c=s.length-1,f=s[c],d=s.indexOf("properties"),v="properties"===f&&c===d,y=u.allowMetaPatches&&i[a.$$ref],g=!0,b=!1,x=void 0,o.prev=14,P=(0,m.default)((0,h.default)(a));case 16:if(g=(k=P.next()).done){o.next=34;break}if(w=k.value,_=a[w],O=s.concat(w),q=A.default.isObject(_),M=a.$$ref,y){o.next=26;break}if(!q){o.next=26;break}return u.allowMetaPatches&&M&&(i[M]=!0),o.delegateYield(n(_,O,l),"t0",26);case 26:if(v||w!==e.key){o.next=31;break}if(j=t(r,s),r&&!j){o.next=31;break}return o.next=31,e.plugin(_,w,O,u,l);case 31:g=!0,o.next=16;break;case 34:o.next=40;break;case 36:o.prev=36,o.t1=o.catch(14),b=!0,x=o.t1;case 40:o.prev=40,o.prev=41,!g&&P.return&&P.return();case 43:if(o.prev=43,!b){o.next=46;break}throw x;case 46:return o.finish(43);case 47:return o.finish(40);case 48:case"end":return o.stop()}},o,this,[[14,36,40,48],[41,,43,47]])},o=p.default.mark(y),i={},s=!0,l=!1,c=void 0,n.prev=6,f=(0,m.default)(a.filter(A.default.isAdditiveMutation));case 8:if(s=(d=f.next()).done){n.next=14;break}return v=d.value,n.delegateYield(y(v.value,v.path,v),"t0",11);case 11:s=!0,n.next=8;break;case 14:n.next=20;break;case 16:n.prev=16,n.t1=n.catch(6),l=!0,c=n.t1;case 20:n.prev=20,n.prev=21,!s&&f.return&&f.return();case 23:if(n.prev=23,!l){n.next=26;break}throw c;case 26:return n.finish(23);case 27:return n.finish(20);case 28:case"end":return n.stop()}},n,this,[[6,16,20,28],[21,,23,27]])})}(e)),(0,x.default)(a.bind(n),{pluginName:e.name||t,isGenerator:A.default.isGenerator(a)})}},{key:"nextPlugin",value:function(){var e=this;return(0,q.default)(this.wrappedPlugins,function(t){return e.getMutationsForPlugin(t).length>0})}},{key:"nextPromisedPatch",value:function(){if(this.promisedPatches.length>0)return c.default.race(this.promisedPatches.map(function(e){return e.value}))}},{key:"getPluginHistory",value:function(e){var t=this.getPluginName(e);return this.pluginHistory[t]||[]}},{key:"getPluginRunCount",value:function(e){return this.getPluginHistory(e).length}},{key:"getPluginHistoryTip",value:function(e){var t=this.getPluginHistory(e);return t&&t[t.length-1]||{}}},{key:"getPluginMutationIndex",value:function(e){var t=this.getPluginHistoryTip(e).mutationIndex;return"number"!=typeof t?-1:t}},{key:"getPluginName",value:function(e){return e.pluginName}},{key:"updatePluginHistory",value:function(e,t){var r=this.getPluginName(e);(this.pluginHistory[r]=this.pluginHistory[r]||[]).push(t)}},{key:"updatePatches",value:function(e,t){var r=this;A.default.normalizeArray(e).forEach(function(e){if(e instanceof Error)return void r.errors.push(e);try{if(!A.default.isObject(e))return void r.debug("updatePatches","Got a non-object patch",e);if(r.showDebug&&r.allPatches.push(e),A.default.isPromise(e.value))return r.promisedPatches.push(e),void r.promisedPatchThen(e);if(A.default.isContextPatch(e))return void r.setContext(e.path,e.value);if(A.default.isMutation(e))return void r.updateMutations(e)}catch(e){console.error(e),r.errors.push(e)}})}},{key:"updateMutations",value:function(e){"object"===(0,s.default)(e.value)&&!Array.isArray(e.value)&&this.allowMetaPatches&&(e.value=(0,x.default)({},e.value));var t=A.default.applyPatch(this.state,e,{allowMetaPatches:this.allowMetaPatches});t&&(this.mutations.push(e),this.state=t)}},{key:"removePromisedPatch",value:function(e){var t=this.promisedPatches.indexOf(e);if(t<0)return void this.debug("Tried to remove a promisedPatch that isn't there!");this.promisedPatches.splice(t,1)}},{key:"promisedPatchThen",value:function(e){var t=this;return e.value=e.value.then(function(r){var n=(0,x.default)({},e,{value:r});t.removePromisedPatch(e),t.updatePatches(n)}).catch(function(r){t.removePromisedPatch(e),t.updatePatches(r)})}},{key:"getMutations",value:function(e,t){return e=e||0,"number"!=typeof t&&(t=this.mutations.length),this.mutations.slice(e,t)}},{key:"getCurrentMutations",value:function(){return this.getMutationsForPlugin(this.getCurrentPlugin())}},{key:"getMutationsForPlugin",value:function(e){var t=this.getPluginMutationIndex(e);return this.getMutations(t+1)}},{key:"getCurrentPlugin",value:function(){return this.currentPlugin}},{key:"getPatchesOfType",value:function(e,t){return e.filter(t)}},{key:"getLib",value:function(){return this.libMethods}},{key:"_get",value:function(e){return A.default.getIn(this.state,e)}},{key:"_getContext",value:function(e){return this.contextTree.get(e)}},{key:"setContext",value:function(e,t){return this.contextTree.set(e,t)}},{key:"_hasRun",value:function(e){return this.getPluginRunCount(this.getCurrentPlugin())>(e||0)}},{key:"_clone",value:function(e){return JSON.parse((0,o.default)(e))}},{key:"dispatch",value:function(){function e(e){e&&(e=A.default.fullyNormalizeArray(e),r.updatePatches(e,n))}var t=this,r=this,n=this.nextPlugin();if(!n){var a=this.nextPromisedPatch();if(a)return a.then(function(){return t.dispatch()}).catch(function(){return t.dispatch()});var u={spec:this.state,errors:this.errors};return this.showDebug&&(u.patches=this.allPatches),c.default.resolve(u)}if(r.pluginCount=r.pluginCount||{},r.pluginCount[n]=(r.pluginCount[n]||0)+1,r.pluginCount[n]>100)return c.default.resolve({spec:r.state,errors:r.errors.concat(new Error("We've reached a hard limit of 100 plugin runs"))});if(n!==this.currentPlugin&&this.promisedPatches.length){var o=this.promisedPatches.map(function(e){return e.value});return c.default.all(o.map(function(e){return e.then(Function,Function)})).then(function(){return t.dispatch()})}return function(){r.currentPlugin=n;var t=r.getCurrentMutations(),a=r.mutations.length-1;try{if(n.isGenerator){var u=!0,o=!1,i=void 0;try{for(var s,l=(0,m.default)(n(t,r.getLib()));!(u=(s=l.next()).done);u=!0){e(s.value)}}catch(e){o=!0,i=e}finally{try{!u&&l.return&&l.return()}finally{if(o)throw i}}}else{e(n(t,r.getLib()))}}catch(t){console.error(t),e([(0,x.default)((0,g.default)(t),{plugin:n})])}finally{r.updatePluginHistory(n,{mutationIndex:a})}return r.dispatch()}()}}]),e}(),z={refs:C.default,allOf:E.default,parameters:F.default,properties:S.default};t.SpecMap=$,t.plugins=z},function(e,t){e.exports=require("babel-runtime/core-js/object/create")},function(e,t){e.exports=require("lodash/find")},function(e,t){e.exports=require("babel-runtime/helpers/toConsumableArray")},function(e,t){e.exports=require("babel-runtime/helpers/defineProperty")},function(e,t){e.exports=require("fast-json-patch")},function(e,t){e.exports=require("deep-extend")},function(e,t){e.exports=require("@kyleshockey/object-assign-deep")},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}function a(e,t){if(!B.test(e)){if(!t)throw new H("Tried to resolve a relative URL, without having a basePath. path: '"+e+"' basePath: '"+t+"'");return N.default.resolve(t,e)}return e}function u(e,t){return new H("Could not resolve reference because of: "+e.message,t,e)}function o(e){return(e+"").split("#")}function i(e,t){var r=L[e];if(r&&!D.default.isPromise(r))try{var n=f(t,r);return(0,A.default)(_.default.resolve(n),{__value:n})}catch(e){return _.default.reject(e)}return l(e).then(function(e){return f(t,e)})}function s(e){void 0!==e?delete L[e]:(0,k.default)(L).forEach(function(e){delete L[e]})}function l(e){var t=L[e];return t?D.default.isPromise(t)?t:_.default.resolve(t):(L[e]=J.fetchJSON(e).then(function(t){return L[e]=t,t}),L[e])}function c(e){return(0,j.fetch)(e,{headers:{Accept:"application/json, application/yaml"},loadSpec:!0}).then(function(e){return e.text()}).then(function(e){return I.default.safeLoad(e)})}function f(e,t){var r=p(e);if(r.length<1)return t;var n=D.default.getIn(t,r);if(void 0===n)throw new H("Could not resolve pointer: "+e+" does not exist in document",{pointer:e});return n}function p(e){if("string"!=typeof e)throw new TypeError("Expected a string, got a "+(void 0===e?"undefined":(0,x.default)(e)));return"/"===e[0]&&(e=e.substr(1)),""===e?[]:e.split("/").map(d)}function d(e){return"string"!=typeof e?e:T.default.unescape(e.replace(/~1/g,"/").replace(/~0/g,"~"))}function h(e){return T.default.escape(e.replace(/~/g,"~0").replace(/\//g,"~1"))}function v(e){return 0===e.length?"":"/"+e.map(h).join("/")}function m(e,t){if(G(t))return!0;var r=e.charAt(t.length),n=t.slice(-1);return 0===e.indexOf(t)&&(!r||"/"===r||"#"===r)&&"#"!==n}function y(e,t,r,n){var a=V.get(n);a||(a={},V.set(n,a));var u=v(r),o=(t||"<specmap-base>")+"#"+e;if(t==n.contextTree.get([]).baseDoc&&m(u,e))return!0;var i="";if(r.some(function(e){return i=i+"/"+h(e),a[i]&&a[i].some(function(e){return m(e,o)||m(o,e)})}))return!0;a[u]=(a[u]||[]).concat(o)}function g(e,t){function r(e){return D.default.isObject(e)&&(n.indexOf(e)>=0||(0,k.default)(e).some(function(t){return r(e[t])}))}var n=[e];return t.path.reduce(function(e,t){return n.push(e[t]),e[t]},e),r(t.value)}Object.defineProperty(t,"__esModule",{value:!0});var b=r(1),x=n(b),P=r(0),k=n(P),w=r(17),_=n(w),O=r(40),q=n(O),M=r(2),A=n(M),j=r(41),C=r(15),I=n(C),E=r(42),T=n(E),F=r(10),N=n(F),S=r(9),D=n(S),R=r(21),$=n(R),z=r(22),B=new RegExp("^([a-z]+://|//)","i"),H=(0,$.default)("JSONRefError",function(e,t,r){this.originalError=r,(0,A.default)(this,t||{})}),L={},V=new q.default,U={key:"$ref",plugin:function(e,t,r,n){var s=r.slice(0,-1);if(!(0,z.isFreelyNamed)(s)){var l=n.getContext(r).baseDoc;if("string"!=typeof e)return new H("$ref: must be a string (JSON-Ref)",{$ref:e,baseDoc:l,fullPath:r});var c=o(e),f=c[0],d=c[1]||"",h=void 0;try{h=l||f?a(f,l):null}catch(t){return u(t,{pointer:d,$ref:e,basePath:h,fullPath:r})}var v=void 0,m=void 0;if(!y(d,h,s,n)){if(null==h?(m=p(d),void 0===(v=n.get(m))&&(v=new H("Could not resolve reference: "+e,{pointer:d,$ref:e,baseDoc:l,fullPath:r}))):(v=i(h,d),v=null!=v.__value?v.__value:v.catch(function(t){throw u(t,{pointer:d,$ref:e,baseDoc:l,fullPath:r})})),v instanceof Error)return[D.default.remove(r),v];var b=D.default.replace(s,v,{$$ref:e});if(h&&h!==l)return[b,D.default.context(s,{baseDoc:h})];try{if(!g(n.state,b))return b}catch(e){return null}}}}},J=(0,A.default)(U,{docCache:L,absoluteify:a,clearCache:s,JSONRefError:H,wrapError:u,getDoc:l,split:o,extractFromDoc:i,fetchJSON:c,extract:f,jsonPointerToArray:p,unescapeJsonPointerToken:d});t.default=J;var G=function(e){return!e||"/"===e||"#"===e};e.exports=t.default},function(e,t){e.exports=require("babel-runtime/core-js/weak-map")},function(e,t){e.exports=require("cross-fetch")},function(e,t){e.exports=require("querystring-browser")},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(2),a=function(e){return e&&e.__esModule?e:{default:e}}(n),u=r(22);t.default={key:"allOf",plugin:function(e,t,r,n,o){if(!o.meta||!o.meta.$$ref){var i=r.slice(0,-1);if(!(0,u.isFreelyNamed)(i)){if(!Array.isArray(e)){var s=new TypeError("allOf must be an array");return s.fullPath=r,s}var l=!1,c=o.value;i.forEach(function(e){c&&(c=c[e])}),c=(0,a.default)({},c),delete c.allOf;var f=[n.replace(i,{})].concat(e.map(function(e,t){if(!n.isObject(e)){if(l)return null;l=!0;var a=new TypeError("Elements in allOf must be objects");return a.fullPath=r,a}return n.mergeDeep(i,e)}));return f.push(n.mergeDeep(i,c)),c.$$ref||f.push(n.remove([].concat(i,"$$ref"))),f}}}},e.exports=t.default},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var a=r(2),u=n(a),o=r(9),i=n(o);t.default={key:"parameters",plugin:function(e,t,r,n,a){if(Array.isArray(e)&&e.length){var o=(0,u.default)([],e),s=r.slice(0,-1),l=(0,u.default)({},i.default.getIn(n.spec,s));return e.forEach(function(e,t){try{o[t].default=n.parameterMacro(l,e)}catch(e){var a=new Error(e);return a.fullPath=r,a}}),i.default.replace(r,o)}return i.default.replace(r,e)}},e.exports=t.default},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var a=r(2),u=n(a),o=r(9),i=n(o);t.default={key:"properties",plugin:function(e,t,r,n){var a=(0,u.default)({},e);for(var o in e)try{a[o].default=n.modelPropertyMacro(a[o])}catch(e){var s=new Error(e);return s.fullPath=r,s}return i.default.replace(r,a)}},e.exports=t.default},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}function a(e,t){return u({children:{}},e,t)}function u(e,t,r){return e.value=t||{},e.protoValue=r?(0,l.default)({},r.protoValue,e.value):e.value,(0,i.default)(e.children).forEach(function(t){var r=e.children[t];e.children[t]=u(r,r.value,e)}),e}Object.defineProperty(t,"__esModule",{value:!0});var o=r(0),i=n(o),s=r(3),l=n(s),c=r(19),f=n(c),p=r(20),d=n(p),h=function(){function e(t){(0,f.default)(this,e),this.root=a(t||{})}return(0,d.default)(e,[{key:"set",value:function(e,t){var r=this.getParent(e,!0);if(!r)return void u(this.root,t,null);var n=e[e.length-1],o=r.children;if(o[n])return void u(o[n],t,r);o[n]=a(t,r)}},{key:"get",value:function(e){if(e=e||[],e.length<1)return this.root.value;for(var t=this.root,r=void 0,n=void 0,a=0;a<e.length&&(n=e[a],r=t.children,r[n]);a++)t=r[n];return t&&t.protoValue}},{key:"getParent",value:function(e,t){return!e||e.length<1?null:e.length<2?this.root:e.slice(0,-1).reduce(function(e,r){if(!e)return e;var n=e.children;return!n[r]&&t&&(n[r]=a(null,e)),n[r]},this.root)}}]),e}();t.default=h,e.exports=t.default},function(e,t){e.exports=require("lodash/isObject")},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var a=r(4),u=n(a),o=r(3),i=n(o),s=r(11),l=n(s),c=r(12),f=n(c),p=r(16),d=n(p),h=r(5);t.default=function(){function e(e,r){return t.apply(this,arguments)}var t=(0,l.default)(u.default.mark(function e(t,r){var n,a,o,s,l,c,p,v,m,y,g=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return u.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return n=g.returnEntireTree,a=g.baseDoc,o=g.requestInterceptor,s=g.responseInterceptor,l=g.parameterMacro,c=g.modelPropertyMacro,p={pathDiscriminator:r,baseDoc:a,requestInterceptor:o,responseInterceptor:s,parameterMacro:l,modelPropertyMacro:c},v=(0,h.normalizeSwagger)({spec:t}),m=v.spec,e.next=5,(0,d.default)((0,i.default)({},p,{spec:m,allowMetaPatches:!0,skipNormalization:!0}));case 5:return y=e.sent,!n&&Array.isArray(r)&&r.length&&(y.spec=(0,f.default)(y.spec,r)||null),e.abrupt("return",y);case 8:case"end":return e.stop()}},e,this)}));return e}(),e.exports=t.default},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}function a(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return function(t){var r=t.pathName,n=t.method,a=t.operationId;return function(t){var u=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return e.execute((0,l.default)({spec:e.spec},(0,f.default)(e,"requestInterceptor","responseInterceptor","userFetch"),{pathName:r,method:n,parameters:t,operationId:a},u))}}}function u(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=v.makeExecute(e),r=v.mapTagOperations({v2OperationIdCompatibilityMode:e.v2OperationIdCompatibilityMode,spec:e.spec,cb:t}),n={};for(var a in r){n[a]={operations:{}};for(var u in r[a])n[a].operations[u]={execute:r[a][u]}}return{apis:n}}function o(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=v.makeExecute(e);return{apis:v.mapTagOperations({v2OperationIdCompatibilityMode:e.v2OperationIdCompatibilityMode,spec:e.spec,cb:t})}}function i(e){var t=e.spec,r=e.cb,n=void 0===r?d:r,a=e.defaultTag,u=void 0===a?"default":a,o=e.v2OperationIdCompatibilityMode,i={},s={};return(0,p.eachOperation)(t,function(e){var r=e.pathName,a=e.method,l=e.operation;(l.tags?h(l.tags):[u]).forEach(function(e){if("string"==typeof e){var u=s[e]=s[e]||{},c=(0,p.opId)(l,r,a,{v2OperationIdCompatibilityMode:o}),f=n({spec:t,pathName:r,method:a,operation:l,operationId:c});if(i[c])i[c]++,u[""+c+i[c]]=f;else if(void 0!==u[c]){var d=i[c]||1;i[c]=d+1,u[""+c+i[c]]=f;var h=u[c];delete u[c],u[""+c+d]=h}else u[c]=f}})}),s}Object.defineProperty(t,"__esModule",{value:!0}),t.self=void 0;var s=r(3),l=n(s);t.makeExecute=a,t.makeApisTagOperationsOperationExecute=u,t.makeApisTagOperation=o,t.mapTagOperations=i;var c=r(50),f=n(c),p=r(5),d=function(){return null},h=function(e){return Array.isArray(e)?e:[e]},v=t.self={mapTagOperations:i,makeExecute:a}},function(e,t){e.exports=require("lodash/pick")},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}function a(e){var t=e.http,r=e.fetch,n=e.spec,a=e.operationId,u=e.pathName,o=e.method,i=e.parameters,s=e.securities,l=(0,m.default)(e,["http","fetch","spec","operationId","pathName","method","parameters","securities"]),c=t||r||F.default;u&&o&&!a&&(a=(0,U.legacyIdFromPathMethod)(u,o));var f=K.buildRequest((0,h.default)({spec:n,operationId:a,parameters:i,securities:s,http:c},l));return f.body&&((0,O.default)(f.body)||(0,M.default)(f.body))&&(f.body=(0,p.default)(f.body)),c(f)}function u(e){var t=e.spec,r=e.operationId,n=(e.securities,e.requestContentType,e.responseContentType),a=e.scheme,u=e.requestInterceptor,i=e.responseInterceptor,s=e.contextUrl,l=e.userFetch,c=(e.requestBody,e.server),f=e.serverVariables,p=e.http,d=e.parameters,v=e.parameterBuilders,m=(0,U.isOAS3)(t);v||(v=m?z.default:R.default);var y=p&&p.withCredentials?"include":"same-origin",b={url:"",credentials:y,headers:{},cookies:{}};u&&(b.requestInterceptor=u),i&&(b.responseInterceptor=i),l&&(b.userFetch=l);var x=(0,U.getOperationRaw)(t,r);if(!x)throw new G("Operation "+r+" not found");var P=x.operation,k=void 0===P?{}:P,w=x.method,_=x.pathName;if(b.url+=o({spec:t,scheme:a,contextUrl:s,server:c,serverVariables:f,pathName:_,method:w}),!r)return delete b.cookies,b;b.url+=_,b.method=(""+w).toUpperCase(),d=d||{};var O=t.paths[_]||{};n&&(b.headers.accept=n);var q=W([].concat(J(k.parameters)).concat(J(O.parameters)));q.forEach(function(e){var r=v[e.in],n=void 0;if("body"===e.in&&e.schema&&e.schema.properties&&(n=d),n=e&&e.name&&d[e.name],void 0===n?n=e&&e.name&&d[e.in+"."+e.name]:Q(e.name,q).length>1&&console.warn("Parameter '"+e.name+"' is ambiguous because the defined spec has more than one parameter with the name: '"+e.name+"' and the passed-in parameter values did not define an 'in' value."),null!==n){if(void 0!==e.default&&void 0===n&&(n=e.default),void 0===n&&e.required&&!e.allowEmptyValue)throw new Error("Required parameter "+e.name+" is not provided");if(m&&e.schema&&"object"===e.schema.type&&"string"==typeof n)try{n=JSON.parse(n)}catch(e){throw new Error("Could not parse object parameter value string as JSON")}r&&r({req:b,parameter:e,value:n,operation:k,spec:t})}});var M=(0,h.default)({},e,{operation:k});if(b=m?(0,H.default)(M,b):(0,V.default)(M,b),b.cookies&&(0,g.default)(b.cookies).length){var A=(0,g.default)(b.cookies).reduce(function(e,t){var r=b.cookies[t];return e+(e?"&":"")+E.default.serialize(t,r)},"");b.headers.Cookie=A}return b.cookies&&delete b.cookies,(0,T.mergeInQueryOrForm)(b),b}function o(e){return(0,U.isOAS3)(e.spec)?i(e):c(e)}function i(e){var t=e.spec,r=e.pathName,n=e.method,a=e.server,u=e.contextUrl,o=e.serverVariables,i=void 0===o?{}:o,c=(0,w.default)(t,["paths",r,(n||"").toLowerCase(),"servers"])||(0,w.default)(t,["paths",r,"servers"])||(0,w.default)(t,["servers"]),f="",p=null;if(a&&c&&c.length){var d=c.map(function(e){return e.url});d.indexOf(a)>-1&&(f=a,p=c[d.indexOf(a)])}if(!f&&c&&c.length&&(f=c[0].url,p=c[0]),f.indexOf("{")>-1){l(f).forEach(function(e){if(p.variables&&p.variables[e]){var t=p.variables[e],r=i[e]||t.default,n=new RegExp("{"+e+"}","g");f=f.replace(n,r)}})}return s(f,u)}function s(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",r=C.default.parse(e),n=C.default.parse(t),a=Y(r.protocol)||Y(n.protocol)||"",u=r.host||n.host,o=r.pathname||"",i=void 0;return i=a&&u?a+"://"+(u+o):o,"/"===i[i.length-1]?i.slice(0,-1):i}function l(e){for(var t=[],r=/{([^}]+)}/g,n=void 0;n=r.exec(e);)t.push(n[1]);return t}function c(e){var t=e.spec,r=e.scheme,n=e.contextUrl,a=void 0===n?"":n,u=C.default.parse(a),o=Array.isArray(t.schemes)?t.schemes[0]:null,i=r||o||Y(u.protocol)||"http",s=t.host||u.host||"",l=t.basePath||"",c=void 0;return c=i&&s?i+"://"+(s+l):l,"/"===c[c.length-1]?c.slice(0,-1):c}Object.defineProperty(t,"__esModule",{value:!0}),t.self=void 0;var f=r(8),p=n(f),d=r(3),h=n(d),v=r(52),m=n(v),y=r(0),g=n(y),b=r(2),x=n(b);t.execute=a,t.buildRequest=u,t.baseUrl=o;var P=r(6),k=(n(P),r(12)),w=n(k),_=r(53),O=n(_),q=r(54),M=n(q),A=r(13),j=(n(A),r(10)),C=n(j),I=r(55),E=n(I),T=r(7),F=n(T),N=r(21),S=n(N),D=r(56),R=n(D),$=r(57),z=n($),B=r(62),H=n(B),L=r(64),V=n(L),U=r(5),J=function(e){return Array.isArray(e)?e:[]},G=(0,S.default)("OperationNotFoundError",function(e,t,r){this.originalError=r,(0,x.default)(this,t||{})}),Q=function(e,t){return t.filter(function(t){return t.name===e})},W=function(e){var t={};e.forEach(function(e){t[e.in]||(t[e.in]={}),t[e.in][e.name]=e});var r=[];return(0,g.default)(t).forEach(function(e){(0,g.default)(t[e]).forEach(function(n){r.push(t[e][n])})}),r},K=t.self={buildRequest:u},Y=function(e){return e?e.replace(/\W/g,""):null}},function(e,t){e.exports=require("babel-runtime/helpers/objectWithoutProperties")},function(e,t){e.exports=require("lodash/isPlainObject")},function(e,t){e.exports=require("lodash/isArray")},function(e,t){e.exports=require("cookie")},function(e,t,r){"use strict";function n(e){var t=e.req,r=e.value;t.body=r}function a(e){var t=e.req,r=e.value,n=e.parameter;(r||n.allowEmptyValue)&&(t.form=t.form||{},t.form[n.name]={value:r,allowEmptyValue:n.allowEmptyValue,collectionFormat:n.collectionFormat})}function u(e){var t=e.req,r=e.parameter,n=e.value;t.headers=t.headers||{},void 0!==n&&(t.headers[r.name]=n)}function o(e){var t=e.req,r=e.value,n=e.parameter;t.url=t.url.replace("{"+n.name+"}",encodeURIComponent(r))}function i(e){var t=e.req,r=e.value,n=e.parameter;if(t.query=t.query||{},!1===r&&"boolean"===n.type&&(r="false"),0===r&&["number","integer"].indexOf(n.type)>-1&&(r="0"),r)t.query[n.name]={collectionFormat:n.collectionFormat,value:r};else if(n.allowEmptyValue&&void 0!==r){var a=n.name;t.query[a]=t.query[a]||{},t.query[a].allowEmptyValue=!0}}Object.defineProperty(t,"__esModule",{value:!0}),t.default={body:n,header:u,query:i,path:o,formData:a},e.exports=t.default},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}function a(e){var t=e.req,r=e.value,n=e.parameter,a=n.name,u=n.style,o=n.explode,i=(0,d.default)({key:n.name,value:r,style:u||"simple",explode:o||!1,escape:!0});t.url=t.url.replace("{"+a+"}",i)}function u(e){var t=e.req,r=e.value,n=e.parameter;if(t.query=t.query||{},!1===r&&(r="false"),0===r&&(r="0"),r){var a=void 0===r?"undefined":(0,f.default)(r);if("deepObject"===n.style){(0,l.default)(r).forEach(function(e){var a=r[e];t.query[n.name+"["+e+"]"]={value:(0,d.default)({key:e,value:a,style:"deepObject",escape:n.allowReserved?"unsafe":"reserved"}),skipEncoding:!0}})}else if("object"!==a||Array.isArray(r)||"form"!==n.style&&n.style||!n.explode&&void 0!==n.explode)t.query[n.name]={value:(0,d.default)({key:n.name,value:r,style:n.style||"form",explode:void 0===n.explode||n.explode,escape:n.allowReserved?"unsafe":"reserved"}),skipEncoding:!0};else{var u=(0,l.default)(r);u.forEach(function(e){var a=r[e];t.query[e]={value:(0,d.default)({key:e,value:a,style:n.style||"form",escape:n.allowReserved?"unsafe":"reserved"}),skipEncoding:!0}})}}else if(n.allowEmptyValue&&void 0!==r){var o=n.name;t.query[o]=t.query[o]||{},t.query[o].allowEmptyValue=!0}}function o(e){var t=e.req,r=e.parameter,n=e.value;t.headers=t.headers||{},h.indexOf(r.name.toLowerCase())>-1||void 0!==n&&(t.headers[r.name]=(0,d.default)({key:r.name,value:n,style:r.style||"simple",explode:void 0!==r.explode&&r.explode,escape:!1}))}function i(e){var t=e.req,r=e.parameter,n=e.value;t.headers=t.headers||{};var a=void 0===n?"undefined":(0,f.default)(n);if("undefined"!==a){var u="object"===a&&!Array.isArray(n)&&r.explode?"":r.name+"=";t.headers.Cookie=u+(0,d.default)({key:r.name,value:n,escape:!1,style:r.style||"form",explode:void 0!==r.explode&&r.explode})}}Object.defineProperty(t,"__esModule",{value:!0});var s=r(0),l=n(s),c=r(1),f=n(c),p=r(58),d=n(p);t.default={path:a,query:u,header:o,cookie:i};var h=["accept","authorization","content-type"];e.exports=t.default},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}function a(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.escape,n=arguments[2];return"number"==typeof e&&(e=e.toString()),"string"==typeof e&&e.length&&r?n?JSON.parse(e):(0,v.stringToCharArray)(e).map(function(e){return y(e)?e:m(e)&&"unsafe"===r?e:((0,h.default)(e)||[]).map(function(e){return e.toString(16).toUpperCase()}).map(function(e){return"%"+e}).join("")}).join(""):e}function u(e){var t=e.key,r=e.value,n=e.style,u=e.explode,o=e.escape,i=function(e){return a(e,{escape:o})};if("simple"===n)return r.map(function(e){return i(e)}).join(",");if("label"===n)return"."+r.map(function(e){return i(e)}).join(".");if("matrix"===n)return r.map(function(e){return i(e)}).reduce(function(e,r){return!e||u?(e||"")+";"+t+"="+r:e+","+r},"");if("form"===n){var s=u?"&"+t+"=":",";return r.map(function(e){return i(e)}).join(s)}if("spaceDelimited"===n){var l=u?t+"=":"";return r.map(function(e){return i(e)}).join(" "+l)}if("pipeDelimited"===n){var c=u?t+"=":"";return r.map(function(e){return i(e)}).join("|"+c)}}function o(e){var t=e.key,r=e.value,n=e.style,u=e.explode,o=e.escape,i=function(e){return a(e,{escape:o})},s=(0,l.default)(r);return"simple"===n?s.reduce(function(e,t){var n=i(r[t]),a=u?"=":",";return(e?e+",":"")+t+a+n},""):"label"===n?s.reduce(function(e,t){var n=i(r[t]),a=u?"=":".";return(e?e+".":".")+t+a+n},""):"matrix"===n&&u?s.reduce(function(e,t){var n=i(r[t]);return(e?e+";":";")+t+"="+n},""):"matrix"===n?s.reduce(function(e,n){var a=i(r[n]);return(e?e+",":";"+t+"=")+n+","+a},""):"form"===n?s.reduce(function(e,t){var n=i(r[t]);return(e?e+(u?"&":","):"")+t+(u?"=":",")+n},""):void 0}function i(e){var t=e.key,r=e.value,n=e.style,u=e.escape,o=function(e){return a(e,{escape:u})};return"simple"===n?o(r):"label"===n?"."+o(r):"matrix"===n?";"+t+"="+o(r):"form"===n?o(r):"deepObject"===n?o(r):void 0}Object.defineProperty(t,"__esModule",{value:!0});var s=r(0),l=n(s),c=r(1),f=n(c);t.encodeDisallowedCharacters=a,t.default=function(e){var t=e.value;return Array.isArray(t)?u(e):"object"===(void 0===t?"undefined":(0,f.default)(t))?o(e):i(e)};var p=r(59),d=(n(p),r(60)),h=n(d),v=r(61),m=function(e){return":/?#[]@!$&'()*+,;=".indexOf(e)>-1},y=function(e){return/^[a-z0-9\-._~]+$/i.test(e)}},function(e,t){e.exports=require("encode-3986")},function(e,t){e.exports=require("utf8-bytes")},function(e,t){e.exports=require("utfstring")},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}function a(e){var t=e.request,r=e.securities,n=void 0===r?{}:r,a=e.operation,u=void 0===a?{}:a,o=e.spec,i=(0,p.default)({},t),s=n.authorized,l=void 0===s?{}:s,f=u.security||o.security||[],d=l&&!!(0,c.default)(l).length,v=(0,h.default)(o,["components","securitySchemes"])||{};return i.headers=i.headers||{},i.query=i.query||{},(0,c.default)(n).length&&d&&f&&(!Array.isArray(u.security)||u.security.length)?(f.forEach(function(e,t){for(var r in e){var n=l[r],a=v[r];if(n){var u=n.value||n,o=a.type;if(n)if("apiKey"===o)"query"===a.in&&(i.query[a.name]=u),"header"===a.in&&(i.headers[a.name]=u),"cookie"===a.in&&(i.cookies[a.name]=u);else if("http"===o){if("basic"===a.scheme){var s=u.username,c=u.password,f=(0,m.default)(s+":"+c);i.headers.Authorization="Basic "+f}"bearer"===a.scheme&&(i.headers.Authorization="Bearer "+u)}else if("oauth2"===o){var p=n.token||{},d=p.access_token,h=p.token_type;h&&"bearer"!==h.toLowerCase()||(h="Bearer"),i.headers.Authorization=h+" "+d}}}}),i):t}Object.defineProperty(t,"__esModule",{value:!0});var u=r(8),o=n(u),i=r(1),s=n(i),l=r(0),c=n(l);t.default=function(e,t){var r=e.operation,n=e.requestBody,u=e.securities,i=e.spec,l=e.attachContentTypeForEmptyPayload,f=e.requestContentType;t=a({request:t,securities:u,operation:r,spec:i});var p=r.requestBody||{},d=(0,c.default)(p.content||{}),h=f&&d.indexOf(f)>-1;if(n||l){if(f&&h)t.headers["Content-Type"]=f;else if(!f){var v=d[0];v&&(t.headers["Content-Type"]=v,f=v)}}else f&&h&&(t.headers["Content-Type"]=f);return n&&(f?d.indexOf(f)>-1&&("application/x-www-form-urlencoded"===f||0===f.indexOf("multipart/")?"object"===(void 0===n?"undefined":(0,s.default)(n))?(t.form={},(0,c.default)(n).forEach(function(e){var r=n[e],a=void 0,u=void 0;"undefined"!=typeof File&&(u=r instanceof File),"undefined"!=typeof Blob&&(u=u||r instanceof Blob),void 0!==y.Buffer&&(u=u||y.Buffer.isBuffer(r)),a="object"!==(void 0===r?"undefined":(0,s.default)(r))||u?r:Array.isArray(r)?r.toString():(0,o.default)(r),t.form[e]={value:a}})):t.form=n:t.body=n):t.body=n),t},t.applySecurities=a;var f=r(6),p=n(f),d=r(12),h=n(d),v=r(13),m=n(v),y=r(63)},function(e,t){e.exports=require("buffer/")},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}function a(e){var t=e.request,r=e.securities,n=void 0===r?{}:r,a=e.operation,u=void 0===a?{}:a,i=e.spec,l=(0,c.default)({},t),f=n.authorized,p=void 0===f?{}:f,d=n.specSecurity,h=void 0===d?[]:d,v=u.security||h,m=p&&!!(0,o.default)(p).length,y=i.securityDefinitions;return l.headers=l.headers||{},l.query=l.query||{},(0,o.default)(n).length&&m&&v&&(!Array.isArray(u.security)||u.security.length)?(v.forEach(function(e,t){for(var r in e){var n=p[r];if(n){var a=n.token,u=n.value||n,o=y[r],i=o.type,c=o["x-tokenName"]||"access_token",f=a&&a[c],d=a&&a.token_type;if(n)if("apiKey"===i){var h="query"===o.in?"query":"headers";l[h]=l[h]||{},l[h][o.name]=u}else"basic"===i?u.header?l.headers.authorization=u.header:(u.base64=(0,s.default)(u.username+":"+u.password),l.headers.authorization="Basic "+u.base64):"oauth2"===i&&f&&(d=d&&"bearer"!==d.toLowerCase()?d:"Bearer",l.headers.authorization=d+" "+f)}}}),l):t}Object.defineProperty(t,"__esModule",{value:!0});var u=r(0),o=n(u);t.default=function(e,t){var r=e.spec,n=e.operation,u=e.securities,o=e.requestContentType,i=e.attachContentTypeForEmptyPayload;if(t=a({request:t,securities:u,operation:n,spec:r}),t.body||t.form||i)o?t.headers["Content-Type"]=o:Array.isArray(n.consumes)?t.headers["Content-Type"]=n.consumes[0]:Array.isArray(r.consumes)?t.headers["Content-Type"]=r.consumes[0]:n.parameters&&n.parameters.filter(function(e){return"file"===e.type}).length?t.headers["Content-Type"]="multipart/form-data":n.parameters&&n.parameters.filter(function(e){return"formData"===e.in}).length&&(t.headers["Content-Type"]="application/x-www-form-urlencoded");else if(o){var s=n.parameters&&n.parameters.filter(function(e){return"body"===e.in}).length>0,l=n.parameters&&n.parameters.filter(function(e){return"formData"===e.in}).length>0;(s||l)&&(t.headers["Content-Type"]=o)}return t},t.applySecurities=a;var i=r(13),s=n(i),l=r(6),c=n(l),f=r(7);n(f)}]);
1
+ module.exports=function(e){function t(n){if(r[n])return r[n].exports;var a=r[n]={i:n,l:!1,exports:{}};return e[n].call(a.exports,a,a.exports,t),a.l=!0,a.exports}var r={};return t.m=e,t.c=r,t.d=function(e,r,n){t.o(e,r)||Object.defineProperty(e,r,{configurable:!1,enumerable:!0,get:n})},t.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(r,"a",r),r},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=23)}([function(e,t){e.exports=require("babel-runtime/core-js/object/keys")},function(e,t){e.exports=require("babel-runtime/helpers/typeof")},function(e,t){e.exports=require("babel-runtime/core-js/object/assign")},function(e,t){e.exports=require("babel-runtime/helpers/extends")},function(e,t){e.exports=require("babel-runtime/regenerator")},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}function a(e){var t=e.openapi;return!!t&&(0,x.default)(t,"3")}function u(e){var t=e.swagger;return!!t&&(0,x.default)(t,"2")}function o(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},a=n.v2OperationIdCompatibilityMode;return e&&"object"===(void 0===e?"undefined":(0,y.default)(e))?(e.operationId||"").replace(/\s/g,"").length?k(e.operationId):i(t,r,{v2OperationIdCompatibilityMode:a}):null}function i(e,t){if((arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).v2OperationIdCompatibilityMode){var r=(t.toLowerCase()+"_"+e).replace(/[\s!@#$%^&*()_+=[{\]};:<>|.\/?,\\'""-]/g,"_");return r=r||e.substring(1)+"_"+t,r.replace(/((_){2,})/g,"_").replace(/^(_)*/g,"").replace(/([_])*$/g,"")}return""+P(t)+k(e)}function s(e,t){return P(t)+"-"+e}function l(e,t){return e&&e.paths?c(e,function(e){var r=e.pathName,n=e.method,a=e.operation;if(!a||"object"!==(void 0===a?"undefined":(0,y.default)(a)))return!1;var u=a.operationId;return[o(a,r,n),s(r,n),u].some(function(e){return e&&e===t})}):null}function c(e,t){return f(e,t,!0)||null}function f(e,t,r){if(!e||"object"!==(void 0===e?"undefined":(0,y.default)(e))||!e.paths||"object"!==(0,y.default)(e.paths))return null;var n=e.paths;for(var a in n)for(var u in n[a])if("PARAMETERS"!==u.toUpperCase()){var o=n[a][u];if(o&&"object"===(void 0===o?"undefined":(0,y.default)(o))){var i={spec:e,pathName:a,method:u.toUpperCase(),operation:o},s=t(i);if(r&&s)return i}}}function p(e){var t=e.spec,r=t.paths,n={};if(!r||t.$$normalized)return e;for(var a in r){var u=r[a];if((0,g.default)(u)){var i=u.parameters;for(var s in u){(function(e){var r=u[e];if(!(0,g.default)(r))return"continue";var s=o(r,a,e);if(s){n[s]?n[s].push(r):n[s]=[r];var l=n[s];if(l.length>1)l.forEach(function(e,t){e.__originalOperationId=e.__originalOperationId||e.operationId,e.operationId=""+s+(t+1)});else if(void 0!==r.operationId){var c=l[0];c.__originalOperationId=c.__originalOperationId||r.operationId,c.operationId=s}}if("parameters"!==e){var f=[],p={};for(var d in t)"produces"!==d&&"consumes"!==d&&"security"!==d||(p[d]=t[d],f.push(p));if(i&&(p.parameters=i,f.push(p)),f.length){var v=!0,y=!1,m=void 0;try{for(var b,x=(0,h.default)(f);!(v=(b=x.next()).done);v=!0){var P=b.value;for(var k in P)if(r[k]){if("parameters"===k){var w=!0,_=!1,O=void 0;try{for(var q,M=(0,h.default)(P[k]);!(w=(q=M.next()).done);w=!0)!function(){var e=q.value;r[k].some(function(t){return t.name&&t.name===e.name||t.$ref&&t.$ref===e.$ref||t.$$ref&&t.$$ref===e.$$ref||t===e})||r[k].push(e)}()}catch(e){_=!0,O=e}finally{try{!w&&M.return&&M.return()}finally{if(_)throw O}}}}else r[k]=P[k]}}catch(e){y=!0,m=e}finally{try{!v&&x.return&&x.return()}finally{if(y)throw m}}}}})(s)}}}return t.$$normalized=!0,e}Object.defineProperty(t,"__esModule",{value:!0});var d=r(18),h=n(d),v=r(1),y=n(v);t.isOAS3=a,t.isSwagger2=u,t.opId=o,t.idFromPathMethod=i,t.legacyIdFromPathMethod=s,t.getOperationRaw=l,t.findOperation=c,t.eachOperation=f,t.normalizeSwagger=p;var m=r(47),g=n(m),b=r(14),x=n(b),P=function(e){return String.prototype.toLowerCase.call(e)},k=function(e){return e.replace(/[^\w]/gi,"_")}},function(e,t){e.exports=require("lodash/assign")},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}function a(e,t){return"application/json"===t?JSON.parse(e):M.default.safeLoad(e)}function u(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=r.loadSpec,u=void 0!==n&&n,i={ok:e.ok,url:e.url||t,status:e.status,statusText:e.statusText,headers:o(e.headers)},s=i.headers["content-type"],l=u||I(s);return(l?e.text:e.blob||e.buffer).call(e).then(function(e){if(i.text=e,i.data=e,l)try{var t=a(e,s);i.body=t,i.obj=t}catch(e){i.parseError=e}return i})}function o(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t={};return"function"==typeof e.forEach?(e.forEach(function(e,r){void 0!==t[r]?(t[r]=Array.isArray(t[r])?t[r]:[t[r]],t[r].push(e)):t[r]=e}),t):t}function i(e,t){return t||"undefined"==typeof navigator||(t=navigator),t&&"ReactNative"===t.product?!(!e||"object"!==(void 0===e?"undefined":(0,P.default)(e))||"string"!=typeof e.uri):"undefined"!=typeof File?e instanceof File:null!==e&&"object"===(void 0===e?"undefined":(0,P.default)(e))&&"function"==typeof e.pipe}function s(e,t){var r=e.collectionFormat,n=e.allowEmptyValue,a="object"===(void 0===e?"undefined":(0,P.default)(e))?e.value:e,u={csv:",",ssv:"%20",tsv:"%09",pipes:"|"};if(void 0===a&&n)return"";if(i(a)||"boolean"==typeof a)return a;var o=encodeURIComponent;return t&&(o=(0,j.default)(a)?function(e){return e}:function(e){return(0,m.default)(e)}),"object"!==(void 0===a?"undefined":(0,P.default)(a))||Array.isArray(a)?Array.isArray(a)?Array.isArray(a)&&!r?a.map(o).join(","):"multi"===r?a.map(o):a.map(o).join(u[r]):o(a):""}function l(e){var t=(0,v.default)(e).reduce(function(t,r){var n=e[r],a=!!n.skipEncoding,u=a?r:encodeURIComponent(r),o=function(e){return e&&"object"===(void 0===e?"undefined":(0,P.default)(e))}(n)&&!Array.isArray(n);return t[u]=s(o?n:{value:n},a),t},{});return O.default.stringify(t,{encode:!1,indices:!1})||""}function c(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.url,n=void 0===t?"":t,a=e.query,u=e.form;if(u){var o=(0,v.default)(u).some(function(e){return i(u[e].value)}),c=e.headers["content-type"]||e.headers["Content-Type"];if(o||/multipart\/form-data/i.test(c)){var f=r(30);e.body=new f,(0,v.default)(u).forEach(function(t){e.body.append(t,s(u[t],!0))})}else e.body=l(u);delete e.form}if(a){var p=n.split("?"),h=(0,d.default)(p,2),y=h[0],m=h[1],g="";if(m){var b=O.default.parse(m);(0,v.default)(a).forEach(function(e){return delete b[e]}),g=O.default.stringify(b,{encode:!0})}var x=function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];var n=t.filter(function(e){return e}).join("&");return n?"?"+n:""}(g,l(a));e.url=y+x,delete e.query}return e}function f(e,t,r){return r=r||function(e){return e},t=t||function(e){return e},function(n){return"string"==typeof n&&(n={url:n}),C.mergeInQueryOrForm(n),n=t(n),r(e(n))}}Object.defineProperty(t,"__esModule",{value:!0}),t.shouldDownloadAsText=t.self=void 0;var p=r(26),d=n(p),h=r(0),v=n(h),y=r(8),m=n(y),g=r(4),b=n(g),x=r(1),P=n(x),k=r(11),w=n(k);t.serializeRes=u,t.serializeHeaders=o,t.isFile=i,t.encodeFormOrQuery=l,t.mergeInQueryOrForm=c,t.makeHttp=f,r(27);var _=r(28),O=n(_),q=r(15),M=n(q),A=r(29),j=n(A),C=t.self={serializeRes:u,mergeInQueryOrForm:c};t.default=function(){function e(e){return t.apply(this,arguments)}var t=(0,w.default)(b.default.mark(function e(t){var r,n,a,u,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return b.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if("object"===(void 0===t?"undefined":(0,P.default)(t))&&(o=t,t=o.url),o.headers=o.headers||{},C.mergeInQueryOrForm(o),!o.requestInterceptor){e.next=10;break}return e.next=6,o.requestInterceptor(o);case 6:if(e.t0=e.sent,e.t0){e.next=9;break}e.t0=o;case 9:o=e.t0;case 10:return r=o.headers["content-type"]||o.headers["Content-Type"],/multipart\/form-data/i.test(r)&&(delete o.headers["content-type"],delete o.headers["Content-Type"]),n=void 0,e.prev=13,e.next=16,(o.userFetch||fetch)(o.url,o);case 16:return n=e.sent,e.next=19,C.serializeRes(n,t,o);case 19:if(n=e.sent,!o.responseInterceptor){e.next=27;break}return e.next=23,o.responseInterceptor(n);case 23:if(e.t1=e.sent,e.t1){e.next=26;break}e.t1=n;case 26:n=e.t1;case 27:e.next=37;break;case 29:if(e.prev=29,e.t2=e.catch(13),n){e.next=33;break}throw e.t2;case 33:throw a=new Error(n.statusText),a.statusCode=a.status=n.status,a.responseError=e.t2,a;case 37:if(n.ok){e.next=42;break}throw u=new Error(n.statusText),u.statusCode=u.status=n.status,u.response=n,u;case 42:return e.abrupt("return",n);case 43:case"end":return e.stop()}},e,this,[[13,29]])}));return e}();var I=t.shouldDownloadAsText=function(){return/(json|xml|yaml|text)\b/.test(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"")}},function(e,t){e.exports=require("babel-runtime/core-js/json/stringify")},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}function a(e,t,r){if(r=r||{},t=(0,L.default)({},t,{path:t.path&&u(t.path)}),"merge"===t.op){var n=T(e,t.path);(0,L.default)(n,t.value),U.default.applyPatch(e,[i(t.path,n)])}else if("mergeDeep"===t.op){var a=T(e,t.path);for(var o in t.value){var s=t.value[o],l=Array.isArray(s);if(l){var c=a[o]||[];a[o]=c.concat(s)}else if(w(s)&&!l){var f=(0,L.default)({},a[o]);for(var p in s){if(Object.prototype.hasOwnProperty.call(f,p)){f=(0,W.default)((0,Y.default)({},f),s);break}(0,L.default)(f,(0,B.default)({},p,s[p]))}a[o]=f}else a[o]=s}}else if("add"===t.op&&""===t.path&&w(t.value)){var d=(0,$.default)(t.value).reduce(function(e,r){return e.push({op:"add",path:"/"+u(r),value:t.value[r]}),e},[]);U.default.applyPatch(e,d)}else if("replace"===t.op&&""===t.path){var h=t.value;r.allowMetaPatches&&t.meta&&C(t)&&(Array.isArray(t.value)||w(t.value))&&(h=(0,L.default)({},h,t.meta)),e=h}else if(U.default.applyPatch(e,[t]),r.allowMetaPatches&&t.meta&&C(t)&&(Array.isArray(t.value)||w(t.value))){var v=T(e,t.path),y=(0,L.default)({},v,t.meta);U.default.applyPatch(e,[i(t.path,y)])}return e}function u(e){return Array.isArray(e)?e.length<1?"":"/"+e.map(function(e){return(e+"").replace(/~/g,"~0").replace(/\//g,"~1")}).join("/"):e}function o(e,t){return{op:"add",path:e,value:t}}function i(e,t,r){return{op:"replace",path:e,value:t,meta:r}}function s(e,t){return{op:"remove",path:e}}function l(e,t){return{type:"mutation",op:"merge",path:e,value:t}}function c(e,t){return{type:"mutation",op:"mergeDeep",path:e,value:t}}function f(e,t){return{type:"context",path:e,value:t}}function p(e,t){try{return h(e,y,t)}catch(e){return e}}function d(e,t){try{return h(e,v,t)}catch(e){return e}}function h(e,t,r){return k(P(e.filter(C).map(function(e){return t(e.value,r,e.path)})||[]))}function v(e,t,r){return r=r||[],Array.isArray(e)?e.map(function(e,n){return v(e,t,r.concat(n))}):w(e)?(0,$.default)(e).map(function(n){return v(e[n],t,r.concat(n))}):t(e,r[r.length-1],r)}function y(e,t,r){r=r||[];var n=[];if(r.length>0){var a=t(e,r[r.length-1],r);a&&(n=n.concat(a))}if(Array.isArray(e)){var u=e.map(function(e,n){return y(e,t,r.concat(n))});u&&(n=n.concat(u))}else if(w(e)){var o=(0,$.default)(e).map(function(n){return y(e[n],t,r.concat(n))});o&&(n=n.concat(o))}return n=P(n)}function m(e,t){if(!Array.isArray(t))return!1;for(var r=0,n=t.length;r<n;r++)if(t[r]!==e[r])return!1;return!0}function g(e,t){return t.reduce(function(e,t){return void 0!==t&&e?e[t]:e},e)}function b(e){return k(P(x(e)))}function x(e){return Array.isArray(e)?e:[e]}function P(e){var t;return(t=[]).concat.apply(t,(0,D.default)(e.map(function(e){return Array.isArray(e)?P(e):e})))}function k(e){return e.filter(function(e){return void 0!==e})}function w(e){return e&&"object"===(void 0===e?"undefined":(0,N.default)(e))}function _(e){return w(e)&&O(e.then)}function O(e){return e&&"function"==typeof e}function q(e){return e instanceof Error}function M(e){if(E(e)){var t=e.op;return"add"===t||"remove"===t||"replace"===t}return!1}function A(e){return G.default.isGeneratorFunction(e)}function j(e){return M(e)||E(e)&&"mutation"===e.type}function C(e){return j(e)&&("add"===e.op||"replace"===e.op||"merge"===e.op||"mergeDeep"===e.op)}function I(e){return E(e)&&"context"===e.type}function E(e){return e&&"object"===(void 0===e?"undefined":(0,N.default)(e))}function T(e,t){try{return U.default.getValueByPointer(e,t)}catch(e){return console.error(e),{}}}Object.defineProperty(t,"__esModule",{value:!0});var F=r(1),N=n(F),S=r(34),D=n(S),R=r(0),$=n(R),z=r(35),B=n(z),H=r(2),L=n(H),V=r(36),U=n(V),J=r(4),G=n(J),Q=r(37),W=n(Q),K=r(38),Y=n(K);t.default={add:o,replace:i,remove:s,merge:l,mergeDeep:c,context:f,getIn:g,applyPatch:a,parentPathMatch:m,flatten:P,fullyNormalizeArray:b,normalizeArray:x,isPromise:_,forEachNew:p,forEachNewPrimitive:d,isJsonPatch:M,isContextPatch:I,isPatch:E,isMutation:j,isAdditiveMutation:C,isGenerator:A,isFunction:O,isObject:w,isError:q},e.exports=t.default},function(e,t){e.exports=require("url")},function(e,t){e.exports=require("babel-runtime/helpers/asyncToGenerator")},function(e,t){e.exports=require("lodash/get")},function(e,t){e.exports=require("btoa")},function(e,t){e.exports=require("lodash/startsWith")},function(e,t){e.exports=require("@kyleshockey/js-yaml")},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}function a(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.requestInterceptor,n=t.responseInterceptor,a=e.withCredentials?"include":"same-origin";return function(t){return e({url:t,loadSpec:!0,requestInterceptor:r,responseInterceptor:n,headers:{Accept:"application/json"},credentials:a}).then(function(e){return e.body})}}function u(){d.plugins.refs.clearCache()}function o(e){function t(e){var t=this;k&&(d.plugins.refs.docCache[k]=e),d.plugins.refs.fetchJSON=a(P,{requestInterceptor:g,responseInterceptor:b});var r=[d.plugins.refs];return"function"==typeof m&&r.push(d.plugins.parameters),"function"==typeof y&&r.push(d.plugins.properties),"strict"!==o&&r.push(d.plugins.allOf),(0,h.default)({spec:e,context:{baseDoc:k},plugins:r,allowMetaPatches:l,pathDiscriminator:f,parameterMacro:m,modelPropertyMacro:y}).then(x?function(){var e=(0,c.default)(s.default.mark(function e(r){return s.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",r);case 1:case"end":return e.stop()}},e,t)}));return function(t){return e.apply(this,arguments)}}():v.normalizeSwagger)}var r=e.fetch,n=e.spec,u=e.url,o=e.mode,i=e.allowMetaPatches,l=void 0===i||i,f=e.pathDiscriminator,y=e.modelPropertyMacro,m=e.parameterMacro,g=e.requestInterceptor,b=e.responseInterceptor,x=e.skipNormalization,P=e.http,k=e.baseDoc;return k=k||u,P=r||P||p.default,n?t(n):a(P,{requestInterceptor:g,responseInterceptor:b})(k).then(t)}Object.defineProperty(t,"__esModule",{value:!0});var i=r(4),s=n(i),l=r(11),c=n(l);t.makeFetchJSON=a,t.clearCache=u,t.default=o;var f=r(7),p=n(f),d=r(31),h=n(d),v=r(5)},function(e,t){e.exports=require("babel-runtime/core-js/promise")},function(e,t){e.exports=require("babel-runtime/core-js/get-iterator")},function(e,t){e.exports=require("babel-runtime/helpers/classCallCheck")},function(e,t){e.exports=require("babel-runtime/helpers/createClass")},function(e,t,r){"use strict";function n(e,t){function r(){Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=(new Error).stack;for(var e=arguments.length,r=Array(e),n=0;n<e;n++)r[n]=arguments[n];this.message=r[0],t&&t.apply(this,r)}return r.prototype=new Error,r.prototype.name=e,r.prototype.constructor=r,r}Object.defineProperty(t,"__esModule",{value:!0}),t.default=n,e.exports=t.default},function(e,t,r){"use strict";function n(e){var t=e[e.length-1],r=e[e.length-2],n=e.join("/");return a.indexOf(t)>-1&&-1===u.indexOf(r)||o.indexOf(n)>-1||i.some(function(e){return n.indexOf(e)>-1})}Object.defineProperty(t,"__esModule",{value:!0}),t.isFreelyNamed=n;var a=["properties"],u=["properties"],o=["definitions","parameters","responses","securityDefinitions","components/schemas","components/responses","components/parameters","components/securitySchemes"],i=["schema/example"]},function(e,t,r){e.exports=r(24)},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}function a(e){var t=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if("string"==typeof e?r.url=e:r=e,!(this instanceof a))return new a(r);(0,l.default)(this,r);var n=this.resolve().then(function(){return t.disableInterfaces||(0,l.default)(t,a.makeApisTagOperation(t)),t});return n.client=this,n}Object.defineProperty(t,"__esModule",{value:!0});var u=r(3),o=n(u),i=r(25),s=(n(i),r(6)),l=n(s),c=r(14),f=n(c),p=r(10),d=n(p),h=r(7),v=n(h),y=r(16),m=n(y),g=r(48),b=n(g),x=r(49),P=r(51),k=r(5);a.http=v.default,a.makeHttp=h.makeHttp.bind(null,a.http),a.resolve=m.default,a.resolveSubtree=b.default,a.execute=P.execute,a.serializeRes=h.serializeRes,a.serializeHeaders=h.serializeHeaders,a.clearCache=y.clearCache,a.parameterBuilders=P.PARAMETER_BUILDERS,a.makeApisTagOperation=x.makeApisTagOperation,a.buildRequest=P.buildRequest,a.helpers={opId:k.opId},a.prototype={http:v.default,execute:function(e){return this.applyDefaults(),a.execute((0,o.default)({spec:this.spec,http:this.http,securities:{authorized:this.authorizations},contextUrl:"string"==typeof this.url?this.url:void 0},e))},resolve:function(){var e=this;return a.resolve({spec:this.spec,url:this.url,allowMetaPatches:this.allowMetaPatches,requestInterceptor:this.requestInterceptor||null,responseInterceptor:this.responseInterceptor||null}).then(function(t){return e.originalSpec=e.spec,e.spec=t.spec,e.errors=t.errors,e})}},a.prototype.applyDefaults=function(){var e=this.spec,t=this.url;if(t&&(0,f.default)(t,"http")){var r=d.default.parse(t);e.host||(e.host=r.host),e.schemes||(e.schemes=[r.protocol.replace(":","")]),e.basePath||(e.basePath="/")}},t.default=a,e.exports=t.default},function(e,t){e.exports=require("lodash/cloneDeep")},function(e,t){e.exports=require("babel-runtime/helpers/slicedToArray")},function(e,t){e.exports=require("cross-fetch/polyfill")},function(e,t){e.exports=require("qs")},function(e,t){e.exports=require("lodash/isString")},function(e,t){e.exports=require("isomorphic-form-data")},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}function a(e){return new $(e).dispatch()}Object.defineProperty(t,"__esModule",{value:!0}),t.plugins=t.SpecMap=void 0;var u=r(8),o=n(u),i=r(1),s=n(i),l=r(17),c=n(l),f=r(4),p=n(f),d=r(0),h=n(d),v=r(18),y=n(v),m=r(32),g=n(m),b=r(2),x=n(b),P=r(19),k=n(P),w=r(20),_=n(w);t.default=a;var O=r(33),q=n(O),M=r(9),A=n(M),j=r(39),C=n(j),I=r(43),E=n(I),T=r(44),F=n(T),N=r(45),S=n(N),D=r(46),R=n(D),$=function(){function e(t){(0,k.default)(this,e),(0,x.default)(this,{spec:"",debugLevel:"info",plugins:[],pluginHistory:{},errors:[],mutations:[],promisedPatches:[],state:{},patches:[],context:{},contextTree:new R.default,showDebug:!1,allPatches:[],pluginProp:"specMap",libMethods:(0,x.default)((0,g.default)(this),A.default),allowMetaPatches:!1},t),this.get=this._get.bind(this),this.getContext=this._getContext.bind(this),this.hasRun=this._hasRun.bind(this),this.wrappedPlugins=this.plugins.map(this.wrapPlugin.bind(this)).filter(A.default.isFunction),this.patches.push(A.default.add([],this.spec)),this.patches.push(A.default.context([],this.context)),this.updatePatches(this.patches)}return(0,_.default)(e,[{key:"debug",value:function(e){if(this.debugLevel===e){for(var t,r=arguments.length,n=Array(r>1?r-1:0),a=1;a<r;a++)n[a-1]=arguments[a];(t=console).log.apply(t,n)}}},{key:"verbose",value:function(e){if("verbose"===this.debugLevel){for(var t,r=arguments.length,n=Array(r>1?r-1:0),a=1;a<r;a++)n[a-1]=arguments[a];(t=console).log.apply(t,["["+e+"] "].concat(n))}}},{key:"wrapPlugin",value:function(e,t){var r=this.pathDiscriminator,n=null,a=void 0;return e[this.pluginProp]?(n=e,a=e[this.pluginProp]):A.default.isFunction(e)?a=e:A.default.isObject(e)&&(a=function(e){var t=function(e,t){return!Array.isArray(e)||e.every(function(e,r){return e===t[r]})};return p.default.mark(function n(a,u){var o,i,s,l,c,f,d,v,m;return p.default.wrap(function(n){for(;;)switch(n.prev=n.next){case 0:m=function n(a,s,l){var c,f,d,v,m,g,b,x,P,k,w,_,O,q,M,j;return p.default.wrap(function(o){for(;;)switch(o.prev=o.next){case 0:if(A.default.isObject(a)){o.next=6;break}if(e.key!==s[s.length-1]){o.next=4;break}return o.next=4,e.plugin(a,e.key,s,u);case 4:o.next=48;break;case 6:c=s.length-1,f=s[c],d=s.indexOf("properties"),v="properties"===f&&c===d,m=u.allowMetaPatches&&i[a.$$ref],g=!0,b=!1,x=void 0,o.prev=14,P=(0,y.default)((0,h.default)(a));case 16:if(g=(k=P.next()).done){o.next=34;break}if(w=k.value,_=a[w],O=s.concat(w),q=A.default.isObject(_),M=a.$$ref,m){o.next=26;break}if(!q){o.next=26;break}return u.allowMetaPatches&&M&&(i[M]=!0),o.delegateYield(n(_,O,l),"t0",26);case 26:if(v||w!==e.key){o.next=31;break}if(j=t(r,s),r&&!j){o.next=31;break}return o.next=31,e.plugin(_,w,O,u,l);case 31:g=!0,o.next=16;break;case 34:o.next=40;break;case 36:o.prev=36,o.t1=o.catch(14),b=!0,x=o.t1;case 40:o.prev=40,o.prev=41,!g&&P.return&&P.return();case 43:if(o.prev=43,!b){o.next=46;break}throw x;case 46:return o.finish(43);case 47:return o.finish(40);case 48:case"end":return o.stop()}},o,this,[[14,36,40,48],[41,,43,47]])},o=p.default.mark(m),i={},s=!0,l=!1,c=void 0,n.prev=6,f=(0,y.default)(a.filter(A.default.isAdditiveMutation));case 8:if(s=(d=f.next()).done){n.next=14;break}return v=d.value,n.delegateYield(m(v.value,v.path,v),"t0",11);case 11:s=!0,n.next=8;break;case 14:n.next=20;break;case 16:n.prev=16,n.t1=n.catch(6),l=!0,c=n.t1;case 20:n.prev=20,n.prev=21,!s&&f.return&&f.return();case 23:if(n.prev=23,!l){n.next=26;break}throw c;case 26:return n.finish(23);case 27:return n.finish(20);case 28:case"end":return n.stop()}},n,this,[[6,16,20,28],[21,,23,27]])})}(e)),(0,x.default)(a.bind(n),{pluginName:e.name||t,isGenerator:A.default.isGenerator(a)})}},{key:"nextPlugin",value:function(){var e=this;return(0,q.default)(this.wrappedPlugins,function(t){return e.getMutationsForPlugin(t).length>0})}},{key:"nextPromisedPatch",value:function(){if(this.promisedPatches.length>0)return c.default.race(this.promisedPatches.map(function(e){return e.value}))}},{key:"getPluginHistory",value:function(e){var t=this.getPluginName(e);return this.pluginHistory[t]||[]}},{key:"getPluginRunCount",value:function(e){return this.getPluginHistory(e).length}},{key:"getPluginHistoryTip",value:function(e){var t=this.getPluginHistory(e);return t&&t[t.length-1]||{}}},{key:"getPluginMutationIndex",value:function(e){var t=this.getPluginHistoryTip(e).mutationIndex;return"number"!=typeof t?-1:t}},{key:"getPluginName",value:function(e){return e.pluginName}},{key:"updatePluginHistory",value:function(e,t){var r=this.getPluginName(e);(this.pluginHistory[r]=this.pluginHistory[r]||[]).push(t)}},{key:"updatePatches",value:function(e,t){var r=this;A.default.normalizeArray(e).forEach(function(e){if(e instanceof Error)return void r.errors.push(e);try{if(!A.default.isObject(e))return void r.debug("updatePatches","Got a non-object patch",e);if(r.showDebug&&r.allPatches.push(e),A.default.isPromise(e.value))return r.promisedPatches.push(e),void r.promisedPatchThen(e);if(A.default.isContextPatch(e))return void r.setContext(e.path,e.value);if(A.default.isMutation(e))return void r.updateMutations(e)}catch(e){console.error(e),r.errors.push(e)}})}},{key:"updateMutations",value:function(e){"object"===(0,s.default)(e.value)&&!Array.isArray(e.value)&&this.allowMetaPatches&&(e.value=(0,x.default)({},e.value));var t=A.default.applyPatch(this.state,e,{allowMetaPatches:this.allowMetaPatches});t&&(this.mutations.push(e),this.state=t)}},{key:"removePromisedPatch",value:function(e){var t=this.promisedPatches.indexOf(e);if(t<0)return void this.debug("Tried to remove a promisedPatch that isn't there!");this.promisedPatches.splice(t,1)}},{key:"promisedPatchThen",value:function(e){var t=this;return e.value=e.value.then(function(r){var n=(0,x.default)({},e,{value:r});t.removePromisedPatch(e),t.updatePatches(n)}).catch(function(r){t.removePromisedPatch(e),t.updatePatches(r)})}},{key:"getMutations",value:function(e,t){return e=e||0,"number"!=typeof t&&(t=this.mutations.length),this.mutations.slice(e,t)}},{key:"getCurrentMutations",value:function(){return this.getMutationsForPlugin(this.getCurrentPlugin())}},{key:"getMutationsForPlugin",value:function(e){var t=this.getPluginMutationIndex(e);return this.getMutations(t+1)}},{key:"getCurrentPlugin",value:function(){return this.currentPlugin}},{key:"getPatchesOfType",value:function(e,t){return e.filter(t)}},{key:"getLib",value:function(){return this.libMethods}},{key:"_get",value:function(e){return A.default.getIn(this.state,e)}},{key:"_getContext",value:function(e){return this.contextTree.get(e)}},{key:"setContext",value:function(e,t){return this.contextTree.set(e,t)}},{key:"_hasRun",value:function(e){return this.getPluginRunCount(this.getCurrentPlugin())>(e||0)}},{key:"_clone",value:function(e){return JSON.parse((0,o.default)(e))}},{key:"dispatch",value:function(){function e(e){e&&(e=A.default.fullyNormalizeArray(e),r.updatePatches(e,n))}var t=this,r=this,n=this.nextPlugin();if(!n){var a=this.nextPromisedPatch();if(a)return a.then(function(){return t.dispatch()}).catch(function(){return t.dispatch()});var u={spec:this.state,errors:this.errors};return this.showDebug&&(u.patches=this.allPatches),c.default.resolve(u)}if(r.pluginCount=r.pluginCount||{},r.pluginCount[n]=(r.pluginCount[n]||0)+1,r.pluginCount[n]>100)return c.default.resolve({spec:r.state,errors:r.errors.concat(new Error("We've reached a hard limit of 100 plugin runs"))});if(n!==this.currentPlugin&&this.promisedPatches.length){var o=this.promisedPatches.map(function(e){return e.value});return c.default.all(o.map(function(e){return e.then(Function,Function)})).then(function(){return t.dispatch()})}return function(){r.currentPlugin=n;var t=r.getCurrentMutations(),a=r.mutations.length-1;try{if(n.isGenerator){var u=!0,o=!1,i=void 0;try{for(var s,l=(0,y.default)(n(t,r.getLib()));!(u=(s=l.next()).done);u=!0){e(s.value)}}catch(e){o=!0,i=e}finally{try{!u&&l.return&&l.return()}finally{if(o)throw i}}}else{e(n(t,r.getLib()))}}catch(t){console.error(t),e([(0,x.default)((0,g.default)(t),{plugin:n})])}finally{r.updatePluginHistory(n,{mutationIndex:a})}return r.dispatch()}()}}]),e}(),z={refs:C.default,allOf:E.default,parameters:F.default,properties:S.default};t.SpecMap=$,t.plugins=z},function(e,t){e.exports=require("babel-runtime/core-js/object/create")},function(e,t){e.exports=require("lodash/find")},function(e,t){e.exports=require("babel-runtime/helpers/toConsumableArray")},function(e,t){e.exports=require("babel-runtime/helpers/defineProperty")},function(e,t){e.exports=require("fast-json-patch")},function(e,t){e.exports=require("deep-extend")},function(e,t){e.exports=require("@kyleshockey/object-assign-deep")},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}function a(e,t){if(!B.test(e)){if(!t)throw new H("Tried to resolve a relative URL, without having a basePath. path: '"+e+"' basePath: '"+t+"'");return N.default.resolve(t,e)}return e}function u(e,t){var r=void 0;return r=e&&e.response&&e.response.body?e.response.body.code+" "+e.response.body.message:e.message,new H("Could not resolve reference: "+r,t,e)}function o(e){return(e+"").split("#")}function i(e,t){var r=L[e];if(r&&!D.default.isPromise(r))try{var n=f(t,r);return(0,A.default)(_.default.resolve(n),{__value:n})}catch(e){return _.default.reject(e)}return l(e).then(function(e){return f(t,e)})}function s(e){void 0!==e?delete L[e]:(0,k.default)(L).forEach(function(e){delete L[e]})}function l(e){var t=L[e];return t?D.default.isPromise(t)?t:_.default.resolve(t):(L[e]=J.fetchJSON(e).then(function(t){return L[e]=t,t}),L[e])}function c(e){return(0,j.fetch)(e,{headers:{Accept:"application/json, application/yaml"},loadSpec:!0}).then(function(e){return e.text()}).then(function(e){return I.default.safeLoad(e)})}function f(e,t){var r=p(e);if(r.length<1)return t;var n=D.default.getIn(t,r);if(void 0===n)throw new H("Could not resolve pointer: "+e+" does not exist in document",{pointer:e});return n}function p(e){if("string"!=typeof e)throw new TypeError("Expected a string, got a "+(void 0===e?"undefined":(0,x.default)(e)));return"/"===e[0]&&(e=e.substr(1)),""===e?[]:e.split("/").map(d)}function d(e){return"string"!=typeof e?e:T.default.unescape(e.replace(/~1/g,"/").replace(/~0/g,"~"))}function h(e){return T.default.escape(e.replace(/~/g,"~0").replace(/\//g,"~1"))}function v(e){return 0===e.length?"":"/"+e.map(h).join("/")}function y(e,t){if(G(t))return!0;var r=e.charAt(t.length),n=t.slice(-1);return 0===e.indexOf(t)&&(!r||"/"===r||"#"===r)&&"#"!==n}function m(e,t,r,n){var a=V.get(n);a||(a={},V.set(n,a));var u=v(r),o=(t||"<specmap-base>")+"#"+e;if(t==n.contextTree.get([]).baseDoc&&y(u,e))return!0;var i="";if(r.some(function(e){return i=i+"/"+h(e),a[i]&&a[i].some(function(e){return y(e,o)||y(o,e)})}))return!0;a[u]=(a[u]||[]).concat(o)}function g(e,t){function r(e){return D.default.isObject(e)&&(n.indexOf(e)>=0||(0,k.default)(e).some(function(t){return r(e[t])}))}var n=[e];return t.path.reduce(function(e,t){return n.push(e[t]),e[t]},e),r(t.value)}Object.defineProperty(t,"__esModule",{value:!0});var b=r(1),x=n(b),P=r(0),k=n(P),w=r(17),_=n(w),O=r(40),q=n(O),M=r(2),A=n(M),j=r(41),C=r(15),I=n(C),E=r(42),T=n(E),F=r(10),N=n(F),S=r(9),D=n(S),R=r(21),$=n(R),z=r(22),B=new RegExp("^([a-z]+://|//)","i"),H=(0,$.default)("JSONRefError",function(e,t,r){this.originalError=r,(0,A.default)(this,t||{})}),L={},V=new q.default,U={key:"$ref",plugin:function(e,t,r,n){var s=r.slice(0,-1);if(!(0,z.isFreelyNamed)(s)){var l=n.getContext(r).baseDoc;if("string"!=typeof e)return new H("$ref: must be a string (JSON-Ref)",{$ref:e,baseDoc:l,fullPath:r});var c=o(e),f=c[0],d=c[1]||"",h=void 0;try{h=l||f?a(f,l):null}catch(t){return u(t,{pointer:d,$ref:e,basePath:h,fullPath:r})}var v=void 0,y=void 0;if(!m(d,h,s,n)){if(null==h?(y=p(d),void 0===(v=n.get(y))&&(v=new H("Could not resolve reference: "+e,{pointer:d,$ref:e,baseDoc:l,fullPath:r}))):(v=i(h,d),v=null!=v.__value?v.__value:v.catch(function(t){throw u(t,{pointer:d,$ref:e,baseDoc:l,fullPath:r})})),v instanceof Error)return[D.default.remove(r),v];var b=D.default.replace(s,v,{$$ref:e});if(h&&h!==l)return[b,D.default.context(s,{baseDoc:h})];try{if(!g(n.state,b))return b}catch(e){return null}}}}},J=(0,A.default)(U,{docCache:L,absoluteify:a,clearCache:s,JSONRefError:H,wrapError:u,getDoc:l,split:o,extractFromDoc:i,fetchJSON:c,extract:f,jsonPointerToArray:p,unescapeJsonPointerToken:d});t.default=J;var G=function(e){return!e||"/"===e||"#"===e};e.exports=t.default},function(e,t){e.exports=require("babel-runtime/core-js/weak-map")},function(e,t){e.exports=require("cross-fetch")},function(e,t){e.exports=require("querystring-browser")},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(2),a=function(e){return e&&e.__esModule?e:{default:e}}(n),u=r(22);t.default={key:"allOf",plugin:function(e,t,r,n,o){if(!o.meta||!o.meta.$$ref){var i=r.slice(0,-1);if(!(0,u.isFreelyNamed)(i)){if(!Array.isArray(e)){var s=new TypeError("allOf must be an array");return s.fullPath=r,s}var l=!1,c=o.value;i.forEach(function(e){c&&(c=c[e])}),c=(0,a.default)({},c),delete c.allOf;var f=[n.replace(i,{})].concat(e.map(function(e,t){if(!n.isObject(e)){if(l)return null;l=!0;var a=new TypeError("Elements in allOf must be objects");return a.fullPath=r,a}return n.mergeDeep(i,e)}));return f.push(n.mergeDeep(i,c)),c.$$ref||f.push(n.remove([].concat(i,"$$ref"))),f}}}},e.exports=t.default},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var a=r(2),u=n(a),o=r(9),i=n(o);t.default={key:"parameters",plugin:function(e,t,r,n,a){if(Array.isArray(e)&&e.length){var o=(0,u.default)([],e),s=r.slice(0,-1),l=(0,u.default)({},i.default.getIn(n.spec,s));return e.forEach(function(e,t){try{o[t].default=n.parameterMacro(l,e)}catch(e){var a=new Error(e);return a.fullPath=r,a}}),i.default.replace(r,o)}return i.default.replace(r,e)}},e.exports=t.default},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var a=r(2),u=n(a),o=r(9),i=n(o);t.default={key:"properties",plugin:function(e,t,r,n){var a=(0,u.default)({},e);for(var o in e)try{a[o].default=n.modelPropertyMacro(a[o])}catch(e){var s=new Error(e);return s.fullPath=r,s}return i.default.replace(r,a)}},e.exports=t.default},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}function a(e,t){return u({children:{}},e,t)}function u(e,t,r){return e.value=t||{},e.protoValue=r?(0,l.default)({},r.protoValue,e.value):e.value,(0,i.default)(e.children).forEach(function(t){var r=e.children[t];e.children[t]=u(r,r.value,e)}),e}Object.defineProperty(t,"__esModule",{value:!0});var o=r(0),i=n(o),s=r(3),l=n(s),c=r(19),f=n(c),p=r(20),d=n(p),h=function(){function e(t){(0,f.default)(this,e),this.root=a(t||{})}return(0,d.default)(e,[{key:"set",value:function(e,t){var r=this.getParent(e,!0);if(!r)return void u(this.root,t,null);var n=e[e.length-1],o=r.children;if(o[n])return void u(o[n],t,r);o[n]=a(t,r)}},{key:"get",value:function(e){if(e=e||[],e.length<1)return this.root.value;for(var t=this.root,r=void 0,n=void 0,a=0;a<e.length&&(n=e[a],r=t.children,r[n]);a++)t=r[n];return t&&t.protoValue}},{key:"getParent",value:function(e,t){return!e||e.length<1?null:e.length<2?this.root:e.slice(0,-1).reduce(function(e,r){if(!e)return e;var n=e.children;return!n[r]&&t&&(n[r]=a(null,e)),n[r]},this.root)}}]),e}();t.default=h,e.exports=t.default},function(e,t){e.exports=require("lodash/isObject")},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var a=r(4),u=n(a),o=r(3),i=n(o),s=r(11),l=n(s),c=r(12),f=n(c),p=r(16),d=n(p),h=r(5);t.default=function(){function e(e,r){return t.apply(this,arguments)}var t=(0,l.default)(u.default.mark(function e(t,r){var n,a,o,s,l,c,p,v,y,m,g=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return u.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return n=g.returnEntireTree,a=g.baseDoc,o=g.requestInterceptor,s=g.responseInterceptor,l=g.parameterMacro,c=g.modelPropertyMacro,p={pathDiscriminator:r,baseDoc:a,requestInterceptor:o,responseInterceptor:s,parameterMacro:l,modelPropertyMacro:c},v=(0,h.normalizeSwagger)({spec:t}),y=v.spec,e.next=5,(0,d.default)((0,i.default)({},p,{spec:y,allowMetaPatches:!0,skipNormalization:!0}));case 5:return m=e.sent,!n&&Array.isArray(r)&&r.length&&(m.spec=(0,f.default)(m.spec,r)||null),e.abrupt("return",m);case 8:case"end":return e.stop()}},e,this)}));return e}(),e.exports=t.default},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}function a(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return function(t){var r=t.pathName,n=t.method,a=t.operationId;return function(t){var u=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return e.execute((0,l.default)({spec:e.spec},(0,f.default)(e,"requestInterceptor","responseInterceptor","userFetch"),{pathName:r,method:n,parameters:t,operationId:a},u))}}}function u(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=v.makeExecute(e),r=v.mapTagOperations({v2OperationIdCompatibilityMode:e.v2OperationIdCompatibilityMode,spec:e.spec,cb:t}),n={};for(var a in r){n[a]={operations:{}};for(var u in r[a])n[a].operations[u]={execute:r[a][u]}}return{apis:n}}function o(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=v.makeExecute(e);return{apis:v.mapTagOperations({v2OperationIdCompatibilityMode:e.v2OperationIdCompatibilityMode,spec:e.spec,cb:t})}}function i(e){var t=e.spec,r=e.cb,n=void 0===r?d:r,a=e.defaultTag,u=void 0===a?"default":a,o=e.v2OperationIdCompatibilityMode,i={},s={};return(0,p.eachOperation)(t,function(e){var r=e.pathName,a=e.method,l=e.operation;(l.tags?h(l.tags):[u]).forEach(function(e){if("string"==typeof e){var u=s[e]=s[e]||{},c=(0,p.opId)(l,r,a,{v2OperationIdCompatibilityMode:o}),f=n({spec:t,pathName:r,method:a,operation:l,operationId:c});if(i[c])i[c]++,u[""+c+i[c]]=f;else if(void 0!==u[c]){var d=i[c]||1;i[c]=d+1,u[""+c+i[c]]=f;var h=u[c];delete u[c],u[""+c+d]=h}else u[c]=f}})}),s}Object.defineProperty(t,"__esModule",{value:!0}),t.self=void 0;var s=r(3),l=n(s);t.makeExecute=a,t.makeApisTagOperationsOperationExecute=u,t.makeApisTagOperation=o,t.mapTagOperations=i;var c=r(50),f=n(c),p=r(5),d=function(){return null},h=function(e){return Array.isArray(e)?e:[e]},v=t.self={mapTagOperations:i,makeExecute:a}},function(e,t){e.exports=require("lodash/pick")},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}function a(e){var t=e.http,r=e.fetch,n=e.spec,a=e.operationId,u=e.pathName,o=e.method,i=e.parameters,s=e.securities,l=(0,y.default)(e,["http","fetch","spec","operationId","pathName","method","parameters","securities"]),c=t||r||F.default;u&&o&&!a&&(a=(0,U.legacyIdFromPathMethod)(u,o));var f=K.buildRequest((0,h.default)({spec:n,operationId:a,parameters:i,securities:s,http:c},l));return f.body&&((0,O.default)(f.body)||(0,M.default)(f.body))&&(f.body=(0,p.default)(f.body)),c(f)}function u(e){var t=e.spec,r=e.operationId,n=(e.securities,e.requestContentType,e.responseContentType),a=e.scheme,u=e.requestInterceptor,i=e.responseInterceptor,s=e.contextUrl,l=e.userFetch,c=(e.requestBody,e.server),f=e.serverVariables,p=e.http,d=e.parameters,v=e.parameterBuilders,y=(0,U.isOAS3)(t);v||(v=y?z.default:R.default);var m=p&&p.withCredentials?"include":"same-origin",b={url:"",credentials:m,headers:{},cookies:{}};u&&(b.requestInterceptor=u),i&&(b.responseInterceptor=i),l&&(b.userFetch=l);var x=(0,U.getOperationRaw)(t,r);if(!x)throw new G("Operation "+r+" not found");var P=x.operation,k=void 0===P?{}:P,w=x.method,_=x.pathName;if(b.url+=o({spec:t,scheme:a,contextUrl:s,server:c,serverVariables:f,pathName:_,method:w}),!r)return delete b.cookies,b;b.url+=_,b.method=(""+w).toUpperCase(),d=d||{};var O=t.paths[_]||{};n&&(b.headers.accept=n);var q=W([].concat(J(k.parameters)).concat(J(O.parameters)));q.forEach(function(e){var r=v[e.in],n=void 0;if("body"===e.in&&e.schema&&e.schema.properties&&(n=d),n=e&&e.name&&d[e.name],void 0===n?n=e&&e.name&&d[e.in+"."+e.name]:Q(e.name,q).length>1&&console.warn("Parameter '"+e.name+"' is ambiguous because the defined spec has more than one parameter with the name: '"+e.name+"' and the passed-in parameter values did not define an 'in' value."),null!==n){if(void 0!==e.default&&void 0===n&&(n=e.default),void 0===n&&e.required&&!e.allowEmptyValue)throw new Error("Required parameter "+e.name+" is not provided");if(y&&e.schema&&"object"===e.schema.type&&"string"==typeof n)try{n=JSON.parse(n)}catch(e){throw new Error("Could not parse object parameter value string as JSON")}r&&r({req:b,parameter:e,value:n,operation:k,spec:t})}});var M=(0,h.default)({},e,{operation:k});if(b=y?(0,H.default)(M,b):(0,V.default)(M,b),b.cookies&&(0,g.default)(b.cookies).length){var A=(0,g.default)(b.cookies).reduce(function(e,t){var r=b.cookies[t];return e+(e?"&":"")+E.default.serialize(t,r)},"");b.headers.Cookie=A}return b.cookies&&delete b.cookies,(0,T.mergeInQueryOrForm)(b),b}function o(e){return(0,U.isOAS3)(e.spec)?i(e):c(e)}function i(e){var t=e.spec,r=e.pathName,n=e.method,a=e.server,u=e.contextUrl,o=e.serverVariables,i=void 0===o?{}:o,c=(0,w.default)(t,["paths",r,(n||"").toLowerCase(),"servers"])||(0,w.default)(t,["paths",r,"servers"])||(0,w.default)(t,["servers"]),f="",p=null;if(a&&c&&c.length){var d=c.map(function(e){return e.url});d.indexOf(a)>-1&&(f=a,p=c[d.indexOf(a)])}if(!f&&c&&c.length&&(f=c[0].url,p=c[0]),f.indexOf("{")>-1){l(f).forEach(function(e){if(p.variables&&p.variables[e]){var t=p.variables[e],r=i[e]||t.default,n=new RegExp("{"+e+"}","g");f=f.replace(n,r)}})}return s(f,u)}function s(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",r=C.default.parse(e),n=C.default.parse(t),a=Y(r.protocol)||Y(n.protocol)||"",u=r.host||n.host,o=r.pathname||"",i=void 0;return i=a&&u?a+"://"+(u+o):o,"/"===i[i.length-1]?i.slice(0,-1):i}function l(e){for(var t=[],r=/{([^}]+)}/g,n=void 0;n=r.exec(e);)t.push(n[1]);return t}function c(e){var t=e.spec,r=e.scheme,n=e.contextUrl,a=void 0===n?"":n,u=C.default.parse(a),o=Array.isArray(t.schemes)?t.schemes[0]:null,i=r||o||Y(u.protocol)||"http",s=t.host||u.host||"",l=t.basePath||"",c=void 0;return c=i&&s?i+"://"+(s+l):l,"/"===c[c.length-1]?c.slice(0,-1):c}Object.defineProperty(t,"__esModule",{value:!0}),t.self=void 0;var f=r(8),p=n(f),d=r(3),h=n(d),v=r(52),y=n(v),m=r(0),g=n(m),b=r(2),x=n(b);t.execute=a,t.buildRequest=u,t.baseUrl=o;var P=r(6),k=(n(P),r(12)),w=n(k),_=r(53),O=n(_),q=r(54),M=n(q),A=r(13),j=(n(A),r(10)),C=n(j),I=r(55),E=n(I),T=r(7),F=n(T),N=r(21),S=n(N),D=r(56),R=n(D),$=r(57),z=n($),B=r(62),H=n(B),L=r(64),V=n(L),U=r(5),J=function(e){return Array.isArray(e)?e:[]},G=(0,S.default)("OperationNotFoundError",function(e,t,r){this.originalError=r,(0,x.default)(this,t||{})}),Q=function(e,t){return t.filter(function(t){return t.name===e})},W=function(e){var t={};e.forEach(function(e){t[e.in]||(t[e.in]={}),t[e.in][e.name]=e});var r=[];return(0,g.default)(t).forEach(function(e){(0,g.default)(t[e]).forEach(function(n){r.push(t[e][n])})}),r},K=t.self={buildRequest:u},Y=function(e){return e?e.replace(/\W/g,""):null}},function(e,t){e.exports=require("babel-runtime/helpers/objectWithoutProperties")},function(e,t){e.exports=require("lodash/isPlainObject")},function(e,t){e.exports=require("lodash/isArray")},function(e,t){e.exports=require("cookie")},function(e,t,r){"use strict";function n(e){var t=e.req,r=e.value;t.body=r}function a(e){var t=e.req,r=e.value,n=e.parameter;(r||n.allowEmptyValue)&&(t.form=t.form||{},t.form[n.name]={value:r,allowEmptyValue:n.allowEmptyValue,collectionFormat:n.collectionFormat})}function u(e){var t=e.req,r=e.parameter,n=e.value;t.headers=t.headers||{},void 0!==n&&(t.headers[r.name]=n)}function o(e){var t=e.req,r=e.value,n=e.parameter;t.url=t.url.replace("{"+n.name+"}",encodeURIComponent(r))}function i(e){var t=e.req,r=e.value,n=e.parameter;if(t.query=t.query||{},!1===r&&"boolean"===n.type&&(r="false"),0===r&&["number","integer"].indexOf(n.type)>-1&&(r="0"),r)t.query[n.name]={collectionFormat:n.collectionFormat,value:r};else if(n.allowEmptyValue&&void 0!==r){var a=n.name;t.query[a]=t.query[a]||{},t.query[a].allowEmptyValue=!0}}Object.defineProperty(t,"__esModule",{value:!0}),t.default={body:n,header:u,query:i,path:o,formData:a},e.exports=t.default},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}function a(e){var t=e.req,r=e.value,n=e.parameter,a=n.name,u=n.style,o=n.explode,i=(0,d.default)({key:n.name,value:r,style:u||"simple",explode:o||!1,escape:!0});t.url=t.url.replace("{"+a+"}",i)}function u(e){var t=e.req,r=e.value,n=e.parameter;if(t.query=t.query||{},!1===r&&(r="false"),0===r&&(r="0"),r){var a=void 0===r?"undefined":(0,f.default)(r);if("deepObject"===n.style){(0,l.default)(r).forEach(function(e){var a=r[e];t.query[n.name+"["+e+"]"]={value:(0,d.default)({key:e,value:a,style:"deepObject",escape:n.allowReserved?"unsafe":"reserved"}),skipEncoding:!0}})}else if("object"!==a||Array.isArray(r)||"form"!==n.style&&n.style||!n.explode&&void 0!==n.explode)t.query[n.name]={value:(0,d.default)({key:n.name,value:r,style:n.style||"form",explode:void 0===n.explode||n.explode,escape:n.allowReserved?"unsafe":"reserved"}),skipEncoding:!0};else{var u=(0,l.default)(r);u.forEach(function(e){var a=r[e];t.query[e]={value:(0,d.default)({key:e,value:a,style:n.style||"form",escape:n.allowReserved?"unsafe":"reserved"}),skipEncoding:!0}})}}else if(n.allowEmptyValue&&void 0!==r){var o=n.name;t.query[o]=t.query[o]||{},t.query[o].allowEmptyValue=!0}}function o(e){var t=e.req,r=e.parameter,n=e.value;t.headers=t.headers||{},h.indexOf(r.name.toLowerCase())>-1||void 0!==n&&(t.headers[r.name]=(0,d.default)({key:r.name,value:n,style:r.style||"simple",explode:void 0!==r.explode&&r.explode,escape:!1}))}function i(e){var t=e.req,r=e.parameter,n=e.value;t.headers=t.headers||{};var a=void 0===n?"undefined":(0,f.default)(n);if("undefined"!==a){var u="object"===a&&!Array.isArray(n)&&r.explode?"":r.name+"=";t.headers.Cookie=u+(0,d.default)({key:r.name,value:n,escape:!1,style:r.style||"form",explode:void 0!==r.explode&&r.explode})}}Object.defineProperty(t,"__esModule",{value:!0});var s=r(0),l=n(s),c=r(1),f=n(c),p=r(58),d=n(p);t.default={path:a,query:u,header:o,cookie:i};var h=["accept","authorization","content-type"];e.exports=t.default},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}function a(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.escape,n=arguments[2];return"number"==typeof e&&(e=e.toString()),"string"==typeof e&&e.length&&r?n?JSON.parse(e):(0,v.stringToCharArray)(e).map(function(e){return m(e)?e:y(e)&&"unsafe"===r?e:((0,h.default)(e)||[]).map(function(e){return("0"+e.toString(16).toUpperCase()).slice(-2)}).map(function(e){return"%"+e}).join("")}).join(""):e}function u(e){var t=e.key,r=e.value,n=e.style,u=e.explode,o=e.escape,i=function(e){return a(e,{escape:o})};if("simple"===n)return r.map(function(e){return i(e)}).join(",");if("label"===n)return"."+r.map(function(e){return i(e)}).join(".");if("matrix"===n)return r.map(function(e){return i(e)}).reduce(function(e,r){return!e||u?(e||"")+";"+t+"="+r:e+","+r},"");if("form"===n){var s=u?"&"+t+"=":",";return r.map(function(e){return i(e)}).join(s)}if("spaceDelimited"===n){var l=u?t+"=":"";return r.map(function(e){return i(e)}).join(" "+l)}if("pipeDelimited"===n){var c=u?t+"=":"";return r.map(function(e){return i(e)}).join("|"+c)}}function o(e){var t=e.key,r=e.value,n=e.style,u=e.explode,o=e.escape,i=function(e){return a(e,{escape:o})},s=(0,l.default)(r);return"simple"===n?s.reduce(function(e,t){var n=i(r[t]),a=u?"=":",";return(e?e+",":"")+t+a+n},""):"label"===n?s.reduce(function(e,t){var n=i(r[t]),a=u?"=":".";return(e?e+".":".")+t+a+n},""):"matrix"===n&&u?s.reduce(function(e,t){var n=i(r[t]);return(e?e+";":";")+t+"="+n},""):"matrix"===n?s.reduce(function(e,n){var a=i(r[n]);return(e?e+",":";"+t+"=")+n+","+a},""):"form"===n?s.reduce(function(e,t){var n=i(r[t]);return(e?e+(u?"&":","):"")+t+(u?"=":",")+n},""):void 0}function i(e){var t=e.key,r=e.value,n=e.style,u=e.escape,o=function(e){return a(e,{escape:u})};return"simple"===n?o(r):"label"===n?"."+o(r):"matrix"===n?";"+t+"="+o(r):"form"===n?o(r):"deepObject"===n?o(r):void 0}Object.defineProperty(t,"__esModule",{value:!0});var s=r(0),l=n(s),c=r(1),f=n(c);t.encodeDisallowedCharacters=a,t.default=function(e){var t=e.value;return Array.isArray(t)?u(e):"object"===(void 0===t?"undefined":(0,f.default)(t))?o(e):i(e)};var p=r(59),d=(n(p),r(60)),h=n(d),v=r(61),y=function(e){return":/?#[]@!$&'()*+,;=".indexOf(e)>-1},m=function(e){return/^[a-z0-9\-._~]+$/i.test(e)}},function(e,t){e.exports=require("encode-3986")},function(e,t){e.exports=require("utf8-bytes")},function(e,t){e.exports=require("utfstring")},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}function a(e){var t=e.request,r=e.securities,n=void 0===r?{}:r,a=e.operation,u=void 0===a?{}:a,o=e.spec,i=(0,p.default)({},t),s=n.authorized,l=void 0===s?{}:s,f=u.security||o.security||[],d=l&&!!(0,c.default)(l).length,v=(0,h.default)(o,["components","securitySchemes"])||{};return i.headers=i.headers||{},i.query=i.query||{},(0,c.default)(n).length&&d&&f&&(!Array.isArray(u.security)||u.security.length)?(f.forEach(function(e,t){for(var r in e){var n=l[r],a=v[r];if(n){var u=n.value||n,o=a.type;if(n)if("apiKey"===o)"query"===a.in&&(i.query[a.name]=u),"header"===a.in&&(i.headers[a.name]=u),"cookie"===a.in&&(i.cookies[a.name]=u);else if("http"===o){if("basic"===a.scheme){var s=u.username,c=u.password,f=(0,y.default)(s+":"+c);i.headers.Authorization="Basic "+f}"bearer"===a.scheme&&(i.headers.Authorization="Bearer "+u)}else if("oauth2"===o){var p=n.token||{},d=p.access_token,h=p.token_type;h&&"bearer"!==h.toLowerCase()||(h="Bearer"),i.headers.Authorization=h+" "+d}}}}),i):t}Object.defineProperty(t,"__esModule",{value:!0});var u=r(8),o=n(u),i=r(1),s=n(i),l=r(0),c=n(l);t.default=function(e,t){var r=e.operation,n=e.requestBody,u=e.securities,i=e.spec,l=e.attachContentTypeForEmptyPayload,f=e.requestContentType;t=a({request:t,securities:u,operation:r,spec:i});var p=r.requestBody||{},d=(0,c.default)(p.content||{}),h=f&&d.indexOf(f)>-1;if(n||l){if(f&&h)t.headers["Content-Type"]=f;else if(!f){var v=d[0];v&&(t.headers["Content-Type"]=v,f=v)}}else f&&h&&(t.headers["Content-Type"]=f);return n&&(f?d.indexOf(f)>-1&&("application/x-www-form-urlencoded"===f||0===f.indexOf("multipart/")?"object"===(void 0===n?"undefined":(0,s.default)(n))?(t.form={},(0,c.default)(n).forEach(function(e){var r=n[e],a=void 0,u=void 0;"undefined"!=typeof File&&(u=r instanceof File),"undefined"!=typeof Blob&&(u=u||r instanceof Blob),void 0!==m.Buffer&&(u=u||m.Buffer.isBuffer(r)),a="object"!==(void 0===r?"undefined":(0,s.default)(r))||u?r:Array.isArray(r)?r.toString():(0,o.default)(r),t.form[e]={value:a}})):t.form=n:t.body=n):t.body=n),t},t.applySecurities=a;var f=r(6),p=n(f),d=r(12),h=n(d),v=r(13),y=n(v),m=r(63)},function(e,t){e.exports=require("buffer/")},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}function a(e){var t=e.request,r=e.securities,n=void 0===r?{}:r,a=e.operation,u=void 0===a?{}:a,i=e.spec,l=(0,c.default)({},t),f=n.authorized,p=void 0===f?{}:f,d=n.specSecurity,h=void 0===d?[]:d,v=u.security||h,y=p&&!!(0,o.default)(p).length,m=i.securityDefinitions;return l.headers=l.headers||{},l.query=l.query||{},(0,o.default)(n).length&&y&&v&&(!Array.isArray(u.security)||u.security.length)?(v.forEach(function(e,t){for(var r in e){var n=p[r];if(n){var a=n.token,u=n.value||n,o=m[r],i=o.type,c=o["x-tokenName"]||"access_token",f=a&&a[c],d=a&&a.token_type;if(n)if("apiKey"===i){var h="query"===o.in?"query":"headers";l[h]=l[h]||{},l[h][o.name]=u}else"basic"===i?u.header?l.headers.authorization=u.header:(u.base64=(0,s.default)(u.username+":"+u.password),l.headers.authorization="Basic "+u.base64):"oauth2"===i&&f&&(d=d&&"bearer"!==d.toLowerCase()?d:"Bearer",l.headers.authorization=d+" "+f)}}}),l):t}Object.defineProperty(t,"__esModule",{value:!0});var u=r(0),o=n(u);t.default=function(e,t){var r=e.spec,n=e.operation,u=e.securities,o=e.requestContentType,i=e.attachContentTypeForEmptyPayload;if(t=a({request:t,securities:u,operation:n,spec:r}),t.body||t.form||i)o?t.headers["Content-Type"]=o:Array.isArray(n.consumes)?t.headers["Content-Type"]=n.consumes[0]:Array.isArray(r.consumes)?t.headers["Content-Type"]=r.consumes[0]:n.parameters&&n.parameters.filter(function(e){return"file"===e.type}).length?t.headers["Content-Type"]="multipart/form-data":n.parameters&&n.parameters.filter(function(e){return"formData"===e.in}).length&&(t.headers["Content-Type"]="application/x-www-form-urlencoded");else if(o){var s=n.parameters&&n.parameters.filter(function(e){return"body"===e.in}).length>0,l=n.parameters&&n.parameters.filter(function(e){return"formData"===e.in}).length>0;(s||l)&&(t.headers["Content-Type"]=o)}return t},t.applySecurities=a;var i=r(13),s=n(i),l=r(6),c=n(l),f=r(7);n(f)}]);
2
2
  //# sourceMappingURL=index.js.map
package/package.json CHANGED
@@ -1,8 +1,9 @@
1
1
  {
2
2
  "name": "swagger-client",
3
- "version": "3.8.18",
3
+ "version": "3.8.22",
4
4
  "description": "SwaggerJS - a collection of interfaces for OAI specs",
5
5
  "main": "dist/index.js",
6
+ "unpkg": "browser/index.js",
6
7
  "repository": "git@github.com:swagger-api/swagger-js.git",
7
8
  "contributors": [
8
9
  "(in alphabetical order)",
@@ -12,25 +13,33 @@
12
13
  "Kyle Shockey <kyleshockey1@gmail.com>",
13
14
  "Sahar Jafari <shr.jafari@gmail.com>"
14
15
  ],
16
+ "files": [
17
+ "LICENSE",
18
+ "README.md",
19
+ "package.json",
20
+ "dist/index.js",
21
+ "browser/index.js"
22
+ ],
15
23
  "config": {
16
24
  "deps_check_dir": ".deps_check"
17
25
  },
18
26
  "scripts": {
19
- "build": "cross-env NODE_ENV=production webpack -p --config ./webpack.config.js",
20
- "build-dev": "cross-env NODE_ENV=development webpack --config ./webpack.config.js",
21
- "build-bundle": "cross-env NODE_ENV=production webpack -p --config ./webpack.bundle.config.js",
22
- "build-dev-bundle": "cross-env NODE_ENV=development webpack --config ./webpack.bundle.config.js",
23
- "watch": "webpack --config webpack.config.js --watch --progress",
24
- "test": "run-s test:unit test:webpack lint size-check",
27
+ "automated-release": "release-it --config ./release/.release-it.json",
28
+ "build": "run-s build:umd build:bundle",
29
+ "build:umd": "cross-env NODE_ENV=production webpack -p --config ./webpack.config.js",
30
+ "build:umd:dev": "cross-env NODE_ENV=development webpack --config ./webpack.config.js",
31
+ "build:umd:dev:watch": "npm run build:dev -- --watch --progress",
32
+ "build:bundle": "cross-env NODE_ENV=production webpack -p --config ./webpack.bundle.config.js",
33
+ "build:bundle:dev": "cross-env NODE_ENV=development webpack --config ./webpack.bundle.config.js",
34
+ "deps": "run-s deps:license deps:size",
35
+ "deps:license": "license-checker --production --csv --out $npm_package_config_deps_check_dir/licenses.csv && license-checker --development --csv --out $npm_package_config_deps_check_dir/licenses-dev.csv",
36
+ "deps:size": "webpack -p --config webpack.check.js --json | webpack-bundle-size-analyzer >| $npm_package_config_deps_check_dir/sizes.txt",
37
+ "test": "run-s test:unit test:webpack test:lint test:size",
38
+ "test:lint": "eslint src/ test/",
39
+ "test:size": "npm run build:bundle && bundlesize",
25
40
  "test:unit": "jest --runInBand",
26
41
  "test:unit:watch": "jest --watch",
27
- "test:webpack": "mocha-webpack --interactive false --webpack-config ./webpack.test.config.js --recursive \"./test-webpack\"",
28
- "size-check": "npm run build-bundle && bundlesize",
29
- "lint": "eslint src/ test/",
30
- "deps-license": "license-checker --production --csv --out $npm_package_config_deps_check_dir/licenses.csv && license-checker --development --csv --out $npm_package_config_deps_check_dir/licenses-dev.csv",
31
- "deps-size": "webpack -p --config webpack.check.js --json | webpack-bundle-size-analyzer >| $npm_package_config_deps_check_dir/sizes.txt",
32
- "deps-check": "npm run deps-license && npm run deps-size",
33
- "automated-release": "release-it --config ./release/.release-it.json"
42
+ "test:webpack": "mocha-webpack --interactive false --webpack-config ./webpack.test.config.js --recursive \"./test-webpack\""
34
43
  },
35
44
  "keywords": [
36
45
  "oai",
@@ -97,9 +106,6 @@
97
106
  "utfstring": "^2.0.0"
98
107
  },
99
108
  "jest": {
100
- "globals": {
101
- "navigator": true
102
- },
103
109
  "testEnvironment": "node",
104
110
  "testMatch": [
105
111
  "**/test/*.js?(x)",
@@ -114,7 +120,7 @@
114
120
  },
115
121
  "bundlesize": [
116
122
  {
117
- "path": "./browser/swagger-client.js",
123
+ "path": "./browser/index.js",
118
124
  "maxSize": "400 KB",
119
125
  "compression": "none"
120
126
  }