@redocly/openapi-docs 3.0.0-alpha.72.beta.0 → 3.0.0-alpha.74

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (60) hide show
  1. package/dist/console.redocly-openapi-docs.min.js +3 -3
  2. package/dist/oauth2-redirect.js +1 -1
  3. package/dist/redocly-openapi-docs.min.js +366 -366
  4. package/lib/components/DiscriminatorDropdown/DiscriminatorDropdown.js +1 -1
  5. package/lib/components/Fields/Examples.d.ts +2 -2
  6. package/lib/components/Fields/Field.js +1 -1
  7. package/lib/components/Markdown/Markdown.js +1 -1
  8. package/lib/components/OperationParameters/types.js +1 -1
  9. package/lib/components/PageFooter/PageFooter.d.ts +1 -1
  10. package/lib/components/Parameters/DropdownWithinHeader.d.ts +2 -2
  11. package/lib/components/RedoclyOpenAPIDocs/Providers.d.ts +1 -1
  12. package/lib/components/RedoclyOpenAPIDocs/RedoclyOpenAPIDocs.d.ts +2 -1
  13. package/lib/components/RedoclyOpenAPIDocs/utils.d.ts +1 -1
  14. package/lib/components/Responses/OperationResponseList.d.ts +2 -2
  15. package/lib/components/SecurityRequirement/constants.js +1 -1
  16. package/lib/components/SideMenu/Actions.d.ts +2 -2
  17. package/lib/components/common/LinkToField.d.ts +1 -0
  18. package/lib/components/common/LinkToField.js +1 -1
  19. package/lib/components/common/Portal/Portal.d.ts +2 -1
  20. package/lib/components/icons/LinkIcon.d.ts +2 -2
  21. package/lib/components/icons/SearchIcon.d.ts +2 -2
  22. package/lib/components/icons/Spinner.d.ts +2 -2
  23. package/lib/components/pluggable/PullRight.d.ts +2 -2
  24. package/lib/constants.js +1 -1
  25. package/lib/events/types.js +1 -1
  26. package/lib/models/file-upload.js +1 -1
  27. package/lib/services/Options/normalizeOptions.js +1 -1
  28. package/lib/services/Options/types.d.ts +2 -0
  29. package/lib/services/Options/types.js +1 -1
  30. package/lib/services/code-samples/httpsnippet/helpers/constants.js +1 -1
  31. package/lib/services/code-samples/httpsnippet/targets/index.d.ts +1 -1
  32. package/lib/services/code-samples/httpsnippet/targets/javascript/index.d.ts +1 -1
  33. package/lib/services/menu/helpers.d.ts +1 -1
  34. package/lib/services/types.js +1 -1
  35. package/lib/utils/openapi.js +1 -1
  36. package/lib-esm/components/DiscriminatorDropdown/DiscriminatorDropdown.js +1 -1
  37. package/lib-esm/components/Fields/Examples.d.ts +2 -2
  38. package/lib-esm/components/Fields/Field.js +1 -1
  39. package/lib-esm/components/Markdown/Markdown.js +1 -1
  40. package/lib-esm/components/PageFooter/PageFooter.d.ts +1 -1
  41. package/lib-esm/components/Parameters/DropdownWithinHeader.d.ts +2 -2
  42. package/lib-esm/components/RedoclyOpenAPIDocs/Providers.d.ts +1 -1
  43. package/lib-esm/components/RedoclyOpenAPIDocs/RedoclyOpenAPIDocs.d.ts +2 -1
  44. package/lib-esm/components/RedoclyOpenAPIDocs/utils.d.ts +1 -1
  45. package/lib-esm/components/Responses/OperationResponseList.d.ts +2 -2
  46. package/lib-esm/components/SideMenu/Actions.d.ts +2 -2
  47. package/lib-esm/components/common/LinkToField.d.ts +1 -0
  48. package/lib-esm/components/common/LinkToField.js +1 -1
  49. package/lib-esm/components/common/Portal/Portal.d.ts +2 -1
  50. package/lib-esm/components/icons/LinkIcon.d.ts +2 -2
  51. package/lib-esm/components/icons/SearchIcon.d.ts +2 -2
  52. package/lib-esm/components/icons/Spinner.d.ts +2 -2
  53. package/lib-esm/components/pluggable/PullRight.d.ts +2 -2
  54. package/lib-esm/services/Options/normalizeOptions.js +1 -1
  55. package/lib-esm/services/Options/types.d.ts +2 -0
  56. package/lib-esm/services/code-samples/httpsnippet/targets/index.d.ts +1 -1
  57. package/lib-esm/services/code-samples/httpsnippet/targets/javascript/index.d.ts +1 -1
  58. package/lib-esm/services/menu/helpers.d.ts +1 -1
  59. package/lib-esm/utils/openapi.js +1 -1
  60. package/package.json +4 -4
@@ -2,7 +2,7 @@
2
2
  * Redocly OpenAPI Docs
3
3
  * (c) Copyright 2018 Redocly LLC, all rights reserved.
4
4
  * -------------------------------------------------------------
