(function (e) {
return Wi(e) ? 'styled.' + e : 'Styled(' + Fo(e) + ')';
})(e)
: u,
d =
t.displayName && t.componentId
? Bi(t.displayName) + '-' + t.componentId
: t.componentId || c,
f =
o && e.attrs
? Array.prototype.concat(e.attrs, s).filter(Boolean)
: s,
h = t.shouldForwardProp;
o &&
e.shouldForwardProp &&
(h = t.shouldForwardProp
? function (n, r, o) {
return (
e.shouldForwardProp(n, r, o) && t.shouldForwardProp(n, r, o)
);
}
: e.shouldForwardProp);
var m,
g = new bi(r, d, o ? e.componentStyle : void 0),
y = g.isStatic && 0 === s.length,
v = function (e, t) {
return (function (e, t, r, o) {
var i = e.attrs,
a = e.componentStyle,
s = e.defaultProps,
l = e.foldedComponentIds,
c = e.shouldForwardProp,
u = e.styledComponentId,
p = e.target,
d = (function (e, t, n) {
void 0 === e && (e = Lo);
var r = To({}, t, { theme: e }),
o = {};
return (
n.forEach(function (e) {
var t,
n,
i,
a = e;
for (t in (Mo(a) && (a = a(r)), a))
r[t] = o[t] =
'className' === t
? ((n = o[t]),
(i = a[t]),
n && i ? n + ' ' + i : n || i)
: a[t];
}),
[r, o]
);
})(zi(t, (0, n.useContext)(Qi), s) || Lo, t, i),
f = d[0],
h = d[1],
m = (function (e, t, n, r) {
var o = Ai(),
i = $i();
return t
? e.generateAndInjectStyles(Lo, o, i)
: e.generateAndInjectStyles(n, o, i);
})(a, o, f),
g = r,
y = h.$as || t.$as || h.as || t.as || p,
v = Wi(y),
b = h !== t ? To({}, t, {}, h) : t,
w = {};
for (var x in b)
'$' !== x[0] &&
'as' !== x &&
('forwardedAs' === x
? (w.as = b[x])
: (c ? c(x, Co, y) : !v || Co(x)) && (w[x] = b[x]));
return (
t.style &&
h.style !== t.style &&
(w.style = To({}, t.style, {}, h.style)),
(w.className = Array.prototype
.concat(l, u, m !== u ? m : null, t.className, h.className)
.filter(Boolean)
.join(' ')),
(w.ref = g),
(0, n.createElement)(y, w)
);
})(m, e, t, y);
};
return (
(v.displayName = p),
((m = n.forwardRef(v)).attrs = f),
(m.componentStyle = g),
(m.displayName = p),
(m.shouldForwardProp = h),
(m.foldedComponentIds = o
? Array.prototype.concat(
e.foldedComponentIds,
e.styledComponentId
)
: Do),
(m.styledComponentId = d),
(m.target = o ? e.target : e),
(m.withComponent = function (e) {
var n = t.componentId,
o = (function (e, t) {
if (null == e) return {};
var n,
r,
o = {},
i = Object.keys(e);
for (r = 0; r < i.length; r++)
(n = i[r]), t.indexOf(n) >= 0 || (o[n] = e[n]);
return o;
})(t, ['componentId']),
i = n && n + '-' + (Wi(e) ? e : Bi(Fo(e)));
return ea(e, To({}, o, { attrs: f, componentId: i }), r);
}),
Object.defineProperty(m, 'defaultProps', {
get: function () {
return this._foldedDefaultProps;
},
set: function (t) {
this._foldedDefaultProps = o ? Gi({}, e.defaultProps, t) : t;
}
}),
(m.toString = function () {
return '.' + m.styledComponentId;
}),
i &&
jo()(m, e, {
attrs: !0,
componentStyle: !0,
displayName: !0,
foldedComponentIds: !0,
shouldForwardProp: !0,
styledComponentId: !0,
target: !0,
withComponent: !0
}),
m
);
}
var ta = function (e) {
return (function e(t, n, r) {
if ((void 0 === r && (r = Lo), !(0, Oo.isValidElementType)(n)))
return Ho(1, String(n));
var o = function () {
return t(n, r, Fi.apply(void 0, arguments));
};
return (
(o.withConfig = function (o) {
return e(t, n, To({}, r, {}, o));
}),
(o.attrs = function (o) {
return e(
t,
n,
To({}, r, {
attrs: Array.prototype.concat(r.attrs, o).filter(Boolean)
})
);
}),
o
);
})(ea, e);
};
[
'a',
'abbr',
'address',
'area',
'article',
'aside',
'audio',
'b',
'base',
'bdi',
'bdo',
'big',
'blockquote',
'body',
'br',
'button',
'canvas',
'caption',
'cite',
'code',
'col',
'colgroup',
'data',
'datalist',
'dd',
'del',
'details',
'dfn',
'dialog',
'div',
'dl',
'dt',
'em',
'embed',
'fieldset',
'figcaption',
'figure',
'footer',
'form',
'h1',
'h2',
'h3',
'h4',
'h5',
'h6',
'head',
'header',
'hgroup',
'hr',
'html',
'i',
'iframe',
'img',
'input',
'ins',
'kbd',
'keygen',
'label',
'legend',
'li',
'link',
'main',
'map',
'mark',
'marquee',
'menu',
'menuitem',
'meta',
'meter',
'nav',
'noscript',
'object',
'ol',
'optgroup',
'option',
'output',
'p',
'param',
'picture',
'pre',
'progress',
'q',
'rp',
'rt',
'ruby',
's',
'samp',
'script',
'section',
'select',
'small',
'source',
'span',
'strong',
'style',
'sub',
'summary',
'sup',
'table',
'tbody',
'td',
'textarea',
'tfoot',
'th',
'thead',
'time',
'title',
'tr',
'track',
'u',
'ul',
'var',
'video',
'wbr',
'circle',
'clipPath',
'defs',
'ellipse',
'foreignObject',
'g',
'image',
'line',
'linearGradient',
'marker',
'mask',
'path',
'pattern',
'polygon',
'polyline',
'radialGradient',
'rect',
'stop',
'svg',
'text',
'textPath',
'tspan'
].forEach(function (e) {
ta[e] = ta(e);
});
var na = (function () {
function e(e, t) {
(this.rules = e),
(this.componentId = t),
(this.isStatic = yi(e)),
pi.registerId(this.componentId + 1);
}
var t = e.prototype;
return (
(t.createStyles = function (e, t, n, r) {
var o = r(Mi(this.rules, t, n, r).join(''), ''),
i = this.componentId + e;
n.insertRules(i, i, o);
}),
(t.removeStyles = function (e, t) {
t.clearRules(this.componentId + e);
}),
(t.renderStyles = function (e, t, n, r) {
e > 2 && pi.registerId(this.componentId + e),
this.removeStyles(e, n),
this.createStyles(e, t, n, r);
}),
e
);
})();
function ra(e) {
for (
var t = arguments.length, r = new Array(t > 1 ? t - 1 : 0), o = 1;
o < t;
o++
)
r[o - 1] = arguments[o];
var i = Fi.apply(void 0, [e].concat(r)),
a = 'sc-global-' + qi(JSON.stringify(i)),
s = new na(i, a);
function l(e) {
var t = Ai(),
r = $i(),
o = (0, n.useContext)(Qi),
i = (0, n.useRef)(t.allocateGSInstance(a)).current;
return (
(0, n.useLayoutEffect)(
function () {
return (
c(i, e, t, o, r),
function () {
return s.removeStyles(i, t);
}
);
},
[i, e, t, o, r]
),
null
);
}
function c(e, t, n, r, o) {
if (s.isStatic) s.renderStyles(e, Wo, n, o);
else {
var i = To({}, t, { theme: zi(t, r, l.defaultProps) });
s.renderStyles(e, i, n, o);
}
}
return n.memo(l);
}
function oa(e) {
for (
var t = arguments.length, n = new Array(t > 1 ? t - 1 : 0), r = 1;
r < t;
r++
)
n[r - 1] = arguments[r];
var o = Fi.apply(void 0, [e].concat(n)).join(''),
i = qi(o);
return new Ri(i, o);
}
var ia = (function () {
function e() {
var e = this;
(this._emitSheetCSS = function () {
var t = e.instance.toString(),
n = oi();
return (
''
);
}),
(this.getStyleTags = function () {
return e.sealed ? Ho(2) : e._emitSheetCSS();
}),
(this.getStyleElement = function () {
var t;
if (e.sealed) return Ho(2);
var r =
(((t = {})[Uo] = ''),
(t['data-styled-version'] = '5.3.0'),
(t.dangerouslySetInnerHTML = {
__html: e.instance.toString()
}),
t),
o = oi();
return (
o && (r.nonce = o),
[n.createElement('style', To({}, r, { key: 'sc-0-0' }))]
);
}),
(this.seal = function () {
e.sealed = !0;
}),
(this.instance = new pi({ isServer: !0 })),
(this.sealed = !1);
}
var t = e.prototype;
return (
(t.collectStyles = function (e) {
return this.sealed
? Ho(2)
: n.createElement(Ci, { sheet: this.instance }, e);
}),
(t.interleaveWithNodeStream = function (e) {
return Ho(3);
}),
e
);
})(),
aa = function (e) {
var t = n.forwardRef(function (t, r) {
var o = (0, n.useContext)(Qi),
i = e.defaultProps,
a = zi(t, o, i);
return n.createElement(e, To({}, t, { theme: a, ref: r }));
});
return jo()(t, e), (t.displayName = 'WithTheme(' + Fo(e) + ')'), t;
},
sa = function () {
return (0, n.useContext)(Qi);
},
la = { StyleSheet: pi, masterSheet: Ei },
ca = ta;
const {
default: ua,
css: pa,
createGlobalStyle: da,
keyframes: fa,
ThemeProvider: ha
} = e,
ma =
(e, t, n) =>
(...r) => pa\`
@media \${t ? 'print, ' : ''} screen and (max-width: \${t =>
t.theme.breakpoints[e]}) \${n || ''} {
\${pa(...r)};
}
\`;
var ga = ua;
function ya(e) {
return t => {
if (t.theme.extensionsHook) return t.theme.extensionsHook(e, t);
};
}
const va = ga.div\`
padding: 20px;
color: red;
\`;
class ba extends n.Component {
constructor(e) {
super(e), (this.state = { error: void 0 });
}
componentDidCatch(e) {
return this.setState({ error: e }), !1;
}
render() {
return this.state.error
? n.createElement(
va,
null,
n.createElement('h1', null, 'Something went wrong...'),
n.createElement(
'small',
null,
' ',
this.state.error.message,
' '
),
n.createElement(
'p',
null,
n.createElement(
'details',
null,
n.createElement('summary', null, 'Stack trace'),
n.createElement('pre', null, this.state.error.stack)
)
),
n.createElement('small', null, ' ReDoc Version: ', '2.0.0'),
' ',
n.createElement('br', null),
n.createElement('small', null, ' Commit: ', '5fb4daa')
)
: n.createElement(
n.Fragment,
null,
n.Children.only(this.props.children)
);
}
}
const wa = fa\`
0% {
transform: rotate(0deg); }
100% {
transform: rotate(360deg);
}
\`,
xa = ga(e =>
n.createElement(
'svg',
{
className: e.className,
version: '1.1',
width: '512',
height: '512',
viewBox: '0 0 512 512'
},
n.createElement('path', {
d: 'M275.682 147.999c0 10.864-8.837 19.661-19.682 19.661v0c-10.875 0-19.681-8.796-19.681-19.661v-96.635c0-10.885 8.806-19.661 19.681-19.661v0c10.844 0 19.682 8.776 19.682 19.661v96.635z'
}),
n.createElement('path', {
d: 'M275.682 460.615c0 10.865-8.837 19.682-19.682 19.682v0c-10.875 0-19.681-8.817-19.681-19.682v-96.604c0-10.885 8.806-19.681 19.681-19.681v0c10.844 0 19.682 8.796 19.682 19.682v96.604z'
}),
n.createElement('path', {
d: 'M147.978 236.339c10.885 0 19.681 8.755 19.681 19.641v0c0 10.885-8.796 19.702-19.681 19.702h-96.624c-10.864 0-19.661-8.817-19.661-19.702v0c0-10.885 8.796-19.641 19.661-19.641h96.624z'
}),
n.createElement('path', {
d: 'M460.615 236.339c10.865 0 19.682 8.755 19.682 19.641v0c0 10.885-8.817 19.702-19.682 19.702h-96.584c-10.885 0-19.722-8.817-19.722-19.702v0c0-10.885 8.837-19.641 19.722-19.641h96.584z'
}),
n.createElement('path', {
d: 'M193.546 165.703c7.69 7.66 7.68 20.142 0 27.822v0c-7.701 7.701-20.162 7.701-27.853 0.020l-68.311-68.322c-7.68-7.701-7.68-20.142 0-27.863v0c7.68-7.68 20.121-7.68 27.822 0l68.342 68.342z'
}),
n.createElement('path', {
d: 'M414.597 386.775c7.7 7.68 7.7 20.163 0.021 27.863v0c-7.7 7.659-20.142 7.659-27.843-0.062l-68.311-68.26c-7.68-7.7-7.68-20.204 0-27.863v0c7.68-7.7 20.163-7.7 27.842 0l68.291 68.322z'
}),
n.createElement('path', {
d: 'M165.694 318.464c7.69-7.7 20.153-7.7 27.853 0v0c7.68 7.659 7.69 20.163 0 27.863l-68.342 68.322c-7.67 7.659-20.142 7.659-27.822-0.062v0c-7.68-7.68-7.68-20.122 0-27.801l68.311-68.322z'
}),
n.createElement('path', {
d: 'M386.775 97.362c7.7-7.68 20.142-7.68 27.822 0v0c7.7 7.68 7.7 20.183 0.021 27.863l-68.322 68.311c-7.68 7.68-20.163 7.68-27.843-0.020v0c-7.68-7.68-7.68-20.162 0-27.822l68.322-68.332z'
})
)
)\`
animation: 2s \${wa} linear infinite;
width: 50px;
height: 50px;
content: '';
display: inline-block;
margin-left: -25px;
path {
fill: \${e => e.color};
}
\`,
ka = ga.div\`
font-family: helvetica, sans;
width: 100%;
text-align: center;
font-size: 25px;
margin: 30px 0 20px 0;
color: \${e => e.color};
\`;
class _a extends n.PureComponent {
render() {
return n.createElement(
'div',
{ style: { textAlign: 'center' } },
n.createElement(ka, { color: this.props.color }, 'Loading ...'),
n.createElement(xa, { color: this.props.color })
);
}
}
var Oa = r(5697);
const Sa = n.createContext(new xo({})),
Ea = Sa.Provider,
Pa = Sa.Consumer;
var Aa = r(3675),
$a = r(3777),
Ca = r(8925);
var Ra = r(1851),
ja = r(6729),
Ta = r(3573),
Ia = r.n(Ta);
const Na = Ta.parse;
class Da {
static baseName(e, t = 1) {
const n = Da.parse(e);
return n[n.length - t];
}
static dirName(e, t = 1) {
const n = Da.parse(e);
return Ta.compile(n.slice(0, n.length - t));
}
static relative(e, t) {
const n = Da.parse(e);
return Da.parse(t).slice(n.length);
}
static parse(e) {
let t = e;
return '#' === t.charAt(0) && (t = t.substring(1)), Na(t);
}
static join(e, t) {
const n = Da.parse(e).concat(t);
return Ta.compile(n);
}
static get(e, t) {
return Ta.get(e, t);
}
static compile(e) {
return Ta.compile(e);
}
static escape(e) {
return Ta.escape(e);
}
}
(Ta.parse = Da.parse), Object.assign(Da, Ta);
var La = r(6470),
Ma = r(3578),
Fa = Object.defineProperty,
za = Object.defineProperties,
Ua = Object.getOwnPropertyDescriptors,
Va = Object.getOwnPropertySymbols,
Ba = Object.prototype.hasOwnProperty,
qa = Object.prototype.propertyIsEnumerable,
Wa = (e, t, n) =>
t in e
? Fa(e, t, {
enumerable: !0,
configurable: !0,
writable: !0,
value: n
})
: (e[t] = n),
Ha = (e, t) => {
for (var n in t || (t = {})) Ba.call(t, n) && Wa(e, n, t[n]);
if (Va) for (var n of Va(t)) qa.call(t, n) && Wa(e, n, t[n]);
return e;
},
Ya = (e, t) => za(e, Ua(t));
function Ka(e) {
return 'string' == typeof e && /\\dxx/i.test(e);
}
function Ga(e, t = !1) {
if ('default' === e) return t ? 'error' : 'success';
let n = 'string' == typeof e ? parseInt(e, 10) : e;
if ((Ka(e) && (n *= 100), n < 100 || n > 599))
throw new Error('invalid HTTP code');
let r = 'success';
return (
n >= 300 && n < 400
? (r = 'redirect')
: n >= 400
? (r = 'error')
: n < 200 && (r = 'info'),
r
);
}
const Qa = {
get: !0,
post: !0,
put: !0,
head: !0,
patch: !0,
delete: !0,
options: !0,
$ref: !0
};
function Xa(e) {
return e in Qa;
}
const Ja = {
multipleOf: 'number',
maximum: 'number',
exclusiveMaximum: 'number',
minimum: 'number',
exclusiveMinimum: 'number',
maxLength: 'string',
minLength: 'string',
pattern: 'string',
contentEncoding: 'string',
contentMediaType: 'string',
items: 'array',
maxItems: 'array',
minItems: 'array',
uniqueItems: 'array',
maxProperties: 'object',
minProperties: 'object',
required: 'object',
additionalProperties: 'object',
unevaluatedProperties: 'object',
properties: 'object',
patternProperties: 'object'
};
function Za(e, t = e.type) {
if (e['x-circular-ref']) return !0;
if (void 0 !== e.oneOf || void 0 !== e.anyOf) return !1;
if ((e.if && e.then) || (e.if && e.else)) return !1;
let n = !0;
const r = io(t);
return (
('object' === t ||
(r && (null == t ? void 0 : t.includes('object')))) &&
(n =
void 0 !== e.properties
? 0 === Object.keys(e.properties).length
: void 0 === e.additionalProperties &&
void 0 === e.unevaluatedProperties &&
void 0 === e.patternProperties),
!io(e.items) &&
!io(e.prefixItems) &&
(void 0 !== e.items &&
!ao(e.items) &&
('array' === t ||
(r && (null == t ? void 0 : t.includes('array')))) &&
(n = Za(e.items, e.items.type)),
n)
);
}
function es(e) {
return -1 !== e.search(/json/i);
}
function ts(e, t, n) {
return io(e)
? e.map(e => e.toString()).join(n)
: 'object' == typeof e
? Object.keys(e)
.map(t => \`\${t}\${n}\${e[t]}\`)
.join(n)
: t + '=' + e.toString();
}
function ns(e, t) {
return io(e)
? (console.warn(
'deepObject style cannot be used with array value:' +
e.toString()
),
'')
: 'object' == typeof e
? Object.keys(e)
.map(n => \`\${t}[\${n}]=\${e[n]}\`)
.join('&')
: (console.warn(
'deepObject style cannot be used with non-object value:' +
e.toString()
),
'');
}
function rs(e, t, n) {
const r = '__redoc_param_name__',
o = t ? '*' : '';
return Ma.parse(\`{?\${r}\${o}}\`)
.expand({ [r]: n })
.substring(1)
.replace(/__redoc_param_name__/g, e);
}
function os(e, t) {
return es(t)
? JSON.stringify(e)
: (console.warn(\`Parameter serialization as \${t} is not supported\`),
'');
}
function is(e, t) {
return e.in
? decodeURIComponent(
(function (e, t) {
const {
name: n,
style: r,
explode: o = !1,
serializationMime: i
} = e;
if (i)
switch (e.in) {
case 'path':
case 'header':
return os(t, i);
case 'cookie':
case 'query':
return \`\${n}=\${os(t, i)}\`;
default:
return (
console.warn(
'Unexpected parameter location: ' + e.in
),
''
);
}
if (!r)
return (
console.warn(
\`Missing style attribute or content for parameter \${n}\`
),
''
);
switch (e.in) {
case 'path':
return (function (e, t, n, r) {
const o = n ? '*' : '';
let i = '';
'label' === t ? (i = '.') : 'matrix' === t && (i = ';');
const a = '__redoc_param_name__';
return Ma.parse(\`{\${i}\${a}\${o}}\`)
.expand({ [a]: r })
.replace(/__redoc_param_name__/g, e);
})(n, r, o, t);
case 'query':
return (function (e, t, n, r) {
switch (t) {
case 'form':
return rs(e, n, r);
case 'spaceDelimited':
return io(r)
? n
? rs(e, n, r)
: \`\${e}=\${r.join('%20')}\`
: (console.warn(
'The style spaceDelimited is only applicable to arrays'
),
'');
case 'pipeDelimited':
return io(r)
? n
? rs(e, n, r)
: \`\${e}=\${r.join('|')}\`
: (console.warn(
'The style pipeDelimited is only applicable to arrays'
),
'');
case 'deepObject':
return !n || io(r) || 'object' != typeof r
? (console.warn(
'The style deepObject is only applicable for objects with explode=true'
),
'')
: ns(r, e);
default:
return (
console.warn('Unexpected style for query: ' + t),
''
);
}
})(n, r, o, t);
case 'header':
return (function (e, t, n) {
if ('simple' === e) {
const e = t ? '*' : '',
r = '__redoc_param_name__',
o = Ma.parse(\`{\${r}\${e}}\`);
return decodeURIComponent(o.expand({ [r]: n }));
}
return (
console.warn('Unexpected style for header: ' + e), ''
);
})(r, o, t);
case 'cookie':
return (function (e, t, n, r) {
return 'form' === t
? rs(e, n, r)
: (console.warn('Unexpected style for cookie: ' + t),
'');
})(n, r, o, t);
default:
return (
console.warn('Unexpected parameter location: ' + e.in),
''
);
}
})(e, t)
)
: t;
}
const as = /^#\\/components\\/(schemas|pathItems)\\/([^/]+)$/;
function ss(e) {
return as.test(e || '');
}
function ls(e) {
var t;
const [n] =
(null == (t = null == e ? void 0 : e.match(as))
? void 0
: t.reverse()) || [];
return n;
}
function cs(e, t, n) {
let r;
return (
void 0 !== t && void 0 !== n
? (r = t === n ? \`= \${t} \${e}\` : \`[ \${t} .. \${n} ] \${e}\`)
: void 0 !== n
? (r = \`<= \${n} \${e}\`)
: void 0 !== t && (r = 1 === t ? 'non-empty' : \`>= \${t} \${e}\`),
r
);
}
function us(e) {
const t = [],
n = cs('characters', e.minLength, e.maxLength);
void 0 !== n && t.push(n);
const r = cs('items', e.minItems, e.maxItems);
void 0 !== r && t.push(r);
const o = cs('properties', e.minProperties, e.maxProperties);
void 0 !== o && t.push(o);
const i = (function (e) {
if (void 0 === e) return;
const t = e.toString(10);
return /^0\\.0*1$/.test(t)
? \`decimal places <= \${t.split('.')[1].length}\`
: \`multiple of \${t}\`;
})(e.multipleOf);
void 0 !== i && t.push(i);
const a = (function (e) {
var t, n;
const r =
'number' == typeof e.exclusiveMinimum
? Math.min(
e.exclusiveMinimum,
null != (t = e.minimum) ? t : 1 / 0
)
: e.minimum,
o =
'number' == typeof e.exclusiveMaximum
? Math.max(
e.exclusiveMaximum,
null != (n = e.maximum) ? n : -1 / 0
)
: e.maximum,
i = 'number' == typeof e.exclusiveMinimum || e.exclusiveMinimum,
a = 'number' == typeof e.exclusiveMaximum || e.exclusiveMaximum;
return void 0 !== r && void 0 !== o
? \`\${i ? '( ' : '[ '}\${r} .. \${o}\${a ? ' )' : ' ]'}\`
: void 0 !== o
? \`\${a ? '< ' : '<= '}\${o}\`
: void 0 !== r
? \`\${i ? '> ' : '>= '}\${r}\`
: void 0;
})(e);
return (
void 0 !== a && t.push(a), e.uniqueItems && t.push('unique'), t
);
}
function ps(e, t = []) {
const n = [],
r = [],
o = [];
return (
e.forEach(e => {
e.required
? t.includes(e.name)
? r.push(e)
: o.push(e)
: n.push(e);
}),
r.sort((e, n) => t.indexOf(e.name) - t.indexOf(n.name)),
[...r, ...o, ...n]
);
}
function ds(e, t) {
return [...e].sort((e, n) => e[t].localeCompare(n[t]));
}
function fs(e, t) {
const n =
void 0 === e
? (function (e) {
try {
const t = ro(e);
return (t.search = ''), (t.hash = ''), t.toString();
} catch (t) {
return e;
}
})(
(() => {
if (!qr) return '';
const e = window.location.href;
return e.endsWith('.html') ? (0, La.dirname)(e) : e;
})()
)
: (0, La.dirname)(e);
return (
0 === t.length && (t = [{ url: '/' }]),
t.map(e => {
return Ya(Ha({}, e), {
url:
((t = e.url),
(function (e, t) {
let n;
if (t.startsWith('//'))
try {
n = \`\${new URL(e).protocol || 'https:'}\${t}\`;
} catch (e) {
n = \`https:\${t}\`;
}
else if (
(function (e) {
return /(?:^[a-z][a-z0-9+.-]*:|\\/\\/)/i.test(e);
})(t)
)
n = t;
else if (t.startsWith('/'))
try {
const r = new URL(e);
(r.pathname = t), (n = r.href);
} catch (e) {
n = t;
}
else n = Xr(e) + '/' + t;
return Xr(n);
})(n, t)),
description: e.description || ''
});
var t;
})
);
}
let hs = 'section/Authentication/';
const ms = e => ({ delete: 'del', options: 'opts' })[e] || e;
function gs(e, t) {
return Object.keys(e)
.filter(e =>
!0 === t
? e.startsWith('x-') &&
!(function (e) {
return (
e in
{
'x-circular-ref': !0,
'x-parentRefs': !0,
'x-refsStack': !0,
'x-code-samples': !0,
'x-codeSamples': !0,
'x-displayName': !0,
'x-examples': !0,
'x-ignoredHeaderParameters': !0,
'x-logo': !0,
'x-nullable': !0,
'x-servers': !0,
'x-tagGroups': !0,
'x-traitTag': !0,
'x-additionalPropertiesName': !0,
'x-explicitMappingOnly': !0
}
);
})(e)
: e.startsWith('x-') && t.indexOf(e) > -1
)
.reduce((t, n) => ((t[n] = e[n]), t), {});
}
var ys = r(5660);
r(7874),
r(4279),
r(5433),
r(6213),
r(2731),
r(3967),
r(7046),
r(57),
r(2503),
r(6841),
r(6854),
r(4335),
r(1426),
r(8246),
r(9945),
r(366),
r(2939),
r(9385),
r(2886),
r(5266),
r(874),
r(3358),
r(8052);
function vs(e, t = 'clike') {
t = t.toLowerCase();
let n = ys.languages[t];
return (
n ||
(n =
ys.languages[
(function (e) {
return (
{
json: 'js',
'c++': 'cpp',
'c#': 'csharp',
'objective-c': 'objectivec',
shell: 'bash',
viml: 'vim'
}[e] || 'clike'
);
})(t)
]),
ys.highlight(e.toString(), n, t)
);
}
ys.languages.insertBefore(
'javascript',
'string',
{
'property string': {
pattern: /([{,]\\s*)"(?:\\\\.|[^\\\\"\\r\\n])*"(?=\\s*:)/i,
lookbehind: !0
}
},
void 0
),
ys.languages.insertBefore(
'javascript',
'punctuation',
{
property: {
pattern: /([{,]\\s*)[a-z]\\w*(?=\\s*:)/i,
lookbehind: !0
}
},
void 0
);
var bs = Object.defineProperty,
ws = Object.defineProperties,
xs = Object.getOwnPropertyDescriptors,
ks = Object.getOwnPropertySymbols,
_s = Object.prototype.hasOwnProperty,
Os = Object.prototype.propertyIsEnumerable,
Ss = (e, t, n) =>
t in e
? bs(e, t, {
enumerable: !0,
configurable: !0,
writable: !0,
value: n
})
: (e[t] = n),
Es = (e, t) => {
for (var n in t || (t = {})) _s.call(t, n) && Ss(e, n, t[n]);
if (ks) for (var n of ks(t)) Os.call(t, n) && Ss(e, n, t[n]);
return e;
},
Ps = (e, t) => ws(e, xs(t));
const As = {};
function $s(e, t, n) {
if ('function' == typeof n.value)
return (function (e, t, n) {
if (!n.value || n.value.length > 0)
throw new Error(
'@memoize decorator can only be applied to methods of zero arguments'
);
const r = \`_memoized_\${t}\`,
o = n.value;
return (
(e[r] = As),
Ps(Es({}, n), {
value() {
return this[r] === As && (this[r] = o.call(this)), this[r];
}
})
);
})(e, t, n);
if ('function' == typeof n.get)
return (function (e, t, n) {
const r = \`_memoized_\${t}\`,
o = n.get;
return (
(e[r] = As),
Ps(Es({}, n), {
get() {
return this[r] === As && (this[r] = o.call(this)), this[r];
}
})
);
})(e, t, n);
throw new Error(
'@memoize decorator can be applied to methods or getters, got ' +
String(n.value) +
' instead'
);
}
function Cs(e) {
let t = 1;
return (
'-' === e[0] && ((t = -1), (e = e.substr(1))),
(n, r) =>
-1 == t ? r[e].localeCompare(n[e]) : n[e].localeCompare(r[e])
);
}
var Rs = Object.defineProperty,
js = Object.getOwnPropertyDescriptor;
const Ts = 'hashchange';
class Is {
constructor() {
(this.emit = () => {
this._emiter.emit(Ts, this.currentId);
}),
(this._emiter = new ja.EventEmitter()),
this.bind();
}
get currentId() {
return qr
? decodeURIComponent(window.location.hash.substring(1))
: '';
}
linkForId(e) {
return e ? '#' + e : '';
}
subscribe(e) {
const t = this._emiter.addListener(Ts, e);
return () => t.removeListener(Ts, e);
}
bind() {
qr && window.addEventListener('hashchange', this.emit, !1);
}
dispose() {
qr && window.removeEventListener('hashchange', this.emit);
}
replace(e, t = !1) {
qr &&
null != e &&
e !== this.currentId &&
(t
? window.history.replaceState(
null,
'',
window.location.href.split('#')[0] + this.linkForId(e)
)
: (window.history.pushState(
null,
'',
window.location.href.split('#')[0] + this.linkForId(e)
),
this.emit()));
}
}
((e, t, n, r) => {
for (var o, i = js(t, n), a = e.length - 1; a >= 0; a--)
(o = e[a]) && (i = o(t, n, i) || i);
i && Rs(t, n, i);
})([Ra.bind, Ra.debounce], Is.prototype, 'replace');
const Ns = new Is();
var Ds = r(813);
class Ls {
constructor() {
(this.map = new Map()), (this.prevTerm = '');
}
add(e) {
this.map.set(e, new Ds(e));
}
delete(e) {
this.map.delete(e);
}
addOnly(e) {
this.map.forEach((t, n) => {
-1 === e.indexOf(n) && (t.unmark(), this.map.delete(n));
});
for (const t of e) this.map.has(t) || this.map.set(t, new Ds(t));
}
clearAll() {
this.unmark(), this.map.clear();
}
mark(e) {
(e || this.prevTerm) &&
(this.map.forEach(t => {
t.unmark(), t.mark(e || this.prevTerm);
}),
(this.prevTerm = e || this.prevTerm));
}
unmark() {
this.map.forEach(e => e.unmark()), (this.prevTerm = '');
}
}
let Ms = {
baseUrl: null,
breaks: !1,
extensions: null,
gfm: !0,
headerIds: !0,
headerPrefix: '',
highlight: null,
langPrefix: 'language-',
mangle: !0,
pedantic: !1,
renderer: null,
sanitize: !1,
sanitizer: null,
silent: !1,
smartLists: !1,
smartypants: !1,
tokenizer: null,
walkTokens: null,
xhtml: !1
};
const Fs = /[&<>"']/,
zs = /[&<>"']/g,
Us = /[<>"']|&(?!#?\\w+;)/,
Vs = /[<>"']|&(?!#?\\w+;)/g,
Bs = {
'&': '&',
'<': '<',
'>': '>',
'"': '"',
"'": '''
},
qs = e => Bs[e];
function Ws(e, t) {
if (t) {
if (Fs.test(e)) return e.replace(zs, qs);
} else if (Us.test(e)) return e.replace(Vs, qs);
return e;
}
const Hs = /&(#(?:\\d+)|(?:#x[0-9A-Fa-f]+)|(?:\\w+));?/gi;
function Ys(e) {
return e.replace(Hs, (e, t) =>
'colon' === (t = t.toLowerCase())
? ':'
: '#' === t.charAt(0)
? 'x' === t.charAt(1)
? String.fromCharCode(parseInt(t.substring(2), 16))
: String.fromCharCode(+t.substring(1))
: ''
);
}
const Ks = /(^|[^\\[])\\^/g;
function Gs(e, t) {
(e = 'string' == typeof e ? e : e.source), (t = t || '');
const n = {
replace: (t, r) => (
(r = (r = r.source || r).replace(Ks, '$1')),
(e = e.replace(t, r)),
n
),
getRegex: () => new RegExp(e, t)
};
return n;
}
const Qs = /[^\\w:]/g,
Xs = /^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;
function Js(e, t, n) {
if (e) {
let e;
try {
e = decodeURIComponent(Ys(n)).replace(Qs, '').toLowerCase();
} catch (e) {
return null;
}
if (
0 === e.indexOf('javascript:') ||
0 === e.indexOf('vbscript:') ||
0 === e.indexOf('data:')
)
return null;
}
t &&
!Xs.test(n) &&
(n = (function (e, t) {
Zs[' ' + e] ||
(el.test(e)
? (Zs[' ' + e] = e + '/')
: (Zs[' ' + e] = al(e, '/', !0)));
const n = -1 === (e = Zs[' ' + e]).indexOf(':');
return '//' === t.substring(0, 2)
? n
? t
: e.replace(tl, '$1') + t
: '/' === t.charAt(0)
? n
? t
: e.replace(nl, '$1') + t
: e + t;
})(t, n));
try {
n = encodeURI(n).replace(/%25/g, '%');
} catch (e) {
return null;
}
return n;
}
const Zs = {},
el = /^[^:]+:\\/*[^/]*$/,
tl = /^([^:]+:)[\\s\\S]*$/,
nl = /^([^:]+:\\/*[^/]*)[\\s\\S]*$/,
rl = { exec: function () {} };
function ol(e) {
let t,
n,
r = 1;
for (; r < arguments.length; r++)
for (n in ((t = arguments[r]), t))
Object.prototype.hasOwnProperty.call(t, n) && (e[n] = t[n]);
return e;
}
function il(e, t) {
const n = e
.replace(/\\|/g, (e, t, n) => {
let r = !1,
o = t;
for (; --o >= 0 && '\\\\' === n[o]; ) r = !r;
return r ? '|' : ' |';
})
.split(/ \\|/);
let r = 0;
if (
(n[0].trim() || n.shift(),
n.length > 0 && !n[n.length - 1].trim() && n.pop(),
n.length > t)
)
n.splice(t);
else for (; n.length < t; ) n.push('');
for (; r < n.length; r++) n[r] = n[r].trim().replace(/\\\\\\|/g, '|');
return n;
}
function al(e, t, n) {
const r = e.length;
if (0 === r) return '';
let o = 0;
for (; o < r; ) {
const i = e.charAt(r - o - 1);
if (i !== t || n) {
if (i === t || !n) break;
o++;
} else o++;
}
return e.slice(0, r - o);
}
function sl(e) {
e &&
e.sanitize &&
!e.silent &&
console.warn(
'marked(): sanitize and sanitizer parameters are deprecated since version 0.7.0, should not be used and will be removed in the future. Read more here: https://marked.js.org/#/USING_ADVANCED.md#options'
);
}
function ll(e, t) {
if (t < 1) return '';
let n = '';
for (; t > 1; ) 1 & t && (n += e), (t >>= 1), (e += e);
return n + e;
}
function cl(e, t, n, r) {
const o = t.href,
i = t.title ? Ws(t.title) : null,
a = e[1].replace(/\\\\([\\[\\]])/g, '$1');
if ('!' !== e[0].charAt(0)) {
r.state.inLink = !0;
const e = {
type: 'link',
raw: n,
href: o,
title: i,
text: a,
tokens: r.inlineTokens(a, [])
};
return (r.state.inLink = !1), e;
}
return { type: 'image', raw: n, href: o, title: i, text: Ws(a) };
}
class ul {
constructor(e) {
this.options = e || Ms;
}
space(e) {
const t = this.rules.block.newline.exec(e);
if (t && t[0].length > 0) return { type: 'space', raw: t[0] };
}
code(e) {
const t = this.rules.block.code.exec(e);
if (t) {
const e = t[0].replace(/^ {1,4}/gm, '');
return {
type: 'code',
raw: t[0],
codeBlockStyle: 'indented',
text: this.options.pedantic ? e : al(e, '\\n')
};
}
}
fences(e) {
const t = this.rules.block.fences.exec(e);
if (t) {
const e = t[0],
n = (function (e, t) {
const n = e.match(/^(\\s+)(?:\`\`\`)/);
if (null === n) return t;
const r = n[1];
return t
.split('\\n')
.map(e => {
const t = e.match(/^\\s+/);
if (null === t) return e;
const [n] = t;
return n.length >= r.length ? e.slice(r.length) : e;
})
.join('\\n');
})(e, t[3] || '');
return {
type: 'code',
raw: e,
lang: t[2] ? t[2].trim() : t[2],
text: n
};
}
}
heading(e) {
const t = this.rules.block.heading.exec(e);
if (t) {
let e = t[2].trim();
if (/#$/.test(e)) {
const t = al(e, '#');
this.options.pedantic
? (e = t.trim())
: (t && !/ $/.test(t)) || (e = t.trim());
}
const n = {
type: 'heading',
raw: t[0],
depth: t[1].length,
text: e,
tokens: []
};
return this.lexer.inline(n.text, n.tokens), n;
}
}
hr(e) {
const t = this.rules.block.hr.exec(e);
if (t) return { type: 'hr', raw: t[0] };
}
blockquote(e) {
const t = this.rules.block.blockquote.exec(e);
if (t) {
const e = t[0].replace(/^ *>[ \\t]?/gm, '');
return {
type: 'blockquote',
raw: t[0],
tokens: this.lexer.blockTokens(e, []),
text: e
};
}
}
list(e) {
let t = this.rules.block.list.exec(e);
if (t) {
let n,
r,
o,
i,
a,
s,
l,
c,
u,
p,
d,
f,
h = t[1].trim();
const m = h.length > 1,
g = {
type: 'list',
raw: '',
ordered: m,
start: m ? +h.slice(0, -1) : '',
loose: !1,
items: []
};
(h = m ? \`\\\\d{1,9}\\\\\${h.slice(-1)}\` : \`\\\\\${h}\`),
this.options.pedantic && (h = m ? h : '[*+-]');
const y = new RegExp(\`^( {0,3}\${h})((?:[\\t ][^\\\\n]*)?(?:\\\\n|$))\`);
for (
;
e &&
((f = !1), (t = y.exec(e))) &&
!this.rules.block.hr.test(e);
) {
if (
((n = t[0]),
(e = e.substring(n.length)),
(c = t[2].split('\\n', 1)[0]),
(u = e.split('\\n', 1)[0]),
this.options.pedantic
? ((i = 2), (d = c.trimLeft()))
: ((i = t[2].search(/[^ ]/)),
(i = i > 4 ? 1 : i),
(d = c.slice(i)),
(i += t[1].length)),
(s = !1),
!c &&
/^ *$/.test(u) &&
((n += u + '\\n'),
(e = e.substring(u.length + 1)),
(f = !0)),
!f)
) {
const t = new RegExp(
\`^ {0,\${Math.min(
3,
i - 1
)}}(?:[*+-]|\\\\d{1,9}[.)])((?: [^\\\\n]*)?(?:\\\\n|$))\`
),
r = new RegExp(
\`^ {0,\${Math.min(
3,
i - 1
)}}((?:- *){3,}|(?:_ *){3,}|(?:\\\\* *){3,})(?:\\\\n+|$)\`
);
for (
;
e &&
((p = e.split('\\n', 1)[0]),
(c = p),
this.options.pedantic &&
(c = c.replace(/^ {1,4}(?=( {4})*[^ ])/g, ' ')),
!t.test(c)) &&
!r.test(e);
) {
if (c.search(/[^ ]/) >= i || !c.trim())
d += '\\n' + c.slice(i);
else {
if (s) break;
d += '\\n' + c;
}
s || c.trim() || (s = !0),
(n += p + '\\n'),
(e = e.substring(p.length + 1));
}
}
g.loose ||
(l ? (g.loose = !0) : /\\n *\\n *$/.test(n) && (l = !0)),
this.options.gfm &&
((r = /^\\[[ xX]\\] /.exec(d)),
r &&
((o = '[ ] ' !== r[0]),
(d = d.replace(/^\\[[ xX]\\] +/, '')))),
g.items.push({
type: 'list_item',
raw: n,
task: !!r,
checked: o,
loose: !1,
text: d
}),
(g.raw += n);
}
(g.items[g.items.length - 1].raw = n.trimRight()),
(g.items[g.items.length - 1].text = d.trimRight()),
(g.raw = g.raw.trimRight());
const v = g.items.length;
for (a = 0; a < v; a++) {
(this.lexer.state.top = !1),
(g.items[a].tokens = this.lexer.blockTokens(
g.items[a].text,
[]
));
const e = g.items[a].tokens.filter(e => 'space' === e.type),
t = e.every(e => {
const t = e.raw.split('');
let n = 0;
for (const e of t)
if (('\\n' === e && (n += 1), n > 1)) return !0;
return !1;
});
!g.loose &&
e.length &&
t &&
((g.loose = !0), (g.items[a].loose = !0));
}
return g;
}
}
html(e) {
const t = this.rules.block.html.exec(e);
if (t) {
const e = {
type: 'html',
raw: t[0],
pre:
!this.options.sanitizer &&
('pre' === t[1] || 'script' === t[1] || 'style' === t[1]),
text: t[0]
};
return (
this.options.sanitize &&
((e.type = 'paragraph'),
(e.text = this.options.sanitizer
? this.options.sanitizer(t[0])
: Ws(t[0])),
(e.tokens = []),
this.lexer.inline(e.text, e.tokens)),
e
);
}
}
def(e) {
const t = this.rules.block.def.exec(e);
if (t)
return (
t[3] && (t[3] = t[3].substring(1, t[3].length - 1)),
{
type: 'def',
tag: t[1].toLowerCase().replace(/\\s+/g, ' '),
raw: t[0],
href: t[2],
title: t[3]
}
);
}
table(e) {
const t = this.rules.block.table.exec(e);
if (t) {
const e = {
type: 'table',
header: il(t[1]).map(e => ({ text: e })),
align: t[2].replace(/^ *|\\| *$/g, '').split(/ *\\| */),
rows:
t[3] && t[3].trim()
? t[3].replace(/\\n[ \\t]*$/, '').split('\\n')
: []
};
if (e.header.length === e.align.length) {
e.raw = t[0];
let n,
r,
o,
i,
a = e.align.length;
for (n = 0; n < a; n++)
/^ *-+: *$/.test(e.align[n])
? (e.align[n] = 'right')
: /^ *:-+: *$/.test(e.align[n])
? (e.align[n] = 'center')
: /^ *:-+ *$/.test(e.align[n])
? (e.align[n] = 'left')
: (e.align[n] = null);
for (a = e.rows.length, n = 0; n < a; n++)
e.rows[n] = il(e.rows[n], e.header.length).map(e => ({
text: e
}));
for (a = e.header.length, r = 0; r < a; r++)
(e.header[r].tokens = []),
this.lexer.inlineTokens(
e.header[r].text,
e.header[r].tokens
);
for (a = e.rows.length, r = 0; r < a; r++)
for (i = e.rows[r], o = 0; o < i.length; o++)
(i[o].tokens = []),
this.lexer.inlineTokens(i[o].text, i[o].tokens);
return e;
}
}
}
lheading(e) {
const t = this.rules.block.lheading.exec(e);
if (t) {
const e = {
type: 'heading',
raw: t[0],
depth: '=' === t[2].charAt(0) ? 1 : 2,
text: t[1],
tokens: []
};
return this.lexer.inline(e.text, e.tokens), e;
}
}
paragraph(e) {
const t = this.rules.block.paragraph.exec(e);
if (t) {
const e = {
type: 'paragraph',
raw: t[0],
text:
'\\n' === t[1].charAt(t[1].length - 1)
? t[1].slice(0, -1)
: t[1],
tokens: []
};
return this.lexer.inline(e.text, e.tokens), e;
}
}
text(e) {
const t = this.rules.block.text.exec(e);
if (t) {
const e = { type: 'text', raw: t[0], text: t[0], tokens: [] };
return this.lexer.inline(e.text, e.tokens), e;
}
}
escape(e) {
const t = this.rules.inline.escape.exec(e);
if (t) return { type: 'escape', raw: t[0], text: Ws(t[1]) };
}
tag(e) {
const t = this.rules.inline.tag.exec(e);
if (t)
return (
!this.lexer.state.inLink && /^/i.test(t[0]) &&
(this.lexer.state.inLink = !1),
!this.lexer.state.inRawBlock &&
/^<(pre|code|kbd|script)(\\s|>)/i.test(t[0])
? (this.lexer.state.inRawBlock = !0)
: this.lexer.state.inRawBlock &&
/^<\\/(pre|code|kbd|script)(\\s|>)/i.test(t[0]) &&
(this.lexer.state.inRawBlock = !1),
{
type: this.options.sanitize ? 'text' : 'html',
raw: t[0],
inLink: this.lexer.state.inLink,
inRawBlock: this.lexer.state.inRawBlock,
text: this.options.sanitize
? this.options.sanitizer
? this.options.sanitizer(t[0])
: Ws(t[0])
: t[0]
}
);
}
link(e) {
const t = this.rules.inline.link.exec(e);
if (t) {
const e = t[2].trim();
if (!this.options.pedantic && /^$/.test(e)) return;
const t = al(e.slice(0, -1), '\\\\');
if ((e.length - t.length) % 2 == 0) return;
} else {
const e = (function (e, t) {
if (-1 === e.indexOf(t[1])) return -1;
const n = e.length;
let r = 0,
o = 0;
for (; o < n; o++)
if ('\\\\' === e[o]) o++;
else if (e[o] === t[0]) r++;
else if (e[o] === t[1] && (r--, r < 0)) return o;
return -1;
})(t[2], '()');
if (e > -1) {
const n = (0 === t[0].indexOf('!') ? 5 : 4) + t[1].length + e;
(t[2] = t[2].substring(0, e)),
(t[0] = t[0].substring(0, n).trim()),
(t[3] = '');