130 lines
1.3 MiB
JavaScript
130 lines
1.3 MiB
JavaScript
|
var $F=Object.defineProperty;var qF=($o,fo,ua)=>fo in $o?$F($o,fo,{enumerable:!0,configurable:!0,writable:!0,value:ua}):$o[fo]=ua;var De=($o,fo,ua)=>(qF($o,typeof fo!="symbol"?fo+"":fo,ua),ua),zF=($o,fo,ua)=>{if(!fo.has($o))throw TypeError("Cannot "+ua)};var _l=($o,fo,ua)=>(zF($o,fo,"read from private field"),ua?ua.call($o):fo.get($o)),Ff=($o,fo,ua)=>{if(fo.has($o))throw TypeError("Cannot add the same private member more than once");fo instanceof WeakSet?fo.add($o):fo.set($o,ua)};(function(){var $o={"./node_modules/swagger-ui-dist/swagger-ui-es-bundle.js":function(Ps){(()=>{var xl,xi,$f={69119:(S,C)=>{"use strict";Object.defineProperty(C,"__esModule",{value:!0}),C.BLANK_URL=C.relativeFirstCharacters=C.urlSchemeRegex=C.ctrlCharactersRegex=C.htmlCtrlEntityRegex=C.htmlEntitiesRegex=C.invalidProtocolRegex=void 0,C.invalidProtocolRegex=/^([^\w]*)(javascript|data|vbscript)/im,C.htmlEntitiesRegex=/&#(\w+)(^\w|;)?/g,C.htmlCtrlEntityRegex=/&(newline|tab);/gi,C.ctrlCharactersRegex=/[\u0000-\u001F\u007F-\u009F\u2000-\u200D\uFEFF]/gim,C.urlSchemeRegex=/^.+(:|:)/gim,C.relativeFirstCharacters=[".","/"],C.BLANK_URL="about:blank"},16750:(S,C,s)=>{"use strict";C.J=void 0;var h=s(69119);C.J=function(d){if(!d)return h.BLANK_URL;var y,m,f=d;do y=(f=(m=f,m.replace(h.ctrlCharactersRegex,"").replace(h.htmlEntitiesRegex,function(N,O){return String.fromCharCode(O)})).replace(h.htmlCtrlEntityRegex,"").replace(h.ctrlCharactersRegex,"").trim()).match(h.ctrlCharactersRegex)||f.match(h.htmlEntitiesRegex)||f.match(h.htmlCtrlEntityRegex);while(y&&y.length>0);var E=f;if(!E)return h.BLANK_URL;if(function(O){return h.relativeFirstCharacters.indexOf(O[0])>-1}(E))return E;var x=E.match(h.urlSchemeRegex);if(!x)return E;var A=x[0];return h.invalidProtocolRegex.test(A)?h.BLANK_URL:E}},67526:(S,C)=>{"use strict";C.byteLength=function(x){var A=m(x),N=A[0],O=A[1];return 3*(N+O)/4-O},C.toByteArray=function(x){var A,N,O=m(x),P=O[0],q=O[1],$=new b(function(W,G,Y){return 3*(G+Y)/4-Y}(0,P,q)),B=0,D=q>0?P-4:P;for(N=0;N<D;N+=4)A=h[x.charCodeAt(N)]<<18|h[x.charCodeAt(N+1)]<<12|h[x.charCodeAt(N+2)]<<6|h[x.charCodeAt(N+3)],$[B++]=A>>16&255,$[B++]=A>>8&255,$[B++]=255&A;return q===2&&(A=h[x.charCodeAt(N)]<<2|h[x.charCodeAt(N+1)]>>4,$[B++]=255&A),q===1&&(A=h[x.charCodeAt(N)]<<10|h[x.charCodeAt(N+1)]<<4|h[x.charCodeAt(N+2)]>>2,$[B++]=A>>8&255,$[B++]=255&A),$},C.fromByteArray=function(x){for(var A,N=x.length,O=N%3,P=[],q=16383,$=0,B=N-O;$<B;$+=q)P.push(f(x,$,$+q>B?B:$+q));return O===1?(A=x[N-1],P.push(s[A>>2]+s[A<<4&63]+"==")):O===2&&(A=(x[N-2]<<8)+x[N-1],P.push(s[A>>10]+s[A>>4&63]+s[A<<2&63]+"=")),P.join("")};for(var s=[],h=[],b=typeof Uint8Array<"u"?Uint8Array:Array,d="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",y=0;y<64;++y)s[y]=d[y],h[d.charCodeAt(y)]=y;function m(E){var x=E.length;if(x%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var A=E.indexOf("=");return A===-1&&(A=x),[A,A===x?0:4-A%4]}function f(E,x,A){for(var N,O,P=[],q=x;q<A;q+=3)N=(E[q]<<16&16711680)+(E[q+1]<<8&65280)+(255&E[q+2]),P.push(s[(O=N)>>18&63]+s[O>>12&63]+s[O>>6&63]+s[63&O]);return P.join("")}h[45]=62,h[95]=63},48287:(S,C,s)=>{"use strict";const h=s(67526),b=s(251),d=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;C.Buffer=f,C.SlowBuffer=function(R){return+R!=R&&(R=0),f.alloc(+R)},C.INSPECT_MAX_BYTES=50;const y=2147483647;function m(Q){if(Q>y)throw new RangeError('The value "'+Q+'" is invalid for option "size"');const R=new Uint8Array(Q);return Object.setPrototypeOf(R,f.prototype),R}function f(Q,R,K){if(typeof Q=="number"){if(typeof R=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return A(Q)}return E(Q,R,K)}function E(Q,R,K){if(typeof Q=="string")return function(Pe,Ze){if(typeof Ze=="string"&&Ze!==""||(Ze="utf8"),!f.isEncoding(Ze))throw new TypeError("Unknown encoding: "+Ze);const St=0|q(Pe,Ze);let jt=m(St);const ht=jt.write(Pe,Ze);return ht!==St&&(jt=jt.slice(0,ht)),jt}(Q,R);if(ArrayBuffer.isView(Q))return function(Pe){if(gt(Pe,Uint8Array)){cons
|
||
|
`+vo),Ur&&A([Kn,Ot,nt],ea=>{vo=B(vo,ea," ")}),kr&&Gt?kr.createHTML(vo):vo},R.setConfig=function(){Ka(arguments.length>0&&arguments[0]!==void 0?arguments[0]:{}),yo=!0},R.clearConfig=function(){Wa=null,yo=!1},R.isValidAttribute=function(tr,Je,tt){Wa||Ka({});const zt=Mn(tr),Tr=Mn(Je);return Zo(zt,Tr,tt)},R.addHook=function(tr,Je){typeof Je=="function"&&(gn[tr]=gn[tr]||[],O(gn[tr],Je))},R.removeHook=function(tr){if(gn[tr])return N(gn[tr])},R.removeHooks=function(tr){gn[tr]&&(gn[tr]=[])},R.removeAllHooks=function(){gn={}},R}return Ht()}()},78004:S=>{"use strict";class C{constructor(b,d){this.low=b,this.high=d,this.length=1+d-b}overlaps(b){return!(this.high<b.low||this.low>b.high)}touches(b){return!(this.high+1<b.low||this.low-1>b.high)}add(b){return new C(Math.min(this.low,b.low),Math.max(this.high,b.high))}subtract(b){return b.low<=this.low&&b.high>=this.high?[]:b.low>this.low&&b.high<this.high?[new C(this.low,b.low-1),new C(b.high+1,this.high)]:b.low<=this.low?[new C(b.high+1,this.high)]:[new C(this.low,b.low-1)]}toString(){return this.low==this.high?this.low.toString():this.low+"-"+this.high}}class s{constructor(b,d){this.ranges=[],this.length=0,b!=null&&this.add(b,d)}_update_length(){this.length=this.ranges.reduce((b,d)=>b+d.length,0)}add(b,d){var y=m=>{for(var f=0;f<this.ranges.length&&!m.touches(this.ranges[f]);)f++;for(var E=this.ranges.slice(0,f);f<this.ranges.length&&m.touches(this.ranges[f]);)m=m.add(this.ranges[f]),f++;E.push(m),this.ranges=E.concat(this.ranges.slice(f)),this._update_length()};return b instanceof s?b.ranges.forEach(y):(d==null&&(d=b),y(new C(b,d))),this}subtract(b,d){var y=m=>{for(var f=0;f<this.ranges.length&&!m.overlaps(this.ranges[f]);)f++;for(var E=this.ranges.slice(0,f);f<this.ranges.length&&m.overlaps(this.ranges[f]);)E=E.concat(this.ranges[f].subtract(m)),f++;this.ranges=E.concat(this.ranges.slice(f)),this._update_length()};return b instanceof s?b.ranges.forEach(y):(d==null&&(d=b),y(new C(b,d))),this}intersect(b,d){var y=[],m=f=>{for(var E=0;E<this.ranges.length&&!f.overlaps(this.ranges[E]);)E++;for(;E<this.ranges.length&&f.overlaps(this.ranges[E]);){var x=Math.max(this.ranges[E].low,f.low),A=Math.min(this.ranges[E].high,f.high);y.push(new C(x,A)),E++}};return b instanceof s?b.ranges.forEach(m):(d==null&&(d=b),m(new C(b,d))),this.ranges=y,this._update_length(),this}index(b){for(var d=0;d<this.ranges.length&&this.ranges[d].length<=b;)b-=this.ranges[d].length,d++;return this.ranges[d].low+b}toString(){return"[ "+this.ranges.join(", ")+" ]"}clone(){return new s(this)}numbers(){return this.ranges.reduce((b,d)=>{for(var y=d.low;y<=d.high;)b.push(y),y++;return b},[])}subranges(){return this.ranges.map(b=>({low:b.low,high:b.high,length:1+b.high-b.low}))}}S.exports=s},30655:(S,C,s)=>{"use strict";var h=s(70453)("%Object.defineProperty%",!0)||!1;if(h)try{h({},"a",{value:1})}catch{h=!1}S.exports=h},41237:S=>{"use strict";S.exports=EvalError},69383:S=>{"use strict";S.exports=Error},79290:S=>{"use strict";S.exports=RangeError},79538:S=>{"use strict";S.exports=ReferenceError},58068:S=>{"use strict";S.exports=SyntaxError},69675:S=>{"use strict";S.exports=TypeError},35345:S=>{"use strict";S.exports=URIError},37007:S=>{"use strict";var C,s=typeof Reflect=="object"?Reflect:null,h=s&&typeof s.apply=="function"?s.apply:function(B,D,z){return Function.prototype.apply.call(B,D,z)};C=s&&typeof s.ownKeys=="function"?s.ownKeys:Object.getOwnPropertySymbols?function(B){return Object.getOwnPropertyNames(B).concat(Object.getOwnPropertySymbols(B))}:function(B){return Object.getOwnPropertyNames(B)};var b=Number.isNaN||function(B){return B!=B};function d(){d.init.call(this)}S.exports=d,S.exports.once=function(B,D){return new Promise(function(z,W){function G(de){B.removeListener(D,Y),W(de)}function Y(){typeof B.removeListener=="function"&&B.removeListener("error",G),z([].slice.call(arguments))}q(B,D,Y,{once:!0}),D!=="error"&&function(Z,ae,Oe){typeof Z.on=="function"&&q(Z,"error",ae,Oe)}(B,G,{once:!0})})},d.EventEmitter=d,d.prototype._events=void 0,d.prototype._eventsCount=0,d.prototype._maxListeners=void 0;var y=10;functi
|
||
|
https://github.com/highlightjs/highlight.js/issues/2277`),Rn=Ot,dr=nt);const Ir={code:dr,language:Rn};Kn("before:highlight",Ir);const Xr=Ir.result?Ir.result:Jr(Ir.language,Ir.code,Yt,Zt);return Xr.code=Ir.code,Kn("after:highlight",Xr),Xr}function Jr(Ot,nt,Yt,Zt){function dr(Qt,It){const Gt=go.case_insensitive?It[0].toLowerCase():It[0];return Object.prototype.hasOwnProperty.call(Qt.keywords,Gt)&&Qt.keywords[Gt]}function Rn(){er.subLanguage!=null?function(){if(Ur==="")return;let It=null;if(typeof er.subLanguage=="string"){if(!fe[er.subLanguage])return void gr.addText(Ur);It=Jr(er.subLanguage,Ur,!0,Sr[er.subLanguage]),Sr[er.subLanguage]=It.top}else It=Or(Ur,er.subLanguage.length?er.subLanguage:null);er.relevance>0&&(Oo+=It.relevance),gr.addSublanguage(It.emitter,It.language)}():function(){if(!er.keywords)return void gr.addText(Ur);let It=0;er.keywordPatternRe.lastIndex=0;let Gt=er.keywordPatternRe.exec(Ur),wr="";for(;Gt;){wr+=Ur.substring(It,Gt.index);const Cn=dr(er,Gt);if(Cn){const[no,uo]=Cn;if(gr.addText(wr),wr="",Oo+=uo,no.startsWith("_"))wr+=Gt[0];else{const Hr=go.classNameAliases[no]||no;gr.addKeyword(Gt[0],Hr)}}else wr+=Gt[0];It=er.keywordPatternRe.lastIndex,Gt=er.keywordPatternRe.exec(Ur)}wr+=Ur.substr(It),gr.addText(wr)}(),Ur=""}function Ir(Qt){return Qt.className&&gr.openNode(go.classNameAliases[Qt.className]||Qt.className),er=Object.create(Qt,{parent:{value:er}}),er}function Xr(Qt,It,Gt){let wr=function(no,uo){const Hr=no&&no.exec(uo);return Hr&&Hr.index===0}(Qt.endRe,Gt);if(wr){if(Qt["on:end"]){const Cn=new b(Qt);Qt["on:end"](It,Cn),Cn.isMatchIgnored&&(wr=!1)}if(wr){for(;Qt.endsParent&&Qt.parent;)Qt=Qt.parent;return Qt}}if(Qt.endsWithParent)return Xr(Qt.parent,It,Gt)}function pr(Qt){return er.matcher.regexIndex===0?(Ur+=Qt[0],1):(Br=!0,0)}function Qr(Qt){const It=Qt[0],Gt=Qt.rule,wr=new b(Gt),Cn=[Gt.__beforeBegin,Gt["on:begin"]];for(const no of Cn)if(no&&(no(Qt,wr),wr.isMatchIgnored))return pr(It);return Gt&&Gt.endSameAsBegin&&(Gt.endRe=function(uo){return new RegExp(uo.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&"),"m")}(It)),Gt.skip?Ur+=It:(Gt.excludeBegin&&(Ur+=It),Rn(),Gt.returnBegin||Gt.excludeBegin||(Ur=It)),Ir(Gt),Gt.returnBegin?0:It.length}function Ar(Qt){const It=Qt[0],Gt=nt.substr(Qt.index),wr=Xr(er,Qt,Gt);if(!wr)return K;const Cn=er;Cn.skip?Ur+=It:(Cn.returnEnd||Cn.excludeEnd||(Ur+=It),Rn(),Cn.excludeEnd&&(Ur=It));do er.className&&gr.closeNode(),er.skip||er.subLanguage||(Oo+=er.relevance),er=er.parent;while(er!==wr.parent);return wr.starts&&(wr.endSameAsBegin&&(wr.starts.endRe=wr.endRe),Ir(wr.starts)),Cn.returnEnd?0:It.length}let ro={};function pn(Qt,It){const Gt=It&&It[0];if(Ur+=Qt,Gt==null)return Rn(),0;if(ro.type==="begin"&&It.type==="end"&&ro.index===It.index&&Gt===""){if(Ur+=nt.slice(It.index,It.index+1),!St){const wr=new Error("0 width match regex");throw wr.languageName=Ot,wr.badRule=ro.rule,wr}return 1}if(ro=It,It.type==="begin")return Qr(It);if(It.type==="illegal"&&!Yt){const wr=new Error('Illegal lexeme "'+Gt+'" for mode "'+(er.className||"<unnamed>")+'"');throw wr.mode=er,wr}if(It.type==="end"){const wr=Ar(It);if(wr!==K)return wr}if(It.type==="illegal"&&Gt==="")return 1;if(yo>1e5&&yo>3*It.index)throw new Error("potential infinite loop, way more iterations than matches");return Ur+=Gt,Gt.length}const go=mn(Ot);if(!go)throw kt(ht.replace("{}",Ot)),new Error('Unknown language: "'+Ot+'"');const Xn=rt(go,{plugins:Ze});let Go="",er=Zt||Xn;const Sr={},gr=new Mt.__emitter(Mt);(function(){const It=[];for(let Gt=er;Gt!==go;Gt=Gt.parent)Gt.className&&It.unshift(Gt.className);It.forEach(Gt=>gr.openNode(Gt))})();let Ur="",Oo=0,ir=0,yo=0,Br=!1;try{for(er.matcher.considerAll();;){yo++,Br?Br=!1:er.matcher.considerAll(),er.matcher.lastIndex=ir;const Qt=er.matcher.exec(nt);if(!Qt)break;const It=pn(nt.substring(ir,Qt.index),Qt);ir=Qt.index+It}return pn(nt.substr(ir)),gr.closeAllNodes(),gr.finalize(),Go=gr.toHTML(),{relevance:Math.floor(Oo),value:Go,language:Ot,illegal:!1,emitter:gr,top:er}}catch(Qt){if(Qt.message&&Qt.message.includes("Illegal"))return{illegal:!0,illegalBy:{msg:Qt.message,context:nt.slice(ir-100,ir+1
|
||
|
`))},"after:highlightElement":({result:Ot})=>{Mt.useBR&&(Ot.value=Ot.value.replace(/\n/g,"<br>"))}},mr=/^(<[^>]+>|\t)+/gm,kr={"after:highlightElement":({result:Ot})=>{Mt.tabReplace&&(Ot.value=Ot.value.replace(mr,nt=>nt.replace(/\t/g,Mt.tabReplace)))}};function ar(Ot){let nt=null;const Yt=function(Ir){let Xr=Ir.className+" ";Xr+=Ir.parentNode?Ir.parentNode.className:"";const pr=Mt.languageDetectRe.exec(Xr);if(pr){const Qr=mn(pr[1]);return Qr||(qt(ht.replace("{}",pr[1])),qt("Falling back to no-highlight mode for this block.",Ir)),Qr?pr[1]:"no-highlight"}return Xr.split(/\s+/).find(Qr=>jr(Qr)||mn(Qr))}(Ot);if(jr(Yt))return;Kn("before:highlightElement",{el:Ot,language:Yt}),nt=Ot;const Zt=nt.textContent,dr=Yt?Nr(Zt,{language:Yt,ignoreIllegals:!0}):Or(Zt);Kn("after:highlightElement",{el:Ot,result:dr,text:Zt}),Ot.innerHTML=dr.value,function(Ir,Xr,pr){const Qr=Xr?Pe[Xr]:pr;Ir.classList.add("hljs"),Qr&&Ir.classList.add(Qr)}(Ot,Yt,dr.language),Ot.result={language:dr.language,re:dr.relevance,relavance:dr.relevance},dr.second_best&&(Ot.second_best={language:dr.second_best.language,re:dr.second_best.relevance,relavance:dr.second_best.relevance})}const Yn=()=>{Yn.called||(Yn.called=!0,Ht("10.6.0","initHighlighting() is deprecated. Use highlightAll() instead."),document.querySelectorAll("pre code").forEach(ar))};let Dr=!1;function An(){if(document.readyState==="loading")return void(Dr=!0);document.querySelectorAll("pre code").forEach(ar)}function mn(Ot){return Ot=(Ot||"").toLowerCase(),fe[Ot]||fe[Pe[Ot]]}function mo(Ot,{languageName:nt}){typeof Ot=="string"&&(Ot=[Ot]),Ot.forEach(Yt=>{Pe[Yt.toLowerCase()]=nt})}function gn(Ot){const nt=mn(Ot);return nt&&!nt.disableAutodetect}function Kn(Ot,nt){const Yt=Ot;Ze.forEach(function(Zt){Zt[Yt]&&Zt[Yt](nt)})}typeof window<"u"&&window.addEventListener&&window.addEventListener("DOMContentLoaded",function(){Dr&&An()},!1),Object.assign(ie,{highlight:Nr,highlightAuto:Or,highlightAll:An,fixMarkup:function(nt){return Ht("10.2.0","fixMarkup will be removed entirely in v11.0"),Ht("10.2.0","Please see https://github.com/highlightjs/highlight.js/issues/2534"),function(Zt){return Mt.tabReplace||Mt.useBR?Zt.replace(jt,dr=>dr===`
|
||
|
`?Mt.useBR?"<br>":dr:Mt.tabReplace?dr.replace(/\t/g,Mt.tabReplace):dr):Zt}(nt)},highlightElement:ar,highlightBlock:function(nt){return Ht("10.7.0","highlightBlock will be removed entirely in v12.0"),Ht("10.7.0","Please use highlightElement now."),ar(nt)},configure:function(nt){nt.useBR&&(Ht("10.3.0","'useBR' will be removed entirely in v11.0"),Ht("10.3.0","Please see https://github.com/highlightjs/highlight.js/issues/2559")),Mt=R(Mt,nt)},initHighlighting:Yn,initHighlightingOnLoad:function(){Ht("10.6.0","initHighlightingOnLoad() is deprecated. Use highlightAll() instead."),Dr=!0},registerLanguage:function(nt,Yt){let Zt=null;try{Zt=Yt(ie)}catch(dr){if(kt("Language definition for '{}' could not be registered.".replace("{}",nt)),!St)throw dr;kt(dr),Zt=xt}Zt.name||(Zt.name=nt),fe[nt]=Zt,Zt.rawDefinition=Yt.bind(null,ie),Zt.aliases&&mo(Zt.aliases,{languageName:nt})},unregisterLanguage:function(nt){delete fe[nt];for(const Yt of Object.keys(Pe))Pe[Yt]===nt&&delete Pe[Yt]},listLanguages:function(){return Object.keys(fe)},getLanguage:mn,registerAliases:mo,requireLanguage:function(nt){Ht("10.4.0","requireLanguage will be removed entirely in v11."),Ht("10.4.0","Please see https://github.com/highlightjs/highlight.js/pull/2844");const Yt=mn(nt);if(Yt)return Yt;throw new Error("The '{}' language is required, but not loaded.".replace("{}",nt))},autoDetection:gn,inherit:R,addPlugin:function(nt){(function(Zt){Zt["before:highlightBlock"]&&!Zt["before:highlightElement"]&&(Zt["before:highlightElement"]=dr=>{Zt["before:highlightBlock"](Object.assign({block:dr.el},dr))}),Zt["after:highlightBlock"]&&!Zt["after:highlightElement"]&&(Zt["after:highlightElement"]=dr=>{Zt["after:highlightBlock"](Object.assign({block:dr.el},dr))})})(nt),Ze.push(nt)},vuePlugin:Ut(ie).VuePlugin}),ie.debugMode=function(){St=!1},ie.safeMode=function(){St=!0},ie.versionString="10.7.3";for(const Ot in qe)typeof qe[Ot]=="object"&&s(qe[Ot]);return Object.assign(ie,qe),ie.addPlugin(fn),ie.addPlugin(wt),ie.addPlugin(kr),ie}({});S.exports=le},35344:S=>{function C(...s){return s.map(h=>function(d){return d?typeof d=="string"?d:d.source:null}(h)).join("")}S.exports=function(h){const b={},d={begin:/\$\{/,end:/\}/,contains:["self",{begin:/:-/,contains:[b]}]};Object.assign(b,{className:"variable",variants:[{begin:C(/\$[\w\d#@][\w\d_]*/,"(?![\\w\\d])(?![$])")},d]});const y={className:"subst",begin:/\$\(/,end:/\)/,contains:[h.BACKSLASH_ESCAPE]},m={begin:/<<-?\s*(?=\w+)/,starts:{contains:[h.END_SAME_AS_BEGIN({begin:/(\w+)/,end:/(\w+)/,className:"string"})]}},f={className:"string",begin:/"/,end:/"/,contains:[h.BACKSLASH_ESCAPE,b,y]};y.contains.push(f);const E={begin:/\$\(\(/,end:/\)\)/,contains:[{begin:/\d+#[0-9a-f]+/,className:"number"},h.NUMBER_MODE,b]},x=h.SHEBANG({binary:`(${["fish","bash","zsh","sh","csh","ksh","tcsh","dash","scsh"].join("|")})`,relevance:10}),A={className:"function",begin:/\w[\w\d_]*\s*\(\s*\)\s*\{/,returnBegin:!0,contains:[h.inherit(h.TITLE_MODE,{begin:/\w[\w\d_]*/})],relevance:0};return{name:"Bash",aliases:["sh","zsh"],keywords:{$pattern:/\b[a-z._-]+\b/,keyword:"if then else elif fi for while in do done case esac function",literal:"true false",built_in:"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 autoload bg bindkey bye cap chdir clone comparguments compcall compctl compdescribe compfiles compgroups compquote comptags comptry compvalues dirs disable disown echotc echoti emulate fc fg float functions getcap getln history integer jobs kill limit log noglob popd print pushd pushln rehash sched setcap setopt stat suspend ttyctl unfunction unhash unlimit unsetopt vared wait whence where which zcompile zformat zftp zle zmodload zparseopts zprof zpty zregexparse zsocket zstyle ztcp"},contains:[x,h.SHEBANG(),A,E,h.HASH_COMMENT_MODE,m,f,{className:"",begin:/\\"/},{className:"string",begin:/'/,end:/'/},b]}}},73402:S=>{function C(...s){return s.map(h=>function(
|
||
|
/* [wrapped with `+b+`] */
|
||
|
`)}},45891:(S,C,s)=>{var h=s(51873),b=s(72428),d=s(56449),y=h?h.isConcatSpreadable:void 0;S.exports=function(f){return d(f)||b(f)||!!(y&&f&&f[y])}},30361:S=>{var C=/^(?:0|[1-9]\d*)$/;S.exports=function(h,b){var d=typeof h;return!!(b=b??9007199254740991)&&(d=="number"||d!="symbol"&&C.test(h))&&h>-1&&h%1==0&&h<b}},36800:(S,C,s)=>{var h=s(75288),b=s(64894),d=s(30361),y=s(23805);S.exports=function(f,E,x){if(!y(x))return!1;var A=typeof E;return!!(A=="number"?b(x)&&d(E,x.length):A=="string"&&E in x)&&h(x[E],f)}},28586:(S,C,s)=>{var h=s(56449),b=s(44394),d=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,y=/^\w*$/;S.exports=function(f,E){if(h(f))return!1;var x=typeof f;return!(x!="number"&&x!="symbol"&&x!="boolean"&&f!=null&&!b(f))||y.test(f)||!d.test(f)||E!=null&&f in Object(E)}},74218:S=>{S.exports=function(s){var h=typeof s;return h=="string"||h=="number"||h=="symbol"||h=="boolean"?s!=="__proto__":s===null}},85087:(S,C,s)=>{var h=s(30980),b=s(37381),d=s(62284),y=s(53758);S.exports=function(f){var E=d(f),x=y[E];if(typeof x!="function"||!(E in h.prototype))return!1;if(f===x)return!0;var A=b(x);return!!A&&f===A[0]}},87296:(S,C,s)=>{var h,b=s(55481),d=(h=/[^.]+$/.exec(b&&b.keys&&b.keys.IE_PROTO||""))?"Symbol(src)_1."+h:"";S.exports=function(m){return!!d&&d in m}},55527:S=>{var C=Object.prototype;S.exports=function(h){var b=h&&h.constructor;return h===(typeof b=="function"&&b.prototype||C)}},30756:(S,C,s)=>{var h=s(23805);S.exports=function(d){return d==d&&!h(d)}},63702:S=>{S.exports=function(){this.__data__=[],this.size=0}},70080:(S,C,s)=>{var h=s(26025),b=Array.prototype.splice;S.exports=function(y){var m=this.__data__,f=h(m,y);return!(f<0)&&(f==m.length-1?m.pop():b.call(m,f,1),--this.size,!0)}},24739:(S,C,s)=>{var h=s(26025);S.exports=function(d){var y=this.__data__,m=h(y,d);return m<0?void 0:y[m][1]}},48655:(S,C,s)=>{var h=s(26025);S.exports=function(d){return h(this.__data__,d)>-1}},31175:(S,C,s)=>{var h=s(26025);S.exports=function(d,y){var m=this.__data__,f=h(m,d);return f<0?(++this.size,m.push([d,y])):m[f][1]=y,this}},63040:(S,C,s)=>{var h=s(21549),b=s(80079),d=s(68223);S.exports=function(){this.size=0,this.__data__={hash:new h,map:new(d||b),string:new h}}},17670:(S,C,s)=>{var h=s(12651);S.exports=function(d){var y=h(this,d).delete(d);return this.size-=y?1:0,y}},90289:(S,C,s)=>{var h=s(12651);S.exports=function(d){return h(this,d).get(d)}},4509:(S,C,s)=>{var h=s(12651);S.exports=function(d){return h(this,d).has(d)}},72949:(S,C,s)=>{var h=s(12651);S.exports=function(d,y){var m=h(this,d),f=m.size;return m.set(d,y),this.size+=m.size==f?0:1,this}},20317:S=>{S.exports=function(s){var h=-1,b=Array(s.size);return s.forEach(function(d,y){b[++h]=[y,d]}),b}},67197:S=>{S.exports=function(s,h){return function(b){return b!=null&&b[s]===h&&(h!==void 0||s in Object(b))}}},62224:(S,C,s)=>{var h=s(50104);S.exports=function(d){var y=h(d,function(f){return m.size===500&&m.clear(),f}),m=y.cache;return y}},3209:(S,C,s)=>{var h=s(91596),b=s(53320),d=s(36306),y="__lodash_placeholder__",m=128,f=Math.min;S.exports=function(x,A){var N=x[1],O=A[1],P=N|O,q=P<131,$=O==m&&N==8||O==m&&N==256&&x[7].length<=A[8]||O==384&&A[7].length<=A[8]&&N==8;if(!q&&!$)return x;1&O&&(x[2]=A[2],P|=1&N?0:4);var B=A[3];if(B){var D=x[3];x[3]=D?h(D,B,A[4]):B,x[4]=D?d(x[3],y):A[4]}return(B=A[5])&&(D=x[5],x[5]=D?b(D,B,A[6]):B,x[6]=D?d(x[5],y):A[6]),(B=A[7])&&(x[7]=B),O&m&&(x[8]=x[8]==null?A[8]:f(x[8],A[8])),x[9]==null&&(x[9]=A[9]),x[0]=A[0],x[1]=P,x}},48152:(S,C,s)=>{var h=s(28303),b=h&&new h;S.exports=b},81042:(S,C,s)=>{var h=s(56110)(Object,"create");S.exports=h},3650:(S,C,s)=>{var h=s(74335)(Object.keys,Object);S.exports=h},90181:S=>{S.exports=function(s){var h=[];if(s!=null)for(var b in Object(s))h.push(b);return h}},86009:(S,C,s)=>{S=s.nmd(S);var h=s(34840),b=C&&!C.nodeType&&C,d=b&&S&&!S.nodeType&&S,y=d&&d.exports===b&&h.process,m=function(){try{var f=d&&d.require&&d.require("util").types;return f||y&&y.binding&&y.binding("util")}catch{}}();S.exports=m},59350:S=>{var C=Object.prototype.toString;S.exports=function(h){return C.call(h)}},74335:S=>{S.exports=function(s,h){
|
||
|
`)>=0)return!1;return!0}(kr)?"["+qt(kr,xt)+"]":"[ "+Z.call(kr,", ")+" ]"}if(function(nt){return!(Ge(nt)!=="[object Error]"||Xe&&typeof nt=="object"&&Xe in nt)}(R)){var ar=Ht(R,Mt);return"cause"in Error.prototype||!("cause"in R)||Se.call(R,"cause")?ar.length===0?"["+String(R)+"]":"{ ["+String(R)+"] "+Z.call(ar,", ")+" }":"{ ["+String(R)+"] "+Z.call(de.call("[cause]: "+Mt(R.cause),ar),", ")+" }"}if(typeof R=="object"&&Pe){if(Le&&typeof R[Le]=="function"&&ue)return ue(R,{depth:ht-le});if(Pe!=="symbol"&&typeof R.inspect=="function")return R.inspect()}if(function(nt){if(!d||!nt||typeof nt!="object")return!1;try{d.call(nt);try{E.call(nt)}catch{return!0}return nt instanceof Map}catch{}return!1}(R)){var Yn=[];return y&&y.call(R,function(Ot,nt){Yn.push(Mt(nt,R,!0)+" => "+Mt(Ot,R))}),kt("Map",d.call(R),Yn,xt)}if(function(nt){if(!E||!nt||typeof nt!="object")return!1;try{E.call(nt);try{d.call(nt)}catch{return!0}return nt instanceof Set}catch{}return!1}(R)){var Dr=[];return x&&x.call(R,function(Ot){Dr.push(Mt(Ot,R))}),kt("Set",E.call(R),Dr,xt)}if(function(nt){if(!A||!nt||typeof nt!="object")return!1;try{A.call(nt,A);try{N.call(nt,N)}catch{return!0}return nt instanceof WeakMap}catch{}return!1}(R))return Et("WeakMap");if(function(nt){if(!N||!nt||typeof nt!="object")return!1;try{N.call(nt,N);try{A.call(nt,A)}catch{return!0}return nt instanceof WeakSet}catch{}return!1}(R))return Et("WeakSet");if(function(nt){if(!O||!nt||typeof nt!="object")return!1;try{return O.call(nt),!0}catch{}return!1}(R))return Et("WeakRef");if(function(nt){return!(Ge(nt)!=="[object Number]"||Xe&&typeof nt=="object"&&Xe in nt)}(R))return gt(Mt(Number(R)));if(function(nt){if(!nt||typeof nt!="object"||!_e)return!1;try{return _e.call(nt),!0}catch{}return!1}(R))return gt(Mt(_e.call(R)));if(function(nt){return!(Ge(nt)!=="[object Boolean]"||Xe&&typeof nt=="object"&&Xe in nt)}(R))return gt(P.call(R));if(function(nt){return!(Ge(nt)!=="[object String]"||Xe&&typeof nt=="object"&&Xe in nt)}(R))return gt(Mt(String(R)));if(typeof window<"u"&&R===window)return"{ [object Window] }";if(R===s.g)return"{ [object globalThis] }";if(!function(nt){return!(Ge(nt)!=="[object Date]"||Xe&&typeof nt=="object"&&Xe in nt)}(R)&&!ut(R)){var An=Ht(R,Mt),mn=Ue?Ue(R)===Object.prototype:R instanceof Object||R.constructor===Object,mo=R instanceof Object?"":"null prototype",gn=!mn&&Xe&&Object(R)===R&&Xe in R?D.call(Ge(R),8,-1):mo?"Object":"",Kn=(mn||typeof R.constructor!="function"?"":R.constructor.name?R.constructor.name+" ":"")+(gn||mo?"["+Z.call(de.call([],gn||[],mo||[]),": ")+"] ":"");return An.length===0?Kn+"{}":xt?Kn+"{"+qt(An,xt)+"}":Kn+"{ "+Z.call(An,", ")+" }"}return String(R)};var ge=Object.prototype.hasOwnProperty||function(Q){return Q in this};function rt(Q,R){return ge.call(Q,R)}function Ge(Q){return q.call(Q)}function Ut(Q,R){if(Q.indexOf)return Q.indexOf(R);for(var K=0,le=Q.length;K<le;K++)if(Q[K]===R)return K;return-1}function wt(Q,R){if(Q.length>R.maxStringLength){var K=Q.length-R.maxStringLength,le="... "+K+" more character"+(K>1?"s":"");return wt(D.call(Q,0,R.maxStringLength),R)+le}return Ve(z.call(z.call(Q,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,He),"single",R)}function He(Q){var R=Q.charCodeAt(0),K={8:"b",9:"t",10:"n",12:"f",13:"r"}[R];return K?"\\"+K:"\\x"+(R<16?"0":"")+W.call(R.toString(16))}function gt(Q){return"Object("+Q+")"}function Et(Q){return Q+" { ? }"}function kt(Q,R,K,le){return Q+" ("+R+") {"+(le?qt(K,le):Z.call(K,", "))+"}"}function qt(Q,R){if(Q.length===0)return"";var K=`
|
||
|
`+R.prev+R.base;return K+Z.call(Q,","+K)+`
|
||
|
`+R.prev}function Ht(Q,R){var K=Ke(Q),le=[];if(K){le.length=Q.length;for(var ie=0;ie<Q.length;ie++)le[ie]=rt(Q,ie)?R(Q[ie],Q):""}var fe,Pe=typeof Me=="function"?Me(Q):[];if(c){fe={};for(var Ze=0;Ze<Pe.length;Ze++)fe["$"+Pe[Ze]]=Pe[Ze]}for(var St in Q)rt(Q,St)&&(K&&String(Number(St))===St&&St<Q.length||c&&fe["$"+St]instanceof Symbol||(Y.call(/[^\w$]/,St)?le.push(R(St,Q)+": "+R(Q[St],Q)):le.push(St+": "+R(Q[St],Q))));if(typeof Me=="function")for(var jt=0;jt<Pe.length;jt++)Se.call(Q,Pe[jt])&&le.push("["+R(Pe[jt])+"]: "+R(Q[Pe[jt]],Q));return le}},65606:S=>{var C,s,h=S.exports={};function b(){throw new Error("setTimeout has not been defined")}function d(){throw new Error("clearTimeout has not been defined")}function y(q){if(C===setTimeout)return setTimeout(q,0);if((C===b||!C)&&setTimeout)return C=setTimeout,setTimeout(q,0);try{return C(q,0)}catch{try{return C.call(null,q,0)}catch{return C.call(this,q,0)}}}(function(){try{C=typeof setTimeout=="function"?setTimeout:b}catch{C=b}try{s=typeof clearTimeout=="function"?clearTimeout:d}catch{s=d}})();var m,f=[],E=!1,x=-1;function A(){E&&m&&(E=!1,m.length?f=m.concat(f):x=-1,f.length&&N())}function N(){if(!E){var q=y(A);E=!0;for(var $=f.length;$;){for(m=f,f=[];++x<$;)m&&m[x].run();x=-1,$=f.length}m=null,E=!1,function(D){if(s===clearTimeout)return clearTimeout(D);if((s===d||!s)&&clearTimeout)return s=clearTimeout,clearTimeout(D);try{return s(D)}catch{try{return s.call(null,D)}catch{return s.call(this,D)}}}(q)}}function O(q,$){this.fun=q,this.array=$}function P(){}h.nextTick=function(q){var $=new Array(arguments.length-1);if(arguments.length>1)for(var B=1;B<arguments.length;B++)$[B-1]=arguments[B];f.push(new O(q,$)),f.length!==1||E||y(N)},O.prototype.run=function(){this.fun.apply(null,this.array)},h.title="browser",h.browser=!0,h.env={},h.argv=[],h.version="",h.versions={},h.on=P,h.addListener=P,h.once=P,h.off=P,h.removeListener=P,h.removeAllListeners=P,h.emit=P,h.prependListener=P,h.prependOnceListener=P,h.listeners=function(q){return[]},h.binding=function(q){throw new Error("process.binding is not supported")},h.cwd=function(){return"/"},h.chdir=function(q){throw new Error("process.chdir is not supported")},h.umask=function(){return 0}},2694:(S,C,s)=>{"use strict";var h=s(6925);function b(){}function d(){}d.resetWarningCache=b,S.exports=function(){function y(E,x,A,N,O,P){if(P!==h){var q=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw q.name="Invariant Violation",q}}function m(){return y}y.isRequired=y;var f={array:y,bigint:y,bool:y,func:y,number:y,object:y,string:y,symbol:y,any:y,arrayOf:m,element:y,elementType:y,instanceOf:m,node:y,objectOf:m,oneOf:m,oneOfType:m,shape:m,exact:m,checkPropTypes:d,resetWarningCache:b};return f.PropTypes=f,f}},5556:(S,C,s)=>{S.exports=s(2694)()},6925:S=>{"use strict";S.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},74765:S=>{"use strict";var C=String.prototype.replace,s=/%20/g,h="RFC1738",b="RFC3986";S.exports={default:b,formatters:{RFC1738:function(d){return C.call(d,s,"+")},RFC3986:function(d){return String(d)}},RFC1738:h,RFC3986:b}},55373:(S,C,s)=>{"use strict";var h=s(98636),b=s(62642),d=s(74765);S.exports={formats:d,parse:b,stringify:h}},62642:(S,C,s)=>{"use strict";var h=s(37720),b=Object.prototype.hasOwnProperty,d=Array.isArray,y={allowDots:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:h.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},m=function(x){return x.replace(/&#(\d+);/g,function(A,N){return String.fromCharCode(parseInt(N,10))})},f=function(x,A){return x&&typeof x=="string"&&A.comma&&x.indexOf(",")>-1?x.split(","):x},E=function(A,N,O,P){if(A){var q=O.allowDots?A.replace(/\.([^.[]+)/g,"[$1]"):A,$=/(\[[^[\]]*])/g,B=O.depth>0&&/(\[[^[\]]*])/.exec(q),D=B?q.slice(0,B.index):q,z=[];if(D){if(!O.plainObjects&&b.call(Object.prototype,D)&&!O
|
||
|
Use Chrome, Firefox or Internet Explorer 11`)}},25264:(S,C,s)=>{"use strict";function h(D){return h=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(z){return typeof z}:function(z){return z&&typeof Symbol=="function"&&z.constructor===Symbol&&z!==Symbol.prototype?"symbol":typeof z},h(D)}Object.defineProperty(C,"__esModule",{value:!0}),C.CopyToClipboard=void 0;var b=m(s(96540)),d=m(s(17965)),y=["text","onCopy","options","children"];function m(D){return D&&D.__esModule?D:{default:D}}function f(D,z){var W=Object.keys(D);if(Object.getOwnPropertySymbols){var G=Object.getOwnPropertySymbols(D);z&&(G=G.filter(function(Y){return Object.getOwnPropertyDescriptor(D,Y).enumerable})),W.push.apply(W,G)}return W}function E(D){for(var z=1;z<arguments.length;z++){var W=arguments[z]!=null?arguments[z]:{};z%2?f(Object(W),!0).forEach(function(G){$(D,G,W[G])}):Object.getOwnPropertyDescriptors?Object.defineProperties(D,Object.getOwnPropertyDescriptors(W)):f(Object(W)).forEach(function(G){Object.defineProperty(D,G,Object.getOwnPropertyDescriptor(W,G))})}return D}function x(D,z){if(D==null)return{};var W,G,Y=function(ae,Oe){if(ae==null)return{};var _e,Me,Re={},c=Object.keys(ae);for(Me=0;Me<c.length;Me++)_e=c[Me],Oe.indexOf(_e)>=0||(Re[_e]=ae[_e]);return Re}(D,z);if(Object.getOwnPropertySymbols){var de=Object.getOwnPropertySymbols(D);for(G=0;G<de.length;G++)W=de[G],z.indexOf(W)>=0||Object.prototype.propertyIsEnumerable.call(D,W)&&(Y[W]=D[W])}return Y}function A(D,z){for(var W=0;W<z.length;W++){var G=z[W];G.enumerable=G.enumerable||!1,G.configurable=!0,"value"in G&&(G.writable=!0),Object.defineProperty(D,G.key,G)}}function N(D,z){return N=Object.setPrototypeOf||function(G,Y){return G.__proto__=Y,G},N(D,z)}function O(D){var z=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var G,Y=q(D);if(z){var de=q(this).constructor;G=Reflect.construct(Y,arguments,de)}else G=Y.apply(this,arguments);return function(ae,Oe){if(Oe&&(h(Oe)==="object"||typeof Oe=="function"))return Oe;if(Oe!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return P(ae)}(this,G)}}function P(D){if(D===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return D}function q(D){return q=Object.setPrototypeOf?Object.getPrototypeOf:function(W){return W.__proto__||Object.getPrototypeOf(W)},q(D)}function $(D,z,W){return z in D?Object.defineProperty(D,z,{value:W,enumerable:!0,configurable:!0,writable:!0}):D[z]=W,D}var B=function(D){(function(Y,de){if(typeof de!="function"&&de!==null)throw new TypeError("Super expression must either be null or a function");Y.prototype=Object.create(de&&de.prototype,{constructor:{value:Y,writable:!0,configurable:!0}}),Object.defineProperty(Y,"prototype",{writable:!1}),de&&N(Y,de)})(W,D);var z=O(W);function W(){var G;(function(Oe,_e){if(!(Oe instanceof _e))throw new TypeError("Cannot call a class as a function")})(this,W);for(var Y=arguments.length,de=new Array(Y),Z=0;Z<Y;Z++)de[Z]=arguments[Z];return $(P(G=z.call.apply(z,[this].concat(de))),"onClick",function(ae){var Oe=G.props,_e=Oe.text,Me=Oe.onCopy,Re=Oe.children,c=Oe.options,Xe=b.default.Children.only(Re),Se=(0,d.default)(_e,c);Me&&Me(_e,Se),Xe&&Xe.props&&typeof Xe.props.onClick=="function"&&Xe.props.onClick(ae)}),G}return function(Y,de,Z){return de&&A(Y.prototype,de),Z&&A(Y,Z),Object.defineProperty(Y,"prototype",{writable:!1}),Y}(W,[{key:"render",value:function(){var Y=this.props,de=(Y.text,Y.onCopy,Y.options,Y.children),Z=x(Y,y),ae=b.default.Children.only(de);return b.default.cloneElement(ae,E(E({},Z),{},{onClick:this.onClick}))}}]),W}(b.default.PureComponent);C.CopyToClipboard=B,$(B,"defaultProps",{onCopy:void 0,options:void 0})},59399:(S,C,s)=>{"use strict";var h=s(25264).CopyToClipboard;h.CopyToClipboard=h,S.exports=h},81214:(S,C,s)=>{"use strict";function h(D){return h=typeof Symbol=="function"&&typeof Symbol
|
||
|
`+be+a}var oe=!1;function Ke(a,l){if(!a||oe)return"";oe=!0;var w=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(l)if(l=function(){throw Error()},Object.defineProperty(l.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(l,[])}catch(ze){var j=ze}Reflect.construct(a,[],l)}else{try{l.call()}catch(ze){j=ze}a.call(l.prototype)}else{try{throw Error()}catch(ze){j=ze}a()}}catch(ze){if(ze&&j&&typeof ze.stack=="string"){for(var F=ze.stack.split(`
|
||
|
`),H=j.stack.split(`
|
||
|
`),ne=F.length-1,je=H.length-1;1<=ne&&0<=je&&F[ne]!==H[je];)je--;for(;1<=ne&&0<=je;ne--,je--)if(F[ne]!==H[je]){if(ne!==1||je!==1)do if(ne--,0>--je||F[ne]!==H[je]){var Te=`
|
||
|
`+F[ne].replace(" at new "," at ");return a.displayName&&Te.includes("<anonymous>")&&(Te=Te.replace("<anonymous>",a.displayName)),Te}while(1<=ne&&0<=je);break}}}finally{oe=!1,Error.prepareStackTrace=w}return(a=a?a.displayName||a.name:"")?Ve(a):""}function ut(a){switch(a.tag){case 5:return Ve(a.type);case 16:return Ve("Lazy");case 13:return Ve("Suspense");case 19:return Ve("SuspenseList");case 0:case 2:case 15:return a=Ke(a.type,!1);case 11:return a=Ke(a.type.render,!1);case 1:return a=Ke(a.type,!0);default:return""}}function ye(a){if(a==null)return null;if(typeof a=="function")return a.displayName||a.name||null;if(typeof a=="string")return a;switch(a){case de:return"Fragment";case Y:return"Portal";case ae:return"Profiler";case Z:return"StrictMode";case Re:return"Suspense";case c:return"SuspenseList"}if(typeof a=="object")switch(a.$$typeof){case _e:return(a.displayName||"Context")+".Consumer";case Oe:return(a._context.displayName||"Context")+".Provider";case Me:var l=a.render;return(a=a.displayName)||(a=(a=l.displayName||l.name||"")!==""?"ForwardRef("+a+")":"ForwardRef"),a;case Xe:return(l=a.displayName||null)!==null?l:ye(a.type)||"Memo";case Se:l=a._payload,a=a._init;try{return ye(a(l))}catch{}}return null}function ge(a){var l=a.type;switch(a.tag){case 24:return"Cache";case 9:return(l.displayName||"Context")+".Consumer";case 10:return(l._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return a=(a=l.render).displayName||a.name||"",l.displayName||(a!==""?"ForwardRef("+a+")":"ForwardRef");case 7:return"Fragment";case 5:return l;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return ye(l);case 8:return l===Z?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof l=="function")return l.displayName||l.name||null;if(typeof l=="string")return l}return null}function rt(a){switch(typeof a){case"boolean":case"number":case"string":case"undefined":case"object":return a;default:return""}}function Ge(a){var l=a.type;return(a=a.nodeName)&&a.toLowerCase()==="input"&&(l==="checkbox"||l==="radio")}function Ut(a){a._valueTracker||(a._valueTracker=function(w){var j=Ge(w)?"checked":"value",F=Object.getOwnPropertyDescriptor(w.constructor.prototype,j),H=""+w[j];if(!w.hasOwnProperty(j)&&F!==void 0&&typeof F.get=="function"&&typeof F.set=="function"){var ne=F.get,je=F.set;return Object.defineProperty(w,j,{configurable:!0,get:function(){return ne.call(this)},set:function(Te){H=""+Te,je.call(this,Te)}}),Object.defineProperty(w,j,{enumerable:F.enumerable}),{getValue:function(){return H},setValue:function(Te){H=""+Te},stopTracking:function(){w._valueTracker=null,delete w[j]}}}}(a))}function wt(a){if(!a)return!1;var l=a._valueTracker;if(!l)return!0;var w=l.getValue(),j="";return a&&(j=Ge(a)?a.checked?"true":"false":a.value),(a=j)!==w&&(l.setValue(a),!0)}function He(a){if((a=a||(typeof document<"u"?document:void 0))===void 0)return null;try{return a.activeElement||a.body}catch{return a.body}}function gt(a,l){var w=l.checked;return Le({},l,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:w??a._wrapperState.initialChecked})}function Et(a,l){var w=l.defaultValue==null?"":l.defaultValue,j=l.checked!=null?l.checked:l.defaultChecked;w=rt(l.value!=null?l.value:w),a._wrapperState={initialChecked:j,initialValue:w,controlled:l.type==="checkbox"||l.type==="radio"?l.checked!=null:l.value!=null}}function kt(a,l){(l=l.checked)!=null&&z(a,"checked",l,!1)}function qt(a,l){kt(a,l);var w=rt(l.value),j=l.type;if(w!=null)j==="number"?(w===0&&a.value===""||a.value!=w)&&(a.value=""+w):a.value!==""+w&&(a.value=""+w);else if(j==="submit"||j==="reset")return void a.removeAttribute("value");l.hasOwnProperty("value")?Q(a,l.type,w):l.hasOwnProperty("defaultValue")&&Q(a,l.type,rt(l.defaultValue)),l.checked==null&&l.defaultChecked!=null&&(a.defaultChecked=!!l.defaultChecked)}function Ht(a,l,w){if(l.hasOwnProperty("value")||l.hasOwnP
|
||
|
`).replace(Wf,"")}function Lc(a,l,w){if(l=yh(l),yh(a)!==l&&w)throw Error(d(425))}function Rl(){}var vh=null,$s=null;function bh(a,l){return a==="textarea"||a==="noscript"||typeof l.children=="string"||typeof l.children=="number"||typeof l.dangerouslySetInnerHTML=="object"&&l.dangerouslySetInnerHTML!==null&&l.dangerouslySetInnerHTML.__html!=null}var wh=typeof setTimeout=="function"?setTimeout:void 0,P0=typeof clearTimeout=="function"?clearTimeout:void 0,Kf=typeof Promise=="function"?Promise:void 0,Eh=typeof queueMicrotask=="function"?queueMicrotask:Kf!==void 0?function(a){return Kf.resolve(null).then(a).catch(N0)}:wh;function N0(a){setTimeout(function(){throw a})}function Sh(a,l){var w=l,j=0;do{var F=w.nextSibling;if(a.removeChild(w),F&&F.nodeType===8)if((w=F.data)==="/$"){if(j===0)return a.removeChild(F),void Zo(l);j--}else w!=="$"&&w!=="$?"&&w!=="$!"||j++;w=F}while(w);Zo(l)}function ss(a){for(;a!=null;a=a.nextSibling){var l=a.nodeType;if(l===1||l===3)break;if(l===8){if((l=a.data)==="$"||l==="$!"||l==="$?")break;if(l==="/$")return null}}return a}function Jf(a){a=a.previousSibling;for(var l=0;a;){if(a.nodeType===8){var w=a.data;if(w==="$"||w==="$!"||w==="$?"){if(l===0)return a;l--}else w==="/$"&&l++}a=a.previousSibling}return null}var qs=Math.random().toString(36).slice(2),ui="__reactFiber$"+qs,ls="__reactProps$"+qs,Mi="__reactContainer$"+qs,_h="__reactEvents$"+qs,I0="__reactListeners$"+qs,T0="__reactHandles$"+qs;function cs(a){var l=a[ui];if(l)return l;for(var w=a.parentNode;w;){if(l=w[Mi]||w[ui]){if(w=l.alternate,l.child!==null||w!==null&&w.child!==null)for(a=Jf(a);a!==null;){if(w=a[ui])return w;a=Jf(a)}return l}w=(a=w).parentNode}return null}function Ml(a){return!(a=a[ui]||a[Mi])||a.tag!==5&&a.tag!==6&&a.tag!==13&&a.tag!==3?null:a}function Dl(a){if(a.tag===5||a.tag===6)return a.stateNode;throw Error(d(33))}function Fc(a){return a[ls]||null}var xh=[],zs=-1;function us(a){return{current:a}}function jn(a){0>zs||(a.current=xh[zs],xh[zs]=null,zs--)}function vn(a,l){zs++,xh[zs]=a.current,a.current=l}var ps={},Mo=us(ps),wo=us(!1),Us=ps;function Vs(a,l){var w=a.type.contextTypes;if(!w)return ps;var j=a.stateNode;if(j&&j.__reactInternalMemoizedUnmaskedChildContext===l)return j.__reactInternalMemoizedMaskedChildContext;var F,H={};for(F in w)H[F]=l[F];return j&&((a=a.stateNode).__reactInternalMemoizedUnmaskedChildContext=l,a.__reactInternalMemoizedMaskedChildContext=H),H}function zo(a){return(a=a.childContextTypes)!=null}function Ll(){jn(wo),jn(Mo)}function Fl(a,l,w){if(Mo.current!==ps)throw Error(d(168));vn(Mo,l),vn(wo,w)}function Oh(a,l,w){var j=a.stateNode;if(l=l.childContextTypes,typeof j.getChildContext!="function")return w;for(var F in j=j.getChildContext())if(!(F in l))throw Error(d(108,ge(a)||"Unknown",F));return Le({},w,j)}function Bc(a){return a=(a=a.stateNode)&&a.__reactInternalMemoizedMergedChildContext||ps,Us=Mo.current,vn(Mo,a),vn(wo,wo.current),!0}function Bl(a,l,w){var j=a.stateNode;if(!j)throw Error(d(169));w?(a=Oh(a,l,Us),j.__reactInternalMemoizedMergedChildContext=a,jn(wo),jn(Mo),vn(Mo,a)):jn(wo),vn(wo,w)}var pi=null,$c=!1,qc=!1;function kh(a){pi===null?pi=[a]:pi.push(a)}function Di(){if(!qc&&pi!==null){qc=!0;var a=0,l=qr;try{var w=pi;for(qr=1;a<w.length;a++){var j=w[a];do j=j(!0);while(j!==null)}pi=null,$c=!1}catch(F){throw pi!==null&&(pi=pi.slice(a+1)),Ur(It,Di),F}finally{qr=l,qc=!1}}return null}var Xa=[],$l=0,Vu=null,zc=0,Ea=[],Sa=0,hs=null,Qa=1,Co="";function Ws(a,l){Xa[$l++]=zc,Xa[$l++]=Vu,Vu=a,zc=l}function Wu(a,l,w){Ea[Sa++]=Qa,Ea[Sa++]=Co,Ea[Sa++]=hs,hs=a;var j=Qa;a=Co;var F=32-Jn(j)-1;j&=~(1<<F),w+=1;var H=32-Jn(l)+F;if(30<H){var ne=F-F%5;H=(j&(1<<ne)-1).toString(32),j>>=ne,F-=ne,Qa=1<<32-Jn(l)+F|w<<F|j,Co=H+a}else Qa=1<<H|w<<F|j,Co=a}function Ah(a){a.return!==null&&(Ws(a,1),Wu(a,1,0))}function Uc(a){for(;a===Vu;)Vu=Xa[--$l],Xa[$l]=null,zc=Xa[--$l],Xa[$l]=null;for(;a===hs;)hs=Ea[--Sa],Ea[Sa]=null,Co=Ea[--Sa],Ea[Sa]=null,Qa=Ea[--Sa],Ea[Sa]=null}var _a=null,xa=null,Pn=!1,jo=null;function Hf(a,l){var w=Ba(5,null,null,0);w.elementType="DELETED",w.stateNode=l,w.return=a,(l=a.deletions)===null?(a.deletions=
|
||
|
Error generating stack: `+H.message+`
|
||
|
`+H.stack}return{value:a,source:l,stack:F,digest:null}}function Xh(a,l,w){return{value:a,source:null,stack:w??null,digest:l??null}}function Lo(a,l){try{console.error(l.value)}catch(w){setTimeout(function(){throw w})}}var Qh=typeof WeakMap=="function"?WeakMap:Map;function Zh(a,l,w){(w=Bi(-1,w)).tag=3,w.payload={element:null};var j=l.value;return w.callback=function(){vp||(vp=!0,gd=j),Lo(0,l)},w}function ed(a,l,w){(w=Bi(-1,w)).tag=3;var j=a.type.getDerivedStateFromError;if(typeof j=="function"){var F=l.value;w.payload=function(){return j(F)},w.callback=function(){Lo(0,l)}}var H=a.stateNode;return H!==null&&typeof H.componentDidCatch=="function"&&(w.callback=function(){Lo(0,l),typeof j!="function"&&(gs===null?gs=new Set([this]):gs.add(this));var ne=l.stack;this.componentDidCatch(l.value,{componentStack:ne!==null?ne:""})}),w}function td(a,l,w){var j=a.pingCache;if(j===null){j=a.pingCache=new Qh;var F=new Set;j.set(l,F)}else(F=j.get(l))===void 0&&(F=new Set,j.set(l,F));F.has(w)||(F.add(w),a=$0.bind(null,a,l,w),l.then(a,a))}function Sm(a){do{var l;if((l=a.tag===13)&&(l=(l=a.memoizedState)===null||l.dehydrated!==null),l)return a;a=a.return}while(a!==null);return null}function _m(a,l,w,j,F){return 1&a.mode?(a.flags|=65536,a.lanes=F,a):(a===l?a.flags|=65536:(a.flags|=128,w.flags|=131072,w.flags&=-52805,w.tag===1&&(w.alternate===null?w.tag=17:((l=Bi(-1,1)).tag=2,$i(w,l,1))),w.lanes|=1),a)}var L0=W.ReactCurrentOwner,ia=!1;function Po(a,l,w,j){l.child=a===null?Lh(l,null,w,j):Kl(l,a.child,w,j)}function xm(a,l,w,j,F){w=w.render;var H=l.ref;return Wl(l,F),j=Qu(a,l,w,j,H,F),w=Zu(),a===null||ia?(Pn&&w&&Ah(l),l.flags|=1,Po(a,l,j,F),l.child):(l.updateQueue=a.updateQueue,l.flags&=-2053,a.lanes&=~F,zi(a,l,F))}function Om(a,l,w,j,F){if(a===null){var H=w.type;return typeof H!="function"||Ed(H)||H.defaultProps!==void 0||w.compare!==null||w.defaultProps!==void 0?((a=lc(w.type,null,j,l,l.mode,F)).ref=l.ref,a.return=l,l.child=a):(l.tag=15,l.type=H,km(a,l,H,j,F))}if(H=a.child,(a.lanes&F)==0){var ne=H.memoizedProps;if((w=(w=w.compare)!==null?w:na)(ne,j)&&a.ref===l.ref)return zi(a,l,F)}return l.flags|=1,(a=gi(H,j)).ref=l.ref,a.return=l,l.child=a}function km(a,l,w,j,F){if(a!==null){var H=a.memoizedProps;if(na(H,j)&&a.ref===l.ref){if(ia=!1,l.pendingProps=j=H,(a.lanes&F)==0)return l.lanes=a.lanes,zi(a,l,F);131072&a.flags&&(ia=!0)}}return qi(a,l,w,j,F)}function Am(a,l,w){var j=l.pendingProps,F=j.children,H=a!==null?a.memoizedState:null;if(j.mode==="hidden")if(!(1&l.mode))l.memoizedState={baseLanes:0,cachePool:null,transitions:null},vn(Qs,Ca),Ca|=w;else{if(!(1073741824&w))return a=H!==null?H.baseLanes|w:w,l.lanes=l.childLanes=1073741824,l.memoizedState={baseLanes:a,cachePool:null,transitions:null},l.updateQueue=null,vn(Qs,Ca),Ca|=a,null;l.memoizedState={baseLanes:0,cachePool:null,transitions:null},j=H!==null?H.baseLanes:w,vn(Qs,Ca),Ca|=j}else H!==null?(j=H.baseLanes|w,l.memoizedState=null):j=w,vn(Qs,Ca),Ca|=j;return Po(a,l,F,w),l.child}function rd(a,l){var w=l.ref;(a===null&&w!==null||a!==null&&a.ref!==w)&&(l.flags|=512,l.flags|=2097152)}function qi(a,l,w,j,F){var H=zo(w)?Us:Mo.current;return H=Vs(l,H),Wl(l,F),w=Qu(a,l,w,j,H,F),j=Zu(),a===null||ia?(Pn&&j&&Ah(l),l.flags|=1,Po(a,l,w,F),l.child):(l.updateQueue=a.updateQueue,l.flags&=-2053,a.lanes&=~F,zi(a,l,F))}function nd(a,l,w,j,F){if(zo(w)){var H=!0;Bc(l)}else H=!1;if(Wl(l,F),l.stateNode===null)Ql(a,l),nm(l,w,j),Ks(l,w,j,F),j=!0;else if(a===null){var ne=l.stateNode,je=l.memoizedProps;ne.props=je;var Te=ne.context,ze=w.contextType;typeof ze=="object"&&ze!==null?ze=La(ze):ze=Vs(l,ze=zo(w)?Us:Mo.current);var ot=w.getDerivedStateFromProps,at=typeof ot=="function"||typeof ne.getSnapshotBeforeUpdate=="function";at||typeof ne.UNSAFE_componentWillReceiveProps!="function"&&typeof ne.componentWillReceiveProps!="function"||(je!==j||Te!==ze)&&om(l,ne,j,ze),Fi=!1;var st=l.memoizedState;ne.state=st,Wc(l,j,ne,F),Te=l.memoizedState,je!==j||st!==Te||wo.current||Fi?(typeof ot=="function"&&(Mh(l,w,ot,j),Te=l.memoizedState),(je=Fi||Yu(l,w,je,j,st,Te,ze))?(at||typeof ne.UNSAFE_componentWillMount!="function"&&typeof ne.compon
|
||
|
`));const _e=Z-9,Me=Math.round(Math.random()*(_e>15?15:_e)),Re=this.randomUUID(_e);return`${Re.substring(0,Me)}${Oe}${Re.substring(Me)}${Me.toString(16)}`}),x(this,"parseStamp",(Z,ae)=>{if(ae&&!/t0|t[1-9]\d{1,}/.test(ae))throw new Error("Cannot extract date from a formated UUID with no timestamp in the format");const Oe=ae?ae.replace(/\$[rs]\d{0,}|\$t0|\$t[1-9]\d{1,}/g,Me=>{const Re={$r:Se=>[...Array(Se)].map(()=>"r").join(""),$s:Se=>[...Array(Se)].map(()=>"s").join(""),$t:Se=>[...Array(Se)].map(()=>"t").join("")},c=Me.slice(0,2),Xe=parseInt(Me.slice(2),10);return Re[c](Xe)}).replace(/^(.*?)(t{8,})(.*)$/g,(Me,Re,c)=>Z.substring(Re.length,Re.length+c.length)):Z;if(Oe.length===8)return new Date(1e3*parseInt(Oe,16));if(Oe.length<10)throw new Error("Stamp length invalid");const _e=parseInt(Oe.substring(Oe.length-1),16);return new Date(1e3*parseInt(Oe.substring(_e,_e+8),16))}),x(this,"setCounter",Z=>{this.counter=Z});const z=E(E({},O),D);this.counter=0,this.debug=!1,this.dict=[],this.version="5.0.3";const{dictionary:W,shuffle:G,length:Y,counter:de}=z;return this.uuidLength=Y,this.setDictionary(W,G),this.setCounter(de),this.debug=z.debug,this.log(this.dict),this.log(`Generator instantiated with Dictionary Size ${this.dictLength} and counter set to ${this.counter}`),this.log=this.log.bind(this),this.setDictionary=this.setDictionary.bind(this),this.setCounter=this.setCounter.bind(this),this.seq=this.seq.bind(this),this.sequentialUUID=this.sequentialUUID.bind(this),this.rnd=this.rnd.bind(this),this.randomUUID=this.randomUUID.bind(this),this.fmt=this.fmt.bind(this),this.formattedUUID=this.formattedUUID.bind(this),this.availableUUIDs=this.availableUUIDs.bind(this),this.approxMaxBeforeCollision=this.approxMaxBeforeCollision.bind(this),this.collisionProbability=this.collisionProbability.bind(this),this.uniqueness=this.uniqueness.bind(this),this.getVersion=this.getVersion.bind(this),this.stamp=this.stamp.bind(this),this.parseStamp=this.parseStamp.bind(this),this}};x(P,"default",P);var q,$=P;return q=A,((B,D,z,W)=>{if(D&&typeof D=="object"||typeof D=="function")for(let G of b(D))y.call(B,G)||G===z||s(B,G,{get:()=>D[G],enumerable:!(W=h(D,G))||W.enumerable});return B})(s({},"__esModule",{value:!0}),q)})();S.exports=C.default,typeof window<"u"&&(C=C.default)},920:(S,C,s)=>{"use strict";var h=s(70453),b=s(38075),d=s(58859),y=h("%TypeError%"),m=h("%WeakMap%",!0),f=h("%Map%",!0),E=b("WeakMap.prototype.get",!0),x=b("WeakMap.prototype.set",!0),A=b("WeakMap.prototype.has",!0),N=b("Map.prototype.get",!0),O=b("Map.prototype.set",!0),P=b("Map.prototype.has",!0),q=function($,B){for(var D,z=$;(D=z.next)!==null;z=D)if(D.key===B)return z.next=D.next,D.next=$.next,$.next=D,D};S.exports=function(){var B,D,z,W={assert:function(G){if(!W.has(G))throw new y("Side channel does not contain "+d(G))},get:function(G){if(m&&G&&(typeof G=="object"||typeof G=="function")){if(B)return E(B,G)}else if(f){if(D)return N(D,G)}else if(z)return function(Y,de){var Z=q(Y,de);return Z&&Z.value}(z,G)},has:function(G){if(m&&G&&(typeof G=="object"||typeof G=="function")){if(B)return A(B,G)}else if(f){if(D)return P(D,G)}else if(z)return function(Y,de){return!!q(Y,de)}(z,G);return!1},set:function(G,Y){m&&G&&(typeof G=="object"||typeof G=="function")?(B||(B=new m),x(B,G,Y)):f?(D||(D=new f),O(D,G,Y)):(z||(z={key:{},next:null}),function(de,Z,ae){var Oe=q(de,Z);Oe?Oe.value=ae:de.next={key:Z,next:de.next,value:ae}}(z,G,Y))}};return W}},12646:S=>{(function(){"use strict";var C,s,h,b,d,y="properties",m="deepProperties",f="propertyDescriptors",E="staticProperties",x="staticDeepProperties",A="staticPropertyDescriptors",N="configuration",O="deepConfiguration",P="deepProps",q="deepStatics",$="deepConf",B="initializers",D="methods",z="composers",W="compose";function G(qe){return Object.getOwnPropertyNames(qe).concat(Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(qe):[])}function Y(qe,ue){return Array.prototype.slice.call(arguments,2).reduce(qe,ue)}var de=Y.bind(0,function(ue,be){if(be)for(var Le=G(be),Ve=0;Ve<Le.length;Ve+=1)Object.defineProperty(ue,Le[Ve],Object.getOwnPropertyDes
|
||
|
`)}},31499:S=>{var C={"&":"&",'"':""","'":"'","<":"<",">":">"};S.exports=function(h){return h&&h.replace?h.replace(/([&"<>'])/g,function(b,d){return C[d]}):h}},19123:(S,C,s)=>{var h=s(65606),b=s(31499),d=s(88310).Stream;function y(f,E,x){var A,N=function(z,W){return new Array(W||0).join(z||"")}(E,x=x||0),O=f;if(typeof f=="object"&&(O=f[A=Object.keys(f)[0]])&&O._elem)return O._elem.name=A,O._elem.icount=x,O._elem.indent=E,O._elem.indents=N,O._elem.interrupt=O,O._elem;var P,q=[],$=[];function B(D){Object.keys(D).forEach(function(z){q.push(function(G,Y){return G+'="'+b(Y)+'"'}(z,D[z]))})}switch(typeof O){case"object":if(O===null)break;O._attr&&B(O._attr),O._cdata&&$.push(("<![CDATA["+O._cdata).replace(/\]\]>/g,"]]]]><![CDATA[>")+"]]>"),O.forEach&&(P=!1,$.push(""),O.forEach(function(D){typeof D=="object"?Object.keys(D)[0]=="_attr"?B(D._attr):$.push(y(D,E,x+1)):($.pop(),P=!0,$.push(b(D)))}),P||$.push(""));break;default:$.push(b(O))}return{name:A,interrupt:!1,attributes:q,content:$,icount:x,indents:N,indent:E}}function m(f,E,x){if(typeof E!="object")return f(!1,E);var A=E.interrupt?1:E.content.length;function N(){for(;E.content.length;){var P=E.content.shift();if(P!==void 0){if(O(P))return;m(f,P)}}f(!1,(A>1?E.indents:"")+(E.name?"</"+E.name+">":"")+(E.indent&&!x?`
|
||
|
`:"")),x&&x()}function O(P){return!!P.interrupt&&(P.interrupt.append=f,P.interrupt.end=N,P.interrupt=!1,f(!0),!0)}if(f(!1,E.indents+(E.name?"<"+E.name:"")+(E.attributes.length?" "+E.attributes.join(" "):"")+(A?E.name?">":"":E.name?"/>":"")+(E.indent&&A>1?`
|
||
|
`:"")),!A)return f(!1,E.indent?`
|
||
|
`:"");O(E)||N()}S.exports=function(E,x){typeof x!="object"&&(x={indent:x});var A=x.stream?new d:null,N="",O=!1,P=x.indent?x.indent===!0?" ":x.indent:"",q=!0;function $(W){q?h.nextTick(W):W()}function B(W,G){if(G!==void 0&&(N+=G),W&&!O&&(A=A||new d,O=!0),W&&O){var Y=N;$(function(){A.emit("data",Y)}),N=""}}function D(W,G){m(B,y(W,P,P?1:0),G)}function z(){if(A){var W=N;$(function(){A.emit("data",W),A.emit("end"),A.readable=!1,A.emit("close")})}}return $(function(){q=!1}),x.declaration&&function(G){var Y={version:"1.0",encoding:G.encoding||"UTF-8"};G.standalone&&(Y.standalone=G.standalone),D({"?xml":{_attr:Y}}),N=N.replace("/>","?>")}(x.declaration),E&&E.forEach?E.forEach(function(W,G){var Y;G+1===E.length&&(Y=z),D(W,Y)}):D(E,z),A?(A.readable=!0,A):N},S.exports.element=S.exports.Element=function(){var E={_elem:y(Array.prototype.slice.call(arguments)),push:function(x){if(!this.append)throw new Error("not assigned to a parent!");var A=this,N=this._elem.indent;m(this.append,y(x,N,this._elem.icount+(N?1:0)),function(){A.append(!0)})},close:function(x){x!==void 0&&this.push(x),this.end&&this.end()}};return E}},86215:function(S,C){var s,h,b;h=[],s=function(){"use strict";var d=function(O){return O&&"getComputedStyle"in window&&window.getComputedStyle(O)["scroll-behavior"]==="smooth"};if(typeof window>"u"||!("document"in window))return{};var y=function(O,P,q){var $;P=P||999,q||q===0||(q=9);var B=function(Z){$=Z},D=function(){clearTimeout($),B(0)},z=function(Z){return Math.max(0,O.getTopOf(Z)-q)},W=function(Z,ae,Oe){if(D(),ae===0||ae&&ae<0||d(O.body))O.toY(Z),Oe&&Oe();else{var _e=O.getY(),Me=Math.max(0,Z)-_e,Re=new Date().getTime();ae=ae||Math.min(Math.abs(Me),P),function c(){B(setTimeout(function(){var Xe=Math.min(1,(new Date().getTime()-Re)/ae),Se=Math.max(0,Math.floor(_e+Me*(Xe<.5?2*Xe*Xe:Xe*(4-2*Xe)-1)));O.toY(Se),Xe<1&&O.getHeight()+Se<O.body.scrollHeight?c():(setTimeout(D,99),Oe&&Oe())},9))}()}},G=function(Z,ae,Oe){W(z(Z),ae,Oe)},Y=function(Z,ae,Oe){var _e=Z.getBoundingClientRect().height,Me=O.getTopOf(Z)+_e,Re=O.getHeight(),c=O.getY(),Xe=c+Re;z(Z)<c||_e+q>Re?G(Z,ae,Oe):Me+q>Xe?W(Me-Re+q,ae,Oe):Oe&&Oe()},de=function(Z,ae,Oe,_e){W(Math.max(0,O.getTopOf(Z)-O.getHeight()/2+(Oe||Z.getBoundingClientRect().height/2)),ae,_e)};return{setup:function(Z,ae){return(Z===0||Z)&&(P=Z),(ae===0||ae)&&(q=ae),{defaultDuration:P,edgeOffset:q}},to:G,toY:W,intoView:Y,center:de,stop:D,moving:function(){return!!$},getY:O.getY,getTopOf:O.getTopOf}},m=document.documentElement,f=function(){return window.scrollY||m.scrollTop},E=y({body:document.scrollingElement||document.body,toY:function(O){window.scrollTo(0,O)},getY:f,getHeight:function(){return window.innerHeight||m.clientHeight},getTopOf:function(O){return O.getBoundingClientRect().top+f()-m.offsetTop}});if(E.createScroller=function(O,P,q){return y({body:O,toY:function($){O.scrollTop=$},getY:function(){return O.scrollTop},getHeight:function(){return Math.min(O.clientHeight,window.innerHeight||m.clientHeight)},getTopOf:function($){return $.offsetTop}},P,q)},"addEventListener"in window&&!window.noZensmooth&&!d(document.body)){var x="history"in window&&"pushState"in history,A=x&&"scrollRestoration"in history;A&&(history.scrollRestoration="auto"),window.addEventListener("load",function(){A&&(setTimeout(function(){history.scrollRestoration="manual"},9),window.addEventListener("popstate",function(O){O.state&&"zenscrollY"in O.state&&E.toY(O.state.zenscrollY)},!1)),window.location.hash&&setTimeout(function(){var O=E.setup().edgeOffset;if(O){var P=document.getElementById(window.location.href.split("#")[1]);if(P){var q=Math.max(0,E.getTopOf(P)-O),$=E.getY()-q;0<=$&&$<9&&window.scrollTo(0,q)}}},9)},!1);var N=new RegExp("(^|\\s)noZensmooth(\\s|$)");window.addEventListener("click",function(O){for(var P=O.target;P&&P.tagName!=="A";)P=P.parentNode;if(!(!P||O.which!==1||O.shiftKey||O.metaKey||O.ctrlKey||O.altKey)){if(A){var q=history.state&&typeof history.state=="object"?history.state:{};q.zenscrollY=E.getY();try{history.replaceState(q,"")}catch{}}var $=P.getAttribute("href")||"";if($.indexOf("#")===0&&!N.test(P
|
||
|
|
||
|
`+t.mark.snippet),n+" "+r):n}function Zi(t,e){Error.call(this),this.name="YAMLException",this.reason=t,this.mark=e,this.message=Cc(this,!1),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack||""}Zi.prototype=Object.create(Error.prototype),Zi.prototype.constructor=Zi,Zi.prototype.toString=function(e){return this.name+": "+Cc(this,e)};var cn=Zi;function Ln(t,e,r,n,o){var i="",p="",u=Math.floor(o/2)-1;return n-e>u&&(e=n-u+(i=" ... ").length),r-n>u&&(r=n+u-(p=" ...").length),{str:i+t.slice(e,r).replace(/\t/g,"\u2192")+p,pos:n-e+i.length}}function es(t,e){return Dn.repeat(" ",e-t.length)+t}var Mu=function(e,r){if(r=Object.create(r||null),!e.buffer)return null;r.maxLength||(r.maxLength=79),typeof r.indent!="number"&&(r.indent=1),typeof r.linesBefore!="number"&&(r.linesBefore=3),typeof r.linesAfter!="number"&&(r.linesAfter=2);for(var n,o=/\r?\n|\r|\0/g,i=[0],p=[],u=-1;n=o.exec(e.buffer);)p.push(n.index),i.push(n.index+n[0].length),e.position<=n.index&&u<0&&(u=i.length-2);u<0&&(u=i.length-1);var g,_,k="",I=Math.min(e.line+r.linesAfter,p.length).toString().length,L=r.maxLength-(r.indent+I+3);for(g=1;g<=r.linesBefore&&!(u-g<0);g++)_=Ln(e.buffer,i[u-g],p[u-g],e.position-(i[u]-i[u-g]),L),k=Dn.repeat(" ",r.indent)+es((e.line-g+1).toString(),I)+" | "+_.str+`
|
||
|
`+k;for(_=Ln(e.buffer,i[u],p[u],e.position,L),k+=Dn.repeat(" ",r.indent)+es((e.line+1).toString(),I)+" | "+_.str+`
|
||
|
`,k+=Dn.repeat("-",r.indent+I+3+_.pos)+`^
|
||
|
`,g=1;g<=r.linesAfter&&!(u+g>=p.length);g++)_=Ln(e.buffer,i[u+g],p[u+g],e.position-(i[u]-i[u+g]),L),k+=Dn.repeat(" ",r.indent)+es((e.line+g+1).toString(),I)+" | "+_.str+`
|
||
|
`;return k.replace(/\n$/,"")},Du=["kind","multi","resolve","construct","instanceOf","predicate","represent","representName","defaultStyle","styleAliases"],hh=["scalar","sequence","mapping"],Cr=function(e,r){if(r=r||{},Object.keys(r).forEach(function(n){if(Du.indexOf(n)===-1)throw new cn('Unknown option "'+n+'" is met in definition of "'+e+'" YAML type.')}),this.options=r,this.tag=e,this.kind=r.kind||null,this.resolve=r.resolve||function(){return!0},this.construct=r.construct||function(n){return n},this.instanceOf=r.instanceOf||null,this.predicate=r.predicate||null,this.represent=r.represent||null,this.representName=r.representName||null,this.defaultStyle=r.defaultStyle||null,this.multi=r.multi||!1,this.styleAliases=function(o){var i={};return o!==null&&Object.keys(o).forEach(function(p){o[p].forEach(function(u){i[String(u)]=p})}),i}(r.styleAliases||null),hh.indexOf(this.kind)===-1)throw new cn('Unknown kind "'+this.kind+'" is specified for "'+e+'" YAML type.')};function jl(t,e){var r=[];return t[e].forEach(function(n){var o=r.length;r.forEach(function(i,p){i.tag===n.tag&&i.kind===n.kind&&i.multi===n.multi&&(o=p)}),r[o]=n}),r}function Pl(t){return this.extend(t)}Pl.prototype.extend=function(e){var r=[],n=[];if(e instanceof Cr)n.push(e);else if(Array.isArray(e))n=n.concat(e);else{if(!e||!Array.isArray(e.implicit)&&!Array.isArray(e.explicit))throw new cn("Schema.extend argument should be a Type, [ Type ], or a schema definition ({ implicit: [...], explicit: [...] })");e.implicit&&(r=r.concat(e.implicit)),e.explicit&&(n=n.concat(e.explicit))}r.forEach(function(i){if(!(i instanceof Cr))throw new cn("Specified list of YAML types (or a single Type object) contains a non-Type object.");if(i.loadKind&&i.loadKind!=="scalar")throw new cn("There is a non-scalar type in the implicit list of a schema. Implicit resolving of such types is not supported.");if(i.multi)throw new cn("There is a multi type in the implicit list of a schema. Multi tags can only be listed as explicit.")}),n.forEach(function(i){if(!(i instanceof Cr))throw new cn("Specified list of YAML types (or a single Type object) contains a non-Type object.")});var o=Object.create(Pl.prototype);return o.implicit=(this.implicit||[]).concat(r),o.explicit=(this.explicit||[]).concat(n),o.compiledImplicit=jl(o,"implicit"),o.compiledExplicit=jl(o,"explicit"),o.compiledTypeMap=function(){var p,u,g={scalar:{},sequence:{},mapping:{},fallback:{},multi:{scalar:[],sequence:[],mapping:[],fallback:[]}};function _(k){k.multi?(g.multi[k.kind].push(k),g.multi.fallback.push(k)):g[k.kind][k.tag]=g.fallback[k.tag]=k}for(p=0,u=arguments.length;p<u;p+=1)arguments[p].forEach(_);return g}(o.compiledImplicit,o.compiledExplicit),o};var jc=Pl,bo=new Cr("tag:yaml.org,2002:str",{kind:"scalar",construct:function(t){return t!==null?t:""}}),li=new Cr("tag:yaml.org,2002:seq",{kind:"sequence",construct:function(t){return t!==null?t:[]}}),Pc=new Cr("tag:yaml.org,2002:map",{kind:"mapping",construct:function(t){return t!==null?t:{}}}),Ds=new jc({explicit:[bo,li,Pc]}),ta=new Cr("tag:yaml.org,2002:null",{kind:"scalar",resolve:function(e){if(e===null)return!0;var r=e.length;return r===1&&e==="~"||r===4&&(e==="null"||e==="Null"||e==="NULL")},construct:function(){return null},predicate:function(e){return e===null},represent:{canonical:function(){return"~"},lowercase:function(){return"null"},uppercase:function(){return"NULL"},camelcase:function(){return"Null"},empty:function(){return""}},defaultStyle:"lowercase"}),Nl=new Cr("tag:yaml.org,2002:bool",{kind:"scalar",resolve:function(e){if(e===null)return!1;var r=e.length;return r===4&&(e==="true"||e==="True"||e==="TRUE")||r===5&&(e==="false"||e==="False"||e==="FALSE")},construct:function(e){return e==="true"||e==="True"||e==="TRUE"},predicate:function(e){return Object.prototype.toString.call(e)==="[object Boolean]"},represent:{lowercase:function(t){return t?"true":"false"},uppercase:function(t){return t?"TRUE":"FALSE"},camelcase:function(t){return t?"True":"False"}},defaultStyle:"lowercase"});function Nc(t){return 48<=t&&t<=55}function Ls(t){return 48<=t&&t<=57}var ci=
|
||
|
\r`,Ti=new Cr("tag:yaml.org,2002:binary",{kind:"scalar",resolve:function(e){if(e===null)return!1;var r,n,o=0,i=e.length,p=eo;for(n=0;n<i;n++)if(!((r=p.indexOf(e.charAt(n)))>64)){if(r<0)return!1;o+=6}return o%8==0},construct:function(e){var r,n,o=e.replace(/[\r\n=]/g,""),i=o.length,p=eo,u=0,g=[];for(r=0;r<i;r++)r%4==0&&r&&(g.push(u>>16&255),g.push(u>>8&255),g.push(255&u)),u=u<<6|p.indexOf(o.charAt(r));return(n=i%4*6)===0?(g.push(u>>16&255),g.push(u>>8&255),g.push(255&u)):n===18?(g.push(u>>10&255),g.push(u>>2&255)):n===12&&g.push(u>>4&255),new Uint8Array(g)},predicate:function(e){return Object.prototype.toString.call(e)==="[object Uint8Array]"},represent:function(e){var r,n,o="",i=0,p=e.length,u=eo;for(r=0;r<p;r++)r%3==0&&r&&(o+=u[i>>18&63],o+=u[i>>12&63],o+=u[i>>6&63],o+=u[63&i]),i=(i<<8)+e[r];return(n=p%3)===0?(o+=u[i>>18&63],o+=u[i>>12&63],o+=u[i>>6&63],o+=u[63&i]):n===2?(o+=u[i>>10&63],o+=u[i>>4&63],o+=u[i<<2&63],o+=u[64]):n===1&&(o+=u[i>>2&63],o+=u[i<<4&63],o+=u[64],o+=u[64]),o}}),Lu=Object.prototype.hasOwnProperty,Fu=Object.prototype.toString,rs=new Cr("tag:yaml.org,2002:omap",{kind:"sequence",resolve:function(e){if(e===null)return!0;var r,n,o,i,p,u=[],g=e;for(r=0,n=g.length;r<n;r+=1){if(o=g[r],p=!1,Fu.call(o)!=="[object Object]")return!1;for(i in o)if(Lu.call(o,i)){if(p)return!1;p=!0}if(!p||u.indexOf(i)!==-1)return!1;u.push(i)}return!0},construct:function(e){return e!==null?e:[]}}),Bu=Object.prototype.toString,Tc=new Cr("tag:yaml.org,2002:pairs",{kind:"sequence",resolve:function(e){if(e===null)return!0;var r,n,o,i,p,u=e;for(p=new Array(u.length),r=0,n=u.length;r<n;r+=1){if(o=u[r],Bu.call(o)!=="[object Object]"||(i=Object.keys(o)).length!==1)return!1;p[r]=[i[0],o[i[0]]]}return!0},construct:function(e){if(e===null)return[];var r,n,o,i,p,u=e;for(p=new Array(u.length),r=0,n=u.length;r<n;r+=1)o=u[r],i=Object.keys(o),p[r]=[i[0],o[i[0]]];return p}}),dh=Object.prototype.hasOwnProperty,Rc=new Cr("tag:yaml.org,2002:set",{kind:"mapping",resolve:function(e){if(e===null)return!0;var r,n=e;for(r in n)if(dh.call(n,r)&&n[r]!==null)return!1;return!0},construct:function(e){return e!==null?e:{}}}),qo=Ni.extend({implicit:[Tl,ra],explicit:[Ti,rs,Tc,Rc]}),na=Object.prototype.hasOwnProperty,ns=1,v=2,T=3,J=4,ee=1,re=2,Ee=3,Ie=/[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,We=/[\x85\u2028\u2029]/,pt=/[,\[\]\{\}]/,ct=/^(?:!|!!|![a-z\-]+!)$/i,yt=/^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;function Dt(t){return Object.prototype.toString.call(t)}function Pt(t){return t===10||t===13}function sr(t){return t===9||t===32}function lr(t){return t===9||t===32||t===10||t===13}function Gr(t){return t===44||t===91||t===93||t===123||t===125}function oa(t){var e;return 48<=t&&t<=57?t-48:97<=(e=32|t)&&e<=102?e-97+10:-1}function aa(t){return t===48?"\0":t===97?"\x07":t===98?"\b":t===116||t===9?" ":t===110?`
|
||
|
`:t===118?"\v":t===102?"\f":t===114?"\r":t===101?"\x1B":t===32?" ":t===34?'"':t===47?"/":t===92?"\\":t===78?"\x85":t===95?"\xA0":t===76?"\u2028":t===80?"\u2029":""}function Fs(t){return t<=65535?String.fromCharCode(t):String.fromCharCode(55296+(t-65536>>10),56320+(t-65536&1023))}for(var fh=new Array(256),mh=new Array(256),Bs=0;Bs<256;Bs++)fh[Bs]=aa(Bs)?1:0,mh[Bs]=aa(Bs);function os(t,e){this.input=t,this.filename=e.filename||null,this.schema=e.schema||qo,this.onWarning=e.onWarning||null,this.legacy=e.legacy||!1,this.json=e.json||!1,this.listener=e.listener||null,this.implicitTypes=this.schema.compiledImplicit,this.typeMap=this.schema.compiledTypeMap,this.length=t.length,this.position=0,this.line=0,this.lineStart=0,this.lineIndent=0,this.firstTabInLine=-1,this.documents=[]}function $u(t,e){var r={name:t.filename,buffer:t.input.slice(0,-1),position:t.position,line:t.line,column:t.position-t.lineStart};return r.snippet=Mu(r),new cn(e,r)}function rr(t,e){throw $u(t,e)}function as(t,e){t.onWarning&&t.onWarning.call(null,$u(t,e))}var zf={YAML:function(e,r,n){var o,i,p;e.version!==null&&rr(e,"duplication of %YAML directive"),n.length!==1&&rr(e,"YAML directive accepts exactly one argument"),(o=/^([0-9]+)\.([0-9]+)$/.exec(n[0]))===null&&rr(e,"ill-formed argument of the YAML directive"),i=parseInt(o[1],10),p=parseInt(o[2],10),i!==1&&rr(e,"unacceptable YAML version of the document"),e.version=n[0],e.checkLineBreaks=p<2,p!==1&&p!==2&&as(e,"unsupported YAML version of the document")},TAG:function(e,r,n){var o,i;n.length!==2&&rr(e,"TAG directive accepts exactly two arguments"),o=n[0],i=n[1],ct.test(o)||rr(e,"ill-formed tag handle (first argument) of the TAG directive"),na.call(e.tagMap,o)&&rr(e,'there is a previously declared suffix for "'+o+'" tag handle'),yt.test(i)||rr(e,"ill-formed tag prefix (second argument) of the TAG directive");try{i=decodeURIComponent(i)}catch{rr(e,"tag prefix is malformed: "+i)}e.tagMap[o]=i}};function Ri(t,e,r,n){var o,i,p,u;if(e<r){if(u=t.input.slice(e,r),n)for(o=0,i=u.length;o<i;o+=1)(p=u.charCodeAt(o))===9||32<=p&&p<=1114111||rr(t,"expected valid JSON character");else Ie.test(u)&&rr(t,"the stream contains non-printable characters");t.result+=u}}function gh(t,e,r,n){var o,i,p,u;for(Dn.isObject(r)||rr(t,"cannot merge mappings; the provided source object is unacceptable"),p=0,u=(o=Object.keys(r)).length;p<u;p+=1)i=o[p],na.call(e,i)||(e[i]=r[i],n[i]=!0)}function sn(t,e,r,n,o,i,p,u,g){var _,k;if(Array.isArray(o))for(_=0,k=(o=Array.prototype.slice.call(o)).length;_<k;_+=1)Array.isArray(o[_])&&rr(t,"nested arrays are not supported inside keys"),typeof o=="object"&&Dt(o[_])==="[object Object]"&&(o[_]="[object Object]");if(typeof o=="object"&&Dt(o)==="[object Object]"&&(o="[object Object]"),o=String(o),e===null&&(e={}),n==="tag:yaml.org,2002:merge")if(Array.isArray(i))for(_=0,k=i.length;_<k;_+=1)gh(t,e,i[_],r);else gh(t,e,i,r);else t.json||na.call(r,o)||!na.call(e,o)||(t.line=p||t.line,t.lineStart=u||t.lineStart,t.position=g||t.position,rr(t,"duplicated mapping key")),o==="__proto__"?Object.defineProperty(e,o,{configurable:!0,enumerable:!0,writable:!0,value:i}):e[o]=i,delete r[o];return e}function Mc(t){var e;(e=t.input.charCodeAt(t.position))===10?t.position++:e===13?(t.position++,t.input.charCodeAt(t.position)===10&&t.position++):rr(t,"a line break is expected"),t.line+=1,t.lineStart=t.position,t.firstTabInLine=-1}function Bn(t,e,r){for(var n=0,o=t.input.charCodeAt(t.position);o!==0;){for(;sr(o);)o===9&&t.firstTabInLine===-1&&(t.firstTabInLine=t.position),o=t.input.charCodeAt(++t.position);if(e&&o===35)do o=t.input.charCodeAt(++t.position);while(o!==10&&o!==13&&o!==0);if(!Pt(o))break;for(Mc(t),o=t.input.charCodeAt(t.position),n++,t.lineIndent=0;o===32;)t.lineIndent++,o=t.input.charCodeAt(++t.position)}return r!==-1&&n!==0&&t.lineIndent<r&&as(t,"deficient indentation"),n}function is(t){var e,r=t.position;return!((e=t.input.charCodeAt(r))!==45&&e!==46||e!==t.input.charCodeAt(r+1)||e!==t.input.charCodeAt(r+2)||(r+=3,(e=t.input.charCodeAt(r))!==0&&!lr(e)))}function qu(t,e){e===1?t.result+=" ":e>1&&(t.result+=Dn.r
|
||
|
`,e-1))}function zu(t,e){var r,n,o=t.tag,i=t.anchor,p=[],u=!1;if(t.firstTabInLine!==-1)return!1;for(t.anchor!==null&&(t.anchorMap[t.anchor]=p),n=t.input.charCodeAt(t.position);n!==0&&(t.firstTabInLine!==-1&&(t.position=t.firstTabInLine,rr(t,"tab characters must not be used in indentation")),n===45)&&lr(t.input.charCodeAt(t.position+1));)if(u=!0,t.position++,Bn(t,!0,-1)&&t.lineIndent<=e)p.push(null),n=t.input.charCodeAt(t.position);else if(r=t.line,Ya(t,e,T,!1,!0),p.push(t.result),Bn(t,!0,-1),n=t.input.charCodeAt(t.position),(t.line===r||t.lineIndent>e)&&n!==0)rr(t,"bad indentation of a sequence entry");else if(t.lineIndent<e)break;return!!u&&(t.tag=o,t.anchor=i,t.kind="sequence",t.result=p,!0)}function Dc(t){var e,r,n,o,i=!1,p=!1;if((o=t.input.charCodeAt(t.position))!==33)return!1;if(t.tag!==null&&rr(t,"duplication of a tag property"),(o=t.input.charCodeAt(++t.position))===60?(i=!0,o=t.input.charCodeAt(++t.position)):o===33?(p=!0,r="!!",o=t.input.charCodeAt(++t.position)):r="!",e=t.position,i){do o=t.input.charCodeAt(++t.position);while(o!==0&&o!==62);t.position<t.length?(n=t.input.slice(e,t.position),o=t.input.charCodeAt(++t.position)):rr(t,"unexpected end of the stream within a verbatim tag")}else{for(;o!==0&&!lr(o);)o===33&&(p?rr(t,"tag suffix cannot contain exclamation marks"):(r=t.input.slice(e-1,t.position+1),ct.test(r)||rr(t,"named tag handle cannot contain such characters"),p=!0,e=t.position+1)),o=t.input.charCodeAt(++t.position);n=t.input.slice(e,t.position),pt.test(n)&&rr(t,"tag suffix cannot contain flow indicator characters")}n&&!yt.test(n)&&rr(t,"tag name cannot contain such characters: "+n);try{n=decodeURIComponent(n)}catch{rr(t,"tag name is malformed: "+n)}return i?t.tag=n:na.call(t.tagMap,r)?t.tag=t.tagMap[r]+n:r==="!"?t.tag="!"+n:r==="!!"?t.tag="tag:yaml.org,2002:"+n:rr(t,'undeclared tag handle "'+r+'"'),!0}function Uu(t){var e,r;if((r=t.input.charCodeAt(t.position))!==38)return!1;for(t.anchor!==null&&rr(t,"duplication of an anchor property"),r=t.input.charCodeAt(++t.position),e=t.position;r!==0&&!lr(r)&&!Gr(r);)r=t.input.charCodeAt(++t.position);return t.position===e&&rr(t,"name of an anchor node must contain at least one character"),t.anchor=t.input.slice(e,t.position),!0}function Ya(t,e,r,n,o){var i,p,u,g,_,k,I,L,M,U=1,X=!1,te=!1;if(t.listener!==null&&t.listener("open",t),t.tag=null,t.anchor=null,t.kind=null,t.result=null,i=p=u=J===r||T===r,n&&Bn(t,!0,-1)&&(X=!0,t.lineIndent>e?U=1:t.lineIndent===e?U=0:t.lineIndent<e&&(U=-1)),U===1)for(;Dc(t)||Uu(t);)Bn(t,!0,-1)?(X=!0,u=i,t.lineIndent>e?U=1:t.lineIndent===e?U=0:t.lineIndent<e&&(U=-1)):u=!1;if(u&&(u=X||o),U!==1&&J!==r||(L=ns===r||v===r?e:e+1,M=t.position-t.lineStart,U===1?u&&(zu(t,M)||function(V,se,ce){var me,we,he,Ne,xe,Ae,ve,Ce=V.tag,ke=V.anchor,$e={},lt=Object.create(null),Ct=null,nr=null,Wt=null,$t=!1,Jt=!1;if(V.firstTabInLine!==-1)return!1;for(V.anchor!==null&&(V.anchorMap[V.anchor]=$e),ve=V.input.charCodeAt(V.position);ve!==0;){if($t||V.firstTabInLine===-1||(V.position=V.firstTabInLine,rr(V,"tab characters must not be used in indentation")),me=V.input.charCodeAt(V.position+1),he=V.line,ve!==63&&ve!==58||!lr(me)){if(Ne=V.line,xe=V.lineStart,Ae=V.position,!Ya(V,ce,v,!1,!0))break;if(V.line===he){for(ve=V.input.charCodeAt(V.position);sr(ve);)ve=V.input.charCodeAt(++V.position);if(ve===58)lr(ve=V.input.charCodeAt(++V.position))||rr(V,"a whitespace character is expected after the key-value separator within a block mapping"),$t&&(sn(V,$e,lt,Ct,nr,null,Ne,xe,Ae),Ct=nr=Wt=null),Jt=!0,$t=!1,we=!1,Ct=V.tag,nr=V.result;else{if(!Jt)return V.tag=Ce,V.anchor=ke,!0;rr(V,"can not read an implicit mapping pair; a colon is missed")}}else{if(!Jt)return V.tag=Ce,V.anchor=ke,!0;rr(V,"can not read a block mapping entry; a multiline key may not be an implicit key")}}else ve===63?($t&&(sn(V,$e,lt,Ct,nr,null,Ne,xe,Ae),Ct=nr=Wt=null),Jt=!0,$t=!0,we=!0):$t?($t=!1,we=!0):rr(V,"incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"),V.position+=1,ve=me;if((V.line===he||V.lineIndent>se)&&($t&&(Ne=V.line,xe=V.lineStart,Ae=V.position),
|
||
|
`,Ae?1+ke:ke):xe===ee&&Ae&&(V.result+=`
|
||
|
`);break}for(me?sr(he)?($e=!0,V.result+=Dn.repeat(`
|
||
|
`,Ae?1+ke:ke)):$e?($e=!1,V.result+=Dn.repeat(`
|
||
|
`,ke+1)):ke===0?Ae&&(V.result+=" "):V.result+=Dn.repeat(`
|
||
|
`,ke):V.result+=Dn.repeat(`
|
||
|
`,Ae?1+ke:ke),Ae=!0,ve=!0,ke=0,ce=V.position;!Pt(he)&&he!==0;)he=V.input.charCodeAt(++V.position);Ri(V,ce,V.position,!1)}}return!0}(t,L)||function(V,se){var ce,me,we;if((ce=V.input.charCodeAt(V.position))!==39)return!1;for(V.kind="scalar",V.result="",V.position++,me=we=V.position;(ce=V.input.charCodeAt(V.position))!==0;)if(ce===39){if(Ri(V,me,V.position,!0),(ce=V.input.charCodeAt(++V.position))!==39)return!0;me=V.position,V.position++,we=V.position}else Pt(ce)?(Ri(V,me,we,!0),qu(V,Bn(V,!1,se)),me=we=V.position):V.position===V.lineStart&&is(V)?rr(V,"unexpected end of the document within a single quoted scalar"):(V.position++,we=V.position);rr(V,"unexpected end of the stream within a single quoted scalar")}(t,L)||function(V,se){var ce,me,we,he,Ne,xe,Ae;if((xe=V.input.charCodeAt(V.position))!==34)return!1;for(V.kind="scalar",V.result="",V.position++,ce=me=V.position;(xe=V.input.charCodeAt(V.position))!==0;){if(xe===34)return Ri(V,ce,V.position,!0),V.position++,!0;if(xe===92){if(Ri(V,ce,V.position,!0),Pt(xe=V.input.charCodeAt(++V.position)))Bn(V,!1,se);else if(xe<256&&fh[xe])V.result+=mh[xe],V.position++;else if((Ne=(Ae=xe)===120?2:Ae===117?4:Ae===85?8:0)>0){for(we=Ne,he=0;we>0;we--)(Ne=oa(xe=V.input.charCodeAt(++V.position)))>=0?he=(he<<4)+Ne:rr(V,"expected hexadecimal character");V.result+=Fs(he),V.position++}else rr(V,"unknown escape sequence");ce=me=V.position}else Pt(xe)?(Ri(V,ce,me,!0),qu(V,Bn(V,!1,se)),ce=me=V.position):V.position===V.lineStart&&is(V)?rr(V,"unexpected end of the document within a double quoted scalar"):(V.position++,me=V.position)}rr(V,"unexpected end of the stream within a double quoted scalar")}(t,L)?te=!0:function(V){var se,ce,me;if((me=V.input.charCodeAt(V.position))!==42)return!1;for(me=V.input.charCodeAt(++V.position),se=V.position;me!==0&&!lr(me)&&!Gr(me);)me=V.input.charCodeAt(++V.position);return V.position===se&&rr(V,"name of an alias node must contain at least one character"),ce=V.input.slice(se,V.position),na.call(V.anchorMap,ce)||rr(V,'unidentified alias "'+ce+'"'),V.result=V.anchorMap[ce],Bn(V,!0,-1),!0}(t)?(te=!0,t.tag===null&&t.anchor===null||rr(t,"alias node should not have any properties")):function(V,se,ce){var me,we,he,Ne,xe,Ae,ve,Ce,ke=V.kind,$e=V.result;if(lr(Ce=V.input.charCodeAt(V.position))||Gr(Ce)||Ce===35||Ce===38||Ce===42||Ce===33||Ce===124||Ce===62||Ce===39||Ce===34||Ce===37||Ce===64||Ce===96||(Ce===63||Ce===45)&&(lr(me=V.input.charCodeAt(V.position+1))||ce&&Gr(me)))return!1;for(V.kind="scalar",V.result="",we=he=V.position,Ne=!1;Ce!==0;){if(Ce===58){if(lr(me=V.input.charCodeAt(V.position+1))||ce&&Gr(me))break}else if(Ce===35){if(lr(V.input.charCodeAt(V.position-1)))break}else{if(V.position===V.lineStart&&is(V)||ce&&Gr(Ce))break;if(Pt(Ce)){if(xe=V.line,Ae=V.lineStart,ve=V.lineIndent,Bn(V,!1,-1),V.lineIndent>=se){Ne=!0,Ce=V.input.charCodeAt(V.position);continue}V.position=he,V.line=xe,V.lineStart=Ae,V.lineIndent=ve;break}}Ne&&(Ri(V,we,he,!1),qu(V,V.line-xe),we=he=V.position,Ne=!1),sr(Ce)||(he=V.position+1),Ce=V.input.charCodeAt(++V.position)}return Ri(V,we,he,!1),!!V.result||(V.kind=ke,V.result=$e,!1)}(t,L,ns===r)&&(te=!0,t.tag===null&&(t.tag="?")),t.anchor!==null&&(t.anchorMap[t.anchor]=t.result)):U===0&&(te=u&&zu(t,M))),t.tag===null)t.anchor!==null&&(t.anchorMap[t.anchor]=t.result);else if(t.tag==="?"){for(t.result!==null&&t.kind!=="scalar"&&rr(t,'unacceptable node kind for !<?> tag; it should be "scalar", not "'+t.kind+'"'),g=0,_=t.implicitTypes.length;g<_;g+=1)if((I=t.implicitTypes[g]).resolve(t.result)){t.result=I.construct(t.result),t.tag=I.tag,t.anchor!==null&&(t.anchorMap[t.anchor]=t.result);break}}else if(t.tag!=="!"){if(na.call(t.typeMap[t.kind||"fallback"],t.tag))I=t.typeMap[t.kind||"fallback"][t.tag];else for(I=null,g=0,_=(k=t.typeMap.multi[t.kind||"fallback"]).length;g<_;g+=1)if(t.tag.slice(0,k[g].tag.length)===k[g].tag){I=k[g];break}I||rr(t,"unknown tag !<"+t.tag+">"),t.result!==null&&I.kind!==t.kind&&rr(t,"unacceptable node kind for !<"+t.tag+'> tag; it should be "'+I.kind+'", not "'+t.kind+'"'),I.resolve(t.result,t.tag)?(t.result=I.construct(t.result,t.tag),
|
||
|
`),t.charCodeAt(0)===65279&&(t=t.slice(1)));var r=new os(t,e),n=t.indexOf("\0");for(n!==-1&&(r.position=n,rr(r,"null byte is not allowed in input")),r.input+="\0";r.input.charCodeAt(r.position)===32;)r.lineIndent+=1,r.position+=1;for(;r.position<r.length-1;)Uf(r);return r.documents}var Wf={loadAll:function(e,r,n){r!==null&&typeof r=="object"&&n===void 0&&(n=r,r=null);var o=Vf(e,n);if(typeof r!="function")return o;for(var i=0,p=o.length;i<p;i+=1)r(o[i])},load:function(e,r){var n=Vf(e,r);if(n.length!==0){if(n.length===1)return n[0];throw new cn("expected a single document in the stream, but found more")}}},yh=Object.prototype.toString,Lc=Object.prototype.hasOwnProperty,Rl=65279,vh=9,$s=10,bh=13,wh=32,P0=33,Kf=34,Eh=35,N0=37,Sh=38,ss=39,Jf=42,qs=44,ui=45,ls=58,Mi=61,_h=62,I0=63,T0=64,cs=91,Ml=93,Dl=96,Fc=123,xh=124,zs=125,us={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"},jn=["y","Y","yes","Yes","YES","on","On","ON","n","N","no","No","NO","off","Off","OFF"],vn=/^[-+]?[0-9_]+(?::[0-9_]+)+(?:\.[0-9_]*)?$/;function ps(t){var e,r,n;if(e=t.toString(16).toUpperCase(),t<=255)r="x",n=2;else if(t<=65535)r="u",n=4;else{if(!(t<=4294967295))throw new cn("code point within a string may not be greater than 0xFFFFFFFF");r="U",n=8}return"\\"+r+Dn.repeat("0",n-e.length)+e}var Mo=1,wo=2;function Us(t){this.schema=t.schema||qo,this.indent=Math.max(1,t.indent||2),this.noArrayIndent=t.noArrayIndent||!1,this.skipInvalid=t.skipInvalid||!1,this.flowLevel=Dn.isNothing(t.flowLevel)?-1:t.flowLevel,this.styleMap=function(r,n){var o,i,p,u,g,_,k;if(n===null)return{};for(o={},p=0,u=(i=Object.keys(n)).length;p<u;p+=1)g=i[p],_=String(n[g]),g.slice(0,2)==="!!"&&(g="tag:yaml.org,2002:"+g.slice(2)),(k=r.compiledTypeMap.fallback[g])&&Lc.call(k.styleAliases,_)&&(_=k.styleAliases[_]),o[g]=_;return o}(this.schema,t.styles||null),this.sortKeys=t.sortKeys||!1,this.lineWidth=t.lineWidth||80,this.noRefs=t.noRefs||!1,this.noCompatMode=t.noCompatMode||!1,this.condenseFlow=t.condenseFlow||!1,this.quotingType=t.quotingType==='"'?wo:Mo,this.forceQuotes=t.forceQuotes||!1,this.replacer=typeof t.replacer=="function"?t.replacer:null,this.implicitTypes=this.schema.compiledImplicit,this.explicitTypes=this.schema.compiledExplicit,this.tag=null,this.result="",this.duplicates=[],this.usedDuplicates=null}function Vs(t,e){for(var r,n=Dn.repeat(" ",e),o=0,i=-1,p="",u=t.length;o<u;)(i=t.indexOf(`
|
||
|
`,o))===-1?(r=t.slice(o),o=u):(r=t.slice(o,i+1),o=i+1),r.length&&r!==`
|
||
|
`&&(p+=n),p+=r;return p}function zo(t,e){return`
|
||
|
`+Dn.repeat(" ",t.indent*e)}function Ll(t){return t===wh||t===vh}function Fl(t){return 32<=t&&t<=126||161<=t&&t<=55295&&t!==8232&&t!==8233||57344<=t&&t<=65533&&t!==Rl||65536<=t&&t<=1114111}function Oh(t){return Fl(t)&&t!==Rl&&t!==bh&&t!==$s}function Bc(t,e,r){var n=Oh(t),o=n&&!Ll(t);return(r?n:n&&t!==qs&&t!==cs&&t!==Ml&&t!==Fc&&t!==zs)&&t!==Eh&&!(e===ls&&!o)||Oh(e)&&!Ll(e)&&t===Eh||e===ls&&o}function Bl(t,e){var r,n=t.charCodeAt(e);return n>=55296&&n<=56319&&e+1<t.length&&(r=t.charCodeAt(e+1))>=56320&&r<=57343?1024*(n-55296)+r-56320+65536:n}function pi(t){return/^\n* /.test(t)}var $c=1,qc=2,kh=3,Di=4,Xa=5;function $l(t,e,r,n,o,i,p,u){var g,_=0,k=null,I=!1,L=!1,M=n!==-1,U=-1,X=function(pe){return Fl(pe)&&pe!==Rl&&!Ll(pe)&&pe!==ui&&pe!==I0&&pe!==ls&&pe!==qs&&pe!==cs&&pe!==Ml&&pe!==Fc&&pe!==zs&&pe!==Eh&&pe!==Sh&&pe!==Jf&&pe!==P0&&pe!==xh&&pe!==Mi&&pe!==_h&&pe!==ss&&pe!==Kf&&pe!==N0&&pe!==T0&&pe!==Dl}(Bl(t,0))&&function(pe){return!Ll(pe)&&pe!==ls}(Bl(t,t.length-1));if(e||p)for(g=0;g<t.length;_>=65536?g+=2:g++){if(!Fl(_=Bl(t,g)))return Xa;X=X&&Bc(_,k,u),k=_}else{for(g=0;g<t.length;_>=65536?g+=2:g++){if((_=Bl(t,g))===$s)I=!0,M&&(L=L||g-U-1>n&&t[U+1]!==" ",U=g);else if(!Fl(_))return Xa;X=X&&Bc(_,k,u),k=_}L=L||M&&g-U-1>n&&t[U+1]!==" "}return I||L?r>9&&pi(t)?Xa:p?i===wo?Xa:qc:L?Di:kh:!X||p||o(t)?i===wo?Xa:qc:$c}function Vu(t,e,r,n,o){t.dump=function(){if(e.length===0)return t.quotingType===wo?'""':"''";if(!t.noCompatMode&&(jn.indexOf(e)!==-1||vn.test(e)))return t.quotingType===wo?'"'+e+'"':"'"+e+"'";var i=t.indent*Math.max(1,r),p=t.lineWidth===-1?-1:Math.max(Math.min(t.lineWidth,40),t.lineWidth-i),u=n||t.flowLevel>-1&&r>=t.flowLevel;switch($l(e,u,t.indent,p,function(_){return function(I,L){var M,U;for(M=0,U=I.implicitTypes.length;M<U;M+=1)if(I.implicitTypes[M].resolve(L))return!0;return!1}(t,_)},t.quotingType,t.forceQuotes&&!n,o)){case $c:return e;case qc:return"'"+e.replace(/'/g,"''")+"'";case kh:return"|"+zc(e,t.indent)+Ea(Vs(e,i));case Di:return">"+zc(e,t.indent)+Ea(Vs(function(_,k){for(var I,L,M=/(\n+)([^\n]*)/g,U=(te=_.indexOf(`
|
||
|
`),te=te!==-1?te:_.length,M.lastIndex=te,Sa(_.slice(0,te),k)),X=_[0]===`
|
||
|
`||_[0]===" ",te;L=M.exec(_);){var pe=L[1],V=L[2];I=V[0]===" ",U+=pe+(X||I||V===""?"":`
|
||
|
`)+Sa(V,k),X=I}return U}(e,p),i));case Xa:return'"'+function(_){for(var k,I="",L=0,M=0;M<_.length;L>=65536?M+=2:M++)L=Bl(_,M),!(k=us[L])&&Fl(L)?(I+=_[M],L>=65536&&(I+=_[M+1])):I+=k||ps(L);return I}(e)+'"';default:throw new cn("impossible error: invalid scalar style")}}()}function zc(t,e){var r=pi(t)?String(e):"",n=t[t.length-1]===`
|
||
|
`;return r+(n&&(t[t.length-2]===`
|
||
|
`||t===`
|
||
|
`)?"+":n?"":"-")+`
|
||
|
`}function Ea(t){return t[t.length-1]===`
|
||
|
`?t.slice(0,-1):t}function Sa(t,e){if(t===""||t[0]===" ")return t;for(var r,n,o=/ [^ ]/g,i=0,p=0,u=0,g="";r=o.exec(t);)(u=r.index)-i>e&&(n=p>i?p:u,g+=`
|
||
|
`+t.slice(i,n),i=n+1),p=u;return g+=`
|
||
|
`,t.length-i>e&&p>i?g+=t.slice(i,p)+`
|
||
|
`+t.slice(p+1):g+=t.slice(i),g.slice(1)}function hs(t,e,r,n){var o,i,p,u="",g=t.tag;for(o=0,i=r.length;o<i;o+=1)p=r[o],t.replacer&&(p=t.replacer.call(r,String(o),p)),(Co(t,e+1,p,!0,!0,!1,!0)||p===void 0&&Co(t,e+1,null,!0,!0,!1,!0))&&(n&&u===""||(u+=zo(t,e)),t.dump&&$s===t.dump.charCodeAt(0)?u+="-":u+="- ",u+=t.dump);t.tag=g,t.dump=u||"[]"}function Qa(t,e,r){var n,o,i,p,u,g;for(i=0,p=(o=r?t.explicitTypes:t.implicitTypes).length;i<p;i+=1)if(((u=o[i]).instanceOf||u.predicate)&&(!u.instanceOf||typeof e=="object"&&e instanceof u.instanceOf)&&(!u.predicate||u.predicate(e))){if(r?u.multi&&u.representName?t.tag=u.representName(e):t.tag=u.tag:t.tag="?",u.represent){if(g=t.styleMap[u.tag]||u.defaultStyle,yh.call(u.represent)==="[object Function]")n=u.represent(e,g);else{if(!Lc.call(u.represent,g))throw new cn("!<"+u.tag+'> tag resolver accepts not "'+g+'" style');n=u.represent[g](e,g)}t.dump=n}return!0}return!1}function Co(t,e,r,n,o,i,p){t.tag=null,t.dump=r,Qa(t,r,!1)||Qa(t,r,!0);var u,g=yh.call(t.dump),_=n;n&&(n=t.flowLevel<0||t.flowLevel>e);var k,I,L=g==="[object Object]"||g==="[object Array]";if(L&&(I=(k=t.duplicates.indexOf(r))!==-1),(t.tag!==null&&t.tag!=="?"||I||t.indent!==2&&e>0)&&(o=!1),I&&t.usedDuplicates[k])t.dump="*ref_"+k;else{if(L&&I&&!t.usedDuplicates[k]&&(t.usedDuplicates[k]=!0),g==="[object Object]")n&&Object.keys(t.dump).length!==0?(function(U,X,te,pe){var V,se,ce,me,we,he,Ne="",xe=U.tag,Ae=Object.keys(te);if(U.sortKeys===!0)Ae.sort();else if(typeof U.sortKeys=="function")Ae.sort(U.sortKeys);else if(U.sortKeys)throw new cn("sortKeys must be a boolean or a function");for(V=0,se=Ae.length;V<se;V+=1)he="",pe&&Ne===""||(he+=zo(U,X)),me=te[ce=Ae[V]],U.replacer&&(me=U.replacer.call(te,ce,me)),Co(U,X+1,ce,!0,!0,!0)&&((we=U.tag!==null&&U.tag!=="?"||U.dump&&U.dump.length>1024)&&(U.dump&&$s===U.dump.charCodeAt(0)?he+="?":he+="? "),he+=U.dump,we&&(he+=zo(U,X)),Co(U,X+1,me,!0,we)&&(U.dump&&$s===U.dump.charCodeAt(0)?he+=":":he+=": ",Ne+=he+=U.dump));U.tag=xe,U.dump=Ne||"{}"}(t,e,t.dump,o),I&&(t.dump="&ref_"+k+t.dump)):(function(U,X,te){var pe,V,se,ce,me,we="",he=U.tag,Ne=Object.keys(te);for(pe=0,V=Ne.length;pe<V;pe+=1)me="",we!==""&&(me+=", "),U.condenseFlow&&(me+='"'),ce=te[se=Ne[pe]],U.replacer&&(ce=U.replacer.call(te,se,ce)),Co(U,X,se,!1,!1)&&(U.dump.length>1024&&(me+="? "),me+=U.dump+(U.condenseFlow?'"':"")+":"+(U.condenseFlow?"":" "),Co(U,X,ce,!1,!1)&&(we+=me+=U.dump));U.tag=he,U.dump="{"+we+"}"}(t,e,t.dump),I&&(t.dump="&ref_"+k+" "+t.dump));else if(g==="[object Array]")n&&t.dump.length!==0?(t.noArrayIndent&&!p&&e>0?hs(t,e-1,t.dump,o):hs(t,e,t.dump,o),I&&(t.dump="&ref_"+k+t.dump)):(function(U,X,te){var pe,V,se,ce="",me=U.tag;for(pe=0,V=te.length;pe<V;pe+=1)se=te[pe],U.replacer&&(se=U.replacer.call(te,String(pe),se)),(Co(U,X,se,!1,!1)||se===void 0&&Co(U,X,null,!1,!1))&&(ce!==""&&(ce+=","+(U.condenseFlow?"":" ")),ce+=U.dump);U.tag=me,U.dump="["+ce+"]"}(t,e,t.dump),I&&(t.dump="&ref_"+k+" "+t.dump));else{if(g!=="[object String]"){if(g==="[object Undefined]"||t.skipInvalid)return!1;throw new cn("unacceptable kind of an object to dump "+g)}t.tag!=="?"&&Vu(t,t.dump,e,i,_)}t.tag!==null&&t.tag!=="?"&&(u=encodeURI(t.tag[0]==="!"?t.tag.slice(1):t.tag).replace(/!/g,"%21"),u=t.tag[0]==="!"?"!"+u:u.slice(0,18)==="tag:yaml.org,2002:"?"!!"+u.slice(18):"!<"+u+">",t.dump=u+" "+t.dump)}return!0}function Ws(t,e){var r,n,o=[],i=[];for(Wu(t,o,i),r=0,n=i.length;r<n;r+=1)e.duplicates.push(o[i[r]]);e.usedDuplicates=new Array(n)}function Wu(t,e,r){var n,o,i;if(t!==null&&typeof t=="object")if((o=e.indexOf(t))!==-1)r.indexOf(o)===-1&&r.push(o);else if(e.push(t),Array.isArray(t))for(o=0,i=t.length;o<i;o+=1)Wu(t[o],e,r);else for(o=0,i=(n=Object.keys(t)).length;o<i;o+=1)Wu(t[n[o]],e,r)}var Ah=function(e,r){var n=new Us(r=r||{});n.noRefs||Ws(e,n);var o=e;return n.replacer&&(o=n.replacer.call({"":o},"",o)),Co(n,0,o,!0,!0)?n.dump+`
|
||
|
`:""};function Uc(t,e){return function(){throw new Error("Function yaml."+t+" is removed in js-yaml 4. Use yaml."+e+" instead, which is now safe by default.")}}var _a=Cr,xa=jc,Pn=Ds,jo=ts,Hf=Ni,Gf=qo,Ch=Wf.load,jh=Wf.loadAll,Yf=Ah,Ku=cn,Xf={binary:Ti,float:Il,map:Pc,null:ta,pairs:Tc,set:Rc,timestamp:Tl,bool:Nl,int:ci,merge:ra,omap:rs,seq:li,str:bo},ql=Uc("safeLoad","load"),Ph=Uc("safeLoadAll","loadAll"),R0=Uc("safeDump","dump");const Hn={Type:_a,Schema:xa,FAILSAFE_SCHEMA:Pn,JSON_SCHEMA:jo,CORE_SCHEMA:Hf,DEFAULT_SCHEMA:Gf,load:Ch,loadAll:jh,dump:Yf,YAMLException:Ku,types:Xf,safeLoad:ql,safeLoadAll:Ph,safeDump:R0},zl="configs_update",Ul="configs_toggle";function Vl(t,e){return{type:zl,payload:{[t]:e}}}function Nh(t){return{type:Ul,payload:t}}const Ih=()=>()=>{},Th=t=>e=>{const{fn:{fetch:r}}=e;return r(t)},Rh=(t,e)=>r=>{const{specActions:n,configsActions:o}=r;if(t)return o.downloadConfig(t).then(i,i);function i(p){p instanceof Error||p.status>=400?(n.updateLoadingStatus("failedConfig"),n.updateLoadingStatus("failedConfig"),n.updateUrl(""),console.error(p.statusText+" "+t.url),e(null)):e(((u,g)=>{try{return Hn.load(u)}catch(_){return g&&g.errActions.newThrownErr(new Error(_)),{}}})(p.text,r))}},Wl=(t,e)=>t.getIn(Array.isArray(e)?e:[e]),La={[zl]:(t,e)=>t.merge((0,oe.fromJS)(e.payload)),[Ul]:(t,e)=>{const r=e.payload,n=t.get(r);return t.set(r,!n)}};function ds(){return{statePlugins:{configs:{reducers:La,actions:h,selectors:b}}}}const Vc=t=>t?history.pushState(null,null,`#${t}`):window.location.hash="";var Qf=Be(86215),Li=Be.n(Qf);const Fi="layout_scroll_to",Ju="layout_clear_scroll",Zf={fn:{getScrollParent:function(e,r){const n=document.documentElement;let o=getComputedStyle(e);const i=o.position==="absolute",p=r?/(auto|scroll|hidden)/:/(auto|scroll)/;if(o.position==="fixed")return n;for(let u=e;u=u.parentElement;)if(o=getComputedStyle(u),(!i||o.position!=="static")&&p.test(o.overflow+o.overflowY+o.overflowX))return u;return n}},statePlugins:{layout:{actions:{scrollToElement:(t,e)=>r=>{try{e=e||r.fn.getScrollParent(t),Li().createScroller(e).to(t)}catch(n){console.error(n)}},scrollTo:t=>({type:Fi,payload:Array.isArray(t)?t:[t]}),clearScrollTo:()=>({type:Ju}),readyToScroll:(t,e)=>r=>{const n=r.layoutSelectors.getScrollToKey();Ke().is(n,(0,oe.fromJS)(t))&&(r.layoutActions.scrollToElement(e),r.layoutActions.clearScrollTo())},parseDeepLinkHash:t=>({layoutActions:e,layoutSelectors:r,getConfigs:n})=>{if(n().deepLinking&&t){let o=t.slice(1);o[0]==="!"&&(o=o.slice(1)),o[0]==="/"&&(o=o.slice(1));const i=o.split("/").map(k=>k||""),p=r.isShownKeyFromUrlHashArray(i),[u,g="",_=""]=p;if(u==="operations"){const k=r.isShownKeyFromUrlHashArray([g]);g.indexOf("_")>-1&&(console.warn("Warning: escaping deep link whitespace with `_` will be unsupported in v4.0, use `%20` instead."),e.show(k.map(I=>I.replace(/_/g," ")),!0)),e.show(k,!0)}(g.indexOf("_")>-1||_.indexOf("_")>-1)&&(console.warn("Warning: escaping deep link whitespace with `_` will be unsupported in v4.0, use `%20` instead."),e.show(p.map(k=>k.replace(/_/g," ")),!0)),e.show(p,!0),e.scrollTo(p)}}},selectors:{getScrollToKey:t=>t.get("scrollToKey"),isShownKeyFromUrlHashArray(t,e){const[r,n]=e;return n?["operations",r,n]:r?["operations-tag",r]:[]},urlHashArrayFromIsShownKey(t,e){let[r,n,o]=e;return r=="operations"?[n,o]:r=="operations-tag"?[n]:[]}},reducers:{[Fi]:(t,e)=>t.set("scrollToKey",Ke().fromJS(e.payload)),[Ju]:t=>t.delete("scrollToKey")},wrapActions:{show:(t,{getConfigs:e,layoutSelectors:r})=>(...n)=>{if(t(...n),e().deepLinking)try{let[o,i]=n;o=Array.isArray(o)?o:[o];const p=r.urlHashArrayFromIsShownKey(o);if(!p.length)return;const[u,g]=p;if(!i)return Vc("/");p.length===2?Vc(Oo(`/${encodeURIComponent(u)}/${encodeURIComponent(g)}`)):p.length===1&&Vc(Oo(`/${encodeURIComponent(u)}`))}catch(o){console.error(o)}}}}}};var Bi=Be(2209),$i=Be.n(Bi);const Hu=(t,e)=>class extends c.Component{constructor(){super(...arguments);De(this,"onLoad",o=>{const{operation:i}=this.props,{tag:p,operationId:u}=i.toObject();let{isShownKey:g}=i.toObject();g=g||["operations",p,u],e.layoutActions.readyToScroll(g,
|
||
|
`))==="-d "?t.replace(/-d /g,`-d ^
|
||
|
`):/^[_\/-]/g.test(t)?t:'"'+t+'"',sm=t=>t==="-d "?t:/\n/.test(t)?`@"
|
||
|
${t.replace(/`/g,"``").replace(/\$/g,"`$")}
|
||
|
"@`:/^[_\/-]/.test(t)?t:`'${t.replace(/'/g,"''")}'`,ep=(t,e,r,n="")=>{let o=!1,i="";const p=(...L)=>i+=" "+L.map(e).join(" "),u=(...L)=>i+=L.map(e).join(" "),g=()=>i+=` ${r}`,_=(L=1)=>i+=" ".repeat(L);let k=t.get("headers");if(i+="curl"+n,t.has("curlOptions")&&p(...t.get("curlOptions")),p("-X",t.get("method")),g(),_(),u(`${t.get("url")}`),k&&k.size)for(let L of t.get("headers").entries()){g(),_();let[M,U]=L;u("-H",`${M}: ${U}`),o=o||/^content-type$/i.test(M)&&/^multipart\/form-data$/i.test(U)}const I=t.get("body");if(I)if(o&&["POST","PUT","PATCH"].includes(t.get("method")))for(let[L,M]of I.entrySeq()){let U=Xl(L);g(),_(),u("-F"),M instanceof Ze.File&&typeof M.valueOf()=="string"?p(`${U}=${M.data}${M.type?`;type=${M.type}`:""}`):M instanceof Ze.File?p(`${U}=@${M.name}${M.type?`;type=${M.type}`:""}`):p(`${U}=${M}`)}else if(I instanceof Ze.File)g(),_(),u(`--data-binary '@${I.name}'`);else{g(),_(),u("-d ");let L=I;oe.Map.isMap(L)?u(function(U){let X=[];for(let[te,pe]of U.get("body").entrySeq()){let V=Xl(te);pe instanceof Ze.File?X.push(` "${V}": {
|
||
|
"name": "${pe.name}"${pe.type?`,
|
||
|
"type": "${pe.type}"`:""}
|
||
|
}`):X.push(` "${V}": ${JSON.stringify(pe,null,2).replace(/(\r\n|\r|\n)/g,`
|
||
|
`)}`)}return`{
|
||
|
${X.join(`,
|
||
|
`)}
|
||
|
}`}(t)):(typeof L!="string"&&(L=JSON.stringify(L)),u(L))}else I||t.get("method")!=="POST"||(g(),_(),u("-d ''"));return i},lm=t=>ep(t,sm,"`\n",".exe"),Vh=t=>ep(t,zh,`\\
|
||
|
`),cm=t=>ep(t,Uh,`^
|
||
|
`),tp=t=>t||(0,oe.Map)(),Wh=tt(tp,t=>{const e=t.get("languages"),r=t.get("generators",(0,oe.Map)());return!e||e.isEmpty()?r:r.filter((n,o)=>e.includes(o))}),um=t=>({fn:e})=>Wh(t).map((r,n)=>{const o=(i=>e[`requestSnippetGenerator_${i}`])(n);return typeof o!="function"?null:r.set("fn",o)}).filter(r=>r),Zc=tt(tp,t=>t.get("activeLanguage")),pm=tt(tp,t=>t.get("defaultExpanded"));var rp=Be(46942),rn=Be.n(rp),eu=Be(59399);const Kh={cursor:"pointer",lineHeight:1,display:"inline-flex",backgroundColor:"rgb(250, 250, 250)",paddingBottom:"0",paddingTop:"0",border:"1px solid rgb(51, 51, 51)",borderRadius:"4px 4px 0 0",boxShadow:"none",borderBottom:"none"},hm={cursor:"pointer",lineHeight:1,display:"inline-flex",backgroundColor:"rgb(51, 51, 51)",boxShadow:"none",border:"1px solid rgb(51, 51, 51)",paddingBottom:"0",paddingTop:"0",borderRadius:"4px 4px 0 0",marginTop:"-5px",marginRight:"-5px",marginLeft:"-5px",zIndex:"9999",borderBottom:"none"},dm=({request:t,requestSnippetsSelectors:e,getComponent:r})=>{const n=(0,c.useRef)(null),o=r("ArrowUpIcon"),i=r("ArrowDownIcon"),p=r("SyntaxHighlighter",!0),[u,g]=(0,c.useState)(e.getSnippetGenerators()?.keySeq().first()),[_,k]=(0,c.useState)(e?.getDefaultExpanded()),I=e.getSnippetGenerators(),L=I.get(u),M=L.get("fn")(t),U=()=>{k(!_)},X=pe=>pe===u?hm:Kh,te=pe=>{const{target:V,deltaY:se}=pe,{scrollHeight:ce,offsetHeight:me,scrollTop:we}=V;ce>me&&(we===0&&se<0||me+we>=ce&&se>0)&&pe.preventDefault()};return(0,c.useEffect)(()=>{},[]),(0,c.useEffect)(()=>{const pe=Array.from(n.current.childNodes).filter(V=>!!V.nodeType&&V.classList?.contains("curl-command"));return pe.forEach(V=>V.addEventListener("mousewheel",te,{passive:!1})),()=>{pe.forEach(V=>V.removeEventListener("mousewheel",te))}},[t]),c.createElement("div",{className:"request-snippets",ref:n},c.createElement("div",{style:{width:"100%",display:"flex",justifyContent:"flex-start",alignItems:"center",marginBottom:"15px"}},c.createElement("h4",{onClick:()=>U(),style:{cursor:"pointer"}},"Snippets"),c.createElement("button",{onClick:()=>U(),style:{border:"none",background:"none"},title:_?"Collapse operation":"Expand operation"},_?c.createElement(i,{className:"arrow",width:"10",height:"10"}):c.createElement(o,{className:"arrow",width:"10",height:"10"}))),_&&c.createElement("div",{className:"curl-command"},c.createElement("div",{style:{paddingLeft:"15px",paddingRight:"10px",width:"100%",display:"flex"}},I.entrySeq().map(([pe,V])=>c.createElement("div",{className:rn()("btn",{active:pe===u}),style:X(pe),key:pe,onClick:()=>(se=>{u!==se&&g(se)})(pe)},c.createElement("h4",{style:pe===u?{color:"white"}:{}},V.get("title"))))),c.createElement("div",{className:"copy-to-clipboard"},c.createElement(eu.CopyToClipboard,{text:M},c.createElement("button",null))),c.createElement("div",null,c.createElement(p,{language:L.get("syntax"),className:"curl microlight",renderPlainText:({children:pe,PlainTextViewer:V})=>c.createElement(V,{className:"curl"},pe)},M))))},Jh=()=>({components:{RequestSnippets:dm},fn:A,statePlugins:{requestSnippets:{selectors:N}}}),zy=class zy extends c.Component{constructor(r,n){super(r,n);De(this,"toggleCollapsed",()=>{this.props.onToggle&&this.props.onToggle(this.props.modelName,!this.state.expanded),this.setState({expanded:!this.state.expanded})});De(this,"onLoad",r=>{if(r&&this.props.layoutSelectors){const n=this.props.layoutSelectors.getScrollToKey();Ke().is(n,this.props.specPath)&&this.toggleCollapsed(),this.props.layoutActions.readyToScroll(this.props.specPath,r.parentElement)}});let{expanded:o,collapsedContent:i}=this.props;this.state={expanded:o,collapsedContent:i||zy.defaultProps.collapsedContent}}componentDidMount(){const{hideSelfOnExpand:r,expanded:n,modelName:o}=this.props;r&&n&&this.props.onToggle(o,n)}UNSAFE_componentWillReceiveProps(r){this.props.expanded!==r.expanded&&this.setState({expanded:r.expanded})}render(){const{title:r,classes:n}=this.props;return this.state.expanded&&this.props.hideSelfOnExpand?c.createElement("span",{className:n||""},this.props.children):c.createElement("span",{className:n||"",ref:this.onLoad},c.createElem
|
||
|
`&&(u=u.slice(0,u.length-1))}catch(g){return console.error(g),"error: could not generate yaml example"}return u.replace(/\t/g," ")},fs=t=>(e,r,n)=>{const{fn:o}=t();if(e&&!e.xml&&(e.xml={}),e&&!e.xml.name){if(!e.$$ref&&(e.type||e.items||e.properties||e.additionalProperties))return`<?xml version="1.0" encoding="UTF-8"?>
|
||
|
<!-- XML example cannot be generated; root element name is undefined -->`;if(e.$$ref){let i=e.$$ref.match(/\S*\/(\S+)$/);e.xml.name=i[1]}}return o.memoizedCreateXMLExample(e,r,n)},Tm=t=>(e,r="",n={},o=void 0)=>{const{fn:i}=t();return typeof e?.toJS=="function"&&(e=e.toJS()),typeof o?.toJS=="function"&&(o=o.toJS()),/xml/.test(r)?i.getXmlSampleSchema(e,n,o):/(yaml|yml)/.test(r)?i.getYamlSampleSchema(e,n,r,o):i.getJsonSampleSchema(e,n,r,o)},dd=({getSystem:t})=>{const e=Uo(t),r=hi(t),n=fs(t),o=Tm(t);return{fn:{jsonSchema5:{inferSchema:ec,sampleFromSchema:nu,sampleFromSchemaGeneric:ka,createXMLExample:tc,memoizedSampleFromSchema:ud,memoizedCreateXMLExample:cd,getJsonSampleSchema:e,getYamlSampleSchema:r,getXmlSampleSchema:n,getSampleSchema:o,mergeJsonSchema:Xs},inferSchema:ec,sampleFromSchema:nu,sampleFromSchemaGeneric:ka,createXMLExample:tc,memoizedSampleFromSchema:ud,memoizedCreateXMLExample:cd,getJsonSampleSchema:e,getYamlSampleSchema:r,getXmlSampleSchema:n,getSampleSchema:o,mergeJsonSchema:Xs}}};var di=Be(37334),ou=Be.n(di);const Ui=["get","put","post","delete","options","head","patch","trace"],fi=t=>t||(0,oe.Map)(),Rm=tt(fi,t=>t.get("lastError")),Mm=tt(fi,t=>t.get("url")),Dm=tt(fi,t=>t.get("spec")||""),Lm=tt(fi,t=>t.get("specSource")||"not-editor"),mp=tt(fi,t=>t.get("json",(0,oe.Map)())),F0=tt(mp,t=>t.toJS()),gp=tt(fi,t=>t.get("resolved",(0,oe.Map)())),fd=(t,e)=>t.getIn(["resolvedSubtrees",...e],void 0),Aa=(t,e)=>oe.Map.isMap(t)&&oe.Map.isMap(e)?e.get("$$ref")?e:(0,oe.OrderedMap)().mergeWith(Aa,t,e):e,Pr=tt(fi,t=>(0,oe.OrderedMap)().mergeWith(Aa,t.get("json"),t.get("resolvedSubtrees"))),nn=t=>mp(t),io=tt(nn,()=>!1),_o=tt(nn,t=>zn(t&&t.get("info"))),Ca=tt(nn,t=>zn(t&&t.get("externalDocs"))),Qs=tt(_o,t=>t&&t.get("version")),ho=tt(Qs,t=>/v?([0-9]*)\.([0-9]*)\.([0-9]*)/i.exec(t).slice(1)),rc=tt(Pr,t=>t.get("paths")),Zs=ou()(["get","put","post","delete","options","head","patch"]),au=tt(rc,t=>{if(!t||t.size<1)return(0,oe.List)();let e=(0,oe.List)();return t&&t.forEach?(t.forEach((r,n)=>{if(!r||!r.forEach)return{};r.forEach((o,i)=>{Ui.indexOf(i)<0||(e=e.push((0,oe.fromJS)({path:n,method:i,operation:o,id:`${i}-${n}`})))})}),e):(0,oe.List)()}),yp=tt(nn,t=>(0,oe.Set)(t.get("consumes"))),nc=tt(nn,t=>(0,oe.Set)(t.get("produces"))),ja=tt(nn,t=>t.get("security",(0,oe.List)())),md=tt(nn,t=>t.get("securityDefinitions")),oc=(t,e)=>{const r=t.getIn(["resolvedSubtrees","definitions",e],null),n=t.getIn(["json","definitions",e],null);return r||n||null},ms=tt(nn,t=>{const e=t.get("definitions");return oe.Map.isMap(e)?e:(0,oe.Map)()}),vp=tt(nn,t=>t.get("basePath")),gd=tt(nn,t=>t.get("host")),gs=tt(nn,t=>t.get("schemes",(0,oe.Map)())),iu=tt([au,yp,nc],(t,e,r)=>t.map(n=>n.update("operation",o=>o?oe.Map.isMap(o)?o.withMutations(i=>(i.get("consumes")||i.update("consumes",p=>(0,oe.Set)(p).merge(e)),i.get("produces")||i.update("produces",p=>(0,oe.Set)(p).merge(r)),i)):void 0:(0,oe.Map)()))),mi=tt(nn,t=>{const e=t.get("tags",(0,oe.List)());return oe.List.isList(e)?e.filter(r=>oe.Map.isMap(r)):(0,oe.List)()}),su=(t,e)=>(mi(t)||(0,oe.List)()).filter(oe.Map.isMap).find(r=>r.get("name")===e,(0,oe.Map)()),ac=tt(iu,mi,(t,e)=>t.reduce((r,n)=>{let o=(0,oe.Set)(n.getIn(["operation","tags"]));return o.count()<1?r.update("default",(0,oe.List)(),i=>i.push(n)):o.reduce((i,p)=>i.update(p,(0,oe.List)(),u=>u.push(n)),r)},e.reduce((r,n)=>r.set(n.get("name"),(0,oe.List)()),(0,oe.OrderedMap)()))),yd=t=>({getConfigs:e})=>{let{tagsSorter:r,operationsSorter:n}=e();return ac(t).sortBy((o,i)=>i,(o,i)=>{let p=typeof r=="function"?r:Go.tagsSorter[r];return p?p(o,i):null}).map((o,i)=>{let p=typeof n=="function"?n:Go.operationsSorter[n],u=p?o.sort(p):o;return(0,oe.Map)({tagDetails:su(t,i),operations:u})})},lu=tt(fi,t=>t.get("responses",(0,oe.Map)())),cu=tt(fi,t=>t.get("requests",(0,oe.Map)())),Fo=tt(fi,t=>t.get("mutatedRequests",(0,oe.Map)())),ys=(t,e,r)=>lu(t).getIn([e,r],null),ei=(t,e,r)=>cu(t).getIn([e,r],null),sa=(t,e,r)=>Fo(t).getIn([e,r],null),Fm=()=>!0,uu=(t,e,r)=>{const n=Pr(t).getIn(["paths",...e,"parameters"],(0,oe.OrderedMap)()),o=t.getIn(["meta","paths",...e,"parame
|
||
|
**Possible Reasons:**
|
||
|
- CORS
|
||
|
- Network Failure
|
||
|
- URL scheme must be "http" or "https" for CORS request.`),r.setResponse(t.pathName,t.method,{error:!0,err:U})})},Fe=({path:t,method:e,...r}={})=>n=>{let{fn:{fetch:o},specSelectors:i,specActions:p}=n,u=i.specJsonWithResolvedSubtrees().toJS(),g=i.operationScheme(t,e),{requestContentType:_,responseContentType:k}=i.contentTypeValues([t,e]).toJS(),I=/xml/i.test(_),L=i.parameterValues([t,e],I).toJS();return p.executeRequest({...r,fetch:o,spec:u,pathName:t,method:e,parameters:L,requestContentType:_,scheme:g,responseContentType:k})};function et(t,e){return{type:cc,payload:{path:t,method:e}}}function ft(t,e){return{type:uc,payload:{path:t,method:e}}}function Ft(t,e,r){return{type:dc,payload:{scheme:t,path:e,method:r}}}const Er={[gi]:(t,e)=>typeof e.payload=="string"?t.set("spec",e.payload):t,[lc]:(t,e)=>t.set("url",e.payload+""),[Vi]:(t,e)=>t.set("json",Zt(e.payload)),[kp]:(t,e)=>t.setIn(["resolved"],Zt(e.payload)),[hc]:(t,e)=>{const{value:r,path:n}=e.payload;return t.setIn(["resolvedSubtrees",...n],Zt(r))},[rl]:(t,{payload:e})=>{let{path:r,paramName:n,paramIn:o,param:i,value:p,isXml:u}=e,g=i?Gt(i):`${o}.${n}`;const _=u?"value_xml":"value";return t.setIn(["meta","paths",...r,"parameters",g,_],(0,oe.fromJS)(p))},[pu]:(t,{payload:e})=>{let{pathMethod:r,paramName:n,paramIn:o,includeEmptyValue:i}=e;if(!n||!o)return console.warn("Warning: UPDATE_EMPTY_PARAM_INCLUSION could not generate a paramKey."),t;const p=`${o}.${n}`;return t.setIn(["meta","paths",...r,"parameter_inclusions",p],i)},[hu]:(t,{payload:{pathMethod:e,isOAS3:r}})=>{const n=Pr(t).getIn(["paths",...e]),o=wp(t,e).toJS();return t.updateIn(["meta","paths",...e,"parameters"],(0,oe.fromJS)({}),i=>n.get("parameters",(0,oe.List)()).reduce((p,u)=>{const g=wr(u,o),_=bp(t,e,u.get("name"),u.get("in")),k=((I,L,{isOAS3:M=!1,bypassRequiredCheck:U=!1}={})=>{let X=I.get("required"),{schema:te,parameterContentMediaType:pe}=gn(I,{isOAS3:M});return go(L,te,X,U,pe)})(u,g,{bypassRequiredCheck:_,isOAS3:r});return p.setIn([Gt(u),"errors"],(0,oe.fromJS)(k))},i))},[Op]:(t,{payload:{pathMethod:e}})=>t.updateIn(["meta","paths",...e,"parameters"],(0,oe.fromJS)([]),r=>r.map(n=>n.set("errors",(0,oe.fromJS)([])))),[Sd]:(t,{payload:{res:e,path:r,method:n}})=>{let o;o=e.error?Object.assign({error:!0,name:e.err.name,message:e.err.message,statusCode:e.err.statusCode},e.err.response):e,o.headers=o.headers||{};let i=t.setIn(["responses",r,n],Zt(o));return Ze.Blob&&o.data instanceof Ze.Blob&&(i=i.setIn(["responses",r,n,"text"],o.data)),i},[du]:(t,{payload:{req:e,path:r,method:n}})=>t.setIn(["requests",r,n],Zt(e)),[xp]:(t,{payload:{req:e,path:r,method:n}})=>t.setIn(["mutatedRequests",r,n],Zt(e)),[pc]:(t,{payload:{path:e,value:r,key:n}})=>{let o=["paths",...e],i=["meta","paths",...e];return t.getIn(["json",...o])||t.getIn(["resolved",...o])||t.getIn(["resolvedSubtrees",...o])?t.setIn([...i,n],(0,oe.fromJS)(r)):t},[cc]:(t,{payload:{path:e,method:r}})=>t.deleteIn(["responses",e,r]),[uc]:(t,{payload:{path:e,method:r}})=>t.deleteIn(["requests",e,r]),[dc]:(t,{payload:{scheme:e,path:r,method:n}})=>r&&n?t.setIn(["scheme",r,n],e):r||n?void 0:t.setIn(["scheme","_defaultScheme"],e)},Tt=(t,{specActions:e})=>(...r)=>{t(...r),e.parseToJson(...r)},yr=(t,{specActions:e})=>(...r)=>{t(...r),e.invalidateResolvedSubtreeCache();const[n]=r,o=Yu()(n,["paths"])||{};Object.keys(o).forEach(i=>{Yu()(o,[i]).$ref&&e.requestResolvedSubtree(["paths",i])}),e.requestResolvedSubtree(["components","securitySchemes"])},Vr=(t,{specActions:e})=>r=>(e.logRequest(r),t(r)),Wr=(t,{specSelectors:e})=>r=>t(r,e.isOAS3()),Yr=()=>({statePlugins:{spec:{wrapActions:{...$},reducers:{...Er},actions:{...q},selectors:{...P}}}});var On=function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,o){n.__proto__=o}||function(n,o){for(var i in o)o.hasOwnProperty(i)&&(n[i]=o[i])},t(e,r)};return function(e,r){function n(){this.constructor=e}t(e,r),e.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}(),Pp=Object.prototype.hasOwnProperty;function nl(t,e){return Pp.call(t,e)}function Np(t){if(Array.isArr
|
||
|
`)}var gw=function(t){function e(r,n,o,i,p){var u=this.constructor,g=t.call(this,mw(r,{name:n,index:o,operation:i,tree:p}))||this;return g.name=n,g.index=o,g.operation=i,g.tree=p,Object.setPrototypeOf(g,u.prototype),g.message=mw(r,{name:n,index:o,operation:i,tree:p}),g}return On(e,t),e}(Error),so=gw,mO=Pa,Rp={add:function(t,e,r){return t[e]=this.value,{newDocument:r}},remove:function(t,e,r){var n=t[e];return delete t[e],{newDocument:r,removed:n}},replace:function(t,e,r){var n=t[e];return t[e]=this.value,{newDocument:r,removed:n}},move:function(t,e,r){var n=Od(r,this.path);n&&(n=Pa(n));var o=mu(r,{op:"remove",path:this.from}).removed;return mu(r,{op:"add",path:this.path,value:o}),{newDocument:r,removed:n}},copy:function(t,e,r){var n=Od(r,this.from);return mu(r,{op:"add",path:this.path,value:Pa(n)}),{newDocument:r}},test:function(t,e,r){return{newDocument:r,test:kd(t[e],this.value)}},_get:function(t,e,r){return this.value=t[e],{newDocument:r}}},gO={add:function(t,e,r){return Ip(e)?t.splice(e,0,this.value):t[e]=this.value,{newDocument:r,index:e}},remove:function(t,e,r){return{newDocument:r,removed:t.splice(e,1)[0]}},replace:function(t,e,r){var n=t[e];return t[e]=this.value,{newDocument:r,removed:n}},move:Rp.move,copy:Rp.copy,test:Rp.test,_get:Rp._get};function Od(t,e){if(e=="")return t;var r={op:"_get",path:e};return mu(t,r),r.value}function mu(t,e,r,n,o,i){if(r===void 0&&(r=!1),n===void 0&&(n=!0),o===void 0&&(o=!0),i===void 0&&(i=0),r&&(typeof r=="function"?r(e,0,t,e.path):Hm(e,0)),e.path===""){var p={newDocument:t};if(e.op==="add")return p.newDocument=e.value,p;if(e.op==="replace")return p.newDocument=e.value,p.removed=t,p;if(e.op==="move"||e.op==="copy")return p.newDocument=Od(t,e.from),e.op==="move"&&(p.removed=t),p;if(e.op==="test"){if(p.test=kd(t,e.value),p.test===!1)throw new so("Test operation failed","TEST_OPERATION_FAILED",i,e,t);return p.newDocument=t,p}if(e.op==="remove")return p.removed=t,p.newDocument=null,p;if(e.op==="_get")return e.value=t,p;if(r)throw new so("Operation `op` property is not one of operations defined in RFC-6902","OPERATION_OP_INVALID",i,e,t);return p}n||(t=Pa(t));var u=(e.path||"").split("/"),g=t,_=1,k=u.length,I=void 0,L=void 0,M=void 0;for(M=typeof r=="function"?r:Hm;;){if((L=u[_])&&L.indexOf("~")!=-1&&(L=al(L)),o&&(L=="__proto__"||L=="prototype"&&_>0&&u[_-1]=="constructor"))throw new TypeError("JSON-Patch: modifying `__proto__` or `constructor/prototype` prop is banned for security reasons, if this was on purpose, please set `banPrototypeModifications` flag false and pass it to this function. More info in fast-json-patch README");if(r&&I===void 0&&(g[L]===void 0?I=u.slice(0,_).join("/"):_==k-1&&(I=e.path),I!==void 0&&M(e,0,t,I)),_++,Array.isArray(g)){if(L==="-")L=g.length;else{if(r&&!Ip(L))throw new so("Expected an unsigned base-10 integer value, making the new referenced value the array element with the zero-based index","OPERATION_PATH_ILLEGAL_ARRAY_INDEX",i,e,t);Ip(L)&&(L=~~L)}if(_>=k){if(r&&e.op==="add"&&L>g.length)throw new so("The specified index MUST NOT be greater than the number of elements in the array","OPERATION_VALUE_OUT_OF_BOUNDS",i,e,t);if((p=gO[e.op].call(e,g,L,t)).test===!1)throw new so("Test operation failed","TEST_OPERATION_FAILED",i,e,t);return p}}else if(_>=k){if((p=Rp[e.op].call(e,g,L,t)).test===!1)throw new so("Test operation failed","TEST_OPERATION_FAILED",i,e,t);return p}if(g=g[L],r&&_<k&&(!g||typeof g!="object"))throw new so("Cannot perform operation at the desired path","OPERATION_PATH_UNRESOLVABLE",i,e,t)}}function fc(t,e,r,n,o){if(n===void 0&&(n=!0),o===void 0&&(o=!0),r&&!Array.isArray(e))throw new so("Patch sequence must be an array","SEQUENCE_NOT_AN_ARRAY");n||(t=Pa(t));for(var i=new Array(e.length),p=0,u=e.length;p<u;p++)i[p]=mu(t,e[p],r,!0,o,p),t=i[p].newDocument;return i.newDocument=t,i}function yO(t,e,r){var n=mu(t,e);if(n.test===!1)throw new so("Test operation failed","TEST_OPERATION_FAILED",r,e,t);return n.newDocument}function Hm(t,e,r,n){if(typeof t!="object"||t===null||Array.isArray(t))throw new so("Operation is not an object","OPERATION_NOT_AN_OBJE
|
||
|
CAUSE: ${o.stack}`)}}};class nA extends Error{static[Symbol.hasInstance](e){return super[Symbol.hasInstance](e)||Function.prototype[Symbol.hasInstance].call(rA,e)}constructor(e,r){if(super(e,r),this.name=this.constructor.name,typeof e=="string"&&(this.message=e),typeof Error.captureStackTrace=="function"?Error.captureStackTrace(this,this.constructor):this.stack=new Error(e).stack,r!=null&&typeof r=="object"&&Object.hasOwn(r,"cause")&&!("cause"in this)){const{cause:n}=r;this.cause=n,n instanceof Error&&"stack"in n&&(this.stack=`${this.stack}
|
||
|
CAUSE: ${n.stack}`)}}}const to=nA,vc=class extends to{constructor(e,r){if(super(e,r),r!=null&&typeof r=="object"){const{cause:n,...o}=r;Object.assign(this,o)}}},vg=(t,e,r)=>{const n=t[e];if(n!=null){if(!r&&typeof n=="function")return n;const o=r?n.leave:n.enter;if(typeof o=="function")return o}else{const o=r?t.leave:t.enter;if(o!=null){if(typeof o=="function")return o;const i=o[e];if(typeof i=="function")return i}}return null},Lr={},Bd=t=>t?.type,gE=t=>typeof Bd(t)=="string",Cv=t=>Object.create(Object.getPrototypeOf(t),Object.getOwnPropertyDescriptors(t)),bg=(t,{visitFnGetter:e=vg,nodeTypeGetter:r=Bd,breakSymbol:n=Lr,deleteNodeSymbol:o=null,skipVisitingNodeSymbol:i=!1,exposeEdits:p=!1}={})=>{const u=Symbol("skip"),g=new Array(t.length).fill(u);return{enter(_,...k){let I=_,L=!1;for(let M=0;M<t.length;M+=1)if(g[M]===u){const U=e(t[M],r(I),!1);if(typeof U=="function"){const X=U.call(t[M],I,...k);if(typeof X?.then=="function")throw new vc("Async visitor not supported in sync mode",{visitor:t[M],visitFn:U});if(X===i)g[M]=_;else if(X===n)g[M]=n;else{if(X===o)return X;if(X!==void 0){if(!p)return X;I=X,L=!0}}}}return L?I:void 0},leave(_,...k){for(let I=0;I<t.length;I+=1)if(g[I]===u){const L=e(t[I],r(_),!0);if(typeof L=="function"){const M=L.call(t[I],_,...k);if(typeof M?.then=="function")throw new vc("Async visitor not supported in sync mode",{visitor:t[I],visitFn:L});if(M===n)g[I]=n;else if(M!==void 0&&M!==i)return M}}else g[I]===_&&(g[I]=u)}}};bg[Symbol.for("nodejs.util.promisify.custom")]=(t,{visitFnGetter:e=vg,nodeTypeGetter:r=Bd,breakSymbol:n=Lr,deleteNodeSymbol:o=null,skipVisitingNodeSymbol:i=!1,exposeEdits:p=!1}={})=>{const u=Symbol("skip"),g=new Array(t.length).fill(u);return{async enter(_,...k){let I=_,L=!1;for(let M=0;M<t.length;M+=1)if(g[M]===u){const U=e(t[M],r(I),!1);if(typeof U=="function"){const X=await U.call(t[M],I,...k);if(X===i)g[M]=_;else if(X===n)g[M]=n;else{if(X===o)return X;if(X!==void 0){if(!p)return X;I=X,L=!0}}}}return L?I:void 0},async leave(_,...k){for(let I=0;I<t.length;I+=1)if(g[I]===u){const L=e(t[I],r(_),!0);if(typeof L=="function"){const M=await L.call(t[I],_,...k);if(M===n)g[I]=n;else if(M!==void 0&&M!==i)return M}}else g[I]===_&&(g[I]=u)}}};const jv=(t,e,{keyMap:r=null,state:n={},breakSymbol:o=Lr,deleteNodeSymbol:i=null,skipVisitingNodeSymbol:p=!1,visitFnGetter:u=vg,nodeTypeGetter:g=Bd,nodePredicate:_=gE,nodeCloneFn:k=Cv,detectCycles:I=!0}={})=>{const L=r||{};let M,U,X=Array.isArray(t),te=[t],pe=-1,V=[],se=t;const ce=[],me=[];do{pe+=1;const Ne=pe===te.length;let xe;const Ae=Ne&&V.length!==0;if(Ne){if(xe=me.length===0?void 0:ce.pop(),se=U,U=me.pop(),Ae)if(X){se=se.slice();let Ce=0;for(const[ke,$e]of V){const lt=ke-Ce;$e===i?(se.splice(lt,1),Ce+=1):se[lt]=$e}}else{se=k(se);for(const[Ce,ke]of V)se[Ce]=ke}pe=M.index,te=M.keys,V=M.edits,X=M.inArray,M=M.prev}else if(U!==i&&U!==void 0){if(xe=X?pe:te[pe],se=U[xe],se===i||se===void 0)continue;ce.push(xe)}let ve;if(!Array.isArray(se)){var we;if(!_(se))throw new vc(`Invalid AST Node: ${String(se)}`,{node:se});if(I&&me.includes(se)){ce.pop();continue}const Ce=u(e,g(se),Ne);if(Ce){for(const[ke,$e]of Object.entries(n))e[ke]=$e;ve=Ce.call(e,se,xe,U,ce,me)}if(typeof((we=ve)===null||we===void 0?void 0:we.then)=="function")throw new vc("Async visitor not supported in sync mode",{visitor:e,visitFn:Ce});if(ve===o)break;if(ve===p){if(!Ne){ce.pop();continue}}else if(ve!==void 0&&(V.push([xe,ve]),!Ne)){if(!_(ve)){ce.pop();continue}se=ve}}var he;ve===void 0&&Ae&&V.push([xe,se]),!Ne&&(M={inArray:X,index:pe,keys:te,edits:V,prev:M},X=Array.isArray(se),te=X?se:(he=L[g(se)])!==null&&he!==void 0?he:[],pe=-1,V=[],U!==i&&U!==void 0&&me.push(U),U=se)}while(M!==void 0);return V.length!==0?V[V.length-1][1]:t};jv[Symbol.for("nodejs.util.promisify.custom")]=async(t,e,{keyMap:r=null,state:n={},breakSymbol:o=Lr,deleteNodeSymbol:i=null,skipVisitingNodeSymbol:p=!1,visitFnGetter:u=vg,nodeTypeGetter:g=Bd,nodePredicate:_=gE,nodeCloneFn:k=Cv,detectCycles:I=!0}={})=>{const L=r||{};let M,U,X=Array.isArray(t),te=[t],pe=-1,V=[],se=t;const ce=[],me=[];do{pe+=1;const he=pe===te.length;let Ne;
|
||
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function $v(t,e){(e==null||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}var Fj=Vo(Ij(Pj(function(t,e){return t.length>e.length})),Tj,Md("length")),Bj=rv(function(t,e,r){var n=r.apply(void 0,Lj(t));return Mj(n)?Rj(n):e});const HE=Bv(Dj,function(e){var r=Fj(e);return Nn(r,function(){for(var n=arguments.length,o=new Array(n),i=0;i<n;i++)o[i]=arguments[i];return vu(Bj(o),void 0,e)})},Ld),$j=$r(wc,{props:{alternator:[]},methods:{enter(t){const e=this.alternator.map(({predicate:n,specPath:o})=>Bv(n,hr(o),Ld)),r=HE(e)(t);return this.element=this.toRefractedElement(r,t),Lr}}}),Wp=$r($j,{props:{alternator:[{predicate:Es,specPath:["document","objects","JSONReference"]},{predicate:ul,specPath:["document","objects","JSONSchema"]}]}}),hl={visitors:{value:br,JSONSchemaOrJSONReferenceVisitor:Wp,document:{objects:{JSONSchema:{$visitor:VC,fixedFields:{id:WC,$schema:KC,multipleOf:JC,maximum:HC,exclusiveMaximum:GC,minimum:YC,exclusiveMinimum:XC,maxLength:QC,minLength:ZC,pattern:ej,additionalItems:Wp,items:tj,maxItems:rj,minItems:nj,uniqueItems:oj,maxProperties:aj,minProperties:ij,required:sj,properties:hj,additionalProperties:Wp,patternProperties:dj,dependencies:fj,enum:mj,type:gj,allOf:yj,anyOf:vj,oneOf:bj,not:Wp,definitions:wj,title:Ej,description:Sj,default:_j,format:xj,base:Oj,links:kj,media:{$ref:"#/visitors/document/objects/Media"},readOnly:Aj}},JSONReference:{$visitor:Cj,fixedFields:{$ref:jj}},Media:{$visitor:$r(hf,br,{props:{specPath:hr(["document","objects","Media"])},init(){this.element=new Tg}}),fixedFields:{binaryEncoding:br,type:br}},LinkDescription:{$visitor:$r(hf,br,{props:{specPath:hr(["document","objects","LinkDescription"])},init(){this.element=new Rg}}),fixedFields:{href:br,rel:br,title:br,targetSchema:Wp,mediaType:br,method:br,encType:br,schema:Wp}}}}}},qj=t=>{if(Io(t))return`${t.element.charAt(0).toUpperCase()+t.element.slice(1)}Element`},zj={JSONSchemaDraft4Element:["content"],JSONReferenceElement:["content"],MediaElement:["content"],LinkDescriptionElement:["content"],...zp},Uj=Vt(({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof pf||t(n)&&e("JSONSchemaDraft4",n)&&r("object",n)),Vj=Vt(({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof Ig||t(n)&&e("JSONReference",n)&&r("object",n)),Wj=Vt(({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof Tg||t(n)&&e("media",n)&&r("object",n)),Kj=Vt(({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof Rg||t(n)&&e("linkDescription",n)&&r("object",n)),Jj={namespace:t=>{const{base:e}=t;return e.register("jSONSchemaDraft4",pf),e.register("jSONReference",Ig),e.register("media",Tg),e.register("linkDescription",Rg),e}},Hj=Jj,Gj=()=>{const t=Ud(Hj);return{predicates:{...W,isStringElement:Rr},namespace:t}},Yj=(t,{specPath:e=["visitors","document","objects","JSONSchema","$visitor"],plugins:r=[],specificationObj:n=hl}={})=>{const o=(0,Ye.e)(t),i=Dg(n),p=Up(e,[],i);return la(o,p,{state:{specObj:i}}),Vp(p.element,r,{toolboxCreator:Gj,visitorOptions:{keyMap:zj,nodeTypeGetter:qj}})},qg=t=>(e,r={})=>Yj(e,{specPath:t,...r});pf.refract=qg(["visitors","document","objects","JSONSchema","$visitor"]),Ig.refract=qg(["visitors","document","objects","JSONReference","$visitor"]),Tg.refract=qg(["visitors","document","objects","Media","$visitor"]),Rg.refract=qg(["visitors","document","objects","LinkDescription","$visitor"]);const zg=class extends pf{constructor(e,r,n){super(e,r,n),this.element="schema",this.classes.push("json-schema-draft-4")}get idProp(){throw new Ko("idProp getter in Schema class is not not supported.")}set idProp(e){throw new Ko("idProp setter in Schema class is not not supported.")}get $schema(){throw new Ko("$schema getter in Schema class is not not supported.")}set $schema(e){throw new Ko("$schema setter in Schema class is not not supported.")}get additionalItems(){return this.get("additionalItems")}set additionalItems(e){this.set("additionalItems",e)}get items(){return this.get("
|
||
|
The error may be correlated with this previous error:
|
||
|
${Lt.current.stack}
|
||
|
|
||
|
`),zr}wy(()=>{Lt.current=void 0,or.current=void 0,Jt.current=En});const Wn=dn.useMemo(()=>dn.createElement(te,{...En,ref:Ne}),[Ne,te,En]);return dn.useMemo(()=>X?dn.createElement(Ae.Provider,{value:$t},Wn):Wn,[Ae,Wn,$t])}const me=dn.memo(ce);if(me.WrappedComponent=te,me.displayName=ce.displayName=V,_){const we=dn.forwardRef(function(Ne,xe){return dn.createElement(me,{...Ne,reactReduxForwardedRef:xe})});return we.displayName=V,we.WrappedComponent=te,d1(we,te)}return d1(me,te)}},w5=function({store:e,context:r,children:n,serverState:o,stabilityCheck:i="once",identityFunctionCheck:p="once"}){const u=dn.useMemo(()=>{const k=sS(e);return{store:e,subscription:k,getServerState:o?()=>o:void 0,stabilityCheck:i,identityFunctionCheck:p}},[e,o,i,p]),g=dn.useMemo(()=>e.getState(),[e]);wy(()=>{const{subscription:k}=u;return k.onStateChange=k.notifyNestedSubs,k.trySubscribe(),g!==e.getState()&&k.notifyNestedSubs(),()=>{k.tryUnsubscribe(),k.onStateChange=void 0}},[u,g]);const _=r||rS;return dn.createElement(_.Provider,{value:u},n)},E5;E5=qT.useSyncExternalStoreWithSelector,(t=>{dS=t})(c.useSyncExternalStore);var S5=Be(83488),fS=Be.n(S5);const _5=t=>e=>{const{fn:r}=t();class n extends c.Component{render(){return c.createElement(e,_r()({},t(),this.props,this.context))}}return n.displayName=`WithSystem(${r.getDisplayName(e)})`,n},x5=(t,e)=>r=>{const{fn:n}=t();class o extends c.Component{render(){return c.createElement(w5,{store:e},c.createElement(r,_r()({},this.props,this.context)))}}return o.displayName=`WithRoot(${n.getDisplayName(r)})`,o},mS=(t,e,r)=>Ve(r?x5(t,r):fS(),b5((n,o)=>{const i={...o,...t()};return(e.prototype?.mapStateToProps||(u=>({state:u})))(n,i)}),_5(t))(e),gS=(t,e,r,n)=>{for(const o in e){const i=e[o];typeof i=="function"&&i(r[o],n[o],t())}},O5=(t,e,r)=>(n,o)=>{const{fn:i}=t(),p=r(n,"root");class u extends c.Component{constructor(_,k){super(_,k),gS(t,o,_,{})}UNSAFE_componentWillReceiveProps(_){gS(t,o,_,this.props)}render(){const _=Rs()(this.props,o?Object.keys(o):[]);return c.createElement(p,_)}}return u.displayName=`WithMappedContainer(${i.getDisplayName(p)})`,u},k5=(t,e,r,n)=>o=>{const i=r(t,e,n)("App","root"),{createRoot:p}=Z2;p(o).render(c.createElement(i,null))},f1=(t,e,r)=>(n,o,i={})=>{if(typeof n!="string")throw new TypeError("Need a string, to fetch a component. Was given a "+typeof n);const p=r(n);return p?o?o==="root"?mS(t,p,e()):mS(t,p):p:(i.failSilently||t().log.warn("Could not find component:",n),null)},A5=t=>t.displayName||t.name||"Component",yS=({getComponents:t,getStore:e,getSystem:r})=>{const n=(i=>Qr(i,(...p)=>JSON.stringify(p)))(f1(r,e,t)),o=(i=>po(i,(...p)=>p))(O5(r,0,n));return{rootInjects:{getComponent:n,makeMappedContainer:o,render:k5(r,e,f1,t)},fn:{getDisplayName:A5}}},vS=({React:t,getSystem:e,getStore:r,getComponents:n})=>{const o={},i=parseInt(t?.version,10);return i>=16&&i<18&&(o.render=((p,u,g,_)=>k=>{const I=g(p,u,_)("App","root");Z2.render(c.createElement(I,null),k)})(e,r,f1,n)),{rootInjects:o}};function bS(t){let{fn:e}=t;const r={download:o=>({errActions:i,specSelectors:p,specActions:u,getConfigs:g})=>{let{fetch:_}=e;const k=g();function I(L){if(L instanceof Error||L.status>=400)return u.updateLoadingStatus("failed"),i.newThrownErr(Object.assign(new Error((L.message||L.statusText)+" "+o),{source:"fetch"})),void(!L.status&&L instanceof Error&&function(){try{let U;if("URL"in Ze?U=new URL(o):(U=document.createElement("a"),U.href=o),U.protocol!=="https:"&&Ze.location.protocol==="https:"){const X=Object.assign(new Error(`Possible mixed-content issue? The page was loaded over https:// but a ${U.protocol}// URL was specified. Check that you are not attempting to load mixed content.`),{source:"fetch"});return void i.newThrownErr(X)}if(U.origin!==Ze.location.origin){const X=Object.assign(new Error(`Possible cross-origin (CORS) issue? The URL origin (${U.origin}) does not match the page (${Ze.location.origin}). Check the server returns the correct 'Access-Control-Allow-*' headers.`),{source:"fetch"});i.newThrownErr(X)}}catch{return}}());u.updateLoadingStatus("success"),u.updateSpec(L.text),p.url()!==o
|
||
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function _f(t){return _f=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_f(t)}function P5(t){var e=function(n,o){if(_f(n)!="object"||!n)return n;var i=n[Symbol.toPrimitive];if(i!==void 0){var p=i.call(n,o||"default");if(_f(p)!="object")return p;throw new TypeError("@@toPrimitive must return a primitive value.")}return(o==="string"?String:Number)(n)}(t,"string");return _f(e)=="symbol"?e:String(e)}function wS(t,e,r){return(e=P5(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function g1(){return g1=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},g1.apply(this,arguments)}function ES(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(t,o).enumerable})),r.push.apply(r,n)}return r}function eh(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?ES(Object(r),!0).forEach(function(n){wS(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):ES(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}var y1={};function N5(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0;return function(o){if(o.length===0||o.length===1)return o;var i=o.join(".");return y1[i]||(y1[i]=function(u){var g=u.length;return g===0||g===1?u:g===2?[u[0],u[1],"".concat(u[0],".").concat(u[1]),"".concat(u[1],".").concat(u[0])]:g===3?[u[0],u[1],u[2],"".concat(u[0],".").concat(u[1]),"".concat(u[0],".").concat(u[2]),"".concat(u[1],".").concat(u[0]),"".concat(u[1],".").concat(u[2]),"".concat(u[2],".").concat(u[0]),"".concat(u[2],".").concat(u[1]),"".concat(u[0],".").concat(u[1],".").concat(u[2]),"".concat(u[0],".").concat(u[2],".").concat(u[1]),"".concat(u[1],".").concat(u[0],".").concat(u[2]),"".concat(u[1],".").concat(u[2],".").concat(u[0]),"".concat(u[2],".").concat(u[0],".").concat(u[1]),"".concat(u[2],".").concat(u[1],".").concat(u[0])]:g>=4?[u[0],u[1],u[2],u[3],"".concat(u[0],".").concat(u[1]),"".concat(u[0],".").concat(u[2]),"".concat(u[0],".").concat(u[3]),"".concat(u[1],".").concat(u[0]),"".concat(u[1],".").concat(u[2]),"".concat(u[1],".").concat(u[3]),"".concat(u[2],".").concat(u[0]),"".concat(u[2],".").concat(u[1]),"".concat(u[2],".").concat(u[3]),"".concat(u[3],".").concat(u[0]),"".concat(u[3],".").concat(u[1]),"".concat(u[3],".").concat(u[2]),"".concat(u[0],".").concat(u[1],".").concat(u[2]),"".concat(u[0],".").concat(u[1],".").concat(u[3]),"".concat(u[0],".").concat(u[2],".").concat(u[1]),"".concat(u[0],".").concat(u[2],".").concat(u[3]),"".concat(u[0],".").concat(u[3],".").concat(u[1]),"".concat(u[0],".").concat(u[3],".").concat(u[2]),"".concat(u[1],".").concat(u[0],".").concat(u[2]),"".concat(u[1],".").concat(u[0],".").concat(u[3]),"".concat(u[1],".").concat(u[2],".").concat(u[0]),"".concat(u[1],".").concat(u[2],".").concat(u[3]),"".concat(u[1],".").concat(u[3],".").concat(u[0]),"".concat(u[1],".").concat(u[3],".").concat(u[2]),"".concat(u[2],".").concat(u[0],".").concat(u[1]),"".concat(u[2],".").concat(u[0],".").concat(u[3]),"".concat(u[2],".").concat(u[1],".").concat(u[0]),"".concat(u[2],".").concat(u[1],".").concat(u[3]),"".concat(u[2],".").concat(u[3],".").concat(u[0]),"".concat(u[2],".").concat(u[3],".").concat(u[1]),"".concat(u[3],".").concat(u[0],".").concat(u[1]),"".concat(u[3],".").concat(u[0],".").concat(u[2]),"".concat(u[3],".").concat(u[1],".").concat(u[0]),"".concat(u[3],".").concat(u[1],".").concat(u[2]),"".concat(u[3],".").concat(u[2],".").concat(u[0]),"".concat(u[3],".").concat(u[2],".").concat(u[1]),"".concat(u[0],"."
|
||
|
`))})}({lines:e.replace(/\n$/,"").split(`
|
||
|
`),style:p,startingLineNumber:u}))}function OS(t,e){return{type:"element",tagName:"span",properties:{key:"line-number--".concat(t),className:["comment","linenumber","react-syntax-highlighter-line-number"],style:e},children:[{type:"text",value:t}]}}function kS(t,e,r){var n,o={display:"inline-block",minWidth:(n=r,"".concat(n.toString().length,".25em")),paddingRight:"1em",textAlign:"right",userSelect:"none"},i=typeof t=="function"?t(e):t;return _c(_c({},o),i)}function Ey(t){var e=t.children,r=t.lineNumber,n=t.lineNumberStyle,o=t.largestLineNumber,i=t.showInlineLineNumbers,p=t.lineProps,u=p===void 0?{}:p,g=t.className,_=g===void 0?[]:g,k=t.showLineNumbers,I=t.wrapLongLines,L=typeof u=="function"?u(r):u;if(L.className=_,r&&i){var M=kS(n,r,o);e.unshift(OS(r,M))}return I&k&&(L.style=_c(_c({},L.style),{},{display:"flex"})),{type:"element",tagName:"span",properties:L,children:e}}function AS(t){for(var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[],n=0;n<t.length;n++){var o=t[n];if(o.type==="text")r.push(Ey({children:[o],className:j5(new Set(e))}));else if(o.children){var i=e.concat(o.properties.className);AS(o.children,i).forEach(function(p){return r.push(p)})}}return r}function D5(t,e,r,n,o,i,p,u,g){var _,k=AS(t.value),I=[],L=-1,M=0;function U(V,se){var ce=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];return e||ce.length>0?function(we,he){return Ey({children:we,lineNumber:he,lineNumberStyle:u,largestLineNumber:p,showInlineLineNumbers:o,lineProps:r,className:arguments.length>2&&arguments[2]!==void 0?arguments[2]:[],showLineNumbers:n,wrapLongLines:g})}(V,se,ce):function(we,he){if(n&&he&&o){var Ne=kS(u,he,p);we.unshift(OS(he,Ne))}return we}(V,se)}for(var X=function(){var se=k[M],ce=se.children[0].value,me=function(Ne){return Ne.match(R5)}(ce);if(me){var we=ce.split(`
|
||
|
`);we.forEach(function(he,Ne){var xe=n&&I.length+i,Ae={type:"text",value:"".concat(he,`
|
||
|
`)};if(Ne===0){var ve=U(k.slice(L+1,M).concat(Ey({children:[Ae],className:se.properties.className})),xe);I.push(ve)}else if(Ne===we.length-1){var Ce=k[M+1]&&k[M+1].children&&k[M+1].children[0],ke={type:"text",value:"".concat(he)};if(Ce){var $e=Ey({children:[ke],className:se.properties.className});k.splice(M+1,0,$e)}else{var lt=U([ke],xe,se.properties.className);I.push(lt)}}else{var Ct=U([Ae],xe,se.properties.className);I.push(Ct)}}),L=M}M++};M<k.length;)X();if(L!==k.length-1){var te=k.slice(L+1,k.length);if(te&&te.length){var pe=U(te,n&&I.length+i);I.push(pe)}}return e?I:(_=[]).concat.apply(_,I)}function L5(t){var e=t.rows,r=t.stylesheet,n=t.useInlineStyles;return e.map(function(o,i){return _S({node:o,stylesheet:r,useInlineStyles:n,key:"code-segement".concat(i)})})}function CS(t){return t&&t.highlightAuto!==void 0}var jS=Be(43768),PS=function(e,r){return function(o){var i=o.language,p=o.children,u=o.style,g=u===void 0?r:u,_=o.customStyle,k=_===void 0?{}:_,I=o.codeTagProps,L=I===void 0?{className:i?"language-".concat(i):void 0,style:_c(_c({},g['code[class*="language-"]']),g['code[class*="language-'.concat(i,'"]')])}:I,M=o.useInlineStyles,U=M===void 0||M,X=o.showLineNumbers,te=X!==void 0&&X,pe=o.showInlineLineNumbers,V=pe===void 0||pe,se=o.startingLineNumber,ce=se===void 0?1:se,me=o.lineNumberContainerStyle,we=o.lineNumberStyle,he=we===void 0?{}:we,Ne=o.wrapLines,xe=o.wrapLongLines,Ae=xe!==void 0&&xe,ve=o.lineProps,Ce=ve===void 0?{}:ve,ke=o.renderer,$e=o.PreTag,lt=$e===void 0?"pre":$e,Ct=o.CodeTag,nr=Ct===void 0?"code":Ct,Wt=o.code,$t=Wt===void 0?(Array.isArray(p)?p[0]:p)||"":Wt,Jt=o.astGenerator,fr=C5(o,T5);Jt=Jt||e;var or=te?c.createElement(M5,{containerStyle:me,codeStyle:L.style||{},numberStyle:he,startingLineNumber:ce,codeString:$t}):null,mt=g.hljs||g['pre[class*="language-"]']||{backgroundColor:"#fff"},cr=CS(Jt)?"hljs":"prismjs",Lt=U?Object.assign({},fr,{style:Object.assign({},mt,k)}):Object.assign({},fr,{className:fr.className?"".concat(cr," ").concat(fr.className):cr,style:Object.assign({},k)});if(L.style=_c(_c({},L.style),{},Ae?{whiteSpace:"pre-wrap"}:{whiteSpace:"pre"}),!Jt)return c.createElement(lt,Lt,or,c.createElement(nr,L,$t));(Ne===void 0&&ke||Ae)&&(Ne=!0),ke=ke||L5;var ur=[{type:"text",value:$t}],Fr=function(zr){var Kr=zr.astGenerator,Sn=zr.language,xo=zr.code,_n=zr.defaultCodeValue;if(CS(Kr)){var qa=I5(Kr,Sn);return Sn==="text"?{value:_n,language:"text"}:qa?Kr.highlight(Sn,xo):Kr.highlightAuto(xo)}try{return Sn&&Sn!=="text"?{value:Kr.highlight(xo,Sn)}:{value:_n}}catch{return{value:_n}}}({astGenerator:Jt,language:i,code:$t,defaultCodeValue:ur});Fr.language===null&&(Fr.value=ur);var En=D5(Fr,Ne,Ce,te,V,ce,Fr.value.length+ce,he,Ae);return c.createElement(lt,Lt,c.createElement(nr,L,!V&&or,ke({rows:En,stylesheet:g,useInlineStyles:U})))}}(jS,{});PS.registerLanguage=jS.registerLanguage;const yl=PS;var F5=Be(95089);const NS=Be.n(F5)();var B5=Be(65772);const $5=Be.n(B5)();var q5=Be(17285);const z5=Be.n(q5)();var U5=Be(35344);const V5=Be.n(U5)();var W5=Be(17533);const K5=Be.n(W5)();var J5=Be(73402);const H5=Be.n(J5)();var G5=Be(26571);const Y5=Be.n(G5)(),X5=()=>{yl.registerLanguage("json",$5),yl.registerLanguage("js",NS),yl.registerLanguage("xml",z5),yl.registerLanguage("yaml",K5),yl.registerLanguage("http",H5),yl.registerLanguage("bash",V5),yl.registerLanguage("powershell",Y5),yl.registerLanguage("javascript",NS)},IS={hljs:{display:"block",overflowX:"auto",padding:"0.5em",background:"#333",color:"white"},"hljs-name":{fontWeight:"bold"},"hljs-strong":{fontWeight:"bold"},"hljs-code":{fontStyle:"italic",color:"#888"},"hljs-emphasis":{fontStyle:"italic"},"hljs-tag":{color:"#62c8f3"},"hljs-variable":{color:"#ade5fc"},"hljs-template-variable":{color:"#ade5fc"},"hljs-selector-id":{color:"#ade5fc"},"hljs-selector-class":{color:"#ade5fc"},"hljs-string":{color:"#a2fca2"},"hljs-bullet":{color:"#d36363"},"hljs-type":{color:"#ffa"},"hljs-title":{color:"#ffa"},"hljs-section":{color:"#ffa"},"hljs-attribute":{color:"#ffa"},"hljs-quote":{color:"#ffa"},"hljs-built_in":{color:"#ffa"},"hljs-builtin-name":{color:"#ffa"},"hljs-number":{
|
||
|
|
||
|
`+r}I=c.createElement(g,{language:L,downloadable:!0,fileName:`${_}.json`,canCopy:!0},k)}else/xml/i.test(n)?(k=qR()(r,{textNodesOnSameLine:!0,indentor:" "}),I=c.createElement(g,{downloadable:!0,fileName:`${_}.xml`,canCopy:!0},k)):I=HS()(n)==="text/html"||/text\/plain/.test(n)?c.createElement(g,{downloadable:!0,fileName:`${_}.html`,canCopy:!0},r):HS()(n)==="text/csv"||/text\/csv/.test(n)?c.createElement(g,{downloadable:!0,fileName:`${_}.csv`,canCopy:!0},r):/^image\//i.test(n)?n.includes("svg")?c.createElement("div",null," ",r," "):c.createElement("img",{src:window.URL.createObjectURL(r)}):/^audio\//i.test(n)?c.createElement("pre",{className:"microlight"},c.createElement("audio",{controls:!0,key:o},c.createElement("source",{src:o,type:n}))):typeof r=="string"?c.createElement(g,{downloadable:!0,fileName:`${_}.txt`,canCopy:!0},r):r.size>0?u?c.createElement("div",null,c.createElement("p",{className:"i"},"Unrecognized response type; displaying content as text."),c.createElement(g,{downloadable:!0,fileName:`${_}.txt`,canCopy:!0},u)):c.createElement("p",{className:"i"},"Unrecognized response type; unable to display."):null;return I?c.createElement("div",null,c.createElement("h5",null,"Response body"),I):null}}class GS extends c.Component{constructor(r){super(r);De(this,"onChange",(r,n,o)=>{let{specActions:{changeParamByIdentity:i},onChangeKey:p}=this.props;i(p,r,n,o)});De(this,"onChangeConsumesWrapper",r=>{let{specActions:{changeConsumesValue:n},onChangeKey:o}=this.props;n(o,r)});De(this,"toggleTab",r=>r==="parameters"?this.setState({parametersVisible:!0,callbackVisible:!1}):r==="callbacks"?this.setState({callbackVisible:!0,parametersVisible:!1}):void 0);De(this,"onChangeMediaType",({value:r,pathMethod:n})=>{let{specActions:o,oas3Selectors:i,oas3Actions:p}=this.props;const u=i.hasUserEditedBody(...n),g=i.shouldRetainRequestBodyValue(...n);p.setRequestContentType({value:r,pathMethod:n}),p.initRequestBodyValidateError({pathMethod:n}),u||(g||p.setRequestBodyValue({value:void 0,pathMethod:n}),o.clearResponse(...n),o.clearRequest(...n),o.clearValidateParams(n))});this.state={callbackVisible:!1,parametersVisible:!0}}render(){let{onTryoutClick:r,onResetClick:n,parameters:o,allowTryItOut:i,tryItOutEnabled:p,specPath:u,fn:g,getComponent:_,getConfigs:k,specSelectors:I,specActions:L,pathMethod:M,oas3Actions:U,oas3Selectors:X,operation:te}=this.props;const pe=_("parameterRow"),V=_("TryItOutButton"),se=_("contentType"),ce=_("Callbacks",!0),me=_("RequestBody",!0),we=p&&i,he=I.isOAS3(),Ne=`${w1(`${M[1]}${M[0]}_requests`)}_select`,xe=te.get("requestBody"),Ae=Object.values(o.reduce((ve,Ce)=>{const ke=Ce.get("in");return ve[ke]??(ve[ke]=[]),ve[ke].push(Ce),ve},{})).reduce((ve,Ce)=>ve.concat(Ce),[]);return c.createElement("div",{className:"opblock-section"},c.createElement("div",{className:"opblock-section-header"},he?c.createElement("div",{className:"tab-header"},c.createElement("div",{onClick:()=>this.toggleTab("parameters"),className:`tab-item ${this.state.parametersVisible&&"active"}`},c.createElement("h4",{className:"opblock-title"},c.createElement("span",null,"Parameters"))),te.get("callbacks")?c.createElement("div",{onClick:()=>this.toggleTab("callbacks"),className:`tab-item ${this.state.callbackVisible&&"active"}`},c.createElement("h4",{className:"opblock-title"},c.createElement("span",null,"Callbacks"))):null):c.createElement("div",{className:"tab-header"},c.createElement("h4",{className:"opblock-title"},"Parameters")),i?c.createElement(V,{isOAS3:I.isOAS3(),hasUserEditedBody:X.hasUserEditedBody(...M),enabled:p,onCancelClick:this.props.onCancelClick,onTryoutClick:r,onResetClick:()=>n(M)}):null),this.state.parametersVisible?c.createElement("div",{className:"parameters-container"},Ae.length?c.createElement("div",{className:"table-container"},c.createElement("table",{className:"parameters"},c.createElement("thead",null,c.createElement("tr",null,c.createElement("th",{className:"col_header parameters-col_name"},"Name"),c.createElement("th",{className:"col_header parameters-col_description"},"Description"))),c.createElement("tbody",null,Ae.map(
|
||
|
`},Xt.blockquote_close=function(t,e){return"</blockquote>"+ku(t,e)},Xt.code=function(t,e){return t[e].block?"<pre><code>"+ri(t[e].content)+"</code></pre>"+ku(t,e):"<code>"+ri(t[e].content)+"</code>"},Xt.fence=function(t,e,r,n,o){var i,p,u=t[e],g="",_=r.langPrefix;if(u.params){if(p=(i=u.params.split(/\s+/g)).join(" "),A9(o.rules.fence_custom,i[0]))return o.rules.fence_custom[i[0]](t,e,r,n,o);g=' class="'+_+ri(Ou(Of(p)))+'"'}return"<pre><code"+g+">"+(r.highlight&&r.highlight.apply(r.highlight,[u.content].concat(i))||ri(u.content))+"</code></pre>"+ku(t,e)},Xt.fence_custom={},Xt.heading_open=function(t,e){return"<h"+t[e].hLevel+">"},Xt.heading_close=function(t,e){return"</h"+t[e].hLevel+`>
|
||
|
`},Xt.hr=function(t,e,r){return(r.xhtmlOut?"<hr />":"<hr>")+ku(t,e)},Xt.bullet_list_open=function(){return`<ul>
|
||
|
`},Xt.bullet_list_close=function(t,e){return"</ul>"+ku(t,e)},Xt.list_item_open=function(){return"<li>"},Xt.list_item_close=function(){return`</li>
|
||
|
`},Xt.ordered_list_open=function(t,e){var r=t[e];return"<ol"+(r.order>1?' start="'+r.order+'"':"")+`>
|
||
|
`},Xt.ordered_list_close=function(t,e){return"</ol>"+ku(t,e)},Xt.paragraph_open=function(t,e){return t[e].tight?"":"<p>"},Xt.paragraph_close=function(t,e){var r=!(t[e].tight&&e&&t[e-1].type==="inline"&&!t[e-1].content);return(t[e].tight?"":"</p>")+(r?ku(t,e):"")},Xt.link_open=function(t,e,r){var n=t[e].title?' title="'+ri(Ou(t[e].title))+'"':"",o=r.linkTarget?' target="'+r.linkTarget+'"':"";return'<a href="'+ri(t[e].href)+'"'+n+o+">"},Xt.link_close=function(){return"</a>"},Xt.image=function(t,e,r){var n=' src="'+ri(t[e].src)+'"',o=t[e].title?' title="'+ri(Ou(t[e].title))+'"':"";return"<img"+n+(' alt="'+(t[e].alt?ri(Ou(Of(t[e].alt))):"")+'"')+o+(r.xhtmlOut?" /":"")+">"},Xt.table_open=function(){return`<table>
|
||
|
`},Xt.table_close=function(){return`</table>
|
||
|
`},Xt.thead_open=function(){return`<thead>
|
||
|
`},Xt.thead_close=function(){return`</thead>
|
||
|
`},Xt.tbody_open=function(){return`<tbody>
|
||
|
`},Xt.tbody_close=function(){return`</tbody>
|
||
|
`},Xt.tr_open=function(){return"<tr>"},Xt.tr_close=function(){return`</tr>
|
||
|
`},Xt.th_open=function(t,e){var r=t[e];return"<th"+(r.align?' style="text-align:'+r.align+'"':"")+">"},Xt.th_close=function(){return"</th>"},Xt.td_open=function(t,e){var r=t[e];return"<td"+(r.align?' style="text-align:'+r.align+'"':"")+">"},Xt.td_close=function(){return"</td>"},Xt.strong_open=function(){return"<strong>"},Xt.strong_close=function(){return"</strong>"},Xt.em_open=function(){return"<em>"},Xt.em_close=function(){return"</em>"},Xt.del_open=function(){return"<del>"},Xt.del_close=function(){return"</del>"},Xt.ins_open=function(){return"<ins>"},Xt.ins_close=function(){return"</ins>"},Xt.mark_open=function(){return"<mark>"},Xt.mark_close=function(){return"</mark>"},Xt.sub=function(t,e){return"<sub>"+ri(t[e].content)+"</sub>"},Xt.sup=function(t,e){return"<sup>"+ri(t[e].content)+"</sup>"},Xt.hardbreak=function(t,e,r){return r.xhtmlOut?`<br />
|
||
|
`:`<br>
|
||
|
`},Xt.softbreak=function(t,e,r){return r.breaks?r.xhtmlOut?`<br />
|
||
|
`:`<br>
|
||
|
`:`
|
||
|
`},Xt.text=function(t,e){return ri(t[e].content)},Xt.htmlblock=function(t,e){return t[e].content},Xt.htmltag=function(t,e){return t[e].content},Xt.abbr_open=function(t,e){return'<abbr title="'+ri(Ou(t[e].title))+'">'},Xt.abbr_close=function(){return"</abbr>"},Xt.footnote_ref=function(t,e){var r=Number(t[e].id+1).toString(),n="fnref"+r;return t[e].subId>0&&(n+=":"+t[e].subId),'<sup class="footnote-ref"><a href="#fn'+r+'" id="'+n+'">['+r+"]</a></sup>"},Xt.footnote_block_open=function(t,e,r){return(r.xhtmlOut?`<hr class="footnotes-sep" />
|
||
|
`:`<hr class="footnotes-sep">
|
||
|
`)+`<section class="footnotes">
|
||
|
<ol class="footnotes-list">
|
||
|
`},Xt.footnote_block_close=function(){return`</ol>
|
||
|
</section>
|
||
|
`},Xt.footnote_open=function(t,e){return'<li id="fn'+Number(t[e].id+1).toString()+'" class="footnote-item">'},Xt.footnote_close=function(){return`</li>
|
||
|
`},Xt.footnote_anchor=function(t,e){var r="fnref"+Number(t[e].id+1).toString();return t[e].subId>0&&(r+=":"+t[e].subId),' <a href="#'+r+'" class="footnote-backref">\u21A9</a>'},Xt.dl_open=function(){return`<dl>
|
||
|
`},Xt.dt_open=function(){return"<dt>"},Xt.dd_open=function(){return"<dd>"},Xt.dl_close=function(){return`</dl>
|
||
|
`},Xt.dt_close=function(){return`</dt>
|
||
|
`},Xt.dd_close=function(){return`</dd>
|
||
|
`};var ku=Xt.getBreak=function(e,r){return(r=c_(e,r))<e.length&&e[r].type==="list_item_close"?"":`
|
||
|
`};function A1(){this.rules=s_({},Xt),this.getBreak=Xt.getBreak}function ni(){this.__rules__=[],this.__cache__=null}function Au(t,e,r,n,o){this.src=t,this.env=n,this.options=r,this.parser=e,this.tokens=o,this.pos=0,this.posMax=this.src.length,this.level=0,this.pending="",this.pendingLevel=0,this.cache=[],this.isInLabel=!1,this.linkLevel=0,this.linkContent="",this.labelUnmatchedScopes=0}function kf(t,e){var r,n,o,i=-1,p=t.posMax,u=t.pos,g=t.isInLabel;if(t.isInLabel)return-1;if(t.labelUnmatchedScopes)return t.labelUnmatchedScopes--,-1;for(t.pos=e+1,t.isInLabel=!0,r=1;t.pos<p;){if((o=t.src.charCodeAt(t.pos))===91)r++;else if(o===93&&--r===0){n=!0;break}t.parser.skipToken(t)}return n?(i=t.pos,t.labelUnmatchedScopes=0):t.labelUnmatchedScopes=r-1,t.pos=u,t.isInLabel=g,i}function D9(t,e,r,n){var o,i,p,u,g,_;if(t.charCodeAt(0)!==42||t.charCodeAt(1)!==91||t.indexOf("]:")===-1||(i=kf(o=new Au(t,e,r,n,[]),1))<0||t.charCodeAt(i+1)!==58)return-1;for(u=o.posMax,p=i+2;p<u&&o.src.charCodeAt(p)!==10;p++);return g=t.slice(2,i),(_=t.slice(i+2,p).trim()).length===0?-1:(n.abbreviations||(n.abbreviations={}),n.abbreviations[":"+g]===void 0&&(n.abbreviations[":"+g]=_),p)}function C1(t){var e=Ou(t);try{e=decodeURI(e)}catch{}return encodeURI(e)}function u_(t,e){var r,n,o,i=e,p=t.posMax;if(t.src.charCodeAt(e)===60){for(e++;e<p;){if((r=t.src.charCodeAt(e))===10)return!1;if(r===62)return o=C1(Of(t.src.slice(i+1,e))),!!t.parser.validateLink(o)&&(t.pos=e+1,t.linkContent=o,!0);r===92&&e+1<p?e+=2:e++}return!1}for(n=0;e<p&&(r=t.src.charCodeAt(e))!==32&&!(r<32||r===127);)if(r===92&&e+1<p)e+=2;else{if(r===40&&++n>1||r===41&&--n<0)break;e++}return i!==e&&(o=Of(t.src.slice(i,e)),!!t.parser.validateLink(o)&&(t.linkContent=o,t.pos=e,!0))}function p_(t,e){var r,n=e,o=t.posMax,i=t.src.charCodeAt(e);if(i!==34&&i!==39&&i!==40)return!1;for(e++,i===40&&(i=41);e<o;){if((r=t.src.charCodeAt(e))===i)return t.pos=e+1,t.linkContent=Of(t.src.slice(n+1,e)),!0;r===92&&e+1<o?e+=2:e++}return!1}function h_(t){return t.trim().replace(/\s+/g," ").toUpperCase()}function L9(t,e,r,n){var o,i,p,u,g,_,k,I,L;if(t.charCodeAt(0)!==91||t.indexOf("]:")===-1||(i=kf(o=new Au(t,e,r,n,[]),0))<0||t.charCodeAt(i+1)!==58)return-1;for(u=o.posMax,p=i+2;p<u&&((g=o.src.charCodeAt(p))===32||g===10);p++);if(!u_(o,p))return-1;for(k=o.linkContent,_=p=o.pos,p+=1;p<u&&((g=o.src.charCodeAt(p))===32||g===10);p++);for(p<u&&_!==p&&p_(o,p)?(I=o.linkContent,p=o.pos):(I="",p=_);p<u&&o.src.charCodeAt(p)===32;)p++;return p<u&&o.src.charCodeAt(p)!==10?-1:(L=h_(t.slice(1,i)),n.references[L]===void 0&&(n.references[L]={title:I,href:k}),p)}A1.prototype.renderInline=function(t,e,r){for(var n=this.rules,o=t.length,i=0,p="";o--;)p+=n[t[i].type](t,i++,e,r,this);return p},A1.prototype.render=function(t,e,r){for(var n=this.rules,o=t.length,i=-1,p="";++i<o;)t[i].type==="inline"?p+=this.renderInline(t[i].children,e,r):p+=n[t[i].type](t,i,e,r,this);return p},ni.prototype.__find__=function(t){for(var e=this.__rules__.length,r=-1;e--;)if(this.__rules__[++r].name===t)return r;return-1},ni.prototype.__compile__=function(){var t=this,e=[""];t.__rules__.forEach(function(r){r.enabled&&r.alt.forEach(function(n){e.indexOf(n)<0&&e.push(n)})}),t.__cache__={},e.forEach(function(r){t.__cache__[r]=[],t.__rules__.forEach(function(n){n.enabled&&(r&&n.alt.indexOf(r)<0||t.__cache__[r].push(n.fn))})})},ni.prototype.at=function(t,e,r){var n=this.__find__(t),o=r||{};if(n===-1)throw new Error("Parser rule not found: "+t);this.__rules__[n].fn=e,this.__rules__[n].alt=o.alt||[],this.__cache__=null},ni.prototype.before=function(t,e,r,n){var o=this.__find__(t),i=n||{};if(o===-1)throw new Error("Parser rule not found: "+t);this.__rules__.splice(o,0,{name:e,enabled:!0,fn:r,alt:i.alt||[]}),this.__cache__=null},ni.prototype.after=function(t,e,r,n){var o=this.__find__(t),i=n||{};if(o===-1)throw new Error("Parser rule not found: "+t);this.__rules__.splice(o+1,0,{name:e,enabled:!0,fn:r,alt:i.alt||[]}),this.__cache__=null},ni.prototype.push=function(t,e,r){var n=r||{};this.__rules__.push({name:t,enabled:!0,fn:e,alt:n.alt||[]}),this.__cache__=null},ni.prototype
|
||
|
()[]'".,!?-`;function j1(t){return t.replace(/([-()\[\]{}+?*.$\^|,:#<!\\])/g,"\\$1")}var F9=/\+-|\.\.|\?\?\?\?|!!!!|,,|--/,B9=/\((c|tm|r|p)\)/gi,$9={c:"\xA9",r:"\xAE",p:"\xA7",tm:"\u2122"};function q9(t){return t.indexOf("(")<0?t:t.replace(B9,function(e,r){return $9[r.toLowerCase()]})}var z9=/['"]/,f_=/['"]/g,U9=/[-\s()\[\]]/;function m_(t,e){return!(e<0||e>=t.length)&&!U9.test(t[e])}function th(t,e,r){return t.substr(0,e)+r+t.substr(e+1)}var P1=[["block",function(e){e.inlineMode?e.tokens.push({type:"inline",content:e.src.replace(/\n/g," ").trim(),level:0,lines:[0,1],children:[]}):e.block.parse(e.src,e.options,e.env,e.tokens)}],["abbr",function(e){var r,n,o,i,p=e.tokens;if(!e.inlineMode){for(r=1,n=p.length-1;r<n;r++)if(p[r-1].type==="paragraph_open"&&p[r].type==="inline"&&p[r+1].type==="paragraph_close"){for(o=p[r].content;o.length&&!((i=D9(o,e.inline,e.options,e.env))<0);)o=o.slice(i).trim();p[r].content=o,o.length||(p[r-1].tight=!0,p[r+1].tight=!0)}}}],["references",function(e){var r,n,o,i,p=e.tokens;if(e.env.references=e.env.references||{},!e.inlineMode){for(r=1,n=p.length-1;r<n;r++)if(p[r].type==="inline"&&p[r-1].type==="paragraph_open"&&p[r+1].type==="paragraph_close"){for(o=p[r].content;o.length&&!((i=L9(o,e.inline,e.options,e.env))<0);)o=o.slice(i).trim();p[r].content=o,o.length||(p[r-1].tight=!0,p[r+1].tight=!0)}}}],["inline",function(e){var r,n,o,i=e.tokens;for(n=0,o=i.length;n<o;n++)(r=i[n]).type==="inline"&&e.inline.parse(r.content,e.options,e.env,r.children)}],["footnote_tail",function(e){var r,n,o,i,p,u,g,_,k,I=0,L=!1,M={};if(e.env.footnotes&&(e.tokens=e.tokens.filter(function(U){return U.type==="footnote_reference_open"?(L=!0,_=[],k=U.label,!1):U.type==="footnote_reference_close"?(L=!1,M[":"+k]=_,!1):(L&&_.push(U),!L)}),e.env.footnotes.list)){for(u=e.env.footnotes.list,e.tokens.push({type:"footnote_block_open",level:I++}),r=0,n=u.length;r<n;r++){for(e.tokens.push({type:"footnote_open",id:r,level:I++}),u[r].tokens?((g=[]).push({type:"paragraph_open",tight:!1,level:I++}),g.push({type:"inline",content:"",level:I,children:u[r].tokens}),g.push({type:"paragraph_close",tight:!1,level:--I})):u[r].label&&(g=M[":"+u[r].label]),e.tokens=e.tokens.concat(g),p=e.tokens[e.tokens.length-1].type==="paragraph_close"?e.tokens.pop():null,i=u[r].count>0?u[r].count:1,o=0;o<i;o++)e.tokens.push({type:"footnote_anchor",id:r,subId:o,level:I});p&&e.tokens.push(p),e.tokens.push({type:"footnote_close",level:--I})}e.tokens.push({type:"footnote_block_close",level:--I})}}],["abbr2",function(e){var r,n,o,i,p,u,g,_,k,I,L,M,U=e.tokens;if(e.env.abbreviations){for(e.env.abbrRegExp||(M="(^|["+d_.split("").map(j1).join("")+"])("+Object.keys(e.env.abbreviations).map(function(X){return X.substr(1)}).sort(function(X,te){return te.length-X.length}).map(j1).join("|")+")($|["+d_.split("").map(j1).join("")+"])",e.env.abbrRegExp=new RegExp(M,"g")),I=e.env.abbrRegExp,n=0,o=U.length;n<o;n++)if(U[n].type==="inline"){for(r=(i=U[n].children).length-1;r>=0;r--)if((p=i[r]).type==="text"){for(_=0,u=p.content,I.lastIndex=0,k=p.level,g=[];L=I.exec(u);)I.lastIndex>_&&g.push({type:"text",content:u.slice(_,L.index+L[1].length),level:k}),g.push({type:"abbr_open",title:e.env.abbreviations[":"+L[2]],level:k++}),g.push({type:"text",content:L[2],level:k}),g.push({type:"abbr_close",level:--k}),_=I.lastIndex-L[3].length;g.length&&(_<u.length&&g.push({type:"text",content:u.slice(_),level:k}),U[n].children=i=[].concat(i.slice(0,r),g,i.slice(r+1)))}}}}],["replacements",function(e){var r,n,o,i,p;if(e.options.typographer){for(p=e.tokens.length-1;p>=0;p--)if(e.tokens[p].type==="inline")for(r=(i=e.tokens[p].children).length-1;r>=0;r--)(n=i[r]).type==="text"&&(o=q9(o=n.content),F9.test(o)&&(o=o.replace(/\+-/g,"\xB1").replace(/\.{2,}/g,"\u2026").replace(/([?!])…/g,"$1..").replace(/([?!]){4,}/g,"$1$1$1").replace(/,{2,}/g,",").replace(/(^|[^-])---([^-]|$)/gm,"$1\u2014$2").replace(/(^|\s)--(\s|$)/gm,"$1\u2013$2").replace(/(^|[^-\s])--([^-\s]|$)/gm,"$1\u2013$2")),n.content=o)}}],["smartquotes",function(e){var r,n,o,i,p,u,g,_,k,I,L,M,U,X,te,pe,V;if(e.options.typographer){for(V=[],te=
|
||
|
`)).indexOf(" ")>=0&&(t=t.replace(K9,function(u,g){var _;return t.charCodeAt(g)===10?(i=g+1,p=0,u):(_=" ".slice((g-i-p)%4),p=g-i+1,_)})),o=new Cu(t,this,e,r,n),this.tokenize(o,o.line,o.lineMax)};for(var T1=[],w_=0;w_<256;w_++)T1.push(0);function E_(t){return t>=48&&t<=57||t>=65&&t<=90||t>=97&&t<=122}function S_(t,e){var r,n,o,i=e,p=!0,u=!0,g=t.posMax,_=t.src.charCodeAt(e);for(r=e>0?t.src.charCodeAt(e-1):-1;i<g&&t.src.charCodeAt(i)===_;)i++;return i>=g&&(p=!1),(o=i-e)>=4?p=u=!1:((n=i<g?t.src.charCodeAt(i):-1)!==32&&n!==10||(p=!1),r!==32&&r!==10||(u=!1),_===95&&(E_(r)&&(p=!1),E_(n)&&(u=!1))),{can_open:p,can_close:u,delims:o}}"\\!\"#$%&'()*+,./:;<=>?@[]^_`{|}~-".split("").forEach(function(t){T1[t.charCodeAt(0)]=1});var Y9=/\\([ \\!"#$%&'()*+,.\/:;<=>?@[\]^_`{|}~-])/g,X9=/\\([ \\!"#$%&'()*+,.\/:;<=>?@[\]^_`{|}~-])/g,Q9=["coap","doi","javascript","aaa","aaas","about","acap","cap","cid","crid","data","dav","dict","dns","file","ftp","geo","go","gopher","h323","http","https","iax","icap","im","imap","info","ipp","iris","iris.beep","iris.xpc","iris.xpcs","iris.lwz","ldap","mailto","mid","msrp","msrps","mtqp","mupdate","news","nfs","ni","nih","nntp","opaquelocktoken","pop","pres","rtsp","service","session","shttp","sieve","sip","sips","sms","snmp","soap.beep","soap.beeps","tag","tel","telnet","tftp","thismessage","tn3270","tip","tv","urn","vemmi","ws","wss","xcon","xcon-userid","xmlrpc.beep","xmlrpc.beeps","xmpp","z39.50r","z39.50s","adiumxtra","afp","afs","aim","apt","attachment","aw","beshare","bitcoin","bolo","callto","chrome","chrome-extension","com-eventbrite-attendee","content","cvs","dlna-playsingle","dlna-playcontainer","dtn","dvb","ed2k","facetime","feed","finger","fish","gg","git","gizmoproject","gtalk","hcp","icon","ipn","irc","irc6","ircs","itms","jar","jms","keyparc","lastfm","ldaps","magnet","maps","market","message","mms","ms-help","msnim","mumble","mvn","notes","oid","palm","paparazzi","platform","proxy","psyc","query","res","resource","rmi","rsync","rtmp","secondlife","sftp","sgn","skype","smb","soldat","spotify","ssh","steam","svn","teamspeak","things","udp","unreal","ut2004","ventrilo","view-source","webcal","wtai","wyciwyg","xfire","xri","ymsgr"],Z9=/^<([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])?)*)>/,eM=/^<([a-zA-Z.\-]{1,25}):([^<>\x00-\x20]*)>/;function Oy(t,e){return t=t.source,e=e||"",function r(n,o){return n?(o=o.source||o,t=t.replace(n,o),r):new RegExp(t,e)}}var tM=Oy(/(?:unquoted|single_quoted|double_quoted)/)("unquoted",/[^"'=<>`\x00-\x20]+/)("single_quoted",/'[^']*'/)("double_quoted",/"[^"]*"/)(),rM=Oy(/(?:\s+attr_name(?:\s*=\s*attr_value)?)/)("attr_name",/[a-zA-Z_:][a-zA-Z0-9:._-]*/)("attr_value",tM)(),nM=Oy(/<[A-Za-z][A-Za-z0-9]*attribute*\s*\/?>/)("attribute",rM)(),oM=Oy(/^(?:open_tag|close_tag|comment|processing|declaration|cdata)/)("open_tag",nM)("close_tag",/<\/[A-Za-z][A-Za-z0-9]*\s*>/)("comment",/<!---->|<!--(?:-?[^>-])(?:-?[^-])*-->/)("processing",/<[?].*?[?]>/)("declaration",/<![A-Z]+\s+[^>]*>/)("cdata",/<!\[CDATA\[[\s\S]*?\]\]>/)(),aM=/^&#((?:x[a-f0-9]{1,8}|[0-9]{1,8}));/i,iM=/^&([a-z][a-z0-9]{1,31});/i,R1=[["text",function(e,r){for(var n=e.pos;n<e.posMax&&!G9(e.src.charCodeAt(n));)n++;return n!==e.pos&&(r||(e.pending+=e.src.slice(e.pos,n)),e.pos=n,!0)}],["newline",function(e,r){var n,o,i=e.pos;if(e.src.charCodeAt(i)!==10)return!1;if(n=e.pending.length-1,o=e.posMax,!r)if(n>=0&&e.pending.charCodeAt(n)===32)if(n>=1&&e.pending.charCodeAt(n-1)===32){for(var p=n-2;p>=0;p--)if(e.pending.charCodeAt(p)!==32){e.pending=e.pending.substring(0,p+1);break}e.push({type:"hardbreak",level:e.level})}else e.pending=e.pending.slice(0,-1),e.push({type:"softbreak",level:e.level});else e.push({type:"softbreak",level:e.level});for(i++;i<o&&e.src.charCodeAt(i)===32;)i++;return e.pos=i,!0}],["escape",function(e,r){var n,o=e.pos,i=e.posMax;if(e.src.charCodeAt(o)!==92)return!1;if(++o<i){if((n=e.src.charCodeAt(o))<256&&T1[n]!==0)return r||(e.pending+=e.src[o]),e.pos+=2,!0;if(n===10){for(r||e.push({type:"hardbreak",level:e.level}),
|
||
|
|
||
|
import Remarkable from 'remarkable';
|
||
|
import linkify from 'remarkable/linkify';
|
||
|
new Remarkable().use(linkify)
|
||
|
`),this.inline=new ky,this.block=new I1,this.core=new g_,this.renderer=new A1,this.ruler=new ni,this.options={},this.configure(lM[t]),this.set(e||{})}vl.prototype.set=function(t){s_(this.options,t)},vl.prototype.configure=function(t){var e=this;if(!t)throw new Error("Wrong `remarkable` preset, check name/content");t.options&&e.set(t.options),t.components&&Object.keys(t.components).forEach(function(r){t.components[r].rules&&e[r].ruler.enable(t.components[r].rules,!0)})},vl.prototype.use=function(t,e){return t(this,e),this},vl.prototype.parse=function(t,e){var r=new __(this,t,e);return this.core.process(r),r.tokens},vl.prototype.render=function(t,e){return e=e||{},this.renderer.render(this.parse(t,e),this.options,e)},vl.prototype.parseInline=function(t,e){var r=new __(this,t,e);return r.inlineMode=!0,this.core.process(r),r.tokens},vl.prototype.renderInline=function(t,e){return e=e||{},this.renderer.render(this.parseInline(t,e),this.options,e)};function x_(t,e){if(Array.prototype.indexOf)return t.indexOf(e);for(var r=0,n=t.length;r<n;r++)if(t[r]===e)return r;return-1}function ju(t,e){for(var r=t.length-1;r>=0;r--)e(t[r])===!0&&t.splice(r,1)}function M1(t){throw new Error("Unhandled case for value: '".concat(t,"'"))}var D1=function(){function t(e){e===void 0&&(e={}),this.tagName="",this.attrs={},this.innerHTML="",this.whitespaceRegex=/\s+/,this.tagName=e.tagName||"",this.attrs=e.attrs||{},this.innerHTML=e.innerHtml||e.innerHTML||""}return t.prototype.setTagName=function(e){return this.tagName=e,this},t.prototype.getTagName=function(){return this.tagName||""},t.prototype.setAttr=function(e,r){return this.getAttrs()[e]=r,this},t.prototype.getAttr=function(e){return this.getAttrs()[e]},t.prototype.setAttrs=function(e){return Object.assign(this.getAttrs(),e),this},t.prototype.getAttrs=function(){return this.attrs||(this.attrs={})},t.prototype.setClass=function(e){return this.setAttr("class",e)},t.prototype.addClass=function(e){for(var r,n=this.getClass(),o=this.whitespaceRegex,i=n?n.split(o):[],p=e.split(o);r=p.shift();)x_(i,r)===-1&&i.push(r);return this.getAttrs().class=i.join(" "),this},t.prototype.removeClass=function(e){for(var r,n=this.getClass(),o=this.whitespaceRegex,i=n?n.split(o):[],p=e.split(o);i.length&&(r=p.shift());){var u=x_(i,r);u!==-1&&i.splice(u,1)}return this.getAttrs().class=i.join(" "),this},t.prototype.getClass=function(){return this.getAttrs().class||""},t.prototype.hasClass=function(e){return(" "+this.getClass()+" ").indexOf(" "+e+" ")!==-1},t.prototype.setInnerHTML=function(e){return this.innerHTML=e,this},t.prototype.setInnerHtml=function(e){return this.setInnerHTML(e)},t.prototype.getInnerHTML=function(){return this.innerHTML||""},t.prototype.getInnerHtml=function(){return this.getInnerHTML()},t.prototype.toAnchorString=function(){var e=this.getTagName(),r=this.buildAttrsStr();return["<",e,r=r?" "+r:"",">",this.getInnerHtml(),"</",e,">"].join("")},t.prototype.buildAttrsStr=function(){if(!this.attrs)return"";var e=this.getAttrs(),r=[];for(var n in e)e.hasOwnProperty(n)&&r.push(n+'="'+e[n]+'"');return r.join(" ")},t}(),O_=function(){function t(e){e===void 0&&(e={}),this.newWindow=!1,this.truncate={},this.className="",this.newWindow=e.newWindow||!1,this.truncate=e.truncate||{},this.className=e.className||""}return t.prototype.build=function(e){return new D1({tagName:"a",attrs:this.createAttrs(e),innerHtml:this.processAnchorText(e.getAnchorText())})},t.prototype.createAttrs=function(e){var r={href:e.getAnchorHref()},n=this.createCssClass(e);return n&&(r.class=n),this.newWindow&&(r.target="_blank",r.rel="noopener noreferrer"),this.truncate&&this.truncate.length&&this.truncate.length<e.getAnchorText().length&&(r.title=e.getAnchorHref()),r},t.prototype.createCssClass=function(e){var r=this.className;if(r){for(var n=[r],o=e.getCssClassSuffixes(),i=0,p=o.length;i<p;i++)n.push(r+"-"+o[i]);return n.join(" ")}return""},t.prototype.processAnchorText=function(e){return e=this.doTruncate(e)},t.prototype.doTruncate=function(e){var r=this.truncate;if(!r||!r.length)return e;var n=r.length,o=r.location;return o==="smart
|
||
|
`).map((I,L)=>L>0?Array(_+1).join(" ")+I:I).join(`
|
||
|
`)}(0,JSON.stringify(p,null,2))||"{}",c.createElement("br",null)))}}const c7=l7,u7=({servers:t,currentServer:e,setSelectedServer:r,setServerVariableValue:n,getServerVariable:o,getEffectiveServerValue:i})=>{const p=(t.find(k=>k.get("url")===e)||(0,oe.OrderedMap)()).get("variables")||(0,oe.OrderedMap)(),u=p.size!==0;(0,c.useEffect)(()=>{e||r(t.first()?.get("url"))},[]),(0,c.useEffect)(()=>{const k=t.find(I=>I.get("url")===e);if(!k)return void r(t.first().get("url"));(k.get("variables")||(0,oe.OrderedMap)()).map((I,L)=>{n({server:e,key:L,val:I.get("default")||""})})},[e,t]);const g=(0,c.useCallback)(k=>{r(k.target.value)},[r]),_=(0,c.useCallback)(k=>{const I=k.target.getAttribute("data-variable"),L=k.target.value;n({server:e,key:I,val:L})},[n,e]);return c.createElement("div",{className:"servers"},c.createElement("label",{htmlFor:"servers"},c.createElement("select",{onChange:g,value:e,id:"servers"},t.valueSeq().map(k=>c.createElement("option",{value:k.get("url"),key:k.get("url")},k.get("url"),k.get("description")&&` - ${k.get("description")}`)).toArray())),u&&c.createElement("div",null,c.createElement("div",{className:"computed-url"},"Computed URL:",c.createElement("code",null,i(e))),c.createElement("h4",null,"Server variables"),c.createElement("table",null,c.createElement("tbody",null,p.entrySeq().map(([k,I])=>c.createElement("tr",{key:k},c.createElement("td",null,k),c.createElement("td",null,I.get("enum")?c.createElement("select",{"data-variable":k,onChange:_},I.get("enum").map(L=>c.createElement("option",{selected:L===o(e,k),key:L,value:L},L))):c.createElement("input",{type:"text",value:o(e,k)||"",onChange:_,"data-variable":k}))))))))};class p7 extends c.Component{render(){const{specSelectors:e,oas3Selectors:r,oas3Actions:n,getComponent:o}=this.props,i=e.servers(),p=o("Servers");return i&&i.size?c.createElement("div",null,c.createElement("span",{className:"servers-title"},"Servers"),c.createElement(p,{servers:i,currentServer:r.selectedServer(),setSelectedServer:n.setSelectedServer,setServerVariableValue:n.setServerVariableValue,getServerVariable:r.serverVariableValue,getEffectiveServerValue:r.serverEffectiveValue})):null}}const h7=Function.prototype;class V_ extends c.PureComponent{constructor(r,n){super(r,n);De(this,"applyDefaultValue",r=>{const{onChange:n,defaultValue:o}=r||this.props;return this.setState({value:o}),n(o)});De(this,"onChange",r=>{this.props.onChange(It(r))});De(this,"onDomChange",r=>{const n=r.target.value;this.setState({value:n},()=>this.onChange(n))});this.state={value:It(r.value)||r.defaultValue},r.onChange(r.value)}UNSAFE_componentWillReceiveProps(r){this.props.value!==r.value&&r.value!==this.state.value&&this.setState({value:It(r.value)}),!r.value&&r.defaultValue&&this.state.value&&this.applyDefaultValue(r)}render(){let{getComponent:r,errors:n}=this.props,{value:o}=this.state,i=n.size>0;const p=r("TextArea");return c.createElement("div",{className:"body-param"},c.createElement(p,{className:rn()("body-param__text",{invalid:i}),title:n.size?n.join(", "):"",value:o,onChange:this.onDomChange}))}}De(V_,"defaultProps",{onChange:h7,userHasEditedBody:!1});class d7 extends c.Component{constructor(r,n){super(r,n);De(this,"onChange",r=>{let{onChange:n}=this.props,{value:o,name:i}=r.target,p=Object.assign({},this.state.value);i?p[i]=o:p=o,this.setState({value:p},()=>n(this.state))});let{name:o,schema:i}=this.props,p=this.getValue();this.state={name:o,schema:i,value:p}}getValue(){let{name:r,authorized:n}=this.props;return n&&n.getIn([r,"value"])}render(){let{schema:r,getComponent:n,errSelectors:o,name:i}=this.props;const p=n("Input"),u=n("Row"),g=n("Col"),_=n("authError"),k=n("Markdown",!0),I=n("JumpToPath",!0),L=(r.get("scheme")||"").toLowerCase();let M=this.getValue(),U=o.allErrors().filter(X=>X.get("authId")===i);if(L==="basic"){let X=M?M.get("username"):null;return c.createElement("div",null,c.createElement("h4",null,c.createElement("code",null,i||r.get("name")),"\xA0 (http, Basic)",c.createElement(I,{path:["securityDefinitions",i]})),X&&c.createElement("h6",null,"Authorized"),c.createElement(u,null,c.creat
|
||
|
`;else if(n>126){const o=unescape(encodeURIComponent(t.charAt(r)));for(let i=0;i<o.length;i++)e+="="+("0"+o.charCodeAt(i).toString(16)).slice(-2).toUpperCase()}else e+="="+("0"+n.toString(16)).slice(-2).toUpperCase()}return e};var QL=Be(48287).Buffer;const ZL=t=>QL.from(t).toString("hex");var eF=Be(48287).Buffer;const tF=t=>{const e=eF.from(t).toString("utf8"),r="ABCDEFGHIJKLMNOPQRSTUVWXYZ234567";let n=0,o="",i=0,p=0;for(let u=0;u<e.length;u++)for(i=i<<8|e.charCodeAt(u),p+=8;p>=5;)o+=r.charAt(i>>>p-5&31),p-=5;p>0&&(o+=r.charAt(i<<5-p&31),n=(8-8*e.length%5)%5);for(let u=0;u<n;u++)o+="=";return o};var rF=Be(48287).Buffer;const nF=t=>rF.from(t).toString("base64");var oF=Be(48287).Buffer;const aF=t=>oF.from(t).toString("base64url"),By=new(uO=class extends Dy{constructor(){super(...arguments);Ff(this,Mf,{"7bit":KL,"8bit":HL,binary:YL,"quoted-printable":XL,base16:ZL,base32:tF,base64:nF,base64url:aF});De(this,"data",{..._l(this,Mf)})}get defaults(){return{..._l(this,Mf)}}},Mf=new WeakMap,uO),Jx=(t,e)=>typeof e=="function"?By.register(t,e):e===null?By.unregister(t):By.get(t);Jx.getDefaults=()=>By.defaults;const Hx=Jx,iF={"text/plain":()=>"string","text/css":()=>".selector { border: 1px solid red }","text/csv":()=>"value1,value2,value3","text/html":()=>"<p>content</p>","text/calendar":()=>"BEGIN:VCALENDAR","text/javascript":()=>"console.dir('Hello world!');","text/xml":()=>'<person age="30">John Doe</person>',"text/*":()=>"string"},sF={"image/*":()=>Ry(25).toString("binary")},lF={"audio/*":()=>Ry(25).toString("binary")},cF={"video/*":()=>Ry(25).toString("binary")},uF={"application/json":()=>'{"key":"value"}',"application/ld+json":()=>'{"name": "John Doe"}',"application/x-httpd-php":()=>"<?php echo '<p>Hello World!</p>'; ?>","application/rtf":()=>String.raw`{\rtf1\adeflang1025\ansi\ansicpg1252\uc1`,"application/x-sh":()=>'echo "Hello World!"',"application/xhtml+xml":()=>"<p>content</p>","application/*":()=>Ry(25).toString("binary")},sh=new(pO=class extends Dy{constructor(){super(...arguments);Ff(this,Df,{...iF,...sF,...lF,...cF,...uF});De(this,"data",{..._l(this,Df)})}get defaults(){return{..._l(this,Df)}}},Df=new WeakMap,pO),Gx=(t,e)=>{if(typeof e=="function")return sh.register(t,e);if(e===null)return sh.unregister(t);const r=t.split(";").at(0),n=`${r.split("/").at(0)}/*`;return sh.get(t)||sh.get(r)||sh.get(n)};Gx.getDefaults=()=>sh.defaults;const Yx=Gx,ow=(t,e={})=>{const{maxLength:r,minLength:n}=e;let o=t;if(Number.isInteger(r)&&r>0&&(o=o.slice(0,r)),Number.isInteger(n)&&n>0){let i=0;for(;o.length<n;)o+=o[i++%o.length]}return o},pF=(t,{sample:e}={})=>{const{contentEncoding:r,contentMediaType:n,contentSchema:o}=t,{pattern:i,format:p}=t,u=Hx(r)||fS();let g;return g=typeof i=="string"?ow((_=>{try{return new(id())(_).gen()}catch{return"string"}})(i),t):typeof p=="string"?(_=>{const{format:k}=_,I=Fy(k);return typeof I=="function"?I(_):"string"})(t):wl(o)&&typeof n=="string"&&e!==void 0?Array.isArray(e)||typeof e=="object"?JSON.stringify(e):ow(String(e),t):typeof n=="string"?(_=>{const{contentMediaType:k}=_,I=Yx(k);return typeof I=="function"?I(_):"string"})(t):ow("string",t),u(g)},Xx=(t,e={})=>{const{minimum:r,maximum:n,exclusiveMinimum:o,exclusiveMaximum:i}=e,{multipleOf:p}=e,u=Number.isInteger(t)?1:Number.EPSILON;let g=typeof r=="number"?r:null,_=typeof n=="number"?n:null,k=t;if(typeof o=="number"&&(g=g!==null?Math.max(g,o+u):o+u),typeof i=="number"&&(_=_!==null?Math.min(_,i-u):i-u),k=g>_&&t||g||_||k,typeof p=="number"&&p>0){const I=k%p;k=I===0?k:k+p-I}return k},hF=t=>{const{format:e}=t;let r;return r=typeof e=="string"?(n=>{const{format:o}=n,i=Fy(o);return typeof i=="function"?i(n):0})(t):0,Xx(r,t)},dF=t=>{const{format:e}=t;let r;return r=typeof e=="string"?(n=>{const{format:o}=n,i=Fy(o);if(typeof i=="function")return i(n);switch(o){case"int32":return Vx();case"int64":return Wx()}return 0})(t):0,Xx(r,t)},fF=t=>typeof t.default!="boolean"||t.default,$y=new Proxy({array:EL,object:SL,string:pF,number:hF,integer:dF,boolean:fF,null:()=>null},{get:(t,e)=>typeof e=="string"&&Object.hasOwn(t,e)?t[e]:()=>`Unknown Type: ${e}`}),Qx=["array
|
||
|
`&&(u=u.slice(0,u.length-1))}catch(g){return console.error(g),"error: could not generate yaml example"}return u.replace(/\t/g," ")},SF=t=>(e,r,n)=>{const{fn:o}=t();if(e&&!e.xml&&(e.xml={}),e&&!e.xml.name){if(!e.$$ref&&(e.type||e.items||e.properties||e.additionalProperties))return`<?xml version="1.0" encoding="UTF-8"?>
|
||
|
<!-- XML example cannot be generated; root element name is undefined -->`;if(e.$$ref){let i=e.$$ref.match(/\S*\/(\S+)$/);e.xml.name=i[1]}}return o.jsonSchema202012.memoizedCreateXMLExample(e,r,n)},_F=t=>(e,r="",n={},o=void 0)=>{const{fn:i}=t();return typeof e?.toJS=="function"&&(e=e.toJS()),typeof o?.toJS=="function"&&(o=o.toJS()),/xml/.test(r)?i.jsonSchema202012.getXmlSampleSchema(e,n,o):/(yaml|yml)/.test(r)?i.jsonSchema202012.getYamlSampleSchema(e,n,r,o):i.jsonSchema202012.getJsonSampleSchema(e,n,r,o)},aO=({getSystem:t})=>{const e=wF(t),r=EF(t),n=SF(t),o=_F(t);return{fn:{jsonSchema202012:{sampleFromSchema:rO,sampleFromSchemaGeneric:Ho,sampleOptionAPI:yF,sampleEncoderAPI:Hx,sampleFormatAPI:Fy,sampleMediaTypeAPI:Yx,createXMLExample:tO,memoizedSampleFromSchema:gF,memoizedCreateXMLExample:mF,getJsonSampleSchema:e,getYamlSampleSchema:r,getXmlSampleSchema:n,getSampleSchema:o,mergeJsonSchema:lh}}}};function iO(){return[z_,Z1,Ux,aO,uL]}const xF=t=>()=>({fn:t.fn,components:t.components,state:t.state}),OF=t=>{const e=ye()({layout:{layout:t.layout,filter:t.filter},spec:{spec:"",url:t.url},requestSnippets:t.requestSnippets},t.initialState);if(t.initialState)for(const[r,n]of Object.entries(t.initialState))n===void 0&&delete e[r];return{system:{configs:t.configs},plugins:t.presets,pluginsOptions:t.pluginsOptions,state:e}},kF=()=>t=>{const e=t.queryConfigEnabled?(()=>{const r=new URLSearchParams(Ze.location.search);return Object.fromEntries(r)})():{};return Object.entries(e).reduce((r,[n,o])=>(n==="config"?r.configUrl=o:n==="urls.primaryName"?r[n]=o:r=Wm()(r,n,o),r),{})},AF=({url:t,system:e})=>async r=>{if(!t)return{};if(typeof e.configsActions?.getConfigByUrl!="function")return{};let n;const o=new Promise(i=>{n=i});return e.configsActions.getConfigByUrl({url:t,loadRemoteConfig:!0,requestInterceptor:r.requestInterceptor,responseInterceptor:r.responseInterceptor},i=>{n(i)}),o},CF=()=>()=>{const t={};return globalThis.location&&(t.oauth2RedirectUrl=`${globalThis.location.protocol}//${globalThis.location.host}${globalThis.location.pathname.substring(0,globalThis.location.pathname.lastIndexOf("/"))}/oauth2-redirect.html`),t},co=Object.freeze({dom_id:null,domNode:null,spec:{},url:"",urls:null,configUrl:null,layout:"BaseLayout",docExpansion:"list",maxDisplayedTags:-1,filter:!1,validatorUrl:"https://validator.swagger.io/validator",oauth2RedirectUrl:void 0,persistAuthorization:!1,configs:{},custom:{},displayOperationId:!1,displayRequestDuration:!1,deepLinking:!1,tryItOutEnabled:!1,requestInterceptor:t=>t,responseInterceptor:t=>t,showMutatedRequest:!0,defaultModelRendering:"example",defaultModelExpandDepth:1,defaultModelsExpandDepth:1,showExtensions:!1,showCommonExtensions:!1,withCredentials:!1,requestSnippetsEnabled:!1,requestSnippets:{generators:{curl_bash:{title:"cURL (bash)",syntax:"bash"},curl_powershell:{title:"cURL (PowerShell)",syntax:"powershell"},curl_cmd:{title:"cURL (CMD)",syntax:"bash"}},defaultExpanded:!0,languages:null},supportedSubmitMethods:["get","put","post","delete","options","head","patch","trace"],queryConfigEnabled:!1,presets:[iO],plugins:[],pluginsOptions:{pluginLoadType:"legacy"},initialState:{},fn:{},components:{},syntaxHighlight:{activated:!0,theme:"agate"}});var jF=Be(61448),PF=Be.n(jF),NF=Be(77731),IF=Be.n(NF);const uw=(t,e=[])=>Array.isArray(t)?t:e,_i=(t,e=!1)=>t===!0||t==="true"||t===1||t==="1"||t!==!1&&t!=="false"&&t!==0&&t!=="0"&&e,TF=t=>t===null||t==="null"?null:t,RF=t=>{const e=String(t);return _i(t,e)},MF=t=>Array.isArray(t)?t:null,pw=t=>t===null||t==="null"?null:String(t),hw=(t,e=-1)=>{const r=parseInt(t,10);return Number.isNaN(r)?e:r},dw=(t,e={})=>Ty()(t)?t:e,Iu=t=>String(t),DF=(t,e)=>Ty()(t)?t:t===!1||t==="false"||t===0||t==="0"?{activated:!1}:e,LF=t=>t===void 0||t==="undefined"?void 0:String(t),sO={configUrl:{typeCaster:pw},deepLinking:{typeCaster:_i,defaultValue:co.deepLinking},defaultModelExpandDepth:{typeCaster:hw,defaultValue:co.defaultModelExpandDepth},defaultModelRendering:{typeCaster:Iu},defaultModelsExpandDepth:{typeCaster:hw,defaultValue:co.defaultModelsExpandDepth},displayOperationId:{typeCas
|