@redocly/openapi-docs 3.0.0-alpha.61 → 3.0.0-alpha.62
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.
|
@@ -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.
|
|
5
|
+
* Version: "3.0.0-alpha.62"
|
|
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,L){L&&L!=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:q,Enter:de};function R(M){for(var S=0;S<M.length;S++){var L=M.charAt(S),F="'"+L+"'";D[F]||(D[F]=_(L))}}R(C.pairs+"`");function _(M){return function(S){return V(S,M)}}function Z(M){var S=M.state.closeBrackets;if(!S||S.override)return S;var L=M.getModeAt(M.getCursor());return L.closeBrackets||S}function q(M){var S=Z(M);if(!S||M.getOption("disableInput"))return v.Pass;for(var L=P(S,"pairs"),F=M.listSelections(),K=0;K<F.length;K++){if(!F[K].empty())return v.Pass;var te=T(M,F[K].head);if(!te||L.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=Z(M),L=S&&P(S,"explode");if(!L||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=T(M,F[K].head);if(!te||L.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 L=[],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};L.push({anchor:ie,head:ie})}M.setSelections(L,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 V(M,S){var L=Z(M);if(!L||M.getOption("disableInput"))return v.Pass;var F=P(L,"pairs"),K=F.indexOf(S);if(K==-1)return v.Pass;for(var te=P(L,"closeBefore"),j=P(L,"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,ct=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 ut=M.getSelections(),at=0;at<ut.length;at++)ut[at]=ze+ut[at]+ct;M.replaceSelections(ut,"around"),ut=M.listSelections().slice();for(var at=0;at<ut.length;at++)ut[at]=se(ut[at]);M.setSelections(ut)}else ce=="both"?(M.replaceSelection(ze+ct,null),M.triggerElectric(ze+ct),re(M,-1)):ce=="addFour"&&(M.replaceSelection(ze+ze+ze+ze,"before"),re(M,1))})}function T(M,S){var L=M.getRange(E(S.line,S.ch-1),E(S.line,S.ch+1));return L.length==2?L:null}function J(M,S){var L=M.getTokenAt(E(S.line,S.ch+1));return/\bstring/.test(L.type)&&L.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,V){var T=re.getLineHandle(se.line),J=se.ch-1,M=V&&V.afterCursor;M==null&&(M=/(^| )cm-fat-cursor($| )/.test(re.getWrapperElement().className));var S=D(V),L=!M&&J>=0&&S.test(T.text.charAt(J))&&P[T.text.charAt(J)]||S.test(T.text.charAt(J+1))&&P[T.text.charAt(++J)];if(!L)return null;var F=L.charAt(1)==">"?1:-1;if(V&&V.strict&&F>0!=(J==se.ch))return null;var K=re.getTokenTypeAt(E(se.line,J+1)),te=_(re,E(se.line,J+(F>0?1:0)),F,K,V);return te==null?null:{from:E(se.line,J),to:te&&te.pos,match:te&&te.ch==L.charAt(0),forward:F>0}}function _(re,se,V,T,J){for(var M=J&&J.maxScanLineLength||1e4,S=J&&J.maxScanLines||1e3,L=[],F=D(J),K=V>0?Math.min(se.line+S,re.lastLine()+1):Math.max(re.firstLine()-1,se.line-S),te=se.line;te!=K;te+=V){var j=re.getLine(te);if(j){var ie=V>0?0:j.length-1,H=V>0?j.length:-1;if(!(j.length>M))for(te==se.line&&(ie=se.ch-(V<0?1:0));ie!=H;ie+=V){var Y=j.charAt(ie);if(F.test(Y)&&(T===void 0||(re.getTokenTypeAt(E(te,ie+1))||"")==(T||""))){var ce=P[Y];if(ce&&ce.charAt(1)==">"==V>0)L.push(Y);else if(L.length)L.pop();else return{pos:E(te,ie),ch:Y}}}}}return te-V==(V>0?re.lastLine():re.firstLine())?!1:null}function Z(re,se,V){for(var T=re.state.matchBrackets.maxHighlightLineLength||1e3,J=V&&V.highlightNonMatching,M=[],S=re.listSelections(),L=0;L<S.length;L++){var F=S[L].empty()&&R(re,S[L].head,V);if(F&&(F.match||J!==!1)&&re.getLine(F.from.line).length<=T){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<=T&&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 q(re){re.operation(function(){re.state.matchBrackets.currentlyHighlighted&&(re.state.matchBrackets.currentlyHighlighted(),re.state.matchBrackets.currentlyHighlighted=null),re.state.matchBrackets.currentlyHighlighted=Z(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){V&&V!=v.Init&&(re.off("cursorActivity",q),re.off("focus",q),re.off("blur",de),de(re)),se&&(re.state.matchBrackets=typeof se=="object"?se:{},re.on("cursorActivity",q),re.on("focus",q),re.on("blur",de))}),v.defineExtension("matchBrackets",function(){Z(this,!0)}),v.defineExtension("findMatchingBracket",function(re,se,V){return(V||typeof se=="boolean")&&(V?(V.strict=se,se=V):se=se?{strict:!0}:null),R(this,re,se)}),v.defineExtension("scanForBracket",function(re,se,V,T){return _(this,re,se,V,T)})})},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,L){if(!S)return M.showHint(L);L&&L.async&&(S.async=!0);var F={hint:S};if(L)for(var K in L)F[K]=L[K];return M.showHint(F)},v.defineExtension("showHint",function(M){M=_(this,this.getCursor("start"),M);var S=this.listSelections();if(!(S.length>1)){if(this.somethingSelected()){if(!M.hint.supportsSelection)return;for(var L=0;L<S.length;L++)if(S[L].head.line!=S[L].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 L=this;M.on("cursorActivity",this.activityFunc=function(){L.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 L=M.list[S],F=this;this.cm.operation(function(){L.hint?L.hint(F.cm,M,L):F.cm.replaceRange(Z(L),L.from||M.from,L.to||M.to,"complete"),v.signal(M,"pick",L),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(),L=this.cm.getLine(S.line);if(S.line!=this.startPos.line||L.length-S.ch!=this.startLen-this.startPos.ch||S.ch<M.ch||this.cm.somethingSelected()||!S.ch||this.options.closeCharacters.test(L.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,L=++this.tick;V(this.options.hint,this.cm,this.options,function(F){S.tick==L&&S.finishUpdate(F,M)})}},finishUpdate:function(M,S){this.data&&v.signal(this.data,"update");var L=this.widget&&this.widget.picked||S&&this.options.completeSingle;this.widget&&this.widget.close(),this.data=M,M&&M.list.length&&(L&&M.list.length==1?this.pick(M,0):(this.widget=new re(this,M),v.signal(M,"shown")))}};function _(M,S,L){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(L)for(var te in L)L[te]!==void 0&&(K[te]=L[te]);return K.hint.resolve&&(K.hint=K.hint.resolve(M,S)),K}function Z(M){return typeof M=="string"?M:M.text}function q(M,S){var L={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&&(L["Ctrl-P"]=function(){S.moveFocus(-1)},L["Ctrl-N"]=function(){S.moveFocus(1)});var K=M.options.customKeys,te=K?{}:L;function j(Y,ce){var ge;typeof ce!="string"?ge=function(G){return ce(G,S)}:L.hasOwnProperty(ce)?ge=L[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 L=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||Z(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,ct=0,ut=0;if(ve!==K.body){var at=["absolute","relative","fixed"].indexOf(te.getComputedStyle(ve).position)!==-1,Gt=at?ve:ve.offsetParent,dt=Gt.getBoundingClientRect(),Ot=K.body.getBoundingClientRect();ct=dt.left-Ot.left-Gt.scrollLeft,ut=dt.top-Ot.top-Gt.scrollTop}j.style.left=He-ct+"px",j.style.top=_e-ut+"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 Ft=Fe.bottom-Ue;if(Ft>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)+ut+"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-ct,0))+"px"),Re)for(var Qt=j.firstChild;Qt;Qt=Qt.nextSibling)Qt.style.paddingRight=F.display.nativeBarWidth+"px";if(F.addKeyMap(this.keyMap=q(M,{moveFocus:function(xt,It){L.changeActive(L.selectedHint+xt,It)},setFocus:function(xt){L.changeActive(xt)},menuSize:function(){return L.screenAmount()},length:H.length,close:function(){M.close()},pick:function(){L.pick()},data:S})),M.options.closeOnUnfocus){var hr;F.on("blur",this.onBlur=function(){hr=setTimeout(function(){M.close()},100)}),F.on("focus",this.onFocus=function(){clearTimeout(hr)})}F.on("scroll",this.onScroll=function(){var xt=F.getScrollInfo(),It=F.getWrapperElement().getBoundingClientRect();it||(it=F.getScrollInfo());var Or=_e+it.top-xt.top,Rt=Or-(te.pageYOffset||(K.documentElement||K.body).scrollTop);if(ze||(Rt+=j.offsetHeight),Rt<=It.top||Rt>=It.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 It=de(j,xt.target||xt.srcElement);It&&It.hintId!=null&&(L.changeActive(It.hintId),L.pick())}),v.on(j,"click",function(xt){var It=de(j,xt.target||xt.srcElement);It&&It.hintId!=null&&(L.changeActive(It.hintId),M.options.completeOnSingleClick&&L.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 L=this.hints.childNodes[this.selectedHint];L&&(L.className=L.className.replace(" "+E,""),L.removeAttribute("aria-selected")),L=this.hints.childNodes[this.selectedHint=M],L.className+=" "+E,L.setAttribute("aria-selected","true"),this.completion.cm.getInputField().setAttribute("aria-activedescendant",L.id),this.scrollToActive(),v.signal(this.data,"select",this.data.list[this.selectedHint],L)}},scrollToActive:function(){var M=this.getSelectedHintRange(),S=this.hints.childNodes[M.from],L=this.hints.childNodes[M.to],F=this.hints.firstChild;S.offsetTop<this.hints.scrollTop?this.hints.scrollTop=S.offsetTop-F.offsetTop:L.offsetTop+L.offsetHeight>this.hints.scrollTop+this.hints.clientHeight&&(this.hints.scrollTop=L.offsetTop+L.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 L=[],F=0;F<S.length;F++)S[F].supportsSelection&&L.push(S[F]);return L}function V(M,S,L,F){if(M.async)M(S,F,L);else{var K=M(S,L);K&&K.then?K.then(F):F(K)}}function T(M,S){var L=M.getHelpers(S,"hint"),F;if(L.length){var K=function(te,j,ie){var H=se(te,L);function Y(ce){if(ce==H.length)return j(null);V(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:T}),v.registerHelper("hint","fromList",function(M,S){var L=M.getCursor(),F=M.getTokenAt(L),K,te=v.Pos(L.line,F.start),j=L;F.start<L.ch&&/\w/.test(F.string.charAt(L.ch-F.start-1))?K=F.string.substr(0,L.ch-F.start):(K="",te=L);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 _(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 Z(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 q)this.options[Y]=q[Y];for(var Y in ie)q.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 q={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){_(j,ve,ie,G)}),ge}function V(j,ie){return j=="error"?j:ie}function T(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(){L(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(){L(j,ge)})}):j.operation(function(){L(j,ce)})}}}function L(j,ie){var H=j.state.lint;if(H){var Y=H.options;de(j);for(var ce=T(ie),ge=0;ge<ce.length;++ge){var G=ce[ge];if(G){var ve=[];G=G.filter(function(ut){return ve.indexOf(ut.message)>-1?!1:ve.push(ut.message)});for(var ee=null,He=H.hasGutter&&document.createDocumentFragment(),_e=0;_e<G.length;++_e){var ze=G[_e],ct=ze.severity;ct||(ct="error"),ee=V(ee,ct),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-"+ct,__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))}_(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 Z(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 L=S.flags;return L??(S.ignoreCase?"i":"")+(S.global?"g":"")+(S.multiline?"m":"")}function P(S,L){for(var F=E(S),K=F,te=0;te<L.length;te++)K.indexOf(L.charAt(te))==-1&&(K+=L.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,L,F){L=P(L,"g");for(var K=F.line,te=F.ch,j=S.lastLine();K<=j;K++,te=0){L.lastIndex=te;var ie=S.getLine(K),H=L.exec(ie);if(H)return{from:C(K,H.index),to:C(K,H.index+H[0].length),match:H}}}function _(S,L,F){if(!D(L))return R(S,L,F);L=P(L,"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,L.lastIndex=F.ch;var ce=L.exec(K);if(ce){var ge=K.slice(0,ce.index).split(`
|
package/dist/oauth2-redirect.js
CHANGED
|
@@ -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.
|
|
5
|
+
* Version: "3.0.0-alpha.62"
|
|
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".
|
|
@@ -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.
|
|
5
|
+
* Version: "3.0.0-alpha.62"
|
|
6
6
|
*/(function(bd,cu){typeof exports=="object"&&typeof module=="object"?module.exports=cu(require("null")):typeof define=="function"&&define.amd?define(["null"],cu):typeof exports=="object"?exports.RedoclyOpenAPIDocs=cu(require("null")):bd.RedoclyOpenAPIDocs=cu(bd.null)})(this,Vd=>(()=>{var bd={37837:function(k,v,e){"use strict";var t=this&&this.__awaiter||function(T,$,R,j){function J(se){return se instanceof R?se:new R(function(H){H(se)})}return new(R||(R=Promise))(function(se,H){function te(he){try{ke(j.next(he))}catch(le){H(le)}}function de(he){try{ke(j.throw(he))}catch(le){H(le)}}function ke(he){he.done?se(he.value):J(he.value).then(te,de)}ke((j=j.apply(T,$||[])).next())})};Object.defineProperty(v,"__esModule",{value:!0}),v.mapTypeToComponent=v.bundleDocument=v.bundle=v.OasVersion=void 0;const a=e(17361),d=e(89062),i=e(51922),c=e(6076),h=e(1700),f=e(55910),l=e(55396),p=e(26517),m=e(39967),g=e(61331),E=e(53685),x=e(69579),o=e(91155),C=e(86942),P=e(58666),S=e(26353);var w;(function(T){T.Version2="oas2",T.Version3_0="oas3_0",T.Version3_1="oas3_1"})(w=v.OasVersion||(v.OasVersion={}));function O(T){return t(this,void 0,void 0,function*(){const{ref:$,doc:R,externalRefResolver:j=new d.BaseResolver(T.config.resolve),base:J=null}=T;if(!($||R))throw new Error(`Document or reference is required.
|
|
7
7
|
`);const se=R!==void 0?R:yield j.resolveDocument(J,$,!0);if(se instanceof Error)throw se;return D(Object.assign(Object.assign({document:se},T),{config:T.config.styleguide,externalRefResolver:j}))})}v.bundle=O;function D(T){return t(this,void 0,void 0,function*(){const{document:$,config:R,customTypes:j,externalRefResolver:J,dereference:se=!1,skipRedoclyRegistryRefs:H=!1,removeUnusedComponents:te=!1,keepUrlRefs:de=!1}=T,ke=m.detectOpenAPI($.parsed),he=m.openAPIMajor(ke),le=R.getRulesForOasVersion(he),Se=l.normalizeTypes(R.extendTypes(j??he===m.OasMajorVersion.Version3?ke===w.Version3_1?f.Oas3_1Types:c.Oas3Types:h.Oas2Types,ke),R),z=E.initRules(le,R,"preprocessors",ke),U=E.initRules(le,R,"decorators",ke),L={problems:[],oasVersion:ke,refTypes:new Map,visitorsData:{}};te&&U.push({severity:"error",ruleId:"remove-unused-components",visitor:he===m.OasMajorVersion.Version2?P.RemoveUnusedComponents({}):S.RemoveUnusedComponents({})});let re=yield d.resolveDocument({rootDocument:$,rootType:Se.Root,externalRefResolver:J});z.length>0&&(p.walkDocument({document:$,rootType:Se.Root,normalizedVisitors:i.normalizeVisitors(z,Se),resolvedRefMap:re,ctx:L}),re=yield d.resolveDocument({rootDocument:$,rootType:Se.Root,externalRefResolver:J}));const ee=i.normalizeVisitors([{severity:"error",ruleId:"bundler",visitor:N(he,se,H,$,re,de)},...U],Se);return p.walkDocument({document:$,rootType:Se.Root,normalizedVisitors:ee,resolvedRefMap:re,ctx:L}),{bundle:$,problems:L.problems.map(ae=>R.addProblemToIgnore(ae)),fileDependencies:J.getFiles(),rootType:Se.Root,refTypes:L.refTypes,visitorsData:L.visitorsData}})}v.bundleDocument=D;function A(T,$){switch($){case m.OasMajorVersion.Version3:switch(T){case"Schema":return"schemas";case"Parameter":return"parameters";case"Response":return"responses";case"Example":return"examples";case"RequestBody":return"requestBodies";case"Header":return"headers";case"SecuritySchema":return"securitySchemes";case"Link":return"links";case"Callback":return"callbacks";default:return null}case m.OasMajorVersion.Version2:switch(T){case"Schema":return"definitions";case"Parameter":return"parameters";case"Response":return"responses";default:return null}}}v.mapTypeToComponent=A;function N(T,$,R,j,J,se){let H,te;const de={ref:{leave(U,L,re){if(!re.location||re.node===void 0){x.reportUnresolvedRef(re,L.report,L.location);return}if(re.location.source===j.source&&re.location.source===L.location.source&&L.type.name!=="scalar"&&!$||R&&C.isRedoclyRegistryURL(U.$ref)||se&&g.isAbsoluteUrl(U.$ref))return;const ee=A(L.type.name,T);ee?$?(le(ee,re,L),he(U,re,L)):(U.$ref=le(ee,re,L),ke(U,re,L)):he(U,re,L)}},Root:{enter(U,L){te=L.location,T===m.OasMajorVersion.Version3?H=U.components=U.components||{}:T===m.OasMajorVersion.Version2&&(H=U)}}};T===m.OasMajorVersion.Version3&&(de.DiscriminatorMapping={leave(U,L){for(const re of Object.keys(U)){const ee=U[re],ae=L.resolve({$ref:ee});if(!ae.location||ae.node===void 0){x.reportUnresolvedRef(ae,L.report,L.location.child(re));return}const xe=A("Schema",T);$?le(xe,ae,L):U[re]=le(xe,ae,L)}}});function ke(U,L,re){const ee=d.makeRefId(re.location.source.absoluteRef,U.$ref);J.set(ee,{document:j,isRemote:!1,node:L.node,nodePointer:U.$ref,resolved:!0})}function he(U,L,re){if(!o.isPlainObject(L.node))re.parent[re.key]=L.node;else{delete U.$ref;const ee=Object.assign({},L.node,U);Object.assign(U,ee)}}function le(U,L,re){H[U]=H[U]||{};const ee=z(L,U,re);return H[U][ee]=L.node,T===m.OasMajorVersion.Version3?`#/components/${U}/${ee}`:`#/${U}/${ee}`}function Se(U,L,re){var ee;return g.isRef(U)&&((ee=re.resolve(U,te.absolutePointer).location)===null||ee===void 0?void 0:ee.absolutePointer)===L.location.absolutePointer?!0:a(U,L.node)}function z(U,L,re){const[ee,ae]=[U.location.source.absoluteRef,U.location.pointer],xe=H[L];let ce="";const Ce=ae.slice(2).split("/").filter(o.isTruthy);for(;Ce.length>0;)if(ce=Ce.pop()+(ce?`-${ce}`:""),!xe||!xe[ce]||Se(xe[ce],U,re))return ce;if(ce=g.refBaseName(ee)+(ce?`_${ce}`:""),!xe[ce]||Se(xe[ce],U,re))return ce;const Ie=ce;let st=2;for(;xe[ce]&&!Se(xe[ce],U,re);)ce=`${Ie}-${st}`,st++;return xe[ce]||re.report({message:`Two schemas are referenced with the same name but different content. Renamed ${Ie} to ${ce}.`,location:re.location,forceSeverity:"warn"}),ce}return de}},96244:(k,v,e)=>{"use strict";Object.defineProperty(v,"__esModule",{value:!0}),v.Config=v.StyleguideConfig=v.AVAILABLE_REGIONS=v.DOMAINS=v.DEFAULT_REGION=v.IGNORE_FILE=void 0;const t=e(93879),a=e(77410),d=e(89787),i=e(91155),c=e(39967),h=e(98189),f=e(68040),l=e(61331);v.IGNORE_FILE=".redocly.lint-ignore.yaml";const p=`# This file instructs Redocly's linter to ignore the rules contained for specific parts of your API.
|
|
8
8
|
# See https://redoc.ly/docs/cli/ for more information.
|
|
@@ -1452,7 +1452,7 @@ ${jr.indent}`,variablesPrefix:jr.variablesPrefix,capitalize:!0,lang:E.PHP});Gr.l
|
|
|
1452
1452
|
`).trim():""}function uo(B,De){return`
|
|
1453
1453
|
`+B.map(({name:tn,value:un})=>(De?.indent||"")+`${tn} = "${un}"`).join(`,
|
|
1454
1454
|
`)+`
|
|
1455
|
-
`}var So=Object.defineProperty,ti=Object.defineProperties,Fa=Object.getOwnPropertyDescriptors,di=Object.getOwnPropertySymbols,ji=Object.prototype.hasOwnProperty,Rs=Object.prototype.propertyIsEnumerable,Xs=(B,De,at)=>De in B?So(B,De,{enumerable:!0,configurable:!0,writable:!0,value:at}):B[De]=at,Hi=(B,De)=>{for(var at in De||(De={}))ji.call(De,at)&&Xs(B,at,De[at]);if(di)for(var at of di(De))Rs.call(De,at)&&Xs(B,at,De[at]);return B},Fl=(B,De)=>ti(B,Fa(De));const vs=1,rs={javascript:jt,node:fo,python:Lo,shell:tt,java8:so,java:Ys,csharp:qi,go:q,php:Ur,ruby:eo,r:{info:{key:"r",title:"R",extname:".r",default:"httr"},httr:function(B,De,{target:at,client:tn}){var un,jr,Nr,yr;const lr=Object.assign({indent:" ",showBoilerplate:!0,printBody:!0},De),Br=new No({indentation:lr.indent,variablesPrefix:lr.variablesPrefix,lang:E.R}),xr=B.method.toUpperCase(),Yr=(un=B.securityOAuth2ExtraCalls)==null?void 0:un[0];if(lr.showBoilerplate&&Br.push("library(httr)").blank(),Yr){const go="oauth2_",Gn=new Xa(Yr).convert(at,tn,Fl(Hi({},lr),{variablesPrefix:go,showBoilerplate:!1})),_o=`${go}data_req`;Br.push(Gn).push(`access_token = content(${_o}, "parsed")$access_token`).blank(),B.allHeaders.Authorization='paste("Bearer", access_token)'}let Xt,Gr="";if(B?.postData)switch((0,c.PP)((jr=B?.postData)==null?void 0:jr.mimeType)){case h.Tr.URL_ENCODED:{Xt="form",Gr=Br.var("body");const go=uo(B.postData.params,lr);Br.push(`${Gr} <- list(${go})`).blank();break}case h.Tr.JSON:{Xt="json",Gr=Br.var("body");const go=Vo(B.postData.jsonObj,lr);Br.push(`${Gr} = '${go}'`).blank();break}case h.Tr.MULTIPART:{Xt="multipart",Gr=Br.var("body");const go=uo(B.postData.params,lr);Br.push(`${Gr} <- list(${go})`).blank();break}default:(Nr=B.postData)!=null&&Nr.text&&(Gr=Br.var("body"),Xt="raw",Br.push(`${Gr} = ${Vo((yr=B.postData)==null?void 0:yr.text)}`).blank())}Nt(B,Br),Object.keys(Hi(Hi({},B.pathParameters),B.serverVariables)).length&&Br.blank().push("# create you own operator").push('"%&%" <- function(x, y)paste0(x,y)').blank();const er=Et(B,Br);Br.push(`url = ${er}`).blank();const Pn=Br.var("data_req");if(Br.push(`${Pn} <- ${xr}(`),Br.push(vs,"url,"),B.basicAuth){const{username:go,password:Gn}=B.basicAuth;Br.push(vs,`authenticate("${go}", "${Gn}")`)}if(Object.keys(B.allHeaders).length){const go=`${Object.keys(B.allHeaders).map(Gn=>`"${Gn}" = ${B.allHeaders[Gn].startsWith("paste")?B.allHeaders[Gn]:`"${B.allHeaders[Gn]}"`}`).join(", ")}`;go&&Br.push(vs,`add_headers(${go}),`)}return Gr&&(Br.push(vs,`body = ${Gr},`),Br.push(vs,`encode = "${Xt}",`)),Br.push(vs,"verbose()"),Br.push(")"),lr.printBody&&Br.blank().push(`content(${Pn}${Xt==="raw"?', "text"':""})`),Br.join()}}};function ac(B,De){if(B[De.name]===void 0)return B[De.name]=De.value,B;if(B[De.name]instanceof Array)return B[De.name].push(De.value),B;const at=[B[De.name],De.value];return B[De.name]=at,B}var Bl=Object.defineProperty,qs=Object.defineProperties,ns=Object.getOwnPropertyDescriptors,el=Object.getOwnPropertySymbols,Cl=Object.prototype.hasOwnProperty,tl=Object.prototype.propertyIsEnumerable,Ki=(B,De,at)=>De in B?Bl(B,De,{enumerable:!0,configurable:!0,writable:!0,value:at}):B[De]=at,gs=(B,De)=>{for(var at in De||(De={}))Cl.call(De,at)&&Ki(B,at,De[at]);if(el)for(var at of el(De))tl.call(De,at)&&Ki(B,at,De[at]);return B},Ts=(B,De)=>qs(B,ns(De)),ic=(B,De,at)=>(Ki(B,typeof De!="symbol"?De+"":De,at),at);class Xa{constructor(De){ic(this,"request");const at=gs({},De);this.request=this.prepare(Ts(gs({},at),{httpVersion:at.httpVersion||"HTTP/1.1",queryString:at.queryString||[],headers:at.headers||[],cookies:at.cookies||[],postData:at.postData?Ts(gs({},at.postData),{jsonObj:void 0,paramsObj:void 0}):void 0,bodySize:0,headersSize:0,queryObj:{},headersObj:{},cookiesObj:{},allHeaders:{},uriObj:{},fullUrl:"",pathParameters:at.pathParameters||{},serverVariables:at.serverVariables||{}}))}prepare(De){var at;if(De.queryString&&De.queryString.length&&(De.queryObj=De.queryString.reduce(ac,{})),De.headers&&De.headers.length){const un=/^HTTP\/2/;De.headersObj=De.headers.reduce(function(jr,Nr){let yr=Nr.name;return De.httpVersion.match(un)&&(yr=yr.toLowerCase()),jr[yr]=Nr.value,jr},{})}De.cookies&&De.cookies.length&&(De.cookiesObj=De.cookies.reduceRight(function(un,jr){return un[jr.name]=jr.value,un},{}));const tn=De.cookies.map(function(un){return encodeURIComponent(un.name)+"="+encodeURIComponent(un.value)});if(tn.length&&(De.allHeaders.cookie=tn.join("; ")),De.postData)switch((0,c.PP)(De.postData.mimeType)){case"multipart/mixed":case"multipart/related":case h.Tr.MULTIPART:case"multipart/alternative":break;case h.Tr.URL_ENCODED:(at=De.postData)!=null&&at.params?(De.postData.paramsObj=De.postData.params.reduce(ac,{}),De.postData.text=i.uM.stringify(De.postData.paramsObj)):De.postData.text="";break;case"text/json":case"text/x-json":case h.Tr.JSON:case"application/x-json":if(De.postData.text)try{De.postData.jsonObj=JSON.parse(De.postData.text)}catch{De.postData.mimeType="text/plain"}break}return De.allHeaders=Object.assign(De.allHeaders,De.headersObj),De.uriObj=l.parse(De.url,!0,!0),De.queryObj=Object.assign(De.queryObj,De.uriObj.query),De.uriObj.query=null,De.uriObj.search=null,De.uriObj.path=De.uriObj.pathname=(0,c.mm)(De.uriObj.pathname),De.url=(0,c.mm)(l.format(De.uriObj)),De.uriObj.query=De.queryObj,De.uriObj.search=i.uM.stringify(De.queryObj),De.uriObj.search&&(De.uriObj.path=De.uriObj.pathname+"?"+De.uriObj.search),De.fullUrl=(0,c.mm)(l.format(De.uriObj)),De}convert(De,at,tn){!tn&&at&&(tn=at);const un=this._matchTarget(De,at);if(un){const jr=un(this.request,tn,{target:De,client:at});return jr.length===1?jr[0]:jr}throw new Error("Can not match target")}_matchTarget(De,at){return Object.prototype.hasOwnProperty.call(rs,De)?typeof at=="string"&&typeof rs[De][at]=="function"?rs[De][at]:rs[De][rs[De].info.default]:!1}}var js=e(88948),rl=Object.defineProperty,nl=Object.defineProperties,$l=Object.getOwnPropertyDescriptors,Ol=Object.getOwnPropertySymbols,Us=Object.prototype.hasOwnProperty,ys=Object.prototype.propertyIsEnumerable,$a=(B,De,at)=>De in B?rl(B,De,{enumerable:!0,configurable:!0,writable:!0,value:at}):B[De]=at,xa=(B,De)=>{for(var at in De||(De={}))Us.call(De,at)&&$a(B,at,De[at]);if(Ol)for(var at of Ol(De))ys.call(De,at)&&$a(B,at,De[at]);return B},fi=(B,De)=>nl(B,$l(De));function mi(B,{exampleName:De="",skipOptionalParameters:at=!1,withOAuth2Call:tn=!1,spec:un,generatedPayloadSamplesMaxDepth:jr=8,pathParams:Nr={},properties:yr={}},{activeServer:lr,requestValues:Br}){var xr,Yr,Xt,Gr;const{securityHeaders:er,securityCookies:Pn,securityQueries:go,securityOAuth2ExtraCalls:Gn,basicAuth:_o}=Ai((xr=B.security)==null?void 0:xr[0],tn),wn=((Yr=B?.requestBody)==null?void 0:Yr.content)&&(0,js.T)(B.requestBody.content),oa={skipNonRequired:at,skipReadOnly:!0,maxSampleDepth:jr},Sa={path:Br?.path,cookie:Br?.cookie,header:Br?.header,query:Br?.query,body:Br?.body};let vi=!1;const zs=B.parameters.filter(Jo=>Jo.in==="header").filter(Jo=>!(at&&!Jo.required)).map(Jo=>{var yi;return{name:Jo.name,value:((yi=Sa.header)==null?void 0:yi[Jo.name])||(0,i.X_)("header",Jo.name)||(0,i.d$)(Jo,t.UP(Jo.schema.rawSchema,oa,un))}}).map(Jo=>(wn?.name&&Jo.name.toLowerCase()==="content-type"&&(vi=!0,Jo.value=wn.name),Jo)).concat(er);!vi&&wn?.name&&zs.unshift({name:"Content-Type",value:wn?.name});const Ti=B.parameters.filter(Jo=>Jo.in==="cookie").filter(Jo=>!(at&&!Jo.required)).map(Jo=>i.uM.parse((0,i.d$)(Jo,t.UP(Jo.schema.rawSchema,oa,un)))).reduce((Jo,yi)=>{var ri;for(const[is,ki]of Object.entries(yi))Jo.push({name:is,value:String(((ri=Sa.cookie)==null?void 0:ri[is])||ki)});return Jo},[]).concat(Pn),il=B.parameters.filter(Jo=>Jo.in==="query").filter(Jo=>!(at&&!Jo.required)).map(Jo=>i.uM.parse((0,i.d$)(Jo,t.UP(Jo.schema.rawSchema,oa,un)))).reduce((Jo,yi)=>{var ri,is,ki;for(const[Hs,hl]of Object.entries(yi))Jo.push({name:Hs,value:(0,i.Pj)((ri=Sa.query)==null?void 0:ri[Hs])&&JSON.stringify((0,i.zD)((is=Sa.query)==null?void 0:is[Hs]))||String(((ki=Sa.query)==null?void 0:ki[Hs])||hl)});return Jo},[]).concat(go),jl=(Xt=lr||B.activeServer)==null?void 0:Xt.url.replace(/\/$/,""),Li=B.path.replace(/^\//,""),Vs=`${jl}/${Li}`,fl=B.parameters.filter(Jo=>Jo.in==="path").reduce((Jo,yi)=>{var ri;const{in:is,name:ki}=yi;return Jo[ki]=((ri=Sa.path)==null?void 0:ri[ki])||Nr[ki]||(0,i.X_)(is,ki),Jo},{}),Ws=(Gr=wn?.examples)==null?void 0:Gr[De],Pl=wn?.examples||{},[pl]=Object.values(Pl),Es=Sa.body||Ws?.value||pl?.value||wn?.schema&&t.UP(wn?.schema.rawSchema,oa,un),ks=wn?.name.toLowerCase();let Zi="",gi=[];switch((0,c.PP)(ks)){case h.Tr.JSON:Zi=JSON.stringify(al(Es,yr));break;case h.Tr.URL_ENCODED:case h.Tr.MULTIPART:Zi=i.uM.stringify(al(Es,yr)),gi=Ri(al(Es,yr));break;default:Zi=String(Es||"")}const as=Zi?{mimeType:wn?.name||h.Tr.OCTET_STREAM,text:Zi,params:gi}:void 0,Gi=B.responses.map(Jo=>Jo.code);return{method:B.httpVerb,url:Vs,httpVersion:"HTTP/1.1",cookies:Ti,headers:zs,queryString:il,postData:as,headersSize:-1,bodySize:-1,securityOAuth2ExtraCalls:Gn,basicAuth:_o,pathParameters:fl,serverVariables:lr?.variables||B.activeServer.variables,allResponseCodes:Gi}}const Ha={withImports:!0,withComments:!1},os={curl:{code:"shell",defaultTarget:"curl",defaultOptions:fi(xa({},Ha),{short:!0})},JavaScript:{code:"javascript",defaultTarget:"fetch",defaultOptions:fi(xa({},Ha),{withImports:!1})},"Node.js":{code:"node",defaultTarget:"fetch",defaultOptions:xa({},Ha)},Python:{code:"python",defaultTarget:"requests",defaultOptions:xa({},Ha)},"Java8+Apache":{code:"java8",defaultTarget:"apachehttp",defaultOptions:xa({},Ha)},Java:{code:"java",defaultTarget:"httpclient",defaultOptions:xa({},Ha)},"C#":{code:"csharp",defaultTarget:"httpclient",defaultOptions:xa({},Ha)},Go:{code:"go",defaultTarget:"http.DefaultClient",defaultOptions:xa({},Ha)},PHP:{code:"php",defaultTarget:"curl",defaultOptions:xa({},Ha)},Ruby:{code:"ruby",defaultTarget:"net::http",defaultOptions:xa({},Ha)},R:{code:"r",defaultTarget:"httr",defaultOptions:xa({},Ha)}};function ol({lang:B,operation:De,exampleName:at,pathParams:tn,properties:un,options:jr={}}){try{const{skipOptionalParameters:Nr,withOAuth2Call:yr,spec:lr,generatedPayloadSamplesMaxDepth:Br,store:xr}=jr,Yr=mi(De,{exampleName:at,pathParams:tn,properties:un,skipOptionalParameters:Nr,withOAuth2Call:yr,spec:lr,generatedPayloadSamplesMaxDepth:Br},xr),Xt=new Xa(Yr);return os[B]?Xt.convert(os[B].code,os[B].defaultTarget,xa(xa({},os[B].defaultOptions),jr)):"Language is not supported."}catch(Nr){return console.error(Nr),"Failed to generate code sample."}}function Ai(B,De){var at,tn,un,jr;const Nr={securityHeaders:[],securityCookies:[],securityQueries:[],securityOAuth2ExtraCalls:[],basicAuth:void 0};for(const yr of B?.schemes||[]){const lr=(0,i.lX)(yr.id);switch(yr.type){case"openIdConnect":(at=Nr.securityHeaders)==null||at.push({name:"Authorization",value:"Bearer <YOUR_TOKEN_HERE>"});break;case"oauth2":{const Br=lr.token?`${lr.token.token_type||"Bearer"} ${lr.token.access_token}`:"Bearer <YOUR_TOKEN_HERE>";yr.flows.clientCredentials&&De?Nr.securityOAuth2ExtraCalls.push(Zo(yr.flows.clientCredentials,yr.scopes,lr)):yr.flows.password&&De&&Nr.securityOAuth2ExtraCalls.push(Ft(yr.flows.password,yr.scopes,lr)),(tn=Nr.securityHeaders)==null||tn.push({name:"Authorization",value:Br});break}case"apiKey":{const Br=lr.raw||"YOUR_API_KEY_HERE";yr.in==="header"&&((un=Nr.securityHeaders)==null||un.push({name:yr.name,value:Br})),yr.in==="cookie"&&Nr.securityCookies.push({name:yr.name,value:Br}),yr.in==="query"&&Nr.securityQueries.push({name:yr.name,value:Br});break}case"http":yr.scheme==="basic"?Nr.basicAuth={username:lr.username||`<${Kr.toSnakeCase((0,f.l)("tryItAuthBasicUsername"))}>`,password:lr.password||`<${Kr.toSnakeCase((0,f.l)("tryItAuthBasicPassword"))}>`}:(jr=Nr.securityHeaders)==null||jr.push({name:"Authorization",value:`${bs(yr.scheme||"bearer")} <YOUR_${yr.bearerFormat||"TOKEN"}_HERE>`});break}}return Nr}function Ft(B,De,at){return{method:"POST",url:B.tokenUrl,httpVersion:"HTTP/1.1",headers:[{name:"Content-Type",value:h.Tr.URL_ENCODED},{name:"Accept",value:h.Tr.JSON}],queryString:[],postData:{mimeType:h.Tr.URL_ENCODED,text:"",params:[{name:"grant_type",value:"password"},{name:"client_id",value:at.client_id||"YOUR_CLIENT_ID"},{name:"client_secret",value:at.client_secret||"YOUR_CLIENT_SECRET"},{name:"username",value:at.username||"<username>"},{name:"password",value:at.password||"<password>"},De.length?{name:"scope",value:De.join(" ")}:void 0].filter(Oo)},cookies:[],headersSize:-1,bodySize:-1,securityOAuth2ExtraCalls:[]}}function Zo(B,De,at){return{method:"POST",url:B.tokenUrl,httpVersion:"HTTP/1.1",headers:[{name:"Content-Type",value:h.Tr.URL_ENCODED},{name:"Accept",value:h.Tr.JSON}],queryString:[],postData:{mimeType:h.Tr.URL_ENCODED,text:"",params:[{name:"grant_type",value:"client_credentials"},{name:"client_id",value:at.client_id||"YOUR_CLIENT_ID"},{name:"client_secret",value:at.client_secret||"YOUR_CLIENT_SECRET"},De.length?{name:"scope",value:De.join(" ")}:void 0].filter(Oo)},cookies:[],headersSize:-1,bodySize:-1,securityOAuth2ExtraCalls:[]}}function al(B,De){if(B){if(typeof B=="object")return d()(B,De,{arrayMerge:c.lN});try{return d()(JSON.parse(B),De,{arrayMerge:c.lN})}catch{return!1}}return!1}function Ri(B){const De=[];for(const[at,tn]of Object.entries(B))De.push({name:at,value:String(tn)});return De}function Oo(B){return B!==void 0}function bs(B){return B.charAt(0).toUpperCase()+B.slice(1)}},22274:(k,v,e)=>{"use strict";e.d(v,{getCodeSample:()=>t.aP});var t=e(13368),a=e(87873),d=e.n(a);e.o(a,"Pagination")&&e.d(v,{Pagination:function(){return a.Pagination}}),e.o(a,"SideNavStyle")&&e.d(v,{SideNavStyle:function(){return a.SideNavStyle}}),e.o(a,"l")&&e.d(v,{l:function(){return a.l}}),e.o(a,"normalizeOptions")&&e.d(v,{normalizeOptions:function(){return a.normalizeOptions}})},87873:()=>{},7660:(k,v,e)=>{"use strict";e.d(v,{Ix:()=>c,mi:()=>h});var t=e(85739),a=e(88948);function d(f,l){return f===l||"#"+f===l||f==="#"+l}function i(f){var l,p,m,g,E,x,o,C,P,S,w,O,D;if(!f.in){if(f.deps.type==="request"&&(m=(p=(l=f.deps.operation)==null?void 0:l.requestBody)==null?void 0:p.content)!=null&&m.mediaTypes)return((x=(E=(g=f.deps.operation)==null?void 0:g.requestBody)==null?void 0:E.content)==null?void 0:x.mediaTypes.length)>1?((C=(o=f.deps.operation)==null?void 0:o.requestBody)==null?void 0:C.content)&&(0,a.T)(f.deps.operation.requestBody.content).name:void 0;if(f.deps.type==="response"&&(S=(P=f.deps.response)==null?void 0:P.content)!=null&&S.mediaTypes)return((O=(w=f.deps.response)==null?void 0:w.content)==null?void 0:O.mediaTypes.length)>1?((D=f.deps.response)==null?void 0:D.content)&&(0,a.T)(f.deps.response.content).name:void 0}}function c(f){var l,p;if(!f)return"";const m={t:f.deps.type,in:f.in||f.deps.in,c:f.deps.type==="response"?(l=f.deps.response)==null?void 0:l.code:void 0,cb:(p=f.deps.operation)!=null&&p.isCallback?f.deps.operation.callbackId:void 0,ct:i(f),path:f.fieldFullPath};return t.uM.stringify(m,{encode:!1,sort:!1})}function h(f="",l="",p="/"){return f.endsWith(p)&&(f=f.slice(0,-p.length)),l.startsWith(p)&&(l=l.slice(p.length)),!f||!l?f+l:f+p+l}},43047:(k,v,e)=>{"use strict";e.d(v,{mi:()=>t.mi});var t=e(7660)},95709:(k,v,e)=>{"use strict";e.d(v,{MarkerService:()=>l.u,OpenAPIParser:()=>c.Xo,Pagination:()=>d.t,SideNavStyle:()=>d.s,buildContentItems:()=>h.w,getCodeSample:()=>a.getCodeSample,joinWithSeparator:()=>t.mi,l:()=>i.l,normalizeOptions:()=>p.G});var t=e(43047),a=e(22274);e.o(a,"Pagination")&&e.d(v,{Pagination:function(){return a.Pagination}}),e.o(a,"SideNavStyle")&&e.d(v,{SideNavStyle:function(){return a.SideNavStyle}}),e.o(a,"l")&&e.d(v,{l:function(){return a.l}}),e.o(a,"normalizeOptions")&&e.d(v,{normalizeOptions:function(){return a.normalizeOptions}});var d=e(67574),i=e(45460),c=e(87970),h=e(81634),f=e(75150),l=e(49754),p=e(66921),m=e(26225)},45460:(k,v,e)=>{"use strict";e.d(v,{l:()=>d});const t={enum:"Enum",enumSingleValue:"Value",enumArray:"Items",default:"Default",deprecated:"Deprecated",example:"Example",examples:"Examples",recursive:"Recursive",arrayOf:"Array of ",webhook:"Event",const:"Value",authorizations:"Security",tryItBody:"Body",tryItParameters:"Parameters",tryItAuth:"Security",tryItAuthBasicUsername:"Username",tryItAuthBasicPassword:"Password",download:"Download",downloadSpecification:"Download OpenAPI specification",request:"Request",responses:"Responses",callbackResponses:"Callback responses",callbacks:"Callbacks",requestSamples:"Request samples",responseSamples:"Response samples"};function a(i){Object.assign(t,i)}function d(i,c){const h=t[i];return c!==void 0?h[c]:h}},81634:(k,v,e)=>{"use strict";e.d(v,{w:()=>se});var t=e(56529),a=e(42112),d=e(85739),i=e(53412),c=e(99924),h=e(67574),f=e(53134);function l(H,te,de,ke=2,he=h.t.Section){const le=(0,d.HD)(H)?(0,c.Qc)(H):c.wS.fromJSON(H?.result),Se=[];let z;const U=(ee,ae,xe=Se,ce,Ce)=>{ee=(0,d.Lf)(ee);let Ie;ce.attributes.id?Ie=ce.attributes.id:(Ie=Ce?`${Ce}/${(0,d.bO)(ee)}`:`section/${(0,d.bO)(ee)}`,ce.attributes.id=Ie);const st={id:Ie,name:ee,level:ae,items:[],ast:[ce]};return xe.push(st),st},L=(ee,ae)=>{var xe,ce;(ce=(xe=ee[ee.length-1])==null?void 0:xe.ast)==null||ce.push(ae)},re=ee=>{var ae;for(const xe of ee.children){const ce=m(xe)||"";xe.type==="heading"&&xe.attributes.level===1?z=U(ce,xe.attributes.level,void 0,xe):xe.attributes.level<=ke?U(ce,xe.attributes.level,z?.items,xe,z?.id):(ae=z?.items)!=null&&ae.length?L(z?.items,xe):Se?.length&&L(Se,xe)}};if(Array.isArray(le))for(const ee of le)re(ee);else re(le);return p(te,Se,de,{pagination:he,markdownHeadingsAnchorLevel:ke})}function p(H,te,de=1,ke){return te.map(he=>{const le=(0,f.getTagOrGroup)("section",he,ke,H);return le.depth=de,he.items&&(le.items=p(le,he.items,de+1,ke)),le})}function m(H){var te,de;if(typeof((te=H?.attributes)==null?void 0:te.content)=="string")return(de=H.attributes)==null?void 0:de.content;if(H?.children)return m(H.children[0])}var g=Object.defineProperty,E=Object.defineProperties,x=Object.getOwnPropertyDescriptors,o=Object.getOwnPropertySymbols,C=Object.prototype.hasOwnProperty,P=Object.prototype.propertyIsEnumerable,S=(H,te,de)=>te in H?g(H,te,{enumerable:!0,configurable:!0,writable:!0,value:de}):H[te]=de,w=(H,te)=>{for(var de in te||(te={}))C.call(te,de)&&S(H,de,te[de]);if(o)for(var de of o(te))P.call(te,de)&&S(H,de,te[de]);return H},O=(H,te)=>E(H,x(te));function D(H,te,de,ke,he){let le;if(ke===void 0?le=Object.keys(te):le=ke.tags,!Array.isArray(le))return console.warn("Unexpected values of tags. Check tags or x-tagGroups in your definition."),[];const Se=le.map(U=>te[U]?(te[U].used=!0,te[U]):(console.warn(`Non-existing tag "${U}" is added to the group "${ke?.name}"`),null)),z=[];for(const U of Se){if(!U)continue;const L=(0,t.S)("tag",U,{pagination:he.pagination,markdownHeadingsAnchorLevel:he.markdownHeadingsAnchorLevel},de);if(L.depth=a.tT+1,U.name===""){const ee=[...l((0,d.Hm)(U,"description")||"",L,L.depth+1,he.markdownHeadingsAnchorLevel,he.pagination),...(0,i.q)(void 0,U,L.depth+1,he)];z.push(...ee);continue}const re=N({definition:H.definition,tag:U,parent:L,schemaDefinitionsTagName:he.schemaDefinitionsTagName,options:{pagination:he.pagination,markdownHeadingsAnchorLevel:he.markdownHeadingsAnchorLevel}});L.items=[...re,...l((0,d.Hm)(U,"description")||"",L,L.depth+1,he.markdownHeadingsAnchorLevel,he.pagination),...(0,i.q)(L,U,L.depth+1,he)],z.push(L)}return he.sortTagsAlphabetically&&z.sort((0,d.Bi)("name")),z}function A(H,te,de,ke,he){const le=[];for(const Se of de){const z=(0,t.S)("group",Se,{pagination:he.pagination,markdownHeadingsAnchorLevel:he.markdownHeadingsAnchorLevel},te);z.depth=a.tT,z.items=D(H,ke,z,Se,he),le.push(z)}return le}function N({definition:H,tag:te,parent:de,schemaDefinitionsTagName:ke,options:he}){var le;const Se=ke?[ke]:[];return Object.entries(((le=H.components)==null?void 0:le.schemas)||{}).map(([z,U])=>{if(!(U["x-tags"]||Se).includes(te.name))return null;const re=(0,t.S)("schema",{name:z,"x-displayName":`${U.title||z}`,description:`{% schemaDefinition showWriteOnly="true" schemaRef="#/components/schemas/${z}" /%}`,isSchema:!0,level:2},he,de);return re.depth=de.depth+1,re}).filter(Boolean)}function T(H,te){const{definition:de}=H,ke={},he=de["x-webhooks"]||de.webhooks;for(const le of te||[])ke[le.name]=O(w({},le),{operations:[]});return de.paths&&$(H,de.paths,ke),he&&$(H,he,ke,!0),ke}function $(H,te,de,ke){for(const he of Object.keys(te||{})){const le=te[he],Se=Object.keys(le).filter(d.eU);for(const z of Se){const U=le[z];if(le.$ref){const{resolved:re}=H.deref(le);$(H,{[he]:re},de,ke);continue}let L=U?.tags;(!L||!L.length)&&(L=[""]);for(const re of L){let ee=de[re];ee===void 0&&(ee={name:re,operations:[]},de[re]=ee),!ee["x-traitTag"]&&ee.operations.push(O(w({},U),{pathName:he,pointer:d.IB.compile(["paths",he,z]),httpVerb:z,pathParameters:le.parameters||[],pathServers:le.servers,isWebhook:!!ke}))}}}}var R=e(43047);function j(H,te){var de,ke;const{definition:he}=H,{hideInfoSection:le,hideInfoDescription:Se,pagination:z,schemaDefinitionsTagName:U,markdownHeadingsAnchorLevel:L,infoLabel:re}=te,ee=!le||z==="none"?[{id:"",name:((de=he?.info)==null?void 0:de["x-label"])||re||((ke=he?.info)==null?void 0:ke.title)||"Overview",href:"/",depth:le?-1:1,level:1,type:"section",infoDefinition:he.info,items:[]}]:[],ae=[...he.tags||[]].filter(Ie=>Ie.description)||[];!ae.find(Ie=>Ie?.name===U)&&U&&ae.push({name:U});const ce=T(H,ae),Ce=he["x-tagGroups"];return!le&&!Se&&ee.push(...l((0,d.Hm)(he.info,"description")||"",void 0,1,L,z)),Ce&&Ce.length>0?ee.push(...A(H,void 0,Ce,ce,te)):ee.push(...D(H,ce,void 0,void 0,te)),ee}function J(H,te){return H.map(de=>(de.href&&(de.href=(0,d.AH)((0,R.mi)(te,de.href,"/"))),de.id&&de.type==="tag"&&(de.id=(0,d.AH)((0,R.mi)(te,de.id,"/"))),de.items&&J(de.items,te),de))}function se(H,te){const de=j(H,te),ke=H.versionPath?J(de,H.versionPath):de,he=(0,d.PD)(ke||[],"items");return{contentItems:ke,flatItems:he}}},53412:(k,v,e)=>{"use strict";e.d(v,{q:()=>i,w:()=>c});var t=e(85739),a=e(67574),d=e(43047);function i(h,f,l,p){if(f.operations.length===0)return[];const m=[];for(const g of f.operations){const E=(0,t.mE)(g,p.pagination,h),x="operation";m.push({id:E,type:x,parent:h,operationDefinition:g,depth:l,name:(0,t.rY)(g),httpVerb:g.httpVerb,path:g.pathName,items:[],isWebhook:g.isWebhook,operationId:g.operationId,href:c({id:E,type:x,parent:h},p.pagination)})}return p.sortOperationsAlphabetically&&m.sort((0,t.Bi)("name")),m}function c({type:h,id:f,parent:l},p){switch(p){case a.t.None:return`#${f}`;case a.t.Item:return h==="section"?l?.type==="tag"?(0,t.AH)((0,d.mi)(l.id,f,"#")):`#${f}`:l&&l.type!=="group"?(0,t.AH)((0,d.mi)(l.id,f)):(0,t.AH)(f);case a.t.Section:return h==="operation"||h==="schema"?l?(0,t.AH)((0,d.mi)(l.id,f,"#")):(0,t.AH)(`#${f}`):h==="section"?l?`#${f}`:(0,t.AH)(`#${f}`):(0,t.AH)(f);default:return""}}},56704:(k,v,e)=>{"use strict";e.d(v,{P:()=>o});var t=e(43507),a=e(5283),d=e(42112),i=e(79216),c=e(88948),h=e(1776),f=e(5489),l=e(85739),p=Object.defineProperty,m=(C,P,S)=>P in C?p(C,P,{enumerable:!0,configurable:!0,writable:!0,value:S}):C[P]=S,g=(C,P,S)=>(m(C,typeof P!="symbol"?P+"":P,S),S),E=(C,P,S)=>new Promise((w,O)=>{var D=T=>{try{N(S.next(T))}catch($){O($)}},A=T=>{try{N(S.throw(T))}catch($){O($)}},N=T=>T.done?w(T.value):Promise.resolve(T.value).then(D,A);N((S=S.apply(C,P)).next())});function x(C){return(0,l.bG)(C).replace(/\[(.*?)][[(].*?[\])]/g,"$1")}class o extends a.Z{constructor(P){super(),g(this,"operationTitleBoost",4),g(this,"tagTitleBoost",8),g(this,"fieldLevelBoost",.95),g(this,"pathOnly",!1),g(this,"searchMaxDepth",d.oP),P.searchOperationTitleBoost&&(this.operationTitleBoost=P.searchOperationTitleBoost),P.searchTagTitleBoost&&(this.tagTitleBoost=P.searchTagTitleBoost),P.searchFieldLevelBoost&&(this.fieldLevelBoost=P.searchFieldLevelBoost),P.searchMode==="path-only"&&(this.pathOnly=!0),P.searchMaxDepth&&(this.searchMaxDepth=P.searchMaxDepth)}indexItems(P){const S=w=>{w&&w.forEach(O=>{if(O.type==="operation"&&this.pathOnly){const D=O;this.add(D.path,"",{menuId:D.id,boost:this.operationTitleBoost});return}if(O.type!=="group"&&!this.pathOnly&&(this.add(O.name,O.type==="operation"?O.path:"",{menuId:O.id,boost:O.type==="operation"?this.operationTitleBoost:this.tagTitleBoost}),O.description&&this.add("",x(O.description||""),{menuId:O.id})),O.type==="operation"){const D=O.operationDefinition,{parser:A,options:N}=(0,t.$l)(i.cS),T=(0,h.b4)(A,D,void 0,N,O.href);for(const R of T.parameters||[])this.add(R.name,x(R.description),{menuId:O.id,place:"parameters",path:[R.name]});const $=T.requestBody&&T.requestBody.content&&(0,c.T)(T.requestBody.content).schema;this.indexSchema($,O.id,"request fields"),T.responses.forEach(R=>{const j=R.content&&(0,c.T)(R.content).schema;j&&this.indexSchema(j,O.id,`response ${R.code} fields`)})}S(O.items)})};S(P),this.searchWorker.done()}indexSchema(P,S,w,O=[],D=0){if(!P||D>this.searchMaxDepth||P.isCircular)return;const{activeOneOf:A}=(0,t.$l)((0,f.N)(P.deps.operation.pointer));if(P=P.oneOf&&P.oneOf[A]||P,P.fields)for(const N of P.fields){const T=O.concat([N.name]);N.kind!=="additionalProperties"&&(this.add(N.name,x(N.description),{menuId:S,place:w,path:T,boost:Math.pow(this.fieldLevelBoost,D)}),this.indexSchema(N.schema,S,w,T,D+1))}P.items&&this.indexSchema(P.items,S,w,O,D+1)}add(P,S,w){this.searchWorker.add(P,S,w)}search(P){return E(this,null,function*(){return yield this.searchWorker.search(P)})}toJS(){return E(this,null,function*(){return this.searchWorker.toJS()})}dispose(){"terminate"in this.searchWorker&&this.searchWorker.terminate(),this.searchWorker.dispose&&this.searchWorker.dispose()}}},44873:(k,v,e)=>{"use strict";e.d(v,{d:()=>h});var t=e(5283),a=Object.defineProperty,d=(f,l,p)=>l in f?a(f,l,{enumerable:!0,configurable:!0,writable:!0,value:p}):f[l]=p,i=(f,l,p)=>(d(f,typeof l!="symbol"?l+"":l,p),p),c=(f,l,p)=>new Promise((m,g)=>{var E=C=>{try{o(p.next(C))}catch(P){g(P)}},x=C=>{try{o(p.throw(C))}catch(P){g(P)}},o=C=>C.done?m(C.value):Promise.resolve(C.value).then(E,x);o((p=p.apply(f,l)).next())});class h extends t.Z{constructor(l){super(),this.url=l,i(this,"operationTitleBoost",4),i(this,"tagTitleBoost",8),i(this,"fieldLevelBoost",.95)}indexItems(l){}add(l,p,m){throw new Error("Not implemented")}search(l){return c(this,null,function*(){let p=[];try{if(p=yield(yield fetch(this.url+"?q="+encodeURIComponent(l))).json(),!Array.isArray(p))throw p=[],new Error("wrong search results format")}catch(m){console.error("Failed to load search results: "+m.message)}return p})}dispose(){super.dispose()}load(){}toJS(){return c(this,null,function*(){throw new Error("Not implemented")})}}},5283:(k,v,e)=>{"use strict";e.d(v,{Z:()=>f});var t=e(474),a=Object.defineProperty,d=(l,p,m)=>p in l?a(l,p,{enumerable:!0,configurable:!0,writable:!0,value:m}):l[p]=m,i=(l,p,m)=>(d(l,typeof p!="symbol"?p+"":p,m),m),c=(l,p,m)=>new Promise((g,E)=>{var x=P=>{try{C(m.next(P))}catch(S){E(S)}},o=P=>{try{C(m.throw(P))}catch(S){E(S)}},C=P=>P.done?g(P.value):Promise.resolve(P.value).then(x,o);C((m=m.apply(l,p)).next())});function h(){let l;if(t.Qg)try{l=e(93519)}catch{l=e(4687).ZP}else l=e(4687).ZP;return new l}class f{constructor(){i(this,"searchWorker",h())}indexItems(p){const m=g=>{g.forEach(E=>{E.type!=="group"&&this.add(E.name,E.description||"",E.id),m(E.items)})};m(p),this.searchWorker.done()}add(p,m,g){this.searchWorker.add(p,m,g)}dispose(){this.searchWorker.terminate(),this.searchWorker.dispose()}search(p){return this.searchWorker.search(p)}toJS(){return c(this,null,function*(){return this.searchWorker.toJS()})}load(p){this.searchWorker.load(p)}fromExternalJS(p,m){p&&m&&this.searchWorker.fromExternalJS(p,m)}}},4687:(k,v,e)=>{"use strict";e.d(v,{ZP:()=>f});var t=e(93112),a=e.n(t),d=Object.defineProperty,i=(A,N,T)=>N in A?d(A,N,{enumerable:!0,configurable:!0,writable:!0,value:T}):A[N]=T,c=(A,N,T)=>(i(A,typeof N!="symbol"?N+"":N,T),T),h=(A,N,T)=>new Promise(($,R)=>{var j=H=>{try{se(T.next(H))}catch(te){R(te)}},J=H=>{try{se(T.throw(H))}catch(te){R(te)}},se=H=>H.done?$(H.value):Promise.resolve(H.value).then(j,J);se((T=T.apply(A,N)).next())});class f{constructor(){c(this,"add",o),c(this,"done",C),c(this,"search",D),c(this,"toJS",P),c(this,"load",w),c(this,"dispose",O),c(this,"fromExternalJS",S)}}let l=[];t.tokenizer.separator=/\s+/;let p,m,g;function E(){p=new t.Builder,p.field("title"),p.field("description"),p.ref("ref"),p.pipeline.add(t.trimmer,t.stopWordFilter,t.stemmer),g=new Promise(A=>{m=A})}E();const x=A=>"*"+t.stemmer(new t.Token(A,{}))+"*";function o(A,N,T){const $=l.push(T)-1,R={title:A.toLowerCase(),description:N.toLowerCase(),ref:$};p.add(R)}function C(){return h(this,null,function*(){m(p.build())})}function P(){return h(this,null,function*(){return{store:l,index:(yield g).toJSON()}})}function S(A,N){return h(this,null,function*(){try{if(importScripts(A),!self[N])throw new Error("Broken index file format");yield w(self[N])}catch(T){console.error("Failed to load search index: "+T.message)}})}function w(A){return h(this,null,function*(){l=A.store,m(t.Index.load(A.index))})}function O(){return h(this,null,function*(){l=[],E()})}function D(A,N=0){return h(this,null,function*(){if(A.trim().length===0)return[];let T=(yield g).query($=>{A.trim().toLowerCase().split(/\s+/).forEach(R=>{if(R.length===1)return;const j=x(R);$.term(j,{})})});return N>0&&(T=T.slice(0,N)),T.map($=>({meta:l[$.ref],score:$.score}))})}},75150:(k,v,e)=>{"use strict";var t=e(5283),a=e(56704),d=e(44873)},67574:(k,v,e)=>{"use strict";e.d(v,{s:()=>t,t:()=>a});var t=(d=>(d.SummaryOnly="summary-only",d.PathFirst="path-first",d.IdOnly="id-only",d))(t||{}),a=(d=>(d.None="none",d.Section="section",d.Item="item",d))(a||{})},26225:(k,v,e)=>{"use strict";e.d(v,{CY:()=>w,EA:()=>S,I8:()=>N,JQ:()=>D,PP:()=>E,Qr:()=>P,lN:()=>o,mm:()=>x,p8:()=>O,rS:()=>A});var t=e(64876),a=e.n(t),d=e(91885),i=Object.defineProperty,c=Object.getOwnPropertySymbols,h=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,l=(T,$,R)=>$ in T?i(T,$,{enumerable:!0,configurable:!0,writable:!0,value:R}):T[$]=R,p=(T,$)=>{for(var R in $||($={}))h.call($,R)&&l(T,R,$[R]);if(c)for(var R of c($))f.call($,R)&&l(T,R,$[R]);return T},m=(T,$,R)=>new Promise((j,J)=>{var se=de=>{try{te(R.next(de))}catch(ke){J(ke)}},H=de=>{try{te(R.throw(de))}catch(ke){J(ke)}},te=de=>de.done?j(de.value):Promise.resolve(de.value).then(se,H);te((R=R.apply(T,$)).next())});function g(T,$){return!T||!$?!1:E(T)===E($)}function E(T){if(!T)return;const $=T.split(";")[0].toLowerCase(),[R,j]=$.split("/");if(j===void 0)return R;const se=j.split("+").pop();return`${R}/${se}`}function x(T){const $=new RegExp("%7B","g"),R=new RegExp("%7D","g");return T.replace($,"{").replace(R,"}").replace("///","//")}function o(T,$){if(!(T.length&&C(T)))return $;const R=T.filter(j=>Object.keys(j).length>0);return $.forEach(function(j,J){(0,d.Gk)(j)?R[J]=a()(T[J],j,{arrayMerge:o}):Array.isArray(j)?R.push(j):R[J]=j}),R}const C=T=>T.some($=>(0,d.Kn)($)&&Object.keys($).length>0);function P(T){return!!T&&Object.keys(T).length===0}const S=typeof window<"u"&&(window.crypto||window.msCrypto)||void 0;function w(T=32){let $="";for(;$.length<T;)$+=Math.random().toString(32).substring(2);return $.substring(0,T)}function O(T){const $=p({randomStr:w()},T);return btoa(JSON.stringify($))}function D(T){return m(this,null,function*(){const $=new TextEncoder().encode(T);return S?.subtle.digest("SHA-256",$)})}function A(T){if(T)return btoa(String.fromCharCode.apply(null,new Uint8Array(T))).replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/,"")}function N(T){if(typeof T!="object"||T===null)return T;const $=Array.isArray(T)?[]:{};for(const R in T){const j=T[R];$[R]=N(j)}return $}},51394:(k,v,e)=>{"use strict";e.d(v,{I:()=>i});var t=e(16685),a=e.n(t);const d=a().parse;class i{static baseName(f="",l=1){const p=i.parse(f);return p[p.length-l]}static dirName(f,l=1){const p=i.parse(f);return a().compile(p.slice(0,p.length-l))}static relative(f,l){const p=i.parse(f);return i.parse(l).slice(p.length)}static parse(f=""){let l=f;return l.charAt(0)==="#"&&(l=l.substring(1)),d(l)}static join(f,l){const m=i.parse(f).concat(l);return a().compile(m)}static get(f,l){return a().get(f,l)}static compile(f){return a().compile(f)}static escape(f){return a().escape(f)}}a().parse=i.parse,Object.assign(i,a());var c=null},2526:(k,v,e)=>{"use strict";e.d(v,{I:()=>t});function t(a){return{source:{absoluteRef:""},parsed:a}}},474:(k,v,e)=>{"use strict";e.d(v,{Qg:()=>t,R2:()=>a});const t=typeof window<"u"&&"HTMLElement"in window;function a(i){return typeof document<"u"?document.querySelector(i):null}function d(i){return i.split(/<[^>]+>/).map(c=>c.trim()).filter(c=>c.length>0).join(" ")}typeof Element<"u"&&!Element.prototype.scrollIntoViewIfNeeded&&(Element.prototype.scrollIntoViewIfNeeded=function(i){i=arguments.length===0?!0:!!i;const c=this.parentNode,h=window.getComputedStyle(c,void 0),f=parseInt(h.getPropertyValue("border-top-width"),10),l=parseInt(h.getPropertyValue("border-left-width"),10),p=this.offsetTop-c.offsetTop<c.scrollTop,m=this.offsetTop-c.offsetTop+this.clientHeight-f>c.scrollTop+c.clientHeight,g=this.offsetLeft-c.offsetLeft<c.scrollLeft,E=this.offsetLeft-c.offsetLeft+this.clientWidth-l>c.scrollLeft+c.clientWidth,x=p&&!m;(p||m)&&i&&(c.scrollTop=this.offsetTop-c.offsetTop-c.clientHeight/2-f+this.clientHeight/2),(g||E)&&i&&(c.scrollLeft=this.offsetLeft-c.offsetLeft-c.clientWidth/2-l+this.clientWidth/2),(p||m||g||E)&&!i&&this.scrollIntoView(x)})},91885:(k,v,e)=>{"use strict";e.d(v,{Gk:()=>R,Hm:()=>xe,Kk:()=>J,Kn:()=>N,Lf:()=>he,MI:()=>H,PD:()=>S,Pj:()=>T,Q8:()=>P,U2:()=>z,XO:()=>le,bG:()=>ae,bv:()=>se,jW:()=>C,jZ:()=>te,kE:()=>O,rR:()=>re,s1:()=>L,uW:()=>ee,zD:()=>$});var t=e(51121),a=e(77703),d=e(51394),i=e(474),c=e(24760),h=Object.defineProperty,f=Object.defineProperties,l=Object.getOwnPropertyDescriptors,p=Object.getOwnPropertySymbols,m=Object.prototype.hasOwnProperty,g=Object.prototype.propertyIsEnumerable,E=(ce,Ce,Ie)=>Ce in ce?h(ce,Ce,{enumerable:!0,configurable:!0,writable:!0,value:Ie}):ce[Ce]=Ie,x=(ce,Ce)=>{for(var Ie in Ce||(Ce={}))m.call(Ce,Ie)&&E(ce,Ie,Ce[Ie]);if(p)for(var Ie of p(Ce))g.call(Ce,Ie)&&E(ce,Ie,Ce[Ie]);return ce},o=(ce,Ce)=>f(ce,l(Ce));function C(ce,Ce){const Ie=[];for(let st=0;st<ce.length-1;st++)Ie.push(Ce(ce[st],!1));return ce.length!==0&&Ie.push(Ce(ce[ce.length-1],!0)),Ie}function P(ce,Ce){const Ie={};for(const st in ce)Object.prototype.hasOwnProperty.call(ce,st)&&(Ie[st]=Ce(ce[st],st,ce));return Ie}function S(ce,Ce){const Ie=[],st=Ze=>{for(const ot of Ze)Ie.push(ot),ot[Ce]&&st(ot[Ce])};return st(ce),Ie}function w(ce){return ce.endsWith("/")?ce.substring(0,ce.length-1):ce}function O(ce){return!isNaN(parseFloat(ce))&&isFinite(ce)}function D(ce,Ce,Ie){const st=new RegExp(`(^|\\n)#\\s?${Ce}\\s*\\n`,"i"),Ze=new RegExp(`((\\n|^)#\\s*${Ce}\\s*(\\n|$)(?:.|\\n)*?)(\\n#|$)`,"i");if(st.test(ce))return ce.replace(Ze,`$1
|
|
1455
|
+
`}var So=Object.defineProperty,ti=Object.defineProperties,Fa=Object.getOwnPropertyDescriptors,di=Object.getOwnPropertySymbols,ji=Object.prototype.hasOwnProperty,Rs=Object.prototype.propertyIsEnumerable,Xs=(B,De,at)=>De in B?So(B,De,{enumerable:!0,configurable:!0,writable:!0,value:at}):B[De]=at,Hi=(B,De)=>{for(var at in De||(De={}))ji.call(De,at)&&Xs(B,at,De[at]);if(di)for(var at of di(De))Rs.call(De,at)&&Xs(B,at,De[at]);return B},Fl=(B,De)=>ti(B,Fa(De));const vs=1,rs={javascript:jt,node:fo,python:Lo,shell:tt,java8:so,java:Ys,csharp:qi,go:q,php:Ur,ruby:eo,r:{info:{key:"r",title:"R",extname:".r",default:"httr"},httr:function(B,De,{target:at,client:tn}){var un,jr,Nr,yr;const lr=Object.assign({indent:" ",showBoilerplate:!0,printBody:!0},De),Br=new No({indentation:lr.indent,variablesPrefix:lr.variablesPrefix,lang:E.R}),xr=B.method.toUpperCase(),Yr=(un=B.securityOAuth2ExtraCalls)==null?void 0:un[0];if(lr.showBoilerplate&&Br.push("library(httr)").blank(),Yr){const go="oauth2_",Gn=new Xa(Yr).convert(at,tn,Fl(Hi({},lr),{variablesPrefix:go,showBoilerplate:!1})),_o=`${go}data_req`;Br.push(Gn).push(`access_token = content(${_o}, "parsed")$access_token`).blank(),B.allHeaders.Authorization='paste("Bearer", access_token)'}let Xt,Gr="";if(B?.postData)switch((0,c.PP)((jr=B?.postData)==null?void 0:jr.mimeType)){case h.Tr.URL_ENCODED:{Xt="form",Gr=Br.var("body");const go=uo(B.postData.params,lr);Br.push(`${Gr} <- list(${go})`).blank();break}case h.Tr.JSON:{Xt="json",Gr=Br.var("body");const go=Vo(B.postData.jsonObj,lr);Br.push(`${Gr} = '${go}'`).blank();break}case h.Tr.MULTIPART:{Xt="multipart",Gr=Br.var("body");const go=uo(B.postData.params,lr);Br.push(`${Gr} <- list(${go})`).blank();break}default:(Nr=B.postData)!=null&&Nr.text&&(Gr=Br.var("body"),Xt="raw",Br.push(`${Gr} = ${Vo((yr=B.postData)==null?void 0:yr.text)}`).blank())}Nt(B,Br),Object.keys(Hi(Hi({},B.pathParameters),B.serverVariables)).length&&Br.blank().push("# create you own operator").push('"%&%" <- function(x, y)paste0(x,y)').blank();const er=Et(B,Br);Br.push(`url = ${er}`).blank();const Pn=Br.var("data_req");if(Br.push(`${Pn} <- ${xr}(`),Br.push(vs,"url,"),B.basicAuth){const{username:go,password:Gn}=B.basicAuth;Br.push(vs,`authenticate("${go}", "${Gn}")`)}if(Object.keys(B.allHeaders).length){const go=`${Object.keys(B.allHeaders).map(Gn=>`"${Gn}" = ${B.allHeaders[Gn].startsWith("paste")?B.allHeaders[Gn]:`"${B.allHeaders[Gn]}"`}`).join(", ")}`;go&&Br.push(vs,`add_headers(${go}),`)}return Gr&&(Br.push(vs,`body = ${Gr},`),Br.push(vs,`encode = "${Xt}",`)),Br.push(vs,"verbose()"),Br.push(")"),lr.printBody&&Br.blank().push(`content(${Pn}${Xt==="raw"?', "text"':""})`),Br.join()}}};function ac(B,De){if(B[De.name]===void 0)return B[De.name]=De.value,B;if(B[De.name]instanceof Array)return B[De.name].push(De.value),B;const at=[B[De.name],De.value];return B[De.name]=at,B}var Bl=Object.defineProperty,qs=Object.defineProperties,ns=Object.getOwnPropertyDescriptors,el=Object.getOwnPropertySymbols,Cl=Object.prototype.hasOwnProperty,tl=Object.prototype.propertyIsEnumerable,Ki=(B,De,at)=>De in B?Bl(B,De,{enumerable:!0,configurable:!0,writable:!0,value:at}):B[De]=at,gs=(B,De)=>{for(var at in De||(De={}))Cl.call(De,at)&&Ki(B,at,De[at]);if(el)for(var at of el(De))tl.call(De,at)&&Ki(B,at,De[at]);return B},Ts=(B,De)=>qs(B,ns(De)),ic=(B,De,at)=>(Ki(B,typeof De!="symbol"?De+"":De,at),at);class Xa{constructor(De){ic(this,"request");const at=gs({},De);this.request=this.prepare(Ts(gs({},at),{httpVersion:at.httpVersion||"HTTP/1.1",queryString:at.queryString||[],headers:at.headers||[],cookies:at.cookies||[],postData:at.postData?Ts(gs({},at.postData),{jsonObj:void 0,paramsObj:void 0}):void 0,bodySize:0,headersSize:0,queryObj:{},headersObj:{},cookiesObj:{},allHeaders:{},uriObj:{},fullUrl:"",pathParameters:at.pathParameters||{},serverVariables:at.serverVariables||{}}))}prepare(De){var at;if(De.queryString&&De.queryString.length&&(De.queryObj=De.queryString.reduce(ac,{})),De.headers&&De.headers.length){const un=/^HTTP\/2/;De.headersObj=De.headers.reduce(function(jr,Nr){let yr=Nr.name;return De.httpVersion.match(un)&&(yr=yr.toLowerCase()),jr[yr]=Nr.value,jr},{})}De.cookies&&De.cookies.length&&(De.cookiesObj=De.cookies.reduceRight(function(un,jr){return un[jr.name]=jr.value,un},{}));const tn=De.cookies.map(function(un){return encodeURIComponent(un.name)+"="+encodeURIComponent(un.value)});if(tn.length&&(De.allHeaders.cookie=tn.join("; ")),De.postData)switch((0,c.PP)(De.postData.mimeType)){case"multipart/mixed":case"multipart/related":case h.Tr.MULTIPART:case"multipart/alternative":break;case h.Tr.URL_ENCODED:(at=De.postData)!=null&&at.params?(De.postData.paramsObj=De.postData.params.reduce(ac,{}),De.postData.text=i.uM.stringify(De.postData.paramsObj)):De.postData.text="";break;case"text/json":case"text/x-json":case h.Tr.JSON:case"application/x-json":if(De.postData.text)try{De.postData.jsonObj=JSON.parse(De.postData.text)}catch{De.postData.mimeType="text/plain"}break}return De.allHeaders=Object.assign(De.allHeaders,De.headersObj),De.uriObj=l.parse(De.url,!0,!0),De.queryObj=Object.assign(De.queryObj,De.uriObj.query),De.uriObj.query=null,De.uriObj.search=null,De.uriObj.path=De.uriObj.pathname=(0,c.mm)(De.uriObj.pathname),De.url=(0,c.mm)(l.format(De.uriObj)),De.uriObj.query=De.queryObj,De.uriObj.search=i.uM.stringify(De.queryObj),De.uriObj.search&&(De.uriObj.path=De.uriObj.pathname+"?"+De.uriObj.search),De.fullUrl=(0,c.mm)(l.format(De.uriObj)),De}convert(De,at,tn){!tn&&at&&(tn=at);const un=this._matchTarget(De,at);if(un){const jr=un(this.request,tn,{target:De,client:at});return jr.length===1?jr[0]:jr}throw new Error("Can not match target")}_matchTarget(De,at){return Object.prototype.hasOwnProperty.call(rs,De)?typeof at=="string"&&typeof rs[De][at]=="function"?rs[De][at]:rs[De][rs[De].info.default]:!1}}var js=e(88948),rl=Object.defineProperty,nl=Object.defineProperties,$l=Object.getOwnPropertyDescriptors,Ol=Object.getOwnPropertySymbols,Us=Object.prototype.hasOwnProperty,ys=Object.prototype.propertyIsEnumerable,$a=(B,De,at)=>De in B?rl(B,De,{enumerable:!0,configurable:!0,writable:!0,value:at}):B[De]=at,xa=(B,De)=>{for(var at in De||(De={}))Us.call(De,at)&&$a(B,at,De[at]);if(Ol)for(var at of Ol(De))ys.call(De,at)&&$a(B,at,De[at]);return B},fi=(B,De)=>nl(B,$l(De));function mi(B,{exampleName:De="",skipOptionalParameters:at=!1,withOAuth2Call:tn=!1,spec:un,generatedPayloadSamplesMaxDepth:jr=8,pathParams:Nr={},properties:yr={}},{activeServer:lr,requestValues:Br}){var xr,Yr,Xt,Gr;const{securityHeaders:er,securityCookies:Pn,securityQueries:go,securityOAuth2ExtraCalls:Gn,basicAuth:_o}=Ai((xr=B.security)==null?void 0:xr[0],tn),wn=((Yr=B?.requestBody)==null?void 0:Yr.content)&&(0,js.T)(B.requestBody.content),oa={skipNonRequired:at,skipReadOnly:!0,maxSampleDepth:jr},Sa={path:Br?.path,cookie:Br?.cookie,header:Br?.header,query:Br?.query,body:Br?.body};let vi=!1;const zs=B.parameters.filter(Jo=>Jo.in==="header").filter(Jo=>!(at&&!Jo.required)).map(Jo=>{var yi;return{name:Jo.name,value:((yi=Sa.header)==null?void 0:yi[Jo.name])||(0,i.X_)("header",Jo.name)||(0,i.d$)(Jo,t.UP(Jo.schema.rawSchema,oa,un))}}).map(Jo=>(wn?.name&&Jo.name.toLowerCase()==="content-type"&&(vi=!0,Jo.value=wn.name),Jo)).concat(er);!vi&&wn?.name&&zs.unshift({name:"Content-Type",value:wn?.name});const Ti=B.parameters.filter(Jo=>Jo.in==="cookie").filter(Jo=>!(at&&!Jo.required)).map(Jo=>i.uM.parse((0,i.d$)(Jo,t.UP(Jo.schema.rawSchema,oa,un)))).reduce((Jo,yi)=>{var ri;for(const[is,ki]of Object.entries(yi))Jo.push({name:is,value:String(((ri=Sa.cookie)==null?void 0:ri[is])||ki)});return Jo},[]).concat(Pn),il=B.parameters.filter(Jo=>Jo.in==="query").filter(Jo=>!(at&&!Jo.required)).map(Jo=>i.uM.parse((0,i.d$)(Jo,t.UP(Jo.schema.rawSchema,oa,un)))).reduce((Jo,yi)=>{var ri,is,ki;for(const[Hs,hl]of Object.entries(yi))Jo.push({name:Hs,value:(0,i.Pj)((ri=Sa.query)==null?void 0:ri[Hs])&&JSON.stringify((0,i.zD)((is=Sa.query)==null?void 0:is[Hs]))||String(((ki=Sa.query)==null?void 0:ki[Hs])||hl)});return Jo},[]).concat(go),jl=(Xt=lr||B.activeServer)==null?void 0:Xt.url.replace(/\/$/,""),Li=B.path.replace(/^\//,""),Vs=`${jl}/${Li}`,fl=B.parameters.filter(Jo=>Jo.in==="path").reduce((Jo,yi)=>{var ri;const{in:is,name:ki}=yi;return Jo[ki]=((ri=Sa.path)==null?void 0:ri[ki])||Nr[ki]||(0,i.X_)(is,ki),Jo},{}),Ws=(Gr=wn?.examples)==null?void 0:Gr[De],Pl=wn?.examples||{},[pl]=Object.values(Pl),Es=Sa.body||Ws?.value||pl?.value||wn?.schema&&t.UP(wn?.schema.rawSchema,oa,un),ks=wn?.name.toLowerCase();let Zi="",gi=[];switch((0,c.PP)(ks)){case h.Tr.JSON:Zi=JSON.stringify(al(Es,yr));break;case h.Tr.URL_ENCODED:case h.Tr.MULTIPART:Zi=i.uM.stringify(al(Es,yr)),gi=Ri(al(Es,yr));break;default:Zi=String(Es||"")}const as=Zi?{mimeType:wn?.name||h.Tr.OCTET_STREAM,text:Zi,params:gi}:void 0,Gi=B.responses.map(Jo=>Jo.code);return{method:B.httpVerb,url:Vs,httpVersion:"HTTP/1.1",cookies:Ti,headers:zs,queryString:il,postData:as,headersSize:-1,bodySize:-1,securityOAuth2ExtraCalls:Gn,basicAuth:_o,pathParameters:fl,serverVariables:lr?.variables||B.activeServer.variables,allResponseCodes:Gi}}const Ha={withImports:!0,withComments:!1},os={curl:{code:"shell",defaultTarget:"curl",defaultOptions:fi(xa({},Ha),{short:!0})},JavaScript:{code:"javascript",defaultTarget:"fetch",defaultOptions:fi(xa({},Ha),{withImports:!1})},"Node.js":{code:"node",defaultTarget:"fetch",defaultOptions:xa({},Ha)},Python:{code:"python",defaultTarget:"requests",defaultOptions:xa({},Ha)},"Java8+Apache":{code:"java8",defaultTarget:"apachehttp",defaultOptions:xa({},Ha)},Java:{code:"java",defaultTarget:"httpclient",defaultOptions:xa({},Ha)},"C#":{code:"csharp",defaultTarget:"httpclient",defaultOptions:xa({},Ha)},Go:{code:"go",defaultTarget:"http.DefaultClient",defaultOptions:xa({},Ha)},PHP:{code:"php",defaultTarget:"curl",defaultOptions:xa({},Ha)},Ruby:{code:"ruby",defaultTarget:"net::http",defaultOptions:xa({},Ha)},R:{code:"r",defaultTarget:"httr",defaultOptions:xa({},Ha)}};function ol({lang:B,operation:De,exampleName:at,pathParams:tn,properties:un,options:jr={}}){try{const{skipOptionalParameters:Nr,withOAuth2Call:yr,spec:lr,generatedPayloadSamplesMaxDepth:Br,store:xr}=jr,Yr=mi(De,{exampleName:at,pathParams:tn,properties:un,skipOptionalParameters:Nr,withOAuth2Call:yr,spec:lr,generatedPayloadSamplesMaxDepth:Br},xr),Xt=new Xa(Yr);return os[B]?Xt.convert(os[B].code,os[B].defaultTarget,xa(xa({},os[B].defaultOptions),jr)):"Language is not supported."}catch(Nr){return console.error(Nr),"Failed to generate code sample."}}function Ai(B,De){var at,tn,un,jr;const Nr={securityHeaders:[],securityCookies:[],securityQueries:[],securityOAuth2ExtraCalls:[],basicAuth:void 0};for(const yr of B?.schemes||[]){const lr=(0,i.lX)(yr.id);switch(yr.type){case"openIdConnect":(at=Nr.securityHeaders)==null||at.push({name:"Authorization",value:"Bearer <YOUR_TOKEN_HERE>"});break;case"oauth2":{const Br=lr.token?`${lr.token.token_type||"Bearer"} ${lr.token.access_token}`:"Bearer <YOUR_TOKEN_HERE>";yr.flows.clientCredentials&&De?Nr.securityOAuth2ExtraCalls.push(Zo(yr.flows.clientCredentials,yr.scopes,lr)):yr.flows.password&&De&&Nr.securityOAuth2ExtraCalls.push(Ft(yr.flows.password,yr.scopes,lr)),(tn=Nr.securityHeaders)==null||tn.push({name:"Authorization",value:Br});break}case"apiKey":{const Br=lr.raw||"YOUR_API_KEY_HERE";yr.in==="header"&&((un=Nr.securityHeaders)==null||un.push({name:yr.name,value:Br})),yr.in==="cookie"&&Nr.securityCookies.push({name:yr.name,value:Br}),yr.in==="query"&&Nr.securityQueries.push({name:yr.name,value:Br});break}case"http":yr.scheme==="basic"?Nr.basicAuth={username:lr.username||`<${Kr.toSnakeCase((0,f.l)("tryItAuthBasicUsername"))}>`,password:lr.password||`<${Kr.toSnakeCase((0,f.l)("tryItAuthBasicPassword"))}>`}:(jr=Nr.securityHeaders)==null||jr.push({name:"Authorization",value:`${bs(yr.scheme||"bearer")} <YOUR_${yr.bearerFormat||"TOKEN"}_HERE>`});break}}return Nr}function Ft(B,De,at){return{method:"POST",url:B.tokenUrl,httpVersion:"HTTP/1.1",headers:[{name:"Content-Type",value:h.Tr.URL_ENCODED},{name:"Accept",value:h.Tr.JSON}],queryString:[],postData:{mimeType:h.Tr.URL_ENCODED,text:"",params:[{name:"grant_type",value:"password"},{name:"client_id",value:at.client_id||"YOUR_CLIENT_ID"},{name:"client_secret",value:at.client_secret||"YOUR_CLIENT_SECRET"},{name:"username",value:at.username||"<username>"},{name:"password",value:at.password||"<password>"},De.length?{name:"scope",value:De.join(" ")}:void 0].filter(Oo)},cookies:[],headersSize:-1,bodySize:-1,securityOAuth2ExtraCalls:[]}}function Zo(B,De,at){return{method:"POST",url:B.tokenUrl,httpVersion:"HTTP/1.1",headers:[{name:"Content-Type",value:h.Tr.URL_ENCODED},{name:"Accept",value:h.Tr.JSON}],queryString:[],postData:{mimeType:h.Tr.URL_ENCODED,text:"",params:[{name:"grant_type",value:"client_credentials"},{name:"client_id",value:at.client_id||"YOUR_CLIENT_ID"},{name:"client_secret",value:at.client_secret||"YOUR_CLIENT_SECRET"},De.length?{name:"scope",value:De.join(" ")}:void 0].filter(Oo)},cookies:[],headersSize:-1,bodySize:-1,securityOAuth2ExtraCalls:[]}}function al(B,De){if(B){if(typeof B=="object")return d()(B,De,{arrayMerge:c.lN});try{return d()(JSON.parse(B),De,{arrayMerge:c.lN})}catch{return!1}}return!1}function Ri(B){const De=[];for(const[at,tn]of Object.entries(B))De.push({name:at,value:String(tn)});return De}function Oo(B){return B!==void 0}function bs(B){return B.charAt(0).toUpperCase()+B.slice(1)}},22274:(k,v,e)=>{"use strict";e.d(v,{getCodeSample:()=>t.aP});var t=e(13368),a=e(87873),d=e.n(a);e.o(a,"Pagination")&&e.d(v,{Pagination:function(){return a.Pagination}}),e.o(a,"SideNavStyle")&&e.d(v,{SideNavStyle:function(){return a.SideNavStyle}}),e.o(a,"l")&&e.d(v,{l:function(){return a.l}}),e.o(a,"normalizeOptions")&&e.d(v,{normalizeOptions:function(){return a.normalizeOptions}})},87873:()=>{},7660:(k,v,e)=>{"use strict";e.d(v,{Ix:()=>c,mi:()=>h});var t=e(85739),a=e(88948);function d(f,l){return f===l||"#"+f===l||f==="#"+l}function i(f){var l,p,m,g,E,x,o,C,P,S,w,O,D;if(!f.in){if(f.deps.type==="request"&&(m=(p=(l=f.deps.operation)==null?void 0:l.requestBody)==null?void 0:p.content)!=null&&m.mediaTypes)return((x=(E=(g=f.deps.operation)==null?void 0:g.requestBody)==null?void 0:E.content)==null?void 0:x.mediaTypes.length)>1?((C=(o=f.deps.operation)==null?void 0:o.requestBody)==null?void 0:C.content)&&(0,a.T)(f.deps.operation.requestBody.content).name:void 0;if(f.deps.type==="response"&&(S=(P=f.deps.response)==null?void 0:P.content)!=null&&S.mediaTypes)return((O=(w=f.deps.response)==null?void 0:w.content)==null?void 0:O.mediaTypes.length)>1?((D=f.deps.response)==null?void 0:D.content)&&(0,a.T)(f.deps.response.content).name:void 0}}function c(f){var l,p;if(!f)return"";const m={t:f.deps.type,in:f.in||f.deps.in,c:f.deps.type==="response"?(l=f.deps.response)==null?void 0:l.code:void 0,cb:(p=f.deps.operation)!=null&&p.isCallback?f.deps.operation.callbackId:void 0,ct:i(f),path:f.fieldFullPath};return t.uM.stringify(m,{encode:!1,sort:!1})}function h(f="",l="",p="/"){return f.endsWith(p)&&(f=f.slice(0,-p.length)),l.startsWith(p)&&(l=l.slice(p.length)),!f||!l?f+l:f+p+l}},43047:(k,v,e)=>{"use strict";e.d(v,{mi:()=>t.mi});var t=e(7660)},95709:(k,v,e)=>{"use strict";e.d(v,{MarkerService:()=>l.u,OpenAPIParser:()=>c.Xo,Pagination:()=>d.t,SideNavStyle:()=>d.s,buildContentItems:()=>h.w,getCodeSample:()=>a.getCodeSample,joinWithSeparator:()=>t.mi,l:()=>i.l,normalizeOptions:()=>p.G});var t=e(43047),a=e(22274);e.o(a,"Pagination")&&e.d(v,{Pagination:function(){return a.Pagination}}),e.o(a,"SideNavStyle")&&e.d(v,{SideNavStyle:function(){return a.SideNavStyle}}),e.o(a,"l")&&e.d(v,{l:function(){return a.l}}),e.o(a,"normalizeOptions")&&e.d(v,{normalizeOptions:function(){return a.normalizeOptions}});var d=e(67574),i=e(45460),c=e(87970),h=e(81634),f=e(75150),l=e(49754),p=e(66921),m=e(26225)},45460:(k,v,e)=>{"use strict";e.d(v,{l:()=>d});const t={enum:"Enum",enumSingleValue:"Value",enumArray:"Items",default:"Default",deprecated:"Deprecated",example:"Example",examples:"Examples",recursive:"Recursive",arrayOf:"Array of ",webhook:"Event",const:"Value",authorizations:"Security",tryItBody:"Body",tryItParameters:"Parameters",tryItAuth:"Security",tryItAuthBasicUsername:"Username",tryItAuthBasicPassword:"Password",download:"Download",downloadSpecification:"Download OpenAPI specification",request:"Request",responses:"Responses",callbackResponses:"Callback responses",callbacks:"Callbacks",requestSamples:"Request samples",responseSamples:"Response samples"};function a(i){Object.assign(t,i)}function d(i,c){const h=t[i];return c!==void 0?h[c]:h}},81634:(k,v,e)=>{"use strict";e.d(v,{w:()=>se});var t=e(56529),a=e(42112),d=e(85739),i=e(53412),c=e(99924),h=e(67574),f=e(53134);function l(H,te,de,ke=2,he=h.t.Section){const le=(0,d.HD)(H)?(0,c.Qc)(H):c.wS.fromJSON(H?.result),Se=[];let z;const U=(ee,ae,xe=Se,ce,Ce)=>{ee=(0,d.Lf)(ee);let Ie;ce.attributes.id?Ie=ce.attributes.id:(Ie=Ce?`${Ce}/${(0,d.bO)(ee)}`:`section/${(0,d.bO)(ee)}`,ce.attributes.id=Ie);const st={id:Ie,name:ee,level:ae,items:[],ast:[ce]};return xe.push(st),st},L=(ee,ae)=>{var xe,ce;(ce=(xe=ee[ee.length-1])==null?void 0:xe.ast)==null||ce.push(ae)},re=ee=>{var ae;for(const xe of ee.children){const ce=m(xe)||"";xe.type==="heading"&&xe.attributes.level===1?z=U(ce,xe.attributes.level,void 0,xe):xe.attributes.level<=ke?U(ce,xe.attributes.level,z?.items,xe,z?.id):(ae=z?.items)!=null&&ae.length?L(z?.items,xe):Se?.length&&L(Se,xe)}};if(Array.isArray(le))for(const ee of le)re(ee);else re(le);return p(te,Se,de,{pagination:he,markdownHeadingsAnchorLevel:ke})}function p(H,te,de=1,ke){return te.map(he=>{const le=(0,f.getTagOrGroup)("section",he,ke,H);return le.depth=de,he.items&&(le.items=p(le,he.items,de+1,ke)),le})}function m(H){var te,de;if(typeof((te=H?.attributes)==null?void 0:te.content)=="string")return(de=H.attributes)==null?void 0:de.content;if(H?.children)return m(H.children[0])}var g=Object.defineProperty,E=Object.defineProperties,x=Object.getOwnPropertyDescriptors,o=Object.getOwnPropertySymbols,C=Object.prototype.hasOwnProperty,P=Object.prototype.propertyIsEnumerable,S=(H,te,de)=>te in H?g(H,te,{enumerable:!0,configurable:!0,writable:!0,value:de}):H[te]=de,w=(H,te)=>{for(var de in te||(te={}))C.call(te,de)&&S(H,de,te[de]);if(o)for(var de of o(te))P.call(te,de)&&S(H,de,te[de]);return H},O=(H,te)=>E(H,x(te));function D(H,te,de,ke,he){let le;if(ke===void 0?le=Object.keys(te):le=ke.tags,!Array.isArray(le))return console.warn("Unexpected values of tags. Check tags or x-tagGroups in your definition."),[];const Se=le.map(U=>te[U]?(te[U].used=!0,te[U]):(console.warn(`Non-existing tag "${U}" is added to the group "${ke?.name}"`),null)),z=[];for(const U of Se){if(!U)continue;const L=(0,t.S)("tag",U,{pagination:he.pagination,markdownHeadingsAnchorLevel:he.markdownHeadingsAnchorLevel},de);if(L.depth=a.tT+1,U.name===""){const ee=[...l((0,d.Hm)(U,"description")||"",L,L.depth+1,he.markdownHeadingsAnchorLevel,he.pagination),...(0,i.q)(void 0,U,L.depth+1,he)];z.push(...ee);continue}const re=N({definition:H.definition,tag:U,parent:L,schemaDefinitionsTagName:he.schemaDefinitionsTagName,options:{pagination:he.pagination,markdownHeadingsAnchorLevel:he.markdownHeadingsAnchorLevel}});L.items=[...re,...l((0,d.Hm)(U,"description")||"",L,L.depth+1,he.markdownHeadingsAnchorLevel,he.pagination),...(0,i.q)(L,U,L.depth+1,he)],z.push(L)}return he.sortTagsAlphabetically&&z.sort((0,d.Bi)("name")),z}function A(H,te,de,ke,he){const le=[];for(const Se of de){const z=(0,t.S)("group",Se,{pagination:he.pagination,markdownHeadingsAnchorLevel:he.markdownHeadingsAnchorLevel},te);z.depth=a.tT,z.items=D(H,ke,z,Se,he),le.push(z)}return le}function N({definition:H,tag:te,parent:de,schemaDefinitionsTagName:ke,options:he}){var le;const Se=ke?[ke]:[];return Object.entries(((le=H.components)==null?void 0:le.schemas)||{}).map(([z,U])=>{if(!(U["x-tags"]||Se).includes(te.name))return null;const re=(0,t.S)("schema",{name:z,"x-displayName":`${U.title||z}`,description:`{% schemaDefinition showWriteOnly="true" schemaRef="#/components/schemas/${z}" /%}`,isSchema:!0,level:2},he,de);return re.depth=de.depth+1,re}).filter(Boolean)}function T(H,te){const{definition:de}=H,ke={},he=de["x-webhooks"]||de.webhooks;for(const le of te||[])ke[le.name]=O(w({},le),{operations:[]});return de.paths&&$(H,de.paths,ke),he&&$(H,he,ke,!0),ke}function $(H,te,de,ke){for(const he of Object.keys(te||{})){const le=te[he],Se=Object.keys(le).filter(d.eU);for(const z of Se){const U=le[z];if(le.$ref){const{resolved:re}=H.deref(le);$(H,{[he]:re},de,ke);continue}let L=U?.tags;(!L||!L.length)&&(L=[""]);for(const re of L){let ee=de[re];ee===void 0&&(ee={name:re,operations:[]},de[re]=ee),!ee["x-traitTag"]&&ee.operations.push(O(w({},U),{pathName:he,pointer:d.IB.compile(["paths",he,z]),httpVerb:z,pathParameters:le.parameters||[],pathServers:le.servers,isWebhook:!!ke}))}}}}var R=e(43047);function j(H,te){var de,ke;const{definition:he}=H,{hideInfoSection:le,hideInfoDescription:Se,pagination:z,schemaDefinitionsTagName:U,markdownHeadingsAnchorLevel:L,infoLabel:re}=te,ee=!le||z==="none"?[{id:"",name:((de=he?.info)==null?void 0:de["x-label"])||re||((ke=he?.info)==null?void 0:ke.title)||"Overview",href:"/",depth:le?-1:1,level:1,type:"section",infoDefinition:he.info,items:[]}]:[],ae=[...he.tags||[]];!ae.find(Ie=>Ie?.name===U)&&U&&ae.push({name:U});const ce=T(H,ae),Ce=he["x-tagGroups"];return!le&&!Se&&ee.push(...l((0,d.Hm)(he.info,"description")||"",void 0,1,L,z)),Ce&&Ce.length>0?ee.push(...A(H,void 0,Ce,ce,te)):ee.push(...D(H,ce,void 0,void 0,te)),ee}function J(H,te){return H.map(de=>(de.href&&(de.href=(0,d.AH)((0,R.mi)(te,de.href,"/"))),de.id&&de.type==="tag"&&(de.id=(0,d.AH)((0,R.mi)(te,de.id,"/"))),de.items&&J(de.items,te),de))}function se(H,te){const de=j(H,te),ke=H.versionPath?J(de,H.versionPath):de,he=(0,d.PD)(ke||[],"items");return{contentItems:ke,flatItems:he}}},53412:(k,v,e)=>{"use strict";e.d(v,{q:()=>i,w:()=>c});var t=e(85739),a=e(67574),d=e(43047);function i(h,f,l,p){if(f.operations.length===0)return[];const m=[];for(const g of f.operations){const E=(0,t.mE)(g,p.pagination,h),x="operation";m.push({id:E,type:x,parent:h,operationDefinition:g,depth:l,name:(0,t.rY)(g),httpVerb:g.httpVerb,path:g.pathName,items:[],isWebhook:g.isWebhook,operationId:g.operationId,href:c({id:E,type:x,parent:h},p.pagination)})}return p.sortOperationsAlphabetically&&m.sort((0,t.Bi)("name")),m}function c({type:h,id:f,parent:l},p){switch(p){case a.t.None:return`#${f}`;case a.t.Item:return h==="section"?l?.type==="tag"?(0,t.AH)((0,d.mi)(l.id,f,"#")):`#${f}`:l&&l.type!=="group"?(0,t.AH)((0,d.mi)(l.id,f)):(0,t.AH)(f);case a.t.Section:return h==="operation"||h==="schema"?l?(0,t.AH)((0,d.mi)(l.id,f,"#")):(0,t.AH)(`#${f}`):h==="section"?l?`#${f}`:(0,t.AH)(`#${f}`):(0,t.AH)(f);default:return""}}},56704:(k,v,e)=>{"use strict";e.d(v,{P:()=>o});var t=e(43507),a=e(5283),d=e(42112),i=e(79216),c=e(88948),h=e(1776),f=e(5489),l=e(85739),p=Object.defineProperty,m=(C,P,S)=>P in C?p(C,P,{enumerable:!0,configurable:!0,writable:!0,value:S}):C[P]=S,g=(C,P,S)=>(m(C,typeof P!="symbol"?P+"":P,S),S),E=(C,P,S)=>new Promise((w,O)=>{var D=T=>{try{N(S.next(T))}catch($){O($)}},A=T=>{try{N(S.throw(T))}catch($){O($)}},N=T=>T.done?w(T.value):Promise.resolve(T.value).then(D,A);N((S=S.apply(C,P)).next())});function x(C){return(0,l.bG)(C).replace(/\[(.*?)][[(].*?[\])]/g,"$1")}class o extends a.Z{constructor(P){super(),g(this,"operationTitleBoost",4),g(this,"tagTitleBoost",8),g(this,"fieldLevelBoost",.95),g(this,"pathOnly",!1),g(this,"searchMaxDepth",d.oP),P.searchOperationTitleBoost&&(this.operationTitleBoost=P.searchOperationTitleBoost),P.searchTagTitleBoost&&(this.tagTitleBoost=P.searchTagTitleBoost),P.searchFieldLevelBoost&&(this.fieldLevelBoost=P.searchFieldLevelBoost),P.searchMode==="path-only"&&(this.pathOnly=!0),P.searchMaxDepth&&(this.searchMaxDepth=P.searchMaxDepth)}indexItems(P){const S=w=>{w&&w.forEach(O=>{if(O.type==="operation"&&this.pathOnly){const D=O;this.add(D.path,"",{menuId:D.id,boost:this.operationTitleBoost});return}if(O.type!=="group"&&!this.pathOnly&&(this.add(O.name,O.type==="operation"?O.path:"",{menuId:O.id,boost:O.type==="operation"?this.operationTitleBoost:this.tagTitleBoost}),O.description&&this.add("",x(O.description||""),{menuId:O.id})),O.type==="operation"){const D=O.operationDefinition,{parser:A,options:N}=(0,t.$l)(i.cS),T=(0,h.b4)(A,D,void 0,N,O.href);for(const R of T.parameters||[])this.add(R.name,x(R.description),{menuId:O.id,place:"parameters",path:[R.name]});const $=T.requestBody&&T.requestBody.content&&(0,c.T)(T.requestBody.content).schema;this.indexSchema($,O.id,"request fields"),T.responses.forEach(R=>{const j=R.content&&(0,c.T)(R.content).schema;j&&this.indexSchema(j,O.id,`response ${R.code} fields`)})}S(O.items)})};S(P),this.searchWorker.done()}indexSchema(P,S,w,O=[],D=0){if(!P||D>this.searchMaxDepth||P.isCircular)return;const{activeOneOf:A}=(0,t.$l)((0,f.N)(P.deps.operation.pointer));if(P=P.oneOf&&P.oneOf[A]||P,P.fields)for(const N of P.fields){const T=O.concat([N.name]);N.kind!=="additionalProperties"&&(this.add(N.name,x(N.description),{menuId:S,place:w,path:T,boost:Math.pow(this.fieldLevelBoost,D)}),this.indexSchema(N.schema,S,w,T,D+1))}P.items&&this.indexSchema(P.items,S,w,O,D+1)}add(P,S,w){this.searchWorker.add(P,S,w)}search(P){return E(this,null,function*(){return yield this.searchWorker.search(P)})}toJS(){return E(this,null,function*(){return this.searchWorker.toJS()})}dispose(){"terminate"in this.searchWorker&&this.searchWorker.terminate(),this.searchWorker.dispose&&this.searchWorker.dispose()}}},44873:(k,v,e)=>{"use strict";e.d(v,{d:()=>h});var t=e(5283),a=Object.defineProperty,d=(f,l,p)=>l in f?a(f,l,{enumerable:!0,configurable:!0,writable:!0,value:p}):f[l]=p,i=(f,l,p)=>(d(f,typeof l!="symbol"?l+"":l,p),p),c=(f,l,p)=>new Promise((m,g)=>{var E=C=>{try{o(p.next(C))}catch(P){g(P)}},x=C=>{try{o(p.throw(C))}catch(P){g(P)}},o=C=>C.done?m(C.value):Promise.resolve(C.value).then(E,x);o((p=p.apply(f,l)).next())});class h extends t.Z{constructor(l){super(),this.url=l,i(this,"operationTitleBoost",4),i(this,"tagTitleBoost",8),i(this,"fieldLevelBoost",.95)}indexItems(l){}add(l,p,m){throw new Error("Not implemented")}search(l){return c(this,null,function*(){let p=[];try{if(p=yield(yield fetch(this.url+"?q="+encodeURIComponent(l))).json(),!Array.isArray(p))throw p=[],new Error("wrong search results format")}catch(m){console.error("Failed to load search results: "+m.message)}return p})}dispose(){super.dispose()}load(){}toJS(){return c(this,null,function*(){throw new Error("Not implemented")})}}},5283:(k,v,e)=>{"use strict";e.d(v,{Z:()=>f});var t=e(474),a=Object.defineProperty,d=(l,p,m)=>p in l?a(l,p,{enumerable:!0,configurable:!0,writable:!0,value:m}):l[p]=m,i=(l,p,m)=>(d(l,typeof p!="symbol"?p+"":p,m),m),c=(l,p,m)=>new Promise((g,E)=>{var x=P=>{try{C(m.next(P))}catch(S){E(S)}},o=P=>{try{C(m.throw(P))}catch(S){E(S)}},C=P=>P.done?g(P.value):Promise.resolve(P.value).then(x,o);C((m=m.apply(l,p)).next())});function h(){let l;if(t.Qg)try{l=e(93519)}catch{l=e(4687).ZP}else l=e(4687).ZP;return new l}class f{constructor(){i(this,"searchWorker",h())}indexItems(p){const m=g=>{g.forEach(E=>{E.type!=="group"&&this.add(E.name,E.description||"",E.id),m(E.items)})};m(p),this.searchWorker.done()}add(p,m,g){this.searchWorker.add(p,m,g)}dispose(){this.searchWorker.terminate(),this.searchWorker.dispose()}search(p){return this.searchWorker.search(p)}toJS(){return c(this,null,function*(){return this.searchWorker.toJS()})}load(p){this.searchWorker.load(p)}fromExternalJS(p,m){p&&m&&this.searchWorker.fromExternalJS(p,m)}}},4687:(k,v,e)=>{"use strict";e.d(v,{ZP:()=>f});var t=e(93112),a=e.n(t),d=Object.defineProperty,i=(A,N,T)=>N in A?d(A,N,{enumerable:!0,configurable:!0,writable:!0,value:T}):A[N]=T,c=(A,N,T)=>(i(A,typeof N!="symbol"?N+"":N,T),T),h=(A,N,T)=>new Promise(($,R)=>{var j=H=>{try{se(T.next(H))}catch(te){R(te)}},J=H=>{try{se(T.throw(H))}catch(te){R(te)}},se=H=>H.done?$(H.value):Promise.resolve(H.value).then(j,J);se((T=T.apply(A,N)).next())});class f{constructor(){c(this,"add",o),c(this,"done",C),c(this,"search",D),c(this,"toJS",P),c(this,"load",w),c(this,"dispose",O),c(this,"fromExternalJS",S)}}let l=[];t.tokenizer.separator=/\s+/;let p,m,g;function E(){p=new t.Builder,p.field("title"),p.field("description"),p.ref("ref"),p.pipeline.add(t.trimmer,t.stopWordFilter,t.stemmer),g=new Promise(A=>{m=A})}E();const x=A=>"*"+t.stemmer(new t.Token(A,{}))+"*";function o(A,N,T){const $=l.push(T)-1,R={title:A.toLowerCase(),description:N.toLowerCase(),ref:$};p.add(R)}function C(){return h(this,null,function*(){m(p.build())})}function P(){return h(this,null,function*(){return{store:l,index:(yield g).toJSON()}})}function S(A,N){return h(this,null,function*(){try{if(importScripts(A),!self[N])throw new Error("Broken index file format");yield w(self[N])}catch(T){console.error("Failed to load search index: "+T.message)}})}function w(A){return h(this,null,function*(){l=A.store,m(t.Index.load(A.index))})}function O(){return h(this,null,function*(){l=[],E()})}function D(A,N=0){return h(this,null,function*(){if(A.trim().length===0)return[];let T=(yield g).query($=>{A.trim().toLowerCase().split(/\s+/).forEach(R=>{if(R.length===1)return;const j=x(R);$.term(j,{})})});return N>0&&(T=T.slice(0,N)),T.map($=>({meta:l[$.ref],score:$.score}))})}},75150:(k,v,e)=>{"use strict";var t=e(5283),a=e(56704),d=e(44873)},67574:(k,v,e)=>{"use strict";e.d(v,{s:()=>t,t:()=>a});var t=(d=>(d.SummaryOnly="summary-only",d.PathFirst="path-first",d.IdOnly="id-only",d))(t||{}),a=(d=>(d.None="none",d.Section="section",d.Item="item",d))(a||{})},26225:(k,v,e)=>{"use strict";e.d(v,{CY:()=>w,EA:()=>S,I8:()=>N,JQ:()=>D,PP:()=>E,Qr:()=>P,lN:()=>o,mm:()=>x,p8:()=>O,rS:()=>A});var t=e(64876),a=e.n(t),d=e(91885),i=Object.defineProperty,c=Object.getOwnPropertySymbols,h=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,l=(T,$,R)=>$ in T?i(T,$,{enumerable:!0,configurable:!0,writable:!0,value:R}):T[$]=R,p=(T,$)=>{for(var R in $||($={}))h.call($,R)&&l(T,R,$[R]);if(c)for(var R of c($))f.call($,R)&&l(T,R,$[R]);return T},m=(T,$,R)=>new Promise((j,J)=>{var se=de=>{try{te(R.next(de))}catch(ke){J(ke)}},H=de=>{try{te(R.throw(de))}catch(ke){J(ke)}},te=de=>de.done?j(de.value):Promise.resolve(de.value).then(se,H);te((R=R.apply(T,$)).next())});function g(T,$){return!T||!$?!1:E(T)===E($)}function E(T){if(!T)return;const $=T.split(";")[0].toLowerCase(),[R,j]=$.split("/");if(j===void 0)return R;const se=j.split("+").pop();return`${R}/${se}`}function x(T){const $=new RegExp("%7B","g"),R=new RegExp("%7D","g");return T.replace($,"{").replace(R,"}").replace("///","//")}function o(T,$){if(!(T.length&&C(T)))return $;const R=T.filter(j=>Object.keys(j).length>0);return $.forEach(function(j,J){(0,d.Gk)(j)?R[J]=a()(T[J],j,{arrayMerge:o}):Array.isArray(j)?R.push(j):R[J]=j}),R}const C=T=>T.some($=>(0,d.Kn)($)&&Object.keys($).length>0);function P(T){return!!T&&Object.keys(T).length===0}const S=typeof window<"u"&&(window.crypto||window.msCrypto)||void 0;function w(T=32){let $="";for(;$.length<T;)$+=Math.random().toString(32).substring(2);return $.substring(0,T)}function O(T){const $=p({randomStr:w()},T);return btoa(JSON.stringify($))}function D(T){return m(this,null,function*(){const $=new TextEncoder().encode(T);return S?.subtle.digest("SHA-256",$)})}function A(T){if(T)return btoa(String.fromCharCode.apply(null,new Uint8Array(T))).replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/,"")}function N(T){if(typeof T!="object"||T===null)return T;const $=Array.isArray(T)?[]:{};for(const R in T){const j=T[R];$[R]=N(j)}return $}},51394:(k,v,e)=>{"use strict";e.d(v,{I:()=>i});var t=e(16685),a=e.n(t);const d=a().parse;class i{static baseName(f="",l=1){const p=i.parse(f);return p[p.length-l]}static dirName(f,l=1){const p=i.parse(f);return a().compile(p.slice(0,p.length-l))}static relative(f,l){const p=i.parse(f);return i.parse(l).slice(p.length)}static parse(f=""){let l=f;return l.charAt(0)==="#"&&(l=l.substring(1)),d(l)}static join(f,l){const m=i.parse(f).concat(l);return a().compile(m)}static get(f,l){return a().get(f,l)}static compile(f){return a().compile(f)}static escape(f){return a().escape(f)}}a().parse=i.parse,Object.assign(i,a());var c=null},2526:(k,v,e)=>{"use strict";e.d(v,{I:()=>t});function t(a){return{source:{absoluteRef:""},parsed:a}}},474:(k,v,e)=>{"use strict";e.d(v,{Qg:()=>t,R2:()=>a});const t=typeof window<"u"&&"HTMLElement"in window;function a(i){return typeof document<"u"?document.querySelector(i):null}function d(i){return i.split(/<[^>]+>/).map(c=>c.trim()).filter(c=>c.length>0).join(" ")}typeof Element<"u"&&!Element.prototype.scrollIntoViewIfNeeded&&(Element.prototype.scrollIntoViewIfNeeded=function(i){i=arguments.length===0?!0:!!i;const c=this.parentNode,h=window.getComputedStyle(c,void 0),f=parseInt(h.getPropertyValue("border-top-width"),10),l=parseInt(h.getPropertyValue("border-left-width"),10),p=this.offsetTop-c.offsetTop<c.scrollTop,m=this.offsetTop-c.offsetTop+this.clientHeight-f>c.scrollTop+c.clientHeight,g=this.offsetLeft-c.offsetLeft<c.scrollLeft,E=this.offsetLeft-c.offsetLeft+this.clientWidth-l>c.scrollLeft+c.clientWidth,x=p&&!m;(p||m)&&i&&(c.scrollTop=this.offsetTop-c.offsetTop-c.clientHeight/2-f+this.clientHeight/2),(g||E)&&i&&(c.scrollLeft=this.offsetLeft-c.offsetLeft-c.clientWidth/2-l+this.clientWidth/2),(p||m||g||E)&&!i&&this.scrollIntoView(x)})},91885:(k,v,e)=>{"use strict";e.d(v,{Gk:()=>R,Hm:()=>xe,Kk:()=>J,Kn:()=>N,Lf:()=>he,MI:()=>H,PD:()=>S,Pj:()=>T,Q8:()=>P,U2:()=>z,XO:()=>le,bG:()=>ae,bv:()=>se,jW:()=>C,jZ:()=>te,kE:()=>O,rR:()=>re,s1:()=>L,uW:()=>ee,zD:()=>$});var t=e(51121),a=e(77703),d=e(51394),i=e(474),c=e(24760),h=Object.defineProperty,f=Object.defineProperties,l=Object.getOwnPropertyDescriptors,p=Object.getOwnPropertySymbols,m=Object.prototype.hasOwnProperty,g=Object.prototype.propertyIsEnumerable,E=(ce,Ce,Ie)=>Ce in ce?h(ce,Ce,{enumerable:!0,configurable:!0,writable:!0,value:Ie}):ce[Ce]=Ie,x=(ce,Ce)=>{for(var Ie in Ce||(Ce={}))m.call(Ce,Ie)&&E(ce,Ie,Ce[Ie]);if(p)for(var Ie of p(Ce))g.call(Ce,Ie)&&E(ce,Ie,Ce[Ie]);return ce},o=(ce,Ce)=>f(ce,l(Ce));function C(ce,Ce){const Ie=[];for(let st=0;st<ce.length-1;st++)Ie.push(Ce(ce[st],!1));return ce.length!==0&&Ie.push(Ce(ce[ce.length-1],!0)),Ie}function P(ce,Ce){const Ie={};for(const st in ce)Object.prototype.hasOwnProperty.call(ce,st)&&(Ie[st]=Ce(ce[st],st,ce));return Ie}function S(ce,Ce){const Ie=[],st=Ze=>{for(const ot of Ze)Ie.push(ot),ot[Ce]&&st(ot[Ce])};return st(ce),Ie}function w(ce){return ce.endsWith("/")?ce.substring(0,ce.length-1):ce}function O(ce){return!isNaN(parseFloat(ce))&&isFinite(ce)}function D(ce,Ce,Ie){const st=new RegExp(`(^|\\n)#\\s?${Ce}\\s*\\n`,"i"),Ze=new RegExp(`((\\n|^)#\\s*${Ce}\\s*(\\n|$)(?:.|\\n)*?)(\\n#|$)`,"i");if(st.test(ce))return ce.replace(Ze,`$1
|
|
1456
1456
|
|
|
1457
1457
|
${Ie}
|
|
1458
1458
|
$4`);{const ot=ce===""||ce.endsWith(`
|
|
@@ -6957,7 +6957,7 @@ box-sizing: border-box;
|
|
|
6957
6957
|
margin-bottom: ${({marginBottom:m})=>m};
|
|
6958
6958
|
margin-top: ${({marginTop:m})=>m};
|
|
6959
6959
|
text-align: ${({textAlign:m})=>m};
|
|
6960
|
-
`,p=(0,t.ZP)(l).attrs(()=>({mt:"0em",mb:"0em","data-component-name":"Typography/CompactTypography"}))``},44828:(k,v,e)=>{"use strict";e.d(v,{AfterOpenApiOperation:()=>S.sm,AfterOpenApiOperationSummary:()=>S.Pc,AfterOpenApiTitle:()=>S.Is,BeforeOpenApiOperation:()=>S.uL,BeforeOpenApiOperationSummary:()=>S.OC,Button:()=>t.zx,CodeBlock:()=>f.dn,CodeBlockContainer:()=>f.se,CodeBlockControlButton:()=>f.xq,CodeBlockControls:()=>f.hz,Feedback:()=>m.Feedback,H1:()=>c.H1,H2:()=>c.H2,H3:()=>c.H3,Heading:()=>P.X6,HttpTag:()=>C.p1,JsonViewer:()=>i.he,LayoutVariant:()=>w.N1,MarkdownWrapper:()=>P.ql,MobileSidebarButton:()=>C.iW,MobileSidebarIcon:()=>C.kO,OpenApiFooter:()=>S.Bo,OpenApiHeader:()=>S.W$,OpenApiTryItSecurityPanel:()=>S.G1,Panel:()=>p.s_,PanelBody:()=>p.N,PanelHeader:()=>p.V9,PanelHeaderTitle:()=>p.Hp,SidebarActions:()=>w._o,SidebarLogo:()=>h.p,Tag:()=>g.V,TryItSecurityApps:()=>S.v4,baseButtonStyles:()=>t.vN,linksCss:()=>P.NJ});var t=e(30965),a=e(37548),d=e(75839),i=e(70873),c=e(70178),h=e(91853),f=e(12251),l=e(27971),p=e(17492),m=e(23602);e.o(m,"AfterOpenApiOperation")&&e.d(v,{AfterOpenApiOperation:function(){return m.AfterOpenApiOperation}}),e.o(m,"AfterOpenApiOperationSummary")&&e.d(v,{AfterOpenApiOperationSummary:function(){return m.AfterOpenApiOperationSummary}}),e.o(m,"AfterOpenApiTitle")&&e.d(v,{AfterOpenApiTitle:function(){return m.AfterOpenApiTitle}}),e.o(m,"AnchorIcon")&&e.d(v,{AnchorIcon:function(){return m.AnchorIcon}}),e.o(m,"BeforeOpenApiOperation")&&e.d(v,{BeforeOpenApiOperation:function(){return m.BeforeOpenApiOperation}}),e.o(m,"BeforeOpenApiOperationSummary")&&e.d(v,{BeforeOpenApiOperationSummary:function(){return m.BeforeOpenApiOperationSummary}}),e.o(m,"GlobalStyle")&&e.d(v,{GlobalStyle:function(){return m.GlobalStyle}}),e.o(m,"Heading")&&e.d(v,{Heading:function(){return m.Heading}}),e.o(m,"HttpTag")&&e.d(v,{HttpTag:function(){return m.HttpTag}}),e.o(m,"LayoutVariant")&&e.d(v,{LayoutVariant:function(){return m.LayoutVariant}}),e.o(m,"MarkdownWrapper")&&e.d(v,{MarkdownWrapper:function(){return m.MarkdownWrapper}}),e.o(m,"MobileSidebarButton")&&e.d(v,{MobileSidebarButton:function(){return m.MobileSidebarButton}}),e.o(m,"MobileSidebarIcon")&&e.d(v,{MobileSidebarIcon:function(){return m.MobileSidebarIcon}}),e.o(m,"OpenApiFooter")&&e.d(v,{OpenApiFooter:function(){return m.OpenApiFooter}}),e.o(m,"OpenApiHeader")&&e.d(v,{OpenApiHeader:function(){return m.OpenApiHeader}}),e.o(m,"OpenApiTryItSecurityPanel")&&e.d(v,{OpenApiTryItSecurityPanel:function(){return m.OpenApiTryItSecurityPanel}}),e.o(m,"RocketIcon")&&e.d(v,{RocketIcon:function(){return m.RocketIcon}}),e.o(m,"ShelfIcon")&&e.d(v,{ShelfIcon:function(){return m.ShelfIcon}}),e.o(m,"SidebarActions")&&e.d(v,{SidebarActions:function(){return m.SidebarActions}}),e.o(m,"Tag")&&e.d(v,{Tag:function(){return m.Tag}}),e.o(m,"TryItSecurityApps")&&e.d(v,{TryItSecurityApps:function(){return m.TryItSecurityApps}}),e.o(m,"generateMediaQueries")&&e.d(v,{generateMediaQueries:function(){return m.generateMediaQueries}}),e.o(m,"getCssColorVariable")&&e.d(v,{getCssColorVariable:function(){return m.getCssColorVariable}}),e.o(m,"linksCss")&&e.d(v,{linksCss:function(){return m.linksCss}}),e.o(m,"useActiveSectionId")&&e.d(v,{useActiveSectionId:function(){return m.useActiveSectionId}}),e.o(m,"useMount")&&e.d(v,{useMount:function(){return m.useMount}}),e.o(m,"useUnmount")&&e.d(v,{useUnmount:function(){return m.useUnmount}});var g=e(88044),E=e(30130),x=e(38816),o=e(42253),C=e(37627),P=e(79874),S=e(33051),w=e(24198),O=e(32375),D=e(8101),A=e(65801);e.o(A,"AnchorIcon")&&e.d(v,{AnchorIcon:function(){return A.AnchorIcon}}),e.o(A,"GlobalStyle")&&e.d(v,{GlobalStyle:function(){return A.GlobalStyle}}),e.o(A,"RocketIcon")&&e.d(v,{RocketIcon:function(){return A.RocketIcon}}),e.o(A,"ShelfIcon")&&e.d(v,{ShelfIcon:function(){return A.ShelfIcon}}),e.o(A,"generateMediaQueries")&&e.d(v,{generateMediaQueries:function(){return A.generateMediaQueries}}),e.o(A,"getCssColorVariable")&&e.d(v,{getCssColorVariable:function(){return A.getCssColorVariable}}),e.o(A,"useActiveSectionId")&&e.d(v,{useActiveSectionId:function(){return A.useActiveSectionId}}),e.o(A,"useMount")&&e.d(v,{useMount:function(){return A.useMount}}),e.o(A,"useUnmount")&&e.d(v,{useUnmount:function(){return A.useUnmount}});var N=e(84545),T=e(61972),$=e(79191),R=e(19205),j=e(90343),J=e(55949),se=e(56585),H=e(8007)},19825:(k,v,e)=>{"use strict";var t=Object.defineProperty,a=Object.defineProperties,d=Object.getOwnPropertyDescriptors,i=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,h=Object.prototype.propertyIsEnumerable,f=(le,Se,z)=>Se in le?t(le,Se,{enumerable:!0,configurable:!0,writable:!0,value:z}):le[Se]=z,l=(le,Se)=>{for(var z in Se||(Se={}))c.call(Se,z)&&f(le,z,Se[z]);if(i)for(var z of i(Se))h.call(Se,z)&&f(le,z,Se[z]);return le},p=(le,Se)=>a(le,d(Se));const m={type:"object",properties:{image:{type:"string"},srcSet:{type:"string"},altText:{type:"string"},link:{type:"string"},favicon:{type:"string"}},additionalProperties:!1},g={type:"object",properties:{hide:{type:"boolean"}},additionalProperties:!1},E={type:"object",properties:{src:{type:"string"},async:{type:"boolean"},crossorigin:{type:"string"},defer:{type:"boolean"},fetchpriority:{type:"string"},integrity:{type:"string"},module:{type:"boolean"},nomodule:{type:"boolean"},nonce:{type:"string"},referrerpolicy:{type:"string"},type:{type:"string"}},required:["src"],additionalProperties:!0},x={type:"object",properties:{href:{type:"string"},as:{type:"string"},crossorigin:{type:"string"},fetchpriority:{type:"string"},hreflang:{type:"string"},imagesizes:{type:"string"},imagesrcset:{type:"string"},integrity:{type:"string"},media:{type:"string"},prefetch:{type:"string"},referrerpolicy:{type:"string"},rel:{type:"string"},sizes:{type:"string"},title:{type:"string"},type:{type:"string"}},required:["href"],additionalProperties:!0},o={type:"object",properties:{frontMatterKeysToResolve:{type:"array",items:{type:"string"},default:["image","links"]},lastUpdatedBlock:{type:"object",properties:l({format:{type:"string",enum:["timeago","iso","long","short"],default:"timeago"},locale:{type:"string",default:"en-US"}},g.properties),additionalProperties:!1,default:{}},toc:{type:"object",properties:l({header:{type:"string",default:"On this page"},depth:{type:"integer",default:3,minimum:1}},g.properties),additionalProperties:!1,default:{}},editPage:{type:"object",properties:l({baseUrl:{type:"string"}},g.properties),additionalProperties:!1,default:{}}},additionalProperties:!1,default:{}},C={type:"object",properties:{includeInDevelopment:{type:"boolean"},apiKey:{type:"string"},head:{type:"boolean"},respectDNT:{type:"boolean"},exclude:{type:"array",items:{type:"string"}},outboundClickEventName:{type:"string"},pageViewEventName:{type:"string"},amplitudeConfig:{type:"object",additionalProperties:!0}},additionalProperties:!1,required:["apiKey"]},P={type:"object",properties:{includeInDevelopment:{type:"boolean"},orgId:{type:"string"}},additionalProperties:!1,required:["orgId"]},S={type:"object",properties:{includeInDevelopment:{type:"boolean"},appId:{type:"string"}},additionalProperties:!1,required:["appId"]},w={type:"object",properties:{includeInDevelopment:{type:"boolean"},writeKey:{type:"string",minLength:10},trackPage:{type:"boolean"},dataPlaneUrl:{type:"string"},controlPlaneUrl:{type:"string"},sdkUrl:{type:"string"},loadOptions:{type:"object",additionalProperties:!0}},additionalProperties:!1,required:["writeKey"]},O={type:"object",properties:{includeInDevelopment:{type:"boolean"},writeKey:{type:"string",minLength:10},trackPage:{type:"boolean"},includeTitleInPageCall:{type:"boolean"},host:{type:"string"}},additionalProperties:!1,required:["writeKey"]},D={type:"object",properties:{includeInDevelopment:{type:"boolean"},trackingId:{type:"string"},gtmAuth:{type:"string"},gtmPreview:{type:"string"},defaultDataLayer:{},dataLayerName:{type:"string"},enableWebVitalsTracking:{type:"boolean"},selfHostedOrigin:{type:"string"},pageViewEventName:{type:"string"}},additionalProperties:!1,required:["trackingId"]},A={type:"object",properties:{includeInDevelopment:{type:"boolean"},trackingId:{type:"string"},conversionId:{type:"string"},floodlightId:{type:"string"},head:{type:"boolean"},respectDNT:{type:"boolean"},exclude:{type:"array",items:{type:"string"}},optimizeId:{type:"string"},anonymizeIp:{type:"boolean"},cookieExpires:{type:"number"}},additionalProperties:!1,required:["trackingId"]},N={type:"object",properties:{includeInDevelopment:{type:"boolean"},scriptUrl:{type:"string"},pageViewEventName:{type:"string"}},additionalProperties:!1,required:["scriptUrl"]},T={type:"object",properties:{page:{type:"string"},directory:{type:"string"},group:{type:"string"},label:{type:"string"},separator:{type:"string"},separatorLine:{type:"boolean"},linePosition:{type:"string",enum:["top","bottom"],default:"top"},version:{type:"string"},menuStyle:{type:"string",enum:["drilldown"]},expanded:{type:"string",const:"always"},selectFirstItemOnExpand:{type:"boolean"},flatten:{type:"boolean"},linkedSidebars:{type:"array",items:{type:"string"}}}},$={type:"array",items:p(l({},T),{properties:p(l({},T.properties),{items:{type:"array",items:T}})})},R={type:"object",properties:{name:{type:"string"},icon:{type:"string"},folder:{type:"string"}},additionalProperties:!1,required:["name","icon","folder"]},j={type:"object",properties:{page:{type:"string"},label:{type:"string"},labelTranslationKey:{type:"string"}},required:["page"]},J={type:"object",additionalProperties:!1,required:["title","property"],properties:{type:{type:"string",enum:["select","checkboxes","date-range"]},title:{type:"string"},titleTranslationKey:{type:"string"},property:{type:"string"},parentFilter:{type:"string"},missingCategoryName:{type:"string"},missingCategoryNameTranslationKey:{type:"string"},options:{type:"array",items:{type:"string"}}}},se={type:"object",additionalProperties:!0,required:["levels"],properties:{failBuildIfBelowMinimum:{type:"boolean",default:!1},teamMetadataProperty:{type:"object",properties:{property:{type:"string"},label:{type:"string"},default:{type:"string"}}},levels:{type:"array",items:{type:"object",required:["name"],properties:{name:{type:"string"},extends:{type:"array",items:{type:"string"}},rules:{type:"object",additionalProperties:{type:["object","string"]}}},additionalProperties:!1}},targets:{type:"array",items:{type:"object",required:["where"],properties:{minimumLevel:{type:"string"},where:{type:"object",required:["metadata"],properties:{metadata:{type:"object",additionalProperties:{type:"string"}}},additionalProperties:!1}},additionalProperties:!1}}}},te={type:"object",patternProperties:{".*":{type:"object",additionalProperties:!0,required:["slug","items"],properties:{slug:{type:"string"},filters:{type:"array",items:J},groupByFirstFilter:{type:"boolean"},filterValuesCasing:{type:"string",enum:["sentence","original","lowercase","uppercase"]},items:$,requiredPermission:{type:"string"},separateVersions:{type:"boolean"},title:{type:"string"},titleTranslationKey:{type:"string"},description:{type:"string"},descriptionTranslationKey:{type:"string"}}}}},de={type:"object",properties:{imports:{type:"array",items:{type:"string"},default:[]},logo:m,navbar:{type:"object",properties:l({items:$},g.properties),additionalProperties:!1},products:{type:"object",additionalProperties:R},footer:{type:"object",properties:l({items:$,copyrightText:{type:"string"},logo:g},g.properties),additionalProperties:!1},sidebar:{type:"object",properties:l({separatorLine:{type:"boolean"},linePosition:{type:"string",enum:["top","bottom"],default:"bottom"}},g.properties),additionalProperties:!1},scripts:{type:"object",properties:{head:{type:"array",items:E},body:{type:"array",items:E}},additionalProperties:!1},links:{type:"array",items:x},feedback:{type:"object",properties:{hide:{type:"boolean",default:!1},type:{type:"string",enum:["rating","sentiment","comment","reasons"],default:"sentiment"},settings:l({type:"object",properties:{label:{type:"string"},submitText:{type:"string"},max:{type:"number"},buttonText:{type:"string"},multi:{type:"boolean"},items:{type:"array",items:{type:"string"},minItems:1},reasons:{type:"object",properties:{enable:{type:"boolean",default:!0},multi:{type:"boolean"},label:{type:"string"},items:{type:"array",items:{type:"string"}}},additionalProperties:!1},comment:{type:"object",properties:{enable:{type:"boolean",default:!0},label:{type:"string"},likeLabel:{type:"string"},dislikeLabel:{type:"string"}},additionalProperties:!1}},additionalProperties:!1},g.properties)},additionalProperties:!1,default:{}},search:{type:"object",properties:l({placement:{type:"string",default:"navbar"},shortcuts:{type:"array",items:{type:"string"},default:["/"]},suggestedPages:{type:"array",items:j}},g.properties),additionalProperties:!1,default:{}},colorMode:{type:"object",properties:l({ignoreDetection:{type:"boolean"},modes:{type:"array",items:{type:"string"},default:["light","dark"]}},g.properties),additionalProperties:!1,default:{}},navigation:{type:"object",properties:{nextButton:{type:"object",properties:l({text:{type:"string",default:"Next to {label}"}},g.properties),additionalProperties:!1,default:{}},previousButton:{type:"object",properties:l({text:{type:"string",default:"Back to {label}"}},g.properties),additionalProperties:!1,default:{}}},additionalProperties:!1,default:{}},codeSnippet:{type:"object",properties:{controlsStyle:{type:"string",default:"icon"},copy:{type:"object",properties:l({},g.properties),additionalProperties:!1,default:{hide:!1}},report:{type:"object",properties:l({},g.properties),additionalProperties:!1,default:{hide:!0}},expand:{type:"object",properties:l({},g.properties),additionalProperties:!1,default:{hide:!1}},collapse:{type:"object",properties:l({},g.properties),additionalProperties:!1,default:{hide:!1}}},additionalProperties:!1,default:{}},markdown:o,openapi:{type:"object",additionalProperties:!0},graphql:{type:"object",additionalProperties:!0},analytics:{type:"object",properties:{adobe:N,amplitude:C,fullstory:P,heap:S,rudderstack:w,segment:O,gtm:D,ga:A}},userProfile:{type:"object",properties:l({loginLabel:{type:"string",default:"Login"},logoutLabel:{type:"string",default:"Logout"},menu:{type:"array",items:{type:"object",properties:{label:{type:"string"},external:{type:"boolean"},link:{type:"string"},separatorLine:{type:"boolean"}},additionalProperties:!0},default:[]}},g.properties),additionalProperties:!1,default:{}},versionPicker:{type:"object",properties:{hide:{type:"boolean"},showForUnversioned:{type:"boolean"}}},breadcrumbs:{type:"object",properties:{hide:{type:"boolean"},prefixItems:{type:"array",items:{type:"object",properties:{label:{type:"string"},labelTranslationKey:{type:"string"},page:{type:"string"}},additionalProperties:!1,default:{}}}},additionalProperties:!1,default:{}},catalog:te,scorecard:se},additionalProperties:!0,default:{}},ke={type:"object",properties:{logo:de.properties.logo,navbar:de.properties.navbar,footer:de.properties.footer,sidebar:de.properties.sidebar,search:de.properties.search,codeSnippet:de.properties.codeSnippet,breadcrumbs:de.properties.breadcrumbs},additionalProperties:!0,default:{}};var he=(le=>(le.BelowMinimum="Below minimum",le.Highest="Highest",le.Minimum="Minimum",le))(he||{})},46911:(k,v,e)=>{"use strict";e.d(v,{Z:()=>G});var t=e(38779);const a=(0,t.iv)`
|
|
6960
|
+
`,p=(0,t.ZP)(l).attrs(()=>({mt:"0em",mb:"0em","data-component-name":"Typography/CompactTypography"}))``},44828:(k,v,e)=>{"use strict";e.d(v,{AfterOpenApiOperation:()=>S.sm,AfterOpenApiOperationSummary:()=>S.Pc,AfterOpenApiTitle:()=>S.Is,BeforeOpenApiOperation:()=>S.uL,BeforeOpenApiOperationSummary:()=>S.OC,Button:()=>t.zx,CodeBlock:()=>f.dn,CodeBlockContainer:()=>f.se,CodeBlockControlButton:()=>f.xq,CodeBlockControls:()=>f.hz,Feedback:()=>m.Feedback,H1:()=>c.H1,H2:()=>c.H2,H3:()=>c.H3,Heading:()=>P.X6,HttpTag:()=>C.p1,JsonViewer:()=>i.he,LayoutVariant:()=>w.N1,MarkdownWrapper:()=>P.ql,MobileSidebarButton:()=>C.iW,MobileSidebarIcon:()=>C.kO,OpenApiFooter:()=>S.Bo,OpenApiHeader:()=>S.W$,OpenApiTryItSecurityPanel:()=>S.G1,Panel:()=>p.s_,PanelBody:()=>p.N,PanelHeader:()=>p.V9,PanelHeaderTitle:()=>p.Hp,SidebarActions:()=>w._o,SidebarLogo:()=>h.p,Tag:()=>g.V,TryItSecurityApps:()=>S.v4,baseButtonStyles:()=>t.vN,linksCss:()=>P.NJ});var t=e(30965),a=e(37548),d=e(75839),i=e(70873),c=e(70178),h=e(91853),f=e(12251),l=e(27971),p=e(17492),m=e(23602);e.o(m,"AfterOpenApiOperation")&&e.d(v,{AfterOpenApiOperation:function(){return m.AfterOpenApiOperation}}),e.o(m,"AfterOpenApiOperationSummary")&&e.d(v,{AfterOpenApiOperationSummary:function(){return m.AfterOpenApiOperationSummary}}),e.o(m,"AfterOpenApiTitle")&&e.d(v,{AfterOpenApiTitle:function(){return m.AfterOpenApiTitle}}),e.o(m,"AnchorIcon")&&e.d(v,{AnchorIcon:function(){return m.AnchorIcon}}),e.o(m,"BeforeOpenApiOperation")&&e.d(v,{BeforeOpenApiOperation:function(){return m.BeforeOpenApiOperation}}),e.o(m,"BeforeOpenApiOperationSummary")&&e.d(v,{BeforeOpenApiOperationSummary:function(){return m.BeforeOpenApiOperationSummary}}),e.o(m,"GlobalStyle")&&e.d(v,{GlobalStyle:function(){return m.GlobalStyle}}),e.o(m,"Heading")&&e.d(v,{Heading:function(){return m.Heading}}),e.o(m,"HttpTag")&&e.d(v,{HttpTag:function(){return m.HttpTag}}),e.o(m,"LayoutVariant")&&e.d(v,{LayoutVariant:function(){return m.LayoutVariant}}),e.o(m,"MarkdownWrapper")&&e.d(v,{MarkdownWrapper:function(){return m.MarkdownWrapper}}),e.o(m,"MobileSidebarButton")&&e.d(v,{MobileSidebarButton:function(){return m.MobileSidebarButton}}),e.o(m,"MobileSidebarIcon")&&e.d(v,{MobileSidebarIcon:function(){return m.MobileSidebarIcon}}),e.o(m,"OpenApiFooter")&&e.d(v,{OpenApiFooter:function(){return m.OpenApiFooter}}),e.o(m,"OpenApiHeader")&&e.d(v,{OpenApiHeader:function(){return m.OpenApiHeader}}),e.o(m,"OpenApiTryItSecurityPanel")&&e.d(v,{OpenApiTryItSecurityPanel:function(){return m.OpenApiTryItSecurityPanel}}),e.o(m,"RocketIcon")&&e.d(v,{RocketIcon:function(){return m.RocketIcon}}),e.o(m,"ShelfIcon")&&e.d(v,{ShelfIcon:function(){return m.ShelfIcon}}),e.o(m,"SidebarActions")&&e.d(v,{SidebarActions:function(){return m.SidebarActions}}),e.o(m,"Tag")&&e.d(v,{Tag:function(){return m.Tag}}),e.o(m,"TryItSecurityApps")&&e.d(v,{TryItSecurityApps:function(){return m.TryItSecurityApps}}),e.o(m,"generateMediaQueries")&&e.d(v,{generateMediaQueries:function(){return m.generateMediaQueries}}),e.o(m,"getCssColorVariable")&&e.d(v,{getCssColorVariable:function(){return m.getCssColorVariable}}),e.o(m,"linksCss")&&e.d(v,{linksCss:function(){return m.linksCss}}),e.o(m,"useActiveSectionId")&&e.d(v,{useActiveSectionId:function(){return m.useActiveSectionId}}),e.o(m,"useMount")&&e.d(v,{useMount:function(){return m.useMount}}),e.o(m,"useUnmount")&&e.d(v,{useUnmount:function(){return m.useUnmount}});var g=e(88044),E=e(30130),x=e(38816),o=e(42253),C=e(37627),P=e(79874),S=e(33051),w=e(24198),O=e(32375),D=e(8101),A=e(65801);e.o(A,"AnchorIcon")&&e.d(v,{AnchorIcon:function(){return A.AnchorIcon}}),e.o(A,"GlobalStyle")&&e.d(v,{GlobalStyle:function(){return A.GlobalStyle}}),e.o(A,"RocketIcon")&&e.d(v,{RocketIcon:function(){return A.RocketIcon}}),e.o(A,"ShelfIcon")&&e.d(v,{ShelfIcon:function(){return A.ShelfIcon}}),e.o(A,"generateMediaQueries")&&e.d(v,{generateMediaQueries:function(){return A.generateMediaQueries}}),e.o(A,"getCssColorVariable")&&e.d(v,{getCssColorVariable:function(){return A.getCssColorVariable}}),e.o(A,"useActiveSectionId")&&e.d(v,{useActiveSectionId:function(){return A.useActiveSectionId}}),e.o(A,"useMount")&&e.d(v,{useMount:function(){return A.useMount}}),e.o(A,"useUnmount")&&e.d(v,{useUnmount:function(){return A.useUnmount}});var N=e(84545),T=e(61972),$=e(79191),R=e(19205),j=e(90343),J=e(55949),se=e(56585),H=e(8007)},19825:(k,v,e)=>{"use strict";var t=Object.defineProperty,a=Object.defineProperties,d=Object.getOwnPropertyDescriptors,i=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,h=Object.prototype.propertyIsEnumerable,f=(le,Se,z)=>Se in le?t(le,Se,{enumerable:!0,configurable:!0,writable:!0,value:z}):le[Se]=z,l=(le,Se)=>{for(var z in Se||(Se={}))c.call(Se,z)&&f(le,z,Se[z]);if(i)for(var z of i(Se))h.call(Se,z)&&f(le,z,Se[z]);return le},p=(le,Se)=>a(le,d(Se));const m={type:"object",properties:{image:{type:"string"},srcSet:{type:"string"},altText:{type:"string"},link:{type:"string"},favicon:{type:"string"}},additionalProperties:!1},g={type:"object",properties:{hide:{type:"boolean"}},additionalProperties:!1},E={type:"object",properties:{src:{type:"string"},async:{type:"boolean"},crossorigin:{type:"string"},defer:{type:"boolean"},fetchpriority:{type:"string"},integrity:{type:"string"},module:{type:"boolean"},nomodule:{type:"boolean"},nonce:{type:"string"},referrerpolicy:{type:"string"},type:{type:"string"}},required:["src"],additionalProperties:!0},x={type:"object",properties:{href:{type:"string"},as:{type:"string"},crossorigin:{type:"string"},fetchpriority:{type:"string"},hreflang:{type:"string"},imagesizes:{type:"string"},imagesrcset:{type:"string"},integrity:{type:"string"},media:{type:"string"},prefetch:{type:"string"},referrerpolicy:{type:"string"},rel:{type:"string"},sizes:{type:"string"},title:{type:"string"},type:{type:"string"}},required:["href"],additionalProperties:!0},o={type:"object",properties:{frontMatterKeysToResolve:{type:"array",items:{type:"string"},default:["image","links"]},lastUpdatedBlock:{type:"object",properties:l({format:{type:"string",enum:["timeago","iso","long","short"],default:"timeago"},locale:{type:"string",default:"en-US"}},g.properties),additionalProperties:!1,default:{}},toc:{type:"object",properties:l({header:{type:"string",default:"On this page"},depth:{type:"integer",default:3,minimum:1}},g.properties),additionalProperties:!1,default:{}},editPage:{type:"object",properties:l({baseUrl:{type:"string"}},g.properties),additionalProperties:!1,default:{}}},additionalProperties:!1,default:{}},C={type:"object",properties:{includeInDevelopment:{type:"boolean"},apiKey:{type:"string"},head:{type:"boolean"},respectDNT:{type:"boolean"},exclude:{type:"array",items:{type:"string"}},outboundClickEventName:{type:"string"},pageViewEventName:{type:"string"},amplitudeConfig:{type:"object",additionalProperties:!0}},additionalProperties:!1,required:["apiKey"]},P={type:"object",properties:{includeInDevelopment:{type:"boolean"},orgId:{type:"string"}},additionalProperties:!1,required:["orgId"]},S={type:"object",properties:{includeInDevelopment:{type:"boolean"},appId:{type:"string"}},additionalProperties:!1,required:["appId"]},w={type:"object",properties:{includeInDevelopment:{type:"boolean"},writeKey:{type:"string",minLength:10},trackPage:{type:"boolean"},dataPlaneUrl:{type:"string"},controlPlaneUrl:{type:"string"},sdkUrl:{type:"string"},loadOptions:{type:"object",additionalProperties:!0}},additionalProperties:!1,required:["writeKey"]},O={type:"object",properties:{includeInDevelopment:{type:"boolean"},writeKey:{type:"string",minLength:10},trackPage:{type:"boolean"},includeTitleInPageCall:{type:"boolean"},host:{type:"string"}},additionalProperties:!1,required:["writeKey"]},D={type:"object",properties:{includeInDevelopment:{type:"boolean"},trackingId:{type:"string"},gtmAuth:{type:"string"},gtmPreview:{type:"string"},defaultDataLayer:{},dataLayerName:{type:"string"},enableWebVitalsTracking:{type:"boolean"},selfHostedOrigin:{type:"string"},pageViewEventName:{type:"string"}},additionalProperties:!1,required:["trackingId"]},A={type:"object",properties:{includeInDevelopment:{type:"boolean"},trackingId:{type:"string"},conversionId:{type:"string"},floodlightId:{type:"string"},head:{type:"boolean"},respectDNT:{type:"boolean"},exclude:{type:"array",items:{type:"string"}},optimizeId:{type:"string"},anonymizeIp:{type:"boolean"},cookieExpires:{type:"number"}},additionalProperties:!1,required:["trackingId"]},N={type:"object",properties:{includeInDevelopment:{type:"boolean"},scriptUrl:{type:"string"},pageViewEventName:{type:"string"}},additionalProperties:!1,required:["scriptUrl"]},T={type:"object",properties:{page:{type:"string"},directory:{type:"string"},group:{type:"string"},label:{type:"string"},separator:{type:"string"},separatorLine:{type:"boolean"},linePosition:{type:"string",enum:["top","bottom"],default:"top"},version:{type:"string"},menuStyle:{type:"string",enum:["drilldown"]},expanded:{type:"string",const:"always"},selectFirstItemOnExpand:{type:"boolean"},flatten:{type:"boolean"},linkedSidebars:{type:"array",items:{type:"string"}}}},$={type:"array",items:p(l({},T),{properties:p(l({},T.properties),{items:{type:"array",items:T}})})},R={type:"object",properties:{name:{type:"string"},icon:{type:"string"},folder:{type:"string"}},additionalProperties:!1,required:["name","icon","folder"]},j={type:"object",properties:{page:{type:"string"},label:{type:"string"},labelTranslationKey:{type:"string"}},required:["page"]},J={type:"object",additionalProperties:!1,required:["title","property"],properties:{type:{type:"string",enum:["select","checkboxes","date-range"]},title:{type:"string"},titleTranslationKey:{type:"string"},property:{type:"string"},parentFilter:{type:"string"},missingCategoryName:{type:"string"},missingCategoryNameTranslationKey:{type:"string"},options:{type:"array",items:{type:"string"}}}},se={type:"object",additionalProperties:!0,required:["levels"],properties:{failBuildIfBelowMinimum:{type:"boolean",default:!1},teamMetadataProperty:{type:"object",properties:{property:{type:"string"},label:{type:"string"},default:{type:"string"}}},levels:{type:"array",items:{type:"object",required:["name"],properties:{name:{type:"string"},extends:{type:"array",items:{type:"string"}},rules:{type:"object",additionalProperties:{type:["object","string"]}}},additionalProperties:!1}},targets:{type:"array",items:{type:"object",required:["where"],properties:{minimumLevel:{type:"string"},where:{type:"object",required:["metadata"],properties:{metadata:{type:"object",additionalProperties:{type:"string"}}},additionalProperties:!1}},additionalProperties:!1}}}},te={type:"object",patternProperties:{".*":{type:"object",additionalProperties:!0,required:["slug","items"],properties:{slug:{type:"string"},filters:{type:"array",items:J},groupByFirstFilter:{type:"boolean"},filterValuesCasing:{type:"string",enum:["sentence","original","lowercase","uppercase"]},items:$,requiredPermission:{type:"string"},separateVersions:{type:"boolean"},title:{type:"string"},titleTranslationKey:{type:"string"},description:{type:"string"},descriptionTranslationKey:{type:"string"}}}}},de={type:"object",properties:{imports:{type:"array",items:{type:"string"},default:[]},logo:m,navbar:{type:"object",properties:l({items:$},g.properties),additionalProperties:!1},products:{type:"object",additionalProperties:R},footer:{type:"object",properties:l({items:$,copyrightText:{type:"string"},logo:g},g.properties),additionalProperties:!1},sidebar:{type:"object",properties:l({separatorLine:{type:"boolean"},linePosition:{type:"string",enum:["top","bottom"],default:"bottom"}},g.properties),additionalProperties:!1},seo:{type:"object",properties:{title:{type:"string"}}},scripts:{type:"object",properties:{head:{type:"array",items:E},body:{type:"array",items:E}},additionalProperties:!1},links:{type:"array",items:x},feedback:{type:"object",properties:{hide:{type:"boolean",default:!1},type:{type:"string",enum:["rating","sentiment","comment","reasons"],default:"sentiment"},settings:l({type:"object",properties:{label:{type:"string"},submitText:{type:"string"},max:{type:"number"},buttonText:{type:"string"},multi:{type:"boolean"},items:{type:"array",items:{type:"string"},minItems:1},reasons:{type:"object",properties:{enable:{type:"boolean",default:!0},multi:{type:"boolean"},label:{type:"string"},items:{type:"array",items:{type:"string"}}},additionalProperties:!1},comment:{type:"object",properties:{enable:{type:"boolean",default:!0},label:{type:"string"},likeLabel:{type:"string"},dislikeLabel:{type:"string"}},additionalProperties:!1}},additionalProperties:!1},g.properties)},additionalProperties:!1,default:{}},search:{type:"object",properties:l({placement:{type:"string",default:"navbar"},shortcuts:{type:"array",items:{type:"string"},default:["/"]},suggestedPages:{type:"array",items:j}},g.properties),additionalProperties:!1,default:{}},colorMode:{type:"object",properties:l({ignoreDetection:{type:"boolean"},modes:{type:"array",items:{type:"string"},default:["light","dark"]}},g.properties),additionalProperties:!1,default:{}},navigation:{type:"object",properties:{nextButton:{type:"object",properties:l({text:{type:"string",default:"Next to {label}"}},g.properties),additionalProperties:!1,default:{}},previousButton:{type:"object",properties:l({text:{type:"string",default:"Back to {label}"}},g.properties),additionalProperties:!1,default:{}}},additionalProperties:!1,default:{}},codeSnippet:{type:"object",properties:{controlsStyle:{type:"string",default:"icon"},copy:{type:"object",properties:l({},g.properties),additionalProperties:!1,default:{hide:!1}},report:{type:"object",properties:l({},g.properties),additionalProperties:!1,default:{hide:!0}},expand:{type:"object",properties:l({},g.properties),additionalProperties:!1,default:{hide:!1}},collapse:{type:"object",properties:l({},g.properties),additionalProperties:!1,default:{hide:!1}}},additionalProperties:!1,default:{}},markdown:o,openapi:{type:"object",additionalProperties:!0},graphql:{type:"object",additionalProperties:!0},analytics:{type:"object",properties:{adobe:N,amplitude:C,fullstory:P,heap:S,rudderstack:w,segment:O,gtm:D,ga:A}},userProfile:{type:"object",properties:l({loginLabel:{type:"string",default:"Login"},logoutLabel:{type:"string",default:"Logout"},menu:{type:"array",items:{type:"object",properties:{label:{type:"string"},external:{type:"boolean"},link:{type:"string"},separatorLine:{type:"boolean"}},additionalProperties:!0},default:[]}},g.properties),additionalProperties:!1,default:{}},versionPicker:{type:"object",properties:{hide:{type:"boolean"},showForUnversioned:{type:"boolean"}}},breadcrumbs:{type:"object",properties:{hide:{type:"boolean"},prefixItems:{type:"array",items:{type:"object",properties:{label:{type:"string"},labelTranslationKey:{type:"string"},page:{type:"string"}},additionalProperties:!1,default:{}}}},additionalProperties:!1,default:{}},catalog:te,scorecard:se},additionalProperties:!0,default:{}},ke={type:"object",properties:{logo:de.properties.logo,navbar:de.properties.navbar,footer:de.properties.footer,sidebar:de.properties.sidebar,search:de.properties.search,codeSnippet:de.properties.codeSnippet,breadcrumbs:de.properties.breadcrumbs},additionalProperties:!0,default:{}};var he=(le=>(le.BelowMinimum="Below minimum",le.Highest="Highest",le.Minimum="Minimum",le))(he||{})},46911:(k,v,e)=>{"use strict";e.d(v,{Z:()=>G});var t=e(38779);const a=(0,t.iv)`
|
|
6961
6961
|
/* === Dark Theme Colors === */
|
|
6962
6962
|
|
|
6963
6963
|
/**
|
|
@@ -8070,7 +8070,7 @@ box-sizing: border-box;
|
|
|
8070
8070
|
--page-404-description-text-color: var(--text-secondary);
|
|
8071
8071
|
--page-404-description-font-size: 1.5em; // @presenter FontSize
|
|
8072
8072
|
--page-404-description-font-weight: var(--font-weight-regular); // @presenter FontWeight
|
|
8073
|
-
--page-404-description-line-height: 1 // @presenter LineHeight
|
|
8073
|
+
--page-404-description-line-height: 1; // @presenter LineHeight
|
|
8074
8074
|
--page-404-description-margin: 0px; // @presenter Spacing
|
|
8075
8075
|
|
|
8076
8076
|
--page-404-button-margin: 4em; // @presenter Spacing
|
|
@@ -8091,7 +8091,7 @@ box-sizing: border-box;
|
|
|
8091
8091
|
--page-403-header-margin: 0; // @presenter Spacing
|
|
8092
8092
|
|
|
8093
8093
|
--page-403-description-text-color: var(--text-secondary);
|
|
8094
|
-
--page-403-description-font-size:
|
|
8094
|
+
--page-403-description-font-size: 1.5em; // @presenter FontSize
|
|
8095
8095
|
--page-403-description-font-weight: var(--font-weight-regular); // @presenter FontWeight
|
|
8096
8096
|
--page-403-description-line-height: 1; // @presenter LineHeight
|
|
8097
8097
|
--page-403-description-margin: 0; // @presenter Spacing
|
|
@@ -8571,7 +8571,7 @@ box-sizing: border-box;
|
|
|
8571
8571
|
* Redocly OpenAPI Docs
|
|
8572
8572
|
* (c) Copyright 2018 Redocly LLC, all rights reserved.
|
|
8573
8573
|
* -------------------------------------------------------------
|
|
8574
|
-
* Version: "3.0.0-alpha.
|
|
8574
|
+
* Version: "3.0.0-alpha.62"
|
|
8575
8575
|
*/(()=>{var Y={818:(x,E,T)=>{var j,C;/**
|
|
8576
8576
|
* lunr - http://lunrjs.com - A bit like Solr, but much smaller and not as bright - 2.3.9
|
|
8577
8577
|
* Copyright (C) 2020 Oliver Nightingale
|
|
@@ -9432,4 +9432,4 @@ Add a <Suspense fallback=...> component higher in the tree to provide a loading
|
|
|
9432
9432
|
margin-left: -${Ls}px;
|
|
9433
9433
|
`;var wu=Xr(51584),Cu=Xr(91885),Ou=Xr(26096),Ku=Xr(84988),Yc=Xr(77703);const Zu=["title","description"];function Tc([M,K]){return Zu.includes(M)?null:Array.isArray(K)?{key:M,value:K.filter(ne=>typeof ne!="object").join(", ")}:typeof K=="object"?null:{key:M,value:K}}function Gu({metadata:M}){const K=(0,o.useMemo)(()=>Object.entries(M||{}).map(Tc).filter(S.K0),[M]);return M?o.createElement(w.MarkdownWrapper,null,o.createElement(w.H3,null,"Metadata"),o.createElement("table",{className:"md"},o.createElement("thead",null,o.createElement("tr",null,o.createElement("th",{scope:"col"},"Key"),o.createElement("th",{scope:"col"},"Value"))),o.createElement("tbody",null,K.map(({key:ne,value:He})=>o.createElement("tr",{key:ne},o.createElement("td",null,ne),o.createElement("td",null,`${He}`)))))):null}function Qu({item:{infoDefinition:M}}){const{options:{markdownHeadingsAnchorLevel:K,hooks:ne,hideDownloadButton:He,expandDefaultServerVariables:it,mockServer:Dt,hideInfoSection:Bt,hideInfoDescription:Yt,showMetadata:ur},parser:{definition:Zt,definitionUrl:hn}}=(0,ee.useRecoilValue)(Ce.cS),En=(0,ee.useRecoilValue)(Ca.JV),On=(0,ee.useRecoilValue)(Ca.QL);if(!M||Bt)return null;const Jn=Yt?null:(0,wu.t)((0,Cu.Hm)(M,"description")||"",K),Bo=(0,Cu.Hm)(M,"summary")||void 0,Eo=Zt?.externalDocs,Oa=(0,Yc.Dm)(hn,(0,Zc.E$)(Zt.servers||[],Dt)),Bn=M.license&&o.createElement(Rc,null,"License:"," ",M.license.identifier?M.license.identifier:o.createElement("a",{href:M.license.url},M.license.name))||null,Aa=M.contact&&M.contact.url&&o.createElement(Rc,null,"URL: ",o.createElement("a",{href:M.contact.url},M.contact.url))||null,qa=M.contact&&M.contact.email&&o.createElement(Rc,null,M.contact.name||"E-mail",":"," ",o.createElement("a",{href:"mailto:"+M.contact.email},M.contact.email))||null,ni=M.termsOfService&&o.createElement(Rc,null,o.createElement("a",{href:M.termsOfService},"Terms of Service"))||null,La=M.version&&o.createElement("span",null,"(",M.version,")")||null;return o.createElement(O.$0,null,o.createElement(O.X2,{layout:On},o.createElement(O.K3,{className:"api-info"},o.createElement(ls,null,M.title," ",La),o.createElement(Ut.Q,{Hook:w.AfterOpenApiTitle||ne?.AfterApiTitle,props:{info:M}}),!He&&o.createElement(wd.C,{wrapped:!0}),o.createElement(w.MarkdownWrapper,null,(M.license||M.contact||M.termsOfService)&&o.createElement(Wu,null,o.createElement(Hu,null,qa," ",Aa," ",Bn," ",ni))||null),Bo&&o.createElement(Qo.Markdown,{source:Bo,"data-role":"redoc-summary"}),Jn&&o.createElement(Qo.Markdown,{source:Jn,"data-role":"redoc-description"}),Eo&&o.createElement(bo,{externalDocs:Eo}),ur&&o.createElement(Gu,{metadata:M["x-metadata"]})),En&&Oa.length?o.createElement(Yu,{"data-cy":"samples-block"},o.createElement(Ku.s,{className:"panel-try-it",header:"Servers",expanded:!0},o.createElement(Ou.S,{servers:Oa,path:"/",expandVariables:!!it,hideHostname:!1}))):null))}const Yu=(0,A.ZP)(O.od)`
|
|
9434
9434
|
margin-top: calc(var(--h1-font-size) * 1.5);
|
|
9435
|
-
`,Pu={group:null,tag:is,section:Hs,schema:is,operation:Sd,root:Qu};function Ju({item:M,withChildren:K=!0}){var ne;const He=Pu[(0,ri.E2)(M)?"root":M.type];return o.createElement(o.Fragment,null,He&&o.createElement(O.$0,{id:M.id,sectionId:M.id,underlined:M.type==="operation"||M.type==="schema"},o.createElement(He,{item:M})),K&&!!((ne=M.items)!=null&&ne.length)&&o.createElement(Ms,{items:M.items}))}const Gl=(0,o.memo)(Ju);function Xu({showNextButton:M,nextSectionLink:K,pagination:ne}){const{hooks:{MiddlePanelFooter:He}}=(0,ee.useRecoilValue)(Ce.lk);switch(!0){case!!He:return o.createElement(Ut.Q,{Hook:He,props:void 0});case!!w.OpenApiFooter:return o.createElement(w.OpenApiFooter,null);case!!(M&&K):return o.createElement(D,{href:K?.href||"",label:K?.name,pagination:ne});default:return null}}const Ks=(0,o.memo)(Xu);function Jc({items:M,pagination:K,nextSectionLink:ne,showNextButton:He,hideFooterAndHeader:it}){const Dt=(0,o.useMemo)(()=>K===ot.Pagination.None?M:M?.filter(Zt=>Zt.type==="section"),[M,K]),{hooks:{MiddlePanelHeader:Bt}}=(0,ee.useRecoilValue)(Ce.lk),Yt=(0,o.useMemo)(()=>it?null:o.createElement(et.a_,null,o.createElement(Ks,{showNextButton:He,pagination:K,nextSectionLink:ne})),[ne,K,He,it]),ur=(0,o.useMemo)(()=>it||!w.OpenApiHeader&&!Bt?null:o.createElement(et.a_,null,Bt?o.createElement(Ut.Q,{Hook:Bt,props:void 0}):o.createElement(w.OpenApiHeader,null)),[Bt,it]);return Dt.length===0?null:o.createElement(o.Fragment,null,ur,Dt.map(Zt=>o.createElement(Gl,{key:Zt.id,item:Zt})),Yt)}function kc({tag:M,nextSectionLink:K,pagination:ne,showNextButton:He}){const{hooks:{MiddlePanelHeader:it}}=(0,ee.useRecoilValue)(Ce.lk),Dt=(0,o.useMemo)(()=>{const Yt=o.createElement(Ks,{showNextButton:He,pagination:ne,nextSectionLink:K});return Yt?o.createElement(et.a_,null,Yt):null},[K,ne,He]),Bt=(0,o.useMemo)(()=>!w.OpenApiHeader&&!it?null:o.createElement(et.a_,null,it?o.createElement(Ut.Q,{Hook:it,props:void 0}):o.createElement(w.OpenApiHeader,null)),[it]);return o.createElement(o.Fragment,null,Bt,o.createElement(Gl,{key:M.id,item:M,withChildren:ne!==ot.Pagination.Item}),ne===ot.Pagination.Item&&o.createElement(Jc,{hideFooterAndHeader:!0,items:M.items||[],pagination:ne,showNextButton:!1}),Dt)}function qu(M){const K=(0,mn.TH)();(0,o.useEffect)(()=>{if(M)return;let ne;return S.Qg&&(K.hash===""?window.scrollTo(0,0):ne=setTimeout(()=>{const He=K.hash.replace("#",""),it=document.getElementById(decodeURIComponent(He));it&&it.scrollIntoView()},0)),()=>{clearTimeout(ne)}},[M,K])}let Xc=!0;function qc({items:M,root:K=!1}){const{pagination:ne,showNextButton:He,disablePaginationLoadingAnimation:it}=(0,ee.useRecoilValue)(Ce.lk),[Dt,Bt]=(0,o.useState)(S.Qg&&!Xc&&!it),Yt=(0,ee.useRecoilValue)(Ca.MO),ur=(0,ee.useRecoilValue)(Ca.Wo);(0,o.useEffect)(()=>{const Bn=setTimeout(()=>{Bt(!1)},200);return Xc=!1,()=>{clearTimeout(Bn)}},[]),qu(Dt);const Zt=Yt?`/${Yt}/`:"/",{groupItems:hn,tagItems:En,operationItems:On,rootItem:Jn}=(0,ri.XM)(M),Bo=!K||Jn?Zt:(0,ri.X6)(M,Zt),Eo=(0,o.useCallback)(Bn=>Bn?.map(Aa=>{var qa;const ni=(0,ri.Lj)({flatItems:ur,item:Aa});switch(ne){case ot.Pagination.Item:return o.createElement(mn.AW,{key:Aa.id,path:Aa.id},o.createElement(mn.AW,{index:!0,element:Aa.type==="operation"?o.createElement(Gl,{key:Aa.id,item:Aa}):o.createElement(kc,{tag:Aa,nextSectionLink:ni,pagination:ne,showNextButton:He})}),(qa=Aa.items)==null?void 0:qa.map(La=>o.createElement(mn.AW,{key:La.id,path:La.id,element:o.createElement(kc,{tag:La,nextSectionLink:(0,ri.Lj)({flatItems:ur,item:La}),pagination:ne,showNextButton:He})})));case ot.Pagination.Section:return o.createElement(mn.AW,{key:Aa.id,path:Aa.id,element:o.createElement(kc,{tag:Aa,nextSectionLink:ni,pagination:ne,showNextButton:He})});default:return null}}),[ur,ne,He]),Oa=(0,o.useMemo)(()=>o.createElement(mn.Z5,null,Jn&&o.createElement(mn.AW,{path:Jn.href||Zt,element:o.createElement(Jc,{items:M,nextSectionLink:(0,ri.Lj)({flatItems:ur,item:Jn}),pagination:ne,showNextButton:He})}),hn.length?hn.map(Bn=>Eo(Bn.items)):Eo(En),On.length&&Eo(On),o.createElement(mn.AW,{path:"*",element:o.createElement(mn.Fg,{to:Bo,replace:!0})})),[Jn,Zt,M,ur,ne,He,hn,Eo,En,On,Bo]);return K&&!M.length?o.createElement(mn.Z5,null,o.createElement(mn.AW,{path:"*",element:o.createElement(Jc,{items:M,pagination:ne,showNextButton:!1})})):M.length?Dt?o.createElement("div",{style:{flex:1,width:"100%"}},o.createElement(O.Od,null)):o.createElement(o.Fragment,null,K?o.createElement(o.Fragment,null,Oa,ne===ot.Pagination.Section&&!!On.length&&On.map(Bn=>o.createElement(Gl,{key:Bn.id,item:Bn}))):M.map(Bn=>o.createElement(Gl,{key:Bn.id,item:Bn}))):null}const Ms=(0,o.memo)(qc);function Cd(M){return M.displayName||M.name||"Component"}var fc=Object.defineProperty,Au=Object.defineProperties,eu=Object.getOwnPropertyDescriptors,Ic=Object.getOwnPropertySymbols,Ru=Object.prototype.hasOwnProperty,ed=Object.prototype.propertyIsEnumerable,Tu=(M,K,ne)=>K in M?fc(M,K,{enumerable:!0,configurable:!0,writable:!0,value:ne}):M[K]=ne,td=(M,K)=>{for(var ne in K||(K={}))Ru.call(K,ne)&&Tu(M,ne,K[ne]);if(Ic)for(var ne of Ic(K))ed.call(K,ne)&&Tu(M,ne,K[ne]);return M},Od=(M,K)=>Au(M,eu(K)),rd=(M,K)=>{var ne={};for(var He in M)Ru.call(M,He)&&K.indexOf(He)<0&&(ne[He]=M[He]);if(M!=null&&Ic)for(var He of Ic(M))K.indexOf(He)<0&&ed.call(M,He)&&(ne[He]=M[He]);return ne};function nd(M){const K=ne=>{var He=ne,{enableRouter:it=!0}=He,Dt=rd(He,["enableRouter"]),Bt,Yt;const ur=(Bt=Dt.basePath)!=null?Bt:"/",Zt=(Yt=Dt.router)!=null?Yt:"history",{Router:hn,routerProps:En}=(0,re.tv)(Zt,ur);return S.Qg&&it?o.createElement(hn,Od(td({},En),{key:ur}),o.createElement(M,td({},Dt))):o.createElement(M,td({},Dt))};return K.displayName=`WithRouter(${Cd(M)})`,K}var od=Object.defineProperty,ad=Object.defineProperties,Pd=Object.getOwnPropertyDescriptors,pc=Object.getOwnPropertySymbols,tu=Object.prototype.hasOwnProperty,ku=Object.prototype.propertyIsEnumerable,Ql=(M,K,ne)=>K in M?od(M,K,{enumerable:!0,configurable:!0,writable:!0,value:ne}):M[K]=ne,id=(M,K)=>{for(var ne in K||(K={}))tu.call(K,ne)&&Ql(M,ne,K[ne]);if(pc)for(var ne of pc(K))ku.call(K,ne)&&Ql(M,ne,K[ne]);return M},Iu=(M,K)=>ad(M,Pd(K)),sd=(M,K)=>{var ne={};for(var He in M)tu.call(M,He)&&K.indexOf(He)<0&&(ne[He]=M[He]);if(M!=null&&pc)for(var He of pc(M))K.indexOf(He)<0&&ku.call(M,He)&&(ne[He]=M[He]);return ne};function Yl(M){return ne=>{var He=ne,{portalOptions:it}=He,Dt=sd(He,["portalOptions"]);const[Bt,Yt]=(0,ee.useRecoilState)(Ca.QL),[ur,Zt]=(0,ee.useRecoilState)(Ca.JV),[hn,En]=(0,ee.useRecoilState)(Ca.Bk),{options:On,versions:Jn}=(0,ee.useRecoilValue)(Ce.cr);(0,o.useEffect)(()=>{it?.layout&&Yt(it.layout)},[it?.layout,Yt]),(0,o.useEffect)(()=>{typeof it?.collapsedSidebar=="boolean"&&En(it.collapsedSidebar)},[it?.collapsedSidebar,En]),(0,o.useEffect)(()=>{typeof it?.showRightPanelToggle=="boolean"&&Zt(it.showRightPanelToggle)},[it?.showRightPanelToggle,Zt]);const[Bo,Eo]=(0,ee.useRecoilState)(Ca.TK),[Oa,Bn]=(0,ee.useRecoilState)(Ca.MO),Aa=(0,mn.s0)(),qa=(0,mn.TH)(),ni=(0,o.useCallback)(({idx:ja})=>{if(ja!==void 0){const Yi=Jn[ja].id;if(fr.Qg&&Yi){const{hash:Cs,pathname:ci,search:ei}=qa;Aa(`${ci}${ei}${Cs}`.replace(Oa,Yi))}Eo(ja)}},[qa,Aa,Eo,Oa,Jn]),{parser:La}=Jn?.[Bo]||{};return(0,o.useEffect)(()=>{La?.versionPath&&Bn(La.versionPath)},[La?.versionPath,Bn]),!La||!Jn.length?null:o.createElement(M,Iu(id({},Dt),{options:On,versions:Jn,layout:Bt,showRightPanelToggle:ur,activeVersionIdx:Bo,onChangeActiveVersion:ni,collapsedSidebar:hn,parser:La}))}}var ru=Xr(26225),Wo=(M,K,ne)=>new Promise((He,it)=>{var Dt=ur=>{try{Yt(ne.next(ur))}catch(Zt){it(Zt)}},Bt=ur=>{try{Yt(ne.throw(ur))}catch(Zt){it(Zt)}},Yt=ur=>ur.done?He(ur.value):Promise.resolve(ur.value).then(Dt,Bt);Yt((ne=ne.apply(M,K)).next())});function zi(M){return"then"in M?M:new Promise(K=>{M.oncomplete=ne=>{K(ne.target.result)}})}function bi(M){const K=new ArrayBuffer(M.length),ne=new Uint8Array(K);for(let He=0,it=M.length;He<it;He++)ne[He]=M.charCodeAt(He);return K}const Vi=()=>{var M;const K=bi(atob("MFwwDQYJKoZIhvcNAQEBBQADSwAwSAJBAMHjNir5fXx/ZXoaEeXQ5XyxbNJ4YJYczoCRdSkL6NLzw1FHnng5Vfcgk5+bvox9QRYRbuk84mA4f2NhywDbXKECAwEAAQ=="));return zi((M=ru.EA)==null?void 0:M.subtle.importKey("spki",K,{name:"RSASSA-PKCS1-v1_5",hash:"SHA-256"},!0,["verify"]))};function Jl(M){if(window.TextEncoder)return new TextEncoder().encode(M);const K=unescape(encodeURIComponent(M)),ne=new Uint8Array(K.length);for(let He=0;He<K.length;He++)ne[He]=K.charCodeAt(He);return ne}function nu(M,K){return Wo(this,null,function*(){var ne;return zi((ne=ru.EA)==null?void 0:ne.subtle.verify({name:"RSASSA-PKCS1-v1_5",hash:"SHA-256"},yield Vi(),bi(atob(K)),Jl(M)))})}function Fi(M,K){return K===!0?!0:Array.isArray(K)&&typeof window<"u"?M==="localhost"||M==="127.0.0.1"||M.endsWith(".localhost")||K.find(ne=>ne===M||M.endsWith("."+ne))?!0:!!K.find(ne=>{if(ne.indexOf("*")!==ne.lastIndexOf("*"))return;const[He,it]=ne.split("*");return it&&M.startsWith(He)&&M.endsWith(it)&&it.split(".").length>2}):!1}function Dc(M){return Wo(this,null,function*(){const K=window.location.hostname;if(!M)return K==="localhost"||K==="127.0.0.1"||K.endsWith(".localhost")?{local:!0}:{};const[ne,He]=M.split(".");let it;try{if(!(yield nu(atob(ne),He)))return{valid:!1};it=JSON.parse(atob(ne))}catch{return{valid:!1,cryptoMissing:!0}}return it.valid=!0,(!it.e||Date.now()/1e3>it.e)&&(it.expired=!0),it.allowed=Fi(K,it.h),it})}var hc=(M,K,ne)=>new Promise((He,it)=>{var Dt=ur=>{try{Yt(ne.next(ur))}catch(Zt){it(Zt)}},Bt=ur=>{try{Yt(ne.throw(ur))}catch(Zt){it(Zt)}},Yt=ur=>ur.done?He(ur.value):Promise.resolve(ur.value).then(Dt,Bt);Yt((ne=ne.apply(M,K)).next())});function _c(M){const[K,ne]=(0,o.useState)({});return(0,o.useEffect)(()=>{function He(){return hc(this,null,function*(){const it=yield Dc(M);ne(it)})}He()},[M]),{licenseInfo:K,isValid:mc(K)}}function mc(M){return M.valid&&M.allowed&&!M.expired||!!M.local}var ou=Object.defineProperty,Tl=Object.getOwnPropertySymbols,Xl=Object.prototype.hasOwnProperty,vc=Object.prototype.propertyIsEnumerable,ql=(M,K,ne)=>K in M?ou(M,K,{enumerable:!0,configurable:!0,writable:!0,value:ne}):M[K]=ne,lo=(M,K)=>{for(var ne in K||(K={}))Xl.call(K,ne)&&ql(M,ne,K[ne]);if(Tl)for(var ne of Tl(K))vc.call(K,ne)&&ql(M,ne,K[ne]);return M};const gl=(0,S.qC)(nd,Yl,o.memo)(({licenseKey:M,onLoaded:K,children:ne,options:He,versions:it,layout:Dt,showRightPanelToggle:Bt,activeVersionIdx:Yt,onChangeActiveVersion:ur,collapsedSidebar:Zt,parser:hn})=>{var En,On,Jn,Bo,Eo;const Oa=(0,o.useRef)(null),{isValid:Bn,licenseInfo:Aa}=_c(M);(0,w.useMount)(()=>{K?.()});const{disableSidebar:qa,whiteLabel:ni,hideLogo:La,hideFab:ja,scrollYOffset:Yi}=He||{},{flatItems:Cs,contentItems:ci}=(0,re.le)({parser:hn,options:He}),ei=(On=(En=hn.definition)==null?void 0:En.info)==null?void 0:On["x-logo"];return o.createElement(yr,{options:He},o.createElement(w.GlobalStyle,null),o.createElement(Vs,{className:"redoc-wrap",ref:Oa},!Bn&&o.createElement(Gn,{licenseInfo:Aa}),o.createElement(Ws,{whiteLabel:ni,showRightPanelToggle:Bt,layout:Dt}),!qa&&o.createElement(Gi,{hideFab:ja,scrollYOffset:Yi,className:"menu-content",collapsedSidebar:!Zt},!La&&o.createElement(w.SidebarLogo,{imageUrl:ei?.url,href:ei?.href||((Eo=(Bo=(Jn=hn.definition)==null?void 0:Jn.info)==null?void 0:Bo.contact)==null?void 0:Eo.url),altText:ei?.altText,backgroundColor:ei?.backgroundColor}),it.length>1&&o.createElement(oa,{versions:it,activeVersionIdx:Yt,onChange:ur}),o.createElement(ft,{contentItems:ci,flatItems:Cs,options:He}),o.createElement(Ze,{items:Bn?ci:[]})),o.createElement(Ti,{className:"api-content",id:"api-content",layout:Dt===w.LayoutVariant.THREE_PANEL&&Bt?w.LayoutVariant.THREE_PANEL:w.LayoutVariant.STACKED,collapsedSidebar:Zt},Bt&&Dt!==w.LayoutVariant.STACKED&&o.createElement(il,null),o.createElement(Ms,{root:!0,items:Bn?ci:[]}),ne),Bt&&Dt!==w.LayoutVariant.STACKED&&o.createElement(Li,null)))});function Lc({onLoaded:M,children:K,store:ne}){var He,it,Dt;return ne?.definition?o.createElement(xr,lo({},ne),o.createElement(gl,{onLoaded:M,basePath:(He=ne.options)==null?void 0:He.routingBasePath,licenseKey:(it=ne.options)==null?void 0:it.licenseKey,enableRouter:(Dt=ne.options)==null?void 0:Dt.enableRouter,portalOptions:ne?.portalOptions},K)):null}function Fs({definition:M,definitionUrl:K,options:ne={},activeItemId:He,activeSampleLanguage:it,activeDeepLink:Dt}){const Bt=o.createElement(lr,{definition:M,definitionUrl:K,options:ne,activeItemId:He,activeSampleLanguage:it,activeDeepLink:Dt},o.createElement(Lc,null));return ne.disableErrorBoundary?Bt:o.createElement(yi,null,Bt)}var yl=Xr(82828),bl=Xr(7964),Mc=Xr(64393);function Du({definitions:M,options:K={}}){return o.createElement(yi,null,o.createElement(lr,{definitions:M,options:K},o.createElement(Lc,null)))}var El=Object.defineProperty,Wi=Object.defineProperties,gc=Object.getOwnPropertyDescriptors,au=Object.getOwnPropertySymbols,iu=Object.prototype.hasOwnProperty,xl=Object.prototype.propertyIsEnumerable,Fc=(M,K,ne)=>K in M?El(M,K,{enumerable:!0,configurable:!0,writable:!0,value:ne}):M[K]=ne,sl=(M,K)=>{for(var ne in K||(K={}))iu.call(K,ne)&&Fc(M,ne,K[ne]);if(au)for(var ne of au(K))xl.call(K,ne)&&Fc(M,ne,K[ne]);return M},yc=(M,K)=>Wi(M,gc(K));function Ss(M){const K=(0,P.$l)(Ca.VB);(0,P.z8)(Ca.VB,yc(sl({},K),{layout:M}))}function kl(M){const K=(0,P.$l)(Ca.zD);(0,P.z8)(Ca.zD,yc(sl({},K),{showRightPanelToggle:M}))}const ws=(0,S.uW)(),su=ws?(0,x.dirname)(ws)+"/":"";function cs(M){const K={},ne=M.attributes;for(let He=0;He<ne.length;He++){const it=ne[He];K[it.name]=it.value}return K}function _u(M){const K=cs(M),ne={};for(const He in K){const it=He.replace(/-(.)/g,(Dt,Bt)=>Bt.toUpperCase());ne[it]=K[He]}return ne}function ec(M,K=document.querySelector("redoc")){(0,C.hydrate)(o.createElement(Lc,{store:M}),K)}function lu(M,K={},ne=(0,S.R2)("redoc"),He){if(ne===null)throw new Error('"element" argument is not provided and <redoc> tag is not found on the page');let it,Dt;if(typeof M=="object"&&"versions"in M){(0,C.render)(o.createElement(Du,{definitions:M,options:sl(sl({},K),_u(ne))},["Loading..."]),ne,He);return}typeof M=="string"?it=M:typeof M=="object"&&(Dt=M),(0,C.render)(o.createElement(Fs,{definition:Dt,definitionUrl:it,options:sl(sl({},K),_u(ne))},["Loading..."]),ne,He)}function ld(M){Xr.p=M}const cd="3.0.0-alpha.61",ud="92f2802";function Nc(){const M=(0,S.R2)("redoc");if(!M)return;const K=M.getAttribute("spec-url");K&&lu(K,{},M)}S.Qg&&ld(su),Nc()})(),Ld})());
|
|
9435
|
+
`,Pu={group:null,tag:is,section:Hs,schema:is,operation:Sd,root:Qu};function Ju({item:M,withChildren:K=!0}){var ne;const He=Pu[(0,ri.E2)(M)?"root":M.type];return o.createElement(o.Fragment,null,He&&o.createElement(O.$0,{id:M.id,sectionId:M.id,underlined:M.type==="operation"||M.type==="schema"},o.createElement(He,{item:M})),K&&!!((ne=M.items)!=null&&ne.length)&&o.createElement(Ms,{items:M.items}))}const Gl=(0,o.memo)(Ju);function Xu({showNextButton:M,nextSectionLink:K,pagination:ne}){const{hooks:{MiddlePanelFooter:He}}=(0,ee.useRecoilValue)(Ce.lk);switch(!0){case!!He:return o.createElement(Ut.Q,{Hook:He,props:void 0});case!!w.OpenApiFooter:return o.createElement(w.OpenApiFooter,null);case!!(M&&K):return o.createElement(D,{href:K?.href||"",label:K?.name,pagination:ne});default:return null}}const Ks=(0,o.memo)(Xu);function Jc({items:M,pagination:K,nextSectionLink:ne,showNextButton:He,hideFooterAndHeader:it}){const Dt=(0,o.useMemo)(()=>K===ot.Pagination.None?M:M?.filter(Zt=>Zt.type==="section"),[M,K]),{hooks:{MiddlePanelHeader:Bt}}=(0,ee.useRecoilValue)(Ce.lk),Yt=(0,o.useMemo)(()=>it?null:o.createElement(et.a_,null,o.createElement(Ks,{showNextButton:He,pagination:K,nextSectionLink:ne})),[ne,K,He,it]),ur=(0,o.useMemo)(()=>it||!w.OpenApiHeader&&!Bt?null:o.createElement(et.a_,null,Bt?o.createElement(Ut.Q,{Hook:Bt,props:void 0}):o.createElement(w.OpenApiHeader,null)),[Bt,it]);return Dt.length===0?null:o.createElement(o.Fragment,null,ur,Dt.map(Zt=>o.createElement(Gl,{key:Zt.id,item:Zt})),Yt)}function kc({tag:M,nextSectionLink:K,pagination:ne,showNextButton:He}){const{hooks:{MiddlePanelHeader:it}}=(0,ee.useRecoilValue)(Ce.lk),Dt=(0,o.useMemo)(()=>{const Yt=o.createElement(Ks,{showNextButton:He,pagination:ne,nextSectionLink:K});return Yt?o.createElement(et.a_,null,Yt):null},[K,ne,He]),Bt=(0,o.useMemo)(()=>!w.OpenApiHeader&&!it?null:o.createElement(et.a_,null,it?o.createElement(Ut.Q,{Hook:it,props:void 0}):o.createElement(w.OpenApiHeader,null)),[it]);return o.createElement(o.Fragment,null,Bt,o.createElement(Gl,{key:M.id,item:M,withChildren:ne!==ot.Pagination.Item}),ne===ot.Pagination.Item&&o.createElement(Jc,{hideFooterAndHeader:!0,items:M.items||[],pagination:ne,showNextButton:!1}),Dt)}function qu(M){const K=(0,mn.TH)();(0,o.useEffect)(()=>{if(M)return;let ne;return S.Qg&&(K.hash===""?window.scrollTo(0,0):ne=setTimeout(()=>{const He=K.hash.replace("#",""),it=document.getElementById(decodeURIComponent(He));it&&it.scrollIntoView()},0)),()=>{clearTimeout(ne)}},[M,K])}let Xc=!0;function qc({items:M,root:K=!1}){const{pagination:ne,showNextButton:He,disablePaginationLoadingAnimation:it}=(0,ee.useRecoilValue)(Ce.lk),[Dt,Bt]=(0,o.useState)(S.Qg&&!Xc&&!it),Yt=(0,ee.useRecoilValue)(Ca.MO),ur=(0,ee.useRecoilValue)(Ca.Wo);(0,o.useEffect)(()=>{const Bn=setTimeout(()=>{Bt(!1)},200);return Xc=!1,()=>{clearTimeout(Bn)}},[]),qu(Dt);const Zt=Yt?`/${Yt}/`:"/",{groupItems:hn,tagItems:En,operationItems:On,rootItem:Jn}=(0,ri.XM)(M),Bo=!K||Jn?Zt:(0,ri.X6)(M,Zt),Eo=(0,o.useCallback)(Bn=>Bn?.map(Aa=>{var qa;const ni=(0,ri.Lj)({flatItems:ur,item:Aa});switch(ne){case ot.Pagination.Item:return o.createElement(mn.AW,{key:Aa.id,path:Aa.id},o.createElement(mn.AW,{index:!0,element:Aa.type==="operation"?o.createElement(Gl,{key:Aa.id,item:Aa}):o.createElement(kc,{tag:Aa,nextSectionLink:ni,pagination:ne,showNextButton:He})}),(qa=Aa.items)==null?void 0:qa.map(La=>o.createElement(mn.AW,{key:La.id,path:La.id,element:o.createElement(kc,{tag:La,nextSectionLink:(0,ri.Lj)({flatItems:ur,item:La}),pagination:ne,showNextButton:He})})));case ot.Pagination.Section:return o.createElement(mn.AW,{key:Aa.id,path:Aa.id,element:o.createElement(kc,{tag:Aa,nextSectionLink:ni,pagination:ne,showNextButton:He})});default:return null}}),[ur,ne,He]),Oa=(0,o.useMemo)(()=>o.createElement(mn.Z5,null,Jn&&o.createElement(mn.AW,{path:Jn.href||Zt,element:o.createElement(Jc,{items:M,nextSectionLink:(0,ri.Lj)({flatItems:ur,item:Jn}),pagination:ne,showNextButton:He})}),hn.length?hn.map(Bn=>Eo(Bn.items)):Eo(En),On.length&&Eo(On),o.createElement(mn.AW,{path:"*",element:o.createElement(mn.Fg,{to:Bo,replace:!0})})),[Jn,Zt,M,ur,ne,He,hn,Eo,En,On,Bo]);return K&&!M.length?o.createElement(mn.Z5,null,o.createElement(mn.AW,{path:"*",element:o.createElement(Jc,{items:M,pagination:ne,showNextButton:!1})})):M.length?Dt?o.createElement("div",{style:{flex:1,width:"100%"}},o.createElement(O.Od,null)):o.createElement(o.Fragment,null,K?o.createElement(o.Fragment,null,Oa,ne===ot.Pagination.Section&&!!On.length&&On.map(Bn=>o.createElement(Gl,{key:Bn.id,item:Bn}))):M.map(Bn=>o.createElement(Gl,{key:Bn.id,item:Bn}))):null}const Ms=(0,o.memo)(qc);function Cd(M){return M.displayName||M.name||"Component"}var fc=Object.defineProperty,Au=Object.defineProperties,eu=Object.getOwnPropertyDescriptors,Ic=Object.getOwnPropertySymbols,Ru=Object.prototype.hasOwnProperty,ed=Object.prototype.propertyIsEnumerable,Tu=(M,K,ne)=>K in M?fc(M,K,{enumerable:!0,configurable:!0,writable:!0,value:ne}):M[K]=ne,td=(M,K)=>{for(var ne in K||(K={}))Ru.call(K,ne)&&Tu(M,ne,K[ne]);if(Ic)for(var ne of Ic(K))ed.call(K,ne)&&Tu(M,ne,K[ne]);return M},Od=(M,K)=>Au(M,eu(K)),rd=(M,K)=>{var ne={};for(var He in M)Ru.call(M,He)&&K.indexOf(He)<0&&(ne[He]=M[He]);if(M!=null&&Ic)for(var He of Ic(M))K.indexOf(He)<0&&ed.call(M,He)&&(ne[He]=M[He]);return ne};function nd(M){const K=ne=>{var He=ne,{enableRouter:it=!0}=He,Dt=rd(He,["enableRouter"]),Bt,Yt;const ur=(Bt=Dt.basePath)!=null?Bt:"/",Zt=(Yt=Dt.router)!=null?Yt:"history",{Router:hn,routerProps:En}=(0,re.tv)(Zt,ur);return S.Qg&&it?o.createElement(hn,Od(td({},En),{key:ur}),o.createElement(M,td({},Dt))):o.createElement(M,td({},Dt))};return K.displayName=`WithRouter(${Cd(M)})`,K}var od=Object.defineProperty,ad=Object.defineProperties,Pd=Object.getOwnPropertyDescriptors,pc=Object.getOwnPropertySymbols,tu=Object.prototype.hasOwnProperty,ku=Object.prototype.propertyIsEnumerable,Ql=(M,K,ne)=>K in M?od(M,K,{enumerable:!0,configurable:!0,writable:!0,value:ne}):M[K]=ne,id=(M,K)=>{for(var ne in K||(K={}))tu.call(K,ne)&&Ql(M,ne,K[ne]);if(pc)for(var ne of pc(K))ku.call(K,ne)&&Ql(M,ne,K[ne]);return M},Iu=(M,K)=>ad(M,Pd(K)),sd=(M,K)=>{var ne={};for(var He in M)tu.call(M,He)&&K.indexOf(He)<0&&(ne[He]=M[He]);if(M!=null&&pc)for(var He of pc(M))K.indexOf(He)<0&&ku.call(M,He)&&(ne[He]=M[He]);return ne};function Yl(M){return ne=>{var He=ne,{portalOptions:it}=He,Dt=sd(He,["portalOptions"]);const[Bt,Yt]=(0,ee.useRecoilState)(Ca.QL),[ur,Zt]=(0,ee.useRecoilState)(Ca.JV),[hn,En]=(0,ee.useRecoilState)(Ca.Bk),{options:On,versions:Jn}=(0,ee.useRecoilValue)(Ce.cr);(0,o.useEffect)(()=>{it?.layout&&Yt(it.layout)},[it?.layout,Yt]),(0,o.useEffect)(()=>{typeof it?.collapsedSidebar=="boolean"&&En(it.collapsedSidebar)},[it?.collapsedSidebar,En]),(0,o.useEffect)(()=>{typeof it?.showRightPanelToggle=="boolean"&&Zt(it.showRightPanelToggle)},[it?.showRightPanelToggle,Zt]);const[Bo,Eo]=(0,ee.useRecoilState)(Ca.TK),[Oa,Bn]=(0,ee.useRecoilState)(Ca.MO),Aa=(0,mn.s0)(),qa=(0,mn.TH)(),ni=(0,o.useCallback)(({idx:ja})=>{if(ja!==void 0){const Yi=Jn[ja].id;if(fr.Qg&&Yi){const{hash:Cs,pathname:ci,search:ei}=qa;Aa(`${ci}${ei}${Cs}`.replace(Oa,Yi))}Eo(ja)}},[qa,Aa,Eo,Oa,Jn]),{parser:La}=Jn?.[Bo]||{};return(0,o.useEffect)(()=>{La?.versionPath&&Bn(La.versionPath)},[La?.versionPath,Bn]),!La||!Jn.length?null:o.createElement(M,Iu(id({},Dt),{options:On,versions:Jn,layout:Bt,showRightPanelToggle:ur,activeVersionIdx:Bo,onChangeActiveVersion:ni,collapsedSidebar:hn,parser:La}))}}var ru=Xr(26225),Wo=(M,K,ne)=>new Promise((He,it)=>{var Dt=ur=>{try{Yt(ne.next(ur))}catch(Zt){it(Zt)}},Bt=ur=>{try{Yt(ne.throw(ur))}catch(Zt){it(Zt)}},Yt=ur=>ur.done?He(ur.value):Promise.resolve(ur.value).then(Dt,Bt);Yt((ne=ne.apply(M,K)).next())});function zi(M){return"then"in M?M:new Promise(K=>{M.oncomplete=ne=>{K(ne.target.result)}})}function bi(M){const K=new ArrayBuffer(M.length),ne=new Uint8Array(K);for(let He=0,it=M.length;He<it;He++)ne[He]=M.charCodeAt(He);return K}const Vi=()=>{var M;const K=bi(atob("MFwwDQYJKoZIhvcNAQEBBQADSwAwSAJBAMHjNir5fXx/ZXoaEeXQ5XyxbNJ4YJYczoCRdSkL6NLzw1FHnng5Vfcgk5+bvox9QRYRbuk84mA4f2NhywDbXKECAwEAAQ=="));return zi((M=ru.EA)==null?void 0:M.subtle.importKey("spki",K,{name:"RSASSA-PKCS1-v1_5",hash:"SHA-256"},!0,["verify"]))};function Jl(M){if(window.TextEncoder)return new TextEncoder().encode(M);const K=unescape(encodeURIComponent(M)),ne=new Uint8Array(K.length);for(let He=0;He<K.length;He++)ne[He]=K.charCodeAt(He);return ne}function nu(M,K){return Wo(this,null,function*(){var ne;return zi((ne=ru.EA)==null?void 0:ne.subtle.verify({name:"RSASSA-PKCS1-v1_5",hash:"SHA-256"},yield Vi(),bi(atob(K)),Jl(M)))})}function Fi(M,K){return K===!0?!0:Array.isArray(K)&&typeof window<"u"?M==="localhost"||M==="127.0.0.1"||M.endsWith(".localhost")||K.find(ne=>ne===M||M.endsWith("."+ne))?!0:!!K.find(ne=>{if(ne.indexOf("*")!==ne.lastIndexOf("*"))return;const[He,it]=ne.split("*");return it&&M.startsWith(He)&&M.endsWith(it)&&it.split(".").length>2}):!1}function Dc(M){return Wo(this,null,function*(){const K=window.location.hostname;if(!M)return K==="localhost"||K==="127.0.0.1"||K.endsWith(".localhost")?{local:!0}:{};const[ne,He]=M.split(".");let it;try{if(!(yield nu(atob(ne),He)))return{valid:!1};it=JSON.parse(atob(ne))}catch{return{valid:!1,cryptoMissing:!0}}return it.valid=!0,(!it.e||Date.now()/1e3>it.e)&&(it.expired=!0),it.allowed=Fi(K,it.h),it})}var hc=(M,K,ne)=>new Promise((He,it)=>{var Dt=ur=>{try{Yt(ne.next(ur))}catch(Zt){it(Zt)}},Bt=ur=>{try{Yt(ne.throw(ur))}catch(Zt){it(Zt)}},Yt=ur=>ur.done?He(ur.value):Promise.resolve(ur.value).then(Dt,Bt);Yt((ne=ne.apply(M,K)).next())});function _c(M){const[K,ne]=(0,o.useState)({});return(0,o.useEffect)(()=>{function He(){return hc(this,null,function*(){const it=yield Dc(M);ne(it)})}He()},[M]),{licenseInfo:K,isValid:mc(K)}}function mc(M){return M.valid&&M.allowed&&!M.expired||!!M.local}var ou=Object.defineProperty,Tl=Object.getOwnPropertySymbols,Xl=Object.prototype.hasOwnProperty,vc=Object.prototype.propertyIsEnumerable,ql=(M,K,ne)=>K in M?ou(M,K,{enumerable:!0,configurable:!0,writable:!0,value:ne}):M[K]=ne,lo=(M,K)=>{for(var ne in K||(K={}))Xl.call(K,ne)&&ql(M,ne,K[ne]);if(Tl)for(var ne of Tl(K))vc.call(K,ne)&&ql(M,ne,K[ne]);return M};const gl=(0,S.qC)(nd,Yl,o.memo)(({licenseKey:M,onLoaded:K,children:ne,options:He,versions:it,layout:Dt,showRightPanelToggle:Bt,activeVersionIdx:Yt,onChangeActiveVersion:ur,collapsedSidebar:Zt,parser:hn})=>{var En,On,Jn,Bo,Eo;const Oa=(0,o.useRef)(null),{isValid:Bn,licenseInfo:Aa}=_c(M);(0,w.useMount)(()=>{K?.()});const{disableSidebar:qa,whiteLabel:ni,hideLogo:La,hideFab:ja,scrollYOffset:Yi}=He||{},{flatItems:Cs,contentItems:ci}=(0,re.le)({parser:hn,options:He}),ei=(On=(En=hn.definition)==null?void 0:En.info)==null?void 0:On["x-logo"];return o.createElement(yr,{options:He},o.createElement(w.GlobalStyle,null),o.createElement(Vs,{className:"redoc-wrap",ref:Oa},!Bn&&o.createElement(Gn,{licenseInfo:Aa}),o.createElement(Ws,{whiteLabel:ni,showRightPanelToggle:Bt,layout:Dt}),!qa&&o.createElement(Gi,{hideFab:ja,scrollYOffset:Yi,className:"menu-content",collapsedSidebar:!Zt},!La&&o.createElement(w.SidebarLogo,{imageUrl:ei?.url,href:ei?.href||((Eo=(Bo=(Jn=hn.definition)==null?void 0:Jn.info)==null?void 0:Bo.contact)==null?void 0:Eo.url),altText:ei?.altText,backgroundColor:ei?.backgroundColor}),it.length>1&&o.createElement(oa,{versions:it,activeVersionIdx:Yt,onChange:ur}),o.createElement(ft,{contentItems:ci,flatItems:Cs,options:He}),o.createElement(Ze,{items:Bn?ci:[]})),o.createElement(Ti,{className:"api-content",id:"api-content",layout:Dt===w.LayoutVariant.THREE_PANEL&&Bt?w.LayoutVariant.THREE_PANEL:w.LayoutVariant.STACKED,collapsedSidebar:Zt},Bt&&Dt!==w.LayoutVariant.STACKED&&o.createElement(il,null),o.createElement(Ms,{root:!0,items:Bn?ci:[]}),ne),Bt&&Dt!==w.LayoutVariant.STACKED&&o.createElement(Li,null)))});function Lc({onLoaded:M,children:K,store:ne}){var He,it,Dt;return ne?.definition?o.createElement(xr,lo({},ne),o.createElement(gl,{onLoaded:M,basePath:(He=ne.options)==null?void 0:He.routingBasePath,licenseKey:(it=ne.options)==null?void 0:it.licenseKey,enableRouter:(Dt=ne.options)==null?void 0:Dt.enableRouter,portalOptions:ne?.portalOptions},K)):null}function Fs({definition:M,definitionUrl:K,options:ne={},activeItemId:He,activeSampleLanguage:it,activeDeepLink:Dt}){const Bt=o.createElement(lr,{definition:M,definitionUrl:K,options:ne,activeItemId:He,activeSampleLanguage:it,activeDeepLink:Dt},o.createElement(Lc,null));return ne.disableErrorBoundary?Bt:o.createElement(yi,null,Bt)}var yl=Xr(82828),bl=Xr(7964),Mc=Xr(64393);function Du({definitions:M,options:K={}}){return o.createElement(yi,null,o.createElement(lr,{definitions:M,options:K},o.createElement(Lc,null)))}var El=Object.defineProperty,Wi=Object.defineProperties,gc=Object.getOwnPropertyDescriptors,au=Object.getOwnPropertySymbols,iu=Object.prototype.hasOwnProperty,xl=Object.prototype.propertyIsEnumerable,Fc=(M,K,ne)=>K in M?El(M,K,{enumerable:!0,configurable:!0,writable:!0,value:ne}):M[K]=ne,sl=(M,K)=>{for(var ne in K||(K={}))iu.call(K,ne)&&Fc(M,ne,K[ne]);if(au)for(var ne of au(K))xl.call(K,ne)&&Fc(M,ne,K[ne]);return M},yc=(M,K)=>Wi(M,gc(K));function Ss(M){const K=(0,P.$l)(Ca.VB);(0,P.z8)(Ca.VB,yc(sl({},K),{layout:M}))}function kl(M){const K=(0,P.$l)(Ca.zD);(0,P.z8)(Ca.zD,yc(sl({},K),{showRightPanelToggle:M}))}const ws=(0,S.uW)(),su=ws?(0,x.dirname)(ws)+"/":"";function cs(M){const K={},ne=M.attributes;for(let He=0;He<ne.length;He++){const it=ne[He];K[it.name]=it.value}return K}function _u(M){const K=cs(M),ne={};for(const He in K){const it=He.replace(/-(.)/g,(Dt,Bt)=>Bt.toUpperCase());ne[it]=K[He]}return ne}function ec(M,K=document.querySelector("redoc")){(0,C.hydrate)(o.createElement(Lc,{store:M}),K)}function lu(M,K={},ne=(0,S.R2)("redoc"),He){if(ne===null)throw new Error('"element" argument is not provided and <redoc> tag is not found on the page');let it,Dt;if(typeof M=="object"&&"versions"in M){(0,C.render)(o.createElement(Du,{definitions:M,options:sl(sl({},K),_u(ne))},["Loading..."]),ne,He);return}typeof M=="string"?it=M:typeof M=="object"&&(Dt=M),(0,C.render)(o.createElement(Fs,{definition:Dt,definitionUrl:it,options:sl(sl({},K),_u(ne))},["Loading..."]),ne,He)}function ld(M){Xr.p=M}const cd="3.0.0-alpha.62",ud="f0612fa";function Nc(){const M=(0,S.R2)("redoc");if(!M)return;const K=M.getAttribute("spec-url");K&&lu(K,{},M)}S.Qg&&ld(su),Nc()})(),Ld})());
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.buildContentItems=exports.buildMenuStructure=void 0;const tags_1=require("./tags"),markdown_1=require("./markdown"),utils_1=require("../../utils"),history_1=require("../history");function buildMenuStructure(e,t){var i,n;const{definition:o}=e,{hideInfoSection:r,hideInfoDescription:s,pagination:u,schemaDefinitionsTagName:
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.buildContentItems=exports.buildMenuStructure=void 0;const tags_1=require("./tags"),markdown_1=require("./markdown"),utils_1=require("../../utils"),history_1=require("../history");function buildMenuStructure(e,t){var i,n;const{definition:o}=e,{hideInfoSection:r,hideInfoDescription:s,pagination:u,schemaDefinitionsTagName:a,markdownHeadingsAnchorLevel:d,infoLabel:l}=t,m=r&&"none"!==u?[]:[{id:"",name:(null===(i=null==o?void 0:o.info)||void 0===i?void 0:i["x-label"])||l||(null===(n=null==o?void 0:o.info)||void 0===n?void 0:n.title)||"Overview",href:"/",depth:r?-1:1,level:1,type:"section",infoDefinition:o.info,items:[]}],f=[...o.tags||[]];!f.find((e=>(null==e?void 0:e.name)===a))&&a&&f.push({name:a});const h=(0,tags_1.getTagsWithOperations)(e,f),p=o["x-tagGroups"];return r||s||m.push(...(0,markdown_1.addMarkdownItems)((0,utils_1.getValueFromMdParsedExtension)(o.info,"description")||"",void 0,1,d,u)),p&&p.length>0?m.push(...(0,tags_1.getTagGroupsItems)(e,void 0,p,h,t)):m.push(...(0,tags_1.getTagsItems)(e,h,void 0,void 0,t)),m}function addVersionToHref(e,t){return e.map((e=>(e.href&&(e.href=(0,utils_1.normalizePath)((0,history_1.joinWithSeparator)(t,e.href,"/"))),e.id&&"tag"===e.type&&(e.id=(0,utils_1.normalizePath)((0,history_1.joinWithSeparator)(t,e.id,"/"))),e.items&&addVersionToHref(e.items,t),e)))}function buildContentItems(e,t){const i=buildMenuStructure(e,t),n=e.versionPath?addVersionToHref(i,e.versionPath):i;return{contentItems:n,flatItems:(0,utils_1.flattenByProp)(n||[],"items")}}exports.buildMenuStructure=buildMenuStructure,exports.buildContentItems=buildContentItems;
|
|
2
2
|
//# sourceMappingURL=builder.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{getTagGroupsItems,getTagsItems,getTagsWithOperations}from"./tags";import{addMarkdownItems}from"./markdown";import{flattenByProp,getValueFromMdParsedExtension,normalizePath}from"../../utils";import{joinWithSeparator}from"../history";export function buildMenuStructure(e,t){var i,o;const{definition:n}=e,{hideInfoSection:r,hideInfoDescription:a,pagination:s,schemaDefinitionsTagName:d,markdownHeadingsAnchorLevel:m,infoLabel:l}=t,
|
|
1
|
+
import{getTagGroupsItems,getTagsItems,getTagsWithOperations}from"./tags";import{addMarkdownItems}from"./markdown";import{flattenByProp,getValueFromMdParsedExtension,normalizePath}from"../../utils";import{joinWithSeparator}from"../history";export function buildMenuStructure(e,t){var i,o;const{definition:n}=e,{hideInfoSection:r,hideInfoDescription:a,pagination:s,schemaDefinitionsTagName:d,markdownHeadingsAnchorLevel:m,infoLabel:l}=t,u=r&&"none"!==s?[]:[{id:"",name:(null===(i=null==n?void 0:n.info)||void 0===i?void 0:i["x-label"])||l||(null===(o=null==n?void 0:n.info)||void 0===o?void 0:o.title)||"Overview",href:"/",depth:r?-1:1,level:1,type:"section",infoDefinition:n.info,items:[]}],f=[...n.tags||[]];!f.find((e=>(null==e?void 0:e.name)===d))&&d&&f.push({name:d});const p=getTagsWithOperations(e,f),h=n["x-tagGroups"];return r||a||u.push(...addMarkdownItems(getValueFromMdParsedExtension(n.info,"description")||"",void 0,1,m,s)),h&&h.length>0?u.push(...getTagGroupsItems(e,void 0,h,p,t)):u.push(...getTagsItems(e,p,void 0,void 0,t)),u}function addVersionToHref(e,t){return e.map((e=>(e.href&&(e.href=normalizePath(joinWithSeparator(t,e.href,"/"))),e.id&&"tag"===e.type&&(e.id=normalizePath(joinWithSeparator(t,e.id,"/"))),e.items&&addVersionToHref(e.items,t),e)))}export function buildContentItems(e,t){const i=buildMenuStructure(e,t),o=e.versionPath?addVersionToHref(i,e.versionPath):i;return{contentItems:o,flatItems:flattenByProp(o||[],"items")}}
|
|
2
2
|
//# sourceMappingURL=builder.js.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@redocly/openapi-docs",
|
|
3
|
-
"version": "3.0.0-alpha.
|
|
3
|
+
"version": "3.0.0-alpha.62",
|
|
4
4
|
"description": "Redocly OpenAPI Docs",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"module": "lib-esm/index.js",
|
|
@@ -115,7 +115,7 @@
|
|
|
115
115
|
"webpack-cli": "^5.1.4",
|
|
116
116
|
"webpack-dev-server": "^4.15.1",
|
|
117
117
|
"workerize-loader": "github:redocly/workerize-loader#webpack-5-dist",
|
|
118
|
-
"@redocly/theme": "0.
|
|
118
|
+
"@redocly/theme": "0.20.0"
|
|
119
119
|
},
|
|
120
120
|
"scripts": {
|
|
121
121
|
"start": "webpack serve --mode=development --hot",
|