0&&i(l)?n>1?e(l,n-1,i,a,s):r(s,l):a||(s[s.length]=l)}return s}},function(e,t,n){var r=n(30),o=n(48),i=n(7),a=r?r.isConcatSpreadable:void 0;e.exports=function(e){return i(e)||o(e)||!!(a&&e&&e[a])}},function(e,t,n){var r=n(52),o=n(282),i=n(284);e.exports=function(e,t){return i(o(e,t,r),e+"")}},function(e,t,n){var r=n(283),o=Math.max;e.exports=function(e,t,n){return t=o(void 0===t?e.length-1:t,0),function(){for(var i=arguments,a=-1,s=o(i.length-t,0),u=Array(s);++a0){if(++t>=n)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}},function(e,t,n){var r=n(117),o=n(288),i=n(293),a=n(118),s=n(294),u=n(80),c=200;e.exports=function(e,t,n){var l=-1,f=o,p=e.length,h=!0,d=[],v=d;if(n)h=!1,f=i;else if(p>=c){var m=t?null:s(e);if(m)return u(m);h=!1,f=a,v=new r}else v=t?[]:d;e:for(;++l-1}},function(e,t,n){var r=n(290),o=n(291),i=n(292);e.exports=function(e,t,n){return t==t?i(e,t,n):r(e,o,n)}},function(e,t){e.exports=function(e,t,n,r){for(var o=e.length,i=n+(r?1:-1);r?i--:++i1||1===t.length&&e.hasEdge(t[0],t[0])})}},function(e,t,n){var r=n(14);e.exports=function(e,t,n){return function(e,t,n){var r={},o=e.nodes();return o.forEach(function(e){r[e]={},r[e][e]={distance:0},o.forEach(function(t){e!==t&&(r[e][t]={distance:Number.POSITIVE_INFINITY})}),n(e).forEach(function(n){var o=n.v===e?n.w:n.v,i=t(n);r[e][o]={distance:i,predecessor:e}})}),o.forEach(function(e){var t=r[e];o.forEach(function(n){var i=r[n];o.forEach(function(n){var r=i[e],o=t[n],a=i[n],s=r.distance+o.distance;s0;){if(n=u.removeMin(),r.has(s,n))a.setEdge(n,s[n]);else{if(l)throw new Error("Input graph is not connected: "+e);l=!0}e.nodeEdges(n).forEach(c)}return a}},function(e,t,n){"use strict";var r={file:n(311),http:n(130),https:n(130)},o="object"==typeof window||"function"==typeof importScripts?r.http:r.file;"undefined"==typeof Promise&&n(132),e.exports.load=function(e,t){var n=Promise.resolve();return void 0===t&&(t={}),n=(n=n.then(function(){if(void 0===e)throw new TypeError("location is required");if("string"!=typeof e)throw new TypeError("location must be a string");if(void 0!==t){if("object"!=typeof t)throw new TypeError("options must be an object");if(void 0!==t.processContent&&"function"!=typeof t.processContent)throw new TypeError("options.processContent must be a function")}})).then(function(){return new Promise(function(n,i){(function(e){var t=function(e){return void 0!==e&&(e=-1===e.indexOf("://")?"":e.split("://")[0]),e}(e),n=r[t];if(void 0===n){if(""!==t)throw new Error("Unsupported scheme: "+t);n=o}return n})(e).load(e,t||{},function(e,t){e?i(e):n(t)})})}).then(function(n){return t.processContent?new Promise(function(r,o){"object"!=typeof n&&(n={text:n}),n.location=e,t.processContent(n,function(e,t){e?o(e):r(t)})}):"object"==typeof n?n.text:n})}},function(e,t,n){"use strict";var r=new TypeError("The 'file' scheme is not supported in the browser");e.exports.getBase=function(){throw r},e.exports.load=function(){var e=arguments[arguments.length-1];if("function"!=typeof e)throw r;e(r)}},function(e,t,n){var r;"undefined"!=typeof window?r=window:"undefined"!=typeof self?r=self:(console.warn("Using browser-only version of superagent in non-browser environment"),r=this);var o=n(313),i=n(314),a=n(131),s=n(315),u=n(317);function c(){}var l=t=e.exports=function(e,n){return"function"==typeof n?new t.Request("GET",e).end(n):1==arguments.length?new t.Request("GET",e):new t.Request(e,n)};t.Request=y,l.getXHR=function(){if(!(!r.XMLHttpRequest||r.location&&"file:"==r.location.protocol&&r.ActiveXObject))return new XMLHttpRequest;try{return new ActiveXObject("Microsoft.XMLHTTP")}catch(e){}try{return new ActiveXObject("Msxml2.XMLHTTP.6.0")}catch(e){}try{return new ActiveXObject("Msxml2.XMLHTTP.3.0")}catch(e){}try{return new ActiveXObject("Msxml2.XMLHTTP")}catch(e){}throw Error("Browser-only version of superagent could not find XHR")};var f="".trim?function(e){return e.trim()}:function(e){return e.replace(/(^\s*|\s*$)/g,"")};function p(e){if(!a(e))return e;var t=[];for(var n in e)h(t,n,e[n]);return t.join("&")}function h(e,t,n){if(null!=n)if(Array.isArray(n))n.forEach(function(n){h(e,t,n)});else if(a(n))for(var r in n)h(e,t+"["+r+"]",n[r]);else e.push(encodeURIComponent(t)+"="+encodeURIComponent(n));else null===n&&e.push(encodeURIComponent(t))}function d(e){for(var t,n,r={},o=e.split("&"),i=0,a=o.length;i=2&&e._responseTimeoutTimer&&clearTimeout(e._responseTimeoutTimer),4==n){var r;try{r=t.status}catch(e){r=0}if(!r){if(e.timedout||e._aborted)return;return e.crossDomainError()}e.emit("end")}};var r=function(t,n){n.total>0&&(n.percent=n.loaded/n.total*100),n.direction=t,e.emit("progress",n)};if(this.hasListeners("progress"))try{t.onprogress=r.bind(null,"download"),t.upload&&(t.upload.onprogress=r.bind(null,"upload"))}catch(e){}try{this.username&&this.password?t.open(this.method,this.url,!0,this.username,this.password):t.open(this.method,this.url,!0)}catch(e){return this.callback(e)}if(this._withCredentials&&(t.withCredentials=!0),!this._formData&&"GET"!=this.method&&"HEAD"!=this.method&&"string"!=typeof n&&!this._isHost(n)){var o=this._header["content-type"],i=this._serializer||l.serialize[o?o.split(";")[0]:""];!i&&v(o)&&(i=l.serialize["application/json"]),i&&(n=i(n))}for(var a in this.header)null!=this.header[a]&&this.header.hasOwnProperty(a)&&t.setRequestHeader(a,this.header[a]);return this._responseType&&(t.responseType=this._responseType),this.emit("request",this),t.send(void 0!==n?n:null),this},l.agent=function(){return new u},["GET","POST","OPTIONS","PATCH","PUT","DELETE"].forEach(function(e){u.prototype[e.toLowerCase()]=function(t,n){var r=new l.Request(e,t);return this._setDefaults(r),n&&r.end(n),r}}),u.prototype.del=u.prototype.delete,l.get=function(e,t,n){var r=l("GET",e);return"function"==typeof t&&(n=t,t=null),t&&r.query(t),n&&r.end(n),r},l.head=function(e,t,n){var r=l("HEAD",e);return"function"==typeof t&&(n=t,t=null),t&&r.query(t),n&&r.end(n),r},l.options=function(e,t,n){var r=l("OPTIONS",e);return"function"==typeof t&&(n=t,t=null),t&&r.send(t),n&&r.end(n),r},l.del=g,l.delete=g,l.patch=function(e,t,n){var r=l("PATCH",e);return"function"==typeof t&&(n=t,t=null),t&&r.send(t),n&&r.end(n),r},l.post=function(e,t,n){var r=l("POST",e);return"function"==typeof t&&(n=t,t=null),t&&r.send(t),n&&r.end(n),r},l.put=function(e,t,n){var r=l("PUT",e);return"function"==typeof t&&(n=t,t=null),t&&r.send(t),n&&r.end(n),r}},function(e,t,n){function r(e){if(e)return function(e){for(var t in r.prototype)e[t]=r.prototype[t];return e}(e)}e.exports=r,r.prototype.on=r.prototype.addEventListener=function(e,t){return this._callbacks=this._callbacks||{},(this._callbacks["$"+e]=this._callbacks["$"+e]||[]).push(t),this},r.prototype.once=function(e,t){function n(){this.off(e,n),t.apply(this,arguments)}return n.fn=t,this.on(e,n),this},r.prototype.off=r.prototype.removeListener=r.prototype.removeAllListeners=r.prototype.removeEventListener=function(e,t){if(this._callbacks=this._callbacks||{},0==arguments.length)return this._callbacks={},this;var n,r=this._callbacks["$"+e];if(!r)return this;if(1==arguments.length)return delete this._callbacks["$"+e],this;for(var o=0;o=this._maxRetries)return!1;if(this._retryCallback)try{var n=this._retryCallback(e,t);if(!0===n)return!0;if(!1===n)return!1}catch(e){console.error(e)}if(t&&t.status&&t.status>=500&&501!=t.status)return!0;if(e){if(e.code&&~i.indexOf(e.code))return!0;if(e.timeout&&"ECONNABORTED"==e.code)return!0;if(e.crossDomain)return!0}return!1},o.prototype._retry=function(){return this.clearTimeout(),this.req&&(this.req=null,this.req=this.request()),this._aborted=!1,this.timedout=!1,this._end()},o.prototype.then=function(e,t){if(!this._fullfilledPromise){var n=this;this._endCalled&&console.warn("Warning: superagent request was sent twice, because both .end() and .then() were called. Never call .end() if you use promises"),this._fullfilledPromise=new Promise(function(e,t){n.end(function(n,r){n?t(n):e(r)})})}return this._fullfilledPromise.then(e,t)},o.prototype.catch=function(e){return this.then(void 0,e)},o.prototype.use=function(e){return e(this),this},o.prototype.ok=function(e){if("function"!=typeof e)throw Error("Callback required");return this._okCallback=e,this},o.prototype._isResponseOK=function(e){return!!e&&(this._okCallback?this._okCallback(e):e.status>=200&&e.status<300)},o.prototype.get=function(e){return this._header[e.toLowerCase()]},o.prototype.getHeader=o.prototype.get,o.prototype.set=function(e,t){if(r(e)){for(var n in e)this.set(n,e[n]);return this}return this._header[e.toLowerCase()]=t,this.header[e]=t,this},o.prototype.unset=function(e){return delete this._header[e.toLowerCase()],delete this.header[e],this},o.prototype.field=function(e,t){if(null==e)throw new Error(".field(name, val) name can not be empty");if(this._data&&console.error(".field() can't be used if .send() is used. Please use only .send() or only .field() & .attach()"),r(e)){for(var n in e)this.field(n,e[n]);return this}if(Array.isArray(t)){for(var o in t)this.field(e,t[o]);return this}if(null==t)throw new Error(".field(name, val) val can not be empty");return"boolean"==typeof t&&(t=""+t),this._getFormData().append(e,t),this},o.prototype.abort=function(){return this._aborted?this:(this._aborted=!0,this.xhr&&this.xhr.abort(),this.req&&this.req.abort(),this.clearTimeout(),this.emit("abort"),this)},o.prototype._auth=function(e,t,n,r){switch(n.type){case"basic":this.set("Authorization","Basic "+r(e+":"+t));break;case"auto":this.username=e,this.password=t;break;case"bearer":this.set("Authorization","Bearer "+e)}return this},o.prototype.withCredentials=function(e){return null==e&&(e=!0),this._withCredentials=e,this},o.prototype.redirects=function(e){return this._maxRedirects=e,this},o.prototype.maxResponseSize=function(e){if("number"!=typeof e)throw TypeError("Invalid argument");return this._maxResponseSize=e,this},o.prototype.toJSON=function(){return{method:this.method,url:this.url,data:this._data,headers:this._header}},o.prototype.send=function(e){var t=r(e),n=this._header["content-type"];if(this._formData&&console.error(".send() can't be used if .attach() or .field() is used. Please use only .send() or only .field() & .attach()"),t&&!this._data)Array.isArray(e)?this._data=[]:this._isHost(e)||(this._data={});else if(e&&this._data&&this._isHost(this._data))throw Error("Can't merge these send calls");if(t&&r(this._data))for(var o in e)this._data[o]=e[o];else"string"==typeof e?(n||this.type("form"),n=this._header["content-type"],this._data="application/x-www-form-urlencoded"==n?this._data?this._data+"&"+e:e:(this._data||"")+e):this._data=e;return!t||this._isHost(e)?this:(n||this.type("json"),this)},o.prototype.sortQuery=function(e){return this._sort=void 0===e||e,this},o.prototype._finalizeQueryString=function(){var e=this._query.join("&");if(e&&(this.url+=(this.url.indexOf("?")>=0?"&":"?")+e),this._query.length=0,this._sort){var t=this.url.indexOf("?");if(t>=0){var n=this.url.substring(t+1).split("&");"function"==typeof this._sort?n.sort(this._sort):n.sort(),this.url=this.url.substring(0,t)+"?"+n.join("&")}}},o.prototype._appendQueryString=function(){console.trace("Unsupported")},o.prototype._timeoutError=function(e,t,n){if(!this._aborted){var r=new Error(e+t+"ms exceeded");r.timeout=t,r.code="ECONNABORTED",r.errno=n,this.timedout=!0,this.abort(),this.callback(r)}},o.prototype._setTimeouts=function(){var e=this;this._timeout&&!this._timer&&(this._timer=setTimeout(function(){e._timeoutError("Timeout of ",e._timeout,"ETIME")},this._timeout)),this._responseTimeout&&!this._responseTimeoutTimer&&(this._responseTimeoutTimer=setTimeout(function(){e._timeoutError("Response timeout of ",e._responseTimeout,"ETIMEDOUT")},this._responseTimeout))}},function(e,t,n){"use strict";var r=n(316);function o(e){if(e)return function(e){for(var t in o.prototype)e[t]=o.prototype[t];return e}(e)}e.exports=o,o.prototype.get=function(e){return this.header[e.toLowerCase()]},o.prototype._setHeaderProperties=function(e){var t=e["content-type"]||"";this.type=r.type(t);var n=r.params(t);for(var o in n)this[o]=n[o];this.links={};try{e.link&&(this.links=r.parseLinks(e.link))}catch(e){}},o.prototype._setStatusProperties=function(e){var t=e/100|0;this.status=this.statusCode=e,this.statusType=t,this.info=1==t,this.ok=2==t,this.redirect=3==t,this.clientError=4==t,this.serverError=5==t,this.error=(4==t||5==t)&&this.toError(),this.created=201==e,this.accepted=202==e,this.noContent=204==e,this.badRequest=400==e,this.unauthorized=401==e,this.notAcceptable=406==e,this.forbidden=403==e,this.notFound=404==e,this.unprocessableEntity=422==e}},function(e,t,n){"use strict";t.type=function(e){return e.split(/ *; */).shift()},t.params=function(e){return e.split(/ *; */).reduce(function(e,t){var n=t.split(/ *= */),r=n.shift(),o=n.shift();return r&&o&&(e[r]=o),e},{})},t.parseLinks=function(e){return e.split(/ *, */).reduce(function(e,t){var n=t.split(/ *; */),r=n[0].slice(1,-1);return e[n[1].split(/ *= */)[1].slice(1,-1)]=r,e},{})},t.cleanHeader=function(e,t){return delete e["content-type"],delete e["content-length"],delete e["transfer-encoding"],delete e.host,t&&(delete e.authorization,delete e.cookie),e}},function(e,t){function n(){this._defaults=[]}["use","on","once","set","query","type","accept","auth","withCredentials","sortQuery","retry","ok","redirects","timeout","buffer","serialize","parse","ca","key","pfx","cert"].forEach(function(e){n.prototype[e]=function(){return this._defaults.push({fn:e,arguments:arguments}),this}}),n.prototype._setDefaults=function(e){this._defaults.forEach(function(t){e[t.fn].apply(e,t.arguments)})},e.exports=n},function(e,t,n){"use strict";function r(e,t){return Object.prototype.hasOwnProperty.call(e,t)}e.exports=function(e,t,n,i){t=t||"&",n=n||"=";var a={};if("string"!=typeof e||0===e.length)return a;var s=/\+/g;e=e.split(t);var u=1e3;i&&"number"==typeof i.maxKeys&&(u=i.maxKeys);var c=e.length;u>0&&c>u&&(c=u);for(var l=0;l=0?(f=v.substr(0,m),p=v.substr(m+1)):(f=v,p=""),h=decodeURIComponent(f),d=decodeURIComponent(p),r(a,h)?o(a[h])?a[h].push(d):a[h]=[a[h],d]:a[h]=d}return a};var o=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)}},function(e,t,n){"use strict";var r=function(e){switch(typeof e){case"string":return e;case"boolean":return e?"true":"false";case"number":return isFinite(e)?e:"";default:return""}};e.exports=function(e,t,n,s){return t=t||"&",n=n||"=",null===e&&(e=void 0),"object"==typeof e?i(a(e),function(a){var s=encodeURIComponent(r(a))+n;return o(e[a])?i(e[a],function(e){return s+encodeURIComponent(r(e))}).join(t):s+encodeURIComponent(r(e[a]))}).join(t):s?encodeURIComponent(r(s))+n+encodeURIComponent(r(e)):""};var o=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)};function i(e,t){if(e.map)return e.map(t);for(var n=[],r=0;r{const t=/^\\\\\?\\/.test(e),n=/[^\u0000-\u0080]+/.test(e);return t||n?e:e.replace(/\\/g,"/")}},function(e,t,n){
+/** @license URI.js v4.2.1 (c) 2011 Gary Court. License: http://github.com/garycourt/uri-js */
+!function(e){"use strict";function t(){for(var e=arguments.length,t=Array(e),n=0;n1){t[0]=t[0].slice(0,-1);for(var r=t.length-1,o=1;o= 0x80 (not a basic code point)","invalid-input":"Invalid input"},d=Math.floor,v=String.fromCharCode;function m(e){throw new RangeError(h[e])}function y(e,t){var n=e.split("@"),r="";n.length>1&&(r=n[0]+"@",e=n[1]);var o=function(e,t){for(var n=[],r=e.length;r--;)n[r]=t(e[r]);return n}((e=e.replace(p,".")).split("."),t).join(".");return r+o}function g(e){for(var t=[],n=0,r=e.length;n=55296&&o<=56319&&n>1,e+=d(e/t);e>455;r+=36)e=d(e/35);return d(r+36*e/(e+38))},x=function(e){var t,n=[],r=e.length,o=0,i=128,a=72,s=e.lastIndexOf("-");s<0&&(s=0);for(var u=0;u=128&&m("not-basic"),n.push(e.charCodeAt(u));for(var l=s>0?s+1:0;l=r&&m("invalid-input");var v=(t=e.charCodeAt(l++))-48<10?t-22:t-65<26?t-65:t-97<26?t-97:36;(v>=36||v>d((c-o)/p))&&m("overflow"),o+=v*p;var y=h<=a?1:h>=a+26?26:h-a;if(vd(c/g)&&m("overflow"),p*=g}var b=n.length+1;a=w(o-f,b,0==f),d(o/b)>c-i&&m("overflow"),i+=d(o/b),o%=b,n.splice(o++,0,i)}return String.fromCodePoint.apply(String,n)},_=function(e){var t=[],n=(e=g(e)).length,r=128,o=0,i=72,a=!0,s=!1,u=void 0;try{for(var l,f=e[Symbol.iterator]();!(a=(l=f.next()).done);a=!0){var p=l.value;p<128&&t.push(v(p))}}catch(e){s=!0,u=e}finally{try{!a&&f.return&&f.return()}finally{if(s)throw u}}var h=t.length,y=h;for(h&&t.push("-");y=r&&Ad((c-o)/T)&&m("overflow"),o+=(x-r)*T,r=x;var j=!0,C=!1,P=void 0;try{for(var R,L=e[Symbol.iterator]();!(j=(R=L.next()).done);j=!0){var N=R.value;if(Nc&&m("overflow"),N==r){for(var M=o,I=36;;I+=36){var U=I<=i?1:I>=i+26?26:I-i;if(M>6|192).toString(16).toUpperCase()+"%"+(63&t|128).toString(16).toUpperCase():"%"+(t>>12|224).toString(16).toUpperCase()+"%"+(t>>6&63|128).toString(16).toUpperCase()+"%"+(63&t|128).toString(16).toUpperCase()}function E(e){for(var t="",n=0,r=e.length;n=194&&o<224){if(r-n>=6){var i=parseInt(e.substr(n+4,2),16);t+=String.fromCharCode((31&o)<<6|63&i)}else t+=e.substr(n,6);n+=6}else if(o>=224){if(r-n>=9){var a=parseInt(e.substr(n+4,2),16),s=parseInt(e.substr(n+7,2),16);t+=String.fromCharCode((15&o)<<12|(63&a)<<6|63&s)}else t+=e.substr(n,9);n+=9}else t+=e.substr(n,3),n+=3}return t}function A(e,t){function n(e){var n=E(e);return n.match(t.UNRESERVED)?n:e}return e.scheme&&(e.scheme=String(e.scheme).replace(t.PCT_ENCODED,n).toLowerCase().replace(t.NOT_SCHEME,"")),void 0!==e.userinfo&&(e.userinfo=String(e.userinfo).replace(t.PCT_ENCODED,n).replace(t.NOT_USERINFO,k).replace(t.PCT_ENCODED,o)),void 0!==e.host&&(e.host=String(e.host).replace(t.PCT_ENCODED,n).toLowerCase().replace(t.NOT_HOST,k).replace(t.PCT_ENCODED,o)),void 0!==e.path&&(e.path=String(e.path).replace(t.PCT_ENCODED,n).replace(e.scheme?t.NOT_PATH:t.NOT_PATH_NOSCHEME,k).replace(t.PCT_ENCODED,o)),void 0!==e.query&&(e.query=String(e.query).replace(t.PCT_ENCODED,n).replace(t.NOT_QUERY,k).replace(t.PCT_ENCODED,o)),void 0!==e.fragment&&(e.fragment=String(e.fragment).replace(t.PCT_ENCODED,n).replace(t.NOT_FRAGMENT,k).replace(t.PCT_ENCODED,o)),e}function T(e){return e.replace(/^0*(.*)/,"$1")||"0"}function j(e,t){var n=e.match(t.IPV4ADDRESS)||[],r=u(n,2)[1];return r?r.split(".").map(T).join("."):e}function C(e,t){var n=e.match(t.IPV6ADDRESS)||[],r=u(n,3),o=r[1],i=r[2];if(o){for(var a=o.toLowerCase().split("::").reverse(),s=u(a,2),c=s[0],l=s[1],f=l?l.split(":").map(T):[],p=c.split(":").map(T),h=t.IPV4ADDRESS.test(p[p.length-1]),d=h?7:8,v=p.length-d,m=Array(d),y=0;y1){var w=m.slice(0,g.index),x=m.slice(g.index+g.length);b=w.join(":")+"::"+x.join(":")}else b=m.join(":");return i&&(b+="%"+i),b}return e}var P=/^(?:([^:\/?#]+):)?(?:\/\/((?:([^\/?#@]*)@)?(\[[^\/?#\]]+\]|[^\/?#:]*)(?:\:(\d*))?))?([^?#]*)(?:\?([^#]*))?(?:#((?:.|\n|\r)*))?/i,R=void 0==="".match(/(){0}/)[1];function L(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n={},r=!1!==t.iri?s:a;"suffix"===t.reference&&(e=(t.scheme?t.scheme+":":"")+"//"+e);var o=e.match(P);if(o){R?(n.scheme=o[1],n.userinfo=o[3],n.host=o[4],n.port=parseInt(o[5],10),n.path=o[6]||"",n.query=o[7],n.fragment=o[8],isNaN(n.port)&&(n.port=o[5])):(n.scheme=o[1]||void 0,n.userinfo=-1!==e.indexOf("@")?o[3]:void 0,n.host=-1!==e.indexOf("//")?o[4]:void 0,n.port=parseInt(o[5],10),n.path=o[6]||"",n.query=-1!==e.indexOf("?")?o[7]:void 0,n.fragment=-1!==e.indexOf("#")?o[8]:void 0,isNaN(n.port)&&(n.port=e.match(/\/\/(?:.|\n)*\:(?:\/|\?|\#|$)/)?o[4]:void 0)),n.host&&(n.host=C(j(n.host,r),r)),void 0!==n.scheme||void 0!==n.userinfo||void 0!==n.host||void 0!==n.port||n.path||void 0!==n.query?void 0===n.scheme?n.reference="relative":void 0===n.fragment?n.reference="absolute":n.reference="uri":n.reference="same-document",t.reference&&"suffix"!==t.reference&&t.reference!==n.reference&&(n.error=n.error||"URI is not a "+t.reference+" reference.");var i=O[(t.scheme||n.scheme||"").toLowerCase()];if(t.unicodeSupport||i&&i.unicodeSupport)A(n,r);else{if(n.host&&(t.domainHost||i&&i.domainHost))try{n.host=S.toASCII(n.host.replace(r.PCT_ENCODED,E).toLowerCase())}catch(e){n.error=n.error||"Host's domain name can not be converted to ASCII via punycode: "+e}A(n,a)}i&&i.parse&&i.parse(n,t)}else n.error=n.error||"URI can not be parsed.";return n}var N=/^\.\.?\//,M=/^\/\.(\/|$)/,I=/^\/\.\.(\/|$)/,U=/^\/?(?:.|\n)*?(?=\/|$)/;function D(e){for(var t=[];e.length;)if(e.match(N))e=e.replace(N,"");else if(e.match(M))e=e.replace(M,"/");else if(e.match(I))e=e.replace(I,"/"),t.pop();else if("."===e||".."===e)e="";else{var n=e.match(U);if(!n)throw new Error("Unexpected dot segment condition");var r=n[0];e=e.slice(r.length),t.push(r)}return t.join("")}function q(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.iri?s:a,r=[],o=O[(t.scheme||e.scheme||"").toLowerCase()];if(o&&o.serialize&&o.serialize(e,t),e.host)if(n.IPV6ADDRESS.test(e.host));else if(t.domainHost||o&&o.domainHost)try{e.host=t.iri?S.toUnicode(e.host):S.toASCII(e.host.replace(n.PCT_ENCODED,E).toLowerCase())}catch(n){e.error=e.error||"Host's domain name can not be converted to "+(t.iri?"Unicode":"ASCII")+" via punycode: "+n}A(e,n),"suffix"!==t.reference&&e.scheme&&(r.push(e.scheme),r.push(":"));var i=function(e,t){var n=!1!==t.iri?s:a,r=[];return void 0!==e.userinfo&&(r.push(e.userinfo),r.push("@")),void 0!==e.host&&r.push(C(j(String(e.host),n),n).replace(n.IPV6ADDRESS,function(e,t,n){return"["+t+(n?"%25"+n:"")+"]"})),"number"==typeof e.port&&(r.push(":"),r.push(e.port.toString(10))),r.length?r.join(""):void 0}(e,t);if(void 0!==i&&("suffix"!==t.reference&&r.push("//"),r.push(i),e.path&&"/"!==e.path.charAt(0)&&r.push("/")),void 0!==e.path){var u=e.path;t.absolutePath||o&&o.absolutePath||(u=D(u)),void 0===i&&(u=u.replace(/^\/\//,"/%2F")),r.push(u)}return void 0!==e.query&&(r.push("?"),r.push(e.query)),void 0!==e.fragment&&(r.push("#"),r.push(e.fragment)),r.join("")}function B(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r={};return arguments[3]||(e=L(q(e,n),n),t=L(q(t,n),n)),!(n=n||{}).tolerant&&t.scheme?(r.scheme=t.scheme,r.userinfo=t.userinfo,r.host=t.host,r.port=t.port,r.path=D(t.path||""),r.query=t.query):(void 0!==t.userinfo||void 0!==t.host||void 0!==t.port?(r.userinfo=t.userinfo,r.host=t.host,r.port=t.port,r.path=D(t.path||""),r.query=t.query):(t.path?("/"===t.path.charAt(0)?r.path=D(t.path):(void 0===e.userinfo&&void 0===e.host&&void 0===e.port||e.path?e.path?r.path=e.path.slice(0,e.path.lastIndexOf("/")+1)+t.path:r.path=t.path:r.path="/"+t.path,r.path=D(r.path)),r.query=t.query):(r.path=e.path,void 0!==t.query?r.query=t.query:r.query=e.query),r.userinfo=e.userinfo,r.host=e.host,r.port=e.port),r.scheme=e.scheme),r.fragment=t.fragment,r}function z(e,t){return e&&e.toString().replace(t&&t.iri?s.PCT_ENCODED:a.PCT_ENCODED,E)}var F={scheme:"http",domainHost:!0,parse:function(e,t){return e.host||(e.error=e.error||"HTTP URIs must have a host."),e},serialize:function(e,t){return e.port!==("https"!==String(e.scheme).toLowerCase()?80:443)&&""!==e.port||(e.port=void 0),e.path||(e.path="/"),e}},$={scheme:"https",domainHost:F.domainHost,parse:F.parse,serialize:F.serialize},W={},H="[A-Za-z0-9\\-\\.\\_\\~\\xA0-\\u200D\\u2010-\\u2029\\u202F-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF]",Y="[0-9A-Fa-f]",V=n(n("%[EFef][0-9A-Fa-f]%"+Y+Y+"%"+Y+Y)+"|"+n("%[89A-Fa-f][0-9A-Fa-f]%"+Y+Y)+"|"+n("%"+Y+Y)),K=t("[\\!\\$\\%\\'\\(\\)\\*\\+\\,\\-\\.0-9\\<\\>A-Z\\x5E-\\x7E]",'[\\"\\\\]'),J=new RegExp(H,"g"),G=new RegExp(V,"g"),Q=new RegExp(t("[^]","[A-Za-z0-9\\!\\$\\%\\'\\*\\+\\-\\^\\_\\`\\{\\|\\}\\~]","[\\.]",'[\\"]',K),"g"),Z=new RegExp(t("[^]",H,"[\\!\\$\\'\\(\\)\\*\\+\\,\\;\\:\\@]"),"g"),X=Z;function ee(e){var t=E(e);return t.match(J)?t:e}var te={scheme:"mailto",parse:function(e,t){var n=e,r=n.to=n.path?n.path.split(","):[];if(n.path=void 0,n.query){for(var o=!1,i={},a=n.query.split("&"),s=0,u=a.length;s= 0x80 (not a basic code point)","invalid-input":"Invalid input"},x=c-l,_=Math.floor,S=String.fromCharCode;function O(e){throw new RangeError(w[e])}function k(e,t){for(var n=e.length,r=[];n--;)r[n]=t(e[n]);return r}function E(e,t){var n=e.split("@"),r="";return n.length>1&&(r=n[0]+"@",e=n[1]),r+k((e=e.replace(b,".")).split("."),t).join(".")}function A(e){for(var t,n,r=[],o=0,i=e.length;o=55296&&t<=56319&&o65535&&(t+=S((e-=65536)>>>10&1023|55296),e=56320|1023&e),t+=S(e)}).join("")}function j(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function C(e,t,n){var r=0;for(e=n?_(e/h):e>>1,e+=_(e/t);e>x*f>>1;r+=c)e=_(e/x);return _(r+(x+1)*e/(e+p))}function P(e){var t,n,r,o,i,a,s,p,h,y,g,b=[],w=e.length,x=0,S=v,k=d;for((n=e.lastIndexOf(m))<0&&(n=0),r=0;r=128&&O("not-basic"),b.push(e.charCodeAt(r));for(o=n>0?n+1:0;o=w&&O("invalid-input"),((p=(g=e.charCodeAt(o++))-48<10?g-22:g-65<26?g-65:g-97<26?g-97:c)>=c||p>_((u-x)/a))&&O("overflow"),x+=p*a,!(p<(h=s<=k?l:s>=k+f?f:s-k));s+=c)a>_(u/(y=c-h))&&O("overflow"),a*=y;k=C(x-i,t=b.length+1,0==i),_(x/t)>u-S&&O("overflow"),S+=_(x/t),x%=t,b.splice(x++,0,S)}return T(b)}function R(e){var t,n,r,o,i,a,s,p,h,y,g,b,w,x,k,E=[];for(b=(e=A(e)).length,t=v,n=0,i=d,a=0;a=t&&g_((u-n)/(w=r+1))&&O("overflow"),n+=(s-t)*w,t=s,a=0;au&&O("overflow"),g==t){for(p=n,h=c;!(p<(y=h<=i?l:h>=i+f?f:h-i));h+=c)k=p-y,x=c-y,E.push(S(j(y+k%x,0))),p=_(k/x);E.push(S(j(p,0))),i=C(n,w,r==o),n=0,++r}++n,++t}return E.join("")}s={version:"1.4.1",ucs2:{decode:A,encode:T},decode:P,encode:R,toASCII:function(e){return E(e,function(e){return g.test(e)?"xn--"+R(e):e})},toUnicode:function(e){return E(e,function(e){return y.test(e)?P(e.slice(4).toLowerCase()):e})}},void 0===(o=function(){return s}.call(t,n,t,e))||(e.exports=o)}()}).call(this,n(38)(e),n(10))},function(e,t,n){"use strict";e.exports={isString:function(e){return"string"==typeof e},isObject:function(e){return"object"==typeof e&&null!==e},isNull:function(e){return null===e},isNullOrUndefined:function(e){return null==e}}},function(e,t,n){"use strict";(function(t,n){var r=t.process&&n.nextTick||t.setImmediate||function(e){setTimeout(e,0)};e.exports=function(e,t){return e?void t.then(function(t){r(function(){e(null,t)})},function(t){r(function(){e(t)})}):t}}).call(this,n(10),n(15))},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(1)),i=r(n(4)),a=r(n(3)),s=r(n(5)),u=r(n(326)),c=r(n(341)),l=n(9),f=r(n(143)),p={anchorPrefix:"a",customTags:null,keepCstNodes:!1,keepNodeTypes:!0,keepBlobsInJSON:!0,mapAsMap:!1,maxAliasCount:100,prettyErrors:!1,version:"1.2"};var h=function(e){function t(e){return(0,o.default)(this,t),(0,i.default)(this,(0,a.default)(t).call(this,Object.assign({},p,e)))}return(0,s.default)(t,e),t}(c.default);function d(e,t){var n=(0,u.default)(e),r=new h(t).parse(n[0]);if(n.length>1){r.errors.unshift(new l.YAMLSemanticError(n[1],"Source contains multiple documents; please use YAML.parseAllDocuments()"))}return r}var v={createNode:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=arguments.length>2?arguments[2]:void 0;void 0===n&&"string"==typeof t&&(n=t,t=!0);var r=Object.assign({},c.default.defaults[p.version],p);return new f.default(r).createNode(e,t,n)},defaultOptions:p,Document:h,parse:function(e,t){var n=d(e,t);if(n.warnings.forEach(function(e){return console.warn(e)}),n.errors.length>0)throw n.errors[0];return n.toJSON()},parseAllDocuments:function(e,t){var n,r=[],o=!0,i=!1,a=void 0;try{for(var s,c=(0,u.default)(e)[Symbol.iterator]();!(o=(s=c.next()).done);o=!0){var l=s.value,f=new h(t);f.parse(l,n),r.push(f),n=f}}catch(e){i=!0,a=e}finally{try{o||null==c.return||c.return()}finally{if(i)throw a}}return r},parseCST:u.default,parseDocument:d,stringify:function(e,t){var n=new h(t);return n.contents=e,String(n)}};t.default=v},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=[];-1!==e.indexOf("\r")&&(e=e.replace(/\r\n?/g,function(e,n){return e.length>1&&t.push(n),"\n"}));var n=[],r=0;do{var a=new o.default,s=new i.default({src:e});r=a.parse(s,r),n.push(a)}while(r0&&(this.contents=this.directives,this.directives=[]),i}return n[i]?(this.directivesEndMarker=new y.default(i,i+3),i+3):(o?this.error=new f.YAMLSemanticError(this,"Missing directives-end indicator line"):this.directives.length>0&&(this.contents=this.directives,this.directives=[]),i)}},{key:"parseContents",value:function(e){var n=this.context,r=n.parseNode,o=n.src;this.contents||(this.contents=[]);for(var i=e;"-"===o[i-1];)i-=1;var a=m.default.endOfWhiteSpace(o,e),s=i===e;for(this.valueRange=new y.default(a);!m.default.atDocumentBoundary(o,a,l.Char.DOCUMENT_END);){switch(o[a]){case"\n":if(s){var u=new p.default;(a=u.parse({src:o},a))0&&((t.length>0||e[0].type===l.Type.COMMENT)&&(r+="---\n"),r+=e.join("")),"\n"!==r[r.length-1]&&(r+="\n"),r}}]),t}(m.default);t.default=g},function(e,t,n){var r=n(3);e.exports=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=r(e)););return e}},function(e,t,n){var r=n(3),o=n(87),i=n(330),a=n(331);function s(t){var n="function"==typeof Map?new Map:void 0;return e.exports=s=function(e){if(null===e||!i(e))return e;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==n){if(n.has(e))return n.get(e);n.set(e,t)}function t(){return a(e,arguments,r(this).constructor)}return t.prototype=Object.create(e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),o(t,e)},s(t)}e.exports=s},function(e,t){e.exports=function(e){return-1!==Function.toString.call(e).indexOf("[native code]")}},function(e,t,n){var r=n(87);function o(t,n,i){return!function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}()?e.exports=o=function(e,t,n){var o=[null];o.push.apply(o,t);var i=new(Function.bind.apply(e,o));return n&&r(i,n.prototype),i}:e.exports=o=Reflect.construct,o.apply(null,arguments)}e.exports=o},function(e,t){e.exports=function(e,t){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e)){var n=[],r=!0,o=!1,i=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{r||null==s.return||s.return()}finally{if(o)throw i}}return n}}},function(e,t,n){"use strict";function r(e){for(var t=[0],n=e.indexOf("\n");-1!==n;)n+=1,t.push(n),n=e.indexOf("\n",n);return t}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if("number"==typeof e&&e>=0){var n,o;if("string"==typeof t?(n=r(t),o=t.length):(Array.isArray(t)&&(t=t[0]),t&&(t.lineStarts||(t.lineStarts=r(t.context.src)),n=t.lineStarts,o=t.context.src.length)),n&&e<=o){for(var i=0;i0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=r.atLineStart,b=r.inCollection,w=r.inFlow,x=r.indent,_=r.lineStart,S=r.parent;(0,o.default)(this,e),(0,a.default)(this,"parseNode",function(n,r){if(d.default.atDocumentBoundary(t.src,r))return null;var o,i=new e(t,n),a=i.parseProps(r),b=a.props,w=a.type,x=a.valueStart;switch(w){case s.Type.ALIAS:o=new c.default(w,b);break;case s.Type.BLOCK_FOLDED:case s.Type.BLOCK_LITERAL:o=new l.default(w,b);break;case s.Type.FLOW_MAP:case s.Type.FLOW_SEQ:o=new h.default(w,b);break;case s.Type.MAP_KEY:case s.Type.MAP_VALUE:case s.Type.SEQ_ITEM:o=new p.default(w,b);break;case s.Type.COMMENT:case s.Type.PLAIN:o=new v.default(w,b);break;case s.Type.QUOTE_DOUBLE:o=new m.default(w,b);break;case s.Type.QUOTE_SINGLE:o=new y.default(w,b);break;default:return o.error=new u.YAMLSyntaxError(o,"Unknown node type: ".concat(JSON.stringify(w))),o.range=new g.default(r,r+1),o}var _=o.parse(i,x);if(o.range=new g.default(r,_),_<=r&&(o.error=new Error("Node#parse consumed no characters"),o.error.parseEnd=_,o.error.source=o,o.range.end=r+1),i.nodeStartsCollection(o)){o.error||i.atLineStart||i.parent.type!==s.Type.DOCUMENT||(o.error=new u.YAMLSyntaxError(o,"Block collection must not have preceding content here (e.g. directives-end indicator)"));var S=new f.default(o);return _=S.parse(new e(i),_),S.range=new g.default(r,_),S}return o}),this.atLineStart=null!=i?i:n.atLineStart||!1,this.inCollection=null!=b?b:n.inCollection||!1,this.inFlow=null!=w?w:n.inFlow||!1,this.indent=null!=x?x:n.indent,this.lineStart=null!=_?_:n.lineStart,this.parent=null!=S?S:n.parent||{},this.root=n.root,this.src=n.src}return(0,i.default)(e,null,[{key:"parseType",value:function(e,t,n){switch(e[t]){case"*":return s.Type.ALIAS;case">":return s.Type.BLOCK_FOLDED;case"|":return s.Type.BLOCK_LITERAL;case"{":return s.Type.FLOW_MAP;case"[":return s.Type.FLOW_SEQ;case"?":return!n&&d.default.atBlank(e,t+1,!0)?s.Type.MAP_KEY:s.Type.PLAIN;case":":return!n&&d.default.atBlank(e,t+1,!0)?s.Type.MAP_VALUE:s.Type.PLAIN;case"-":return!n&&d.default.atBlank(e,t+1,!0)?s.Type.SEQ_ITEM:s.Type.PLAIN;case'"':return s.Type.QUOTE_DOUBLE;case"'":return s.Type.QUOTE_SINGLE;default:return s.Type.PLAIN}}}]),(0,i.default)(e,[{key:"nodeStartsCollection",value:function(e){var t=this.inCollection,n=this.inFlow,r=this.src;if(t||n)return!1;if(e instanceof p.default)return!0;var o=e.range.end;return"\n"!==r[o]&&"\n"!==r[o-1]&&":"===r[o=d.default.endOfWhiteSpace(r,o)]}},{key:"parseProps",value:function(t){for(var n=this.inFlow,r=this.parent,o=this.src,i=[],a=!1,u=o[t=d.default.endOfWhiteSpace(o,t)];u===s.Char.ANCHOR||u===s.Char.COMMENT||u===s.Char.TAG||"\n"===u;){if("\n"===u){var c=t+1,l=d.default.endOfIndent(o,c),f=l-(c+this.indent),p=r.type===s.Type.SEQ_ITEM&&r.context.atLineStart;if(!d.default.nextNodeIsIndented(o[l],f,!p))break;this.atLineStart=!0,this.lineStart=c,a=!1,t=l}else if(u===s.Char.COMMENT){var h=d.default.endOfLine(o,t+1);i.push(new g.default(t,h)),t=h}else{var v=d.default.endOfIdentifier(o,t+1);u===s.Char.TAG&&","===o[v]&&/^[a-zA-Z0-9-]+\.[a-zA-Z0-9-]+,\d\d\d\d(-\d\d){0,2}\/\S/.test(o.slice(t+1,v+13))&&(v=d.default.endOfIdentifier(o,v+5)),i.push(new g.default(t,v)),a=!0,t=d.default.endOfWhiteSpace(o,v)}u=o[t]}return a&&":"===u&&d.default.atBlank(o,t+1,!0)&&(t-=1),{props:i,type:e.parseType(o,t,n),valueStart:t}}},{key:"pretty",get:function(){var e={start:"".concat(this.lineStart," + ").concat(this.indent),in:[],parent:this.parent.type};return this.atLineStart||(e.start+=" + N"),this.inCollection&&e.in.push("collection"),this.inFlow&&e.in.push("flow"),e}}]),e}();t.default=b},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(1)),i=r(n(2)),a=r(n(4)),s=r(n(3)),u=r(n(5)),c=r(n(11)),l=r(n(12)),f=function(e){function t(){return(0,o.default)(this,t),(0,a.default)(this,(0,s.default)(t).apply(this,arguments))}return(0,u.default)(t,e),(0,i.default)(t,[{key:"parse",value:function(e,t){this.context=e;var n=e.src,r=c.default.endOfIdentifier(n,t+1);return this.valueRange=new l.default(t+1,r),r=c.default.endOfWhiteSpace(n,r),r=this.parseComment(r)}}]),t}(c.default);t.default=f},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.Chomp=void 0;var o=r(n(1)),i=r(n(2)),a=r(n(4)),s=r(n(3)),u=r(n(19)),c=r(n(5)),l=n(8),f=r(n(11)),p=r(n(12)),h={CLIP:"CLIP",KEEP:"KEEP",STRIP:"STRIP"};t.Chomp=h;var d=function(e){function t(e,n){var r;return(0,o.default)(this,t),(r=(0,a.default)(this,(0,s.default)(t).call(this,e,n))).blockIndent=null,r.chomping=h.CLIP,r.header=null,r}return(0,c.default)(t,e),(0,i.default)(t,[{key:"parseBlockHeader",value:function(e){for(var t=this.context.src,n=e+1,r="";;){var o=t[n];switch(o){case"-":this.chomping=h.STRIP;break;case"+":this.chomping=h.KEEP;break;case"0":case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":r+=o;break;default:return this.blockIndent=Number(r)||null,this.header=new p.default(e,n),n}n+=1}}},{key:"parseBlockValue",value:function(e){for(var t=this.context,n=t.indent,r=t.src,o=e,i=e,a=this.blockIndent?n+this.blockIndent-1:n,s=1,u=r[o];"\n"===u&&(o+=1,!f.default.atDocumentBoundary(r,o));u=r[o]){var c=f.default.endOfBlockIndent(r,a,o);if(null===c)break;if(!this.blockIndent){var l=c-(o+n);if("\n"!==r[c]){if(ls&&(s=l)}o="\n"===r[c]?c:i=f.default.endOfLine(r,c)}return this.chomping!==h.KEEP&&(o=r[i]?i+1:i),this.valueRange=new p.default(e+1,o),o}},{key:"parse",value:function(e,t){this.context=e;var n=e.src,r=this.parseBlockHeader(t);return r=f.default.endOfWhiteSpace(n,r),r=this.parseComment(r),r=this.parseBlockValue(r)}},{key:"setOrigRanges",value:function(e,n){return n=(0,u.default)((0,s.default)(t.prototype),"setOrigRanges",this).call(this,e,n),this.header?this.header.setOrigRange(e,n):n}},{key:"includesTrailingLines",get:function(){return this.chomping===h.KEEP}},{key:"strValue",get:function(){if(!this.valueRange||!this.context)return null;var e=this.valueRange,t=e.start,n=e.end,r=this.context,o=r.indent,i=r.src;if(this.valueRange.isEmpty())return"";for(var a=null,s=i[n-1];"\n"===s||"\t"===s||" "===s;){if((n-=1)<=t){if(this.chomping===h.KEEP)break;return""}"\n"===s&&(a=n),s=i[n-1]}var u=n+1;a&&(this.chomping===h.KEEP?(u=a,n=this.valueRange.end):n=a);for(var c=o+this.blockIndent,p=this.type===l.Type.BLOCK_FOLDED,d=!0,v="",m="",y=!1,g=t;g0&&void 0!==arguments[0]?arguments[0]:this.items.length,t=this.items[e-1];return!!t&&(t.jsonLike||t.type===l.Type.COMMENT&&this.nodeIsJsonLike(e-1))}},{key:"parse",value:function(e,t){this.context=e;var n=e.parseNode,r=e.src,o=e.indent,i=e.lineStart,a=r[t];this.items=[{char:a,offset:t}];var s=d.default.endOfWhiteSpace(r,t+1);for(a=r[s];a&&"]"!==a&&"}"!==a;){switch(a){case"\n":if(i=s+1,"\n"===r[d.default.endOfWhiteSpace(r,i)]){var u=new p.default;i=u.parse({src:r},i),this.items.push(u)}if((s=d.default.endOfIndent(r,i))<=i+o&&(a=r[s],st.offset);)++r;t.origOffset=t.offset+r,n=r}}),n}},{key:"toString",value:function(){var e=this.context.src,t=this.items,n=this.range,r=this.value;if(null!=r)return r;var o=t.filter(function(e){return e instanceof d.default}),i="",a=n.start;return o.forEach(function(t){var n=e.slice(a,t.range.start);a=t.range.end,"\n"===(i+=n+String(t))[i.length-1]&&"\n"!==e[a-1]&&"\n"===e[a]&&(a+=1)}),i+=e.slice(a,n.end),d.default.addStringTerminator(e,n.end,i)}}]),t}(d.default);t.default=m},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(1)),i=r(n(2)),a=r(n(4)),s=r(n(3)),u=r(n(5)),c=n(9),l=r(n(11)),f=r(n(12)),p=function(e){function t(){return(0,o.default)(this,t),(0,a.default)(this,(0,s.default)(t).apply(this,arguments))}return(0,u.default)(t,e),(0,i.default)(t,[{key:"parseCharCode",value:function(e,t,n){var r=this.context.src,o=r.substr(e,t),i=o.length===t&&/^[0-9a-fA-F]+$/.test(o)?parseInt(o,16):NaN;return isNaN(i)?(n.push(new c.YAMLSyntaxError(this,"Invalid escape sequence ".concat(r.substr(e-2,t+2)))),r.substr(e-2,t+2)):String.fromCodePoint(i)}},{key:"parse",value:function(e,n){this.context=e;var r=e.src,o=t.endOfQuote(r,n+1);return this.valueRange=new f.default(n,o),o=l.default.endOfWhiteSpace(r,o),o=this.parseComment(o)}},{key:"strValue",get:function(){if(!this.valueRange||!this.context)return null;var e=[],t=this.valueRange,n=t.start,r=t.end,o=this.context,i=o.indent,a=o.src;'"'!==a[r-1]&&e.push(new c.YAMLSyntaxError(this,'Missing closing "quote'));for(var s="",u=n+1;uh?a.slice(h,u+1):f)}else s+=f}return e.length>0?{errors:e,str:s}:s}}],[{key:"endOfQuote",value:function(e,t){for(var n=e[t];n&&'"'!==n;)n=e[t+="\\"===n?2:1];return t+1}}]),t}(l.default);t.default=p},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(1)),i=r(n(2)),a=r(n(4)),s=r(n(3)),u=r(n(5)),c=n(9),l=r(n(11)),f=r(n(12)),p=function(e){function t(){return(0,o.default)(this,t),(0,a.default)(this,(0,s.default)(t).apply(this,arguments))}return(0,u.default)(t,e),(0,i.default)(t,[{key:"parse",value:function(e,n){this.context=e;var r=e.src,o=t.endOfQuote(r,n+1);return this.valueRange=new f.default(n,o),o=l.default.endOfWhiteSpace(r,o),o=this.parseComment(o)}},{key:"strValue",get:function(){if(!this.valueRange||!this.context)return null;var e=[],t=this.valueRange,n=t.start,r=t.end,o=this.context,i=o.indent,a=o.src;"'"!==a[r-1]&&e.push(new c.YAMLSyntaxError(this,"Missing closing 'quote"));for(var s="",u=n+1;uh?a.slice(h,u+1):f)}else s+=f}return e.length>0?{errors:e,str:s}:s}}],[{key:"endOfQuote",value:function(e,t){for(var n=e[t];n;)if("'"===n){if("'"!==e[t+1])break;n=e[t+=2]}else n=e[t+=1];return t+1}}]),t}(l.default);t.default=p},function(e,t,n){"use strict";var r=n(57),o=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=o(n(55)),a=o(n(1)),s=o(n(2)),u=o(n(20)),c=o(n(58)),l=o(n(342)),f=n(8),p=n(9),h=o(n(345)),d=o(n(143)),v=o(n(59)),m=r(n(26)),y=o(n(33)),g=o(n(13)),b=o(n(32)),w=function(){function e(t){(0,a.default)(this,e),this.anchors=new l.default(t.anchorPrefix),this.commentBefore=null,this.comment=null,this.contents=null,this.directivesEndMarker=null,this.errors=[],this.options=t,this.schema=null,this.tagPrefixes=[],this.version=null,this.warnings=[]}return(0,s.default)(e,[{key:"assertCollectionContents",value:function(){if(this.contents instanceof m.default)return!0;throw new Error("Expected a YAML collection as document contents")}},{key:"add",value:function(e){return this.assertCollectionContents(),this.contents.add(e)}},{key:"addIn",value:function(e,t){this.assertCollectionContents(),this.contents.addIn(e,t)}},{key:"delete",value:function(e){return this.assertCollectionContents(),this.contents.delete(e)}},{key:"deleteIn",value:function(e){return(0,m.isEmptyPath)(e)?null!=this.contents&&(this.contents=null,!0):(this.assertCollectionContents(),this.contents.deleteIn(e))}},{key:"getDefaults",value:function(){return e.defaults[this.version]||e.defaults[this.options.version]||{}}},{key:"get",value:function(e,t){return this.contents instanceof m.default?this.contents.get(e,t):void 0}},{key:"getIn",value:function(e,t){return(0,m.isEmptyPath)(e)?!t&&this.contents instanceof g.default?this.contents.value:this.contents:this.contents instanceof m.default?this.contents.getIn(e,t):void 0}},{key:"has",value:function(e){return this.contents instanceof m.default&&this.contents.has(e)}},{key:"hasIn",value:function(e){return(0,m.isEmptyPath)(e)?void 0!==this.contents:this.contents instanceof m.default&&this.contents.hasIn(e)}},{key:"set",value:function(e,t){this.assertCollectionContents(),this.contents.set(e,t)}},{key:"setIn",value:function(e,t){(0,m.isEmptyPath)(e)?this.contents=t:(this.assertCollectionContents(),this.contents.setIn(e,t))}},{key:"setSchema",value:function(){this.schema||(this.schema=new d.default(Object.assign({},this.getDefaults(),this.options)))}},{key:"parse",value:function(e,t){this.options.keepCstNodes&&(this.cstNode=e),this.options.keepNodeTypes&&(this.type="DOCUMENT");var n=e.directives,r=void 0===n?[]:n,o=e.contents,i=void 0===o?[]:o,a=e.directivesEndMarker,s=e.error,u=e.valueRange;if(s&&(s.source||(s.source=this),this.errors.push(s)),this.parseDirectives(r,t),a&&(this.directivesEndMarker=!0),this.range=u?[u.start,u.end]:null,this.setSchema(),this.anchors._cstAliases=[],this.parseContents(i),this.anchors.resolveNodes(),this.options.prettyErrors){var c=!0,l=!1,f=void 0;try{for(var h,d=this.errors[Symbol.iterator]();!(c=(h=d.next()).done);c=!0){var v=h.value;v instanceof p.YAMLError&&v.makePretty()}}catch(e){l=!0,f=e}finally{try{c||null==d.return||d.return()}finally{if(l)throw f}}var m=!0,y=!1,g=void 0;try{for(var b,w=this.warnings[Symbol.iterator]();!(m=(b=w.next()).done);m=!0){var x=b.value;x instanceof p.YAMLError&&x.makePretty()}}catch(e){y=!0,g=e}finally{try{m||null==w.return||w.return()}finally{if(y)throw g}}}return this}},{key:"parseDirectives",value:function(e,t){var n=this,r=[],o=!1;if(e.forEach(function(e){var t=e.comment,i=e.name;switch(i){case"TAG":n.resolveTagDirective(e),o=!0;break;case"YAML":case"YAML:1.0":n.resolveYamlDirective(e),o=!0;break;default:if(i){var a="YAML only supports %TAG and %YAML directives, and not %".concat(i);n.warnings.push(new p.YAMLWarning(e,a))}}t&&r.push(t)}),t&&!o&&"1.1"===(this.version||t.version||this.options.version)){this.tagPrefixes=t.tagPrefixes.map(function(e){return{handle:e.handle,prefix:e.prefix}}),this.version=t.version}this.commentBefore=r.join("\n")||null}},{key:"parseContents",value:function(e){var t=this,n={before:[],after:[]},r=[],o=!1;switch(e.forEach(function(e){if(e.valueRange){if(1===r.length){t.errors.push(new p.YAMLSyntaxError(e,"Document is not valid YAML (bad indentation?)"))}var i=t.resolveNode(e);o&&(i.spaceBefore=!0,o=!1),r.push(i)}else if(null!==e.comment){(0===r.length?n.before:n.after).push(e.comment)}else e.type===f.Type.BLANK_LINE&&(o=!0,0===r.length&&n.before.length>0&&!t.commentBefore&&(t.commentBefore=n.before.join("\n"),n.before=[]))}),r.length){case 0:this.contents=null,n.after=n.before;break;case 1:if(this.contents=r[0],this.contents){var i=n.before.join("\n")||null;if(i){var a=this.contents instanceof m.default&&this.contents.items[0]?this.contents.items[0]:this.contents;a.commentBefore=a.commentBefore?"".concat(i,"\n").concat(a.commentBefore):i}}else n.after=n.before.concat(n.after);break;default:this.contents=r,this.contents[0]?this.contents[0].commentBefore=n.before.join("\n")||null:n.after=n.before.concat(n.after)}this.comment=n.after.join("\n")||null}},{key:"resolveTagDirective",value:function(e){var t=(0,i.default)(e.parameters,2),n=t[0],r=t[1];if(n&&r)if(this.tagPrefixes.every(function(e){return e.handle!==n}))this.tagPrefixes.push({handle:n,prefix:r});else{this.errors.push(new p.YAMLSemanticError(e,"The %TAG directive must only be given at most once per handle in the same document."))}else{this.errors.push(new p.YAMLSemanticError(e,"Insufficient parameters given for %TAG directive"))}}},{key:"resolveYamlDirective",value:function(t){var n=(0,i.default)(t.parameters,1)[0];if("YAML:1.0"===t.name&&(n="1.0"),this.version){this.errors.push(new p.YAMLSemanticError(t,"The %YAML directive must only be given at most once per document."))}if(n){if(!e.defaults[n]){var r=this.version||this.options.version,o="Document will be parsed as YAML ".concat(r," rather than YAML ").concat(n);this.warnings.push(new p.YAMLWarning(t,o))}this.version=n}else{this.errors.push(new p.YAMLSemanticError(t,"Insufficient parameters given for %YAML directive"))}}},{key:"resolveTagName",value:function(e){var t=e.tag,n=e.type,r=!1;if(t){var o=t.handle,i=t.suffix,a=t.verbatim;if(a){if("!"!==a&&"!!"!==a)return a;var s="Verbatim tags aren't resolved, so ".concat(a," is invalid.");this.errors.push(new p.YAMLSemanticError(e,s))}else if("!"!==o||i){var u=this.tagPrefixes.find(function(e){return e.handle===o});if(!u){var c=this.getDefaults().tagPrefixes;c&&(u=c.find(function(e){return e.handle===o}))}if(u){if(i){if("!"===o&&"1.0"===(this.version||this.options.version)){if("^"===i[0])return i;if(/[:\/]/.test(i)){var l=i.match(/^([a-z0-9-]+)\/(.*)/i);return l?"tag:".concat(l[1],".yaml.org,2002:").concat(l[2]):"tag:".concat(i)}}return u.prefix+decodeURIComponent(i)}this.errors.push(new p.YAMLSemanticError(e,"The ".concat(o," tag has no suffix.")))}else{var h="The ".concat(o," tag handle is non-default and was not declared.");this.errors.push(new p.YAMLSemanticError(e,h))}}else r=!0}switch(n){case f.Type.BLOCK_FOLDED:case f.Type.BLOCK_LITERAL:case f.Type.QUOTE_DOUBLE:case f.Type.QUOTE_SINGLE:return d.default.defaultTags.STR;case f.Type.FLOW_MAP:case f.Type.MAP:return d.default.defaultTags.MAP;case f.Type.FLOW_SEQ:case f.Type.SEQ:return d.default.defaultTags.SEQ;case f.Type.PLAIN:return r?d.default.defaultTags.STR:null;default:return null}}},{key:"resolveNode",value:function(e){if(!e)return null;var t,n=this.anchors,r=this.errors,o=this.schema,i=!1,a=!1,s={before:[],after:[]},u=function(e){return e&&[f.Type.MAP_KEY,f.Type.MAP_VALUE,f.Type.SEQ_ITEM].includes(e.type)}(e.context.parent)?e.context.parent.props.concat(e.props):e.props,c=!0,l=!1,h=void 0;try{for(var d,m=u[Symbol.iterator]();!(c=(d=m.next()).done);c=!0){var y=d.value,g=y.start,b=y.end;switch(e.context.src[g]){case f.Char.COMMENT:if(!e.commentHasRequiredWhitespace(g)){r.push(new p.YAMLSemanticError(e,"Comments must be separated from other tokens by white space characters"))}var w=e.context.src.slice(g+1,b),x=e.header,_=e.valueRange;_&&(g>_.start||x&&g>x.start)?s.after.push(w):s.before.push(w);break;case f.Char.ANCHOR:if(i){r.push(new p.YAMLSemanticError(e,"A node can have at most one anchor"))}i=!0;break;case f.Char.TAG:if(a){r.push(new p.YAMLSemanticError(e,"A node can have at most one tag"))}a=!0}}}catch(e){l=!0,h=e}finally{try{c||null==m.return||m.return()}finally{if(l)throw h}}if(i){var S=e.anchor,O=n.getNode(S);O&&(n.map[n.newName(S)]=O),n.map[S]=e}if(e.type===f.Type.ALIAS){if(i||a){r.push(new p.YAMLSemanticError(e,"An alias node must not specify any properties"))}var k=e.rawValue,E=n.getNode(k);if(!E){var A="Aliased anchor not found: ".concat(k);return r.push(new p.YAMLReferenceError(e,A)),null}t=new v.default(E),n._cstAliases.push(t)}else{var T=this.resolveTagName(e);if(T)t=o.resolveNodeWithFallback(this,e,T);else{if(e.type!==f.Type.PLAIN){var j="Failed to resolve ".concat(e.type," node here");return r.push(new p.YAMLSyntaxError(e,j)),null}try{t=o.resolveScalar(e.strValue||"")}catch(t){return t.source||(t.source=e),r.push(t),null}}}if(t){t.range=[e.range.start,e.range.end],this.options.keepCstNodes&&(t.cstNode=e),this.options.keepNodeTypes&&(t.type=e.type);var C=s.before.join("\n");C&&(t.commentBefore=t.commentBefore?"".concat(t.commentBefore,"\n").concat(C):C);var P=s.after.join("\n");P&&(t.comment=t.comment?"".concat(t.comment,"\n").concat(P):P)}return e.resolved=t}},{key:"listNonDefaultTags",value:function(){return(0,h.default)(this.contents).filter(function(e){return 0!==e.indexOf(d.default.defaultPrefix)})}},{key:"setTagPrefix",value:function(e,t){if("!"!==e[0]||"!"!==e[e.length-1])throw new Error("Handle must start and end with !");if(t){var n=this.tagPrefixes.find(function(t){return t.handle===e});n?n.prefix=t:this.tagPrefixes.push({handle:e,prefix:t})}else this.tagPrefixes=this.tagPrefixes.filter(function(t){return t.handle!==e})}},{key:"stringifyTag",value:function(e){if("1.0"===(this.version||this.options.version)){var t=e.match(/^tag:private\.yaml\.org,2002:([^:\/]+)$/);if(t)return"!"+t[1];var n=e.match(/^tag:([a-zA-Z0-9-]+)\.yaml\.org,2002:(.*)/);return n?"!".concat(n[1],"/").concat(n[2]):"!".concat(e.replace(/^tag:/,""))}var r=this.tagPrefixes.find(function(t){return 0===e.indexOf(t.prefix)});if(!r){var o=this.getDefaults().tagPrefixes;r=o&&o.find(function(t){return 0===e.indexOf(t.prefix)})}if(!r)return"!"===e[0]?e:"!<".concat(e,">");var i=e.substr(r.prefix.length).replace(/[!,[\]{}]/g,function(e){return{"!":"%21",",":"%2C","[":"%5B","]":"%5D","{":"%7B","}":"%7D"}[e]});return r.handle+i}},{key:"toJSON",value:function(e){var t=this,n=this.options,r=n.keepBlobsInJSON,o=n.mapAsMap,i=n.maxAliasCount,a=r&&("string"!=typeof e||!(this.contents instanceof g.default)),s={doc:this,keep:a,mapAsMap:a&&!!o,maxAliasCount:i},u=Object.keys(this.anchors.map);return u.length>0&&(s.anchors=u.map(function(e){return{alias:[],aliasCount:0,count:1,node:t.anchors.map[e]}})),(0,b.default)(this.contents,e,s)}},{key:"toString",value:function(){if(this.errors.length>0)throw new Error("Document with errors cannot be stringified");this.setSchema();var e=[],t=!1;if(this.version){var n="%YAML 1.2";"yaml-1.1"===this.schema.name&&("1.0"===this.version?n="%YAML:1.0":"1.1"===this.version&&(n="%YAML 1.1")),e.push(n),t=!0}var r=this.listNonDefaultTags();this.tagPrefixes.forEach(function(n){var o=n.handle,i=n.prefix;r.some(function(e){return 0===e.indexOf(i)})&&(e.push("%TAG ".concat(o," ").concat(i)),t=!0)}),(t||this.directivesEndMarker)&&e.push("---"),this.commentBefore&&(!t&&this.directivesEndMarker||e.unshift(""),e.unshift(this.commentBefore.replace(/^/gm,"#")));var o={anchors:{},doc:this,indent:""},i=!1,a=null;if(this.contents){this.contents instanceof y.default&&(this.contents.spaceBefore&&(t||this.directivesEndMarker)&&e.push(""),this.contents.commentBefore&&e.push(this.contents.commentBefore.replace(/^/gm,"#")),o.forceBlockIndent=!!this.comment,a=this.contents.comment);var s=a?null:function(){return i=!0},u=this.schema.stringify(this.contents,o,function(){return a=null},s);e.push((0,c.default)(u,"",a))}else void 0!==this.contents&&e.push(this.schema.stringify(this.contents,o));return this.comment&&(i&&!a||""===e[e.length-1]||e.push(""),e.push(this.comment.replace(/^/gm,"#"))),e.join("\n")+"\n"}}]),e}();t.default=w,(0,u.default)(w,"defaults",{"1.0":{schema:"yaml-1.1",merge:!0,tagPrefixes:[{handle:"!",prefix:d.default.defaultPrefix},{handle:"!!",prefix:"tag:private.yaml.org,2002:"}]},1.1:{schema:"yaml-1.1",merge:!0,tagPrefixes:[{handle:"!",prefix:"!"},{handle:"!!",prefix:d.default.defaultPrefix}]},1.2:{schema:"core",merge:!1,tagPrefixes:[{handle:"!",prefix:"!"},{handle:"!!",prefix:d.default.defaultPrefix}]}})},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(1)),i=r(n(2)),a=r(n(20)),s=r(n(59)),u=r(n(27)),c=r(n(142)),l=r(n(13)),f=r(n(34)),p=function(){function e(t){(0,o.default)(this,e),(0,a.default)(this,"map",{}),this.prefix=t}return(0,i.default)(e,null,[{key:"validAnchorNode",value:function(e){return e instanceof l.default||e instanceof f.default||e instanceof u.default}}]),(0,i.default)(e,[{key:"createAlias",value:function(e,t){return this.setAnchor(e,t),new s.default(e)}},{key:"createMergePair",value:function(){for(var e=this,t=new c.default,n=arguments.length,r=new Array(n),o=0;o=g)if(b)m.push(b),g=b+d,b=void 0;else if(n===o){for(;" "===w||"\t"===w;)w=v,v=e[_+=1],x=!0;m.push(_-2),y[_-2]=!0,g=_-2+d,b=void 0}else x=!0}w=v}x&&h&&h();if(0===m.length)return e;p&&p();for(var O=e.slice(0,m[0]),k=0;k0?r-4:r,f=0;f>16&255,s[u++]=t>>8&255,s[u++]=255&t;2===a&&(t=o[e.charCodeAt(f)]<<2|o[e.charCodeAt(f+1)]>>4,s[u++]=255&t);1===a&&(t=o[e.charCodeAt(f)]<<10|o[e.charCodeAt(f+1)]<<4|o[e.charCodeAt(f+2)]>>2,s[u++]=t>>8&255,s[u++]=255&t);return s},t.fromByteArray=function(e){for(var t,n=e.length,o=n%3,i=[],a=0,s=n-o;as?s:a+16383));1===o?(t=e[n-1],i.push(r[t>>2]+r[t<<4&63]+"==")):2===o&&(t=(e[n-2]<<8)+e[n-1],i.push(r[t>>10]+r[t>>4&63]+r[t<<2&63]+"="));return i.join("")};for(var r=[],o=[],i="undefined"!=typeof Uint8Array?Uint8Array:Array,a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",s=0,u=a.length;s0)throw new Error("Invalid string. Length must be a multiple of 4");var n=e.indexOf("=");return-1===n&&(n=t),[n,n===t?0:4-n%4]}function l(e,t,n){for(var o,i,a=[],s=t;s>18&63]+r[i>>12&63]+r[i>>6&63]+r[63&i]);return a.join("")}o["-".charCodeAt(0)]=62,o["_".charCodeAt(0)]=63},function(e,t){t.read=function(e,t,n,r,o){var i,a,s=8*o-r-1,u=(1<>1,l=-7,f=n?o-1:0,p=n?-1:1,h=e[t+f];for(f+=p,i=h&(1<<-l)-1,h>>=-l,l+=s;l>0;i=256*i+e[t+f],f+=p,l-=8);for(a=i&(1<<-l)-1,i>>=-l,l+=r;l>0;a=256*a+e[t+f],f+=p,l-=8);if(0===i)i=1-c;else{if(i===u)return a?NaN:1/0*(h?-1:1);a+=Math.pow(2,r),i-=c}return(h?-1:1)*a*Math.pow(2,i-r)},t.write=function(e,t,n,r,o,i){var a,s,u,c=8*i-o-1,l=(1<>1,p=23===o?Math.pow(2,-24)-Math.pow(2,-77):0,h=r?0:i-1,d=r?1:-1,v=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(s=isNaN(t)?1:0,a=l):(a=Math.floor(Math.log(t)/Math.LN2),t*(u=Math.pow(2,-a))<1&&(a--,u*=2),(t+=a+f>=1?p/u:p*Math.pow(2,1-f))*u>=2&&(a++,u/=2),a+f>=l?(s=0,a=l):a+f>=1?(s=(t*u-1)*Math.pow(2,o),a+=f):(s=t*Math.pow(2,f-1)*Math.pow(2,o),a=0));o>=8;e[n+h]=255&s,h+=d,s/=256,o-=8);for(a=a<0;e[n+h]=255&a,h+=d,a/=256,c-=8);e[n+h-d]|=128*v}},function(e,t,n){"use strict";const r=n(134),o=n(84),i=n(85),a=n(135),s=n(136),u=n(61).jptr,c=n(94).recurse,l=n(62).clone,f=n(355).dereference,p=n(93).isRef,h=n(152);function d(e,t,n,r,o,a){let s=a.externalRefs[n+r].paths[0],f=i.parse(o),d={},v=1;for(;v;)v=0,c(e,{identityDetection:!0},function(e,n,r){if(p(e,n))if(e[n].startsWith("#"))if(d[e[n]]||e.$fixed){if(!e.$fixed){let t=(s+"/"+d[e[n]]).split("/#/").join("/");r.parent[r.pkey]={$ref:t,"x-miro":e[n],$fixed:!0},a.verbose>1&&console.warn("Replacing with",t),v++}}else{let o=l(u(t,e[n]));if(a.verbose>1&&console.warn((!1===o?h.colour.red:h.colour.green)+"Fragment resolution",e[n],h.colour.normal),!1===o){if(r.parent[r.pkey]={},a.fatal){let t=new Error("Fragment $ref resolution failed "+e[n]);if(!a.promise)throw t;a.promise.reject(t)}}else v++,r.parent[r.pkey]=o,d[e[n]]=r.path.replace("/%24ref","")}else if(f.protocol){let t=i.resolve(o,e[n]).toString();a.verbose>1&&console.warn(h.colour.yellow+"Rewriting external url ref",e[n],"as",t,h.colour.normal),e["x-miro"]=e[n],e[n]=t}else if(!e["x-miro"]){let t=i.resolve(o,e[n]).toString();a.verbose>1&&console.warn(h.colour.yellow+"Rewriting external ref",e[n],"as",t,h.colour.normal),e["x-miro"]=e[n],e[n]=t}});return c(e,{},function(e,t,n){p(e,t)&&void 0!==e.$fixed&&delete e.$fixed}),a.verbose>1&&console.warn("Finished fragment resolution"),e}function v(e,t){if(!t.filters||!t.filters.length)return e;for(let n of t.filters)e=n(e,t);return e}function m(e,t,n,c){var f=i.parse(n.source),p=n.source.split("\\").join("/").split("/");p.pop()||p.pop();let h="",m=t.split("#");m.length>1&&(h="#"+m[1],t=m[0]),p=p.join("/");let y=i.parse(t),g=(b=y.protocol,w=f.protocol,b&&b.length>2?b:w&&w.length>2?w:"file:");var b,w;let x;if(x="file:"===g?o.resolve(p?p+"/":"",t):i.resolve(p?p+"/":"",t),n.cache[x]){n.verbose&&console.warn("CACHED",x,h);let e=l(n.cache[x]),r=n.externalRef=e;if(h&&!1===(r=u(r,h))&&(r={},n.fatal)){let e=new Error("Cached $ref resolution failed "+x+h);if(!n.promise)throw e;n.promise.reject(e)}return r=v(r=d(r,e,t,h,x,n),n),c(l(r),x,n),Promise.resolve(r)}return n.verbose&&console.warn("GET",x,h),n.handlers&&n.handlers[g]?n.handlers[g](p,t,h,n).then(function(e){return n.externalRef=e,e=v(e,n),n.cache[x]=e,c(e,x,n),e}).catch(function(e){throw n.verbose&&console.warn(e),e}):g&&g.startsWith("http")?a(x,{agent:n.agent}).then(function(e){if(200!==e.status)throw new Error(`Received status code ${e.status}`);return e.text()}).then(function(e){try{let r=s.parse(e,{schema:"core"});if(e=n.externalRef=r,n.cache[x]=l(e),h&&!1===(e=u(e,h))&&(e={},n.fatal)){let e=new Error("Remote $ref resolution failed "+x+h);if(!n.promise)throw e;n.promise.reject(e)}e=v(e=d(e,r,t,h,x,n),n)}catch(e){if(n.verbose&&console.warn(e),!n.promise||!n.fatal)throw e;n.promise.reject(e)}return c(e,x,n),e}).catch(function(e){if(n.verbose&&console.warn(e),n.cache[x]={},!n.promise||!n.fatal)throw e;n.promise.reject(e)}):(_=x,S=n.encoding||"utf8",new Promise(function(e,t){r.readFile(_,S,function(n,r){n?t(n):e(r)})})).then(function(e){try{let r=s.parse(e,{schema:"core"});if(e=n.externalRef=r,n.cache[x]=l(e),h&&!1===(e=u(e,h))&&(e={},n.fatal)){let e=new Error("File $ref resolution failed "+x+h);if(!n.promise)throw e;n.promise.reject(e)}e=v(e=d(e,r,t,h,x,n),n)}catch(e){if(n.verbose&&console.warn(e),!n.promise||!n.fatal)throw e;n.promise.reject(e)}return c(e,x,n),e}).catch(function(e){if(n.verbose&&console.warn(e),!n.promise||!n.fatal)throw e;n.promise.reject(e)});var _,S}function y(e){return new Promise(function(t,n){(function(e){return new Promise(function(t,n){function r(t,n,r){if(t[n]&&p(t[n],"$ref")){let i=t[n].$ref;if(!i.startsWith("#")){let a="";if(!o[i]){let t=Object.keys(o).find(function(e,t,n){return i.startsWith(e+"/")});t&&(e.verbose&&console.warn("Found potential subschema at",t),a=(a="/"+(i.split("#")[1]||"").replace(t.split("#")[1]||"")).split("/undefined").join(""),i=t)}if(o[i]||(o[i]={resolved:!1,paths:[],extras:{},description:t[n].description}),o[i].resolved)if(e.rewriteRefs){let r=o[i].resolvedAt;e.verbose>1&&console.warn("Rewriting ref",i,r),t[n]["x-miro"]=i,t[n].$ref=r+a}else t[n]=l(o[i].data);else o[i].paths.push(r.path),o[i].extras[r.path]=a}}}let o=e.externalRefs;if(e.resolver.depth>0&&e.source===e.resolver.base)return t(o);c(e.openapi.definitions,{identityDetection:!0,path:"#/definitions"},r),c(e.openapi.components,{identityDetection:!0,path:"#/components"},r),c(e.openapi,{identityDetection:!0},r),t(o)})})(e).then(function(t){for(let n in t)if(!t[n].resolved){let r=e.resolver.depth;r>0&&r++,e.resolver.actions[r].push(function(){return m(e.openapi,n,e,function(e,r,o){if(!t[n].resolved){let i={};i.context=t[n],i.$ref=n,i.original=l(e),i.updated=e,i.source=r,o.externals.push(i),t[n].resolved=!0}let i=Object.assign({},o,{source:"",resolver:{actions:o.resolver.actions,depth:o.resolver.actions.length-1,base:o.resolver.base}});o.patch&&t[n].description&&!e.description&&"object"==typeof e&&(e.description=t[n].description),t[n].data=e;let a=(s=t[n].paths,[...new Set(s)]);var s;a=a.sort(function(e,t){const n=e.startsWith("#/components/")||e.startsWith("#/definitions/"),r=t.startsWith("#/components/")||t.startsWith("#/definitions/");return n&&!r?-1:r&&!n?1:0});for(let r of a)if(t[n].resolvedAt&&r!==t[n].resolvedAt&&r.indexOf("x-ms-examples/")<0)o.verbose>1&&console.warn("Creating pointer to data at",r),u(o.openapi,r,{$ref:t[n].resolvedAt+t[n].extras[r],"x-miro":n+t[n].extras[r]});else{t[n].resolvedAt?o.verbose>1&&console.warn("Avoiding circular reference"):(t[n].resolvedAt=r,o.verbose>1&&console.warn("Creating initial clone of data at",r));let i=l(e);u(o.openapi,r,i)}0===o.resolver.actions[i.resolver.depth].length&&o.resolver.actions[i.resolver.depth].push(function(){return y(i)})})})}}).catch(function(t){e.verbose&&console.warn(t),n(t)});let r={options:e};r.actions=e.resolver.actions[e.resolver.depth],t(r)})}const g=e=>e.reduce((e,t)=>e.then(e=>t().then(Array.prototype.concat.bind(e))),Promise.resolve([]));function b(e,t,n){e.resolver.actions.push([]),y(e).then(function(r){g(r.actions).then(function(){if(e.resolver.depth>=e.resolver.actions.length)return console.warn("Ran off the end of resolver actions"),t(!0);e.resolver.depth++,e.resolver.actions[e.resolver.depth].length?setTimeout(function(){b(r.options,t,n)},0):(e.verbose>1&&console.warn(h.colour.yellow+"Finished external resolution!",h.colour.normal),e.resolveInternal&&(e.verbose>1&&console.warn(h.colour.yellow+"Starting internal resolution!",h.colour.normal),e.openapi=f(e.openapi,e.original,{verbose:e.verbose-1}),e.verbose>1&&console.warn(h.colour.yellow+"Finished internal resolution!",h.colour.normal)),c(e.openapi,{},function(t,n,r){p(t,n)&&(e.preserveMiro||delete t["x-miro"])}),t(e))}).catch(function(t){e.verbose&&console.warn(t),n(t)})}).catch(function(t){e.verbose&&console.warn(t),n(t)})}function w(e){if(e.cache||(e.cache={}),e.source){let t=i.parse(e.source);(!t.protocol||t.protocol.length<=2)&&(e.source=o.resolve(e.source))}e.externals||(e.externals=[]),e.externalRefs||(e.externalRefs=[]),e.rewriteRefs=!0,e.resolver={},e.resolver.depth=0,e.resolver.base=e.source,e.resolver.actions=[[]]}e.exports={optionalResolve:function(e){return w(e),new Promise(function(t,n){e.resolve?b(e,t,n):t(e)})},resolve:function(e,t,n){return n||(n={}),n.openapi=e,n.source=t,n.resolve=!0,w(n),new Promise(function(e,t){b(n,e,t)})}}},function(e,t,n){"use strict";const r=n(94).recurse,o=n(62).shallowClone,i=n(61).jptr,a=n(93).isRef;var s=function(e){return e&&e.verbose?{warn:function(){var e=Array.prototype.slice.call(arguments);console.warn.apply(console,e)}}:{warn:function(){}}};e.exports={dereference:function e(t,n,u){u||(u={}),u.cache||(u.cache={}),u.state||(u.state={}),u.state.identityDetection=!0,u.depth=u.depth?u.depth+1:1;let c=u.depth>1?t:o(t),l={data:c},f=u.depth>1?n:o(n);u.master||(u.master=c);let p=s(u),h=1;for(;h>0;)h=0,r(l,u.state,function(t,n,r){if(a(t,n)){let o=t[n];if(h++,u.cache[o]){let e=u.cache[o];if(e.resolved)p.warn("Patching %s for %s",o,e.path),r.parent[r.pkey]=e.data,u.$ref&&"object"==typeof r.parent[r.pkey]&&(r.parent[r.pkey][u.$ref]=o);else{if(o===e.path)throw new Error(`Tight circle at ${e.path}`);p.warn("Unresolved ref"),r.parent[r.pkey]=i(e.source,e.path),!1===r.parent[r.pkey]&&(r.parent[r.pkey]=i(e.source,e.key)),u.$ref&&"object"==typeof r.parent[r.pkey]&&(r.parent[u.$ref]=o)}}else{let t={};t.path=r.path.split("/$ref")[0],t.key=o,p.warn("Dereffing %s at %s",o,t.path),t.source=f,t.data=i(t.source,t.key),!1===t.data&&(t.data=i(u.master,t.key),t.source=u.master),!1===t.data&&p.warn("Missing $ref target",t.key),u.cache[o]=t,t.data=r.parent[r.pkey]=e(i(t.source,t.key),t.source,u),u.$ref&&"object"==typeof r.parent[r.pkey]&&(r.parent[r.pkey][u.$ref]=o),t.resolved=!0}}});return l.data}}},function(e,t){var n=Object.prototype.hasOwnProperty;function r(e){return"[Throws: "+(e?e.message:"?")+"]"}function o(e){var t=[];return function e(o){if(null===o||"object"!=typeof o)return o;if(-1!==t.indexOf(o))return"[Circular]";if(t.push(o),"function"==typeof o.toJSON)try{var i=e(o.toJSON());return t.pop(),i}catch(e){return r(e)}if(Array.isArray(o)){var a=o.map(e);return t.pop(),a}var s=Object.keys(o).reduce(function(t,i){return t[i]=e(function(e,t){if(n.call(e,t))try{return e[t]}catch(e){return r(e)}return e[t]}(o,i)),t},{});return t.pop(),s}(e)}e.exports=function(e,t,n){return JSON.stringify(o(e),t,n)},e.exports.ensureProperties=o},function(e,t,n){"use strict";function r(){return{depth:0,seen:new WeakMap,top:!0,combine:!1,allowRefSiblings:!1}}e.exports={getDefaultState:r,walkSchema:function e(t,n,o,i){if(void 0===o.depth&&(o=r()),null==t)return t;if(void 0!==t.$ref){let e={$ref:t.$ref};return o.allowRefSiblings&&t.description&&(e.description=t.description),i(e,n,o),e}if(o.combine&&(t.allOf&&Array.isArray(t.allOf)&&1===t.allOf.length&&delete(t=Object.assign({},t.allOf[0],t)).allOf,t.anyOf&&Array.isArray(t.anyOf)&&1===t.anyOf.length&&delete(t=Object.assign({},t.anyOf[0],t)).anyOf,t.oneOf&&Array.isArray(t.oneOf)&&1===t.oneOf.length&&delete(t=Object.assign({},t.oneOf[0],t)).oneOf),i(t,n,o),o.seen.has(t))return t;if("object"==typeof t&&null!==t&&o.seen.set(t,!0),o.top=!1,o.depth++,void 0!==t.items&&(o.property="items",e(t.items,t,o,i)),t.additionalItems&&"object"==typeof t.additionalItems&&(o.property="additionalItems",e(t.additionalItems,t,o,i)),t.additionalProperties&&"object"==typeof t.additionalProperties&&(o.property="additionalProperties",e(t.additionalProperties,t,o,i)),t.properties)for(let n in t.properties){let r=t.properties[n];o.property="properties/"+n,e(r,t,o,i)}if(t.patternProperties)for(let n in t.patternProperties){let r=t.patternProperties[n];o.property="patternProperties/"+n,e(r,t,o,i)}if(t.allOf)for(let n in t.allOf){let r=t.allOf[n];o.property="allOf/"+n,e(r,t,o,i)}if(t.anyOf)for(let n in t.anyOf){let r=t.anyOf[n];o.property="anyOf/"+n,e(r,t,o,i)}if(t.oneOf)for(let n in t.oneOf){let r=t.oneOf[n];o.property="oneOf/"+n,e(r,t,o,i)}return t.not&&(o.property="not",e(t.not,t,o,i)),o.depth--,t}}},function(e,t,n){"use strict";const r=n(359);e.exports={statusCodes:Object.assign({},{default:"Default response","1XX":"Informational",103:"Early hints","2XX":"Successful","3XX":"Redirection","4XX":"Client Error","5XX":"Server Error","7XX":"Developer Error"},r.STATUS_CODES)}},function(e,t,n){(function(e){var r=n(360),o=n(154),i=n(369),a=n(370),s=n(85),u=t;u.request=function(t,n){t="string"==typeof t?s.parse(t):i(t);var o=-1===e.location.protocol.search(/^https?:$/)?"http:":"",a=t.protocol||o,u=t.hostname||t.host,c=t.port,l=t.path||"/";u&&-1!==u.indexOf(":")&&(u="["+u+"]"),t.url=(u?a+"//"+u:"")+(c?":"+c:"")+l,t.method=(t.method||"GET").toUpperCase(),t.headers=t.headers||{};var f=new r(t);return n&&f.on("response",n),f},u.get=function(e,t){var n=u.request(e,t);return n.end(),n},u.ClientRequest=r,u.IncomingMessage=o.IncomingMessage,u.Agent=function(){},u.Agent.defaultMaxSockets=4,u.globalAgent=new u.Agent,u.STATUS_CODES=a,u.METHODS=["CHECKOUT","CONNECT","COPY","DELETE","GET","HEAD","LOCK","M-SEARCH","MERGE","MKACTIVITY","MKCOL","MOVE","NOTIFY","OPTIONS","PATCH","POST","PROPFIND","PROPPATCH","PURGE","PUT","REPORT","SEARCH","SUBSCRIBE","TRACE","UNLOCK","UNSUBSCRIBE"]}).call(this,n(10))},function(e,t,n){(function(t,r,o){var i=n(153),a=n(28),s=n(154),u=n(155),c=n(368),l=s.IncomingMessage,f=s.readyStates;var p=e.exports=function(e){var n,r=this;u.Writable.call(r),r._opts=e,r._body=[],r._headers={},e.auth&&r.setHeader("Authorization","Basic "+new t(e.auth).toString("base64")),Object.keys(e.headers).forEach(function(t){r.setHeader(t,e.headers[t])});var o=!0;if("disable-fetch"===e.mode||"requestTimeout"in e&&!i.abortController)o=!1,n=!0;else if("prefer-streaming"===e.mode)n=!1;else if("allow-wrong-content-type"===e.mode)n=!i.overrideMimeType;else{if(e.mode&&"default"!==e.mode&&"prefer-fast"!==e.mode)throw new Error("Invalid value for opts.mode");n=!0}r._mode=function(e,t){return i.fetch&&t?"fetch":i.mozchunkedarraybuffer?"moz-chunked-arraybuffer":i.msstream?"ms-stream":i.arraybuffer&&e?"arraybuffer":i.vbArray&&e?"text:vbarray":"text"}(n,o),r._fetchTimer=null,r.on("finish",function(){r._onFinish()})};a(p,u.Writable),p.prototype.setHeader=function(e,t){var n=e.toLowerCase();-1===h.indexOf(n)&&(this._headers[n]={name:e,value:t})},p.prototype.getHeader=function(e){var t=this._headers[e.toLowerCase()];return t?t.value:null},p.prototype.removeHeader=function(e){delete this._headers[e.toLowerCase()]},p.prototype._onFinish=function(){var e=this;if(!e._destroyed){var n=e._opts,a=e._headers,s=null;"GET"!==n.method&&"HEAD"!==n.method&&(s=i.arraybuffer?c(t.concat(e._body)):i.blobConstructor?new r.Blob(e._body.map(function(e){return c(e)}),{type:(a["content-type"]||{}).value||""}):t.concat(e._body).toString());var u=[];if(Object.keys(a).forEach(function(e){var t=a[e].name,n=a[e].value;Array.isArray(n)?n.forEach(function(e){u.push([t,e])}):u.push([t,n])}),"fetch"===e._mode){var l=null;if(i.abortController){var p=new AbortController;l=p.signal,e._fetchAbortController=p,"requestTimeout"in n&&0!==n.requestTimeout&&(e._fetchTimer=r.setTimeout(function(){e.emit("requestTimeout"),e._fetchAbortController&&e._fetchAbortController.abort()},n.requestTimeout))}r.fetch(e._opts.url,{method:e._opts.method,headers:u,body:s||void 0,mode:"cors",credentials:n.withCredentials?"include":"same-origin",signal:l}).then(function(t){e._fetchResponse=t,e._connect()},function(t){r.clearTimeout(e._fetchTimer),e._destroyed||e.emit("error",t)})}else{var h=e._xhr=new r.XMLHttpRequest;try{h.open(e._opts.method,e._opts.url,!0)}catch(t){return void o.nextTick(function(){e.emit("error",t)})}"responseType"in h&&(h.responseType=e._mode.split(":")[0]),"withCredentials"in h&&(h.withCredentials=!!n.withCredentials),"text"===e._mode&&"overrideMimeType"in h&&h.overrideMimeType("text/plain; charset=x-user-defined"),"requestTimeout"in n&&(h.timeout=n.requestTimeout,h.ontimeout=function(){e.emit("requestTimeout")}),u.forEach(function(e){h.setRequestHeader(e[0],e[1])}),e._response=null,h.onreadystatechange=function(){switch(h.readyState){case f.LOADING:case f.DONE:e._onXHRProgress()}},"moz-chunked-arraybuffer"===e._mode&&(h.onprogress=function(){e._onXHRProgress()}),h.onerror=function(){e._destroyed||e.emit("error",new Error("XHR error"))};try{h.send(s)}catch(t){return void o.nextTick(function(){e.emit("error",t)})}}}},p.prototype._onXHRProgress=function(){(function(e){try{var t=e.status;return null!==t&&0!==t}catch(e){return!1}})(this._xhr)&&!this._destroyed&&(this._response||this._connect(),this._response._onXHRProgress())},p.prototype._connect=function(){var e=this;e._destroyed||(e._response=new l(e._xhr,e._fetchResponse,e._mode,e._fetchTimer),e._response.on("error",function(t){e.emit("error",t)}),e.emit("response",e._response))},p.prototype._write=function(e,t,n){this._body.push(e),n()},p.prototype.abort=p.prototype.destroy=function(){this._destroyed=!0,r.clearTimeout(this._fetchTimer),this._response&&(this._response._destroyed=!0),this._xhr?this._xhr.abort():this._fetchAbortController&&this._fetchAbortController.abort()},p.prototype.end=function(e,t,n){"function"==typeof e&&(n=e,e=void 0),u.Writable.prototype.end.call(this,e,t,n)},p.prototype.flushHeaders=function(){},p.prototype.setTimeout=function(){},p.prototype.setNoDelay=function(){},p.prototype.setSocketKeepAlive=function(){};var h=["accept-charset","accept-encoding","access-control-request-headers","access-control-request-method","connection","content-length","cookie","cookie2","date","dnt","expect","host","keep-alive","origin","referer","te","trailer","transfer-encoding","upgrade","via"]}).call(this,n(36).Buffer,n(10),n(15))},function(e,t){},function(e,t,n){"use strict";var r=n(64).Buffer,o=n(363);e.exports=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.head=null,this.tail=null,this.length=0}return e.prototype.push=function(e){var t={data:e,next:null};this.length>0?this.tail.next=t:this.head=t,this.tail=t,++this.length},e.prototype.unshift=function(e){var t={data:e,next:this.head};0===this.length&&(this.tail=t),this.head=t,++this.length},e.prototype.shift=function(){if(0!==this.length){var e=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,e}},e.prototype.clear=function(){this.head=this.tail=null,this.length=0},e.prototype.join=function(e){if(0===this.length)return"";for(var t=this.head,n=""+t.data;t=t.next;)n+=e+t.data;return n},e.prototype.concat=function(e){if(0===this.length)return r.alloc(0);if(1===this.length)return this.head.data;for(var t,n,o,i=r.allocUnsafe(e>>>0),a=this.head,s=0;a;)t=a.data,n=i,o=s,t.copy(n,o),s+=a.data.length,a=a.next;return i},e}(),o&&o.inspect&&o.inspect.custom&&(e.exports.prototype[o.inspect.custom]=function(){var e=o.inspect({length:this.length});return this.constructor.name+" "+e})},function(e,t){},function(e,t,n){(function(e){var r=void 0!==e&&e||"undefined"!=typeof self&&self||window,o=Function.prototype.apply;function i(e,t){this._id=e,this._clearFn=t}t.setTimeout=function(){return new i(o.call(setTimeout,r,arguments),clearTimeout)},t.setInterval=function(){return new i(o.call(setInterval,r,arguments),clearInterval)},t.clearTimeout=t.clearInterval=function(e){e&&e.close()},i.prototype.unref=i.prototype.ref=function(){},i.prototype.close=function(){this._clearFn.call(r,this._id)},t.enroll=function(e,t){clearTimeout(e._idleTimeoutId),e._idleTimeout=t},t.unenroll=function(e){clearTimeout(e._idleTimeoutId),e._idleTimeout=-1},t._unrefActive=t.active=function(e){clearTimeout(e._idleTimeoutId);var t=e._idleTimeout;t>=0&&(e._idleTimeoutId=setTimeout(function(){e._onTimeout&&e._onTimeout()},t))},n(365),t.setImmediate="undefined"!=typeof self&&self.setImmediate||void 0!==e&&e.setImmediate||this&&this.setImmediate,t.clearImmediate="undefined"!=typeof self&&self.clearImmediate||void 0!==e&&e.clearImmediate||this&&this.clearImmediate}).call(this,n(10))},function(e,t,n){(function(e,t){!function(e,n){"use strict";if(!e.setImmediate){var r,o,i,a,s,u=1,c={},l=!1,f=e.document,p=Object.getPrototypeOf&&Object.getPrototypeOf(e);p=p&&p.setTimeout?p:e,"[object process]"==={}.toString.call(e.process)?r=function(e){t.nextTick(function(){d(e)})}:!function(){if(e.postMessage&&!e.importScripts){var t=!0,n=e.onmessage;return e.onmessage=function(){t=!1},e.postMessage("","*"),e.onmessage=n,t}}()?e.MessageChannel?((i=new MessageChannel).port1.onmessage=function(e){d(e.data)},r=function(e){i.port2.postMessage(e)}):f&&"onreadystatechange"in f.createElement("script")?(o=f.documentElement,r=function(e){var t=f.createElement("script");t.onreadystatechange=function(){d(e),t.onreadystatechange=null,o.removeChild(t),t=null},o.appendChild(t)}):r=function(e){setTimeout(d,0,e)}:(a="setImmediate$"+Math.random()+"$",s=function(t){t.source===e&&"string"==typeof t.data&&0===t.data.indexOf(a)&&d(+t.data.slice(a.length))},e.addEventListener?e.addEventListener("message",s,!1):e.attachEvent("onmessage",s),r=function(t){e.postMessage(a+t,"*")}),p.setImmediate=function(e){"function"!=typeof e&&(e=new Function(""+e));for(var t=new Array(arguments.length-1),n=0;n","license":"BSD-3-Clause","dependencies":{"better-ajv-errors":"^0.6.1","call-me-maybe":"^1.0.1","node-fetch-h2":"^2.3.0","node-readfiles":"^0.2.0","oas-kit-common":"^1.0.7","oas-resolver":"^2.2.5","oas-schema-walker":"^1.1.2","oas-validator":"^3.3.1","reftools":"^1.0.8","yaml":"^1.3.1","yargs":"^12.0.5"},"keywords":["swagger","openapi","openapi2","openapi3","converter","conversion","validator","validation","resolver","lint","linter"],"gitHead":"bb9737783f5c8e192bdf2cc33edcaec1f7fa5720"}')},function(e,t,n){"use strict";n.r(t);n(164);
+/**
+ * @license
+ * Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
+ * This code may only be used under the BSD style license found at
+ * http://polymer.github.io/LICENSE.txt
+ * The complete set of authors may be found at
+ * http://polymer.github.io/AUTHORS.txt
+ * The complete set of contributors may be found at
+ * http://polymer.github.io/CONTRIBUTORS.txt
+ * Code distributed by Google as part of the polymer project is also
+ * subject to an additional IP rights grant found at
+ * http://polymer.github.io/PATENTS.txt
+ */const r=new WeakMap,o=e=>"function"==typeof e&&r.has(e),i=void 0!==window.customElements&&void 0!==window.customElements.polyfillWrapFlushCallback,a=(e,t,n=null)=>{let r=t;for(;r!==n;){const t=r.nextSibling;e.removeChild(r),r=t}},s={},u={},c=`{{lit-${String(Math.random()).slice(2)}}}`,l=`\x3c!--${c}--\x3e`,f=new RegExp(`${c}|${l}`),p="$lit$";class h{constructor(e,t){this.parts=[],this.element=t;let n=-1,r=0;const o=[],i=t=>{const a=t.content,s=document.createTreeWalker(a,133,null,!1);let u=0;for(;s.nextNode();){n++;const t=s.currentNode;if(1===t.nodeType){if(t.hasAttributes()){const o=t.attributes;let i=0;for(let e=0;e=0&&i++;for(;i-- >0;){const o=e.strings[r],i=m.exec(o)[2],a=i.toLowerCase()+p,s=t.getAttribute(a).split(f);this.parts.push({type:"attribute",index:n,name:i,strings:s}),t.removeAttribute(a),r+=s.length-1}}"TEMPLATE"===t.tagName&&i(t)}else if(3===t.nodeType){const e=t.data;if(e.indexOf(c)>=0){const i=t.parentNode,a=e.split(f),s=a.length-1;for(let e=0;e-1!==e.index,v=()=>document.createComment(""),m=/([ \x09\x0a\x0c\x0d])([^\0-\x1F\x7F-\x9F \x09\x0a\x0c\x0d"'>=\/]+)([ \x09\x0a\x0c\x0d]*=[ \x09\x0a\x0c\x0d]*(?:[^ \x09\x0a\x0c\x0d"'`<>=]*|"[^"]*|'[^']*))$/;
+/**
+ * @license
+ * Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
+ * This code may only be used under the BSD style license found at
+ * http://polymer.github.io/LICENSE.txt
+ * The complete set of authors may be found at
+ * http://polymer.github.io/AUTHORS.txt
+ * The complete set of contributors may be found at
+ * http://polymer.github.io/CONTRIBUTORS.txt
+ * Code distributed by Google as part of the polymer project is also
+ * subject to an additional IP rights grant found at
+ * http://polymer.github.io/PATENTS.txt
+ */
+class y{constructor(e,t,n){this._parts=[],this.template=e,this.processor=t,this.options=n}update(e){let t=0;for(const n of this._parts)void 0!==n&&n.setValue(e[t]),t++;for(const e of this._parts)void 0!==e&&e.commit()}_clone(){const e=i?this.template.element.content.cloneNode(!0):document.importNode(this.template.element.content,!0),t=this.template.parts;let n=0,r=0;const o=e=>{const i=document.createTreeWalker(e,133,null,!1);let a=i.nextNode();for(;nnull===e||!("object"==typeof e||"function"==typeof e);class w{constructor(e,t,n){this.dirty=!0,this.element=e,this.name=t,this.strings=n,this.parts=[];for(let e=0;ethis.handleEvent(e)}setValue(e){this._pendingValue=e}commit(){for(;o(this._pendingValue);){const e=this._pendingValue;this._pendingValue=s,e(this)}if(this._pendingValue===s)return;const e=this._pendingValue,t=this.value,n=null==e||null!=t&&(e.capture!==t.capture||e.once!==t.once||e.passive!==t.passive),r=null!=e&&(null==t||n);n&&this.element.removeEventListener(this.eventName,this._boundHandleEvent,this._options),r&&(this._options=T(e),this.element.addEventListener(this.eventName,this._boundHandleEvent,this._options)),this.value=e,this._pendingValue=s}handleEvent(e){"function"==typeof this.value?this.value.call(this.eventContext||this.element,e):this.value.handleEvent(e)}}const T=e=>e&&(E?{capture:e.capture,passive:e.passive,once:e.once}:e.capture);
+/**
+ * @license
+ * Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
+ * This code may only be used under the BSD style license found at
+ * http://polymer.github.io/LICENSE.txt
+ * The complete set of authors may be found at
+ * http://polymer.github.io/AUTHORS.txt
+ * The complete set of contributors may be found at
+ * http://polymer.github.io/CONTRIBUTORS.txt
+ * Code distributed by Google as part of the polymer project is also
+ * subject to an additional IP rights grant found at
+ * http://polymer.github.io/PATENTS.txt
+ */const j=new class{handleAttributeExpressions(e,t,n,r){const o=t[0];if("."===o){return new O(e,t.slice(1),n).parts}return"@"===o?[new A(e,t.slice(1),r.eventContext)]:"?"===o?[new S(e,t.slice(1),n)]:new w(e,t,n).parts}handleTextExpression(e){return new _(e)}};
+/**
+ * @license
+ * Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
+ * This code may only be used under the BSD style license found at
+ * http://polymer.github.io/LICENSE.txt
+ * The complete set of authors may be found at
+ * http://polymer.github.io/AUTHORS.txt
+ * The complete set of contributors may be found at
+ * http://polymer.github.io/CONTRIBUTORS.txt
+ * Code distributed by Google as part of the polymer project is also
+ * subject to an additional IP rights grant found at
+ * http://polymer.github.io/PATENTS.txt
+ */function C(e){let t=P.get(e.type);void 0===t&&(t={stringsArray:new WeakMap,keyString:new Map},P.set(e.type,t));let n=t.stringsArray.get(e.strings);if(void 0!==n)return n;const r=e.strings.join(c);return void 0===(n=t.keyString.get(r))&&(n=new h(e,e.getTemplateElement()),t.keyString.set(r,n)),t.stringsArray.set(e.strings,n),n}const P=new Map,R=new WeakMap;
+/**
+ * @license
+ * Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
+ * This code may only be used under the BSD style license found at
+ * http://polymer.github.io/LICENSE.txt
+ * The complete set of authors may be found at
+ * http://polymer.github.io/AUTHORS.txt
+ * The complete set of contributors may be found at
+ * http://polymer.github.io/CONTRIBUTORS.txt
+ * Code distributed by Google as part of the polymer project is also
+ * subject to an additional IP rights grant found at
+ * http://polymer.github.io/PATENTS.txt
+ */
+/**
+ * @license
+ * Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
+ * This code may only be used under the BSD style license found at
+ * http://polymer.github.io/LICENSE.txt
+ * The complete set of authors may be found at
+ * http://polymer.github.io/AUTHORS.txt
+ * The complete set of contributors may be found at
+ * http://polymer.github.io/CONTRIBUTORS.txt
+ * Code distributed by Google as part of the polymer project is also
+ * subject to an additional IP rights grant found at
+ * http://polymer.github.io/PATENTS.txt
+ */
+(window.litHtmlVersions||(window.litHtmlVersions=[])).push("1.0.0");const L=(e,...t)=>new g(e,t,"html",j),N=133;function M(e,t){const{element:{content:n},parts:r}=e,o=document.createTreeWalker(n,N,null,!1);let i=U(r),a=r[i],s=-1,u=0;const c=[];let l=null;for(;o.nextNode();){s++;const e=o.currentNode;for(e.previousSibling===l&&(l=null),t.has(e)&&(c.push(e),null===l&&(l=e)),null!==l&&u++;void 0!==a&&a.index===s;)a.index=null!==l?-1:a.index-u,a=r[i=U(r,i)]}c.forEach(e=>e.parentNode.removeChild(e))}const I=e=>{let t=11===e.nodeType?0:1;const n=document.createTreeWalker(e,N,null,!1);for(;n.nextNode();)t++;return t},U=(e,t=-1)=>{for(let n=t+1;n`${e}--${t}`;let q=!0;void 0===window.ShadyCSS?q=!1:void 0===window.ShadyCSS.prepareTemplateDom&&(console.warn("Incompatible ShadyCSS version detected.Please update to at least @webcomponents/webcomponentsjs@2.0.2 and@webcomponents/shadycss@1.3.1."),q=!1);const B=e=>t=>{const n=D(t.type,e);let r=P.get(n);void 0===r&&(r={stringsArray:new WeakMap,keyString:new Map},P.set(n,r));let o=r.stringsArray.get(t.strings);if(void 0!==o)return o;const i=t.strings.join(c);if(void 0===(o=r.keyString.get(i))){const n=t.getTemplateElement();q&&window.ShadyCSS.prepareTemplateDom(n,e),o=new h(t,n),r.keyString.set(i,o)}return r.stringsArray.set(t.strings,o),o},z=["html","svg"],F=new Set,$=(e,t,n)=>{F.add(n);const r=e.querySelectorAll("style");if(0===r.length)return void window.ShadyCSS.prepareTemplateStyles(t.element,n);const o=document.createElement("style");for(let e=0;e{z.forEach(t=>{const n=P.get(D(t,e));void 0!==n&&n.keyString.forEach(e=>{const{element:{content:t}}=e,n=new Set;Array.from(t.querySelectorAll("style")).forEach(e=>{n.add(e)}),M(e,n)})})})(n),function(e,t,n=null){const{element:{content:r},parts:o}=e;if(null==n)return void r.appendChild(t);const i=document.createTreeWalker(r,N,null,!1);let a=U(o),s=0,u=-1;for(;i.nextNode();){for(u++,i.currentNode===n&&(s=I(t),n.parentNode.insertBefore(t,n));-1!==a&&o[a].index===u;){if(s>0){for(;-1!==a;)o[a].index+=s,a=U(o,a);return}a=U(o,a)}}}(t,o,t.element.content.firstChild),window.ShadyCSS.prepareTemplateStyles(t.element,n),window.ShadyCSS.nativeShadow){const n=t.element.content.querySelector("style");e.insertBefore(n.cloneNode(!0),e.firstChild)}else{t.element.content.insertBefore(o,t.element.content.firstChild);const e=new Set;e.add(o),M(t,e)}};window.JSCompiler_renameProperty=(e,t)=>e;const W={toAttribute(e,t){switch(t){case Boolean:return e?"":null;case Object:case Array:return null==e?e:JSON.stringify(e)}return e},fromAttribute(e,t){switch(t){case Boolean:return null!==e;case Number:return null===e?null:Number(e);case Object:case Array:return JSON.parse(e)}return e}},H=(e,t)=>t!==e&&(t==t||e==e),Y={attribute:!0,type:String,converter:W,reflect:!1,hasChanged:H},V=Promise.resolve(!0),K=1,J=4,G=8,Q=16,Z=32,X="finalized";class ee extends HTMLElement{constructor(){super(),this._updateState=0,this._instanceProperties=void 0,this._updatePromise=V,this._hasConnectedResolver=void 0,this._changedProperties=new Map,this._reflectingProperties=void 0,this.initialize()}static get observedAttributes(){this.finalize();const e=[];return this._classProperties.forEach((t,n)=>{const r=this._attributeNameForProperty(n,t);void 0!==r&&(this._attributeToPropertyMap.set(r,n),e.push(r))}),e}static _ensureClassProperties(){if(!this.hasOwnProperty(JSCompiler_renameProperty("_classProperties",this))){this._classProperties=new Map;const e=Object.getPrototypeOf(this)._classProperties;void 0!==e&&e.forEach((e,t)=>this._classProperties.set(t,e))}}static createProperty(e,t=Y){if(this._ensureClassProperties(),this._classProperties.set(e,t),t.noAccessor||this.prototype.hasOwnProperty(e))return;const n="symbol"==typeof e?Symbol():`__${e}`;Object.defineProperty(this.prototype,e,{get(){return this[n]},set(t){const r=this[e];this[n]=t,this._requestUpdate(e,r)},configurable:!0,enumerable:!0})}static finalize(){const e=Object.getPrototypeOf(this);if(e.hasOwnProperty(X)||e.finalize(),this[X]=!0,this._ensureClassProperties(),this._attributeToPropertyMap=new Map,this.hasOwnProperty(JSCompiler_renameProperty("properties",this))){const e=this.properties,t=[...Object.getOwnPropertyNames(e),..."function"==typeof Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e):[]];for(const n of t)this.createProperty(n,e[n])}}static _attributeNameForProperty(e,t){const n=t.attribute;return!1===n?void 0:"string"==typeof n?n:"string"==typeof e?e.toLowerCase():void 0}static _valueHasChanged(e,t,n=H){return n(e,t)}static _propertyValueFromAttribute(e,t){const n=t.type,r=t.converter||W,o="function"==typeof r?r:r.fromAttribute;return o?o(e,n):e}static _propertyValueToAttribute(e,t){if(void 0===t.reflect)return;const n=t.type,r=t.converter;return(r&&r.toAttribute||W.toAttribute)(e,n)}initialize(){this._saveInstanceProperties(),this._requestUpdate()}_saveInstanceProperties(){this.constructor._classProperties.forEach((e,t)=>{if(this.hasOwnProperty(t)){const e=this[t];delete this[t],this._instanceProperties||(this._instanceProperties=new Map),this._instanceProperties.set(t,e)}})}_applyInstanceProperties(){this._instanceProperties.forEach((e,t)=>this[t]=e),this._instanceProperties=void 0}connectedCallback(){this._updateState=this._updateState|Z,this._hasConnectedResolver&&(this._hasConnectedResolver(),this._hasConnectedResolver=void 0)}disconnectedCallback(){}attributeChangedCallback(e,t,n){t!==n&&this._attributeToProperty(e,n)}_propertyToAttribute(e,t,n=Y){const r=this.constructor,o=r._attributeNameForProperty(e,n);if(void 0!==o){const e=r._propertyValueToAttribute(t,n);if(void 0===e)return;this._updateState=this._updateState|G,null==e?this.removeAttribute(o):this.setAttribute(o,e),this._updateState=this._updateState&~G}}_attributeToProperty(e,t){if(this._updateState&G)return;const n=this.constructor,r=n._attributeToPropertyMap.get(e);if(void 0!==r){const e=n._classProperties.get(r)||Y;this._updateState=this._updateState|Q,this[r]=n._propertyValueFromAttribute(t,e),this._updateState=this._updateState&~Q}}_requestUpdate(e,t){let n=!0;if(void 0!==e){const r=this.constructor,o=r._classProperties.get(e)||Y;r._valueHasChanged(this[e],t,o.hasChanged)?(this._changedProperties.has(e)||this._changedProperties.set(e,t),!0!==o.reflect||this._updateState&Q||(void 0===this._reflectingProperties&&(this._reflectingProperties=new Map),this._reflectingProperties.set(e,o))):n=!1}!this._hasRequestedUpdate&&n&&this._enqueueUpdate()}requestUpdate(e,t){return this._requestUpdate(e,t),this.updateComplete}async _enqueueUpdate(){let e,t;this._updateState=this._updateState|J;const n=this._updatePromise;this._updatePromise=new Promise((n,r)=>{e=n,t=r});try{await n}catch(e){}this._hasConnected||await new Promise(e=>this._hasConnectedResolver=e);try{const e=this.performUpdate();null!=e&&await e}catch(e){t(e)}e(!this._hasRequestedUpdate)}get _hasConnected(){return this._updateState&Z}get _hasRequestedUpdate(){return this._updateState&J}get hasUpdated(){return this._updateState&K}performUpdate(){this._instanceProperties&&this._applyInstanceProperties();let e=!1;const t=this._changedProperties;try{(e=this.shouldUpdate(t))&&this.update(t)}catch(t){throw e=!1,t}finally{this._markUpdated()}e&&(this._updateState&K||(this._updateState=this._updateState|K,this.firstUpdated(t)),this.updated(t))}_markUpdated(){this._changedProperties=new Map,this._updateState=this._updateState&~J}get updateComplete(){return this._getUpdateComplete()}_getUpdateComplete(){return this._updatePromise}shouldUpdate(e){return!0}update(e){void 0!==this._reflectingProperties&&this._reflectingProperties.size>0&&(this._reflectingProperties.forEach((e,t)=>this._propertyToAttribute(t,this[t],e)),this._reflectingProperties=void 0)}updated(e){}firstUpdated(e){}}ee[X]=!0;const te="adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,ne=Symbol();class re{constructor(e,t){if(t!==ne)throw new Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=e}get styleSheet(){return void 0===this._styleSheet&&(te?(this._styleSheet=new CSSStyleSheet,this._styleSheet.replaceSync(this.cssText)):this._styleSheet=null),this._styleSheet}toString(){return this.cssText}}const oe=(e,...t)=>{const n=t.reduce((t,n,r)=>t+(e=>{if(e instanceof re)return e.cssText;if("number"==typeof e)return e;throw new Error(`Value passed to 'css' function must be a 'css' function result: ${e}. Use 'unsafeCSS' to pass non-literal values, but\n take care to ensure page security.`)})(n)+e[r+1],e[0]);return new re(n,ne)};
+/**
+ * @license
+ * Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
+ * This code may only be used under the BSD style license found at
+ * http://polymer.github.io/LICENSE.txt
+ * The complete set of authors may be found at
+ * http://polymer.github.io/AUTHORS.txt
+ * The complete set of contributors may be found at
+ * http://polymer.github.io/CONTRIBUTORS.txt
+ * Code distributed by Google as part of the polymer project is also
+ * subject to an additional IP rights grant found at
+ * http://polymer.github.io/PATENTS.txt
+ */
+(window.litElementVersions||(window.litElementVersions=[])).push("2.2.1");const ie=e=>e.flat?e.flat(1/0):function e(t,n=[]){for(let r=0,o=t.length;r(e.add(t),e),new Set).forEach(e=>t.unshift(e))}else e&&t.push(e);return t}initialize(){super.initialize(),this.renderRoot=this.createRenderRoot(),window.ShadowRoot&&this.renderRoot instanceof window.ShadowRoot&&this.adoptStyles()}createRenderRoot(){return this.attachShadow({mode:"open"})}adoptStyles(){const e=this.constructor._styles;0!==e.length&&(void 0===window.ShadyCSS||window.ShadyCSS.nativeShadow?te?this.renderRoot.adoptedStyleSheets=e.map(e=>e.styleSheet):this._needsShimAdoptedStyleSheets=!0:window.ShadyCSS.ScopingShim.prepareAdoptedCssText(e.map(e=>e.cssText),this.localName))}connectedCallback(){super.connectedCallback(),this.hasUpdated&&void 0!==window.ShadyCSS&&window.ShadyCSS.styleElement(this)}update(e){super.update(e);const t=this.render();t instanceof g&&this.constructor.render(t,this.renderRoot,{scopeName:this.localName,eventContext:this}),this._needsShimAdoptedStyleSheets&&(this._needsShimAdoptedStyleSheets=!1,this.constructor._styles.forEach(e=>{const t=document.createElement("style");t.textContent=e.cssText,this.renderRoot.appendChild(t)}))}render(){}}ae.finalized=!0,ae.render=(e,t,n)=>{const r=n.scopeName,o=R.has(t),i=t instanceof ShadowRoot&&q&&e instanceof g,s=i&&!F.has(r),u=s?document.createDocumentFragment():t;if(((e,t,n)=>{let r=R.get(t);void 0===r&&(a(t,t.firstChild),R.set(t,r=new _(Object.assign({templateFactory:C},n))),r.appendInto(t)),r.setValue(e),r.commit()})(e,u,Object.assign({templateFactory:B(r)},n)),s){const e=R.get(u);R.delete(u),e.value instanceof y&&$(u,e.value.template,r),a(t,t.firstChild),t.appendChild(u),R.set(t,e)}!o&&i&&window.ShadyCSS.styleElement(t.host)};
+/**
+ * @license
+ * Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
+ * This code may only be used under the BSD style license found at
+ * http://polymer.github.io/LICENSE.txt
+ * The complete set of authors may be found at
+ * http://polymer.github.io/AUTHORS.txt
+ * The complete set of contributors may be found at
+ * http://polymer.github.io/CONTRIBUTORS.txt
+ * Code distributed by Google as part of the polymer project is also
+ * subject to an additional IP rights grant found at
+ * http://polymer.github.io/PATENTS.txt
+ */
+const se=new WeakMap,ue=(e=>(...t)=>{const n=e(...t);return r.set(n,!0),n})(e=>t=>{if(!(t instanceof _))throw new Error("unsafeHTML can only be used in text bindings");const n=se.get(t);if(void 0!==n&&b(e)&&e===n.value&&t.value===n.fragment)return;const r=document.createElement("template");r.innerHTML=e;const o=document.importNode(r.content,!0);t.setValue(o),se.set(t,{value:e,fragment:o})});var ce=n(6),le=n.n(ce);function fe(){var e=function(e,t){t||(t=e.slice(0));return Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}([""]);return fe=function(){return e},e}var pe=L(fe()),he={color:{inputReverseFg:"#fff",inputReverseBg:"#333",headerBg:"#444",getRgb(e){if(0===e.indexOf("#")&&(e=e.slice(1)),3===e.length&&(e=e[0]+e[0]+e[1]+e[1]+e[2]+e[2]),6!==e.length)throw new Error("Invalid HEX color.");return{r:parseInt(e.slice(0,2),16),g:parseInt(e.slice(2,4),16),b:parseInt(e.slice(4,6),16)}},invert(e){var t=this.getRgb(e);return.299*t.r+.587*t.g+.114*t.b>186?"#333":"#fff"},opacity(e,t){var n=this.getRgb(e);return"rgba(".concat(n.r,", ").concat(n.r,", ").concat(n.r,", ").concat(t,")")},brightness(e,t){var n=this.getRgb(e);return n.r+=t,n.g+=t,n.b+=t,n.r>255?n.r=255:n.r<0&&(n.r=0),n.g>255?n.g=255:n.g<0&&(n.g=0),n.b>255?n.b=255:n.b<0&&(n.b=0),"#".concat(n.r.toString(16).padStart(2,"0")).concat(n.g.toString(16).padStart(2,"0")).concat(n.b.toString(16).padStart(2,"0"))}}};function de(){var e=function(e,t){t||(t=e.slice(0));return Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}(['']);return de=function(){return e},e}var ve=L(de(),he.color.inputReverseBg,he.color.inputReverseFg);function me(){var e=function(e,t){t||(t=e.slice(0));return Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}([""]);return me=function(){return e},e}var ye=L(me());function ge(){var e=function(e,t){t||(t=e.slice(0));return Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}([""]);return ge=function(){return e},e}var be=L(ge()),we=n(163),xe=n.n(we),_e=n(95),Se=n.n(_e);function Oe(e,t,n,r,o,i,a){try{var s=e[i](a),u=s.value}catch(e){return void n(e)}s.done?t(u):Promise.resolve(u).then(r,o)}function ke(){var e;return e=function*(e){var t,n,r,o="",i={patch:!0,warnOnly:!0};try{"string"==typeof e?(o=(n=yield Se.a.convertUrl(e,i)).source.trim()).startsWith("/")&&(o=new URL(".".concat(o),window.location.href).pathname):(n=yield Se.a.convertObj(e,i),o=new URL(window.location.href).pathname),r={resolveCirculars:!1,location:o},t=(yield xe.a.resolveRefs(n.openapi,r)).resolved}catch(e){console.info("%c There was an issue while parsing the spec %o ","color:orangered",e)}var a,s,u=function(e){var t=["get","put","post","delete","patch","head"],n=[],r=function(r){var o=e.paths[r].parameters,i={summary:e.paths[r].summary,description:e.paths[r].description,servers:e.paths[r].servers?e.paths[r].servers:[],parameters:e.paths[r].parameters?e.paths[r].parameters:[]};t.forEach(t=>{var a,s,u;if(e.paths[r][t]){var c=e.paths[r][t];if(c.tags)s=c.tags[0],e.tags&&(u=e.tags.find(e=>e.name===s));else{var l=r.indexOf("/",1);-1===l?l=r.length-1:l-=1,s=r.substr(1,l)}(a=n.find(e=>e.name===s))||(a={show:!0,name:s,description:u?u.description:"",paths:[]},n.push(a));var f=c.summary?c.summary:"",p=c.description?c.description:"";if(!f&&p)if(p.length>100){var h=-1;(-1===(h=p.indexOf("\n"))||h>100)&&(h=p.indexOf(". ")),(-1===h||h>100)&&(h=p.indexOf(".")),f=-1===h||h>100?p:p.substr(0,h)}else f=p;var d=[];d=o?c.parameters?o.filter(e=>{if(!c.parameters.some(t=>e.name===t.name&&e.in===t.in))return e}).concat(c.parameters):o.slice(0):c.parameters?c.parameters.slice(0):[],a.paths.push({show:!0,expanded:!1,expandedAtLeastOnce:!1,summary:f,method:t,description:c.description,path:r,operationId:c.operationId,requestBody:c.requestBody,parameters:d,servers:c.servers?i.servers.concat(c.servers):i.servers,responses:c.responses,deprecated:c.deprecated,security:c.security,commonSummary:i.summary,commonDescription:i.description})}})};for(var o in e.paths)r(o);return n.sort((e,t)=>e.namet.name?1:0),n}(t),c=function(e){var t=[];for(var n in e.paths)e.paths[n].path=n,e.paths[n].expanded=!1,e.paths[n].activeMethod="no-active-method",t.push(e.paths[n]);return t}(t);return a=t.components?t.components.securitySchemes:{},t.servers?t.servers.map(e=>{var t=e.url.trim().toLowerCase();e.url&&"http"!==t.substr(0,4)&&("//"===t.substr(0,2)?e.url=window.location.protocol+e.url:e.url=window.location.origin+e.url)}):t.servers=[{url:window.location.origin}],s=t.servers,{info:t.info,tags:u,pathGroups:c,externalDocs:t.externalDocs,securitySchemes:a,servers:s,basePath:t.basePath}},(ke=function(){var t=this,n=arguments;return new Promise(function(r,o){var i=e.apply(t,n);function a(e){Oe(i,r,o,a,s,"next",e)}function s(e){Oe(i,r,o,a,s,"throw",e)}a(void 0)})}).apply(this,arguments)}function Ee(){var e=function(e,t){t||(t=e.slice(0));return Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}(['']);return Ee=function(){return e},e}function Ae(){var e=function(e,t){t||(t=e.slice(0));return Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}([""]);return Ae=function(){return e},e}customElements.define("m-logo",class extends ae{render(){return L(Ee())}});var Te=L(Ae());function je(e){if(e){var t={type:e.$ref?"{recursive}":e.enum?"enum":e.type,format:e.format?e.format:"",constrain:"",pattern:e.pattern&&!e.enum?e.pattern:"",readOnly:e.readOnly?"🆁":"",writeOnly:e.writeOnly?"🆆":"",depricated:e.deprecated?"❌":"",default:0===e.default?"0 ":e.default?e.default:"",arrayType:"",allowedValues:"",description:e.description?e.description:"",html:""};if("{recursive}"===t.type&&(t.description=e.$ref.substring(e.$ref.lastIndexOf("/")+1)),e.enum){var n="";e.enum.map(e=>{n+="".concat(e,", ")}),t.allowedValues=n.slice(0,-2)}if("array"===e.type&&e.items){var r=e.items;if(t.arrayType="".concat(e.type," of ").concat(r.type),t.default=0===r.default?"0 ":r.default?r.default:"",r.enum){var o="";r.enum.map(e=>{o+="".concat(e,", ")}),t.allowedValues=o.slice(0,-2)}}else"integer"===e.type||"number"===e.type?(void 0!==e.minimum&&void 0!==e.maximum?t.constrain="".concat(e.exclusiveMinimum?">":"").concat(e.minimum," ⋯ ").concat(e.exclusiveMaximum?"<":""," ").concat(e.maximum):void 0!==e.minimum&&void 0===e.maximum?t.constrain="".concat(e.exclusiveMinimum?">":">=").concat(e.minimum):void 0===e.minimum&&void 0!==e.maximum&&(t.constrain="".concat(e.exclusiveMaximum?"<":"<=").concat(e.maximum)),void 0!==e.multipleOf&&(t.constrain="(multiple of ".concat(e.multipleOf,")"))):"string"===e.type&&(void 0!==e.minLength&&void 0!==e.maxLength?t.constrain="(".concat(e.minLength," to ").concat(e.maxLength," chars)"):void 0!==e.minLength&&void 0===e.maxLength?t.constrain="min ".concat(e.minLength," chars"):void 0===e.minLength&&void 0!==e.maxLength&&(t.constrain="max ".concat(e.maxLength," chars")));var i="".concat(t.format?t.format:t.type),a="";return t.readOnly&&(a+="🆁"),t.writeOnly&&(a+="🆆"),t.deprecated&&(a+="❌"),i+="~|~".concat(a," ").concat(t.constrain,"~|~").concat("enum"===t.type?t.allowedValues:t.pattern,"~|~").concat(t.description),t.html=i,t}}function Ce(e){if(e.example)return e.example;if(0===Object.keys(e).length)return null;var t=e.format||e.type||(e.enum?"enum":null);switch(t||(e.enum?t="enum":e.anyOf?t="anyOf":e.oneOf&&(t="oneOf")),t){case"int32":case"int64":case"integer":return 0;case"float":case"double":case"number":return.5;case"string":return e.enum?e.enum[0]:e.pattern?e.pattern:"string";case"url":case"uri":return"http://example.com";case"byte":return btoa("string");case"binary":return"binary";case"boolean":return!1;case"date":return new Date(0).toISOString().split("T")[0];case"date-time":case"dateTime":return new Date(0).toISOString();case"password":return"password";case"enum":return e.enum[0];case"uuid":return"3fa85f64-5717-4562-b3fc-2c963f66afa6";case"email":return"user@example.com";case"hostname":return"example.com";case"ipv4":return"198.51.100.42";case"ipv6":return"2001:0db8:5b96:0000:0000:426f:8e17:642a";default:return e.nullable?null:e.$ref?"data of type ".concat(e.$ref):"?"}}function Pe(e,t){if(null!=e){if("object"===e.type||e.properties)for(var n in e.description&&(t[":description"]=e.description),e.properties)e.required&&e.required.includes(n)?t["".concat(n,"*")]=Pe(e.properties[n],{}):t[n]=Pe(e.properties[n],{});else if("array"===e.type||e.items)t=[Pe(e.items,{})];else if(e.allOf){var r={};if(1===e.allOf.length&&!e.allOf[0].properties&&!e.allOf[0].items){var o=e.allOf[0];return"".concat(je(o).html)}e.allOf.map(e=>{if("object"===e.type||e.properties||e.allOf||e.anyOf||e.oneOf){var t=Pe(e,{});Object.assign(r,t)}else if("array"===e.type||e.items){var n=[Pe(e,{})];Object.assign(r,n)}else{if(!e.type)return"";var o="prop".concat(Object.keys(r).length),i=je(e);r[o]="".concat(i.html)}}),t=r}else{if(!e.anyOf&&!e.oneOf){var i=je(e);return i.html?"".concat(i.html):""}var a=1,s={};e[e.anyOf?"anyOf":"oneOf"].map(e=>{if("object"===e.type||e.properties||e.allOf||e.anyOf||e.oneOf){var t=Pe(e,{});s["OPTION_".concat(a)]=t,a++}else if("array"===e.type||e.items){var n=[Pe(e,{})];Object.assign(s,n)}else{var r="prop".concat(Object.keys(s).length);s[r]="".concat(je(e).html)}}),t[e.anyOf?"ANY_OF":"ONE_OF"]=s}return t}}function Re(e,t,n,r){var o=!(arguments.length>4&&void 0!==arguments[4])||arguments[4],i=arguments.length>5?arguments[5]:void 0,a=[];if(e)for(var s in e){var u="";u=r.toLowerCase().includes("json")&&"text"===i?JSON.stringify(e[s].value,void 0,2):e[s].value,a.push({exampleType:r,exampleValue:u})}else if(t){var c="";c=r.toLowerCase().includes("json")&&"text"===i?JSON.stringify(t,void 0,2):t,a.push({exampleType:r,exampleValue:c})}if(0===a.length)if(n)if(r.toLowerCase().includes("json")||r.toLowerCase().includes("*/*")){var l=function e(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(null!==t){if("object"===t.type||t.properties)for(var o in t.properties)t.properties[o].deprecated||t.properties[o].readOnly&&!r.includeReadOnly||t.properties[o].writeOnly&&!r.includeWriteOnly||(n[o]=e(t.properties[o],{},r));else if("array"===t.type||t.items)n=[e(t.items,{},r)];else if(t.allOf){var i={};if(1===t.allOf.length&&!t.allOf[0].properties&&!t.allOf[0].items)return t.allOf[0].$ref?"{ }":t.allOf[0].readOnly&&r.includeReadOnly?Ce(t.allOf[0]):void 0;t.allOf.map(t=>{if("object"===t.type||t.properties||t.allOf||t.anyOf||t.oneOf){var n=e(t,{},r);Object.assign(i,n)}else if("array"===t.type||t.items){var o=[e(t,{},r)];Object.assign(i,o)}else{if(!t.type)return"";var a="prop".concat(Object.keys(i).length);i[a]=Ce(t)}}),n=i}else if(t.oneOf)t.oneOf.length>0&&(n=e(t.oneOf[0],{},r));else{if(!t.anyOf)return Ce(t);t.anyOf.length>0&&(n=e(t.anyOf[0],{},r))}return n}}(n,{},{includeReadOnly:o,includeWriteOnly:!0,deprecated:!0});a.push({exampleType:r,exampleValue:"text"===i?JSON.stringify(l,void 0,2):l})}else a.push({exampleType:r,exampleValue:""});else a.push({exampleType:r,exampleValue:""});return a}function Le(){var e=ze(['',""]);return Le=function(){return e},e}function Ne(){var e=ze(['"','"']);return Ne=function(){return e},e}function Me(){var e=ze(["",":"]);return Me=function(){return e},e}function Ie(){var e=ze(['',"","
"]);return Ie=function(){return e},e}function Ue(){var e=ze(['','
','
',"
"]);return Ue=function(){return e},e}function De(){var e=ze(["",""]);return De=function(){return e},e}function qe(){var e=ze(['null
']);return qe=function(){return e},e}function Be(){var e=ze(["",'',"
"]);return Be=function(){return e},e}function ze(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function Fe(){var e=ft(["",""]);return Fe=function(){return e},e}function $e(){var e=ft(["",""]);return $e=function(){return e},e}function We(){var e=ft(['',"
"]);return We=function(){return e},e}function He(){var e=ft(["",""]);return He=function(){return e},e}function Ye(){var e=ft(["",""]);return Ye=function(){return e},e}function Ve(){var e=ft(['',""]);return Ve=function(){return e},e}function Ke(){var e=ft(["",":"]);return Ke=function(){return e},e}function Je(){var e=ft(['*',":"]);return Je=function(){return e},e}function Ge(){var e=ft(['',""]);return Ge=function(){return e},e}function Qe(){var e=ft(['',""]);return Qe=function(){return e},e}function Ze(){var e=ft([''," ","
"]);return Ze=function(){return e},e}function Xe(){var e=ft(["",""]);return Xe=function(){return e},e}function et(){var e=ft(['',""]);return et=function(){return e},e}function tt(){var e=ft([""," ",'',"
",""]);return tt=function(){return e},e}function nt(){var e=ft(['',"
"]);return nt=function(){return e},e}function rt(){var e=ft(['',"
"]);return rt=function(){return e},e}function ot(){var e=ft(['']);return ot=function(){return e},e}function it(){var e=ft(['']);return it=function(){return e},e}function at(){var e=ft(["[ ]"]);return at=function(){return e},e}function st(){var e=ft(['{ } ',""]);return st=function(){return e},e}function ut(){var e=ft(["",""]);return ut=function(){return e},e}function ct(){var e=ft(['null
']);return ct=function(){return e},e}function lt(){var e=ft(["",'',"
"]);return lt=function(){return e},e}function ft(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}customElements.define("json-tree",class extends ae{render(){return L(Be(),pe,this.generateTree(this.data))}generateTree(e){if(null===e)return L(qe());if("object"==typeof e){var t=Array.isArray(e)?"array":"pure_object";return 0===Object.keys(e).length?L(De(),Array.isArray(e)?"[ ]":"{ }"):L(Ue(),"array"===t?"array":"object",this.toggleExpand,"array"===t?"[":"{",Object.keys(e).map(n=>L(Ie(),"pure_object"===t?L(Me(),n):"",this.generateTree(e[n]))),"array"===t?"]":"}")}return L("string"==typeof e?Ne():Le(),typeof e,e)}static get properties(){return{data:{type:Object}}}toggleExpand(e){e.target.classList.contains("expanded")?(e.target.classList.add("collapsed"),e.target.classList.remove("expanded"),e.target.innerHTML=e.target.classList.contains("array")?"[...]":"{...}",e.target.nextElementSibling.style.display="none",e.target.nextElementSibling.nextElementSibling.style.display="none"):(e.target.classList.remove("collapsed"),e.target.classList.add("expanded"),e.target.innerHTML=e.target.classList.contains("array")?"[":"{",e.target.nextElementSibling.style.display="block",e.target.nextElementSibling.nextElementSibling.style.display="block")}});function pt(){var e=dt([".tags{\n display:flex;\n flex-wrap: wrap;\n outline: none;\n padding:0;\n border-radius:var(--border-radius);\n border:1px solid var(--input-border-color);\n cursor:text;\n overflow:hidden;\n }\n .tag, .editor{\n padding:3px;\n margin:2px;\n }\n .tag{\n border:1px solid var(--border-color);\n background-color:var(--bg2);\n color:var(--fg2);\n border-radius:var(--border-radius);\n word-break: break-all;\n cursor: none;\n }\n .tag:hover ~ #cursor {\n display: block;\n }\n .editor{\n flex:1;\n border:1px solid transparent;\n background:var(--input-bg);\n color:var(--fg);\n min-width:60px;\n outline: none;\n line-height: inherit;\n font-family:inherit;\n font-size:inherit;\n }\n .editor::placeholder {\n color: var(--placeholder-color);\n opacity:1;\n }"]);return pt=function(){return e},e}function ht(){var e=dt(['']);return ht=function(){return e},e}function dt(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}customElements.define("schema-tree",class extends ae{render(){return L(lt(),pe,this.generateTree(this.data))}generateTree(e){if(null===e)return L(ct());if("object"==typeof e){var t,n,r=Array.isArray(e)?"array":"pure_object";return 0===Object.keys(e).length?L(ut(),Array.isArray(e)?"[ ]":"{ }"):1===Object.keys(e).length&&":description"===Object.keys(e)[0]?L(st(),e[":description"]):"array"===r&&"~|~"===e[0]?L(at()):(Object.keys(e)[0].startsWith("OPTION")||"ANY_OF"===Object.keys(e)[0]||"ONE_OF"===Object.keys(e)[0]?"ANY_OF"===Object.keys(e)[0]||"ONE_OF"===Object.keys(e)[0]?(t=L(it()),n=L(ot())):(n="",t=""):(t=L(rt(),"array"===r?"array":"object",this.toggleExpand,"array"===r?"[":"{"),n=L(nt(),"array"===r?"]":"}")),L(tt(),t,e[":description"]?L(et(),e[":description"]):"",Object.keys(e)[0].startsWith("OPTION")?"":"inside-bracket",Object.keys(e).map(t=>L(Xe(),":description"!==t?L(Ze(),"pure_object"===r?"ANY_OF"===t||"ONE_OF"===t?L(Qe(),t.replace("_"," ")):t.startsWith("OPTION")?L(Ge(),t.replace("OPTION_"," ")):t.endsWith("*")?L(Je(),t.substring(0,t.length-1)):L(Ke(),t):"",this.generateTree(e[t])):"")),n))}return L(Ve(),e?L(Ye(),e.split("~|~").map((e,t)=>L(He(),e?L(We(),0===t?"item-type ".concat(e.replace("{","").substring(0,4)):1===t||2===t?"item-constraints":"m-markdown-small item-descr",3===t?L($e(),ue(le()(e))):L(Fe(),e)):""))):"")}static get properties(){return{data:{type:Object}}}toggleExpand(e){e.target.classList.contains("expanded")?(e.target.classList.add("collapsed"),e.target.classList.remove("expanded"),e.target.innerHTML=e.target.classList.contains("array")?"[...]":"{...}",e.target.parentNode.querySelectorAll(":scope > .obj-content-part").forEach(e=>{e.style.display="none"})):(e.target.classList.remove("collapsed"),e.target.classList.add("expanded"),e.target.innerHTML=e.target.classList.contains("array")?"[":"{",e.target.parentNode.querySelectorAll(":scope > .obj-content-part").forEach(e=>{e.style.display=e.classList.contains("obj-descr")?"inline":"block"}))}});function vt(e,t,n,r,o,i,a){try{var s=e[i](a),u=s.value}catch(e){return void n(e)}s.done?t(u):Promise.resolve(u).then(r,o)}function mt(){var e=Kt(['"]);return mt=function(){return e},e}function yt(){var e=Kt(['']);return yt=function(){return e},e}function gt(){var e=Kt(['Response Status: ','
','
',"
"]);return gt=function(){return e},e}function bt(){var e=Kt(['No Authentication Token provided
']);return bt=function(){return e},e}function wt(){var e=Kt(['Authentication:
send\'',"'
in'","'
with value'","'
"]);return wt=function(){return e},e}function xt(){var e=Kt(['Not Set
']);return xt=function(){return e},e}function _t(){var e=Kt(["",""]);return _t=function(){return e},e}function St(){var e=Kt(['',""]);return St=function(){return e},e}function Ot(){var e=Kt(['']);return Ot=function(){return e},e}function kt(){var e=Kt(['']);return kt=function(){return e},e}function Et(){var e=Kt(['']);return Et=function(){return e},e}function At(){var e=Kt([""," ",""]);return At=function(){return e},e}function Tt(){var e=Kt(["",""]);return Tt=function(){return e},e}function jt(){var e=Kt(['"]);return jt=function(){return e},e}function Ct(){var e=Kt(["",""]);return Ct=function(){return e},e}function Pt(){var e=Kt([''," DATA ","
"," ",""]);return Pt=function(){return e},e}function Rt(){var e=Kt(['"]);return Rt=function(){return e},e}function Lt(){var e=Kt([' | '," |
"]);return Lt=function(){return e},e}function Nt(){var e=Kt(['']);return Nt=function(){return e},e}function Mt(){var e=Kt([''],['']);return Mt=function(){return e},e}function It(){var e=Kt(['',' ',' | ',' | |
',""]);return It=function(){return e},e}function Ut(){var e=Kt(['',"
"]);return Ut=function(){return e},e}function Dt(){var e=Kt(['','
"]);return Dt=function(){return e},e}function qt(){var e=Kt([' | '," |
"]);return qt=function(){return e},e}function Bt(){var e=Kt(["",""]);return Bt=function(){return e},e}function zt(){var e=Kt(["","
"]);return zt=function(){return e},e}function Ft(){var e=Kt(['']);return Ft=function(){return e},e}function $t(){var e=Kt([''],['']);return $t=function(){return e},e}function Wt(){var e=Kt(['*']);return Wt=function(){return e},e}function Ht(){var e=Kt(['',"",' ',' | ',' | '," "," |
",""]);return Ht=function(){return e},e}function Yt(){var e=Kt(["",""]);return Yt=function(){return e},e}function Vt(){var e=Kt([""," "," "," "," ",'REQUEST
'," "," "," "," "," ","
"]);return Vt=function(){return e},e}function Kt(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}customElements.define("tag-input",class extends ae{render(){return L(ht(),this.afterPaste,this.afterKeyDown,this.placeholder)}static get styles(){return[oe(pt())]}static get properties(){return{placeholder:{type:String}}}afterPaste(e){var t=(e.clipboardData||window.clipboardData).getData("Text");console.log(t)}afterKeyDown(e){if(13===e.keyCode){e.stopPropagation(),e.preventDefault();var t=document.createElement("span");""!==e.target.value.trim()&&(t.innerText=e.target.value,e.target.value="",t.classList.add("tag"),t.setAttribute("contenteditable","false"),this.shadowRoot.querySelector(".tags").insertBefore(t,e.target))}else 8===e.keyCode&&0===e.target.selectionStart&&e.target.previousSibling&&e.target.previousSibling.remove()}getValues(){var e=[],t=this.shadowRoot.querySelectorAll(".tag");for(var n of t)e.push(n.innerText);return e}});function Jt(){var e=sn(['']);return Jt=function(){return e},e}function Gt(){var e=sn(['Content-Type: '," (Binary Data)
"]);return Gt=function(){return e},e}function Qt(){var e=sn(['
EXAMPLE: ',""]);return Qt=function(){return e},e}function Zt(){var e=sn(['',' | '," "," |
"]);return Zt=function(){return e},e}function Xt(){var e=sn(['Response Headers:
"]);return Xt=function(){return e},e}function en(){var e=sn(['',': '," ","
",""]);return en=function(){return e},e}function tn(){var e=sn(["",""]);return tn=function(){return e},e}function nn(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function rn(e){for(var t=1;t.title{\n font-family:var(--font-regular);\n font-size:var(--title-font-size);\n font-weight:bold;\n margin-bottom:8px;\n }\n .resp-head{\n vertical-align: middle;\n padding:16px 0 8px;\n }\n .resp-head.divider{\n border-top: 1px solid var(--border-color);\n margin-top:10px;\n }\n .resp-status{ \n font-weight:bold;\n font-size:calc(var(--small-font-size) + 1px);\n }\n .resp-descr{\n font-size:calc(var(--small-font-size) + 1px);\n color:var(--light-fg);\n }\n .top-gap{margin-top:16px;}\n .tab-buttons{\n height:30px;\n border-bottom: 1px solid var(--light-border-color) ;\n align-items: stretch;\n }\n .tab-btn{\n color:var(--fg);\n border:none;\n background-color:transparent;\n cursor:pointer;\n padding:1px;\n outline:none;\n font-size:var(--small-font-size);\n margin-right:16px;\n padding:1px;\n }\n .tab-btn.active{\n border-bottom: 3px solid var(--primary-color);\n font-weight:bold;\n color:var(--primary-color);\n }\n\n .tab-btn:hover{\n color:var(--primary-color);\n }\n .tab-content{\n margin:-1px 0 0 0;\n }\n .descr-text{\n color:var(--light-fg);\n font-family:var(--font-regular);\n }\n .tree{\n padding:16px 2px;\n }\n @media only screen and (min-width: 768px){\n .tree {\n padding:16px;\n }\n }"]);return an=function(){return e},e}function sn(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}customElements.define("api-request",class extends ae{render(){return L(Vt(),be,ve,pe,ye,Te,this.inputParametersTemplate("path"),this.inputParametersTemplate("query"),this.requestBodyTemplate(),this.inputParametersTemplate("header"),this.inputParametersTemplate("cookie"),"false"===this.allowTry?"":L(Yt(),this.apiCallTemplate()))}constructor(){super(),this.responseMessage="",this.responseStatus="success",this.responseHeaders="",this.responseText="",this.responseUrl="",this.curlSyntax=""}static get properties(){return{apiKeyName:{type:String,attribute:"api-key-name"},apiKeyValue:{type:String,attribute:"api-key-value"},apiKeyLocation:{type:String,attribute:"api-key-location"},selectedServer:{type:String,attribute:"selected-server"},method:{type:String},path:{type:String},parameters:{type:Array},request_body:{type:Object},parser:{type:Object},accept:{type:String},responseMessage:{type:String,attribute:!1},responseText:{type:String,attribute:!1},responseHeaders:{type:String,attribute:!1},responseStatus:{type:String,attribute:!1},responseUrl:{type:String,attribute:!1},allowTry:{type:String,attribute:"allow-try"}}}inputParametersTemplate(e){var t="",n=this.parameters?this.parameters.filter(t=>t.in===e):[];if(0===n.length)return"";"path"===e?t="PATH PARAMETERS":"query"===e?t="QUERY-STRING PARAMETERS":"header"===e?t="REQUEST HEADERS":"cookie"===e&&(t="COOKIES");var r=[];for(var o of n)if(o.schema){var i=je(o.schema),a="";a=o.example?"0"===o.example||0===o.example?"0":o.example:i.default,r.push(L(Ht(),o.required?L(Wt()):"",o.name,"array"===i.type?"".concat(i.arrayType):"".concat(i.type).concat(i.format?" (".concat(i.format,")"):""),"array"===i.type?L($t(),e,o.name):L(Ft(),o.name,e,a),i.constrain?L(zt(),i.constrain):"",i.allowedValues?L(Bt(),i.allowedValues):"",o.description?L(qt(),ue(le()(o.description||""))):""))}return L(Dt(),t,r)}requestBodyTemplate(){if(!this.request_body)return"";if(0===Object.keys(this.request_body).length)return"";var e=0,t={},n=this.request_body.description?L(Ut(),ue(le()(this.request_body.description||""))):"",r="",o="",i=[],a=!1,s={json:"",xml:""},u=this.request_body.content;for(var c in u){c.includes("json")?t[c]="json":c.includes("xml")?t[c]="xml":c.includes("text/plain")?t[c]="text":c.includes("form-urlencoded")?t[c]="form-urlencoded":c.includes("multipart/form-data")?t[c]="multipart-form-data":c.includes("application/octet-stream")&&(t[c]="octet-stream");var l=u[c],f="";if(c.includes("json")||c.includes("xml")||c.includes("text/plain")){try{l.schema=JSON.parse(JSON.stringify(l.schema))}catch(e){return void console.error("Unable to resolve circular refs in schema",l.schema)}c.includes("json")?s.json=Pe(l.schema,{}):c.includes("xml")&&(s.xml=Pe(l.schema,{})),f=Re(l.schema?l.schema.examples:"",l.schema?l.schema.example:"",l.schema,c,!1,"text"),r+='\n ")}else if(c.includes("form")||c.includes("multipart-form")){for(var p in a=!0,l.schema.properties){var h=l.schema.properties[p],d=h.type,v="array"===h.type?h.items.type:"";i.push(L(It(),p,"array"===d?"".concat(d," of ").concat(v):"".concat(d," ").concat(h.format?" (".concat(h.format,")"):""),"array"===d?L(Mt(),d,p):L(Nt(),"binary"===h.format?"file":"text",p,d),h.description?L(Lt(),ue(le()(h.description||""))):""))}o=L(Rt(),t[c],i)}e++}return L(Pt(),a?"form_data":"body_data",a?"FORM":"BODY",this.request_body.required?"(required)":"",n,a?L(Ct(),o):L(jt(),this.activateTab,1===e?"".concat(Object.keys(t)[0]):L(Tt(),Object.keys(t).map(e=>L(At(),"json"===t[e]?L(Et(),t[e],this.onMimeTypeChange):L(kt(),t[e],this.onMimeTypeChange),t[e]))),ue(r),Object.keys(t).map(e=>L(Ot(),t[e],"json"===t[e]?"block":"none",s[t[e]]))))}apiCallTemplate(){return L(St(),this.selectedServer?L(_t(),this.selectedServer):L(xt()),this.apiKeyValue&&this.apiKeyName?L(wt(),this.apiKeyName,this.apiKeyLocation,"".concat(this.apiKeyValue.substring(0,3),"***")):L(bt()),this.onTryClick,""===this.responseMessage?"":L(gt(),this.responseStatus,this.responseMessage,this.clearResponseData,this.activateTab,this.responseIsBlob?L(yt(),this.downloadResponseBlob):L(mt(),this.responseText),this.responseHeaders,this.curlSyntax))}activateTab(e){if(!e.target.classList.contains("active")&&!1!==e.target.classList.contains("tab-btn")){var t=e.currentTarget.parentNode.querySelector(".tab-btn.active"),n=e.target;t.classList.remove("active"),e.target.classList.add("active");var r=this.shadowRoot.getElementById(n.attributes.content_id.value),o=e.currentTarget.parentNode.querySelectorAll(".tab-content");r&&(r.style.display="flex",o.forEach(e=>{e.attributes.id.value!==n.attributes.content_id.value&&(e.style.display="none")}))}}onMimeTypeChange(e){var t=e.target.closest(".tab-panel").querySelectorAll("textarea.request-body-param"),n=e.target.closest(".tab-panel").querySelectorAll("schema-tree");[...t].map(t=>{t.style.display=t.classList.contains(e.target.value)?"block":"none"}),[...n].map(t=>{t.style.display=t.classList.contains(e.target.value)?"block":"none"})}onTryClick(e){var t,n=this;return(t=function*(){var t,r,o,i=n,a=e.target,s="",u="",c="",l=e.target.closest(".request-panel"),f=[...l.querySelectorAll(".request-param[data-ptype='path']")],p=[...l.querySelectorAll(".request-param[data-ptype='query']")],h=[...l.querySelectorAll(".request-param[data-ptype='header']")],d=[...l.querySelectorAll(".request-form-param")],v=[...l.querySelectorAll(".request-body-param")];t=i.path;var m={mode:"cors",method:n.method.toUpperCase(),headers:{}};if(f.map(e=>{t=t.replace("{".concat(e.dataset.pname,"}"),e.value)}),p.length>0){var y=new URLSearchParams("");p.map(e=>{if("false"===e.dataset.array)""!==e.value&&y.append(e.dataset.pname,e.value);else{var t=e.getValues();for(var n of t)y.append(e.dataset.pname,n)}}),t="".concat(t,"?").concat(y.toString())}if(n.apiKeyValue&&n.apiKeyName&&"query"===n.apiKeyLocation&&(t="".concat(t).concat(t.includes("?")?"&":"?").concat(n.apiKeyName,"=").concat(encodeURIComponent(n.apiKeyValue))),r=!1===(t="".concat(n.selectedServer.replace(/\/$/,"")).concat(t)).startsWith("http")?new URL(t,window.location.href).href:t,o="curl -X ".concat(n.method.toUpperCase(),' "').concat(r,'" '),n.accept&&(m.headers.Accept=n.accept,s+=' -H "Accept: '.concat(n.accept,'"')),h.map(e=>{e.value&&(m.headers[e.dataset.pname]=e.value,s+=' -H "'.concat(m.headers[e.dataset.pname],": ").concat(e.value,'"'))}),n.apiKeyValue&&n.apiKeyName&&"header"===n.apiKeyLocation&&(m.headers[n.apiKeyName]=n.apiKeyValue,s+=' -H "'.concat(n.apiKeyName,": ").concat(n.apiKeyValue,'"')),d.length>=1){var g=l.querySelector("form"),b=new URLSearchParams,w=new FormData;d.map(e=>{if("false"===e.dataset.array)"file"!==e.type?""!==e.value&&(b.append(e.dataset.pname,e.value),w.append(e.dataset.pname,e.value),c+=' -F "'.concat(e.dataset.pname,"=").concat(e.value,'"')):e.files[0]&&(b.append(e.dataset.pname,e.files[0]),w.append(e.dataset.pname,e.files[0]),c="".concat(c,' -F "').concat(e.dataset.pname,"=@").concat(e.value,'"'));else{var t=e.getValues();for(var n of t)b.append(e.dataset.pname,n),w.append(e.dataset.pname,n),c+=' -F "'.concat(e.dataset.pname,"=").concat(n,'"')}}),g.classList.contains("form-urlencoded")?(m.headers["Content-Type"]="application/x-www-form-urlencoded; charset=utf-8",s+=' -H "Content-Type: application/x-www-form-urlencoded"',m.body=b):(s+=' -H "Content-Type: multipart/form-data"',m.body=w)}if(v.length>=1)if(1===v.length)m.headers["Content-Type"]=v[0].dataset.ptype,s+=' -H "Content-Type: '.concat(v[0].dataset.ptype,'"'),m.body=v[0].value,u=" -d ".concat(JSON.stringify(v[0].value.replace(/(\r\n|\n|\r)/gm,"")));else{var x=e.target.closest(".request-panel").querySelector("input[name='request_body_type']:checked"),_=null===x?"json":x.value,S="";"json"===_?(S=l.querySelector(".request-body-param.json").value,m.headers["Content-Type"]="application/json; charset=utf-8",s+=' -H "Content-Type: application/json"'):"xml"===_?(S=l.querySelector(".request-body-param.xml").value,m.headers["Content-Type"]="application/xml; charset=utf-8",s+=' -H "Content-Type: application/xml"'):"text"===_&&(S=l.querySelector(".request-body-param.text").value,m.headers["Content-Type"]="text/plain; charset=utf-8",s+=' -H "Content-Type: text/plain"'),m.body=S,u=" -d ".concat(JSON.stringify(S.replace(/(\r\n|\n|\r)/gm,"")))}i.responseUrl="",i.responseHeaders="",i.curlSyntax="",i.responseStatus="success",i.responseIsBlob=!1,i.respContentDisposition="",i.responseBlobUrl&&(URL.revokeObjectURL(i.responseBlobUrl),i.responseBlobUrl=""),i.curlSyntax="".concat(o," ").concat(s," ").concat(u," ").concat(c);try{a.disabled=!0;var O=yield fetch(t,m);a.disabled=!1,i.responseStatus=O.ok?"success":"error",i.responseMessage="".concat(O.statusText,":").concat(O.status),i.responseUrl=O.url,O.headers.forEach((e,t)=>{i.responseHeaders="".concat(i.responseHeaders).concat(t.trim(),": ").concat(e,"\n")});var k=O.headers.get("content-type");if(k)if(k.includes("json"))O.json().then(e=>{i.responseText=JSON.stringify(e,null,2)});else if(k.includes("octet-stream")){i.responseIsBlob=!0;var E=O.headers.get("content-disposition");i.respContentDisposition=E?E.split("filename=")[1]:"filename",O.blob().then(e=>{i.responseBlobUrl=URL.createObjectURL(e)})}else O.text().then(e=>{i.responseText=e});else O.text().then(e=>{i.responseText=e})}catch(e){a.disabled=!1,i.responseMessage="".concat(e.message," (CORS or Network Issue)")}},function(){var e=this,n=arguments;return new Promise(function(r,o){var i=t.apply(e,n);function a(e){vt(i,r,o,a,s,"next",e)}function s(e){vt(i,r,o,a,s,"throw",e)}a(void 0)})})()}downloadResponseBlob(){if(this.responseBlobUrl){var e=document.createElement("a");document.body.appendChild(e),e.style="display: none",e.href=this.responseBlobUrl,e.download=this.respContentDisposition,e.click(),e.remove()}}clearResponseData(){this.responseUrl="",this.responseHeaders="",this.responseText="",this.responseStatus="success",this.responseMessage="",this.responseIsBlob=!1,this.respContentDisposition="",this.responseBlobUrl&&(URL.revokeObjectURL(this.responseBlobUrl),this.responseBlobUrl="")}disconnectedCallback(){this.responseBlobUrl&&(URL.revokeObjectURL(this.responseBlobUrl),this.responseBlobUrl="")}});function un(){var e=gn([".only-large-screen {\n display:none;\n }\n\n .head .path{\n display: flex;\n font-family:var(--font-mono);\n font-size: var(--small-font-size);\n align-items: center;\n overflow-wrap: break-word;\n word-break: break-all;\n }\n\n .head .descr{\n font-size: var(--small-font-size);\n color:var(--light-fg);\n font-weight:400;\n align-items: center;\n overflow-wrap: break-word;\n word-break: break-all;\n display:none;\n }\n\n .m-endpoint.expanded{margin-bottom:16px; }\n .m-endpoint > .head{\n border-width:1px 1px 1px 5px;\n border-style:solid;\n border-color:transparent;\n border-top-color:var(--light-border-color);\n display:flex;\n padding:6px 16px;\n align-items: center;\n cursor: pointer;\n }\n .m-endpoint > .head.put:hover,\n .m-endpoint > .head.put.expanded{\n border-color:var(--put-color); \n background-color:var(--light-put-color); \n }\n .m-endpoint > .head.post:hover,\n .m-endpoint > .head.post.expanded{\n border-color:var(--post-color); \n background-color:var(--light-post-color); \n }\n .m-endpoint > .head.get:hover,\n .m-endpoint > .head.get.expanded{\n border-color:var(--get-color); \n background-color:var(--light-get-color); \n }\n .m-endpoint > .head.delete:hover,\n .m-endpoint > .head.delete.expanded{\n border-color:var(--delete-color); \n background-color:var(--light-delete-color); \n }\n .m-endpoint > .head.patch:hover,\n .m-endpoint > .head.patch.expanded{\n border-color:var(--patch-color); \n background-color:var(--light-patch-color); \n }\n .m-endpoint .body {\n flex-wrap:wrap;\n padding:16px 0px 0 0px;\n border-width:0px 1px 1px 5px;\n border-style:solid;\n box-shadow: 0px 4px 3px -3px rgba(0, 0, 0, 0.15);\n }\n .m-endpoint .body.delete{ border-color:var(--delete-color); }\n .m-endpoint .body.patch{ border-color:var(--patch-color); }\n .m-endpoint .body.put{ border-color:var(--put-color); }\n .m-endpoint .body.post{border-color:var(--post-color);}\n .m-endpoint .body.get{ border-color:var(--get-color); }\n\n .head .deprecated{\n text-decoration: line-through red;\n }\n\n .summary{\n padding:8px 8px;\n }\n .summary .title{\n font-size:calc(var(--title-font-size) + 2px);\n margin-bottom: 6px;\n word-break: break-all;\n }\n\n .method{\n padding:2px 5px;\n vertical-align: middle;\n height: 20px;\n line-height: 20px;\n min-width: 48px;\n border-radius: 2px;\n display:inline-block;\n font-size:var(--small-font-size);\n text-align: center;\n font-weight: bold;\n text-transform:uppercase;\n margin-right:5px;\n }\n .method.delete{ border: 2px solid var(--delete-color);}\n .method.patch{ border: 2px solid var(--patch-color); }\n .method.put{ border: 2px solid var(--put-color); }\n .method.post{ border: 2px solid var(--post-color); }\n .method.get{ border: 2px solid var(--get-color); }\n\n .req-resp-container{\n display: flex;\n margin-top:16px;\n align-items: stretch;\n flex-wrap: wrap;\n flex-direction: column;\n border-top:1px solid var(--light-border-color);\n }\n .request,\n .response{\n flex:1; \n min-height:100px;\n padding:16px 8px;\n overflow:hidden;\n }\n .request{\n border-width:0 0 1px 0;\n border-style:dashed;\n }\n .patch .request{ \n border-color:var(--patch-color); \n }\n .put .request{ \n border-color:var(--put-color); \n }\n .post .request{ \n border-color:var(--post-color); \n }\n .get .request{ \n border-color:var(--get-color); \n }\n .delete .request{ \n border-color:var(--delete-color); \n }\n\n\n @media only screen and (min-width: 768px){\n .head .path{\n font-size: var(--regular-font-size);\n min-width:400px;\n }\n .head .descr{\n display: flex;\n }\n .head .m-markdown-small,\n .descr .m-markdown-small{\n display:block;\n }\n .only-large-screen{\n display:block;\n }\n .req-resp-container{\n flex-direction: var(--layout, row);\n }\n .request{\n border-width:0 1px 0 0;\n padding:16px 24px;\n }\n .response{\n padding:16px 24px;\n } \n .summary{\n padding:8px 24px;\n }\n }"]);return un=function(){return e},e}function cn(){var e=gn(['',"
"]);return cn=function(){return e},e}function ln(){var e=gn(['"]);return ln=function(){return e},e}function fn(){var e=gn(['']);return fn=function(){return e},e}function pn(){var e=gn(['deprecated']);return pn=function(){return e},e}function hn(){var e=gn(['"]);return hn=function(){return e},e}function dn(){var e=gn([""]);return dn=function(){return e},e}function vn(){var e=gn([""]);return vn=function(){return e},e}function mn(){var e=gn(["",""]);return mn=function(){return e},e}function yn(){var e=gn([""," ",''," ","
"]);return yn=function(){return e},e}function gn(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}customElements.define("api-response",class extends ae{render(){return L(an(),pe,ye,be,ve,this.responseTemplate())}static get properties(){return{responses:{type:Object},parser:{type:Object}}}responseTemplate(){if(!this.responses)return"";var e={},t={},n={};for(var r in this.responses){var o={};for(var i in this.responses[r].content){var a=this.responses[r].content[i],s=Pe(a.schema,{}),u=Re(a.schema?a.schema.examples:"",a.schema?a.schema.example:"",a.schema,i,!0,"json");o[i]={description:this.responses[r].description,examples:u,schemaTree:s},e[r]=i}var c=[];for(var l in this.responses[r].headers)c.push(rn({name:l},this.responses[r].headers[l]));t[r]=c,n[r]=o}return L(tn(),Object.keys(this.responses).map((e,r)=>L(en(),0===r?"top-gap":"divider",e,this.responses[e].description,t[e]&&t[e].length>0?L(Xt(),t[e].map(e=>L(Zt(),e.name,ue(le()(e.description||"")),e.schema&&e.schema.example?L(Qt(),e.schema.example):""))):"",Object.keys(n[e]).map(t=>t.includes("octet-stream")?L(Gt(),t):L(Jt(),e,t,this.activateTab,e,t,e,t,t,e,t,n[e][t].examples[0].exampleValue,e,t,n[e][t].schemaTree)))))}activateTab(e){if(!e.target.classList.contains("active")&&!1!==e.target.classList.contains("tab-btn")){e.currentTarget.parentNode.querySelector(".tab-btn.active").classList.remove("active"),e.target.classList.add("active");var t=e.target.attributes.content_id.value,n=e.currentTarget.parentNode.querySelectorAll(".tab-content");t&&n.forEach(e=>{e.style.display=e.attributes.id.value===t?"flex":"none"})}}});function bn(){var e=xn(['']);return bn=function(){return e},e}function wn(){var e=xn(["",""]);return wn=function(){return e},e}function xn(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}customElements.define("end-point",class extends ae{render(){return L(yn(),pe,window.innerWidth>=768?L(mn(),"row"===this.layout?L(vn()):L(dn())):"",this.path.method,this.path.expanded?"expanded":"collapsed",this.endpointHeadTemplate(),this.path.expanded?this.endpointBodyTemplate():"")}endpointHeadTemplate(){return L(hn(),this.toggleExpand,this.path.method,this.path.expanded?"expanded":"collapsed",this.path.method,this.path.method,this.path.deprecated?"deprecated":"",this.path.path,this.path.deprecated?L(pn()):"",ue(le()(this.path.summary||"")))}endpointBodyTemplate(){return L(fn(),this.path.method,this.path.summary||this.path.description?L(ln(),ue(le()(this.path.summary||"")),this.path.summary!==this.path.description?L(cn(),ue(le()(this.path.description||""))):""):"",this.path.method,this.path.path,this.apiKeyName,this.apiKeyValue,this.apiKeyLocation,this.selectedServer,this.path.parameters,this.path.requestBody,this.allowTry,this.accept,this.path.responses)}static get styles(){return[oe(un())]}constructor(){super(),this.accept=""}static get properties(){return{apiKeyName:{type:String,attribute:"api-key-name"},apiKeyValue:{type:String,attribute:"api-key-value"},apiKeyLocation:{type:String,attribute:"api-key-location"},selectedServer:{type:String,attribute:"selected-server"},layout:{type:String},path:{type:Object},allowTry:{type:String,attribute:"allow-try"}}}toggleExpand(){if(this.path.expanded)this.path.expanded=!1;else{this.path.expanded=!0;var e="";for(var t in this.path.responses)for(var n in this.path.responses[t].content)e="".concat(e+n,", ");e=e.replace(/,\s*$/,""),this.accept=e}this.requestUpdate()}});function _n(){var e=In([".only-large-screen {\n display:none;\n }\n\n .head .path{\n display: flex;\n font-family:var(--font-mono);\n font-size: var(--small-font-size);\n align-items: center;\n overflow-wrap: break-word;\n word-break: break-all;\n }\n\n .m-endpoint.expanded{margin-bottom:16px; }\n .m-endpoint > .head{\n border-width:1px 1px 1px 5px;\n border-style:solid;\n border-color:transparent;\n border-top-color:var(--light-border-color);\n display:flex;\n padding:6px 16px;\n align-items: center;\n }\n .m-endpoint > .head:hover{\n background-color:var(--light-put-color); \n }\n .m-endpoint > .head.expanded{\n cursor: pointer;\n }\n .m-endpoint > .head.get {\n border-color:var(--get-color); \n background-color:var(--light-get-color); \n }\n\n .m-endpoint > .head.put {\n border-color:var(--put-color); \n background-color:var(--light-put-color); \n }\n\n .m-endpoint > .head.post {\n border-color:var(--post-color); \n background-color:var(--light-post-color); \n }\n .m-endpoint > .head.delete {\n border-color:var(--delete-color); \n background-color:var(--light-delete-color); \n }\n .m-endpoint > .head.patch {\n border-color:var(--patch-color); \n background-color:var(--light-patch-color); \n }\n\n\n .m-endpoint .body {\n flex-wrap:wrap;\n padding:16px 0px 0 0px;\n border-width:0px 1px 1px 5px;\n border-style:solid;\n box-shadow: 0px 4px 3px -3px rgba(0, 0, 0, 0.15);\n }\n .m-endpoint .body.delete{ border-color:var(--delete-color); }\n .m-endpoint .body.patch{ border-color:var(--patch-color); }\n .m-endpoint .body.put{ border-color:var(--put-color); }\n .m-endpoint .body.post{border-color:var(--post-color);}\n .m-endpoint .body.get{ border-color:var(--get-color); }\n\n .head .deprecated{\n text-decoration: line-through red;\n }\n\n .summary{\n padding:8px 8px;\n }\n .summary .title{\n font-size:calc(var(--title-font-size) + 2px);\n margin-bottom: 6px;\n word-break: break-all;\n }\n\n .method{\n padding:2px 5px;\n vertical-align: middle;\n height: 20px;\n line-height: 20px;\n min-width: 48px;\n border-radius: 2px;\n display:inline-block;\n font-size:var(--small-font-size);\n text-align: center;\n font-weight: bold;\n text-transform:uppercase;\n margin-right:5px;\n cursor: pointer;\n }\n\n .method.get{ \n border: 1px solid var(--get-color);\n }\n .get.expanded .method.get,\n .method.get:hover{ \n background-color:var(--get-color);\n color:#333;\n }\n\n .method.put{ \n border: 1px solid var(--put-color); \n }\n .put.expanded .method.put,\n .method.put:hover{ \n background-color:var(--put-color);\n color:#333;\n }\n\n .method.post{ \n border: 1px solid var(--post-color); \n }\n .post.expanded .method.post,\n .method.post:hover{ \n background-color:var(--post-color);\n color:#333;\n }\n\n .method.delete{ \n border: 1px solid var(--delete-color);\n }\n .delete.expanded .method.delete,\n .method.delete:hover{\n background-color:var(--delete-color);\n color:#333;\n }\n\n .method.patch{ \n border: 1px solid var(--patch-color); \n }\n .patch.expanded .method.patch,\n .method.patch:hover{ \n background-color:var(--patch-color);\n color:#333;\n }\n\n .method-text { margin-right:5px; }\n .head.get .method-text { color:var(--get-color);}\n .head.put .method-text { color:var(--put-color);}\n .head.post .method-text { color:var(--post-color);}\n .head.delete .method-text { color:var(--delete-color);}\n .head.patch .method-text { color:var(--patch-color);}\n\n .req-resp-container{\n display: flex;\n margin-top:16px;\n align-items: stretch;\n flex-wrap: wrap;\n flex-direction: column;\n border-top:1px solid var(--light-border-color);\n }\n .request,\n .response{\n flex:1; \n min-height:100px;\n padding:16px 8px;\n overflow:hidden;\n }\n .request{\n border-width:0 0 1px 0;\n border-style:dashed;\n }\n .patch .request{ \n border-color:var(--patch-color); \n }\n .put .request{ \n border-color:var(--put-color); \n }\n .post .request{ \n border-color:var(--post-color); \n }\n .get .request{ \n border-color:var(--get-color); \n }\n .delete .request{ \n border-color:var(--delete-color); \n }\n\n\n @media only screen and (min-width: 768px){\n .head .path{\n font-size: var(--regular-font-size);\n min-width:400px;\n }\n .head .m-markdown-small,\n .descr .m-markdown-small{\n display:block;\n }\n .only-large-screen{\n display:block;\n }\n .req-resp-container{\n flex-direction: var(--layout, row);\n }\n .request{\n border-width:0 1px 0 0;\n padding:16px 24px;\n }\n .response{\n padding:16px 24px;\n } \n .summary{\n padding:8px 24px;\n }\n }"]);return _n=function(){return e},e}function Sn(){var e=In(['',"
"]);return Sn=function(){return e},e}function On(){var e=In(['"]);return On=function(){return e},e}function kn(){var e=In(['']);return kn=function(){return e},e}function En(){var e=In(['PATCH
']);return En=function(){return e},e}function An(){var e=In(['HEAD
']);return An=function(){return e},e}function Tn(){var e=In(['DELETE
']);return Tn=function(){return e},e}function jn(){var e=In(['POST
']);return jn=function(){return e},e}function Cn(){var e=In(['PUT
']);return Cn=function(){return e},e}function Pn(){var e=In(['GET
']);return Pn=function(){return e},e}function Rn(){var e=In([""]);return Rn=function(){return e},e}function Ln(){var e=In([""]);return Ln=function(){return e},e}function Nn(){var e=In(["",""]);return Nn=function(){return e},e}function Mn(){var e=In([""," ",'\x3c!-- Endpoint Head --\x3e
'," ",''," "," "," "," "," ","
\x3c!-- Endpoint Body --\x3e ","
"]);return Mn=function(){return e},e}function In(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}customElements.define("end-points",class extends ae{render(){return L(wn(),this.paths.filter(e=>!this.matchPaths||"".concat(e.method," ").concat(e.path).includes(this.matchPaths)).map(e=>L(bn(),this.selectedServer,this.apiKeyName?this.apiKeyName:"",this.apiKeyValue?this.apiKeyValue:"",this.apiKeyLocation,this.layout,e,this.allowTry?this.allowTry:"true")))}static get properties(){return{apiKeyName:{type:String,attribute:"api-key-name"},apiKeyValue:{type:String,attribute:"api-key-value"},apiKeyLocation:{type:String,attribute:"api-key-location"},selectedServer:{type:String,attribute:"selected-server"},layout:{type:String},paths:{type:Object},matchPaths:{type:String,attribute:"match-paths"},allowTry:{type:String,attribute:"allow-try"}}}});function Un(){var e=Kn(['Refresh URL: ',"
"]);return Un=function(){return e},e}function Dn(){var e=Kn(['Token URL: ',"
"]);return Dn=function(){return e},e}function qn(){var e=Kn(['Auth URL: ',"
"]);return qn=function(){return e},e}function Bn(){var e=Kn([""," "," ",'
']);return Bn=function(){return e},e}function zn(){var e=Kn(["","
"]);return zn=function(){return e},e}function Fn(){var e=Kn(["Send 'Authorization'
in header which will contains the word 'Bearer'
followed by a space and a Token String.
"]);return Fn=function(){return e},e}function $n(){var e=Kn(["Send 'Authorization'
in header which will contains the word 'Basic'
followed by a space and a base64-encoded string username:password.
"]);return $n=function(){return e},e}function Wn(){var e=Kn(["Send '","'
in '","'
with the given value
"]);return Wn=function(){return e},e}function Hn(){var e=Kn(['',"
"]);return Hn=function(){return e},e}function Yn(){var e=Kn(['',": "," "," | "," "," "," "," |
"]);return Yn=function(){return e},e}function Vn(){var e=Kn([""," "," ",'Type | Authentication Procedure |
',"
"]);return Vn=function(){return e},e}function Kn(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}customElements.define("path-and-methods",class extends ae{render(){return L(Mn(),pe,window.innerWidth>=768?L(Nn(),"row"===this.layout?L(Ln()):L(Rn())):"",this.path.activeMethod,this.path.expanded?"expanded":"collapsed",this.path.activeMethod,this.path.expanded?"expanded":"collapsed",()=>this.collapse(),"no-active-method"===this.path.activeMethod?"":this.path.activeMethod.toUpperCase(),this.path.path,this.path.get?L(Pn(),e=>this.expand("get",e)):"",this.path.put?L(Cn(),e=>this.expand("put",e)):"",this.path.post?L(jn(),e=>this.expand("post",e)):"",this.path.delete?L(Tn(),e=>this.expand("delete",e)):"",this.path.head?L(An(),e=>this.expand("head",e)):"",this.path.patch?L(En(),e=>this.expand("patch",e)):"",this.pathBodyTemplate())}pathBodyTemplate(){var e=[],t=this.path.parameters&&this.path.parameters.length>0?this.path.parameters:null,n=this.path[this.path.activeMethod]&&this.path[this.path.activeMethod].parameters&&this.path[this.path.activeMethod].parameters.length>0?this.path[this.path.activeMethod].parameters:void 0;return e=t?n&&n.length>0?t.filter(e=>{if(!n.some(t=>e.name===t.name&&e.in===t.in))return e}).concat(n):t.slice(0):[],this.path.expanded?L(kn(),this.path.activeMethod,this.path[this.path.activeMethod].summary||this.path[this.path.activeMethod].description?L(On(),ue(le()(this.path[this.path.activeMethod].summary||"")),this.path[this.path.activeMethod].summary!==this.path[this.path.activeMethod].description?L(Sn(),ue(le()(this.path[this.path.activeMethod].description||""))):""):"",this.path.activeMethod,this.path[this.path.activeMethod].path,this.apiKeyName,this.apiKeyValue,this.apiKeyLocation,this.selectedServer,e,this.path[this.path.activeMethod].requestBody,this.allowTry,this.accept,this.path[this.path.activeMethod].responses):""}static get styles(){return[oe(_n())]}constructor(){super(),this.accept=""}static get properties(){return{apiKeyName:{type:String,attribute:"api-key-name"},apiKeyValue:{type:String,attribute:"api-key-value"},apiKeyLocation:{type:String,attribute:"api-key-location"},selectedServer:{type:String,attribute:"selected-server"},layout:{type:String},path:{type:Object},allowTry:{type:String,attribute:"allow-try"}}}collapse(){this.path.expanded&&(this.path.expanded=!1,this.path.activeMethod="no-active-method"),this.requestUpdate()}expand(e,t){this.path.expanded=!0,this.path.activeMethod=e;var n="";for(var r in this.path.responses)for(var o in this.path.responses[r].content)n="".concat(n+o,", ");n=n.replace(/,\s*$/,""),this.accept=n,t.stopPropagation(),this.requestUpdate()}});function Jn(e,t,n,r,o,i,a){try{var s=e[i](a),u=s.value}catch(e){return void n(e)}s.done?t(u):Promise.resolve(u).then(r,o)}function Gn(){var e=kr(['']);return Gn=function(){return e},e}function Qn(){var e=kr(['PATHS
']);return Qn=function(){return e},e}function Zn(){var e=kr([""," ",""]);return Zn=function(){return e},e}function Xn(){var e=kr(['','
','
']);return Xn=function(){return e},e}function er(){var e=kr(["",""]);return er=function(){return e},e}function tr(){var e=kr(['GROUP API BY:
Tag Path
']);return tr=function(){return e},e}function nr(){var e=kr(['AUTHENTICATION
']);return nr=function(){return e},e}function rr(){var e=kr([' ',"
"]);return rr=function(){return e},e}function or(){var e=kr(["- ",""]);return or=function(){return e},e}function ir(){var e=kr([' '," ","
"]);return ir=function(){return e},e}function ar(){var e=kr(["",""]);return ar=function(){return e},e}function sr(){var e=kr(['"]);return sr=function(){return e},e}function ur(){var e=kr(['URL: ',"
"]);return ur=function(){return e},e}function cr(){var e=kr(['Name: ',"
"]);return cr=function(){return e},e}function lr(){var e=kr(['Email: ',"
"]);return lr=function(){return e},e}function fr(){var e=kr([''," "," ","
"]);return fr=function(){return e},e}function pr(){var e=kr(['⏎
']);return pr=function(){return e},e}function hr(){var e=kr([' ']);return hr=function(){return e},e}function dr(){var e=kr(['⏎
']);return dr=function(){return e},e}function vr(){var e=kr(['"]);return vr=function(){return e},e}function mr(){var e=kr(["",""]);return mr=function(){return e},e}function yr(){var e=kr(["",""]);return yr=function(){return e},e}function gr(){var e=kr(['',""]);return gr=function(){return e},e}function br(){var e=kr(['"]);return br=function(){return e},e}function wr(){var e=kr(['Unable to load the Spec
']);return wr=function(){return e},e}function xr(){var e=kr(['Loading ...
']);return xr=function(){return e},e}function _r(){var e=kr([""]);return _r=function(){return e},e}function Sr(){var e=kr([""]);return Sr=function(){return e},e}function Or(){var e=kr([""," "," "," "," ","",''," "," "," "," "," "," ",'
']);return Or=function(){return e},e}function kr(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}customElements.define("security-schemes",class extends ae{render(){return L(Vn(),pe,be,ve,Object.keys(this.schemes).map(e=>L(Yn(),this.schemes[e].type,this.schemes[e].scheme,this.schemes[e].description?L(Hn(),ue(le()(this.schemes[e].description||""))):"","apiKey"===this.schemes[e].type?L(Wn(),this.schemes[e].name,this.schemes[e].in,e,this.schemes[e].type,this.schemes[e].in,this.schemes[e].name,e,e,e,e,this.selectedApiKeyValue?"CLEAR":"SET",this.dispatchChange,this.selectedApiKeyValue?"CLEAR":"SET"):"","http"===this.schemes[e].type&&"basic"===this.schemes[e].scheme?L($n(),e,this.schemes[e].type,this.schemes[e].scheme,e,e,e,e,e,this.selectedApiKeyValue?"CLEAR":"SET",this.dispatchChange,this.selectedApiKeyValue?"CLEAR":"SET"):"","http"===this.schemes[e].type&&"bearer"===this.schemes[e].scheme?L(Fn(),e,this.schemes[e].type,this.schemes[e].scheme,e,e,e,e,this.selectedApiKeyValue?"CLEAR":"SET",this.dispatchChange,this.selectedApiKeyValue?"CLEAR":"SET"):"","oauth2"===this.schemes[e].type?L(zn(),Object.keys(this.schemes[e].flows).map(t=>L(Bn(),this.schemes[e].flows[t].authorizationUrl?L(qn(),this.schemes[e].flows[t].authorizationUrl):"",this.schemes[e].flows[t].tokenUrl?L(Dn(),this.schemes[e].flows[t].tokenUrl):"",this.schemes[e].flows[t].refreshUrl?L(Un(),this.schemes[e].flows[t].refreshUrl):"",e,e))):"")))}static get properties(){return{schemes:{type:Object},selectedApiKeyName:{type:String,attribute:"selected-api-key-name"},selectedApiKeyValue:{type:String,attribute:"selected-api-key-value"}}}dispatchChange(e){var t=e.target.closest(".".concat(e.target.dataset.class));if(t){var n=t.dataset.type,r=t.dataset.in,o=t.dataset.name,i=t.dataset.inputname,a="";if("CLEAR"===e.target.dataset.action){var s=t.querySelector("input[name=".concat(i,"-token]"));s&&(s.value="")}else if("apiKey"===n){var u=t.querySelector("input[name=".concat(i,"-token]"));u&&(a=u.value)}else if("http"===n){var c=t.dataset.scheme;if("basic"===c){var l=t.querySelector("input[name=".concat(i,"-username]")),f=t.querySelector("input[name=".concat(i,"-password]"));l&&f&&(a="Basic ".concat(btoa("".concat(l.value,":").concat(f.value))))}else if("bearer"===c){var p=t.querySelector("input[name=".concat(i,"-bearer-token]"));p&&(a="Bearer ".concat(p.value))}}var h=new CustomEvent("change",{detail:{keyType:n,keyName:o,keyValue:a,keyLocation:r}});this.dispatchEvent(h)}}});class Er extends ae{render(){return L(Or(),pe,ve,ye,be,"dark"===this.theme?L(Sr()):L(_r()),this.primaryColor?"".concat(this.primaryColor):"#FF791A",he.color.brightness(this.primaryColor?this.primaryColor:"#FF791A",-30),this.primaryColor?"".concat(he.color.invert(this.primaryColor)):"#ffffff",this.headerColor?"".concat(this.headerColor):"#444",this.headerColor?"".concat(he.color.invert(this.headerColor)):"#ccc",this.layout?"".concat(this.layout):"row",this.monoFont?"".concat(this.monoFont):"Monaco, 'Andale Mono', 'Roboto Mono', Consolas",this.regularFont?"".concat(this.regularFont):"rapidoc, Helvetica, Arial",this.headerColor?he.color.brightness(this.headerColor,-20):he.color.inputReverseBg,"false"===this.showHeader?"":this.headerTemplate(),!0===this.loading?L(xr()):"",!0===this.loadFailed?L(wr()):"","false"!==this.showInfo&&this.resolvedSpec&&this.resolvedSpec.info?L(br(),this.resolvedSpec.info.title,this.resolvedSpec.info.version?L(gr(),this.resolvedSpec.info.version):"",this.resolvedSpec.info.description?L(yr(),ue("".concat(le()(this.resolvedSpec.info.description),"
"))):"",this.resolvedSpec.info.termsOfService?L(mr(),ue(" Terms:
".concat(le()(this.resolvedSpec.info.termsOfService),""))):"",this.resolvedSpec.info.contact?this.contactInfoTemplate():""):"","false"!==this.allowTry&&"false"!==this.allowServerSelection&&this.resolvedSpec?this.apiServerListTemplate():"","false"!==this.allowAuthentication&&this.resolvedSpec&&this.resolvedSpec.securitySchemes?this.securitySchemeTemplate():"","false"===this.allowApiListStyleSelection?"":this.apiListingStyleSelectionTemplate(),this.resolvedSpec&&this.resolvedSpec.tags&&this.resolvedSpec.pathGroups?"group-by-path"!==this.apiListStyle&&this.resolvedSpec?this.endpointsGroupedByTagTemplate():this.endpointsGroupedByPathTemplate():"")}headerTemplate(){return L(vr(),this.headingText,"false"===this.allowSpecUrlLoad?"":L(dr(),this.specUrl?this.specUrl:"",this.onSepcUrlChange),"false"===this.allowSpecFileLoad?"":L(hr(),this.specFile?this.specFile:"",this.onSepcFileChange,this.onFileLoadClick),"false"===this.allowSearch?"":L(pr(),this.onSearchChange))}contactInfoTemplate(){return L(fr(),this.resolvedSpec.info.contact.email?L(lr(),this.resolvedSpec.info.contact.email):"",this.resolvedSpec.info.contact.name?L(cr(),this.resolvedSpec.info.contact.name):"",this.resolvedSpec.info.contact.url?L(ur(),this.resolvedSpec.info.contact.url):"")}apiServerListTemplate(){return L(sr(),this.resolvedSpec.servers&&0!==this.resolvedSpec.servers.length?L(ar(),this.resolvedSpec.servers.map(e=>L(ir(),e.url,this.onApiServerChange,e.url,e.description?L(or(),e.description):""))):"",this.serverUrl?L(rr(),this.serverUrl,this.onApiServerChange,this.serverUrl):"")}securitySchemeTemplate(){return L(nr(),this.resolvedSpec.securitySchemes,this.apiKeyName?this.apiKeyName:"",this.apiKeyValue?this.apiKeyValue:"",this.onSecurityChange)}apiListingStyleSelectionTemplate(){return L(tr(),()=>this.onListStyleChange("group-by-tag"),"group-by-tag"===this.apiListStyle,()=>this.onListStyleChange("group-by-path"),"group-by-path"===this.apiListStyle)}endpointsGroupedByTagTemplate(){return L(er(),this.resolvedSpec.tags.map(e=>L(Xn(),e.name,ue("".concat(le()(e.description?e.description:""),"
")),this.selectedServer?this.selectedServer:"",this.apiKeyName?this.apiKeyName:"",this.apiKeyValue?this.apiKeyValue:"",this.apiKeyLocation?this.apiKeyLocation:"",this.layout?this.layout:"row",e.paths,this.allowTry?this.allowTry:"true",this.matchPaths)))}endpointsGroupedByPathTemplate(){return L(Zn(),"false"!==this.allowApiListStyleSelection&&this.resolvedSpec?L(Qn()):"",this.resolvedSpec.pathGroups.filter(e=>!this.matchPaths||e.path.includes(this.matchPaths)).map(e=>L(Gn(),this.selectedServer?this.selectedServer:"",this.apiKeyName?this.apiKeyName:"",this.apiKeyValue?this.apiKeyValue:"",this.apiKeyLocation?this.apiKeyLocation:"",this.layout?this.layout:"row",e,this.allowTry?this.allowTry:"true",this.matchPaths)))}static get properties(){return{specUrl:{type:String,attribute:"spec-url"},specFile:{type:String,attribute:!1},serverUrl:{type:String,attribute:"server-url"},matchPaths:{type:String,attribute:"match-paths"},headingText:{type:String,attribute:"heading-text"},headerColor:{type:String,attribute:"header-color"},primaryColor:{type:String,attribute:"primary-color"},regularFont:{type:String,attribute:"regular-font"},monoFont:{type:String,attribute:"mono-font"},showHeader:{type:String,attribute:"show-header"},showInfo:{type:String,attribute:"show-info"},allowAuthentication:{type:String,attribute:"allow-authentication"},allowTry:{type:String,attribute:"allow-try"},allowServerSelection:{type:String,attribute:"allow-server-selection"},allowSpecUrlLoad:{type:String,attribute:"allow-spec-url-load"},allowSpecFileLoad:{type:String,attribute:"allow-spec-file-load"},allowSearch:{type:String,attribute:"allow-search"},allowApiListStyleSelection:{type:String,attribute:"allow-api-list-style-selection"},layout:{type:String},theme:{type:String},logoUrl:{type:String,attribute:"logo-url"},apiKeyName:{type:String,attribute:"api-key-name"},apiKeyValue:{type:String,attribute:"api-key-value"},apiKeyLocation:{type:String,attribute:"api-key-location"},apiListStyle:{type:String,attribute:"api-list-style"}}}attributeChangedCallback(e,t,n){"spec-url"===e&&t!==n&&this.loadSpec(n),super.attributeChangedCallback(e,t,n)}onSepcUrlChange(){this.setAttribute("spec-url",this.shadowRoot.getElementById("spec-url").value)}onSepcFileChange(e){this.setAttribute("spec-file",this.shadowRoot.getElementById("spec-file").value);var t=e.target.files[0],n=new FileReader;n.onload=()=>{try{var e=JSON.parse(n.result);this.loadSpec(e),this.shadowRoot.getElementById("spec-url").value=""}catch(e){console.log("Unable to read or parse json")}},n.readAsText(t)}onFileLoadClick(){this.shadowRoot.getElementById("spec-file").click()}onApiServerChange(){var e=this.shadowRoot.querySelector("input[name='api_server']:checked");null!==e&&(this.selectedServer=e.value,this.requestUpdate())}onListStyleChange(e){this.apiListStyle=e,this.requestUpdate()}onSecurityChange(e){this.apiKeyName=e.detail.keyName,this.apiKeyValue=e.detail.keyValue,this.apiKeyLocation=e.detail.keyLocation}onSearchChange(e){this.matchPaths=e.target.value}loadSpec(e){var t,n=this;return(t=function*(){if(e){n.apiKeyName="",n.apiKeyValue="",n.apiKeyLocation="",n.selectedServer="",n.matchPaths="";try{n.loading=!0,n.loadFailed=!1;var t=yield function(e){return ke.apply(this,arguments)}(e);n.loading=!1,null==t&&console.error("Unable to resolve the API spec. "),n.afterSpecParsedAndValidated(t)}catch(e){n.loading=!1,n.loadFailed=!0,n.resolvedSpec=null,n.requestUpdate(),console.error("Unable to resolve the API spec.. ".concat(e.message))}}},function(){var e=this,n=arguments;return new Promise(function(r,o){var i=t.apply(e,n);function a(e){Jn(i,r,o,a,s,"next",e)}function s(e){Jn(i,r,o,a,s,"throw",e)}a(void 0)})})()}afterSpecParsedAndValidated(e){this.resolvedSpec=e,"false"===this.allowServerSelection&&(this.serverUrl?this.selectedServer=this.serverUrl:this.resolvedSpec&&this.resolvedSpec.servers&&this.resolvedSpec.servers.length>0&&(this.selectedServer=this.resolvedSpec.servers[0].url)),this.apiListStyle||(this.apiListStyle="group-by-tag"),this.requestUpdate(),window.setTimeout(()=>{this.onApiServerChange()},0)}}customElements.define("rapi-doc",Er);t.default={RapiDoc:Er}}]);
+//# sourceMappingURL=rapidoc-min.js.map
\ No newline at end of file
diff --git a/dist/rapidoc-min.js.gz b/dist/rapidoc-min.js.gz
new file mode 100644
index 00000000..c475cbaf
Binary files /dev/null and b/dist/rapidoc-min.js.gz differ
diff --git a/dist/rapidoc-min.js.map b/dist/rapidoc-min.js.map
new file mode 100644
index 00000000..d2c5860f
--- /dev/null
+++ b/dist/rapidoc-min.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"rapidoc-min.js","sources":["webpack:///rapidoc-min.js"],"mappings":"AAAA;;;;;;;AA4lKA;;;;;;;;AAu6fA;;AAiuvBA;;;;;;;;;;;;;AAw1PA;;;;;;;;;;;;;;AA2TA;;;;;;;;;;;;;AAuGA;;;;;;;;;;;;;;AA0FA;;;;;;;;;;;;;AA8cA;;;;;;;;;;;;;AAqBA;;;;;;;;;;;;;;;;;;;;;;;;;;;AA4HA;;;;;;;;;;;;;;AA+KA;;;;;;;;;;;;;;AA4nCA;;;;;;;;;;;;;;AA0MA","sourceRoot":""}
\ No newline at end of file
diff --git a/dist/rapidoc-min.js.map.gz b/dist/rapidoc-min.js.map.gz
new file mode 100644
index 00000000..3ef92c8d
Binary files /dev/null and b/dist/rapidoc-min.js.map.gz differ
diff --git a/dist/rapidoc-regular.woff2 b/dist/rapidoc-regular.woff2
new file mode 100644
index 00000000..40417bff
Binary files /dev/null and b/dist/rapidoc-regular.woff2 differ
diff --git a/dist/rapidoc-semi-bold.woff2 b/dist/rapidoc-semi-bold.woff2
new file mode 100644
index 00000000..2ad1a7e0
Binary files /dev/null and b/dist/rapidoc-semi-bold.woff2 differ
diff --git a/dist/report.html b/dist/report.html
new file mode 100644
index 00000000..b2fb3f6a
--- /dev/null
+++ b/dist/report.html
@@ -0,0 +1,65 @@
+
+
+
+
+
+ rapidoc [29 Sep 2019 at 18:47]
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/dist/roboto-mono-bold.woff2 b/dist/roboto-mono-bold.woff2
new file mode 100644
index 00000000..125f0983
Binary files /dev/null and b/dist/roboto-mono-bold.woff2 differ
diff --git a/dist/roboto-mono-regular.woff2 b/dist/roboto-mono-regular.woff2
new file mode 100644
index 00000000..6163de7b
Binary files /dev/null and b/dist/roboto-mono-regular.woff2 differ
diff --git a/docs/examples/example1.html b/docs/examples/example1.html
index a5988f7d..4e705b49 100644
--- a/docs/examples/example1.html
+++ b/docs/examples/example1.html
@@ -20,6 +20,6 @@
-
+