@redocly/reference-docs 2.43.0 → 2.43.1
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.
- package/bin/cli/commands/redocly-docs-cli.min.js +2 -2
- package/bin/cli/commands/redocly-docs-cli.min.js.LICENSE.txt +1 -1
- package/dist/console.redocly-reference-docs.min.js +1 -1
- package/dist/oauth2-redirect.js +1 -1
- package/dist/redocly-reference-docs.min.js +4 -4
- package/lib/redoc-lib/src/utils/jsonToHtml.d.ts +5 -1
- package/lib/redoc-lib/src/utils/jsonToHtml.js +1 -1
- package/lib-esm/redoc-lib/src/utils/jsonToHtml.d.ts +5 -1
- package/lib-esm/redoc-lib/src/utils/jsonToHtml.js +1 -1
- package/package.json +1 -1
|
@@ -2,7 +2,7 @@ var Ar=Math.pow;/*!
|
|
|
2
2
|
* Redocly Reference Docs
|
|
3
3
|
* (c) Copyright 2018 Redocly LLC, all rights reserved.
|
|
4
4
|
* -------------------------------------------------------------
|
|
5
|
-
* Version: "2.43.
|
|
5
|
+
* Version: "2.43.1"
|
|
6
6
|
*/(this.webpackChunkRedoclyReferenceDocs=this.webpackChunkRedoclyReferenceDocs||[]).push([[290],{66419:(p,I,a)=>{p.exports=a(27698)},77766:(p,I,a)=>{p.exports=a(8065)},72119:(p,I,a)=>{p.exports=a(57448)},20116:(p,I,a)=>{p.exports=a(11955)},94473:(p,I,a)=>{p.exports=a(61577)},78580:(p,I,a)=>{p.exports=a(33778)},2991:(p,I,a)=>{p.exports=a(61798)},3649:(p,I,a)=>{p.exports=a(82073)},92762:(p,I,a)=>{p.exports=a(2348)},59340:(p,I,a)=>{p.exports=a(8933)},51942:(p,I,a)=>{p.exports=a(63383)},26295:(p,I,a)=>{p.exports=a(86209)},86902:(p,I,a)=>{p.exports=a(23059)},93476:(p,I,a)=>{p.exports=a(27460)},52424:(p,I,a)=>{p.exports=a(72010)},53592:(p,I,a)=>{p.exports=a(27385)},78363:(p,I,a)=>{p.exports=a(81522)},19996:(p,I,a)=>{p.exports=a(32209)},30699:(p,I,a)=>{p.exports=a(44442)},28834:(p,I,a)=>{p.exports=a(57152)},95683:(p,I,a)=>{p.exports=a(69447)},95238:(p,I,a)=>{p.exports=a(81493)},189:(p,I,a)=>{p.exports=a(76094)},32752:(p,I,a)=>{p.exports=a(70573)},44341:(p,I,a)=>{p.exports=a(73685)},58377:(p,I,a)=>{p.exports=a(27533)},13038:(p,I,a)=>{p.exports=a(39057)},63263:(p,I,a)=>{p.exports=a(84710)},24889:(p,I,a)=>{p.exports=a(74303)},89356:(p,I,a)=>{p.exports=a(93799)},79542:(p,I,a)=>{p.exports=a(55122)},69798:(p,I,a)=>{p.exports=a(29531)},13535:(p,I,a)=>{p.exports=a(10856)},83863:(p,I,a)=>{p.exports=a(31524)},51446:(p,I,a)=>{p.exports=a(86600)},23882:(p,I,a)=>{p.exports=a(9759)},63109:(p,I,a)=>{p.exports=a(35666)},50706:(p,I,a)=>{var c=a(48764).Buffer;(function(){"use strict";function v(m){var h;return m instanceof c?h=m:h=c.from(m.toString(),"binary"),h.toString("base64")}p.exports=v})()},21924:(p,I,a)=>{"use strict";var c=a(40210),v=a(55559),m=v(c("String.prototype.indexOf"));p.exports=function(b,C){var S=c(b,!!C);return typeof S=="function"&&m(b,".prototype.")>-1?v(S):S}},55559:(p,I,a)=>{"use strict";var c=a(58612),v=a(40210),m=v("%Function.prototype.apply%"),h=v("%Function.prototype.call%"),b=v("%Reflect.apply%",!0)||c.call(h,m),C=v("%Object.getOwnPropertyDescriptor%",!0),S=v("%Object.defineProperty%",!0),L=v("%Math.max%");if(S)try{S({},"a",{value:1})}catch(j){S=null}p.exports=function(U){var Q=b(c,h,arguments);if(C&&S){var K=C(Q,"length");K.configurable&&S(Q,"length",{value:1+L(0,U.length-(arguments.length-1))})}return Q};var N=function(){return b(c,m,arguments)};S?S(p.exports,"apply",{value:N}):p.exports.apply=N},82801:(p,I,a)=>{(function(c){c(a(4631))})(function(c){var v={pairs:`()[]{}''""`,closeBefore:`)]}'":;>`,triples:"",explode:"[]{}"},m=c.Pos;c.defineOption("autoCloseBrackets",!1,function(R,E,V){V&&V!=c.Init&&(R.removeKeyMap(b),R.state.closeBrackets=null),E&&(C(h(E,"pairs")),R.state.closeBrackets=E,R.addKeyMap(b))});function h(R,E){return E=="pairs"&&typeof R=="string"?R:typeof R=="object"&&R[E]!=null?R[E]:v[E]}var b={Backspace:N,Enter:j};function C(R){for(var E=0;E<R.length;E++){var V=R.charAt(E),G="'"+V+"'";b[G]||(b[G]=S(V))}}C(v.pairs+"`");function S(R){return function(E){return K(E,R)}}function L(R){var E=R.state.closeBrackets;if(!E||E.override)return E;var V=R.getModeAt(R.getCursor());return V.closeBrackets||E}function N(R){var E=L(R);if(!E||R.getOption("disableInput"))return c.Pass;for(var V=h(E,"pairs"),G=R.listSelections(),Z=0;Z<G.length;Z++){if(!G[Z].empty())return c.Pass;var X=M(R,G[Z].head);if(!X||V.indexOf(X)%2!=0)return c.Pass}for(var Z=G.length-1;Z>=0;Z--){var z=G[Z].head;R.replaceRange("",m(z.line,z.ch-1),m(z.line,z.ch+1),"+delete")}}function j(R){var E=L(R),V=E&&h(E,"explode");if(!V||R.getOption("disableInput"))return c.Pass;for(var G=R.listSelections(),Z=0;Z<G.length;Z++){if(!G[Z].empty())return c.Pass;var X=M(R,G[Z].head);if(!X||V.indexOf(X)%2!=0)return c.Pass}R.operation(function(){var z=R.lineSeparator()||`
|
|
7
7
|
`;R.replaceSelection(z+z,null),U(R,-1),G=R.listSelections();for(var ue=0;ue<G.length;ue++){var q=G[ue].head.line;R.indentLine(q,null,!0),R.indentLine(q+1,null,!0)}})}function U(R,E){for(var V=[],G=R.listSelections(),Z=0,X=0;X<G.length;X++){var z=G[X];z.head==R.getCursor()&&(Z=X);var ue=z.head.ch||E>0?{line:z.head.line,ch:z.head.ch+E}:{line:z.head.line-1};V.push({anchor:ue,head:ue})}R.setSelections(V,Z)}function Q(R){var E=c.cmpPos(R.anchor,R.head)>0;return{anchor:new m(R.anchor.line,R.anchor.ch+(E?-1:1)),head:new m(R.head.line,R.head.ch+(E?1:-1))}}function K(R,E){var V=L(R);if(!V||R.getOption("disableInput"))return c.Pass;var G=h(V,"pairs"),Z=G.indexOf(E);if(Z==-1)return c.Pass;for(var X=h(V,"closeBefore"),z=h(V,"triples"),ue=G.charAt(Z+1)==E,q=R.listSelections(),ne=Z%2==0,ge,me=0;me<q.length;me++){var he=q[me],le=he.head,ie,Oe=R.getRange(le,m(le.line,le.ch+1));if(ne&&!he.empty())ie="surround";else if((ue||!ne)&&Oe==E)ue&&Y(R,le)?ie="both":z.indexOf(E)>=0&&R.getRange(le,m(le.line,le.ch+3))==E+E+E?ie="skipThree":ie="skip";else if(ue&&le.ch>1&&z.indexOf(E)>=0&&R.getRange(m(le.line,le.ch-2),le)==E+E){if(le.ch>2&&/\bstring/.test(R.getTokenTypeAt(m(le.line,le.ch-2))))return c.Pass;ie="addFour"}else if(ue){var Pe=le.ch==0?" ":R.getRange(m(le.line,le.ch-1),le);if(!c.isWordChar(Oe)&&Pe!=E&&!c.isWordChar(Pe))ie="both";else return c.Pass}else if(ne&&(Oe.length===0||/\s/.test(Oe)||X.indexOf(Oe)>-1))ie="both";else return c.Pass;if(!ge)ge=ie;else if(ge!=ie)return c.Pass}var Te=Z%2?G.charAt(Z-1):E,Ce=Z%2?E:G.charAt(Z+1);R.operation(function(){if(ge=="skip")U(R,1);else if(ge=="skipThree")U(R,3);else if(ge=="surround"){for(var Xe=R.getSelections(),He=0;He<Xe.length;He++)Xe[He]=Te+Xe[He]+Ce;R.replaceSelections(Xe,"around"),Xe=R.listSelections().slice();for(var He=0;He<Xe.length;He++)Xe[He]=Q(Xe[He]);R.setSelections(Xe)}else ge=="both"?(R.replaceSelection(Te+Ce,null),R.triggerElectric(Te+Ce),U(R,-1)):ge=="addFour"&&(R.replaceSelection(Te+Te+Te+Te,"before"),U(R,1))})}function M(R,E){var V=R.getRange(m(E.line,E.ch-1),m(E.line,E.ch+1));return V.length==2?V:null}function Y(R,E){var V=R.getTokenAt(m(E.line,E.ch+1));return/\bstring/.test(V.type)&&V.start==E.ch&&(E.ch==0||!/\bstring/.test(R.getTokenTypeAt(E)))}})},4328:(p,I,a)=>{(function(c){c(a(4631))})(function(c){var v=/MSIE \d/.test(navigator.userAgent)&&(document.documentMode==null||document.documentMode<8),m=c.Pos,h={"(":")>",")":"(<","[":"]>","]":"[<","{":"}>","}":"{<","<":">>",">":"<<"};function b(U){return U&&U.bracketRegex||/[(){}[\]]/}function C(U,Q,K){var M=U.getLineHandle(Q.line),Y=Q.ch-1,R=K&&K.afterCursor;R==null&&(R=/(^| )cm-fat-cursor($| )/.test(U.getWrapperElement().className));var E=b(K),V=!R&&Y>=0&&E.test(M.text.charAt(Y))&&h[M.text.charAt(Y)]||E.test(M.text.charAt(Y+1))&&h[M.text.charAt(++Y)];if(!V)return null;var G=V.charAt(1)==">"?1:-1;if(K&&K.strict&&G>0!=(Y==Q.ch))return null;var Z=U.getTokenTypeAt(m(Q.line,Y+1)),X=S(U,m(Q.line,Y+(G>0?1:0)),G,Z,K);return X==null?null:{from:m(Q.line,Y),to:X&&X.pos,match:X&&X.ch==V.charAt(0),forward:G>0}}function S(U,Q,K,M,Y){for(var R=Y&&Y.maxScanLineLength||1e4,E=Y&&Y.maxScanLines||1e3,V=[],G=b(Y),Z=K>0?Math.min(Q.line+E,U.lastLine()+1):Math.max(U.firstLine()-1,Q.line-E),X=Q.line;X!=Z;X+=K){var z=U.getLine(X);if(!!z){var ue=K>0?0:z.length-1,q=K>0?z.length:-1;if(!(z.length>R))for(X==Q.line&&(ue=Q.ch-(K<0?1:0));ue!=q;ue+=K){var ne=z.charAt(ue);if(G.test(ne)&&(M===void 0||(U.getTokenTypeAt(m(X,ue+1))||"")==(M||""))){var ge=h[ne];if(ge&&ge.charAt(1)==">"==K>0)V.push(ne);else if(V.length)V.pop();else return{pos:m(X,ue),ch:ne}}}}}return X-K==(K>0?U.lastLine():U.firstLine())?!1:null}function L(U,Q,K){for(var M=U.state.matchBrackets.maxHighlightLineLength||1e3,Y=K&&K.highlightNonMatching,R=[],E=U.listSelections(),V=0;V<E.length;V++){var G=E[V].empty()&&C(U,E[V].head,K);if(G&&(G.match||Y!==!1)&&U.getLine(G.from.line).length<=M){var Z=G.match?"CodeMirror-matchingbracket":"CodeMirror-nonmatchingbracket";R.push(U.markText(G.from,m(G.from.line,G.from.ch+1),{className:Z})),G.to&&U.getLine(G.to.line).length<=M&&R.push(U.markText(G.to,m(G.to.line,G.to.ch+1),{className:Z}))}}if(R.length){v&&U.state.focused&&U.focus();var X=function(){U.operation(function(){for(var z=0;z<R.length;z++)R[z].clear()})};if(Q)setTimeout(X,800);else return X}}function N(U){U.operation(function(){U.state.matchBrackets.currentlyHighlighted&&(U.state.matchBrackets.currentlyHighlighted(),U.state.matchBrackets.currentlyHighlighted=null),U.state.matchBrackets.currentlyHighlighted=L(U,!1,U.state.matchBrackets)})}function j(U){U.state.matchBrackets&&U.state.matchBrackets.currentlyHighlighted&&(U.state.matchBrackets.currentlyHighlighted(),U.state.matchBrackets.currentlyHighlighted=null)}c.defineOption("matchBrackets",!1,function(U,Q,K){K&&K!=c.Init&&(U.off("cursorActivity",N),U.off("focus",N),U.off("blur",j),j(U)),Q&&(U.state.matchBrackets=typeof Q=="object"?Q:{},U.on("cursorActivity",N),U.on("focus",N),U.on("blur",j))}),c.defineExtension("matchBrackets",function(){L(this,!0)}),c.defineExtension("findMatchingBracket",function(U,Q,K){return(K||typeof Q=="boolean")&&(K?(K.strict=Q,Q=K):Q=Q?{strict:!0}:null),C(this,U,Q)}),c.defineExtension("scanForBracket",function(U,Q,K,M){return S(this,U,Q,K,M)})})},71707:(p,I,a)=>{(function(c){c(a(4631))})(function(c){"use strict";var v="CodeMirror-hint",m="CodeMirror-hint-active";c.showHint=function(R,E,V){if(!E)return R.showHint(V);V&&V.async&&(E.async=!0);var G={hint:E};if(V)for(var Z in V)G[Z]=V[Z];return R.showHint(G)},c.defineExtension("showHint",function(R){R=S(this,this.getCursor("start"),R);var E=this.listSelections();if(!(E.length>1)){if(this.somethingSelected()){if(!R.hint.supportsSelection)return;for(var V=0;V<E.length;V++)if(E[V].head.line!=E[V].anchor.line)return}this.state.completionActive&&this.state.completionActive.close();var G=this.state.completionActive=new h(this,R);!G.options.hint||(c.signal(this,"startCompletion",this),G.update(!0))}}),c.defineExtension("closeHint",function(){this.state.completionActive&&this.state.completionActive.close()});function h(R,E){if(this.cm=R,this.options=E,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 V=this;R.on("cursorActivity",this.activityFunc=function(){V.cursorActivity()})}}var b=window.requestAnimationFrame||function(R){return setTimeout(R,1e3/60)},C=window.cancelAnimationFrame||clearTimeout;h.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&&c.signal(this.data,"close"),this.widget&&this.widget.close(),c.signal(this.cm,"endCompletion",this.cm))},active:function(){return this.cm.state.completionActive==this},pick:function(R,E){var V=R.list[E],G=this;this.cm.operation(function(){V.hint?V.hint(G.cm,R,V):G.cm.replaceRange(L(V),V.from||R.from,V.to||R.to,"complete"),c.signal(R,"pick",V),G.cm.scrollIntoView()}),this.options.closeOnPick&&this.close()},cursorActivity:function(){this.debounce&&(C(this.debounce),this.debounce=0);var R=this.startPos;this.data&&(R=this.data.from);var E=this.cm.getCursor(),V=this.cm.getLine(E.line);if(E.line!=this.startPos.line||V.length-E.ch!=this.startLen-this.startPos.ch||E.ch<R.ch||this.cm.somethingSelected()||!E.ch||this.options.closeCharacters.test(V.charAt(E.ch-1)))this.close();else{var G=this;this.debounce=b(function(){G.update()}),this.widget&&this.widget.disable()}},update:function(R){if(this.tick!=null){var E=this,V=++this.tick;K(this.options.hint,this.cm,this.options,function(G){E.tick==V&&E.finishUpdate(G,R)})}},finishUpdate:function(R,E){this.data&&c.signal(this.data,"update");var V=this.widget&&this.widget.picked||E&&this.options.completeSingle;this.widget&&this.widget.close(),this.data=R,R&&R.list.length&&(V&&R.list.length==1?this.pick(R,0):(this.widget=new U(this,R),c.signal(R,"shown")))}};function S(R,E,V){var G=R.options.hintOptions,Z={};for(var X in Y)Z[X]=Y[X];if(G)for(var X in G)G[X]!==void 0&&(Z[X]=G[X]);if(V)for(var X in V)V[X]!==void 0&&(Z[X]=V[X]);return Z.hint.resolve&&(Z.hint=Z.hint.resolve(R,E)),Z}function L(R){return typeof R=="string"?R:R.text}function N(R,E){var V={Up:function(){E.moveFocus(-1)},Down:function(){E.moveFocus(1)},PageUp:function(){E.moveFocus(-E.menuSize()+1,!0)},PageDown:function(){E.moveFocus(E.menuSize()-1,!0)},Home:function(){E.setFocus(0)},End:function(){E.setFocus(E.length-1)},Enter:E.pick,Tab:E.pick,Esc:E.close},G=/Mac/.test(navigator.platform);G&&(V["Ctrl-P"]=function(){E.moveFocus(-1)},V["Ctrl-N"]=function(){E.moveFocus(1)});var Z=R.options.customKeys,X=Z?{}:V;function z(ne,ge){var me;typeof ge!="string"?me=function(he){return ge(he,E)}:V.hasOwnProperty(ge)?me=V[ge]:me=ge,X[ne]=me}if(Z)for(var ue in Z)Z.hasOwnProperty(ue)&&z(ue,Z[ue]);var q=R.options.extraKeys;if(q)for(var ue in q)q.hasOwnProperty(ue)&&z(ue,q[ue]);return X}function j(R,E){for(;E&&E!=R;){if(E.nodeName.toUpperCase()==="LI"&&E.parentNode==R)return E;E=E.parentNode}}function U(R,E){this.id="cm-complete-"+Math.floor(Math.random(1e6)),this.completion=R,this.data=E,this.picked=!1;var V=this,G=R.cm,Z=G.getInputField().ownerDocument,X=Z.defaultView||Z.parentWindow,z=this.hints=Z.createElement("ul");z.setAttribute("role","listbox"),z.setAttribute("aria-expanded","true"),z.id=this.id;var ue=R.cm.options.theme;z.className="CodeMirror-hints "+ue,this.selectedHint=E.selectedHint||0;for(var q=E.list,ne=0;ne<q.length;++ne){var ge=z.appendChild(Z.createElement("li")),me=q[ne],he=v+(ne!=this.selectedHint?"":" "+m);me.className!=null&&(he=me.className+" "+he),ge.className=he,ne==this.selectedHint&&ge.setAttribute("aria-selected","true"),ge.id=this.id+"-"+ne,ge.setAttribute("role","option"),me.render?me.render(ge,E,me):ge.appendChild(Z.createTextNode(me.displayText||L(me))),ge.hintId=ne}var le=R.options.container||Z.body,ie=G.cursorCoords(R.options.alignWithWord?E.from:null),Oe=ie.left,Pe=ie.bottom,Te=!0,Ce=0,Xe=0;if(le!==Z.body){var He=["absolute","relative","fixed"].indexOf(X.getComputedStyle(le).position)!==-1,Je=He?le:le.offsetParent,ut=Je.getBoundingClientRect(),ft=Z.body.getBoundingClientRect();Ce=ut.left-ft.left-Je.scrollLeft,Xe=ut.top-ft.top-Je.scrollTop}z.style.left=Oe-Ce+"px",z.style.top=Pe-Xe+"px";var mt=X.innerWidth||Math.max(Z.body.offsetWidth,Z.documentElement.offsetWidth),Qe=X.innerHeight||Math.max(Z.body.offsetHeight,Z.documentElement.offsetHeight);le.appendChild(z),G.getInputField().setAttribute("aria-autocomplete","list"),G.getInputField().setAttribute("aria-owns",this.id),G.getInputField().setAttribute("aria-activedescendant",this.id+"-"+this.selectedHint);var rt=R.options.moveOnOverlap?z.getBoundingClientRect():new DOMRect,ct=R.options.paddingForScrollbar?z.scrollHeight>z.clientHeight+1:!1,dt;setTimeout(function(){dt=G.getScrollInfo()});var ot=rt.bottom-Qe;if(ot>0){var Tt=rt.bottom-rt.top,Ot=ie.top-(ie.bottom-rt.top);if(Ot-Tt>0)z.style.top=(Pe=ie.top-Tt-Xe)+"px",Te=!1;else if(Tt>Qe){z.style.height=Qe-5+"px",z.style.top=(Pe=ie.bottom-rt.top-Xe)+"px";var St=G.getCursor();E.from.ch!=St.ch&&(ie=G.cursorCoords(St),z.style.left=(Oe=ie.left-Ce)+"px",rt=z.getBoundingClientRect())}}var jt=rt.right-mt;if(ct&&(jt+=G.display.nativeBarWidth),jt>0&&(rt.right-rt.left>mt&&(z.style.width=mt-5+"px",jt-=rt.right-rt.left-mt),z.style.left=(Oe=ie.left-jt-Ce)+"px"),ct)for(var Dt=z.firstChild;Dt;Dt=Dt.nextSibling)Dt.style.paddingRight=G.display.nativeBarWidth+"px";if(G.addKeyMap(this.keyMap=N(R,{moveFocus:function(Ft,vt){V.changeActive(V.selectedHint+Ft,vt)},setFocus:function(Ft){V.changeActive(Ft)},menuSize:function(){return V.screenAmount()},length:q.length,close:function(){R.close()},pick:function(){V.pick()},data:E})),R.options.closeOnUnfocus){var Nt;G.on("blur",this.onBlur=function(){Nt=setTimeout(function(){R.close()},100)}),G.on("focus",this.onFocus=function(){clearTimeout(Nt)})}G.on("scroll",this.onScroll=function(){var Ft=G.getScrollInfo(),vt=G.getWrapperElement().getBoundingClientRect();dt||(dt=G.getScrollInfo());var zt=Pe+dt.top-Ft.top,Kt=zt-(X.pageYOffset||(Z.documentElement||Z.body).scrollTop);if(Te||(Kt+=z.offsetHeight),Kt<=vt.top||Kt>=vt.bottom)return R.close();z.style.top=zt+"px",z.style.left=Oe+dt.left-Ft.left+"px"}),c.on(z,"dblclick",function(Ft){var vt=j(z,Ft.target||Ft.srcElement);vt&&vt.hintId!=null&&(V.changeActive(vt.hintId),V.pick())}),c.on(z,"click",function(Ft){var vt=j(z,Ft.target||Ft.srcElement);vt&&vt.hintId!=null&&(V.changeActive(vt.hintId),R.options.completeOnSingleClick&&V.pick())}),c.on(z,"mousedown",function(){setTimeout(function(){G.focus()},20)});var xt=this.getSelectedHintRange();return(xt.from!==0||xt.to!==0)&&this.scrollToActive(),c.signal(E,"select",q[this.selectedHint],z.childNodes[this.selectedHint]),!0}U.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 R=this.completion.cm.getInputField();R.removeAttribute("aria-activedescendant"),R.removeAttribute("aria-owns");var E=this.completion.cm;this.completion.options.closeOnUnfocus&&(E.off("blur",this.onBlur),E.off("focus",this.onFocus)),E.off("scroll",this.onScroll)}},disable:function(){this.completion.cm.removeKeyMap(this.keyMap);var R=this;this.keyMap={Enter:function(){R.picked=!0}},this.completion.cm.addKeyMap(this.keyMap)},pick:function(){this.completion.pick(this.data,this.selectedHint)},changeActive:function(R,E){if(R>=this.data.list.length?R=E?this.data.list.length-1:0:R<0&&(R=E?0:this.data.list.length-1),this.selectedHint!=R){var V=this.hints.childNodes[this.selectedHint];V&&(V.className=V.className.replace(" "+m,""),V.removeAttribute("aria-selected")),V=this.hints.childNodes[this.selectedHint=R],V.className+=" "+m,V.setAttribute("aria-selected","true"),this.completion.cm.getInputField().setAttribute("aria-activedescendant",V.id),this.scrollToActive(),c.signal(this.data,"select",this.data.list[this.selectedHint],V)}},scrollToActive:function(){var R=this.getSelectedHintRange(),E=this.hints.childNodes[R.from],V=this.hints.childNodes[R.to],G=this.hints.firstChild;E.offsetTop<this.hints.scrollTop?this.hints.scrollTop=E.offsetTop-G.offsetTop:V.offsetTop+V.offsetHeight>this.hints.scrollTop+this.hints.clientHeight&&(this.hints.scrollTop=V.offsetTop+V.offsetHeight-this.hints.clientHeight+G.offsetTop)},screenAmount:function(){return Math.floor(this.hints.clientHeight/this.hints.firstChild.offsetHeight)||1},getSelectedHintRange:function(){var R=this.completion.options.scrollMargin||0;return{from:Math.max(0,this.selectedHint-R),to:Math.min(this.data.list.length-1,this.selectedHint+R)}}};function Q(R,E){if(!R.somethingSelected())return E;for(var V=[],G=0;G<E.length;G++)E[G].supportsSelection&&V.push(E[G]);return V}function K(R,E,V,G){if(R.async)R(E,G,V);else{var Z=R(E,V);Z&&Z.then?Z.then(G):G(Z)}}function M(R,E){var V=R.getHelpers(E,"hint"),G;if(V.length){var Z=function(X,z,ue){var q=Q(X,V);function ne(ge){if(ge==q.length)return z(null);K(q[ge],X,ue,function(me){me&&me.list.length>0?z(me):ne(ge+1)})}ne(0)};return Z.async=!0,Z.supportsSelection=!0,Z}else return(G=R.getHelper(R.getCursor(),"hintWords"))?function(X){return c.hint.fromList(X,{words:G})}:c.hint.anyword?function(X,z){return c.hint.anyword(X,z)}:function(){}}c.registerHelper("hint","auto",{resolve:M}),c.registerHelper("hint","fromList",function(R,E){var V=R.getCursor(),G=R.getTokenAt(V),Z,X=c.Pos(V.line,G.start),z=V;G.start<V.ch&&/\w/.test(G.string.charAt(V.ch-G.start-1))?Z=G.string.substr(0,V.ch-G.start):(Z="",X=V);for(var ue=[],q=0;q<E.words.length;q++){var ne=E.words[q];ne.slice(0,Z.length)==Z&&ue.push(ne)}if(ue.length)return{list:ue,from:X,to:z}}),c.commands.autocomplete=c.showHint;var Y={hint:c.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};c.defineOption("hintOptions",null)})},3256:(p,I,a)=>{(function(c){c(a(4631))})(function(c){"use strict";var v="CodeMirror-lint-markers",m="CodeMirror-lint-line-";function h(z,ue,q){var ne=document.createElement("div");ne.className="CodeMirror-lint-tooltip cm-s-"+z.options.theme,ne.appendChild(q.cloneNode(!0)),z.state.lint.options.selfContain?z.getWrapperElement().appendChild(ne):document.body.appendChild(ne);function ge(me){if(!ne.parentNode)return c.off(document,"mousemove",ge);ne.style.top=Math.max(0,me.clientY-ne.offsetHeight-5)+"px",ne.style.left=me.clientX+5+"px"}return c.on(document,"mousemove",ge),ge(ue),ne.style.opacity!=null&&(ne.style.opacity=1),ne}function b(z){z.parentNode&&z.parentNode.removeChild(z)}function C(z){!z.parentNode||(z.style.opacity==null&&b(z),z.style.opacity=0,setTimeout(function(){b(z)},600))}function S(z,ue,q,ne){var ge=h(z,ue,q);function me(){c.off(ne,"mouseout",me),ge&&(C(ge),ge=null)}var he=setInterval(function(){if(ge)for(var le=ne;;le=le.parentNode){if(le&&le.nodeType==11&&(le=le.host),le==document.body)return;if(!le){me();break}}if(!ge)return clearInterval(he)},400);c.on(ne,"mouseout",me)}function L(z,ue,q){this.marked=[],ue instanceof Function&&(ue={getAnnotations:ue}),(!ue||ue===!0)&&(ue={}),this.options={},this.linterOptions=ue.options||{};for(var ne in N)this.options[ne]=N[ne];for(var ne in ue)N.hasOwnProperty(ne)?ue[ne]!=null&&(this.options[ne]=ue[ne]):ue.options||(this.linterOptions[ne]=ue[ne]);this.timeout=null,this.hasGutter=q,this.onMouseOver=function(ge){X(z,ge)},this.waitingFor=0}var N={highlightLines:!1,tooltips:!0,delay:500,lintOnChange:!0,getAnnotations:null,async:!1,selfContain:null,formatAnnotation:null,onUpdateLinting:null};function j(z){var ue=z.state.lint;ue.hasGutter&&z.clearGutter(v),ue.options.highlightLines&&U(z);for(var q=0;q<ue.marked.length;++q)ue.marked[q].clear();ue.marked.length=0}function U(z){z.eachLine(function(ue){var q=ue.wrapClass&&/\bCodeMirror-lint-line-\w+\b/.exec(ue.wrapClass);q&&z.removeLineClass(ue,"wrap",q[0])})}function Q(z,ue,q,ne,ge){var me=document.createElement("div"),he=me;return me.className="CodeMirror-lint-marker CodeMirror-lint-marker-"+q,ne&&(he=me.appendChild(document.createElement("div")),he.className="CodeMirror-lint-marker CodeMirror-lint-marker-multiple"),ge!=!1&&c.on(he,"mouseover",function(le){S(z,le,ue,he)}),me}function K(z,ue){return z=="error"?z:ue}function M(z){for(var ue=[],q=0;q<z.length;++q){var ne=z[q],ge=ne.from.line;(ue[ge]||(ue[ge]=[])).push(ne)}return ue}function Y(z){var ue=z.severity;ue||(ue="error");var q=document.createElement("div");return q.className="CodeMirror-lint-message CodeMirror-lint-message-"+ue,typeof z.messageHTML!="undefined"?q.innerHTML=z.messageHTML:q.appendChild(document.createTextNode(z.message)),q}function R(z,ue){var q=z.state.lint,ne=++q.waitingFor;function ge(){ne=-1,z.off("change",ge)}z.on("change",ge),ue(z.getValue(),function(me,he){z.off("change",ge),q.waitingFor==ne&&(he&&me instanceof c&&(me=he),z.operation(function(){V(z,me)}))},q.linterOptions,z)}function E(z){var ue=z.state.lint;if(!!ue){var q=ue.options,ne=q.getAnnotations||z.getHelper(c.Pos(0,0),"lint");if(!!ne)if(q.async||ne.async)R(z,ne);else{var ge=ne(z.getValue(),ue.linterOptions,z);if(!ge)return;ge.then?ge.then(function(me){z.operation(function(){V(z,me)})}):z.operation(function(){V(z,ge)})}}}function V(z,ue){var q=z.state.lint;if(!!q){var ne=q.options;j(z);for(var ge=M(ue),me=0;me<ge.length;++me){var he=ge[me];if(!!he){var le=[];he=he.filter(function(Xe){return le.indexOf(Xe.message)>-1?!1:le.push(Xe.message)});for(var ie=null,Oe=q.hasGutter&&document.createDocumentFragment(),Pe=0;Pe<he.length;++Pe){var Te=he[Pe],Ce=Te.severity;Ce||(Ce="error"),ie=K(ie,Ce),ne.formatAnnotation&&(Te=ne.formatAnnotation(Te)),q.hasGutter&&Oe.appendChild(Y(Te)),Te.to&&q.marked.push(z.markText(Te.from,Te.to,{className:"CodeMirror-lint-mark CodeMirror-lint-mark-"+Ce,__annotation:Te}))}q.hasGutter&&z.setGutterMarker(me,v,Q(z,Oe,ie,ge[me].length>1,ne.tooltips)),ne.highlightLines&&z.addLineClass(me,"wrap",m+ie)}}ne.onUpdateLinting&&ne.onUpdateLinting(ue,ge,z)}}function G(z){var ue=z.state.lint;!ue||(clearTimeout(ue.timeout),ue.timeout=setTimeout(function(){E(z)},ue.options.delay))}function Z(z,ue,q){for(var ne=q.target||q.srcElement,ge=document.createDocumentFragment(),me=0;me<ue.length;me++){var he=ue[me];ge.appendChild(Y(he))}S(z,q,ge,ne)}function X(z,ue){var q=ue.target||ue.srcElement;if(!!/\bCodeMirror-lint-mark-/.test(q.className)){for(var ne=q.getBoundingClientRect(),ge=(ne.left+ne.right)/2,me=(ne.top+ne.bottom)/2,he=z.findMarksAt(z.coordsChar({left:ge,top:me},"client")),le=[],ie=0;ie<he.length;++ie){var Oe=he[ie].__annotation;Oe&&le.push(Oe)}le.length&&Z(z,le,ue)}}c.defineOption("lint",!1,function(z,ue,q){if(q&&q!=c.Init&&(j(z),z.state.lint.options.lintOnChange!==!1&&z.off("change",G),c.off(z.getWrapperElement(),"mouseover",z.state.lint.onMouseOver),clearTimeout(z.state.lint.timeout),delete z.state.lint),ue){for(var ne=z.getOption("gutters"),ge=!1,me=0;me<ne.length;++me)ne[me]==v&&(ge=!0);var he=z.state.lint=new L(z,ue,ge);he.options.lintOnChange&&z.on("change",G),he.options.tooltips!=!1&&he.options.tooltips!="gutter"&&c.on(z.getWrapperElement(),"mouseover",he.onMouseOver),E(z)}}),c.defineExtension("performLint",function(){E(this)})})},32095:(p,I,a)=>{(function(c){c(a(4631))})(function(c){"use strict";var v=c.Pos;function m(E){var V=E.flags;return V!=null?V:(E.ignoreCase?"i":"")+(E.global?"g":"")+(E.multiline?"m":"")}function h(E,V){for(var G=m(E),Z=G,X=0;X<V.length;X++)Z.indexOf(V.charAt(X))==-1&&(Z+=V.charAt(X));return G==Z?E:new RegExp(E.source,Z)}function b(E){return/\\s|\\n|\n|\\W|\\D|\[\^/.test(E.source)}function C(E,V,G){V=h(V,"g");for(var Z=G.line,X=G.ch,z=E.lastLine();Z<=z;Z++,X=0){V.lastIndex=X;var ue=E.getLine(Z),q=V.exec(ue);if(q)return{from:v(Z,q.index),to:v(Z,q.index+q[0].length),match:q}}}function S(E,V,G){if(!b(V))return C(E,V,G);V=h(V,"gm");for(var Z,X=1,z=G.line,ue=E.lastLine();z<=ue;){for(var q=0;q<X&&!(z>ue);q++){var ne=E.getLine(z++);Z=Z==null?ne:Z+`
|
|
8
8
|
`+ne}X=X*2,V.lastIndex=G.ch;var ge=V.exec(Z);if(ge){var me=Z.slice(0,ge.index).split(`
|
package/dist/oauth2-redirect.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Redocly Reference Docs
|
|
3
3
|
* (c) Copyright 2018 Redocly LLC, all rights reserved.
|
|
4
4
|
* -------------------------------------------------------------
|
|
5
|
-
* Version: "2.43.
|
|
5
|
+
* Version: "2.43.1"
|
|
6
6
|
*/(function(Ee,fe){typeof exports=="object"&&typeof module=="object"?module.exports=fe():typeof define=="function"&&define.amd?define([],fe):typeof exports=="object"?exports.RedoclyReferenceDocs=fe():Ee.RedoclyReferenceDocs=fe()})(this,function(){return(()=>{var Ke={13099:a=>{a.exports=function(l){if(typeof l!="function")throw TypeError(String(l)+" is not a function");return l}},96077:(a,l,e)=>{var t=e(70111);a.exports=function(n){if(!t(n)&&n!==null)throw TypeError("Can't set "+String(n)+" as a prototype");return n}},51223:(a,l,e)=>{var t=e(5112),n=e(70030),s=e(3070),o=t("unscopables"),i=Array.prototype;i[o]==null&&s.f(i,o,{configurable:!0,value:n(null)}),a.exports=function(c){i[o][c]=!0}},25787:a=>{a.exports=function(l,e,t){if(!(l instanceof e))throw TypeError("Incorrect "+(t?t+" ":"")+"invocation");return l}},19670:(a,l,e)=>{var t=e(70111);a.exports=function(n){if(!t(n))throw TypeError(String(n)+" is not an object");return n}},48457:(a,l,e)=>{"use strict";var t=e(49974),n=e(47908),s=e(53411),o=e(97659),i=e(17466),c=e(86135),h=e(71246);a.exports=function(m){var v=n(m),S=typeof this=="function"?this:Array,O=arguments.length,b=O>1?arguments[1]:void 0,N=b!==void 0,B=h(v),w=0,D,I,j,R,x,T;if(N&&(b=t(b,O>2?arguments[2]:void 0,2)),B!=null&&!(S==Array&&o(B)))for(R=B.call(v),x=R.next,I=new S;!(j=x.call(R)).done;w++)T=N?s(R,b,[j.value,w],!0):j.value,c(I,w,T);else for(D=i(v.length),I=new S(D);D>w;w++)T=N?b(v[w],w):v[w],c(I,w,T);return I.length=w,I}},41318:(a,l,e)=>{var t=e(45656),n=e(17466),s=e(51400),o=function(i){return function(c,h,p){var m=t(c),v=n(m.length),S=s(p,v),O;if(i&&h!=h){for(;v>S;)if(O=m[S++],O!=O)return!0}else for(;v>S;S++)if((i||S in m)&&m[S]===h)return i||S||0;return!i&&-1}};a.exports={includes:o(!0),indexOf:o(!1)}},53411:(a,l,e)=>{var t=e(19670),n=e(99212);a.exports=function(s,o,i,c){try{return c?o(t(i)[0],i[1]):o(i)}catch(h){throw n(s),h}}},84326:a=>{var l={}.toString;a.exports=function(e){return l.call(e).slice(8,-1)}},70648:(a,l,e)=>{var t=e(51694),n=e(84326),s=e(5112),o=s("toStringTag"),i=n(function(){return arguments}())=="Arguments",c=function(h,p){try{return h[p]}catch(m){}};a.exports=t?n:function(h){var p,m,v;return h===void 0?"Undefined":h===null?"Null":typeof(m=c(p=Object(h),o))=="string"?m:i?n(p):(v=n(p))=="Object"&&typeof p.callee=="function"?"Arguments":v}},99920:(a,l,e)=>{var t=e(86656),n=e(53887),s=e(31236),o=e(3070);a.exports=function(i,c){for(var h=n(c),p=o.f,m=s.f,v=0;v<h.length;v++){var S=h[v];t(i,S)||p(i,S,m(c,S))}}},49920:(a,l,e)=>{var t=e(47293);a.exports=!t(function(){function n(){}return n.prototype.constructor=null,Object.getPrototypeOf(new n)!==n.prototype})},24994:(a,l,e)=>{"use strict";var t=e(13383).IteratorPrototype,n=e(70030),s=e(79114),o=e(58003),i=e(97497),c=function(){return this};a.exports=function(h,p,m){var v=p+" Iterator";return h.prototype=n(t,{next:s(1,m)}),o(h,v,!1,!0),i[v]=c,h}},68880:(a,l,e)=>{var t=e(19781),n=e(3070),s=e(79114);a.exports=t?function(o,i,c){return n.f(o,i,s(1,c))}:function(o,i,c){return o[i]=c,o}},79114:a=>{a.exports=function(l,e){return{enumerable:!(l&1),configurable:!(l&2),writable:!(l&4),value:e}}},86135:(a,l,e)=>{"use strict";var t=e(57593),n=e(3070),s=e(79114);a.exports=function(o,i,c){var h=t(i);h in o?n.f(o,h,s(0,c)):o[h]=c}},70654:(a,l,e)=>{"use strict";var t=e(82109),n=e(24994),s=e(79518),o=e(27674),i=e(58003),c=e(68880),h=e(31320),p=e(5112),m=e(31913),v=e(97497),S=e(13383),O=S.IteratorPrototype,b=S.BUGGY_SAFARI_ITERATORS,N=p("iterator"),B="keys",w="values",D="entries",I=function(){return this};a.exports=function(j,R,x,T,G,W,K){n(x,R,T);var V=function(te){if(te===G&&Q)return Q;if(!b&&te in $)return $[te];switch(te){case B:return function(){return new x(this,te)};case w:return function(){return new x(this,te)};case D:return function(){return new x(this,te)}}return function(){return new x(this)}},ne=R+" Iterator",re=!1,$=j.prototype,k=$[N]||$["@@iterator"]||G&&$[G],Q=!b&&k||V(G),ae=R=="Array"&&$.entries||k,q,oe,de;if(ae&&(q=s(ae.call(new j)),O!==Object.prototype&&q.next&&(!m&&s(q)!==O&&(o?o(q,O):typeof q[N]!="function"&&c(q,N,I)),i(q,ne,!0,!0),m&&(v[ne]=I))),G==w&&k&&k.name!==w&&(re=!0,Q=function(){return k.call(this)}),(!m||K)&&$[N]!==Q&&c($,N,Q),v[R]=Q,G)if(oe={values:V(w),keys:W?Q:V(B),entries:V(D)},K)for(de in oe)(b||re||!(de in $))&&h($,de,oe[de]);else t({target:R,proto:!0,forced:b||re},oe);return oe}},19781:(a,l,e)=>{var t=e(47293);a.exports=!t(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})},80317:(a,l,e)=>{var t=e(17854),n=e(70111),s=t.document,o=n(s)&&n(s.createElement);a.exports=function(i){return o?s.createElement(i):{}}},88113:(a,l,e)=>{var t=e(35005);a.exports=t("navigator","userAgent")||""},7392:(a,l,e)=>{var t=e(17854),n=e(88113),s=t.process,o=s&&s.versions,i=o&&o.v8,c,h;i?(c=i.split("."),h=c[0]<4?1:c[0]+c[1]):n&&(c=n.match(/Edge\/(\d+)/),(!c||c[1]>=74)&&(c=n.match(/Chrome\/(\d+)/),c&&(h=c[1]))),a.exports=h&&+h},80748:a=>{a.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},82109:(a,l,e)=>{var t=e(17854),n=e(31236).f,s=e(68880),o=e(31320),i=e(83505),c=e(99920),h=e(54705);a.exports=function(p,m){var v=p.target,S=p.global,O=p.stat,b,N,B,w,D,I;if(S?N=t:O?N=t[v]||i(v,{}):N=(t[v]||{}).prototype,N)for(B in m){if(D=m[B],p.noTargetGet?(I=n(N,B),w=I&&I.value):w=N[B],b=h(S?B:v+(O?".":"#")+B,p.forced),!b&&w!==void 0){if(typeof D==typeof w)continue;c(D,w)}(p.sham||w&&w.sham)&&s(D,"sham",!0),o(N,B,D,p)}}},47293:a=>{a.exports=function(l){try{return!!l()}catch(e){return!0}}},49974:(a,l,e)=>{var t=e(13099);a.exports=function(n,s,o){if(t(n),s===void 0)return n;switch(o){case 0:return function(){return n.call(s)};case 1:return function(i){return n.call(s,i)};case 2:return function(i,c){return n.call(s,i,c)};case 3:return function(i,c,h){return n.call(s,i,c,h)}}return function(){return n.apply(s,arguments)}}},35005:(a,l,e)=>{var t=e(40857),n=e(17854),s=function(o){return typeof o=="function"?o:void 0};a.exports=function(o,i){return arguments.length<2?s(t[o])||s(n[o]):t[o]&&t[o][i]||n[o]&&n[o][i]}},71246:(a,l,e)=>{var t=e(70648),n=e(97497),s=e(5112),o=s("iterator");a.exports=function(i){if(i!=null)return i[o]||i["@@iterator"]||n[t(i)]}},18554:(a,l,e)=>{var t=e(19670),n=e(71246);a.exports=function(s){var o=n(s);if(typeof o!="function")throw TypeError(String(s)+" is not iterable");return t(o.call(s))}},17854:(a,l,e)=>{var t=function(n){return n&&n.Math==Math&&n};a.exports=t(typeof globalThis=="object"&&globalThis)||t(typeof window=="object"&&window)||t(typeof self=="object"&&self)||t(typeof e.g=="object"&&e.g)||function(){return this}()||Function("return this")()},86656:(a,l,e)=>{var t=e(47908),n={}.hasOwnProperty;a.exports=Object.hasOwn||function(o,i){return n.call(t(o),i)}},3501:a=>{a.exports={}},60490:(a,l,e)=>{var t=e(35005);a.exports=t("document","documentElement")},64664:(a,l,e)=>{var t=e(19781),n=e(47293),s=e(80317);a.exports=!t&&!n(function(){return Object.defineProperty(s("div"),"a",{get:function(){return 7}}).a!=7})},68361:(a,l,e)=>{var t=e(47293),n=e(84326),s="".split;a.exports=t(function(){return!Object("z").propertyIsEnumerable(0)})?function(o){return n(o)=="String"?s.call(o,""):Object(o)}:Object},42788:(a,l,e)=>{var t=e(5465),n=Function.toString;typeof t.inspectSource!="function"&&(t.inspectSource=function(s){return n.call(s)}),a.exports=t.inspectSource},29909:(a,l,e)=>{var t=e(68536),n=e(17854),s=e(70111),o=e(68880),i=e(86656),c=e(5465),h=e(6200),p=e(3501),m="Object already initialized",v=n.WeakMap,S,O,b,N=function(x){return b(x)?O(x):S(x,{})},B=function(x){return function(T){var G;if(!s(T)||(G=O(T)).type!==x)throw TypeError("Incompatible receiver, "+x+" required");return G}};if(t||c.state){var w=c.state||(c.state=new v),D=w.get,I=w.has,j=w.set;S=function(x,T){if(I.call(w,x))throw new TypeError(m);return T.facade=x,j.call(w,x,T),T},O=function(x){return D.call(w,x)||{}},b=function(x){return I.call(w,x)}}else{var R=h("state");p[R]=!0,S=function(x,T){if(i(x,R))throw new TypeError(m);return T.facade=x,o(x,R,T),T},O=function(x){return i(x,R)?x[R]:{}},b=function(x){return i(x,R)}}a.exports={set:S,get:O,has:b,enforce:N,getterFor:B}},97659:(a,l,e)=>{var t=e(5112),n=e(97497),s=t("iterator"),o=Array.prototype;a.exports=function(i){return i!==void 0&&(n.Array===i||o[s]===i)}},54705:(a,l,e)=>{var t=e(47293),n=/#|\.prototype\./,s=function(p,m){var v=i[o(p)];return v==h?!0:v==c?!1:typeof m=="function"?t(m):!!m},o=s.normalize=function(p){return String(p).replace(n,".").toLowerCase()},i=s.data={},c=s.NATIVE="N",h=s.POLYFILL="P";a.exports=s},70111:a=>{a.exports=function(l){return typeof l=="object"?l!==null:typeof l=="function"}},31913:a=>{a.exports=!1},99212:(a,l,e)=>{var t=e(19670);a.exports=function(n){var s=n.return;if(s!==void 0)return t(s.call(n)).value}},13383:(a,l,e)=>{"use strict";var t=e(47293),n=e(79518),s=e(68880),o=e(86656),i=e(5112),c=e(31913),h=i("iterator"),p=!1,m=function(){return this},v,S,O;[].keys&&(O=[].keys(),"next"in O?(S=n(n(O)),S!==Object.prototype&&(v=S)):p=!0);var b=v==null||t(function(){var N={};return v[h].call(N)!==N});b&&(v={}),(!c||b)&&!o(v,h)&&s(v,h,m),a.exports={IteratorPrototype:v,BUGGY_SAFARI_ITERATORS:p}},97497:a=>{a.exports={}},30133:(a,l,e)=>{var t=e(7392),n=e(47293);a.exports=!!Object.getOwnPropertySymbols&&!n(function(){var s=Symbol();return!String(s)||!(Object(s)instanceof Symbol)||!Symbol.sham&&t&&t<41})},590:(a,l,e)=>{var t=e(47293),n=e(5112),s=e(31913),o=n("iterator");a.exports=!t(function(){var i=new URL("b?a=1&b=2&c=3","http://a"),c=i.searchParams,h="";return i.pathname="c%20d",c.forEach(function(p,m){c.delete("b"),h+=m+p}),s&&!i.toJSON||!c.sort||i.href!=="http://a/c%20d?a=1&c=3"||c.get("c")!=="3"||String(new URLSearchParams("?a=1"))!=="a=1"||!c[o]||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"||h!=="a1c3"||new URL("http://x",void 0).host!=="x"})},68536:(a,l,e)=>{var t=e(17854),n=e(42788),s=t.WeakMap;a.exports=typeof s=="function"&&/native code/.test(n(s))},21574:(a,l,e)=>{"use strict";var t=e(19781),n=e(47293),s=e(81956),o=e(25181),i=e(55296),c=e(47908),h=e(68361),p=Object.assign,m=Object.defineProperty;a.exports=!p||n(function(){if(t&&p({b:1},p(m({},"a",{enumerable:!0,get:function(){m(this,"b",{value:3,enumerable:!1})}}),{b:2})).b!==1)return!0;var v={},S={},O=Symbol(),b="abcdefghijklmnopqrst";return v[O]=7,b.split("").forEach(function(N){S[N]=N}),p({},v)[O]!=7||s(p({},S)).join("")!=b})?function(S,O){for(var b=c(S),N=arguments.length,B=1,w=o.f,D=i.f;N>B;)for(var I=h(arguments[B++]),j=w?s(I).concat(w(I)):s(I),R=j.length,x=0,T;R>x;)T=j[x++],(!t||D.call(I,T))&&(b[T]=I[T]);return b}:p},70030:(a,l,e)=>{var t=e(19670),n=e(36048),s=e(80748),o=e(3501),i=e(60490),c=e(80317),h=e(6200),p=">",m="<",v="prototype",S="script",O=h("IE_PROTO"),b=function(){},N=function(j){return m+S+p+j+m+"/"+S+p},B=function(j){j.write(N("")),j.close();var R=j.parentWindow.Object;return j=null,R},w=function(){var j=c("iframe"),R="java"+S+":",x;return j.style.display="none",i.appendChild(j),j.src=String(R),x=j.contentWindow.document,x.open(),x.write(N("document.F=Object")),x.close(),x.F},D,I=function(){try{D=document.domain&&new ActiveXObject("htmlfile")}catch(R){}I=D?B(D):w();for(var j=s.length;j--;)delete I[v][s[j]];return I()};o[O]=!0,a.exports=Object.create||function(R,x){var T;return R!==null?(b[v]=t(R),T=new b,b[v]=null,T[O]=R):T=I(),x===void 0?T:n(T,x)}},36048:(a,l,e)=>{var t=e(19781),n=e(3070),s=e(19670),o=e(81956);a.exports=t?Object.defineProperties:function(c,h){s(c);for(var p=o(h),m=p.length,v=0,S;m>v;)n.f(c,S=p[v++],h[S]);return c}},3070:(a,l,e)=>{var t=e(19781),n=e(64664),s=e(19670),o=e(57593),i=Object.defineProperty;l.f=t?i:function(h,p,m){if(s(h),p=o(p,!0),s(m),n)try{return i(h,p,m)}catch(v){}if("get"in m||"set"in m)throw TypeError("Accessors not supported");return"value"in m&&(h[p]=m.value),h}},31236:(a,l,e)=>{var t=e(19781),n=e(55296),s=e(79114),o=e(45656),i=e(57593),c=e(86656),h=e(64664),p=Object.getOwnPropertyDescriptor;l.f=t?p:function(v,S){if(v=o(v),S=i(S,!0),h)try{return p(v,S)}catch(O){}if(c(v,S))return s(!n.f.call(v,S),v[S])}},8006:(a,l,e)=>{var t=e(16324),n=e(80748),s=n.concat("length","prototype");l.f=Object.getOwnPropertyNames||function(i){return t(i,s)}},25181:(a,l)=>{l.f=Object.getOwnPropertySymbols},79518:(a,l,e)=>{var t=e(86656),n=e(47908),s=e(6200),o=e(49920),i=s("IE_PROTO"),c=Object.prototype;a.exports=o?Object.getPrototypeOf:function(h){return h=n(h),t(h,i)?h[i]:typeof h.constructor=="function"&&h instanceof h.constructor?h.constructor.prototype:h instanceof Object?c:null}},16324:(a,l,e)=>{var t=e(86656),n=e(45656),s=e(41318).indexOf,o=e(3501);a.exports=function(i,c){var h=n(i),p=0,m=[],v;for(v in h)!t(o,v)&&t(h,v)&&m.push(v);for(;c.length>p;)t(h,v=c[p++])&&(~s(m,v)||m.push(v));return m}},81956:(a,l,e)=>{var t=e(16324),n=e(80748);a.exports=Object.keys||function(o){return t(o,n)}},55296:(a,l)=>{"use strict";var e={}.propertyIsEnumerable,t=Object.getOwnPropertyDescriptor,n=t&&!e.call({1:2},1);l.f=n?function(o){var i=t(this,o);return!!i&&i.enumerable}:e},27674:(a,l,e)=>{var t=e(19670),n=e(96077);a.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var s=!1,o={},i;try{i=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set,i.call(o,[]),s=o instanceof Array}catch(c){}return function(h,p){return t(h),n(p),s?i.call(h,p):h.__proto__=p,h}}():void 0)},53887:(a,l,e)=>{var t=e(35005),n=e(8006),s=e(25181),o=e(19670);a.exports=t("Reflect","ownKeys")||function(c){var h=n.f(o(c)),p=s.f;return p?h.concat(p(c)):h}},40857:(a,l,e)=>{var t=e(17854);a.exports=t},12248:(a,l,e)=>{var t=e(31320);a.exports=function(n,s,o){for(var i in s)t(n,i,s[i],o);return n}},31320:(a,l,e)=>{var t=e(17854),n=e(68880),s=e(86656),o=e(83505),i=e(42788),c=e(29909),h=c.get,p=c.enforce,m=String(String).split("String");(a.exports=function(v,S,O,b){var N=b?!!b.unsafe:!1,B=b?!!b.enumerable:!1,w=b?!!b.noTargetGet:!1,D;if(typeof O=="function"&&(typeof S=="string"&&!s(O,"name")&&n(O,"name",S),D=p(O),D.source||(D.source=m.join(typeof S=="string"?S:""))),v===t){B?v[S]=O:o(S,O);return}else N?!w&&v[S]&&(B=!0):delete v[S];B?v[S]=O:n(v,S,O)})(Function.prototype,"toString",function(){return typeof this=="function"&&h(this).source||i(this)})},84488:a=>{a.exports=function(l){if(l==null)throw TypeError("Can't call method on "+l);return l}},83505:(a,l,e)=>{var t=e(17854),n=e(68880);a.exports=function(s,o){try{n(t,s,o)}catch(i){t[s]=o}return o}},58003:(a,l,e)=>{var t=e(3070).f,n=e(86656),s=e(5112),o=s("toStringTag");a.exports=function(i,c,h){i&&!n(i=h?i:i.prototype,o)&&t(i,o,{configurable:!0,value:c})}},6200:(a,l,e)=>{var t=e(72309),n=e(69711),s=t("keys");a.exports=function(o){return s[o]||(s[o]=n(o))}},5465:(a,l,e)=>{var t=e(17854),n=e(83505),s="__core-js_shared__",o=t[s]||n(s,{});a.exports=o},72309:(a,l,e)=>{var t=e(31913),n=e(5465);(a.exports=function(s,o){return n[s]||(n[s]=o!==void 0?o:{})})("versions",[]).push({version:"3.14.0",mode:t?"pure":"global",copyright:"\xA9 2021 Denis Pushkarev (zloirock.ru)"})},28710:(a,l,e)=>{var t=e(99958),n=e(84488),s=function(o){return function(i,c){var h=String(n(i)),p=t(c),m=h.length,v,S;return p<0||p>=m?o?"":void 0:(v=h.charCodeAt(p),v<55296||v>56319||p+1===m||(S=h.charCodeAt(p+1))<56320||S>57343?o?h.charAt(p):v:o?h.slice(p,p+2):(v-55296<<10)+(S-56320)+65536)}};a.exports={codeAt:s(!1),charAt:s(!0)}},33197:a=>{"use strict";var l=2147483647,e=36,t=1,n=26,s=38,o=700,i=72,c=128,h="-",p=/[^\0-\u007E]/,m=/[.\u3002\uFF0E\uFF61]/g,v="Overflow: input needs wider integers to process",S=e-t,O=Math.floor,b=String.fromCharCode,N=function(I){for(var j=[],R=0,x=I.length;R<x;){var T=I.charCodeAt(R++);if(T>=55296&&T<=56319&&R<x){var G=I.charCodeAt(R++);(G&64512)==56320?j.push(((T&1023)<<10)+(G&1023)+65536):(j.push(T),R--)}else j.push(T)}return j},B=function(I){return I+22+75*(I<26)},w=function(I,j,R){var x=0;for(I=R?O(I/o):I>>1,I+=O(I/j);I>S*n>>1;x+=e)I=O(I/S);return O(x+(S+1)*I/(I+s))},D=function(I){var j=[];I=N(I);var R=I.length,x=c,T=0,G=i,W,K;for(W=0;W<I.length;W++)K=I[W],K<128&&j.push(b(K));var V=j.length,ne=V;for(V&&j.push(h);ne<R;){var re=l;for(W=0;W<I.length;W++)K=I[W],K>=x&&K<re&&(re=K);var $=ne+1;if(re-x>O((l-T)/$))throw RangeError(v);for(T+=(re-x)*$,x=re,W=0;W<I.length;W++){if(K=I[W],K<x&&++T>l)throw RangeError(v);if(K==x){for(var k=T,Q=e;;Q+=e){var ae=Q<=G?t:Q>=G+n?n:Q-G;if(k<ae)break;var q=k-ae,oe=e-ae;j.push(b(B(ae+q%oe))),k=O(q/oe)}j.push(b(B(k))),G=w(T,$,ne==V),T=0,++ne}}++T,++x}return j.join("")};a.exports=function(I){var j=[],R=I.toLowerCase().replace(m,".").split("."),x,T;for(x=0;x<R.length;x++)T=R[x],j.push(p.test(T)?"xn--"+D(T):T);return j.join(".")}},51400:(a,l,e)=>{var t=e(99958),n=Math.max,s=Math.min;a.exports=function(o,i){var c=t(o);return c<0?n(c+i,0):s(c,i)}},45656:(a,l,e)=>{var t=e(68361),n=e(84488);a.exports=function(s){return t(n(s))}},99958:a=>{var l=Math.ceil,e=Math.floor;a.exports=function(t){return isNaN(t=+t)?0:(t>0?e:l)(t)}},17466:(a,l,e)=>{var t=e(99958),n=Math.min;a.exports=function(s){return s>0?n(t(s),9007199254740991):0}},47908:(a,l,e)=>{var t=e(84488);a.exports=function(n){return Object(t(n))}},57593:(a,l,e)=>{var t=e(70111);a.exports=function(n,s){if(!t(n))return n;var o,i;if(s&&typeof(o=n.toString)=="function"&&!t(i=o.call(n))||typeof(o=n.valueOf)=="function"&&!t(i=o.call(n))||!s&&typeof(o=n.toString)=="function"&&!t(i=o.call(n)))return i;throw TypeError("Can't convert object to primitive value")}},51694:(a,l,e)=>{var t=e(5112),n=t("toStringTag"),s={};s[n]="z",a.exports=String(s)==="[object z]"},69711:a=>{var l=0,e=Math.random();a.exports=function(t){return"Symbol("+String(t===void 0?"":t)+")_"+(++l+e).toString(36)}},43307:(a,l,e)=>{var t=e(30133);a.exports=t&&!Symbol.sham&&typeof Symbol.iterator=="symbol"},5112:(a,l,e)=>{var t=e(17854),n=e(72309),s=e(86656),o=e(69711),i=e(30133),c=e(43307),h=n("wks"),p=t.Symbol,m=c?p:p&&p.withoutSetter||o;a.exports=function(v){return(!s(h,v)||!(i||typeof h[v]=="string"))&&(i&&s(p,v)?h[v]=p[v]:h[v]=m("Symbol."+v)),h[v]}},66992:(a,l,e)=>{"use strict";var t=e(45656),n=e(51223),s=e(97497),o=e(29909),i=e(70654),c="Array Iterator",h=o.set,p=o.getterFor(c);a.exports=i(Array,"Array",function(m,v){h(this,{type:c,target:t(m),index:0,kind:v})},function(){var m=p(this),v=m.target,S=m.kind,O=m.index++;return!v||O>=v.length?(m.target=void 0,{value:void 0,done:!0}):S=="keys"?{value:O,done:!1}:S=="values"?{value:v[O],done:!1}:{value:[O,v[O]],done:!1}},"values"),s.Arguments=s.Array,n("keys"),n("values"),n("entries")},78783:(a,l,e)=>{"use strict";var t=e(28710).charAt,n=e(29909),s=e(70654),o="String Iterator",i=n.set,c=n.getterFor(o);s(String,"String",function(h){i(this,{type:o,string:String(h),index:0})},function(){var p=c(this),m=p.string,v=p.index,S;return v>=m.length?{value:void 0,done:!0}:(S=t(m,v),p.index+=S.length,{value:S,done:!1})})},41637:(a,l,e)=>{"use strict";e(66992);var t=e(82109),n=e(35005),s=e(590),o=e(31320),i=e(12248),c=e(58003),h=e(24994),p=e(29909),m=e(25787),v=e(86656),S=e(49974),O=e(70648),b=e(19670),N=e(70111),B=e(70030),w=e(79114),D=e(18554),I=e(71246),j=e(5112),R=n("fetch"),x=n("Headers"),T=j("iterator"),G="URLSearchParams",W=G+"Iterator",K=p.set,V=p.getterFor(G),ne=p.getterFor(W),re=/\+/g,$=Array(4),k=function(F){return $[F-1]||($[F-1]=RegExp("((?:%[\\da-f]{2}){"+F+"})","gi"))},Q=function(F){try{return decodeURIComponent(F)}catch(A){return F}},ae=function(F){var A=F.replace(re," "),L=4;try{return decodeURIComponent(A)}catch(U){for(;L;)A=A.replace(k(L--),Q);return A}},q=/[!'()~]|%20/g,oe={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},de=function(F){return oe[F]},te=function(F){return encodeURIComponent(F).replace(q,de)},me=function(F,A){if(A)for(var L=A.split("&"),U=0,E,M;U<L.length;)E=L[U++],E.length&&(M=E.split("="),F.push({key:ae(M.shift()),value:ae(M.join("="))}))},_=function(F){this.entries.length=0,me(this.entries,F)},ce=function(F,A){if(F<A)throw TypeError("Not enough arguments")},Oe=h(function(A,L){K(this,{type:W,iterator:D(V(A).entries),kind:L})},"Iterator",function(){var A=ne(this),L=A.kind,U=A.iterator.next(),E=U.value;return U.done||(U.value=L==="keys"?E.key:L==="values"?E.value:[E.key,E.value]),U}),Se=function(){m(this,Se,G);var A=arguments.length>0?arguments[0]:void 0,L=this,U=[],E,M,Z,Y,ee,se,ge,Ae,xe;if(K(L,{type:G,entries:U,updateURL:function(){},updateSearchParams:_}),A!==void 0)if(N(A))if(E=I(A),typeof E=="function")for(M=E.call(A),Z=M.next;!(Y=Z.call(M)).done;){if(ee=D(b(Y.value)),se=ee.next,(ge=se.call(ee)).done||(Ae=se.call(ee)).done||!se.call(ee).done)throw TypeError("Expected sequence with length 2");U.push({key:ge.value+"",value:Ae.value+""})}else for(xe in A)v(A,xe)&&U.push({key:xe,value:A[xe]+""});else me(U,typeof A=="string"?A.charAt(0)==="?"?A.slice(1):A:A+"")},Ie=Se.prototype;i(Ie,{append:function(A,L){ce(arguments.length,2);var U=V(this);U.entries.push({key:A+"",value:L+""}),U.updateURL()},delete:function(F){ce(arguments.length,1);for(var A=V(this),L=A.entries,U=F+"",E=0;E<L.length;)L[E].key===U?L.splice(E,1):E++;A.updateURL()},get:function(A){ce(arguments.length,1);for(var L=V(this).entries,U=A+"",E=0;E<L.length;E++)if(L[E].key===U)return L[E].value;return null},getAll:function(A){ce(arguments.length,1);for(var L=V(this).entries,U=A+"",E=[],M=0;M<L.length;M++)L[M].key===U&&E.push(L[M].value);return E},has:function(A){ce(arguments.length,1);for(var L=V(this).entries,U=A+"",E=0;E<L.length;)if(L[E++].key===U)return!0;return!1},set:function(A,L){ce(arguments.length,1);for(var U=V(this),E=U.entries,M=!1,Z=A+"",Y=L+"",ee=0,se;ee<E.length;ee++)se=E[ee],se.key===Z&&(M?E.splice(ee--,1):(M=!0,se.value=Y));M||E.push({key:Z,value:Y}),U.updateURL()},sort:function(){var A=V(this),L=A.entries,U=L.slice(),E,M,Z;for(L.length=0,Z=0;Z<U.length;Z++){for(E=U[Z],M=0;M<Z;M++)if(L[M].key>E.key){L.splice(M,0,E);break}M===Z&&L.push(E)}A.updateURL()},forEach:function(A){for(var L=V(this).entries,U=S(A,arguments.length>1?arguments[1]:void 0,3),E=0,M;E<L.length;)M=L[E++],U(M.value,M.key,this)},keys:function(){return new Oe(this,"keys")},values:function(){return new Oe(this,"values")},entries:function(){return new Oe(this,"entries")}},{enumerable:!0}),o(Ie,T,Ie.entries),o(Ie,"toString",function(){for(var A=V(this).entries,L=[],U=0,E;U<A.length;)E=A[U++],L.push(te(E.key)+"="+te(E.value));return L.join("&")},{enumerable:!0}),c(Se,G),t({global:!0,forced:!s},{URLSearchParams:Se}),!s&&typeof R=="function"&&typeof x=="function"&&t({global:!0,enumerable:!0,forced:!0},{fetch:function(A){var L=[A],U,E,M;return arguments.length>1&&(U=arguments[1],N(U)&&(E=U.body,O(E)===G&&(M=U.headers?new x(U.headers):new x,M.has("content-type")||M.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"),U=B(U,{body:w(0,String(E)),headers:w(0,M)}))),L.push(U)),R.apply(this,L)}}),a.exports={URLSearchParams:Se,getState:V}},60285:(a,l,e)=>{"use strict";e(78783);var t=e(82109),n=e(19781),s=e(590),o=e(17854),i=e(36048),c=e(31320),h=e(25787),p=e(86656),m=e(21574),v=e(48457),S=e(28710).codeAt,O=e(33197),b=e(58003),N=e(41637),B=e(29909),w=o.URL,D=N.URLSearchParams,I=N.getState,j=B.set,R=B.getterFor("URL"),x=Math.floor,T=Math.pow,G="Invalid authority",W="Invalid scheme",K="Invalid host",V="Invalid port",ne=/[A-Za-z]/,re=/[\d+-.A-Za-z]/,$=/\d/,k=/^(0x|0X)/,Q=/^[0-7]+$/,ae=/^\d+$/,q=/^[\dA-Fa-f]+$/,oe=/[\0\t\n\r #%/:?@[\\]]/,de=/[\0\t\n\r #/:?@[\\]]/,te=/^[\u0000-\u001F ]+|[\u0000-\u001F ]+$/g,me=/[\t\n\r]/g,_,ce=function(r,f){var u,d,y;if(f.charAt(0)=="["){if(f.charAt(f.length-1)!="]"||(u=Se(f.slice(1,-1)),!u))return K;r.host=u}else if(Y(r)){if(f=O(f),oe.test(f)||(u=Oe(f),u===null))return K;r.host=u}else{if(de.test(f))return K;for(u="",d=v(f),y=0;y<d.length;y++)u+=M(d[y],A);r.host=u}},Oe=function(r){var f=r.split("."),u,d,y,C,P,H,z;if(f.length&&f[f.length-1]==""&&f.pop(),u=f.length,u>4)return r;for(d=[],y=0;y<u;y++){if(C=f[y],C=="")return r;if(P=10,C.length>1&&C.charAt(0)=="0"&&(P=k.test(C)?16:8,C=C.slice(P==8?1:2)),C==="")H=0;else{if(!(P==10?ae:P==8?Q:q).test(C))return r;H=parseInt(C,P)}d.push(H)}for(y=0;y<u;y++)if(H=d[y],y==u-1){if(H>=T(256,5-u))return null}else if(H>255)return null;for(z=d.pop(),y=0;y<d.length;y++)z+=d[y]*T(256,3-y);return z},Se=function(r){var f=[0,0,0,0,0,0,0,0],u=0,d=null,y=0,C,P,H,z,J,ue,g,X=function(){return r.charAt(y)};if(X()==":"){if(r.charAt(1)!=":")return;y+=2,u++,d=u}for(;X();){if(u==8)return;if(X()==":"){if(d!==null)return;y++,u++,d=u;continue}for(C=P=0;P<4&&q.test(X());)C=C*16+parseInt(X(),16),y++,P++;if(X()=="."){if(P==0||(y-=P,u>6))return;for(H=0;X();){if(z=null,H>0)if(X()=="."&&H<4)y++;else return;if(!$.test(X()))return;for(;$.test(X());){if(J=parseInt(X(),10),z===null)z=J;else{if(z==0)return;z=z*10+J}if(z>255)return;y++}f[u]=f[u]*256+z,H++,(H==2||H==4)&&u++}if(H!=4)return;break}else if(X()==":"){if(y++,!X())return}else if(X())return;f[u++]=C}if(d!==null)for(ue=u-d,u=7;u!=0&&ue>0;)g=f[u],f[u--]=f[d+ue-1],f[d+--ue]=g;else if(u!=8)return;return f},Ie=function(r){for(var f=null,u=1,d=null,y=0,C=0;C<8;C++)r[C]!==0?(y>u&&(f=d,u=y),d=null,y=0):(d===null&&(d=C),++y);return y>u&&(f=d,u=y),f},F=function(r){var f,u,d,y;if(typeof r=="number"){for(f=[],u=0;u<4;u++)f.unshift(r%256),r=x(r/256);return f.join(".")}else if(typeof r=="object"){for(f="",d=Ie(r),u=0;u<8;u++)y&&r[u]===0||(y&&(y=!1),d===u?(f+=u?":":"::",y=!0):(f+=r[u].toString(16),u<7&&(f+=":")));return"["+f+"]"}return r},A={},L=m({},A,{" ":1,'"':1,"<":1,">":1,"`":1}),U=m({},L,{"#":1,"?":1,"{":1,"}":1}),E=m({},U,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),M=function(r,f){var u=S(r,0);return u>32&&u<127&&!p(f,r)?r:encodeURIComponent(r)},Z={ftp:21,file:null,http:80,https:443,ws:80,wss:443},Y=function(r){return p(Z,r.scheme)},ee=function(r){return r.username!=""||r.password!=""},se=function(r){return!r.host||r.cannotBeABaseURL||r.scheme=="file"},ge=function(r,f){var u;return r.length==2&&ne.test(r.charAt(0))&&((u=r.charAt(1))==":"||!f&&u=="|")},Ae=function(r){var f;return r.length>1&&ge(r.slice(0,2))&&(r.length==2||(f=r.charAt(2))==="/"||f==="\\"||f==="?"||f==="#")},xe=function(r){var f=r.path,u=f.length;u&&(r.scheme!="file"||u!=1||!ge(f[0],!0))&&f.pop()},vr=function(r){return r==="."||r.toLowerCase()==="%2e"},lr=function(r){return r=r.toLowerCase(),r===".."||r==="%2e."||r===".%2e"||r==="%2e%2e"},be={},Ve={},je={},ze={},We={},Ue={},$e={},Je={},Te={},we={},Ce={},Fe={},Me={},Ne={},Xe={},Be={},Pe={},ve={},Ze={},Re={},he={},le=function(r,f,u,d){var y=u||be,C=0,P="",H=!1,z=!1,J=!1,ue,g,X,pe;for(u||(r.scheme="",r.username="",r.password="",r.host=null,r.port=null,r.path=[],r.query=null,r.fragment=null,r.cannotBeABaseURL=!1,f=f.replace(te,"")),f=f.replace(me,""),ue=v(f);C<=ue.length;){switch(g=ue[C],y){case be:if(g&&ne.test(g))P+=g.toLowerCase(),y=Ve;else{if(u)return W;y=je;continue}break;case Ve:if(g&&(re.test(g)||g=="+"||g=="-"||g=="."))P+=g.toLowerCase();else if(g==":"){if(u&&(Y(r)!=p(Z,P)||P=="file"&&(ee(r)||r.port!==null)||r.scheme=="file"&&!r.host))return;if(r.scheme=P,u){Y(r)&&Z[r.scheme]==r.port&&(r.port=null);return}P="",r.scheme=="file"?y=Ne:Y(r)&&d&&d.scheme==r.scheme?y=ze:Y(r)?y=Je:ue[C+1]=="/"?(y=We,C++):(r.cannotBeABaseURL=!0,r.path.push(""),y=Ze)}else{if(u)return W;P="",y=je,C=0;continue}break;case je:if(!d||d.cannotBeABaseURL&&g!="#")return W;if(d.cannotBeABaseURL&&g=="#"){r.scheme=d.scheme,r.path=d.path.slice(),r.query=d.query,r.fragment="",r.cannotBeABaseURL=!0,y=he;break}y=d.scheme=="file"?Ne:Ue;continue;case ze:if(g=="/"&&ue[C+1]=="/")y=Te,C++;else{y=Ue;continue}break;case We:if(g=="/"){y=we;break}else{y=ve;continue}case Ue:if(r.scheme=d.scheme,g==_)r.username=d.username,r.password=d.password,r.host=d.host,r.port=d.port,r.path=d.path.slice(),r.query=d.query;else if(g=="/"||g=="\\"&&Y(r))y=$e;else if(g=="?")r.username=d.username,r.password=d.password,r.host=d.host,r.port=d.port,r.path=d.path.slice(),r.query="",y=Re;else if(g=="#")r.username=d.username,r.password=d.password,r.host=d.host,r.port=d.port,r.path=d.path.slice(),r.query=d.query,r.fragment="",y=he;else{r.username=d.username,r.password=d.password,r.host=d.host,r.port=d.port,r.path=d.path.slice(),r.path.pop(),y=ve;continue}break;case $e:if(Y(r)&&(g=="/"||g=="\\"))y=Te;else if(g=="/")y=we;else{r.username=d.username,r.password=d.password,r.host=d.host,r.port=d.port,y=ve;continue}break;case Je:if(y=Te,g!="/"||P.charAt(C+1)!="/")continue;C++;break;case Te:if(g!="/"&&g!="\\"){y=we;continue}break;case we:if(g=="@"){H&&(P="%40"+P),H=!0,X=v(P);for(var He=0;He<X.length;He++){var fr=X[He];if(fr==":"&&!J){J=!0;continue}var cr=M(fr,E);J?r.password+=cr:r.username+=cr}P=""}else if(g==_||g=="/"||g=="?"||g=="#"||g=="\\"&&Y(r)){if(H&&P=="")return G;C-=v(P).length+1,P="",y=Ce}else P+=g;break;case Ce:case Fe:if(u&&r.scheme=="file"){y=Be;continue}else if(g==":"&&!z){if(P=="")return K;if(pe=ce(r,P),pe)return pe;if(P="",y=Me,u==Fe)return}else if(g==_||g=="/"||g=="?"||g=="#"||g=="\\"&&Y(r)){if(Y(r)&&P=="")return K;if(u&&P==""&&(ee(r)||r.port!==null))return;if(pe=ce(r,P),pe)return pe;if(P="",y=Pe,u)return;continue}else g=="["?z=!0:g=="]"&&(z=!1),P+=g;break;case Me:if($.test(g))P+=g;else if(g==_||g=="/"||g=="?"||g=="#"||g=="\\"&&Y(r)||u){if(P!=""){var Ge=parseInt(P,10);if(Ge>65535)return V;r.port=Y(r)&&Ge===Z[r.scheme]?null:Ge,P=""}if(u)return;y=Pe;continue}else return V;break;case Ne:if(r.scheme="file",g=="/"||g=="\\")y=Xe;else if(d&&d.scheme=="file")if(g==_)r.host=d.host,r.path=d.path.slice(),r.query=d.query;else if(g=="?")r.host=d.host,r.path=d.path.slice(),r.query="",y=Re;else if(g=="#")r.host=d.host,r.path=d.path.slice(),r.query=d.query,r.fragment="",y=he;else{Ae(ue.slice(C).join(""))||(r.host=d.host,r.path=d.path.slice(),xe(r)),y=ve;continue}else{y=ve;continue}break;case Xe:if(g=="/"||g=="\\"){y=Be;break}d&&d.scheme=="file"&&!Ae(ue.slice(C).join(""))&&(ge(d.path[0],!0)?r.path.push(d.path[0]):r.host=d.host),y=ve;continue;case Be:if(g==_||g=="/"||g=="\\"||g=="?"||g=="#"){if(!u&&ge(P))y=ve;else if(P==""){if(r.host="",u)return;y=Pe}else{if(pe=ce(r,P),pe)return pe;if(r.host=="localhost"&&(r.host=""),u)return;P="",y=Pe}continue}else P+=g;break;case Pe:if(Y(r)){if(y=ve,g!="/"&&g!="\\")continue}else if(!u&&g=="?")r.query="",y=Re;else if(!u&&g=="#")r.fragment="",y=he;else if(g!=_&&(y=ve,g!="/"))continue;break;case ve:if(g==_||g=="/"||g=="\\"&&Y(r)||!u&&(g=="?"||g=="#")){if(lr(P)?(xe(r),g!="/"&&!(g=="\\"&&Y(r))&&r.path.push("")):vr(P)?g!="/"&&!(g=="\\"&&Y(r))&&r.path.push(""):(r.scheme=="file"&&!r.path.length&&ge(P)&&(r.host&&(r.host=""),P=P.charAt(0)+":"),r.path.push(P)),P="",r.scheme=="file"&&(g==_||g=="?"||g=="#"))for(;r.path.length>1&&r.path[0]==="";)r.path.shift();g=="?"?(r.query="",y=Re):g=="#"&&(r.fragment="",y=he)}else P+=M(g,U);break;case Ze:g=="?"?(r.query="",y=Re):g=="#"?(r.fragment="",y=he):g!=_&&(r.path[0]+=M(g,A));break;case Re:!u&&g=="#"?(r.fragment="",y=he):g!=_&&(g=="'"&&Y(r)?r.query+="%27":g=="#"?r.query+="%23":r.query+=M(g,A));break;case he:g!=_&&(r.fragment+=M(g,L));break}C++}},ye=function(f){var u=h(this,ye,"URL"),d=arguments.length>1?arguments[1]:void 0,y=String(f),C=j(u,{type:"URL"}),P,H;if(d!==void 0){if(d instanceof ye)P=R(d);else if(H=le(P={},String(d)),H)throw TypeError(H)}if(H=le(C,y,null,P),H)throw TypeError(H);var z=C.searchParams=new D,J=I(z);J.updateSearchParams(C.query),J.updateURL=function(){C.query=String(z)||null},n||(u.href=Le.call(u),u.origin=Qe.call(u),u.protocol=ke.call(u),u.username=qe.call(u),u.password=_e.call(u),u.host=er.call(u),u.hostname=rr.call(u),u.port=tr.call(u),u.pathname=nr.call(u),u.search=ar.call(u),u.searchParams=or.call(u),u.hash=sr.call(u))},De=ye.prototype,Le=function(){var r=R(this),f=r.scheme,u=r.username,d=r.password,y=r.host,C=r.port,P=r.path,H=r.query,z=r.fragment,J=f+":";return y!==null?(J+="//",ee(r)&&(J+=u+(d?":"+d:"")+"@"),J+=F(y),C!==null&&(J+=":"+C)):f=="file"&&(J+="//"),J+=r.cannotBeABaseURL?P[0]:P.length?"/"+P.join("/"):"",H!==null&&(J+="?"+H),z!==null&&(J+="#"+z),J},Qe=function(){var r=R(this),f=r.scheme,u=r.port;if(f=="blob")try{return new ye(f.path[0]).origin}catch(d){return"null"}return f=="file"||!Y(r)?"null":f+"://"+F(r.host)+(u!==null?":"+u:"")},ke=function(){return R(this).scheme+":"},qe=function(){return R(this).username},_e=function(){return R(this).password},er=function(){var r=R(this),f=r.host,u=r.port;return f===null?"":u===null?F(f):F(f)+":"+u},rr=function(){var r=R(this).host;return r===null?"":F(r)},tr=function(){var r=R(this).port;return r===null?"":String(r)},nr=function(){var r=R(this),f=r.path;return r.cannotBeABaseURL?f[0]:f.length?"/"+f.join("/"):""},ar=function(){var r=R(this).query;return r?"?"+r:""},or=function(){return R(this).searchParams},sr=function(){var r=R(this).fragment;return r?"#"+r:""},ie=function(r,f){return{get:r,set:f,configurable:!0,enumerable:!0}};if(n&&i(De,{href:ie(Le,function(r){var f=R(this),u=String(r),d=le(f,u);if(d)throw TypeError(d);I(f.searchParams).updateSearchParams(f.query)}),origin:ie(Qe),protocol:ie(ke,function(r){var f=R(this);le(f,String(r)+":",be)}),username:ie(qe,function(r){var f=R(this),u=v(String(r));if(!se(f)){f.username="";for(var d=0;d<u.length;d++)f.username+=M(u[d],E)}}),password:ie(_e,function(r){var f=R(this),u=v(String(r));if(!se(f)){f.password="";for(var d=0;d<u.length;d++)f.password+=M(u[d],E)}}),host:ie(er,function(r){var f=R(this);f.cannotBeABaseURL||le(f,String(r),Ce)}),hostname:ie(rr,function(r){var f=R(this);f.cannotBeABaseURL||le(f,String(r),Fe)}),port:ie(tr,function(r){var f=R(this);se(f)||(r=String(r),r==""?f.port=null:le(f,r,Me))}),pathname:ie(nr,function(r){var f=R(this);f.cannotBeABaseURL||(f.path=[],le(f,r+"",Pe))}),search:ie(ar,function(r){var f=R(this);r=String(r),r==""?f.query=null:(r.charAt(0)=="?"&&(r=r.slice(1)),f.query="",le(f,r,Re)),I(f.searchParams).updateSearchParams(f.query)}),searchParams:ie(or),hash:ie(sr,function(r){var f=R(this);if(r=String(r),r==""){f.fragment=null;return}r.charAt(0)=="#"&&(r=r.slice(1)),f.fragment="",le(f,r,he)})}),c(De,"toJSON",function(){return Le.call(this)},{enumerable:!0}),c(De,"toString",function(){return Le.call(this)},{enumerable:!0}),w){var ir=w.createObjectURL,ur=w.revokeObjectURL;ir&&c(ye,"createObjectURL",function(f){return ir.apply(w,arguments)}),ur&&c(ye,"revokeObjectURL",function(f){return ur.apply(w,arguments)})}b(ye,"URL"),t({global:!0,forced:!s,sham:!n},{URL:ye})},83753:(a,l,e)=>{"use strict";var t=e(82109);t({target:"URL",proto:!0,enumerable:!0},{toJSON:function(){return URL.prototype.toString.call(this)}})},41439:(a,l,e)=>{e(60285),e(83753),e(41637);var t=e(40857);a.exports=t.URL}},Ee={};function fe(a){var l=Ee[a];if(l!==void 0)return l.exports;var e=Ee[a]={exports:{}};return Ke[a](e,e.exports,fe),e.exports}(()=>{fe.g=function(){if(typeof globalThis=="object")return globalThis;try{return this||new Function("return this")()}catch(a){if(typeof window=="object")return window}}()})(),(()=>{fe.r=a=>{typeof Symbol!="undefined"&&Symbol.toStringTag&&Object.defineProperty(a,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(a,"__esModule",{value:!0})}})();var Ye={};return(()=>{"use strict";fe.r(Ye);var a=fe(41439);const l="Something went wrong, please, try again.";function e(o){return o&&o.replace(/=+$/,"")}function t(o,i){return Boolean(o)&&Boolean(i)&&e(o)===e(i)}function n(o){let i;if(/code|token|error/.test(window.location.hash)?i=window.location.hash.substring(1):i=location.search.substring(1),!i)throw console.error("No query string in OAuth 2 redirect URL"),new Error(l);const c=new URLSearchParams(i),h=c.get("access_token"),p=c.get("code"),m=c.get("token_type"),v=c.get("expires_in"),S=c.get("state"),O=c.get("error"),b=c.get("error_description")||l;if(O)throw new Error(b);if(!t(S,o==null?void 0:o.state))throw new Error("Outdated OAuth2 state");if((o==null?void 0:o.flow)==="implicit"){if(!h)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(!m)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.`);o==null||o.successCallback({access_token:h,token_type:m,expires_in:v,auth_code:""})}if((o==null?void 0:o.flow)==="authorizationCode"){if(!p)throw new Error(`Your OAuth2 authentication service provider redirected you without authorization "code".
|
|
@@ -2,7 +2,7 @@ var Rc=Object.defineProperty,Cc=Object.defineProperties;var Ac=Object.getOwnProp
|
|
|
2
2
|
* Redocly Reference Docs
|
|
3
3
|
* (c) Copyright 2018 Redocly LLC, all rights reserved.
|
|
4
4
|
* -------------------------------------------------------------
|
|
5
|
-
* Version: "2.43.
|
|
5
|
+
* Version: "2.43.1"
|
|
6
6
|
*/(function(Xr,Ur){typeof exports=="object"&&typeof module=="object"?module.exports=Ur(require("null")):typeof define=="function"&&define.amd?define(["null"],Ur):typeof exports=="object"?exports.RedoclyReferenceDocs=Ur(require("null")):Xr.RedoclyReferenceDocs=Ur(Xr.null)})(this,function(ei){return(()=>{var Xr={66042:(N,n,e)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.CodeGen=n.Name=n.nil=n.stringify=n.str=n._=n.KeywordCxt=void 0;const t=e(83325),l=e(68182),s=e(35522),o=e(15281),r="https://json-schema.org/draft/2020-12/schema";class c extends t.default{constructor(h={}){super(vo(si({},h),{dynamicRef:!0,next:!0,unevaluated:!0}))}_addVocabularies(){super._addVocabularies(),l.default.forEach(h=>this.addVocabulary(h)),this.opts.discriminator&&this.addKeyword(s.default)}_addDefaultMetaSchema(){super._addDefaultMetaSchema();const{$data:h,meta:p}=this.opts;!p||(o.default.call(this,h),this.refs["http://json-schema.org/schema"]=r)}defaultMeta(){return this.opts.defaultMeta=super.defaultMeta()||(this.getSchema(r)?r:void 0)}}N.exports=n=c,Object.defineProperty(n,"__esModule",{value:!0}),n.default=c;var u=e(21321);Object.defineProperty(n,"KeywordCxt",{enumerable:!0,get:function(){return u.KeywordCxt}});var a=e(24475);Object.defineProperty(n,"_",{enumerable:!0,get:function(){return a._}}),Object.defineProperty(n,"str",{enumerable:!0,get:function(){return a.str}}),Object.defineProperty(n,"stringify",{enumerable:!0,get:function(){return a.stringify}}),Object.defineProperty(n,"nil",{enumerable:!0,get:function(){return a.nil}}),Object.defineProperty(n,"Name",{enumerable:!0,get:function(){return a.Name}}),Object.defineProperty(n,"CodeGen",{enumerable:!0,get:function(){return a.CodeGen}})},64667:(N,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.regexpCode=n.getEsmExportName=n.getProperty=n.safeStringify=n.stringify=n.strConcat=n.addCodeArg=n.str=n._=n.nil=n._Code=n.Name=n.IDENTIFIER=n._CodeOrName=void 0;class e{}n._CodeOrName=e,n.IDENTIFIER=/^[a-z$_][a-z$_0-9]*$/i;class t extends e{constructor(g){super();if(!n.IDENTIFIER.test(g))throw new Error("CodeGen: name must be a valid identifier");this.str=g}toString(){return this.str}emptyStr(){return!1}get names(){return{[this.str]:1}}}n.Name=t;class l extends e{constructor(g){super();this._items=typeof g=="string"?[g]:g}toString(){return this.str}emptyStr(){if(this._items.length>1)return!1;const g=this._items[0];return g===""||g==='""'}get str(){var g;return(g=this._str)!==null&&g!==void 0?g:this._str=this._items.reduce((y,E)=>`${y}${E}`,"")}get names(){var g;return(g=this._names)!==null&&g!==void 0?g:this._names=this._items.reduce((y,E)=>(E instanceof t&&(y[E.str]=(y[E.str]||0)+1),y),{})}}n._Code=l,n.nil=new l("");function s(m,...g){const y=[m[0]];let E=0;for(;E<g.length;)c(y,g[E]),y.push(m[++E]);return new l(y)}n._=s;const o=new l("+");function r(m,...g){const y=[b(m[0])];let E=0;for(;E<g.length;)y.push(o),c(y,g[E]),y.push(o,b(m[++E]));return u(y),new l(y)}n.str=r;function c(m,g){g instanceof l?m.push(...g._items):g instanceof t?m.push(g):m.push(h(g))}n.addCodeArg=c;function u(m){let g=1;for(;g<m.length-1;){if(m[g]===o){const y=a(m[g-1],m[g+1]);if(y!==void 0){m.splice(g-1,3,y);continue}m[g++]="+"}g++}}function a(m,g){if(g==='""')return m;if(m==='""')return g;if(typeof m=="string")return g instanceof t||m[m.length-1]!=='"'?void 0:typeof g!="string"?`${m.slice(0,-1)}${g}"`:g[0]==='"'?m.slice(0,-1)+g.slice(1):void 0;if(typeof g=="string"&&g[0]==='"'&&!(m instanceof t))return`"${m}${g.slice(1)}`}function d(m,g){return g.emptyStr()?m:m.emptyStr()?g:r`${m}${g}`}n.strConcat=d;function h(m){return typeof m=="number"||typeof m=="boolean"||m===null?m:b(Array.isArray(m)?m.join(","):m)}function p(m){return new l(b(m))}n.stringify=p;function b(m){return JSON.stringify(m).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029")}n.safeStringify=b;function R(m){return typeof m=="string"&&n.IDENTIFIER.test(m)?new l(`.${m}`):s`[${m}]`}n.getProperty=R;function O(m){if(typeof m=="string"&&n.IDENTIFIER.test(m))return new l(`${m}`);throw new Error(`CodeGen: invalid export name: ${m}, use explicit $id name mapping`)}n.getEsmExportName=O;function x(m){return new l(m.toString())}n.regexpCode=x},24475:(N,n,e)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.or=n.and=n.not=n.CodeGen=n.operators=n.varKinds=n.ValueScopeName=n.ValueScope=n.Scope=n.Name=n.regexpCode=n.stringify=n.getProperty=n.nil=n.strConcat=n.str=n._=void 0;const t=e(64667),l=e(17791);var s=e(64667);Object.defineProperty(n,"_",{enumerable:!0,get:function(){return s._}}),Object.defineProperty(n,"str",{enumerable:!0,get:function(){return s.str}}),Object.defineProperty(n,"strConcat",{enumerable:!0,get:function(){return s.strConcat}}),Object.defineProperty(n,"nil",{enumerable:!0,get:function(){return s.nil}}),Object.defineProperty(n,"getProperty",{enumerable:!0,get:function(){return s.getProperty}}),Object.defineProperty(n,"stringify",{enumerable:!0,get:function(){return s.stringify}}),Object.defineProperty(n,"regexpCode",{enumerable:!0,get:function(){return s.regexpCode}}),Object.defineProperty(n,"Name",{enumerable:!0,get:function(){return s.Name}});var o=e(17791);Object.defineProperty(n,"Scope",{enumerable:!0,get:function(){return o.Scope}}),Object.defineProperty(n,"ValueScope",{enumerable:!0,get:function(){return o.ValueScope}}),Object.defineProperty(n,"ValueScopeName",{enumerable:!0,get:function(){return o.ValueScopeName}}),Object.defineProperty(n,"varKinds",{enumerable:!0,get:function(){return o.varKinds}}),n.operators={GT:new t._Code(">"),GTE:new t._Code(">="),LT:new t._Code("<"),LTE:new t._Code("<="),EQ:new t._Code("==="),NEQ:new t._Code("!=="),NOT:new t._Code("!"),OR:new t._Code("||"),AND:new t._Code("&&"),ADD:new t._Code("+")};class r{optimizeNodes(){return this}optimizeNames(Y,Q){return this}}class c extends r{constructor(Y,Q,fe){super();this.varKind=Y,this.name=Q,this.rhs=fe}render({es5:Y,_n:Q}){const fe=Y?l.varKinds.var:this.varKind,ve=this.rhs===void 0?"":` = ${this.rhs}`;return`${fe} ${this.name}${ve};`+Q}optimizeNames(Y,Q){if(!!Y[this.name.str])return this.rhs&&(this.rhs=re(this.rhs,Y,Q)),this}get names(){return this.rhs instanceof t._CodeOrName?this.rhs.names:{}}}class u extends r{constructor(Y,Q,fe){super();this.lhs=Y,this.rhs=Q,this.sideEffects=fe}render({_n:Y}){return`${this.lhs} = ${this.rhs};`+Y}optimizeNames(Y,Q){if(!(this.lhs instanceof t.Name&&!Y[this.lhs.str]&&!this.sideEffects))return this.rhs=re(this.rhs,Y,Q),this}get names(){const Y=this.lhs instanceof t.Name?{}:si({},this.lhs.names);return ue(Y,this.rhs)}}class a extends u{constructor(Y,Q,fe,ve){super(Y,fe,ve);this.op=Q}render({_n:Y}){return`${this.lhs} ${this.op}= ${this.rhs};`+Y}}class d extends r{constructor(Y){super();this.label=Y,this.names={}}render({_n:Y}){return`${this.label}:`+Y}}class h extends r{constructor(Y){super();this.label=Y,this.names={}}render({_n:Y}){return`break${this.label?` ${this.label}`:""};`+Y}}class p extends r{constructor(Y){super();this.error=Y}render({_n:Y}){return`throw ${this.error};`+Y}get names(){return this.error.names}}class b extends r{constructor(Y){super();this.code=Y}render({_n:Y}){return`${this.code};`+Y}optimizeNodes(){return`${this.code}`?this:void 0}optimizeNames(Y,Q){return this.code=re(this.code,Y,Q),this}get names(){return this.code instanceof t._CodeOrName?this.code.names:{}}}class R extends r{constructor(Y=[]){super();this.nodes=Y}render(Y){return this.nodes.reduce((Q,fe)=>Q+fe.render(Y),"")}optimizeNodes(){const{nodes:Y}=this;let Q=Y.length;for(;Q--;){const fe=Y[Q].optimizeNodes();Array.isArray(fe)?Y.splice(Q,1,...fe):fe?Y[Q]=fe:Y.splice(Q,1)}return Y.length>0?this:void 0}optimizeNames(Y,Q){const{nodes:fe}=this;let ve=fe.length;for(;ve--;){const Me=fe[ve];Me.optimizeNames(Y,Q)||(Se(Y,Me.names),fe.splice(ve,1))}return fe.length>0?this:void 0}get names(){return this.nodes.reduce((Y,Q)=>X(Y,Q.names),{})}}class O extends R{render(Y){return"{"+Y._n+super.render(Y)+"}"+Y._n}}class x extends R{}class m extends O{}m.kind="else";class g extends O{constructor(Y,Q){super(Q);this.condition=Y}render(Y){let Q=`if(${this.condition})`+super.render(Y);return this.else&&(Q+="else "+this.else.render(Y)),Q}optimizeNodes(){super.optimizeNodes();const Y=this.condition;if(Y===!0)return this.nodes;let Q=this.else;if(Q){const fe=Q.optimizeNodes();Q=this.else=Array.isArray(fe)?new m(fe):fe}if(Q)return Y===!1?Q instanceof g?Q:Q.nodes:this.nodes.length?this:new g(ke(Y),Q instanceof g?[Q]:Q.nodes);if(!(Y===!1||!this.nodes.length))return this}optimizeNames(Y,Q){var fe;if(this.else=(fe=this.else)===null||fe===void 0?void 0:fe.optimizeNames(Y,Q),!!(super.optimizeNames(Y,Q)||this.else))return this.condition=re(this.condition,Y,Q),this}get names(){const Y=super.names;return ue(Y,this.condition),this.else&&X(Y,this.else.names),Y}}g.kind="if";class y extends O{}y.kind="for";class E extends y{constructor(Y){super();this.iteration=Y}render(Y){return`for(${this.iteration})`+super.render(Y)}optimizeNames(Y,Q){if(!!super.optimizeNames(Y,Q))return this.iteration=re(this.iteration,Y,Q),this}get names(){return X(super.names,this.iteration.names)}}class T extends y{constructor(Y,Q,fe,ve){super();this.varKind=Y,this.name=Q,this.from=fe,this.to=ve}render(Y){const Q=Y.es5?l.varKinds.var:this.varKind,{name:fe,from:ve,to:Me}=this;return`for(${Q} ${fe}=${ve}; ${fe}<${Me}; ${fe}++)`+super.render(Y)}get names(){const Y=ue(super.names,this.from);return ue(Y,this.to)}}class A extends y{constructor(Y,Q,fe,ve){super();this.loop=Y,this.varKind=Q,this.name=fe,this.iterable=ve}render(Y){return`for(${this.varKind} ${this.name} ${this.loop} ${this.iterable})`+super.render(Y)}optimizeNames(Y,Q){if(!!super.optimizeNames(Y,Q))return this.iterable=re(this.iterable,Y,Q),this}get names(){return X(super.names,this.iterable.names)}}class w extends O{constructor(Y,Q,fe){super();this.name=Y,this.args=Q,this.async=fe}render(Y){return`${this.async?"async ":""}function ${this.name}(${this.args})`+super.render(Y)}}w.kind="func";class P extends R{render(Y){return"return "+super.render(Y)}}P.kind="return";class C extends O{render(Y){let Q="try"+super.render(Y);return this.catch&&(Q+=this.catch.render(Y)),this.finally&&(Q+=this.finally.render(Y)),Q}optimizeNodes(){var Y,Q;return super.optimizeNodes(),(Y=this.catch)===null||Y===void 0||Y.optimizeNodes(),(Q=this.finally)===null||Q===void 0||Q.optimizeNodes(),this}optimizeNames(Y,Q){var fe,ve;return super.optimizeNames(Y,Q),(fe=this.catch)===null||fe===void 0||fe.optimizeNames(Y,Q),(ve=this.finally)===null||ve===void 0||ve.optimizeNames(Y,Q),this}get names(){const Y=super.names;return this.catch&&X(Y,this.catch.names),this.finally&&X(Y,this.finally.names),Y}}class v extends O{constructor(Y){super();this.error=Y}render(Y){return`catch(${this.error})`+super.render(Y)}}v.kind="catch";class F extends O{render(Y){return"finally"+super.render(Y)}}F.kind="finally";class J{constructor(Y,Q={}){this._values={},this._blockStarts=[],this._constants={},this.opts=vo(si({},Q),{_n:Q.lines?`
|
|
7
7
|
`:""}),this._extScope=Y,this._scope=new l.Scope({parent:Y}),this._nodes=[new x]}toString(){return this._root.render(this.opts)}name(Y){return this._scope.name(Y)}scopeName(Y){return this._extScope.name(Y)}scopeValue(Y,Q){const fe=this._extScope.value(Y,Q);return(this._values[fe.prefix]||(this._values[fe.prefix]=new Set)).add(fe),fe}getScopeValue(Y,Q){return this._extScope.getValue(Y,Q)}scopeRefs(Y){return this._extScope.scopeRefs(Y,this._values)}scopeCode(){return this._extScope.scopeCode(this._values)}_def(Y,Q,fe,ve){const Me=this._scope.toName(Q);return fe!==void 0&&ve&&(this._constants[Me.str]=fe),this._leafNode(new c(Y,Me,fe)),Me}const(Y,Q,fe){return this._def(l.varKinds.const,Y,Q,fe)}let(Y,Q,fe){return this._def(l.varKinds.let,Y,Q,fe)}var(Y,Q,fe){return this._def(l.varKinds.var,Y,Q,fe)}assign(Y,Q,fe){return this._leafNode(new u(Y,Q,fe))}add(Y,Q){return this._leafNode(new a(Y,n.operators.ADD,Q))}code(Y){return typeof Y=="function"?Y():Y!==t.nil&&this._leafNode(new b(Y)),this}object(...Y){const Q=["{"];for(const[fe,ve]of Y)Q.length>1&&Q.push(","),Q.push(fe),(fe!==ve||this.opts.es5)&&(Q.push(":"),(0,t.addCodeArg)(Q,ve));return Q.push("}"),new t._Code(Q)}if(Y,Q,fe){if(this._blockNode(new g(Y)),Q&&fe)this.code(Q).else().code(fe).endIf();else if(Q)this.code(Q).endIf();else if(fe)throw new Error('CodeGen: "else" body without "then" body');return this}elseIf(Y){return this._elseNode(new g(Y))}else(){return this._elseNode(new m)}endIf(){return this._endBlockNode(g,m)}_for(Y,Q){return this._blockNode(Y),Q&&this.code(Q).endFor(),this}for(Y,Q){return this._for(new E(Y),Q)}forRange(Y,Q,fe,ve,Me=this.opts.es5?l.varKinds.var:l.varKinds.let){const De=this._scope.toName(Y);return this._for(new T(Me,De,Q,fe),()=>ve(De))}forOf(Y,Q,fe,ve=l.varKinds.const){const Me=this._scope.toName(Y);if(this.opts.es5){const De=Q instanceof t.Name?Q:this.var("_arr",Q);return this.forRange("_i",0,(0,t._)`${De}.length`,et=>{this.var(Me,(0,t._)`${De}[${et}]`),fe(Me)})}return this._for(new A("of",ve,Me,Q),()=>fe(Me))}forIn(Y,Q,fe,ve=this.opts.es5?l.varKinds.var:l.varKinds.const){if(this.opts.ownProperties)return this.forOf(Y,(0,t._)`Object.keys(${Q})`,fe);const Me=this._scope.toName(Y);return this._for(new A("in",ve,Me,Q),()=>fe(Me))}endFor(){return this._endBlockNode(y)}label(Y){return this._leafNode(new d(Y))}break(Y){return this._leafNode(new h(Y))}return(Y){const Q=new P;if(this._blockNode(Q),this.code(Y),Q.nodes.length!==1)throw new Error('CodeGen: "return" should have one node');return this._endBlockNode(P)}try(Y,Q,fe){if(!Q&&!fe)throw new Error('CodeGen: "try" without "catch" and "finally"');const ve=new C;if(this._blockNode(ve),this.code(Y),Q){const Me=this.name("e");this._currNode=ve.catch=new v(Me),Q(Me)}return fe&&(this._currNode=ve.finally=new F,this.code(fe)),this._endBlockNode(v,F)}throw(Y){return this._leafNode(new p(Y))}block(Y,Q){return this._blockStarts.push(this._nodes.length),Y&&this.code(Y).endBlock(Q),this}endBlock(Y){const Q=this._blockStarts.pop();if(Q===void 0)throw new Error("CodeGen: not in self-balancing block");const fe=this._nodes.length-Q;if(fe<0||Y!==void 0&&fe!==Y)throw new Error(`CodeGen: wrong number of nodes: ${fe} vs ${Y} expected`);return this._nodes.length=Q,this}func(Y,Q=t.nil,fe,ve){return this._blockNode(new w(Y,Q,fe)),ve&&this.code(ve).endFunc(),this}endFunc(){return this._endBlockNode(w)}optimize(Y=1){for(;Y-- >0;)this._root.optimizeNodes(),this._root.optimizeNames(this._root.names,this._constants)}_leafNode(Y){return this._currNode.nodes.push(Y),this}_blockNode(Y){this._currNode.nodes.push(Y),this._nodes.push(Y)}_endBlockNode(Y,Q){const fe=this._currNode;if(fe instanceof Y||Q&&fe instanceof Q)return this._nodes.pop(),this;throw new Error(`CodeGen: not in block "${Q?`${Y.kind}/${Q.kind}`:Y.kind}"`)}_elseNode(Y){const Q=this._currNode;if(!(Q instanceof g))throw new Error('CodeGen: "else" without "if"');return this._currNode=Q.else=Y,this}get _root(){return this._nodes[0]}get _currNode(){const Y=this._nodes;return Y[Y.length-1]}set _currNode(Y){const Q=this._nodes;Q[Q.length-1]=Y}}n.CodeGen=J;function X(ee,Y){for(const Q in Y)ee[Q]=(ee[Q]||0)+(Y[Q]||0);return ee}function ue(ee,Y){return Y instanceof t._CodeOrName?X(ee,Y.names):ee}function re(ee,Y,Q){if(ee instanceof t.Name)return fe(ee);if(!ve(ee))return ee;return new t._Code(ee._items.reduce((Me,De)=>(De instanceof t.Name&&(De=fe(De)),De instanceof t._Code?Me.push(...De._items):Me.push(De),Me),[]));function fe(Me){const De=Q[Me.str];return De===void 0||Y[Me.str]!==1?Me:(delete Y[Me.str],De)}function ve(Me){return Me instanceof t._Code&&Me._items.some(De=>De instanceof t.Name&&Y[De.str]===1&&Q[De.str]!==void 0)}}function Se(ee,Y){for(const Q in Y)ee[Q]=(ee[Q]||0)-(Y[Q]||0)}function ke(ee){return typeof ee=="boolean"||typeof ee=="number"||ee===null?!ee:(0,t._)`!${_(ee)}`}n.not=ke;const de=B(n.operators.AND);function ie(...ee){return ee.reduce(de)}n.and=ie;const me=B(n.operators.OR);function G(...ee){return ee.reduce(me)}n.or=G;function B(ee){return(Y,Q)=>Y===t.nil?Q:Q===t.nil?Y:(0,t._)`${_(Y)} ${ee} ${_(Q)}`}function _(ee){return ee instanceof t.Name?ee:(0,t._)`(${ee})`}},17791:(N,n,e)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.ValueScope=n.ValueScopeName=n.Scope=n.varKinds=n.UsedValueState=void 0;const t=e(64667);class l extends Error{constructor(d){super(`CodeGen: "code" for ${d} not defined`);this.value=d.value}}var s;(function(a){a[a.Started=0]="Started",a[a.Completed=1]="Completed"})(s=n.UsedValueState||(n.UsedValueState={})),n.varKinds={const:new t.Name("const"),let:new t.Name("let"),var:new t.Name("var")};class o{constructor({prefixes:d,parent:h}={}){this._names={},this._prefixes=d,this._parent=h}toName(d){return d instanceof t.Name?d:this.name(d)}name(d){return new t.Name(this._newName(d))}_newName(d){const h=this._names[d]||this._nameGroup(d);return`${d}${h.index++}`}_nameGroup(d){var h,p;if(((p=(h=this._parent)===null||h===void 0?void 0:h._prefixes)===null||p===void 0?void 0:p.has(d))||this._prefixes&&!this._prefixes.has(d))throw new Error(`CodeGen: prefix "${d}" is not allowed in this scope`);return this._names[d]={prefix:d,index:0}}}n.Scope=o;class r extends t.Name{constructor(d,h){super(h);this.prefix=d}setValue(d,{property:h,itemIndex:p}){this.value=d,this.scopePath=(0,t._)`.${new t.Name(h)}[${p}]`}}n.ValueScopeName=r;const c=(0,t._)`\n`;class u extends o{constructor(d){super(d);this._values={},this._scope=d.scope,this.opts=vo(si({},d),{_n:d.lines?c:t.nil})}get(){return this._scope}name(d){return new r(d,this._newName(d))}value(d,h){var p;if(h.ref===void 0)throw new Error("CodeGen: ref must be passed in value");const b=this.toName(d),{prefix:R}=b,O=(p=h.key)!==null&&p!==void 0?p:h.ref;let x=this._values[R];if(x){const y=x.get(O);if(y)return y}else x=this._values[R]=new Map;x.set(O,b);const m=this._scope[R]||(this._scope[R]=[]),g=m.length;return m[g]=h.ref,b.setValue(h,{property:R,itemIndex:g}),b}getValue(d,h){const p=this._values[d];if(!!p)return p.get(h)}scopeRefs(d,h=this._values){return this._reduceValues(h,p=>{if(p.scopePath===void 0)throw new Error(`CodeGen: name "${p}" has no value`);return(0,t._)`${d}${p.scopePath}`})}scopeCode(d=this._values,h,p){return this._reduceValues(d,b=>{if(b.value===void 0)throw new Error(`CodeGen: name "${b}" has no value`);return b.value.code},h,p)}_reduceValues(d,h,p={},b){let R=t.nil;for(const O in d){const x=d[O];if(!x)continue;const m=p[O]=p[O]||new Map;x.forEach(g=>{if(m.has(g))return;m.set(g,s.Started);let y=h(g);if(y){const E=this.opts.es5?n.varKinds.var:n.varKinds.const;R=(0,t._)`${R}${E} ${g} = ${y};${this.opts._n}`}else if(y=b==null?void 0:b(g))R=(0,t._)`${R}${y}${this.opts._n}`;else throw new l(g);m.set(g,s.Completed)})}return R}}n.ValueScope=u},21885:(N,n,e)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.extendErrors=n.resetErrorsCount=n.reportExtraError=n.reportError=n.keyword$DataError=n.keywordError=void 0;const t=e(24475),l=e(86124),s=e(25018);n.keywordError={message:({keyword:m})=>(0,t.str)`must pass "${m}" keyword validation`},n.keyword$DataError={message:({keyword:m,schemaType:g})=>g?(0,t.str)`"${m}" keyword must be ${g} ($data)`:(0,t.str)`"${m}" keyword is invalid ($data)`};function o(m,g=n.keywordError,y,E){const{it:T}=m,{gen:A,compositeRule:w,allErrors:P}=T,C=p(m,g,y);(E!=null?E:w||P)?a(A,C):d(T,(0,t._)`[${C}]`)}n.reportError=o;function r(m,g=n.keywordError,y){const{it:E}=m,{gen:T,compositeRule:A,allErrors:w}=E,P=p(m,g,y);a(T,P),A||w||d(E,s.default.vErrors)}n.reportExtraError=r;function c(m,g){m.assign(s.default.errors,g),m.if((0,t._)`${s.default.vErrors} !== null`,()=>m.if(g,()=>m.assign((0,t._)`${s.default.vErrors}.length`,g),()=>m.assign(s.default.vErrors,null)))}n.resetErrorsCount=c;function u({gen:m,keyword:g,schemaValue:y,data:E,errsCount:T,it:A}){if(T===void 0)throw new Error("ajv implementation error");const w=m.name("err");m.forRange("i",T,s.default.errors,P=>{m.const(w,(0,t._)`${s.default.vErrors}[${P}]`),m.if((0,t._)`${w}.instancePath === undefined`,()=>m.assign((0,t._)`${w}.instancePath`,(0,t.strConcat)(s.default.instancePath,A.errorPath))),m.assign((0,t._)`${w}.schemaPath`,(0,t.str)`${A.errSchemaPath}/${g}`),A.opts.verbose&&(m.assign((0,t._)`${w}.schema`,y),m.assign((0,t._)`${w}.data`,E))})}n.extendErrors=u;function a(m,g){const y=m.const("err",g);m.if((0,t._)`${s.default.vErrors} === null`,()=>m.assign(s.default.vErrors,(0,t._)`[${y}]`),(0,t._)`${s.default.vErrors}.push(${y})`),m.code((0,t._)`${s.default.errors}++`)}function d(m,g){const{gen:y,validateName:E,schemaEnv:T}=m;T.$async?y.throw((0,t._)`new ${m.ValidationError}(${g})`):(y.assign((0,t._)`${E}.errors`,g),y.return(!1))}const h={keyword:new t.Name("keyword"),schemaPath:new t.Name("schemaPath"),params:new t.Name("params"),propertyName:new t.Name("propertyName"),message:new t.Name("message"),schema:new t.Name("schema"),parentSchema:new t.Name("parentSchema")};function p(m,g,y){const{createErrors:E}=m.it;return E===!1?(0,t._)`{}`:b(m,g,y)}function b(m,g,y={}){const{gen:E,it:T}=m,A=[R(T,y),O(m,y)];return x(m,g,A),E.object(...A)}function R({errorPath:m},{instancePath:g}){const y=g?(0,t.str)`${m}${(0,l.getErrorPath)(g,l.Type.Str)}`:m;return[s.default.instancePath,(0,t.strConcat)(s.default.instancePath,y)]}function O({keyword:m,it:{errSchemaPath:g}},{schemaPath:y,parentSchema:E}){let T=E?g:(0,t.str)`${g}/${m}`;return y&&(T=(0,t.str)`${T}${(0,l.getErrorPath)(y,l.Type.Str)}`),[h.schemaPath,T]}function x(m,{params:g,message:y},E){const{keyword:T,data:A,schemaValue:w,it:P}=m,{opts:C,propertyName:v,topSchemaRef:F,schemaPath:J}=P;E.push([h.keyword,T],[h.params,typeof g=="function"?g(m):g||(0,t._)`{}`]),C.messages&&E.push([h.message,typeof y=="function"?y(m):y]),C.verbose&&E.push([h.schema,w],[h.parentSchema,(0,t._)`${F}${J}`],[s.default.data,A]),v&&E.push([h.propertyName,v])}},87805:(N,n,e)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.resolveSchema=n.getCompilingSchema=n.resolveRef=n.compileSchema=n.SchemaEnv=void 0;const t=e(24475),l=e(18451),s=e(25018),o=e(49826),r=e(86124),c=e(21321);class u{constructor(y){var E;this.refs={},this.dynamicAnchors={};let T;typeof y.schema=="object"&&(T=y.schema),this.schema=y.schema,this.schemaId=y.schemaId,this.root=y.root||this,this.baseId=(E=y.baseId)!==null&&E!==void 0?E:(0,o.normalizeId)(T==null?void 0:T[y.schemaId||"$id"]),this.schemaPath=y.schemaPath,this.localRefs=y.localRefs,this.meta=y.meta,this.$async=T==null?void 0:T.$async,this.refs={}}}n.SchemaEnv=u;function a(g){const y=p.call(this,g);if(y)return y;const E=(0,o.getFullPath)(this.opts.uriResolver,g.root.baseId),{es5:T,lines:A}=this.opts.code,{ownProperties:w}=this.opts,P=new t.CodeGen(this.scope,{es5:T,lines:A,ownProperties:w});let C;g.$async&&(C=P.scopeValue("Error",{ref:l.default,code:(0,t._)`require("ajv/dist/runtime/validation_error").default`}));const v=P.scopeName("validate");g.validateName=v;const F={gen:P,allErrors:this.opts.allErrors,data:s.default.data,parentData:s.default.parentData,parentDataProperty:s.default.parentDataProperty,dataNames:[s.default.data],dataPathArr:[t.nil],dataLevel:0,dataTypes:[],definedProperties:new Set,topSchemaRef:P.scopeValue("schema",this.opts.code.source===!0?{ref:g.schema,code:(0,t.stringify)(g.schema)}:{ref:g.schema}),validateName:v,ValidationError:C,schema:g.schema,schemaEnv:g,rootId:E,baseId:g.baseId||E,schemaPath:t.nil,errSchemaPath:g.schemaPath||(this.opts.jtd?"":"#"),errorPath:(0,t._)`""`,opts:this.opts,self:this};let J;try{this._compilations.add(g),(0,c.validateFunctionCode)(F),P.optimize(this.opts.code.optimize);const X=P.toString();J=`const visitedNodesForRef = new WeakMap(); ${P.scopeRefs(s.default.scope)}return ${X}`,this.opts.code.process&&(J=this.opts.code.process(J,g));const re=new Function(`${s.default.self}`,`${s.default.scope}`,J)(this,this.scope.get());if(this.scope.value(v,{ref:re}),re.errors=null,re.schema=g.schema,re.schemaEnv=g,g.$async&&(re.$async=!0),this.opts.code.source===!0&&(re.source={validateName:v,validateCode:X,scopeValues:P._values}),this.opts.unevaluated){const{props:Se,items:ke}=F;re.evaluated={props:Se instanceof t.Name?void 0:Se,items:ke instanceof t.Name?void 0:ke,dynamicProps:Se instanceof t.Name,dynamicItems:ke instanceof t.Name},re.source&&(re.source.evaluated=(0,t.stringify)(re.evaluated))}return g.validate=re,g}catch(X){throw delete g.validate,delete g.validateName,J&&this.logger.error("Error compiling schema, function code:",J),X}finally{this._compilations.delete(g)}}n.compileSchema=a;function d(g,y,E){var T;const A=(0,o.resolveUrl)(this.opts.uriResolver,y,E),w=g.refs[A];if(w)return w;let P=R.call(this,g,A);if(P===void 0){const C=(T=g.localRefs)===null||T===void 0?void 0:T[A],{schemaId:v}=this.opts;C&&(P=new u({schema:C,schemaId:v,root:g,baseId:y}))}if(P===void 0&&this.opts.loadSchemaSync){const C=this.opts.loadSchemaSync(y,E,A);C&&!(this.refs[A]||this.schemas[A])&&(this.addSchema(C,A,void 0),P=R.call(this,g,A))}if(P!==void 0)return g.refs[A]=h.call(this,P)}n.resolveRef=d;function h(g){return(0,o.inlineRef)(g.schema,this.opts.inlineRefs)?g.schema:g.validate?g:a.call(this,g)}function p(g){for(const y of this._compilations)if(b(y,g))return y}n.getCompilingSchema=p;function b(g,y){return g.schema===y.schema&&g.root===y.root&&g.baseId===y.baseId}function R(g,y){let E;for(;typeof(E=this.refs[y])=="string";)y=E;return E||this.schemas[y]||O.call(this,g,y)}function O(g,y){const E=this.opts.uriResolver.parse(y),T=(0,o._getFullPath)(this.opts.uriResolver,E);let A=(0,o.getFullPath)(this.opts.uriResolver,g.baseId,void 0);if(Object.keys(g.schema).length>0&&T===A)return m.call(this,E,g);const w=(0,o.normalizeId)(T),P=this.refs[w]||this.schemas[w];if(typeof P=="string"){const C=O.call(this,g,P);return typeof(C==null?void 0:C.schema)!="object"?void 0:m.call(this,E,C)}if(typeof(P==null?void 0:P.schema)=="object"){if(P.validate||a.call(this,P),w===(0,o.normalizeId)(y)){const{schema:C}=P,{schemaId:v}=this.opts,F=C[v];return F&&(A=(0,o.resolveUrl)(this.opts.uriResolver,A,F)),new u({schema:C,schemaId:v,root:g,baseId:A})}return m.call(this,E,P)}}n.resolveSchema=O;const x=new Set(["properties","patternProperties","enum","dependencies","definitions"]);function m(g,{baseId:y,schema:E,root:T}){var A;if(((A=g.fragment)===null||A===void 0?void 0:A[0])!=="/")return;for(const C of g.fragment.slice(1).split("/")){if(typeof E=="boolean")return;const v=E[(0,r.unescapeFragment)(C)];if(v===void 0)return;E=v;const F=typeof E=="object"&&E[this.opts.schemaId];!x.has(C)&&F&&(y=(0,o.resolveUrl)(this.opts.uriResolver,y,F))}let w;if(typeof E!="boolean"&&E.$ref&&!(0,r.schemaHasRulesButRef)(E,this.RULES)){const C=(0,o.resolveUrl)(this.opts.uriResolver,y,E.$ref);w=O.call(this,T,C)}const{schemaId:P}=this.opts;if(w=w||new u({schema:E,schemaId:P,root:T,baseId:y}),w.schema!==w.root.schema)return w}},25018:(N,n,e)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0});const t=e(24475),l={data:new t.Name("data"),valCxt:new t.Name("valCxt"),instancePath:new t.Name("instancePath"),parentData:new t.Name("parentData"),parentDataProperty:new t.Name("parentDataProperty"),rootData:new t.Name("rootData"),dynamicAnchors:new t.Name("dynamicAnchors"),isAllOfVariant:new t.Name("isAllOfVariant"),vErrors:new t.Name("vErrors"),errors:new t.Name("errors"),this:new t.Name("this"),self:new t.Name("self"),scope:new t.Name("scope"),json:new t.Name("json"),jsonPos:new t.Name("jsonPos"),jsonLen:new t.Name("jsonLen"),jsonPart:new t.Name("jsonPart")};n.default=l},64143:(N,n,e)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0});const t=e(49826);class l extends Error{constructor(o,r,c,u){super(u||`can't resolve reference ${c} from id ${r}`);this.missingRef=(0,t.resolveUrl)(o,r,c),this.missingSchema=(0,t.normalizeId)((0,t.getFullPath)(o,this.missingRef))}}n.default=l},49826:(N,n,e)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.getSchemaRefs=n.resolveUrl=n.normalizeId=n._getFullPath=n.getFullPath=n.inlineRef=void 0;const t=e(86124),l=e(64063),s=e(54029),o=new Set(["type","format","pattern","maxLength","minLength","maxProperties","minProperties","maxItems","minItems","maximum","minimum","uniqueItems","multipleOf","required","enum","const"]);function r(m,g=!0){return typeof m=="boolean"?!0:g===!0?!u(m):g?a(m)<=g:!1}n.inlineRef=r;const c=new Set(["$ref","$recursiveRef","$recursiveAnchor","$dynamicRef","$dynamicAnchor"]);function u(m){for(const g in m){if(c.has(g))return!0;const y=m[g];if(Array.isArray(y)&&y.some(u)||typeof y=="object"&&u(y))return!0}return!1}function a(m){let g=0;for(const y in m){if(y==="$ref")return 1/0;if(g++,!o.has(y)&&(typeof m[y]=="object"&&(0,t.eachItem)(m[y],E=>g+=a(E)),g===1/0))return 1/0}return g}function d(m,g="",y){y!==!1&&(g=b(g));const E=m.parse(g);return h(m,E)}n.getFullPath=d;function h(m,g){return m.serialize(g).split("#")[0]+"#"}n._getFullPath=h;const p=/#\/?$/;function b(m){return m?m.replace(p,""):""}n.normalizeId=b;function R(m,g,y){return y=b(y),m.resolve(g,y)}n.resolveUrl=R;const O=/^[a-z_][-a-z0-9._]*$/i;function x(m,g){if(typeof m=="boolean")return{};const{schemaId:y,uriResolver:E}=this.opts,T=b(m[y]||g),A={"":T},w=d(E,T,!1),P={},C=new Set;return s(m,{allKeys:!0},(J,X,ue,re)=>{if(re===void 0)return;const Se=w+X;let ke=A[re];typeof J[y]=="string"&&(ke=de.call(this,J[y])),ie.call(this,J.$anchor),ie.call(this,J.$dynamicAnchor),A[X]=ke;function de(me){const G=this.opts.uriResolver.resolve;if(me=b(ke?G(ke,me):me),C.has(me))throw F(me);C.add(me);let B=this.refs[me];return typeof B=="string"&&(B=this.refs[B]),typeof B=="object"?v(J,B.schema,me):me!==b(Se)&&(me[0]==="#"?(v(J,P[me],me),P[me]=J):this.refs[me]=Se),me}function ie(me){if(typeof me=="string"){if(!O.test(me))throw new Error(`invalid anchor "${me}"`);de.call(this,`#${me}`)}}}),P;function v(J,X,ue){if(X!==void 0&&!l(J,X))throw F(ue)}function F(J){return new Error(`reference "${J}" resolves to more than one schema`)}}n.getSchemaRefs=x},73664:(N,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.getRules=n.isJSONType=void 0;const e=["string","number","integer","boolean","null","object","array"],t=new Set(e);function l(o){return typeof o=="string"&&t.has(o)}n.isJSONType=l;function s(){const o={number:{type:"number",rules:[]},string:{type:"string",rules:[]},array:{type:"array",rules:[]},object:{type:"object",rules:[]}};return{types:vo(si({},o),{integer:!0,boolean:!0,null:!0}),rules:[{rules:[]},o.number,o.string,o.array,o.object],post:{rules:[]},all:{},keywords:{}}}n.getRules=s},86124:(N,n,e)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.checkStrictMode=n.getErrorPath=n.Type=n.useFunc=n.setEvaluated=n.evaluatedPropsToName=n.mergeEvaluated=n.eachItem=n.unescapeJsonPointer=n.escapeJsonPointer=n.escapeFragment=n.unescapeFragment=n.schemaRefOrVal=n.schemaHasRulesButRef=n.schemaHasRules=n.checkUnknownRules=n.alwaysValidSchema=n.toHash=void 0;const t=e(24475),l=e(64667);function s(w){const P={};for(const C of w)P[C]=!0;return P}n.toHash=s;function o(w,P){return typeof P=="boolean"?P:Object.keys(P).length===0?!0:(r(w,P),!c(P,w.self.RULES.all))}n.alwaysValidSchema=o;function r(w,P=w.schema){const{opts:C,self:v}=w;if(!C.strictSchema||typeof P=="boolean")return;const F=v.RULES.keywords;for(const J in P)F[J]||A(w,`unknown keyword: "${J}"`)}n.checkUnknownRules=r;function c(w,P){if(typeof w=="boolean")return!w;for(const C in w)if(P[C])return!0;return!1}n.schemaHasRules=c;function u(w,P){if(typeof w=="boolean")return!w;for(const C in w)if(C!=="$ref"&&P.all[C])return!0;return!1}n.schemaHasRulesButRef=u;function a({topSchemaRef:w,schemaPath:P},C,v,F){if(!F){if(typeof C=="number"||typeof C=="boolean")return C;if(typeof C=="string")return(0,t._)`${C}`}return(0,t._)`${w}${P}${(0,t.getProperty)(v)}`}n.schemaRefOrVal=a;function d(w){return b(decodeURIComponent(w))}n.unescapeFragment=d;function h(w){return encodeURIComponent(p(w))}n.escapeFragment=h;function p(w){return typeof w=="number"?`${w}`:w.replace(/~/g,"~0").replace(/\//g,"~1")}n.escapeJsonPointer=p;function b(w){return w.replace(/~1/g,"/").replace(/~0/g,"~")}n.unescapeJsonPointer=b;function R(w,P){if(Array.isArray(w))for(const C of w)P(C);else P(w)}n.eachItem=R;function O({mergeNames:w,mergeToName:P,mergeValues:C,resultToName:v}){return(F,J,X,ue)=>{const re=X===void 0?J:X instanceof t.Name?(J instanceof t.Name?w(F,J,X):P(F,J,X),X):J instanceof t.Name?(P(F,X,J),J):C(J,X);return ue===t.Name&&!(re instanceof t.Name)?v(F,re):re}}n.mergeEvaluated={props:O({mergeNames:(w,P,C)=>w.if((0,t._)`${C} !== true && ${P} !== undefined`,()=>{w.if((0,t._)`${P} === true`,()=>w.assign(C,!0),()=>w.assign(C,(0,t._)`${C} || {}`).code((0,t._)`Object.assign(${C}, ${P})`))}),mergeToName:(w,P,C)=>w.if((0,t._)`${C} !== true`,()=>{P===!0?w.assign(C,!0):(w.assign(C,(0,t._)`${C} || {}`),m(w,C,P))}),mergeValues:(w,P)=>w===!0?!0:si(si({},w),P),resultToName:x}),items:O({mergeNames:(w,P,C)=>w.if((0,t._)`${C} !== true && ${P} !== undefined`,()=>w.assign(C,(0,t._)`${P} === true ? true : ${C} > ${P} ? ${C} : ${P}`)),mergeToName:(w,P,C)=>w.if((0,t._)`${C} !== true`,()=>w.assign(C,P===!0?!0:(0,t._)`${C} > ${P} ? ${C} : ${P}`)),mergeValues:(w,P)=>w===!0?!0:Math.max(w,P),resultToName:(w,P)=>w.var("items",P)})};function x(w,P){if(P===!0)return w.var("props",!0);const C=w.var("props",(0,t._)`{}`);return P!==void 0&&m(w,C,P),C}n.evaluatedPropsToName=x;function m(w,P,C){Object.keys(C).forEach(v=>w.assign((0,t._)`${P}${(0,t.getProperty)(v)}`,!0))}n.setEvaluated=m;const g={};function y(w,P){return w.scopeValue("func",{ref:P,code:g[P.code]||(g[P.code]=new l._Code(P.code))})}n.useFunc=y;var E;(function(w){w[w.Num=0]="Num",w[w.Str=1]="Str"})(E=n.Type||(n.Type={}));function T(w,P,C){if(w instanceof t.Name){const v=P===E.Num;return C?v?(0,t._)`"[" + ${w} + "]"`:(0,t._)`"['" + ${w} + "']"`:v?(0,t._)`"/" + ${w}`:(0,t._)`"/" + ${w}.replace(/~/g, "~0").replace(/\\//g, "~1")`}return C?(0,t.getProperty)(w).toString():"/"+p(w)}n.getErrorPath=T;function A(w,P,C=w.opts.strictSchema){if(!!C){if(P=`strict mode: ${P}`,C===!0)throw new Error(P);w.self.logger.warn(P)}}n.checkStrictMode=A},14566:(N,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.shouldUseRule=n.shouldUseGroup=n.schemaHasRulesForType=void 0;function e({schema:s,self:o},r){const c=o.RULES.types[r];return c&&c!==!0&&t(s,c)}n.schemaHasRulesForType=e;function t(s,o){return o.rules.some(r=>l(s,r))}n.shouldUseGroup=t;function l(s,o){var r;return s[o.keyword]!==void 0||((r=o.definition.implements)===null||r===void 0?void 0:r.some(c=>s[c]!==void 0))}n.shouldUseRule=l},27627:(N,n,e)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.boolOrEmptySchema=n.topBoolOrEmptySchema=void 0;const t=e(21885),l=e(24475),s=e(25018),o={message:"boolean schema is false"};function r(a){const{gen:d,schema:h,validateName:p}=a;h===!1?u(a,!1):typeof h=="object"&&h.$async===!0?d.return(s.default.data):(d.assign((0,l._)`${p}.errors`,null),d.return(!0))}n.topBoolOrEmptySchema=r;function c(a,d){const{gen:h,schema:p}=a;p===!1?(h.var(d,!1),u(a)):h.var(d,!0)}n.boolOrEmptySchema=c;function u(a,d){const{gen:h,data:p}=a,b={gen:h,keyword:"false schema",data:p,schema:!1,schemaCode:!1,schemaValue:!1,params:{},it:a};(0,t.reportError)(b,o,void 0,d)}},97927:(N,n,e)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.reportTypeError=n.checkDataTypes=n.checkDataType=n.coerceAndCheckDataType=n.getJSONTypes=n.getSchemaTypes=n.DataType=void 0;const t=e(73664),l=e(14566),s=e(21885),o=e(24475),r=e(86124);var c;(function(E){E[E.Correct=0]="Correct",E[E.Wrong=1]="Wrong"})(c=n.DataType||(n.DataType={}));function u(E){const T=a(E.type);if(T.includes("null")){if(E.nullable===!1)throw new Error("type: null contradicts nullable: false")}else{if(!T.length&&E.nullable!==void 0)throw new Error('"nullable" cannot be used without "type"');E.nullable===!0&&T.push("null")}return T}n.getSchemaTypes=u;function a(E){const T=Array.isArray(E)?E:E?[E]:[];if(T.every(t.isJSONType))return T;throw new Error("type must be JSONType or JSONType[]: "+T.join(","))}n.getJSONTypes=a;function d(E,T){const{gen:A,data:w,opts:P}=E,C=p(T,P.coerceTypes),v=T.length>0&&!(C.length===0&&T.length===1&&(0,l.schemaHasRulesForType)(E,T[0]));if(v){const F=x(T,w,P.strictNumbers,c.Wrong);A.if(F,()=>{C.length?b(E,T,C):g(E)})}return v}n.coerceAndCheckDataType=d;const h=new Set(["string","number","integer","boolean","null"]);function p(E,T){return T?E.filter(A=>h.has(A)||T==="array"&&A==="array"):[]}function b(E,T,A){const{gen:w,data:P,opts:C}=E,v=w.let("dataType",(0,o._)`typeof ${P}`),F=w.let("coerced",(0,o._)`undefined`);C.coerceTypes==="array"&&w.if((0,o._)`${v} == 'object' && Array.isArray(${P}) && ${P}.length == 1`,()=>w.assign(P,(0,o._)`${P}[0]`).assign(v,(0,o._)`typeof ${P}`).if(x(T,P,C.strictNumbers),()=>w.assign(F,P))),w.if((0,o._)`${F} !== undefined`);for(const X of A)(h.has(X)||X==="array"&&C.coerceTypes==="array")&&J(X);w.else(),g(E),w.endIf(),w.if((0,o._)`${F} !== undefined`,()=>{w.assign(P,F),R(E,F)});function J(X){switch(X){case"string":w.elseIf((0,o._)`${v} == "number" || ${v} == "boolean"`).assign(F,(0,o._)`"" + ${P}`).elseIf((0,o._)`${P} === null`).assign(F,(0,o._)`""`);return;case"number":w.elseIf((0,o._)`${v} == "boolean" || ${P} === null
|
|
8
8
|
|| (${v} == "string" && ${P} && ${P} == +${P})`).assign(F,(0,o._)`+${P}`);return;case"integer":w.elseIf((0,o._)`${v} === "boolean" || ${P} === null
|
|
@@ -1834,7 +1834,7 @@ globstar while`,P,de,C,ie,me),this.matchOne(P.slice(de),C.slice(ie),v))return th
|
|
|
1834
1834
|
margin-bottom: 1em;
|
|
1835
1835
|
`,ve=h.ZP.div`
|
|
1836
1836
|
line-height: 20px;
|
|
1837
|
-
`},82072:(N,n,e)=>{"use strict";e.d(n,{h:()=>C});var t=e(67294),l=e(23485),s=e(43398),o=e(39589),r=e(1330);let c=1;function u(v,F){c=1;let J="";return J+='<div class="redoc-json">',J+="<code>",J+=b(v,F),J+="</code>",J+="</div>",J}function a(v){return v!==void 0?v.toString().replace(/&/g,"&").replace(/"/g,""").replace(/</g,"<").replace(/>/g,">"):""}function d(v){return JSON.stringify(v).slice(1,-1)}function h(v,F){return'<span class="'+F+'">'+a(v)+"</span>"}function p(v){return'<span class="token punctuation">'+v+"</span>"}function b(v,F){const J=typeof v;let X="";return v==null?X+=h("null","token keyword"):v&&v.constructor===Array?(c++,X+=R(v,F),c--):v&&v.constructor===Date?X+=h('"'+v.toISOString()+'"',"token string"):J==="object"?(c++,X+=O(v,F),c--):J==="number"?X+=h(v,"token number"):J==="string"?/^(http|https):\/\/[^\s]+$/.test(v)?X+=h('"',"token string")+'<a href="'+
|
|
1837
|
+
`},82072:(N,n,e)=>{"use strict";e.d(n,{h:()=>C});var t=e(67294),l=e(23485),s=e(43398),o=e(39589),r=e(1330);let c=1;function u(v,F){c=1;let J="";return J+='<div class="redoc-json">',J+="<code>",J+=b(v,F),J+="</code>",J+="</div>",J}function a(v){return v!==void 0?v.toString().replace(/&/g,"&").replace(/"/g,""").replace(/</g,"<").replace(/>/g,">"):""}function d(v){return JSON.stringify(v).slice(1,-1)}function h(v,F){return'<span class="'+F+'">'+a(v)+"</span>"}function p(v){return'<span class="token punctuation">'+v+"</span>"}function b(v,F){const J=typeof v;let X="";return v==null?X+=h("null","token keyword"):v&&v.constructor===Array?(c++,X+=R(v,F),c--):v&&v.constructor===Date?X+=h('"'+v.toISOString()+'"',"token string"):J==="object"?(c++,X+=O(v,F),c--):J==="number"?X+=h(v,"token number"):J==="string"?/^(http|https):\/\/[^\s]+$/.test(v)?X+=h('"',"token string")+'<a href="'+v+'">'+a(d(v))+"</a>"+h('"',"token string"):X+=h('"'+d(v)+'"',"token string"):J==="boolean"&&(X+=h(v,"token boolean")),X}function R(v,F){const J=c>F?"collapsed":"";let X=`<button class="collapser" aria-label="${c>F+1?"expand":"collapse"}"></button>${p("[")}<span class="ellipsis"></span><ul class="array collapsible">`,ue=!1;const re=v.length;for(let Se=0;Se<re;Se++)ue=!0,X+='<li><div class="hoverable '+J+'">',X+=b(v[Se],F),Se<re-1&&(X+=","),X+="</div></li>";return X+=`</ul>${p("]")}`,ue||(X=p("[ ]")),X}function O(v,F){const J=c>F?"collapsed":"",X=Object.keys(v),ue=X.length;let re=`<button class="collapser" aria-label="${c>F+1?"expand":"collapse"}"></button>${p("{")}<span class="ellipsis"></span><ul class="obj collapsible">`,Se=!1;for(let ke=0;ke<ue;ke++){const de=X[ke];Se=!0,re+='<li><div class="hoverable '+J+'">',re+='<span class="property token string">"'+a(de)+'"</span>: ',re+=b(v[de],F),ke<ue-1&&(re+=p(",")),re+="</div></li>"}return re+=`</ul>${p("}")}`,Se||(re=p("{ }")),re}var x=e(3973);const m=l.iv`
|
|
1838
1838
|
.redoc-json code > .collapser {
|
|
1839
1839
|
display: none;
|
|
1840
1840
|
pointer-events: none;
|
|
@@ -2989,7 +2989,7 @@ Add a <Suspense fallback=...> component higher in the tree to provide a loading
|
|
|
2989
2989
|
* Redocly Reference Docs
|
|
2990
2990
|
* (c) Copyright 2018 Redocly LLC, all rights reserved.
|
|
2991
2991
|
* -------------------------------------------------------------
|
|
2992
|
-
* Version: "2.43.
|
|
2992
|
+
* Version: "2.43.1"
|
|
2993
2993
|
*/(()=>{var Y={336:(x,E,T)=>{var j,C;/**
|
|
2994
2994
|
* lunr - http://lunrjs.com - A bit like Solr, but much smaller and not as bright - 2.3.9
|
|
2995
2995
|
* Copyright (C) 2020 Oliver Nightingale
|
|
@@ -3551,4 +3551,4 @@ Add a <Suspense fallback=...> component higher in the tree to provide a loading
|
|
|
3551
3551
|
${zn} {
|
|
3552
3552
|
${({theme:I,showRightPanel:M,layout:k})=>(0,m.mediaCSS)({width:{[m.ZERO_BREAKPOINT]:"none",small:`calc(100% - ${I.sidebar.width})`},maxWidth:I.layout[k===In.N.THREE_PANEL&&M?In.N.THREE_PANEL:In.N.STACKED].maxWidth})};
|
|
3553
3553
|
}
|
|
3554
|
-
`;let Br=class extends O.Component{constructor(I){super(I);Ar(this,"_observer"),Ar(this,"_updatedItems",!1),Ar(this,"rootElementRef",(0,O.createRef)()),Ar(this,"handleClose",()=>this.props.store.tryItOut()),this.state={searchPopUpShown:!1,searchPopUpValue:""}}componentDidMount(){var I,M;this.props.store.onDidMount(),(M=(I=this.props).onLoaded)==null||M.call(I),this._observer=(0,g.U5)(()=>this.props.store.menu.renderItems,()=>{this._updatedItems=!0})}componentDidUpdate(){this._updatedItems&&(this._updatedItems=!1,this.props.store.menu.scrollToActive())}componentWillUnmount(){this.props.store.dispose(),this._observer()}render(){const{store:I,_forceRenderInfo:M}=this.props,{definition:k,menu:ae,options:ge,search:xe,marker:at}=I,{hideDownloadButton:it,hideInfoSection:xt,pagination:Qt,disableSidebar:Yt}=ge,Cn=ae.renderItems,qn=Qt==="none"||ae.activeRenderItemIdx<=0;let er=xt?!1:qn;er&&Qt!=="none"&&Yt&&Cn[0]&&Cn[0].type!=="section"&&(er=!1),M&&(er=!0);const _n=!er&&it!==null&&!it&&qn;return nr.createElement(na,{store:I},nr.createElement(es,{l:I.l}),nr.createElement(Yo,{className:"redoc-wrap",ref:this.rootElementRef},nr.createElement(Mi,{whiteLabel:ge.whiteLabel,showRightPanel:I.showRightPanel,layout:I.layout}),I.tryItOperation&&nr.createElement(fi.M,{rootElement:this.rootElementRef.current,store:I,operation:I.tryItOperation,onClose:this.handleClose}),!ge.disableSidebar&&nr.createElement(m.StickyResponsiveSidebar,{menu:ae,className:"menu-content"},!ge.hideLogo&&nr.createElement(m.ApiLogo,{info:k.info}),k instanceof Ft&&nr.createElement(Ki,{spec:k,onChange:rr=>{rr.idx!==void 0&&k.changeVersion(rr.idx),ae.updateItemsByVersionChange(!0),I.tryItOut(void 0)}}),!ge.disableSearch&&nr.createElement(En,{showPopUp:()=>this.setState({searchPopUpShown:!0}),searchValue:this.state.searchPopUpValue,marker:at,setSearchValue:rr=>this.setState({searchPopUpValue:rr})}),nr.createElement(m.SideMenu,{menu:ae})),nr.createElement(zn,{className:(I.isLoading?"loading ":"")+"api-content",layout:I.layout===In.N.THREE_PANEL&&I.showRightPanel?In.N.THREE_PANEL:In.N.STACKED},ge.theme.layout.showDarkRightPanel&&I.showRightPanel&&I.layout!==In.N.STACKED&&nr.createElement(Ci,null),er&&nr.createElement(m.ApiInfo,{store:I}),_n&&nr.createElement(Jt.C,{store:I}),nr.createElement(m.ContentItems,{items:Cn,store:I}),ge.showNextButton&&nr.createElement(ea,{pagination:ge.pagination,menu:ae}),this.props.children),nr.createElement(hs,null,nr.createElement(Xs,{store:I,isVisible:I.layout===In.N.THREE_PANEL}),nr.createElement(ps,{store:I,isVisible:I.showRightPanel})),nr.createElement(Go,{search:xe,marker:at,menu:ae,onActivate:ae.activateAndScroll.bind(ae),options:ge,shown:this.state.searchPopUpShown,hidePopUp:()=>this.setState({searchPopUpShown:!1}),showPopUp:()=>this.setState({searchPopUpShown:!0}),setSearchValue:rr=>this.setState({searchPopUpValue:rr}),searchValue:this.state.searchPopUpValue}),ge.theme.layout.showDarkRightPanel&&I.showRightPanel&&I.layout!==In.N.STACKED&&nr.createElement(Jo,null)))}};Br=Cr([dt.Pi],Br);function Ir(I){const{definition:M,definitionUrl:k,options:ae={},activeItemId:ge,activeSampleLanguage:xe,activeDeepLink:at}=I,it=(0,m.argValueToBoolean)(ae.hideLoading,!1),xt=new m.RedocNormalizedOptions(ae),Qt=nr.createElement(Ii,{definition:M,definitionUrl:k,options:ae,activeItemId:ge,activeSampleLanguage:xe,activeDeepLink:at},({loading:Yt,store:Cn})=>Yt?it?null:nr.createElement(m.Loading,{color:xt.theme.colors.primary.main}):nr.createElement(Br,{store:Cn}));return ae.disableErrorBoundary?Qt:nr.createElement(m.ErrorBoundary,null,Qt)}var pi=Gt(67294);function po({definitions:I,options:M={}}){const k=(0,m.argValueToBoolean)(M.hideLoading,!1),ae=new m.RedocNormalizedOptions(M);return pi.createElement(m.ErrorBoundary,null,pi.createElement(Ii,{definitions:I,options:M},({loading:ge,store:xe})=>ge?k?null:pi.createElement(m.Loading,{color:ae.theme.colors.primary.main}):pi.createElement(Br,{store:xe})))}var Lr=Gt(67294),Qi=Object.defineProperty,ts=Object.getOwnPropertySymbols,Pi=Object.prototype.hasOwnProperty,xi=Object.prototype.propertyIsEnumerable,wo=(I,M,k)=>M in I?Qi(I,M,{enumerable:!0,configurable:!0,writable:!0,value:k}):I[M]=k,Ui=(I,M)=>{for(var k in M||(M={}))Pi.call(M,k)&&wo(I,k,M[k]);if(ts)for(var k of ts(M))xi.call(M,k)&&wo(I,k,M[k]);return I};function Li(I){const M=(0,_.zJ)();M&&M.toggleLayout((I!=null?I:M.layout===In.N.STACKED)?In.N.THREE_PANEL:In.N.STACKED)}function Fo(I){const M=(0,_.zJ)();M&&M.toggleRightPanel(I)}const Gi=(0,_.uW)(),V=Gi?(0,R.dirname)(Gi)+"/":"";function Oe(I){const M={},k=I.attributes;for(let ae=0;ae<k.length;ae++){const ge=k[ae];M[ge.name]=ge.value}return M}function Ve(I){const M=Oe(I),k={};for(const ae in M){const ge=ae.replace(/-(.)/g,(xe,at)=>at.toUpperCase());k[ge]=M[ae]}return k}function L(I,M=document.querySelector("redoc")){const k=ye.fromJS(I);(0,x.hydrate)(Lr.createElement(Br,{store:k}),M)}function z(I,M={},k=(0,m.querySelector)("redoc"),ae){if(k===null)throw new Error('"element" argument is not provided and <redoc> tag is not found on the page');let ge,xe;if(typeof I=="object"&&"versions"in I){(0,x.render)((0,O.createElement)(po,{definitions:I,options:Ui(Ui({},M),Ve(k))},["Loading..."]),k,ae);return}typeof I=="string"?ge=I:typeof I=="object"&&(xe=I),(0,x.render)((0,O.createElement)(Ir,{definition:xe,definitionUrl:ge,options:Ui(Ui({},M),Ve(k))},["Loading..."]),k,ae)}function q(I){Gt.p=I}const Z="2.43.
|
|
3554
|
+
`;let Br=class extends O.Component{constructor(I){super(I);Ar(this,"_observer"),Ar(this,"_updatedItems",!1),Ar(this,"rootElementRef",(0,O.createRef)()),Ar(this,"handleClose",()=>this.props.store.tryItOut()),this.state={searchPopUpShown:!1,searchPopUpValue:""}}componentDidMount(){var I,M;this.props.store.onDidMount(),(M=(I=this.props).onLoaded)==null||M.call(I),this._observer=(0,g.U5)(()=>this.props.store.menu.renderItems,()=>{this._updatedItems=!0})}componentDidUpdate(){this._updatedItems&&(this._updatedItems=!1,this.props.store.menu.scrollToActive())}componentWillUnmount(){this.props.store.dispose(),this._observer()}render(){const{store:I,_forceRenderInfo:M}=this.props,{definition:k,menu:ae,options:ge,search:xe,marker:at}=I,{hideDownloadButton:it,hideInfoSection:xt,pagination:Qt,disableSidebar:Yt}=ge,Cn=ae.renderItems,qn=Qt==="none"||ae.activeRenderItemIdx<=0;let er=xt?!1:qn;er&&Qt!=="none"&&Yt&&Cn[0]&&Cn[0].type!=="section"&&(er=!1),M&&(er=!0);const _n=!er&&it!==null&&!it&&qn;return nr.createElement(na,{store:I},nr.createElement(es,{l:I.l}),nr.createElement(Yo,{className:"redoc-wrap",ref:this.rootElementRef},nr.createElement(Mi,{whiteLabel:ge.whiteLabel,showRightPanel:I.showRightPanel,layout:I.layout}),I.tryItOperation&&nr.createElement(fi.M,{rootElement:this.rootElementRef.current,store:I,operation:I.tryItOperation,onClose:this.handleClose}),!ge.disableSidebar&&nr.createElement(m.StickyResponsiveSidebar,{menu:ae,className:"menu-content"},!ge.hideLogo&&nr.createElement(m.ApiLogo,{info:k.info}),k instanceof Ft&&nr.createElement(Ki,{spec:k,onChange:rr=>{rr.idx!==void 0&&k.changeVersion(rr.idx),ae.updateItemsByVersionChange(!0),I.tryItOut(void 0)}}),!ge.disableSearch&&nr.createElement(En,{showPopUp:()=>this.setState({searchPopUpShown:!0}),searchValue:this.state.searchPopUpValue,marker:at,setSearchValue:rr=>this.setState({searchPopUpValue:rr})}),nr.createElement(m.SideMenu,{menu:ae})),nr.createElement(zn,{className:(I.isLoading?"loading ":"")+"api-content",layout:I.layout===In.N.THREE_PANEL&&I.showRightPanel?In.N.THREE_PANEL:In.N.STACKED},ge.theme.layout.showDarkRightPanel&&I.showRightPanel&&I.layout!==In.N.STACKED&&nr.createElement(Ci,null),er&&nr.createElement(m.ApiInfo,{store:I}),_n&&nr.createElement(Jt.C,{store:I}),nr.createElement(m.ContentItems,{items:Cn,store:I}),ge.showNextButton&&nr.createElement(ea,{pagination:ge.pagination,menu:ae}),this.props.children),nr.createElement(hs,null,nr.createElement(Xs,{store:I,isVisible:I.layout===In.N.THREE_PANEL}),nr.createElement(ps,{store:I,isVisible:I.showRightPanel})),nr.createElement(Go,{search:xe,marker:at,menu:ae,onActivate:ae.activateAndScroll.bind(ae),options:ge,shown:this.state.searchPopUpShown,hidePopUp:()=>this.setState({searchPopUpShown:!1}),showPopUp:()=>this.setState({searchPopUpShown:!0}),setSearchValue:rr=>this.setState({searchPopUpValue:rr}),searchValue:this.state.searchPopUpValue}),ge.theme.layout.showDarkRightPanel&&I.showRightPanel&&I.layout!==In.N.STACKED&&nr.createElement(Jo,null)))}};Br=Cr([dt.Pi],Br);function Ir(I){const{definition:M,definitionUrl:k,options:ae={},activeItemId:ge,activeSampleLanguage:xe,activeDeepLink:at}=I,it=(0,m.argValueToBoolean)(ae.hideLoading,!1),xt=new m.RedocNormalizedOptions(ae),Qt=nr.createElement(Ii,{definition:M,definitionUrl:k,options:ae,activeItemId:ge,activeSampleLanguage:xe,activeDeepLink:at},({loading:Yt,store:Cn})=>Yt?it?null:nr.createElement(m.Loading,{color:xt.theme.colors.primary.main}):nr.createElement(Br,{store:Cn}));return ae.disableErrorBoundary?Qt:nr.createElement(m.ErrorBoundary,null,Qt)}var pi=Gt(67294);function po({definitions:I,options:M={}}){const k=(0,m.argValueToBoolean)(M.hideLoading,!1),ae=new m.RedocNormalizedOptions(M);return pi.createElement(m.ErrorBoundary,null,pi.createElement(Ii,{definitions:I,options:M},({loading:ge,store:xe})=>ge?k?null:pi.createElement(m.Loading,{color:ae.theme.colors.primary.main}):pi.createElement(Br,{store:xe})))}var Lr=Gt(67294),Qi=Object.defineProperty,ts=Object.getOwnPropertySymbols,Pi=Object.prototype.hasOwnProperty,xi=Object.prototype.propertyIsEnumerable,wo=(I,M,k)=>M in I?Qi(I,M,{enumerable:!0,configurable:!0,writable:!0,value:k}):I[M]=k,Ui=(I,M)=>{for(var k in M||(M={}))Pi.call(M,k)&&wo(I,k,M[k]);if(ts)for(var k of ts(M))xi.call(M,k)&&wo(I,k,M[k]);return I};function Li(I){const M=(0,_.zJ)();M&&M.toggleLayout((I!=null?I:M.layout===In.N.STACKED)?In.N.THREE_PANEL:In.N.STACKED)}function Fo(I){const M=(0,_.zJ)();M&&M.toggleRightPanel(I)}const Gi=(0,_.uW)(),V=Gi?(0,R.dirname)(Gi)+"/":"";function Oe(I){const M={},k=I.attributes;for(let ae=0;ae<k.length;ae++){const ge=k[ae];M[ge.name]=ge.value}return M}function Ve(I){const M=Oe(I),k={};for(const ae in M){const ge=ae.replace(/-(.)/g,(xe,at)=>at.toUpperCase());k[ge]=M[ae]}return k}function L(I,M=document.querySelector("redoc")){const k=ye.fromJS(I);(0,x.hydrate)(Lr.createElement(Br,{store:k}),M)}function z(I,M={},k=(0,m.querySelector)("redoc"),ae){if(k===null)throw new Error('"element" argument is not provided and <redoc> tag is not found on the page');let ge,xe;if(typeof I=="object"&&"versions"in I){(0,x.render)((0,O.createElement)(po,{definitions:I,options:Ui(Ui({},M),Ve(k))},["Loading..."]),k,ae);return}typeof I=="string"?ge=I:typeof I=="object"&&(xe=I),(0,x.render)((0,O.createElement)(Ir,{definition:xe,definitionUrl:ge,options:Ui(Ui({},M),Ve(k))},["Loading..."]),k,ae)}function q(I){Gt.p=I}const Z="2.43.1",he="46ba8b5";function Re(){const I=(0,m.querySelector)("redoc");if(!I)return;const M=I.getAttribute("spec-url");M&&z(M,{},I)}m.IS_BROWSER&&q(V),Re()})(),Hs})()});
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.jsonToHTML=void 0;var level=1;function jsonToHTML(e,t){level=1;var n="";return n+='<div class="redoc-json">',n+="<code>",n+=valueToHTML(e,t),n+="</code>",n+="</div>"}function htmlEncode(e){return void 0!==e?e.toString().replace(/&/g,"&").replace(/"/g,""").replace(/</g,"<").replace(/>/g,">"):""}function stringifyStringLiteral(e){return JSON.stringify(e).slice(1,-1)}function decorateWithSpan(e,t){return'<span class="'+t+'">'+htmlEncode(e)+"</span>"}function punctuation(e){return'<span class="token punctuation">'+e+"</span>"}function valueToHTML(e,t){var n=typeof e,o="";return null==e?o+=decorateWithSpan("null","token keyword"):e&&e.constructor===Array?(level++,o+=arrayToHTML(e,t),level--):e&&e.constructor===Date?o+=decorateWithSpan('"'+e.toISOString()+'"',"token string"):"object"===n?(level++,o+=objectToHTML(e,t),level--):"number"===n?o+=decorateWithSpan(e,"token number"):"string"===n?/^(http|https):\/\/[^\s]+$/.test(e)?o+=decorateWithSpan('"',"token string")+'<a href="'+
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.jsonToHTML=void 0;var level=1;function jsonToHTML(e,t){level=1;var n="";return n+='<div class="redoc-json">',n+="<code>",n+=valueToHTML(e,t),n+="</code>",n+="</div>"}function htmlEncode(e){return void 0!==e?e.toString().replace(/&/g,"&").replace(/"/g,""").replace(/</g,"<").replace(/>/g,">"):""}function stringifyStringLiteral(e){return JSON.stringify(e).slice(1,-1)}function decorateWithSpan(e,t){return'<span class="'+t+'">'+htmlEncode(e)+"</span>"}function punctuation(e){return'<span class="token punctuation">'+e+"</span>"}function valueToHTML(e,t){var n=typeof e,o="";return null==e?o+=decorateWithSpan("null","token keyword"):e&&e.constructor===Array?(level++,o+=arrayToHTML(e,t),level--):e&&e.constructor===Date?o+=decorateWithSpan('"'+e.toISOString()+'"',"token string"):"object"===n?(level++,o+=objectToHTML(e,t),level--):"number"===n?o+=decorateWithSpan(e,"token number"):"string"===n?/^(http|https):\/\/[^\s]+$/.test(e)?o+=decorateWithSpan('"',"token string")+'<a href="'+e+'">'+htmlEncode(stringifyStringLiteral(e))+"</a>"+decorateWithSpan('"',"token string"):o+=decorateWithSpan('"'+stringifyStringLiteral(e)+'"',"token string"):"boolean"===n&&(o+=decorateWithSpan(e,"token boolean")),o}function arrayToHTML(e,t){for(var n=level>t?"collapsed":"",o='<button class="collapser" aria-label="'+(level>t+1?"expand":"collapse")+'"></button>'+punctuation("[")+'<span class="ellipsis"></span><ul class="array collapsible">',a=!1,l=e.length,r=0;r<l;r++)a=!0,o+='<li><div class="hoverable '+n+'">',o+=valueToHTML(e[r],t),r<l-1&&(o+=","),o+="</div></li>";return o+="</ul>"+punctuation("]"),a||(o=punctuation("[ ]")),o}function objectToHTML(e,t){for(var n=level>t?"collapsed":"",o=Object.keys(e),a=o.length,l='<button class="collapser" aria-label="'+(level>t+1?"expand":"collapse")+'"></button>'+punctuation("{")+'<span class="ellipsis"></span><ul class="obj collapsible">',r=!1,s=0;s<a;s++){var i=o[s];r=!0,l+='<li><div class="hoverable '+n+'">',l+='<span class="property token string">"'+htmlEncode(i)+'"</span>: ',l+=valueToHTML(e[i],t),s<a-1&&(l+=punctuation(",")),l+="</div></li>"}return l+="</ul>"+punctuation("}"),r||(l=punctuation("{ }")),l}exports.jsonToHTML=jsonToHTML;
|
|
2
2
|
//# sourceMappingURL=jsonToHtml.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
var level=1;export function jsonToHTML(e
|
|
1
|
+
var level=1;export function jsonToHTML(t,e){level=1;var n="";return n+='<div class="redoc-json">',n+="<code>",n+=valueToHTML(t,e),n+="</code>",n+="</div>"}function htmlEncode(t){return void 0!==t?t.toString().replace(/&/g,"&").replace(/"/g,""").replace(/</g,"<").replace(/>/g,">"):""}function stringifyStringLiteral(t){return JSON.stringify(t).slice(1,-1)}function decorateWithSpan(t,e){return'<span class="'+e+'">'+htmlEncode(t)+"</span>"}function punctuation(t){return'<span class="token punctuation">'+t+"</span>"}function valueToHTML(t,e){var n=typeof t,a="";return null==t?a+=decorateWithSpan("null","token keyword"):t&&t.constructor===Array?(level++,a+=arrayToHTML(t,e),level--):t&&t.constructor===Date?a+=decorateWithSpan('"'+t.toISOString()+'"',"token string"):"object"===n?(level++,a+=objectToHTML(t,e),level--):"number"===n?a+=decorateWithSpan(t,"token number"):"string"===n?/^(http|https):\/\/[^\s]+$/.test(t)?a+=decorateWithSpan('"',"token string")+'<a href="'+t+'">'+htmlEncode(stringifyStringLiteral(t))+"</a>"+decorateWithSpan('"',"token string"):a+=decorateWithSpan('"'+stringifyStringLiteral(t)+'"',"token string"):"boolean"===n&&(a+=decorateWithSpan(t,"token boolean")),a}function arrayToHTML(t,e){for(var n=level>e?"collapsed":"",a='<button class="collapser" aria-label="'+(level>e+1?"expand":"collapse")+'"></button>'+punctuation("[")+'<span class="ellipsis"></span><ul class="array collapsible">',l=!1,o=t.length,r=0;r<o;r++)l=!0,a+='<li><div class="hoverable '+n+'">',a+=valueToHTML(t[r],e),r<o-1&&(a+=","),a+="</div></li>";return a+="</ul>"+punctuation("]"),l||(a=punctuation("[ ]")),a}function objectToHTML(t,e){for(var n=level>e?"collapsed":"",a=Object.keys(t),l=a.length,o='<button class="collapser" aria-label="'+(level>e+1?"expand":"collapse")+'"></button>'+punctuation("{")+'<span class="ellipsis"></span><ul class="obj collapsible">',r=!1,i=0;i<l;i++){var c=a[i];r=!0,o+='<li><div class="hoverable '+n+'">',o+='<span class="property token string">"'+htmlEncode(c)+'"</span>: ',o+=valueToHTML(t[c],e),i<l-1&&(o+=punctuation(",")),o+="</div></li>"}return o+="</ul>"+punctuation("}"),r||(o=punctuation("{ }")),o}
|
|
2
2
|
//# sourceMappingURL=jsonToHtml.js.map
|