From a108b401c0a971cc5a22358b3534d3c5771ad3d2 Mon Sep 17 00:00:00 2001 From: Mrinmoy Date: Mon, 15 Feb 2021 23:15:55 -0500 Subject: [PATCH] generated build for 8.4.6 --- .gitignore | 6 ++++++ dist/rapidoc-min.js | 10 +++++----- dist/rapidoc-min.js.gz | Bin 222935 -> 222920 bytes dist/report.html | 4 ++-- docs/rapidoc-min.js | 10 +++++----- docs/specs/oneof-combinations.yaml | 2 +- package-lock.json | 4 ++-- package.json | 2 +- 8 files changed, 22 insertions(+), 16 deletions(-) diff --git a/.gitignore b/.gitignore index d8d2bf3c..d7a2829c 100644 --- a/.gitignore +++ b/.gitignore @@ -9,6 +9,12 @@ node_modules npm-debug.log* yarn-debug.log* yarn-error.log* +.yarn/** +!.yarn/releases +!.yarn/plugins +!.yarn/sdks +!.yarn/versions +.pnp.* # Editor directories and files .idea diff --git a/dist/rapidoc-min.js b/dist/rapidoc-min.js index 894949cf..01297cfe 100644 --- a/dist/rapidoc-min.js +++ b/dist/rapidoc-min.js @@ -1,9 +1,9 @@ /*! - * RapiDoc 8.4.5 - WebComponent to View OpenAPI docs + * RapiDoc 8.4.6 - WebComponent to View OpenAPI docs * License: MIT * Repo : https://github.com/mrin9/RapiDoc * Author : Mrinmoy Majumdar - */!function(e){var t=window.webpackHotUpdate;window.webpackHotUpdate=function(e,r){!function(e,t){if(!w[e]||!x[e])return;for(var r in x[e]=!1,t)Object.prototype.hasOwnProperty.call(t,r)&&(h[r]=t[r]);0==--g&&0===y&&O()}(e,r),t&&t(e,r)};var r,n=!0,o="1b5093f9f10277c1d1eb",a={},i=[],s=[];function c(e){var t=j[e];if(!t)return _;var n=function(n){return t.hot.active?(j[n]?-1===j[n].parents.indexOf(e)&&j[n].parents.push(e):(i=[e],r=n),-1===t.children.indexOf(n)&&t.children.push(n)):(console.warn("[HMR] unexpected require("+n+") from disposed module "+e),i=[]),_(n)},o=function(e){return{configurable:!0,enumerable:!0,get:function(){return _[e]},set:function(t){_[e]=t}}};for(var a in _)Object.prototype.hasOwnProperty.call(_,a)&&"e"!==a&&"t"!==a&&Object.defineProperty(n,a,o(a));return n.e=function(e){return"ready"===p&&f("prepare"),y++,_.e(e).then(t,(function(e){throw t(),e}));function t(){y--,"prepare"===p&&(b[e]||A(e),0===y&&0===g&&O())}},n.t=function(e,t){return 1&t&&(e=n(e)),_.t(e,-2&t)},n}function l(t){var n={_acceptedDependencies:{},_declinedDependencies:{},_selfAccepted:!1,_selfDeclined:!1,_selfInvalidated:!1,_disposeHandlers:[],_main:r!==t,active:!0,accept:function(e,t){if(void 0===e)n._selfAccepted=!0;else if("function"==typeof e)n._selfAccepted=e;else if("object"==typeof e)for(var r=0;r=0&&n._disposeHandlers.splice(t,1)},invalidate:function(){switch(this._selfInvalidated=!0,p){case"idle":(h={})[t]=e[t],f("ready");break;case"ready":C(t);break;case"prepare":case"check":case"dispose":case"apply":(m=m||[]).push(t)}},check:S,apply:E,status:function(e){if(!e)return p;u.push(e)},addStatusHandler:function(e){u.push(e)},removeStatusHandler:function(e){var t=u.indexOf(e);t>=0&&u.splice(t,1)},data:a[t]};return r=void 0,n}var u=[],p="idle";function f(e){p=e;for(var t=0;t0;){var o=n.pop(),a=o.id,i=o.chain;if((u=j[a])&&(!u.hot._selfAccepted||u.hot._selfInvalidated)){if(u.hot._selfDeclined)return{type:"self-declined",chain:i,moduleId:a};if(u.hot._main)return{type:"unaccepted",chain:i,moduleId:a};for(var s=0;s ")),O.type){case"self-declined":n.onDeclined&&n.onDeclined(O),n.ignoreDeclined||(E=new Error("Aborted because of self decline: "+O.moduleId+I));break;case"declined":n.onDeclined&&n.onDeclined(O),n.ignoreDeclined||(E=new Error("Aborted because of declined dependency: "+O.moduleId+" in "+O.parentId+I));break;case"unaccepted":n.onUnaccepted&&n.onUnaccepted(O),n.ignoreUnaccepted||(E=new Error("Aborted because "+p+" is not accepted"+I));break;case"accepted":n.onAccepted&&n.onAccepted(O),C=!0;break;case"disposed":n.onDisposed&&n.onDisposed(O),T=!0;break;default:throw new Error("Unexception type "+O.type)}if(E)return f("abort"),Promise.reject(E);if(C)for(p in x[p]=h[p],g(b,O.outdatedModules),O.outdatedDependencies)Object.prototype.hasOwnProperty.call(O.outdatedDependencies,p)&&(y[p]||(y[p]=[]),g(y[p],O.outdatedDependencies[p]));T&&(g(b,[O.moduleId]),x[p]=S)}var F,P=[];for(c=0;c0;)if(p=L.pop(),u=j[p]){var N={},M=u.hot._disposeHandlers;for(l=0;l=0&&q.parents.splice(F,1))}}for(p in y)if(Object.prototype.hasOwnProperty.call(y,p)&&(u=j[p]))for(B=y[p],l=0;l=0&&u.children.splice(F,1);f("apply"),void 0!==v&&(o=v,v=void 0);for(p in h=void 0,x)Object.prototype.hasOwnProperty.call(x,p)&&(e[p]=x[p]);var z=null;for(p in y)if(Object.prototype.hasOwnProperty.call(y,p)&&(u=j[p])){B=y[p];var U=[];for(c=0;ce.length)&&(t=e.length);for(var r=0,n=new Array(t);r=e.length?{done:!0}:{done:!1,value:e[t++]}},e:function(e){throw e},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var n,o,a=!0,i=!1;return{s:function(){n=e[Symbol.iterator]()},n:function(){var e=n.next();return a=e.done,e},e:function(e){i=!0,o=e},f:function(){try{a||null==n.return||n.return()}finally{if(i)throw o}}}}r.d(t,"a",(function(){return O})),r.d(t,"b",(function(){return P})),r.d(t,"c",(function(){return q})),r.d(t,"d",(function(){return F})),r.d(t,"e",(function(){return E})),r.d(t,"f",(function(){return N})),r.d(t,"g",(function(){return A})),r.d(t,"h",(function(){return n})),r.d(t,"i",(function(){return i})),r.d(t,"j",(function(){return o})),r.d(t,"k",(function(){return D})),r.d(t,"l",(function(){return s})),r.d(t,"m",(function(){return M})),r.d(t,"n",(function(){return L})),r.d(t,"o",(function(){return y})),r.d(t,"p",(function(){return R})),r.d(t,"q",(function(){return c})),r.d(t,"r",(function(){return m})),r.d(t,"s",(function(){return g})),r.d(t,"t",(function(){return l})),r.d(t,"u",(function(){return C})),r.d(t,"v",(function(){return B})),r.d(t,"w",(function(){return h})),r.d(t,"x",(function(){return b})),r.d(t,"y",(function(){return v}));var O={ANCHOR:"&",COMMENT:"#",TAG:"!",DIRECTIVES_END:"-",DOCUMENT_END:"."},E={ALIAS:"ALIAS",BLANK_LINE:"BLANK_LINE",BLOCK_FOLDED:"BLOCK_FOLDED",BLOCK_LITERAL:"BLOCK_LITERAL",COMMENT:"COMMENT",DIRECTIVE:"DIRECTIVE",DOCUMENT:"DOCUMENT",FLOW_MAP:"FLOW_MAP",FLOW_SEQ:"FLOW_SEQ",MAP:"MAP",MAP_KEY:"MAP_KEY",MAP_VALUE:"MAP_VALUE",PLAIN:"PLAIN",QUOTE_DOUBLE:"QUOTE_DOUBLE",QUOTE_SINGLE:"QUOTE_SINGLE",SEQ:"SEQ",SEQ_ITEM:"SEQ_ITEM"},D="tag:yaml.org,2002:",C={MAP:"tag:yaml.org,2002:map",SEQ:"tag:yaml.org,2002:seq",STR:"tag:yaml.org,2002:str"};function j(e){for(var t=[0],r=e.indexOf("\n");-1!==r;)r+=1,t.push(r),r=e.indexOf("\n",r);return t}function _(e){var t,r;return"string"==typeof e?(t=j(e),r=e):(Array.isArray(e)&&(e=e[0]),e&&e.context&&(e.lineStarts||(e.lineStarts=j(e.context.src)),t=e.lineStarts,r=e.context.src)),{lineStarts:t,src:r}}function T(e,t){if("number"!=typeof e||e<0)return null;var r=_(t),n=r.lineStarts,o=r.src;if(!n||!o||e>o.length)return null;for(var a=0;a=1)||e>n.length)return null;for(var a=n[e-1],i=n[e];i&&i>a&&"\n"===o[i-1];)--i;return o.slice(a,i)}var F=function(){function e(t,r){o(this,e),this.start=t,this.end=r||t}return i(e,null,[{key:"copy",value:function(t){return new e(t.start,t.end)}}]),i(e,[{key:"isEmpty",value:function(){return"number"!=typeof this.start||!this.end||this.end<=this.start}},{key:"setOrigRange",value:function(e,t){var r=this.start,n=this.end;if(0===e.length||n<=e[0])return this.origStart=r,this.origEnd=n,t;for(var o=t;or);)++o;this.origStart=r+o;for(var a=o;o=n);)++o;return this.origEnd=n+o,a}}]),e}(),P=function(){function e(t,r,n){o(this,e),Object.defineProperty(this,"context",{value:n||null,writable:!0}),this.error=null,this.range=null,this.valueRange=null,this.props=r||[],this.type=t,this.value=null}return i(e,null,[{key:"addStringTerminator",value:function(t,r,n){if("\n"===n[n.length-1])return n;var o=e.endOfWhiteSpace(t,r);return o>=t.length||"\n"===t[o]?n+"\n":n}},{key:"atDocumentBoundary",value:function(e,t,r){var n=e[t];if(!n)return!0;var o=e[t-1];if(o&&"\n"!==o)return!1;if(r){if(n!==r)return!1}else if(n!==O.DIRECTIVES_END&&n!==O.DOCUMENT_END)return!1;var a=e[t+1],i=e[t+2];if(a!==n||i!==n)return!1;var s=e[t+3];return!s||"\n"===s||"\t"===s||" "===s}},{key:"endOfIdentifier",value:function(e,t){for(var r=e[t],n="<"===r,o=n?["\n","\t"," ",">"]:["\n","\t"," ","[","]","{","}",","];r&&-1===o.indexOf(r);)r=e[t+=1];return n&&">"===r&&(t+=1),t}},{key:"endOfIndent",value:function(e,t){for(var r=e[t];" "===r;)r=e[t+=1];return t}},{key:"endOfLine",value:function(e,t){for(var r=e[t];r&&"\n"!==r;)r=e[t+=1];return t}},{key:"endOfWhiteSpace",value:function(e,t){for(var r=e[t];"\t"===r||" "===r;)r=e[t+=1];return t}},{key:"startOfLine",value:function(e,t){var r=e[t-1];if("\n"===r)return t;for(;r&&"\n"!==r;)r=e[t-=1];return t+1}},{key:"endOfBlockIndent",value:function(t,r,n){var o=e.endOfIndent(t,n);if(o>n+r)return o;var a=e.endOfWhiteSpace(t,o),i=t[a];return i&&"\n"!==i?null:a}},{key:"atBlank",value:function(e,t,r){var n=e[t];return"\n"===n||"\t"===n||" "===n||r&&!n}},{key:"nextNodeIsIndented",value:function(e,t,r){return!(!e||t<0)&&(t>0||r&&"-"===e)}},{key:"normalizeOffset",value:function(t,r){var n=t[r];return n?"\n"!==n&&"\n"===t[r-1]?r-1:e.endOfWhiteSpace(t,r):r}},{key:"foldNewline",value:function(t,r,n){for(var o=0,a=!1,i="",s=t[r+1];" "===s||"\t"===s||"\n"===s;){switch(s){case"\n":o=0,r+=1,i+="\n";break;case"\t":o<=n&&(a=!0),r=e.endOfWhiteSpace(t,r+2)-1;break;case" ":o+=1,r+=1}s=t[r+1]}return i||(i=" "),s&&o<=n&&(a=!0),{fold:i,offset:r,error:a}}}]),i(e,[{key:"getPropValue",value:function(e,t,r){if(!this.context)return null;var n=this.context.src,o=this.props[e];return o&&n[o.start]===t?n.slice(o.start+(r?1:0),o.end):null}},{key:"commentHasRequiredWhitespace",value:function(t){var r=this.context.src;if(this.header&&t===this.header.end)return!1;if(!this.valueRange)return!1;var n=this.valueRange.end;return t!==n||e.atBlank(r,n-1)}},{key:"parseComment",value:function(t){var r=this.context.src;if(r[t]===O.COMMENT){var n=e.endOfLine(r,t+1),o=new F(t,n);return this.props.push(o),n}return t}},{key:"setOrigRanges",value:function(e,t){return this.range&&(t=this.range.setOrigRange(e,t)),this.valueRange&&this.valueRange.setOrigRange(e,t),this.props.forEach((function(r){return r.setOrigRange(e,t)})),t}},{key:"toString",value:function(){var t=this.context.src,r=this.range,n=this.value;if(null!=n)return n;var o=t.slice(r.start,r.end);return e.addStringTerminator(t,r.end,o)}},{key:"anchor",get:function(){for(var e=0;e0?e.join("\n"):null}},{key:"hasComment",get:function(){if(this.context)for(var e=this.context.src,t=0;t2&&void 0!==arguments[2]?arguments[2]:80,a=I(r.line,t);if(!a)return null;var i=r.col;if(a.length>o)if(i<=o-10)a=a.substr(0,o-1)+"…";else{var s=Math.round(o/2);a.length>i+s&&(a=a.substr(0,i+s-1)+"…"),i-=a.length-o,a="…"+a.substr(1-o)}var c=1,l="";n&&(n.line===r.line&&i+(n.col-r.col)<=o+1?c=n.col-r.col:(c=Math.min(a.length+1,o)-i,l="…"));var u=i>1?" ".repeat(i-1):"",p="^".repeat(c);return"".concat(a,"\n").concat(u).concat(p).concat(l)}(this.linePos,e);i&&(this.message+=":\n\n".concat(i,"\n"))}delete this.source}}}]),r}(d(Error)),B=function(e){c(r,e);var t=m(r);function r(e,n){return o(this,r),t.call(this,"YAMLReferenceError",e,n)}return r}(R),L=function(e){c(r,e);var t=m(r);function r(e,n){return o(this,r),t.call(this,"YAMLSemanticError",e,n)}return r}(R),N=function(e){c(r,e);var t=m(r);function r(e,n){return o(this,r),t.call(this,"YAMLSyntaxError",e,n)}return r}(R),M=function(e){c(r,e);var t=m(r);function r(e,n){return o(this,r),t.call(this,"YAMLWarning",e,n)}return r}(R),q=function(e){c(r,e);var t=m(r);function r(){return o(this,r),t.apply(this,arguments)}return i(r,[{key:"parseBlockValue",value:function(e){for(var t=this.context,n=t.indent,o=t.inFlow,a=t.src,i=e,s=e,c=a[i];"\n"===c&&!P.atDocumentBoundary(a,i+1);c=a[i]){var l=P.endOfBlockIndent(a,n,i+1);if(null===l||"#"===a[l])break;i="\n"===a[l]?l:s=r.endOfLine(a,l,o)}return this.valueRange.isEmpty()&&(this.valueRange.start=e),this.valueRange.end=s,s}},{key:"parse",value:function(e,t){this.context=e;var n=e.inFlow,o=e.src,a=t,i=o[a];return i&&"#"!==i&&"\n"!==i&&(a=r.endOfLine(o,t,n)),this.valueRange=new F(t,a),a=P.endOfWhiteSpace(o,a),a=this.parseComment(a),this.hasComment&&!this.valueRange.isEmpty()||(a=this.parseBlockValue(a)),a}},{key:"strValue",get:function(){if(!this.valueRange||!this.context)return null;for(var e=this.valueRange,t=e.start,r=e.end,n=this.context.src,o=n[r-1];tl?n.slice(l,i+1):s)}else a+=s}var p=n[t];switch(p){case"\t":return{errors:[new L(this,"Plain value cannot start with a tab character")],str:a};case"@":case"`":var f="Plain value cannot start with reserved character ".concat(p);return{errors:[new L(this,f)],str:a};default:return a}}}],[{key:"endOfLine",value:function(e,t,r){for(var n=e[t],o=t;n&&"\n"!==n&&(!r||"["!==n&&"]"!==n&&"{"!==n&&"}"!==n&&","!==n);){var a=e[o+1];if(":"===n&&(!a||"\n"===a||"\t"===a||" "===a||r&&","===a))break;if((" "===n||"\t"===n)&&"#"===a)break;o+=1,n=a}return o}}]),r}(P)},function(e,t,r){"use strict";r.d(t,"a",(function(){return v})),r.d(t,"b",(function(){return u})),r.d(t,"c",(function(){return y})),r.d(t,"d",(function(){return a})),r.d(t,"e",(function(){return d})),r.d(t,"f",(function(){return s})),r.d(t,"g",(function(){return f})),r.d(t,"h",(function(){return x})),r.d(t,"i",(function(){return b})),r.d(t,"j",(function(){return I})),r.d(t,"k",(function(){return g})),r.d(t,"l",(function(){return l})),r.d(t,"m",(function(){return o})),r.d(t,"n",(function(){return H})),r.d(t,"o",(function(){return V})),r.d(t,"p",(function(){return w})),r.d(t,"q",(function(){return N})),r.d(t,"r",(function(){return F})),r.d(t,"s",(function(){return m})),r.d(t,"t",(function(){return k})),r.d(t,"u",(function(){return $})),r.d(t,"v",(function(){return S})),r.d(t,"w",(function(){return i}));var n=r(0);function o(e,t,r){return r?-1===r.indexOf("\n")?"".concat(e," #").concat(r):"".concat(e,"\n")+r.replace(/^/gm,"".concat(t||"","#")):e}var a=function e(){Object(n.j)(this,e)};function i(e,t,r){if(Array.isArray(e))return e.map((function(e,t){return i(e,String(t),r)}));if(e&&"function"==typeof e.toJSON){var n=r&&r.anchors&&r.anchors.get(e);n&&(r.onCreate=function(e){n.res=e,delete r.onCreate});var o=e.toJSON(t,r);return n&&r.onCreate&&r.onCreate(o),o}return r&&r.keep||"bigint"!=typeof e?e:Number(e)}var s=function(e){Object(n.q)(r,e);var t=Object(n.r)(r);function r(e){var o;return Object(n.j)(this,r),(o=t.call(this)).value=e,o}return Object(n.i)(r,[{key:"toJSON",value:function(e,t){return t&&t.keep?this.value:i(this.value,e,t)}},{key:"toString",value:function(){return String(this.value)}}]),r}(a);function c(e,t,r){for(var n=r,o=t.length-1;o>=0;--o){var a=t[o],i=Number.isInteger(a)&&a>=0?[]:{};i[a]=n,n=i}return e.createNode(n,!1)}var l=function(e){return null==e||"object"===Object(n.h)(e)&&e[Symbol.iterator]().next().done},u=function(e){Object(n.q)(r,e);var t=Object(n.r)(r);function r(e){var o;return Object(n.j)(this,r),o=t.call(this),Object(n.l)(Object(n.w)(o),"items",[]),o.schema=e,o}return Object(n.i)(r,[{key:"addIn",value:function(e,t){if(l(e))this.add(t);else{var o=Object(n.x)(e),a=o[0],i=o.slice(1),s=this.get(a,!0);if(s instanceof r)s.addIn(i,t);else{if(void 0!==s||!this.schema)throw new Error("Expected YAML collection at ".concat(a,". Remaining path: ").concat(i));this.set(a,c(this.schema,i,t))}}}},{key:"deleteIn",value:function(e){var t=Object(n.x)(e),o=t[0],a=t.slice(1);if(0===a.length)return this.delete(o);var i=this.get(o,!0);if(i instanceof r)return i.deleteIn(a);throw new Error("Expected YAML collection at ".concat(o,". Remaining path: ").concat(a))}},{key:"getIn",value:function(e,t){var o=Object(n.x)(e),a=o[0],i=o.slice(1),c=this.get(a,!0);return 0===i.length?!t&&c instanceof s?c.value:c:c instanceof r?c.getIn(i,t):void 0}},{key:"hasAllNullValues",value:function(){return this.items.every((function(e){if(!e||"PAIR"!==e.type)return!1;var t=e.value;return null==t||t instanceof s&&null==t.value&&!t.commentBefore&&!t.comment&&!t.tag}))}},{key:"hasIn",value:function(e){var t=Object(n.x)(e),o=t[0],a=t.slice(1);if(0===a.length)return this.has(o);var i=this.get(o,!0);return i instanceof r&&i.hasIn(a)}},{key:"setIn",value:function(e,t){var o=Object(n.x)(e),a=o[0],i=o.slice(1);if(0===i.length)this.set(a,t);else{var s=this.get(a,!0);if(s instanceof r)s.setIn(i,t);else{if(void 0!==s||!this.schema)throw new Error("Expected YAML collection at ".concat(a,". Remaining path: ").concat(i));this.set(a,c(this.schema,i,t))}}}},{key:"toJSON",value:function(){return null}},{key:"toString",value:function(e,t,a,i){var s=this,c=t.blockItem,l=t.flowChars,u=t.isMap,p=t.itemIndent,f=e,d=f.indent,h=f.indentStep,v=f.stringify,m=this.type===n.e.FLOW_MAP||this.type===n.e.FLOW_SEQ||e.inFlow;m&&(p+=h);var g=u&&this.hasAllNullValues();e=Object.assign({},e,{allNullValues:g,indent:p,inFlow:m,type:null});var y,b=!1,x=!1,w=this.items.reduce((function(t,r,n){var a;r&&(!b&&r.spaceBefore&&t.push({type:"comment",str:""}),r.commentBefore&&r.commentBefore.match(/^.*$/gm).forEach((function(e){t.push({type:"comment",str:"#".concat(e)})})),r.comment&&(a=r.comment),m&&(!b&&r.spaceBefore||r.commentBefore||r.comment||r.key&&(r.key.commentBefore||r.key.comment)||r.value&&(r.value.commentBefore||r.value.comment))&&(x=!0)),b=!1;var i=v(r,e,(function(){return a=null}),(function(){return b=!0}));return m&&!x&&i.includes("\n")&&(x=!0),m&&nr.maxFlowStringSingleLineLength){y=k;var O,E=Object(n.g)(A);try{for(E.s();!(O=E.n()).done;){var D=O.value;y+=D?"\n".concat(h).concat(d).concat(D):"\n"}}catch(e){E.e(e)}finally{E.f()}y+="\n".concat(d).concat(S)}else y="".concat(k," ").concat(A.join(" ")," ").concat(S)}else{var C=w.map(c);y=C.shift();var j,_=Object(n.g)(C);try{for(_.s();!(j=_.n()).done;){var T=j.value;y+=T?"\n".concat(d).concat(T):"\n"}}catch(e){_.e(e)}finally{_.f()}}return this.comment?(y+="\n"+this.comment.replace(/^/gm,"".concat(d,"#")),a&&a()):b&&i&&i(),y}}]),r}(a);function p(e){var t=e instanceof s?e.value:e;return t&&"string"==typeof t&&(t=Number(t)),Number.isInteger(t)&&t>=0?t:null}Object(n.l)(u,"maxFlowStringSingleLineLength",60);var f=function(e){Object(n.q)(r,e);var t=Object(n.r)(r);function r(){return Object(n.j)(this,r),t.apply(this,arguments)}return Object(n.i)(r,[{key:"add",value:function(e){this.items.push(e)}},{key:"delete",value:function(e){var t=p(e);return"number"==typeof t&&this.items.splice(t,1).length>0}},{key:"get",value:function(e,t){var r=p(e);if("number"==typeof r){var n=this.items[r];return!t&&n instanceof s?n.value:n}}},{key:"has",value:function(e){var t=p(e);return"number"==typeof t&&t1&&void 0!==arguments[1]?arguments[1]:null;return Object(n.j)(this,r),(o=t.call(this)).key=e,o.value=a,o.type=r.Type.PAIR,o}return Object(n.i)(r,[{key:"addToJSMap",value:function(e,t){var r=i(this.key,"",e);if(t instanceof Map){var o=i(this.value,r,e);t.set(r,o)}else if(t instanceof Set)t.add(r);else{var s=function(e,t,r){return null===t?"":"object"!==Object(n.h)(t)?String(t):e instanceof a&&r&&r.doc?e.toString({anchors:{},doc:r.doc,indent:"",indentStep:r.indentStep,inFlow:!0,inStringifyKey:!0,stringify:r.stringify}):JSON.stringify(t)}(this.key,r,e);t[s]=i(this.value,s,e)}return t}},{key:"toJSON",value:function(e,t){var r=t&&t.mapAsMap?new Map:{};return this.addToJSMap(t,r)}},{key:"toString",value:function(e,t,r){if(!e||!e.doc)return JSON.stringify(this);var i=e.doc.options,c=i.indent,l=i.indentSeq,p=i.simpleKeys,d=this.key,h=this.value,v=d instanceof a&&d.comment;if(p){if(v)throw new Error("With simple keys, key nodes cannot have comments");if(d instanceof u){throw new Error("With simple keys, collection cannot be used as a key value")}}var m=!p&&(!d||v||d instanceof u||d.type===n.e.BLOCK_FOLDED||d.type===n.e.BLOCK_LITERAL),g=e,y=g.doc,b=g.indent,x=g.indentStep,w=g.stringify;e=Object.assign({},e,{implicitKey:!m,indent:b+x});var k=!1,S=w(d,e,(function(){return v=null}),(function(){return k=!0}));if(S=o(S,e.indent,v),e.allNullValues&&!p)return this.comment?(S=o(S,e.indent,this.comment),t&&t()):k&&!v&&r&&r(),e.inFlow?S:"? ".concat(S);S=m?"? ".concat(S,"\n").concat(b,":"):"".concat(S,":"),this.comment&&(S=o(S,e.indent,this.comment),t&&t());var A="",O=null;if(h instanceof a){if(h.spaceBefore&&(A="\n"),h.commentBefore){var E=h.commentBefore.replace(/^/gm,"".concat(e.indent,"#"));A+="\n".concat(E)}O=h.comment}else h&&"object"===Object(n.h)(h)&&(h=y.schema.createNode(h,!0));e.implicitKey=!1,!m&&!this.comment&&h instanceof s&&(e.indentAtStart=S.length+1),k=!1,!l&&c>=2&&!e.inFlow&&!m&&h instanceof f&&h.type!==n.e.FLOW_SEQ&&!h.tag&&!y.anchors.getName(h)&&(e.indent=e.indent.substr(2));var D=w(h,e,(function(){return O=null}),(function(){return k=!0})),C=" ";if(A||this.comment)C="".concat(A,"\n").concat(e.indent);else if(!m&&h instanceof u){("["===D[0]||"{"===D[0])&&!D.includes("\n")||(C="\n".concat(e.indent))}return k&&!O&&r&&r(),o(S+C+D,e.indent,O)}},{key:"commentBefore",get:function(){return this.key instanceof a?this.key.commentBefore:void 0},set:function(e){if(null==this.key&&(this.key=new s(null)),!(this.key instanceof a)){throw new Error("Pair.commentBefore is an alias for Pair.key.commentBefore. To set it, the key must be a Node.")}this.key.commentBefore=e}}]),r}(a);Object(n.l)(d,"Type",{PAIR:"PAIR",MERGE_PAIR:"MERGE_PAIR"});var h=function e(t,r){if(t instanceof v){var o=r.get(t.source);return o.count*o.aliasCount}if(t instanceof u){var a,i=0,s=Object(n.g)(t.items);try{for(s.s();!(a=s.n()).done;){var c=e(a.value,r);c>i&&(i=c)}}catch(e){s.e(e)}finally{s.f()}return i}if(t instanceof d){var l=e(t.key,r),p=e(t.value,r);return Math.max(l,p)}return 1},v=function(e){Object(n.q)(r,e);var t=Object(n.r)(r);function r(e){var o;return Object(n.j)(this,r),(o=t.call(this)).source=e,o.type=n.e.ALIAS,o}return Object(n.i)(r,null,[{key:"stringify",value:function(e,t){var r=e.range,n=e.source,o=t.anchors,a=t.doc,i=t.implicitKey,s=t.inStringifyKey,c=Object.keys(o).find((function(e){return o[e]===n}));if(!c&&s&&(c=a.anchors.getName(n)||a.anchors.newName()),c)return"*".concat(c).concat(i?" ":"");var l=a.anchors.getName(n)?"Alias node must be after source node":"Source node not found for alias node";throw new Error("".concat(l," [").concat(r,"]"))}}]),Object(n.i)(r,[{key:"toJSON",value:function(e,t){if(!t)return i(this.source,e,t);var r=t.anchors,o=t.maxAliasCount,a=r.get(this.source);if(!a||void 0===a.res){var s="This should not happen: Alias anchor was not resolved?";throw this.cstNode?new n.v(this.cstNode,s):new ReferenceError(s)}if(o>=0&&(a.count+=1,0===a.aliasCount&&(a.aliasCount=h(this.source,r)),a.count*a.aliasCount>o)){var c="Excessive alias count indicates a resource exhaustion attack";throw this.cstNode?new n.v(this.cstNode,c):new ReferenceError(c)}return a.res}},{key:"toString",value:function(e){return r.stringify(this,e)}},{key:"tag",set:function(e){throw new Error("Alias nodes cannot have tags")}}]),r}(a);function m(e,t){var r,o=t instanceof s?t.value:t,a=Object(n.g)(e);try{for(a.s();!(r=a.n()).done;){var i=r.value;if(i instanceof d){if(i.key===t||i.key===o)return i;if(i.key&&i.key.value===o)return i}}}catch(e){a.e(e)}finally{a.f()}}Object(n.l)(v,"default",!0);var g=function(e){Object(n.q)(r,e);var t=Object(n.r)(r);function r(){return Object(n.j)(this,r),t.apply(this,arguments)}return Object(n.i)(r,[{key:"add",value:function(e,t){e?e instanceof d||(e=new d(e.key||e,e.value)):e=new d(e);var r=m(this.items,e.key),n=this.schema&&this.schema.sortMapEntries;if(r){if(!t)throw new Error("Key ".concat(e.key," already set"));r.value=e.value}else if(n){var o=this.items.findIndex((function(t){return n(e,t)<0}));-1===o?this.items.push(e):this.items.splice(o,0,e)}else this.items.push(e)}},{key:"delete",value:function(e){var t=m(this.items,e);return!!t&&this.items.splice(this.items.indexOf(t),1).length>0}},{key:"get",value:function(e,t){var r=m(this.items,e),n=r&&r.value;return!t&&n instanceof s?n.value:n}},{key:"has",value:function(e){return!!m(this.items,e)}},{key:"set",value:function(e,t){this.add(new d(e,t),!0)}},{key:"toJSON",value:function(e,t,r){var o=r?new r:t&&t.mapAsMap?new Map:{};t&&t.onCreate&&t.onCreate(o);var a,i=Object(n.g)(this.items);try{for(i.s();!(a=i.n()).done;){a.value.addToJSMap(t,o)}}catch(e){i.e(e)}finally{i.f()}return o}},{key:"toString",value:function(e,t,o){if(!e)return JSON.stringify(this);var a,i=Object(n.g)(this.items);try{for(i.s();!(a=i.n()).done;){var s=a.value;if(!(s instanceof d))throw new Error("Map items must all be pairs; found ".concat(JSON.stringify(s)," instead"))}}catch(e){i.e(e)}finally{i.f()}return Object(n.s)(Object(n.t)(r.prototype),"toString",this).call(this,e,{blockItem:function(e){return e.str},flowChars:{start:"{",end:"}"},isMap:!0,itemIndent:e.indent||""},t,o)}}]),r}(u),y=function(e){Object(n.q)(r,e);var t=Object(n.r)(r);function r(e){var o;if(Object(n.j)(this,r),e instanceof d){var a=e.value;a instanceof f||((a=new f).items.push(e.value),a.range=e.value.range),(o=t.call(this,e.key,a)).range=e.range}else o=t.call(this,new s("<<"),new f);return o.type=d.Type.MERGE_PAIR,Object(n.y)(o)}return Object(n.i)(r,[{key:"addToJSMap",value:function(e,t){var r,o=Object(n.g)(this.value.items);try{for(o.s();!(r=o.n()).done;){var a=r.value.source;if(!(a instanceof g))throw new Error("Merge sources must be maps");var i,s=a.toJSON(null,e,Map),c=Object(n.g)(s);try{for(c.s();!(i=c.n()).done;){var l=Object(n.o)(i.value,2),u=l[0],p=l[1];t instanceof Map?t.has(u)||t.set(u,p):t instanceof Set?t.add(u):Object.prototype.hasOwnProperty.call(t,u)||(t[u]=p)}}catch(e){c.e(e)}finally{c.f()}}}catch(e){o.e(e)}finally{o.f()}return t}},{key:"toString",value:function(e,t){var o=this.value;if(o.items.length>1)return Object(n.s)(Object(n.t)(r.prototype),"toString",this).call(this,e,t);this.value=o.items[0];var a=Object(n.s)(Object(n.t)(r.prototype),"toString",this).call(this,e,t);return this.value=o,a}}]),r}(d),b={defaultType:n.e.BLOCK_LITERAL,lineWidth:76},x={trueStr:"true",falseStr:"false"},w={asBigInt:!1},k={nullStr:"null"},S={defaultType:n.e.PLAIN,doubleQuoted:{jsonEncoding:!1,minMultiLineLength:40},fold:{lineWidth:80,minContentWidth:20}};function A(e,t,r){var o,a=Object(n.g)(t);try{for(a.s();!(o=a.n()).done;){var i=o.value,c=i.format,l=i.test,u=i.resolve;if(l){var p=e.match(l);if(p){var f=u.apply(null,p);return f instanceof s||(f=new s(f)),c&&(f.format=c),f}}}}catch(e){a.e(e)}finally{a.f()}return r&&(e=r(e)),new s(e)}var O=function(e,t){for(var r=e[t+1];" "===r||"\t"===r;){do{r=e[t+=1]}while(r&&"\n"!==r);r=e[t+1]}return t};function E(e,t,r,n){var o=n.indentAtStart,a=n.lineWidth,i=void 0===a?80:a,s=n.minContentWidth,c=void 0===s?20:s,l=n.onFold,u=n.onOverflow;if(!i||i<0)return e;var p=Math.max(1+c,1+i-t.length);if(e.length<=p)return e;var f,d=[],h={},v=i-("number"==typeof o?o:t.length),m=void 0,g=void 0,y=!1,b=-1;for("block"===r&&-1!==(b=O(e,b))&&(v=b+p);f=e[b+=1];){if("quoted"===r&&"\\"===f)switch(e[b+1]){case"x":b+=3;break;case"u":b+=5;break;case"U":b+=9;break;default:b+=1}if("\n"===f)"block"===r&&(b=O(e,b)),v=b+p,m=void 0;else{if(" "===f&&g&&" "!==g&&"\n"!==g&&"\t"!==g){var x=e[b+1];x&&" "!==x&&"\n"!==x&&"\t"!==x&&(m=b)}if(b>=v)if(m)d.push(m),v=m+p,m=void 0;else if("quoted"===r){for(;" "===g||"\t"===g;)g=f,f=e[b+=1],y=!0;d.push(b-2),h[b-2]=!0,v=b-2+p,m=void 0}else y=!0}g=f}if(y&&u&&u(),0===d.length)return e;l&&l();for(var w=e.slice(0,d[0]),k=0;kt)return!0;if(r-(o=n+1)<=t)return!1}return!0}(s,S.fold.lineWidth-c.length)),p=u?"|":">";if(!s)return p+"\n";var f="",d="";if(s=s.replace(/[\n\t ]*$/,(function(e){var t=e.indexOf("\n");return-1===t?p+="-":s!==e&&t===e.length-1||(p+="+",o&&o()),d=e.replace(/\n$/,""),""})).replace(/^[\n ]*/,(function(e){-1!==e.indexOf(" ")&&(p+=l);var t=e.match(/ +$/);return t?(f=e.slice(0,-t[0].length),t[0]):(f=e,"")})),d&&(d=d.replace(/\n+(?!\n|$)/g,"$&".concat(c))),f&&(f=f.replace(/\n+/g,"$&".concat(c))),a&&(p+=" #"+a.replace(/ ?[\r\n]+/g," "),r&&r()),!s)return"".concat(p).concat(l,"\n").concat(c).concat(d);if(u)return s=s.replace(/\n+/g,"$&".concat(c)),"".concat(p,"\n").concat(c).concat(f).concat(s).concat(d);s=s.replace(/\n+/g,"\n$&").replace(/(?:^|\n)([\t ].*)(?:([\n\t ]*)\n(?![\n\t ]))?/g,"$1$2").replace(/\n+/g,"$&".concat(c));var h=E("".concat(f).concat(s).concat(d),c,"block",S.fold);return"".concat(p,"\n").concat(c).concat(h)}function I(e,t,r,o){var a=S.defaultType,i=t.implicitKey,s=t.inFlow,c=e,l=c.type,u=c.value;"string"!=typeof u&&(u=String(u),e=Object.assign({},e,{value:u}));var p=function(a){switch(a){case n.e.BLOCK_FOLDED:case n.e.BLOCK_LITERAL:return T(e,t,r,o);case n.e.QUOTE_DOUBLE:return j(u,t);case n.e.QUOTE_SINGLE:return _(u,t);case n.e.PLAIN:return function(e,t,r,o){var a=e.comment,i=e.type,s=e.value,c=t.actualString,l=t.implicitKey,u=t.indent,p=t.inFlow;if(l&&/[\n[\]{},]/.test(s)||p&&/[[\]{},]/.test(s))return j(s,t);if(!s||/^[\n\t ,[\]{}#&*!|>'"%@`]|^[?-]$|^[?-][ \t]|[\n:][ \t]|[ \t]\n|[\n\t ]#|[\n\t :]$/.test(s))return l||p||-1===s.indexOf("\n")?-1!==s.indexOf('"')&&-1===s.indexOf("'")?_(s,t):j(s,t):T(e,t,r,o);if(!l&&!p&&i!==n.e.PLAIN&&-1!==s.indexOf("\n"))return T(e,t,r,o);if(""===u&&C(s))return t.forceBlockIndent=!0,T(e,t,r,o);var f=s.replace(/\n+/g,"$&\n".concat(u));if(c){var d=t.doc.schema.tags;if("string"!=typeof A(f,d,d.scalarFallback).value)return j(s,t)}var h=l?f:E(f,u,"flow",D(t));return!a||p||-1===h.indexOf("\n")&&-1===a.indexOf("\n")?h:(r&&r(),function(e,t,r){if(!r)return e;var n=r.replace(/[\s\S]^/gm,"$&".concat(t,"#"));return"#".concat(n,"\n").concat(t).concat(e)}(h,u,a))}(e,t,r,o);default:return null}};l!==n.e.QUOTE_DOUBLE&&/[\x00-\x08\x0b-\x1f\x7f-\x9f]/.test(u)?l=n.e.QUOTE_DOUBLE:!i&&!s||l!==n.e.BLOCK_FOLDED&&l!==n.e.BLOCK_LITERAL||(l=n.e.QUOTE_DOUBLE);var f=p(l);if(null===f&&null===(f=p(a)))throw new Error("Unsupported default string type ".concat(a));return f}function F(e){var t=e.format,r=e.minFractionDigits,n=e.tag,o=e.value;if("bigint"==typeof o)return String(o);if(!isFinite(o))return isNaN(o)?".nan":o<0?"-.inf":".inf";var a=JSON.stringify(o);if(!t&&r&&(!n||"tag:yaml.org,2002:float"===n)&&/^\d/.test(a)){var i=a.indexOf(".");i<0&&(i=a.length,a+=".");for(var s=r-(a.length-i-1);s-- >0;)a+="0"}return a}function P(e,t){var r,o,a;switch(t.type){case n.e.FLOW_MAP:r="}",o="flow map";break;case n.e.FLOW_SEQ:r="]",o="flow sequence";break;default:return void e.push(new n.n(t,"Not a flow collection!?"))}for(var i=t.items.length-1;i>=0;--i){var s=t.items[i];if(!s||s.type!==n.e.COMMENT){a=s;break}}if(a&&a.char!==r){var c,l="Expected ".concat(o," to end with ").concat(r);"number"==typeof a.offset?(c=new n.n(t,l)).offset=a.offset+1:(c=new n.n(a,l),a.range&&a.range.end&&(c.offset=a.range.end-a.range.start)),e.push(c)}}function R(e,t){var r=t.context.src[t.range.start-1];if("\n"!==r&&"\t"!==r&&" "!==r){e.push(new n.n(t,"Comments must be separated from other tokens by white space characters"))}}function B(e,t){var r=String(t),o=r.substr(0,8)+"..."+r.substr(-8);return new n.n(e,'The "'.concat(o,'" key is too long'))}function L(e,t){var r,o=Object(n.g)(t);try{for(o.s();!(r=o.n()).done;){var a=r.value,i=a.afterKey,s=a.before,c=a.comment,l=e.items[s];l?(i&&l.value&&(l=l.value),void 0===c?!i&&l.commentBefore||(l.spaceBefore=!0):l.commentBefore?l.commentBefore+="\n"+c:l.commentBefore=c):void 0!==c&&(e.comment?e.comment+="\n"+c:e.comment=c)}}catch(e){o.e(e)}finally{o.f()}}function N(e,t){var r=t.strValue;return r?"string"==typeof r?r:(r.errors.forEach((function(r){r.source||(r.source=t),e.errors.push(r)})),r.str):""}function M(e,t){var r=t.tag,o=t.type,a=!1;if(r){var i=r.handle,s=r.suffix,c=r.verbatim;if(c){if("!"!==c&&"!!"!==c)return c;var l="Verbatim tags aren't resolved, so ".concat(c," is invalid.");e.errors.push(new n.n(t,l))}else if("!"!==i||s)try{return function(e,t){var r=t.tag,o=r.handle,a=r.suffix,i=e.tagPrefixes.find((function(e){return e.handle===o}));if(!i){var s=e.getDefaults().tagPrefixes;if(s&&(i=s.find((function(e){return e.handle===o}))),!i)throw new n.n(t,"The ".concat(o," tag handle is non-default and was not declared."))}if(!a)throw new n.n(t,"The ".concat(o," tag has no suffix."));if("!"===o&&"1.0"===(e.version||e.options.version)){if("^"===a[0])return e.warnings.push(new n.m(t,"YAML 1.0 ^ tag expansion is not supported")),a;if(/[:/]/.test(a)){var c=a.match(/^([a-z0-9-]+)\/(.*)/i);return c?"tag:".concat(c[1],".yaml.org,2002:").concat(c[2]):"tag:".concat(a)}}return i.prefix+decodeURIComponent(a)}(e,t)}catch(t){e.errors.push(t)}else a=!0}switch(o){case n.e.BLOCK_FOLDED:case n.e.BLOCK_LITERAL:case n.e.QUOTE_DOUBLE:case n.e.QUOTE_SINGLE:return n.u.STR;case n.e.FLOW_MAP:case n.e.MAP:return n.u.MAP;case n.e.FLOW_SEQ:case n.e.SEQ:return n.u.SEQ;case n.e.PLAIN:return a?n.u.STR:null;default:return null}}function q(e,t,r){var o,a=e.schema.tags,i=[],c=Object(n.g)(a);try{for(c.s();!(o=c.n()).done;){var l=o.value;if(l.tag===r){if(!l.test){var p=l.resolve(e,t);return p instanceof u?p:new s(p)}i.push(l)}}}catch(e){c.e(e)}finally{c.f()}var f=N(e,t);return"string"==typeof f&&i.length>0?A(f,i,a.scalarFallback):null}function z(e,t,r){try{var o=q(e,t,r);if(o)return r&&t.tag&&(o.tag=r),o}catch(r){return r.source||(r.source=t),e.errors.push(r),null}try{var a=function(e){switch(e.type){case n.e.FLOW_MAP:case n.e.MAP:return n.u.MAP;case n.e.FLOW_SEQ:case n.e.SEQ:return n.u.SEQ;default:return n.u.STR}}(t);if(!a)throw new Error("The tag ".concat(r," is unavailable"));var i="The tag ".concat(r," is unavailable, falling back to ").concat(a);e.warnings.push(new n.m(t,i));var s=q(e,t,a);return s.tag=r,s}catch(r){var c=new n.v(t,r.message);return c.stack=r.stack,e.errors.push(c),null}}function U(e,t){var r,o={before:[],after:[]},a=!1,i=!1,s=function(e){if(!e)return!1;var t=e.type;return t===n.e.MAP_KEY||t===n.e.MAP_VALUE||t===n.e.SEQ_ITEM}(t.context.parent)?t.context.parent.props.concat(t.props):t.props,c=Object(n.g)(s);try{for(c.s();!(r=c.n()).done;){var l=r.value,u=l.start,p=l.end;switch(t.context.src[u]){case n.a.COMMENT:if(!t.commentHasRequiredWhitespace(u)){e.push(new n.n(t,"Comments must be separated from other tokens by white space characters"))}var f=t.header,d=t.valueRange;(d&&(u>d.start||f&&u>f.start)?o.after:o.before).push(t.context.src.slice(u+1,p));break;case n.a.ANCHOR:if(a){e.push(new n.n(t,"A node can have at most one anchor"))}a=!0;break;case n.a.TAG:if(i){e.push(new n.n(t,"A node can have at most one tag"))}i=!0}}}catch(e){c.e(e)}finally{c.f()}return{comments:o,hasAnchor:a,hasTag:i}}function $(e,t){if(!t)return null;t.error&&e.errors.push(t.error);var r=U(e.errors,t),o=r.comments,a=r.hasAnchor,i=r.hasTag;if(a){var s=e.anchors,c=t.anchor,l=s.getNode(c);l&&(s.map[s.newName(c)]=l),s.map[c]=t}if(t.type===n.e.ALIAS&&(a||i)){e.errors.push(new n.n(t,"An alias node must not specify any properties"))}var u=function(e,t){var r=e.anchors,o=e.errors,a=e.schema;if(t.type===n.e.ALIAS){var i=t.rawValue,s=r.getNode(i);if(!s){var c="Aliased anchor not found: ".concat(i);return o.push(new n.v(t,c)),null}var l=new v(s);return r._cstAliases.push(l),l}var u=M(e,t);if(u)return z(e,t,u);if(t.type!==n.e.PLAIN){var p="Failed to resolve ".concat(t.type," node here");return o.push(new n.f(t,p)),null}try{return A(N(e,t),a.tags,a.tags.scalarFallback)}catch(e){return e.source||(e.source=t),o.push(e),null}}(e,t);if(u){u.range=[t.range.start,t.range.end],e.options.keepCstNodes&&(u.cstNode=t),e.options.keepNodeTypes&&(u.type=t.type);var p=o.before.join("\n");p&&(u.commentBefore=u.commentBefore?"".concat(u.commentBefore,"\n").concat(p):p);var f=o.after.join("\n");f&&(u.comment=u.comment?"".concat(u.comment,"\n").concat(f):f)}return t.resolved=u}function H(e,t){if(t.type!==n.e.MAP&&t.type!==n.e.FLOW_MAP){var r="A ".concat(t.type," node cannot be resolved as a mapping");return e.errors.push(new n.f(t,r)),null}var o=t.type===n.e.FLOW_MAP?function(e,t){for(var r=[],o=[],a=void 0,i=!1,s="{",c=0;c0){(l=new n.c(n.e.PLAIN,[])).context={parent:c,src:c.context.src};var u=c.range.start+1;if(l.range={start:u,end:u},l.valueRange={start:u,end:u},"number"==typeof c.range.origStart){var p=c.range.origStart+1;l.range.origStart=l.range.origEnd=p,l.valueRange.origStart=l.valueRange.origEnd=p}}var f=new d(a,$(e,l));W(c,f),o.push(f),a&&"number"==typeof i&&c.range.start>i+1024&&e.errors.push(B(t,a)),a=void 0,i=null;break;default:void 0!==a&&o.push(new d(a)),a=$(e,c),i=c.range.start,c.error&&e.errors.push(c.error);e:for(var h=s+1;;++h){var v=t.items[h];switch(v&&v.type){case n.e.BLANK_LINE:case n.e.COMMENT:continue e;case n.e.MAP_VALUE:break e;default:e.errors.push(new n.n(c,"Implicit map keys need to be followed by map values"));break e}}if(c.valueRangeContainsNewline){e.errors.push(new n.n(c,"Implicit map keys need to be on a single line"))}}}void 0!==a&&o.push(new d(a));return{comments:r,items:o}}(e,t),a=o.comments,i=o.items,s=new g;s.items=i,L(s,a);for(var c=!1,l=0;lo.valueRange.start)return!1;if(a[s]!==n.a.COMMENT)return!1;for(var c=r;cs+1024&&e.errors.push(B(t,i));for(var g=l.context.src,y=s;ye.length)&&(t=e.length);for(var r=0,n=new Array(t);r=e.length?{done:!0}:{done:!1,value:e[o++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(n=e[Symbol.iterator]()).next.bind(n)}var n=function(e){var t={exports:{}};return e(t,t.exports),t.exports}((function(e){function t(){return{baseUrl:null,breaks:!1,gfm:!0,headerIds:!0,headerPrefix:"",highlight:null,langPrefix:"language-",mangle:!0,pedantic:!1,renderer:null,sanitize:!1,sanitizer:null,silent:!1,smartLists:!1,smartypants:!1,tokenizer:null,walkTokens:null,xhtml:!1}}e.exports={defaults:{baseUrl:null,breaks:!1,gfm:!0,headerIds:!0,headerPrefix:"",highlight:null,langPrefix:"language-",mangle:!0,pedantic:!1,renderer:null,sanitize:!1,sanitizer:null,silent:!1,smartLists:!1,smartypants:!1,tokenizer:null,walkTokens:null,xhtml:!1},getDefaults:t,changeDefaults:function(t){e.exports.defaults=t}}})),o=/[&<>"']/,a=/[&<>"']/g,i=/[<>"']|&(?!#?\w+;)/,s=/[<>"']|&(?!#?\w+;)/g,c={"&":"&","<":"<",">":">",'"':""","'":"'"},l=function(e){return c[e]},u=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/gi;function p(e){return e.replace(u,(function(e,t){return"colon"===(t=t.toLowerCase())?":":"#"===t.charAt(0)?"x"===t.charAt(1)?String.fromCharCode(parseInt(t.substring(2),16)):String.fromCharCode(+t.substring(1)):""}))}var f=/(^|[^\[])\^/g,d=/[^\w:]/g,h=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i,v={},m=/^[^:]+:\/*[^/]*$/,g=/^([^:]+:)[\s\S]*$/,y=/^([^:]+:\/*[^/]*)[\s\S]*$/;function b(e,t){v[" "+e]||(m.test(e)?v[" "+e]=e+"/":v[" "+e]=x(e,"/",!0));var r=-1===(e=v[" "+e]).indexOf(":");return"//"===t.substring(0,2)?r?t:e.replace(g,"$1")+t:"/"===t.charAt(0)?r?t:e.replace(y,"$1")+t:e+t}function x(e,t,r){var n=e.length;if(0===n)return"";for(var o=0;o=0&&"\\"===r[o];)n=!n;return n?"|":" |"})).split(/ \|/),n=0;if(r.length>t)r.splice(t);else for(;r.length1;)1&t&&(r+=e),t>>=1,e+=e;return r+e},I=n.defaults,F=C,P=D,R=w,B=j;function L(e,t,r){var n=t.href,o=t.title?R(t.title):null,a=e[1].replace(/\\([\[\]])/g,"$1");return"!"!==e[0].charAt(0)?{type:"link",raw:r,href:n,title:o,text:a}:{type:"image",raw:r,href:n,title:o,text:R(a)}}var N=function(){function e(e){this.options=e||I}var t=e.prototype;return t.space=function(e){var t=this.rules.block.newline.exec(e);if(t)return t[0].length>1?{type:"space",raw:t[0]}:{raw:"\n"}},t.code=function(e){var t=this.rules.block.code.exec(e);if(t){var r=t[0].replace(/^ {1,4}/gm,"");return{type:"code",raw:t[0],codeBlockStyle:"indented",text:this.options.pedantic?r:F(r,"\n")}}},t.fences=function(e){var t=this.rules.block.fences.exec(e);if(t){var r=t[0],n=function(e,t){var r=e.match(/^(\s+)(?:```)/);if(null===r)return t;var n=r[1];return t.split("\n").map((function(e){var t=e.match(/^\s+/);return null===t?e:t[0].length>=n.length?e.slice(n.length):e})).join("\n")}(r,t[3]||"");return{type:"code",raw:r,lang:t[2]?t[2].trim():t[2],text:n}}},t.heading=function(e){var t=this.rules.block.heading.exec(e);if(t){var r=t[2].trim();if(/#$/.test(r)){var n=F(r,"#");this.options.pedantic?r=n.trim():n&&!/ $/.test(n)||(r=n.trim())}return{type:"heading",raw:t[0],depth:t[1].length,text:r}}},t.nptable=function(e){var t=this.rules.block.nptable.exec(e);if(t){var r={type:"table",header:P(t[1].replace(/^ *| *\| *$/g,"")),align:t[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:t[3]?t[3].replace(/\n$/,"").split("\n"):[],raw:t[0]};if(r.header.length===r.align.length){var n,o=r.align.length;for(n=0;n ?/gm,"");return{type:"blockquote",raw:t[0],text:r}}},t.list=function(e){var t=this.rules.block.list.exec(e);if(t){var r,n,o,a,i,s,c,l,u=t[0],p=t[2],f=p.length>1,d={type:"list",raw:u,ordered:f,start:f?+p.slice(0,-1):"",loose:!1,items:[]},h=t[0].match(this.rules.block.item),v=!1,m=h.length;o=this.rules.block.listItemStart.exec(h[0]);for(var g=0;go[1].length:a[1].length>o[0].length||a[1].length>3){h.splice(g,2,h[g]+"\n"+h[g+1]),g--,m--;continue}(!this.options.pedantic||this.options.smartLists?a[2][a[2].length-1]!==p[p.length-1]:f===(1===a[2].length))&&(i=h.slice(g+1).join("\n"),d.raw=d.raw.substring(0,d.raw.length-i.length),g=m-1),o=a}n=r.length,~(r=r.replace(/^ *([*+-]|\d+[.)]) ?/,"")).indexOf("\n ")&&(n-=r.length,r=this.options.pedantic?r.replace(/^ {1,4}/gm,""):r.replace(new RegExp("^ {1,"+n+"}","gm"),"")),s=v||/\n\n(?!\s*$)/.test(r),g!==m-1&&(v="\n"===r.charAt(r.length-1),s||(s=v)),s&&(d.loose=!0),this.options.gfm&&(l=void 0,(c=/^\[[ xX]\] /.test(r))&&(l=" "!==r[1],r=r.replace(/^\[[ xX]\] +/,""))),d.items.push({type:"list_item",raw:u,task:c,checked:l,loose:s,text:r})}return d}},t.html=function(e){var t=this.rules.block.html.exec(e);if(t)return{type:this.options.sanitize?"paragraph":"html",raw:t[0],pre:!this.options.sanitizer&&("pre"===t[1]||"script"===t[1]||"style"===t[1]),text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(t[0]):R(t[0]):t[0]}},t.def=function(e){var t=this.rules.block.def.exec(e);if(t)return t[3]&&(t[3]=t[3].substring(1,t[3].length-1)),{tag:t[1].toLowerCase().replace(/\s+/g," "),raw:t[0],href:t[2],title:t[3]}},t.table=function(e){var t=this.rules.block.table.exec(e);if(t){var r={type:"table",header:P(t[1].replace(/^ *| *\| *$/g,"")),align:t[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:t[3]?t[3].replace(/\n$/,"").split("\n"):[]};if(r.header.length===r.align.length){r.raw=t[0];var n,o=r.align.length;for(n=0;n/i.test(n[0])&&(t=!1),!r&&/^<(pre|code|kbd|script)(\s|>)/i.test(n[0])?r=!0:r&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(n[0])&&(r=!1),{type:this.options.sanitize?"text":"html",raw:n[0],inLink:t,inRawBlock:r,text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(n[0]):R(n[0]):n[0]}},t.link=function(e){var t=this.rules.inline.link.exec(e);if(t){var r=t[2].trim();if(!this.options.pedantic&&/^$/.test(r))return;var n=F(r.slice(0,-1),"\\");if((r.length-n.length)%2==0)return}else{var o=B(t[2],"()");if(o>-1){var a=(0===t[0].indexOf("!")?5:4)+t[1].length+o;t[2]=t[2].substring(0,o),t[0]=t[0].substring(0,a).trim(),t[3]=""}}var i=t[2],s="";if(this.options.pedantic){var c=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(i);c&&(i=c[1],s=c[3])}else s=t[3]?t[3].slice(1,-1):"";return i=i.trim(),/^$/.test(r)?i.slice(1):i.slice(1,-1)),L(t,{href:i?i.replace(this.rules.inline._escapes,"$1"):i,title:s?s.replace(this.rules.inline._escapes,"$1"):s},t[0])}},t.reflink=function(e,t){var r;if((r=this.rules.inline.reflink.exec(e))||(r=this.rules.inline.nolink.exec(e))){var n=(r[2]||r[1]).replace(/\s+/g," ");if(!(n=t[n.toLowerCase()])||!n.href){var o=r[0].charAt(0);return{type:"text",raw:o,text:o}}return L(r,n,r[0])}},t.emStrong=function(e,t,r){void 0===r&&(r="");var n=this.rules.inline.emStrong.lDelim.exec(e);if(n&&(!n[3]||!r.match(/(?:[0-9A-Za-z\xAA\xB2\xB3\xB5\xB9\xBA\xBC-\xBE\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u0660-\u0669\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07C0-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u08A0-\u08B4\u08B6-\u08C7\u0904-\u0939\u093D\u0950\u0958-\u0961\u0966-\u096F\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09E6-\u09F1\u09F4-\u09F9\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A66-\u0A6F\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AE6-\u0AEF\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B66-\u0B6F\u0B71-\u0B77\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0BE6-\u0BF2\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C66-\u0C6F\u0C78-\u0C7E\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CE6-\u0CEF\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D58-\u0D61\u0D66-\u0D78\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DE6-\u0DEF\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F20-\u0F33\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F-\u1049\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u1090-\u1099\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1369-\u137C\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u17E0-\u17E9\u17F0-\u17F9\u1810-\u1819\u1820-\u1878\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19DA\u1A00-\u1A16\u1A20-\u1A54\u1A80-\u1A89\u1A90-\u1A99\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B50-\u1B59\u1B83-\u1BA0\u1BAE-\u1BE5\u1C00-\u1C23\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2070\u2071\u2074-\u2079\u207F-\u2089\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2150-\u2189\u2460-\u249B\u24EA-\u24FF\u2776-\u2793\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2CFD\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u3192-\u3195\u31A0-\u31BF\u31F0-\u31FF\u3220-\u3229\u3248-\u324F\u3251-\u325F\u3280-\u3289\u32B1-\u32BF\u3400-\u4DBF\u4E00-\u9FFC\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7BF\uA7C2-\uA7CA\uA7F5-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA830-\uA835\uA840-\uA873\uA882-\uA8B3\uA8D0-\uA8D9\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA900-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF-\uA9D9\uA9E0-\uA9E4\uA9E6-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA50-\uAA59\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD07-\uDD33\uDD40-\uDD78\uDD8A\uDD8B\uDE80-\uDE9C\uDEA0-\uDED0\uDEE1-\uDEFB\uDF00-\uDF23\uDF2D-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC58-\uDC76\uDC79-\uDC9E\uDCA7-\uDCAF\uDCE0-\uDCF2\uDCF4\uDCF5\uDCFB-\uDD1B\uDD20-\uDD39\uDD80-\uDDB7\uDDBC-\uDDCF\uDDD2-\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE35\uDE40-\uDE48\uDE60-\uDE7E\uDE80-\uDE9F\uDEC0-\uDEC7\uDEC9-\uDEE4\uDEEB-\uDEEF\uDF00-\uDF35\uDF40-\uDF55\uDF58-\uDF72\uDF78-\uDF91\uDFA9-\uDFAF]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2\uDCFA-\uDD23\uDD30-\uDD39\uDE60-\uDE7E\uDE80-\uDEA9\uDEB0\uDEB1\uDF00-\uDF27\uDF30-\uDF45\uDF51-\uDF54\uDFB0-\uDFCB\uDFE0-\uDFF6]|\uD804[\uDC03-\uDC37\uDC52-\uDC6F\uDC83-\uDCAF\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD03-\uDD26\uDD36-\uDD3F\uDD44\uDD47\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDD0-\uDDDA\uDDDC\uDDE1-\uDDF4\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDEF0-\uDEF9\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC50-\uDC59\uDC5F-\uDC61\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE50-\uDE59\uDE80-\uDEAA\uDEB8\uDEC0-\uDEC9\uDF00-\uDF1A\uDF30-\uDF3B]|\uD806[\uDC00-\uDC2B\uDCA0-\uDCF2\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD2F\uDD3F\uDD41\uDD50-\uDD59\uDDA0-\uDDA7\uDDAA-\uDDD0\uDDE1\uDDE3\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE89\uDE9D\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC50-\uDC6C\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46\uDD50-\uDD59\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD89\uDD98\uDDA0-\uDDA9\uDEE0-\uDEF2\uDFB0\uDFC0-\uDFD4]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF50-\uDF59\uDF5B-\uDF61\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDE40-\uDE96\uDF00-\uDF4A\uDF50\uDF93-\uDF9F\uDFE0\uDFE1\uDFE3]|\uD821[\uDC00-\uDFF7]|\uD823[\uDC00-\uDCD5\uDD00-\uDD08]|\uD82C[\uDC00-\uDD1E\uDD50-\uDD52\uDD64-\uDD67\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD834[\uDEE0-\uDEF3\uDF60-\uDF78]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD838[\uDD00-\uDD2C\uDD37-\uDD3D\uDD40-\uDD49\uDD4E\uDEC0-\uDEEB\uDEF0-\uDEF9]|\uD83A[\uDC00-\uDCC4\uDCC7-\uDCCF\uDD00-\uDD43\uDD4B\uDD50-\uDD59]|\uD83B[\uDC71-\uDCAB\uDCAD-\uDCAF\uDCB1-\uDCB4\uDD01-\uDD2D\uDD2F-\uDD3D\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD83C[\uDD00-\uDD0C]|\uD83E[\uDFF0-\uDFF9]|\uD869[\uDC00-\uDEDD\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A])/))){var o=n[1]||n[2]||"";if(!o||o&&(""===r||this.rules.inline.punctuation.exec(r))){var a,i,s=n[0].length-1,c=s,l=0,u="*"===n[0][0]?this.rules.inline.emStrong.rDelimAst:this.rules.inline.emStrong.rDelimUnd;for(u.lastIndex=0,t=t.slice(-1*e.length+s);null!=(n=u.exec(t));)if(a=n[1]||n[2]||n[3]||n[4]||n[5]||n[6])if(i=a.length,n[3]||n[4])c+=i;else if(!((n[5]||n[6])&&s%3)||(s+i)%3){if(!((c-=i)>0)){if(c+l-i<=0&&!t.slice(u.lastIndex).match(u)&&(i=Math.min(i,i+c+l)),Math.min(s,i)%2)return{type:"em",raw:e.slice(0,s+n.index+i+1),text:e.slice(1,s+n.index+i)};if(Math.min(s,i)%2==0)return{type:"strong",raw:e.slice(0,s+n.index+i+1),text:e.slice(2,s+n.index+i-1)}}}else l+=i}}},t.codespan=function(e){var t=this.rules.inline.code.exec(e);if(t){var r=t[2].replace(/\n/g," "),n=/[^ ]/.test(r),o=/^ /.test(r)&&/ $/.test(r);return n&&o&&(r=r.substring(1,r.length-1)),r=R(r,!0),{type:"codespan",raw:t[0],text:r}}},t.br=function(e){var t=this.rules.inline.br.exec(e);if(t)return{type:"br",raw:t[0]}},t.del=function(e){var t=this.rules.inline.del.exec(e);if(t)return{type:"del",raw:t[0],text:t[2]}},t.autolink=function(e,t){var r,n,o=this.rules.inline.autolink.exec(e);if(o)return n="@"===o[2]?"mailto:"+(r=R(this.options.mangle?t(o[1]):o[1])):r=R(o[1]),{type:"link",raw:o[0],text:r,href:n,tokens:[{type:"text",raw:r,text:r}]}},t.url=function(e,t){var r;if(r=this.rules.inline.url.exec(e)){var n,o;if("@"===r[2])o="mailto:"+(n=R(this.options.mangle?t(r[0]):r[0]));else{var a;do{a=r[0],r[0]=this.rules.inline._backpedal.exec(r[0])[0]}while(a!==r[0]);n=R(r[0]),o="www."===r[1]?"http://"+n:n}return{type:"link",raw:r[0],text:n,href:o,tokens:[{type:"text",raw:n,text:n}]}}},t.inlineText=function(e,t,r){var n,o=this.rules.inline.text.exec(e);if(o)return n=t?this.options.sanitize?this.options.sanitizer?this.options.sanitizer(o[0]):R(o[0]):o[0]:R(this.options.smartypants?r(o[0]):o[0]),{type:"text",raw:o[0],text:n}},e}(),M=O,q=S,z=E,U={newline:/^(?: *(?:\n|$))+/,code:/^( {4}[^\n]+(?:\n(?: *(?:\n|$))*)?)+/,fences:/^ {0,3}(`{3,}(?=[^`\n]*\n)|~{3,})([^\n]*)\n(?:|([\s\S]*?)\n)(?: {0,3}\1[~`]* *(?:\n+|$)|$)/,hr:/^ {0,3}((?:- *){3,}|(?:_ *){3,}|(?:\* *){3,})(?:\n+|$)/,heading:/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,blockquote:/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/,list:/^( {0,3})(bull) [\s\S]+?(?:hr|def|\n{2,}(?! )(?! {0,3}bull )\n*|\s*$)/,html:"^ {0,3}(?:<(script|pre|style)[\\s>][\\s\\S]*?(?:[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|\\n*|$)|\\n*|$)|)[\\s\\S]*?(?:\\n{2,}|$)|<(?!script|pre|style)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:\\n{2,}|$)|(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:\\n{2,}|$))",def:/^ {0,3}\[(label)\]: *\n? *]+)>?(?:(?: +\n? *| *\n *)(title))? *(?:\n+|$)/,nptable:M,table:M,lheading:/^([^\n]+)\n {0,3}(=+|-+) *(?:\n+|$)/,_paragraph:/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html| +\n)[^\n]+)*)/,text:/^[^\n]+/,_label:/(?!\s*\])(?:\\[\[\]]|[^\[\]])+/,_title:/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/};U.def=q(U.def).replace("label",U._label).replace("title",U._title).getRegex(),U.bullet=/(?:[*+-]|\d{1,9}[.)])/,U.item=/^( *)(bull) ?[^\n]*(?:\n(?! *bull ?)[^\n]*)*/,U.item=q(U.item,"gm").replace(/bull/g,U.bullet).getRegex(),U.listItemStart=q(/^( *)(bull)/).replace("bull",U.bullet).getRegex(),U.list=q(U.list).replace(/bull/g,U.bullet).replace("hr","\\n+(?=\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$))").replace("def","\\n+(?="+U.def.source+")").getRegex(),U._tag="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|section|source|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",U._comment=/|$)/,U.html=q(U.html,"i").replace("comment",U._comment).replace("tag",U._tag).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),U.paragraph=q(U._paragraph).replace("hr",U.hr).replace("heading"," {0,3}#{1,6} ").replace("|lheading","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|!--)").replace("tag",U._tag).getRegex(),U.blockquote=q(U.blockquote).replace("paragraph",U.paragraph).getRegex(),U.normal=z({},U),U.gfm=z({},U.normal,{nptable:"^ *([^|\\n ].*\\|.*)\\n {0,3}([-:]+ *\\|[-| :]*)(?:\\n((?:(?!\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)",table:"^ *\\|(.+)\\n {0,3}\\|?( *[-:]+[-| :]*)(?:\\n *((?:(?!\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)"}),U.gfm.nptable=q(U.gfm.nptable).replace("hr",U.hr).replace("heading"," {0,3}#{1,6} ").replace("blockquote"," {0,3}>").replace("code"," {4}[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|!--)").replace("tag",U._tag).getRegex(),U.gfm.table=q(U.gfm.table).replace("hr",U.hr).replace("heading"," {0,3}#{1,6} ").replace("blockquote"," {0,3}>").replace("code"," {4}[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|!--)").replace("tag",U._tag).getRegex(),U.pedantic=z({},U.normal,{html:q("^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+? *(?:\\n{2,}|\\s*$)|\\s]*)*?/?> *(?:\\n{2,}|\\s*$))").replace("comment",U._comment).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:M,paragraph:q(U.normal._paragraph).replace("hr",U.hr).replace("heading"," *#{1,6} *[^\n]").replace("lheading",U.lheading).replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").getRegex()});var $={escape:/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,autolink:/^<(scheme:[^\s\x00-\x1f<>]*|email)>/,url:M,tag:"^comment|^|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^|^",link:/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/,reflink:/^!?\[(label)\]\[(?!\s*\])((?:\\[\[\]]?|[^\[\]\\])+)\]/,nolink:/^!?\[(?!\s*\])((?:\[[^\[\]]*\]|\\[\[\]]|[^\[\]])*)\](?:\[\])?/,reflinkSearch:"reflink|nolink(?!\\()",emStrong:{lDelim:/^(?:\*+(?:([punct_])|[^\s*]))|^_+(?:([punct*])|([^\s_]))/,rDelimAst:/\_\_[^_]*?\*[^_]*?\_\_|[punct_](\*+)(?=[\s]|$)|[^punct*_\s](\*+)(?=[punct_\s]|$)|[punct_\s](\*+)(?=[^punct*_\s])|[\s](\*+)(?=[punct_])|[punct_](\*+)(?=[punct_])|[^punct*_\s](\*+)(?=[^punct*_\s])/,rDelimUnd:/\*\*[^*]*?\_[^*]*?\*\*|[punct*](\_+)(?=[\s]|$)|[^punct*_\s](\_+)(?=[punct*\s]|$)|[punct*\s](\_+)(?=[^punct*_\s])|[\s](\_+)(?=[punct*])|[punct*](\_+)(?=[punct*])/},code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,br:/^( {2,}|\\)\n(?!\s*$)/,del:M,text:/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\?@\\[\\]`^{|}~"};$.punctuation=q($.punctuation).replace(/punctuation/g,$._punctuation).getRegex(),$.blockSkip=/\[[^\]]*?\]\([^\)]*?\)|`[^`]*?`|<[^>]*?>/g,$.escapedEmSt=/\\\*|\\_/g,$._comment=q(U._comment).replace("(?:--\x3e|$)","--\x3e").getRegex(),$.emStrong.lDelim=q($.emStrong.lDelim).replace(/punct/g,$._punctuation).getRegex(),$.emStrong.rDelimAst=q($.emStrong.rDelimAst,"g").replace(/punct/g,$._punctuation).getRegex(),$.emStrong.rDelimUnd=q($.emStrong.rDelimUnd,"g").replace(/punct/g,$._punctuation).getRegex(),$._escapes=/\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/g,$._scheme=/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/,$._email=/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/,$.autolink=q($.autolink).replace("scheme",$._scheme).replace("email",$._email).getRegex(),$._attribute=/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/,$.tag=q($.tag).replace("comment",$._comment).replace("attribute",$._attribute).getRegex(),$._label=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,$._href=/<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/,$._title=/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/,$.link=q($.link).replace("label",$._label).replace("href",$._href).replace("title",$._title).getRegex(),$.reflink=q($.reflink).replace("label",$._label).getRegex(),$.reflinkSearch=q($.reflinkSearch,"g").replace("reflink",$.reflink).replace("nolink",$.nolink).getRegex(),$.normal=z({},$),$.pedantic=z({},$.normal,{strong:{start:/^__|\*\*/,middle:/^__(?=\S)([\s\S]*?\S)__(?!_)|^\*\*(?=\S)([\s\S]*?\S)\*\*(?!\*)/,endAst:/\*\*(?!\*)/g,endUnd:/__(?!_)/g},em:{start:/^_|\*/,middle:/^()\*(?=\S)([\s\S]*?\S)\*(?!\*)|^_(?=\S)([\s\S]*?\S)_(?!_)/,endAst:/\*(?!\*)/g,endUnd:/_(?!_)/g},link:q(/^!?\[(label)\]\((.*?)\)/).replace("label",$._label).getRegex(),reflink:q(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",$._label).getRegex()}),$.gfm=z({},$.normal,{escape:q($.escape).replace("])","~|])").getRegex(),_extended_email:/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/,url:/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,_backpedal:/(?:[^?!.,:;*_~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])([\s\S]*?[^\s~])\1(?=[^~]|$)/,text:/^([`~]+|[^`~])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\.5&&(r="x"+r.toString(16)),n+="&#"+r+";";return n}var Q=function(){function t(e){this.tokens=[],this.tokens.links=Object.create(null),this.options=e||W,this.options.tokenizer=this.options.tokenizer||new N,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options;var t={block:V.normal,inline:Y.normal};this.options.pedantic?(t.block=V.pedantic,t.inline=Y.pedantic):this.options.gfm&&(t.block=V.gfm,this.options.breaks?t.inline=Y.breaks:t.inline=Y.gfm),this.tokenizer.rules=t}t.lex=function(e,r){return new t(r).lex(e)},t.lexInline=function(e,r){return new t(r).inlineTokens(e)};var r,n,o,a=t.prototype;return a.lex=function(e){return e=e.replace(/\r\n|\r/g,"\n").replace(/\t/g," "),this.blockTokens(e,this.tokens,!0),this.inline(this.tokens),this.tokens},a.blockTokens=function(e,t,r){var n,o,a,i;for(void 0===t&&(t=[]),void 0===r&&(r=!0),this.options.pedantic&&(e=e.replace(/^ +$/gm,""));e;)if(n=this.tokenizer.space(e))e=e.substring(n.raw.length),n.type&&t.push(n);else if(n=this.tokenizer.code(e))e=e.substring(n.raw.length),(i=t[t.length-1])&&"paragraph"===i.type?(i.raw+="\n"+n.raw,i.text+="\n"+n.text):t.push(n);else if(n=this.tokenizer.fences(e))e=e.substring(n.raw.length),t.push(n);else if(n=this.tokenizer.heading(e))e=e.substring(n.raw.length),t.push(n);else if(n=this.tokenizer.nptable(e))e=e.substring(n.raw.length),t.push(n);else if(n=this.tokenizer.hr(e))e=e.substring(n.raw.length),t.push(n);else if(n=this.tokenizer.blockquote(e))e=e.substring(n.raw.length),n.tokens=this.blockTokens(n.text,[],r),t.push(n);else if(n=this.tokenizer.list(e)){for(e=e.substring(n.raw.length),a=n.items.length,o=0;o0)for(;null!=(i=this.tokenizer.rules.inline.reflinkSearch.exec(l));)u.includes(i[0].slice(i[0].lastIndexOf("[")+1,-1))&&(l=l.slice(0,i.index)+"["+K("a",i[0].length-2)+"]"+l.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;null!=(i=this.tokenizer.rules.inline.blockSkip.exec(l));)l=l.slice(0,i.index)+"["+K("a",i[0].length-2)+"]"+l.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);for(;null!=(i=this.tokenizer.rules.inline.escapedEmSt.exec(l));)l=l.slice(0,i.index)+"++"+l.slice(this.tokenizer.rules.inline.escapedEmSt.lastIndex);for(;e;)if(s||(c=""),s=!1,o=this.tokenizer.escape(e))e=e.substring(o.raw.length),t.push(o);else if(o=this.tokenizer.tag(e,r,n)){e=e.substring(o.raw.length),r=o.inLink,n=o.inRawBlock;var p=t[t.length-1];p&&"text"===o.type&&"text"===p.type?(p.raw+=o.raw,p.text+=o.text):t.push(o)}else if(o=this.tokenizer.link(e))e=e.substring(o.raw.length),"link"===o.type&&(o.tokens=this.inlineTokens(o.text,[],!0,n)),t.push(o);else if(o=this.tokenizer.reflink(e,this.tokens.links)){e=e.substring(o.raw.length);var f=t[t.length-1];"link"===o.type?(o.tokens=this.inlineTokens(o.text,[],!0,n),t.push(o)):f&&"text"===o.type&&"text"===f.type?(f.raw+=o.raw,f.text+=o.text):t.push(o)}else if(o=this.tokenizer.emStrong(e,l,c))e=e.substring(o.raw.length),o.tokens=this.inlineTokens(o.text,[],r,n),t.push(o);else if(o=this.tokenizer.codespan(e))e=e.substring(o.raw.length),t.push(o);else if(o=this.tokenizer.br(e))e=e.substring(o.raw.length),t.push(o);else if(o=this.tokenizer.del(e))e=e.substring(o.raw.length),o.tokens=this.inlineTokens(o.text,[],r,n),t.push(o);else if(o=this.tokenizer.autolink(e,J))e=e.substring(o.raw.length),t.push(o);else if(r||!(o=this.tokenizer.url(e,J))){if(o=this.tokenizer.inlineText(e,n,G))e=e.substring(o.raw.length),"_"!==o.raw.slice(-1)&&(c=o.raw.slice(-1)),s=!0,(a=t[t.length-1])&&"text"===a.type?(a.raw+=o.raw,a.text+=o.text):t.push(o);else if(e){var d="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(d);break}throw new Error(d)}}else e=e.substring(o.raw.length),t.push(o);return t},r=t,o=[{key:"rules",get:function(){return{block:V,inline:Y}}}],(n=null)&&e(r.prototype,n),o&&e(r,o),t}(),X=n.defaults,Z=A,ee=w,te=function(){function e(e){this.options=e||X}var t=e.prototype;return t.code=function(e,t,r){var n=(t||"").match(/\S*/)[0];if(this.options.highlight){var o=this.options.highlight(e,n);null!=o&&o!==e&&(r=!0,e=o)}return e=e.replace(/\n$/,"")+"\n",n?'
'+(r?e:ee(e,!0))+"
\n":"
"+(r?e:ee(e,!0))+"
\n"},t.blockquote=function(e){return"
\n"+e+"
\n"},t.html=function(e){return e},t.heading=function(e,t,r,n){return this.options.headerIds?"'+e+"\n":""+e+"\n"},t.hr=function(){return this.options.xhtml?"
\n":"
\n"},t.list=function(e,t,r){var n=t?"ol":"ul";return"<"+n+(t&&1!==r?' start="'+r+'"':"")+">\n"+e+"\n"},t.listitem=function(e){return"
  • "+e+"
  • \n"},t.checkbox=function(e){return" "},t.paragraph=function(e){return"

    "+e+"

    \n"},t.table=function(e,t){return t&&(t=""+t+""),"\n\n"+e+"\n"+t+"
    \n"},t.tablerow=function(e){return"\n"+e+"\n"},t.tablecell=function(e,t){var r=t.header?"th":"td";return(t.align?"<"+r+' align="'+t.align+'">':"<"+r+">")+e+"\n"},t.strong=function(e){return""+e+""},t.em=function(e){return""+e+""},t.codespan=function(e){return""+e+""},t.br=function(){return this.options.xhtml?"
    ":"
    "},t.del=function(e){return""+e+""},t.link=function(e,t,r){if(null===(e=Z(this.options.sanitize,this.options.baseUrl,e)))return r;var n='"},t.image=function(e,t,r){if(null===(e=Z(this.options.sanitize,this.options.baseUrl,e)))return r;var n=''+r+'":">"},t.text=function(e){return e},e}(),re=function(){function e(){}var t=e.prototype;return t.strong=function(e){return e},t.em=function(e){return e},t.codespan=function(e){return e},t.del=function(e){return e},t.html=function(e){return e},t.text=function(e){return e},t.link=function(e,t,r){return""+r},t.image=function(e,t,r){return""+r},t.br=function(){return""},e}(),ne=function(){function e(){this.seen={}}var t=e.prototype;return t.serialize=function(e){return e.toLowerCase().trim().replace(/<[!\/a-z].*?>/gi,"").replace(/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&()*+,./:;<=>?@[\]^`{|}~]/g,"").replace(/\s/g,"-")},t.getNextSafeSlug=function(e,t){var r=e,n=0;if(this.seen.hasOwnProperty(r)){n=this.seen[e];do{r=e+"-"+ ++n}while(this.seen.hasOwnProperty(r))}return t||(this.seen[e]=n,this.seen[r]=0),r},t.slug=function(e,t){void 0===t&&(t={});var r=this.serialize(e);return this.getNextSafeSlug(r,t.dryrun)},e}(),oe=n.defaults,ae=k,ie=function(){function e(e){this.options=e||oe,this.options.renderer=this.options.renderer||new te,this.renderer=this.options.renderer,this.renderer.options=this.options,this.textRenderer=new re,this.slugger=new ne}e.parse=function(t,r){return new e(r).parse(t)},e.parseInline=function(t,r){return new e(r).parseInline(t)};var t=e.prototype;return t.parse=function(e,t){void 0===t&&(t=!0);var r,n,o,a,i,s,c,l,u,p,f,d,h,v,m,g,y,b,x="",w=e.length;for(r=0;r0&&"text"===m.tokens[0].type?(m.tokens[0].text=b+" "+m.tokens[0].text,m.tokens[0].tokens&&m.tokens[0].tokens.length>0&&"text"===m.tokens[0].tokens[0].type&&(m.tokens[0].tokens[0].text=b+" "+m.tokens[0].tokens[0].text)):m.tokens.unshift({type:"text",text:b}):v+=b),v+=this.parse(m.tokens,h),u+=this.renderer.listitem(v,y,g);x+=this.renderer.list(u,f,d);continue;case"html":x+=this.renderer.html(p.text);continue;case"paragraph":x+=this.renderer.paragraph(this.parseInline(p.tokens));continue;case"text":for(u=p.tokens?this.parseInline(p.tokens):p.text;r+1An error occurred:

    "+le(e.message+"",!0)+"
    ";throw e}}return de.options=de.setOptions=function(e){return se(de.defaults,e),pe(de.defaults),de},de.getDefaults=ue,de.defaults=fe,de.use=function(e){var t=se({},e);if(e.renderer&&function(){var r=de.defaults.renderer||new te,n=function(t){var n=r[t];r[t]=function(){for(var o=arguments.length,a=new Array(o),i=0;iAn error occurred:

    "+le(e.message+"",!0)+"
    ";throw e}},de.Parser=ie,de.parser=ie.parse,de.Renderer=te,de.TextRenderer=re,de.Lexer=Q,de.lexer=Q.lex,de.Tokenizer=N,de.Slugger=ne,de.parse=de,de}()},function(e,t,r){e.exports=r(444)},function(e,t,r){e.exports=r(428)},function(e,t,r){e.exports=r(429)},function(e,t,r){"use strict";var n=r(16),o=r(68).f,a=r(193),i=r(12),s=r(85),c=r(37),l=r(30),u=function(e){var t=function(t,r,n){if(this instanceof e){switch(arguments.length){case 0:return new e;case 1:return new e(t);case 2:return new e(t,r)}return new e(t,r,n)}return e.apply(this,arguments)};return t.prototype=e.prototype,t};e.exports=function(e,t){var r,p,f,d,h,v,m,g,y=e.target,b=e.global,x=e.stat,w=e.proto,k=b?n:x?n[y]:(n[y]||{}).prototype,S=b?i:i[y]||(i[y]={}),A=S.prototype;for(f in t)r=!a(b?f:y+(x?".":"#")+f,e.forced)&&k&&l(k,f),h=S[f],r&&(v=e.noTargetGet?(g=o(k,f))&&g.value:k[f]),d=r&&v?v:t[f],r&&typeof h==typeof d||(m=e.bind&&r?s(d,n):e.wrap&&r?u(d):w&&"function"==typeof d?s(Function.call,d):d,(e.sham||d&&d.sham||h&&h.sham)&&c(m,"sham",!0),S[f]=m,w&&(l(i,p=y+"Prototype")||c(i,p,{}),i[p][f]=d,e.real&&A&&!A[f]&&c(A,f,d)))}},function(e,t,r){var n=r(136),o=r(325),a=r(329),i=r(334),s=r(206),c=r(348),l=r(209),u=r(211),p=r(172);function f(e,t){var r=u(e);if(l){var n=l(e);t&&(n=c(n).call(n,(function(t){return s(e,t).enumerable}))),r.push.apply(r,n)}return r}e.exports=function(e){for(var t=1;t1){throw new o.n(t,"Each pair must have its own sequence indicator")}var s=i.items[0]||new a.e;i.commentBefore&&(s.commentBefore=s.commentBefore?"".concat(i.commentBefore,"\n").concat(s.commentBefore):i.commentBefore),i.comment&&(s.comment=s.comment?"".concat(i.comment,"\n").concat(s.comment):i.comment),i=s}r.items[n]=i instanceof a.e?i:new a.e(i)}}return r}function c(e,t,r){var n=new a.g(e);n.tag="tag:yaml.org,2002:pairs";var i,s=Object(o.g)(t);try{for(s.s();!(i=s.n()).done;){var c=i.value,l=void 0,u=void 0;if(Array.isArray(c)){if(2!==c.length)throw new TypeError("Expected [key, value] tuple: ".concat(c));l=c[0],u=c[1]}else if(c&&c instanceof Object){var p=Object.keys(c);if(1!==p.length)throw new TypeError("Expected { key: value } tuple: ".concat(c));u=c[l=p[0]]}else l=c;var f=e.createPair(l,u,r);n.items.push(f)}}catch(e){s.e(e)}finally{s.f()}return n}var l={default:!1,tag:"tag:yaml.org,2002:pairs",resolve:s,createNode:c},u=function(e){Object(o.q)(r,e);var t=Object(o.r)(r);function r(){var e;return Object(o.j)(this,r),e=t.call(this),Object(o.l)(Object(o.w)(e),"add",a.k.prototype.add.bind(Object(o.w)(e))),Object(o.l)(Object(o.w)(e),"delete",a.k.prototype.delete.bind(Object(o.w)(e))),Object(o.l)(Object(o.w)(e),"get",a.k.prototype.get.bind(Object(o.w)(e))),Object(o.l)(Object(o.w)(e),"has",a.k.prototype.has.bind(Object(o.w)(e))),Object(o.l)(Object(o.w)(e),"set",a.k.prototype.set.bind(Object(o.w)(e))),e.tag=r.tag,e}return Object(o.i)(r,[{key:"toJSON",value:function(e,t){var r=new Map;t&&t.onCreate&&t.onCreate(r);var n,i=Object(o.g)(this.items);try{for(i.s();!(n=i.n()).done;){var s=n.value,c=void 0,l=void 0;if(s instanceof a.e?(c=Object(a.w)(s.key,"",t),l=Object(a.w)(s.value,c,t)):c=Object(a.w)(s,"",t),r.has(c))throw new Error("Ordered maps must not include duplicate keys");r.set(c,l)}}catch(e){i.e(e)}finally{i.f()}return r}}]),r}(a.g);Object(o.l)(u,"tag","tag:yaml.org,2002:omap");var p={identify:function(e){return e instanceof Map},nodeClass:u,default:!1,tag:"tag:yaml.org,2002:omap",resolve:function(e,t){var r,n=s(e,t),i=[],c=Object(o.g)(n.items);try{for(c.s();!(r=c.n()).done;){var l=r.value.key;if(l instanceof a.f){if(i.includes(l.value)){throw new o.n(t,"Ordered maps must not include duplicate keys")}i.push(l.value)}}}catch(e){c.e(e)}finally{c.f()}return Object.assign(new u,n)},createNode:function(e,t,r){var n=c(e,t,r),o=new u;return o.items=n.items,o}},f=function(e){Object(o.q)(r,e);var t=Object(o.r)(r);function r(){var e;return Object(o.j)(this,r),(e=t.call(this)).tag=r.tag,e}return Object(o.i)(r,[{key:"add",value:function(e){var t=e instanceof a.e?e:new a.e(e);Object(a.s)(this.items,t.key)||this.items.push(t)}},{key:"get",value:function(e,t){var r=Object(a.s)(this.items,e);return!t&&r instanceof a.e?r.key instanceof a.f?r.key.value:r.key:r}},{key:"set",value:function(e,t){if("boolean"!=typeof t)throw new Error("Expected boolean value for set(key, value) in a YAML set, not ".concat(Object(o.h)(t)));var r=Object(a.s)(this.items,e);r&&!t?this.items.splice(this.items.indexOf(r),1):!r&&t&&this.items.push(new a.e(e))}},{key:"toJSON",value:function(e,t){return Object(o.s)(Object(o.t)(r.prototype),"toJSON",this).call(this,e,t,Set)}},{key:"toString",value:function(e,t,n){if(!e)return JSON.stringify(this);if(this.hasAllNullValues())return Object(o.s)(Object(o.t)(r.prototype),"toString",this).call(this,e,t,n);throw new Error("Set items must all have null values")}}]),r}(a.k);Object(o.l)(f,"tag","tag:yaml.org,2002:set");var d={identify:function(e){return e instanceof Set},nodeClass:f,default:!1,tag:"tag:yaml.org,2002:set",resolve:function(e,t){var r=Object(a.n)(e,t);if(!r.hasAllNullValues())throw new o.n(t,"Set items must all have null values");return Object.assign(new f,r)},createNode:function(e,t,r){var n,a=new f,i=Object(o.g)(t);try{for(i.s();!(n=i.n()).done;){var s=n.value;a.items.push(e.createPair(s,null,r))}}catch(e){i.e(e)}finally{i.f()}return a}},h=function(e,t){var r=t.split(":").reduce((function(e,t){return 60*e+Number(t)}),0);return"-"===e?-r:r},v=function(e){var t=e.value;if(isNaN(t)||!isFinite(t))return Object(a.r)(t);var r="";t<0&&(r="-",t=Math.abs(t));var n=[t%60];return t<60?n.unshift(0):(t=Math.round((t-n[0])/60),n.unshift(t%60),t>=60&&(t=Math.round((t-n[0])/60),n.unshift(t))),r+n.map((function(e){return e<10?"0"+String(e):String(e)})).join(":").replace(/000000\d*$/,"")},m={identify:function(e){return"number"==typeof e},default:!0,tag:"tag:yaml.org,2002:int",format:"TIME",test:/^([-+]?)([0-9][0-9_]*(?::[0-5]?[0-9])+)$/,resolve:function(e,t,r){return h(t,r.replace(/_/g,""))},stringify:v},g={identify:function(e){return"number"==typeof e},default:!0,tag:"tag:yaml.org,2002:float",format:"TIME",test:/^([-+]?)([0-9][0-9_]*(?::[0-5]?[0-9])+\.[0-9_]*)$/,resolve:function(e,t,r){return h(t,r.replace(/_/g,""))},stringify:v},y={identify:function(e){return e instanceof Date},default:!0,tag:"tag:yaml.org,2002:timestamp",test:RegExp("^(?:([0-9]{4})-([0-9]{1,2})-([0-9]{1,2})(?:(?:t|T|[ \\t]+)([0-9]{1,2}):([0-9]{1,2}):([0-9]{1,2}(\\.[0-9]+)?)(?:[ \\t]*(Z|[-+][012]?[0-9](?::[0-9]{2})?))?)?)$"),resolve:function(e,t,r,n,o,a,i,s,c){s&&(s=(s+"00").substr(1,3));var l=Date.UTC(t,r-1,n,o||0,a||0,i||0,s||0);if(c&&"Z"!==c){var u=h(c[0],c.slice(1));Math.abs(u)<30&&(u*=60),l-=6e4*u}return new Date(l)},stringify:function(e){return e.value.toISOString().replace(/((T00:00)?:00)?\.000Z$/,"")}};function b(e){var t=void 0!==n&&n.env||{};return e?"undefined"!=typeof YAML_SILENCE_DEPRECATION_WARNINGS?!YAML_SILENCE_DEPRECATION_WARNINGS:!t.YAML_SILENCE_DEPRECATION_WARNINGS:"undefined"!=typeof YAML_SILENCE_WARNINGS?!YAML_SILENCE_WARNINGS:!t.YAML_SILENCE_WARNINGS}function x(e,t){if(b(!1)){var r=void 0!==n&&n.emitWarning;r?r(e,t):console.warn(t?"".concat(t,": ").concat(e):e)}}var w={};function k(e,t){if(!w[e]&&b(!0)){w[e]=!0;var r="The option '".concat(e,"' will be removed in a future release");x(r+=t?", use '".concat(t,"' instead."):".","DeprecationWarning")}}}).call(this,r(33).Buffer,r(41))},function(e,t,r){var n=r(13);e.exports=!n((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},function(e,t,r){e.exports=r(562)},function(e,t,r){e.exports=r(440)},function(e,t,r){e.exports=r(572)},function(e,t){var r;r=function(){return this}();try{r=r||new Function("return this")()}catch(e){"object"==typeof window&&(r=window)}e.exports=r},function(e,t,r){var n=r(12);e.exports=function(e){return n[e+"Prototype"]}},function(e,t,r){"use strict";var n=r(296),o=r(297);function a(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}t.parse=b,t.resolve=function(e,t){return b(e,!1,!0).resolve(t)},t.resolveObject=function(e,t){return e?b(e,!1,!0).resolveObject(t):t},t.format=function(e){o.isString(e)&&(e=b(e));return e instanceof a?e.format():a.prototype.format.call(e)},t.Url=a;var i=/^([a-z0-9.+-]+:)/i,s=/:[0-9]*$/,c=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,l=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),u=["'"].concat(l),p=["%","/","?",";","#"].concat(u),f=["/","?","#"],d=/^[+a-z0-9A-Z_-]{0,63}$/,h=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,v={javascript:!0,"javascript:":!0},m={javascript:!0,"javascript:":!0},g={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},y=r(298);function b(e,t,r){if(e&&o.isObject(e)&&e instanceof a)return e;var n=new a;return n.parse(e,t,r),n}a.prototype.parse=function(e,t,r){if(!o.isString(e))throw new TypeError("Parameter 'url' must be a string, not "+typeof e);var a=e.indexOf("?"),s=-1!==a&&a127?F+="x":F+=I[P];if(!F.match(d)){var B=_.slice(0,D),L=_.slice(D+1),N=I.match(h);N&&(B.push(N[1]),L.unshift(N[2])),L.length&&(b="/"+L.join(".")+b),this.hostname=B.join(".");break}}}this.hostname.length>255?this.hostname="":this.hostname=this.hostname.toLowerCase(),j||(this.hostname=n.toASCII(this.hostname));var M=this.port?":"+this.port:"",q=this.hostname||"";this.host=q+M,this.href+=this.host,j&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),"/"!==b[0]&&(b="/"+b))}if(!v[k])for(D=0,T=u.length;D0)&&r.host.split("@"))&&(r.auth=j.shift(),r.host=r.hostname=j.shift());return r.search=e.search,r.query=e.query,o.isNull(r.pathname)&&o.isNull(r.search)||(r.path=(r.pathname?r.pathname:"")+(r.search?r.search:"")),r.href=r.format(),r}if(!S.length)return r.pathname=null,r.search?r.path="/"+r.search:r.path=null,r.href=r.format(),r;for(var O=S.slice(-1)[0],E=(r.host||e.host||S.length>1)&&("."===O||".."===O)||""===O,D=0,C=S.length;C>=0;C--)"."===(O=S[C])?S.splice(C,1):".."===O?(S.splice(C,1),D++):D&&(S.splice(C,1),D--);if(!w&&!k)for(;D--;D)S.unshift("..");!w||""===S[0]||S[0]&&"/"===S[0].charAt(0)||S.unshift(""),E&&"/"!==S.join("/").substr(-1)&&S.push("");var j,_=""===S[0]||S[0]&&"/"===S[0].charAt(0);A&&(r.hostname=r.host=_?"":S.length?S.shift():"",(j=!!(r.host&&r.host.indexOf("@")>0)&&r.host.split("@"))&&(r.auth=j.shift(),r.host=r.hostname=j.shift()));return(w=w||r.host&&S.length)&&!_&&S.unshift(""),S.length?r.pathname=S.join("/"):(r.pathname=null,r.path=null),o.isNull(r.pathname)&&o.isNull(r.search)||(r.path=(r.pathname?r.pathname:"")+(r.search?r.search:"")),r.auth=e.auth||r.auth,r.slashes=r.slashes||e.slashes,r.href=r.format(),r},a.prototype.parseHost=function(){var e=this.host,t=s.exec(e);t&&(":"!==(t=t[0])&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)}},function(e,t,r){(function(t){var r=function(e){var t=/\blang(?:uage)?-([\w-]+)\b/i,r=0,n={manual:e.Prism&&e.Prism.manual,disableWorkerMessageHandler:e.Prism&&e.Prism.disableWorkerMessageHandler,util:{encode:function e(t){return t instanceof o?new o(t.type,e(t.content),t.alias):Array.isArray(t)?t.map(e):t.replace(/&/g,"&").replace(/=p.reach);S+=k.value.length,k=k.next){var A=k.value;if(r.length>t.length)return;if(!(A instanceof o)){var O,E=1;if(y){if(!(O=a(w,S,t,g)))break;var D=O.index,C=O.index+O[0].length,j=S;for(j+=k.value.length;D>=j;)k=k.next,j+=k.value.length;if(j-=k.value.length,S=j,k.value instanceof o)continue;for(var _=k;_!==r.tail&&(jp.reach&&(p.reach=P);var R=k.prev;I&&(R=s(r,R,I),S+=I.length),c(r,R,E);var B=new o(f,m?n.tokenize(T,m):T,b,T);k=s(r,R,B),F&&s(r,k,F),E>1&&e(t,r,i,k.prev,S,{cause:f+","+h,reach:P})}}}}}(e,u,t,u.head,0),function(e){var t=[],r=e.head.next;for(;r!==e.tail;)t.push(r.value),r=r.next;return t}(u)},hooks:{all:{},add:function(e,t){var r=n.hooks.all;r[e]=r[e]||[],r[e].push(t)},run:function(e,t){var r=n.hooks.all[e];if(r&&r.length)for(var o,a=0;o=r[a++];)o(t)}},Token:o};function o(e,t,r,n){this.type=e,this.content=t,this.alias=r,this.length=0|(n||"").length}function a(e,t,r,n){e.lastIndex=t;var o=e.exec(r);if(o&&n&&o[1]){var a=o[1].length;o.index+=a,o[0]=o[0].slice(a)}return o}function i(){var e={value:null,prev:null,next:null},t={value:null,prev:e,next:null};e.next=t,this.head=e,this.tail=t,this.length=0}function s(e,t,r){var n=t.next,o={value:r,prev:t,next:n};return t.next=o,n.prev=o,e.length++,o}function c(e,t,r){for(var n=t.next,o=0;o"+a.content+""},!e.document)return e.addEventListener?(n.disableWorkerMessageHandler||e.addEventListener("message",(function(t){var r=JSON.parse(t.data),o=r.language,a=r.code,i=r.immediateClose;e.postMessage(n.highlight(a,n.languages[o],o)),i&&e.close()}),!1),n):n;var l=n.util.currentScript();function u(){n.manual||n.highlightAll()}if(l&&(n.filename=l.src,l.hasAttribute("data-manual")&&(n.manual=!0)),!n.manual){var p=document.readyState;"loading"===p||"interactive"===p&&l&&l.defer?document.addEventListener("DOMContentLoaded",u):window.requestAnimationFrame?window.requestAnimationFrame(u):window.setTimeout(u,16)}return n}("undefined"!=typeof window?window:"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope?self:{}); + */!function(e){var t=window.webpackHotUpdate;window.webpackHotUpdate=function(e,r){!function(e,t){if(!w[e]||!x[e])return;for(var r in x[e]=!1,t)Object.prototype.hasOwnProperty.call(t,r)&&(h[r]=t[r]);0==--g&&0===y&&O()}(e,r),t&&t(e,r)};var r,n=!0,o="fba31cea5addf8d75648",a={},i=[],s=[];function c(e){var t=j[e];if(!t)return _;var n=function(n){return t.hot.active?(j[n]?-1===j[n].parents.indexOf(e)&&j[n].parents.push(e):(i=[e],r=n),-1===t.children.indexOf(n)&&t.children.push(n)):(console.warn("[HMR] unexpected require("+n+") from disposed module "+e),i=[]),_(n)},o=function(e){return{configurable:!0,enumerable:!0,get:function(){return _[e]},set:function(t){_[e]=t}}};for(var a in _)Object.prototype.hasOwnProperty.call(_,a)&&"e"!==a&&"t"!==a&&Object.defineProperty(n,a,o(a));return n.e=function(e){return"ready"===p&&f("prepare"),y++,_.e(e).then(t,(function(e){throw t(),e}));function t(){y--,"prepare"===p&&(b[e]||A(e),0===y&&0===g&&O())}},n.t=function(e,t){return 1&t&&(e=n(e)),_.t(e,-2&t)},n}function l(t){var n={_acceptedDependencies:{},_declinedDependencies:{},_selfAccepted:!1,_selfDeclined:!1,_selfInvalidated:!1,_disposeHandlers:[],_main:r!==t,active:!0,accept:function(e,t){if(void 0===e)n._selfAccepted=!0;else if("function"==typeof e)n._selfAccepted=e;else if("object"==typeof e)for(var r=0;r=0&&n._disposeHandlers.splice(t,1)},invalidate:function(){switch(this._selfInvalidated=!0,p){case"idle":(h={})[t]=e[t],f("ready");break;case"ready":C(t);break;case"prepare":case"check":case"dispose":case"apply":(m=m||[]).push(t)}},check:S,apply:E,status:function(e){if(!e)return p;u.push(e)},addStatusHandler:function(e){u.push(e)},removeStatusHandler:function(e){var t=u.indexOf(e);t>=0&&u.splice(t,1)},data:a[t]};return r=void 0,n}var u=[],p="idle";function f(e){p=e;for(var t=0;t0;){var o=n.pop(),a=o.id,i=o.chain;if((u=j[a])&&(!u.hot._selfAccepted||u.hot._selfInvalidated)){if(u.hot._selfDeclined)return{type:"self-declined",chain:i,moduleId:a};if(u.hot._main)return{type:"unaccepted",chain:i,moduleId:a};for(var s=0;s ")),O.type){case"self-declined":n.onDeclined&&n.onDeclined(O),n.ignoreDeclined||(E=new Error("Aborted because of self decline: "+O.moduleId+I));break;case"declined":n.onDeclined&&n.onDeclined(O),n.ignoreDeclined||(E=new Error("Aborted because of declined dependency: "+O.moduleId+" in "+O.parentId+I));break;case"unaccepted":n.onUnaccepted&&n.onUnaccepted(O),n.ignoreUnaccepted||(E=new Error("Aborted because "+p+" is not accepted"+I));break;case"accepted":n.onAccepted&&n.onAccepted(O),C=!0;break;case"disposed":n.onDisposed&&n.onDisposed(O),T=!0;break;default:throw new Error("Unexception type "+O.type)}if(E)return f("abort"),Promise.reject(E);if(C)for(p in x[p]=h[p],g(b,O.outdatedModules),O.outdatedDependencies)Object.prototype.hasOwnProperty.call(O.outdatedDependencies,p)&&(y[p]||(y[p]=[]),g(y[p],O.outdatedDependencies[p]));T&&(g(b,[O.moduleId]),x[p]=S)}var F,P=[];for(c=0;c0;)if(p=L.pop(),u=j[p]){var N={},M=u.hot._disposeHandlers;for(l=0;l=0&&q.parents.splice(F,1))}}for(p in y)if(Object.prototype.hasOwnProperty.call(y,p)&&(u=j[p]))for(B=y[p],l=0;l=0&&u.children.splice(F,1);f("apply"),void 0!==v&&(o=v,v=void 0);for(p in h=void 0,x)Object.prototype.hasOwnProperty.call(x,p)&&(e[p]=x[p]);var z=null;for(p in y)if(Object.prototype.hasOwnProperty.call(y,p)&&(u=j[p])){B=y[p];var U=[];for(c=0;ce.length)&&(t=e.length);for(var r=0,n=new Array(t);r=e.length?{done:!0}:{done:!1,value:e[t++]}},e:function(e){throw e},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var n,o,a=!0,i=!1;return{s:function(){n=e[Symbol.iterator]()},n:function(){var e=n.next();return a=e.done,e},e:function(e){i=!0,o=e},f:function(){try{a||null==n.return||n.return()}finally{if(i)throw o}}}}r.d(t,"a",(function(){return O})),r.d(t,"b",(function(){return P})),r.d(t,"c",(function(){return q})),r.d(t,"d",(function(){return F})),r.d(t,"e",(function(){return E})),r.d(t,"f",(function(){return N})),r.d(t,"g",(function(){return A})),r.d(t,"h",(function(){return n})),r.d(t,"i",(function(){return i})),r.d(t,"j",(function(){return o})),r.d(t,"k",(function(){return D})),r.d(t,"l",(function(){return s})),r.d(t,"m",(function(){return M})),r.d(t,"n",(function(){return L})),r.d(t,"o",(function(){return y})),r.d(t,"p",(function(){return R})),r.d(t,"q",(function(){return c})),r.d(t,"r",(function(){return m})),r.d(t,"s",(function(){return g})),r.d(t,"t",(function(){return l})),r.d(t,"u",(function(){return C})),r.d(t,"v",(function(){return B})),r.d(t,"w",(function(){return h})),r.d(t,"x",(function(){return b})),r.d(t,"y",(function(){return v}));var O={ANCHOR:"&",COMMENT:"#",TAG:"!",DIRECTIVES_END:"-",DOCUMENT_END:"."},E={ALIAS:"ALIAS",BLANK_LINE:"BLANK_LINE",BLOCK_FOLDED:"BLOCK_FOLDED",BLOCK_LITERAL:"BLOCK_LITERAL",COMMENT:"COMMENT",DIRECTIVE:"DIRECTIVE",DOCUMENT:"DOCUMENT",FLOW_MAP:"FLOW_MAP",FLOW_SEQ:"FLOW_SEQ",MAP:"MAP",MAP_KEY:"MAP_KEY",MAP_VALUE:"MAP_VALUE",PLAIN:"PLAIN",QUOTE_DOUBLE:"QUOTE_DOUBLE",QUOTE_SINGLE:"QUOTE_SINGLE",SEQ:"SEQ",SEQ_ITEM:"SEQ_ITEM"},D="tag:yaml.org,2002:",C={MAP:"tag:yaml.org,2002:map",SEQ:"tag:yaml.org,2002:seq",STR:"tag:yaml.org,2002:str"};function j(e){for(var t=[0],r=e.indexOf("\n");-1!==r;)r+=1,t.push(r),r=e.indexOf("\n",r);return t}function _(e){var t,r;return"string"==typeof e?(t=j(e),r=e):(Array.isArray(e)&&(e=e[0]),e&&e.context&&(e.lineStarts||(e.lineStarts=j(e.context.src)),t=e.lineStarts,r=e.context.src)),{lineStarts:t,src:r}}function T(e,t){if("number"!=typeof e||e<0)return null;var r=_(t),n=r.lineStarts,o=r.src;if(!n||!o||e>o.length)return null;for(var a=0;a=1)||e>n.length)return null;for(var a=n[e-1],i=n[e];i&&i>a&&"\n"===o[i-1];)--i;return o.slice(a,i)}var F=function(){function e(t,r){o(this,e),this.start=t,this.end=r||t}return i(e,null,[{key:"copy",value:function(t){return new e(t.start,t.end)}}]),i(e,[{key:"isEmpty",value:function(){return"number"!=typeof this.start||!this.end||this.end<=this.start}},{key:"setOrigRange",value:function(e,t){var r=this.start,n=this.end;if(0===e.length||n<=e[0])return this.origStart=r,this.origEnd=n,t;for(var o=t;or);)++o;this.origStart=r+o;for(var a=o;o=n);)++o;return this.origEnd=n+o,a}}]),e}(),P=function(){function e(t,r,n){o(this,e),Object.defineProperty(this,"context",{value:n||null,writable:!0}),this.error=null,this.range=null,this.valueRange=null,this.props=r||[],this.type=t,this.value=null}return i(e,null,[{key:"addStringTerminator",value:function(t,r,n){if("\n"===n[n.length-1])return n;var o=e.endOfWhiteSpace(t,r);return o>=t.length||"\n"===t[o]?n+"\n":n}},{key:"atDocumentBoundary",value:function(e,t,r){var n=e[t];if(!n)return!0;var o=e[t-1];if(o&&"\n"!==o)return!1;if(r){if(n!==r)return!1}else if(n!==O.DIRECTIVES_END&&n!==O.DOCUMENT_END)return!1;var a=e[t+1],i=e[t+2];if(a!==n||i!==n)return!1;var s=e[t+3];return!s||"\n"===s||"\t"===s||" "===s}},{key:"endOfIdentifier",value:function(e,t){for(var r=e[t],n="<"===r,o=n?["\n","\t"," ",">"]:["\n","\t"," ","[","]","{","}",","];r&&-1===o.indexOf(r);)r=e[t+=1];return n&&">"===r&&(t+=1),t}},{key:"endOfIndent",value:function(e,t){for(var r=e[t];" "===r;)r=e[t+=1];return t}},{key:"endOfLine",value:function(e,t){for(var r=e[t];r&&"\n"!==r;)r=e[t+=1];return t}},{key:"endOfWhiteSpace",value:function(e,t){for(var r=e[t];"\t"===r||" "===r;)r=e[t+=1];return t}},{key:"startOfLine",value:function(e,t){var r=e[t-1];if("\n"===r)return t;for(;r&&"\n"!==r;)r=e[t-=1];return t+1}},{key:"endOfBlockIndent",value:function(t,r,n){var o=e.endOfIndent(t,n);if(o>n+r)return o;var a=e.endOfWhiteSpace(t,o),i=t[a];return i&&"\n"!==i?null:a}},{key:"atBlank",value:function(e,t,r){var n=e[t];return"\n"===n||"\t"===n||" "===n||r&&!n}},{key:"nextNodeIsIndented",value:function(e,t,r){return!(!e||t<0)&&(t>0||r&&"-"===e)}},{key:"normalizeOffset",value:function(t,r){var n=t[r];return n?"\n"!==n&&"\n"===t[r-1]?r-1:e.endOfWhiteSpace(t,r):r}},{key:"foldNewline",value:function(t,r,n){for(var o=0,a=!1,i="",s=t[r+1];" "===s||"\t"===s||"\n"===s;){switch(s){case"\n":o=0,r+=1,i+="\n";break;case"\t":o<=n&&(a=!0),r=e.endOfWhiteSpace(t,r+2)-1;break;case" ":o+=1,r+=1}s=t[r+1]}return i||(i=" "),s&&o<=n&&(a=!0),{fold:i,offset:r,error:a}}}]),i(e,[{key:"getPropValue",value:function(e,t,r){if(!this.context)return null;var n=this.context.src,o=this.props[e];return o&&n[o.start]===t?n.slice(o.start+(r?1:0),o.end):null}},{key:"commentHasRequiredWhitespace",value:function(t){var r=this.context.src;if(this.header&&t===this.header.end)return!1;if(!this.valueRange)return!1;var n=this.valueRange.end;return t!==n||e.atBlank(r,n-1)}},{key:"parseComment",value:function(t){var r=this.context.src;if(r[t]===O.COMMENT){var n=e.endOfLine(r,t+1),o=new F(t,n);return this.props.push(o),n}return t}},{key:"setOrigRanges",value:function(e,t){return this.range&&(t=this.range.setOrigRange(e,t)),this.valueRange&&this.valueRange.setOrigRange(e,t),this.props.forEach((function(r){return r.setOrigRange(e,t)})),t}},{key:"toString",value:function(){var t=this.context.src,r=this.range,n=this.value;if(null!=n)return n;var o=t.slice(r.start,r.end);return e.addStringTerminator(t,r.end,o)}},{key:"anchor",get:function(){for(var e=0;e0?e.join("\n"):null}},{key:"hasComment",get:function(){if(this.context)for(var e=this.context.src,t=0;t2&&void 0!==arguments[2]?arguments[2]:80,a=I(r.line,t);if(!a)return null;var i=r.col;if(a.length>o)if(i<=o-10)a=a.substr(0,o-1)+"…";else{var s=Math.round(o/2);a.length>i+s&&(a=a.substr(0,i+s-1)+"…"),i-=a.length-o,a="…"+a.substr(1-o)}var c=1,l="";n&&(n.line===r.line&&i+(n.col-r.col)<=o+1?c=n.col-r.col:(c=Math.min(a.length+1,o)-i,l="…"));var u=i>1?" ".repeat(i-1):"",p="^".repeat(c);return"".concat(a,"\n").concat(u).concat(p).concat(l)}(this.linePos,e);i&&(this.message+=":\n\n".concat(i,"\n"))}delete this.source}}}]),r}(d(Error)),B=function(e){c(r,e);var t=m(r);function r(e,n){return o(this,r),t.call(this,"YAMLReferenceError",e,n)}return r}(R),L=function(e){c(r,e);var t=m(r);function r(e,n){return o(this,r),t.call(this,"YAMLSemanticError",e,n)}return r}(R),N=function(e){c(r,e);var t=m(r);function r(e,n){return o(this,r),t.call(this,"YAMLSyntaxError",e,n)}return r}(R),M=function(e){c(r,e);var t=m(r);function r(e,n){return o(this,r),t.call(this,"YAMLWarning",e,n)}return r}(R),q=function(e){c(r,e);var t=m(r);function r(){return o(this,r),t.apply(this,arguments)}return i(r,[{key:"parseBlockValue",value:function(e){for(var t=this.context,n=t.indent,o=t.inFlow,a=t.src,i=e,s=e,c=a[i];"\n"===c&&!P.atDocumentBoundary(a,i+1);c=a[i]){var l=P.endOfBlockIndent(a,n,i+1);if(null===l||"#"===a[l])break;i="\n"===a[l]?l:s=r.endOfLine(a,l,o)}return this.valueRange.isEmpty()&&(this.valueRange.start=e),this.valueRange.end=s,s}},{key:"parse",value:function(e,t){this.context=e;var n=e.inFlow,o=e.src,a=t,i=o[a];return i&&"#"!==i&&"\n"!==i&&(a=r.endOfLine(o,t,n)),this.valueRange=new F(t,a),a=P.endOfWhiteSpace(o,a),a=this.parseComment(a),this.hasComment&&!this.valueRange.isEmpty()||(a=this.parseBlockValue(a)),a}},{key:"strValue",get:function(){if(!this.valueRange||!this.context)return null;for(var e=this.valueRange,t=e.start,r=e.end,n=this.context.src,o=n[r-1];tl?n.slice(l,i+1):s)}else a+=s}var p=n[t];switch(p){case"\t":return{errors:[new L(this,"Plain value cannot start with a tab character")],str:a};case"@":case"`":var f="Plain value cannot start with reserved character ".concat(p);return{errors:[new L(this,f)],str:a};default:return a}}}],[{key:"endOfLine",value:function(e,t,r){for(var n=e[t],o=t;n&&"\n"!==n&&(!r||"["!==n&&"]"!==n&&"{"!==n&&"}"!==n&&","!==n);){var a=e[o+1];if(":"===n&&(!a||"\n"===a||"\t"===a||" "===a||r&&","===a))break;if((" "===n||"\t"===n)&&"#"===a)break;o+=1,n=a}return o}}]),r}(P)},function(e,t,r){"use strict";r.d(t,"a",(function(){return v})),r.d(t,"b",(function(){return u})),r.d(t,"c",(function(){return y})),r.d(t,"d",(function(){return a})),r.d(t,"e",(function(){return d})),r.d(t,"f",(function(){return s})),r.d(t,"g",(function(){return f})),r.d(t,"h",(function(){return x})),r.d(t,"i",(function(){return b})),r.d(t,"j",(function(){return I})),r.d(t,"k",(function(){return g})),r.d(t,"l",(function(){return l})),r.d(t,"m",(function(){return o})),r.d(t,"n",(function(){return H})),r.d(t,"o",(function(){return V})),r.d(t,"p",(function(){return w})),r.d(t,"q",(function(){return N})),r.d(t,"r",(function(){return F})),r.d(t,"s",(function(){return m})),r.d(t,"t",(function(){return k})),r.d(t,"u",(function(){return $})),r.d(t,"v",(function(){return S})),r.d(t,"w",(function(){return i}));var n=r(0);function o(e,t,r){return r?-1===r.indexOf("\n")?"".concat(e," #").concat(r):"".concat(e,"\n")+r.replace(/^/gm,"".concat(t||"","#")):e}var a=function e(){Object(n.j)(this,e)};function i(e,t,r){if(Array.isArray(e))return e.map((function(e,t){return i(e,String(t),r)}));if(e&&"function"==typeof e.toJSON){var n=r&&r.anchors&&r.anchors.get(e);n&&(r.onCreate=function(e){n.res=e,delete r.onCreate});var o=e.toJSON(t,r);return n&&r.onCreate&&r.onCreate(o),o}return r&&r.keep||"bigint"!=typeof e?e:Number(e)}var s=function(e){Object(n.q)(r,e);var t=Object(n.r)(r);function r(e){var o;return Object(n.j)(this,r),(o=t.call(this)).value=e,o}return Object(n.i)(r,[{key:"toJSON",value:function(e,t){return t&&t.keep?this.value:i(this.value,e,t)}},{key:"toString",value:function(){return String(this.value)}}]),r}(a);function c(e,t,r){for(var n=r,o=t.length-1;o>=0;--o){var a=t[o],i=Number.isInteger(a)&&a>=0?[]:{};i[a]=n,n=i}return e.createNode(n,!1)}var l=function(e){return null==e||"object"===Object(n.h)(e)&&e[Symbol.iterator]().next().done},u=function(e){Object(n.q)(r,e);var t=Object(n.r)(r);function r(e){var o;return Object(n.j)(this,r),o=t.call(this),Object(n.l)(Object(n.w)(o),"items",[]),o.schema=e,o}return Object(n.i)(r,[{key:"addIn",value:function(e,t){if(l(e))this.add(t);else{var o=Object(n.x)(e),a=o[0],i=o.slice(1),s=this.get(a,!0);if(s instanceof r)s.addIn(i,t);else{if(void 0!==s||!this.schema)throw new Error("Expected YAML collection at ".concat(a,". Remaining path: ").concat(i));this.set(a,c(this.schema,i,t))}}}},{key:"deleteIn",value:function(e){var t=Object(n.x)(e),o=t[0],a=t.slice(1);if(0===a.length)return this.delete(o);var i=this.get(o,!0);if(i instanceof r)return i.deleteIn(a);throw new Error("Expected YAML collection at ".concat(o,". Remaining path: ").concat(a))}},{key:"getIn",value:function(e,t){var o=Object(n.x)(e),a=o[0],i=o.slice(1),c=this.get(a,!0);return 0===i.length?!t&&c instanceof s?c.value:c:c instanceof r?c.getIn(i,t):void 0}},{key:"hasAllNullValues",value:function(){return this.items.every((function(e){if(!e||"PAIR"!==e.type)return!1;var t=e.value;return null==t||t instanceof s&&null==t.value&&!t.commentBefore&&!t.comment&&!t.tag}))}},{key:"hasIn",value:function(e){var t=Object(n.x)(e),o=t[0],a=t.slice(1);if(0===a.length)return this.has(o);var i=this.get(o,!0);return i instanceof r&&i.hasIn(a)}},{key:"setIn",value:function(e,t){var o=Object(n.x)(e),a=o[0],i=o.slice(1);if(0===i.length)this.set(a,t);else{var s=this.get(a,!0);if(s instanceof r)s.setIn(i,t);else{if(void 0!==s||!this.schema)throw new Error("Expected YAML collection at ".concat(a,". Remaining path: ").concat(i));this.set(a,c(this.schema,i,t))}}}},{key:"toJSON",value:function(){return null}},{key:"toString",value:function(e,t,a,i){var s=this,c=t.blockItem,l=t.flowChars,u=t.isMap,p=t.itemIndent,f=e,d=f.indent,h=f.indentStep,v=f.stringify,m=this.type===n.e.FLOW_MAP||this.type===n.e.FLOW_SEQ||e.inFlow;m&&(p+=h);var g=u&&this.hasAllNullValues();e=Object.assign({},e,{allNullValues:g,indent:p,inFlow:m,type:null});var y,b=!1,x=!1,w=this.items.reduce((function(t,r,n){var a;r&&(!b&&r.spaceBefore&&t.push({type:"comment",str:""}),r.commentBefore&&r.commentBefore.match(/^.*$/gm).forEach((function(e){t.push({type:"comment",str:"#".concat(e)})})),r.comment&&(a=r.comment),m&&(!b&&r.spaceBefore||r.commentBefore||r.comment||r.key&&(r.key.commentBefore||r.key.comment)||r.value&&(r.value.commentBefore||r.value.comment))&&(x=!0)),b=!1;var i=v(r,e,(function(){return a=null}),(function(){return b=!0}));return m&&!x&&i.includes("\n")&&(x=!0),m&&nr.maxFlowStringSingleLineLength){y=k;var O,E=Object(n.g)(A);try{for(E.s();!(O=E.n()).done;){var D=O.value;y+=D?"\n".concat(h).concat(d).concat(D):"\n"}}catch(e){E.e(e)}finally{E.f()}y+="\n".concat(d).concat(S)}else y="".concat(k," ").concat(A.join(" ")," ").concat(S)}else{var C=w.map(c);y=C.shift();var j,_=Object(n.g)(C);try{for(_.s();!(j=_.n()).done;){var T=j.value;y+=T?"\n".concat(d).concat(T):"\n"}}catch(e){_.e(e)}finally{_.f()}}return this.comment?(y+="\n"+this.comment.replace(/^/gm,"".concat(d,"#")),a&&a()):b&&i&&i(),y}}]),r}(a);function p(e){var t=e instanceof s?e.value:e;return t&&"string"==typeof t&&(t=Number(t)),Number.isInteger(t)&&t>=0?t:null}Object(n.l)(u,"maxFlowStringSingleLineLength",60);var f=function(e){Object(n.q)(r,e);var t=Object(n.r)(r);function r(){return Object(n.j)(this,r),t.apply(this,arguments)}return Object(n.i)(r,[{key:"add",value:function(e){this.items.push(e)}},{key:"delete",value:function(e){var t=p(e);return"number"==typeof t&&this.items.splice(t,1).length>0}},{key:"get",value:function(e,t){var r=p(e);if("number"==typeof r){var n=this.items[r];return!t&&n instanceof s?n.value:n}}},{key:"has",value:function(e){var t=p(e);return"number"==typeof t&&t1&&void 0!==arguments[1]?arguments[1]:null;return Object(n.j)(this,r),(o=t.call(this)).key=e,o.value=a,o.type=r.Type.PAIR,o}return Object(n.i)(r,[{key:"addToJSMap",value:function(e,t){var r=i(this.key,"",e);if(t instanceof Map){var o=i(this.value,r,e);t.set(r,o)}else if(t instanceof Set)t.add(r);else{var s=function(e,t,r){return null===t?"":"object"!==Object(n.h)(t)?String(t):e instanceof a&&r&&r.doc?e.toString({anchors:{},doc:r.doc,indent:"",indentStep:r.indentStep,inFlow:!0,inStringifyKey:!0,stringify:r.stringify}):JSON.stringify(t)}(this.key,r,e);t[s]=i(this.value,s,e)}return t}},{key:"toJSON",value:function(e,t){var r=t&&t.mapAsMap?new Map:{};return this.addToJSMap(t,r)}},{key:"toString",value:function(e,t,r){if(!e||!e.doc)return JSON.stringify(this);var i=e.doc.options,c=i.indent,l=i.indentSeq,p=i.simpleKeys,d=this.key,h=this.value,v=d instanceof a&&d.comment;if(p){if(v)throw new Error("With simple keys, key nodes cannot have comments");if(d instanceof u){throw new Error("With simple keys, collection cannot be used as a key value")}}var m=!p&&(!d||v||d instanceof u||d.type===n.e.BLOCK_FOLDED||d.type===n.e.BLOCK_LITERAL),g=e,y=g.doc,b=g.indent,x=g.indentStep,w=g.stringify;e=Object.assign({},e,{implicitKey:!m,indent:b+x});var k=!1,S=w(d,e,(function(){return v=null}),(function(){return k=!0}));if(S=o(S,e.indent,v),e.allNullValues&&!p)return this.comment?(S=o(S,e.indent,this.comment),t&&t()):k&&!v&&r&&r(),e.inFlow?S:"? ".concat(S);S=m?"? ".concat(S,"\n").concat(b,":"):"".concat(S,":"),this.comment&&(S=o(S,e.indent,this.comment),t&&t());var A="",O=null;if(h instanceof a){if(h.spaceBefore&&(A="\n"),h.commentBefore){var E=h.commentBefore.replace(/^/gm,"".concat(e.indent,"#"));A+="\n".concat(E)}O=h.comment}else h&&"object"===Object(n.h)(h)&&(h=y.schema.createNode(h,!0));e.implicitKey=!1,!m&&!this.comment&&h instanceof s&&(e.indentAtStart=S.length+1),k=!1,!l&&c>=2&&!e.inFlow&&!m&&h instanceof f&&h.type!==n.e.FLOW_SEQ&&!h.tag&&!y.anchors.getName(h)&&(e.indent=e.indent.substr(2));var D=w(h,e,(function(){return O=null}),(function(){return k=!0})),C=" ";if(A||this.comment)C="".concat(A,"\n").concat(e.indent);else if(!m&&h instanceof u){("["===D[0]||"{"===D[0])&&!D.includes("\n")||(C="\n".concat(e.indent))}return k&&!O&&r&&r(),o(S+C+D,e.indent,O)}},{key:"commentBefore",get:function(){return this.key instanceof a?this.key.commentBefore:void 0},set:function(e){if(null==this.key&&(this.key=new s(null)),!(this.key instanceof a)){throw new Error("Pair.commentBefore is an alias for Pair.key.commentBefore. To set it, the key must be a Node.")}this.key.commentBefore=e}}]),r}(a);Object(n.l)(d,"Type",{PAIR:"PAIR",MERGE_PAIR:"MERGE_PAIR"});var h=function e(t,r){if(t instanceof v){var o=r.get(t.source);return o.count*o.aliasCount}if(t instanceof u){var a,i=0,s=Object(n.g)(t.items);try{for(s.s();!(a=s.n()).done;){var c=e(a.value,r);c>i&&(i=c)}}catch(e){s.e(e)}finally{s.f()}return i}if(t instanceof d){var l=e(t.key,r),p=e(t.value,r);return Math.max(l,p)}return 1},v=function(e){Object(n.q)(r,e);var t=Object(n.r)(r);function r(e){var o;return Object(n.j)(this,r),(o=t.call(this)).source=e,o.type=n.e.ALIAS,o}return Object(n.i)(r,null,[{key:"stringify",value:function(e,t){var r=e.range,n=e.source,o=t.anchors,a=t.doc,i=t.implicitKey,s=t.inStringifyKey,c=Object.keys(o).find((function(e){return o[e]===n}));if(!c&&s&&(c=a.anchors.getName(n)||a.anchors.newName()),c)return"*".concat(c).concat(i?" ":"");var l=a.anchors.getName(n)?"Alias node must be after source node":"Source node not found for alias node";throw new Error("".concat(l," [").concat(r,"]"))}}]),Object(n.i)(r,[{key:"toJSON",value:function(e,t){if(!t)return i(this.source,e,t);var r=t.anchors,o=t.maxAliasCount,a=r.get(this.source);if(!a||void 0===a.res){var s="This should not happen: Alias anchor was not resolved?";throw this.cstNode?new n.v(this.cstNode,s):new ReferenceError(s)}if(o>=0&&(a.count+=1,0===a.aliasCount&&(a.aliasCount=h(this.source,r)),a.count*a.aliasCount>o)){var c="Excessive alias count indicates a resource exhaustion attack";throw this.cstNode?new n.v(this.cstNode,c):new ReferenceError(c)}return a.res}},{key:"toString",value:function(e){return r.stringify(this,e)}},{key:"tag",set:function(e){throw new Error("Alias nodes cannot have tags")}}]),r}(a);function m(e,t){var r,o=t instanceof s?t.value:t,a=Object(n.g)(e);try{for(a.s();!(r=a.n()).done;){var i=r.value;if(i instanceof d){if(i.key===t||i.key===o)return i;if(i.key&&i.key.value===o)return i}}}catch(e){a.e(e)}finally{a.f()}}Object(n.l)(v,"default",!0);var g=function(e){Object(n.q)(r,e);var t=Object(n.r)(r);function r(){return Object(n.j)(this,r),t.apply(this,arguments)}return Object(n.i)(r,[{key:"add",value:function(e,t){e?e instanceof d||(e=new d(e.key||e,e.value)):e=new d(e);var r=m(this.items,e.key),n=this.schema&&this.schema.sortMapEntries;if(r){if(!t)throw new Error("Key ".concat(e.key," already set"));r.value=e.value}else if(n){var o=this.items.findIndex((function(t){return n(e,t)<0}));-1===o?this.items.push(e):this.items.splice(o,0,e)}else this.items.push(e)}},{key:"delete",value:function(e){var t=m(this.items,e);return!!t&&this.items.splice(this.items.indexOf(t),1).length>0}},{key:"get",value:function(e,t){var r=m(this.items,e),n=r&&r.value;return!t&&n instanceof s?n.value:n}},{key:"has",value:function(e){return!!m(this.items,e)}},{key:"set",value:function(e,t){this.add(new d(e,t),!0)}},{key:"toJSON",value:function(e,t,r){var o=r?new r:t&&t.mapAsMap?new Map:{};t&&t.onCreate&&t.onCreate(o);var a,i=Object(n.g)(this.items);try{for(i.s();!(a=i.n()).done;){a.value.addToJSMap(t,o)}}catch(e){i.e(e)}finally{i.f()}return o}},{key:"toString",value:function(e,t,o){if(!e)return JSON.stringify(this);var a,i=Object(n.g)(this.items);try{for(i.s();!(a=i.n()).done;){var s=a.value;if(!(s instanceof d))throw new Error("Map items must all be pairs; found ".concat(JSON.stringify(s)," instead"))}}catch(e){i.e(e)}finally{i.f()}return Object(n.s)(Object(n.t)(r.prototype),"toString",this).call(this,e,{blockItem:function(e){return e.str},flowChars:{start:"{",end:"}"},isMap:!0,itemIndent:e.indent||""},t,o)}}]),r}(u),y=function(e){Object(n.q)(r,e);var t=Object(n.r)(r);function r(e){var o;if(Object(n.j)(this,r),e instanceof d){var a=e.value;a instanceof f||((a=new f).items.push(e.value),a.range=e.value.range),(o=t.call(this,e.key,a)).range=e.range}else o=t.call(this,new s("<<"),new f);return o.type=d.Type.MERGE_PAIR,Object(n.y)(o)}return Object(n.i)(r,[{key:"addToJSMap",value:function(e,t){var r,o=Object(n.g)(this.value.items);try{for(o.s();!(r=o.n()).done;){var a=r.value.source;if(!(a instanceof g))throw new Error("Merge sources must be maps");var i,s=a.toJSON(null,e,Map),c=Object(n.g)(s);try{for(c.s();!(i=c.n()).done;){var l=Object(n.o)(i.value,2),u=l[0],p=l[1];t instanceof Map?t.has(u)||t.set(u,p):t instanceof Set?t.add(u):Object.prototype.hasOwnProperty.call(t,u)||(t[u]=p)}}catch(e){c.e(e)}finally{c.f()}}}catch(e){o.e(e)}finally{o.f()}return t}},{key:"toString",value:function(e,t){var o=this.value;if(o.items.length>1)return Object(n.s)(Object(n.t)(r.prototype),"toString",this).call(this,e,t);this.value=o.items[0];var a=Object(n.s)(Object(n.t)(r.prototype),"toString",this).call(this,e,t);return this.value=o,a}}]),r}(d),b={defaultType:n.e.BLOCK_LITERAL,lineWidth:76},x={trueStr:"true",falseStr:"false"},w={asBigInt:!1},k={nullStr:"null"},S={defaultType:n.e.PLAIN,doubleQuoted:{jsonEncoding:!1,minMultiLineLength:40},fold:{lineWidth:80,minContentWidth:20}};function A(e,t,r){var o,a=Object(n.g)(t);try{for(a.s();!(o=a.n()).done;){var i=o.value,c=i.format,l=i.test,u=i.resolve;if(l){var p=e.match(l);if(p){var f=u.apply(null,p);return f instanceof s||(f=new s(f)),c&&(f.format=c),f}}}}catch(e){a.e(e)}finally{a.f()}return r&&(e=r(e)),new s(e)}var O=function(e,t){for(var r=e[t+1];" "===r||"\t"===r;){do{r=e[t+=1]}while(r&&"\n"!==r);r=e[t+1]}return t};function E(e,t,r,n){var o=n.indentAtStart,a=n.lineWidth,i=void 0===a?80:a,s=n.minContentWidth,c=void 0===s?20:s,l=n.onFold,u=n.onOverflow;if(!i||i<0)return e;var p=Math.max(1+c,1+i-t.length);if(e.length<=p)return e;var f,d=[],h={},v=i-("number"==typeof o?o:t.length),m=void 0,g=void 0,y=!1,b=-1;for("block"===r&&-1!==(b=O(e,b))&&(v=b+p);f=e[b+=1];){if("quoted"===r&&"\\"===f)switch(e[b+1]){case"x":b+=3;break;case"u":b+=5;break;case"U":b+=9;break;default:b+=1}if("\n"===f)"block"===r&&(b=O(e,b)),v=b+p,m=void 0;else{if(" "===f&&g&&" "!==g&&"\n"!==g&&"\t"!==g){var x=e[b+1];x&&" "!==x&&"\n"!==x&&"\t"!==x&&(m=b)}if(b>=v)if(m)d.push(m),v=m+p,m=void 0;else if("quoted"===r){for(;" "===g||"\t"===g;)g=f,f=e[b+=1],y=!0;d.push(b-2),h[b-2]=!0,v=b-2+p,m=void 0}else y=!0}g=f}if(y&&u&&u(),0===d.length)return e;l&&l();for(var w=e.slice(0,d[0]),k=0;kt)return!0;if(r-(o=n+1)<=t)return!1}return!0}(s,S.fold.lineWidth-c.length)),p=u?"|":">";if(!s)return p+"\n";var f="",d="";if(s=s.replace(/[\n\t ]*$/,(function(e){var t=e.indexOf("\n");return-1===t?p+="-":s!==e&&t===e.length-1||(p+="+",o&&o()),d=e.replace(/\n$/,""),""})).replace(/^[\n ]*/,(function(e){-1!==e.indexOf(" ")&&(p+=l);var t=e.match(/ +$/);return t?(f=e.slice(0,-t[0].length),t[0]):(f=e,"")})),d&&(d=d.replace(/\n+(?!\n|$)/g,"$&".concat(c))),f&&(f=f.replace(/\n+/g,"$&".concat(c))),a&&(p+=" #"+a.replace(/ ?[\r\n]+/g," "),r&&r()),!s)return"".concat(p).concat(l,"\n").concat(c).concat(d);if(u)return s=s.replace(/\n+/g,"$&".concat(c)),"".concat(p,"\n").concat(c).concat(f).concat(s).concat(d);s=s.replace(/\n+/g,"\n$&").replace(/(?:^|\n)([\t ].*)(?:([\n\t ]*)\n(?![\n\t ]))?/g,"$1$2").replace(/\n+/g,"$&".concat(c));var h=E("".concat(f).concat(s).concat(d),c,"block",S.fold);return"".concat(p,"\n").concat(c).concat(h)}function I(e,t,r,o){var a=S.defaultType,i=t.implicitKey,s=t.inFlow,c=e,l=c.type,u=c.value;"string"!=typeof u&&(u=String(u),e=Object.assign({},e,{value:u}));var p=function(a){switch(a){case n.e.BLOCK_FOLDED:case n.e.BLOCK_LITERAL:return T(e,t,r,o);case n.e.QUOTE_DOUBLE:return j(u,t);case n.e.QUOTE_SINGLE:return _(u,t);case n.e.PLAIN:return function(e,t,r,o){var a=e.comment,i=e.type,s=e.value,c=t.actualString,l=t.implicitKey,u=t.indent,p=t.inFlow;if(l&&/[\n[\]{},]/.test(s)||p&&/[[\]{},]/.test(s))return j(s,t);if(!s||/^[\n\t ,[\]{}#&*!|>'"%@`]|^[?-]$|^[?-][ \t]|[\n:][ \t]|[ \t]\n|[\n\t ]#|[\n\t :]$/.test(s))return l||p||-1===s.indexOf("\n")?-1!==s.indexOf('"')&&-1===s.indexOf("'")?_(s,t):j(s,t):T(e,t,r,o);if(!l&&!p&&i!==n.e.PLAIN&&-1!==s.indexOf("\n"))return T(e,t,r,o);if(""===u&&C(s))return t.forceBlockIndent=!0,T(e,t,r,o);var f=s.replace(/\n+/g,"$&\n".concat(u));if(c){var d=t.doc.schema.tags;if("string"!=typeof A(f,d,d.scalarFallback).value)return j(s,t)}var h=l?f:E(f,u,"flow",D(t));return!a||p||-1===h.indexOf("\n")&&-1===a.indexOf("\n")?h:(r&&r(),function(e,t,r){if(!r)return e;var n=r.replace(/[\s\S]^/gm,"$&".concat(t,"#"));return"#".concat(n,"\n").concat(t).concat(e)}(h,u,a))}(e,t,r,o);default:return null}};l!==n.e.QUOTE_DOUBLE&&/[\x00-\x08\x0b-\x1f\x7f-\x9f]/.test(u)?l=n.e.QUOTE_DOUBLE:!i&&!s||l!==n.e.BLOCK_FOLDED&&l!==n.e.BLOCK_LITERAL||(l=n.e.QUOTE_DOUBLE);var f=p(l);if(null===f&&null===(f=p(a)))throw new Error("Unsupported default string type ".concat(a));return f}function F(e){var t=e.format,r=e.minFractionDigits,n=e.tag,o=e.value;if("bigint"==typeof o)return String(o);if(!isFinite(o))return isNaN(o)?".nan":o<0?"-.inf":".inf";var a=JSON.stringify(o);if(!t&&r&&(!n||"tag:yaml.org,2002:float"===n)&&/^\d/.test(a)){var i=a.indexOf(".");i<0&&(i=a.length,a+=".");for(var s=r-(a.length-i-1);s-- >0;)a+="0"}return a}function P(e,t){var r,o,a;switch(t.type){case n.e.FLOW_MAP:r="}",o="flow map";break;case n.e.FLOW_SEQ:r="]",o="flow sequence";break;default:return void e.push(new n.n(t,"Not a flow collection!?"))}for(var i=t.items.length-1;i>=0;--i){var s=t.items[i];if(!s||s.type!==n.e.COMMENT){a=s;break}}if(a&&a.char!==r){var c,l="Expected ".concat(o," to end with ").concat(r);"number"==typeof a.offset?(c=new n.n(t,l)).offset=a.offset+1:(c=new n.n(a,l),a.range&&a.range.end&&(c.offset=a.range.end-a.range.start)),e.push(c)}}function R(e,t){var r=t.context.src[t.range.start-1];if("\n"!==r&&"\t"!==r&&" "!==r){e.push(new n.n(t,"Comments must be separated from other tokens by white space characters"))}}function B(e,t){var r=String(t),o=r.substr(0,8)+"..."+r.substr(-8);return new n.n(e,'The "'.concat(o,'" key is too long'))}function L(e,t){var r,o=Object(n.g)(t);try{for(o.s();!(r=o.n()).done;){var a=r.value,i=a.afterKey,s=a.before,c=a.comment,l=e.items[s];l?(i&&l.value&&(l=l.value),void 0===c?!i&&l.commentBefore||(l.spaceBefore=!0):l.commentBefore?l.commentBefore+="\n"+c:l.commentBefore=c):void 0!==c&&(e.comment?e.comment+="\n"+c:e.comment=c)}}catch(e){o.e(e)}finally{o.f()}}function N(e,t){var r=t.strValue;return r?"string"==typeof r?r:(r.errors.forEach((function(r){r.source||(r.source=t),e.errors.push(r)})),r.str):""}function M(e,t){var r=t.tag,o=t.type,a=!1;if(r){var i=r.handle,s=r.suffix,c=r.verbatim;if(c){if("!"!==c&&"!!"!==c)return c;var l="Verbatim tags aren't resolved, so ".concat(c," is invalid.");e.errors.push(new n.n(t,l))}else if("!"!==i||s)try{return function(e,t){var r=t.tag,o=r.handle,a=r.suffix,i=e.tagPrefixes.find((function(e){return e.handle===o}));if(!i){var s=e.getDefaults().tagPrefixes;if(s&&(i=s.find((function(e){return e.handle===o}))),!i)throw new n.n(t,"The ".concat(o," tag handle is non-default and was not declared."))}if(!a)throw new n.n(t,"The ".concat(o," tag has no suffix."));if("!"===o&&"1.0"===(e.version||e.options.version)){if("^"===a[0])return e.warnings.push(new n.m(t,"YAML 1.0 ^ tag expansion is not supported")),a;if(/[:/]/.test(a)){var c=a.match(/^([a-z0-9-]+)\/(.*)/i);return c?"tag:".concat(c[1],".yaml.org,2002:").concat(c[2]):"tag:".concat(a)}}return i.prefix+decodeURIComponent(a)}(e,t)}catch(t){e.errors.push(t)}else a=!0}switch(o){case n.e.BLOCK_FOLDED:case n.e.BLOCK_LITERAL:case n.e.QUOTE_DOUBLE:case n.e.QUOTE_SINGLE:return n.u.STR;case n.e.FLOW_MAP:case n.e.MAP:return n.u.MAP;case n.e.FLOW_SEQ:case n.e.SEQ:return n.u.SEQ;case n.e.PLAIN:return a?n.u.STR:null;default:return null}}function q(e,t,r){var o,a=e.schema.tags,i=[],c=Object(n.g)(a);try{for(c.s();!(o=c.n()).done;){var l=o.value;if(l.tag===r){if(!l.test){var p=l.resolve(e,t);return p instanceof u?p:new s(p)}i.push(l)}}}catch(e){c.e(e)}finally{c.f()}var f=N(e,t);return"string"==typeof f&&i.length>0?A(f,i,a.scalarFallback):null}function z(e,t,r){try{var o=q(e,t,r);if(o)return r&&t.tag&&(o.tag=r),o}catch(r){return r.source||(r.source=t),e.errors.push(r),null}try{var a=function(e){switch(e.type){case n.e.FLOW_MAP:case n.e.MAP:return n.u.MAP;case n.e.FLOW_SEQ:case n.e.SEQ:return n.u.SEQ;default:return n.u.STR}}(t);if(!a)throw new Error("The tag ".concat(r," is unavailable"));var i="The tag ".concat(r," is unavailable, falling back to ").concat(a);e.warnings.push(new n.m(t,i));var s=q(e,t,a);return s.tag=r,s}catch(r){var c=new n.v(t,r.message);return c.stack=r.stack,e.errors.push(c),null}}function U(e,t){var r,o={before:[],after:[]},a=!1,i=!1,s=function(e){if(!e)return!1;var t=e.type;return t===n.e.MAP_KEY||t===n.e.MAP_VALUE||t===n.e.SEQ_ITEM}(t.context.parent)?t.context.parent.props.concat(t.props):t.props,c=Object(n.g)(s);try{for(c.s();!(r=c.n()).done;){var l=r.value,u=l.start,p=l.end;switch(t.context.src[u]){case n.a.COMMENT:if(!t.commentHasRequiredWhitespace(u)){e.push(new n.n(t,"Comments must be separated from other tokens by white space characters"))}var f=t.header,d=t.valueRange;(d&&(u>d.start||f&&u>f.start)?o.after:o.before).push(t.context.src.slice(u+1,p));break;case n.a.ANCHOR:if(a){e.push(new n.n(t,"A node can have at most one anchor"))}a=!0;break;case n.a.TAG:if(i){e.push(new n.n(t,"A node can have at most one tag"))}i=!0}}}catch(e){c.e(e)}finally{c.f()}return{comments:o,hasAnchor:a,hasTag:i}}function $(e,t){if(!t)return null;t.error&&e.errors.push(t.error);var r=U(e.errors,t),o=r.comments,a=r.hasAnchor,i=r.hasTag;if(a){var s=e.anchors,c=t.anchor,l=s.getNode(c);l&&(s.map[s.newName(c)]=l),s.map[c]=t}if(t.type===n.e.ALIAS&&(a||i)){e.errors.push(new n.n(t,"An alias node must not specify any properties"))}var u=function(e,t){var r=e.anchors,o=e.errors,a=e.schema;if(t.type===n.e.ALIAS){var i=t.rawValue,s=r.getNode(i);if(!s){var c="Aliased anchor not found: ".concat(i);return o.push(new n.v(t,c)),null}var l=new v(s);return r._cstAliases.push(l),l}var u=M(e,t);if(u)return z(e,t,u);if(t.type!==n.e.PLAIN){var p="Failed to resolve ".concat(t.type," node here");return o.push(new n.f(t,p)),null}try{return A(N(e,t),a.tags,a.tags.scalarFallback)}catch(e){return e.source||(e.source=t),o.push(e),null}}(e,t);if(u){u.range=[t.range.start,t.range.end],e.options.keepCstNodes&&(u.cstNode=t),e.options.keepNodeTypes&&(u.type=t.type);var p=o.before.join("\n");p&&(u.commentBefore=u.commentBefore?"".concat(u.commentBefore,"\n").concat(p):p);var f=o.after.join("\n");f&&(u.comment=u.comment?"".concat(u.comment,"\n").concat(f):f)}return t.resolved=u}function H(e,t){if(t.type!==n.e.MAP&&t.type!==n.e.FLOW_MAP){var r="A ".concat(t.type," node cannot be resolved as a mapping");return e.errors.push(new n.f(t,r)),null}var o=t.type===n.e.FLOW_MAP?function(e,t){for(var r=[],o=[],a=void 0,i=!1,s="{",c=0;c0){(l=new n.c(n.e.PLAIN,[])).context={parent:c,src:c.context.src};var u=c.range.start+1;if(l.range={start:u,end:u},l.valueRange={start:u,end:u},"number"==typeof c.range.origStart){var p=c.range.origStart+1;l.range.origStart=l.range.origEnd=p,l.valueRange.origStart=l.valueRange.origEnd=p}}var f=new d(a,$(e,l));W(c,f),o.push(f),a&&"number"==typeof i&&c.range.start>i+1024&&e.errors.push(B(t,a)),a=void 0,i=null;break;default:void 0!==a&&o.push(new d(a)),a=$(e,c),i=c.range.start,c.error&&e.errors.push(c.error);e:for(var h=s+1;;++h){var v=t.items[h];switch(v&&v.type){case n.e.BLANK_LINE:case n.e.COMMENT:continue e;case n.e.MAP_VALUE:break e;default:e.errors.push(new n.n(c,"Implicit map keys need to be followed by map values"));break e}}if(c.valueRangeContainsNewline){e.errors.push(new n.n(c,"Implicit map keys need to be on a single line"))}}}void 0!==a&&o.push(new d(a));return{comments:r,items:o}}(e,t),a=o.comments,i=o.items,s=new g;s.items=i,L(s,a);for(var c=!1,l=0;lo.valueRange.start)return!1;if(a[s]!==n.a.COMMENT)return!1;for(var c=r;cs+1024&&e.errors.push(B(t,i));for(var g=l.context.src,y=s;ye.length)&&(t=e.length);for(var r=0,n=new Array(t);r=e.length?{done:!0}:{done:!1,value:e[o++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(n=e[Symbol.iterator]()).next.bind(n)}var n=function(e){var t={exports:{}};return e(t,t.exports),t.exports}((function(e){function t(){return{baseUrl:null,breaks:!1,gfm:!0,headerIds:!0,headerPrefix:"",highlight:null,langPrefix:"language-",mangle:!0,pedantic:!1,renderer:null,sanitize:!1,sanitizer:null,silent:!1,smartLists:!1,smartypants:!1,tokenizer:null,walkTokens:null,xhtml:!1}}e.exports={defaults:{baseUrl:null,breaks:!1,gfm:!0,headerIds:!0,headerPrefix:"",highlight:null,langPrefix:"language-",mangle:!0,pedantic:!1,renderer:null,sanitize:!1,sanitizer:null,silent:!1,smartLists:!1,smartypants:!1,tokenizer:null,walkTokens:null,xhtml:!1},getDefaults:t,changeDefaults:function(t){e.exports.defaults=t}}})),o=/[&<>"']/,a=/[&<>"']/g,i=/[<>"']|&(?!#?\w+;)/,s=/[<>"']|&(?!#?\w+;)/g,c={"&":"&","<":"<",">":">",'"':""","'":"'"},l=function(e){return c[e]},u=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/gi;function p(e){return e.replace(u,(function(e,t){return"colon"===(t=t.toLowerCase())?":":"#"===t.charAt(0)?"x"===t.charAt(1)?String.fromCharCode(parseInt(t.substring(2),16)):String.fromCharCode(+t.substring(1)):""}))}var f=/(^|[^\[])\^/g,d=/[^\w:]/g,h=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i,v={},m=/^[^:]+:\/*[^/]*$/,g=/^([^:]+:)[\s\S]*$/,y=/^([^:]+:\/*[^/]*)[\s\S]*$/;function b(e,t){v[" "+e]||(m.test(e)?v[" "+e]=e+"/":v[" "+e]=x(e,"/",!0));var r=-1===(e=v[" "+e]).indexOf(":");return"//"===t.substring(0,2)?r?t:e.replace(g,"$1")+t:"/"===t.charAt(0)?r?t:e.replace(y,"$1")+t:e+t}function x(e,t,r){var n=e.length;if(0===n)return"";for(var o=0;o=0&&"\\"===r[o];)n=!n;return n?"|":" |"})).split(/ \|/),n=0;if(r.length>t)r.splice(t);else for(;r.length1;)1&t&&(r+=e),t>>=1,e+=e;return r+e},I=n.defaults,F=C,P=D,R=w,B=j;function L(e,t,r){var n=t.href,o=t.title?R(t.title):null,a=e[1].replace(/\\([\[\]])/g,"$1");return"!"!==e[0].charAt(0)?{type:"link",raw:r,href:n,title:o,text:a}:{type:"image",raw:r,href:n,title:o,text:R(a)}}var N=function(){function e(e){this.options=e||I}var t=e.prototype;return t.space=function(e){var t=this.rules.block.newline.exec(e);if(t)return t[0].length>1?{type:"space",raw:t[0]}:{raw:"\n"}},t.code=function(e){var t=this.rules.block.code.exec(e);if(t){var r=t[0].replace(/^ {1,4}/gm,"");return{type:"code",raw:t[0],codeBlockStyle:"indented",text:this.options.pedantic?r:F(r,"\n")}}},t.fences=function(e){var t=this.rules.block.fences.exec(e);if(t){var r=t[0],n=function(e,t){var r=e.match(/^(\s+)(?:```)/);if(null===r)return t;var n=r[1];return t.split("\n").map((function(e){var t=e.match(/^\s+/);return null===t?e:t[0].length>=n.length?e.slice(n.length):e})).join("\n")}(r,t[3]||"");return{type:"code",raw:r,lang:t[2]?t[2].trim():t[2],text:n}}},t.heading=function(e){var t=this.rules.block.heading.exec(e);if(t){var r=t[2].trim();if(/#$/.test(r)){var n=F(r,"#");this.options.pedantic?r=n.trim():n&&!/ $/.test(n)||(r=n.trim())}return{type:"heading",raw:t[0],depth:t[1].length,text:r}}},t.nptable=function(e){var t=this.rules.block.nptable.exec(e);if(t){var r={type:"table",header:P(t[1].replace(/^ *| *\| *$/g,"")),align:t[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:t[3]?t[3].replace(/\n$/,"").split("\n"):[],raw:t[0]};if(r.header.length===r.align.length){var n,o=r.align.length;for(n=0;n ?/gm,"");return{type:"blockquote",raw:t[0],text:r}}},t.list=function(e){var t=this.rules.block.list.exec(e);if(t){var r,n,o,a,i,s,c,l,u=t[0],p=t[2],f=p.length>1,d={type:"list",raw:u,ordered:f,start:f?+p.slice(0,-1):"",loose:!1,items:[]},h=t[0].match(this.rules.block.item),v=!1,m=h.length;o=this.rules.block.listItemStart.exec(h[0]);for(var g=0;go[1].length:a[1].length>o[0].length||a[1].length>3){h.splice(g,2,h[g]+"\n"+h[g+1]),g--,m--;continue}(!this.options.pedantic||this.options.smartLists?a[2][a[2].length-1]!==p[p.length-1]:f===(1===a[2].length))&&(i=h.slice(g+1).join("\n"),d.raw=d.raw.substring(0,d.raw.length-i.length),g=m-1),o=a}n=r.length,~(r=r.replace(/^ *([*+-]|\d+[.)]) ?/,"")).indexOf("\n ")&&(n-=r.length,r=this.options.pedantic?r.replace(/^ {1,4}/gm,""):r.replace(new RegExp("^ {1,"+n+"}","gm"),"")),s=v||/\n\n(?!\s*$)/.test(r),g!==m-1&&(v="\n"===r.charAt(r.length-1),s||(s=v)),s&&(d.loose=!0),this.options.gfm&&(l=void 0,(c=/^\[[ xX]\] /.test(r))&&(l=" "!==r[1],r=r.replace(/^\[[ xX]\] +/,""))),d.items.push({type:"list_item",raw:u,task:c,checked:l,loose:s,text:r})}return d}},t.html=function(e){var t=this.rules.block.html.exec(e);if(t)return{type:this.options.sanitize?"paragraph":"html",raw:t[0],pre:!this.options.sanitizer&&("pre"===t[1]||"script"===t[1]||"style"===t[1]),text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(t[0]):R(t[0]):t[0]}},t.def=function(e){var t=this.rules.block.def.exec(e);if(t)return t[3]&&(t[3]=t[3].substring(1,t[3].length-1)),{tag:t[1].toLowerCase().replace(/\s+/g," "),raw:t[0],href:t[2],title:t[3]}},t.table=function(e){var t=this.rules.block.table.exec(e);if(t){var r={type:"table",header:P(t[1].replace(/^ *| *\| *$/g,"")),align:t[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:t[3]?t[3].replace(/\n$/,"").split("\n"):[]};if(r.header.length===r.align.length){r.raw=t[0];var n,o=r.align.length;for(n=0;n/i.test(n[0])&&(t=!1),!r&&/^<(pre|code|kbd|script)(\s|>)/i.test(n[0])?r=!0:r&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(n[0])&&(r=!1),{type:this.options.sanitize?"text":"html",raw:n[0],inLink:t,inRawBlock:r,text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(n[0]):R(n[0]):n[0]}},t.link=function(e){var t=this.rules.inline.link.exec(e);if(t){var r=t[2].trim();if(!this.options.pedantic&&/^$/.test(r))return;var n=F(r.slice(0,-1),"\\");if((r.length-n.length)%2==0)return}else{var o=B(t[2],"()");if(o>-1){var a=(0===t[0].indexOf("!")?5:4)+t[1].length+o;t[2]=t[2].substring(0,o),t[0]=t[0].substring(0,a).trim(),t[3]=""}}var i=t[2],s="";if(this.options.pedantic){var c=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(i);c&&(i=c[1],s=c[3])}else s=t[3]?t[3].slice(1,-1):"";return i=i.trim(),/^$/.test(r)?i.slice(1):i.slice(1,-1)),L(t,{href:i?i.replace(this.rules.inline._escapes,"$1"):i,title:s?s.replace(this.rules.inline._escapes,"$1"):s},t[0])}},t.reflink=function(e,t){var r;if((r=this.rules.inline.reflink.exec(e))||(r=this.rules.inline.nolink.exec(e))){var n=(r[2]||r[1]).replace(/\s+/g," ");if(!(n=t[n.toLowerCase()])||!n.href){var o=r[0].charAt(0);return{type:"text",raw:o,text:o}}return L(r,n,r[0])}},t.emStrong=function(e,t,r){void 0===r&&(r="");var n=this.rules.inline.emStrong.lDelim.exec(e);if(n&&(!n[3]||!r.match(/(?:[0-9A-Za-z\xAA\xB2\xB3\xB5\xB9\xBA\xBC-\xBE\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u0660-\u0669\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07C0-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u08A0-\u08B4\u08B6-\u08C7\u0904-\u0939\u093D\u0950\u0958-\u0961\u0966-\u096F\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09E6-\u09F1\u09F4-\u09F9\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A66-\u0A6F\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AE6-\u0AEF\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B66-\u0B6F\u0B71-\u0B77\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0BE6-\u0BF2\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C66-\u0C6F\u0C78-\u0C7E\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CE6-\u0CEF\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D58-\u0D61\u0D66-\u0D78\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DE6-\u0DEF\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F20-\u0F33\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F-\u1049\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u1090-\u1099\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1369-\u137C\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u17E0-\u17E9\u17F0-\u17F9\u1810-\u1819\u1820-\u1878\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19DA\u1A00-\u1A16\u1A20-\u1A54\u1A80-\u1A89\u1A90-\u1A99\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B50-\u1B59\u1B83-\u1BA0\u1BAE-\u1BE5\u1C00-\u1C23\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2070\u2071\u2074-\u2079\u207F-\u2089\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2150-\u2189\u2460-\u249B\u24EA-\u24FF\u2776-\u2793\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2CFD\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u3192-\u3195\u31A0-\u31BF\u31F0-\u31FF\u3220-\u3229\u3248-\u324F\u3251-\u325F\u3280-\u3289\u32B1-\u32BF\u3400-\u4DBF\u4E00-\u9FFC\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7BF\uA7C2-\uA7CA\uA7F5-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA830-\uA835\uA840-\uA873\uA882-\uA8B3\uA8D0-\uA8D9\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA900-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF-\uA9D9\uA9E0-\uA9E4\uA9E6-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA50-\uAA59\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD07-\uDD33\uDD40-\uDD78\uDD8A\uDD8B\uDE80-\uDE9C\uDEA0-\uDED0\uDEE1-\uDEFB\uDF00-\uDF23\uDF2D-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC58-\uDC76\uDC79-\uDC9E\uDCA7-\uDCAF\uDCE0-\uDCF2\uDCF4\uDCF5\uDCFB-\uDD1B\uDD20-\uDD39\uDD80-\uDDB7\uDDBC-\uDDCF\uDDD2-\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE35\uDE40-\uDE48\uDE60-\uDE7E\uDE80-\uDE9F\uDEC0-\uDEC7\uDEC9-\uDEE4\uDEEB-\uDEEF\uDF00-\uDF35\uDF40-\uDF55\uDF58-\uDF72\uDF78-\uDF91\uDFA9-\uDFAF]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2\uDCFA-\uDD23\uDD30-\uDD39\uDE60-\uDE7E\uDE80-\uDEA9\uDEB0\uDEB1\uDF00-\uDF27\uDF30-\uDF45\uDF51-\uDF54\uDFB0-\uDFCB\uDFE0-\uDFF6]|\uD804[\uDC03-\uDC37\uDC52-\uDC6F\uDC83-\uDCAF\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD03-\uDD26\uDD36-\uDD3F\uDD44\uDD47\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDD0-\uDDDA\uDDDC\uDDE1-\uDDF4\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDEF0-\uDEF9\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC50-\uDC59\uDC5F-\uDC61\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE50-\uDE59\uDE80-\uDEAA\uDEB8\uDEC0-\uDEC9\uDF00-\uDF1A\uDF30-\uDF3B]|\uD806[\uDC00-\uDC2B\uDCA0-\uDCF2\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD2F\uDD3F\uDD41\uDD50-\uDD59\uDDA0-\uDDA7\uDDAA-\uDDD0\uDDE1\uDDE3\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE89\uDE9D\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC50-\uDC6C\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46\uDD50-\uDD59\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD89\uDD98\uDDA0-\uDDA9\uDEE0-\uDEF2\uDFB0\uDFC0-\uDFD4]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF50-\uDF59\uDF5B-\uDF61\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDE40-\uDE96\uDF00-\uDF4A\uDF50\uDF93-\uDF9F\uDFE0\uDFE1\uDFE3]|\uD821[\uDC00-\uDFF7]|\uD823[\uDC00-\uDCD5\uDD00-\uDD08]|\uD82C[\uDC00-\uDD1E\uDD50-\uDD52\uDD64-\uDD67\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD834[\uDEE0-\uDEF3\uDF60-\uDF78]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD838[\uDD00-\uDD2C\uDD37-\uDD3D\uDD40-\uDD49\uDD4E\uDEC0-\uDEEB\uDEF0-\uDEF9]|\uD83A[\uDC00-\uDCC4\uDCC7-\uDCCF\uDD00-\uDD43\uDD4B\uDD50-\uDD59]|\uD83B[\uDC71-\uDCAB\uDCAD-\uDCAF\uDCB1-\uDCB4\uDD01-\uDD2D\uDD2F-\uDD3D\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD83C[\uDD00-\uDD0C]|\uD83E[\uDFF0-\uDFF9]|\uD869[\uDC00-\uDEDD\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A])/))){var o=n[1]||n[2]||"";if(!o||o&&(""===r||this.rules.inline.punctuation.exec(r))){var a,i,s=n[0].length-1,c=s,l=0,u="*"===n[0][0]?this.rules.inline.emStrong.rDelimAst:this.rules.inline.emStrong.rDelimUnd;for(u.lastIndex=0,t=t.slice(-1*e.length+s);null!=(n=u.exec(t));)if(a=n[1]||n[2]||n[3]||n[4]||n[5]||n[6])if(i=a.length,n[3]||n[4])c+=i;else if(!((n[5]||n[6])&&s%3)||(s+i)%3){if(!((c-=i)>0)){if(c+l-i<=0&&!t.slice(u.lastIndex).match(u)&&(i=Math.min(i,i+c+l)),Math.min(s,i)%2)return{type:"em",raw:e.slice(0,s+n.index+i+1),text:e.slice(1,s+n.index+i)};if(Math.min(s,i)%2==0)return{type:"strong",raw:e.slice(0,s+n.index+i+1),text:e.slice(2,s+n.index+i-1)}}}else l+=i}}},t.codespan=function(e){var t=this.rules.inline.code.exec(e);if(t){var r=t[2].replace(/\n/g," "),n=/[^ ]/.test(r),o=/^ /.test(r)&&/ $/.test(r);return n&&o&&(r=r.substring(1,r.length-1)),r=R(r,!0),{type:"codespan",raw:t[0],text:r}}},t.br=function(e){var t=this.rules.inline.br.exec(e);if(t)return{type:"br",raw:t[0]}},t.del=function(e){var t=this.rules.inline.del.exec(e);if(t)return{type:"del",raw:t[0],text:t[2]}},t.autolink=function(e,t){var r,n,o=this.rules.inline.autolink.exec(e);if(o)return n="@"===o[2]?"mailto:"+(r=R(this.options.mangle?t(o[1]):o[1])):r=R(o[1]),{type:"link",raw:o[0],text:r,href:n,tokens:[{type:"text",raw:r,text:r}]}},t.url=function(e,t){var r;if(r=this.rules.inline.url.exec(e)){var n,o;if("@"===r[2])o="mailto:"+(n=R(this.options.mangle?t(r[0]):r[0]));else{var a;do{a=r[0],r[0]=this.rules.inline._backpedal.exec(r[0])[0]}while(a!==r[0]);n=R(r[0]),o="www."===r[1]?"http://"+n:n}return{type:"link",raw:r[0],text:n,href:o,tokens:[{type:"text",raw:n,text:n}]}}},t.inlineText=function(e,t,r){var n,o=this.rules.inline.text.exec(e);if(o)return n=t?this.options.sanitize?this.options.sanitizer?this.options.sanitizer(o[0]):R(o[0]):o[0]:R(this.options.smartypants?r(o[0]):o[0]),{type:"text",raw:o[0],text:n}},e}(),M=O,q=S,z=E,U={newline:/^(?: *(?:\n|$))+/,code:/^( {4}[^\n]+(?:\n(?: *(?:\n|$))*)?)+/,fences:/^ {0,3}(`{3,}(?=[^`\n]*\n)|~{3,})([^\n]*)\n(?:|([\s\S]*?)\n)(?: {0,3}\1[~`]* *(?:\n+|$)|$)/,hr:/^ {0,3}((?:- *){3,}|(?:_ *){3,}|(?:\* *){3,})(?:\n+|$)/,heading:/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,blockquote:/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/,list:/^( {0,3})(bull) [\s\S]+?(?:hr|def|\n{2,}(?! )(?! {0,3}bull )\n*|\s*$)/,html:"^ {0,3}(?:<(script|pre|style)[\\s>][\\s\\S]*?(?:[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|\\n*|$)|\\n*|$)|)[\\s\\S]*?(?:\\n{2,}|$)|<(?!script|pre|style)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:\\n{2,}|$)|(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:\\n{2,}|$))",def:/^ {0,3}\[(label)\]: *\n? *]+)>?(?:(?: +\n? *| *\n *)(title))? *(?:\n+|$)/,nptable:M,table:M,lheading:/^([^\n]+)\n {0,3}(=+|-+) *(?:\n+|$)/,_paragraph:/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html| +\n)[^\n]+)*)/,text:/^[^\n]+/,_label:/(?!\s*\])(?:\\[\[\]]|[^\[\]])+/,_title:/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/};U.def=q(U.def).replace("label",U._label).replace("title",U._title).getRegex(),U.bullet=/(?:[*+-]|\d{1,9}[.)])/,U.item=/^( *)(bull) ?[^\n]*(?:\n(?! *bull ?)[^\n]*)*/,U.item=q(U.item,"gm").replace(/bull/g,U.bullet).getRegex(),U.listItemStart=q(/^( *)(bull)/).replace("bull",U.bullet).getRegex(),U.list=q(U.list).replace(/bull/g,U.bullet).replace("hr","\\n+(?=\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$))").replace("def","\\n+(?="+U.def.source+")").getRegex(),U._tag="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|section|source|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",U._comment=/|$)/,U.html=q(U.html,"i").replace("comment",U._comment).replace("tag",U._tag).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),U.paragraph=q(U._paragraph).replace("hr",U.hr).replace("heading"," {0,3}#{1,6} ").replace("|lheading","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|!--)").replace("tag",U._tag).getRegex(),U.blockquote=q(U.blockquote).replace("paragraph",U.paragraph).getRegex(),U.normal=z({},U),U.gfm=z({},U.normal,{nptable:"^ *([^|\\n ].*\\|.*)\\n {0,3}([-:]+ *\\|[-| :]*)(?:\\n((?:(?!\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)",table:"^ *\\|(.+)\\n {0,3}\\|?( *[-:]+[-| :]*)(?:\\n *((?:(?!\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)"}),U.gfm.nptable=q(U.gfm.nptable).replace("hr",U.hr).replace("heading"," {0,3}#{1,6} ").replace("blockquote"," {0,3}>").replace("code"," {4}[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|!--)").replace("tag",U._tag).getRegex(),U.gfm.table=q(U.gfm.table).replace("hr",U.hr).replace("heading"," {0,3}#{1,6} ").replace("blockquote"," {0,3}>").replace("code"," {4}[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|!--)").replace("tag",U._tag).getRegex(),U.pedantic=z({},U.normal,{html:q("^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+? *(?:\\n{2,}|\\s*$)|\\s]*)*?/?> *(?:\\n{2,}|\\s*$))").replace("comment",U._comment).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:M,paragraph:q(U.normal._paragraph).replace("hr",U.hr).replace("heading"," *#{1,6} *[^\n]").replace("lheading",U.lheading).replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").getRegex()});var $={escape:/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,autolink:/^<(scheme:[^\s\x00-\x1f<>]*|email)>/,url:M,tag:"^comment|^|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^|^",link:/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/,reflink:/^!?\[(label)\]\[(?!\s*\])((?:\\[\[\]]?|[^\[\]\\])+)\]/,nolink:/^!?\[(?!\s*\])((?:\[[^\[\]]*\]|\\[\[\]]|[^\[\]])*)\](?:\[\])?/,reflinkSearch:"reflink|nolink(?!\\()",emStrong:{lDelim:/^(?:\*+(?:([punct_])|[^\s*]))|^_+(?:([punct*])|([^\s_]))/,rDelimAst:/\_\_[^_]*?\*[^_]*?\_\_|[punct_](\*+)(?=[\s]|$)|[^punct*_\s](\*+)(?=[punct_\s]|$)|[punct_\s](\*+)(?=[^punct*_\s])|[\s](\*+)(?=[punct_])|[punct_](\*+)(?=[punct_])|[^punct*_\s](\*+)(?=[^punct*_\s])/,rDelimUnd:/\*\*[^*]*?\_[^*]*?\*\*|[punct*](\_+)(?=[\s]|$)|[^punct*_\s](\_+)(?=[punct*\s]|$)|[punct*\s](\_+)(?=[^punct*_\s])|[\s](\_+)(?=[punct*])|[punct*](\_+)(?=[punct*])/},code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,br:/^( {2,}|\\)\n(?!\s*$)/,del:M,text:/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\?@\\[\\]`^{|}~"};$.punctuation=q($.punctuation).replace(/punctuation/g,$._punctuation).getRegex(),$.blockSkip=/\[[^\]]*?\]\([^\)]*?\)|`[^`]*?`|<[^>]*?>/g,$.escapedEmSt=/\\\*|\\_/g,$._comment=q(U._comment).replace("(?:--\x3e|$)","--\x3e").getRegex(),$.emStrong.lDelim=q($.emStrong.lDelim).replace(/punct/g,$._punctuation).getRegex(),$.emStrong.rDelimAst=q($.emStrong.rDelimAst,"g").replace(/punct/g,$._punctuation).getRegex(),$.emStrong.rDelimUnd=q($.emStrong.rDelimUnd,"g").replace(/punct/g,$._punctuation).getRegex(),$._escapes=/\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/g,$._scheme=/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/,$._email=/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/,$.autolink=q($.autolink).replace("scheme",$._scheme).replace("email",$._email).getRegex(),$._attribute=/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/,$.tag=q($.tag).replace("comment",$._comment).replace("attribute",$._attribute).getRegex(),$._label=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,$._href=/<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/,$._title=/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/,$.link=q($.link).replace("label",$._label).replace("href",$._href).replace("title",$._title).getRegex(),$.reflink=q($.reflink).replace("label",$._label).getRegex(),$.reflinkSearch=q($.reflinkSearch,"g").replace("reflink",$.reflink).replace("nolink",$.nolink).getRegex(),$.normal=z({},$),$.pedantic=z({},$.normal,{strong:{start:/^__|\*\*/,middle:/^__(?=\S)([\s\S]*?\S)__(?!_)|^\*\*(?=\S)([\s\S]*?\S)\*\*(?!\*)/,endAst:/\*\*(?!\*)/g,endUnd:/__(?!_)/g},em:{start:/^_|\*/,middle:/^()\*(?=\S)([\s\S]*?\S)\*(?!\*)|^_(?=\S)([\s\S]*?\S)_(?!_)/,endAst:/\*(?!\*)/g,endUnd:/_(?!_)/g},link:q(/^!?\[(label)\]\((.*?)\)/).replace("label",$._label).getRegex(),reflink:q(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",$._label).getRegex()}),$.gfm=z({},$.normal,{escape:q($.escape).replace("])","~|])").getRegex(),_extended_email:/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/,url:/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,_backpedal:/(?:[^?!.,:;*_~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])([\s\S]*?[^\s~])\1(?=[^~]|$)/,text:/^([`~]+|[^`~])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\.5&&(r="x"+r.toString(16)),n+="&#"+r+";";return n}var Q=function(){function t(e){this.tokens=[],this.tokens.links=Object.create(null),this.options=e||W,this.options.tokenizer=this.options.tokenizer||new N,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options;var t={block:V.normal,inline:Y.normal};this.options.pedantic?(t.block=V.pedantic,t.inline=Y.pedantic):this.options.gfm&&(t.block=V.gfm,this.options.breaks?t.inline=Y.breaks:t.inline=Y.gfm),this.tokenizer.rules=t}t.lex=function(e,r){return new t(r).lex(e)},t.lexInline=function(e,r){return new t(r).inlineTokens(e)};var r,n,o,a=t.prototype;return a.lex=function(e){return e=e.replace(/\r\n|\r/g,"\n").replace(/\t/g," "),this.blockTokens(e,this.tokens,!0),this.inline(this.tokens),this.tokens},a.blockTokens=function(e,t,r){var n,o,a,i;for(void 0===t&&(t=[]),void 0===r&&(r=!0),this.options.pedantic&&(e=e.replace(/^ +$/gm,""));e;)if(n=this.tokenizer.space(e))e=e.substring(n.raw.length),n.type&&t.push(n);else if(n=this.tokenizer.code(e))e=e.substring(n.raw.length),(i=t[t.length-1])&&"paragraph"===i.type?(i.raw+="\n"+n.raw,i.text+="\n"+n.text):t.push(n);else if(n=this.tokenizer.fences(e))e=e.substring(n.raw.length),t.push(n);else if(n=this.tokenizer.heading(e))e=e.substring(n.raw.length),t.push(n);else if(n=this.tokenizer.nptable(e))e=e.substring(n.raw.length),t.push(n);else if(n=this.tokenizer.hr(e))e=e.substring(n.raw.length),t.push(n);else if(n=this.tokenizer.blockquote(e))e=e.substring(n.raw.length),n.tokens=this.blockTokens(n.text,[],r),t.push(n);else if(n=this.tokenizer.list(e)){for(e=e.substring(n.raw.length),a=n.items.length,o=0;o0)for(;null!=(i=this.tokenizer.rules.inline.reflinkSearch.exec(l));)u.includes(i[0].slice(i[0].lastIndexOf("[")+1,-1))&&(l=l.slice(0,i.index)+"["+K("a",i[0].length-2)+"]"+l.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;null!=(i=this.tokenizer.rules.inline.blockSkip.exec(l));)l=l.slice(0,i.index)+"["+K("a",i[0].length-2)+"]"+l.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);for(;null!=(i=this.tokenizer.rules.inline.escapedEmSt.exec(l));)l=l.slice(0,i.index)+"++"+l.slice(this.tokenizer.rules.inline.escapedEmSt.lastIndex);for(;e;)if(s||(c=""),s=!1,o=this.tokenizer.escape(e))e=e.substring(o.raw.length),t.push(o);else if(o=this.tokenizer.tag(e,r,n)){e=e.substring(o.raw.length),r=o.inLink,n=o.inRawBlock;var p=t[t.length-1];p&&"text"===o.type&&"text"===p.type?(p.raw+=o.raw,p.text+=o.text):t.push(o)}else if(o=this.tokenizer.link(e))e=e.substring(o.raw.length),"link"===o.type&&(o.tokens=this.inlineTokens(o.text,[],!0,n)),t.push(o);else if(o=this.tokenizer.reflink(e,this.tokens.links)){e=e.substring(o.raw.length);var f=t[t.length-1];"link"===o.type?(o.tokens=this.inlineTokens(o.text,[],!0,n),t.push(o)):f&&"text"===o.type&&"text"===f.type?(f.raw+=o.raw,f.text+=o.text):t.push(o)}else if(o=this.tokenizer.emStrong(e,l,c))e=e.substring(o.raw.length),o.tokens=this.inlineTokens(o.text,[],r,n),t.push(o);else if(o=this.tokenizer.codespan(e))e=e.substring(o.raw.length),t.push(o);else if(o=this.tokenizer.br(e))e=e.substring(o.raw.length),t.push(o);else if(o=this.tokenizer.del(e))e=e.substring(o.raw.length),o.tokens=this.inlineTokens(o.text,[],r,n),t.push(o);else if(o=this.tokenizer.autolink(e,J))e=e.substring(o.raw.length),t.push(o);else if(r||!(o=this.tokenizer.url(e,J))){if(o=this.tokenizer.inlineText(e,n,G))e=e.substring(o.raw.length),"_"!==o.raw.slice(-1)&&(c=o.raw.slice(-1)),s=!0,(a=t[t.length-1])&&"text"===a.type?(a.raw+=o.raw,a.text+=o.text):t.push(o);else if(e){var d="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(d);break}throw new Error(d)}}else e=e.substring(o.raw.length),t.push(o);return t},r=t,o=[{key:"rules",get:function(){return{block:V,inline:Y}}}],(n=null)&&e(r.prototype,n),o&&e(r,o),t}(),X=n.defaults,Z=A,ee=w,te=function(){function e(e){this.options=e||X}var t=e.prototype;return t.code=function(e,t,r){var n=(t||"").match(/\S*/)[0];if(this.options.highlight){var o=this.options.highlight(e,n);null!=o&&o!==e&&(r=!0,e=o)}return e=e.replace(/\n$/,"")+"\n",n?'
    '+(r?e:ee(e,!0))+"
    \n":"
    "+(r?e:ee(e,!0))+"
    \n"},t.blockquote=function(e){return"
    \n"+e+"
    \n"},t.html=function(e){return e},t.heading=function(e,t,r,n){return this.options.headerIds?"'+e+"\n":""+e+"\n"},t.hr=function(){return this.options.xhtml?"
    \n":"
    \n"},t.list=function(e,t,r){var n=t?"ol":"ul";return"<"+n+(t&&1!==r?' start="'+r+'"':"")+">\n"+e+"\n"},t.listitem=function(e){return"
  • "+e+"
  • \n"},t.checkbox=function(e){return" "},t.paragraph=function(e){return"

    "+e+"

    \n"},t.table=function(e,t){return t&&(t=""+t+""),"\n\n"+e+"\n"+t+"
    \n"},t.tablerow=function(e){return"\n"+e+"\n"},t.tablecell=function(e,t){var r=t.header?"th":"td";return(t.align?"<"+r+' align="'+t.align+'">':"<"+r+">")+e+"\n"},t.strong=function(e){return""+e+""},t.em=function(e){return""+e+""},t.codespan=function(e){return""+e+""},t.br=function(){return this.options.xhtml?"
    ":"
    "},t.del=function(e){return""+e+""},t.link=function(e,t,r){if(null===(e=Z(this.options.sanitize,this.options.baseUrl,e)))return r;var n='
    "},t.image=function(e,t,r){if(null===(e=Z(this.options.sanitize,this.options.baseUrl,e)))return r;var n=''+r+'":">"},t.text=function(e){return e},e}(),re=function(){function e(){}var t=e.prototype;return t.strong=function(e){return e},t.em=function(e){return e},t.codespan=function(e){return e},t.del=function(e){return e},t.html=function(e){return e},t.text=function(e){return e},t.link=function(e,t,r){return""+r},t.image=function(e,t,r){return""+r},t.br=function(){return""},e}(),ne=function(){function e(){this.seen={}}var t=e.prototype;return t.serialize=function(e){return e.toLowerCase().trim().replace(/<[!\/a-z].*?>/gi,"").replace(/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&()*+,./:;<=>?@[\]^`{|}~]/g,"").replace(/\s/g,"-")},t.getNextSafeSlug=function(e,t){var r=e,n=0;if(this.seen.hasOwnProperty(r)){n=this.seen[e];do{r=e+"-"+ ++n}while(this.seen.hasOwnProperty(r))}return t||(this.seen[e]=n,this.seen[r]=0),r},t.slug=function(e,t){void 0===t&&(t={});var r=this.serialize(e);return this.getNextSafeSlug(r,t.dryrun)},e}(),oe=n.defaults,ae=k,ie=function(){function e(e){this.options=e||oe,this.options.renderer=this.options.renderer||new te,this.renderer=this.options.renderer,this.renderer.options=this.options,this.textRenderer=new re,this.slugger=new ne}e.parse=function(t,r){return new e(r).parse(t)},e.parseInline=function(t,r){return new e(r).parseInline(t)};var t=e.prototype;return t.parse=function(e,t){void 0===t&&(t=!0);var r,n,o,a,i,s,c,l,u,p,f,d,h,v,m,g,y,b,x="",w=e.length;for(r=0;r0&&"text"===m.tokens[0].type?(m.tokens[0].text=b+" "+m.tokens[0].text,m.tokens[0].tokens&&m.tokens[0].tokens.length>0&&"text"===m.tokens[0].tokens[0].type&&(m.tokens[0].tokens[0].text=b+" "+m.tokens[0].tokens[0].text)):m.tokens.unshift({type:"text",text:b}):v+=b),v+=this.parse(m.tokens,h),u+=this.renderer.listitem(v,y,g);x+=this.renderer.list(u,f,d);continue;case"html":x+=this.renderer.html(p.text);continue;case"paragraph":x+=this.renderer.paragraph(this.parseInline(p.tokens));continue;case"text":for(u=p.tokens?this.parseInline(p.tokens):p.text;r+1An error occurred:

    "+le(e.message+"",!0)+"
    ";throw e}}return de.options=de.setOptions=function(e){return se(de.defaults,e),pe(de.defaults),de},de.getDefaults=ue,de.defaults=fe,de.use=function(e){var t=se({},e);if(e.renderer&&function(){var r=de.defaults.renderer||new te,n=function(t){var n=r[t];r[t]=function(){for(var o=arguments.length,a=new Array(o),i=0;iAn error occurred:

    "+le(e.message+"",!0)+"
    ";throw e}},de.Parser=ie,de.parser=ie.parse,de.Renderer=te,de.TextRenderer=re,de.Lexer=Q,de.lexer=Q.lex,de.Tokenizer=N,de.Slugger=ne,de.parse=de,de}()},function(e,t,r){e.exports=r(444)},function(e,t,r){e.exports=r(428)},function(e,t,r){e.exports=r(429)},function(e,t,r){"use strict";var n=r(16),o=r(68).f,a=r(193),i=r(12),s=r(85),c=r(37),l=r(30),u=function(e){var t=function(t,r,n){if(this instanceof e){switch(arguments.length){case 0:return new e;case 1:return new e(t);case 2:return new e(t,r)}return new e(t,r,n)}return e.apply(this,arguments)};return t.prototype=e.prototype,t};e.exports=function(e,t){var r,p,f,d,h,v,m,g,y=e.target,b=e.global,x=e.stat,w=e.proto,k=b?n:x?n[y]:(n[y]||{}).prototype,S=b?i:i[y]||(i[y]={}),A=S.prototype;for(f in t)r=!a(b?f:y+(x?".":"#")+f,e.forced)&&k&&l(k,f),h=S[f],r&&(v=e.noTargetGet?(g=o(k,f))&&g.value:k[f]),d=r&&v?v:t[f],r&&typeof h==typeof d||(m=e.bind&&r?s(d,n):e.wrap&&r?u(d):w&&"function"==typeof d?s(Function.call,d):d,(e.sham||d&&d.sham||h&&h.sham)&&c(m,"sham",!0),S[f]=m,w&&(l(i,p=y+"Prototype")||c(i,p,{}),i[p][f]=d,e.real&&A&&!A[f]&&c(A,f,d)))}},function(e,t,r){var n=r(136),o=r(325),a=r(329),i=r(334),s=r(206),c=r(348),l=r(209),u=r(211),p=r(172);function f(e,t){var r=u(e);if(l){var n=l(e);t&&(n=c(n).call(n,(function(t){return s(e,t).enumerable}))),r.push.apply(r,n)}return r}e.exports=function(e){for(var t=1;t1){throw new o.n(t,"Each pair must have its own sequence indicator")}var s=i.items[0]||new a.e;i.commentBefore&&(s.commentBefore=s.commentBefore?"".concat(i.commentBefore,"\n").concat(s.commentBefore):i.commentBefore),i.comment&&(s.comment=s.comment?"".concat(i.comment,"\n").concat(s.comment):i.comment),i=s}r.items[n]=i instanceof a.e?i:new a.e(i)}}return r}function c(e,t,r){var n=new a.g(e);n.tag="tag:yaml.org,2002:pairs";var i,s=Object(o.g)(t);try{for(s.s();!(i=s.n()).done;){var c=i.value,l=void 0,u=void 0;if(Array.isArray(c)){if(2!==c.length)throw new TypeError("Expected [key, value] tuple: ".concat(c));l=c[0],u=c[1]}else if(c&&c instanceof Object){var p=Object.keys(c);if(1!==p.length)throw new TypeError("Expected { key: value } tuple: ".concat(c));u=c[l=p[0]]}else l=c;var f=e.createPair(l,u,r);n.items.push(f)}}catch(e){s.e(e)}finally{s.f()}return n}var l={default:!1,tag:"tag:yaml.org,2002:pairs",resolve:s,createNode:c},u=function(e){Object(o.q)(r,e);var t=Object(o.r)(r);function r(){var e;return Object(o.j)(this,r),e=t.call(this),Object(o.l)(Object(o.w)(e),"add",a.k.prototype.add.bind(Object(o.w)(e))),Object(o.l)(Object(o.w)(e),"delete",a.k.prototype.delete.bind(Object(o.w)(e))),Object(o.l)(Object(o.w)(e),"get",a.k.prototype.get.bind(Object(o.w)(e))),Object(o.l)(Object(o.w)(e),"has",a.k.prototype.has.bind(Object(o.w)(e))),Object(o.l)(Object(o.w)(e),"set",a.k.prototype.set.bind(Object(o.w)(e))),e.tag=r.tag,e}return Object(o.i)(r,[{key:"toJSON",value:function(e,t){var r=new Map;t&&t.onCreate&&t.onCreate(r);var n,i=Object(o.g)(this.items);try{for(i.s();!(n=i.n()).done;){var s=n.value,c=void 0,l=void 0;if(s instanceof a.e?(c=Object(a.w)(s.key,"",t),l=Object(a.w)(s.value,c,t)):c=Object(a.w)(s,"",t),r.has(c))throw new Error("Ordered maps must not include duplicate keys");r.set(c,l)}}catch(e){i.e(e)}finally{i.f()}return r}}]),r}(a.g);Object(o.l)(u,"tag","tag:yaml.org,2002:omap");var p={identify:function(e){return e instanceof Map},nodeClass:u,default:!1,tag:"tag:yaml.org,2002:omap",resolve:function(e,t){var r,n=s(e,t),i=[],c=Object(o.g)(n.items);try{for(c.s();!(r=c.n()).done;){var l=r.value.key;if(l instanceof a.f){if(i.includes(l.value)){throw new o.n(t,"Ordered maps must not include duplicate keys")}i.push(l.value)}}}catch(e){c.e(e)}finally{c.f()}return Object.assign(new u,n)},createNode:function(e,t,r){var n=c(e,t,r),o=new u;return o.items=n.items,o}},f=function(e){Object(o.q)(r,e);var t=Object(o.r)(r);function r(){var e;return Object(o.j)(this,r),(e=t.call(this)).tag=r.tag,e}return Object(o.i)(r,[{key:"add",value:function(e){var t=e instanceof a.e?e:new a.e(e);Object(a.s)(this.items,t.key)||this.items.push(t)}},{key:"get",value:function(e,t){var r=Object(a.s)(this.items,e);return!t&&r instanceof a.e?r.key instanceof a.f?r.key.value:r.key:r}},{key:"set",value:function(e,t){if("boolean"!=typeof t)throw new Error("Expected boolean value for set(key, value) in a YAML set, not ".concat(Object(o.h)(t)));var r=Object(a.s)(this.items,e);r&&!t?this.items.splice(this.items.indexOf(r),1):!r&&t&&this.items.push(new a.e(e))}},{key:"toJSON",value:function(e,t){return Object(o.s)(Object(o.t)(r.prototype),"toJSON",this).call(this,e,t,Set)}},{key:"toString",value:function(e,t,n){if(!e)return JSON.stringify(this);if(this.hasAllNullValues())return Object(o.s)(Object(o.t)(r.prototype),"toString",this).call(this,e,t,n);throw new Error("Set items must all have null values")}}]),r}(a.k);Object(o.l)(f,"tag","tag:yaml.org,2002:set");var d={identify:function(e){return e instanceof Set},nodeClass:f,default:!1,tag:"tag:yaml.org,2002:set",resolve:function(e,t){var r=Object(a.n)(e,t);if(!r.hasAllNullValues())throw new o.n(t,"Set items must all have null values");return Object.assign(new f,r)},createNode:function(e,t,r){var n,a=new f,i=Object(o.g)(t);try{for(i.s();!(n=i.n()).done;){var s=n.value;a.items.push(e.createPair(s,null,r))}}catch(e){i.e(e)}finally{i.f()}return a}},h=function(e,t){var r=t.split(":").reduce((function(e,t){return 60*e+Number(t)}),0);return"-"===e?-r:r},v=function(e){var t=e.value;if(isNaN(t)||!isFinite(t))return Object(a.r)(t);var r="";t<0&&(r="-",t=Math.abs(t));var n=[t%60];return t<60?n.unshift(0):(t=Math.round((t-n[0])/60),n.unshift(t%60),t>=60&&(t=Math.round((t-n[0])/60),n.unshift(t))),r+n.map((function(e){return e<10?"0"+String(e):String(e)})).join(":").replace(/000000\d*$/,"")},m={identify:function(e){return"number"==typeof e},default:!0,tag:"tag:yaml.org,2002:int",format:"TIME",test:/^([-+]?)([0-9][0-9_]*(?::[0-5]?[0-9])+)$/,resolve:function(e,t,r){return h(t,r.replace(/_/g,""))},stringify:v},g={identify:function(e){return"number"==typeof e},default:!0,tag:"tag:yaml.org,2002:float",format:"TIME",test:/^([-+]?)([0-9][0-9_]*(?::[0-5]?[0-9])+\.[0-9_]*)$/,resolve:function(e,t,r){return h(t,r.replace(/_/g,""))},stringify:v},y={identify:function(e){return e instanceof Date},default:!0,tag:"tag:yaml.org,2002:timestamp",test:RegExp("^(?:([0-9]{4})-([0-9]{1,2})-([0-9]{1,2})(?:(?:t|T|[ \\t]+)([0-9]{1,2}):([0-9]{1,2}):([0-9]{1,2}(\\.[0-9]+)?)(?:[ \\t]*(Z|[-+][012]?[0-9](?::[0-9]{2})?))?)?)$"),resolve:function(e,t,r,n,o,a,i,s,c){s&&(s=(s+"00").substr(1,3));var l=Date.UTC(t,r-1,n,o||0,a||0,i||0,s||0);if(c&&"Z"!==c){var u=h(c[0],c.slice(1));Math.abs(u)<30&&(u*=60),l-=6e4*u}return new Date(l)},stringify:function(e){return e.value.toISOString().replace(/((T00:00)?:00)?\.000Z$/,"")}};function b(e){var t=void 0!==n&&n.env||{};return e?"undefined"!=typeof YAML_SILENCE_DEPRECATION_WARNINGS?!YAML_SILENCE_DEPRECATION_WARNINGS:!t.YAML_SILENCE_DEPRECATION_WARNINGS:"undefined"!=typeof YAML_SILENCE_WARNINGS?!YAML_SILENCE_WARNINGS:!t.YAML_SILENCE_WARNINGS}function x(e,t){if(b(!1)){var r=void 0!==n&&n.emitWarning;r?r(e,t):console.warn(t?"".concat(t,": ").concat(e):e)}}var w={};function k(e,t){if(!w[e]&&b(!0)){w[e]=!0;var r="The option '".concat(e,"' will be removed in a future release");x(r+=t?", use '".concat(t,"' instead."):".","DeprecationWarning")}}}).call(this,r(33).Buffer,r(41))},function(e,t,r){var n=r(13);e.exports=!n((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},function(e,t,r){e.exports=r(562)},function(e,t,r){e.exports=r(440)},function(e,t,r){e.exports=r(572)},function(e,t){var r;r=function(){return this}();try{r=r||new Function("return this")()}catch(e){"object"==typeof window&&(r=window)}e.exports=r},function(e,t,r){var n=r(12);e.exports=function(e){return n[e+"Prototype"]}},function(e,t,r){"use strict";var n=r(296),o=r(297);function a(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}t.parse=b,t.resolve=function(e,t){return b(e,!1,!0).resolve(t)},t.resolveObject=function(e,t){return e?b(e,!1,!0).resolveObject(t):t},t.format=function(e){o.isString(e)&&(e=b(e));return e instanceof a?e.format():a.prototype.format.call(e)},t.Url=a;var i=/^([a-z0-9.+-]+:)/i,s=/:[0-9]*$/,c=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,l=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),u=["'"].concat(l),p=["%","/","?",";","#"].concat(u),f=["/","?","#"],d=/^[+a-z0-9A-Z_-]{0,63}$/,h=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,v={javascript:!0,"javascript:":!0},m={javascript:!0,"javascript:":!0},g={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},y=r(298);function b(e,t,r){if(e&&o.isObject(e)&&e instanceof a)return e;var n=new a;return n.parse(e,t,r),n}a.prototype.parse=function(e,t,r){if(!o.isString(e))throw new TypeError("Parameter 'url' must be a string, not "+typeof e);var a=e.indexOf("?"),s=-1!==a&&a127?F+="x":F+=I[P];if(!F.match(d)){var B=_.slice(0,D),L=_.slice(D+1),N=I.match(h);N&&(B.push(N[1]),L.unshift(N[2])),L.length&&(b="/"+L.join(".")+b),this.hostname=B.join(".");break}}}this.hostname.length>255?this.hostname="":this.hostname=this.hostname.toLowerCase(),j||(this.hostname=n.toASCII(this.hostname));var M=this.port?":"+this.port:"",q=this.hostname||"";this.host=q+M,this.href+=this.host,j&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),"/"!==b[0]&&(b="/"+b))}if(!v[k])for(D=0,T=u.length;D0)&&r.host.split("@"))&&(r.auth=j.shift(),r.host=r.hostname=j.shift());return r.search=e.search,r.query=e.query,o.isNull(r.pathname)&&o.isNull(r.search)||(r.path=(r.pathname?r.pathname:"")+(r.search?r.search:"")),r.href=r.format(),r}if(!S.length)return r.pathname=null,r.search?r.path="/"+r.search:r.path=null,r.href=r.format(),r;for(var O=S.slice(-1)[0],E=(r.host||e.host||S.length>1)&&("."===O||".."===O)||""===O,D=0,C=S.length;C>=0;C--)"."===(O=S[C])?S.splice(C,1):".."===O?(S.splice(C,1),D++):D&&(S.splice(C,1),D--);if(!w&&!k)for(;D--;D)S.unshift("..");!w||""===S[0]||S[0]&&"/"===S[0].charAt(0)||S.unshift(""),E&&"/"!==S.join("/").substr(-1)&&S.push("");var j,_=""===S[0]||S[0]&&"/"===S[0].charAt(0);A&&(r.hostname=r.host=_?"":S.length?S.shift():"",(j=!!(r.host&&r.host.indexOf("@")>0)&&r.host.split("@"))&&(r.auth=j.shift(),r.host=r.hostname=j.shift()));return(w=w||r.host&&S.length)&&!_&&S.unshift(""),S.length?r.pathname=S.join("/"):(r.pathname=null,r.path=null),o.isNull(r.pathname)&&o.isNull(r.search)||(r.path=(r.pathname?r.pathname:"")+(r.search?r.search:"")),r.auth=e.auth||r.auth,r.slashes=r.slashes||e.slashes,r.href=r.format(),r},a.prototype.parseHost=function(){var e=this.host,t=s.exec(e);t&&(":"!==(t=t[0])&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)}},function(e,t,r){(function(t){var r=function(e){var t=/\blang(?:uage)?-([\w-]+)\b/i,r=0,n={manual:e.Prism&&e.Prism.manual,disableWorkerMessageHandler:e.Prism&&e.Prism.disableWorkerMessageHandler,util:{encode:function e(t){return t instanceof o?new o(t.type,e(t.content),t.alias):Array.isArray(t)?t.map(e):t.replace(/&/g,"&").replace(/=p.reach);S+=k.value.length,k=k.next){var A=k.value;if(r.length>t.length)return;if(!(A instanceof o)){var O,E=1;if(y){if(!(O=a(w,S,t,g)))break;var D=O.index,C=O.index+O[0].length,j=S;for(j+=k.value.length;D>=j;)k=k.next,j+=k.value.length;if(j-=k.value.length,S=j,k.value instanceof o)continue;for(var _=k;_!==r.tail&&(jp.reach&&(p.reach=P);var R=k.prev;I&&(R=s(r,R,I),S+=I.length),c(r,R,E);var B=new o(f,m?n.tokenize(T,m):T,b,T);k=s(r,R,B),F&&s(r,k,F),E>1&&e(t,r,i,k.prev,S,{cause:f+","+h,reach:P})}}}}}(e,u,t,u.head,0),function(e){var t=[],r=e.head.next;for(;r!==e.tail;)t.push(r.value),r=r.next;return t}(u)},hooks:{all:{},add:function(e,t){var r=n.hooks.all;r[e]=r[e]||[],r[e].push(t)},run:function(e,t){var r=n.hooks.all[e];if(r&&r.length)for(var o,a=0;o=r[a++];)o(t)}},Token:o};function o(e,t,r,n){this.type=e,this.content=t,this.alias=r,this.length=0|(n||"").length}function a(e,t,r,n){e.lastIndex=t;var o=e.exec(r);if(o&&n&&o[1]){var a=o[1].length;o.index+=a,o[0]=o[0].slice(a)}return o}function i(){var e={value:null,prev:null,next:null},t={value:null,prev:e,next:null};e.next=t,this.head=e,this.tail=t,this.length=0}function s(e,t,r){var n=t.next,o={value:r,prev:t,next:n};return t.next=o,n.prev=o,e.length++,o}function c(e,t,r){for(var n=t.next,o=0;o"+a.content+""},!e.document)return e.addEventListener?(n.disableWorkerMessageHandler||e.addEventListener("message",(function(t){var r=JSON.parse(t.data),o=r.language,a=r.code,i=r.immediateClose;e.postMessage(n.highlight(a,n.languages[o],o)),i&&e.close()}),!1),n):n;var l=n.util.currentScript();function u(){n.manual||n.highlightAll()}if(l&&(n.filename=l.src,l.hasAttribute("data-manual")&&(n.manual=!0)),!n.manual){var p=document.readyState;"loading"===p||"interactive"===p&&l&&l.defer?document.addEventListener("DOMContentLoaded",u):window.requestAnimationFrame?window.requestAnimationFrame(u):window.setTimeout(u,16)}return n}("undefined"!=typeof window?window:"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope?self:{}); /** * Prism: Lightweight, robust, elegant syntax highlighting * @@ -51,7 +51,7 @@ function r(e){return e instanceof t||e instanceof Date||e instanceof RegExp}func * Copyright(c) 2012-2014 Roman Shtylman * Copyright(c) 2015 Douglas Christopher Wilson * MIT Licensed - */t.parse=function(e,t){if("string"!=typeof e)throw new TypeError("argument str must be a string");for(var r={},o=t||{},i=e.split(a),c=o.decode||n,l=0;l=]+)/,inside:{style:{pattern:/(["'])[\s\S]+(?=["']$)/,lookbehind:!0,alias:"language-css",inside:e.languages.css},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}},"attr-name":/^style/i}}},r.tag))}(Prism)},function(e,t){!function(e){var t=/[*&][^\s[\]{},]+/,r=/!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/,n="(?:"+r.source+"(?:[ \t]+"+t.source+")?|"+t.source+"(?:[ \t]+"+r.source+")?)",o=/(?:[^\s\x00-\x08\x0e-\x1f!"#%&'*,\-:>?@[\]`{|}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]|[?:-])(?:[ \t]*(?:(?![#:])|:))*/.source.replace(//g,(function(){return/[^\s\x00-\x08\x0e-\x1f,[\]{}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]/.source})),a=/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/.source;function i(e,t){t=(t||"").replace(/m/g,"")+"m";var r=/([:\-,[{]\s*(?:\s<>[ \t]+)?)(?:<>)(?=[ \t]*(?:$|,|]|}|(?:[\r\n]\s*)?#))/.source.replace(/<>/g,(function(){return n})).replace(/<>/g,(function(){return e}));return RegExp(r,t)}e.languages.yaml={scalar:{pattern:RegExp(/([\-:]\s*(?:\s<>[ \t]+)?[|>])[ \t]*(?:((?:\r?\n|\r)[ \t]+)\S[^\r\n]*(?:\2[^\r\n]+)*)/.source.replace(/<>/g,(function(){return n}))),lookbehind:!0,alias:"string"},comment:/#.*/,key:{pattern:RegExp(/((?:^|[:\-,[{\r\n?])[ \t]*(?:<>[ \t]+)?)<>(?=\s*:\s)/.source.replace(/<>/g,(function(){return n})).replace(/<>/g,(function(){return"(?:"+o+"|"+a+")"}))),lookbehind:!0,greedy:!0,alias:"atrule"},directive:{pattern:/(^[ \t]*)%.+/m,lookbehind:!0,alias:"important"},datetime:{pattern:i(/\d{4}-\d\d?-\d\d?(?:[tT]|[ \t]+)\d\d?:\d{2}:\d{2}(?:\.\d*)?(?:[ \t]*(?:Z|[-+]\d\d?(?::\d{2})?))?|\d{4}-\d{2}-\d{2}|\d\d?:\d{2}(?::\d{2}(?:\.\d*)?)?/.source),lookbehind:!0,alias:"number"},boolean:{pattern:i(/true|false/.source,"i"),lookbehind:!0,alias:"important"},null:{pattern:i(/null|~/.source,"i"),lookbehind:!0,alias:"important"},string:{pattern:i(a),lookbehind:!0,greedy:!0},number:{pattern:i(/[+-]?(?:0x[\da-f]+|0o[0-7]+|(?:\d+(?:\.\d*)?|\.?\d+)(?:e[+-]?\d+)?|\.inf|\.nan)/.source,"i"),lookbehind:!0},tag:r,important:t,punctuation:/---|[:[\]{}\-,|>?]|\.\.\./},e.languages.yml=e.languages.yaml}(Prism)},function(e,t){Prism.languages.go=Prism.languages.extend("clike",{string:{pattern:/(["'`])(?:\\[\s\S]|(?!\1)[^\\])*\1/,greedy:!0},keyword:/\b(?:break|case|chan|const|continue|default|defer|else|fallthrough|for|func|go(?:to)?|if|import|interface|map|package|range|return|select|struct|switch|type|var)\b/,boolean:/\b(?:_|iota|nil|true|false)\b/,number:/(?:\b0x[a-f\d]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[-+]?\d+)?)i?/i,operator:/[*\/%^!=]=?|\+[=+]?|-[=-]?|\|[=|]?|&(?:=|&|\^=?)?|>(?:>=?|=)?|<(?:<=?|=|-)?|:=|\.\.\./,builtin:/\b(?:bool|byte|complex(?:64|128)|error|float(?:32|64)|rune|string|u?int(?:8|16|32|64)?|uintptr|append|cap|close|complex|copy|delete|imag|len|make|new|panic|print(?:ln)?|real|recover)\b/}),delete Prism.languages.go["class-name"]},function(e,t){!function(e){var t=/\b(?:abstract|assert|boolean|break|byte|case|catch|char|class|const|continue|default|do|double|else|enum|exports|extends|final|finally|float|for|goto|if|implements|import|instanceof|int|interface|long|module|native|new|non-sealed|null|open|opens|package|permits|private|protected|provides|public|record|requires|return|sealed|short|static|strictfp|super|switch|synchronized|this|throw|throws|to|transient|transitive|try|uses|var|void|volatile|while|with|yield)\b/,r=/(^|[^\w.])(?:[a-z]\w*\s*\.\s*)*(?:[A-Z]\w*\s*\.\s*)*/.source,n={pattern:RegExp(r+/[A-Z](?:[\d_A-Z]*[a-z]\w*)?\b/.source),lookbehind:!0,inside:{namespace:{pattern:/^[a-z]\w*(?:\s*\.\s*[a-z]\w*)*(?:\s*\.)?/,inside:{punctuation:/\./}},punctuation:/\./}};e.languages.java=e.languages.extend("clike",{"class-name":[n,{pattern:RegExp(r+/[A-Z]\w*(?=\s+\w+\s*[;,=())])/.source),lookbehind:!0,inside:n.inside}],keyword:t,function:[e.languages.clike.function,{pattern:/(\:\:\s*)[a-z_]\w*/,lookbehind:!0}],number:/\b0b[01][01_]*L?\b|\b0x(?:\.[\da-f_p+-]+|[\da-f_]+(?:\.[\da-f_p+-]+)?)\b|(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?\d[\d_]*)?[dfl]?/i,operator:{pattern:/(^|[^.])(?:<<=?|>>>?=?|->|--|\+\+|&&|\|\||::|[?:~]|[-+*/%&|^!=<>]=?)/m,lookbehind:!0}}),e.languages.insertBefore("java","string",{"triple-quoted-string":{pattern:/"""[ \t]*[\r\n](?:(?:"|"")?(?:\\.|[^"\\]))*"""/,greedy:!0,alias:"string"}}),e.languages.insertBefore("java","class-name",{annotation:{pattern:/(^|[^.])@\w+(?:\s*\.\s*\w+)*/,lookbehind:!0,alias:"punctuation"},generics:{pattern:/<(?:[\w\s,.&?]|<(?:[\w\s,.&?]|<(?:[\w\s,.&?]|<[\w\s,.&?]*>)*>)*>)*>/,inside:{"class-name":n,keyword:t,punctuation:/[<>(),.:]/,operator:/[?&|]/}},namespace:{pattern:RegExp(/(\b(?:exports|import(?:\s+static)?|module|open|opens|package|provides|requires|to|transitive|uses|with)\s+)(?!)[a-z]\w*(?:\.[a-z]\w*)*\.?/.source.replace(//g,(function(){return t.source}))),lookbehind:!0,inside:{punctuation:/\./}}})}(Prism)},function(e,t){Prism.languages.json={property:{pattern:/"(?:\\.|[^\\"\r\n])*"(?=\s*:)/,greedy:!0},string:{pattern:/"(?:\\.|[^\\"\r\n])*"(?!\s*:)/,greedy:!0},comment:{pattern:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},number:/-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,punctuation:/[{}[\],]/,operator:/:/,boolean:/\b(?:true|false)\b/,null:{pattern:/\bnull\b/,alias:"keyword"}},Prism.languages.webmanifest=Prism.languages.json},function(e,t){!function(e){var t="\\b(?:BASH|BASHOPTS|BASH_ALIASES|BASH_ARGC|BASH_ARGV|BASH_CMDS|BASH_COMPLETION_COMPAT_DIR|BASH_LINENO|BASH_REMATCH|BASH_SOURCE|BASH_VERSINFO|BASH_VERSION|COLORTERM|COLUMNS|COMP_WORDBREAKS|DBUS_SESSION_BUS_ADDRESS|DEFAULTS_PATH|DESKTOP_SESSION|DIRSTACK|DISPLAY|EUID|GDMSESSION|GDM_LANG|GNOME_KEYRING_CONTROL|GNOME_KEYRING_PID|GPG_AGENT_INFO|GROUPS|HISTCONTROL|HISTFILE|HISTFILESIZE|HISTSIZE|HOME|HOSTNAME|HOSTTYPE|IFS|INSTANCE|JOB|LANG|LANGUAGE|LC_ADDRESS|LC_ALL|LC_IDENTIFICATION|LC_MEASUREMENT|LC_MONETARY|LC_NAME|LC_NUMERIC|LC_PAPER|LC_TELEPHONE|LC_TIME|LESSCLOSE|LESSOPEN|LINES|LOGNAME|LS_COLORS|MACHTYPE|MAILCHECK|MANDATORY_PATH|NO_AT_BRIDGE|OLDPWD|OPTERR|OPTIND|ORBIT_SOCKETDIR|OSTYPE|PAPERSIZE|PATH|PIPESTATUS|PPID|PS1|PS2|PS3|PS4|PWD|RANDOM|REPLY|SECONDS|SELINUX_INIT|SESSION|SESSIONTYPE|SESSION_MANAGER|SHELL|SHELLOPTS|SHLVL|SSH_AUTH_SOCK|TERM|UID|UPSTART_EVENTS|UPSTART_INSTANCE|UPSTART_JOB|UPSTART_SESSION|USER|WINDOWID|XAUTHORITY|XDG_CONFIG_DIRS|XDG_CURRENT_DESKTOP|XDG_DATA_DIRS|XDG_GREETER_DATA_DIR|XDG_MENU_PREFIX|XDG_RUNTIME_DIR|XDG_SEAT|XDG_SEAT_PATH|XDG_SESSION_DESKTOP|XDG_SESSION_ID|XDG_SESSION_PATH|XDG_SESSION_TYPE|XDG_VTNR|XMODIFIERS)\\b",r={pattern:/(^(["']?)\w+\2)[ \t]+\S.*/,lookbehind:!0,alias:"punctuation",inside:null},n={bash:r,environment:{pattern:RegExp("\\$"+t),alias:"constant"},variable:[{pattern:/\$?\(\([\s\S]+?\)\)/,greedy:!0,inside:{variable:[{pattern:/(^\$\(\([\s\S]+)\)\)/,lookbehind:!0},/^\$\(\(/],number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/--?|-=|\+\+?|\+=|!=?|~|\*\*?|\*=|\/=?|%=?|<<=?|>>=?|<=?|>=?|==?|&&?|&=|\^=?|\|\|?|\|=|\?|:/,punctuation:/\(\(?|\)\)?|,|;/}},{pattern:/\$\((?:\([^)]+\)|[^()])+\)|`[^`]+`/,greedy:!0,inside:{variable:/^\$\(|^`|\)$|`$/}},{pattern:/\$\{[^}]+\}/,greedy:!0,inside:{operator:/:[-=?+]?|[!\/]|##?|%%?|\^\^?|,,?/,punctuation:/[\[\]]/,environment:{pattern:RegExp("(\\{)"+t),lookbehind:!0,alias:"constant"}}},/\$(?:\w+|[#?*!@$])/],entity:/\\(?:[abceEfnrtv\\"]|O?[0-7]{1,3}|x[0-9a-fA-F]{1,2}|u[0-9a-fA-F]{4}|U[0-9a-fA-F]{8})/};e.languages.bash={shebang:{pattern:/^#!\s*\/.*/,alias:"important"},comment:{pattern:/(^|[^"{\\$])#.*/,lookbehind:!0},"function-name":[{pattern:/(\bfunction\s+)\w+(?=(?:\s*\(?:\s*\))?\s*\{)/,lookbehind:!0,alias:"function"},{pattern:/\b\w+(?=\s*\(\s*\)\s*\{)/,alias:"function"}],"for-or-select":{pattern:/(\b(?:for|select)\s+)\w+(?=\s+in\s)/,alias:"variable",lookbehind:!0},"assign-left":{pattern:/(^|[\s;|&]|[<>]\()\w+(?=\+?=)/,inside:{environment:{pattern:RegExp("(^|[\\s;|&]|[<>]\\()"+t),lookbehind:!0,alias:"constant"}},alias:"variable",lookbehind:!0},string:[{pattern:/((?:^|[^<])<<-?\s*)(\w+?)\s[\s\S]*?(?:\r?\n|\r)\2/,lookbehind:!0,greedy:!0,inside:n},{pattern:/((?:^|[^<])<<-?\s*)(["'])(\w+)\2\s[\s\S]*?(?:\r?\n|\r)\3/,lookbehind:!0,greedy:!0,inside:{bash:r}},{pattern:/(^|[^\\](?:\\\\)*)(["'])(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|(?!\2)[^\\`$])*\2/,lookbehind:!0,greedy:!0,inside:n}],environment:{pattern:RegExp("\\$?"+t),alias:"constant"},variable:n.variable,function:{pattern:/(^|[\s;|&]|[<>]\()(?:add|apropos|apt|aptitude|apt-cache|apt-get|aspell|automysqlbackup|awk|basename|bash|bc|bconsole|bg|bzip2|cal|cat|cfdisk|chgrp|chkconfig|chmod|chown|chroot|cksum|clear|cmp|column|comm|composer|cp|cron|crontab|csplit|curl|cut|date|dc|dd|ddrescue|debootstrap|df|diff|diff3|dig|dir|dircolors|dirname|dirs|dmesg|du|egrep|eject|env|ethtool|expand|expect|expr|fdformat|fdisk|fg|fgrep|file|find|fmt|fold|format|free|fsck|ftp|fuser|gawk|git|gparted|grep|groupadd|groupdel|groupmod|groups|grub-mkconfig|gzip|halt|head|hg|history|host|hostname|htop|iconv|id|ifconfig|ifdown|ifup|import|install|ip|jobs|join|kill|killall|less|link|ln|locate|logname|logrotate|look|lpc|lpr|lprint|lprintd|lprintq|lprm|ls|lsof|lynx|make|man|mc|mdadm|mkconfig|mkdir|mke2fs|mkfifo|mkfs|mkisofs|mknod|mkswap|mmv|more|most|mount|mtools|mtr|mutt|mv|nano|nc|netstat|nice|nl|nohup|notify-send|npm|nslookup|op|open|parted|passwd|paste|pathchk|ping|pkill|pnpm|popd|pr|printcap|printenv|ps|pushd|pv|quota|quotacheck|quotactl|ram|rar|rcp|reboot|remsync|rename|renice|rev|rm|rmdir|rpm|rsync|scp|screen|sdiff|sed|sendmail|seq|service|sftp|sh|shellcheck|shuf|shutdown|sleep|slocate|sort|split|ssh|stat|strace|su|sudo|sum|suspend|swapon|sync|tac|tail|tar|tee|time|timeout|top|touch|tr|traceroute|tsort|tty|umount|uname|unexpand|uniq|units|unrar|unshar|unzip|update-grub|uptime|useradd|userdel|usermod|users|uudecode|uuencode|v|vdir|vi|vim|virsh|vmstat|wait|watch|wc|wget|whereis|which|who|whoami|write|xargs|xdg-open|yarn|yes|zenity|zip|zsh|zypper)(?=$|[)\s;|&])/,lookbehind:!0},keyword:{pattern:/(^|[\s;|&]|[<>]\()(?:if|then|else|elif|fi|for|while|in|case|esac|function|select|do|done|until)(?=$|[)\s;|&])/,lookbehind:!0},builtin:{pattern:/(^|[\s;|&]|[<>]\()(?:\.|:|break|cd|continue|eval|exec|exit|export|getopts|hash|pwd|readonly|return|shift|test|times|trap|umask|unset|alias|bind|builtin|caller|command|declare|echo|enable|help|let|local|logout|mapfile|printf|read|readarray|source|type|typeset|ulimit|unalias|set|shopt)(?=$|[)\s;|&])/,lookbehind:!0,alias:"class-name"},boolean:{pattern:/(^|[\s;|&]|[<>]\()(?:true|false)(?=$|[)\s;|&])/,lookbehind:!0},"file-descriptor":{pattern:/\B&\d\b/,alias:"important"},operator:{pattern:/\d?<>|>\||\+=|==?|!=?|=~|<<[<-]?|[&\d]?>>|\d?[<>]&?|&[>&]?|\|[&|]?|<=?|>=?/,inside:{"file-descriptor":{pattern:/^\d/,alias:"important"}}},punctuation:/\$?\(\(?|\)\)?|\.\.|[{}[\];\\]/,number:{pattern:/(^|\s)(?:[1-9]\d*|0)(?:[.,]\d+)?\b/,lookbehind:!0}},r.inside=e.languages.bash;for(var o=["comment","function-name","for-or-select","assign-left","string","environment","function","keyword","builtin","boolean","file-descriptor","operator","punctuation","number"],a=n.variable[1].inside,i=0;i]?|>[=>]?|[&|^~]/,punctuation:/[{}[\];(),.:]/},Prism.languages.python["string-interpolation"].inside.interpolation.inside.rest=Prism.languages.python,Prism.languages.py=Prism.languages.python},function(e,t){!function(e){e.languages.http={"request-line":{pattern:/^(?:POST|GET|PUT|DELETE|OPTIONS|PATCH|TRACE|CONNECT)\s(?:https?:\/\/|\/)\S+\sHTTP\/[0-9.]+/m,inside:{property:/^(?:POST|GET|PUT|DELETE|OPTIONS|PATCH|TRACE|CONNECT)\b/,"attr-name":/:\w+/}},"response-status":{pattern:/^HTTP\/1.[01] \d.*/m,inside:{property:{pattern:/(^HTTP\/1.[01] )\d.*/i,lookbehind:!0}}},"header-name":{pattern:/^[\w-]+:(?=.)/m,alias:"keyword"}};var t,r=e.languages,n={"application/javascript":r.javascript,"application/json":r.json||r.javascript,"application/xml":r.xml,"text/xml":r.xml,"text/html":r.html,"text/css":r.css},o={"application/json":!0,"application/xml":!0};function a(e){var t=e.replace(/^[a-z]+\//,"");return"(?:"+e+"|"+("\\w+/(?:[\\w.-]+\\+)+"+t+"(?![+\\w.-])")+")"}for(var i in n)if(n[i]){t=t||{};var s=o[i]?a(i):i;t[i.replace(/\//g,"-")]={pattern:RegExp("(content-type:\\s*"+s+".*)(?:\\r?\\n|\\r){2}[\\s\\S]*","i"),lookbehind:!0,inside:n[i]}}t&&e.languages.insertBefore("http","header-name",t)}(Prism)},function(e,t){!function(e){function t(e,t){return e.replace(/<<(\d+)>>/g,(function(e,r){return"(?:"+t[+r]+")"}))}function r(e,r,n){return RegExp(t(e,r),n||"")}function n(e,t){for(var r=0;r>/g,(function(){return"(?:"+e+")"}));return e.replace(/<>/g,"[^\\s\\S]")}var o="bool byte char decimal double dynamic float int long object sbyte short string uint ulong ushort var void",a="class enum interface struct",i="add alias and ascending async await by descending from get global group into join let nameof not notnull on or orderby partial remove select set unmanaged value when where",s="abstract as base break case catch checked const continue default delegate do else event explicit extern finally fixed for foreach goto if implicit in internal is lock namespace new null operator out override params private protected public readonly ref return sealed sizeof stackalloc static switch this throw try typeof unchecked unsafe using virtual volatile while yield";function c(e){return"\\b(?:"+e.trim().replace(/ /g,"|")+")\\b"}var l=c(a),u=RegExp(c(o+" "+a+" "+i+" "+s)),p=c(a+" "+i+" "+s),f=c(o+" "+a+" "+s),d=n(/<(?:[^<>;=+\-*/%&|^]|<>)*>/.source,2),h=n(/\((?:[^()]|<>)*\)/.source,2),v=/@?\b[A-Za-z_]\w*\b/.source,m=t(/<<0>>(?:\s*<<1>>)?/.source,[v,d]),g=t(/(?!<<0>>)<<1>>(?:\s*\.\s*<<1>>)*/.source,[p,m]),y=/\[\s*(?:,\s*)*\]/.source,b=t(/<<0>>(?:\s*(?:\?\s*)?<<1>>)*(?:\s*\?)?/.source,[g,y]),x=t(/[^,()<>[\];=+\-*/%&|^]|<<0>>|<<1>>|<<2>>/.source,[d,h,y]),w=t(/\(<<0>>+(?:,<<0>>+)+\)/.source,[x]),k=t(/(?:<<0>>|<<1>>)(?:\s*(?:\?\s*)?<<2>>)*(?:\s*\?)?/.source,[w,g,y]),S={keyword:u,punctuation:/[<>()?,.:[\]]/},A=/'(?:[^\r\n'\\]|\\.|\\[Uux][\da-fA-F]{1,8})'/.source,O=/"(?:\\.|[^\\"\r\n])*"/.source,E=/@"(?:""|\\[\s\S]|[^\\"])*"(?!")/.source;e.languages.csharp=e.languages.extend("clike",{string:[{pattern:r(/(^|[^$\\])<<0>>/.source,[E]),lookbehind:!0,greedy:!0},{pattern:r(/(^|[^@$\\])<<0>>/.source,[O]),lookbehind:!0,greedy:!0},{pattern:RegExp(A),greedy:!0,alias:"character"}],"class-name":[{pattern:r(/(\busing\s+static\s+)<<0>>(?=\s*;)/.source,[g]),lookbehind:!0,inside:S},{pattern:r(/(\busing\s+<<0>>\s*=\s*)<<1>>(?=\s*;)/.source,[v,k]),lookbehind:!0,inside:S},{pattern:r(/(\busing\s+)<<0>>(?=\s*=)/.source,[v]),lookbehind:!0},{pattern:r(/(\b<<0>>\s+)<<1>>/.source,[l,m]),lookbehind:!0,inside:S},{pattern:r(/(\bcatch\s*\(\s*)<<0>>/.source,[g]),lookbehind:!0,inside:S},{pattern:r(/(\bwhere\s+)<<0>>/.source,[v]),lookbehind:!0},{pattern:r(/(\b(?:is(?:\s+not)?|as)\s+)<<0>>/.source,[b]),lookbehind:!0,inside:S},{pattern:r(/\b<<0>>(?=\s+(?!<<1>>)<<2>>(?:\s*[=,;:{)\]]|\s+(?:in|when)\b))/.source,[k,f,v]),inside:S}],keyword:u,number:/(?:\b0(?:x[\da-f_]*[\da-f]|b[01_]*[01])|(?:\B\.\d+(?:_+\d+)*|\b\d+(?:_+\d+)*(?:\.\d+(?:_+\d+)*)?)(?:e[-+]?\d+(?:_+\d+)*)?)(?:ul|lu|[dflmu])?\b/i,operator:/>>=?|<<=?|[-=]>|([-+&|])\1|~|\?\?=?|[-+*/%&|^!=<>]=?/,punctuation:/\?\.?|::|[{}[\];(),.:]/}),e.languages.insertBefore("csharp","number",{range:{pattern:/\.\./,alias:"operator"}}),e.languages.insertBefore("csharp","punctuation",{"named-parameter":{pattern:r(/([(,]\s*)<<0>>(?=\s*:)/.source,[v]),lookbehind:!0,alias:"punctuation"}}),e.languages.insertBefore("csharp","class-name",{namespace:{pattern:r(/(\b(?:namespace|using)\s+)<<0>>(?:\s*\.\s*<<0>>)*(?=\s*[;{])/.source,[v]),lookbehind:!0,inside:{punctuation:/\./}},"type-expression":{pattern:r(/(\b(?:default|typeof|sizeof)\s*\(\s*(?!\s))(?:[^()\s]|\s(?!\s)|<<0>>)*(?=\s*\))/.source,[h]),lookbehind:!0,alias:"class-name",inside:S},"return-type":{pattern:r(/<<0>>(?=\s+(?:<<1>>\s*(?:=>|[({]|\.\s*this\s*\[)|this\s*\[))/.source,[k,g]),inside:S,alias:"class-name"},"constructor-invocation":{pattern:r(/(\bnew\s+)<<0>>(?=\s*[[({])/.source,[k]),lookbehind:!0,inside:S,alias:"class-name"},"generic-method":{pattern:r(/<<0>>\s*<<1>>(?=\s*\()/.source,[v,d]),inside:{function:r(/^<<0>>/.source,[v]),generic:{pattern:RegExp(d),alias:"class-name",inside:S}}},"type-list":{pattern:r(/\b((?:<<0>>\s+<<1>>|where\s+<<2>>)\s*:\s*)(?:<<3>>|<<4>>)(?:\s*,\s*(?:<<3>>|<<4>>))*(?=\s*(?:where|[{;]|=>|$))/.source,[l,m,v,k,u.source]),lookbehind:!0,inside:{keyword:u,"class-name":{pattern:RegExp(k),greedy:!0,inside:S},punctuation:/,/}},preprocessor:{pattern:/(^\s*)#.*/m,lookbehind:!0,alias:"property",inside:{directive:{pattern:/(\s*#)\b(?:define|elif|else|endif|endregion|error|if|line|pragma|region|undef|warning)\b/,lookbehind:!0,alias:"keyword"}}}});var D=O+"|"+A,C=t(/\/(?![*/])|\/\/[^\r\n]*[\r\n]|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>/.source,[D]),j=n(t(/[^"'/()]|<<0>>|\(<>*\)/.source,[C]),2),_=/\b(?:assembly|event|field|method|module|param|property|return|type)\b/.source,T=t(/<<0>>(?:\s*\(<<1>>*\))?/.source,[g,j]);e.languages.insertBefore("csharp","class-name",{attribute:{pattern:r(/((?:^|[^\s\w>)?])\s*\[\s*)(?:<<0>>\s*:\s*)?<<1>>(?:\s*,\s*<<1>>)*(?=\s*\])/.source,[_,T]),lookbehind:!0,greedy:!0,inside:{target:{pattern:r(/^<<0>>(?=\s*:)/.source,[_]),alias:"keyword"},"attribute-arguments":{pattern:r(/\(<<0>>*\)/.source,[j]),inside:e.languages.csharp},"class-name":{pattern:RegExp(g),inside:{punctuation:/\./}},punctuation:/[:,]/}}});var I=/:[^}\r\n]+/.source,F=n(t(/[^"'/()]|<<0>>|\(<>*\)/.source,[C]),2),P=t(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source,[F,I]),R=n(t(/[^"'/()]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>|\(<>*\)/.source,[D]),2),B=t(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source,[R,I]);function L(t,n){return{interpolation:{pattern:r(/((?:^|[^{])(?:\{\{)*)<<0>>/.source,[t]),lookbehind:!0,inside:{"format-string":{pattern:r(/(^\{(?:(?![}:])<<0>>)*)<<1>>(?=\}$)/.source,[n,I]),lookbehind:!0,inside:{punctuation:/^:/}},punctuation:/^\{|\}$/,expression:{pattern:/[\s\S]+/,alias:"language-csharp",inside:e.languages.csharp}}},string:/[\s\S]+/}}e.languages.insertBefore("csharp","string",{"interpolation-string":[{pattern:r(/(^|[^\\])(?:\$@|@\$)"(?:""|\\[\s\S]|\{\{|<<0>>|[^\\{"])*"/.source,[P]),lookbehind:!0,greedy:!0,inside:L(P,F)},{pattern:r(/(^|[^@\\])\$"(?:\\.|\{\{|<<0>>|[^\\"{])*"/.source,[B]),lookbehind:!0,greedy:!0,inside:L(B,R)}]})}(Prism),Prism.languages.dotnet=Prism.languages.cs=Prism.languages.csharp},function(e,t,r){(function(e,n){var o;/*! https://mths.be/punycode v1.4.1 by @mathias */!function(a){t&&t.nodeType,e&&e.nodeType;var i="object"==typeof n&&n;i.global!==i&&i.window!==i&&i.self;var s,c=2147483647,l=/^xn--/,u=/[^\x20-\x7E]/,p=/[\x2E\u3002\uFF0E\uFF61]/g,f={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},d=Math.floor,h=String.fromCharCode;function v(e){throw new RangeError(f[e])}function m(e,t){for(var r=e.length,n=[];r--;)n[r]=t(e[r]);return n}function g(e,t){var r=e.split("@"),n="";return r.length>1&&(n=r[0]+"@",e=r[1]),n+m((e=e.replace(p,".")).split("."),t).join(".")}function y(e){for(var t,r,n=[],o=0,a=e.length;o=55296&&t<=56319&&o65535&&(t+=h((e-=65536)>>>10&1023|55296),e=56320|1023&e),t+=h(e)})).join("")}function x(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function w(e,t,r){var n=0;for(e=r?d(e/700):e>>1,e+=d(e/t);e>455;n+=36)e=d(e/35);return d(n+36*e/(e+38))}function k(e){var t,r,n,o,a,i,s,l,u,p,f,h=[],m=e.length,g=0,y=128,x=72;for((r=e.lastIndexOf("-"))<0&&(r=0),n=0;n=128&&v("not-basic"),h.push(e.charCodeAt(n));for(o=r>0?r+1:0;o=m&&v("invalid-input"),((l=(f=e.charCodeAt(o++))-48<10?f-22:f-65<26?f-65:f-97<26?f-97:36)>=36||l>d((c-g)/i))&&v("overflow"),g+=l*i,!(l<(u=s<=x?1:s>=x+26?26:s-x));s+=36)i>d(c/(p=36-u))&&v("overflow"),i*=p;x=w(g-a,t=h.length+1,0==a),d(g/t)>c-y&&v("overflow"),y+=d(g/t),g%=t,h.splice(g++,0,y)}return b(h)}function S(e){var t,r,n,o,a,i,s,l,u,p,f,m,g,b,k,S=[];for(m=(e=y(e)).length,t=128,r=0,a=72,i=0;i=t&&fd((c-r)/(g=n+1))&&v("overflow"),r+=(s-t)*g,t=s,i=0;ic&&v("overflow"),f==t){for(l=r,u=36;!(l<(p=u<=a?1:u>=a+26?26:u-a));u+=36)k=l-p,b=36-p,S.push(h(x(p+k%b,0))),l=d(k/b);S.push(h(x(l,0))),a=w(r,g,n==o),r=0,++n}++r,++t}return S.join("")}s={version:"1.4.1",ucs2:{decode:y,encode:b},decode:k,encode:S,toASCII:function(e){return g(e,(function(e){return u.test(e)?"xn--"+S(e):e}))},toUnicode:function(e){return g(e,(function(e){return l.test(e)?k(e.slice(4).toLowerCase()):e}))}},void 0===(o=function(){return s}.call(t,r,t,e))||(e.exports=o)}()}).call(this,r(103)(e),r(26))},function(e,t,r){"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,r){"use strict";t.decode=t.parse=r(299),t.encode=t.stringify=r(300)},function(e,t,r){"use strict";function n(e,t){return Object.prototype.hasOwnProperty.call(e,t)}e.exports=function(e,t,r,a){t=t||"&",r=r||"=";var i={};if("string"!=typeof e||0===e.length)return i;var s=/\+/g;e=e.split(t);var c=1e3;a&&"number"==typeof a.maxKeys&&(c=a.maxKeys);var l=e.length;c>0&&l>c&&(l=c);for(var u=0;u=0?(p=v.substr(0,m),f=v.substr(m+1)):(p=v,f=""),d=decodeURIComponent(p),h=decodeURIComponent(f),n(i,d)?o(i[d])?i[d].push(h):i[d]=[i[d],h]:i[d]=h}return i};var o=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)}},function(e,t,r){"use strict";var n=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,r,s){return t=t||"&",r=r||"=",null===e&&(e=void 0),"object"==typeof e?a(i(e),(function(i){var s=encodeURIComponent(n(i))+r;return o(e[i])?a(e[i],(function(e){return s+encodeURIComponent(n(e))})).join(t):s+encodeURIComponent(n(e[i]))})).join(t):s?encodeURIComponent(n(s))+r+encodeURIComponent(n(e)):""};var o=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)};function a(e,t){if(e.map)return e.map(t);for(var r=[],n=0;n0?n-4:n,p=0;p>16&255,s[c++]=t>>8&255,s[c++]=255&t;2===i&&(t=o[e.charCodeAt(p)]<<2|o[e.charCodeAt(p+1)]>>4,s[c++]=255&t);1===i&&(t=o[e.charCodeAt(p)]<<10|o[e.charCodeAt(p+1)]<<4|o[e.charCodeAt(p+2)]>>2,s[c++]=t>>8&255,s[c++]=255&t);return s},t.fromByteArray=function(e){for(var t,r=e.length,o=r%3,a=[],i=0,s=r-o;is?s:i+16383));1===o?(t=e[r-1],a.push(n[t>>2]+n[t<<4&63]+"==")):2===o&&(t=(e[r-2]<<8)+e[r-1],a.push(n[t>>10]+n[t>>4&63]+n[t<<2&63]+"="));return a.join("")};for(var n=[],o=[],a="undefined"!=typeof Uint8Array?Uint8Array:Array,i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",s=0,c=i.length;s0)throw new Error("Invalid string. Length must be a multiple of 4");var r=e.indexOf("=");return-1===r&&(r=t),[r,r===t?0:4-r%4]}function u(e,t,r){for(var o,a,i=[],s=t;s>18&63]+n[a>>12&63]+n[a>>6&63]+n[63&a]);return i.join("")}o["-".charCodeAt(0)]=62,o["_".charCodeAt(0)]=63},function(e,t){t.read=function(e,t,r,n,o){var a,i,s=8*o-n-1,c=(1<>1,u=-7,p=r?o-1:0,f=r?-1:1,d=e[t+p];for(p+=f,a=d&(1<<-u)-1,d>>=-u,u+=s;u>0;a=256*a+e[t+p],p+=f,u-=8);for(i=a&(1<<-u)-1,a>>=-u,u+=n;u>0;i=256*i+e[t+p],p+=f,u-=8);if(0===a)a=1-l;else{if(a===c)return i?NaN:1/0*(d?-1:1);i+=Math.pow(2,n),a-=l}return(d?-1:1)*i*Math.pow(2,a-n)},t.write=function(e,t,r,n,o,a){var i,s,c,l=8*a-o-1,u=(1<>1,f=23===o?Math.pow(2,-24)-Math.pow(2,-77):0,d=n?0:a-1,h=n?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,i=u):(i=Math.floor(Math.log(t)/Math.LN2),t*(c=Math.pow(2,-i))<1&&(i--,c*=2),(t+=i+p>=1?f/c:f*Math.pow(2,1-p))*c>=2&&(i++,c/=2),i+p>=u?(s=0,i=u):i+p>=1?(s=(t*c-1)*Math.pow(2,o),i+=p):(s=t*Math.pow(2,p-1)*Math.pow(2,o),i=0));o>=8;e[r+d]=255&s,d+=h,s/=256,o-=8);for(i=i<0;e[r+d]=255&i,d+=h,i/=256,l-=8);e[r+d-h]|=128*v}},function(e,t,r){"use strict";const n=r(177),o=r(178),a=r(28),i=r(57),s=r(179),c=r(104).jptr,l=r(135).recurse,u=r(105).clone,p=r(305).dereference,f=r(134).isRef,d=r(181);function h(e,t,r,n,o,i){let s=i.externalRefs[r+n].paths[0],p=a.parse(o),h={},v=1;for(;v;)v=0,l(e,{identityDetection:!0},(function(e,r,n){if(f(e,r))if(e[r].startsWith("#"))if(h[e[r]]||e.$fixed){if(!e.$fixed){let t=(s+"/"+h[e[r]]).split("/#/").join("/");n.parent[n.pkey]={$ref:t,"x-miro":e[r],$fixed:!0},i.verbose>1&&console.warn("Replacing with",t),v++}}else{let o=u(c(t,e[r]));if(i.verbose>1&&console.warn((!1===o?d.colour.red:d.colour.green)+"Fragment resolution",e[r],d.colour.normal),!1===o){if(n.parent[n.pkey]={},i.fatal){let t=new Error("Fragment $ref resolution failed "+e[r]);if(!i.promise)throw t;i.promise.reject(t)}}else v++,n.parent[n.pkey]=o,h[e[r]]=n.path.replace("/%24ref","")}else if(p.protocol){let t=a.resolve(o,e[r]).toString();i.verbose>1&&console.warn(d.colour.yellow+"Rewriting external url ref",e[r],"as",t,d.colour.normal),e["x-miro"]=e[r],i.externalRefs[e[r]]&&(i.externalRefs[t]||(i.externalRefs[t]=i.externalRefs[e[r]]),i.externalRefs[t].failed=i.externalRefs[e[r]].failed),e[r]=t}else if(!e["x-miro"]){let t=a.resolve(o,e[r]).toString(),n=!1;i.externalRefs[e[r]]&&(n=i.externalRefs[e[r]].failed),n||(i.verbose>1&&console.warn(d.colour.yellow+"Rewriting external ref",e[r],"as",t,d.colour.normal),e["x-miro"]=e[r],e[r]=t)}}));return l(e,{},(function(e,t,r){f(e,t)&&void 0!==e.$fixed&&delete e.$fixed})),i.verbose>1&&console.warn("Finished fragment resolution"),e}function v(e,t){if(!t.filters||!t.filters.length)return e;for(let r of t.filters)e=r(e,t);return e}function m(e,t,r,i){var l=a.parse(r.source),p=r.source.split("\\").join("/").split("/");p.pop()||p.pop();let f="",d=t.split("#");d.length>1&&(f="#"+d[1],t=d[0]),p=p.join("/");let m=a.parse(t),g=(y=m.protocol,b=l.protocol,y&&y.length>2?y:b&&b.length>2?b:"file:");var y,b;let x;if(x="file:"===g?o.resolve(p?p+"/":"",t):a.resolve(p?p+"/":"",t),r.cache[x]){r.verbose&&console.warn("CACHED",x,f);let e=u(r.cache[x]),n=r.externalRef=e;if(f&&(n=c(n,f),!1===n&&(n={},r.fatal))){let e=new Error("Cached $ref resolution failed "+x+f);if(!r.promise)throw e;r.promise.reject(e)}return n=h(n,e,t,f,x,r),n=v(n,r),i(u(n),x,r),Promise.resolve(n)}if(r.verbose&&console.warn("GET",x,f),r.handlers&&r.handlers[g])return r.handlers[g](p,t,f,r).then((function(e){return r.externalRef=e,e=v(e,r),r.cache[x]=e,i(e,x,r),e})).catch((function(e){throw r.verbose&&console.warn(e),e}));if(g&&g.startsWith("http")){const e=Object.assign({},r.fetchOptions,{agent:r.agent});return r.fetch(x,e).then((function(e){if(200!==e.status){if(r.ignoreIOErrors)return r.verbose&&console.warn("FAILED",t),r.externalRefs[t].failed=!0,'{"$ref":"'+t+'"}';throw new Error(`Received status code ${e.status}: ${x}`)}return e.text()})).then((function(e){try{let n=s.parse(e,{schema:"core",prettyErrors:!0});if(e=r.externalRef=n,r.cache[x]=u(e),f&&!1===(e=c(e,f))&&(e={},r.fatal)){let e=new Error("Remote $ref resolution failed "+x+f);if(!r.promise)throw e;r.promise.reject(e)}e=v(e=h(e,n,t,f,x,r),r)}catch(e){if(r.verbose&&console.warn(e),!r.promise||!r.fatal)throw e;r.promise.reject(e)}return i(e,x,r),e})).catch((function(e){if(r.verbose&&console.warn(e),r.cache[x]={},!r.promise||!r.fatal)throw e;r.promise.reject(e)}))}{const e='{"$ref":"'+t+'"}';return function(e,t,r,o,a){return new Promise((function(i,s){n.readFile(e,t,(function(e,t){e?r.ignoreIOErrors&&a?(r.verbose&&console.warn("FAILED",o),r.externalRefs[o].failed=!0,i(a)):s(e):i(t)}))}))}(x,r.encoding||"utf8",r,t,e).then((function(e){try{let n=s.parse(e,{schema:"core",prettyErrors:!0});if(e=r.externalRef=n,r.cache[x]=u(e),f&&!1===(e=c(e,f))&&(e={},r.fatal)){let e=new Error("File $ref resolution failed "+x+f);if(!r.promise)throw e;r.promise.reject(e)}e=v(e=h(e,n,t,f,x,r),r)}catch(e){if(r.verbose&&console.warn(e),!r.promise||!r.fatal)throw e;r.promise.reject(e)}return i(e,x,r),e})).catch((function(e){if(r.verbose&&console.warn(e),!r.promise||!r.fatal)throw e;r.promise.reject(e)}))}}function g(e){return new Promise((function(t,r){(function(e){return new Promise((function(t,r){function n(t,r,n){if(t[r]&&f(t[r],"$ref")){let a=t[r].$ref;if(!a.startsWith("#")){let i="";if(!o[a]){let t=Object.keys(o).find((function(e,t,r){return a.startsWith(e+"/")}));t&&(e.verbose&&console.warn("Found potential subschema at",t),i="/"+(a.split("#")[1]||"").replace(t.split("#")[1]||""),i=i.split("/undefined").join(""),a=t)}if(o[a]||(o[a]={resolved:!1,paths:[],extras:{},description:t[r].description}),o[a].resolved)if(o[a].failed);else if(e.rewriteRefs){let n=o[a].resolvedAt;e.verbose>1&&console.warn("Rewriting ref",a,n),t[r]["x-miro"]=a,t[r].$ref=n+i}else t[r]=u(o[a].data);else o[a].paths.push(n.path),o[a].extras[n.path]=i}}}let o=e.externalRefs;if(e.resolver.depth>0&&e.source===e.resolver.base)return t(o);l(e.openapi.definitions,{identityDetection:!0,path:"#/definitions"},n),l(e.openapi.components,{identityDetection:!0,path:"#/components"},n),l(e.openapi,{identityDetection:!0},n),t(o)}))})(e).then((function(t){for(let r in t)if(!t[r].resolved){let n=e.resolver.depth;n>0&&n++,e.resolver.actions[n].push((function(){return m(e.openapi,r,e,(function(e,n,o){if(!t[r].resolved){let a={};a.context=t[r],a.$ref=r,a.original=u(e),a.updated=e,a.source=n,o.externals.push(a),t[r].resolved=!0}let a=Object.assign({},o,{source:"",resolver:{actions:o.resolver.actions,depth:o.resolver.actions.length-1,base:o.resolver.base}});o.patch&&t[r].description&&!e.description&&"object"==typeof e&&(e.description=t[r].description),t[r].data=e;let i=(s=t[r].paths,[...new Set(s)]);var s;i=i.sort((function(e,t){const r=e.startsWith("#/components/")||e.startsWith("#/definitions/"),n=t.startsWith("#/components/")||t.startsWith("#/definitions/");return r&&!n?-1:n&&!r?1:0}));for(let n of i)if(t[r].resolvedAt&&n!==t[r].resolvedAt&&n.indexOf("x-ms-examples/")<0)o.verbose>1&&console.warn("Creating pointer to data at",n),c(o.openapi,n,{$ref:t[r].resolvedAt+t[r].extras[n],"x-miro":r+t[r].extras[n]});else{t[r].resolvedAt?o.verbose>1&&console.warn("Avoiding circular reference"):(t[r].resolvedAt=n,o.verbose>1&&console.warn("Creating initial clone of data at",n));let a=u(e);c(o.openapi,n,a)}0===o.resolver.actions[a.resolver.depth].length&&o.resolver.actions[a.resolver.depth].push((function(){return g(a)}))}))}))}})).catch((function(t){e.verbose&&console.warn(t),r(t)}));let n={options:e};n.actions=e.resolver.actions[e.resolver.depth],t(n)}))}function y(e,t,r){e.resolver.actions.push([]),g(e).then((function(n){var o;(o=n.actions,o.reduce((e,t)=>e.then(e=>t().then(Array.prototype.concat.bind(e))),Promise.resolve([]))).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(){y(n.options,t,r)}),0):(e.verbose>1&&console.warn(d.colour.yellow+"Finished external resolution!",d.colour.normal),e.resolveInternal&&(e.verbose>1&&console.warn(d.colour.yellow+"Starting internal resolution!",d.colour.normal),e.openapi=p(e.openapi,e.original,{verbose:e.verbose-1}),e.verbose>1&&console.warn(d.colour.yellow+"Finished internal resolution!",d.colour.normal)),l(e.openapi,{},(function(t,r,n){f(t,r)&&(e.preserveMiro||delete t["x-miro"])})),t(e))})).catch((function(t){e.verbose&&console.warn(t),r(t)}))})).catch((function(t){e.verbose&&console.warn(t),r(t)}))}function b(e){if(e.cache||(e.cache={}),e.fetch||(e.fetch=i),e.source){let t=a.parse(e.source);(!t.protocol||t.protocol.length<=2)&&(e.source=o.resolve(e.source))}e.externals=[],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 b(e),new Promise((function(t,r){e.resolve?y(e,t,r):t(e)}))},resolve:function(e,t,r){return r||(r={}),r.openapi=e,r.source=t,r.resolve=!0,b(r),new Promise((function(e,t){y(r,e,t)}))}}},function(e,t,r){"use strict";const n=r(135).recurse,o=r(105).shallowClone,a=r(104).jptr,i=r(134).isRef;e.exports={dereference:function e(t,r,s){s||(s={}),s.cache||(s.cache={}),s.state||(s.state={}),s.state.identityDetection=!0,s.depth=s.depth?s.depth+1:1;let c=s.depth>1?t:o(t),l={data:c},u=s.depth>1?r:o(r);s.master||(s.master=c);let p=function(e){return e&&e.verbose?{warn:function(){var e=Array.prototype.slice.call(arguments);console.warn.apply(console,e)}}:{warn:function(){}}}(s),f=1;for(;f>0;)f=0,n(l,s.state,(function(t,r,n){if(i(t,r)){let o=t[r];if(f++,s.cache[o]){let e=s.cache[o];if(e.resolved)p.warn("Patching %s for %s",o,e.path),n.parent[n.pkey]=e.data,s.$ref&&"object"==typeof n.parent[n.pkey]&&(n.parent[n.pkey][s.$ref]=o);else{if(o===e.path)throw new Error("Tight circle at "+e.path);p.warn("Unresolved ref"),n.parent[n.pkey]=a(e.source,e.path),!1===n.parent[n.pkey]&&(n.parent[n.pkey]=a(e.source,e.key)),s.$ref&&"object"==typeof n.parent[n.pkey]&&(n.parent[s.$ref]=o)}}else{let t={};t.path=n.path.split("/$ref")[0],t.key=o,p.warn("Dereffing %s at %s",o,t.path),t.source=u,t.data=a(t.source,t.key),!1===t.data&&(t.data=a(s.master,t.key),t.source=s.master),!1===t.data&&p.warn("Missing $ref target",t.key),s.cache[o]=t,t.data=n.parent[n.pkey]=e(a(t.source,t.key),t.source,s),s.$ref&&"object"==typeof n.parent[n.pkey]&&(n.parent[n.pkey][s.$ref]=o),t.resolved=!0}}}));return l.data}}},function(e,t){e.exports=o,o.default=o,o.stable=i,o.stableStringify=i;var r=[],n=[];function o(e,t,o){var a;for(!function e(t,o,a,i){var s;if("object"==typeof t&&null!==t){for(s=0;st?1:0}function i(e,t,o){var i,c=function e(t,o,i,s){var c;if("object"==typeof t&&null!==t){for(c=0;c0)for(var o=0;o0?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,r=""+t.data;t=t.next;)r+=e+t.data;return r},e.prototype.concat=function(e){if(0===this.length)return n.alloc(0);if(1===this.length)return this.head.data;for(var t,r,o,a=n.allocUnsafe(e>>>0),i=this.head,s=0;i;)t=i.data,r=a,o=s,t.copy(r,o),s+=i.data.length,i=i.next;return a},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,r){(function(e){var n=void 0!==e&&e||"undefined"!=typeof self&&self||window,o=Function.prototype.apply;function a(e,t){this._id=e,this._clearFn=t}t.setTimeout=function(){return new a(o.call(setTimeout,n,arguments),clearTimeout)},t.setInterval=function(){return new a(o.call(setInterval,n,arguments),clearInterval)},t.clearTimeout=t.clearInterval=function(e){e&&e.close()},a.prototype.unref=a.prototype.ref=function(){},a.prototype.close=function(){this._clearFn.call(n,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))},r(315),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,r(26))},function(e,t,r){(function(e,t){!function(e,r){"use strict";if(!e.setImmediate){var n,o,a,i,s,c=1,l={},u=!1,p=e.document,f=Object.getPrototypeOf&&Object.getPrototypeOf(e);f=f&&f.setTimeout?f:e,"[object process]"==={}.toString.call(e.process)?n=function(e){t.nextTick((function(){h(e)}))}:!function(){if(e.postMessage&&!e.importScripts){var t=!0,r=e.onmessage;return e.onmessage=function(){t=!1},e.postMessage("","*"),e.onmessage=r,t}}()?e.MessageChannel?((a=new MessageChannel).port1.onmessage=function(e){h(e.data)},n=function(e){a.port2.postMessage(e)}):p&&"onreadystatechange"in p.createElement("script")?(o=p.documentElement,n=function(e){var t=p.createElement("script");t.onreadystatechange=function(){h(e),t.onreadystatechange=null,o.removeChild(t),t=null},o.appendChild(t)}):n=function(e){setTimeout(h,0,e)}:(i="setImmediate$"+Math.random()+"$",s=function(t){t.source===e&&"string"==typeof t.data&&0===t.data.indexOf(i)&&h(+t.data.slice(i.length))},e.addEventListener?e.addEventListener("message",s,!1):e.attachEvent("onmessage",s),n=function(t){e.postMessage(i+t,"*")}),f.setImmediate=function(e){"function"!=typeof e&&(e=new Function(""+e));for(var t=new Array(arguments.length-1),r=0;r","license":"BSD-3-Clause","dependencies":{"call-me-maybe":"^1.0.1","node-fetch":"^2.6.1","node-fetch-h2":"^2.3.0","node-readfiles":"^0.2.0","oas-kit-common":"^1.0.8","oas-resolver":"^2.5.4","oas-schema-walker":"^1.1.5","oas-validator":"^5.0.5","reftools":"^1.1.8","yaml":"^1.10.0","yargs":"^16.1.1"},"keywords":["swagger","openapi","openapi2","openapi3","converter","conversion","validator","validation","resolver","lint","linter"],"gitHead":"e6bea8e0b913045153b276ab23e203ece3129c88"}')},function(e,t,r){var n=r(323);e.exports=n},function(e,t,r){r(324);var n=r(12).Object,o=e.exports=function(e,t,r){return n.defineProperty(e,t,r)};n.defineProperty.sham&&(o.sham=!0)},function(e,t,r){var n=r(7),o=r(22);n({target:"Object",stat:!0,forced:!o,sham:!o},{defineProperty:r(38).f})},function(e,t,r){e.exports=r(326)},function(e,t,r){var n=r(327);e.exports=n},function(e,t,r){r(328);var n=r(12).Object,o=e.exports=function(e,t){return n.defineProperties(e,t)};n.defineProperties.sham&&(o.sham=!0)},function(e,t,r){var n=r(7),o=r(22);n({target:"Object",stat:!0,forced:!o,sham:!o},{defineProperties:r(194)})},function(e,t,r){e.exports=r(330)},function(e,t,r){var n=r(331);e.exports=n},function(e,t,r){r(332);var n=r(12);e.exports=n.Object.getOwnPropertyDescriptors},function(e,t,r){var n=r(7),o=r(22),a=r(333),i=r(42),s=r(68),c=r(88);n({target:"Object",stat:!0,sham:!o},{getOwnPropertyDescriptors:function(e){for(var t,r,n=i(e),o=s.f,l=a(n),u={},p=0;l.length>p;)void 0!==(r=o(n,t=l[p++]))&&c(u,t,r);return u}})},function(e,t,r){var n=r(43),o=r(141),a=r(142),i=r(31);e.exports=n("Reflect","ownKeys")||function(e){var t=o.f(i(e)),r=a.f;return r?t.concat(r(e)):t}},function(e,t,r){e.exports=r(335)},function(e,t,r){var n=r(196);e.exports=n},function(e,t,r){var n=r(16),o=r(37);e.exports=function(e,t){try{o(n,e,t)}catch(r){n[e]=t}return t}},function(e,t,r){"use strict";var n=r(202).IteratorPrototype,o=r(90),a=r(69),i=r(62),s=r(61),c=function(){return this};e.exports=function(e,t,r){var l=t+" Iterator";return e.prototype=o(n,{next:a(1,r)}),i(e,l,!1,!0),s[l]=c,e}},function(e,t,r){"use strict";var n=r(146),o=r(71);e.exports=n?{}.toString:function(){return"[object "+o(this)+"]"}},function(e,t,r){var n=r(17);e.exports=function(e){if(!n(e)&&null!==e)throw TypeError("Can't set "+String(e)+" as a prototype");return e}},function(e,t){e.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},function(e,t,r){var n=r(342);e.exports=n},function(e,t,r){r(343);var n=r(27);e.exports=n("Array").forEach},function(e,t,r){"use strict";var n=r(7),o=r(344);n({target:"Array",proto:!0,forced:[].forEach!=o},{forEach:o})},function(e,t,r){"use strict";var n=r(49).forEach,o=r(93),a=r(39),i=o("forEach"),s=a("forEach");e.exports=i&&s?[].forEach:function(e){return n(this,e,arguments.length>1?arguments[1]:void 0)}},function(e,t,r){var n=r(346);e.exports=n},function(e,t,r){r(347);var n=r(12).Object,o=e.exports=function(e,t){return n.getOwnPropertyDescriptor(e,t)};n.getOwnPropertyDescriptor.sham&&(o.sham=!0)},function(e,t,r){var n=r(7),o=r(13),a=r(42),i=r(68).f,s=r(22),c=o((function(){i(1)}));n({target:"Object",stat:!0,forced:!s||c,sham:!s},{getOwnPropertyDescriptor:function(e,t){return i(a(e),t)}})},function(e,t,r){e.exports=r(349)},function(e,t,r){var n=r(207);e.exports=n},function(e,t,r){r(351);var n=r(27);e.exports=n("Array").filter},function(e,t,r){"use strict";var n=r(7),o=r(49).filter,a=r(94),i=r(39),s=a("filter"),c=i("filter");n({target:"Array",proto:!0,forced:!s||!c},{filter:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},function(e,t,r){var n=r(353);e.exports=n},function(e,t,r){r(210);var n=r(12);e.exports=n.Object.getOwnPropertySymbols},function(e,t,r){var n=r(42),o=r(141).f,a={}.toString,i="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];e.exports.f=function(e){return i&&"[object Window]"==a.call(e)?function(e){try{return o(e)}catch(e){return i.slice()}}(e):o(n(e))}},function(e,t,r){var n=r(212);e.exports=n},function(e,t,r){var n=r(7),o=r(44),a=r(86);n({target:"Object",stat:!0,forced:r(13)((function(){a(1)}))},{keys:function(e){return a(o(e))}})},function(e,t,r){var n=r(358);e.exports=n},function(e,t,r){var n=r(359),o=Function.prototype;e.exports=function(e){var t=e.bind;return e===o||e instanceof Function&&t===o.bind?n:t}},function(e,t,r){r(360);var n=r(27);e.exports=n("Function").bind},function(e,t,r){r(7)({target:"Function",proto:!0},{bind:r(213)})},function(e,t,r){var n=r(51),o=r(364),a=r(36),i=r(217),s=/^\[object .+?Constructor\]$/,c=Function.prototype,l=Object.prototype,u=c.toString,p=l.hasOwnProperty,f=RegExp("^"+u.call(p).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!a(e)||o(e))&&(n(e)?f:s).test(i(e))}},function(e,t,r){var n=r(72),o=Object.prototype,a=o.hasOwnProperty,i=o.toString,s=n?n.toStringTag:void 0;e.exports=function(e){var t=a.call(e,s),r=e[s];try{e[s]=void 0;var n=!0}catch(e){}var o=i.call(e);return n&&(t?e[s]=r:delete e[s]),o}},function(e,t){var r=Object.prototype.toString;e.exports=function(e){return r.call(e)}},function(e,t,r){var n,o=r(365),a=(n=/[^.]+$/.exec(o&&o.keys&&o.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"";e.exports=function(e){return!!a&&a in e}},function(e,t,r){var n=r(45)["__core-js_shared__"];e.exports=n},function(e,t){e.exports=function(e,t){return null==e?void 0:e[t]}},function(e,t,r){var n=r(368),o=r(373);e.exports=function(e){return n((function(t,r){var n=-1,a=r.length,i=a>1?r[a-1]:void 0,s=a>2?r[2]:void 0;for(i=e.length>3&&"function"==typeof i?(a--,i):void 0,s&&o(r[0],r[1],s)&&(i=a<3?void 0:i,a=1),t=Object(t);++n0){if(++t>=800)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}},function(e,t,r){var n=r(116),o=r(73),a=r(117),i=r(36);e.exports=function(e,t,r){if(!i(r))return!1;var s=typeof t;return!!("number"==s?o(r)&&a(t,r.length):"string"==s&&t in r)&&n(r[t],e)}},function(e,t){e.exports=function(e,t){for(var r=-1,n=Array(e);++r=t?e:t)),e}},function(e,t){e.exports=function(e,t){for(var r=-1,n=null==e?0:e.length,o=Array(n);++r=0;--o){var a=this.tryEntries[o],i=a.completion;if("root"===a.tryLoc)return n("end");if(a.tryLoc<=this.prev){var s=r.call(a,"catchLoc"),c=r.call(a,"finallyLoc");if(s&&c){if(this.prev=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),w(r),l}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;w(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,r){return this.delegate={iterator:S(e),resultName:t,nextLoc:r},"next"===this.method&&(this.arg=void 0),l}},e}(e.exports);try{regeneratorRuntime=n}catch(e){Function("r","regeneratorRuntime = r")(n)}},function(e,t,r){var n=r(207);e.exports=n},function(e,t,r){r(55),r(75);var n=r(387);e.exports=n},function(e,t,r){var n=r(112),o=r(110),a=function(e){return function(t,r){var a,i,s=String(o(t)),c=n(r),l=s.length;return c<0||c>=l?e?"":void 0:(a=s.charCodeAt(c))<55296||a>56319||c+1===l||(i=s.charCodeAt(c+1))<56320||i>57343?e?s.charAt(c):a:e?s.slice(c,c+2):i-56320+(a-55296<<10)+65536}};e.exports={codeAt:a(!1),charAt:a(!0)}},function(e,t,r){var n=r(31),o=r(121);e.exports=function(e){var t=o(e);if("function"!=typeof t)throw TypeError(String(e)+" is not iterable");return n(t.call(e))}},function(e,t,r){var n=r(227);e.exports=n},function(e,t,r){r(7)({target:"Array",stat:!0},{isArray:r(92)})},function(e,t,r){e.exports=r(391)},function(e,t,r){r(55),r(75);var n=r(121);e.exports=n},function(e,t,r){var n=r(393);r(409),r(410),r(411),r(412),r(413),e.exports=n},function(e,t,r){r(228),r(157),r(210),r(394),r(395),r(396),r(397),r(229),r(398),r(399),r(400),r(401),r(402),r(403),r(404),r(405),r(406),r(407),r(408);var n=r(12);e.exports=n.Symbol},function(e,t,r){r(18)("asyncIterator")},function(e,t){},function(e,t,r){r(18)("hasInstance")},function(e,t,r){r(18)("isConcatSpreadable")},function(e,t,r){r(18)("match")},function(e,t,r){r(18)("matchAll")},function(e,t,r){r(18)("replace")},function(e,t,r){r(18)("search")},function(e,t,r){r(18)("species")},function(e,t,r){r(18)("split")},function(e,t,r){r(18)("toPrimitive")},function(e,t,r){r(18)("toStringTag")},function(e,t,r){r(18)("unscopables")},function(e,t,r){r(62)(Math,"Math",!0)},function(e,t,r){var n=r(16);r(62)(n.JSON,"JSON",!0)},function(e,t,r){r(18)("asyncDispose")},function(e,t,r){r(18)("dispose")},function(e,t,r){r(18)("observable")},function(e,t,r){r(18)("patternMatch")},function(e,t,r){r(18)("replaceAll")},function(e,t,r){var n=r(231);e.exports=n},function(e,t,r){var n=r(7),o=r(416);n({target:"Array",stat:!0,forced:!r(234)((function(e){Array.from(e)}))},{from:o})},function(e,t,r){"use strict";var n=r(85),o=r(44),a=r(232),i=r(233),s=r(54),c=r(88),l=r(121);e.exports=function(e){var t,r,u,p,f,d,h=o(e),v="function"==typeof this?this:Array,m=arguments.length,g=m>1?arguments[1]:void 0,y=void 0!==g,b=l(h),x=0;if(y&&(g=n(g,m>2?arguments[2]:void 0,2)),null==b||v==Array&&i(b))for(r=new v(t=s(h.length));t>x;x++)d=y?g(h[x],x):h[x],c(r,x,d);else for(f=(p=b.call(h)).next,r=new v;!(u=f.call(p)).done;x++)d=y?a(p,g,[u.value,x],!0):u.value,c(r,x,d);return r.length=x,r}},function(e,t,r){e.exports=r(418)},function(e,t,r){var n=r(235);e.exports=n},function(e,t,r){r(420);var n=r(27);e.exports=n("Array").slice},function(e,t,r){"use strict";var n=r(7),o=r(17),a=r(92),i=r(139),s=r(54),c=r(42),l=r(88),u=r(14),p=r(94),f=r(39),d=p("slice"),h=f("slice",{ACCESSORS:!0,0:0,1:2}),v=u("species"),m=[].slice,g=Math.max;n({target:"Array",proto:!0,forced:!d||!h},{slice:function(e,t){var r,n,u,p=c(this),f=s(p.length),d=i(e,f),h=i(void 0===t?f:t,f);if(a(p)&&("function"!=typeof(r=p.constructor)||r!==Array&&!a(r.prototype)?o(r)&&null===(r=r[v])&&(r=void 0):r=void 0,r===Array||void 0===r))return m.call(p,d,h);for(n=new(void 0===r?Array:r)(g(h-d,0)),u=0;du;)r=c[u++],n&&!i.call(s,r)||p.push(e?[r,s[r]]:s[r]);return p}};e.exports={entries:s(!0),values:s(!1)}},function(e,t,r){var n=r(426);e.exports=n},function(e,t,r){var n=r(427),o=Array.prototype;e.exports=function(e){var t=e.concat;return e===o||e instanceof Array&&t===o.concat?n:t}},function(e,t,r){r(228);var n=r(27);e.exports=n("Array").concat},function(e,t,r){var n=r(212);e.exports=n},function(e,t,r){var n=r(430);e.exports=n},function(e,t,r){var n=r(431),o=Array.prototype;e.exports=function(e){var t=e.map;return e===o||e instanceof Array&&t===o.map?n:t}},function(e,t,r){r(432);var n=r(27);e.exports=n("Array").map},function(e,t,r){"use strict";var n=r(7),o=r(49).map,a=r(94),i=r(39),s=a("map"),c=i("map");n({target:"Array",proto:!0,forced:!s||!c},{map:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},function(e,t,r){var n=r(434);e.exports=n},function(e,t,r){var n=r(435),o=Array.prototype;e.exports=function(e){var t=e.every;return e===o||e instanceof Array&&t===o.every?n:t}},function(e,t,r){r(436);var n=r(27);e.exports=n("Array").every},function(e,t,r){"use strict";var n=r(7),o=r(49).every,a=r(93),i=r(39),s=a("every"),c=i("every");n({target:"Array",proto:!0,forced:!s||!c},{every:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},function(e,t,r){var n=r(438);e.exports=n},function(e,t,r){r(439);var n=r(12);n.JSON||(n.JSON={stringify:JSON.stringify}),e.exports=function(e,t,r){return n.JSON.stringify.apply(null,arguments)}},function(e,t,r){var n=r(7),o=r(43),a=r(13),i=o("JSON","stringify"),s=/[\uD800-\uDFFF]/g,c=/^[\uD800-\uDBFF]$/,l=/^[\uDC00-\uDFFF]$/,u=function(e,t,r){var n=r.charAt(t-1),o=r.charAt(t+1);return c.test(e)&&!l.test(o)||l.test(e)&&!c.test(n)?"\\u"+e.charCodeAt(0).toString(16):e},p=a((function(){return'"\\udf06\\ud834"'!==i("\udf06\ud834")||'"\\udead"'!==i("\udead")}));i&&n({target:"JSON",stat:!0,forced:p},{stringify:function(e,t,r){var n=i.apply(null,arguments);return"string"==typeof n?n.replace(s,u):n}})},function(e,t,r){var n=r(441);e.exports=n},function(e,t,r){var n=r(442),o=Array.prototype;e.exports=function(e){var t=e.some;return e===o||e instanceof Array&&t===o.some?n:t}},function(e,t,r){r(443);var n=r(27);e.exports=n("Array").some},function(e,t,r){"use strict";var n=r(7),o=r(49).some,a=r(93),i=r(39),s=a("some"),c=i("some");n({target:"Array",proto:!0,forced:!s||!c},{some:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},function(e,t,r){var n=r(227);e.exports=n},function(e,t,r){e.exports=r(446)},function(e,t,r){var n=r(447);e.exports=n},function(e,t,r){r(229),r(75),r(55);var n=r(150);e.exports=n.f("iterator")},function(e,t,r){var n=r(156);e.exports=function(e){if(n(e))return e}},function(e,t,r){var n=r(226),o=r(237),a=r(122);e.exports=function(e,t){if(void 0!==a&&o(Object(e))){var r=[],i=!0,s=!1,c=void 0;try{for(var l,u=n(e);!(i=(l=u.next()).done)&&(r.push(l.value),!t||r.length!==t);i=!0);}catch(e){s=!0,c=e}finally{try{i||null==u.return||u.return()}finally{if(s)throw c}}return r}}},function(e,t,r){r(55),r(75);var n=r(451);e.exports=n},function(e,t,r){var n=r(71),o=r(14),a=r(61),i=o("iterator");e.exports=function(e){var t=Object(e);return void 0!==t[i]||"@@iterator"in t||a.hasOwnProperty(n(t))}},function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}},function(e,t,r){var n=r(231);e.exports=n},function(e,t,r){var n=r(455);e.exports=n},function(e,t,r){var n=r(456),o=Array.prototype;e.exports=function(e){var t=e.reduce;return e===o||e instanceof Array&&t===o.reduce?n:t}},function(e,t,r){r(457);var n=r(27);e.exports=n("Array").reduce},function(e,t,r){"use strict";var n=r(7),o=r(458).left,a=r(93),i=r(39),s=a("reduce"),c=i("reduce",{1:0});n({target:"Array",proto:!0,forced:!s||!c},{reduce:function(e){return o(this,e,arguments.length,arguments.length>1?arguments[1]:void 0)}})},function(e,t,r){var n=r(48),o=r(44),a=r(109),i=r(54),s=function(e){return function(t,r,s,c){n(r);var l=o(t),u=a(l),p=i(l.length),f=e?p-1:0,d=e?-1:1;if(s<2)for(;;){if(f in u){c=u[f],f+=d;break}if(f+=d,e?f<0:p<=f)throw TypeError("Reduce of empty array with no initial value")}for(;e?f>=0:p>f;f+=d)f in u&&(c=r(c,u[f],f,l));return c}};e.exports={left:s(!1),right:s(!0)}},function(e,t,r){r(55);var n=r(460),o=r(71),a=Array.prototype,i={DOMTokenList:!0,NodeList:!0};e.exports=function(e){var t=e.entries;return e===a||e instanceof Array&&t===a.entries||i.hasOwnProperty(o(e))?n:t}},function(e,t,r){var n=r(461);e.exports=n},function(e,t,r){r(197);var n=r(27);e.exports=n("Array").entries},function(e,t,r){var n=r(463);e.exports=n},function(e,t,r){var n=r(464),o=r(466),a=Array.prototype,i=String.prototype;e.exports=function(e){var t=e.includes;return e===a||e instanceof Array&&t===a.includes?n:"string"==typeof e||e===i||e instanceof String&&t===i.includes?o:t}},function(e,t,r){r(465);var n=r(27);e.exports=n("Array").includes},function(e,t,r){"use strict";var n=r(7),o=r(138).includes,a=r(143);n({target:"Array",proto:!0,forced:!r(39)("indexOf",{ACCESSORS:!0,1:0})},{includes:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),a("includes")},function(e,t,r){r(467);var n=r(27);e.exports=n("String").includes},function(e,t,r){"use strict";var n=r(7),o=r(468),a=r(110);n({target:"String",proto:!0,forced:!r(470)("includes")},{includes:function(e){return!!~String(a(this)).indexOf(o(e),arguments.length>1?arguments[1]:void 0)}})},function(e,t,r){var n=r(469);e.exports=function(e){if(n(e))throw TypeError("The method doesn't accept regular expressions");return e}},function(e,t,r){var n=r(17),o=r(60),a=r(14)("match");e.exports=function(e){var t;return n(e)&&(void 0!==(t=e[a])?!!t:"RegExp"==o(e))}},function(e,t,r){var n=r(14)("match");e.exports=function(e){var t=/./;try{"/./"[e](t)}catch(r){try{return t[n]=!1,"/./"[e](t)}catch(e){}}return!1}},function(e,t,r){var n=r(238);e.exports=n},function(e,t,r){r(473);var n=r(27);e.exports=n("Array").indexOf},function(e,t,r){"use strict";var n=r(7),o=r(138).indexOf,a=r(93),i=r(39),s=[].indexOf,c=!!s&&1/[1].indexOf(1,-0)<0,l=a("indexOf"),u=i("indexOf",{ACCESSORS:!0,1:0});n({target:"Array",proto:!0,forced:c||!l||!u},{indexOf:function(e){return c?s.apply(this,arguments)||0:o(this,e,arguments.length>1?arguments[1]:void 0)}})},function(e,t,r){e.exports=r(475)},function(e,t,r){var n=r(239);r(481),r(482),r(483),r(484),e.exports=n},function(e,t,r){"use strict";var n,o,a,i,s=r(7),c=r(70),l=r(16),u=r(43),p=r(240),f=r(91),d=r(159),h=r(62),v=r(477),m=r(17),g=r(48),y=r(160),b=r(60),x=r(199),w=r(76),k=r(234),S=r(241),A=r(242).set,O=r(478),E=r(244),D=r(479),C=r(97),j=r(123),_=r(56),T=r(193),I=r(14),F=r(149),P=I("species"),R="Promise",B=_.get,L=_.set,N=_.getterFor(R),M=p,q=l.TypeError,z=l.document,U=l.process,$=u("fetch"),H=C.f,W=H,V="process"==b(U),Y=!!(z&&z.createEvent&&l.dispatchEvent),K=T(R,(function(){if(!(x(M)!==String(M))){if(66===F)return!0;if(!V&&"function"!=typeof PromiseRejectionEvent)return!0}if(c&&!M.prototype.finally)return!0;if(F>=51&&/native code/.test(M))return!1;var e=M.resolve(1),t=function(e){e((function(){}),(function(){}))};return(e.constructor={})[P]=t,!(e.then((function(){}))instanceof t)})),G=K||!k((function(e){M.all(e).catch((function(){}))})),J=function(e){var t;return!(!m(e)||"function"!=typeof(t=e.then))&&t},Q=function(e,t,r){if(!t.notified){t.notified=!0;var n=t.reactions;O((function(){for(var o=t.value,a=1==t.state,i=0;n.length>i;){var s,c,l,u=n[i++],p=a?u.ok:u.fail,f=u.resolve,d=u.reject,h=u.domain;try{p?(a||(2===t.rejection&&te(e,t),t.rejection=1),!0===p?s=o:(h&&h.enter(),s=p(o),h&&(h.exit(),l=!0)),s===u.promise?d(q("Promise-chain cycle")):(c=J(s))?c.call(s,f,d):f(s)):d(o)}catch(e){h&&!l&&h.exit(),d(e)}}t.reactions=[],t.notified=!1,r&&!t.rejection&&Z(e,t)}))}},X=function(e,t,r){var n,o;Y?((n=z.createEvent("Event")).promise=t,n.reason=r,n.initEvent(e,!1,!0),l.dispatchEvent(n)):n={promise:t,reason:r},(o=l["on"+e])?o(n):"unhandledrejection"===e&&D("Unhandled promise rejection",r)},Z=function(e,t){A.call(l,(function(){var r,n=t.value;if(ee(t)&&(r=j((function(){V?U.emit("unhandledRejection",n,e):X("unhandledrejection",e,n)})),t.rejection=V||ee(t)?2:1,r.error))throw r.value}))},ee=function(e){return 1!==e.rejection&&!e.parent},te=function(e,t){A.call(l,(function(){V?U.emit("rejectionHandled",e):X("rejectionhandled",e,t.value)}))},re=function(e,t,r,n){return function(o){e(t,r,o,n)}},ne=function(e,t,r,n){t.done||(t.done=!0,n&&(t=n),t.value=r,t.state=2,Q(e,t,!0))},oe=function(e,t,r,n){if(!t.done){t.done=!0,n&&(t=n);try{if(e===r)throw q("Promise can't be resolved itself");var o=J(r);o?O((function(){var n={done:!1};try{o.call(r,re(oe,e,n,t),re(ne,e,n,t))}catch(r){ne(e,n,r,t)}})):(t.value=r,t.state=1,Q(e,t,!1))}catch(r){ne(e,{done:!1},r,t)}}};K&&(M=function(e){y(this,M,R),g(e),n.call(this);var t=B(this);try{e(re(oe,this,t),re(ne,this,t))}catch(e){ne(this,t,e)}},(n=function(e){L(this,{type:R,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=d(M.prototype,{then:function(e,t){var r=N(this),n=H(S(this,M));return n.ok="function"!=typeof e||e,n.fail="function"==typeof t&&t,n.domain=V?U.domain:void 0,r.parent=!0,r.reactions.push(n),0!=r.state&&Q(this,r,!1),n.promise},catch:function(e){return this.then(void 0,e)}}),o=function(){var e=new n,t=B(e);this.promise=e,this.resolve=re(oe,e,t),this.reject=re(ne,e,t)},C.f=H=function(e){return e===M||e===a?new o(e):W(e)},c||"function"!=typeof p||(i=p.prototype.then,f(p.prototype,"then",(function(e,t){var r=this;return new M((function(e,t){i.call(r,e,t)})).then(e,t)}),{unsafe:!0}),"function"==typeof $&&s({global:!0,enumerable:!0,forced:!0},{fetch:function(e){return E(M,$.apply(l,arguments))}}))),s({global:!0,wrap:!0,forced:K},{Promise:M}),h(M,R,!1,!0),v(R),a=u(R),s({target:R,stat:!0,forced:K},{reject:function(e){var t=H(this);return t.reject.call(void 0,e),t.promise}}),s({target:R,stat:!0,forced:c||K},{resolve:function(e){return E(c&&this===a?M:this,e)}}),s({target:R,stat:!0,forced:G},{all:function(e){var t=this,r=H(t),n=r.resolve,o=r.reject,a=j((function(){var r=g(t.resolve),a=[],i=0,s=1;w(e,(function(e){var c=i++,l=!1;a.push(void 0),s++,r.call(t,e).then((function(e){l||(l=!0,a[c]=e,--s||n(a))}),o)})),--s||n(a)}));return a.error&&o(a.value),r.promise},race:function(e){var t=this,r=H(t),n=r.reject,o=j((function(){var o=g(t.resolve);w(e,(function(e){o.call(t,e).then(r.resolve,n)}))}));return o.error&&n(o.value),r.promise}})},function(e,t,r){"use strict";var n=r(43),o=r(38),a=r(14),i=r(22),s=a("species");e.exports=function(e){var t=n(e),r=o.f;i&&t&&!t[s]&&r(t,s,{configurable:!0,get:function(){return this}})}},function(e,t,r){var n,o,a,i,s,c,l,u,p=r(16),f=r(68).f,d=r(60),h=r(242).set,v=r(243),m=p.MutationObserver||p.WebKitMutationObserver,g=p.process,y=p.Promise,b="process"==d(g),x=f(p,"queueMicrotask"),w=x&&x.value;w||(n=function(){var e,t;for(b&&(e=g.domain)&&e.exit();o;){t=o.fn,o=o.next;try{t()}catch(e){throw o?i():a=void 0,e}}a=void 0,e&&e.enter()},b?i=function(){g.nextTick(n)}:m&&!v?(s=!0,c=document.createTextNode(""),new m(n).observe(c,{characterData:!0}),i=function(){c.data=s=!s}):y&&y.resolve?(l=y.resolve(void 0),u=l.then,i=function(){u.call(l,n)}):i=function(){h.call(p,n)}),e.exports=w||function(e){var t={fn:e,next:void 0};a&&(a.next=t),o||(o=t,i()),a=t}},function(e,t,r){var n=r(16);e.exports=function(e,t){var r=n.console;r&&r.error&&(1===arguments.length?r.error(e):r.error(e,t))}},function(e,t,r){"use strict";var n=r(7),o=r(70),a=r(240),i=r(13),s=r(43),c=r(241),l=r(244),u=r(91);n({target:"Promise",proto:!0,real:!0,forced:!!a&&i((function(){a.prototype.finally.call({then:function(){}},(function(){}))}))},{finally:function(e){var t=c(this,s("Promise")),r="function"==typeof e;return this.then(r?function(r){return l(t,e()).then((function(){return r}))}:e,r?function(r){return l(t,e()).then((function(){throw r}))}:e)}}),o||"function"!=typeof a||a.prototype.finally||u(a.prototype,"finally",s("Promise").prototype.finally)},function(e,t,r){"use strict";var n=r(7),o=r(22),a=r(89),i=r(147),s=r(90),c=r(38),l=r(69),u=r(76),p=r(37),f=r(56),d=f.set,h=f.getterFor("AggregateError"),v=function(e,t){var r=this;if(!(r instanceof v))return new v(e,t);i&&(r=i(new Error(t),a(r)));var n=[];return u(e,n.push,n),o?d(r,{errors:n,type:"AggregateError"}):r.errors=n,void 0!==t&&p(r,"message",String(t)),r};v.prototype=s(Error.prototype,{constructor:l(5,v),message:l(5,""),name:l(5,"AggregateError")}),o&&c.f(v.prototype,"errors",{get:function(){return h(this).errors},configurable:!0}),n({global:!0},{AggregateError:v})},function(e,t,r){r(245)},function(e,t,r){"use strict";var n=r(7),o=r(97),a=r(123);n({target:"Promise",stat:!0},{try:function(e){var t=o.f(this),r=a(e);return(r.error?t.reject:t.resolve)(r.value),t.promise}})},function(e,t,r){"use strict";var n=r(7),o=r(48),a=r(43),i=r(97),s=r(123),c=r(76);n({target:"Promise",stat:!0},{any:function(e){var t=this,r=i.f(t),n=r.resolve,l=r.reject,u=s((function(){var r=o(t.resolve),i=[],s=0,u=1,p=!1;c(e,(function(e){var o=s++,c=!1;i.push(void 0),u++,r.call(t,e).then((function(e){c||p||(p=!0,n(e))}),(function(e){c||p||(c=!0,i[o]=e,--u||l(new(a("AggregateError"))(i,"No one promise resolved")))}))})),--u||l(new(a("AggregateError"))(i,"No one promise resolved"))}));return u.error&&l(u.value),r.promise}})},function(e,t){!function(e){!function(t){var r="URLSearchParams"in e,n="Symbol"in e&&"iterator"in Symbol,o="FileReader"in e&&"Blob"in e&&function(){try{return new Blob,!0}catch(e){return!1}}(),a="FormData"in e,i="ArrayBuffer"in e;if(i)var s=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],c=ArrayBuffer.isView||function(e){return e&&s.indexOf(Object.prototype.toString.call(e))>-1};function l(e){if("string"!=typeof e&&(e=String(e)),/[^a-z0-9\-#$%&'*+.^_`|~]/i.test(e))throw new TypeError("Invalid character in header field name");return e.toLowerCase()}function u(e){return"string"!=typeof e&&(e=String(e)),e}function p(e){var t={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return n&&(t[Symbol.iterator]=function(){return t}),t}function f(e){this.map={},e instanceof f?e.forEach((function(e,t){this.append(t,e)}),this):Array.isArray(e)?e.forEach((function(e){this.append(e[0],e[1])}),this):e&&Object.getOwnPropertyNames(e).forEach((function(t){this.append(t,e[t])}),this)}function d(e){if(e.bodyUsed)return Promise.reject(new TypeError("Already read"));e.bodyUsed=!0}function h(e){return new Promise((function(t,r){e.onload=function(){t(e.result)},e.onerror=function(){r(e.error)}}))}function v(e){var t=new FileReader,r=h(t);return t.readAsArrayBuffer(e),r}function m(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function g(){return this.bodyUsed=!1,this._initBody=function(e){var t;this._bodyInit=e,e?"string"==typeof e?this._bodyText=e:o&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:a&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:r&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():i&&o&&((t=e)&&DataView.prototype.isPrototypeOf(t))?(this._bodyArrayBuffer=m(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):i&&(ArrayBuffer.prototype.isPrototypeOf(e)||c(e))?this._bodyArrayBuffer=m(e):this._bodyText=e=Object.prototype.toString.call(e):this._bodyText="",this.headers.get("content-type")||("string"==typeof e?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):r&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},o&&(this.blob=function(){var e=d(this);if(e)return e;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?d(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(v)}),this.text=function(){var e,t,r,n=d(this);if(n)return n;if(this._bodyBlob)return e=this._bodyBlob,t=new FileReader,r=h(t),t.readAsText(e),r;if(this._bodyArrayBuffer)return Promise.resolve(function(e){for(var t=new Uint8Array(e),r=new Array(t.length),n=0;n-1?n:r),this.mode=t.mode||this.mode||null,this.signal=t.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&o)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(o)}function x(e){var t=new FormData;return e.trim().split("&").forEach((function(e){if(e){var r=e.split("="),n=r.shift().replace(/\+/g," "),o=r.join("=").replace(/\+/g," ");t.append(decodeURIComponent(n),decodeURIComponent(o))}})),t}function w(e,t){t||(t={}),this.type="default",this.status=void 0===t.status?200:t.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in t?t.statusText:"OK",this.headers=new f(t.headers),this.url=t.url||"",this._initBody(e)}b.prototype.clone=function(){return new b(this,{body:this._bodyInit})},g.call(b.prototype),g.call(w.prototype),w.prototype.clone=function(){return new w(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new f(this.headers),url:this.url})},w.error=function(){var e=new w(null,{status:0,statusText:""});return e.type="error",e};var k=[301,302,303,307,308];w.redirect=function(e,t){if(-1===k.indexOf(t))throw new RangeError("Invalid status code");return new w(null,{status:t,headers:{location:e}})},t.DOMException=e.DOMException;try{new t.DOMException}catch(e){t.DOMException=function(e,t){this.message=e,this.name=t;var r=Error(e);this.stack=r.stack},t.DOMException.prototype=Object.create(Error.prototype),t.DOMException.prototype.constructor=t.DOMException}function S(e,r){return new Promise((function(n,a){var i=new b(e,r);if(i.signal&&i.signal.aborted)return a(new t.DOMException("Aborted","AbortError"));var s=new XMLHttpRequest;function c(){s.abort()}s.onload=function(){var e,t,r={status:s.status,statusText:s.statusText,headers:(e=s.getAllResponseHeaders()||"",t=new f,e.replace(/\r?\n[\t ]+/g," ").split(/\r?\n/).forEach((function(e){var r=e.split(":"),n=r.shift().trim();if(n){var o=r.join(":").trim();t.append(n,o)}})),t)};r.url="responseURL"in s?s.responseURL:r.headers.get("X-Request-URL");var o="response"in s?s.response:s.responseText;n(new w(o,r))},s.onerror=function(){a(new TypeError("Network request failed"))},s.ontimeout=function(){a(new TypeError("Network request failed"))},s.onabort=function(){a(new t.DOMException("Aborted","AbortError"))},s.open(i.method,i.url,!0),"include"===i.credentials?s.withCredentials=!0:"omit"===i.credentials&&(s.withCredentials=!1),"responseType"in s&&o&&(s.responseType="blob"),i.headers.forEach((function(e,t){s.setRequestHeader(t,e)})),i.signal&&(i.signal.addEventListener("abort",c),s.onreadystatechange=function(){4===s.readyState&&i.signal.removeEventListener("abort",c)}),s.send(void 0===i._bodyInit?null:i._bodyInit)}))}S.polyfill=!0,e.fetch||(e.fetch=S,e.Headers=f,e.Request=b,e.Response=w),t.Headers=f,t.Request=b,t.Response=w,t.fetch=S}({})}("undefined"!=typeof self?self:this)},function(e,t,r){"use strict";var n=r(487),o=r(506);function a(e){return function(){throw new Error("Function "+e+" is deprecated and cannot be used.")}}e.exports.Type=r(20),e.exports.Schema=r(78),e.exports.FAILSAFE_SCHEMA=r(161),e.exports.JSON_SCHEMA=r(247),e.exports.CORE_SCHEMA=r(246),e.exports.DEFAULT_SAFE_SCHEMA=r(99),e.exports.DEFAULT_FULL_SCHEMA=r(124),e.exports.load=n.load,e.exports.loadAll=n.loadAll,e.exports.safeLoad=n.safeLoad,e.exports.safeLoadAll=n.safeLoadAll,e.exports.dump=o.dump,e.exports.safeDump=o.safeDump,e.exports.YAMLException=r(98),e.exports.MINIMAL_SCHEMA=r(161),e.exports.SAFE_SCHEMA=r(99),e.exports.DEFAULT_SCHEMA=r(124),e.exports.scan=a("scan"),e.exports.parse=a("parse"),e.exports.compose=a("compose"),e.exports.addConstructor=a("addConstructor")},function(e,t,r){"use strict";var n=r(77),o=r(98),a=r(488),i=r(99),s=r(124),c=Object.prototype.hasOwnProperty,l=/[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,u=/[\x85\u2028\u2029]/,p=/[,\[\]\{\}]/,f=/^(?:!|!!|![a-z\-]+!)$/i,d=/^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;function h(e){return Object.prototype.toString.call(e)}function v(e){return 10===e||13===e}function m(e){return 9===e||32===e}function g(e){return 9===e||32===e||10===e||13===e}function y(e){return 44===e||91===e||93===e||123===e||125===e}function b(e){var t;return 48<=e&&e<=57?e-48:97<=(t=32|e)&&t<=102?t-97+10:-1}function x(e){return 48===e?"\0":97===e?"":98===e?"\b":116===e||9===e?"\t":110===e?"\n":118===e?"\v":102===e?"\f":114===e?"\r":101===e?"":32===e?" ":34===e?'"':47===e?"/":92===e?"\\":78===e?"…":95===e?" ":76===e?"\u2028":80===e?"\u2029":""}function w(e){return e<=65535?String.fromCharCode(e):String.fromCharCode(55296+(e-65536>>10),56320+(e-65536&1023))}for(var k=new Array(256),S=new Array(256),A=0;A<256;A++)k[A]=x(A)?1:0,S[A]=x(A);function O(e,t){this.input=e,this.filename=t.filename||null,this.schema=t.schema||s,this.onWarning=t.onWarning||null,this.legacy=t.legacy||!1,this.json=t.json||!1,this.listener=t.listener||null,this.implicitTypes=this.schema.compiledImplicit,this.typeMap=this.schema.compiledTypeMap,this.length=e.length,this.position=0,this.line=0,this.lineStart=0,this.lineIndent=0,this.documents=[]}function E(e,t){return new o(t,new a(e.filename,e.input,e.position,e.line,e.position-e.lineStart))}function D(e,t){throw E(e,t)}function C(e,t){e.onWarning&&e.onWarning.call(null,E(e,t))}var j={YAML:function(e,t,r){var n,o,a;null!==e.version&&D(e,"duplication of %YAML directive"),1!==r.length&&D(e,"YAML directive accepts exactly one argument"),null===(n=/^([0-9]+)\.([0-9]+)$/.exec(r[0]))&&D(e,"ill-formed argument of the YAML directive"),o=parseInt(n[1],10),a=parseInt(n[2],10),1!==o&&D(e,"unacceptable YAML version of the document"),e.version=r[0],e.checkLineBreaks=a<2,1!==a&&2!==a&&C(e,"unsupported YAML version of the document")},TAG:function(e,t,r){var n,o;2!==r.length&&D(e,"TAG directive accepts exactly two arguments"),n=r[0],o=r[1],f.test(n)||D(e,"ill-formed tag handle (first argument) of the TAG directive"),c.call(e.tagMap,n)&&D(e,'there is a previously declared suffix for "'+n+'" tag handle'),d.test(o)||D(e,"ill-formed tag prefix (second argument) of the TAG directive"),e.tagMap[n]=o}};function _(e,t,r,n){var o,a,i,s;if(t1&&(e.result+=n.repeat("\n",t-1))}function L(e,t){var r,n,o=e.tag,a=e.anchor,i=[],s=!1;for(null!==e.anchor&&(e.anchorMap[e.anchor]=i),n=e.input.charCodeAt(e.position);0!==n&&45===n&&g(e.input.charCodeAt(e.position+1));)if(s=!0,e.position++,P(e,!0,-1)&&e.lineIndent<=t)i.push(null),n=e.input.charCodeAt(e.position);else if(r=e.line,q(e,t,3,!1,!0),i.push(e.result),P(e,!0,-1),n=e.input.charCodeAt(e.position),(e.line===r||e.lineIndent>t)&&0!==n)D(e,"bad indentation of a sequence entry");else if(e.lineIndentt?x=1:e.lineIndent===t?x=0:e.lineIndentt?x=1:e.lineIndent===t?x=0:e.lineIndentt)&&(q(e,t,4,!0,o)&&(v?d=e.result:h=e.result),v||(I(e,u,p,f,d,h,a,i),f=d=h=null),P(e,!0,-1),s=e.input.charCodeAt(e.position)),e.lineIndent>t&&0!==s)D(e,"bad indentation of a mapping entry");else if(e.lineIndent=0))break;0===a?D(e,"bad explicit indentation width of a block scalar; it cannot be less than one"):u?D(e,"repeat of an indentation width identifier"):(p=t+a-1,u=!0)}if(m(i)){do{i=e.input.charCodeAt(++e.position)}while(m(i));if(35===i)do{i=e.input.charCodeAt(++e.position)}while(!v(i)&&0!==i)}for(;0!==i;){for(F(e),e.lineIndent=0,i=e.input.charCodeAt(e.position);(!u||e.lineIndentp&&(p=e.lineIndent),v(i))f++;else{if(e.lineIndent0){for(o=i,a=0;o>0;o--)(i=b(s=e.input.charCodeAt(++e.position)))>=0?a=(a<<4)+i:D(e,"expected hexadecimal character");e.result+=w(a),e.position++}else D(e,"unknown escape sequence");r=n=e.position}else v(s)?(_(e,r,n,!0),B(e,P(e,!1,t)),r=n=e.position):e.position===e.lineStart&&R(e)?D(e,"unexpected end of the document within a double quoted scalar"):(e.position++,n=e.position)}D(e,"unexpected end of the stream within a double quoted scalar")}(e,d)?O=!0:!function(e){var t,r,n;if(42!==(n=e.input.charCodeAt(e.position)))return!1;for(n=e.input.charCodeAt(++e.position),t=e.position;0!==n&&!g(n)&&!y(n);)n=e.input.charCodeAt(++e.position);return e.position===t&&D(e,"name of an alias node must contain at least one character"),r=e.input.slice(t,e.position),e.anchorMap.hasOwnProperty(r)||D(e,'unidentified alias "'+r+'"'),e.result=e.anchorMap[r],P(e,!0,-1),!0}(e)?function(e,t,r){var n,o,a,i,s,c,l,u,p=e.kind,f=e.result;if(g(u=e.input.charCodeAt(e.position))||y(u)||35===u||38===u||42===u||33===u||124===u||62===u||39===u||34===u||37===u||64===u||96===u)return!1;if((63===u||45===u)&&(g(n=e.input.charCodeAt(e.position+1))||r&&y(n)))return!1;for(e.kind="scalar",e.result="",o=a=e.position,i=!1;0!==u;){if(58===u){if(g(n=e.input.charCodeAt(e.position+1))||r&&y(n))break}else if(35===u){if(g(e.input.charCodeAt(e.position-1)))break}else{if(e.position===e.lineStart&&R(e)||r&&y(u))break;if(v(u)){if(s=e.line,c=e.lineStart,l=e.lineIndent,P(e,!1,-1),e.lineIndent>=t){i=!0,u=e.input.charCodeAt(e.position);continue}e.position=a,e.line=s,e.lineStart=c,e.lineIndent=l;break}}i&&(_(e,o,a,!1),B(e,e.line-s),o=a=e.position,i=!1),m(u)||(a=e.position+1),u=e.input.charCodeAt(++e.position)}return _(e,o,a,!1),!!e.result||(e.kind=p,e.result=f,!1)}(e,d,1===r)&&(O=!0,null===e.tag&&(e.tag="?")):(O=!0,null===e.tag&&null===e.anchor||D(e,"alias node should not have any properties")),null!==e.anchor&&(e.anchorMap[e.anchor]=e.result)):0===x&&(O=l&&L(e,h))),null!==e.tag&&"!"!==e.tag)if("?"===e.tag){for(null!==e.result&&"scalar"!==e.kind&&D(e,'unacceptable node kind for ! tag; it should be "scalar", not "'+e.kind+'"'),u=0,p=e.implicitTypes.length;u tag; it should be "'+f.kind+'", not "'+e.kind+'"'),f.resolve(e.result)?(e.result=f.construct(e.result),null!==e.anchor&&(e.anchorMap[e.anchor]=e.result)):D(e,"cannot resolve a node with !<"+e.tag+"> explicit tag")):D(e,"unknown tag !<"+e.tag+">");return null!==e.listener&&e.listener("close",e),null!==e.tag||null!==e.anchor||O}function z(e){var t,r,n,o,a=e.position,i=!1;for(e.version=null,e.checkLineBreaks=e.legacy,e.tagMap={},e.anchorMap={};0!==(o=e.input.charCodeAt(e.position))&&(P(e,!0,-1),o=e.input.charCodeAt(e.position),!(e.lineIndent>0||37!==o));){for(i=!0,o=e.input.charCodeAt(++e.position),t=e.position;0!==o&&!g(o);)o=e.input.charCodeAt(++e.position);for(n=[],(r=e.input.slice(t,e.position)).length<1&&D(e,"directive name must not be less than one character in length");0!==o;){for(;m(o);)o=e.input.charCodeAt(++e.position);if(35===o){do{o=e.input.charCodeAt(++e.position)}while(0!==o&&!v(o));break}if(v(o))break;for(t=e.position;0!==o&&!g(o);)o=e.input.charCodeAt(++e.position);n.push(e.input.slice(t,e.position))}0!==o&&F(e),c.call(j,r)?j[r](e,r,n):C(e,'unknown document directive "'+r+'"')}P(e,!0,-1),0===e.lineIndent&&45===e.input.charCodeAt(e.position)&&45===e.input.charCodeAt(e.position+1)&&45===e.input.charCodeAt(e.position+2)?(e.position+=3,P(e,!0,-1)):i&&D(e,"directives end mark is expected"),q(e,e.lineIndent-1,4,!1,!0),P(e,!0,-1),e.checkLineBreaks&&u.test(e.input.slice(a,e.position))&&C(e,"non-ASCII line breaks are interpreted as content"),e.documents.push(e.result),e.position===e.lineStart&&R(e)?46===e.input.charCodeAt(e.position)&&(e.position+=3,P(e,!0,-1)):e.position0&&-1==="\0\r\n…\u2028\u2029".indexOf(this.buffer.charAt(o-1));)if(o-=1,this.position-o>t/2-1){r=" ... ",o+=5;break}for(a="",i=this.position;it/2-1){a=" ... ",i-=5;break}return s=this.buffer.slice(o,i),n.repeat(" ",e)+r+s+a+"\n"+n.repeat(" ",e+this.position-o+r.length)+"^"},o.prototype.toString=function(e){var t,r="";return this.name&&(r+='in "'+this.name+'" '),r+="at line "+(this.line+1)+", column "+(this.column+1),e||(t=this.getSnippet())&&(r+=":\n"+t),r},e.exports=o},function(e,t,r){"use strict";var n=r(20);e.exports=new n("tag:yaml.org,2002:str",{kind:"scalar",construct:function(e){return null!==e?e:""}})},function(e,t,r){"use strict";var n=r(20);e.exports=new n("tag:yaml.org,2002:seq",{kind:"sequence",construct:function(e){return null!==e?e:[]}})},function(e,t,r){"use strict";var n=r(20);e.exports=new n("tag:yaml.org,2002:map",{kind:"mapping",construct:function(e){return null!==e?e:{}}})},function(e,t,r){"use strict";var n=r(20);e.exports=new n("tag:yaml.org,2002:null",{kind:"scalar",resolve:function(e){if(null===e)return!0;var t=e.length;return 1===t&&"~"===e||4===t&&("null"===e||"Null"===e||"NULL"===e)},construct:function(){return null},predicate:function(e){return null===e},represent:{canonical:function(){return"~"},lowercase:function(){return"null"},uppercase:function(){return"NULL"},camelcase:function(){return"Null"}},defaultStyle:"lowercase"})},function(e,t,r){"use strict";var n=r(20);e.exports=new n("tag:yaml.org,2002:bool",{kind:"scalar",resolve:function(e){if(null===e)return!1;var t=e.length;return 4===t&&("true"===e||"True"===e||"TRUE"===e)||5===t&&("false"===e||"False"===e||"FALSE"===e)},construct:function(e){return"true"===e||"True"===e||"TRUE"===e},predicate:function(e){return"[object Boolean]"===Object.prototype.toString.call(e)},represent:{lowercase:function(e){return e?"true":"false"},uppercase:function(e){return e?"TRUE":"FALSE"},camelcase:function(e){return e?"True":"False"}},defaultStyle:"lowercase"})},function(e,t,r){"use strict";var n=r(77),o=r(20);function a(e){return 48<=e&&e<=55}function i(e){return 48<=e&&e<=57}e.exports=new o("tag:yaml.org,2002:int",{kind:"scalar",resolve:function(e){if(null===e)return!1;var t,r,n=e.length,o=0,s=!1;if(!n)return!1;if("-"!==(t=e[o])&&"+"!==t||(t=e[++o]),"0"===t){if(o+1===n)return!0;if("b"===(t=e[++o])){for(o++;o=0?"0b"+e.toString(2):"-0b"+e.toString(2).slice(1)},octal:function(e){return e>=0?"0"+e.toString(8):"-0"+e.toString(8).slice(1)},decimal:function(e){return e.toString(10)},hexadecimal:function(e){return e>=0?"0x"+e.toString(16).toUpperCase():"-0x"+e.toString(16).toUpperCase().slice(1)}},defaultStyle:"decimal",styleAliases:{binary:[2,"bin"],octal:[8,"oct"],decimal:[10,"dec"],hexadecimal:[16,"hex"]}})},function(e,t,r){"use strict";var n=r(77),o=r(20),a=new RegExp("^(?:[-+]?(?:0|[1-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+\\.[0-9_]*|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$");var i=/^[-+]?[0-9]+e/;e.exports=new o("tag:yaml.org,2002:float",{kind:"scalar",resolve:function(e){return null!==e&&!(!a.test(e)||"_"===e[e.length-1])},construct:function(e){var t,r,n,o;return r="-"===(t=e.replace(/_/g,"").toLowerCase())[0]?-1:1,o=[],"+-".indexOf(t[0])>=0&&(t=t.slice(1)),".inf"===t?1===r?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY:".nan"===t?NaN:t.indexOf(":")>=0?(t.split(":").forEach((function(e){o.unshift(parseFloat(e,10))})),t=0,n=1,o.forEach((function(e){t+=e*n,n*=60})),r*t):r*parseFloat(t,10)},predicate:function(e){return"[object Number]"===Object.prototype.toString.call(e)&&(e%1!=0||n.isNegativeZero(e))},represent:function(e,t){var r;if(isNaN(e))switch(t){case"lowercase":return".nan";case"uppercase":return".NAN";case"camelcase":return".NaN"}else if(Number.POSITIVE_INFINITY===e)switch(t){case"lowercase":return".inf";case"uppercase":return".INF";case"camelcase":return".Inf"}else if(Number.NEGATIVE_INFINITY===e)switch(t){case"lowercase":return"-.inf";case"uppercase":return"-.INF";case"camelcase":return"-.Inf"}else if(n.isNegativeZero(e))return"-0.0";return r=e.toString(10),i.test(r)?r.replace("e",".e"):r},defaultStyle:"lowercase"})},function(e,t,r){"use strict";var n=r(20),o=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"),a=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:[Tt]|[ \\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\.([0-9]*))?(?:[ \\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?$");e.exports=new n("tag:yaml.org,2002:timestamp",{kind:"scalar",resolve:function(e){return null!==e&&(null!==o.exec(e)||null!==a.exec(e))},construct:function(e){var t,r,n,i,s,c,l,u,p=0,f=null;if(null===(t=o.exec(e))&&(t=a.exec(e)),null===t)throw new Error("Date resolve error");if(r=+t[1],n=+t[2]-1,i=+t[3],!t[4])return new Date(Date.UTC(r,n,i));if(s=+t[4],c=+t[5],l=+t[6],t[7]){for(p=t[7].slice(0,3);p.length<3;)p+="0";p=+p}return t[9]&&(f=6e4*(60*+t[10]+ +(t[11]||0)),"-"===t[9]&&(f=-f)),u=new Date(Date.UTC(r,n,i,s,c,l,p)),f&&u.setTime(u.getTime()-f),u},instanceOf:Date,represent:function(e){return e.toISOString()}})},function(e,t,r){"use strict";var n=r(20);e.exports=new n("tag:yaml.org,2002:merge",{kind:"scalar",resolve:function(e){return"<<"===e||null===e}})},function(e,t,r){"use strict";var n;try{n=r(33).Buffer}catch(e){}var o=r(20),a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=\n\r";e.exports=new o("tag:yaml.org,2002:binary",{kind:"scalar",resolve:function(e){if(null===e)return!1;var t,r,n=0,o=e.length,i=a;for(r=0;r64)){if(t<0)return!1;n+=6}return n%8==0},construct:function(e){var t,r,o=e.replace(/[\r\n=]/g,""),i=o.length,s=a,c=0,l=[];for(t=0;t>16&255),l.push(c>>8&255),l.push(255&c)),c=c<<6|s.indexOf(o.charAt(t));return 0===(r=i%4*6)?(l.push(c>>16&255),l.push(c>>8&255),l.push(255&c)):18===r?(l.push(c>>10&255),l.push(c>>2&255)):12===r&&l.push(c>>4&255),n?n.from?n.from(l):new n(l):l},predicate:function(e){return n&&n.isBuffer(e)},represent:function(e){var t,r,n="",o=0,i=e.length,s=a;for(t=0;t>18&63],n+=s[o>>12&63],n+=s[o>>6&63],n+=s[63&o]),o=(o<<8)+e[t];return 0===(r=i%3)?(n+=s[o>>18&63],n+=s[o>>12&63],n+=s[o>>6&63],n+=s[63&o]):2===r?(n+=s[o>>10&63],n+=s[o>>4&63],n+=s[o<<2&63],n+=s[64]):1===r&&(n+=s[o>>2&63],n+=s[o<<4&63],n+=s[64],n+=s[64]),n}})},function(e,t,r){"use strict";var n=r(20),o=Object.prototype.hasOwnProperty,a=Object.prototype.toString;e.exports=new n("tag:yaml.org,2002:omap",{kind:"sequence",resolve:function(e){if(null===e)return!0;var t,r,n,i,s,c=[],l=e;for(t=0,r=l.length;t3)return!1;if("/"!==t[t.length-n.length-1])return!1}return!0},construct:function(e){var t=e,r=/\/([gim]*)$/.exec(e),n="";return"/"===t[0]&&(r&&(n=r[1]),t=t.slice(1,t.length-n.length-1)),new RegExp(t,n)},predicate:function(e){return"[object RegExp]"===Object.prototype.toString.call(e)},represent:function(e){var t="/"+e.source+"/";return e.global&&(t+="g"),e.multiline&&(t+="m"),e.ignoreCase&&(t+="i"),t}})},function(e,t,r){"use strict";var n;try{n=r(505)}catch(e){"undefined"!=typeof window&&(n=window.esprima)}var o=r(20);e.exports=new o("tag:yaml.org,2002:js/function",{kind:"scalar",resolve:function(e){if(null===e)return!1;try{var t="("+e+")",r=n.parse(t,{range:!0});return"Program"===r.type&&1===r.body.length&&"ExpressionStatement"===r.body[0].type&&("ArrowFunctionExpression"===r.body[0].expression.type||"FunctionExpression"===r.body[0].expression.type)}catch(e){return!1}},construct:function(e){var t,r="("+e+")",o=n.parse(r,{range:!0}),a=[];if("Program"!==o.type||1!==o.body.length||"ExpressionStatement"!==o.body[0].type||"ArrowFunctionExpression"!==o.body[0].expression.type&&"FunctionExpression"!==o.body[0].expression.type)throw new Error("Failed to resolve function");return o.body[0].expression.params.forEach((function(e){a.push(e.name)})),t=o.body[0].expression.body.range,"BlockStatement"===o.body[0].expression.body.type?new Function(a,r.slice(t[0]+1,t[1]-1)):new Function(a,"return "+r.slice(t[0],t[1]))},predicate:function(e){return"[object Function]"===Object.prototype.toString.call(e)},represent:function(e){return e.toString()}})},function(e,t){if("undefined"==typeof esprima){var r=new Error("Cannot find module 'esprima'");throw r.code="MODULE_NOT_FOUND",r}e.exports=esprima},function(e,t,r){"use strict";var n=r(77),o=r(98),a=r(124),i=r(99),s=Object.prototype.toString,c=Object.prototype.hasOwnProperty,l={0:"\\0",7:"\\a",8:"\\b",9:"\\t",10:"\\n",11:"\\v",12:"\\f",13:"\\r",27:"\\e",34:'\\"',92:"\\\\",133:"\\N",160:"\\_",8232:"\\L",8233:"\\P"},u=["y","Y","yes","Yes","YES","on","On","ON","n","N","no","No","NO","off","Off","OFF"];function p(e){var t,r,a;if(t=e.toString(16).toUpperCase(),e<=255)r="x",a=2;else if(e<=65535)r="u",a=4;else{if(!(e<=4294967295))throw new o("code point within a string may not be greater than 0xFFFFFFFF");r="U",a=8}return"\\"+r+n.repeat("0",a-t.length)+t}function f(e){this.schema=e.schema||a,this.indent=Math.max(1,e.indent||2),this.noArrayIndent=e.noArrayIndent||!1,this.skipInvalid=e.skipInvalid||!1,this.flowLevel=n.isNothing(e.flowLevel)?-1:e.flowLevel,this.styleMap=function(e,t){var r,n,o,a,i,s,l;if(null===t)return{};for(r={},o=0,a=(n=Object.keys(t)).length;o0?e.charCodeAt(a-1):null,d=d&&g(i,s)}else{for(a=0;an&&" "!==e[f+1],f=a);else if(!m(i))return 5;s=a>0?e.charCodeAt(a-1):null,d=d&&g(i,s)}u=u||p&&a-f-1>n&&" "!==e[f+1]}return l||u?r>9&&y(e)?5:u?4:3:d&&!o(e)?1:2}function x(e,t,r,n){e.dump=function(){if(0===t.length)return"''";if(!e.noCompatMode&&-1!==u.indexOf(t))return"'"+t+"'";var a=e.indent*Math.max(1,r),i=-1===e.lineWidth?-1:Math.max(Math.min(e.lineWidth,40),e.lineWidth-a),s=n||e.flowLevel>-1&&r>=e.flowLevel;switch(b(t,s,e.indent,i,(function(t){return function(e,t){var r,n;for(r=0,n=e.implicitTypes.length;r"+w(t,e.indent)+k(d(function(e,t){var r,n,o=/(\n+)([^\n]*)/g,a=(s=e.indexOf("\n"),s=-1!==s?s:e.length,o.lastIndex=s,S(e.slice(0,s),t)),i="\n"===e[0]||" "===e[0];var s;for(;n=o.exec(e);){var c=n[1],l=n[2];r=" "===l[0],a+=c+(i||r||""===l?"":"\n")+S(l,t),i=r}return a}(t,i),a));case 5:return'"'+function(e){for(var t,r,n,o="",a=0;a=55296&&t<=56319&&(r=e.charCodeAt(a+1))>=56320&&r<=57343?(o+=p(1024*(t-55296)+r-56320+65536),a++):(n=l[t],o+=!n&&m(t)?e[a]:n||p(t));return o}(t)+'"';default:throw new o("impossible error: invalid scalar style")}}()}function w(e,t){var r=y(e)?String(t):"",n="\n"===e[e.length-1];return r+(n&&("\n"===e[e.length-2]||"\n"===e)?"+":n?"":"-")+"\n"}function k(e){return"\n"===e[e.length-1]?e.slice(0,-1):e}function S(e,t){if(""===e||" "===e[0])return e;for(var r,n,o=/ [^ ]/g,a=0,i=0,s=0,c="";r=o.exec(e);)(s=r.index)-a>t&&(n=i>a?i:s,c+="\n"+e.slice(a,n),a=n+1),i=s;return c+="\n",e.length-a>t&&i>a?c+=e.slice(a,i)+"\n"+e.slice(i+1):c+=e.slice(a),c.slice(1)}function A(e,t,r){var n,a,i,l,u,p;for(i=0,l=(a=r?e.explicitTypes:e.implicitTypes).length;i tag resolver accepts not "'+p+'" style');n=u.represent[p](t,p)}e.dump=n}return!0}return!1}function O(e,t,r,n,a,i){e.tag=null,e.dump=r,A(e,r,!1)||A(e,r,!0);var c=s.call(e.dump);n&&(n=e.flowLevel<0||e.flowLevel>t);var l,u,p="[object Object]"===c||"[object Array]"===c;if(p&&(u=-1!==(l=e.duplicates.indexOf(r))),(null!==e.tag&&"?"!==e.tag||u||2!==e.indent&&t>0)&&(a=!1),u&&e.usedDuplicates[l])e.dump="*ref_"+l;else{if(p&&u&&!e.usedDuplicates[l]&&(e.usedDuplicates[l]=!0),"[object Object]"===c)n&&0!==Object.keys(e.dump).length?(!function(e,t,r,n){var a,i,s,c,l,u,p="",f=e.tag,d=Object.keys(r);if(!0===e.sortKeys)d.sort();else if("function"==typeof e.sortKeys)d.sort(e.sortKeys);else if(e.sortKeys)throw new o("sortKeys must be a boolean or a function");for(a=0,i=d.length;a1024)&&(e.dump&&10===e.dump.charCodeAt(0)?u+="?":u+="? "),u+=e.dump,l&&(u+=h(e,t)),O(e,t+1,c,!0,l)&&(e.dump&&10===e.dump.charCodeAt(0)?u+=":":u+=": ",p+=u+=e.dump));e.tag=f,e.dump=p||"{}"}(e,t,e.dump,a),u&&(e.dump="&ref_"+l+e.dump)):(!function(e,t,r){var n,o,a,i,s,c="",l=e.tag,u=Object.keys(r);for(n=0,o=u.length;n1024&&(s+="? "),s+=e.dump+(e.condenseFlow?'"':"")+":"+(e.condenseFlow?"":" "),O(e,t,i,!1,!1)&&(c+=s+=e.dump));e.tag=l,e.dump="{"+c+"}"}(e,t,e.dump),u&&(e.dump="&ref_"+l+" "+e.dump));else if("[object Array]"===c){var f=e.noArrayIndent&&t>0?t-1:t;n&&0!==e.dump.length?(!function(e,t,r,n){var o,a,i="",s=e.tag;for(o=0,a=r.length;o "+e.dump)}return!0}function E(e,t){var r,n,o=[],a=[];for(function e(t,r,n){var o,a,i;if(null!==t&&"object"==typeof t)if(-1!==(a=r.indexOf(t)))-1===n.indexOf(a)&&n.push(a);else if(r.push(t),Array.isArray(t))for(a=0,i=t.length;a-1}},function(e,t,r){var n=r(128);e.exports=function(e,t){var r=this.__data__,o=n(r,e);return o<0?(++this.size,r.push([e,t])):r[o][1]=t,this}},function(e,t,r){var n=r(129);e.exports=function(e){var t=n(this,e).delete(e);return this.size-=t?1:0,t}},function(e,t){e.exports=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}},function(e,t,r){var n=r(129);e.exports=function(e){return n(this,e).get(e)}},function(e,t,r){var n=r(129);e.exports=function(e){return n(this,e).has(e)}},function(e,t,r){var n=r(129);e.exports=function(e,t){var r=n(this,e),o=r.size;return r.set(e,t),this.size+=r.size==o?0:1,this}},function(e,t,r){var n=r(115),o=r(125),a=r(117),i=r(36),s=r(100);e.exports=function(e,t,r,c){if(!i(e))return e;for(var l=-1,u=(t=o(t,e)).length,p=u-1,f=e;null!=f&&++l0&&a(u)?r>1?e(u,r-1,a,i,s):n(s,u):i||(s[s.length]=u)}return s}},function(e,t,r){var n=r(72),o=r(118),a=r(32),i=n?n.isConcatSpreadable:void 0;e.exports=function(e){return a(e)||o(e)||!!(i&&e&&e[i])}},function(e,t,r){var n=r(537);e.exports=n},function(e,t,r){var n=r(538),o=Array.prototype;e.exports=function(e){var t=e.find;return e===o||e instanceof Array&&t===o.find?n:t}},function(e,t,r){r(539);var n=r(27);e.exports=n("Array").find},function(e,t,r){"use strict";var n=r(7),o=r(49).find,a=r(143),i=r(39),s=!0,c=i("find");"find"in[]&&Array(1).find((function(){s=!1})),n({target:"Array",proto:!0,forced:s||!c},{find:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),a("find")},function(e,t,r){e.exports=r(541)},function(e,t,r){var n=r(542);e.exports=n},function(e,t,r){r(543);var n=r(12);e.exports=n.Reflect.get},function(e,t,r){var n=r(7),o=r(17),a=r(31),i=r(30),s=r(68),c=r(89);n({target:"Reflect",stat:!0},{get:function e(t,r){var n,l,u=arguments.length<3?t:arguments[2];return a(t)===u?t[r]:(n=s.f(t,r))?i(n,"value")?n.value:void 0===n.get?void 0:n.get.call(u):o(l=c(t))?e(l,r,u):void 0}})},function(e,t,r){var n=r(130);e.exports=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=n(e)););return e}},function(e,t,r){e.exports=r(546)},function(e,t,r){var n=r(547);e.exports=n},function(e,t,r){r(548);var n=r(12);e.exports=n.Object.getPrototypeOf},function(e,t,r){var n=r(7),o=r(13),a=r(44),i=r(89),s=r(203);n({target:"Object",stat:!0,forced:o((function(){i(1)})),sham:!s},{getPrototypeOf:function(e){return i(a(e))}})},function(e,t,r){var n=r(550);e.exports=n},function(e,t,r){r(551);var n=r(12);e.exports=n.Object.setPrototypeOf},function(e,t,r){r(7)({target:"Object",stat:!0},{setPrototypeOf:r(147)})},function(e,t,r){e.exports=r(553)},function(e,t,r){var n=r(250);e.exports=n},function(e,t,r){r(7)({target:"Object",stat:!0,sham:!r(22)},{create:r(90)})},function(e,t,r){var n=r(249);function o(t,r){return e.exports=o=n||function(e,t){return e.__proto__=t,e},o(t,r)}e.exports=o},function(e,t,r){var n=r(557);e.exports=n},function(e,t,r){r(558);var n=r(12);e.exports=n.Reflect.construct},function(e,t,r){var n=r(7),o=r(43),a=r(48),i=r(31),s=r(17),c=r(90),l=r(213),u=r(13),p=o("Reflect","construct"),f=u((function(){function e(){}return!(p((function(){}),[],e)instanceof e)})),d=!u((function(){p((function(){}))})),h=f||d;n({target:"Reflect",stat:!0,forced:h,sham:h},{construct:function(e,t){a(e),i(t);var r=arguments.length<3?e:a(arguments[2]);if(d&&!f)return p(e,t,r);if(e==r){switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3])}var n=[null];return n.push.apply(n,t),new(l.apply(e,n))}var o=r.prototype,u=c(s(o)?o:Object.prototype),h=Function.apply.call(e,u,t);return s(h)?h:u}})},function(e,t,r){var n=r(251);e.exports=function(){if("undefined"==typeof Reflect||!n)return!1;if(n.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(n(Date,[],(function(){}))),!0}catch(e){return!1}}},function(e,t,r){var n=r(10),o=r(561);e.exports=function(e,t){return!t||"object"!==n(t)&&"function"!=typeof t?o(e):t}},function(e,t){e.exports=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}},function(e,t,r){var n=r(235);e.exports=n},function(e,t,r){var n=r(156),o=r(236);e.exports=function(e){if(n(e))return o(e)}},function(e,t,r){var n=r(230),o=r(237),a=r(122);e.exports=function(e){if(void 0!==a&&o(Object(e)))return n(e)}},function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}},function(e,t,r){var n=r(567);e.exports=n},function(e,t,r){var n=r(568),o=Array.prototype;e.exports=function(e){var t=e.splice;return e===o||e instanceof Array&&t===o.splice?n:t}},function(e,t,r){r(569);var n=r(27);e.exports=n("Array").splice},function(e,t,r){"use strict";var n=r(7),o=r(139),a=r(112),i=r(54),s=r(44),c=r(148),l=r(88),u=r(94),p=r(39),f=u("splice"),d=p("splice",{ACCESSORS:!0,0:0,1:2}),h=Math.max,v=Math.min;n({target:"Array",proto:!0,forced:!f||!d},{splice:function(e,t){var r,n,u,p,f,d,m=s(this),g=i(m.length),y=o(e,g),b=arguments.length;if(0===b?r=n=0:1===b?(r=0,n=g-y):(r=b-2,n=v(h(a(t),0),g-y)),g+r-n>9007199254740991)throw TypeError("Maximum allowed length exceeded");for(u=c(m,n),p=0;pg-n+r;p--)delete m[p-1]}else if(r>n)for(p=g-n;p>y;p--)d=p+r-1,(f=p+n-1)in m?m[d]=m[f]:delete m[d];for(p=0;pu;)for(var d,h=l(arguments[u++]),v=p?a(h).concat(p(h)):a(h),m=v.length,g=0;m>g;)d=v[g++],n&&!f.call(h,d)||(r[d]=h[d]);return r}:u},function(e,t,r){var n=r(252),o=r(73),a=r(74);e.exports=function(e){return function(t,r,i){var s=Object(t);if(!o(t)){var c=n(r,3);t=a(t),r=function(e){return c(s[e],e,s)}}var l=e(t,r,i);return l>-1?s[c?t[l]:l]:void 0}}},function(e,t,r){var n=r(578),o=r(599),a=r(260);e.exports=function(e){var t=o(e);return 1==t.length&&t[0][2]?a(t[0][0],t[0][1]):function(r){return r===e||n(r,e,t)}}},function(e,t,r){var n=r(167),o=r(253);e.exports=function(e,t,r,a){var i=r.length,s=i,c=!a;if(null==e)return!s;for(e=Object(e);i--;){var l=r[i];if(c&&l[2]?l[1]!==e[l[0]]:!(l[0]in e))return!1}for(;++i=0||(i[r]=e[r]);return i}},function(e,t,r){"use strict";r.r(t),r.d(t,"OAuthReceiver",(function(){return Jf}));var n={};r.r(n),r.d(n,"JsonPatchError",(function(){return on})),r.d(n,"deepClone",(function(){return an})),r.d(n,"getValueByPointer",(function(){return ln})),r.d(n,"applyOperation",(function(){return un})),r.d(n,"applyPatch",(function(){return pn})),r.d(n,"applyReducer",(function(){return fn})),r.d(n,"validator",(function(){return dn})),r.d(n,"validate",(function(){return hn})),r.d(n,"_areEquals",(function(){return vn}));var o={};r.r(o),r.d(o,"unobserve",(function(){return bn})),r.d(o,"observe",(function(){return xn})),r.d(o,"generate",(function(){return wn})),r.d(o,"compare",(function(){return Sn}));var a={};r.r(a),r.d(a,"path",(function(){return ca})),r.d(a,"query",(function(){return la})),r.d(a,"header",(function(){return pa})),r.d(a,"cookie",(function(){return fa}));r(286); + */t.parse=function(e,t){if("string"!=typeof e)throw new TypeError("argument str must be a string");for(var r={},o=t||{},i=e.split(a),c=o.decode||n,l=0;l=]+)/,inside:{style:{pattern:/(["'])[\s\S]+(?=["']$)/,lookbehind:!0,alias:"language-css",inside:e.languages.css},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}},"attr-name":/^style/i}}},r.tag))}(Prism)},function(e,t){!function(e){var t=/[*&][^\s[\]{},]+/,r=/!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/,n="(?:"+r.source+"(?:[ \t]+"+t.source+")?|"+t.source+"(?:[ \t]+"+r.source+")?)",o=/(?:[^\s\x00-\x08\x0e-\x1f!"#%&'*,\-:>?@[\]`{|}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]|[?:-])(?:[ \t]*(?:(?![#:])|:))*/.source.replace(//g,(function(){return/[^\s\x00-\x08\x0e-\x1f,[\]{}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]/.source})),a=/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/.source;function i(e,t){t=(t||"").replace(/m/g,"")+"m";var r=/([:\-,[{]\s*(?:\s<>[ \t]+)?)(?:<>)(?=[ \t]*(?:$|,|]|}|(?:[\r\n]\s*)?#))/.source.replace(/<>/g,(function(){return n})).replace(/<>/g,(function(){return e}));return RegExp(r,t)}e.languages.yaml={scalar:{pattern:RegExp(/([\-:]\s*(?:\s<>[ \t]+)?[|>])[ \t]*(?:((?:\r?\n|\r)[ \t]+)\S[^\r\n]*(?:\2[^\r\n]+)*)/.source.replace(/<>/g,(function(){return n}))),lookbehind:!0,alias:"string"},comment:/#.*/,key:{pattern:RegExp(/((?:^|[:\-,[{\r\n?])[ \t]*(?:<>[ \t]+)?)<>(?=\s*:\s)/.source.replace(/<>/g,(function(){return n})).replace(/<>/g,(function(){return"(?:"+o+"|"+a+")"}))),lookbehind:!0,greedy:!0,alias:"atrule"},directive:{pattern:/(^[ \t]*)%.+/m,lookbehind:!0,alias:"important"},datetime:{pattern:i(/\d{4}-\d\d?-\d\d?(?:[tT]|[ \t]+)\d\d?:\d{2}:\d{2}(?:\.\d*)?(?:[ \t]*(?:Z|[-+]\d\d?(?::\d{2})?))?|\d{4}-\d{2}-\d{2}|\d\d?:\d{2}(?::\d{2}(?:\.\d*)?)?/.source),lookbehind:!0,alias:"number"},boolean:{pattern:i(/true|false/.source,"i"),lookbehind:!0,alias:"important"},null:{pattern:i(/null|~/.source,"i"),lookbehind:!0,alias:"important"},string:{pattern:i(a),lookbehind:!0,greedy:!0},number:{pattern:i(/[+-]?(?:0x[\da-f]+|0o[0-7]+|(?:\d+(?:\.\d*)?|\.?\d+)(?:e[+-]?\d+)?|\.inf|\.nan)/.source,"i"),lookbehind:!0},tag:r,important:t,punctuation:/---|[:[\]{}\-,|>?]|\.\.\./},e.languages.yml=e.languages.yaml}(Prism)},function(e,t){Prism.languages.go=Prism.languages.extend("clike",{string:{pattern:/(["'`])(?:\\[\s\S]|(?!\1)[^\\])*\1/,greedy:!0},keyword:/\b(?:break|case|chan|const|continue|default|defer|else|fallthrough|for|func|go(?:to)?|if|import|interface|map|package|range|return|select|struct|switch|type|var)\b/,boolean:/\b(?:_|iota|nil|true|false)\b/,number:/(?:\b0x[a-f\d]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[-+]?\d+)?)i?/i,operator:/[*\/%^!=]=?|\+[=+]?|-[=-]?|\|[=|]?|&(?:=|&|\^=?)?|>(?:>=?|=)?|<(?:<=?|=|-)?|:=|\.\.\./,builtin:/\b(?:bool|byte|complex(?:64|128)|error|float(?:32|64)|rune|string|u?int(?:8|16|32|64)?|uintptr|append|cap|close|complex|copy|delete|imag|len|make|new|panic|print(?:ln)?|real|recover)\b/}),delete Prism.languages.go["class-name"]},function(e,t){!function(e){var t=/\b(?:abstract|assert|boolean|break|byte|case|catch|char|class|const|continue|default|do|double|else|enum|exports|extends|final|finally|float|for|goto|if|implements|import|instanceof|int|interface|long|module|native|new|non-sealed|null|open|opens|package|permits|private|protected|provides|public|record|requires|return|sealed|short|static|strictfp|super|switch|synchronized|this|throw|throws|to|transient|transitive|try|uses|var|void|volatile|while|with|yield)\b/,r=/(^|[^\w.])(?:[a-z]\w*\s*\.\s*)*(?:[A-Z]\w*\s*\.\s*)*/.source,n={pattern:RegExp(r+/[A-Z](?:[\d_A-Z]*[a-z]\w*)?\b/.source),lookbehind:!0,inside:{namespace:{pattern:/^[a-z]\w*(?:\s*\.\s*[a-z]\w*)*(?:\s*\.)?/,inside:{punctuation:/\./}},punctuation:/\./}};e.languages.java=e.languages.extend("clike",{"class-name":[n,{pattern:RegExp(r+/[A-Z]\w*(?=\s+\w+\s*[;,=())])/.source),lookbehind:!0,inside:n.inside}],keyword:t,function:[e.languages.clike.function,{pattern:/(\:\:\s*)[a-z_]\w*/,lookbehind:!0}],number:/\b0b[01][01_]*L?\b|\b0x(?:\.[\da-f_p+-]+|[\da-f_]+(?:\.[\da-f_p+-]+)?)\b|(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?\d[\d_]*)?[dfl]?/i,operator:{pattern:/(^|[^.])(?:<<=?|>>>?=?|->|--|\+\+|&&|\|\||::|[?:~]|[-+*/%&|^!=<>]=?)/m,lookbehind:!0}}),e.languages.insertBefore("java","string",{"triple-quoted-string":{pattern:/"""[ \t]*[\r\n](?:(?:"|"")?(?:\\.|[^"\\]))*"""/,greedy:!0,alias:"string"}}),e.languages.insertBefore("java","class-name",{annotation:{pattern:/(^|[^.])@\w+(?:\s*\.\s*\w+)*/,lookbehind:!0,alias:"punctuation"},generics:{pattern:/<(?:[\w\s,.&?]|<(?:[\w\s,.&?]|<(?:[\w\s,.&?]|<[\w\s,.&?]*>)*>)*>)*>/,inside:{"class-name":n,keyword:t,punctuation:/[<>(),.:]/,operator:/[?&|]/}},namespace:{pattern:RegExp(/(\b(?:exports|import(?:\s+static)?|module|open|opens|package|provides|requires|to|transitive|uses|with)\s+)(?!)[a-z]\w*(?:\.[a-z]\w*)*\.?/.source.replace(//g,(function(){return t.source}))),lookbehind:!0,inside:{punctuation:/\./}}})}(Prism)},function(e,t){Prism.languages.json={property:{pattern:/"(?:\\.|[^\\"\r\n])*"(?=\s*:)/,greedy:!0},string:{pattern:/"(?:\\.|[^\\"\r\n])*"(?!\s*:)/,greedy:!0},comment:{pattern:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},number:/-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,punctuation:/[{}[\],]/,operator:/:/,boolean:/\b(?:true|false)\b/,null:{pattern:/\bnull\b/,alias:"keyword"}},Prism.languages.webmanifest=Prism.languages.json},function(e,t){!function(e){var t="\\b(?:BASH|BASHOPTS|BASH_ALIASES|BASH_ARGC|BASH_ARGV|BASH_CMDS|BASH_COMPLETION_COMPAT_DIR|BASH_LINENO|BASH_REMATCH|BASH_SOURCE|BASH_VERSINFO|BASH_VERSION|COLORTERM|COLUMNS|COMP_WORDBREAKS|DBUS_SESSION_BUS_ADDRESS|DEFAULTS_PATH|DESKTOP_SESSION|DIRSTACK|DISPLAY|EUID|GDMSESSION|GDM_LANG|GNOME_KEYRING_CONTROL|GNOME_KEYRING_PID|GPG_AGENT_INFO|GROUPS|HISTCONTROL|HISTFILE|HISTFILESIZE|HISTSIZE|HOME|HOSTNAME|HOSTTYPE|IFS|INSTANCE|JOB|LANG|LANGUAGE|LC_ADDRESS|LC_ALL|LC_IDENTIFICATION|LC_MEASUREMENT|LC_MONETARY|LC_NAME|LC_NUMERIC|LC_PAPER|LC_TELEPHONE|LC_TIME|LESSCLOSE|LESSOPEN|LINES|LOGNAME|LS_COLORS|MACHTYPE|MAILCHECK|MANDATORY_PATH|NO_AT_BRIDGE|OLDPWD|OPTERR|OPTIND|ORBIT_SOCKETDIR|OSTYPE|PAPERSIZE|PATH|PIPESTATUS|PPID|PS1|PS2|PS3|PS4|PWD|RANDOM|REPLY|SECONDS|SELINUX_INIT|SESSION|SESSIONTYPE|SESSION_MANAGER|SHELL|SHELLOPTS|SHLVL|SSH_AUTH_SOCK|TERM|UID|UPSTART_EVENTS|UPSTART_INSTANCE|UPSTART_JOB|UPSTART_SESSION|USER|WINDOWID|XAUTHORITY|XDG_CONFIG_DIRS|XDG_CURRENT_DESKTOP|XDG_DATA_DIRS|XDG_GREETER_DATA_DIR|XDG_MENU_PREFIX|XDG_RUNTIME_DIR|XDG_SEAT|XDG_SEAT_PATH|XDG_SESSION_DESKTOP|XDG_SESSION_ID|XDG_SESSION_PATH|XDG_SESSION_TYPE|XDG_VTNR|XMODIFIERS)\\b",r={pattern:/(^(["']?)\w+\2)[ \t]+\S.*/,lookbehind:!0,alias:"punctuation",inside:null},n={bash:r,environment:{pattern:RegExp("\\$"+t),alias:"constant"},variable:[{pattern:/\$?\(\([\s\S]+?\)\)/,greedy:!0,inside:{variable:[{pattern:/(^\$\(\([\s\S]+)\)\)/,lookbehind:!0},/^\$\(\(/],number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/--?|-=|\+\+?|\+=|!=?|~|\*\*?|\*=|\/=?|%=?|<<=?|>>=?|<=?|>=?|==?|&&?|&=|\^=?|\|\|?|\|=|\?|:/,punctuation:/\(\(?|\)\)?|,|;/}},{pattern:/\$\((?:\([^)]+\)|[^()])+\)|`[^`]+`/,greedy:!0,inside:{variable:/^\$\(|^`|\)$|`$/}},{pattern:/\$\{[^}]+\}/,greedy:!0,inside:{operator:/:[-=?+]?|[!\/]|##?|%%?|\^\^?|,,?/,punctuation:/[\[\]]/,environment:{pattern:RegExp("(\\{)"+t),lookbehind:!0,alias:"constant"}}},/\$(?:\w+|[#?*!@$])/],entity:/\\(?:[abceEfnrtv\\"]|O?[0-7]{1,3}|x[0-9a-fA-F]{1,2}|u[0-9a-fA-F]{4}|U[0-9a-fA-F]{8})/};e.languages.bash={shebang:{pattern:/^#!\s*\/.*/,alias:"important"},comment:{pattern:/(^|[^"{\\$])#.*/,lookbehind:!0},"function-name":[{pattern:/(\bfunction\s+)\w+(?=(?:\s*\(?:\s*\))?\s*\{)/,lookbehind:!0,alias:"function"},{pattern:/\b\w+(?=\s*\(\s*\)\s*\{)/,alias:"function"}],"for-or-select":{pattern:/(\b(?:for|select)\s+)\w+(?=\s+in\s)/,alias:"variable",lookbehind:!0},"assign-left":{pattern:/(^|[\s;|&]|[<>]\()\w+(?=\+?=)/,inside:{environment:{pattern:RegExp("(^|[\\s;|&]|[<>]\\()"+t),lookbehind:!0,alias:"constant"}},alias:"variable",lookbehind:!0},string:[{pattern:/((?:^|[^<])<<-?\s*)(\w+?)\s[\s\S]*?(?:\r?\n|\r)\2/,lookbehind:!0,greedy:!0,inside:n},{pattern:/((?:^|[^<])<<-?\s*)(["'])(\w+)\2\s[\s\S]*?(?:\r?\n|\r)\3/,lookbehind:!0,greedy:!0,inside:{bash:r}},{pattern:/(^|[^\\](?:\\\\)*)(["'])(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|(?!\2)[^\\`$])*\2/,lookbehind:!0,greedy:!0,inside:n}],environment:{pattern:RegExp("\\$?"+t),alias:"constant"},variable:n.variable,function:{pattern:/(^|[\s;|&]|[<>]\()(?:add|apropos|apt|aptitude|apt-cache|apt-get|aspell|automysqlbackup|awk|basename|bash|bc|bconsole|bg|bzip2|cal|cat|cfdisk|chgrp|chkconfig|chmod|chown|chroot|cksum|clear|cmp|column|comm|composer|cp|cron|crontab|csplit|curl|cut|date|dc|dd|ddrescue|debootstrap|df|diff|diff3|dig|dir|dircolors|dirname|dirs|dmesg|du|egrep|eject|env|ethtool|expand|expect|expr|fdformat|fdisk|fg|fgrep|file|find|fmt|fold|format|free|fsck|ftp|fuser|gawk|git|gparted|grep|groupadd|groupdel|groupmod|groups|grub-mkconfig|gzip|halt|head|hg|history|host|hostname|htop|iconv|id|ifconfig|ifdown|ifup|import|install|ip|jobs|join|kill|killall|less|link|ln|locate|logname|logrotate|look|lpc|lpr|lprint|lprintd|lprintq|lprm|ls|lsof|lynx|make|man|mc|mdadm|mkconfig|mkdir|mke2fs|mkfifo|mkfs|mkisofs|mknod|mkswap|mmv|more|most|mount|mtools|mtr|mutt|mv|nano|nc|netstat|nice|nl|nohup|notify-send|npm|nslookup|op|open|parted|passwd|paste|pathchk|ping|pkill|pnpm|popd|pr|printcap|printenv|ps|pushd|pv|quota|quotacheck|quotactl|ram|rar|rcp|reboot|remsync|rename|renice|rev|rm|rmdir|rpm|rsync|scp|screen|sdiff|sed|sendmail|seq|service|sftp|sh|shellcheck|shuf|shutdown|sleep|slocate|sort|split|ssh|stat|strace|su|sudo|sum|suspend|swapon|sync|tac|tail|tar|tee|time|timeout|top|touch|tr|traceroute|tsort|tty|umount|uname|unexpand|uniq|units|unrar|unshar|unzip|update-grub|uptime|useradd|userdel|usermod|users|uudecode|uuencode|v|vdir|vi|vim|virsh|vmstat|wait|watch|wc|wget|whereis|which|who|whoami|write|xargs|xdg-open|yarn|yes|zenity|zip|zsh|zypper)(?=$|[)\s;|&])/,lookbehind:!0},keyword:{pattern:/(^|[\s;|&]|[<>]\()(?:if|then|else|elif|fi|for|while|in|case|esac|function|select|do|done|until)(?=$|[)\s;|&])/,lookbehind:!0},builtin:{pattern:/(^|[\s;|&]|[<>]\()(?:\.|:|break|cd|continue|eval|exec|exit|export|getopts|hash|pwd|readonly|return|shift|test|times|trap|umask|unset|alias|bind|builtin|caller|command|declare|echo|enable|help|let|local|logout|mapfile|printf|read|readarray|source|type|typeset|ulimit|unalias|set|shopt)(?=$|[)\s;|&])/,lookbehind:!0,alias:"class-name"},boolean:{pattern:/(^|[\s;|&]|[<>]\()(?:true|false)(?=$|[)\s;|&])/,lookbehind:!0},"file-descriptor":{pattern:/\B&\d\b/,alias:"important"},operator:{pattern:/\d?<>|>\||\+=|==?|!=?|=~|<<[<-]?|[&\d]?>>|\d?[<>]&?|&[>&]?|\|[&|]?|<=?|>=?/,inside:{"file-descriptor":{pattern:/^\d/,alias:"important"}}},punctuation:/\$?\(\(?|\)\)?|\.\.|[{}[\];\\]/,number:{pattern:/(^|\s)(?:[1-9]\d*|0)(?:[.,]\d+)?\b/,lookbehind:!0}},r.inside=e.languages.bash;for(var o=["comment","function-name","for-or-select","assign-left","string","environment","function","keyword","builtin","boolean","file-descriptor","operator","punctuation","number"],a=n.variable[1].inside,i=0;i]?|>[=>]?|[&|^~]/,punctuation:/[{}[\];(),.:]/},Prism.languages.python["string-interpolation"].inside.interpolation.inside.rest=Prism.languages.python,Prism.languages.py=Prism.languages.python},function(e,t){!function(e){e.languages.http={"request-line":{pattern:/^(?:POST|GET|PUT|DELETE|OPTIONS|PATCH|TRACE|CONNECT)\s(?:https?:\/\/|\/)\S+\sHTTP\/[0-9.]+/m,inside:{property:/^(?:POST|GET|PUT|DELETE|OPTIONS|PATCH|TRACE|CONNECT)\b/,"attr-name":/:\w+/}},"response-status":{pattern:/^HTTP\/1.[01] \d.*/m,inside:{property:{pattern:/(^HTTP\/1.[01] )\d.*/i,lookbehind:!0}}},"header-name":{pattern:/^[\w-]+:(?=.)/m,alias:"keyword"}};var t,r=e.languages,n={"application/javascript":r.javascript,"application/json":r.json||r.javascript,"application/xml":r.xml,"text/xml":r.xml,"text/html":r.html,"text/css":r.css},o={"application/json":!0,"application/xml":!0};function a(e){var t=e.replace(/^[a-z]+\//,"");return"(?:"+e+"|"+("\\w+/(?:[\\w.-]+\\+)+"+t+"(?![+\\w.-])")+")"}for(var i in n)if(n[i]){t=t||{};var s=o[i]?a(i):i;t[i.replace(/\//g,"-")]={pattern:RegExp("(content-type:\\s*"+s+".*)(?:\\r?\\n|\\r){2}[\\s\\S]*","i"),lookbehind:!0,inside:n[i]}}t&&e.languages.insertBefore("http","header-name",t)}(Prism)},function(e,t){!function(e){function t(e,t){return e.replace(/<<(\d+)>>/g,(function(e,r){return"(?:"+t[+r]+")"}))}function r(e,r,n){return RegExp(t(e,r),n||"")}function n(e,t){for(var r=0;r>/g,(function(){return"(?:"+e+")"}));return e.replace(/<>/g,"[^\\s\\S]")}var o="bool byte char decimal double dynamic float int long object sbyte short string uint ulong ushort var void",a="class enum interface struct",i="add alias and ascending async await by descending from get global group into join let nameof not notnull on or orderby partial remove select set unmanaged value when where",s="abstract as base break case catch checked const continue default delegate do else event explicit extern finally fixed for foreach goto if implicit in internal is lock namespace new null operator out override params private protected public readonly ref return sealed sizeof stackalloc static switch this throw try typeof unchecked unsafe using virtual volatile while yield";function c(e){return"\\b(?:"+e.trim().replace(/ /g,"|")+")\\b"}var l=c(a),u=RegExp(c(o+" "+a+" "+i+" "+s)),p=c(a+" "+i+" "+s),f=c(o+" "+a+" "+s),d=n(/<(?:[^<>;=+\-*/%&|^]|<>)*>/.source,2),h=n(/\((?:[^()]|<>)*\)/.source,2),v=/@?\b[A-Za-z_]\w*\b/.source,m=t(/<<0>>(?:\s*<<1>>)?/.source,[v,d]),g=t(/(?!<<0>>)<<1>>(?:\s*\.\s*<<1>>)*/.source,[p,m]),y=/\[\s*(?:,\s*)*\]/.source,b=t(/<<0>>(?:\s*(?:\?\s*)?<<1>>)*(?:\s*\?)?/.source,[g,y]),x=t(/[^,()<>[\];=+\-*/%&|^]|<<0>>|<<1>>|<<2>>/.source,[d,h,y]),w=t(/\(<<0>>+(?:,<<0>>+)+\)/.source,[x]),k=t(/(?:<<0>>|<<1>>)(?:\s*(?:\?\s*)?<<2>>)*(?:\s*\?)?/.source,[w,g,y]),S={keyword:u,punctuation:/[<>()?,.:[\]]/},A=/'(?:[^\r\n'\\]|\\.|\\[Uux][\da-fA-F]{1,8})'/.source,O=/"(?:\\.|[^\\"\r\n])*"/.source,E=/@"(?:""|\\[\s\S]|[^\\"])*"(?!")/.source;e.languages.csharp=e.languages.extend("clike",{string:[{pattern:r(/(^|[^$\\])<<0>>/.source,[E]),lookbehind:!0,greedy:!0},{pattern:r(/(^|[^@$\\])<<0>>/.source,[O]),lookbehind:!0,greedy:!0},{pattern:RegExp(A),greedy:!0,alias:"character"}],"class-name":[{pattern:r(/(\busing\s+static\s+)<<0>>(?=\s*;)/.source,[g]),lookbehind:!0,inside:S},{pattern:r(/(\busing\s+<<0>>\s*=\s*)<<1>>(?=\s*;)/.source,[v,k]),lookbehind:!0,inside:S},{pattern:r(/(\busing\s+)<<0>>(?=\s*=)/.source,[v]),lookbehind:!0},{pattern:r(/(\b<<0>>\s+)<<1>>/.source,[l,m]),lookbehind:!0,inside:S},{pattern:r(/(\bcatch\s*\(\s*)<<0>>/.source,[g]),lookbehind:!0,inside:S},{pattern:r(/(\bwhere\s+)<<0>>/.source,[v]),lookbehind:!0},{pattern:r(/(\b(?:is(?:\s+not)?|as)\s+)<<0>>/.source,[b]),lookbehind:!0,inside:S},{pattern:r(/\b<<0>>(?=\s+(?!<<1>>)<<2>>(?:\s*[=,;:{)\]]|\s+(?:in|when)\b))/.source,[k,f,v]),inside:S}],keyword:u,number:/(?:\b0(?:x[\da-f_]*[\da-f]|b[01_]*[01])|(?:\B\.\d+(?:_+\d+)*|\b\d+(?:_+\d+)*(?:\.\d+(?:_+\d+)*)?)(?:e[-+]?\d+(?:_+\d+)*)?)(?:ul|lu|[dflmu])?\b/i,operator:/>>=?|<<=?|[-=]>|([-+&|])\1|~|\?\?=?|[-+*/%&|^!=<>]=?/,punctuation:/\?\.?|::|[{}[\];(),.:]/}),e.languages.insertBefore("csharp","number",{range:{pattern:/\.\./,alias:"operator"}}),e.languages.insertBefore("csharp","punctuation",{"named-parameter":{pattern:r(/([(,]\s*)<<0>>(?=\s*:)/.source,[v]),lookbehind:!0,alias:"punctuation"}}),e.languages.insertBefore("csharp","class-name",{namespace:{pattern:r(/(\b(?:namespace|using)\s+)<<0>>(?:\s*\.\s*<<0>>)*(?=\s*[;{])/.source,[v]),lookbehind:!0,inside:{punctuation:/\./}},"type-expression":{pattern:r(/(\b(?:default|typeof|sizeof)\s*\(\s*(?!\s))(?:[^()\s]|\s(?!\s)|<<0>>)*(?=\s*\))/.source,[h]),lookbehind:!0,alias:"class-name",inside:S},"return-type":{pattern:r(/<<0>>(?=\s+(?:<<1>>\s*(?:=>|[({]|\.\s*this\s*\[)|this\s*\[))/.source,[k,g]),inside:S,alias:"class-name"},"constructor-invocation":{pattern:r(/(\bnew\s+)<<0>>(?=\s*[[({])/.source,[k]),lookbehind:!0,inside:S,alias:"class-name"},"generic-method":{pattern:r(/<<0>>\s*<<1>>(?=\s*\()/.source,[v,d]),inside:{function:r(/^<<0>>/.source,[v]),generic:{pattern:RegExp(d),alias:"class-name",inside:S}}},"type-list":{pattern:r(/\b((?:<<0>>\s+<<1>>|where\s+<<2>>)\s*:\s*)(?:<<3>>|<<4>>)(?:\s*,\s*(?:<<3>>|<<4>>))*(?=\s*(?:where|[{;]|=>|$))/.source,[l,m,v,k,u.source]),lookbehind:!0,inside:{keyword:u,"class-name":{pattern:RegExp(k),greedy:!0,inside:S},punctuation:/,/}},preprocessor:{pattern:/(^\s*)#.*/m,lookbehind:!0,alias:"property",inside:{directive:{pattern:/(\s*#)\b(?:define|elif|else|endif|endregion|error|if|line|pragma|region|undef|warning)\b/,lookbehind:!0,alias:"keyword"}}}});var D=O+"|"+A,C=t(/\/(?![*/])|\/\/[^\r\n]*[\r\n]|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>/.source,[D]),j=n(t(/[^"'/()]|<<0>>|\(<>*\)/.source,[C]),2),_=/\b(?:assembly|event|field|method|module|param|property|return|type)\b/.source,T=t(/<<0>>(?:\s*\(<<1>>*\))?/.source,[g,j]);e.languages.insertBefore("csharp","class-name",{attribute:{pattern:r(/((?:^|[^\s\w>)?])\s*\[\s*)(?:<<0>>\s*:\s*)?<<1>>(?:\s*,\s*<<1>>)*(?=\s*\])/.source,[_,T]),lookbehind:!0,greedy:!0,inside:{target:{pattern:r(/^<<0>>(?=\s*:)/.source,[_]),alias:"keyword"},"attribute-arguments":{pattern:r(/\(<<0>>*\)/.source,[j]),inside:e.languages.csharp},"class-name":{pattern:RegExp(g),inside:{punctuation:/\./}},punctuation:/[:,]/}}});var I=/:[^}\r\n]+/.source,F=n(t(/[^"'/()]|<<0>>|\(<>*\)/.source,[C]),2),P=t(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source,[F,I]),R=n(t(/[^"'/()]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>|\(<>*\)/.source,[D]),2),B=t(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source,[R,I]);function L(t,n){return{interpolation:{pattern:r(/((?:^|[^{])(?:\{\{)*)<<0>>/.source,[t]),lookbehind:!0,inside:{"format-string":{pattern:r(/(^\{(?:(?![}:])<<0>>)*)<<1>>(?=\}$)/.source,[n,I]),lookbehind:!0,inside:{punctuation:/^:/}},punctuation:/^\{|\}$/,expression:{pattern:/[\s\S]+/,alias:"language-csharp",inside:e.languages.csharp}}},string:/[\s\S]+/}}e.languages.insertBefore("csharp","string",{"interpolation-string":[{pattern:r(/(^|[^\\])(?:\$@|@\$)"(?:""|\\[\s\S]|\{\{|<<0>>|[^\\{"])*"/.source,[P]),lookbehind:!0,greedy:!0,inside:L(P,F)},{pattern:r(/(^|[^@\\])\$"(?:\\.|\{\{|<<0>>|[^\\"{])*"/.source,[B]),lookbehind:!0,greedy:!0,inside:L(B,R)}]})}(Prism),Prism.languages.dotnet=Prism.languages.cs=Prism.languages.csharp},function(e,t,r){(function(e,n){var o;/*! https://mths.be/punycode v1.4.1 by @mathias */!function(a){t&&t.nodeType,e&&e.nodeType;var i="object"==typeof n&&n;i.global!==i&&i.window!==i&&i.self;var s,c=2147483647,l=/^xn--/,u=/[^\x20-\x7E]/,p=/[\x2E\u3002\uFF0E\uFF61]/g,f={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},d=Math.floor,h=String.fromCharCode;function v(e){throw new RangeError(f[e])}function m(e,t){for(var r=e.length,n=[];r--;)n[r]=t(e[r]);return n}function g(e,t){var r=e.split("@"),n="";return r.length>1&&(n=r[0]+"@",e=r[1]),n+m((e=e.replace(p,".")).split("."),t).join(".")}function y(e){for(var t,r,n=[],o=0,a=e.length;o=55296&&t<=56319&&o65535&&(t+=h((e-=65536)>>>10&1023|55296),e=56320|1023&e),t+=h(e)})).join("")}function x(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function w(e,t,r){var n=0;for(e=r?d(e/700):e>>1,e+=d(e/t);e>455;n+=36)e=d(e/35);return d(n+36*e/(e+38))}function k(e){var t,r,n,o,a,i,s,l,u,p,f,h=[],m=e.length,g=0,y=128,x=72;for((r=e.lastIndexOf("-"))<0&&(r=0),n=0;n=128&&v("not-basic"),h.push(e.charCodeAt(n));for(o=r>0?r+1:0;o=m&&v("invalid-input"),((l=(f=e.charCodeAt(o++))-48<10?f-22:f-65<26?f-65:f-97<26?f-97:36)>=36||l>d((c-g)/i))&&v("overflow"),g+=l*i,!(l<(u=s<=x?1:s>=x+26?26:s-x));s+=36)i>d(c/(p=36-u))&&v("overflow"),i*=p;x=w(g-a,t=h.length+1,0==a),d(g/t)>c-y&&v("overflow"),y+=d(g/t),g%=t,h.splice(g++,0,y)}return b(h)}function S(e){var t,r,n,o,a,i,s,l,u,p,f,m,g,b,k,S=[];for(m=(e=y(e)).length,t=128,r=0,a=72,i=0;i=t&&fd((c-r)/(g=n+1))&&v("overflow"),r+=(s-t)*g,t=s,i=0;ic&&v("overflow"),f==t){for(l=r,u=36;!(l<(p=u<=a?1:u>=a+26?26:u-a));u+=36)k=l-p,b=36-p,S.push(h(x(p+k%b,0))),l=d(k/b);S.push(h(x(l,0))),a=w(r,g,n==o),r=0,++n}++r,++t}return S.join("")}s={version:"1.4.1",ucs2:{decode:y,encode:b},decode:k,encode:S,toASCII:function(e){return g(e,(function(e){return u.test(e)?"xn--"+S(e):e}))},toUnicode:function(e){return g(e,(function(e){return l.test(e)?k(e.slice(4).toLowerCase()):e}))}},void 0===(o=function(){return s}.call(t,r,t,e))||(e.exports=o)}()}).call(this,r(103)(e),r(26))},function(e,t,r){"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,r){"use strict";t.decode=t.parse=r(299),t.encode=t.stringify=r(300)},function(e,t,r){"use strict";function n(e,t){return Object.prototype.hasOwnProperty.call(e,t)}e.exports=function(e,t,r,a){t=t||"&",r=r||"=";var i={};if("string"!=typeof e||0===e.length)return i;var s=/\+/g;e=e.split(t);var c=1e3;a&&"number"==typeof a.maxKeys&&(c=a.maxKeys);var l=e.length;c>0&&l>c&&(l=c);for(var u=0;u=0?(p=v.substr(0,m),f=v.substr(m+1)):(p=v,f=""),d=decodeURIComponent(p),h=decodeURIComponent(f),n(i,d)?o(i[d])?i[d].push(h):i[d]=[i[d],h]:i[d]=h}return i};var o=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)}},function(e,t,r){"use strict";var n=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,r,s){return t=t||"&",r=r||"=",null===e&&(e=void 0),"object"==typeof e?a(i(e),(function(i){var s=encodeURIComponent(n(i))+r;return o(e[i])?a(e[i],(function(e){return s+encodeURIComponent(n(e))})).join(t):s+encodeURIComponent(n(e[i]))})).join(t):s?encodeURIComponent(n(s))+r+encodeURIComponent(n(e)):""};var o=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)};function a(e,t){if(e.map)return e.map(t);for(var r=[],n=0;n0?n-4:n,p=0;p>16&255,s[c++]=t>>8&255,s[c++]=255&t;2===i&&(t=o[e.charCodeAt(p)]<<2|o[e.charCodeAt(p+1)]>>4,s[c++]=255&t);1===i&&(t=o[e.charCodeAt(p)]<<10|o[e.charCodeAt(p+1)]<<4|o[e.charCodeAt(p+2)]>>2,s[c++]=t>>8&255,s[c++]=255&t);return s},t.fromByteArray=function(e){for(var t,r=e.length,o=r%3,a=[],i=0,s=r-o;is?s:i+16383));1===o?(t=e[r-1],a.push(n[t>>2]+n[t<<4&63]+"==")):2===o&&(t=(e[r-2]<<8)+e[r-1],a.push(n[t>>10]+n[t>>4&63]+n[t<<2&63]+"="));return a.join("")};for(var n=[],o=[],a="undefined"!=typeof Uint8Array?Uint8Array:Array,i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",s=0,c=i.length;s0)throw new Error("Invalid string. Length must be a multiple of 4");var r=e.indexOf("=");return-1===r&&(r=t),[r,r===t?0:4-r%4]}function u(e,t,r){for(var o,a,i=[],s=t;s>18&63]+n[a>>12&63]+n[a>>6&63]+n[63&a]);return i.join("")}o["-".charCodeAt(0)]=62,o["_".charCodeAt(0)]=63},function(e,t){t.read=function(e,t,r,n,o){var a,i,s=8*o-n-1,c=(1<>1,u=-7,p=r?o-1:0,f=r?-1:1,d=e[t+p];for(p+=f,a=d&(1<<-u)-1,d>>=-u,u+=s;u>0;a=256*a+e[t+p],p+=f,u-=8);for(i=a&(1<<-u)-1,a>>=-u,u+=n;u>0;i=256*i+e[t+p],p+=f,u-=8);if(0===a)a=1-l;else{if(a===c)return i?NaN:1/0*(d?-1:1);i+=Math.pow(2,n),a-=l}return(d?-1:1)*i*Math.pow(2,a-n)},t.write=function(e,t,r,n,o,a){var i,s,c,l=8*a-o-1,u=(1<>1,f=23===o?Math.pow(2,-24)-Math.pow(2,-77):0,d=n?0:a-1,h=n?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,i=u):(i=Math.floor(Math.log(t)/Math.LN2),t*(c=Math.pow(2,-i))<1&&(i--,c*=2),(t+=i+p>=1?f/c:f*Math.pow(2,1-p))*c>=2&&(i++,c/=2),i+p>=u?(s=0,i=u):i+p>=1?(s=(t*c-1)*Math.pow(2,o),i+=p):(s=t*Math.pow(2,p-1)*Math.pow(2,o),i=0));o>=8;e[r+d]=255&s,d+=h,s/=256,o-=8);for(i=i<0;e[r+d]=255&i,d+=h,i/=256,l-=8);e[r+d-h]|=128*v}},function(e,t,r){"use strict";const n=r(177),o=r(178),a=r(28),i=r(57),s=r(179),c=r(104).jptr,l=r(135).recurse,u=r(105).clone,p=r(305).dereference,f=r(134).isRef,d=r(181);function h(e,t,r,n,o,i){let s=i.externalRefs[r+n].paths[0],p=a.parse(o),h={},v=1;for(;v;)v=0,l(e,{identityDetection:!0},(function(e,r,n){if(f(e,r))if(e[r].startsWith("#"))if(h[e[r]]||e.$fixed){if(!e.$fixed){let t=(s+"/"+h[e[r]]).split("/#/").join("/");n.parent[n.pkey]={$ref:t,"x-miro":e[r],$fixed:!0},i.verbose>1&&console.warn("Replacing with",t),v++}}else{let o=u(c(t,e[r]));if(i.verbose>1&&console.warn((!1===o?d.colour.red:d.colour.green)+"Fragment resolution",e[r],d.colour.normal),!1===o){if(n.parent[n.pkey]={},i.fatal){let t=new Error("Fragment $ref resolution failed "+e[r]);if(!i.promise)throw t;i.promise.reject(t)}}else v++,n.parent[n.pkey]=o,h[e[r]]=n.path.replace("/%24ref","")}else if(p.protocol){let t=a.resolve(o,e[r]).toString();i.verbose>1&&console.warn(d.colour.yellow+"Rewriting external url ref",e[r],"as",t,d.colour.normal),e["x-miro"]=e[r],i.externalRefs[e[r]]&&(i.externalRefs[t]||(i.externalRefs[t]=i.externalRefs[e[r]]),i.externalRefs[t].failed=i.externalRefs[e[r]].failed),e[r]=t}else if(!e["x-miro"]){let t=a.resolve(o,e[r]).toString(),n=!1;i.externalRefs[e[r]]&&(n=i.externalRefs[e[r]].failed),n||(i.verbose>1&&console.warn(d.colour.yellow+"Rewriting external ref",e[r],"as",t,d.colour.normal),e["x-miro"]=e[r],e[r]=t)}}));return l(e,{},(function(e,t,r){f(e,t)&&void 0!==e.$fixed&&delete e.$fixed})),i.verbose>1&&console.warn("Finished fragment resolution"),e}function v(e,t){if(!t.filters||!t.filters.length)return e;for(let r of t.filters)e=r(e,t);return e}function m(e,t,r,i){var l=a.parse(r.source),p=r.source.split("\\").join("/").split("/");p.pop()||p.pop();let f="",d=t.split("#");d.length>1&&(f="#"+d[1],t=d[0]),p=p.join("/");let m=a.parse(t),g=(y=m.protocol,b=l.protocol,y&&y.length>2?y:b&&b.length>2?b:"file:");var y,b;let x;if(x="file:"===g?o.resolve(p?p+"/":"",t):a.resolve(p?p+"/":"",t),r.cache[x]){r.verbose&&console.warn("CACHED",x,f);let e=u(r.cache[x]),n=r.externalRef=e;if(f&&(n=c(n,f),!1===n&&(n={},r.fatal))){let e=new Error("Cached $ref resolution failed "+x+f);if(!r.promise)throw e;r.promise.reject(e)}return n=h(n,e,t,f,x,r),n=v(n,r),i(u(n),x,r),Promise.resolve(n)}if(r.verbose&&console.warn("GET",x,f),r.handlers&&r.handlers[g])return r.handlers[g](p,t,f,r).then((function(e){return r.externalRef=e,e=v(e,r),r.cache[x]=e,i(e,x,r),e})).catch((function(e){throw r.verbose&&console.warn(e),e}));if(g&&g.startsWith("http")){const e=Object.assign({},r.fetchOptions,{agent:r.agent});return r.fetch(x,e).then((function(e){if(200!==e.status){if(r.ignoreIOErrors)return r.verbose&&console.warn("FAILED",t),r.externalRefs[t].failed=!0,'{"$ref":"'+t+'"}';throw new Error(`Received status code ${e.status}: ${x}`)}return e.text()})).then((function(e){try{let n=s.parse(e,{schema:"core",prettyErrors:!0});if(e=r.externalRef=n,r.cache[x]=u(e),f&&!1===(e=c(e,f))&&(e={},r.fatal)){let e=new Error("Remote $ref resolution failed "+x+f);if(!r.promise)throw e;r.promise.reject(e)}e=v(e=h(e,n,t,f,x,r),r)}catch(e){if(r.verbose&&console.warn(e),!r.promise||!r.fatal)throw e;r.promise.reject(e)}return i(e,x,r),e})).catch((function(e){if(r.verbose&&console.warn(e),r.cache[x]={},!r.promise||!r.fatal)throw e;r.promise.reject(e)}))}{const e='{"$ref":"'+t+'"}';return function(e,t,r,o,a){return new Promise((function(i,s){n.readFile(e,t,(function(e,t){e?r.ignoreIOErrors&&a?(r.verbose&&console.warn("FAILED",o),r.externalRefs[o].failed=!0,i(a)):s(e):i(t)}))}))}(x,r.encoding||"utf8",r,t,e).then((function(e){try{let n=s.parse(e,{schema:"core",prettyErrors:!0});if(e=r.externalRef=n,r.cache[x]=u(e),f&&!1===(e=c(e,f))&&(e={},r.fatal)){let e=new Error("File $ref resolution failed "+x+f);if(!r.promise)throw e;r.promise.reject(e)}e=v(e=h(e,n,t,f,x,r),r)}catch(e){if(r.verbose&&console.warn(e),!r.promise||!r.fatal)throw e;r.promise.reject(e)}return i(e,x,r),e})).catch((function(e){if(r.verbose&&console.warn(e),!r.promise||!r.fatal)throw e;r.promise.reject(e)}))}}function g(e){return new Promise((function(t,r){(function(e){return new Promise((function(t,r){function n(t,r,n){if(t[r]&&f(t[r],"$ref")){let a=t[r].$ref;if(!a.startsWith("#")){let i="";if(!o[a]){let t=Object.keys(o).find((function(e,t,r){return a.startsWith(e+"/")}));t&&(e.verbose&&console.warn("Found potential subschema at",t),i="/"+(a.split("#")[1]||"").replace(t.split("#")[1]||""),i=i.split("/undefined").join(""),a=t)}if(o[a]||(o[a]={resolved:!1,paths:[],extras:{},description:t[r].description}),o[a].resolved)if(o[a].failed);else if(e.rewriteRefs){let n=o[a].resolvedAt;e.verbose>1&&console.warn("Rewriting ref",a,n),t[r]["x-miro"]=a,t[r].$ref=n+i}else t[r]=u(o[a].data);else o[a].paths.push(n.path),o[a].extras[n.path]=i}}}let o=e.externalRefs;if(e.resolver.depth>0&&e.source===e.resolver.base)return t(o);l(e.openapi.definitions,{identityDetection:!0,path:"#/definitions"},n),l(e.openapi.components,{identityDetection:!0,path:"#/components"},n),l(e.openapi,{identityDetection:!0},n),t(o)}))})(e).then((function(t){for(let r in t)if(!t[r].resolved){let n=e.resolver.depth;n>0&&n++,e.resolver.actions[n].push((function(){return m(e.openapi,r,e,(function(e,n,o){if(!t[r].resolved){let a={};a.context=t[r],a.$ref=r,a.original=u(e),a.updated=e,a.source=n,o.externals.push(a),t[r].resolved=!0}let a=Object.assign({},o,{source:"",resolver:{actions:o.resolver.actions,depth:o.resolver.actions.length-1,base:o.resolver.base}});o.patch&&t[r].description&&!e.description&&"object"==typeof e&&(e.description=t[r].description),t[r].data=e;let i=(s=t[r].paths,[...new Set(s)]);var s;i=i.sort((function(e,t){const r=e.startsWith("#/components/")||e.startsWith("#/definitions/"),n=t.startsWith("#/components/")||t.startsWith("#/definitions/");return r&&!n?-1:n&&!r?1:0}));for(let n of i)if(t[r].resolvedAt&&n!==t[r].resolvedAt&&n.indexOf("x-ms-examples/")<0)o.verbose>1&&console.warn("Creating pointer to data at",n),c(o.openapi,n,{$ref:t[r].resolvedAt+t[r].extras[n],"x-miro":r+t[r].extras[n]});else{t[r].resolvedAt?o.verbose>1&&console.warn("Avoiding circular reference"):(t[r].resolvedAt=n,o.verbose>1&&console.warn("Creating initial clone of data at",n));let a=u(e);c(o.openapi,n,a)}0===o.resolver.actions[a.resolver.depth].length&&o.resolver.actions[a.resolver.depth].push((function(){return g(a)}))}))}))}})).catch((function(t){e.verbose&&console.warn(t),r(t)}));let n={options:e};n.actions=e.resolver.actions[e.resolver.depth],t(n)}))}function y(e,t,r){e.resolver.actions.push([]),g(e).then((function(n){var o;(o=n.actions,o.reduce((e,t)=>e.then(e=>t().then(Array.prototype.concat.bind(e))),Promise.resolve([]))).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(){y(n.options,t,r)}),0):(e.verbose>1&&console.warn(d.colour.yellow+"Finished external resolution!",d.colour.normal),e.resolveInternal&&(e.verbose>1&&console.warn(d.colour.yellow+"Starting internal resolution!",d.colour.normal),e.openapi=p(e.openapi,e.original,{verbose:e.verbose-1}),e.verbose>1&&console.warn(d.colour.yellow+"Finished internal resolution!",d.colour.normal)),l(e.openapi,{},(function(t,r,n){f(t,r)&&(e.preserveMiro||delete t["x-miro"])})),t(e))})).catch((function(t){e.verbose&&console.warn(t),r(t)}))})).catch((function(t){e.verbose&&console.warn(t),r(t)}))}function b(e){if(e.cache||(e.cache={}),e.fetch||(e.fetch=i),e.source){let t=a.parse(e.source);(!t.protocol||t.protocol.length<=2)&&(e.source=o.resolve(e.source))}e.externals=[],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 b(e),new Promise((function(t,r){e.resolve?y(e,t,r):t(e)}))},resolve:function(e,t,r){return r||(r={}),r.openapi=e,r.source=t,r.resolve=!0,b(r),new Promise((function(e,t){y(r,e,t)}))}}},function(e,t,r){"use strict";const n=r(135).recurse,o=r(105).shallowClone,a=r(104).jptr,i=r(134).isRef;e.exports={dereference:function e(t,r,s){s||(s={}),s.cache||(s.cache={}),s.state||(s.state={}),s.state.identityDetection=!0,s.depth=s.depth?s.depth+1:1;let c=s.depth>1?t:o(t),l={data:c},u=s.depth>1?r:o(r);s.master||(s.master=c);let p=function(e){return e&&e.verbose?{warn:function(){var e=Array.prototype.slice.call(arguments);console.warn.apply(console,e)}}:{warn:function(){}}}(s),f=1;for(;f>0;)f=0,n(l,s.state,(function(t,r,n){if(i(t,r)){let o=t[r];if(f++,s.cache[o]){let e=s.cache[o];if(e.resolved)p.warn("Patching %s for %s",o,e.path),n.parent[n.pkey]=e.data,s.$ref&&"object"==typeof n.parent[n.pkey]&&(n.parent[n.pkey][s.$ref]=o);else{if(o===e.path)throw new Error("Tight circle at "+e.path);p.warn("Unresolved ref"),n.parent[n.pkey]=a(e.source,e.path),!1===n.parent[n.pkey]&&(n.parent[n.pkey]=a(e.source,e.key)),s.$ref&&"object"==typeof n.parent[n.pkey]&&(n.parent[s.$ref]=o)}}else{let t={};t.path=n.path.split("/$ref")[0],t.key=o,p.warn("Dereffing %s at %s",o,t.path),t.source=u,t.data=a(t.source,t.key),!1===t.data&&(t.data=a(s.master,t.key),t.source=s.master),!1===t.data&&p.warn("Missing $ref target",t.key),s.cache[o]=t,t.data=n.parent[n.pkey]=e(a(t.source,t.key),t.source,s),s.$ref&&"object"==typeof n.parent[n.pkey]&&(n.parent[n.pkey][s.$ref]=o),t.resolved=!0}}}));return l.data}}},function(e,t){e.exports=o,o.default=o,o.stable=i,o.stableStringify=i;var r=[],n=[];function o(e,t,o){var a;for(!function e(t,o,a,i){var s;if("object"==typeof t&&null!==t){for(s=0;st?1:0}function i(e,t,o){var i,c=function e(t,o,i,s){var c;if("object"==typeof t&&null!==t){for(c=0;c0)for(var o=0;o0?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,r=""+t.data;t=t.next;)r+=e+t.data;return r},e.prototype.concat=function(e){if(0===this.length)return n.alloc(0);if(1===this.length)return this.head.data;for(var t,r,o,a=n.allocUnsafe(e>>>0),i=this.head,s=0;i;)t=i.data,r=a,o=s,t.copy(r,o),s+=i.data.length,i=i.next;return a},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,r){(function(e){var n=void 0!==e&&e||"undefined"!=typeof self&&self||window,o=Function.prototype.apply;function a(e,t){this._id=e,this._clearFn=t}t.setTimeout=function(){return new a(o.call(setTimeout,n,arguments),clearTimeout)},t.setInterval=function(){return new a(o.call(setInterval,n,arguments),clearInterval)},t.clearTimeout=t.clearInterval=function(e){e&&e.close()},a.prototype.unref=a.prototype.ref=function(){},a.prototype.close=function(){this._clearFn.call(n,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))},r(315),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,r(26))},function(e,t,r){(function(e,t){!function(e,r){"use strict";if(!e.setImmediate){var n,o,a,i,s,c=1,l={},u=!1,p=e.document,f=Object.getPrototypeOf&&Object.getPrototypeOf(e);f=f&&f.setTimeout?f:e,"[object process]"==={}.toString.call(e.process)?n=function(e){t.nextTick((function(){h(e)}))}:!function(){if(e.postMessage&&!e.importScripts){var t=!0,r=e.onmessage;return e.onmessage=function(){t=!1},e.postMessage("","*"),e.onmessage=r,t}}()?e.MessageChannel?((a=new MessageChannel).port1.onmessage=function(e){h(e.data)},n=function(e){a.port2.postMessage(e)}):p&&"onreadystatechange"in p.createElement("script")?(o=p.documentElement,n=function(e){var t=p.createElement("script");t.onreadystatechange=function(){h(e),t.onreadystatechange=null,o.removeChild(t),t=null},o.appendChild(t)}):n=function(e){setTimeout(h,0,e)}:(i="setImmediate$"+Math.random()+"$",s=function(t){t.source===e&&"string"==typeof t.data&&0===t.data.indexOf(i)&&h(+t.data.slice(i.length))},e.addEventListener?e.addEventListener("message",s,!1):e.attachEvent("onmessage",s),n=function(t){e.postMessage(i+t,"*")}),f.setImmediate=function(e){"function"!=typeof e&&(e=new Function(""+e));for(var t=new Array(arguments.length-1),r=0;r","license":"BSD-3-Clause","dependencies":{"call-me-maybe":"^1.0.1","node-fetch":"^2.6.1","node-fetch-h2":"^2.3.0","node-readfiles":"^0.2.0","oas-kit-common":"^1.0.8","oas-resolver":"^2.5.4","oas-schema-walker":"^1.1.5","oas-validator":"^5.0.5","reftools":"^1.1.8","yaml":"^1.10.0","yargs":"^16.1.1"},"keywords":["swagger","openapi","openapi2","openapi3","converter","conversion","validator","validation","resolver","lint","linter"],"gitHead":"e6bea8e0b913045153b276ab23e203ece3129c88"}')},function(e,t,r){var n=r(323);e.exports=n},function(e,t,r){r(324);var n=r(12).Object,o=e.exports=function(e,t,r){return n.defineProperty(e,t,r)};n.defineProperty.sham&&(o.sham=!0)},function(e,t,r){var n=r(7),o=r(22);n({target:"Object",stat:!0,forced:!o,sham:!o},{defineProperty:r(38).f})},function(e,t,r){e.exports=r(326)},function(e,t,r){var n=r(327);e.exports=n},function(e,t,r){r(328);var n=r(12).Object,o=e.exports=function(e,t){return n.defineProperties(e,t)};n.defineProperties.sham&&(o.sham=!0)},function(e,t,r){var n=r(7),o=r(22);n({target:"Object",stat:!0,forced:!o,sham:!o},{defineProperties:r(194)})},function(e,t,r){e.exports=r(330)},function(e,t,r){var n=r(331);e.exports=n},function(e,t,r){r(332);var n=r(12);e.exports=n.Object.getOwnPropertyDescriptors},function(e,t,r){var n=r(7),o=r(22),a=r(333),i=r(42),s=r(68),c=r(88);n({target:"Object",stat:!0,sham:!o},{getOwnPropertyDescriptors:function(e){for(var t,r,n=i(e),o=s.f,l=a(n),u={},p=0;l.length>p;)void 0!==(r=o(n,t=l[p++]))&&c(u,t,r);return u}})},function(e,t,r){var n=r(43),o=r(141),a=r(142),i=r(31);e.exports=n("Reflect","ownKeys")||function(e){var t=o.f(i(e)),r=a.f;return r?t.concat(r(e)):t}},function(e,t,r){e.exports=r(335)},function(e,t,r){var n=r(196);e.exports=n},function(e,t,r){var n=r(16),o=r(37);e.exports=function(e,t){try{o(n,e,t)}catch(r){n[e]=t}return t}},function(e,t,r){"use strict";var n=r(202).IteratorPrototype,o=r(90),a=r(69),i=r(62),s=r(61),c=function(){return this};e.exports=function(e,t,r){var l=t+" Iterator";return e.prototype=o(n,{next:a(1,r)}),i(e,l,!1,!0),s[l]=c,e}},function(e,t,r){"use strict";var n=r(146),o=r(71);e.exports=n?{}.toString:function(){return"[object "+o(this)+"]"}},function(e,t,r){var n=r(17);e.exports=function(e){if(!n(e)&&null!==e)throw TypeError("Can't set "+String(e)+" as a prototype");return e}},function(e,t){e.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},function(e,t,r){var n=r(342);e.exports=n},function(e,t,r){r(343);var n=r(27);e.exports=n("Array").forEach},function(e,t,r){"use strict";var n=r(7),o=r(344);n({target:"Array",proto:!0,forced:[].forEach!=o},{forEach:o})},function(e,t,r){"use strict";var n=r(49).forEach,o=r(93),a=r(39),i=o("forEach"),s=a("forEach");e.exports=i&&s?[].forEach:function(e){return n(this,e,arguments.length>1?arguments[1]:void 0)}},function(e,t,r){var n=r(346);e.exports=n},function(e,t,r){r(347);var n=r(12).Object,o=e.exports=function(e,t){return n.getOwnPropertyDescriptor(e,t)};n.getOwnPropertyDescriptor.sham&&(o.sham=!0)},function(e,t,r){var n=r(7),o=r(13),a=r(42),i=r(68).f,s=r(22),c=o((function(){i(1)}));n({target:"Object",stat:!0,forced:!s||c,sham:!s},{getOwnPropertyDescriptor:function(e,t){return i(a(e),t)}})},function(e,t,r){e.exports=r(349)},function(e,t,r){var n=r(207);e.exports=n},function(e,t,r){r(351);var n=r(27);e.exports=n("Array").filter},function(e,t,r){"use strict";var n=r(7),o=r(49).filter,a=r(94),i=r(39),s=a("filter"),c=i("filter");n({target:"Array",proto:!0,forced:!s||!c},{filter:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},function(e,t,r){var n=r(353);e.exports=n},function(e,t,r){r(210);var n=r(12);e.exports=n.Object.getOwnPropertySymbols},function(e,t,r){var n=r(42),o=r(141).f,a={}.toString,i="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];e.exports.f=function(e){return i&&"[object Window]"==a.call(e)?function(e){try{return o(e)}catch(e){return i.slice()}}(e):o(n(e))}},function(e,t,r){var n=r(212);e.exports=n},function(e,t,r){var n=r(7),o=r(44),a=r(86);n({target:"Object",stat:!0,forced:r(13)((function(){a(1)}))},{keys:function(e){return a(o(e))}})},function(e,t,r){var n=r(358);e.exports=n},function(e,t,r){var n=r(359),o=Function.prototype;e.exports=function(e){var t=e.bind;return e===o||e instanceof Function&&t===o.bind?n:t}},function(e,t,r){r(360);var n=r(27);e.exports=n("Function").bind},function(e,t,r){r(7)({target:"Function",proto:!0},{bind:r(213)})},function(e,t,r){var n=r(51),o=r(364),a=r(36),i=r(217),s=/^\[object .+?Constructor\]$/,c=Function.prototype,l=Object.prototype,u=c.toString,p=l.hasOwnProperty,f=RegExp("^"+u.call(p).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!a(e)||o(e))&&(n(e)?f:s).test(i(e))}},function(e,t,r){var n=r(72),o=Object.prototype,a=o.hasOwnProperty,i=o.toString,s=n?n.toStringTag:void 0;e.exports=function(e){var t=a.call(e,s),r=e[s];try{e[s]=void 0;var n=!0}catch(e){}var o=i.call(e);return n&&(t?e[s]=r:delete e[s]),o}},function(e,t){var r=Object.prototype.toString;e.exports=function(e){return r.call(e)}},function(e,t,r){var n,o=r(365),a=(n=/[^.]+$/.exec(o&&o.keys&&o.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"";e.exports=function(e){return!!a&&a in e}},function(e,t,r){var n=r(45)["__core-js_shared__"];e.exports=n},function(e,t){e.exports=function(e,t){return null==e?void 0:e[t]}},function(e,t,r){var n=r(368),o=r(373);e.exports=function(e){return n((function(t,r){var n=-1,a=r.length,i=a>1?r[a-1]:void 0,s=a>2?r[2]:void 0;for(i=e.length>3&&"function"==typeof i?(a--,i):void 0,s&&o(r[0],r[1],s)&&(i=a<3?void 0:i,a=1),t=Object(t);++n0){if(++t>=800)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}},function(e,t,r){var n=r(116),o=r(73),a=r(117),i=r(36);e.exports=function(e,t,r){if(!i(r))return!1;var s=typeof t;return!!("number"==s?o(r)&&a(t,r.length):"string"==s&&t in r)&&n(r[t],e)}},function(e,t){e.exports=function(e,t){for(var r=-1,n=Array(e);++r=t?e:t)),e}},function(e,t){e.exports=function(e,t){for(var r=-1,n=null==e?0:e.length,o=Array(n);++r=0;--o){var a=this.tryEntries[o],i=a.completion;if("root"===a.tryLoc)return n("end");if(a.tryLoc<=this.prev){var s=r.call(a,"catchLoc"),c=r.call(a,"finallyLoc");if(s&&c){if(this.prev=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),w(r),l}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;w(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,r){return this.delegate={iterator:S(e),resultName:t,nextLoc:r},"next"===this.method&&(this.arg=void 0),l}},e}(e.exports);try{regeneratorRuntime=n}catch(e){Function("r","regeneratorRuntime = r")(n)}},function(e,t,r){var n=r(207);e.exports=n},function(e,t,r){r(55),r(75);var n=r(387);e.exports=n},function(e,t,r){var n=r(112),o=r(110),a=function(e){return function(t,r){var a,i,s=String(o(t)),c=n(r),l=s.length;return c<0||c>=l?e?"":void 0:(a=s.charCodeAt(c))<55296||a>56319||c+1===l||(i=s.charCodeAt(c+1))<56320||i>57343?e?s.charAt(c):a:e?s.slice(c,c+2):i-56320+(a-55296<<10)+65536}};e.exports={codeAt:a(!1),charAt:a(!0)}},function(e,t,r){var n=r(31),o=r(121);e.exports=function(e){var t=o(e);if("function"!=typeof t)throw TypeError(String(e)+" is not iterable");return n(t.call(e))}},function(e,t,r){var n=r(227);e.exports=n},function(e,t,r){r(7)({target:"Array",stat:!0},{isArray:r(92)})},function(e,t,r){e.exports=r(391)},function(e,t,r){r(55),r(75);var n=r(121);e.exports=n},function(e,t,r){var n=r(393);r(409),r(410),r(411),r(412),r(413),e.exports=n},function(e,t,r){r(228),r(157),r(210),r(394),r(395),r(396),r(397),r(229),r(398),r(399),r(400),r(401),r(402),r(403),r(404),r(405),r(406),r(407),r(408);var n=r(12);e.exports=n.Symbol},function(e,t,r){r(18)("asyncIterator")},function(e,t){},function(e,t,r){r(18)("hasInstance")},function(e,t,r){r(18)("isConcatSpreadable")},function(e,t,r){r(18)("match")},function(e,t,r){r(18)("matchAll")},function(e,t,r){r(18)("replace")},function(e,t,r){r(18)("search")},function(e,t,r){r(18)("species")},function(e,t,r){r(18)("split")},function(e,t,r){r(18)("toPrimitive")},function(e,t,r){r(18)("toStringTag")},function(e,t,r){r(18)("unscopables")},function(e,t,r){r(62)(Math,"Math",!0)},function(e,t,r){var n=r(16);r(62)(n.JSON,"JSON",!0)},function(e,t,r){r(18)("asyncDispose")},function(e,t,r){r(18)("dispose")},function(e,t,r){r(18)("observable")},function(e,t,r){r(18)("patternMatch")},function(e,t,r){r(18)("replaceAll")},function(e,t,r){var n=r(231);e.exports=n},function(e,t,r){var n=r(7),o=r(416);n({target:"Array",stat:!0,forced:!r(234)((function(e){Array.from(e)}))},{from:o})},function(e,t,r){"use strict";var n=r(85),o=r(44),a=r(232),i=r(233),s=r(54),c=r(88),l=r(121);e.exports=function(e){var t,r,u,p,f,d,h=o(e),v="function"==typeof this?this:Array,m=arguments.length,g=m>1?arguments[1]:void 0,y=void 0!==g,b=l(h),x=0;if(y&&(g=n(g,m>2?arguments[2]:void 0,2)),null==b||v==Array&&i(b))for(r=new v(t=s(h.length));t>x;x++)d=y?g(h[x],x):h[x],c(r,x,d);else for(f=(p=b.call(h)).next,r=new v;!(u=f.call(p)).done;x++)d=y?a(p,g,[u.value,x],!0):u.value,c(r,x,d);return r.length=x,r}},function(e,t,r){e.exports=r(418)},function(e,t,r){var n=r(235);e.exports=n},function(e,t,r){r(420);var n=r(27);e.exports=n("Array").slice},function(e,t,r){"use strict";var n=r(7),o=r(17),a=r(92),i=r(139),s=r(54),c=r(42),l=r(88),u=r(14),p=r(94),f=r(39),d=p("slice"),h=f("slice",{ACCESSORS:!0,0:0,1:2}),v=u("species"),m=[].slice,g=Math.max;n({target:"Array",proto:!0,forced:!d||!h},{slice:function(e,t){var r,n,u,p=c(this),f=s(p.length),d=i(e,f),h=i(void 0===t?f:t,f);if(a(p)&&("function"!=typeof(r=p.constructor)||r!==Array&&!a(r.prototype)?o(r)&&null===(r=r[v])&&(r=void 0):r=void 0,r===Array||void 0===r))return m.call(p,d,h);for(n=new(void 0===r?Array:r)(g(h-d,0)),u=0;du;)r=c[u++],n&&!i.call(s,r)||p.push(e?[r,s[r]]:s[r]);return p}};e.exports={entries:s(!0),values:s(!1)}},function(e,t,r){var n=r(426);e.exports=n},function(e,t,r){var n=r(427),o=Array.prototype;e.exports=function(e){var t=e.concat;return e===o||e instanceof Array&&t===o.concat?n:t}},function(e,t,r){r(228);var n=r(27);e.exports=n("Array").concat},function(e,t,r){var n=r(212);e.exports=n},function(e,t,r){var n=r(430);e.exports=n},function(e,t,r){var n=r(431),o=Array.prototype;e.exports=function(e){var t=e.map;return e===o||e instanceof Array&&t===o.map?n:t}},function(e,t,r){r(432);var n=r(27);e.exports=n("Array").map},function(e,t,r){"use strict";var n=r(7),o=r(49).map,a=r(94),i=r(39),s=a("map"),c=i("map");n({target:"Array",proto:!0,forced:!s||!c},{map:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},function(e,t,r){var n=r(434);e.exports=n},function(e,t,r){var n=r(435),o=Array.prototype;e.exports=function(e){var t=e.every;return e===o||e instanceof Array&&t===o.every?n:t}},function(e,t,r){r(436);var n=r(27);e.exports=n("Array").every},function(e,t,r){"use strict";var n=r(7),o=r(49).every,a=r(93),i=r(39),s=a("every"),c=i("every");n({target:"Array",proto:!0,forced:!s||!c},{every:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},function(e,t,r){var n=r(438);e.exports=n},function(e,t,r){r(439);var n=r(12);n.JSON||(n.JSON={stringify:JSON.stringify}),e.exports=function(e,t,r){return n.JSON.stringify.apply(null,arguments)}},function(e,t,r){var n=r(7),o=r(43),a=r(13),i=o("JSON","stringify"),s=/[\uD800-\uDFFF]/g,c=/^[\uD800-\uDBFF]$/,l=/^[\uDC00-\uDFFF]$/,u=function(e,t,r){var n=r.charAt(t-1),o=r.charAt(t+1);return c.test(e)&&!l.test(o)||l.test(e)&&!c.test(n)?"\\u"+e.charCodeAt(0).toString(16):e},p=a((function(){return'"\\udf06\\ud834"'!==i("\udf06\ud834")||'"\\udead"'!==i("\udead")}));i&&n({target:"JSON",stat:!0,forced:p},{stringify:function(e,t,r){var n=i.apply(null,arguments);return"string"==typeof n?n.replace(s,u):n}})},function(e,t,r){var n=r(441);e.exports=n},function(e,t,r){var n=r(442),o=Array.prototype;e.exports=function(e){var t=e.some;return e===o||e instanceof Array&&t===o.some?n:t}},function(e,t,r){r(443);var n=r(27);e.exports=n("Array").some},function(e,t,r){"use strict";var n=r(7),o=r(49).some,a=r(93),i=r(39),s=a("some"),c=i("some");n({target:"Array",proto:!0,forced:!s||!c},{some:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},function(e,t,r){var n=r(227);e.exports=n},function(e,t,r){e.exports=r(446)},function(e,t,r){var n=r(447);e.exports=n},function(e,t,r){r(229),r(75),r(55);var n=r(150);e.exports=n.f("iterator")},function(e,t,r){var n=r(156);e.exports=function(e){if(n(e))return e}},function(e,t,r){var n=r(226),o=r(237),a=r(122);e.exports=function(e,t){if(void 0!==a&&o(Object(e))){var r=[],i=!0,s=!1,c=void 0;try{for(var l,u=n(e);!(i=(l=u.next()).done)&&(r.push(l.value),!t||r.length!==t);i=!0);}catch(e){s=!0,c=e}finally{try{i||null==u.return||u.return()}finally{if(s)throw c}}return r}}},function(e,t,r){r(55),r(75);var n=r(451);e.exports=n},function(e,t,r){var n=r(71),o=r(14),a=r(61),i=o("iterator");e.exports=function(e){var t=Object(e);return void 0!==t[i]||"@@iterator"in t||a.hasOwnProperty(n(t))}},function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}},function(e,t,r){var n=r(231);e.exports=n},function(e,t,r){var n=r(455);e.exports=n},function(e,t,r){var n=r(456),o=Array.prototype;e.exports=function(e){var t=e.reduce;return e===o||e instanceof Array&&t===o.reduce?n:t}},function(e,t,r){r(457);var n=r(27);e.exports=n("Array").reduce},function(e,t,r){"use strict";var n=r(7),o=r(458).left,a=r(93),i=r(39),s=a("reduce"),c=i("reduce",{1:0});n({target:"Array",proto:!0,forced:!s||!c},{reduce:function(e){return o(this,e,arguments.length,arguments.length>1?arguments[1]:void 0)}})},function(e,t,r){var n=r(48),o=r(44),a=r(109),i=r(54),s=function(e){return function(t,r,s,c){n(r);var l=o(t),u=a(l),p=i(l.length),f=e?p-1:0,d=e?-1:1;if(s<2)for(;;){if(f in u){c=u[f],f+=d;break}if(f+=d,e?f<0:p<=f)throw TypeError("Reduce of empty array with no initial value")}for(;e?f>=0:p>f;f+=d)f in u&&(c=r(c,u[f],f,l));return c}};e.exports={left:s(!1),right:s(!0)}},function(e,t,r){r(55);var n=r(460),o=r(71),a=Array.prototype,i={DOMTokenList:!0,NodeList:!0};e.exports=function(e){var t=e.entries;return e===a||e instanceof Array&&t===a.entries||i.hasOwnProperty(o(e))?n:t}},function(e,t,r){var n=r(461);e.exports=n},function(e,t,r){r(197);var n=r(27);e.exports=n("Array").entries},function(e,t,r){var n=r(463);e.exports=n},function(e,t,r){var n=r(464),o=r(466),a=Array.prototype,i=String.prototype;e.exports=function(e){var t=e.includes;return e===a||e instanceof Array&&t===a.includes?n:"string"==typeof e||e===i||e instanceof String&&t===i.includes?o:t}},function(e,t,r){r(465);var n=r(27);e.exports=n("Array").includes},function(e,t,r){"use strict";var n=r(7),o=r(138).includes,a=r(143);n({target:"Array",proto:!0,forced:!r(39)("indexOf",{ACCESSORS:!0,1:0})},{includes:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),a("includes")},function(e,t,r){r(467);var n=r(27);e.exports=n("String").includes},function(e,t,r){"use strict";var n=r(7),o=r(468),a=r(110);n({target:"String",proto:!0,forced:!r(470)("includes")},{includes:function(e){return!!~String(a(this)).indexOf(o(e),arguments.length>1?arguments[1]:void 0)}})},function(e,t,r){var n=r(469);e.exports=function(e){if(n(e))throw TypeError("The method doesn't accept regular expressions");return e}},function(e,t,r){var n=r(17),o=r(60),a=r(14)("match");e.exports=function(e){var t;return n(e)&&(void 0!==(t=e[a])?!!t:"RegExp"==o(e))}},function(e,t,r){var n=r(14)("match");e.exports=function(e){var t=/./;try{"/./"[e](t)}catch(r){try{return t[n]=!1,"/./"[e](t)}catch(e){}}return!1}},function(e,t,r){var n=r(238);e.exports=n},function(e,t,r){r(473);var n=r(27);e.exports=n("Array").indexOf},function(e,t,r){"use strict";var n=r(7),o=r(138).indexOf,a=r(93),i=r(39),s=[].indexOf,c=!!s&&1/[1].indexOf(1,-0)<0,l=a("indexOf"),u=i("indexOf",{ACCESSORS:!0,1:0});n({target:"Array",proto:!0,forced:c||!l||!u},{indexOf:function(e){return c?s.apply(this,arguments)||0:o(this,e,arguments.length>1?arguments[1]:void 0)}})},function(e,t,r){e.exports=r(475)},function(e,t,r){var n=r(239);r(481),r(482),r(483),r(484),e.exports=n},function(e,t,r){"use strict";var n,o,a,i,s=r(7),c=r(70),l=r(16),u=r(43),p=r(240),f=r(91),d=r(159),h=r(62),v=r(477),m=r(17),g=r(48),y=r(160),b=r(60),x=r(199),w=r(76),k=r(234),S=r(241),A=r(242).set,O=r(478),E=r(244),D=r(479),C=r(97),j=r(123),_=r(56),T=r(193),I=r(14),F=r(149),P=I("species"),R="Promise",B=_.get,L=_.set,N=_.getterFor(R),M=p,q=l.TypeError,z=l.document,U=l.process,$=u("fetch"),H=C.f,W=H,V="process"==b(U),Y=!!(z&&z.createEvent&&l.dispatchEvent),K=T(R,(function(){if(!(x(M)!==String(M))){if(66===F)return!0;if(!V&&"function"!=typeof PromiseRejectionEvent)return!0}if(c&&!M.prototype.finally)return!0;if(F>=51&&/native code/.test(M))return!1;var e=M.resolve(1),t=function(e){e((function(){}),(function(){}))};return(e.constructor={})[P]=t,!(e.then((function(){}))instanceof t)})),G=K||!k((function(e){M.all(e).catch((function(){}))})),J=function(e){var t;return!(!m(e)||"function"!=typeof(t=e.then))&&t},Q=function(e,t,r){if(!t.notified){t.notified=!0;var n=t.reactions;O((function(){for(var o=t.value,a=1==t.state,i=0;n.length>i;){var s,c,l,u=n[i++],p=a?u.ok:u.fail,f=u.resolve,d=u.reject,h=u.domain;try{p?(a||(2===t.rejection&&te(e,t),t.rejection=1),!0===p?s=o:(h&&h.enter(),s=p(o),h&&(h.exit(),l=!0)),s===u.promise?d(q("Promise-chain cycle")):(c=J(s))?c.call(s,f,d):f(s)):d(o)}catch(e){h&&!l&&h.exit(),d(e)}}t.reactions=[],t.notified=!1,r&&!t.rejection&&Z(e,t)}))}},X=function(e,t,r){var n,o;Y?((n=z.createEvent("Event")).promise=t,n.reason=r,n.initEvent(e,!1,!0),l.dispatchEvent(n)):n={promise:t,reason:r},(o=l["on"+e])?o(n):"unhandledrejection"===e&&D("Unhandled promise rejection",r)},Z=function(e,t){A.call(l,(function(){var r,n=t.value;if(ee(t)&&(r=j((function(){V?U.emit("unhandledRejection",n,e):X("unhandledrejection",e,n)})),t.rejection=V||ee(t)?2:1,r.error))throw r.value}))},ee=function(e){return 1!==e.rejection&&!e.parent},te=function(e,t){A.call(l,(function(){V?U.emit("rejectionHandled",e):X("rejectionhandled",e,t.value)}))},re=function(e,t,r,n){return function(o){e(t,r,o,n)}},ne=function(e,t,r,n){t.done||(t.done=!0,n&&(t=n),t.value=r,t.state=2,Q(e,t,!0))},oe=function(e,t,r,n){if(!t.done){t.done=!0,n&&(t=n);try{if(e===r)throw q("Promise can't be resolved itself");var o=J(r);o?O((function(){var n={done:!1};try{o.call(r,re(oe,e,n,t),re(ne,e,n,t))}catch(r){ne(e,n,r,t)}})):(t.value=r,t.state=1,Q(e,t,!1))}catch(r){ne(e,{done:!1},r,t)}}};K&&(M=function(e){y(this,M,R),g(e),n.call(this);var t=B(this);try{e(re(oe,this,t),re(ne,this,t))}catch(e){ne(this,t,e)}},(n=function(e){L(this,{type:R,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=d(M.prototype,{then:function(e,t){var r=N(this),n=H(S(this,M));return n.ok="function"!=typeof e||e,n.fail="function"==typeof t&&t,n.domain=V?U.domain:void 0,r.parent=!0,r.reactions.push(n),0!=r.state&&Q(this,r,!1),n.promise},catch:function(e){return this.then(void 0,e)}}),o=function(){var e=new n,t=B(e);this.promise=e,this.resolve=re(oe,e,t),this.reject=re(ne,e,t)},C.f=H=function(e){return e===M||e===a?new o(e):W(e)},c||"function"!=typeof p||(i=p.prototype.then,f(p.prototype,"then",(function(e,t){var r=this;return new M((function(e,t){i.call(r,e,t)})).then(e,t)}),{unsafe:!0}),"function"==typeof $&&s({global:!0,enumerable:!0,forced:!0},{fetch:function(e){return E(M,$.apply(l,arguments))}}))),s({global:!0,wrap:!0,forced:K},{Promise:M}),h(M,R,!1,!0),v(R),a=u(R),s({target:R,stat:!0,forced:K},{reject:function(e){var t=H(this);return t.reject.call(void 0,e),t.promise}}),s({target:R,stat:!0,forced:c||K},{resolve:function(e){return E(c&&this===a?M:this,e)}}),s({target:R,stat:!0,forced:G},{all:function(e){var t=this,r=H(t),n=r.resolve,o=r.reject,a=j((function(){var r=g(t.resolve),a=[],i=0,s=1;w(e,(function(e){var c=i++,l=!1;a.push(void 0),s++,r.call(t,e).then((function(e){l||(l=!0,a[c]=e,--s||n(a))}),o)})),--s||n(a)}));return a.error&&o(a.value),r.promise},race:function(e){var t=this,r=H(t),n=r.reject,o=j((function(){var o=g(t.resolve);w(e,(function(e){o.call(t,e).then(r.resolve,n)}))}));return o.error&&n(o.value),r.promise}})},function(e,t,r){"use strict";var n=r(43),o=r(38),a=r(14),i=r(22),s=a("species");e.exports=function(e){var t=n(e),r=o.f;i&&t&&!t[s]&&r(t,s,{configurable:!0,get:function(){return this}})}},function(e,t,r){var n,o,a,i,s,c,l,u,p=r(16),f=r(68).f,d=r(60),h=r(242).set,v=r(243),m=p.MutationObserver||p.WebKitMutationObserver,g=p.process,y=p.Promise,b="process"==d(g),x=f(p,"queueMicrotask"),w=x&&x.value;w||(n=function(){var e,t;for(b&&(e=g.domain)&&e.exit();o;){t=o.fn,o=o.next;try{t()}catch(e){throw o?i():a=void 0,e}}a=void 0,e&&e.enter()},b?i=function(){g.nextTick(n)}:m&&!v?(s=!0,c=document.createTextNode(""),new m(n).observe(c,{characterData:!0}),i=function(){c.data=s=!s}):y&&y.resolve?(l=y.resolve(void 0),u=l.then,i=function(){u.call(l,n)}):i=function(){h.call(p,n)}),e.exports=w||function(e){var t={fn:e,next:void 0};a&&(a.next=t),o||(o=t,i()),a=t}},function(e,t,r){var n=r(16);e.exports=function(e,t){var r=n.console;r&&r.error&&(1===arguments.length?r.error(e):r.error(e,t))}},function(e,t,r){"use strict";var n=r(7),o=r(70),a=r(240),i=r(13),s=r(43),c=r(241),l=r(244),u=r(91);n({target:"Promise",proto:!0,real:!0,forced:!!a&&i((function(){a.prototype.finally.call({then:function(){}},(function(){}))}))},{finally:function(e){var t=c(this,s("Promise")),r="function"==typeof e;return this.then(r?function(r){return l(t,e()).then((function(){return r}))}:e,r?function(r){return l(t,e()).then((function(){throw r}))}:e)}}),o||"function"!=typeof a||a.prototype.finally||u(a.prototype,"finally",s("Promise").prototype.finally)},function(e,t,r){"use strict";var n=r(7),o=r(22),a=r(89),i=r(147),s=r(90),c=r(38),l=r(69),u=r(76),p=r(37),f=r(56),d=f.set,h=f.getterFor("AggregateError"),v=function(e,t){var r=this;if(!(r instanceof v))return new v(e,t);i&&(r=i(new Error(t),a(r)));var n=[];return u(e,n.push,n),o?d(r,{errors:n,type:"AggregateError"}):r.errors=n,void 0!==t&&p(r,"message",String(t)),r};v.prototype=s(Error.prototype,{constructor:l(5,v),message:l(5,""),name:l(5,"AggregateError")}),o&&c.f(v.prototype,"errors",{get:function(){return h(this).errors},configurable:!0}),n({global:!0},{AggregateError:v})},function(e,t,r){r(245)},function(e,t,r){"use strict";var n=r(7),o=r(97),a=r(123);n({target:"Promise",stat:!0},{try:function(e){var t=o.f(this),r=a(e);return(r.error?t.reject:t.resolve)(r.value),t.promise}})},function(e,t,r){"use strict";var n=r(7),o=r(48),a=r(43),i=r(97),s=r(123),c=r(76);n({target:"Promise",stat:!0},{any:function(e){var t=this,r=i.f(t),n=r.resolve,l=r.reject,u=s((function(){var r=o(t.resolve),i=[],s=0,u=1,p=!1;c(e,(function(e){var o=s++,c=!1;i.push(void 0),u++,r.call(t,e).then((function(e){c||p||(p=!0,n(e))}),(function(e){c||p||(c=!0,i[o]=e,--u||l(new(a("AggregateError"))(i,"No one promise resolved")))}))})),--u||l(new(a("AggregateError"))(i,"No one promise resolved"))}));return u.error&&l(u.value),r.promise}})},function(e,t){!function(e){!function(t){var r="URLSearchParams"in e,n="Symbol"in e&&"iterator"in Symbol,o="FileReader"in e&&"Blob"in e&&function(){try{return new Blob,!0}catch(e){return!1}}(),a="FormData"in e,i="ArrayBuffer"in e;if(i)var s=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],c=ArrayBuffer.isView||function(e){return e&&s.indexOf(Object.prototype.toString.call(e))>-1};function l(e){if("string"!=typeof e&&(e=String(e)),/[^a-z0-9\-#$%&'*+.^_`|~]/i.test(e))throw new TypeError("Invalid character in header field name");return e.toLowerCase()}function u(e){return"string"!=typeof e&&(e=String(e)),e}function p(e){var t={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return n&&(t[Symbol.iterator]=function(){return t}),t}function f(e){this.map={},e instanceof f?e.forEach((function(e,t){this.append(t,e)}),this):Array.isArray(e)?e.forEach((function(e){this.append(e[0],e[1])}),this):e&&Object.getOwnPropertyNames(e).forEach((function(t){this.append(t,e[t])}),this)}function d(e){if(e.bodyUsed)return Promise.reject(new TypeError("Already read"));e.bodyUsed=!0}function h(e){return new Promise((function(t,r){e.onload=function(){t(e.result)},e.onerror=function(){r(e.error)}}))}function v(e){var t=new FileReader,r=h(t);return t.readAsArrayBuffer(e),r}function m(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function g(){return this.bodyUsed=!1,this._initBody=function(e){var t;this._bodyInit=e,e?"string"==typeof e?this._bodyText=e:o&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:a&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:r&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():i&&o&&((t=e)&&DataView.prototype.isPrototypeOf(t))?(this._bodyArrayBuffer=m(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):i&&(ArrayBuffer.prototype.isPrototypeOf(e)||c(e))?this._bodyArrayBuffer=m(e):this._bodyText=e=Object.prototype.toString.call(e):this._bodyText="",this.headers.get("content-type")||("string"==typeof e?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):r&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},o&&(this.blob=function(){var e=d(this);if(e)return e;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?d(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(v)}),this.text=function(){var e,t,r,n=d(this);if(n)return n;if(this._bodyBlob)return e=this._bodyBlob,t=new FileReader,r=h(t),t.readAsText(e),r;if(this._bodyArrayBuffer)return Promise.resolve(function(e){for(var t=new Uint8Array(e),r=new Array(t.length),n=0;n-1?n:r),this.mode=t.mode||this.mode||null,this.signal=t.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&o)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(o)}function x(e){var t=new FormData;return e.trim().split("&").forEach((function(e){if(e){var r=e.split("="),n=r.shift().replace(/\+/g," "),o=r.join("=").replace(/\+/g," ");t.append(decodeURIComponent(n),decodeURIComponent(o))}})),t}function w(e,t){t||(t={}),this.type="default",this.status=void 0===t.status?200:t.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in t?t.statusText:"OK",this.headers=new f(t.headers),this.url=t.url||"",this._initBody(e)}b.prototype.clone=function(){return new b(this,{body:this._bodyInit})},g.call(b.prototype),g.call(w.prototype),w.prototype.clone=function(){return new w(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new f(this.headers),url:this.url})},w.error=function(){var e=new w(null,{status:0,statusText:""});return e.type="error",e};var k=[301,302,303,307,308];w.redirect=function(e,t){if(-1===k.indexOf(t))throw new RangeError("Invalid status code");return new w(null,{status:t,headers:{location:e}})},t.DOMException=e.DOMException;try{new t.DOMException}catch(e){t.DOMException=function(e,t){this.message=e,this.name=t;var r=Error(e);this.stack=r.stack},t.DOMException.prototype=Object.create(Error.prototype),t.DOMException.prototype.constructor=t.DOMException}function S(e,r){return new Promise((function(n,a){var i=new b(e,r);if(i.signal&&i.signal.aborted)return a(new t.DOMException("Aborted","AbortError"));var s=new XMLHttpRequest;function c(){s.abort()}s.onload=function(){var e,t,r={status:s.status,statusText:s.statusText,headers:(e=s.getAllResponseHeaders()||"",t=new f,e.replace(/\r?\n[\t ]+/g," ").split(/\r?\n/).forEach((function(e){var r=e.split(":"),n=r.shift().trim();if(n){var o=r.join(":").trim();t.append(n,o)}})),t)};r.url="responseURL"in s?s.responseURL:r.headers.get("X-Request-URL");var o="response"in s?s.response:s.responseText;n(new w(o,r))},s.onerror=function(){a(new TypeError("Network request failed"))},s.ontimeout=function(){a(new TypeError("Network request failed"))},s.onabort=function(){a(new t.DOMException("Aborted","AbortError"))},s.open(i.method,i.url,!0),"include"===i.credentials?s.withCredentials=!0:"omit"===i.credentials&&(s.withCredentials=!1),"responseType"in s&&o&&(s.responseType="blob"),i.headers.forEach((function(e,t){s.setRequestHeader(t,e)})),i.signal&&(i.signal.addEventListener("abort",c),s.onreadystatechange=function(){4===s.readyState&&i.signal.removeEventListener("abort",c)}),s.send(void 0===i._bodyInit?null:i._bodyInit)}))}S.polyfill=!0,e.fetch||(e.fetch=S,e.Headers=f,e.Request=b,e.Response=w),t.Headers=f,t.Request=b,t.Response=w,t.fetch=S}({})}("undefined"!=typeof self?self:this)},function(e,t,r){"use strict";var n=r(487),o=r(506);function a(e){return function(){throw new Error("Function "+e+" is deprecated and cannot be used.")}}e.exports.Type=r(20),e.exports.Schema=r(78),e.exports.FAILSAFE_SCHEMA=r(161),e.exports.JSON_SCHEMA=r(247),e.exports.CORE_SCHEMA=r(246),e.exports.DEFAULT_SAFE_SCHEMA=r(99),e.exports.DEFAULT_FULL_SCHEMA=r(124),e.exports.load=n.load,e.exports.loadAll=n.loadAll,e.exports.safeLoad=n.safeLoad,e.exports.safeLoadAll=n.safeLoadAll,e.exports.dump=o.dump,e.exports.safeDump=o.safeDump,e.exports.YAMLException=r(98),e.exports.MINIMAL_SCHEMA=r(161),e.exports.SAFE_SCHEMA=r(99),e.exports.DEFAULT_SCHEMA=r(124),e.exports.scan=a("scan"),e.exports.parse=a("parse"),e.exports.compose=a("compose"),e.exports.addConstructor=a("addConstructor")},function(e,t,r){"use strict";var n=r(77),o=r(98),a=r(488),i=r(99),s=r(124),c=Object.prototype.hasOwnProperty,l=/[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,u=/[\x85\u2028\u2029]/,p=/[,\[\]\{\}]/,f=/^(?:!|!!|![a-z\-]+!)$/i,d=/^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;function h(e){return Object.prototype.toString.call(e)}function v(e){return 10===e||13===e}function m(e){return 9===e||32===e}function g(e){return 9===e||32===e||10===e||13===e}function y(e){return 44===e||91===e||93===e||123===e||125===e}function b(e){var t;return 48<=e&&e<=57?e-48:97<=(t=32|e)&&t<=102?t-97+10:-1}function x(e){return 48===e?"\0":97===e?"":98===e?"\b":116===e||9===e?"\t":110===e?"\n":118===e?"\v":102===e?"\f":114===e?"\r":101===e?"":32===e?" ":34===e?'"':47===e?"/":92===e?"\\":78===e?"…":95===e?" ":76===e?"\u2028":80===e?"\u2029":""}function w(e){return e<=65535?String.fromCharCode(e):String.fromCharCode(55296+(e-65536>>10),56320+(e-65536&1023))}for(var k=new Array(256),S=new Array(256),A=0;A<256;A++)k[A]=x(A)?1:0,S[A]=x(A);function O(e,t){this.input=e,this.filename=t.filename||null,this.schema=t.schema||s,this.onWarning=t.onWarning||null,this.legacy=t.legacy||!1,this.json=t.json||!1,this.listener=t.listener||null,this.implicitTypes=this.schema.compiledImplicit,this.typeMap=this.schema.compiledTypeMap,this.length=e.length,this.position=0,this.line=0,this.lineStart=0,this.lineIndent=0,this.documents=[]}function E(e,t){return new o(t,new a(e.filename,e.input,e.position,e.line,e.position-e.lineStart))}function D(e,t){throw E(e,t)}function C(e,t){e.onWarning&&e.onWarning.call(null,E(e,t))}var j={YAML:function(e,t,r){var n,o,a;null!==e.version&&D(e,"duplication of %YAML directive"),1!==r.length&&D(e,"YAML directive accepts exactly one argument"),null===(n=/^([0-9]+)\.([0-9]+)$/.exec(r[0]))&&D(e,"ill-formed argument of the YAML directive"),o=parseInt(n[1],10),a=parseInt(n[2],10),1!==o&&D(e,"unacceptable YAML version of the document"),e.version=r[0],e.checkLineBreaks=a<2,1!==a&&2!==a&&C(e,"unsupported YAML version of the document")},TAG:function(e,t,r){var n,o;2!==r.length&&D(e,"TAG directive accepts exactly two arguments"),n=r[0],o=r[1],f.test(n)||D(e,"ill-formed tag handle (first argument) of the TAG directive"),c.call(e.tagMap,n)&&D(e,'there is a previously declared suffix for "'+n+'" tag handle'),d.test(o)||D(e,"ill-formed tag prefix (second argument) of the TAG directive"),e.tagMap[n]=o}};function _(e,t,r,n){var o,a,i,s;if(t1&&(e.result+=n.repeat("\n",t-1))}function L(e,t){var r,n,o=e.tag,a=e.anchor,i=[],s=!1;for(null!==e.anchor&&(e.anchorMap[e.anchor]=i),n=e.input.charCodeAt(e.position);0!==n&&45===n&&g(e.input.charCodeAt(e.position+1));)if(s=!0,e.position++,P(e,!0,-1)&&e.lineIndent<=t)i.push(null),n=e.input.charCodeAt(e.position);else if(r=e.line,q(e,t,3,!1,!0),i.push(e.result),P(e,!0,-1),n=e.input.charCodeAt(e.position),(e.line===r||e.lineIndent>t)&&0!==n)D(e,"bad indentation of a sequence entry");else if(e.lineIndentt?x=1:e.lineIndent===t?x=0:e.lineIndentt?x=1:e.lineIndent===t?x=0:e.lineIndentt)&&(q(e,t,4,!0,o)&&(v?d=e.result:h=e.result),v||(I(e,u,p,f,d,h,a,i),f=d=h=null),P(e,!0,-1),s=e.input.charCodeAt(e.position)),e.lineIndent>t&&0!==s)D(e,"bad indentation of a mapping entry");else if(e.lineIndent=0))break;0===a?D(e,"bad explicit indentation width of a block scalar; it cannot be less than one"):u?D(e,"repeat of an indentation width identifier"):(p=t+a-1,u=!0)}if(m(i)){do{i=e.input.charCodeAt(++e.position)}while(m(i));if(35===i)do{i=e.input.charCodeAt(++e.position)}while(!v(i)&&0!==i)}for(;0!==i;){for(F(e),e.lineIndent=0,i=e.input.charCodeAt(e.position);(!u||e.lineIndentp&&(p=e.lineIndent),v(i))f++;else{if(e.lineIndent0){for(o=i,a=0;o>0;o--)(i=b(s=e.input.charCodeAt(++e.position)))>=0?a=(a<<4)+i:D(e,"expected hexadecimal character");e.result+=w(a),e.position++}else D(e,"unknown escape sequence");r=n=e.position}else v(s)?(_(e,r,n,!0),B(e,P(e,!1,t)),r=n=e.position):e.position===e.lineStart&&R(e)?D(e,"unexpected end of the document within a double quoted scalar"):(e.position++,n=e.position)}D(e,"unexpected end of the stream within a double quoted scalar")}(e,d)?O=!0:!function(e){var t,r,n;if(42!==(n=e.input.charCodeAt(e.position)))return!1;for(n=e.input.charCodeAt(++e.position),t=e.position;0!==n&&!g(n)&&!y(n);)n=e.input.charCodeAt(++e.position);return e.position===t&&D(e,"name of an alias node must contain at least one character"),r=e.input.slice(t,e.position),e.anchorMap.hasOwnProperty(r)||D(e,'unidentified alias "'+r+'"'),e.result=e.anchorMap[r],P(e,!0,-1),!0}(e)?function(e,t,r){var n,o,a,i,s,c,l,u,p=e.kind,f=e.result;if(g(u=e.input.charCodeAt(e.position))||y(u)||35===u||38===u||42===u||33===u||124===u||62===u||39===u||34===u||37===u||64===u||96===u)return!1;if((63===u||45===u)&&(g(n=e.input.charCodeAt(e.position+1))||r&&y(n)))return!1;for(e.kind="scalar",e.result="",o=a=e.position,i=!1;0!==u;){if(58===u){if(g(n=e.input.charCodeAt(e.position+1))||r&&y(n))break}else if(35===u){if(g(e.input.charCodeAt(e.position-1)))break}else{if(e.position===e.lineStart&&R(e)||r&&y(u))break;if(v(u)){if(s=e.line,c=e.lineStart,l=e.lineIndent,P(e,!1,-1),e.lineIndent>=t){i=!0,u=e.input.charCodeAt(e.position);continue}e.position=a,e.line=s,e.lineStart=c,e.lineIndent=l;break}}i&&(_(e,o,a,!1),B(e,e.line-s),o=a=e.position,i=!1),m(u)||(a=e.position+1),u=e.input.charCodeAt(++e.position)}return _(e,o,a,!1),!!e.result||(e.kind=p,e.result=f,!1)}(e,d,1===r)&&(O=!0,null===e.tag&&(e.tag="?")):(O=!0,null===e.tag&&null===e.anchor||D(e,"alias node should not have any properties")),null!==e.anchor&&(e.anchorMap[e.anchor]=e.result)):0===x&&(O=l&&L(e,h))),null!==e.tag&&"!"!==e.tag)if("?"===e.tag){for(null!==e.result&&"scalar"!==e.kind&&D(e,'unacceptable node kind for ! tag; it should be "scalar", not "'+e.kind+'"'),u=0,p=e.implicitTypes.length;u tag; it should be "'+f.kind+'", not "'+e.kind+'"'),f.resolve(e.result)?(e.result=f.construct(e.result),null!==e.anchor&&(e.anchorMap[e.anchor]=e.result)):D(e,"cannot resolve a node with !<"+e.tag+"> explicit tag")):D(e,"unknown tag !<"+e.tag+">");return null!==e.listener&&e.listener("close",e),null!==e.tag||null!==e.anchor||O}function z(e){var t,r,n,o,a=e.position,i=!1;for(e.version=null,e.checkLineBreaks=e.legacy,e.tagMap={},e.anchorMap={};0!==(o=e.input.charCodeAt(e.position))&&(P(e,!0,-1),o=e.input.charCodeAt(e.position),!(e.lineIndent>0||37!==o));){for(i=!0,o=e.input.charCodeAt(++e.position),t=e.position;0!==o&&!g(o);)o=e.input.charCodeAt(++e.position);for(n=[],(r=e.input.slice(t,e.position)).length<1&&D(e,"directive name must not be less than one character in length");0!==o;){for(;m(o);)o=e.input.charCodeAt(++e.position);if(35===o){do{o=e.input.charCodeAt(++e.position)}while(0!==o&&!v(o));break}if(v(o))break;for(t=e.position;0!==o&&!g(o);)o=e.input.charCodeAt(++e.position);n.push(e.input.slice(t,e.position))}0!==o&&F(e),c.call(j,r)?j[r](e,r,n):C(e,'unknown document directive "'+r+'"')}P(e,!0,-1),0===e.lineIndent&&45===e.input.charCodeAt(e.position)&&45===e.input.charCodeAt(e.position+1)&&45===e.input.charCodeAt(e.position+2)?(e.position+=3,P(e,!0,-1)):i&&D(e,"directives end mark is expected"),q(e,e.lineIndent-1,4,!1,!0),P(e,!0,-1),e.checkLineBreaks&&u.test(e.input.slice(a,e.position))&&C(e,"non-ASCII line breaks are interpreted as content"),e.documents.push(e.result),e.position===e.lineStart&&R(e)?46===e.input.charCodeAt(e.position)&&(e.position+=3,P(e,!0,-1)):e.position0&&-1==="\0\r\n…\u2028\u2029".indexOf(this.buffer.charAt(o-1));)if(o-=1,this.position-o>t/2-1){r=" ... ",o+=5;break}for(a="",i=this.position;it/2-1){a=" ... ",i-=5;break}return s=this.buffer.slice(o,i),n.repeat(" ",e)+r+s+a+"\n"+n.repeat(" ",e+this.position-o+r.length)+"^"},o.prototype.toString=function(e){var t,r="";return this.name&&(r+='in "'+this.name+'" '),r+="at line "+(this.line+1)+", column "+(this.column+1),e||(t=this.getSnippet())&&(r+=":\n"+t),r},e.exports=o},function(e,t,r){"use strict";var n=r(20);e.exports=new n("tag:yaml.org,2002:str",{kind:"scalar",construct:function(e){return null!==e?e:""}})},function(e,t,r){"use strict";var n=r(20);e.exports=new n("tag:yaml.org,2002:seq",{kind:"sequence",construct:function(e){return null!==e?e:[]}})},function(e,t,r){"use strict";var n=r(20);e.exports=new n("tag:yaml.org,2002:map",{kind:"mapping",construct:function(e){return null!==e?e:{}}})},function(e,t,r){"use strict";var n=r(20);e.exports=new n("tag:yaml.org,2002:null",{kind:"scalar",resolve:function(e){if(null===e)return!0;var t=e.length;return 1===t&&"~"===e||4===t&&("null"===e||"Null"===e||"NULL"===e)},construct:function(){return null},predicate:function(e){return null===e},represent:{canonical:function(){return"~"},lowercase:function(){return"null"},uppercase:function(){return"NULL"},camelcase:function(){return"Null"}},defaultStyle:"lowercase"})},function(e,t,r){"use strict";var n=r(20);e.exports=new n("tag:yaml.org,2002:bool",{kind:"scalar",resolve:function(e){if(null===e)return!1;var t=e.length;return 4===t&&("true"===e||"True"===e||"TRUE"===e)||5===t&&("false"===e||"False"===e||"FALSE"===e)},construct:function(e){return"true"===e||"True"===e||"TRUE"===e},predicate:function(e){return"[object Boolean]"===Object.prototype.toString.call(e)},represent:{lowercase:function(e){return e?"true":"false"},uppercase:function(e){return e?"TRUE":"FALSE"},camelcase:function(e){return e?"True":"False"}},defaultStyle:"lowercase"})},function(e,t,r){"use strict";var n=r(77),o=r(20);function a(e){return 48<=e&&e<=55}function i(e){return 48<=e&&e<=57}e.exports=new o("tag:yaml.org,2002:int",{kind:"scalar",resolve:function(e){if(null===e)return!1;var t,r,n=e.length,o=0,s=!1;if(!n)return!1;if("-"!==(t=e[o])&&"+"!==t||(t=e[++o]),"0"===t){if(o+1===n)return!0;if("b"===(t=e[++o])){for(o++;o=0?"0b"+e.toString(2):"-0b"+e.toString(2).slice(1)},octal:function(e){return e>=0?"0"+e.toString(8):"-0"+e.toString(8).slice(1)},decimal:function(e){return e.toString(10)},hexadecimal:function(e){return e>=0?"0x"+e.toString(16).toUpperCase():"-0x"+e.toString(16).toUpperCase().slice(1)}},defaultStyle:"decimal",styleAliases:{binary:[2,"bin"],octal:[8,"oct"],decimal:[10,"dec"],hexadecimal:[16,"hex"]}})},function(e,t,r){"use strict";var n=r(77),o=r(20),a=new RegExp("^(?:[-+]?(?:0|[1-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+\\.[0-9_]*|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$");var i=/^[-+]?[0-9]+e/;e.exports=new o("tag:yaml.org,2002:float",{kind:"scalar",resolve:function(e){return null!==e&&!(!a.test(e)||"_"===e[e.length-1])},construct:function(e){var t,r,n,o;return r="-"===(t=e.replace(/_/g,"").toLowerCase())[0]?-1:1,o=[],"+-".indexOf(t[0])>=0&&(t=t.slice(1)),".inf"===t?1===r?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY:".nan"===t?NaN:t.indexOf(":")>=0?(t.split(":").forEach((function(e){o.unshift(parseFloat(e,10))})),t=0,n=1,o.forEach((function(e){t+=e*n,n*=60})),r*t):r*parseFloat(t,10)},predicate:function(e){return"[object Number]"===Object.prototype.toString.call(e)&&(e%1!=0||n.isNegativeZero(e))},represent:function(e,t){var r;if(isNaN(e))switch(t){case"lowercase":return".nan";case"uppercase":return".NAN";case"camelcase":return".NaN"}else if(Number.POSITIVE_INFINITY===e)switch(t){case"lowercase":return".inf";case"uppercase":return".INF";case"camelcase":return".Inf"}else if(Number.NEGATIVE_INFINITY===e)switch(t){case"lowercase":return"-.inf";case"uppercase":return"-.INF";case"camelcase":return"-.Inf"}else if(n.isNegativeZero(e))return"-0.0";return r=e.toString(10),i.test(r)?r.replace("e",".e"):r},defaultStyle:"lowercase"})},function(e,t,r){"use strict";var n=r(20),o=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"),a=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:[Tt]|[ \\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\.([0-9]*))?(?:[ \\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?$");e.exports=new n("tag:yaml.org,2002:timestamp",{kind:"scalar",resolve:function(e){return null!==e&&(null!==o.exec(e)||null!==a.exec(e))},construct:function(e){var t,r,n,i,s,c,l,u,p=0,f=null;if(null===(t=o.exec(e))&&(t=a.exec(e)),null===t)throw new Error("Date resolve error");if(r=+t[1],n=+t[2]-1,i=+t[3],!t[4])return new Date(Date.UTC(r,n,i));if(s=+t[4],c=+t[5],l=+t[6],t[7]){for(p=t[7].slice(0,3);p.length<3;)p+="0";p=+p}return t[9]&&(f=6e4*(60*+t[10]+ +(t[11]||0)),"-"===t[9]&&(f=-f)),u=new Date(Date.UTC(r,n,i,s,c,l,p)),f&&u.setTime(u.getTime()-f),u},instanceOf:Date,represent:function(e){return e.toISOString()}})},function(e,t,r){"use strict";var n=r(20);e.exports=new n("tag:yaml.org,2002:merge",{kind:"scalar",resolve:function(e){return"<<"===e||null===e}})},function(e,t,r){"use strict";var n;try{n=r(33).Buffer}catch(e){}var o=r(20),a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=\n\r";e.exports=new o("tag:yaml.org,2002:binary",{kind:"scalar",resolve:function(e){if(null===e)return!1;var t,r,n=0,o=e.length,i=a;for(r=0;r64)){if(t<0)return!1;n+=6}return n%8==0},construct:function(e){var t,r,o=e.replace(/[\r\n=]/g,""),i=o.length,s=a,c=0,l=[];for(t=0;t>16&255),l.push(c>>8&255),l.push(255&c)),c=c<<6|s.indexOf(o.charAt(t));return 0===(r=i%4*6)?(l.push(c>>16&255),l.push(c>>8&255),l.push(255&c)):18===r?(l.push(c>>10&255),l.push(c>>2&255)):12===r&&l.push(c>>4&255),n?n.from?n.from(l):new n(l):l},predicate:function(e){return n&&n.isBuffer(e)},represent:function(e){var t,r,n="",o=0,i=e.length,s=a;for(t=0;t>18&63],n+=s[o>>12&63],n+=s[o>>6&63],n+=s[63&o]),o=(o<<8)+e[t];return 0===(r=i%3)?(n+=s[o>>18&63],n+=s[o>>12&63],n+=s[o>>6&63],n+=s[63&o]):2===r?(n+=s[o>>10&63],n+=s[o>>4&63],n+=s[o<<2&63],n+=s[64]):1===r&&(n+=s[o>>2&63],n+=s[o<<4&63],n+=s[64],n+=s[64]),n}})},function(e,t,r){"use strict";var n=r(20),o=Object.prototype.hasOwnProperty,a=Object.prototype.toString;e.exports=new n("tag:yaml.org,2002:omap",{kind:"sequence",resolve:function(e){if(null===e)return!0;var t,r,n,i,s,c=[],l=e;for(t=0,r=l.length;t3)return!1;if("/"!==t[t.length-n.length-1])return!1}return!0},construct:function(e){var t=e,r=/\/([gim]*)$/.exec(e),n="";return"/"===t[0]&&(r&&(n=r[1]),t=t.slice(1,t.length-n.length-1)),new RegExp(t,n)},predicate:function(e){return"[object RegExp]"===Object.prototype.toString.call(e)},represent:function(e){var t="/"+e.source+"/";return e.global&&(t+="g"),e.multiline&&(t+="m"),e.ignoreCase&&(t+="i"),t}})},function(e,t,r){"use strict";var n;try{n=r(505)}catch(e){"undefined"!=typeof window&&(n=window.esprima)}var o=r(20);e.exports=new o("tag:yaml.org,2002:js/function",{kind:"scalar",resolve:function(e){if(null===e)return!1;try{var t="("+e+")",r=n.parse(t,{range:!0});return"Program"===r.type&&1===r.body.length&&"ExpressionStatement"===r.body[0].type&&("ArrowFunctionExpression"===r.body[0].expression.type||"FunctionExpression"===r.body[0].expression.type)}catch(e){return!1}},construct:function(e){var t,r="("+e+")",o=n.parse(r,{range:!0}),a=[];if("Program"!==o.type||1!==o.body.length||"ExpressionStatement"!==o.body[0].type||"ArrowFunctionExpression"!==o.body[0].expression.type&&"FunctionExpression"!==o.body[0].expression.type)throw new Error("Failed to resolve function");return o.body[0].expression.params.forEach((function(e){a.push(e.name)})),t=o.body[0].expression.body.range,"BlockStatement"===o.body[0].expression.body.type?new Function(a,r.slice(t[0]+1,t[1]-1)):new Function(a,"return "+r.slice(t[0],t[1]))},predicate:function(e){return"[object Function]"===Object.prototype.toString.call(e)},represent:function(e){return e.toString()}})},function(e,t){if("undefined"==typeof esprima){var r=new Error("Cannot find module 'esprima'");throw r.code="MODULE_NOT_FOUND",r}e.exports=esprima},function(e,t,r){"use strict";var n=r(77),o=r(98),a=r(124),i=r(99),s=Object.prototype.toString,c=Object.prototype.hasOwnProperty,l={0:"\\0",7:"\\a",8:"\\b",9:"\\t",10:"\\n",11:"\\v",12:"\\f",13:"\\r",27:"\\e",34:'\\"',92:"\\\\",133:"\\N",160:"\\_",8232:"\\L",8233:"\\P"},u=["y","Y","yes","Yes","YES","on","On","ON","n","N","no","No","NO","off","Off","OFF"];function p(e){var t,r,a;if(t=e.toString(16).toUpperCase(),e<=255)r="x",a=2;else if(e<=65535)r="u",a=4;else{if(!(e<=4294967295))throw new o("code point within a string may not be greater than 0xFFFFFFFF");r="U",a=8}return"\\"+r+n.repeat("0",a-t.length)+t}function f(e){this.schema=e.schema||a,this.indent=Math.max(1,e.indent||2),this.noArrayIndent=e.noArrayIndent||!1,this.skipInvalid=e.skipInvalid||!1,this.flowLevel=n.isNothing(e.flowLevel)?-1:e.flowLevel,this.styleMap=function(e,t){var r,n,o,a,i,s,l;if(null===t)return{};for(r={},o=0,a=(n=Object.keys(t)).length;o0?e.charCodeAt(a-1):null,d=d&&g(i,s)}else{for(a=0;an&&" "!==e[f+1],f=a);else if(!m(i))return 5;s=a>0?e.charCodeAt(a-1):null,d=d&&g(i,s)}u=u||p&&a-f-1>n&&" "!==e[f+1]}return l||u?r>9&&y(e)?5:u?4:3:d&&!o(e)?1:2}function x(e,t,r,n){e.dump=function(){if(0===t.length)return"''";if(!e.noCompatMode&&-1!==u.indexOf(t))return"'"+t+"'";var a=e.indent*Math.max(1,r),i=-1===e.lineWidth?-1:Math.max(Math.min(e.lineWidth,40),e.lineWidth-a),s=n||e.flowLevel>-1&&r>=e.flowLevel;switch(b(t,s,e.indent,i,(function(t){return function(e,t){var r,n;for(r=0,n=e.implicitTypes.length;r"+w(t,e.indent)+k(d(function(e,t){var r,n,o=/(\n+)([^\n]*)/g,a=(s=e.indexOf("\n"),s=-1!==s?s:e.length,o.lastIndex=s,S(e.slice(0,s),t)),i="\n"===e[0]||" "===e[0];var s;for(;n=o.exec(e);){var c=n[1],l=n[2];r=" "===l[0],a+=c+(i||r||""===l?"":"\n")+S(l,t),i=r}return a}(t,i),a));case 5:return'"'+function(e){for(var t,r,n,o="",a=0;a=55296&&t<=56319&&(r=e.charCodeAt(a+1))>=56320&&r<=57343?(o+=p(1024*(t-55296)+r-56320+65536),a++):(n=l[t],o+=!n&&m(t)?e[a]:n||p(t));return o}(t)+'"';default:throw new o("impossible error: invalid scalar style")}}()}function w(e,t){var r=y(e)?String(t):"",n="\n"===e[e.length-1];return r+(n&&("\n"===e[e.length-2]||"\n"===e)?"+":n?"":"-")+"\n"}function k(e){return"\n"===e[e.length-1]?e.slice(0,-1):e}function S(e,t){if(""===e||" "===e[0])return e;for(var r,n,o=/ [^ ]/g,a=0,i=0,s=0,c="";r=o.exec(e);)(s=r.index)-a>t&&(n=i>a?i:s,c+="\n"+e.slice(a,n),a=n+1),i=s;return c+="\n",e.length-a>t&&i>a?c+=e.slice(a,i)+"\n"+e.slice(i+1):c+=e.slice(a),c.slice(1)}function A(e,t,r){var n,a,i,l,u,p;for(i=0,l=(a=r?e.explicitTypes:e.implicitTypes).length;i tag resolver accepts not "'+p+'" style');n=u.represent[p](t,p)}e.dump=n}return!0}return!1}function O(e,t,r,n,a,i){e.tag=null,e.dump=r,A(e,r,!1)||A(e,r,!0);var c=s.call(e.dump);n&&(n=e.flowLevel<0||e.flowLevel>t);var l,u,p="[object Object]"===c||"[object Array]"===c;if(p&&(u=-1!==(l=e.duplicates.indexOf(r))),(null!==e.tag&&"?"!==e.tag||u||2!==e.indent&&t>0)&&(a=!1),u&&e.usedDuplicates[l])e.dump="*ref_"+l;else{if(p&&u&&!e.usedDuplicates[l]&&(e.usedDuplicates[l]=!0),"[object Object]"===c)n&&0!==Object.keys(e.dump).length?(!function(e,t,r,n){var a,i,s,c,l,u,p="",f=e.tag,d=Object.keys(r);if(!0===e.sortKeys)d.sort();else if("function"==typeof e.sortKeys)d.sort(e.sortKeys);else if(e.sortKeys)throw new o("sortKeys must be a boolean or a function");for(a=0,i=d.length;a1024)&&(e.dump&&10===e.dump.charCodeAt(0)?u+="?":u+="? "),u+=e.dump,l&&(u+=h(e,t)),O(e,t+1,c,!0,l)&&(e.dump&&10===e.dump.charCodeAt(0)?u+=":":u+=": ",p+=u+=e.dump));e.tag=f,e.dump=p||"{}"}(e,t,e.dump,a),u&&(e.dump="&ref_"+l+e.dump)):(!function(e,t,r){var n,o,a,i,s,c="",l=e.tag,u=Object.keys(r);for(n=0,o=u.length;n1024&&(s+="? "),s+=e.dump+(e.condenseFlow?'"':"")+":"+(e.condenseFlow?"":" "),O(e,t,i,!1,!1)&&(c+=s+=e.dump));e.tag=l,e.dump="{"+c+"}"}(e,t,e.dump),u&&(e.dump="&ref_"+l+" "+e.dump));else if("[object Array]"===c){var f=e.noArrayIndent&&t>0?t-1:t;n&&0!==e.dump.length?(!function(e,t,r,n){var o,a,i="",s=e.tag;for(o=0,a=r.length;o "+e.dump)}return!0}function E(e,t){var r,n,o=[],a=[];for(function e(t,r,n){var o,a,i;if(null!==t&&"object"==typeof t)if(-1!==(a=r.indexOf(t)))-1===n.indexOf(a)&&n.push(a);else if(r.push(t),Array.isArray(t))for(a=0,i=t.length;a-1}},function(e,t,r){var n=r(128);e.exports=function(e,t){var r=this.__data__,o=n(r,e);return o<0?(++this.size,r.push([e,t])):r[o][1]=t,this}},function(e,t,r){var n=r(129);e.exports=function(e){var t=n(this,e).delete(e);return this.size-=t?1:0,t}},function(e,t){e.exports=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}},function(e,t,r){var n=r(129);e.exports=function(e){return n(this,e).get(e)}},function(e,t,r){var n=r(129);e.exports=function(e){return n(this,e).has(e)}},function(e,t,r){var n=r(129);e.exports=function(e,t){var r=n(this,e),o=r.size;return r.set(e,t),this.size+=r.size==o?0:1,this}},function(e,t,r){var n=r(115),o=r(125),a=r(117),i=r(36),s=r(100);e.exports=function(e,t,r,c){if(!i(e))return e;for(var l=-1,u=(t=o(t,e)).length,p=u-1,f=e;null!=f&&++l0&&a(u)?r>1?e(u,r-1,a,i,s):n(s,u):i||(s[s.length]=u)}return s}},function(e,t,r){var n=r(72),o=r(118),a=r(32),i=n?n.isConcatSpreadable:void 0;e.exports=function(e){return a(e)||o(e)||!!(i&&e&&e[i])}},function(e,t,r){var n=r(537);e.exports=n},function(e,t,r){var n=r(538),o=Array.prototype;e.exports=function(e){var t=e.find;return e===o||e instanceof Array&&t===o.find?n:t}},function(e,t,r){r(539);var n=r(27);e.exports=n("Array").find},function(e,t,r){"use strict";var n=r(7),o=r(49).find,a=r(143),i=r(39),s=!0,c=i("find");"find"in[]&&Array(1).find((function(){s=!1})),n({target:"Array",proto:!0,forced:s||!c},{find:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),a("find")},function(e,t,r){e.exports=r(541)},function(e,t,r){var n=r(542);e.exports=n},function(e,t,r){r(543);var n=r(12);e.exports=n.Reflect.get},function(e,t,r){var n=r(7),o=r(17),a=r(31),i=r(30),s=r(68),c=r(89);n({target:"Reflect",stat:!0},{get:function e(t,r){var n,l,u=arguments.length<3?t:arguments[2];return a(t)===u?t[r]:(n=s.f(t,r))?i(n,"value")?n.value:void 0===n.get?void 0:n.get.call(u):o(l=c(t))?e(l,r,u):void 0}})},function(e,t,r){var n=r(130);e.exports=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=n(e)););return e}},function(e,t,r){e.exports=r(546)},function(e,t,r){var n=r(547);e.exports=n},function(e,t,r){r(548);var n=r(12);e.exports=n.Object.getPrototypeOf},function(e,t,r){var n=r(7),o=r(13),a=r(44),i=r(89),s=r(203);n({target:"Object",stat:!0,forced:o((function(){i(1)})),sham:!s},{getPrototypeOf:function(e){return i(a(e))}})},function(e,t,r){var n=r(550);e.exports=n},function(e,t,r){r(551);var n=r(12);e.exports=n.Object.setPrototypeOf},function(e,t,r){r(7)({target:"Object",stat:!0},{setPrototypeOf:r(147)})},function(e,t,r){e.exports=r(553)},function(e,t,r){var n=r(250);e.exports=n},function(e,t,r){r(7)({target:"Object",stat:!0,sham:!r(22)},{create:r(90)})},function(e,t,r){var n=r(249);function o(t,r){return e.exports=o=n||function(e,t){return e.__proto__=t,e},o(t,r)}e.exports=o},function(e,t,r){var n=r(557);e.exports=n},function(e,t,r){r(558);var n=r(12);e.exports=n.Reflect.construct},function(e,t,r){var n=r(7),o=r(43),a=r(48),i=r(31),s=r(17),c=r(90),l=r(213),u=r(13),p=o("Reflect","construct"),f=u((function(){function e(){}return!(p((function(){}),[],e)instanceof e)})),d=!u((function(){p((function(){}))})),h=f||d;n({target:"Reflect",stat:!0,forced:h,sham:h},{construct:function(e,t){a(e),i(t);var r=arguments.length<3?e:a(arguments[2]);if(d&&!f)return p(e,t,r);if(e==r){switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3])}var n=[null];return n.push.apply(n,t),new(l.apply(e,n))}var o=r.prototype,u=c(s(o)?o:Object.prototype),h=Function.apply.call(e,u,t);return s(h)?h:u}})},function(e,t,r){var n=r(251);e.exports=function(){if("undefined"==typeof Reflect||!n)return!1;if(n.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(n(Date,[],(function(){}))),!0}catch(e){return!1}}},function(e,t,r){var n=r(10),o=r(561);e.exports=function(e,t){return!t||"object"!==n(t)&&"function"!=typeof t?o(e):t}},function(e,t){e.exports=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}},function(e,t,r){var n=r(235);e.exports=n},function(e,t,r){var n=r(156),o=r(236);e.exports=function(e){if(n(e))return o(e)}},function(e,t,r){var n=r(230),o=r(237),a=r(122);e.exports=function(e){if(void 0!==a&&o(Object(e)))return n(e)}},function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}},function(e,t,r){var n=r(567);e.exports=n},function(e,t,r){var n=r(568),o=Array.prototype;e.exports=function(e){var t=e.splice;return e===o||e instanceof Array&&t===o.splice?n:t}},function(e,t,r){r(569);var n=r(27);e.exports=n("Array").splice},function(e,t,r){"use strict";var n=r(7),o=r(139),a=r(112),i=r(54),s=r(44),c=r(148),l=r(88),u=r(94),p=r(39),f=u("splice"),d=p("splice",{ACCESSORS:!0,0:0,1:2}),h=Math.max,v=Math.min;n({target:"Array",proto:!0,forced:!f||!d},{splice:function(e,t){var r,n,u,p,f,d,m=s(this),g=i(m.length),y=o(e,g),b=arguments.length;if(0===b?r=n=0:1===b?(r=0,n=g-y):(r=b-2,n=v(h(a(t),0),g-y)),g+r-n>9007199254740991)throw TypeError("Maximum allowed length exceeded");for(u=c(m,n),p=0;pg-n+r;p--)delete m[p-1]}else if(r>n)for(p=g-n;p>y;p--)d=p+r-1,(f=p+n-1)in m?m[d]=m[f]:delete m[d];for(p=0;pu;)for(var d,h=l(arguments[u++]),v=p?a(h).concat(p(h)):a(h),m=v.length,g=0;m>g;)d=v[g++],n&&!f.call(h,d)||(r[d]=h[d]);return r}:u},function(e,t,r){var n=r(252),o=r(73),a=r(74);e.exports=function(e){return function(t,r,i){var s=Object(t);if(!o(t)){var c=n(r,3);t=a(t),r=function(e){return c(s[e],e,s)}}var l=e(t,r,i);return l>-1?s[c?t[l]:l]:void 0}}},function(e,t,r){var n=r(578),o=r(599),a=r(260);e.exports=function(e){var t=o(e);return 1==t.length&&t[0][2]?a(t[0][0],t[0][1]):function(r){return r===e||n(r,e,t)}}},function(e,t,r){var n=r(167),o=r(253);e.exports=function(e,t,r,a){var i=r.length,s=i,c=!a;if(null==e)return!s;for(e=Object(e);i--;){var l=r[i];if(c&&l[2]?l[1]!==e[l[0]]:!(l[0]in e))return!1}for(;++i=0||(i[r]=e[r]);return i}},function(e,t,r){"use strict";r.r(t),r.d(t,"OAuthReceiver",(function(){return Gf}));var n={};r.r(n),r.d(n,"JsonPatchError",(function(){return on})),r.d(n,"deepClone",(function(){return an})),r.d(n,"getValueByPointer",(function(){return ln})),r.d(n,"applyOperation",(function(){return un})),r.d(n,"applyPatch",(function(){return pn})),r.d(n,"applyReducer",(function(){return fn})),r.d(n,"validator",(function(){return dn})),r.d(n,"validate",(function(){return hn})),r.d(n,"_areEquals",(function(){return vn}));var o={};r.r(o),r.d(o,"unobserve",(function(){return bn})),r.d(o,"observe",(function(){return xn})),r.d(o,"generate",(function(){return wn})),r.d(o,"compare",(function(){return Sn}));var a={};r.r(a),r.d(a,"path",(function(){return ca})),r.d(a,"query",(function(){return la})),r.d(a,"header",(function(){return pa})),r.d(a,"cookie",(function(){return fa}));r(286); /** * @license * Copyright (c) 2017 The Polymer Project Authors. All rights reserved. @@ -203,7 +203,7 @@ const Z=window.ShadowRoot&&(void 0===window.ShadyCSS||window.ShadyCSS.nativeShad * (c) 2017 Joachim Wester * MIT license */ -var mn=new WeakMap,gn=function(e){this.observers=new Map,this.obj=e},yn=function(e,t){this.callback=e,this.observer=t};function bn(e,t){t.unobserve()}function xn(e,t){var r,n=function(e){return mn.get(e)}(e);if(n){var o=function(e,t){return e.observers.get(t)}(n,t);r=o&&o.observer}else n=new gn(e),mn.set(e,n);if(r)return r;if(r={},n.value=Xr(e),t){r.callback=t,r.next=null;var a=function(){wn(r)},i=function(){clearTimeout(r.next),r.next=setTimeout(a)};"undefined"!=typeof window&&(window.addEventListener("mouseup",i),window.addEventListener("keyup",i),window.addEventListener("mousedown",i),window.addEventListener("keydown",i),window.addEventListener("change",i))}return r.patches=[],r.object=e,r.unobserve=function(){wn(r),clearTimeout(r.next),function(e,t){e.observers.delete(t.callback)}(n,r),"undefined"!=typeof window&&(window.removeEventListener("mouseup",i),window.removeEventListener("keyup",i),window.removeEventListener("mousedown",i),window.removeEventListener("keydown",i),window.removeEventListener("change",i))},n.observers.set(t,new yn(t,r)),r}function wn(e,t){void 0===t&&(t=!1);var r=mn.get(e.object);kn(r.value,e.object,e.patches,"",t),e.patches.length&&pn(r.value,e.patches);var n=e.patches;return n.length>0&&(e.patches=[],e.callback&&e.callback(n)),n}function kn(e,t,r,n,o){if(t!==e){"function"==typeof t.toJSON&&(t=t.toJSON());for(var a=Qr(t),i=Qr(e),s=!1,c=i.length-1;c>=0;c--){var l=e[p=i[c]];if(!Jr(t,p)||void 0===t[p]&&void 0!==l&&!1===Array.isArray(t))Array.isArray(e)===Array.isArray(t)?(o&&r.push({op:"test",path:n+"/"+en(p),value:Xr(l)}),r.push({op:"remove",path:n+"/"+en(p)}),s=!0):(o&&r.push({op:"test",path:n,value:e}),r.push({op:"replace",path:n,value:t}),!0);else{var u=t[p];"object"==typeof l&&null!=l&&"object"==typeof u&&null!=u?kn(l,u,r,n+"/"+en(p),o):l!==u&&(!0,o&&r.push({op:"test",path:n+"/"+en(p),value:Xr(l)}),r.push({op:"replace",path:n+"/"+en(p),value:Xr(u)}))}}if(s||a.length!=i.length)for(c=0;c0){var o=t(e,r[r.length-1],r);o&&(n=it()(n).call(n,o))}if(yt()(e)){var a=ut()(e).call(e,(function(e,n){return Fn(e,t,it()(r).call(r,n))}));a&&(n=it()(n).call(n,a))}else if(Ln(e)){var i,s=ut()(i=ct()(e)).call(i,(function(n){return Fn(e[n],t,it()(r).call(r,n))}));s&&(n=it()(n).call(n,s))}return n=Rn(n)}function Pn(e){return yt()(e)?e:[e]}function Rn(e){var t,r,n;return(r=it()(t=[])).call.apply(r,it()(n=[t]).call(n,lr()(ut()(e).call(e,(function(e){return yt()(e)?Rn(e):e})))))}function Bn(e){return et()(e).call(e,(function(e){return void 0!==e}))}function Ln(e){return e&&"object"===xt()(e)}function Nn(e){return e&&"function"==typeof e}function Mn(e){if(Un(e)){var t=e.op;return"add"===t||"remove"===t||"replace"===t}return!1}function qn(e){return Mn(e)||Un(e)&&"mutation"===e.type}function zn(e){return qn(e)&&("add"===e.op||"replace"===e.op||"merge"===e.op||"mergeDeep"===e.op)}function Un(e){return e&&"object"===xt()(e)}function $n(e,t){try{return ln(e,t)}catch(e){return console.error(e),{}}}var Hn=r(279),Wn=r.n(Hn),Vn=r(176),Yn=r.n(Vn);function Kn(e,t){function r(){Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=(new Error).stack;for(var e=arguments.length,r=new Array(e),n=0;n-1&&-1===It()(eo).call(eo,r)||It()(to).call(to,n)>-1||mt()(ro).call(ro,(function(e){return It()(n).call(n,e)>-1}))}function oo(e,t){var r,n=e.split("#"),o=kt()(n,2),a=o[0],i=o[1],s=Ke.a.resolve(a||"",t||"");return i?it()(r="".concat(s,"#")).call(r,i):s}var ao=new RegExp("^([a-z]+://|//)","i"),io=Kn("JSONRefError",(function(e,t,r){this.originalError=r,zr()(this,t||{})})),so={},co=new Wn.a,lo=[function(e){return"paths"===e[0]&&"responses"===e[3]&&"examples"===e[5]},function(e){return"paths"===e[0]&&"responses"===e[3]&&"content"===e[5]&&"example"===e[7]},function(e){return"paths"===e[0]&&"responses"===e[3]&&"content"===e[5]&&"examples"===e[7]&&"value"===e[9]},function(e){return"paths"===e[0]&&"requestBody"===e[3]&&"content"===e[4]&&"example"===e[6]},function(e){return"paths"===e[0]&&"requestBody"===e[3]&&"content"===e[4]&&"examples"===e[6]&&"value"===e[8]},function(e){return"paths"===e[0]&&"parameters"===e[2]&&"example"===e[4]},function(e){return"paths"===e[0]&&"parameters"===e[3]&&"example"===e[5]},function(e){return"paths"===e[0]&&"parameters"===e[2]&&"examples"===e[4]&&"value"===e[6]},function(e){return"paths"===e[0]&&"parameters"===e[3]&&"examples"===e[5]&&"value"===e[7]},function(e){return"paths"===e[0]&&"parameters"===e[2]&&"content"===e[4]&&"example"===e[6]},function(e){return"paths"===e[0]&&"parameters"===e[2]&&"content"===e[4]&&"examples"===e[6]&&"value"===e[8]},function(e){return"paths"===e[0]&&"parameters"===e[3]&&"content"===e[4]&&"example"===e[7]},function(e){return"paths"===e[0]&&"parameters"===e[3]&&"content"===e[5]&&"examples"===e[7]&&"value"===e[9]}],uo={key:"$ref",plugin:function(e,t,r,n){var o=n.getInstance(),a=sr()(r).call(r,0,-1);if(!no(a)&&(i=a,!mt()(lo).call(lo,(function(e){return e(i)})))){var i,s=n.getContext(r).baseDoc;if("string"!=typeof e)return new io("$ref: must be a string (JSON-Ref)",{$ref:e,baseDoc:s,fullPath:r});var c,l,u,p=mo(e),f=p[0],d=p[1]||"";try{c=s||f?ho(f,s):null}catch(t){return vo(t,{pointer:d,$ref:e,basePath:c,fullPath:r})}if(function(e,t,r,n){var o,a,i=co.get(n);i||(i={},co.set(n,i));var s=function(e){if(0===e.length)return"";return"/".concat(ut()(e).call(e,ko).join("/"))}(r),c=it()(o="".concat(t||"","#")).call(o,e),l=s.replace(/allOf\/\d+\/?/g,""),u=n.contextTree.get([]).baseDoc;if(t==u&&So(l,e))return!0;var p="";if(mt()(r).call(r,(function(e){var t,r;return p=it()(t="".concat(p,"/")).call(t,ko(e)),i[p]&&mt()(r=i[p]).call(r,(function(e){return So(e,c)||So(c,e)}))})))return!0;return void(i[l]=it()(a=i[l]||[]).call(a,c))}(d,c,a,n)&&!o.useCircularStructures){var h=oo(e,c);return e===h?null:Cn.replace(r,h)}if(null==c?(u=xo(d),void 0===(l=n.get(u))&&(l=new io("Could not resolve reference: ".concat(e),{pointer:d,$ref:e,baseDoc:s,fullPath:r}))):l=null!=(l=go(c,d)).__value?l.__value:l.catch((function(t){throw vo(t,{pointer:d,$ref:e,baseDoc:s,fullPath:r})})),l instanceof Error)return[Cn.remove(r),l];var v=oo(e,c),m=Cn.replace(a,l,{$$ref:v});if(c&&c!==s)return[m,Cn.context(a,{baseDoc:c})];try{if(!function(e,t){var r,n=[e];return Et()(r=t.path).call(r,(function(e,t){return n.push(e[t]),e[t]}),e),function e(t){var r;return Cn.isObject(t)&&(It()(n).call(n,t)>=0||mt()(r=ct()(t)).call(r,(function(r){return e(t[r])})))}(t.value)}(n.state,m)||o.useCircularStructures)return m}catch(e){return null}}}},po=zr()(uo,{docCache:so,absoluteify:ho,clearCache:function(e){var t;void 0!==e?delete so[e]:Xe()(t=ct()(so)).call(t,(function(e){delete so[e]}))},JSONRefError:io,wrapError:vo,getDoc:yo,split:mo,extractFromDoc:go,fetchJSON:function(e){return Object(Rt.fetch)(e,{headers:{Accept:"application/json, application/yaml"},loadSpec:!0}).then((function(e){return e.text()})).then((function(e){return Nt.a.safeLoad(e)}))},extract:bo,jsonPointerToArray:xo,unescapeJsonPointerToken:wo}),fo=po;function ho(e,t){if(!ao.test(e)){var r;if(!t)throw new io(it()(r="Tried to resolve a relative URL, without having a basePath. path: '".concat(e,"' basePath: '")).call(r,t,"'"));return Ke.a.resolve(t,e)}return e}function vo(e,t){var r,n;e&&e.response&&e.response.body?r=it()(n="".concat(e.response.body.code," ")).call(n,e.response.body.message):r=e.message;return new io("Could not resolve reference: ".concat(r),t,e)}function mo(e){return(e+"").split("#")}function go(e,t){var r=so[e];if(r&&!Cn.isPromise(r))try{var n=bo(t,r);return zr()(Lr.a.resolve(n),{__value:n})}catch(e){return Lr.a.reject(e)}return yo(e).then((function(e){return bo(t,e)}))}function yo(e){var t=so[e];return t?Cn.isPromise(t)?t:Lr.a.resolve(t):(so[e]=po.fetchJSON(e).then((function(t){return so[e]=t,t})),so[e])}function bo(e,t){var r=xo(e);if(r.length<1)return t;var n=Cn.getIn(t,r);if(void 0===n)throw new io("Could not resolve pointer: ".concat(e," does not exist in document"),{pointer:e});return n}function xo(e){var t;if("string"!=typeof e)throw new TypeError("Expected a string, got a ".concat(xt()(e)));return"/"===e[0]&&(e=e.substr(1)),""===e?[]:ut()(t=e.split("/")).call(t,wo)}function wo(e){return"string"!=typeof e?e:Yn.a.unescape(e.replace(/~1/g,"/").replace(/~0/g,"~"))}function ko(e){return Yn.a.escape(e.replace(/~/g,"~0").replace(/\//g,"~1"))}function So(e,t){if(!(r=t)||"/"===r||"#"===r)return!0;var r,n=e.charAt(t.length),o=sr()(t).call(t,-1);return 0===It()(e).call(e,t)&&(!n||"/"===n||"#"===n)&&"#"!==o}var Ao=r(282),Oo=r.n(Ao),Eo={key:"allOf",plugin:function(e,t,r,n,o){if(!o.meta||!o.meta.$$ref){var a=sr()(r).call(r,0,-1);if(!no(a)){if(!yt()(e)){var i=new TypeError("allOf must be an array");return i.fullPath=r,i}var s=!1,c=o.value;if(Xe()(a).call(a,(function(e){c&&(c=c[e])})),c=qe()({},c),!Oo()(c)){delete c.allOf;var l,u=[];if(u.push(n.replace(a,{})),Xe()(e).call(e,(function(e,t){if(!n.isObject(e)){if(s)return null;s=!0;var o=new TypeError("Elements in allOf must be objects");return o.fullPath=r,u.push(o)}u.push(n.mergeDeep(a,e));var i=function(e,t){var r,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=n.specmap,a=n.getBaseUrlForNodePath,i=void 0===a?function(e){var r;return o.getContext(it()(r=[]).call(r,lr()(t),lr()(e))).baseDoc}:a,s=n.targetKeys,c=void 0===s?["$ref","$$ref"]:s,l=[];return Xe()(r=Jn()(e)).call(r,(function(){if(_t()(c).call(c,this.key)&&Xn()(this.node)){var e=this.path,r=it()(t).call(t,this.path),n=oo(this.node,i(e));l.push(o.replace(r,n))}})),l}(e,sr()(r).call(r,0,-1),{getBaseUrlForNodePath:function(e){var o;return n.getContext(it()(o=[]).call(o,lr()(r),[t],lr()(e))).baseDoc},specmap:n});u.push.apply(u,lr()(i))})),u.push(n.mergeDeep(a,c)),!c.$$ref)u.push(n.remove(it()(l=[]).call(l,a,"$$ref")));return u}}}}},Do={key:"parameters",plugin:function(e,t,r,n){if(yt()(e)&&e.length){var o=zr()([],e),a=sr()(r).call(r,0,-1),i=qe()({},Cn.getIn(n.spec,a));return Xe()(e).call(e,(function(e,t){try{o[t].default=n.parameterMacro(i,e)}catch(e){var a=new Error(e);return a.fullPath=r,a}})),Cn.replace(r,o)}return Cn.replace(r,e)}},Co={key:"properties",plugin:function(e,t,r,n){var o=qe()({},e);for(var a in e)try{o[a].default=n.modelPropertyMacro(o[a])}catch(e){var i=new Error(e);return i.fullPath=r,i}return Cn.replace(r,o)}},jo=function(){function e(t){Yt()(this,e),this.root=_o(t||{})}return Gt()(e,[{key:"set",value:function(e,t){var r=this.getParent(e,!0);if(r){var n=e[e.length-1],o=r.children;o[n]?To(o[n],t,r):o[n]=_o(t,r)}else To(this.root,t,null)}},{key:"get",value:function(e){if((e=e||[]).length<1)return this.root.value;for(var t,r,n=this.root,o=0;o1?r-1:0),o=1;o1?n-1:0),a=1;a0}))}},{key:"nextPromisedPatch",value:function(){var e;if(this.promisedPatches.length>0)return Lr.a.race(ut()(e=this.promisedPatches).call(e,(function(e){return e.value})))}},{key:"getPluginHistory",value:function(e){var t=this.constructor.getPluginName(e);return this.pluginHistory[t]||[]}},{key:"getPluginRunCount",value:function(e){return this.getPluginHistory(e).length}},{key:"getPluginHistoryTip",value:function(e){var t=this.getPluginHistory(e);return t&&t[t.length-1]||{}}},{key:"getPluginMutationIndex",value:function(e){var t=this.getPluginHistoryTip(e).mutationIndex;return"number"!=typeof t?-1:t}},{key:"updatePluginHistory",value:function(e,t){var r=this.constructor.getPluginName(e);this.pluginHistory[r]=this.pluginHistory[r]||[],this.pluginHistory[r].push(t)}},{key:"updatePatches",value:function(e){var t,r=this;Xe()(t=Cn.normalizeArray(e)).call(t,(function(e){if(e instanceof Error)r.errors.push(e);else try{if(!Cn.isObject(e))return void r.debug("updatePatches","Got a non-object patch",e);if(r.showDebug&&r.allPatches.push(e),Cn.isPromise(e.value))return r.promisedPatches.push(e),void r.promisedPatchThen(e);if(Cn.isContextPatch(e))return void r.setContext(e.path,e.value);if(Cn.isMutation(e))return void r.updateMutations(e)}catch(e){console.error(e),r.errors.push(e)}}))}},{key:"updateMutations",value:function(e){"object"===xt()(e.value)&&!yt()(e.value)&&this.allowMetaPatches&&(e.value=qe()({},e.value));var t=Cn.applyPatch(this.state,e,{allowMetaPatches:this.allowMetaPatches});t&&(this.mutations.push(e),this.state=t)}},{key:"removePromisedPatch",value:function(e){var t,r,n=It()(t=this.promisedPatches).call(t,e);n<0?this.debug("Tried to remove a promisedPatch that isn't there!"):Rr()(r=this.promisedPatches).call(r,n,1)}},{key:"promisedPatchThen",value:function(e){var t=this;return e.value=e.value.then((function(r){var n=qe()(qe()({},e),{},{value:r});t.removePromisedPatch(e),t.updatePatches(n)})).catch((function(r){t.removePromisedPatch(e),t.updatePatches(r)})),e.value}},{key:"getMutations",value:function(e,t){var r;return e=e||0,"number"!=typeof t&&(t=this.mutations.length),sr()(r=this.mutations).call(r,e,t)}},{key:"getCurrentMutations",value:function(){return this.getMutationsForPlugin(this.getCurrentPlugin())}},{key:"getMutationsForPlugin",value:function(e){var t=this.getPluginMutationIndex(e);return this.getMutations(t+1)}},{key:"getCurrentPlugin",value:function(){return this.currentPlugin}},{key:"getLib",value:function(){return this.libMethods}},{key:"_get",value:function(e){return Cn.getIn(this.state,e)}},{key:"_getContext",value:function(e){return this.contextTree.get(e)}},{key:"setContext",value:function(e,t){return this.contextTree.set(e,t)}},{key:"_hasRun",value:function(e){return this.getPluginRunCount(this.getCurrentPlugin())>(e||0)}},{key:"dispatch",value:function(){var e,t=this,r=this,n=this.nextPlugin();if(!n){var o=this.nextPromisedPatch();if(o)return o.then((function(){return t.dispatch()})).catch((function(){return t.dispatch()}));var a={spec:this.state,errors:this.errors};return this.showDebug&&(a.patches=this.allPatches),Lr.a.resolve(a)}if(r.pluginCount=r.pluginCount||{},r.pluginCount[n]=(r.pluginCount[n]||0)+1,r.pluginCount[n]>100)return Lr.a.resolve({spec:r.state,errors:it()(e=r.errors).call(e,new Error("We've reached a hard limit of ".concat(100," plugin runs")))});if(n!==this.currentPlugin&&this.promisedPatches.length){var i,s=ut()(i=this.promisedPatches).call(i,(function(e){return e.value}));return Lr.a.all(ut()(s).call(s,(function(e){return e.then(Wr.a,Wr.a)}))).then((function(){return t.dispatch()}))}return function(){r.currentPlugin=n;var e=r.getCurrentMutations(),t=r.mutations.length-1;try{if(n.isGenerator){var o,a=rt()(n(e,r.getLib()));try{for(a.s();!(o=a.n()).done;){c(o.value)}}catch(e){a.e(e)}finally{a.f()}}else{c(n(e,r.getLib()))}}catch(e){console.error(e),c([zr()(Mr()(e),{plugin:n})])}finally{r.updatePluginHistory(n,{mutationIndex:t})}return r.dispatch()}();function c(e){e&&(e=Cn.fullyNormalizeArray(e),r.updatePatches(e,n))}}}],[{key:"getPluginName",value:function(e){return e.pluginName}},{key:"getPatchesOfType",value:function(e,t){return et()(e).call(e,t)}}]),e}();var Fo={refs:fo,allOf:Eo,parameters:Do,properties:Co},Po=r(36),Ro=r.n(Po),Bo=function(e){return String.prototype.toLowerCase.call(e)},Lo=function(e){return e.replace(/[^\w]/gi,"_")};function No(e){var t=e.openapi;return!!t&&Ve()(t,"3")}function Mo(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=n.v2OperationIdCompatibilityMode;if(!e||"object"!==xt()(e))return null;var a=(e.operationId||"").replace(/\s/g,"");return a.length?Lo(e.operationId):qo(t,r,{v2OperationIdCompatibilityMode:o})}function qo(e,t){var r,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=n.v2OperationIdCompatibilityMode;if(o){var a,i,s=it()(a="".concat(t.toLowerCase(),"_")).call(a,e).replace(/[\s!@#$%^&*()_+=[{\]};:<>|./?,\\'""-]/g,"_");return(s=s||it()(i="".concat(e.substring(1),"_")).call(i,t)).replace(/((_){2,})/g,"_").replace(/^(_)*/g,"").replace(/([_])*$/g,"")}return it()(r="".concat(Bo(t))).call(r,Lo(e))}function zo(e,t){var r;return it()(r="".concat(Bo(t),"-")).call(r,e)}function Uo(e,t){return e&&e.paths?function(e,t){return $o(e,t,!0)||null}(e,(function(e){var r,n=e.pathName,o=e.method,a=e.operation;if(!a||"object"!==xt()(a))return!1;var i=a.operationId,s=Mo(a,n,o),c=zo(n,o);return mt()(r=[s,c,i]).call(r,(function(e){return e&&e===t}))})):null}function $o(e,t,r){if(!e||"object"!==xt()(e)||!e.paths||"object"!==xt()(e.paths))return null;var n=e.paths;for(var o in n)for(var a in n[o])if("PARAMETERS"!==a.toUpperCase()){var i=n[o][a];if(i&&"object"===xt()(i)){var s={spec:e,pathName:o,method:a.toUpperCase(),operation:i},c=t(s);if(r&&c)return s}}}function Ho(e){var t=e.spec,r=t.paths,n={};if(!r||t.$$normalized)return e;for(var o in r){var a=r[o];if(Ro()(a)){var i=a.parameters,s=function(e){var r=a[e];if(!Ro()(r))return"continue";var s=Mo(r,o,e);if(s){n[s]?n[s].push(r):n[s]=[r];var c=n[s];if(c.length>1)Xe()(c).call(c,(function(e,t){var r;e.__originalOperationId=e.__originalOperationId||e.operationId,e.operationId=it()(r="".concat(s)).call(r,t+1)}));else if(void 0!==r.operationId){var l=c[0];l.__originalOperationId=l.__originalOperationId||r.operationId,l.operationId=s}}if("parameters"!==e){var u=[],p={};for(var f in t)"produces"!==f&&"consumes"!==f&&"security"!==f||(p[f]=t[f],u.push(p));if(i&&(p.parameters=i,u.push(p)),u.length){var d,h=rt()(u);try{for(h.s();!(d=h.n()).done;){var v=d.value;for(var m in v)if(r[m]){if("parameters"===m){var g,y=rt()(v[m]);try{var b=function(){var e,t=g.value;mt()(e=r[m]).call(e,(function(e){return e.name&&e.name===t.name||e.$ref&&e.$ref===t.$ref||e.$$ref&&e.$$ref===t.$$ref||e===t}))||r[m].push(t)};for(y.s();!(g=y.n()).done;)b()}catch(e){y.e(e)}finally{y.f()}}}else r[m]=v[m]}}catch(e){h.e(e)}finally{h.f()}}}};for(var c in a)s(c)}}return t.$$normalized=!0,e}function Wo(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.requestInterceptor,n=t.responseInterceptor,o=e.withCredentials?"include":"same-origin";return function(t){return e({url:t,loadSpec:!0,requestInterceptor:r,responseInterceptor:n,headers:{Accept:"application/json, application/yaml"},credentials:o}).then((function(e){return e.body}))}}function Vo(e){var t=e.fetch,r=e.spec,n=e.url,o=e.mode,a=e.allowMetaPatches,i=void 0===a||a,s=e.pathDiscriminator,c=e.modelPropertyMacro,l=e.parameterMacro,u=e.requestInterceptor,p=e.responseInterceptor,f=e.skipNormalization,d=e.useCircularStructures,h=e.http,v=e.baseDoc;return v=v||n,h=t||h||mr,r?m(r):Wo(h,{requestInterceptor:u,responseInterceptor:p})(v).then(m);function m(e){v&&(Fo.refs.docCache[v]=e),Fo.refs.fetchJSON=Wo(h,{requestInterceptor:u,responseInterceptor:p});var t,r=[Fo.refs];return"function"==typeof l&&r.push(Fo.parameters),"function"==typeof c&&r.push(Fo.properties),"strict"!==o&&r.push(Fo.allOf),(t={spec:e,context:{baseDoc:v},plugins:r,allowMetaPatches:i,pathDiscriminator:s,parameterMacro:l,modelPropertyMacro:c,useCircularStructures:d},new Io(t).dispatch()).then(f?function(){var e=Pt()(Je.a.mark((function e(t){return Je.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",t);case 1:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}():Ho)}}var Yo=r(52),Ko=r.n(Yo);function Go(){return(Go=Pt()(Je.a.mark((function e(t,r){var n,o,a,i,s,c,l,u,p,f,d,h,v=arguments;return Je.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=v.length>2&&void 0!==v[2]?v[2]:{},o=n.returnEntireTree,a=n.baseDoc,i=n.requestInterceptor,s=n.responseInterceptor,c=n.parameterMacro,l=n.modelPropertyMacro,u=n.useCircularStructures,p={pathDiscriminator:r,baseDoc:a,requestInterceptor:i,responseInterceptor:s,parameterMacro:c,modelPropertyMacro:l,useCircularStructures:u},f=Ho({spec:t}),d=f.spec,e.next=6,Vo(qe()(qe()({},p),{},{spec:d,allowMetaPatches:!0,skipNormalization:!0}));case 6:return h=e.sent,!o&&yt()(r)&&r.length&&(h.spec=Ko()(h.spec,r)||null),e.abrupt("return",h);case 9:case"end":return e.stop()}}),e)})))).apply(this,arguments)}var Jo=function(){return null},Qo={mapTagOperations:function(e){var t=e.spec,r=e.cb,n=void 0===r?Jo:r,o=e.defaultTag,a=void 0===o?"default":o,i=e.v2OperationIdCompatibilityMode,s={},c={};return $o(t,(function(e){var r,o=e.pathName,l=e.method,u=e.operation,p=u.tags?(r=u.tags,yt()(r)?r:[r]):[a];Xe()(p).call(p,(function(e){if("string"==typeof e){c[e]=c[e]||{};var r,a=c[e],p=Mo(u,o,l,{v2OperationIdCompatibilityMode:i}),f=n({spec:t,pathName:o,method:l,operation:u,operationId:p});if(s[p])s[p]+=1,a[it()(r="".concat(p)).call(r,s[p])]=f;else if(void 0!==a[p]){var d,h,v=s[p]||1;s[p]=v+1,a[it()(d="".concat(p)).call(d,s[p])]=f;var m=a[p];delete a[p],a[it()(h="".concat(p)).call(h,v)]=m}else a[p]=f}}))})),c},makeExecute:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return function(t){var r=t.pathName,n=t.method,o=t.operationId;return function(t){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return e.execute(qe()(qe()({spec:e.spec},qt()(e,"requestInterceptor","responseInterceptor","userFetch")),{},{pathName:r,method:n,parameters:t,operationId:o},a))}}}};var Xo=r(283),Zo=r.n(Xo),ea=r(284),ta=r.n(ea),ra=r(32),na=r.n(ra),oa=r(285),aa=r.n(oa),ia={body:function(e){var t=e.req,r=e.value;t.body=r},header:function(e){var t=e.req,r=e.parameter,n=e.value;t.headers=t.headers||{},void 0!==n&&(t.headers[r.name]=n)},query:function(e){var t,r=e.req,n=e.value,o=e.parameter;r.query=r.query||{},!1===n&&"boolean"===o.type&&(n="false");0===n&&It()(t=["number","integer"]).call(t,o.type)>-1&&(n="0");if(n)r.query[o.name]={collectionFormat:o.collectionFormat,value:n};else if(o.allowEmptyValue&&void 0!==n){var a=o.name;r.query[a]=r.query[a]||{},r.query[a].allowEmptyValue=!0}},path:function(e){var t=e.req,r=e.value,n=e.parameter;t.url=t.url.split("{".concat(n.name,"}")).join(encodeURIComponent(r))},formData:function(e){var t=e.req,r=e.value,n=e.parameter;(r||n.allowEmptyValue)&&(t.form=t.form||{},t.form[n.name]={value:r,allowEmptyValue:n.allowEmptyValue,collectionFormat:n.collectionFormat})}};function sa(e,t){return _t()(t).call(t,"application/json")?"string"==typeof e?e:ht()(e):e.toString()}function ca(e){var t=e.req,r=e.value,n=e.parameter,o=n.name,a=n.style,i=n.explode,s=n.content;if(s){var c=ct()(s)[0];t.url=t.url.split("{".concat(o,"}")).join(dr(sa(r,c),{escape:!0}))}else{var l=hr({key:n.name,value:r,style:a||"simple",explode:i||!1,escape:!0});t.url=t.url.split("{".concat(o,"}")).join(l)}}function la(e){var t=e.req,r=e.value,n=e.parameter;if(t.query=t.query||{},n.content){var o=ct()(n.content)[0];t.query[n.name]=sa(r,o)}else if(!1===r&&(r="false"),0===r&&(r="0"),r)t.query[n.name]={value:r,serializationOption:qt()(n,["style","explode","allowReserved"])};else if(n.allowEmptyValue&&void 0!==r){var a=n.name;t.query[a]=t.query[a]||{},t.query[a].allowEmptyValue=!0}}var ua=["accept","authorization","content-type"];function pa(e){var t=e.req,r=e.parameter,n=e.value;if(t.headers=t.headers||{},!(It()(ua).call(ua,r.name.toLowerCase())>-1))if(r.content){var o=ct()(r.content)[0];t.headers[r.name]=sa(n,o)}else void 0!==n&&(t.headers[r.name]=hr({key:r.name,value:n,style:r.style||"simple",explode:void 0!==r.explode&&r.explode,escape:!1}))}function fa(e){var t=e.req,r=e.parameter,n=e.value;t.headers=t.headers||{};var o=xt()(n);if(r.content){var a,i=ct()(r.content)[0];t.headers.Cookie=it()(a="".concat(r.name,"=")).call(a,sa(n,i))}else if("undefined"!==o){var s="object"===o&&!yt()(n)&&r.explode?"":"".concat(r.name,"=");t.headers.Cookie=s+hr({key:r.name,value:n,escape:!1,style:r.style||"form",explode:void 0!==r.explode&&r.explode})}}var da=r(133),ha=r.n(da);function va(e,t){var r=e.operation,n=e.requestBody,o=e.securities,a=e.spec,i=e.attachContentTypeForEmptyPayload,s=e.requestContentType;t=function(e){var t=e.request,r=e.securities,n=void 0===r?{}:r,o=e.operation,a=void 0===o?{}:o,i=e.spec,s=He()({},t),c=n.authorized,l=void 0===c?{}:c,u=a.security||i.security||[],p=l&&!!ct()(l).length,f=Ko()(i,["components","securitySchemes"])||{};if(s.headers=s.headers||{},s.query=s.query||{},!ct()(n).length||!p||!u||yt()(a.security)&&!a.security.length)return t;return Xe()(u).call(u,(function(e){var t;Xe()(t=ct()(e)).call(t,(function(e){var t=l[e],r=f[e];if(t){var n=t.value||t,o=r.type;if(t)if("apiKey"===o)"query"===r.in&&(s.query[r.name]=n),"header"===r.in&&(s.headers[r.name]=n),"cookie"===r.in&&(s.cookies[r.name]=n);else if("http"===o){if(/^basic$/i.test(r.scheme)){var a,i=n.username||"",c=n.password||"",u=ha()(it()(a="".concat(i,":")).call(a,c));s.headers.Authorization="Basic ".concat(u)}/^bearer$/i.test(r.scheme)&&(s.headers.Authorization="Bearer ".concat(n))}else if("oauth2"===o||"openIdConnect"===o){var p,d=t.token||{},h=d[r["x-tokenName"]||"access_token"],v=d.token_type;v&&"bearer"!==v.toLowerCase()||(v="Bearer"),s.headers.Authorization=it()(p="".concat(v," ")).call(p,h)}}}))})),s}({request:t,securities:o,operation:r,spec:a});var c=r.requestBody||{},l=ct()(c.content||{}),u=s&&It()(l).call(l,s)>-1;if(n||i){if(s&&u)t.headers["Content-Type"]=s;else if(!s){var p=l[0];p&&(t.headers["Content-Type"]=p,s=p)}}else s&&u&&(t.headers["Content-Type"]=s);if(n)if(s){if(It()(l).call(l,s)>-1)if("application/x-www-form-urlencoded"===s||"multipart/form-data"===s)if("object"===xt()(n)){var f,d=(c.content[s]||{}).encoding||{};t.form={},Xe()(f=ct()(n)).call(f,(function(e){t.form[e]={value:n[e],encoding:d[e]||{}}}))}else t.form=n;else t.body=n}else t.body=n;return t}function ma(e,t){var r,n,o=e.spec,a=e.operation,i=e.securities,s=e.requestContentType,c=e.attachContentTypeForEmptyPayload;if((t=function(e){var t=e.request,r=e.securities,n=void 0===r?{}:r,o=e.operation,a=void 0===o?{}:o,i=e.spec,s=He()({},t),c=n.authorized,l=void 0===c?{}:c,u=n.specSecurity,p=void 0===u?[]:u,f=a.security||p,d=l&&!!ct()(l).length,h=i.securityDefinitions;if(s.headers=s.headers||{},s.query=s.query||{},!ct()(n).length||!d||!f||yt()(a.security)&&!a.security.length)return t;return Xe()(f).call(f,(function(e){var t;Xe()(t=ct()(e)).call(t,(function(e){var t=l[e];if(t){var r=t.token,n=t.value||t,o=h[e],a=o.type,i=o["x-tokenName"]||"access_token",c=r&&r[i],u=r&&r.token_type;if(t)if("apiKey"===a){var p="query"===o.in?"query":"headers";s[p]=s[p]||{},s[p][o.name]=n}else if("basic"===a)if(n.header)s.headers.authorization=n.header;else{var f,d=n.username||"",v=n.password||"";n.base64=ha()(it()(f="".concat(d,":")).call(f,v)),s.headers.authorization="Basic ".concat(n.base64)}else if("oauth2"===a&&c){var m;u=u&&"bearer"!==u.toLowerCase()?u:"Bearer",s.headers.authorization=it()(m="".concat(u," ")).call(m,c)}}}))})),s}({request:t,securities:i,operation:a,spec:o})).body||t.form||c)if(s)t.headers["Content-Type"]=s;else if(yt()(a.consumes)){var l=kt()(a.consumes,1);t.headers["Content-Type"]=l[0]}else if(yt()(o.consumes)){var u=kt()(o.consumes,1);t.headers["Content-Type"]=u[0]}else a.parameters&&et()(r=a.parameters).call(r,(function(e){return"file"===e.type})).length?t.headers["Content-Type"]="multipart/form-data":a.parameters&&et()(n=a.parameters).call(n,(function(e){return"formData"===e.in})).length&&(t.headers["Content-Type"]="application/x-www-form-urlencoded");else if(s){var p,f,d=a.parameters&&et()(p=a.parameters).call(p,(function(e){return"body"===e.in})).length>0,h=a.parameters&&et()(f=a.parameters).call(f,(function(e){return"formData"===e.in})).length>0;(d||h)&&(t.headers["Content-Type"]=s)}return t}var ga=function(e){return yt()(e)?e:[]},ya=Kn("OperationNotFoundError",(function(e,t,r){this.originalError=r,zr()(this,t||{})})),ba={buildRequest:xa};function xa(e){var t,r,n=e.spec,o=e.operationId,i=e.responseContentType,s=e.scheme,c=e.requestInterceptor,l=e.responseInterceptor,u=e.contextUrl,p=e.userFetch,f=e.server,d=e.serverVariables,h=e.http,v=e.parameters,m=e.parameterBuilders,g=No(n);m||(m=g?a:ia);var y={url:"",credentials:h&&h.withCredentials?"include":"same-origin",headers:{},cookies:{}};c&&(y.requestInterceptor=c),l&&(y.responseInterceptor=l),p&&(y.userFetch=p);var b=Uo(n,o);if(!b)throw new ya("Operation ".concat(o," not found"));var x=b.operation,w=void 0===x?{}:x,k=b.method,S=b.pathName;if(y.url+=ka({spec:n,scheme:s,contextUrl:u,server:f,serverVariables:d,pathName:S,method:k}),!o)return delete y.cookies,y;y.url+=S,y.method="".concat(k).toUpperCase(),v=v||{};var A=n.paths[S]||{};i&&(y.headers.accept=i);var O=function(e){var t,r={};Xe()(e).call(e,(function(e){r[e.in]||(r[e.in]={}),r[e.in][e.name]=e}));var n=[];return Xe()(t=ct()(r)).call(t,(function(e){var t;Xe()(t=ct()(r[e])).call(t,(function(t){n.push(r[e][t])}))})),n}(it()(t=it()(r=[]).call(r,ga(w.parameters))).call(t,ga(A.parameters)));Xe()(O).call(O,(function(e){var t,r,o=m[e.in];if("body"===e.in&&e.schema&&e.schema.properties&&(t=v),void 0===(t=e&&e.name&&v[e.name]))t=e&&e.name&&v[it()(r="".concat(e.in,".")).call(r,e.name)];else if(function(e,t){return et()(t).call(t,(function(t){return t.name===e}))}(e.name,O).length>1){var a;console.warn(it()(a="Parameter '".concat(e.name,"' is ambiguous because the defined spec has more than one parameter with the name: '")).call(a,e.name,"' and the passed-in parameter values did not define an 'in' value."))}if(null!==t){if(void 0!==e.default&&void 0===t&&(t=e.default),void 0===t&&e.required&&!e.allowEmptyValue)throw new Error("Required parameter ".concat(e.name," is not provided"));if(g&&e.schema&&"object"===e.schema.type&&"string"==typeof t)try{t=JSON.parse(t)}catch(e){throw new Error("Could not parse object parameter value string as JSON")}o&&o({req:y,parameter:e,value:t,operation:w,spec:n})}}));var E=qe()(qe()({},e),{},{operation:w});if((y=g?va(E,y):ma(E,y)).cookies&&ct()(y.cookies).length){var D,C=Et()(D=ct()(y.cookies)).call(D,(function(e,t){var r=y.cookies[t];return e+(e?"&":"")+aa.a.serialize(t,r)}),"");y.headers.Cookie=C}return y.cookies&&delete y.cookies,Tr(y),y}var wa=function(e){return e?e.replace(/\W/g,""):null};function ka(e){return No(e.spec)?function(e){var t=e.spec,r=e.pathName,n=e.method,o=e.server,a=e.contextUrl,i=e.serverVariables,s=void 0===i?{}:i,c=Ko()(t,["paths",r,(n||"").toLowerCase(),"servers"])||Ko()(t,["paths",r,"servers"])||Ko()(t,["servers"]),l="",u=null;if(o&&c&&c.length){var p=ut()(c).call(c,(function(e){return e.url}));It()(p).call(p,o)>-1&&(l=o,u=c[It()(p).call(p,o)])}if(!l&&c&&c.length){l=c[0].url;var f=kt()(c,1);u=f[0]}if(It()(l).call(l,"{")>-1){var d=function(e){var t,r=[],n=/{([^}]+)}/g;for(;t=n.exec(e);)r.push(t[1]);return r}(l);Xe()(d).call(d,(function(e){if(u.variables&&u.variables[e]){var t=u.variables[e],r=s[e]||t.default,n=new RegExp("{".concat(e,"}"),"g");l=l.replace(n,r)}}))}return function(){var e,t,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",o=r&&n?Ke.a.parse(Ke.a.resolve(n,r)):Ke.a.parse(r),a=Ke.a.parse(n),i=wa(o.protocol)||wa(a.protocol)||"",s=o.host||a.host,c=o.pathname||"";e=i&&s?it()(t="".concat(i,"://")).call(t,s+c):c;return"/"===e[e.length-1]?sr()(e).call(e,0,-1):e}(l,a)}(e):function(e){var t,r,n=e.spec,o=e.scheme,a=e.contextUrl,i=void 0===a?"":a,s=Ke.a.parse(i),c=yt()(n.schemes)?n.schemes[0]:null,l=o||c||wa(s.protocol)||"http",u=n.host||s.host||"",p=n.basePath||"";t=l&&u?it()(r="".concat(l,"://")).call(r,u+p):p;return"/"===t[t.length-1]?sr()(t).call(t,0,-1):t}(e)}function Sa(e){var t=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if("string"==typeof e?r.url=e:r=e,!(this instanceof Sa))return new Sa(r);He()(this,r);var n=this.resolve().then((function(){return t.disableInterfaces||He()(t,Sa.makeApisTagOperation(t)),t}));return n.client=this,n}Sa.http=mr,Sa.makeHttp=Ue()(Ir).call(Ir,null,Sa.http),Sa.resolve=Vo,Sa.resolveSubtree=function(e,t){return Go.apply(this,arguments)},Sa.execute=function(e){var t=e.http,r=e.fetch,n=e.spec,o=e.operationId,a=e.pathName,i=e.method,s=e.parameters,c=e.securities,l=Zo()(e,["http","fetch","spec","operationId","pathName","method","parameters","securities"]),u=t||r||mr;a&&i&&!o&&(o=zo(a,i));var p=ba.buildRequest(qe()({spec:n,operationId:o,parameters:s,securities:c,http:u},l));return p.body&&(ta()(p.body)||na()(p.body))&&(p.body=ht()(p.body)),u(p)},Sa.serializeRes=xr,Sa.serializeHeaders=kr,Sa.clearCache=function(){Fo.refs.clearCache()},Sa.makeApisTagOperation=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=Qo.makeExecute(e);return{apis:Qo.mapTagOperations({v2OperationIdCompatibilityMode:e.v2OperationIdCompatibilityMode,spec:e.spec,cb:t})}},Sa.buildRequest=xa,Sa.helpers={opId:Mo},Sa.getBaseUrl=ka,Sa.prototype={http:mr,execute:function(e){return this.applyDefaults(),Sa.execute(qe()({spec:this.spec,http:this.http,securities:{authorized:this.authorizations},contextUrl:"string"==typeof this.url?this.url:void 0,requestInterceptor:this.requestInterceptor||null,responseInterceptor:this.responseInterceptor||null},e))},resolve:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Sa.resolve(qe()({spec:this.spec,url:this.url,http:this.http||this.fetch,allowMetaPatches:this.allowMetaPatches,useCircularStructures:this.useCircularStructures,requestInterceptor:this.requestInterceptor||null,responseInterceptor:this.responseInterceptor||null},t)).then((function(t){return e.originalSpec=e.spec,e.spec=t.spec,e.errors=t.errors,e}))}},Sa.prototype.applyDefaults=function(){var e=this.spec,t=this.url;if(t&&Ve()(t,"http")){var r=Ke.a.parse(t);e.host||(e.host=r.host),e.schemes||(e.schemes=[r.protocol.replace(":","")]),e.basePath||(e.basePath="/")}};Sa.helpers;var Aa=Sa;async function Oa(e,t=!1,r="",n="",o="",a="",i=""){let s,c;const l={patch:!0,warnOnly:!0,resolveInternal:!0,anchors:!0};try{let t;t="string"==typeof e?await Aa(e):await Aa({spec:e}),s=t.spec,t.spec.swagger&&(c=await Ne.a.convertObj(t.spec,l),s=c.openapi)}catch(e){console.info("RapiDoc: %c There was an issue while parsing the spec %o ","color:orangered",e)}const u=function(e,t=!1,r){const n=["get","put","post","delete","patch","head","options"],o=e.tags&&Array.isArray(e.tags)?e.tags.map(e=>({show:!0,elementId:"tag--".concat(e.name.replace(Ie,"-")),name:e.name,description:e.description,paths:[],expanded:!1!==e["x-tag-expanded"]})):[];for(const t in e.paths){const r=e.paths[t].parameters,a={summary:e.paths[t].summary,description:e.paths[t].description,servers:e.paths[t].servers?e.paths[t].servers:[],parameters:e.paths[t].parameters?e.paths[t].parameters:[]};n.forEach(n=>{if(e.paths[t][n]){const i=e.paths[t][n],s=i.tags?i.tags:[];if(0===s.length){let e=t.indexOf("/",1);-1===e?e=t.length-1:e-=1,s.push(t.substr(1,e))}s.forEach(s=>{let c,l;e.tags&&(l=e.tags.find(e=>e.name.toLowerCase()===s.toLowerCase())),c=o.find(e=>e.name===s),c||(c={show:!0,elementId:"tag--".concat(s.replace(Ie,"-")),name:s,description:l?l.description:"",paths:[],expanded:!l||!1!==l["x-tag-expanded"]},o.push(c));let u=(i.summary||i.description||"".concat(n," ").concat(t)).trim().split("/\r?\n/")[0];u.length>100&&(u=u.split(".")[0]),i.description||(i.description=(i.summary||"-").trim());let p=[];p=r?i.parameters?r.filter(e=>{if(!i.parameters.some(t=>e.name===t.name&&e.in===t.in))return e}).concat(i.parameters):r.slice(0):i.parameters?i.parameters.slice(0):[],c.paths.push({show:!0,expanded:!1,expandedAtLeastOnce:!1,summary:u,method:n,description:i.description,path:t,operationId:i.operationId,elementId:"".concat(n,"-").concat(t.replace(Ie,"-")),servers:i.servers?a.servers.concat(i.servers):a.servers,parameters:p,requestBody:i.requestBody,responses:i.responses,callbacks:i.callbacks,deprecated:i.deprecated,security:i.security,commonSummary:a.summary,commonDescription:a.description,xCodeSamples:i["x-codeSamples"]||i["x-code-samples"]||""})})}})}const a=o.filter(e=>e.paths&&e.paths.length>0);"method"===r?a.forEach(e=>{e.paths&&e.paths.sort((e,t)=>n.indexOf(e.method).toString().localeCompare(n.indexOf(t.method)))}):"summary"===r?a.forEach(e=>{e.paths&&e.paths.sort((e,t)=>(e.summary||e.description||e.path).localeCompare(t.summary||t.description||t.path))}):a.forEach(e=>{e.paths&&e.paths.sort((e,t)=>e.path.localeCompare(t.path))});return t?a.sort((e,t)=>e.name.localeCompare(t.name)):a} +var mn=new WeakMap,gn=function(e){this.observers=new Map,this.obj=e},yn=function(e,t){this.callback=e,this.observer=t};function bn(e,t){t.unobserve()}function xn(e,t){var r,n=function(e){return mn.get(e)}(e);if(n){var o=function(e,t){return e.observers.get(t)}(n,t);r=o&&o.observer}else n=new gn(e),mn.set(e,n);if(r)return r;if(r={},n.value=Xr(e),t){r.callback=t,r.next=null;var a=function(){wn(r)},i=function(){clearTimeout(r.next),r.next=setTimeout(a)};"undefined"!=typeof window&&(window.addEventListener("mouseup",i),window.addEventListener("keyup",i),window.addEventListener("mousedown",i),window.addEventListener("keydown",i),window.addEventListener("change",i))}return r.patches=[],r.object=e,r.unobserve=function(){wn(r),clearTimeout(r.next),function(e,t){e.observers.delete(t.callback)}(n,r),"undefined"!=typeof window&&(window.removeEventListener("mouseup",i),window.removeEventListener("keyup",i),window.removeEventListener("mousedown",i),window.removeEventListener("keydown",i),window.removeEventListener("change",i))},n.observers.set(t,new yn(t,r)),r}function wn(e,t){void 0===t&&(t=!1);var r=mn.get(e.object);kn(r.value,e.object,e.patches,"",t),e.patches.length&&pn(r.value,e.patches);var n=e.patches;return n.length>0&&(e.patches=[],e.callback&&e.callback(n)),n}function kn(e,t,r,n,o){if(t!==e){"function"==typeof t.toJSON&&(t=t.toJSON());for(var a=Qr(t),i=Qr(e),s=!1,c=i.length-1;c>=0;c--){var l=e[p=i[c]];if(!Jr(t,p)||void 0===t[p]&&void 0!==l&&!1===Array.isArray(t))Array.isArray(e)===Array.isArray(t)?(o&&r.push({op:"test",path:n+"/"+en(p),value:Xr(l)}),r.push({op:"remove",path:n+"/"+en(p)}),s=!0):(o&&r.push({op:"test",path:n,value:e}),r.push({op:"replace",path:n,value:t}),!0);else{var u=t[p];"object"==typeof l&&null!=l&&"object"==typeof u&&null!=u?kn(l,u,r,n+"/"+en(p),o):l!==u&&(!0,o&&r.push({op:"test",path:n+"/"+en(p),value:Xr(l)}),r.push({op:"replace",path:n+"/"+en(p),value:Xr(u)}))}}if(s||a.length!=i.length)for(c=0;c0){var o=t(e,r[r.length-1],r);o&&(n=it()(n).call(n,o))}if(yt()(e)){var a=ut()(e).call(e,(function(e,n){return Fn(e,t,it()(r).call(r,n))}));a&&(n=it()(n).call(n,a))}else if(Ln(e)){var i,s=ut()(i=ct()(e)).call(i,(function(n){return Fn(e[n],t,it()(r).call(r,n))}));s&&(n=it()(n).call(n,s))}return n=Rn(n)}function Pn(e){return yt()(e)?e:[e]}function Rn(e){var t,r,n;return(r=it()(t=[])).call.apply(r,it()(n=[t]).call(n,lr()(ut()(e).call(e,(function(e){return yt()(e)?Rn(e):e})))))}function Bn(e){return et()(e).call(e,(function(e){return void 0!==e}))}function Ln(e){return e&&"object"===xt()(e)}function Nn(e){return e&&"function"==typeof e}function Mn(e){if(Un(e)){var t=e.op;return"add"===t||"remove"===t||"replace"===t}return!1}function qn(e){return Mn(e)||Un(e)&&"mutation"===e.type}function zn(e){return qn(e)&&("add"===e.op||"replace"===e.op||"merge"===e.op||"mergeDeep"===e.op)}function Un(e){return e&&"object"===xt()(e)}function $n(e,t){try{return ln(e,t)}catch(e){return console.error(e),{}}}var Hn=r(279),Wn=r.n(Hn),Vn=r(176),Yn=r.n(Vn);function Kn(e,t){function r(){Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=(new Error).stack;for(var e=arguments.length,r=new Array(e),n=0;n-1&&-1===It()(eo).call(eo,r)||It()(to).call(to,n)>-1||mt()(ro).call(ro,(function(e){return It()(n).call(n,e)>-1}))}function oo(e,t){var r,n=e.split("#"),o=kt()(n,2),a=o[0],i=o[1],s=Ke.a.resolve(a||"",t||"");return i?it()(r="".concat(s,"#")).call(r,i):s}var ao=new RegExp("^([a-z]+://|//)","i"),io=Kn("JSONRefError",(function(e,t,r){this.originalError=r,zr()(this,t||{})})),so={},co=new Wn.a,lo=[function(e){return"paths"===e[0]&&"responses"===e[3]&&"examples"===e[5]},function(e){return"paths"===e[0]&&"responses"===e[3]&&"content"===e[5]&&"example"===e[7]},function(e){return"paths"===e[0]&&"responses"===e[3]&&"content"===e[5]&&"examples"===e[7]&&"value"===e[9]},function(e){return"paths"===e[0]&&"requestBody"===e[3]&&"content"===e[4]&&"example"===e[6]},function(e){return"paths"===e[0]&&"requestBody"===e[3]&&"content"===e[4]&&"examples"===e[6]&&"value"===e[8]},function(e){return"paths"===e[0]&&"parameters"===e[2]&&"example"===e[4]},function(e){return"paths"===e[0]&&"parameters"===e[3]&&"example"===e[5]},function(e){return"paths"===e[0]&&"parameters"===e[2]&&"examples"===e[4]&&"value"===e[6]},function(e){return"paths"===e[0]&&"parameters"===e[3]&&"examples"===e[5]&&"value"===e[7]},function(e){return"paths"===e[0]&&"parameters"===e[2]&&"content"===e[4]&&"example"===e[6]},function(e){return"paths"===e[0]&&"parameters"===e[2]&&"content"===e[4]&&"examples"===e[6]&&"value"===e[8]},function(e){return"paths"===e[0]&&"parameters"===e[3]&&"content"===e[4]&&"example"===e[7]},function(e){return"paths"===e[0]&&"parameters"===e[3]&&"content"===e[5]&&"examples"===e[7]&&"value"===e[9]}],uo={key:"$ref",plugin:function(e,t,r,n){var o=n.getInstance(),a=sr()(r).call(r,0,-1);if(!no(a)&&(i=a,!mt()(lo).call(lo,(function(e){return e(i)})))){var i,s=n.getContext(r).baseDoc;if("string"!=typeof e)return new io("$ref: must be a string (JSON-Ref)",{$ref:e,baseDoc:s,fullPath:r});var c,l,u,p=mo(e),f=p[0],d=p[1]||"";try{c=s||f?ho(f,s):null}catch(t){return vo(t,{pointer:d,$ref:e,basePath:c,fullPath:r})}if(function(e,t,r,n){var o,a,i=co.get(n);i||(i={},co.set(n,i));var s=function(e){if(0===e.length)return"";return"/".concat(ut()(e).call(e,ko).join("/"))}(r),c=it()(o="".concat(t||"","#")).call(o,e),l=s.replace(/allOf\/\d+\/?/g,""),u=n.contextTree.get([]).baseDoc;if(t==u&&So(l,e))return!0;var p="";if(mt()(r).call(r,(function(e){var t,r;return p=it()(t="".concat(p,"/")).call(t,ko(e)),i[p]&&mt()(r=i[p]).call(r,(function(e){return So(e,c)||So(c,e)}))})))return!0;return void(i[l]=it()(a=i[l]||[]).call(a,c))}(d,c,a,n)&&!o.useCircularStructures){var h=oo(e,c);return e===h?null:Cn.replace(r,h)}if(null==c?(u=xo(d),void 0===(l=n.get(u))&&(l=new io("Could not resolve reference: ".concat(e),{pointer:d,$ref:e,baseDoc:s,fullPath:r}))):l=null!=(l=go(c,d)).__value?l.__value:l.catch((function(t){throw vo(t,{pointer:d,$ref:e,baseDoc:s,fullPath:r})})),l instanceof Error)return[Cn.remove(r),l];var v=oo(e,c),m=Cn.replace(a,l,{$$ref:v});if(c&&c!==s)return[m,Cn.context(a,{baseDoc:c})];try{if(!function(e,t){var r,n=[e];return Et()(r=t.path).call(r,(function(e,t){return n.push(e[t]),e[t]}),e),function e(t){var r;return Cn.isObject(t)&&(It()(n).call(n,t)>=0||mt()(r=ct()(t)).call(r,(function(r){return e(t[r])})))}(t.value)}(n.state,m)||o.useCircularStructures)return m}catch(e){return null}}}},po=zr()(uo,{docCache:so,absoluteify:ho,clearCache:function(e){var t;void 0!==e?delete so[e]:Xe()(t=ct()(so)).call(t,(function(e){delete so[e]}))},JSONRefError:io,wrapError:vo,getDoc:yo,split:mo,extractFromDoc:go,fetchJSON:function(e){return Object(Rt.fetch)(e,{headers:{Accept:"application/json, application/yaml"},loadSpec:!0}).then((function(e){return e.text()})).then((function(e){return Nt.a.safeLoad(e)}))},extract:bo,jsonPointerToArray:xo,unescapeJsonPointerToken:wo}),fo=po;function ho(e,t){if(!ao.test(e)){var r;if(!t)throw new io(it()(r="Tried to resolve a relative URL, without having a basePath. path: '".concat(e,"' basePath: '")).call(r,t,"'"));return Ke.a.resolve(t,e)}return e}function vo(e,t){var r,n;e&&e.response&&e.response.body?r=it()(n="".concat(e.response.body.code," ")).call(n,e.response.body.message):r=e.message;return new io("Could not resolve reference: ".concat(r),t,e)}function mo(e){return(e+"").split("#")}function go(e,t){var r=so[e];if(r&&!Cn.isPromise(r))try{var n=bo(t,r);return zr()(Lr.a.resolve(n),{__value:n})}catch(e){return Lr.a.reject(e)}return yo(e).then((function(e){return bo(t,e)}))}function yo(e){var t=so[e];return t?Cn.isPromise(t)?t:Lr.a.resolve(t):(so[e]=po.fetchJSON(e).then((function(t){return so[e]=t,t})),so[e])}function bo(e,t){var r=xo(e);if(r.length<1)return t;var n=Cn.getIn(t,r);if(void 0===n)throw new io("Could not resolve pointer: ".concat(e," does not exist in document"),{pointer:e});return n}function xo(e){var t;if("string"!=typeof e)throw new TypeError("Expected a string, got a ".concat(xt()(e)));return"/"===e[0]&&(e=e.substr(1)),""===e?[]:ut()(t=e.split("/")).call(t,wo)}function wo(e){return"string"!=typeof e?e:Yn.a.unescape(e.replace(/~1/g,"/").replace(/~0/g,"~"))}function ko(e){return Yn.a.escape(e.replace(/~/g,"~0").replace(/\//g,"~1"))}function So(e,t){if(!(r=t)||"/"===r||"#"===r)return!0;var r,n=e.charAt(t.length),o=sr()(t).call(t,-1);return 0===It()(e).call(e,t)&&(!n||"/"===n||"#"===n)&&"#"!==o}var Ao=r(282),Oo=r.n(Ao),Eo={key:"allOf",plugin:function(e,t,r,n,o){if(!o.meta||!o.meta.$$ref){var a=sr()(r).call(r,0,-1);if(!no(a)){if(!yt()(e)){var i=new TypeError("allOf must be an array");return i.fullPath=r,i}var s=!1,c=o.value;if(Xe()(a).call(a,(function(e){c&&(c=c[e])})),c=qe()({},c),!Oo()(c)){delete c.allOf;var l,u=[];if(u.push(n.replace(a,{})),Xe()(e).call(e,(function(e,t){if(!n.isObject(e)){if(s)return null;s=!0;var o=new TypeError("Elements in allOf must be objects");return o.fullPath=r,u.push(o)}u.push(n.mergeDeep(a,e));var i=function(e,t){var r,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=n.specmap,a=n.getBaseUrlForNodePath,i=void 0===a?function(e){var r;return o.getContext(it()(r=[]).call(r,lr()(t),lr()(e))).baseDoc}:a,s=n.targetKeys,c=void 0===s?["$ref","$$ref"]:s,l=[];return Xe()(r=Jn()(e)).call(r,(function(){if(_t()(c).call(c,this.key)&&Xn()(this.node)){var e=this.path,r=it()(t).call(t,this.path),n=oo(this.node,i(e));l.push(o.replace(r,n))}})),l}(e,sr()(r).call(r,0,-1),{getBaseUrlForNodePath:function(e){var o;return n.getContext(it()(o=[]).call(o,lr()(r),[t],lr()(e))).baseDoc},specmap:n});u.push.apply(u,lr()(i))})),u.push(n.mergeDeep(a,c)),!c.$$ref)u.push(n.remove(it()(l=[]).call(l,a,"$$ref")));return u}}}}},Do={key:"parameters",plugin:function(e,t,r,n){if(yt()(e)&&e.length){var o=zr()([],e),a=sr()(r).call(r,0,-1),i=qe()({},Cn.getIn(n.spec,a));return Xe()(e).call(e,(function(e,t){try{o[t].default=n.parameterMacro(i,e)}catch(e){var a=new Error(e);return a.fullPath=r,a}})),Cn.replace(r,o)}return Cn.replace(r,e)}},Co={key:"properties",plugin:function(e,t,r,n){var o=qe()({},e);for(var a in e)try{o[a].default=n.modelPropertyMacro(o[a])}catch(e){var i=new Error(e);return i.fullPath=r,i}return Cn.replace(r,o)}},jo=function(){function e(t){Yt()(this,e),this.root=_o(t||{})}return Gt()(e,[{key:"set",value:function(e,t){var r=this.getParent(e,!0);if(r){var n=e[e.length-1],o=r.children;o[n]?To(o[n],t,r):o[n]=_o(t,r)}else To(this.root,t,null)}},{key:"get",value:function(e){if((e=e||[]).length<1)return this.root.value;for(var t,r,n=this.root,o=0;o1?r-1:0),o=1;o1?n-1:0),a=1;a0}))}},{key:"nextPromisedPatch",value:function(){var e;if(this.promisedPatches.length>0)return Lr.a.race(ut()(e=this.promisedPatches).call(e,(function(e){return e.value})))}},{key:"getPluginHistory",value:function(e){var t=this.constructor.getPluginName(e);return this.pluginHistory[t]||[]}},{key:"getPluginRunCount",value:function(e){return this.getPluginHistory(e).length}},{key:"getPluginHistoryTip",value:function(e){var t=this.getPluginHistory(e);return t&&t[t.length-1]||{}}},{key:"getPluginMutationIndex",value:function(e){var t=this.getPluginHistoryTip(e).mutationIndex;return"number"!=typeof t?-1:t}},{key:"updatePluginHistory",value:function(e,t){var r=this.constructor.getPluginName(e);this.pluginHistory[r]=this.pluginHistory[r]||[],this.pluginHistory[r].push(t)}},{key:"updatePatches",value:function(e){var t,r=this;Xe()(t=Cn.normalizeArray(e)).call(t,(function(e){if(e instanceof Error)r.errors.push(e);else try{if(!Cn.isObject(e))return void r.debug("updatePatches","Got a non-object patch",e);if(r.showDebug&&r.allPatches.push(e),Cn.isPromise(e.value))return r.promisedPatches.push(e),void r.promisedPatchThen(e);if(Cn.isContextPatch(e))return void r.setContext(e.path,e.value);if(Cn.isMutation(e))return void r.updateMutations(e)}catch(e){console.error(e),r.errors.push(e)}}))}},{key:"updateMutations",value:function(e){"object"===xt()(e.value)&&!yt()(e.value)&&this.allowMetaPatches&&(e.value=qe()({},e.value));var t=Cn.applyPatch(this.state,e,{allowMetaPatches:this.allowMetaPatches});t&&(this.mutations.push(e),this.state=t)}},{key:"removePromisedPatch",value:function(e){var t,r,n=It()(t=this.promisedPatches).call(t,e);n<0?this.debug("Tried to remove a promisedPatch that isn't there!"):Rr()(r=this.promisedPatches).call(r,n,1)}},{key:"promisedPatchThen",value:function(e){var t=this;return e.value=e.value.then((function(r){var n=qe()(qe()({},e),{},{value:r});t.removePromisedPatch(e),t.updatePatches(n)})).catch((function(r){t.removePromisedPatch(e),t.updatePatches(r)})),e.value}},{key:"getMutations",value:function(e,t){var r;return e=e||0,"number"!=typeof t&&(t=this.mutations.length),sr()(r=this.mutations).call(r,e,t)}},{key:"getCurrentMutations",value:function(){return this.getMutationsForPlugin(this.getCurrentPlugin())}},{key:"getMutationsForPlugin",value:function(e){var t=this.getPluginMutationIndex(e);return this.getMutations(t+1)}},{key:"getCurrentPlugin",value:function(){return this.currentPlugin}},{key:"getLib",value:function(){return this.libMethods}},{key:"_get",value:function(e){return Cn.getIn(this.state,e)}},{key:"_getContext",value:function(e){return this.contextTree.get(e)}},{key:"setContext",value:function(e,t){return this.contextTree.set(e,t)}},{key:"_hasRun",value:function(e){return this.getPluginRunCount(this.getCurrentPlugin())>(e||0)}},{key:"dispatch",value:function(){var e,t=this,r=this,n=this.nextPlugin();if(!n){var o=this.nextPromisedPatch();if(o)return o.then((function(){return t.dispatch()})).catch((function(){return t.dispatch()}));var a={spec:this.state,errors:this.errors};return this.showDebug&&(a.patches=this.allPatches),Lr.a.resolve(a)}if(r.pluginCount=r.pluginCount||{},r.pluginCount[n]=(r.pluginCount[n]||0)+1,r.pluginCount[n]>100)return Lr.a.resolve({spec:r.state,errors:it()(e=r.errors).call(e,new Error("We've reached a hard limit of ".concat(100," plugin runs")))});if(n!==this.currentPlugin&&this.promisedPatches.length){var i,s=ut()(i=this.promisedPatches).call(i,(function(e){return e.value}));return Lr.a.all(ut()(s).call(s,(function(e){return e.then(Wr.a,Wr.a)}))).then((function(){return t.dispatch()}))}return function(){r.currentPlugin=n;var e=r.getCurrentMutations(),t=r.mutations.length-1;try{if(n.isGenerator){var o,a=rt()(n(e,r.getLib()));try{for(a.s();!(o=a.n()).done;){c(o.value)}}catch(e){a.e(e)}finally{a.f()}}else{c(n(e,r.getLib()))}}catch(e){console.error(e),c([zr()(Mr()(e),{plugin:n})])}finally{r.updatePluginHistory(n,{mutationIndex:t})}return r.dispatch()}();function c(e){e&&(e=Cn.fullyNormalizeArray(e),r.updatePatches(e,n))}}}],[{key:"getPluginName",value:function(e){return e.pluginName}},{key:"getPatchesOfType",value:function(e,t){return et()(e).call(e,t)}}]),e}();var Fo={refs:fo,allOf:Eo,parameters:Do,properties:Co},Po=r(36),Ro=r.n(Po),Bo=function(e){return String.prototype.toLowerCase.call(e)},Lo=function(e){return e.replace(/[^\w]/gi,"_")};function No(e){var t=e.openapi;return!!t&&Ve()(t,"3")}function Mo(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=n.v2OperationIdCompatibilityMode;if(!e||"object"!==xt()(e))return null;var a=(e.operationId||"").replace(/\s/g,"");return a.length?Lo(e.operationId):qo(t,r,{v2OperationIdCompatibilityMode:o})}function qo(e,t){var r,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=n.v2OperationIdCompatibilityMode;if(o){var a,i,s=it()(a="".concat(t.toLowerCase(),"_")).call(a,e).replace(/[\s!@#$%^&*()_+=[{\]};:<>|./?,\\'""-]/g,"_");return(s=s||it()(i="".concat(e.substring(1),"_")).call(i,t)).replace(/((_){2,})/g,"_").replace(/^(_)*/g,"").replace(/([_])*$/g,"")}return it()(r="".concat(Bo(t))).call(r,Lo(e))}function zo(e,t){var r;return it()(r="".concat(Bo(t),"-")).call(r,e)}function Uo(e,t){return e&&e.paths?function(e,t){return $o(e,t,!0)||null}(e,(function(e){var r,n=e.pathName,o=e.method,a=e.operation;if(!a||"object"!==xt()(a))return!1;var i=a.operationId,s=Mo(a,n,o),c=zo(n,o);return mt()(r=[s,c,i]).call(r,(function(e){return e&&e===t}))})):null}function $o(e,t,r){if(!e||"object"!==xt()(e)||!e.paths||"object"!==xt()(e.paths))return null;var n=e.paths;for(var o in n)for(var a in n[o])if("PARAMETERS"!==a.toUpperCase()){var i=n[o][a];if(i&&"object"===xt()(i)){var s={spec:e,pathName:o,method:a.toUpperCase(),operation:i},c=t(s);if(r&&c)return s}}}function Ho(e){var t=e.spec,r=t.paths,n={};if(!r||t.$$normalized)return e;for(var o in r){var a=r[o];if(Ro()(a)){var i=a.parameters,s=function(e){var r=a[e];if(!Ro()(r))return"continue";var s=Mo(r,o,e);if(s){n[s]?n[s].push(r):n[s]=[r];var c=n[s];if(c.length>1)Xe()(c).call(c,(function(e,t){var r;e.__originalOperationId=e.__originalOperationId||e.operationId,e.operationId=it()(r="".concat(s)).call(r,t+1)}));else if(void 0!==r.operationId){var l=c[0];l.__originalOperationId=l.__originalOperationId||r.operationId,l.operationId=s}}if("parameters"!==e){var u=[],p={};for(var f in t)"produces"!==f&&"consumes"!==f&&"security"!==f||(p[f]=t[f],u.push(p));if(i&&(p.parameters=i,u.push(p)),u.length){var d,h=rt()(u);try{for(h.s();!(d=h.n()).done;){var v=d.value;for(var m in v)if(r[m]){if("parameters"===m){var g,y=rt()(v[m]);try{var b=function(){var e,t=g.value;mt()(e=r[m]).call(e,(function(e){return e.name&&e.name===t.name||e.$ref&&e.$ref===t.$ref||e.$$ref&&e.$$ref===t.$$ref||e===t}))||r[m].push(t)};for(y.s();!(g=y.n()).done;)b()}catch(e){y.e(e)}finally{y.f()}}}else r[m]=v[m]}}catch(e){h.e(e)}finally{h.f()}}}};for(var c in a)s(c)}}return t.$$normalized=!0,e}function Wo(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.requestInterceptor,n=t.responseInterceptor,o=e.withCredentials?"include":"same-origin";return function(t){return e({url:t,loadSpec:!0,requestInterceptor:r,responseInterceptor:n,headers:{Accept:"application/json, application/yaml"},credentials:o}).then((function(e){return e.body}))}}function Vo(e){var t=e.fetch,r=e.spec,n=e.url,o=e.mode,a=e.allowMetaPatches,i=void 0===a||a,s=e.pathDiscriminator,c=e.modelPropertyMacro,l=e.parameterMacro,u=e.requestInterceptor,p=e.responseInterceptor,f=e.skipNormalization,d=e.useCircularStructures,h=e.http,v=e.baseDoc;return v=v||n,h=t||h||mr,r?m(r):Wo(h,{requestInterceptor:u,responseInterceptor:p})(v).then(m);function m(e){v&&(Fo.refs.docCache[v]=e),Fo.refs.fetchJSON=Wo(h,{requestInterceptor:u,responseInterceptor:p});var t,r=[Fo.refs];return"function"==typeof l&&r.push(Fo.parameters),"function"==typeof c&&r.push(Fo.properties),"strict"!==o&&r.push(Fo.allOf),(t={spec:e,context:{baseDoc:v},plugins:r,allowMetaPatches:i,pathDiscriminator:s,parameterMacro:l,modelPropertyMacro:c,useCircularStructures:d},new Io(t).dispatch()).then(f?function(){var e=Pt()(Je.a.mark((function e(t){return Je.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",t);case 1:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}():Ho)}}var Yo=r(52),Ko=r.n(Yo);function Go(){return(Go=Pt()(Je.a.mark((function e(t,r){var n,o,a,i,s,c,l,u,p,f,d,h,v=arguments;return Je.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=v.length>2&&void 0!==v[2]?v[2]:{},o=n.returnEntireTree,a=n.baseDoc,i=n.requestInterceptor,s=n.responseInterceptor,c=n.parameterMacro,l=n.modelPropertyMacro,u=n.useCircularStructures,p={pathDiscriminator:r,baseDoc:a,requestInterceptor:i,responseInterceptor:s,parameterMacro:c,modelPropertyMacro:l,useCircularStructures:u},f=Ho({spec:t}),d=f.spec,e.next=6,Vo(qe()(qe()({},p),{},{spec:d,allowMetaPatches:!0,skipNormalization:!0}));case 6:return h=e.sent,!o&&yt()(r)&&r.length&&(h.spec=Ko()(h.spec,r)||null),e.abrupt("return",h);case 9:case"end":return e.stop()}}),e)})))).apply(this,arguments)}var Jo=function(){return null},Qo={mapTagOperations:function(e){var t=e.spec,r=e.cb,n=void 0===r?Jo:r,o=e.defaultTag,a=void 0===o?"default":o,i=e.v2OperationIdCompatibilityMode,s={},c={};return $o(t,(function(e){var r,o=e.pathName,l=e.method,u=e.operation,p=u.tags?(r=u.tags,yt()(r)?r:[r]):[a];Xe()(p).call(p,(function(e){if("string"==typeof e){c[e]=c[e]||{};var r,a=c[e],p=Mo(u,o,l,{v2OperationIdCompatibilityMode:i}),f=n({spec:t,pathName:o,method:l,operation:u,operationId:p});if(s[p])s[p]+=1,a[it()(r="".concat(p)).call(r,s[p])]=f;else if(void 0!==a[p]){var d,h,v=s[p]||1;s[p]=v+1,a[it()(d="".concat(p)).call(d,s[p])]=f;var m=a[p];delete a[p],a[it()(h="".concat(p)).call(h,v)]=m}else a[p]=f}}))})),c},makeExecute:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return function(t){var r=t.pathName,n=t.method,o=t.operationId;return function(t){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return e.execute(qe()(qe()({spec:e.spec},qt()(e,"requestInterceptor","responseInterceptor","userFetch")),{},{pathName:r,method:n,parameters:t,operationId:o},a))}}}};var Xo=r(283),Zo=r.n(Xo),ea=r(284),ta=r.n(ea),ra=r(32),na=r.n(ra),oa=r(285),aa=r.n(oa),ia={body:function(e){var t=e.req,r=e.value;t.body=r},header:function(e){var t=e.req,r=e.parameter,n=e.value;t.headers=t.headers||{},void 0!==n&&(t.headers[r.name]=n)},query:function(e){var t,r=e.req,n=e.value,o=e.parameter;r.query=r.query||{},!1===n&&"boolean"===o.type&&(n="false");0===n&&It()(t=["number","integer"]).call(t,o.type)>-1&&(n="0");if(n)r.query[o.name]={collectionFormat:o.collectionFormat,value:n};else if(o.allowEmptyValue&&void 0!==n){var a=o.name;r.query[a]=r.query[a]||{},r.query[a].allowEmptyValue=!0}},path:function(e){var t=e.req,r=e.value,n=e.parameter;t.url=t.url.split("{".concat(n.name,"}")).join(encodeURIComponent(r))},formData:function(e){var t=e.req,r=e.value,n=e.parameter;(r||n.allowEmptyValue)&&(t.form=t.form||{},t.form[n.name]={value:r,allowEmptyValue:n.allowEmptyValue,collectionFormat:n.collectionFormat})}};function sa(e,t){return _t()(t).call(t,"application/json")?"string"==typeof e?e:ht()(e):e.toString()}function ca(e){var t=e.req,r=e.value,n=e.parameter,o=n.name,a=n.style,i=n.explode,s=n.content;if(s){var c=ct()(s)[0];t.url=t.url.split("{".concat(o,"}")).join(dr(sa(r,c),{escape:!0}))}else{var l=hr({key:n.name,value:r,style:a||"simple",explode:i||!1,escape:!0});t.url=t.url.split("{".concat(o,"}")).join(l)}}function la(e){var t=e.req,r=e.value,n=e.parameter;if(t.query=t.query||{},n.content){var o=ct()(n.content)[0];t.query[n.name]=sa(r,o)}else if(!1===r&&(r="false"),0===r&&(r="0"),r)t.query[n.name]={value:r,serializationOption:qt()(n,["style","explode","allowReserved"])};else if(n.allowEmptyValue&&void 0!==r){var a=n.name;t.query[a]=t.query[a]||{},t.query[a].allowEmptyValue=!0}}var ua=["accept","authorization","content-type"];function pa(e){var t=e.req,r=e.parameter,n=e.value;if(t.headers=t.headers||{},!(It()(ua).call(ua,r.name.toLowerCase())>-1))if(r.content){var o=ct()(r.content)[0];t.headers[r.name]=sa(n,o)}else void 0!==n&&(t.headers[r.name]=hr({key:r.name,value:n,style:r.style||"simple",explode:void 0!==r.explode&&r.explode,escape:!1}))}function fa(e){var t=e.req,r=e.parameter,n=e.value;t.headers=t.headers||{};var o=xt()(n);if(r.content){var a,i=ct()(r.content)[0];t.headers.Cookie=it()(a="".concat(r.name,"=")).call(a,sa(n,i))}else if("undefined"!==o){var s="object"===o&&!yt()(n)&&r.explode?"":"".concat(r.name,"=");t.headers.Cookie=s+hr({key:r.name,value:n,escape:!1,style:r.style||"form",explode:void 0!==r.explode&&r.explode})}}var da=r(133),ha=r.n(da);function va(e,t){var r=e.operation,n=e.requestBody,o=e.securities,a=e.spec,i=e.attachContentTypeForEmptyPayload,s=e.requestContentType;t=function(e){var t=e.request,r=e.securities,n=void 0===r?{}:r,o=e.operation,a=void 0===o?{}:o,i=e.spec,s=He()({},t),c=n.authorized,l=void 0===c?{}:c,u=a.security||i.security||[],p=l&&!!ct()(l).length,f=Ko()(i,["components","securitySchemes"])||{};if(s.headers=s.headers||{},s.query=s.query||{},!ct()(n).length||!p||!u||yt()(a.security)&&!a.security.length)return t;return Xe()(u).call(u,(function(e){var t;Xe()(t=ct()(e)).call(t,(function(e){var t=l[e],r=f[e];if(t){var n=t.value||t,o=r.type;if(t)if("apiKey"===o)"query"===r.in&&(s.query[r.name]=n),"header"===r.in&&(s.headers[r.name]=n),"cookie"===r.in&&(s.cookies[r.name]=n);else if("http"===o){if(/^basic$/i.test(r.scheme)){var a,i=n.username||"",c=n.password||"",u=ha()(it()(a="".concat(i,":")).call(a,c));s.headers.Authorization="Basic ".concat(u)}/^bearer$/i.test(r.scheme)&&(s.headers.Authorization="Bearer ".concat(n))}else if("oauth2"===o||"openIdConnect"===o){var p,d=t.token||{},h=d[r["x-tokenName"]||"access_token"],v=d.token_type;v&&"bearer"!==v.toLowerCase()||(v="Bearer"),s.headers.Authorization=it()(p="".concat(v," ")).call(p,h)}}}))})),s}({request:t,securities:o,operation:r,spec:a});var c=r.requestBody||{},l=ct()(c.content||{}),u=s&&It()(l).call(l,s)>-1;if(n||i){if(s&&u)t.headers["Content-Type"]=s;else if(!s){var p=l[0];p&&(t.headers["Content-Type"]=p,s=p)}}else s&&u&&(t.headers["Content-Type"]=s);if(n)if(s){if(It()(l).call(l,s)>-1)if("application/x-www-form-urlencoded"===s||"multipart/form-data"===s)if("object"===xt()(n)){var f,d=(c.content[s]||{}).encoding||{};t.form={},Xe()(f=ct()(n)).call(f,(function(e){t.form[e]={value:n[e],encoding:d[e]||{}}}))}else t.form=n;else t.body=n}else t.body=n;return t}function ma(e,t){var r,n,o=e.spec,a=e.operation,i=e.securities,s=e.requestContentType,c=e.attachContentTypeForEmptyPayload;if((t=function(e){var t=e.request,r=e.securities,n=void 0===r?{}:r,o=e.operation,a=void 0===o?{}:o,i=e.spec,s=He()({},t),c=n.authorized,l=void 0===c?{}:c,u=n.specSecurity,p=void 0===u?[]:u,f=a.security||p,d=l&&!!ct()(l).length,h=i.securityDefinitions;if(s.headers=s.headers||{},s.query=s.query||{},!ct()(n).length||!d||!f||yt()(a.security)&&!a.security.length)return t;return Xe()(f).call(f,(function(e){var t;Xe()(t=ct()(e)).call(t,(function(e){var t=l[e];if(t){var r=t.token,n=t.value||t,o=h[e],a=o.type,i=o["x-tokenName"]||"access_token",c=r&&r[i],u=r&&r.token_type;if(t)if("apiKey"===a){var p="query"===o.in?"query":"headers";s[p]=s[p]||{},s[p][o.name]=n}else if("basic"===a)if(n.header)s.headers.authorization=n.header;else{var f,d=n.username||"",v=n.password||"";n.base64=ha()(it()(f="".concat(d,":")).call(f,v)),s.headers.authorization="Basic ".concat(n.base64)}else if("oauth2"===a&&c){var m;u=u&&"bearer"!==u.toLowerCase()?u:"Bearer",s.headers.authorization=it()(m="".concat(u," ")).call(m,c)}}}))})),s}({request:t,securities:i,operation:a,spec:o})).body||t.form||c)if(s)t.headers["Content-Type"]=s;else if(yt()(a.consumes)){var l=kt()(a.consumes,1);t.headers["Content-Type"]=l[0]}else if(yt()(o.consumes)){var u=kt()(o.consumes,1);t.headers["Content-Type"]=u[0]}else a.parameters&&et()(r=a.parameters).call(r,(function(e){return"file"===e.type})).length?t.headers["Content-Type"]="multipart/form-data":a.parameters&&et()(n=a.parameters).call(n,(function(e){return"formData"===e.in})).length&&(t.headers["Content-Type"]="application/x-www-form-urlencoded");else if(s){var p,f,d=a.parameters&&et()(p=a.parameters).call(p,(function(e){return"body"===e.in})).length>0,h=a.parameters&&et()(f=a.parameters).call(f,(function(e){return"formData"===e.in})).length>0;(d||h)&&(t.headers["Content-Type"]=s)}return t}var ga=function(e){return yt()(e)?e:[]},ya=Kn("OperationNotFoundError",(function(e,t,r){this.originalError=r,zr()(this,t||{})})),ba={buildRequest:xa};function xa(e){var t,r,n=e.spec,o=e.operationId,i=e.responseContentType,s=e.scheme,c=e.requestInterceptor,l=e.responseInterceptor,u=e.contextUrl,p=e.userFetch,f=e.server,d=e.serverVariables,h=e.http,v=e.parameters,m=e.parameterBuilders,g=No(n);m||(m=g?a:ia);var y={url:"",credentials:h&&h.withCredentials?"include":"same-origin",headers:{},cookies:{}};c&&(y.requestInterceptor=c),l&&(y.responseInterceptor=l),p&&(y.userFetch=p);var b=Uo(n,o);if(!b)throw new ya("Operation ".concat(o," not found"));var x=b.operation,w=void 0===x?{}:x,k=b.method,S=b.pathName;if(y.url+=ka({spec:n,scheme:s,contextUrl:u,server:f,serverVariables:d,pathName:S,method:k}),!o)return delete y.cookies,y;y.url+=S,y.method="".concat(k).toUpperCase(),v=v||{};var A=n.paths[S]||{};i&&(y.headers.accept=i);var O=function(e){var t,r={};Xe()(e).call(e,(function(e){r[e.in]||(r[e.in]={}),r[e.in][e.name]=e}));var n=[];return Xe()(t=ct()(r)).call(t,(function(e){var t;Xe()(t=ct()(r[e])).call(t,(function(t){n.push(r[e][t])}))})),n}(it()(t=it()(r=[]).call(r,ga(w.parameters))).call(t,ga(A.parameters)));Xe()(O).call(O,(function(e){var t,r,o=m[e.in];if("body"===e.in&&e.schema&&e.schema.properties&&(t=v),void 0===(t=e&&e.name&&v[e.name]))t=e&&e.name&&v[it()(r="".concat(e.in,".")).call(r,e.name)];else if(function(e,t){return et()(t).call(t,(function(t){return t.name===e}))}(e.name,O).length>1){var a;console.warn(it()(a="Parameter '".concat(e.name,"' is ambiguous because the defined spec has more than one parameter with the name: '")).call(a,e.name,"' and the passed-in parameter values did not define an 'in' value."))}if(null!==t){if(void 0!==e.default&&void 0===t&&(t=e.default),void 0===t&&e.required&&!e.allowEmptyValue)throw new Error("Required parameter ".concat(e.name," is not provided"));if(g&&e.schema&&"object"===e.schema.type&&"string"==typeof t)try{t=JSON.parse(t)}catch(e){throw new Error("Could not parse object parameter value string as JSON")}o&&o({req:y,parameter:e,value:t,operation:w,spec:n})}}));var E=qe()(qe()({},e),{},{operation:w});if((y=g?va(E,y):ma(E,y)).cookies&&ct()(y.cookies).length){var D,C=Et()(D=ct()(y.cookies)).call(D,(function(e,t){var r=y.cookies[t];return e+(e?"&":"")+aa.a.serialize(t,r)}),"");y.headers.Cookie=C}return y.cookies&&delete y.cookies,Tr(y),y}var wa=function(e){return e?e.replace(/\W/g,""):null};function ka(e){return No(e.spec)?function(e){var t=e.spec,r=e.pathName,n=e.method,o=e.server,a=e.contextUrl,i=e.serverVariables,s=void 0===i?{}:i,c=Ko()(t,["paths",r,(n||"").toLowerCase(),"servers"])||Ko()(t,["paths",r,"servers"])||Ko()(t,["servers"]),l="",u=null;if(o&&c&&c.length){var p=ut()(c).call(c,(function(e){return e.url}));It()(p).call(p,o)>-1&&(l=o,u=c[It()(p).call(p,o)])}if(!l&&c&&c.length){l=c[0].url;var f=kt()(c,1);u=f[0]}if(It()(l).call(l,"{")>-1){var d=function(e){var t,r=[],n=/{([^}]+)}/g;for(;t=n.exec(e);)r.push(t[1]);return r}(l);Xe()(d).call(d,(function(e){if(u.variables&&u.variables[e]){var t=u.variables[e],r=s[e]||t.default,n=new RegExp("{".concat(e,"}"),"g");l=l.replace(n,r)}}))}return function(){var e,t,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",o=r&&n?Ke.a.parse(Ke.a.resolve(n,r)):Ke.a.parse(r),a=Ke.a.parse(n),i=wa(o.protocol)||wa(a.protocol)||"",s=o.host||a.host,c=o.pathname||"";e=i&&s?it()(t="".concat(i,"://")).call(t,s+c):c;return"/"===e[e.length-1]?sr()(e).call(e,0,-1):e}(l,a)}(e):function(e){var t,r,n=e.spec,o=e.scheme,a=e.contextUrl,i=void 0===a?"":a,s=Ke.a.parse(i),c=yt()(n.schemes)?n.schemes[0]:null,l=o||c||wa(s.protocol)||"http",u=n.host||s.host||"",p=n.basePath||"";t=l&&u?it()(r="".concat(l,"://")).call(r,u+p):p;return"/"===t[t.length-1]?sr()(t).call(t,0,-1):t}(e)}function Sa(e){var t=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if("string"==typeof e?r.url=e:r=e,!(this instanceof Sa))return new Sa(r);He()(this,r);var n=this.resolve().then((function(){return t.disableInterfaces||He()(t,Sa.makeApisTagOperation(t)),t}));return n.client=this,n}Sa.http=mr,Sa.makeHttp=Ue()(Ir).call(Ir,null,Sa.http),Sa.resolve=Vo,Sa.resolveSubtree=function(e,t){return Go.apply(this,arguments)},Sa.execute=function(e){var t=e.http,r=e.fetch,n=e.spec,o=e.operationId,a=e.pathName,i=e.method,s=e.parameters,c=e.securities,l=Zo()(e,["http","fetch","spec","operationId","pathName","method","parameters","securities"]),u=t||r||mr;a&&i&&!o&&(o=zo(a,i));var p=ba.buildRequest(qe()({spec:n,operationId:o,parameters:s,securities:c,http:u},l));return p.body&&(ta()(p.body)||na()(p.body))&&(p.body=ht()(p.body)),u(p)},Sa.serializeRes=xr,Sa.serializeHeaders=kr,Sa.clearCache=function(){Fo.refs.clearCache()},Sa.makeApisTagOperation=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=Qo.makeExecute(e);return{apis:Qo.mapTagOperations({v2OperationIdCompatibilityMode:e.v2OperationIdCompatibilityMode,spec:e.spec,cb:t})}},Sa.buildRequest=xa,Sa.helpers={opId:Mo},Sa.getBaseUrl=ka,Sa.prototype={http:mr,execute:function(e){return this.applyDefaults(),Sa.execute(qe()({spec:this.spec,http:this.http,securities:{authorized:this.authorizations},contextUrl:"string"==typeof this.url?this.url:void 0,requestInterceptor:this.requestInterceptor||null,responseInterceptor:this.responseInterceptor||null},e))},resolve:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Sa.resolve(qe()({spec:this.spec,url:this.url,http:this.http||this.fetch,allowMetaPatches:this.allowMetaPatches,useCircularStructures:this.useCircularStructures,requestInterceptor:this.requestInterceptor||null,responseInterceptor:this.responseInterceptor||null},t)).then((function(t){return e.originalSpec=e.spec,e.spec=t.spec,e.errors=t.errors,e}))}},Sa.prototype.applyDefaults=function(){var e=this.spec,t=this.url;if(t&&Ve()(t,"http")){var r=Ke.a.parse(t);e.host||(e.host=r.host),e.schemes||(e.schemes=[r.protocol.replace(":","")]),e.basePath||(e.basePath="/")}};Sa.helpers;var Aa=Sa;async function Oa(e,t=!1,r="",n="",o="",a="",i=""){let s,c;const l={patch:!0,warnOnly:!0,resolveInternal:!0,anchors:!0};try{let t;t="string"==typeof e?await Aa(e):await Aa({spec:e}),s=t.spec,t.spec.swagger&&(c=await Ne.a.convertObj(t.spec,l),s=c.openapi)}catch(e){console.info("RapiDoc: %c There was an issue while parsing the spec %o ","color:orangered",e)}const u=function(e,t=!1,r){const n=["get","put","post","delete","patch","head","options"],o=e.tags&&Array.isArray(e.tags)?e.tags.map(e=>({show:!0,elementId:"tag--".concat(e.name.replace(Ie,"-")),name:e.name,description:e.description,paths:[],expanded:!1!==e["x-tag-expanded"]})):[];for(const t in e.paths){const r=e.paths[t].parameters,a={servers:e.paths[t].servers?e.paths[t].servers:[],parameters:e.paths[t].parameters?e.paths[t].parameters:[]};n.forEach(n=>{if(e.paths[t][n]){const i=e.paths[t][n],s=i.tags?i.tags:[];if(0===s.length){let e=t.indexOf("/",1);-1===e?e=t.length-1:e-=1,s.push(t.substr(1,e))}s.forEach(s=>{let c,l;e.tags&&(l=e.tags.find(e=>e.name.toLowerCase()===s.toLowerCase())),c=o.find(e=>e.name===s),c||(c={show:!0,elementId:"tag--".concat(s.replace(Ie,"-")),name:s,description:l?l.description:"",paths:[],expanded:!l||!1!==l["x-tag-expanded"]},o.push(c));let u=(i.summary||i.description||i.path).trim();u.length>100&&(u=u.split("/\r?\n|[.]/")[0]);let p=[];p=r?i.parameters?r.filter(e=>{if(!i.parameters.some(t=>e.name===t.name&&e.in===t.in))return e}).concat(i.parameters):r.slice(0):i.parameters?i.parameters.slice(0):[],c.paths.push({show:!0,expanded:!1,expandedAtLeastOnce:!1,summary:i.summary||"",description:i.description||"",shortSummary:u,method:n,path:t,operationId:i.operationId,elementId:"".concat(n,"-").concat(t.replace(Ie,"-")),servers:i.servers?a.servers.concat(i.servers):a.servers,parameters:p,requestBody:i.requestBody,responses:i.responses,callbacks:i.callbacks,deprecated:i.deprecated,security:i.security,xCodeSamples:i["x-codeSamples"]||i["x-code-samples"]||""})})}})}const a=o.filter(e=>e.paths&&e.paths.length>0);"method"===r?a.forEach(e=>{e.paths&&e.paths.sort((e,t)=>n.indexOf(e.method).toString().localeCompare(n.indexOf(t.method)))}):"summary"===r?a.forEach(e=>{e.paths&&e.paths.sort((e,t)=>(e.summary||e.description||e.path).localeCompare(t.summary||t.description||t.path))}):a.forEach(e=>{e.paths&&e.paths.sort((e,t)=>e.path.localeCompare(t.path))});return t?a.sort((e,t)=>e.name.localeCompare(t.name)):a} /** * @license * Copyright (c) 2017 The Polymer Project Authors. All rights reserved. @@ -216,5 +216,5 @@ var mn=new WeakMap,gn=function(e){this.observers=new Map,this.obj=e},yn=function * 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 - */(s,t,r),p=function(e){if(!e.components)return[];const t=[];for(const r in e.components){const n=[];for(const t in e.components[r]){const o={show:!0,id:"".concat(r.toLowerCase(),"-").concat(t.toLowerCase()).replace(Ie,"-"),name:t,component:e.components[r][t]};n.push(o)}let o=r,a=r;switch(r){case"schemas":a="Schemas",o="Schemas allows the definition of input and output data types. These types can be objects, but also primitives and arrays.";break;case"responses":a="Responses",o="Describes responses from an API Operation, including design-time, static links to operations based on the response.";break;case"parameters":a="Parameters",o="Describes operation parameters. A unique parameter is defined by a combination of a name and location.";break;case"examples":a="Examples",o="List of Examples for operations, can be requests, responses and objects examples.";break;case"requestBodies":a="Request Bodies",o="Describes common request bodies that are used across the API operations.";break;case"headers":a="Headers",o='Headers follows the structure of the Parameters but they are explicitly in "header"';break;case"securitySchemes":a="Security Schemes",o="Defines a security scheme that can be used by the operations. Supported schemes are HTTP authentication, an API key (either as a header, a cookie parameter or as a query parameter), OAuth2's common flows(implicit, password, client credentials and authorization code) as defined in RFC6749, and OpenID Connect Discovery.";break;case"links":a="Links",o="Links represent a possible design-time link for a response. The presence of a link does not guarantee the caller's ability to successfully invoke it, rather it provides a known relationship and traversal mechanism between responses and other operations.";break;case"callbacks":a="Callbacks",o="A map of possible out-of band callbacks related to the parent operation. Each value in the map is a Path Item Object that describes a set of requests that may be initiated by the API provider and the expected responses. The key value used to identify the path item object is an expression, evaluated at runtime, that identifies a URL to use for the callback operation.";break;default:a=r,o=r}const i={show:!0,name:a,description:o,subComponents:n};t.push(i)}return t||[]}(s),f=function(e){if(e&&e.info&&e.info.description){const t=ce.a.lexer(e.info.description);return t.filter(e=>"heading"===e.type&&e.depth<=2)||[]}return[]}(s),d=[];s.components&&s.components.securitySchemes&&Object.entries(s.components.securitySchemes).forEach(e=>{const t={apiKeyId:e[0],...e[1]};t.value="",t.finalKeyValue="","apiKey"===e[1].type||"http"===e[1].type?(t.in=e[1].in||"header",t.name=e[1].name||"Authorization",t.user="",t.password=""):"oauth2"===e[1].type&&(t.in="header",t.name="Authorization",t.clientId="",t.clientSecret=""),d.push(t)}),n&&o&&a&&d.push({apiKeyId:"_rapidoc_api_key",description:"api-key provided in rapidoc element attributes",type:"apiKey",oAuthFlow:"",name:n,in:o,value:a,finalKeyValue:a}),d.forEach(e=>{"http"===e.type?e.typeDisplay="basic"===e.scheme?"HTTP Basic":"HTTP Bearer":"apiKey"===e.type?e.typeDisplay="API Key (".concat(e.name,")"):"oauth2"===e.type?e.typeDisplay="OAuth (".concat(e.apiKeyId,")"):e.typeDisplay=e.type});let h=[];s.servers&&Array.isArray(s.servers)?(s.servers.forEach(e=>{let t=e.url.trim();t.startsWith("http")||t.startsWith("//")||t.startsWith("{")||window.location.origin.startsWith("http")&&(e.url=window.location.origin+e.url,t=e.url),e.variables&&Object.entries(e.variables).forEach(e=>{const r=new RegExp("{".concat(e[0],"}"),"g");t=t.replace(r,e[1].default||""),e[1].value=e[1].default||""}),e.computedUrl=t}),i&&s.servers.push({url:i,computedUrl:i})):i?s.servers=[{url:i,computedUrl:i}]:window.location.origin.startsWith("http")?s.servers=[{url:window.location.origin,computedUrl:window.location.origin}]:s.servers=[{url:"http://localhost",computedUrl:"http://localhost"}],h=s.servers;return{info:s.info,infoDescriptionHeaders:f,tags:u,components:p,externalDocs:s.externalDocs,securitySchemes:d,servers:h,basePath:s.basePath}}const Ea=new WeakMap,Da=(Ca=e=>t=>{if(!(t instanceof _))throw new Error("unsafeHTML can only be used in text bindings");const r=Ea.get(t);if(void 0!==r&&E(e)&&e===r.value&&t.value===r.fragment)return;const n=document.createElement("template");n.innerHTML=e;const o=document.importNode(n.content,!0);t.setValue(o),Ea.set(t,{value:e,fragment:o})},(...e)=>{const t=Ca(...e);return b.set(t,!0),t});var Ca,ja,_a,Ta,Ia,Fa,Pa,Ra,Ba,La,Na,Ma,qa,za,Ua,$a,Ha,Wa,Va,Ya,Ka,Ga,Ja,Qa,Xa,Za,ei,ti,ri,ni,oi,ai,ii,si,ci,li,ui,pi,fi,di,hi,vi,mi,gi,yi,bi,xi,wi;function ki(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function Si(e,t){let r="";const n=this.resolvedSpec.securitySchemes.find(t=>t.apiKeyId===e);if(n){const e=t.target.closest("tr");if(n.type&&n.scheme&&"http"===n.type&&"basic"===n.scheme.toLowerCase()){const t=e.querySelector(".api-key-user").value.trim(),n=e.querySelector(".api-key-password").value.trim();t&&n&&(r="Basic ".concat(btoa("".concat(t,":").concat(n))))}else r=e.querySelector(".api-key-input").value.trim(),r&&n.scheme&&"bearer"===n.scheme.toLowerCase()&&(r="Bearer ".concat(r));n.finalKeyValue=r}this.requestUpdate()}function Ai(){this.resolvedSpec.securitySchemes.forEach(e=>{e.user="",e.password="",e.value="",e.finalKeyValue=""}),this.requestUpdate()}function Oi(e,t="Bearer",r){this.resolvedSpec.securitySchemes.find(t=>t.apiKeyId===e).finalKeyValue="".concat("bearer"===t.toLowerCase()?"Bearer":"mac"===t.toLowerCase()?"MAC":t," ").concat(r),this.requestUpdate()}async function Ei(e,t,r,n,o,a,i="header",s,c,l=null){const u=c?c.querySelector(".oauth-resp-display"):void 0,p=new URLSearchParams,f=new Headers;p.append("grant_type",o),"client_credentials"!==o&&p.append("redirect_uri",n),a&&p.append("code",a),"header"===i?f.set("Authorization","Basic ".concat(btoa("".concat(t,":").concat(r)))):(p.append("client_id",t),p.append("client_secret",r)),l&&p.append("scope",l);try{const t=await fetch(e,{method:"POST",headers:f,body:p}),r=await t.json();if(!t.ok)return u&&(u.innerHTML=''.concat(r.error_description||r.error_description||"Unable to get access token","")),!1;if(r.token_type&&r.access_token)return Oi.call(this,s,r.token_type,r.access_token),u&&(u.innerHTML='Access Token Received'),!0}catch(e){return u&&(u.innerHTML='Failed to get access token'),!1}}async function Di(e,t,r,n,o,a,i,s,c,l){sessionStorage.removeItem("winMessageEventActive"),t.close(),e.data.fake||(e.data||console.warn("RapiDoc: Received no data with authorization message"),e.data.error&&console.warn("RapiDoc: Error while receiving data"),e.data&&("code"===e.data.responseType?Ei.call(this,r,n,o,a,i,e.data.code,s,c,l):"token"===e.data.responseType&&Oi.call(this,c,e.data.token_type,e.data.access_token)))}async function Ci(e,t,r,n,o){const a=o.target.closest(".oauth-flow"),i=a.querySelector(".oauth-client-id")?a.querySelector(".oauth-client-id").value.trim():"",s=a.querySelector(".oauth-client-secret")?a.querySelector(".oauth-client-secret").value.trim():"",c=a.querySelector(".oauth-send-client-secret-in")?a.querySelector(".oauth-send-client-secret-in").value.trim():"header",l=[...a.querySelectorAll('input[type="checkbox"]:checked')],u="".concat(Math.random().toString(36),"random").slice(2,9),p=new URL("".concat(window.location.origin).concat(window.location.pathname.substring(0,window.location.pathname.lastIndexOf("/")),"/").concat(this.oauthReceiver));let f,d="",h="";if([...a.parentNode.querySelectorAll(".oauth-resp-display")].forEach(e=>{e.innerHTML=""}),"authorizationCode"===t||"implicit"===t){const o=new URL(r);"authorizationCode"===t?(d="authorization_code",h="code"):"implicit"===t&&(h="token");const v=new URLSearchParams(o.search),m=l.map(e=>e.value).join(" ");m&&v.set("scope",m),v.set("client_id",i),v.set("redirect_uri",p.toString()),v.set("response_type",h),v.set("state",u),v.set("show_dialog",!0),o.search=v.toString(),"true"===sessionStorage.getItem("winMessageEventActive")&&window.postMessage({fake:!0},this),setTimeout(()=>{f=window.open(o.toString()),f?(sessionStorage.setItem("winMessageEventActive","true"),window.addEventListener("message",t=>Di.call(this,t,f,n,i,s,p.toString(),d,c,e,a),{once:!0})):console.error("RapiDoc: Unable to open ".concat(o.toString()," in a new window"))},10)}else if("clientCredentials"===t){d="client_credentials";const t=l.map(e=>e.value).join(" ");Ei.call(this,n,i,s,p.toString(),d,"",c,e,a,t)}}function ji(e,t,r,n,o){let a;return a="authorizationCode"===e?"Authorization Code Flow":"clientCredentials"===e?"Client Credentials Flow":"implicit"===e?"Implicit Flow":"password"===e?"Password Flow":e,z(ja||(ja=ki(['
    ',"
    "," "," "," ","
    "])),a,o.authorizationUrl?z(_a||(_a=ki(['
    Auth URL ',"
    "])),o.authorizationUrl):"",o.tokenUrl?z(Ta||(Ta=ki(['
    Token URL ',"
    "])),o.tokenUrl):"",o.refreshUrl?z(Ia||(Ia=ki(['
    Refresh URL ',"
    "])),o.refreshUrl):"","authorizationCode"===e||"clientCredentials"===e||"implicit"===e||"password"===e?z(Fa||(Fa=ki([" ",'
    '," ","
    ",'
    '])),o.scopes?z(Pa||(Pa=ki([' Scopes
    ',"
    "])),Object.entries(o.scopes).map((t,r)=>z(Ra||(Ra=ki(['
    "])),e,r,t[0],e,r,t[0],t[0]!==t[1]?" - ".concat(t[1]||""):""))):"",t||"","authorizationCode"===e||"clientCredentials"===e||"password"===e?z(Ba||(Ba=ki([' ',""])),r||"","authorizationCode"===e||"clientCredentials"===e?z(La||(La=ki([' ']))):""):z(Na||(Na=ki(['
    ']))),"authorizationCode"===e||"clientCredentials"===e||"implicit"===e?z(Ma||(Ma=ki([' '])),t=>{Ci.call(this,n,e,o.authorizationUrl,o.tokenUrl,t)}):"","password"===e?z(qa||(qa=ki(['
    ']))):""):"")}function _i(){var e;const t=null===(e=this.resolvedSpec.securitySchemes)||void 0===e?void 0:e.filter(e=>e.finalKeyValue);if(t)return z(za||(za=ki(['
    AUTHENTICATION
    ',"
    ","
    "])),"read focused".includes(this.renderStyle)?"section-gap--read-mode":"section-gap ",t.length>0?z(Ua||(Ua=ki(['
    ',' API key applied
    '])),t.length,()=>{Ai.call(this)}):z($a||($a=ki(['
    No API key applied
    ']))),this.resolvedSpec.securitySchemes&&this.resolvedSpec.securitySchemes.length>0?z(Ha||(Ha=ki([' ',"
    "])),this.resolvedSpec.securitySchemes.map(e=>z(Wa||(Wa=ki(['
    '," ","
    "," "," "," "," "])),e.typeDisplay,e.finalKeyValue?z(Va||(Va=ki([' ',' '])),e.finalKeyValue?"Key Applied":"",()=>{e.finalKeyValue="",this.requestUpdate()}):"",e.description?z(Ya||(Ya=ki(['
    ',"
    "])),Da(ce()(e.description||""))):"","apikey"===e.type.toLowerCase()||"http"===e.type.toLowerCase()&&"bearer"===e.scheme.toLowerCase()?z(Ka||(Ka=ki([" ",'
    ',"
    "])),"apikey"===e.type.toLowerCase()?z(Ga||(Ga=ki(["Send "," in "," with the given value"])),e.name,e.in):z(Ja||(Ja=ki(["Send Authorization in header containing the word Bearer followed by a space and a Token String."]))),"cookie"!==e.in?z(Qa||(Qa=ki([' "])),e.value,t=>{Si.call(this,e.apiKeyId,t)},e.finalKeyValue?"UPDATE":"SET"):""):"","http"===e.type.toLowerCase()&&"basic"===e.scheme.toLowerCase()?z(Xa||(Xa=ki([' Send Authorization in header containing the word Basic followed by a space and a base64 encoded string of username:password.
    "])),e.user,e.password,t=>{Si.call(this,e.apiKeyId,t)},e.finalKeyValue?"UPDATE":"SET"):"","oauth2"===e.type.toLowerCase()?z(Za||(Za=ki([' '," "])),Object.keys(e.flows).map(t=>ji.call(this,t,e["x-client-id"],e["x-client-secret"],e.apiKeyId,e.flows[t]))):""))):"")}function Ti(e){if(this.resolvedSpec.securitySchemes&&e){const t=[];return e.forEach(e=>{const r=[],n=[];let o="";Object.keys(e).forEach(t=>{const a=this.resolvedSpec.securitySchemes.find(e=>e.apiKeyId===t);o||(o=e[t].join(", ")),a&&(n.push(a.typeDisplay),r.push(a))}),t.push({pathScopes:o,securityTypes:n.length>1?"".concat(n[0]," + ").concat(n.length-1," more"):n[0],securityDefs:r})}),z(ei||(ei=ki(['
    ',"
    "])),t.map((e,t)=>z(ti||(ti=ki([" ",'
    ','
    ','
    ',"
    "])),0!==t?z(ri||(ri=ki(['
    OR
    ']))):"",e.securityTypes,e.securityDefs.length>1?z(ni||(ni=ki(["
    Requires all of the following
    "]))):"",e.securityDefs.map((t,r)=>z(oi||(oi=ki([" "," "])),"oauth2"===t.type?z(ai||(ai=ki(["
    "," OAuth Token (",") in Authorization header
    "])),e.securityDefs.length>1?z(ii||(ii=ki(["",".  "])),r+1):z(si||(si=ki(["Requires"]))),t.apiKeyId):"http"===t.type?z(ci||(ci=ki(["
    "," "," in Authorization header
    "])),e.securityDefs.length>1?z(li||(li=ki(["",".  "])),r+1):z(ui||(ui=ki(["Requires"]))),"basic"===t.scheme?"Base 64 encoded username:password":"Bearer Token"):z(pi||(pi=ki(["
    "," Token in "," ","
    "])),e.securityDefs.length>1?z(fi||(fi=ki(["",".  "])),r+1):z(di||(di=ki(["Requires"]))),t.name,t.in))))))}return""}function Ii(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function Fi(e){return z(hi||(hi=Ii(['
    CODE SAMPLES
    ',"
    ","
    "])),e=>{if(!e.target.classList.contains("tab-btn"))return;const t=e.target.dataset.tab,r=[...e.currentTarget.querySelectorAll(".tab-btn")],n=[...e.currentTarget.querySelectorAll(".tab-content")];r.forEach(e=>e.classList[e.dataset.tab===t?"add":"remove"]("active")),n.forEach(e=>{e.style.display=e.dataset.tab===t?"block":"none"})},e.map((e,t)=>z(vi||(vi=Ii(['"])),0===t?"active":"",e.lang,t,e.label||e.lang)),e.map((e,t)=>{var r,n,o;return z(mi||(mi=Ii(['
    ',"
    "])),0===t?"block":"none",e.lang,t,t=>{Pe(e.source,t)},ue.a.languages[null===(r=e.lang)||void 0===r?void 0:r.toLowerCase()]?Da(ue.a.highlight(e.source,ue.a.languages[null===(n=e.lang)||void 0===n?void 0:n.toLowerCase()],null===(o=e.lang)||void 0===o?void 0:o.toLowerCase())):e.source)}))}function Pi(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function Ri(e){return z(gi||(gi=Pi(['
    CALLBACKS
    '," "])),Object.entries(e).map(e=>z(yi||(yi=Pi(['
    '," ","
    "])),e[0],Object.entries(e[1]).map(e=>z(bi||(bi=Pi(['
    ',"
    "])),Object.entries(e[1]).map(t=>{var r,n,o;return z(xi||(xi=Pi(['
    ','
    ','
    '])),t[0],t[0],e[0],t[0]||"",e[0]||"",(null===(r=t[1])||void 0===r?void 0:r.parameters)||"",(null===(n=t[1])||void 0===n?void 0:n.requestBody)||"",this.fillRequestFieldsWithExample,this.renderStyle,this.schemaStyle,this.defaultSchemaTab,this.schemaExpandLevel,this.schemaDescriptionExpanded,null===(o=t[1])||void 0===o?void 0:o.responses,this.renderStyle,this.schemaStyle,this.defaultSchemaTab,this.schemaExpandLevel,this.schemaDescriptionExpanded)}))))))}var Bi,Li,Ni,Mi,qi,zi,Ui,$i,Hi,Wi,Vi=ne(wi||(wi=function(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}([".border-top{border-top:1px solid var(--border-color)}.border{border:1px solid var(--border-color);border-radius:var(--border-radius)}.light-border{border:1px solid var(--light-border-color);border-radius:var(--border-radius)}.pad-8-16{padding:8px 16px}.pad-top-8{padding-top:8px}.mar-top-8{margin-top:8px}"])));function Yi(e){if(!e)return;const t={type:e.$ref?"{recursive}":e.enum?"enum":e.format?e.format:e.type?e.type:"{missing-type-info}",format:e.format?e.format:"",pattern:e.pattern&&!e.enum?e.pattern:"",readOrWriteOnly:e.readOnly?"🆁":e.writeOnly?"🆆":"",deprecated:e.deprecated?"❌":"",example:void 0===e.example?"":Array.isArray(e.example)?e.example:"".concat(e.example),default:void 0===e.default?"":"".concat(e.default),description:e.description?e.description:"",constrain:"",allowedValues:"",arrayType:"",html:""};if("{recursive}"===t.type?t.description=e.$ref.substring(e.$ref.lastIndexOf("/")+1):"{missing-type-info}"===t.type&&(t.description=t.description||""),e.enum){let r="";e.enum.map(e=>{r+="".concat(e,", ")}),t.allowedValues=r.slice(0,-2)}if("array"===e.type&&e.items){const 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){let e="";r.enum.map(t=>{e+="".concat(t,", ")}),t.allowedValues=e.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," and ").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")));return t.html="".concat(t.type,"~|~").concat(t.readOrWriteOnly,"~|~").concat(t.constrain,"~|~").concat(t.default,"~|~").concat(t.allowedValues,"~|~").concat(t.pattern,"~|~").concat(t.description,"~|~").concat(e.title||"","~|~").concat(t.deprecated?"deprecated":""),t}function Ki(e){if(""===e.example)return"";if(null===e.example)return null;if(0===e.example)return 0;if(e.example)return e.example;if(0===Object.keys(e).length)return null;if(e.$ref)return e.$ref;let t=e.format||e.type||(e.enum?"enum":"");switch(t||(e.enum?t="enum":e.anyOf?t="anyOf":e.oneOf&&(t="oneOf")),t.toLowerCase()){case"int32":case"int64":case"integer":return 0;case"float":case"double":case"number":case"decimal":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";case"null":return null;default:return e.nullable?null:e.$ref?"data of type ".concat(e.$ref):"?"}}function Gi(e,t=1){const r=" ".repeat(t);let n="";if(1===t&&"object"!=typeof e)return"\n".concat(r).concat(e.toString());for(const o in e)n=Array.isArray(e[o])||"object"==typeof e[o]?"".concat(n,"\n").concat(r,"<").concat(o,"> ").concat(Gi(e[o],t+1),"\n").concat(r,""):"".concat(n,"\n").concat(r,"<").concat(o,"> ").concat(e[o].toString()," ");return n}function Ji(e,t){"object"==typeof t&&null!==t&&(e.title&&(t["::TITLE"]=e.title),e.description&&(t["::DESCRIPTION"]=e.description))}function Qi(e){if("object"==typeof e&&null!==e){delete e["::TITLE"],delete e["::DESCRIPTION"];for(const t in e)Qi(e[t])}}function Xi(e,t,r){for(const n in t)t[n][r]=e}function Zi(e,t,r){let n=0;const o={};for(const a in e)for(const i in r)o["example-".concat(n)]={...e[a]},o["example-".concat(n)][t]=r[i],n++;return o}function es(e,t,r=0,n=""){if(e){if(e.allOf){const n={};if(1===e.allOf.length&&!e.allOf[0].properties&&!e.allOf[0].items){const t=e.allOf[0];return"".concat(Yi(t).html)}e.allOf.map((e,t)=>{if("object"===e.type||e.properties||e.allOf||e.anyOf||e.oneOf){const o=(e.anyOf||e.oneOf)&&t>0?t:"",a=es(e,{},r+1,o);Object.assign(n,a)}else if("array"===e.type||e.items){const t=es(e,{},r+1);Object.assign(n,t)}else{if(!e.type)return"";{const t="prop".concat(Object.keys(n).length),r=Yi(e);n[t]="".concat(r.html)}}}),t=n}else if(e.anyOf||e.oneOf){if(t["::description"]=e.description||"","object"===e.type||e.properties){t["::description"]=e.description||"",t["::type"]="object";for(const n in e.properties)e.required&&e.required.includes(n)?t["".concat(n,"*")]=es(e.properties[n],{},r+1):t[n]=es(e.properties[n],{},r+1)}const o={};e[e.anyOf?"anyOf":"oneOf"].forEach((e,t)=>{if("object"===e.type||e.properties||e.allOf||e.anyOf||e.oneOf){const r=es(e,{});o["::OPTION~".concat(t+1).concat(e.title?"~".concat(e.title):"")]=r,o["::type"]="xxx-of-option"}else if("array"===e.type||e.items){const r=es(e,{});o["::OPTION~".concat(t+1).concat(e.title?"~".concat(e.title):"")]=r,o["::type"]="xxx-of-array"}else{const r="::OPTION~".concat(t+1).concat(e.title?"~".concat(e.title):"");o[r]="".concat(Yi(e).html)}}),t[e.anyOf?"::ANY~OF ".concat(n):"::ONE~OF ".concat(n)]=o,t["::type"]="xxx-of"}else if("object"===e.type||e.properties){t["::description"]=e.description||"",t["::type"]="object",t["::deprecated"]=e.deprecated||!1;for(const n in e.properties)e.required&&e.required.includes(n)?t["".concat(n,"*")]=es(e.properties[n],{},r+1):t[n]=es(e.properties[n],{},r+1);e.additionalProperties&&(t[""]=es(e.additionalProperties,{}))}else{if(!e.items){const t=Yi(e);return t.html?"".concat(t.html):""}t["::description"]=e.description?e.description:e.items.description?"array<".concat(e.items.description,">"):"",t["::type"]="array",t["::props"]=es(e.items,{},r+1)}return t}}function ts(e,t,r,n,o=!0,a){const i=[];if(e)for(const t in e){let r="",o="json";if(n.toLowerCase().includes("json")){if("text"===a)r="string"==typeof e[t].value?e[t].value:JSON.stringify(e[t].value,void 0,2),o="text";else if(r=e[t].value,"string"==typeof e[t].value)try{const n=e[t].value.replace(/([\w]+)(:)/g,'"$1"$2').replace(/'/g,'"');r=JSON.parse(n),o="json"}catch(n){o="text",r=e[t].value}}else r=e[t].value,o="text";i.push({exampleId:t,exampleSummary:e[t].summary||t,exampleDescription:e[t].description||"",exampleType:n,exampleValue:r,exampleFormat:o})}else if(t){let e="",r="json";if(n.toLowerCase().includes("json")){if("text"===a)e="string"==typeof t?t:JSON.stringify(t,void 0,2),r="text";else if("object"==typeof t)e=t,r="json";else if("string"==typeof t)try{e=JSON.parse(t),r="json"}catch(n){r="text",e=t}}else e=t,r="text";i.push({exampleId:"Example",exampleSummary:"",exampleDescription:"",exampleType:n,exampleValue:e,exampleFormat:r})}if(0===i.length)if(r)if(r.example)i.push({exampleId:"Example",exampleSummary:"",exampleDescription:"",exampleType:n,exampleValue:r.example,exampleFormat:n.toLowerCase().includes("json")&&"object"==typeof r.example?"json":"text"});else if(n.toLowerCase().includes("json")||n.toLowerCase().includes("text")||n.toLowerCase().includes("*/*")||n.toLowerCase().includes("xml")){let e="",t="",s="",c="";n.toLowerCase().includes("xml")?(e=r.xml&&r.xml.name?"<".concat(r.xml.name,">"):"",t=r.xml&&r.xml.name?""):"",s="text"):s=a;const l=function e(t,r={}){let n={};if(t){if(t.allOf){const o={};if(1===t.allOf.length&&!t.allOf[0].properties&&!t.allOf[0].items){if(t.allOf[0].$ref)return"{ }";if(t.allOf[0].readOnly&&r.includeReadOnly){return Ki(t.allOf[0])}return}t.allOf.map(t=>{if("object"===t.type||t.properties||t.allOf||t.anyOf||t.oneOf){const n=e(t,r);Object.assign(o,n)}else if("array"===t.type||t.items){const n=[e(t,r)];Object.assign(o,n)}else{if(!t.type)return"";{const e="prop".concat(Object.keys(o).length);o[e]=Ki(t)}}}),n=o}else if(t.oneOf){if(t.oneOf.length>0){let o=0;for(const a in t.oneOf){const i=e(t.oneOf[a],r);for(const e in i)n["example-".concat(o)]=i[e],Ji(t.oneOf[a],n["example-".concat(o)]),o++}}}else if(t.anyOf){let o;if("object"===t.type||t.properties){o={"example-0":{}};for(const n in t.properties){if(t.example){o=t;break}t.properties[n].deprecated&&!r.includeDeprecated||(t.properties[n].readOnly&&!r.includeReadOnly||t.properties[n].writeOnly&&!r.includeWriteOnly||(o=Zi(o,n,e(t.properties[n],r))))}}let a=0;for(const i in t.anyOf){const s=e(t.anyOf[i],r);for(const e in s){if(void 0!==o)for(const t in o)n["example-".concat(a)]={...o[t],...s[e]};else n["example-".concat(a)]=s[e];Ji(t.anyOf[i],n["example-".concat(a)]),a++}}}else if("object"===t.type||t.properties)if(n["example-0"]={},Ji(t,n["example-0"]),t.example)n["example-0"]=t.example;else for(const i in t.properties){var o,a;if(!t.properties[i].deprecated||r.includeDeprecated)if(!t.properties[i].readOnly||r.includeReadOnly)if(!t.properties[i].writeOnly||r.includeWriteOnly)if("array"===t.properties[i].type||t.properties[i].items)if(t.properties[i].example)Xi(t.properties[i].example,n,i);else if(null!==(o=t.properties[i])&&void 0!==o&&null!==(a=o.items)&&void 0!==a&&a.example)Xi([t.properties[i].items.example],n,i);else{const o=e(t.properties[i].items,r),a=[];for(const e in o)a[e]=[o[e]];n=Zi(n,i,a)}else n=Zi(n,i,e(t.properties[i],r))}else{if("array"!==t.type&&!t.items)return{"example-0":Ki(t)};var i;if(t.example)n["example-0"]=t.example;else if(null!==(i=t.items)&&void 0!==i&&i.example)n["example-0"]=[t.items.example];else{const o=e(t.items,r);let a=0;for(const e in o)n["example-".concat(a)]=[o[e]],Ji(t.items,n["example-".concat(a)]),a++}}return n}}(r,{includeReadOnly:o,includeWriteOnly:!0,deprecated:!0});let u=0;for(const r in l){if(!l[r])continue;const o=l[r]["::TITLE"]||"Example ".concat(++u),p=l[r]["::DESCRIPTION"]||"";Qi(l[r]),c=n.toLowerCase().includes("xml")?"".concat(e).concat(Gi(l[r]),"\n").concat(t):"text"===a?JSON.stringify(l[r],null,2):l[r],i.push({exampleId:r,exampleSummary:o,exampleDescription:p,exampleType:n,exampleFormat:s,exampleValue:c})}}else i.push({exampleId:"Example",exampleSummary:"",exampleDescription:"",exampleType:n,exampleValue:"",exampleFormat:"text"});else i.push({exampleId:"Example",exampleSummary:"",exampleDescription:"",exampleType:n,exampleValue:"",exampleFormat:"text"});return i}function rs(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{static get properties(){return{data:{type:Object},renderStyle:{type:String,attribute:"render-style"}}}static get styles(){return[he,Vi,me,ne(Bi||(Bi=rs([":host{display:flex}.json-tree{font-family:var(--font-mono);font-size:var(--font-size-small);display:inline-block;overflow:hidden;word-break:break-all;flex:1;line-height:calc(var(--font-size-small) + 6px)}.open-bracket{display:inline-block;padding:0 20px 0 0;cursor:pointer;border:1px solid transparent;border-radius:3px}.open-bracket:hover{color:var(--primary-color);background-color:var(--hover-color);border:1px solid var(--border-color)}.inside-bracket{padding-left:12px;border-left:1px dotted var(--border-color)}.open-bracket.collapsed+.inside-bracket,.open-bracket.collapsed+.inside-bracket+.close-bracket{display:none}.string{color:var(--green)}.number{color:var(--blue)}.null{color:var(--red)}.boolean{color:var(--purple)}.object{color:var(--fg)}.toolbar{display:flex;width:100%;padding:2px 0;color:var(--primary-color);font-family:var(--font-regular);margin-bottom:4px;align-items:center;font-size:calc(var(--font-size-small) - 1px)}"]))),Te]}render(){return z(Li||(Li=rs(['
    ',"
    "])),e=>{Pe(JSON.stringify(this.data,null,2),e)},this.generateTree(this.data,!0))}generateTree(e,t=!1){if(null===e)return z(Ni||(Ni=rs(['
    null
    '])));if("object"==typeof e&&e instanceof Date==!1){const r=Array.isArray(e)?"array":"pure_object";return 0===Object.keys(e).length?z(Mi||(Mi=rs(["",""])),Array.isArray(e)?"[ ],":"{ },"):z(qi||(qi=rs(['
    ','
    ','
    ',"","
    "])),"array"===r?"array":"object",this.toggleExpand,"array"===r?"[":"{",Object.keys(e).map((t,n,o)=>z(zi||(zi=rs(['
    '," ","
    "])),"pure_object"===r?z(Ui||(Ui=rs(["",":"])),t):"",this.generateTree(e[t],n===o.length-1))),"array"===r?"]":"}",t?"":",")}return"string"==typeof e||e instanceof Date?z($i||($i=rs(['"','"',""])),typeof e,e,t?"":","):z(Hi||(Hi=rs(['',"",""])),typeof e,e,t?"":",")}toggleExpand(e){const t=e.target;t.classList.contains("expanded")?(t.classList.replace("expanded","collapsed"),e.target.innerHTML=e.target.classList.contains("array")?"[...]":"{...}"):(t.classList.replace("collapsed","expanded"),e.target.innerHTML=e.target.classList.contains("array")?"[":"{")}});var ns,os,as,is,ss,cs,ls,us,ps,fs,ds,hs,vs,ms,gs,ys,bs,xs,ws,ks,Ss,As,Os,Es,Ds,Cs,js,_s,Ts,Is,Fs,Ps,Rs,Bs,Ls,Ns,Ms,qs,zs,Us,$s,Hs,Ws,Vs,Ys,Ks,Gs,Js,Qs,Xs,Zs,ec,tc,rc,nc,oc,ac,ic,sc,cc,lc,uc,pc,fc,dc,hc,vc,mc,gc,yc,bc,xc,wc,kc,Sc,Ac,Oc,Ec,Dc,Cc,jc,_c,Tc,Ic,Fc,Pc,Rc,Bc,Lc,Nc,Mc,qc,zc,Uc,$c,Hc,Wc,Vc,Yc,Kc,Gc,Jc,Qc,Xc,Zc,el,tl,rl,nl,ol,al,il,sl,cl,ll,ul,pl,fl,dl,hl,vl,ml,gl,yl,bl,xl,wl,kl,Sl,Al,Ol,El,Dl,Cl,jl,_l,Tl,Il,Fl,Pl,Rl,Bl,Ll,Nl,Ml,ql,zl,Ul,$l,Hl,Wl,Vl,Yl,Kl,Gl,Jl,Ql,Xl,Zl,eu,tu,ru,nu,ou,au,iu,su,cu,lu,uu,pu,fu,du,hu,vu,mu,gu,yu,bu,xu,wu,ku,Su,Au,Ou,Eu,Du,Cu,ju,_u,Tu,Iu,Fu,Pu,Ru,Bu,Lu,Nu,Mu,qu,zu,Uu,$u,Hu,Wu,Vu,Yu,Ku,Gu,Ju,Qu,Xu,Zu,ep,tp,rp,np,op,ap,ip,sp,cp,lp,up,pp,fp,dp,hp,vp,mp,gp,yp,bp,xp,wp,kp,Sp,Ap,Op,Ep,Dp,Cp,jp,_p,Tp,Ip,Fp,Pp,Rp,Bp,Lp,Np,Mp=ne(Wi||(Wi=function(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}([".tr{display:flex;flex:none;width:100%;border-bottom:1px dotted transparent}.td{display:block;flex:0 0 auto;box-sizing:border-box}.key{font-family:var(--font-mono);white-space:normal;word-break:break-all}.collapsed-descr .key{overflow:hidden}.key-descr{font-family:var(--font-regular);color:var(--light-fg);flex-shrink:1;text-overflow:ellipsis;overflow:hidden;display:none}.expanded-descr .key-descr{max-height:auto;overflow:hidden;display:none}.collapsed-descr .tr{max-height:20px}.tr.xxx-of{border-top:1px dotted var(--primary-color)}.xxx-of-key{font-size:calc(var(--font-size-small) - 2px);font-weight:700;background-color:var(--primary-color);color:var(--primary-color-invert);border-radius:2px;line-height:calc(var(--font-size-small) + 6px);padding:0 5px;margin-bottom:1px;display:inline-block}.xxx-of-descr{font-family:var(--font-regular);color:var(--primary-color);font-size:calc(var(--font-size-small) - 1px);margin-left:2px}.bina,.byte,.date,.emai,.host,.ipv4,.pass,.stri,.string,.uri,.url,.uuid{color:var(--green)}.deci .blue,.doub,.floa,.int3,.int6,.inte,.numb,.number{color:var(--blue)}.null{color:var(--red)}.bool,.boolean{color:var(--purple)}.enum{color:var(--orange)}.recu{color:var(--brown)}.toolbar{display:flex;width:100%;padding:2px 0;color:var(--primary-color)}.toolbar-item{cursor:pointer;padding:5px 0;margin:0 2px}.schema-root-type{cursor:auto;color:var(--fg2);font-weight:700;text-transform:uppercase}.schema-root-type.xxx-of{display:none}.toolbar-item:first-of-type{margin:0 2px 0 0}@media only screen and (min-width:500px){.key-descr{display:block}.expanded-descr .key-descr{display:block}}"])));function qp(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function zp(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{static get properties(){return{data:{type:Object},schemaExpandLevel:{type:Number,attribute:"schema-expand-level"},schemaDescriptionExpanded:{type:String,attribute:"schema-description-expanded"}}}connectedCallback(){super.connectedCallback(),(!this.schemaExpandLevel||this.schemaExpandLevel<1)&&(this.schemaExpandLevel=99999),this.schemaDescriptionExpanded&&"true false".includes(this.schemaDescriptionExpanded)||(this.schemaDescriptionExpanded="false")}static get styles(){return[he,Mp,Vi,ne(ns||(ns=qp([".tree{font-size:var(--font-size-small);text-align:left;line-height:calc(var(--font-size-small) + 6px)}.tree .tr:hover{background-color:var(--hover-color)}.collapsed-descr .tr{max-height:calc(var(--font-size-small) + 8px)}.collapsed-descr .m-markdown-small p{line-height:calc(var(--font-size-small) + 6px)}.tree .key{max-width:300px}.key.deprecated .key-label{text-decoration:line-through}.open-bracket{display:inline-block;padding:0 20px 0 0;cursor:pointer;border:1px solid transparent;border-radius:3px}.open-bracket:hover{color:var(--primary-color);background-color:var(--hover-color);border:1px solid var(--border-color)}.close-bracket{display:inline-block;font-family:var(--font-mono)}.tr.collapsed+.inside-bracket,.tr.collapsed+.inside-bracket+.close-bracket{display:none}.inside-bracket.array,.inside-bracket.object{border-left:1px dotted var(--border-color)}.inside-bracket.xxx-of{padding:5px 0;border-style:dotted;border-width:0 0 1px 0;border-color:var(--primary-color)}"]))),Te]}render(){var e,t;return z(os||(os=qp(['
    ','
    ','
    '," ","
    "])),"true"===this.schemaDescriptionExpanded?"expanded-descr":"collapsed-descr",(null===(e=this.data)||void 0===e?void 0:e["::type"])||"",(null===(t=this.data)||void 0===t?void 0:t["::type"])||"",()=>{this.schemaDescriptionExpanded="true"===this.schemaDescriptionExpanded?"false":"true"},"true"===this.schemaDescriptionExpanded?"Single line description":"Multiline description",this.data?Da(ce()(this.data["::description"]||"")):"",this.data?z(as||(as=qp([" ",""])),this.generateTree("array"===this.data["::type"]?this.data["::props"]:this.data,this.data["::type"])):z(is||(is=qp([' Schema not found ']))))}generateTree(e,t="object",r="",n="",o=0){if(!e)return z(ss||(ss=qp(['
    null
    '])));if(0===Object.keys(e).length)return z(cs||(cs=qp(['',":{ }"])),r);let a="",i="";if(r.startsWith("::ONE~OF")||r.startsWith("::ANY~OF"))a=r.replace("::","").replace("~"," ");else if(r.startsWith("::OPTION")){const e=r.split("~");a=e[1],i=e[2]}else a=r;const s=300-12*o;let c="",l="";if("object"===e["::type"]?"array"===t?(c=o[{'])),this.toggleObjectExpand):z(us||(us=qp(['[{...}]'])),this.toggleObjectExpand),l="}]"):(c=o{'])),this.toggleObjectExpand):z(fs||(fs=qp(['{...}'])),this.toggleObjectExpand),l="}"):"array"===e["::type"]&&("array"===t?(c=o[['])),this.toggleObjectExpand):z(hs||(hs=qp(['[[...]]'])),this.toggleObjectExpand),l="]]"):(c=o['])),this.toggleObjectExpand):z(ms||(ms=qp(['[...]'])),this.toggleObjectExpand),l="]")),"object"==typeof e)return z(gs||(gs=qp(['
    '," "," "," ",'
    ','
    ',"
    "," "])),o','',""])),a,i):a.endsWith("*")?z(bs||(bs=qp(['','*'])),a.substring(0,a.length-1)):"::props"===a||"::ARRAY~OF"===a?"":z(xs||(xs=qp(['',""])),a),o>0&&!(r.startsWith("::props")||r.startsWith("::ONE~")||r.startsWith("::ANY~")||r.startsWith("::OPTION~")||r.startsWith("::ARRAY~OF"))?":":"","xxx-of"===e["::type"]&&"array"===t?z(ws||(ws=qp(['ARRAY']))):"",c,Da(ce()(n||"")),e["::type"]||"no-type-info","xxx-of-option"===e["::type"]||"xxx-of-array"===e["::type"]?0:12,Array.isArray(e)&&e[0]?z(ks||(ks=qp(["",""])),this.generateTree(e[0],"xxx-of-option","::ARRAY~OF","",o)):z(Ss||(Ss=qp([" "," "])),Object.keys(e).map(t=>z(As||(As=qp([" "," "])),["::description","::type","::props","::deprecated"].includes(t)?"array"===e[t]["::type"]||"object"===e[t]["::type"]?z(Os||(Os=qp(["",""])),this.generateTree("array"===e[t]["::type"]?e[t]["::props"]:e[t],e[t]["::type"],t,e[t]["::description"],o+1)):"":z(Es||(Es=qp(["",""])),this.generateTree("array"===e[t]["::type"]?e[t]["::props"]:e[t],e[t]["::type"],t,e[t]["::description"],o+1))))),e["::type"]&&e["::type"].includes("xxx-of")?"":z(Ds||(Ds=qp(['
    ',"
    "])),l));const u=e.split("~|~"),p=u[0].replace("{","").substring(0,4).toLowerCase();return z(Cs||(Cs=qp(['
    ',' '," ",'
    '," "," "," "," "," ","
    "])),u[8],s,a.endsWith("*")?z(js||(js=qp(['','*:'])),a.substring(0,a.length-1)):r.startsWith("::OPTION")?z(_s||(_s=qp(['',""])),a):z(Ts||(Ts=qp(['',":"])),a),p,"array"===t?"[".concat(u[0],"]"):"".concat(u[0]),u[1],"array"===t?n:"",u[2]?z(Is||(Is=qp(['
    ',"
    "])),u[2]):"",u[3]?z(Fs||(Fs=qp(['
    Default: ',"
    "])),u[3]):"",u[4]?z(Ps||(Ps=qp(['
    Allowed:   ',"
    "])),u[4]):"",u[5]?z(Rs||(Rs=qp(['
    Pattern: ',"
    "])),u[5]):"",u[6]?z(Bs||(Bs=qp(['',""])),Da(ce()(u[6]))):"")}toggleObjectExpand(e){const t=e.target.closest(".tr");t.classList.contains("expanded")?(t.classList.replace("expanded","collapsed"),e.target.innerHTML=e.target.classList.contains("array-of-object")?"[{...}]":e.target.classList.contains("array-of-array")?"[[...]]":e.target.classList.contains("array")?"[...]":"{...}"):(t.classList.replace("collapsed","expanded"),e.target.innerHTML=e.target.classList.contains("array-of-object")?"[{":e.target.classList.contains("array-of-array")?"[[":e.target.classList.contains("object")?"{":"[")}});function Up(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 z(Ls||(Ls=zp(['
    ','
    '])),Array.isArray(this.value)&&this.value.length>0?z(Ns||(Ns=zp(["",""])),this.value.map(e=>z(Ms||(Ms=zp([' '," "])),e))):"",this.afterPaste,this.afterKeyDown,this.placeholder||"")}static get properties(){return{placeholder:{type:String},value:{type:Array,attribute:"value"}}}attributeChangedCallback(e,t,r){if("value"===e&&r&&t!==r){const e=r.split(",").filter(e=>""!==e.trim());this.value=e||""}super.attributeChangedCallback(e,t,r)}afterPaste(e){const t=(e.clipboardData||window.clipboardData).getData("Text");console.log(t)}afterKeyDown(e){13===e.keyCode?(e.stopPropagation(),e.preventDefault(),e.target.value&&(Array.isArray(this.value)?this.value=[...this.value,e.target.value]:this.value=[e.target.value],e.target.value="")):8===e.keyCode&&0===e.target.value.length&&Array.isArray(this.value)&&this.value.length>0&&(this.value.splice(-1),this.value=[...this.value])}static get styles(){return[ne(qs||(qs=zp([".tags{display:flex;flex-wrap:wrap;outline:0;padding:0;border-radius:var(--border-radius);border:1px solid var(--border-color);cursor:text;overflow:hidden;background:var(--input-bg)}.editor,.tag{padding:3px;margin:2px}.tag{border:1px solid var(--border-color);background-color:var(--bg3);color:var(--fg3);border-radius:var(--border-radius);word-break:break-all;font-size:var(--font-size-small)}.tag:hover~#cursor{display:block}.editor{flex:1;border:1px solid transparent;color:var(--fg);min-width:60px;outline:0;line-height:inherit;font-family:inherit;background:0 0;font-size:calc(var(--font-size-small) + 1px)}.editor::placeholder{color:var(--placeholder-color);opacity:1}"])))]}});function $p(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{constructor(){super(),this.responseMessage="",this.responseStatus="success",this.responseHeaders="",this.responseText="",this.responseUrl="",this.curlSyntax="",this.activeResponseTab="response",this.selectedRequestBodyType="",this.selectedRequestBodyExample=""}static get properties(){return{serverUrl:{type:String,attribute:"server-url"},servers:{type:Array},method:{type:String},path:{type:String},parameters:{type:Array},request_body:{type:Object},api_keys:{type:Array},parser:{type:Object},accept:{type:String},callback:{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},fillRequestFieldsWithExample:{type:String,attribute:"fill-request-fields-with-example"},allowTry:{type:String,attribute:"allow-try"},renderStyle:{type:String,attribute:"render-style"},schemaStyle:{type:String,attribute:"schema-style"},activeSchemaTab:{type:String,attribute:"active-schema-tab"},schemaExpandLevel:{type:Number,attribute:"schema-expand-level"},schemaDescriptionExpanded:{type:String,attribute:"schema-description-expanded"},activeResponseTab:{type:String},selectedRequestBodyType:{type:String,attribute:"selected-request-body-type"},selectedRequestBodyExample:{type:String,attribute:"selected-request-body-example"}}}static get styles(){return[xe,me,he,ye,Vi,Ee,Ae,ne(zs||(zs=Up([".read-mode{margin-top:24px}.param-name,.param-type{margin:1px 0;text-align:right;line-height:var(--font-size-small)}.param-name{color:var(--fg);font-family:var(--font-mono)}.param-type{color:var(--light-fg);font-family:var(--font-regular)}.param-constraint{min-width:100px}.param-constraint:empty{display:none}.top-gap{margin-top:24px}.textarea{min-height:220px;padding:5px;resize:vertical}.example:first-child{margin-top:-9px}.response-message{font-weight:700;text-overflow:ellipsis}.response-message.error{color:var(--red)}.response-message.success{color:var(--blue)}.file-input-container{align-items:flex-end}.file-input-container .input-set:first-child .file-input-remove-btn{visibility:hidden}.file-input-remove-btn{font-size:16px;color:var(--red);outline:0;border:none;background:0 0;cursor:pointer}.v-tab-btn{font-size:var(--smal-font-size);height:24px;border:none;background:0 0;opacity:.3;cursor:pointer;padding:4px 8px}.v-tab-btn.active{font-weight:700;background:var(--bg);opacity:1}@media only screen and (min-width:768px){.textarea{padding:8px}}"]))),Te]}render(){return z(Us||(Us=Up(['
    ',"
    "," "," "," "," "," ","
    "])),"read focused".includes(this.renderStyle)||"true"===this.callback?"read-mode":"view-mode","true"===this.callback?"tiny-title":"req-res-title","true"===this.callback?"CALLBACK REQUEST":"REQUEST",this.inputParametersTemplate("path"),this.inputParametersTemplate("query"),this.requestBodyTemplate(),this.inputParametersTemplate("header"),this.inputParametersTemplate("cookie"),"false"===this.allowTry?"":z($s||($s=Up(["",""])),this.apiCallTemplate()))}updated(e){if("focused"===this.renderStyle)if(1===e.size&&e.has("activeSchemaTab"));else{[...this.shadowRoot.querySelectorAll('textarea[data-ptype="form-data"]')].forEach(e=>{const t=this.shadowRoot.querySelector("textarea[data-pname='hidden-".concat(e.dataset.pname,"']"));t&&(e.value=t.value)})}}inputParametersTemplate(e){const t=this.parameters?this.parameters.filter(t=>t.in===e):[];if(0===t.length)return"";let r="";"path"===e?r="PATH PARAMETERS":"query"===e?r="QUERY-STRING PARAMETERS":"header"===e?r="REQUEST HEADERS":"cookie"===e&&(r="COOKIES");const n=[];for(const r of t){if(!r.schema)continue;const t=Yi(r.schema);let a="",i=[],s="form",c=!0;if("query"===e&&(r.style&&"form spaceDelimited pipeDelimited".includes(r.style)&&(s=r.style),"boolean"==typeof r.explode&&(c=r.explode)),r.example=void 0===r.example?"":Array.isArray(r.example)?r.example:"".concat(r.example),r.example)a="array"===t.type?r.example:"".concat(r.example),i=[{value:r.example,description:"".concat(r.example)}];else if(t.example)a="array"===t.type?t.example:"".concat(t.example),i=[{value:t.example,description:"".concat(t.example)}];else if(r.examples&&Object.values(r.examples).length>0)if(Array.isArray(r.examples)){const e=Object.values(r.examples)[0]||"";a="array"===t.type?[e]:e,i=Object.values(r.examples).map(e=>({value:e,description:e}))}else{var o;a=null===(o=Object.values(r.examples)[0])||void 0===o?void 0:o.value,i=Object.values(r.examples).map(e=>({value:e.value,description:e.description||e.summary||e.value}))}n.push(z(Hs||(Hs=Up(['
    ',"",'
    ',"
    ",' '," ",' '," "," "])),"true"===this.allowTry?"1":"2",r.required?z(Ws||(Ws=Up(['*']))):"",r.name,"array"===t.type?"".concat(t.arrayType):"".concat(t.format?t.format:t.type),"true"===this.allowTry?z(Vs||(Vs=Up([' '," "])),"array"===t.type||"object"===t.type?"read focused".includes(this.renderStyle)?"300px":"220px":"160px","array"===t.type?z(Ys||(Ys=Up([' '])),e,r.name,Array.isArray(a)?a.join("~|~"):a,s,c,Array.isArray(a)?a.join(","):a):"object"===t.type?z(Ks||(Ks=Up([' "])),e,r.name,a,s,c,"read focused".includes(this.renderStyle)?"180px":"120px","true"===this.fillRequestFieldsWithExample?a:""):z(Gs||(Gs=Up([' '])),"password"===t.format?"password":"text",e,r.name,Array.isArray(a)?a.join("~|~"):a,"true"===this.fillRequestFieldsWithExample?a:"")):"","true"===this.allowTry?"1":"2",t.default||t.constrain||t.allowedValues||t.pattern?z(Js||(Js=Up(['
    '," "," "," ","
    "])),t.default?z(Qs||(Qs=Up(['Default: ',"
    "])),t.default):"",t.pattern?z(Xs||(Xs=Up(['Pattern: ',"
    "])),t.pattern):"",t.constrain?z(Zs||(Zs=Up(["","
    "])),t.constrain):"",t.allowedValues&&t.allowedValues.split(",").map((e,n)=>z(ec||(ec=Up([" "," ",""])),n>0?" | ":z(tc||(tc=Up([' Allowed: ']))),z(rc||(rc=Up(['
    '," "])),"true"===this.allowTry?"":"inactive-link","array"===t.type?t.type:"string",e.trim(),e=>{const t=e.target.closest("table").querySelector('[data-pname="'.concat(r.name,'"]'));t&&("array"===e.target.dataset.type?t.value=[e.target.dataset.enum]:t.value=e.target.dataset.enum)},e)))):"","true"===this.allowTry?z(nc||(nc=Up([' ']))):"",Da(ce()(r.description||"")),Array.isArray(i)&&i.length>0?z(oc||(oc=Up([' Example: '," "])),i.map((e,n)=>{var o;return z(ac||(ac=Up([" "," ",' '," "," "])),0===n?"":z(ic||(ic=Up([" ◇"]))),"array"===t.type?"[":"","true"===this.allowTry?"":"inactive-link","array"===t.type?t.type:"string","array"===t.type?(null===(o=e.value)||void 0===o?void 0:o.join("~|~"))||"":e.value||"",e=>{const t=e.target.closest("table").querySelector('[data-pname="'.concat(r.name,'"]'));t&&("array"===e.target.dataset.exampleType?t.value=e.target.dataset.example.split("~|~"):t.value=e.target.dataset.example)},e.description||"","array"===t.type?"] ":"")})):""))}return z(sc||(sc=Up(['
    ','
    ',"
    "])),r,n)}resetRequestBodySelection(){this.selectedRequestBodyType="",this.selectedRequestBodyExample="",this.clearResponseData()}onSelectExample(e){this.selectedRequestBodyExample=e.target.value;const t=e.target;window.setTimeout(e=>{const t=e.closest(".example-panel").querySelector(".request-body-param");e.closest(".example-panel").querySelector(".request-body-param-user-input").value=t.value},0,t)}onMimeTypeChange(e){this.selectedRequestBodyType=e.target.value;const t=e.target;this.selectedRequestBodyExample="",window.setTimeout(e=>{const t=e.closest(".request-body-container").querySelector(".request-body-param");if(t){e.closest(".request-body-container").querySelector(".request-body-param-user-input").value=t.value}},0,t)}requestBodyTemplate(){if(!this.request_body)return"";if(0===Object.keys(this.request_body).length)return"";let e="",t="",r="",n="",o="";const a=[],i=this.request_body.content;for(const e in i)a.push({mimeType:e,schema:i[e].schema,example:i[e].example,examples:i[e].examples}),this.selectedRequestBodyType||(this.selectedRequestBodyType=e);return e=1===a.length?"":z(cc||(cc=Up([' "])),e=>this.onMimeTypeChange(e),a.map(e=>z(lc||(lc=Up([' "])),e.mimeType,e.mimeType===this.selectedRequestBodyType,e.mimeType))),a.forEach(e=>{let a,i=[];if(this.selectedRequestBodyType.includes("json")||this.selectedRequestBodyType.includes("xml")||this.selectedRequestBodyType.includes("text"))e.mimeType===this.selectedRequestBodyType&&(i=ts(e.examples?e.examples:"",e.example?e.example:"",e.schema,e.mimeType,!1,"text"),this.selectedRequestBodyExample||(this.selectedRequestBodyExample=i.length>0?i[0].exampleId:""),o=z(uc||(uc=Up([" ",'
    '," ","
    "])),o,1===i.length?"":z(pc||(pc=Up([' "])),e=>this.onSelectExample(e),i.map(e=>z(fc||(fc=Up(['"])),e.exampleId,e.exampleId===this.selectedRequestBodyExample,e.exampleSummary.length>80?e.exampleId:e.exampleSummary?e.exampleSummary:e.exampleId))),i.filter(e=>e.exampleId===this.selectedRequestBodyExample).map(t=>z(dc||(dc=Up(['
    '," ",'
    "])),t.exampleId===this.selectedRequestBodyExample?"example-selected":"",t.exampleId,t.exampleSummary&&t.exampleSummary.length>80?z(hc||(hc=Up(['
    ',"
    "])),t.exampleSummary):"",t.exampleDescription?z(vc||(vc=Up(['
    ',"
    "])),Da(ce()(t.exampleDescription||""))):"",e.mimeType,"text"===t.exampleFormat?t.exampleValue:JSON.stringify(t.exampleValue,null,2),t.exampleFormat,"true"===this.fillRequestFieldsWithExample?"text"===t.exampleFormat?t.exampleValue:JSON.stringify(t.exampleValue,null,2):"",e.mimeType.substring(e.mimeType.indexOf("/")+1),e.mimeType,"text"===t.exampleFormat?t.exampleValue:JSON.stringify(t.exampleValue,null,2)))));else if(this.selectedRequestBodyType.includes("form-urlencoded")||this.selectedRequestBodyType.includes("form-data")){if(e.mimeType===this.selectedRequestBodyType){const t=ts(e.examples?e.examples:"",e.example?e.example:"",e.schema,e.mimeType,!1,"text");e.schema&&(r=this.formDataTemplate(e.schema,e.mimeType,t[0]?t[0].exampleValue:""))}}else RegExp("^audio/|^image/|^video/|^font/|tar$|zip$|7z$|rtf$|msword$|excel$|/pdf$|/octet-stream$").test(this.selectedRequestBodyType)&&e.mimeType===this.selectedRequestBodyType&&(t=z(mc||(mc=Up(['
    '])),e.mimeType));(e.mimeType.includes("json")||e.mimeType.includes("xml")||e.mimeType.includes("text"))&&(a=es(e.schema,{}),"table"===this.schemaStyle?n=z(gc||(gc=Up([" ",' '])),n,e.mimeType.substring(e.mimeType.indexOf("/")+1),this.selectedRequestBodyType===e.mimeType?"block":"none",a,this.schemaExpandLevel,this.schemaDescriptionExpanded):"tree"===this.schemaStyle&&(n=z(yc||(yc=Up([" ",' '])),n,e.mimeType.substring(e.mimeType.indexOf("/")+1),this.selectedRequestBodyType===e.mimeType?"block":"none",a,this.schemaExpandLevel,this.schemaDescriptionExpanded)))}),z(bc||(bc=Up(['
    REQUEST BODY ',' ',' ',"
    "," ","
    "])),this.selectedRequestBodyType,this.request_body.required?z(xc||(xc=Up(['*']))):"",this.selectedRequestBodyType,e,this.request_body.description?z(wc||(wc=Up(['
    ',"
    "])),Da(ce()(this.request_body.description))):"",this.selectedRequestBodyType.includes("json")||this.selectedRequestBodyType.includes("xml")||this.selectedRequestBodyType.includes("text")?z(kc||(kc=Up(['
    '," ","
    "])),e=>{"button"===e.target.tagName.toLowerCase()&&(this.activeSchemaTab=e.target.dataset.tab)},"model"===this.activeSchemaTab?"active":"","example"===this.activeSchemaTab?"active":"",z(Sc||(Sc=Up(['
    ',"
    "])),"model"===this.activeSchemaTab?"block":"none",n),z(Ac||(Ac=Up(['
    ',"
    "])),"model"===this.activeSchemaTab?"none":"block",o)):z(Oc||(Oc=Up([" "," ",""])),t,r))}formDataTemplate(e,t,r=""){const n=[];if(e.properties){for(const r in e.properties){var o,a,i;const s=e.properties[r],c=s.type,l=es(s,{}),u=Yi(s),p=ts("",s.example?s.example:"",s,"json",!1,"text");n.push(z(Ec||(Ec=Up(['
    ','
    ','
    '," "," ",""])),s.required?z(Dc||(Dc=Up(['*',""])),r):z(Cc||(Cc=Up(["",""])),r),u.type,"object"===c?"width:100%; padding:0;":"true"===this.allowTry?"width:160px;":"display:none;","object"===c?2:1,"array"===c?"binary"===(null===(o=s.items)||void 0===o?void 0:o.format)?z(jc||(jc=Up(['
    '])),e=>this.onAddRemoveFileInput(e,r,t),r,t.includes("form-urlencode")?"form-urlencode":"form-data"):z(_c||(_c=Up([' '])),t.includes("form-urlencode")?"form-urlencode":"form-data",r,Array.isArray(s.example)?s.example.join("~|~"):s.example||"",Array.isArray(s.example)?s.example.join(","):s.example):z(Tc||(Tc=Up([" ",""])),"object"===c?z(Ic||(Ic=Up(['
    '," ","
    "])),e=>{if(e.target.classList.contains("v-tab-btn")){const t=e.target.dataset.tab;if(t){const r=e.target.closest(".tab-panel"),n=r.querySelector('.v-tab-btn[data-tab="'.concat(t,'"]')),o=[...r.querySelectorAll('.v-tab-btn:not([data-tab="'.concat(t,'"])'))],a=r.querySelector('.tab-content[data-tab="'.concat(t,'"]')),i=[...r.querySelectorAll('.tab-content:not([data-tab="'.concat(t,'"])'))];n.classList.add("active"),a.style.display="block",o.forEach(e=>{e.classList.remove("active")}),i.forEach(e=>{e.style.display="none"})}}"button"===e.target.tagName.toLowerCase()&&(this.activeSchemaTab=e.target.dataset.tab)},"model"===this.activeSchemaTab?"active":"","example"===this.activeSchemaTab?"active":"",z(Fc||(Fc=Up(['
    '])),"model"===this.activeSchemaTab?"block":"none",l,this.schemaExpandLevel,this.schemaDescriptionExpanded),z(Pc||(Pc=Up(['
    "])),"example"===this.activeSchemaTab?"block":"none",t.includes("form-urlencode")?"form-urlencode":"form-data",r,(null===(a=p[0])||void 0===a?void 0:a.exampleValue)||"","true"===this.fillRequestFieldsWithExample?p[0].exampleValue:"",r,t.includes("form-urlencode")?"hidden-form-urlencode":"hidden-form-data",p[0].exampleValue)):z(Rc||(Rc=Up([" "," "])),"true"===this.allowTry?z(Bc||(Bc=Up([''])),"true"===this.fillRequestFieldsWithExample&&s.example||"","binary"===s.format?"file":"password"===s.format?"password":"text",t.includes("form-urlencode")?"form-urlencode":"form-data",r,s.example||""):"")),"object"===c?"":z(Lc||(Lc=Up([" "," "])),u.default||u.constrain||u.allowedValues||u.pattern?z(Nc||(Nc=Up(['
    '," "," "," ","
    "])),u.default?z(Mc||(Mc=Up(['Default: ',"
    "])),u.default):"",u.pattern?z(qc||(qc=Up(['Pattern: ',"
    "])),u.pattern):"",u.constrain?z(zc||(zc=Up(["","
    "])),u.constrain):"",u.allowedValues&&u.allowedValues.split(",").map((e,t)=>z(Uc||(Uc=Up([" "," ",""])),t>0?" | ":z($c||($c=Up([' Allowed: ']))),z(Hc||(Hc=Up([' '," "])),"true"===this.allowTry?"":"inactive-link","array"===u.type?u.type:"string",e.trim(),e=>{const t=e.target.closest("table").querySelector('[data-pname="'.concat(r,'"]'));t&&("array"===e.target.dataset.type?t.value=[e.target.dataset.enum]:t.value=e.target.dataset.enum)},e)))):""),"object"===c?"":z(Wc||(Wc=Up([' '," "," "])),Da(ce()(s.description||"")),u.example?z(Vc||(Vc=Up([' Example: ',' '," "," "])),"array"===u.type?"[ ":"","true"===this.allowTry?"":"inactive-link","array"===u.type?u.type:"string","array"===u.type?(null===(i=u.example)||void 0===i?void 0:i.join("~|~"))||"":u.example,e=>{const t=e.target.closest("table").querySelector('[data-pname="'.concat(r,'"]'));t&&("array"===e.target.dataset.exampleType?t.value=e.target.dataset.example.split("~|~"):t.value=e.target.dataset.example)},"array"===u.type?u.example.join(", "):u.example,"array"===u.type?"] ":""):"")))}return z(Yc||(Yc=Up([' ',"
    "])),n)}return z(Kc||(Kc=Up([' "," "])),t,t,r,e.description?z(Gc||(Gc=Up(['',""])),Da(ce()(e.description))):"")}apiResponseTabTemplate(){const e=this.responseHeaders.includes("json")?"json":this.responseHeaders.includes("html")||this.responseHeaders.includes("xml")?"html":"";return z(Jc||(Jc=Up(['
    Response Status: ','
    ','
    ','
    ',"
    "])),this.responseStatus,this.responseMessage,this.clearResponseData,e=>{!1!==e.target.classList.contains("tab-btn")&&(this.activeResponseTab=e.target.dataset.tab)},"response"===this.activeResponseTab?"active":"","headers"===this.activeResponseTab?"active":"","curl"===this.activeResponseTab?"active":"",this.responseIsBlob?z(Qc||(Qc=Up(['
    ',"
    "])),"response"===this.activeResponseTab?"flex":"none",this.downloadResponseBlob,"view"===this.responseBlobType?z(Xc||(Xc=Up([''])),this.viewResponseBlob):""):z(Zc||(Zc=Up(['
    ',"\n              
    "])),"response"===this.activeResponseTab?"flex":"none",e=>{Pe(this.responseText,e)},e?z(el||(el=Up(["",""])),Da(ue.a.highlight(this.responseText,ue.a.languages[e],e))):"".concat(this.responseText)),"headers"===this.activeResponseTab?"flex":"none",e=>{Pe(this.responseHeaders,e)},Da(ue.a.highlight(this.responseHeaders,ue.a.languages.css,"css")),"curl"===this.activeResponseTab?"flex":"none",e=>{Pe(this.curlSyntax.replace(/\\$/,""),e)},Da(ue.a.highlight(this.curlSyntax.trim().replace(/\\$/,""),ue.a.languages.shell,"shell")))}apiCallTemplate(){var e;let t="";this.servers&&this.servers.length>0&&(t=z(tl||(tl=Up([' "])),e=>{this.serverUrl=e.target.value},this.servers.map(e=>z(rl||(rl=Up(['"])),e.url,e.url,e.description))));const r=z(nl||(nl=Up(['
    '," ","
    "])),t,this.serverUrl?z(ol||(ol=Up(['
    API Server
    ',"
    "])),this.serverUrl):"");return z(al||(al=Up(['
    ','
    Authentication
    ',"
    ",'
    '," "])),r,this.api_keys.length>0?z(il||(il=Up(['
    ',"
    "])),1===this.api_keys.length?"".concat(null===(e=this.api_keys[0])||void 0===e?void 0:e.typeDisplay," in ").concat(this.api_keys[0].in):"".concat(this.api_keys.length," API keys applied")):z(sl||(sl=Up(['
    No API key applied
    ']))),this.parameters.length>0||this.request_body?z(cl||(cl=Up([' '])),this.onFillRequestData,this.onClearRequestData):"",this.onTryClick,""===this.responseMessage?"":this.apiResponseTabTemplate())}async onFillRequestData(e){[...e.target.closest(".request-panel").querySelectorAll("input, tag-input, textarea:not(.is-hidden)")].forEach(e=>{e.dataset.example&&("TAG-INPUT"===e.tagName.toUpperCase()?e.value=e.dataset.example.split("~|~"):e.value=e.dataset.example)})}async onClearRequestData(e){[...e.target.closest(".request-panel").querySelectorAll("input, tag-input, textarea:not(.is-hidden)")].forEach(e=>{e.value=""})}async onTryClick(e){var t;const r=this,n=e.target;let o,a,i="",s="",c="",l="";const u=null===(t=this.closest(".expanded-req-resp-container, .req-resp-container"))||void 0===t?void 0:t.getElementsByTagName("api-response")[0],p=null==u?void 0:u.selectedMimeType,f=e.target.closest(".request-panel"),d=[...f.querySelectorAll("[data-ptype='path']")],h=[...f.querySelectorAll("[data-ptype='query']")],v=[...f.querySelectorAll("[data-ptype='query-object']")],m=[...f.querySelectorAll("[data-ptype='header']")],g=f.querySelector(".request-body-container");o=r.path;const y={method:this.method.toUpperCase(),headers:{}};if(d.map(e=>{o=o.replace("{".concat(e.dataset.pname,"}"),encodeURIComponent(e.value))}),h.length>0){const e=new URLSearchParams;h.forEach(t=>{if("false"===t.dataset.array)""!==t.value&&e.append(t.dataset.pname,t.value);else{const r=t.dataset.paramSerializeStyle,n=t.dataset.paramSerializeExplode,o=t.value&&Array.isArray(t.value)?t.value:[];"spaceDelimited"===r?e.append(t.dataset.pname,o.join(" ")):"pipeDelimited"===r?e.append(t.dataset.pname,o.join("|")):"true"===n?o.forEach(r=>{e.append(t.dataset.pname,r)}):e.append(t.dataset.pname,o.join(","))}}),o="".concat(o).concat(e.toString()?"?":"").concat(e.toString())}if(v.length>0){const e=new URLSearchParams;v.map(t=>{try{let r={};const n=t.dataset.paramSerializeStyle,a=t.dataset.paramSerializeExplode;r=Object.assign(r,JSON.parse(t.value.replace(/\s+/g," ")));for(const t in r)"object"==typeof r[t]?Array.isArray(r[t])&&("spaceDelimited"===n?e.append(t,r[t].join(" ")):"pipeDelimited"===n?e.append(t,r[t].join("|")):"true"===a?r[t].forEach(r=>{e.append(t,r)}):e.append(t,r[t])):e.append(t,r[t]);o="".concat(o).concat(e.toString()?"?":"").concat(e.toString())}catch(e){console.log("RapiDoc: unable to parse %s into object",t.value)}})}if(this.api_keys.filter(e=>"query"===e.in).forEach(e=>{o="".concat(o).concat(o.includes("?")?"&":"?").concat(e.name,"=").concat(encodeURIComponent(e.finalKeyValue))}),o="".concat(this.serverUrl.replace(/\/$/,"")).concat(o),!1===o.startsWith("http")){a=new URL(o,window.location.href).href}else a=o;if(i="curl -X ".concat(this.method.toUpperCase(),' "').concat(a,'" \\\n'),p?(y.headers.Accept=p,s+=' -H "Accept: '.concat(p,'" \\\n')):this.accept&&(y.headers.Accept=this.accept,s+=' -H "Accept: '.concat(this.accept,'" \\\n')),this.api_keys.filter(e=>"header"===e.in).forEach(e=>{y.headers[e.name]=e.finalKeyValue,s+=' -H "'.concat(e.name,": ").concat(e.finalKeyValue,'" \\\n')}),m.map(e=>{e.value&&(y.headers[e.dataset.pname]=e.value,s+=' -H "'.concat(e.dataset.pname,": ").concat(e.value,'" \\\n'))}),g){const e=g.dataset.selectedRequestBodyType;if(e.includes("form-urlencoded")){const e=f.querySelector("[data-ptype='dynamic-form']");if(e){const t=e.value,r=new URLSearchParams;let n,o=!0;if(t)try{n=JSON.parse(t)}catch(e){o=!1,console.warn("RapiDoc: Invalid JSON provided",e)}else o=!1;if(o){for(const e in n)r.append(e,JSON.stringify(n[e]));y.body=r,c=" -d ".concat(r.toString()," \\\n")}}else{const e=[...f.querySelectorAll("[data-ptype='form-urlencode']")],t=new URLSearchParams;e.filter(e=>"file"!==e.type).forEach(e=>{if("false"===e.dataset.array)e.value&&t.append(e.dataset.pname,e.value);else{const r=e.value&&Array.isArray(e.value)?e.value.join(","):"";t.append(e.dataset.pname,r)}}),y.body=t,c=" -d ".concat(t.toString()," \\\n")}}else if(e.includes("form-data")){const e=new FormData;[...f.querySelectorAll("[data-ptype='form-data']")].forEach(t=>{"false"===t.dataset.array?"file"===t.type&&t.files[0]?(e.append(t.dataset.pname,t.files[0],t.files[0].name),l+=' -F "'.concat(t.dataset.pname,"=@").concat(t.files[0].name,'" \\\n')):t.value&&(e.append(t.dataset.pname,t.value),l+=' -F "'.concat(t.dataset.pname,"=").concat(t.value,'" \\\n')):t.value&&Array.isArray(t.value)&&(t.value.forEach(e=>{l="".concat(l,' -F "').concat(t.dataset.pname,"[]=").concat(e,'" \\\n')}),e.append(t.dataset.pname,t.value.join(",")))}),y.body=e}else if(RegExp("^audio/|^image/|^video/|^font/|tar$|zip$|7z$|rtf$|msword$|excel$|/pdf$|/octet-stream$").test(e)){const e=f.querySelector(".request-body-param-file");e&&e.files[0]&&(y.body=e.files[0],c=" --data-binary @".concat(e.files[0].name," \\\n"))}else if(e.includes("json")||e.includes("xml")||e.includes("text")){const e=f.querySelector(".request-body-param-user-input");if(e&&e.value){y.body=e.value;try{c=" -d '".concat(JSON.stringify(JSON.parse(e.value)),"' \\\n")}catch(t){c=" -d '".concat(e.value.replace(/(\r\n|\n|\r)/gm,""),"' \\\n")}}}e.includes("form-data")||(y.headers["Content-Type"]=e),s+=' -H "Content-Type: '.concat(e,'" \\\n')}r.responseUrl="",r.responseHeaders="",r.curlSyntax="",r.responseStatus="success",r.responseIsBlob=!1,r.respContentDisposition="",r.responseBlobUrl&&(URL.revokeObjectURL(r.responseBlobUrl),r.responseBlobUrl=""),r.curlSyntax="".concat(i).concat(s).concat(c).concat(l);try{let e,t,a;n.disabled=!0;const i=await fetch(o,y);n.disabled=!1,r.responseStatus=i.ok?"success":"error",r.responseMessage="".concat(i.statusText,":").concat(i.status),r.responseUrl=i.url,i.headers.forEach((e,t)=>{r.responseHeaders="".concat(r.responseHeaders).concat(t.trim(),": ").concat(e,"\n")});const s=i.headers.get("content-type");if(s){if(s.includes("json"))if(/charset=[^"']+/.test(s)){const e=s.split("charset=")[1],t=await i.arrayBuffer();try{a=new TextDecoder(e).decode(t)}catch{a=new TextDecoder("utf-8").decode(t)}try{r.responseText=JSON.stringify(JSON.parse(a),null,2)}catch{r.responseText=a}}else t=await i.json(),r.responseText=JSON.stringify(t,null,2);else RegExp("^font/|tar$|zip$|7z$|rtf$|msword$|excel$|/pdf$|/octet-stream$").test(s)?(r.responseIsBlob=!0,r.responseBlobType="download"):RegExp("^audio|^image|^video").test(s)?(r.responseIsBlob=!0,r.responseBlobType="view"):(a=await i.text(),r.responseText=a);if(r.responseIsBlob){const t=i.headers.get("content-disposition");r.respContentDisposition=t?t.split("filename=")[1]:"filename",e=await i.blob(),r.responseBlobUrl=URL.createObjectURL(e)}}else a=await i.text(),r.responseText=a;this.dispatchEvent(new CustomEvent("after-try",{bubbles:!0,composed:!0,detail:{fetchUrl:o,fetchOptions:y,responseStatus:r.responseStatus,responseContentType:s,responseIsBlob:r.responseIsBlob,response:t||a||e}}))}catch(e){n.disabled=!1,r.responseMessage="".concat(e.message," (CORS or Network Issue)"),document.dispatchEvent(new CustomEvent("after-try",{bubbles:!0,composed:!0,detail:{err:e,url:o,options:y}}))}}onAddRemoveFileInput(e,t,r){if("button"!==e.target.tagName.toLowerCase())return;if(e.target.classList.contains("file-input-remove-btn")){return void e.target.closest(".input-set").remove()}const n=e.target.closest(".file-input-container"),o=document.createElement("div");o.setAttribute("class","input-set row");const a=document.createElement("input");a.type="file",a.style="width:200px; margin-top:2px;",a.setAttribute("data-pname",t),a.setAttribute("data-ptype",r.includes("form-urlencode")?"form-urlencode":"form-data"),a.setAttribute("data-array","false"),a.setAttribute("data-file-array","true");const i=document.createElement("button");i.setAttribute("class","file-input-remove-btn"),i.innerHTML="✕",o.appendChild(a),o.appendChild(i),n.insertBefore(o,e.target)}downloadResponseBlob(){if(this.responseBlobUrl){const e=document.createElement("a");document.body.appendChild(e),e.style="display: none",e.href=this.responseBlobUrl,e.download=this.respContentDisposition,e.click(),e.remove()}}viewResponseBlob(){if(this.responseBlobUrl){const e=document.createElement("a");document.body.appendChild(e),e.style="display: none",e.href=this.responseBlobUrl,e.target="_blank",e.click(),e.remove()}}clearResponseData(){this.responseUrl="",this.responseHeaders="",this.responseText="",this.responseStatus="success",this.responseMessage="",this.responseIsBlob=!1,this.responseBlobType="",this.respContentDisposition="",this.responseBlobUrl&&(URL.revokeObjectURL(this.responseBlobUrl),this.responseBlobUrl="")}disconnectedCallback(){this.responseBlobUrl&&(URL.revokeObjectURL(this.responseBlobUrl),this.responseBlobUrl=""),super.disconnectedCallback()}});function Hp(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}customElements.define("schema-table",class extends ae{static get properties(){return{schemaExpandLevel:{type:Number,attribute:"schema-expand-level"},schemaDescriptionExpanded:{type:String,attribute:"schema-description-expanded"},data:{type:Object}}}connectedCallback(){super.connectedCallback(),(!this.schemaExpandLevel||this.schemaExpandLevel<1)&&(this.schemaExpandLevel=99999),this.schemaDescriptionExpanded&&"true false".includes(this.schemaDescriptionExpanded)||(this.schemaDescriptionExpanded="false")}static get styles(){return[he,Mp,ne(ll||(ll=$p([".table{font-size:var(--font-size-small);text-align:left;line-height:calc(var(--font-size-small) + 6px)}.table .tr{width:calc(100% - 5px);padding:0 0 0 5px;border-bottom:1px dotted var(--light-border-color)}.table .td{padding:4px 0}.table .key{width:240px}.key.deprecated .key-label{text-decoration:line-through}.table .key-type{white-space:normal;width:85px}.collapsed-descr .tr{max-height:calc(var(--font-size-small) + var(--font-size-small) + 4px)}.obj-toggle{padding:0 2px;border-radius:2px;border:1px solid transparent;display:inline-block;margin-left:-16px;color:var(--primary-color);cursor:pointer;font-size:calc(var(--font-size-small) + 4px);font-family:var(--font-mono);background-clip:border-box}.obj-toggle:hover{border-color:var(--primary-color)}.tr.expanded+.object-body{display:block}.tr.collapsed+.object-body{display:none}"]))),Te]}render(){var e,t;return z(ul||(ul=$p(['
    ','
    ',' ','
    Field
    Type
    Description
    ',"
    "])),"true"===this.schemaDescriptionExpanded?"expanded-descr":"collapsed-descr",()=>{this.schemaDescriptionExpanded="true"===this.schemaDescriptionExpanded?"false":"true"},"true"===this.schemaDescriptionExpanded?"Single line description":"Multiline description",(null===(e=this.data)||void 0===e?void 0:e["::type"])||"",(null===(t=this.data)||void 0===t?void 0:t["::type"])||"",this.data?Da(ce()(this.data["::description"]||"")):"",this.data?z(pl||(pl=$p([" ",""])),this.generateTree("array"===this.data["::type"]?this.data["::props"]:this.data,this.data["::type"])):"")}generateTree(e,t="object",r="",n="",o=0){var a;const i=16*o;if(!e)return z(fl||(fl=$p(['
    null
    '])));if(0===Object.keys(e).length)return z(dl||(dl=$p(['',""])),i,r);let s="",c="",l=!1;if(r.startsWith("::ONE~OF")||r.startsWith("::ANY~OF"))s=r.replace("::","").replace("~"," "),l=!0;else if(r.startsWith("::OPTION")){const e=r.split("~");s=e[1],c=e[2]}else s=r;let u="";if("object"===e["::type"]?u="array"===t?"array":"object":"array"===e["::type"]&&(u="array"===t?"array of array":"array"),"object"==typeof e)return z(hl||(hl=$p([" ",'
    ',"
    "])),o>0?z(vl||(vl=$p(['
    '," "," ",'
    ','
    ',"
    "])),o '," "])),othis.toggleObjectExpand(e,s),o','',""])),s,l?"xxx-of-key":"xxx-of-descr",c):s.endsWith("*")?z(yl||(yl=$p([' ','*'])),s.substring(0,s.length-1)):z(bl||(bl=$p(['',""])),s),"xxx-of"===e["::type"]&&"array"===t?z(xl||(xl=$p(['ARRAY']))):"",(e["::type"]||"").includes("xxx-of")?"":u,Da(ce()(n||""))):z(wl||(wl=$p([" "," "])),"array"===e["::type"]&&"array"===t?z(kl||(kl=$p(['
    ',"
    "])),t):""),Array.isArray(e)&&e[0]?z(Sl||(Sl=$p(["",""])),this.generateTree(e[0],"xxx-of-option","::ARRAY~OF","",o)):z(Al||(Al=$p([" "," "])),Object.keys(e).map(t=>z(Ol||(Ol=$p([" "," "])),["::description","::type","::props","::deprecated"].includes(t)?"array"===e[t]["::type"]||"object"===e[t]["::type"]?z(El||(El=$p(["",""])),this.generateTree("array"===e[t]["::type"]?e[t]["::props"]:e[t],e[t]["::type"],t,e[t]["::description"],o+1)):"":z(Dl||(Dl=$p(["",""])),this.generateTree("array"===e[t]["::type"]?e[t]["::props"]:e[t],e[t]["::type"],t,e[t]["::description"],o+1))))));const p=e.split("~|~"),f=p[0].replace("{","").substring(0,4).toLowerCase();return z(Cl||(Cl=$p(['
    ','
    ',' ','
    '," "," "," "," "," ","
    "])),p[8],i,null!==(a=s)&&void 0!==a&&a.endsWith("*")?z(jl||(jl=$p(['','*'])),s.substring(0,s.length-1)):r.startsWith("::OPTION")?z(_l||(_l=$p(['','',""])),s,c):z(Tl||(Tl=$p(["",""])),s?z(Il||(Il=$p([' ',""])),s):z(Fl||(Fl=$p(['',""])),p[7])),f,"array"===t?"[".concat(p[0],"]"):p[0],p[1],"array"===t?n:"",p[2]?z(Pl||(Pl=$p(['
    ',"
    "])),p[2]):"",p[3]?z(Rl||(Rl=$p(['
    Default: ',"
    "])),p[3]):"",p[4]?z(Bl||(Bl=$p(['
    Allowed:   ',"
    "])),p[4]):"",p[5]?z(Ll||(Ll=$p(['
    Pattern:   ',"
    "])),p[5]):"",p[6]?z(Nl||(Nl=$p(['',""])),Da(ce()(p[6]))):"")}toggleObjectExpand(e){const t=e.target.closest(".tr");t.classList.contains("expanded")?(t.classList.add("collapsed"),t.classList.remove("expanded"),e.target.innerText="+"):(t.classList.remove("collapsed"),t.classList.add("expanded"),e.target.innerText="-")}});function Wp(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function Vp(e,t=""){var r,n;const o=new Set;for(const t in e.responses)for(const r in null===(a=e.responses[t])||void 0===a?void 0:a.content){var a;o.add(r.trim())}const i=[...o].join(", "),s=this.resolvedSpec.securitySchemes.filter(t=>{var r;return t.finalKeyValue&&(null===(r=e.security)||void 0===r?void 0:r.some(e=>t.apiKeyId in e))})||[],c=this.resolvedSpec.securitySchemes.find(e=>"_rapidoc_api_key"===e.apiKeyId&&"-"!==e.value);c&&s.push(c);const l=e.xCodeSamples?Fi.call(this,e.xCodeSamples):"";return z(bu||(bu=Wp([" ",'
    '," "," "," "," "," ",'
    ','
    '])),"read"===this.renderStyle?z(xu||(xu=Wp(['
    ']))):"",e.method,e.deprecated?"deprecated":"",e.elementId,"focused"===this.renderStyle?z(wu||(wu=Wp(['

    ',"

    "])),t):"",e.deprecated?z(ku||(ku=Wp(['
    DEPRECATED
    ']))):"",z(Su||(Su=Wp(['

    ',"

    ",""])),e.deprecated?"gray-text":"",e.summary||z(Au||(Au=Wp([' '," ",""])),e.deprecated?" method-fg gray-text":e.method,e.method,e.path),e.summary?z(Ou||(Ou=Wp(['
    ',' ',"
    "])),e.deprecated?" gray-text":" bold-text ".concat(e.method),e.method,e.deprecated?"gray-text":"",e.path):""),e.description?z(Eu||(Eu=Wp(['
    ',"
    "])),Da(ce()(e.description||""))):"",Ti.call(this,e.security),l,e.method,e.path,e.parameters,e.requestBody,s,e.servers,(null===(r=e.servers)||void 0===r||null===(n=r[0])||void 0===n?void 0:n.url)||this.selectedServer.computedUrl,this.fillRequestFieldsWithExample,this.allowTry,i,this.renderStyle,this.schemaStyle,this.defaultSchemaTab,this.schemaExpandLevel,this.schemaDescriptionExpanded,e.callbacks?Ri.call(this,e.callbacks):"",e.responses,this.renderStyle,this.schemaStyle,this.defaultSchemaTab,this.schemaExpandLevel,this.schemaDescriptionExpanded,Object.keys(e.responses||{})[0]||"")}function Yp(){return z(Du||(Du=Wp([" "," "])),this.resolvedSpec.tags.map(e=>z(Cu||(Cu=Wp(['
    ','
    ','
    ',"
    "])),e.elementId,e.name,Da("
    ".concat(ce()(e.description?e.description:""),"
    ")),e.paths.map(e=>Vp.call(this,e,"BBB")))))}function Kp(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function Gp(e){return z(ju||(ju=Kp(['
    ',"
    "])),e.name,e.id,z(_u||(_u=Kp(["

    ","

    "," "])),e.name,e.component?z(Tu||(Tu=Kp(['
    '])),this.renderStyle,e.component):""))}function Jp(){return z(Iu||(Iu=Kp([" "," "])),this.resolvedSpec.components.map(e=>z(Fu||(Fu=Kp(['
    ','
    ','
    ',"
    "])),e.name.toLowerCase(),e.name,Da("
    ".concat(ce()(e.description?e.description:""),"
    ")),e.subComponents.map(e=>Gp.call(this,e)))))}function Qp(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function Xp(){const e=new ce.a.Renderer;return e.heading=(e,t,r,n)=>"').concat(e,""),e}function Zp(){var e,t,r;return z(Pu||(Pu=Qp(['
    ',"
    "])),"view"===this.renderStyle?"section-gap":"section-gap--read-mode",null!==(e=this.resolvedSpec)&&void 0!==e&&e.info?z(Ru||(Ru=Qp(['
    '," ",'
    '," "," "," ",'
    ',"
    "])),this.resolvedSpec.info.title,this.resolvedSpec.info.version?z(Bu||(Bu=Qp([' '," "])),this.resolvedSpec.info.version):"",null!==(t=this.resolvedSpec.info.contact)&&void 0!==t&&t.email?z(Lu||(Lu=Qp(["",': '," "])),this.resolvedSpec.info.contact.name||"Email",this.resolvedSpec.info.contact.email,this.resolvedSpec.info.contact.email):"",null!==(r=this.resolvedSpec.info.contact)&&void 0!==r&&r.url?z(Nu||(Nu=Qp(['URL: ',""])),this.resolvedSpec.info.contact.url,this.resolvedSpec.info.contact.url):"",this.resolvedSpec.info.license?z(Mu||(Mu=Qp(["License: "," "])),this.resolvedSpec.info.license.url?z(qu||(qu=Qp(['',""])),this.resolvedSpec.info.license.url,this.resolvedSpec.info.license.name):this.resolvedSpec.info.license.name):"",this.resolvedSpec.info.termsOfService?z(zu||(zu=Qp(['Terms of Service'])),this.resolvedSpec.info.termsOfService):"",this.resolvedSpec.info.description?z(Uu||(Uu=Qp(["",""])),Da('\n
    \n '.concat(ce()(this.resolvedSpec.info.description,"true"===this.infoDescriptionHeadingsInNavBar?{renderer:Xp()}:void 0),"\n
    "))):""):"")}function ef(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function tf(e,t){e&&e.target.checked&&(this.selectedServer=t,this.requestUpdate())}function rf(e,t){const r=[...e.currentTarget.closest("table").querySelectorAll("input, select")];let n=t.url;r.forEach(e=>{const t=new RegExp("{".concat(e.dataset.var,"}"),"g");n=n.replace(t,e.value)}),t.computedUrl=n,this.requestUpdate()}function nf(){return this.selectedServer&&this.selectedServer.variables?z($u||($u=ef(['
    SERVER VARIABLES
    ',"
    "])),Object.entries(this.selectedServer.variables).map(e=>z(Hu||(Hu=ef([' '," "," "," "])),e[0],e[1].enum?z(Wu||(Wu=ef([' "])),e[0],e=>{rf.call(this,e,this.selectedServer)},Object.entries(e[1].enum).map(t=>e[1].default===t[1]?z(Vu||(Vu=ef(['