5
- * Version: "3.0.0-alpha.72.beta.0"
5
+ * Version: "3.0.0-alpha.74"
6
6
  */(this.webpackChunkRedoclyOpenAPIDocs=this.webpackChunkRedoclyOpenAPIDocs||[]).push([[290],{29641:(x,N,f)=>{(function(v){v(f(46944))})(function(v){var C={pairs:`()[]{}''""`,closeBefore:`)]}'":;>`,triples:"",explode:"[]{}"},E=v.Pos;v.defineOption("autoCloseBrackets",!1,function(M,S,I){I&&I!=v.Init&&(M.removeKeyMap(D),M.state.closeBrackets=null),S&&(R(P(S,"pairs")),M.state.closeBrackets=S,M.addKeyMap(D))});function P(M,S){return S=="pairs"&&typeof M=="string"?M:typeof M=="object"&&M[S]!=null?M[S]:C[S]}var D={Backspace:Z,Enter:de};function R(M){for(var S=0;S<M.length;S++){var I=M.charAt(S),F="'"+I+"'";D[F]||(D[F]=V(I))}}R(C.pairs+"`");function V(M){return function(S){return $(S,M)}}function Q(M){var S=M.state.closeBrackets;if(!S||S.override)return S;var I=M.getModeAt(M.getCursor());return I.closeBrackets||S}function Z(M){var S=Q(M);if(!S||M.getOption("disableInput"))return v.Pass;for(var I=P(S,"pairs"),F=M.listSelections(),K=0;K<F.length;K++){if(!F[K].empty())return v.Pass;var te=k(M,F[K].head);if(!te||I.indexOf(te)%2!=0)return v.Pass}for(var K=F.length-1;K>=0;K--){var j=F[K].head;M.replaceRange("",E(j.line,j.ch-1),E(j.line,j.ch+1),"+delete")}}function de(M){var S=Q(M),I=S&&P(S,"explode");if(!I||M.getOption("disableInput"))return v.Pass;for(var F=M.listSelections(),K=0;K<F.length;K++){if(!F[K].empty())return v.Pass;var te=k(M,F[K].head);if(!te||I.indexOf(te)%2!=0)return v.Pass}M.operation(function(){var j=M.lineSeparator()||`
7
7
  `;M.replaceSelection(j+j,null),re(M,-1),F=M.listSelections();for(var ie=0;ie<F.length;ie++){var H=F[ie].head.line;M.indentLine(H,null,!0),M.indentLine(H+1,null,!0)}})}function re(M,S){for(var I=[],F=M.listSelections(),K=0,te=0;te<F.length;te++){var j=F[te];j.head==M.getCursor()&&(K=te);var ie=j.head.ch||S>0?{line:j.head.line,ch:j.head.ch+S}:{line:j.head.line-1};I.push({anchor:ie,head:ie})}M.setSelections(I,K)}function se(M){var S=v.cmpPos(M.anchor,M.head)>0;return{anchor:new E(M.anchor.line,M.anchor.ch+(S?-1:1)),head:new E(M.head.line,M.head.ch+(S?1:-1))}}function $(M,S){var I=Q(M);if(!I||M.getOption("disableInput"))return v.Pass;var F=P(I,"pairs"),K=F.indexOf(S);if(K==-1)return v.Pass;for(var te=P(I,"closeBefore"),j=P(I,"triples"),ie=F.charAt(K+1)==S,H=M.listSelections(),Y=K%2==0,ce,ge=0;ge<H.length;ge++){var G=H[ge],ve=G.head,ee,He=M.getRange(ve,E(ve.line,ve.ch+1));if(Y&&!G.empty())ee="surround";else if((ie||!Y)&&He==S)ie&&J(M,ve)?ee="both":j.indexOf(S)>=0&&M.getRange(ve,E(ve.line,ve.ch+3))==S+S+S?ee="skipThree":ee="skip";else if(ie&&ve.ch>1&&j.indexOf(S)>=0&&M.getRange(E(ve.line,ve.ch-2),ve)==S+S){if(ve.ch>2&&/\bstring/.test(M.getTokenTypeAt(E(ve.line,ve.ch-2))))return v.Pass;ee="addFour"}else if(ie){var _e=ve.ch==0?" ":M.getRange(E(ve.line,ve.ch-1),ve);if(!v.isWordChar(He)&&_e!=S&&!v.isWordChar(_e))ee="both";else return v.Pass}else if(Y&&(He.length===0||/\s/.test(He)||te.indexOf(He)>-1))ee="both";else return v.Pass;if(!ce)ce=ee;else if(ce!=ee)return v.Pass}var ze=K%2?F.charAt(K-1):S,dt=K%2?S:F.charAt(K+1);M.operation(function(){if(ce=="skip")re(M,1);else if(ce=="skipThree")re(M,3);else if(ce=="surround"){for(var ft=M.getSelections(),at=0;at<ft.length;at++)ft[at]=ze+ft[at]+dt;M.replaceSelections(ft,"around"),ft=M.listSelections().slice();for(var at=0;at<ft.length;at++)ft[at]=se(ft[at]);M.setSelections(ft)}else ce=="both"?(M.replaceSelection(ze+dt,null),M.triggerElectric(ze+dt),re(M,-1)):ce=="addFour"&&(M.replaceSelection(ze+ze+ze+ze,"before"),re(M,1))})}function k(M,S){var I=M.getRange(E(S.line,S.ch-1),E(S.line,S.ch+1));return I.length==2?I:null}function J(M,S){var I=M.getTokenAt(E(S.line,S.ch+1));return/\bstring/.test(I.type)&&I.start==S.ch&&(S.ch==0||!/\bstring/.test(M.getTokenTypeAt(S)))}})},82518:(x,N,f)=>{(function(v){v(f(46944))})(function(v){var C=/MSIE \d/.test(navigator.userAgent)&&(document.documentMode==null||document.documentMode<8),E=v.Pos,P={"(":")>",")":"(<","[":"]>","]":"[<","{":"}>","}":"{<","<":">>",">":"<<"};function D(re){return re&&re.bracketRegex||/[(){}[\]]/}function R(re,se,$){var k=re.getLineHandle(se.line),J=se.ch-1,M=$&&$.afterCursor;M==null&&(M=/(^| )cm-fat-cursor($| )/.test(re.getWrapperElement().className));var S=D($),I=!M&&J>=0&&S.test(k.text.charAt(J))&&P[k.text.charAt(J)]||S.test(k.text.charAt(J+1))&&P[k.text.charAt(++J)];if(!I)return null;var F=I.charAt(1)==">"?1:-1;if($&&$.strict&&F>0!=(J==se.ch))return null;var K=re.getTokenTypeAt(E(se.line,J+1)),te=V(re,E(se.line,J+(F>0?1:0)),F,K,$);return te==null?null:{from:E(se.line,J),to:te&&te.pos,match:te&&te.ch==I.charAt(0),forward:F>0}}function V(re,se,$,k,J){for(var M=J&&J.maxScanLineLength||1e4,S=J&&J.maxScanLines||1e3,I=[],F=D(J),K=$>0?Math.min(se.line+S,re.lastLine()+1):Math.max(re.firstLine()-1,se.line-S),te=se.line;te!=K;te+=$){var j=re.getLine(te);if(j){var ie=$>0?0:j.length-1,H=$>0?j.length:-1;if(!(j.length>M))for(te==se.line&&(ie=se.ch-($<0?1:0));ie!=H;ie+=$){var Y=j.charAt(ie);if(F.test(Y)&&(k===void 0||(re.getTokenTypeAt(E(te,ie+1))||"")==(k||""))){var ce=P[Y];if(ce&&ce.charAt(1)==">"==$>0)I.push(Y);else if(I.length)I.pop();else return{pos:E(te,ie),ch:Y}}}}}return te-$==($>0?re.lastLine():re.firstLine())?!1:null}function Q(re,se,$){for(var k=re.state.matchBrackets.maxHighlightLineLength||1e3,J=$&&$.highlightNonMatching,M=[],S=re.listSelections(),I=0;I<S.length;I++){var F=S[I].empty()&&R(re,S[I].head,$);if(F&&(F.match||J!==!1)&&re.getLine(F.from.line).length<=k){var K=F.match?"CodeMirror-matchingbracket":"CodeMirror-nonmatchingbracket";M.push(re.markText(F.from,E(F.from.line,F.from.ch+1),{className:K})),F.to&&re.getLine(F.to.line).length<=k&&M.push(re.markText(F.to,E(F.to.line,F.to.ch+1),{className:K}))}}if(M.length){C&&re.state.focused&&re.focus();var te=function(){re.operation(function(){for(var j=0;j<M.length;j++)M[j].clear()})};if(se)setTimeout(te,800);else return te}}function Z(re){re.operation(function(){re.state.matchBrackets.currentlyHighlighted&&(re.state.matchBrackets.currentlyHighlighted(),re.state.matchBrackets.currentlyHighlighted=null),re.state.matchBrackets.currentlyHighlighted=Q(re,!1,re.state.matchBrackets)})}function de(re){re.state.matchBrackets&&re.state.matchBrackets.currentlyHighlighted&&(re.state.matchBrackets.currentlyHighlighted(),re.state.matchBrackets.currentlyHighlighted=null)}v.defineOption("matchBrackets",!1,function(re,se,$){$&&$!=v.Init&&(re.off("cursorActivity",Z),re.off("focus",Z),re.off("blur",de),de(re)),se&&(re.state.matchBrackets=typeof se=="object"?se:{},re.on("cursorActivity",Z),re.on("focus",Z),re.on("blur",de))}),v.defineExtension("matchBrackets",function(){Q(this,!0)}),v.defineExtension("findMatchingBracket",function(re,se,$){return($||typeof se=="boolean")&&($?($.strict=se,se=$):se=se?{strict:!0}:null),R(this,re,se)}),v.defineExtension("scanForBracket",function(re,se,$,k){return V(this,re,se,$,k)})})},77436:(x,N,f)=>{(function(v){v(f(46944))})(function(v){"use strict";var C="CodeMirror-hint",E="CodeMirror-hint-active";v.showHint=function(M,S,I){if(!S)return M.showHint(I);I&&I.async&&(S.async=!0);var F={hint:S};if(I)for(var K in I)F[K]=I[K];return M.showHint(F)},v.defineExtension("showHint",function(M){M=V(this,this.getCursor("start"),M);var S=this.listSelections();if(!(S.length>1)){if(this.somethingSelected()){if(!M.hint.supportsSelection)return;for(var I=0;I<S.length;I++)if(S[I].head.line!=S[I].anchor.line)return}this.state.completionActive&&this.state.completionActive.close();var F=this.state.completionActive=new P(this,M);F.options.hint&&(v.signal(this,"startCompletion",this),F.update(!0))}}),v.defineExtension("closeHint",function(){this.state.completionActive&&this.state.completionActive.close()});function P(M,S){if(this.cm=M,this.options=S,this.widget=null,this.debounce=0,this.tick=0,this.startPos=this.cm.getCursor("start"),this.startLen=this.cm.getLine(this.startPos.line).length-this.cm.getSelection().length,this.options.updateOnCursorActivity){var I=this;M.on("cursorActivity",this.activityFunc=function(){I.cursorActivity()})}}var D=window.requestAnimationFrame||function(M){return setTimeout(M,1e3/60)},R=window.cancelAnimationFrame||clearTimeout;P.prototype={close:function(){this.active()&&(this.cm.state.completionActive=null,this.tick=null,this.options.updateOnCursorActivity&&this.cm.off("cursorActivity",this.activityFunc),this.widget&&this.data&&v.signal(this.data,"close"),this.widget&&this.widget.close(),v.signal(this.cm,"endCompletion",this.cm))},active:function(){return this.cm.state.completionActive==this},pick:function(M,S){var I=M.list[S],F=this;this.cm.operation(function(){I.hint?I.hint(F.cm,M,I):F.cm.replaceRange(Q(I),I.from||M.from,I.to||M.to,"complete"),v.signal(M,"pick",I),F.cm.scrollIntoView()}),this.options.closeOnPick&&this.close()},cursorActivity:function(){this.debounce&&(R(this.debounce),this.debounce=0);var M=this.startPos;this.data&&(M=this.data.from);var S=this.cm.getCursor(),I=this.cm.getLine(S.line);if(S.line!=this.startPos.line||I.length-S.ch!=this.startLen-this.startPos.ch||S.ch<M.ch||this.cm.somethingSelected()||!S.ch||this.options.closeCharacters.test(I.charAt(S.ch-1)))this.close();else{var F=this;this.debounce=D(function(){F.update()}),this.widget&&this.widget.disable()}},update:function(M){if(this.tick!=null){var S=this,I=++this.tick;$(this.options.hint,this.cm,this.options,function(F){S.tick==I&&S.finishUpdate(F,M)})}},finishUpdate:function(M,S){this.data&&v.signal(this.data,"update");var I=this.widget&&this.widget.picked||S&&this.options.completeSingle;this.widget&&this.widget.close(),this.data=M,M&&M.list.length&&(I&&M.list.length==1?this.pick(M,0):(this.widget=new re(this,M),v.signal(M,"shown")))}};function V(M,S,I){var F=M.options.hintOptions,K={};for(var te in J)K[te]=J[te];if(F)for(var te in F)F[te]!==void 0&&(K[te]=F[te]);if(I)for(var te in I)I[te]!==void 0&&(K[te]=I[te]);return K.hint.resolve&&(K.hint=K.hint.resolve(M,S)),K}function Q(M){return typeof M=="string"?M:M.text}function Z(M,S){var I={Up:function(){S.moveFocus(-1)},Down:function(){S.moveFocus(1)},PageUp:function(){S.moveFocus(-S.menuSize()+1,!0)},PageDown:function(){S.moveFocus(S.menuSize()-1,!0)},Home:function(){S.setFocus(0)},End:function(){S.setFocus(S.length-1)},Enter:S.pick,Tab:S.pick,Esc:S.close},F=/Mac/.test(navigator.platform);F&&(I["Ctrl-P"]=function(){S.moveFocus(-1)},I["Ctrl-N"]=function(){S.moveFocus(1)});var K=M.options.customKeys,te=K?{}:I;function j(Y,ce){var ge;typeof ce!="string"?ge=function(G){return ce(G,S)}:I.hasOwnProperty(ce)?ge=I[ce]:ge=ce,te[Y]=ge}if(K)for(var ie in K)K.hasOwnProperty(ie)&&j(ie,K[ie]);var H=M.options.extraKeys;if(H)for(var ie in H)H.hasOwnProperty(ie)&&j(ie,H[ie]);return te}function de(M,S){for(;S&&S!=M;){if(S.nodeName.toUpperCase()==="LI"&&S.parentNode==M)return S;S=S.parentNode}}function re(M,S){this.id="cm-complete-"+Math.floor(Math.random(1e6)),this.completion=M,this.data=S,this.picked=!1;var I=this,F=M.cm,K=F.getInputField().ownerDocument,te=K.defaultView||K.parentWindow,j=this.hints=K.createElement("ul");j.setAttribute("role","listbox"),j.setAttribute("aria-expanded","true"),j.id=this.id;var ie=M.cm.options.theme;j.className="CodeMirror-hints "+ie,this.selectedHint=S.selectedHint||0;for(var H=S.list,Y=0;Y<H.length;++Y){var ce=j.appendChild(K.createElement("li")),ge=H[Y],G=C+(Y!=this.selectedHint?"":" "+E);ge.className!=null&&(G=ge.className+" "+G),ce.className=G,Y==this.selectedHint&&ce.setAttribute("aria-selected","true"),ce.id=this.id+"-"+Y,ce.setAttribute("role","option"),ge.render?ge.render(ce,S,ge):ce.appendChild(K.createTextNode(ge.displayText||Q(ge))),ce.hintId=Y}var ve=M.options.container||K.body,ee=F.cursorCoords(M.options.alignWithWord?S.from:null),He=ee.left,_e=ee.bottom,ze=!0,dt=0,ft=0;if(ve!==K.body){var at=["absolute","relative","fixed"].indexOf(te.getComputedStyle(ve).position)!==-1,Gt=at?ve:ve.offsetParent,ht=Gt.getBoundingClientRect(),Ot=K.body.getBoundingClientRect();dt=ht.left-Ot.left-Gt.scrollLeft,ft=ht.top-Ot.top-Gt.scrollTop}j.style.left=He-dt+"px",j.style.top=_e-ft+"px";var nt=te.innerWidth||Math.max(K.body.offsetWidth,K.documentElement.offsetWidth),Ue=te.innerHeight||Math.max(K.body.offsetHeight,K.documentElement.offsetHeight);ve.appendChild(j),F.getInputField().setAttribute("aria-autocomplete","list"),F.getInputField().setAttribute("aria-owns",this.id),F.getInputField().setAttribute("aria-activedescendant",this.id+"-"+this.selectedHint);var Fe=M.options.moveOnOverlap?j.getBoundingClientRect():new DOMRect,Re=M.options.paddingForScrollbar?j.scrollHeight>j.clientHeight+1:!1,it;setTimeout(function(){it=F.getScrollInfo()});var Dt=Fe.bottom-Ue;if(Dt>0){var qe=Fe.bottom-Fe.top,St=Fe.top-(ee.bottom-ee.top)-2;Ue-Fe.top<St?(qe>St&&(j.style.height=(qe=St)+"px"),j.style.top=(_e=ee.top-qe)+ft+"px",ze=!1):j.style.height=Ue-Fe.top-2+"px"}var Kt=Fe.right-nt;if(Re&&(Kt+=F.display.nativeBarWidth),Kt>0&&(Fe.right-Fe.left>nt&&(j.style.width=nt-5+"px",Kt-=Fe.right-Fe.left-nt),j.style.left=(He=Math.max(ee.left-Kt-dt,0))+"px"),Re)for(var Jt=j.firstChild;Jt;Jt=Jt.nextSibling)Jt.style.paddingRight=F.display.nativeBarWidth+"px";if(F.addKeyMap(this.keyMap=Z(M,{moveFocus:function(xt,Lt){I.changeActive(I.selectedHint+xt,Lt)},setFocus:function(xt){I.changeActive(xt)},menuSize:function(){return I.screenAmount()},length:H.length,close:function(){M.close()},pick:function(){I.pick()},data:S})),M.options.closeOnUnfocus){var pr;F.on("blur",this.onBlur=function(){pr=setTimeout(function(){M.close()},100)}),F.on("focus",this.onFocus=function(){clearTimeout(pr)})}F.on("scroll",this.onScroll=function(){var xt=F.getScrollInfo(),Lt=F.getWrapperElement().getBoundingClientRect();it||(it=F.getScrollInfo());var Or=_e+it.top-xt.top,Ft=Or-(te.pageYOffset||(K.documentElement||K.body).scrollTop);if(ze||(Ft+=j.offsetHeight),Ft<=Lt.top||Ft>=Lt.bottom)return M.close();j.style.top=Or+"px",j.style.left=He+it.left-xt.left+"px"}),v.on(j,"dblclick",function(xt){var Lt=de(j,xt.target||xt.srcElement);Lt&&Lt.hintId!=null&&(I.changeActive(Lt.hintId),I.pick())}),v.on(j,"click",function(xt){var Lt=de(j,xt.target||xt.srcElement);Lt&&Lt.hintId!=null&&(I.changeActive(Lt.hintId),M.options.completeOnSingleClick&&I.pick())}),v.on(j,"mousedown",function(){setTimeout(function(){F.focus()},20)});var Je=this.getSelectedHintRange();return(Je.from!==0||Je.to!==0)&&this.scrollToActive(),v.signal(S,"select",H[this.selectedHint],j.childNodes[this.selectedHint]),!0}re.prototype={close:function(){if(this.completion.widget==this){this.completion.widget=null,this.hints.parentNode&&this.hints.parentNode.removeChild(this.hints),this.completion.cm.removeKeyMap(this.keyMap);var M=this.completion.cm.getInputField();M.removeAttribute("aria-activedescendant"),M.removeAttribute("aria-owns");var S=this.completion.cm;this.completion.options.closeOnUnfocus&&(S.off("blur",this.onBlur),S.off("focus",this.onFocus)),S.off("scroll",this.onScroll)}},disable:function(){this.completion.cm.removeKeyMap(this.keyMap);var M=this;this.keyMap={Enter:function(){M.picked=!0}},this.completion.cm.addKeyMap(this.keyMap)},pick:function(){this.completion.pick(this.data,this.selectedHint)},changeActive:function(M,S){if(M>=this.data.list.length?M=S?this.data.list.length-1:0:M<0&&(M=S?0:this.data.list.length-1),this.selectedHint!=M){var I=this.hints.childNodes[this.selectedHint];I&&(I.className=I.className.replace(" "+E,""),I.removeAttribute("aria-selected")),I=this.hints.childNodes[this.selectedHint=M],I.className+=" "+E,I.setAttribute("aria-selected","true"),this.completion.cm.getInputField().setAttribute("aria-activedescendant",I.id),this.scrollToActive(),v.signal(this.data,"select",this.data.list[this.selectedHint],I)}},scrollToActive:function(){var M=this.getSelectedHintRange(),S=this.hints.childNodes[M.from],I=this.hints.childNodes[M.to],F=this.hints.firstChild;S.offsetTop<this.hints.scrollTop?this.hints.scrollTop=S.offsetTop-F.offsetTop:I.offsetTop+I.offsetHeight>this.hints.scrollTop+this.hints.clientHeight&&(this.hints.scrollTop=I.offsetTop+I.offsetHeight-this.hints.clientHeight+F.offsetTop)},screenAmount:function(){return Math.floor(this.hints.clientHeight/this.hints.firstChild.offsetHeight)||1},getSelectedHintRange:function(){var M=this.completion.options.scrollMargin||0;return{from:Math.max(0,this.selectedHint-M),to:Math.min(this.data.list.length-1,this.selectedHint+M)}}};function se(M,S){if(!M.somethingSelected())return S;for(var I=[],F=0;F<S.length;F++)S[F].supportsSelection&&I.push(S[F]);return I}function $(M,S,I,F){if(M.async)M(S,F,I);else{var K=M(S,I);K&&K.then?K.then(F):F(K)}}function k(M,S){var I=M.getHelpers(S,"hint"),F;if(I.length){var K=function(te,j,ie){var H=se(te,I);function Y(ce){if(ce==H.length)return j(null);$(H[ce],te,ie,function(ge){ge&&ge.list.length>0?j(ge):Y(ce+1)})}Y(0)};return K.async=!0,K.supportsSelection=!0,K}else return(F=M.getHelper(M.getCursor(),"hintWords"))?function(te){return v.hint.fromList(te,{words:F})}:v.hint.anyword?function(te,j){return v.hint.anyword(te,j)}:function(){}}v.registerHelper("hint","auto",{resolve:k}),v.registerHelper("hint","fromList",function(M,S){var I=M.getCursor(),F=M.getTokenAt(I),K,te=v.Pos(I.line,F.start),j=I;F.start<I.ch&&/\w/.test(F.string.charAt(I.ch-F.start-1))?K=F.string.substr(0,I.ch-F.start):(K="",te=I);for(var ie=[],H=0;H<S.words.length;H++){var Y=S.words[H];Y.slice(0,K.length)==K&&ie.push(Y)}if(ie.length)return{list:ie,from:te,to:j}}),v.commands.autocomplete=v.showHint;var J={hint:v.hint.auto,completeSingle:!0,alignWithWord:!0,closeCharacters:/[\s()\[\]{};:>,]/,closeOnPick:!0,closeOnUnfocus:!0,updateOnCursorActivity:!0,completeOnSingleClick:!0,container:null,customKeys:null,extraKeys:null,paddingForScrollbar:!0,moveOnOverlap:!0};v.defineOption("hintOptions",null)})},33201:(x,N,f)=>{(function(v){v(f(46944))})(function(v){"use strict";var C="CodeMirror-lint-markers",E="CodeMirror-lint-line-";function P(j,ie,H){var Y=document.createElement("div");Y.className="CodeMirror-lint-tooltip cm-s-"+j.options.theme,Y.appendChild(H.cloneNode(!0)),j.state.lint.options.selfContain?j.getWrapperElement().appendChild(Y):document.body.appendChild(Y);function ce(ge){if(!Y.parentNode)return v.off(document,"mousemove",ce);Y.style.top=Math.max(0,ge.clientY-Y.offsetHeight-5)+"px",Y.style.left=ge.clientX+5+"px"}return v.on(document,"mousemove",ce),ce(ie),Y.style.opacity!=null&&(Y.style.opacity=1),Y}function D(j){j.parentNode&&j.parentNode.removeChild(j)}function R(j){j.parentNode&&(j.style.opacity==null&&D(j),j.style.opacity=0,setTimeout(function(){D(j)},600))}function V(j,ie,H,Y){var ce=P(j,ie,H);function ge(){v.off(Y,"mouseout",ge),ce&&(R(ce),ce=null)}var G=setInterval(function(){if(ce)for(var ve=Y;;ve=ve.parentNode){if(ve&&ve.nodeType==11&&(ve=ve.host),ve==document.body)return;if(!ve){ge();break}}if(!ce)return clearInterval(G)},400);v.on(Y,"mouseout",ge)}function Q(j,ie,H){this.marked=[],ie instanceof Function&&(ie={getAnnotations:ie}),(!ie||ie===!0)&&(ie={}),this.options={},this.linterOptions=ie.options||{};for(var Y in Z)this.options[Y]=Z[Y];for(var Y in ie)Z.hasOwnProperty(Y)?ie[Y]!=null&&(this.options[Y]=ie[Y]):ie.options||(this.linterOptions[Y]=ie[Y]);this.timeout=null,this.hasGutter=H,this.onMouseOver=function(ce){te(j,ce)},this.waitingFor=0}var Z={highlightLines:!1,tooltips:!0,delay:500,lintOnChange:!0,getAnnotations:null,async:!1,selfContain:null,formatAnnotation:null,onUpdateLinting:null};function de(j){var ie=j.state.lint;ie.hasGutter&&j.clearGutter(C),ie.options.highlightLines&&re(j);for(var H=0;H<ie.marked.length;++H)ie.marked[H].clear();ie.marked.length=0}function re(j){j.eachLine(function(ie){var H=ie.wrapClass&&/\bCodeMirror-lint-line-\w+\b/.exec(ie.wrapClass);H&&j.removeLineClass(ie,"wrap",H[0])})}function se(j,ie,H,Y,ce){var ge=document.createElement("div"),G=ge;return ge.className="CodeMirror-lint-marker CodeMirror-lint-marker-"+H,Y&&(G=ge.appendChild(document.createElement("div")),G.className="CodeMirror-lint-marker CodeMirror-lint-marker-multiple"),ce!=!1&&v.on(G,"mouseover",function(ve){V(j,ve,ie,G)}),ge}function $(j,ie){return j=="error"?j:ie}function k(j){for(var ie=[],H=0;H<j.length;++H){var Y=j[H],ce=Y.from.line;(ie[ce]||(ie[ce]=[])).push(Y)}return ie}function J(j){var ie=j.severity;ie||(ie="error");var H=document.createElement("div");return H.className="CodeMirror-lint-message CodeMirror-lint-message-"+ie,typeof j.messageHTML<"u"?H.innerHTML=j.messageHTML:H.appendChild(document.createTextNode(j.message)),H}function M(j,ie){var H=j.state.lint,Y=++H.waitingFor;function ce(){Y=-1,j.off("change",ce)}j.on("change",ce),ie(j.getValue(),function(ge,G){j.off("change",ce),H.waitingFor==Y&&(G&&ge instanceof v&&(ge=G),j.operation(function(){I(j,ge)}))},H.linterOptions,j)}function S(j){var ie=j.state.lint;if(ie){var H=ie.options,Y=H.getAnnotations||j.getHelper(v.Pos(0,0),"lint");if(Y)if(H.async||Y.async)M(j,Y);else{var ce=Y(j.getValue(),ie.linterOptions,j);if(!ce)return;ce.then?ce.then(function(ge){j.operation(function(){I(j,ge)})}):j.operation(function(){I(j,ce)})}}}function I(j,ie){var H=j.state.lint;if(H){var Y=H.options;de(j);for(var ce=k(ie),ge=0;ge<ce.length;++ge){var G=ce[ge];if(G){var ve=[];G=G.filter(function(ft){return ve.indexOf(ft.message)>-1?!1:ve.push(ft.message)});for(var ee=null,He=H.hasGutter&&document.createDocumentFragment(),_e=0;_e<G.length;++_e){var ze=G[_e],dt=ze.severity;dt||(dt="error"),ee=$(ee,dt),Y.formatAnnotation&&(ze=Y.formatAnnotation(ze)),H.hasGutter&&He.appendChild(J(ze)),ze.to&&H.marked.push(j.markText(ze.from,ze.to,{className:"CodeMirror-lint-mark CodeMirror-lint-mark-"+dt,__annotation:ze}))}H.hasGutter&&j.setGutterMarker(ge,C,se(j,He,ee,ce[ge].length>1,Y.tooltips)),Y.highlightLines&&j.addLineClass(ge,"wrap",E+ee)}}Y.onUpdateLinting&&Y.onUpdateLinting(ie,ce,j)}}function F(j){var ie=j.state.lint;ie&&(clearTimeout(ie.timeout),ie.timeout=setTimeout(function(){S(j)},ie.options.delay))}function K(j,ie,H){for(var Y=H.target||H.srcElement,ce=document.createDocumentFragment(),ge=0;ge<ie.length;ge++){var G=ie[ge];ce.appendChild(J(G))}V(j,H,ce,Y)}function te(j,ie){var H=ie.target||ie.srcElement;if(/\bCodeMirror-lint-mark-/.test(H.className)){for(var Y=H.getBoundingClientRect(),ce=(Y.left+Y.right)/2,ge=(Y.top+Y.bottom)/2,G=j.findMarksAt(j.coordsChar({left:ce,top:ge},"client")),ve=[],ee=0;ee<G.length;++ee){var He=G[ee].__annotation;He&&ve.push(He)}ve.length&&K(j,ve,ie)}}v.defineOption("lint",!1,function(j,ie,H){if(H&&H!=v.Init&&(de(j),j.state.lint.options.lintOnChange!==!1&&j.off("change",F),v.off(j.getWrapperElement(),"mouseover",j.state.lint.onMouseOver),clearTimeout(j.state.lint.timeout),delete j.state.lint),ie){for(var Y=j.getOption("gutters"),ce=!1,ge=0;ge<Y.length;++ge)Y[ge]==C&&(ce=!0);var G=j.state.lint=new Q(j,ie,ce);G.options.lintOnChange&&j.on("change",F),G.options.tooltips!=!1&&G.options.tooltips!="gutter"&&v.on(j.getWrapperElement(),"mouseover",G.onMouseOver),S(j)}}),v.defineExtension("performLint",function(){S(this)})})},71628:(x,N,f)=>{(function(v){v(f(46944))})(function(v){"use strict";var C=v.Pos;function E(S){var I=S.flags;return I??(S.ignoreCase?"i":"")+(S.global?"g":"")+(S.multiline?"m":"")}function P(S,I){for(var F=E(S),K=F,te=0;te<I.length;te++)K.indexOf(I.charAt(te))==-1&&(K+=I.charAt(te));return F==K?S:new RegExp(S.source,K)}function D(S){return/\\s|\\n|\n|\\W|\\D|\[\^/.test(S.source)}function R(S,I,F){I=P(I,"g");for(var K=F.line,te=F.ch,j=S.lastLine();K<=j;K++,te=0){I.lastIndex=te;var ie=S.getLine(K),H=I.exec(ie);if(H)return{from:C(K,H.index),to:C(K,H.index+H[0].length),match:H}}}function V(S,I,F){if(!D(I))return R(S,I,F);I=P(I,"gm");for(var K,te=1,j=F.line,ie=S.lastLine();j<=ie;){for(var H=0;H<te&&!(j>ie);H++){var Y=S.getLine(j++);K=K==null?Y:K+`
8
8
  `+Y}te=te*2,I.lastIndex=F.ch;var ce=I.exec(K);if(ce){var ge=K.slice(0,ce.index).split(`
@@ -78,7 +78,7 @@ b`.split(/\n/).length!=3?function(e){for(var r=0,a=[],o=e.length;r<=o;){var l=e.
78
78
  `+t.slice(u,c),u=c+1),h=m;return p+=`
79
79
  `,t.length-u>n&&h>u?p+=t.slice(u,h)+`
80
80
  `+t.slice(h+1):p+=t.slice(u),p.slice(1)}function wl(t){for(var n="",i=0,s,u=0;u<t.length;i>=65536?u+=2:u++)i=Ji(t,u),s=xr[i],!s&&xn(i)?(n+=t[u],i>=65536&&(n+=t[u+1])):n+=s||yl(i);return n}function cs(t,n,i){var s="",u=t.tag,c,h,m;for(c=0,h=i.length;c<h;c+=1)m=i[c],t.replacer&&(m=t.replacer.call(i,String(c),m)),(Dn(t,n,m,!1,!1)||typeof m>"u"&&Dn(t,n,null,!1,!1))&&(s!==""&&(s+=","+(t.condenseFlow?"":" ")),s+=t.dump);t.tag=u,t.dump="["+s+"]"}function Mo(t,n,i,s){var u="",c=t.tag,h,m,p;for(h=0,m=i.length;h<m;h+=1)p=i[h],t.replacer&&(p=t.replacer.call(i,String(h),p)),(Dn(t,n+1,p,!0,!0,!1,!0)||typeof p>"u"&&Dn(t,n+1,null,!0,!0,!1,!0))&&((!s||u!=="")&&(u+=Lo(t,n)),t.dump&&Yi===t.dump.charCodeAt(0)?u+="-":u+="- ",u+=t.dump);t.tag=c,t.dump=u||"[]"}function Cl(t,n,i){var s="",u=t.tag,c=Object.keys(i),h,m,p,y,T;for(h=0,m=c.length;h<m;h+=1)T="",s!==""&&(T+=", "),t.condenseFlow&&(T+='"'),p=c[h],y=i[p],t.replacer&&(y=t.replacer.call(i,p,y)),Dn(t,n,p,!1,!1)&&(t.dump.length>1024&&(T+="? "),T+=t.dump+(t.condenseFlow?'"':"")+":"+(t.condenseFlow?"":" "),Dn(t,n,y,!1,!1)&&(T+=t.dump,s+=T));t.tag=u,t.dump="{"+s+"}"}function ya(t,n,i,s){var u="",c=t.tag,h=Object.keys(i),m,p,y,T,L,q;if(t.sortKeys===!0)h.sort();else if(typeof t.sortKeys=="function")h.sort(t.sortKeys);else if(t.sortKeys)throw new qe("sortKeys must be a boolean or a function");for(m=0,p=h.length;m<p;m+=1)q="",(!s||u!=="")&&(q+=Lo(t,n)),y=h[m],T=i[y],t.replacer&&(T=t.replacer.call(i,y,T)),Dn(t,n+1,y,!0,!0,!0)&&(L=t.tag!==null&&t.tag!=="?"||t.dump&&t.dump.length>1024,L&&(t.dump&&Yi===t.dump.charCodeAt(0)?q+="?":q+="? "),q+=t.dump,L&&(q+=Lo(t,n)),Dn(t,n+1,T,!0,L)&&(t.dump&&Yi===t.dump.charCodeAt(0)?q+=":":q+=": ",q+=t.dump,u+=q));t.tag=c,t.dump=u||"{}"}function an(t,n,i){var s,u,c,h,m,p;for(u=i?t.explicitTypes:t.implicitTypes,c=0,h=u.length;c<h;c+=1)if(m=u[c],(m.instanceOf||m.predicate)&&(!m.instanceOf||typeof n=="object"&&n instanceof m.instanceOf)&&(!m.predicate||m.predicate(n))){if(i?m.multi&&m.representName?t.tag=m.representName(n):t.tag=m.tag:t.tag="?",m.represent){if(p=t.styleMap[m.tag]||m.defaultStyle,dl.call(m.represent)==="[object Function]")s=m.represent(n,p);else if(hl.call(m.represent,p))s=m.represent[p](n,p);else throw new qe("!<"+m.tag+'> tag resolver accepts not "'+p+'" style');t.dump=s}return!0}return!1}function Dn(t,n,i,s,u,c,h){t.tag=null,t.dump=i,an(t,i,!1)||an(t,i,!0);var m=dl.call(t.dump),p=s,y;s&&(s=t.flowLevel<0||t.flowLevel>n);var T=m==="[object Object]"||m==="[object Array]",L,q;if(T&&(L=t.duplicates.indexOf(i),q=L!==-1),(t.tag!==null&&t.tag!=="?"||q||t.indent!==2&&n>0)&&(u=!1),q&&t.usedDuplicates[L])t.dump="*ref_"+L;else{if(T&&q&&!t.usedDuplicates[L]&&(t.usedDuplicates[L]=!0),m==="[object Object]")s&&Object.keys(t.dump).length!==0?(ya(t,n,t.dump,u),q&&(t.dump="&ref_"+L+t.dump)):(Cl(t,n,t.dump),q&&(t.dump="&ref_"+L+" "+t.dump));else if(m==="[object Array]")s&&t.dump.length!==0?(t.noArrayIndent&&!h&&n>0?Mo(t,n-1,t.dump,u):Mo(t,n,t.dump,u),q&&(t.dump="&ref_"+L+t.dump)):(cs(t,n,t.dump),q&&(t.dump="&ref_"+L+" "+t.dump));else if(m==="[object String]")t.tag!=="?"&&hf(t,t.dump,n,c,p);else{if(m==="[object Undefined]")return!1;if(t.skipInvalid)return!1;throw new qe("unacceptable kind of an object to dump "+m)}t.tag!==null&&t.tag!=="?"&&(y=encodeURI(t.tag[0]==="!"?t.tag.slice(1):t.tag).replace(/!/g,"%21"),t.tag[0]==="!"?y="!"+y:y.slice(0,18)==="tag:yaml.org,2002:"?y="!!"+y.slice(18):y="!<"+y+">",t.dump=y+" "+t.dump)}return!0}function ds(t,n){var i=[],s=[],u,c;for(No(t,i,s),u=0,c=s.length;u<c;u+=1)n.duplicates.push(i[s[u]]);n.usedDuplicates=new Array(c)}function No(t,n,i){var s,u,c;if(t!==null&&typeof t=="object")if(u=n.indexOf(t),u!==-1)i.indexOf(u)===-1&&i.push(u);else if(n.push(t),Array.isArray(t))for(u=0,c=t.length;u<c;u+=1)No(t[u],n,i);else for(s=Object.keys(t),u=0,c=s.length;u<c;u+=1)No(t[s[u]],n,i)}function Al(t,n){n=n||{};var i=new Yn(n);i.noRefs||ds(t,i);var s=t;return i.replacer&&(s=i.replacer.call({"":s},"",s)),Dn(i,0,s,!0,!0)?i.dump+`
81
- `:""}var Ol=Al,hs={dump:Ol};function ps(t,n){return function(){throw new Error("Function yaml."+t+" is removed in js-yaml 4. Use yaml."+n+" instead, which is now safe by default.")}}var pf=Ft,vf=en,Ai=gr,Zi=Ln,qi=br,vs=z,gs=Si.load,El=Si.loadAll,ms=hs.dump,Oi=qe,Ei={binary:In,float:Pn,map:Ur,null:st,pairs:Ct,set:A,timestamp:Ir,bool:be,int:wt,merge:zr,omap:Ve,seq:vn,str:kn},Dr=ps("safeLoad","load"),ai=ps("safeLoadAll","loadAll"),si=ps("safeDump","dump"),ba={Type:pf,Schema:vf,FAILSAFE_SCHEMA:Ai,JSON_SCHEMA:Zi,CORE_SCHEMA:qi,DEFAULT_SCHEMA:vs,load:gs,loadAll:El,dump:ms,YAMLException:Oi,types:Ei,safeLoad:Dr,safeLoadAll:ai,safeDump:si};const gf=ba,Tl=function(){return typeof globalThis<"u"?globalThis:typeof self<"u"?self:window}(),{FormData:eo,Blob:Do,File:xa}=Tl,Sa=t=>":/?#[]@!$&'()*+,;=".indexOf(t)>-1,mf=t=>/^[a-z0-9\-._~]+$/i.test(t);function li(t){let{escape:n}=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=arguments.length>2?arguments[2]:void 0;return typeof t=="number"&&(t=t.toString()),typeof t!="string"||!t.length||!n?t:i?JSON.parse(t):[...t].map(s=>{if(mf(s)||Sa(s)&&n==="unsafe")return s;const u=new TextEncoder;return Array.from(u.encode(s)).map(h=>`0${h.toString(16).toUpperCase()}`.slice(-2)).map(h=>`%${h}`).join("")}).join("")}function wa(t){const{value:n}=t;return Array.isArray(n)?ys(t):typeof n=="object"?bs(t):to(t)}function ys(t){let{key:n,value:i,style:s,explode:u,escape:c}=t;const h=m=>li(m,{escape:c});if(s==="simple")return i.map(m=>h(m)).join(",");if(s==="label")return`.${i.map(m=>h(m)).join(".")}`;if(s==="matrix")return i.map(m=>h(m)).reduce((m,p)=>!m||u?`${m||""};${n}=${p}`:`${m},${p}`,"");if(s==="form"){const m=u?`&${n}=`:",";return i.map(p=>h(p)).join(m)}if(s==="spaceDelimited"){const m=u?`${n}=`:"";return i.map(p=>h(p)).join(` ${m}`)}if(s==="pipeDelimited"){const m=u?`${n}=`:"";return i.map(p=>h(p)).join(`|${m}`)}}function bs(t){let{key:n,value:i,style:s,explode:u,escape:c}=t;const h=p=>li(p,{escape:c}),m=Object.keys(i);if(s==="simple")return m.reduce((p,y)=>{const T=h(i[y]),L=u?"=":",";return`${p?`${p},`:""}${y}${L}${T}`},"");if(s==="label")return m.reduce((p,y)=>{const T=h(i[y]),L=u?"=":".";return`${p?`${p}.`:"."}${y}${L}${T}`},"");if(s==="matrix"&&u)return m.reduce((p,y)=>{const T=h(i[y]);return`${p?`${p};`:";"}${y}=${T}`},"");if(s==="matrix")return m.reduce((p,y)=>{const T=h(i[y]);return`${p?`${p},`:`;${n}=`}${y},${T}`},"");if(s==="form")return m.reduce((p,y)=>{const T=h(i[y]);return`${p?`${p}${u?"&":","}`:""}${y}${u?"=":","}${T}`},"")}function to(t){let{key:n,value:i,style:s,escape:u}=t;const c=h=>li(h,{escape:u});if(s==="simple")return c(i);if(s==="label")return`.${c(i)}`;if(s==="matrix")return`;${n}=${c(i)}`;if(s==="form")return c(i);if(s==="deepObject")return c(i,{},!0)}const kl=(t,n)=>{n.body=t},ro={serializeRes:Ss,mergeInQueryOrForm:ui};async function yf(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};typeof t=="object"&&(n=t,t=n.url),n.headers=n.headers||{},ro.mergeInQueryOrForm(n),n.headers&&Object.keys(n.headers).forEach(u=>{const c=n.headers[u];typeof c=="string"&&(n.headers[u]=c.replace(/\n+/g," "))}),n.requestInterceptor&&(n=await n.requestInterceptor(n)||n);const i=n.headers["content-type"]||n.headers["Content-Type"];/multipart\/form-data/i.test(i)&&n.body instanceof eo&&(delete n.headers["content-type"],delete n.headers["Content-Type"]);let s;try{s=await(n.userFetch||fetch)(n.url,n),s=await ro.serializeRes(s,t,n),n.responseInterceptor&&(s=await n.responseInterceptor(s)||s)}catch(u){if(!s)throw u;const c=new Error(s.statusText||`response status is ${s.status}`);throw c.status=s.status,c.statusCode=s.status,c.responseError=u,c}if(!s.ok){const u=new Error(s.statusText||`response status is ${s.status}`);throw u.status=s.status,u.statusCode=s.status,u.response=s,u}return s}const bf=function(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return/(json|xml|yaml|text)\b/.test(t)};function xf(t,n){return n&&(n.indexOf("application/json")===0||n.indexOf("+json")>0)?JSON.parse(t):gf.load(t)}function Ss(t,n){let{loadSpec:i=!1}=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};const s={ok:t.ok,url:t.url||n,status:t.status,statusText:t.statusText,headers:no(t.headers)},u=s.headers["content-type"],c=i||bf(u);return(c?t.text:t.blob||t.buffer).call(t).then(m=>{if(s.text=m,s.data=m,c)try{const p=xf(m,u);s.body=p,s.obj=p}catch(p){s.parseError=p}return s})}function ws(t){return t.includes(", ")?t.split(", "):t}function no(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return typeof t.entries!="function"?{}:Array.from(t.entries()).reduce((n,i)=>{let[s,u]=i;return n[s]=ws(u),n},{})}function Ti(t,n){return!n&&typeof navigator<"u"&&(n=navigator),n&&n.product==="ReactNative"?!!(t&&typeof t=="object"&&typeof t.uri=="string"):typeof xa<"u"&&t instanceof xa||typeof Do<"u"&&t instanceof Do||ArrayBuffer.isView(t)?!0:t!==null&&typeof t=="object"&&typeof t.pipe=="function"}function Pl(t,n){return Array.isArray(t)&&t.some(i=>Ti(i,n))}const Ca={form:",",spaceDelimited:"%20",pipeDelimited:"|"},Ll={csv:",",ssv:"%20",tsv:"%09",pipes:"|"};function io(t,n){let i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;const{collectionFormat:s,allowEmptyValue:u,serializationOption:c,encoding:h}=n,m=typeof n=="object"&&!Array.isArray(n)?n.value:n,p=i?T=>T.toString():T=>encodeURIComponent(T),y=p(t);if(typeof m>"u"&&u)return[[y,""]];if(Ti(m)||Pl(m))return[[y,m]];if(c)return Cs(t,m,i,c);if(h){if([typeof h.style,typeof h.explode,typeof h.allowReserved].some(T=>T!=="undefined")){const{style:T,explode:L,allowReserved:q}=h;return Cs(t,m,i,{style:T,explode:L,allowReserved:q})}if(h.contentType){if(h.contentType==="application/json"){const T=typeof m=="string"?m:JSON.stringify(m);return[[y,p(T)]]}return[[y,p(m.toString())]]}return typeof m!="object"?[[y,p(m)]]:Array.isArray(m)&&m.every(T=>typeof T!="object")?[[y,m.map(p).join(",")]]:[[y,p(JSON.stringify(m))]]}return typeof m!="object"?[[y,p(m)]]:Array.isArray(m)?s==="multi"?[[y,m.map(p)]]:[[y,m.map(p).join(Ll[s||"csv"])]]:[[y,""]]}function Cs(t,n,i,s){const u=s.style||"form",c=typeof s.explode>"u"?u==="form":s.explode,h=i?!1:s&&s.allowReserved?"unsafe":"reserved",m=y=>li(y,{escape:h}),p=i?y=>y:y=>li(y,{escape:h});return typeof n!="object"?[[p(t),m(n)]]:Array.isArray(n)?c?[[p(t),n.map(m)]]:[[p(t),n.map(m).join(Ca[u])]]:u==="deepObject"?Object.keys(n).map(y=>[p(`${t}[${y}]`),m(n[y])]):c?Object.keys(n).map(y=>[p(y),m(n[y])]):[[p(t),Object.keys(n).map(y=>[`${p(y)},${m(n[y])}`]).join(",")]]}function ki(t){return Object.entries(t).reduce((n,i)=>{let[s,u]=i;for(const[c,h]of io(s,u,!0))if(Array.isArray(h))for(const m of h)if(ArrayBuffer.isView(m)){const p=new Do([m]);n.append(c,p)}else n.append(c,m);else if(ArrayBuffer.isView(h)){const m=new Do([h]);n.append(c,m)}else n.append(c,h);return n},new eo)}function oo(t){const n=Object.keys(t).reduce((i,s)=>{for(const[u,c]of io(s,t[s]))i[u]=c;return i},{});return ee().stringify(n,{encode:!1,indices:!1})||""}function ui(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const{url:n="",query:i,form:s}=t,u=function(){for(var c=arguments.length,h=new Array(c),m=0;m<c;m++)h[m]=arguments[m];const p=h.filter(y=>y).join("&");return p?`?${p}`:""};if(s){const c=Object.keys(s).some(m=>{const{value:p}=s[m];return Ti(p)||Pl(p)}),h=t.headers["content-type"]||t.headers["Content-Type"];if(c||/multipart\/form-data/i.test(h)){const m=ki(t.form);kl(m,t)}else t.body=oo(s);delete t.form}if(i){const[c,h]=n.split("?");let m="";if(h){const y=ee().parse(h);Object.keys(i).forEach(L=>delete y[L]),m=ee().stringify(y,{encode:!0})}const p=u(m,oo(i));t.url=c+p,delete t.query}return t}function Aa(t,n,i){return i=i||(s=>s),n=n||(s=>s),s=>(typeof s=="string"&&(s={url:s}),ro.mergeInQueryOrForm(s),s=n(s),i(t(s)))}function ao(t,n){function i(){Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack;for(var s=arguments.length,u=new Array(s),c=0;c<s;c++)u[c]=arguments[c];[this.message]=u,n&&n.apply(this,u)}return i.prototype=new Error,i.prototype.name=t,i.prototype.constructor=i,i}const Il={body:Ml,header:Sf,query:Li,path:Pi,formData:Nl};function Ml(t){let{req:n,value:i}=t;n.body=i}function Nl(t){let{req:n,value:i,parameter:s}=t;(i||s.allowEmptyValue)&&(n.form=n.form||{},n.form[s.name]={value:i,allowEmptyValue:s.allowEmptyValue,collectionFormat:s.collectionFormat})}function Sf(t){let{req:n,parameter:i,value:s}=t;n.headers=n.headers||{},typeof s<"u"&&(n.headers[i.name]=s)}function Pi(t){let{req:n,value:i,parameter:s}=t;n.url=n.url.split(`{${s.name}}`).join(encodeURIComponent(i))}function Li(t){let{req:n,value:i,parameter:s}=t;if(n.query=n.query||{},i===!1&&s.type==="boolean"&&(i="false"),i===0&&["number","integer"].indexOf(s.type)>-1&&(i="0"),i)n.query[s.name]={collectionFormat:s.collectionFormat,value:i};else if(s.allowEmptyValue&&i!==void 0){const u=s.name;n.query[u]=n.query[u]||{},n.query[u].allowEmptyValue=!0}}function Oa(t,n){return n.includes("application/json")?typeof t=="string"?t:JSON.stringify(t):t.toString()}function wf(t){let{req:n,value:i,parameter:s}=t;const{name:u,style:c,explode:h,content:m}=s;if(m){const y=Object.keys(m)[0];n.url=n.url.split(`{${u}}`).join(li(Oa(i,y),{escape:!0}));return}const p=wa({key:s.name,value:i,style:c||"simple",explode:h||!1,escape:!0});n.url=n.url.split(`{${u}}`).join(p)}function Cf(t){let{req:n,value:i,parameter:s}=t;if(n.query=n.query||{},s.content){const u=Object.keys(s.content)[0],c=Oa(i,u);if(c)n.query[s.name]=c;else if(s.allowEmptyValue&&i!==void 0){const h=s.name;n.query[h]=n.query[h]||{},n.query[h].allowEmptyValue=!0}return}if(i===!1&&(i="false"),i===0&&(i="0"),i){const{style:u,explode:c,allowReserved:h}=s;n.query[s.name]={value:i,serializationOption:{style:u,explode:c,allowReserved:h}}}else if(s.allowEmptyValue&&i!==void 0){const u=s.name;n.query[u]=n.query[u]||{},n.query[u].allowEmptyValue=!0}}const Af=["accept","authorization","content-type"];function Of(t){let{req:n,parameter:i,value:s}=t;if(n.headers=n.headers||{},!(Af.indexOf(i.name.toLowerCase())>-1)){if(i.content){const u=Object.keys(i.content)[0];n.headers[i.name]=Oa(s,u);return}typeof s<"u"&&(n.headers[i.name]=wa({key:i.name,value:s,style:i.style||"simple",explode:typeof i.explode>"u"?!1:i.explode,escape:!1}))}}function Ef(t){let{req:n,parameter:i,value:s}=t;n.headers=n.headers||{};const u=typeof s;if(i.content){const c=Object.keys(i.content)[0];n.headers.Cookie=`${i.name}=${Oa(s,c)}`;return}if(u!=="undefined"){const c=u==="object"&&!Array.isArray(s)&&i.explode?"":`${i.name}=`;n.headers.Cookie=c+wa({key:i.name,value:s,escape:!1,style:i.style||"form",explode:typeof i.explode>"u"?!1:i.explode})}}const Vr=(()=>typeof globalThis<"u"?globalThis:typeof self<"u"?self:window)(),{btoa:lr}=Vr,Sr=lr;function ur(t,n){const{operation:i,requestBody:s,securities:u,spec:c,attachContentTypeForEmptyPayload:h}=t;let{requestContentType:m}=t;n=Fo({request:n,securities:u,operation:i,spec:c});const p=i.requestBody||{},y=Object.keys(p.content||{}),T=m&&y.indexOf(m)>-1;if(s||h){if(m&&T)n.headers["Content-Type"]=m;else if(!m){const L=y[0];L&&(n.headers["Content-Type"]=L,m=L)}}else m&&T&&(n.headers["Content-Type"]=m);if(!t.responseContentType&&i.responses){const L=Object.entries(i.responses).filter(q=>{let[W,_]=q;const fe=parseInt(W,10);return fe>=200&&fe<300&&ge(_.content)}).reduce((q,W)=>{let[,_]=W;return q.concat(Object.keys(_.content))},[]);L.length>0&&(n.headers.accept=L.join(", "))}if(s)if(m){if(y.indexOf(m)>-1)if(m==="application/x-www-form-urlencoded"||m==="multipart/form-data")if(typeof s=="object"){const L=(p.content[m]||{}).encoding||{};n.form={},Object.keys(s).forEach(q=>{n.form[q]={value:s[q],encoding:L[q]||{}}})}else n.form=s;else n.body=s}else n.body=s;return n}function Fo(t){let{request:n,securities:i={},operation:s={},spec:u}=t;const c=I({},n),{authorized:h={}}=i,m=s.security||u.security||[],p=h&&!!Object.keys(h).length,y=ie()(u,["components","securitySchemes"])||{};return c.headers=c.headers||{},c.query=c.query||{},!Object.keys(i).length||!p||!m||Array.isArray(s.security)&&!s.security.length?n:(m.forEach(T=>{Object.keys(T).forEach(L=>{const q=h[L],W=y[L];if(!q)return;const _=q.value||q,{type:fe}=W;if(q){if(fe==="apiKey")W.in==="query"&&(c.query[W.name]=_),W.in==="header"&&(c.headers[W.name]=_),W.in==="cookie"&&(c.cookies[W.name]=_);else if(fe==="http"){if(/^basic$/i.test(W.scheme)){const ae=_.username||"",oe=_.password||"",ue=Sr(`${ae}:${oe}`);c.headers.Authorization=`Basic ${ue}`}/^bearer$/i.test(W.scheme)&&(c.headers.Authorization=`Bearer ${_}`)}else if(fe==="oauth2"||fe==="openIdConnect"){const ae=q.token||{},oe=W["x-tokenName"]||"access_token",ue=ae[oe];let ye=ae.token_type;(!ye||ye.toLowerCase()==="bearer")&&(ye="Bearer"),c.headers.Authorization=`${ye} ${ue}`}}})}),c)}function Tf(t,n){const{spec:i,operation:s,securities:u,requestContentType:c,responseContentType:h,attachContentTypeForEmptyPayload:m}=t;if(n=Ea({request:n,securities:u,operation:s,spec:i}),n.body||n.form||m)c?n.headers["Content-Type"]=c:Array.isArray(s.consumes)?[n.headers["Content-Type"]]=s.consumes:Array.isArray(i.consumes)?[n.headers["Content-Type"]]=i.consumes:s.parameters&&s.parameters.filter(p=>p.type==="file").length?n.headers["Content-Type"]="multipart/form-data":s.parameters&&s.parameters.filter(p=>p.in==="formData").length&&(n.headers["Content-Type"]="application/x-www-form-urlencoded");else if(c){const p=s.parameters&&s.parameters.filter(T=>T.in==="body").length>0,y=s.parameters&&s.parameters.filter(T=>T.in==="formData").length>0;(p||y)&&(n.headers["Content-Type"]=c)}return!h&&Array.isArray(s.produces)&&s.produces.length>0&&(n.headers.accept=s.produces.join(", ")),n}function Ea(t){let{request:n,securities:i={},operation:s={},spec:u}=t;const c=I({},n),{authorized:h={},specSecurity:m=[]}=i,p=s.security||m,y=h&&!!Object.keys(h).length,T=u.securityDefinitions;return c.headers=c.headers||{},c.query=c.query||{},!Object.keys(i).length||!y||!p||Array.isArray(s.security)&&!s.security.length?n:(p.forEach(L=>{Object.keys(L).forEach(q=>{const W=h[q];if(!W)return;const{token:_}=W,fe=W.value||W,ae=T[q],{type:oe}=ae,ue=ae["x-tokenName"]||"access_token",ye=_&&_[ue];let Ae=_&&_.token_type;if(W)if(oe==="apiKey"){const we=ae.in==="query"?"query":"headers";c[we]=c[we]||{},c[we][ae.name]=fe}else if(oe==="basic")if(fe.header)c.headers.authorization=fe.header;else{const we=fe.username||"",ke=fe.password||"";fe.base64=Sr(`${we}:${ke}`),c.headers.authorization=`Basic ${fe.base64}`}else oe==="oauth2"&&ye&&(Ae=!Ae||Ae.toLowerCase()==="bearer"?"Bearer":Ae,c.headers.authorization=`${Ae} ${ye}`)})}),c)}function Dl(t,n){return`${n.toLowerCase()}-${t}`}function kf(t,n,i){if(!t||typeof t!="object"||!t.paths||typeof t.paths!="object")return null;const{paths:s}=t;for(const u in s)for(const c in s[u]){if(c.toUpperCase()==="PARAMETERS")continue;const h=s[u][c];if(!h||typeof h!="object")continue;const m={spec:t,pathName:u,method:c.toUpperCase(),operation:h},p=n(m);if(i&&p)return m}}function Pf(t,n){return kf(t,n,!0)||null}const As=t=>t.replace(/\W/gi,"_");function Os(t,n){let{v2OperationIdCompatibilityMode:i}=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(i){let s=`${n.toLowerCase()}_${t}`.replace(/[\s!@#$%^&*()_+=[{\]};:<>|./?,\\'""-]/g,"_");return s=s||`${t.substring(1)}_${n}`,s.replace(/((_){2,})/g,"_").replace(/^(_)*/g,"").replace(/([_])*$/g,"")}return`${n.toLowerCase()}${As(t)}`}function Lf(t,n){let i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"",{v2OperationIdCompatibilityMode:s}=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};return!t||typeof t!="object"?null:(t.operationId||"").replace(/\s/g,"").length?As(t.operationId):Os(n,i,{v2OperationIdCompatibilityMode:s})}function Es(t,n){return!t||!t.paths?null:Pf(t,i=>{let{pathName:s,method:u,operation:c}=i;if(!c||typeof c!="object")return!1;const h=c.operationId,m=Lf(c,s,u),p=Dl(s,u);return[m,p,h].some(y=>y&&y===n)})}const Rl=t=>{try{const{swagger:n}=t;return n==="2.0"}catch{return!1}},Bl=t=>{try{const{openapi:n}=t;return typeof n=="string"&&/^3\.0\.([0123])(?:-rc[012])?$/.test(n)}catch{return!1}},jl=t=>{try{const{openapi:n}=t;return typeof n=="string"&&/^3\.1\.(?:[1-9]\d*|0)$/.test(n)}catch{return!1}},Ta=t=>Bl(t)||jl(t),Wl=["http","fetch","spec","operationId","pathName","method","parameters","securities"],so=t=>Array.isArray(t)?t:[],If=ao("OperationNotFoundError",function(n,i,s){this.originalError=s,Object.assign(this,i||{})}),ka=(t,n)=>n.filter(i=>i.name===t),Xn=t=>{const n={};t.forEach(s=>{n[s.in]||(n[s.in]={}),n[s.in][s.name]=s});const i=[];return Object.keys(n).forEach(s=>{Object.keys(n[s]).forEach(u=>{i.push(n[s][u])})}),i},Hl={buildRequest:Ul};function Mf(t){let{http:n,fetch:i,spec:s,operationId:u,pathName:c,method:h,parameters:m,securities:p}=t,y=te(t,Wl);const T=n||i||yf;c&&h&&!u&&(u=Dl(c,h));const L=Hl.buildRequest(I({spec:s,operationId:u,parameters:m,securities:p,http:T},y));return L.body&&(ge(L.body)||Array.isArray(L.body))&&(L.body=JSON.stringify(L.body)),T(L)}function Ul(t){const{spec:n,operationId:i,responseContentType:s,scheme:u,requestInterceptor:c,responseInterceptor:h,contextUrl:m,userFetch:p,server:y,serverVariables:T,http:L,signal:q}=t;let{parameters:W,parameterBuilders:_}=t;const fe=Ta(n);_||(fe?_=v:_=Il);let oe={url:"",credentials:L&&L.withCredentials?"include":"same-origin",headers:{},cookies:{}};q&&(oe.signal=q),c&&(oe.requestInterceptor=c),h&&(oe.responseInterceptor=h),p&&(oe.userFetch=p);const ue=Es(n,i);if(!ue)throw new If(`Operation ${i} not found`);const{operation:ye={},method:Ae,pathName:we}=ue;if(oe.url+=Et({spec:n,scheme:u,contextUrl:m,server:y,serverVariables:T,pathName:we,method:Ae}),!i)return delete oe.cookies,oe;oe.url+=we,oe.method=`${Ae}`.toUpperCase(),W=W||{};const ke=n.paths[we]||{};s&&(oe.headers.accept=s);const Te=Xn([].concat(so(ye.parameters)).concat(so(ke.parameters)));Te.forEach(pe=>{const Ie=_[pe.in];let Ee;if(pe.in==="body"&&pe.schema&&pe.schema.properties&&(Ee=W),Ee=pe&&pe.name&&W[pe.name],typeof Ee>"u"?Ee=pe&&pe.name&&W[`${pe.in}.${pe.name}`]:ka(pe.name,Te).length>1&&console.warn(`Parameter '${pe.name}' is ambiguous because the defined spec has more than one parameter with the name: '${pe.name}' and the passed-in parameter values did not define an 'in' value.`),Ee!==null){if(typeof pe.default<"u"&&typeof Ee>"u"&&(Ee=pe.default),typeof Ee>"u"&&pe.required&&!pe.allowEmptyValue)throw new Error(`Required parameter ${pe.name} is not provided`);if(fe&&pe.schema&&pe.schema.type==="object"&&typeof Ee=="string")try{Ee=JSON.parse(Ee)}catch{throw new Error("Could not parse object parameter value string as JSON")}Ie&&Ie({req:oe,parameter:pe,value:Ee,operation:ye,spec:n})}});const De=I(I({},t),{},{operation:ye});if(fe?oe=ur(De,oe):oe=Tf(De,oe),oe.cookies&&Object.keys(oe.cookies).length){const pe=Object.keys(oe.cookies).reduce((Ie,Ee)=>{const Be=oe.cookies[Ee],et=Ie?"&":"",jt=Y.serialize(Ee,Be);return Ie+et+jt},"");oe.headers.Cookie=pe}return oe.cookies&&delete oe.cookies,ui(oe),oe}const Fr=t=>t?t.replace(/\W/g,""):null;function Et(t){return Ta(t.spec)?Sn(t):zl(t)}function Sn(t){let{spec:n,pathName:i,method:s,server:u,contextUrl:c,serverVariables:h={}}=t;const m=ie()(n,["paths",i,(s||"").toLowerCase(),"servers"])||ie()(n,["paths",i,"servers"])||ie()(n,["servers"]);let p="",y=null;if(u&&m&&m.length){const T=m.map(L=>L.url);T.indexOf(u)>-1&&(p=u,y=m[T.indexOf(u)])}return!p&&m&&m.length&&(p=m[0].url,[y]=m),p.indexOf("{")>-1&&ci(p).forEach(L=>{if(y.variables&&y.variables[L]){const q=y.variables[L],W=h[L]||q.default,_=new RegExp(`{${L}}`,"g");p=p.replace(_,W)}}),fi(p,c)}function fi(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";const i=t&&n?H.parse(H.resolve(n,t)):H.parse(t),s=H.parse(n),u=Fr(i.protocol)||Fr(s.protocol)||"",c=i.host||s.host,h=i.pathname||"";let m;return u&&c?m=`${u}://${c+h}`:m=h,m[m.length-1]==="/"?m.slice(0,-1):m}function ci(t){const n=[],i=/{([^}]+)}/g;let s;for(;s=i.exec(t);)n.push(s[1]);return n}function zl(t){let{spec:n,scheme:i,contextUrl:s=""}=t;const u=H.parse(s),c=Array.isArray(n.schemes)?n.schemes[0]:null,h=i||c||Fr(u.protocol)||"http",m=n.host||u.host||"",p=n.basePath||"";let y;return h&&m?y=`${h}://${m+p}`:y=p,y[y.length-1]==="/"?y.slice(0,-1):y}var B=f(29901),Vt=f(20202),wn=f(77090),Ts=f(37837),Ro=f(96244),_l=f(2526),ks=Object.defineProperty,di=Object.defineProperties,Vl=Object.getOwnPropertyDescriptors,Ps=Object.getOwnPropertySymbols,Nf=Object.prototype.hasOwnProperty,Pa=Object.prototype.propertyIsEnumerable,La=(t,n,i)=>n in t?ks(t,n,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[n]=i,$l=(t,n)=>{for(var i in n||(n={}))Nf.call(n,i)&&La(t,i,n[i]);if(Ps)for(var i of Ps(n))Pa.call(n,i)&&La(t,i,n[i]);return t},Df=(t,n)=>di(t,Vl(n)),Gl=(t,n,i)=>new Promise((s,u)=>{var c=p=>{try{m(i.next(p))}catch(y){u(y)}},h=p=>{try{m(i.throw(p))}catch(y){u(y)}},m=p=>p.done?s(p.value):Promise.resolve(p.value).then(c,h);m((i=i.apply(t,n)).next())});function Ff(t,n){return Gl(this,null,function*(){var i,s,u,c;const h=JSON.parse(JSON.stringify(n)),m=h.openapi?{openapi:h.openapi}:h.swagger?{swagger:h.swagger}:{},p=Df($l({},m),{components:h.components,paths:{[t.path]:{[t.httpVerb]:(s=(i=h.paths)==null?void 0:i[t.path])==null?void 0:s[t.httpVerb],parameters:(c=(u=h.paths)==null?void 0:u[t.path])==null?void 0:c.parameters}}}),y=new Ro.Config({}),T=(0,_l.I)(p),L={config:y,doc:T,dereference:!0};return yield(0,Ts.bundle)(L),h})}var Rf=f(98910),Ii=f(84862),Cn=f(53134),Kl=(t,n,i)=>new Promise((s,u)=>{var c=p=>{try{m(i.next(p))}catch(y){u(y)}},h=p=>{try{m(i.throw(p))}catch(y){u(y)}},m=p=>p.done?s(p.value):Promise.resolve(p.value).then(c,h);m((i=i.apply(t,n)).next())});const Yl=Object.values(Cn.FileUploadFormats),Xl=["application/octet-stream","application/pdf","application/gzip","application/zip"],Mi=["image/","audio/","video/"];function Ia(t){if(Mi.some(n=>t.startsWith(n)))return t}function Ni(t){return Xl.includes(t)?!0:Mi.some(n=>t.startsWith(n))}function Jl(t){const n=t.type==="array"?t.items:t;if(!n||!n.type||n?.type==="any")return!0;const i=n.contentMediaType||"",s=n.format||n.contentEncoding||(Ni(i)?"binary":"");return n.type===Cn.DefinitionTypes.STRING&&Yl.includes(s)}function Ma(t,n){if(!t||!t.type||t.type==="any")return Ni(n);const i=t.format||t.contentEncoding||"";return t.type===Cn.DefinitionTypes.STRING&&Yl.includes(i)}function Ls(t){return new Promise((n,i)=>{const s=new FileReader;s.onload=()=>{const c=s.result.replace(/data:.*\/.*;base64,/g,"");n(c)},s.onerror=()=>i(s.error),s.readAsDataURL(t)})}function Ql({format:t,contentEncoding:n,contentMediaType:i}){return[t,n,i].includes(Cn.FileUploadFormats.BASE64)}function Zl(t,n){return Kl(this,null,function*(){const i=Object.values(t);let s=i.length===1?i[0]:i;return n.type===Cn.DefinitionTypes.STRING&&Ql(n)?s=yield Ls(i[0]):n.type===Cn.DefinitionTypes.ARRAY&&n.items&&(Ql(n.items)?s=yield Promise.all(i.map(c=>Kl(this,null,function*(){return yield Ls(c)}))):s=i),s})}var fr=f(84622),gt=f(38612),Tt=f(38779),ot=f(85739),Qr=f(71608),lo=f(64393),An=f(60991);function ql({response:t}){const{jsonSampleExpandLevel:n}=(0,wn.Dv)(An.qd);return B.createElement(B.Fragment,null,B.createElement(Qr.EE,null," Body: "),eu(t,n))}function eu(t,n){return t.body?B.createElement(Vt.JsonViewer,{data:t.body,jsonSampleExpandLevel:n}):t.fileInfo?B.createElement(lo.s,{fileInfo:t.fileInfo}):t.data!==null?t.data?B.createElement(Vt.CodeBlock,{lang:(0,ot.M)(t.headers["Content-Type"]||"text/plain"),source:t.data,header:{controls:{copy:{}}}}):B.createElement(Vt.CodeBlockContainer,{withControls:!0},B.createElement("i",null,"(no content)")):null}function tu({headers:t}){const n=(0,wn.Dv)(An.qd),[i,s]=(0,B.useState)(!0),{maxResponseHeadersToShowInTryIt:u}=n,c=Object.keys(t),h=!!u&&c.length>u,m=h&&i?[...c].splice(0,u):[...c],p=()=>{s(!i)};return B.createElement(B.Fragment,null,B.createElement(Qr.EE,null," Headers: "),B.createElement(Vt.CodeBlockContainer,{withControls:!0},m.map(y=>B.createElement("div",{key:y},B.createElement(Di,null,y,":"),B.createElement("code",null,t[y]))),h&&B.createElement(Is,{onClick:p},i?"Show more...":"Hide headers")))}const Di=Tt.ZP.strong`
81
+ `:""}var Ol=Al,hs={dump:Ol};function ps(t,n){return function(){throw new Error("Function yaml."+t+" is removed in js-yaml 4. Use yaml."+n+" instead, which is now safe by default.")}}var pf=Ft,vf=en,Ai=gr,Zi=Ln,qi=br,vs=z,gs=Si.load,El=Si.loadAll,ms=hs.dump,Oi=qe,Ei={binary:In,float:Pn,map:Ur,null:st,pairs:Ct,set:A,timestamp:Ir,bool:be,int:wt,merge:zr,omap:Ve,seq:vn,str:kn},Dr=ps("safeLoad","load"),ai=ps("safeLoadAll","loadAll"),si=ps("safeDump","dump"),ba={Type:pf,Schema:vf,FAILSAFE_SCHEMA:Ai,JSON_SCHEMA:Zi,CORE_SCHEMA:qi,DEFAULT_SCHEMA:vs,load:gs,loadAll:El,dump:ms,YAMLException:Oi,types:Ei,safeLoad:Dr,safeLoadAll:ai,safeDump:si};const gf=ba,Tl=function(){return typeof globalThis<"u"?globalThis:typeof self<"u"?self:window}(),{FormData:eo,Blob:Do,File:xa}=Tl,Sa=t=>":/?#[]@!$&'()*+,;=".indexOf(t)>-1,mf=t=>/^[a-z0-9\-._~]+$/i.test(t);function li(t){let{escape:n}=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=arguments.length>2?arguments[2]:void 0;return typeof t=="number"&&(t=t.toString()),typeof t!="string"||!t.length||!n?t:i?JSON.parse(t):[...t].map(s=>{if(mf(s)||Sa(s)&&n==="unsafe")return s;const u=new TextEncoder;return Array.from(u.encode(s)).map(h=>`0${h.toString(16).toUpperCase()}`.slice(-2)).map(h=>`%${h}`).join("")}).join("")}function wa(t){const{value:n}=t;return Array.isArray(n)?ys(t):typeof n=="object"?bs(t):to(t)}function ys(t){let{key:n,value:i,style:s,explode:u,escape:c}=t;const h=m=>li(m,{escape:c});if(s==="simple")return i.map(m=>h(m)).join(",");if(s==="label")return`.${i.map(m=>h(m)).join(".")}`;if(s==="matrix")return i.map(m=>h(m)).reduce((m,p)=>!m||u?`${m||""};${n}=${p}`:`${m},${p}`,"");if(s==="form"){const m=u?`&${n}=`:",";return i.map(p=>h(p)).join(m)}if(s==="spaceDelimited"){const m=u?`${n}=`:"";return i.map(p=>h(p)).join(` ${m}`)}if(s==="pipeDelimited"){const m=u?`${n}=`:"";return i.map(p=>h(p)).join(`|${m}`)}}function bs(t){let{key:n,value:i,style:s,explode:u,escape:c}=t;const h=p=>li(p,{escape:c}),m=Object.keys(i);if(s==="simple")return m.reduce((p,y)=>{const T=h(i[y]),L=u?"=":",";return`${p?`${p},`:""}${y}${L}${T}`},"");if(s==="label")return m.reduce((p,y)=>{const T=h(i[y]),L=u?"=":".";return`${p?`${p}.`:"."}${y}${L}${T}`},"");if(s==="matrix"&&u)return m.reduce((p,y)=>{const T=h(i[y]);return`${p?`${p};`:";"}${y}=${T}`},"");if(s==="matrix")return m.reduce((p,y)=>{const T=h(i[y]);return`${p?`${p},`:`;${n}=`}${y},${T}`},"");if(s==="form")return m.reduce((p,y)=>{const T=h(i[y]);return`${p?`${p}${u?"&":","}`:""}${y}${u?"=":","}${T}`},"")}function to(t){let{key:n,value:i,style:s,escape:u}=t;const c=h=>li(h,{escape:u});if(s==="simple")return c(i);if(s==="label")return`.${c(i)}`;if(s==="matrix")return`;${n}=${c(i)}`;if(s==="form")return c(i);if(s==="deepObject")return c(i,{},!0)}const kl=(t,n)=>{n.body=t},ro={serializeRes:Ss,mergeInQueryOrForm:ui};async function yf(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};typeof t=="object"&&(n=t,t=n.url),n.headers=n.headers||{},ro.mergeInQueryOrForm(n),n.headers&&Object.keys(n.headers).forEach(u=>{const c=n.headers[u];typeof c=="string"&&(n.headers[u]=c.replace(/\n+/g," "))}),n.requestInterceptor&&(n=await n.requestInterceptor(n)||n);const i=n.headers["content-type"]||n.headers["Content-Type"];/multipart\/form-data/i.test(i)&&n.body instanceof eo&&(delete n.headers["content-type"],delete n.headers["Content-Type"]);let s;try{s=await(n.userFetch||fetch)(n.url,n),s=await ro.serializeRes(s,t,n),n.responseInterceptor&&(s=await n.responseInterceptor(s)||s)}catch(u){if(!s)throw u;const c=new Error(s.statusText||`response status is ${s.status}`);throw c.status=s.status,c.statusCode=s.status,c.responseError=u,c}if(!s.ok){const u=new Error(s.statusText||`response status is ${s.status}`);throw u.status=s.status,u.statusCode=s.status,u.response=s,u}return s}const bf=function(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return/(json|xml|yaml|text)\b/.test(t)};function xf(t,n){return n&&(n.indexOf("application/json")===0||n.indexOf("+json")>0)?JSON.parse(t):gf.load(t)}function Ss(t,n){let{loadSpec:i=!1}=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};const s={ok:t.ok,url:t.url||n,status:t.status,statusText:t.statusText,headers:no(t.headers)},u=s.headers["content-type"],c=i||bf(u);return(c?t.text:t.blob||t.buffer).call(t).then(m=>{if(s.text=m,s.data=m,c)try{const p=xf(m,u);s.body=p,s.obj=p}catch(p){s.parseError=p}return s})}function ws(t){return t.includes(", ")?t.split(", "):t}function no(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return typeof t.entries!="function"?{}:Array.from(t.entries()).reduce((n,i)=>{let[s,u]=i;return n[s]=ws(u),n},{})}function Ti(t,n){return!n&&typeof navigator<"u"&&(n=navigator),n&&n.product==="ReactNative"?!!(t&&typeof t=="object"&&typeof t.uri=="string"):typeof xa<"u"&&t instanceof xa||typeof Do<"u"&&t instanceof Do||ArrayBuffer.isView(t)?!0:t!==null&&typeof t=="object"&&typeof t.pipe=="function"}function Pl(t,n){return Array.isArray(t)&&t.some(i=>Ti(i,n))}const Ca={form:",",spaceDelimited:"%20",pipeDelimited:"|"},Ll={csv:",",ssv:"%20",tsv:"%09",pipes:"|"};function io(t,n){let i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;const{collectionFormat:s,allowEmptyValue:u,serializationOption:c,encoding:h}=n,m=typeof n=="object"&&!Array.isArray(n)?n.value:n,p=i?T=>T.toString():T=>encodeURIComponent(T),y=p(t);if(typeof m>"u"&&u)return[[y,""]];if(Ti(m)||Pl(m))return[[y,m]];if(c)return Cs(t,m,i,c);if(h){if([typeof h.style,typeof h.explode,typeof h.allowReserved].some(T=>T!=="undefined")){const{style:T,explode:L,allowReserved:q}=h;return Cs(t,m,i,{style:T,explode:L,allowReserved:q})}if(h.contentType){if(h.contentType==="application/json"){const T=typeof m=="string"?m:JSON.stringify(m);return[[y,p(T)]]}return[[y,p(m.toString())]]}return typeof m!="object"?[[y,p(m)]]:Array.isArray(m)&&m.every(T=>typeof T!="object")?[[y,m.map(p).join(",")]]:[[y,p(JSON.stringify(m))]]}return typeof m!="object"?[[y,p(m)]]:Array.isArray(m)?s==="multi"?[[y,m.map(p)]]:[[y,m.map(p).join(Ll[s||"csv"])]]:[[y,""]]}function Cs(t,n,i,s){const u=s.style||"form",c=typeof s.explode>"u"?u==="form":s.explode,h=i?!1:s&&s.allowReserved?"unsafe":"reserved",m=y=>li(y,{escape:h}),p=i?y=>y:y=>li(y,{escape:h});return typeof n!="object"?[[p(t),m(n)]]:Array.isArray(n)?c?[[p(t),n.map(m)]]:[[p(t),n.map(m).join(Ca[u])]]:u==="deepObject"?Object.keys(n).map(y=>[p(`${t}[${y}]`),m(n[y])]):c?Object.keys(n).map(y=>[p(y),m(n[y])]):[[p(t),Object.keys(n).map(y=>[`${p(y)},${m(n[y])}`]).join(",")]]}function ki(t){return Object.entries(t).reduce((n,i)=>{let[s,u]=i;for(const[c,h]of io(s,u,!0))if(Array.isArray(h))for(const m of h)if(ArrayBuffer.isView(m)){const p=new Do([m]);n.append(c,p)}else n.append(c,m);else if(ArrayBuffer.isView(h)){const m=new Do([h]);n.append(c,m)}else n.append(c,h);return n},new eo)}function oo(t){const n=Object.keys(t).reduce((i,s)=>{for(const[u,c]of io(s,t[s]))i[u]=c;return i},{});return ee().stringify(n,{encode:!1,indices:!1})||""}function ui(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const{url:n="",query:i,form:s}=t,u=function(){for(var c=arguments.length,h=new Array(c),m=0;m<c;m++)h[m]=arguments[m];const p=h.filter(y=>y).join("&");return p?`?${p}`:""};if(s){const c=Object.keys(s).some(m=>{const{value:p}=s[m];return Ti(p)||Pl(p)}),h=t.headers["content-type"]||t.headers["Content-Type"];if(c||/multipart\/form-data/i.test(h)){const m=ki(t.form);kl(m,t)}else t.body=oo(s);delete t.form}if(i){const[c,h]=n.split("?");let m="";if(h){const y=ee().parse(h);Object.keys(i).forEach(L=>delete y[L]),m=ee().stringify(y,{encode:!0})}const p=u(m,oo(i));t.url=c+p,delete t.query}return t}function Aa(t,n,i){return i=i||(s=>s),n=n||(s=>s),s=>(typeof s=="string"&&(s={url:s}),ro.mergeInQueryOrForm(s),s=n(s),i(t(s)))}function ao(t,n){function i(){Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack;for(var s=arguments.length,u=new Array(s),c=0;c<s;c++)u[c]=arguments[c];[this.message]=u,n&&n.apply(this,u)}return i.prototype=new Error,i.prototype.name=t,i.prototype.constructor=i,i}const Il={body:Ml,header:Sf,query:Li,path:Pi,formData:Nl};function Ml(t){let{req:n,value:i}=t;n.body=i}function Nl(t){let{req:n,value:i,parameter:s}=t;(i||s.allowEmptyValue)&&(n.form=n.form||{},n.form[s.name]={value:i,allowEmptyValue:s.allowEmptyValue,collectionFormat:s.collectionFormat})}function Sf(t){let{req:n,parameter:i,value:s}=t;n.headers=n.headers||{},typeof s<"u"&&(n.headers[i.name]=s)}function Pi(t){let{req:n,value:i,parameter:s}=t;n.url=n.url.split(`{${s.name}}`).join(encodeURIComponent(i))}function Li(t){let{req:n,value:i,parameter:s}=t;if(n.query=n.query||{},i===!1&&s.type==="boolean"&&(i="false"),i===0&&["number","integer"].indexOf(s.type)>-1&&(i="0"),i)n.query[s.name]={collectionFormat:s.collectionFormat,value:i};else if(s.allowEmptyValue&&i!==void 0){const u=s.name;n.query[u]=n.query[u]||{},n.query[u].allowEmptyValue=!0}}function Oa(t,n){return n.includes("application/json")?typeof t=="string"?t:JSON.stringify(t):t.toString()}function wf(t){let{req:n,value:i,parameter:s}=t;const{name:u,style:c,explode:h,content:m}=s;if(m){const y=Object.keys(m)[0];n.url=n.url.split(`{${u}}`).join(li(Oa(i,y),{escape:!0}));return}const p=wa({key:s.name,value:i,style:c||"simple",explode:h||!1,escape:!0});n.url=n.url.split(`{${u}}`).join(p)}function Cf(t){let{req:n,value:i,parameter:s}=t;if(n.query=n.query||{},s.content){const u=Object.keys(s.content)[0],c=Oa(i,u);if(c)n.query[s.name]=c;else if(s.allowEmptyValue&&i!==void 0){const h=s.name;n.query[h]=n.query[h]||{},n.query[h].allowEmptyValue=!0}return}if(i===!1&&(i="false"),i===0&&(i="0"),i){const{style:u,explode:c,allowReserved:h}=s;n.query[s.name]={value:i,serializationOption:{style:u,explode:c,allowReserved:h}}}else if(s.allowEmptyValue&&i!==void 0){const u=s.name;n.query[u]=n.query[u]||{},n.query[u].allowEmptyValue=!0}}const Af=["accept","authorization","content-type"];function Of(t){let{req:n,parameter:i,value:s}=t;if(n.headers=n.headers||{},!(Af.indexOf(i.name.toLowerCase())>-1)){if(i.content){const u=Object.keys(i.content)[0];n.headers[i.name]=Oa(s,u);return}typeof s<"u"&&(n.headers[i.name]=wa({key:i.name,value:s,style:i.style||"simple",explode:typeof i.explode>"u"?!1:i.explode,escape:!1}))}}function Ef(t){let{req:n,parameter:i,value:s}=t;n.headers=n.headers||{};const u=typeof s;if(i.content){const c=Object.keys(i.content)[0];n.headers.Cookie=`${i.name}=${Oa(s,c)}`;return}if(u!=="undefined"){const c=u==="object"&&!Array.isArray(s)&&i.explode?"":`${i.name}=`;n.headers.Cookie=c+wa({key:i.name,value:s,escape:!1,style:i.style||"form",explode:typeof i.explode>"u"?!1:i.explode})}}const Vr=(()=>typeof globalThis<"u"?globalThis:typeof self<"u"?self:window)(),{btoa:lr}=Vr,Sr=lr;function ur(t,n){const{operation:i,requestBody:s,securities:u,spec:c,attachContentTypeForEmptyPayload:h}=t;let{requestContentType:m}=t;n=Fo({request:n,securities:u,operation:i,spec:c});const p=i.requestBody||{},y=Object.keys(p.content||{}),T=m&&y.indexOf(m)>-1;if(s||h){if(m&&T)n.headers["Content-Type"]=m;else if(!m){const L=y[0];L&&(n.headers["Content-Type"]=L,m=L)}}else m&&T&&(n.headers["Content-Type"]=m);if(!t.responseContentType&&i.responses){const L=Object.entries(i.responses).filter(q=>{let[W,_]=q;const fe=parseInt(W,10);return fe>=200&&fe<300&&ge(_.content)}).reduce((q,W)=>{let[,_]=W;return q.concat(Object.keys(_.content))},[]);L.length>0&&(n.headers.accept=L.join(", "))}if(s)if(m){if(y.indexOf(m)>-1)if(m==="application/x-www-form-urlencoded"||m==="multipart/form-data")if(typeof s=="object"){const L=(p.content[m]||{}).encoding||{};n.form={},Object.keys(s).forEach(q=>{n.form[q]={value:s[q],encoding:L[q]||{}}})}else n.form=s;else n.body=s}else n.body=s;return n}function Fo(t){let{request:n,securities:i={},operation:s={},spec:u}=t;const c=I({},n),{authorized:h={}}=i,m=s.security||u.security||[],p=h&&!!Object.keys(h).length,y=ie()(u,["components","securitySchemes"])||{};return c.headers=c.headers||{},c.query=c.query||{},!Object.keys(i).length||!p||!m||Array.isArray(s.security)&&!s.security.length?n:(m.forEach(T=>{Object.keys(T).forEach(L=>{const q=h[L],W=y[L];if(!q)return;const _=q.value||q,{type:fe}=W;if(q){if(fe==="apiKey")W.in==="query"&&(c.query[W.name]=_),W.in==="header"&&(c.headers[W.name]=_),W.in==="cookie"&&(c.cookies[W.name]=_);else if(fe==="http"){if(/^basic$/i.test(W.scheme)){const ae=_.username||"",oe=_.password||"",ue=Sr(`${ae}:${oe}`);c.headers.Authorization=`Basic ${ue}`}/^bearer$/i.test(W.scheme)&&(c.headers.Authorization=`Bearer ${_}`)}else if(fe==="oauth2"||fe==="openIdConnect"){const ae=q.token||{},oe=W["x-tokenName"]||"access_token",ue=ae[oe];let ye=ae.token_type;(!ye||ye.toLowerCase()==="bearer")&&(ye="Bearer"),c.headers.Authorization=`${ye} ${ue}`}}})}),c)}function Tf(t,n){const{spec:i,operation:s,securities:u,requestContentType:c,responseContentType:h,attachContentTypeForEmptyPayload:m}=t;if(n=Ea({request:n,securities:u,operation:s,spec:i}),n.body||n.form||m)c?n.headers["Content-Type"]=c:Array.isArray(s.consumes)?[n.headers["Content-Type"]]=s.consumes:Array.isArray(i.consumes)?[n.headers["Content-Type"]]=i.consumes:s.parameters&&s.parameters.filter(p=>p.type==="file").length?n.headers["Content-Type"]="multipart/form-data":s.parameters&&s.parameters.filter(p=>p.in==="formData").length&&(n.headers["Content-Type"]="application/x-www-form-urlencoded");else if(c){const p=s.parameters&&s.parameters.filter(T=>T.in==="body").length>0,y=s.parameters&&s.parameters.filter(T=>T.in==="formData").length>0;(p||y)&&(n.headers["Content-Type"]=c)}return!h&&Array.isArray(s.produces)&&s.produces.length>0&&(n.headers.accept=s.produces.join(", ")),n}function Ea(t){let{request:n,securities:i={},operation:s={},spec:u}=t;const c=I({},n),{authorized:h={},specSecurity:m=[]}=i,p=s.security||m,y=h&&!!Object.keys(h).length,T=u.securityDefinitions;return c.headers=c.headers||{},c.query=c.query||{},!Object.keys(i).length||!y||!p||Array.isArray(s.security)&&!s.security.length?n:(p.forEach(L=>{Object.keys(L).forEach(q=>{const W=h[q];if(!W)return;const{token:_}=W,fe=W.value||W,ae=T[q],{type:oe}=ae,ue=ae["x-tokenName"]||"access_token",ye=_&&_[ue];let Ae=_&&_.token_type;if(W)if(oe==="apiKey"){const we=ae.in==="query"?"query":"headers";c[we]=c[we]||{},c[we][ae.name]=fe}else if(oe==="basic")if(fe.header)c.headers.authorization=fe.header;else{const we=fe.username||"",ke=fe.password||"";fe.base64=Sr(`${we}:${ke}`),c.headers.authorization=`Basic ${fe.base64}`}else oe==="oauth2"&&ye&&(Ae=!Ae||Ae.toLowerCase()==="bearer"?"Bearer":Ae,c.headers.authorization=`${Ae} ${ye}`)})}),c)}function Dl(t,n){return`${n.toLowerCase()}-${t}`}function kf(t,n,i){if(!t||typeof t!="object"||!t.paths||typeof t.paths!="object")return null;const{paths:s}=t;for(const u in s)for(const c in s[u]){if(c.toUpperCase()==="PARAMETERS")continue;const h=s[u][c];if(!h||typeof h!="object")continue;const m={spec:t,pathName:u,method:c.toUpperCase(),operation:h},p=n(m);if(i&&p)return m}}function Pf(t,n){return kf(t,n,!0)||null}const As=t=>t.replace(/\W/gi,"_");function Os(t,n){let{v2OperationIdCompatibilityMode:i}=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(i){let s=`${n.toLowerCase()}_${t}`.replace(/[\s!@#$%^&*()_+=[{\]};:<>|./?,\\'""-]/g,"_");return s=s||`${t.substring(1)}_${n}`,s.replace(/((_){2,})/g,"_").replace(/^(_)*/g,"").replace(/([_])*$/g,"")}return`${n.toLowerCase()}${As(t)}`}function Lf(t,n){let i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"",{v2OperationIdCompatibilityMode:s}=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};return!t||typeof t!="object"?null:(t.operationId||"").replace(/\s/g,"").length?As(t.operationId):Os(n,i,{v2OperationIdCompatibilityMode:s})}function Es(t,n){return!t||!t.paths?null:Pf(t,i=>{let{pathName:s,method:u,operation:c}=i;if(!c||typeof c!="object")return!1;const h=c.operationId,m=Lf(c,s,u),p=Dl(s,u);return[m,p,h].some(y=>y&&y===n)})}const Rl=t=>{try{const{swagger:n}=t;return n==="2.0"}catch{return!1}},Bl=t=>{try{const{openapi:n}=t;return typeof n=="string"&&/^3\.0\.([0123])(?:-rc[012])?$/.test(n)}catch{return!1}},jl=t=>{try{const{openapi:n}=t;return typeof n=="string"&&/^3\.1\.(?:[1-9]\d*|0)$/.test(n)}catch{return!1}},Ta=t=>Bl(t)||jl(t),Wl=["http","fetch","spec","operationId","pathName","method","parameters","securities"],so=t=>Array.isArray(t)?t:[],If=ao("OperationNotFoundError",function(n,i,s){this.originalError=s,Object.assign(this,i||{})}),ka=(t,n)=>n.filter(i=>i.name===t),Xn=t=>{const n={};t.forEach(s=>{n[s.in]||(n[s.in]={}),n[s.in][s.name]=s});const i=[];return Object.keys(n).forEach(s=>{Object.keys(n[s]).forEach(u=>{i.push(n[s][u])})}),i},Hl={buildRequest:Ul};function Mf(t){let{http:n,fetch:i,spec:s,operationId:u,pathName:c,method:h,parameters:m,securities:p}=t,y=te(t,Wl);const T=n||i||yf;c&&h&&!u&&(u=Dl(c,h));const L=Hl.buildRequest(I({spec:s,operationId:u,parameters:m,securities:p,http:T},y));return L.body&&(ge(L.body)||Array.isArray(L.body))&&(L.body=JSON.stringify(L.body)),T(L)}function Ul(t){const{spec:n,operationId:i,responseContentType:s,scheme:u,requestInterceptor:c,responseInterceptor:h,contextUrl:m,userFetch:p,server:y,serverVariables:T,http:L,signal:q}=t;let{parameters:W,parameterBuilders:_}=t;const fe=Ta(n);_||(fe?_=v:_=Il);let oe={url:"",credentials:L&&L.withCredentials?"include":"same-origin",headers:{},cookies:{}};q&&(oe.signal=q),c&&(oe.requestInterceptor=c),h&&(oe.responseInterceptor=h),p&&(oe.userFetch=p);const ue=Es(n,i);if(!ue)throw new If(`Operation ${i} not found`);const{operation:ye={},method:Ae,pathName:we}=ue;if(oe.url+=Et({spec:n,scheme:u,contextUrl:m,server:y,serverVariables:T,pathName:we,method:Ae}),!i)return delete oe.cookies,oe;oe.url+=we,oe.method=`${Ae}`.toUpperCase(),W=W||{};const ke=n.paths[we]||{};s&&(oe.headers.accept=s);const Te=Xn([].concat(so(ye.parameters)).concat(so(ke.parameters)));Te.forEach(pe=>{const Ie=_[pe.in];let Ee;if(pe.in==="body"&&pe.schema&&pe.schema.properties&&(Ee=W),Ee=pe&&pe.name&&W[pe.name],typeof Ee>"u"?Ee=pe&&pe.name&&W[`${pe.in}.${pe.name}`]:ka(pe.name,Te).length>1&&console.warn(`Parameter '${pe.name}' is ambiguous because the defined spec has more than one parameter with the name: '${pe.name}' and the passed-in parameter values did not define an 'in' value.`),Ee!==null){if(typeof pe.default<"u"&&typeof Ee>"u"&&(Ee=pe.default),typeof Ee>"u"&&pe.required&&!pe.allowEmptyValue)throw new Error(`Required parameter ${pe.name} is not provided`);if(fe&&pe.schema&&pe.schema.type==="object"&&typeof Ee=="string")try{Ee=JSON.parse(Ee)}catch{throw new Error("Could not parse object parameter value string as JSON")}Ie&&Ie({req:oe,parameter:pe,value:Ee,operation:ye,spec:n})}});const De=I(I({},t),{},{operation:ye});if(fe?oe=ur(De,oe):oe=Tf(De,oe),oe.cookies&&Object.keys(oe.cookies).length){const pe=Object.keys(oe.cookies).reduce((Ie,Ee)=>{const Be=oe.cookies[Ee],et=Ie?"&":"",jt=Y.serialize(Ee,Be);return Ie+et+jt},"");oe.headers.Cookie=pe}return oe.cookies&&delete oe.cookies,ui(oe),oe}const Fr=t=>t?t.replace(/\W/g,""):null;function Et(t){return Ta(t.spec)?Sn(t):zl(t)}function Sn(t){let{spec:n,pathName:i,method:s,server:u,contextUrl:c,serverVariables:h={}}=t;const m=ie()(n,["paths",i,(s||"").toLowerCase(),"servers"])||ie()(n,["paths",i,"servers"])||ie()(n,["servers"]);let p="",y=null;if(u&&m&&m.length){const T=m.map(L=>L.url);T.indexOf(u)>-1&&(p=u,y=m[T.indexOf(u)])}return!p&&m&&m.length&&(p=m[0].url,[y]=m),p.indexOf("{")>-1&&ci(p).forEach(L=>{if(y.variables&&y.variables[L]){const q=y.variables[L],W=h[L]||q.default,_=new RegExp(`{${L}}`,"g");p=p.replace(_,W)}}),fi(p,c)}function fi(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";const i=t&&n?H.parse(H.resolve(n,t)):H.parse(t),s=H.parse(n),u=Fr(i.protocol)||Fr(s.protocol)||"",c=i.host||s.host,h=i.pathname||"";let m;return u&&c?m=`${u}://${c+h}`:m=h,m[m.length-1]==="/"?m.slice(0,-1):m}function ci(t){const n=[],i=/{([^}]+)}/g;let s;for(;s=i.exec(t);)n.push(s[1]);return n}function zl(t){let{spec:n,scheme:i,contextUrl:s=""}=t;const u=H.parse(s),c=Array.isArray(n.schemes)?n.schemes[0]:null,h=i||c||Fr(u.protocol)||"http",m=n.host||u.host||"",p=n.basePath||"";let y;return h&&m?y=`${h}://${m+p}`:y=p,y[y.length-1]==="/"?y.slice(0,-1):y}var B=f(29901),Vt=f(20202),wn=f(44411),Ts=f(37837),Ro=f(96244),_l=f(2526),ks=Object.defineProperty,di=Object.defineProperties,Vl=Object.getOwnPropertyDescriptors,Ps=Object.getOwnPropertySymbols,Nf=Object.prototype.hasOwnProperty,Pa=Object.prototype.propertyIsEnumerable,La=(t,n,i)=>n in t?ks(t,n,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[n]=i,$l=(t,n)=>{for(var i in n||(n={}))Nf.call(n,i)&&La(t,i,n[i]);if(Ps)for(var i of Ps(n))Pa.call(n,i)&&La(t,i,n[i]);return t},Df=(t,n)=>di(t,Vl(n)),Gl=(t,n,i)=>new Promise((s,u)=>{var c=p=>{try{m(i.next(p))}catch(y){u(y)}},h=p=>{try{m(i.throw(p))}catch(y){u(y)}},m=p=>p.done?s(p.value):Promise.resolve(p.value).then(c,h);m((i=i.apply(t,n)).next())});function Ff(t,n){return Gl(this,null,function*(){var i,s,u,c;const h=JSON.parse(JSON.stringify(n)),m=h.openapi?{openapi:h.openapi}:h.swagger?{swagger:h.swagger}:{},p=Df($l({},m),{components:h.components,paths:{[t.path]:{[t.httpVerb]:(s=(i=h.paths)==null?void 0:i[t.path])==null?void 0:s[t.httpVerb],parameters:(c=(u=h.paths)==null?void 0:u[t.path])==null?void 0:c.parameters}}}),y=new Ro.Config({}),T=(0,_l.I)(p),L={config:y,doc:T,dereference:!0};return yield(0,Ts.bundle)(L),h})}var Rf=f(98910),Ii=f(84862),Cn=f(53134),Kl=(t,n,i)=>new Promise((s,u)=>{var c=p=>{try{m(i.next(p))}catch(y){u(y)}},h=p=>{try{m(i.throw(p))}catch(y){u(y)}},m=p=>p.done?s(p.value):Promise.resolve(p.value).then(c,h);m((i=i.apply(t,n)).next())});const Yl=Object.values(Cn.FileUploadFormats),Xl=["application/octet-stream","application/pdf","application/gzip","application/zip"],Mi=["image/","audio/","video/"];function Ia(t){if(Mi.some(n=>t.startsWith(n)))return t}function Ni(t){return Xl.includes(t)?!0:Mi.some(n=>t.startsWith(n))}function Jl(t){const n=t.type==="array"?t.items:t;if(!n||!n.type||n?.type==="any")return!0;const i=n.contentMediaType||"",s=n.format||n.contentEncoding||(Ni(i)?"binary":"");return n.type===Cn.DefinitionTypes.STRING&&Yl.includes(s)}function Ma(t,n){if(!t||!t.type||t.type==="any")return Ni(n);const i=t.format||t.contentEncoding||"";return t.type===Cn.DefinitionTypes.STRING&&Yl.includes(i)}function Ls(t){return new Promise((n,i)=>{const s=new FileReader;s.onload=()=>{const c=s.result.replace(/data:.*\/.*;base64,/g,"");n(c)},s.onerror=()=>i(s.error),s.readAsDataURL(t)})}function Ql({format:t,contentEncoding:n,contentMediaType:i}){return[t,n,i].includes(Cn.FileUploadFormats.BASE64)}function Zl(t,n){return Kl(this,null,function*(){const i=Object.values(t);let s=i.length===1?i[0]:i;return n.type===Cn.DefinitionTypes.STRING&&Ql(n)?s=yield Ls(i[0]):n.type===Cn.DefinitionTypes.ARRAY&&n.items&&(Ql(n.items)?s=yield Promise.all(i.map(c=>Kl(this,null,function*(){return yield Ls(c)}))):s=i),s})}var fr=f(84622),gt=f(38612),Tt=f(38779),ot=f(85739),Qr=f(71608),lo=f(64393),An=f(60991);function ql({response:t}){const{jsonSampleExpandLevel:n}=(0,wn.Dv)(An.qd);return B.createElement(B.Fragment,null,B.createElement(Qr.EE,null," Body: "),eu(t,n))}function eu(t,n){return t.body?B.createElement(Vt.JsonViewer,{data:t.body,jsonSampleExpandLevel:n}):t.fileInfo?B.createElement(lo.s,{fileInfo:t.fileInfo}):t.data!==null?t.data?B.createElement(Vt.CodeBlock,{lang:(0,ot.M)(t.headers["Content-Type"]||"text/plain"),source:t.data,header:{controls:{copy:{}}}}):B.createElement(Vt.CodeBlockContainer,{withControls:!0},B.createElement("i",null,"(no content)")):null}function tu({headers:t}){const n=(0,wn.Dv)(An.qd),[i,s]=(0,B.useState)(!0),{maxResponseHeadersToShowInTryIt:u}=n,c=Object.keys(t),h=!!u&&c.length>u,m=h&&i?[...c].splice(0,u):[...c],p=()=>{s(!i)};return B.createElement(B.Fragment,null,B.createElement(Qr.EE,null," Headers: "),B.createElement(Vt.CodeBlockContainer,{withControls:!0},m.map(y=>B.createElement("div",{key:y},B.createElement(Di,null,y,":"),B.createElement("code",null,t[y]))),h&&B.createElement(Is,{onClick:p},i?"Show more...":"Hide headers")))}const Di=Tt.ZP.strong`
82
82
  text-transform: capitalize;
83
83
  display: inline-block;
84
84
  padding-right: 5px;
@@ -163,7 +163,7 @@ b`.split(/\n/).length!=3?function(e){for(var r=0,a=[],o=e.length;r<=o;){var l=e.
163
163
  `;var bu=f(4296),Gf=f(62701),xu=f(18373);const Su=(0,Tt.ZP)(fo.A3)`
164
164
  border-radius: var(--panel-border-radius);
165
165
  margin-bottom: 10px;
166
- `;var Ba=f(42112),Yo=f(34716),Xo=f(44736),Jo=Object.defineProperty,ja=Object.getOwnPropertySymbols,Hs=Object.prototype.hasOwnProperty,wu=Object.prototype.propertyIsEnumerable,Cu=(t,n,i)=>n in t?Jo(t,n,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[n]=i,Kf=(t,n)=>{for(var i in n||(n={}))Hs.call(n,i)&&Cu(t,i,n[i]);if(ja)for(var i of ja(n))wu.call(n,i)&&Cu(t,i,n[i]);return t},Au=(t,n)=>{var i={};for(var s in t)Hs.call(t,s)&&n.indexOf(s)<0&&(i[s]=t[s]);if(t!=null&&ja)for(var s of ja(t))n.indexOf(s)<0&&wu.call(t,s)&&(i[s]=t[s]);return i},Ou=(t,n,i)=>new Promise((s,u)=>{var c=p=>{try{m(i.next(p))}catch(y){u(y)}},h=p=>{try{m(i.throw(p))}catch(y){u(y)}},m=p=>p.done?s(p.value):Promise.resolve(p.value).then(c,h);m((i=i.apply(t,n)).next())});const Eu=(0,B.forwardRef)((t,n)=>{var i=Au(t,[]);const s=i,{schema:u,contentName:c,onChange:h,name:m}=s,p=Au(s,["schema","contentName","onChange","name"]),{render:y}=(0,Zr.U$)(Kf({field:m},p)),T=L=>Ou(void 0,null,function*(){const q=yield Zl(L.target.files,u);h(c,q)});return y(B.createElement("input",{"data-cy":"file-upload-input",type:"file",id:i.id,className:i.className,name:i.name,onChange:T,multiple:i.multiple,accept:i.accept,ref:n}))});Eu.displayName="FileUpload";var Us=f(21156);function Tu({mediaType:t,onChange:n,formApi:i}){var s;const u=t.examples||{},{exampleKey:c}=(0,Yo.C6)(t.operation,u),h=(s=u[c])==null?void 0:s.rawValue,m=ku(t);(0,B.useEffect)(()=>i&&m.forEach(y=>{var T,L;const q=h?.[y.name],W=(L=(T=y.example)!=null?T:q?.example)!=null?L:q,_=typeof W=="object"?JSON.stringify(W):W;W!==void 0&&i.setValue("body."+y.name,`${_}`)}),[c]);const p=t.schema||{};return Ma(p,t.name)?B.createElement(Pu,null,B.createElement(Ge.NI,null,B.createElement(_s,{fullWidth:!0,id:`body.${t.name}`,name:`body.${t.name}`,accept:Ia(t.name),schema:p,contentName:t.name,onChange:n}))):p.type!==Cn.DefinitionTypes.OBJECT&&!m?(console.warn(`Invalid schema for request body and mime type: "${t.name}"`,p),null):B.createElement(Pu,null,m.map(y=>{const T=y.schema||{contentMediaType:"",type:"",description:""},L=t.name===Ba.Tr.MULTIPART&&Jl(T),q=T.contentMediaType||"",W=L?B.createElement(_s,{fullWidth:!0,id:"body."+y.name,name:"body."+y.name,accept:Ia(q),multiple:T.type==="array",schema:T,contentName:y.name,onChange:n}):B.createElement(Bt.Xn,{fullWidth:!0,id:"body."+y.name,field:"body."+y.name,placeholder:(0,ot.bG)(T.description)||y.name,panel:"try-it"});return B.createElement(Ge.NI,{key:y.name},B.createElement(Ge.lX,null,y.name,":"),W)}))}const zs=(0,B.memo)(Tu);function ku(t){var n,i,s,u,c,h;const{activeOneOf:m}=(0,Xo.Sb)((0,Us.N)(t.operation.pointer)),p=(i=m[((n=t.schema)==null?void 0:n.pointer)||""])!=null?i:0;return((u=(s=t.schema)==null?void 0:s.oneOf)!=null&&u.length?((c=t.schema)==null?void 0:c.oneOf[p].fields)||[]:((h=t.schema)==null?void 0:h.fields)||[]).filter(y=>!y.schema.readOnly)}const Pu=Tt.ZP.div`
166
+ `;var Ba=f(42112),Yo=f(34716),Xo=f(54955),Jo=Object.defineProperty,ja=Object.getOwnPropertySymbols,Hs=Object.prototype.hasOwnProperty,wu=Object.prototype.propertyIsEnumerable,Cu=(t,n,i)=>n in t?Jo(t,n,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[n]=i,Kf=(t,n)=>{for(var i in n||(n={}))Hs.call(n,i)&&Cu(t,i,n[i]);if(ja)for(var i of ja(n))wu.call(n,i)&&Cu(t,i,n[i]);return t},Au=(t,n)=>{var i={};for(var s in t)Hs.call(t,s)&&n.indexOf(s)<0&&(i[s]=t[s]);if(t!=null&&ja)for(var s of ja(t))n.indexOf(s)<0&&wu.call(t,s)&&(i[s]=t[s]);return i},Ou=(t,n,i)=>new Promise((s,u)=>{var c=p=>{try{m(i.next(p))}catch(y){u(y)}},h=p=>{try{m(i.throw(p))}catch(y){u(y)}},m=p=>p.done?s(p.value):Promise.resolve(p.value).then(c,h);m((i=i.apply(t,n)).next())});const Eu=(0,B.forwardRef)((t,n)=>{var i=Au(t,[]);const s=i,{schema:u,contentName:c,onChange:h,name:m}=s,p=Au(s,["schema","contentName","onChange","name"]),{render:y}=(0,Zr.U$)(Kf({field:m},p)),T=L=>Ou(void 0,null,function*(){const q=yield Zl(L.target.files,u);h(c,q)});return y(B.createElement("input",{"data-cy":"file-upload-input",type:"file",id:i.id,className:i.className,name:i.name,onChange:T,multiple:i.multiple,accept:i.accept,ref:n}))});Eu.displayName="FileUpload";var Us=f(21156);function Tu({mediaType:t,onChange:n,formApi:i}){var s;const u=t.examples||{},{exampleKey:c}=(0,Yo.C6)(t.operation,u),h=(s=u[c])==null?void 0:s.rawValue,m=ku(t);(0,B.useEffect)(()=>i&&m.forEach(y=>{var T,L;const q=h?.[y.name],W=(L=(T=y.example)!=null?T:q?.example)!=null?L:q,_=typeof W=="object"?JSON.stringify(W):W;W!==void 0&&i.setValue("body."+y.name,`${_}`)}),[c]);const p=t.schema||{};return Ma(p,t.name)?B.createElement(Pu,null,B.createElement(Ge.NI,null,B.createElement(_s,{fullWidth:!0,id:`body.${t.name}`,name:`body.${t.name}`,accept:Ia(t.name),schema:p,contentName:t.name,onChange:n}))):p.type!==Cn.DefinitionTypes.OBJECT&&!m?(console.warn(`Invalid schema for request body and mime type: "${t.name}"`,p),null):B.createElement(Pu,null,m.map(y=>{const T=y.schema||{contentMediaType:"",type:"",description:""},L=t.name===Ba.Tr.MULTIPART&&Jl(T),q=T.contentMediaType||"",W=L?B.createElement(_s,{fullWidth:!0,id:"body."+y.name,name:"body."+y.name,accept:Ia(q),multiple:T.type==="array",schema:T,contentName:y.name,onChange:n}):B.createElement(Bt.Xn,{fullWidth:!0,id:"body."+y.name,field:"body."+y.name,placeholder:(0,ot.bG)(T.description)||y.name,panel:"try-it"});return B.createElement(Ge.NI,{key:y.name},B.createElement(Ge.lX,null,y.name,":"),W)}))}const zs=(0,B.memo)(Tu);function ku(t){var n,i,s,u,c,h;const{activeOneOf:m}=(0,Xo.Sb)((0,Us.N)(t.operation.pointer)),p=(i=m[((n=t.schema)==null?void 0:n.pointer)||""])!=null?i:0;return((u=(s=t.schema)==null?void 0:s.oneOf)!=null&&u.length?((c=t.schema)==null?void 0:c.oneOf[p].fields)||[]:((h=t.schema)==null?void 0:h.fields)||[]).filter(y=>!y.schema.readOnly)}const Pu=Tt.ZP.div`
167
167
  > div {
168
168
  margin-top: 10px;
169
169
  }
@@ -2,7 +2,7 @@
2
2
  * Redocly OpenAPI Docs
3
3
  * (c) Copyright 2018 Redocly LLC, all rights reserved.
4
4
  * -------------------------------------------------------------
5
- * Version: "3.0.0-alpha.72.beta.0"
5
+ * Version: "3.0.0-alpha.74"
6
6
  */(function(Dr,dr){typeof exports=="object"&&typeof module=="object"?module.exports=dr():typeof define=="function"&&define.amd?define([],dr):typeof exports=="object"?exports.RedoclyOpenAPIDocs=dr():Dr.RedoclyOpenAPIDocs=dr()})(this,()=>(()=>{var it={40312:(n,c,r)=>{var t=r(37235),o=r(22734),a=TypeError;n.exports=function(e){if(t(e))return e;throw a(o(e)+" is not a function")}},87725:(n,c,r)=>{var t=r(37235),o=String,a=TypeError;n.exports=function(e){if(typeof e=="object"||t(e))return e;throw a("Can't set "+o(e)+" as a prototype")}},84102:(n,c,r)=>{var t=r(23967),o=r(36101),a=r(99051).f,e=t("unscopables"),s=Array.prototype;s[e]==null&&a(s,e,{configurable:!0,value:o(null)}),n.exports=function(i){s[e][i]=!0}},61507:(n,c,r)=>{var t=r(56471),o=TypeError;n.exports=function(a,e){if(t(e,a))return a;throw o("Incorrect invocation")}},86347:(n,c,r)=>{var t=r(82951),o=String,a=TypeError;n.exports=function(e){if(t(e))return e;throw a(o(e)+" is not an object")}},65335:(n,c,r)=>{"use strict";var t=r(58495),o=r(71970),a=r(72296),e=r(16429),s=r(38861),i=r(19106),l=r(2312),f=r(13980),d=r(53401),p=r(30205),g=Array;n.exports=function(x){var P=a(x),R=i(this),L=arguments.length,C=L>1?arguments[1]:void 0,D=C!==void 0;D&&(C=t(C,L>2?arguments[2]:void 0));var O=p(P),T=0,U,$,rr,nr,K,k;if(O&&!(this===g&&s(O)))for(nr=d(P,O),K=nr.next,$=R?new this:[];!(rr=o(K,nr)).done;T++)k=D?e(nr,C,[rr.value,T],!0):rr.value,f($,T,k);else for(U=l(P),$=R?new this(U):g(U);U>T;T++)k=D?C(P[T],T):P[T],f($,T,k);return $.length=T,$}},10752:(n,c,r)=>{var t=r(11884),o=r(83260),a=r(2312),e=function(s){return function(i,l,f){var d=t(i),p=a(d),g=o(f,p),m;if(s&&l!=l){for(;p>g;)if(m=d[g++],m!=m)return!0}else for(;p>g;g++)if((s||g in d)&&d[g]===l)return s||g||0;return!s&&-1}};n.exports={includes:e(!0),indexOf:e(!1)}},17401:(n,c,r)=>{var t=r(83260),o=r(2312),a=r(13980),e=Array,s=Math.max;n.exports=function(i,l,f){for(var d=o(i),p=t(l,d),g=t(f===void 0?d:f,d),m=e(s(g-p,0)),x=0;p<g;p++,x++)a(m,x,i[p]);return m.length=x,m}},5515:(n,c,r)=>{var t=r(17401),o=Math.floor,a=function(i,l){var f=i.length,d=o(f/2);return f<8?e(i,l):s(i,a(t(i,0,d),l),a(t(i,d),l),l)},e=function(i,l){for(var f=i.length,d=1,p,g;d<f;){for(g=d,p=i[d];g&&l(i[g-1],p)>0;)i[g]=i[--g];g!==d++&&(i[g]=p)}return i},s=function(i,l,f,d){for(var p=l.length,g=f.length,m=0,x=0;m<p||x<g;)i[m+x]=m<p&&x<g?d(l[m],f[x])<=0?l[m++]:f[x++]:m<p?l[m++]:f[x++];return i};n.exports=a},16429:(n,c,r)=>{var t=r(86347),o=r(16177);n.exports=function(a,e,s,i){try{return i?e(t(s)[0],s[1]):e(s)}catch(l){o(a,"throw",l)}}},20237:(n,c,r)=>{var t=r(29027),o=t({}.toString),a=t("".slice);n.exports=function(e){return a(o(e),8,-1)}},95032:(n,c,r)=>{var t=r(65727),o=r(37235),a=r(20237),e=r(23967),s=e("toStringTag"),i=Object,l=a(function(){return arguments}())=="Arguments",f=function(d,p){try{return d[p]}catch{}};n.exports=t?a:function(d){var p,g,m;return d===void 0?"Undefined":d===null?"Null":typeof(g=f(p=i(d),s))=="string"?g:l?a(p):(m=a(p))=="Object"&&o(p.callee)?"Arguments":m}},20292:(n,c,r)=>{var t=r(85831),o=r(42231),a=r(80381),e=r(99051);n.exports=function(s,i,l){for(var f=o(i),d=e.f,p=a.f,g=0;g<f.length;g++){var m=f[g];!t(s,m)&&!(l&&t(l,m))&&d(s,m,p(i,m))}}},40328:(n,c,r)=>{var t=r(59769);n.exports=!t(function(){function o(){}return o.prototype.constructor=null,Object.getPrototypeOf(new o)!==o.prototype})},9401:n=>{n.exports=function(c,r){return{value:c,done:r}}},70235:(n,c,r)=>{var t=r(76986),o=r(99051),a=r(99829);n.exports=t?function(e,s,i){return o.f(e,s,a(1,i))}:function(e,s,i){return e[s]=i,e}},99829:n=>{n.exports=function(c,r){return{enumerable:!(c&1),configurable:!(c&2),writable:!(c&4),value:r}}},13980:(n,c,r)=>{"use strict";var t=r(47568),o=r(99051),a=r(99829);n.exports=function(e,s,i){var l=t(s);l in e?o.f(e,l,a(0,i)):e[l]=i}},16317:(n,c,r)=>{var t=r(49578),o=r(99051);n.exports=function(a,e,s){return s.get&&t(s.get,e,{getter:!0}),s.set&&t(s.set,e,{setter:!0}),o.f(a,e,s)}},62072:(n,c,r)=>{var t=r(37235),o=r(99051),a=r(49578),e=r(8108);n.exports=function(s,i,l,f){f||(f={});var d=f.enumerable,p=f.name!==void 0?f.name:i;if(t(l)&&a(l,p,f),f.global)d?s[i]=l:e(i,l);else{try{f.unsafe?s[i]&&(d=!0):delete s[i]}catch{}d?s[i]=l:o.f(s,i,{value:l,enumerable:!1,configurable:!f.nonConfigurable,writable:!f.nonWritable})}return s}},64266:(n,c,r)=>{var t=r(62072);n.exports=function(o,a,e){for(var s in a)t(o,s,a[s],e);return o}},8108:(n,c,r)=>{var t=r(80376),o=Object.defineProperty;n.exports=function(a,e){try{o(t,a,{value:e,configurable:!0,writable:!0})}catch{t[a]=e}return e}},76986:(n,c,r)=>{var t=r(59769);n.exports=!t(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})},74401:n=>{var c=typeof document=="object"&&document.all,r=typeof c>"u"&&c!==void 0;n.exports={all:c,IS_HTMLDDA:r}},30030:(n,c,r)=>{var t=r(80376),o=r(82951),a=t.document,e=o(a)&&o(a.createElement);n.exports=function(s){return e?a.createElement(s):{}}},96229:n=>{n.exports=typeof navigator<"u"&&String(navigator.userAgent)||""},81150:(n,c,r)=>{var t=r(80376),o=r(96229),a=t.process,e=t.Deno,s=a&&a.versions||e&&e.version,i=s&&s.v8,l,f;i&&(l=i.split("."),f=l[0]>0&&l[0]<4?1:+(l[0]+l[1])),!f&&o&&(l=o.match(/Edge\/(\d+)/),(!l||l[1]>=74)&&(l=o.match(/Chrome\/(\d+)/),l&&(f=+l[1]))),n.exports=f},68671:n=>{n.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},59401:(n,c,r)=>{var t=r(80376),o=r(80381).f,a=r(70235),e=r(62072),s=r(8108),i=r(20292),l=r(74039);n.exports=function(f,d){var p=f.target,g=f.global,m=f.stat,x,P,R,L,C,D;if(g?P=t:m?P=t[p]||s(p,{}):P=(t[p]||{}).prototype,P)for(R in d){if(C=d[R],f.dontCallGetSet?(D=o(P,R),L=D&&D.value):L=P[R],x=l(g?R:p+(m?".":"#")+R,f.forced),!x&&L!==void 0){if(typeof C==typeof L)continue;i(C,L)}(f.sham||L&&L.sham)&&a(C,"sham",!0),e(P,R,C,f)}}},59769:n=>{n.exports=function(c){try{return!!c()}catch{return!0}}},58495:(n,c,r)=>{var t=r(44914),o=r(40312),a=r(71945),e=t(t.bind);n.exports=function(s,i){return o(s),i===void 0?s:a?e(s,i):function(){return s.apply(i,arguments)}}},71945:(n,c,r)=>{var t=r(59769);n.exports=!t(function(){var o=function(){}.bind();return typeof o!="function"||o.hasOwnProperty("prototype")})},71970:(n,c,r)=>{var t=r(71945),o=Function.prototype.call;n.exports=t?o.bind(o):function(){return o.apply(o,arguments)}},34157:(n,c,r)=>{var t=r(76986),o=r(85831),a=Function.prototype,e=t&&Object.getOwnPropertyDescriptor,s=o(a,"name"),i=s&&function(){}.name==="something",l=s&&(!t||t&&e(a,"name").configurable);n.exports={EXISTS:s,PROPER:i,CONFIGURABLE:l}},12352:(n,c,r)=>{var t=r(29027),o=r(40312);n.exports=function(a,e,s){try{return t(o(Object.getOwnPropertyDescriptor(a,e)[s]))}catch{}}},44914:(n,c,r)=>{var t=r(20237),o=r(29027);n.exports=function(a){if(t(a)==="Function")return o(a)}},29027:(n,c,r)=>{var t=r(71945),o=Function.prototype,a=o.call,e=t&&o.bind.bind(a,a);n.exports=t?e:function(s){return function(){return a.apply(s,arguments)}}},49023:(n,c,r)=>{var t=r(80376),o=r(37235),a=function(e){return o(e)?e:void 0};n.exports=function(e,s){return arguments.length<2?a(t[e]):t[e]&&t[e][s]}},30205:(n,c,r)=>{var t=r(95032),o=r(63953),a=r(51246),e=r(90857),s=r(23967),i=s("iterator");n.exports=function(l){if(!a(l))return o(l,i)||o(l,"@@iterator")||e[t(l)]}},53401:(n,c,r)=>{var t=r(71970),o=r(40312),a=r(86347),e=r(22734),s=r(30205),i=TypeError;n.exports=function(l,f){var d=arguments.length<2?s(l):f;if(o(d))return a(t(d,l));throw i(e(l)+" is not iterable")}},63953:(n,c,r)=>{var t=r(40312),o=r(51246);n.exports=function(a,e){var s=a[e];return o(s)?void 0:t(s)}},80376:(n,c,r)=>{var t=function(o){return o&&o.Math==Math&&o};n.exports=t(typeof globalThis=="object"&&globalThis)||t(typeof window=="object"&&window)||t(typeof self=="object"&&self)||t(typeof r.g=="object"&&r.g)||function(){return this}()||Function("return this")()},85831:(n,c,r)=>{var t=r(29027),o=r(72296),a=t({}.hasOwnProperty);n.exports=Object.hasOwn||function(s,i){return a(o(s),i)}},33804:n=>{n.exports={}},18673:(n,c,r)=>{var t=r(49023);n.exports=t("document","documentElement")},74690:(n,c,r)=>{var t=r(76986),o=r(59769),a=r(30030);n.exports=!t&&!o(function(){return Object.defineProperty(a("div"),"a",{get:function(){return 7}}).a!=7})},60144:(n,c,r)=>{var t=r(29027),o=r(59769),a=r(20237),e=Object,s=t("".split);n.exports=o(function(){return!e("z").propertyIsEnumerable(0)})?function(i){return a(i)=="String"?s(i,""):e(i)}:e},96441:(n,c,r)=>{var t=r(29027),o=r(37235),a=r(58797),e=t(Function.toString);o(a.inspectSource)||(a.inspectSource=function(s){return e(s)}),n.exports=a.inspectSource},92569:(n,c,r)=>{var t=r(63545),o=r(80376),a=r(82951),e=r(70235),s=r(85831),i=r(58797),l=r(41506),f=r(33804),d="Object already initialized",p=o.TypeError,g=o.WeakMap,m,x,P,R=function(O){return P(O)?x(O):m(O,{})},L=function(O){return function(T){var U;if(!a(T)||(U=x(T)).type!==O)throw p("Incompatible receiver, "+O+" required");return U}};if(t||i.state){var C=i.state||(i.state=new g);C.get=C.get,C.has=C.has,C.set=C.set,m=function(O,T){if(C.has(O))throw p(d);return T.facade=O,C.set(O,T),T},x=function(O){return C.get(O)||{}},P=function(O){return C.has(O)}}else{var D=l("state");f[D]=!0,m=function(O,T){if(s(O,D))throw p(d);return T.facade=O,e(O,D,T),T},x=function(O){return s(O,D)?O[D]:{}},P=function(O){return s(O,D)}}n.exports={set:m,get:x,has:P,enforce:R,getterFor:L}},38861:(n,c,r)=>{var t=r(23967),o=r(90857),a=t("iterator"),e=Array.prototype;n.exports=function(s){return s!==void 0&&(o.Array===s||e[a]===s)}},37235:(n,c,r)=>{var t=r(74401),o=t.all;n.exports=t.IS_HTMLDDA?function(a){return typeof a=="function"||a===o}:function(a){return typeof a=="function"}},19106:(n,c,r)=>{var t=r(29027),o=r(59769),a=r(37235),e=r(95032),s=r(49023),i=r(96441),l=function(){},f=[],d=s("Reflect","construct"),p=/^\s*(?:class|function)\b/,g=t(p.exec),m=!p.exec(l),x=function(L){if(!a(L))return!1;try{return d(l,f,L),!0}catch{return!1}},P=function(L){if(!a(L))return!1;switch(e(L)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return m||!!g(p,i(L))}catch{return!0}};P.sham=!0,n.exports=!d||o(function(){var R;return x(x.call)||!x(Object)||!x(function(){R=!0})||R})?P:x},74039:(n,c,r)=>{var t=r(59769),o=r(37235),a=/#|\.prototype\./,e=function(d,p){var g=i[s(d)];return g==f?!0:g==l?!1:o(p)?t(p):!!p},s=e.normalize=function(d){return String(d).replace(a,".").toLowerCase()},i=e.data={},l=e.NATIVE="N",f=e.POLYFILL="P";n.exports=e},51246:n=>{n.exports=function(c){return c==null}},82951:(n,c,r)=>{var t=r(37235),o=r(74401),a=o.all;n.exports=o.IS_HTMLDDA?function(e){return typeof e=="object"?e!==null:t(e)||e===a}:function(e){return typeof e=="object"?e!==null:t(e)}},68264:n=>{n.exports=!1},47082:(n,c,r)=>{var t=r(49023),o=r(37235),a=r(56471),e=r(19366),s=Object;n.exports=e?function(i){return typeof i=="symbol"}:function(i){var l=t("Symbol");return o(l)&&a(l.prototype,s(i))}},16177:(n,c,r)=>{var t=r(71970),o=r(86347),a=r(63953);n.exports=function(e,s,i){var l,f;o(e);try{if(l=a(e,"return"),!l){if(s==="throw")throw i;return i}l=t(l,e)}catch(d){f=!0,l=d}if(s==="throw")throw i;if(f)throw l;return o(l),i}},21811:(n,c,r)=>{"use strict";var t=r(74929).IteratorPrototype,o=r(36101),a=r(99829),e=r(65746),s=r(90857),i=function(){return this};n.exports=function(l,f,d,p){var g=f+" Iterator";return l.prototype=o(t,{next:a(+!p,d)}),e(l,g,!1,!0),s[g]=i,l}},48710:(n,c,r)=>{"use strict";var t=r(59401),o=r(71970),a=r(68264),e=r(34157),s=r(37235),i=r(21811),l=r(74972),f=r(90331),d=r(65746),p=r(70235),g=r(62072),m=r(23967),x=r(90857),P=r(74929),R=e.PROPER,L=e.CONFIGURABLE,C=P.IteratorPrototype,D=P.BUGGY_SAFARI_ITERATORS,O=m("iterator"),T="keys",U="values",$="entries",rr=function(){return this};n.exports=function(nr,K,k,gr,ir,N,H){i(k,K,gr);var G=function(tr){if(tr===ir&&V)return V;if(!D&&tr in W)return W[tr];switch(tr){case T:return function(){return new k(this,tr)};case U:return function(){return new k(this,tr)};case $:return function(){return new k(this,tr)}}return function(){return new k(this)}},F=K+" Iterator",Y=!1,W=nr.prototype,z=W[O]||W["@@iterator"]||ir&&W[ir],V=!D&&z||G(ir),ur=K=="Array"&&W.entries||z,X,Q,ar;if(ur&&(X=l(ur.call(new nr)),X!==Object.prototype&&X.next&&(!a&&l(X)!==C&&(f?f(X,C):s(X[O])||g(X,O,rr)),d(X,F,!0,!0),a&&(x[F]=rr))),R&&ir==U&&z&&z.name!==U&&(!a&&L?p(W,"name",U):(Y=!0,V=function(){return o(z,this)})),ir)if(Q={values:G(U),keys:N?V:G(T),entries:G($)},H)for(ar in Q)(D||Y||!(ar in W))&&g(W,ar,Q[ar]);else t({target:K,proto:!0,forced:D||Y},Q);return(!a||H)&&W[O]!==V&&g(W,O,V,{name:ir}),x[K]=V,Q}},74929:(n,c,r)=>{"use strict";var t=r(59769),o=r(37235),a=r(82951),e=r(36101),s=r(74972),i=r(62072),l=r(23967),f=r(68264),d=l("iterator"),p=!1,g,m,x;[].keys&&(x=[].keys(),"next"in x?(m=s(s(x)),m!==Object.prototype&&(g=m)):p=!0);var P=!a(g)||t(function(){var R={};return g[d].call(R)!==R});P?g={}:f&&(g=e(g)),o(g[d])||i(g,d,function(){return this}),n.exports={IteratorPrototype:g,BUGGY_SAFARI_ITERATORS:p}},90857:n=>{n.exports={}},2312:(n,c,r)=>{var t=r(65346);n.exports=function(o){return t(o.length)}},49578:(n,c,r)=>{var t=r(29027),o=r(59769),a=r(37235),e=r(85831),s=r(76986),i=r(34157).CONFIGURABLE,l=r(96441),f=r(92569),d=f.enforce,p=f.get,g=String,m=Object.defineProperty,x=t("".slice),P=t("".replace),R=t([].join),L=s&&!o(function(){return m(function(){},"length",{value:8}).length!==8}),C=String(String).split("String"),D=n.exports=function(O,T,U){x(g(T),0,7)==="Symbol("&&(T="["+P(g(T),/^Symbol\(([^)]*)\)/,"$1")+"]"),U&&U.getter&&(T="get "+T),U&&U.setter&&(T="set "+T),(!e(O,"name")||i&&O.name!==T)&&(s?m(O,"name",{value:T,configurable:!0}):O.name=T),L&&U&&e(U,"arity")&&O.length!==U.arity&&m(O,"length",{value:U.arity});try{U&&e(U,"constructor")&&U.constructor?s&&m(O,"prototype",{writable:!1}):O.prototype&&(O.prototype=void 0)}catch{}var $=d(O);return e($,"source")||($.source=R(C,typeof T=="string"?T:"")),O};Function.prototype.toString=D(function(){return a(this)&&p(this).source||l(this)},"toString")},79498:n=>{var c=Math.ceil,r=Math.floor;n.exports=Math.trunc||function(o){var a=+o;return(a>0?r:c)(a)}},55993:(n,c,r)=>{"use strict";var t=r(76986),o=r(29027),a=r(71970),e=r(59769),s=r(75070),i=r(54207),l=r(53749),f=r(72296),d=r(60144),p=Object.assign,g=Object.defineProperty,m=o([].concat);n.exports=!p||e(function(){if(t&&p({b:1},p(g({},"a",{enumerable:!0,get:function(){g(this,"b",{value:3,enumerable:!1})}}),{b:2})).b!==1)return!0;var x={},P={},R=Symbol(),L="abcdefghijklmnopqrst";return x[R]=7,L.split("").forEach(function(C){P[C]=C}),p({},x)[R]!=7||s(p({},P)).join("")!=L})?function(P,R){for(var L=f(P),C=arguments.length,D=1,O=i.f,T=l.f;C>D;)for(var U=d(arguments[D++]),$=O?m(s(U),O(U)):s(U),rr=$.length,nr=0,K;rr>nr;)K=$[nr++],(!t||a(T,U,K))&&(L[K]=U[K]);return L}:p},36101:(n,c,r)=>{var t=r(86347),o=r(2041),a=r(68671),e=r(33804),s=r(18673),i=r(30030),l=r(41506),f=">",d="<",p="prototype",g="script",m=l("IE_PROTO"),x=function(){},P=function(O){return d+g+f+O+d+"/"+g+f},R=function(O){O.write(P("")),O.close();var T=O.parentWindow.Object;return O=null,T},L=function(){var O=i("iframe"),T="java"+g+":",U;return O.style.display="none",s.appendChild(O),O.src=String(T),U=O.contentWindow.document,U.open(),U.write(P("document.F=Object")),U.close(),U.F},C,D=function(){try{C=new ActiveXObject("htmlfile")}catch{}D=typeof document<"u"?document.domain&&C?R(C):L():R(C);for(var O=a.length;O--;)delete D[p][a[O]];return D()};e[m]=!0,n.exports=Object.create||function(T,U){var $;return T!==null?(x[p]=t(T),$=new x,x[p]=null,$[m]=T):$=D(),U===void 0?$:o.f($,U)}},2041:(n,c,r)=>{var t=r(76986),o=r(30774),a=r(99051),e=r(86347),s=r(11884),i=r(75070);c.f=t&&!o?Object.defineProperties:function(f,d){e(f);for(var p=s(d),g=i(d),m=g.length,x=0,P;m>x;)a.f(f,P=g[x++],p[P]);return f}},99051:(n,c,r)=>{var t=r(76986),o=r(74690),a=r(30774),e=r(86347),s=r(47568),i=TypeError,l=Object.defineProperty,f=Object.getOwnPropertyDescriptor,d="enumerable",p="configurable",g="writable";c.f=t?a?function(x,P,R){if(e(x),P=s(P),e(R),typeof x=="function"&&P==="prototype"&&"value"in R&&g in R&&!R[g]){var L=f(x,P);L&&L[g]&&(x[P]=R.value,R={configurable:p in R?R[p]:L[p],enumerable:d in R?R[d]:L[d],writable:!1})}return l(x,P,R)}:l:function(x,P,R){if(e(x),P=s(P),e(R),o)try{return l(x,P,R)}catch{}if("get"in R||"set"in R)throw i("Accessors not supported");return"value"in R&&(x[P]=R.value),x}},80381:(n,c,r)=>{var t=r(76986),o=r(71970),a=r(53749),e=r(99829),s=r(11884),i=r(47568),l=r(85831),f=r(74690),d=Object.getOwnPropertyDescriptor;c.f=t?d:function(g,m){if(g=s(g),m=i(m),f)try{return d(g,m)}catch{}if(l(g,m))return e(!o(a.f,g,m),g[m])}},6099:(n,c,r)=>{var t=r(86360),o=r(68671),a=o.concat("length","prototype");c.f=Object.getOwnPropertyNames||function(s){return t(s,a)}},54207:(n,c)=>{c.f=Object.getOwnPropertySymbols},74972:(n,c,r)=>{var t=r(85831),o=r(37235),a=r(72296),e=r(41506),s=r(40328),i=e("IE_PROTO"),l=Object,f=l.prototype;n.exports=s?l.getPrototypeOf:function(d){var p=a(d);if(t(p,i))return p[i];var g=p.constructor;return o(g)&&p instanceof g?g.prototype:p instanceof l?f:null}},56471:(n,c,r)=>{var t=r(29027);n.exports=t({}.isPrototypeOf)},86360:(n,c,r)=>{var t=r(29027),o=r(85831),a=r(11884),e=r(10752).indexOf,s=r(33804),i=t([].push);n.exports=function(l,f){var d=a(l),p=0,g=[],m;for(m in d)!o(s,m)&&o(d,m)&&i(g,m);for(;f.length>p;)o(d,m=f[p++])&&(~e(g,m)||i(g,m));return g}},75070:(n,c,r)=>{var t=r(86360),o=r(68671);n.exports=Object.keys||function(e){return t(e,o)}},53749:(n,c)=>{"use strict";var r={}.propertyIsEnumerable,t=Object.getOwnPropertyDescriptor,o=t&&!r.call({1:2},1);c.f=o?function(e){var s=t(this,e);return!!s&&s.enumerable}:r},90331:(n,c,r)=>{var t=r(12352),o=r(86347),a=r(87725);n.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e=!1,s={},i;try{i=t(Object.prototype,"__proto__","set"),i(s,[]),e=s instanceof Array}catch{}return function(f,d){return o(f),a(d),e?i(f,d):f.__proto__=d,f}}():void 0)},97963:(n,c,r)=>{var t=r(71970),o=r(37235),a=r(82951),e=TypeError;n.exports=function(s,i){var l,f;if(i==="string"&&o(l=s.toString)&&!a(f=t(l,s))||o(l=s.valueOf)&&!a(f=t(l,s))||i!=="string"&&o(l=s.toString)&&!a(f=t(l,s)))return f;throw e("Can't convert object to primitive value")}},42231:(n,c,r)=>{var t=r(49023),o=r(29027),a=r(6099),e=r(54207),s=r(86347),i=o([].concat);n.exports=t("Reflect","ownKeys")||function(f){var d=a.f(s(f)),p=e.f;return p?i(d,p(f)):d}},41537:(n,c,r)=>{var t=r(80376);n.exports=t},88224:(n,c,r)=>{var t=r(51246),o=TypeError;n.exports=function(a){if(t(a))throw o("Can't call method on "+a);return a}},65746:(n,c,r)=>{var t=r(99051).f,o=r(85831),a=r(23967),e=a("toStringTag");n.exports=function(s,i,l){s&&!l&&(s=s.prototype),s&&!o(s,e)&&t(s,e,{configurable:!0,value:i})}},41506:(n,c,r)=>{var t=r(54377),o=r(73380),a=t("keys");n.exports=function(e){return a[e]||(a[e]=o(e))}},58797:(n,c,r)=>{var t=r(80376),o=r(8108),a="__core-js_shared__",e=t[a]||o(a,{});n.exports=e},54377:(n,c,r)=>{var t=r(68264),o=r(58797);(n.exports=function(a,e){return o[a]||(o[a]=e!==void 0?e:{})})("versions",[]).push({version:"3.29.1",mode:t?"pure":"global",copyright:"\xA9 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.29.1/LICENSE",source:"https://github.com/zloirock/core-js"})},80273:(n,c,r)=>{var t=r(29027),o=r(11835),a=r(72100),e=r(88224),s=t("".charAt),i=t("".charCodeAt),l=t("".slice),f=function(d){return function(p,g){var m=a(e(p)),x=o(g),P=m.length,R,L;return x<0||x>=P?d?"":void 0:(R=i(m,x),R<55296||R>56319||x+1===P||(L=i(m,x+1))<56320||L>57343?d?s(m,x):R:d?l(m,x,x+2):(R-55296<<10)+(L-56320)+65536)}};n.exports={codeAt:f(!1),charAt:f(!0)}},70603:(n,c,r)=>{var t=r(29027),o=2147483647,a=36,e=1,s=26,i=38,l=700,f=72,d=128,p="-",g=/[^\0-\u007E]/,m=/[.\u3002\uFF0E\uFF61]/g,x="Overflow: input needs wider integers to process",P=a-e,R=RangeError,L=t(m.exec),C=Math.floor,D=String.fromCharCode,O=t("".charCodeAt),T=t([].join),U=t([].push),$=t("".replace),rr=t("".split),nr=t("".toLowerCase),K=function(N){for(var H=[],G=0,F=N.length;G<F;){var Y=O(N,G++);if(Y>=55296&&Y<=56319&&G<F){var W=O(N,G++);(W&64512)==56320?U(H,((Y&1023)<<10)+(W&1023)+65536):(U(H,Y),G--)}else U(H,Y)}return H},k=function(N){return N+22+75*(N<26)},gr=function(N,H,G){var F=0;for(N=G?C(N/l):N>>1,N+=C(N/H);N>P*s>>1;)N=C(N/P),F+=a;return C(F+(P+1)*N/(N+i))},ir=function(N){var H=[];N=K(N);var G=N.length,F=d,Y=0,W=f,z,V;for(z=0;z<N.length;z++)V=N[z],V<128&&U(H,D(V));var ur=H.length,X=ur;for(ur&&U(H,p);X<G;){var Q=o;for(z=0;z<N.length;z++)V=N[z],V>=F&&V<Q&&(Q=V);var ar=X+1;if(Q-F>C((o-Y)/ar))throw R(x);for(Y+=(Q-F)*ar,F=Q,z=0;z<N.length;z++){if(V=N[z],V<F&&++Y>o)throw R(x);if(V==F){for(var tr=Y,cr=a;;){var hr=cr<=W?e:cr>=W+s?s:cr-W;if(tr<hr)break;var lr=tr-hr,Lr=a-hr;U(H,D(k(hr+lr%Lr))),tr=C(lr/Lr),cr+=a}U(H,D(k(tr))),W=gr(Y,ar,X==ur),Y=0,X++}}Y++,F++}return T(H,"")};n.exports=function(N){var H=[],G=rr($(nr(N),m,"."),"."),F,Y;for(F=0;F<G.length;F++)Y=G[F],U(H,L(g,Y)?"xn--"+ir(Y):Y);return T(H,".")}},52727:(n,c,r)=>{var t=r(81150),o=r(59769);n.exports=!!Object.getOwnPropertySymbols&&!o(function(){var a=Symbol();return!String(a)||!(Object(a)instanceof Symbol)||!Symbol.sham&&t&&t<41})},83260:(n,c,r)=>{var t=r(11835),o=Math.max,a=Math.min;n.exports=function(e,s){var i=t(e);return i<0?o(i+s,0):a(i,s)}},11884:(n,c,r)=>{var t=r(60144),o=r(88224);n.exports=function(a){return t(o(a))}},11835:(n,c,r)=>{var t=r(79498);n.exports=function(o){var a=+o;return a!==a||a===0?0:t(a)}},65346:(n,c,r)=>{var t=r(11835),o=Math.min;n.exports=function(a){return a>0?o(t(a),9007199254740991):0}},72296:(n,c,r)=>{var t=r(88224),o=Object;n.exports=function(a){return o(t(a))}},30799:(n,c,r)=>{var t=r(71970),o=r(82951),a=r(47082),e=r(63953),s=r(97963),i=r(23967),l=TypeError,f=i("toPrimitive");n.exports=function(d,p){if(!o(d)||a(d))return d;var g=e(d,f),m;if(g){if(p===void 0&&(p="default"),m=t(g,d,p),!o(m)||a(m))return m;throw l("Can't convert object to primitive value")}return p===void 0&&(p="number"),s(d,p)}},47568:(n,c,r)=>{var t=r(30799),o=r(47082);n.exports=function(a){var e=t(a,"string");return o(e)?e:e+""}},65727:(n,c,r)=>{var t=r(23967),o=t("toStringTag"),a={};a[o]="z",n.exports=String(a)==="[object z]"},72100:(n,c,r)=>{var t=r(95032),o=String;n.exports=function(a){if(t(a)==="Symbol")throw TypeError("Cannot convert a Symbol value to a string");return o(a)}},22734:n=>{var c=String;n.exports=function(r){try{return c(r)}catch{return"Object"}}},73380:(n,c,r)=>{var t=r(29027),o=0,a=Math.random(),e=t(1 .toString);n.exports=function(s){return"Symbol("+(s===void 0?"":s)+")_"+e(++o+a,36)}},9269:(n,c,r)=>{var t=r(59769),o=r(23967),a=r(76986),e=r(68264),s=o("iterator");n.exports=!t(function(){var i=new URL("b?a=1&b=2&c=3","http://a"),l=i.searchParams,f="";return i.pathname="c%20d",l.forEach(function(d,p){l.delete("b"),f+=p+d}),e&&!i.toJSON||!l.size&&(e||!a)||!l.sort||i.href!=="http://a/c%20d?a=1&c=3"||l.get("c")!=="3"||String(new URLSearchParams("?a=1"))!=="a=1"||!l[s]||new URL("https://a@b").username!=="a"||new URLSearchParams(new URLSearchParams("a=b")).get("a")!=="b"||new URL("http://\u0442\u0435\u0441\u0442").host!=="xn--e1aybc"||new URL("http://a#\u0431").hash!=="#%D0%B1"||f!=="a1c3"||new URL("http://x",void 0).host!=="x"})},19366:(n,c,r)=>{var t=r(52727);n.exports=t&&!Symbol.sham&&typeof Symbol.iterator=="symbol"},30774:(n,c,r)=>{var t=r(76986),o=r(59769);n.exports=t&&o(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!=42})},31238:n=>{var c=TypeError;n.exports=function(r,t){if(r<t)throw c("Not enough arguments");return r}},63545:(n,c,r)=>{var t=r(80376),o=r(37235),a=t.WeakMap;n.exports=o(a)&&/native code/.test(String(a))},23967:(n,c,r)=>{var t=r(80376),o=r(54377),a=r(85831),e=r(73380),s=r(52727),i=r(19366),l=t.Symbol,f=o("wks"),d=i?l.for||l:l&&l.withoutSetter||e;n.exports=function(p){return a(f,p)||(f[p]=s&&a(l,p)?l[p]:d("Symbol."+p)),f[p]}},46861:(n,c,r)=>{"use strict";var t=r(11884),o=r(84102),a=r(90857),e=r(92569),s=r(99051).f,i=r(48710),l=r(9401),f=r(68264),d=r(76986),p="Array Iterator",g=e.set,m=e.getterFor(p);n.exports=i(Array,"Array",function(P,R){g(this,{type:p,target:t(P),index:0,kind:R})},function(){var P=m(this),R=P.target,L=P.kind,C=P.index++;return!R||C>=R.length?(P.target=void 0,l(void 0,!0)):L=="keys"?l(C,!1):L=="values"?l(R[C],!1):l([C,R[C]],!1)},"values");var x=a.Arguments=a.Array;if(o("keys"),o("values"),o("entries"),!f&&d&&x.name!=="values")try{s(x,"name",{value:"values"})}catch{}},19711:(n,c,r)=>{"use strict";var t=r(80273).charAt,o=r(72100),a=r(92569),e=r(48710),s=r(9401),i="String Iterator",l=a.set,f=a.getterFor(i);e(String,"String",function(d){l(this,{type:i,string:o(d),index:0})},function(){var p=f(this),g=p.string,m=p.index,x;return m>=g.length?s(void 0,!0):(x=t(g,m),p.index+=x.length,s(x,!1))})},16321:(n,c,r)=>{"use strict";r(46861);var t=r(59401),o=r(80376),a=r(71970),e=r(29027),s=r(76986),i=r(9269),l=r(62072),f=r(16317),d=r(64266),p=r(65746),g=r(21811),m=r(92569),x=r(61507),P=r(37235),R=r(85831),L=r(58495),C=r(95032),D=r(86347),O=r(82951),T=r(72100),U=r(36101),$=r(99829),rr=r(53401),nr=r(30205),K=r(31238),k=r(23967),gr=r(5515),ir=k("iterator"),N="URLSearchParams",H=N+"Iterator",G=m.set,F=m.getterFor(N),Y=m.getterFor(H),W=Object.getOwnPropertyDescriptor,z=function(E){if(!s)return o[E];var b=W(o,E);return b&&b.value},V=z("fetch"),ur=z("Request"),X=z("Headers"),Q=ur&&ur.prototype,ar=X&&X.prototype,tr=o.RegExp,cr=o.TypeError,hr=o.decodeURIComponent,lr=o.encodeURIComponent,Lr=e("".charAt),Br=e([].join),Ir=e([].push),Cr=e("".replace),Jr=e([].shift),Hr=e([].splice),Gr=e("".split),$r=e("".slice),Xr=/\+/g,zr=Array(4),Qr=function(E){return zr[E-1]||(zr[E-1]=tr("((?:%[\\da-f]{2}){"+E+"})","gi"))},Zr=function(E){try{return hr(E)}catch{return E}},Kr=function(E){var b=Cr(E,Xr," "),j=4;try{return hr(b)}catch{for(;j;)b=Cr(b,Qr(j--),Zr);return b}},sr=/[!'()~]|%20/g,kr={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},qr=function(E){return kr[E]},Yr=function(E){return Cr(lr(E),sr,qr)},Or=g(function(b,j){G(this,{type:H,iterator:rr(F(b).entries),kind:j})},"Iterator",function(){var b=Y(this),j=b.kind,M=b.iterator.next(),B=M.value;return M.done||(M.value=j==="keys"?B.key:j==="values"?B.value:[B.key,B.value]),M},!0),Ur=function(E){this.entries=[],this.url=null,E!==void 0&&(O(E)?this.parseObject(E):this.parseQuery(typeof E=="string"?Lr(E,0)==="?"?$r(E,1):E:T(E)))};Ur.prototype={type:N,bindURL:function(E){this.url=E,this.update()},parseObject:function(E){var b=nr(E),j,M,B,J,mr,Ar,pr;if(b)for(j=rr(E,b),M=j.next;!(B=a(M,j)).done;){if(J=rr(D(B.value)),mr=J.next,(Ar=a(mr,J)).done||(pr=a(mr,J)).done||!a(mr,J).done)throw cr("Expected sequence with length 2");Ir(this.entries,{key:T(Ar.value),value:T(pr.value)})}else for(var Sr in E)R(E,Sr)&&Ir(this.entries,{key:Sr,value:T(E[Sr])})},parseQuery:function(E){if(E)for(var b=Gr(E,"&"),j=0,M,B;j<b.length;)M=b[j++],M.length&&(B=Gr(M,"="),Ir(this.entries,{key:Kr(Jr(B)),value:Kr(Br(B,"="))}))},serialize:function(){for(var E=this.entries,b=[],j=0,M;j<E.length;)M=E[j++],Ir(b,Yr(M.key)+"="+Yr(M.value));return Br(b,"&")},update:function(){this.entries.length=0,this.parseQuery(this.url.query)},updateURL:function(){this.url&&this.url.update()}};var br=function(){x(this,Pr);var b=arguments.length>0?arguments[0]:void 0,j=G(this,new Ur(b));s||(this.length=j.entries.length)},Pr=br.prototype;if(d(Pr,{append:function(b,j){K(arguments.length,2);var M=F(this);Ir(M.entries,{key:T(b),value:T(j)}),s||this.length++,M.updateURL()},delete:function(E){K(arguments.length,1);for(var b=F(this),j=b.entries,M=T(E),B=0;B<j.length;)j[B].key===M?Hr(j,B,1):B++;s||(this.length=j.length),b.updateURL()},get:function(b){K(arguments.length,1);for(var j=F(this).entries,M=T(b),B=0;B<j.length;B++)if(j[B].key===M)return j[B].value;return null},getAll:function(b){K(arguments.length,1);for(var j=F(this).entries,M=T(b),B=[],J=0;J<j.length;J++)j[J].key===M&&Ir(B,j[J].value);return B},has:function(b){K(arguments.length,1);for(var j=F(this).entries,M=T(b),B=0;B<j.length;)if(j[B++].key===M)return!0;return!1},set:function(b,j){K(arguments.length,1);for(var M=F(this),B=M.entries,J=!1,mr=T(b),Ar=T(j),pr=0,Sr;pr<B.length;pr++)Sr=B[pr],Sr.key===mr&&(J?Hr(B,pr--,1):(J=!0,Sr.value=Ar));J||Ir(B,{key:mr,value:Ar}),s||(this.length=B.length),M.updateURL()},sort:function(){var b=F(this);gr(b.entries,function(j,M){return j.key>M.key?1:-1}),b.updateURL()},forEach:function(b){for(var j=F(this).entries,M=L(b,arguments.length>1?arguments[1]:void 0),B=0,J;B<j.length;)J=j[B++],M(J.value,J.key,this)},keys:function(){return new Or(this,"keys")},values:function(){return new Or(this,"values")},entries:function(){return new Or(this,"entries")}},{enumerable:!0}),l(Pr,ir,Pr.entries,{name:"entries"}),l(Pr,"toString",function(){return F(this).serialize()},{enumerable:!0}),s&&f(Pr,"size",{get:function(){return F(this).entries.length},configurable:!0,enumerable:!0}),p(br,N),t({global:!0,constructor:!0,forced:!i},{URLSearchParams:br}),!i&&P(X)){var Mr=e(ar.has),yr=e(ar.set),jr=function(E){if(O(E)){var b=E.body,j;if(C(b)===N)return j=E.headers?new X(E.headers):new X,Mr(j,"content-type")||yr(j,"content-type","application/x-www-form-urlencoded;charset=UTF-8"),U(E,{body:$(0,T(b)),headers:$(0,j)})}return E};if(P(V)&&t({global:!0,enumerable:!0,dontCallGetSet:!0,forced:!0},{fetch:function(b){return V(b,arguments.length>1?jr(arguments[1]):{})}}),P(ur)){var Rr=function(b){return x(this,Q),new ur(b,arguments.length>1?jr(arguments[1]):{})};Q.constructor=Rr,Rr.prototype=Q,t({global:!0,constructor:!0,dontCallGetSet:!0,forced:!0},{Request:Rr})}}n.exports={URLSearchParams:br,getState:F}},86337:(n,c,r)=>{r(16321)},97138:(n,c,r)=>{"use strict";var t=r(76986),o=r(29027),a=r(16317),e=URLSearchParams.prototype,s=o(e.forEach);t&&!("size"in e)&&a(e,"size",{get:function(){var l=0;return s(this,function(){l++}),l},configurable:!0,enumerable:!0})},6217:(n,c,r)=>{"use strict";r(19711);var t=r(59401),o=r(76986),a=r(9269),e=r(80376),s=r(58495),i=r(29027),l=r(62072),f=r(16317),d=r(61507),p=r(85831),g=r(55993),m=r(65335),x=r(17401),P=r(80273).codeAt,R=r(70603),L=r(72100),C=r(65746),D=r(31238),O=r(16321),T=r(92569),U=T.set,$=T.getterFor("URL"),rr=O.URLSearchParams,nr=O.getState,K=e.URL,k=e.TypeError,gr=e.parseInt,ir=Math.floor,N=Math.pow,H=i("".charAt),G=i(/./.exec),F=i([].join),Y=i(1 .toString),W=i([].pop),z=i([].push),V=i("".replace),ur=i([].shift),X=i("".split),Q=i("".slice),ar=i("".toLowerCase),tr=i([].unshift),cr="Invalid authority",hr="Invalid scheme",lr="Invalid host",Lr="Invalid port",Br=/[a-z]/i,Ir=/[\d+-.a-z]/i,Cr=/\d/,Jr=/^0x/i,Hr=/^[0-7]+$/,Gr=/^\d+$/,$r=/^[\da-f]+$/i,Xr=/[\0\t\n\r #%/:<>?@[\\\]^|]/,zr=/[\0\t\n\r #/:<>?@[\\\]^|]/,Qr=/^[\u0000-\u0020]+/,Zr=/(^|[^\u0000-\u0020])[\u0000-\u0020]+$/,Kr=/[\t\n\r]/g,sr,kr=function(v){var I=X(v,"."),h,u,y,w,A,Z,q;if(I.length&&I[I.length-1]==""&&I.length--,h=I.length,h>4)return v;for(u=[],y=0;y<h;y++){if(w=I[y],w=="")return v;if(A=10,w.length>1&&H(w,0)=="0"&&(A=G(Jr,w)?16:8,w=Q(w,A==8?1:2)),w==="")Z=0;else{if(!G(A==10?Gr:A==8?Hr:$r,w))return v;Z=gr(w,A)}z(u,Z)}for(y=0;y<h;y++)if(Z=u[y],y==h-1){if(Z>=N(256,5-h))return null}else if(Z>255)return null;for(q=W(u),y=0;y<u.length;y++)q+=u[y]*N(256,3-y);return q},qr=function(v){var I=[0,0,0,0,0,0,0,0],h=0,u=null,y=0,w,A,Z,q,er,fr,S,_=function(){return H(v,y)};if(_()==":"){if(H(v,1)!=":")return;y+=2,h++,u=h}for(;_();){if(h==8)return;if(_()==":"){if(u!==null)return;y++,h++,u=h;continue}for(w=A=0;A<4&&G($r,_());)w=w*16+gr(_(),16),y++,A++;if(_()=="."){if(A==0||(y-=A,h>6))return;for(Z=0;_();){if(q=null,Z>0)if(_()=="."&&Z<4)y++;else return;if(!G(Cr,_()))return;for(;G(Cr,_());){if(er=gr(_(),10),q===null)q=er;else{if(q==0)return;q=q*10+er}if(q>255)return;y++}I[h]=I[h]*256+q,Z++,(Z==2||Z==4)&&h++}if(Z!=4)return;break}else if(_()==":"){if(y++,!_())return}else if(_())return;I[h++]=w}if(u!==null)for(fr=h-u,h=7;h!=0&&fr>0;)S=I[h],I[h--]=I[u+fr-1],I[u+--fr]=S;else if(h!=8)return;return I},Yr=function(v){for(var I=null,h=1,u=null,y=0,w=0;w<8;w++)v[w]!==0?(y>h&&(I=u,h=y),u=null,y=0):(u===null&&(u=w),++y);return y>h&&(I=u,h=y),I},Or=function(v){var I,h,u,y;if(typeof v=="number"){for(I=[],h=0;h<4;h++)tr(I,v%256),v=ir(v/256);return F(I,".")}else if(typeof v=="object"){for(I="",u=Yr(v),h=0;h<8;h++)y&&v[h]===0||(y&&(y=!1),u===h?(I+=h?":":"::",y=!0):(I+=Y(v[h],16),h<7&&(I+=":")));return"["+I+"]"}return v},Ur={},br=g({},Ur,{" ":1,'"':1,"<":1,">":1,"`":1}),Pr=g({},br,{"#":1,"?":1,"{":1,"}":1}),Mr=g({},Pr,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),yr=function(v,I){var h=P(v,0);return h>32&&h<127&&!p(I,v)?v:encodeURIComponent(v)},jr={ftp:21,file:null,http:80,https:443,ws:80,wss:443},Rr=function(v,I){var h;return v.length==2&&G(Br,H(v,0))&&((h=H(v,1))==":"||!I&&h=="|")},E=function(v){var I;return v.length>1&&Rr(Q(v,0,2))&&(v.length==2||(I=H(v,2))==="/"||I==="\\"||I==="?"||I==="#")},b=function(v){return v==="."||ar(v)==="%2e"},j=function(v){return v=ar(v),v===".."||v==="%2e."||v===".%2e"||v==="%2e%2e"},M={},B={},J={},mr={},Ar={},pr={},Sr={},lt={},Vr={},Wr={},_r={},rt={},tt={},et={},vt={},nt={},Nr={},xr={},ft={},wr={},Tr={},at=function(v,I,h){var u=L(v),y,w,A;if(I){if(w=this.parse(u),w)throw k(w);this.searchParams=null}else{if(h!==void 0&&(y=new at(h,!0)),w=this.parse(u,null,y),w)throw k(w);A=nr(new rr),A.bindURL(this),this.searchParams=A}};at.prototype={type:"URL",parse:function(v,I,h){var u=this,y=I||M,w=0,A="",Z=!1,q=!1,er=!1,fr,S,_,Er;for(v=L(v),I||(u.scheme="",u.username="",u.password="",u.host=null,u.port=null,u.path=[],u.query=null,u.fragment=null,u.cannotBeABaseURL=!1,v=V(v,Qr,""),v=V(v,Zr,"$1")),v=V(v,Kr,""),fr=m(v);w<=fr.length;){switch(S=fr[w],y){case M:if(S&&G(Br,S))A+=ar(S),y=B;else{if(I)return hr;y=J;continue}break;case B:if(S&&(G(Ir,S)||S=="+"||S=="-"||S=="."))A+=ar(S);else if(S==":"){if(I&&(u.isSpecial()!=p(jr,A)||A=="file"&&(u.includesCredentials()||u.port!==null)||u.scheme=="file"&&!u.host))return;if(u.scheme=A,I){u.isSpecial()&&jr[u.scheme]==u.port&&(u.port=null);return}A="",u.scheme=="file"?y=et:u.isSpecial()&&h&&h.scheme==u.scheme?y=mr:u.isSpecial()?y=lt:fr[w+1]=="/"?(y=Ar,w++):(u.cannotBeABaseURL=!0,z(u.path,""),y=ft)}else{if(I)return hr;A="",y=J,w=0;continue}break;case J:if(!h||h.cannotBeABaseURL&&S!="#")return hr;if(h.cannotBeABaseURL&&S=="#"){u.scheme=h.scheme,u.path=x(h.path),u.query=h.query,u.fragment="",u.cannotBeABaseURL=!0,y=Tr;break}y=h.scheme=="file"?et:pr;continue;case mr:if(S=="/"&&fr[w+1]=="/")y=Vr,w++;else{y=pr;continue}break;case Ar:if(S=="/"){y=Wr;break}else{y=xr;continue}case pr:if(u.scheme=h.scheme,S==sr)u.username=h.username,u.password=h.password,u.host=h.host,u.port=h.port,u.path=x(h.path),u.query=h.query;else if(S=="/"||S=="\\"&&u.isSpecial())y=Sr;else if(S=="?")u.username=h.username,u.password=h.password,u.host=h.host,u.port=h.port,u.path=x(h.path),u.query="",y=wr;else if(S=="#")u.username=h.username,u.password=h.password,u.host=h.host,u.port=h.port,u.path=x(h.path),u.query=h.query,u.fragment="",y=Tr;else{u.username=h.username,u.password=h.password,u.host=h.host,u.port=h.port,u.path=x(h.path),u.path.length--,y=xr;continue}break;case Sr:if(u.isSpecial()&&(S=="/"||S=="\\"))y=Vr;else if(S=="/")y=Wr;else{u.username=h.username,u.password=h.password,u.host=h.host,u.port=h.port,y=xr;continue}break;case lt:if(y=Vr,S!="/"||H(A,w+1)!="/")continue;w++;break;case Vr:if(S!="/"&&S!="\\"){y=Wr;continue}break;case Wr:if(S=="@"){Z&&(A="%40"+A),Z=!0,_=m(A);for(var ot=0;ot<_.length;ot++){var pt=_[ot];if(pt==":"&&!er){er=!0;continue}var dt=yr(pt,Mr);er?u.password+=dt:u.username+=dt}A=""}else if(S==sr||S=="/"||S=="?"||S=="#"||S=="\\"&&u.isSpecial()){if(Z&&A=="")return cr;w-=m(A).length+1,A="",y=_r}else A+=S;break;case _r:case rt:if(I&&u.scheme=="file"){y=nt;continue}else if(S==":"&&!q){if(A=="")return lr;if(Er=u.parseHost(A),Er)return Er;if(A="",y=tt,I==rt)return}else if(S==sr||S=="/"||S=="?"||S=="#"||S=="\\"&&u.isSpecial()){if(u.isSpecial()&&A=="")return lr;if(I&&A==""&&(u.includesCredentials()||u.port!==null))return;if(Er=u.parseHost(A),Er)return Er;if(A="",y=Nr,I)return;continue}else S=="["?q=!0:S=="]"&&(q=!1),A+=S;break;case tt:if(G(Cr,S))A+=S;else if(S==sr||S=="/"||S=="?"||S=="#"||S=="\\"&&u.isSpecial()||I){if(A!=""){var st=gr(A,10);if(st>65535)return Lr;u.port=u.isSpecial()&&st===jr[u.scheme]?null:st,A=""}if(I)return;y=Nr;continue}else return Lr;break;case et:if(u.scheme="file",S=="/"||S=="\\")y=vt;else if(h&&h.scheme=="file")if(S==sr)u.host=h.host,u.path=x(h.path),u.query=h.query;else if(S=="?")u.host=h.host,u.path=x(h.path),u.query="",y=wr;else if(S=="#")u.host=h.host,u.path=x(h.path),u.query=h.query,u.fragment="",y=Tr;else{E(F(x(fr,w),""))||(u.host=h.host,u.path=x(h.path),u.shortenPath()),y=xr;continue}else{y=xr;continue}break;case vt:if(S=="/"||S=="\\"){y=nt;break}h&&h.scheme=="file"&&!E(F(x(fr,w),""))&&(Rr(h.path[0],!0)?z(u.path,h.path[0]):u.host=h.host),y=xr;continue;case nt:if(S==sr||S=="/"||S=="\\"||S=="?"||S=="#"){if(!I&&Rr(A))y=xr;else if(A==""){if(u.host="",I)return;y=Nr}else{if(Er=u.parseHost(A),Er)return Er;if(u.host=="localhost"&&(u.host=""),I)return;A="",y=Nr}continue}else A+=S;break;case Nr:if(u.isSpecial()){if(y=xr,S!="/"&&S!="\\")continue}else if(!I&&S=="?")u.query="",y=wr;else if(!I&&S=="#")u.fragment="",y=Tr;else if(S!=sr&&(y=xr,S!="/"))continue;break;case xr:if(S==sr||S=="/"||S=="\\"&&u.isSpecial()||!I&&(S=="?"||S=="#")){if(j(A)?(u.shortenPath(),S!="/"&&!(S=="\\"&&u.isSpecial())&&z(u.path,"")):b(A)?S!="/"&&!(S=="\\"&&u.isSpecial())&&z(u.path,""):(u.scheme=="file"&&!u.path.length&&Rr(A)&&(u.host&&(u.host=""),A=H(A,0)+":"),z(u.path,A)),A="",u.scheme=="file"&&(S==sr||S=="?"||S=="#"))for(;u.path.length>1&&u.path[0]==="";)ur(u.path);S=="?"?(u.query="",y=wr):S=="#"&&(u.fragment="",y=Tr)}else A+=yr(S,Pr);break;case ft:S=="?"?(u.query="",y=wr):S=="#"?(u.fragment="",y=Tr):S!=sr&&(u.path[0]+=yr(S,Ur));break;case wr:!I&&S=="#"?(u.fragment="",y=Tr):S!=sr&&(S=="'"&&u.isSpecial()?u.query+="%27":S=="#"?u.query+="%23":u.query+=yr(S,Ur));break;case Tr:S!=sr&&(u.fragment+=yr(S,br));break}w++}},parseHost:function(v){var I,h,u;if(H(v,0)=="["){if(H(v,v.length-1)!="]"||(I=qr(Q(v,1,-1)),!I))return lr;this.host=I}else if(this.isSpecial()){if(v=R(v),G(Xr,v)||(I=kr(v),I===null))return lr;this.host=I}else{if(G(zr,v))return lr;for(I="",h=m(v),u=0;u<h.length;u++)I+=yr(h[u],Ur);this.host=I}},cannotHaveUsernamePasswordPort:function(){return!this.host||this.cannotBeABaseURL||this.scheme=="file"},includesCredentials:function(){return this.username!=""||this.password!=""},isSpecial:function(){return p(jr,this.scheme)},shortenPath:function(){var v=this.path,I=v.length;I&&(this.scheme!="file"||I!=1||!Rr(v[0],!0))&&v.length--},serialize:function(){var v=this,I=v.scheme,h=v.username,u=v.password,y=v.host,w=v.port,A=v.path,Z=v.query,q=v.fragment,er=I+":";return y!==null?(er+="//",v.includesCredentials()&&(er+=h+(u?":"+u:"")+"@"),er+=Or(y),w!==null&&(er+=":"+w)):I=="file"&&(er+="//"),er+=v.cannotBeABaseURL?A[0]:A.length?"/"+F(A,"/"):"",Z!==null&&(er+="?"+Z),q!==null&&(er+="#"+q),er},setHref:function(v){var I=this.parse(v);if(I)throw k(I);this.searchParams.update()},getOrigin:function(){var v=this.scheme,I=this.port;if(v=="blob")try{return new Fr(v.path[0]).origin}catch{return"null"}return v=="file"||!this.isSpecial()?"null":v+"://"+Or(this.host)+(I!==null?":"+I:"")},getProtocol:function(){return this.scheme+":"},setProtocol:function(v){this.parse(L(v)+":",M)},getUsername:function(){return this.username},setUsername:function(v){var I=m(L(v));if(!this.cannotHaveUsernamePasswordPort()){this.username="";for(var h=0;h<I.length;h++)this.username+=yr(I[h],Mr)}},getPassword:function(){return this.password},setPassword:function(v){var I=m(L(v));if(!this.cannotHaveUsernamePasswordPort()){this.password="";for(var h=0;h<I.length;h++)this.password+=yr(I[h],Mr)}},getHost:function(){var v=this.host,I=this.port;return v===null?"":I===null?Or(v):Or(v)+":"+I},setHost:function(v){this.cannotBeABaseURL||this.parse(v,_r)},getHostname:function(){var v=this.host;return v===null?"":Or(v)},setHostname:function(v){this.cannotBeABaseURL||this.parse(v,rt)},getPort:function(){var v=this.port;return v===null?"":L(v)},setPort:function(v){this.cannotHaveUsernamePasswordPort()||(v=L(v),v==""?this.port=null:this.parse(v,tt))},getPathname:function(){var v=this.path;return this.cannotBeABaseURL?v[0]:v.length?"/"+F(v,"/"):""},setPathname:function(v){this.cannotBeABaseURL||(this.path=[],this.parse(v,Nr))},getSearch:function(){var v=this.query;return v?"?"+v:""},setSearch:function(v){v=L(v),v==""?this.query=null:(H(v,0)=="?"&&(v=Q(v,1)),this.query="",this.parse(v,wr)),this.searchParams.update()},getSearchParams:function(){return this.searchParams.facade},getHash:function(){var v=this.fragment;return v?"#"+v:""},setHash:function(v){if(v=L(v),v==""){this.fragment=null;return}H(v,0)=="#"&&(v=Q(v,1)),this.fragment="",this.parse(v,Tr)},update:function(){this.query=this.searchParams.serialize()||null}};var Fr=function(I){var h=d(this,or),u=D(arguments.length,1)>1?arguments[1]:void 0,y=U(h,new at(I,!1,u));o||(h.href=y.serialize(),h.origin=y.getOrigin(),h.protocol=y.getProtocol(),h.username=y.getUsername(),h.password=y.getPassword(),h.host=y.getHost(),h.hostname=y.getHostname(),h.port=y.getPort(),h.pathname=y.getPathname(),h.search=y.getSearch(),h.searchParams=y.getSearchParams(),h.hash=y.getHash())},or=Fr.prototype,vr=function(v,I){return{get:function(){return $(this)[v]()},set:I&&function(h){return $(this)[I](h)},configurable:!0,enumerable:!0}};if(o&&(f(or,"href",vr("serialize","setHref")),f(or,"origin",vr("getOrigin")),f(or,"protocol",vr("getProtocol","setProtocol")),f(or,"username",vr("getUsername","setUsername")),f(or,"password",vr("getPassword","setPassword")),f(or,"host",vr("getHost","setHost")),f(or,"hostname",vr("getHostname","setHostname")),f(or,"port",vr("getPort","setPort")),f(or,"pathname",vr("getPathname","setPathname")),f(or,"search",vr("getSearch","setSearch")),f(or,"searchParams",vr("getSearchParams")),f(or,"hash",vr("getHash","setHash"))),l(or,"toJSON",function(){return $(this).serialize()},{enumerable:!0}),l(or,"toString",function(){return $(this).serialize()},{enumerable:!0}),K){var ct=K.createObjectURL,ht=K.revokeObjectURL;ct&&l(Fr,"createObjectURL",s(ct,K)),ht&&l(Fr,"revokeObjectURL",s(ht,K))}C(Fr,"URL"),t({global:!0,constructor:!0,forced:!a,sham:!o},{URL:Fr})},42294:(n,c,r)=>{r(6217)},5721:(n,c,r)=>{"use strict";var t=r(59401),o=r(71970);t({target:"URL",proto:!0,enumerable:!0},{toJSON:function(){return o(URL.prototype.toString,this)}})},77303:(n,c,r)=>{r(42294),r(5721),r(86337),r(97138);var t=r(41537);n.exports=t.URL}},Dr={};function dr(n){var c=Dr[n];if(c!==void 0)return c.exports;var r=Dr[n]={exports:{}};return it[n](r,r.exports,dr),r.exports}dr.g=function(){if(typeof globalThis=="object")return globalThis;try{return this||new Function("return this")()}catch{if(typeof window=="object")return window}}(),dr.r=n=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(n,"__esModule",{value:!0})};var ut={};return(()=>{"use strict";dr.r(ut);var n=dr(77303);const c="Something went wrong, please, try again.";function r(e){return e&&e.replace(/=+$/,"")}function t(e,s){return!!e&&!!s&&r(e)===r(s)}function o(e){let s;if(/code|token|error/.test(window.location.hash)?s=window.location.hash.substring(1):s=location.search.substring(1),!s)throw console.error("No query string in OAuth 2 redirect URL"),new Error(c);const i=new URLSearchParams(s),l=i.get("access_token"),f=i.get("code"),d=i.get("token_type"),p=i.get("expires_in"),g=i.get("state"),m=i.get("error"),x=i.get("error_description")||c;if(m)throw new Error(x);if(!t(g,e?.state))throw new Error("Outdated OAuth2 state");if(e?.flow==="implicit"){if(!l)throw new Error(`Your OAuth2 authentication service provider redirected you without an "access_token".
7
7
  Please, try again or make sure your OAuth2 settings are correct.`);if(!d)throw new Error(`Your OAuth2 authentication service provider redirected you without a "token_type".
8
8
  Please, try again or make sure your OAuth2 settings are correct.`);e?.successCallback({access_token:l,token_type:d,expires_in:p,auth_code:""})}if(e?.flow==="authorizationCode"){if(!f)throw new Error(`Your OAuth2 authentication service provider redirected you without authorization "code".