@redocly/reference-docs 2.9.1 → 2.9.2
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 +6 -6
- package/lib/redoc-lib/src/components/Schema/OneOfSchema.js +1 -1
- package/lib-esm/redoc-lib/src/components/Schema/OneOfSchema.js +1 -1
- package/package.json +1 -1
|
@@ -2,7 +2,7 @@ var Oc=Object.defineProperty,wc=Object.defineProperties;var Pc=Object.getOwnProp
|
|
|
2
2
|
* Redocly Reference Docs
|
|
3
3
|
* (c) Copyright 2018 Redocly LLC, all rights reserved.
|
|
4
4
|
* -------------------------------------------------------------
|
|
5
|
-
* Version: "2.9.
|
|
5
|
+
* Version: "2.9.2"
|
|
6
6
|
*/(function(Li,ki){typeof exports=="object"&&typeof module=="object"?module.exports=ki(require("null")):typeof define=="function"&&define.amd?define(["null"],ki):typeof exports=="object"?exports.RedoclyReferenceDocs=ki(require("null")):Li.RedoclyReferenceDocs=ki(Li.null)})(this,function(Eo){return(()=>{var Li={43675:function(R,d,t){"use strict";var o=this&&this.__awaiter||function(x,w,N,I){function $(m){return m instanceof N?m:new N(function(W){W(m)})}return new(N||(N=Promise))(function(m,W){function L(J){try{ae(I.next(J))}catch(De){W(De)}}function X(J){try{ae(I.throw(J))}catch(De){W(De)}}function ae(J){J.done?m(J.value):$(J.value).then(L,X)}ae((I=I.apply(x,w||[])).next())})};Object.defineProperty(d,"__esModule",{value:!0}),d.bundleDocument=d.bundle=d.OasVersion=void 0;const r=t(72307),i=t(44182),a=t(68065),s=t(85241),h=t(80388),c=t(22608),l=t(45220),p=t(69443),f=t(71510),g=t(27468),y=t(75030),O=t(20348),v=t(10771);var F;(function(x){x.Version2="oas2",x.Version3_0="oas3_0",x.Version3_1="oas3_1"})(F=d.OasVersion||(d.OasVersion={}));function T(x){return o(this,void 0,void 0,function*(){const{ref:w,doc:N,externalRefResolver:I=new i.BaseResolver(x.config.resolve),base:$=null}=x;if(!(w||N))throw new Error(`Document or reference is required.
|
|
7
7
|
`);const m=N!==void 0?N:yield I.resolveDocument($,w,!0);if(m instanceof Error)throw m;return _(Object.assign(Object.assign({document:m},x),{config:x.config.lint,externalRefResolver:I}))})}d.bundle=T;function _(x){return o(this,void 0,void 0,function*(){const{document:w,config:N,customTypes:I,externalRefResolver:$,dereference:m=!1}=x,W=f.detectOpenAPI(w.parsed),L=f.openAPIMajor(W),X=N.getRulesForOasVersion(L),ae=l.normalizeTypes(N.extendTypes((I!=null?I:L===f.OasMajorVersion.Version3)?W===F.Version3_1?c.Oas3_1Types:s.Oas3Types:h.Oas2Types,W),N),J=y.initRules(X,N,"preprocessors",W),De=y.initRules(X,N,"decorators",W),Ae={problems:[],oasVersion:W,refTypes:new Map},we=a.normalizeVisitors([...J,{severity:"error",ruleId:"bundler",visitor:S(L,m,w)},...De],ae),ie=yield i.resolveDocument({rootDocument:w,rootType:ae.DefinitionRoot,externalRefResolver:$});return p.walkDocument({document:w,rootType:ae.DefinitionRoot,normalizedVisitors:we,resolvedRefMap:ie,ctx:Ae}),{bundle:w,problems:Ae.problems.map(be=>N.addProblemToIgnore(be)),fileDependencies:$.getFiles(),rootType:ae.DefinitionRoot,refTypes:Ae.refTypes}})}d.bundleDocument=_;function A(x,w){switch(w){case f.OasMajorVersion.Version3:switch(x){case"Schema":return"schemas";case"Parameter":return"parameters";case"Response":return"responses";case"Example":return"examples";case"RequestBody":return"requestBodies";case"Header":return"headers";case"SecuritySchema":return"securitySchemes";case"Link":return"links";case"Callback":return"callbacks";default:return null}case f.OasMajorVersion.Version2:switch(x){case"Schema":return"definitions";case"Parameter":return"parameters";case"Response":return"responses";default:return null}}}function S(x,w,N){let I;const $={ref:{leave(X,ae,J){if(!J.location||J.node===void 0){O.reportUnresolvedRef(J,ae.report,ae.location);return}if(J.location.source===N.source&&J.location.source===ae.location.source&&ae.type.name!=="scalar"&&!w)return;const De=A(ae.type.name,x);De?w?(W(De,J,ae),m(X,J,ae)):X.$ref=W(De,J,ae):m(X,J,ae)}},DefinitionRoot:{enter(X){x===f.OasMajorVersion.Version3?I=X.components=X.components||{}:x===f.OasMajorVersion.Version2&&(I=X)}}};x===f.OasMajorVersion.Version3&&($.DiscriminatorMapping={leave(X,ae){for(const J of Object.keys(X)){const De=X[J],Ae=ae.resolve({$ref:De});if(!Ae.location||Ae.node===void 0){O.reportUnresolvedRef(Ae,ae.report,ae.location.child(J));return}const we=A("Schema",x);w?W(we,Ae,ae):X[J]=W(we,Ae,ae)}}});function m(X,ae,J){v.isPlainObject(ae.node)?(delete X.$ref,Object.assign(X,ae.node)):J.parent[J.key]=ae.node}function W(X,ae,J){I[X]=I[X]||{};const De=L(ae,X,J);return I[X][De]=ae.node,x===f.OasMajorVersion.Version3?`#/components/${X}/${De}`:`#/${X}/${De}`}function L(X,ae,J){const[De,Ae]=[X.location.source.absoluteRef,X.location.pointer],we=I[ae];let ie="";const be=Ae.slice(2).split("/").filter(Boolean);for(;be.length>0;)if(ie=be.pop()+(ie?`-${ie}`:""),!we||!we[ie]||r(we[ie],X.node))return ie;if(ie=g.refBaseName(De)+(ie?`_${ie}`:""),!we[ie]||r(we[ie],X.node))return ie;const re=ie;let te=2;for(;we[ie]&&!r(we[ie],X.node);)ie=`${re}-${te}`,te++;return we[ie]||J.report({message:`Two schemas are referenced with the same name but different content. Renamed ${re} to ${ie}.`,location:J.location,forceSeverity:"warn"}),ie}return $}},76877:(R,d)=>{"use strict";Object.defineProperty(d,"__esModule",{value:!0}),d.default={rules:{"info-description":"error","info-contact":"error","info-license":"error","info-license-url":"error","tag-description":"error","tags-alphabetical":"error","parameter-description":"error","no-identical-paths":"error","no-ambiguous-paths":"error","no-path-trailing-slash":"error","path-segment-plural":"error","path-declaration-must-exist":"error","path-not-include-query":"error","path-parameters-defined":"error","operation-description":"error","operation-2xx-response":"error","operation-4xx-response":"error","operation-operationId":"error","operation-summary":"error","operation-operationId-unique":"error","operation-operationId-url-safe":"error","operation-parameters-unique":"error","operation-tag-defined":"error","operation-security-defined":"error","operation-singular-tag":"error","no-unresolved-refs":"error","no-enum-type-mismatch":"error","boolean-parameter-prefixes":"error","paths-kebab-case":"error","no-http-verbs-in-paths":"error","path-excludes-patterns":{severity:"error",patterns:[]},"request-mime-type":"error",spec:"error"},oas3_0Rules:{"no-invalid-media-type-examples":"error","no-server-example.com":"error","no-server-trailing-slash":"error","no-empty-servers":"error","no-example-value-and-externalValue":"error","no-unused-components":"error","no-undefined-server-variable":"error","no-servers-empty-enum":"error"},oas3_1Rules:{"no-server-example.com":"error","no-server-trailing-slash":"error","no-empty-servers":"error","no-example-value-and-externalValue":"error","no-unused-components":"error","no-undefined-server-variable":"error","no-servers-empty-enum":"error"}}},76242:(R,d,t)=>{"use strict";Object.defineProperty(d,"__esModule",{value:!0}),d.defaultPlugin=d.builtInConfigs=void 0;const o=t(88057),r=t(76877),i=t(59016),a=t(72757);d.builtInConfigs={recommended:o.default,minimal:i.default,all:r.default,"redocly-registry":{decorators:{"registry-dependencies":"on"}}},d.defaultPlugin={id:"",rules:a.rules,preprocessors:a.preprocessors,decorators:a.decorators,configs:d.builtInConfigs}},63777:(R,d,t)=>{"use strict";Object.defineProperty(d,"__esModule",{value:!0}),d.Config=d.LintConfig=d.IGNORE_FILE=void 0;const o=t(15101),r=t(26470),i=t(26470),a=t(9485),s=t(55273),h=t(10771),c=t(71510),l=t(88057);d.IGNORE_FILE=".redocly.lint-ignore.yaml";const p=`# This file instructs Redocly's linter to ignore the rules contained for specific parts of your API.
|
|
8
8
|
# See https://redoc.ly/docs/cli/ for more information.
|
|
@@ -781,7 +781,7 @@ ${h.message}`})}}}});d.TagDescriptionOverride=r},37281:(R,d,t)=>{"use strict";Ob
|
|
|
781
781
|
font-size: 14px;
|
|
782
782
|
line-height: 16px;
|
|
783
783
|
border-radius: ${({theme:y})=>y.shape.borderRadius};
|
|
784
|
-
`},19045:R=>{R.exports={isatty:()=>{}}},76671:(R,d,t)=>{"use strict";t.d(d,{ApiInfo:()=>o.ApiInfo,ApiLogo:()=>o.ApiLogo,ContentItems:()=>o.ContentItems,CrossIcon:()=>o.aM,Dropdown:()=>o.Lt,DropdownOrLabel:()=>o.DropdownOrLabel,DropdownWrapper:()=>o.DropdownWrapper,ErrorBoundary:()=>o.ErrorBoundary,IS_BROWSER:()=>o.IS_BROWSER,JsonPointer:()=>o.JsonPointer,JsonViewer:()=>o.JsonViewer,Loading:()=>o.Loading,LockIcon:()=>o.mB,Markdown:()=>o.Markdown,MediaTypesSwitch:()=>o.MediaTypesSwitch,MenuItem:()=>o.MenuItem,MenuItemLabel:()=>o.MenuItemLabel,MenuItemPath:()=>o.MenuItemPath,MiddlePanel:()=>o.yX,OptionsContext:()=>o.OptionsContext,OptionsProvider:()=>o.OptionsProvider,PayloadSamples:()=>o.PayloadSamples,ResponseDetails:()=>o.ResponseDetails,RightPanel:()=>o.QN,Row:()=>o.X2,SCHEMA_DEFINITION_JSX_NAME:()=>o.SCHEMA_DEFINITION_JSX_NAME,SECURITY_DEFINITIONS_COMPONENT_NAME:()=>o.SECURITY_DEFINITIONS_COMPONENT_NAME,SECURITY_DEFINITIONS_JSX_NAME:()=>o.SECURITY_DEFINITIONS_JSX_NAME,SECURITY_SCHEMES_SECTION_PREFIX:()=>o.SECURITY_SCHEMES_SECTION_PREFIX,SchemaDefinition:()=>o.SchemaDefinition,SecurityDefs:()=>o.SecurityDefs,ShelfIcon:()=>o.xF,SideMenu:()=>o.SideMenu,SourceCodeWithCopy:()=>o.SourceCodeWithCopy,StickyResponsiveSidebar:()=>o.StickyResponsiveSidebar,StoreContext:()=>o.
|
|
784
|
+
`},19045:R=>{R.exports={isatty:()=>{}}},76671:(R,d,t)=>{"use strict";t.d(d,{ApiInfo:()=>o.ApiInfo,ApiLogo:()=>o.ApiLogo,ContentItems:()=>o.ContentItems,CrossIcon:()=>o.aM,Dropdown:()=>o.Lt,DropdownOrLabel:()=>o.DropdownOrLabel,DropdownWrapper:()=>o.DropdownWrapper,ErrorBoundary:()=>o.ErrorBoundary,IS_BROWSER:()=>o.IS_BROWSER,JsonPointer:()=>o.JsonPointer,JsonViewer:()=>o.JsonViewer,Loading:()=>o.Loading,LockIcon:()=>o.mB,Markdown:()=>o.Markdown,MediaTypesSwitch:()=>o.MediaTypesSwitch,MenuItem:()=>o.MenuItem,MenuItemLabel:()=>o.MenuItemLabel,MenuItemPath:()=>o.MenuItemPath,MiddlePanel:()=>o.yX,OptionsContext:()=>o.OptionsContext,OptionsProvider:()=>o.OptionsProvider,PayloadSamples:()=>o.PayloadSamples,ResponseDetails:()=>o.ResponseDetails,RightPanel:()=>o.QN,Row:()=>o.X2,SCHEMA_DEFINITION_JSX_NAME:()=>o.SCHEMA_DEFINITION_JSX_NAME,SECURITY_DEFINITIONS_COMPONENT_NAME:()=>o.SECURITY_DEFINITIONS_COMPONENT_NAME,SECURITY_DEFINITIONS_JSX_NAME:()=>o.SECURITY_DEFINITIONS_JSX_NAME,SECURITY_SCHEMES_SECTION_PREFIX:()=>o.SECURITY_SCHEMES_SECTION_PREFIX,SchemaDefinition:()=>o.SchemaDefinition,SecurityDefs:()=>o.SecurityDefs,ShelfIcon:()=>o.xF,SideMenu:()=>o.SideMenu,SourceCodeWithCopy:()=>o.SourceCodeWithCopy,StickyResponsiveSidebar:()=>o.StickyResponsiveSidebar,StoreContext:()=>o.StoreContext,StoreProvider:()=>o.StoreProvider,ThemeProvider:()=>o.ThemeProvider,Tooltip:()=>o.u,ZERO_BREAKPOINT:()=>o.ZERO_BREAKPOINT,createGlobalStyle:()=>o.createGlobalStyle,createParsedDocument:()=>o.createParsedDocument,css:()=>o.css,flattenByProp:()=>o.flattenByProp,langFromMime:()=>o.langFromMime,loadAndBundleDefinition:()=>o.loadAndBundleDefinition,mediaCSS:()=>o.mediaCSS,mediaMap:()=>o.mediaMap,querySelector:()=>o.querySelector,serializeParameterValue:()=>o.serializeParameterValue,styled:()=>o.zo});var o=t(89642);t.o(o,"GROUP_DEPTH")&&t.d(d,{GROUP_DEPTH:function(){return o.GROUP_DEPTH}}),t.o(o,"MarkerService")&&t.d(d,{MarkerService:function(){return o.MarkerService}}),t.o(o,"RedocNormalizedOptions")&&t.d(d,{RedocNormalizedOptions:function(){return o.RedocNormalizedOptions}}),t.o(o,"ResponseModel")&&t.d(d,{ResponseModel:function(){return o.ResponseModel}}),t.o(o,"ScrollService")&&t.d(d,{ScrollService:function(){return o.ScrollService}}),t.o(o,"SearchStore")&&t.d(d,{SearchStore:function(){return o.SearchStore}}),t.o(o,"SpecStore")&&t.d(d,{SpecStore:function(){return o.SpecStore}}),t.o(o,"argValueToBoolean")&&t.d(d,{argValueToBoolean:function(){return o.argValueToBoolean}})},75614:(R,d,t)=>{"use strict";t.d(d,{z:()=>r});var o=t(23485);const r=o.ZP.div`
|
|
785
785
|
/**
|
|
786
786
|
* Based on prism-dark.css
|
|
787
787
|
*/
|
|
@@ -2039,7 +2039,7 @@ PERFORMANCE OF THIS SOFTWARE.
|
|
|
2039
2039
|
}
|
|
2040
2040
|
`;var Tt=Object.defineProperty,Yt=Object.defineProperties,xr=Object.getOwnPropertyDescriptors,wt=Object.getOwnPropertySymbols,Fr=Object.prototype.hasOwnProperty,lt=Object.prototype.propertyIsEnumerable,wr=(E,C,z)=>C in E?Tt(E,C,{enumerable:!0,configurable:!0,writable:!0,value:z}):E[C]=z,Ar=(E,C)=>{for(var z in C||(C={}))Fr.call(C,z)&&wr(E,z,C[z]);if(wt)for(var z of wt(C))lt.call(C,z)&&wr(E,z,C[z]);return E},pn=(E,C)=>Yt(E,xr(C)),qr=(E,C)=>{var z={};for(var xe in E)Fr.call(E,xe)&&C.indexOf(xe)<0&&(z[xe]=E[xe]);if(E!=null&&wt)for(var xe of wt(E))C.indexOf(xe)<0&<.call(E,xe)&&(z[xe]=E[xe]);return z};const kn=a.ZP.div`
|
|
2041
2041
|
padding-left: ${({theme:E})=>E.spacing.unit*2}px;
|
|
2042
|
-
`;function qn(E){var C=E,{schema:z,schema:{minItems:xe,maxItems:Be,items:Ct}}=C,zt=qr(C,["schema","schema"]);const mr=xe===void 0&&Be===void 0?"":`(${(0,qt.V_)(z)})`;return z.displayType&&!Ct&&!mr.length?r.createElement("div",null,r.createElement(H,null,z.displayType)):r.createElement("div",null,r.createElement(i.B$,null," Array ",mr),r.createElement(kn,null,r.createElement(Zn,pn(Ar({},zt),{schema:Ct}))),r.createElement(i.oo,null))}const Fe=r.memo(qn);var ht=Object.defineProperty,Ft=Object.getOwnPropertyDescriptor,hr=(E,C,z)=>C in E?ht(E,C,{enumerable:!0,configurable:!0,writable:!0,value:z}):E[C]=z,xn=(E,C,z,xe)=>{for(var Be=xe>1?void 0:xe?Ft(C,z):C,Ct=E.length-1,zt;Ct>=0;Ct--)(zt=E[Ct])&&(Be=(xe?zt(C,z,Be):zt(Be))||Be);return xe&&Be&&ht(C,z,Be),Be},zr=(E,C,z)=>(hr(E,typeof C!="symbol"?C+"":C,z),z);let _n=class extends r.Component{constructor(){super(...arguments);zr(this,"changeActiveChild",E=>{this.props.parent.activateOneOf(E.idx)})}sortOptions(E,C){if(C.length===0)return;const z={};C.forEach((xe,Be)=>{z[xe]=Be}),E.sort((xe,Be)=>z[xe.value]>z[Be.value]?1:-1)}render(){const{parent:E,enumValues:C}=this.props;if(E.oneOf===void 0)return null;const z=E.oneOf.map((Be,Ct)=>({value:Be.title,idx:Ct})),xe=z[E.activeOneOf].value;return this.sortOptions(z,C),r.createElement(er.Lt,{dense:!0,value:xe,options:z,onChange:this.changeActiveChild,ariaLabel:"Example"})}};_n=xn([o.Pi],_n);var Bn=Object.defineProperty,Nn=Object.getOwnPropertyDescriptor,Mr=(E,C,z)=>C in E?Bn(E,C,{enumerable:!0,configurable:!0,writable:!0,value:z}):E[C]=z,gn=(E,C,z,xe)=>{for(var Be=xe>1?void 0:xe?Nn(C,z):C,Ct=E.length-1,zt;Ct>=0;Ct--)(zt=E[Ct])&&(Be=(xe?zt(C,z,Be):zt(Be))||Be);return xe&&Be&&Bn(C,z,Be),Be},li=(E,C,z)=>(Mr(E,typeof C!="symbol"?C+"":C,z),z);let pe=class extends r.Component{get parentSchema(){return this.props.discriminator.parentSchema}render(){const{schema:{fields:E=[]},showTitle:C,discriminator:z,level:xe}=this.props,Ct=this.props.skipReadOnly||this.props.skipWriteOnly?E.filter(mr=>!(this.props.skipReadOnly&&mr.schema.readOnly||this.props.skipWriteOnly&&mr.schema.writeOnly)):E,zt=this.context.expandSingleSchemaField&&Ct.length===1||this.context.schemaExpansionLevel>=xe;return r.createElement(Ve.rp,null,r.createElement(Ve.VK,null,C&&r.createElement(Ve.$I,null,this.props.schema.title),r.createElement("tbody",null,(0,qt.jW)(Ct,(mr,Cr)=>r.createElement(Oo,{key:mr.name,isLast:Cr,field:mr,expandByDefault:zt,renderDiscriminatorSwitch:z&&z.fieldName===mr.name&&(()=>r.createElement(_n,{parent:this.parentSchema,enumValues:mr.schema.enum}))||void 0,className:mr.expanded?"expanded":void 0,showExamples:!1,skipReadOnly:this.props.skipReadOnly,skipWriteOnly:this.props.skipWriteOnly,showTitle:this.props.showTitle,level:this.props.level})))))}};li(pe,"contextType",v.jI),pe=gn([o.Pi],pe);var Re=t(66032),qe=Object.defineProperty,St=Object.defineProperties,Ht=Object.getOwnPropertyDescriptors,rr=Object.getOwnPropertySymbols,sr=Object.prototype.hasOwnProperty,K=Object.prototype.propertyIsEnumerable,ne=(E,C,z)=>C in E?qe(E,C,{enumerable:!0,configurable:!0,writable:!0,value:z}):E[C]=z,Te=(E,C)=>{for(var z in C||(C={}))sr.call(C,z)&&ne(E,z,C[z]);if(rr)for(var z of rr(C))K.call(C,z)&&ne(E,z,C[z]);return E},st=(E,C)=>St(E,Ht(C)),Lt=(E,C)=>{var z={};for(var xe in E)sr.call(E,xe)&&C.indexOf(xe)<0&&(z[xe]=E[xe]);if(E!=null&&rr)for(var xe of rr(E))C.indexOf(xe)<0&&K.call(E,xe)&&(z[xe]=E[xe]);return z};const dr=(0,o.Pi)(E=>{var C=E,{schema:{oneOf:z},schema:xe}=C,Be=Lt(C,["schema","schema"]);if(z===void 0)return null;const{hideOneOfDescription:Ct}=r.useContext(v.jI),zt=z[xe.activeOneOf];return r.createElement("div",null,r.createElement(Re.im,null,r.createElement("span",null,xe.oneOfType,":"),r.createElement(Re.O1,null,z.map((mr,Cr)=>r.createElement(Re.aY,{key:mr.pointer,active:Cr===xe.activeOneOf,onClick:()=>xe.activateOneOf(Cr)},mr.title||mr.typePrefix+mr.displayType)))),!Ct&&zt.description&&r.createElement(
|
|
2042
|
+
`;function qn(E){var C=E,{schema:z,schema:{minItems:xe,maxItems:Be,items:Ct}}=C,zt=qr(C,["schema","schema"]);const mr=xe===void 0&&Be===void 0?"":`(${(0,qt.V_)(z)})`;return z.displayType&&!Ct&&!mr.length?r.createElement("div",null,r.createElement(H,null,z.displayType)):r.createElement("div",null,r.createElement(i.B$,null," Array ",mr),r.createElement(kn,null,r.createElement(Zn,pn(Ar({},zt),{schema:Ct}))),r.createElement(i.oo,null))}const Fe=r.memo(qn);var ht=Object.defineProperty,Ft=Object.getOwnPropertyDescriptor,hr=(E,C,z)=>C in E?ht(E,C,{enumerable:!0,configurable:!0,writable:!0,value:z}):E[C]=z,xn=(E,C,z,xe)=>{for(var Be=xe>1?void 0:xe?Ft(C,z):C,Ct=E.length-1,zt;Ct>=0;Ct--)(zt=E[Ct])&&(Be=(xe?zt(C,z,Be):zt(Be))||Be);return xe&&Be&&ht(C,z,Be),Be},zr=(E,C,z)=>(hr(E,typeof C!="symbol"?C+"":C,z),z);let _n=class extends r.Component{constructor(){super(...arguments);zr(this,"changeActiveChild",E=>{this.props.parent.activateOneOf(E.idx)})}sortOptions(E,C){if(C.length===0)return;const z={};C.forEach((xe,Be)=>{z[xe]=Be}),E.sort((xe,Be)=>z[xe.value]>z[Be.value]?1:-1)}render(){const{parent:E,enumValues:C}=this.props;if(E.oneOf===void 0)return null;const z=E.oneOf.map((Be,Ct)=>({value:Be.title,idx:Ct})),xe=z[E.activeOneOf].value;return this.sortOptions(z,C),r.createElement(er.Lt,{dense:!0,value:xe,options:z,onChange:this.changeActiveChild,ariaLabel:"Example"})}};_n=xn([o.Pi],_n);var Bn=Object.defineProperty,Nn=Object.getOwnPropertyDescriptor,Mr=(E,C,z)=>C in E?Bn(E,C,{enumerable:!0,configurable:!0,writable:!0,value:z}):E[C]=z,gn=(E,C,z,xe)=>{for(var Be=xe>1?void 0:xe?Nn(C,z):C,Ct=E.length-1,zt;Ct>=0;Ct--)(zt=E[Ct])&&(Be=(xe?zt(C,z,Be):zt(Be))||Be);return xe&&Be&&Bn(C,z,Be),Be},li=(E,C,z)=>(Mr(E,typeof C!="symbol"?C+"":C,z),z);let pe=class extends r.Component{get parentSchema(){return this.props.discriminator.parentSchema}render(){const{schema:{fields:E=[]},showTitle:C,discriminator:z,level:xe}=this.props,Ct=this.props.skipReadOnly||this.props.skipWriteOnly?E.filter(mr=>!(this.props.skipReadOnly&&mr.schema.readOnly||this.props.skipWriteOnly&&mr.schema.writeOnly)):E,zt=this.context.expandSingleSchemaField&&Ct.length===1||this.context.schemaExpansionLevel>=xe;return r.createElement(Ve.rp,null,r.createElement(Ve.VK,null,C&&r.createElement(Ve.$I,null,this.props.schema.title),r.createElement("tbody",null,(0,qt.jW)(Ct,(mr,Cr)=>r.createElement(Oo,{key:mr.name,isLast:Cr,field:mr,expandByDefault:zt,renderDiscriminatorSwitch:z&&z.fieldName===mr.name&&(()=>r.createElement(_n,{parent:this.parentSchema,enumValues:mr.schema.enum}))||void 0,className:mr.expanded?"expanded":void 0,showExamples:!1,skipReadOnly:this.props.skipReadOnly,skipWriteOnly:this.props.skipWriteOnly,showTitle:this.props.showTitle,level:this.props.level})))))}};li(pe,"contextType",v.jI),pe=gn([o.Pi],pe);var Re=t(66032),qe=Object.defineProperty,St=Object.defineProperties,Ht=Object.getOwnPropertyDescriptors,rr=Object.getOwnPropertySymbols,sr=Object.prototype.hasOwnProperty,K=Object.prototype.propertyIsEnumerable,ne=(E,C,z)=>C in E?qe(E,C,{enumerable:!0,configurable:!0,writable:!0,value:z}):E[C]=z,Te=(E,C)=>{for(var z in C||(C={}))sr.call(C,z)&&ne(E,z,C[z]);if(rr)for(var z of rr(C))K.call(C,z)&&ne(E,z,C[z]);return E},st=(E,C)=>St(E,Ht(C)),Lt=(E,C)=>{var z={};for(var xe in E)sr.call(E,xe)&&C.indexOf(xe)<0&&(z[xe]=E[xe]);if(E!=null&&rr)for(var xe of rr(E))C.indexOf(xe)<0&&K.call(E,xe)&&(z[xe]=E[xe]);return z};const dr=(0,o.Pi)(E=>{var C=E,{schema:{oneOf:z},schema:xe}=C,Be=Lt(C,["schema","schema"]);if(z===void 0)return null;const{hideOneOfDescription:Ct}=r.useContext(v.jI),zt=z[xe.activeOneOf];return r.createElement("div",null,r.createElement(Re.im,null,r.createElement("span",null,xe.oneOfType,":"),r.createElement(Re.O1,null,z.map((mr,Cr)=>r.createElement(Re.aY,{key:mr.pointer,active:Cr===xe.activeOneOf,onClick:()=>xe.activateOneOf(Cr)},mr.title||mr.typePrefix+mr.displayType)))),!Ct&&zt.description&&r.createElement(Ae,{compact:!0,source:zt.description}),r.createElement(Zn,st(Te({},Be),{schema:zt})))});var Sr=Object.defineProperty,_r=Object.defineProperties,tn=Object.getOwnPropertyDescriptors,fn=Object.getOwnPropertySymbols,Dn=Object.prototype.hasOwnProperty,yn=Object.prototype.propertyIsEnumerable,Vn=(E,C,z)=>C in E?Sr(E,C,{enumerable:!0,configurable:!0,writable:!0,value:z}):E[C]=z,gi=(E,C)=>{for(var z in C||(C={}))Dn.call(C,z)&&Vn(E,z,C[z]);if(fn)for(var z of fn(C))yn.call(C,z)&&Vn(E,z,C[z]);return E},pi=(E,C)=>_r(E,tn(C)),ui=(E,C)=>{var z={};for(var xe in E)Dn.call(E,xe)&&C.indexOf(xe)<0&&(z[xe]=E[xe]);if(E!=null&&fn)for(var xe of fn(E))C.indexOf(xe)<0&&yn.call(E,xe)&&(z[xe]=E[xe]);return z};const Zn=(0,o.Pi)(E=>{var C=E,{schema:z}=C,xe=ui(C,["schema"]),Be;if(!z)return r.createElement("em",null," Schema not provided ");const{type:Ct,oneOf:zt,discriminatorProp:mr,isCircular:Cr}=z,Sn=(xe.level||0)+1;if(Cr)return r.createElement("div",null,r.createElement(H,null,z.displayType),z.title&&r.createElement(j,null," ",z.title," "),r.createElement(fe,null," ",(0,ue.l)("recursive")," "));if(mr!==void 0)return!zt||!zt.length?(console.warn(`Looks like you are using discriminator wrong: you don't have any definition inherited from the ${z.title}`),null):r.createElement(pe,pi(gi({},xe),{level:Sn,schema:zt[z.activeOneOf],discriminator:{fieldName:mr,parentSchema:z}}));if(zt!==void 0)return r.createElement(dr,pi(gi({},xe),{schema:z}));const Xr=Array.isArray(Ct)?Ct:[Ct];if(Xr.includes("object")){if((Be=z.fields)==null?void 0:Be.length)return r.createElement(pe,pi(gi({},xe),{level:Sn,schema:z}))}else if(Xr.includes("array"))return r.createElement(Fe,pi(gi({},xe),{level:Sn,schema:z}));const Gn={schema:z,name:"",required:!1,description:z.description,externalDocs:z.externalDocs,deprecated:!1,toggle:()=>null,expanded:!1};return r.createElement("div",null,r.createElement(cn,{field:Gn}))});var zi=Object.defineProperty,$o=Object.getOwnPropertyDescriptor,Fo=Object.getOwnPropertySymbols,Ca=Object.prototype.hasOwnProperty,Aa=Object.prototype.propertyIsEnumerable,na=(E,C,z)=>C in E?zi(E,C,{enumerable:!0,configurable:!0,writable:!0,value:z}):E[C]=z,is=(E,C)=>{for(var z in C||(C={}))Ca.call(C,z)&&na(E,z,C[z]);if(Fo)for(var z of Fo(C))Aa.call(C,z)&&na(E,z,C[z]);return E},os=(E,C,z,xe)=>{for(var Be=xe>1?void 0:xe?$o(C,z):C,Ct=E.length-1,zt;Ct>=0;Ct--)(zt=E[Ct])&&(Be=(xe?zt(C,z,Be):zt(Be))||Be);return xe&&Be&&zi(C,z,Be),Be},ia=(E,C,z)=>(na(E,typeof C!="symbol"?C+"":C,z),z);let Oo=class extends r.Component{constructor(){super(...arguments);ia(this,"toggle",()=>{this.props.field.expanded===void 0&&this.props.expandByDefault?this.props.field.collapse():this.props.field.toggle()}),ia(this,"handleKeyPress",E=>{E.key==="Enter"&&(E.preventDefault(),this.toggle())})}render(){const{className:E="",field:C,isLast:z,expandByDefault:xe}=this.props,{name:Be,deprecated:Ct,required:zt,kind:mr}=C,Cr=!C.schema.isPrimitive&&!C.schema.isCircular,Sn=C.expanded===void 0?xe:C.expanded,Xr=Cr?r.createElement(bt,{className:Ct?"deprecated":"",kind:mr,title:Be},r.createElement("button",{onClick:this.toggle,onKeyPress:this.handleKeyPress,"aria-label":"expand properties"},r.createElement("span",{className:"field-name"},this.context.disableDeepLinks?null:r.createElement(it,{field:C}),Be),r.createElement(i.xF,{direction:Sn?"down":"right"})),zt&&r.createElement(me,null," required ")):r.createElement(Ve.xK,{className:Ct?"deprecated":void 0,kind:mr,title:Be},r.createElement("span",{className:"field-name"},this.context.disableDeepLinks?null:r.createElement(it,{field:C}),Be),zt&&r.createElement(me,null," required "));return r.createElement(r.Fragment,null,r.createElement("tr",{className:z?"last "+E:E},Xr,r.createElement(Ve.L_,null,r.createElement(cn,is({},this.props)))),Sn&&Cr&&r.createElement("tr",{key:C.name+"inner"},r.createElement(Ve.E0,{colSpan:2},r.createElement(Ve.T_,null,r.createElement(Zn,{schema:C.schema,skipReadOnly:this.props.skipReadOnly,skipWriteOnly:this.props.skipWriteOnly,showTitle:this.props.showTitle,level:this.props.level})))))}};ia(Oo,"contextType",v.jI),Oo=os([o.Pi],Oo);class Ko extends r.PureComponent{render(){const{place:C,parameters:z}=this.props;return!z||!z.length?null:r.createElement(oa,{key:C},r.createElement(i.TG,null,C," Parameters"),r.createElement(Ve.rp,null,r.createElement(Ve.VK,null,r.createElement("tbody",null,(0,qt.jW)(z,(xe,Be)=>r.createElement(Oo,{key:xe.name,isLast:Be,field:xe,showExamples:!0}))))))}}const oa=a.ZP.div`
|
|
2043
2043
|
margin: 20px 0 0 0;
|
|
2044
2044
|
padding-bottom: 20px;
|
|
2045
2045
|
border-bottom: 1px solid ${({theme:E})=>E.colors.border.light};
|
|
@@ -2561,7 +2561,7 @@ PERFORMANCE OF THIS SOFTWARE.
|
|
|
2561
2561
|
display: none;
|
|
2562
2562
|
}
|
|
2563
2563
|
`}
|
|
2564
|
-
`;let Ps=class extends r.Component{constructor(){super(...arguments);Ys(this,"state",{offsetTop:"0px"}),Ys(this,"stickyElement"),Ys(this,"toggleNavMenu",()=>{this.props.menu.toggleSidebar()})}componentDidMount(){Za&&Za.add(this.stickyElement),this.setState({offsetTop:this.getScrollYOffset(this.context)})}componentWillUnmount(){Za&&Za.remove(this.stickyElement)}getScrollYOffset(E){let C;return this.props.scrollYOffset!==void 0?C=El.V.normalizeScrollYOffset(this.props.scrollYOffset)():C=E.scrollYOffset(),C+"px"}render(){const E=this.props.menu.sideBarOpened,C=this.state.offsetTop;return r.createElement(r.Fragment,null,r.createElement(wl,{open:E,className:this.props.className,style:{top:C,height:`calc(100vh - ${C})`},ref:z=>{this.stickyElement=z}},this.props.children),r.createElement(wu,{onClick:this.toggleNavMenu},r.createElement(ru,{open:E})))}};Ys(Ps,"contextType",v.jI),Ps=ws([o.Pi],Ps);var au=Object.defineProperty,Pu=(E,C,z)=>C in E?au(E,C,{enumerable:!0,configurable:!0,writable:!0,value:z}):E[C]=z,su=(E,C,z)=>(Pu(E,typeof C!="symbol"?C+"":C,z),z);class Pl extends r.PureComponent{constructor(){super(...arguments);su(this,"_mediaModel")}static getMediaType(C,z){if(!C)return{};const xe={schema:{$ref:C}};return z&&(xe.examples={example:{$ref:z}}),xe}get mediaModel(){const{parser:C,schemaRef:z,exampleRef:xe,options:Be}=this.props;return this._mediaModel||(this._mediaModel=new g.MediaTypeModel(C,"json",!1,Pl.getMediaType(z,xe),Be)),this._mediaModel}render(){const{showReadOnly:C=!0,showWriteOnly:z=!1,layout:xe,showRightPanel:Be}=this.props;return r.createElement(i.$0,null,r.createElement(i.X2,{layout:xe},r.createElement(i.yX,{isStacked:xe===Gt.N.STACKED},r.createElement(vt.i6,null,r.createElement(Zn,{skipWriteOnly:!z,skipReadOnly:!C,schema:this.mediaModel.schema}))),Be?r.createElement(i.QN,null,r.createElement(vt.s$,null,r.createElement(Jo,{mediaType:this.mediaModel}))):null))}}},89642:(R,d,t)=>{"use strict";t.d(d,{ApiInfo:()=>o.RJ,ApiLogo:()=>o.vp,ContentItems:()=>o.Xn,DropdownOrLabel:()=>o.Cv,DropdownWrapper:()=>o.Z_,ErrorBoundary:()=>o.SV,JsonViewer:()=>o.he,Loading:()=>o.gb,Markdown:()=>o.UG,MediaTypesSwitch:()=>o.d4,MenuItem:()=>o.sN,MenuItemLabel:()=>o.i_,MenuItemPath:()=>o.E7,OptionsContext:()=>o.jI,OptionsProvider:()=>o.fM,PayloadSamples:()=>o.UY,ResponseDetails:()=>o.Tj,SchemaDefinition:()=>o.vG,SecurityDefs:()=>o.Bv,SideMenu:()=>o.fv,SourceCodeWithCopy:()=>o.yA,StickyResponsiveSidebar:()=>o.up,xf:()=>o.xf,g3:()=>o.g3,yX:()=>r.yX,X2:()=>r.X2,QN:()=>r.QN,Lt:()=>r.Lt,xF:()=>r.xF,mB:()=>r.mB,aM:()=>r.aM,u:()=>r.u,GROUP_DEPTH:()=>i.GROUP_DEPTH,MarkerService:()=>i.MarkerService,RedocNormalizedOptions:()=>i.RedocNormalizedOptions,ResponseModel:()=>i.ResponseModel,ScrollService:()=>i.ScrollService,SearchStore:()=>i.Z,SpecStore:()=>i.SpecStore,argValueToBoolean:()=>i.argValueToBoolean,IS_BROWSER:()=>a.Qg,JsonPointer:()=>a.IB,SCHEMA_DEFINITION_JSX_NAME:()=>a.Ml,SECURITY_DEFINITIONS_COMPONENT_NAME:()=>a.B5,SECURITY_DEFINITIONS_JSX_NAME:()=>a.c7,SECURITY_SCHEMES_SECTION_PREFIX:()=>a.m$,createParsedDocument:()=>a.I2,flattenByProp:()=>a.PD,isOperationName:()=>a.eU,langFromMime:()=>a.M,loadAndBundleDefinition:()=>a.q2,querySelector:()=>a.R2,serializeParameterValue:()=>a.d$,ThemeProvider:()=>s.f6,ZERO_BREAKPOINT:()=>s.QU,createGlobalStyle:()=>s.vJ,css:()=>s.iv,mediaCSS:()=>s.QG,mediaMap:()=>s.gN,zo:()=>s.ZP});var o=t(38314),r=t(68069),i=t(99303);t.o(i,"IS_BROWSER")&&t.d(d,{IS_BROWSER:function(){return i.IS_BROWSER}}),t.o(i,"JsonPointer")&&t.d(d,{JsonPointer:function(){return i.JsonPointer}}),t.o(i,"SCHEMA_DEFINITION_JSX_NAME")&&t.d(d,{SCHEMA_DEFINITION_JSX_NAME:function(){return i.SCHEMA_DEFINITION_JSX_NAME}}),t.o(i,"SECURITY_DEFINITIONS_COMPONENT_NAME")&&t.d(d,{SECURITY_DEFINITIONS_COMPONENT_NAME:function(){return i.SECURITY_DEFINITIONS_COMPONENT_NAME}}),t.o(i,"SECURITY_DEFINITIONS_JSX_NAME")&&t.d(d,{SECURITY_DEFINITIONS_JSX_NAME:function(){return i.SECURITY_DEFINITIONS_JSX_NAME}}),t.o(i,"SECURITY_SCHEMES_SECTION_PREFIX")&&t.d(d,{SECURITY_SCHEMES_SECTION_PREFIX:function(){return i.SECURITY_SCHEMES_SECTION_PREFIX}}),t.o(i,"ThemeProvider")&&t.d(d,{ThemeProvider:function(){return i.ThemeProvider}}),t.o(i,"ZERO_BREAKPOINT")&&t.d(d,{ZERO_BREAKPOINT:function(){return i.ZERO_BREAKPOINT}}),t.o(i,"createGlobalStyle")&&t.d(d,{createGlobalStyle:function(){return i.createGlobalStyle}}),t.o(i,"createParsedDocument")&&t.d(d,{createParsedDocument:function(){return i.createParsedDocument}}),t.o(i,"css")&&t.d(d,{css:function(){return i.css}}),t.o(i,"flattenByProp")&&t.d(d,{flattenByProp:function(){return i.flattenByProp}}),t.o(i,"isOperationName")&&t.d(d,{isOperationName:function(){return i.isOperationName}}),t.o(i,"langFromMime")&&t.d(d,{langFromMime:function(){return i.langFromMime}}),t.o(i,"loadAndBundleDefinition")&&t.d(d,{loadAndBundleDefinition:function(){return i.loadAndBundleDefinition}}),t.o(i,"mediaCSS")&&t.d(d,{mediaCSS:function(){return i.mediaCSS}}),t.o(i,"mediaMap")&&t.d(d,{mediaMap:function(){return i.mediaMap}}),t.o(i,"querySelector")&&t.d(d,{querySelector:function(){return i.querySelector}}),t.o(i,"serializeParameterValue")&&t.d(d,{serializeParameterValue:function(){return i.serializeParameterValue}});var a=t(36038),s=t(23485)},23424:(R,d,t)=>{"use strict";t.d(d,{Y:()=>r});const o=typeof document!="undefined"&&document.queryCommandSupported&&document.queryCommandSupported("copy");class r{static isSupported(){return o}static selectElement(a){let s,h;document.body.createTextRange?(s=document.body.createTextRange(),s.moveToElementText(a),s.select()):document.createRange&&window.getSelection&&(h=window.getSelection(),s=document.createRange(),s.selectNodeContents(a),h.removeAllRanges(),h.addRange(s))}static deselect(){if(document.selection)document.selection.empty();else if(window.getSelection){const a=window.getSelection();a&&a.removeAllRanges()}}static copySelected(){let a;try{a=document.execCommand("copy")}catch(s){a=!1}return a}static copyElement(a){r.selectElement(a);const s=r.copySelected();return s&&r.deselect(),s}static copyCustom(a){const s=document.createElement("textarea");s.style.position="fixed",s.style.top="0",s.style.left="0",s.style.width="2em",s.style.height="2em",s.style.padding="0",s.style.border="none",s.style.outline="none",s.style.boxShadow="none",s.style.background="transparent",s.value=a,document.body.appendChild(s),s.select();const h=r.copySelected();return document.body.removeChild(s),h}}},94487:(R,d,t)=>{"use strict";t.d(d,{m:()=>O});var o=t(11851),r=t.n(o),i=t(26729),a=t.n(i),s=t(36038),h=Object.defineProperty,c=Object.getOwnPropertyDescriptor,l=(v,F,T)=>F in v?h(v,F,{enumerable:!0,configurable:!0,writable:!0,value:T}):v[F]=T,p=(v,F,T,_)=>{for(var A=_>1?void 0:_?c(F,T):F,S=v.length-1,x;S>=0;S--)(x=v[S])&&(A=(_?x(F,T,A):x(A))||A);return _&&A&&h(F,T,A),A},f=(v,F,T)=>(l(v,typeof F!="symbol"?F+"":F,T),T);const g="hashchange";class y{constructor(){f(this,"_emiter"),f(this,"basePath"),f(this,"emit",()=>{this._emiter.emit(g,this.currentId)}),this._emiter=new i.EventEmitter,this.bind()}get currentId(){return s.Qg?decodeURIComponent(window.location.hash.substring(1)):""}linkForId(F){return F?"#"+F:""}generateDeepLink(F,T){return""}subscribe(F){const T=this._emiter.addListener(g,F);return()=>T.removeListener(g,F)}bind(){s.Qg&&window.addEventListener("hashchange",this.emit,!1)}dispose(){s.Qg&&window.removeEventListener("hashchange",this.emit)}replace(F,T=!1){if(!!s.Qg&&!(F==null||F===this.currentId)){if(T){window.history.replaceState(null,"",window.location.href.split("#")[0]+this.linkForId(F));return}window.history.pushState(null,"",window.location.href.split("#")[0]+this.linkForId(F)),this.emit()}}replaceForField(F,T=!1){}}p([o.bind,o.debounce],y.prototype,"replace",1),p([o.bind,o.debounce],y.prototype,"replaceForField",1);const O=new y},51027:(R,d,t)=>{"use strict";t.d(d,{W:()=>r,l:()=>i});const o={enum:"Enum",enumSingleValue:"Value",enumArray:"Items",default:"Default",deprecated:"Deprecated",example:"Example",examples:"Examples",recursive:"Recursive",arrayOf:"Array of ",webhook:"Event",const:"Value",authorizations:"Security",tryItBody:"Body",tryItParameters:"Parameters",tryItAuth:"Security",tryItAuthBasicUsername:"Username",tryItAuthBasicPassword:"Password",download:"Download",downloadSpecification:"Download OpenAPI specification",request:"Request",responses:"Responses",callbackResponses:"Callback responses",callbacks:"Callbacks",requestSamples:"Request samples",responseSamples:"Response samples"};function r(a){Object.assign(o,a)}function i(a,s){const h=o[a];return s!==void 0?h[s]:h}},21190:(R,d,t)=>{"use strict";t.d(d,{B2:()=>A,$8:()=>S});var o=t(47084),r=t.n(o),i=t(36038),a=Object.defineProperty,s=Object.defineProperties,h=Object.getOwnPropertyDescriptors,c=Object.getOwnPropertySymbols,l=Object.prototype.hasOwnProperty,p=Object.prototype.propertyIsEnumerable,f=(w,N,I)=>N in w?a(w,N,{enumerable:!0,configurable:!0,writable:!0,value:I}):w[N]=I,g=(w,N)=>{for(var I in N||(N={}))l.call(N,I)&&f(w,I,N[I]);if(c)for(var I of c(N))p.call(N,I)&&f(w,I,N[I]);return w},y=(w,N)=>s(w,h(N)),O=(w,N,I)=>(f(w,typeof N!="symbol"?N+"":N,I),I);const v=new(r()).Renderer;r().setOptions({renderer:v,highlight:(w,N)=>(0,i.CH)(w,N)});const F="^ {0,3}<!-- ReDoc-Inject:\\s+?<({component}).*?/?>\\s+?-->\\s*$",T="(?:^ {0,3}<({component})([\\s\\S]*?)>([\\s\\S]*?)</\\2>|^ {0,3}<({component})([\\s\\S]*?)(?:/>|\\n{2,}))",_="(?:"+F+"|"+T+")";function A(w){return`<!-- ReDoc-Inject: <${w}> -->`}class S{constructor(N){this.options=N,O(this,"headings",[]),O(this,"currentTopHeading"),O(this,"headingEnhanceRenderer"),O(this,"originalHeadingRule"),O(this,"parser"),O(this,"headingRule",(I,$,m,W)=>{var L,X;return $===1?this.currentTopHeading=this.saveHeading(I,$):$===2&&this.saveHeading(I,$,(L=this.currentTopHeading)==null?void 0:L.items,(X=this.currentTopHeading)==null?void 0:X.id),this.originalHeadingRule(I,$,m,W)}),this.headingEnhanceRenderer=new(r()).Renderer,this.parser=new(r()).Parser,this.originalHeadingRule=this.headingEnhanceRenderer.heading.bind(this.headingEnhanceRenderer),this.headingEnhanceRenderer.heading=this.headingRule}static containsComponent(N,I){return new RegExp(_.replace(/{component}/g,I),"gmi").test(N)}static getTextBeforeHading(N,I){const $=N.search(new RegExp(`^(>\\s+##|##)?\\s+${I}`,"m"));return $>-1?N.substring(0,$):N}saveHeading(N,I,$=this.headings,m){N=(0,i.Lf)(N);const W={id:m?`${m}/${(0,i.bO)(N)}`:`section/${(0,i.bO)(N)}`,name:N,level:I,items:[]};return $.push(W),W}flattenHeadings(N){if(N===void 0)return[];const I=[];for(const $ of N)I.push($),I.push(...this.flattenHeadings($.items));return I}attachHeadingsDescriptions(N){const I=X=>new RegExp(`##?\\s+${X.name.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&")}`),$=this.flattenHeadings(this.headings);if($.length<1)return;let m=$[0],W=I(m),L=N.search(W);for(let X=1;X<$.length;X++){const ae=$[X],J=I(ae),De=N.substr(L+1).search(J)+L+1;m.description=N.substring(L,De).replace(W,"").trim(),m=ae,W=J,L=De}m.description=N.substring(L).replace(W,"").trim()}renderMd(N,I=!1){const $=I?{renderer:this.headingEnhanceRenderer}:void 0;return r()(N.toString(),$)}extractHeadings(N){this.renderMd(N,!0),this.attachHeadingsDescriptions(N);const I=this.headings;return this.headings=[],I}renderMdWithComponents(N){const I=this.options&&this.options.allowedMdComponents;if(!I||Object.keys(I).length===0)return[this.renderMd(N)];const $=Object.keys(I).join("|"),m=new RegExp(_.replace(/{component}/g,$),"mig"),W=[],L=[];let X=m.exec(N),ae=0;for(;X;){W.push(N.substring(ae,X.index)),ae=m.lastIndex;const De=X[1]||X[2]||X[5],Ae=I[De],we=X[3]||X[6],ie=X[4];Ae&&L.push({component:Ae.component,propsSelector:Ae.propsSelector,props:y(g(g({},x(we)),Ae.props),{children:ie})}),X=m.exec(N)}W.push(N.substring(ae));const J=[];for(let De=0;De<W.length;De++){const Ae=W[De];Ae&&J.push(this.renderMd(Ae)),L[De]&&J.push(L[De])}return J}}function x(w){if(!w)return{};const N=/([\w-]+)\s*=\s*(?:{([^}]+?)}|"([^"]+?)")/gim,I={};let $;for(;($=N.exec(w))!==null;)if($[3])I[$[1]]=$[3];else if($[2]){let m;try{m=JSON.parse($[2])}catch(W){}I[$[1]]=m}return I}},57180:(R,d,t)=>{"use strict";t.d(d,{u:()=>h});var o=t(813),r=t.n(o),i=Object.defineProperty,a=(c,l,p)=>l in c?i(c,l,{enumerable:!0,configurable:!0,writable:!0,value:p}):c[l]=p,s=(c,l,p)=>(a(c,typeof l!="symbol"?l+"":l,p),p);class h{constructor(){s(this,"map",new Map),s(this,"prevTerm","")}add(l){this.map.set(l,new(r())(l))}delete(l){this.map.delete(l)}addOnly(l){this.map.forEach((p,f)=>{l.indexOf(f)===-1&&(p.unmark(),this.map.delete(f))});for(const p of l)this.map.has(p)||this.map.set(p,new(r())(p))}clearAll(){this.unmark(),this.map.clear()}mark(l){!l&&!this.prevTerm||(this.map.forEach(p=>{p.unmark(),p.mark(l||this.prevTerm)}),this.prevTerm=l||this.prevTerm)}unmark(){this.map.forEach(l=>l.unmark()),this.prevTerm=""}}},34405:(R,d,t)=>{"use strict";t.d(d,{t:()=>O,r:()=>v});var o=t(36038),r=t(21190),i=t(5062),a=Object.defineProperty,s=Object.defineProperties,h=Object.getOwnPropertyDescriptors,c=Object.getOwnPropertySymbols,l=Object.prototype.hasOwnProperty,p=Object.prototype.propertyIsEnumerable,f=(F,T,_)=>T in F?a(F,T,{enumerable:!0,configurable:!0,writable:!0,value:_}):F[T]=_,g=(F,T)=>{for(var _ in T||(T={}))l.call(T,_)&&f(F,_,T[_]);if(c)for(var _ of c(T))p.call(T,_)&&f(F,_,T[_]);return F},y=(F,T)=>s(F,h(T));const O=0;class v{static buildStructure(T,_){const A=T.definition,S=[],x=v.getTagsWithOperations(T);return S.push(...v.addMarkdownItems(A.info.description||"",void 0,1,_)),A["x-tagGroups"]&&A["x-tagGroups"].length>0?S.push(...v.getTagGroupsItems(T,void 0,A["x-tagGroups"],x,_)):S.push(...v.getTagsItems(T,x,void 0,void 0,_)),S}static addMarkdownItems(T,_,A,S){const w=new r.$8(S).extractHeadings(T||"");w.length&&_&&_.description&&(_.description=r.$8.getTextBeforeHading(_.description,w[0].name));const N=(I,$,m=1)=>$.map(W=>{const L=new i.dZ("section",W,I);return L.depth=m,W.items&&(L.items=N(L,W.items,m+1)),r.$8.containsComponent(L.description||"",o.B5)&&(0,o.te)(L.id+"/"),L});return N(_,w,A)}static getTagGroupsItems(T,_,A,S,x){const w=[];for(const N of A){const I=new i.dZ("group",N,_);I.depth=O,I.items=v.getTagsItems(T,S,I,N,x),w.push(I)}return w}static getTagsItems(T,_,A,S,x){let w;S===void 0?w=Object.keys(_):w=S.tags;const N=w.map($=>_[$]?(_[$].used=!0,_[$]):(console.warn(`Non-existing tag "${$}" is added to the group "${S==null?void 0:S.name}"`),null)),I=[];for(const $ of N){if(!$)continue;const m=new i.dZ("tag",$,A);if(m.depth=O+1,$.name===""){const W=[...v.addMarkdownItems($.description||"",m,m.depth+1,x),...this.getOperationsItems(T,void 0,$,m.depth+1,x)];I.push(...W);continue}m.items=[...v.addMarkdownItems($.description||"",m,m.depth+1,x),...this.getOperationsItems(T,m,$,m.depth+1,x)],I.push(m)}return x.sortTagsAlphabetically&&I.sort((0,o.Bi)("name")),I}static getOperationsItems(T,_,A,S,x){if(A.operations.length===0)return[];const w=[];for(const N of A.operations){const I=new i.pk(T,N,_,x);I.depth=S,w.push(I)}return x.sortOperationsAlphabetically&&w.sort((0,o.Bi)("name")),w}static getTagsWithOperations(T){const _={},{definition:A}=T,S=A["x-webhooks"]||A.webhooks;for(const w of A.tags||[])_[w.name]=y(g({},w),{operations:[]});A.paths&&x(T,A.paths),S&&x(T,S,!0);function x(w,N,I){for(const $ of Object.keys(N||{})){const m=N[$],W=Object.keys(m).filter(o.eU);for(const L of W){const X=m[L];if(m.$ref){const J=w.deref(m);x(w,{[$]:J},I);continue}let ae=X==null?void 0:X.tags;(!ae||!ae.length)&&(ae=[""]);for(const J of ae){let De=_[J];De===void 0&&(De={name:J,operations:[]},_[J]=De),!De["x-traitTag"]&&De.operations.push(y(g({},X),{pathName:$,pointer:o.IB.compile(["paths",$,L]),httpVerb:L,pathParameters:m.parameters||[],pathServers:m.servers,isWebhook:!!I}))}}}}return _}}},71790:()=>{},54785:(R,d,t)=>{"use strict";t.d(d,{X:()=>A});var o=t(8575),r=t(36038),i=t(71796),a=t(21190),s=t(98906),h=Object.defineProperty,c=Object.defineProperties,l=Object.getOwnPropertyDescriptors,p=Object.getOwnPropertySymbols,f=Object.prototype.hasOwnProperty,g=Object.prototype.propertyIsEnumerable,y=(S,x,w)=>x in S?h(S,x,{enumerable:!0,configurable:!0,writable:!0,value:w}):S[x]=w,O=(S,x)=>{for(var w in x||(x={}))f.call(x,w)&&y(S,w,x[w]);if(p)for(var w of p(x))g.call(x,w)&&y(S,w,x[w]);return S},v=(S,x)=>c(S,l(x)),F=(S,x)=>{var w={};for(var N in S)f.call(S,N)&&x.indexOf(N)<0&&(w[N]=S[N]);if(S!=null&&p)for(var N of p(S))x.indexOf(N)<0&&g.call(S,N)&&(w[N]=S[N]);return w},T=(S,x,w)=>(y(S,typeof x!="symbol"?x+"":x,w),w);class _{constructor(){T(this,"_counter",{})}reset(){this._counter={}}visit(x){this._counter[x]=this._counter[x]?this._counter[x]+1:1}exit(x){this._counter[x]=this._counter[x]&&this._counter[x]-1}visited(x){return!!this._counter[x]}}class A{constructor(x,w,N=new s.V({})){this.options=N,T(this,"definitionUrl"),T(this,"definition"),T(this,"hasSecurityDefinitions",!1),T(this,"_refCounter",new _),T(this,"allowMergeRefs",!1),T(this,"byRef",$=>{let m;if(!!this.definition){$.charAt(0)!=="#"&&($="#"+$),$=decodeURIComponent($);try{m=i.I.get(this.definition,$)}catch(W){}return m||{}}}),this.validate(x),this.preprocess(x),this.definition=x,this.hasSecurityDefinitions=this.containsSecurity(x),this.allowMergeRefs=x.openapi.startsWith("3.1");const I=r.Qg?window.location.href:"";typeof w=="string"&&(this.definitionUrl=(0,o.resolve)(I,w))}validate(x){if(x.openapi===void 0)throw new Error("Document must be valid OpenAPI 3.0.0 definition")}containsSecurity(x){const w=x.info&&x.info.description||"";return a.$8.containsComponent(w,r.B5)||a.$8.containsComponent(w,r.c7)}preprocess(x){if(x.info&&this.options.hideInfoDescription){x.info.description="";return}if(!this.options.noAutoAuth&&x.info&&x.components&&x.components.securitySchemes){const w=x.info.description||"";if(!this.containsSecurity(x)){const N=(0,a.B2)(r.B5);x.info.description=(0,r.Rv)(w,"Authentication",N)}}}isRef(x){return x?x.$ref!==void 0&&x.$ref!==null:!1}resetVisited(){this._refCounter=new _}exitRef(x){!this.isRef(x)||this._refCounter.exit(x.$ref)}deref(x,w=!1,N=!1){if(this.isRef(x)){const I=(0,r.ft)(x.$ref);if(I&&this.options.ignoreNamedSchemas.has(I))return{type:"object",title:I};const $=this.byRef(x.$ref),m=this._refCounter.visited(x.$ref);if(this._refCounter.visit(x.$ref),m&&!w)return Object.assign({},$,{"x-circular-ref":!0});let W=$;return this.isRef($)&&(W=this.deref($,!1,N),this.exitRef($)),this.allowMergeRefs?this.mergeRefs(x,$,N):W}return x}mergeRefs(x,w,N){const I=x,{$ref:$}=I,m=F(I,["$ref"]),W=Object.keys(m);return W.length===0?w:N&&W.some(L=>L!=="description"&&L!=="title"&&L!=="externalDocs")?{allOf:[m,w]}:O(O({},w),m)}shallowDeref(x){if(this.isRef(x)){const w=(0,r.ft)(x.$ref);if(w&&this.options.ignoreNamedSchemas.has(w))return{type:"object",title:w};const N=this.byRef(x.$ref);return this.allowMergeRefs?this.mergeRefs(x,N,!1):N}return x}mergeAllOf(x,w,N=!1,I=new Set){var $;if(w&&I.add(w),x=this.hoistOneOfs(x),x.allOf===void 0)return x;let m=v(O({},x),{allOf:void 0,parentRefs:[],title:x.title||(0,r.ft)(w)});m.properties!==void 0&&typeof m.properties=="object"&&(m.properties=O({},m.properties)),m.items!==void 0&&typeof m.items=="object"&&(m.items=O({},m.items));const W=x.allOf.map(L=>{var X;if(L&&L.$ref&&I.has(L.$ref))return{$ref:L.$ref,schema:{"x-circular-ref":!0}};const ae=this.deref(L,N,!0),J=L.$ref||void 0,De=this.mergeAllOf(ae,J,N,I);return(X=m.parentRefs)==null||X.push(...De.parentRefs||[]),{$ref:J,schema:De}}).filter(L=>L!==void 0);for(const{$ref:L,schema:X}of W){if(m.type!==X.type&&m.type!==void 0&&X.type!==void 0&&console.warn(`Incompatible types in allOf at "${w}": "${m.type}" and "${X.type}"`),X.type!==void 0&&(m.type=X.type),X.properties!==void 0){m.properties=m.properties||{};for(const ae in X.properties)if(!m.properties[ae])m.properties[ae]=X.properties[ae];else{const J=this.mergeAllOf({allOf:[m.properties[ae],X.properties[ae]]},w+"/properties/"+ae);m.properties[ae]=J,this.exitParents(J)}}X.items!==void 0&&(m.items=m.items||{},m.items=this.mergeAllOf({allOf:[m.items,X.items]},w+"/items",!1,I)),X.required!==void 0&&(m.required=(m.required||[]).concat(X.required)),m=O(O({},X),m),L&&(($=m.parentRefs)==null||$.push(L),m.title===void 0&&(0,r.lE)(L))}return m}findDerived(x){const w={},N=this.definition.components&&this.definition.components.schemas||{};for(const I in N){const $=this.deref(N[I]);$.allOf!==void 0&&$.allOf.find(m=>m.$ref!==void 0&&x.indexOf(m.$ref)>-1)&&(w["#/components/schemas/"+I]=[$["x-discriminator-value"]||I])}return w}exitParents(x){for(const w of x.parentRefs||[])this.exitRef({$ref:w})}hoistOneOfs(x){if(x.allOf===void 0)return x;const w=x.allOf;for(let N=0;N<w.length;N++){const I=w[N];if(Array.isArray(I.oneOf)){const $=w.slice(0,N),m=w.slice(N+1);return{oneOf:I.oneOf.map(W=>{const L=this.mergeAllOf({allOf:[...$,W,...m]});return this.exitParents(L),L})}}}return x}}},98906:(R,d,t)=>{"use strict";t.d(d,{V:()=>W,m:()=>w});var o=t(68949),r=t(39895),i=t(61191);const s={spacing:{unit:5,sectionHorizontal:({spacing:L})=>L.unit*8,sectionVertical:({spacing:L})=>L.unit*4},breakpoints:{small:"50rem",medium:"85rem",large:"105rem"},colors:{tonalOffset:.2,primary:{main:"#0065FB",light:({colors:L})=>(0,r.$n)(L.tonalOffset,L.primary.main),dark:({colors:L})=>(0,r._j)(L.tonalOffset,L.primary.main),contrastText:({colors:L})=>(0,r.XV)(L.primary.main)},secondary:{main:"#E4E7EB",light:"#F5F7FA",dark:"#E4E7EB",contrastText:"#3E4C59"},accent:{main:"#59C3FF",light:"#b3dcf3",dark:"#033B73",contrastText:"#ffffff"},success:{main:"#41DE50",light:({colors:L})=>(0,r.$n)(L.tonalOffset*2,L.success.main),dark:({colors:L})=>(0,r._j)(L.tonalOffset,L.success.main),contrastText:({colors:L})=>(0,r.XV)(L.success.main)},warning:{main:"#ffa500",light:({colors:L})=>(0,r.$n)(L.tonalOffset,L.warning.main),dark:({colors:L})=>(0,r._j)(L.tonalOffset,L.warning.main),contrastText:"#ffffff"},error:{main:"#FF6161",light:({colors:L})=>(0,r.$n)(L.tonalOffset,L.error.main),dark:({colors:L})=>(0,r._j)(L.tonalOffset,L.error.main),contrastText:"#ffffff"},text:{primary:"#1F2933",secondary:"#7b8794",light:"#F5F7FA"},border:{dark:"#616E7C",light:"#E4E7EB"},responses:{success:{borderColor:"#B1E996",backgroundColor:"#F6FFF4",tabTextColor:({colors:L})=>L.responses.success.borderColor},error:{borderColor:"#FFC9C9",backgroundColor:"#FFF4F4",tabTextColor:({colors:L})=>L.responses.error.borderColor},redirect:{borderColor:({colors:L})=>L.warning.main,backgroundColor:({colors:L})=>(0,r.DZ)(.9,L.responses.redirect.borderColor),tabTextColor:({colors:L})=>L.responses.redirect.borderColor},info:{borderColor:"#87ceeb",backgroundColor:({colors:L})=>(0,r.DZ)(.9,L.responses.info.borderColor),tabTextColor:({colors:L})=>L.responses.info.borderColor}},http:{get:"#3A9601",post:"#0065FB",put:"#93527B",options:"#947014",patch:"#bf581d",delete:"#C83637",basic:"#707070",link:"#07818F",head:"#A23DAD"}},schema:{linesColor:L=>L.colors.border.light,defaultDetailsWidth:"70%",typeNameColor:L=>L.colors.text.secondary,typeTitleColor:L=>L.schema.typeNameColor,requireLabelColor:"#FF0000",labelsTextSize:"0.9em",nestingSpacing:"1em",nestedBackground:L=>L.colors.secondary.light,caretColor:({colors:L})=>L.text.primary,caretSize:"9px"},typography:{fontSize:"14px",lineHeight:"1.5em",fontWeightRegular:"400",fontWeightBold:"600",fontWeightLight:"300",fontFamily:"Source Sans Pro, sans-serif",smoothing:"antialiased",optimizeSpeed:!0,headings:{fontFamily:({typography:L})=>L.fontFamily,fontWeight:"700",lineHeight:"1.6em"},code:{fontSize:"13px",fontFamily:"Source Code Pro, monospace",lineHeight:({typography:L})=>L.lineHeight,fontWeight:({typography:L})=>L.fontWeightRegular,color:"#e53935",backgroundColor:"rgba(38, 50, 56, 0.05)",wrap:!1},links:{color:({colors:L})=>L.primary.main,visited:({typography:L})=>L.links.color,hover:({typography:L})=>(0,r.$n)(.2,L.links.color),textDecoration:"auto"},fieldName:{fontSize:({typography:L})=>L.code.fontSize,fontFamily:({typography:L})=>L.code.fontFamily,fontWeight:({typography:L})=>L.code.fontWeight}},sidebar:{separatorLabelColor:({sidebar:L})=>L.textColor,separatorLineColor:"#DADADA",caretColor:({sidebar:L})=>L.textColor,caretSize:({sidebar:L})=>L.spacing.unit,spacing:{unit:8,paddingHorizontal:({sidebar:L})=>L.spacing.unit,paddingVertical:({sidebar:L})=>L.spacing.unit,offsetTop:({sidebar:L})=>L.spacing.unit*2,offsetLeft:({sidebar:L})=>L.spacing.unit*2,offsetNesting:({sidebar:L})=>L.spacing.unit*2},borderRadius:"4px",fontFamily:({typography:L})=>L.fontFamily,fontSize:({typography:L})=>L.fontSize,showAtBreakpoint:"small",width:"285px",backgroundColor:"#fff",rightLineColor:L=>L.colors.border.light,textColor:L=>L.colors.text.primary,activeTextColor:L=>L.sidebar.textColor,activeBgColor:L=>L.colors.border.light},components:{buttons:{borderRadius:({shape:L})=>L.borderRadius,hoverStyle:"",fontWeight:({typography:L})=>L.fontWeightBold,boxShadow:"none",hoverBoxShadow:"0px 0px 12px 0px rgba(0, 0, 0, 0.1)",fontFamily:"inherit",sizes:{small:{fontSize:"12px",padding:"8px 10px",minWidth:"90px"},medium:{fontSize:"14px",padding:"8px 20px",minWidth:"120px"},large:{fontSize:"14px",padding:"12px 24px",minWidth:"150px"},xlarge:{fontSize:"16px",padding:"20px 24px",minWidth:"200px"}}},httpBadges:{borderRadius:"16px",fontFamily:({typography:L})=>L.code.fontFamily,fontWeight:({typography:L})=>L.fontWeightBold,color:({colors:L})=>L.text.light,sizes:{medium:{fontSize:"12px",lineHeight:"20px"},small:{fontSize:"8px",lineHeight:"15px"}}},tryItButton:{fullWidth:!1},tryItSendButton:{fullWidth:!1},panels:{borderRadius:"8px",backgroundColor:"#fff"},layoutControls:{top:"20px",width:"36px",height:"36px"}},logo:{maxHeight:({sidebar:L})=>L.width,maxWidth:({sidebar:L})=>L.width,gutter:"2px"},rightPanel:{showAtBreakpoint:"medium",backgroundColor:"#1F2933",panelBackgroundColor:"#52606D",panelControlsBackgroundColor:"#323F4B",width:"37.5%",textColor:"#ffffff"},codeBlock:{backgroundColor:({rightPanel:L})=>L.panelControlsBackgroundColor},shape:{borderRadius:"4px"},layout:{showDarkRightPanel:!1,stacked:{maxWidth:{[i.QU]:"",small:"90%",medium:"75%",large:"1200px"}},"three-panel":{middlePanelMaxWidth:"none",maxWidth:{[i.QU]:"100%",small:"100%",medium:"100%",large:"1800px"}}}};function h(L){const X={};let ae=0;const J=(De,Ae)=>{Object.keys(De).forEach(we=>{const ie=(Ae?Ae+".":"")+we,be=De[we];typeof be=="function"?Object.defineProperty(De,we,{get(){if(!X[ie]){if(ae++,ae>1e3)throw new Error(`Theme probably contains circular dependency at ${ie}: ${be.toString()}`);X[ie]=be(L)}return X[ie]},enumerable:!0}):typeof be=="object"&&J(be,ie)})};return J(L,""),JSON.parse(JSON.stringify(L))}var c=t(36038),l=t(51027),p=Object.defineProperty,f=Object.defineProperties,g=Object.getOwnPropertyDescriptor,y=Object.getOwnPropertyDescriptors,O=Object.getOwnPropertySymbols,v=Object.prototype.hasOwnProperty,F=Object.prototype.propertyIsEnumerable,T=(L,X,ae)=>X in L?p(L,X,{enumerable:!0,configurable:!0,writable:!0,value:ae}):L[X]=ae,_=(L,X)=>{for(var ae in X||(X={}))v.call(X,ae)&&T(L,ae,X[ae]);if(O)for(var ae of O(X))F.call(X,ae)&&T(L,ae,X[ae]);return L},A=(L,X)=>f(L,y(X)),S=(L,X,ae,J)=>{for(var De=J>1?void 0:J?g(X,ae):X,Ae=L.length-1,we;Ae>=0;Ae--)(we=L[Ae])&&(De=(J?we(X,ae,De):we(De))||De);return J&&De&&p(X,ae,De),De},x=(L,X,ae)=>(T(L,typeof X!="symbol"?X+"":X,ae),ae);function w(L,X){return L===void 0?X||!1:typeof L=="string"?L!=="false":L}function N(L){if(typeof L=="string")return parseInt(L,10);if(typeof L=="number")return L}function I(L){if(typeof L=="string")return parseInt(L,10);if(typeof L=="number")return Math.ceil(L)}function $(L,X=0){return L==="all"?1/0:I(L)||X}const m=class{constructor(L,X={}){x(this,"theme"),x(this,"scrollYOffset"),x(this,"hideHostname"),x(this,"hideInfoDescription"),x(this,"expandResponses"),x(this,"requiredPropsFirst"),x(this,"sortPropsAlphabetically"),x(this,"sortEnumValuesAlphabetically"),x(this,"sortOperationsAlphabetically"),x(this,"sortTagsAlphabetically"),x(this,"noAutoAuth"),x(this,"nativeScrollbars"),x(this,"pathInMiddlePanel"),x(this,"untrustedDefinition"),x(this,"hideDownloadButton"),x(this,"disableSearch"),x(this,"showChangeLayoutButton"),x(this,"onlyRequiredInSamples"),x(this,"showConsole"),x(this,"sendXUserAgentInTryIt"),x(this,"generatedPayloadSamplesMaxDepth"),x(this,"showExtensions"),x(this,"hideSingleRequestSampleTab"),x(this,"hideRequestPayloadSample"),x(this,"menuToggle"),x(this,"jsonSampleExpandLevel"),x(this,"enumSkipQuotes"),x(this,"hideSchemaTitles"),x(this,"simpleOneOfTypeLabel"),x(this,"payloadSampleIdx"),x(this,"expandSingleSchemaField"),x(this,"schemaExpansionLevel"),x(this,"samplesTabsMaxCount"),x(this,"unstable_tryItButtonOverride"),x(this,"allowedMdComponents"),x(this,"expandDefaultServerVariables"),x(this,"maxDisplayedEnumValues"),x(this,"ignoreNamedSchemas"),x(this,"unstable_ignoreMimeParameters"),x(this,"unstable_externalCodeSamples"),x(this,"hooks"),x(this,"hideSchemaPattern"),x(this,"hideOneOfDescription");var ae,J,De,Ae,we,ie;(0,o.rC)(this),L=_(_({},X),L);const be=(ae=L.theme)==null?void 0:ae.extensionsHook;((J=L.theme)==null?void 0:J.menu)&&!((De=L.theme)==null?void 0:De.sidebar)&&(console.warn('Theme setting "menu" is deprecated. Rename to "sidebar"'),L.theme.sidebar=L.theme.menu),((Ae=L.theme)==null?void 0:Ae.codeSample)&&!((we=L.theme)==null?void 0:we.codeBlock)&&(console.warn('Theme setting "codeSample" is deprecated. Rename to "codeBlock"'),L.theme.codeBlock=L.theme.codeSample),this.theme=h((0,c.PM)({},s,A(_({},L.theme),{extensionsHook:void 0}))),this.theme.mediaQueries={print:"@media print"};for(const[te,he]of Object.entries(this.theme.breakpoints))this.theme.mediaQueries[te]=`@media screen and (min-width: ${he})`;this.theme.extensionsHook=be,(0,l.W)(L.labels),this.scrollYOffset=m.normalizeScrollYOffset(L.scrollYOffset),this.hideHostname=m.normalizeHideHostname(L.hideHostname),this.expandResponses=m.normalizeExpandResponses(L.expandResponses),this.requiredPropsFirst=w(L.requiredPropsFirst),this.sortPropsAlphabetically=w(L.sortPropsAlphabetically),this.sortEnumValuesAlphabetically=w(L.sortEnumValuesAlphabetically),this.sortOperationsAlphabetically=w(L.sortOperationsAlphabetically),this.sortTagsAlphabetically=w(L.sortTagsAlphabetically),this.noAutoAuth=w(L.noAutoAuth),this.nativeScrollbars=w(L.nativeScrollbars),this.pathInMiddlePanel=w(L.pathInMiddlePanel),this.untrustedDefinition=w(L.untrustedDefinition),this.hideDownloadButton=w(L.hideDownloadButton),this.hideInfoDescription=w(L.hideInfoDescription),this.disableSearch=w(L.disableSearch),this.onlyRequiredInSamples=w(L.onlyRequiredInSamples),this.generatedPayloadSamplesMaxDepth=I(L.generatedPayloadSamplesMaxDepth)||8,this.sendXUserAgentInTryIt=w(L.sendXUserAgentInTryIt),this.showExtensions=m.normalizeShowExtensions(L.showExtensions),this.hideSingleRequestSampleTab=w(L.hideSingleRequestSampleTab),this.hideRequestPayloadSample=w(L.hideRequestPayloadSample),this.menuToggle=w(L.menuToggle,!0),this.jsonSampleExpandLevel=$(L.jsonSampleExpandLevel,2),this.enumSkipQuotes=w(L.enumSkipQuotes),this.hideSchemaTitles=w(L.hideSchemaTitles),this.simpleOneOfTypeLabel=w(L.simpleOneOfTypeLabel),this.payloadSampleIdx=m.normalizePayloadSampleIdx(L.payloadSampleIdx),this.expandSingleSchemaField=w(L.expandSingleSchemaField),this.schemaExpansionLevel=$(L.schemaExpansionLevel),this.samplesTabsMaxCount=I(L.samplesTabsMaxCount)||5,this.unstable_tryItButtonOverride=L.unstable_tryItButtonOverride||null,this.unstable_ignoreMimeParameters=w(L.unstable_ignoreMimeParameters),this.allowedMdComponents=L.allowedMdComponents||{},this.expandDefaultServerVariables=w(L.expandDefaultServerVariables),this.maxDisplayedEnumValues=N(L.maxDisplayedEnumValues);const re=Array.isArray(L.ignoreNamedSchemas)?L.ignoreNamedSchemas:(ie=L.ignoreNamedSchemas)==null?void 0:ie.split(",").map(te=>te.trim());this.ignoreNamedSchemas=new Set(re),this.unstable_externalCodeSamples=L.unstable_externalCodeSamples||[],this.hooks=L.hooks||{},this.hooks.ReplaceTryItAuthPanel&&!this.hooks.ReplaceTryItSecurityPanel&&(console.warn("[warn] ReplaceTryItAuthPanel is deprecated, use ReplaceTryItSecurityPanel instead"),this.hooks.ReplaceTryItSecurityPanel=this.hooks.ReplaceTryItAuthPanel),this.hideSchemaPattern=w(L.hideSchemaPattern),this.hideOneOfDescription=w(L.hideOneOfDescription)}static normalizeExpandResponses(L){if(L==="all")return"all";if(typeof L=="string"){const X={};return L.split(",").forEach(ae=>{X[ae.trim()]=!0}),X}else L!==void 0&&console.warn(`expandResponses must be a string but received value "${L}" of type ${typeof L}`);return{}}static normalizeHideHostname(L){return!!L}static normalizeScrollYOffset(L){if(typeof L=="string"&&!(0,c.kE)(L)){const X=(0,c.R2)(L);X||console.warn("scrollYOffset value is a selector to non-existing element. Using offset 0 by default");const ae=X&&X.getBoundingClientRect().bottom||0;return()=>ae}else{if(typeof L=="number"||(0,c.kE)(L))return()=>typeof L=="number"?L:parseFloat(L);if(typeof L=="function")return()=>{const X=L();return typeof X!="number"&&console.warn(`scrollYOffset should return number but returned value "${X}" of type ${typeof X}`),X};L!==void 0&&console.warn("Wrong value for scrollYOffset ReDoc option: should be string, number or function")}return()=>0}static normalizeShowExtensions(L){if(typeof L=="undefined")return!1;if(L==="")return!0;if(typeof L!="string")return L;switch(L){case"true":return!0;case"false":return!1;default:return L.split(",").map(X=>X.trim())}}static normalizePayloadSampleIdx(L){return typeof L=="number"?Math.max(0,L):typeof L=="string"&&isFinite(L)?parseInt(L,10):0}};let W=m;S([o.LO],W.prototype,"showConsole",2)},43339:(R,d,t)=>{"use strict";t.d(d,{a:()=>y});var o=t(11851),r=t.n(o),i=t(26729),a=t.n(i),s=t(36038),h=Object.defineProperty,c=Object.getOwnPropertyDescriptor,l=(O,v,F)=>v in O?h(O,v,{enumerable:!0,configurable:!0,writable:!0,value:F}):O[v]=F,p=(O,v,F,T)=>{for(var _=T>1?void 0:T?c(v,F):v,A=O.length-1,S;A>=0;A--)(S=O[A])&&(_=(T?S(v,F,_):S(_))||_);return T&&_&&h(v,F,_),_},f=(O,v,F)=>(l(O,typeof v!="symbol"?v+"":v,F),F);const g="scroll";class y{constructor(v){this.options=v,f(this,"_scrollParent"),f(this,"_emitter"),f(this,"_prevOffsetY",0),this._scrollParent=s.Qg?window:void 0,this._emitter=new(a()),this.bind()}set prevOffsetY(v){this._prevOffsetY=v}bind(){this._prevOffsetY=this.scrollY(),this._scrollParent&&this._scrollParent.addEventListener(g,this.handleScroll)}dispose(){this._scrollParent&&this._scrollParent.removeEventListener(g,this.handleScroll),this._emitter.removeAllListeners(g)}scrollY(){return typeof HTMLElement!="undefined"&&this._scrollParent instanceof HTMLElement?this._scrollParent.scrollTop:this._scrollParent!==void 0?this._scrollParent.pageYOffset:0}isElementBellow(v){if(v!==null)return v.getBoundingClientRect().top>this.options.scrollYOffset()}isElementAbove(v){if(v===null)return;const F=v.getBoundingClientRect().top;return(F>0?Math.floor(F):Math.ceil(F))<=this.options.scrollYOffset()}subscribe(v){const F=this._emitter.addListener(g,v);return()=>F.removeListener(g,v)}scrollIntoView(v,F){if(v!==null&&(v.scrollIntoView(F),this._scrollParent&&this._scrollParent.scrollBy)){const[T,_]=[0,-Math.floor(this.options.scrollYOffset())];this._scrollParent.scrollBy(T,_)}}scrollIntoViewBySelector(v,F){const T=(0,s.R2)(v);this.scrollIntoView(T,F)}handleScroll(){const F=this.scrollY()-this._prevOffsetY>0;this._prevOffsetY=this.scrollY(),this._emitter.emit(g,F)}}p([o.bind,(0,s.Xo)(100)],y.prototype,"handleScroll",1)},22404:(R,d,t)=>{"use strict";t.d(d,{Z:()=>c});var o=t(52385),r=Object.defineProperty,i=(l,p,f)=>p in l?r(l,p,{enumerable:!0,configurable:!0,writable:!0,value:f}):l[p]=f,a=(l,p,f)=>(i(l,typeof p!="symbol"?p+"":p,f),f),s=(l,p,f)=>new Promise((g,y)=>{var O=T=>{try{F(f.next(T))}catch(_){y(_)}},v=T=>{try{F(f.throw(T))}catch(_){y(_)}},F=T=>T.done?g(T.value):Promise.resolve(T.value).then(O,v);F((f=f.apply(l,p)).next())});function h(){let l;if(o.Qg)try{l=t(83567)}catch(p){l=t(20027).ZP}else l=t(20027).ZP;return new l}class c{constructor(){a(this,"searchWorker",h())}indexItems(p){const f=g=>{g.forEach(y=>{y.type!=="group"&&this.add(y.name,y.description||"",y.id),f(y.items)})};f(p),this.searchWorker.done()}add(p,f,g){this.searchWorker.add(p,f,g)}dispose(){this.searchWorker.terminate(),this.searchWorker.dispose()}search(p){return this.searchWorker.search(p)}toJS(){return s(this,null,function*(){return this.searchWorker.toJS()})}load(p){this.searchWorker.load(p)}fromExternalJS(p,f){p&&f&&this.searchWorker.fromExternalJS(p,f)}}},20027:(R,d,t)=>{"use strict";t.d(d,{ZP:()=>c});var o=t(31336),r=t.n(o),i=Object.defineProperty,a=(w,N,I)=>N in w?i(w,N,{enumerable:!0,configurable:!0,writable:!0,value:I}):w[N]=I,s=(w,N,I)=>(a(w,typeof N!="symbol"?N+"":N,I),I),h=(w,N,I)=>new Promise(($,m)=>{var W=ae=>{try{X(I.next(ae))}catch(J){m(J)}},L=ae=>{try{X(I.throw(ae))}catch(J){m(J)}},X=ae=>ae.done?$(ae.value):Promise.resolve(ae.value).then(W,L);X((I=I.apply(w,N)).next())});class c{constructor(){s(this,"add",v),s(this,"done",F),s(this,"search",x),s(this,"toJS",T),s(this,"load",A),s(this,"dispose",S),s(this,"fromExternalJS",_)}}let l=[];o.tokenizer.separator=/\s+/;let p,f,g;function y(){p=new o.Builder,p.field("title"),p.field("description"),p.ref("ref"),p.pipeline.add(o.trimmer,o.stopWordFilter,o.stemmer),g=new Promise(w=>{f=w})}y();const O=w=>"*"+o.stemmer(new o.Token(w,{}))+"*";function v(w,N,I){const $=l.push(I)-1,m={title:w.toLowerCase(),description:N.toLowerCase(),ref:$};p.add(m)}function F(){return h(this,null,function*(){f(p.build())})}function T(){return h(this,null,function*(){return{store:l,index:(yield g).toJSON()}})}function _(w,N){return h(this,null,function*(){try{if(importScripts(w),!self[N])throw new Error("Broken index file format");yield A(self[N])}catch(I){console.error("Failed to load search index: "+I.message)}})}function A(w){return h(this,null,function*(){l=w.store,f(o.Index.load(w.index))})}function S(){return h(this,null,function*(){l=[],y()})}function x(w,N=0){return h(this,null,function*(){if(w.trim().length===0)return[];let I=(yield g).query($=>{w.trim().toLowerCase().split(/\s+/).forEach(m=>{if(m.length===1)return;const W=O(m);$.term(W,{})})});return N>0&&(I=I.slice(0,N)),I.map($=>({meta:l[$.ref],score:$.score}))})}},30960:(R,d,t)=>{"use strict";t.d(d,{p:()=>g});var o=t(34405),r=t(5062),i=t(54785),a=Object.defineProperty,s=Object.getOwnPropertySymbols,h=Object.prototype.hasOwnProperty,c=Object.prototype.propertyIsEnumerable,l=(y,O,v)=>O in y?a(y,O,{enumerable:!0,configurable:!0,writable:!0,value:v}):y[O]=v,p=(y,O)=>{for(var v in O||(O={}))h.call(O,v)&&l(y,v,O[v]);if(s)for(var v of s(O))c.call(O,v)&&l(y,v,O[v]);return y},f=(y,O,v)=>(l(y,typeof O!="symbol"?O+"":O,v),v);class g{constructor(O,v,F){this.options=F,f(this,"parser"),f(this,"info"),f(this,"externalDocs"),f(this,"contentItems"),f(this,"securitySchemes"),f(this,"webhooks");var T,_,A;this.parser=new i.X(O,v,F),this.info=new r.Vg(this.parser),this.externalDocs=this.parser.definition.externalDocs,this.contentItems=o.r.buildStructure(this.parser,this.options),this.securitySchemes=new r.l2(this.parser);const S=p(p({},(_=(T=this.parser)==null?void 0:T.definition)==null?void 0:_["x-webhooks"]),(A=this.parser)==null?void 0:A.definition.webhooks);this.webhooks=new r.tf(this.parser,F,S)}}},13303:(R,d,t)=>{"use strict";t.d(d,{E:()=>o});const o="data-section-id",r="data-field-id"},99303:(R,d,t)=>{"use strict";t.d(d,{MarkdownRenderer:()=>r.$8,ScrollService:()=>s.a,SpecStore:()=>h.p,ClipboardService:()=>c.Y,MediaTypeModel:()=>p.$b,OperationModel:()=>p.pk,ResponseModel:()=>p.Cg,isPayloadSample:()=>p.G2,RedocNormalizedOptions:()=>f.V,argValueToBoolean:()=>f.m,GROUP_DEPTH:()=>g.t,Z:()=>y.Z,MarkerService:()=>O.u});var o=t(54785),r=t(21190),i=t(71790),a=t.n(i);t.o(i,"ClipboardService")&&t.d(d,{ClipboardService:function(){return i.ClipboardService}}),t.o(i,"GROUP_DEPTH")&&t.d(d,{GROUP_DEPTH:function(){return i.GROUP_DEPTH}}),t.o(i,"IS_BROWSER")&&t.d(d,{IS_BROWSER:function(){return i.IS_BROWSER}}),t.o(i,"JsonPointer")&&t.d(d,{JsonPointer:function(){return i.JsonPointer}}),t.o(i,"MarkerService")&&t.d(d,{MarkerService:function(){return i.MarkerService}}),t.o(i,"MediaTypeModel")&&t.d(d,{MediaTypeModel:function(){return i.MediaTypeModel}}),t.o(i,"OperationModel")&&t.d(d,{OperationModel:function(){return i.OperationModel}}),t.o(i,"RedocNormalizedOptions")&&t.d(d,{RedocNormalizedOptions:function(){return i.RedocNormalizedOptions}}),t.o(i,"ResponseModel")&&t.d(d,{ResponseModel:function(){return i.ResponseModel}}),t.o(i,"SCHEMA_DEFINITION_JSX_NAME")&&t.d(d,{SCHEMA_DEFINITION_JSX_NAME:function(){return i.SCHEMA_DEFINITION_JSX_NAME}}),t.o(i,"SECURITY_DEFINITIONS_COMPONENT_NAME")&&t.d(d,{SECURITY_DEFINITIONS_COMPONENT_NAME:function(){return i.SECURITY_DEFINITIONS_COMPONENT_NAME}}),t.o(i,"SECURITY_DEFINITIONS_JSX_NAME")&&t.d(d,{SECURITY_DEFINITIONS_JSX_NAME:function(){return i.SECURITY_DEFINITIONS_JSX_NAME}}),t.o(i,"SECURITY_SCHEMES_SECTION_PREFIX")&&t.d(d,{SECURITY_SCHEMES_SECTION_PREFIX:function(){return i.SECURITY_SCHEMES_SECTION_PREFIX}}),t.o(i,"ScrollService")&&t.d(d,{ScrollService:function(){return i.ScrollService}}),t.o(i,"SpecStore")&&t.d(d,{SpecStore:function(){return i.SpecStore}}),t.o(i,"ThemeProvider")&&t.d(d,{ThemeProvider:function(){return i.ThemeProvider}}),t.o(i,"ZERO_BREAKPOINT")&&t.d(d,{ZERO_BREAKPOINT:function(){return i.ZERO_BREAKPOINT}}),t.o(i,"argValueToBoolean")&&t.d(d,{argValueToBoolean:function(){return i.argValueToBoolean}}),t.o(i,"createGlobalStyle")&&t.d(d,{createGlobalStyle:function(){return i.createGlobalStyle}}),t.o(i,"createParsedDocument")&&t.d(d,{createParsedDocument:function(){return i.createParsedDocument}}),t.o(i,"css")&&t.d(d,{css:function(){return i.css}}),t.o(i,"flattenByProp")&&t.d(d,{flattenByProp:function(){return i.flattenByProp}}),t.o(i,"isOperationName")&&t.d(d,{isOperationName:function(){return i.isOperationName}}),t.o(i,"isPayloadSample")&&t.d(d,{isPayloadSample:function(){return i.isPayloadSample}}),t.o(i,"langFromMime")&&t.d(d,{langFromMime:function(){return i.langFromMime}}),t.o(i,"loadAndBundleDefinition")&&t.d(d,{loadAndBundleDefinition:function(){return i.loadAndBundleDefinition}}),t.o(i,"mediaCSS")&&t.d(d,{mediaCSS:function(){return i.mediaCSS}}),t.o(i,"mediaMap")&&t.d(d,{mediaMap:function(){return i.mediaMap}}),t.o(i,"querySelector")&&t.d(d,{querySelector:function(){return i.querySelector}}),t.o(i,"serializeParameterValue")&&t.d(d,{serializeParameterValue:function(){return i.serializeParameterValue}});var s=t(43339),h=t(30960),c=t(23424),l=t(94487),p=t(5062),f=t(98906),g=t(34405),y=t(22404),O=t(57180)},5062:(R,d,t)=>{"use strict";t.d(d,{Vg:()=>an,dZ:()=>f,$b:()=>ir,pk:()=>Ur,Cg:()=>Ge,l2:()=>On,tf:()=>vr,G2:()=>Wr});var o=t(30960),r=t(68949),i=t(36038),a=t(21190),s=Object.defineProperty,h=Object.getOwnPropertyDescriptor,c=(Ke,ve,ge)=>ve in Ke?s(Ke,ve,{enumerable:!0,configurable:!0,writable:!0,value:ge}):Ke[ve]=ge,l=(Ke,ve,ge,$t)=>{for(var it=$t>1?void 0:$t?h(ve,ge):ve,Tt=Ke.length-1,Yt;Tt>=0;Tt--)(Yt=Ke[Tt])&&(it=($t?Yt(ve,ge,it):Yt(it))||it);return $t&&it&&s(ve,ge,it),it},p=(Ke,ve,ge)=>(c(Ke,typeof ve!="symbol"?ve+"":ve,ge),ge);class f{constructor(ve,ge,$t){p(this,"id"),p(this,"absoluteIdx"),p(this,"name"),p(this,"description"),p(this,"type"),p(this,"items",[]),p(this,"parent"),p(this,"externalDocs"),p(this,"active",!1),p(this,"expanded",!1),p(this,"depth"),p(this,"level"),(0,r.rC)(this),this.id=ge.id||ve+"/"+(0,i.bO)(ge.name),this.type=ve,this.name=ge["x-displayName"]||ge.name,this.level=ge.level||1,this.description=ge.description||"";const it=ge.items;it&&it.length&&(this.description=a.$8.getTextBeforeHading(this.description,it[0].name)),this.parent=$t,this.externalDocs=ge.externalDocs,this.type==="group"&&(this.expanded=!0)}activate(){this.active=!0}expand(){this.parent&&this.parent.expand(),this.expanded=!0}collapse(){this.type!=="group"&&(this.expanded=!1)}deactivate(){this.active=!1}}l([r.LO],f.prototype,"active",2),l([r.LO],f.prototype,"expanded",2),l([r.aD],f.prototype,"activate",1),l([r.aD],f.prototype,"expand",1),l([r.aD],f.prototype,"collapse",1),l([r.aD],f.prototype,"deactivate",1);var g=Object.defineProperty,y=Object.defineProperties,O=Object.getOwnPropertyDescriptors,v=Object.getOwnPropertySymbols,F=Object.prototype.hasOwnProperty,T=Object.prototype.propertyIsEnumerable,_=(Ke,ve,ge)=>ve in Ke?g(Ke,ve,{enumerable:!0,configurable:!0,writable:!0,value:ge}):Ke[ve]=ge,A=(Ke,ve)=>{for(var ge in ve||(ve={}))F.call(ve,ge)&&_(Ke,ge,ve[ge]);if(v)for(var ge of v(ve))T.call(ve,ge)&&_(Ke,ge,ve[ge]);return Ke},S=(Ke,ve)=>y(Ke,O(ve)),x=(Ke,ve,ge)=>(_(Ke,typeof ve!="symbol"?ve+"":ve,ge),ge);class w{constructor(ve,ge){x(this,"schemes");const $t=ge.definition.components&&ge.definition.components.securitySchemes||{};this.schemes=Object.keys(ve||{}).map(it=>{const Tt=ge.deref($t[it]),Yt=ve[it]||[];if(!Tt){console.warn(`Non existing security scheme referenced: ${it}. Skipping`);return}return S(A({},Tt),{id:it,sectionId:i.m$+it,scopes:Yt})}).filter(it=>it!==void 0)}}var N=Object.defineProperty,I=Object.defineProperties,$=Object.getOwnPropertyDescriptor,m=Object.getOwnPropertyDescriptors,W=Object.getOwnPropertySymbols,L=Object.prototype.hasOwnProperty,X=Object.prototype.propertyIsEnumerable,ae=(Ke,ve,ge)=>ve in Ke?N(Ke,ve,{enumerable:!0,configurable:!0,writable:!0,value:ge}):Ke[ve]=ge,J=(Ke,ve)=>{for(var ge in ve||(ve={}))L.call(ve,ge)&&ae(Ke,ge,ve[ge]);if(W)for(var ge of W(ve))X.call(ve,ge)&&ae(Ke,ge,ve[ge]);return Ke},De=(Ke,ve)=>I(Ke,m(ve)),Ae=(Ke,ve,ge,$t)=>{for(var it=$t>1?void 0:$t?$(ve,ge):ve,Tt=Ke.length-1,Yt;Tt>=0;Tt--)(Yt=Ke[Tt])&&(it=($t?Yt(ve,ge,it):Yt(it))||it);return $t&&it&&N(ve,ge,it),it},we=(Ke,ve,ge)=>(ae(Ke,typeof ve!="symbol"?ve+"":ve,ge),ge);class ie{constructor(ve,ge,$t,it,Tt){we(this,"expanded",!1),we(this,"name"),we(this,"operations",[]),(0,r.rC)(this),this.name=ge;const Yt=ve.deref($t);ve.exitRef($t);for(const xr of Object.keys(Yt)){const wt=Yt[xr],Fr=Object.keys(wt).filter(i.eU);for(const lt of Fr){const wr=wt[lt],Ar=new Ur(ve,De(J({},wr),{pathName:xr,pointer:i.IB.compile([it,ge,xr,lt]),httpVerb:lt,pathParameters:wt.parameters||[],pathServers:wt.servers}),void 0,Tt,!0);this.operations.push(Ar)}}}toggle(){this.expanded=!this.expanded}}Ae([r.LO],ie.prototype,"expanded",2),Ae([r.aD],ie.prototype,"toggle",1);var be=t(51027),re=Object.defineProperty,te=Object.defineProperties,he=Object.getOwnPropertyDescriptor,Ie=Object.getOwnPropertyDescriptors,$e=Object.getOwnPropertySymbols,ue=Object.prototype.hasOwnProperty,Xe=Object.prototype.propertyIsEnumerable,q=(Ke,ve,ge)=>ve in Ke?re(Ke,ve,{enumerable:!0,configurable:!0,writable:!0,value:ge}):Ke[ve]=ge,Ue=(Ke,ve)=>{for(var ge in ve||(ve={}))ue.call(ve,ge)&&q(Ke,ge,ve[ge]);if($e)for(var ge of $e(ve))Xe.call(ve,ge)&&q(Ke,ge,ve[ge]);return Ke},et=(Ke,ve)=>te(Ke,Ie(ve)),at=(Ke,ve,ge,$t)=>{for(var it=$t>1?void 0:$t?he(ve,ge):ve,Tt=Ke.length-1,Yt;Tt>=0;Tt--)(Yt=Ke[Tt])&&(it=($t?Yt(ve,ge,it):Yt(it))||it);return $t&&it&&re(ve,ge,it),it},yt=(Ke,ve,ge)=>(q(Ke,typeof ve!="symbol"?ve+"":ve,ge),ge);const Nt=class{constructor(Ke,ve,ge,$t,it=!1,Tt,Yt={}){this.parser=Ke,this.options=$t,this.parent=Tt,this.deps=Yt,yt(this,"pointer"),yt(this,"type"),yt(this,"displayType"),yt(this,"typePrefix",""),yt(this,"title"),yt(this,"description"),yt(this,"externalDocs"),yt(this,"isPrimitive"),yt(this,"isCircular",!1),yt(this,"format"),yt(this,"displayFormat"),yt(this,"nullable"),yt(this,"deprecated"),yt(this,"pattern"),yt(this,"example"),yt(this,"enum"),yt(this,"default"),yt(this,"readOnly"),yt(this,"writeOnly"),yt(this,"constraints"),yt(this,"_fields"),yt(this,"items"),yt(this,"oneOf"),yt(this,"oneOfType"),yt(this,"discriminatorProp"),yt(this,"activeOneOf",0),yt(this,"rawSchema"),yt(this,"schema"),yt(this,"extensions"),yt(this,"x-enumDescriptions"),yt(this,"const"),yt(this,"contentEncoding"),yt(this,"contentMediaType"),yt(this,"minItems"),yt(this,"maxItems"),(0,r.rC)(this),this.pointer=ve.$ref||ge||"",this.rawSchema=Ke.deref(ve,!1,!0),this.schema=Ke.mergeAllOf(this.rawSchema,this.pointer,it),this.init(Ke,it),Ke.exitRef(ve),Ke.exitParents(this.schema),$t.showExtensions&&(this.extensions=(0,i.TQ)(this.schema,$t.showExtensions))}activateOneOf(Ke){this.activeOneOf=Ke}hasType(Ke){return this.type===Ke||Array.isArray(this.type)&&this.type.includes(Ke)}get fields(){if(!this.isCircular)return!this._fields&&this.hasType("object")&&(this._fields=de(this.parser,this.schema,this.pointer,this.options,this,this.deps)),this._fields}hasCircularParent(Ke){return!!(this.parent&&(Ke.some(ge=>{var $t,it;if(!ge)return!1;const Tt=this.parent;if((Tt==null?void 0:Tt.pointer)===ge||((it=($t=Tt==null?void 0:Tt.schema.parentRefs)==null?void 0:$t.some)==null?void 0:it.call($t,Yt=>Yt===ge)))return!0})||this.parent.hasCircularParent(Ke)))}init(Ke,ve){const ge=this.schema;if(this.isCircular=ge["x-circular-ref"]||this.hasCircularParent([this.pointer,...this.schema.parentRefs||[]]),this.title=ge.title||(0,i.lE)(this.pointer)&&i.IB.baseName(this.pointer)||"",this.description=ge.description||"",this.type=ge.type||(0,i.Vg)(ge),this.format=ge.format,this.enum=ge.enum||[],this["x-enumDescriptions"]=ge["x-enumDescriptions"],this.example=ge.example,this.deprecated=!!ge.deprecated,this.pattern=ge.pattern,this.externalDocs=ge.externalDocs,this.constraints=(0,i.V_)(ge),this.displayFormat=this.format,this.isPrimitive=(0,i.ty)(ge,this.type),this.default=ge.default,this.readOnly=!!ge.readOnly,this.writeOnly=!!ge.writeOnly,this.const=ge.const||"",this.contentEncoding=ge.contentEncoding,this.contentMediaType=ge.contentMediaType,this.minItems=ge.minItems,this.maxItems=ge.maxItems,(ge.nullable||ge["x-nullable"])&&(Array.isArray(this.type)&&!this.type.some($t=>$t===null||$t==="null")?this.type=[...this.type,"null"]:!Array.isArray(this.type)&&(this.type!==null||this.type!=="null")&&(this.type=[this.type,"null"])),this.displayType=Array.isArray(this.type)?this.type.map($t=>$t===null?"null":$t).join(" or "):this.type,!this.isCircular){if(!ve&&He(ge)!==void 0){this.initDiscriminator(ge,Ke);return}else ve&&Array.isArray(ge.oneOf)&&ge.oneOf.find($t=>$t.$ref===this.pointer)&&delete ge.oneOf;if(ge.oneOf!==void 0){this.initOneOf(ge.oneOf,Ke),this.oneOfType="One of",ge.anyOf!==void 0&&console.warn(`oneOf and anyOf are not supported on the same level. Skipping anyOf at ${this.pointer}`);return}if(ge.anyOf!==void 0){this.initOneOf(ge.anyOf,Ke),this.oneOfType="Any of";return}if(this.hasType("array")&&ge.items&&(this.items=new Nt(Ke,ge.items,this.pointer+"/items",this.options,!1,this,this.deps),this.displayType=(0,i.NL)(this.items.displayType),this.displayFormat=this.items.format,this.typePrefix=this.items.typePrefix+(0,be.l)("arrayOf"),this.title=this.title||this.items.title,this.isPrimitive=this.items.isPrimitive,this.example===void 0&&this.items.example!==void 0&&(this.example=[this.items.example]),this.items.isPrimitive&&(this.enum=this.items.enum,this["x-enumDescriptions"]=this.items["x-enumDescriptions"]),Array.isArray(this.type))){const $t=this.type.filter(it=>it!=="array");$t.length&&(this.displayType+=` or ${$t.join(" or ")}`)}this.enum.length&&this.options.sortEnumValuesAlphabetically&&this.enum.sort()}}initOneOf(Ke,ve){if(this.oneOf=Ke.map((ge,$t)=>{const it=ve.deref(ge,!1,!0),Tt=ve.mergeAllOf(it,this.pointer+"/oneOf/"+$t),Yt=(0,i.lE)(ge.$ref)&&!Tt.title?i.IB.baseName(ge.$ref):`${Tt.title||""}${Tt.const&&JSON.stringify(Tt.const)||""}`,xr=new Nt(ve,et(Ue({},Tt),{title:Yt,allOf:[et(Ue({},this.schema),{oneOf:void 0,anyOf:void 0})]}),this.pointer+"/oneOf/"+$t,this.options,!1,this.parent,et(Ue({},this.deps),{parentFieldFullPath:this.deps.parentFieldFullPath?this.deps.parentFieldFullPath+this.options.deepLinkSeparator+$t:$t.toString()}));return ve.exitRef(ge),ve.exitParents(Tt),xr}),this.options.simpleOneOfTypeLabel){const ge=Qe(this);this.displayType=ge.join(" or ")}else this.displayType=this.oneOf.map(ge=>{let $t=ge.typePrefix+(ge.title?`${ge.title} (${ge.displayType})`:ge.displayType);return $t.indexOf(" or ")>-1&&($t=`(${$t})`),$t}).join(" or ")}initDiscriminator(Ke,ve){const ge=He(Ke);this.discriminatorProp=ge==null?void 0:ge.propertyName;const $t=ve.findDerived([...Ke.parentRefs||[],this.pointer]);if(Ke.oneOf)for(const lt of Ke.oneOf){if(lt.$ref===void 0)continue;const wr=i.IB.baseName(lt.$ref);$t[lt.$ref]=wr}const it=(ge==null?void 0:ge.mapping)||{};let Tt=(ge==null?void 0:ge["x-explicitMappingOnly"])||!1;Object.keys(it).length===0&&(Tt=!1);const Yt={};for(const lt in it){const wr=it[lt];Array.isArray(Yt[wr])?Yt[wr].push(lt):Yt[wr]=[lt]}const xr=Ue(Tt?{}:Ue({},$t),Yt);let wt=[];for(const lt of Object.keys(xr)){const wr=xr[lt];if(Array.isArray(wr))for(const Ar of wr)wt.push({$ref:lt,name:Ar});else wt.push({$ref:lt,name:wr})}const Fr=Object.keys(it);Fr.length!==0&&(wt=wt.sort((lt,wr)=>{const Ar=Fr.indexOf(lt.name),pn=Fr.indexOf(wr.name);return Ar<0&&pn<0?lt.name.localeCompare(wr.name):Ar<0?1:pn<0?-1:Ar-pn})),this.oneOf=wt.map(({$ref:lt,name:wr},Ar)=>{const pn=new Nt(ve,ve.byRef(lt),lt,this.options,!0,this.parent,et(Ue({},this.deps),{parentFieldFullPath:this.deps.parentFieldFullPath?this.deps.parentFieldFullPath+this.options.deepLinkSeparator+Ar:Ar.toString()}));return pn.title=wr,pn})}};let k=Nt;at([r.LO],k.prototype,"activeOneOf",2),at([r.aD],k.prototype,"activateOneOf",1);function de(Ke,ve,ge,$t,it,Tt){const Yt=ve.properties||{},xr=ve.additionalProperties,wt=ve.default||{};let Fr=Object.keys(Yt||[]).map(lt=>{let wr=Yt[lt];wr||(console.warn(`Field "${lt}" is invalid, skipping.
|
|
2564
|
+
`;let Ps=class extends r.Component{constructor(){super(...arguments);Ys(this,"state",{offsetTop:"0px"}),Ys(this,"stickyElement"),Ys(this,"toggleNavMenu",()=>{this.props.menu.toggleSidebar()})}componentDidMount(){Za&&Za.add(this.stickyElement),this.setState({offsetTop:this.getScrollYOffset(this.context)})}componentWillUnmount(){Za&&Za.remove(this.stickyElement)}getScrollYOffset(E){let C;return this.props.scrollYOffset!==void 0?C=El.V.normalizeScrollYOffset(this.props.scrollYOffset)():C=E.scrollYOffset(),C+"px"}render(){const E=this.props.menu.sideBarOpened,C=this.state.offsetTop;return r.createElement(r.Fragment,null,r.createElement(wl,{open:E,className:this.props.className,style:{top:C,height:`calc(100vh - ${C})`},ref:z=>{this.stickyElement=z}},this.props.children),r.createElement(wu,{onClick:this.toggleNavMenu},r.createElement(ru,{open:E})))}};Ys(Ps,"contextType",v.jI),Ps=ws([o.Pi],Ps);var au=Object.defineProperty,Pu=(E,C,z)=>C in E?au(E,C,{enumerable:!0,configurable:!0,writable:!0,value:z}):E[C]=z,su=(E,C,z)=>(Pu(E,typeof C!="symbol"?C+"":C,z),z);class Pl extends r.PureComponent{constructor(){super(...arguments);su(this,"_mediaModel")}static getMediaType(C,z){if(!C)return{};const xe={schema:{$ref:C}};return z&&(xe.examples={example:{$ref:z}}),xe}get mediaModel(){const{parser:C,schemaRef:z,exampleRef:xe,options:Be}=this.props;return this._mediaModel||(this._mediaModel=new g.MediaTypeModel(C,"json",!1,Pl.getMediaType(z,xe),Be)),this._mediaModel}render(){const{showReadOnly:C=!0,showWriteOnly:z=!1,layout:xe,showRightPanel:Be}=this.props;return r.createElement(i.$0,null,r.createElement(i.X2,{layout:xe},r.createElement(i.yX,{isStacked:xe===Gt.N.STACKED},r.createElement(vt.i6,null,r.createElement(Zn,{skipWriteOnly:!z,skipReadOnly:!C,schema:this.mediaModel.schema}))),Be?r.createElement(i.QN,null,r.createElement(vt.s$,null,r.createElement(Jo,{mediaType:this.mediaModel}))):null))}}},89642:(R,d,t)=>{"use strict";t.d(d,{ApiInfo:()=>o.RJ,ApiLogo:()=>o.vp,ContentItems:()=>o.Xn,DropdownOrLabel:()=>o.Cv,DropdownWrapper:()=>o.Z_,ErrorBoundary:()=>o.SV,JsonViewer:()=>o.he,Loading:()=>o.gb,Markdown:()=>o.UG,MediaTypesSwitch:()=>o.d4,MenuItem:()=>o.sN,MenuItemLabel:()=>o.i_,MenuItemPath:()=>o.E7,OptionsContext:()=>o.jI,OptionsProvider:()=>o.fM,PayloadSamples:()=>o.UY,ResponseDetails:()=>o.Tj,SchemaDefinition:()=>o.vG,SecurityDefs:()=>o.Bv,SideMenu:()=>o.fv,SourceCodeWithCopy:()=>o.yA,StickyResponsiveSidebar:()=>o.up,StoreContext:()=>o.xf,StoreProvider:()=>o.g3,yX:()=>r.yX,X2:()=>r.X2,QN:()=>r.QN,Lt:()=>r.Lt,xF:()=>r.xF,mB:()=>r.mB,aM:()=>r.aM,u:()=>r.u,GROUP_DEPTH:()=>i.GROUP_DEPTH,MarkerService:()=>i.MarkerService,RedocNormalizedOptions:()=>i.RedocNormalizedOptions,ResponseModel:()=>i.ResponseModel,ScrollService:()=>i.ScrollService,SearchStore:()=>i.Z,SpecStore:()=>i.SpecStore,argValueToBoolean:()=>i.argValueToBoolean,IS_BROWSER:()=>a.Qg,JsonPointer:()=>a.IB,SCHEMA_DEFINITION_JSX_NAME:()=>a.Ml,SECURITY_DEFINITIONS_COMPONENT_NAME:()=>a.B5,SECURITY_DEFINITIONS_JSX_NAME:()=>a.c7,SECURITY_SCHEMES_SECTION_PREFIX:()=>a.m$,createParsedDocument:()=>a.I2,flattenByProp:()=>a.PD,isOperationName:()=>a.eU,langFromMime:()=>a.M,loadAndBundleDefinition:()=>a.q2,querySelector:()=>a.R2,serializeParameterValue:()=>a.d$,ThemeProvider:()=>s.f6,ZERO_BREAKPOINT:()=>s.QU,createGlobalStyle:()=>s.vJ,css:()=>s.iv,mediaCSS:()=>s.QG,mediaMap:()=>s.gN,zo:()=>s.ZP});var o=t(38314),r=t(68069),i=t(99303);t.o(i,"IS_BROWSER")&&t.d(d,{IS_BROWSER:function(){return i.IS_BROWSER}}),t.o(i,"JsonPointer")&&t.d(d,{JsonPointer:function(){return i.JsonPointer}}),t.o(i,"SCHEMA_DEFINITION_JSX_NAME")&&t.d(d,{SCHEMA_DEFINITION_JSX_NAME:function(){return i.SCHEMA_DEFINITION_JSX_NAME}}),t.o(i,"SECURITY_DEFINITIONS_COMPONENT_NAME")&&t.d(d,{SECURITY_DEFINITIONS_COMPONENT_NAME:function(){return i.SECURITY_DEFINITIONS_COMPONENT_NAME}}),t.o(i,"SECURITY_DEFINITIONS_JSX_NAME")&&t.d(d,{SECURITY_DEFINITIONS_JSX_NAME:function(){return i.SECURITY_DEFINITIONS_JSX_NAME}}),t.o(i,"SECURITY_SCHEMES_SECTION_PREFIX")&&t.d(d,{SECURITY_SCHEMES_SECTION_PREFIX:function(){return i.SECURITY_SCHEMES_SECTION_PREFIX}}),t.o(i,"ThemeProvider")&&t.d(d,{ThemeProvider:function(){return i.ThemeProvider}}),t.o(i,"ZERO_BREAKPOINT")&&t.d(d,{ZERO_BREAKPOINT:function(){return i.ZERO_BREAKPOINT}}),t.o(i,"createGlobalStyle")&&t.d(d,{createGlobalStyle:function(){return i.createGlobalStyle}}),t.o(i,"createParsedDocument")&&t.d(d,{createParsedDocument:function(){return i.createParsedDocument}}),t.o(i,"css")&&t.d(d,{css:function(){return i.css}}),t.o(i,"flattenByProp")&&t.d(d,{flattenByProp:function(){return i.flattenByProp}}),t.o(i,"isOperationName")&&t.d(d,{isOperationName:function(){return i.isOperationName}}),t.o(i,"langFromMime")&&t.d(d,{langFromMime:function(){return i.langFromMime}}),t.o(i,"loadAndBundleDefinition")&&t.d(d,{loadAndBundleDefinition:function(){return i.loadAndBundleDefinition}}),t.o(i,"mediaCSS")&&t.d(d,{mediaCSS:function(){return i.mediaCSS}}),t.o(i,"mediaMap")&&t.d(d,{mediaMap:function(){return i.mediaMap}}),t.o(i,"querySelector")&&t.d(d,{querySelector:function(){return i.querySelector}}),t.o(i,"serializeParameterValue")&&t.d(d,{serializeParameterValue:function(){return i.serializeParameterValue}});var a=t(36038),s=t(23485)},23424:(R,d,t)=>{"use strict";t.d(d,{Y:()=>r});const o=typeof document!="undefined"&&document.queryCommandSupported&&document.queryCommandSupported("copy");class r{static isSupported(){return o}static selectElement(a){let s,h;document.body.createTextRange?(s=document.body.createTextRange(),s.moveToElementText(a),s.select()):document.createRange&&window.getSelection&&(h=window.getSelection(),s=document.createRange(),s.selectNodeContents(a),h.removeAllRanges(),h.addRange(s))}static deselect(){if(document.selection)document.selection.empty();else if(window.getSelection){const a=window.getSelection();a&&a.removeAllRanges()}}static copySelected(){let a;try{a=document.execCommand("copy")}catch(s){a=!1}return a}static copyElement(a){r.selectElement(a);const s=r.copySelected();return s&&r.deselect(),s}static copyCustom(a){const s=document.createElement("textarea");s.style.position="fixed",s.style.top="0",s.style.left="0",s.style.width="2em",s.style.height="2em",s.style.padding="0",s.style.border="none",s.style.outline="none",s.style.boxShadow="none",s.style.background="transparent",s.value=a,document.body.appendChild(s),s.select();const h=r.copySelected();return document.body.removeChild(s),h}}},94487:(R,d,t)=>{"use strict";t.d(d,{m:()=>O});var o=t(11851),r=t.n(o),i=t(26729),a=t.n(i),s=t(36038),h=Object.defineProperty,c=Object.getOwnPropertyDescriptor,l=(v,F,T)=>F in v?h(v,F,{enumerable:!0,configurable:!0,writable:!0,value:T}):v[F]=T,p=(v,F,T,_)=>{for(var A=_>1?void 0:_?c(F,T):F,S=v.length-1,x;S>=0;S--)(x=v[S])&&(A=(_?x(F,T,A):x(A))||A);return _&&A&&h(F,T,A),A},f=(v,F,T)=>(l(v,typeof F!="symbol"?F+"":F,T),T);const g="hashchange";class y{constructor(){f(this,"_emiter"),f(this,"basePath"),f(this,"emit",()=>{this._emiter.emit(g,this.currentId)}),this._emiter=new i.EventEmitter,this.bind()}get currentId(){return s.Qg?decodeURIComponent(window.location.hash.substring(1)):""}linkForId(F){return F?"#"+F:""}generateDeepLink(F,T){return""}subscribe(F){const T=this._emiter.addListener(g,F);return()=>T.removeListener(g,F)}bind(){s.Qg&&window.addEventListener("hashchange",this.emit,!1)}dispose(){s.Qg&&window.removeEventListener("hashchange",this.emit)}replace(F,T=!1){if(!!s.Qg&&!(F==null||F===this.currentId)){if(T){window.history.replaceState(null,"",window.location.href.split("#")[0]+this.linkForId(F));return}window.history.pushState(null,"",window.location.href.split("#")[0]+this.linkForId(F)),this.emit()}}replaceForField(F,T=!1){}}p([o.bind,o.debounce],y.prototype,"replace",1),p([o.bind,o.debounce],y.prototype,"replaceForField",1);const O=new y},51027:(R,d,t)=>{"use strict";t.d(d,{W:()=>r,l:()=>i});const o={enum:"Enum",enumSingleValue:"Value",enumArray:"Items",default:"Default",deprecated:"Deprecated",example:"Example",examples:"Examples",recursive:"Recursive",arrayOf:"Array of ",webhook:"Event",const:"Value",authorizations:"Security",tryItBody:"Body",tryItParameters:"Parameters",tryItAuth:"Security",tryItAuthBasicUsername:"Username",tryItAuthBasicPassword:"Password",download:"Download",downloadSpecification:"Download OpenAPI specification",request:"Request",responses:"Responses",callbackResponses:"Callback responses",callbacks:"Callbacks",requestSamples:"Request samples",responseSamples:"Response samples"};function r(a){Object.assign(o,a)}function i(a,s){const h=o[a];return s!==void 0?h[s]:h}},21190:(R,d,t)=>{"use strict";t.d(d,{B2:()=>A,$8:()=>S});var o=t(47084),r=t.n(o),i=t(36038),a=Object.defineProperty,s=Object.defineProperties,h=Object.getOwnPropertyDescriptors,c=Object.getOwnPropertySymbols,l=Object.prototype.hasOwnProperty,p=Object.prototype.propertyIsEnumerable,f=(w,N,I)=>N in w?a(w,N,{enumerable:!0,configurable:!0,writable:!0,value:I}):w[N]=I,g=(w,N)=>{for(var I in N||(N={}))l.call(N,I)&&f(w,I,N[I]);if(c)for(var I of c(N))p.call(N,I)&&f(w,I,N[I]);return w},y=(w,N)=>s(w,h(N)),O=(w,N,I)=>(f(w,typeof N!="symbol"?N+"":N,I),I);const v=new(r()).Renderer;r().setOptions({renderer:v,highlight:(w,N)=>(0,i.CH)(w,N)});const F="^ {0,3}<!-- ReDoc-Inject:\\s+?<({component}).*?/?>\\s+?-->\\s*$",T="(?:^ {0,3}<({component})([\\s\\S]*?)>([\\s\\S]*?)</\\2>|^ {0,3}<({component})([\\s\\S]*?)(?:/>|\\n{2,}))",_="(?:"+F+"|"+T+")";function A(w){return`<!-- ReDoc-Inject: <${w}> -->`}class S{constructor(N){this.options=N,O(this,"headings",[]),O(this,"currentTopHeading"),O(this,"headingEnhanceRenderer"),O(this,"originalHeadingRule"),O(this,"parser"),O(this,"headingRule",(I,$,m,W)=>{var L,X;return $===1?this.currentTopHeading=this.saveHeading(I,$):$===2&&this.saveHeading(I,$,(L=this.currentTopHeading)==null?void 0:L.items,(X=this.currentTopHeading)==null?void 0:X.id),this.originalHeadingRule(I,$,m,W)}),this.headingEnhanceRenderer=new(r()).Renderer,this.parser=new(r()).Parser,this.originalHeadingRule=this.headingEnhanceRenderer.heading.bind(this.headingEnhanceRenderer),this.headingEnhanceRenderer.heading=this.headingRule}static containsComponent(N,I){return new RegExp(_.replace(/{component}/g,I),"gmi").test(N)}static getTextBeforeHading(N,I){const $=N.search(new RegExp(`^(>\\s+##|##)?\\s+${I}`,"m"));return $>-1?N.substring(0,$):N}saveHeading(N,I,$=this.headings,m){N=(0,i.Lf)(N);const W={id:m?`${m}/${(0,i.bO)(N)}`:`section/${(0,i.bO)(N)}`,name:N,level:I,items:[]};return $.push(W),W}flattenHeadings(N){if(N===void 0)return[];const I=[];for(const $ of N)I.push($),I.push(...this.flattenHeadings($.items));return I}attachHeadingsDescriptions(N){const I=X=>new RegExp(`##?\\s+${X.name.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&")}`),$=this.flattenHeadings(this.headings);if($.length<1)return;let m=$[0],W=I(m),L=N.search(W);for(let X=1;X<$.length;X++){const ae=$[X],J=I(ae),De=N.substr(L+1).search(J)+L+1;m.description=N.substring(L,De).replace(W,"").trim(),m=ae,W=J,L=De}m.description=N.substring(L).replace(W,"").trim()}renderMd(N,I=!1){const $=I?{renderer:this.headingEnhanceRenderer}:void 0;return r()(N.toString(),$)}extractHeadings(N){this.renderMd(N,!0),this.attachHeadingsDescriptions(N);const I=this.headings;return this.headings=[],I}renderMdWithComponents(N){const I=this.options&&this.options.allowedMdComponents;if(!I||Object.keys(I).length===0)return[this.renderMd(N)];const $=Object.keys(I).join("|"),m=new RegExp(_.replace(/{component}/g,$),"mig"),W=[],L=[];let X=m.exec(N),ae=0;for(;X;){W.push(N.substring(ae,X.index)),ae=m.lastIndex;const De=X[1]||X[2]||X[5],Ae=I[De],we=X[3]||X[6],ie=X[4];Ae&&L.push({component:Ae.component,propsSelector:Ae.propsSelector,props:y(g(g({},x(we)),Ae.props),{children:ie})}),X=m.exec(N)}W.push(N.substring(ae));const J=[];for(let De=0;De<W.length;De++){const Ae=W[De];Ae&&J.push(this.renderMd(Ae)),L[De]&&J.push(L[De])}return J}}function x(w){if(!w)return{};const N=/([\w-]+)\s*=\s*(?:{([^}]+?)}|"([^"]+?)")/gim,I={};let $;for(;($=N.exec(w))!==null;)if($[3])I[$[1]]=$[3];else if($[2]){let m;try{m=JSON.parse($[2])}catch(W){}I[$[1]]=m}return I}},57180:(R,d,t)=>{"use strict";t.d(d,{u:()=>h});var o=t(813),r=t.n(o),i=Object.defineProperty,a=(c,l,p)=>l in c?i(c,l,{enumerable:!0,configurable:!0,writable:!0,value:p}):c[l]=p,s=(c,l,p)=>(a(c,typeof l!="symbol"?l+"":l,p),p);class h{constructor(){s(this,"map",new Map),s(this,"prevTerm","")}add(l){this.map.set(l,new(r())(l))}delete(l){this.map.delete(l)}addOnly(l){this.map.forEach((p,f)=>{l.indexOf(f)===-1&&(p.unmark(),this.map.delete(f))});for(const p of l)this.map.has(p)||this.map.set(p,new(r())(p))}clearAll(){this.unmark(),this.map.clear()}mark(l){!l&&!this.prevTerm||(this.map.forEach(p=>{p.unmark(),p.mark(l||this.prevTerm)}),this.prevTerm=l||this.prevTerm)}unmark(){this.map.forEach(l=>l.unmark()),this.prevTerm=""}}},34405:(R,d,t)=>{"use strict";t.d(d,{t:()=>O,r:()=>v});var o=t(36038),r=t(21190),i=t(5062),a=Object.defineProperty,s=Object.defineProperties,h=Object.getOwnPropertyDescriptors,c=Object.getOwnPropertySymbols,l=Object.prototype.hasOwnProperty,p=Object.prototype.propertyIsEnumerable,f=(F,T,_)=>T in F?a(F,T,{enumerable:!0,configurable:!0,writable:!0,value:_}):F[T]=_,g=(F,T)=>{for(var _ in T||(T={}))l.call(T,_)&&f(F,_,T[_]);if(c)for(var _ of c(T))p.call(T,_)&&f(F,_,T[_]);return F},y=(F,T)=>s(F,h(T));const O=0;class v{static buildStructure(T,_){const A=T.definition,S=[],x=v.getTagsWithOperations(T);return S.push(...v.addMarkdownItems(A.info.description||"",void 0,1,_)),A["x-tagGroups"]&&A["x-tagGroups"].length>0?S.push(...v.getTagGroupsItems(T,void 0,A["x-tagGroups"],x,_)):S.push(...v.getTagsItems(T,x,void 0,void 0,_)),S}static addMarkdownItems(T,_,A,S){const w=new r.$8(S).extractHeadings(T||"");w.length&&_&&_.description&&(_.description=r.$8.getTextBeforeHading(_.description,w[0].name));const N=(I,$,m=1)=>$.map(W=>{const L=new i.dZ("section",W,I);return L.depth=m,W.items&&(L.items=N(L,W.items,m+1)),r.$8.containsComponent(L.description||"",o.B5)&&(0,o.te)(L.id+"/"),L});return N(_,w,A)}static getTagGroupsItems(T,_,A,S,x){const w=[];for(const N of A){const I=new i.dZ("group",N,_);I.depth=O,I.items=v.getTagsItems(T,S,I,N,x),w.push(I)}return w}static getTagsItems(T,_,A,S,x){let w;S===void 0?w=Object.keys(_):w=S.tags;const N=w.map($=>_[$]?(_[$].used=!0,_[$]):(console.warn(`Non-existing tag "${$}" is added to the group "${S==null?void 0:S.name}"`),null)),I=[];for(const $ of N){if(!$)continue;const m=new i.dZ("tag",$,A);if(m.depth=O+1,$.name===""){const W=[...v.addMarkdownItems($.description||"",m,m.depth+1,x),...this.getOperationsItems(T,void 0,$,m.depth+1,x)];I.push(...W);continue}m.items=[...v.addMarkdownItems($.description||"",m,m.depth+1,x),...this.getOperationsItems(T,m,$,m.depth+1,x)],I.push(m)}return x.sortTagsAlphabetically&&I.sort((0,o.Bi)("name")),I}static getOperationsItems(T,_,A,S,x){if(A.operations.length===0)return[];const w=[];for(const N of A.operations){const I=new i.pk(T,N,_,x);I.depth=S,w.push(I)}return x.sortOperationsAlphabetically&&w.sort((0,o.Bi)("name")),w}static getTagsWithOperations(T){const _={},{definition:A}=T,S=A["x-webhooks"]||A.webhooks;for(const w of A.tags||[])_[w.name]=y(g({},w),{operations:[]});A.paths&&x(T,A.paths),S&&x(T,S,!0);function x(w,N,I){for(const $ of Object.keys(N||{})){const m=N[$],W=Object.keys(m).filter(o.eU);for(const L of W){const X=m[L];if(m.$ref){const J=w.deref(m);x(w,{[$]:J},I);continue}let ae=X==null?void 0:X.tags;(!ae||!ae.length)&&(ae=[""]);for(const J of ae){let De=_[J];De===void 0&&(De={name:J,operations:[]},_[J]=De),!De["x-traitTag"]&&De.operations.push(y(g({},X),{pathName:$,pointer:o.IB.compile(["paths",$,L]),httpVerb:L,pathParameters:m.parameters||[],pathServers:m.servers,isWebhook:!!I}))}}}}return _}}},71790:()=>{},54785:(R,d,t)=>{"use strict";t.d(d,{X:()=>A});var o=t(8575),r=t(36038),i=t(71796),a=t(21190),s=t(98906),h=Object.defineProperty,c=Object.defineProperties,l=Object.getOwnPropertyDescriptors,p=Object.getOwnPropertySymbols,f=Object.prototype.hasOwnProperty,g=Object.prototype.propertyIsEnumerable,y=(S,x,w)=>x in S?h(S,x,{enumerable:!0,configurable:!0,writable:!0,value:w}):S[x]=w,O=(S,x)=>{for(var w in x||(x={}))f.call(x,w)&&y(S,w,x[w]);if(p)for(var w of p(x))g.call(x,w)&&y(S,w,x[w]);return S},v=(S,x)=>c(S,l(x)),F=(S,x)=>{var w={};for(var N in S)f.call(S,N)&&x.indexOf(N)<0&&(w[N]=S[N]);if(S!=null&&p)for(var N of p(S))x.indexOf(N)<0&&g.call(S,N)&&(w[N]=S[N]);return w},T=(S,x,w)=>(y(S,typeof x!="symbol"?x+"":x,w),w);class _{constructor(){T(this,"_counter",{})}reset(){this._counter={}}visit(x){this._counter[x]=this._counter[x]?this._counter[x]+1:1}exit(x){this._counter[x]=this._counter[x]&&this._counter[x]-1}visited(x){return!!this._counter[x]}}class A{constructor(x,w,N=new s.V({})){this.options=N,T(this,"definitionUrl"),T(this,"definition"),T(this,"hasSecurityDefinitions",!1),T(this,"_refCounter",new _),T(this,"allowMergeRefs",!1),T(this,"byRef",$=>{let m;if(!!this.definition){$.charAt(0)!=="#"&&($="#"+$),$=decodeURIComponent($);try{m=i.I.get(this.definition,$)}catch(W){}return m||{}}}),this.validate(x),this.preprocess(x),this.definition=x,this.hasSecurityDefinitions=this.containsSecurity(x),this.allowMergeRefs=x.openapi.startsWith("3.1");const I=r.Qg?window.location.href:"";typeof w=="string"&&(this.definitionUrl=(0,o.resolve)(I,w))}validate(x){if(x.openapi===void 0)throw new Error("Document must be valid OpenAPI 3.0.0 definition")}containsSecurity(x){const w=x.info&&x.info.description||"";return a.$8.containsComponent(w,r.B5)||a.$8.containsComponent(w,r.c7)}preprocess(x){if(x.info&&this.options.hideInfoDescription){x.info.description="";return}if(!this.options.noAutoAuth&&x.info&&x.components&&x.components.securitySchemes){const w=x.info.description||"";if(!this.containsSecurity(x)){const N=(0,a.B2)(r.B5);x.info.description=(0,r.Rv)(w,"Authentication",N)}}}isRef(x){return x?x.$ref!==void 0&&x.$ref!==null:!1}resetVisited(){this._refCounter=new _}exitRef(x){!this.isRef(x)||this._refCounter.exit(x.$ref)}deref(x,w=!1,N=!1){if(this.isRef(x)){const I=(0,r.ft)(x.$ref);if(I&&this.options.ignoreNamedSchemas.has(I))return{type:"object",title:I};const $=this.byRef(x.$ref),m=this._refCounter.visited(x.$ref);if(this._refCounter.visit(x.$ref),m&&!w)return Object.assign({},$,{"x-circular-ref":!0});let W=$;return this.isRef($)&&(W=this.deref($,!1,N),this.exitRef($)),this.allowMergeRefs?this.mergeRefs(x,$,N):W}return x}mergeRefs(x,w,N){const I=x,{$ref:$}=I,m=F(I,["$ref"]),W=Object.keys(m);return W.length===0?w:N&&W.some(L=>L!=="description"&&L!=="title"&&L!=="externalDocs")?{allOf:[m,w]}:O(O({},w),m)}shallowDeref(x){if(this.isRef(x)){const w=(0,r.ft)(x.$ref);if(w&&this.options.ignoreNamedSchemas.has(w))return{type:"object",title:w};const N=this.byRef(x.$ref);return this.allowMergeRefs?this.mergeRefs(x,N,!1):N}return x}mergeAllOf(x,w,N=!1,I=new Set){var $;if(w&&I.add(w),x=this.hoistOneOfs(x),x.allOf===void 0)return x;let m=v(O({},x),{allOf:void 0,parentRefs:[],title:x.title||(0,r.ft)(w)});m.properties!==void 0&&typeof m.properties=="object"&&(m.properties=O({},m.properties)),m.items!==void 0&&typeof m.items=="object"&&(m.items=O({},m.items));const W=x.allOf.map(L=>{var X;if(L&&L.$ref&&I.has(L.$ref))return{$ref:L.$ref,schema:{"x-circular-ref":!0}};const ae=this.deref(L,N,!0),J=L.$ref||void 0,De=this.mergeAllOf(ae,J,N,I);return(X=m.parentRefs)==null||X.push(...De.parentRefs||[]),{$ref:J,schema:De}}).filter(L=>L!==void 0);for(const{$ref:L,schema:X}of W){if(m.type!==X.type&&m.type!==void 0&&X.type!==void 0&&console.warn(`Incompatible types in allOf at "${w}": "${m.type}" and "${X.type}"`),X.type!==void 0&&(m.type=X.type),X.properties!==void 0){m.properties=m.properties||{};for(const ae in X.properties)if(!m.properties[ae])m.properties[ae]=X.properties[ae];else{const J=this.mergeAllOf({allOf:[m.properties[ae],X.properties[ae]]},w+"/properties/"+ae);m.properties[ae]=J,this.exitParents(J)}}X.items!==void 0&&(m.items=m.items||{},m.items=this.mergeAllOf({allOf:[m.items,X.items]},w+"/items",!1,I)),X.required!==void 0&&(m.required=(m.required||[]).concat(X.required)),m=O(O({},X),m),L&&(($=m.parentRefs)==null||$.push(L),m.title===void 0&&(0,r.lE)(L))}return m}findDerived(x){const w={},N=this.definition.components&&this.definition.components.schemas||{};for(const I in N){const $=this.deref(N[I]);$.allOf!==void 0&&$.allOf.find(m=>m.$ref!==void 0&&x.indexOf(m.$ref)>-1)&&(w["#/components/schemas/"+I]=[$["x-discriminator-value"]||I])}return w}exitParents(x){for(const w of x.parentRefs||[])this.exitRef({$ref:w})}hoistOneOfs(x){if(x.allOf===void 0)return x;const w=x.allOf;for(let N=0;N<w.length;N++){const I=w[N];if(Array.isArray(I.oneOf)){const $=w.slice(0,N),m=w.slice(N+1);return{oneOf:I.oneOf.map(W=>{const L=this.mergeAllOf({allOf:[...$,W,...m]});return this.exitParents(L),L})}}}return x}}},98906:(R,d,t)=>{"use strict";t.d(d,{V:()=>W,m:()=>w});var o=t(68949),r=t(39895),i=t(61191);const s={spacing:{unit:5,sectionHorizontal:({spacing:L})=>L.unit*8,sectionVertical:({spacing:L})=>L.unit*4},breakpoints:{small:"50rem",medium:"85rem",large:"105rem"},colors:{tonalOffset:.2,primary:{main:"#0065FB",light:({colors:L})=>(0,r.$n)(L.tonalOffset,L.primary.main),dark:({colors:L})=>(0,r._j)(L.tonalOffset,L.primary.main),contrastText:({colors:L})=>(0,r.XV)(L.primary.main)},secondary:{main:"#E4E7EB",light:"#F5F7FA",dark:"#E4E7EB",contrastText:"#3E4C59"},accent:{main:"#59C3FF",light:"#b3dcf3",dark:"#033B73",contrastText:"#ffffff"},success:{main:"#41DE50",light:({colors:L})=>(0,r.$n)(L.tonalOffset*2,L.success.main),dark:({colors:L})=>(0,r._j)(L.tonalOffset,L.success.main),contrastText:({colors:L})=>(0,r.XV)(L.success.main)},warning:{main:"#ffa500",light:({colors:L})=>(0,r.$n)(L.tonalOffset,L.warning.main),dark:({colors:L})=>(0,r._j)(L.tonalOffset,L.warning.main),contrastText:"#ffffff"},error:{main:"#FF6161",light:({colors:L})=>(0,r.$n)(L.tonalOffset,L.error.main),dark:({colors:L})=>(0,r._j)(L.tonalOffset,L.error.main),contrastText:"#ffffff"},text:{primary:"#1F2933",secondary:"#7b8794",light:"#F5F7FA"},border:{dark:"#616E7C",light:"#E4E7EB"},responses:{success:{borderColor:"#B1E996",backgroundColor:"#F6FFF4",tabTextColor:({colors:L})=>L.responses.success.borderColor},error:{borderColor:"#FFC9C9",backgroundColor:"#FFF4F4",tabTextColor:({colors:L})=>L.responses.error.borderColor},redirect:{borderColor:({colors:L})=>L.warning.main,backgroundColor:({colors:L})=>(0,r.DZ)(.9,L.responses.redirect.borderColor),tabTextColor:({colors:L})=>L.responses.redirect.borderColor},info:{borderColor:"#87ceeb",backgroundColor:({colors:L})=>(0,r.DZ)(.9,L.responses.info.borderColor),tabTextColor:({colors:L})=>L.responses.info.borderColor}},http:{get:"#3A9601",post:"#0065FB",put:"#93527B",options:"#947014",patch:"#bf581d",delete:"#C83637",basic:"#707070",link:"#07818F",head:"#A23DAD"}},schema:{linesColor:L=>L.colors.border.light,defaultDetailsWidth:"70%",typeNameColor:L=>L.colors.text.secondary,typeTitleColor:L=>L.schema.typeNameColor,requireLabelColor:"#FF0000",labelsTextSize:"0.9em",nestingSpacing:"1em",nestedBackground:L=>L.colors.secondary.light,caretColor:({colors:L})=>L.text.primary,caretSize:"9px"},typography:{fontSize:"14px",lineHeight:"1.5em",fontWeightRegular:"400",fontWeightBold:"600",fontWeightLight:"300",fontFamily:"Source Sans Pro, sans-serif",smoothing:"antialiased",optimizeSpeed:!0,headings:{fontFamily:({typography:L})=>L.fontFamily,fontWeight:"700",lineHeight:"1.6em"},code:{fontSize:"13px",fontFamily:"Source Code Pro, monospace",lineHeight:({typography:L})=>L.lineHeight,fontWeight:({typography:L})=>L.fontWeightRegular,color:"#e53935",backgroundColor:"rgba(38, 50, 56, 0.05)",wrap:!1},links:{color:({colors:L})=>L.primary.main,visited:({typography:L})=>L.links.color,hover:({typography:L})=>(0,r.$n)(.2,L.links.color),textDecoration:"auto"},fieldName:{fontSize:({typography:L})=>L.code.fontSize,fontFamily:({typography:L})=>L.code.fontFamily,fontWeight:({typography:L})=>L.code.fontWeight}},sidebar:{separatorLabelColor:({sidebar:L})=>L.textColor,separatorLineColor:"#DADADA",caretColor:({sidebar:L})=>L.textColor,caretSize:({sidebar:L})=>L.spacing.unit,spacing:{unit:8,paddingHorizontal:({sidebar:L})=>L.spacing.unit,paddingVertical:({sidebar:L})=>L.spacing.unit,offsetTop:({sidebar:L})=>L.spacing.unit*2,offsetLeft:({sidebar:L})=>L.spacing.unit*2,offsetNesting:({sidebar:L})=>L.spacing.unit*2},borderRadius:"4px",fontFamily:({typography:L})=>L.fontFamily,fontSize:({typography:L})=>L.fontSize,showAtBreakpoint:"small",width:"285px",backgroundColor:"#fff",rightLineColor:L=>L.colors.border.light,textColor:L=>L.colors.text.primary,activeTextColor:L=>L.sidebar.textColor,activeBgColor:L=>L.colors.border.light},components:{buttons:{borderRadius:({shape:L})=>L.borderRadius,hoverStyle:"",fontWeight:({typography:L})=>L.fontWeightBold,boxShadow:"none",hoverBoxShadow:"0px 0px 12px 0px rgba(0, 0, 0, 0.1)",fontFamily:"inherit",sizes:{small:{fontSize:"12px",padding:"8px 10px",minWidth:"90px"},medium:{fontSize:"14px",padding:"8px 20px",minWidth:"120px"},large:{fontSize:"14px",padding:"12px 24px",minWidth:"150px"},xlarge:{fontSize:"16px",padding:"20px 24px",minWidth:"200px"}}},httpBadges:{borderRadius:"16px",fontFamily:({typography:L})=>L.code.fontFamily,fontWeight:({typography:L})=>L.fontWeightBold,color:({colors:L})=>L.text.light,sizes:{medium:{fontSize:"12px",lineHeight:"20px"},small:{fontSize:"8px",lineHeight:"15px"}}},tryItButton:{fullWidth:!1},tryItSendButton:{fullWidth:!1},panels:{borderRadius:"8px",backgroundColor:"#fff"},layoutControls:{top:"20px",width:"36px",height:"36px"}},logo:{maxHeight:({sidebar:L})=>L.width,maxWidth:({sidebar:L})=>L.width,gutter:"2px"},rightPanel:{showAtBreakpoint:"medium",backgroundColor:"#1F2933",panelBackgroundColor:"#52606D",panelControlsBackgroundColor:"#323F4B",width:"37.5%",textColor:"#ffffff"},codeBlock:{backgroundColor:({rightPanel:L})=>L.panelControlsBackgroundColor},shape:{borderRadius:"4px"},layout:{showDarkRightPanel:!1,stacked:{maxWidth:{[i.QU]:"",small:"90%",medium:"75%",large:"1200px"}},"three-panel":{middlePanelMaxWidth:"none",maxWidth:{[i.QU]:"100%",small:"100%",medium:"100%",large:"1800px"}}}};function h(L){const X={};let ae=0;const J=(De,Ae)=>{Object.keys(De).forEach(we=>{const ie=(Ae?Ae+".":"")+we,be=De[we];typeof be=="function"?Object.defineProperty(De,we,{get(){if(!X[ie]){if(ae++,ae>1e3)throw new Error(`Theme probably contains circular dependency at ${ie}: ${be.toString()}`);X[ie]=be(L)}return X[ie]},enumerable:!0}):typeof be=="object"&&J(be,ie)})};return J(L,""),JSON.parse(JSON.stringify(L))}var c=t(36038),l=t(51027),p=Object.defineProperty,f=Object.defineProperties,g=Object.getOwnPropertyDescriptor,y=Object.getOwnPropertyDescriptors,O=Object.getOwnPropertySymbols,v=Object.prototype.hasOwnProperty,F=Object.prototype.propertyIsEnumerable,T=(L,X,ae)=>X in L?p(L,X,{enumerable:!0,configurable:!0,writable:!0,value:ae}):L[X]=ae,_=(L,X)=>{for(var ae in X||(X={}))v.call(X,ae)&&T(L,ae,X[ae]);if(O)for(var ae of O(X))F.call(X,ae)&&T(L,ae,X[ae]);return L},A=(L,X)=>f(L,y(X)),S=(L,X,ae,J)=>{for(var De=J>1?void 0:J?g(X,ae):X,Ae=L.length-1,we;Ae>=0;Ae--)(we=L[Ae])&&(De=(J?we(X,ae,De):we(De))||De);return J&&De&&p(X,ae,De),De},x=(L,X,ae)=>(T(L,typeof X!="symbol"?X+"":X,ae),ae);function w(L,X){return L===void 0?X||!1:typeof L=="string"?L!=="false":L}function N(L){if(typeof L=="string")return parseInt(L,10);if(typeof L=="number")return L}function I(L){if(typeof L=="string")return parseInt(L,10);if(typeof L=="number")return Math.ceil(L)}function $(L,X=0){return L==="all"?1/0:I(L)||X}const m=class{constructor(L,X={}){x(this,"theme"),x(this,"scrollYOffset"),x(this,"hideHostname"),x(this,"hideInfoDescription"),x(this,"expandResponses"),x(this,"requiredPropsFirst"),x(this,"sortPropsAlphabetically"),x(this,"sortEnumValuesAlphabetically"),x(this,"sortOperationsAlphabetically"),x(this,"sortTagsAlphabetically"),x(this,"noAutoAuth"),x(this,"nativeScrollbars"),x(this,"pathInMiddlePanel"),x(this,"untrustedDefinition"),x(this,"hideDownloadButton"),x(this,"disableSearch"),x(this,"showChangeLayoutButton"),x(this,"onlyRequiredInSamples"),x(this,"showConsole"),x(this,"sendXUserAgentInTryIt"),x(this,"generatedPayloadSamplesMaxDepth"),x(this,"showExtensions"),x(this,"hideSingleRequestSampleTab"),x(this,"hideRequestPayloadSample"),x(this,"menuToggle"),x(this,"jsonSampleExpandLevel"),x(this,"enumSkipQuotes"),x(this,"hideSchemaTitles"),x(this,"simpleOneOfTypeLabel"),x(this,"payloadSampleIdx"),x(this,"expandSingleSchemaField"),x(this,"schemaExpansionLevel"),x(this,"samplesTabsMaxCount"),x(this,"unstable_tryItButtonOverride"),x(this,"allowedMdComponents"),x(this,"expandDefaultServerVariables"),x(this,"maxDisplayedEnumValues"),x(this,"ignoreNamedSchemas"),x(this,"unstable_ignoreMimeParameters"),x(this,"unstable_externalCodeSamples"),x(this,"hooks"),x(this,"hideSchemaPattern"),x(this,"hideOneOfDescription");var ae,J,De,Ae,we,ie;(0,o.rC)(this),L=_(_({},X),L);const be=(ae=L.theme)==null?void 0:ae.extensionsHook;((J=L.theme)==null?void 0:J.menu)&&!((De=L.theme)==null?void 0:De.sidebar)&&(console.warn('Theme setting "menu" is deprecated. Rename to "sidebar"'),L.theme.sidebar=L.theme.menu),((Ae=L.theme)==null?void 0:Ae.codeSample)&&!((we=L.theme)==null?void 0:we.codeBlock)&&(console.warn('Theme setting "codeSample" is deprecated. Rename to "codeBlock"'),L.theme.codeBlock=L.theme.codeSample),this.theme=h((0,c.PM)({},s,A(_({},L.theme),{extensionsHook:void 0}))),this.theme.mediaQueries={print:"@media print"};for(const[te,he]of Object.entries(this.theme.breakpoints))this.theme.mediaQueries[te]=`@media screen and (min-width: ${he})`;this.theme.extensionsHook=be,(0,l.W)(L.labels),this.scrollYOffset=m.normalizeScrollYOffset(L.scrollYOffset),this.hideHostname=m.normalizeHideHostname(L.hideHostname),this.expandResponses=m.normalizeExpandResponses(L.expandResponses),this.requiredPropsFirst=w(L.requiredPropsFirst),this.sortPropsAlphabetically=w(L.sortPropsAlphabetically),this.sortEnumValuesAlphabetically=w(L.sortEnumValuesAlphabetically),this.sortOperationsAlphabetically=w(L.sortOperationsAlphabetically),this.sortTagsAlphabetically=w(L.sortTagsAlphabetically),this.noAutoAuth=w(L.noAutoAuth),this.nativeScrollbars=w(L.nativeScrollbars),this.pathInMiddlePanel=w(L.pathInMiddlePanel),this.untrustedDefinition=w(L.untrustedDefinition),this.hideDownloadButton=w(L.hideDownloadButton),this.hideInfoDescription=w(L.hideInfoDescription),this.disableSearch=w(L.disableSearch),this.onlyRequiredInSamples=w(L.onlyRequiredInSamples),this.generatedPayloadSamplesMaxDepth=I(L.generatedPayloadSamplesMaxDepth)||8,this.sendXUserAgentInTryIt=w(L.sendXUserAgentInTryIt),this.showExtensions=m.normalizeShowExtensions(L.showExtensions),this.hideSingleRequestSampleTab=w(L.hideSingleRequestSampleTab),this.hideRequestPayloadSample=w(L.hideRequestPayloadSample),this.menuToggle=w(L.menuToggle,!0),this.jsonSampleExpandLevel=$(L.jsonSampleExpandLevel,2),this.enumSkipQuotes=w(L.enumSkipQuotes),this.hideSchemaTitles=w(L.hideSchemaTitles),this.simpleOneOfTypeLabel=w(L.simpleOneOfTypeLabel),this.payloadSampleIdx=m.normalizePayloadSampleIdx(L.payloadSampleIdx),this.expandSingleSchemaField=w(L.expandSingleSchemaField),this.schemaExpansionLevel=$(L.schemaExpansionLevel),this.samplesTabsMaxCount=I(L.samplesTabsMaxCount)||5,this.unstable_tryItButtonOverride=L.unstable_tryItButtonOverride||null,this.unstable_ignoreMimeParameters=w(L.unstable_ignoreMimeParameters),this.allowedMdComponents=L.allowedMdComponents||{},this.expandDefaultServerVariables=w(L.expandDefaultServerVariables),this.maxDisplayedEnumValues=N(L.maxDisplayedEnumValues);const re=Array.isArray(L.ignoreNamedSchemas)?L.ignoreNamedSchemas:(ie=L.ignoreNamedSchemas)==null?void 0:ie.split(",").map(te=>te.trim());this.ignoreNamedSchemas=new Set(re),this.unstable_externalCodeSamples=L.unstable_externalCodeSamples||[],this.hooks=L.hooks||{},this.hooks.ReplaceTryItAuthPanel&&!this.hooks.ReplaceTryItSecurityPanel&&(console.warn("[warn] ReplaceTryItAuthPanel is deprecated, use ReplaceTryItSecurityPanel instead"),this.hooks.ReplaceTryItSecurityPanel=this.hooks.ReplaceTryItAuthPanel),this.hideSchemaPattern=w(L.hideSchemaPattern),this.hideOneOfDescription=w(L.hideOneOfDescription)}static normalizeExpandResponses(L){if(L==="all")return"all";if(typeof L=="string"){const X={};return L.split(",").forEach(ae=>{X[ae.trim()]=!0}),X}else L!==void 0&&console.warn(`expandResponses must be a string but received value "${L}" of type ${typeof L}`);return{}}static normalizeHideHostname(L){return!!L}static normalizeScrollYOffset(L){if(typeof L=="string"&&!(0,c.kE)(L)){const X=(0,c.R2)(L);X||console.warn("scrollYOffset value is a selector to non-existing element. Using offset 0 by default");const ae=X&&X.getBoundingClientRect().bottom||0;return()=>ae}else{if(typeof L=="number"||(0,c.kE)(L))return()=>typeof L=="number"?L:parseFloat(L);if(typeof L=="function")return()=>{const X=L();return typeof X!="number"&&console.warn(`scrollYOffset should return number but returned value "${X}" of type ${typeof X}`),X};L!==void 0&&console.warn("Wrong value for scrollYOffset ReDoc option: should be string, number or function")}return()=>0}static normalizeShowExtensions(L){if(typeof L=="undefined")return!1;if(L==="")return!0;if(typeof L!="string")return L;switch(L){case"true":return!0;case"false":return!1;default:return L.split(",").map(X=>X.trim())}}static normalizePayloadSampleIdx(L){return typeof L=="number"?Math.max(0,L):typeof L=="string"&&isFinite(L)?parseInt(L,10):0}};let W=m;S([o.LO],W.prototype,"showConsole",2)},43339:(R,d,t)=>{"use strict";t.d(d,{a:()=>y});var o=t(11851),r=t.n(o),i=t(26729),a=t.n(i),s=t(36038),h=Object.defineProperty,c=Object.getOwnPropertyDescriptor,l=(O,v,F)=>v in O?h(O,v,{enumerable:!0,configurable:!0,writable:!0,value:F}):O[v]=F,p=(O,v,F,T)=>{for(var _=T>1?void 0:T?c(v,F):v,A=O.length-1,S;A>=0;A--)(S=O[A])&&(_=(T?S(v,F,_):S(_))||_);return T&&_&&h(v,F,_),_},f=(O,v,F)=>(l(O,typeof v!="symbol"?v+"":v,F),F);const g="scroll";class y{constructor(v){this.options=v,f(this,"_scrollParent"),f(this,"_emitter"),f(this,"_prevOffsetY",0),this._scrollParent=s.Qg?window:void 0,this._emitter=new(a()),this.bind()}set prevOffsetY(v){this._prevOffsetY=v}bind(){this._prevOffsetY=this.scrollY(),this._scrollParent&&this._scrollParent.addEventListener(g,this.handleScroll)}dispose(){this._scrollParent&&this._scrollParent.removeEventListener(g,this.handleScroll),this._emitter.removeAllListeners(g)}scrollY(){return typeof HTMLElement!="undefined"&&this._scrollParent instanceof HTMLElement?this._scrollParent.scrollTop:this._scrollParent!==void 0?this._scrollParent.pageYOffset:0}isElementBellow(v){if(v!==null)return v.getBoundingClientRect().top>this.options.scrollYOffset()}isElementAbove(v){if(v===null)return;const F=v.getBoundingClientRect().top;return(F>0?Math.floor(F):Math.ceil(F))<=this.options.scrollYOffset()}subscribe(v){const F=this._emitter.addListener(g,v);return()=>F.removeListener(g,v)}scrollIntoView(v,F){if(v!==null&&(v.scrollIntoView(F),this._scrollParent&&this._scrollParent.scrollBy)){const[T,_]=[0,-Math.floor(this.options.scrollYOffset())];this._scrollParent.scrollBy(T,_)}}scrollIntoViewBySelector(v,F){const T=(0,s.R2)(v);this.scrollIntoView(T,F)}handleScroll(){const F=this.scrollY()-this._prevOffsetY>0;this._prevOffsetY=this.scrollY(),this._emitter.emit(g,F)}}p([o.bind,(0,s.Xo)(100)],y.prototype,"handleScroll",1)},22404:(R,d,t)=>{"use strict";t.d(d,{Z:()=>c});var o=t(52385),r=Object.defineProperty,i=(l,p,f)=>p in l?r(l,p,{enumerable:!0,configurable:!0,writable:!0,value:f}):l[p]=f,a=(l,p,f)=>(i(l,typeof p!="symbol"?p+"":p,f),f),s=(l,p,f)=>new Promise((g,y)=>{var O=T=>{try{F(f.next(T))}catch(_){y(_)}},v=T=>{try{F(f.throw(T))}catch(_){y(_)}},F=T=>T.done?g(T.value):Promise.resolve(T.value).then(O,v);F((f=f.apply(l,p)).next())});function h(){let l;if(o.Qg)try{l=t(83567)}catch(p){l=t(20027).ZP}else l=t(20027).ZP;return new l}class c{constructor(){a(this,"searchWorker",h())}indexItems(p){const f=g=>{g.forEach(y=>{y.type!=="group"&&this.add(y.name,y.description||"",y.id),f(y.items)})};f(p),this.searchWorker.done()}add(p,f,g){this.searchWorker.add(p,f,g)}dispose(){this.searchWorker.terminate(),this.searchWorker.dispose()}search(p){return this.searchWorker.search(p)}toJS(){return s(this,null,function*(){return this.searchWorker.toJS()})}load(p){this.searchWorker.load(p)}fromExternalJS(p,f){p&&f&&this.searchWorker.fromExternalJS(p,f)}}},20027:(R,d,t)=>{"use strict";t.d(d,{ZP:()=>c});var o=t(31336),r=t.n(o),i=Object.defineProperty,a=(w,N,I)=>N in w?i(w,N,{enumerable:!0,configurable:!0,writable:!0,value:I}):w[N]=I,s=(w,N,I)=>(a(w,typeof N!="symbol"?N+"":N,I),I),h=(w,N,I)=>new Promise(($,m)=>{var W=ae=>{try{X(I.next(ae))}catch(J){m(J)}},L=ae=>{try{X(I.throw(ae))}catch(J){m(J)}},X=ae=>ae.done?$(ae.value):Promise.resolve(ae.value).then(W,L);X((I=I.apply(w,N)).next())});class c{constructor(){s(this,"add",v),s(this,"done",F),s(this,"search",x),s(this,"toJS",T),s(this,"load",A),s(this,"dispose",S),s(this,"fromExternalJS",_)}}let l=[];o.tokenizer.separator=/\s+/;let p,f,g;function y(){p=new o.Builder,p.field("title"),p.field("description"),p.ref("ref"),p.pipeline.add(o.trimmer,o.stopWordFilter,o.stemmer),g=new Promise(w=>{f=w})}y();const O=w=>"*"+o.stemmer(new o.Token(w,{}))+"*";function v(w,N,I){const $=l.push(I)-1,m={title:w.toLowerCase(),description:N.toLowerCase(),ref:$};p.add(m)}function F(){return h(this,null,function*(){f(p.build())})}function T(){return h(this,null,function*(){return{store:l,index:(yield g).toJSON()}})}function _(w,N){return h(this,null,function*(){try{if(importScripts(w),!self[N])throw new Error("Broken index file format");yield A(self[N])}catch(I){console.error("Failed to load search index: "+I.message)}})}function A(w){return h(this,null,function*(){l=w.store,f(o.Index.load(w.index))})}function S(){return h(this,null,function*(){l=[],y()})}function x(w,N=0){return h(this,null,function*(){if(w.trim().length===0)return[];let I=(yield g).query($=>{w.trim().toLowerCase().split(/\s+/).forEach(m=>{if(m.length===1)return;const W=O(m);$.term(W,{})})});return N>0&&(I=I.slice(0,N)),I.map($=>({meta:l[$.ref],score:$.score}))})}},30960:(R,d,t)=>{"use strict";t.d(d,{p:()=>g});var o=t(34405),r=t(5062),i=t(54785),a=Object.defineProperty,s=Object.getOwnPropertySymbols,h=Object.prototype.hasOwnProperty,c=Object.prototype.propertyIsEnumerable,l=(y,O,v)=>O in y?a(y,O,{enumerable:!0,configurable:!0,writable:!0,value:v}):y[O]=v,p=(y,O)=>{for(var v in O||(O={}))h.call(O,v)&&l(y,v,O[v]);if(s)for(var v of s(O))c.call(O,v)&&l(y,v,O[v]);return y},f=(y,O,v)=>(l(y,typeof O!="symbol"?O+"":O,v),v);class g{constructor(O,v,F){this.options=F,f(this,"parser"),f(this,"info"),f(this,"externalDocs"),f(this,"contentItems"),f(this,"securitySchemes"),f(this,"webhooks");var T,_,A;this.parser=new i.X(O,v,F),this.info=new r.Vg(this.parser),this.externalDocs=this.parser.definition.externalDocs,this.contentItems=o.r.buildStructure(this.parser,this.options),this.securitySchemes=new r.l2(this.parser);const S=p(p({},(_=(T=this.parser)==null?void 0:T.definition)==null?void 0:_["x-webhooks"]),(A=this.parser)==null?void 0:A.definition.webhooks);this.webhooks=new r.tf(this.parser,F,S)}}},13303:(R,d,t)=>{"use strict";t.d(d,{E:()=>o});const o="data-section-id",r="data-field-id"},99303:(R,d,t)=>{"use strict";t.d(d,{MarkdownRenderer:()=>r.$8,ScrollService:()=>s.a,SpecStore:()=>h.p,ClipboardService:()=>c.Y,MediaTypeModel:()=>p.$b,OperationModel:()=>p.pk,ResponseModel:()=>p.Cg,isPayloadSample:()=>p.G2,RedocNormalizedOptions:()=>f.V,argValueToBoolean:()=>f.m,GROUP_DEPTH:()=>g.t,Z:()=>y.Z,MarkerService:()=>O.u});var o=t(54785),r=t(21190),i=t(71790),a=t.n(i);t.o(i,"ClipboardService")&&t.d(d,{ClipboardService:function(){return i.ClipboardService}}),t.o(i,"GROUP_DEPTH")&&t.d(d,{GROUP_DEPTH:function(){return i.GROUP_DEPTH}}),t.o(i,"IS_BROWSER")&&t.d(d,{IS_BROWSER:function(){return i.IS_BROWSER}}),t.o(i,"JsonPointer")&&t.d(d,{JsonPointer:function(){return i.JsonPointer}}),t.o(i,"MarkerService")&&t.d(d,{MarkerService:function(){return i.MarkerService}}),t.o(i,"MediaTypeModel")&&t.d(d,{MediaTypeModel:function(){return i.MediaTypeModel}}),t.o(i,"OperationModel")&&t.d(d,{OperationModel:function(){return i.OperationModel}}),t.o(i,"RedocNormalizedOptions")&&t.d(d,{RedocNormalizedOptions:function(){return i.RedocNormalizedOptions}}),t.o(i,"ResponseModel")&&t.d(d,{ResponseModel:function(){return i.ResponseModel}}),t.o(i,"SCHEMA_DEFINITION_JSX_NAME")&&t.d(d,{SCHEMA_DEFINITION_JSX_NAME:function(){return i.SCHEMA_DEFINITION_JSX_NAME}}),t.o(i,"SECURITY_DEFINITIONS_COMPONENT_NAME")&&t.d(d,{SECURITY_DEFINITIONS_COMPONENT_NAME:function(){return i.SECURITY_DEFINITIONS_COMPONENT_NAME}}),t.o(i,"SECURITY_DEFINITIONS_JSX_NAME")&&t.d(d,{SECURITY_DEFINITIONS_JSX_NAME:function(){return i.SECURITY_DEFINITIONS_JSX_NAME}}),t.o(i,"SECURITY_SCHEMES_SECTION_PREFIX")&&t.d(d,{SECURITY_SCHEMES_SECTION_PREFIX:function(){return i.SECURITY_SCHEMES_SECTION_PREFIX}}),t.o(i,"ScrollService")&&t.d(d,{ScrollService:function(){return i.ScrollService}}),t.o(i,"SpecStore")&&t.d(d,{SpecStore:function(){return i.SpecStore}}),t.o(i,"ThemeProvider")&&t.d(d,{ThemeProvider:function(){return i.ThemeProvider}}),t.o(i,"ZERO_BREAKPOINT")&&t.d(d,{ZERO_BREAKPOINT:function(){return i.ZERO_BREAKPOINT}}),t.o(i,"argValueToBoolean")&&t.d(d,{argValueToBoolean:function(){return i.argValueToBoolean}}),t.o(i,"createGlobalStyle")&&t.d(d,{createGlobalStyle:function(){return i.createGlobalStyle}}),t.o(i,"createParsedDocument")&&t.d(d,{createParsedDocument:function(){return i.createParsedDocument}}),t.o(i,"css")&&t.d(d,{css:function(){return i.css}}),t.o(i,"flattenByProp")&&t.d(d,{flattenByProp:function(){return i.flattenByProp}}),t.o(i,"isOperationName")&&t.d(d,{isOperationName:function(){return i.isOperationName}}),t.o(i,"isPayloadSample")&&t.d(d,{isPayloadSample:function(){return i.isPayloadSample}}),t.o(i,"langFromMime")&&t.d(d,{langFromMime:function(){return i.langFromMime}}),t.o(i,"loadAndBundleDefinition")&&t.d(d,{loadAndBundleDefinition:function(){return i.loadAndBundleDefinition}}),t.o(i,"mediaCSS")&&t.d(d,{mediaCSS:function(){return i.mediaCSS}}),t.o(i,"mediaMap")&&t.d(d,{mediaMap:function(){return i.mediaMap}}),t.o(i,"querySelector")&&t.d(d,{querySelector:function(){return i.querySelector}}),t.o(i,"serializeParameterValue")&&t.d(d,{serializeParameterValue:function(){return i.serializeParameterValue}});var s=t(43339),h=t(30960),c=t(23424),l=t(94487),p=t(5062),f=t(98906),g=t(34405),y=t(22404),O=t(57180)},5062:(R,d,t)=>{"use strict";t.d(d,{Vg:()=>an,dZ:()=>f,$b:()=>ir,pk:()=>Ur,Cg:()=>Ge,l2:()=>On,tf:()=>vr,G2:()=>Wr});var o=t(30960),r=t(68949),i=t(36038),a=t(21190),s=Object.defineProperty,h=Object.getOwnPropertyDescriptor,c=(Ke,ve,ge)=>ve in Ke?s(Ke,ve,{enumerable:!0,configurable:!0,writable:!0,value:ge}):Ke[ve]=ge,l=(Ke,ve,ge,$t)=>{for(var it=$t>1?void 0:$t?h(ve,ge):ve,Tt=Ke.length-1,Yt;Tt>=0;Tt--)(Yt=Ke[Tt])&&(it=($t?Yt(ve,ge,it):Yt(it))||it);return $t&&it&&s(ve,ge,it),it},p=(Ke,ve,ge)=>(c(Ke,typeof ve!="symbol"?ve+"":ve,ge),ge);class f{constructor(ve,ge,$t){p(this,"id"),p(this,"absoluteIdx"),p(this,"name"),p(this,"description"),p(this,"type"),p(this,"items",[]),p(this,"parent"),p(this,"externalDocs"),p(this,"active",!1),p(this,"expanded",!1),p(this,"depth"),p(this,"level"),(0,r.rC)(this),this.id=ge.id||ve+"/"+(0,i.bO)(ge.name),this.type=ve,this.name=ge["x-displayName"]||ge.name,this.level=ge.level||1,this.description=ge.description||"";const it=ge.items;it&&it.length&&(this.description=a.$8.getTextBeforeHading(this.description,it[0].name)),this.parent=$t,this.externalDocs=ge.externalDocs,this.type==="group"&&(this.expanded=!0)}activate(){this.active=!0}expand(){this.parent&&this.parent.expand(),this.expanded=!0}collapse(){this.type!=="group"&&(this.expanded=!1)}deactivate(){this.active=!1}}l([r.LO],f.prototype,"active",2),l([r.LO],f.prototype,"expanded",2),l([r.aD],f.prototype,"activate",1),l([r.aD],f.prototype,"expand",1),l([r.aD],f.prototype,"collapse",1),l([r.aD],f.prototype,"deactivate",1);var g=Object.defineProperty,y=Object.defineProperties,O=Object.getOwnPropertyDescriptors,v=Object.getOwnPropertySymbols,F=Object.prototype.hasOwnProperty,T=Object.prototype.propertyIsEnumerable,_=(Ke,ve,ge)=>ve in Ke?g(Ke,ve,{enumerable:!0,configurable:!0,writable:!0,value:ge}):Ke[ve]=ge,A=(Ke,ve)=>{for(var ge in ve||(ve={}))F.call(ve,ge)&&_(Ke,ge,ve[ge]);if(v)for(var ge of v(ve))T.call(ve,ge)&&_(Ke,ge,ve[ge]);return Ke},S=(Ke,ve)=>y(Ke,O(ve)),x=(Ke,ve,ge)=>(_(Ke,typeof ve!="symbol"?ve+"":ve,ge),ge);class w{constructor(ve,ge){x(this,"schemes");const $t=ge.definition.components&&ge.definition.components.securitySchemes||{};this.schemes=Object.keys(ve||{}).map(it=>{const Tt=ge.deref($t[it]),Yt=ve[it]||[];if(!Tt){console.warn(`Non existing security scheme referenced: ${it}. Skipping`);return}return S(A({},Tt),{id:it,sectionId:i.m$+it,scopes:Yt})}).filter(it=>it!==void 0)}}var N=Object.defineProperty,I=Object.defineProperties,$=Object.getOwnPropertyDescriptor,m=Object.getOwnPropertyDescriptors,W=Object.getOwnPropertySymbols,L=Object.prototype.hasOwnProperty,X=Object.prototype.propertyIsEnumerable,ae=(Ke,ve,ge)=>ve in Ke?N(Ke,ve,{enumerable:!0,configurable:!0,writable:!0,value:ge}):Ke[ve]=ge,J=(Ke,ve)=>{for(var ge in ve||(ve={}))L.call(ve,ge)&&ae(Ke,ge,ve[ge]);if(W)for(var ge of W(ve))X.call(ve,ge)&&ae(Ke,ge,ve[ge]);return Ke},De=(Ke,ve)=>I(Ke,m(ve)),Ae=(Ke,ve,ge,$t)=>{for(var it=$t>1?void 0:$t?$(ve,ge):ve,Tt=Ke.length-1,Yt;Tt>=0;Tt--)(Yt=Ke[Tt])&&(it=($t?Yt(ve,ge,it):Yt(it))||it);return $t&&it&&N(ve,ge,it),it},we=(Ke,ve,ge)=>(ae(Ke,typeof ve!="symbol"?ve+"":ve,ge),ge);class ie{constructor(ve,ge,$t,it,Tt){we(this,"expanded",!1),we(this,"name"),we(this,"operations",[]),(0,r.rC)(this),this.name=ge;const Yt=ve.deref($t);ve.exitRef($t);for(const xr of Object.keys(Yt)){const wt=Yt[xr],Fr=Object.keys(wt).filter(i.eU);for(const lt of Fr){const wr=wt[lt],Ar=new Ur(ve,De(J({},wr),{pathName:xr,pointer:i.IB.compile([it,ge,xr,lt]),httpVerb:lt,pathParameters:wt.parameters||[],pathServers:wt.servers}),void 0,Tt,!0);this.operations.push(Ar)}}}toggle(){this.expanded=!this.expanded}}Ae([r.LO],ie.prototype,"expanded",2),Ae([r.aD],ie.prototype,"toggle",1);var be=t(51027),re=Object.defineProperty,te=Object.defineProperties,he=Object.getOwnPropertyDescriptor,Ie=Object.getOwnPropertyDescriptors,$e=Object.getOwnPropertySymbols,ue=Object.prototype.hasOwnProperty,Xe=Object.prototype.propertyIsEnumerable,q=(Ke,ve,ge)=>ve in Ke?re(Ke,ve,{enumerable:!0,configurable:!0,writable:!0,value:ge}):Ke[ve]=ge,Ue=(Ke,ve)=>{for(var ge in ve||(ve={}))ue.call(ve,ge)&&q(Ke,ge,ve[ge]);if($e)for(var ge of $e(ve))Xe.call(ve,ge)&&q(Ke,ge,ve[ge]);return Ke},et=(Ke,ve)=>te(Ke,Ie(ve)),at=(Ke,ve,ge,$t)=>{for(var it=$t>1?void 0:$t?he(ve,ge):ve,Tt=Ke.length-1,Yt;Tt>=0;Tt--)(Yt=Ke[Tt])&&(it=($t?Yt(ve,ge,it):Yt(it))||it);return $t&&it&&re(ve,ge,it),it},yt=(Ke,ve,ge)=>(q(Ke,typeof ve!="symbol"?ve+"":ve,ge),ge);const Nt=class{constructor(Ke,ve,ge,$t,it=!1,Tt,Yt={}){this.parser=Ke,this.options=$t,this.parent=Tt,this.deps=Yt,yt(this,"pointer"),yt(this,"type"),yt(this,"displayType"),yt(this,"typePrefix",""),yt(this,"title"),yt(this,"description"),yt(this,"externalDocs"),yt(this,"isPrimitive"),yt(this,"isCircular",!1),yt(this,"format"),yt(this,"displayFormat"),yt(this,"nullable"),yt(this,"deprecated"),yt(this,"pattern"),yt(this,"example"),yt(this,"enum"),yt(this,"default"),yt(this,"readOnly"),yt(this,"writeOnly"),yt(this,"constraints"),yt(this,"_fields"),yt(this,"items"),yt(this,"oneOf"),yt(this,"oneOfType"),yt(this,"discriminatorProp"),yt(this,"activeOneOf",0),yt(this,"rawSchema"),yt(this,"schema"),yt(this,"extensions"),yt(this,"x-enumDescriptions"),yt(this,"const"),yt(this,"contentEncoding"),yt(this,"contentMediaType"),yt(this,"minItems"),yt(this,"maxItems"),(0,r.rC)(this),this.pointer=ve.$ref||ge||"",this.rawSchema=Ke.deref(ve,!1,!0),this.schema=Ke.mergeAllOf(this.rawSchema,this.pointer,it),this.init(Ke,it),Ke.exitRef(ve),Ke.exitParents(this.schema),$t.showExtensions&&(this.extensions=(0,i.TQ)(this.schema,$t.showExtensions))}activateOneOf(Ke){this.activeOneOf=Ke}hasType(Ke){return this.type===Ke||Array.isArray(this.type)&&this.type.includes(Ke)}get fields(){if(!this.isCircular)return!this._fields&&this.hasType("object")&&(this._fields=de(this.parser,this.schema,this.pointer,this.options,this,this.deps)),this._fields}hasCircularParent(Ke){return!!(this.parent&&(Ke.some(ge=>{var $t,it;if(!ge)return!1;const Tt=this.parent;if((Tt==null?void 0:Tt.pointer)===ge||((it=($t=Tt==null?void 0:Tt.schema.parentRefs)==null?void 0:$t.some)==null?void 0:it.call($t,Yt=>Yt===ge)))return!0})||this.parent.hasCircularParent(Ke)))}init(Ke,ve){const ge=this.schema;if(this.isCircular=ge["x-circular-ref"]||this.hasCircularParent([this.pointer,...this.schema.parentRefs||[]]),this.title=ge.title||(0,i.lE)(this.pointer)&&i.IB.baseName(this.pointer)||"",this.description=ge.description||"",this.type=ge.type||(0,i.Vg)(ge),this.format=ge.format,this.enum=ge.enum||[],this["x-enumDescriptions"]=ge["x-enumDescriptions"],this.example=ge.example,this.deprecated=!!ge.deprecated,this.pattern=ge.pattern,this.externalDocs=ge.externalDocs,this.constraints=(0,i.V_)(ge),this.displayFormat=this.format,this.isPrimitive=(0,i.ty)(ge,this.type),this.default=ge.default,this.readOnly=!!ge.readOnly,this.writeOnly=!!ge.writeOnly,this.const=ge.const||"",this.contentEncoding=ge.contentEncoding,this.contentMediaType=ge.contentMediaType,this.minItems=ge.minItems,this.maxItems=ge.maxItems,(ge.nullable||ge["x-nullable"])&&(Array.isArray(this.type)&&!this.type.some($t=>$t===null||$t==="null")?this.type=[...this.type,"null"]:!Array.isArray(this.type)&&(this.type!==null||this.type!=="null")&&(this.type=[this.type,"null"])),this.displayType=Array.isArray(this.type)?this.type.map($t=>$t===null?"null":$t).join(" or "):this.type,!this.isCircular){if(!ve&&He(ge)!==void 0){this.initDiscriminator(ge,Ke);return}else ve&&Array.isArray(ge.oneOf)&&ge.oneOf.find($t=>$t.$ref===this.pointer)&&delete ge.oneOf;if(ge.oneOf!==void 0){this.initOneOf(ge.oneOf,Ke),this.oneOfType="One of",ge.anyOf!==void 0&&console.warn(`oneOf and anyOf are not supported on the same level. Skipping anyOf at ${this.pointer}`);return}if(ge.anyOf!==void 0){this.initOneOf(ge.anyOf,Ke),this.oneOfType="Any of";return}if(this.hasType("array")&&ge.items&&(this.items=new Nt(Ke,ge.items,this.pointer+"/items",this.options,!1,this,this.deps),this.displayType=(0,i.NL)(this.items.displayType),this.displayFormat=this.items.format,this.typePrefix=this.items.typePrefix+(0,be.l)("arrayOf"),this.title=this.title||this.items.title,this.isPrimitive=this.items.isPrimitive,this.example===void 0&&this.items.example!==void 0&&(this.example=[this.items.example]),this.items.isPrimitive&&(this.enum=this.items.enum,this["x-enumDescriptions"]=this.items["x-enumDescriptions"]),Array.isArray(this.type))){const $t=this.type.filter(it=>it!=="array");$t.length&&(this.displayType+=` or ${$t.join(" or ")}`)}this.enum.length&&this.options.sortEnumValuesAlphabetically&&this.enum.sort()}}initOneOf(Ke,ve){if(this.oneOf=Ke.map((ge,$t)=>{const it=ve.deref(ge,!1,!0),Tt=ve.mergeAllOf(it,this.pointer+"/oneOf/"+$t),Yt=(0,i.lE)(ge.$ref)&&!Tt.title?i.IB.baseName(ge.$ref):`${Tt.title||""}${Tt.const&&JSON.stringify(Tt.const)||""}`,xr=new Nt(ve,et(Ue({},Tt),{title:Yt,allOf:[et(Ue({},this.schema),{oneOf:void 0,anyOf:void 0})]}),this.pointer+"/oneOf/"+$t,this.options,!1,this.parent,et(Ue({},this.deps),{parentFieldFullPath:this.deps.parentFieldFullPath?this.deps.parentFieldFullPath+this.options.deepLinkSeparator+$t:$t.toString()}));return ve.exitRef(ge),ve.exitParents(Tt),xr}),this.options.simpleOneOfTypeLabel){const ge=Qe(this);this.displayType=ge.join(" or ")}else this.displayType=this.oneOf.map(ge=>{let $t=ge.typePrefix+(ge.title?`${ge.title} (${ge.displayType})`:ge.displayType);return $t.indexOf(" or ")>-1&&($t=`(${$t})`),$t}).join(" or ")}initDiscriminator(Ke,ve){const ge=He(Ke);this.discriminatorProp=ge==null?void 0:ge.propertyName;const $t=ve.findDerived([...Ke.parentRefs||[],this.pointer]);if(Ke.oneOf)for(const lt of Ke.oneOf){if(lt.$ref===void 0)continue;const wr=i.IB.baseName(lt.$ref);$t[lt.$ref]=wr}const it=(ge==null?void 0:ge.mapping)||{};let Tt=(ge==null?void 0:ge["x-explicitMappingOnly"])||!1;Object.keys(it).length===0&&(Tt=!1);const Yt={};for(const lt in it){const wr=it[lt];Array.isArray(Yt[wr])?Yt[wr].push(lt):Yt[wr]=[lt]}const xr=Ue(Tt?{}:Ue({},$t),Yt);let wt=[];for(const lt of Object.keys(xr)){const wr=xr[lt];if(Array.isArray(wr))for(const Ar of wr)wt.push({$ref:lt,name:Ar});else wt.push({$ref:lt,name:wr})}const Fr=Object.keys(it);Fr.length!==0&&(wt=wt.sort((lt,wr)=>{const Ar=Fr.indexOf(lt.name),pn=Fr.indexOf(wr.name);return Ar<0&&pn<0?lt.name.localeCompare(wr.name):Ar<0?1:pn<0?-1:Ar-pn})),this.oneOf=wt.map(({$ref:lt,name:wr},Ar)=>{const pn=new Nt(ve,ve.byRef(lt),lt,this.options,!0,this.parent,et(Ue({},this.deps),{parentFieldFullPath:this.deps.parentFieldFullPath?this.deps.parentFieldFullPath+this.options.deepLinkSeparator+Ar:Ar.toString()}));return pn.title=wr,pn})}};let k=Nt;at([r.LO],k.prototype,"activeOneOf",2),at([r.aD],k.prototype,"activateOneOf",1);function de(Ke,ve,ge,$t,it,Tt){const Yt=ve.properties||{},xr=ve.additionalProperties,wt=ve.default||{};let Fr=Object.keys(Yt||[]).map(lt=>{let wr=Yt[lt];wr||(console.warn(`Field "${lt}" is invalid, skipping.
|
|
2565
2565
|
Field must be an object but got ${typeof wr} at "${ge}"`),wr={});const Ar=ve.required===void 0?!1:ve.required.indexOf(lt)>-1;return new ze(Ke,{name:lt,required:Ar,schema:et(Ue({},wr),{default:wr.default===void 0&&wt?wt[lt]:wr.default})},ge+"/properties/"+lt,$t,it,Tt)});return $t.sortPropsAlphabetically&&(Fr=(0,i.L1)(Fr,"name")),$t.requiredPropsFirst&&(Fr=(0,i.T4)(Fr,$t.sortPropsAlphabetically?void 0:ve.required)),(typeof xr=="object"||xr===!0)&&Fr.push(new ze(Ke,{name:(typeof xr=="object"&&xr["x-additionalPropertiesName"]||"property name").concat("*"),required:!1,schema:xr===!0?{}:xr,kind:"additionalProperties"},ge+"/additionalProperties",$t,it,Tt)),Fr}function He(Ke){return Ke.discriminator||Ke["x-discriminator"]}function Qe(Ke){const ve=new Set;function ge($t){for(const it of $t.oneOf||[]){if(it.oneOf){ge(it);continue}it.type&&ve.add(it.type)}}return ge(Ke),Array.from(ve.values())}var le=t(8575),U=Object.defineProperty,G=(Ke,ve,ge)=>ve in Ke?U(Ke,ve,{enumerable:!0,configurable:!0,writable:!0,value:ge}):Ke[ve]=ge,Le=(Ke,ve,ge)=>(G(Ke,typeof ve!="symbol"?ve+"":ve,ge),ge);const tt={};class P{constructor(ve,ge,$t,it){this.mime=$t,Le(this,"value"),Le(this,"summary"),Le(this,"description"),Le(this,"externalValueUrl");const Tt=ve.deref(ge);this.value=Tt.value,this.summary=Tt.summary,this.description=Tt.description,Tt.externalValue&&(this.externalValueUrl=(0,le.resolve)(ve.definitionUrl||"",Tt.externalValue)),ve.exitRef(ge),(0,i.og)($t)&&this.value&&typeof this.value=="object"&&(this.value=(0,i.TE)(this.value,it))}getExternalValue(ve){return this.externalValueUrl?this.externalValueUrl in tt?tt[this.externalValueUrl]:(tt[this.externalValueUrl]=fetch(this.externalValueUrl).then(ge=>ge.text().then($t=>{if(!ge.ok)return Promise.reject(new Error($t));if((0,i.Yi)(ve))try{return JSON.parse($t)}catch(it){return $t}else return $t})),tt[this.externalValueUrl]):Promise.resolve(void 0)}}var _e=Object.defineProperty,oe=Object.defineProperties,Oe=Object.getOwnPropertyDescriptor,Se=Object.getOwnPropertyDescriptors,We=Object.getOwnPropertySymbols,ft=Object.prototype.hasOwnProperty,vt=Object.prototype.propertyIsEnumerable,qt=(Ke,ve,ge)=>ve in Ke?_e(Ke,ve,{enumerable:!0,configurable:!0,writable:!0,value:ge}):Ke[ve]=ge,gr=(Ke,ve)=>{for(var ge in ve||(ve={}))ft.call(ve,ge)&&qt(Ke,ge,ve[ge]);if(We)for(var ge of We(ve))vt.call(ve,ge)&&qt(Ke,ge,ve[ge]);return Ke},dt=(Ke,ve)=>oe(Ke,Se(ve)),ut=(Ke,ve,ge,$t)=>{for(var it=$t>1?void 0:$t?Oe(ve,ge):ve,Tt=Ke.length-1,Yt;Tt>=0;Tt--)(Yt=Ke[Tt])&&(it=($t?Yt(ve,ge,it):Yt(it))||it);return $t&&it&&_e(ve,ge,it),it},Pt=(Ke,ve,ge)=>(qt(Ke,typeof ve!="symbol"?ve+"":ve,ge),ge);const ee={path:{style:"simple",explode:!1},query:{style:"form",explode:!0},header:{style:"simple",explode:!1},cookie:{style:"form",explode:!0}};class ze{constructor(ve,ge,$t,it,Tt,Yt={}){this.deps=Yt,Pt(this,"expanded"),Pt(this,"schema"),Pt(this,"name"),Pt(this,"required"),Pt(this,"description"),Pt(this,"example"),Pt(this,"examples"),Pt(this,"deprecated"),Pt(this,"in"),Pt(this,"kind"),Pt(this,"extensions"),Pt(this,"explode"),Pt(this,"style"),Pt(this,"const"),Pt(this,"serializationMime"),Pt(this,"fieldFullPath");var xr,wt,Fr,lt,wr;(0,r.rC)(this);const Ar=ve.deref(ge);this.kind=ge.kind||"field",this.name=ge.name||Ar.name,this.in=Ar.in,this.required=!!Ar.required;let pn=Ar.schema,qr="";!pn&&Ar.in&&Ar.content&&(qr=Object.keys(Ar.content)[0],pn=Ar.content[qr]&&Ar.content[qr].schema),this.fieldFullPath=this.deps.parentFieldFullPath?this.deps.parentFieldFullPath+it.deepLinkSeparator+this.name:this.name,this.schema=new k(ve,pn||{},$t,it,!1,Tt,dt(gr({},Yt),{parentFieldFullPath:this.fieldFullPath,in:this.in})),this.description=Ar.description===void 0?this.schema.description||"":Ar.description,this.example=Ar.example||this.schema.example,Ar.examples!==void 0&&(this.examples=(0,i.Q8)(Ar.examples,(kn,qn)=>new P(ve,kn,qn,Ar.encoding))),qr?this.serializationMime=qr:Ar.style?this.style=Ar.style:this.in&&(this.style=(wt=(xr=ee[this.in])==null?void 0:xr.style)!=null?wt:"form"),Ar.explode===void 0&&this.in?this.explode=(lt=(Fr=ee[this.in])==null?void 0:Fr.explode)!=null?lt:!0:this.explode=!!Ar.explode,this.deprecated=Ar.deprecated===void 0?this.schema.deprecated:Ar.deprecated,ve.exitRef(ge),it.showExtensions&&(this.extensions=(0,i.TQ)(Ar,it.showExtensions)),this.const=((wr=this.schema)==null?void 0:wr.const)||(Ar==null?void 0:Ar.const)||""}toggle(){this.expanded=!this.expanded}collapse(){this.expanded=!1}expand(){this.expanded=!0}}ut([r.LO],ze.prototype,"expanded",2),ut([r.aD],ze.prototype,"toggle",1),ut([r.aD],ze.prototype,"collapse",1),ut([r.aD],ze.prototype,"expand",1);var At=t(89124),Rt=Object.defineProperty,Kt=(Ke,ve,ge)=>ve in Ke?Rt(Ke,ve,{enumerable:!0,configurable:!0,writable:!0,value:ge}):Ke[ve]=ge,Wt=(Ke,ve,ge)=>(Kt(Ke,typeof ve!="symbol"?ve+"":ve,ge),ge);class ir{constructor(ve,ge,$t,it,Tt,{operation:Yt,type:xr,response:wt}={}){this.options=Tt,Wt(this,"examples"),Wt(this,"schema"),Wt(this,"name"),Wt(this,"isRequestType"),Wt(this,"onlyRequiredInSamples"),Wt(this,"operation"),this.name=ge,this.operation=Yt,this.isRequestType=$t,this.schema=it.schema&&new k(ve,it.schema,"",Tt,void 0,void 0,{operation:Yt,type:xr,response:wt}),this.onlyRequiredInSamples=Tt.onlyRequiredInSamples,it.examples!==void 0?this.examples=(0,i.Q8)(it.examples,Fr=>new P(ve,Fr,ge,it.encoding)):it.example!==void 0?this.examples={default:new P(ve,{value:ve.shallowDeref(it.example)},ge,it.encoding)}:(0,i.Yi)(ge)&&this.generateExample(ve,it)}generateExample(ve,ge){const $t={skipReadOnly:this.isRequestType,skipWriteOnly:!this.isRequestType,skipNonRequired:this.isRequestType&&this.onlyRequiredInSamples,maxSampleDepth:this.options.generatedPayloadSamplesMaxDepth};if(this.schema&&this.schema.oneOf){this.examples={};for(const it of this.schema.oneOf){const Tt=At.UP(it.rawSchema,$t,ve.definition);this.schema.discriminatorProp&&typeof Tt=="object"&&Tt&&(Tt[this.schema.discriminatorProp]=it.title),this.examples[it.title]=new P(ve,{value:Tt},this.name,ge.encoding)}}else this.schema&&(this.examples={default:new P(ve,{value:At.UP(ge.schema,$t,ve.definition)},this.name,ge.encoding)})}}var Gt=Object.defineProperty,Ne=Object.getOwnPropertyDescriptor,Ve=(Ke,ve,ge)=>ve in Ke?Gt(Ke,ve,{enumerable:!0,configurable:!0,writable:!0,value:ge}):Ke[ve]=ge,bt=(Ke,ve,ge,$t)=>{for(var it=$t>1?void 0:$t?Ne(ve,ge):ve,Tt=Ke.length-1,Yt;Tt>=0;Tt--)(Yt=Ke[Tt])&&(it=($t?Yt(ve,ge,it):Yt(it))||it);return $t&&it&&Gt(ve,ge,it),it},Pe=(Ke,ve,ge)=>(Ve(Ke,typeof ve!="symbol"?ve+"":ve,ge),ge);class Ee{constructor(ve,ge,$t,it,{operation:Tt,type:Yt,response:xr}={}){this.isRequestType=$t,Pe(this,"mediaTypes"),Pe(this,"operation"),this.operation=Tt,it.unstable_ignoreMimeParameters&&(ge=(0,i.gr)(ge)),this.mediaTypes=Object.keys(ge).map(wt=>{const Fr=ge[wt];return ve.resetVisited(),new ir(ve,wt,$t,Fr,it,{operation:Tt,type:Yt,response:xr})})}activate(ve){var ge;(ge=this.operation)==null||ge.activateMimeName(ve)}get active(){return this.mediaTypes.find(ve=>{var ge;return ve.name===((ge=this.operation)==null?void 0:ge.activeMimeName)})||this.mediaTypes[0]}get hasSample(){return this.mediaTypes.filter(ve=>!!ve.examples).length>0}}bt([r.aD],Ee.prototype,"activate",1),bt([r.Fl],Ee.prototype,"active",1);var H=Object.defineProperty,j=(Ke,ve,ge)=>ve in Ke?H(Ke,ve,{enumerable:!0,configurable:!0,writable:!0,value:ge}):Ke[ve]=ge,V=(Ke,ve,ge)=>(j(Ke,typeof ve!="symbol"?ve+"":ve,ge),ge);class me{constructor(ve){V(this,"description"),V(this,"required"),V(this,"content");const{parser:ge,infoOrRef:$t,options:it,isEvent:Tt,operation:Yt}=ve,xr=!Tt,wt=ge.deref($t);this.description=wt.description||"",this.required=!!wt.required,ge.exitRef($t);const Fr=(0,i.qW)(wt);Fr!==void 0&&(this.content=new Ee(ge,Fr,xr,it,{operation:Yt,type:"request"}))}}var fe=Object.defineProperty,ke=Object.defineProperties,ct=Object.getOwnPropertyDescriptor,nt=Object.getOwnPropertyDescriptors,Et=Object.getOwnPropertySymbols,fr=Object.prototype.hasOwnProperty,Lr=Object.prototype.propertyIsEnumerable,Pr=(Ke,ve,ge)=>ve in Ke?fe(Ke,ve,{enumerable:!0,configurable:!0,writable:!0,value:ge}):Ke[ve]=ge,Rr=(Ke,ve)=>{for(var ge in ve||(ve={}))fr.call(ve,ge)&&Pr(Ke,ge,ve[ge]);if(Et)for(var ge of Et(ve))Lr.call(ve,ge)&&Pr(Ke,ge,ve[ge]);return Ke},er=(Ke,ve)=>ke(Ke,nt(ve)),Gr=(Ke,ve,ge,$t)=>{for(var it=$t>1?void 0:$t?ct(ve,ge):ve,Tt=Ke.length-1,Yt;Tt>=0;Tt--)(Yt=Ke[Tt])&&(it=($t?Yt(ve,ge,it):Yt(it))||it);return $t&&it&&fe(ve,ge,it),it},Nr=(Ke,ve,ge)=>(Pr(Ke,typeof ve!="symbol"?ve+"":ve,ge),ge);class Ge{constructor(ve){Nr(this,"expanded",!1),Nr(this,"content"),Nr(this,"code"),Nr(this,"summary"),Nr(this,"description"),Nr(this,"type"),Nr(this,"headers",[]);const{parser:ge,code:$t,defaultAsError:it,infoOrRef:Tt,options:Yt,isEvent:xr,operation:wt}=ve,Fr=!!xr;(0,r.rC)(this),this.expanded=Yt.expandResponses==="all"||Yt.expandResponses[$t];const lt=ge.deref(Tt);ge.exitRef(Tt),this.code=$t;const wr=(0,i.qW)(lt);wr!==void 0&&(this.content=new Ee(ge,wr,Fr,Yt,{operation:wt,type:"response",response:this})),lt["x-summary"]!==void 0?(this.summary=lt["x-summary"],this.description=lt.description||""):(this.summary=lt.description||"",this.description=""),this.type=(0,i.YS)($t,it);const Ar=lt.headers;Ar!==void 0&&(this.headers=Object.keys(Ar).map(pn=>{const qr=Ar[pn];return new ze(ge,er(Rr({},qr),{name:pn}),"",Yt,void 0,{operation:wt,type:"response",response:this})}))}toggle(){this.expanded=!this.expanded}expand(){this.expanded=!0}}Gr([r.LO],Ge.prototype,"expanded",2),Gr([r.aD],Ge.prototype,"toggle",1),Gr([r.aD],Ge.prototype,"expand",1);var ot=t(68931),xt=t(7241),jt=Object.defineProperty,Zt=Object.defineProperties,or=Object.getOwnPropertyDescriptor,je=Object.getOwnPropertyDescriptors,rt=Object.getOwnPropertySymbols,Ye=Object.prototype.hasOwnProperty,pt=Object.prototype.propertyIsEnumerable,Ut=(Ke,ve,ge)=>ve in Ke?jt(Ke,ve,{enumerable:!0,configurable:!0,writable:!0,value:ge}):Ke[ve]=ge,cr=(Ke,ve)=>{for(var ge in ve||(ve={}))Ye.call(ve,ge)&&Ut(Ke,ge,ve[ge]);if(rt)for(var ge of rt(ve))pt.call(ve,ge)&&Ut(Ke,ge,ve[ge]);return Ke},lr=(Ke,ve)=>Zt(Ke,je(ve)),Or=(Ke,ve,ge,$t)=>{for(var it=$t>1?void 0:$t?or(ve,ge):ve,Tt=Ke.length-1,Yt;Tt>=0;Tt--)(Yt=Ke[Tt])&&(it=($t?Yt(ve,ge,it):Yt(it))||it);return $t&&it&&jt(ve,ge,it),it},Ir=(Ke,ve,ge)=>(Ut(Ke,typeof ve!="symbol"?ve+"":ve,ge),ge);function Wr(Ke){return Ke.lang==="payload"&&"requestBodyContent"in Ke}let hn=!1;class Ur{constructor(ve,ge,$t,it,Tt=!1){this.parser=ve,this.operationDefinition=ge,this.options=it,Ir(this,"id"),Ir(this,"absoluteIdx"),Ir(this,"name"),Ir(this,"description"),Ir(this,"href"),Ir(this,"type","operation"),Ir(this,"parent"),Ir(this,"externalDocs"),Ir(this,"items",[]),Ir(this,"depth"),Ir(this,"ready",!0),Ir(this,"active",!1),Ir(this,"expanded",!1),Ir(this,"activeMimeName"),Ir(this,"activeExampleName"),Ir(this,"activeServer"),Ir(this,"defaultExampleName"),Ir(this,"defaultMimeType"),Ir(this,"pointer"),Ir(this,"operationId"),Ir(this,"httpVerb"),Ir(this,"deprecated"),Ir(this,"path"),Ir(this,"servers"),Ir(this,"security"),Ir(this,"extensions"),Ir(this,"isCallback"),Ir(this,"isWebhook"),Ir(this,"isEvent");var Yt,xr;(0,r.rC)(this),this.pointer=ge.pointer,this.description=ge.description,this.parent=$t,this.externalDocs=ge.externalDocs,this.deprecated=!!ge.deprecated,this.httpVerb=ge.httpVerb,this.deprecated=!!ge.deprecated,this.operationId=ge.operationId,this.path=ge.pathName,this.isCallback=Tt,this.isWebhook=ge.isWebhook,this.isEvent=this.isCallback||this.isWebhook,this.name=(0,i.ED)(ge),this.defaultExampleName=ge.defaultSampleName;const wt=(xr=(Yt=this.requestBody)==null?void 0:Yt.content)==null?void 0:xr.mediaTypes,[Fr]=wt||[],[lt]=Object.keys((Fr==null?void 0:Fr.examples)||[]);this.activeExampleName=ge.defaultSampleName===!1?!1:ge.defaultSampleName||lt,this.defaultMimeType=ge.defaultMimeType;const wr=wt==null?void 0:wt.find(Ar=>Ar.name===ge.defaultMimeType);this.activeMimeName=(wr==null?void 0:wr.name)||(Fr==null?void 0:Fr.name),this.isCallback?(this.security=(ge.security||[]).map(Ar=>new w(Ar,ve)),this.servers=(0,i.Dm)("",ge.servers||ge.pathServers||[])):(this.id=(0,i.XO)(ge.operationId!==void 0?"operation/"+ge.operationId:$t!==void 0?$t.id+this.pointer:this.pointer),this.security=(ge.security||ve.definition.security||[]).map(Ar=>new w(Ar,ve)),this.servers=(0,i.Dm)(ve.definitionUrl,ge.servers||ge.pathServers||ve.definition.servers||[])),it.showExtensions&&(this.extensions=(0,i.TQ)(ge,it.showExtensions)),this.activeServer=(0,xt.wM)(this.servers)}activate(){this.active=!0}deactivate(){this.active=!1}toggle(){this.expanded=!this.expanded}activateMimeName(ve){this.activeMimeName=ve}activateExampleName(ve){this.activeExampleName=ve}expand(){this.parent&&this.parent.expand()}collapse(){}get requestBody(){return this.operationDefinition.requestBody&&new me({parser:this.parser,infoOrRef:this.operationDefinition.requestBody,options:this.options,operation:this,isEvent:this.isEvent})}get payload(){var ve;const ge=(ve=this.requestBody)==null?void 0:ve.content;return(ge==null?void 0:ge.hasSample)?{lang:"payload",label:"Payload",source:"",requestBodyContent:ge}:void 0}get hasSamples(){var ve,ge;return((ge=(ve=this.requestBody)==null?void 0:ve.content)==null?void 0:ge.hasSample)||this.definitionSamples.length>0}get definitionSamples(){const ve=this.operationDefinition["x-codeSamples"]||this.operationDefinition["x-code-samples"]||[];return this.operationDefinition["x-code-samples"]&&!hn&&(hn=!0,console.warn('"x-code-samples" is deprecated. Use "x-codeSamples" instead')),ve}get allCodeSamples(){var ve;const{payloadSampleIdx:ge,hideRequestPayloadSample:$t}=this.options,it=this.options.generateCodeSamples||{},Tt=new Set(this.definitionSamples.map(({lang:lt})=>lt.toLowerCase())),Yt=((ve=it.languages)==null?void 0:ve.filter(({lang:lt})=>!Tt.has(lt.toLowerCase())))||[],xr=this.generateCodeSamples(Yt,it),wt=this.definitionSamples.concat(xr),Fr=Math.min(wt.length,ge);return this.payload&&!$t&&wt.splice(Fr,0,this.payload),wt}get parameters(){const ve=(0,i.Zd)(this.parser,this.operationDefinition.pathParameters,this.operationDefinition.parameters).map(ge=>new ze(this.parser,ge,this.pointer,this.options,void 0,{operation:this,type:"request"}));return this.options.sortPropsAlphabetically?(0,i.L1)(ve,"name"):this.options.requiredPropsFirst?(0,i.T4)(ve):ve}get responses(){let ve=!1;return Object.keys(this.operationDefinition.responses||[]).filter(ge=>ge==="default"?!0:((0,i.YS)(ge)==="success"&&(ve=!0),(0,i.CX)(ge))).map(ge=>new Ge({parser:this.parser,code:ge,defaultAsError:ve,infoOrRef:this.operationDefinition.responses[ge],options:this.options,isEvent:this.isEvent,operation:this}))}get callbacks(){return Object.keys(this.operationDefinition.callbacks||[]).map(ve=>{var ge;return new ie(this.parser,ve,(ge=this.operationDefinition.callbacks)==null?void 0:ge[ve],this.pointer,this.options)})}setActiveServer(ve){this.activeServer=ve}generateCodeSamples(ve,{skipOptionalParameters:ge,withOAuth2Call:$t}){return ve.map(({lang:it,label:Tt,options:Yt})=>({lang:it,label:Tt,get:xr=>(0,ot.aP)(lr(cr({},xr),{lang:it,options:lr(cr({},Yt),{skipOptionalParameters:ge,withOAuth2Call:$t,spec:this.parser.definition,generatedPayloadSamplesMaxDepth:this.options.generatedPayloadSamplesMaxDepth})}))}))}}Or([r.LO],Ur.prototype,"ready",2),Or([r.LO],Ur.prototype,"active",2),Or([r.LO],Ur.prototype,"expanded",2),Or([r.LO],Ur.prototype,"activeMimeName",2),Or([r.LO],Ur.prototype,"activeExampleName",2),Or([r.LO.ref],Ur.prototype,"activeServer",2),Or([r.aD],Ur.prototype,"activate",1),Or([r.aD],Ur.prototype,"deactivate",1),Or([r.aD],Ur.prototype,"toggle",1),Or([r.aD],Ur.prototype,"activateMimeName",1),Or([r.aD],Ur.prototype,"activateExampleName",1),Or([i.HP],Ur.prototype,"requestBody",1),Or([i.HP],Ur.prototype,"payload",1),Or([i.HP],Ur.prototype,"hasSamples",1),Or([i.HP],Ur.prototype,"definitionSamples",1),Or([i.HP],Ur.prototype,"allCodeSamples",1),Or([i.HP],Ur.prototype,"parameters",1),Or([i.HP],Ur.prototype,"responses",1),Or([i.HP],Ur.prototype,"callbacks",1),Or([r.aD],Ur.prototype,"setActiveServer",1);var dn=Object.defineProperty,un=(Ke,ve,ge)=>ve in Ke?dn(Ke,ve,{enumerable:!0,configurable:!0,writable:!0,value:ge}):Ke[ve]=ge,Hr=(Ke,ve,ge)=>(un(Ke,typeof ve!="symbol"?ve+"":ve,ge),ge);class an{constructor(ve){this.parser=ve,Hr(this,"title"),Hr(this,"version"),Hr(this,"description"),Hr(this,"summary"),Hr(this,"termsOfService"),Hr(this,"contact"),Hr(this,"license"),Hr(this,"downloadLink"),Hr(this,"downloadFileName"),Object.assign(this,ve.definition.info),this.description=ve.definition.info.description||"",this.summary=ve.definition.info.summary||"";const ge=this.description.search(/^##?\s+/m);ge>-1&&(this.description=this.description.substring(0,ge)),this.downloadLink=this.getDownloadLink(),this.downloadFileName=this.getDownloadFileName()}getDownloadLink(){if(this.parser.definitionUrl)return this.parser.definitionUrl;if(i.Qg&&window.Blob&&window.URL&&window.URL.createObjectURL){const ve=new Blob([JSON.stringify(this.parser.definition,null,2)],{type:"application/json"});return window.URL.createObjectURL(ve)}}getDownloadFileName(){if(!this.parser.definitionUrl)return"swagger.json"}}var Jr=t(70606),rn=Object.defineProperty,nn=(Ke,ve,ge)=>ve in Ke?rn(Ke,ve,{enumerable:!0,configurable:!0,writable:!0,value:ge}):Ke[ve]=ge,bn=(Ke,ve,ge)=>(nn(Ke,typeof ve!="symbol"?ve+"":ve,ge),ge);class cn{constructor(ve,ge,$t){bn(this,"id"),bn(this,"sectionId"),bn(this,"type"),bn(this,"description"),bn(this,"apiKey"),bn(this,"http"),bn(this,"flows"),bn(this,"openId");const it=ve.deref($t);this.id=ge,this.sectionId=Jr.m$+ge,this.type=it.type,this.description=it.description||"",it.type==="apiKey"&&(this.apiKey={name:it.name,in:it.in}),it.type==="http"&&(this.http={scheme:it.scheme,bearerFormat:it.bearerFormat}),it.type==="openIdConnect"&&(this.openId={connectUrl:it.openIdConnectUrl}),it.type==="oauth2"&&it.flows&&(this.flows=it.flows)}}class On{constructor(ve){bn(this,"schemes");const ge=ve.definition.components&&ve.definition.components.securitySchemes||{};this.schemes=Object.keys(ge).map($t=>new cn(ve,$t,ge[$t]))}}var on=t(89642),Mn=Object.defineProperty,Jn=Object.defineProperties,Yn=Object.getOwnPropertyDescriptors,An=Object.getOwnPropertySymbols,ii=Object.prototype.hasOwnProperty,jn=Object.prototype.propertyIsEnumerable,$n=(Ke,ve,ge)=>ve in Ke?Mn(Ke,ve,{enumerable:!0,configurable:!0,writable:!0,value:ge}):Ke[ve]=ge,Fn=(Ke,ve)=>{for(var ge in ve||(ve={}))ii.call(ve,ge)&&$n(Ke,ge,ve[ge]);if(An)for(var ge of An(ve))jn.call(ve,ge)&&$n(Ke,ge,ve[ge]);return Ke},$r=(Ke,ve)=>Jn(Ke,Yn(ve)),It=(Ke,ve,ge)=>($n(Ke,typeof ve!="symbol"?ve+"":ve,ge),ge);class vr{constructor(ve,ge,$t){It(this,"operations",[]);const it=ve.deref($t||{});ve.exitRef($t),this.initWebhooks(ve,it,ge)}initWebhooks(ve,ge,$t){for(const it of Object.keys(ge)){const Tt=ge[it],Yt=Object.keys(Tt).filter(on.isOperationName);for(const xr of Yt){const wt=Tt[xr];if(Tt.$ref){const lt=ve.deref(Tt||{});this.initWebhooks(ve,{[xr]:lt},$t)}if(!wt)continue;const Fr=new Ur(ve,$r(Fn({},wt),{httpVerb:xr}),void 0,$t,!1);this.operations.push(Fr)}}}}},23485:(R,d,t)=>{"use strict";t.d(d,{iv:()=>a,vJ:()=>s,F4:()=>h,f6:()=>c,ZP:()=>l,aV:()=>p,QG:()=>r.QG,gN:()=>r.gN,QU:()=>r.QU});var o=t(29163),r=t(61191);const{default:i,css:a,createGlobalStyle:s,keyframes:h,ThemeProvider:c}=o,l=i;function p(f){return g=>{if(!!g.theme.extensionsHook)return g.theme.extensionsHook(f,g)}}},71796:(R,d,t)=>{"use strict";t.d(d,{I:()=>a});var o=t(83573),r=t.n(o);const i=r().parse;class a{static baseName(c="",l=1){const p=a.parse(c);return p[p.length-l]}static dirName(c,l=1){const p=a.parse(c);return r().compile(p.slice(0,p.length-l))}static relative(c,l){const p=a.parse(c);return a.parse(l).slice(p.length)}static parse(c=""){let l=c;return l.charAt(0)==="#"&&(l=l.substring(1)),i(l)}static join(c,l){const f=a.parse(c).concat(l);return r().compile(f)}static get(c,l){return r().get(c,l)}static compile(c){return r().compile(c)}static escape(c){return r().escape(c)}}r().parse=a.parse,Object.assign(a,r());var s=null},52385:(R,d,t)=>{"use strict";t.d(d,{Qg:()=>o,R2:()=>r});const o=typeof window!="undefined"&&"HTMLElement"in window;function r(a){return typeof document!="undefined"?document.querySelector(a):null}function i(a){return a.split(/<[^>]+>/).map(s=>s.trim()).filter(s=>s.length>0).join(" ")}typeof Element!="undefined"&&!Element.prototype.scrollIntoViewIfNeeded&&(Element.prototype.scrollIntoViewIfNeeded=function(a){a=arguments.length===0?!0:!!a;const s=this.parentNode,h=window.getComputedStyle(s,void 0),c=parseInt(h.getPropertyValue("border-top-width"),10),l=parseInt(h.getPropertyValue("border-left-width"),10),p=this.offsetTop-s.offsetTop<s.scrollTop,f=this.offsetTop-s.offsetTop+this.clientHeight-c>s.scrollTop+s.clientHeight,g=this.offsetLeft-s.offsetLeft<s.scrollLeft,y=this.offsetLeft-s.offsetLeft+this.clientWidth-l>s.scrollLeft+s.clientWidth,O=p&&!f;(p||f)&&a&&(s.scrollTop=this.offsetTop-s.offsetTop-s.clientHeight/2-c+this.clientHeight/2),(g||y)&&a&&(s.scrollLeft=this.offsetLeft-s.offsetLeft-s.clientWidth/2-l+this.clientWidth/2),(p||f||g||y)&&!a&&this.scrollIntoView(O)})},10519:(R,d,t)=>{"use strict";t.d(d,{jW:()=>v,Q8:()=>F,PD:()=>T,kE:()=>A,Rv:()=>S,PM:()=>x,bO:()=>I,Kk:()=>m,bv:()=>W,MI:()=>L,wK:()=>X,Lf:()=>J,XO:()=>De});var o=t(31304),r=t.n(o),i=t(8575),a=t(61191),s=Object.defineProperty,h=Object.defineProperties,c=Object.getOwnPropertyDescriptors,l=Object.getOwnPropertySymbols,p=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,g=(Ae,we,ie)=>we in Ae?s(Ae,we,{enumerable:!0,configurable:!0,writable:!0,value:ie}):Ae[we]=ie,y=(Ae,we)=>{for(var ie in we||(we={}))p.call(we,ie)&&g(Ae,ie,we[ie]);if(l)for(var ie of l(we))f.call(we,ie)&&g(Ae,ie,we[ie]);return Ae},O=(Ae,we)=>h(Ae,c(we));function v(Ae,we){const ie=[];for(let be=0;be<Ae.length-1;be++)ie.push(we(Ae[be],!1));return Ae.length!==0&&ie.push(we(Ae[Ae.length-1],!0)),ie}function F(Ae,we){const ie={};for(const be in Ae)Object.prototype.hasOwnProperty.call(Ae,be)&&(ie[be]=we(Ae[be],be,Ae));return ie}function T(Ae,we){const ie=[],be=re=>{for(const te of re)ie.push(te),te[we]&&be(te[we])};return be(Ae),ie}function _(Ae){return Ae.endsWith("/")?Ae.substring(0,Ae.length-1):Ae}function A(Ae){return!isNaN(parseFloat(Ae))&&isFinite(Ae)}function S(Ae,we,ie){const be=new RegExp(`(^|\\n)#\\s?${we}\\s*\\n`,"i"),re=new RegExp(`((\\n|^)#\\s*${we}\\s*(\\n|$)(?:.|\\n)*?)(\\n#|$)`,"i");if(be.test(Ae))return Ae.replace(re,`$1
|
|
2566
2566
|
|
|
2567
2567
|
${ie}
|
|
@@ -3117,7 +3117,7 @@ Add a <Suspense fallback=...> component higher in the tree to provide a loading
|
|
|
3117
3117
|
* Redocly Reference Docs
|
|
3118
3118
|
* (c) Copyright 2018 Redocly LLC, all rights reserved.
|
|
3119
3119
|
* -------------------------------------------------------------
|
|
3120
|
-
* Version: "2.9.
|
|
3120
|
+
* Version: "2.9.2"
|
|
3121
3121
|
*/(()=>{var Y={336:(x,E,T)=>{var j,C;/**
|
|
3122
3122
|
* lunr - http://lunrjs.com - A bit like Solr, but much smaller and not as bright - 2.3.9
|
|
3123
3123
|
* Copyright (C) 2020 Oliver Nightingale
|
|
@@ -3497,4 +3497,4 @@ Add a <Suspense fallback=...> component higher in the tree to provide a loading
|
|
|
3497
3497
|
${fr} {
|
|
3498
3498
|
${({theme:pe,showRightPanel:Re,layout:qe})=>(0,T.mediaCSS)({width:{[T.ZERO_BREAKPOINT]:"none",small:`calc(100% - ${pe.sidebar.width})`},maxWidth:pe.layout[qe===A.N.THREE_PANEL&&Re?A.N.THREE_PANEL:A.N.STACKED].maxWidth})};
|
|
3499
3499
|
}
|
|
3500
|
-
`;let xr=class extends v.Component{constructor(pe){super(pe);Tt(this,"_observer"),Tt(this,"_updatedItems",!1),Tt(this,"rootElementRef",v.createRef()),Tt(this,"handleClose",()=>this.props.store.tryItOut()),this.state={searchPopUpShown:!1,searchPopUpValue:""}}componentDidMount(){this.props.store.onDidMount(),this._observer=(0,x.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:{definition:pe,menu:Re,options:qe,search:St,marker:Ht}}=this.props,rr=this.props.store,sr=Re.renderItems;let K=qe.hideInfoSection?!1:qe.pagination==="none"?!0:rr.menu.activeRenderItemIdx<=0;return K&&qe.pagination!=="none"&&qe.disableSidebar&&sr[0]&&sr[0].type!=="section"&&(K=!1),this.props._forceRenderInfo&&(K=!0),v.createElement(on,{store:rr},v.createElement(Et,{className:"redoc-wrap",ref:this.rootElementRef},v.createElement($n,{l:rr.l}),v.createElement(Yt,{whiteLabel:qe.whiteLabel,showRightPanel:rr.showRightPanel,layout:rr.layout}),rr.tryItOperation&&v.createElement(an.M,{rootElement:this.rootElementRef.current,store:rr,operation:rr.tryItOperation,onClose:this.handleClose}),!qe.disableSidebar&&v.createElement(T.StickyResponsiveSidebar,{menu:Re,className:"menu-content"},!rr.options.hideLogo&&v.createElement(T.ApiLogo,{info:pe.info}),pe instanceof It.C&&v.createElement(vr,{spec:pe,onChange:ne=>{pe.changeVersion(ne.idx),Re.updateItemsByVersionChange(!0),rr.tryItOut(void 0)}}),!rr.options.disableSearch&&v.createElement(ie,{showPopUp:()=>this.setState({searchPopUpShown:!0}),searchValue:this.state.searchPopUpValue,marker:Ht,setSearchValue:ne=>this.setState({searchPopUpValue:ne})}),v.createElement(T.SideMenu,{menu:Re})),v.createElement(fr,{className:(rr.isLoading?"loading ":"")+"api-content",layout:rr.layout===A.N.THREE_PANEL&&rr.showRightPanel?A.N.THREE_PANEL:A.N.STACKED},qe.theme.layout.showDarkRightPanel&&rr.showRightPanel&&rr.layout!==A.N.STACKED&&v.createElement(Lr,null),K&&v.createElement(T.ApiInfo,{store:rr}),v.createElement(T.ContentItems,{items:sr,store:rr}),qe.showNextButton&&v.createElement(Zt,{pagination:qe.pagination,menu:Re}),this.props.children),v.createElement(ot,null,v.createElement(ke,{store:rr,isVisible:rr.layout===A.N.THREE_PANEL}),v.createElement(Ge,{store:rr,isVisible:rr.showRightPanel})),v.createElement(Pe,{search:St,marker:Ht,menu:Re,onActivate:Re.activateAndScroll.bind(Re),options:qe,shown:this.state.searchPopUpShown,hidePopUp:()=>this.setState({searchPopUpShown:!1}),showPopUp:()=>this.setState({searchPopUpShown:!0}),setSearchValue:ne=>this.setState({searchPopUpValue:ne}),searchValue:this.state.searchPopUpValue}),qe.theme.layout.showDarkRightPanel&&rr.showRightPanel&&rr.layout!==A.N.STACKED&&v.createElement(Pr,null)))}};xr=it([S.Pi],xr);function wt(pe){const{definition:Re,definitionUrl:qe,options:St={},activeItemId:Ht,activeSampleLanguage:rr,activeDeepLink:sr}=pe,K=(0,T.argValueToBoolean)(St.hideLoading,!1),ne=new T.RedocNormalizedOptions(St),Te=v.createElement(Ir,{definition:Re,definitionUrl:qe,options:St,activeItemId:Ht,activeSampleLanguage:rr,activeDeepLink:sr},({loading:st,store:Lt})=>st?K?null:v.createElement(T.Loading,{color:ne.theme.colors.primary.main}):v.createElement(xr,{store:Lt}));return St.disableErrorBoundary?Te:v.createElement(T.ErrorBoundary,null,Te)}class Fr extends v.Component{render(){const{definitions:Re,options:qe={}}=this.props,St=(0,T.argValueToBoolean)(qe.hideLoading,!1),Ht=new T.RedocNormalizedOptions(qe);return v.createElement(T.ErrorBoundary,null,v.createElement(Ir,{definitions:Re,options:qe},({loading:rr,store:sr})=>rr?St?null:v.createElement(T.Loading,{color:Ht.theme.colors.primary.main}):v.createElement(xr,{store:sr})))}}var lt=Object.defineProperty,wr=Object.getOwnPropertySymbols,Ar=Object.prototype.hasOwnProperty,pn=Object.prototype.propertyIsEnumerable,qr=(pe,Re,qe)=>Re in pe?lt(pe,Re,{enumerable:!0,configurable:!0,writable:!0,value:qe}):pe[Re]=qe,kn=(pe,Re)=>{for(var qe in Re||(Re={}))Ar.call(Re,qe)&&qr(pe,qe,Re[qe]);if(wr)for(var qe of wr(Re))pn.call(Re,qe)&&qr(pe,qe,Re[qe]);return pe};function qn(pe){const Re=(0,gr.zJ)();Re&&Re.toggleLayout((pe!=null?pe:Re.layout===A.N.STACKED)?A.N.THREE_PANEL:A.N.STACKED)}function Fe(pe){const Re=(0,gr.zJ)();Re&&Re.toggleRightPanel(pe)}const ht=li(),Ft=ht?(0,O.dirname)(ht)+"/":"";function hr(pe){const Re={},qe=pe.attributes;for(let St=0;St<qe.length;St++){const Ht=qe[St];Re[Ht.name]=Ht.value}return Re}function xn(pe){const Re=hr(pe),qe={};for(const St in Re){const Ht=St.replace(/-(.)/g,(rr,sr)=>sr.toUpperCase());qe[Ht]=Re[St]}return qe}function zr(pe,Re=document.querySelector("redoc")){const qe=_.r.fromJS(pe);(0,F.hydrate)(v.createElement(xr,{store:qe}),Re)}function _n(pe,Re={},qe=(0,T.querySelector)("redoc"),St){if(qe===null)throw new Error('"element" argument is not provided and <redoc> tag is not found on the page');let Ht,rr;if(Array.isArray(pe)||pe&&pe.versions){(0,F.render)(v.createElement(Fr,{definitions:pe,options:kn(kn({},Re),xn(qe))},["Loading..."]),qe,St);return}typeof pe=="string"?Ht=pe:typeof pe=="object"&&(rr=pe),(0,F.render)(v.createElement(wt,{definition:rr,definitionUrl:Ht,options:kn(kn({},Re),xn(qe))},["Loading..."]),qe,St)}function Bn(pe){Qr.p=pe}const Nn="2.9.
|
|
3500
|
+
`;let xr=class extends v.Component{constructor(pe){super(pe);Tt(this,"_observer"),Tt(this,"_updatedItems",!1),Tt(this,"rootElementRef",v.createRef()),Tt(this,"handleClose",()=>this.props.store.tryItOut()),this.state={searchPopUpShown:!1,searchPopUpValue:""}}componentDidMount(){this.props.store.onDidMount(),this._observer=(0,x.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:{definition:pe,menu:Re,options:qe,search:St,marker:Ht}}=this.props,rr=this.props.store,sr=Re.renderItems;let K=qe.hideInfoSection?!1:qe.pagination==="none"?!0:rr.menu.activeRenderItemIdx<=0;return K&&qe.pagination!=="none"&&qe.disableSidebar&&sr[0]&&sr[0].type!=="section"&&(K=!1),this.props._forceRenderInfo&&(K=!0),v.createElement(on,{store:rr},v.createElement(Et,{className:"redoc-wrap",ref:this.rootElementRef},v.createElement($n,{l:rr.l}),v.createElement(Yt,{whiteLabel:qe.whiteLabel,showRightPanel:rr.showRightPanel,layout:rr.layout}),rr.tryItOperation&&v.createElement(an.M,{rootElement:this.rootElementRef.current,store:rr,operation:rr.tryItOperation,onClose:this.handleClose}),!qe.disableSidebar&&v.createElement(T.StickyResponsiveSidebar,{menu:Re,className:"menu-content"},!rr.options.hideLogo&&v.createElement(T.ApiLogo,{info:pe.info}),pe instanceof It.C&&v.createElement(vr,{spec:pe,onChange:ne=>{pe.changeVersion(ne.idx),Re.updateItemsByVersionChange(!0),rr.tryItOut(void 0)}}),!rr.options.disableSearch&&v.createElement(ie,{showPopUp:()=>this.setState({searchPopUpShown:!0}),searchValue:this.state.searchPopUpValue,marker:Ht,setSearchValue:ne=>this.setState({searchPopUpValue:ne})}),v.createElement(T.SideMenu,{menu:Re})),v.createElement(fr,{className:(rr.isLoading?"loading ":"")+"api-content",layout:rr.layout===A.N.THREE_PANEL&&rr.showRightPanel?A.N.THREE_PANEL:A.N.STACKED},qe.theme.layout.showDarkRightPanel&&rr.showRightPanel&&rr.layout!==A.N.STACKED&&v.createElement(Lr,null),K&&v.createElement(T.ApiInfo,{store:rr}),v.createElement(T.ContentItems,{items:sr,store:rr}),qe.showNextButton&&v.createElement(Zt,{pagination:qe.pagination,menu:Re}),this.props.children),v.createElement(ot,null,v.createElement(ke,{store:rr,isVisible:rr.layout===A.N.THREE_PANEL}),v.createElement(Ge,{store:rr,isVisible:rr.showRightPanel})),v.createElement(Pe,{search:St,marker:Ht,menu:Re,onActivate:Re.activateAndScroll.bind(Re),options:qe,shown:this.state.searchPopUpShown,hidePopUp:()=>this.setState({searchPopUpShown:!1}),showPopUp:()=>this.setState({searchPopUpShown:!0}),setSearchValue:ne=>this.setState({searchPopUpValue:ne}),searchValue:this.state.searchPopUpValue}),qe.theme.layout.showDarkRightPanel&&rr.showRightPanel&&rr.layout!==A.N.STACKED&&v.createElement(Pr,null)))}};xr=it([S.Pi],xr);function wt(pe){const{definition:Re,definitionUrl:qe,options:St={},activeItemId:Ht,activeSampleLanguage:rr,activeDeepLink:sr}=pe,K=(0,T.argValueToBoolean)(St.hideLoading,!1),ne=new T.RedocNormalizedOptions(St),Te=v.createElement(Ir,{definition:Re,definitionUrl:qe,options:St,activeItemId:Ht,activeSampleLanguage:rr,activeDeepLink:sr},({loading:st,store:Lt})=>st?K?null:v.createElement(T.Loading,{color:ne.theme.colors.primary.main}):v.createElement(xr,{store:Lt}));return St.disableErrorBoundary?Te:v.createElement(T.ErrorBoundary,null,Te)}class Fr extends v.Component{render(){const{definitions:Re,options:qe={}}=this.props,St=(0,T.argValueToBoolean)(qe.hideLoading,!1),Ht=new T.RedocNormalizedOptions(qe);return v.createElement(T.ErrorBoundary,null,v.createElement(Ir,{definitions:Re,options:qe},({loading:rr,store:sr})=>rr?St?null:v.createElement(T.Loading,{color:Ht.theme.colors.primary.main}):v.createElement(xr,{store:sr})))}}var lt=Object.defineProperty,wr=Object.getOwnPropertySymbols,Ar=Object.prototype.hasOwnProperty,pn=Object.prototype.propertyIsEnumerable,qr=(pe,Re,qe)=>Re in pe?lt(pe,Re,{enumerable:!0,configurable:!0,writable:!0,value:qe}):pe[Re]=qe,kn=(pe,Re)=>{for(var qe in Re||(Re={}))Ar.call(Re,qe)&&qr(pe,qe,Re[qe]);if(wr)for(var qe of wr(Re))pn.call(Re,qe)&&qr(pe,qe,Re[qe]);return pe};function qn(pe){const Re=(0,gr.zJ)();Re&&Re.toggleLayout((pe!=null?pe:Re.layout===A.N.STACKED)?A.N.THREE_PANEL:A.N.STACKED)}function Fe(pe){const Re=(0,gr.zJ)();Re&&Re.toggleRightPanel(pe)}const ht=li(),Ft=ht?(0,O.dirname)(ht)+"/":"";function hr(pe){const Re={},qe=pe.attributes;for(let St=0;St<qe.length;St++){const Ht=qe[St];Re[Ht.name]=Ht.value}return Re}function xn(pe){const Re=hr(pe),qe={};for(const St in Re){const Ht=St.replace(/-(.)/g,(rr,sr)=>sr.toUpperCase());qe[Ht]=Re[St]}return qe}function zr(pe,Re=document.querySelector("redoc")){const qe=_.r.fromJS(pe);(0,F.hydrate)(v.createElement(xr,{store:qe}),Re)}function _n(pe,Re={},qe=(0,T.querySelector)("redoc"),St){if(qe===null)throw new Error('"element" argument is not provided and <redoc> tag is not found on the page');let Ht,rr;if(Array.isArray(pe)||pe&&pe.versions){(0,F.render)(v.createElement(Fr,{definitions:pe,options:kn(kn({},Re),xn(qe))},["Loading..."]),qe,St);return}typeof pe=="string"?Ht=pe:typeof pe=="object"&&(rr=pe),(0,F.render)(v.createElement(wt,{definition:rr,definitionUrl:Ht,options:kn(kn({},Re),xn(qe))},["Loading..."]),qe,St)}function Bn(pe){Qr.p=pe}const Nn="2.9.2",Mr="0b529c3";function gn(){const pe=(0,T.querySelector)("redoc");if(!pe)return;const Re=pe.getAttribute("spec-url");Re&&_n(Re,{},pe)}T.IS_BROWSER&&Bn(Ft),gn();function li(){var pe;if(!T.IS_BROWSER)return"";const Re=+new Date+Math.random();try{return(!document.currentScript||!(document.currentScript.async||document.currentScript.defer))&&document.write(`<script id="dummy${Re}"><\/script>`),((pe=document.getElementById("dummy"+Re))==null?void 0:pe.previousSibling).src}catch(qe){return""}}})(),bu})()});
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.OneOfSchema=void 0;var tslib_1=require("tslib"),React=(0,tslib_1.__importStar)(require("react")),mobx_react_1=require("mobx-react"),schema_1=require("../../common-elements/schema"),Schema_1=require("./Schema"),OptionsProvider_1=require("../OptionsProvider");exports.OneOfSchema=(0,mobx_react_1.observer)((function(e){var t=e.schema.oneOf,r=e.schema,a=(0,tslib_1.__rest)(e,["schema","schema"]);if(void 0===t)return null;var
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.OneOfSchema=void 0;var tslib_1=require("tslib"),React=(0,tslib_1.__importStar)(require("react")),mobx_react_1=require("mobx-react"),schema_1=require("../../common-elements/schema"),Schema_1=require("./Schema"),OptionsProvider_1=require("../OptionsProvider"),Markdown_1=require("../Markdown/Markdown");exports.OneOfSchema=(0,mobx_react_1.observer)((function(e){var t=e.schema.oneOf,r=e.schema,a=(0,tslib_1.__rest)(e,["schema","schema"]);if(void 0===t)return null;var n=React.useContext(OptionsProvider_1.OptionsContext).hideOneOfDescription,c=t[r.activeOneOf];return React.createElement("div",null,React.createElement(schema_1.Wrapper,null,React.createElement("span",null,r.oneOfType,":"),React.createElement(schema_1.OneOfList,null,t.map((function(e,t){return React.createElement(schema_1.OneOfButton,{key:e.pointer,active:t===r.activeOneOf,onClick:function(){return r.activateOneOf(t)}},e.title||e.typePrefix+e.displayType)})))),!n&&c.description&&React.createElement(Markdown_1.Markdown,{compact:!0,source:c.description}),React.createElement(Schema_1.Schema,(0,tslib_1.__assign)({},a,{schema:c})))}));
|
|
2
2
|
//# sourceMappingURL=OneOfSchema.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{__assign,__rest}from"tslib";import*as React from"react";import{observer}from"mobx-react";import{OneOfButton as StyledOneOfButton,OneOfList,Wrapper}from"../../common-elements/schema";import{Schema}from"./Schema";import{OptionsContext}from"../OptionsProvider";export var OneOfSchema=observer((function(e){var t=e.schema.oneOf,n=e.schema,r=__rest(e,["schema","schema"]);if(void 0===t)return null;var a=React.useContext(OptionsContext).hideOneOfDescription,
|
|
1
|
+
import{__assign,__rest}from"tslib";import*as React from"react";import{observer}from"mobx-react";import{OneOfButton as StyledOneOfButton,OneOfList,Wrapper}from"../../common-elements/schema";import{Schema}from"./Schema";import{OptionsContext}from"../OptionsProvider";import{Markdown}from"../Markdown/Markdown";export var OneOfSchema=observer((function(e){var t=e.schema.oneOf,n=e.schema,r=__rest(e,["schema","schema"]);if(void 0===t)return null;var a=React.useContext(OptionsContext).hideOneOfDescription,o=t[n.activeOneOf];return React.createElement("div",null,React.createElement(Wrapper,null,React.createElement("span",null,n.oneOfType,":"),React.createElement(OneOfList,null,t.map((function(e,t){return React.createElement(StyledOneOfButton,{key:e.pointer,active:t===n.activeOneOf,onClick:function(){return n.activateOneOf(t)}},e.title||e.typePrefix+e.displayType)})))),!a&&o.description&&React.createElement(Markdown,{compact:!0,source:o.description}),React.createElement(Schema,__assign({},r,{schema:o})))}));
|
|
2
2
|
//# sourceMappingURL=OneOfSchema.js.map
|