@redocly/reference-docs 2.43.8 → 2.44.0
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 +1 -1
- 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 +71 -71
- package/lib/redoc-lib/src/services/models/Operation.js +1 -1
- package/lib-browser/redoc-lib/src/services/models/Operation.js +1 -1
- package/lib-esm/redoc-lib/src/services/models/Operation.js +1 -1
- package/package.json +1 -1
|
@@ -2,7 +2,7 @@ var Cc=Object.defineProperty,Rc=Object.defineProperties;var Ac=Object.getOwnProp
|
|
|
2
2
|
* Redocly Reference Docs
|
|
3
3
|
* (c) Copyright 2018 Redocly LLC, all rights reserved.
|
|
4
4
|
* -------------------------------------------------------------
|
|
5
|
-
* Version: "2.
|
|
5
|
+
* Version: "2.44.0"
|
|
6
6
|
*/(function(ii,Gr){typeof exports=="object"&&typeof module=="object"?module.exports=Gr(require("null")):typeof define=="function"&&define.amd?define(["null"],Gr):typeof exports=="object"?exports.RedoclyReferenceDocs=Gr(require("null")):ii.RedoclyReferenceDocs=Gr(ii.null)})(this,function(li){return(()=>{var ii={66042:(L,n,e)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.CodeGen=n.Name=n.nil=n.stringify=n.str=n._=n.KeywordCxt=void 0;const t=e(83325),l=e(68182),s=e(35522),o=e(15281),r="https://json-schema.org/draft/2020-12/schema";class c extends t.default{constructor(h={}){super(Ro(bi({},h),{dynamicRef:!0,next:!0,unevaluated:!0}))}_addVocabularies(){super._addVocabularies(),l.default.forEach(h=>this.addVocabulary(h)),this.opts.discriminator&&this.addKeyword(s.default)}_addDefaultMetaSchema(){super._addDefaultMetaSchema();const{$data:h,meta:p}=this.opts;!p||(o.default.call(this,h),this.refs["http://json-schema.org/schema"]=r)}defaultMeta(){return this.opts.defaultMeta=super.defaultMeta()||(this.getSchema(r)?r:void 0)}}L.exports=n=c,Object.defineProperty(n,"__esModule",{value:!0}),n.default=c;var u=e(21321);Object.defineProperty(n,"KeywordCxt",{enumerable:!0,get:function(){return u.KeywordCxt}});var a=e(24475);Object.defineProperty(n,"_",{enumerable:!0,get:function(){return a._}}),Object.defineProperty(n,"str",{enumerable:!0,get:function(){return a.str}}),Object.defineProperty(n,"stringify",{enumerable:!0,get:function(){return a.stringify}}),Object.defineProperty(n,"nil",{enumerable:!0,get:function(){return a.nil}}),Object.defineProperty(n,"Name",{enumerable:!0,get:function(){return a.Name}}),Object.defineProperty(n,"CodeGen",{enumerable:!0,get:function(){return a.CodeGen}})},64667:(L,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.regexpCode=n.getEsmExportName=n.getProperty=n.safeStringify=n.stringify=n.strConcat=n.addCodeArg=n.str=n._=n.nil=n._Code=n.Name=n.IDENTIFIER=n._CodeOrName=void 0;class e{}n._CodeOrName=e,n.IDENTIFIER=/^[a-z$_][a-z$_0-9]*$/i;class t extends e{constructor(m){super();if(!n.IDENTIFIER.test(m))throw new Error("CodeGen: name must be a valid identifier");this.str=m}toString(){return this.str}emptyStr(){return!1}get names(){return{[this.str]:1}}}n.Name=t;class l extends e{constructor(m){super();this._items=typeof m=="string"?[m]:m}toString(){return this.str}emptyStr(){if(this._items.length>1)return!1;const m=this._items[0];return m===""||m==='""'}get str(){var m;return(m=this._str)!==null&&m!==void 0?m:this._str=this._items.reduce((y,O)=>`${y}${O}`,"")}get names(){var m;return(m=this._names)!==null&&m!==void 0?m:this._names=this._items.reduce((y,O)=>(O instanceof t&&(y[O.str]=(y[O.str]||0)+1),y),{})}}n._Code=l,n.nil=new l("");function s(b,...m){const y=[b[0]];let O=0;for(;O<m.length;)c(y,m[O]),y.push(b[++O]);return new l(y)}n._=s;const o=new l("+");function r(b,...m){const y=[E(b[0])];let O=0;for(;O<m.length;)y.push(o),c(y,m[O]),y.push(o,E(b[++O]));return u(y),new l(y)}n.str=r;function c(b,m){m instanceof l?b.push(...m._items):m instanceof t?b.push(m):b.push(h(m))}n.addCodeArg=c;function u(b){let m=1;for(;m<b.length-1;){if(b[m]===o){const y=a(b[m-1],b[m+1]);if(y!==void 0){b.splice(m-1,3,y);continue}b[m++]="+"}m++}}function a(b,m){if(m==='""')return b;if(b==='""')return m;if(typeof b=="string")return m instanceof t||b[b.length-1]!=='"'?void 0:typeof m!="string"?`${b.slice(0,-1)}${m}"`:m[0]==='"'?b.slice(0,-1)+m.slice(1):void 0;if(typeof m=="string"&&m[0]==='"'&&!(b instanceof t))return`"${b}${m.slice(1)}`}function d(b,m){return m.emptyStr()?b:b.emptyStr()?m:r`${b}${m}`}n.strConcat=d;function h(b){return typeof b=="number"||typeof b=="boolean"||b===null?b:E(Array.isArray(b)?b.join(","):b)}function p(b){return new l(E(b))}n.stringify=p;function E(b){return JSON.stringify(b).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029")}n.safeStringify=E;function T(b){return typeof b=="string"&&n.IDENTIFIER.test(b)?new l(`.${b}`):s`[${b}]`}n.getProperty=T;function S(b){if(typeof b=="string"&&n.IDENTIFIER.test(b))return new l(`${b}`);throw new Error(`CodeGen: invalid export name: ${b}, use explicit $id name mapping`)}n.getEsmExportName=S;function v(b){return new l(b.toString())}n.regexpCode=v},24475:(L,n,e)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.or=n.and=n.not=n.CodeGen=n.operators=n.varKinds=n.ValueScopeName=n.ValueScope=n.Scope=n.Name=n.regexpCode=n.stringify=n.getProperty=n.nil=n.strConcat=n.str=n._=void 0;const t=e(64667),l=e(17791);var s=e(64667);Object.defineProperty(n,"_",{enumerable:!0,get:function(){return s._}}),Object.defineProperty(n,"str",{enumerable:!0,get:function(){return s.str}}),Object.defineProperty(n,"strConcat",{enumerable:!0,get:function(){return s.strConcat}}),Object.defineProperty(n,"nil",{enumerable:!0,get:function(){return s.nil}}),Object.defineProperty(n,"getProperty",{enumerable:!0,get:function(){return s.getProperty}}),Object.defineProperty(n,"stringify",{enumerable:!0,get:function(){return s.stringify}}),Object.defineProperty(n,"regexpCode",{enumerable:!0,get:function(){return s.regexpCode}}),Object.defineProperty(n,"Name",{enumerable:!0,get:function(){return s.Name}});var o=e(17791);Object.defineProperty(n,"Scope",{enumerable:!0,get:function(){return o.Scope}}),Object.defineProperty(n,"ValueScope",{enumerable:!0,get:function(){return o.ValueScope}}),Object.defineProperty(n,"ValueScopeName",{enumerable:!0,get:function(){return o.ValueScopeName}}),Object.defineProperty(n,"varKinds",{enumerable:!0,get:function(){return o.varKinds}}),n.operators={GT:new t._Code(">"),GTE:new t._Code(">="),LT:new t._Code("<"),LTE:new t._Code("<="),EQ:new t._Code("==="),NEQ:new t._Code("!=="),NOT:new t._Code("!"),OR:new t._Code("||"),AND:new t._Code("&&"),ADD:new t._Code("+")};class r{optimizeNodes(){return this}optimizeNames(W,V){return this}}class c extends r{constructor(W,V,ae){super();this.varKind=W,this.name=V,this.rhs=ae}render({es5:W,_n:V}){const ae=W?l.varKinds.var:this.varKind,pe=this.rhs===void 0?"":` = ${this.rhs}`;return`${ae} ${this.name}${pe};`+V}optimizeNames(W,V){if(!!W[this.name.str])return this.rhs&&(this.rhs=ee(this.rhs,W,V)),this}get names(){return this.rhs instanceof t._CodeOrName?this.rhs.names:{}}}class u extends r{constructor(W,V,ae){super();this.lhs=W,this.rhs=V,this.sideEffects=ae}render({_n:W}){return`${this.lhs} = ${this.rhs};`+W}optimizeNames(W,V){if(!(this.lhs instanceof t.Name&&!W[this.lhs.str]&&!this.sideEffects))return this.rhs=ee(this.rhs,W,V),this}get names(){const W=this.lhs instanceof t.Name?{}:bi({},this.lhs.names);return oe(W,this.rhs)}}class a extends u{constructor(W,V,ae,pe){super(W,ae,pe);this.op=V}render({_n:W}){return`${this.lhs} ${this.op}= ${this.rhs};`+W}}class d extends r{constructor(W){super();this.label=W,this.names={}}render({_n:W}){return`${this.label}:`+W}}class h extends r{constructor(W){super();this.label=W,this.names={}}render({_n:W}){return`break${this.label?` ${this.label}`:""};`+W}}class p extends r{constructor(W){super();this.error=W}render({_n:W}){return`throw ${this.error};`+W}get names(){return this.error.names}}class E extends r{constructor(W){super();this.code=W}render({_n:W}){return`${this.code};`+W}optimizeNodes(){return`${this.code}`?this:void 0}optimizeNames(W,V){return this.code=ee(this.code,W,V),this}get names(){return this.code instanceof t._CodeOrName?this.code.names:{}}}class T extends r{constructor(W=[]){super();this.nodes=W}render(W){return this.nodes.reduce((V,ae)=>V+ae.render(W),"")}optimizeNodes(){const{nodes:W}=this;let V=W.length;for(;V--;){const ae=W[V].optimizeNodes();Array.isArray(ae)?W.splice(V,1,...ae):ae?W[V]=ae:W.splice(V,1)}return W.length>0?this:void 0}optimizeNames(W,V){const{nodes:ae}=this;let pe=ae.length;for(;pe--;){const Se=ae[pe];Se.optimizeNames(W,V)||(Ee(W,Se.names),ae.splice(pe,1))}return ae.length>0?this:void 0}get names(){return this.nodes.reduce((W,V)=>Z(W,V.names),{})}}class S extends T{render(W){return"{"+W._n+super.render(W)+"}"+W._n}}class v extends T{}class b extends S{}b.kind="else";class m extends S{constructor(W,V){super(V);this.condition=W}render(W){let V=`if(${this.condition})`+super.render(W);return this.else&&(V+="else "+this.else.render(W)),V}optimizeNodes(){super.optimizeNodes();const W=this.condition;if(W===!0)return this.nodes;let V=this.else;if(V){const ae=V.optimizeNodes();V=this.else=Array.isArray(ae)?new b(ae):ae}if(V)return W===!1?V instanceof m?V:V.nodes:this.nodes.length?this:new m(Fe(W),V instanceof m?[V]:V.nodes);if(!(W===!1||!this.nodes.length))return this}optimizeNames(W,V){var ae;if(this.else=(ae=this.else)===null||ae===void 0?void 0:ae.optimizeNames(W,V),!!(super.optimizeNames(W,V)||this.else))return this.condition=ee(this.condition,W,V),this}get names(){const W=super.names;return oe(W,this.condition),this.else&&Z(W,this.else.names),W}}m.kind="if";class y extends S{}y.kind="for";class O extends y{constructor(W){super();this.iteration=W}render(W){return`for(${this.iteration})`+super.render(W)}optimizeNames(W,V){if(!!super.optimizeNames(W,V))return this.iteration=ee(this.iteration,W,V),this}get names(){return Z(super.names,this.iteration.names)}}class C extends y{constructor(W,V,ae,pe){super();this.varKind=W,this.name=V,this.from=ae,this.to=pe}render(W){const V=W.es5?l.varKinds.var:this.varKind,{name:ae,from:pe,to:Se}=this;return`for(${V} ${ae}=${pe}; ${ae}<${Se}; ${ae}++)`+super.render(W)}get names(){const W=oe(super.names,this.from);return oe(W,this.to)}}class A extends y{constructor(W,V,ae,pe){super();this.loop=W,this.varKind=V,this.name=ae,this.iterable=pe}render(W){return`for(${this.varKind} ${this.name} ${this.loop} ${this.iterable})`+super.render(W)}optimizeNames(W,V){if(!!super.optimizeNames(W,V))return this.iterable=ee(this.iterable,W,V),this}get names(){return Z(super.names,this.iterable.names)}}class w extends S{constructor(W,V,ae){super();this.name=W,this.args=V,this.async=ae}render(W){return`${this.async?"async ":""}function ${this.name}(${this.args})`+super.render(W)}}w.kind="func";class x extends T{render(W){return"return "+super.render(W)}}x.kind="return";class R extends S{render(W){let V="try"+super.render(W);return this.catch&&(V+=this.catch.render(W)),this.finally&&(V+=this.finally.render(W)),V}optimizeNodes(){var W,V;return super.optimizeNodes(),(W=this.catch)===null||W===void 0||W.optimizeNodes(),(V=this.finally)===null||V===void 0||V.optimizeNodes(),this}optimizeNames(W,V){var ae,pe;return super.optimizeNames(W,V),(ae=this.catch)===null||ae===void 0||ae.optimizeNames(W,V),(pe=this.finally)===null||pe===void 0||pe.optimizeNames(W,V),this}get names(){const W=super.names;return this.catch&&Z(W,this.catch.names),this.finally&&Z(W,this.finally.names),W}}class g extends S{constructor(W){super();this.error=W}render(W){return`catch(${this.error})`+super.render(W)}}g.kind="catch";class k extends S{render(W){return"finally"+super.render(W)}}k.kind="finally";class G{constructor(W,V={}){this._values={},this._blockStarts=[],this._constants={},this.opts=Ro(bi({},V),{_n:V.lines?`
|
|
7
7
|
`:""}),this._extScope=W,this._scope=new l.Scope({parent:W}),this._nodes=[new v]}toString(){return this._root.render(this.opts)}name(W){return this._scope.name(W)}scopeName(W){return this._extScope.name(W)}scopeValue(W,V){const ae=this._extScope.value(W,V);return(this._values[ae.prefix]||(this._values[ae.prefix]=new Set)).add(ae),ae}getScopeValue(W,V){return this._extScope.getValue(W,V)}scopeRefs(W){return this._extScope.scopeRefs(W,this._values)}scopeCode(){return this._extScope.scopeCode(this._values)}_def(W,V,ae,pe){const Se=this._scope.toName(V);return ae!==void 0&&pe&&(this._constants[Se.str]=ae),this._leafNode(new c(W,Se,ae)),Se}const(W,V,ae){return this._def(l.varKinds.const,W,V,ae)}let(W,V,ae){return this._def(l.varKinds.let,W,V,ae)}var(W,V,ae){return this._def(l.varKinds.var,W,V,ae)}assign(W,V,ae){return this._leafNode(new u(W,V,ae))}add(W,V){return this._leafNode(new a(W,n.operators.ADD,V))}code(W){return typeof W=="function"?W():W!==t.nil&&this._leafNode(new E(W)),this}object(...W){const V=["{"];for(const[ae,pe]of W)V.length>1&&V.push(","),V.push(ae),(ae!==pe||this.opts.es5)&&(V.push(":"),(0,t.addCodeArg)(V,pe));return V.push("}"),new t._Code(V)}if(W,V,ae){if(this._blockNode(new m(W)),V&&ae)this.code(V).else().code(ae).endIf();else if(V)this.code(V).endIf();else if(ae)throw new Error('CodeGen: "else" body without "then" body');return this}elseIf(W){return this._elseNode(new m(W))}else(){return this._elseNode(new b)}endIf(){return this._endBlockNode(m,b)}_for(W,V){return this._blockNode(W),V&&this.code(V).endFor(),this}for(W,V){return this._for(new O(W),V)}forRange(W,V,ae,pe,Se=this.opts.es5?l.varKinds.var:l.varKinds.let){const De=this._scope.toName(W);return this._for(new C(Se,De,V,ae),()=>pe(De))}forOf(W,V,ae,pe=l.varKinds.const){const Se=this._scope.toName(W);if(this.opts.es5){const De=V instanceof t.Name?V:this.var("_arr",V);return this.forRange("_i",0,(0,t._)`${De}.length`,nt=>{this.var(Se,(0,t._)`${De}[${nt}]`),ae(Se)})}return this._for(new A("of",pe,Se,V),()=>ae(Se))}forIn(W,V,ae,pe=this.opts.es5?l.varKinds.var:l.varKinds.const){if(this.opts.ownProperties)return this.forOf(W,(0,t._)`Object.keys(${V})`,ae);const Se=this._scope.toName(W);return this._for(new A("in",pe,Se,V),()=>ae(Se))}endFor(){return this._endBlockNode(y)}label(W){return this._leafNode(new d(W))}break(W){return this._leafNode(new h(W))}return(W){const V=new x;if(this._blockNode(V),this.code(W),V.nodes.length!==1)throw new Error('CodeGen: "return" should have one node');return this._endBlockNode(x)}try(W,V,ae){if(!V&&!ae)throw new Error('CodeGen: "try" without "catch" and "finally"');const pe=new R;if(this._blockNode(pe),this.code(W),V){const Se=this.name("e");this._currNode=pe.catch=new g(Se),V(Se)}return ae&&(this._currNode=pe.finally=new k,this.code(ae)),this._endBlockNode(g,k)}throw(W){return this._leafNode(new p(W))}block(W,V){return this._blockStarts.push(this._nodes.length),W&&this.code(W).endBlock(V),this}endBlock(W){const V=this._blockStarts.pop();if(V===void 0)throw new Error("CodeGen: not in self-balancing block");const ae=this._nodes.length-V;if(ae<0||W!==void 0&&ae!==W)throw new Error(`CodeGen: wrong number of nodes: ${ae} vs ${W} expected`);return this._nodes.length=V,this}func(W,V=t.nil,ae,pe){return this._blockNode(new w(W,V,ae)),pe&&this.code(pe).endFunc(),this}endFunc(){return this._endBlockNode(w)}optimize(W=1){for(;W-- >0;)this._root.optimizeNodes(),this._root.optimizeNames(this._root.names,this._constants)}_leafNode(W){return this._currNode.nodes.push(W),this}_blockNode(W){this._currNode.nodes.push(W),this._nodes.push(W)}_endBlockNode(W,V){const ae=this._currNode;if(ae instanceof W||V&&ae instanceof V)return this._nodes.pop(),this;throw new Error(`CodeGen: not in block "${V?`${W.kind}/${V.kind}`:W.kind}"`)}_elseNode(W){const V=this._currNode;if(!(V instanceof m))throw new Error('CodeGen: "else" without "if"');return this._currNode=V.else=W,this}get _root(){return this._nodes[0]}get _currNode(){const W=this._nodes;return W[W.length-1]}set _currNode(W){const V=this._nodes;V[V.length-1]=W}}n.CodeGen=G;function Z(re,W){for(const V in W)re[V]=(re[V]||0)+(W[V]||0);return re}function oe(re,W){return W instanceof t._CodeOrName?Z(re,W.names):re}function ee(re,W,V){if(re instanceof t.Name)return ae(re);if(!pe(re))return re;return new t._Code(re._items.reduce((Se,De)=>(De instanceof t.Name&&(De=ae(De)),De instanceof t._Code?Se.push(...De._items):Se.push(De),Se),[]));function ae(Se){const De=V[Se.str];return De===void 0||W[Se.str]!==1?Se:(delete W[Se.str],De)}function pe(Se){return Se instanceof t._Code&&Se._items.some(De=>De instanceof t.Name&&W[De.str]===1&&V[De.str]!==void 0)}}function Ee(re,W){for(const V in W)re[V]=(re[V]||0)-(W[V]||0)}function Fe(re){return typeof re=="boolean"||typeof re=="number"||re===null?!re:(0,t._)`!${J(re)}`}n.not=Fe;const ce=B(n.operators.AND);function te(...re){return re.reduce(ce)}n.and=te;const he=B(n.operators.OR);function Q(...re){return re.reduce(he)}n.or=Q;function B(re){return(W,V)=>W===t.nil?V:V===t.nil?W:(0,t._)`${J(W)} ${re} ${J(V)}`}function J(re){return re instanceof t.Name?re:(0,t._)`(${re})`}},17791:(L,n,e)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.ValueScope=n.ValueScopeName=n.Scope=n.varKinds=n.UsedValueState=void 0;const t=e(64667);class l extends Error{constructor(d){super(`CodeGen: "code" for ${d} not defined`);this.value=d.value}}var s;(function(a){a[a.Started=0]="Started",a[a.Completed=1]="Completed"})(s=n.UsedValueState||(n.UsedValueState={})),n.varKinds={const:new t.Name("const"),let:new t.Name("let"),var:new t.Name("var")};class o{constructor({prefixes:d,parent:h}={}){this._names={},this._prefixes=d,this._parent=h}toName(d){return d instanceof t.Name?d:this.name(d)}name(d){return new t.Name(this._newName(d))}_newName(d){const h=this._names[d]||this._nameGroup(d);return`${d}${h.index++}`}_nameGroup(d){var h,p;if(((p=(h=this._parent)===null||h===void 0?void 0:h._prefixes)===null||p===void 0?void 0:p.has(d))||this._prefixes&&!this._prefixes.has(d))throw new Error(`CodeGen: prefix "${d}" is not allowed in this scope`);return this._names[d]={prefix:d,index:0}}}n.Scope=o;class r extends t.Name{constructor(d,h){super(h);this.prefix=d}setValue(d,{property:h,itemIndex:p}){this.value=d,this.scopePath=(0,t._)`.${new t.Name(h)}[${p}]`}}n.ValueScopeName=r;const c=(0,t._)`\n`;class u extends o{constructor(d){super(d);this._values={},this._scope=d.scope,this.opts=Ro(bi({},d),{_n:d.lines?c:t.nil})}get(){return this._scope}name(d){return new r(d,this._newName(d))}value(d,h){var p;if(h.ref===void 0)throw new Error("CodeGen: ref must be passed in value");const E=this.toName(d),{prefix:T}=E,S=(p=h.key)!==null&&p!==void 0?p:h.ref;let v=this._values[T];if(v){const y=v.get(S);if(y)return y}else v=this._values[T]=new Map;v.set(S,E);const b=this._scope[T]||(this._scope[T]=[]),m=b.length;return b[m]=h.ref,E.setValue(h,{property:T,itemIndex:m}),E}getValue(d,h){const p=this._values[d];if(!!p)return p.get(h)}scopeRefs(d,h=this._values){return this._reduceValues(h,p=>{if(p.scopePath===void 0)throw new Error(`CodeGen: name "${p}" has no value`);return(0,t._)`${d}${p.scopePath}`})}scopeCode(d=this._values,h,p){return this._reduceValues(d,E=>{if(E.value===void 0)throw new Error(`CodeGen: name "${E}" has no value`);return E.value.code},h,p)}_reduceValues(d,h,p={},E){let T=t.nil;for(const S in d){const v=d[S];if(!v)continue;const b=p[S]=p[S]||new Map;v.forEach(m=>{if(b.has(m))return;b.set(m,s.Started);let y=h(m);if(y){const O=this.opts.es5?n.varKinds.var:n.varKinds.const;T=(0,t._)`${T}${O} ${m} = ${y};${this.opts._n}`}else if(y=E==null?void 0:E(m))T=(0,t._)`${T}${y}${this.opts._n}`;else throw new l(m);b.set(m,s.Completed)})}return T}}n.ValueScope=u},21885:(L,n,e)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.extendErrors=n.resetErrorsCount=n.reportExtraError=n.reportError=n.keyword$DataError=n.keywordError=void 0;const t=e(24475),l=e(86124),s=e(25018);n.keywordError={message:({keyword:b})=>(0,t.str)`must pass "${b}" keyword validation`},n.keyword$DataError={message:({keyword:b,schemaType:m})=>m?(0,t.str)`"${b}" keyword must be ${m} ($data)`:(0,t.str)`"${b}" keyword is invalid ($data)`};function o(b,m=n.keywordError,y,O){const{it:C}=b,{gen:A,compositeRule:w,allErrors:x}=C,R=p(b,m,y);(O!=null?O:w||x)?a(A,R):d(C,(0,t._)`[${R}]`)}n.reportError=o;function r(b,m=n.keywordError,y){const{it:O}=b,{gen:C,compositeRule:A,allErrors:w}=O,x=p(b,m,y);a(C,x),A||w||d(O,s.default.vErrors)}n.reportExtraError=r;function c(b,m){b.assign(s.default.errors,m),b.if((0,t._)`${s.default.vErrors} !== null`,()=>b.if(m,()=>b.assign((0,t._)`${s.default.vErrors}.length`,m),()=>b.assign(s.default.vErrors,null)))}n.resetErrorsCount=c;function u({gen:b,keyword:m,schemaValue:y,data:O,errsCount:C,it:A}){if(C===void 0)throw new Error("ajv implementation error");const w=b.name("err");b.forRange("i",C,s.default.errors,x=>{b.const(w,(0,t._)`${s.default.vErrors}[${x}]`),b.if((0,t._)`${w}.instancePath === undefined`,()=>b.assign((0,t._)`${w}.instancePath`,(0,t.strConcat)(s.default.instancePath,A.errorPath))),b.assign((0,t._)`${w}.schemaPath`,(0,t.str)`${A.errSchemaPath}/${m}`),A.opts.verbose&&(b.assign((0,t._)`${w}.schema`,y),b.assign((0,t._)`${w}.data`,O))})}n.extendErrors=u;function a(b,m){const y=b.const("err",m);b.if((0,t._)`${s.default.vErrors} === null`,()=>b.assign(s.default.vErrors,(0,t._)`[${y}]`),(0,t._)`${s.default.vErrors}.push(${y})`),b.code((0,t._)`${s.default.errors}++`)}function d(b,m){const{gen:y,validateName:O,schemaEnv:C}=b;C.$async?y.throw((0,t._)`new ${b.ValidationError}(${m})`):(y.assign((0,t._)`${O}.errors`,m),y.return(!1))}const h={keyword:new t.Name("keyword"),schemaPath:new t.Name("schemaPath"),params:new t.Name("params"),propertyName:new t.Name("propertyName"),message:new t.Name("message"),schema:new t.Name("schema"),parentSchema:new t.Name("parentSchema")};function p(b,m,y){const{createErrors:O}=b.it;return O===!1?(0,t._)`{}`:E(b,m,y)}function E(b,m,y={}){const{gen:O,it:C}=b,A=[T(C,y),S(b,y)];return v(b,m,A),O.object(...A)}function T({errorPath:b},{instancePath:m}){const y=m?(0,t.str)`${b}${(0,l.getErrorPath)(m,l.Type.Str)}`:b;return[s.default.instancePath,(0,t.strConcat)(s.default.instancePath,y)]}function S({keyword:b,it:{errSchemaPath:m}},{schemaPath:y,parentSchema:O}){let C=O?m:(0,t.str)`${m}/${b}`;return y&&(C=(0,t.str)`${C}${(0,l.getErrorPath)(y,l.Type.Str)}`),[h.schemaPath,C]}function v(b,{params:m,message:y},O){const{keyword:C,data:A,schemaValue:w,it:x}=b,{opts:R,propertyName:g,topSchemaRef:k,schemaPath:G}=x;O.push([h.keyword,C],[h.params,typeof m=="function"?m(b):m||(0,t._)`{}`]),R.messages&&O.push([h.message,typeof y=="function"?y(b):y]),R.verbose&&O.push([h.schema,w],[h.parentSchema,(0,t._)`${k}${G}`],[s.default.data,A]),g&&O.push([h.propertyName,g])}},87805:(L,n,e)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.resolveSchema=n.getCompilingSchema=n.resolveRef=n.compileSchema=n.SchemaEnv=void 0;const t=e(24475),l=e(18451),s=e(25018),o=e(49826),r=e(86124),c=e(21321);class u{constructor(y){var O;this.refs={},this.dynamicAnchors={};let C;typeof y.schema=="object"&&(C=y.schema),this.schema=y.schema,this.schemaId=y.schemaId,this.root=y.root||this,this.baseId=(O=y.baseId)!==null&&O!==void 0?O:(0,o.normalizeId)(C==null?void 0:C[y.schemaId||"$id"]),this.schemaPath=y.schemaPath,this.localRefs=y.localRefs,this.meta=y.meta,this.$async=C==null?void 0:C.$async,this.refs={}}}n.SchemaEnv=u;function a(m){const y=p.call(this,m);if(y)return y;const O=(0,o.getFullPath)(this.opts.uriResolver,m.root.baseId),{es5:C,lines:A}=this.opts.code,{ownProperties:w}=this.opts,x=new t.CodeGen(this.scope,{es5:C,lines:A,ownProperties:w});let R;m.$async&&(R=x.scopeValue("Error",{ref:l.default,code:(0,t._)`require("ajv/dist/runtime/validation_error").default`}));const g=x.scopeName("validate");m.validateName=g;const k={gen:x,allErrors:this.opts.allErrors,data:s.default.data,parentData:s.default.parentData,parentDataProperty:s.default.parentDataProperty,dataNames:[s.default.data],dataPathArr:[t.nil],dataLevel:0,dataTypes:[],definedProperties:new Set,topSchemaRef:x.scopeValue("schema",this.opts.code.source===!0?{ref:m.schema,code:(0,t.stringify)(m.schema)}:{ref:m.schema}),validateName:g,ValidationError:R,schema:m.schema,schemaEnv:m,rootId:O,baseId:m.baseId||O,schemaPath:t.nil,errSchemaPath:m.schemaPath||(this.opts.jtd?"":"#"),errorPath:(0,t._)`""`,opts:this.opts,self:this};let G;try{this._compilations.add(m),(0,c.validateFunctionCode)(k),x.optimize(this.opts.code.optimize);const Z=x.toString();G=`const visitedNodesForRef = new WeakMap(); ${x.scopeRefs(s.default.scope)}return ${Z}`,this.opts.code.process&&(G=this.opts.code.process(G,m));const ee=new Function(`${s.default.self}`,`${s.default.scope}`,G)(this,this.scope.get());if(this.scope.value(g,{ref:ee}),ee.errors=null,ee.schema=m.schema,ee.schemaEnv=m,m.$async&&(ee.$async=!0),this.opts.code.source===!0&&(ee.source={validateName:g,validateCode:Z,scopeValues:x._values}),this.opts.unevaluated){const{props:Ee,items:Fe}=k;ee.evaluated={props:Ee instanceof t.Name?void 0:Ee,items:Fe instanceof t.Name?void 0:Fe,dynamicProps:Ee instanceof t.Name,dynamicItems:Fe instanceof t.Name},ee.source&&(ee.source.evaluated=(0,t.stringify)(ee.evaluated))}return m.validate=ee,m}catch(Z){throw delete m.validate,delete m.validateName,G&&this.logger.error("Error compiling schema, function code:",G),Z}finally{this._compilations.delete(m)}}n.compileSchema=a;function d(m,y,O){var C;const A=(0,o.resolveUrl)(this.opts.uriResolver,y,O),w=m.refs[A];if(w)return w;let x=T.call(this,m,A);if(x===void 0){const R=(C=m.localRefs)===null||C===void 0?void 0:C[A],{schemaId:g}=this.opts;R&&(x=new u({schema:R,schemaId:g,root:m,baseId:y}))}if(x===void 0&&this.opts.loadSchemaSync){const R=this.opts.loadSchemaSync(y,O,A);R&&!(this.refs[A]||this.schemas[A])&&(this.addSchema(R,A,void 0),x=T.call(this,m,A))}if(x!==void 0)return m.refs[A]=h.call(this,x)}n.resolveRef=d;function h(m){return(0,o.inlineRef)(m.schema,this.opts.inlineRefs)?m.schema:m.validate?m:a.call(this,m)}function p(m){for(const y of this._compilations)if(E(y,m))return y}n.getCompilingSchema=p;function E(m,y){return m.schema===y.schema&&m.root===y.root&&m.baseId===y.baseId}function T(m,y){let O;for(;typeof(O=this.refs[y])=="string";)y=O;return O||this.schemas[y]||S.call(this,m,y)}function S(m,y){const O=this.opts.uriResolver.parse(y),C=(0,o._getFullPath)(this.opts.uriResolver,O);let A=(0,o.getFullPath)(this.opts.uriResolver,m.baseId,void 0);if(Object.keys(m.schema).length>0&&C===A)return b.call(this,O,m);const w=(0,o.normalizeId)(C),x=this.refs[w]||this.schemas[w];if(typeof x=="string"){const R=S.call(this,m,x);return typeof(R==null?void 0:R.schema)!="object"?void 0:b.call(this,O,R)}if(typeof(x==null?void 0:x.schema)=="object"){if(x.validate||a.call(this,x),w===(0,o.normalizeId)(y)){const{schema:R}=x,{schemaId:g}=this.opts,k=R[g];return k&&(A=(0,o.resolveUrl)(this.opts.uriResolver,A,k)),new u({schema:R,schemaId:g,root:m,baseId:A})}return b.call(this,O,x)}}n.resolveSchema=S;const v=new Set(["properties","patternProperties","enum","dependencies","definitions"]);function b(m,{baseId:y,schema:O,root:C}){var A;if(((A=m.fragment)===null||A===void 0?void 0:A[0])!=="/")return;for(const R of m.fragment.slice(1).split("/")){if(typeof O=="boolean")return;const g=O[(0,r.unescapeFragment)(R)];if(g===void 0)return;O=g;const k=typeof O=="object"&&O[this.opts.schemaId];!v.has(R)&&k&&(y=(0,o.resolveUrl)(this.opts.uriResolver,y,k))}let w;if(typeof O!="boolean"&&O.$ref&&!(0,r.schemaHasRulesButRef)(O,this.RULES)){const R=(0,o.resolveUrl)(this.opts.uriResolver,y,O.$ref);w=S.call(this,C,R)}const{schemaId:x}=this.opts;if(w=w||new u({schema:O,schemaId:x,root:C,baseId:y}),w.schema!==w.root.schema)return w}},25018:(L,n,e)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0});const t=e(24475),l={data:new t.Name("data"),valCxt:new t.Name("valCxt"),instancePath:new t.Name("instancePath"),parentData:new t.Name("parentData"),parentDataProperty:new t.Name("parentDataProperty"),rootData:new t.Name("rootData"),dynamicAnchors:new t.Name("dynamicAnchors"),isAllOfVariant:new t.Name("isAllOfVariant"),vErrors:new t.Name("vErrors"),errors:new t.Name("errors"),this:new t.Name("this"),self:new t.Name("self"),scope:new t.Name("scope"),json:new t.Name("json"),jsonPos:new t.Name("jsonPos"),jsonLen:new t.Name("jsonLen"),jsonPart:new t.Name("jsonPart")};n.default=l},64143:(L,n,e)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0});const t=e(49826);class l extends Error{constructor(o,r,c,u){super(u||`can't resolve reference ${c} from id ${r}`);this.missingRef=(0,t.resolveUrl)(o,r,c),this.missingSchema=(0,t.normalizeId)((0,t.getFullPath)(o,this.missingRef))}}n.default=l},49826:(L,n,e)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.getSchemaRefs=n.resolveUrl=n.normalizeId=n._getFullPath=n.getFullPath=n.inlineRef=void 0;const t=e(86124),l=e(64063),s=e(54029),o=new Set(["type","format","pattern","maxLength","minLength","maxProperties","minProperties","maxItems","minItems","maximum","minimum","uniqueItems","multipleOf","required","enum","const"]);function r(b,m=!0){return typeof b=="boolean"?!0:m===!0?!u(b):m?a(b)<=m:!1}n.inlineRef=r;const c=new Set(["$ref","$recursiveRef","$recursiveAnchor","$dynamicRef","$dynamicAnchor"]);function u(b){for(const m in b){if(c.has(m))return!0;const y=b[m];if(Array.isArray(y)&&y.some(u)||typeof y=="object"&&u(y))return!0}return!1}function a(b){let m=0;for(const y in b){if(y==="$ref")return 1/0;if(m++,!o.has(y)&&(typeof b[y]=="object"&&(0,t.eachItem)(b[y],O=>m+=a(O)),m===1/0))return 1/0}return m}function d(b,m="",y){y!==!1&&(m=E(m));const O=b.parse(m);return h(b,O)}n.getFullPath=d;function h(b,m){return b.serialize(m).split("#")[0]+"#"}n._getFullPath=h;const p=/#\/?$/;function E(b){return b?b.replace(p,""):""}n.normalizeId=E;function T(b,m,y){return y=E(y),b.resolve(m,y)}n.resolveUrl=T;const S=/^[a-z_][-a-z0-9._]*$/i;function v(b,m){if(typeof b=="boolean")return{};const{schemaId:y,uriResolver:O}=this.opts,C=E(b[y]||m),A={"":C},w=d(O,C,!1),x={},R=new Set;return s(b,{allKeys:!0},(G,Z,oe,ee)=>{if(ee===void 0)return;const Ee=w+Z;let Fe=A[ee];typeof G[y]=="string"&&(Fe=ce.call(this,G[y])),te.call(this,G.$anchor),te.call(this,G.$dynamicAnchor),A[Z]=Fe;function ce(he){const Q=this.opts.uriResolver.resolve;if(he=E(Fe?Q(Fe,he):he),R.has(he))throw k(he);R.add(he);let B=this.refs[he];return typeof B=="string"&&(B=this.refs[B]),typeof B=="object"?g(G,B.schema,he):he!==E(Ee)&&(he[0]==="#"?(g(G,x[he],he),x[he]=G):this.refs[he]=Ee),he}function te(he){if(typeof he=="string"){if(!S.test(he))throw new Error(`invalid anchor "${he}"`);ce.call(this,`#${he}`)}}}),x;function g(G,Z,oe){if(Z!==void 0&&!l(G,Z))throw k(oe)}function k(G){return new Error(`reference "${G}" resolves to more than one schema`)}}n.getSchemaRefs=v},73664:(L,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.getRules=n.isJSONType=void 0;const e=["string","number","integer","boolean","null","object","array"],t=new Set(e);function l(o){return typeof o=="string"&&t.has(o)}n.isJSONType=l;function s(){const o={number:{type:"number",rules:[]},string:{type:"string",rules:[]},array:{type:"array",rules:[]},object:{type:"object",rules:[]}};return{types:Ro(bi({},o),{integer:!0,boolean:!0,null:!0}),rules:[{rules:[]},o.number,o.string,o.array,o.object],post:{rules:[]},all:{},keywords:{}}}n.getRules=s},86124:(L,n,e)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.checkStrictMode=n.getErrorPath=n.Type=n.useFunc=n.setEvaluated=n.evaluatedPropsToName=n.mergeEvaluated=n.eachItem=n.unescapeJsonPointer=n.escapeJsonPointer=n.escapeFragment=n.unescapeFragment=n.schemaRefOrVal=n.schemaHasRulesButRef=n.schemaHasRules=n.checkUnknownRules=n.alwaysValidSchema=n.toHash=void 0;const t=e(24475),l=e(64667);function s(w){const x={};for(const R of w)x[R]=!0;return x}n.toHash=s;function o(w,x){return typeof x=="boolean"?x:Object.keys(x).length===0?!0:(r(w,x),!c(x,w.self.RULES.all))}n.alwaysValidSchema=o;function r(w,x=w.schema){const{opts:R,self:g}=w;if(!R.strictSchema||typeof x=="boolean")return;const k=g.RULES.keywords;for(const G in x)k[G]||A(w,`unknown keyword: "${G}"`)}n.checkUnknownRules=r;function c(w,x){if(typeof w=="boolean")return!w;for(const R in w)if(x[R])return!0;return!1}n.schemaHasRules=c;function u(w,x){if(typeof w=="boolean")return!w;for(const R in w)if(R!=="$ref"&&x.all[R])return!0;return!1}n.schemaHasRulesButRef=u;function a({topSchemaRef:w,schemaPath:x},R,g,k){if(!k){if(typeof R=="number"||typeof R=="boolean")return R;if(typeof R=="string")return(0,t._)`${R}`}return(0,t._)`${w}${x}${(0,t.getProperty)(g)}`}n.schemaRefOrVal=a;function d(w){return E(decodeURIComponent(w))}n.unescapeFragment=d;function h(w){return encodeURIComponent(p(w))}n.escapeFragment=h;function p(w){return typeof w=="number"?`${w}`:w.replace(/~/g,"~0").replace(/\//g,"~1")}n.escapeJsonPointer=p;function E(w){return w.replace(/~1/g,"/").replace(/~0/g,"~")}n.unescapeJsonPointer=E;function T(w,x){if(Array.isArray(w))for(const R of w)x(R);else x(w)}n.eachItem=T;function S({mergeNames:w,mergeToName:x,mergeValues:R,resultToName:g}){return(k,G,Z,oe)=>{const ee=Z===void 0?G:Z instanceof t.Name?(G instanceof t.Name?w(k,G,Z):x(k,G,Z),Z):G instanceof t.Name?(x(k,Z,G),G):R(G,Z);return oe===t.Name&&!(ee instanceof t.Name)?g(k,ee):ee}}n.mergeEvaluated={props:S({mergeNames:(w,x,R)=>w.if((0,t._)`${R} !== true && ${x} !== undefined`,()=>{w.if((0,t._)`${x} === true`,()=>w.assign(R,!0),()=>w.assign(R,(0,t._)`${R} || {}`).code((0,t._)`Object.assign(${R}, ${x})`))}),mergeToName:(w,x,R)=>w.if((0,t._)`${R} !== true`,()=>{x===!0?w.assign(R,!0):(w.assign(R,(0,t._)`${R} || {}`),b(w,R,x))}),mergeValues:(w,x)=>w===!0?!0:bi(bi({},w),x),resultToName:v}),items:S({mergeNames:(w,x,R)=>w.if((0,t._)`${R} !== true && ${x} !== undefined`,()=>w.assign(R,(0,t._)`${x} === true ? true : ${R} > ${x} ? ${R} : ${x}`)),mergeToName:(w,x,R)=>w.if((0,t._)`${R} !== true`,()=>w.assign(R,x===!0?!0:(0,t._)`${R} > ${x} ? ${R} : ${x}`)),mergeValues:(w,x)=>w===!0?!0:Math.max(w,x),resultToName:(w,x)=>w.var("items",x)})};function v(w,x){if(x===!0)return w.var("props",!0);const R=w.var("props",(0,t._)`{}`);return x!==void 0&&b(w,R,x),R}n.evaluatedPropsToName=v;function b(w,x,R){Object.keys(R).forEach(g=>w.assign((0,t._)`${x}${(0,t.getProperty)(g)}`,!0))}n.setEvaluated=b;const m={};function y(w,x){return w.scopeValue("func",{ref:x,code:m[x.code]||(m[x.code]=new l._Code(x.code))})}n.useFunc=y;var O;(function(w){w[w.Num=0]="Num",w[w.Str=1]="Str"})(O=n.Type||(n.Type={}));function C(w,x,R){if(w instanceof t.Name){const g=x===O.Num;return R?g?(0,t._)`"[" + ${w} + "]"`:(0,t._)`"['" + ${w} + "']"`:g?(0,t._)`"/" + ${w}`:(0,t._)`"/" + ${w}.replace(/~/g, "~0").replace(/\\//g, "~1")`}return R?(0,t.getProperty)(w).toString():"/"+p(w)}n.getErrorPath=C;function A(w,x,R=w.opts.strictSchema){if(!!R){if(x=`strict mode: ${x}`,R===!0)throw new Error(x);w.self.logger.warn(x)}}n.checkStrictMode=A},14566:(L,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.shouldUseRule=n.shouldUseGroup=n.schemaHasRulesForType=void 0;function e({schema:s,self:o},r){const c=o.RULES.types[r];return c&&c!==!0&&t(s,c)}n.schemaHasRulesForType=e;function t(s,o){return o.rules.some(r=>l(s,r))}n.shouldUseGroup=t;function l(s,o){var r;return s[o.keyword]!==void 0||((r=o.definition.implements)===null||r===void 0?void 0:r.some(c=>s[c]!==void 0))}n.shouldUseRule=l},27627:(L,n,e)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.boolOrEmptySchema=n.topBoolOrEmptySchema=void 0;const t=e(21885),l=e(24475),s=e(25018),o={message:"boolean schema is false"};function r(a){const{gen:d,schema:h,validateName:p}=a;h===!1?u(a,!1):typeof h=="object"&&h.$async===!0?d.return(s.default.data):(d.assign((0,l._)`${p}.errors`,null),d.return(!0))}n.topBoolOrEmptySchema=r;function c(a,d){const{gen:h,schema:p}=a;p===!1?(h.var(d,!1),u(a)):h.var(d,!0)}n.boolOrEmptySchema=c;function u(a,d){const{gen:h,data:p}=a,E={gen:h,keyword:"false schema",data:p,schema:!1,schemaCode:!1,schemaValue:!1,params:{},it:a};(0,t.reportError)(E,o,void 0,d)}},97927:(L,n,e)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.reportTypeError=n.checkDataTypes=n.checkDataType=n.coerceAndCheckDataType=n.getJSONTypes=n.getSchemaTypes=n.DataType=void 0;const t=e(73664),l=e(14566),s=e(21885),o=e(24475),r=e(86124);var c;(function(O){O[O.Correct=0]="Correct",O[O.Wrong=1]="Wrong"})(c=n.DataType||(n.DataType={}));function u(O){const C=a(O.type);if(C.includes("null")){if(O.nullable===!1)throw new Error("type: null contradicts nullable: false")}else{if(!C.length&&O.nullable!==void 0)throw new Error('"nullable" cannot be used without "type"');O.nullable===!0&&C.push("null")}return C}n.getSchemaTypes=u;function a(O){const C=Array.isArray(O)?O:O?[O]:[];if(C.every(t.isJSONType))return C;throw new Error("type must be JSONType or JSONType[]: "+C.join(","))}n.getJSONTypes=a;function d(O,C){const{gen:A,data:w,opts:x}=O,R=p(C,x.coerceTypes),g=C.length>0&&!(R.length===0&&C.length===1&&(0,l.schemaHasRulesForType)(O,C[0]));if(g){const k=v(C,w,x.strictNumbers,c.Wrong);A.if(k,()=>{R.length?E(O,C,R):m(O)})}return g}n.coerceAndCheckDataType=d;const h=new Set(["string","number","integer","boolean","null"]);function p(O,C){return C?O.filter(A=>h.has(A)||C==="array"&&A==="array"):[]}function E(O,C,A){const{gen:w,data:x,opts:R}=O,g=w.let("dataType",(0,o._)`typeof ${x}`),k=w.let("coerced",(0,o._)`undefined`);R.coerceTypes==="array"&&w.if((0,o._)`${g} == 'object' && Array.isArray(${x}) && ${x}.length == 1`,()=>w.assign(x,(0,o._)`${x}[0]`).assign(g,(0,o._)`typeof ${x}`).if(v(C,x,R.strictNumbers),()=>w.assign(k,x))),w.if((0,o._)`${k} !== undefined`);for(const Z of A)(h.has(Z)||Z==="array"&&R.coerceTypes==="array")&&G(Z);w.else(),m(O),w.endIf(),w.if((0,o._)`${k} !== undefined`,()=>{w.assign(x,k),T(O,k)});function G(Z){switch(Z){case"string":w.elseIf((0,o._)`${g} == "number" || ${g} == "boolean"`).assign(k,(0,o._)`"" + ${x}`).elseIf((0,o._)`${x} === null`).assign(k,(0,o._)`""`);return;case"number":w.elseIf((0,o._)`${g} == "boolean" || ${x} === null
|
|
8
8
|
|| (${g} == "string" && ${x} && ${x} == +${x})`).assign(k,(0,o._)`+${x}`);return;case"integer":w.elseIf((0,o._)`${g} === "boolean" || ${x} === null
|
|
@@ -69,7 +69,7 @@ ${x}`},g=w?d[w]:null;g&&(R.forceSeverity=g),m.report(R)}})}}};return d.schemas!=
|
|
|
69
69
|
`)}n.showErrorForDeprecatedField=J;function re(De){return!!De}n.isTruthy=re;function W(De){return De}n.identity=W;function V(De){return De?Object.keys(De):[]}n.keysOf=V;function ae(De){if(!De)return;const nt={};for(const Me in De)De[Me]!==void 0&&(nt[Me]=De[Me]);return nt}n.pickDefined=ae;function pe(){new Promise(De=>{setTimeout(De)})}n.nextTick=pe;function Se(De,nt){return`${typeof nt!="undefined"?`${nt}.`:""}${De}`}},68065:(L,n,e)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.normalizeVisitors=void 0;const t=e(45220),l={Root:"DefinitionRoot",ServerVariablesMap:"ServerVariableMap",Paths:["PathMap","PathsMap"],CallbacksMap:"CallbackMap",MediaTypesMap:"MediaTypeMap",ExamplesMap:"ExampleMap",EncodingMap:"EncodingsMap",HeadersMap:"HeaderMap",LinksMap:"LinkMap",OAuth2Flows:"SecuritySchemeFlows",Responses:"ResponsesMap"};function s(o,r){const c={};c.any={enter:[],leave:[]};for(const h of Object.keys(r))c[h]={enter:[],leave:[]};c.ref={enter:[],leave:[]};for(const{ruleId:h,severity:p,visitor:E}of o)d({ruleId:h,severity:p},E,null);for(const h of Object.keys(c))c[h].enter.sort((p,E)=>E.depth-p.depth),c[h].leave.sort((p,E)=>p.depth-E.depth);return c;function u(h,p,E,T,S=[]){if(S.includes(p))return;S=[...S,p];const v=new Set;for(const m of Object.values(p.properties)){if(m===E){b(h,S);continue}typeof m=="object"&&m!==null&&m.name&&v.add(m)}p.additionalProperties&&typeof p.additionalProperties!="function"&&(p.additionalProperties===E?b(h,S):p.additionalProperties.name!==void 0&&v.add(p.additionalProperties)),p.items&&(p.items===E?b(h,S):p.items.name!==void 0&&v.add(p.items)),p.extensionsPrefix&&v.add(t.SpecExtension);for(const m of Array.from(v.values()))u(h,m,E,T,S);function b(m,y){for(const O of y.slice(1))c[O.name]=c[O.name]||{enter:[],leave:[]},c[O.name].enter.push(Object.assign(Object.assign({},m),{visit:()=>{},depth:0,context:{isSkippedLevel:!0,seen:new Set,parent:T}}))}}function a(h,p){if(Array.isArray(p)){const E=p.find(T=>h[T])||void 0;return E&&h[E]}return h[p]}function d(h,p,E,T=0){const S=Object.keys(r);if(T===0)S.push("any"),S.push("ref");else{if(p.any)throw new Error("any() is allowed only on top level");if(p.ref)throw new Error("ref() is allowed only on top level")}for(const v of S){const b=p[v]||a(p,l[v]),m=c[v];if(!b)continue;let y,O,C;const A=typeof b=="object";if(v==="ref"&&A&&b.skip)throw new Error("ref() visitor does not support skip");typeof b=="function"?y=b:A&&(y=b.enter,O=b.leave,C=b.skip);const w={activatedOn:null,type:r[v],parent:E,isSkippedLevel:!1};if(typeof b=="object"&&d(h,b,w,T+1),E&&u(h,E.type,r[v],E),y||A){if(y&&typeof y!="function")throw new Error("DEV: should be function");m.enter.push(Object.assign(Object.assign({},h),{visit:y||(()=>{}),skip:C,depth:T,context:w}))}if(O){if(typeof O!="function")throw new Error("DEV: should be function");m.leave.push(Object.assign(Object.assign({},h),{visit:O,depth:T,context:w}))}}}}n.normalizeVisitors=s},69443:(L,n,e)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.walkDocument=void 0;const t=e(27468),l=e(10771),s=e(44182),o=e(45220);function r(a){var d;const h={};for(;a.parent;)h[a.parent.type.name]=(d=a.parent.activatedOn)===null||d===void 0?void 0:d.value.node,a=a.parent;return h}function c(a){var d,h;const p={};for(;a.parent;)((d=a.parent.activatedOn)===null||d===void 0?void 0:d.value.location)&&(p[a.parent.type.name]=(h=a.parent.activatedOn)===null||h===void 0?void 0:h.value.location),a=a.parent;return p}function u(a){const{document:d,rootType:h,normalizedVisitors:p,resolvedRefMap:E,ctx:T}=a,S={},v=new Set;b(d.parsed,h,new t.Location(d.source,"#/"),void 0,"");function b(m,y,O,C,A){var w,x,R,g,k,G,Z,oe,ee,Ee,Fe;const ce=(pe,Se=he.source.absoluteRef)=>{if(!t.isRef(pe))return{location:O,node:pe};const De=s.makeRefId(Se,pe.$ref),nt=E.get(De);if(!nt)return{location:void 0,node:void 0};const{resolved:Me,node:_e,document:j,nodePointer:ue,error:Ce}=nt;return{location:Me?new t.Location(j.source,ue):Ce instanceof s.YamlParseError?new t.Location(Ce.source,""):void 0,node:_e,error:Ce}},te=O;let he=O;const{node:Q,location:B,error:J}=ce(m),re=new Set;if(t.isRef(m)){const pe=p.ref.enter;for(const{visit:Se,ruleId:De,severity:nt,context:Me}of pe){re.add(Me);const _e=V.bind(void 0,De,nt);Se(m,{report:_e,resolve:ce,rawNode:m,rawLocation:te,location:O,type:y,parent:C,key:A,parentLocations:{},oasVersion:T.oasVersion,getVisitorData:ae.bind(void 0,De)},{node:Q,location:B,error:J}),(B==null?void 0:B.source.absoluteRef)&&T.refTypes&&T.refTypes.set(B==null?void 0:B.source.absoluteRef,y)}}if(Q!==void 0&&B&&y.name!=="scalar"){he=B;const pe=(x=(w=S[y.name])===null||w===void 0?void 0:w.has)===null||x===void 0?void 0:x.call(w,Q);let Se=!1;const nt=p.any.enter.concat(((R=p[y.name])===null||R===void 0?void 0:R.enter)||[]),Me=[];for(const{context:ue,visit:Ce,skip:et,ruleId:Pe,severity:X}of nt){if(v.has(he.pointer))break;if(ue.isSkippedLevel)ue.parent.activatedOn&&!ue.parent.activatedOn.value.nextLevelTypeActivated&&!ue.seen.has(m)&&(ue.seen.add(m),Se=!0,Me.push(ue));else if(ue.parent&&ue.parent.activatedOn&&((g=ue.activatedOn)===null||g===void 0?void 0:g.value.withParentNode)!==ue.parent.activatedOn.value.node&&((k=ue.parent.activatedOn.value.nextLevelTypeActivated)===null||k===void 0?void 0:k.value)!==y||!ue.parent&&!pe){Me.push(ue);const _={node:Q,location:B,nextLevelTypeActivated:null,withParentNode:(Z=(G=ue.parent)===null||G===void 0?void 0:G.activatedOn)===null||Z===void 0?void 0:Z.value.node,skipped:(Ee=((ee=(oe=ue.parent)===null||oe===void 0?void 0:oe.activatedOn)===null||ee===void 0?void 0:ee.value.skipped)||(et==null?void 0:et(Q,A,{location:O,rawLocation:te,resolve:ce,rawNode:m})))!==null&&Ee!==void 0?Ee:!1};ue.activatedOn=l.pushStack(ue.activatedOn,_);let $=ue.parent;for(;$;)$.activatedOn.value.nextLevelTypeActivated=l.pushStack($.activatedOn.value.nextLevelTypeActivated,y),$=$.parent;_.skipped||(Se=!0,re.add(ue),W(Ce,Q,m,ue,Pe,X))}}if(Se||!pe){if(S[y.name]=S[y.name]||new Set,S[y.name].add(Q),Array.isArray(Q)){const ue=y.items;if(ue!==void 0)for(let Ce=0;Ce<Q.length;Ce++)b(Q[Ce],ue,B.child([Ce]),Q,Ce)}else if(typeof Q=="object"&&Q!==null){const ue=Object.keys(y.properties);y.additionalProperties?ue.push(...Object.keys(Q).filter(Ce=>!ue.includes(Ce))):y.extensionsPrefix&&ue.push(...Object.keys(Q).filter(Ce=>Ce.startsWith(y.extensionsPrefix))),t.isRef(m)&&ue.push(...Object.keys(m).filter(Ce=>Ce!=="$ref"&&!ue.includes(Ce)));for(const Ce of ue){let et=Q[Ce],Pe=B;et===void 0&&(et=m[Ce],Pe=O);let X=y.properties[Ce];X===void 0&&(X=y.additionalProperties),typeof X=="function"&&(X=X(et,Ce)),X===void 0&&y.extensionsPrefix&&Ce.startsWith(y.extensionsPrefix)&&(X=o.SpecExtension),!o.isNamedType(X)&&(X==null?void 0:X.directResolveAs)&&(X=X.directResolveAs,et={$ref:et}),X&&X.name===void 0&&X.resolvable!==!1&&(X={name:"scalar",properties:{}}),!(!o.isNamedType(X)||X.name==="scalar"&&!t.isRef(et))&&b(et,X,Pe.child([Ce]),Q,Ce)}}}const _e=p.any.leave,j=(((Fe=p[y.name])===null||Fe===void 0?void 0:Fe.leave)||[]).concat(_e);for(const ue of Me.reverse())if(ue.isSkippedLevel)ue.seen.delete(Q);else if(ue.activatedOn=l.popStack(ue.activatedOn),ue.parent){let Ce=ue.parent;for(;Ce;)Ce.activatedOn.value.nextLevelTypeActivated=l.popStack(Ce.activatedOn.value.nextLevelTypeActivated),Ce=Ce.parent}for(const{context:ue,visit:Ce,ruleId:et,severity:Pe}of j)!ue.isSkippedLevel&&re.has(ue)&&W(Ce,Q,m,ue,et,Pe)}if(he=O,t.isRef(m)){const pe=p.ref.leave;for(const{visit:Se,ruleId:De,severity:nt,context:Me}of pe)if(re.has(Me)){const _e=V.bind(void 0,De,nt);Se(m,{report:_e,resolve:ce,rawNode:m,rawLocation:te,location:O,type:y,parent:C,key:A,parentLocations:{},oasVersion:T.oasVersion,getVisitorData:ae.bind(void 0,De)},{node:Q,location:B,error:J})}}function W(pe,Se,De,nt,Me,_e){const j=V.bind(void 0,Me,_e);pe(Se,{report:j,resolve:ce,rawNode:De,location:he,rawLocation:te,type:y,parent:C,key:A,parentLocations:c(nt),oasVersion:T.oasVersion,ignoreNextVisitorsOnNode:()=>{v.add(he.pointer)},getVisitorData:ae.bind(void 0,Me)},r(nt),nt)}function V(pe,Se,De){const Me=(De.location?Array.isArray(De.location)?De.location:[De.location]:[Object.assign(Object.assign({},he),{reportOnKey:!1})]).map(j=>Object.assign(Object.assign(Object.assign({},he),{reportOnKey:!1}),j)),_e=De.forceSeverity||Se;_e!=="off"&&T.problems.push(Object.assign(Object.assign({ruleId:De.ruleId||pe,severity:_e},De),{suggest:De.suggest||[],location:Me}))}function ae(pe){return T.visitorsData[pe]=T.visitorsData[pe]||{},T.visitorsData[pe]}}}n.walkDocument=u},95019:(L,n,e)=>{var t=e(5623);L.exports=p;var l="\0SLASH"+Math.random()+"\0",s="\0OPEN"+Math.random()+"\0",o="\0CLOSE"+Math.random()+"\0",r="\0COMMA"+Math.random()+"\0",c="\0PERIOD"+Math.random()+"\0";function u(m){return parseInt(m,10)==m?parseInt(m,10):m.charCodeAt(0)}function a(m){return m.split("\\\\").join(l).split("\\{").join(s).split("\\}").join(o).split("\\,").join(r).split("\\.").join(c)}function d(m){return m.split(l).join("\\").split(s).join("{").split(o).join("}").split(r).join(",").split(c).join(".")}function h(m){if(!m)return[""];var y=[],O=t("{","}",m);if(!O)return m.split(",");var C=O.pre,A=O.body,w=O.post,x=C.split(",");x[x.length-1]+="{"+A+"}";var R=h(w);return w.length&&(x[x.length-1]+=R.shift(),x.push.apply(x,R)),y.push.apply(y,x),y}function p(m){return m?(m.substr(0,2)==="{}"&&(m="\\{\\}"+m.substr(2)),b(a(m),!0).map(d)):[]}function E(m){return"{"+m+"}"}function T(m){return/^-?0\d/.test(m)}function S(m,y){return m<=y}function v(m,y){return m>=y}function b(m,y){var O=[],C=t("{","}",m);if(!C)return[m];var A=C.pre,w=C.post.length?b(C.post,!1):[""];if(/\$$/.test(C.pre))for(var x=0;x<w.length;x++){var R=A+"{"+C.body+"}"+w[x];O.push(R)}else{var g=/^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(C.body),k=/^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(C.body),G=g||k,Z=C.body.indexOf(",")>=0;if(!G&&!Z)return C.post.match(/,.*\}/)?(m=C.pre+"{"+C.body+o+C.post,b(m)):[m];var oe;if(G)oe=C.body.split(/\.\./);else if(oe=h(C.body),oe.length===1&&(oe=b(oe[0],!1).map(E),oe.length===1))return w.map(function(pe){return C.pre+oe[0]+pe});var ee;if(G){var Ee=u(oe[0]),Fe=u(oe[1]),ce=Math.max(oe[0].length,oe[1].length),te=oe.length==3?Math.abs(u(oe[2])):1,he=S,Q=Fe<Ee;Q&&(te*=-1,he=v);var B=oe.some(T);ee=[];for(var J=Ee;he(J,Fe);J+=te){var re;if(k)re=String.fromCharCode(J),re==="\\"&&(re="");else if(re=String(J),B){var W=ce-re.length;if(W>0){var V=new Array(W+1).join("0");J<0?re="-"+V+re.slice(1):re=V+re}}ee.push(re)}}else{ee=[];for(var ae=0;ae<oe.length;ae++)ee.push.apply(ee,b(oe[ae],!1))}for(var ae=0;ae<ee.length;ae++)for(var x=0;x<w.length;x++){var R=A+ee[ae]+w[x];(!y||G||R)&&O.push(R)}}return O}},59002:(L,n,e)=>{"use strict";var t=e(20436),l=e(69321);function s(o,r){return function(){throw new Error("Function yaml."+o+" is removed in js-yaml 4. Use yaml."+r+" instead, which is now safe by default.")}}L.exports.Type=e(23968),L.exports.Schema=e(16768),L.exports.FAILSAFE_SCHEMA=e(87098),L.exports.JSON_SCHEMA=e(72124),L.exports.CORE_SCHEMA=e(83760),L.exports.DEFAULT_SCHEMA=e(57525),L.exports.load=t.load,L.exports.loadAll=t.loadAll,L.exports.dump=l.dump,L.exports.YAMLException=e(84675),L.exports.types={binary:e(96183),float:e(62910),map:e(96629),null:e(45501),pairs:e(1149),set:e(36554),timestamp:e(71262),bool:e(66272),int:e(53033),merge:e(26092),omap:e(66439),seq:e(28259),str:e(12613)},L.exports.safeLoad=s("safeLoad","load"),L.exports.safeLoadAll=s("safeLoadAll","loadAll"),L.exports.safeDump=s("safeDump","dump")},90927:L=>{"use strict";function n(r){return typeof r=="undefined"||r===null}function e(r){return typeof r=="object"&&r!==null}function t(r){return Array.isArray(r)?r:n(r)?[]:[r]}function l(r,c){var u,a,d,h;if(c)for(h=Object.keys(c),u=0,a=h.length;u<a;u+=1)d=h[u],r[d]=c[d];return r}function s(r,c){var u="",a;for(a=0;a<c;a+=1)u+=r;return u}function o(r){return r===0&&Number.NEGATIVE_INFINITY===1/r}L.exports.isNothing=n,L.exports.isObject=e,L.exports.toArray=t,L.exports.repeat=s,L.exports.isNegativeZero=o,L.exports.extend=l},69321:(L,n,e)=>{"use strict";var t=e(90927),l=e(84675),s=e(57525),o=Object.prototype.toString,r=Object.prototype.hasOwnProperty,c=65279,u=9,a=10,d=13,h=32,p=33,E=34,T=35,S=37,v=38,b=39,m=42,y=44,O=45,C=58,A=61,w=62,x=63,R=64,g=91,k=93,G=96,Z=123,oe=124,ee=125,Ee={};Ee[0]="\\0",Ee[7]="\\a",Ee[8]="\\b",Ee[9]="\\t",Ee[10]="\\n",Ee[11]="\\v",Ee[12]="\\f",Ee[13]="\\r",Ee[27]="\\e",Ee[34]='\\"',Ee[92]="\\\\",Ee[133]="\\N",Ee[160]="\\_",Ee[8232]="\\L",Ee[8233]="\\P";var Fe=["y","Y","yes","Yes","YES","on","On","ON","n","N","no","No","NO","off","Off","OFF"],ce=/^[-+]?[0-9_]+(?::[0-9_]+)+(?:\.[0-9_]*)?$/;function te(K,we){var He,Je,ft,At,Lt,Yt,Vt;if(we===null)return{};for(He={},Je=Object.keys(we),ft=0,At=Je.length;ft<At;ft+=1)Lt=Je[ft],Yt=String(we[Lt]),Lt.slice(0,2)==="!!"&&(Lt="tag:yaml.org,2002:"+Lt.slice(2)),Vt=K.compiledTypeMap.fallback[Lt],Vt&&r.call(Vt.styleAliases,Yt)&&(Yt=Vt.styleAliases[Yt]),He[Lt]=Yt;return He}function he(K){var we,He,Je;if(we=K.toString(16).toUpperCase(),K<=255)He="x",Je=2;else if(K<=65535)He="u",Je=4;else if(K<=4294967295)He="U",Je=8;else throw new l("code point within a string may not be greater than 0xFFFFFFFF");return"\\"+He+t.repeat("0",Je-we.length)+we}var Q=1,B=2;function J(K){this.schema=K.schema||s,this.indent=Math.max(1,K.indent||2),this.noArrayIndent=K.noArrayIndent||!1,this.skipInvalid=K.skipInvalid||!1,this.flowLevel=t.isNothing(K.flowLevel)?-1:K.flowLevel,this.styleMap=te(this.schema,K.styles||null),this.sortKeys=K.sortKeys||!1,this.lineWidth=K.lineWidth||80,this.noRefs=K.noRefs||!1,this.noCompatMode=K.noCompatMode||!1,this.condenseFlow=K.condenseFlow||!1,this.quotingType=K.quotingType==='"'?B:Q,this.forceQuotes=K.forceQuotes||!1,this.replacer=typeof K.replacer=="function"?K.replacer:null,this.implicitTypes=this.schema.compiledImplicit,this.explicitTypes=this.schema.compiledExplicit,this.tag=null,this.result="",this.duplicates=[],this.usedDuplicates=null}function re(K,we){for(var He=t.repeat(" ",we),Je=0,ft=-1,At="",Lt,Yt=K.length;Je<Yt;)ft=K.indexOf(`
|
|
70
70
|
`,Je),ft===-1?(Lt=K.slice(Je),Je=Yt):(Lt=K.slice(Je,ft+1),Je=ft+1),Lt.length&&Lt!==`
|
|
71
71
|
`&&(At+=He),At+=Lt;return At}function W(K,we){return`
|
|
72
|
-
`+t.repeat(" ",K.indent*we)}function V(K,we){var He,Je,ft;for(He=0,Je=K.implicitTypes.length;He<Je;He+=1)if(ft=K.implicitTypes[He],ft.resolve(we))return!0;return!1}function ae(K){return K===h||K===u}function pe(K){return 32<=K&&K<=126||161<=K&&K<=55295&&K!==8232&&K!==8233||57344<=K&&K<=65533&&K!==c||65536<=K&&K<=1114111}function Se(K){return pe(K)&&K!==c&&K!==d&&K!==a}function De(K,we,He){var Je=Se(K),ft=Je&&!ae(K);return(He?Je:Je&&K!==y&&K!==g&&K!==k&&K!==Z&&K!==ee)&&K!==T&&!(we===C&&!ft)||Se(we)&&!ae(we)&&K===T||we===C&&ft}function nt(K){return pe(K)&&K!==c&&!ae(K)&&K!==O&&K!==x&&K!==C&&K!==y&&K!==g&&K!==k&&K!==Z&&K!==ee&&K!==T&&K!==v&&K!==m&&K!==p&&K!==oe&&K!==A&&K!==w&&K!==b&&K!==E&&K!==S&&K!==R&&K!==G}function Me(K){return!ae(K)&&K!==C}function _e(K,we){var He=K.charCodeAt(we),Je;return He>=55296&&He<=56319&&we+1<K.length&&(Je=K.charCodeAt(we+1),Je>=56320&&Je<=57343)?(He-55296)*1024+Je-56320+65536:He}function j(K){var we=/^\n* /;return we.test(K)}var ue=1,Ce=2,et=3,Pe=4,X=5;function _(K,we,He,Je,ft,At,Lt,Yt){var Vt,ze=0,dt=null,bt=!1,pt=!1,Ct=Je!==-1,$t=-1,
|
|
72
|
+
`+t.repeat(" ",K.indent*we)}function V(K,we){var He,Je,ft;for(He=0,Je=K.implicitTypes.length;He<Je;He+=1)if(ft=K.implicitTypes[He],ft.resolve(we))return!0;return!1}function ae(K){return K===h||K===u}function pe(K){return 32<=K&&K<=126||161<=K&&K<=55295&&K!==8232&&K!==8233||57344<=K&&K<=65533&&K!==c||65536<=K&&K<=1114111}function Se(K){return pe(K)&&K!==c&&K!==d&&K!==a}function De(K,we,He){var Je=Se(K),ft=Je&&!ae(K);return(He?Je:Je&&K!==y&&K!==g&&K!==k&&K!==Z&&K!==ee)&&K!==T&&!(we===C&&!ft)||Se(we)&&!ae(we)&&K===T||we===C&&ft}function nt(K){return pe(K)&&K!==c&&!ae(K)&&K!==O&&K!==x&&K!==C&&K!==y&&K!==g&&K!==k&&K!==Z&&K!==ee&&K!==T&&K!==v&&K!==m&&K!==p&&K!==oe&&K!==A&&K!==w&&K!==b&&K!==E&&K!==S&&K!==R&&K!==G}function Me(K){return!ae(K)&&K!==C}function _e(K,we){var He=K.charCodeAt(we),Je;return He>=55296&&He<=56319&&we+1<K.length&&(Je=K.charCodeAt(we+1),Je>=56320&&Je<=57343)?(He-55296)*1024+Je-56320+65536:He}function j(K){var we=/^\n* /;return we.test(K)}var ue=1,Ce=2,et=3,Pe=4,X=5;function _(K,we,He,Je,ft,At,Lt,Yt){var Vt,ze=0,dt=null,bt=!1,pt=!1,Ct=Je!==-1,$t=-1,fn=nt(_e(K,0))&&Me(_e(K,K.length-1));if(we||Lt)for(Vt=0;Vt<K.length;ze>=65536?Vt+=2:Vt++){if(ze=_e(K,Vt),!pe(ze))return X;fn=fn&&De(ze,dt,Yt),dt=ze}else{for(Vt=0;Vt<K.length;ze>=65536?Vt+=2:Vt++){if(ze=_e(K,Vt),ze===a)bt=!0,Ct&&(pt=pt||Vt-$t-1>Je&&K[$t+1]!==" ",$t=Vt);else if(!pe(ze))return X;fn=fn&&De(ze,dt,Yt),dt=ze}pt=pt||Ct&&Vt-$t-1>Je&&K[$t+1]!==" "}return!bt&&!pt?fn&&!Lt&&!ft(K)?ue:At===B?X:Ce:He>9&&j(K)?X:Lt?At===B?X:Ce:pt?Pe:et}function $(K,we,He,Je,ft){K.dump=function(){if(we.length===0)return K.quotingType===B?'""':"''";if(!K.noCompatMode&&(Fe.indexOf(we)!==-1||ce.test(we)))return K.quotingType===B?'"'+we+'"':"'"+we+"'";var At=K.indent*Math.max(1,He),Lt=K.lineWidth===-1?-1:Math.max(Math.min(K.lineWidth,40),K.lineWidth-At),Yt=Je||K.flowLevel>-1&&He>=K.flowLevel;function Vt(ze){return V(K,ze)}switch(_(we,Yt,K.indent,Lt,Vt,K.quotingType,K.forceQuotes&&!Je,ft)){case ue:return we;case Ce:return"'"+we.replace(/'/g,"''")+"'";case et:return"|"+H(we,K.indent)+I(re(we,At));case Pe:return">"+H(we,K.indent)+I(re(ve(we,Lt),At));case X:return'"'+be(we,Lt)+'"';default:throw new l("impossible error: invalid scalar style")}}()}function H(K,we){var He=j(K)?String(we):"",Je=K[K.length-1]===`
|
|
73
73
|
`,ft=Je&&(K[K.length-2]===`
|
|
74
74
|
`||K===`
|
|
75
75
|
`),At=ft?"+":Je?"":"-";return He+At+`
|
|
@@ -106,7 +106,7 @@ globstar while`,x,ce,R,te,he),this.matchOne(x.slice(ce),R.slice(te),g))return th
|
|
|
106
106
|
* @author Feross Aboukhadijeh <http://feross.org>
|
|
107
107
|
* @license MIT
|
|
108
108
|
*/var t=e(79742),l=e(80645),s=e(5826);n.Buffer=u,n.SlowBuffer=m,n.INSPECT_MAX_BYTES=50,u.TYPED_ARRAY_SUPPORT=e.g.TYPED_ARRAY_SUPPORT!==void 0?e.g.TYPED_ARRAY_SUPPORT:o(),n.kMaxLength=r();function o(){try{var X=new Uint8Array(1);return X.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},X.foo()===42&&typeof X.subarray=="function"&&X.subarray(1,1).byteLength===0}catch(_){return!1}}function r(){return u.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function c(X,_){if(r()<_)throw new RangeError("Invalid typed array length");return u.TYPED_ARRAY_SUPPORT?(X=new Uint8Array(_),X.__proto__=u.prototype):(X===null&&(X=new u(_)),X.length=_),X}function u(X,_,$){if(!u.TYPED_ARRAY_SUPPORT&&!(this instanceof u))return new u(X,_,$);if(typeof X=="number"){if(typeof _=="string")throw new Error("If encoding is specified then the first argument must be a string");return p(this,X)}return a(this,X,_,$)}u.poolSize=8192,u._augment=function(X){return X.__proto__=u.prototype,X};function a(X,_,$,H){if(typeof _=="number")throw new TypeError('"value" argument must not be a number');return typeof ArrayBuffer!="undefined"&&_ instanceof ArrayBuffer?S(X,_,$,H):typeof _=="string"?E(X,_,$):v(X,_)}u.from=function(X,_,$){return a(null,X,_,$)},u.TYPED_ARRAY_SUPPORT&&(u.prototype.__proto__=Uint8Array.prototype,u.__proto__=Uint8Array,typeof Symbol!="undefined"&&Symbol.species&&u[Symbol.species]===u&&Object.defineProperty(u,Symbol.species,{value:null,configurable:!0}));function d(X){if(typeof X!="number")throw new TypeError('"size" argument must be a number');if(X<0)throw new RangeError('"size" argument must not be negative')}function h(X,_,$,H){return d(_),_<=0?c(X,_):$!==void 0?typeof H=="string"?c(X,_).fill($,H):c(X,_).fill($):c(X,_)}u.alloc=function(X,_,$){return h(null,X,_,$)};function p(X,_){if(d(_),X=c(X,_<0?0:b(_)|0),!u.TYPED_ARRAY_SUPPORT)for(var $=0;$<_;++$)X[$]=0;return X}u.allocUnsafe=function(X){return p(null,X)},u.allocUnsafeSlow=function(X){return p(null,X)};function E(X,_,$){if((typeof $!="string"||$==="")&&($="utf8"),!u.isEncoding($))throw new TypeError('"encoding" must be a valid string encoding');var H=y(_,$)|0;X=c(X,H);var I=X.write(_,$);return I!==H&&(X=X.slice(0,I)),X}function T(X,_){var $=_.length<0?0:b(_.length)|0;X=c(X,$);for(var H=0;H<$;H+=1)X[H]=_[H]&255;return X}function S(X,_,$,H){if(_.byteLength,$<0||_.byteLength<$)throw new RangeError("'offset' is out of bounds");if(_.byteLength<$+(H||0))throw new RangeError("'length' is out of bounds");return $===void 0&&H===void 0?_=new Uint8Array(_):H===void 0?_=new Uint8Array(_,$):_=new Uint8Array(_,$,H),u.TYPED_ARRAY_SUPPORT?(X=_,X.__proto__=u.prototype):X=T(X,_),X}function v(X,_){if(u.isBuffer(_)){var $=b(_.length)|0;return X=c(X,$),X.length===0||_.copy(X,0,0,$),X}if(_){if(typeof ArrayBuffer!="undefined"&&_.buffer instanceof ArrayBuffer||"length"in _)return typeof _.length!="number"||Pe(_.length)?c(X,0):T(X,_);if(_.type==="Buffer"&&s(_.data))return T(X,_.data)}throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}function b(X){if(X>=r())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+r().toString(16)+" bytes");return X|0}function m(X){return+X!=X&&(X=0),u.alloc(+X)}u.isBuffer=function(_){return!!(_!=null&&_._isBuffer)},u.compare=function(_,$){if(!u.isBuffer(_)||!u.isBuffer($))throw new TypeError("Arguments must be Buffers");if(_===$)return 0;for(var H=_.length,I=$.length,ve=0,$e=Math.min(H,I);ve<$e;++ve)if(_[ve]!==$[ve]){H=_[ve],I=$[ve];break}return H<I?-1:I<H?1:0},u.isEncoding=function(_){switch(String(_).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},u.concat=function(_,$){if(!s(_))throw new TypeError('"list" argument must be an Array of Buffers');if(_.length===0)return u.alloc(0);var H;if($===void 0)for($=0,H=0;H<_.length;++H)$+=_[H].length;var I=u.allocUnsafe($),ve=0;for(H=0;H<_.length;++H){var $e=_[H];if(!u.isBuffer($e))throw new TypeError('"list" argument must be an Array of Buffers');$e.copy(I,ve),ve+=$e.length}return I};function y(X,_){if(u.isBuffer(X))return X.length;if(typeof ArrayBuffer!="undefined"&&typeof ArrayBuffer.isView=="function"&&(ArrayBuffer.isView(X)||X instanceof ArrayBuffer))return X.byteLength;typeof X!="string"&&(X=""+X);var $=X.length;if($===0)return 0;for(var H=!1;;)switch(_){case"ascii":case"latin1":case"binary":return $;case"utf8":case"utf-8":case void 0:return _e(X).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return $*2;case"hex":return $>>>1;case"base64":return Ce(X).length;default:if(H)return _e(X).length;_=(""+_).toLowerCase(),H=!0}}u.byteLength=y;function O(X,_,$){var H=!1;if((_===void 0||_<0)&&(_=0),_>this.length||(($===void 0||$>this.length)&&($=this.length),$<=0)||($>>>=0,_>>>=0,$<=_))return"";for(X||(X="utf8");;)switch(X){case"hex":return he(this,_,$);case"utf8":case"utf-8":return ee(this,_,$);case"ascii":return ce(this,_,$);case"latin1":case"binary":return te(this,_,$);case"base64":return oe(this,_,$);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Q(this,_,$);default:if(H)throw new TypeError("Unknown encoding: "+X);X=(X+"").toLowerCase(),H=!0}}u.prototype._isBuffer=!0;function C(X,_,$){var H=X[_];X[_]=X[$],X[$]=H}u.prototype.swap16=function(){var _=this.length;if(_%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var $=0;$<_;$+=2)C(this,$,$+1);return this},u.prototype.swap32=function(){var _=this.length;if(_%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var $=0;$<_;$+=4)C(this,$,$+3),C(this,$+1,$+2);return this},u.prototype.swap64=function(){var _=this.length;if(_%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var $=0;$<_;$+=8)C(this,$,$+7),C(this,$+1,$+6),C(this,$+2,$+5),C(this,$+3,$+4);return this},u.prototype.toString=function(){var _=this.length|0;return _===0?"":arguments.length===0?ee(this,0,_):O.apply(this,arguments)},u.prototype.equals=function(_){if(!u.isBuffer(_))throw new TypeError("Argument must be a Buffer");return this===_?!0:u.compare(this,_)===0},u.prototype.inspect=function(){var _="",$=n.INSPECT_MAX_BYTES;return this.length>0&&(_=this.toString("hex",0,$).match(/.{2}/g).join(" "),this.length>$&&(_+=" ... ")),"<Buffer "+_+">"},u.prototype.compare=function(_,$,H,I,ve){if(!u.isBuffer(_))throw new TypeError("Argument must be a Buffer");if($===void 0&&($=0),H===void 0&&(H=_?_.length:0),I===void 0&&(I=0),ve===void 0&&(ve=this.length),$<0||H>_.length||I<0||ve>this.length)throw new RangeError("out of range index");if(I>=ve&&$>=H)return 0;if(I>=ve)return-1;if($>=H)return 1;if($>>>=0,H>>>=0,I>>>=0,ve>>>=0,this===_)return 0;for(var $e=ve-I,be=H-$,Te=Math.min($e,be),Le=this.slice(I,ve),ke=_.slice($,H),at=0;at<Te;++at)if(Le[at]!==ke[at]){$e=Le[at],be=ke[at];break}return $e<be?-1:be<$e?1:0};function A(X,_,$,H,I){if(X.length===0)return-1;if(typeof $=="string"?(H=$,$=0):$>2147483647?$=2147483647:$<-2147483648&&($=-2147483648),$=+$,isNaN($)&&($=I?0:X.length-1),$<0&&($=X.length+$),$>=X.length){if(I)return-1;$=X.length-1}else if($<0)if(I)$=0;else return-1;if(typeof _=="string"&&(_=u.from(_,H)),u.isBuffer(_))return _.length===0?-1:w(X,_,$,H,I);if(typeof _=="number")return _=_&255,u.TYPED_ARRAY_SUPPORT&&typeof Uint8Array.prototype.indexOf=="function"?I?Uint8Array.prototype.indexOf.call(X,_,$):Uint8Array.prototype.lastIndexOf.call(X,_,$):w(X,[_],$,H,I);throw new TypeError("val must be string, number or Buffer")}function w(X,_,$,H,I){var ve=1,$e=X.length,be=_.length;if(H!==void 0&&(H=String(H).toLowerCase(),H==="ucs2"||H==="ucs-2"||H==="utf16le"||H==="utf-16le")){if(X.length<2||_.length<2)return-1;ve=2,$e/=2,be/=2,$/=2}function Te(qe,q){return ve===1?qe[q]:qe.readUInt16BE(q*ve)}var Le;if(I){var ke=-1;for(Le=$;Le<$e;Le++)if(Te(X,Le)===Te(_,ke===-1?0:Le-ke)){if(ke===-1&&(ke=Le),Le-ke+1===be)return ke*ve}else ke!==-1&&(Le-=Le-ke),ke=-1}else for($+be>$e&&($=$e-be),Le=$;Le>=0;Le--){for(var at=!0,xt=0;xt<be;xt++)if(Te(X,Le+xt)!==Te(_,xt)){at=!1;break}if(at)return Le}return-1}u.prototype.includes=function(_,$,H){return this.indexOf(_,$,H)!==-1},u.prototype.indexOf=function(_,$,H){return A(this,_,$,H,!0)},u.prototype.lastIndexOf=function(_,$,H){return A(this,_,$,H,!1)};function x(X,_,$,H){$=Number($)||0;var I=X.length-$;H?(H=Number(H),H>I&&(H=I)):H=I;var ve=_.length;if(ve%2!=0)throw new TypeError("Invalid hex string");H>ve/2&&(H=ve/2);for(var $e=0;$e<H;++$e){var be=parseInt(_.substr($e*2,2),16);if(isNaN(be))return $e;X[$+$e]=be}return $e}function R(X,_,$,H){return et(_e(_,X.length-$),X,$,H)}function g(X,_,$,H){return et(j(_),X,$,H)}function k(X,_,$,H){return g(X,_,$,H)}function G(X,_,$,H){return et(Ce(_),X,$,H)}function Z(X,_,$,H){return et(ue(_,X.length-$),X,$,H)}u.prototype.write=function(_,$,H,I){if($===void 0)I="utf8",H=this.length,$=0;else if(H===void 0&&typeof $=="string")I=$,H=this.length,$=0;else if(isFinite($))$=$|0,isFinite(H)?(H=H|0,I===void 0&&(I="utf8")):(I=H,H=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var ve=this.length-$;if((H===void 0||H>ve)&&(H=ve),_.length>0&&(H<0||$<0)||$>this.length)throw new RangeError("Attempt to write outside buffer bounds");I||(I="utf8");for(var $e=!1;;)switch(I){case"hex":return x(this,_,$,H);case"utf8":case"utf-8":return R(this,_,$,H);case"ascii":return g(this,_,$,H);case"latin1":case"binary":return k(this,_,$,H);case"base64":return G(this,_,$,H);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Z(this,_,$,H);default:if($e)throw new TypeError("Unknown encoding: "+I);I=(""+I).toLowerCase(),$e=!0}},u.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function oe(X,_,$){return _===0&&$===X.length?t.fromByteArray(X):t.fromByteArray(X.slice(_,$))}function ee(X,_,$){$=Math.min(X.length,$);for(var H=[],I=_;I<$;){var ve=X[I],$e=null,be=ve>239?4:ve>223?3:ve>191?2:1;if(I+be<=$){var Te,Le,ke,at;switch(be){case 1:ve<128&&($e=ve);break;case 2:Te=X[I+1],(Te&192)==128&&(at=(ve&31)<<6|Te&63,at>127&&($e=at));break;case 3:Te=X[I+1],Le=X[I+2],(Te&192)==128&&(Le&192)==128&&(at=(ve&15)<<12|(Te&63)<<6|Le&63,at>2047&&(at<55296||at>57343)&&($e=at));break;case 4:Te=X[I+1],Le=X[I+2],ke=X[I+3],(Te&192)==128&&(Le&192)==128&&(ke&192)==128&&(at=(ve&15)<<18|(Te&63)<<12|(Le&63)<<6|ke&63,at>65535&&at<1114112&&($e=at))}}$e===null?($e=65533,be=1):$e>65535&&($e-=65536,H.push($e>>>10&1023|55296),$e=56320|$e&1023),H.push($e),I+=be}return Fe(H)}var Ee=4096;function Fe(X){var _=X.length;if(_<=Ee)return String.fromCharCode.apply(String,X);for(var $="",H=0;H<_;)$+=String.fromCharCode.apply(String,X.slice(H,H+=Ee));return $}function ce(X,_,$){var H="";$=Math.min(X.length,$);for(var I=_;I<$;++I)H+=String.fromCharCode(X[I]&127);return H}function te(X,_,$){var H="";$=Math.min(X.length,$);for(var I=_;I<$;++I)H+=String.fromCharCode(X[I]);return H}function he(X,_,$){var H=X.length;(!_||_<0)&&(_=0),(!$||$<0||$>H)&&($=H);for(var I="",ve=_;ve<$;++ve)I+=Me(X[ve]);return I}function Q(X,_,$){for(var H=X.slice(_,$),I="",ve=0;ve<H.length;ve+=2)I+=String.fromCharCode(H[ve]+H[ve+1]*256);return I}u.prototype.slice=function(_,$){var H=this.length;_=~~_,$=$===void 0?H:~~$,_<0?(_+=H,_<0&&(_=0)):_>H&&(_=H),$<0?($+=H,$<0&&($=0)):$>H&&($=H),$<_&&($=_);var I;if(u.TYPED_ARRAY_SUPPORT)I=this.subarray(_,$),I.__proto__=u.prototype;else{var ve=$-_;I=new u(ve,void 0);for(var $e=0;$e<ve;++$e)I[$e]=this[$e+_]}return I};function B(X,_,$){if(X%1!=0||X<0)throw new RangeError("offset is not uint");if(X+_>$)throw new RangeError("Trying to access beyond buffer length")}u.prototype.readUIntLE=function(_,$,H){_=_|0,$=$|0,H||B(_,$,this.length);for(var I=this[_],ve=1,$e=0;++$e<$&&(ve*=256);)I+=this[_+$e]*ve;return I},u.prototype.readUIntBE=function(_,$,H){_=_|0,$=$|0,H||B(_,$,this.length);for(var I=this[_+--$],ve=1;$>0&&(ve*=256);)I+=this[_+--$]*ve;return I},u.prototype.readUInt8=function(_,$){return $||B(_,1,this.length),this[_]},u.prototype.readUInt16LE=function(_,$){return $||B(_,2,this.length),this[_]|this[_+1]<<8},u.prototype.readUInt16BE=function(_,$){return $||B(_,2,this.length),this[_]<<8|this[_+1]},u.prototype.readUInt32LE=function(_,$){return $||B(_,4,this.length),(this[_]|this[_+1]<<8|this[_+2]<<16)+this[_+3]*16777216},u.prototype.readUInt32BE=function(_,$){return $||B(_,4,this.length),this[_]*16777216+(this[_+1]<<16|this[_+2]<<8|this[_+3])},u.prototype.readIntLE=function(_,$,H){_=_|0,$=$|0,H||B(_,$,this.length);for(var I=this[_],ve=1,$e=0;++$e<$&&(ve*=256);)I+=this[_+$e]*ve;return ve*=128,I>=ve&&(I-=Math.pow(2,8*$)),I},u.prototype.readIntBE=function(_,$,H){_=_|0,$=$|0,H||B(_,$,this.length);for(var I=$,ve=1,$e=this[_+--I];I>0&&(ve*=256);)$e+=this[_+--I]*ve;return ve*=128,$e>=ve&&($e-=Math.pow(2,8*$)),$e},u.prototype.readInt8=function(_,$){return $||B(_,1,this.length),this[_]&128?(255-this[_]+1)*-1:this[_]},u.prototype.readInt16LE=function(_,$){$||B(_,2,this.length);var H=this[_]|this[_+1]<<8;return H&32768?H|4294901760:H},u.prototype.readInt16BE=function(_,$){$||B(_,2,this.length);var H=this[_+1]|this[_]<<8;return H&32768?H|4294901760:H},u.prototype.readInt32LE=function(_,$){return $||B(_,4,this.length),this[_]|this[_+1]<<8|this[_+2]<<16|this[_+3]<<24},u.prototype.readInt32BE=function(_,$){return $||B(_,4,this.length),this[_]<<24|this[_+1]<<16|this[_+2]<<8|this[_+3]},u.prototype.readFloatLE=function(_,$){return $||B(_,4,this.length),l.read(this,_,!0,23,4)},u.prototype.readFloatBE=function(_,$){return $||B(_,4,this.length),l.read(this,_,!1,23,4)},u.prototype.readDoubleLE=function(_,$){return $||B(_,8,this.length),l.read(this,_,!0,52,8)},u.prototype.readDoubleBE=function(_,$){return $||B(_,8,this.length),l.read(this,_,!1,52,8)};function J(X,_,$,H,I,ve){if(!u.isBuffer(X))throw new TypeError('"buffer" argument must be a Buffer instance');if(_>I||_<ve)throw new RangeError('"value" argument is out of bounds');if($+H>X.length)throw new RangeError("Index out of range")}u.prototype.writeUIntLE=function(_,$,H,I){if(_=+_,$=$|0,H=H|0,!I){var ve=Math.pow(2,8*H)-1;J(this,_,$,H,ve,0)}var $e=1,be=0;for(this[$]=_&255;++be<H&&($e*=256);)this[$+be]=_/$e&255;return $+H},u.prototype.writeUIntBE=function(_,$,H,I){if(_=+_,$=$|0,H=H|0,!I){var ve=Math.pow(2,8*H)-1;J(this,_,$,H,ve,0)}var $e=H-1,be=1;for(this[$+$e]=_&255;--$e>=0&&(be*=256);)this[$+$e]=_/be&255;return $+H},u.prototype.writeUInt8=function(_,$,H){return _=+_,$=$|0,H||J(this,_,$,1,255,0),u.TYPED_ARRAY_SUPPORT||(_=Math.floor(_)),this[$]=_&255,$+1};function re(X,_,$,H){_<0&&(_=65535+_+1);for(var I=0,ve=Math.min(X.length-$,2);I<ve;++I)X[$+I]=(_&255<<8*(H?I:1-I))>>>(H?I:1-I)*8}u.prototype.writeUInt16LE=function(_,$,H){return _=+_,$=$|0,H||J(this,_,$,2,65535,0),u.TYPED_ARRAY_SUPPORT?(this[$]=_&255,this[$+1]=_>>>8):re(this,_,$,!0),$+2},u.prototype.writeUInt16BE=function(_,$,H){return _=+_,$=$|0,H||J(this,_,$,2,65535,0),u.TYPED_ARRAY_SUPPORT?(this[$]=_>>>8,this[$+1]=_&255):re(this,_,$,!1),$+2};function W(X,_,$,H){_<0&&(_=4294967295+_+1);for(var I=0,ve=Math.min(X.length-$,4);I<ve;++I)X[$+I]=_>>>(H?I:3-I)*8&255}u.prototype.writeUInt32LE=function(_,$,H){return _=+_,$=$|0,H||J(this,_,$,4,4294967295,0),u.TYPED_ARRAY_SUPPORT?(this[$+3]=_>>>24,this[$+2]=_>>>16,this[$+1]=_>>>8,this[$]=_&255):W(this,_,$,!0),$+4},u.prototype.writeUInt32BE=function(_,$,H){return _=+_,$=$|0,H||J(this,_,$,4,4294967295,0),u.TYPED_ARRAY_SUPPORT?(this[$]=_>>>24,this[$+1]=_>>>16,this[$+2]=_>>>8,this[$+3]=_&255):W(this,_,$,!1),$+4},u.prototype.writeIntLE=function(_,$,H,I){if(_=+_,$=$|0,!I){var ve=Math.pow(2,8*H-1);J(this,_,$,H,ve-1,-ve)}var $e=0,be=1,Te=0;for(this[$]=_&255;++$e<H&&(be*=256);)_<0&&Te===0&&this[$+$e-1]!==0&&(Te=1),this[$+$e]=(_/be>>0)-Te&255;return $+H},u.prototype.writeIntBE=function(_,$,H,I){if(_=+_,$=$|0,!I){var ve=Math.pow(2,8*H-1);J(this,_,$,H,ve-1,-ve)}var $e=H-1,be=1,Te=0;for(this[$+$e]=_&255;--$e>=0&&(be*=256);)_<0&&Te===0&&this[$+$e+1]!==0&&(Te=1),this[$+$e]=(_/be>>0)-Te&255;return $+H},u.prototype.writeInt8=function(_,$,H){return _=+_,$=$|0,H||J(this,_,$,1,127,-128),u.TYPED_ARRAY_SUPPORT||(_=Math.floor(_)),_<0&&(_=255+_+1),this[$]=_&255,$+1},u.prototype.writeInt16LE=function(_,$,H){return _=+_,$=$|0,H||J(this,_,$,2,32767,-32768),u.TYPED_ARRAY_SUPPORT?(this[$]=_&255,this[$+1]=_>>>8):re(this,_,$,!0),$+2},u.prototype.writeInt16BE=function(_,$,H){return _=+_,$=$|0,H||J(this,_,$,2,32767,-32768),u.TYPED_ARRAY_SUPPORT?(this[$]=_>>>8,this[$+1]=_&255):re(this,_,$,!1),$+2},u.prototype.writeInt32LE=function(_,$,H){return _=+_,$=$|0,H||J(this,_,$,4,2147483647,-2147483648),u.TYPED_ARRAY_SUPPORT?(this[$]=_&255,this[$+1]=_>>>8,this[$+2]=_>>>16,this[$+3]=_>>>24):W(this,_,$,!0),$+4},u.prototype.writeInt32BE=function(_,$,H){return _=+_,$=$|0,H||J(this,_,$,4,2147483647,-2147483648),_<0&&(_=4294967295+_+1),u.TYPED_ARRAY_SUPPORT?(this[$]=_>>>24,this[$+1]=_>>>16,this[$+2]=_>>>8,this[$+3]=_&255):W(this,_,$,!1),$+4};function V(X,_,$,H,I,ve){if($+H>X.length)throw new RangeError("Index out of range");if($<0)throw new RangeError("Index out of range")}function ae(X,_,$,H,I){return I||V(X,_,$,4,34028234663852886e22,-34028234663852886e22),l.write(X,_,$,H,23,4),$+4}u.prototype.writeFloatLE=function(_,$,H){return ae(this,_,$,!0,H)},u.prototype.writeFloatBE=function(_,$,H){return ae(this,_,$,!1,H)};function pe(X,_,$,H,I){return I||V(X,_,$,8,17976931348623157e292,-17976931348623157e292),l.write(X,_,$,H,52,8),$+8}u.prototype.writeDoubleLE=function(_,$,H){return pe(this,_,$,!0,H)},u.prototype.writeDoubleBE=function(_,$,H){return pe(this,_,$,!1,H)},u.prototype.copy=function(_,$,H,I){if(H||(H=0),!I&&I!==0&&(I=this.length),$>=_.length&&($=_.length),$||($=0),I>0&&I<H&&(I=H),I===H||_.length===0||this.length===0)return 0;if($<0)throw new RangeError("targetStart out of bounds");if(H<0||H>=this.length)throw new RangeError("sourceStart out of bounds");if(I<0)throw new RangeError("sourceEnd out of bounds");I>this.length&&(I=this.length),_.length-$<I-H&&(I=_.length-$+H);var ve=I-H,$e;if(this===_&&H<$&&$<I)for($e=ve-1;$e>=0;--$e)_[$e+$]=this[$e+H];else if(ve<1e3||!u.TYPED_ARRAY_SUPPORT)for($e=0;$e<ve;++$e)_[$e+$]=this[$e+H];else Uint8Array.prototype.set.call(_,this.subarray(H,H+ve),$);return ve},u.prototype.fill=function(_,$,H,I){if(typeof _=="string"){if(typeof $=="string"?(I=$,$=0,H=this.length):typeof H=="string"&&(I=H,H=this.length),_.length===1){var ve=_.charCodeAt(0);ve<256&&(_=ve)}if(I!==void 0&&typeof I!="string")throw new TypeError("encoding must be a string");if(typeof I=="string"&&!u.isEncoding(I))throw new TypeError("Unknown encoding: "+I)}else typeof _=="number"&&(_=_&255);if($<0||this.length<$||this.length<H)throw new RangeError("Out of range index");if(H<=$)return this;$=$>>>0,H=H===void 0?this.length:H>>>0,_||(_=0);var $e;if(typeof _=="number")for($e=$;$e<H;++$e)this[$e]=_;else{var be=u.isBuffer(_)?_:_e(new u(_,I).toString()),Te=be.length;for($e=0;$e<H-$;++$e)this[$e+$]=be[$e%Te]}return this};var Se=/[^+\/0-9A-Za-z-_]/g;function De(X){if(X=nt(X).replace(Se,""),X.length<2)return"";for(;X.length%4!=0;)X=X+"=";return X}function nt(X){return X.trim?X.trim():X.replace(/^\s+|\s+$/g,"")}function Me(X){return X<16?"0"+X.toString(16):X.toString(16)}function _e(X,_){_=_||1/0;for(var $,H=X.length,I=null,ve=[],$e=0;$e<H;++$e){if($=X.charCodeAt($e),$>55295&&$<57344){if(!I){if($>56319){(_-=3)>-1&&ve.push(239,191,189);continue}else if($e+1===H){(_-=3)>-1&&ve.push(239,191,189);continue}I=$;continue}if($<56320){(_-=3)>-1&&ve.push(239,191,189),I=$;continue}$=(I-55296<<10|$-56320)+65536}else I&&(_-=3)>-1&&ve.push(239,191,189);if(I=null,$<128){if((_-=1)<0)break;ve.push($)}else if($<2048){if((_-=2)<0)break;ve.push($>>6|192,$&63|128)}else if($<65536){if((_-=3)<0)break;ve.push($>>12|224,$>>6&63|128,$&63|128)}else if($<1114112){if((_-=4)<0)break;ve.push($>>18|240,$>>12&63|128,$>>6&63|128,$&63|128)}else throw new Error("Invalid code point")}return ve}function j(X){for(var _=[],$=0;$<X.length;++$)_.push(X.charCodeAt($)&255);return _}function ue(X,_){for(var $,H,I,ve=[],$e=0;$e<X.length&&!((_-=2)<0);++$e)$=X.charCodeAt($e),H=$>>8,I=$%256,ve.push(I),ve.push(H);return ve}function Ce(X){return t.toByteArray(De(X))}function et(X,_,$,H){for(var I=0;I<H&&!(I+$>=_.length||I>=X.length);++I)_[I+$]=X[I];return I}function Pe(X){return X!==X}},74480:(L,n,e)=>{"use strict";var t=e.g.process&&process.nextTick||e.g.setImmediate||function(l){setTimeout(l,0)};L.exports=function(s,o){if(s){o.then(function(r){t(function(){s(null,r)})},function(r){t(function(){s(r)})});return}else return o}},71457:(L,n,e)=>{e(34553);var t=e(2649);L.exports=t("Array","findIndex")},84794:(L,n,e)=>{e(69826);var t=e(2649);L.exports=t("Array","find")},13462:(L,n,e)=>{e(26699);var t=e(2649);L.exports=t("Array","includes")},63662:(L,n,e)=>{e(51532),e(41539),e(78783),e(33948);var t=e(40857);L.exports=t.Map},47770:(L,n,e)=>{e(33161);var t=e(40857);L.exports=t.Number.isInteger},9116:(L,n,e)=>{e(19601);var t=e(40857);L.exports=t.Object.assign},85302:(L,n,e)=>{e(69720);var t=e(40857);L.exports=t.Object.entries},95272:(L,n,e)=>{e(43304);var t=e(40857);L.exports=t.Object.is},24667:(L,n,e)=>{e(26833);var t=e(40857);L.exports=t.Object.values},47633:(L,n,e)=>{e(9170),e(41539),e(88674),e(17922),e(34668),e(17727),e(78783),e(33948);var t=e(40857);L.exports=t.Promise},86020:(L,n,e)=>{e(27852);var t=e(2649);L.exports=t("String","endsWith")},95813:(L,n,e)=>{e(23157);var t=e(2649);L.exports=t("String","startsWith")},19266:(L,n,e)=>{e(92222),e(41539),e(82526),e(72443),e(41817),e(92401),e(8722),e(32165),e(69007),e(16066),e(83510),e(41840),e(6982),e(32159),e(96649),e(39341),e(60543),e(73706),e(10408),e(81299);var t=e(40857);L.exports=t.Symbol},13099:L=>{L.exports=function(n){if(typeof n!="function")throw TypeError(String(n)+" is not a function");return n}},96077:(L,n,e)=>{var t=e(70111);L.exports=function(l){if(!t(l)&&l!==null)throw TypeError("Can't set "+String(l)+" as a prototype");return l}},51223:(L,n,e)=>{var t=e(5112),l=e(70030),s=e(3070),o=t("unscopables"),r=Array.prototype;r[o]==null&&s.f(r,o,{configurable:!0,value:l(null)}),L.exports=function(c){r[o][c]=!0}},25787:L=>{L.exports=function(n,e,t){if(!(n instanceof e))throw TypeError("Incorrect "+(t?t+" ":"")+"invocation");return n}},19670:(L,n,e)=>{var t=e(70111);L.exports=function(l){if(!t(l))throw TypeError(String(l)+" is not an object");return l}},41318:(L,n,e)=>{var t=e(45656),l=e(17466),s=e(51400),o=function(r){return function(c,u,a){var d=t(c),h=l(d.length),p=s(a,h),E;if(r&&u!=u){for(;h>p;)if(E=d[p++],E!=E)return!0}else for(;h>p;p++)if((r||p in d)&&d[p]===u)return r||p||0;return!r&&-1}};L.exports={includes:o(!0),indexOf:o(!1)}},42092:(L,n,e)=>{var t=e(49974),l=e(68361),s=e(47908),o=e(17466),r=e(65417),c=[].push,u=function(a){var d=a==1,h=a==2,p=a==3,E=a==4,T=a==6,S=a==7,v=a==5||T;return function(b,m,y,O){for(var C=s(b),A=l(C),w=t(m,y,3),x=o(A.length),R=0,g=O||r,k=d?g(b,x):h||S?g(b,0):void 0,G,Z;x>R;R++)if((v||R in A)&&(G=A[R],Z=w(G,R,C),a))if(d)k[R]=Z;else if(Z)switch(a){case 3:return!0;case 5:return G;case 6:return R;case 2:c.call(k,G)}else switch(a){case 4:return!1;case 7:c.call(k,G)}return T?-1:p||E?E:k}};L.exports={forEach:u(0),map:u(1),filter:u(2),some:u(3),every:u(4),find:u(5),findIndex:u(6),filterOut:u(7)}},81194:(L,n,e)=>{var t=e(47293),l=e(5112),s=e(7392),o=l("species");L.exports=function(r){return s>=51||!t(function(){var c=[],u=c.constructor={};return u[o]=function(){return{foo:1}},c[r](Boolean).foo!==1})}},65417:(L,n,e)=>{var t=e(70111),l=e(43157),s=e(5112),o=s("species");L.exports=function(r,c){var u;return l(r)&&(u=r.constructor,typeof u=="function"&&(u===Array||l(u.prototype))?u=void 0:t(u)&&(u=u[o],u===null&&(u=void 0))),new(u===void 0?Array:u)(c===0?0:c)}},17072:(L,n,e)=>{var t=e(5112),l=t("iterator"),s=!1;try{var o=0,r={next:function(){return{done:!!o++}},return:function(){s=!0}};r[l]=function(){return this},Array.from(r,function(){throw 2})}catch(c){}L.exports=function(c,u){if(!u&&!s)return!1;var a=!1;try{var d={};d[l]=function(){return{next:function(){return{done:a=!0}}}},c(d)}catch(h){}return a}},84326:L=>{var n={}.toString;L.exports=function(e){return n.call(e).slice(8,-1)}},70648:(L,n,e)=>{var t=e(51694),l=e(84326),s=e(5112),o=s("toStringTag"),r=l(function(){return arguments}())=="Arguments",c=function(u,a){try{return u[a]}catch(d){}};L.exports=t?l:function(u){var a,d,h;return u===void 0?"Undefined":u===null?"Null":typeof(d=c(a=Object(u),o))=="string"?d:r?l(a):(h=l(a))=="Object"&&typeof a.callee=="function"?"Arguments":h}},95631:(L,n,e)=>{"use strict";var t=e(3070).f,l=e(70030),s=e(12248),o=e(49974),r=e(25787),c=e(20408),u=e(70654),a=e(96340),d=e(19781),h=e(62423).fastKey,p=e(29909),E=p.set,T=p.getterFor;L.exports={getConstructor:function(S,v,b,m){var y=S(function(w,x){r(w,y,v),E(w,{type:v,index:l(null),first:void 0,last:void 0,size:0}),d||(w.size=0),x!=null&&c(x,w[m],{that:w,AS_ENTRIES:b})}),O=T(v),C=function(w,x,R){var g=O(w),k=A(w,x),G,Z;return k?k.value=R:(g.last=k={index:Z=h(x,!0),key:x,value:R,previous:G=g.last,next:void 0,removed:!1},g.first||(g.first=k),G&&(G.next=k),d?g.size++:w.size++,Z!=="F"&&(g.index[Z]=k)),w},A=function(w,x){var R=O(w),g=h(x),k;if(g!=="F")return R.index[g];for(k=R.first;k;k=k.next)if(k.key==x)return k};return s(y.prototype,{clear:function(){for(var x=this,R=O(x),g=R.index,k=R.first;k;)k.removed=!0,k.previous&&(k.previous=k.previous.next=void 0),delete g[k.index],k=k.next;R.first=R.last=void 0,d?R.size=0:x.size=0},delete:function(w){var x=this,R=O(x),g=A(x,w);if(g){var k=g.next,G=g.previous;delete R.index[g.index],g.removed=!0,G&&(G.next=k),k&&(k.previous=G),R.first==g&&(R.first=k),R.last==g&&(R.last=G),d?R.size--:x.size--}return!!g},forEach:function(x){for(var R=O(this),g=o(x,arguments.length>1?arguments[1]:void 0,3),k;k=k?k.next:R.first;)for(g(k.value,k.key,this);k&&k.removed;)k=k.previous},has:function(x){return!!A(this,x)}}),s(y.prototype,b?{get:function(x){var R=A(this,x);return R&&R.value},set:function(x,R){return C(this,x===0?0:x,R)}}:{add:function(x){return C(this,x=x===0?0:x,x)}}),d&&t(y.prototype,"size",{get:function(){return O(this).size}}),y},setStrong:function(S,v,b){var m=v+" Iterator",y=T(v),O=T(m);u(S,v,function(C,A){E(this,{type:m,target:C,state:y(C),kind:A,last:void 0})},function(){for(var C=O(this),A=C.kind,w=C.last;w&&w.removed;)w=w.previous;return!C.target||!(C.last=w=w?w.next:C.state.first)?(C.target=void 0,{value:void 0,done:!0}):A=="keys"?{value:w.key,done:!1}:A=="values"?{value:w.value,done:!1}:{value:[w.key,w.value],done:!1}},b?"entries":"values",!b,!0),a(v)}}},77710:(L,n,e)=>{"use strict";var t=e(82109),l=e(17854),s=e(54705),o=e(31320),r=e(62423),c=e(20408),u=e(25787),a=e(70111),d=e(47293),h=e(17072),p=e(58003),E=e(79587);L.exports=function(T,S,v){var b=T.indexOf("Map")!==-1,m=T.indexOf("Weak")!==-1,y=b?"set":"add",O=l[T],C=O&&O.prototype,A=O,w={},x=function(ee){var Ee=C[ee];o(C,ee,ee=="add"?function(ce){return Ee.call(this,ce===0?0:ce),this}:ee=="delete"?function(Fe){return m&&!a(Fe)?!1:Ee.call(this,Fe===0?0:Fe)}:ee=="get"?function(ce){return m&&!a(ce)?void 0:Ee.call(this,ce===0?0:ce)}:ee=="has"?function(ce){return m&&!a(ce)?!1:Ee.call(this,ce===0?0:ce)}:function(ce,te){return Ee.call(this,ce===0?0:ce,te),this})},R=s(T,typeof O!="function"||!(m||C.forEach&&!d(function(){new O().entries().next()})));if(R)A=v.getConstructor(S,T,b,y),r.REQUIRED=!0;else if(s(T,!0)){var g=new A,k=g[y](m?{}:-0,1)!=g,G=d(function(){g.has(1)}),Z=h(function(ee){new O(ee)}),oe=!m&&d(function(){for(var ee=new O,Ee=5;Ee--;)ee[y](Ee,Ee);return!ee.has(-0)});Z||(A=S(function(ee,Ee){u(ee,A,T);var Fe=E(new O,ee,A);return Ee!=null&&c(Ee,Fe[y],{that:Fe,AS_ENTRIES:b}),Fe}),A.prototype=C,C.constructor=A),(G||oe)&&(x("delete"),x("has"),b&&x("get")),(oe||k)&&x(y),m&&C.clear&&delete C.clear}return w[T]=A,t({global:!0,forced:A!=O},w),p(A,T),m||v.setStrong(A,T,b),A}},99920:(L,n,e)=>{var t=e(86656),l=e(53887),s=e(31236),o=e(3070);L.exports=function(r,c){for(var u=l(c),a=o.f,d=s.f,h=0;h<u.length;h++){var p=u[h];t(r,p)||a(r,p,d(c,p))}}},84964:(L,n,e)=>{var t=e(5112),l=t("match");L.exports=function(s){var o=/./;try{"/./"[s](o)}catch(r){try{return o[l]=!1,"/./"[s](o)}catch(c){}}return!1}},49920:(L,n,e)=>{var t=e(47293);L.exports=!t(function(){function l(){}return l.prototype.constructor=null,Object.getPrototypeOf(new l)!==l.prototype})},24994:(L,n,e)=>{"use strict";var t=e(13383).IteratorPrototype,l=e(70030),s=e(79114),o=e(58003),r=e(97497),c=function(){return this};L.exports=function(u,a,d){var h=a+" Iterator";return u.prototype=l(t,{next:s(1,d)}),o(u,h,!1,!0),r[h]=c,u}},68880:(L,n,e)=>{var t=e(19781),l=e(3070),s=e(79114);L.exports=t?function(o,r,c){return l.f(o,r,s(1,c))}:function(o,r,c){return o[r]=c,o}},79114:L=>{L.exports=function(n,e){return{enumerable:!(n&1),configurable:!(n&2),writable:!(n&4),value:e}}},86135:(L,n,e)=>{"use strict";var t=e(57593),l=e(3070),s=e(79114);L.exports=function(o,r,c){var u=t(r);u in o?l.f(o,u,s(0,c)):o[u]=c}},70654:(L,n,e)=>{"use strict";var t=e(82109),l=e(24994),s=e(79518),o=e(27674),r=e(58003),c=e(68880),u=e(31320),a=e(5112),d=e(31913),h=e(97497),p=e(13383),E=p.IteratorPrototype,T=p.BUGGY_SAFARI_ITERATORS,S=a("iterator"),v="keys",b="values",m="entries",y=function(){return this};L.exports=function(O,C,A,w,x,R,g){l(A,C,w);var k=function(Q){if(Q===x&&Ee)return Ee;if(!T&&Q in oe)return oe[Q];switch(Q){case v:return function(){return new A(this,Q)};case b:return function(){return new A(this,Q)};case m:return function(){return new A(this,Q)}}return function(){return new A(this)}},G=C+" Iterator",Z=!1,oe=O.prototype,ee=oe[S]||oe["@@iterator"]||x&&oe[x],Ee=!T&&ee||k(x),Fe=C=="Array"&&oe.entries||ee,ce,te,he;if(Fe&&(ce=s(Fe.call(new O)),E!==Object.prototype&&ce.next&&(!d&&s(ce)!==E&&(o?o(ce,E):typeof ce[S]!="function"&&c(ce,S,y)),r(ce,G,!0,!0),d&&(h[G]=y))),x==b&&ee&&ee.name!==b&&(Z=!0,Ee=function(){return ee.call(this)}),(!d||g)&&oe[S]!==Ee&&c(oe,S,Ee),h[C]=Ee,x)if(te={values:k(b),keys:R?Ee:k(v),entries:k(m)},g)for(he in te)(T||Z||!(he in oe))&&u(oe,he,te[he]);else t({target:C,proto:!0,forced:T||Z},te);return te}},97235:(L,n,e)=>{var t=e(40857),l=e(86656),s=e(6061),o=e(3070).f;L.exports=function(r){var c=t.Symbol||(t.Symbol={});l(c,r)||o(c,r,{value:s.f(r)})}},19781:(L,n,e)=>{var t=e(47293);L.exports=!t(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})},80317:(L,n,e)=>{var t=e(17854),l=e(70111),s=t.document,o=l(s)&&l(s.createElement);L.exports=function(r){return o?s.createElement(r):{}}},48324:L=>{L.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},7871:L=>{L.exports=typeof window=="object"},6833:(L,n,e)=>{var t=e(88113);L.exports=/(?:iphone|ipod|ipad).*applewebkit/i.test(t)},35268:(L,n,e)=>{var t=e(84326),l=e(17854);L.exports=t(l.process)=="process"},71036:(L,n,e)=>{var t=e(88113);L.exports=/web0s(?!.*chrome)/i.test(t)},88113:(L,n,e)=>{var t=e(35005);L.exports=t("navigator","userAgent")||""},7392:(L,n,e)=>{var t=e(17854),l=e(88113),s=t.process,o=s&&s.versions,r=o&&o.v8,c,u;r?(c=r.split("."),u=c[0]<4?1:c[0]+c[1]):l&&(c=l.match(/Edge\/(\d+)/),(!c||c[1]>=74)&&(c=l.match(/Chrome\/(\d+)/),c&&(u=c[1]))),L.exports=u&&+u},2649:(L,n,e)=>{var t=e(17854),l=e(49974),s=Function.call;L.exports=function(o,r,c){return l(s,t[o].prototype[r],c)}},80748:L=>{L.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},82109:(L,n,e)=>{var t=e(17854),l=e(31236).f,s=e(68880),o=e(31320),r=e(83505),c=e(99920),u=e(54705);L.exports=function(a,d){var h=a.target,p=a.global,E=a.stat,T,S,v,b,m,y;if(p?S=t:E?S=t[h]||r(h,{}):S=(t[h]||{}).prototype,S)for(v in d){if(m=d[v],a.noTargetGet?(y=l(S,v),b=y&&y.value):b=S[v],T=u(p?v:h+(E?".":"#")+v,a.forced),!T&&b!==void 0){if(typeof m==typeof b)continue;c(m,b)}(a.sham||b&&b.sham)&&s(m,"sham",!0),o(S,v,m,a)}}},47293:L=>{L.exports=function(n){try{return!!n()}catch(e){return!0}}},76677:(L,n,e)=>{var t=e(47293);L.exports=!t(function(){return Object.isExtensible(Object.preventExtensions({}))})},49974:(L,n,e)=>{var t=e(13099);L.exports=function(l,s,o){if(t(l),s===void 0)return l;switch(o){case 0:return function(){return l.call(s)};case 1:return function(r){return l.call(s,r)};case 2:return function(r,c){return l.call(s,r,c)};case 3:return function(r,c,u){return l.call(s,r,c,u)}}return function(){return l.apply(s,arguments)}}},35005:(L,n,e)=>{var t=e(40857),l=e(17854),s=function(o){return typeof o=="function"?o:void 0};L.exports=function(o,r){return arguments.length<2?s(t[o])||s(l[o]):t[o]&&t[o][r]||l[o]&&l[o][r]}},71246:(L,n,e)=>{var t=e(70648),l=e(97497),s=e(5112),o=s("iterator");L.exports=function(r){if(r!=null)return r[o]||r["@@iterator"]||l[t(r)]}},17854:(L,n,e)=>{var t=function(l){return l&&l.Math==Math&&l};L.exports=t(typeof globalThis=="object"&&globalThis)||t(typeof window=="object"&&window)||t(typeof self=="object"&&self)||t(typeof e.g=="object"&&e.g)||function(){return this}()||Function("return this")()},86656:(L,n,e)=>{var t=e(47908),l={}.hasOwnProperty;L.exports=Object.hasOwn||function(o,r){return l.call(t(o),r)}},3501:L=>{L.exports={}},842:(L,n,e)=>{var t=e(17854);L.exports=function(l,s){var o=t.console;o&&o.error&&(arguments.length===1?o.error(l):o.error(l,s))}},60490:(L,n,e)=>{var t=e(35005);L.exports=t("document","documentElement")},64664:(L,n,e)=>{var t=e(19781),l=e(47293),s=e(80317);L.exports=!t&&!l(function(){return Object.defineProperty(s("div"),"a",{get:function(){return 7}}).a!=7})},68361:(L,n,e)=>{var t=e(47293),l=e(84326),s="".split;L.exports=t(function(){return!Object("z").propertyIsEnumerable(0)})?function(o){return l(o)=="String"?s.call(o,""):Object(o)}:Object},79587:(L,n,e)=>{var t=e(70111),l=e(27674);L.exports=function(s,o,r){var c,u;return l&&typeof(c=o.constructor)=="function"&&c!==r&&t(u=c.prototype)&&u!==r.prototype&&l(s,u),s}},42788:(L,n,e)=>{var t=e(5465),l=Function.toString;typeof t.inspectSource!="function"&&(t.inspectSource=function(s){return l.call(s)}),L.exports=t.inspectSource},62423:(L,n,e)=>{var t=e(3501),l=e(70111),s=e(86656),o=e(3070).f,r=e(69711),c=e(76677),u=r("meta"),a=0,d=Object.isExtensible||function(){return!0},h=function(v){o(v,u,{value:{objectID:"O"+ ++a,weakData:{}}})},p=function(v,b){if(!l(v))return typeof v=="symbol"?v:(typeof v=="string"?"S":"P")+v;if(!s(v,u)){if(!d(v))return"F";if(!b)return"E";h(v)}return v[u].objectID},E=function(v,b){if(!s(v,u)){if(!d(v))return!0;if(!b)return!1;h(v)}return v[u].weakData},T=function(v){return c&&S.REQUIRED&&d(v)&&!s(v,u)&&h(v),v},S=L.exports={REQUIRED:!1,fastKey:p,getWeakData:E,onFreeze:T};t[u]=!0},29909:(L,n,e)=>{var t=e(68536),l=e(17854),s=e(70111),o=e(68880),r=e(86656),c=e(5465),u=e(6200),a=e(3501),d="Object already initialized",h=l.WeakMap,p,E,T,S=function(A){return T(A)?E(A):p(A,{})},v=function(A){return function(w){var x;if(!s(w)||(x=E(w)).type!==A)throw TypeError("Incompatible receiver, "+A+" required");return x}};if(t||c.state){var b=c.state||(c.state=new h),m=b.get,y=b.has,O=b.set;p=function(A,w){if(y.call(b,A))throw new TypeError(d);return w.facade=A,O.call(b,A,w),w},E=function(A){return m.call(b,A)||{}},T=function(A){return y.call(b,A)}}else{var C=u("state");a[C]=!0,p=function(A,w){if(r(A,C))throw new TypeError(d);return w.facade=A,o(A,C,w),w},E=function(A){return r(A,C)?A[C]:{}},T=function(A){return r(A,C)}}L.exports={set:p,get:E,has:T,enforce:S,getterFor:v}},97659:(L,n,e)=>{var t=e(5112),l=e(97497),s=t("iterator"),o=Array.prototype;L.exports=function(r){return r!==void 0&&(l.Array===r||o[s]===r)}},43157:(L,n,e)=>{var t=e(84326);L.exports=Array.isArray||function(s){return t(s)=="Array"}},54705:(L,n,e)=>{var t=e(47293),l=/#|\.prototype\./,s=function(a,d){var h=r[o(a)];return h==u?!0:h==c?!1:typeof d=="function"?t(d):!!d},o=s.normalize=function(a){return String(a).replace(l,".").toLowerCase()},r=s.data={},c=s.NATIVE="N",u=s.POLYFILL="P";L.exports=s},18730:(L,n,e)=>{var t=e(70111),l=Math.floor;L.exports=function(o){return!t(o)&&isFinite(o)&&l(o)===o}},70111:L=>{L.exports=function(n){return typeof n=="object"?n!==null:typeof n=="function"}},31913:L=>{L.exports=!1},47850:(L,n,e)=>{var t=e(70111),l=e(84326),s=e(5112),o=s("match");L.exports=function(r){var c;return t(r)&&((c=r[o])!==void 0?!!c:l(r)=="RegExp")}},20408:(L,n,e)=>{var t=e(19670),l=e(97659),s=e(17466),o=e(49974),r=e(71246),c=e(99212),u=function(a,d){this.stopped=a,this.result=d};L.exports=function(a,d,h){var p=h&&h.that,E=!!(h&&h.AS_ENTRIES),T=!!(h&&h.IS_ITERATOR),S=!!(h&&h.INTERRUPTED),v=o(d,p,1+E+S),b,m,y,O,C,A,w,x=function(g){return b&&c(b),new u(!0,g)},R=function(g){return E?(t(g),S?v(g[0],g[1],x):v(g[0],g[1])):S?v(g,x):v(g)};if(T)b=a;else{if(m=r(a),typeof m!="function")throw TypeError("Target is not iterable");if(l(m)){for(y=0,O=s(a.length);O>y;y++)if(C=R(a[y]),C&&C instanceof u)return C;return new u(!1)}b=m.call(a)}for(A=b.next;!(w=A.call(b)).done;){try{C=R(w.value)}catch(g){throw c(b),g}if(typeof C=="object"&&C&&C instanceof u)return C}return new u(!1)}},99212:(L,n,e)=>{var t=e(19670);L.exports=function(l){var s=l.return;if(s!==void 0)return t(s.call(l)).value}},13383:(L,n,e)=>{"use strict";var t=e(47293),l=e(79518),s=e(68880),o=e(86656),r=e(5112),c=e(31913),u=r("iterator"),a=!1,d=function(){return this},h,p,E;[].keys&&(E=[].keys(),"next"in E?(p=l(l(E)),p!==Object.prototype&&(h=p)):a=!0);var T=h==null||t(function(){var S={};return h[u].call(S)!==S});T&&(h={}),(!c||T)&&!o(h,u)&&s(h,u,d),L.exports={IteratorPrototype:h,BUGGY_SAFARI_ITERATORS:a}},97497:L=>{L.exports={}},95948:(L,n,e)=>{var t=e(17854),l=e(31236).f,s=e(20261).set,o=e(6833),r=e(71036),c=e(35268),u=t.MutationObserver||t.WebKitMutationObserver,a=t.document,d=t.process,h=t.Promise,p=l(t,"queueMicrotask"),E=p&&p.value,T,S,v,b,m,y,O,C;E||(T=function(){var A,w;for(c&&(A=d.domain)&&A.exit();S;){w=S.fn,S=S.next;try{w()}catch(x){throw S?b():v=void 0,x}}v=void 0,A&&A.enter()},!o&&!c&&!r&&u&&a?(m=!0,y=a.createTextNode(""),new u(T).observe(y,{characterData:!0}),b=function(){y.data=m=!m}):h&&h.resolve?(O=h.resolve(void 0),O.constructor=h,C=O.then,b=function(){C.call(O,T)}):c?b=function(){d.nextTick(T)}:b=function(){s.call(t,T)}),L.exports=E||function(A){var w={fn:A,next:void 0};v&&(v.next=w),S||(S=w,b()),v=w}},13366:(L,n,e)=>{var t=e(17854);L.exports=t.Promise},30133:(L,n,e)=>{var t=e(7392),l=e(47293);L.exports=!!Object.getOwnPropertySymbols&&!l(function(){var s=Symbol();return!String(s)||!(Object(s)instanceof Symbol)||!Symbol.sham&&t&&t<41})},68536:(L,n,e)=>{var t=e(17854),l=e(42788),s=t.WeakMap;L.exports=typeof s=="function"&&/native code/.test(l(s))},78523:(L,n,e)=>{"use strict";var t=e(13099),l=function(s){var o,r;this.promise=new s(function(c,u){if(o!==void 0||r!==void 0)throw TypeError("Bad Promise constructor");o=c,r=u}),this.resolve=t(o),this.reject=t(r)};L.exports.f=function(s){return new l(s)}},3929:(L,n,e)=>{var t=e(47850);L.exports=function(l){if(t(l))throw TypeError("The method doesn't accept regular expressions");return l}},21574:(L,n,e)=>{"use strict";var t=e(19781),l=e(47293),s=e(81956),o=e(25181),r=e(55296),c=e(47908),u=e(68361),a=Object.assign,d=Object.defineProperty;L.exports=!a||l(function(){if(t&&a({b:1},a(d({},"a",{enumerable:!0,get:function(){d(this,"b",{value:3,enumerable:!1})}}),{b:2})).b!==1)return!0;var h={},p={},E=Symbol(),T="abcdefghijklmnopqrst";return h[E]=7,T.split("").forEach(function(S){p[S]=S}),a({},h)[E]!=7||s(a({},p)).join("")!=T})?function(p,E){for(var T=c(p),S=arguments.length,v=1,b=o.f,m=r.f;S>v;)for(var y=u(arguments[v++]),O=b?s(y).concat(b(y)):s(y),C=O.length,A=0,w;C>A;)w=O[A++],(!t||m.call(y,w))&&(T[w]=y[w]);return T}:a},70030:(L,n,e)=>{var t=e(19670),l=e(36048),s=e(80748),o=e(3501),r=e(60490),c=e(80317),u=e(6200),a=">",d="<",h="prototype",p="script",E=u("IE_PROTO"),T=function(){},S=function(O){return d+p+a+O+d+"/"+p+a},v=function(O){O.write(S("")),O.close();var C=O.parentWindow.Object;return O=null,C},b=function(){var O=c("iframe"),C="java"+p+":",A;return O.style.display="none",r.appendChild(O),O.src=String(C),A=O.contentWindow.document,A.open(),A.write(S("document.F=Object")),A.close(),A.F},m,y=function(){try{m=document.domain&&new ActiveXObject("htmlfile")}catch(C){}y=m?v(m):b();for(var O=s.length;O--;)delete y[h][s[O]];return y()};o[E]=!0,L.exports=Object.create||function(C,A){var w;return C!==null?(T[h]=t(C),w=new T,T[h]=null,w[E]=C):w=y(),A===void 0?w:l(w,A)}},36048:(L,n,e)=>{var t=e(19781),l=e(3070),s=e(19670),o=e(81956);L.exports=t?Object.defineProperties:function(c,u){s(c);for(var a=o(u),d=a.length,h=0,p;d>h;)l.f(c,p=a[h++],u[p]);return c}},3070:(L,n,e)=>{var t=e(19781),l=e(64664),s=e(19670),o=e(57593),r=Object.defineProperty;n.f=t?r:function(u,a,d){if(s(u),a=o(a,!0),s(d),l)try{return r(u,a,d)}catch(h){}if("get"in d||"set"in d)throw TypeError("Accessors not supported");return"value"in d&&(u[a]=d.value),u}},31236:(L,n,e)=>{var t=e(19781),l=e(55296),s=e(79114),o=e(45656),r=e(57593),c=e(86656),u=e(64664),a=Object.getOwnPropertyDescriptor;n.f=t?a:function(h,p){if(h=o(h),p=r(p,!0),u)try{return a(h,p)}catch(E){}if(c(h,p))return s(!l.f.call(h,p),h[p])}},1156:(L,n,e)=>{var t=e(45656),l=e(8006).f,s={}.toString,o=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],r=function(c){try{return l(c)}catch(u){return o.slice()}};L.exports.f=function(u){return o&&s.call(u)=="[object Window]"?r(u):l(t(u))}},8006:(L,n,e)=>{var t=e(16324),l=e(80748),s=l.concat("length","prototype");n.f=Object.getOwnPropertyNames||function(r){return t(r,s)}},25181:(L,n)=>{n.f=Object.getOwnPropertySymbols},79518:(L,n,e)=>{var t=e(86656),l=e(47908),s=e(6200),o=e(49920),r=s("IE_PROTO"),c=Object.prototype;L.exports=o?Object.getPrototypeOf:function(u){return u=l(u),t(u,r)?u[r]:typeof u.constructor=="function"&&u instanceof u.constructor?u.constructor.prototype:u instanceof Object?c:null}},16324:(L,n,e)=>{var t=e(86656),l=e(45656),s=e(41318).indexOf,o=e(3501);L.exports=function(r,c){var u=l(r),a=0,d=[],h;for(h in u)!t(o,h)&&t(u,h)&&d.push(h);for(;c.length>a;)t(u,h=c[a++])&&(~s(d,h)||d.push(h));return d}},81956:(L,n,e)=>{var t=e(16324),l=e(80748);L.exports=Object.keys||function(o){return t(o,l)}},55296:(L,n)=>{"use strict";var e={}.propertyIsEnumerable,t=Object.getOwnPropertyDescriptor,l=t&&!e.call({1:2},1);n.f=l?function(o){var r=t(this,o);return!!r&&r.enumerable}:e},27674:(L,n,e)=>{var t=e(19670),l=e(96077);L.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var s=!1,o={},r;try{r=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set,r.call(o,[]),s=o instanceof Array}catch(c){}return function(u,a){return t(u),l(a),s?r.call(u,a):u.__proto__=a,u}}():void 0)},44699:(L,n,e)=>{var t=e(19781),l=e(81956),s=e(45656),o=e(55296).f,r=function(c){return function(u){for(var a=s(u),d=l(a),h=d.length,p=0,E=[],T;h>p;)T=d[p++],(!t||o.call(a,T))&&E.push(c?[T,a[T]]:a[T]);return E}};L.exports={entries:r(!0),values:r(!1)}},90288:(L,n,e)=>{"use strict";var t=e(51694),l=e(70648);L.exports=t?{}.toString:function(){return"[object "+l(this)+"]"}},53887:(L,n,e)=>{var t=e(35005),l=e(8006),s=e(25181),o=e(19670);L.exports=t("Reflect","ownKeys")||function(c){var u=l.f(o(c)),a=s.f;return a?u.concat(a(c)):u}},40857:(L,n,e)=>{var t=e(17854);L.exports=t},12534:L=>{L.exports=function(n){try{return{error:!1,value:n()}}catch(e){return{error:!0,value:e}}}},69478:(L,n,e)=>{var t=e(19670),l=e(70111),s=e(78523);L.exports=function(o,r){if(t(o),l(r)&&r.constructor===o)return r;var c=s.f(o),u=c.resolve;return u(r),c.promise}},12248:(L,n,e)=>{var t=e(31320);L.exports=function(l,s,o){for(var r in s)t(l,r,s[r],o);return l}},31320:(L,n,e)=>{var t=e(17854),l=e(68880),s=e(86656),o=e(83505),r=e(42788),c=e(29909),u=c.get,a=c.enforce,d=String(String).split("String");(L.exports=function(h,p,E,T){var S=T?!!T.unsafe:!1,v=T?!!T.enumerable:!1,b=T?!!T.noTargetGet:!1,m;if(typeof E=="function"&&(typeof p=="string"&&!s(E,"name")&&l(E,"name",p),m=a(E),m.source||(m.source=d.join(typeof p=="string"?p:""))),h===t){v?h[p]=E:o(p,E);return}else S?!b&&h[p]&&(v=!0):delete h[p];v?h[p]=E:l(h,p,E)})(Function.prototype,"toString",function(){return typeof this=="function"&&u(this).source||r(this)})},84488:L=>{L.exports=function(n){if(n==null)throw TypeError("Can't call method on "+n);return n}},81150:L=>{L.exports=Object.is||function(e,t){return e===t?e!==0||1/e==1/t:e!=e&&t!=t}},83505:(L,n,e)=>{var t=e(17854),l=e(68880);L.exports=function(s,o){try{l(t,s,o)}catch(r){t[s]=o}return o}},96340:(L,n,e)=>{"use strict";var t=e(35005),l=e(3070),s=e(5112),o=e(19781),r=s("species");L.exports=function(c){var u=t(c),a=l.f;o&&u&&!u[r]&&a(u,r,{configurable:!0,get:function(){return this}})}},58003:(L,n,e)=>{var t=e(3070).f,l=e(86656),s=e(5112),o=s("toStringTag");L.exports=function(r,c,u){r&&!l(r=u?r:r.prototype,o)&&t(r,o,{configurable:!0,value:c})}},6200:(L,n,e)=>{var t=e(72309),l=e(69711),s=t("keys");L.exports=function(o){return s[o]||(s[o]=l(o))}},5465:(L,n,e)=>{var t=e(17854),l=e(83505),s="__core-js_shared__",o=t[s]||l(s,{});L.exports=o},72309:(L,n,e)=>{var t=e(31913),l=e(5465);(L.exports=function(s,o){return l[s]||(l[s]=o!==void 0?o:{})})("versions",[]).push({version:"3.14.0",mode:t?"pure":"global",copyright:"\xA9 2021 Denis Pushkarev (zloirock.ru)"})},36707:(L,n,e)=>{var t=e(19670),l=e(13099),s=e(5112),o=s("species");L.exports=function(r,c){var u=t(r).constructor,a;return u===void 0||(a=t(u)[o])==null?c:l(a)}},28710:(L,n,e)=>{var t=e(99958),l=e(84488),s=function(o){return function(r,c){var u=String(l(r)),a=t(c),d=u.length,h,p;return a<0||a>=d?o?"":void 0:(h=u.charCodeAt(a),h<55296||h>56319||a+1===d||(p=u.charCodeAt(a+1))<56320||p>57343?o?u.charAt(a):h:o?u.slice(a,a+2):(h-55296<<10)+(p-56320)+65536)}};L.exports={codeAt:s(!1),charAt:s(!0)}},20261:(L,n,e)=>{var t=e(17854),l=e(47293),s=e(49974),o=e(60490),r=e(80317),c=e(6833),u=e(35268),a=t.location,d=t.setImmediate,h=t.clearImmediate,p=t.process,E=t.MessageChannel,T=t.Dispatch,S=0,v={},b="onreadystatechange",m,y,O,C=function(R){if(v.hasOwnProperty(R)){var g=v[R];delete v[R],g()}},A=function(R){return function(){C(R)}},w=function(R){C(R.data)},x=function(R){t.postMessage(R+"",a.protocol+"//"+a.host)};(!d||!h)&&(d=function(g){for(var k=[],G=1;arguments.length>G;)k.push(arguments[G++]);return v[++S]=function(){(typeof g=="function"?g:Function(g)).apply(void 0,k)},m(S),S},h=function(g){delete v[g]},u?m=function(R){p.nextTick(A(R))}:T&&T.now?m=function(R){T.now(A(R))}:E&&!c?(y=new E,O=y.port2,y.port1.onmessage=w,m=s(O.postMessage,O,1)):t.addEventListener&&typeof postMessage=="function"&&!t.importScripts&&a&&a.protocol!=="file:"&&!l(x)?(m=x,t.addEventListener("message",w,!1)):b in r("script")?m=function(R){o.appendChild(r("script"))[b]=function(){o.removeChild(this),C(R)}}:m=function(R){setTimeout(A(R),0)}),L.exports={set:d,clear:h}},51400:(L,n,e)=>{var t=e(99958),l=Math.max,s=Math.min;L.exports=function(o,r){var c=t(o);return c<0?l(c+r,0):s(c,r)}},45656:(L,n,e)=>{var t=e(68361),l=e(84488);L.exports=function(s){return t(l(s))}},99958:L=>{var n=Math.ceil,e=Math.floor;L.exports=function(t){return isNaN(t=+t)?0:(t>0?e:n)(t)}},17466:(L,n,e)=>{var t=e(99958),l=Math.min;L.exports=function(s){return s>0?l(t(s),9007199254740991):0}},47908:(L,n,e)=>{var t=e(84488);L.exports=function(l){return Object(t(l))}},57593:(L,n,e)=>{var t=e(70111);L.exports=function(l,s){if(!t(l))return l;var o,r;if(s&&typeof(o=l.toString)=="function"&&!t(r=o.call(l))||typeof(o=l.valueOf)=="function"&&!t(r=o.call(l))||!s&&typeof(o=l.toString)=="function"&&!t(r=o.call(l)))return r;throw TypeError("Can't convert object to primitive value")}},51694:(L,n,e)=>{var t=e(5112),l=t("toStringTag"),s={};s[l]="z",L.exports=String(s)==="[object z]"},69711:L=>{var n=0,e=Math.random();L.exports=function(t){return"Symbol("+String(t===void 0?"":t)+")_"+(++n+e).toString(36)}},43307:(L,n,e)=>{var t=e(30133);L.exports=t&&!Symbol.sham&&typeof Symbol.iterator=="symbol"},6061:(L,n,e)=>{var t=e(5112);n.f=t},5112:(L,n,e)=>{var t=e(17854),l=e(72309),s=e(86656),o=e(69711),r=e(30133),c=e(43307),u=l("wks"),a=t.Symbol,d=c?a:a&&a.withoutSetter||o;L.exports=function(h){return(!s(u,h)||!(r||typeof u[h]=="string"))&&(r&&s(a,h)?u[h]=a[h]:u[h]=d("Symbol."+h)),u[h]}},9170:(L,n,e)=>{"use strict";var t=e(82109),l=e(79518),s=e(27674),o=e(70030),r=e(68880),c=e(79114),u=e(20408),a=function(h,p){var E=this;if(!(E instanceof a))return new a(h,p);s&&(E=s(new Error(void 0),l(E))),p!==void 0&&r(E,"message",String(p));var T=[];return u(h,T.push,{that:T}),r(E,"errors",T),E};a.prototype=o(Error.prototype,{constructor:c(5,a),message:c(5,""),name:c(5,"AggregateError")}),t({global:!0},{AggregateError:a})},92222:(L,n,e)=>{"use strict";var t=e(82109),l=e(47293),s=e(43157),o=e(70111),r=e(47908),c=e(17466),u=e(86135),a=e(65417),d=e(81194),h=e(5112),p=e(7392),E=h("isConcatSpreadable"),T=9007199254740991,S="Maximum allowed index exceeded",v=p>=51||!l(function(){var O=[];return O[E]=!1,O.concat()[0]!==O}),b=d("concat"),m=function(O){if(!o(O))return!1;var C=O[E];return C!==void 0?!!C:s(O)},y=!v||!b;t({target:"Array",proto:!0,forced:y},{concat:function(C){var A=r(this),w=a(A,0),x=0,R,g,k,G,Z;for(R=-1,k=arguments.length;R<k;R++)if(Z=R===-1?A:arguments[R],m(Z)){if(G=c(Z.length),x+G>T)throw TypeError(S);for(g=0;g<G;g++,x++)g in Z&&u(w,x,Z[g])}else{if(x>=T)throw TypeError(S);u(w,x++,Z)}return w.length=x,w}})},34553:(L,n,e)=>{"use strict";var t=e(82109),l=e(42092).findIndex,s=e(51223),o="findIndex",r=!0;o in[]&&Array(1)[o](function(){r=!1}),t({target:"Array",proto:!0,forced:r},{findIndex:function(u){return l(this,u,arguments.length>1?arguments[1]:void 0)}}),s(o)},69826:(L,n,e)=>{"use strict";var t=e(82109),l=e(42092).find,s=e(51223),o="find",r=!0;o in[]&&Array(1)[o](function(){r=!1}),t({target:"Array",proto:!0,forced:r},{find:function(u){return l(this,u,arguments.length>1?arguments[1]:void 0)}}),s(o)},26699:(L,n,e)=>{"use strict";var t=e(82109),l=e(41318).includes,s=e(51223);t({target:"Array",proto:!0},{includes:function(r){return l(this,r,arguments.length>1?arguments[1]:void 0)}}),s("includes")},66992:(L,n,e)=>{"use strict";var t=e(45656),l=e(51223),s=e(97497),o=e(29909),r=e(70654),c="Array Iterator",u=o.set,a=o.getterFor(c);L.exports=r(Array,"Array",function(d,h){u(this,{type:c,target:t(d),index:0,kind:h})},function(){var d=a(this),h=d.target,p=d.kind,E=d.index++;return!h||E>=h.length?(d.target=void 0,{value:void 0,done:!0}):p=="keys"?{value:E,done:!1}:p=="values"?{value:h[E],done:!1}:{value:[E,h[E]],done:!1}},"values"),s.Arguments=s.Array,l("keys"),l("values"),l("entries")},73706:(L,n,e)=>{var t=e(17854),l=e(58003);l(t.JSON,"JSON",!0)},51532:(L,n,e)=>{"use strict";var t=e(77710),l=e(95631);L.exports=t("Map",function(s){return function(){return s(this,arguments.length?arguments[0]:void 0)}},l)},10408:(L,n,e)=>{var t=e(58003);t(Math,"Math",!0)},33161:(L,n,e)=>{var t=e(82109),l=e(18730);t({target:"Number",stat:!0},{isInteger:l})},19601:(L,n,e)=>{var t=e(82109),l=e(21574);t({target:"Object",stat:!0,forced:Object.assign!==l},{assign:l})},69720:(L,n,e)=>{var t=e(82109),l=e(44699).entries;t({target:"Object",stat:!0},{entries:function(o){return l(o)}})},43304:(L,n,e)=>{var t=e(82109),l=e(81150);t({target:"Object",stat:!0},{is:l})},41539:(L,n,e)=>{var t=e(51694),l=e(31320),s=e(90288);t||l(Object.prototype,"toString",s,{unsafe:!0})},26833:(L,n,e)=>{var t=e(82109),l=e(44699).values;t({target:"Object",stat:!0},{values:function(o){return l(o)}})},17922:(L,n,e)=>{"use strict";var t=e(82109),l=e(13099),s=e(78523),o=e(12534),r=e(20408);t({target:"Promise",stat:!0},{allSettled:function(u){var a=this,d=s.f(a),h=d.resolve,p=d.reject,E=o(function(){var T=l(a.resolve),S=[],v=0,b=1;r(u,function(m){var y=v++,O=!1;S.push(void 0),b++,T.call(a,m).then(function(C){O||(O=!0,S[y]={status:"fulfilled",value:C},--b||h(S))},function(C){O||(O=!0,S[y]={status:"rejected",reason:C},--b||h(S))})}),--b||h(S)});return E.error&&p(E.value),d.promise}})},34668:(L,n,e)=>{"use strict";var t=e(82109),l=e(13099),s=e(35005),o=e(78523),r=e(12534),c=e(20408),u="No one promise resolved";t({target:"Promise",stat:!0},{any:function(d){var h=this,p=o.f(h),E=p.resolve,T=p.reject,S=r(function(){var v=l(h.resolve),b=[],m=0,y=1,O=!1;c(d,function(C){var A=m++,w=!1;b.push(void 0),y++,v.call(h,C).then(function(x){w||O||(O=!0,E(x))},function(x){w||O||(w=!0,b[A]=x,--y||T(new(s("AggregateError"))(b,u)))})}),--y||T(new(s("AggregateError"))(b,u))});return S.error&&T(S.value),p.promise}})},17727:(L,n,e)=>{"use strict";var t=e(82109),l=e(31913),s=e(13366),o=e(47293),r=e(35005),c=e(36707),u=e(69478),a=e(31320),d=!!s&&o(function(){s.prototype.finally.call({then:function(){}},function(){})});if(t({target:"Promise",proto:!0,real:!0,forced:d},{finally:function(p){var E=c(this,r("Promise")),T=typeof p=="function";return this.then(T?function(S){return u(E,p()).then(function(){return S})}:p,T?function(S){return u(E,p()).then(function(){throw S})}:p)}}),!l&&typeof s=="function"){var h=r("Promise").prototype.finally;s.prototype.finally!==h&&a(s.prototype,"finally",h,{unsafe:!0})}},88674:(L,n,e)=>{"use strict";var t=e(82109),l=e(31913),s=e(17854),o=e(35005),r=e(13366),c=e(31320),u=e(12248),a=e(27674),d=e(58003),h=e(96340),p=e(70111),E=e(13099),T=e(25787),S=e(42788),v=e(20408),b=e(17072),m=e(36707),y=e(20261).set,O=e(95948),C=e(69478),A=e(842),w=e(78523),x=e(12534),R=e(29909),g=e(54705),k=e(5112),G=e(7871),Z=e(35268),oe=e(7392),ee=k("species"),Ee="Promise",Fe=R.get,ce=R.set,te=R.getterFor(Ee),he=r&&r.prototype,Q=r,B=he,J=s.TypeError,re=s.document,W=s.process,V=w.f,ae=V,pe=!!(re&&re.createEvent&&s.dispatchEvent),Se=typeof PromiseRejectionEvent=="function",De="unhandledrejection",nt="rejectionhandled",Me=0,_e=1,j=2,ue=1,Ce=2,et=!1,Pe,X,_,$,H=g(Ee,function(){var q=S(Q)!==String(Q);if(!q&&oe===66||l&&!B.finally)return!0;if(oe>=51&&/native code/.test(Q))return!1;var ne=new Q(function(we){we(1)}),ie=function(we){we(function(){},function(){})},K=ne.constructor={};return K[ee]=ie,et=ne.then(function(){})instanceof ie,et?!q&&G&&!Se:!0}),I=H||!b(function(q){Q.all(q).catch(function(){})}),ve=function(q){var ne;return p(q)&&typeof(ne=q.then)=="function"?ne:!1},$e=function(q,ne){if(!q.notified){q.notified=!0;var ie=q.reactions;O(function(){for(var K=q.value,we=q.state==_e,He=0;ie.length>He;){var Je=ie[He++],ft=we?Je.ok:Je.fail,At=Je.resolve,Lt=Je.reject,Yt=Je.domain,Vt,ze,dt;try{ft?(we||(q.rejection===Ce&&ke(q),q.rejection=ue),ft===!0?Vt=K:(Yt&&Yt.enter(),Vt=ft(K),Yt&&(Yt.exit(),dt=!0)),Vt===Je.promise?Lt(J("Promise-chain cycle")):(ze=ve(Vt))?ze.call(Vt,At,Lt):At(Vt)):Lt(K)}catch(bt){Yt&&!dt&&Yt.exit(),Lt(bt)}}q.reactions=[],q.notified=!1,ne&&!q.rejection&&Te(q)})}},be=function(q,ne,ie){var K,we;pe?(K=re.createEvent("Event"),K.promise=ne,K.reason=ie,K.initEvent(q,!1,!0),s.dispatchEvent(K)):K={promise:ne,reason:ie},!Se&&(we=s["on"+q])?we(K):q===De&&A("Unhandled promise rejection",ie)},Te=function(q){y.call(s,function(){var ne=q.facade,ie=q.value,K=Le(q),we;if(K&&(we=x(function(){Z?W.emit("unhandledRejection",ie,ne):be(De,ne,ie)}),q.rejection=Z||Le(q)?Ce:ue,we.error))throw we.value})},Le=function(q){return q.rejection!==ue&&!q.parent},ke=function(q){y.call(s,function(){var ne=q.facade;Z?W.emit("rejectionHandled",ne):be(nt,ne,q.value)})},at=function(q,ne,ie){return function(K){q(ne,K,ie)}},xt=function(q,ne,ie){q.done||(q.done=!0,ie&&(q=ie),q.value=ne,q.state=j,$e(q,!0))},qe=function(q,ne,ie){if(!q.done){q.done=!0,ie&&(q=ie);try{if(q.facade===ne)throw J("Promise can't be resolved itself");var K=ve(ne);K?O(function(){var we={done:!1};try{K.call(ne,at(qe,we,q),at(xt,we,q))}catch(He){xt(we,He,q)}}):(q.value=ne,q.state=_e,$e(q,!1))}catch(we){xt({done:!1},we,q)}}};if(H&&(Q=function(ne){T(this,Q,Ee),E(ne),Pe.call(this);var ie=Fe(this);try{ne(at(qe,ie),at(xt,ie))}catch(K){xt(ie,K)}},B=Q.prototype,Pe=function(ne){ce(this,{type:Ee,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:Me,value:void 0})},Pe.prototype=u(B,{then:function(ne,ie){var K=te(this),we=V(m(this,Q));return we.ok=typeof ne=="function"?ne:!0,we.fail=typeof ie=="function"&&ie,we.domain=Z?W.domain:void 0,K.parent=!0,K.reactions.push(we),K.state!=Me&&$e(K,!1),we.promise},catch:function(q){return this.then(void 0,q)}}),X=function(){var q=new Pe,ne=Fe(q);this.promise=q,this.resolve=at(qe,ne),this.reject=at(xt,ne)},w.f=V=function(q){return q===Q||q===_?new X(q):ae(q)},!l&&typeof r=="function"&&he!==Object.prototype)){$=he.then,et||(c(he,"then",function(ne,ie){var K=this;return new Q(function(we,He){$.call(K,we,He)}).then(ne,ie)},{unsafe:!0}),c(he,"catch",B.catch,{unsafe:!0}));try{delete he.constructor}catch(q){}a&&a(he,B)}t({global:!0,wrap:!0,forced:H},{Promise:Q}),d(Q,Ee,!1,!0),h(Ee),_=o(Ee),t({target:Ee,stat:!0,forced:H},{reject:function(ne){var ie=V(this);return ie.reject.call(void 0,ne),ie.promise}}),t({target:Ee,stat:!0,forced:l||H},{resolve:function(ne){return C(l&&this===_?Q:this,ne)}}),t({target:Ee,stat:!0,forced:I},{all:function(ne){var ie=this,K=V(ie),we=K.resolve,He=K.reject,Je=x(function(){var ft=E(ie.resolve),At=[],Lt=0,Yt=1;v(ne,function(Vt){var ze=Lt++,dt=!1;At.push(void 0),Yt++,ft.call(ie,Vt).then(function(bt){dt||(dt=!0,At[ze]=bt,--Yt||we(At))},He)}),--Yt||we(At)});return Je.error&&He(Je.value),K.promise},race:function(ne){var ie=this,K=V(ie),we=K.reject,He=x(function(){var Je=E(ie.resolve);v(ne,function(ft){Je.call(ie,ft).then(K.resolve,we)})});return He.error&&we(He.value),K.promise}})},81299:(L,n,e)=>{var t=e(82109),l=e(17854),s=e(58003);t({global:!0},{Reflect:{}}),s(l.Reflect,"Reflect",!0)},27852:(L,n,e)=>{"use strict";var t=e(82109),l=e(31236).f,s=e(17466),o=e(3929),r=e(84488),c=e(84964),u=e(31913),a="".endsWith,d=Math.min,h=c("endsWith"),p=!u&&!h&&!!function(){var E=l(String.prototype,"endsWith");return E&&!E.writable}();t({target:"String",proto:!0,forced:!p&&!h},{endsWith:function(T){var S=String(r(this));o(T);var v=arguments.length>1?arguments[1]:void 0,b=s(S.length),m=v===void 0?b:d(s(v),b),y=String(T);return a?a.call(S,y,m):S.slice(m-y.length,m)===y}})},78783:(L,n,e)=>{"use strict";var t=e(28710).charAt,l=e(29909),s=e(70654),o="String Iterator",r=l.set,c=l.getterFor(o);s(String,"String",function(u){r(this,{type:o,string:String(u),index:0})},function(){var a=c(this),d=a.string,h=a.index,p;return h>=d.length?{value:void 0,done:!0}:(p=t(d,h),a.index+=p.length,{value:p,done:!1})})},23157:(L,n,e)=>{"use strict";var t=e(82109),l=e(31236).f,s=e(17466),o=e(3929),r=e(84488),c=e(84964),u=e(31913),a="".startsWith,d=Math.min,h=c("startsWith"),p=!u&&!h&&!!function(){var E=l(String.prototype,"startsWith");return E&&!E.writable}();t({target:"String",proto:!0,forced:!p&&!h},{startsWith:function(T){var S=String(r(this));o(T);var v=s(d(arguments.length>1?arguments[1]:void 0,S.length)),b=String(T);return a?a.call(S,b,v):S.slice(v,v+b.length)===b}})},72443:(L,n,e)=>{var t=e(97235);t("asyncIterator")},41817:(L,n,e)=>{"use strict";var t=e(82109),l=e(19781),s=e(17854),o=e(86656),r=e(70111),c=e(3070).f,u=e(99920),a=s.Symbol;if(l&&typeof a=="function"&&(!("description"in a.prototype)||a().description!==void 0)){var d={},h=function(){var b=arguments.length<1||arguments[0]===void 0?void 0:String(arguments[0]),m=this instanceof h?new a(b):b===void 0?a():a(b);return b===""&&(d[m]=!0),m};u(h,a);var p=h.prototype=a.prototype;p.constructor=h;var E=p.toString,T=String(a("test"))=="Symbol(test)",S=/^Symbol\((.*)\)[^)]+$/;c(p,"description",{configurable:!0,get:function(){var b=r(this)?this.valueOf():this,m=E.call(b);if(o(d,b))return"";var y=T?m.slice(7,-1):m.replace(S,"$1");return y===""?void 0:y}}),t({global:!0,forced:!0},{Symbol:h})}},92401:(L,n,e)=>{var t=e(97235);t("hasInstance")},8722:(L,n,e)=>{var t=e(97235);t("isConcatSpreadable")},32165:(L,n,e)=>{var t=e(97235);t("iterator")},82526:(L,n,e)=>{"use strict";var t=e(82109),l=e(17854),s=e(35005),o=e(31913),r=e(19781),c=e(30133),u=e(43307),a=e(47293),d=e(86656),h=e(43157),p=e(70111),E=e(19670),T=e(47908),S=e(45656),v=e(57593),b=e(79114),m=e(70030),y=e(81956),O=e(8006),C=e(1156),A=e(25181),w=e(31236),x=e(3070),R=e(55296),g=e(68880),k=e(31320),G=e(72309),Z=e(6200),oe=e(3501),ee=e(69711),Ee=e(5112),Fe=e(6061),ce=e(97235),te=e(58003),he=e(29909),Q=e(42092).forEach,B=Z("hidden"),J="Symbol",re="prototype",W=Ee("toPrimitive"),V=he.set,ae=he.getterFor(J),pe=Object[re],Se=l.Symbol,De=s("JSON","stringify"),nt=w.f,Me=x.f,_e=C.f,j=R.f,ue=G("symbols"),Ce=G("op-symbols"),et=G("string-to-symbol-registry"),Pe=G("symbol-to-string-registry"),X=G("wks"),_=l.QObject,$=!_||!_[re]||!_[re].findChild,H=r&&a(function(){return m(Me({},"a",{get:function(){return Me(this,"a",{value:7}).a}})).a!=7})?function(q,ne,ie){var K=nt(pe,ne);K&&delete pe[ne],Me(q,ne,ie),K&&q!==pe&&Me(pe,ne,K)}:Me,I=function(q,ne){var ie=ue[q]=m(Se[re]);return V(ie,{type:J,tag:q,description:ne}),r||(ie.description=ne),ie},ve=u?function(q){return typeof q=="symbol"}:function(q){return Object(q)instanceof Se},$e=function(ne,ie,K){ne===pe&&$e(Ce,ie,K),E(ne);var we=v(ie,!0);return E(K),d(ue,we)?(K.enumerable?(d(ne,B)&&ne[B][we]&&(ne[B][we]=!1),K=m(K,{enumerable:b(0,!1)})):(d(ne,B)||Me(ne,B,b(1,{})),ne[B][we]=!0),H(ne,we,K)):Me(ne,we,K)},be=function(ne,ie){E(ne);var K=S(ie),we=y(K).concat(xt(K));return Q(we,function(He){(!r||Le.call(K,He))&&$e(ne,He,K[He])}),ne},Te=function(ne,ie){return ie===void 0?m(ne):be(m(ne),ie)},Le=function(ne){var ie=v(ne,!0),K=j.call(this,ie);return this===pe&&d(ue,ie)&&!d(Ce,ie)?!1:K||!d(this,ie)||!d(ue,ie)||d(this,B)&&this[B][ie]?K:!0},ke=function(ne,ie){var K=S(ne),we=v(ie,!0);if(!(K===pe&&d(ue,we)&&!d(Ce,we))){var He=nt(K,we);return He&&d(ue,we)&&!(d(K,B)&&K[B][we])&&(He.enumerable=!0),He}},at=function(ne){var ie=_e(S(ne)),K=[];return Q(ie,function(we){!d(ue,we)&&!d(oe,we)&&K.push(we)}),K},xt=function(ne){var ie=ne===pe,K=_e(ie?Ce:S(ne)),we=[];return Q(K,function(He){d(ue,He)&&(!ie||d(pe,He))&&we.push(ue[He])}),we};if(c||(Se=function(){if(this instanceof Se)throw TypeError("Symbol is not a constructor");var ne=!arguments.length||arguments[0]===void 0?void 0:String(arguments[0]),ie=ee(ne),K=function(we){this===pe&&K.call(Ce,we),d(this,B)&&d(this[B],ie)&&(this[B][ie]=!1),H(this,ie,b(1,we))};return r&&$&&H(pe,ie,{configurable:!0,set:K}),I(ie,ne)},k(Se[re],"toString",function(){return ae(this).tag}),k(Se,"withoutSetter",function(q){return I(ee(q),q)}),R.f=Le,x.f=$e,w.f=ke,O.f=C.f=at,A.f=xt,Fe.f=function(q){return I(Ee(q),q)},r&&(Me(Se[re],"description",{configurable:!0,get:function(){return ae(this).description}}),o||k(pe,"propertyIsEnumerable",Le,{unsafe:!0}))),t({global:!0,wrap:!0,forced:!c,sham:!c},{Symbol:Se}),Q(y(X),function(q){ce(q)}),t({target:J,stat:!0,forced:!c},{for:function(q){var ne=String(q);if(d(et,ne))return et[ne];var ie=Se(ne);return et[ne]=ie,Pe[ie]=ne,ie},keyFor:function(ne){if(!ve(ne))throw TypeError(ne+" is not a symbol");if(d(Pe,ne))return Pe[ne]},useSetter:function(){$=!0},useSimple:function(){$=!1}}),t({target:"Object",stat:!0,forced:!c,sham:!r},{create:Te,defineProperty:$e,defineProperties:be,getOwnPropertyDescriptor:ke}),t({target:"Object",stat:!0,forced:!c},{getOwnPropertyNames:at,getOwnPropertySymbols:xt}),t({target:"Object",stat:!0,forced:a(function(){A.f(1)})},{getOwnPropertySymbols:function(ne){return A.f(T(ne))}}),De){var qe=!c||a(function(){var q=Se();return De([q])!="[null]"||De({a:q})!="{}"||De(Object(q))!="{}"});t({target:"JSON",stat:!0,forced:qe},{stringify:function(ne,ie,K){for(var we=[ne],He=1,Je;arguments.length>He;)we.push(arguments[He++]);if(Je=ie,!(!p(ie)&&ne===void 0||ve(ne)))return h(ie)||(ie=function(ft,At){if(typeof Je=="function"&&(At=Je.call(this,ft,At)),!ve(At))return At}),we[1]=ie,De.apply(null,we)}})}Se[re][W]||g(Se[re],W,Se[re].valueOf),te(Se,J),oe[B]=!0},16066:(L,n,e)=>{var t=e(97235);t("matchAll")},69007:(L,n,e)=>{var t=e(97235);t("match")},83510:(L,n,e)=>{var t=e(97235);t("replace")},41840:(L,n,e)=>{var t=e(97235);t("search")},6982:(L,n,e)=>{var t=e(97235);t("species")},32159:(L,n,e)=>{var t=e(97235);t("split")},96649:(L,n,e)=>{var t=e(97235);t("toPrimitive")},39341:(L,n,e)=>{var t=e(97235);t("toStringTag")},60543:(L,n,e)=>{var t=e(97235);t("unscopables")},33948:(L,n,e)=>{var t=e(17854),l=e(48324),s=e(66992),o=e(68880),r=e(5112),c=r("iterator"),u=r("toStringTag"),a=s.values;for(var d in l){var h=t[d],p=h&&h.prototype;if(p){if(p[c]!==a)try{o(p,c,a)}catch(T){p[c]=a}if(p[u]||o(p,u,d),l[d]){for(var E in s)if(p[E]!==s[E])try{o(p,E,s[E])}catch(T){p[E]=s[E]}}}}},82295:(L,n,e)=>{"use strict";e.r(n),e.d(n,{default:()=>c});var t=e(8081),l=e.n(t),s=e(23645),o=e.n(s),r=o()(l());r.push([L.id,`.ps{overflow:hidden!important;overflow-anchor:none;-ms-overflow-style:none;touch-action:auto;-ms-touch-action:auto}.ps__rail-x{display:none;opacity:0;transition:background-color .2s linear,opacity .2s linear;-webkit-transition:background-color .2s linear,opacity .2s linear;height:15px;bottom:0;position:absolute}.ps__rail-y{display:none;opacity:0;transition:background-color .2s linear,opacity .2s linear;-webkit-transition:background-color .2s linear,opacity .2s linear;width:15px;right:0;position:absolute}.ps--active-x>.ps__rail-x,.ps--active-y>.ps__rail-y{display:block;background-color:transparent}.ps:hover>.ps__rail-x,.ps:hover>.ps__rail-y,.ps--focus>.ps__rail-x,.ps--focus>.ps__rail-y,.ps--scrolling-x>.ps__rail-x,.ps--scrolling-y>.ps__rail-y{opacity:.6}.ps .ps__rail-x:hover,.ps .ps__rail-y:hover,.ps .ps__rail-x:focus,.ps .ps__rail-y:focus,.ps .ps__rail-x.ps--clicking,.ps .ps__rail-y.ps--clicking{background-color:#eee;opacity:.9}.ps__thumb-x{background-color:#aaa;border-radius:6px;transition:background-color .2s linear,height .2s ease-in-out;-webkit-transition:background-color .2s linear,height .2s ease-in-out;height:6px;bottom:2px;position:absolute}.ps__thumb-y{background-color:#aaa;border-radius:6px;transition:background-color .2s linear,width .2s ease-in-out;-webkit-transition:background-color .2s linear,width .2s ease-in-out;width:6px;right:2px;position:absolute}.ps__rail-x:hover>.ps__thumb-x,.ps__rail-x:focus>.ps__thumb-x,.ps__rail-x.ps--clicking .ps__thumb-x{background-color:#999;height:11px}.ps__rail-y:hover>.ps__thumb-y,.ps__rail-y:focus>.ps__thumb-y,.ps__rail-y.ps--clicking .ps__thumb-y{background-color:#999;width:11px}@supports (-ms-overflow-style: none){.ps{overflow:auto!important}}@media screen and (-ms-high-contrast: active),(-ms-high-contrast: none){.ps{overflow:auto!important}}
|
|
109
|
-
`,""]);const c=r},23645:L=>{"use strict";L.exports=function(n){var e=[];return e.toString=function(){return this.map(function(l){var s="",o=typeof l[5]!="undefined";return l[4]&&(s+="@supports (".concat(l[4],") {")),l[2]&&(s+="@media ".concat(l[2]," {")),o&&(s+="@layer".concat(l[5].length>0?" ".concat(l[5]):""," {")),s+=n(l),o&&(s+="}"),l[2]&&(s+="}"),l[4]&&(s+="}"),s}).join("")},e.i=function(l,s,o,r,c){typeof l=="string"&&(l=[[null,l,void 0]]);var u={};if(o)for(var a=0;a<this.length;a++){var d=this[a][0];d!=null&&(u[d]=!0)}for(var h=0;h<l.length;h++){var p=[].concat(l[h]);o&&u[p[0]]||(typeof c!="undefined"&&(typeof p[5]=="undefined"||(p[1]="@layer".concat(p[5].length>0?" ".concat(p[5]):""," {").concat(p[1],"}")),p[5]=c),s&&(p[2]&&(p[1]="@media ".concat(p[2]," {").concat(p[1],"}")),p[2]=s),r&&(p[4]?(p[1]="@supports (".concat(p[4],") {").concat(p[1],"}"),p[4]=r):p[4]="".concat(r)),e.push(p))}},e}},8081:L=>{"use strict";L.exports=function(n){return n[1]}},11851:function(L,n){var e,t,l;(function(s,o){if(!0)t=[n],e=o,l=typeof e=="function"?e.apply(n,t):e,l!==void 0&&(L.exports=l);else var r})(this,function(s){"use strict";s.__esModule=!0;var o={},r=Object.prototype.hasOwnProperty,c={memoize:function(T){var S=arguments.length<=1||arguments[1]===void 0?o:arguments[1],v=S.cache||{};return function(){for(var b=arguments.length,m=Array(b),y=0;y<b;y++)m[y]=arguments[y];var O=String(m[0]);return S.caseSensitive===!1&&(O=O.toLowerCase()),r.call(v,O)?v[O]:v[O]=T.apply(this,m)}},debounce:function(T,S){if(typeof S=="function"){var v=T;T=S,S=v}var b=S&&S.delay||S||0,m=void 0,y=void 0,O=void 0;return function(){for(var C=arguments.length,A=Array(C),w=0;w<C;w++)A[w]=arguments[w];m=A,y=this,O||(O=setTimeout(function(){T.apply(y,m),m=y=O=null},b))}},bind:function(T,S,v){var b=v.value;return{configurable:!0,get:function(){var y=b.bind(this);return Object.defineProperty(this,S,{value:y,configurable:!0,writable:!0}),y}}}},u=h(c.memoize),a=h(c.debounce),d=h(function(E,T){return E.bind(T)},function(){return c.bind});s.memoize=u,s.debounce=a,s.bind=d,s.default={memoize:u,debounce:a,bind:d};function h(E,T){T=T||E.decorate||p(E);var S=T();return function(){for(var v=arguments.length,b=Array(v),m=0;m<v;m++)b[m]=arguments[m];var y=b.length;return(y<2?T:y>2?S:E).apply(void 0,b)}}function p(E){return function(T){return typeof T=="function"?E(T):function(S,v,b){b.value=E(b.value,T,S,v,b)}}}})},44020:L=>{"use strict";var n="%[a-f0-9]{2}",e=new RegExp(n,"gi"),t=new RegExp("("+n+")+","gi");function l(r,c){try{return decodeURIComponent(r.join(""))}catch(d){}if(r.length===1)return r;c=c||1;var u=r.slice(0,c),a=r.slice(c);return Array.prototype.concat.call([],l(u),l(a))}function s(r){try{return decodeURIComponent(r)}catch(a){for(var c=r.match(e),u=1;u<c.length;u++)r=l(c,u).join(""),c=r.match(e);return r}}function o(r){for(var c={"%FE%FF":"\uFFFD\uFFFD","%FF%FE":"\uFFFD\uFFFD"},u=t.exec(r);u;){try{c[u[0]]=decodeURIComponent(u[0])}catch(E){var a=s(u[0]);a!==u[0]&&(c[u[0]]=a)}u=t.exec(r)}c["%C2"]="\uFFFD";for(var d=Object.keys(c),h=0;h<d.length;h++){var p=d[h];r=r.replace(new RegExp(p,"g"),c[p])}return r}L.exports=function(r){if(typeof r!="string")throw new TypeError("Expected `encodedURI` to be of type `string`, got `"+typeof r+"`");try{return r=r.replace(/\+/g," "),decodeURIComponent(r)}catch(c){return o(r)}}},9996:L=>{"use strict";var n=function(m){return e(m)&&!t(m)};function e(b){return!!b&&typeof b=="object"}function t(b){var m=Object.prototype.toString.call(b);return m==="[object RegExp]"||m==="[object Date]"||o(b)}var l=typeof Symbol=="function"&&Symbol.for,s=l?Symbol.for("react.element"):60103;function o(b){return b.$$typeof===s}function r(b){return Array.isArray(b)?[]:{}}function c(b,m){return m.clone!==!1&&m.isMergeableObject(b)?S(r(b),b,m):b}function u(b,m,y){return b.concat(m).map(function(O){return c(O,y)})}function a(b,m){if(!m.customMerge)return S;var y=m.customMerge(b);return typeof y=="function"?y:S}function d(b){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(b).filter(function(m){return b.propertyIsEnumerable(m)}):[]}function h(b){return Object.keys(b).concat(d(b))}function p(b,m){try{return m in b}catch(y){return!1}}function E(b,m){return p(b,m)&&!(Object.hasOwnProperty.call(b,m)&&Object.propertyIsEnumerable.call(b,m))}function T(b,m,y){var O={};return y.isMergeableObject(b)&&h(b).forEach(function(C){O[C]=c(b[C],y)}),h(m).forEach(function(C){E(b,C)||(p(b,C)&&y.isMergeableObject(m[C])?O[C]=a(C,y)(b[C],m[C],y):O[C]=c(m[C],y))}),O}function S(b,m,y){y=y||{},y.arrayMerge=y.arrayMerge||u,y.isMergeableObject=y.isMergeableObject||n,y.cloneUnlessOtherwiseSpecified=c;var O=Array.isArray(m),C=Array.isArray(b),A=O===C;return A?O?y.arrayMerge(b,m,y):T(b,m,y):c(m,y)}S.all=function(m,y){if(!Array.isArray(m))throw new Error("first argument should be an array");return m.reduce(function(O,C){return S(O,C,y)},{})};var v=S;L.exports=v},27856:function(L){/*! @license DOMPurify | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/2.2.2/LICENSE */(function(n,e){L.exports=e()})(this,function(){"use strict";function n(ue){if(Array.isArray(ue)){for(var Ce=0,et=Array(ue.length);Ce<ue.length;Ce++)et[Ce]=ue[Ce];return et}else return Array.from(ue)}var e=Object.hasOwnProperty,t=Object.setPrototypeOf,l=Object.isFrozen,s=Object.getPrototypeOf,o=Object.getOwnPropertyDescriptor,r=Object.freeze,c=Object.seal,u=Object.create,a=typeof Reflect!="undefined"&&Reflect,d=a.apply,h=a.construct;d||(d=function(Ce,et,Pe){return Ce.apply(et,Pe)}),r||(r=function(Ce){return Ce}),c||(c=function(Ce){return Ce}),h||(h=function(Ce,et){return new(Function.prototype.bind.apply(Ce,[null].concat(n(et))))});var p=A(Array.prototype.forEach),E=A(Array.prototype.pop),T=A(Array.prototype.push),S=A(String.prototype.toLowerCase),v=A(String.prototype.match),b=A(String.prototype.replace),m=A(String.prototype.indexOf),y=A(String.prototype.trim),O=A(RegExp.prototype.test),C=w(TypeError);function A(ue){return function(Ce){for(var et=arguments.length,Pe=Array(et>1?et-1:0),X=1;X<et;X++)Pe[X-1]=arguments[X];return d(ue,Ce,Pe)}}function w(ue){return function(){for(var Ce=arguments.length,et=Array(Ce),Pe=0;Pe<Ce;Pe++)et[Pe]=arguments[Pe];return h(ue,et)}}function x(ue,Ce){t&&t(ue,null);for(var et=Ce.length;et--;){var Pe=Ce[et];if(typeof Pe=="string"){var X=S(Pe);X!==Pe&&(l(Ce)||(Ce[et]=X),Pe=X)}ue[Pe]=!0}return ue}function R(ue){var Ce=u(null),et=void 0;for(et in ue)d(e,ue,[et])&&(Ce[et]=ue[et]);return Ce}function g(ue,Ce){for(;ue!==null;){var et=o(ue,Ce);if(et){if(et.get)return A(et.get);if(typeof et.value=="function")return A(et.value)}ue=s(ue)}function Pe(X){return console.warn("fallback value for",X),null}return Pe}var k=r(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),G=r(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),Z=r(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),oe=r(["animate","color-profile","cursor","discard","fedropshadow","feimage","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),ee=r(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover"]),Ee=r(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),Fe=r(["#text"]),ce=r(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","xmlns","slot"]),te=r(["accent-height","accumulate","additive","alignment-baseline","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","targetx","targety","transform","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),he=r(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),Q=r(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),B=c(/\{\{[\s\S]*|[\s\S]*\}\}/gm),J=c(/<%[\s\S]*|[\s\S]*%>/gm),re=c(/^data-[\-\w.\u00B7-\uFFFF]/),W=c(/^aria-[\-\w]+$/),V=c(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),ae=c(/^(?:\w+script|data):/i),pe=c(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),Se=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(ue){return typeof ue}:function(ue){return ue&&typeof Symbol=="function"&&ue.constructor===Symbol&&ue!==Symbol.prototype?"symbol":typeof ue};function De(ue){if(Array.isArray(ue)){for(var Ce=0,et=Array(ue.length);Ce<ue.length;Ce++)et[Ce]=ue[Ce];return et}else return Array.from(ue)}var nt=function(){return typeof window=="undefined"?null:window},Me=function(Ce,et){if((typeof Ce=="undefined"?"undefined":Se(Ce))!=="object"||typeof Ce.createPolicy!="function")return null;var Pe=null,X="data-tt-policy-suffix";et.currentScript&&et.currentScript.hasAttribute(X)&&(Pe=et.currentScript.getAttribute(X));var _="dompurify"+(Pe?"#"+Pe:"");try{return Ce.createPolicy(_,{createHTML:function(H){return H}})}catch($){return console.warn("TrustedTypes policy "+_+" could not be created."),null}};function _e(){var ue=arguments.length>0&&arguments[0]!==void 0?arguments[0]:nt(),Ce=function(It){return _e(It)};if(Ce.version="2.2.9",Ce.removed=[],!ue||!ue.document||ue.document.nodeType!==9)return Ce.isSupported=!1,Ce;var et=ue.document,Pe=ue.document,X=ue.DocumentFragment,_=ue.HTMLTemplateElement,$=ue.Node,H=ue.Element,I=ue.NodeFilter,ve=ue.NamedNodeMap,$e=ve===void 0?ue.NamedNodeMap||ue.MozNamedAttrMap:ve,be=ue.Text,Te=ue.Comment,Le=ue.DOMParser,ke=ue.trustedTypes,at=H.prototype,xt=g(at,"cloneNode"),qe=g(at,"nextSibling"),q=g(at,"childNodes"),ne=g(at,"parentNode");if(typeof _=="function"){var ie=Pe.createElement("template");ie.content&&ie.content.ownerDocument&&(Pe=ie.content.ownerDocument)}var K=Me(ke,et),we=K&&Mt?K.createHTML(""):"",He=Pe,Je=He.implementation,ft=He.createNodeIterator,At=He.createDocumentFragment,Lt=et.importNode,Yt={};try{Yt=R(Pe).documentMode?Pe.documentMode:{}}catch(sn){}var Vt={};Ce.isSupported=typeof ne=="function"&&Je&&typeof Je.createHTMLDocument!="undefined"&&Yt!==9;var ze=B,dt=J,bt=re,pt=W,Ct=ae,$t=pe,dn=V,un=null,Cn=x({},[].concat(De(k),De(G),De(Z),De(ee),De(Fe))),Ke=null,Be=x({},[].concat(De(ce),De(te),De(he),De(Q))),it=null,Et=null,Ot=!0,cn=!0,Mn=!1,Dn=!1,Rn=!1,Gn=!1,Pn=!1,Ze=!1,ut=!1,Pt=!0,Mt=!1,zt=!0,Zt=!0,Qe=!1,ot={},Xe=x({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]),st=null,wt=x({},["audio","video","img","source","image","track"]),tn=null,qt=x({},["alt","class","for","id","label","name","pattern","placeholder","summary","title","value","style","xmlns"]),bn="http://www.w3.org/1998/Math/MathML",Fn="http://www.w3.org/2000/svg",Ln="http://www.w3.org/1999/xhtml",ir=Ln,Nn=!1,En=null,Xn=Pe.createElement("form"),kn=function(It){En&&En===It||((!It||(typeof It=="undefined"?"undefined":Se(It))!=="object")&&(It={}),It=R(It),un="ALLOWED_TAGS"in It?x({},It.ALLOWED_TAGS):Cn,Ke="ALLOWED_ATTR"in It?x({},It.ALLOWED_ATTR):Be,tn="ADD_URI_SAFE_ATTR"in It?x(R(qt),It.ADD_URI_SAFE_ATTR):qt,st="ADD_DATA_URI_TAGS"in It?x(R(wt),It.ADD_DATA_URI_TAGS):wt,it="FORBID_TAGS"in It?x({},It.FORBID_TAGS):{},Et="FORBID_ATTR"in It?x({},It.FORBID_ATTR):{},ot="USE_PROFILES"in It?It.USE_PROFILES:!1,Ot=It.ALLOW_ARIA_ATTR!==!1,cn=It.ALLOW_DATA_ATTR!==!1,Mn=It.ALLOW_UNKNOWN_PROTOCOLS||!1,Dn=It.SAFE_FOR_TEMPLATES||!1,Rn=It.WHOLE_DOCUMENT||!1,Ze=It.RETURN_DOM||!1,ut=It.RETURN_DOM_FRAGMENT||!1,Pt=It.RETURN_DOM_IMPORT!==!1,Mt=It.RETURN_TRUSTED_TYPE||!1,Pn=It.FORCE_BODY||!1,zt=It.SANITIZE_DOM!==!1,Zt=It.KEEP_CONTENT!==!1,Qe=It.IN_PLACE||!1,dn=It.ALLOWED_URI_REGEXP||dn,ir=It.NAMESPACE||Ln,Dn&&(cn=!1),ut&&(Ze=!0),ot&&(un=x({},[].concat(De(Fe))),Ke=[],ot.html===!0&&(x(un,k),x(Ke,ce)),ot.svg===!0&&(x(un,G),x(Ke,te),x(Ke,Q)),ot.svgFilters===!0&&(x(un,Z),x(Ke,te),x(Ke,Q)),ot.mathMl===!0&&(x(un,ee),x(Ke,he),x(Ke,Q))),It.ADD_TAGS&&(un===Cn&&(un=R(un)),x(un,It.ADD_TAGS)),It.ADD_ATTR&&(Ke===Be&&(Ke=R(Ke)),x(Ke,It.ADD_ATTR)),It.ADD_URI_SAFE_ATTR&&x(tn,It.ADD_URI_SAFE_ATTR),Zt&&(un["#text"]=!0),Rn&&x(un,["html","head","body"]),un.table&&(x(un,["tbody"]),delete it.tbody),r&&r(It),En=It)},On=x({},["mi","mo","mn","ms","mtext"]),Yn=x({},["foreignobject","desc","title","annotation-xml"]),Hn=x({},G);x(Hn,Z),x(Hn,oe);var xn=x({},ee);x(xn,Ee);var hr=function(It){var fn=ne(It);(!fn||!fn.tagName)&&(fn={namespaceURI:Ln,tagName:"template"});var vn=S(It.tagName),er=S(fn.tagName);if(It.namespaceURI===Fn)return fn.namespaceURI===Ln?vn==="svg":fn.namespaceURI===bn?vn==="svg"&&(er==="annotation-xml"||On[er]):Boolean(Hn[vn]);if(It.namespaceURI===bn)return fn.namespaceURI===Ln?vn==="math":fn.namespaceURI===Fn?vn==="math"&&Yn[er]:Boolean(xn[vn]);if(It.namespaceURI===Ln){if(fn.namespaceURI===Fn&&!Yn[er]||fn.namespaceURI===bn&&!On[er])return!1;var ar=x({},["title","style","font","a","script"]);return!xn[vn]&&(ar[vn]||!Hn[vn])}return!1},sr=function(It){T(Ce.removed,{element:It});try{It.parentNode.removeChild(It)}catch(fn){try{It.outerHTML=we}catch(vn){It.remove()}}},ur=function(It,fn){try{T(Ce.removed,{attribute:fn.getAttributeNode(It),from:fn})}catch(vn){T(Ce.removed,{attribute:null,from:fn})}if(fn.removeAttribute(It),It==="is"&&!Ke[It])if(Ze||ut)try{sr(fn)}catch(vn){}else try{fn.setAttribute(It,"")}catch(vn){}},Qn=function(It){var fn=void 0,vn=void 0;if(Pn)It="<remove></remove>"+It;else{var er=v(It,/^[\r\n\t ]+/);vn=er&&er[0]}var ar=K?K.createHTML(It):It;if(ir===Ln)try{fn=new Le().parseFromString(ar,"text/html")}catch(Ye){}if(!fn||!fn.documentElement){fn=Je.createDocument(ir,"template",null);try{fn.documentElement.innerHTML=Nn?"":ar}catch(Ye){}}var nr=fn.body||fn.documentElement;return It&&vn&&nr.insertBefore(Pe.createTextNode(vn),nr.childNodes[0]||null),Rn?fn.documentElement:nr},vr=function(It){return ft.call(It.ownerDocument||It,It,I.SHOW_ELEMENT|I.SHOW_COMMENT|I.SHOW_TEXT,null,!1)},Dr=function(It){return It instanceof be||It instanceof Te?!1:typeof It.nodeName!="string"||typeof It.textContent!="string"||typeof It.removeChild!="function"||!(It.attributes instanceof $e)||typeof It.removeAttribute!="function"||typeof It.setAttribute!="function"||typeof It.namespaceURI!="string"||typeof It.insertBefore!="function"},jr=function(It){return(typeof $=="undefined"?"undefined":Se($))==="object"?It instanceof $:It&&(typeof It=="undefined"?"undefined":Se(It))==="object"&&typeof It.nodeType=="number"&&typeof It.nodeName=="string"},Er=function(It,fn,vn){!Vt[It]||p(Vt[It],function(er){er.call(Ce,fn,vn,En)})},Vr=function(It){var fn=void 0;if(Er("beforeSanitizeElements",It,null),Dr(It)||v(It.nodeName,/[\u0080-\uFFFF]/))return sr(It),!0;var vn=S(It.nodeName);if(Er("uponSanitizeElement",It,{tagName:vn,allowedTags:un}),!jr(It.firstElementChild)&&(!jr(It.content)||!jr(It.content.firstElementChild))&&O(/<[/\w]/g,It.innerHTML)&&O(/<[/\w]/g,It.textContent))return sr(It),!0;if(!un[vn]||it[vn]){if(Zt&&!Xe[vn]){var er=ne(It)||It.parentNode,ar=q(It)||It.childNodes;if(ar&&er)for(var nr=ar.length,Ye=nr-1;Ye>=0;--Ye)er.insertBefore(xt(ar[Ye],!0),qe(It))}return sr(It),!0}return It instanceof H&&!hr(It)||(vn==="noscript"||vn==="noembed")&&O(/<\/no(script|embed)/i,It.innerHTML)?(sr(It),!0):(Dn&&It.nodeType===3&&(fn=It.textContent,fn=b(fn,ze," "),fn=b(fn,dt," "),It.textContent!==fn&&(T(Ce.removed,{element:It.cloneNode()}),It.textContent=fn)),Er("afterSanitizeElements",It,null),!1)},Sr=function(It,fn,vn){if(zt&&(fn==="id"||fn==="name")&&(vn in Pe||vn in Xn))return!1;if(!(cn&&O(bt,fn))){if(!(Ot&&O(pt,fn))){if(!Ke[fn]||Et[fn])return!1;if(!tn[fn]){if(!O(dn,b(vn,$t,""))){if(!((fn==="src"||fn==="xlink:href"||fn==="href")&&It!=="script"&&m(vn,"data:")===0&&st[It])){if(!(Mn&&!O(Ct,b(vn,$t,"")))){if(vn)return!1}}}}}}return!0},Tr=function(It){var fn=void 0,vn=void 0,er=void 0,ar=void 0;Er("beforeSanitizeAttributes",It,null);var nr=It.attributes;if(!!nr){var Ye={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:Ke};for(ar=nr.length;ar--;){fn=nr[ar];var ye=fn,Ae=ye.name,gt=ye.namespaceURI;if(vn=y(fn.value),er=S(Ae),Ye.attrName=er,Ye.attrValue=vn,Ye.keepAttr=!0,Ye.forceKeepAttr=void 0,Er("uponSanitizeAttribute",It,Ye),vn=Ye.attrValue,!Ye.forceKeepAttr&&(ur(Ae,It),!!Ye.keepAttr)){if(O(/\/>/i,vn)){ur(Ae,It);continue}Dn&&(vn=b(vn,ze," "),vn=b(vn,dt," "));var Ve=It.nodeName.toLowerCase();if(!!Sr(Ve,er,vn))try{gt?It.setAttributeNS(gt,Ae,vn):It.setAttribute(Ae,vn),E(Ce.removed)}catch(Gt){}}}Er("afterSanitizeAttributes",It,null)}},qn=function sn(It){var fn=void 0,vn=vr(It);for(Er("beforeSanitizeShadowDOM",It,null);fn=vn.nextNode();)Er("uponSanitizeShadowNode",fn,null),!Vr(fn)&&(fn.content instanceof X&&sn(fn.content),Tr(fn));Er("afterSanitizeShadowDOM",It,null)};return Ce.sanitize=function(sn,It){var fn=void 0,vn=void 0,er=void 0,ar=void 0,nr=void 0;if(Nn=!sn,Nn&&(sn="<!-->"),typeof sn!="string"&&!jr(sn)){if(typeof sn.toString!="function")throw C("toString is not a function");if(sn=sn.toString(),typeof sn!="string")throw C("dirty is not a string, aborting")}if(!Ce.isSupported){if(Se(ue.toStaticHTML)==="object"||typeof ue.toStaticHTML=="function"){if(typeof sn=="string")return ue.toStaticHTML(sn);if(jr(sn))return ue.toStaticHTML(sn.outerHTML)}return sn}if(Gn||kn(It),Ce.removed=[],typeof sn=="string"&&(Qe=!1),!Qe)if(sn instanceof $)fn=Qn("<!---->"),vn=fn.ownerDocument.importNode(sn,!0),vn.nodeType===1&&vn.nodeName==="BODY"||vn.nodeName==="HTML"?fn=vn:fn.appendChild(vn);else{if(!Ze&&!Dn&&!Rn&&sn.indexOf("<")===-1)return K&&Mt?K.createHTML(sn):sn;if(fn=Qn(sn),!fn)return Ze?null:we}fn&&Pn&&sr(fn.firstChild);for(var Ye=vr(Qe?sn:fn);er=Ye.nextNode();)er.nodeType===3&&er===ar||Vr(er)||(er.content instanceof X&&qn(er.content),Tr(er),ar=er);if(ar=null,Qe)return sn;if(Ze){if(ut)for(nr=At.call(fn.ownerDocument);fn.firstChild;)nr.appendChild(fn.firstChild);else nr=fn;return Pt&&(nr=Lt.call(et,nr,!0)),nr}var ye=Rn?fn.outerHTML:fn.innerHTML;return Dn&&(ye=b(ye,ze," "),ye=b(ye,dt," ")),K&&Mt?K.createHTML(ye):ye},Ce.setConfig=function(sn){kn(sn),Gn=!0},Ce.clearConfig=function(){En=null,Gn=!1},Ce.isValidAttribute=function(sn,It,fn){En||kn({});var vn=S(sn),er=S(It);return Sr(vn,er,fn)},Ce.addHook=function(sn,It){typeof It=="function"&&(Vt[sn]=Vt[sn]||[],T(Vt[sn],It))},Ce.removeHook=function(sn){Vt[sn]&&E(Vt[sn])},Ce.removeHooks=function(sn){Vt[sn]&&(Vt[sn]=[])},Ce.removeAllHooks=function(){Vt={}},Ce}var j=_e();return j})},46538:(L,n,e)=>{"use strict";e.d(n,{F5:()=>g,y$:()=>T,__:()=>S});var t=e(67294),l=e(67239),s=e(5276),o=e(78722),r=e(17828),c=e(13066),u=e(63909),a=e(39589),d=e(23485),h=e(24177),p=e(25973);const E=d.ZP.div`
|
|
109
|
+
`,""]);const c=r},23645:L=>{"use strict";L.exports=function(n){var e=[];return e.toString=function(){return this.map(function(l){var s="",o=typeof l[5]!="undefined";return l[4]&&(s+="@supports (".concat(l[4],") {")),l[2]&&(s+="@media ".concat(l[2]," {")),o&&(s+="@layer".concat(l[5].length>0?" ".concat(l[5]):""," {")),s+=n(l),o&&(s+="}"),l[2]&&(s+="}"),l[4]&&(s+="}"),s}).join("")},e.i=function(l,s,o,r,c){typeof l=="string"&&(l=[[null,l,void 0]]);var u={};if(o)for(var a=0;a<this.length;a++){var d=this[a][0];d!=null&&(u[d]=!0)}for(var h=0;h<l.length;h++){var p=[].concat(l[h]);o&&u[p[0]]||(typeof c!="undefined"&&(typeof p[5]=="undefined"||(p[1]="@layer".concat(p[5].length>0?" ".concat(p[5]):""," {").concat(p[1],"}")),p[5]=c),s&&(p[2]&&(p[1]="@media ".concat(p[2]," {").concat(p[1],"}")),p[2]=s),r&&(p[4]?(p[1]="@supports (".concat(p[4],") {").concat(p[1],"}"),p[4]=r):p[4]="".concat(r)),e.push(p))}},e}},8081:L=>{"use strict";L.exports=function(n){return n[1]}},11851:function(L,n){var e,t,l;(function(s,o){if(!0)t=[n],e=o,l=typeof e=="function"?e.apply(n,t):e,l!==void 0&&(L.exports=l);else var r})(this,function(s){"use strict";s.__esModule=!0;var o={},r=Object.prototype.hasOwnProperty,c={memoize:function(T){var S=arguments.length<=1||arguments[1]===void 0?o:arguments[1],v=S.cache||{};return function(){for(var b=arguments.length,m=Array(b),y=0;y<b;y++)m[y]=arguments[y];var O=String(m[0]);return S.caseSensitive===!1&&(O=O.toLowerCase()),r.call(v,O)?v[O]:v[O]=T.apply(this,m)}},debounce:function(T,S){if(typeof S=="function"){var v=T;T=S,S=v}var b=S&&S.delay||S||0,m=void 0,y=void 0,O=void 0;return function(){for(var C=arguments.length,A=Array(C),w=0;w<C;w++)A[w]=arguments[w];m=A,y=this,O||(O=setTimeout(function(){T.apply(y,m),m=y=O=null},b))}},bind:function(T,S,v){var b=v.value;return{configurable:!0,get:function(){var y=b.bind(this);return Object.defineProperty(this,S,{value:y,configurable:!0,writable:!0}),y}}}},u=h(c.memoize),a=h(c.debounce),d=h(function(E,T){return E.bind(T)},function(){return c.bind});s.memoize=u,s.debounce=a,s.bind=d,s.default={memoize:u,debounce:a,bind:d};function h(E,T){T=T||E.decorate||p(E);var S=T();return function(){for(var v=arguments.length,b=Array(v),m=0;m<v;m++)b[m]=arguments[m];var y=b.length;return(y<2?T:y>2?S:E).apply(void 0,b)}}function p(E){return function(T){return typeof T=="function"?E(T):function(S,v,b){b.value=E(b.value,T,S,v,b)}}}})},44020:L=>{"use strict";var n="%[a-f0-9]{2}",e=new RegExp(n,"gi"),t=new RegExp("("+n+")+","gi");function l(r,c){try{return decodeURIComponent(r.join(""))}catch(d){}if(r.length===1)return r;c=c||1;var u=r.slice(0,c),a=r.slice(c);return Array.prototype.concat.call([],l(u),l(a))}function s(r){try{return decodeURIComponent(r)}catch(a){for(var c=r.match(e),u=1;u<c.length;u++)r=l(c,u).join(""),c=r.match(e);return r}}function o(r){for(var c={"%FE%FF":"\uFFFD\uFFFD","%FF%FE":"\uFFFD\uFFFD"},u=t.exec(r);u;){try{c[u[0]]=decodeURIComponent(u[0])}catch(E){var a=s(u[0]);a!==u[0]&&(c[u[0]]=a)}u=t.exec(r)}c["%C2"]="\uFFFD";for(var d=Object.keys(c),h=0;h<d.length;h++){var p=d[h];r=r.replace(new RegExp(p,"g"),c[p])}return r}L.exports=function(r){if(typeof r!="string")throw new TypeError("Expected `encodedURI` to be of type `string`, got `"+typeof r+"`");try{return r=r.replace(/\+/g," "),decodeURIComponent(r)}catch(c){return o(r)}}},9996:L=>{"use strict";var n=function(m){return e(m)&&!t(m)};function e(b){return!!b&&typeof b=="object"}function t(b){var m=Object.prototype.toString.call(b);return m==="[object RegExp]"||m==="[object Date]"||o(b)}var l=typeof Symbol=="function"&&Symbol.for,s=l?Symbol.for("react.element"):60103;function o(b){return b.$$typeof===s}function r(b){return Array.isArray(b)?[]:{}}function c(b,m){return m.clone!==!1&&m.isMergeableObject(b)?S(r(b),b,m):b}function u(b,m,y){return b.concat(m).map(function(O){return c(O,y)})}function a(b,m){if(!m.customMerge)return S;var y=m.customMerge(b);return typeof y=="function"?y:S}function d(b){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(b).filter(function(m){return b.propertyIsEnumerable(m)}):[]}function h(b){return Object.keys(b).concat(d(b))}function p(b,m){try{return m in b}catch(y){return!1}}function E(b,m){return p(b,m)&&!(Object.hasOwnProperty.call(b,m)&&Object.propertyIsEnumerable.call(b,m))}function T(b,m,y){var O={};return y.isMergeableObject(b)&&h(b).forEach(function(C){O[C]=c(b[C],y)}),h(m).forEach(function(C){E(b,C)||(p(b,C)&&y.isMergeableObject(m[C])?O[C]=a(C,y)(b[C],m[C],y):O[C]=c(m[C],y))}),O}function S(b,m,y){y=y||{},y.arrayMerge=y.arrayMerge||u,y.isMergeableObject=y.isMergeableObject||n,y.cloneUnlessOtherwiseSpecified=c;var O=Array.isArray(m),C=Array.isArray(b),A=O===C;return A?O?y.arrayMerge(b,m,y):T(b,m,y):c(m,y)}S.all=function(m,y){if(!Array.isArray(m))throw new Error("first argument should be an array");return m.reduce(function(O,C){return S(O,C,y)},{})};var v=S;L.exports=v},27856:function(L){/*! @license DOMPurify | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/2.2.2/LICENSE */(function(n,e){L.exports=e()})(this,function(){"use strict";function n(ue){if(Array.isArray(ue)){for(var Ce=0,et=Array(ue.length);Ce<ue.length;Ce++)et[Ce]=ue[Ce];return et}else return Array.from(ue)}var e=Object.hasOwnProperty,t=Object.setPrototypeOf,l=Object.isFrozen,s=Object.getPrototypeOf,o=Object.getOwnPropertyDescriptor,r=Object.freeze,c=Object.seal,u=Object.create,a=typeof Reflect!="undefined"&&Reflect,d=a.apply,h=a.construct;d||(d=function(Ce,et,Pe){return Ce.apply(et,Pe)}),r||(r=function(Ce){return Ce}),c||(c=function(Ce){return Ce}),h||(h=function(Ce,et){return new(Function.prototype.bind.apply(Ce,[null].concat(n(et))))});var p=A(Array.prototype.forEach),E=A(Array.prototype.pop),T=A(Array.prototype.push),S=A(String.prototype.toLowerCase),v=A(String.prototype.match),b=A(String.prototype.replace),m=A(String.prototype.indexOf),y=A(String.prototype.trim),O=A(RegExp.prototype.test),C=w(TypeError);function A(ue){return function(Ce){for(var et=arguments.length,Pe=Array(et>1?et-1:0),X=1;X<et;X++)Pe[X-1]=arguments[X];return d(ue,Ce,Pe)}}function w(ue){return function(){for(var Ce=arguments.length,et=Array(Ce),Pe=0;Pe<Ce;Pe++)et[Pe]=arguments[Pe];return h(ue,et)}}function x(ue,Ce){t&&t(ue,null);for(var et=Ce.length;et--;){var Pe=Ce[et];if(typeof Pe=="string"){var X=S(Pe);X!==Pe&&(l(Ce)||(Ce[et]=X),Pe=X)}ue[Pe]=!0}return ue}function R(ue){var Ce=u(null),et=void 0;for(et in ue)d(e,ue,[et])&&(Ce[et]=ue[et]);return Ce}function g(ue,Ce){for(;ue!==null;){var et=o(ue,Ce);if(et){if(et.get)return A(et.get);if(typeof et.value=="function")return A(et.value)}ue=s(ue)}function Pe(X){return console.warn("fallback value for",X),null}return Pe}var k=r(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),G=r(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),Z=r(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),oe=r(["animate","color-profile","cursor","discard","fedropshadow","feimage","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),ee=r(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover"]),Ee=r(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),Fe=r(["#text"]),ce=r(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","xmlns","slot"]),te=r(["accent-height","accumulate","additive","alignment-baseline","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","targetx","targety","transform","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),he=r(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),Q=r(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),B=c(/\{\{[\s\S]*|[\s\S]*\}\}/gm),J=c(/<%[\s\S]*|[\s\S]*%>/gm),re=c(/^data-[\-\w.\u00B7-\uFFFF]/),W=c(/^aria-[\-\w]+$/),V=c(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),ae=c(/^(?:\w+script|data):/i),pe=c(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),Se=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(ue){return typeof ue}:function(ue){return ue&&typeof Symbol=="function"&&ue.constructor===Symbol&&ue!==Symbol.prototype?"symbol":typeof ue};function De(ue){if(Array.isArray(ue)){for(var Ce=0,et=Array(ue.length);Ce<ue.length;Ce++)et[Ce]=ue[Ce];return et}else return Array.from(ue)}var nt=function(){return typeof window=="undefined"?null:window},Me=function(Ce,et){if((typeof Ce=="undefined"?"undefined":Se(Ce))!=="object"||typeof Ce.createPolicy!="function")return null;var Pe=null,X="data-tt-policy-suffix";et.currentScript&&et.currentScript.hasAttribute(X)&&(Pe=et.currentScript.getAttribute(X));var _="dompurify"+(Pe?"#"+Pe:"");try{return Ce.createPolicy(_,{createHTML:function(H){return H}})}catch($){return console.warn("TrustedTypes policy "+_+" could not be created."),null}};function _e(){var ue=arguments.length>0&&arguments[0]!==void 0?arguments[0]:nt(),Ce=function(It){return _e(It)};if(Ce.version="2.2.9",Ce.removed=[],!ue||!ue.document||ue.document.nodeType!==9)return Ce.isSupported=!1,Ce;var et=ue.document,Pe=ue.document,X=ue.DocumentFragment,_=ue.HTMLTemplateElement,$=ue.Node,H=ue.Element,I=ue.NodeFilter,ve=ue.NamedNodeMap,$e=ve===void 0?ue.NamedNodeMap||ue.MozNamedAttrMap:ve,be=ue.Text,Te=ue.Comment,Le=ue.DOMParser,ke=ue.trustedTypes,at=H.prototype,xt=g(at,"cloneNode"),qe=g(at,"nextSibling"),q=g(at,"childNodes"),ne=g(at,"parentNode");if(typeof _=="function"){var ie=Pe.createElement("template");ie.content&&ie.content.ownerDocument&&(Pe=ie.content.ownerDocument)}var K=Me(ke,et),we=K&&Mt?K.createHTML(""):"",He=Pe,Je=He.implementation,ft=He.createNodeIterator,At=He.createDocumentFragment,Lt=et.importNode,Yt={};try{Yt=R(Pe).documentMode?Pe.documentMode:{}}catch(ln){}var Vt={};Ce.isSupported=typeof ne=="function"&&Je&&typeof Je.createHTMLDocument!="undefined"&&Yt!==9;var ze=B,dt=J,bt=re,pt=W,Ct=ae,$t=pe,fn=V,cn=null,Rn=x({},[].concat(De(k),De(G),De(Z),De(ee),De(Fe))),Ke=null,Ue=x({},[].concat(De(ce),De(te),De(he),De(Q))),it=null,Et=null,Ot=!0,dn=!0,Ln=!1,$n=!1,An=!1,Gn=!1,Pn=!1,Ze=!1,ut=!1,Pt=!0,Mt=!1,zt=!0,Zt=!0,Qe=!1,ot={},Xe=x({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]),st=null,wt=x({},["audio","video","img","source","image","track"]),tn=null,qt=x({},["alt","class","for","id","label","name","pattern","placeholder","summary","title","value","style","xmlns"]),bn="http://www.w3.org/1998/Math/MathML",Fn="http://www.w3.org/2000/svg",Nn="http://www.w3.org/1999/xhtml",rr=Nn,jn=!1,En=null,Xn=Pe.createElement("form"),kn=function(It){En&&En===It||((!It||(typeof It=="undefined"?"undefined":Se(It))!=="object")&&(It={}),It=R(It),cn="ALLOWED_TAGS"in It?x({},It.ALLOWED_TAGS):Rn,Ke="ALLOWED_ATTR"in It?x({},It.ALLOWED_ATTR):Ue,tn="ADD_URI_SAFE_ATTR"in It?x(R(qt),It.ADD_URI_SAFE_ATTR):qt,st="ADD_DATA_URI_TAGS"in It?x(R(wt),It.ADD_DATA_URI_TAGS):wt,it="FORBID_TAGS"in It?x({},It.FORBID_TAGS):{},Et="FORBID_ATTR"in It?x({},It.FORBID_ATTR):{},ot="USE_PROFILES"in It?It.USE_PROFILES:!1,Ot=It.ALLOW_ARIA_ATTR!==!1,dn=It.ALLOW_DATA_ATTR!==!1,Ln=It.ALLOW_UNKNOWN_PROTOCOLS||!1,$n=It.SAFE_FOR_TEMPLATES||!1,An=It.WHOLE_DOCUMENT||!1,Ze=It.RETURN_DOM||!1,ut=It.RETURN_DOM_FRAGMENT||!1,Pt=It.RETURN_DOM_IMPORT!==!1,Mt=It.RETURN_TRUSTED_TYPE||!1,Pn=It.FORCE_BODY||!1,zt=It.SANITIZE_DOM!==!1,Zt=It.KEEP_CONTENT!==!1,Qe=It.IN_PLACE||!1,fn=It.ALLOWED_URI_REGEXP||fn,rr=It.NAMESPACE||Nn,$n&&(dn=!1),ut&&(Ze=!0),ot&&(cn=x({},[].concat(De(Fe))),Ke=[],ot.html===!0&&(x(cn,k),x(Ke,ce)),ot.svg===!0&&(x(cn,G),x(Ke,te),x(Ke,Q)),ot.svgFilters===!0&&(x(cn,Z),x(Ke,te),x(Ke,Q)),ot.mathMl===!0&&(x(cn,ee),x(Ke,he),x(Ke,Q))),It.ADD_TAGS&&(cn===Rn&&(cn=R(cn)),x(cn,It.ADD_TAGS)),It.ADD_ATTR&&(Ke===Ue&&(Ke=R(Ke)),x(Ke,It.ADD_ATTR)),It.ADD_URI_SAFE_ATTR&&x(tn,It.ADD_URI_SAFE_ATTR),Zt&&(cn["#text"]=!0),An&&x(cn,["html","head","body"]),cn.table&&(x(cn,["tbody"]),delete it.tbody),r&&r(It),En=It)},On=x({},["mi","mo","mn","ms","mtext"]),Yn=x({},["foreignobject","desc","title","annotation-xml"]),Hn=x({},G);x(Hn,Z),x(Hn,oe);var xn=x({},ee);x(xn,Ee);var hr=function(It){var pn=ne(It);(!pn||!pn.tagName)&&(pn={namespaceURI:Nn,tagName:"template"});var vn=S(It.tagName),er=S(pn.tagName);if(It.namespaceURI===Fn)return pn.namespaceURI===Nn?vn==="svg":pn.namespaceURI===bn?vn==="svg"&&(er==="annotation-xml"||On[er]):Boolean(Hn[vn]);if(It.namespaceURI===bn)return pn.namespaceURI===Nn?vn==="math":pn.namespaceURI===Fn?vn==="math"&&Yn[er]:Boolean(xn[vn]);if(It.namespaceURI===Nn){if(pn.namespaceURI===Fn&&!Yn[er]||pn.namespaceURI===bn&&!On[er])return!1;var ar=x({},["title","style","font","a","script"]);return!xn[vn]&&(ar[vn]||!Hn[vn])}return!1},sr=function(It){T(Ce.removed,{element:It});try{It.parentNode.removeChild(It)}catch(pn){try{It.outerHTML=we}catch(vn){It.remove()}}},ur=function(It,pn){try{T(Ce.removed,{attribute:pn.getAttributeNode(It),from:pn})}catch(vn){T(Ce.removed,{attribute:null,from:pn})}if(pn.removeAttribute(It),It==="is"&&!Ke[It])if(Ze||ut)try{sr(pn)}catch(vn){}else try{pn.setAttribute(It,"")}catch(vn){}},Qn=function(It){var pn=void 0,vn=void 0;if(Pn)It="<remove></remove>"+It;else{var er=v(It,/^[\r\n\t ]+/);vn=er&&er[0]}var ar=K?K.createHTML(It):It;if(rr===Nn)try{pn=new Le().parseFromString(ar,"text/html")}catch(Ye){}if(!pn||!pn.documentElement){pn=Je.createDocument(rr,"template",null);try{pn.documentElement.innerHTML=jn?"":ar}catch(Ye){}}var nr=pn.body||pn.documentElement;return It&&vn&&nr.insertBefore(Pe.createTextNode(vn),nr.childNodes[0]||null),An?pn.documentElement:nr},vr=function(It){return ft.call(It.ownerDocument||It,It,I.SHOW_ELEMENT|I.SHOW_COMMENT|I.SHOW_TEXT,null,!1)},Dr=function(It){return It instanceof be||It instanceof Te?!1:typeof It.nodeName!="string"||typeof It.textContent!="string"||typeof It.removeChild!="function"||!(It.attributes instanceof $e)||typeof It.removeAttribute!="function"||typeof It.setAttribute!="function"||typeof It.namespaceURI!="string"||typeof It.insertBefore!="function"},jr=function(It){return(typeof $=="undefined"?"undefined":Se($))==="object"?It instanceof $:It&&(typeof It=="undefined"?"undefined":Se(It))==="object"&&typeof It.nodeType=="number"&&typeof It.nodeName=="string"},Er=function(It,pn,vn){!Vt[It]||p(Vt[It],function(er){er.call(Ce,pn,vn,En)})},Vr=function(It){var pn=void 0;if(Er("beforeSanitizeElements",It,null),Dr(It)||v(It.nodeName,/[\u0080-\uFFFF]/))return sr(It),!0;var vn=S(It.nodeName);if(Er("uponSanitizeElement",It,{tagName:vn,allowedTags:cn}),!jr(It.firstElementChild)&&(!jr(It.content)||!jr(It.content.firstElementChild))&&O(/<[/\w]/g,It.innerHTML)&&O(/<[/\w]/g,It.textContent))return sr(It),!0;if(!cn[vn]||it[vn]){if(Zt&&!Xe[vn]){var er=ne(It)||It.parentNode,ar=q(It)||It.childNodes;if(ar&&er)for(var nr=ar.length,Ye=nr-1;Ye>=0;--Ye)er.insertBefore(xt(ar[Ye],!0),qe(It))}return sr(It),!0}return It instanceof H&&!hr(It)||(vn==="noscript"||vn==="noembed")&&O(/<\/no(script|embed)/i,It.innerHTML)?(sr(It),!0):($n&&It.nodeType===3&&(pn=It.textContent,pn=b(pn,ze," "),pn=b(pn,dt," "),It.textContent!==pn&&(T(Ce.removed,{element:It.cloneNode()}),It.textContent=pn)),Er("afterSanitizeElements",It,null),!1)},Sr=function(It,pn,vn){if(zt&&(pn==="id"||pn==="name")&&(vn in Pe||vn in Xn))return!1;if(!(dn&&O(bt,pn))){if(!(Ot&&O(pt,pn))){if(!Ke[pn]||Et[pn])return!1;if(!tn[pn]){if(!O(fn,b(vn,$t,""))){if(!((pn==="src"||pn==="xlink:href"||pn==="href")&&It!=="script"&&m(vn,"data:")===0&&st[It])){if(!(Ln&&!O(Ct,b(vn,$t,"")))){if(vn)return!1}}}}}}return!0},Tr=function(It){var pn=void 0,vn=void 0,er=void 0,ar=void 0;Er("beforeSanitizeAttributes",It,null);var nr=It.attributes;if(!!nr){var Ye={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:Ke};for(ar=nr.length;ar--;){pn=nr[ar];var ye=pn,Re=ye.name,gt=ye.namespaceURI;if(vn=y(pn.value),er=S(Re),Ye.attrName=er,Ye.attrValue=vn,Ye.keepAttr=!0,Ye.forceKeepAttr=void 0,Er("uponSanitizeAttribute",It,Ye),vn=Ye.attrValue,!Ye.forceKeepAttr&&(ur(Re,It),!!Ye.keepAttr)){if(O(/\/>/i,vn)){ur(Re,It);continue}$n&&(vn=b(vn,ze," "),vn=b(vn,dt," "));var We=It.nodeName.toLowerCase();if(!!Sr(We,er,vn))try{gt?It.setAttributeNS(gt,Re,vn):It.setAttribute(Re,vn),E(Ce.removed)}catch(Qt){}}}Er("afterSanitizeAttributes",It,null)}},qn=function ln(It){var pn=void 0,vn=vr(It);for(Er("beforeSanitizeShadowDOM",It,null);pn=vn.nextNode();)Er("uponSanitizeShadowNode",pn,null),!Vr(pn)&&(pn.content instanceof X&&ln(pn.content),Tr(pn));Er("afterSanitizeShadowDOM",It,null)};return Ce.sanitize=function(ln,It){var pn=void 0,vn=void 0,er=void 0,ar=void 0,nr=void 0;if(jn=!ln,jn&&(ln="<!-->"),typeof ln!="string"&&!jr(ln)){if(typeof ln.toString!="function")throw C("toString is not a function");if(ln=ln.toString(),typeof ln!="string")throw C("dirty is not a string, aborting")}if(!Ce.isSupported){if(Se(ue.toStaticHTML)==="object"||typeof ue.toStaticHTML=="function"){if(typeof ln=="string")return ue.toStaticHTML(ln);if(jr(ln))return ue.toStaticHTML(ln.outerHTML)}return ln}if(Gn||kn(It),Ce.removed=[],typeof ln=="string"&&(Qe=!1),!Qe)if(ln instanceof $)pn=Qn("<!---->"),vn=pn.ownerDocument.importNode(ln,!0),vn.nodeType===1&&vn.nodeName==="BODY"||vn.nodeName==="HTML"?pn=vn:pn.appendChild(vn);else{if(!Ze&&!$n&&!An&&ln.indexOf("<")===-1)return K&&Mt?K.createHTML(ln):ln;if(pn=Qn(ln),!pn)return Ze?null:we}pn&&Pn&&sr(pn.firstChild);for(var Ye=vr(Qe?ln:pn);er=Ye.nextNode();)er.nodeType===3&&er===ar||Vr(er)||(er.content instanceof X&&qn(er.content),Tr(er),ar=er);if(ar=null,Qe)return ln;if(Ze){if(ut)for(nr=At.call(pn.ownerDocument);pn.firstChild;)nr.appendChild(pn.firstChild);else nr=pn;return Pt&&(nr=Lt.call(et,nr,!0)),nr}var ye=An?pn.outerHTML:pn.innerHTML;return $n&&(ye=b(ye,ze," "),ye=b(ye,dt," ")),K&&Mt?K.createHTML(ye):ye},Ce.setConfig=function(ln){kn(ln),Gn=!0},Ce.clearConfig=function(){En=null,Gn=!1},Ce.isValidAttribute=function(ln,It,pn){En||kn({});var vn=S(ln),er=S(It);return Sr(vn,er,pn)},Ce.addHook=function(ln,It){typeof It=="function"&&(Vt[ln]=Vt[ln]||[],T(Vt[ln],It))},Ce.removeHook=function(ln){Vt[ln]&&E(Vt[ln])},Ce.removeHooks=function(ln){Vt[ln]&&(Vt[ln]=[])},Ce.removeAllHooks=function(){Vt={}},Ce}var j=_e();return j})},46538:(L,n,e)=>{"use strict";e.d(n,{F5:()=>g,y$:()=>T,__:()=>S});var t=e(67294),l=e(67239),s=e(5276),o=e(78722),r=e(17828),c=e(13066),u=e(63909),a=e(39589),d=e(23485),h=e(24177),p=e(25973);const E=d.ZP.div`
|
|
110
110
|
display: flex;
|
|
111
111
|
justify-content: space-between;
|
|
112
112
|
margin-bottom: 10px;
|
|
@@ -365,7 +365,7 @@ globstar while`,x,ce,R,te,he),this.matchOne(x.slice(ce),R.slice(te),g))return th
|
|
|
365
365
|
.loading &:not(.updated) {
|
|
366
366
|
opacity: 0.5;
|
|
367
367
|
}
|
|
368
|
-
`;var a=e(67294);const d=(0,l.Pi)(({children:v,onChange:b,defaultLanguage:m,id:y,tabs:O,operation:C})=>{const A=(0,t.useContext)(o.StoreContext),[w,x]=(0,t.useState)(m),[R,g]=(0,t.useState)(),k=(0,t.useMemo)(()=>{const oe=O.findIndex(ee=>[A==null?void 0:A.activeSampleLanguage,w].includes(ee.key)||ee.lang===(A==null?void 0:A.activeSampleLanguage));return oe===-1?0:oe},[O,w,A==null?void 0:A.activeSampleLanguage]),G=(0,t.useMemo)(()=>O.map(({lang:oe})=>oe),[O]);(0,t.useLayoutEffect)(()=>{var oe;const ee=(oe=document.getElementById(y))==null?void 0:oe.getBoundingClientRect().y;if(ee&&R&&ee!==R){const Ee=ee-R;window.requestAnimationFrame(()=>window.scrollBy(0,Ee)),g(void 0)}},[G,R,y]),(0,t.useEffect)(()=>A==null?void 0:A.stopLoader(),[A==null?void 0:A.activeSampleLanguage]),(0,t.useEffect)(()=>{w&&(A==null||A.startLoader(),A==null||A.activateSampleLanguage(w))},[w,m]);const Z=(0,t.useCallback)(oe=>{var ee;const Ee=O[oe];g((ee=document.getElementById(y))==null?void 0:ee.getBoundingClientRect().y),x(Ee.key),b&&b(Ee)},[y,b,O]);return a.createElement(u,{className:w&&"updated",id:y},a.createElement(s.JP,{tabs:O,operation:C,activeIndex:k,onChange:Z},m&&G.indexOf(m)===-1&&a.createElement(r.fn,null,"Provided language is not supported"),v))});var h=e(39713),p=e(21096),E=e(67294);const T=({exampleKey:v,examples:b,onChange:m})=>{var y,O;const C=Object.keys(b),A=v?C.indexOf(v):0,[w,x]=(0,t.useState)(A>-1?A:0);(0,t.useEffect)(()=>x(A>-1?A:0),[v,A]);const R=C.map((k,G)=>({value:b[k].summary||k,idx:G})),g=({idx:k})=>{x(k),m(C[k])};return E.createElement(E.Fragment,null,((y=R[w])==null?void 0:y.value)!=="default"&&E.createElement(h.NI,{"data-cy":"example-switch"},E.createElement(p.Dropdown,{variant:"dark",fullWidth:!0,options:R,value:(O=R[w])==null?void 0:O.value,onChange:g})),v&&A===-1&&E.createElement(r.fn,null,"Provided sample not found"))};function S({activeExampleName:v,defaultExampleName:b}={},m){const[y,O]=(0,t.useState)(v&&m[v]?v:Object.keys(m)[0]);return(0,t.useEffect)(()=>{v&&m[v]&&O(v)},[v,m]),{exampleKey:m[y]?y:Object.keys(m)[0],defaultExampleName:b}}},11773:(L,n,e)=>{"use strict";e.d(n,{vo:()=>Vt,JP:()=>ke,x4:()=>$});var t=e(67294);function l(ze){return function(dt){return!!dt.type&&dt.type.tabsRole===ze}}var s=l("Tab"),o=l("TabList"),r=l("TabPanel");function c(){return c=Object.assign||function(ze){for(var dt=1;dt<arguments.length;dt++){var bt=arguments[dt];for(var pt in bt)Object.prototype.hasOwnProperty.call(bt,pt)&&(ze[pt]=bt[pt])}return ze},c.apply(this,arguments)}function u(ze){return s(ze)||o(ze)||r(ze)}function a(ze,dt){return t.Children.map(ze,function(bt){return bt===null?null:u(bt)?dt(bt):bt.props&&bt.props.children&&typeof bt.props.children=="object"?(0,t.cloneElement)(bt,c({},bt.props,{children:a(bt.props.children,dt)})):bt})}function d(ze,dt){return t.Children.forEach(ze,function(bt){bt!==null&&(s(bt)||r(bt)?dt(bt):bt.props&&bt.props.children&&typeof bt.props.children=="object"&&(o(bt)&&dt(bt),d(bt.props.children,dt)))})}function h(ze,dt,bt){var pt,Ct=0,$t=0,dn=!1,un=[],Cn=ze[dt];return deepForEach(Cn,function(Ke){isTabList(Ke)&&(Ke.props&&Ke.props.children&&typeof Ke.props.children=="object"&&deepForEach(Ke.props.children,function(Be){return un.push(Be)}),dn&&(pt=new Error("Found multiple 'TabList' components inside 'Tabs'. Only one is allowed.")),dn=!0),isTab(Ke)?((!dn||un.indexOf(Ke)===-1)&&(pt=new Error("Found a 'Tab' component outside of the 'TabList' component. 'Tab' components have to be inside the 'TabList' component.")),Ct++):isTabPanel(Ke)&&$t++}),!pt&&Ct!==$t&&(pt=new Error("There should be an equal number of 'Tab' and 'TabPanel' in `"+bt+"`. "+("Received "+Ct+" 'Tab' and "+$t+" 'TabPanel'."))),pt}function p(ze,dt,bt,pt,Ct){var $t=ze[dt],dn=Ct||dt,un=null;return $t&&typeof $t!="function"?un=new Error("Invalid "+pt+" `"+dn+"` of type `"+typeof $t+"` supplied "+("to `"+bt+"`, expected `function`.")):ze.selectedIndex!=null&&$t==null&&(un=new Error("The "+pt+" `"+dn+"` is marked as required in `"+bt+"`, but its value is `undefined` or `null`.\n`onSelect` is required when `selectedIndex` is also set. Not doing so will make the tabs not do anything, as `selectedIndex` indicates that you want to handle the selected tab yourself.\nIf you only want to set the inital tab replace `selectedIndex` with `defaultIndex`.")),un}function E(ze,dt,bt,pt,Ct){var $t=ze[dt],dn=Ct||dt,un=null;if($t!=null&&typeof $t!="number")un=new Error("Invalid "+pt+" `"+dn+"` of type `"+typeof $t+"` supplied to "+("`"+bt+"`, expected `number`."));else if(ze.defaultIndex!=null&&$t!=null)return new Error("The "+pt+" `"+dn+"` cannot be used together with `defaultIndex` "+("in `"+bt+"`.\n")+("Either remove `"+dn+"` to let `"+bt+"` handle the selected ")+"tab internally or remove `defaultIndex` to handle it yourself.");return un}function T(ze){var dt,bt,pt="";if(typeof ze=="string"||typeof ze=="number")pt+=ze;else if(typeof ze=="object")if(Array.isArray(ze))for(dt=0;dt<ze.length;dt++)ze[dt]&&(bt=T(ze[dt]))&&(pt&&(pt+=" "),pt+=bt);else for(dt in ze)ze[dt]&&(pt&&(pt+=" "),pt+=dt);return pt}function S(){for(var ze=0,dt,bt,pt="";ze<arguments.length;)(dt=arguments[ze++])&&(bt=T(dt))&&(pt&&(pt+=" "),pt+=bt);return pt}var v=0;function b(){return"react-tabs-"+v++}function m(){v=0}function y(ze){var dt=0;return d(ze,function(bt){s(bt)&&dt++}),dt}function O(ze){var dt=0;return d(ze,function(bt){r(bt)&&dt++}),dt}function C(){return C=Object.assign||function(ze){for(var dt=1;dt<arguments.length;dt++){var bt=arguments[dt];for(var pt in bt)Object.prototype.hasOwnProperty.call(bt,pt)&&(ze[pt]=bt[pt])}return ze},C.apply(this,arguments)}function A(ze,dt){if(ze==null)return{};var bt={},pt=Object.keys(ze),Ct,$t;for($t=0;$t<pt.length;$t++)Ct=pt[$t],!(dt.indexOf(Ct)>=0)&&(bt[Ct]=ze[Ct]);return bt}function w(ze,dt){ze.prototype=Object.create(dt.prototype),ze.prototype.constructor=ze,x(ze,dt)}function x(ze,dt){return x=Object.setPrototypeOf||function(pt,Ct){return pt.__proto__=Ct,pt},x(ze,dt)}function R(ze){return ze&&"getAttribute"in ze}function g(ze){return R(ze)&&ze.getAttribute("role")==="tab"}function k(ze){return R(ze)&&ze.getAttribute("aria-disabled")==="true"}var G;function Z(ze){var dt=ze||(typeof window!="undefined"?window:void 0);try{G=!!(typeof dt!="undefined"&&dt.document&&dt.document.activeElement)}catch(bt){G=!1}}var oe=function(ze){w(dt,ze);function dt(){for(var pt,Ct=arguments.length,$t=new Array(Ct),dn=0;dn<Ct;dn++)$t[dn]=arguments[dn];return pt=ze.call.apply(ze,[this].concat($t))||this,pt.tabNodes=[],pt.handleKeyDown=function(un){var Cn=pt.props,Ke=Cn.direction,Be=Cn.disableUpDownKeys;if(pt.isTabFromContainer(un.target)){var it=pt.props.selectedIndex,Et=!1,Ot=!1;(un.keyCode===32||un.keyCode===13)&&(Et=!0,Ot=!1,pt.handleClick(un)),un.keyCode===37||!Be&&un.keyCode===38?(Ke==="rtl"?it=pt.getNextTab(it):it=pt.getPrevTab(it),Et=!0,Ot=!0):un.keyCode===39||!Be&&un.keyCode===40?(Ke==="rtl"?it=pt.getPrevTab(it):it=pt.getNextTab(it),Et=!0,Ot=!0):un.keyCode===35?(it=pt.getLastTab(),Et=!0,Ot=!0):un.keyCode===36&&(it=pt.getFirstTab(),Et=!0,Ot=!0),Et&&un.preventDefault(),Ot&&pt.setSelected(it,un)}},pt.handleClick=function(un){var Cn=un.target;do if(pt.isTabFromContainer(Cn)){if(k(Cn))return;var Ke=[].slice.call(Cn.parentNode.children).filter(g).indexOf(Cn);pt.setSelected(Ke,un);return}while((Cn=Cn.parentNode)!=null)},pt}var bt=dt.prototype;return bt.setSelected=function(Ct,$t){if(!(Ct<0||Ct>=this.getTabsCount())){var dn=this.props,un=dn.onSelect,Cn=dn.selectedIndex;un(Ct,Cn,$t)}},bt.getNextTab=function(Ct){for(var $t=this.getTabsCount(),dn=Ct+1;dn<$t;dn++)if(!k(this.getTab(dn)))return dn;for(var un=0;un<Ct;un++)if(!k(this.getTab(un)))return un;return Ct},bt.getPrevTab=function(Ct){for(var $t=Ct;$t--;)if(!k(this.getTab($t)))return $t;for($t=this.getTabsCount();$t-- >Ct;)if(!k(this.getTab($t)))return $t;return Ct},bt.getFirstTab=function(){for(var Ct=this.getTabsCount(),$t=0;$t<Ct;$t++)if(!k(this.getTab($t)))return $t;return null},bt.getLastTab=function(){for(var Ct=this.getTabsCount();Ct--;)if(!k(this.getTab(Ct)))return Ct;return null},bt.getTabsCount=function(){var Ct=this.props.children;return y(Ct)},bt.getPanelsCount=function(){var Ct=this.props.children;return O(Ct)},bt.getTab=function(Ct){return this.tabNodes["tabs-"+Ct]},bt.getChildren=function(){var Ct=this,$t=0,dn=this.props,un=dn.children,Cn=dn.disabledTabClassName,Ke=dn.focus,Be=dn.forceRenderTabPanel,it=dn.selectedIndex,Et=dn.selectedTabClassName,Ot=dn.selectedTabPanelClassName,cn=dn.environment;this.tabIds=this.tabIds||[],this.panelIds=this.panelIds||[];for(var Mn=this.tabIds.length-this.getTabsCount();Mn++<0;)this.tabIds.push(b()),this.panelIds.push(b());return a(un,function(Dn){var Rn=Dn;if(o(Dn)){var Gn=0,Pn=!1;G==null&&Z(cn),G&&(Pn=t.Children.toArray(Dn.props.children).filter(s).some(function(ut,Pt){var Mt=cn||(typeof window!="undefined"?window:void 0);return Mt&&Mt.document.activeElement===Ct.getTab(Pt)})),Rn=(0,t.cloneElement)(Dn,{children:a(Dn.props.children,function(ut){var Pt="tabs-"+Gn,Mt=it===Gn,zt={tabRef:function(Qe){Ct.tabNodes[Pt]=Qe},id:Ct.tabIds[Gn],panelId:Ct.panelIds[Gn],selected:Mt,focus:Mt&&(Ke||Pn)};return Et&&(zt.selectedClassName=Et),Cn&&(zt.disabledClassName=Cn),Gn++,(0,t.cloneElement)(ut,zt)})})}else if(r(Dn)){var Ze={id:Ct.panelIds[$t],tabId:Ct.tabIds[$t],selected:it===$t};Be&&(Ze.forceRender=Be),Ot&&(Ze.selectedClassName=Ot),$t++,Rn=(0,t.cloneElement)(Dn,Ze)}return Rn})},bt.isTabFromContainer=function(Ct){if(!g(Ct))return!1;var $t=Ct.parentElement;do{if($t===this.node)return!0;if($t.getAttribute("data-tabs"))break;$t=$t.parentElement}while($t);return!1},bt.render=function(){var Ct=this,$t=this.props,dn=$t.children,un=$t.className,Cn=$t.disabledTabClassName,Ke=$t.domRef,Be=$t.focus,it=$t.forceRenderTabPanel,Et=$t.onSelect,Ot=$t.selectedIndex,cn=$t.selectedTabClassName,Mn=$t.selectedTabPanelClassName,Dn=$t.environment,Rn=$t.disableUpDownKeys,Gn=A($t,["children","className","disabledTabClassName","domRef","focus","forceRenderTabPanel","onSelect","selectedIndex","selectedTabClassName","selectedTabPanelClassName","environment","disableUpDownKeys"]);return t.createElement("div",C({},Gn,{className:S(un),onClick:this.handleClick,onKeyDown:this.handleKeyDown,ref:function(Ze){Ct.node=Ze,Ke&&Ke(Ze)},"data-tabs":!0}),this.getChildren())},dt}(t.Component);oe.defaultProps={className:"react-tabs",focus:!1},oe.propTypes={};function ee(ze,dt){if(ze==null)return{};var bt={},pt=Object.keys(ze),Ct,$t;for($t=0;$t<pt.length;$t++)Ct=pt[$t],!(dt.indexOf(Ct)>=0)&&(bt[Ct]=ze[Ct]);return bt}function Ee(ze,dt){ze.prototype=Object.create(dt.prototype),ze.prototype.constructor=ze,Fe(ze,dt)}function Fe(ze,dt){return Fe=Object.setPrototypeOf||function(pt,Ct){return pt.__proto__=Ct,pt},Fe(ze,dt)}var ce=0,te=1,he=function(ze){Ee(dt,ze);function dt(pt){var Ct;return Ct=ze.call(this,pt)||this,Ct.handleSelected=function($t,dn,un){var Cn=Ct.props.onSelect,Ke=Ct.state.mode;if(!(typeof Cn=="function"&&Cn($t,dn,un)===!1)){var Be={focus:un.type==="keydown"};Ke===te&&(Be.selectedIndex=$t),Ct.setState(Be)}},Ct.state=dt.copyPropsToState(Ct.props,{},pt.defaultFocus),Ct}dt.getDerivedStateFromProps=function(Ct,$t){return dt.copyPropsToState(Ct,$t)},dt.getModeFromProps=function(Ct){return Ct.selectedIndex===null?te:ce},dt.copyPropsToState=function(Ct,$t,dn){dn===void 0&&(dn=!1);var un={focus:dn,mode:dt.getModeFromProps(Ct)};if(un.mode===te){var Cn=Math.max(0,y(Ct.children)-1),Ke=null;$t.selectedIndex!=null?Ke=Math.min($t.selectedIndex,Cn):Ke=Ct.defaultIndex||0,un.selectedIndex=Ke}return un};var bt=dt.prototype;return bt.render=function(){var Ct=this.props,$t=Ct.children,dn=Ct.defaultIndex,un=Ct.defaultFocus,Cn=ee(Ct,["children","defaultIndex","defaultFocus"]),Ke=this.state,Be=Ke.focus,it=Ke.selectedIndex;return Cn.focus=Be,Cn.onSelect=this.handleSelected,it!=null&&(Cn.selectedIndex=it),t.createElement(oe,Cn,$t)},dt}(t.Component);he.defaultProps={defaultFocus:!1,forceRenderTabPanel:!1,selectedIndex:null,defaultIndex:null,environment:null,disableUpDownKeys:!1},he.propTypes={},he.tabsRole="Tabs";function Q(){return Q=Object.assign||function(ze){for(var dt=1;dt<arguments.length;dt++){var bt=arguments[dt];for(var pt in bt)Object.prototype.hasOwnProperty.call(bt,pt)&&(ze[pt]=bt[pt])}return ze},Q.apply(this,arguments)}function B(ze,dt){if(ze==null)return{};var bt={},pt=Object.keys(ze),Ct,$t;for($t=0;$t<pt.length;$t++)Ct=pt[$t],!(dt.indexOf(Ct)>=0)&&(bt[Ct]=ze[Ct]);return bt}function J(ze,dt){ze.prototype=Object.create(dt.prototype),ze.prototype.constructor=ze,re(ze,dt)}function re(ze,dt){return re=Object.setPrototypeOf||function(pt,Ct){return pt.__proto__=Ct,pt},re(ze,dt)}var W=function(ze){J(dt,ze);function dt(){return ze.apply(this,arguments)||this}var bt=dt.prototype;return bt.render=function(){var Ct=this.props,$t=Ct.children,dn=Ct.className,un=B(Ct,["children","className"]);return t.createElement("ul",Q({},un,{className:S(dn),role:"tablist"}),$t)},dt}(t.Component);W.defaultProps={className:"react-tabs__tab-list"},W.propTypes={},W.tabsRole="TabList";function V(){return V=Object.assign||function(ze){for(var dt=1;dt<arguments.length;dt++){var bt=arguments[dt];for(var pt in bt)Object.prototype.hasOwnProperty.call(bt,pt)&&(ze[pt]=bt[pt])}return ze},V.apply(this,arguments)}function ae(ze,dt){if(ze==null)return{};var bt={},pt=Object.keys(ze),Ct,$t;for($t=0;$t<pt.length;$t++)Ct=pt[$t],!(dt.indexOf(Ct)>=0)&&(bt[Ct]=ze[Ct]);return bt}function pe(ze,dt){ze.prototype=Object.create(dt.prototype),ze.prototype.constructor=ze,Se(ze,dt)}function Se(ze,dt){return Se=Object.setPrototypeOf||function(pt,Ct){return pt.__proto__=Ct,pt},Se(ze,dt)}var De="react-tabs__tab",nt=function(ze){pe(dt,ze);function dt(){return ze.apply(this,arguments)||this}var bt=dt.prototype;return bt.componentDidMount=function(){this.checkFocus()},bt.componentDidUpdate=function(){this.checkFocus()},bt.checkFocus=function(){var Ct=this.props,$t=Ct.selected,dn=Ct.focus;$t&&dn&&this.node.focus()},bt.render=function(){var Ct,$t=this,dn=this.props,un=dn.children,Cn=dn.className,Ke=dn.disabled,Be=dn.disabledClassName,it=dn.focus,Et=dn.id,Ot=dn.panelId,cn=dn.selected,Mn=dn.selectedClassName,Dn=dn.tabIndex,Rn=dn.tabRef,Gn=ae(dn,["children","className","disabled","disabledClassName","focus","id","panelId","selected","selectedClassName","tabIndex","tabRef"]);return t.createElement("li",V({},Gn,{className:S(Cn,(Ct={},Ct[Mn]=cn,Ct[Be]=Ke,Ct)),ref:function(Ze){$t.node=Ze,Rn&&Rn(Ze)},role:"tab",id:Et,"aria-selected":cn?"true":"false","aria-disabled":Ke?"true":"false","aria-controls":Ot,tabIndex:Dn||(cn?"0":null)}),un)},dt}(t.Component);nt.defaultProps={className:De,disabledClassName:De+"--disabled",focus:!1,id:null,panelId:null,selected:!1,selectedClassName:De+"--selected"},nt.propTypes={},nt.tabsRole="Tab";function Me(){return Me=Object.assign||function(ze){for(var dt=1;dt<arguments.length;dt++){var bt=arguments[dt];for(var pt in bt)Object.prototype.hasOwnProperty.call(bt,pt)&&(ze[pt]=bt[pt])}return ze},Me.apply(this,arguments)}function _e(ze,dt){if(ze==null)return{};var bt={},pt=Object.keys(ze),Ct,$t;for($t=0;$t<pt.length;$t++)Ct=pt[$t],!(dt.indexOf(Ct)>=0)&&(bt[Ct]=ze[Ct]);return bt}function j(ze,dt){ze.prototype=Object.create(dt.prototype),ze.prototype.constructor=ze,ue(ze,dt)}function ue(ze,dt){return ue=Object.setPrototypeOf||function(pt,Ct){return pt.__proto__=Ct,pt},ue(ze,dt)}var Ce="react-tabs__tab-panel",et=function(ze){j(dt,ze);function dt(){return ze.apply(this,arguments)||this}var bt=dt.prototype;return bt.render=function(){var Ct,$t=this.props,dn=$t.children,un=$t.className,Cn=$t.forceRender,Ke=$t.id,Be=$t.selected,it=$t.selectedClassName,Et=$t.tabId,Ot=_e($t,["children","className","forceRender","id","selected","selectedClassName","tabId"]);return t.createElement("div",Me({},Ot,{className:S(un,(Ct={},Ct[it]=Be,Ct)),role:"tabpanel",id:Ke,"aria-labelledby":Et}),Cn||Be?dn:null)},dt}(t.Component);et.defaultProps={className:Ce,forceRender:!1,selectedClassName:Ce+"--selected"},et.propTypes={},et.tabsRole="TabPanel";var Pe=e(23485);const X=(0,Pe.ZP)(W)`
|
|
368
|
+
`;var a=e(67294);const d=(0,l.Pi)(({children:v,onChange:b,defaultLanguage:m,id:y,tabs:O,operation:C})=>{const A=(0,t.useContext)(o.StoreContext),[w,x]=(0,t.useState)(m),[R,g]=(0,t.useState)(),k=(0,t.useMemo)(()=>{const oe=O.findIndex(ee=>[A==null?void 0:A.activeSampleLanguage,w].includes(ee.key)||ee.lang===(A==null?void 0:A.activeSampleLanguage));return oe===-1?0:oe},[O,w,A==null?void 0:A.activeSampleLanguage]),G=(0,t.useMemo)(()=>O.map(({lang:oe})=>oe),[O]);(0,t.useLayoutEffect)(()=>{var oe;const ee=(oe=document.getElementById(y))==null?void 0:oe.getBoundingClientRect().y;if(ee&&R&&ee!==R){const Ee=ee-R;window.requestAnimationFrame(()=>window.scrollBy(0,Ee)),g(void 0)}},[G,R,y]),(0,t.useEffect)(()=>A==null?void 0:A.stopLoader(),[A==null?void 0:A.activeSampleLanguage]),(0,t.useEffect)(()=>{w&&(A==null||A.startLoader(),A==null||A.activateSampleLanguage(w))},[w,m]);const Z=(0,t.useCallback)(oe=>{var ee;const Ee=O[oe];g((ee=document.getElementById(y))==null?void 0:ee.getBoundingClientRect().y),x(Ee.key),b&&b(Ee)},[y,b,O]);return a.createElement(u,{className:w&&"updated",id:y},a.createElement(s.JP,{tabs:O,operation:C,activeIndex:k,onChange:Z},m&&G.indexOf(m)===-1&&a.createElement(r.fn,null,"Provided language is not supported"),v))});var h=e(39713),p=e(21096),E=e(67294);const T=({exampleKey:v,examples:b,onChange:m})=>{var y,O;const C=Object.keys(b),A=v?C.indexOf(v):0,[w,x]=(0,t.useState)(A>-1?A:0);(0,t.useEffect)(()=>x(A>-1?A:0),[v,A]);const R=C.map((k,G)=>({value:b[k].summary||k,idx:G})),g=({idx:k})=>{x(k),m(C[k])};return E.createElement(E.Fragment,null,((y=R[w])==null?void 0:y.value)!=="default"&&E.createElement(h.NI,{"data-cy":"example-switch"},E.createElement(p.Dropdown,{variant:"dark",fullWidth:!0,options:R,value:(O=R[w])==null?void 0:O.value,onChange:g})),v&&A===-1&&E.createElement(r.fn,null,"Provided sample not found"))};function S({activeExampleName:v,defaultExampleName:b}={},m){const[y,O]=(0,t.useState)(v&&m[v]?v:Object.keys(m)[0]);return(0,t.useEffect)(()=>{v&&m[v]&&O(v)},[v,m]),{exampleKey:m[y]?y:Object.keys(m)[0],defaultExampleName:b}}},11773:(L,n,e)=>{"use strict";e.d(n,{vo:()=>Vt,JP:()=>ke,x4:()=>$});var t=e(67294);function l(ze){return function(dt){return!!dt.type&&dt.type.tabsRole===ze}}var s=l("Tab"),o=l("TabList"),r=l("TabPanel");function c(){return c=Object.assign||function(ze){for(var dt=1;dt<arguments.length;dt++){var bt=arguments[dt];for(var pt in bt)Object.prototype.hasOwnProperty.call(bt,pt)&&(ze[pt]=bt[pt])}return ze},c.apply(this,arguments)}function u(ze){return s(ze)||o(ze)||r(ze)}function a(ze,dt){return t.Children.map(ze,function(bt){return bt===null?null:u(bt)?dt(bt):bt.props&&bt.props.children&&typeof bt.props.children=="object"?(0,t.cloneElement)(bt,c({},bt.props,{children:a(bt.props.children,dt)})):bt})}function d(ze,dt){return t.Children.forEach(ze,function(bt){bt!==null&&(s(bt)||r(bt)?dt(bt):bt.props&&bt.props.children&&typeof bt.props.children=="object"&&(o(bt)&&dt(bt),d(bt.props.children,dt)))})}function h(ze,dt,bt){var pt,Ct=0,$t=0,fn=!1,cn=[],Rn=ze[dt];return deepForEach(Rn,function(Ke){isTabList(Ke)&&(Ke.props&&Ke.props.children&&typeof Ke.props.children=="object"&&deepForEach(Ke.props.children,function(Ue){return cn.push(Ue)}),fn&&(pt=new Error("Found multiple 'TabList' components inside 'Tabs'. Only one is allowed.")),fn=!0),isTab(Ke)?((!fn||cn.indexOf(Ke)===-1)&&(pt=new Error("Found a 'Tab' component outside of the 'TabList' component. 'Tab' components have to be inside the 'TabList' component.")),Ct++):isTabPanel(Ke)&&$t++}),!pt&&Ct!==$t&&(pt=new Error("There should be an equal number of 'Tab' and 'TabPanel' in `"+bt+"`. "+("Received "+Ct+" 'Tab' and "+$t+" 'TabPanel'."))),pt}function p(ze,dt,bt,pt,Ct){var $t=ze[dt],fn=Ct||dt,cn=null;return $t&&typeof $t!="function"?cn=new Error("Invalid "+pt+" `"+fn+"` of type `"+typeof $t+"` supplied "+("to `"+bt+"`, expected `function`.")):ze.selectedIndex!=null&&$t==null&&(cn=new Error("The "+pt+" `"+fn+"` is marked as required in `"+bt+"`, but its value is `undefined` or `null`.\n`onSelect` is required when `selectedIndex` is also set. Not doing so will make the tabs not do anything, as `selectedIndex` indicates that you want to handle the selected tab yourself.\nIf you only want to set the inital tab replace `selectedIndex` with `defaultIndex`.")),cn}function E(ze,dt,bt,pt,Ct){var $t=ze[dt],fn=Ct||dt,cn=null;if($t!=null&&typeof $t!="number")cn=new Error("Invalid "+pt+" `"+fn+"` of type `"+typeof $t+"` supplied to "+("`"+bt+"`, expected `number`."));else if(ze.defaultIndex!=null&&$t!=null)return new Error("The "+pt+" `"+fn+"` cannot be used together with `defaultIndex` "+("in `"+bt+"`.\n")+("Either remove `"+fn+"` to let `"+bt+"` handle the selected ")+"tab internally or remove `defaultIndex` to handle it yourself.");return cn}function T(ze){var dt,bt,pt="";if(typeof ze=="string"||typeof ze=="number")pt+=ze;else if(typeof ze=="object")if(Array.isArray(ze))for(dt=0;dt<ze.length;dt++)ze[dt]&&(bt=T(ze[dt]))&&(pt&&(pt+=" "),pt+=bt);else for(dt in ze)ze[dt]&&(pt&&(pt+=" "),pt+=dt);return pt}function S(){for(var ze=0,dt,bt,pt="";ze<arguments.length;)(dt=arguments[ze++])&&(bt=T(dt))&&(pt&&(pt+=" "),pt+=bt);return pt}var v=0;function b(){return"react-tabs-"+v++}function m(){v=0}function y(ze){var dt=0;return d(ze,function(bt){s(bt)&&dt++}),dt}function O(ze){var dt=0;return d(ze,function(bt){r(bt)&&dt++}),dt}function C(){return C=Object.assign||function(ze){for(var dt=1;dt<arguments.length;dt++){var bt=arguments[dt];for(var pt in bt)Object.prototype.hasOwnProperty.call(bt,pt)&&(ze[pt]=bt[pt])}return ze},C.apply(this,arguments)}function A(ze,dt){if(ze==null)return{};var bt={},pt=Object.keys(ze),Ct,$t;for($t=0;$t<pt.length;$t++)Ct=pt[$t],!(dt.indexOf(Ct)>=0)&&(bt[Ct]=ze[Ct]);return bt}function w(ze,dt){ze.prototype=Object.create(dt.prototype),ze.prototype.constructor=ze,x(ze,dt)}function x(ze,dt){return x=Object.setPrototypeOf||function(pt,Ct){return pt.__proto__=Ct,pt},x(ze,dt)}function R(ze){return ze&&"getAttribute"in ze}function g(ze){return R(ze)&&ze.getAttribute("role")==="tab"}function k(ze){return R(ze)&&ze.getAttribute("aria-disabled")==="true"}var G;function Z(ze){var dt=ze||(typeof window!="undefined"?window:void 0);try{G=!!(typeof dt!="undefined"&&dt.document&&dt.document.activeElement)}catch(bt){G=!1}}var oe=function(ze){w(dt,ze);function dt(){for(var pt,Ct=arguments.length,$t=new Array(Ct),fn=0;fn<Ct;fn++)$t[fn]=arguments[fn];return pt=ze.call.apply(ze,[this].concat($t))||this,pt.tabNodes=[],pt.handleKeyDown=function(cn){var Rn=pt.props,Ke=Rn.direction,Ue=Rn.disableUpDownKeys;if(pt.isTabFromContainer(cn.target)){var it=pt.props.selectedIndex,Et=!1,Ot=!1;(cn.keyCode===32||cn.keyCode===13)&&(Et=!0,Ot=!1,pt.handleClick(cn)),cn.keyCode===37||!Ue&&cn.keyCode===38?(Ke==="rtl"?it=pt.getNextTab(it):it=pt.getPrevTab(it),Et=!0,Ot=!0):cn.keyCode===39||!Ue&&cn.keyCode===40?(Ke==="rtl"?it=pt.getPrevTab(it):it=pt.getNextTab(it),Et=!0,Ot=!0):cn.keyCode===35?(it=pt.getLastTab(),Et=!0,Ot=!0):cn.keyCode===36&&(it=pt.getFirstTab(),Et=!0,Ot=!0),Et&&cn.preventDefault(),Ot&&pt.setSelected(it,cn)}},pt.handleClick=function(cn){var Rn=cn.target;do if(pt.isTabFromContainer(Rn)){if(k(Rn))return;var Ke=[].slice.call(Rn.parentNode.children).filter(g).indexOf(Rn);pt.setSelected(Ke,cn);return}while((Rn=Rn.parentNode)!=null)},pt}var bt=dt.prototype;return bt.setSelected=function(Ct,$t){if(!(Ct<0||Ct>=this.getTabsCount())){var fn=this.props,cn=fn.onSelect,Rn=fn.selectedIndex;cn(Ct,Rn,$t)}},bt.getNextTab=function(Ct){for(var $t=this.getTabsCount(),fn=Ct+1;fn<$t;fn++)if(!k(this.getTab(fn)))return fn;for(var cn=0;cn<Ct;cn++)if(!k(this.getTab(cn)))return cn;return Ct},bt.getPrevTab=function(Ct){for(var $t=Ct;$t--;)if(!k(this.getTab($t)))return $t;for($t=this.getTabsCount();$t-- >Ct;)if(!k(this.getTab($t)))return $t;return Ct},bt.getFirstTab=function(){for(var Ct=this.getTabsCount(),$t=0;$t<Ct;$t++)if(!k(this.getTab($t)))return $t;return null},bt.getLastTab=function(){for(var Ct=this.getTabsCount();Ct--;)if(!k(this.getTab(Ct)))return Ct;return null},bt.getTabsCount=function(){var Ct=this.props.children;return y(Ct)},bt.getPanelsCount=function(){var Ct=this.props.children;return O(Ct)},bt.getTab=function(Ct){return this.tabNodes["tabs-"+Ct]},bt.getChildren=function(){var Ct=this,$t=0,fn=this.props,cn=fn.children,Rn=fn.disabledTabClassName,Ke=fn.focus,Ue=fn.forceRenderTabPanel,it=fn.selectedIndex,Et=fn.selectedTabClassName,Ot=fn.selectedTabPanelClassName,dn=fn.environment;this.tabIds=this.tabIds||[],this.panelIds=this.panelIds||[];for(var Ln=this.tabIds.length-this.getTabsCount();Ln++<0;)this.tabIds.push(b()),this.panelIds.push(b());return a(cn,function($n){var An=$n;if(o($n)){var Gn=0,Pn=!1;G==null&&Z(dn),G&&(Pn=t.Children.toArray($n.props.children).filter(s).some(function(ut,Pt){var Mt=dn||(typeof window!="undefined"?window:void 0);return Mt&&Mt.document.activeElement===Ct.getTab(Pt)})),An=(0,t.cloneElement)($n,{children:a($n.props.children,function(ut){var Pt="tabs-"+Gn,Mt=it===Gn,zt={tabRef:function(Qe){Ct.tabNodes[Pt]=Qe},id:Ct.tabIds[Gn],panelId:Ct.panelIds[Gn],selected:Mt,focus:Mt&&(Ke||Pn)};return Et&&(zt.selectedClassName=Et),Rn&&(zt.disabledClassName=Rn),Gn++,(0,t.cloneElement)(ut,zt)})})}else if(r($n)){var Ze={id:Ct.panelIds[$t],tabId:Ct.tabIds[$t],selected:it===$t};Ue&&(Ze.forceRender=Ue),Ot&&(Ze.selectedClassName=Ot),$t++,An=(0,t.cloneElement)($n,Ze)}return An})},bt.isTabFromContainer=function(Ct){if(!g(Ct))return!1;var $t=Ct.parentElement;do{if($t===this.node)return!0;if($t.getAttribute("data-tabs"))break;$t=$t.parentElement}while($t);return!1},bt.render=function(){var Ct=this,$t=this.props,fn=$t.children,cn=$t.className,Rn=$t.disabledTabClassName,Ke=$t.domRef,Ue=$t.focus,it=$t.forceRenderTabPanel,Et=$t.onSelect,Ot=$t.selectedIndex,dn=$t.selectedTabClassName,Ln=$t.selectedTabPanelClassName,$n=$t.environment,An=$t.disableUpDownKeys,Gn=A($t,["children","className","disabledTabClassName","domRef","focus","forceRenderTabPanel","onSelect","selectedIndex","selectedTabClassName","selectedTabPanelClassName","environment","disableUpDownKeys"]);return t.createElement("div",C({},Gn,{className:S(cn),onClick:this.handleClick,onKeyDown:this.handleKeyDown,ref:function(Ze){Ct.node=Ze,Ke&&Ke(Ze)},"data-tabs":!0}),this.getChildren())},dt}(t.Component);oe.defaultProps={className:"react-tabs",focus:!1},oe.propTypes={};function ee(ze,dt){if(ze==null)return{};var bt={},pt=Object.keys(ze),Ct,$t;for($t=0;$t<pt.length;$t++)Ct=pt[$t],!(dt.indexOf(Ct)>=0)&&(bt[Ct]=ze[Ct]);return bt}function Ee(ze,dt){ze.prototype=Object.create(dt.prototype),ze.prototype.constructor=ze,Fe(ze,dt)}function Fe(ze,dt){return Fe=Object.setPrototypeOf||function(pt,Ct){return pt.__proto__=Ct,pt},Fe(ze,dt)}var ce=0,te=1,he=function(ze){Ee(dt,ze);function dt(pt){var Ct;return Ct=ze.call(this,pt)||this,Ct.handleSelected=function($t,fn,cn){var Rn=Ct.props.onSelect,Ke=Ct.state.mode;if(!(typeof Rn=="function"&&Rn($t,fn,cn)===!1)){var Ue={focus:cn.type==="keydown"};Ke===te&&(Ue.selectedIndex=$t),Ct.setState(Ue)}},Ct.state=dt.copyPropsToState(Ct.props,{},pt.defaultFocus),Ct}dt.getDerivedStateFromProps=function(Ct,$t){return dt.copyPropsToState(Ct,$t)},dt.getModeFromProps=function(Ct){return Ct.selectedIndex===null?te:ce},dt.copyPropsToState=function(Ct,$t,fn){fn===void 0&&(fn=!1);var cn={focus:fn,mode:dt.getModeFromProps(Ct)};if(cn.mode===te){var Rn=Math.max(0,y(Ct.children)-1),Ke=null;$t.selectedIndex!=null?Ke=Math.min($t.selectedIndex,Rn):Ke=Ct.defaultIndex||0,cn.selectedIndex=Ke}return cn};var bt=dt.prototype;return bt.render=function(){var Ct=this.props,$t=Ct.children,fn=Ct.defaultIndex,cn=Ct.defaultFocus,Rn=ee(Ct,["children","defaultIndex","defaultFocus"]),Ke=this.state,Ue=Ke.focus,it=Ke.selectedIndex;return Rn.focus=Ue,Rn.onSelect=this.handleSelected,it!=null&&(Rn.selectedIndex=it),t.createElement(oe,Rn,$t)},dt}(t.Component);he.defaultProps={defaultFocus:!1,forceRenderTabPanel:!1,selectedIndex:null,defaultIndex:null,environment:null,disableUpDownKeys:!1},he.propTypes={},he.tabsRole="Tabs";function Q(){return Q=Object.assign||function(ze){for(var dt=1;dt<arguments.length;dt++){var bt=arguments[dt];for(var pt in bt)Object.prototype.hasOwnProperty.call(bt,pt)&&(ze[pt]=bt[pt])}return ze},Q.apply(this,arguments)}function B(ze,dt){if(ze==null)return{};var bt={},pt=Object.keys(ze),Ct,$t;for($t=0;$t<pt.length;$t++)Ct=pt[$t],!(dt.indexOf(Ct)>=0)&&(bt[Ct]=ze[Ct]);return bt}function J(ze,dt){ze.prototype=Object.create(dt.prototype),ze.prototype.constructor=ze,re(ze,dt)}function re(ze,dt){return re=Object.setPrototypeOf||function(pt,Ct){return pt.__proto__=Ct,pt},re(ze,dt)}var W=function(ze){J(dt,ze);function dt(){return ze.apply(this,arguments)||this}var bt=dt.prototype;return bt.render=function(){var Ct=this.props,$t=Ct.children,fn=Ct.className,cn=B(Ct,["children","className"]);return t.createElement("ul",Q({},cn,{className:S(fn),role:"tablist"}),$t)},dt}(t.Component);W.defaultProps={className:"react-tabs__tab-list"},W.propTypes={},W.tabsRole="TabList";function V(){return V=Object.assign||function(ze){for(var dt=1;dt<arguments.length;dt++){var bt=arguments[dt];for(var pt in bt)Object.prototype.hasOwnProperty.call(bt,pt)&&(ze[pt]=bt[pt])}return ze},V.apply(this,arguments)}function ae(ze,dt){if(ze==null)return{};var bt={},pt=Object.keys(ze),Ct,$t;for($t=0;$t<pt.length;$t++)Ct=pt[$t],!(dt.indexOf(Ct)>=0)&&(bt[Ct]=ze[Ct]);return bt}function pe(ze,dt){ze.prototype=Object.create(dt.prototype),ze.prototype.constructor=ze,Se(ze,dt)}function Se(ze,dt){return Se=Object.setPrototypeOf||function(pt,Ct){return pt.__proto__=Ct,pt},Se(ze,dt)}var De="react-tabs__tab",nt=function(ze){pe(dt,ze);function dt(){return ze.apply(this,arguments)||this}var bt=dt.prototype;return bt.componentDidMount=function(){this.checkFocus()},bt.componentDidUpdate=function(){this.checkFocus()},bt.checkFocus=function(){var Ct=this.props,$t=Ct.selected,fn=Ct.focus;$t&&fn&&this.node.focus()},bt.render=function(){var Ct,$t=this,fn=this.props,cn=fn.children,Rn=fn.className,Ke=fn.disabled,Ue=fn.disabledClassName,it=fn.focus,Et=fn.id,Ot=fn.panelId,dn=fn.selected,Ln=fn.selectedClassName,$n=fn.tabIndex,An=fn.tabRef,Gn=ae(fn,["children","className","disabled","disabledClassName","focus","id","panelId","selected","selectedClassName","tabIndex","tabRef"]);return t.createElement("li",V({},Gn,{className:S(Rn,(Ct={},Ct[Ln]=dn,Ct[Ue]=Ke,Ct)),ref:function(Ze){$t.node=Ze,An&&An(Ze)},role:"tab",id:Et,"aria-selected":dn?"true":"false","aria-disabled":Ke?"true":"false","aria-controls":Ot,tabIndex:$n||(dn?"0":null)}),cn)},dt}(t.Component);nt.defaultProps={className:De,disabledClassName:De+"--disabled",focus:!1,id:null,panelId:null,selected:!1,selectedClassName:De+"--selected"},nt.propTypes={},nt.tabsRole="Tab";function Me(){return Me=Object.assign||function(ze){for(var dt=1;dt<arguments.length;dt++){var bt=arguments[dt];for(var pt in bt)Object.prototype.hasOwnProperty.call(bt,pt)&&(ze[pt]=bt[pt])}return ze},Me.apply(this,arguments)}function _e(ze,dt){if(ze==null)return{};var bt={},pt=Object.keys(ze),Ct,$t;for($t=0;$t<pt.length;$t++)Ct=pt[$t],!(dt.indexOf(Ct)>=0)&&(bt[Ct]=ze[Ct]);return bt}function j(ze,dt){ze.prototype=Object.create(dt.prototype),ze.prototype.constructor=ze,ue(ze,dt)}function ue(ze,dt){return ue=Object.setPrototypeOf||function(pt,Ct){return pt.__proto__=Ct,pt},ue(ze,dt)}var Ce="react-tabs__tab-panel",et=function(ze){j(dt,ze);function dt(){return ze.apply(this,arguments)||this}var bt=dt.prototype;return bt.render=function(){var Ct,$t=this.props,fn=$t.children,cn=$t.className,Rn=$t.forceRender,Ke=$t.id,Ue=$t.selected,it=$t.selectedClassName,Et=$t.tabId,Ot=_e($t,["children","className","forceRender","id","selected","selectedClassName","tabId"]);return t.createElement("div",Me({},Ot,{className:S(cn,(Ct={},Ct[it]=Ue,Ct)),role:"tabpanel",id:Ke,"aria-labelledby":Et}),Rn||Ue?fn:null)},dt}(t.Component);et.defaultProps={className:Ce,forceRender:!1,selectedClassName:Ce+"--selected"},et.propTypes={},et.tabsRole="TabPanel";var Pe=e(23485);const X=(0,Pe.ZP)(W)`
|
|
369
369
|
display: flex;
|
|
370
370
|
list-style: none;
|
|
371
371
|
padding: 0;
|
|
@@ -454,7 +454,7 @@ globstar while`,x,ce,R,te,he),this.matchOne(x.slice(ce),R.slice(te),g))return th
|
|
|
454
454
|
&.react-tabs__tab--disabled {
|
|
455
455
|
display: none;
|
|
456
456
|
}
|
|
457
|
-
`;var Te=e(67294);function Le({tabs:ze,children:dt,hidden:bt,activeIndex:pt,onChange:Ct}){const{samplesTabsMaxCount:$t}=(0,t.useContext)(I.OptionsContext),
|
|
457
|
+
`;var Te=e(67294);function Le({tabs:ze,children:dt,hidden:bt,activeIndex:pt,onChange:Ct}){const{samplesTabsMaxCount:$t}=(0,t.useContext)(I.OptionsContext),fn=()=>ze.slice($t).map(({title:Ot},dn)=>({idx:dn,value:Ot})),cn=(0,t.useMemo)(fn,[ze,$t]),Rn=`${cn.length} more`,[Ke,Ue]=(0,t.useState)(Rn),it=(0,t.useCallback)(()=>{const Ot=pt>=$t;(Ke===Rn||Ke!==ze[pt].title)&&Ot?Ue(ze[pt].title):Ke!==Rn&&!Ot&&Ue(Rn)},[pt,$t,Ke,Rn,ze]);(0,t.useEffect)(()=>{setTimeout(it,0)},[pt,$t,it]);const Et=Ot=>{Ct($t+Ot.idx)};return Te.createElement(he,{selectedIndex:pt,onSelect:Ct},Te.createElement($e,{hidden:bt},ze.map((Ot,dn)=>Te.createElement(be,{key:Ot.key,disabled:dn>=$t},Ot.title)),cn.length?Te.createElement(ve.CollapsingDropdown,{options:cn,onChange:Et,placeholder:Rn,value:Ke,active:pt>=$t}):null),dt)}const ke=(0,t.memo)(Le);var at=e(80150),xt=e(67294),qe=Object.defineProperty,q=Object.defineProperties,ne=Object.getOwnPropertyDescriptors,ie=Object.getOwnPropertySymbols,K=Object.prototype.hasOwnProperty,we=Object.prototype.propertyIsEnumerable,He=(ze,dt,bt)=>dt in ze?qe(ze,dt,{enumerable:!0,configurable:!0,writable:!0,value:bt}):ze[dt]=bt,Je=(ze,dt)=>{for(var bt in dt||(dt={}))K.call(dt,bt)&&He(ze,bt,dt[bt]);if(ie)for(var bt of ie(dt))we.call(dt,bt)&&He(ze,bt,dt[bt]);return ze},ft=(ze,dt)=>q(ze,ne(dt)),At=(ze,dt)=>{var bt={};for(var pt in ze)K.call(ze,pt)&&dt.indexOf(pt)<0&&(bt[pt]=ze[pt]);if(ze!=null&&ie)for(var pt of ie(ze))dt.indexOf(pt)<0&&we.call(ze,pt)&&(bt[pt]=ze[pt]);return bt};function Lt(ze,dt,bt){var pt;return dt?typeof bt=="number"&&bt>0?Yt((pt=ze[bt])==null?void 0:pt.content,dt)?bt:Lt(ze,dt):ze.findIndex(({content:Ct})=>Yt(Ct,dt)):-1}function Yt(ze,dt){return!!(ze==null?void 0:ze.mediaTypes.find(bt=>Object.keys(bt.examples||[]).includes(dt||"")))}const Vt=(0,at.Pi)(ze=>{var dt=ze,{children:bt}=dt,pt=At(dt,["children"]);const[Ct,$t]=(0,t.useState)(0),{operation:fn,operation:{activeExampleName:cn}}=pt;(0,t.useEffect)(()=>{const Ke=Lt(fn.responses,cn,Ct);Ke>-1&&$t(Ke)},[cn]);const Rn=(0,t.useCallback)(Ke=>{Ct!==Ke&&$t(Ke)},[Ct]);return xt.createElement(ke,ft(Je({},pt),{activeIndex:Ct,onChange:Rn}),bt)})},21096:(L,n,e)=>{"use strict";e.d(n,{CollapsingDropdown:()=>b,Dropdown:()=>S,SimpleDropdown:()=>v,VersionDropdown:()=>m});var t=e(29163),l=e(67294),s=e(23485),o=e(67294);const r=({className:y,style:O,handleClear:C})=>o.createElement("button",{className:y,style:O,onClick:C},"\u2715"),c=(0,l.memo)(r),u=(0,t.default)(c)`
|
|
458
458
|
z-index: 1;
|
|
459
459
|
position: absolute;
|
|
460
460
|
right: 24px;
|
|
@@ -2173,7 +2173,7 @@ globstar while`,x,ce,R,te,he),this.matchOne(x.slice(ce),R.slice(te),g))return th
|
|
|
2173
2173
|
overflow: hidden;
|
|
2174
2174
|
`,at=r.ZP.div`
|
|
2175
2175
|
margin-bottom: ${({theme:qe})=>qe.spacing.unit*4}px;
|
|
2176
|
-
`,xt=(0,t.Pi)(qe=>{var q,ne,ie;const{operation:{name:K,description:we,deprecated:He,externalDocs:Je,isWebhook:ft,httpVerb:At},operation:Lt,layout:Yt}=qe,Vt=(0,l.useContext)(ve.xf),ze=!!(we||Je),dt=Vt==null?void 0:Vt.options.hooks,bt=Vt==null?void 0:Vt.options.events,pt=(0,l.useCallback)(Ct=>$t=>{var
|
|
2176
|
+
`,xt=(0,t.Pi)(qe=>{var q,ne,ie;const{operation:{name:K,description:we,deprecated:He,externalDocs:Je,isWebhook:ft,httpVerb:At},operation:Lt,layout:Yt}=qe,Vt=(0,l.useContext)(ve.xf),ze=!!(we||Je),dt=Vt==null?void 0:Vt.options.hooks,bt=Vt==null?void 0:Vt.options.events,pt=(0,l.useCallback)(Ct=>$t=>{var fn;const cn=(0,Te.JL)({operation:Lt,isExpanded:$t,panelType:Ct});(fn=bt==null?void 0:bt.panelToggle)==null||fn.call(bt,cn)},[bt,Lt]);return Le.createElement(ke,{layout:Yt},Le.createElement(o.yX,{isStacked:Yt===$e.N.STACKED},Le.createElement(be.Q,{Hook:dt==null?void 0:dt.BeforeOperation,props:{operation:Lt}}),Le.createElement(o.H2,null,Le.createElement(o.Bf,{to:Lt.id}),Le.createElement(be.Q,{Hook:dt==null?void 0:dt.BeforeOperationSummary,props:{operation:Lt}}),K,Le.createElement(be.Q,{Hook:dt==null?void 0:dt.AfterOperationSummary,props:{operation:Lt}}),He&&Le.createElement(o.Ct,{type:"warning"},"Deprecated"),ft&&Le.createElement(Le.Fragment,null,Le.createElement(o.Ct,{type:"primary"},"Webhook "),(Vt==null?void 0:Vt.options.showWebhookVerb)&&At&&Le.createElement(o.Ct,{type:"primary"},At.toUpperCase()))),(Vt==null?void 0:Vt.options.pathInMiddlePanel)&&!ft&&Le.createElement(s.F5,{operation:Lt}),ze&&Le.createElement(at,null,we!==void 0&&Le.createElement(d.UG,{source:we}),Je&&Le.createElement(u.E,{externalDocs:Je}),Object.keys(Lt.extensions||{}).length?Le.createElement(a.I,{extensions:Lt.extensions}):null),Le.createElement(E.S0,{securities:Lt.security}),((q=Lt.parameters)==null?void 0:q.length)||Lt.requestBody?Le.createElement(c.Tl,{header:(0,T.l)("request"),onToggle:pt("request"),expanded:Vt==null?void 0:Vt.options.expandDefaultRequest},Le.createElement(h.a,{parameters:Lt.parameters,body:Lt.requestBody})):null,((ne=Lt.responses)==null?void 0:ne.length)?Le.createElement(c.Tl,{header:(0,T.l)("responses"),onToggle:pt("responses"),expanded:Vt==null?void 0:Vt.options.expandDefaultResponse},Le.createElement(p.I,{responses:Lt.responses})):null,((ie=Lt.callbacks)==null?void 0:ie.length)?Le.createElement(c.Tl,{header:(0,T.l)("callbacks")},Le.createElement(oe,{callbacks:Lt.callbacks})):null,Le.createElement(be.Q,{Hook:dt==null?void 0:dt.AfterOperation,props:{operation:Lt}})),(Vt==null?void 0:Vt.showRightPanel)?Le.createElement(o.QN,{"data-cy":"samples-block"},!(Vt==null?void 0:Vt.options.pathInMiddlePanel)&&!ft&&Le.createElement(s.F5,{operation:Lt}),Le.createElement(H.u,{operation:Lt}),Le.createElement(I.z,{operation:Lt}),Le.createElement($,{callbacks:Lt.callbacks})):null)})},3973:(L,n,e)=>{"use strict";e.d(n,{jI:()=>s,fM:()=>o,D2:()=>c});var t=e(67294),l=e(98906);const s=(0,t.createContext)(new l.V({})),o=s.Provider,r=s.Consumer;function c(){return(0,t.useContext)(s)}},46967:(L,n,e)=>{"use strict";e.d(n,{a:()=>k});var t=e(7689),l=e(43398),s=e(98935),o=e(67514),r=e(63909),c=e(23485),u=e(63883),a=e(50867),d=e(67294),h=e(13872),p=e(9966),E=e(13066),T=e(67294);class S extends d.PureComponent{render(){const{place:te,parameters:he}=this.props;return!he||!he.length?null:T.createElement(v,{key:te},T.createElement(l.TG,null,te," Parameters"),T.createElement(h.rp,null,T.createElement(h.VK,null,T.createElement("tbody",null,(0,E.jW)(he,(Q,B)=>T.createElement(p.g,{key:Q.name,isLast:B,field:Q,showExamples:!0}))))))}}const v=c.ZP.div`
|
|
2177
2177
|
margin: 20px 0 0 0;
|
|
2178
2178
|
padding-bottom: 20px;
|
|
2179
2179
|
border-bottom: 1px solid ${({theme:ce})=>ce.colors.border.light};
|
|
@@ -2570,12 +2570,12 @@ globstar while`,x,ce,R,te,he),this.matchOne(x.slice(ce),R.slice(te),g))return th
|
|
|
2570
2570
|
`)}}}fences(q){const ne=this.rules.block.fences.exec(q);if(ne){const ie=ne[0],K=Ee(ie,ne[3]||"");return{type:"code",raw:ie,lang:ne[2]?ne[2].trim():ne[2],text:K}}}heading(q){const ne=this.rules.block.heading.exec(q);if(ne){let ie=ne[2].trim();if(/#$/.test(ie)){const we=k(ie,"#");(this.options.pedantic||!we||/ $/.test(we))&&(ie=we.trim())}const K={type:"heading",raw:ne[0],depth:ne[1].length,text:ie,tokens:[]};return this.lexer.inline(K.text,K.tokens),K}}hr(q){const ne=this.rules.block.hr.exec(q);if(ne)return{type:"hr",raw:ne[0]}}blockquote(q){const ne=this.rules.block.blockquote.exec(q);if(ne){const ie=ne[0].replace(/^ *> ?/gm,"");return{type:"blockquote",raw:ne[0],tokens:this.lexer.blockTokens(ie,[]),text:ie}}}list(q){let ne=this.rules.block.list.exec(q);if(ne){let ie,K,we,He,Je,ft,At,Lt,Yt,Vt,ze,dt,bt=ne[1].trim();const pt=bt.length>1,Ct={type:"list",raw:"",ordered:pt,start:pt?+bt.slice(0,-1):"",loose:!1,items:[]};bt=pt?`\\d{1,9}\\${bt.slice(-1)}`:`\\${bt}`,this.options.pedantic&&(bt=pt?bt:"[*+-]");const $t=new RegExp(`^( {0,3}${bt})((?: [^\\n]*)?(?:\\n|$))`);for(;q&&(dt=!1,!(!(ne=$t.exec(q))||this.rules.block.hr.test(q)));){if(ie=ne[0],q=q.substring(ie.length),Lt=ne[2].split(`
|
|
2571
2571
|
`,1)[0],Yt=q.split(`
|
|
2572
2572
|
`,1)[0],this.options.pedantic?(He=2,ze=Lt.trimLeft()):(He=ne[2].search(/[^ ]/),He=He>4?1:He,ze=Lt.slice(He),He+=ne[1].length),ft=!1,!Lt&&/^ *$/.test(Yt)&&(ie+=Yt+`
|
|
2573
|
-
`,q=q.substring(Yt.length+1),dt=!0),!dt){const
|
|
2574
|
-
`,1)[0],Lt=Vt,this.options.pedantic&&(Lt=Lt.replace(/^ {1,4}(?=( {4})*[^ ])/g," ")),!
|
|
2573
|
+
`,q=q.substring(Yt.length+1),dt=!0),!dt){const cn=new RegExp(`^ {0,${Math.min(3,He-1)}}(?:[*+-]|\\d{1,9}[.)])`);for(;q&&(Vt=q.split(`
|
|
2574
|
+
`,1)[0],Lt=Vt,this.options.pedantic&&(Lt=Lt.replace(/^ {1,4}(?=( {4})*[^ ])/g," ")),!cn.test(Lt));){if(Lt.search(/[^ ]/)>=He||!Lt.trim())ze+=`
|
|
2575
2575
|
`+Lt.slice(He);else if(!ft)ze+=`
|
|
2576
2576
|
`+Lt;else break;!ft&&!Lt.trim()&&(ft=!0),ie+=Vt+`
|
|
2577
|
-
`,q=q.substring(Vt.length+1)}}Ct.loose||(At?Ct.loose=!0:/\n *\n *$/.test(ie)&&(At=!0)),this.options.gfm&&(K=/^\[[ xX]\] /.exec(ze),K&&(we=K[0]!=="[ ] ",ze=ze.replace(/^\[[ xX]\] +/,""))),Ct.items.push({type:"list_item",raw:ie,task:!!K,checked:we,loose:!1,text:ze}),Ct.raw+=ie}Ct.items[Ct.items.length-1].raw=ie.trimRight(),Ct.items[Ct.items.length-1].text=ze.trimRight(),Ct.raw=Ct.raw.trimRight();const
|
|
2578
|
-
`&&(it+=1),it>1)return!0;return!1});!Ct.loose&&
|
|
2577
|
+
`,q=q.substring(Vt.length+1)}}Ct.loose||(At?Ct.loose=!0:/\n *\n *$/.test(ie)&&(At=!0)),this.options.gfm&&(K=/^\[[ xX]\] /.exec(ze),K&&(we=K[0]!=="[ ] ",ze=ze.replace(/^\[[ xX]\] +/,""))),Ct.items.push({type:"list_item",raw:ie,task:!!K,checked:we,loose:!1,text:ze}),Ct.raw+=ie}Ct.items[Ct.items.length-1].raw=ie.trimRight(),Ct.items[Ct.items.length-1].text=ze.trimRight(),Ct.raw=Ct.raw.trimRight();const fn=Ct.items.length;for(Je=0;Je<fn;Je++){this.lexer.state.top=!1,Ct.items[Je].tokens=this.lexer.blockTokens(Ct.items[Je].text,[]);const cn=Ct.items[Je].tokens.filter(Ke=>Ke.type==="space"),Rn=cn.every(Ke=>{const Ue=Ke.raw.split("");let it=0;for(const Et of Ue)if(Et===`
|
|
2578
|
+
`&&(it+=1),it>1)return!0;return!1});!Ct.loose&&cn.length&&Rn&&(Ct.loose=!0,Ct.items[Je].loose=!0)}return Ct}}html(q){const ne=this.rules.block.html.exec(q);if(ne){const ie={type:"html",raw:ne[0],pre:!this.options.sanitizer&&(ne[1]==="pre"||ne[1]==="script"||ne[1]==="style"),text:ne[0]};return this.options.sanitize&&(ie.type="paragraph",ie.text=this.options.sanitizer?this.options.sanitizer(ne[0]):h(ne[0]),ie.tokens=[],this.lexer.inline(ie.text,ie.tokens)),ie}}def(q){const ne=this.rules.block.def.exec(q);if(ne){ne[3]&&(ne[3]=ne[3].substring(1,ne[3].length-1));const ie=ne[1].toLowerCase().replace(/\s+/g," ");return{type:"def",tag:ie,raw:ne[0],href:ne[2],title:ne[3]}}}table(q){const ne=this.rules.block.table.exec(q);if(ne){const ie={type:"table",header:g(ne[1]).map(K=>({text:K})),align:ne[2].replace(/^ *|\| *$/g,"").split(/ *\| */),rows:ne[3]?ne[3].replace(/\n[ \t]*$/,"").split(`
|
|
2579
2579
|
`):[]};if(ie.header.length===ie.align.length){ie.raw=ne[0];let K=ie.align.length,we,He,Je,ft;for(we=0;we<K;we++)/^ *-+: *$/.test(ie.align[we])?ie.align[we]="right":/^ *:-+: *$/.test(ie.align[we])?ie.align[we]="center":/^ *:-+ *$/.test(ie.align[we])?ie.align[we]="left":ie.align[we]=null;for(K=ie.rows.length,we=0;we<K;we++)ie.rows[we]=g(ie.rows[we],ie.header.length).map(At=>({text:At}));for(K=ie.header.length,He=0;He<K;He++)ie.header[He].tokens=[],this.lexer.inlineTokens(ie.header[He].text,ie.header[He].tokens);for(K=ie.rows.length,He=0;He<K;He++)for(ft=ie.rows[He],Je=0;Je<ft.length;Je++)ft[Je].tokens=[],this.lexer.inlineTokens(ft[Je].text,ft[Je].tokens);return ie}}}lheading(q){const ne=this.rules.block.lheading.exec(q);if(ne){const ie={type:"heading",raw:ne[0],depth:ne[2].charAt(0)==="="?1:2,text:ne[1],tokens:[]};return this.lexer.inline(ie.text,ie.tokens),ie}}paragraph(q){const ne=this.rules.block.paragraph.exec(q);if(ne){const ie={type:"paragraph",raw:ne[0],text:ne[1].charAt(ne[1].length-1)===`
|
|
2580
2580
|
`?ne[1].slice(0,-1):ne[1],tokens:[]};return this.lexer.inline(ie.text,ie.tokens),ie}}text(q){const ne=this.rules.block.text.exec(q);if(ne){const ie={type:"text",raw:ne[0],text:ne[0],tokens:[]};return this.lexer.inline(ie.text,ie.tokens),ie}}escape(q){const ne=this.rules.inline.escape.exec(q);if(ne)return{type:"escape",raw:ne[0],text:h(ne[1])}}tag(q){const ne=this.rules.inline.tag.exec(q);if(ne)return!this.lexer.state.inLink&&/^<a /i.test(ne[0])?this.lexer.state.inLink=!0:this.lexer.state.inLink&&/^<\/a>/i.test(ne[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&/^<(pre|code|kbd|script)(\s|>)/i.test(ne[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(ne[0])&&(this.lexer.state.inRawBlock=!1),{type:this.options.sanitize?"text":"html",raw:ne[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(ne[0]):h(ne[0]):ne[0]}}link(q){const ne=this.rules.inline.link.exec(q);if(ne){const ie=ne[2].trim();if(!this.options.pedantic&&/^</.test(ie)){if(!/>$/.test(ie))return;const He=k(ie.slice(0,-1),"\\");if((ie.length-He.length)%2==0)return}else{const He=G(ne[2],"()");if(He>-1){const ft=(ne[0].indexOf("!")===0?5:4)+ne[1].length+He;ne[2]=ne[2].substring(0,He),ne[0]=ne[0].substring(0,ft).trim(),ne[3]=""}}let K=ne[2],we="";if(this.options.pedantic){const He=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(K);He&&(K=He[1],we=He[3])}else we=ne[3]?ne[3].slice(1,-1):"";return K=K.trim(),/^</.test(K)&&(this.options.pedantic&&!/>$/.test(ie)?K=K.slice(1):K=K.slice(1,-1)),ee(ne,{href:K&&K.replace(this.rules.inline._escapes,"$1"),title:we&&we.replace(this.rules.inline._escapes,"$1")},ne[0],this.lexer)}}reflink(q,ne){let ie;if((ie=this.rules.inline.reflink.exec(q))||(ie=this.rules.inline.nolink.exec(q))){let K=(ie[2]||ie[1]).replace(/\s+/g," ");if(K=ne[K.toLowerCase()],!K||!K.href){const we=ie[0].charAt(0);return{type:"text",raw:we,text:we}}return ee(ie,K,ie[0],this.lexer)}}emStrong(q,ne,ie=""){let K=this.rules.inline.emStrong.lDelim.exec(q);if(!K||K[3]&&ie.match(/[\p{L}\p{N}]/u))return;const we=K[1]||K[2]||"";if(!we||we&&(ie===""||this.rules.inline.punctuation.exec(ie))){const He=K[0].length-1;let Je,ft,At=He,Lt=0;const Yt=K[0][0]==="*"?this.rules.inline.emStrong.rDelimAst:this.rules.inline.emStrong.rDelimUnd;for(Yt.lastIndex=0,ne=ne.slice(-1*q.length+He);(K=Yt.exec(ne))!=null;){if(Je=K[1]||K[2]||K[3]||K[4]||K[5]||K[6],!Je)continue;if(ft=Je.length,K[3]||K[4]){At+=ft;continue}else if((K[5]||K[6])&&He%3&&!((He+ft)%3)){Lt+=ft;continue}if(At-=ft,At>0)continue;if(ft=Math.min(ft,ft+At+Lt),Math.min(He,ft)%2){const ze=q.slice(1,He+K.index+ft);return{type:"em",raw:q.slice(0,He+K.index+ft+1),text:ze,tokens:this.lexer.inlineTokens(ze,[])}}const Vt=q.slice(2,He+K.index+ft-1);return{type:"strong",raw:q.slice(0,He+K.index+ft+1),text:Vt,tokens:this.lexer.inlineTokens(Vt,[])}}}}codespan(q){const ne=this.rules.inline.code.exec(q);if(ne){let ie=ne[2].replace(/\n/g," ");const K=/[^ ]/.test(ie),we=/^ /.test(ie)&&/ $/.test(ie);return K&&we&&(ie=ie.substring(1,ie.length-1)),ie=h(ie,!0),{type:"codespan",raw:ne[0],text:ie}}}br(q){const ne=this.rules.inline.br.exec(q);if(ne)return{type:"br",raw:ne[0]}}del(q){const ne=this.rules.inline.del.exec(q);if(ne)return{type:"del",raw:ne[0],text:ne[2],tokens:this.lexer.inlineTokens(ne[2],[])}}autolink(q,ne){const ie=this.rules.inline.autolink.exec(q);if(ie){let K,we;return ie[2]==="@"?(K=h(this.options.mangle?ne(ie[1]):ie[1]),we="mailto:"+K):(K=h(ie[1]),we=K),{type:"link",raw:ie[0],text:K,href:we,tokens:[{type:"text",raw:K,text:K}]}}}url(q,ne){let ie;if(ie=this.rules.inline.url.exec(q)){let K,we;if(ie[2]==="@")K=h(this.options.mangle?ne(ie[0]):ie[0]),we="mailto:"+K;else{let He;do He=ie[0],ie[0]=this.rules.inline._backpedal.exec(ie[0])[0];while(He!==ie[0]);K=h(ie[0]),ie[1]==="www."?we="http://"+K:we=K}return{type:"link",raw:ie[0],text:K,href:we,tokens:[{type:"text",raw:K,text:K}]}}}inlineText(q,ne){const ie=this.rules.inline.text.exec(q);if(ie){let K;return this.lexer.state.inRawBlock?K=this.options.sanitize?this.options.sanitizer?this.options.sanitizer(ie[0]):h(ie[0]):ie[0]:K=h(this.options.smartypants?ne(ie[0]):ie[0]),{type:"text",raw:ie[0],text:K}}}}const ce={newline:/^(?: *(?:\n|$))+/,code:/^( {4}[^\n]+(?:\n(?: *(?:\n|$))*)?)+/,fences:/^ {0,3}(`{3,}(?=[^`\n]*\n)|~{3,})([^\n]*)\n(?:|([\s\S]*?)\n)(?: {0,3}\1[~`]* *(?=\n|$)|$)/,hr:/^ {0,3}((?:- *){3,}|(?:_ *){3,}|(?:\* *){3,})(?:\n+|$)/,heading:/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,blockquote:/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/,list:/^( {0,3}bull)( [^\n]+?)?(?:\n|$)/,html:"^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n *)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$))",def:/^ {0,3}\[(label)\]: *(?:\n *)?<?([^\s>]+)>?(?:(?: +(?:\n *)?| *\n *)(title))? *(?:\n+|$)/,table:x,lheading:/^([^\n]+)\n {0,3}(=+|-+) *(?:\n+|$)/,_paragraph:/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,text:/^[^\n]+/};ce._label=/(?!\s*\])(?:\\.|[^\[\]\\])+/,ce._title=/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/,ce.def=S(ce.def).replace("label",ce._label).replace("title",ce._title).getRegex(),ce.bullet=/(?:[*+-]|\d{1,9}[.)])/,ce.listItemStart=S(/^( *)(bull) */).replace("bull",ce.bullet).getRegex(),ce.list=S(ce.list).replace(/bull/g,ce.bullet).replace("hr","\\n+(?=\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$))").replace("def","\\n+(?="+ce.def.source+")").getRegex(),ce._tag="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|section|source|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",ce._comment=/<!--(?!-?>)[\s\S]*?(?:-->|$)/,ce.html=S(ce.html,"i").replace("comment",ce._comment).replace("tag",ce._tag).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),ce.paragraph=S(ce._paragraph).replace("hr",ce.hr).replace("heading"," {0,3}#{1,6} ").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",ce._tag).getRegex(),ce.blockquote=S(ce.blockquote).replace("paragraph",ce.paragraph).getRegex(),ce.normal=R({},ce),ce.gfm=R({},ce.normal,{table:"^ *([^\\n ].*\\|.*)\\n {0,3}(?:\\| *)?(:?-+:? *(?:\\| *:?-+:? *)*)(?:\\| *)?(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)"}),ce.gfm.table=S(ce.gfm.table).replace("hr",ce.hr).replace("heading"," {0,3}#{1,6} ").replace("blockquote"," {0,3}>").replace("code"," {4}[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",ce._tag).getRegex(),ce.gfm.paragraph=S(ce._paragraph).replace("hr",ce.hr).replace("heading"," {0,3}#{1,6} ").replace("|lheading","").replace("table",ce.gfm.table).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",ce._tag).getRegex(),ce.pedantic=R({},ce.normal,{html:S(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment",ce._comment).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:x,paragraph:S(ce.normal._paragraph).replace("hr",ce.hr).replace("heading",` *#{1,6} *[^
|
|
2581
2581
|
]`).replace("lheading",ce.lheading).replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").getRegex()});const te={escape:/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,autolink:/^<(scheme:[^\s\x00-\x1f<>]*|email)>/,url:x,tag:"^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>",link:/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/,reflink:/^!?\[(label)\]\[(ref)\]/,nolink:/^!?\[(ref)\](?:\[\])?/,reflinkSearch:"reflink|nolink(?!\\()",emStrong:{lDelim:/^(?:\*+(?:([punct_])|[^\s*]))|^_+(?:([punct*])|([^\s_]))/,rDelimAst:/^[^_*]*?\_\_[^_*]*?\*[^_*]*?(?=\_\_)|[punct_](\*+)(?=[\s]|$)|[^punct*_\s](\*+)(?=[punct_\s]|$)|[punct_\s](\*+)(?=[^punct*_\s])|[\s](\*+)(?=[punct_])|[punct_](\*+)(?=[punct_])|[^punct*_\s](\*+)(?=[^punct*_\s])/,rDelimUnd:/^[^_*]*?\*\*[^_*]*?\_[^_*]*?(?=\*\*)|[punct*](\_+)(?=[\s]|$)|[^punct*_\s](\_+)(?=[punct*\s]|$)|[punct*\s](\_+)(?=[^punct*_\s])|[\s](\_+)(?=[punct*])|[punct*](\_+)(?=[punct*])/},code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,br:/^( {2,}|\\)\n(?!\s*$)/,del:x,text:/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,punctuation:/^([\spunctuation])/};te._punctuation="!\"#$%&'()+\\-.,/:;<=>?@\\[\\]`^{|}~",te.punctuation=S(te.punctuation).replace(/punctuation/g,te._punctuation).getRegex(),te.blockSkip=/\[[^\]]*?\]\([^\)]*?\)|`[^`]*?`|<[^>]*?>/g,te.escapedEmSt=/\\\*|\\_/g,te._comment=S(ce._comment).replace("(?:-->|$)","-->").getRegex(),te.emStrong.lDelim=S(te.emStrong.lDelim).replace(/punct/g,te._punctuation).getRegex(),te.emStrong.rDelimAst=S(te.emStrong.rDelimAst,"g").replace(/punct/g,te._punctuation).getRegex(),te.emStrong.rDelimUnd=S(te.emStrong.rDelimUnd,"g").replace(/punct/g,te._punctuation).getRegex(),te._escapes=/\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/g,te._scheme=/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/,te._email=/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/,te.autolink=S(te.autolink).replace("scheme",te._scheme).replace("email",te._email).getRegex(),te._attribute=/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/,te.tag=S(te.tag).replace("comment",te._comment).replace("attribute",te._attribute).getRegex(),te._label=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,te._href=/<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/,te._title=/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/,te.link=S(te.link).replace("label",te._label).replace("href",te._href).replace("title",te._title).getRegex(),te.reflink=S(te.reflink).replace("label",te._label).replace("ref",ce._label).getRegex(),te.nolink=S(te.nolink).replace("ref",ce._label).getRegex(),te.reflinkSearch=S(te.reflinkSearch,"g").replace("reflink",te.reflink).replace("nolink",te.nolink).getRegex(),te.normal=R({},te),te.pedantic=R({},te.normal,{strong:{start:/^__|\*\*/,middle:/^__(?=\S)([\s\S]*?\S)__(?!_)|^\*\*(?=\S)([\s\S]*?\S)\*\*(?!\*)/,endAst:/\*\*(?!\*)/g,endUnd:/__(?!_)/g},em:{start:/^_|\*/,middle:/^()\*(?=\S)([\s\S]*?\S)\*(?!\*)|^_(?=\S)([\s\S]*?\S)_(?!_)/,endAst:/\*(?!\*)/g,endUnd:/_(?!_)/g},link:S(/^!?\[(label)\]\((.*?)\)/).replace("label",te._label).getRegex(),reflink:S(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",te._label).getRegex()}),te.gfm=R({},te.normal,{escape:S(te.escape).replace("])","~|])").getRegex(),_extended_email:/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/,url:/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,_backpedal:/(?:[^?!.,:;*_~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])([\s\S]*?[^\s~])\1(?=[^~]|$)/,text:/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|https?:\/\/|ftp:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/}),te.gfm.url=S(te.gfm.url,"i").replace("email",te.gfm._extended_email).getRegex(),te.breaks=R({},te.gfm,{br:S(te.br).replace("{2,}","*").getRegex(),text:S(te.gfm.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()});function he(qe){return qe.replace(/---/g,"\u2014").replace(/--/g,"\u2013").replace(/(^|[-\u2014/(\[{"\s])'/g,"$1\u2018").replace(/'/g,"\u2019").replace(/(^|[-\u2014/(\[{\u2018\s])"/g,"$1\u201C").replace(/"/g,"\u201D").replace(/\.{3}/g,"\u2026")}function Q(qe){let q="",ne,ie;const K=qe.length;for(ne=0;ne<K;ne++)ie=qe.charCodeAt(ne),Math.random()>.5&&(ie="x"+ie.toString(16)),q+="&#"+ie+";";return q}class B{constructor(q){this.tokens=[],this.tokens.links=Object.create(null),this.options=q||l,this.options.tokenizer=this.options.tokenizer||new Fe,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options,this.tokenizer.lexer=this,this.inlineQueue=[],this.state={inLink:!1,inRawBlock:!1,top:!0};const ne={block:ce.normal,inline:te.normal};this.options.pedantic?(ne.block=ce.pedantic,ne.inline=te.pedantic):this.options.gfm&&(ne.block=ce.gfm,this.options.breaks?ne.inline=te.breaks:ne.inline=te.gfm),this.tokenizer.rules=ne}static get rules(){return{block:ce,inline:te}}static lex(q,ne){return new B(ne).lex(q)}static lexInline(q,ne){return new B(ne).inlineTokens(q)}lex(q){q=q.replace(/\r\n|\r/g,`
|
|
@@ -2608,11 +2608,11 @@ globstar while`,x,ce,R,te,he),this.matchOne(x.slice(ce),R.slice(te),g))return th
|
|
|
2608
2608
|
`}tablerow(q){return`<tr>
|
|
2609
2609
|
`+q+`</tr>
|
|
2610
2610
|
`}tablecell(q,ne){const ie=ne.header?"th":"td";return(ne.align?"<"+ie+' align="'+ne.align+'">':"<"+ie+">")+q+"</"+ie+`>
|
|
2611
|
-
`}strong(q){return"<strong>"+q+"</strong>"}em(q){return"<em>"+q+"</em>"}codespan(q){return"<code>"+q+"</code>"}br(){return this.options.xhtml?"<br/>":"<br>"}del(q){return"<del>"+q+"</del>"}link(q,ne,ie){if(q=m(this.options.sanitize,this.options.baseUrl,q),q===null)return ie;let K='<a href="'+h(q)+'"';return ne&&(K+=' title="'+ne+'"'),K+=">"+ie+"</a>",K}image(q,ne,ie){if(q=m(this.options.sanitize,this.options.baseUrl,q),q===null)return ie;let K='<img src="'+q+'" alt="'+ie+'"';return ne&&(K+=' title="'+ne+'"'),K+=this.options.xhtml?"/>":">",K}text(q){return q}}class re{strong(q){return q}em(q){return q}codespan(q){return q}del(q){return q}html(q){return q}text(q){return q}link(q,ne,ie){return""+ie}image(q,ne,ie){return""+ie}br(){return""}}class W{constructor(){this.seen={}}serialize(q){return q.toLowerCase().trim().replace(/<[!\/a-z].*?>/ig,"").replace(/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&()*+,./:;<=>?@[\]^`{|}~]/g,"").replace(/\s/g,"-")}getNextSafeSlug(q,ne){let ie=q,K=0;if(this.seen.hasOwnProperty(ie)){K=this.seen[q];do K++,ie=q+"-"+K;while(this.seen.hasOwnProperty(ie))}return ne||(this.seen[q]=K,this.seen[ie]=0),ie}slug(q,ne={}){const ie=this.serialize(q);return this.getNextSafeSlug(ie,ne.dryrun)}}class V{constructor(q){this.options=q||l,this.options.renderer=this.options.renderer||new J,this.renderer=this.options.renderer,this.renderer.options=this.options,this.textRenderer=new re,this.slugger=new W}static parse(q,ne){return new V(ne).parse(q)}static parseInline(q,ne){return new V(ne).parseInline(q)}parse(q,ne=!0){let ie="",K,we,He,Je,ft,At,Lt,Yt,Vt,ze,dt,bt,pt,Ct,$t,
|
|
2611
|
+
`}strong(q){return"<strong>"+q+"</strong>"}em(q){return"<em>"+q+"</em>"}codespan(q){return"<code>"+q+"</code>"}br(){return this.options.xhtml?"<br/>":"<br>"}del(q){return"<del>"+q+"</del>"}link(q,ne,ie){if(q=m(this.options.sanitize,this.options.baseUrl,q),q===null)return ie;let K='<a href="'+h(q)+'"';return ne&&(K+=' title="'+ne+'"'),K+=">"+ie+"</a>",K}image(q,ne,ie){if(q=m(this.options.sanitize,this.options.baseUrl,q),q===null)return ie;let K='<img src="'+q+'" alt="'+ie+'"';return ne&&(K+=' title="'+ne+'"'),K+=this.options.xhtml?"/>":">",K}text(q){return q}}class re{strong(q){return q}em(q){return q}codespan(q){return q}del(q){return q}html(q){return q}text(q){return q}link(q,ne,ie){return""+ie}image(q,ne,ie){return""+ie}br(){return""}}class W{constructor(){this.seen={}}serialize(q){return q.toLowerCase().trim().replace(/<[!\/a-z].*?>/ig,"").replace(/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&()*+,./:;<=>?@[\]^`{|}~]/g,"").replace(/\s/g,"-")}getNextSafeSlug(q,ne){let ie=q,K=0;if(this.seen.hasOwnProperty(ie)){K=this.seen[q];do K++,ie=q+"-"+K;while(this.seen.hasOwnProperty(ie))}return ne||(this.seen[q]=K,this.seen[ie]=0),ie}slug(q,ne={}){const ie=this.serialize(q);return this.getNextSafeSlug(ie,ne.dryrun)}}class V{constructor(q){this.options=q||l,this.options.renderer=this.options.renderer||new J,this.renderer=this.options.renderer,this.renderer.options=this.options,this.textRenderer=new re,this.slugger=new W}static parse(q,ne){return new V(ne).parse(q)}static parseInline(q,ne){return new V(ne).parseInline(q)}parse(q,ne=!0){let ie="",K,we,He,Je,ft,At,Lt,Yt,Vt,ze,dt,bt,pt,Ct,$t,fn,cn,Rn,Ke;const Ue=q.length;for(K=0;K<Ue;K++){if(ze=q[K],this.options.extensions&&this.options.extensions.renderers&&this.options.extensions.renderers[ze.type]&&(Ke=this.options.extensions.renderers[ze.type].call({parser:this},ze),Ke!==!1||!["space","hr","heading","code","table","blockquote","list","html","paragraph","text"].includes(ze.type))){ie+=Ke||"";continue}switch(ze.type){case"space":continue;case"hr":{ie+=this.renderer.hr();continue}case"heading":{ie+=this.renderer.heading(this.parseInline(ze.tokens),ze.depth,E(this.parseInline(ze.tokens,this.textRenderer)),this.slugger);continue}case"code":{ie+=this.renderer.code(ze.text,ze.lang,ze.escaped);continue}case"table":{for(Yt="",Lt="",Je=ze.header.length,we=0;we<Je;we++)Lt+=this.renderer.tablecell(this.parseInline(ze.header[we].tokens),{header:!0,align:ze.align[we]});for(Yt+=this.renderer.tablerow(Lt),Vt="",Je=ze.rows.length,we=0;we<Je;we++){for(At=ze.rows[we],Lt="",ft=At.length,He=0;He<ft;He++)Lt+=this.renderer.tablecell(this.parseInline(At[He].tokens),{header:!1,align:ze.align[He]});Vt+=this.renderer.tablerow(Lt)}ie+=this.renderer.table(Yt,Vt);continue}case"blockquote":{Vt=this.parse(ze.tokens),ie+=this.renderer.blockquote(Vt);continue}case"list":{for(dt=ze.ordered,bt=ze.start,pt=ze.loose,Je=ze.items.length,Vt="",we=0;we<Je;we++)$t=ze.items[we],fn=$t.checked,cn=$t.task,Ct="",$t.task&&(Rn=this.renderer.checkbox(fn),pt?$t.tokens.length>0&&$t.tokens[0].type==="paragraph"?($t.tokens[0].text=Rn+" "+$t.tokens[0].text,$t.tokens[0].tokens&&$t.tokens[0].tokens.length>0&&$t.tokens[0].tokens[0].type==="text"&&($t.tokens[0].tokens[0].text=Rn+" "+$t.tokens[0].tokens[0].text)):$t.tokens.unshift({type:"text",text:Rn}):Ct+=Rn),Ct+=this.parse($t.tokens,pt),Vt+=this.renderer.listitem(Ct,cn,fn);ie+=this.renderer.list(Vt,dt,bt);continue}case"html":{ie+=this.renderer.html(ze.text);continue}case"paragraph":{ie+=this.renderer.paragraph(this.parseInline(ze.tokens));continue}case"text":{for(Vt=ze.tokens?this.parseInline(ze.tokens):ze.text;K+1<Ue&&q[K+1].type==="text";)ze=q[++K],Vt+=`
|
|
2612
2612
|
`+(ze.tokens?this.parseInline(ze.tokens):ze.text);ie+=ne?this.renderer.paragraph(Vt):Vt;continue}default:{const it='Token with "'+ze.type+'" type was not found.';if(this.options.silent){console.error(it);return}else throw new Error(it)}}}return ie}parseInline(q,ne){ne=ne||this.renderer;let ie="",K,we,He;const Je=q.length;for(K=0;K<Je;K++){if(we=q[K],this.options.extensions&&this.options.extensions.renderers&&this.options.extensions.renderers[we.type]&&(He=this.options.extensions.renderers[we.type].call({parser:this},we),He!==!1||!["escape","html","link","image","strong","em","codespan","br","del","text"].includes(we.type))){ie+=He||"";continue}switch(we.type){case"escape":{ie+=ne.text(we.text);break}case"html":{ie+=ne.html(we.text);break}case"link":{ie+=ne.link(we.href,we.title,this.parseInline(we.tokens,ne));break}case"image":{ie+=ne.image(we.href,we.title,we.text);break}case"strong":{ie+=ne.strong(this.parseInline(we.tokens,ne));break}case"em":{ie+=ne.em(this.parseInline(we.tokens,ne));break}case"codespan":{ie+=ne.codespan(we.text);break}case"br":{ie+=ne.br();break}case"del":{ie+=ne.del(this.parseInline(we.tokens,ne));break}case"text":{ie+=ne.text(we.text);break}default:{const ft='Token with "'+we.type+'" type was not found.';if(this.options.silent){console.error(ft);return}else throw new Error(ft)}}}return ie}}function ae(qe,q,ne){if(typeof qe=="undefined"||qe===null)throw new Error("marked(): input parameter is undefined or null");if(typeof qe!="string")throw new Error("marked(): input parameter is of type "+Object.prototype.toString.call(qe)+", string expected");if(typeof q=="function"&&(ne=q,q=null),q=R({},ae.defaults,q||{}),Z(q),ne){const ie=q.highlight;let K;try{K=B.lex(qe,q)}catch(Je){return ne(Je)}const we=function(Je){let ft;if(!Je)try{q.walkTokens&&ae.walkTokens(K,q.walkTokens),ft=V.parse(K,q)}catch(At){Je=At}return q.highlight=ie,Je?ne(Je):ne(null,ft)};if(!ie||ie.length<3||(delete q.highlight,!K.length))return we();let He=0;ae.walkTokens(K,function(Je){Je.type==="code"&&(He++,setTimeout(()=>{ie(Je.text,Je.lang,function(ft,At){if(ft)return we(ft);At!=null&&At!==Je.text&&(Je.text=At,Je.escaped=!0),He--,He===0&&we()})},0))}),He===0&&we();return}try{const ie=B.lex(qe,q);return q.walkTokens&&ae.walkTokens(ie,q.walkTokens),V.parse(ie,q)}catch(ie){if(ie.message+=`
|
|
2613
2613
|
Please report this to https://github.com/markedjs/marked.`,q.silent)return"<p>An error occurred:</p><pre>"+h(ie.message+"",!0)+"</pre>";throw ie}}ae.options=ae.setOptions=function(qe){return R(ae.defaults,qe),s(ae.defaults),ae},ae.getDefaults=t,ae.defaults=l,ae.use=function(...qe){const q=R({},...qe),ne=ae.defaults.extensions||{renderers:{},childTokens:{}};let ie;qe.forEach(K=>{if(K.extensions&&(ie=!0,K.extensions.forEach(we=>{if(!we.name)throw new Error("extension name required");if(we.renderer){const He=ne.renderers?ne.renderers[we.name]:null;He?ne.renderers[we.name]=function(...Je){let ft=we.renderer.apply(this,Je);return ft===!1&&(ft=He.apply(this,Je)),ft}:ne.renderers[we.name]=we.renderer}if(we.tokenizer){if(!we.level||we.level!=="block"&&we.level!=="inline")throw new Error("extension level must be 'block' or 'inline'");ne[we.level]?ne[we.level].unshift(we.tokenizer):ne[we.level]=[we.tokenizer],we.start&&(we.level==="block"?ne.startBlock?ne.startBlock.push(we.start):ne.startBlock=[we.start]:we.level==="inline"&&(ne.startInline?ne.startInline.push(we.start):ne.startInline=[we.start]))}we.childTokens&&(ne.childTokens[we.name]=we.childTokens)})),K.renderer){const we=ae.defaults.renderer||new J;for(const He in K.renderer){const Je=we[He];we[He]=(...ft)=>{let At=K.renderer[He].apply(we,ft);return At===!1&&(At=Je.apply(we,ft)),At}}q.renderer=we}if(K.tokenizer){const we=ae.defaults.tokenizer||new Fe;for(const He in K.tokenizer){const Je=we[He];we[He]=(...ft)=>{let At=K.tokenizer[He].apply(we,ft);return At===!1&&(At=Je.apply(we,ft)),At}}q.tokenizer=we}if(K.walkTokens){const we=ae.defaults.walkTokens;q.walkTokens=function(He){K.walkTokens.call(this,He),we&&we.call(this,He)}}ie&&(q.extensions=ne),ae.setOptions(q)})},ae.walkTokens=function(qe,q){for(const ne of qe)switch(q.call(ae,ne),ne.type){case"table":{for(const ie of ne.header)ae.walkTokens(ie.tokens,q);for(const ie of ne.rows)for(const K of ie)ae.walkTokens(K.tokens,q);break}case"list":{ae.walkTokens(ne.items,q);break}default:ae.defaults.extensions&&ae.defaults.extensions.childTokens&&ae.defaults.extensions.childTokens[ne.type]?ae.defaults.extensions.childTokens[ne.type].forEach(function(ie){ae.walkTokens(ne[ie],q)}):ne.tokens&&ae.walkTokens(ne.tokens,q)}},ae.parseInline=function(qe,q){if(typeof qe=="undefined"||qe===null)throw new Error("marked.parseInline(): input parameter is undefined or null");if(typeof qe!="string")throw new Error("marked.parseInline(): input parameter is of type "+Object.prototype.toString.call(qe)+", string expected");q=R({},ae.defaults,q||{}),Z(q);try{const ne=B.lexInline(qe,q);return q.walkTokens&&ae.walkTokens(ne,q.walkTokens),V.parseInline(ne,q)}catch(ne){if(ne.message+=`
|
|
2614
|
-
Please report this to https://github.com/markedjs/marked.`,q.silent)return"<p>An error occurred:</p><pre>"+h(ne.message+"",!0)+"</pre>";throw ne}},ae.Parser=V,ae.parser=V.parse,ae.Renderer=J,ae.TextRenderer=re,ae.Lexer=B,ae.lexer=B.lex,ae.Tokenizer=Fe,ae.Slugger=W,ae.parse=ae;const pe=ae.options,Se=ae.setOptions,De=ae.use,nt=ae.walkTokens,Me=ae.parseInline,_e=null,j=V.parse,ue=B.lex;var Ce=e(13066),et=e(13303),Pe=Object.defineProperty,X=Object.defineProperties,_=Object.getOwnPropertyDescriptors,$=Object.getOwnPropertySymbols,H=Object.prototype.hasOwnProperty,I=Object.prototype.propertyIsEnumerable,ve=(qe,q,ne)=>q in qe?Pe(qe,q,{enumerable:!0,configurable:!0,writable:!0,value:ne}):qe[q]=ne,$e=(qe,q)=>{for(var ne in q||(q={}))H.call(q,ne)&&ve(qe,ne,q[ne]);if($)for(var ne of $(q))I.call(q,ne)&&ve(qe,ne,q[ne]);return qe},be=(qe,q)=>X(qe,_(q)),Te=(qe,q,ne)=>(ve(qe,typeof q!="symbol"?q+"":q,ne),ne);const Le=new ae.Renderer;ae.setOptions({renderer:Le,highlight:(qe,q)=>(0,Ce.CH)(qe,q)});function ke(qe){return`<!-- ReDoc-Inject: <${qe}> -->`}class at{constructor(q){this.options=q,Te(this,"headings",[]),Te(this,"currentTopHeading"),Te(this,"headingSectionLevel"),Te(this,"headingEnhanceRenderer"),Te(this,"originalHeadingRule"),Te(this,"parser"),Te(this,"headingRule",(ne,ie,K,we)=>{var He,Je;return ie===1?this.currentTopHeading=this.saveHeading(ne,ie):ie<=this.headingSectionLevel&&this.saveHeading(ne,ie,(He=this.currentTopHeading)==null?void 0:He.items,(Je=this.currentTopHeading)==null?void 0:Je.id),this.originalHeadingRule(ne,ie,K,we)}),this.headingEnhanceRenderer=new ae.Renderer,this.parser=new ae.Parser,this.originalHeadingRule=this.headingEnhanceRenderer.heading.bind(this.headingEnhanceRenderer),this.headingEnhanceRenderer.heading=this.headingRule,this.headingSectionLevel=(q==null?void 0:q.markdownHeadingsAnchorLevel)||2}static containsComponent(q,ne){return new RegExp(et.JE.replace(/{component}/g,ne),"gmi").test(q)}static getTextBeforeHading(q,ne){const ie=q.search(new RegExp(`^(>\\s+#+|#+)?\\s+${ne}`,"m"));return ie>-1?q.substring(0,ie):q}saveHeading(q,ne,ie=this.headings,K){q=(0,Ce.Lf)(q);const we={id:K?`${K}/${(0,Ce.bO)(q)}`:`section/${(0,Ce.bO)(q)}`,name:q,level:ne,items:[]};return ie.push(we),we}flattenHeadings(q){if(q===void 0)return[];const ne=[];for(const ie of q)ne.push(ie),ne.push(...this.flattenHeadings(ie.items));return ne}attachHeadingsDescriptions(q){const ne=Je=>new RegExp(`##?\\s+${Je.name.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&")}`),ie=this.flattenHeadings(this.headings);if(ie.length<1)return;let K=ie[0],we=ne(K),He=q.search(we);for(let Je=1;Je<ie.length;Je++){const ft=ie[Je],At=ne(ft),Lt=q.substr(He+1).search(At)+He+1;K.description=q.substring(He,Lt).replace(we,"").trim(),K=ft,we=At,He=Lt}K.description=q.substring(He).replace(we,"").trim()}renderMd(q,ne=!1){const ie=ne?{renderer:this.headingEnhanceRenderer}:void 0;return ae(q.toString(),ie)}extractHeadings(q){this.renderMd(q,!0),this.attachHeadingsDescriptions(q);const ne=this.headings;return this.headings=[],ne}renderMdWithComponents(q){const ne=this.options&&this.options.allowedMdComponents;if(!ne||Object.keys(ne).length===0)return[this.renderMd(q)];const ie=Object.keys(ne).join("|"),K=new RegExp(et.JE.replace(/{component}/g,ie),"mig"),we=[],He=[];let Je=K.exec(q),ft=0;for(;Je;){we.push(q.substring(ft,Je.index)),ft=K.lastIndex;const Lt=Je[1]||Je[2]||Je[5],Yt=ne[Lt],Vt=Je[3]||Je[6],ze=Je[4];Yt&&He.push({component:Yt.component,propsSelector:Yt.propsSelector,props:be($e($e({},xt(Vt)),Yt.props),{children:ze})}),Je=K.exec(q)}we.push(q.substring(ft));const At=[];for(let Lt=0;Lt<we.length;Lt++){const Yt=we[Lt];Yt&&At.push(this.renderMd(Yt)),He[Lt]&&At.push(He[Lt])}return At}}function xt(qe){if(!qe)return{};const q=/([\w-]+)\s*=\s*(?:{([^}]+?)}|"([^"]+?)")/gim,ne={};let ie;for(;(ie=q.exec(qe))!==null;)if(ie[3])ne[ie[1]]=ie[3];else if(ie[2]){let K;try{K=JSON.parse(ie[2])}catch(we){}ne[ie[1]]=K}return ne}},57180:(L,n,e)=>{"use strict";e.d(n,{u:()=>c});var t=e(813),l=e.n(t),s=Object.defineProperty,o=(u,a,d)=>a in u?s(u,a,{enumerable:!0,configurable:!0,writable:!0,value:d}):u[a]=d,r=(u,a,d)=>(o(u,typeof a!="symbol"?a+"":a,d),d);class c{constructor(){r(this,"map",new Map),r(this,"prevTerm","")}add(a){this.map.set(a,new(l())(a))}delete(a){this.map.delete(a)}addOnly(a){this.map.forEach((d,h)=>{a.indexOf(h)===-1&&(d.unmark(),this.map.delete(h))});for(const d of a)this.map.has(d)||this.map.set(d,new(l())(d))}clearAll(){this.unmark(),this.map.clear()}mark(a){!a&&!this.prevTerm||(this.map.forEach(d=>{d.unmark(),d.mark(a||this.prevTerm)}),this.prevTerm=a||this.prevTerm)}unmark(){this.map.forEach(a=>a.unmark()),this.prevTerm=""}}},34405:(L,n,e)=>{"use strict";e.d(n,{r:()=>S});var t=e(13066),l=e(16802),s=e(5062),o=e(13303),r=Object.defineProperty,c=Object.defineProperties,u=Object.getOwnPropertyDescriptors,a=Object.getOwnPropertySymbols,d=Object.prototype.hasOwnProperty,h=Object.prototype.propertyIsEnumerable,p=(v,b,m)=>b in v?r(v,b,{enumerable:!0,configurable:!0,writable:!0,value:m}):v[b]=m,E=(v,b)=>{for(var m in b||(b={}))d.call(b,m)&&p(v,m,b[m]);if(a)for(var m of a(b))h.call(b,m)&&p(v,m,b[m]);return v},T=(v,b)=>c(v,u(b));class S{static buildStructure(b,m){const y=b.definition,O=[],C=[...y.tags||[]];!C.find(R=>(R==null?void 0:R.name)===m.schemaDefinitionsTagName)&&m.schemaDefinitionsTagName&&C.push({name:m.schemaDefinitionsTagName});const w=S.getTagsWithOperations(b,C),x=y["x-tagGroups"];return O.push(...S.addMarkdownItems(y.info.description||"",void 0,1,m)),x&&x.length>0?O.push(...S.getTagGroupsItems(b,void 0,x,w,m)):O.push(...S.getTagsItems(b,w,void 0,void 0,m)),O}static addMarkdownItems(b,m,y,O){const A=new l.$(O).extractHeadings(b||"");A.length&&m&&m.description&&(m.description=l.$.getTextBeforeHading(m.description,A[0].name));const w=(x,R,g=1)=>R.map(k=>{const G=new s.dZ("section",k,x);return G.depth=g,k.items&&(G.items=w(G,k.items,g+1)),G});return w(m,A,y)}static getTagGroupsItems(b,m,y,O,C){const A=[];for(const w of y){const x=new s.dZ("group",w,m);x.depth=o.tT,x.items=S.getTagsItems(b,O,x,w,C),A.push(x)}return A}static getTagsItems(b,m,y,O,C){let A;if(O===void 0?A=Object.keys(m):A=O.tags,!Array.isArray(A))return console.warn("Unexpected values of tags. Check tags or x-tagGroups in your definition."),[];const w=A.map(R=>m[R]?(m[R].used=!0,m[R]):(console.warn(`Non-existing tag "${R}" is added to the group "${O==null?void 0:O.name}"`),null)),x=[];for(const R of w){if(!R)continue;const g=new s.dZ("tag",R,y);if(g.depth=o.tT+1,R.name===""){const G=[...S.addMarkdownItems(R.description||"",g,g.depth+1,C),...this.getOperationsItems(b,void 0,R,g.depth+1,C)];x.push(...G);continue}const k=this.getTagRelatedSchema({parser:b,tag:R,parent:g,schemaDefinitionsTagName:C.schemaDefinitionsTagName});g.items=[...k,...S.addMarkdownItems(R.description||"",g,g.depth+1,C),...this.getOperationsItems(b,g,R,g.depth+1,C)],x.push(g)}return C.sortTagsAlphabetically&&x.sort((0,t.Bi)("name")),x}static getTagRelatedSchema({parser:b,tag:m,parent:y,schemaDefinitionsTagName:O}){var C;const A=O?[O]:[];return Object.entries(((C=b.definition.components)==null?void 0:C.schemas)||{}).map(([w,x])=>{if(!(x["x-tags"]||A).includes(m.name))return null;const g=new s.dZ("schema",{name:w,"x-displayName":`${x.title||w}`,description:`<SchemaDefinition showWriteOnly={true} schemaRef="#/components/schemas/${w}" />`,isSchema:!0,level:2},y);return g.depth=y.depth+1,g}).filter(Boolean)}static getOperationsItems(b,m,y,O,C){if(y.operations.length===0)return[];const A=[];for(const w of y.operations){const x=new s.pk(b,w,m,C);x.depth=O,A.push(x)}return C.sortOperationsAlphabetically&&A.sort((0,t.Bi)("name")),A}static getTagsWithOperations(b,m){const y={},{definition:O}=b,C=O["x-webhooks"]||O.webhooks;for(const w of m||[])y[w.name]=T(E({},w),{operations:[]});O.paths&&A(b,O.paths),C&&A(b,C,!0);function A(w,x,R){for(const g of Object.keys(x||{})){const k=x[g],G=Object.keys(k).filter(t.eU);for(const Z of G){const oe=k[Z];if(k.$ref){const{resolved:Ee}=w.deref(k);A(w,{[g]:Ee},R);continue}let ee=oe==null?void 0:oe.tags;(!ee||!ee.length)&&(ee=[""]);for(const Ee of ee){let Fe=y[Ee];Fe===void 0&&(Fe={name:Ee,operations:[]},y[Ee]=Fe),!Fe["x-traitTag"]&&Fe.operations.push(T(E({},oe),{pathName:g,pointer:t.IB.compile(["paths",g,Z]),httpVerb:Z,pathParameters:k.parameters||[],pathServers:k.servers,isWebhook:!!R}))}}}}return y}}},54785:(L,n,e)=>{"use strict";e.d(n,{Gk:()=>v,Xo:()=>m});var t=e(13066),l=e(71796),s=e(98906),o=Object.defineProperty,r=Object.defineProperties,c=Object.getOwnPropertyDescriptors,u=Object.getOwnPropertySymbols,a=Object.prototype.hasOwnProperty,d=Object.prototype.propertyIsEnumerable,h=(y,O,C)=>O in y?o(y,O,{enumerable:!0,configurable:!0,writable:!0,value:C}):y[O]=C,p=(y,O)=>{for(var C in O||(O={}))a.call(O,C)&&h(y,C,O[C]);if(u)for(var C of u(O))d.call(O,C)&&h(y,C,O[C]);return y},E=(y,O)=>r(y,c(O)),T=(y,O)=>{var C={};for(var A in y)a.call(y,A)&&O.indexOf(A)<0&&(C[A]=y[A]);if(y!=null&&u)for(var A of u(y))O.indexOf(A)<0&&d.call(y,A)&&(C[A]=y[A]);return C},S=(y,O,C)=>(h(y,typeof O!="symbol"?O+"":O,C),C);function v(y,O){return O&&y[y.length-1]!==O?[...y,O]:y}function b(y,O){return O?y.concat(O):y}class m{constructor(O,C,A=new s.V({})){this.options=A,S(this,"definitionUrl"),S(this,"definition"),S(this,"allowMergeRefs",!1),S(this,"byRef",x=>{let R;if(!!this.definition){x.charAt(0)!=="#"&&(x="#"+x),x=decodeURIComponent(x);try{R=l.I.get(this.definition,x)}catch(g){}return R||{}}}),this.validate(O),this.preprocess(O),this.definition=O,this.allowMergeRefs=O.openapi.startsWith("3.1");const w=t.Qg?window.location.href:"";typeof C=="string"&&(this.definitionUrl=new URL(C,w).href)}validate(O){if(O.openapi===void 0)throw new Error("Document must be valid OpenAPI 3.0.0 definition")}preprocess(O){if(O.info&&this.options.hideInfoDescription){O.info.description="";return}}isRef(O){return O?(O=O,O.$ref!==void 0&&O.$ref!==null):!1}deref(O,C=[],A=!1){const w=O==null?void 0:O["x-refsStack"];if(C=b(C,w),this.isRef(O)){const x=(0,t.ft)(O.$ref);if(x&&this.options.ignoreNamedSchemas.has(x))return{resolved:{type:"object",title:x},refsStack:C};let R=this.byRef(O.$ref);if(!R)throw new Error(`Failed to resolve $ref "${O.$ref}"`);let g=C;if(C.includes(O.$ref))R=Object.assign({},R,{"x-circular-ref":!0});else if(this.isRef(R)){const k=this.deref(R,C,A);g=k.refsStack,R=k.resolved}return g=v(C,O.$ref),R=this.allowMergeRefs?this.mergeRefs(O,R,A):R,{resolved:R,refsStack:g}}return{resolved:O,refsStack:b(C,w)}}mergeRefs(O,C,A){const w=O,{$ref:x}=w,R=T(w,["$ref"]),g=Object.keys(R);if(g.length===0)return C;if(A&&g.some(k=>!["description","title","externalDocs","x-refsStack","x-parentRefs","readOnly","writeOnly"].includes(k))){const k=R,{description:G,title:Z,readOnly:oe,writeOnly:ee}=k,Ee=T(k,["description","title","readOnly","writeOnly"]);return{allOf:[{description:G,title:Z,readOnly:oe,writeOnly:ee},C,Ee]}}else return p(p({},C),R)}mergeAllOf(O,C,A){var w;if(O["x-circular-ref"]||(O=this.hoistOneOfs(O),O.allOf===void 0))return O;let x=E(p({},O),{"x-parentRefs":[],allOf:void 0,title:O.title||(0,t.ft)(C)});x.properties!==void 0&&typeof x.properties=="object"&&(x.properties=p({},x.properties)),x.items!==void 0&&typeof x.items=="object"&&(x.items=p({},x.items));const R=O.allOf.map(g=>{var k;const{resolved:G,refsStack:Z}=this.deref(g,A,!0),oe=g.$ref||void 0,ee=this.mergeAllOf(G,oe,Z);if(!(ee["x-circular-ref"]&&ee.allOf))return oe&&((k=x["x-parentRefs"])==null||k.push(...ee["x-parentRefs"]||[],oe)),{$ref:oe,refsStack:v(Z,oe),schema:ee}}).filter(g=>g!==void 0);for(const{schema:g,refsStack:k}of R){const G=g,{type:Z,enum:oe,properties:ee,items:Ee,required:Fe,title:ce,description:te,readOnly:he,writeOnly:Q,oneOf:B,anyOf:J,"x-circular-ref":re}=G,W=T(G,["type","enum","properties","items","required","title","description","readOnly","writeOnly","oneOf","anyOf","x-circular-ref"]);if(x.type!==Z&&x.type!==void 0&&Z!==void 0&&console.warn(`Incompatible types in allOf at "${C}": "${x.type}" and "${Z}"`),Z!==void 0&&(Array.isArray(Z)&&Array.isArray(x.type)?x.type=[...Z,...x.type]:x.type=Z),oe!==void 0&&(Array.isArray(oe)&&Array.isArray(x.enum)?x.enum=Array.from(new Set([...oe,...x.enum])):x.enum=oe),ee!==void 0&&typeof ee=="object"){x.properties=x.properties||{};for(const V in ee){const ae=b(k,(w=ee[V])==null?void 0:w["x-refsStack"]);if(!x.properties[V])x.properties[V]=E(p({},ee[V]),{"x-refsStack":ae});else if(!re){const pe=this.mergeAllOf({allOf:[x.properties[V],ee[V]],"x-refsStack":ae},C+"/properties/"+V,ae);x.properties[V]=pe}}}if(Ee!==void 0&&!re){const V=typeof x.items=="boolean"?{}:Object.assign({},x.items),ae=typeof g.items=="boolean"?{}:Object.assign({},g.items);x.items=this.mergeAllOf({allOf:[V,ae]},C+"/items",k)}B!==void 0&&(x.oneOf=B),J!==void 0&&(x.anyOf=J),Fe!==void 0&&(x.required=[...x.required||[],...Fe]),x=p(E(p({},x),{title:x.title||ce,description:x.description||te,readOnly:x.readOnly!==void 0?x.readOnly:he,writeOnly:x.writeOnly!==void 0?x.writeOnly:Q,"x-circular-ref":x["x-circular-ref"]||re}),W)}return x}findDerived(O){const C={},A=this.definition.components&&this.definition.components.schemas||{};for(const w in A){const{resolved:x}=this.deref(A[w]);x.allOf!==void 0&&x.allOf.find(R=>R.$ref!==void 0&&O.indexOf(R.$ref)>-1)&&(C["#/components/schemas/"+w]=[x["x-discriminator-value"]||w])}return C}hoistOneOfs(O){if(O.allOf===void 0)return O;const C=O.allOf;for(let A=0;A<C.length;A++){const w=C[A];if(Array.isArray(w.oneOf)){const x=C.slice(0,A),R=C.slice(A+1);return{oneOf:w.oneOf.map(g=>({allOf:[...x,g,...R]}))}}}return O}}},98906:(L,n,e)=>{"use strict";e.d(n,{V:()=>R});var t=e(68949),l=e(39895),s=e(61191);const r={spacing:{unit:5,sectionHorizontal:({spacing:g})=>g.unit*8,sectionVertical:({spacing:g})=>g.unit*4},breakpoints:{small:"50rem",medium:"85rem",large:"105rem"},colors:{tonalOffset:.2,primary:{main:"#0065FB",light:({colors:g})=>(0,l.$n)(g.tonalOffset,g.primary.main),dark:({colors:g})=>(0,l._j)(g.tonalOffset,g.primary.main),contrastText:({colors:g})=>(0,l.XV)(g.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:g})=>(0,l.$n)(g.tonalOffset*2,g.success.main),dark:({colors:g})=>(0,l._j)(g.tonalOffset,g.success.main),contrastText:({colors:g})=>(0,l.XV)(g.success.main)},warning:{main:"#ffa500",light:({colors:g})=>(0,l.$n)(g.tonalOffset,g.warning.main),dark:({colors:g})=>(0,l._j)(g.tonalOffset,g.warning.main),contrastText:"#ffffff"},error:{main:"#FF6161",light:({colors:g})=>(0,l.$n)(g.tonalOffset,g.error.main),dark:({colors:g})=>(0,l._j)(g.tonalOffset,g.error.main),contrastText:"#ffffff"},text:{primary:"#1F2933",secondary:"#7b8794",light:"#F5F7FA"},border:{dark:"#616E7C",light:"#E4E7EB"},responses:{success:{borderColor:"#B1E996",backgroundColor:"#F6FFF4",tabTextColor:({colors:g})=>g.responses.success.borderColor},error:{borderColor:"#FFC9C9",backgroundColor:"#FFF4F4",tabTextColor:({colors:g})=>g.responses.error.borderColor},redirect:{borderColor:({colors:g})=>g.warning.main,backgroundColor:({colors:g})=>(0,l.DZ)(.9,g.responses.redirect.borderColor),tabTextColor:({colors:g})=>g.responses.redirect.borderColor},info:{borderColor:"#87ceeb",backgroundColor:({colors:g})=>(0,l.DZ)(.9,g.responses.info.borderColor),tabTextColor:({colors:g})=>g.responses.info.borderColor}},http:{get:"#3A9601",post:"#0065FB",put:"#93527B",options:"#947014",patch:"#bf581d",delete:"#C83637",basic:"#707070",link:"#07818F",head:"#A23DAD"}},schema:{linesColor:g=>g.colors.border.light,defaultDetailsWidth:"70%",typeNameColor:g=>g.colors.text.secondary,typeTitleColor:g=>g.schema.typeNameColor,requireLabelColor:"#FF0000",labelsTextSize:"0.9em",nestingSpacing:"1em",nestedBackground:g=>g.colors.secondary.light,nestedAlternativeBackground:"#ffffff",caretColor:({colors:g})=>g.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:g})=>g.fontFamily,fontWeight:"700",lineHeight:"1.6em"},code:{fontSize:"13px",fontFamily:"Source Code Pro, monospace",lineHeight:({typography:g})=>g.lineHeight,fontWeight:({typography:g})=>g.fontWeightRegular,color:"#e53935",backgroundColor:"rgba(38, 50, 56, 0.05)",wrap:!1},links:{color:({colors:g})=>g.primary.main,visited:({typography:g})=>g.links.color,hover:({typography:g})=>(0,l.$n)(.2,g.links.color),textDecoration:"auto",hoverTextDecoration:"auto"},fieldName:{fontSize:({typography:g})=>g.code.fontSize,fontFamily:({typography:g})=>g.code.fontFamily,fontWeight:({typography:g})=>g.code.fontWeight}},sidebar:{separatorLabelColor:({sidebar:g})=>g.textColor,separatorLineColor:"#DADADA",caretColor:({sidebar:g})=>g.textColor,caretSize:({sidebar:g})=>g.spacing.unit,spacing:{unit:8,paddingHorizontal:({sidebar:g})=>g.spacing.unit,paddingVertical:({sidebar:g})=>g.spacing.unit,offsetTop:({sidebar:g})=>g.spacing.unit*2,offsetLeft:({sidebar:g})=>g.spacing.unit*2,offsetNesting:({sidebar:g})=>g.spacing.unit*2},borderRadius:"4px",fontFamily:({typography:g})=>g.fontFamily,fontSize:({typography:g})=>g.fontSize,showAtBreakpoint:"small",width:"285px",backgroundColor:"#fff",rightLineColor:g=>g.colors.border.light,textColor:g=>g.colors.text.primary,activeTextColor:g=>g.sidebar.textColor,activeBgColor:g=>g.colors.border.light},components:{buttons:{borderRadius:({shape:g})=>g.borderRadius,hoverStyle:"",fontWeight:({typography:g})=>g.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:g})=>g.code.fontFamily,fontWeight:({typography:g})=>g.fontWeightBold,color:({colors:g})=>g.text.light,sizes:{medium:{fontSize:"12px",lineHeight:"20px"},small:{fontSize:"8px",lineHeight:"15px"}}},tryItButton:{fullWidth:!1},tryItSendButton:{fullWidth:!1},panels:{borderRadius:"8px",backgroundColor:"#fff",title:{fontSize:"18px",fontWeight:({typography:g})=>g.headings.fontWeight,fontFamily:({typography:g})=>g.fontFamily,lineHeight:"18px",color:"#1F2933",transform:""},subTitle:{fontSize:"0.9em",fontWeight:"normal",fontFamily:({typography:g})=>g.fontFamily,lineHeight:"18px",color:"#1F2933",transform:""},iconColor:"#1F2933"},layoutControls:{top:"20px",width:"36px",height:"36px"}},logo:{maxHeight:({sidebar:g})=>g.width,maxWidth:({sidebar:g})=>g.width,gutter:"2px"},fab:{backgroundColor:"#f2f2f2",color:"#0065FB"},rightPanel:{showAtBreakpoint:"medium",backgroundColor:"#1F2933",panelBackgroundColor:"#52606D",panelControlsBackgroundColor:"#323F4B",width:"37.5%",textColor:"#ffffff"},codeBlock:{backgroundColor:({rightPanel:g})=>g.panelControlsBackgroundColor,maxHeight:"auto"},shape:{borderRadius:"4px"},layout:{showDarkRightPanel:!1,stacked:{maxWidth:{[s.QU]:"",small:"90%",medium:"75%",large:"1200px"}},"three-panel":{middlePanelMaxWidth:"none",maxWidth:{[s.QU]:"100%",small:"100%",medium:"100%",large:"1800px"}}}};function c(g){const k={};let G=0;const Z=(oe,ee)=>{Object.keys(oe).forEach(Ee=>{const Fe=(ee?ee+".":"")+Ee,ce=oe[Ee];typeof ce=="function"?Object.defineProperty(oe,Ee,{get(){if(!k[Fe]){if(G++,G>1e3)throw new Error(`Theme probably contains circular dependency at ${Fe}: ${ce.toString()}`);k[Fe]=ce(g)}return k[Fe]},enumerable:!0}):typeof ce=="object"&&Z(ce,Fe)})};return Z(g,""),JSON.parse(JSON.stringify(g))}var u=e(13066),a=e(25446),d=e(49376),h=e(51027),p=Object.defineProperty,E=Object.defineProperties,T=Object.getOwnPropertyDescriptor,S=Object.getOwnPropertyDescriptors,v=Object.getOwnPropertySymbols,b=Object.prototype.hasOwnProperty,m=Object.prototype.propertyIsEnumerable,y=(g,k,G)=>k in g?p(g,k,{enumerable:!0,configurable:!0,writable:!0,value:G}):g[k]=G,O=(g,k)=>{for(var G in k||(k={}))b.call(k,G)&&y(g,G,k[G]);if(v)for(var G of v(k))m.call(k,G)&&y(g,G,k[G]);return g},C=(g,k)=>E(g,S(k)),A=(g,k,G,Z)=>{for(var oe=Z>1?void 0:Z?T(k,G):k,ee=g.length-1,Ee;ee>=0;ee--)(Ee=g[ee])&&(oe=(Z?Ee(k,G,oe):Ee(oe))||oe);return Z&&oe&&p(k,G,oe),oe},w=(g,k,G)=>(y(g,typeof k!="symbol"?k+"":k,G),G);const x=class{constructor(g,k={}){w(this,"theme"),w(this,"scrollYOffset"),w(this,"hideHostname"),w(this,"hideInfoDescription"),w(this,"expandResponses"),w(this,"requiredPropsFirst"),w(this,"sortPropsAlphabetically"),w(this,"sortEnumValuesAlphabetically"),w(this,"sortOperationsAlphabetically"),w(this,"sortTagsAlphabetically"),w(this,"nativeScrollbars"),w(this,"pathInMiddlePanel"),w(this,"untrustedDefinition"),w(this,"hideDownloadButton"),w(this,"downloadDefinitionUrl"),w(this,"disableSearch"),w(this,"showChangeLayoutButton"),w(this,"onlyRequiredInSamples"),w(this,"showConsole"),w(this,"sendXUserAgentInTryIt"),w(this,"generatedPayloadSamplesMaxDepth"),w(this,"showExtensions"),w(this,"preserveOriginalExtensionsName"),w(this,"hideSingleRequestSampleTab"),w(this,"hideRequestPayloadSample"),w(this,"menuToggle"),w(this,"jsonSampleExpandLevel"),w(this,"enumSkipQuotes"),w(this,"hideSchemaTitles"),w(this,"hideSecuritySection"),w(this,"showSecuritySchemeType"),w(this,"simpleOneOfTypeLabel"),w(this,"payloadSampleIdx"),w(this,"expandSingleSchemaField"),w(this,"schemaExpansionLevel"),w(this,"samplesTabsMaxCount"),w(this,"mockServer"),w(this,"unstable_tryItButtonOverride"),w(this,"allowedMdComponents"),w(this,"expandDefaultServerVariables"),w(this,"expandDefaultRequest"),w(this,"expandDefaultResponse"),w(this,"collapseRequestSamplePanel"),w(this,"collapseResponseSamplePanel"),w(this,"maxDisplayedEnumValues"),w(this,"ignoreNamedSchemas"),w(this,"unstable_ignoreMimeParameters"),w(this,"unstable_externalCodeSamples"),w(this,"hooks"),w(this,"hideSchemaPattern"),w(this,"hideOneOfDescription"),w(this,"hideFab"),w(this,"markdownHeadingsAnchorLevel"),w(this,"schemaDefinitionsTagName"),w(this,"minCharacterLengthToInitSearch"),w(this,"maxResponseHeadersToShowInTryIt"),w(this,"showWebhookVerb"),w(this,"showObjectSchemaExamples"),w(this,"showAccessMode"),w(this,"disableTryItRequestUrlEncoding");var G,Z,oe,ee,Ee,Fe;(0,t.rC)(this),g=O(O({},k),g);const ce=(G=g.theme)==null?void 0:G.extensionsHook;((Z=g.theme)==null?void 0:Z.menu)&&!((oe=g.theme)==null?void 0:oe.sidebar)&&(console.warn('Theme setting "menu" is deprecated. Rename to "sidebar"'),g.theme.sidebar=g.theme.menu),((ee=g.theme)==null?void 0:ee.codeSample)&&!((Ee=g.theme)==null?void 0:Ee.codeBlock)&&(console.warn('Theme setting "codeSample" is deprecated. Rename to "codeBlock"'),g.theme.codeBlock=g.theme.codeSample),this.theme=c((0,u.PM)({},r,C(O({},g.theme),{extensionsHook:void 0}))),this.theme.mediaQueries={print:"@media print"};for(const[he,Q]of Object.entries(this.theme.breakpoints))this.theme.mediaQueries[he]=`@media screen and (min-width: ${Q})`;this.theme.extensionsHook=ce,(0,h.W)(g.labels),this.scrollYOffset=x.normalizeScrollYOffset(g.scrollYOffset),this.hideHostname=x.normalizeHideHostname(g.hideHostname),this.expandResponses=x.normalizeExpandResponses(g.expandResponses),this.requiredPropsFirst=(0,u.m9)(g.requiredPropsFirst),this.sortPropsAlphabetically=(0,u.m9)(g.sortPropsAlphabetically),this.sortEnumValuesAlphabetically=(0,u.m9)(g.sortEnumValuesAlphabetically),this.sortOperationsAlphabetically=(0,u.m9)(g.sortOperationsAlphabetically),this.sortTagsAlphabetically=(0,u.m9)(g.sortTagsAlphabetically),this.nativeScrollbars=(0,u.m9)(g.nativeScrollbars),this.pathInMiddlePanel=(0,u.m9)(g.pathInMiddlePanel),this.untrustedDefinition=(0,u.m9)(g.untrustedDefinition),this.hideDownloadButton=g.hideDownloadButton===void 0?null:(0,u.m9)(g.hideDownloadButton),this.downloadDefinitionUrl=g.downloadDefinitionUrl,this.hideInfoDescription=(0,u.m9)(g.hideInfoDescription),this.disableSearch=(0,u.m9)(g.disableSearch),this.onlyRequiredInSamples=(0,u.m9)(g.onlyRequiredInSamples),this.generatedPayloadSamplesMaxDepth=(0,u.At)(g.generatedPayloadSamplesMaxDepth)||8,this.sendXUserAgentInTryIt=(0,u.m9)(g.sendXUserAgentInTryIt),this.showExtensions=x.normalizeShowExtensions(g.showExtensions),this.preserveOriginalExtensionsName=(0,u.m9)(g.preserveOriginalExtensionsName,!1),this.hideSingleRequestSampleTab=(0,u.m9)(g.hideSingleRequestSampleTab),this.hideRequestPayloadSample=(0,u.m9)(g.hideRequestPayloadSample),this.menuToggle=(0,u.m9)(g.menuToggle,!0),this.jsonSampleExpandLevel=(0,u.Z3)(g.jsonSampleExpandLevel,2),this.enumSkipQuotes=(0,u.m9)(g.enumSkipQuotes),this.hideSchemaTitles=(0,u.m9)(g.hideSchemaTitles),this.hideSecuritySection=(0,u.m9)(g.hideSecuritySection),this.showSecuritySchemeType=(0,u.m9)(g.showSecuritySchemeType),this.simpleOneOfTypeLabel=(0,u.m9)(g.simpleOneOfTypeLabel),this.payloadSampleIdx=x.normalizePayloadSampleIdx(g.payloadSampleIdx),this.expandSingleSchemaField=(0,u.m9)(g.expandSingleSchemaField),this.schemaExpansionLevel=(0,u.Z3)(g.schemaExpansionLevel),this.samplesTabsMaxCount=(0,u.At)(g.samplesTabsMaxCount)||5,this.unstable_tryItButtonOverride=g.unstable_tryItButtonOverride||null,this.unstable_ignoreMimeParameters=(0,u.m9)(g.unstable_ignoreMimeParameters),this.allowedMdComponents=g.allowedMdComponents||{},this.expandDefaultServerVariables=(0,u.m9)(g.expandDefaultServerVariables),this.expandDefaultRequest=(0,u.m9)(g.expandDefaultRequest,!0),this.expandDefaultResponse=(0,u.m9)(g.expandDefaultResponse,!0),this.collapseRequestSamplePanel=(0,u.m9)(g.collapseRequestSamplePanel,!1),this.collapseResponseSamplePanel=(0,u.m9)(g.collapseResponseSamplePanel,!1),this.maxDisplayedEnumValues=(0,u.RC)(g.maxDisplayedEnumValues);const te=Array.isArray(g.ignoreNamedSchemas)?g.ignoreNamedSchemas:(Fe=g.ignoreNamedSchemas)==null?void 0:Fe.split(",").map(he=>he.trim());this.ignoreNamedSchemas=new Set(te),this.unstable_externalCodeSamples=g.unstable_externalCodeSamples||[],this.hooks=g.hooks||(0,a.rR)(d.C.HOOKS)||{},this.hooks.ReplaceTryItAuthPanel&&!this.hooks.ReplaceTryItSecurityPanel&&(console.warn("[warn] ReplaceTryItAuthPanel is deprecated, use ReplaceTryItSecurityPanel instead"),this.hooks.ReplaceTryItSecurityPanel=this.hooks.ReplaceTryItAuthPanel),this.hideSchemaPattern=(0,u.m9)(g.hideSchemaPattern),this.hideOneOfDescription=(0,u.m9)(g.hideOneOfDescription),this.hideFab=(0,u.m9)(g.hideFab),this.markdownHeadingsAnchorLevel=(0,u.RC)(g.markdownHeadingsAnchorLevel,2),this.schemaDefinitionsTagName=g.schemaDefinitionsTagName,this.minCharacterLengthToInitSearch=(0,u.RC)(g.minCharacterLengthToInitSearch,3),this.maxResponseHeadersToShowInTryIt=(0,u.RC)(g.maxResponseHeadersToShowInTryIt),this.showWebhookVerb=(0,u.m9)(g.showWebhookVerb),this.showObjectSchemaExamples=(0,u.m9)(g.showObjectSchemaExamples),this.showAccessMode=(0,u.m9)(g.showAccessMode),this.disableTryItRequestUrlEncoding=(0,u.m9)(g.disableTryItRequestUrlEncoding,!1)}static normalizeExpandResponses(g){if(g==="all")return"all";if(typeof g=="string"){const k={};return g.split(",").forEach(G=>{k[G.trim()]=!0}),k}else g!==void 0&&console.warn(`expandResponses must be a string but received value "${g}" of type ${typeof g}`);return{}}static normalizeHideHostname(g){return!!g}static normalizeScrollYOffset(g){if(typeof g=="string"&&!(0,u.kE)(g)){const k=(0,u.R2)(g);k||console.warn("scrollYOffset value is a selector to non-existing element. Using offset 0 by default");const G=k&&k.getBoundingClientRect().bottom||0;return()=>G}else{if(typeof g=="number"||(0,u.kE)(g))return()=>typeof g=="number"?g:parseFloat(g);if(typeof g=="function")return()=>{const k=g();return typeof k!="number"&&console.warn(`scrollYOffset should return number but returned value "${k}" of type ${typeof k}`),k};g!==void 0&&console.warn("Wrong value for scrollYOffset ReDoc option: should be string, number or function")}return()=>0}static normalizeShowExtensions(g){if(typeof g=="undefined")return!1;if(g==="")return!0;if(typeof g!="string")return g;switch(g){case"true":return!0;case"false":return!1;default:return g.split(",").map(k=>k.trim())}}static normalizePayloadSampleIdx(g){return typeof g=="number"?Math.max(0,g):typeof g=="string"&&isFinite(g)?parseInt(g,10):0}};let R=x;A([t.LO],R.prototype,"showConsole",2)},43339:(L,n,e)=>{"use strict";e.d(n,{a:()=>E});var t=e(11851),l=e.n(t),s=e(26729),o=e.n(s),r=e(13066),c=Object.defineProperty,u=Object.getOwnPropertyDescriptor,a=(T,S,v)=>S in T?c(T,S,{enumerable:!0,configurable:!0,writable:!0,value:v}):T[S]=v,d=(T,S,v,b)=>{for(var m=b>1?void 0:b?u(S,v):S,y=T.length-1,O;y>=0;y--)(O=T[y])&&(m=(b?O(S,v,m):O(m))||m);return b&&m&&c(S,v,m),m},h=(T,S,v)=>(a(T,typeof S!="symbol"?S+"":S,v),v);const p="scroll";class E{constructor(S){this.options=S,h(this,"_scrollParent"),h(this,"_emitter"),h(this,"_prevOffsetY",0),this._scrollParent=r.Qg?window:void 0,this._emitter=new(o()),this.bind()}set prevOffsetY(S){this._prevOffsetY=S}bind(){this._prevOffsetY=this.scrollY(),this._scrollParent&&this._scrollParent.addEventListener(p,this.handleScroll)}dispose(){this._scrollParent&&this._scrollParent.removeEventListener(p,this.handleScroll),this._emitter.removeAllListeners(p)}scrollY(){return typeof HTMLElement!="undefined"&&this._scrollParent instanceof HTMLElement?this._scrollParent.scrollTop:this._scrollParent!==void 0?this._scrollParent.pageYOffset:0}isElementBellow(S){if(S!==null)return S.getBoundingClientRect().top>this.options.scrollYOffset()}isElementAbove(S){if(S===null)return;const v=S.getBoundingClientRect().top;return(v>0?Math.floor(v):Math.ceil(v))<=this.options.scrollYOffset()}subscribe(S){const v=this._emitter.addListener(p,S);return()=>v.removeListener(p,S)}scrollIntoView(S,v){if(S!==null&&(S.scrollIntoView(v),this._scrollParent&&this._scrollParent.scrollBy)){const[b,m]=[0,-Math.floor(this.options.scrollYOffset())];this._scrollParent.scrollBy(b,m)}}scrollIntoViewBySelector(S,v){const b=(0,r.R2)(S);this.scrollIntoView(b,v)}handleScroll(){const v=this.scrollY()-this._prevOffsetY>0;this._prevOffsetY=this.scrollY(),this._emitter.emit(p,v)}}d([t.bind,(0,r.Xo)(100)],E.prototype,"handleScroll",1)},22404:(L,n,e)=>{"use strict";e.d(n,{Z:()=>u});var t=e(52385),l=Object.defineProperty,s=(a,d,h)=>d in a?l(a,d,{enumerable:!0,configurable:!0,writable:!0,value:h}):a[d]=h,o=(a,d,h)=>(s(a,typeof d!="symbol"?d+"":d,h),h),r=(a,d,h)=>new Promise((p,E)=>{var T=b=>{try{v(h.next(b))}catch(m){E(m)}},S=b=>{try{v(h.throw(b))}catch(m){E(m)}},v=b=>b.done?p(b.value):Promise.resolve(b.value).then(T,S);v((h=h.apply(a,d)).next())});function c(){let a;if(t.Qg)try{a=e(83567)}catch(d){a=e(20027).ZP}else a=e(20027).ZP;return new a}class u{constructor(){o(this,"searchWorker",c())}indexItems(d){const h=p=>{p.forEach(E=>{E.type!=="group"&&this.add(E.name,E.description||"",E.id),h(E.items)})};h(d),this.searchWorker.done()}add(d,h,p){this.searchWorker.add(d,h,p)}dispose(){this.searchWorker.terminate(),this.searchWorker.dispose()}search(d){return this.searchWorker.search(d)}toJS(){return r(this,null,function*(){return this.searchWorker.toJS()})}load(d){this.searchWorker.load(d)}fromExternalJS(d,h){d&&h&&this.searchWorker.fromExternalJS(d,h)}}},20027:(L,n,e)=>{"use strict";e.d(n,{ZP:()=>u});var t=e(31336),l=e.n(t),s=Object.defineProperty,o=(A,w,x)=>w in A?s(A,w,{enumerable:!0,configurable:!0,writable:!0,value:x}):A[w]=x,r=(A,w,x)=>(o(A,typeof w!="symbol"?w+"":w,x),x),c=(A,w,x)=>new Promise((R,g)=>{var k=oe=>{try{Z(x.next(oe))}catch(ee){g(ee)}},G=oe=>{try{Z(x.throw(oe))}catch(ee){g(ee)}},Z=oe=>oe.done?R(oe.value):Promise.resolve(oe.value).then(k,G);Z((x=x.apply(A,w)).next())});class u{constructor(){r(this,"add",S),r(this,"done",v),r(this,"search",C),r(this,"toJS",b),r(this,"load",y),r(this,"dispose",O),r(this,"fromExternalJS",m)}}let a=[];t.tokenizer.separator=/\s+/;let d,h,p;function E(){d=new t.Builder,d.field("title"),d.field("description"),d.ref("ref"),d.pipeline.add(t.trimmer,t.stopWordFilter,t.stemmer),p=new Promise(A=>{h=A})}E();const T=A=>"*"+t.stemmer(new t.Token(A,{}))+"*";function S(A,w,x){const R=a.push(x)-1,g={title:A.toLowerCase(),description:w.toLowerCase(),ref:R};d.add(g)}function v(){return c(this,null,function*(){h(d.build())})}function b(){return c(this,null,function*(){return{store:a,index:(yield p).toJSON()}})}function m(A,w){return c(this,null,function*(){try{if(importScripts(A),!self[w])throw new Error("Broken index file format");yield y(self[w])}catch(x){console.error("Failed to load search index: "+x.message)}})}function y(A){return c(this,null,function*(){a=A.store,h(t.Index.load(A.index))})}function O(){return c(this,null,function*(){a=[],E()})}function C(A,w=0){return c(this,null,function*(){if(A.trim().length===0)return[];let x=(yield p).query(R=>{A.trim().toLowerCase().split(/\s+/).forEach(g=>{if(g.length===1)return;const k=T(g);R.term(k,{})})});return w>0&&(x=x.slice(0,w)),x.map(R=>({meta:a[R.ref],score:R.score}))})}},30960:(L,n,e)=>{"use strict";e.d(n,{p:()=>p});var t=e(34405),l=e(5062),s=e(54785),o=Object.defineProperty,r=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,u=Object.prototype.propertyIsEnumerable,a=(E,T,S)=>T in E?o(E,T,{enumerable:!0,configurable:!0,writable:!0,value:S}):E[T]=S,d=(E,T)=>{for(var S in T||(T={}))c.call(T,S)&&a(E,S,T[S]);if(r)for(var S of r(T))u.call(T,S)&&a(E,S,T[S]);return E},h=(E,T,S)=>(a(E,typeof T!="symbol"?T+"":T,S),S);class p{constructor(T,S,v){this.options=v,h(this,"parser"),h(this,"info"),h(this,"externalDocs"),h(this,"contentItems"),h(this,"securitySchemes"),h(this,"webhooks");var b,m,y;this.parser=new s.Xo(T,S,v),this.info=new l.Vg(this.parser),this.externalDocs=this.parser.definition.externalDocs,this.contentItems=t.r.buildStructure(this.parser,this.options),this.securitySchemes=new l.l2(this.parser);const O=d(d({},(m=(b=this.parser)==null?void 0:b.definition)==null?void 0:m["x-webhooks"]),(y=this.parser)==null?void 0:y.definition.webhooks);this.webhooks=new l.tf(this.parser,v,O)}}},13303:(L,n,e)=>{"use strict";e.d(n,{Ee:()=>t,tT:()=>s,JE:()=>c});const t="data-section-id",l="data-field-id",s=0,o="^ {0,3}<!-- ReDoc-Inject:\\s+?<({component}).*?/?>\\s+?-->\\s*$",r="(?:^ {0,3}<({component})([\\s\\S]*?)>([\\s\\S]*?)</\\2>|^ {0,3}<({component})([\\s\\S]*?)(?:/>|\\n{2,}))",c="(?:"+o+"|"+r+")"},99303:(L,n,e)=>{"use strict";e.d(n,{$8:()=>l.$,al:()=>s.a,p$:()=>o.p,Vw:()=>u.V,Z:()=>d.Z,u:()=>h.u,MediaTypeModel:()=>p.$b,OperationModel:()=>p.pk,ResponseModel:()=>p.Cg,isPayloadSample:()=>p.G2,GROUP_DEPTH:()=>S.tT});var t=e(54785),l=e(16802),s=e(43339),o=e(30960),r=e(23424),c=e(94487),u=e(98906),a=e(34405),d=e(22404),h=e(57180),p=e(5062),E=e(95939),T=e.n(E);e.o(E,"GROUP_DEPTH")&&e.d(n,{GROUP_DEPTH:function(){return E.GROUP_DEPTH}}),e.o(E,"IS_BROWSER")&&e.d(n,{IS_BROWSER:function(){return E.IS_BROWSER}}),e.o(E,"JsonPointer")&&e.d(n,{JsonPointer:function(){return E.JsonPointer}}),e.o(E,"Markdown")&&e.d(n,{Markdown:function(){return E.Markdown}}),e.o(E,"SCHEMA_DEFINITION_JSX_NAME")&&e.d(n,{SCHEMA_DEFINITION_JSX_NAME:function(){return E.SCHEMA_DEFINITION_JSX_NAME}}),e.o(E,"SECURITY_DEFINITIONS_COMPONENT_NAME")&&e.d(n,{SECURITY_DEFINITIONS_COMPONENT_NAME:function(){return E.SECURITY_DEFINITIONS_COMPONENT_NAME}}),e.o(E,"SECURITY_DEFINITIONS_JSX_NAME")&&e.d(n,{SECURITY_DEFINITIONS_JSX_NAME:function(){return E.SECURITY_DEFINITIONS_JSX_NAME}}),e.o(E,"ThemeProvider")&&e.d(n,{ThemeProvider:function(){return E.ThemeProvider}}),e.o(E,"ZERO_BREAKPOINT")&&e.d(n,{ZERO_BREAKPOINT:function(){return E.ZERO_BREAKPOINT}}),e.o(E,"argValueToBoolean")&&e.d(n,{argValueToBoolean:function(){return E.argValueToBoolean}}),e.o(E,"createGlobalStyle")&&e.d(n,{createGlobalStyle:function(){return E.createGlobalStyle}}),e.o(E,"createParsedDocument")&&e.d(n,{createParsedDocument:function(){return E.createParsedDocument}}),e.o(E,"css")&&e.d(n,{css:function(){return E.css}}),e.o(E,"deleteEmptyArrayItem")&&e.d(n,{deleteEmptyArrayItem:function(){return E.deleteEmptyArrayItem}}),e.o(E,"escapeHTMLAttrChars")&&e.d(n,{escapeHTMLAttrChars:function(){return E.escapeHTMLAttrChars}}),e.o(E,"flattenByProp")&&e.d(n,{flattenByProp:function(){return E.flattenByProp}}),e.o(E,"isArrayOfObjects")&&e.d(n,{isArrayOfObjects:function(){return E.isArrayOfObjects}}),e.o(E,"isLastInArray")&&e.d(n,{isLastInArray:function(){return E.isLastInArray}}),e.o(E,"isLastProperty")&&e.d(n,{isLastProperty:function(){return E.isLastProperty}}),e.o(E,"isObject")&&e.d(n,{isObject:function(){return E.isObject}}),e.o(E,"isOperationName")&&e.d(n,{isOperationName:function(){return E.isOperationName}}),e.o(E,"langFromMime")&&e.d(n,{langFromMime:function(){return E.langFromMime}}),e.o(E,"loadAndBundleDefinition")&&e.d(n,{loadAndBundleDefinition:function(){return E.loadAndBundleDefinition}}),e.o(E,"mediaCSS")&&e.d(n,{mediaCSS:function(){return E.mediaCSS}}),e.o(E,"mediaMap")&&e.d(n,{mediaMap:function(){return E.mediaMap}}),e.o(E,"querySelector")&&e.d(n,{querySelector:function(){return E.querySelector}}),e.o(E,"serializeParameterValue")&&e.d(n,{serializeParameterValue:function(){return E.serializeParameterValue}});var S=e(13303)},5062:(L,n,e)=>{"use strict";e.d(n,{Vg:()=>sr,dZ:()=>d,$b:()=>K,pk:()=>On,Cg:()=>cn,l2:()=>jr,tf:()=>nr,G2:()=>Xn});var t=e(68949),l=e(13066),s=e(16802),o=Object.defineProperty,r=Object.getOwnPropertyDescriptor,c=(Ye,ye,Ae)=>ye in Ye?o(Ye,ye,{enumerable:!0,configurable:!0,writable:!0,value:Ae}):Ye[ye]=Ae,u=(Ye,ye,Ae,gt)=>{for(var Ve=gt>1?void 0:gt?r(ye,Ae):ye,Gt=Ye.length-1,rt;Gt>=0;Gt--)(rt=Ye[Gt])&&(Ve=(gt?rt(ye,Ae,Ve):rt(Ve))||Ve);return gt&&Ve&&o(ye,Ae,Ve),Ve},a=(Ye,ye,Ae)=>(c(Ye,typeof ye!="symbol"?ye+"":ye,Ae),Ae);class d{constructor(ye,Ae,gt){a(this,"id"),a(this,"absoluteIdx"),a(this,"name"),a(this,"description"),a(this,"isSchema"),a(this,"type"),a(this,"items",[]),a(this,"parent"),a(this,"externalDocs"),a(this,"active",!1),a(this,"expanded",!1),a(this,"depth"),a(this,"level"),(0,t.rC)(this),this.id=Ae.id||ye+"/"+(0,l.bO)(Ae.name),this.type=ye,this.name=Ae["x-displayName"]||Ae.name,this.level=Ae.level||1,this.isSchema=Ae.isSchema,this.description=Ae.description||"";const Ve=Ae.items;Ve&&Ve.length&&(this.description=s.$.getTextBeforeHading(this.description,Ve[0].name)),this.parent=gt,this.externalDocs=Ae.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}}u([t.LO],d.prototype,"active",2),u([t.LO],d.prototype,"expanded",2),u([t.aD],d.prototype,"activate",1),u([t.aD],d.prototype,"expand",1),u([t.aD],d.prototype,"collapse",1),u([t.aD],d.prototype,"deactivate",1);var h=e(92127),p=e(7241),E=Object.defineProperty,T=Object.defineProperties,S=Object.getOwnPropertyDescriptor,v=Object.getOwnPropertyDescriptors,b=Object.getOwnPropertySymbols,m=Object.prototype.hasOwnProperty,y=Object.prototype.propertyIsEnumerable,O=(Ye,ye,Ae)=>ye in Ye?E(Ye,ye,{enumerable:!0,configurable:!0,writable:!0,value:Ae}):Ye[ye]=Ae,C=(Ye,ye)=>{for(var Ae in ye||(ye={}))m.call(ye,Ae)&&O(Ye,Ae,ye[Ae]);if(b)for(var Ae of b(ye))y.call(ye,Ae)&&O(Ye,Ae,ye[Ae]);return Ye},A=(Ye,ye)=>T(Ye,v(ye)),w=(Ye,ye,Ae,gt)=>{for(var Ve=gt>1?void 0:gt?S(ye,Ae):ye,Gt=Ye.length-1,rt;Gt>=0;Gt--)(rt=Ye[Gt])&&(Ve=(gt?rt(ye,Ae,Ve):rt(Ve))||Ve);return gt&&Ve&&E(ye,Ae,Ve),Ve},x=(Ye,ye,Ae)=>(O(Ye,typeof ye!="symbol"?ye+"":ye,Ae),Ae);class R{constructor(ye,Ae,gt,Ve,Gt){x(this,"expanded",!1),x(this,"name"),x(this,"operations",[]),(0,t.rC)(this),this.name=Ae;const{resolved:rt}=ye.deref(gt);for(const an of Object.keys(rt)){const pn=rt[an],jn=Object.keys(pn).filter(l.eU);for(const Kt of jn){const An=pn[Kt],_n=new On(ye,A(C({},An),{pathName:an,pointer:l.IB.compile([Ve,Ae,an,Kt]),httpVerb:Kt,pathParameters:pn.parameters||[],pathServers:pn.servers}),void 0,Gt,!0);this.operations.push(_n)}}}toggle(){this.expanded=!this.expanded}}w([t.LO],R.prototype,"expanded",2),w([t.aD],R.prototype,"toggle",1);var g=e(54785),k=e(51027),G=Object.defineProperty,Z=Object.defineProperties,oe=Object.getOwnPropertyDescriptor,ee=Object.getOwnPropertyDescriptors,Ee=Object.getOwnPropertySymbols,Fe=Object.prototype.hasOwnProperty,ce=Object.prototype.propertyIsEnumerable,te=(Ye,ye,Ae)=>ye in Ye?G(Ye,ye,{enumerable:!0,configurable:!0,writable:!0,value:Ae}):Ye[ye]=Ae,he=(Ye,ye)=>{for(var Ae in ye||(ye={}))Fe.call(ye,Ae)&&te(Ye,Ae,ye[Ae]);if(Ee)for(var Ae of Ee(ye))ce.call(ye,Ae)&&te(Ye,Ae,ye[Ae]);return Ye},Q=(Ye,ye)=>Z(Ye,ee(ye)),B=(Ye,ye)=>{var Ae={};for(var gt in Ye)Fe.call(Ye,gt)&&ye.indexOf(gt)<0&&(Ae[gt]=Ye[gt]);if(Ye!=null&&Ee)for(var gt of Ee(Ye))ye.indexOf(gt)<0&&ce.call(Ye,gt)&&(Ae[gt]=Ye[gt]);return Ae},J=(Ye,ye,Ae,gt)=>{for(var Ve=gt>1?void 0:gt?oe(ye,Ae):ye,Gt=Ye.length-1,rt;Gt>=0;Gt--)(rt=Ye[Gt])&&(Ve=(gt?rt(ye,Ae,Ve):rt(Ve))||Ve);return gt&&Ve&&G(ye,Ae,Ve),Ve},re=(Ye,ye,Ae)=>(te(Ye,typeof ye!="symbol"?ye+"":ye,Ae),Ae);const W=class{constructor(Ye,ye,Ae,gt,Ve=!1,Gt=[],rt={}){this.parser=Ye,this.options=gt,this.refsStack=Gt,this.deps=rt,re(this,"pointer"),re(this,"type"),re(this,"displayType"),re(this,"typePrefix",""),re(this,"title"),re(this,"description"),re(this,"externalDocs"),re(this,"isPrimitive"),re(this,"isCircular",!1),re(this,"format"),re(this,"displayFormat"),re(this,"nullable"),re(this,"deprecated"),re(this,"pattern"),re(this,"example"),re(this,"enum"),re(this,"default"),re(this,"readOnly"),re(this,"writeOnly"),re(this,"constraints"),re(this,"_fields"),re(this,"items"),re(this,"oneOf"),re(this,"oneOfType"),re(this,"discriminatorProp"),re(this,"activeOneOf",0),re(this,"rawSchema"),re(this,"schema"),re(this,"extensions"),re(this,"x-enumDescriptions"),re(this,"const"),re(this,"contentEncoding"),re(this,"contentMediaType"),re(this,"minItems"),re(this,"maxItems"),(0,t.rC)(this),this.pointer=ye.$ref||Ae||"";const{resolved:an,refsStack:pn}=Ye.deref(ye,Gt,!0);this.refsStack=(0,g.Gk)(pn,this.pointer),this.rawSchema=an,this.schema=Ye.mergeAllOf(this.rawSchema,this.pointer,this.refsStack),this.init(Ye,Ve),gt.showExtensions&&(this.extensions=(0,l.TQ)(this.schema,gt.showExtensions))}activateOneOf(Ye){var ye,Ae;this.activeOneOf=Ye;const gt=(ye=this.oneOf)==null?void 0:ye[Ye].title;gt&&((Ae=this.deps.operation)==null||Ae.activateExampleName(gt))}hasType(Ye){return this.type===Ye||Array.isArray(this.type)&&this.type.includes(Ye)}get fields(){if(!this.isCircular)return!this._fields&&this.hasType("object")&&(this._fields=pe(this.parser,this.schema,this.pointer,this.options,this.refsStack,this.deps)),this._fields}init(Ye,ye){var Ae,gt,Ve,Gt,rt,an,pn,jn;const Kt=this.schema;if(this.isCircular=!!Kt["x-circular-ref"],this.title=Kt.title||(0,l.lE)(this.pointer)&&l.IB.baseName(this.pointer)||"",this.description=Kt.description||"",this.type=Kt.type||(0,l.Vg)(Kt),this.format=Kt.format,this.enum=Kt.enum||[],this["x-enumDescriptions"]=Kt["x-enumDescriptions"],this.example=Kt.example,this.deprecated=!!Kt.deprecated,this.pattern=Kt.pattern,this.externalDocs=Kt.externalDocs,this.constraints=(0,l.V_)(Kt),this.displayFormat=this.format,this.isPrimitive=(0,l.ty)(Kt,this.type),this.default=Kt.default,this.readOnly=!!Kt.readOnly,this.writeOnly=!!Kt.writeOnly,this.const=Kt.const||"",this.contentEncoding=Kt.contentEncoding,this.contentMediaType=Kt.contentMediaType,this.minItems=Kt.minItems,this.maxItems=Kt.maxItems,(Kt.nullable||Kt["x-nullable"])&&(Array.isArray(this.type)&&!this.type.some(An=>An===null||An==="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(An=>An===null?"null":An).join(" or "):this.type,!this.isCircular){if(Kt.if&&Kt.then||Kt.if&&Kt.else){this.initConditionalOperators(Kt,Ye);return}if(!ye&&De(Kt)!==void 0){this.initDiscriminator(Kt,Ye);return}else ye&&Array.isArray(Kt.oneOf)&&Kt.oneOf.find(An=>An.$ref===this.pointer)&&delete Kt.oneOf;if(Kt.oneOf!==void 0){this.initOneOf(Kt.oneOf,Ye),this.oneOfType="One of",Kt.anyOf!==void 0&&console.warn(`oneOf and anyOf are not supported on the same level. Skipping anyOf at ${this.pointer}`);return}if(Kt.anyOf!==void 0){this.initOneOf(Kt.anyOf,Ye),this.oneOfType="Any of";return}if(this.hasType("array")&&(Array.isArray(Kt.items)||Array.isArray(Kt.prefixItems)?this._fields=pe(Ye,Kt,this.pointer,this.options,this.refsStack,this.deps):Kt.items&&(this.items=new W(Ye,Kt.items,this.pointer+"/items",this.options,!1,this.refsStack,this.deps)),this.displayType=Kt.prefixItems||Array.isArray(Kt.items)?"items":(0,l.NL)(((Ae=this.items)==null?void 0:Ae.displayType)||this.displayType),this.displayFormat=((gt=this.items)==null?void 0:gt.format)||"",this.typePrefix=((Ve=this.items)==null?void 0:Ve.typePrefix)||""+(0,k.l)("arrayOf"),this.title=this.title||((Gt=this.items)==null?void 0:Gt.title)||"",this.isPrimitive=((rt=this.items)==null?void 0:rt.isPrimitive)!==void 0?(an=this.items)==null?void 0:an.isPrimitive:this.isPrimitive,this.example===void 0&&((pn=this.items)==null?void 0:pn.example)!==void 0&&(this.example=[this.items.example]),((jn=this.items)==null?void 0:jn.isPrimitive)&&(this.enum=this.items.enum,this["x-enumDescriptions"]=this.items["x-enumDescriptions"]),Array.isArray(this.type))){const An=this.type.filter(_n=>_n!=="array");An.length&&(this.displayType+=` or ${An.join(" or ")}`)}this.enum.length&&this.options.sortEnumValuesAlphabetically&&this.enum.sort()}}initOneOf(Ye,ye){if(this.oneOf=Ye.map((Ae,gt)=>{const{resolved:Ve,refsStack:Gt}=ye.deref(Ae,this.refsStack,!0),rt=ye.mergeAllOf(Ve,this.pointer+"/oneOf/"+gt,Gt),an=(0,l.lE)(Ae.$ref)&&!rt.title?l.IB.baseName(Ae.$ref):`${rt.title||""}${rt.const&&JSON.stringify(rt.const)||""}`;return new W(ye,Q(he({},rt),{title:an,allOf:[Q(he({},this.schema),{oneOf:void 0,anyOf:void 0})],discriminator:Ve.allOf?void 0:rt.discriminator}),Ae.$ref||this.pointer+"/oneOf/"+gt,this.options,!1,Gt,Q(he({},this.deps),{parentFieldFullPath:this.deps.parentFieldFullPath?this.deps.parentFieldFullPath+this.options.deepLinkSeparator+gt:gt.toString()}))}),this.options.simpleOneOfTypeLabel){const Ae=nt(this);this.displayType=Ae.join(" or ")}else this.displayType=this.oneOf.map(Ae=>{let gt=Ae.typePrefix+(Ae.title?`${Ae.title} (${Ae.displayType})`:Ae.displayType);return gt.indexOf(" or ")>-1&&(gt=`(${gt})`),gt}).join(" or ")}initDiscriminator(Ye,ye){const Ae=De(Ye);this.discriminatorProp=Ae==null?void 0:Ae.propertyName;const gt=ye.findDerived([...this.schema["x-parentRefs"]||[],this.pointer]);if(Ye.oneOf)for(const Kt of Ye.oneOf){if(Kt.$ref===void 0)continue;const An=l.IB.baseName(Kt.$ref);gt[Kt.$ref]=An}const Ve=(Ae==null?void 0:Ae.mapping)||{};let Gt=(Ae==null?void 0:Ae["x-explicitMappingOnly"])||!1;Object.keys(Ve).length===0&&(Gt=!1);const rt={};for(const Kt in Ve){const An=Ve[Kt];Array.isArray(rt[An])?rt[An].push(Kt):rt[An]=[Kt]}const an=he(Gt?{}:he({},gt),rt);let pn=[];for(const Kt of Object.keys(an)){const An=an[Kt];if(Array.isArray(An))for(const _n of An)pn.push({$ref:Kt,name:_n});else pn.push({$ref:Kt,name:An})}const jn=Object.keys(Ve);jn.length!==0&&(pn=pn.sort((Kt,An)=>{const _n=jn.indexOf(Kt.name),Ue=jn.indexOf(An.name);return _n<0&&Ue<0?Kt.name.localeCompare(An.name):_n<0?1:Ue<0?-1:_n-Ue})),this.oneOf=pn.map(({$ref:Kt,name:An},_n)=>{const Ue=new W(ye,{$ref:Kt},Kt,this.options,!0,this.refsStack.slice(0,-1),Q(he({},this.deps),{parentFieldFullPath:this.deps.parentFieldFullPath?this.deps.parentFieldFullPath+this.options.deepLinkSeparator+_n:_n.toString()}));return Ue.title=An,Ue})}initConditionalOperators(Ye,ye){const Ae=Ye,{if:gt,else:Ve={},then:Gt={}}=Ae,rt=B(Ae,["if","else","then"]),an=[{allOf:[rt,Gt,gt],title:gt&>["x-displayName"]||(gt==null?void 0:gt.title)||"case 1"},{allOf:[rt,Ve],title:Ve&&Ve["x-displayName"]||(Ve==null?void 0:Ve.title)||"case 2"}];this.oneOf=an.map((pn,jn)=>new W(ye,he({},pn),this.pointer+"/oneOf/"+jn,this.options,!1,this.refsStack,Q(he({},this.deps),{parentFieldFullPath:this.deps.parentFieldFullPath?this.deps.parentFieldFullPath+this.options.deepLinkSeparator+jn:jn.toString()}))),this.oneOfType="One of"}};let V=W;J([t.LO],V.prototype,"activeOneOf",2),J([t.aD],V.prototype,"activateOneOf",1);function ae(Ye,ye,Ae){return Ye||(console.warn(`Field "${ye}" is invalid, skipping.
|
|
2615
|
-
Field must be an object but got ${typeof Ye} at "${Ae}"`),{})}function pe(Ye,ye,Ae,gt,Ve,Gt){const rt=ye.properties||ye.prefixItems||ye.items||{},an=ye.patternProperties||{},pn=ye.additionalProperties||ye.unevaluatedProperties,jn=ye.prefixItems?ye.items:ye.additionalItems,Kt=ye.default||{};let An=Object.keys(rt).map(_n=>{var Ue;const lt=ae(rt[_n],_n,Ae),Ft=ye.required===void 0?!1:ye.required.indexOf(_n)>-1;return new xt(Ye,{name:ye.properties?_n:`[${_n}]`,required:Ft,schema:Q(he({},lt),{example:((Ue=ye.example)==null?void 0:Ue[_n])||lt.example,default:lt.default===void 0&&Kt?Kt[_n]:lt.default})},Ae+"/properties/"+_n,gt,Ve,Gt)});return gt.sortPropsAlphabetically&&(An=(0,l.L1)(An,"name")),gt.requiredPropsFirst&&(An=(0,l.T4)(An,gt.sortPropsAlphabetically?void 0:ye.required)),An.push(...Object.keys(an).map(_n=>{const Ue=ae(an[_n],_n,Ae);return new xt(Ye,{name:_n,required:!1,schema:Ue,kind:"patternProperties"},`${Ae}/patternProperties/${_n}`,gt,Ve,Gt)})),((0,l.Kn)(pn)||pn===!0)&&An.push(new xt(Ye,{name:((0,l.Kn)(pn)&&pn["x-additionalPropertiesName"]||"property name").concat("*"),required:!1,schema:pn===!0?{}:pn,kind:"additionalProperties"},Ae+"/additionalProperties",gt,Ve,Gt)),An.push(...Se({parser:Ye,schema:jn,fieldsCount:An.length,$ref:Ae,options:gt,refsStack:Ve,deps:Gt})),An}function Se({parser:Ye,schema:ye=!1,fieldsCount:Ae,$ref:gt,options:Ve,refsStack:Gt,deps:rt}){return typeof ye=="boolean"?ye?[new xt(Ye,{name:`[${Ae}...]`,schema:{},kind:"additionalItems"},`${gt}/additionalItems`,Ve,Gt,rt)]:[]:Array.isArray(ye)?[...ye.map((an,pn)=>new xt(Ye,{name:`[${Ae+pn}]`,schema:an,kind:"additionalItems"},`${gt}/additionalItems/${pn}`,Ve,Gt,rt))]:(0,l.Kn)(ye)?[new xt(Ye,{name:`[${Ae}...]`,schema:ye,kind:"additionalItems"},`${gt}/additionalItems`,Ve,Gt,rt)]:[]}function De(Ye){return Ye.discriminator||Ye["x-discriminator"]}function nt(Ye){const ye=new Set;function Ae(gt){for(const Ve of gt.oneOf||[]){if(Ve.oneOf){Ae(Ve);continue}Ve.type&&ye.add(Ve.type)}}return Ae(Ye),Array.from(ye.values())}var Me=e(8575),_e=Object.defineProperty,j=(Ye,ye,Ae)=>ye in Ye?_e(Ye,ye,{enumerable:!0,configurable:!0,writable:!0,value:Ae}):Ye[ye]=Ae,ue=(Ye,ye,Ae)=>(j(Ye,typeof ye!="symbol"?ye+"":ye,Ae),Ae);const Ce={};class et{constructor(ye,Ae,gt,Ve){this.mime=gt,this.encoding=Ve,ue(this,"value"),ue(this,"rawValue"),ue(this,"summary"),ue(this,"description"),ue(this,"externalValueUrl");const{resolved:Gt}=ye.deref(Ae);this.rawValue=Gt.value,this.value=Gt.value,this.summary=Gt.summary,this.description=Gt.description,Gt.externalValue&&(this.externalValueUrl=(0,Me.resolve)(ye.definitionUrl||"",Gt.externalValue))}getExternalValue(ye){return this.externalValueUrl?this.externalValueUrl in Ce?Ce[this.externalValueUrl]:(Ce[this.externalValueUrl]=fetch(this.externalValueUrl).then(Ae=>Ae.text().then(gt=>{if(!Ae.ok)return Promise.reject(new Error(gt));if((0,l.Yi)(ye))try{return JSON.parse(gt)}catch(Ve){return gt}else return gt})),Ce[this.externalValueUrl]):Promise.resolve(void 0)}}var Pe=Object.defineProperty,X=Object.defineProperties,_=Object.getOwnPropertyDescriptor,$=Object.getOwnPropertyDescriptors,H=Object.getOwnPropertySymbols,I=Object.prototype.hasOwnProperty,ve=Object.prototype.propertyIsEnumerable,$e=(Ye,ye,Ae)=>ye in Ye?Pe(Ye,ye,{enumerable:!0,configurable:!0,writable:!0,value:Ae}):Ye[ye]=Ae,be=(Ye,ye)=>{for(var Ae in ye||(ye={}))I.call(ye,Ae)&&$e(Ye,Ae,ye[Ae]);if(H)for(var Ae of H(ye))ve.call(ye,Ae)&&$e(Ye,Ae,ye[Ae]);return Ye},Te=(Ye,ye)=>X(Ye,$(ye)),Le=(Ye,ye,Ae,gt)=>{for(var Ve=gt>1?void 0:gt?_(ye,Ae):ye,Gt=Ye.length-1,rt;Gt>=0;Gt--)(rt=Ye[Gt])&&(Ve=(gt?rt(ye,Ae,Ve):rt(Ve))||Ve);return gt&&Ve&&Pe(ye,Ae,Ve),Ve},ke=(Ye,ye,Ae)=>($e(Ye,typeof ye!="symbol"?ye+"":ye,Ae),Ae);const at={path:{style:"simple",explode:!1},query:{style:"form",explode:!0},header:{style:"simple",explode:!1},cookie:{style:"form",explode:!0}};class xt{constructor(ye,Ae,gt,Ve,Gt,rt={}){this.deps=rt,ke(this,"expanded"),ke(this,"schema"),ke(this,"name"),ke(this,"required"),ke(this,"description"),ke(this,"example"),ke(this,"examples"),ke(this,"deprecated"),ke(this,"in"),ke(this,"kind"),ke(this,"extensions"),ke(this,"explode"),ke(this,"style"),ke(this,"const"),ke(this,"serializationMime"),ke(this,"fieldFullPath");var an,pn,jn,Kt,An,_n,Ue;(0,t.rC)(this);const{resolved:lt}=ye.deref(Ae);this.kind=Ae.kind||"field",this.name=Ae.name||lt.name,this.in=lt.in,this.required=!!lt.required;let Ft=lt.schema,on="";if(!Ft&<.in&<.content){on=Object.keys(lt.content)[0];const In=lt.content[on];Ft=In&&(In==null?void 0:In.example)?Te(be({},ye.deref(In.schema,Gt,!0).resolved),{example:lt.example||In.example}):In.schema}this.fieldFullPath=this.deps.parentFieldFullPath?this.deps.parentFieldFullPath+Ve.deepLinkSeparator+this.name:this.name,this.schema=new V(ye,Ft||{},gt,Ve,!1,Gt,Te(be({},rt),{parentFieldFullPath:this.fieldFullPath,in:this.in})),this.description=lt.description===void 0?this.schema.description||"":lt.description,this.example=lt.example||this.schema.example;const cr=lt.examples||((pn=(an=lt.content)==null?void 0:an[on])==null?void 0:pn.examples);cr&&(this.examples=(0,l.Q8)(cr,(In,Cr)=>new et(ye,In,Cr,lt.encoding))),on?this.serializationMime=on:lt.style?this.style=lt.style:this.in&&(this.style=(Kt=(jn=at[this.in])==null?void 0:jn.style)!=null?Kt:"form"),lt.explode===void 0&&this.in?this.explode=(_n=(An=at[this.in])==null?void 0:An.explode)!=null?_n:!0:this.explode=!!lt.explode,this.deprecated=lt.deprecated===void 0?this.schema.deprecated:lt.deprecated,Ve.showExtensions&&(this.extensions=(0,l.TQ)(lt,Ve.showExtensions)),this.const=((Ue=this.schema)==null?void 0:Ue.const)||(lt==null?void 0:lt.const)||""}toggle(){this.expanded=!this.expanded}collapse(){this.expanded=!1}expand(){this.expanded=!0}}Le([t.LO],xt.prototype,"expanded",2),Le([t.aD],xt.prototype,"toggle",1),Le([t.aD],xt.prototype,"collapse",1),Le([t.aD],xt.prototype,"expand",1);var qe=e(89124),q=Object.defineProperty,ne=(Ye,ye,Ae)=>ye in Ye?q(Ye,ye,{enumerable:!0,configurable:!0,writable:!0,value:Ae}):Ye[ye]=Ae,ie=(Ye,ye,Ae)=>(ne(Ye,typeof ye!="symbol"?ye+"":ye,Ae),Ae);class K{constructor(ye,Ae,gt,Ve,Gt,{operation:rt,type:an,response:pn}={}){this.options=Gt,ie(this,"examples"),ie(this,"schema"),ie(this,"name"),ie(this,"isRequestType"),ie(this,"onlyRequiredInSamples"),ie(this,"operation"),this.name=Ae,this.operation=rt,this.isRequestType=gt,this.schema=Ve.schema&&new V(ye,Ve.schema,"",Gt,void 0,void 0,{operation:rt,type:an,response:pn}),this.onlyRequiredInSamples=Gt.onlyRequiredInSamples,Ve.examples!==void 0?this.examples=(0,l.Q8)(Ve.examples,jn=>new et(ye,jn,Ae,Ve.encoding)):Ve.example!==void 0?this.examples={default:new et(ye,{value:ye.deref(Ve.example).resolved},Ae,Ve.encoding)}:((0,l.Yi)(Ae)||(0,l.og)(Ae))&&this.generateExample(ye,Ve)}generateExample(ye,Ae){const gt={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 Ve of this.schema.oneOf){const Gt=qe.UP(Ve.rawSchema,gt,ye.definition);this.schema.discriminatorProp&&typeof Gt=="object"&&Gt&&(Gt[this.schema.discriminatorProp]=Ve.title),this.examples[Ve.title]=new et(ye,{value:Gt},this.name,Ae.encoding)}}else this.schema&&(this.examples={default:new et(ye,{value:qe.UP(Ae.schema,gt,ye.definition)},this.name,Ae.encoding)})}}var we=Object.defineProperty,He=Object.getOwnPropertyDescriptor,Je=(Ye,ye,Ae)=>ye in Ye?we(Ye,ye,{enumerable:!0,configurable:!0,writable:!0,value:Ae}):Ye[ye]=Ae,ft=(Ye,ye,Ae,gt)=>{for(var Ve=gt>1?void 0:gt?He(ye,Ae):ye,Gt=Ye.length-1,rt;Gt>=0;Gt--)(rt=Ye[Gt])&&(Ve=(gt?rt(ye,Ae,Ve):rt(Ve))||Ve);return gt&&Ve&&we(ye,Ae,Ve),Ve},At=(Ye,ye,Ae)=>(Je(Ye,typeof ye!="symbol"?ye+"":ye,Ae),Ae);class Lt{constructor(ye,Ae,gt,Ve,{operation:Gt,type:rt,response:an}={}){this.isRequestType=gt,At(this,"mediaTypes"),At(this,"operation"),this.operation=Gt,Ve.unstable_ignoreMimeParameters&&(Ae=(0,l.gr)(Ae)),this.mediaTypes=Object.keys(Ae).map(pn=>{const jn=Ae[pn];return new K(ye,pn,gt,jn,Ve,{operation:Gt,type:rt,response:an})})}activate(ye){var Ae;(Ae=this.operation)==null||Ae.activateMimeName(ye)}activateExampleName(ye){var Ae,gt,Ve,Gt,rt;if((Ae=this.operation)==null||Ae.activateExampleName(ye),ye&&this.active.examples&&((gt=this.active.schema)==null?void 0:gt.oneOf)&&Object.keys(this.active.examples).includes(ye)){const an=(Gt=(Ve=this.active.schema)==null?void 0:Ve.oneOf)==null?void 0:Gt.findIndex(pn=>pn.title===ye);an!==-1&&((rt=this.active.schema)==null||rt.activateOneOf(an))}}get active(){return this.mediaTypes.find(ye=>{var Ae;return ye.name===((Ae=this.operation)==null?void 0:Ae.activeMimeName)})||this.mediaTypes[0]}get hasSample(){return this.mediaTypes.filter(ye=>!!ye.examples).length>0}}ft([t.aD],Lt.prototype,"activate",1),ft([t.aD],Lt.prototype,"activateExampleName",1),ft([t.Fl],Lt.prototype,"active",1);var Yt=Object.defineProperty,Vt=(Ye,ye,Ae)=>ye in Ye?Yt(Ye,ye,{enumerable:!0,configurable:!0,writable:!0,value:Ae}):Ye[ye]=Ae,ze=(Ye,ye,Ae)=>(Vt(Ye,typeof ye!="symbol"?ye+"":ye,Ae),Ae);class dt{constructor(ye){ze(this,"description"),ze(this,"required"),ze(this,"content");const{parser:Ae,infoOrRef:gt,options:Ve,isEvent:Gt,operation:rt}=ye,an=!Gt,{resolved:pn}=Ae.deref(gt);this.description=pn.description||"",this.required=pn.required;const jn=(0,l.qW)(pn);jn!==void 0&&(this.content=new Lt(Ae,jn,an,Ve,{operation:rt,type:"request"}))}}var bt=Object.defineProperty,pt=Object.defineProperties,Ct=Object.getOwnPropertyDescriptor,$t=Object.getOwnPropertyDescriptors,dn=Object.getOwnPropertySymbols,un=Object.prototype.hasOwnProperty,Cn=Object.prototype.propertyIsEnumerable,Ke=(Ye,ye,Ae)=>ye in Ye?bt(Ye,ye,{enumerable:!0,configurable:!0,writable:!0,value:Ae}):Ye[ye]=Ae,Be=(Ye,ye)=>{for(var Ae in ye||(ye={}))un.call(ye,Ae)&&Ke(Ye,Ae,ye[Ae]);if(dn)for(var Ae of dn(ye))Cn.call(ye,Ae)&&Ke(Ye,Ae,ye[Ae]);return Ye},it=(Ye,ye)=>pt(Ye,$t(ye)),Et=(Ye,ye,Ae,gt)=>{for(var Ve=gt>1?void 0:gt?Ct(ye,Ae):ye,Gt=Ye.length-1,rt;Gt>=0;Gt--)(rt=Ye[Gt])&&(Ve=(gt?rt(ye,Ae,Ve):rt(Ve))||Ve);return gt&&Ve&&bt(ye,Ae,Ve),Ve},Ot=(Ye,ye,Ae)=>(Ke(Ye,typeof ye!="symbol"?ye+"":ye,Ae),Ae);class cn{constructor(ye){Ot(this,"expanded",!1),Ot(this,"content"),Ot(this,"code"),Ot(this,"summary"),Ot(this,"description"),Ot(this,"type"),Ot(this,"headers",[]);const{parser:Ae,code:gt,defaultAsError:Ve,infoOrRef:Gt,options:rt,isEvent:an,operation:pn}=ye,jn=!!an;(0,t.rC)(this),this.expanded=rt.expandResponses==="all"||rt.expandResponses[gt];const{resolved:Kt}=Ae.deref(Gt);this.code=gt;const An=(0,l.qW)(Kt);An!==void 0&&(this.content=new Lt(Ae,An,jn,rt,{operation:pn,type:"response",response:this})),Kt["x-summary"]!==void 0?(this.summary=Kt["x-summary"],this.description=Kt.description||""):(this.summary=Kt.description||"",this.description=""),this.type=(0,l.YS)(gt,Ve);const _n=Kt.headers;_n!==void 0&&(this.headers=Object.keys(_n).map(Ue=>{const lt=_n[Ue];return new xt(Ae,it(Be({},lt),{name:Ue}),"",rt,void 0,{operation:pn,type:"response",response:this})}))}toggle(){this.expanded=!this.expanded}expand(){this.expanded=!0}}Et([t.LO],cn.prototype,"expanded",2),Et([t.aD],cn.prototype,"toggle",1),Et([t.aD],cn.prototype,"expand",1);var Mn=e(64776),Dn=Object.defineProperty,Rn=Object.defineProperties,Gn=Object.getOwnPropertyDescriptors,Pn=Object.getOwnPropertySymbols,Ze=Object.prototype.hasOwnProperty,ut=Object.prototype.propertyIsEnumerable,Pt=(Ye,ye,Ae)=>ye in Ye?Dn(Ye,ye,{enumerable:!0,configurable:!0,writable:!0,value:Ae}):Ye[ye]=Ae,Mt=(Ye,ye)=>{for(var Ae in ye||(ye={}))Ze.call(ye,Ae)&&Pt(Ye,Ae,ye[Ae]);if(Pn)for(var Ae of Pn(ye))ut.call(ye,Ae)&&Pt(Ye,Ae,ye[Ae]);return Ye},zt=(Ye,ye)=>Rn(Ye,Gn(ye)),Zt=(Ye,ye,Ae)=>(Pt(Ye,typeof ye!="symbol"?ye+"":ye,Ae),Ae);class Qe{constructor(ye,Ae){Zt(this,"schemes");const gt=Ae.definition.components&&Ae.definition.components.securitySchemes||{};if((0,Mn.Qr)(ye)){const Ve={id:"None",scheme:"none",sectionId:"None",type:"none",scopes:[],flows:{}};this.schemes=[Ve]}else this.schemes=Object.keys(ye).map(Ve=>{const Gt=Ae.deref(gt[Ve]).resolved,rt=ye[Ve]||[];if(!Gt){console.warn(`Non existing security scheme referenced: ${Ve}. Skipping`);return}return zt(Mt({},Gt),{id:Ve,sectionId:Ve,scopes:rt})}).filter(Ve=>Ve!==void 0)}}var ot=Object.defineProperty,Xe=Object.defineProperties,st=Object.getOwnPropertyDescriptor,wt=Object.getOwnPropertyDescriptors,tn=Object.getOwnPropertySymbols,qt=Object.prototype.hasOwnProperty,bn=Object.prototype.propertyIsEnumerable,Fn=(Ye,ye,Ae)=>ye in Ye?ot(Ye,ye,{enumerable:!0,configurable:!0,writable:!0,value:Ae}):Ye[ye]=Ae,Ln=(Ye,ye)=>{for(var Ae in ye||(ye={}))qt.call(ye,Ae)&&Fn(Ye,Ae,ye[Ae]);if(tn)for(var Ae of tn(ye))bn.call(ye,Ae)&&Fn(Ye,Ae,ye[Ae]);return Ye},ir=(Ye,ye)=>Xe(Ye,wt(ye)),Nn=(Ye,ye,Ae,gt)=>{for(var Ve=gt>1?void 0:gt?st(ye,Ae):ye,Gt=Ye.length-1,rt;Gt>=0;Gt--)(rt=Ye[Gt])&&(Ve=(gt?rt(ye,Ae,Ve):rt(Ve))||Ve);return gt&&Ve&&ot(ye,Ae,Ve),Ve},En=(Ye,ye,Ae)=>(Fn(Ye,typeof ye!="symbol"?ye+"":ye,Ae),Ae);function Xn(Ye){return Ye.lang==="payload"&&"requestBodyContent"in Ye}let kn=!1;class On{constructor(ye,Ae,gt,Ve,Gt=!1){this.parser=ye,this.operationDefinition=Ae,this.options=Ve,En(this,"id"),En(this,"absoluteIdx"),En(this,"name"),En(this,"description"),En(this,"href"),En(this,"type","operation"),En(this,"parent"),En(this,"externalDocs"),En(this,"items",[]),En(this,"depth"),En(this,"ready",!0),En(this,"active",!1),En(this,"expanded",!1),En(this,"activeMimeName"),En(this,"activeExampleName"),En(this,"activeServer"),En(this,"requestValues"),En(this,"defaultExampleName"),En(this,"defaultMimeType"),En(this,"pointer"),En(this,"operationId"),En(this,"httpVerb"),En(this,"deprecated"),En(this,"path"),En(this,"servers"),En(this,"security"),En(this,"extensions"),En(this,"isCallback"),En(this,"isWebhook"),En(this,"isEvent");var rt,an;(0,t.rC)(this),this.pointer=Ae.pointer,this.description=Ae.description,this.parent=gt,this.externalDocs=Ae.externalDocs,this.deprecated=!!Ae.deprecated,this.httpVerb=Ae.httpVerb,this.deprecated=!!Ae.deprecated,this.operationId=Ae.operationId,this.path=Ae.pathName,this.isCallback=Gt,this.isWebhook=Ae.isWebhook,this.isEvent=this.isCallback||this.isWebhook,this.name=(0,l.ED)(Ae),this.defaultExampleName=Ae.defaultSampleName;const pn=(an=(rt=this.requestBody)==null?void 0:rt.content)==null?void 0:an.mediaTypes,[jn]=pn||[],[Kt]=Object.keys((jn==null?void 0:jn.examples)||[]);this.activeExampleName=Ae.defaultSampleName===!1?!1:Ae.defaultSampleName||Kt,this.defaultMimeType=Ae.defaultMimeType;const An=pn==null?void 0:pn.find(_n=>_n.name===Ae.defaultMimeType);if(this.activeMimeName=(An==null?void 0:An.name)||(jn==null?void 0:jn.name),this.isCallback)this.security=(Ae.security||[]).map(_n=>new Qe(_n,ye)),this.servers=(0,l.Dm)("",Ae.servers||Ae.pathServers||[]);else{this.id=(0,l.XO)(Ae.operationId!==void 0?"operation/"+Ae.operationId:gt!==void 0?gt.id+this.pointer:this.pointer),this.security=(Ae.security||ye.definition.security||[]).map(Ue=>new Qe(Ue,ye));const _n=this.mergeInMockServer(Ae.servers||Ae.pathServers||ye.definition.servers||[],Ve.mockServer);this.servers=(0,l.Dm)(ye.definitionUrl,_n)}Ve.showExtensions&&(this.extensions=(0,l.TQ)(Ae,Ve.showExtensions)),this.activeServer=(0,p.wM)(this.servers)}activate(){this.active=!0}deactivate(){this.active=!1}toggle(){this.expanded=!this.expanded}activateMimeName(ye){this.activeMimeName=ye}activateExampleName(ye){this.activeExampleName=ye}expand(){this.parent&&this.parent.expand()}collapse(){}get requestBody(){return this.operationDefinition.requestBody&&new dt({parser:this.parser,infoOrRef:this.operationDefinition.requestBody,options:this.options,operation:this,isEvent:this.isEvent})}get payload(){var ye;const Ae=(ye=this.requestBody)==null?void 0:ye.content;return(Ae==null?void 0:Ae.hasSample)?{lang:"payload",label:"Payload",source:"",requestBodyContent:Ae}:void 0}get hasSamples(){var ye,Ae;return((Ae=(ye=this.requestBody)==null?void 0:ye.content)==null?void 0:Ae.hasSample)||this.definitionSamples.length>0}get definitionSamples(){const ye=this.operationDefinition["x-codeSamples"]||this.operationDefinition["x-code-samples"]||[];return this.operationDefinition["x-code-samples"]&&!kn&&(kn=!0,console.warn('"x-code-samples" is deprecated. Use "x-codeSamples" instead')),ye}get allCodeSamples(){var ye;const{payloadSampleIdx:Ae,hideRequestPayloadSample:gt}=this.options;let Ve=[];if(!this.isWebhook){const an=this.options.generateCodeSamples||{},pn=new Set(this.definitionSamples.map(({lang:Kt})=>Kt.toLowerCase())),jn=((ye=an.languages)==null?void 0:ye.filter(({lang:Kt})=>!pn.has(Kt.toLowerCase())))||[];Ve=this.generateCodeSamples(jn,an)}const Gt=this.definitionSamples.concat(Ve),rt=Math.min(Gt.length,Ae);return this.payload&&!gt&&Gt.splice(rt,0,this.payload),Gt}get parameters(){const ye=(0,l.Zd)(this.parser,this.operationDefinition.pathParameters,this.operationDefinition.parameters).map(Ae=>new xt(this.parser,Ae,this.pointer,this.options,void 0,{operation:this,type:"request"}));return this.options.sortPropsAlphabetically?(0,l.L1)(ye,"name"):this.options.requiredPropsFirst?(0,l.T4)(ye):ye}get responses(){let ye=!1;return Object.keys(this.operationDefinition.responses||[]).filter(Ae=>Ae==="default"?!0:((0,l.YS)(Ae)==="success"&&(ye=!0),(0,l.CX)(Ae))).map(Ae=>new cn({parser:this.parser,code:Ae,defaultAsError:ye,infoOrRef:this.operationDefinition.responses[Ae],options:this.options,isEvent:this.isEvent,operation:this}))}get callbacks(){return Object.keys(this.operationDefinition.callbacks||[]).map(ye=>{var Ae;return new R(this.parser,ye,(Ae=this.operationDefinition.callbacks)==null?void 0:Ae[ye],this.pointer,this.options)})}get hideTryItPanel(){return this.operationDefinition["x-hideTryItPanel"]===!0}setActiveServer(ye){this.activeServer=ye}setRequestValues(ye){this.requestValues=ye}mergeInMockServer(ye,Ae){if(!Ae)return ye;const gt={url:Ae.url,description:Ae.description};switch(Ae.position){case"first":return[gt,...ye];case"last":return[...ye,gt];case"replace":return[gt];default:return ye}}generateCodeSamples(ye,{skipOptionalParameters:Ae,withOAuth2Call:gt}){return ye.map(({lang:Ve,label:Gt,options:rt})=>({lang:Ve,label:Gt,get:an=>(0,h.aP)(ir(Ln({},an),{lang:Ve,options:ir(Ln({},rt),{skipOptionalParameters:Ae,withOAuth2Call:gt,spec:this.parser.definition,generatedPayloadSamplesMaxDepth:this.options.generatedPayloadSamplesMaxDepth})}))}))}}Nn([t.LO],On.prototype,"ready",2),Nn([t.LO],On.prototype,"active",2),Nn([t.LO],On.prototype,"expanded",2),Nn([t.LO],On.prototype,"activeMimeName",2),Nn([t.LO],On.prototype,"activeExampleName",2),Nn([t.LO.ref],On.prototype,"activeServer",2),Nn([t.LO],On.prototype,"requestValues",2),Nn([t.aD],On.prototype,"activate",1),Nn([t.aD],On.prototype,"deactivate",1),Nn([t.aD],On.prototype,"toggle",1),Nn([t.aD],On.prototype,"activateMimeName",1),Nn([t.aD],On.prototype,"activateExampleName",1),Nn([l.HP],On.prototype,"requestBody",1),Nn([l.HP],On.prototype,"payload",1),Nn([l.HP],On.prototype,"hasSamples",1),Nn([l.HP],On.prototype,"definitionSamples",1),Nn([l.HP],On.prototype,"allCodeSamples",1),Nn([l.HP],On.prototype,"parameters",1),Nn([l.HP],On.prototype,"responses",1),Nn([l.HP],On.prototype,"callbacks",1),Nn([l.HP],On.prototype,"hideTryItPanel",1),Nn([t.aD],On.prototype,"setActiveServer",1),Nn([t.aD],On.prototype,"setRequestValues",1);var Yn=e(49376),Hn=Object.defineProperty,xn=(Ye,ye,Ae)=>ye in Ye?Hn(Ye,ye,{enumerable:!0,configurable:!0,writable:!0,value:Ae}):Ye[ye]=Ae,hr=(Ye,ye,Ae)=>(xn(Ye,typeof ye!="symbol"?ye+"":ye,Ae),Ae);class sr{constructor(ye){this.parser=ye,hr(this,"title"),hr(this,"version"),hr(this,"description"),hr(this,"summary"),hr(this,"termsOfService"),hr(this,"contact"),hr(this,"license"),hr(this,"downloadFileName"),Object.assign(this,ye.definition.info),this.description=ye.definition.info.description||"",this.summary=ye.definition.info.summary||"";const Ae=this.description.search(/^##?\s+/m);Ae>-1&&(this.description=this.description.substring(0,Ae)),this.downloadFileName=this.getDownloadFileName()}get downloadLink(){if(this.parser.definitionUrl)return this.parser.definitionUrl;if(l.Qg&&window.Blob&&window.URL&&window.URL.createObjectURL){const ye=new Blob([JSON.stringify(this.parser.definition,null,2)],{type:Yn.T.JSON});return window.URL.createObjectURL(ye)}}getDownloadFileName(){if(!this.parser.definitionUrl)return"swagger.json"}}var ur=Object.defineProperty,Qn=(Ye,ye,Ae)=>ye in Ye?ur(Ye,ye,{enumerable:!0,configurable:!0,writable:!0,value:Ae}):Ye[ye]=Ae,vr=(Ye,ye,Ae)=>(Qn(Ye,typeof ye!="symbol"?ye+"":ye,Ae),Ae);class Dr{constructor(ye,Ae,gt){vr(this,"id"),vr(this,"sectionId"),vr(this,"type"),vr(this,"description"),vr(this,"apiKey"),vr(this,"http"),vr(this,"flows"),vr(this,"openId");const{resolved:Ve}=ye.deref(gt);this.id=Ae,this.sectionId=Ae,this.type=Ve.type,this.description=Ve.description||"",Ve.type==="apiKey"&&(this.apiKey={name:Ve.name,in:Ve.in}),Ve.type==="http"&&(this.http={scheme:Ve.scheme,bearerFormat:Ve.bearerFormat}),Ve.type==="openIdConnect"&&(this.openId={connectUrl:Ve.openIdConnectUrl}),Ve.type==="oauth2"&&Ve.flows&&(this.flows=Ve.flows)}}class jr{constructor(ye){vr(this,"schemes");const Ae=ye.definition.components&&ye.definition.components.securitySchemes||{};this.schemes=Object.keys(Ae).map(gt=>new Dr(ye,gt,Ae[gt]))}}var Er=e(89642),Vr=Object.defineProperty,Sr=Object.defineProperties,Tr=Object.getOwnPropertyDescriptors,qn=Object.getOwnPropertySymbols,sn=Object.prototype.hasOwnProperty,It=Object.prototype.propertyIsEnumerable,fn=(Ye,ye,Ae)=>ye in Ye?Vr(Ye,ye,{enumerable:!0,configurable:!0,writable:!0,value:Ae}):Ye[ye]=Ae,vn=(Ye,ye)=>{for(var Ae in ye||(ye={}))sn.call(ye,Ae)&&fn(Ye,Ae,ye[Ae]);if(qn)for(var Ae of qn(ye))It.call(ye,Ae)&&fn(Ye,Ae,ye[Ae]);return Ye},er=(Ye,ye)=>Sr(Ye,Tr(ye)),ar=(Ye,ye,Ae)=>(fn(Ye,typeof ye!="symbol"?ye+"":ye,Ae),Ae);class nr{constructor(ye,Ae,gt){ar(this,"operations",[]);const{resolved:Ve}=ye.deref(gt||{});this.initWebhooks(ye,Ve,Ae)}initWebhooks(ye,Ae,gt){for(const Ve of Object.keys(Ae)){const Gt=Ae[Ve],rt=Object.keys(Gt).filter(Er.isOperationName);for(const an of rt){const pn=Gt[an];if(Gt.$ref){const Kt=ye.deref(Gt||{});this.initWebhooks(ye,{[an]:Kt},gt)}if(!pn)continue;const jn=new On(ye,er(vn({},pn),{httpVerb:an}),void 0,gt,!1);this.operations.push(jn)}}}}},95939:()=>{},23485:(L,n,e)=>{"use strict";e.d(n,{iv:()=>o,vJ:()=>r,F4:()=>c,f6:()=>u,ZP:()=>a,aV:()=>d,QG:()=>l.QG,gN:()=>l.gN,QU:()=>l.QU});var t=e(29163),l=e(61191);const{default:s,css:o,createGlobalStyle:r,keyframes:c,ThemeProvider:u}=t,a=s;function d(h){return p=>{if(!!p.theme.extensionsHook)return p.theme.extensionsHook(h,p)}}},28415:(L,n,e)=>{"use strict";var t=e(79491),l=e.n(t);e.o(t,"Markdown")&&e.d(n,{Markdown:function(){return t.Markdown}});var s=e(73266),o=e.n(s);e.o(s,"Markdown")&&e.d(n,{Markdown:function(){return s.Markdown}})},79491:()=>{},73266:()=>{},71796:(L,n,e)=>{"use strict";e.d(n,{I:()=>o});var t=e(83573),l=e.n(t);const s=l().parse;class o{static baseName(u="",a=1){const d=o.parse(u);return d[d.length-a]}static dirName(u,a=1){const d=o.parse(u);return l().compile(d.slice(0,d.length-a))}static relative(u,a){const d=o.parse(u);return o.parse(a).slice(d.length)}static parse(u=""){let a=u;return a.charAt(0)==="#"&&(a=a.substring(1)),s(a)}static join(u,a){const h=o.parse(u).concat(a);return l().compile(h)}static get(u,a){return l().get(u,a)}static compile(u){return l().compile(u)}static escape(u){return l().escape(u)}}l().parse=o.parse,Object.assign(o,l());var r=null},52385:(L,n,e)=>{"use strict";e.d(n,{Qg:()=>t,R2:()=>l});const t=typeof window!="undefined"&&"HTMLElement"in window;function l(o){return typeof document!="undefined"?document.querySelector(o):null}function s(o){return o.split(/<[^>]+>/).map(r=>r.trim()).filter(r=>r.length>0).join(" ")}typeof Element!="undefined"&&!Element.prototype.scrollIntoViewIfNeeded&&(Element.prototype.scrollIntoViewIfNeeded=function(o){o=arguments.length===0?!0:!!o;const r=this.parentNode,c=window.getComputedStyle(r,void 0),u=parseInt(c.getPropertyValue("border-top-width"),10),a=parseInt(c.getPropertyValue("border-left-width"),10),d=this.offsetTop-r.offsetTop<r.scrollTop,h=this.offsetTop-r.offsetTop+this.clientHeight-u>r.scrollTop+r.clientHeight,p=this.offsetLeft-r.offsetLeft<r.scrollLeft,E=this.offsetLeft-r.offsetLeft+this.clientWidth-a>r.scrollLeft+r.clientWidth,T=d&&!h;(d||h)&&o&&(r.scrollTop=this.offsetTop-r.offsetTop-r.clientHeight/2-u+this.clientHeight/2),(p||E)&&o&&(r.scrollLeft=this.offsetLeft-r.offsetLeft-r.clientWidth/2-a+this.clientWidth/2),(d||h||p||E)&&!o&&this.scrollIntoView(T)})},10519:(L,n,e)=>{"use strict";e.d(n,{jW:()=>b,Q8:()=>m,PD:()=>y,kE:()=>C,PM:()=>w,Kn:()=>x,Pj:()=>R,zD:()=>g,Gk:()=>k,bO:()=>G,Kk:()=>oe,bv:()=>ee,MI:()=>Ee,jZ:()=>Fe,yY:()=>te,Lf:()=>he,XO:()=>Q,Bu:()=>J,$Y:()=>re});var t=e(31304),l=e.n(t),s=e(8575),o=e(61191),r=e(70606),c=e(71796),u=Object.defineProperty,a=Object.defineProperties,d=Object.getOwnPropertyDescriptors,h=Object.getOwnPropertySymbols,p=Object.prototype.hasOwnProperty,E=Object.prototype.propertyIsEnumerable,T=(W,V,ae)=>V in W?u(W,V,{enumerable:!0,configurable:!0,writable:!0,value:ae}):W[V]=ae,S=(W,V)=>{for(var ae in V||(V={}))p.call(V,ae)&&T(W,ae,V[ae]);if(h)for(var ae of h(V))E.call(V,ae)&&T(W,ae,V[ae]);return W},v=(W,V)=>a(W,d(V));function b(W,V){const ae=[];for(let pe=0;pe<W.length-1;pe++)ae.push(V(W[pe],!1));return W.length!==0&&ae.push(V(W[W.length-1],!0)),ae}function m(W,V){const ae={};for(const pe in W)Object.prototype.hasOwnProperty.call(W,pe)&&(ae[pe]=V(W[pe],pe,W));return ae}function y(W,V){const ae=[],pe=Se=>{for(const De of Se)ae.push(De),De[V]&&pe(De[V])};return pe(W),ae}function O(W){return W.endsWith("/")?W.substring(0,W.length-1):W}function C(W){return!isNaN(parseFloat(W))&&isFinite(W)}function A(W,V,ae){const pe=new RegExp(`(^|\\n)#\\s?${V}\\s*\\n`,"i"),Se=new RegExp(`((\\n|^)#\\s*${V}\\s*(\\n|$)(?:.|\\n)*?)(\\n#|$)`,"i");if(pe.test(W))return W.replace(Se,`$1
|
|
2614
|
+
Please report this to https://github.com/markedjs/marked.`,q.silent)return"<p>An error occurred:</p><pre>"+h(ne.message+"",!0)+"</pre>";throw ne}},ae.Parser=V,ae.parser=V.parse,ae.Renderer=J,ae.TextRenderer=re,ae.Lexer=B,ae.lexer=B.lex,ae.Tokenizer=Fe,ae.Slugger=W,ae.parse=ae;const pe=ae.options,Se=ae.setOptions,De=ae.use,nt=ae.walkTokens,Me=ae.parseInline,_e=null,j=V.parse,ue=B.lex;var Ce=e(13066),et=e(13303),Pe=Object.defineProperty,X=Object.defineProperties,_=Object.getOwnPropertyDescriptors,$=Object.getOwnPropertySymbols,H=Object.prototype.hasOwnProperty,I=Object.prototype.propertyIsEnumerable,ve=(qe,q,ne)=>q in qe?Pe(qe,q,{enumerable:!0,configurable:!0,writable:!0,value:ne}):qe[q]=ne,$e=(qe,q)=>{for(var ne in q||(q={}))H.call(q,ne)&&ve(qe,ne,q[ne]);if($)for(var ne of $(q))I.call(q,ne)&&ve(qe,ne,q[ne]);return qe},be=(qe,q)=>X(qe,_(q)),Te=(qe,q,ne)=>(ve(qe,typeof q!="symbol"?q+"":q,ne),ne);const Le=new ae.Renderer;ae.setOptions({renderer:Le,highlight:(qe,q)=>(0,Ce.CH)(qe,q)});function ke(qe){return`<!-- ReDoc-Inject: <${qe}> -->`}class at{constructor(q){this.options=q,Te(this,"headings",[]),Te(this,"currentTopHeading"),Te(this,"headingSectionLevel"),Te(this,"headingEnhanceRenderer"),Te(this,"originalHeadingRule"),Te(this,"parser"),Te(this,"headingRule",(ne,ie,K,we)=>{var He,Je;return ie===1?this.currentTopHeading=this.saveHeading(ne,ie):ie<=this.headingSectionLevel&&this.saveHeading(ne,ie,(He=this.currentTopHeading)==null?void 0:He.items,(Je=this.currentTopHeading)==null?void 0:Je.id),this.originalHeadingRule(ne,ie,K,we)}),this.headingEnhanceRenderer=new ae.Renderer,this.parser=new ae.Parser,this.originalHeadingRule=this.headingEnhanceRenderer.heading.bind(this.headingEnhanceRenderer),this.headingEnhanceRenderer.heading=this.headingRule,this.headingSectionLevel=(q==null?void 0:q.markdownHeadingsAnchorLevel)||2}static containsComponent(q,ne){return new RegExp(et.JE.replace(/{component}/g,ne),"gmi").test(q)}static getTextBeforeHading(q,ne){const ie=q.search(new RegExp(`^(>\\s+#+|#+)?\\s+${ne}`,"m"));return ie>-1?q.substring(0,ie):q}saveHeading(q,ne,ie=this.headings,K){q=(0,Ce.Lf)(q);const we={id:K?`${K}/${(0,Ce.bO)(q)}`:`section/${(0,Ce.bO)(q)}`,name:q,level:ne,items:[]};return ie.push(we),we}flattenHeadings(q){if(q===void 0)return[];const ne=[];for(const ie of q)ne.push(ie),ne.push(...this.flattenHeadings(ie.items));return ne}attachHeadingsDescriptions(q){const ne=Je=>new RegExp(`##?\\s+${Je.name.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&")}`),ie=this.flattenHeadings(this.headings);if(ie.length<1)return;let K=ie[0],we=ne(K),He=q.search(we);for(let Je=1;Je<ie.length;Je++){const ft=ie[Je],At=ne(ft),Lt=q.substr(He+1).search(At)+He+1;K.description=q.substring(He,Lt).replace(we,"").trim(),K=ft,we=At,He=Lt}K.description=q.substring(He).replace(we,"").trim()}renderMd(q,ne=!1){const ie=ne?{renderer:this.headingEnhanceRenderer}:void 0;return ae(q.toString(),ie)}extractHeadings(q){this.renderMd(q,!0),this.attachHeadingsDescriptions(q);const ne=this.headings;return this.headings=[],ne}renderMdWithComponents(q){const ne=this.options&&this.options.allowedMdComponents;if(!ne||Object.keys(ne).length===0)return[this.renderMd(q)];const ie=Object.keys(ne).join("|"),K=new RegExp(et.JE.replace(/{component}/g,ie),"mig"),we=[],He=[];let Je=K.exec(q),ft=0;for(;Je;){we.push(q.substring(ft,Je.index)),ft=K.lastIndex;const Lt=Je[1]||Je[2]||Je[5],Yt=ne[Lt],Vt=Je[3]||Je[6],ze=Je[4];Yt&&He.push({component:Yt.component,propsSelector:Yt.propsSelector,props:be($e($e({},xt(Vt)),Yt.props),{children:ze})}),Je=K.exec(q)}we.push(q.substring(ft));const At=[];for(let Lt=0;Lt<we.length;Lt++){const Yt=we[Lt];Yt&&At.push(this.renderMd(Yt)),He[Lt]&&At.push(He[Lt])}return At}}function xt(qe){if(!qe)return{};const q=/([\w-]+)\s*=\s*(?:{([^}]+?)}|"([^"]+?)")/gim,ne={};let ie;for(;(ie=q.exec(qe))!==null;)if(ie[3])ne[ie[1]]=ie[3];else if(ie[2]){let K;try{K=JSON.parse(ie[2])}catch(we){}ne[ie[1]]=K}return ne}},57180:(L,n,e)=>{"use strict";e.d(n,{u:()=>c});var t=e(813),l=e.n(t),s=Object.defineProperty,o=(u,a,d)=>a in u?s(u,a,{enumerable:!0,configurable:!0,writable:!0,value:d}):u[a]=d,r=(u,a,d)=>(o(u,typeof a!="symbol"?a+"":a,d),d);class c{constructor(){r(this,"map",new Map),r(this,"prevTerm","")}add(a){this.map.set(a,new(l())(a))}delete(a){this.map.delete(a)}addOnly(a){this.map.forEach((d,h)=>{a.indexOf(h)===-1&&(d.unmark(),this.map.delete(h))});for(const d of a)this.map.has(d)||this.map.set(d,new(l())(d))}clearAll(){this.unmark(),this.map.clear()}mark(a){!a&&!this.prevTerm||(this.map.forEach(d=>{d.unmark(),d.mark(a||this.prevTerm)}),this.prevTerm=a||this.prevTerm)}unmark(){this.map.forEach(a=>a.unmark()),this.prevTerm=""}}},34405:(L,n,e)=>{"use strict";e.d(n,{r:()=>S});var t=e(13066),l=e(16802),s=e(5062),o=e(13303),r=Object.defineProperty,c=Object.defineProperties,u=Object.getOwnPropertyDescriptors,a=Object.getOwnPropertySymbols,d=Object.prototype.hasOwnProperty,h=Object.prototype.propertyIsEnumerable,p=(v,b,m)=>b in v?r(v,b,{enumerable:!0,configurable:!0,writable:!0,value:m}):v[b]=m,E=(v,b)=>{for(var m in b||(b={}))d.call(b,m)&&p(v,m,b[m]);if(a)for(var m of a(b))h.call(b,m)&&p(v,m,b[m]);return v},T=(v,b)=>c(v,u(b));class S{static buildStructure(b,m){const y=b.definition,O=[],C=[...y.tags||[]];!C.find(R=>(R==null?void 0:R.name)===m.schemaDefinitionsTagName)&&m.schemaDefinitionsTagName&&C.push({name:m.schemaDefinitionsTagName});const w=S.getTagsWithOperations(b,C),x=y["x-tagGroups"];return O.push(...S.addMarkdownItems(y.info.description||"",void 0,1,m)),x&&x.length>0?O.push(...S.getTagGroupsItems(b,void 0,x,w,m)):O.push(...S.getTagsItems(b,w,void 0,void 0,m)),O}static addMarkdownItems(b,m,y,O){const A=new l.$(O).extractHeadings(b||"");A.length&&m&&m.description&&(m.description=l.$.getTextBeforeHading(m.description,A[0].name));const w=(x,R,g=1)=>R.map(k=>{const G=new s.dZ("section",k,x);return G.depth=g,k.items&&(G.items=w(G,k.items,g+1)),G});return w(m,A,y)}static getTagGroupsItems(b,m,y,O,C){const A=[];for(const w of y){const x=new s.dZ("group",w,m);x.depth=o.tT,x.items=S.getTagsItems(b,O,x,w,C),A.push(x)}return A}static getTagsItems(b,m,y,O,C){let A;if(O===void 0?A=Object.keys(m):A=O.tags,!Array.isArray(A))return console.warn("Unexpected values of tags. Check tags or x-tagGroups in your definition."),[];const w=A.map(R=>m[R]?(m[R].used=!0,m[R]):(console.warn(`Non-existing tag "${R}" is added to the group "${O==null?void 0:O.name}"`),null)),x=[];for(const R of w){if(!R)continue;const g=new s.dZ("tag",R,y);if(g.depth=o.tT+1,R.name===""){const G=[...S.addMarkdownItems(R.description||"",g,g.depth+1,C),...this.getOperationsItems(b,void 0,R,g.depth+1,C)];x.push(...G);continue}const k=this.getTagRelatedSchema({parser:b,tag:R,parent:g,schemaDefinitionsTagName:C.schemaDefinitionsTagName});g.items=[...k,...S.addMarkdownItems(R.description||"",g,g.depth+1,C),...this.getOperationsItems(b,g,R,g.depth+1,C)],x.push(g)}return C.sortTagsAlphabetically&&x.sort((0,t.Bi)("name")),x}static getTagRelatedSchema({parser:b,tag:m,parent:y,schemaDefinitionsTagName:O}){var C;const A=O?[O]:[];return Object.entries(((C=b.definition.components)==null?void 0:C.schemas)||{}).map(([w,x])=>{if(!(x["x-tags"]||A).includes(m.name))return null;const g=new s.dZ("schema",{name:w,"x-displayName":`${x.title||w}`,description:`<SchemaDefinition showWriteOnly={true} schemaRef="#/components/schemas/${w}" />`,isSchema:!0,level:2},y);return g.depth=y.depth+1,g}).filter(Boolean)}static getOperationsItems(b,m,y,O,C){if(y.operations.length===0)return[];const A=[];for(const w of y.operations){const x=new s.pk(b,w,m,C);x.depth=O,A.push(x)}return C.sortOperationsAlphabetically&&A.sort((0,t.Bi)("name")),A}static getTagsWithOperations(b,m){const y={},{definition:O}=b,C=O["x-webhooks"]||O.webhooks;for(const w of m||[])y[w.name]=T(E({},w),{operations:[]});O.paths&&A(b,O.paths),C&&A(b,C,!0);function A(w,x,R){for(const g of Object.keys(x||{})){const k=x[g],G=Object.keys(k).filter(t.eU);for(const Z of G){const oe=k[Z];if(k.$ref){const{resolved:Ee}=w.deref(k);A(w,{[g]:Ee},R);continue}let ee=oe==null?void 0:oe.tags;(!ee||!ee.length)&&(ee=[""]);for(const Ee of ee){let Fe=y[Ee];Fe===void 0&&(Fe={name:Ee,operations:[]},y[Ee]=Fe),!Fe["x-traitTag"]&&Fe.operations.push(T(E({},oe),{pathName:g,pointer:t.IB.compile(["paths",g,Z]),httpVerb:Z,pathParameters:k.parameters||[],pathServers:k.servers,isWebhook:!!R}))}}}}return y}}},54785:(L,n,e)=>{"use strict";e.d(n,{Gk:()=>v,Xo:()=>m});var t=e(13066),l=e(71796),s=e(98906),o=Object.defineProperty,r=Object.defineProperties,c=Object.getOwnPropertyDescriptors,u=Object.getOwnPropertySymbols,a=Object.prototype.hasOwnProperty,d=Object.prototype.propertyIsEnumerable,h=(y,O,C)=>O in y?o(y,O,{enumerable:!0,configurable:!0,writable:!0,value:C}):y[O]=C,p=(y,O)=>{for(var C in O||(O={}))a.call(O,C)&&h(y,C,O[C]);if(u)for(var C of u(O))d.call(O,C)&&h(y,C,O[C]);return y},E=(y,O)=>r(y,c(O)),T=(y,O)=>{var C={};for(var A in y)a.call(y,A)&&O.indexOf(A)<0&&(C[A]=y[A]);if(y!=null&&u)for(var A of u(y))O.indexOf(A)<0&&d.call(y,A)&&(C[A]=y[A]);return C},S=(y,O,C)=>(h(y,typeof O!="symbol"?O+"":O,C),C);function v(y,O){return O&&y[y.length-1]!==O?[...y,O]:y}function b(y,O){return O?y.concat(O):y}class m{constructor(O,C,A=new s.V({})){this.options=A,S(this,"definitionUrl"),S(this,"definition"),S(this,"allowMergeRefs",!1),S(this,"byRef",x=>{let R;if(!!this.definition){x.charAt(0)!=="#"&&(x="#"+x),x=decodeURIComponent(x);try{R=l.I.get(this.definition,x)}catch(g){}return R||{}}}),this.validate(O),this.preprocess(O),this.definition=O,this.allowMergeRefs=O.openapi.startsWith("3.1");const w=t.Qg?window.location.href:"";typeof C=="string"&&(this.definitionUrl=new URL(C,w).href)}validate(O){if(O.openapi===void 0)throw new Error("Document must be valid OpenAPI 3.0.0 definition")}preprocess(O){if(O.info&&this.options.hideInfoDescription){O.info.description="";return}}isRef(O){return O?(O=O,O.$ref!==void 0&&O.$ref!==null):!1}deref(O,C=[],A=!1){const w=O==null?void 0:O["x-refsStack"];if(C=b(C,w),this.isRef(O)){const x=(0,t.ft)(O.$ref);if(x&&this.options.ignoreNamedSchemas.has(x))return{resolved:{type:"object",title:x},refsStack:C};let R=this.byRef(O.$ref);if(!R)throw new Error(`Failed to resolve $ref "${O.$ref}"`);let g=C;if(C.includes(O.$ref))R=Object.assign({},R,{"x-circular-ref":!0});else if(this.isRef(R)){const k=this.deref(R,C,A);g=k.refsStack,R=k.resolved}return g=v(C,O.$ref),R=this.allowMergeRefs?this.mergeRefs(O,R,A):R,{resolved:R,refsStack:g}}return{resolved:O,refsStack:b(C,w)}}mergeRefs(O,C,A){const w=O,{$ref:x}=w,R=T(w,["$ref"]),g=Object.keys(R);if(g.length===0)return C;if(A&&g.some(k=>!["description","title","externalDocs","x-refsStack","x-parentRefs","readOnly","writeOnly"].includes(k))){const k=R,{description:G,title:Z,readOnly:oe,writeOnly:ee}=k,Ee=T(k,["description","title","readOnly","writeOnly"]);return{allOf:[{description:G,title:Z,readOnly:oe,writeOnly:ee},C,Ee]}}else return p(p({},C),R)}mergeAllOf(O,C,A){var w;if(O["x-circular-ref"]||(O=this.hoistOneOfs(O),O.allOf===void 0))return O;let x=E(p({},O),{"x-parentRefs":[],allOf:void 0,title:O.title||(0,t.ft)(C)});x.properties!==void 0&&typeof x.properties=="object"&&(x.properties=p({},x.properties)),x.items!==void 0&&typeof x.items=="object"&&(x.items=p({},x.items));const R=O.allOf.map(g=>{var k;const{resolved:G,refsStack:Z}=this.deref(g,A,!0),oe=g.$ref||void 0,ee=this.mergeAllOf(G,oe,Z);if(!(ee["x-circular-ref"]&&ee.allOf))return oe&&((k=x["x-parentRefs"])==null||k.push(...ee["x-parentRefs"]||[],oe)),{$ref:oe,refsStack:v(Z,oe),schema:ee}}).filter(g=>g!==void 0);for(const{schema:g,refsStack:k}of R){const G=g,{type:Z,enum:oe,properties:ee,items:Ee,required:Fe,title:ce,description:te,readOnly:he,writeOnly:Q,oneOf:B,anyOf:J,"x-circular-ref":re}=G,W=T(G,["type","enum","properties","items","required","title","description","readOnly","writeOnly","oneOf","anyOf","x-circular-ref"]);if(x.type!==Z&&x.type!==void 0&&Z!==void 0&&console.warn(`Incompatible types in allOf at "${C}": "${x.type}" and "${Z}"`),Z!==void 0&&(Array.isArray(Z)&&Array.isArray(x.type)?x.type=[...Z,...x.type]:x.type=Z),oe!==void 0&&(Array.isArray(oe)&&Array.isArray(x.enum)?x.enum=Array.from(new Set([...oe,...x.enum])):x.enum=oe),ee!==void 0&&typeof ee=="object"){x.properties=x.properties||{};for(const V in ee){const ae=b(k,(w=ee[V])==null?void 0:w["x-refsStack"]);if(!x.properties[V])x.properties[V]=E(p({},ee[V]),{"x-refsStack":ae});else if(!re){const pe=this.mergeAllOf({allOf:[x.properties[V],ee[V]],"x-refsStack":ae},C+"/properties/"+V,ae);x.properties[V]=pe}}}if(Ee!==void 0&&!re){const V=typeof x.items=="boolean"?{}:Object.assign({},x.items),ae=typeof g.items=="boolean"?{}:Object.assign({},g.items);x.items=this.mergeAllOf({allOf:[V,ae]},C+"/items",k)}B!==void 0&&(x.oneOf=B),J!==void 0&&(x.anyOf=J),Fe!==void 0&&(x.required=[...x.required||[],...Fe]),x=p(E(p({},x),{title:x.title||ce,description:x.description||te,readOnly:x.readOnly!==void 0?x.readOnly:he,writeOnly:x.writeOnly!==void 0?x.writeOnly:Q,"x-circular-ref":x["x-circular-ref"]||re}),W)}return x}findDerived(O){const C={},A=this.definition.components&&this.definition.components.schemas||{};for(const w in A){const{resolved:x}=this.deref(A[w]);x.allOf!==void 0&&x.allOf.find(R=>R.$ref!==void 0&&O.indexOf(R.$ref)>-1)&&(C["#/components/schemas/"+w]=[x["x-discriminator-value"]||w])}return C}hoistOneOfs(O){if(O.allOf===void 0)return O;const C=O.allOf;for(let A=0;A<C.length;A++){const w=C[A];if(Array.isArray(w.oneOf)){const x=C.slice(0,A),R=C.slice(A+1);return{oneOf:w.oneOf.map(g=>({allOf:[...x,g,...R]}))}}}return O}}},98906:(L,n,e)=>{"use strict";e.d(n,{V:()=>R});var t=e(68949),l=e(39895),s=e(61191);const r={spacing:{unit:5,sectionHorizontal:({spacing:g})=>g.unit*8,sectionVertical:({spacing:g})=>g.unit*4},breakpoints:{small:"50rem",medium:"85rem",large:"105rem"},colors:{tonalOffset:.2,primary:{main:"#0065FB",light:({colors:g})=>(0,l.$n)(g.tonalOffset,g.primary.main),dark:({colors:g})=>(0,l._j)(g.tonalOffset,g.primary.main),contrastText:({colors:g})=>(0,l.XV)(g.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:g})=>(0,l.$n)(g.tonalOffset*2,g.success.main),dark:({colors:g})=>(0,l._j)(g.tonalOffset,g.success.main),contrastText:({colors:g})=>(0,l.XV)(g.success.main)},warning:{main:"#ffa500",light:({colors:g})=>(0,l.$n)(g.tonalOffset,g.warning.main),dark:({colors:g})=>(0,l._j)(g.tonalOffset,g.warning.main),contrastText:"#ffffff"},error:{main:"#FF6161",light:({colors:g})=>(0,l.$n)(g.tonalOffset,g.error.main),dark:({colors:g})=>(0,l._j)(g.tonalOffset,g.error.main),contrastText:"#ffffff"},text:{primary:"#1F2933",secondary:"#7b8794",light:"#F5F7FA"},border:{dark:"#616E7C",light:"#E4E7EB"},responses:{success:{borderColor:"#B1E996",backgroundColor:"#F6FFF4",tabTextColor:({colors:g})=>g.responses.success.borderColor},error:{borderColor:"#FFC9C9",backgroundColor:"#FFF4F4",tabTextColor:({colors:g})=>g.responses.error.borderColor},redirect:{borderColor:({colors:g})=>g.warning.main,backgroundColor:({colors:g})=>(0,l.DZ)(.9,g.responses.redirect.borderColor),tabTextColor:({colors:g})=>g.responses.redirect.borderColor},info:{borderColor:"#87ceeb",backgroundColor:({colors:g})=>(0,l.DZ)(.9,g.responses.info.borderColor),tabTextColor:({colors:g})=>g.responses.info.borderColor}},http:{get:"#3A9601",post:"#0065FB",put:"#93527B",options:"#947014",patch:"#bf581d",delete:"#C83637",basic:"#707070",link:"#07818F",head:"#A23DAD"}},schema:{linesColor:g=>g.colors.border.light,defaultDetailsWidth:"70%",typeNameColor:g=>g.colors.text.secondary,typeTitleColor:g=>g.schema.typeNameColor,requireLabelColor:"#FF0000",labelsTextSize:"0.9em",nestingSpacing:"1em",nestedBackground:g=>g.colors.secondary.light,nestedAlternativeBackground:"#ffffff",caretColor:({colors:g})=>g.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:g})=>g.fontFamily,fontWeight:"700",lineHeight:"1.6em"},code:{fontSize:"13px",fontFamily:"Source Code Pro, monospace",lineHeight:({typography:g})=>g.lineHeight,fontWeight:({typography:g})=>g.fontWeightRegular,color:"#e53935",backgroundColor:"rgba(38, 50, 56, 0.05)",wrap:!1},links:{color:({colors:g})=>g.primary.main,visited:({typography:g})=>g.links.color,hover:({typography:g})=>(0,l.$n)(.2,g.links.color),textDecoration:"auto",hoverTextDecoration:"auto"},fieldName:{fontSize:({typography:g})=>g.code.fontSize,fontFamily:({typography:g})=>g.code.fontFamily,fontWeight:({typography:g})=>g.code.fontWeight}},sidebar:{separatorLabelColor:({sidebar:g})=>g.textColor,separatorLineColor:"#DADADA",caretColor:({sidebar:g})=>g.textColor,caretSize:({sidebar:g})=>g.spacing.unit,spacing:{unit:8,paddingHorizontal:({sidebar:g})=>g.spacing.unit,paddingVertical:({sidebar:g})=>g.spacing.unit,offsetTop:({sidebar:g})=>g.spacing.unit*2,offsetLeft:({sidebar:g})=>g.spacing.unit*2,offsetNesting:({sidebar:g})=>g.spacing.unit*2},borderRadius:"4px",fontFamily:({typography:g})=>g.fontFamily,fontSize:({typography:g})=>g.fontSize,showAtBreakpoint:"small",width:"285px",backgroundColor:"#fff",rightLineColor:g=>g.colors.border.light,textColor:g=>g.colors.text.primary,activeTextColor:g=>g.sidebar.textColor,activeBgColor:g=>g.colors.border.light},components:{buttons:{borderRadius:({shape:g})=>g.borderRadius,hoverStyle:"",fontWeight:({typography:g})=>g.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:g})=>g.code.fontFamily,fontWeight:({typography:g})=>g.fontWeightBold,color:({colors:g})=>g.text.light,sizes:{medium:{fontSize:"12px",lineHeight:"20px"},small:{fontSize:"8px",lineHeight:"15px"}}},tryItButton:{fullWidth:!1},tryItSendButton:{fullWidth:!1},panels:{borderRadius:"8px",backgroundColor:"#fff",title:{fontSize:"18px",fontWeight:({typography:g})=>g.headings.fontWeight,fontFamily:({typography:g})=>g.fontFamily,lineHeight:"18px",color:"#1F2933",transform:""},subTitle:{fontSize:"0.9em",fontWeight:"normal",fontFamily:({typography:g})=>g.fontFamily,lineHeight:"18px",color:"#1F2933",transform:""},iconColor:"#1F2933"},layoutControls:{top:"20px",width:"36px",height:"36px"}},logo:{maxHeight:({sidebar:g})=>g.width,maxWidth:({sidebar:g})=>g.width,gutter:"2px"},fab:{backgroundColor:"#f2f2f2",color:"#0065FB"},rightPanel:{showAtBreakpoint:"medium",backgroundColor:"#1F2933",panelBackgroundColor:"#52606D",panelControlsBackgroundColor:"#323F4B",width:"37.5%",textColor:"#ffffff"},codeBlock:{backgroundColor:({rightPanel:g})=>g.panelControlsBackgroundColor,maxHeight:"auto"},shape:{borderRadius:"4px"},layout:{showDarkRightPanel:!1,stacked:{maxWidth:{[s.QU]:"",small:"90%",medium:"75%",large:"1200px"}},"three-panel":{middlePanelMaxWidth:"none",maxWidth:{[s.QU]:"100%",small:"100%",medium:"100%",large:"1800px"}}}};function c(g){const k={};let G=0;const Z=(oe,ee)=>{Object.keys(oe).forEach(Ee=>{const Fe=(ee?ee+".":"")+Ee,ce=oe[Ee];typeof ce=="function"?Object.defineProperty(oe,Ee,{get(){if(!k[Fe]){if(G++,G>1e3)throw new Error(`Theme probably contains circular dependency at ${Fe}: ${ce.toString()}`);k[Fe]=ce(g)}return k[Fe]},enumerable:!0}):typeof ce=="object"&&Z(ce,Fe)})};return Z(g,""),JSON.parse(JSON.stringify(g))}var u=e(13066),a=e(25446),d=e(49376),h=e(51027),p=Object.defineProperty,E=Object.defineProperties,T=Object.getOwnPropertyDescriptor,S=Object.getOwnPropertyDescriptors,v=Object.getOwnPropertySymbols,b=Object.prototype.hasOwnProperty,m=Object.prototype.propertyIsEnumerable,y=(g,k,G)=>k in g?p(g,k,{enumerable:!0,configurable:!0,writable:!0,value:G}):g[k]=G,O=(g,k)=>{for(var G in k||(k={}))b.call(k,G)&&y(g,G,k[G]);if(v)for(var G of v(k))m.call(k,G)&&y(g,G,k[G]);return g},C=(g,k)=>E(g,S(k)),A=(g,k,G,Z)=>{for(var oe=Z>1?void 0:Z?T(k,G):k,ee=g.length-1,Ee;ee>=0;ee--)(Ee=g[ee])&&(oe=(Z?Ee(k,G,oe):Ee(oe))||oe);return Z&&oe&&p(k,G,oe),oe},w=(g,k,G)=>(y(g,typeof k!="symbol"?k+"":k,G),G);const x=class{constructor(g,k={}){w(this,"theme"),w(this,"scrollYOffset"),w(this,"hideHostname"),w(this,"hideInfoDescription"),w(this,"expandResponses"),w(this,"requiredPropsFirst"),w(this,"sortPropsAlphabetically"),w(this,"sortEnumValuesAlphabetically"),w(this,"sortOperationsAlphabetically"),w(this,"sortTagsAlphabetically"),w(this,"nativeScrollbars"),w(this,"pathInMiddlePanel"),w(this,"untrustedDefinition"),w(this,"hideDownloadButton"),w(this,"downloadDefinitionUrl"),w(this,"disableSearch"),w(this,"showChangeLayoutButton"),w(this,"onlyRequiredInSamples"),w(this,"showConsole"),w(this,"sendXUserAgentInTryIt"),w(this,"generatedPayloadSamplesMaxDepth"),w(this,"showExtensions"),w(this,"preserveOriginalExtensionsName"),w(this,"hideSingleRequestSampleTab"),w(this,"hideRequestPayloadSample"),w(this,"menuToggle"),w(this,"jsonSampleExpandLevel"),w(this,"enumSkipQuotes"),w(this,"hideSchemaTitles"),w(this,"hideSecuritySection"),w(this,"showSecuritySchemeType"),w(this,"simpleOneOfTypeLabel"),w(this,"payloadSampleIdx"),w(this,"expandSingleSchemaField"),w(this,"schemaExpansionLevel"),w(this,"samplesTabsMaxCount"),w(this,"mockServer"),w(this,"unstable_tryItButtonOverride"),w(this,"allowedMdComponents"),w(this,"expandDefaultServerVariables"),w(this,"expandDefaultRequest"),w(this,"expandDefaultResponse"),w(this,"collapseRequestSamplePanel"),w(this,"collapseResponseSamplePanel"),w(this,"maxDisplayedEnumValues"),w(this,"ignoreNamedSchemas"),w(this,"unstable_ignoreMimeParameters"),w(this,"unstable_externalCodeSamples"),w(this,"hooks"),w(this,"hideSchemaPattern"),w(this,"hideOneOfDescription"),w(this,"hideFab"),w(this,"markdownHeadingsAnchorLevel"),w(this,"schemaDefinitionsTagName"),w(this,"minCharacterLengthToInitSearch"),w(this,"maxResponseHeadersToShowInTryIt"),w(this,"showWebhookVerb"),w(this,"showObjectSchemaExamples"),w(this,"showAccessMode"),w(this,"disableTryItRequestUrlEncoding");var G,Z,oe,ee,Ee,Fe;(0,t.rC)(this),g=O(O({},k),g);const ce=(G=g.theme)==null?void 0:G.extensionsHook;((Z=g.theme)==null?void 0:Z.menu)&&!((oe=g.theme)==null?void 0:oe.sidebar)&&(console.warn('Theme setting "menu" is deprecated. Rename to "sidebar"'),g.theme.sidebar=g.theme.menu),((ee=g.theme)==null?void 0:ee.codeSample)&&!((Ee=g.theme)==null?void 0:Ee.codeBlock)&&(console.warn('Theme setting "codeSample" is deprecated. Rename to "codeBlock"'),g.theme.codeBlock=g.theme.codeSample),this.theme=c((0,u.PM)({},r,C(O({},g.theme),{extensionsHook:void 0}))),this.theme.mediaQueries={print:"@media print"};for(const[he,Q]of Object.entries(this.theme.breakpoints))this.theme.mediaQueries[he]=`@media screen and (min-width: ${Q})`;this.theme.extensionsHook=ce,(0,h.W)(g.labels),this.scrollYOffset=x.normalizeScrollYOffset(g.scrollYOffset),this.hideHostname=x.normalizeHideHostname(g.hideHostname),this.expandResponses=x.normalizeExpandResponses(g.expandResponses),this.requiredPropsFirst=(0,u.m9)(g.requiredPropsFirst),this.sortPropsAlphabetically=(0,u.m9)(g.sortPropsAlphabetically),this.sortEnumValuesAlphabetically=(0,u.m9)(g.sortEnumValuesAlphabetically),this.sortOperationsAlphabetically=(0,u.m9)(g.sortOperationsAlphabetically),this.sortTagsAlphabetically=(0,u.m9)(g.sortTagsAlphabetically),this.nativeScrollbars=(0,u.m9)(g.nativeScrollbars),this.pathInMiddlePanel=(0,u.m9)(g.pathInMiddlePanel),this.untrustedDefinition=(0,u.m9)(g.untrustedDefinition),this.hideDownloadButton=g.hideDownloadButton===void 0?null:(0,u.m9)(g.hideDownloadButton),this.downloadDefinitionUrl=g.downloadDefinitionUrl,this.hideInfoDescription=(0,u.m9)(g.hideInfoDescription),this.disableSearch=(0,u.m9)(g.disableSearch),this.onlyRequiredInSamples=(0,u.m9)(g.onlyRequiredInSamples),this.generatedPayloadSamplesMaxDepth=(0,u.At)(g.generatedPayloadSamplesMaxDepth)||8,this.sendXUserAgentInTryIt=(0,u.m9)(g.sendXUserAgentInTryIt),this.showExtensions=x.normalizeShowExtensions(g.showExtensions),this.preserveOriginalExtensionsName=(0,u.m9)(g.preserveOriginalExtensionsName,!1),this.hideSingleRequestSampleTab=(0,u.m9)(g.hideSingleRequestSampleTab),this.hideRequestPayloadSample=(0,u.m9)(g.hideRequestPayloadSample),this.menuToggle=(0,u.m9)(g.menuToggle,!0),this.jsonSampleExpandLevel=(0,u.Z3)(g.jsonSampleExpandLevel,2),this.enumSkipQuotes=(0,u.m9)(g.enumSkipQuotes),this.hideSchemaTitles=(0,u.m9)(g.hideSchemaTitles),this.hideSecuritySection=(0,u.m9)(g.hideSecuritySection),this.showSecuritySchemeType=(0,u.m9)(g.showSecuritySchemeType),this.simpleOneOfTypeLabel=(0,u.m9)(g.simpleOneOfTypeLabel),this.payloadSampleIdx=x.normalizePayloadSampleIdx(g.payloadSampleIdx),this.expandSingleSchemaField=(0,u.m9)(g.expandSingleSchemaField),this.schemaExpansionLevel=(0,u.Z3)(g.schemaExpansionLevel),this.samplesTabsMaxCount=(0,u.At)(g.samplesTabsMaxCount)||5,this.unstable_tryItButtonOverride=g.unstable_tryItButtonOverride||null,this.unstable_ignoreMimeParameters=(0,u.m9)(g.unstable_ignoreMimeParameters),this.allowedMdComponents=g.allowedMdComponents||{},this.expandDefaultServerVariables=(0,u.m9)(g.expandDefaultServerVariables),this.expandDefaultRequest=(0,u.m9)(g.expandDefaultRequest,!0),this.expandDefaultResponse=(0,u.m9)(g.expandDefaultResponse,!0),this.collapseRequestSamplePanel=(0,u.m9)(g.collapseRequestSamplePanel,!1),this.collapseResponseSamplePanel=(0,u.m9)(g.collapseResponseSamplePanel,!1),this.maxDisplayedEnumValues=(0,u.RC)(g.maxDisplayedEnumValues);const te=Array.isArray(g.ignoreNamedSchemas)?g.ignoreNamedSchemas:(Fe=g.ignoreNamedSchemas)==null?void 0:Fe.split(",").map(he=>he.trim());this.ignoreNamedSchemas=new Set(te),this.unstable_externalCodeSamples=g.unstable_externalCodeSamples||[],this.hooks=g.hooks||(0,a.rR)(d.C.HOOKS)||{},this.hooks.ReplaceTryItAuthPanel&&!this.hooks.ReplaceTryItSecurityPanel&&(console.warn("[warn] ReplaceTryItAuthPanel is deprecated, use ReplaceTryItSecurityPanel instead"),this.hooks.ReplaceTryItSecurityPanel=this.hooks.ReplaceTryItAuthPanel),this.hideSchemaPattern=(0,u.m9)(g.hideSchemaPattern),this.hideOneOfDescription=(0,u.m9)(g.hideOneOfDescription),this.hideFab=(0,u.m9)(g.hideFab),this.markdownHeadingsAnchorLevel=(0,u.RC)(g.markdownHeadingsAnchorLevel,2),this.schemaDefinitionsTagName=g.schemaDefinitionsTagName,this.minCharacterLengthToInitSearch=(0,u.RC)(g.minCharacterLengthToInitSearch,3),this.maxResponseHeadersToShowInTryIt=(0,u.RC)(g.maxResponseHeadersToShowInTryIt),this.showWebhookVerb=(0,u.m9)(g.showWebhookVerb),this.showObjectSchemaExamples=(0,u.m9)(g.showObjectSchemaExamples),this.showAccessMode=(0,u.m9)(g.showAccessMode),this.disableTryItRequestUrlEncoding=(0,u.m9)(g.disableTryItRequestUrlEncoding,!1)}static normalizeExpandResponses(g){if(g==="all")return"all";if(typeof g=="string"){const k={};return g.split(",").forEach(G=>{k[G.trim()]=!0}),k}else g!==void 0&&console.warn(`expandResponses must be a string but received value "${g}" of type ${typeof g}`);return{}}static normalizeHideHostname(g){return!!g}static normalizeScrollYOffset(g){if(typeof g=="string"&&!(0,u.kE)(g)){const k=(0,u.R2)(g);k||console.warn("scrollYOffset value is a selector to non-existing element. Using offset 0 by default");const G=k&&k.getBoundingClientRect().bottom||0;return()=>G}else{if(typeof g=="number"||(0,u.kE)(g))return()=>typeof g=="number"?g:parseFloat(g);if(typeof g=="function")return()=>{const k=g();return typeof k!="number"&&console.warn(`scrollYOffset should return number but returned value "${k}" of type ${typeof k}`),k};g!==void 0&&console.warn("Wrong value for scrollYOffset ReDoc option: should be string, number or function")}return()=>0}static normalizeShowExtensions(g){if(typeof g=="undefined")return!1;if(g==="")return!0;if(typeof g!="string")return g;switch(g){case"true":return!0;case"false":return!1;default:return g.split(",").map(k=>k.trim())}}static normalizePayloadSampleIdx(g){return typeof g=="number"?Math.max(0,g):typeof g=="string"&&isFinite(g)?parseInt(g,10):0}};let R=x;A([t.LO],R.prototype,"showConsole",2)},43339:(L,n,e)=>{"use strict";e.d(n,{a:()=>E});var t=e(11851),l=e.n(t),s=e(26729),o=e.n(s),r=e(13066),c=Object.defineProperty,u=Object.getOwnPropertyDescriptor,a=(T,S,v)=>S in T?c(T,S,{enumerable:!0,configurable:!0,writable:!0,value:v}):T[S]=v,d=(T,S,v,b)=>{for(var m=b>1?void 0:b?u(S,v):S,y=T.length-1,O;y>=0;y--)(O=T[y])&&(m=(b?O(S,v,m):O(m))||m);return b&&m&&c(S,v,m),m},h=(T,S,v)=>(a(T,typeof S!="symbol"?S+"":S,v),v);const p="scroll";class E{constructor(S){this.options=S,h(this,"_scrollParent"),h(this,"_emitter"),h(this,"_prevOffsetY",0),this._scrollParent=r.Qg?window:void 0,this._emitter=new(o()),this.bind()}set prevOffsetY(S){this._prevOffsetY=S}bind(){this._prevOffsetY=this.scrollY(),this._scrollParent&&this._scrollParent.addEventListener(p,this.handleScroll)}dispose(){this._scrollParent&&this._scrollParent.removeEventListener(p,this.handleScroll),this._emitter.removeAllListeners(p)}scrollY(){return typeof HTMLElement!="undefined"&&this._scrollParent instanceof HTMLElement?this._scrollParent.scrollTop:this._scrollParent!==void 0?this._scrollParent.pageYOffset:0}isElementBellow(S){if(S!==null)return S.getBoundingClientRect().top>this.options.scrollYOffset()}isElementAbove(S){if(S===null)return;const v=S.getBoundingClientRect().top;return(v>0?Math.floor(v):Math.ceil(v))<=this.options.scrollYOffset()}subscribe(S){const v=this._emitter.addListener(p,S);return()=>v.removeListener(p,S)}scrollIntoView(S,v){if(S!==null&&(S.scrollIntoView(v),this._scrollParent&&this._scrollParent.scrollBy)){const[b,m]=[0,-Math.floor(this.options.scrollYOffset())];this._scrollParent.scrollBy(b,m)}}scrollIntoViewBySelector(S,v){const b=(0,r.R2)(S);this.scrollIntoView(b,v)}handleScroll(){const v=this.scrollY()-this._prevOffsetY>0;this._prevOffsetY=this.scrollY(),this._emitter.emit(p,v)}}d([t.bind,(0,r.Xo)(100)],E.prototype,"handleScroll",1)},22404:(L,n,e)=>{"use strict";e.d(n,{Z:()=>u});var t=e(52385),l=Object.defineProperty,s=(a,d,h)=>d in a?l(a,d,{enumerable:!0,configurable:!0,writable:!0,value:h}):a[d]=h,o=(a,d,h)=>(s(a,typeof d!="symbol"?d+"":d,h),h),r=(a,d,h)=>new Promise((p,E)=>{var T=b=>{try{v(h.next(b))}catch(m){E(m)}},S=b=>{try{v(h.throw(b))}catch(m){E(m)}},v=b=>b.done?p(b.value):Promise.resolve(b.value).then(T,S);v((h=h.apply(a,d)).next())});function c(){let a;if(t.Qg)try{a=e(83567)}catch(d){a=e(20027).ZP}else a=e(20027).ZP;return new a}class u{constructor(){o(this,"searchWorker",c())}indexItems(d){const h=p=>{p.forEach(E=>{E.type!=="group"&&this.add(E.name,E.description||"",E.id),h(E.items)})};h(d),this.searchWorker.done()}add(d,h,p){this.searchWorker.add(d,h,p)}dispose(){this.searchWorker.terminate(),this.searchWorker.dispose()}search(d){return this.searchWorker.search(d)}toJS(){return r(this,null,function*(){return this.searchWorker.toJS()})}load(d){this.searchWorker.load(d)}fromExternalJS(d,h){d&&h&&this.searchWorker.fromExternalJS(d,h)}}},20027:(L,n,e)=>{"use strict";e.d(n,{ZP:()=>u});var t=e(31336),l=e.n(t),s=Object.defineProperty,o=(A,w,x)=>w in A?s(A,w,{enumerable:!0,configurable:!0,writable:!0,value:x}):A[w]=x,r=(A,w,x)=>(o(A,typeof w!="symbol"?w+"":w,x),x),c=(A,w,x)=>new Promise((R,g)=>{var k=oe=>{try{Z(x.next(oe))}catch(ee){g(ee)}},G=oe=>{try{Z(x.throw(oe))}catch(ee){g(ee)}},Z=oe=>oe.done?R(oe.value):Promise.resolve(oe.value).then(k,G);Z((x=x.apply(A,w)).next())});class u{constructor(){r(this,"add",S),r(this,"done",v),r(this,"search",C),r(this,"toJS",b),r(this,"load",y),r(this,"dispose",O),r(this,"fromExternalJS",m)}}let a=[];t.tokenizer.separator=/\s+/;let d,h,p;function E(){d=new t.Builder,d.field("title"),d.field("description"),d.ref("ref"),d.pipeline.add(t.trimmer,t.stopWordFilter,t.stemmer),p=new Promise(A=>{h=A})}E();const T=A=>"*"+t.stemmer(new t.Token(A,{}))+"*";function S(A,w,x){const R=a.push(x)-1,g={title:A.toLowerCase(),description:w.toLowerCase(),ref:R};d.add(g)}function v(){return c(this,null,function*(){h(d.build())})}function b(){return c(this,null,function*(){return{store:a,index:(yield p).toJSON()}})}function m(A,w){return c(this,null,function*(){try{if(importScripts(A),!self[w])throw new Error("Broken index file format");yield y(self[w])}catch(x){console.error("Failed to load search index: "+x.message)}})}function y(A){return c(this,null,function*(){a=A.store,h(t.Index.load(A.index))})}function O(){return c(this,null,function*(){a=[],E()})}function C(A,w=0){return c(this,null,function*(){if(A.trim().length===0)return[];let x=(yield p).query(R=>{A.trim().toLowerCase().split(/\s+/).forEach(g=>{if(g.length===1)return;const k=T(g);R.term(k,{})})});return w>0&&(x=x.slice(0,w)),x.map(R=>({meta:a[R.ref],score:R.score}))})}},30960:(L,n,e)=>{"use strict";e.d(n,{p:()=>p});var t=e(34405),l=e(5062),s=e(54785),o=Object.defineProperty,r=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,u=Object.prototype.propertyIsEnumerable,a=(E,T,S)=>T in E?o(E,T,{enumerable:!0,configurable:!0,writable:!0,value:S}):E[T]=S,d=(E,T)=>{for(var S in T||(T={}))c.call(T,S)&&a(E,S,T[S]);if(r)for(var S of r(T))u.call(T,S)&&a(E,S,T[S]);return E},h=(E,T,S)=>(a(E,typeof T!="symbol"?T+"":T,S),S);class p{constructor(T,S,v){this.options=v,h(this,"parser"),h(this,"info"),h(this,"externalDocs"),h(this,"contentItems"),h(this,"securitySchemes"),h(this,"webhooks");var b,m,y;this.parser=new s.Xo(T,S,v),this.info=new l.Vg(this.parser),this.externalDocs=this.parser.definition.externalDocs,this.contentItems=t.r.buildStructure(this.parser,this.options),this.securitySchemes=new l.l2(this.parser);const O=d(d({},(m=(b=this.parser)==null?void 0:b.definition)==null?void 0:m["x-webhooks"]),(y=this.parser)==null?void 0:y.definition.webhooks);this.webhooks=new l.tf(this.parser,v,O)}}},13303:(L,n,e)=>{"use strict";e.d(n,{Ee:()=>t,tT:()=>s,JE:()=>c});const t="data-section-id",l="data-field-id",s=0,o="^ {0,3}<!-- ReDoc-Inject:\\s+?<({component}).*?/?>\\s+?-->\\s*$",r="(?:^ {0,3}<({component})([\\s\\S]*?)>([\\s\\S]*?)</\\2>|^ {0,3}<({component})([\\s\\S]*?)(?:/>|\\n{2,}))",c="(?:"+o+"|"+r+")"},99303:(L,n,e)=>{"use strict";e.d(n,{$8:()=>l.$,al:()=>s.a,p$:()=>o.p,Vw:()=>u.V,Z:()=>d.Z,u:()=>h.u,MediaTypeModel:()=>p.$b,OperationModel:()=>p.pk,ResponseModel:()=>p.Cg,isPayloadSample:()=>p.G2,GROUP_DEPTH:()=>S.tT});var t=e(54785),l=e(16802),s=e(43339),o=e(30960),r=e(23424),c=e(94487),u=e(98906),a=e(34405),d=e(22404),h=e(57180),p=e(5062),E=e(95939),T=e.n(E);e.o(E,"GROUP_DEPTH")&&e.d(n,{GROUP_DEPTH:function(){return E.GROUP_DEPTH}}),e.o(E,"IS_BROWSER")&&e.d(n,{IS_BROWSER:function(){return E.IS_BROWSER}}),e.o(E,"JsonPointer")&&e.d(n,{JsonPointer:function(){return E.JsonPointer}}),e.o(E,"Markdown")&&e.d(n,{Markdown:function(){return E.Markdown}}),e.o(E,"SCHEMA_DEFINITION_JSX_NAME")&&e.d(n,{SCHEMA_DEFINITION_JSX_NAME:function(){return E.SCHEMA_DEFINITION_JSX_NAME}}),e.o(E,"SECURITY_DEFINITIONS_COMPONENT_NAME")&&e.d(n,{SECURITY_DEFINITIONS_COMPONENT_NAME:function(){return E.SECURITY_DEFINITIONS_COMPONENT_NAME}}),e.o(E,"SECURITY_DEFINITIONS_JSX_NAME")&&e.d(n,{SECURITY_DEFINITIONS_JSX_NAME:function(){return E.SECURITY_DEFINITIONS_JSX_NAME}}),e.o(E,"ThemeProvider")&&e.d(n,{ThemeProvider:function(){return E.ThemeProvider}}),e.o(E,"ZERO_BREAKPOINT")&&e.d(n,{ZERO_BREAKPOINT:function(){return E.ZERO_BREAKPOINT}}),e.o(E,"argValueToBoolean")&&e.d(n,{argValueToBoolean:function(){return E.argValueToBoolean}}),e.o(E,"createGlobalStyle")&&e.d(n,{createGlobalStyle:function(){return E.createGlobalStyle}}),e.o(E,"createParsedDocument")&&e.d(n,{createParsedDocument:function(){return E.createParsedDocument}}),e.o(E,"css")&&e.d(n,{css:function(){return E.css}}),e.o(E,"deleteEmptyArrayItem")&&e.d(n,{deleteEmptyArrayItem:function(){return E.deleteEmptyArrayItem}}),e.o(E,"escapeHTMLAttrChars")&&e.d(n,{escapeHTMLAttrChars:function(){return E.escapeHTMLAttrChars}}),e.o(E,"flattenByProp")&&e.d(n,{flattenByProp:function(){return E.flattenByProp}}),e.o(E,"isArrayOfObjects")&&e.d(n,{isArrayOfObjects:function(){return E.isArrayOfObjects}}),e.o(E,"isLastInArray")&&e.d(n,{isLastInArray:function(){return E.isLastInArray}}),e.o(E,"isLastProperty")&&e.d(n,{isLastProperty:function(){return E.isLastProperty}}),e.o(E,"isObject")&&e.d(n,{isObject:function(){return E.isObject}}),e.o(E,"isOperationName")&&e.d(n,{isOperationName:function(){return E.isOperationName}}),e.o(E,"langFromMime")&&e.d(n,{langFromMime:function(){return E.langFromMime}}),e.o(E,"loadAndBundleDefinition")&&e.d(n,{loadAndBundleDefinition:function(){return E.loadAndBundleDefinition}}),e.o(E,"mediaCSS")&&e.d(n,{mediaCSS:function(){return E.mediaCSS}}),e.o(E,"mediaMap")&&e.d(n,{mediaMap:function(){return E.mediaMap}}),e.o(E,"querySelector")&&e.d(n,{querySelector:function(){return E.querySelector}}),e.o(E,"serializeParameterValue")&&e.d(n,{serializeParameterValue:function(){return E.serializeParameterValue}});var S=e(13303)},5062:(L,n,e)=>{"use strict";e.d(n,{Vg:()=>sr,dZ:()=>d,$b:()=>K,pk:()=>On,Cg:()=>dn,l2:()=>jr,tf:()=>nr,G2:()=>Xn});var t=e(68949),l=e(13066),s=e(16802),o=Object.defineProperty,r=Object.getOwnPropertyDescriptor,c=(Ye,ye,Re)=>ye in Ye?o(Ye,ye,{enumerable:!0,configurable:!0,writable:!0,value:Re}):Ye[ye]=Re,u=(Ye,ye,Re,gt)=>{for(var We=gt>1?void 0:gt?r(ye,Re):ye,Qt=Ye.length-1,rt;Qt>=0;Qt--)(rt=Ye[Qt])&&(We=(gt?rt(ye,Re,We):rt(We))||We);return gt&&We&&o(ye,Re,We),We},a=(Ye,ye,Re)=>(c(Ye,typeof ye!="symbol"?ye+"":ye,Re),Re);class d{constructor(ye,Re,gt){a(this,"id"),a(this,"absoluteIdx"),a(this,"name"),a(this,"description"),a(this,"isSchema"),a(this,"type"),a(this,"items",[]),a(this,"parent"),a(this,"externalDocs"),a(this,"active",!1),a(this,"expanded",!1),a(this,"depth"),a(this,"level"),(0,t.rC)(this),this.id=Re.id||ye+"/"+(0,l.bO)(Re.name),this.type=ye,this.name=Re["x-displayName"]||Re.name,this.level=Re.level||1,this.isSchema=Re.isSchema,this.description=Re.description||"";const We=Re.items;We&&We.length&&(this.description=s.$.getTextBeforeHading(this.description,We[0].name)),this.parent=gt,this.externalDocs=Re.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}}u([t.LO],d.prototype,"active",2),u([t.LO],d.prototype,"expanded",2),u([t.aD],d.prototype,"activate",1),u([t.aD],d.prototype,"expand",1),u([t.aD],d.prototype,"collapse",1),u([t.aD],d.prototype,"deactivate",1);var h=e(92127),p=e(7241),E=Object.defineProperty,T=Object.defineProperties,S=Object.getOwnPropertyDescriptor,v=Object.getOwnPropertyDescriptors,b=Object.getOwnPropertySymbols,m=Object.prototype.hasOwnProperty,y=Object.prototype.propertyIsEnumerable,O=(Ye,ye,Re)=>ye in Ye?E(Ye,ye,{enumerable:!0,configurable:!0,writable:!0,value:Re}):Ye[ye]=Re,C=(Ye,ye)=>{for(var Re in ye||(ye={}))m.call(ye,Re)&&O(Ye,Re,ye[Re]);if(b)for(var Re of b(ye))y.call(ye,Re)&&O(Ye,Re,ye[Re]);return Ye},A=(Ye,ye)=>T(Ye,v(ye)),w=(Ye,ye,Re,gt)=>{for(var We=gt>1?void 0:gt?S(ye,Re):ye,Qt=Ye.length-1,rt;Qt>=0;Qt--)(rt=Ye[Qt])&&(We=(gt?rt(ye,Re,We):rt(We))||We);return gt&&We&&E(ye,Re,We),We},x=(Ye,ye,Re)=>(O(Ye,typeof ye!="symbol"?ye+"":ye,Re),Re);class R{constructor(ye,Re,gt,We,Qt){x(this,"expanded",!1),x(this,"name"),x(this,"operations",[]),(0,t.rC)(this),this.name=Re;const{resolved:rt}=ye.deref(gt);for(const sn of Object.keys(rt)){const an=rt[sn],In=Object.keys(an).filter(l.eU);for(const Ht of In){const Tn=an[Ht],_n=new On(ye,A(C({},Tn),{pathName:sn,pointer:l.IB.compile([We,Re,sn,Ht]),httpVerb:Ht,pathParameters:an.parameters||[],pathServers:an.servers}),void 0,Qt,!0);this.operations.push(_n)}}}toggle(){this.expanded=!this.expanded}}w([t.LO],R.prototype,"expanded",2),w([t.aD],R.prototype,"toggle",1);var g=e(54785),k=e(51027),G=Object.defineProperty,Z=Object.defineProperties,oe=Object.getOwnPropertyDescriptor,ee=Object.getOwnPropertyDescriptors,Ee=Object.getOwnPropertySymbols,Fe=Object.prototype.hasOwnProperty,ce=Object.prototype.propertyIsEnumerable,te=(Ye,ye,Re)=>ye in Ye?G(Ye,ye,{enumerable:!0,configurable:!0,writable:!0,value:Re}):Ye[ye]=Re,he=(Ye,ye)=>{for(var Re in ye||(ye={}))Fe.call(ye,Re)&&te(Ye,Re,ye[Re]);if(Ee)for(var Re of Ee(ye))ce.call(ye,Re)&&te(Ye,Re,ye[Re]);return Ye},Q=(Ye,ye)=>Z(Ye,ee(ye)),B=(Ye,ye)=>{var Re={};for(var gt in Ye)Fe.call(Ye,gt)&&ye.indexOf(gt)<0&&(Re[gt]=Ye[gt]);if(Ye!=null&&Ee)for(var gt of Ee(Ye))ye.indexOf(gt)<0&&ce.call(Ye,gt)&&(Re[gt]=Ye[gt]);return Re},J=(Ye,ye,Re,gt)=>{for(var We=gt>1?void 0:gt?oe(ye,Re):ye,Qt=Ye.length-1,rt;Qt>=0;Qt--)(rt=Ye[Qt])&&(We=(gt?rt(ye,Re,We):rt(We))||We);return gt&&We&&G(ye,Re,We),We},re=(Ye,ye,Re)=>(te(Ye,typeof ye!="symbol"?ye+"":ye,Re),Re);const W=class{constructor(Ye,ye,Re,gt,We=!1,Qt=[],rt={}){this.parser=Ye,this.options=gt,this.refsStack=Qt,this.deps=rt,re(this,"pointer"),re(this,"type"),re(this,"displayType"),re(this,"typePrefix",""),re(this,"title"),re(this,"description"),re(this,"externalDocs"),re(this,"isPrimitive"),re(this,"isCircular",!1),re(this,"format"),re(this,"displayFormat"),re(this,"nullable"),re(this,"deprecated"),re(this,"pattern"),re(this,"example"),re(this,"enum"),re(this,"default"),re(this,"readOnly"),re(this,"writeOnly"),re(this,"constraints"),re(this,"_fields"),re(this,"items"),re(this,"oneOf"),re(this,"oneOfType"),re(this,"discriminatorProp"),re(this,"activeOneOf",0),re(this,"rawSchema"),re(this,"schema"),re(this,"extensions"),re(this,"x-enumDescriptions"),re(this,"const"),re(this,"contentEncoding"),re(this,"contentMediaType"),re(this,"minItems"),re(this,"maxItems"),(0,t.rC)(this),this.pointer=ye.$ref||Re||"";const{resolved:sn,refsStack:an}=Ye.deref(ye,Qt,!0);this.refsStack=(0,g.Gk)(an,this.pointer),this.rawSchema=sn,this.schema=Ye.mergeAllOf(this.rawSchema,this.pointer,this.refsStack),this.init(Ye,We),gt.showExtensions&&(this.extensions=(0,l.TQ)(this.schema,gt.showExtensions))}activateOneOf(Ye){var ye,Re;this.activeOneOf=Ye;const gt=(ye=this.oneOf)==null?void 0:ye[Ye].title;gt&&((Re=this.deps.operation)==null||Re.activateExampleName(gt))}hasType(Ye){return this.type===Ye||Array.isArray(this.type)&&this.type.includes(Ye)}get fields(){if(!this.isCircular)return!this._fields&&this.hasType("object")&&(this._fields=pe(this.parser,this.schema,this.pointer,this.options,this.refsStack,this.deps)),this._fields}init(Ye,ye){var Re,gt,We,Qt,rt,sn,an,In;const Ht=this.schema;if(this.isCircular=!!Ht["x-circular-ref"],this.title=Ht.title||(0,l.lE)(this.pointer)&&l.IB.baseName(this.pointer)||"",this.description=Ht.description||"",this.type=Ht.type||(0,l.Vg)(Ht),this.format=Ht.format,this.enum=Ht.enum||[],this["x-enumDescriptions"]=Ht["x-enumDescriptions"],this.example=Ht.example,this.deprecated=!!Ht.deprecated,this.pattern=Ht.pattern,this.externalDocs=Ht.externalDocs,this.constraints=(0,l.V_)(Ht),this.displayFormat=this.format,this.isPrimitive=(0,l.ty)(Ht,this.type),this.default=Ht.default,this.readOnly=!!Ht.readOnly,this.writeOnly=!!Ht.writeOnly,this.const=Ht.const||"",this.contentEncoding=Ht.contentEncoding,this.contentMediaType=Ht.contentMediaType,this.minItems=Ht.minItems,this.maxItems=Ht.maxItems,(Ht.nullable||Ht["x-nullable"])&&(Array.isArray(this.type)&&!this.type.some(Tn=>Tn===null||Tn==="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(Tn=>Tn===null?"null":Tn).join(" or "):this.type,!this.isCircular){if(Ht.if&&Ht.then||Ht.if&&Ht.else){this.initConditionalOperators(Ht,Ye);return}if(!ye&&De(Ht)!==void 0){this.initDiscriminator(Ht,Ye);return}else ye&&Array.isArray(Ht.oneOf)&&Ht.oneOf.find(Tn=>Tn.$ref===this.pointer)&&delete Ht.oneOf;if(Ht.oneOf!==void 0){this.initOneOf(Ht.oneOf,Ye),this.oneOfType="One of",Ht.anyOf!==void 0&&console.warn(`oneOf and anyOf are not supported on the same level. Skipping anyOf at ${this.pointer}`);return}if(Ht.anyOf!==void 0){this.initOneOf(Ht.anyOf,Ye),this.oneOfType="Any of";return}if(this.hasType("array")&&(Array.isArray(Ht.items)||Array.isArray(Ht.prefixItems)?this._fields=pe(Ye,Ht,this.pointer,this.options,this.refsStack,this.deps):Ht.items&&(this.items=new W(Ye,Ht.items,this.pointer+"/items",this.options,!1,this.refsStack,this.deps)),this.displayType=Ht.prefixItems||Array.isArray(Ht.items)?"items":(0,l.NL)(((Re=this.items)==null?void 0:Re.displayType)||this.displayType),this.displayFormat=((gt=this.items)==null?void 0:gt.format)||"",this.typePrefix=((We=this.items)==null?void 0:We.typePrefix)||""+(0,k.l)("arrayOf"),this.title=this.title||((Qt=this.items)==null?void 0:Qt.title)||"",this.isPrimitive=((rt=this.items)==null?void 0:rt.isPrimitive)!==void 0?(sn=this.items)==null?void 0:sn.isPrimitive:this.isPrimitive,this.example===void 0&&((an=this.items)==null?void 0:an.example)!==void 0&&(this.example=[this.items.example]),((In=this.items)==null?void 0:In.isPrimitive)&&(this.enum=this.items.enum,this["x-enumDescriptions"]=this.items["x-enumDescriptions"]),Array.isArray(this.type))){const Tn=this.type.filter(_n=>_n!=="array");Tn.length&&(this.displayType+=` or ${Tn.join(" or ")}`)}this.enum.length&&this.options.sortEnumValuesAlphabetically&&this.enum.sort()}}initOneOf(Ye,ye){if(this.oneOf=Ye.map((Re,gt)=>{const{resolved:We,refsStack:Qt}=ye.deref(Re,this.refsStack,!0),rt=ye.mergeAllOf(We,this.pointer+"/oneOf/"+gt,Qt),sn=(0,l.lE)(Re.$ref)&&!rt.title?l.IB.baseName(Re.$ref):`${rt.title||""}${rt.const&&JSON.stringify(rt.const)||""}`;return new W(ye,Q(he({},rt),{title:sn,allOf:[Q(he({},this.schema),{oneOf:void 0,anyOf:void 0})],discriminator:We.allOf?void 0:rt.discriminator}),Re.$ref||this.pointer+"/oneOf/"+gt,this.options,!1,Qt,Q(he({},this.deps),{parentFieldFullPath:this.deps.parentFieldFullPath?this.deps.parentFieldFullPath+this.options.deepLinkSeparator+gt:gt.toString()}))}),this.options.simpleOneOfTypeLabel){const Re=nt(this);this.displayType=Re.join(" or ")}else this.displayType=this.oneOf.map(Re=>{let gt=Re.typePrefix+(Re.title?`${Re.title} (${Re.displayType})`:Re.displayType);return gt.indexOf(" or ")>-1&&(gt=`(${gt})`),gt}).join(" or ")}initDiscriminator(Ye,ye){const Re=De(Ye);this.discriminatorProp=Re==null?void 0:Re.propertyName;const gt=ye.findDerived([...this.schema["x-parentRefs"]||[],this.pointer]);if(Ye.oneOf)for(const Ht of Ye.oneOf){if(Ht.$ref===void 0)continue;const Tn=l.IB.baseName(Ht.$ref);gt[Ht.$ref]=Tn}const We=(Re==null?void 0:Re.mapping)||{};let Qt=(Re==null?void 0:Re["x-explicitMappingOnly"])||!1;Object.keys(We).length===0&&(Qt=!1);const rt={};for(const Ht in We){const Tn=We[Ht];Array.isArray(rt[Tn])?rt[Tn].push(Ht):rt[Tn]=[Ht]}const sn=he(Qt?{}:he({},gt),rt);let an=[];for(const Ht of Object.keys(sn)){const Tn=sn[Ht];if(Array.isArray(Tn))for(const _n of Tn)an.push({$ref:Ht,name:_n});else an.push({$ref:Ht,name:Tn})}const In=Object.keys(We);In.length!==0&&(an=an.sort((Ht,Tn)=>{const _n=In.indexOf(Ht.name),Be=In.indexOf(Tn.name);return _n<0&&Be<0?Ht.name.localeCompare(Tn.name):_n<0?1:Be<0?-1:_n-Be})),this.oneOf=an.map(({$ref:Ht,name:Tn},_n)=>{const Be=new W(ye,{$ref:Ht},Ht,this.options,!0,this.refsStack.slice(0,-1),Q(he({},this.deps),{parentFieldFullPath:this.deps.parentFieldFullPath?this.deps.parentFieldFullPath+this.options.deepLinkSeparator+_n:_n.toString()}));return Be.title=Tn,Be})}initConditionalOperators(Ye,ye){const Re=Ye,{if:gt,else:We={},then:Qt={}}=Re,rt=B(Re,["if","else","then"]),sn=[{allOf:[rt,Qt,gt],title:gt&>["x-displayName"]||(gt==null?void 0:gt.title)||"case 1"},{allOf:[rt,We],title:We&&We["x-displayName"]||(We==null?void 0:We.title)||"case 2"}];this.oneOf=sn.map((an,In)=>new W(ye,he({},an),this.pointer+"/oneOf/"+In,this.options,!1,this.refsStack,Q(he({},this.deps),{parentFieldFullPath:this.deps.parentFieldFullPath?this.deps.parentFieldFullPath+this.options.deepLinkSeparator+In:In.toString()}))),this.oneOfType="One of"}};let V=W;J([t.LO],V.prototype,"activeOneOf",2),J([t.aD],V.prototype,"activateOneOf",1);function ae(Ye,ye,Re){return Ye||(console.warn(`Field "${ye}" is invalid, skipping.
|
|
2615
|
+
Field must be an object but got ${typeof Ye} at "${Re}"`),{})}function pe(Ye,ye,Re,gt,We,Qt){const rt=ye.properties||ye.prefixItems||ye.items||{},sn=ye.patternProperties||{},an=ye.additionalProperties||ye.unevaluatedProperties,In=ye.prefixItems?ye.items:ye.additionalItems,Ht=ye.default||{};let Tn=Object.keys(rt).map(_n=>{var Be;const lt=ae(rt[_n],_n,Re),jt=ye.required===void 0?!1:ye.required.indexOf(_n)>-1;return new xt(Ye,{name:ye.properties?_n:`[${_n}]`,required:jt,schema:Q(he({},lt),{example:((Be=ye.example)==null?void 0:Be[_n])||lt.example,default:lt.default===void 0&&Ht?Ht[_n]:lt.default})},Re+"/properties/"+_n,gt,We,Qt)});return gt.sortPropsAlphabetically&&(Tn=(0,l.L1)(Tn,"name")),gt.requiredPropsFirst&&(Tn=(0,l.T4)(Tn,gt.sortPropsAlphabetically?void 0:ye.required)),Tn.push(...Object.keys(sn).map(_n=>{const Be=ae(sn[_n],_n,Re);return new xt(Ye,{name:_n,required:!1,schema:Be,kind:"patternProperties"},`${Re}/patternProperties/${_n}`,gt,We,Qt)})),((0,l.Kn)(an)||an===!0)&&Tn.push(new xt(Ye,{name:((0,l.Kn)(an)&&an["x-additionalPropertiesName"]||"property name").concat("*"),required:!1,schema:an===!0?{}:an,kind:"additionalProperties"},Re+"/additionalProperties",gt,We,Qt)),Tn.push(...Se({parser:Ye,schema:In,fieldsCount:Tn.length,$ref:Re,options:gt,refsStack:We,deps:Qt})),Tn}function Se({parser:Ye,schema:ye=!1,fieldsCount:Re,$ref:gt,options:We,refsStack:Qt,deps:rt}){return typeof ye=="boolean"?ye?[new xt(Ye,{name:`[${Re}...]`,schema:{},kind:"additionalItems"},`${gt}/additionalItems`,We,Qt,rt)]:[]:Array.isArray(ye)?[...ye.map((sn,an)=>new xt(Ye,{name:`[${Re+an}]`,schema:sn,kind:"additionalItems"},`${gt}/additionalItems/${an}`,We,Qt,rt))]:(0,l.Kn)(ye)?[new xt(Ye,{name:`[${Re}...]`,schema:ye,kind:"additionalItems"},`${gt}/additionalItems`,We,Qt,rt)]:[]}function De(Ye){return Ye.discriminator||Ye["x-discriminator"]}function nt(Ye){const ye=new Set;function Re(gt){for(const We of gt.oneOf||[]){if(We.oneOf){Re(We);continue}We.type&&ye.add(We.type)}}return Re(Ye),Array.from(ye.values())}var Me=e(8575),_e=Object.defineProperty,j=(Ye,ye,Re)=>ye in Ye?_e(Ye,ye,{enumerable:!0,configurable:!0,writable:!0,value:Re}):Ye[ye]=Re,ue=(Ye,ye,Re)=>(j(Ye,typeof ye!="symbol"?ye+"":ye,Re),Re);const Ce={};class et{constructor(ye,Re,gt,We){this.mime=gt,this.encoding=We,ue(this,"value"),ue(this,"rawValue"),ue(this,"summary"),ue(this,"description"),ue(this,"externalValueUrl");const{resolved:Qt}=ye.deref(Re);this.rawValue=Qt.value,this.value=Qt.value,this.summary=Qt.summary,this.description=Qt.description,Qt.externalValue&&(this.externalValueUrl=(0,Me.resolve)(ye.definitionUrl||"",Qt.externalValue))}getExternalValue(ye){return this.externalValueUrl?this.externalValueUrl in Ce?Ce[this.externalValueUrl]:(Ce[this.externalValueUrl]=fetch(this.externalValueUrl).then(Re=>Re.text().then(gt=>{if(!Re.ok)return Promise.reject(new Error(gt));if((0,l.Yi)(ye))try{return JSON.parse(gt)}catch(We){return gt}else return gt})),Ce[this.externalValueUrl]):Promise.resolve(void 0)}}var Pe=Object.defineProperty,X=Object.defineProperties,_=Object.getOwnPropertyDescriptor,$=Object.getOwnPropertyDescriptors,H=Object.getOwnPropertySymbols,I=Object.prototype.hasOwnProperty,ve=Object.prototype.propertyIsEnumerable,$e=(Ye,ye,Re)=>ye in Ye?Pe(Ye,ye,{enumerable:!0,configurable:!0,writable:!0,value:Re}):Ye[ye]=Re,be=(Ye,ye)=>{for(var Re in ye||(ye={}))I.call(ye,Re)&&$e(Ye,Re,ye[Re]);if(H)for(var Re of H(ye))ve.call(ye,Re)&&$e(Ye,Re,ye[Re]);return Ye},Te=(Ye,ye)=>X(Ye,$(ye)),Le=(Ye,ye,Re,gt)=>{for(var We=gt>1?void 0:gt?_(ye,Re):ye,Qt=Ye.length-1,rt;Qt>=0;Qt--)(rt=Ye[Qt])&&(We=(gt?rt(ye,Re,We):rt(We))||We);return gt&&We&&Pe(ye,Re,We),We},ke=(Ye,ye,Re)=>($e(Ye,typeof ye!="symbol"?ye+"":ye,Re),Re);const at={path:{style:"simple",explode:!1},query:{style:"form",explode:!0},header:{style:"simple",explode:!1},cookie:{style:"form",explode:!0}};class xt{constructor(ye,Re,gt,We,Qt,rt={}){this.deps=rt,ke(this,"expanded"),ke(this,"schema"),ke(this,"name"),ke(this,"required"),ke(this,"description"),ke(this,"example"),ke(this,"examples"),ke(this,"deprecated"),ke(this,"in"),ke(this,"kind"),ke(this,"extensions"),ke(this,"explode"),ke(this,"style"),ke(this,"const"),ke(this,"serializationMime"),ke(this,"fieldFullPath");var sn,an,In,Ht,Tn,_n,Be;(0,t.rC)(this);const{resolved:lt}=ye.deref(Re);this.kind=Re.kind||"field",this.name=Re.name||lt.name,this.in=lt.in,this.required=!!lt.required;let jt=lt.schema,on="";if(!jt&<.in&<.content){on=Object.keys(lt.content)[0];const Dn=lt.content[on];jt=Dn&&(Dn==null?void 0:Dn.example)?Te(be({},ye.deref(Dn.schema,Qt,!0).resolved),{example:lt.example||Dn.example}):Dn.schema}this.fieldFullPath=this.deps.parentFieldFullPath?this.deps.parentFieldFullPath+We.deepLinkSeparator+this.name:this.name,this.schema=new V(ye,jt||{},gt,We,!1,Qt,Te(be({},rt),{parentFieldFullPath:this.fieldFullPath,in:this.in})),this.description=lt.description===void 0?this.schema.description||"":lt.description,this.example=lt.example||this.schema.example;const cr=lt.examples||((an=(sn=lt.content)==null?void 0:sn[on])==null?void 0:an.examples);cr&&(this.examples=(0,l.Q8)(cr,(Dn,Cr)=>new et(ye,Dn,Cr,lt.encoding))),on?this.serializationMime=on:lt.style?this.style=lt.style:this.in&&(this.style=(Ht=(In=at[this.in])==null?void 0:In.style)!=null?Ht:"form"),lt.explode===void 0&&this.in?this.explode=(_n=(Tn=at[this.in])==null?void 0:Tn.explode)!=null?_n:!0:this.explode=!!lt.explode,this.deprecated=lt.deprecated===void 0?this.schema.deprecated:lt.deprecated,We.showExtensions&&(this.extensions=(0,l.TQ)(lt,We.showExtensions)),this.const=((Be=this.schema)==null?void 0:Be.const)||(lt==null?void 0:lt.const)||""}toggle(){this.expanded=!this.expanded}collapse(){this.expanded=!1}expand(){this.expanded=!0}}Le([t.LO],xt.prototype,"expanded",2),Le([t.aD],xt.prototype,"toggle",1),Le([t.aD],xt.prototype,"collapse",1),Le([t.aD],xt.prototype,"expand",1);var qe=e(89124),q=Object.defineProperty,ne=(Ye,ye,Re)=>ye in Ye?q(Ye,ye,{enumerable:!0,configurable:!0,writable:!0,value:Re}):Ye[ye]=Re,ie=(Ye,ye,Re)=>(ne(Ye,typeof ye!="symbol"?ye+"":ye,Re),Re);class K{constructor(ye,Re,gt,We,Qt,{operation:rt,type:sn,response:an}={}){this.options=Qt,ie(this,"examples"),ie(this,"schema"),ie(this,"name"),ie(this,"isRequestType"),ie(this,"onlyRequiredInSamples"),ie(this,"operation"),this.name=Re,this.operation=rt,this.isRequestType=gt,this.schema=We.schema&&new V(ye,We.schema,"",Qt,void 0,void 0,{operation:rt,type:sn,response:an}),this.onlyRequiredInSamples=Qt.onlyRequiredInSamples,We.examples!==void 0?this.examples=(0,l.Q8)(We.examples,In=>new et(ye,In,Re,We.encoding)):We.example!==void 0?this.examples={default:new et(ye,{value:ye.deref(We.example).resolved},Re,We.encoding)}:((0,l.Yi)(Re)||(0,l.og)(Re))&&this.generateExample(ye,We)}generateExample(ye,Re){const gt={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 We of this.schema.oneOf){const Qt=qe.UP(We.rawSchema,gt,ye.definition);this.schema.discriminatorProp&&typeof Qt=="object"&&Qt&&(Qt[this.schema.discriminatorProp]=We.title),this.examples[We.title]=new et(ye,{value:Qt},this.name,Re.encoding)}}else this.schema&&(this.examples={default:new et(ye,{value:qe.UP(Re.schema,gt,ye.definition)},this.name,Re.encoding)})}}var we=Object.defineProperty,He=Object.getOwnPropertyDescriptor,Je=(Ye,ye,Re)=>ye in Ye?we(Ye,ye,{enumerable:!0,configurable:!0,writable:!0,value:Re}):Ye[ye]=Re,ft=(Ye,ye,Re,gt)=>{for(var We=gt>1?void 0:gt?He(ye,Re):ye,Qt=Ye.length-1,rt;Qt>=0;Qt--)(rt=Ye[Qt])&&(We=(gt?rt(ye,Re,We):rt(We))||We);return gt&&We&&we(ye,Re,We),We},At=(Ye,ye,Re)=>(Je(Ye,typeof ye!="symbol"?ye+"":ye,Re),Re);class Lt{constructor(ye,Re,gt,We,{operation:Qt,type:rt,response:sn}={}){this.isRequestType=gt,At(this,"mediaTypes"),At(this,"operation"),this.operation=Qt,We.unstable_ignoreMimeParameters&&(Re=(0,l.gr)(Re)),this.mediaTypes=Object.keys(Re).map(an=>{const In=Re[an];return new K(ye,an,gt,In,We,{operation:Qt,type:rt,response:sn})})}activate(ye){var Re;(Re=this.operation)==null||Re.activateMimeName(ye)}activateExampleName(ye){var Re,gt,We,Qt,rt;if((Re=this.operation)==null||Re.activateExampleName(ye),ye&&this.active.examples&&((gt=this.active.schema)==null?void 0:gt.oneOf)&&Object.keys(this.active.examples).includes(ye)){const sn=(Qt=(We=this.active.schema)==null?void 0:We.oneOf)==null?void 0:Qt.findIndex(an=>an.title===ye);sn!==-1&&((rt=this.active.schema)==null||rt.activateOneOf(sn))}}get active(){return this.mediaTypes.find(ye=>{var Re;return ye.name===((Re=this.operation)==null?void 0:Re.activeMimeName)})||this.mediaTypes[0]}get hasSample(){return this.mediaTypes.filter(ye=>!!ye.examples).length>0}}ft([t.aD],Lt.prototype,"activate",1),ft([t.aD],Lt.prototype,"activateExampleName",1),ft([t.Fl],Lt.prototype,"active",1);var Yt=Object.defineProperty,Vt=(Ye,ye,Re)=>ye in Ye?Yt(Ye,ye,{enumerable:!0,configurable:!0,writable:!0,value:Re}):Ye[ye]=Re,ze=(Ye,ye,Re)=>(Vt(Ye,typeof ye!="symbol"?ye+"":ye,Re),Re);class dt{constructor(ye){ze(this,"description"),ze(this,"required"),ze(this,"content");const{parser:Re,infoOrRef:gt,options:We,isEvent:Qt,operation:rt}=ye,sn=!Qt,{resolved:an}=Re.deref(gt);this.description=an.description||"",this.required=an.required;const In=(0,l.qW)(an);In!==void 0&&(this.content=new Lt(Re,In,sn,We,{operation:rt,type:"request"}))}}var bt=Object.defineProperty,pt=Object.defineProperties,Ct=Object.getOwnPropertyDescriptor,$t=Object.getOwnPropertyDescriptors,fn=Object.getOwnPropertySymbols,cn=Object.prototype.hasOwnProperty,Rn=Object.prototype.propertyIsEnumerable,Ke=(Ye,ye,Re)=>ye in Ye?bt(Ye,ye,{enumerable:!0,configurable:!0,writable:!0,value:Re}):Ye[ye]=Re,Ue=(Ye,ye)=>{for(var Re in ye||(ye={}))cn.call(ye,Re)&&Ke(Ye,Re,ye[Re]);if(fn)for(var Re of fn(ye))Rn.call(ye,Re)&&Ke(Ye,Re,ye[Re]);return Ye},it=(Ye,ye)=>pt(Ye,$t(ye)),Et=(Ye,ye,Re,gt)=>{for(var We=gt>1?void 0:gt?Ct(ye,Re):ye,Qt=Ye.length-1,rt;Qt>=0;Qt--)(rt=Ye[Qt])&&(We=(gt?rt(ye,Re,We):rt(We))||We);return gt&&We&&bt(ye,Re,We),We},Ot=(Ye,ye,Re)=>(Ke(Ye,typeof ye!="symbol"?ye+"":ye,Re),Re);class dn{constructor(ye){Ot(this,"expanded",!1),Ot(this,"content"),Ot(this,"code"),Ot(this,"summary"),Ot(this,"description"),Ot(this,"type"),Ot(this,"headers",[]);const{parser:Re,code:gt,defaultAsError:We,infoOrRef:Qt,options:rt,isEvent:sn,operation:an}=ye,In=!!sn;(0,t.rC)(this),this.expanded=rt.expandResponses==="all"||rt.expandResponses[gt];const{resolved:Ht}=Re.deref(Qt);this.code=gt;const Tn=(0,l.qW)(Ht);Tn!==void 0&&(this.content=new Lt(Re,Tn,In,rt,{operation:an,type:"response",response:this})),Ht["x-summary"]!==void 0?(this.summary=Ht["x-summary"],this.description=Ht.description||""):(this.summary=Ht.description||"",this.description=""),this.type=(0,l.YS)(gt,We);const _n=Ht.headers;_n!==void 0&&(this.headers=Object.keys(_n).map(Be=>{const lt=_n[Be];return new xt(Re,it(Ue({},lt),{name:Be}),"",rt,void 0,{operation:an,type:"response",response:this})}))}toggle(){this.expanded=!this.expanded}expand(){this.expanded=!0}}Et([t.LO],dn.prototype,"expanded",2),Et([t.aD],dn.prototype,"toggle",1),Et([t.aD],dn.prototype,"expand",1);var Ln=e(64776),$n=Object.defineProperty,An=Object.defineProperties,Gn=Object.getOwnPropertyDescriptors,Pn=Object.getOwnPropertySymbols,Ze=Object.prototype.hasOwnProperty,ut=Object.prototype.propertyIsEnumerable,Pt=(Ye,ye,Re)=>ye in Ye?$n(Ye,ye,{enumerable:!0,configurable:!0,writable:!0,value:Re}):Ye[ye]=Re,Mt=(Ye,ye)=>{for(var Re in ye||(ye={}))Ze.call(ye,Re)&&Pt(Ye,Re,ye[Re]);if(Pn)for(var Re of Pn(ye))ut.call(ye,Re)&&Pt(Ye,Re,ye[Re]);return Ye},zt=(Ye,ye)=>An(Ye,Gn(ye)),Zt=(Ye,ye,Re)=>(Pt(Ye,typeof ye!="symbol"?ye+"":ye,Re),Re);class Qe{constructor(ye,Re){Zt(this,"schemes");const gt=Re.definition.components&&Re.definition.components.securitySchemes||{};if((0,Ln.Qr)(ye)){const We={id:"None",scheme:"none",sectionId:"None",type:"none",scopes:[],flows:{}};this.schemes=[We]}else this.schemes=Object.keys(ye).map(We=>{const Qt=Re.deref(gt[We]).resolved,rt=ye[We]||[];if(!Qt){console.warn(`Non existing security scheme referenced: ${We}. Skipping`);return}return zt(Mt({},Qt),{id:We,sectionId:We,scopes:rt})}).filter(We=>We!==void 0)}}var ot=Object.defineProperty,Xe=Object.defineProperties,st=Object.getOwnPropertyDescriptor,wt=Object.getOwnPropertyDescriptors,tn=Object.getOwnPropertySymbols,qt=Object.prototype.hasOwnProperty,bn=Object.prototype.propertyIsEnumerable,Fn=(Ye,ye,Re)=>ye in Ye?ot(Ye,ye,{enumerable:!0,configurable:!0,writable:!0,value:Re}):Ye[ye]=Re,Nn=(Ye,ye)=>{for(var Re in ye||(ye={}))qt.call(ye,Re)&&Fn(Ye,Re,ye[Re]);if(tn)for(var Re of tn(ye))bn.call(ye,Re)&&Fn(Ye,Re,ye[Re]);return Ye},rr=(Ye,ye)=>Xe(Ye,wt(ye)),jn=(Ye,ye,Re,gt)=>{for(var We=gt>1?void 0:gt?st(ye,Re):ye,Qt=Ye.length-1,rt;Qt>=0;Qt--)(rt=Ye[Qt])&&(We=(gt?rt(ye,Re,We):rt(We))||We);return gt&&We&&ot(ye,Re,We),We},En=(Ye,ye,Re)=>(Fn(Ye,typeof ye!="symbol"?ye+"":ye,Re),Re);function Xn(Ye){return Ye.lang==="payload"&&"requestBodyContent"in Ye}let kn=!1;class On{constructor(ye,Re,gt,We,Qt=!1){this.parser=ye,this.operationDefinition=Re,this.options=We,En(this,"id"),En(this,"absoluteIdx"),En(this,"name"),En(this,"description"),En(this,"href"),En(this,"type","operation"),En(this,"parent"),En(this,"externalDocs"),En(this,"items",[]),En(this,"depth"),En(this,"ready",!0),En(this,"active",!1),En(this,"expanded",!1),En(this,"activeMimeName"),En(this,"activeExampleName"),En(this,"activeServer"),En(this,"requestValues"),En(this,"defaultExampleName"),En(this,"defaultMimeType"),En(this,"pointer"),En(this,"operationId"),En(this,"httpVerb"),En(this,"deprecated"),En(this,"path"),En(this,"servers"),En(this,"security"),En(this,"extensions"),En(this,"isCallback"),En(this,"isWebhook"),En(this,"isEvent");var rt,sn;(0,t.rC)(this),this.pointer=Re.pointer,this.description=Re.description,this.parent=gt,this.externalDocs=Re.externalDocs,this.deprecated=!!Re.deprecated,this.httpVerb=Re.httpVerb,this.deprecated=!!Re.deprecated,this.operationId=Re.operationId,this.path=Re.pathName,this.isCallback=Qt,this.isWebhook=Re.isWebhook,this.isEvent=this.isCallback||this.isWebhook,this.name=(0,l.ED)(Re),this.defaultExampleName=Re.defaultSampleName;const an=(sn=(rt=this.requestBody)==null?void 0:rt.content)==null?void 0:sn.mediaTypes,[In]=an||[],[Ht]=Object.keys((In==null?void 0:In.examples)||[]);this.activeExampleName=Re.defaultSampleName===!1?!1:Re.defaultSampleName||Ht,this.defaultMimeType=Re.defaultMimeType;const Tn=an==null?void 0:an.find(_n=>_n.name===Re.defaultMimeType);if(this.activeMimeName=(Tn==null?void 0:Tn.name)||(In==null?void 0:In.name),this.isCallback)this.security=(Re.security||[]).map(_n=>new Qe(_n,ye)),this.servers=(0,l.Dm)("",Re.servers||Re.pathServers||[]);else{this.id=(0,l.XO)(Re.operationId!==void 0?"operation/"+Re.operationId:gt!==void 0?gt.id+this.pointer:this.pointer),this.security=(Re.security||ye.definition.security||[]).map(Be=>new Qe(Be,ye));const _n=this.mergeInMockServer(Re.servers||Re.pathServers||ye.definition.servers||[],We.mockServer);this.servers=(0,l.Dm)(ye.definitionUrl,_n)}We.showExtensions&&(this.extensions=(0,l.TQ)(Re,We.showExtensions)),this.activeServer=(0,p.wM)(this.servers)}activate(){this.active=!0}deactivate(){this.active=!1}toggle(){this.expanded=!this.expanded}activateMimeName(ye){this.activeMimeName=ye}activateExampleName(ye){this.activeExampleName=ye}expand(){this.parent&&this.parent.expand()}collapse(){}get requestBody(){return this.operationDefinition.requestBody&&new dt({parser:this.parser,infoOrRef:this.operationDefinition.requestBody,options:this.options,operation:this,isEvent:this.isEvent})}get payload(){var ye;const Re=(ye=this.requestBody)==null?void 0:ye.content;return(Re==null?void 0:Re.hasSample)?{lang:"payload",label:"Payload",source:"",requestBodyContent:Re}:void 0}get hasSamples(){var ye,Re;return((Re=(ye=this.requestBody)==null?void 0:ye.content)==null?void 0:Re.hasSample)||this.definitionSamples.length>0}get definitionSamples(){var ye,Re,gt,We;const Qt=this.operationDefinition["x-codeSamples"]||this.operationDefinition["x-code-samples"];if(this.operationDefinition["x-code-samples"]&&!kn&&(kn=!0,console.warn('"x-code-samples" is deprecated. Use "x-codeSamples" instead')),!Qt&&this.operationDefinition.requestBody){const rt=this.parser.deref(this.operationDefinition.requestBody).resolved,sn=Object.keys((rt==null?void 0:rt.content)||{})[0],an=((ye=rt["x-examples"])==null?void 0:ye[sn])||((gt=(Re=rt==null?void 0:rt.content)==null?void 0:Re[sn])==null?void 0:gt.examples)||{},In=Object.keys(an)[0];if((We=an[In])==null?void 0:We["x-codeSamples"])return an[In]["x-codeSamples"].map((Ht,Tn)=>rr(Nn({},Ht),{source:void 0,get:({exampleName:_n})=>{var Be,lt,jt;return(jt=(Be=an[_n])==null?void 0:Be["x-codeSamples"][Tn].source)!=null?jt:(lt=an[In])==null?void 0:lt["x-codeSamples"][Tn].source}}))}return Qt||[]}get allCodeSamples(){var ye;const{payloadSampleIdx:Re,hideRequestPayloadSample:gt}=this.options;let We=[];if(!this.isWebhook){const sn=this.options.generateCodeSamples||{},an=new Set(this.definitionSamples.map(({lang:Ht})=>Ht.toLowerCase())),In=((ye=sn.languages)==null?void 0:ye.filter(({lang:Ht})=>!an.has(Ht.toLowerCase())))||[];We=this.generateCodeSamples(In,sn)}const Qt=this.definitionSamples.concat(We),rt=Math.min(Qt.length,Re);return this.payload&&!gt&&Qt.splice(rt,0,this.payload),Qt}get parameters(){const ye=(0,l.Zd)(this.parser,this.operationDefinition.pathParameters,this.operationDefinition.parameters).map(Re=>new xt(this.parser,Re,this.pointer,this.options,void 0,{operation:this,type:"request"}));return this.options.sortPropsAlphabetically?(0,l.L1)(ye,"name"):this.options.requiredPropsFirst?(0,l.T4)(ye):ye}get responses(){let ye=!1;return Object.keys(this.operationDefinition.responses||[]).filter(Re=>Re==="default"?!0:((0,l.YS)(Re)==="success"&&(ye=!0),(0,l.CX)(Re))).map(Re=>new dn({parser:this.parser,code:Re,defaultAsError:ye,infoOrRef:this.operationDefinition.responses[Re],options:this.options,isEvent:this.isEvent,operation:this}))}get callbacks(){return Object.keys(this.operationDefinition.callbacks||[]).map(ye=>{var Re;return new R(this.parser,ye,(Re=this.operationDefinition.callbacks)==null?void 0:Re[ye],this.pointer,this.options)})}get hideTryItPanel(){return this.operationDefinition["x-hideTryItPanel"]===!0}setActiveServer(ye){this.activeServer=ye}setRequestValues(ye){this.requestValues=ye}mergeInMockServer(ye,Re){if(!Re)return ye;const gt={url:Re.url,description:Re.description};switch(Re.position){case"first":return[gt,...ye];case"last":return[...ye,gt];case"replace":return[gt];default:return ye}}generateCodeSamples(ye,{skipOptionalParameters:Re,withOAuth2Call:gt}){return ye.map(({lang:We,label:Qt,options:rt})=>({lang:We,label:Qt,get:sn=>(0,h.aP)(rr(Nn({},sn),{lang:We,options:rr(Nn({},rt),{skipOptionalParameters:Re,withOAuth2Call:gt,spec:this.parser.definition,generatedPayloadSamplesMaxDepth:this.options.generatedPayloadSamplesMaxDepth})}))}))}}jn([t.LO],On.prototype,"ready",2),jn([t.LO],On.prototype,"active",2),jn([t.LO],On.prototype,"expanded",2),jn([t.LO],On.prototype,"activeMimeName",2),jn([t.LO],On.prototype,"activeExampleName",2),jn([t.LO.ref],On.prototype,"activeServer",2),jn([t.LO],On.prototype,"requestValues",2),jn([t.aD],On.prototype,"activate",1),jn([t.aD],On.prototype,"deactivate",1),jn([t.aD],On.prototype,"toggle",1),jn([t.aD],On.prototype,"activateMimeName",1),jn([t.aD],On.prototype,"activateExampleName",1),jn([l.HP],On.prototype,"requestBody",1),jn([l.HP],On.prototype,"payload",1),jn([l.HP],On.prototype,"hasSamples",1),jn([l.HP],On.prototype,"definitionSamples",1),jn([l.HP],On.prototype,"allCodeSamples",1),jn([l.HP],On.prototype,"parameters",1),jn([l.HP],On.prototype,"responses",1),jn([l.HP],On.prototype,"callbacks",1),jn([l.HP],On.prototype,"hideTryItPanel",1),jn([t.aD],On.prototype,"setActiveServer",1),jn([t.aD],On.prototype,"setRequestValues",1);var Yn=e(49376),Hn=Object.defineProperty,xn=(Ye,ye,Re)=>ye in Ye?Hn(Ye,ye,{enumerable:!0,configurable:!0,writable:!0,value:Re}):Ye[ye]=Re,hr=(Ye,ye,Re)=>(xn(Ye,typeof ye!="symbol"?ye+"":ye,Re),Re);class sr{constructor(ye){this.parser=ye,hr(this,"title"),hr(this,"version"),hr(this,"description"),hr(this,"summary"),hr(this,"termsOfService"),hr(this,"contact"),hr(this,"license"),hr(this,"downloadFileName"),Object.assign(this,ye.definition.info),this.description=ye.definition.info.description||"",this.summary=ye.definition.info.summary||"";const Re=this.description.search(/^##?\s+/m);Re>-1&&(this.description=this.description.substring(0,Re)),this.downloadFileName=this.getDownloadFileName()}get downloadLink(){if(this.parser.definitionUrl)return this.parser.definitionUrl;if(l.Qg&&window.Blob&&window.URL&&window.URL.createObjectURL){const ye=new Blob([JSON.stringify(this.parser.definition,null,2)],{type:Yn.T.JSON});return window.URL.createObjectURL(ye)}}getDownloadFileName(){if(!this.parser.definitionUrl)return"swagger.json"}}var ur=Object.defineProperty,Qn=(Ye,ye,Re)=>ye in Ye?ur(Ye,ye,{enumerable:!0,configurable:!0,writable:!0,value:Re}):Ye[ye]=Re,vr=(Ye,ye,Re)=>(Qn(Ye,typeof ye!="symbol"?ye+"":ye,Re),Re);class Dr{constructor(ye,Re,gt){vr(this,"id"),vr(this,"sectionId"),vr(this,"type"),vr(this,"description"),vr(this,"apiKey"),vr(this,"http"),vr(this,"flows"),vr(this,"openId");const{resolved:We}=ye.deref(gt);this.id=Re,this.sectionId=Re,this.type=We.type,this.description=We.description||"",We.type==="apiKey"&&(this.apiKey={name:We.name,in:We.in}),We.type==="http"&&(this.http={scheme:We.scheme,bearerFormat:We.bearerFormat}),We.type==="openIdConnect"&&(this.openId={connectUrl:We.openIdConnectUrl}),We.type==="oauth2"&&We.flows&&(this.flows=We.flows)}}class jr{constructor(ye){vr(this,"schemes");const Re=ye.definition.components&&ye.definition.components.securitySchemes||{};this.schemes=Object.keys(Re).map(gt=>new Dr(ye,gt,Re[gt]))}}var Er=e(89642),Vr=Object.defineProperty,Sr=Object.defineProperties,Tr=Object.getOwnPropertyDescriptors,qn=Object.getOwnPropertySymbols,ln=Object.prototype.hasOwnProperty,It=Object.prototype.propertyIsEnumerable,pn=(Ye,ye,Re)=>ye in Ye?Vr(Ye,ye,{enumerable:!0,configurable:!0,writable:!0,value:Re}):Ye[ye]=Re,vn=(Ye,ye)=>{for(var Re in ye||(ye={}))ln.call(ye,Re)&&pn(Ye,Re,ye[Re]);if(qn)for(var Re of qn(ye))It.call(ye,Re)&&pn(Ye,Re,ye[Re]);return Ye},er=(Ye,ye)=>Sr(Ye,Tr(ye)),ar=(Ye,ye,Re)=>(pn(Ye,typeof ye!="symbol"?ye+"":ye,Re),Re);class nr{constructor(ye,Re,gt){ar(this,"operations",[]);const{resolved:We}=ye.deref(gt||{});this.initWebhooks(ye,We,Re)}initWebhooks(ye,Re,gt){for(const We of Object.keys(Re)){const Qt=Re[We],rt=Object.keys(Qt).filter(Er.isOperationName);for(const sn of rt){const an=Qt[sn];if(Qt.$ref){const Ht=ye.deref(Qt||{});this.initWebhooks(ye,{[sn]:Ht},gt)}if(!an)continue;const In=new On(ye,er(vn({},an),{httpVerb:sn}),void 0,gt,!1);this.operations.push(In)}}}}},95939:()=>{},23485:(L,n,e)=>{"use strict";e.d(n,{iv:()=>o,vJ:()=>r,F4:()=>c,f6:()=>u,ZP:()=>a,aV:()=>d,QG:()=>l.QG,gN:()=>l.gN,QU:()=>l.QU});var t=e(29163),l=e(61191);const{default:s,css:o,createGlobalStyle:r,keyframes:c,ThemeProvider:u}=t,a=s;function d(h){return p=>{if(!!p.theme.extensionsHook)return p.theme.extensionsHook(h,p)}}},28415:(L,n,e)=>{"use strict";var t=e(79491),l=e.n(t);e.o(t,"Markdown")&&e.d(n,{Markdown:function(){return t.Markdown}});var s=e(73266),o=e.n(s);e.o(s,"Markdown")&&e.d(n,{Markdown:function(){return s.Markdown}})},79491:()=>{},73266:()=>{},71796:(L,n,e)=>{"use strict";e.d(n,{I:()=>o});var t=e(83573),l=e.n(t);const s=l().parse;class o{static baseName(u="",a=1){const d=o.parse(u);return d[d.length-a]}static dirName(u,a=1){const d=o.parse(u);return l().compile(d.slice(0,d.length-a))}static relative(u,a){const d=o.parse(u);return o.parse(a).slice(d.length)}static parse(u=""){let a=u;return a.charAt(0)==="#"&&(a=a.substring(1)),s(a)}static join(u,a){const h=o.parse(u).concat(a);return l().compile(h)}static get(u,a){return l().get(u,a)}static compile(u){return l().compile(u)}static escape(u){return l().escape(u)}}l().parse=o.parse,Object.assign(o,l());var r=null},52385:(L,n,e)=>{"use strict";e.d(n,{Qg:()=>t,R2:()=>l});const t=typeof window!="undefined"&&"HTMLElement"in window;function l(o){return typeof document!="undefined"?document.querySelector(o):null}function s(o){return o.split(/<[^>]+>/).map(r=>r.trim()).filter(r=>r.length>0).join(" ")}typeof Element!="undefined"&&!Element.prototype.scrollIntoViewIfNeeded&&(Element.prototype.scrollIntoViewIfNeeded=function(o){o=arguments.length===0?!0:!!o;const r=this.parentNode,c=window.getComputedStyle(r,void 0),u=parseInt(c.getPropertyValue("border-top-width"),10),a=parseInt(c.getPropertyValue("border-left-width"),10),d=this.offsetTop-r.offsetTop<r.scrollTop,h=this.offsetTop-r.offsetTop+this.clientHeight-u>r.scrollTop+r.clientHeight,p=this.offsetLeft-r.offsetLeft<r.scrollLeft,E=this.offsetLeft-r.offsetLeft+this.clientWidth-a>r.scrollLeft+r.clientWidth,T=d&&!h;(d||h)&&o&&(r.scrollTop=this.offsetTop-r.offsetTop-r.clientHeight/2-u+this.clientHeight/2),(p||E)&&o&&(r.scrollLeft=this.offsetLeft-r.offsetLeft-r.clientWidth/2-a+this.clientWidth/2),(d||h||p||E)&&!o&&this.scrollIntoView(T)})},10519:(L,n,e)=>{"use strict";e.d(n,{jW:()=>b,Q8:()=>m,PD:()=>y,kE:()=>C,PM:()=>w,Kn:()=>x,Pj:()=>R,zD:()=>g,Gk:()=>k,bO:()=>G,Kk:()=>oe,bv:()=>ee,MI:()=>Ee,jZ:()=>Fe,yY:()=>te,Lf:()=>he,XO:()=>Q,Bu:()=>J,$Y:()=>re});var t=e(31304),l=e.n(t),s=e(8575),o=e(61191),r=e(70606),c=e(71796),u=Object.defineProperty,a=Object.defineProperties,d=Object.getOwnPropertyDescriptors,h=Object.getOwnPropertySymbols,p=Object.prototype.hasOwnProperty,E=Object.prototype.propertyIsEnumerable,T=(W,V,ae)=>V in W?u(W,V,{enumerable:!0,configurable:!0,writable:!0,value:ae}):W[V]=ae,S=(W,V)=>{for(var ae in V||(V={}))p.call(V,ae)&&T(W,ae,V[ae]);if(h)for(var ae of h(V))E.call(V,ae)&&T(W,ae,V[ae]);return W},v=(W,V)=>a(W,d(V));function b(W,V){const ae=[];for(let pe=0;pe<W.length-1;pe++)ae.push(V(W[pe],!1));return W.length!==0&&ae.push(V(W[W.length-1],!0)),ae}function m(W,V){const ae={};for(const pe in W)Object.prototype.hasOwnProperty.call(W,pe)&&(ae[pe]=V(W[pe],pe,W));return ae}function y(W,V){const ae=[],pe=Se=>{for(const De of Se)ae.push(De),De[V]&&pe(De[V])};return pe(W),ae}function O(W){return W.endsWith("/")?W.substring(0,W.length-1):W}function C(W){return!isNaN(parseFloat(W))&&isFinite(W)}function A(W,V,ae){const pe=new RegExp(`(^|\\n)#\\s?${V}\\s*\\n`,"i"),Se=new RegExp(`((\\n|^)#\\s*${V}\\s*(\\n|$)(?:.|\\n)*?)(\\n#|$)`,"i");if(pe.test(W))return W.replace(Se,`$1
|
|
2616
2616
|
|
|
2617
2617
|
${ae}
|
|
2618
2618
|
$4`);{const De=W===""||W.endsWith(`
|
|
@@ -2623,46 +2623,46 @@ $4`);{const De=W===""||W.endsWith(`
|
|
|
2623
2623
|
|
|
2624
2624
|
`;return`${W}${De}# ${V}
|
|
2625
2625
|
|
|
2626
|
-
${ae}`}}const w=(W,...V)=>{if(!V.length)return W;const ae=V.shift();return ae===void 0?W:(k(W)&&k(ae)&&Object.keys(ae).forEach(pe=>{k(ae[pe])?(W[pe]||(W[pe]={}),["string","number"].includes(typeof W[pe])&&(!ae[pe][o.QU]&&ae[pe][o.QU]!==0&&console.warn(`Theme resolver: using default value of "${W[pe]}" for "${pe}". This is not recommended. Prefer adding default value by providing "${o.QU}" property to ${JSON.stringify(ae[pe])}.`),W[pe]={[o.QU]:W[pe]}),w(W[pe],ae[pe])):W[pe]=ae[pe]}),w(W,...V))},x=W=>W!==null&&typeof W=="object",R=W=>Array.isArray(W)&&W.some(V=>x(V)),g=W=>W.filter(V=>!!V),k=W=>x(W)&&!Array.isArray(W);function G(W){return l()(W)||W.toString().toLowerCase().replace(/\s+/g,"-").replace(/&/g,"-and-").replace(/--+/g,"-").replace(/^-+/,"").replace(/-+$/,"")}function Z(W){return/(?:^[a-z][a-z0-9+.-]*:|\/\/)/i.test(W)}function oe(W,V){let ae;if(V.startsWith("//")){const{protocol:pe}=(0,s.parse)(W);ae=`${pe||"https:"}${V}`}else if(Z(V))ae=V;else if(!V.startsWith("/"))ae=O(W)+"/"+V;else{const pe=(0,s.parse)(W);ae=(0,s.format)(v(S({},pe),{pathname:V}))}return O(ae)}function ee(W){try{return ce(W).pathname}catch(V){return W}}function Ee(W){return W.charAt(0).toUpperCase()+W.slice(1)}function Fe(W){try{const V=ce(W);return V.search="",V.hash="",V.toString()}catch(V){return W}}function ce(W){return typeof URL=="undefined"?new(e(8575)).URL(W):new URL(W)}function te(W){return W.replace(/["\\]/g,"\\$&")}function he(W){return W.replace(/&#(\d+);/g,(V,ae)=>String.fromCharCode(parseInt(ae,10))).replace(/&/g,"&").replace(/"/g,'"')}function Q(W){return W&&W.replace(/#/g,"_")}function B(W,V){return V||isNamedDefinition(W)&&JsonPointer.baseName(W)||""}function J(W,V){return V===W.length-1}function re(W,V){const ae=Object.keys(W);return ae.indexOf(V)===ae.length-1}},13066:(L,n,e)=>{"use strict";e.d(n,{Qg:()=>Ee.Qg,IB:()=>t.I,Ml:()=>l.Ml,B5:()=>l.B5,c7:()=>l.c7,Xo:()=>B,Bi:()=>Ce,m9:()=>et,Z3:()=>_,At:()=>X,RC:()=>Pe,I2:()=>te,zD:()=>s.zD,Vg:()=>l.Vg,yY:()=>s.yY,nq:()=>l.nq,TQ:()=>l.TQ,PD:()=>s.PD,bv:()=>s.bv,qW:()=>l.qW,ft:()=>l.ft,ED:()=>l.ED,YS:()=>l.YS,CH:()=>G,V_:()=>l.V_,Pj:()=>s.Pj,og:()=>l.og,Yi:()=>l.Yi,Bu:()=>s.Bu,$Y:()=>s.$Y,lE:()=>l.lE,kE:()=>s.kE,Kn:()=>s.Kn,eU:()=>l.eU,ty:()=>l.ty,CX:()=>l.CX,M:()=>l.M,q2:()=>ce,Q8:()=>s.Q8,jW:()=>s.jW,HP:()=>_e,PM:()=>s.PM,Zd:()=>l.Zd,gr:()=>l.gr,Dm:()=>l.Dm,NL:()=>l.NL,R2:()=>Ee.R2,bO:()=>s.bO,XO:()=>s.XO,d$:()=>l.d$,L1:()=>l.L1,T4:()=>l.T4,MI:()=>s.MI,Lf:()=>s.Lf,TE:()=>l.TE});var t=e(71796),l=e(70606),s=e(10519),o=e(15660),r=e(57874),c=e(4279),u=e(35433),a=e(46213),d=e(2731),h=e(79016),p=e(27046),E=e(50057),T=e(52503),S=e(66841),v=e(96854),b=e(24335),m=e(11426),y=e(20288),O=e(99945),C=e(80366),A=e(59385),w=e(12886),x=e(35266),R=e(90874);const g="clike";o.languages.insertBefore("javascript","string",{"property string":{pattern:/([{,]\s*)"(?:\\.|[^\\"\r\n])*"(?=\s*:)/i,lookbehind:!0}},void 0),o.languages.insertBefore("javascript","punctuation",{property:{pattern:/([{,]\s*)[a-z]\w*(?=\s*:)/i,lookbehind:!0}},void 0);function k($){return{json:"js","c++":"cpp","c#":"csharp","objective-c":"objectivec",shell:"bash",viml:"vim",curl:"bash","node.js":"js"}[$]||g}function G($,H=g){H=H.toLowerCase();let I=o.languages[H];return I||(I=o.languages[k(H)]),o.highlight($.toString(),I,H)}var Z=e(43675),oe=e(63777),ee=e(18925),Ee=e(52385),Fe=($,H,I)=>new Promise((ve,$e)=>{var be=ke=>{try{Le(I.next(ke))}catch(at){$e(at)}},Te=ke=>{try{Le(I.throw(ke))}catch(at){$e(at)}},Le=ke=>ke.done?ve(ke.value):Promise.resolve(ke.value).then(be,Te);Le((I=I.apply($,H)).next())});function ce($){return Fe(this,null,function*(){const H=new oe.Config({}),I={config:H,base:Ee.Qg?window.location.href:process.cwd()};Ee.Qg&&(H.resolve.http.customFetch=e.g.fetch),typeof $=="object"&&$!==null?I.doc=te($):I.ref=$;const{bundle:{parsed:ve}}=yield(0,Z.bundle)(I);return ve.swagger!==void 0?he(ve):ve})}function te($){return{source:{absoluteRef:""},parsed:$}}function he($){return console.warn("[ReDoc Compatibility mode]: Converting OpenAPI 2.0 to OpenAPI 3.0"),$.paths||($.paths={}),new Promise((H,I)=>(0,ee.convertObj)($,{patch:!0,warnOnly:!0,text:"{}",anchors:!0},(ve,$e)=>{if(ve)return I(ve);H($e==null?void 0:$e.openapi)}))}function Q($,H){let I,ve,$e,be=null,Te=0;const Le=()=>{Te=new Date().getTime(),be=null,$e=$.apply(I,ve),be||(I=ve=null)};return function(){const ke=new Date().getTime(),at=H-(ke-Te);return I=this,ve=arguments,at<=0||at>H?(be&&(clearTimeout(be),be=null),Te=ke,$e=$.apply(I,ve),be||(I=ve=null)):be||(be=setTimeout(Le,at)),$e}}function B($){return(H,I,ve)=>{ve.value=Q(ve.value,$)}}var J=Object.defineProperty,re=Object.defineProperties,W=Object.getOwnPropertyDescriptors,V=Object.getOwnPropertySymbols,ae=Object.prototype.hasOwnProperty,pe=Object.prototype.propertyIsEnumerable,Se=($,H,I)=>H in $?J($,H,{enumerable:!0,configurable:!0,writable:!0,value:I}):$[H]=I,De=($,H)=>{for(var I in H||(H={}))ae.call(H,I)&&Se($,I,H[I]);if(V)for(var I of V(H))pe.call(H,I)&&Se($,I,H[I]);return $},nt=($,H)=>re($,W(H));const Me={};function _e($,H,I){if(typeof I.value=="function")return ue($,H,I);if(typeof I.get=="function")return j($,H,I);throw new Error("@memoize decorator can be applied to methods or getters, got "+String(I.value)+" instead")}function j($,H,I){const ve=`_memoized_${H}`,$e=I.get;return $[ve]=Me,nt(De({},I),{get(){return this[ve]===Me&&(this[ve]=$e==null?void 0:$e.call(this)),this[ve]}})}function ue($,H,I){if(!I.value||I.value.length>0)throw new Error("@memoize decorator can only be applied to methods of zero arguments");const ve=`_memoized_${H}`,$e=I.value;return $[ve]=Me,nt(De({},I),{value(){return this[ve]===Me&&(this[ve]=$e.call(this)),this[ve]}})}function Ce($){let H=1;return $[0]==="-"&&(H=-1,$=$.substr(1)),function(I,ve){return H==-1?ve[$].localeCompare(I[$]):I[$].localeCompare(ve[$])}}function et($,H){return $===void 0?H||!1:typeof $=="string"?$!=="false":$}function Pe($,H=0){return typeof $=="string"?parseInt($,10):typeof $=="number"?$:H}function X($){if(typeof $=="string")return parseInt($,10);if(typeof $=="number")return Math.ceil($)}function _($,H=0){return $==="all"?1/0:X($)||H}},61191:(L,n,e)=>{"use strict";e.d(n,{QU:()=>b,gN:()=>C,QG:()=>A});var t=Object.defineProperty,l=Object.defineProperties,s=Object.getOwnPropertyDescriptors,o=Object.getOwnPropertySymbols,r=Object.prototype.hasOwnProperty,c=Object.prototype.propertyIsEnumerable,u=(w,x,R)=>x in w?t(w,x,{enumerable:!0,configurable:!0,writable:!0,value:R}):w[x]=R,a=(w,x)=>{for(var R in x||(x={}))r.call(x,R)&&u(w,R,x[R]);if(o)for(var R of o(x))c.call(x,R)&&u(w,R,x[R]);return w},d=(w,x)=>l(w,s(x));const h=(w,x,R,g,k)=>{for(x=x&&x.split?x.split("."):[x],g=0;g<x.length;g++)w=w?w[x[g]]:k;return w===k?R:w},p={bg:"backgroundColor",m:"margin",mt:"marginTop",mr:"marginRight",mb:"marginBottom",ml:"marginLeft",mx:"marginX",my:"marginY",p:"padding",pt:"paddingTop",pr:"paddingRight",pb:"paddingBottom",pl:"paddingLeft",px:"paddingX",py:"paddingY"},E={marginX:["marginLeft","marginRight"],marginY:["marginTop","marginBottom"],paddingX:["paddingLeft","paddingRight"],paddingY:["paddingTop","paddingBottom"],size:["width","height"]},T={color:"colors",backgroundColor:"colors",borderColor:"colors",margin:"space",marginTop:"space",marginRight:"space",marginBottom:"space",marginLeft:"space",marginX:"space",marginY:"space",padding:"space",paddingTop:"space",paddingRight:"space",paddingBottom:"space",paddingLeft:"space",paddingX:"space",paddingY:"space",top:"space",right:"space",bottom:"space",left:"space",gridGap:"space",gridColumnGap:"space",gridRowGap:"space",gap:"space",columnGap:"space",rowGap:"space",fontFamily:"fonts",fontSize:"fontSizes",fontWeight:"fontWeights",lineHeight:"lineHeights",letterSpacing:"letterSpacings",border:"borders",borderTop:"borders",borderRight:"borders",borderBottom:"borders",borderLeft:"borders",borderWidth:"borderWidths",borderStyle:"borderStyles",borderRadius:"radii",borderTopRightRadius:"radii",borderTopLeftRadius:"radii",borderBottomRightRadius:"radii",borderBottomLeftRadius:"radii",borderTopWidth:"borderWidths",borderTopColor:"colors",borderTopStyle:"borderStyles",borderBottomWidth:"borderWidths",borderBottomColor:"colors",borderBottomStyle:"borderStyles",borderLeftWidth:"borderWidths",borderLeftColor:"colors",borderLeftStyle:"borderStyles",borderRightWidth:"borderWidths",borderRightColor:"colors",borderRightStyle:"borderStyles",outlineColor:"colors",boxShadow:"shadows",textShadow:"shadows",zIndex:"zIndices",width:"sizes",minWidth:"sizes",maxWidth:"sizes",height:"sizes",minHeight:"sizes",maxHeight:"sizes",flexBasis:"sizes",size:"sizes",fill:"colors",stroke:"colors"},S=(w,x)=>{if(typeof x!="number"||x>=0)return h(w,x,x);const R=Math.abs(x),g=h(w,R,R);return typeof g=="string"?"-"+g:g*-1},v=["margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","top","bottom","left","right"].reduce((w,x)=>d(a({},w),{[x]:S}),{}),b="_",m=w=>x=>{const R={},g=h(x,"breakpoints"),k={};for(const[G,Z]of Object.entries(g))k[G]=`@media screen and (min-width: ${Z})`,R[k[G]]=null;for(const G in w){const Z=typeof w[G]=="function"?w[G](x):w[G];if(Z!=null){if(Array.isArray(Z)||typeof Z!="object"){R[G]=Z;continue}for(const[oe,ee]of Object.entries(Z)){const Ee=k[oe];if(!Ee){oe===b&&(R[G]=ee);continue}R[Ee]=R[Ee]||{},ee!=null&&(R[Ee][G]=ee)}}}return R};function y(w,x){if(typeof x=="object"){const R=x[w];return!R&&R!==0?null:R}return w===b?x:null}function O(w){const x=y(b,w);return x!==null?x:(console.warn(`Theme resolver: could not find default value for ${JSON.stringify(w)}. Theme properties with breakpoints should contain a non-empty "${b}" property.`),null)}function C(w,x,R){const g={};let k=O(R),G=null;const Z=x.map(O);k&&!Z.some(oe=>oe===null)&&(g[b]=k(...Z),G=g[b]);for(const oe of Object.keys(w)){k=y(oe,R)||k;for(let Fe=0;Fe<x.length;Fe++){const ce=y(oe,x[Fe])||Z[Fe];ce!==null&&(Z[Fe]=ce)}const ee=Z.findIndex(Fe=>Fe===null);if(ee!==-1){console.warn(`Theme resolver: could not resolve breakpoint: "${oe}" for value ${JSON.stringify(x[ee])}.`);continue}if(!k){console.warn("Theme resolver: could not resolve media mapper. CSS may be rendered incorrectly.");continue}const Ee=k(...Z);G!==Ee&&(g[oe]=Ee,G=Ee)}return g}const A=w=>(x={})=>{const R=x.theme||x;let g={};const k=typeof w=="function"?w(R):w,G=m(k)(R);for(const Z in G){const oe=G[Z],ee=typeof oe=="function"?oe(R):oe;if(Z==="variant"){const Q=A(h(R,ee))(R);g=a(a({},g),Q);continue}if(ee&&typeof ee=="object"&&!Array.isArray(ee)){g[Z]=A(ee)(R);continue}const Ee=h(p,Z,Z),Fe=h(T,Ee),ce=h(R,Fe,h(R,Ee,{})),he=h(v,Ee,h)(ce,ee,ee);if(E[Ee]){const Q=E[Ee];for(let B=0;B<Q.length;B++)g[Q[B]]=he}else g[Ee]=he}return g}},70606:(L,n,e)=>{"use strict";e.d(n,{CX:()=>y,YS:()=>O,eU:()=>A,ED:()=>w,Vg:()=>R,ty:()=>g,Yi:()=>k,og:()=>G,TE:()=>Fe,d$:()=>J,M:()=>re,lE:()=>V,ft:()=>ae,V_:()=>nt,T4:()=>Me,L1:()=>_e,Zd:()=>j,gr:()=>ue,nq:()=>Ce,Dm:()=>et,B5:()=>Pe,c7:()=>X,Ml:()=>_,e$:()=>$,TQ:()=>I,NL:()=>ve,qW:()=>$e});var t=e(26470),l=e.n(t),s=e(83578),o=e.n(s),r=e(49376),c=e(52385),u=e(10519),a=Object.defineProperty,d=Object.defineProperties,h=Object.getOwnPropertyDescriptors,p=Object.getOwnPropertySymbols,E=Object.prototype.hasOwnProperty,T=Object.prototype.propertyIsEnumerable,S=(be,Te,Le)=>Te in be?a(be,Te,{enumerable:!0,configurable:!0,writable:!0,value:Le}):be[Te]=Le,v=(be,Te)=>{for(var Le in Te||(Te={}))E.call(Te,Le)&&S(be,Le,Te[Le]);if(p)for(var Le of p(Te))T.call(Te,Le)&&S(be,Le,Te[Le]);return be},b=(be,Te)=>d(be,h(Te));function m(be){return typeof be=="string"&&/\dxx/i.test(be)}function y(be){return be==="default"||(0,u.kE)(be)||m(be)}function O(be,Te=!1){if(be==="default")return Te?"error":"success";let Le=typeof be=="string"?parseInt(be,10):be;if(m(be)&&(Le*=100),Le<100||Le>599)throw new Error("invalid HTTP code");let ke="success";return Le>=300&&Le<400?ke="redirect":Le>=400?ke="error":Le<200&&(ke="info"),ke}const C={get:!0,post:!0,put:!0,head:!0,patch:!0,delete:!0,options:!0,$ref:!0};function A(be){return be in C}function w(be){return be.summary||be.operationId||be.description&&be.description.substring(0,50)||be.pathName||"<no summary>"}const x={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",patternProperties:"object",properties:"object"};function R(be){if(be.type!==void 0&&!Array.isArray(be.type))return be.type;const Te=Object.keys(x);for(const Le of Te){const ke=x[Le];if(be[Le]!==void 0)return ke}return"any"}function g(be,Te=be.type){if(be["x-circular-ref"])return!0;if(be.oneOf!==void 0||be.anyOf!==void 0||be.if&&be.then||be.if&&be.else)return!1;let Le=!0;const ke=Array.isArray(Te);return(Te==="object"||ke&&(Te==null?void 0:Te.includes("object")))&&(Le=be.properties!==void 0?Object.keys(be.properties).length===0:be.additionalProperties===void 0&&be.unevaluatedProperties===void 0&&be.patternProperties===void 0),Array.isArray(be.items)||Array.isArray(be.prefixItems)?!1:(be.items!==void 0&&typeof be.items!="boolean"&&(Te==="array"||ke&&(Te==null?void 0:Te.includes("array")))&&(Le=g(be.items,be.items.type)),Le)}function k(be){return be.search(/json/i)!==-1}function G(be){return be===r.T.URL_ENCODED}function Z(be,Te,Le){return Array.isArray(be)?be.map(ke=>ke.toString()).join(Le):typeof be=="object"?Object.keys(be).map(ke=>`${ke}${Le}${be[ke]}`).join(Le):Te+"="+be.toString()}function oe(be,Te){return Array.isArray(be)?(console.warn("deepObject style cannot be used with array value:"+be.toString()),""):typeof be=="object"?Object.keys(be).map(Le=>be[Le]?`${Te}[${Le}]=${be[Le]}`:void 0).filter(Boolean).join("&"):(console.warn("deepObject style cannot be used with non-object value:"+be.toString()),"")}function ee(be,Te,Le){const ke="__redoc_param_name__",at=Te?"*":"";return o().parse(`{?${ke}${at}}`).expand({[ke]:Le}).substring(1).replace(/__redoc_param_name__/g,be)}function Ee(be,Te){const Le=be?"*":"",ke="__redoc_param_name__",at=o().parse(`{${ke}${Le}}`);return decodeURIComponent(at.expand({[ke]:Te}))}function Fe(be,Te={}){if(Array.isArray(be))throw new Error("Payload must have fields: "+be.toString());return Object.keys(be).map(Le=>{const ke=be[Le],{style:at="form",explode:xt=!0}=Te[Le]||{};switch(at){case"form":return ee(Le,xt,ke);case"spaceDelimited":return Z(ke,Le,"%20");case"pipeDelimited":return Z(ke,Le,"|");case"deepObject":return oe(ke,Le);default:return console.warn("Incorrect or unsupported encoding style: "+at),""}}).join("&")}function ce(be,Te,Le,ke){const at=Le?"*":"";let xt="";Te==="label"?xt=".":Te==="matrix"&&(xt=";");const qe="__redoc_param_name__";return o().parse(`{${xt}${qe}${at}}`).expand({[qe]:ke}).replace(/__redoc_param_name__/g,be)}function te(be,Te,Le,ke){const at=xt=>{switch(Te){case"form":return ee(be,Le,xt);case"spaceDelimited":return Array.isArray(xt)?Le?ee(be,Le,xt):`${be}=${xt.join("%20")}`:(console.warn("The style spaceDelimited is only applicable to arrays"),"");case"pipeDelimited":return Array.isArray(xt)?Le?ee(be,Le,xt):`${be}=${xt.join("|")}`:(console.warn("The style pipeDelimited is only applicable to arrays"),"");case"deepObject":return!Le||Array.isArray(xt)||typeof xt!="object"?(console.warn("The style deepObject is only applicable for objects with explode=true"),""):oe(xt,be);case"simple":return Ee(Le,ke);default:return console.warn("Unexpected style for query: "+Te),""}};return(0,u.Pj)(ke)&&(ke=(0,u.zD)(ke).map(xt=>at(xt))),at(ke)}function he(be,Te,Le){switch(be){case"simple":return Ee(Te,Le);default:return console.warn("Unexpected style for header: "+be),""}}function Q(be,Te,Le,ke){switch(Te){case"form":return ee(be,Le,ke);default:return console.warn("Unexpected style for cookie: "+Te),""}}function B(be,Te){return k(Te)?JSON.stringify(be):(console.warn(`Parameter serialization as ${Te} is not supported`),"")}function J(be,Te){const{name:Le,style:ke,explode:at=!1,serializationMime:xt}=be;if(xt)switch(be.in){case"path":case"header":return B(Te,xt);case"cookie":case"query":return`${Le}=${B(Te,xt)}`;default:return console.warn("Unexpected parameter location: "+be.in),""}if(!ke)return console.warn(`Missing style attribute or content for parameter ${Le}`),"";switch(be.in){case"path":return ce(Le,ke,at,Te);case"query":return te(Le,ke,at,Te);case"header":return he(ke,at,Te);case"cookie":return Q(Le,ke,at,Te);default:return console.warn("Unexpected parameter location: "+be.in),""}}function re(be){return be.search(/xml/i)!==-1?"xml":"clike"}const W=/^#\/components\/(schemas|pathItems)\/([^/]+)$/;function V(be){return W.test(be||"")}function ae(be){var Te;return(Te=be==null?void 0:be.match(W))==null?void 0:Te.pop()}function pe(be){if(be===void 0)return;const Te=be.toString(10);return/^0\.0*1$/.test(Te)?`decimal places <= ${Te.split(".")[1].length}`:`multiple of ${Te}`}function Se(be,Te,Le){let ke;return Te!==void 0&&Le!==void 0?Te===Le?ke=`= ${Te} ${be}`:ke=`[ ${Te} .. ${Le} ] ${be}`:Le!==void 0?ke=`<= ${Le} ${be}`:Te!==void 0&&(Te===1?ke="non-empty":ke=`>= ${Te} ${be}`),ke}function De(be){var Te,Le;const ke=typeof be.exclusiveMinimum=="number"?Math.min(be.exclusiveMinimum,(Te=be.minimum)!=null?Te:1/0):be.minimum,at=typeof be.exclusiveMaximum=="number"?Math.max(be.exclusiveMaximum,(Le=be.maximum)!=null?Le:-1/0):be.maximum,xt=typeof be.exclusiveMinimum=="number"||be.exclusiveMinimum,qe=typeof be.exclusiveMaximum=="number"||be.exclusiveMaximum;if(ke!==void 0&&at!==void 0)return`${xt?"( ":"[ "}${ke} .. ${at}${qe?" )":" ]"}`;if(at!==void 0)return`${qe?"< ":"<= "}${at}`;if(ke!==void 0)return`${xt?"> ":">= "}${ke}`}function nt(be){const Te=[],Le=Se("characters",be.minLength,be.maxLength);Le!==void 0&&Te.push(Le);const ke=Se("items",be.minItems,be.maxItems);ke!==void 0&&Te.push(ke);const at=Se("properties",be.minProperties,be.maxProperties);at!==void 0&&Te.push(at);const xt=pe(be.multipleOf);xt!==void 0&&Te.push(xt);const qe=De(be);return qe!==void 0&&Te.push(qe),be.uniqueItems&&Te.push("unique"),Te}function Me(be,Te=[]){const Le=[],ke=[],at=[];return be.forEach(xt=>{xt.required?Te.includes(xt.name)?ke.push(xt):at.push(xt):Le.push(xt)}),ke.sort((xt,qe)=>Te.indexOf(xt.name)-Te.indexOf(qe.name)),[...ke,...at,...Le]}function _e(be,Te){return[...be].sort((Le,ke)=>Le[Te].localeCompare(ke[Te]))}function j(be,Te=[],Le=[]){const ke={};return Le.forEach(at=>{({resolved:at}=be.deref(at)),ke[at.name+"_"+at.in]=!0}),Te=Te.filter(at=>({resolved:at}=be.deref(at),!ke[at.name+"_"+at.in])),Te.concat(Le)}function ue(be){const Te={};return Object.keys(be).forEach(Le=>{const ke=be[Le],at=Le.split(";")[0].trim();if(!Te[at]){Te[at]=ke;return}Te[at]=v(v({},Te[at]),ke)}),Te}function Ce(be,Te={}){return be.replace(/(?:{)([\w-.]+)(?:})/g,(Le,ke)=>Te[ke]&&Te[ke].default||Le)}function et(be,Te){const Le=()=>{if(!c.Qg)return"";const xt=window.location.href;return xt.endsWith(".html")?(0,t.dirname)(xt):xt},ke=be===void 0?(0,u.jZ)(Le()):(0,t.dirname)(be);Te.length===0&&(Te=[{url:"/"}]);function at(xt){return(0,u.Kk)(ke,xt)}return Te.map(xt=>b(v({},xt),{url:at(xt.url),description:xt.description||""}))}const Pe="security-definitions",X="SecurityDefinitions",_="SchemaDefinition",$=be=>({delete:"del",options:"opts"})[be]||be;function H(be){return be 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,"x-enumDescriptions":!0,"x-hideTryItPanel":!0,"x-tokenEndpointAuthMethod":!0}}function I(be,Te){return Object.keys(be).filter(Le=>Te===!0?Le.startsWith("x-")&&!H(Le):Le.startsWith("x-")&&Te.indexOf(Le)>-1).reduce((Le,ke)=>(Le[ke]=be[ke],Le),{})}function ve(be){return be.split(" or ").map(Te=>Te.replace(/^(string|object|number|integer|array|boolean)s?( ?.*)/,"$1s$2")).join(" or ")}function $e(be){let Te=be.content;const Le=be["x-examples"],ke=be["x-example"];if(Le){Te=v({},Te);for(const at of Object.keys(Le)){const xt=Le[at];Te[at]=b(v({},Te[at]),{examples:xt})}}else if(ke){Te=v({},Te);for(const at of Object.keys(ke)){const xt=ke[at];Te[at]=b(v({},Te[at]),{example:xt})}}return Te}},92127:(L,n,e)=>{"use strict";e.d(n,{Ez:()=>tr,aP:()=>Re});var t=e(17563),l=e(89124),s=e(9996),o=e.n(s),r=e(68949),c=e(76671),u=e(25446),a=e(64776),d=e(49376),h=e(51027),p=e(17673),E=e(8575),T=e(94110),S=e.n(T),v=e(89539),b;(function(F){F.NODEJS="Node.js",F.JAVASCRIPT="javascript",F.PYTHON="Python",F.JAVA8="Java8+Apache",F.JAVA="Java",F.CSHARP="C#",F.CSHARPNEWTONSOFT="C#+Newtonsoft",F.CURL="curl",F.GO="Go",F.PHP="PHP",F.RUBY="Ruby",F.R="R"})(b||(b={}));var m;(function(F){F.UNDER_SCORES="under_scores",F.CAMEL_CASE="camelCase",F.PASCAL_CASE="PascalCase"})(m||(m={}));var y;(function(F){F.IMPORT="import",F.CUSTOM="custom",F.PATH="path"})(y||(y={}));const O="\\ud800-\\udfff",C="\\u0300-\\u036f",A="\\ufe20-\\ufe2f",w="\\u20d0-\\u20ff",x="\\u1ab0-\\u1aff",R="\\u1dc0-\\u1dff",g=C+A+w+x+R,k="\\u2700-\\u27bf",G="a-z\\xdf-\\xf6\\xf8-\\xff",Z="\\xac\\xb1\\xd7\\xf7",oe="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",ee="\\u2000-\\u206f",Ee=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Fe="A-Z\\xc0-\\xd6\\xd8-\\xde",ce="\\ufe0e\\ufe0f",te=Z+oe+ee+Ee,he=/['\u2019]/g,Q="['\u2019]",B=`[${te}]`,J=`[${g}]`,re="\\d",W=`[${k}]`,V=`[${G}]`,ae=`[^${O}${te+re+k+G+Fe}]`,pe="\\ud83c[\\udffb-\\udfff]",Se=`(?:${J}|${pe})`,De=`[^${O}]`,nt="(?:\\ud83c[\\udde6-\\uddff]){2}",Me="[\\ud800-\\udbff][\\udc00-\\udfff]",_e=`[${Fe}]`,j="\\u200d",ue=`(?:${V}|${ae})`,Ce=`(?:${_e}|${ae})`,et=`(?:${Q}(?:d|ll|m|re|s|t|ve))?`,Pe=`(?:${Q}(?:D|LL|M|RE|S|T|VE))?`,X=`${Se}?`,_=`[${ce}]?`,$=`(?:${j}(?:${[De,nt,Me].join("|")})${_+X})*`,H="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",I="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",ve=_+X+$,$e=`(?:${[W,nt,Me].join("|")})${ve}`,be=RegExp([`${_e}?${V}+${et}(?=${[B,_e,"$"].join("|")})`,`${Ce}+${Pe}(?=${[B,_e+ue,"$"].join("|")})`,`${_e}?${ue}+${et}`,`${_e}+${Pe}`,I,H,`${re}+`,$e].join("|"),"g"),Te=F=>F.match(be),Le=RegExp(`[${j+O+g+ce}]`),ke=F=>Le.test(F),at=`[${O}]`,qe=`(?:${[`${De}${J}?`,J,nt,Me,at].join("|")})`,q=RegExp(`${pe}(?=${pe})|${qe+ve}`,"g"),ne=F=>F.match(q)||[],ie=F=>F.split(""),K=F=>{const me=Object.prototype.toString;return F==null?F===void 0?"[object Undefined]":"[object Null]":me.call(F)},we=F=>{const me=typeof F;return me=="symbol"||me==="object"&&F!=null&&K(F)=="[object Symbol]"},He=1/0,Je=F=>{if(F==null)return"";if(typeof F=="string")return F;if(Array.isArray(F))return`${F.map(Ne=>Ne==null?Ne:Je(Ne))}`;if(we(F))return F.toString();const me=`${F}`;return me=="0"&&1/F==-He?"-0":me},ft=RegExp.prototype.test.bind(/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/),At=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Lt=F=>F.match(At),Yt=(F,me,Ne)=>{let Bt=F==null?0:F.length;if(!Bt)return[];me=me==null?0:me,Ne=Ne===void 0?Bt:Ne,me<0&&(me=-me>Bt?0:Bt+me),Ne=Ne>Bt?Bt:Ne,Ne<0&&(Ne+=Bt),Bt=me>Ne?0:Ne-me>>>0,me>>>=0;let Qt=-1;const Wt=new Array(Bt);for(;++Qt<Bt;)Wt[Qt]=F[Qt+me];return Wt},Vt=F=>(ft(F)?Te(F):Lt(F))||[],ze=(F,me)=>{const{length:Ne}=F,Bt=Ne;return!me&&Bt>=Ne?F:Yt(F,me,Bt)},dt=F=>ke(F)?ne(F):ie(F),pt=(F=>me=>{if(!me)return"";const Ne=ke(me)?dt(me):void 0,Bt=Ne?Ne[0]:me[0],Qt=Ne?ze(Ne,1).join(""):me.slice(1);return Bt[F]()+Qt})("toUpperCase"),Ct=F=>Vt(Je(F).replace(/['\u2019]/g,"")).reduce((me,Ne,Bt)=>(Ne=Ne.toLowerCase(),me+(Bt?pt(Ne):Ne)),""),$t=F=>Vt(Je(F).replace(he,"")).reduce((me,Ne,Bt)=>me+(Bt?" ":"")+Ne.toLowerCase(),""),dn=F=>Vt(Je(F).replace(/['\u2019]/g,"")).reduce((me,Ne,Bt)=>me+(Bt?"_":"")+Ne.toLowerCase(),""),un=F=>Vt(`${F}`.replace(/['\u2019]/g,"")).reduce((me,Ne,Bt)=>me+(Bt?" ":"")+pt(Ne),"");class Cn{static toCamelCase(me){return Ct(me)}static toTitleCase(me){return un(Ct(me))}static toPascalCase(me){return un(Ct(me)).replace(/ /g,"")}static toLowerCase(me){return $t(me).replace(/ /g,"")}static toSnakeCase(me){return dn(me)}}var Ke=Object.defineProperty,Be=Object.getOwnPropertySymbols,it=Object.prototype.hasOwnProperty,Et=Object.prototype.propertyIsEnumerable,Ot=(F,me,Ne)=>me in F?Ke(F,me,{enumerable:!0,configurable:!0,writable:!0,value:Ne}):F[me]=Ne,cn=(F,me)=>{for(var Ne in me||(me={}))it.call(me,Ne)&&Ot(F,Ne,me[Ne]);if(Be)for(var Ne of Be(me))Et.call(me,Ne)&&Ot(F,Ne,me[Ne]);return F},Mn=(F,me,Ne)=>(Ot(F,typeof me!="symbol"?me+"":me,Ne),Ne);const Dn={[b.NODEJS]:m.CAMEL_CASE,[b.JAVASCRIPT]:m.CAMEL_CASE,[b.PYTHON]:m.UNDER_SCORES,[b.JAVA8]:m.CAMEL_CASE,[b.JAVA]:m.CAMEL_CASE,[b.CSHARP]:m.PASCAL_CASE,[b.CSHARPNEWTONSOFT]:m.PASCAL_CASE,[b.CURL]:m.CAMEL_CASE,[b.GO]:m.CAMEL_CASE,[b.PHP]:m.CAMEL_CASE,[b.RUBY]:m.UNDER_SCORES,[b.R]:m.UNDER_SCORES},Rn={default:{joinSymbol:"",variableWrapperFn:F=>F,stringLiteral:F=>F,variableDeclaration:F=>F,urlFieldName:"url"},[b.CSHARP]:{joinSymbol:" + ",stringLiteral:F=>`"${F}"`,variableDeclaration:F=>`var ${F} = "%s";`,urlFieldName:"fullUrl"},[b.CSHARPNEWTONSOFT]:{joinSymbol:" + ",stringLiteral:F=>`"${F}"`,variableDeclaration:F=>`var ${F} = "%s";`,urlFieldName:"fullUrl"},[b.GO]:{joinSymbol:" + ",stringLiteral:F=>`"${F}"`,variableDeclaration:F=>`${F} := "%s";`},[b.JAVA]:{joinSymbol:" + ",stringLiteral:F=>`"${F}"`,variableDeclaration:F=>`var ${F} = "%s";`,urlFieldName:"pathname"},[b.JAVA8]:{joinSymbol:" + ",stringLiteral:F=>`"${F}"`,variableDeclaration:F=>`String ${F} = "%s";`,urlFieldName:"fullUrl"},[b.JAVASCRIPT]:{variableWrapperFn:F=>"${"+F+"}",variableDeclaration:F=>`const ${F} = '%s';`},[b.NODEJS]:{variableWrapperFn:F=>"${"+F+"}",variableDeclaration:F=>`const ${F} = '%s';`},[b.PHP]:{joinSymbol:" . ",stringLiteral:F=>`"${F}"`,variableDeclaration:F=>`const ${F} = "%s";`},[b.PYTHON]:{stringLiteral:F=>`"${F}"`,joinSymbol:" + ",variableDeclaration:F=>`${F} = "%s"`},[b.RUBY]:{joinSymbol:" + ",stringLiteral:F=>`'${F}'`,variableDeclaration:F=>`${F} = '%s'`},[b.CURL]:{variableWrapperFn:(F,me)=>me||`{${F}}`,urlFieldName:"fullUrl",rawName:!0},[b.R]:{joinSymbol:" %&% ",variableDeclaration:F=>`${F} = "%s"`,urlFieldName:"fullUrl",stringLiteral:F=>`"${F}"`,variableWrapperFn:F=>`${F}`}},Gn=["response","request","requests","data","url","payload","main","accessToken","resp","Program","client","postData","App","httpClient","params","pathname","host","body","fetch","query"];class Pn{constructor({indentation:me,lineJoin:Ne=`
|
|
2627
|
-
`,variablesPrefix:Bt="",capitalize:
|
|
2628
|
-
`,this.capitalize=
|
|
2629
|
-
${Qt}`);return Bt?Qt.concat(Wt):Wt}function Xe(F,me){const Bt=Object.keys(me).map(Ht=>({name:Ht,idx:F.indexOf(`{${Ht}}`)})).filter(({idx:Ht})=>Ht>-1).sort((Ht,Rt)=>Ht.idx-Rt.idx),Qt=[];let Wt=0;for(const{name:Ht,idx:Rt}of Bt)Rt>Wt&&Qt.push({type:"string",value:F.substring(Wt,Rt)}),Qt.push({type:"variable",name:Ht}),Wt=Rt+Ht.length+2;return Wt<F.length&&Qt.push({type:"string",value:F.substring(Wt)}),Qt}function st(F,me){const{joinSymbol:Ne,variableWrapperFn:Bt,stringLiteral:Qt,urlFieldName:Wt,rawName:Ht}=me.langOptions,{pathParameters:Rt={},serverVariables:Tt={}}=F,mt=Zt(Zt({},Rt),Tt);return Xe(F[Wt]||"",mt).map(Xt=>{if(Xt.type==="variable"){const rn=mt[Xt.name],Dt=Ht?Xt.name:me.var(Xt.name,y.PATH);return Bt(Dt,rn)}else return Qt(Xt.value)}).join(Ne)}function wt({pathParameters:F={},serverVariables:me={}},Ne,Bt){Object.entries(Zt(Zt({},F),me)).forEach(([Qt,Wt])=>{const Ht=Wt||`YOUR_${Qt}_PARAMETER`,Rt=Ne.var(Qt,y.PATH);Bt!==void 0?Ne.push(Bt,Ne.langOptions.variableDeclaration(Rt),Ht):Ne.push(Ne.langOptions.variableDeclaration(Rt),Ht)})}function tn(F){const me={};return F.forEach((Ne,Bt)=>{Object.prototype.hasOwnProperty.call(me,Bt)?Array.isArray(me[Bt])?me[Bt].push(Ne):me[Bt]=[me[Bt],Ne]:me[Bt]=Ne}),me}var qt=Object.defineProperty,bn=Object.defineProperties,Fn=Object.getOwnPropertyDescriptors,Ln=Object.getOwnPropertySymbols,ir=Object.prototype.hasOwnProperty,Nn=Object.prototype.propertyIsEnumerable,En=(F,me,Ne)=>me in F?qt(F,me,{enumerable:!0,configurable:!0,writable:!0,value:Ne}):F[me]=Ne,Xn=(F,me)=>{for(var Ne in me||(me={}))ir.call(me,Ne)&&En(F,Ne,me[Ne]);if(Ln)for(var Ne of Ln(me))Nn.call(me,Ne)&&En(F,Ne,me[Ne]);return F},kn=(F,me)=>bn(F,Fn(me));const On=function(F,me,{target:Ne,client:Bt}){var Qt,Wt,Ht,Rt,Tt,mt;const Xt=Xn({indent:" ",credentials:null},me),rn=new Pn({indentation:Xt.indent,variablesPrefix:Xt.variablesPrefix,capitalize:!0,lang:b.JAVASCRIPT}),Dt={method:F.method.toUpperCase()};Object.keys(F.headersObj).length&&(Dt.headers=F.headersObj);let en=!1;if(Xt.withComments&&Yn(rn),(Qt=F.securityOAuth2ExtraCalls)==null?void 0:Qt.length){const yn=new pi((Wt=F.securityOAuth2ExtraCalls)==null?void 0:Wt[0]).convert(Ne,Bt,kn(Xn({},Xt),{withImports:!1,withComments:!1,variablesPrefix:"oAuth2"}));rn.push(yn),rn.blank(),Dt.headers=Dt.headers||{},Dt.headers.Authorization="'Bearer ' + oAuth2Data.access_token",en=!0}Xt.credentials!==null&&(Dt.credentials=Xt.credentials);const Nt=Object.getOwnPropertyNames(F.queryObj).length;if(Nt&&rn.push(`const ${rn.var("query")} = new URLSearchParams(${S()(F.queryObj,{indent:Xt.indent,inlineCharacterLimit:25})}).toString();`).blank(),F.postData)switch((0,a.PP)(F.postData.mimeType)){case d.T.URL_ENCODED:Dt.body=F.postData.paramsObj?`new URLSearchParams(${rn.var("formData")}).toString()`:F.postData.text,F.postData.paramsObj&&rn.push(`const ${rn.var("formData")} = ${ot(S()(F.postData.paramsObj,{indent:Xt.indent,inlineCharacterLimit:25}),{level:0,firstLine:!1})};`).blank();break;case d.T.JSON:F.postData.jsonObj&&(Dt.body=`JSON.stringify(${ot(S()(F.postData.jsonObj,{indent:Xt.indent,inlineCharacterLimit:25}),{level:1,firstLine:!1})})`);break;case d.T.MULTIPART:rn.push(`const ${rn.var("form")} = new FormData();`),((Ht=Dt==null?void 0:Dt.headers)==null?void 0:Ht["Content-Type"])&&((Rt=Dt.headers)==null||delete Rt["Content-Type"]),F.postData.params.forEach(function(yn){rn.push(`${rn.var("form")}.append(%s, %s);`,JSON.stringify(yn.name),JSON.stringify(yn.value||yn.fileName||""))}),Dt.body=rn.var("form"),rn.blank();break;default:F.postData.text&&(Dt.body=`\`${ot(F.postData.text,{level:2,indent:Xt.indent,firstLine:!1}).trim()}\``)}const fr=Dt.headers&&Dt.headers.Accept&&(0,a.PP)(Dt.headers.Accept)===d.T.JSON||(0,a.PP)((Tt=F.postData)==null?void 0:Tt.mimeType)===d.T.JSON;if(F.basicAuth){const{username:yn,password:zn}=F.basicAuth;Dt.headers=Dt.headers||{},Dt.headers.Authorization=`'Basic ' + btoa('${yn}:${zn}')`,en=!0}wt(F,rn);const Tn=st(F,rn);return rn.push(`const ${rn.var("resp")} = await fetch(`).push(1,"`"+Tn+(Nt?"?${"+rn.var("query")+"}":"")+"`,").push(ot(S()(Dt,{indent:Xt.indent,inlineCharacterLimit:25,transform:Qe({body:!0,authorizationHeader:en})}),{level:1,indent:Xt.indent})).push(");").blank(),((mt=F.allResponseCodes)==null?void 0:mt.includes("204"))?(rn.push("if (resp.status === 204) {").push(1,"console.log('success');").push("} else {"),rn.push(1,`const ${rn.var("data")} = await ${rn.var("resp")}.${fr?"json()":"text()"};`).push(1,`console.log(${rn.var("data")});`).push("}")):rn.push(`const ${rn.var("data")} = await ${rn.var("resp")}.${fr?"json()":"text()"};`).push(`console.log(${rn.var("data")});`),rn.join()};function Yn(F){F.push("/**"),F.push(" * Requires ES8-compatible browser: https://caniuse.com/async-functions"),F.push(" */"),F.blank()}const Hn={key:"fetch",title:"fetch",link:"https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API/Using_Fetch",description:"Perform asynchronous HTTP requests with the Fetch API"},hr={info:{key:"javascript",title:"JavaScript",extname:".js",default:"fetch"},fetch:On};var sr=Object.defineProperty,ur=Object.defineProperties,Qn=Object.getOwnPropertyDescriptors,vr=Object.getOwnPropertySymbols,Dr=Object.prototype.hasOwnProperty,jr=Object.prototype.propertyIsEnumerable,Er=(F,me,Ne)=>me in F?sr(F,me,{enumerable:!0,configurable:!0,writable:!0,value:Ne}):F[me]=Ne,Vr=(F,me)=>{for(var Ne in me||(me={}))Dr.call(me,Ne)&&Er(F,Ne,me[Ne]);if(vr)for(var Ne of vr(me))jr.call(me,Ne)&&Er(F,Ne,me[Ne]);return F},Sr=(F,me)=>ur(F,Qn(me));const Tr=function(F,me,{target:Ne,client:Bt}){var Qt,Wt,Ht,Rt,Tt,mt;const Xt=Object.assign({indent:" ",showBoilerplate:!0,level:1},me),{level:rn}=Xt;let Dt=!1;const en=new Pn({indentation:Xt.indent,variablesPrefix:Xt.variablesPrefix,capitalize:!0,lang:b.NODEJS});Xt.withComments&&qn(en),Xt.withImports&&(en.push("import fetch from 'node-fetch';"),en.blank()),Xt.showBoilerplate&&en.push("async function run() {");const Nt={method:F.method.toUpperCase()};Object.keys(F.headersObj).length&&(Nt.headers=F.headersObj);let fr=!1;if((Qt=F.securityOAuth2ExtraCalls)==null?void 0:Qt.length){const Vn=new pi((Wt=F.securityOAuth2ExtraCalls)==null?void 0:Wt[0]).convert(Ne,Bt,Sr(Vr({},Xt),{withImports:!1,withComments:!1,variablesPrefix:"oAuth2",showBoilerplate:!1,level:1}));en.push(Vn),en.blank(),Nt.headers=Nt.headers||{},Nt.headers.Authorization="'Bearer ' + oAuth2Data.access_token",fr=!0}const Tn=Object.getOwnPropertyNames(F.queryObj).length;if(Tn&&en.push(rn,`const ${en.var("query")} = new URLSearchParams(${ot(S()(F.queryObj,{indent:Xt.indent,inlineCharacterLimit:25}),{level:rn,indent:Xt.indent,firstLine:!1})}).toString();`).blank(),F.postData)switch((0,a.PP)(F.postData.mimeType)){case d.T.URL_ENCODED:Nt.body=F.postData.paramsObj?`new URLSearchParams(${en.var("formData")}).toString()`:F.postData.text,F.postData.paramsObj&&en.push(rn,`const ${en.var("formData")} = ${ot(S()(F.postData.paramsObj,{indent:Xt.indent,inlineCharacterLimit:25}),{level:rn,firstLine:!1})};`).blank();break;case d.T.JSON:F.postData.jsonObj&&(Nt.body=`JSON.stringify(${ot(S()(F.postData.jsonObj,{indent:Xt.indent,inlineCharacterLimit:25}),{level:rn,firstLine:!1})})`);break;case d.T.MULTIPART:((Ht=Nt==null?void 0:Nt.headers)==null?void 0:Ht["Content-Type"])&&((Rt=Nt.headers)==null||delete Rt["Content-Type"]),Xt.withImports&&en.unshift("import FormData from 'form-data';"),en.push(rn,`const ${en.var("form")} = new FormData();`),F.postData.params.forEach(function(Vn){if(!Vn.fileName&&!Vn.fileName&&!Vn.contentType){en.push(rn,"form.append('"+Vn.name+"','"+Vn.value+"');");return}Vn.fileName&&(Dt=!0,en.blank(),en.push(rn,`${en.var("form")}.append('" + param.name + "', fs.createReadStream('" + param.fileName + "'));`))}),Nt.body=en.var("form"),en.blank();break;default:F.postData.text&&(Nt.body=`\`${ot(F.postData.text,{level:rn+1,indent:Xt.indent,firstLine:!1}).trim()}\``)}if(F.cookies.length){let Vn="";F.cookies.forEach(function(Mr){Vn=Vn+encodeURIComponent(Mr.name)+"="+encodeURIComponent(Mr.value)+"; "}),Vn=Vn.trim(),Nt.headers||(Nt.headers={}),Nt.headers.cookie=Vn}if(F.basicAuth){const{username:Vn,password:Mr}=F.basicAuth;Nt.headers=Nt.headers||{},Nt.headers.Authorization=`'Basic ' + Buffer.from('${Vn}:${Mr}').toString('base64')`,fr=!0}Dt&&Xt.withImports&&en.unshift("import fs from 'fs';");const yn=Nt.headers&&Nt.headers.Accept&&(0,a.PP)(Nt.headers.Accept)===d.T.JSON||(0,a.PP)((Tt=F.postData)==null?void 0:Tt.mimeType)===d.T.JSON;wt(F,en,rn);const zn=st(F,en);return en.push(rn,`const ${en.var("resp")} = await fetch(`).push(rn+1,"`"+zn+(Tn?"?${"+en.var("query")+"}":"")+"`,").push(rn+1,ot(S()(Nt,{indent:Xt.indent,inlineCharacterLimit:25,transform:Qe({body:!0,authorizationHeader:fr})}),{level:rn+1,indent:Xt.indent,firstLine:!1})).push(rn,");").blank(),((mt=F.allResponseCodes)==null?void 0:mt.includes("204"))?(en.push(rn,"if (resp.status === 204) {").push(rn+1,"console.log('success');").push(rn,"} else {"),en.push(rn+1,`const ${en.var("data")} = await ${en.var("resp")}.${yn?"json()":"text()"};`).push(rn+1,`console.log(${en.var("data")});`).push(rn,"}")):en.push(rn,`const ${en.var("data")} = await ${en.var("resp")}.${yn?"json()":"text()"};`).push(rn,`console.log(${en.var("data")});`),Xt.showBoilerplate&&en.push("}").blank().push("run();"),en.join().replace(/"fs\.createReadStream\(\\"(.+)\\"\)"/,'fs.createReadStream("$1")')};function qn(F){F.push("/**"),F.push(" * Requires Node.js >= 14"),F.push(" *"),F.push(' * Requires module "node-fetch" >= 2.6.1'),F.push(" * See here for installation details:"),F.push(" * https://www.npmjs.com/package/node-fetch"),F.push(" */"),F.blank()}const sn={key:"fetch",title:"Fetch",link:"https://github.com/bitinn/node-fetch",description:"Simplified HTTP node-fetch client"},fn={info:{key:"node",title:"Node.js",extname:".js",default:"fetch"},fetch:Tr};var vn=Object.defineProperty,er=Object.defineProperties,ar=Object.getOwnPropertyDescriptors,nr=Object.getOwnPropertySymbols,Ye=Object.prototype.hasOwnProperty,ye=Object.prototype.propertyIsEnumerable,Ae=(F,me,Ne)=>me in F?vn(F,me,{enumerable:!0,configurable:!0,writable:!0,value:Ne}):F[me]=Ne,gt=(F,me)=>{for(var Ne in me||(me={}))Ye.call(me,Ne)&&Ae(F,Ne,me[Ne]);if(nr)for(var Ne of nr(me))ye.call(me,Ne)&&Ae(F,Ne,me[Ne]);return F},Ve=(F,me)=>er(F,ar(me));const rt=function(F,me,{target:Ne,client:Bt}){var Qt,Wt,Ht,Rt;const Tt=Object.assign({indent:" "},me),{level:mt=0}=Tt,Xt=new Pn({indentation:Tt.indent,variablesPrefix:Tt.variablesPrefix,lang:b.PYTHON});Tt.withComments&&an(Xt),Tt.withImports&&Xt.push("import requests").blank();let rn=!1,Dt=F.allHeaders;if((Qt=F.securityOAuth2ExtraCalls)==null?void 0:Qt.length){const Pi=new pi((Wt=F.securityOAuth2ExtraCalls)==null?void 0:Wt[0]).convert(Ne,Bt,Ve(gt({},Tt),{withImports:!1,withComments:!1,variablesPrefix:"oauth2_"}));Xt.push(Pi),Xt.blank(),Dt=Dt||{},Dt.Authorization='"Bearer " + oauth2_data["access_token"]',rn=!0}wt(F,Xt),Xt.push(`${Xt.var("url").toLowerCase()} = %s`,st(F,Xt)).blank();let en;if(Object.keys(F.queryObj||{}).length){const Pi=pn(F.queryObj,Tt.indent);en="query = "+Pi,Xt.push(en).blank()}let Nt;const fr=(0,a.PP)((Ht=F.postData)==null?void 0:Ht.mimeType);if(F.postData)switch(fr){case d.T.URL_ENCODED:Nt=F.postData.paramsObj?`${ot(pn(F.postData.paramsObj,Tt.indent),{level:0,firstLine:!1})}`:F.postData.text;break;case d.T.JSON:F.postData.jsonObj&&(Nt=ot(pn(F.postData.jsonObj,Tt.indent),{level:0,firstLine:!1}));break;case d.T.MULTIPART:Xt.unshift(`# multipart/form-data is not supported yet
|
|
2626
|
+
${ae}`}}const w=(W,...V)=>{if(!V.length)return W;const ae=V.shift();return ae===void 0?W:(k(W)&&k(ae)&&Object.keys(ae).forEach(pe=>{k(ae[pe])?(W[pe]||(W[pe]={}),["string","number"].includes(typeof W[pe])&&(!ae[pe][o.QU]&&ae[pe][o.QU]!==0&&console.warn(`Theme resolver: using default value of "${W[pe]}" for "${pe}". This is not recommended. Prefer adding default value by providing "${o.QU}" property to ${JSON.stringify(ae[pe])}.`),W[pe]={[o.QU]:W[pe]}),w(W[pe],ae[pe])):W[pe]=ae[pe]}),w(W,...V))},x=W=>W!==null&&typeof W=="object",R=W=>Array.isArray(W)&&W.some(V=>x(V)),g=W=>W.filter(V=>!!V),k=W=>x(W)&&!Array.isArray(W);function G(W){return l()(W)||W.toString().toLowerCase().replace(/\s+/g,"-").replace(/&/g,"-and-").replace(/--+/g,"-").replace(/^-+/,"").replace(/-+$/,"")}function Z(W){return/(?:^[a-z][a-z0-9+.-]*:|\/\/)/i.test(W)}function oe(W,V){let ae;if(V.startsWith("//")){const{protocol:pe}=(0,s.parse)(W);ae=`${pe||"https:"}${V}`}else if(Z(V))ae=V;else if(!V.startsWith("/"))ae=O(W)+"/"+V;else{const pe=(0,s.parse)(W);ae=(0,s.format)(v(S({},pe),{pathname:V}))}return O(ae)}function ee(W){try{return ce(W).pathname}catch(V){return W}}function Ee(W){return W.charAt(0).toUpperCase()+W.slice(1)}function Fe(W){try{const V=ce(W);return V.search="",V.hash="",V.toString()}catch(V){return W}}function ce(W){return typeof URL=="undefined"?new(e(8575)).URL(W):new URL(W)}function te(W){return W.replace(/["\\]/g,"\\$&")}function he(W){return W.replace(/&#(\d+);/g,(V,ae)=>String.fromCharCode(parseInt(ae,10))).replace(/&/g,"&").replace(/"/g,'"')}function Q(W){return W&&W.replace(/#/g,"_")}function B(W,V){return V||isNamedDefinition(W)&&JsonPointer.baseName(W)||""}function J(W,V){return V===W.length-1}function re(W,V){const ae=Object.keys(W);return ae.indexOf(V)===ae.length-1}},13066:(L,n,e)=>{"use strict";e.d(n,{Qg:()=>Ee.Qg,IB:()=>t.I,Ml:()=>l.Ml,B5:()=>l.B5,c7:()=>l.c7,Xo:()=>B,Bi:()=>Ce,m9:()=>et,Z3:()=>_,At:()=>X,RC:()=>Pe,I2:()=>te,zD:()=>s.zD,Vg:()=>l.Vg,yY:()=>s.yY,nq:()=>l.nq,TQ:()=>l.TQ,PD:()=>s.PD,bv:()=>s.bv,qW:()=>l.qW,ft:()=>l.ft,ED:()=>l.ED,YS:()=>l.YS,CH:()=>G,V_:()=>l.V_,Pj:()=>s.Pj,og:()=>l.og,Yi:()=>l.Yi,Bu:()=>s.Bu,$Y:()=>s.$Y,lE:()=>l.lE,kE:()=>s.kE,Kn:()=>s.Kn,eU:()=>l.eU,ty:()=>l.ty,CX:()=>l.CX,M:()=>l.M,q2:()=>ce,Q8:()=>s.Q8,jW:()=>s.jW,HP:()=>_e,PM:()=>s.PM,Zd:()=>l.Zd,gr:()=>l.gr,Dm:()=>l.Dm,NL:()=>l.NL,R2:()=>Ee.R2,bO:()=>s.bO,XO:()=>s.XO,d$:()=>l.d$,L1:()=>l.L1,T4:()=>l.T4,MI:()=>s.MI,Lf:()=>s.Lf,TE:()=>l.TE});var t=e(71796),l=e(70606),s=e(10519),o=e(15660),r=e(57874),c=e(4279),u=e(35433),a=e(46213),d=e(2731),h=e(79016),p=e(27046),E=e(50057),T=e(52503),S=e(66841),v=e(96854),b=e(24335),m=e(11426),y=e(20288),O=e(99945),C=e(80366),A=e(59385),w=e(12886),x=e(35266),R=e(90874);const g="clike";o.languages.insertBefore("javascript","string",{"property string":{pattern:/([{,]\s*)"(?:\\.|[^\\"\r\n])*"(?=\s*:)/i,lookbehind:!0}},void 0),o.languages.insertBefore("javascript","punctuation",{property:{pattern:/([{,]\s*)[a-z]\w*(?=\s*:)/i,lookbehind:!0}},void 0);function k($){return{json:"js","c++":"cpp","c#":"csharp","objective-c":"objectivec",shell:"bash",viml:"vim",curl:"bash","node.js":"js"}[$]||g}function G($,H=g){H=H.toLowerCase();let I=o.languages[H];return I||(I=o.languages[k(H)]),o.highlight($.toString(),I,H)}var Z=e(43675),oe=e(63777),ee=e(18925),Ee=e(52385),Fe=($,H,I)=>new Promise((ve,$e)=>{var be=ke=>{try{Le(I.next(ke))}catch(at){$e(at)}},Te=ke=>{try{Le(I.throw(ke))}catch(at){$e(at)}},Le=ke=>ke.done?ve(ke.value):Promise.resolve(ke.value).then(be,Te);Le((I=I.apply($,H)).next())});function ce($){return Fe(this,null,function*(){const H=new oe.Config({}),I={config:H,base:Ee.Qg?window.location.href:process.cwd()};Ee.Qg&&(H.resolve.http.customFetch=e.g.fetch),typeof $=="object"&&$!==null?I.doc=te($):I.ref=$;const{bundle:{parsed:ve}}=yield(0,Z.bundle)(I);return ve.swagger!==void 0?he(ve):ve})}function te($){return{source:{absoluteRef:""},parsed:$}}function he($){return console.warn("[ReDoc Compatibility mode]: Converting OpenAPI 2.0 to OpenAPI 3.0"),$.paths||($.paths={}),new Promise((H,I)=>(0,ee.convertObj)($,{patch:!0,warnOnly:!0,text:"{}",anchors:!0},(ve,$e)=>{if(ve)return I(ve);H($e==null?void 0:$e.openapi)}))}function Q($,H){let I,ve,$e,be=null,Te=0;const Le=()=>{Te=new Date().getTime(),be=null,$e=$.apply(I,ve),be||(I=ve=null)};return function(){const ke=new Date().getTime(),at=H-(ke-Te);return I=this,ve=arguments,at<=0||at>H?(be&&(clearTimeout(be),be=null),Te=ke,$e=$.apply(I,ve),be||(I=ve=null)):be||(be=setTimeout(Le,at)),$e}}function B($){return(H,I,ve)=>{ve.value=Q(ve.value,$)}}var J=Object.defineProperty,re=Object.defineProperties,W=Object.getOwnPropertyDescriptors,V=Object.getOwnPropertySymbols,ae=Object.prototype.hasOwnProperty,pe=Object.prototype.propertyIsEnumerable,Se=($,H,I)=>H in $?J($,H,{enumerable:!0,configurable:!0,writable:!0,value:I}):$[H]=I,De=($,H)=>{for(var I in H||(H={}))ae.call(H,I)&&Se($,I,H[I]);if(V)for(var I of V(H))pe.call(H,I)&&Se($,I,H[I]);return $},nt=($,H)=>re($,W(H));const Me={};function _e($,H,I){if(typeof I.value=="function")return ue($,H,I);if(typeof I.get=="function")return j($,H,I);throw new Error("@memoize decorator can be applied to methods or getters, got "+String(I.value)+" instead")}function j($,H,I){const ve=`_memoized_${H}`,$e=I.get;return $[ve]=Me,nt(De({},I),{get(){return this[ve]===Me&&(this[ve]=$e==null?void 0:$e.call(this)),this[ve]}})}function ue($,H,I){if(!I.value||I.value.length>0)throw new Error("@memoize decorator can only be applied to methods of zero arguments");const ve=`_memoized_${H}`,$e=I.value;return $[ve]=Me,nt(De({},I),{value(){return this[ve]===Me&&(this[ve]=$e.call(this)),this[ve]}})}function Ce($){let H=1;return $[0]==="-"&&(H=-1,$=$.substr(1)),function(I,ve){return H==-1?ve[$].localeCompare(I[$]):I[$].localeCompare(ve[$])}}function et($,H){return $===void 0?H||!1:typeof $=="string"?$!=="false":$}function Pe($,H=0){return typeof $=="string"?parseInt($,10):typeof $=="number"?$:H}function X($){if(typeof $=="string")return parseInt($,10);if(typeof $=="number")return Math.ceil($)}function _($,H=0){return $==="all"?1/0:X($)||H}},61191:(L,n,e)=>{"use strict";e.d(n,{QU:()=>b,gN:()=>C,QG:()=>A});var t=Object.defineProperty,l=Object.defineProperties,s=Object.getOwnPropertyDescriptors,o=Object.getOwnPropertySymbols,r=Object.prototype.hasOwnProperty,c=Object.prototype.propertyIsEnumerable,u=(w,x,R)=>x in w?t(w,x,{enumerable:!0,configurable:!0,writable:!0,value:R}):w[x]=R,a=(w,x)=>{for(var R in x||(x={}))r.call(x,R)&&u(w,R,x[R]);if(o)for(var R of o(x))c.call(x,R)&&u(w,R,x[R]);return w},d=(w,x)=>l(w,s(x));const h=(w,x,R,g,k)=>{for(x=x&&x.split?x.split("."):[x],g=0;g<x.length;g++)w=w?w[x[g]]:k;return w===k?R:w},p={bg:"backgroundColor",m:"margin",mt:"marginTop",mr:"marginRight",mb:"marginBottom",ml:"marginLeft",mx:"marginX",my:"marginY",p:"padding",pt:"paddingTop",pr:"paddingRight",pb:"paddingBottom",pl:"paddingLeft",px:"paddingX",py:"paddingY"},E={marginX:["marginLeft","marginRight"],marginY:["marginTop","marginBottom"],paddingX:["paddingLeft","paddingRight"],paddingY:["paddingTop","paddingBottom"],size:["width","height"]},T={color:"colors",backgroundColor:"colors",borderColor:"colors",margin:"space",marginTop:"space",marginRight:"space",marginBottom:"space",marginLeft:"space",marginX:"space",marginY:"space",padding:"space",paddingTop:"space",paddingRight:"space",paddingBottom:"space",paddingLeft:"space",paddingX:"space",paddingY:"space",top:"space",right:"space",bottom:"space",left:"space",gridGap:"space",gridColumnGap:"space",gridRowGap:"space",gap:"space",columnGap:"space",rowGap:"space",fontFamily:"fonts",fontSize:"fontSizes",fontWeight:"fontWeights",lineHeight:"lineHeights",letterSpacing:"letterSpacings",border:"borders",borderTop:"borders",borderRight:"borders",borderBottom:"borders",borderLeft:"borders",borderWidth:"borderWidths",borderStyle:"borderStyles",borderRadius:"radii",borderTopRightRadius:"radii",borderTopLeftRadius:"radii",borderBottomRightRadius:"radii",borderBottomLeftRadius:"radii",borderTopWidth:"borderWidths",borderTopColor:"colors",borderTopStyle:"borderStyles",borderBottomWidth:"borderWidths",borderBottomColor:"colors",borderBottomStyle:"borderStyles",borderLeftWidth:"borderWidths",borderLeftColor:"colors",borderLeftStyle:"borderStyles",borderRightWidth:"borderWidths",borderRightColor:"colors",borderRightStyle:"borderStyles",outlineColor:"colors",boxShadow:"shadows",textShadow:"shadows",zIndex:"zIndices",width:"sizes",minWidth:"sizes",maxWidth:"sizes",height:"sizes",minHeight:"sizes",maxHeight:"sizes",flexBasis:"sizes",size:"sizes",fill:"colors",stroke:"colors"},S=(w,x)=>{if(typeof x!="number"||x>=0)return h(w,x,x);const R=Math.abs(x),g=h(w,R,R);return typeof g=="string"?"-"+g:g*-1},v=["margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","top","bottom","left","right"].reduce((w,x)=>d(a({},w),{[x]:S}),{}),b="_",m=w=>x=>{const R={},g=h(x,"breakpoints"),k={};for(const[G,Z]of Object.entries(g))k[G]=`@media screen and (min-width: ${Z})`,R[k[G]]=null;for(const G in w){const Z=typeof w[G]=="function"?w[G](x):w[G];if(Z!=null){if(Array.isArray(Z)||typeof Z!="object"){R[G]=Z;continue}for(const[oe,ee]of Object.entries(Z)){const Ee=k[oe];if(!Ee){oe===b&&(R[G]=ee);continue}R[Ee]=R[Ee]||{},ee!=null&&(R[Ee][G]=ee)}}}return R};function y(w,x){if(typeof x=="object"){const R=x[w];return!R&&R!==0?null:R}return w===b?x:null}function O(w){const x=y(b,w);return x!==null?x:(console.warn(`Theme resolver: could not find default value for ${JSON.stringify(w)}. Theme properties with breakpoints should contain a non-empty "${b}" property.`),null)}function C(w,x,R){const g={};let k=O(R),G=null;const Z=x.map(O);k&&!Z.some(oe=>oe===null)&&(g[b]=k(...Z),G=g[b]);for(const oe of Object.keys(w)){k=y(oe,R)||k;for(let Fe=0;Fe<x.length;Fe++){const ce=y(oe,x[Fe])||Z[Fe];ce!==null&&(Z[Fe]=ce)}const ee=Z.findIndex(Fe=>Fe===null);if(ee!==-1){console.warn(`Theme resolver: could not resolve breakpoint: "${oe}" for value ${JSON.stringify(x[ee])}.`);continue}if(!k){console.warn("Theme resolver: could not resolve media mapper. CSS may be rendered incorrectly.");continue}const Ee=k(...Z);G!==Ee&&(g[oe]=Ee,G=Ee)}return g}const A=w=>(x={})=>{const R=x.theme||x;let g={};const k=typeof w=="function"?w(R):w,G=m(k)(R);for(const Z in G){const oe=G[Z],ee=typeof oe=="function"?oe(R):oe;if(Z==="variant"){const Q=A(h(R,ee))(R);g=a(a({},g),Q);continue}if(ee&&typeof ee=="object"&&!Array.isArray(ee)){g[Z]=A(ee)(R);continue}const Ee=h(p,Z,Z),Fe=h(T,Ee),ce=h(R,Fe,h(R,Ee,{})),he=h(v,Ee,h)(ce,ee,ee);if(E[Ee]){const Q=E[Ee];for(let B=0;B<Q.length;B++)g[Q[B]]=he}else g[Ee]=he}return g}},70606:(L,n,e)=>{"use strict";e.d(n,{CX:()=>y,YS:()=>O,eU:()=>A,ED:()=>w,Vg:()=>R,ty:()=>g,Yi:()=>k,og:()=>G,TE:()=>Fe,d$:()=>J,M:()=>re,lE:()=>V,ft:()=>ae,V_:()=>nt,T4:()=>Me,L1:()=>_e,Zd:()=>j,gr:()=>ue,nq:()=>Ce,Dm:()=>et,B5:()=>Pe,c7:()=>X,Ml:()=>_,e$:()=>$,TQ:()=>I,NL:()=>ve,qW:()=>$e});var t=e(26470),l=e.n(t),s=e(83578),o=e.n(s),r=e(49376),c=e(52385),u=e(10519),a=Object.defineProperty,d=Object.defineProperties,h=Object.getOwnPropertyDescriptors,p=Object.getOwnPropertySymbols,E=Object.prototype.hasOwnProperty,T=Object.prototype.propertyIsEnumerable,S=(be,Te,Le)=>Te in be?a(be,Te,{enumerable:!0,configurable:!0,writable:!0,value:Le}):be[Te]=Le,v=(be,Te)=>{for(var Le in Te||(Te={}))E.call(Te,Le)&&S(be,Le,Te[Le]);if(p)for(var Le of p(Te))T.call(Te,Le)&&S(be,Le,Te[Le]);return be},b=(be,Te)=>d(be,h(Te));function m(be){return typeof be=="string"&&/\dxx/i.test(be)}function y(be){return be==="default"||(0,u.kE)(be)||m(be)}function O(be,Te=!1){if(be==="default")return Te?"error":"success";let Le=typeof be=="string"?parseInt(be,10):be;if(m(be)&&(Le*=100),Le<100||Le>599)throw new Error("invalid HTTP code");let ke="success";return Le>=300&&Le<400?ke="redirect":Le>=400?ke="error":Le<200&&(ke="info"),ke}const C={get:!0,post:!0,put:!0,head:!0,patch:!0,delete:!0,options:!0,$ref:!0};function A(be){return be in C}function w(be){return be.summary||be.operationId||be.description&&be.description.substring(0,50)||be.pathName||"<no summary>"}const x={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",patternProperties:"object",properties:"object"};function R(be){if(be.type!==void 0&&!Array.isArray(be.type))return be.type;const Te=Object.keys(x);for(const Le of Te){const ke=x[Le];if(be[Le]!==void 0)return ke}return"any"}function g(be,Te=be.type){if(be["x-circular-ref"])return!0;if(be.oneOf!==void 0||be.anyOf!==void 0||be.if&&be.then||be.if&&be.else)return!1;let Le=!0;const ke=Array.isArray(Te);return(Te==="object"||ke&&(Te==null?void 0:Te.includes("object")))&&(Le=be.properties!==void 0?Object.keys(be.properties).length===0:be.additionalProperties===void 0&&be.unevaluatedProperties===void 0&&be.patternProperties===void 0),Array.isArray(be.items)||Array.isArray(be.prefixItems)?!1:(be.items!==void 0&&typeof be.items!="boolean"&&(Te==="array"||ke&&(Te==null?void 0:Te.includes("array")))&&(Le=g(be.items,be.items.type)),Le)}function k(be){return be.search(/json/i)!==-1}function G(be){return be===r.T.URL_ENCODED}function Z(be,Te,Le){return Array.isArray(be)?be.map(ke=>ke.toString()).join(Le):typeof be=="object"?Object.keys(be).map(ke=>`${ke}${Le}${be[ke]}`).join(Le):Te+"="+be.toString()}function oe(be,Te){return Array.isArray(be)?(console.warn("deepObject style cannot be used with array value:"+be.toString()),""):typeof be=="object"?Object.keys(be).map(Le=>be[Le]?`${Te}[${Le}]=${be[Le]}`:void 0).filter(Boolean).join("&"):(console.warn("deepObject style cannot be used with non-object value:"+be.toString()),"")}function ee(be,Te,Le){const ke="__redoc_param_name__",at=Te?"*":"";return o().parse(`{?${ke}${at}}`).expand({[ke]:Le}).substring(1).replace(/__redoc_param_name__/g,be)}function Ee(be,Te){const Le=be?"*":"",ke="__redoc_param_name__",at=o().parse(`{${ke}${Le}}`);return decodeURIComponent(at.expand({[ke]:Te}))}function Fe(be,Te={}){if(Array.isArray(be))throw new Error("Payload must have fields: "+be.toString());return Object.keys(be).map(Le=>{const ke=be[Le],{style:at="form",explode:xt=!0}=Te[Le]||{};switch(at){case"form":return ee(Le,xt,ke);case"spaceDelimited":return Z(ke,Le,"%20");case"pipeDelimited":return Z(ke,Le,"|");case"deepObject":return oe(ke,Le);default:return console.warn("Incorrect or unsupported encoding style: "+at),""}}).join("&")}function ce(be,Te,Le,ke){const at=Le?"*":"";let xt="";Te==="label"?xt=".":Te==="matrix"&&(xt=";");const qe="__redoc_param_name__";return o().parse(`{${xt}${qe}${at}}`).expand({[qe]:ke}).replace(/__redoc_param_name__/g,be)}function te(be,Te,Le,ke){const at=xt=>{switch(Te){case"form":return ee(be,Le,xt);case"spaceDelimited":return Array.isArray(xt)?Le?ee(be,Le,xt):`${be}=${xt.join("%20")}`:(console.warn("The style spaceDelimited is only applicable to arrays"),"");case"pipeDelimited":return Array.isArray(xt)?Le?ee(be,Le,xt):`${be}=${xt.join("|")}`:(console.warn("The style pipeDelimited is only applicable to arrays"),"");case"deepObject":return!Le||Array.isArray(xt)||typeof xt!="object"?(console.warn("The style deepObject is only applicable for objects with explode=true"),""):oe(xt,be);case"simple":return Ee(Le,ke);default:return console.warn("Unexpected style for query: "+Te),""}};return(0,u.Pj)(ke)&&(ke=(0,u.zD)(ke).map(xt=>at(xt))),at(ke)}function he(be,Te,Le){switch(be){case"simple":return Ee(Te,Le);default:return console.warn("Unexpected style for header: "+be),""}}function Q(be,Te,Le,ke){switch(Te){case"form":return ee(be,Le,ke);default:return console.warn("Unexpected style for cookie: "+Te),""}}function B(be,Te){return k(Te)?JSON.stringify(be):(console.warn(`Parameter serialization as ${Te} is not supported`),"")}function J(be,Te){const{name:Le,style:ke,explode:at=!1,serializationMime:xt}=be;if(xt)switch(be.in){case"path":case"header":return B(Te,xt);case"cookie":case"query":return`${Le}=${B(Te,xt)}`;default:return console.warn("Unexpected parameter location: "+be.in),""}if(!ke)return console.warn(`Missing style attribute or content for parameter ${Le}`),"";switch(be.in){case"path":return ce(Le,ke,at,Te);case"query":return te(Le,ke,at,Te);case"header":return he(ke,at,Te);case"cookie":return Q(Le,ke,at,Te);default:return console.warn("Unexpected parameter location: "+be.in),""}}function re(be){return be.search(/xml/i)!==-1?"xml":"clike"}const W=/^#\/components\/(schemas|pathItems)\/([^/]+)$/;function V(be){return W.test(be||"")}function ae(be){var Te;return(Te=be==null?void 0:be.match(W))==null?void 0:Te.pop()}function pe(be){if(be===void 0)return;const Te=be.toString(10);return/^0\.0*1$/.test(Te)?`decimal places <= ${Te.split(".")[1].length}`:`multiple of ${Te}`}function Se(be,Te,Le){let ke;return Te!==void 0&&Le!==void 0?Te===Le?ke=`= ${Te} ${be}`:ke=`[ ${Te} .. ${Le} ] ${be}`:Le!==void 0?ke=`<= ${Le} ${be}`:Te!==void 0&&(Te===1?ke="non-empty":ke=`>= ${Te} ${be}`),ke}function De(be){var Te,Le;const ke=typeof be.exclusiveMinimum=="number"?Math.min(be.exclusiveMinimum,(Te=be.minimum)!=null?Te:1/0):be.minimum,at=typeof be.exclusiveMaximum=="number"?Math.max(be.exclusiveMaximum,(Le=be.maximum)!=null?Le:-1/0):be.maximum,xt=typeof be.exclusiveMinimum=="number"||be.exclusiveMinimum,qe=typeof be.exclusiveMaximum=="number"||be.exclusiveMaximum;if(ke!==void 0&&at!==void 0)return`${xt?"( ":"[ "}${ke} .. ${at}${qe?" )":" ]"}`;if(at!==void 0)return`${qe?"< ":"<= "}${at}`;if(ke!==void 0)return`${xt?"> ":">= "}${ke}`}function nt(be){const Te=[],Le=Se("characters",be.minLength,be.maxLength);Le!==void 0&&Te.push(Le);const ke=Se("items",be.minItems,be.maxItems);ke!==void 0&&Te.push(ke);const at=Se("properties",be.minProperties,be.maxProperties);at!==void 0&&Te.push(at);const xt=pe(be.multipleOf);xt!==void 0&&Te.push(xt);const qe=De(be);return qe!==void 0&&Te.push(qe),be.uniqueItems&&Te.push("unique"),Te}function Me(be,Te=[]){const Le=[],ke=[],at=[];return be.forEach(xt=>{xt.required?Te.includes(xt.name)?ke.push(xt):at.push(xt):Le.push(xt)}),ke.sort((xt,qe)=>Te.indexOf(xt.name)-Te.indexOf(qe.name)),[...ke,...at,...Le]}function _e(be,Te){return[...be].sort((Le,ke)=>Le[Te].localeCompare(ke[Te]))}function j(be,Te=[],Le=[]){const ke={};return Le.forEach(at=>{({resolved:at}=be.deref(at)),ke[at.name+"_"+at.in]=!0}),Te=Te.filter(at=>({resolved:at}=be.deref(at),!ke[at.name+"_"+at.in])),Te.concat(Le)}function ue(be){const Te={};return Object.keys(be).forEach(Le=>{const ke=be[Le],at=Le.split(";")[0].trim();if(!Te[at]){Te[at]=ke;return}Te[at]=v(v({},Te[at]),ke)}),Te}function Ce(be,Te={}){return be.replace(/(?:{)([\w-.]+)(?:})/g,(Le,ke)=>Te[ke]&&Te[ke].default||Le)}function et(be,Te){const Le=()=>{if(!c.Qg)return"";const xt=window.location.href;return xt.endsWith(".html")?(0,t.dirname)(xt):xt},ke=be===void 0?(0,u.jZ)(Le()):(0,t.dirname)(be);Te.length===0&&(Te=[{url:"/"}]);function at(xt){return(0,u.Kk)(ke,xt)}return Te.map(xt=>b(v({},xt),{url:at(xt.url),description:xt.description||""}))}const Pe="security-definitions",X="SecurityDefinitions",_="SchemaDefinition",$=be=>({delete:"del",options:"opts"})[be]||be;function H(be){return be 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,"x-enumDescriptions":!0,"x-hideTryItPanel":!0,"x-tokenEndpointAuthMethod":!0}}function I(be,Te){return Object.keys(be).filter(Le=>Te===!0?Le.startsWith("x-")&&!H(Le):Le.startsWith("x-")&&Te.indexOf(Le)>-1).reduce((Le,ke)=>(Le[ke]=be[ke],Le),{})}function ve(be){return be.split(" or ").map(Te=>Te.replace(/^(string|object|number|integer|array|boolean)s?( ?.*)/,"$1s$2")).join(" or ")}function $e(be){let Te=be.content;const Le=be["x-examples"],ke=be["x-example"];if(Le){Te=v({},Te);for(const at of Object.keys(Le)){const xt=Le[at];Te[at]=b(v({},Te[at]),{examples:xt})}}else if(ke){Te=v({},Te);for(const at of Object.keys(ke)){const xt=ke[at];Te[at]=b(v({},Te[at]),{example:xt})}}return Te}},92127:(L,n,e)=>{"use strict";e.d(n,{Ez:()=>tr,aP:()=>Ae});var t=e(17563),l=e(89124),s=e(9996),o=e.n(s),r=e(68949),c=e(76671),u=e(25446),a=e(64776),d=e(49376),h=e(51027),p=e(17673),E=e(8575),T=e(94110),S=e.n(T),v=e(89539),b;(function(F){F.NODEJS="Node.js",F.JAVASCRIPT="javascript",F.PYTHON="Python",F.JAVA8="Java8+Apache",F.JAVA="Java",F.CSHARP="C#",F.CSHARPNEWTONSOFT="C#+Newtonsoft",F.CURL="curl",F.GO="Go",F.PHP="PHP",F.RUBY="Ruby",F.R="R"})(b||(b={}));var m;(function(F){F.UNDER_SCORES="under_scores",F.CAMEL_CASE="camelCase",F.PASCAL_CASE="PascalCase"})(m||(m={}));var y;(function(F){F.IMPORT="import",F.CUSTOM="custom",F.PATH="path"})(y||(y={}));const O="\\ud800-\\udfff",C="\\u0300-\\u036f",A="\\ufe20-\\ufe2f",w="\\u20d0-\\u20ff",x="\\u1ab0-\\u1aff",R="\\u1dc0-\\u1dff",g=C+A+w+x+R,k="\\u2700-\\u27bf",G="a-z\\xdf-\\xf6\\xf8-\\xff",Z="\\xac\\xb1\\xd7\\xf7",oe="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",ee="\\u2000-\\u206f",Ee=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Fe="A-Z\\xc0-\\xd6\\xd8-\\xde",ce="\\ufe0e\\ufe0f",te=Z+oe+ee+Ee,he=/['\u2019]/g,Q="['\u2019]",B=`[${te}]`,J=`[${g}]`,re="\\d",W=`[${k}]`,V=`[${G}]`,ae=`[^${O}${te+re+k+G+Fe}]`,pe="\\ud83c[\\udffb-\\udfff]",Se=`(?:${J}|${pe})`,De=`[^${O}]`,nt="(?:\\ud83c[\\udde6-\\uddff]){2}",Me="[\\ud800-\\udbff][\\udc00-\\udfff]",_e=`[${Fe}]`,j="\\u200d",ue=`(?:${V}|${ae})`,Ce=`(?:${_e}|${ae})`,et=`(?:${Q}(?:d|ll|m|re|s|t|ve))?`,Pe=`(?:${Q}(?:D|LL|M|RE|S|T|VE))?`,X=`${Se}?`,_=`[${ce}]?`,$=`(?:${j}(?:${[De,nt,Me].join("|")})${_+X})*`,H="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",I="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",ve=_+X+$,$e=`(?:${[W,nt,Me].join("|")})${ve}`,be=RegExp([`${_e}?${V}+${et}(?=${[B,_e,"$"].join("|")})`,`${Ce}+${Pe}(?=${[B,_e+ue,"$"].join("|")})`,`${_e}?${ue}+${et}`,`${_e}+${Pe}`,I,H,`${re}+`,$e].join("|"),"g"),Te=F=>F.match(be),Le=RegExp(`[${j+O+g+ce}]`),ke=F=>Le.test(F),at=`[${O}]`,qe=`(?:${[`${De}${J}?`,J,nt,Me,at].join("|")})`,q=RegExp(`${pe}(?=${pe})|${qe+ve}`,"g"),ne=F=>F.match(q)||[],ie=F=>F.split(""),K=F=>{const me=Object.prototype.toString;return F==null?F===void 0?"[object Undefined]":"[object Null]":me.call(F)},we=F=>{const me=typeof F;return me=="symbol"||me==="object"&&F!=null&&K(F)=="[object Symbol]"},He=1/0,Je=F=>{if(F==null)return"";if(typeof F=="string")return F;if(Array.isArray(F))return`${F.map(Ne=>Ne==null?Ne:Je(Ne))}`;if(we(F))return F.toString();const me=`${F}`;return me=="0"&&1/F==-He?"-0":me},ft=RegExp.prototype.test.bind(/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/),At=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Lt=F=>F.match(At),Yt=(F,me,Ne)=>{let Bt=F==null?0:F.length;if(!Bt)return[];me=me==null?0:me,Ne=Ne===void 0?Bt:Ne,me<0&&(me=-me>Bt?0:Bt+me),Ne=Ne>Bt?Bt:Ne,Ne<0&&(Ne+=Bt),Bt=me>Ne?0:Ne-me>>>0,me>>>=0;let Gt=-1;const Wt=new Array(Bt);for(;++Gt<Bt;)Wt[Gt]=F[Gt+me];return Wt},Vt=F=>(ft(F)?Te(F):Lt(F))||[],ze=(F,me)=>{const{length:Ne}=F,Bt=Ne;return!me&&Bt>=Ne?F:Yt(F,me,Bt)},dt=F=>ke(F)?ne(F):ie(F),pt=(F=>me=>{if(!me)return"";const Ne=ke(me)?dt(me):void 0,Bt=Ne?Ne[0]:me[0],Gt=Ne?ze(Ne,1).join(""):me.slice(1);return Bt[F]()+Gt})("toUpperCase"),Ct=F=>Vt(Je(F).replace(/['\u2019]/g,"")).reduce((me,Ne,Bt)=>(Ne=Ne.toLowerCase(),me+(Bt?pt(Ne):Ne)),""),$t=F=>Vt(Je(F).replace(he,"")).reduce((me,Ne,Bt)=>me+(Bt?" ":"")+Ne.toLowerCase(),""),fn=F=>Vt(Je(F).replace(/['\u2019]/g,"")).reduce((me,Ne,Bt)=>me+(Bt?"_":"")+Ne.toLowerCase(),""),cn=F=>Vt(`${F}`.replace(/['\u2019]/g,"")).reduce((me,Ne,Bt)=>me+(Bt?" ":"")+pt(Ne),"");class Rn{static toCamelCase(me){return Ct(me)}static toTitleCase(me){return cn(Ct(me))}static toPascalCase(me){return cn(Ct(me)).replace(/ /g,"")}static toLowerCase(me){return $t(me).replace(/ /g,"")}static toSnakeCase(me){return fn(me)}}var Ke=Object.defineProperty,Ue=Object.getOwnPropertySymbols,it=Object.prototype.hasOwnProperty,Et=Object.prototype.propertyIsEnumerable,Ot=(F,me,Ne)=>me in F?Ke(F,me,{enumerable:!0,configurable:!0,writable:!0,value:Ne}):F[me]=Ne,dn=(F,me)=>{for(var Ne in me||(me={}))it.call(me,Ne)&&Ot(F,Ne,me[Ne]);if(Ue)for(var Ne of Ue(me))Et.call(me,Ne)&&Ot(F,Ne,me[Ne]);return F},Ln=(F,me,Ne)=>(Ot(F,typeof me!="symbol"?me+"":me,Ne),Ne);const $n={[b.NODEJS]:m.CAMEL_CASE,[b.JAVASCRIPT]:m.CAMEL_CASE,[b.PYTHON]:m.UNDER_SCORES,[b.JAVA8]:m.CAMEL_CASE,[b.JAVA]:m.CAMEL_CASE,[b.CSHARP]:m.PASCAL_CASE,[b.CSHARPNEWTONSOFT]:m.PASCAL_CASE,[b.CURL]:m.CAMEL_CASE,[b.GO]:m.CAMEL_CASE,[b.PHP]:m.CAMEL_CASE,[b.RUBY]:m.UNDER_SCORES,[b.R]:m.UNDER_SCORES},An={default:{joinSymbol:"",variableWrapperFn:F=>F,stringLiteral:F=>F,variableDeclaration:F=>F,urlFieldName:"url"},[b.CSHARP]:{joinSymbol:" + ",stringLiteral:F=>`"${F}"`,variableDeclaration:F=>`var ${F} = "%s";`,urlFieldName:"fullUrl"},[b.CSHARPNEWTONSOFT]:{joinSymbol:" + ",stringLiteral:F=>`"${F}"`,variableDeclaration:F=>`var ${F} = "%s";`,urlFieldName:"fullUrl"},[b.GO]:{joinSymbol:" + ",stringLiteral:F=>`"${F}"`,variableDeclaration:F=>`${F} := "%s";`},[b.JAVA]:{joinSymbol:" + ",stringLiteral:F=>`"${F}"`,variableDeclaration:F=>`var ${F} = "%s";`,urlFieldName:"pathname"},[b.JAVA8]:{joinSymbol:" + ",stringLiteral:F=>`"${F}"`,variableDeclaration:F=>`String ${F} = "%s";`,urlFieldName:"fullUrl"},[b.JAVASCRIPT]:{variableWrapperFn:F=>"${"+F+"}",variableDeclaration:F=>`const ${F} = '%s';`},[b.NODEJS]:{variableWrapperFn:F=>"${"+F+"}",variableDeclaration:F=>`const ${F} = '%s';`},[b.PHP]:{joinSymbol:" . ",stringLiteral:F=>`"${F}"`,variableDeclaration:F=>`const ${F} = "%s";`},[b.PYTHON]:{stringLiteral:F=>`"${F}"`,joinSymbol:" + ",variableDeclaration:F=>`${F} = "%s"`},[b.RUBY]:{joinSymbol:" + ",stringLiteral:F=>`'${F}'`,variableDeclaration:F=>`${F} = '%s'`},[b.CURL]:{variableWrapperFn:(F,me)=>me||`{${F}}`,urlFieldName:"fullUrl",rawName:!0},[b.R]:{joinSymbol:" %&% ",variableDeclaration:F=>`${F} = "%s"`,urlFieldName:"fullUrl",stringLiteral:F=>`"${F}"`,variableWrapperFn:F=>`${F}`}},Gn=["response","request","requests","data","url","payload","main","accessToken","resp","Program","client","postData","App","httpClient","params","pathname","host","body","fetch","query"];class Pn{constructor({indentation:me,lineJoin:Ne=`
|
|
2627
|
+
`,variablesPrefix:Bt="",capitalize:Gt=!1,lang:Wt=b.CURL}){Ln(this,"code"),Ln(this,"indentation"),Ln(this,"variablesPrefix"),Ln(this,"lineJoin"),Ln(this,"capitalize"),Ln(this,"lang"),Ln(this,"langOptions"),this.code=[],this.indentation=me,this.variablesPrefix=Bt,this.lineJoin=Ne||`
|
|
2628
|
+
`,this.capitalize=Gt,this.lang=Wt,this.langOptions=dn(dn({},An.default),An[Wt])}buildLine(me,Ne){let Bt="",Gt=2;if(typeof me=="string")Gt=1,Ne=me,me=0;else if(me===null)return null;for(;me;)Bt+=this.indentation,me--;const Wt=Array.prototype.slice.call(arguments,Gt,arguments.length);return Wt.unshift(Bt+Ne),v.format.apply(this,Wt)}unshift(...me){return this.code.unshift(this.buildLine.apply(this,me)),this}push(...me){return this.code.push(this.buildLine.apply(this,me)),this}blank(){return this.code.push(null),this}join(){return this.code.join(this.lineJoin)}clean(){this.code.splice(1)}var(me,Ne=y.CUSTOM){if(Ne===y.PATH){let Bt=this.variablesPrefix+me;switch(Gn.includes(Bt)&&(Bt=`${Bt}_path`),$n[this.lang]){case m.UNDER_SCORES:Bt=Rn.toSnakeCase(Bt);break;case m.PASCAL_CASE:Bt=Rn.toPascalCase(Bt);break;case m.CAMEL_CASE:default:Bt=Rn.toCamelCase(Bt);break}return Bt}return this.variablesPrefix?this.variablesPrefix+(this.capitalize?Rn.toPascalCase(me):me):me}}var Ze=Object.defineProperty,ut=Object.getOwnPropertySymbols,Pt=Object.prototype.hasOwnProperty,Mt=Object.prototype.propertyIsEnumerable,zt=(F,me,Ne)=>me in F?Ze(F,me,{enumerable:!0,configurable:!0,writable:!0,value:Ne}):F[me]=Ne,Zt=(F,me)=>{for(var Ne in me||(me={}))Pt.call(me,Ne)&&zt(F,Ne,me[Ne]);if(ut)for(var Ne of ut(me))Mt.call(me,Ne)&&zt(F,Ne,me[Ne]);return F};function Qe({body:F,authorizationHeader:me}){return function(Ne,Bt,Gt){return F&&Bt==="body"&&typeof Ne.body=="string"?Ne.body:me&&Bt==="Authorization"&&typeof Ne.Authorization=="string"?Ne.Authorization:Gt}}function ot(F,{level:me=0,indent:Ne=" ",firstLine:Bt=!0}={}){const Gt=Ne.repeat(me),Wt=F.replace(/(\r\n|\n|\r)/gm,`
|
|
2629
|
+
${Gt}`);return Bt?Gt.concat(Wt):Wt}function Xe(F,me){const Bt=Object.keys(me).map(Kt=>({name:Kt,idx:F.indexOf(`{${Kt}}`)})).filter(({idx:Kt})=>Kt>-1).sort((Kt,Rt)=>Kt.idx-Rt.idx),Gt=[];let Wt=0;for(const{name:Kt,idx:Rt}of Bt)Rt>Wt&&Gt.push({type:"string",value:F.substring(Wt,Rt)}),Gt.push({type:"variable",name:Kt}),Wt=Rt+Kt.length+2;return Wt<F.length&&Gt.push({type:"string",value:F.substring(Wt)}),Gt}function st(F,me){const{joinSymbol:Ne,variableWrapperFn:Bt,stringLiteral:Gt,urlFieldName:Wt,rawName:Kt}=me.langOptions,{pathParameters:Rt={},serverVariables:Tt={}}=F,mt=Zt(Zt({},Rt),Tt);return Xe(F[Wt]||"",mt).map(Xt=>{if(Xt.type==="variable"){const rn=mt[Xt.name],Dt=Kt?Xt.name:me.var(Xt.name,y.PATH);return Bt(Dt,rn)}else return Gt(Xt.value)}).join(Ne)}function wt({pathParameters:F={},serverVariables:me={}},Ne,Bt){Object.entries(Zt(Zt({},F),me)).forEach(([Gt,Wt])=>{const Kt=Wt||`YOUR_${Gt}_PARAMETER`,Rt=Ne.var(Gt,y.PATH);Bt!==void 0?Ne.push(Bt,Ne.langOptions.variableDeclaration(Rt),Kt):Ne.push(Ne.langOptions.variableDeclaration(Rt),Kt)})}function tn(F){const me={};return F.forEach((Ne,Bt)=>{Object.prototype.hasOwnProperty.call(me,Bt)?Array.isArray(me[Bt])?me[Bt].push(Ne):me[Bt]=[me[Bt],Ne]:me[Bt]=Ne}),me}var qt=Object.defineProperty,bn=Object.defineProperties,Fn=Object.getOwnPropertyDescriptors,Nn=Object.getOwnPropertySymbols,rr=Object.prototype.hasOwnProperty,jn=Object.prototype.propertyIsEnumerable,En=(F,me,Ne)=>me in F?qt(F,me,{enumerable:!0,configurable:!0,writable:!0,value:Ne}):F[me]=Ne,Xn=(F,me)=>{for(var Ne in me||(me={}))rr.call(me,Ne)&&En(F,Ne,me[Ne]);if(Nn)for(var Ne of Nn(me))jn.call(me,Ne)&&En(F,Ne,me[Ne]);return F},kn=(F,me)=>bn(F,Fn(me));const On=function(F,me,{target:Ne,client:Bt}){var Gt,Wt,Kt,Rt,Tt,mt;const Xt=Xn({indent:" ",credentials:null},me),rn=new Pn({indentation:Xt.indent,variablesPrefix:Xt.variablesPrefix,capitalize:!0,lang:b.JAVASCRIPT}),Dt={method:F.method.toUpperCase()};Object.keys(F.headersObj).length&&(Dt.headers=F.headersObj);let en=!1;if(Xt.withComments&&Yn(rn),(Gt=F.securityOAuth2ExtraCalls)==null?void 0:Gt.length){const yn=new pi((Wt=F.securityOAuth2ExtraCalls)==null?void 0:Wt[0]).convert(Ne,Bt,kn(Xn({},Xt),{withImports:!1,withComments:!1,variablesPrefix:"oAuth2"}));rn.push(yn),rn.blank(),Dt.headers=Dt.headers||{},Dt.headers.Authorization="'Bearer ' + oAuth2Data.access_token",en=!0}Xt.credentials!==null&&(Dt.credentials=Xt.credentials);const Nt=Object.getOwnPropertyNames(F.queryObj).length;if(Nt&&rn.push(`const ${rn.var("query")} = new URLSearchParams(${S()(F.queryObj,{indent:Xt.indent,inlineCharacterLimit:25})}).toString();`).blank(),F.postData)switch((0,a.PP)(F.postData.mimeType)){case d.T.URL_ENCODED:Dt.body=F.postData.paramsObj?`new URLSearchParams(${rn.var("formData")}).toString()`:F.postData.text,F.postData.paramsObj&&rn.push(`const ${rn.var("formData")} = ${ot(S()(F.postData.paramsObj,{indent:Xt.indent,inlineCharacterLimit:25}),{level:0,firstLine:!1})};`).blank();break;case d.T.JSON:F.postData.jsonObj&&(Dt.body=`JSON.stringify(${ot(S()(F.postData.jsonObj,{indent:Xt.indent,inlineCharacterLimit:25}),{level:1,firstLine:!1})})`);break;case d.T.MULTIPART:rn.push(`const ${rn.var("form")} = new FormData();`),((Kt=Dt==null?void 0:Dt.headers)==null?void 0:Kt["Content-Type"])&&((Rt=Dt.headers)==null||delete Rt["Content-Type"]),F.postData.params.forEach(function(yn){rn.push(`${rn.var("form")}.append(%s, %s);`,JSON.stringify(yn.name),JSON.stringify(yn.value||yn.fileName||""))}),Dt.body=rn.var("form"),rn.blank();break;default:F.postData.text&&(Dt.body=`\`${ot(F.postData.text,{level:2,indent:Xt.indent,firstLine:!1}).trim()}\``)}const fr=Dt.headers&&Dt.headers.Accept&&(0,a.PP)(Dt.headers.Accept)===d.T.JSON||(0,a.PP)((Tt=F.postData)==null?void 0:Tt.mimeType)===d.T.JSON;if(F.basicAuth){const{username:yn,password:zn}=F.basicAuth;Dt.headers=Dt.headers||{},Dt.headers.Authorization=`'Basic ' + btoa('${yn}:${zn}')`,en=!0}wt(F,rn);const Cn=st(F,rn);return rn.push(`const ${rn.var("resp")} = await fetch(`).push(1,"`"+Cn+(Nt?"?${"+rn.var("query")+"}":"")+"`,").push(ot(S()(Dt,{indent:Xt.indent,inlineCharacterLimit:25,transform:Qe({body:!0,authorizationHeader:en})}),{level:1,indent:Xt.indent})).push(");").blank(),((mt=F.allResponseCodes)==null?void 0:mt.includes("204"))?(rn.push("if (resp.status === 204) {").push(1,"console.log('success');").push("} else {"),rn.push(1,`const ${rn.var("data")} = await ${rn.var("resp")}.${fr?"json()":"text()"};`).push(1,`console.log(${rn.var("data")});`).push("}")):rn.push(`const ${rn.var("data")} = await ${rn.var("resp")}.${fr?"json()":"text()"};`).push(`console.log(${rn.var("data")});`),rn.join()};function Yn(F){F.push("/**"),F.push(" * Requires ES8-compatible browser: https://caniuse.com/async-functions"),F.push(" */"),F.blank()}const Hn={key:"fetch",title:"fetch",link:"https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API/Using_Fetch",description:"Perform asynchronous HTTP requests with the Fetch API"},hr={info:{key:"javascript",title:"JavaScript",extname:".js",default:"fetch"},fetch:On};var sr=Object.defineProperty,ur=Object.defineProperties,Qn=Object.getOwnPropertyDescriptors,vr=Object.getOwnPropertySymbols,Dr=Object.prototype.hasOwnProperty,jr=Object.prototype.propertyIsEnumerable,Er=(F,me,Ne)=>me in F?sr(F,me,{enumerable:!0,configurable:!0,writable:!0,value:Ne}):F[me]=Ne,Vr=(F,me)=>{for(var Ne in me||(me={}))Dr.call(me,Ne)&&Er(F,Ne,me[Ne]);if(vr)for(var Ne of vr(me))jr.call(me,Ne)&&Er(F,Ne,me[Ne]);return F},Sr=(F,me)=>ur(F,Qn(me));const Tr=function(F,me,{target:Ne,client:Bt}){var Gt,Wt,Kt,Rt,Tt,mt;const Xt=Object.assign({indent:" ",showBoilerplate:!0,level:1},me),{level:rn}=Xt;let Dt=!1;const en=new Pn({indentation:Xt.indent,variablesPrefix:Xt.variablesPrefix,capitalize:!0,lang:b.NODEJS});Xt.withComments&&qn(en),Xt.withImports&&(en.push("import fetch from 'node-fetch';"),en.blank()),Xt.showBoilerplate&&en.push("async function run() {");const Nt={method:F.method.toUpperCase()};Object.keys(F.headersObj).length&&(Nt.headers=F.headersObj);let fr=!1;if((Gt=F.securityOAuth2ExtraCalls)==null?void 0:Gt.length){const Vn=new pi((Wt=F.securityOAuth2ExtraCalls)==null?void 0:Wt[0]).convert(Ne,Bt,Sr(Vr({},Xt),{withImports:!1,withComments:!1,variablesPrefix:"oAuth2",showBoilerplate:!1,level:1}));en.push(Vn),en.blank(),Nt.headers=Nt.headers||{},Nt.headers.Authorization="'Bearer ' + oAuth2Data.access_token",fr=!0}const Cn=Object.getOwnPropertyNames(F.queryObj).length;if(Cn&&en.push(rn,`const ${en.var("query")} = new URLSearchParams(${ot(S()(F.queryObj,{indent:Xt.indent,inlineCharacterLimit:25}),{level:rn,indent:Xt.indent,firstLine:!1})}).toString();`).blank(),F.postData)switch((0,a.PP)(F.postData.mimeType)){case d.T.URL_ENCODED:Nt.body=F.postData.paramsObj?`new URLSearchParams(${en.var("formData")}).toString()`:F.postData.text,F.postData.paramsObj&&en.push(rn,`const ${en.var("formData")} = ${ot(S()(F.postData.paramsObj,{indent:Xt.indent,inlineCharacterLimit:25}),{level:rn,firstLine:!1})};`).blank();break;case d.T.JSON:F.postData.jsonObj&&(Nt.body=`JSON.stringify(${ot(S()(F.postData.jsonObj,{indent:Xt.indent,inlineCharacterLimit:25}),{level:rn,firstLine:!1})})`);break;case d.T.MULTIPART:((Kt=Nt==null?void 0:Nt.headers)==null?void 0:Kt["Content-Type"])&&((Rt=Nt.headers)==null||delete Rt["Content-Type"]),Xt.withImports&&en.unshift("import FormData from 'form-data';"),en.push(rn,`const ${en.var("form")} = new FormData();`),F.postData.params.forEach(function(Vn){if(!Vn.fileName&&!Vn.fileName&&!Vn.contentType){en.push(rn,"form.append('"+Vn.name+"','"+Vn.value+"');");return}Vn.fileName&&(Dt=!0,en.blank(),en.push(rn,`${en.var("form")}.append('" + param.name + "', fs.createReadStream('" + param.fileName + "'));`))}),Nt.body=en.var("form"),en.blank();break;default:F.postData.text&&(Nt.body=`\`${ot(F.postData.text,{level:rn+1,indent:Xt.indent,firstLine:!1}).trim()}\``)}if(F.cookies.length){let Vn="";F.cookies.forEach(function(Mr){Vn=Vn+encodeURIComponent(Mr.name)+"="+encodeURIComponent(Mr.value)+"; "}),Vn=Vn.trim(),Nt.headers||(Nt.headers={}),Nt.headers.cookie=Vn}if(F.basicAuth){const{username:Vn,password:Mr}=F.basicAuth;Nt.headers=Nt.headers||{},Nt.headers.Authorization=`'Basic ' + Buffer.from('${Vn}:${Mr}').toString('base64')`,fr=!0}Dt&&Xt.withImports&&en.unshift("import fs from 'fs';");const yn=Nt.headers&&Nt.headers.Accept&&(0,a.PP)(Nt.headers.Accept)===d.T.JSON||(0,a.PP)((Tt=F.postData)==null?void 0:Tt.mimeType)===d.T.JSON;wt(F,en,rn);const zn=st(F,en);return en.push(rn,`const ${en.var("resp")} = await fetch(`).push(rn+1,"`"+zn+(Cn?"?${"+en.var("query")+"}":"")+"`,").push(rn+1,ot(S()(Nt,{indent:Xt.indent,inlineCharacterLimit:25,transform:Qe({body:!0,authorizationHeader:fr})}),{level:rn+1,indent:Xt.indent,firstLine:!1})).push(rn,");").blank(),((mt=F.allResponseCodes)==null?void 0:mt.includes("204"))?(en.push(rn,"if (resp.status === 204) {").push(rn+1,"console.log('success');").push(rn,"} else {"),en.push(rn+1,`const ${en.var("data")} = await ${en.var("resp")}.${yn?"json()":"text()"};`).push(rn+1,`console.log(${en.var("data")});`).push(rn,"}")):en.push(rn,`const ${en.var("data")} = await ${en.var("resp")}.${yn?"json()":"text()"};`).push(rn,`console.log(${en.var("data")});`),Xt.showBoilerplate&&en.push("}").blank().push("run();"),en.join().replace(/"fs\.createReadStream\(\\"(.+)\\"\)"/,'fs.createReadStream("$1")')};function qn(F){F.push("/**"),F.push(" * Requires Node.js >= 14"),F.push(" *"),F.push(' * Requires module "node-fetch" >= 2.6.1'),F.push(" * See here for installation details:"),F.push(" * https://www.npmjs.com/package/node-fetch"),F.push(" */"),F.blank()}const ln={key:"fetch",title:"Fetch",link:"https://github.com/bitinn/node-fetch",description:"Simplified HTTP node-fetch client"},pn={info:{key:"node",title:"Node.js",extname:".js",default:"fetch"},fetch:Tr};var vn=Object.defineProperty,er=Object.defineProperties,ar=Object.getOwnPropertyDescriptors,nr=Object.getOwnPropertySymbols,Ye=Object.prototype.hasOwnProperty,ye=Object.prototype.propertyIsEnumerable,Re=(F,me,Ne)=>me in F?vn(F,me,{enumerable:!0,configurable:!0,writable:!0,value:Ne}):F[me]=Ne,gt=(F,me)=>{for(var Ne in me||(me={}))Ye.call(me,Ne)&&Re(F,Ne,me[Ne]);if(nr)for(var Ne of nr(me))ye.call(me,Ne)&&Re(F,Ne,me[Ne]);return F},We=(F,me)=>er(F,ar(me));const rt=function(F,me,{target:Ne,client:Bt}){var Gt,Wt,Kt,Rt;const Tt=Object.assign({indent:" "},me),{level:mt=0}=Tt,Xt=new Pn({indentation:Tt.indent,variablesPrefix:Tt.variablesPrefix,lang:b.PYTHON});Tt.withComments&&sn(Xt),Tt.withImports&&Xt.push("import requests").blank();let rn=!1,Dt=F.allHeaders;if((Gt=F.securityOAuth2ExtraCalls)==null?void 0:Gt.length){const Pi=new pi((Wt=F.securityOAuth2ExtraCalls)==null?void 0:Wt[0]).convert(Ne,Bt,We(gt({},Tt),{withImports:!1,withComments:!1,variablesPrefix:"oauth2_"}));Xt.push(Pi),Xt.blank(),Dt=Dt||{},Dt.Authorization='"Bearer " + oauth2_data["access_token"]',rn=!0}wt(F,Xt),Xt.push(`${Xt.var("url").toLowerCase()} = %s`,st(F,Xt)).blank();let en;if(Object.keys(F.queryObj||{}).length){const Pi=an(F.queryObj,Tt.indent);en="query = "+Pi,Xt.push(en).blank()}let Nt;const fr=(0,a.PP)((Kt=F.postData)==null?void 0:Kt.mimeType);if(F.postData)switch(fr){case d.T.URL_ENCODED:Nt=F.postData.paramsObj?`${ot(an(F.postData.paramsObj,Tt.indent),{level:0,firstLine:!1})}`:F.postData.text;break;case d.T.JSON:F.postData.jsonObj&&(Nt=ot(an(F.postData.jsonObj,Tt.indent),{level:0,firstLine:!1}));break;case d.T.MULTIPART:Xt.unshift(`# multipart/form-data is not supported yet
|
|
2630
2630
|
`);break;default:F.postData.text&&(Nt=`'''
|
|
2631
2631
|
${ot(F.postData.text.trim(),{level:1,indent:Tt.indent,firstLine:!0})}
|
|
2632
|
-
'''`)}Nt&&Xt.push(`${Xt.var("payload").toLowerCase()} = %s`,Nt).blank();let
|
|
2633
|
-
`+
|
|
2632
|
+
'''`)}Nt&&Xt.push(`${Xt.var("payload").toLowerCase()} = %s`,Nt).blank();let Cn;const yn=Object.keys(Dt).length,zn=(Pi,Ys)=>Pi==="Authorization"&&rn?Ys:`"${Ys}"`;if(yn===1)for(Cn in Dt)Xt.push(`${Xt.var("headers").toLowerCase()} = {"${Cn}": ${zn(Cn,Dt[Cn])}}`).blank();else if(yn>1){let Pi=1;Xt.push(`${Xt.var("headers").toLowerCase()} = {`);for(Cn in Dt)Pi++!==yn?Xt.push(1,`"${Cn}": ${zn(Cn,Dt[Cn])},`):Xt.push(1,`"${Cn}": ${zn(Cn,Dt[Cn])}`);Xt.push(0,"}").blank()}const Vn=F.method.toLowerCase();let Mr=(0,v.format)(`${Xt.var("response").toLowerCase()} = requests.${Vn}(${Xt.var("url").toLowerCase()}`);return Nt&&(Mr+=`, ${fr===d.T.JSON?"json":"data"}=${Xt.var("payload").toLowerCase()}`),yn>0&&(Mr+=`, headers=${Xt.var("headers").toLowerCase()}`),en&&(Mr+=`, params=${Xt.var("query").toLowerCase()}`),F.basicAuth&&(Mr+=`, auth=('${F.basicAuth.username}','${F.basicAuth.password}')`),Mr+=")",Xt.push(Mr).blank(),((Rt=F.allResponseCodes)==null?void 0:Rt.includes("204"))?Xt.push("if response.status_code == 204:").push(mt+1,'print("success")').push("else:").push(mt+1,`${Xt.var("data").toLowerCase()} = ${Xt.var("response").toLowerCase()}.json()`).push(mt+1,`print(${Xt.var("data").toLowerCase()})`):Xt.push(`${Xt.var("data").toLowerCase()} = ${Xt.var("response").toLowerCase()}.json()`).push(`print(${Xt.var("data").toLowerCase()})`),Xt.join()};function sn(F){F.push('"""'),F.push("Requires python >= 3"),F.blank(),F.push('Requires module "requests" >= 2.25.1'),F.push("See here for installation details:"),F.push(" https://requests.readthedocs.io/"),F.push('"""'),F.blank()}function an(F,me){return JSON.stringify(F,function(Bt,Gt){return Bt&&typeof Gt=="boolean"?Gt?"__REDOCLY_<True>__":"__REDOCLY_<False>__":Gt===null?"__REDOCLY_<None>__":Gt},me).replace(/"__REDOCLY_<(\w+)>__"/g,"$1")}const In={info:{key:"python",title:"Python",extname:".py",default:"python3"},requests:rt},Ht={quote:function(F){return/^[a-z0-9-_/.@%^=:]+$/i.test(F)?F:(0,v.format)("'%s'",F.replace(/'/g,"'\\''"))},escape:function(F){return F.replace(/\r/g,"\\r").replace(/\n/g,"\\n")}};var Tn=Object.defineProperty,_n=Object.defineProperties,Be=Object.getOwnPropertyDescriptors,lt=Object.getOwnPropertySymbols,jt=Object.prototype.hasOwnProperty,on=Object.prototype.propertyIsEnumerable,cr=(F,me,Ne)=>me in F?Tn(F,me,{enumerable:!0,configurable:!0,writable:!0,value:Ne}):F[me]=Ne,Dn=(F,me)=>{for(var Ne in me||(me={}))jt.call(me,Ne)&&cr(F,Ne,me[Ne]);if(lt)for(var Ne of lt(me))on.call(me,Ne)&&cr(F,Ne,me[Ne]);return F},Cr=(F,me)=>_n(F,Be(me));const Rr=function(F,me,{target:Ne,client:Bt}){var Gt,Wt;const Kt=Object.assign({indent:" ",short:!1,binary:!1},me),Rt=new Pn({indentation:Kt.indent,lineJoin:Kt.indent?` \\
|
|
2633
|
+
`+Kt.indent:" "}),Tt=((Gt=F.securityOAuth2ExtraCalls)==null?void 0:Gt.length)?new pi((Wt=F.securityOAuth2ExtraCalls)==null?void 0:Wt[0]).convert(Ne,Bt,Cr(Dn({},Kt),{withComments:!1})):"";Rt.push(0,"curl -i %s %s",Kt.short?"-X":"--request",F.method.toUpperCase()),F.basicAuth&&Rt.push((0,v.format)("-u %s:%s",F.basicAuth.username,F.basicAuth.password));const mt=st(F,Rt);if(Rt.push((0,v.format)("%s%s",Kt.short?"":"--url ",Ht.quote(mt))),F.httpVersion==="HTTP/1.0"&&Rt.push(Kt.short?"-0":"--http1.0"),Object.keys(F.headersObj).sort().forEach(function(rn){const Dt=(0,v.format)("%s: %s",rn,F.headersObj[rn]);Rt.push("%s %s",Kt.short?"-H":"--header",Ht.quote(Dt))}),F.allHeaders.cookie&&Rt.push("%s %s",Kt.short?"-b":"--cookie",Ht.quote(F.allHeaders.cookie)),F.postData)switch((0,a.PP)(F.postData.mimeType)){case d.T.MULTIPART:F.postData.params.map(function(rn){let Dt;rn.fileName?Dt=(0,v.format)("%s=@%s",rn.name,rn.fileName):Dt=(0,v.format)("%s=%s",rn.name,rn.value),Rt.push("%s %s",Kt.short?"-F":"--form",Ht.quote(Dt))});break;case d.T.URL_ENCODED:F.postData.params?F.postData.params.map(function(rn){Rt.push("%s %s",Kt.binary?"--data-binary":Kt.short?"-d":"--data",Ht.quote((0,v.format)("%s=%s",rn.name,rn.value)))}):Rt.push("%s %s",Kt.binary?"--data-binary":Kt.short?"-d":"--data",Ht.quote(F.postData.text));break;case d.T.JSON:F.postData.jsonObj&&Rt.push("%s %s",Kt.binary?"--data-binary":Kt.short?"-d":"--data",ot(Ht.quote(JSON.stringify(F.postData.jsonObj,null,Kt.indent)),{level:1,indent:Kt.indent,firstLine:!1}));break;default:F.postData.text&&Rt.push("%s %s",Kt.binary?"--data-binary":Kt.short?"-d":"--data",ot(Ht.quote(F.postData.text),{level:1,indent:Kt.indent,firstLine:!1}))}return(Kt.withComments?`# Requires curl >= 7.2
|
|
2634
2634
|
|
|
2635
2635
|
`:"")+(Tt?Tt+`
|
|
2636
2636
|
|
|
2637
|
-
`+Rt.join():Rt.join())},$r={key:"curl",title:"curl",link:"http://curl.haxx.se/",description:"cURL is a command line tool and library for transferring data with URL syntax"},lr={info:{key:"shell",title:"Shell",extname:".sh",default:"curl"},curl:Rr};var ni=Object.defineProperty,Hr=Object.defineProperties,_r=Object.getOwnPropertyDescriptors,qr=Object.getOwnPropertySymbols,Kr=Object.prototype.hasOwnProperty,ti=Object.prototype.propertyIsEnumerable,Lr=(F,me,Ne)=>me in F?ni(F,me,{enumerable:!0,configurable:!0,writable:!0,value:Ne}):F[me]=Ne,Fr=(F,me)=>{for(var Ne in me||(me={}))Kr.call(me,Ne)&&Lr(F,Ne,me[Ne]);if(qr)for(var Ne of qr(me))ti.call(me,Ne)&&Lr(F,Ne,me[Ne]);return F},fe=(F,me)=>Hr(F,_r(me));const xe=function(F,me,{target:Ne,client:Bt}){var
|
|
2638
|
-
`).forEach(Dt=>{const en=Dt.replace(/"/g,'\\"');Rt.push(3,`, "${en}"`)}),Rt.push(2,");"),Rt.push(2,"%s.setEntity(new StringEntity(payload));",Rt.var("request")));break}return
|
|
2637
|
+
`+Rt.join():Rt.join())},$r={key:"curl",title:"curl",link:"http://curl.haxx.se/",description:"cURL is a command line tool and library for transferring data with URL syntax"},lr={info:{key:"shell",title:"Shell",extname:".sh",default:"curl"},curl:Rr};var ni=Object.defineProperty,Hr=Object.defineProperties,_r=Object.getOwnPropertyDescriptors,qr=Object.getOwnPropertySymbols,Kr=Object.prototype.hasOwnProperty,ti=Object.prototype.propertyIsEnumerable,Lr=(F,me,Ne)=>me in F?ni(F,me,{enumerable:!0,configurable:!0,writable:!0,value:Ne}):F[me]=Ne,Fr=(F,me)=>{for(var Ne in me||(me={}))Kr.call(me,Ne)&&Lr(F,Ne,me[Ne]);if(qr)for(var Ne of qr(me))ti.call(me,Ne)&&Lr(F,Ne,me[Ne]);return F},fe=(F,me)=>Hr(F,_r(me));const xe=function(F,me,{target:Ne,client:Bt}){var Gt,Wt;const Kt=Object.assign({indent:" ",withWrapper:!0},me),Rt=new Pn({indentation:Kt.indent,variablesPrefix:Kt.variablesPrefix,capitalize:!0,lang:b.JAVA8}),Tt=Bn(F.method);if(Kt.withComments&&Ut(Rt),Kt.withImports&&hn(Rt,F),Kt.withWrapper&&(Rt.push("public class App {"),Rt.push(1,"public static void main(String[] args ) throws java.io.IOException {"),Rt.push(2,"HttpClient httpClient = HttpClientBuilder.create().build();"),Rt.blank()),(Gt=F.securityOAuth2ExtraCalls)==null?void 0:Gt.length){const Dt=new pi((Wt=F.securityOAuth2ExtraCalls)==null?void 0:Wt[0]).convert(Ne,Bt,fe(Fr({},Kt),{withImports:!1,withWrapper:!1,withComments:!1,variablesPrefix:"oauth2"}));Rt.push(Dt),Rt.push(2,"JSONObject %s = new JSONObject(EntityUtils.toString(httpClient.execute(%s).getEntity()));","oauth2Response","oauth2Request"),Rt.push(2,'String accessToken = %s.getString("access_token");',"oauth2Response"),Rt.blank()}wt(F,Rt,2);const mt=st(F,Rt);Rt.push(2,`%s ${Rt.var("request")} = new %s(%s);`,Tt,Tt,mt);const Xt=Object.keys(F.allHeaders);if(Xt.length&&!(F.postData&&F.postData.mimeType==d.T.MULTIPART)&&Xt.forEach(Dt=>{var en;Rt.push(2,'%s.setHeader("%s", %s);',Rt.var("request"),Dt,((en=F.securityOAuth2ExtraCalls)==null?void 0:en.length)?'"Bearer " + accessToken':`"${F.allHeaders[Dt]}"`)}),F.basicAuth){const{username:Dt,password:en}=F.basicAuth;Rt.push(2,`String encodedString = Base64.getEncoder().encodeToString("${Dt}:${en}".getBytes());`),Rt.push(2,'%s.setHeader("%s", "%s"+encodedString);',Rt.var("request"),"Authorization","Basic ")}if(F.postData)switch((0,a.PP)(F.postData.mimeType)){case d.T.URL_ENCODED:F.postData.params&&(Rt.blank(),Rt.push(2,"List<NameValuePair> params = new ArrayList<NameValuePair>();"),F.postData.params.forEach(Dt=>{Rt.push(2,'params.add(new BasicNameValuePair("%s", "%s"));',Dt.name,Dt.value)}),Rt.push(2,"%s.setEntity(new UrlEncodedFormEntity(params));",Rt.var("request")),Rt.blank());break;case d.T.MULTIPART:F.postData.params&&(Rt.push(2,"MultipartEntity reqEntity = new MultipartEntity();"),F.postData.params.forEach(Dt=>{Rt.push(2,'reqEntity.addPart("%s", %s);',Dt.name,dr(Dt.value)?`new StringBody("${Dt.value}")`:Dt.value)}),Rt.push(2,"%s.setEntity(reqEntity);",Rt.var("request")));break;case d.T.JSON:if(F.postData.jsonObj){Rt.push(2,"JSONObject payload = new JSONObject();");for(const[Dt,en]of Object.entries(F.postData.jsonObj))Array.isArray(en)?(Rt.push(2,'payload.put("%s", new JSONArray()',Dt),en.forEach(Nt=>{pr(Nt)?(Rt.push(3,".put(new JSONObject()"),rn(Nt,4),Rt.push(3,")")):Rt.push(3,".put(%s)",Nr(Nt))}),Rt.push(2,");")):pr(en)?(Rt.push(2,'payload.put("%s", new JSONObject()%s',Dt,(0,a.Qr)(en)?");":""),rn(en,3),(0,a.Qr)(en)||Rt.push(2,");")):Rt.push(2,'payload.put("%s", %s);',Dt,Nr(en));Rt.push(2,"%s.setEntity(new StringEntity(payload.toString()));",Rt.var("request"))}break;case d.T.XML:F.postData.text&&(Rt.push(2,'String payload = String.join("\\n"'),F.postData.text.trim().split(`
|
|
2638
|
+
`).forEach(Dt=>{const en=Dt.replace(/"/g,'\\"');Rt.push(3,`, "${en}"`)}),Rt.push(2,");"),Rt.push(2,"%s.setEntity(new StringEntity(payload));",Rt.var("request")));break}return Kt.withWrapper&&(Rt.push(2,`String ${Rt.var("response")} = EntityUtils.toString(httpClient.execute(request).getEntity());`),Rt.blank(),Rt.push(2,"System.out.println(response);"),Rt.push(1,"}"),Rt.push("}")),Rt.join();function rn(Dt,en){for(const[Nt,fr]of Object.entries(Dt))pr(fr)?(Rt.push(en,'.put("%s", new JSONObject()',Nt),rn(fr,en+1),Rt.push(en,")")):Rt.push(en,'.put("%s", %s)',Nt,Nr(fr))}},Ge={key:"apachehttp",title:"Apache http",link:"https://hc.apache.org/httpcomponents-client-4.5.x/",description:"Apache HttpClient"},ht=xe;function Ut(F){F.push("/**"),F.push(" * Requires JDK >= 8"),F.push(" *"),F.push(" * Requires Apache HttpComponents Client >= 4.3.5"),F.push(" * See here for installation details:"),F.push(" * https://search.maven.org/artifact/org.apache.httpcomponents/httpcomponents-client"),F.push(" *"),F.push(' * Requires package "junit4"'),F.push(" * See here for installation details:"),F.push(" * https://junit.org/junit4"),F.push(" *"),F.push(' * Requires package "org.json" >= 20180130'),F.push(" * See here for installation details:"),F.push(" * https://search.maven.org/artifact/org.json/json"),F.push(" */"),F.blank()}function hn(F,me){var Ne,Bt,Gt;F.push("import org.apache.http.util.EntityUtils;"),F.push("import org.apache.http.NameValuePair;"),F.push("import org.apache.http.client.HttpClient;"),F.push("import org.apache.http.client.entity.UrlEncodedFormEntity;"),me.method&&wn(F,me.method),((Ne=me.securityOAuth2ExtraCalls)==null?void 0:Ne.length)&&((Bt=me.securityOAuth2ExtraCalls)==null?void 0:Bt[0].method.toLowerCase())!==me.method.toLowerCase()&&wn(F,(Gt=me.securityOAuth2ExtraCalls)==null?void 0:Gt[0].method),F.push("import org.apache.http.impl.client.HttpClientBuilder;"),F.push("import org.apache.http.message.BasicNameValuePair;"),F.push("import org.apache.http.entity.StringEntity;"),F.push("import org.json.JSONObject;"),F.push("import org.json.JSONArray;"),F.push("import java.util.ArrayList;"),F.push("import java.util.List;"),F.push("import org.apache.http.entity.mime.MultipartEntity;"),F.push("import org.apache.http.entity.mime.content.StringBody;"),me.basicAuth&&F.push("import java.util.Base64;"),F.blank()}function wn(F,me){const Ne=Bn(me);F.push(`import org.apache.http.client.methods.${Ne};`)}function Bn(F){return"Http"+tr(F.toLowerCase())}function dr(F){return Object.prototype.toString.call(F)==="[object String]"}function pr(F){const me=typeof F;return me==="function"||me==="object"&&!!F}function Nr(F){return dr(F)?JSON.stringify(F):F==null?"JSONObject.NULL":F}const mr={info:{key:"java8",title:"Java8+Apache",extname:".java",default:"apachehttp"},apachehttp:ht};var kr=Object.defineProperty,ui=Object.defineProperties,ci=Object.getOwnPropertyDescriptors,Yr=Object.getOwnPropertySymbols,Jr=Object.prototype.hasOwnProperty,oi=Object.prototype.propertyIsEnumerable,co=(F,me,Ne)=>me in F?kr(F,me,{enumerable:!0,configurable:!0,writable:!0,value:Ne}):F[me]=Ne,fo=(F,me)=>{for(var Ne in me||(me={}))Jr.call(me,Ne)&&co(F,Ne,me[Ne]);if(Yr)for(var Ne of Yr(me))oi.call(me,Ne)&&co(F,Ne,me[Ne]);return F},zs=(F,me)=>ui(F,ci(me));const Ao=F=>!!(F.uriObj.query&&Object.keys(F.uriObj.query).length),Go=F=>F.postData&&F.postData.mimeType===d.T.URL_ENCODED?"HttpRequest.BodyPublishers.ofString(form)":F.postData?"HttpRequest.BodyPublishers.ofString(payload)":["POST","PUT","PATCH"].includes(F.method.toUpperCase())?'HttpRequest.BodyPublishers.ofString("some body text")':"",ra=function(F,me,{target:Ne,client:Bt}){var Gt,Wt,Kt;const Rt=Object.assign({indent:" ",withWrapper:!0},me),Tt=new Pn({indentation:Rt.indent,variablesPrefix:Rt.variablesPrefix,capitalize:!0,lang:b.JAVA});let mt=!1;if(Rt.withComments&&ys(Tt,F),Rt.withImports&&jo(Tt,F),Rt.withWrapper&&(Tt.push("public class App {"),Tt.push(1,"public static void main(String[] args) throws Exception {"),Tt.push(2,"var httpClient = HttpClient.newBuilder().build();"),Tt.blank()),(Gt=F.securityOAuth2ExtraCalls)==null?void 0:Gt.length){const Dt=new pi((Wt=F.securityOAuth2ExtraCalls)==null?void 0:Wt[0]).convert(Ne,Bt,zs(fo({},Rt),{withImports:!1,withWrapper:!1,withComments:!1,variablesPrefix:"oauth2"}));Tt.push(Dt),Tt.blank(),Tt.push(2,"var oauth2Response = httpClient.send(oauth2Request, HttpResponse.BodyHandlers.ofString());"),Tt.push(2,'var accessToken = new JSONObject(oauth2Response.body()).getString("access_token");'),Tt.blank()}if(F.postData)switch((0,a.PP)(F.postData.mimeType)){case d.T.URL_ENCODED:F.postData.params&&(Tt.push(2,"HashMap<String, String> params = new HashMap<>();"),F.postData.params.forEach(Dt=>{Tt.push(2,'params.put("%s", "%s");',Dt.name,Dt.value)}),Tt.blank(),Tt.push(2,"var form = params.keySet().stream()"),Tt.push(3,'.map(key -> key + "=" + URLEncoder.encode(params.get(key), StandardCharsets.UTF_8))'),Tt.push(3,'.collect(Collectors.joining("&"));'),Tt.blank());break;case d.T.JSON:F.postData.jsonObj&&(Tt.push(2,`var payload = String.join("\\n"
|
|
2639
2639
|
${ot(JSON.stringify(F.postData.jsonObj,null,1).replace(/"/g,'\\"').replace(/^/gm,', "').replace(/$/gm,'"'),{level:3,indent:Rt.indent,firstLine:!1})}`),Tt.push(2,");"),Tt.blank());break;case d.T.XML:F.postData.text&&(Tt.push(2,'var payload = String.join("\\n"'),F.postData.text.trim().split(`
|
|
2640
2640
|
`).forEach(Dt=>{const en=Dt.replace(/"/g,'\\"');Tt.push(3,`, "${en}"`)}),Tt.push(2,");"),Tt.blank());break;case d.T.MULTIPART:mt=!0,Tt.unshift(`# multipart/form-data is not supported yet
|
|
2641
|
-
`);break}if(Ao(F)){Tt.push(2,"HashMap<String, String> params = new HashMap<>();");for(const[Dt,en]of Object.entries(F.uriObj.query))Tt.push(2,'params.put("%s", "%s");',Dt,en);Tt.blank(),Tt.push(2,"var query = params.keySet().stream()"),Tt.push(3,'.map(key -> key + "=" + URLEncoder.encode(params.get(key), StandardCharsets.UTF_8))'),Tt.push(3,'.collect(Collectors.joining("&"));'),Tt.blank()}Tt.push(2,`var ${Tt.var("host")} = "%s";`,F.uriObj.protocol+"//"+F.uriObj.host),wt(F,Tt,2);const Xt=fo(fo({},F),{pathname:F.uriObj.pathname});Tt.push(2,`var ${Tt.var("pathname")} = %s;`,st(Xt,Tt)),Tt.push(2,`var ${Tt.var("request")} = HttpRequest.newBuilder()`),F.method.toUpperCase()==="PATCH"?Tt.push(3,'.method("PATCH", %s)',Go(F)):Tt.push(3,".%s(%s)",F.method.toUpperCase(),Go(F)),Tt.push(3,`.uri(URI.create(${Tt.var("host")} + ${Tt.var("pathname")} %s))`,Ao(F)?"+ '?' + query":""),((
|
|
2642
|
-
`).forEach((
|
|
2643
|
-
`).forEach((Nt,fr)=>{const
|
|
2641
|
+
`);break}if(Ao(F)){Tt.push(2,"HashMap<String, String> params = new HashMap<>();");for(const[Dt,en]of Object.entries(F.uriObj.query))Tt.push(2,'params.put("%s", "%s");',Dt,en);Tt.blank(),Tt.push(2,"var query = params.keySet().stream()"),Tt.push(3,'.map(key -> key + "=" + URLEncoder.encode(params.get(key), StandardCharsets.UTF_8))'),Tt.push(3,'.collect(Collectors.joining("&"));'),Tt.blank()}Tt.push(2,`var ${Tt.var("host")} = "%s";`,F.uriObj.protocol+"//"+F.uriObj.host),wt(F,Tt,2);const Xt=fo(fo({},F),{pathname:F.uriObj.pathname});Tt.push(2,`var ${Tt.var("pathname")} = %s;`,st(Xt,Tt)),Tt.push(2,`var ${Tt.var("request")} = HttpRequest.newBuilder()`),F.method.toUpperCase()==="PATCH"?Tt.push(3,'.method("PATCH", %s)',Go(F)):Tt.push(3,".%s(%s)",F.method.toUpperCase(),Go(F)),Tt.push(3,`.uri(URI.create(${Tt.var("host")} + ${Tt.var("pathname")} %s))`,Ao(F)?"+ '?' + query":""),((Kt=F.securityOAuth2ExtraCalls)==null?void 0:Kt.length)&&(F.allHeaders.Authorization='"Bearer " + accessToken');const rn=Object.keys(F.allHeaders);if(rn.length&&rn.forEach(Dt=>{var en;Tt.push(3,'.header("%s", %s)',Dt,Dt==="Authorization"&&((en=F.securityOAuth2ExtraCalls)==null?void 0:en.length)?F.allHeaders[Dt]:`"${F.allHeaders[Dt]}"`)}),F.basicAuth){const{username:Dt,password:en}=F.basicAuth;Tt.push(3,`.header("Authorization", "Basic " + Base64.getEncoder().encodeToString(("${Dt}:${en}").getBytes()))`)}return Tt.push(3,".build();"),Rt.withWrapper&&(Tt.blank(),Tt.push(2,"var response = httpClient.send(request, HttpResponse.BodyHandlers.ofString());"),Tt.blank(),Tt.push(2,"System.out.println(response.body());"),Tt.push(1,"}"),Tt.push("}")),mt&&Tt.clean(),Tt.join()},xa={key:"httpclient",title:"HttpClient",link:"https://docs.oracle.com/en/java/javase/11/docs/api/java.net.http/java/net/http/HttpClient.html",description:"HttpClient (Java SE 11 & JDK 11 )"},Gi=ra;function ys(F,me){var Ne;F.push("/**"),F.push(" * Requires JDK >= 11"),((Ne=me.securityOAuth2ExtraCalls)==null?void 0:Ne.length)&&(F.push(" *"),F.push(' * Requires package "org.json" >= 20201115'),F.push(" * See here for installation details:"),F.push(" * https://search.maven.org/artifact/org.json/json")),F.push(" */"),F.blank()}function jo(F,me){var Ne,Bt,Gt,Wt;F.push("import java.net.*;"),F.push("import java.net.http.*;"),F.push("import java.util.*;"),((0,a.PP)((Ne=me.postData)==null?void 0:Ne.mimeType)===d.T.URL_ENCODED&&((Bt=me.postData)==null?void 0:Bt.params)||((Gt=me.securityOAuth2ExtraCalls)==null?void 0:Gt.length)||Ao(me))&&(F.push("import java.nio.charset.StandardCharsets;"),F.push("import java.util.stream.Collectors;")),((Wt=me.securityOAuth2ExtraCalls)==null?void 0:Wt.length)&&F.push("import org.json.JSONObject;"),F.blank()}const bs={info:{key:"java",title:"Java",extname:".java",default:"httpclient"},httpclient:Gi};function ia(F,me){let Ne=me;return typeof me=="string"&&(Ne=me.split(".")),Ne.every(Bt=>typeof F!="object"||F===null||!(Bt in F)?!1:(F=F[Bt],!0))}function Yo(F,me,Ne){var Bt;let Gt=me;typeof me=="string"&&(Gt=me.split("."));const Wt=Gt.length-1;for(let Rt=0;Rt<Wt;++Rt){const Tt=Gt[Rt];F=(Bt=F[Tt])!=null?Bt:F[Tt]={}}const Kt=Gt[Wt];F[Kt]=Ne}function Jo(F){return typeof F=="object"&&!Array.isArray(F)&&F!==null}var Es=Object.defineProperty,hi=Object.defineProperties,Os=Object.getOwnPropertyDescriptors,Zo=Object.getOwnPropertySymbols,Fi=Object.prototype.hasOwnProperty,Xo=Object.prototype.propertyIsEnumerable,po=(F,me,Ne)=>me in F?Es(F,me,{enumerable:!0,configurable:!0,writable:!0,value:Ne}):F[me]=Ne,qo=(F,me)=>{for(var Ne in me||(me={}))Fi.call(me,Ne)&&po(F,Ne,me[Ne]);if(Zo)for(var Ne of Zo(me))Xo.call(me,Ne)&&po(F,Ne,me[Ne]);return F},to=(F,me)=>hi(F,Os(me));const oa=function(F,me,{target:Ne,client:Bt}){var Gt,Wt,Kt,Rt;const Tt=Object.assign({indent:" ",withWrapper:!0},me),mt=new Pn({indentation:Tt.indent,variablesPrefix:Tt.variablesPrefix,capitalize:!0,lang:b.CSHARP}),Xt=ts(F.method);if(Tt.withComments&&Ar(mt),Tt.withWrapper&&(mt.push("using System;"),mt.push("using System.Net.Http;"),mt.push("using System.Threading.Tasks;"),(Dt(d.T.JSON)||Dt(d.T.XML)||F.basicAuth)&&mt.push("using System.Text;"),(Dt(d.T.URL_ENCODED)||((Gt=F.securityOAuth2ExtraCalls)==null?void 0:Gt.length))&&mt.push("using System.Collections.Generic;"),(Dt(d.T.JSON)||((Wt=F.securityOAuth2ExtraCalls)==null?void 0:Wt.length))&&mt.push("using System.Text.Json;"),en()&&mt.push("using System.IO;"),(en()||F.basicAuth)&&mt.push("using System.Net.Http.Headers;"),mt.blank(),mt.push("public class Program"),mt.push("{"),mt.push(1,"public static async Task Main()"),mt.push(1,"{")),(Kt=F.securityOAuth2ExtraCalls)==null?void 0:Kt.length){const Cn=new pi((Rt=F.securityOAuth2ExtraCalls)==null?void 0:Rt[0]).convert(Ne,Bt,to(qo({},Tt),{withImports:!1,withWrapper:!1,withComments:!1,variablesPrefix:"oauth2"}));mt.push(Cn),mt.push(2,"var oauth2Response = await oauth2Request.Content.ReadAsStringAsync();"),mt.push(2,"JObject inputJObject = JObject.Parse(oauth2Response);"),mt.push(2,'var accessToken = inputJObject["access_token"].ToString();'),mt.blank()}const rn=Object.keys(F.allHeaders).filter(Cn=>{switch(Cn.toLowerCase()){case"content-type":case"content-length":case"accept-encoding":return!1;default:return!0}});if(rn.length?(mt.push(2,"System.Net.Http.HttpClient client = new()"),mt.push(2,"{"),mt.push(3,"DefaultRequestHeaders ="),mt.push(3,"{"),rn.forEach(Cn=>{var yn;mt.push(4,'{"%s", %s},',Cn,((yn=F.securityOAuth2ExtraCalls)==null?void 0:yn.length)?'"Bearer " + accessToken':`"${F.allHeaders[Cn]}"`)}),mt.push(3,"}"),mt.push(2,"};")):mt.push(2,"System.Net.Http.HttpClient client = new();"),mt.blank(),F.basicAuth){const{username:Cn,password:yn}=F.basicAuth;mt.push(2,`string base64String = Convert.ToBase64String(Encoding.ASCII.GetBytes("${Cn}:${yn}"));`),mt.push(2,'client.DefaultRequestHeaders.Authorization = new AuthenticationHeaderValue(@"Basic", base64String);'),mt.blank()}if(F.postData)switch((0,a.PP)(F.postData.mimeType)){case d.T.URL_ENCODED:F.postData.params&&(mt.blank(),mt.push(2,"List<KeyValuePair<string, string>> postData = new List<KeyValuePair<string, string>>();"),F.postData.params.forEach(Cn=>{mt.push(2,'postData.Add(new KeyValuePair<string, string>("%s", "%s"));',Cn.name,Cn.value)}),mt.blank());break;case d.T.MULTIPART:F.postData.params&&(mt.blank(),mt.push(2,"MultipartFormDataContent postData = new MultipartFormDataContent();"),F.postData.params.forEach(Cn=>{mt.push(2,'postData.Add(new StringContent("%s"), "%s");',Cn.value,Cn.name)}));break;case d.T.JSON:F.postData.jsonObj&&(mt.push(2,"string json = JsonSerializer.Serialize(new"),mt.push(2,"{"),fr(F.postData.jsonObj,3),mt.push(2,"});"),mt.blank(),mt.push(2,'using StringContent postData = new(json, Encoding.UTF8, "%s");',F.postData.mimeType));break;case d.T.XML:F.postData.text&&(F.postData.text.trim().split(`
|
|
2642
|
+
`).forEach((Cn,yn)=>{const zn=(yn===0?'string xml = @"':"")+Cn.replace(/"/g,'""');mt.push(yn===0?2:3,zn)}),mt.push(2,'";'),mt.push(2,'using StringContent postData = new StringContent(xml, Encoding.UTF8, "%s");',F.postData.mimeType));break}else en()&&(mt.push(2,"var ms = new MemoryStream();"),mt.push(2,"var postData = new StreamContent(ms);"),mt.push(2,'postData.Headers.ContentType = new MediaTypeHeaderValue("application/octet-stream");'));return wt(F,mt,3),mt.push(2,"using HttpResponseMessage %s = await client.%sAsync(%s%s);",mt.var("request"),Xt,st(F,mt),Tt.withImports?Ws(F.method)?(0,a.PP)(F.postData&&F.postData.mimeType)===d.T.URL_ENCODED?", new FormUrlEncodedContent(postData)":F.method==="delete"?"":F.postData&&F.postData.params||en()?", postData":", null":"":", new FormUrlEncodedContent(postData)"),Tt.withWrapper&&(mt.push(2,"string response = await request.Content.ReadAsStringAsync();"),mt.blank(),mt.push(2,"Console.WriteLine(response);"),mt.push(1,"}"),mt.push("}")),mt.join();function Dt(Cn){return F.postData&&(0,a.PP)(F.postData.mimeType)===Cn}function en(){return F.headersObj&&F.headersObj["Content-Type"]===d.T.OCTET_STREAM}function Nt(Cn,yn){Cn.forEach((zn,Vn)=>{const Mr=!(0,c.isLastInArray)(Cn,Vn);Array.isArray(zn)?Nt(zn,yn+1):Jo(zn)?(mt.push(yn+1,"new {"),fr(zn,yn+2),mt.push(yn+1,"}%s",Mr?",":"")):mt.push(yn+1,'"%s"%s',zn,Mr?",":"")}),mt.push(yn,"},")}function fr(Cn,yn){for(const[zn,Vn]of Object.entries(Cn)){const Mr=!(0,c.isLastProperty)(Cn,zn);if(Array.isArray(Vn))mt.push(yn,"%s = new[] {",zn),Nt(Vn,yn);else if(Jo(Vn)){const Pi=(0,a.Qr)(Vn);mt.push(yn,"%s = new %s",zn,Pi?"{},":"{"),Pi||(fr(Vn,yn+1),mt.push(yn,"}%s",Mr?",":""))}else mt.push(yn,'%s = "%s"%s',zn,Vn,Mr?",":"")}}},Ss={key:"httpclient",title:"HttpClient",link:"https://docs.microsoft.com/en-us/dotnet/api/system.net.http.httpclient",description:".NET Standard HTTP Client"},es=oa;function Ar(F){F.push("// Requires >= .NET 5"),F.blank()}function ts(F){return tr(F.toLowerCase())}function Ws(F){return F&&["POST","PUT","DELETE","PATCH"].includes(F.toUpperCase())}const Yi={info:{key:"csharp",title:"CSharp",extname:".cs",default:"httpclient"},httpclient:es};var sa=Object.defineProperty,aa=Object.defineProperties,la=Object.getOwnPropertyDescriptors,ns=Object.getOwnPropertySymbols,Fo=Object.prototype.hasOwnProperty,Io=Object.prototype.propertyIsEnumerable,ho=(F,me,Ne)=>me in F?sa(F,me,{enumerable:!0,configurable:!0,writable:!0,value:Ne}):F[me]=Ne,rs=(F,me)=>{for(var Ne in me||(me={}))Fo.call(me,Ne)&&ho(F,Ne,me[Ne]);if(ns)for(var Ne of ns(me))Io.call(me,Ne)&&ho(F,Ne,me[Ne]);return F},mo=(F,me)=>aa(F,la(me));const ua=function(F,me,{target:Ne,client:Bt}){var Gt,Wt,Kt,Rt;const Tt=Object.assign({indent:" ",withWrapper:!0},me),mt=new Pn({indentation:Tt.indent,variablesPrefix:Tt.variablesPrefix,capitalize:!0,lang:b.CSHARPNEWTONSOFT}),Xt=Bo(F.method);if(Tt.withComments&&xs(mt),Tt.withWrapper&&(mt.push("using System;"),mt.push("using System.Net.Http;"),mt.push("using System.Threading.Tasks;"),(Dt(d.T.JSON)||Dt(d.T.XML)||F.basicAuth)&&mt.push("using System.Text;"),(Dt(d.T.URL_ENCODED)||((Gt=F.securityOAuth2ExtraCalls)==null?void 0:Gt.length))&&mt.push("using System.Collections.Generic;"),(Dt(d.T.JSON)||((Wt=F.securityOAuth2ExtraCalls)==null?void 0:Wt.length))&&mt.push("using Newtonsoft.Json.Linq;"),en()&&mt.push("using System.IO;"),(en()||F.basicAuth)&&mt.push("using System.Net.Http.Headers;"),mt.blank(),mt.push("public class Program"),mt.push("{"),mt.push(1,"private readonly IHttpClientFactory _httpClientFactory;"),mt.push(1,"public static async Task Main(string[] args)"),mt.push(1,"{"),mt.push(2,"var client = _httpClientFactory.CreateClient();")),(Kt=F.securityOAuth2ExtraCalls)==null?void 0:Kt.length){const Nt=new pi((Rt=F.securityOAuth2ExtraCalls)==null?void 0:Rt[0]).convert(Ne,Bt,mo(rs({},Tt),{withImports:!1,withWrapper:!1,withComments:!1,variablesPrefix:"oauth2"}));mt.push(Nt),mt.push(2,"var oauth2Response = await oauth2Request.Content.ReadAsStringAsync();"),mt.push(2,"JObject inputJObject = JObject.Parse(oauth2Response);"),mt.push(2,'var accessToken = inputJObject["access_token"].ToString();'),mt.blank()}const rn=Object.keys(F.allHeaders).filter(Nt=>{switch(Nt.toLowerCase()){case"content-type":case"content-length":case"accept-encoding":return!1;default:return!0}});if(rn.length&&rn.forEach(Nt=>{var fr;mt.push(2,'client.DefaultRequestHeaders.Add("%s", %s);',Nt,((fr=F.securityOAuth2ExtraCalls)==null?void 0:fr.length)?'"Bearer " + accessToken':`"${F.allHeaders[Nt]}"`)}),F.basicAuth){const{username:Nt,password:fr}=F.basicAuth;mt.push(2,`var base64String = Convert.ToBase64String(Encoding.ASCII.GetBytes("${Nt}:${fr}"));`),mt.push(2,'client.DefaultRequestHeaders.Authorization = new AuthenticationHeaderValue(@"Basic", base64String);')}if(F.postData)switch((0,a.PP)(F.postData.mimeType)){case d.T.URL_ENCODED:F.postData.params&&(mt.blank(),mt.push(2,"List<KeyValuePair<string, string>> postData = new List<KeyValuePair<string, string>>();"),F.postData.params.forEach(Nt=>{mt.push(2,'postData.Add(new KeyValuePair<string, string>("%s", "%s"));',Nt.name,Nt.value)}),mt.blank());break;case d.T.MULTIPART:F.postData.params&&(mt.blank(),mt.push(2,"MultipartFormDataContent postData = new MultipartFormDataContent();"),F.postData.params.forEach(Nt=>{mt.push(2,'postData.Add(new StringContent("%s"), "%s");',Nt.value,Nt.name)}));break;case d.T.JSON:F.postData.jsonObj&&(mt.push(2,`JObject json = JObject.Parse(@"${ot(S()(F.postData.jsonObj,{indent:Tt.indent,inlineCharacterLimit:25}).replace(/"/g,'""'),{level:3,firstLine:!1})}");`),mt.push(2,'var postData = new StringContent(json.ToString(), Encoding.UTF8, "%s");',F.postData.mimeType));break;case d.T.XML:F.postData.text&&(F.postData.text.trim().split(`
|
|
2643
|
+
`).forEach((Nt,fr)=>{const Cn=(fr===0?'string xml = @"':"")+Nt.replace(/"/g,'""');mt.push(fr===0?3:4,Cn)}),mt.push(2,'";'),mt.push(2,'var postData = new StringContent(xml, Encoding.UTF8, "%s");',F.postData.mimeType));break}else en()&&(mt.push(2,"var ms = new MemoryStream();"),mt.push(2,"var postData = new StreamContent(ms);"),mt.push(2,'postData.Headers.ContentType = new MediaTypeHeaderValue("application/octet-stream");'));return wt(F,mt,3),mt.push(2,"var %s = await client.%sAsync(%s%s);",mt.var("request"),Xt,st(F,mt),Tt.withImports?ca(F.method)?(0,a.PP)(F.postData&&F.postData.mimeType)===d.T.URL_ENCODED?", new FormUrlEncodedContent(postData)":F.method==="delete"?"":F.postData&&F.postData.params||en()?", postData":", null":"":", new FormUrlEncodedContent(postData)"),Tt.withWrapper&&(mt.push(2,"var response = await request.Content.ReadAsStringAsync();"),mt.blank(),mt.push(2,"Console.WriteLine(response);"),mt.push(1,"}"),mt.push("}")),mt.join();function Dt(Nt){return F.postData&&(0,a.PP)(F.postData.mimeType)===Nt}function en(){return F.headersObj&&F.headersObj["Content-Type"]===d.T.OCTET_STREAM}},ko={key:"httpclient",title:"HttpClient",link:"https://docs.microsoft.com/en-us/dotnet/api/system.net.http.httpclient",description:".NET Standard HTTP Client"},Ps=ua;function xs(F){F.push("/*"),F.push(" * Requires >= .NET 5"),F.push(" *"),F.push(' * Requires package "Newtonsoft.Json" >= 9.01'),F.push(" * See here for installation details:"),F.push(" * https://www.newtonsoft.com/json"),F.push(" */"),F.blank()}function Bo(F){return tr(F.toLowerCase())}function ca(F){return F&&["POST","PUT","DELETE","PATCH"].includes(F.toUpperCase())}const ws={info:{key:"csharpNewtonsoft",title:"CSharpNewtonsoft",extname:".cs",default:"httpclient"},httpclient:Ps};var da=Object.defineProperty,fa=Object.defineProperties,Ts=Object.getOwnPropertyDescriptors,Cs=Object.getOwnPropertySymbols,Vs=Object.prototype.hasOwnProperty,Ri=Object.prototype.propertyIsEnumerable,Do=(F,me,Ne)=>me in F?da(F,me,{enumerable:!0,configurable:!0,writable:!0,value:Ne}):F[me]=Ne,Ei=(F,me)=>{for(var Ne in me||(me={}))Vs.call(me,Ne)&&Do(F,Ne,me[Ne]);if(Cs)for(var Ne of Cs(me))Ri.call(me,Ne)&&Do(F,Ne,me[Ne]);return F},Hs=(F,me)=>fa(F,Ts(me));const or=1;function Ji(F={},me){return(0,a.PP)(F.mimeType)===me}const ki=function(F,me,{target:Ne,client:Bt}){var Gt,Wt,Kt,Rt,Tt,mt;const Xt=Ei({capitalize:!0,showBoilerplate:!0,checkErrors:!0,printBody:!0,timeout:-1,indent:" "},me),rn=(Gt=F.securityOAuth2ExtraCalls)==null?void 0:Gt[0],Dt=Xt.checkErrors?"err":"_",en=F.method.toUpperCase(),Nt=new Pn({indentation:Xt.indent,variablesPrefix:Xt.variablesPrefix,capitalize:Xt.capitalize,lang:b.GO}),fr=()=>{Xt.checkErrors&&Nt.push(or,"if err != nil {").push(or+1,"panic(err)").push(or,"}")};if(Xt.showBoilerplate&&(Nt.push("package main").blank().push("import (").push(or,'"fmt"'),Xt.timeout>0&&Nt.push(or,'"time"'),rn&&Nt.push(or,'"encoding/json"'),Ji(F.postData,d.T.MULTIPART)&&(Nt.push(or,'"mime/multipart"'),Nt.push(or,'"io"'),Nt.push(or,'"bytes"')),(Ji(F.postData,d.T.URL_ENCODED)||Ji((Kt=(Wt=F.securityOAuth2ExtraCalls)==null?void 0:Wt[0])==null?void 0:Kt.postData,d.T.URL_ENCODED))&&(Nt.push(or,'"net/url"'),Nt.push(or,'"strconv"')),(Ji(F.postData,d.T.JSON)||Ji((Tt=(Rt=F.securityOAuth2ExtraCalls)==null?void 0:Rt[0])==null?void 0:Tt.postData,d.T.JSON))&&Nt.push(or,'"bytes"'),(F.postData&&!Ji(F.postData,d.T.JSON)||rn)&&Nt.push(or,'"strings"'),Nt.push(or,'"net/http"'),Xt.printBody&&Nt.push(or,'"io/ioutil"'),Nt.push(")").blank().push("func main() {")),Object.keys(F.allHeaders).length&&Object.keys(F.allHeaders).forEach(yn=>{F.allHeaders[yn]=`"${F.allHeaders[yn]}"`}),rn){const yn="oAuth2",zn=Xt.checkErrors?`${Dt} := `:"",Vn=Xt.capitalize?"Res":"res",Mr=new pi(rn).convert(Ne,Bt,Hs(Ei({},Xt),{printBody:!1,variablesPrefix:yn,showBoilerplate:!1}));Nt.push(Mr).blank().push(or,`var ${yn}${Vn}Body struct {`).push(or+1,"Access_token string").push(or,"}").push(or,`${zn}json.NewDecoder(${yn}${Vn}.Body).Decode(&${yn}${Vn}Body)`).blank(),fr(),F.allHeaders.Authorization=`"Bearer " + ${yn}${Vn}Body.Access_token`}if(wt(F,Nt,or),Xt.timeout>0&&(Bt=Nt.var("client"),Nt.push(or,"%s := http.Client{",Bt).push(or+1,"Timeout: time.Duration(%s * time.Second),",Xt.timeout).push(or,"}").blank()),Nt.push(or,`${Nt.var("reqUrl")} := ${st(F,Nt)}`),F.postData){let yn;switch((0,a.PP)(F.postData.mimeType)){case d.T.URL_ENCODED:Nt.push(or,"%s := url.Values{}",Nt.var("data")),F.postData.params.forEach(zn=>{Nt.push(or,'%s.Set("%s", "%s")',Nt.var("data"),zn.name,zn.value)}),Nt.push(or,'%s, %s := http.NewRequest("%s", %s, strings.NewReader(%s.Encode()))',Nt.var("req"),Dt,en,Nt.var("reqUrl"),Nt.var("data")),F.allHeaders["Content-Length"]=`strconv.Itoa(len(${Nt.var("data")}.Encode()))`;break;case d.T.JSON:yn=JSON.stringify(F.postData.jsonObj,null,2).split(`
|
|
2644
2644
|
`).map(zn=>Xt.indent+zn).join(`
|
|
2645
|
-
`).trim(),Nt.push(or,`var ${Nt.var("data")} = []byte(\`${yn}\`)`),Nt.push(or,'%s, %s := http.NewRequest("%s", %s, bytes.NewBuffer(%s))',Nt.var("req"),Dt,en,Nt.var("reqUrl"),Nt.var("data"));break;case d.T.MULTIPART:Nt.push(or,"%s := &bytes.Buffer{}",Nt.var("data")).push(or,"writer := multipart.NewWriter(%s)",Nt.var("data")),F.postData.params.forEach(zn=>{if(!zn.fileName&&!zn.contentType){Nt.push(or,'%s, _ := writer.CreateFormField("%s")',Nt.var(`${zn.name}Fw`),zn.name).push(or,'_, %s = io.Copy(%s, strings.NewReader("%s"))',Dt,Nt.var(`${zn.name}Fw`),zn.value),fr();return}zn.fileName&&(Nt.push(or,'%s, %s = writer.CreateFormFile("%s", "%s")',Nt.var(`${zn.name}Fw`),Dt,zn.name,zn.fileName),fr())}),Nt.push(or,"writer.Close()").blank().push(or,"%s := bytes.NewReader(%s.Bytes())",Nt.var("payload"),Nt.var("data")).push(or,'%s, %s := http.NewRequest("%s", %s, %s)',Nt.var("req"),Dt,en,Nt.var("reqUrl"),Nt.var("payload")),F.allHeaders["Content-Type"]="writer.FormDataContentType()";break;default:F.postData.text&&Nt.push(or,"%s := strings.NewReader(%s)",Nt.var("payload"),JSON.stringify((mt=F.postData)==null?void 0:mt.text)).push(or,'%s, %s := http.NewRequest("%s", %s, %s)',Nt.var("req"),Dt,en,Nt.var("reqUrl"),Nt.var("payload"))}}else Nt.push(or,'%s, %s := http.NewRequest("%s", %s, nil)',Nt.var("req"),Dt,en,Nt.var("reqUrl"));if(Object.getOwnPropertyNames(F.queryObj).length){Nt.blank().push(or,`${Nt.var("query")} := ${Nt.var("req")}.URL.Query()`);for(const yn in F.queryObj){const zn=F.queryObj[yn],Mr=typeof zn=="string"&&/^\[.*\]$/.test(zn)?`\`${zn}\``:`"${zn}"`;Nt.push(or,`${Nt.var("query")}.Add("${yn}", ${Mr})`)}Nt.push(or,`${Nt.var("req")}.URL.RawQuery = ${Nt.var("query")}.Encode()`).blank()}if(fr(),F.basicAuth){const{username:yn,password:zn}=F.basicAuth;Nt.push(or,`%s.SetBasicAuth("${yn}", "${zn}")`,Nt.var("req"))}return Object.keys(F.allHeaders).length&&Object.keys(F.allHeaders).forEach(yn=>{Nt.push(or,'%s.Header.Add("%s", %s)',Nt.var("req"),yn,F.allHeaders[yn])}),Nt.push(or,"%s, %s := %s.Do(%s)",Nt.var("res"),Dt,Bt,Nt.var("req")),fr(),Xt.printBody&&(Nt.push(or,"defer %s.Body.Close()",Nt.var("res")).push(or,"%s, %s := ioutil.ReadAll(%s.Body)",Nt.var("body"),Dt,Nt.var("res")),fr()),Nt.blank().push(or,"fmt.Println(%s)",Nt.var("res")),Xt.printBody&&Nt.push(or,"fmt.Println(string(%s))",Nt.var("body")),Xt.showBoilerplate&&Nt.push("}"),Nt.join()},Ks={key:"native",title:"NewRequest",link:"http://golang.org/pkg/net/http/#NewRequest",description:"Golang HTTP client request"},go={info:{key:"go",title:"Go",extname:".go",default:"native"},native:ki},Zi=["number","boolean","function","symbol"];function $o(F){return Object.prototype.toString.call(F)==="[object RegExp]"}function is(F){const me=typeof F;return F!==null&&(me==="object"||me==="function")}function di(F,me,Ne=""){const Bt=[];return function
|
|
2645
|
+
`).trim(),Nt.push(or,`var ${Nt.var("data")} = []byte(\`${yn}\`)`),Nt.push(or,'%s, %s := http.NewRequest("%s", %s, bytes.NewBuffer(%s))',Nt.var("req"),Dt,en,Nt.var("reqUrl"),Nt.var("data"));break;case d.T.MULTIPART:Nt.push(or,"%s := &bytes.Buffer{}",Nt.var("data")).push(or,"writer := multipart.NewWriter(%s)",Nt.var("data")),F.postData.params.forEach(zn=>{if(!zn.fileName&&!zn.contentType){Nt.push(or,'%s, _ := writer.CreateFormField("%s")',Nt.var(`${zn.name}Fw`),zn.name).push(or,'_, %s = io.Copy(%s, strings.NewReader("%s"))',Dt,Nt.var(`${zn.name}Fw`),zn.value),fr();return}zn.fileName&&(Nt.push(or,'%s, %s = writer.CreateFormFile("%s", "%s")',Nt.var(`${zn.name}Fw`),Dt,zn.name,zn.fileName),fr())}),Nt.push(or,"writer.Close()").blank().push(or,"%s := bytes.NewReader(%s.Bytes())",Nt.var("payload"),Nt.var("data")).push(or,'%s, %s := http.NewRequest("%s", %s, %s)',Nt.var("req"),Dt,en,Nt.var("reqUrl"),Nt.var("payload")),F.allHeaders["Content-Type"]="writer.FormDataContentType()";break;default:F.postData.text&&Nt.push(or,"%s := strings.NewReader(%s)",Nt.var("payload"),JSON.stringify((mt=F.postData)==null?void 0:mt.text)).push(or,'%s, %s := http.NewRequest("%s", %s, %s)',Nt.var("req"),Dt,en,Nt.var("reqUrl"),Nt.var("payload"))}}else Nt.push(or,'%s, %s := http.NewRequest("%s", %s, nil)',Nt.var("req"),Dt,en,Nt.var("reqUrl"));if(Object.getOwnPropertyNames(F.queryObj).length){Nt.blank().push(or,`${Nt.var("query")} := ${Nt.var("req")}.URL.Query()`);for(const yn in F.queryObj){const zn=F.queryObj[yn],Mr=typeof zn=="string"&&/^\[.*\]$/.test(zn)?`\`${zn}\``:`"${zn}"`;Nt.push(or,`${Nt.var("query")}.Add("${yn}", ${Mr})`)}Nt.push(or,`${Nt.var("req")}.URL.RawQuery = ${Nt.var("query")}.Encode()`).blank()}if(fr(),F.basicAuth){const{username:yn,password:zn}=F.basicAuth;Nt.push(or,`%s.SetBasicAuth("${yn}", "${zn}")`,Nt.var("req"))}return Object.keys(F.allHeaders).length&&Object.keys(F.allHeaders).forEach(yn=>{Nt.push(or,'%s.Header.Add("%s", %s)',Nt.var("req"),yn,F.allHeaders[yn])}),Nt.push(or,"%s, %s := %s.Do(%s)",Nt.var("res"),Dt,Bt,Nt.var("req")),fr(),Xt.printBody&&(Nt.push(or,"defer %s.Body.Close()",Nt.var("res")).push(or,"%s, %s := ioutil.ReadAll(%s.Body)",Nt.var("body"),Dt,Nt.var("res")),fr()),Nt.blank().push(or,"fmt.Println(%s)",Nt.var("res")),Xt.printBody&&Nt.push(or,"fmt.Println(string(%s))",Nt.var("body")),Xt.showBoilerplate&&Nt.push("}"),Nt.join()},Ks={key:"native",title:"NewRequest",link:"http://golang.org/pkg/net/http/#NewRequest",description:"Golang HTTP client request"},go={info:{key:"go",title:"Go",extname:".go",default:"native"},native:ki},Zi=["number","boolean","function","symbol"];function $o(F){return Object.prototype.toString.call(F)==="[object RegExp]"}function is(F){const me=typeof F;return F!==null&&(me==="object"||me==="function")}function di(F,me,Ne=""){const Bt=[];return function Gt(Wt,Kt={},Rt=""){Kt.indent=Kt.indent||" ";const Tt={newLine:`
|
|
2646
2646
|
`,newLineOrSpace:`
|
|
2647
|
-
`,pad:Rt,indent:Rt+
|
|
2648
|
-
`).replace(new RegExp(Tt.pad,"g"),Rt).replace(new RegExp(Tt.indent,"g"),Rt+
|
|
2649
|
-
`?"\\n":"\\r"),
|
|
2650
|
-
`).join("");Rt=!0,
|
|
2651
|
-
${Vn});`).blank();break}case d.T.URL_ENCODED:{const Vn=F.postData.params.map(({name:Mr,value:Pi})=>`${Mr}=${Pi}`).join("&");Rt=!0,
|
|
2647
|
+
`,pad:Rt,indent:Rt+Kt.indent},mt=Xt=>{if(Kt.inlineCharacterLimit===void 0)return Xt;const rn=Xt.replace(new RegExp(Tt.newLine,"g"),"").replace(new RegExp(Tt.newLineOrSpace,"g")," ").replace(new RegExp(Tt.pad+"|"+Tt.indent,"g"),"");return rn.length<=Kt.inlineCharacterLimit?rn:Xt.replace(new RegExp(Tt.newLine+"|"+Tt.newLineOrSpace,"g"),`
|
|
2648
|
+
`).replace(new RegExp(Tt.pad,"g"),Rt).replace(new RegExp(Tt.indent,"g"),Rt+Kt.indent)};if(Bt.indexOf(Wt)!==-1)return'"Circular"';if(Wt===null)return"NULL";if(Wt===void 0||Zi.includes(typeof Wt)||$o(Wt))return String(Wt);if(Wt instanceof Date)return`date('${Wt.toISOString()}')`;if(Array.isArray(Wt)){if(Wt.length===0)return"array()";Bt.push(Wt);const Xt="array("+Tt.newLine+Wt.map((rn,Dt)=>{const en=Wt.length-1===Dt?Tt.newLine:","+Tt.newLineOrSpace;let Nt=Gt(rn,Kt,Rt+Kt.indent);return Kt.transform&&(Nt=Kt.transform(Wt,Dt,Nt)),Tt.indent+Nt+en}).join("")+Tt.pad+")";return Bt.pop(),mt(Xt)}if(is(Wt)){let Xt=Object.keys(Wt);if(Kt.filter&&(Xt=Xt.filter(Dt=>{var en;return(en=Kt.filter)==null?void 0:en.call(Kt,Wt,Dt)})),Xt.length===0)return Array.isArray(Wt)?"array()":"(object)[]";Bt.push(Wt);const rn="array("+Tt.newLine+Xt.map((Dt,en)=>{const Nt=Xt.length-1===en?Tt.newLine:","+Tt.newLineOrSpace,fr=typeof Dt=="symbol",Cn=!fr&&/^[a-z$_][a-z$_0-9]*$/i.test(Dt),yn=fr||Cn?Dt:Gt(Dt,Kt);let zn=Gt(Wt[Dt],Kt,Rt+Kt.indent);return Kt.transform&&(zn=Kt.transform(Wt,Dt,zn)),`${Tt.indent}"${String(yn)}" => ${zn}${Nt}`}).join("")+Tt.pad+")";return Bt.pop(),mt(rn)}return Wt=String(Wt).replace(/[\r\n]/g,Xt=>Xt===`
|
|
2649
|
+
`?"\\n":"\\r"),Kt.singleQuotes===!1?(Wt=Wt.replace(/"/g,'\\"'),`"${Wt}"`):(Wt=Wt.replace(/\\?'/g,"\\'"),`"${Wt}"`)}(F,me,Ne)}var vo=Object.defineProperty,mi=Object.defineProperties,gi=Object.getOwnPropertyDescriptors,no=Object.getOwnPropertySymbols,wi=Object.prototype.hasOwnProperty,os=Object.prototype.propertyIsEnumerable,zr=(F,me,Ne)=>me in F?vo(F,me,{enumerable:!0,configurable:!0,writable:!0,value:Ne}):F[me]=Ne,Rs=(F,me)=>{for(var Ne in me||(me={}))wi.call(me,Ne)&&zr(F,Ne,me[Ne]);if(no)for(var Ne of no(me))os.call(me,Ne)&&zr(F,Ne,me[Ne]);return F},ss=(F,me)=>mi(F,gi(me));function vi(F,me){return me?`$${me}${cn(F)}`:`$${F}`}const As=function(F,me,{target:Ne,client:Bt}){var Gt;const Wt=Rs({showBoilerplate:!0,checkErrors:!1,printBody:!0,indent:" ",noTags:!0,shortTags:!1,maxRedirects:10,namedErrors:!1,closingTag:!1},me);let Kt,Rt=!1;const Tt=new Pn({indentation:Wt.indent,capitalize:!0,lang:b.PHP}),mt=(Gt=F.securityOAuth2ExtraCalls)==null?void 0:Gt[0],Xt=vi("curl",Wt.variablesPrefix),rn=vi("response",Wt.variablesPrefix),Dt=vi("error",Wt.variablesPrefix);if(Wt.noTags||Tt.push(Wt.shortTags?"<?":"<?php").blank(),mt){const Vn="oAuth2",Mr=new pi(mt).convert(Ne,Bt,ss(Rs({},Wt),{showBoilerplate:!1,variablesPrefix:Vn}));Tt.push(Mr),Tt.blank(),F.allHeaders.Authorization=`Bearer " . ${vi("response",Vn)}.access_token`}const en=Object.keys(F.headersObj).sort().map(function(Vn){return Vn==="Authorization"&&mt?(0,v.format)('"%s: %s',Vn,F.allHeaders.Authorization):(0,v.format)('"%s: %s"',Vn,F.headersObj[Vn])});if(F.basicAuth){const{username:Vn,password:Mr}=F.basicAuth;en.push(`"Authorization: Basic " . base64_encode("${Vn}:${Mr}")`)}Wt.showBoilerplate&&Tt.push("/**").push(" * Requires libcurl").push(" */").blank(),wt(F,Tt);let Nt="";if(Object.keys(F.queryObj||{}).length){const Vn=di(F.queryObj||{},{indent:Wt.indent});Nt="$query",Tt.push(`${Nt} = ${Vn};`).blank()}if(Tt.push(`${Xt} = curl_init();`),Tt.blank(),F.postData)switch((0,a.PP)(F.postData.mimeType)){case d.T.JSON:{const Vn=di(F.postData.jsonObj||{},{indent:Wt.indent});Rt=!0,Kt="json_encode($payload)",Tt.push(`$payload = ${Vn};`).blank();break}case d.T.MULTIPART:{const Vn=F.postData.params.map(({name:Mr,value:Pi})=>`${Wt.indent}"${Mr}" => "${Pi}",
|
|
2650
|
+
`).join("");Rt=!0,Kt="$payload",Tt.push(`$payload = array(
|
|
2651
|
+
${Vn});`).blank();break}case d.T.URL_ENCODED:{const Vn=F.postData.params.map(({name:Mr,value:Pi})=>`${Mr}=${Pi}`).join("&");Rt=!0,Kt="$payload",Tt.push(`$payload = "${Vn}";`).blank();break}default:Kt=F.postData.text;break}let fr=st(F,Tt);Nt&&(fr.endsWith('"')?fr=fr.slice(0,-1)+`?" . http_build_query(${Nt})`:fr+=` . "?" . http_build_query(${Nt})`);const Cn=[{escape:!Rt,name:"CURLOPT_POSTFIELDS",value:Kt},{escape:!0,name:"CURLOPT_PORT",value:F.uriObj.port},{escape:!1,name:"CURLOPT_URL",value:fr},{escape:!1,name:"CURLOPT_RETURNTRANSFER",value:"true"},{escape:!0,name:"CURLOPT_CUSTOMREQUEST",value:F.method.toUpperCase()}];Tt.push(`curl_setopt_array(${Xt}, [`);const yn=new Pn({indentation:Wt.indent,lineJoin:`
|
|
2652
2652
|
${Wt.indent}`,variablesPrefix:Wt.variablesPrefix,capitalize:!0,lang:b.PHP});en.length&&yn.push("CURLOPT_HTTPHEADER => [").push(1,en.join(`,
|
|
2653
|
-
`+Wt.indent+Wt.indent)).push("],"),
|
|
2654
|
-
`).map((Ne,Bt,
|
|
2655
|
-
`).trim():""}function ro(F,me){const Ne=F.map(({name:Bt,value:
|
|
2653
|
+
`+Wt.indent+Wt.indent)).push("],"),Cn.forEach(function(Vn){[null,void 0].includes(Vn.value)||yn.push((0,v.format)("%s => %s,",Vn.name,Vn.escape?JSON.stringify(Vn.value):Vn.value))});const zn=F.cookies.map(function(Vn){return encodeURIComponent(Vn.name)+"="+encodeURIComponent(Vn.value)});return zn.length&&yn.push((0,v.format)('CURLOPT_COOKIE => "%s",',zn.join("; "))),Tt.push(1,yn.join()).push("]);").blank().push(`${rn} = curl_exec(${Xt});`).push(`${Dt} = curl_error(${Xt});`).blank().push(`curl_close(${Xt});`).blank().push(`if (${Dt}) {`),Wt.namedErrors?Tt.push(1,`echo array_flip(get_defined_constants(true)["curl"])[${Dt}];`):Tt.push(1,`echo "cURL Error #:" . ${Dt};`),Tt.push("} else {").push(1,`echo ${rn};`).push("}"),!Wt.noTags&&Wt.closingTag&&Tt.blank().push("?>"),Tt.join()},Is={key:"curl",title:"cURL",link:"http://php.net/manual/en/book.curl.php",description:"PHP with ext-curl"},Uo={info:{key:"php",title:"PHP",extname:".php",default:"curl"},curl:As};var Bi=Object.defineProperty,ei=Object.defineProperties,Ai=Object.getOwnPropertyDescriptors,$i=Object.getOwnPropertySymbols,_o=Object.prototype.hasOwnProperty,Ds=Object.prototype.propertyIsEnumerable,si=(F,me,Ne)=>me in F?Bi(F,me,{enumerable:!0,configurable:!0,writable:!0,value:Ne}):F[me]=Ne,zo=(F,me)=>{for(var Ne in me||(me={}))_o.call(me,Ne)&&si(F,Ne,me[Ne]);if($i)for(var Ne of $i(me))Ds.call(me,Ne)&&si(F,Ne,me[Ne]);return F},Mi=(F,me)=>ei(F,Ai(me));const as=1;function Oi(F={},me){return(0,a.PP)(F.mimeType)===me}const Mo=function(F,me,{target:Ne,client:Bt}){var Gt,Wt,Kt,Rt,Tt;const mt=F.method.toUpperCase(),Xt=(Gt=F.securityOAuth2ExtraCalls)==null?void 0:Gt[0],rn=zo({capitalize:!0,showBoilerplate:!0,indent:" "},me),Dt=new Pn({indentation:rn.indent,variablesPrefix:rn.variablesPrefix,capitalize:rn.capitalize,lang:b.RUBY});rn.showBoilerplate&&(Dt.push("require 'uri'").push("require 'net/http'"),F.uriObj.protocol==="https:"&&Dt.push("require 'openssl'"),(Oi(F.postData,d.T.JSON)||Xt)&&Dt.unshift("require 'json'"),Dt.blank()),Object.keys(F.allHeaders).length&&Object.keys(F.allHeaders).forEach(Cn=>{F.allHeaders[Cn]=`'${F.allHeaders[Cn]}'`});const en=["GET","POST","HEAD","DELETE","PATCH","PUT","OPTIONS","COPY","LOCK","UNLOCK","MOVE","TRACE"],Nt=mt.charAt(0)+mt.substring(1).toLowerCase();if(en.indexOf(mt)<0&&Dt.push("class Net::HTTP::%s < Net::HTTPRequest",Nt).push(" METHOD = '%s'",mt.toUpperCase()).push(" REQUEST_HAS_BODY = '%s'",((Wt=F.postData)==null?void 0:Wt.text)?"true":"false").push(" RESPONSE_HAS_BODY = true").push("end").blank(),Xt){const Cn="oAuth2",yn=new pi(Xt).convert(Ne,Bt,Mi(zo({},rn),{variablesPrefix:Cn,showBoilerplate:!1})),zn=`${Cn}${rn.capitalize?"Response":"response"}`;Dt.push(yn).push(`access_token = JSON.parse(${zn}.body)['access_token']`).blank(),F.allHeaders.Authorization='"Bearer " + access_token'}if(wt(F,Dt),Dt.push(`${Dt.var("url")} = URI(${st(F,Dt)})`),Object.getOwnPropertyNames(F.queryObj).length&&(Dt.push(`${Dt.var("params")} = ${S()(F.queryObj,{indent:rn.indent,inlineCharacterLimit:25})}`),Dt.push(`${Dt.var("url")}.query = URI.encode_www_form(${Dt.var("params")})`)),Dt.blank().push(`${Dt.var("http")} = Net::HTTP.new(${Dt.var("url")}.host, ${Dt.var("url")}.port)`),F.uriObj.protocol==="https:"&&Dt.push(`${Dt.var("http")}.use_ssl = true`),Dt.blank().push(`${Dt.var("request")} = Net::HTTP::%s.new(${Dt.var("url")})`,Nt),Object.keys(F.allHeaders).length&&Object.keys(F.allHeaders).forEach(Cn=>{F.allHeaders[Cn]!==`'${d.T.MULTIPART}'`&&Dt.push(`${Dt.var("request")}['%s'] = %s`,Cn,F.allHeaders[Cn])}),F==null?void 0:F.postData){const Cn={};switch((0,a.PP)((Kt=F==null?void 0:F.postData)==null?void 0:Kt.mimeType)){case d.T.URL_ENCODED:F.postData.params.forEach(yn=>{Cn[yn.name]=yn.value}),Dt.push(`${Dt.var("request")}.body = URI.encode_www_form(${S()(Cn,{indent:rn.indent,inlineCharacterLimit:25})})`);break;case d.T.JSON:Dt.push(`${Dt.var("request")}.body = ${S()(F.postData.jsonObj,{indent:rn.indent,inlineCharacterLimit:25}).replace(/null/g,"nil")}.to_json`);break;case d.T.MULTIPART:F.postData.params&&(Dt.push(`${Dt.var("form_data")} = [`),F.postData.params.forEach(yn=>{Dt.push(as,`['${yn.name}', '${yn.value}'],`)}),Dt.push("]")),Dt.push(`${Dt.var("request")}.set_form(${Dt.var("form_data")}, '${d.T.MULTIPART}')`);break;default:((Rt=F.postData)==null?void 0:Rt.text)&&Dt.push(`${Dt.var("request")}.body = ${JSON.stringify((Tt=F.postData)==null?void 0:Tt.text)}`)}}if(F.basicAuth){const{username:Cn,password:yn}=F.basicAuth;Dt.push(`${Dt.var("request")}.basic_auth('${Cn}', '${yn}')`)}return Dt.blank().push(`${Dt.var("response")} = ${Dt.var("http")}.request(${Dt.var("request")})`).push(`puts ${Dt.var("response")}.read_body`).blank(),Dt.join()},ls={key:"native",title:"net::http",link:"http://ruby-doc.org/stdlib-2.2.1/libdoc/net/http/rdoc/Net/HTTP.html",description:"Ruby HTTP client"},bo={info:{key:"ruby",title:"Ruby",extname:".rb",default:"native"},native:Mo};function Ui(F,me){return F?typeof F=="string"?JSON.stringify(F):JSON.stringify(F,null,1).split(`
|
|
2654
|
+
`).map((Ne,Bt,Gt)=>Bt===Gt.length-1?Ne:((me==null?void 0:me.indent)||" ")+Ne).join(`
|
|
2655
|
+
`).trim():""}function ro(F,me){const Ne=F.map(({name:Bt,value:Gt})=>((me==null?void 0:me.indent)||"")+`${Bt} = "${Gt}"`).join(`,
|
|
2656
2656
|
`);return`
|
|
2657
2657
|
`+Ne+`
|
|
2658
|
-
`}var Eo=Object.defineProperty,us=Object.defineProperties,Zr=Object.getOwnPropertyDescriptors,io=Object.getOwnPropertySymbols,oo=Object.prototype.hasOwnProperty,Br=Object.prototype.propertyIsEnumerable,Xi=(F,me,Ne)=>me in F?Eo(F,me,{enumerable:!0,configurable:!0,writable:!0,value:Ne}):F[me]=Ne,Lo=(F,me)=>{for(var Ne in me||(me={}))oo.call(me,Ne)&&Xi(F,Ne,me[Ne]);if(io)for(var Ne of io(me))Br.call(me,Ne)&&Xi(F,Ne,me[Ne]);return F},so=(F,me)=>us(F,Zr(me));const Ur=1,Xr={javascript:hr,node:fn,python:jn,shell:lr,java8:mr,java:bs,csharp:Yi,csharpNewtonsoft:ws,go,php:Uo,ruby:bo,r:{info:{key:"r",title:"R",extname:".r",default:"httr"},httr:function(F,me,{target:Ne,client:Bt}){var Qt,Wt,Ht,Rt;const Tt=Object.assign({indent:" ",showBoilerplate:!0,printBody:!0},me),mt=new Pn({indentation:Tt.indent,variablesPrefix:Tt.variablesPrefix,lang:b.R}),Xt=F.method.toUpperCase(),rn=(Qt=F.securityOAuth2ExtraCalls)==null?void 0:Qt[0];if(Tt.showBoilerplate&&mt.push("library(httr)").blank(),rn){const Tn="oauth2_",yn=new pi(rn).convert(Ne,Bt,so(Lo({},Tt),{variablesPrefix:Tn,showBoilerplate:!1})),zn=`${Tn}data_req`;mt.push(yn).push(`access_token = content(${zn}, "parsed")$access_token`).blank(),F.allHeaders.Authorization='paste("Bearer", access_token)'}let Dt,en="";if(F==null?void 0:F.postData)switch((0,a.PP)((Wt=F==null?void 0:F.postData)==null?void 0:Wt.mimeType)){case d.T.URL_ENCODED:{Dt="form",en=mt.var("body");const Tn=ro(F.postData.params,Tt);mt.push(`${en} <- list(${Tn})`).blank();break}case d.T.JSON:{Dt="json",en=mt.var("body");const Tn=Ui(F.postData.jsonObj,Tt);mt.push(`${en} = '${Tn}'`).blank();break}case d.T.MULTIPART:{Dt="multipart",en=mt.var("body");const Tn=ro(F.postData.params,Tt);mt.push(`${en} <- list(${Tn})`).blank();break}default:((Ht=F.postData)==null?void 0:Ht.text)&&(en=mt.var("body"),Dt="raw",mt.push(`${en} = ${Ui((Rt=F.postData)==null?void 0:Rt.text)}`).blank())}wt(F,mt),Object.keys(Lo(Lo({},F.pathParameters),F.serverVariables)).length&&mt.blank().push("# create you own operator").push('"%&%" <- function(x, y)paste0(x,y)').blank();const Nt=st(F,mt);mt.push(`url = ${Nt}`).blank();const fr=mt.var("data_req");if(mt.push(`${fr} <- ${Xt}(`),mt.push(Ur,"url,"),F.basicAuth){const{username:Tn,password:yn}=F.basicAuth;mt.push(Ur,`authenticate("${Tn}", "${yn}")`)}if(Object.keys(F.allHeaders).length){const Tn=`${Object.keys(F.allHeaders).map(yn=>`"${yn}" = ${F.allHeaders[yn].startsWith("paste")?F.allHeaders[yn]:`"${F.allHeaders[yn]}"`}`).join(", ")}`;Tn&&mt.push(Ur,`add_headers(${Tn}),`)}return en&&(mt.push(Ur,`body = ${en},`),mt.push(Ur,`encode = "${Dt}",`)),mt.push(Ur,"verbose()"),mt.push(")"),Tt.printBody&&mt.blank().push(`content(${fr}${Dt==="raw"?', "text"':""})`),mt.join()}}};function _i(F,me){if(F[me.name]===void 0)return F[me.name]=me.value,F;if(F[me.name]instanceof Array)return F[me.name].push(me.value),F;const Ne=[F[me.name],me.value];return F[me.name]=Ne,F}var Oo=Object.defineProperty,Si=Object.defineProperties,So=Object.getOwnPropertyDescriptors,cs=Object.getOwnPropertySymbols,Li=Object.prototype.hasOwnProperty,Ii=Object.prototype.propertyIsEnumerable,Ki=(F,me,Ne)=>me in F?Oo(F,me,{enumerable:!0,configurable:!0,writable:!0,value:Ne}):F[me]=Ne,Po=(F,me)=>{for(var Ne in me||(me={}))Li.call(me,Ne)&&Ki(F,Ne,me[Ne]);if(cs)for(var Ne of cs(me))Ii.call(me,Ne)&&Ki(F,Ne,me[Ne]);return F},zi=(F,me)=>Si(F,So(me)),Wo=(F,me,Ne)=>(Ki(F,typeof me!="symbol"?me+"":me,Ne),Ne);class pi{constructor(me){Wo(this,"request");const Ne=Po({},me);this.request=this.prepare(zi(Po({},Ne),{httpVersion:Ne.httpVersion||"HTTP/1.1",queryString:Ne.queryString||[],headers:Ne.headers||[],cookies:Ne.cookies||[],postData:Ne.postData?zi(Po({},Ne.postData),{jsonObj:void 0,paramsObj:void 0}):void 0,bodySize:0,headersSize:0,queryObj:{},headersObj:{},cookiesObj:{},allHeaders:{},uriObj:{},fullUrl:"",pathParameters:Ne.pathParameters||{},serverVariables:Ne.serverVariables||{}}))}prepare(me){var Ne;if(me.queryString&&me.queryString.length&&(me.queryObj=me.queryString.reduce(_i,{})),me.headers&&me.headers.length){const Qt=/^HTTP\/2/;me.headersObj=me.headers.reduce(function(Wt,Ht){let Rt=Ht.name;return me.httpVersion.match(Qt)&&(Rt=Rt.toLowerCase()),Wt[Rt]=Ht.value,Wt},{})}me.cookies&&me.cookies.length&&(me.cookiesObj=me.cookies.reduceRight(function(Qt,Wt){return Qt[Wt.name]=Wt.value,Qt},{}));const Bt=me.cookies.map(function(Qt){return encodeURIComponent(Qt.name)+"="+encodeURIComponent(Qt.value)});if(Bt.length&&(me.allHeaders.cookie=Bt.join("; ")),me.postData)switch((0,a.PP)(me.postData.mimeType)){case"multipart/mixed":case"multipart/related":case d.T.MULTIPART:case"multipart/alternative":break;case d.T.URL_ENCODED:((Ne=me.postData)==null?void 0:Ne.params)?(me.postData.paramsObj=me.postData.params.reduce(_i,{}),me.postData.text=p.stringify(me.postData.paramsObj)):me.postData.text="";break;case"text/json":case"text/x-json":case d.T.JSON:case"application/x-json":if(me.postData.text)try{me.postData.jsonObj=JSON.parse(me.postData.text)}catch(Qt){me.postData.mimeType="text/plain"}break}return me.allHeaders=Object.assign(me.allHeaders,me.headersObj),me.uriObj=new URL(me.url),me.queryObj=Object.assign(me.queryObj,tn(me.uriObj.searchParams)),me.uriObj.query="",me.uriObj.search="",me.uriObj.path=me.uriObj.pathname=(0,a.mm)(me.uriObj.pathname),me.url=(0,a.mm)(E.format(me.uriObj)),me.uriObj.query=me.queryObj,me.uriObj.search=p.stringify(me.queryObj),me.uriObj.search&&(me.uriObj.path=me.uriObj.pathname+"?"+me.uriObj.search),me.fullUrl=(0,a.mm)(E.format(me.uriObj)),me}convert(me,Ne,Bt){!Bt&&Ne&&(Bt=Ne);const Qt=this._matchTarget(me,Ne);if(Qt){const Wt=Qt(this.request,Bt,{target:me,client:Ne});return Wt.length===1?Wt[0]:Wt}throw new Error("Can not match target")}_matchTarget(me,Ne){return Object.prototype.hasOwnProperty.call(Xr,me)?typeof Ne=="string"&&typeof Xr[me][Ne]=="function"?Xr[me][Ne]:Xr[me][Xr[me].info.default]:!1}}var ao=Object.defineProperty,$s=Object.defineProperties,Gs=Object.getOwnPropertyDescriptors,N=Object.getOwnPropertySymbols,Y=Object.prototype.hasOwnProperty,de=Object.prototype.propertyIsEnumerable,le=(F,me,Ne)=>me in F?ao(F,me,{enumerable:!0,configurable:!0,writable:!0,value:Ne}):F[me]=Ne,Ie=(F,me)=>{for(var Ne in me||(me={}))Y.call(me,Ne)&&le(F,Ne,me[Ne]);if(N)for(var Ne of N(me))de.call(me,Ne)&&le(F,Ne,me[Ne]);return F},D=(F,me)=>$s(F,Gs(me));function M(F,{exampleName:me="",skipOptionalParameters:Ne=!1,withOAuth2Call:Bt=!1,spec:Qt,generatedPayloadSamplesMaxDepth:Wt=8,pathParams:Ht={},properties:Rt={}}){var Tt,mt,Xt,rn,Dt,en,Nt,fr,Tn,yn;const{securityHeaders:zn,securityCookies:Vn,securityQueries:Mr,securityOAuth2ExtraCalls:Pi,basicAuth:Ys}=We((Tt=F.security)==null?void 0:Tt[0],Bt),ri=(Xt=(mt=F.requestBody)==null?void 0:mt.content)==null?void 0:Xt.active,ds={skipNonRequired:Ne,skipReadOnly:!0,maxSampleDepth:Wt},Vo={path:(0,r.ZN)((rn=F==null?void 0:F.requestValues)==null?void 0:rn.path),cookie:(0,r.ZN)((Dt=F==null?void 0:F.requestValues)==null?void 0:Dt.cookie),header:(0,r.ZN)((en=F==null?void 0:F.requestValues)==null?void 0:en.header),query:(0,r.ZN)((Nt=F==null?void 0:F.requestValues)==null?void 0:Nt.query),body:(0,r.ZN)((fr=F==null?void 0:F.requestValues)==null?void 0:fr.body)};let wa=!1;const Ta=F.parameters.filter(Jn=>Jn.in==="header").filter(Jn=>!(Ne&&!Jn.required)).map(Jn=>{var lo;return{name:Jn.name,value:((lo=Vo.header)==null?void 0:lo[Jn.name])||(0,u.X_)("header",Jn.name)||(0,c.serializeParameterValue)(Jn,l.UP(Jn.schema.rawSchema,ds,Qt))}}).map(Jn=>((ri==null?void 0:ri.name)&&Jn.name.toLowerCase()==="content-type"&&(wa=!0,Jn.value=ri.name),Jn)).concat(zn);!wa&&(ri==null?void 0:ri.name)&&Ta.unshift({name:"Content-Type",value:ri==null?void 0:ri.name});const Ca=F.parameters.filter(Jn=>Jn.in==="cookie").filter(Jn=>!(Ne&&!Jn.required)).map(Jn=>(0,t.parse)((0,c.serializeParameterValue)(Jn,l.UP(Jn.schema.rawSchema,ds,Qt)))).reduce((Jn,lo)=>{var Di;for(const[Wi,xi]of Object.entries(lo))Jn.push({name:Wi,value:String(((Di=Vo.cookie)==null?void 0:Di[Wi])||xi)});return Jn},[]).concat(Vn),pa=F.parameters.filter(Jn=>Jn.in==="query").filter(Jn=>!(Ne&&!Jn.required)).map(Jn=>(0,t.parse)((0,c.serializeParameterValue)(Jn,l.UP(Jn.schema.rawSchema,ds,Qt)))).reduce((Jn,lo)=>{var Di,Wi,xi;for(const[Zs,Qa]of Object.entries(lo))Jn.push({name:Zs,value:(0,c.isArrayOfObjects)((Di=Vo.query)==null?void 0:Di[Zs])&&JSON.stringify((0,c.deleteEmptyArrayItem)((Wi=Vo.query)==null?void 0:Wi[Zs]))||String(((xi=Vo.query)==null?void 0:xi[Zs])||Qa)});return Jn},[]).concat(Mr),Js=(Tn=F.activeServer)==null?void 0:Tn.url.replace(/\/$/,""),ha=F.path.replace(/^\//,""),[Va]=Js.split("#"),ma=`${Va}/${ha}`,Ha=F.parameters.filter(Jn=>Jn.in==="path").reduce((Jn,lo)=>{var Di;const{in:Wi,name:xi}=lo;return Jn[xi]=((Di=Vo.path)==null?void 0:Di[xi])||Ht[xi]||(0,u.X_)(Wi,xi),Jn},{}),Ms=(yn=ri==null?void 0:ri.examples)==null?void 0:yn[me],xo=(ri==null?void 0:ri.examples)||{},[Ls]=Object.values(xo),Ho=Vo.body||(Ms==null?void 0:Ms.value)||(Ls==null?void 0:Ls.value)||(ri==null?void 0:ri.schema)&&l.UP(ri==null?void 0:ri.schema.rawSchema,ds,Qt),fs=ri==null?void 0:ri.name.toLowerCase();let ps,hs=[];switch((0,a.PP)(fs)){case d.T.JSON:case d.T.XML:ps=JSON.stringify(_t(Ho,Rt));break;case d.T.URL_ENCODED:case d.T.MULTIPART:ps=(0,t.stringify)(_t(Ho,Rt)),hs=Sn(_t(Ho,Rt));break;default:ps=String(Ho||"")}const Ka=ps?{mimeType:(ri==null?void 0:ri.name)||d.T.OCTET_STREAM,text:ps,params:hs}:void 0,Ra=F.responses.map(Jn=>Jn.code);return{method:F.httpVerb,url:ma,httpVersion:"HTTP/1.1",cookies:Ca,headers:Ta,queryString:pa,postData:Ka,headersSize:-1,bodySize:-1,securityOAuth2ExtraCalls:Pi,basicAuth:Ys,pathParameters:Ha,serverVariables:F.activeServer.variables,allResponseCodes:Ra}}const z={withImports:!0,withComments:!1},ge={curl:{code:"shell",defaultTarget:"curl",defaultOptions:D(Ie({},z),{short:!0})},JavaScript:{code:"javascript",defaultTarget:"fetch",defaultOptions:D(Ie({},z),{withImports:!1})},"Node.js":{code:"node",defaultTarget:"fetch",defaultOptions:Ie({},z)},Python:{code:"python",defaultTarget:"requests",defaultOptions:Ie({},z)},"Java8+Apache":{code:"java8",defaultTarget:"apachehttp",defaultOptions:Ie({},z)},Java:{code:"java",defaultTarget:"httpclient",defaultOptions:Ie({},z)},"C#":{code:"csharp",defaultTarget:"httpclient",defaultOptions:Ie({},z)},"C#+Newtonsoft":{code:"csharpNewtonsoft",defaultTarget:"httpclient",defaultOptions:Ie({},z)},Go:{code:"go",defaultTarget:"http.DefaultClient",defaultOptions:Ie({},z)},PHP:{code:"php",defaultTarget:"curl",defaultOptions:Ie({},z)},Ruby:{code:"ruby",defaultTarget:"net::http",defaultOptions:Ie({},z)},R:{code:"r",defaultTarget:"httr",defaultOptions:Ie({},z)}};function Re({lang:F,operation:me,exampleName:Ne,pathParams:Bt,properties:Qt,options:Wt={}}){try{const{skipOptionalParameters:Ht,withOAuth2Call:Rt,spec:Tt,generatedPayloadSamplesMaxDepth:mt}=Wt,Xt=M(me,{exampleName:Ne,pathParams:Bt,properties:Qt,skipOptionalParameters:Ht,withOAuth2Call:Rt,spec:Tt,generatedPayloadSamplesMaxDepth:mt}),rn=new pi(Xt);return ge[F]?rn.convert(ge[F].code,ge[F].defaultTarget,Ie(Ie({},ge[F].defaultOptions),Wt)):"Language is not supported."}catch(Ht){return console.error(Ht),"Failed to generate code sample."}}function We(F,me){var Ne,Bt,Qt,Wt;const Ht={securityHeaders:[],securityCookies:[],securityQueries:[],securityOAuth2ExtraCalls:[],basicAuth:void 0};for(const Rt of(F==null?void 0:F.schemes)||[]){const Tt=(0,u.lX)(Rt.id);switch(Rt.type){case"openIdConnect":(Ne=Ht.securityHeaders)==null||Ne.push({name:"Authorization",value:"Bearer <YOUR_TOKEN_HERE>"});break;case"oauth2":{const mt=Tt.token?`${Tt.token.token_type||"Bearer"} ${Tt.token.access_token}`:"Bearer <YOUR_TOKEN_HERE>";Rt.flows.clientCredentials&&me?Ht.securityOAuth2ExtraCalls.push(vt(Rt.flows.clientCredentials,Rt.scopes,Tt)):Rt.flows.password&&me&&Ht.securityOAuth2ExtraCalls.push(ct(Rt.flows.password,Rt.scopes,Tt)),(Bt=Ht.securityHeaders)==null||Bt.push({name:"Authorization",value:mt});break}case"apiKey":{const mt=Tt.raw||"YOUR_API_KEY_HERE";Rt.in==="header"&&((Qt=Ht.securityHeaders)==null||Qt.push({name:Rt.name,value:mt})),Rt.in==="cookie"&&Ht.securityCookies.push({name:Rt.name,value:mt}),Rt.in==="query"&&Ht.securityQueries.push({name:Rt.name,value:mt});break}case"http":Rt.scheme==="basic"?Ht.basicAuth={username:Tt.username||`<${Cn.toSnakeCase((0,h.l)("tryItAuthBasicUsername"))}>`,password:Tt.password||`<${Cn.toSnakeCase((0,h.l)("tryItAuthBasicPassword"))}>`}:(Wt=Ht.securityHeaders)==null||Wt.push({name:"Authorization",value:`${tr(Rt.scheme||"bearer")} <YOUR_${Rt.bearerFormat||"TOKEN"}_HERE>`});break}}return Ht}function ct(F,me,Ne){return{method:"POST",url:F.tokenUrl,httpVersion:"HTTP/1.1",headers:[{name:"Content-Type",value:d.T.URL_ENCODED},{name:"Accept",value:d.T.JSON}],queryString:[],postData:{mimeType:d.T.URL_ENCODED,text:"",params:[{name:"grant_type",value:"password"},{name:"client_id",value:Ne.client_id||"YOUR_CLIENT_ID"},{name:"client_secret",value:Ne.client_secret||"YOUR_CLIENT_SECRET"},{name:"username",value:Ne.username||"<username>"},{name:"password",value:Ne.password||"<password>"},me.length?{name:"scope",value:me.join(" ")}:void 0].filter(Wn)},cookies:[],headersSize:-1,bodySize:-1,securityOAuth2ExtraCalls:[]}}function vt(F,me,Ne){return{method:"POST",url:F.tokenUrl,httpVersion:"HTTP/1.1",headers:[{name:"Content-Type",value:d.T.URL_ENCODED},{name:"Accept",value:d.T.JSON}],queryString:[],postData:{mimeType:d.T.URL_ENCODED,text:"",params:[{name:"grant_type",value:"client_credentials"},{name:"client_id",value:Ne.client_id||"YOUR_CLIENT_ID"},{name:"client_secret",value:Ne.client_secret||"YOUR_CLIENT_SECRET"},me.length?{name:"scope",value:me.join(" ")}:void 0].filter(Wn)},cookies:[],headersSize:-1,bodySize:-1,securityOAuth2ExtraCalls:[]}}function _t(F,me){if(F){if(typeof F=="object")return o()(F,me,{arrayMerge:a.lN});try{return o()(JSON.parse(F),me,{arrayMerge:a.lN})}catch(Ne){return!1}}return!1}function Sn(F,me=""){const Ne=[];for(const[Bt,Qt]of Object.entries(F)){const Wt=me?`${me}[${Bt}]`:Bt;typeof Qt=="object"&&Qt!==null?Ne.push(...Sn(Qt,Wt)):Ne.push({name:Wt,value:String(Qt)})}return Ne}function Wn(F){return F!==void 0}function tr(F){return F.charAt(0).toUpperCase()+F.slice(1)}},50293:()=>{},61388:(L,n,e)=>{"use strict";e.d(n,{he:()=>l,Ix:()=>o,mi:()=>r});var t=e(17563);function l(c,u){return c===u||"#"+c===u||c==="#"+u}function s(c){var u,a,d,h,p,E,T,S,v,b,m,y,O,C,A;if(!c.in){if(c.deps.type==="request"&&((d=(a=(u=c.deps.operation)==null?void 0:u.requestBody)==null?void 0:a.content)==null?void 0:d.mediaTypes))return((E=(p=(h=c.deps.operation)==null?void 0:h.requestBody)==null?void 0:p.content)==null?void 0:E.mediaTypes.length)>1?(v=(S=(T=c.deps.operation)==null?void 0:T.requestBody)==null?void 0:S.content)==null?void 0:v.active.name:void 0;if(c.deps.type==="response"&&((m=(b=c.deps.response)==null?void 0:b.content)==null?void 0:m.mediaTypes))return((O=(y=c.deps.response)==null?void 0:y.content)==null?void 0:O.mediaTypes.length)>1?(A=(C=c.deps.response)==null?void 0:C.content)==null?void 0:A.active.name:void 0}}function o(c){var u,a,d,h;if(!c||!c.deps.operation||((u=c.deps.operation)==null?void 0:u.isCallback))return null;const p={t:c.deps.type,in:c.in||c.deps.in,c:c.deps.type==="response"?(a=c.deps.response)==null?void 0:a.code:void 0,cb:((d=c.deps.operation)==null?void 0:d.isCallback)?(h=c.deps.operation)==null?void 0:h.id:void 0,ct:s(c),path:c.fieldFullPath};return(0,t.stringify)(p,{encode:!1})}function r(c="",u="",a="/"){return c.endsWith(a)&&(c=c.slice(0,-a.length)),u.startsWith(a)&&(u=u.slice(a.length)),!c||!u?c+u:c+a+u}},24787:(L,n,e)=>{"use strict";e.d(n,{N:()=>t});var t;(function(l){l.STACKED="stacked",l.THREE_PANEL="three-panel"})(t||(t={}))},20906:(L,n,e)=>{"use strict";e.d(n,{s:()=>t});var t;(function(l){l.SummaryOnly="summary-only",l.PathFirst="path-first",l.IdOnly="id-only"})(t||(t={}))},64776:(L,n,e)=>{"use strict";e.d(n,{AH:()=>p,PP:()=>T,mm:()=>S,lN:()=>v,Qr:()=>m,EA:()=>y,CY:()=>O,p8:()=>C,JQ:()=>A,rS:()=>w});var t=e(9996),l=e.n(t),s=e(10519),o=Object.defineProperty,r=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,u=Object.prototype.propertyIsEnumerable,a=(x,R,g)=>R in x?o(x,R,{enumerable:!0,configurable:!0,writable:!0,value:g}):x[R]=g,d=(x,R)=>{for(var g in R||(R={}))c.call(R,g)&&a(x,g,R[g]);if(r)for(var g of r(R))u.call(R,g)&&a(x,g,R[g]);return x},h=(x,R,g)=>new Promise((k,G)=>{var Z=Ee=>{try{ee(g.next(Ee))}catch(Fe){G(Fe)}},oe=Ee=>{try{ee(g.throw(Ee))}catch(Fe){G(Fe)}},ee=Ee=>Ee.done?k(Ee.value):Promise.resolve(Ee.value).then(Z,oe);ee((g=g.apply(x,R)).next())});function p(x){return x.startsWith("/")||(x="/"+x),x.endsWith("/")&&(x=x.slice(0,-1)),x}function E(x,R){return!x||!R?!1:T(x)===T(R)}function T(x){if(!x)return;const R=x.split(";")[0].toLowerCase(),[g,k]=R.split("/");if(k===void 0)return g;const Z=k.split("+").pop();return`${g}/${Z}`}function S(x){const R=new RegExp("%7B","g"),g=new RegExp("%7D","g");return x.replace(R,"{").replace(g,"}").replace("///","//")}function v(x,R){if(!(x.length&&b(x)))return R;const g=x.filter(k=>Object.keys(k).length>0);return R.forEach(function(k,G){(0,s.Gk)(k)?g[G]=l()(x[G],k,{arrayMerge:v}):Array.isArray(k)?g.push(k):g[G]=k}),g}const b=x=>x.some(R=>(0,s.Kn)(R)&&Object.keys(R).length>0);function m(x){return!!x&&Object.keys(x).length===0}const y=typeof window!="undefined"&&(window.crypto||window.msCrypto)||void 0;function O(x=32){let R="";for(;R.length<x;)R+=Math.random().toString(32).substring(2);return R.substring(0,x)}function C(x){const R=d({randomStr:O()},x);return btoa(JSON.stringify(R))}function A(x){return h(this,null,function*(){const R=new TextEncoder().encode(x);return y==null?void 0:y.subtle.digest("SHA-256",R)})}function w(x){if(!!x)return btoa(String.fromCharCode.apply(null,new Uint8Array(x))).replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/,"")}},49376:(L,n,e)=>{"use strict";e.d(n,{C:()=>t,T:()=>l});var t;(function(s){s.LINK_FOR_ID="linkForId",s.GENERATE_DEEP_LINK="generateDeepLink",s.ON_DEEP_LINK_CLICK="onDeepLinkClick",s.REQUEST_INTERCEPTOR="requestInterceptor",s.HOOKS="hooks"})(t||(t={}));var l;(function(s){s.OCTET_STREAM="application/octet-stream",s.MULTIPART="multipart/form-data",s.URL_ENCODED="application/x-www-form-urlencoded",s.JSON="application/json",s.XML="application/xml"})(l||(l={}))},25446:(L,n,e)=>{"use strict";e.d(n,{zJ:()=>s,_3:()=>o,Ds:()=>r,WW:()=>c,YQ:()=>u,ZJ:()=>a,X_:()=>d,Im:()=>h,Y9:()=>p,A8:()=>E,dw:()=>T,Fp:()=>S,xC:()=>v,lX:()=>b,Al:()=>m,U2:()=>O,s1:()=>A,rR:()=>w,uW:()=>x});var t=e(13066);let l;const s=()=>l,o=R=>l=R;function r(R,g,k){let G,Z=0;return function(...ee){Z++;function Ee(){Z>1&&R(...ee),Z=0,G=null}G?clearTimeout(G):k&&R(...ee),G=setTimeout(Ee,g)}}function c(R,g){t.Qg&&window.sessionStorage.setItem("redoc."+R,g)}function u(R){return t.Qg&&window.sessionStorage.getItem("redoc."+R)||""}function a(R,g,k){c(`${R}.${g}`,JSON.stringify(k))}function d(R,g){try{return JSON.parse(u(`${R}.${g}`))}catch(k){return null}}function h(R,g){window.localStorage.setItem("redoc."+R,g)}function p(R){return t.Qg&&window.localStorage.getItem("redoc."+R)||""}function E(R){return R.replace(/[.[\]]/g,g=>({".":"%2e","[":"%5b","]":"%5d"})[g]||"")}function T(R){return R.replace(/%2e|%5b|%5d/g,g=>({"%2e":".","%5b":"[","%5d":"]"})[g]||"")}function S(R,g){R=E(R),typeof g=="string"?c("auth."+R,g):g&&(c(`auth.${R}.password`,g.password||""),c(`auth.${R}.username`,g.username||""),c(`auth.${R}.token`,g.token&&JSON.stringify(g.token)||""),c(`auth.${R}.client_id`,g.client_id||""),c(`auth.${R}.client_secret`,g.client_secret||""),c(`auth.${R}.scopes`,g.scopes&&JSON.stringify(g.scopes)||""))}function v(R,g){R=E(R),c(`auth.${R}.variants`,JSON.stringify(g))}function b(R){R=E(R);const g=u(`auth.${R}`),k=u(`auth.${R}.token`);return{raw:g,password:u(`auth.${R}.password`),username:u(`auth.${R}.username`),token:k&&JSON.parse(k)||null,client_id:u(`auth.${R}.client_id`),client_secret:u(`auth.${R}.client_secret`),scopes:u(`auth.${R}.scopes`)}}function m(R,g){R=E(R);const k=u(`auth.${R}.variants`);if(!k)return null;const G=JSON.parse(k);return!G||!Array.isArray(G)?null:G.map(Z=>Z.details?g===""&&Z.details&&typeof Z.details=="string"?{label:Z.label,value:Z.details}:typeof Z.details=="object"?{label:Z.label,value:Z.details[g]}:null:null).filter(y)}function y(R){return R!==null}function O(R={},g,k){return typeof g=="string"&&(g=g.split(".")),g.reduce((G,Z)=>G&&G[Z]?G[Z]:k,R)}function C(R){return(...g)=>g.filter(Boolean).join(R)}const A=C(".");function w(R){var g;return t.Qg?(g=window==null?void 0:window.REFERENCE_DOCS_OPTIONS)==null?void 0:g[R]:null}function x(){var R;if(!t.Qg)return"";const g=+new Date+Math.random();try{return(!document.currentScript||!(document.currentScript.async||document.currentScript.defer))&&document.write(`<script id="dummy${g}"><\/script>`),((R=document.getElementById("dummy"+g))==null?void 0:R.previousSibling).src}catch(k){return""}}},26729:L=>{"use strict";var n=Object.prototype.hasOwnProperty,e="~";function t(){}Object.create&&(t.prototype=Object.create(null),new t().__proto__||(e=!1));function l(c,u,a){this.fn=c,this.context=u,this.once=a||!1}function s(c,u,a,d,h){if(typeof a!="function")throw new TypeError("The listener must be a function");var p=new l(a,d||c,h),E=e?e+u:u;return c._events[E]?c._events[E].fn?c._events[E]=[c._events[E],p]:c._events[E].push(p):(c._events[E]=p,c._eventsCount++),c}function o(c,u){--c._eventsCount==0?c._events=new t:delete c._events[u]}function r(){this._events=new t,this._eventsCount=0}r.prototype.eventNames=function(){var u=[],a,d;if(this._eventsCount===0)return u;for(d in a=this._events)n.call(a,d)&&u.push(e?d.slice(1):d);return Object.getOwnPropertySymbols?u.concat(Object.getOwnPropertySymbols(a)):u},r.prototype.listeners=function(u){var a=e?e+u:u,d=this._events[a];if(!d)return[];if(d.fn)return[d.fn];for(var h=0,p=d.length,E=new Array(p);h<p;h++)E[h]=d[h].fn;return E},r.prototype.listenerCount=function(u){var a=e?e+u:u,d=this._events[a];return d?d.fn?1:d.length:0},r.prototype.emit=function(u,a,d,h,p,E){var T=e?e+u:u;if(!this._events[T])return!1;var S=this._events[T],v=arguments.length,b,m;if(S.fn){switch(S.once&&this.removeListener(u,S.fn,void 0,!0),v){case 1:return S.fn.call(S.context),!0;case 2:return S.fn.call(S.context,a),!0;case 3:return S.fn.call(S.context,a,d),!0;case 4:return S.fn.call(S.context,a,d,h),!0;case 5:return S.fn.call(S.context,a,d,h,p),!0;case 6:return S.fn.call(S.context,a,d,h,p,E),!0}for(m=1,b=new Array(v-1);m<v;m++)b[m-1]=arguments[m];S.fn.apply(S.context,b)}else{var y=S.length,O;for(m=0;m<y;m++)switch(S[m].once&&this.removeListener(u,S[m].fn,void 0,!0),v){case 1:S[m].fn.call(S[m].context);break;case 2:S[m].fn.call(S[m].context,a);break;case 3:S[m].fn.call(S[m].context,a,d);break;case 4:S[m].fn.call(S[m].context,a,d,h);break;default:if(!b)for(O=1,b=new Array(v-1);O<v;O++)b[O-1]=arguments[O];S[m].fn.apply(S[m].context,b)}}return!0},r.prototype.on=function(u,a,d){return s(this,u,a,d,!1)},r.prototype.once=function(u,a,d){return s(this,u,a,d,!0)},r.prototype.removeListener=function(u,a,d,h){var p=e?e+u:u;if(!this._events[p])return this;if(!a)return o(this,p),this;var E=this._events[p];if(E.fn)E.fn===a&&(!h||E.once)&&(!d||E.context===d)&&o(this,p);else{for(var T=0,S=[],v=E.length;T<v;T++)(E[T].fn!==a||h&&!E[T].once||d&&E[T].context!==d)&&S.push(E[T]);S.length?this._events[p]=S.length===1?S[0]:S:o(this,p)}return this},r.prototype.removeAllListeners=function(u){var a;return u?(a=e?e+u:u,this._events[a]&&o(this,a)):(this._events=new t,this._eventsCount=0),this},r.prototype.off=r.prototype.removeListener,r.prototype.addListener=r.prototype.on,r.prefixed=e,r.EventEmitter=r,L.exports=r},64063:L=>{"use strict";L.exports=function n(e,t){if(e===t)return!0;if(e&&t&&typeof e=="object"&&typeof t=="object"){if(e.constructor!==t.constructor)return!1;var l,s,o;if(Array.isArray(e)){if(l=e.length,l!=t.length)return!1;for(s=l;s--!=0;)if(!n(e[s],t[s]))return!1;return!0}if(e.constructor===RegExp)return e.source===t.source&&e.flags===t.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===t.valueOf();if(e.toString!==Object.prototype.toString)return e.toString()===t.toString();if(o=Object.keys(e),l=o.length,l!==Object.keys(t).length)return!1;for(s=l;s--!=0;)if(!Object.prototype.hasOwnProperty.call(t,o[s]))return!1;for(s=l;s--!=0;){var r=o[s];if(!n(e[r],t[r]))return!1}return!0}return e!==e&&t!==t}},4445:L=>{L.exports=o,o.default=o,o.stable=a,o.stableStringify=a;var n="[...]",e="[Circular]",t=[],l=[];function s(){return{depthLimit:Number.MAX_SAFE_INTEGER,edgesLimit:Number.MAX_SAFE_INTEGER}}function o(p,E,T,S){typeof S=="undefined"&&(S=s()),c(p,"",0,[],void 0,0,S);var v;try{l.length===0?v=JSON.stringify(p,E,T):v=JSON.stringify(p,h(E),T)}catch(m){return JSON.stringify("[unable to serialize, circular reference is too complex to analyze]")}finally{for(;t.length!==0;){var b=t.pop();b.length===4?Object.defineProperty(b[0],b[1],b[3]):b[0][b[1]]=b[2]}}return v}function r(p,E,T,S){var v=Object.getOwnPropertyDescriptor(S,T);v.get!==void 0?v.configurable?(Object.defineProperty(S,T,{value:p}),t.push([S,T,E,v])):l.push([E,T,p]):(S[T]=p,t.push([S,T,E]))}function c(p,E,T,S,v,b,m){b+=1;var y;if(typeof p=="object"&&p!==null){for(y=0;y<S.length;y++)if(S[y]===p){r(e,p,E,v);return}if(typeof m.depthLimit!="undefined"&&b>m.depthLimit){r(n,p,E,v);return}if(typeof m.edgesLimit!="undefined"&&T+1>m.edgesLimit){r(n,p,E,v);return}if(S.push(p),Array.isArray(p))for(y=0;y<p.length;y++)c(p[y],y,y,S,p,b,m);else{var O=Object.keys(p);for(y=0;y<O.length;y++){var C=O[y];c(p[C],C,y,S,p,b,m)}}S.pop()}}function u(p,E){return p<E?-1:p>E?1:0}function a(p,E,T,S){typeof S=="undefined"&&(S=s());var v=d(p,"",0,[],void 0,0,S)||p,b;try{l.length===0?b=JSON.stringify(v,E,T):b=JSON.stringify(v,h(E),T)}catch(y){return JSON.stringify("[unable to serialize, circular reference is too complex to analyze]")}finally{for(;t.length!==0;){var m=t.pop();m.length===4?Object.defineProperty(m[0],m[1],m[3]):m[0][m[1]]=m[2]}}return b}function d(p,E,T,S,v,b,m){b+=1;var y;if(typeof p=="object"&&p!==null){for(y=0;y<S.length;y++)if(S[y]===p){r(e,p,E,v);return}try{if(typeof p.toJSON=="function")return}catch(w){return}if(typeof m.depthLimit!="undefined"&&b>m.depthLimit){r(n,p,E,v);return}if(typeof m.edgesLimit!="undefined"&&T+1>m.edgesLimit){r(n,p,E,v);return}if(S.push(p),Array.isArray(p))for(y=0;y<p.length;y++)d(p[y],y,y,S,p,b,m);else{var O={},C=Object.keys(p).sort(u);for(y=0;y<C.length;y++){var A=C[y];d(p[A],A,y,S,p,b,m),O[A]=p[A]}if(typeof v!="undefined")t.push([v,E,p]),v[E]=O;else return O}S.pop()}}function h(p){return p=typeof p!="undefined"?p:function(E,T){return T},function(E,T){if(l.length>0)for(var S=0;S<l.length;S++){var v=l[S];if(v[1]===E&&v[0]===T){T=v[2],l.splice(S,1);break}}return p.call(this,E,T)}}},92806:L=>{"use strict";L.exports=function(n,e){for(var t={},l=Object.keys(n),s=Array.isArray(e),o=0;o<l.length;o++){var r=l[o],c=n[r];(s?e.indexOf(r)!==-1:e(r,c,n))&&(t[r]=c)}return t}},49804:L=>{var n=Object.prototype.hasOwnProperty,e=Object.prototype.toString;L.exports=function(l,s,o){if(e.call(s)!=="[object Function]")throw new TypeError("iterator must be a function");var r=l.length;if(r===+r)for(var c=0;c<r;c++)s.call(o,l[c],c,l);else for(var u in l)n.call(l,u)&&s.call(o,l[u],u,l)}},46841:(L,n)=>{"use strict";var e;e={value:!0},n.Z=t=>Object.getOwnPropertySymbols(t).filter(l=>Object.prototype.propertyIsEnumerable.call(t,l))},8679:(L,n,e)=>{"use strict";var t=e(21296),l={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},s={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},o={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},r={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},c={};c[t.ForwardRef]=o,c[t.Memo]=r;function u(v){return t.isMemo(v)?r:c[v.$$typeof]||l}var a=Object.defineProperty,d=Object.getOwnPropertyNames,h=Object.getOwnPropertySymbols,p=Object.getOwnPropertyDescriptor,E=Object.getPrototypeOf,T=Object.prototype;function S(v,b,m){if(typeof b!="string"){if(T){var y=E(b);y&&y!==T&&S(v,y,m)}var O=d(b);h&&(O=O.concat(h(b)));for(var C=u(v),A=u(b),w=0;w<O.length;++w){var x=O[w];if(!s[x]&&!(m&&m[x])&&!(A&&A[x])&&!(C&&C[x])){var R=p(b,x);try{a(v,x,R)}catch(g){}}}}return v}L.exports=S},96103:(L,n)=>{"use strict";/** @license React v16.13.1
|
|
2658
|
+
`}var Eo=Object.defineProperty,us=Object.defineProperties,Zr=Object.getOwnPropertyDescriptors,io=Object.getOwnPropertySymbols,oo=Object.prototype.hasOwnProperty,Br=Object.prototype.propertyIsEnumerable,Xi=(F,me,Ne)=>me in F?Eo(F,me,{enumerable:!0,configurable:!0,writable:!0,value:Ne}):F[me]=Ne,Lo=(F,me)=>{for(var Ne in me||(me={}))oo.call(me,Ne)&&Xi(F,Ne,me[Ne]);if(io)for(var Ne of io(me))Br.call(me,Ne)&&Xi(F,Ne,me[Ne]);return F},so=(F,me)=>us(F,Zr(me));const Ur=1,Xr={javascript:hr,node:pn,python:In,shell:lr,java8:mr,java:bs,csharp:Yi,csharpNewtonsoft:ws,go,php:Uo,ruby:bo,r:{info:{key:"r",title:"R",extname:".r",default:"httr"},httr:function(F,me,{target:Ne,client:Bt}){var Gt,Wt,Kt,Rt;const Tt=Object.assign({indent:" ",showBoilerplate:!0,printBody:!0},me),mt=new Pn({indentation:Tt.indent,variablesPrefix:Tt.variablesPrefix,lang:b.R}),Xt=F.method.toUpperCase(),rn=(Gt=F.securityOAuth2ExtraCalls)==null?void 0:Gt[0];if(Tt.showBoilerplate&&mt.push("library(httr)").blank(),rn){const Cn="oauth2_",yn=new pi(rn).convert(Ne,Bt,so(Lo({},Tt),{variablesPrefix:Cn,showBoilerplate:!1})),zn=`${Cn}data_req`;mt.push(yn).push(`access_token = content(${zn}, "parsed")$access_token`).blank(),F.allHeaders.Authorization='paste("Bearer", access_token)'}let Dt,en="";if(F==null?void 0:F.postData)switch((0,a.PP)((Wt=F==null?void 0:F.postData)==null?void 0:Wt.mimeType)){case d.T.URL_ENCODED:{Dt="form",en=mt.var("body");const Cn=ro(F.postData.params,Tt);mt.push(`${en} <- list(${Cn})`).blank();break}case d.T.JSON:{Dt="json",en=mt.var("body");const Cn=Ui(F.postData.jsonObj,Tt);mt.push(`${en} = '${Cn}'`).blank();break}case d.T.MULTIPART:{Dt="multipart",en=mt.var("body");const Cn=ro(F.postData.params,Tt);mt.push(`${en} <- list(${Cn})`).blank();break}default:((Kt=F.postData)==null?void 0:Kt.text)&&(en=mt.var("body"),Dt="raw",mt.push(`${en} = ${Ui((Rt=F.postData)==null?void 0:Rt.text)}`).blank())}wt(F,mt),Object.keys(Lo(Lo({},F.pathParameters),F.serverVariables)).length&&mt.blank().push("# create you own operator").push('"%&%" <- function(x, y)paste0(x,y)').blank();const Nt=st(F,mt);mt.push(`url = ${Nt}`).blank();const fr=mt.var("data_req");if(mt.push(`${fr} <- ${Xt}(`),mt.push(Ur,"url,"),F.basicAuth){const{username:Cn,password:yn}=F.basicAuth;mt.push(Ur,`authenticate("${Cn}", "${yn}")`)}if(Object.keys(F.allHeaders).length){const Cn=`${Object.keys(F.allHeaders).map(yn=>`"${yn}" = ${F.allHeaders[yn].startsWith("paste")?F.allHeaders[yn]:`"${F.allHeaders[yn]}"`}`).join(", ")}`;Cn&&mt.push(Ur,`add_headers(${Cn}),`)}return en&&(mt.push(Ur,`body = ${en},`),mt.push(Ur,`encode = "${Dt}",`)),mt.push(Ur,"verbose()"),mt.push(")"),Tt.printBody&&mt.blank().push(`content(${fr}${Dt==="raw"?', "text"':""})`),mt.join()}}};function _i(F,me){if(F[me.name]===void 0)return F[me.name]=me.value,F;if(F[me.name]instanceof Array)return F[me.name].push(me.value),F;const Ne=[F[me.name],me.value];return F[me.name]=Ne,F}var Oo=Object.defineProperty,Si=Object.defineProperties,So=Object.getOwnPropertyDescriptors,cs=Object.getOwnPropertySymbols,Li=Object.prototype.hasOwnProperty,Ii=Object.prototype.propertyIsEnumerable,Ki=(F,me,Ne)=>me in F?Oo(F,me,{enumerable:!0,configurable:!0,writable:!0,value:Ne}):F[me]=Ne,Po=(F,me)=>{for(var Ne in me||(me={}))Li.call(me,Ne)&&Ki(F,Ne,me[Ne]);if(cs)for(var Ne of cs(me))Ii.call(me,Ne)&&Ki(F,Ne,me[Ne]);return F},zi=(F,me)=>Si(F,So(me)),Wo=(F,me,Ne)=>(Ki(F,typeof me!="symbol"?me+"":me,Ne),Ne);class pi{constructor(me){Wo(this,"request");const Ne=Po({},me);this.request=this.prepare(zi(Po({},Ne),{httpVersion:Ne.httpVersion||"HTTP/1.1",queryString:Ne.queryString||[],headers:Ne.headers||[],cookies:Ne.cookies||[],postData:Ne.postData?zi(Po({},Ne.postData),{jsonObj:void 0,paramsObj:void 0}):void 0,bodySize:0,headersSize:0,queryObj:{},headersObj:{},cookiesObj:{},allHeaders:{},uriObj:{},fullUrl:"",pathParameters:Ne.pathParameters||{},serverVariables:Ne.serverVariables||{}}))}prepare(me){var Ne;if(me.queryString&&me.queryString.length&&(me.queryObj=me.queryString.reduce(_i,{})),me.headers&&me.headers.length){const Gt=/^HTTP\/2/;me.headersObj=me.headers.reduce(function(Wt,Kt){let Rt=Kt.name;return me.httpVersion.match(Gt)&&(Rt=Rt.toLowerCase()),Wt[Rt]=Kt.value,Wt},{})}me.cookies&&me.cookies.length&&(me.cookiesObj=me.cookies.reduceRight(function(Gt,Wt){return Gt[Wt.name]=Wt.value,Gt},{}));const Bt=me.cookies.map(function(Gt){return encodeURIComponent(Gt.name)+"="+encodeURIComponent(Gt.value)});if(Bt.length&&(me.allHeaders.cookie=Bt.join("; ")),me.postData)switch((0,a.PP)(me.postData.mimeType)){case"multipart/mixed":case"multipart/related":case d.T.MULTIPART:case"multipart/alternative":break;case d.T.URL_ENCODED:((Ne=me.postData)==null?void 0:Ne.params)?(me.postData.paramsObj=me.postData.params.reduce(_i,{}),me.postData.text=p.stringify(me.postData.paramsObj)):me.postData.text="";break;case"text/json":case"text/x-json":case d.T.JSON:case"application/x-json":if(me.postData.text)try{me.postData.jsonObj=JSON.parse(me.postData.text)}catch(Gt){me.postData.mimeType="text/plain"}break}return me.allHeaders=Object.assign(me.allHeaders,me.headersObj),me.uriObj=new URL(me.url),me.queryObj=Object.assign(me.queryObj,tn(me.uriObj.searchParams)),me.uriObj.query="",me.uriObj.search="",me.uriObj.path=me.uriObj.pathname=(0,a.mm)(me.uriObj.pathname),me.url=(0,a.mm)(E.format(me.uriObj)),me.uriObj.query=me.queryObj,me.uriObj.search=p.stringify(me.queryObj),me.uriObj.search&&(me.uriObj.path=me.uriObj.pathname+"?"+me.uriObj.search),me.fullUrl=(0,a.mm)(E.format(me.uriObj)),me}convert(me,Ne,Bt){!Bt&&Ne&&(Bt=Ne);const Gt=this._matchTarget(me,Ne);if(Gt){const Wt=Gt(this.request,Bt,{target:me,client:Ne});return Wt.length===1?Wt[0]:Wt}throw new Error("Can not match target")}_matchTarget(me,Ne){return Object.prototype.hasOwnProperty.call(Xr,me)?typeof Ne=="string"&&typeof Xr[me][Ne]=="function"?Xr[me][Ne]:Xr[me][Xr[me].info.default]:!1}}var ao=Object.defineProperty,$s=Object.defineProperties,Gs=Object.getOwnPropertyDescriptors,N=Object.getOwnPropertySymbols,Y=Object.prototype.hasOwnProperty,de=Object.prototype.propertyIsEnumerable,le=(F,me,Ne)=>me in F?ao(F,me,{enumerable:!0,configurable:!0,writable:!0,value:Ne}):F[me]=Ne,Ie=(F,me)=>{for(var Ne in me||(me={}))Y.call(me,Ne)&&le(F,Ne,me[Ne]);if(N)for(var Ne of N(me))de.call(me,Ne)&&le(F,Ne,me[Ne]);return F},D=(F,me)=>$s(F,Gs(me));function M(F,{exampleName:me="",skipOptionalParameters:Ne=!1,withOAuth2Call:Bt=!1,spec:Gt,generatedPayloadSamplesMaxDepth:Wt=8,pathParams:Kt={},properties:Rt={}}){var Tt,mt,Xt,rn,Dt,en,Nt,fr,Cn,yn;const{securityHeaders:zn,securityCookies:Vn,securityQueries:Mr,securityOAuth2ExtraCalls:Pi,basicAuth:Ys}=Ve((Tt=F.security)==null?void 0:Tt[0],Bt),ri=(Xt=(mt=F.requestBody)==null?void 0:mt.content)==null?void 0:Xt.active,ds={skipNonRequired:Ne,skipReadOnly:!0,maxSampleDepth:Wt},Vo={path:(0,r.ZN)((rn=F==null?void 0:F.requestValues)==null?void 0:rn.path),cookie:(0,r.ZN)((Dt=F==null?void 0:F.requestValues)==null?void 0:Dt.cookie),header:(0,r.ZN)((en=F==null?void 0:F.requestValues)==null?void 0:en.header),query:(0,r.ZN)((Nt=F==null?void 0:F.requestValues)==null?void 0:Nt.query),body:(0,r.ZN)((fr=F==null?void 0:F.requestValues)==null?void 0:fr.body)};let wa=!1;const Ta=F.parameters.filter(Jn=>Jn.in==="header").filter(Jn=>!(Ne&&!Jn.required)).map(Jn=>{var lo;return{name:Jn.name,value:((lo=Vo.header)==null?void 0:lo[Jn.name])||(0,u.X_)("header",Jn.name)||(0,c.serializeParameterValue)(Jn,l.UP(Jn.schema.rawSchema,ds,Gt))}}).map(Jn=>((ri==null?void 0:ri.name)&&Jn.name.toLowerCase()==="content-type"&&(wa=!0,Jn.value=ri.name),Jn)).concat(zn);!wa&&(ri==null?void 0:ri.name)&&Ta.unshift({name:"Content-Type",value:ri==null?void 0:ri.name});const Ca=F.parameters.filter(Jn=>Jn.in==="cookie").filter(Jn=>!(Ne&&!Jn.required)).map(Jn=>(0,t.parse)((0,c.serializeParameterValue)(Jn,l.UP(Jn.schema.rawSchema,ds,Gt)))).reduce((Jn,lo)=>{var Di;for(const[Wi,xi]of Object.entries(lo))Jn.push({name:Wi,value:String(((Di=Vo.cookie)==null?void 0:Di[Wi])||xi)});return Jn},[]).concat(Vn),pa=F.parameters.filter(Jn=>Jn.in==="query").filter(Jn=>!(Ne&&!Jn.required)).map(Jn=>(0,t.parse)((0,c.serializeParameterValue)(Jn,l.UP(Jn.schema.rawSchema,ds,Gt)))).reduce((Jn,lo)=>{var Di,Wi,xi;for(const[Zs,Qa]of Object.entries(lo))Jn.push({name:Zs,value:(0,c.isArrayOfObjects)((Di=Vo.query)==null?void 0:Di[Zs])&&JSON.stringify((0,c.deleteEmptyArrayItem)((Wi=Vo.query)==null?void 0:Wi[Zs]))||String(((xi=Vo.query)==null?void 0:xi[Zs])||Qa)});return Jn},[]).concat(Mr),Js=(Cn=F.activeServer)==null?void 0:Cn.url.replace(/\/$/,""),ha=F.path.replace(/^\//,""),[Va]=Js.split("#"),ma=`${Va}/${ha}`,Ha=F.parameters.filter(Jn=>Jn.in==="path").reduce((Jn,lo)=>{var Di;const{in:Wi,name:xi}=lo;return Jn[xi]=((Di=Vo.path)==null?void 0:Di[xi])||Kt[xi]||(0,u.X_)(Wi,xi),Jn},{}),Ms=(yn=ri==null?void 0:ri.examples)==null?void 0:yn[me],xo=(ri==null?void 0:ri.examples)||{},[Ls]=Object.values(xo),Ho=Vo.body||(Ms==null?void 0:Ms.value)||(Ls==null?void 0:Ls.value)||(ri==null?void 0:ri.schema)&&l.UP(ri==null?void 0:ri.schema.rawSchema,ds,Gt),fs=ri==null?void 0:ri.name.toLowerCase();let ps,hs=[];switch((0,a.PP)(fs)){case d.T.JSON:case d.T.XML:ps=JSON.stringify(_t(Ho,Rt));break;case d.T.URL_ENCODED:case d.T.MULTIPART:ps=(0,t.stringify)(_t(Ho,Rt)),hs=Sn(_t(Ho,Rt));break;default:ps=String(Ho||"")}const Ka=ps?{mimeType:(ri==null?void 0:ri.name)||d.T.OCTET_STREAM,text:ps,params:hs}:void 0,Ra=F.responses.map(Jn=>Jn.code);return{method:F.httpVerb,url:ma,httpVersion:"HTTP/1.1",cookies:Ca,headers:Ta,queryString:pa,postData:Ka,headersSize:-1,bodySize:-1,securityOAuth2ExtraCalls:Pi,basicAuth:Ys,pathParameters:Ha,serverVariables:F.activeServer.variables,allResponseCodes:Ra}}const z={withImports:!0,withComments:!1},ge={curl:{code:"shell",defaultTarget:"curl",defaultOptions:D(Ie({},z),{short:!0})},JavaScript:{code:"javascript",defaultTarget:"fetch",defaultOptions:D(Ie({},z),{withImports:!1})},"Node.js":{code:"node",defaultTarget:"fetch",defaultOptions:Ie({},z)},Python:{code:"python",defaultTarget:"requests",defaultOptions:Ie({},z)},"Java8+Apache":{code:"java8",defaultTarget:"apachehttp",defaultOptions:Ie({},z)},Java:{code:"java",defaultTarget:"httpclient",defaultOptions:Ie({},z)},"C#":{code:"csharp",defaultTarget:"httpclient",defaultOptions:Ie({},z)},"C#+Newtonsoft":{code:"csharpNewtonsoft",defaultTarget:"httpclient",defaultOptions:Ie({},z)},Go:{code:"go",defaultTarget:"http.DefaultClient",defaultOptions:Ie({},z)},PHP:{code:"php",defaultTarget:"curl",defaultOptions:Ie({},z)},Ruby:{code:"ruby",defaultTarget:"net::http",defaultOptions:Ie({},z)},R:{code:"r",defaultTarget:"httr",defaultOptions:Ie({},z)}};function Ae({lang:F,operation:me,exampleName:Ne,pathParams:Bt,properties:Gt,options:Wt={}}){try{const{skipOptionalParameters:Kt,withOAuth2Call:Rt,spec:Tt,generatedPayloadSamplesMaxDepth:mt}=Wt,Xt=M(me,{exampleName:Ne,pathParams:Bt,properties:Gt,skipOptionalParameters:Kt,withOAuth2Call:Rt,spec:Tt,generatedPayloadSamplesMaxDepth:mt}),rn=new pi(Xt);return ge[F]?rn.convert(ge[F].code,ge[F].defaultTarget,Ie(Ie({},ge[F].defaultOptions),Wt)):"Language is not supported."}catch(Kt){return console.error(Kt),"Failed to generate code sample."}}function Ve(F,me){var Ne,Bt,Gt,Wt;const Kt={securityHeaders:[],securityCookies:[],securityQueries:[],securityOAuth2ExtraCalls:[],basicAuth:void 0};for(const Rt of(F==null?void 0:F.schemes)||[]){const Tt=(0,u.lX)(Rt.id);switch(Rt.type){case"openIdConnect":(Ne=Kt.securityHeaders)==null||Ne.push({name:"Authorization",value:"Bearer <YOUR_TOKEN_HERE>"});break;case"oauth2":{const mt=Tt.token?`${Tt.token.token_type||"Bearer"} ${Tt.token.access_token}`:"Bearer <YOUR_TOKEN_HERE>";Rt.flows.clientCredentials&&me?Kt.securityOAuth2ExtraCalls.push(vt(Rt.flows.clientCredentials,Rt.scopes,Tt)):Rt.flows.password&&me&&Kt.securityOAuth2ExtraCalls.push(ct(Rt.flows.password,Rt.scopes,Tt)),(Bt=Kt.securityHeaders)==null||Bt.push({name:"Authorization",value:mt});break}case"apiKey":{const mt=Tt.raw||"YOUR_API_KEY_HERE";Rt.in==="header"&&((Gt=Kt.securityHeaders)==null||Gt.push({name:Rt.name,value:mt})),Rt.in==="cookie"&&Kt.securityCookies.push({name:Rt.name,value:mt}),Rt.in==="query"&&Kt.securityQueries.push({name:Rt.name,value:mt});break}case"http":Rt.scheme==="basic"?Kt.basicAuth={username:Tt.username||`<${Rn.toSnakeCase((0,h.l)("tryItAuthBasicUsername"))}>`,password:Tt.password||`<${Rn.toSnakeCase((0,h.l)("tryItAuthBasicPassword"))}>`}:(Wt=Kt.securityHeaders)==null||Wt.push({name:"Authorization",value:`${tr(Rt.scheme||"bearer")} <YOUR_${Rt.bearerFormat||"TOKEN"}_HERE>`});break}}return Kt}function ct(F,me,Ne){return{method:"POST",url:F.tokenUrl,httpVersion:"HTTP/1.1",headers:[{name:"Content-Type",value:d.T.URL_ENCODED},{name:"Accept",value:d.T.JSON}],queryString:[],postData:{mimeType:d.T.URL_ENCODED,text:"",params:[{name:"grant_type",value:"password"},{name:"client_id",value:Ne.client_id||"YOUR_CLIENT_ID"},{name:"client_secret",value:Ne.client_secret||"YOUR_CLIENT_SECRET"},{name:"username",value:Ne.username||"<username>"},{name:"password",value:Ne.password||"<password>"},me.length?{name:"scope",value:me.join(" ")}:void 0].filter(Wn)},cookies:[],headersSize:-1,bodySize:-1,securityOAuth2ExtraCalls:[]}}function vt(F,me,Ne){return{method:"POST",url:F.tokenUrl,httpVersion:"HTTP/1.1",headers:[{name:"Content-Type",value:d.T.URL_ENCODED},{name:"Accept",value:d.T.JSON}],queryString:[],postData:{mimeType:d.T.URL_ENCODED,text:"",params:[{name:"grant_type",value:"client_credentials"},{name:"client_id",value:Ne.client_id||"YOUR_CLIENT_ID"},{name:"client_secret",value:Ne.client_secret||"YOUR_CLIENT_SECRET"},me.length?{name:"scope",value:me.join(" ")}:void 0].filter(Wn)},cookies:[],headersSize:-1,bodySize:-1,securityOAuth2ExtraCalls:[]}}function _t(F,me){if(F){if(typeof F=="object")return o()(F,me,{arrayMerge:a.lN});try{return o()(JSON.parse(F),me,{arrayMerge:a.lN})}catch(Ne){return!1}}return!1}function Sn(F,me=""){const Ne=[];for(const[Bt,Gt]of Object.entries(F)){const Wt=me?`${me}[${Bt}]`:Bt;typeof Gt=="object"&&Gt!==null?Ne.push(...Sn(Gt,Wt)):Ne.push({name:Wt,value:String(Gt)})}return Ne}function Wn(F){return F!==void 0}function tr(F){return F.charAt(0).toUpperCase()+F.slice(1)}},50293:()=>{},61388:(L,n,e)=>{"use strict";e.d(n,{he:()=>l,Ix:()=>o,mi:()=>r});var t=e(17563);function l(c,u){return c===u||"#"+c===u||c==="#"+u}function s(c){var u,a,d,h,p,E,T,S,v,b,m,y,O,C,A;if(!c.in){if(c.deps.type==="request"&&((d=(a=(u=c.deps.operation)==null?void 0:u.requestBody)==null?void 0:a.content)==null?void 0:d.mediaTypes))return((E=(p=(h=c.deps.operation)==null?void 0:h.requestBody)==null?void 0:p.content)==null?void 0:E.mediaTypes.length)>1?(v=(S=(T=c.deps.operation)==null?void 0:T.requestBody)==null?void 0:S.content)==null?void 0:v.active.name:void 0;if(c.deps.type==="response"&&((m=(b=c.deps.response)==null?void 0:b.content)==null?void 0:m.mediaTypes))return((O=(y=c.deps.response)==null?void 0:y.content)==null?void 0:O.mediaTypes.length)>1?(A=(C=c.deps.response)==null?void 0:C.content)==null?void 0:A.active.name:void 0}}function o(c){var u,a,d,h;if(!c||!c.deps.operation||((u=c.deps.operation)==null?void 0:u.isCallback))return null;const p={t:c.deps.type,in:c.in||c.deps.in,c:c.deps.type==="response"?(a=c.deps.response)==null?void 0:a.code:void 0,cb:((d=c.deps.operation)==null?void 0:d.isCallback)?(h=c.deps.operation)==null?void 0:h.id:void 0,ct:s(c),path:c.fieldFullPath};return(0,t.stringify)(p,{encode:!1})}function r(c="",u="",a="/"){return c.endsWith(a)&&(c=c.slice(0,-a.length)),u.startsWith(a)&&(u=u.slice(a.length)),!c||!u?c+u:c+a+u}},24787:(L,n,e)=>{"use strict";e.d(n,{N:()=>t});var t;(function(l){l.STACKED="stacked",l.THREE_PANEL="three-panel"})(t||(t={}))},20906:(L,n,e)=>{"use strict";e.d(n,{s:()=>t});var t;(function(l){l.SummaryOnly="summary-only",l.PathFirst="path-first",l.IdOnly="id-only"})(t||(t={}))},64776:(L,n,e)=>{"use strict";e.d(n,{AH:()=>p,PP:()=>T,mm:()=>S,lN:()=>v,Qr:()=>m,EA:()=>y,CY:()=>O,p8:()=>C,JQ:()=>A,rS:()=>w});var t=e(9996),l=e.n(t),s=e(10519),o=Object.defineProperty,r=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,u=Object.prototype.propertyIsEnumerable,a=(x,R,g)=>R in x?o(x,R,{enumerable:!0,configurable:!0,writable:!0,value:g}):x[R]=g,d=(x,R)=>{for(var g in R||(R={}))c.call(R,g)&&a(x,g,R[g]);if(r)for(var g of r(R))u.call(R,g)&&a(x,g,R[g]);return x},h=(x,R,g)=>new Promise((k,G)=>{var Z=Ee=>{try{ee(g.next(Ee))}catch(Fe){G(Fe)}},oe=Ee=>{try{ee(g.throw(Ee))}catch(Fe){G(Fe)}},ee=Ee=>Ee.done?k(Ee.value):Promise.resolve(Ee.value).then(Z,oe);ee((g=g.apply(x,R)).next())});function p(x){return x.startsWith("/")||(x="/"+x),x.endsWith("/")&&(x=x.slice(0,-1)),x}function E(x,R){return!x||!R?!1:T(x)===T(R)}function T(x){if(!x)return;const R=x.split(";")[0].toLowerCase(),[g,k]=R.split("/");if(k===void 0)return g;const Z=k.split("+").pop();return`${g}/${Z}`}function S(x){const R=new RegExp("%7B","g"),g=new RegExp("%7D","g");return x.replace(R,"{").replace(g,"}").replace("///","//")}function v(x,R){if(!(x.length&&b(x)))return R;const g=x.filter(k=>Object.keys(k).length>0);return R.forEach(function(k,G){(0,s.Gk)(k)?g[G]=l()(x[G],k,{arrayMerge:v}):Array.isArray(k)?g.push(k):g[G]=k}),g}const b=x=>x.some(R=>(0,s.Kn)(R)&&Object.keys(R).length>0);function m(x){return!!x&&Object.keys(x).length===0}const y=typeof window!="undefined"&&(window.crypto||window.msCrypto)||void 0;function O(x=32){let R="";for(;R.length<x;)R+=Math.random().toString(32).substring(2);return R.substring(0,x)}function C(x){const R=d({randomStr:O()},x);return btoa(JSON.stringify(R))}function A(x){return h(this,null,function*(){const R=new TextEncoder().encode(x);return y==null?void 0:y.subtle.digest("SHA-256",R)})}function w(x){if(!!x)return btoa(String.fromCharCode.apply(null,new Uint8Array(x))).replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/,"")}},49376:(L,n,e)=>{"use strict";e.d(n,{C:()=>t,T:()=>l});var t;(function(s){s.LINK_FOR_ID="linkForId",s.GENERATE_DEEP_LINK="generateDeepLink",s.ON_DEEP_LINK_CLICK="onDeepLinkClick",s.REQUEST_INTERCEPTOR="requestInterceptor",s.HOOKS="hooks"})(t||(t={}));var l;(function(s){s.OCTET_STREAM="application/octet-stream",s.MULTIPART="multipart/form-data",s.URL_ENCODED="application/x-www-form-urlencoded",s.JSON="application/json",s.XML="application/xml"})(l||(l={}))},25446:(L,n,e)=>{"use strict";e.d(n,{zJ:()=>s,_3:()=>o,Ds:()=>r,WW:()=>c,YQ:()=>u,ZJ:()=>a,X_:()=>d,Im:()=>h,Y9:()=>p,A8:()=>E,dw:()=>T,Fp:()=>S,xC:()=>v,lX:()=>b,Al:()=>m,U2:()=>O,s1:()=>A,rR:()=>w,uW:()=>x});var t=e(13066);let l;const s=()=>l,o=R=>l=R;function r(R,g,k){let G,Z=0;return function(...ee){Z++;function Ee(){Z>1&&R(...ee),Z=0,G=null}G?clearTimeout(G):k&&R(...ee),G=setTimeout(Ee,g)}}function c(R,g){t.Qg&&window.sessionStorage.setItem("redoc."+R,g)}function u(R){return t.Qg&&window.sessionStorage.getItem("redoc."+R)||""}function a(R,g,k){c(`${R}.${g}`,JSON.stringify(k))}function d(R,g){try{return JSON.parse(u(`${R}.${g}`))}catch(k){return null}}function h(R,g){window.localStorage.setItem("redoc."+R,g)}function p(R){return t.Qg&&window.localStorage.getItem("redoc."+R)||""}function E(R){return R.replace(/[.[\]]/g,g=>({".":"%2e","[":"%5b","]":"%5d"})[g]||"")}function T(R){return R.replace(/%2e|%5b|%5d/g,g=>({"%2e":".","%5b":"[","%5d":"]"})[g]||"")}function S(R,g){R=E(R),typeof g=="string"?c("auth."+R,g):g&&(c(`auth.${R}.password`,g.password||""),c(`auth.${R}.username`,g.username||""),c(`auth.${R}.token`,g.token&&JSON.stringify(g.token)||""),c(`auth.${R}.client_id`,g.client_id||""),c(`auth.${R}.client_secret`,g.client_secret||""),c(`auth.${R}.scopes`,g.scopes&&JSON.stringify(g.scopes)||""))}function v(R,g){R=E(R),c(`auth.${R}.variants`,JSON.stringify(g))}function b(R){R=E(R);const g=u(`auth.${R}`),k=u(`auth.${R}.token`);return{raw:g,password:u(`auth.${R}.password`),username:u(`auth.${R}.username`),token:k&&JSON.parse(k)||null,client_id:u(`auth.${R}.client_id`),client_secret:u(`auth.${R}.client_secret`),scopes:u(`auth.${R}.scopes`)}}function m(R,g){R=E(R);const k=u(`auth.${R}.variants`);if(!k)return null;const G=JSON.parse(k);return!G||!Array.isArray(G)?null:G.map(Z=>Z.details?g===""&&Z.details&&typeof Z.details=="string"?{label:Z.label,value:Z.details}:typeof Z.details=="object"?{label:Z.label,value:Z.details[g]}:null:null).filter(y)}function y(R){return R!==null}function O(R={},g,k){return typeof g=="string"&&(g=g.split(".")),g.reduce((G,Z)=>G&&G[Z]?G[Z]:k,R)}function C(R){return(...g)=>g.filter(Boolean).join(R)}const A=C(".");function w(R){var g;return t.Qg?(g=window==null?void 0:window.REFERENCE_DOCS_OPTIONS)==null?void 0:g[R]:null}function x(){var R;if(!t.Qg)return"";const g=+new Date+Math.random();try{return(!document.currentScript||!(document.currentScript.async||document.currentScript.defer))&&document.write(`<script id="dummy${g}"><\/script>`),((R=document.getElementById("dummy"+g))==null?void 0:R.previousSibling).src}catch(k){return""}}},26729:L=>{"use strict";var n=Object.prototype.hasOwnProperty,e="~";function t(){}Object.create&&(t.prototype=Object.create(null),new t().__proto__||(e=!1));function l(c,u,a){this.fn=c,this.context=u,this.once=a||!1}function s(c,u,a,d,h){if(typeof a!="function")throw new TypeError("The listener must be a function");var p=new l(a,d||c,h),E=e?e+u:u;return c._events[E]?c._events[E].fn?c._events[E]=[c._events[E],p]:c._events[E].push(p):(c._events[E]=p,c._eventsCount++),c}function o(c,u){--c._eventsCount==0?c._events=new t:delete c._events[u]}function r(){this._events=new t,this._eventsCount=0}r.prototype.eventNames=function(){var u=[],a,d;if(this._eventsCount===0)return u;for(d in a=this._events)n.call(a,d)&&u.push(e?d.slice(1):d);return Object.getOwnPropertySymbols?u.concat(Object.getOwnPropertySymbols(a)):u},r.prototype.listeners=function(u){var a=e?e+u:u,d=this._events[a];if(!d)return[];if(d.fn)return[d.fn];for(var h=0,p=d.length,E=new Array(p);h<p;h++)E[h]=d[h].fn;return E},r.prototype.listenerCount=function(u){var a=e?e+u:u,d=this._events[a];return d?d.fn?1:d.length:0},r.prototype.emit=function(u,a,d,h,p,E){var T=e?e+u:u;if(!this._events[T])return!1;var S=this._events[T],v=arguments.length,b,m;if(S.fn){switch(S.once&&this.removeListener(u,S.fn,void 0,!0),v){case 1:return S.fn.call(S.context),!0;case 2:return S.fn.call(S.context,a),!0;case 3:return S.fn.call(S.context,a,d),!0;case 4:return S.fn.call(S.context,a,d,h),!0;case 5:return S.fn.call(S.context,a,d,h,p),!0;case 6:return S.fn.call(S.context,a,d,h,p,E),!0}for(m=1,b=new Array(v-1);m<v;m++)b[m-1]=arguments[m];S.fn.apply(S.context,b)}else{var y=S.length,O;for(m=0;m<y;m++)switch(S[m].once&&this.removeListener(u,S[m].fn,void 0,!0),v){case 1:S[m].fn.call(S[m].context);break;case 2:S[m].fn.call(S[m].context,a);break;case 3:S[m].fn.call(S[m].context,a,d);break;case 4:S[m].fn.call(S[m].context,a,d,h);break;default:if(!b)for(O=1,b=new Array(v-1);O<v;O++)b[O-1]=arguments[O];S[m].fn.apply(S[m].context,b)}}return!0},r.prototype.on=function(u,a,d){return s(this,u,a,d,!1)},r.prototype.once=function(u,a,d){return s(this,u,a,d,!0)},r.prototype.removeListener=function(u,a,d,h){var p=e?e+u:u;if(!this._events[p])return this;if(!a)return o(this,p),this;var E=this._events[p];if(E.fn)E.fn===a&&(!h||E.once)&&(!d||E.context===d)&&o(this,p);else{for(var T=0,S=[],v=E.length;T<v;T++)(E[T].fn!==a||h&&!E[T].once||d&&E[T].context!==d)&&S.push(E[T]);S.length?this._events[p]=S.length===1?S[0]:S:o(this,p)}return this},r.prototype.removeAllListeners=function(u){var a;return u?(a=e?e+u:u,this._events[a]&&o(this,a)):(this._events=new t,this._eventsCount=0),this},r.prototype.off=r.prototype.removeListener,r.prototype.addListener=r.prototype.on,r.prefixed=e,r.EventEmitter=r,L.exports=r},64063:L=>{"use strict";L.exports=function n(e,t){if(e===t)return!0;if(e&&t&&typeof e=="object"&&typeof t=="object"){if(e.constructor!==t.constructor)return!1;var l,s,o;if(Array.isArray(e)){if(l=e.length,l!=t.length)return!1;for(s=l;s--!=0;)if(!n(e[s],t[s]))return!1;return!0}if(e.constructor===RegExp)return e.source===t.source&&e.flags===t.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===t.valueOf();if(e.toString!==Object.prototype.toString)return e.toString()===t.toString();if(o=Object.keys(e),l=o.length,l!==Object.keys(t).length)return!1;for(s=l;s--!=0;)if(!Object.prototype.hasOwnProperty.call(t,o[s]))return!1;for(s=l;s--!=0;){var r=o[s];if(!n(e[r],t[r]))return!1}return!0}return e!==e&&t!==t}},4445:L=>{L.exports=o,o.default=o,o.stable=a,o.stableStringify=a;var n="[...]",e="[Circular]",t=[],l=[];function s(){return{depthLimit:Number.MAX_SAFE_INTEGER,edgesLimit:Number.MAX_SAFE_INTEGER}}function o(p,E,T,S){typeof S=="undefined"&&(S=s()),c(p,"",0,[],void 0,0,S);var v;try{l.length===0?v=JSON.stringify(p,E,T):v=JSON.stringify(p,h(E),T)}catch(m){return JSON.stringify("[unable to serialize, circular reference is too complex to analyze]")}finally{for(;t.length!==0;){var b=t.pop();b.length===4?Object.defineProperty(b[0],b[1],b[3]):b[0][b[1]]=b[2]}}return v}function r(p,E,T,S){var v=Object.getOwnPropertyDescriptor(S,T);v.get!==void 0?v.configurable?(Object.defineProperty(S,T,{value:p}),t.push([S,T,E,v])):l.push([E,T,p]):(S[T]=p,t.push([S,T,E]))}function c(p,E,T,S,v,b,m){b+=1;var y;if(typeof p=="object"&&p!==null){for(y=0;y<S.length;y++)if(S[y]===p){r(e,p,E,v);return}if(typeof m.depthLimit!="undefined"&&b>m.depthLimit){r(n,p,E,v);return}if(typeof m.edgesLimit!="undefined"&&T+1>m.edgesLimit){r(n,p,E,v);return}if(S.push(p),Array.isArray(p))for(y=0;y<p.length;y++)c(p[y],y,y,S,p,b,m);else{var O=Object.keys(p);for(y=0;y<O.length;y++){var C=O[y];c(p[C],C,y,S,p,b,m)}}S.pop()}}function u(p,E){return p<E?-1:p>E?1:0}function a(p,E,T,S){typeof S=="undefined"&&(S=s());var v=d(p,"",0,[],void 0,0,S)||p,b;try{l.length===0?b=JSON.stringify(v,E,T):b=JSON.stringify(v,h(E),T)}catch(y){return JSON.stringify("[unable to serialize, circular reference is too complex to analyze]")}finally{for(;t.length!==0;){var m=t.pop();m.length===4?Object.defineProperty(m[0],m[1],m[3]):m[0][m[1]]=m[2]}}return b}function d(p,E,T,S,v,b,m){b+=1;var y;if(typeof p=="object"&&p!==null){for(y=0;y<S.length;y++)if(S[y]===p){r(e,p,E,v);return}try{if(typeof p.toJSON=="function")return}catch(w){return}if(typeof m.depthLimit!="undefined"&&b>m.depthLimit){r(n,p,E,v);return}if(typeof m.edgesLimit!="undefined"&&T+1>m.edgesLimit){r(n,p,E,v);return}if(S.push(p),Array.isArray(p))for(y=0;y<p.length;y++)d(p[y],y,y,S,p,b,m);else{var O={},C=Object.keys(p).sort(u);for(y=0;y<C.length;y++){var A=C[y];d(p[A],A,y,S,p,b,m),O[A]=p[A]}if(typeof v!="undefined")t.push([v,E,p]),v[E]=O;else return O}S.pop()}}function h(p){return p=typeof p!="undefined"?p:function(E,T){return T},function(E,T){if(l.length>0)for(var S=0;S<l.length;S++){var v=l[S];if(v[1]===E&&v[0]===T){T=v[2],l.splice(S,1);break}}return p.call(this,E,T)}}},92806:L=>{"use strict";L.exports=function(n,e){for(var t={},l=Object.keys(n),s=Array.isArray(e),o=0;o<l.length;o++){var r=l[o],c=n[r];(s?e.indexOf(r)!==-1:e(r,c,n))&&(t[r]=c)}return t}},49804:L=>{var n=Object.prototype.hasOwnProperty,e=Object.prototype.toString;L.exports=function(l,s,o){if(e.call(s)!=="[object Function]")throw new TypeError("iterator must be a function");var r=l.length;if(r===+r)for(var c=0;c<r;c++)s.call(o,l[c],c,l);else for(var u in l)n.call(l,u)&&s.call(o,l[u],u,l)}},46841:(L,n)=>{"use strict";var e;e={value:!0},n.Z=t=>Object.getOwnPropertySymbols(t).filter(l=>Object.prototype.propertyIsEnumerable.call(t,l))},8679:(L,n,e)=>{"use strict";var t=e(21296),l={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},s={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},o={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},r={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},c={};c[t.ForwardRef]=o,c[t.Memo]=r;function u(v){return t.isMemo(v)?r:c[v.$$typeof]||l}var a=Object.defineProperty,d=Object.getOwnPropertyNames,h=Object.getOwnPropertySymbols,p=Object.getOwnPropertyDescriptor,E=Object.getPrototypeOf,T=Object.prototype;function S(v,b,m){if(typeof b!="string"){if(T){var y=E(b);y&&y!==T&&S(v,y,m)}var O=d(b);h&&(O=O.concat(h(b)));for(var C=u(v),A=u(b),w=0;w<O.length;++w){var x=O[w];if(!s[x]&&!(m&&m[x])&&!(A&&A[x])&&!(C&&C[x])){var R=p(b,x);try{a(v,x,R)}catch(g){}}}}return v}L.exports=S},96103:(L,n)=>{"use strict";/** @license React v16.13.1
|
|
2659
2659
|
* react-is.production.min.js
|
|
2660
2660
|
*
|
|
2661
2661
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
2662
2662
|
*
|
|
2663
2663
|
* This source code is licensed under the MIT license found in the
|
|
2664
2664
|
* LICENSE file in the root directory of this source tree.
|
|
2665
|
-
*/var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,l=e?Symbol.for("react.portal"):60106,s=e?Symbol.for("react.fragment"):60107,o=e?Symbol.for("react.strict_mode"):60108,r=e?Symbol.for("react.profiler"):60114,c=e?Symbol.for("react.provider"):60109,u=e?Symbol.for("react.context"):60110,a=e?Symbol.for("react.async_mode"):60111,d=e?Symbol.for("react.concurrent_mode"):60111,h=e?Symbol.for("react.forward_ref"):60112,p=e?Symbol.for("react.suspense"):60113,E=e?Symbol.for("react.suspense_list"):60120,T=e?Symbol.for("react.memo"):60115,S=e?Symbol.for("react.lazy"):60116,v=e?Symbol.for("react.block"):60121,b=e?Symbol.for("react.fundamental"):60117,m=e?Symbol.for("react.responder"):60118,y=e?Symbol.for("react.scope"):60119;function O(A){if(typeof A=="object"&&A!==null){var w=A.$$typeof;switch(w){case t:switch(A=A.type,A){case a:case d:case s:case r:case o:case p:return A;default:switch(A=A&&A.$$typeof,A){case u:case h:case S:case T:case c:return A;default:return w}}case l:return w}}}function C(A){return O(A)===d}n.AsyncMode=a,n.ConcurrentMode=d,n.ContextConsumer=u,n.ContextProvider=c,n.Element=t,n.ForwardRef=h,n.Fragment=s,n.Lazy=S,n.Memo=T,n.Portal=l,n.Profiler=r,n.StrictMode=o,n.Suspense=p,n.isAsyncMode=function(A){return C(A)||O(A)===a},n.isConcurrentMode=C,n.isContextConsumer=function(A){return O(A)===u},n.isContextProvider=function(A){return O(A)===c},n.isElement=function(A){return typeof A=="object"&&A!==null&&A.$$typeof===t},n.isForwardRef=function(A){return O(A)===h},n.isFragment=function(A){return O(A)===s},n.isLazy=function(A){return O(A)===S},n.isMemo=function(A){return O(A)===T},n.isPortal=function(A){return O(A)===l},n.isProfiler=function(A){return O(A)===r},n.isStrictMode=function(A){return O(A)===o},n.isSuspense=function(A){return O(A)===p},n.isValidElementType=function(A){return typeof A=="string"||typeof A=="function"||A===s||A===d||A===r||A===o||A===p||A===E||typeof A=="object"&&A!==null&&(A.$$typeof===S||A.$$typeof===T||A.$$typeof===c||A.$$typeof===u||A.$$typeof===h||A.$$typeof===b||A.$$typeof===m||A.$$typeof===y||A.$$typeof===v)},n.typeOf=O},21296:(L,n,e)=>{"use strict";L.exports=e(96103)},80645:(L,n)=>{/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */n.read=function(e,t,l,s,o){var r,c,u=o*8-s-1,a=(1<<u)-1,d=a>>1,h=-7,p=l?o-1:0,E=l?-1:1,T=e[t+p];for(p+=E,r=T&(1<<-h)-1,T>>=-h,h+=u;h>0;r=r*256+e[t+p],p+=E,h-=8);for(c=r&(1<<-h)-1,r>>=-h,h+=s;h>0;c=c*256+e[t+p],p+=E,h-=8);if(r===0)r=1-d;else{if(r===a)return c?NaN:(T?-1:1)*(1/0);c=c+Math.pow(2,s),r=r-d}return(T?-1:1)*c*Math.pow(2,r-s)},n.write=function(e,t,l,s,o,r){var c,u,a,d=r*8-o-1,h=(1<<d)-1,p=h>>1,E=o===23?Math.pow(2,-24)-Math.pow(2,-77):0,T=s?0:r-1,S=s?1:-1,v=t<0||t===0&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(u=isNaN(t)?1:0,c=h):(c=Math.floor(Math.log(t)/Math.LN2),t*(a=Math.pow(2,-c))<1&&(c--,a*=2),c+p>=1?t+=E/a:t+=E*Math.pow(2,1-p),t*a>=2&&(c++,a/=2),c+p>=h?(u=0,c=h):c+p>=1?(u=(t*a-1)*Math.pow(2,o),c=c+p):(u=t*Math.pow(2,p-1)*Math.pow(2,o),c=0));o>=8;e[l+T]=u&255,T+=S,u/=256,o-=8);for(c=c<<o|u,d+=o;d>0;e[l+T]=c&255,T+=S,c/=256,d-=8);e[l+T-S]|=v*128}},64290:L=>{"use strict";L.exports=function(n){var e=typeof n;return n!==null&&(e==="object"||e==="function")}},37777:L=>{"use strict";L.exports=function(n){return Object.prototype.toString.call(n)==="[object RegExp]"}},5826:L=>{var n={}.toString;L.exports=Array.isArray||function(e){return n.call(e)=="[object Array]"}},39991:L=>{"use strict";L.exports=function(){function n(e,t,l,s,o){return e<t||l<t?e>l?l+1:e+1:s===o?t:t+1}return function(e,t){if(e===t)return 0;if(e.length>t.length){var l=e;e=t,t=l}for(var s=e.length,o=t.length;s>0&&e.charCodeAt(s-1)===t.charCodeAt(o-1);)s--,o--;for(var r=0;r<s&&e.charCodeAt(r)===t.charCodeAt(r);)r++;if(s-=r,o-=r,s===0||o<3)return o;var c=0,u,a,d,h,p,E,T,S,v,b,m,y,O=[];for(u=0;u<s;u++)O.push(u+1),O.push(e.charCodeAt(r+u));for(var C=O.length-1;c<o-3;)for(v=t.charCodeAt(r+(a=c)),b=t.charCodeAt(r+(d=c+1)),m=t.charCodeAt(r+(h=c+2)),y=t.charCodeAt(r+(p=c+3)),E=c+=4,u=0;u<C;u+=2)T=O[u],S=O[u+1],a=n(T,a,d,v,S),d=n(a,d,h,b,S),h=n(d,h,p,m,S),E=n(h,p,E,y,S),O[u]=E,p=h,h=d,d=a,a=T;for(;c<o;)for(v=t.charCodeAt(r+(a=c)),E=++c,u=0;u<C;u+=2)T=O[u],O[u]=E=n(T,a,E,v,O[u+1]),a=T;return E}}()},83573:(L,n,e)=>{"use strict";var t=e(49804);L.exports=l;function l(s,o,r){if(arguments.length===3)return l.set(s,o,r);if(arguments.length===2)return l.get(s,o);var c=l.bind(l,s);for(var u in l)l.hasOwnProperty(u)&&(c[u]=l[u].bind(c,s));return c}l.get=function(o,r){for(var c=Array.isArray(r)?r:l.parse(r),u=0;u<c.length;++u){var a=c[u];if(!(typeof o=="object"&&a in o))throw new Error("Invalid reference token: "+a);o=o[a]}return o},l.set=function(o,r,c){var u=Array.isArray(r)?r:l.parse(r),a=u[0];if(u.length===0)throw Error("Can not set the root object");for(var d=0;d<u.length-1;++d){var h=u[d];typeof h!="string"&&typeof h!="number"&&(h=String(h)),!(h==="__proto__"||h==="constructor"||h==="prototype")&&(h==="-"&&Array.isArray(o)&&(h=o.length),a=u[d+1],h in o||(a.match(/^(\d+|-)$/)?o[h]=[]:o[h]={}),o=o[h])}return a==="-"&&Array.isArray(o)&&(a=o.length),o[a]=c,this},l.remove=function(s,o){var r=Array.isArray(o)?o:l.parse(o),c=r[r.length-1];if(c===void 0)throw new Error('Invalid JSON pointer for remove: "'+o+'"');var u=l.get(s,r.slice(0,-1));if(Array.isArray(u)){var a=+c;if(c===""&&isNaN(a))throw new Error('Invalid array index: "'+c+'"');Array.prototype.splice.call(u,a,1)}else delete u[c]},l.dict=function(o,r){var c={};return l.walk(o,function(u,a){c[a]=u},r),c},l.walk=function(o,r,c){var u=[];c=c||function(a){var d=Object.prototype.toString.call(a);return d==="[object Object]"||d==="[object Array]"},function a(d){t(d,function(h,p){u.push(String(p)),c(h)?a(h):r(h,l.compile(u)),u.pop()})}(o)},l.has=function(o,r){try{l.get(o,r)}catch(c){return!1}return!0},l.escape=function(o){return o.toString().replace(/~/g,"~0").replace(/\//g,"~1")},l.unescape=function(o){return o.replace(/~1/g,"/").replace(/~0/g,"~")},l.parse=function(o){if(o==="")return[];if(o.charAt(0)!=="/")throw new Error("Invalid JSON pointer: "+o);return o.substring(1).split(/\//).map(l.unescape)},l.compile=function(o){return o.length===0?"":"/"+o.map(l.escape).join("/")}},72307:(L,n,e)=>{L=e.nmd(L);var t=200,l="__lodash_hash_undefined__",s=1,o=2,r=9007199254740991,c="[object Arguments]",u="[object Array]",a="[object AsyncFunction]",d="[object Boolean]",h="[object Date]",p="[object Error]",E="[object Function]",T="[object GeneratorFunction]",S="[object Map]",v="[object Number]",b="[object Null]",m="[object Object]",y="[object Promise]",O="[object Proxy]",C="[object RegExp]",A="[object Set]",w="[object String]",x="[object Symbol]",R="[object Undefined]",g="[object WeakMap]",k="[object ArrayBuffer]",G="[object DataView]",Z="[object Float32Array]",oe="[object Float64Array]",ee="[object Int8Array]",Ee="[object Int16Array]",Fe="[object Int32Array]",ce="[object Uint8Array]",te="[object Uint8ClampedArray]",he="[object Uint16Array]",Q="[object Uint32Array]",B=/[\\^$.*+?()[\]{}|]/g,J=/^\[object .+?Constructor\]$/,re=/^(?:0|[1-9]\d*)$/,W={};W[Z]=W[oe]=W[ee]=W[Ee]=W[Fe]=W[ce]=W[te]=W[he]=W[Q]=!0,W[c]=W[u]=W[k]=W[d]=W[G]=W[h]=W[p]=W[E]=W[S]=W[v]=W[m]=W[C]=W[A]=W[w]=W[g]=!1;var V=typeof e.g=="object"&&e.g&&e.g.Object===Object&&e.g,ae=typeof self=="object"&&self&&self.Object===Object&&self,pe=V||ae||Function("return this")(),Se=n&&!n.nodeType&&n,De=Se&&!0&&L&&!L.nodeType&&L,nt=De&&De.exports===Se,Me=nt&&V.process,_e=function(){try{return Me&&Me.binding&&Me.binding("util")}catch(Ue){}}(),j=_e&&_e.isTypedArray;function ue(Ue,lt){for(var Ft=-1,on=Ue==null?0:Ue.length,cr=0,In=[];++Ft<on;){var Cr=Ue[Ft];lt(Cr,Ft,Ue)&&(In[cr++]=Cr)}return In}function Ce(Ue,lt){for(var Ft=-1,on=lt.length,cr=Ue.length;++Ft<on;)Ue[cr+Ft]=lt[Ft];return Ue}function et(Ue,lt){for(var Ft=-1,on=Ue==null?0:Ue.length;++Ft<on;)if(lt(Ue[Ft],Ft,Ue))return!0;return!1}function Pe(Ue,lt){for(var Ft=-1,on=Array(Ue);++Ft<Ue;)on[Ft]=lt(Ft);return on}function X(Ue){return function(lt){return Ue(lt)}}function _(Ue,lt){return Ue.has(lt)}function $(Ue,lt){return Ue==null?void 0:Ue[lt]}function H(Ue){var lt=-1,Ft=Array(Ue.size);return Ue.forEach(function(on,cr){Ft[++lt]=[cr,on]}),Ft}function I(Ue,lt){return function(Ft){return Ue(lt(Ft))}}function ve(Ue){var lt=-1,Ft=Array(Ue.size);return Ue.forEach(function(on){Ft[++lt]=on}),Ft}var $e=Array.prototype,be=Function.prototype,Te=Object.prototype,Le=pe["__core-js_shared__"],ke=be.toString,at=Te.hasOwnProperty,xt=function(){var Ue=/[^.]+$/.exec(Le&&Le.keys&&Le.keys.IE_PROTO||"");return Ue?"Symbol(src)_1."+Ue:""}(),qe=Te.toString,q=RegExp("^"+ke.call(at).replace(B,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),ne=nt?pe.Buffer:void 0,ie=pe.Symbol,K=pe.Uint8Array,we=Te.propertyIsEnumerable,He=$e.splice,Je=ie?ie.toStringTag:void 0,ft=Object.getOwnPropertySymbols,At=ne?ne.isBuffer:void 0,Lt=I(Object.keys,Object),Yt=Vr(pe,"DataView"),Vt=Vr(pe,"Map"),ze=Vr(pe,"Promise"),dt=Vr(pe,"Set"),bt=Vr(pe,"WeakMap"),pt=Vr(Object,"create"),Ct=ar(Yt),$t=ar(Vt),dn=ar(ze),un=ar(dt),Cn=ar(bt),Ke=ie?ie.prototype:void 0,Be=Ke?Ke.valueOf:void 0;function it(Ue){var lt=-1,Ft=Ue==null?0:Ue.length;for(this.clear();++lt<Ft;){var on=Ue[lt];this.set(on[0],on[1])}}function Et(){this.__data__=pt?pt(null):{},this.size=0}function Ot(Ue){var lt=this.has(Ue)&&delete this.__data__[Ue];return this.size-=lt?1:0,lt}function cn(Ue){var lt=this.__data__;if(pt){var Ft=lt[Ue];return Ft===l?void 0:Ft}return at.call(lt,Ue)?lt[Ue]:void 0}function Mn(Ue){var lt=this.__data__;return pt?lt[Ue]!==void 0:at.call(lt,Ue)}function Dn(Ue,lt){var Ft=this.__data__;return this.size+=this.has(Ue)?0:1,Ft[Ue]=pt&<===void 0?l:lt,this}it.prototype.clear=Et,it.prototype.delete=Ot,it.prototype.get=cn,it.prototype.has=Mn,it.prototype.set=Dn;function Rn(Ue){var lt=-1,Ft=Ue==null?0:Ue.length;for(this.clear();++lt<Ft;){var on=Ue[lt];this.set(on[0],on[1])}}function Gn(){this.__data__=[],this.size=0}function Pn(Ue){var lt=this.__data__,Ft=Xn(lt,Ue);if(Ft<0)return!1;var on=lt.length-1;return Ft==on?lt.pop():He.call(lt,Ft,1),--this.size,!0}function Ze(Ue){var lt=this.__data__,Ft=Xn(lt,Ue);return Ft<0?void 0:lt[Ft][1]}function ut(Ue){return Xn(this.__data__,Ue)>-1}function Pt(Ue,lt){var Ft=this.__data__,on=Xn(Ft,Ue);return on<0?(++this.size,Ft.push([Ue,lt])):Ft[on][1]=lt,this}Rn.prototype.clear=Gn,Rn.prototype.delete=Pn,Rn.prototype.get=Ze,Rn.prototype.has=ut,Rn.prototype.set=Pt;function Mt(Ue){var lt=-1,Ft=Ue==null?0:Ue.length;for(this.clear();++lt<Ft;){var on=Ue[lt];this.set(on[0],on[1])}}function zt(){this.size=0,this.__data__={hash:new it,map:new(Vt||Rn),string:new it}}function Zt(Ue){var lt=Er(this,Ue).delete(Ue);return this.size-=lt?1:0,lt}function Qe(Ue){return Er(this,Ue).get(Ue)}function ot(Ue){return Er(this,Ue).has(Ue)}function Xe(Ue,lt){var Ft=Er(this,Ue),on=Ft.size;return Ft.set(Ue,lt),this.size+=Ft.size==on?0:1,this}Mt.prototype.clear=zt,Mt.prototype.delete=Zt,Mt.prototype.get=Qe,Mt.prototype.has=ot,Mt.prototype.set=Xe;function st(Ue){var lt=-1,Ft=Ue==null?0:Ue.length;for(this.__data__=new Mt;++lt<Ft;)this.add(Ue[lt])}function wt(Ue){return this.__data__.set(Ue,l),this}function tn(Ue){return this.__data__.has(Ue)}st.prototype.add=st.prototype.push=wt,st.prototype.has=tn;function qt(Ue){var lt=this.__data__=new Rn(Ue);this.size=lt.size}function bn(){this.__data__=new Rn,this.size=0}function Fn(Ue){var lt=this.__data__,Ft=lt.delete(Ue);return this.size=lt.size,Ft}function Ln(Ue){return this.__data__.get(Ue)}function ir(Ue){return this.__data__.has(Ue)}function Nn(Ue,lt){var Ft=this.__data__;if(Ft instanceof Rn){var on=Ft.__data__;if(!Vt||on.length<t-1)return on.push([Ue,lt]),this.size=++Ft.size,this;Ft=this.__data__=new Mt(on)}return Ft.set(Ue,lt),this.size=Ft.size,this}qt.prototype.clear=bn,qt.prototype.delete=Fn,qt.prototype.get=Ln,qt.prototype.has=ir,qt.prototype.set=Nn;function En(Ue,lt){var Ft=ye(Ue),on=!Ft&&Ye(Ue),cr=!Ft&&!on&>(Ue),In=!Ft&&!on&&!cr&&jn(Ue),Cr=Ft||on||cr||In,Rr=Cr?Pe(Ue.length,String):[],$r=Rr.length;for(var $n in Ue)(lt||at.call(Ue,$n))&&!(Cr&&($n=="length"||cr&&($n=="offset"||$n=="parent")||In&&($n=="buffer"||$n=="byteLength"||$n=="byteOffset")||sn($n,$r)))&&Rr.push($n);return Rr}function Xn(Ue,lt){for(var Ft=Ue.length;Ft--;)if(nr(Ue[Ft][0],lt))return Ft;return-1}function kn(Ue,lt,Ft){var on=lt(Ue);return ye(Ue)?on:Ce(on,Ft(Ue))}function On(Ue){return Ue==null?Ue===void 0?R:b:Je&&Je in Object(Ue)?Sr(Ue):er(Ue)}function Yn(Ue){return pn(Ue)&&On(Ue)==c}function Hn(Ue,lt,Ft,on,cr){return Ue===lt?!0:Ue==null||lt==null||!pn(Ue)&&!pn(lt)?Ue!==Ue&<!==lt:xn(Ue,lt,Ft,on,Hn,cr)}function xn(Ue,lt,Ft,on,cr,In){var Cr=ye(Ue),Rr=ye(lt),$r=Cr?u:qn(Ue),$n=Rr?u:qn(lt);$r=$r==c?m:$r,$n=$n==c?m:$n;var lr=$r==m,ni=$n==m,Hr=$r==$n;if(Hr&>(Ue)){if(!gt(lt))return!1;Cr=!0,lr=!1}if(Hr&&!lr)return In||(In=new qt),Cr||jn(Ue)?Qn(Ue,lt,Ft,on,cr,In):vr(Ue,lt,$r,Ft,on,cr,In);if(!(Ft&s)){var _r=lr&&at.call(Ue,"__wrapped__"),qr=ni&&at.call(lt,"__wrapped__");if(_r||qr){var Kr=_r?Ue.value():Ue,ti=qr?lt.value():lt;return In||(In=new qt),cr(Kr,ti,Ft,on,In)}}return Hr?(In||(In=new qt),Dr(Ue,lt,Ft,on,cr,In)):!1}function hr(Ue){if(!an(Ue)||fn(Ue))return!1;var lt=Gt(Ue)?q:J;return lt.test(ar(Ue))}function sr(Ue){return pn(Ue)&&rt(Ue.length)&&!!W[On(Ue)]}function ur(Ue){if(!vn(Ue))return Lt(Ue);var lt=[];for(var Ft in Object(Ue))at.call(Ue,Ft)&&Ft!="constructor"&<.push(Ft);return lt}function Qn(Ue,lt,Ft,on,cr,In){var Cr=Ft&s,Rr=Ue.length,$r=lt.length;if(Rr!=$r&&!(Cr&&$r>Rr))return!1;var $n=In.get(Ue);if($n&&In.get(lt))return $n==lt;var lr=-1,ni=!0,Hr=Ft&o?new st:void 0;for(In.set(Ue,lt),In.set(lt,Ue);++lr<Rr;){var _r=Ue[lr],qr=lt[lr];if(on)var Kr=Cr?on(qr,_r,lr,lt,Ue,In):on(_r,qr,lr,Ue,lt,In);if(Kr!==void 0){if(Kr)continue;ni=!1;break}if(Hr){if(!et(lt,function(ti,Lr){if(!_(Hr,Lr)&&(_r===ti||cr(_r,ti,Ft,on,In)))return Hr.push(Lr)})){ni=!1;break}}else if(!(_r===qr||cr(_r,qr,Ft,on,In))){ni=!1;break}}return In.delete(Ue),In.delete(lt),ni}function vr(Ue,lt,Ft,on,cr,In,Cr){switch(Ft){case G:if(Ue.byteLength!=lt.byteLength||Ue.byteOffset!=lt.byteOffset)return!1;Ue=Ue.buffer,lt=lt.buffer;case k:return!(Ue.byteLength!=lt.byteLength||!In(new K(Ue),new K(lt)));case d:case h:case v:return nr(+Ue,+lt);case p:return Ue.name==lt.name&&Ue.message==lt.message;case C:case w:return Ue==lt+"";case S:var Rr=H;case A:var $r=on&s;if(Rr||(Rr=ve),Ue.size!=lt.size&&!$r)return!1;var $n=Cr.get(Ue);if($n)return $n==lt;on|=o,Cr.set(Ue,lt);var lr=Qn(Rr(Ue),Rr(lt),on,cr,In,Cr);return Cr.delete(Ue),lr;case x:if(Be)return Be.call(Ue)==Be.call(lt)}return!1}function Dr(Ue,lt,Ft,on,cr,In){var Cr=Ft&s,Rr=jr(Ue),$r=Rr.length,$n=jr(lt),lr=$n.length;if($r!=lr&&!Cr)return!1;for(var ni=$r;ni--;){var Hr=Rr[ni];if(!(Cr?Hr in lt:at.call(lt,Hr)))return!1}var _r=In.get(Ue);if(_r&&In.get(lt))return _r==lt;var qr=!0;In.set(Ue,lt),In.set(lt,Ue);for(var Kr=Cr;++ni<$r;){Hr=Rr[ni];var ti=Ue[Hr],Lr=lt[Hr];if(on)var Fr=Cr?on(Lr,ti,Hr,lt,Ue,In):on(ti,Lr,Hr,Ue,lt,In);if(!(Fr===void 0?ti===Lr||cr(ti,Lr,Ft,on,In):Fr)){qr=!1;break}Kr||(Kr=Hr=="constructor")}if(qr&&!Kr){var fe=Ue.constructor,xe=lt.constructor;fe!=xe&&"constructor"in Ue&&"constructor"in lt&&!(typeof fe=="function"&&fe instanceof fe&&typeof xe=="function"&&xe instanceof xe)&&(qr=!1)}return In.delete(Ue),In.delete(lt),qr}function jr(Ue){return kn(Ue,Kt,Tr)}function Er(Ue,lt){var Ft=Ue.__data__;return It(lt)?Ft[typeof lt=="string"?"string":"hash"]:Ft.map}function Vr(Ue,lt){var Ft=$(Ue,lt);return hr(Ft)?Ft:void 0}function Sr(Ue){var lt=at.call(Ue,Je),Ft=Ue[Je];try{Ue[Je]=void 0;var on=!0}catch(In){}var cr=qe.call(Ue);return on&&(lt?Ue[Je]=Ft:delete Ue[Je]),cr}var Tr=ft?function(Ue){return Ue==null?[]:(Ue=Object(Ue),ue(ft(Ue),function(lt){return we.call(Ue,lt)}))}:An,qn=On;(Yt&&qn(new Yt(new ArrayBuffer(1)))!=G||Vt&&qn(new Vt)!=S||ze&&qn(ze.resolve())!=y||dt&&qn(new dt)!=A||bt&&qn(new bt)!=g)&&(qn=function(Ue){var lt=On(Ue),Ft=lt==m?Ue.constructor:void 0,on=Ft?ar(Ft):"";if(on)switch(on){case Ct:return G;case $t:return S;case dn:return y;case un:return A;case Cn:return g}return lt});function sn(Ue,lt){return lt=lt==null?r:lt,!!lt&&(typeof Ue=="number"||re.test(Ue))&&Ue>-1&&Ue%1==0&&Ue<lt}function It(Ue){var lt=typeof Ue;return lt=="string"||lt=="number"||lt=="symbol"||lt=="boolean"?Ue!=="__proto__":Ue===null}function fn(Ue){return!!xt&&xt in Ue}function vn(Ue){var lt=Ue&&Ue.constructor,Ft=typeof lt=="function"&<.prototype||Te;return Ue===Ft}function er(Ue){return qe.call(Ue)}function ar(Ue){if(Ue!=null){try{return ke.call(Ue)}catch(lt){}try{return Ue+""}catch(lt){}}return""}function nr(Ue,lt){return Ue===lt||Ue!==Ue&<!==lt}var Ye=Yn(function(){return arguments}())?Yn:function(Ue){return pn(Ue)&&at.call(Ue,"callee")&&!we.call(Ue,"callee")},ye=Array.isArray;function Ae(Ue){return Ue!=null&&rt(Ue.length)&&!Gt(Ue)}var gt=At||_n;function Ve(Ue,lt){return Hn(Ue,lt)}function Gt(Ue){if(!an(Ue))return!1;var lt=On(Ue);return lt==E||lt==T||lt==a||lt==O}function rt(Ue){return typeof Ue=="number"&&Ue>-1&&Ue%1==0&&Ue<=r}function an(Ue){var lt=typeof Ue;return Ue!=null&&(lt=="object"||lt=="function")}function pn(Ue){return Ue!=null&&typeof Ue=="object"}var jn=j?X(j):sr;function Kt(Ue){return Ae(Ue)?En(Ue):ur(Ue)}function An(){return[]}function _n(){return!1}L.exports=Ve},31336:(L,n,e)=>{var t,l;/**
|
|
2665
|
+
*/var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,l=e?Symbol.for("react.portal"):60106,s=e?Symbol.for("react.fragment"):60107,o=e?Symbol.for("react.strict_mode"):60108,r=e?Symbol.for("react.profiler"):60114,c=e?Symbol.for("react.provider"):60109,u=e?Symbol.for("react.context"):60110,a=e?Symbol.for("react.async_mode"):60111,d=e?Symbol.for("react.concurrent_mode"):60111,h=e?Symbol.for("react.forward_ref"):60112,p=e?Symbol.for("react.suspense"):60113,E=e?Symbol.for("react.suspense_list"):60120,T=e?Symbol.for("react.memo"):60115,S=e?Symbol.for("react.lazy"):60116,v=e?Symbol.for("react.block"):60121,b=e?Symbol.for("react.fundamental"):60117,m=e?Symbol.for("react.responder"):60118,y=e?Symbol.for("react.scope"):60119;function O(A){if(typeof A=="object"&&A!==null){var w=A.$$typeof;switch(w){case t:switch(A=A.type,A){case a:case d:case s:case r:case o:case p:return A;default:switch(A=A&&A.$$typeof,A){case u:case h:case S:case T:case c:return A;default:return w}}case l:return w}}}function C(A){return O(A)===d}n.AsyncMode=a,n.ConcurrentMode=d,n.ContextConsumer=u,n.ContextProvider=c,n.Element=t,n.ForwardRef=h,n.Fragment=s,n.Lazy=S,n.Memo=T,n.Portal=l,n.Profiler=r,n.StrictMode=o,n.Suspense=p,n.isAsyncMode=function(A){return C(A)||O(A)===a},n.isConcurrentMode=C,n.isContextConsumer=function(A){return O(A)===u},n.isContextProvider=function(A){return O(A)===c},n.isElement=function(A){return typeof A=="object"&&A!==null&&A.$$typeof===t},n.isForwardRef=function(A){return O(A)===h},n.isFragment=function(A){return O(A)===s},n.isLazy=function(A){return O(A)===S},n.isMemo=function(A){return O(A)===T},n.isPortal=function(A){return O(A)===l},n.isProfiler=function(A){return O(A)===r},n.isStrictMode=function(A){return O(A)===o},n.isSuspense=function(A){return O(A)===p},n.isValidElementType=function(A){return typeof A=="string"||typeof A=="function"||A===s||A===d||A===r||A===o||A===p||A===E||typeof A=="object"&&A!==null&&(A.$$typeof===S||A.$$typeof===T||A.$$typeof===c||A.$$typeof===u||A.$$typeof===h||A.$$typeof===b||A.$$typeof===m||A.$$typeof===y||A.$$typeof===v)},n.typeOf=O},21296:(L,n,e)=>{"use strict";L.exports=e(96103)},80645:(L,n)=>{/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */n.read=function(e,t,l,s,o){var r,c,u=o*8-s-1,a=(1<<u)-1,d=a>>1,h=-7,p=l?o-1:0,E=l?-1:1,T=e[t+p];for(p+=E,r=T&(1<<-h)-1,T>>=-h,h+=u;h>0;r=r*256+e[t+p],p+=E,h-=8);for(c=r&(1<<-h)-1,r>>=-h,h+=s;h>0;c=c*256+e[t+p],p+=E,h-=8);if(r===0)r=1-d;else{if(r===a)return c?NaN:(T?-1:1)*(1/0);c=c+Math.pow(2,s),r=r-d}return(T?-1:1)*c*Math.pow(2,r-s)},n.write=function(e,t,l,s,o,r){var c,u,a,d=r*8-o-1,h=(1<<d)-1,p=h>>1,E=o===23?Math.pow(2,-24)-Math.pow(2,-77):0,T=s?0:r-1,S=s?1:-1,v=t<0||t===0&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(u=isNaN(t)?1:0,c=h):(c=Math.floor(Math.log(t)/Math.LN2),t*(a=Math.pow(2,-c))<1&&(c--,a*=2),c+p>=1?t+=E/a:t+=E*Math.pow(2,1-p),t*a>=2&&(c++,a/=2),c+p>=h?(u=0,c=h):c+p>=1?(u=(t*a-1)*Math.pow(2,o),c=c+p):(u=t*Math.pow(2,p-1)*Math.pow(2,o),c=0));o>=8;e[l+T]=u&255,T+=S,u/=256,o-=8);for(c=c<<o|u,d+=o;d>0;e[l+T]=c&255,T+=S,c/=256,d-=8);e[l+T-S]|=v*128}},64290:L=>{"use strict";L.exports=function(n){var e=typeof n;return n!==null&&(e==="object"||e==="function")}},37777:L=>{"use strict";L.exports=function(n){return Object.prototype.toString.call(n)==="[object RegExp]"}},5826:L=>{var n={}.toString;L.exports=Array.isArray||function(e){return n.call(e)=="[object Array]"}},39991:L=>{"use strict";L.exports=function(){function n(e,t,l,s,o){return e<t||l<t?e>l?l+1:e+1:s===o?t:t+1}return function(e,t){if(e===t)return 0;if(e.length>t.length){var l=e;e=t,t=l}for(var s=e.length,o=t.length;s>0&&e.charCodeAt(s-1)===t.charCodeAt(o-1);)s--,o--;for(var r=0;r<s&&e.charCodeAt(r)===t.charCodeAt(r);)r++;if(s-=r,o-=r,s===0||o<3)return o;var c=0,u,a,d,h,p,E,T,S,v,b,m,y,O=[];for(u=0;u<s;u++)O.push(u+1),O.push(e.charCodeAt(r+u));for(var C=O.length-1;c<o-3;)for(v=t.charCodeAt(r+(a=c)),b=t.charCodeAt(r+(d=c+1)),m=t.charCodeAt(r+(h=c+2)),y=t.charCodeAt(r+(p=c+3)),E=c+=4,u=0;u<C;u+=2)T=O[u],S=O[u+1],a=n(T,a,d,v,S),d=n(a,d,h,b,S),h=n(d,h,p,m,S),E=n(h,p,E,y,S),O[u]=E,p=h,h=d,d=a,a=T;for(;c<o;)for(v=t.charCodeAt(r+(a=c)),E=++c,u=0;u<C;u+=2)T=O[u],O[u]=E=n(T,a,E,v,O[u+1]),a=T;return E}}()},83573:(L,n,e)=>{"use strict";var t=e(49804);L.exports=l;function l(s,o,r){if(arguments.length===3)return l.set(s,o,r);if(arguments.length===2)return l.get(s,o);var c=l.bind(l,s);for(var u in l)l.hasOwnProperty(u)&&(c[u]=l[u].bind(c,s));return c}l.get=function(o,r){for(var c=Array.isArray(r)?r:l.parse(r),u=0;u<c.length;++u){var a=c[u];if(!(typeof o=="object"&&a in o))throw new Error("Invalid reference token: "+a);o=o[a]}return o},l.set=function(o,r,c){var u=Array.isArray(r)?r:l.parse(r),a=u[0];if(u.length===0)throw Error("Can not set the root object");for(var d=0;d<u.length-1;++d){var h=u[d];typeof h!="string"&&typeof h!="number"&&(h=String(h)),!(h==="__proto__"||h==="constructor"||h==="prototype")&&(h==="-"&&Array.isArray(o)&&(h=o.length),a=u[d+1],h in o||(a.match(/^(\d+|-)$/)?o[h]=[]:o[h]={}),o=o[h])}return a==="-"&&Array.isArray(o)&&(a=o.length),o[a]=c,this},l.remove=function(s,o){var r=Array.isArray(o)?o:l.parse(o),c=r[r.length-1];if(c===void 0)throw new Error('Invalid JSON pointer for remove: "'+o+'"');var u=l.get(s,r.slice(0,-1));if(Array.isArray(u)){var a=+c;if(c===""&&isNaN(a))throw new Error('Invalid array index: "'+c+'"');Array.prototype.splice.call(u,a,1)}else delete u[c]},l.dict=function(o,r){var c={};return l.walk(o,function(u,a){c[a]=u},r),c},l.walk=function(o,r,c){var u=[];c=c||function(a){var d=Object.prototype.toString.call(a);return d==="[object Object]"||d==="[object Array]"},function a(d){t(d,function(h,p){u.push(String(p)),c(h)?a(h):r(h,l.compile(u)),u.pop()})}(o)},l.has=function(o,r){try{l.get(o,r)}catch(c){return!1}return!0},l.escape=function(o){return o.toString().replace(/~/g,"~0").replace(/\//g,"~1")},l.unescape=function(o){return o.replace(/~1/g,"/").replace(/~0/g,"~")},l.parse=function(o){if(o==="")return[];if(o.charAt(0)!=="/")throw new Error("Invalid JSON pointer: "+o);return o.substring(1).split(/\//).map(l.unescape)},l.compile=function(o){return o.length===0?"":"/"+o.map(l.escape).join("/")}},72307:(L,n,e)=>{L=e.nmd(L);var t=200,l="__lodash_hash_undefined__",s=1,o=2,r=9007199254740991,c="[object Arguments]",u="[object Array]",a="[object AsyncFunction]",d="[object Boolean]",h="[object Date]",p="[object Error]",E="[object Function]",T="[object GeneratorFunction]",S="[object Map]",v="[object Number]",b="[object Null]",m="[object Object]",y="[object Promise]",O="[object Proxy]",C="[object RegExp]",A="[object Set]",w="[object String]",x="[object Symbol]",R="[object Undefined]",g="[object WeakMap]",k="[object ArrayBuffer]",G="[object DataView]",Z="[object Float32Array]",oe="[object Float64Array]",ee="[object Int8Array]",Ee="[object Int16Array]",Fe="[object Int32Array]",ce="[object Uint8Array]",te="[object Uint8ClampedArray]",he="[object Uint16Array]",Q="[object Uint32Array]",B=/[\\^$.*+?()[\]{}|]/g,J=/^\[object .+?Constructor\]$/,re=/^(?:0|[1-9]\d*)$/,W={};W[Z]=W[oe]=W[ee]=W[Ee]=W[Fe]=W[ce]=W[te]=W[he]=W[Q]=!0,W[c]=W[u]=W[k]=W[d]=W[G]=W[h]=W[p]=W[E]=W[S]=W[v]=W[m]=W[C]=W[A]=W[w]=W[g]=!1;var V=typeof e.g=="object"&&e.g&&e.g.Object===Object&&e.g,ae=typeof self=="object"&&self&&self.Object===Object&&self,pe=V||ae||Function("return this")(),Se=n&&!n.nodeType&&n,De=Se&&!0&&L&&!L.nodeType&&L,nt=De&&De.exports===Se,Me=nt&&V.process,_e=function(){try{return Me&&Me.binding&&Me.binding("util")}catch(Be){}}(),j=_e&&_e.isTypedArray;function ue(Be,lt){for(var jt=-1,on=Be==null?0:Be.length,cr=0,Dn=[];++jt<on;){var Cr=Be[jt];lt(Cr,jt,Be)&&(Dn[cr++]=Cr)}return Dn}function Ce(Be,lt){for(var jt=-1,on=lt.length,cr=Be.length;++jt<on;)Be[cr+jt]=lt[jt];return Be}function et(Be,lt){for(var jt=-1,on=Be==null?0:Be.length;++jt<on;)if(lt(Be[jt],jt,Be))return!0;return!1}function Pe(Be,lt){for(var jt=-1,on=Array(Be);++jt<Be;)on[jt]=lt(jt);return on}function X(Be){return function(lt){return Be(lt)}}function _(Be,lt){return Be.has(lt)}function $(Be,lt){return Be==null?void 0:Be[lt]}function H(Be){var lt=-1,jt=Array(Be.size);return Be.forEach(function(on,cr){jt[++lt]=[cr,on]}),jt}function I(Be,lt){return function(jt){return Be(lt(jt))}}function ve(Be){var lt=-1,jt=Array(Be.size);return Be.forEach(function(on){jt[++lt]=on}),jt}var $e=Array.prototype,be=Function.prototype,Te=Object.prototype,Le=pe["__core-js_shared__"],ke=be.toString,at=Te.hasOwnProperty,xt=function(){var Be=/[^.]+$/.exec(Le&&Le.keys&&Le.keys.IE_PROTO||"");return Be?"Symbol(src)_1."+Be:""}(),qe=Te.toString,q=RegExp("^"+ke.call(at).replace(B,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),ne=nt?pe.Buffer:void 0,ie=pe.Symbol,K=pe.Uint8Array,we=Te.propertyIsEnumerable,He=$e.splice,Je=ie?ie.toStringTag:void 0,ft=Object.getOwnPropertySymbols,At=ne?ne.isBuffer:void 0,Lt=I(Object.keys,Object),Yt=Vr(pe,"DataView"),Vt=Vr(pe,"Map"),ze=Vr(pe,"Promise"),dt=Vr(pe,"Set"),bt=Vr(pe,"WeakMap"),pt=Vr(Object,"create"),Ct=ar(Yt),$t=ar(Vt),fn=ar(ze),cn=ar(dt),Rn=ar(bt),Ke=ie?ie.prototype:void 0,Ue=Ke?Ke.valueOf:void 0;function it(Be){var lt=-1,jt=Be==null?0:Be.length;for(this.clear();++lt<jt;){var on=Be[lt];this.set(on[0],on[1])}}function Et(){this.__data__=pt?pt(null):{},this.size=0}function Ot(Be){var lt=this.has(Be)&&delete this.__data__[Be];return this.size-=lt?1:0,lt}function dn(Be){var lt=this.__data__;if(pt){var jt=lt[Be];return jt===l?void 0:jt}return at.call(lt,Be)?lt[Be]:void 0}function Ln(Be){var lt=this.__data__;return pt?lt[Be]!==void 0:at.call(lt,Be)}function $n(Be,lt){var jt=this.__data__;return this.size+=this.has(Be)?0:1,jt[Be]=pt&<===void 0?l:lt,this}it.prototype.clear=Et,it.prototype.delete=Ot,it.prototype.get=dn,it.prototype.has=Ln,it.prototype.set=$n;function An(Be){var lt=-1,jt=Be==null?0:Be.length;for(this.clear();++lt<jt;){var on=Be[lt];this.set(on[0],on[1])}}function Gn(){this.__data__=[],this.size=0}function Pn(Be){var lt=this.__data__,jt=Xn(lt,Be);if(jt<0)return!1;var on=lt.length-1;return jt==on?lt.pop():He.call(lt,jt,1),--this.size,!0}function Ze(Be){var lt=this.__data__,jt=Xn(lt,Be);return jt<0?void 0:lt[jt][1]}function ut(Be){return Xn(this.__data__,Be)>-1}function Pt(Be,lt){var jt=this.__data__,on=Xn(jt,Be);return on<0?(++this.size,jt.push([Be,lt])):jt[on][1]=lt,this}An.prototype.clear=Gn,An.prototype.delete=Pn,An.prototype.get=Ze,An.prototype.has=ut,An.prototype.set=Pt;function Mt(Be){var lt=-1,jt=Be==null?0:Be.length;for(this.clear();++lt<jt;){var on=Be[lt];this.set(on[0],on[1])}}function zt(){this.size=0,this.__data__={hash:new it,map:new(Vt||An),string:new it}}function Zt(Be){var lt=Er(this,Be).delete(Be);return this.size-=lt?1:0,lt}function Qe(Be){return Er(this,Be).get(Be)}function ot(Be){return Er(this,Be).has(Be)}function Xe(Be,lt){var jt=Er(this,Be),on=jt.size;return jt.set(Be,lt),this.size+=jt.size==on?0:1,this}Mt.prototype.clear=zt,Mt.prototype.delete=Zt,Mt.prototype.get=Qe,Mt.prototype.has=ot,Mt.prototype.set=Xe;function st(Be){var lt=-1,jt=Be==null?0:Be.length;for(this.__data__=new Mt;++lt<jt;)this.add(Be[lt])}function wt(Be){return this.__data__.set(Be,l),this}function tn(Be){return this.__data__.has(Be)}st.prototype.add=st.prototype.push=wt,st.prototype.has=tn;function qt(Be){var lt=this.__data__=new An(Be);this.size=lt.size}function bn(){this.__data__=new An,this.size=0}function Fn(Be){var lt=this.__data__,jt=lt.delete(Be);return this.size=lt.size,jt}function Nn(Be){return this.__data__.get(Be)}function rr(Be){return this.__data__.has(Be)}function jn(Be,lt){var jt=this.__data__;if(jt instanceof An){var on=jt.__data__;if(!Vt||on.length<t-1)return on.push([Be,lt]),this.size=++jt.size,this;jt=this.__data__=new Mt(on)}return jt.set(Be,lt),this.size=jt.size,this}qt.prototype.clear=bn,qt.prototype.delete=Fn,qt.prototype.get=Nn,qt.prototype.has=rr,qt.prototype.set=jn;function En(Be,lt){var jt=ye(Be),on=!jt&&Ye(Be),cr=!jt&&!on&>(Be),Dn=!jt&&!on&&!cr&&In(Be),Cr=jt||on||cr||Dn,Rr=Cr?Pe(Be.length,String):[],$r=Rr.length;for(var Mn in Be)(lt||at.call(Be,Mn))&&!(Cr&&(Mn=="length"||cr&&(Mn=="offset"||Mn=="parent")||Dn&&(Mn=="buffer"||Mn=="byteLength"||Mn=="byteOffset")||ln(Mn,$r)))&&Rr.push(Mn);return Rr}function Xn(Be,lt){for(var jt=Be.length;jt--;)if(nr(Be[jt][0],lt))return jt;return-1}function kn(Be,lt,jt){var on=lt(Be);return ye(Be)?on:Ce(on,jt(Be))}function On(Be){return Be==null?Be===void 0?R:b:Je&&Je in Object(Be)?Sr(Be):er(Be)}function Yn(Be){return an(Be)&&On(Be)==c}function Hn(Be,lt,jt,on,cr){return Be===lt?!0:Be==null||lt==null||!an(Be)&&!an(lt)?Be!==Be&<!==lt:xn(Be,lt,jt,on,Hn,cr)}function xn(Be,lt,jt,on,cr,Dn){var Cr=ye(Be),Rr=ye(lt),$r=Cr?u:qn(Be),Mn=Rr?u:qn(lt);$r=$r==c?m:$r,Mn=Mn==c?m:Mn;var lr=$r==m,ni=Mn==m,Hr=$r==Mn;if(Hr&>(Be)){if(!gt(lt))return!1;Cr=!0,lr=!1}if(Hr&&!lr)return Dn||(Dn=new qt),Cr||In(Be)?Qn(Be,lt,jt,on,cr,Dn):vr(Be,lt,$r,jt,on,cr,Dn);if(!(jt&s)){var _r=lr&&at.call(Be,"__wrapped__"),qr=ni&&at.call(lt,"__wrapped__");if(_r||qr){var Kr=_r?Be.value():Be,ti=qr?lt.value():lt;return Dn||(Dn=new qt),cr(Kr,ti,jt,on,Dn)}}return Hr?(Dn||(Dn=new qt),Dr(Be,lt,jt,on,cr,Dn)):!1}function hr(Be){if(!sn(Be)||pn(Be))return!1;var lt=Qt(Be)?q:J;return lt.test(ar(Be))}function sr(Be){return an(Be)&&rt(Be.length)&&!!W[On(Be)]}function ur(Be){if(!vn(Be))return Lt(Be);var lt=[];for(var jt in Object(Be))at.call(Be,jt)&&jt!="constructor"&<.push(jt);return lt}function Qn(Be,lt,jt,on,cr,Dn){var Cr=jt&s,Rr=Be.length,$r=lt.length;if(Rr!=$r&&!(Cr&&$r>Rr))return!1;var Mn=Dn.get(Be);if(Mn&&Dn.get(lt))return Mn==lt;var lr=-1,ni=!0,Hr=jt&o?new st:void 0;for(Dn.set(Be,lt),Dn.set(lt,Be);++lr<Rr;){var _r=Be[lr],qr=lt[lr];if(on)var Kr=Cr?on(qr,_r,lr,lt,Be,Dn):on(_r,qr,lr,Be,lt,Dn);if(Kr!==void 0){if(Kr)continue;ni=!1;break}if(Hr){if(!et(lt,function(ti,Lr){if(!_(Hr,Lr)&&(_r===ti||cr(_r,ti,jt,on,Dn)))return Hr.push(Lr)})){ni=!1;break}}else if(!(_r===qr||cr(_r,qr,jt,on,Dn))){ni=!1;break}}return Dn.delete(Be),Dn.delete(lt),ni}function vr(Be,lt,jt,on,cr,Dn,Cr){switch(jt){case G:if(Be.byteLength!=lt.byteLength||Be.byteOffset!=lt.byteOffset)return!1;Be=Be.buffer,lt=lt.buffer;case k:return!(Be.byteLength!=lt.byteLength||!Dn(new K(Be),new K(lt)));case d:case h:case v:return nr(+Be,+lt);case p:return Be.name==lt.name&&Be.message==lt.message;case C:case w:return Be==lt+"";case S:var Rr=H;case A:var $r=on&s;if(Rr||(Rr=ve),Be.size!=lt.size&&!$r)return!1;var Mn=Cr.get(Be);if(Mn)return Mn==lt;on|=o,Cr.set(Be,lt);var lr=Qn(Rr(Be),Rr(lt),on,cr,Dn,Cr);return Cr.delete(Be),lr;case x:if(Ue)return Ue.call(Be)==Ue.call(lt)}return!1}function Dr(Be,lt,jt,on,cr,Dn){var Cr=jt&s,Rr=jr(Be),$r=Rr.length,Mn=jr(lt),lr=Mn.length;if($r!=lr&&!Cr)return!1;for(var ni=$r;ni--;){var Hr=Rr[ni];if(!(Cr?Hr in lt:at.call(lt,Hr)))return!1}var _r=Dn.get(Be);if(_r&&Dn.get(lt))return _r==lt;var qr=!0;Dn.set(Be,lt),Dn.set(lt,Be);for(var Kr=Cr;++ni<$r;){Hr=Rr[ni];var ti=Be[Hr],Lr=lt[Hr];if(on)var Fr=Cr?on(Lr,ti,Hr,lt,Be,Dn):on(ti,Lr,Hr,Be,lt,Dn);if(!(Fr===void 0?ti===Lr||cr(ti,Lr,jt,on,Dn):Fr)){qr=!1;break}Kr||(Kr=Hr=="constructor")}if(qr&&!Kr){var fe=Be.constructor,xe=lt.constructor;fe!=xe&&"constructor"in Be&&"constructor"in lt&&!(typeof fe=="function"&&fe instanceof fe&&typeof xe=="function"&&xe instanceof xe)&&(qr=!1)}return Dn.delete(Be),Dn.delete(lt),qr}function jr(Be){return kn(Be,Ht,Tr)}function Er(Be,lt){var jt=Be.__data__;return It(lt)?jt[typeof lt=="string"?"string":"hash"]:jt.map}function Vr(Be,lt){var jt=$(Be,lt);return hr(jt)?jt:void 0}function Sr(Be){var lt=at.call(Be,Je),jt=Be[Je];try{Be[Je]=void 0;var on=!0}catch(Dn){}var cr=qe.call(Be);return on&&(lt?Be[Je]=jt:delete Be[Je]),cr}var Tr=ft?function(Be){return Be==null?[]:(Be=Object(Be),ue(ft(Be),function(lt){return we.call(Be,lt)}))}:Tn,qn=On;(Yt&&qn(new Yt(new ArrayBuffer(1)))!=G||Vt&&qn(new Vt)!=S||ze&&qn(ze.resolve())!=y||dt&&qn(new dt)!=A||bt&&qn(new bt)!=g)&&(qn=function(Be){var lt=On(Be),jt=lt==m?Be.constructor:void 0,on=jt?ar(jt):"";if(on)switch(on){case Ct:return G;case $t:return S;case fn:return y;case cn:return A;case Rn:return g}return lt});function ln(Be,lt){return lt=lt==null?r:lt,!!lt&&(typeof Be=="number"||re.test(Be))&&Be>-1&&Be%1==0&&Be<lt}function It(Be){var lt=typeof Be;return lt=="string"||lt=="number"||lt=="symbol"||lt=="boolean"?Be!=="__proto__":Be===null}function pn(Be){return!!xt&&xt in Be}function vn(Be){var lt=Be&&Be.constructor,jt=typeof lt=="function"&<.prototype||Te;return Be===jt}function er(Be){return qe.call(Be)}function ar(Be){if(Be!=null){try{return ke.call(Be)}catch(lt){}try{return Be+""}catch(lt){}}return""}function nr(Be,lt){return Be===lt||Be!==Be&<!==lt}var Ye=Yn(function(){return arguments}())?Yn:function(Be){return an(Be)&&at.call(Be,"callee")&&!we.call(Be,"callee")},ye=Array.isArray;function Re(Be){return Be!=null&&rt(Be.length)&&!Qt(Be)}var gt=At||_n;function We(Be,lt){return Hn(Be,lt)}function Qt(Be){if(!sn(Be))return!1;var lt=On(Be);return lt==E||lt==T||lt==a||lt==O}function rt(Be){return typeof Be=="number"&&Be>-1&&Be%1==0&&Be<=r}function sn(Be){var lt=typeof Be;return Be!=null&&(lt=="object"||lt=="function")}function an(Be){return Be!=null&&typeof Be=="object"}var In=j?X(j):sr;function Ht(Be){return Re(Be)?En(Be):ur(Be)}function Tn(){return[]}function _n(){return!1}L.exports=We},31336:(L,n,e)=>{var t,l;/**
|
|
2666
2666
|
* lunr - http://lunrjs.com - A bit like Solr, but much smaller and not as bright - 2.3.9
|
|
2667
2667
|
* Copyright (C) 2020 Oliver Nightingale
|
|
2668
2668
|
* @license MIT
|
|
@@ -2709,8 +2709,8 @@ ${Wt.indent}`,variablesPrefix:Wt.variablesPrefix,capitalize:!0,lang:b.PHP});en.l
|
|
|
2709
2709
|
*****************************************************/(function(n,e){L.exports=e()})(this,function(){"use strict";var n=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(c){return typeof c}:function(c){return c&&typeof Symbol=="function"&&c.constructor===Symbol&&c!==Symbol.prototype?"symbol":typeof c},e=function(c,u){if(!(c instanceof u))throw new TypeError("Cannot call a class as a function")},t=function(){function c(u,a){for(var d=0;d<a.length;d++){var h=a[d];h.enumerable=h.enumerable||!1,h.configurable=!0,"value"in h&&(h.writable=!0),Object.defineProperty(u,h.key,h)}}return function(u,a,d){return a&&c(u.prototype,a),d&&c(u,d),u}}(),l=Object.assign||function(c){for(var u=1;u<arguments.length;u++){var a=arguments[u];for(var d in a)Object.prototype.hasOwnProperty.call(a,d)&&(c[d]=a[d])}return c},s=function(){function c(u){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,d=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[],h=arguments.length>3&&arguments[3]!==void 0?arguments[3]:5e3;e(this,c),this.ctx=u,this.iframes=a,this.exclude=d,this.iframesTimeout=h}return t(c,[{key:"getContexts",value:function(){var a=void 0,d=[];return typeof this.ctx=="undefined"||!this.ctx?a=[]:NodeList.prototype.isPrototypeOf(this.ctx)?a=Array.prototype.slice.call(this.ctx):Array.isArray(this.ctx)?a=this.ctx:typeof this.ctx=="string"?a=Array.prototype.slice.call(document.querySelectorAll(this.ctx)):a=[this.ctx],a.forEach(function(h){var p=d.filter(function(E){return E.contains(h)}).length>0;d.indexOf(h)===-1&&!p&&d.push(h)}),d}},{key:"getIframeContents",value:function(a,d){var h=arguments.length>2&&arguments[2]!==void 0?arguments[2]:function(){},p=void 0;try{var E=a.contentWindow;if(p=E.document,!E||!p)throw new Error("iframe inaccessible")}catch(T){h()}p&&d(p)}},{key:"isIframeBlank",value:function(a){var d="about:blank",h=a.getAttribute("src").trim(),p=a.contentWindow.location.href;return p===d&&h!==d&&h}},{key:"observeIframeLoad",value:function(a,d,h){var p=this,E=!1,T=null,S=function v(){if(!E){E=!0,clearTimeout(T);try{p.isIframeBlank(a)||(a.removeEventListener("load",v),p.getIframeContents(a,d,h))}catch(b){h()}}};a.addEventListener("load",S),T=setTimeout(S,this.iframesTimeout)}},{key:"onIframeReady",value:function(a,d,h){try{a.contentWindow.document.readyState==="complete"?this.isIframeBlank(a)?this.observeIframeLoad(a,d,h):this.getIframeContents(a,d,h):this.observeIframeLoad(a,d,h)}catch(p){h()}}},{key:"waitForIframes",value:function(a,d){var h=this,p=0;this.forEachIframe(a,function(){return!0},function(E){p++,h.waitForIframes(E.querySelector("html"),function(){--p||d()})},function(E){E||d()})}},{key:"forEachIframe",value:function(a,d,h){var p=this,E=arguments.length>3&&arguments[3]!==void 0?arguments[3]:function(){},T=a.querySelectorAll("iframe"),S=T.length,v=0;T=Array.prototype.slice.call(T);var b=function(){--S<=0&&E(v)};S||b(),T.forEach(function(m){c.matches(m,p.exclude)?b():p.onIframeReady(m,function(y){d(m)&&(v++,h(y)),b()},b)})}},{key:"createIterator",value:function(a,d,h){return document.createNodeIterator(a,d,h,!1)}},{key:"createInstanceOnIframe",value:function(a){return new c(a.querySelector("html"),this.iframes)}},{key:"compareNodeIframe",value:function(a,d,h){var p=a.compareDocumentPosition(h),E=Node.DOCUMENT_POSITION_PRECEDING;if(p&E)if(d!==null){var T=d.compareDocumentPosition(h),S=Node.DOCUMENT_POSITION_FOLLOWING;if(T&S)return!0}else return!0;return!1}},{key:"getIteratorNode",value:function(a){var d=a.previousNode(),h=void 0;return d===null?h=a.nextNode():h=a.nextNode()&&a.nextNode(),{prevNode:d,node:h}}},{key:"checkIframeFilter",value:function(a,d,h,p){var E=!1,T=!1;return p.forEach(function(S,v){S.val===h&&(E=v,T=S.handled)}),this.compareNodeIframe(a,d,h)?(E===!1&&!T?p.push({val:h,handled:!0}):E!==!1&&!T&&(p[E].handled=!0),!0):(E===!1&&p.push({val:h,handled:!1}),!1)}},{key:"handleOpenIframes",value:function(a,d,h,p){var E=this;a.forEach(function(T){T.handled||E.getIframeContents(T.val,function(S){E.createInstanceOnIframe(S).forEachNode(d,h,p)})})}},{key:"iterateThroughNodes",value:function(a,d,h,p,E){for(var T=this,S=this.createIterator(d,a,p),v=[],b=[],m=void 0,y=void 0,O=function(){var A=T.getIteratorNode(S);return y=A.prevNode,m=A.node,m};O();)this.iframes&&this.forEachIframe(d,function(C){return T.checkIframeFilter(m,y,C,v)},function(C){T.createInstanceOnIframe(C).forEachNode(a,function(A){return b.push(A)},p)}),b.push(m);b.forEach(function(C){h(C)}),this.iframes&&this.handleOpenIframes(v,a,h,p),E()}},{key:"forEachNode",value:function(a,d,h){var p=this,E=arguments.length>3&&arguments[3]!==void 0?arguments[3]:function(){},T=this.getContexts(),S=T.length;S||E(),T.forEach(function(v){var b=function(){p.iterateThroughNodes(a,v,d,h,function(){--S<=0&&E()})};p.iframes?p.waitForIframes(v,b):b()})}}],[{key:"matches",value:function(a,d){var h=typeof d=="string"?[d]:d,p=a.matches||a.matchesSelector||a.msMatchesSelector||a.mozMatchesSelector||a.oMatchesSelector||a.webkitMatchesSelector;if(p){var E=!1;return h.every(function(T){return p.call(a,T)?(E=!0,!1):!0}),E}else return!1}}]),c}(),o=function(){function c(u){e(this,c),this.ctx=u,this.ie=!1;var a=window.navigator.userAgent;(a.indexOf("MSIE")>-1||a.indexOf("Trident")>-1)&&(this.ie=!0)}return t(c,[{key:"log",value:function(a){var d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"debug",h=this.opt.log;!this.opt.debug||(typeof h=="undefined"?"undefined":n(h))==="object"&&typeof h[d]=="function"&&h[d]("mark.js: "+a)}},{key:"escapeStr",value:function(a){return a.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}},{key:"createRegExp",value:function(a){return this.opt.wildcards!=="disabled"&&(a=this.setupWildcardsRegExp(a)),a=this.escapeStr(a),Object.keys(this.opt.synonyms).length&&(a=this.createSynonymsRegExp(a)),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(a=this.setupIgnoreJoinersRegExp(a)),this.opt.diacritics&&(a=this.createDiacriticsRegExp(a)),a=this.createMergedBlanksRegExp(a),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(a=this.createJoinersRegExp(a)),this.opt.wildcards!=="disabled"&&(a=this.createWildcardsRegExp(a)),a=this.createAccuracyRegExp(a),a}},{key:"createSynonymsRegExp",value:function(a){var d=this.opt.synonyms,h=this.opt.caseSensitive?"":"i",p=this.opt.ignoreJoiners||this.opt.ignorePunctuation.length?"\0":"";for(var E in d)if(d.hasOwnProperty(E)){var T=d[E],S=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(E):this.escapeStr(E),v=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(T):this.escapeStr(T);S!==""&&v!==""&&(a=a.replace(new RegExp("("+this.escapeStr(S)+"|"+this.escapeStr(v)+")","gm"+h),p+("("+this.processSynomyms(S)+"|")+(this.processSynomyms(v)+")")+p))}return a}},{key:"processSynomyms",value:function(a){return(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(a=this.setupIgnoreJoinersRegExp(a)),a}},{key:"setupWildcardsRegExp",value:function(a){return a=a.replace(/(?:\\)*\?/g,function(d){return d.charAt(0)==="\\"?"?":""}),a.replace(/(?:\\)*\*/g,function(d){return d.charAt(0)==="\\"?"*":""})}},{key:"createWildcardsRegExp",value:function(a){var d=this.opt.wildcards==="withSpaces";return a.replace(/\u0001/g,d?"[\\S\\s]?":"\\S?").replace(/\u0002/g,d?"[\\S\\s]*?":"\\S*")}},{key:"setupIgnoreJoinersRegExp",value:function(a){return a.replace(/[^(|)\\]/g,function(d,h,p){var E=p.charAt(h+1);return/[(|)\\]/.test(E)||E===""?d:d+"\0"})}},{key:"createJoinersRegExp",value:function(a){var d=[],h=this.opt.ignorePunctuation;return Array.isArray(h)&&h.length&&d.push(this.escapeStr(h.join(""))),this.opt.ignoreJoiners&&d.push("\\u00ad\\u200b\\u200c\\u200d"),d.length?a.split(/\u0000+/).join("["+d.join("")+"]*"):a}},{key:"createDiacriticsRegExp",value:function(a){var d=this.opt.caseSensitive?"":"i",h=this.opt.caseSensitive?["a\xE0\xE1\u1EA3\xE3\u1EA1\u0103\u1EB1\u1EAF\u1EB3\u1EB5\u1EB7\xE2\u1EA7\u1EA5\u1EA9\u1EAB\u1EAD\xE4\xE5\u0101\u0105","A\xC0\xC1\u1EA2\xC3\u1EA0\u0102\u1EB0\u1EAE\u1EB2\u1EB4\u1EB6\xC2\u1EA6\u1EA4\u1EA8\u1EAA\u1EAC\xC4\xC5\u0100\u0104","c\xE7\u0107\u010D","C\xC7\u0106\u010C","d\u0111\u010F","D\u0110\u010E","e\xE8\xE9\u1EBB\u1EBD\u1EB9\xEA\u1EC1\u1EBF\u1EC3\u1EC5\u1EC7\xEB\u011B\u0113\u0119","E\xC8\xC9\u1EBA\u1EBC\u1EB8\xCA\u1EC0\u1EBE\u1EC2\u1EC4\u1EC6\xCB\u011A\u0112\u0118","i\xEC\xED\u1EC9\u0129\u1ECB\xEE\xEF\u012B","I\xCC\xCD\u1EC8\u0128\u1ECA\xCE\xCF\u012A","l\u0142","L\u0141","n\xF1\u0148\u0144","N\xD1\u0147\u0143","o\xF2\xF3\u1ECF\xF5\u1ECD\xF4\u1ED3\u1ED1\u1ED5\u1ED7\u1ED9\u01A1\u1EDF\u1EE1\u1EDB\u1EDD\u1EE3\xF6\xF8\u014D","O\xD2\xD3\u1ECE\xD5\u1ECC\xD4\u1ED2\u1ED0\u1ED4\u1ED6\u1ED8\u01A0\u1EDE\u1EE0\u1EDA\u1EDC\u1EE2\xD6\xD8\u014C","r\u0159","R\u0158","s\u0161\u015B\u0219\u015F","S\u0160\u015A\u0218\u015E","t\u0165\u021B\u0163","T\u0164\u021A\u0162","u\xF9\xFA\u1EE7\u0169\u1EE5\u01B0\u1EEB\u1EE9\u1EED\u1EEF\u1EF1\xFB\xFC\u016F\u016B","U\xD9\xDA\u1EE6\u0168\u1EE4\u01AF\u1EEA\u1EE8\u1EEC\u1EEE\u1EF0\xDB\xDC\u016E\u016A","y\xFD\u1EF3\u1EF7\u1EF9\u1EF5\xFF","Y\xDD\u1EF2\u1EF6\u1EF8\u1EF4\u0178","z\u017E\u017C\u017A","Z\u017D\u017B\u0179"]:["a\xE0\xE1\u1EA3\xE3\u1EA1\u0103\u1EB1\u1EAF\u1EB3\u1EB5\u1EB7\xE2\u1EA7\u1EA5\u1EA9\u1EAB\u1EAD\xE4\xE5\u0101\u0105A\xC0\xC1\u1EA2\xC3\u1EA0\u0102\u1EB0\u1EAE\u1EB2\u1EB4\u1EB6\xC2\u1EA6\u1EA4\u1EA8\u1EAA\u1EAC\xC4\xC5\u0100\u0104","c\xE7\u0107\u010DC\xC7\u0106\u010C","d\u0111\u010FD\u0110\u010E","e\xE8\xE9\u1EBB\u1EBD\u1EB9\xEA\u1EC1\u1EBF\u1EC3\u1EC5\u1EC7\xEB\u011B\u0113\u0119E\xC8\xC9\u1EBA\u1EBC\u1EB8\xCA\u1EC0\u1EBE\u1EC2\u1EC4\u1EC6\xCB\u011A\u0112\u0118","i\xEC\xED\u1EC9\u0129\u1ECB\xEE\xEF\u012BI\xCC\xCD\u1EC8\u0128\u1ECA\xCE\xCF\u012A","l\u0142L\u0141","n\xF1\u0148\u0144N\xD1\u0147\u0143","o\xF2\xF3\u1ECF\xF5\u1ECD\xF4\u1ED3\u1ED1\u1ED5\u1ED7\u1ED9\u01A1\u1EDF\u1EE1\u1EDB\u1EDD\u1EE3\xF6\xF8\u014DO\xD2\xD3\u1ECE\xD5\u1ECC\xD4\u1ED2\u1ED0\u1ED4\u1ED6\u1ED8\u01A0\u1EDE\u1EE0\u1EDA\u1EDC\u1EE2\xD6\xD8\u014C","r\u0159R\u0158","s\u0161\u015B\u0219\u015FS\u0160\u015A\u0218\u015E","t\u0165\u021B\u0163T\u0164\u021A\u0162","u\xF9\xFA\u1EE7\u0169\u1EE5\u01B0\u1EEB\u1EE9\u1EED\u1EEF\u1EF1\xFB\xFC\u016F\u016BU\xD9\xDA\u1EE6\u0168\u1EE4\u01AF\u1EEA\u1EE8\u1EEC\u1EEE\u1EF0\xDB\xDC\u016E\u016A","y\xFD\u1EF3\u1EF7\u1EF9\u1EF5\xFFY\xDD\u1EF2\u1EF6\u1EF8\u1EF4\u0178","z\u017E\u017C\u017AZ\u017D\u017B\u0179"],p=[];return a.split("").forEach(function(E){h.every(function(T){if(T.indexOf(E)!==-1){if(p.indexOf(T)>-1)return!1;a=a.replace(new RegExp("["+T+"]","gm"+d),"["+T+"]"),p.push(T)}return!0})}),a}},{key:"createMergedBlanksRegExp",value:function(a){return a.replace(/[\s]+/gmi,"[\\s]+")}},{key:"createAccuracyRegExp",value:function(a){var d=this,h="!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~\xA1\xBF",p=this.opt.accuracy,E=typeof p=="string"?p:p.value,T=typeof p=="string"?[]:p.limiters,S="";switch(T.forEach(function(v){S+="|"+d.escapeStr(v)}),E){case"partially":default:return"()("+a+")";case"complementary":return S="\\s"+(S||this.escapeStr(h)),"()([^"+S+"]*"+a+"[^"+S+"]*)";case"exactly":return"(^|\\s"+S+")("+a+")(?=$|\\s"+S+")"}}},{key:"getSeparatedKeywords",value:function(a){var d=this,h=[];return a.forEach(function(p){d.opt.separateWordSearch?p.split(" ").forEach(function(E){E.trim()&&h.indexOf(E)===-1&&h.push(E)}):p.trim()&&h.indexOf(p)===-1&&h.push(p)}),{keywords:h.sort(function(p,E){return E.length-p.length}),length:h.length}}},{key:"isNumeric",value:function(a){return Number(parseFloat(a))==a}},{key:"checkRanges",value:function(a){var d=this;if(!Array.isArray(a)||Object.prototype.toString.call(a[0])!=="[object Object]")return this.log("markRanges() will only accept an array of objects"),this.opt.noMatch(a),[];var h=[],p=0;return a.sort(function(E,T){return E.start-T.start}).forEach(function(E){var T=d.callNoMatchOnInvalidRanges(E,p),S=T.start,v=T.end,b=T.valid;b&&(E.start=S,E.length=v-S,h.push(E),p=v)}),h}},{key:"callNoMatchOnInvalidRanges",value:function(a,d){var h=void 0,p=void 0,E=!1;return a&&typeof a.start!="undefined"?(h=parseInt(a.start,10),p=h+parseInt(a.length,10),this.isNumeric(a.start)&&this.isNumeric(a.length)&&p-d>0&&p-h>0?E=!0:(this.log("Ignoring invalid or overlapping range: "+(""+JSON.stringify(a))),this.opt.noMatch(a))):(this.log("Ignoring invalid range: "+JSON.stringify(a)),this.opt.noMatch(a)),{start:h,end:p,valid:E}}},{key:"checkWhitespaceRanges",value:function(a,d,h){var p=void 0,E=!0,T=h.length,S=d-T,v=parseInt(a.start,10)-S;return v=v>T?T:v,p=v+parseInt(a.length,10),p>T&&(p=T,this.log("End range automatically set to the max value of "+T)),v<0||p-v<0||v>T||p>T?(E=!1,this.log("Invalid range: "+JSON.stringify(a)),this.opt.noMatch(a)):h.substring(v,p).replace(/\s+/g,"")===""&&(E=!1,this.log("Skipping whitespace only range: "+JSON.stringify(a)),this.opt.noMatch(a)),{start:v,end:p,valid:E}}},{key:"getTextNodes",value:function(a){var d=this,h="",p=[];this.iterator.forEachNode(NodeFilter.SHOW_TEXT,function(E){p.push({start:h.length,end:(h+=E.textContent).length,node:E})},function(E){return d.matchesExclude(E.parentNode)?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT},function(){a({value:h,nodes:p})})}},{key:"matchesExclude",value:function(a){return s.matches(a,this.opt.exclude.concat(["script","style","title","head","html"]))}},{key:"wrapRangeInTextNode",value:function(a,d,h){var p=this.opt.element?this.opt.element:"mark",E=a.splitText(d),T=E.splitText(h-d),S=document.createElement(p);return S.setAttribute("data-markjs","true"),this.opt.className&&S.setAttribute("class",this.opt.className),S.textContent=E.textContent,E.parentNode.replaceChild(S,E),T}},{key:"wrapRangeInMappedTextNode",value:function(a,d,h,p,E){var T=this;a.nodes.every(function(S,v){var b=a.nodes[v+1];if(typeof b=="undefined"||b.start>d){if(!p(S.node))return!1;var m=d-S.start,y=(h>S.end?S.end:h)-S.start,O=a.value.substr(0,S.start),C=a.value.substr(y+S.start);if(S.node=T.wrapRangeInTextNode(S.node,m,y),a.value=O+C,a.nodes.forEach(function(A,w){w>=v&&(a.nodes[w].start>0&&w!==v&&(a.nodes[w].start-=y),a.nodes[w].end-=y)}),h-=y,E(S.node.previousSibling,S.start),h>S.end)d=S.end;else return!1}return!0})}},{key:"wrapMatches",value:function(a,d,h,p,E){var T=this,S=d===0?0:d+1;this.getTextNodes(function(v){v.nodes.forEach(function(b){b=b.node;for(var m=void 0;(m=a.exec(b.textContent))!==null&&m[S]!=="";)if(!!h(m[S],b)){var y=m.index;if(S!==0)for(var O=1;O<S;O++)y+=m[O].length;b=T.wrapRangeInTextNode(b,y,y+m[S].length),p(b.previousSibling),a.lastIndex=0}}),E()})}},{key:"wrapMatchesAcrossElements",value:function(a,d,h,p,E){var T=this,S=d===0?0:d+1;this.getTextNodes(function(v){for(var b=void 0;(b=a.exec(v.value))!==null&&b[S]!=="";){var m=b.index;if(S!==0)for(var y=1;y<S;y++)m+=b[y].length;var O=m+b[S].length;T.wrapRangeInMappedTextNode(v,m,O,function(C){return h(b[S],C)},function(C,A){a.lastIndex=A,p(C)})}E()})}},{key:"wrapRangeFromIndex",value:function(a,d,h,p){var E=this;this.getTextNodes(function(T){var S=T.value.length;a.forEach(function(v,b){var m=E.checkWhitespaceRanges(v,S,T.value),y=m.start,O=m.end,C=m.valid;C&&E.wrapRangeInMappedTextNode(T,y,O,function(A){return d(A,v,T.value.substring(y,O),b)},function(A){h(A,v)})}),p()})}},{key:"unwrapMatches",value:function(a){for(var d=a.parentNode,h=document.createDocumentFragment();a.firstChild;)h.appendChild(a.removeChild(a.firstChild));d.replaceChild(h,a),this.ie?this.normalizeTextNode(d):d.normalize()}},{key:"normalizeTextNode",value:function(a){if(!!a){if(a.nodeType===3)for(;a.nextSibling&&a.nextSibling.nodeType===3;)a.nodeValue+=a.nextSibling.nodeValue,a.parentNode.removeChild(a.nextSibling);else this.normalizeTextNode(a.firstChild);this.normalizeTextNode(a.nextSibling)}}},{key:"markRegExp",value:function(a,d){var h=this;this.opt=d,this.log('Searching with expression "'+a+'"');var p=0,E="wrapMatches",T=function(v){p++,h.opt.each(v)};this.opt.acrossElements&&(E="wrapMatchesAcrossElements"),this[E](a,this.opt.ignoreGroups,function(S,v){return h.opt.filter(v,S,p)},T,function(){p===0&&h.opt.noMatch(a),h.opt.done(p)})}},{key:"mark",value:function(a,d){var h=this;this.opt=d;var p=0,E="wrapMatches",T=this.getSeparatedKeywords(typeof a=="string"?[a]:a),S=T.keywords,v=T.length,b=this.opt.caseSensitive?"":"i",m=function y(O){var C=new RegExp(h.createRegExp(O),"gm"+b),A=0;h.log('Searching with expression "'+C+'"'),h[E](C,1,function(w,x){return h.opt.filter(x,O,p,A)},function(w){A++,p++,h.opt.each(w)},function(){A===0&&h.opt.noMatch(O),S[v-1]===O?h.opt.done(p):y(S[S.indexOf(O)+1])})};this.opt.acrossElements&&(E="wrapMatchesAcrossElements"),v===0?this.opt.done(p):m(S[0])}},{key:"markRanges",value:function(a,d){var h=this;this.opt=d;var p=0,E=this.checkRanges(a);E&&E.length?(this.log("Starting to mark with the following ranges: "+JSON.stringify(E)),this.wrapRangeFromIndex(E,function(T,S,v,b){return h.opt.filter(T,S,v,b)},function(T,S){p++,h.opt.each(T,S)},function(){h.opt.done(p)})):this.opt.done(p)}},{key:"unmark",value:function(a){var d=this;this.opt=a;var h=this.opt.element?this.opt.element:"*";h+="[data-markjs]",this.opt.className&&(h+="."+this.opt.className),this.log('Removal selector "'+h+'"'),this.iterator.forEachNode(NodeFilter.SHOW_ELEMENT,function(p){d.unwrapMatches(p)},function(p){var E=s.matches(p,h),T=d.matchesExclude(p);return!E||T?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT},this.opt.done)}},{key:"opt",set:function(a){this._opt=l({},{element:"",className:"",exclude:[],iframes:!1,iframesTimeout:5e3,separateWordSearch:!0,diacritics:!0,synonyms:{},accuracy:"partially",acrossElements:!1,caseSensitive:!1,ignoreJoiners:!1,ignoreGroups:0,ignorePunctuation:[],wildcards:"disabled",each:function(){},noMatch:function(){},filter:function(){return!0},done:function(){},debug:!1,log:window.console},a)},get:function(){return this._opt}},{key:"iterator",get:function(){return new s(this.ctx,this.opt.iframes,this.opt.exclude,this.opt.iframesTimeout)}}]),c}();function r(c){var u=this,a=new o(c);return this.mark=function(d,h){return a.mark(d,h),u},this.markRegExp=function(d,h){return a.markRegExp(d,h),u},this.markRanges=function(d,h){return a.markRanges(d,h),u},this.unmark=function(d){return a.unmark(d),u},this}return r})},80150:(L,n,e)=>{"use strict";e.d(n,{Pi:()=>He});var t=e(68949),l=e(67294);if(!l.useState)throw new Error("mobx-react-lite requires React with Hooks support");if(!t.rC)throw new Error("mobx-react-lite@3 requires mobx at least version 6 to be available");var s=e(73935);function o(Ze){Ze()}function r(Ze){Ze||(Ze=o),(0,t.jQ)({reactionScheduler:Ze})}var c=function(){return!0},u=function(Ze,ut){var Pt=typeof Symbol=="function"&&Ze[Symbol.iterator];if(!Pt)return Ze;var Mt=Pt.call(Ze),zt,Zt=[],Qe;try{for(;(ut===void 0||ut-- >0)&&!(zt=Mt.next()).done;)Zt.push(zt.value)}catch(ot){Qe={error:ot}}finally{try{zt&&!zt.done&&(Pt=Mt.return)&&Pt.call(Mt)}finally{if(Qe)throw Qe.error}}return Zt},a=[];function d(){var Ze=u((0,l.useState)(0),2),ut=Ze[1],Pt=(0,l.useCallback)(function(){ut(function(Mt){return Mt+1})},a);return Pt}var h=null;function p(Ze){h.includes(Ze)||(h.push(Ze),console.warn(Ze))}function E(Ze){return(0,t.Gf)(Ze)}var T=typeof FinalizationRegistry=="undefined"?void 0:FinalizationRegistry;function S(Ze){var ut={reaction:Ze,mounted:!1,changedBeforeMount:!1,cleanAt:Date.now()+v};return ut}var v=1e4,b=1e4;function m(Ze){var ut=new Map,Pt=1,Mt=new Ze(function(Zt){var Qe=ut.get(Zt);Qe&&(Qe.reaction.dispose(),ut.delete(Zt))});return{addReactionToTrack:function(zt,Zt,Qe){var ot=Pt++;return Mt.register(Qe,ot,zt),zt.current=S(Zt),zt.current.finalizationRegistryCleanupToken=ot,ut.set(ot,zt.current),zt.current},recordReactionAsCommitted:function(zt){Mt.unregister(zt),zt.current&&zt.current.finalizationRegistryCleanupToken&&ut.delete(zt.current.finalizationRegistryCleanupToken)},forceCleanupTimerToRunNowForTests:function(){},resetCleanupScheduleForTests:function(){}}}var y=function(Ze){var ut=typeof Symbol=="function"&&Symbol.iterator,Pt=ut&&Ze[ut],Mt=0;if(Pt)return Pt.call(Ze);if(Ze&&typeof Ze.length=="number")return{next:function(){return Ze&&Mt>=Ze.length&&(Ze=void 0),{value:Ze&&Ze[Mt++],done:!Ze}}};throw new TypeError(ut?"Object is not iterable.":"Symbol.iterator is not defined.")};function O(){var Ze=new Set,ut;function Pt(){ut&&(clearTimeout(ut),ot())}function Mt(){var Xe,st;if(Ze.size>0){try{for(var wt=y(Ze),tn=wt.next();!tn.done;tn=wt.next()){var qt=tn.value,bn=qt.current;bn&&(bn.reaction.dispose(),qt.current=null)}}catch(Fn){Xe={error:Fn}}finally{try{tn&&!tn.done&&(st=wt.return)&&st.call(wt)}finally{if(Xe)throw Xe.error}}Ze.clear()}ut&&(clearTimeout(ut),ut=void 0)}function zt(){ut===void 0&&(ut=setTimeout(ot,b))}function Zt(Xe){Ze.add(Xe),zt()}function Qe(Xe){Ze.delete(Xe)}function ot(){ut=void 0;var Xe=Date.now();Ze.forEach(function(st){var wt=st.current;wt&&Xe>=wt.cleanAt&&(wt.reaction.dispose(),st.current=null,Ze.delete(st))}),Ze.size>0&&zt()}return{addReactionToTrack:function(Xe,st,wt){return Xe.current=S(st),Zt(Xe),Xe.current},recordReactionAsCommitted:Qe,forceCleanupTimerToRunNowForTests:Pt,resetCleanupScheduleForTests:Mt}}var C=T?m(T):O(),A=C.addReactionToTrack,w=C.recordReactionAsCommitted,x=C.resetCleanupScheduleForTests,R=C.forceCleanupTimerToRunNowForTests,g=!1;function k(Ze){g=Ze}function G(){return g}var Z=function(Ze,ut){var Pt=typeof Symbol=="function"&&Ze[Symbol.iterator];if(!Pt)return Ze;var Mt=Pt.call(Ze),zt,Zt=[],Qe;try{for(;(ut===void 0||ut-- >0)&&!(zt=Mt.next()).done;)Zt.push(zt.value)}catch(ot){Qe={error:ot}}finally{try{zt&&!zt.done&&(Pt=Mt.return)&&Pt.call(Mt)}finally{if(Qe)throw Qe.error}}return Zt};function oe(Ze){return"observer"+Ze}var ee=function(){function Ze(){}return Ze}();function Ee(Ze,ut){if(ut===void 0&&(ut="observed"),G())return Ze();var Pt=Z(l.useState(new ee),1),Mt=Pt[0],zt=d(),Zt=l.useRef(null);if(!Zt.current)var Qe=new t.le(oe(ut),function(){ot.mounted?zt():ot.changedBeforeMount=!0}),ot=A(Zt,Qe,Mt);var Xe=Zt.current.reaction;l.useDebugValue(Xe,E),l.useEffect(function(){return w(Zt),Zt.current?(Zt.current.mounted=!0,Zt.current.changedBeforeMount&&(Zt.current.changedBeforeMount=!1,zt())):(Zt.current={reaction:new t.le(oe(ut),function(){zt()}),mounted:!0,changedBeforeMount:!1,cleanAt:1/0},zt()),function(){Zt.current.reaction.dispose(),Zt.current=null}},[]);var st,wt;if(Xe.track(function(){try{st=Ze()}catch(tn){wt=tn}}),wt)throw wt;return st}var Fe=function(){return Fe=Object.assign||function(Ze){for(var ut,Pt=1,Mt=arguments.length;Pt<Mt;Pt++){ut=arguments[Pt];for(var zt in ut)Object.prototype.hasOwnProperty.call(ut,zt)&&(Ze[zt]=ut[zt])}return Ze},Fe.apply(this,arguments)};function ce(Ze,ut){if(G())return Ze;var Pt=Fe({forwardRef:!1},ut),Mt=Ze.displayName||Ze.name,zt=function(Qe,ot){return Ee(function(){return Ze(Qe,ot)},Mt)};zt.displayName=Mt;var Zt;return Pt.forwardRef?Zt=(0,l.memo)((0,l.forwardRef)(zt)):Zt=(0,l.memo)(zt),he(Ze,Zt),Zt.displayName=Mt,Zt}var te={$$typeof:!0,render:!0,compare:!0,type:!0};function he(Ze,ut){Object.keys(Ze).forEach(function(Pt){te[Pt]||Object.defineProperty(ut,Pt,Object.getOwnPropertyDescriptor(Ze,Pt))})}function Q(Ze){var ut=Ze.children,Pt=Ze.render,Mt=ut||Pt;return typeof Mt!="function"?null:Ee(Mt)}Q.displayName="Observer";function B(Ze,ut,Pt,Mt,zt){var Zt=ut==="children"?"render":"children",Qe=typeof Ze[ut]=="function",ot=typeof Ze[Zt]=="function";return Qe&&ot?new Error("MobX Observer: Do not use children and render in the same time in`"+Pt):Qe||ot?null:new Error("Invalid prop `"+zt+"` of type `"+typeof Ze[ut]+"` supplied to `"+Pt+"`, expected `function`.")}function J(Ze,ut){return useState(function(){return observable(Ze(),ut,{autoBind:!0})})[0]}var re=function(Ze,ut){var Pt=typeof Symbol=="function"&&Ze[Symbol.iterator];if(!Pt)return Ze;var Mt=Pt.call(Ze),zt,Zt=[],Qe;try{for(;(ut===void 0||ut-- >0)&&!(zt=Mt.next()).done;)Zt.push(zt.value)}catch(ot){Qe={error:ot}}finally{try{zt&&!zt.done&&(Pt=Mt.return)&&Pt.call(Mt)}finally{if(Qe)throw Qe.error}}return Zt};function W(Ze){var ut=re(useState(function(){return observable(Ze,{},{deep:!1})}),1),Pt=ut[0];return runInAction(function(){Object.assign(Pt,Ze)}),Pt}function V(Ze,ut){var Pt=ut&&useAsObservableSource(ut);return useState(function(){return observable(Ze(Pt),void 0,{autoBind:!0})})[0]}r(s.unstable_batchedUpdates);function ae(Ze,ut){return ut===void 0&&(ut="observed"),useObserverOriginal(Ze,ut)}function pe(Ze){enableStaticRendering(Ze)}var Se=0;function De(Ze){if(typeof Symbol=="function")return Symbol(Ze);var ut="__$mobx-react "+Ze+" ("+Se+")";return Se++,ut}var nt={};function Me(Ze){return nt[Ze]||(nt[Ze]=De(Ze)),nt[Ze]}function _e(Ze,ut){if(j(Ze,ut))return!0;if(typeof Ze!="object"||Ze===null||typeof ut!="object"||ut===null)return!1;var Pt=Object.keys(Ze),Mt=Object.keys(ut);if(Pt.length!==Mt.length)return!1;for(var zt=0;zt<Pt.length;zt++)if(!Object.hasOwnProperty.call(ut,Pt[zt])||!j(Ze[Pt[zt]],ut[Pt[zt]]))return!1;return!0}function j(Ze,ut){return Ze===ut?Ze!==0||1/Ze==1/ut:Ze!==Ze&&ut!==ut}var ue={$$typeof:1,render:1,compare:1,type:1,childContextTypes:1,contextType:1,contextTypes:1,defaultProps:1,getDefaultProps:1,getDerivedStateFromError:1,getDerivedStateFromProps:1,mixins:1,displayName:1,propTypes:1};function Ce(Ze,ut){var Pt=Object.getOwnPropertyNames(Object.getPrototypeOf(Ze));Object.getOwnPropertyNames(Ze).forEach(function(Mt){!ue[Mt]&&Pt.indexOf(Mt)===-1&&Object.defineProperty(ut,Mt,Object.getOwnPropertyDescriptor(Ze,Mt))})}function et(Ze,ut,Pt){Object.hasOwnProperty.call(Ze,ut)?Ze[ut]=Pt:Object.defineProperty(Ze,ut,{enumerable:!1,configurable:!0,writable:!0,value:Pt})}var Pe=Me("patchMixins"),X=Me("patchedDefinition");function _(Ze,ut){var Pt=Ze[Pe]=Ze[Pe]||{},Mt=Pt[ut]=Pt[ut]||{};return Mt.locks=Mt.locks||0,Mt.methods=Mt.methods||[],Mt}function $(Ze,ut){for(var Pt=this,Mt=arguments.length,zt=new Array(Mt>2?Mt-2:0),Zt=2;Zt<Mt;Zt++)zt[Zt-2]=arguments[Zt];ut.locks++;try{var Qe;return Ze!=null&&(Qe=Ze.apply(this,zt)),Qe}finally{ut.locks--,ut.locks===0&&ut.methods.forEach(function(ot){ot.apply(Pt,zt)})}}function H(Ze,ut){var Pt=function(){for(var zt=arguments.length,Zt=new Array(zt),Qe=0;Qe<zt;Qe++)Zt[Qe]=arguments[Qe];$.call.apply($,[this,Ze,ut].concat(Zt))};return Pt}function I(Ze,ut,Pt){var Mt=_(Ze,ut);Mt.methods.indexOf(Pt)<0&&Mt.methods.push(Pt);var zt=Object.getOwnPropertyDescriptor(Ze,ut);if(!(zt&&zt[X])){var Zt=Ze[ut],Qe=ve(Ze,ut,zt?zt.enumerable:void 0,Mt,Zt);Object.defineProperty(Ze,ut,Qe)}}function ve(Ze,ut,Pt,Mt,zt){var Zt,Qe=H(zt,Mt);return Zt={},Zt[X]=!0,Zt.get=function(){return Qe},Zt.set=function(Xe){if(this===Ze)Qe=H(Xe,Mt);else{var st=ve(this,ut,Pt,Mt,Xe);Object.defineProperty(this,ut,st)}},Zt.configurable=!0,Zt.enumerable=Pt,Zt}var $e=t.so||"$mobx",be=Me("isMobXReactObserver"),Te=Me("isUnmounted"),Le=Me("skipRender"),ke=Me("isForcingUpdate");function at(Ze){var ut=Ze.prototype;if(Ze[be]){var Pt=xt(ut);console.warn("The provided component class ("+Pt+`)
|
|
2710
2710
|
has already been declared as an observer component.`)}else Ze[be]=!0;if(ut.componentWillReact)throw new Error("The componentWillReact life-cycle event is no longer supported");if(Ze.__proto__!==l.PureComponent){if(!ut.shouldComponentUpdate)ut.shouldComponentUpdate=q;else if(ut.shouldComponentUpdate!==q)throw new Error("It is not allowed to use shouldComponentUpdate in observer based components.")}ne(ut,"props"),ne(ut,"state");var Mt=ut.render;return ut.render=function(){return qe.call(this,Mt)},I(ut,"componentWillUnmount",function(){var zt;if(G()!==!0&&((zt=this.render[$e])==null||zt.dispose(),this[Te]=!0,!this.render[$e])){var Zt=xt(this);console.warn("The reactive render of an observer class component ("+Zt+`)
|
|
2711
2711
|
was overriden after MobX attached. This may result in a memory leak if the
|
|
2712
|
-
overriden reactive render was not properly disposed.`)}}),Ze}function xt(Ze){return Ze.displayName||Ze.name||Ze.constructor&&(Ze.constructor.displayName||Ze.constructor.name)||"<component>"}function qe(Ze){var ut=this;if(G()===!0)return Ze.call(this);et(this,Le,!1),et(this,ke,!1);var Pt=xt(this),Mt=Ze.bind(this),zt=!1,Zt=new t.le(Pt+".render()",function(){if(!zt&&(zt=!0,ut[Te]!==!0)){var ot=!0;try{et(ut,ke,!0),ut[Le]||l.Component.prototype.forceUpdate.call(ut),ot=!1}finally{et(ut,ke,!1),ot&&Zt.dispose()}}});Zt.reactComponent=this,Qe[$e]=Zt,this.render=Qe;function Qe(){zt=!1;var ot=void 0,Xe=void 0;if(Zt.track(function(){try{Xe=(0,t.$$)(!1,Mt)}catch(st){ot=st}}),ot)throw ot;return Xe}return Qe.call(this)}function q(Ze,ut){return G()&&console.warn("[mobx-react] It seems that a re-rendering of a React component is triggered while in static (server-side) mode. Please make sure components are rendered only once server-side."),this.state!==ut?!0:!_e(this.props,Ze)}function ne(Ze,ut){var Pt=Me("reactProp_"+ut+"_valueHolder"),Mt=Me("reactProp_"+ut+"_atomHolder");function zt(){return this[Mt]||et(this,Mt,(0,t.cp)("reactive "+ut)),this[Mt]}Object.defineProperty(Ze,ut,{configurable:!0,enumerable:!0,get:function(){var Qe=!1;return t.wM&&t.mJ&&(Qe=(0,t.wM)(!0)),zt.call(this).reportObserved(),t.wM&&t.mJ&&(0,t.mJ)(Qe),this[Pt]},set:function(Qe){!this[ke]&&!_e(this[Pt],Qe)?(et(this,Pt,Qe),et(this,Le,!0),zt.call(this).reportChanged(),et(this,Le,!1)):et(this,Pt,Qe)}})}var ie=typeof Symbol=="function"&&Symbol.for,K=ie?Symbol.for("react.forward_ref"):typeof l.forwardRef=="function"&&(0,l.forwardRef)(function(Ze){return null}).$$typeof,we=ie?Symbol.for("react.memo"):typeof l.memo=="function"&&(0,l.memo)(function(Ze){return null}).$$typeof;function He(Ze){if(Ze.isMobxInjector===!0&&console.warn("Mobx observer: You are trying to use 'observer' on a component that already has 'inject'. Please apply 'observer' before applying 'inject'"),we&&Ze.$$typeof===we)throw new Error("Mobx observer: You are trying to use 'observer' on a function component wrapped in either another observer or 'React.memo'. The observer already applies 'React.memo' for you.");if(K&&Ze.$$typeof===K){var ut=Ze.render;if(typeof ut!="function")throw new Error("render property of ForwardRef was not a function");return(0,l.forwardRef)(function(){var Mt=arguments;return(0,l.createElement)(Q,null,function(){return ut.apply(void 0,Mt)})})}return typeof Ze=="function"&&(!Ze.prototype||!Ze.prototype.render)&&!Ze.isReactClass&&!Object.prototype.isPrototypeOf.call(l.Component,Ze)?ce(Ze):at(Ze)}function Je(){return Je=Object.assign||function(Ze){for(var ut=1;ut<arguments.length;ut++){var Pt=arguments[ut];for(var Mt in Pt)Object.prototype.hasOwnProperty.call(Pt,Mt)&&(Ze[Mt]=Pt[Mt])}return Ze},Je.apply(this,arguments)}function ft(Ze,ut){if(Ze==null)return{};var Pt={},Mt=Object.keys(Ze),zt,Zt;for(Zt=0;Zt<Mt.length;Zt++)zt=Mt[Zt],!(ut.indexOf(zt)>=0)&&(Pt[zt]=Ze[zt]);return Pt}var At=l.createContext({});function Lt(Ze){var ut=Ze.children,Pt=ft(Ze,["children"]),Mt=l.useContext(At),zt=l.useRef(Je({},Mt,Pt)),Zt=zt.current;if(!1)var Qe;return l.createElement(At.Provider,{value:Zt},ut)}Lt.displayName="MobXProvider";function Yt(Ze,ut,Pt,Mt){var zt=React__default.forwardRef(function(Zt,Qe){var ot=Je({},Zt),Xe=React__default.useContext(At);return Object.assign(ot,Ze(Xe||{},ot)||{}),Qe&&(ot.ref=Qe),React__default.createElement(ut,ot)});return Mt&&(zt=He(zt)),zt.isMobxInjector=!0,Ce(ut,zt),zt.wrappedComponent=ut,zt.displayName=Vt(ut,Pt),zt}function Vt(Ze,ut){var Pt,Mt=Ze.displayName||Ze.name||Ze.constructor&&Ze.constructor.name||"Component";return ut?Pt="inject-with-"+ut+"("+Mt+")":Pt="inject("+Mt+")",Pt}function ze(Ze){return function(ut,Pt){return Ze.forEach(function(Mt){if(!(Mt in Pt)){if(!(Mt in ut))throw new Error("MobX injector: Store '"+Mt+"' is not available! Make sure it is provided by some Provider");Pt[Mt]=ut[Mt]}}),Pt}}function dt(){for(var Ze=arguments.length,ut=new Array(Ze),Pt=0;Pt<Ze;Pt++)ut[Pt]=arguments[Pt];if(typeof arguments[0]=="function"){var Mt=arguments[0];return function(zt){return Yt(Mt,zt,Mt.name,!0)}}else return function(zt){return Yt(ze(ut),zt,ut.join("-"),!1)}}var bt=null,pt=null;function Ct(){var Ze=this;[].concat(this[bt]||[],this[pt]||[]).forEach(function(ut){var Pt=typeof ut=="string"?Ze[ut]:ut;Pt!=null&&(Array.isArray(Pt)?Pt.map(function(Mt){return Mt()}):Pt())})}function $t(Ze,ut){if(Array.isArray(ut))return ut.map(function(Xe){return $t(Ze,Xe)});var Pt=Object.getPrototypeOf(Ze).constructor,Mt=Object.getPrototypeOf(Ze.constructor),zt=Object.getPrototypeOf(Object.getPrototypeOf(Ze));if(!(Pt===React__default.Component||Pt===React__default.PureComponent||Mt===React__default.Component||Mt===React__default.PureComponent||zt===React__default.Component||zt===React__default.PureComponent))throw new Error("[mobx-react] disposeOnUnmount only supports direct subclasses of React.Component or React.PureComponent.");if(typeof ut!="string"&&typeof ut!="function"&&!Array.isArray(ut))throw new Error("[mobx-react] disposeOnUnmount only works if the parameter is either a property key or a function.");var Zt=typeof ut=="string",Qe=!!Ze[bt]||!!Ze[pt],ot=Zt?Ze[bt]||(Ze[bt]=[]):Ze[pt]||(Ze[pt]=[]);if(ot.push(ut),Qe||I(Ze,"componentWillUnmount",Ct),typeof ut!="string")return ut}function dn(Ze){function ut(Mt,zt,Zt,Qe,ot,Xe){for(var st=arguments.length,wt=new Array(st>6?st-6:0),tn=6;tn<st;tn++)wt[tn-6]=arguments[tn];return(0,t.rg)(function(){if(Qe=Qe||"<<anonymous>>",Xe=Xe||Zt,zt[Zt]==null){if(Mt){var qt=zt[Zt]===null?"null":"undefined";return new Error("The "+ot+" `"+Xe+"` is marked as required in `"+Qe+"`, but its value is `"+qt+"`.")}return null}else return Ze.apply(void 0,[zt,Zt,Qe,ot,Xe].concat(wt))})}var Pt=ut.bind(null,!1);return Pt.isRequired=ut.bind(null,!0),Pt}function un(Ze,ut){return Ze==="symbol"||ut["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&ut instanceof Symbol}function Cn(Ze){var ut=typeof Ze;return Array.isArray(Ze)?"array":Ze instanceof RegExp?"object":un(ut,Ze)?"symbol":ut}function Ke(Ze){var ut=Cn(Ze);if(ut==="object"){if(Ze instanceof Date)return"date";if(Ze instanceof RegExp)return"regexp"}return ut}function Be(Ze,ut){return dn(function(Pt,Mt,zt,Zt,Qe){return(0,t.rg)(function(){if(Ze&&Cn(Pt[Mt])===ut.toLowerCase())return null;var ot;switch(ut){case"Array":ot=t.Ei;break;case"Object":ot=t.Pb;break;case"Map":ot=t.LJ;break;default:throw new Error("Unexpected mobxType: "+ut)}var Xe=Pt[Mt];if(!ot(Xe)){var st=Ke(Xe),wt=Ze?" or javascript `"+ut.toLowerCase()+"`":"";return new Error("Invalid prop `"+Qe+"` of type `"+st+"` supplied to `"+zt+"`, expected `mobx.Observable"+ut+"`"+wt+".")}return null})})}function it(Ze,ut){return dn(function(Pt,Mt,zt,Zt,Qe){for(var ot=arguments.length,Xe=new Array(ot>5?ot-5:0),st=5;st<ot;st++)Xe[st-5]=arguments[st];return(0,t.rg)(function(){if(typeof ut!="function")return new Error("Property `"+Qe+"` of component `"+zt+"` has invalid PropType notation.");var wt=Be(Ze,"Array")(Pt,Mt,zt,Zt,Qe);if(wt instanceof Error)return wt;for(var tn=Pt[Mt],qt=0;qt<tn.length;qt++)if(wt=ut.apply(void 0,[tn,qt,zt,Zt,Qe+"["+qt+"]"].concat(Xe)),wt instanceof Error)return wt;return null})})}var Et=Be(!1,"Array"),Ot=it.bind(null,!1),cn=Be(!1,"Map"),Mn=Be(!1,"Object"),Dn=Be(!0,"Array"),Rn=it.bind(null,!0),Gn=Be(!0,"Object"),Pn={observableArray:Et,observableArrayOf:Ot,observableMap:cn,observableObject:Mn,arrayOrObservableArray:Dn,arrayOrObservableArrayOf:Rn,objectOrObservableObject:Gn};if(!l.Component)throw new Error("mobx-react requires React to be available");if(!t.LO)throw new Error("mobx-react requires mobx to be available")},68949:(L,n,e)=>{"use strict";e.d(n,{so:()=>j,le:()=>lr,$$:()=>En,mJ:()=>Ye,wM:()=>nr,aD:()=>Yr,Fl:()=>ot,jQ:()=>Es,cp:()=>et,Gf:()=>Os,Ei:()=>si,LJ:()=>ai,Pb:()=>Ur,rC:()=>os,LO:()=>Pt,N7:()=>Cs,U5:()=>Go,ZN:()=>Hs,rg:()=>vn});var t={0:"Invalid value for configuration 'enforceActions', expected 'never', 'always' or 'observed'",1:function(Y,de){return"Cannot apply '"+Y+"' to '"+de.toString()+"': Field not found."},5:"'keys()' can only be used on observable objects, arrays, sets and maps",6:"'values()' can only be used on observable objects, arrays, sets and maps",7:"'entries()' can only be used on observable objects, arrays and maps",8:"'set()' can only be used on observable objects, arrays and maps",9:"'remove()' can only be used on observable objects, arrays and maps",10:"'has()' can only be used on observable objects, arrays and maps",11:"'get()' can only be used on observable objects, arrays and maps",12:"Invalid annotation",13:"Dynamic observable objects cannot be frozen",14:"Intercept handlers should return nothing or a change object",15:"Observable arrays cannot be frozen",16:"Modification exception: the internal structure of an observable array was changed.",17:function(Y,de){return"[mobx.array] Index out of bounds, "+Y+" is larger than "+de},18:"mobx.map requires Map polyfill for the current browser. Check babel-polyfill or core-js/es6/map.js",19:function(Y){return"Cannot initialize from classes that inherit from Map: "+Y.constructor.name},20:function(Y){return"Cannot initialize map from "+Y},21:function(Y){return"Cannot convert to map from '"+Y+"'"},22:"mobx.set requires Set polyfill for the current browser. Check babel-polyfill or core-js/es6/set.js",23:"It is not possible to get index atoms from arrays",24:function(Y){return"Cannot obtain administration from "+Y},25:function(Y,de){return"the entry '"+Y+"' does not exist in the observable map '"+de+"'"},26:"please specify a property",27:function(Y,de){return"no observable property '"+Y.toString()+"' found on the observable object '"+de+"'"},28:function(Y){return"Cannot obtain atom from "+Y},29:"Expecting some object",30:"invalid action stack. did you forget to finish an action?",31:"missing option for computed: get",32:function(Y,de){return"Cycle detected in computation "+Y+": "+de},33:function(Y){return"The setter of computed value '"+Y+"' is trying to update itself. Did you intend to update an _observable_ value, instead of the computed property?"},34:function(Y){return"[ComputedValue '"+Y+"'] It is not possible to assign a new value to a computed value."},35:"There are multiple, different versions of MobX active. Make sure MobX is loaded only once or use `configure({ isolateGlobalState: true })`",36:"isolateGlobalState should be called before MobX is running any reactions",37:function(Y){return"[mobx] `observableArray."+Y+"()` mutates the array in-place, which is not allowed inside a derivation. Use `array.slice()."+Y+"()` instead"},38:"'ownKeys()' can only be used on observable objects",39:"'defineProperty()' can only be used on observable objects"},l={};function s(N){for(var Y=arguments.length,de=new Array(Y>1?Y-1:0),le=1;le<Y;le++)de[le-1]=arguments[le];if(!1)var Ie;throw new Error(typeof N=="number"?"[MobX] minified error nr: "+N+(de.length?" "+de.map(String).join(","):"")+". Find the full error at: https://github.com/mobxjs/mobx/blob/main/packages/mobx/src/errors.ts":"[MobX] "+N)}var o={};function r(){return typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof e.g!="undefined"?e.g:typeof self!="undefined"?self:o}var c=Object.assign,u=Object.getOwnPropertyDescriptor,a=Object.defineProperty,d=Object.prototype,h=[];Object.freeze(h);var p={};Object.freeze(p);var E=typeof Proxy!="undefined",T=Object.toString();function S(){E||s("Proxy not available")}function v(N){}function b(){return++rt.mobxGuid}function m(N){var Y=!1;return function(){if(!Y)return Y=!0,N.apply(this,arguments)}}var y=function(){};function O(N){return typeof N=="function"}function C(N){var Y=typeof N;switch(Y){case"string":case"symbol":case"number":return!0}return!1}function A(N){return N!==null&&typeof N=="object"}function w(N){var Y;if(!A(N))return!1;var de=Object.getPrototypeOf(N);return de==null?!0:((Y=de.constructor)==null?void 0:Y.toString())===T}function x(N){var Y=N==null?void 0:N.constructor;return Y?Y.name==="GeneratorFunction"||Y.displayName==="GeneratorFunction":!1}function R(N,Y,de){a(N,Y,{enumerable:!1,writable:!0,configurable:!0,value:de})}function g(N,Y,de){a(N,Y,{enumerable:!1,writable:!1,configurable:!0,value:de})}function k(N,Y){var de="isMobX"+N;return Y.prototype[de]=!0,function(le){return A(le)&&le[de]===!0}}function G(N){return N instanceof Map}function Z(N){return N instanceof Set}var oe=typeof Object.getOwnPropertySymbols!="undefined";function ee(N){var Y=Object.keys(N);if(!oe)return Y;var de=Object.getOwnPropertySymbols(N);return de.length?[].concat(Y,de.filter(function(le){return d.propertyIsEnumerable.call(N,le)})):Y}var Ee=typeof Reflect!="undefined"&&Reflect.ownKeys?Reflect.ownKeys:oe?function(N){return Object.getOwnPropertyNames(N).concat(Object.getOwnPropertySymbols(N))}:Object.getOwnPropertyNames;function Fe(N){return typeof N=="string"?N:typeof N=="symbol"?N.toString():new String(N).toString()}function ce(N){return N===null?null:typeof N=="object"?""+N:N}function te(N,Y){return d.hasOwnProperty.call(N,Y)}var he=Object.getOwnPropertyDescriptors||function(Y){var de={};return Ee(Y).forEach(function(le){de[le]=u(Y,le)}),de};function Q(N,Y){for(var de=0;de<Y.length;de++){var le=Y[de];le.enumerable=le.enumerable||!1,le.configurable=!0,"value"in le&&(le.writable=!0),Object.defineProperty(N,le.key,le)}}function B(N,Y,de){return Y&&Q(N.prototype,Y),de&&Q(N,de),N}function J(){return J=Object.assign||function(N){for(var Y=1;Y<arguments.length;Y++){var de=arguments[Y];for(var le in de)Object.prototype.hasOwnProperty.call(de,le)&&(N[le]=de[le])}return N},J.apply(this,arguments)}function re(N,Y){N.prototype=Object.create(Y.prototype),N.prototype.constructor=N,N.__proto__=Y}function W(N){if(N===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return N}function V(N,Y){if(!!N){if(typeof N=="string")return ae(N,Y);var de=Object.prototype.toString.call(N).slice(8,-1);if(de==="Object"&&N.constructor&&(de=N.constructor.name),de==="Map"||de==="Set")return Array.from(N);if(de==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(de))return ae(N,Y)}}function ae(N,Y){(Y==null||Y>N.length)&&(Y=N.length);for(var de=0,le=new Array(Y);de<Y;de++)le[de]=N[de];return le}function pe(N,Y){var de;if(typeof Symbol=="undefined"||N[Symbol.iterator]==null){if(Array.isArray(N)||(de=V(N))||Y&&N&&typeof N.length=="number"){de&&(N=de);var le=0;return function(){return le>=N.length?{done:!0}:{done:!1,value:N[le++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
2713
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}return de=N[Symbol.iterator](),de.next.bind(de)}var Se=Symbol("mobx-stored-annotations");function De(N){function Y(de,le){nt(de,le,N)}return Object.assign(Y,N)}function nt(N,Y,de){if(te(N,Se)||R(N,Se,J({},N[Se])),!1)var le;Me(N,de,Y),ke(de)||(N[Se][Y]=de)}function Me(N,Y,de){if(!1)var le,Ie,D}function _e(N){return te(N,Se)||R(N,Se,J({},N[Se])),N[Se]}var j=Symbol("mobx administration"),ue=function(){function N(de){de===void 0&&(de="Atom"),this.name_=void 0,this.isPendingUnobservation_=!1,this.isBeingObserved_=!1,this.observers_=new Set,this.diffValue_=0,this.lastAccessedBy_=0,this.lowestObserverState_=Qn.NOT_TRACKING_,this.onBOL=void 0,this.onBUOL=void 0,this.name_=de}var Y=N.prototype;return Y.onBO=function(){this.onBOL&&this.onBOL.forEach(function(le){return le()})},Y.onBUO=function(){this.onBUOL&&this.onBUOL.forEach(function(le){return le()})},Y.reportObserved=function(){return cr(this)},Y.reportChanged=function(){Ft(),In(this),on()},Y.toString=function(){return this.name_},N}(),Ce=k("Atom",ue);function et(N,Y,de){Y===void 0&&(Y=y),de===void 0&&(de=y);var le=new ue(N);return Y!==y&&ys(le,Y),de!==y&&jo(le,de),le}function Pe(N,Y){return N===Y}function X(N,Y){return zi(N,Y)}function _(N,Y){return zi(N,Y,1)}function $(N,Y){return Object.is(N,Y)}var H={identity:Pe,structural:X,default:$,shallow:_};function I(N,Y,de){return mo(N)?N:Array.isArray(N)?Pt.array(N,{name:de}):w(N)?Pt.object(N,void 0,{name:de}):G(N)?Pt.map(N,{name:de}):Z(N)?Pt.set(N,{name:de}):typeof N=="function"&&!co(N)&&!Yi(N)?x(N)?Ar(N):Jr(de,N):N}function ve(N,Y,de){if(N==null||Ur(N)||si(N)||ai(N)||Zr(N))return N;if(Array.isArray(N))return Pt.array(N,{name:de,deep:!1});if(w(N))return Pt.object(N,void 0,{name:de,deep:!1});if(G(N))return Pt.map(N,{name:de,deep:!1});if(Z(N))return Pt.set(N,{name:de,deep:!1})}function $e(N){return N}function be(N,Y){return zi(N,Y)?Y:N}var Te="override",Le=De({annotationType_:Te,make_:at,extend_:xt});function ke(N){return N.annotationType_===Te}function at(N,Y){return 0}function xt(N,Y,de,le){s("'"+this.annotationType_+"' can only be used with 'makeObservable'")}function qe(N,Y){return{annotationType_:N,options_:Y,make_:q,extend_:ne}}function q(N,Y,de,le){var Ie;if((Ie=this.options_)==null?void 0:Ie.bound)return this.extend_(N,Y,de,!1)===null?0:1;if(le===N.target_)return this.extend_(N,Y,de,!1)===null?0:2;if(co(de.value))return 1;var D=K(N,this,Y,de,!1);return a(le,Y,D),2}function ne(N,Y,de,le){var Ie=K(N,this,Y,de);return N.defineProperty_(Y,Ie,le)}function ie(N,Y,de,le){var Ie=Y.annotationType_,D=le.value}function K(N,Y,de,le,Ie){var D,M,z,ge,Re;Ie===void 0&&(Ie=rt.safeDescriptors),ie(N,Y,de,le);var We=le.value;if((D=Y.options_)==null?void 0:D.bound){var ct;We=We.bind((ct=N.proxy_)!=null?ct:N.target_)}return{value:Fn((M=(z=Y.options_)==null?void 0:z.name)!=null?M:de.toString(),We,(ge=(Re=Y.options_)==null?void 0:Re.autoAction)!=null?ge:!1),configurable:Ie?N.isPlainObject_:!0,enumerable:!1,writable:!Ie}}function we(N,Y){return{annotationType_:N,options_:Y,make_:He,extend_:Je}}function He(N,Y,de,le){var Ie;if(le===N.target_)return this.extend_(N,Y,de,!1)===null?0:2;if(((Ie=this.options_)==null?void 0:Ie.bound)&&!Yi(N.target_[Y])&&this.extend_(N,Y,de,!1)===null)return 0;if(Yi(de.value))return 1;var D=At(N,this,Y,de,!1,!1);return a(le,Y,D),2}function Je(N,Y,de,le){var Ie,D=At(N,this,Y,de,(Ie=this.options_)==null?void 0:Ie.bound);return N.defineProperty_(Y,D,le)}function ft(N,Y,de,le){var Ie=Y.annotationType_,D=le.value}function At(N,Y,de,le,Ie,D){D===void 0&&(D=rt.safeDescriptors),ft(N,Y,de,le);var M=le.value;if(Ie){var z;M=M.bind((z=N.proxy_)!=null?z:N.target_)}return{value:Ar(M),configurable:D?N.isPlainObject_:!0,enumerable:!1,writable:!D}}function Lt(N,Y){return{annotationType_:N,options_:Y,make_:Yt,extend_:Vt}}function Yt(N,Y,de){return this.extend_(N,Y,de,!1)===null?0:1}function Vt(N,Y,de,le){return ze(N,this,Y,de),N.defineComputedProperty_(Y,J({},this.options_,{get:de.get,set:de.set}),le)}function ze(N,Y,de,le){var Ie=Y.annotationType_,D=le.get}function dt(N,Y){return{annotationType_:N,options_:Y,make_:bt,extend_:pt}}function bt(N,Y,de){return this.extend_(N,Y,de,!1)===null?0:1}function pt(N,Y,de,le){var Ie,D;return Ct(N,this,Y,de),N.defineObservableProperty_(Y,de.value,(Ie=(D=this.options_)==null?void 0:D.enhancer)!=null?Ie:I,le)}function Ct(N,Y,de,le){var Ie=Y.annotationType_}var $t="true",dn=un();function un(N){return{annotationType_:$t,options_:N,make_:Cn,extend_:Ke}}function Cn(N,Y,de,le){var Ie,D;if(de.get)return ot.make_(N,Y,de,le);if(de.set){var M=Fn(Y.toString(),de.set);return le===N.target_?N.defineProperty_(Y,{configurable:rt.safeDescriptors?N.isPlainObject_:!0,set:M})===null?0:2:(a(le,Y,{configurable:!0,set:M}),2)}if(le!==N.target_&&typeof de.value=="function"){var z;if(x(de.value)){var ge,Re=((ge=this.options_)==null?void 0:ge.autoBind)?Ar.bound:Ar;return Re.make_(N,Y,de,le)}var We=((z=this.options_)==null?void 0:z.autoBind)?Jr.bound:Jr;return We.make_(N,Y,de,le)}var ct=((Ie=this.options_)==null?void 0:Ie.deep)===!1?Pt.ref:Pt;if(typeof de.value=="function"&&((D=this.options_)==null?void 0:D.autoBind)){var vt;de.value=de.value.bind((vt=N.proxy_)!=null?vt:N.target_)}return ct.make_(N,Y,de,le)}function Ke(N,Y,de,le){var Ie,D;if(de.get)return ot.extend_(N,Y,de,le);if(de.set)return N.defineProperty_(Y,{configurable:rt.safeDescriptors?N.isPlainObject_:!0,set:Fn(Y.toString(),de.set)},le);if(typeof de.value=="function"&&((Ie=this.options_)==null?void 0:Ie.autoBind)){var M;de.value=de.value.bind((M=N.proxy_)!=null?M:N.target_)}var z=((D=this.options_)==null?void 0:D.deep)===!1?Pt.ref:Pt;return z.extend_(N,Y,de,le)}var Be={deep:!0,name:void 0,defaultDecorator:void 0,proxy:!0};Object.freeze(Be);function it(N){return N||Be}var Et=dt("observable"),Ot=dt("observable.ref",{enhancer:$e}),cn=dt("observable.shallow",{enhancer:ve}),Mn=dt("observable.struct",{enhancer:be}),Dn=De(Et);function Rn(N){return N.deep===!0?I:N.deep===!1?$e:Pn(N.defaultDecorator)}function Gn(N){var Y;return N?(Y=N.defaultDecorator)!=null?Y:un(N):void 0}function Pn(N){var Y,de;return N&&(Y=(de=N.options_)==null?void 0:de.enhancer)!=null?Y:I}function Ze(N,Y,de){if(C(Y)){nt(N,Y,Et);return}return mo(N)?N:w(N)?Pt.object(N,Y,de):Array.isArray(N)?Pt.array(N,Y):G(N)?Pt.map(N,Y):Z(N)?Pt.set(N,Y):typeof N=="object"&&N!==null?N:Pt.box(N,Y)}Object.assign(Ze,Dn);var ut={box:function(Y,de){var le=it(de);return new Hn(Y,Rn(le),le.name,!0,le.equals)},array:function(Y,de){var le=it(de);return(rt.useProxies===!1||le.proxy===!1?cs:Uo)(Y,Rn(le),le.name)},map:function(Y,de){var le=it(de);return new ls(Y,Rn(le),le.name)},set:function(Y,de){var le=it(de);return new us(Y,Rn(le),le.name)},object:function(Y,de,le){return hi(rt.useProxies===!1||(le==null?void 0:le.proxy)===!1?Xi({},le):is({},le),Y,de)},ref:De(Ot),shallow:De(cn),deep:Dn,struct:De(Mn)},Pt=c(Ze,ut),Mt="computed",zt="computed.struct",Zt=Lt(Mt),Qe=Lt(zt,{equals:H.structural}),ot=function(Y,de){if(C(de))return nt(Y,de,Zt);if(w(Y))return De(Lt(Mt,Y));var le=w(de)?de:{};return le.get=Y,le.name||(le.name=Y.name||""),new sr(le)};Object.assign(ot,Zt),ot.struct=De(Qe);var Xe,st,wt=0,tn=1,qt=(Xe=(st=u(function(){},"name"))==null?void 0:st.configurable)!=null?Xe:!1,bn={value:"action",configurable:!0,writable:!1,enumerable:!1};function Fn(N,Y,de,le){de===void 0&&(de=!1);function Ie(){return Ln(N,de,Y,le||this,arguments)}return Ie.isMobxAction=!0,qt&&(bn.value=N,Object.defineProperty(Ie,"name",bn)),Ie}function Ln(N,Y,de,le,Ie){var D=ir(N,Y,le,Ie);try{return de.apply(le,Ie)}catch(M){throw D.error_=M,M}finally{Nn(D)}}function ir(N,Y,de,le){var Ie=!1,D=0;if(!1)var M;var z=rt.trackingDerivation,ge=!Y||!z;Ft();var Re=rt.allowStateChanges;ge&&(er(),Re=Xn(!0));var We=nr(!0),ct={runAsAction_:ge,prevDerivation_:z,prevAllowStateChanges_:Re,prevAllowStateReads_:We,notifySpy_:Ie,startTime_:D,actionId_:tn++,parentActionId_:wt};return wt=ct.actionId_,ct}function Nn(N){wt!==N.actionId_&&s(30),wt=N.parentActionId_,N.error_!==void 0&&(rt.suppressReactionErrors=!0),kn(N.prevAllowStateChanges_),Ye(N.prevAllowStateReads_),on(),N.runAsAction_&&ar(N.prevDerivation_),rt.suppressReactionErrors=!1}function En(N,Y){var de=Xn(N);try{return Y()}finally{kn(de)}}function Xn(N){var Y=rt.allowStateChanges;return rt.allowStateChanges=N,Y}function kn(N){rt.allowStateChanges=N}var On,Yn="create";On=Symbol.toPrimitive;var Hn=function(N){re(Y,N);function Y(le,Ie,D,M,z){var ge;return D===void 0&&(D="ObservableValue"),M===void 0&&(M=!0),z===void 0&&(z=H.default),ge=N.call(this,D)||this,ge.enhancer=void 0,ge.name_=void 0,ge.equals=void 0,ge.hasUnreportedChange_=!1,ge.interceptors_=void 0,ge.changeListeners_=void 0,ge.value_=void 0,ge.dehancer=void 0,ge.enhancer=Ie,ge.name_=D,ge.equals=z,ge.value_=Ie(le,void 0,D),ge}var de=Y.prototype;return de.dehanceValue=function(Ie){return this.dehancer!==void 0?this.dehancer(Ie):Ie},de.set=function(Ie){var D=this.value_;if(Ie=this.prepareNewValue_(Ie),Ie!==rt.UNCHANGED){var M=Fr();this.setNewValue_(Ie)}},de.prepareNewValue_=function(Ie){if(Sr(this),di(this)){var D=mi(this,{object:this,type:vi,newValue:Ie});if(!D)return rt.UNCHANGED;Ie=D.newValue}return Ie=this.enhancer(Ie,this.value_,this.name_),this.equals(this.value_,Ie)?rt.UNCHANGED:Ie},de.setNewValue_=function(Ie){var D=this.value_;this.value_=Ie,this.reportChanged(),gi(this)&&wi(this,{type:vi,object:this,newValue:Ie,oldValue:D})},de.get=function(){return this.reportObserved(),this.dehanceValue(this.value_)},de.intercept_=function(Ie){return vo(this,Ie)},de.observe_=function(Ie,D){return D&&Ie({observableKind:"value",debugObjectName:this.name_,object:this,type:vi,newValue:this.value_,oldValue:void 0}),no(this,Ie)},de.raw=function(){return this.value_},de.toJSON=function(){return this.get()},de.toString=function(){return this.name_+"["+this.value_+"]"},de.valueOf=function(){return ce(this.get())},de[On]=function(){return this.valueOf()},Y}(ue),xn=k("ObservableValue",Hn),hr;hr=Symbol.toPrimitive;var sr=function(){function N(de){this.dependenciesState_=Qn.NOT_TRACKING_,this.observing_=[],this.newObserving_=null,this.isBeingObserved_=!1,this.isPendingUnobservation_=!1,this.observers_=new Set,this.diffValue_=0,this.runId_=0,this.lastAccessedBy_=0,this.lowestObserverState_=Qn.UP_TO_DATE_,this.unboundDepsCount_=0,this.value_=new Dr(null),this.name_=void 0,this.triggeredBy_=void 0,this.isComputing_=!1,this.isRunningSetter_=!1,this.derivation=void 0,this.setter_=void 0,this.isTracing_=vr.NONE,this.scope_=void 0,this.equals_=void 0,this.requiresReaction_=void 0,this.keepAlive_=void 0,this.onBOL=void 0,this.onBUOL=void 0,de.get||s(31),this.derivation=de.get,this.name_=de.name||"ComputedValue",de.set&&(this.setter_=Fn("ComputedValue-setter",de.set)),this.equals_=de.equals||(de.compareStructural||de.struct?H.structural:H.default),this.scope_=de.context,this.requiresReaction_=!!de.requiresReaction,this.keepAlive_=!!de.keepAlive}var Y=N.prototype;return Y.onBecomeStale_=function(){Rr(this)},Y.onBO=function(){this.onBOL&&this.onBOL.forEach(function(le){return le()})},Y.onBUO=function(){this.onBUOL&&this.onBUOL.forEach(function(le){return le()})},Y.get=function(){if(this.isComputing_&&s(32,this.name_,this.derivation),rt.inBatch===0&&this.observers_.size===0&&!this.keepAlive_)Er(this)&&(this.warnAboutUntrackedRead_(),Ft(),this.value_=this.computeValue_(!1),on());else if(cr(this),Er(this)){var le=rt.trackingContext;this.keepAlive_&&!le&&(rt.trackingContext=this),this.trackAndCompute()&&Cr(this),rt.trackingContext=le}var Ie=this.value_;if(jr(Ie))throw Ie.cause;return Ie},Y.set=function(le){if(this.setter_){this.isRunningSetter_&&s(33,this.name_),this.isRunningSetter_=!0;try{this.setter_.call(this.scope_,le)}finally{this.isRunningSetter_=!1}}else s(34,this.name_)},Y.trackAndCompute=function(){var le=this.value_,Ie=this.dependenciesState_===Qn.NOT_TRACKING_,D=this.computeValue_(!0),M=Ie||jr(le)||jr(D)||!this.equals_(le,D);return M&&(this.value_=D),M},Y.computeValue_=function(le){this.isComputing_=!0;var Ie=Xn(!1),D;if(le)D=qn(this,this.derivation,this.scope_);else if(rt.disableErrorBoundaries===!0)D=this.derivation.call(this.scope_);else try{D=this.derivation.call(this.scope_)}catch(M){D=new Dr(M)}return kn(Ie),this.isComputing_=!1,D},Y.suspend_=function(){this.keepAlive_||(fn(this),this.value_=void 0)},Y.observe_=function(le,Ie){var D=this,M=!0,z=void 0;return fo(function(){var ge=D.get();if(!M||Ie){var Re=er();le({observableKind:"computed",debugObjectName:D.name_,type:vi,object:D,newValue:ge,oldValue:z}),ar(Re)}M=!1,z=ge})},Y.warnAboutUntrackedRead_=function(){},Y.toString=function(){return this.name_+"["+this.derivation.toString()+"]"},Y.valueOf=function(){return ce(this.get())},Y[hr]=function(){return this.valueOf()},N}(),ur=k("ComputedValue",sr),Qn;(function(N){N[N.NOT_TRACKING_=-1]="NOT_TRACKING_",N[N.UP_TO_DATE_=0]="UP_TO_DATE_",N[N.POSSIBLY_STALE_=1]="POSSIBLY_STALE_",N[N.STALE_=2]="STALE_"})(Qn||(Qn={}));var vr;(function(N){N[N.NONE=0]="NONE",N[N.LOG=1]="LOG",N[N.BREAK=2]="BREAK"})(vr||(vr={}));var Dr=function(Y){this.cause=void 0,this.cause=Y};function jr(N){return N instanceof Dr}function Er(N){switch(N.dependenciesState_){case Qn.UP_TO_DATE_:return!1;case Qn.NOT_TRACKING_:case Qn.STALE_:return!0;case Qn.POSSIBLY_STALE_:{for(var Y=nr(!0),de=er(),le=N.observing_,Ie=le.length,D=0;D<Ie;D++){var M=le[D];if(ur(M)){if(rt.disableErrorBoundaries)M.get();else try{M.get()}catch(z){return ar(de),Ye(Y),!0}if(N.dependenciesState_===Qn.STALE_)return ar(de),Ye(Y),!0}}return ye(N),ar(de),Ye(Y),!1}}}function Vr(){return rt.trackingDerivation!==null}function Sr(N){return;var Y}function Tr(N){}function qn(N,Y,de){var le=nr(!0);ye(N),N.newObserving_=new Array(N.observing_.length+100),N.unboundDepsCount_=0,N.runId_=++rt.runId;var Ie=rt.trackingDerivation;rt.trackingDerivation=N,rt.inBatch++;var D;if(rt.disableErrorBoundaries===!0)D=Y.call(de);else try{D=Y.call(de)}catch(M){D=new Dr(M)}return rt.inBatch--,rt.trackingDerivation=Ie,It(N),sn(N),Ye(le),D}function sn(N){}function It(N){for(var Y=N.observing_,de=N.observing_=N.newObserving_,le=Qn.UP_TO_DATE_,Ie=0,D=N.unboundDepsCount_,M=0;M<D;M++){var z=de[M];z.diffValue_===0&&(z.diffValue_=1,Ie!==M&&(de[Ie]=z),Ie++),z.dependenciesState_>le&&(le=z.dependenciesState_)}for(de.length=Ie,N.newObserving_=null,D=Y.length;D--;){var ge=Y[D];ge.diffValue_===0&&Ue(ge,N),ge.diffValue_=0}for(;Ie--;){var Re=de[Ie];Re.diffValue_===1&&(Re.diffValue_=0,_n(Re,N))}le!==Qn.UP_TO_DATE_&&(N.dependenciesState_=le,N.onBecomeStale_())}function fn(N){var Y=N.observing_;N.observing_=[];for(var de=Y.length;de--;)Ue(Y[de],N);N.dependenciesState_=Qn.NOT_TRACKING_}function vn(N){var Y=er();try{return N()}finally{ar(Y)}}function er(){var N=rt.trackingDerivation;return rt.trackingDerivation=null,N}function ar(N){rt.trackingDerivation=N}function nr(N){var Y=rt.allowStateReads;return rt.allowStateReads=N,Y}function Ye(N){rt.allowStateReads=N}function ye(N){if(N.dependenciesState_!==Qn.UP_TO_DATE_){N.dependenciesState_=Qn.UP_TO_DATE_;for(var Y=N.observing_,de=Y.length;de--;)Y[de].lowestObserverState_=Qn.UP_TO_DATE_}}var Ae=null,gt=function(){this.version=6,this.UNCHANGED={},this.trackingDerivation=null,this.trackingContext=null,this.runId=0,this.mobxGuid=0,this.inBatch=0,this.pendingUnobservations=[],this.pendingReactions=[],this.isRunningReactions=!1,this.allowStateChanges=!1,this.allowStateReads=!0,this.enforceActions=!0,this.spyListeners=[],this.globalReactionErrorHandlers=[],this.computedRequiresReaction=!1,this.reactionRequiresObservable=!1,this.observableRequiresReaction=!1,this.disableErrorBoundaries=!1,this.suppressReactionErrors=!1,this.useProxies=!0,this.verifyProxies=!1,this.safeDescriptors=!0},Ve=!0,Gt=!1,rt=function(){var N=r();return N.__mobxInstanceCount>0&&!N.__mobxGlobals&&(Ve=!1),N.__mobxGlobals&&N.__mobxGlobals.version!==new gt().version&&(Ve=!1),Ve?N.__mobxGlobals?(N.__mobxInstanceCount+=1,N.__mobxGlobals.UNCHANGED||(N.__mobxGlobals.UNCHANGED={}),N.__mobxGlobals):(N.__mobxInstanceCount=1,N.__mobxGlobals=new gt):(setTimeout(function(){Gt||s(35)},1),new gt)}();function an(){if((rt.pendingReactions.length||rt.inBatch||rt.isRunningReactions)&&s(36),Gt=!0,Ve){var N=r();--N.__mobxInstanceCount==0&&(N.__mobxGlobals=void 0),rt=new gt}}function pn(){return rt}function jn(){var N=new gt;for(var Y in N)Ae.indexOf(Y)===-1&&(rt[Y]=N[Y]);rt.allowStateChanges=!rt.enforceActions}function Kt(N){return N.observers_&&N.observers_.size>0}function An(N){return N.observers_}function _n(N,Y){N.observers_.add(Y),N.lowestObserverState_>Y.dependenciesState_&&(N.lowestObserverState_=Y.dependenciesState_)}function Ue(N,Y){N.observers_.delete(Y),N.observers_.size===0&<(N)}function lt(N){N.isPendingUnobservation_===!1&&(N.isPendingUnobservation_=!0,rt.pendingUnobservations.push(N))}function Ft(){rt.inBatch++}function on(){if(--rt.inBatch==0){qr();for(var N=rt.pendingUnobservations,Y=0;Y<N.length;Y++){var de=N[Y];de.isPendingUnobservation_=!1,de.observers_.size===0&&(de.isBeingObserved_&&(de.isBeingObserved_=!1,de.onBUO()),de instanceof sr&&de.suspend_())}rt.pendingUnobservations=[]}}function cr(N){Tr(N);var Y=rt.trackingDerivation;return Y!==null?(Y.runId_!==N.lastAccessedBy_&&(N.lastAccessedBy_=Y.runId_,Y.newObserving_[Y.unboundDepsCount_++]=N,!N.isBeingObserved_&&rt.trackingContext&&(N.isBeingObserved_=!0,N.onBO())),!0):(N.observers_.size===0&&rt.inBatch>0&<(N),!1)}function In(N){N.lowestObserverState_!==Qn.STALE_&&(N.lowestObserverState_=Qn.STALE_,N.observers_.forEach(function(Y){Y.dependenciesState_===Qn.UP_TO_DATE_&&Y.onBecomeStale_(),Y.dependenciesState_=Qn.STALE_}))}function Cr(N){N.lowestObserverState_!==Qn.STALE_&&(N.lowestObserverState_=Qn.STALE_,N.observers_.forEach(function(Y){Y.dependenciesState_===Qn.POSSIBLY_STALE_?Y.dependenciesState_=Qn.STALE_:Y.dependenciesState_===Qn.UP_TO_DATE_&&(N.lowestObserverState_=Qn.UP_TO_DATE_)}))}function Rr(N){N.lowestObserverState_===Qn.UP_TO_DATE_&&(N.lowestObserverState_=Qn.POSSIBLY_STALE_,N.observers_.forEach(function(Y){Y.dependenciesState_===Qn.UP_TO_DATE_&&(Y.dependenciesState_=Qn.POSSIBLY_STALE_,Y.onBecomeStale_())}))}function $r(N,Y){if(console.log("[mobx.trace] '"+N.name_+"' is invalidated due to a change in: '"+Y.name_+"'"),N.isTracing_===vr.BREAK){var de=[];$n(Os(N),de,1),new Function(`debugger;
|
|
2712
|
+
overriden reactive render was not properly disposed.`)}}),Ze}function xt(Ze){return Ze.displayName||Ze.name||Ze.constructor&&(Ze.constructor.displayName||Ze.constructor.name)||"<component>"}function qe(Ze){var ut=this;if(G()===!0)return Ze.call(this);et(this,Le,!1),et(this,ke,!1);var Pt=xt(this),Mt=Ze.bind(this),zt=!1,Zt=new t.le(Pt+".render()",function(){if(!zt&&(zt=!0,ut[Te]!==!0)){var ot=!0;try{et(ut,ke,!0),ut[Le]||l.Component.prototype.forceUpdate.call(ut),ot=!1}finally{et(ut,ke,!1),ot&&Zt.dispose()}}});Zt.reactComponent=this,Qe[$e]=Zt,this.render=Qe;function Qe(){zt=!1;var ot=void 0,Xe=void 0;if(Zt.track(function(){try{Xe=(0,t.$$)(!1,Mt)}catch(st){ot=st}}),ot)throw ot;return Xe}return Qe.call(this)}function q(Ze,ut){return G()&&console.warn("[mobx-react] It seems that a re-rendering of a React component is triggered while in static (server-side) mode. Please make sure components are rendered only once server-side."),this.state!==ut?!0:!_e(this.props,Ze)}function ne(Ze,ut){var Pt=Me("reactProp_"+ut+"_valueHolder"),Mt=Me("reactProp_"+ut+"_atomHolder");function zt(){return this[Mt]||et(this,Mt,(0,t.cp)("reactive "+ut)),this[Mt]}Object.defineProperty(Ze,ut,{configurable:!0,enumerable:!0,get:function(){var Qe=!1;return t.wM&&t.mJ&&(Qe=(0,t.wM)(!0)),zt.call(this).reportObserved(),t.wM&&t.mJ&&(0,t.mJ)(Qe),this[Pt]},set:function(Qe){!this[ke]&&!_e(this[Pt],Qe)?(et(this,Pt,Qe),et(this,Le,!0),zt.call(this).reportChanged(),et(this,Le,!1)):et(this,Pt,Qe)}})}var ie=typeof Symbol=="function"&&Symbol.for,K=ie?Symbol.for("react.forward_ref"):typeof l.forwardRef=="function"&&(0,l.forwardRef)(function(Ze){return null}).$$typeof,we=ie?Symbol.for("react.memo"):typeof l.memo=="function"&&(0,l.memo)(function(Ze){return null}).$$typeof;function He(Ze){if(Ze.isMobxInjector===!0&&console.warn("Mobx observer: You are trying to use 'observer' on a component that already has 'inject'. Please apply 'observer' before applying 'inject'"),we&&Ze.$$typeof===we)throw new Error("Mobx observer: You are trying to use 'observer' on a function component wrapped in either another observer or 'React.memo'. The observer already applies 'React.memo' for you.");if(K&&Ze.$$typeof===K){var ut=Ze.render;if(typeof ut!="function")throw new Error("render property of ForwardRef was not a function");return(0,l.forwardRef)(function(){var Mt=arguments;return(0,l.createElement)(Q,null,function(){return ut.apply(void 0,Mt)})})}return typeof Ze=="function"&&(!Ze.prototype||!Ze.prototype.render)&&!Ze.isReactClass&&!Object.prototype.isPrototypeOf.call(l.Component,Ze)?ce(Ze):at(Ze)}function Je(){return Je=Object.assign||function(Ze){for(var ut=1;ut<arguments.length;ut++){var Pt=arguments[ut];for(var Mt in Pt)Object.prototype.hasOwnProperty.call(Pt,Mt)&&(Ze[Mt]=Pt[Mt])}return Ze},Je.apply(this,arguments)}function ft(Ze,ut){if(Ze==null)return{};var Pt={},Mt=Object.keys(Ze),zt,Zt;for(Zt=0;Zt<Mt.length;Zt++)zt=Mt[Zt],!(ut.indexOf(zt)>=0)&&(Pt[zt]=Ze[zt]);return Pt}var At=l.createContext({});function Lt(Ze){var ut=Ze.children,Pt=ft(Ze,["children"]),Mt=l.useContext(At),zt=l.useRef(Je({},Mt,Pt)),Zt=zt.current;if(!1)var Qe;return l.createElement(At.Provider,{value:Zt},ut)}Lt.displayName="MobXProvider";function Yt(Ze,ut,Pt,Mt){var zt=React__default.forwardRef(function(Zt,Qe){var ot=Je({},Zt),Xe=React__default.useContext(At);return Object.assign(ot,Ze(Xe||{},ot)||{}),Qe&&(ot.ref=Qe),React__default.createElement(ut,ot)});return Mt&&(zt=He(zt)),zt.isMobxInjector=!0,Ce(ut,zt),zt.wrappedComponent=ut,zt.displayName=Vt(ut,Pt),zt}function Vt(Ze,ut){var Pt,Mt=Ze.displayName||Ze.name||Ze.constructor&&Ze.constructor.name||"Component";return ut?Pt="inject-with-"+ut+"("+Mt+")":Pt="inject("+Mt+")",Pt}function ze(Ze){return function(ut,Pt){return Ze.forEach(function(Mt){if(!(Mt in Pt)){if(!(Mt in ut))throw new Error("MobX injector: Store '"+Mt+"' is not available! Make sure it is provided by some Provider");Pt[Mt]=ut[Mt]}}),Pt}}function dt(){for(var Ze=arguments.length,ut=new Array(Ze),Pt=0;Pt<Ze;Pt++)ut[Pt]=arguments[Pt];if(typeof arguments[0]=="function"){var Mt=arguments[0];return function(zt){return Yt(Mt,zt,Mt.name,!0)}}else return function(zt){return Yt(ze(ut),zt,ut.join("-"),!1)}}var bt=null,pt=null;function Ct(){var Ze=this;[].concat(this[bt]||[],this[pt]||[]).forEach(function(ut){var Pt=typeof ut=="string"?Ze[ut]:ut;Pt!=null&&(Array.isArray(Pt)?Pt.map(function(Mt){return Mt()}):Pt())})}function $t(Ze,ut){if(Array.isArray(ut))return ut.map(function(Xe){return $t(Ze,Xe)});var Pt=Object.getPrototypeOf(Ze).constructor,Mt=Object.getPrototypeOf(Ze.constructor),zt=Object.getPrototypeOf(Object.getPrototypeOf(Ze));if(!(Pt===React__default.Component||Pt===React__default.PureComponent||Mt===React__default.Component||Mt===React__default.PureComponent||zt===React__default.Component||zt===React__default.PureComponent))throw new Error("[mobx-react] disposeOnUnmount only supports direct subclasses of React.Component or React.PureComponent.");if(typeof ut!="string"&&typeof ut!="function"&&!Array.isArray(ut))throw new Error("[mobx-react] disposeOnUnmount only works if the parameter is either a property key or a function.");var Zt=typeof ut=="string",Qe=!!Ze[bt]||!!Ze[pt],ot=Zt?Ze[bt]||(Ze[bt]=[]):Ze[pt]||(Ze[pt]=[]);if(ot.push(ut),Qe||I(Ze,"componentWillUnmount",Ct),typeof ut!="string")return ut}function fn(Ze){function ut(Mt,zt,Zt,Qe,ot,Xe){for(var st=arguments.length,wt=new Array(st>6?st-6:0),tn=6;tn<st;tn++)wt[tn-6]=arguments[tn];return(0,t.rg)(function(){if(Qe=Qe||"<<anonymous>>",Xe=Xe||Zt,zt[Zt]==null){if(Mt){var qt=zt[Zt]===null?"null":"undefined";return new Error("The "+ot+" `"+Xe+"` is marked as required in `"+Qe+"`, but its value is `"+qt+"`.")}return null}else return Ze.apply(void 0,[zt,Zt,Qe,ot,Xe].concat(wt))})}var Pt=ut.bind(null,!1);return Pt.isRequired=ut.bind(null,!0),Pt}function cn(Ze,ut){return Ze==="symbol"||ut["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&ut instanceof Symbol}function Rn(Ze){var ut=typeof Ze;return Array.isArray(Ze)?"array":Ze instanceof RegExp?"object":cn(ut,Ze)?"symbol":ut}function Ke(Ze){var ut=Rn(Ze);if(ut==="object"){if(Ze instanceof Date)return"date";if(Ze instanceof RegExp)return"regexp"}return ut}function Ue(Ze,ut){return fn(function(Pt,Mt,zt,Zt,Qe){return(0,t.rg)(function(){if(Ze&&Rn(Pt[Mt])===ut.toLowerCase())return null;var ot;switch(ut){case"Array":ot=t.Ei;break;case"Object":ot=t.Pb;break;case"Map":ot=t.LJ;break;default:throw new Error("Unexpected mobxType: "+ut)}var Xe=Pt[Mt];if(!ot(Xe)){var st=Ke(Xe),wt=Ze?" or javascript `"+ut.toLowerCase()+"`":"";return new Error("Invalid prop `"+Qe+"` of type `"+st+"` supplied to `"+zt+"`, expected `mobx.Observable"+ut+"`"+wt+".")}return null})})}function it(Ze,ut){return fn(function(Pt,Mt,zt,Zt,Qe){for(var ot=arguments.length,Xe=new Array(ot>5?ot-5:0),st=5;st<ot;st++)Xe[st-5]=arguments[st];return(0,t.rg)(function(){if(typeof ut!="function")return new Error("Property `"+Qe+"` of component `"+zt+"` has invalid PropType notation.");var wt=Ue(Ze,"Array")(Pt,Mt,zt,Zt,Qe);if(wt instanceof Error)return wt;for(var tn=Pt[Mt],qt=0;qt<tn.length;qt++)if(wt=ut.apply(void 0,[tn,qt,zt,Zt,Qe+"["+qt+"]"].concat(Xe)),wt instanceof Error)return wt;return null})})}var Et=Ue(!1,"Array"),Ot=it.bind(null,!1),dn=Ue(!1,"Map"),Ln=Ue(!1,"Object"),$n=Ue(!0,"Array"),An=it.bind(null,!0),Gn=Ue(!0,"Object"),Pn={observableArray:Et,observableArrayOf:Ot,observableMap:dn,observableObject:Ln,arrayOrObservableArray:$n,arrayOrObservableArrayOf:An,objectOrObservableObject:Gn};if(!l.Component)throw new Error("mobx-react requires React to be available");if(!t.LO)throw new Error("mobx-react requires mobx to be available")},68949:(L,n,e)=>{"use strict";e.d(n,{so:()=>j,le:()=>lr,$$:()=>En,mJ:()=>Ye,wM:()=>nr,aD:()=>Yr,Fl:()=>ot,jQ:()=>Es,cp:()=>et,Gf:()=>Os,Ei:()=>si,LJ:()=>ai,Pb:()=>Ur,rC:()=>os,LO:()=>Pt,N7:()=>Cs,U5:()=>Go,ZN:()=>Hs,rg:()=>vn});var t={0:"Invalid value for configuration 'enforceActions', expected 'never', 'always' or 'observed'",1:function(Y,de){return"Cannot apply '"+Y+"' to '"+de.toString()+"': Field not found."},5:"'keys()' can only be used on observable objects, arrays, sets and maps",6:"'values()' can only be used on observable objects, arrays, sets and maps",7:"'entries()' can only be used on observable objects, arrays and maps",8:"'set()' can only be used on observable objects, arrays and maps",9:"'remove()' can only be used on observable objects, arrays and maps",10:"'has()' can only be used on observable objects, arrays and maps",11:"'get()' can only be used on observable objects, arrays and maps",12:"Invalid annotation",13:"Dynamic observable objects cannot be frozen",14:"Intercept handlers should return nothing or a change object",15:"Observable arrays cannot be frozen",16:"Modification exception: the internal structure of an observable array was changed.",17:function(Y,de){return"[mobx.array] Index out of bounds, "+Y+" is larger than "+de},18:"mobx.map requires Map polyfill for the current browser. Check babel-polyfill or core-js/es6/map.js",19:function(Y){return"Cannot initialize from classes that inherit from Map: "+Y.constructor.name},20:function(Y){return"Cannot initialize map from "+Y},21:function(Y){return"Cannot convert to map from '"+Y+"'"},22:"mobx.set requires Set polyfill for the current browser. Check babel-polyfill or core-js/es6/set.js",23:"It is not possible to get index atoms from arrays",24:function(Y){return"Cannot obtain administration from "+Y},25:function(Y,de){return"the entry '"+Y+"' does not exist in the observable map '"+de+"'"},26:"please specify a property",27:function(Y,de){return"no observable property '"+Y.toString()+"' found on the observable object '"+de+"'"},28:function(Y){return"Cannot obtain atom from "+Y},29:"Expecting some object",30:"invalid action stack. did you forget to finish an action?",31:"missing option for computed: get",32:function(Y,de){return"Cycle detected in computation "+Y+": "+de},33:function(Y){return"The setter of computed value '"+Y+"' is trying to update itself. Did you intend to update an _observable_ value, instead of the computed property?"},34:function(Y){return"[ComputedValue '"+Y+"'] It is not possible to assign a new value to a computed value."},35:"There are multiple, different versions of MobX active. Make sure MobX is loaded only once or use `configure({ isolateGlobalState: true })`",36:"isolateGlobalState should be called before MobX is running any reactions",37:function(Y){return"[mobx] `observableArray."+Y+"()` mutates the array in-place, which is not allowed inside a derivation. Use `array.slice()."+Y+"()` instead"},38:"'ownKeys()' can only be used on observable objects",39:"'defineProperty()' can only be used on observable objects"},l={};function s(N){for(var Y=arguments.length,de=new Array(Y>1?Y-1:0),le=1;le<Y;le++)de[le-1]=arguments[le];if(!1)var Ie;throw new Error(typeof N=="number"?"[MobX] minified error nr: "+N+(de.length?" "+de.map(String).join(","):"")+". Find the full error at: https://github.com/mobxjs/mobx/blob/main/packages/mobx/src/errors.ts":"[MobX] "+N)}var o={};function r(){return typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof e.g!="undefined"?e.g:typeof self!="undefined"?self:o}var c=Object.assign,u=Object.getOwnPropertyDescriptor,a=Object.defineProperty,d=Object.prototype,h=[];Object.freeze(h);var p={};Object.freeze(p);var E=typeof Proxy!="undefined",T=Object.toString();function S(){E||s("Proxy not available")}function v(N){}function b(){return++rt.mobxGuid}function m(N){var Y=!1;return function(){if(!Y)return Y=!0,N.apply(this,arguments)}}var y=function(){};function O(N){return typeof N=="function"}function C(N){var Y=typeof N;switch(Y){case"string":case"symbol":case"number":return!0}return!1}function A(N){return N!==null&&typeof N=="object"}function w(N){var Y;if(!A(N))return!1;var de=Object.getPrototypeOf(N);return de==null?!0:((Y=de.constructor)==null?void 0:Y.toString())===T}function x(N){var Y=N==null?void 0:N.constructor;return Y?Y.name==="GeneratorFunction"||Y.displayName==="GeneratorFunction":!1}function R(N,Y,de){a(N,Y,{enumerable:!1,writable:!0,configurable:!0,value:de})}function g(N,Y,de){a(N,Y,{enumerable:!1,writable:!1,configurable:!0,value:de})}function k(N,Y){var de="isMobX"+N;return Y.prototype[de]=!0,function(le){return A(le)&&le[de]===!0}}function G(N){return N instanceof Map}function Z(N){return N instanceof Set}var oe=typeof Object.getOwnPropertySymbols!="undefined";function ee(N){var Y=Object.keys(N);if(!oe)return Y;var de=Object.getOwnPropertySymbols(N);return de.length?[].concat(Y,de.filter(function(le){return d.propertyIsEnumerable.call(N,le)})):Y}var Ee=typeof Reflect!="undefined"&&Reflect.ownKeys?Reflect.ownKeys:oe?function(N){return Object.getOwnPropertyNames(N).concat(Object.getOwnPropertySymbols(N))}:Object.getOwnPropertyNames;function Fe(N){return typeof N=="string"?N:typeof N=="symbol"?N.toString():new String(N).toString()}function ce(N){return N===null?null:typeof N=="object"?""+N:N}function te(N,Y){return d.hasOwnProperty.call(N,Y)}var he=Object.getOwnPropertyDescriptors||function(Y){var de={};return Ee(Y).forEach(function(le){de[le]=u(Y,le)}),de};function Q(N,Y){for(var de=0;de<Y.length;de++){var le=Y[de];le.enumerable=le.enumerable||!1,le.configurable=!0,"value"in le&&(le.writable=!0),Object.defineProperty(N,le.key,le)}}function B(N,Y,de){return Y&&Q(N.prototype,Y),de&&Q(N,de),N}function J(){return J=Object.assign||function(N){for(var Y=1;Y<arguments.length;Y++){var de=arguments[Y];for(var le in de)Object.prototype.hasOwnProperty.call(de,le)&&(N[le]=de[le])}return N},J.apply(this,arguments)}function re(N,Y){N.prototype=Object.create(Y.prototype),N.prototype.constructor=N,N.__proto__=Y}function W(N){if(N===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return N}function V(N,Y){if(!!N){if(typeof N=="string")return ae(N,Y);var de=Object.prototype.toString.call(N).slice(8,-1);if(de==="Object"&&N.constructor&&(de=N.constructor.name),de==="Map"||de==="Set")return Array.from(N);if(de==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(de))return ae(N,Y)}}function ae(N,Y){(Y==null||Y>N.length)&&(Y=N.length);for(var de=0,le=new Array(Y);de<Y;de++)le[de]=N[de];return le}function pe(N,Y){var de;if(typeof Symbol=="undefined"||N[Symbol.iterator]==null){if(Array.isArray(N)||(de=V(N))||Y&&N&&typeof N.length=="number"){de&&(N=de);var le=0;return function(){return le>=N.length?{done:!0}:{done:!1,value:N[le++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
2713
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}return de=N[Symbol.iterator](),de.next.bind(de)}var Se=Symbol("mobx-stored-annotations");function De(N){function Y(de,le){nt(de,le,N)}return Object.assign(Y,N)}function nt(N,Y,de){if(te(N,Se)||R(N,Se,J({},N[Se])),!1)var le;Me(N,de,Y),ke(de)||(N[Se][Y]=de)}function Me(N,Y,de){if(!1)var le,Ie,D}function _e(N){return te(N,Se)||R(N,Se,J({},N[Se])),N[Se]}var j=Symbol("mobx administration"),ue=function(){function N(de){de===void 0&&(de="Atom"),this.name_=void 0,this.isPendingUnobservation_=!1,this.isBeingObserved_=!1,this.observers_=new Set,this.diffValue_=0,this.lastAccessedBy_=0,this.lowestObserverState_=Qn.NOT_TRACKING_,this.onBOL=void 0,this.onBUOL=void 0,this.name_=de}var Y=N.prototype;return Y.onBO=function(){this.onBOL&&this.onBOL.forEach(function(le){return le()})},Y.onBUO=function(){this.onBUOL&&this.onBUOL.forEach(function(le){return le()})},Y.reportObserved=function(){return cr(this)},Y.reportChanged=function(){jt(),Dn(this),on()},Y.toString=function(){return this.name_},N}(),Ce=k("Atom",ue);function et(N,Y,de){Y===void 0&&(Y=y),de===void 0&&(de=y);var le=new ue(N);return Y!==y&&ys(le,Y),de!==y&&jo(le,de),le}function Pe(N,Y){return N===Y}function X(N,Y){return zi(N,Y)}function _(N,Y){return zi(N,Y,1)}function $(N,Y){return Object.is(N,Y)}var H={identity:Pe,structural:X,default:$,shallow:_};function I(N,Y,de){return mo(N)?N:Array.isArray(N)?Pt.array(N,{name:de}):w(N)?Pt.object(N,void 0,{name:de}):G(N)?Pt.map(N,{name:de}):Z(N)?Pt.set(N,{name:de}):typeof N=="function"&&!co(N)&&!Yi(N)?x(N)?Ar(N):Jr(de,N):N}function ve(N,Y,de){if(N==null||Ur(N)||si(N)||ai(N)||Zr(N))return N;if(Array.isArray(N))return Pt.array(N,{name:de,deep:!1});if(w(N))return Pt.object(N,void 0,{name:de,deep:!1});if(G(N))return Pt.map(N,{name:de,deep:!1});if(Z(N))return Pt.set(N,{name:de,deep:!1})}function $e(N){return N}function be(N,Y){return zi(N,Y)?Y:N}var Te="override",Le=De({annotationType_:Te,make_:at,extend_:xt});function ke(N){return N.annotationType_===Te}function at(N,Y){return 0}function xt(N,Y,de,le){s("'"+this.annotationType_+"' can only be used with 'makeObservable'")}function qe(N,Y){return{annotationType_:N,options_:Y,make_:q,extend_:ne}}function q(N,Y,de,le){var Ie;if((Ie=this.options_)==null?void 0:Ie.bound)return this.extend_(N,Y,de,!1)===null?0:1;if(le===N.target_)return this.extend_(N,Y,de,!1)===null?0:2;if(co(de.value))return 1;var D=K(N,this,Y,de,!1);return a(le,Y,D),2}function ne(N,Y,de,le){var Ie=K(N,this,Y,de);return N.defineProperty_(Y,Ie,le)}function ie(N,Y,de,le){var Ie=Y.annotationType_,D=le.value}function K(N,Y,de,le,Ie){var D,M,z,ge,Ae;Ie===void 0&&(Ie=rt.safeDescriptors),ie(N,Y,de,le);var Ve=le.value;if((D=Y.options_)==null?void 0:D.bound){var ct;Ve=Ve.bind((ct=N.proxy_)!=null?ct:N.target_)}return{value:Fn((M=(z=Y.options_)==null?void 0:z.name)!=null?M:de.toString(),Ve,(ge=(Ae=Y.options_)==null?void 0:Ae.autoAction)!=null?ge:!1),configurable:Ie?N.isPlainObject_:!0,enumerable:!1,writable:!Ie}}function we(N,Y){return{annotationType_:N,options_:Y,make_:He,extend_:Je}}function He(N,Y,de,le){var Ie;if(le===N.target_)return this.extend_(N,Y,de,!1)===null?0:2;if(((Ie=this.options_)==null?void 0:Ie.bound)&&!Yi(N.target_[Y])&&this.extend_(N,Y,de,!1)===null)return 0;if(Yi(de.value))return 1;var D=At(N,this,Y,de,!1,!1);return a(le,Y,D),2}function Je(N,Y,de,le){var Ie,D=At(N,this,Y,de,(Ie=this.options_)==null?void 0:Ie.bound);return N.defineProperty_(Y,D,le)}function ft(N,Y,de,le){var Ie=Y.annotationType_,D=le.value}function At(N,Y,de,le,Ie,D){D===void 0&&(D=rt.safeDescriptors),ft(N,Y,de,le);var M=le.value;if(Ie){var z;M=M.bind((z=N.proxy_)!=null?z:N.target_)}return{value:Ar(M),configurable:D?N.isPlainObject_:!0,enumerable:!1,writable:!D}}function Lt(N,Y){return{annotationType_:N,options_:Y,make_:Yt,extend_:Vt}}function Yt(N,Y,de){return this.extend_(N,Y,de,!1)===null?0:1}function Vt(N,Y,de,le){return ze(N,this,Y,de),N.defineComputedProperty_(Y,J({},this.options_,{get:de.get,set:de.set}),le)}function ze(N,Y,de,le){var Ie=Y.annotationType_,D=le.get}function dt(N,Y){return{annotationType_:N,options_:Y,make_:bt,extend_:pt}}function bt(N,Y,de){return this.extend_(N,Y,de,!1)===null?0:1}function pt(N,Y,de,le){var Ie,D;return Ct(N,this,Y,de),N.defineObservableProperty_(Y,de.value,(Ie=(D=this.options_)==null?void 0:D.enhancer)!=null?Ie:I,le)}function Ct(N,Y,de,le){var Ie=Y.annotationType_}var $t="true",fn=cn();function cn(N){return{annotationType_:$t,options_:N,make_:Rn,extend_:Ke}}function Rn(N,Y,de,le){var Ie,D;if(de.get)return ot.make_(N,Y,de,le);if(de.set){var M=Fn(Y.toString(),de.set);return le===N.target_?N.defineProperty_(Y,{configurable:rt.safeDescriptors?N.isPlainObject_:!0,set:M})===null?0:2:(a(le,Y,{configurable:!0,set:M}),2)}if(le!==N.target_&&typeof de.value=="function"){var z;if(x(de.value)){var ge,Ae=((ge=this.options_)==null?void 0:ge.autoBind)?Ar.bound:Ar;return Ae.make_(N,Y,de,le)}var Ve=((z=this.options_)==null?void 0:z.autoBind)?Jr.bound:Jr;return Ve.make_(N,Y,de,le)}var ct=((Ie=this.options_)==null?void 0:Ie.deep)===!1?Pt.ref:Pt;if(typeof de.value=="function"&&((D=this.options_)==null?void 0:D.autoBind)){var vt;de.value=de.value.bind((vt=N.proxy_)!=null?vt:N.target_)}return ct.make_(N,Y,de,le)}function Ke(N,Y,de,le){var Ie,D;if(de.get)return ot.extend_(N,Y,de,le);if(de.set)return N.defineProperty_(Y,{configurable:rt.safeDescriptors?N.isPlainObject_:!0,set:Fn(Y.toString(),de.set)},le);if(typeof de.value=="function"&&((Ie=this.options_)==null?void 0:Ie.autoBind)){var M;de.value=de.value.bind((M=N.proxy_)!=null?M:N.target_)}var z=((D=this.options_)==null?void 0:D.deep)===!1?Pt.ref:Pt;return z.extend_(N,Y,de,le)}var Ue={deep:!0,name:void 0,defaultDecorator:void 0,proxy:!0};Object.freeze(Ue);function it(N){return N||Ue}var Et=dt("observable"),Ot=dt("observable.ref",{enhancer:$e}),dn=dt("observable.shallow",{enhancer:ve}),Ln=dt("observable.struct",{enhancer:be}),$n=De(Et);function An(N){return N.deep===!0?I:N.deep===!1?$e:Pn(N.defaultDecorator)}function Gn(N){var Y;return N?(Y=N.defaultDecorator)!=null?Y:cn(N):void 0}function Pn(N){var Y,de;return N&&(Y=(de=N.options_)==null?void 0:de.enhancer)!=null?Y:I}function Ze(N,Y,de){if(C(Y)){nt(N,Y,Et);return}return mo(N)?N:w(N)?Pt.object(N,Y,de):Array.isArray(N)?Pt.array(N,Y):G(N)?Pt.map(N,Y):Z(N)?Pt.set(N,Y):typeof N=="object"&&N!==null?N:Pt.box(N,Y)}Object.assign(Ze,$n);var ut={box:function(Y,de){var le=it(de);return new Hn(Y,An(le),le.name,!0,le.equals)},array:function(Y,de){var le=it(de);return(rt.useProxies===!1||le.proxy===!1?cs:Uo)(Y,An(le),le.name)},map:function(Y,de){var le=it(de);return new ls(Y,An(le),le.name)},set:function(Y,de){var le=it(de);return new us(Y,An(le),le.name)},object:function(Y,de,le){return hi(rt.useProxies===!1||(le==null?void 0:le.proxy)===!1?Xi({},le):is({},le),Y,de)},ref:De(Ot),shallow:De(dn),deep:$n,struct:De(Ln)},Pt=c(Ze,ut),Mt="computed",zt="computed.struct",Zt=Lt(Mt),Qe=Lt(zt,{equals:H.structural}),ot=function(Y,de){if(C(de))return nt(Y,de,Zt);if(w(Y))return De(Lt(Mt,Y));var le=w(de)?de:{};return le.get=Y,le.name||(le.name=Y.name||""),new sr(le)};Object.assign(ot,Zt),ot.struct=De(Qe);var Xe,st,wt=0,tn=1,qt=(Xe=(st=u(function(){},"name"))==null?void 0:st.configurable)!=null?Xe:!1,bn={value:"action",configurable:!0,writable:!1,enumerable:!1};function Fn(N,Y,de,le){de===void 0&&(de=!1);function Ie(){return Nn(N,de,Y,le||this,arguments)}return Ie.isMobxAction=!0,qt&&(bn.value=N,Object.defineProperty(Ie,"name",bn)),Ie}function Nn(N,Y,de,le,Ie){var D=rr(N,Y,le,Ie);try{return de.apply(le,Ie)}catch(M){throw D.error_=M,M}finally{jn(D)}}function rr(N,Y,de,le){var Ie=!1,D=0;if(!1)var M;var z=rt.trackingDerivation,ge=!Y||!z;jt();var Ae=rt.allowStateChanges;ge&&(er(),Ae=Xn(!0));var Ve=nr(!0),ct={runAsAction_:ge,prevDerivation_:z,prevAllowStateChanges_:Ae,prevAllowStateReads_:Ve,notifySpy_:Ie,startTime_:D,actionId_:tn++,parentActionId_:wt};return wt=ct.actionId_,ct}function jn(N){wt!==N.actionId_&&s(30),wt=N.parentActionId_,N.error_!==void 0&&(rt.suppressReactionErrors=!0),kn(N.prevAllowStateChanges_),Ye(N.prevAllowStateReads_),on(),N.runAsAction_&&ar(N.prevDerivation_),rt.suppressReactionErrors=!1}function En(N,Y){var de=Xn(N);try{return Y()}finally{kn(de)}}function Xn(N){var Y=rt.allowStateChanges;return rt.allowStateChanges=N,Y}function kn(N){rt.allowStateChanges=N}var On,Yn="create";On=Symbol.toPrimitive;var Hn=function(N){re(Y,N);function Y(le,Ie,D,M,z){var ge;return D===void 0&&(D="ObservableValue"),M===void 0&&(M=!0),z===void 0&&(z=H.default),ge=N.call(this,D)||this,ge.enhancer=void 0,ge.name_=void 0,ge.equals=void 0,ge.hasUnreportedChange_=!1,ge.interceptors_=void 0,ge.changeListeners_=void 0,ge.value_=void 0,ge.dehancer=void 0,ge.enhancer=Ie,ge.name_=D,ge.equals=z,ge.value_=Ie(le,void 0,D),ge}var de=Y.prototype;return de.dehanceValue=function(Ie){return this.dehancer!==void 0?this.dehancer(Ie):Ie},de.set=function(Ie){var D=this.value_;if(Ie=this.prepareNewValue_(Ie),Ie!==rt.UNCHANGED){var M=Fr();this.setNewValue_(Ie)}},de.prepareNewValue_=function(Ie){if(Sr(this),di(this)){var D=mi(this,{object:this,type:vi,newValue:Ie});if(!D)return rt.UNCHANGED;Ie=D.newValue}return Ie=this.enhancer(Ie,this.value_,this.name_),this.equals(this.value_,Ie)?rt.UNCHANGED:Ie},de.setNewValue_=function(Ie){var D=this.value_;this.value_=Ie,this.reportChanged(),gi(this)&&wi(this,{type:vi,object:this,newValue:Ie,oldValue:D})},de.get=function(){return this.reportObserved(),this.dehanceValue(this.value_)},de.intercept_=function(Ie){return vo(this,Ie)},de.observe_=function(Ie,D){return D&&Ie({observableKind:"value",debugObjectName:this.name_,object:this,type:vi,newValue:this.value_,oldValue:void 0}),no(this,Ie)},de.raw=function(){return this.value_},de.toJSON=function(){return this.get()},de.toString=function(){return this.name_+"["+this.value_+"]"},de.valueOf=function(){return ce(this.get())},de[On]=function(){return this.valueOf()},Y}(ue),xn=k("ObservableValue",Hn),hr;hr=Symbol.toPrimitive;var sr=function(){function N(de){this.dependenciesState_=Qn.NOT_TRACKING_,this.observing_=[],this.newObserving_=null,this.isBeingObserved_=!1,this.isPendingUnobservation_=!1,this.observers_=new Set,this.diffValue_=0,this.runId_=0,this.lastAccessedBy_=0,this.lowestObserverState_=Qn.UP_TO_DATE_,this.unboundDepsCount_=0,this.value_=new Dr(null),this.name_=void 0,this.triggeredBy_=void 0,this.isComputing_=!1,this.isRunningSetter_=!1,this.derivation=void 0,this.setter_=void 0,this.isTracing_=vr.NONE,this.scope_=void 0,this.equals_=void 0,this.requiresReaction_=void 0,this.keepAlive_=void 0,this.onBOL=void 0,this.onBUOL=void 0,de.get||s(31),this.derivation=de.get,this.name_=de.name||"ComputedValue",de.set&&(this.setter_=Fn("ComputedValue-setter",de.set)),this.equals_=de.equals||(de.compareStructural||de.struct?H.structural:H.default),this.scope_=de.context,this.requiresReaction_=!!de.requiresReaction,this.keepAlive_=!!de.keepAlive}var Y=N.prototype;return Y.onBecomeStale_=function(){Rr(this)},Y.onBO=function(){this.onBOL&&this.onBOL.forEach(function(le){return le()})},Y.onBUO=function(){this.onBUOL&&this.onBUOL.forEach(function(le){return le()})},Y.get=function(){if(this.isComputing_&&s(32,this.name_,this.derivation),rt.inBatch===0&&this.observers_.size===0&&!this.keepAlive_)Er(this)&&(this.warnAboutUntrackedRead_(),jt(),this.value_=this.computeValue_(!1),on());else if(cr(this),Er(this)){var le=rt.trackingContext;this.keepAlive_&&!le&&(rt.trackingContext=this),this.trackAndCompute()&&Cr(this),rt.trackingContext=le}var Ie=this.value_;if(jr(Ie))throw Ie.cause;return Ie},Y.set=function(le){if(this.setter_){this.isRunningSetter_&&s(33,this.name_),this.isRunningSetter_=!0;try{this.setter_.call(this.scope_,le)}finally{this.isRunningSetter_=!1}}else s(34,this.name_)},Y.trackAndCompute=function(){var le=this.value_,Ie=this.dependenciesState_===Qn.NOT_TRACKING_,D=this.computeValue_(!0),M=Ie||jr(le)||jr(D)||!this.equals_(le,D);return M&&(this.value_=D),M},Y.computeValue_=function(le){this.isComputing_=!0;var Ie=Xn(!1),D;if(le)D=qn(this,this.derivation,this.scope_);else if(rt.disableErrorBoundaries===!0)D=this.derivation.call(this.scope_);else try{D=this.derivation.call(this.scope_)}catch(M){D=new Dr(M)}return kn(Ie),this.isComputing_=!1,D},Y.suspend_=function(){this.keepAlive_||(pn(this),this.value_=void 0)},Y.observe_=function(le,Ie){var D=this,M=!0,z=void 0;return fo(function(){var ge=D.get();if(!M||Ie){var Ae=er();le({observableKind:"computed",debugObjectName:D.name_,type:vi,object:D,newValue:ge,oldValue:z}),ar(Ae)}M=!1,z=ge})},Y.warnAboutUntrackedRead_=function(){},Y.toString=function(){return this.name_+"["+this.derivation.toString()+"]"},Y.valueOf=function(){return ce(this.get())},Y[hr]=function(){return this.valueOf()},N}(),ur=k("ComputedValue",sr),Qn;(function(N){N[N.NOT_TRACKING_=-1]="NOT_TRACKING_",N[N.UP_TO_DATE_=0]="UP_TO_DATE_",N[N.POSSIBLY_STALE_=1]="POSSIBLY_STALE_",N[N.STALE_=2]="STALE_"})(Qn||(Qn={}));var vr;(function(N){N[N.NONE=0]="NONE",N[N.LOG=1]="LOG",N[N.BREAK=2]="BREAK"})(vr||(vr={}));var Dr=function(Y){this.cause=void 0,this.cause=Y};function jr(N){return N instanceof Dr}function Er(N){switch(N.dependenciesState_){case Qn.UP_TO_DATE_:return!1;case Qn.NOT_TRACKING_:case Qn.STALE_:return!0;case Qn.POSSIBLY_STALE_:{for(var Y=nr(!0),de=er(),le=N.observing_,Ie=le.length,D=0;D<Ie;D++){var M=le[D];if(ur(M)){if(rt.disableErrorBoundaries)M.get();else try{M.get()}catch(z){return ar(de),Ye(Y),!0}if(N.dependenciesState_===Qn.STALE_)return ar(de),Ye(Y),!0}}return ye(N),ar(de),Ye(Y),!1}}}function Vr(){return rt.trackingDerivation!==null}function Sr(N){return;var Y}function Tr(N){}function qn(N,Y,de){var le=nr(!0);ye(N),N.newObserving_=new Array(N.observing_.length+100),N.unboundDepsCount_=0,N.runId_=++rt.runId;var Ie=rt.trackingDerivation;rt.trackingDerivation=N,rt.inBatch++;var D;if(rt.disableErrorBoundaries===!0)D=Y.call(de);else try{D=Y.call(de)}catch(M){D=new Dr(M)}return rt.inBatch--,rt.trackingDerivation=Ie,It(N),ln(N),Ye(le),D}function ln(N){}function It(N){for(var Y=N.observing_,de=N.observing_=N.newObserving_,le=Qn.UP_TO_DATE_,Ie=0,D=N.unboundDepsCount_,M=0;M<D;M++){var z=de[M];z.diffValue_===0&&(z.diffValue_=1,Ie!==M&&(de[Ie]=z),Ie++),z.dependenciesState_>le&&(le=z.dependenciesState_)}for(de.length=Ie,N.newObserving_=null,D=Y.length;D--;){var ge=Y[D];ge.diffValue_===0&&Be(ge,N),ge.diffValue_=0}for(;Ie--;){var Ae=de[Ie];Ae.diffValue_===1&&(Ae.diffValue_=0,_n(Ae,N))}le!==Qn.UP_TO_DATE_&&(N.dependenciesState_=le,N.onBecomeStale_())}function pn(N){var Y=N.observing_;N.observing_=[];for(var de=Y.length;de--;)Be(Y[de],N);N.dependenciesState_=Qn.NOT_TRACKING_}function vn(N){var Y=er();try{return N()}finally{ar(Y)}}function er(){var N=rt.trackingDerivation;return rt.trackingDerivation=null,N}function ar(N){rt.trackingDerivation=N}function nr(N){var Y=rt.allowStateReads;return rt.allowStateReads=N,Y}function Ye(N){rt.allowStateReads=N}function ye(N){if(N.dependenciesState_!==Qn.UP_TO_DATE_){N.dependenciesState_=Qn.UP_TO_DATE_;for(var Y=N.observing_,de=Y.length;de--;)Y[de].lowestObserverState_=Qn.UP_TO_DATE_}}var Re=null,gt=function(){this.version=6,this.UNCHANGED={},this.trackingDerivation=null,this.trackingContext=null,this.runId=0,this.mobxGuid=0,this.inBatch=0,this.pendingUnobservations=[],this.pendingReactions=[],this.isRunningReactions=!1,this.allowStateChanges=!1,this.allowStateReads=!0,this.enforceActions=!0,this.spyListeners=[],this.globalReactionErrorHandlers=[],this.computedRequiresReaction=!1,this.reactionRequiresObservable=!1,this.observableRequiresReaction=!1,this.disableErrorBoundaries=!1,this.suppressReactionErrors=!1,this.useProxies=!0,this.verifyProxies=!1,this.safeDescriptors=!0},We=!0,Qt=!1,rt=function(){var N=r();return N.__mobxInstanceCount>0&&!N.__mobxGlobals&&(We=!1),N.__mobxGlobals&&N.__mobxGlobals.version!==new gt().version&&(We=!1),We?N.__mobxGlobals?(N.__mobxInstanceCount+=1,N.__mobxGlobals.UNCHANGED||(N.__mobxGlobals.UNCHANGED={}),N.__mobxGlobals):(N.__mobxInstanceCount=1,N.__mobxGlobals=new gt):(setTimeout(function(){Qt||s(35)},1),new gt)}();function sn(){if((rt.pendingReactions.length||rt.inBatch||rt.isRunningReactions)&&s(36),Qt=!0,We){var N=r();--N.__mobxInstanceCount==0&&(N.__mobxGlobals=void 0),rt=new gt}}function an(){return rt}function In(){var N=new gt;for(var Y in N)Re.indexOf(Y)===-1&&(rt[Y]=N[Y]);rt.allowStateChanges=!rt.enforceActions}function Ht(N){return N.observers_&&N.observers_.size>0}function Tn(N){return N.observers_}function _n(N,Y){N.observers_.add(Y),N.lowestObserverState_>Y.dependenciesState_&&(N.lowestObserverState_=Y.dependenciesState_)}function Be(N,Y){N.observers_.delete(Y),N.observers_.size===0&<(N)}function lt(N){N.isPendingUnobservation_===!1&&(N.isPendingUnobservation_=!0,rt.pendingUnobservations.push(N))}function jt(){rt.inBatch++}function on(){if(--rt.inBatch==0){qr();for(var N=rt.pendingUnobservations,Y=0;Y<N.length;Y++){var de=N[Y];de.isPendingUnobservation_=!1,de.observers_.size===0&&(de.isBeingObserved_&&(de.isBeingObserved_=!1,de.onBUO()),de instanceof sr&&de.suspend_())}rt.pendingUnobservations=[]}}function cr(N){Tr(N);var Y=rt.trackingDerivation;return Y!==null?(Y.runId_!==N.lastAccessedBy_&&(N.lastAccessedBy_=Y.runId_,Y.newObserving_[Y.unboundDepsCount_++]=N,!N.isBeingObserved_&&rt.trackingContext&&(N.isBeingObserved_=!0,N.onBO())),!0):(N.observers_.size===0&&rt.inBatch>0&<(N),!1)}function Dn(N){N.lowestObserverState_!==Qn.STALE_&&(N.lowestObserverState_=Qn.STALE_,N.observers_.forEach(function(Y){Y.dependenciesState_===Qn.UP_TO_DATE_&&Y.onBecomeStale_(),Y.dependenciesState_=Qn.STALE_}))}function Cr(N){N.lowestObserverState_!==Qn.STALE_&&(N.lowestObserverState_=Qn.STALE_,N.observers_.forEach(function(Y){Y.dependenciesState_===Qn.POSSIBLY_STALE_?Y.dependenciesState_=Qn.STALE_:Y.dependenciesState_===Qn.UP_TO_DATE_&&(N.lowestObserverState_=Qn.UP_TO_DATE_)}))}function Rr(N){N.lowestObserverState_===Qn.UP_TO_DATE_&&(N.lowestObserverState_=Qn.POSSIBLY_STALE_,N.observers_.forEach(function(Y){Y.dependenciesState_===Qn.UP_TO_DATE_&&(Y.dependenciesState_=Qn.POSSIBLY_STALE_,Y.onBecomeStale_())}))}function $r(N,Y){if(console.log("[mobx.trace] '"+N.name_+"' is invalidated due to a change in: '"+Y.name_+"'"),N.isTracing_===vr.BREAK){var de=[];Mn(Os(N),de,1),new Function(`debugger;
|
|
2714
2714
|
/*
|
|
2715
2715
|
Tracing '`+N.name_+`'
|
|
2716
2716
|
|
|
@@ -2725,11 +2725,11 @@ The dependencies for this derivation are:
|
|
|
2725
2725
|
`+de.join(`
|
|
2726
2726
|
`)+`
|
|
2727
2727
|
*/
|
|
2728
|
-
`)()}}function $n(N,Y,de){if(Y.length>=1e3){Y.push("(and many more)");return}Y.push(""+new Array(de).join(" ")+N.name),N.dependencies&&N.dependencies.forEach(function(le){return $n(le,Y,de+1)})}var lr=function(){function N(de,le,Ie,D){de===void 0&&(de="Reaction"),D===void 0&&(D=!1),this.name_=void 0,this.onInvalidate_=void 0,this.errorHandler_=void 0,this.requiresObservable_=void 0,this.observing_=[],this.newObserving_=[],this.dependenciesState_=Qn.NOT_TRACKING_,this.diffValue_=0,this.runId_=0,this.unboundDepsCount_=0,this.isDisposed_=!1,this.isScheduled_=!1,this.isTrackPending_=!1,this.isRunning_=!1,this.isTracing_=vr.NONE,this.name_=de,this.onInvalidate_=le,this.errorHandler_=Ie,this.requiresObservable_=D}var Y=N.prototype;return Y.onBecomeStale_=function(){this.schedule_()},Y.schedule_=function(){this.isScheduled_||(this.isScheduled_=!0,rt.pendingReactions.push(this),qr())},Y.isScheduled=function(){return this.isScheduled_},Y.runReaction_=function(){if(!this.isDisposed_){Ft(),this.isScheduled_=!1;var le=rt.trackingContext;if(rt.trackingContext=this,Er(this)){this.isTrackPending_=!0;try{this.onInvalidate_()}catch(Ie){this.reportExceptionInDerivation_(Ie)}}rt.trackingContext=le,on()}},Y.track=function(le){if(!this.isDisposed_){Ft();var Ie=Fr(),D;this.isRunning_=!0;var M=rt.trackingContext;rt.trackingContext=this;var z=qn(this,le,void 0);rt.trackingContext=M,this.isRunning_=!1,this.isTrackPending_=!1,this.isDisposed_&&fn(this),jr(z)&&this.reportExceptionInDerivation_(z.cause),on()}},Y.reportExceptionInDerivation_=function(le){var Ie=this;if(this.errorHandler_){this.errorHandler_(le,this);return}if(rt.disableErrorBoundaries)throw le;var D="[mobx] uncaught error in '"+this+"'";rt.suppressReactionErrors||console.error(D,le),rt.globalReactionErrorHandlers.forEach(function(M){return M(le,Ie)})},Y.dispose=function(){this.isDisposed_||(this.isDisposed_=!0,this.isRunning_||(Ft(),fn(this),on()))},Y.getDisposer_=function(){var le=this.dispose.bind(this);return le[j]=this,le},Y.toString=function(){return"Reaction["+this.name_+"]"},Y.trace=function(le){le===void 0&&(le=!1),or(this,le)},N}();function ni(N){return rt.globalReactionErrorHandlers.push(N),function(){var Y=rt.globalReactionErrorHandlers.indexOf(N);Y>=0&&rt.globalReactionErrorHandlers.splice(Y,1)}}var Hr=100,_r=function(Y){return Y()};function qr(){rt.inBatch>0||rt.isRunningReactions||_r(Kr)}function Kr(){rt.isRunningReactions=!0;for(var N=rt.pendingReactions,Y=0;N.length>0;){++Y===Hr&&(console.error("[mobx] cycle in reaction: "+N[0]),N.splice(0));for(var de=N.splice(0),le=0,Ie=de.length;le<Ie;le++)de[le].runReaction_()}rt.isRunningReactions=!1}var ti=k("Reaction",lr);function Lr(N){var Y=_r;_r=function(le){return N(function(){return Y(le)})}}function Fr(){return!1}function fe(N){return;for(var Y,de,le;de<le;de++)Y[de](N)}function xe(N){return;var Y}var Ge={type:"report-end",spyReportEnd:!0};function ht(N){}function Ut(N){return console.warn("[mobx.spy] Is a no-op in production builds"),function(){}}var hn="action",wn="action.bound",Bn="autoAction",dr="autoAction.bound",pr="<unnamed action>",Nr=qe(hn),mr=qe(wn,{bound:!0}),kr=qe(Bn,{autoAction:!0}),ui=qe(dr,{autoAction:!0,bound:!0});function ci(N){var Y=function(le,Ie){if(O(le))return Fn(le.name||pr,le,N);if(O(Ie))return Fn(le,Ie,N);if(C(Ie))return nt(le,Ie,N?kr:Nr);if(C(le))return De(qe(N?Bn:hn,{name:le,autoAction:N}))};return Y}var Yr=ci(!1);Object.assign(Yr,Nr);var Jr=ci(!0);Object.assign(Jr,kr),Yr.bound=De(mr),Jr.bound=De(ui);function oi(N){return Ln(N.name||pr,!1,N,this,void 0)}function co(N){return O(N)&&N.isMobxAction===!0}function fo(N,Y){var de,le;Y===void 0&&(Y=p);var Ie=(de=(le=Y)==null?void 0:le.name)!=null?de:"Autorun",D=!Y.scheduler&&!Y.delay,M;if(D)M=new lr(Ie,function(){this.track(Re)},Y.onError,Y.requiresObservable);else{var z=Ao(Y),ge=!1;M=new lr(Ie,function(){ge||(ge=!0,z(function(){ge=!1,M.isDisposed_||M.track(Re)}))},Y.onError,Y.requiresObservable)}function Re(){N(M)}return M.schedule_(),M.getDisposer_()}var zs=function(Y){return Y()};function Ao(N){return N.scheduler?N.scheduler:N.delay?function(Y){return setTimeout(Y,N.delay)}:zs}function Go(N,Y,de){var le;de===void 0&&(de=p);var Ie=(le=de.name)!=null?le:"Reaction",D=Yr(Ie,de.onError?ra(de.onError,Y):Y),M=!de.scheduler&&!de.delay,z=Ao(de),ge=!0,Re=!1,We,ct=void 0,vt=de.compareStructural?H.structural:de.equals||H.default,_t=new lr(Ie,function(){ge||M?Sn():Re||(Re=!0,z(Sn))},de.onError,de.requiresObservable);function Sn(){if(Re=!1,!_t.isDisposed_){var Wn=!1;_t.track(function(){var tr=En(!1,function(){return N(_t)});Wn=ge||!vt(We,tr),ct=We,We=tr}),(ge&&de.fireImmediately||!ge&&Wn)&&D(We,ct,_t),ge=!1}}return _t.schedule_(),_t.getDisposer_()}function ra(N,Y){return function(){try{return Y.apply(this,arguments)}catch(de){N.call(this,de)}}}var xa="onBO",Gi="onBUO";function ys(N,Y,de){return bs(xa,N,Y,de)}function jo(N,Y,de){return bs(Gi,N,Y,de)}function bs(N,Y,de,le){var Ie=typeof le=="function"?Li(Y,de):Li(Y),D=O(le)?le:de,M=N+"L";return Ie[M]?Ie[M].add(D):Ie[M]=new Set([D]),function(){var z=Ie[M];z&&(z.delete(D),z.size===0&&delete Ie[M])}}var ia="never",Yo="always",Jo="observed";function Es(N){N.isolateGlobalState===!0&&an();var Y=N.useProxies,de=N.enforceActions;if(Y!==void 0&&(rt.useProxies=Y===Yo?!0:Y===ia?!1:typeof Proxy!="undefined"),Y==="ifavailable"&&(rt.verifyProxies=!0),de!==void 0){var le=de===Yo?Yo:de===Jo;rt.enforceActions=le,rt.allowStateChanges=!(le===!0||le===Yo)}["computedRequiresReaction","reactionRequiresObservable","observableRequiresReaction","disableErrorBoundaries","safeDescriptors"].forEach(function(Ie){Ie in N&&(rt[Ie]=!!N[Ie])}),rt.allowStateReads=!rt.observableRequiresReaction,N.reactionScheduler&&Lr(N.reactionScheduler)}function hi(N,Y,de,le){var Ie=he(Y),D=Xi(N,le)[j];Ft();try{Ee(Ie).forEach(function(M){D.extend_(M,Ie[M],de&&M in de?de[M]:!0)})}finally{on()}return N}function Os(N,Y){return Zo(Li(N,Y))}function Zo(N){var Y={name:N.name_};return N.observing_&&N.observing_.length>0&&(Y.dependencies=po(N.observing_).map(Zo)),Y}function Fi(N,Y){return Xo(Li(N,Y))}function Xo(N){var Y={name:N.name_};return Kt(N)&&(Y.observers=Array.from(An(N)).map(Xo)),Y}function po(N){return Array.from(new Set(N))}var qo=0;function to(){this.message="FLOW_CANCELLED"}to.prototype=Object.create(Error.prototype);function oa(N){return N instanceof to}var Ss=we("flow"),es=we("flow.bound",{bound:!0}),Ar=Object.assign(function(Y,de){if(C(de))return nt(Y,de,Ss);var le=Y,Ie=le.name||"<unnamed flow>",D=function(){var z=this,ge=arguments,Re=++qo,We=Yr(Ie+" - runid: "+Re+" - init",le).apply(z,ge),ct,vt=void 0,_t=new Promise(function(Sn,Wn){var tr=0;ct=Wn;function F(Bt){vt=void 0;var Qt;try{Qt=Yr(Ie+" - runid: "+Re+" - yield "+tr++,We.next).call(We,Bt)}catch(Wt){return Wn(Wt)}Ne(Qt)}function me(Bt){vt=void 0;var Qt;try{Qt=Yr(Ie+" - runid: "+Re+" - yield "+tr++,We.throw).call(We,Bt)}catch(Wt){return Wn(Wt)}Ne(Qt)}function Ne(Bt){if(O(Bt==null?void 0:Bt.then)){Bt.then(Ne,Wn);return}return Bt.done?Sn(Bt.value):(vt=Promise.resolve(Bt.value),vt.then(F,me))}F(void 0)});return _t.cancel=Yr(Ie+" - runid: "+Re+" - cancel",function(){try{vt&&ts(vt);var Sn=We.return(void 0),Wn=Promise.resolve(Sn.value);Wn.then(y,y),ts(Wn),ct(new to)}catch(tr){ct(tr)}}),_t};return D.isMobXFlow=!0,D},Ss);Ar.bound=De(es);function ts(N){O(N.cancel)&&N.cancel()}function Ws(N){return N}function Yi(N){return(N==null?void 0:N.isMobXFlow)===!0}function sa(N,Y,de){var le;return ai(N)||si(N)||xn(N)?le=Ii(N):Ur(N)&&(le=Ii(N,Y)),le.dehancer=typeof Y=="function"?Y:de,function(){le.dehancer=void 0}}function aa(N,Y,de){return O(de)?ns(N,Y,de):la(N,Y)}function la(N,Y){return Ii(N).intercept_(Y)}function ns(N,Y,de){return Ii(N,Y).intercept_(de)}function Fo(N,Y){if(Y!==void 0){if(Ur(N)===!1||!N[j].values_.has(Y))return!1;var de=Li(N,Y);return ur(de)}return ur(N)}function Io(N){return Fo(N)}function ho(N,Y){return Fo(N,Y)}function rs(N,Y){return N?Y!==void 0?Ur(N)?N[j].values_.has(Y):!1:Ur(N)||!!N[j]||Ce(N)||ti(N)||ur(N):!1}function mo(N){return rs(N)}function ua(N,Y){return rs(N,Y)}function ko(N){if(Ur(N))return N[j].keys_();if(ai(N)||Zr(N))return Array.from(N.keys());if(si(N))return N.map(function(Y,de){return de});s(5)}function Ps(N){if(Ur(N))return ko(N).map(function(Y){return N[Y]});if(ai(N))return ko(N).map(function(Y){return N.get(Y)});if(Zr(N))return Array.from(N.values());if(si(N))return N.slice();s(6)}function xs(N){if(Ur(N))return ko(N).map(function(Y){return[Y,N[Y]]});if(ai(N))return ko(N).map(function(Y){return[Y,N.get(Y)]});if(Zr(N))return Array.from(N.entries());if(si(N))return N.map(function(Y,de){return[de,Y]});s(7)}function Bo(N,Y,de){if(arguments.length===2&&!Zr(N)){Ft();var le=Y;try{for(var Ie in le)Bo(N,Ie,le[Ie])}finally{on()}return}Ur(N)?N[j].set_(Y,de):ai(N)?N.set(Y,de):Zr(N)?N.add(Y):si(N)?(typeof Y!="number"&&(Y=parseInt(Y,10)),Y<0&&s("Invalid index: '"+Y+"'"),Ft(),Y>=N.length&&(N.length=Y+1),N[Y]=de,on()):s(8)}function ca(N,Y){Ur(N)?N[j].delete_(Y):ai(N)||Zr(N)?N.delete(Y):si(N)?(typeof Y!="number"&&(Y=parseInt(Y,10)),N.splice(Y,1)):s(9)}function ws(N,Y){if(Ur(N))return N[j].has_(Y);if(ai(N))return N.has(Y);if(Zr(N))return N.has(Y);if(si(N))return Y>=0&&Y<N.length;s(10)}function da(N,Y){if(!!ws(N,Y)){if(Ur(N))return N[j].get_(Y);if(ai(N))return N.get(Y);if(si(N))return N[Y];s(11)}}function fa(N,Y,de){if(Ur(N))return N[j].defineProperty_(Y,de);s(39)}function Ts(N){if(Ur(N))return N[j].ownKeys_();s(38)}function Cs(N,Y,de,le){return O(de)?Ri(N,Y,de,le):Vs(N,Y,de)}function Vs(N,Y,de){return Ii(N).observe_(Y,de)}function Ri(N,Y,de,le){return Ii(N,Y).observe_(de,le)}function Do(N,Y,de){return N.set(Y,de),de}function Ei(N,Y){if(N==null||typeof N!="object"||N instanceof Date||!mo(N))return N;if(xn(N)||ur(N))return Ei(N.get(),Y);if(Y.has(N))return Y.get(N);if(si(N)){var de=Do(Y,N,new Array(N.length));return N.forEach(function(M,z){de[z]=Ei(M,Y)}),de}if(Zr(N)){var le=Do(Y,N,new Set);return N.forEach(function(M){le.add(Ei(M,Y))}),le}if(ai(N)){var Ie=Do(Y,N,new Map);return N.forEach(function(M,z){Ie.set(z,Ei(M,Y))}),Ie}else{var D=Do(Y,N,{});return Ts(N).forEach(function(M){d.propertyIsEnumerable.call(N,M)&&(D[M]=Ei(N[M],Y))}),D}}function Hs(N,Y){return Ei(N,new Map)}function or(){s("trace() is not available in production builds");for(var N=!1,Y=arguments.length,de=new Array(Y),le=0;le<Y;le++)de[le]=arguments[le];typeof de[de.length-1]=="boolean"&&(N=de.pop());var Ie=Ji(de);if(!Ie)return s("'trace(break?)' can only be used inside a tracked computed value or a Reaction. Consider passing in the computed value or reaction explicitly");Ie.isTracing_===vr.NONE&&console.log("[mobx.trace] '"+Ie.name_+"' tracing enabled"),Ie.isTracing_=N?vr.BREAK:vr.LOG}function Ji(N){switch(N.length){case 0:return rt.trackingDerivation;case 1:return Li(N[0]);case 2:return Li(N[0],N[1])}}function ki(N,Y){Y===void 0&&(Y=void 0),Ft();try{return N.apply(Y)}finally{on()}}function Ks(N,Y,de){return arguments.length===1||Y&&typeof Y=="object"?go(N,Y):Qs(N,Y,de||{})}function Qs(N,Y,de){var le;typeof de.timeout=="number"&&(le=setTimeout(function(){if(!D[j].isDisposed_){D();var M=new Error("WHEN_TIMEOUT");if(de.onError)de.onError(M);else throw M}},de.timeout)),de.name="When";var Ie=Fn("When-effect",Y),D=fo(function(M){var z=En(!1,N);z&&(M.dispose(),le&&clearTimeout(le),Ie())},de);return D}function go(N,Y){var de,le=new Promise(function(Ie,D){var M=Qs(N,Ie,J({},Y,{onError:D}));de=function(){M(),D("WHEN_CANCELLED")}});return le.cancel=de,le}function Zi(N){return N[j]}var $o={has:function(Y,de){return Zi(Y).has_(de)},get:function(Y,de){return Zi(Y).get_(de)},set:function(Y,de,le){var Ie;return C(de)?(Ie=Zi(Y).set_(de,le,!0))!=null?Ie:!0:!1},deleteProperty:function(Y,de){var le;return C(de)?(le=Zi(Y).delete_(de,!0))!=null?le:!0:!1},defineProperty:function(Y,de,le){var Ie;return(Ie=Zi(Y).defineProperty_(de,le))!=null?Ie:!0},ownKeys:function(Y){return Zi(Y).ownKeys_()},preventExtensions:function(Y){s(13)}};function is(N,Y){var de,le;return S(),N=Xi(N,Y),(le=(de=N[j]).proxy_)!=null?le:de.proxy_=new Proxy(N,$o)}function di(N){return N.interceptors_!==void 0&&N.interceptors_.length>0}function vo(N,Y){var de=N.interceptors_||(N.interceptors_=[]);return de.push(Y),m(function(){var le=de.indexOf(Y);le!==-1&&de.splice(le,1)})}function mi(N,Y){var de=er();try{for(var le=[].concat(N.interceptors_||[]),Ie=0,D=le.length;Ie<D&&(Y=le[Ie](Y),Y&&!Y.type&&s(14),!!Y);Ie++);return Y}finally{ar(de)}}function gi(N){return N.changeListeners_!==void 0&&N.changeListeners_.length>0}function no(N,Y){var de=N.changeListeners_||(N.changeListeners_=[]);return de.push(Y),m(function(){var le=de.indexOf(Y);le!==-1&&de.splice(le,1)})}function wi(N,Y){var de=er(),le=N.changeListeners_;if(!!le){le=le.slice();for(var Ie=0,D=le.length;Ie<D;Ie++)le[Ie](Y);ar(de)}}function os(N,Y,de){var le=Xi(N,de)[j];Ft();try{var Ie;(Ie=Y)!=null||(Y=_e(N)),Ee(Y).forEach(function(D){return le.make_(D,Y[D])})}finally{on()}return N}var zr=null;function Rs(N,Y,de){if(w(N))return hi(N,N,Y,de);var le=Xi(N,de)[j];if(!N[zr]){var Ie=Object.getPrototypeOf(N),D=new Set([].concat(Ee(N),Ee(Ie)));D.delete("constructor"),D.delete(j),R(Ie,zr,D)}Ft();try{N[zr].forEach(function(M){return le.make_(M,Y&&M in Y?Y[M]:!0)})}finally{on()}return N}var ss="splice",vi="update",As=1e4,Is={get:function(Y,de){var le=Y[j];return de===j?le:de==="length"?le.getArrayLength_():typeof de=="string"&&!isNaN(de)?le.get_(parseInt(de)):te(Bi,de)?Bi[de]:Y[de]},set:function(Y,de,le){var Ie=Y[j];return de==="length"&&Ie.setArrayLength_(le),typeof de=="symbol"||isNaN(de)?Y[de]=le:Ie.set_(parseInt(de),le),!0},preventExtensions:function(){s(15)}},yo=function(){function N(de,le,Ie,D){de===void 0&&(de="ObservableArray"),this.owned_=void 0,this.legacyMode_=void 0,this.atom_=void 0,this.values_=[],this.interceptors_=void 0,this.changeListeners_=void 0,this.enhancer_=void 0,this.dehancer=void 0,this.proxy_=void 0,this.lastKnownLength_=0,this.owned_=Ie,this.legacyMode_=D,this.atom_=new ue(de),this.enhancer_=function(M,z){return le(M,z,"ObservableArray[..]")}}var Y=N.prototype;return Y.dehanceValue_=function(le){return this.dehancer!==void 0?this.dehancer(le):le},Y.dehanceValues_=function(le){return this.dehancer!==void 0&&le.length>0?le.map(this.dehancer):le},Y.intercept_=function(le){return vo(this,le)},Y.observe_=function(le,Ie){return Ie===void 0&&(Ie=!1),Ie&&le({observableKind:"array",object:this.proxy_,debugObjectName:this.atom_.name_,type:"splice",index:0,added:this.values_.slice(),addedCount:this.values_.length,removed:[],removedCount:0}),no(this,le)},Y.getArrayLength_=function(){return this.atom_.reportObserved(),this.values_.length},Y.setArrayLength_=function(le){(typeof le!="number"||le<0)&&s("Out of range: "+le);var Ie=this.values_.length;if(le!==Ie)if(le>Ie){for(var D=new Array(le-Ie),M=0;M<le-Ie;M++)D[M]=void 0;this.spliceWithArray_(Ie,0,D)}else this.spliceWithArray_(le,Ie-le)},Y.updateArrayLength_=function(le,Ie){le!==this.lastKnownLength_&&s(16),this.lastKnownLength_+=Ie,this.legacyMode_&&Ie>0&&So(le+Ie+1)},Y.spliceWithArray_=function(le,Ie,D){var M=this;Sr(this.atom_);var z=this.values_.length;if(le===void 0?le=0:le>z?le=z:le<0&&(le=Math.max(0,z+le)),arguments.length===1?Ie=z-le:Ie==null?Ie=0:Ie=Math.max(0,Math.min(Ie,z-le)),D===void 0&&(D=h),di(this)){var ge=mi(this,{object:this.proxy_,type:ss,index:le,removedCount:Ie,added:D});if(!ge)return h;Ie=ge.removedCount,D=ge.added}if(D=D.length===0?D:D.map(function(ct){return M.enhancer_(ct,void 0)}),this.legacyMode_){var Re=D.length-Ie;this.updateArrayLength_(z,Re)}var We=this.spliceItemsIntoValues_(le,Ie,D);return(Ie!==0||D.length!==0)&&this.notifyArraySplice_(le,D,We),this.dehanceValues_(We)},Y.spliceItemsIntoValues_=function(le,Ie,D){if(D.length<As){var M;return(M=this.values_).splice.apply(M,[le,Ie].concat(D))}else{var z=this.values_.slice(le,le+Ie),ge=this.values_.slice(le+Ie);this.values_.length=le+D.length-Ie;for(var Re=0;Re<D.length;Re++)this.values_[le+Re]=D[Re];for(var We=0;We<ge.length;We++)this.values_[le+D.length+We]=ge[We];return z}},Y.notifyArrayChildUpdate_=function(le,Ie,D){var M=!this.owned_&&Fr(),z=gi(this),ge=z||M?{observableKind:"array",object:this.proxy_,type:vi,debugObjectName:this.atom_.name_,index:le,newValue:Ie,oldValue:D}:null;this.atom_.reportChanged(),z&&wi(this,ge)},Y.notifyArraySplice_=function(le,Ie,D){var M=!this.owned_&&Fr(),z=gi(this),ge=z||M?{observableKind:"array",object:this.proxy_,debugObjectName:this.atom_.name_,type:ss,index:le,removed:D,added:Ie,removedCount:D.length,addedCount:Ie.length}:null;this.atom_.reportChanged(),z&&wi(this,ge)},Y.get_=function(le){if(le<this.values_.length)return this.atom_.reportObserved(),this.dehanceValue_(this.values_[le]);console.warn("[mobx.array] Attempt to read an array index ("+le+") that is out of bounds ("+this.values_.length+"). Please check length first. Out of bound indices will not be tracked by MobX")},Y.set_=function(le,Ie){var D=this.values_;if(le<D.length){Sr(this.atom_);var M=D[le];if(di(this)){var z=mi(this,{type:vi,object:this.proxy_,index:le,newValue:Ie});if(!z)return;Ie=z.newValue}Ie=this.enhancer_(Ie,M);var ge=Ie!==M;ge&&(D[le]=Ie,this.notifyArrayChildUpdate_(le,Ie,M))}else le===D.length?this.spliceWithArray_(le,0,[Ie]):s(17,le,D.length)},N}();function Uo(N,Y,de,le){de===void 0&&(de="ObservableArray"),le===void 0&&(le=!1),S();var Ie=new yo(de,Y,le,!1);g(Ie.values_,j,Ie);var D=new Proxy(Ie.values_,Is);if(Ie.proxy_=D,N&&N.length){var M=Xn(!0);Ie.spliceWithArray_(0,0,N),kn(M)}return D}var Bi={clear:function(){return this.splice(0)},replace:function(Y){var de=this[j];return de.spliceWithArray_(0,de.values_.length,Y)},toJSON:function(){return this.slice()},splice:function(Y,de){for(var le=arguments.length,Ie=new Array(le>2?le-2:0),D=2;D<le;D++)Ie[D-2]=arguments[D];var M=this[j];switch(arguments.length){case 0:return[];case 1:return M.spliceWithArray_(Y);case 2:return M.spliceWithArray_(Y,de)}return M.spliceWithArray_(Y,de,Ie)},spliceWithArray:function(Y,de,le){return this[j].spliceWithArray_(Y,de,le)},push:function(){for(var Y=this[j],de=arguments.length,le=new Array(de),Ie=0;Ie<de;Ie++)le[Ie]=arguments[Ie];return Y.spliceWithArray_(Y.values_.length,0,le),Y.values_.length},pop:function(){return this.splice(Math.max(this[j].values_.length-1,0),1)[0]},shift:function(){return this.splice(0,1)[0]},unshift:function(){for(var Y=this[j],de=arguments.length,le=new Array(de),Ie=0;Ie<de;Ie++)le[Ie]=arguments[Ie];return Y.spliceWithArray_(0,0,le),Y.values_.length},reverse:function(){return rt.trackingDerivation&&s(37,"reverse"),this.replace(this.slice().reverse()),this},sort:function(){rt.trackingDerivation&&s(37,"sort");var Y=this.slice();return Y.sort.apply(Y,arguments),this.replace(Y),this},remove:function(Y){var de=this[j],le=de.dehanceValues_(de.values_).indexOf(Y);return le>-1?(this.splice(le,1),!0):!1}};ei("concat",Ai),ei("flat",Ai),ei("includes",Ai),ei("indexOf",Ai),ei("join",Ai),ei("lastIndexOf",Ai),ei("slice",Ai),ei("toString",Ai),ei("toLocaleString",Ai),ei("every",$i),ei("filter",$i),ei("find",$i),ei("findIndex",$i),ei("flatMap",$i),ei("forEach",$i),ei("map",$i),ei("some",$i),ei("reduce",_o),ei("reduceRight",_o);function ei(N,Y){typeof Array.prototype[N]=="function"&&(Bi[N]=Y(N))}function Ai(N){return function(){var Y=this[j];Y.atom_.reportObserved();var de=Y.dehanceValues_(Y.values_);return de[N].apply(de,arguments)}}function $i(N){return function(Y,de){var le=this,Ie=this[j];Ie.atom_.reportObserved();var D=Ie.dehanceValues_(Ie.values_);return D[N](function(M,z){return Y.call(de,M,z,le)})}}function _o(N){return function(){var Y=this,de=this[j];de.atom_.reportObserved();var le=de.dehanceValues_(de.values_),Ie=arguments[0];return arguments[0]=function(D,M,z){return Ie(D,M,z,Y)},le[N].apply(le,arguments)}}var Ds=k("ObservableArrayAdministration",yo);function si(N){return A(N)&&Ds(N[j])}var zo,Mi,as={},Oi="add",Mo="delete";zo=Symbol.iterator,Mi=Symbol.toStringTag;var ls=function(){function N(de,le,Ie){le===void 0&&(le=I),Ie===void 0&&(Ie="ObservableMap"),this.enhancer_=void 0,this.name_=void 0,this[j]=as,this.data_=void 0,this.hasMap_=void 0,this.keysAtom_=void 0,this.interceptors_=void 0,this.changeListeners_=void 0,this.dehancer=void 0,this.enhancer_=le,this.name_=Ie,O(Map)||s(18),this.keysAtom_=et("ObservableMap.keys()"),this.data_=new Map,this.hasMap_=new Map,this.merge(de)}var Y=N.prototype;return Y.has_=function(le){return this.data_.has(le)},Y.has=function(le){var Ie=this;if(!rt.trackingDerivation)return this.has_(le);var D=this.hasMap_.get(le);if(!D){var M=D=new Hn(this.has_(le),$e,"ObservableMap.key?",!1);this.hasMap_.set(le,M),jo(M,function(){return Ie.hasMap_.delete(le)})}return D.get()},Y.set=function(le,Ie){var D=this.has_(le);if(di(this)){var M=mi(this,{type:D?vi:Oi,object:this,newValue:Ie,name:le});if(!M)return this;Ie=M.newValue}return D?this.updateValue_(le,Ie):this.addValue_(le,Ie),this},Y.delete=function(le){var Ie=this;if(Sr(this.keysAtom_),di(this)){var D=mi(this,{type:Mo,object:this,name:le});if(!D)return!1}if(this.has_(le)){var M=Fr(),z=gi(this),ge=z||M?{observableKind:"map",debugObjectName:this.name_,type:Mo,object:this,oldValue:this.data_.get(le).value_,name:le}:null;return ki(function(){Ie.keysAtom_.reportChanged(),Ie.updateHasMapEntry_(le,!1);var Re=Ie.data_.get(le);Re.setNewValue_(void 0),Ie.data_.delete(le)}),z&&wi(this,ge),!0}return!1},Y.updateHasMapEntry_=function(le,Ie){var D=this.hasMap_.get(le);D&&D.setNewValue_(Ie)},Y.updateValue_=function(le,Ie){var D=this.data_.get(le);if(Ie=D.prepareNewValue_(Ie),Ie!==rt.UNCHANGED){var M=Fr(),z=gi(this),ge=z||M?{observableKind:"map",debugObjectName:this.name_,type:vi,object:this,oldValue:D.value_,name:le,newValue:Ie}:null;D.setNewValue_(Ie),z&&wi(this,ge)}},Y.addValue_=function(le,Ie){var D=this;Sr(this.keysAtom_),ki(function(){var Re=new Hn(Ie,D.enhancer_,"ObservableMap.key",!1);D.data_.set(le,Re),Ie=Re.value_,D.updateHasMapEntry_(le,!0),D.keysAtom_.reportChanged()});var M=Fr(),z=gi(this),ge=z||M?{observableKind:"map",debugObjectName:this.name_,type:Oi,object:this,name:le,newValue:Ie}:null;z&&wi(this,ge)},Y.get=function(le){return this.has(le)?this.dehanceValue_(this.data_.get(le).get()):this.dehanceValue_(void 0)},Y.dehanceValue_=function(le){return this.dehancer!==void 0?this.dehancer(le):le},Y.keys=function(){return this.keysAtom_.reportObserved(),this.data_.keys()},Y.values=function(){var le=this,Ie=this.keys();return ao({next:function(){var M=Ie.next(),z=M.done,ge=M.value;return{done:z,value:z?void 0:le.get(ge)}}})},Y.entries=function(){var le=this,Ie=this.keys();return ao({next:function(){var M=Ie.next(),z=M.done,ge=M.value;return{done:z,value:z?void 0:[ge,le.get(ge)]}}})},Y[zo]=function(){return this.entries()},Y.forEach=function(le,Ie){for(var D=pe(this),M;!(M=D()).done;){var z=M.value,ge=z[0],Re=z[1];le.call(Ie,Re,ge,this)}},Y.merge=function(le){var Ie=this;return ai(le)&&(le=new Map(le)),ki(function(){w(le)?ee(le).forEach(function(D){return Ie.set(D,le[D])}):Array.isArray(le)?le.forEach(function(D){var M=D[0],z=D[1];return Ie.set(M,z)}):G(le)?(le.constructor!==Map&&s(19,le),le.forEach(function(D,M){return Ie.set(M,D)})):le!=null&&s(20,le)}),this},Y.clear=function(){var le=this;ki(function(){vn(function(){for(var Ie=pe(le.keys()),D;!(D=Ie()).done;){var M=D.value;le.delete(M)}})})},Y.replace=function(le){var Ie=this;return ki(function(){for(var D=bo(le),M=new Map,z=!1,ge=pe(Ie.data_.keys()),Re;!(Re=ge()).done;){var We=Re.value;if(!D.has(We)){var ct=Ie.delete(We);if(ct)z=!0;else{var vt=Ie.data_.get(We);M.set(We,vt)}}}for(var _t=pe(D.entries()),Sn;!(Sn=_t()).done;){var Wn=Sn.value,tr=Wn[0],F=Wn[1],me=Ie.data_.has(tr);if(Ie.set(tr,F),Ie.data_.has(tr)){var Ne=Ie.data_.get(tr);M.set(tr,Ne),me||(z=!0)}}if(!z)if(Ie.data_.size!==M.size)Ie.keysAtom_.reportChanged();else for(var Bt=Ie.data_.keys(),Qt=M.keys(),Wt=Bt.next(),Ht=Qt.next();!Wt.done;){if(Wt.value!==Ht.value){Ie.keysAtom_.reportChanged();break}Wt=Bt.next(),Ht=Qt.next()}Ie.data_=M}),this},Y.toString=function(){return"[object ObservableMap]"},Y.toJSON=function(){return Array.from(this)},Y.observe_=function(le,Ie){return no(this,le)},Y.intercept_=function(le){return vo(this,le)},B(N,[{key:"size",get:function(){return this.keysAtom_.reportObserved(),this.data_.size}},{key:Mi,get:function(){return"Map"}}]),N}(),ai=k("ObservableMap",ls);function bo(N){if(G(N)||ai(N))return N;if(Array.isArray(N))return new Map(N);if(w(N)){var Y=new Map;for(var de in N)Y.set(de,N[de]);return Y}else return s(21,N)}var Ui,ro,Eo={};Ui=Symbol.iterator,ro=Symbol.toStringTag;var us=function(){function N(de,le,Ie){le===void 0&&(le=I),Ie===void 0&&(Ie="ObservableSet"),this.name_=void 0,this[j]=Eo,this.data_=new Set,this.atom_=void 0,this.changeListeners_=void 0,this.interceptors_=void 0,this.dehancer=void 0,this.enhancer_=void 0,this.name_=Ie,O(Set)||s(22),this.atom_=et(this.name_),this.enhancer_=function(D,M){return le(D,M,Ie)},de&&this.replace(de)}var Y=N.prototype;return Y.dehanceValue_=function(le){return this.dehancer!==void 0?this.dehancer(le):le},Y.clear=function(){var le=this;ki(function(){vn(function(){for(var Ie=pe(le.data_.values()),D;!(D=Ie()).done;){var M=D.value;le.delete(M)}})})},Y.forEach=function(le,Ie){for(var D=pe(this),M;!(M=D()).done;){var z=M.value;le.call(Ie,z,z,this)}},Y.add=function(le){var Ie=this;if(Sr(this.atom_),di(this)){var D=mi(this,{type:Oi,object:this,newValue:le});if(!D)return this}if(!this.has(le)){ki(function(){Ie.data_.add(Ie.enhancer_(le,void 0)),Ie.atom_.reportChanged()});var M=!1,z=gi(this),ge=z||M?{observableKind:"set",debugObjectName:this.name_,type:Oi,object:this,newValue:le}:null;z&&wi(this,ge)}return this},Y.delete=function(le){var Ie=this;if(di(this)){var D=mi(this,{type:Mo,object:this,oldValue:le});if(!D)return!1}if(this.has(le)){var M=!1,z=gi(this),ge=z||M?{observableKind:"set",debugObjectName:this.name_,type:Mo,object:this,oldValue:le}:null;return ki(function(){Ie.atom_.reportChanged(),Ie.data_.delete(le)}),z&&wi(this,ge),!0}return!1},Y.has=function(le){return this.atom_.reportObserved(),this.data_.has(this.dehanceValue_(le))},Y.entries=function(){var le=0,Ie=Array.from(this.keys()),D=Array.from(this.values());return ao({next:function(){var z=le;return le+=1,z<D.length?{value:[Ie[z],D[z]],done:!1}:{done:!0}}})},Y.keys=function(){return this.values()},Y.values=function(){this.atom_.reportObserved();var le=this,Ie=0,D=Array.from(this.data_.values());return ao({next:function(){return Ie<D.length?{value:le.dehanceValue_(D[Ie++]),done:!1}:{done:!0}}})},Y.replace=function(le){var Ie=this;return Zr(le)&&(le=new Set(le)),ki(function(){Array.isArray(le)?(Ie.clear(),le.forEach(function(D){return Ie.add(D)})):Z(le)?(Ie.clear(),le.forEach(function(D){return Ie.add(D)})):le!=null&&s("Cannot initialize set from "+le)}),this},Y.observe_=function(le,Ie){return no(this,le)},Y.intercept_=function(le){return vo(this,le)},Y.toJSON=function(){return Array.from(this)},Y.toString=function(){return"[object ObservableSet]"},Y[Ui]=function(){return this.values()},B(N,[{key:"size",get:function(){return this.atom_.reportObserved(),this.data_.size}},{key:ro,get:function(){return"Set"}}]),N}(),Zr=k("ObservableSet",us),io=Object.create(null),oo="remove",Br=function(){function N(de,le,Ie,D){le===void 0&&(le=new Map),D===void 0&&(D=dn),this.target_=void 0,this.values_=void 0,this.name_=void 0,this.defaultAnnotation_=void 0,this.keysAtom_=void 0,this.changeListeners_=void 0,this.interceptors_=void 0,this.proxy_=void 0,this.isPlainObject_=void 0,this.appliedAnnotations_=void 0,this.pendingKeys_=void 0,this.target_=de,this.values_=le,this.name_=Ie,this.defaultAnnotation_=D,this.keysAtom_=new ue("ObservableObject.keys"),this.isPlainObject_=w(this.target_)}var Y=N.prototype;return Y.getObservablePropValue_=function(le){return this.values_.get(le).get()},Y.setObservablePropValue_=function(le,Ie){var D=this.values_.get(le);if(D instanceof sr)return D.set(Ie),!0;if(di(this)){var M=mi(this,{type:vi,object:this.proxy_||this.target_,name:le,newValue:Ie});if(!M)return null;Ie=M.newValue}if(Ie=D.prepareNewValue_(Ie),Ie!==rt.UNCHANGED){var z=gi(this),ge=!1,Re=z||ge?{type:vi,observableKind:"object",debugObjectName:this.name_,object:this.proxy_||this.target_,oldValue:D.value_,name:le,newValue:Ie}:null;D.setNewValue_(Ie),z&&wi(this,Re)}return!0},Y.get_=function(le){return rt.trackingDerivation&&!te(this.target_,le)&&this.has_(le),this.target_[le]},Y.set_=function(le,Ie,D){return D===void 0&&(D=!1),te(this.target_,le)?this.values_.has(le)?this.setObservablePropValue_(le,Ie):D?Reflect.set(this.target_,le,Ie):(this.target_[le]=Ie,!0):this.extend_(le,{value:Ie,enumerable:!0,writable:!0,configurable:!0},this.defaultAnnotation_,D)},Y.has_=function(le){if(!rt.trackingDerivation)return le in this.target_;this.pendingKeys_||(this.pendingKeys_=new Map);var Ie=this.pendingKeys_.get(le);return Ie||(Ie=new Hn(le in this.target_,$e,"ObservableObject.key?",!1),this.pendingKeys_.set(le,Ie)),Ie.get()},Y.make_=function(le,Ie){if(Ie===!0&&(Ie=this.defaultAnnotation_),Ie!==!1){if(Qr(this,Ie,le),!(le in this.target_)){var D;if((D=this.target_[Se])==null?void 0:D[le])return;s(1,Ie.annotationType_,this.name_+"."+le.toString())}for(var M=this.target_;M&&M!==d;){var z=u(M,le);if(z){var ge=Ie.make_(this,le,z,M);if(ge===0)return;if(ge===1)break}M=Object.getPrototypeOf(M)}Wr(this,Ie,le)}},Y.extend_=function(le,Ie,D,M){if(M===void 0&&(M=!1),D===!0&&(D=this.defaultAnnotation_),D===!1)return this.defineProperty_(le,Ie,M);Qr(this,D,le);var z=D.extend_(this,le,Ie,M);return z&&Wr(this,D,le),z},Y.defineProperty_=function(le,Ie,D){D===void 0&&(D=!1);try{Ft();var M=this.delete_(le);if(!M)return M;if(di(this)){var z=mi(this,{object:this.proxy_||this.target_,name:le,type:Oi,newValue:Ie.value});if(!z)return null;var ge=z.newValue;Ie.value!==ge&&(Ie=J({},Ie,{value:ge}))}if(D){if(!Reflect.defineProperty(this.target_,le,Ie))return!1}else a(this.target_,le,Ie);this.notifyPropertyAddition_(le,Ie.value)}finally{on()}return!0},Y.defineObservableProperty_=function(le,Ie,D,M){M===void 0&&(M=!1);try{Ft();var z=this.delete_(le);if(!z)return z;if(di(this)){var ge=mi(this,{object:this.proxy_||this.target_,name:le,type:Oi,newValue:Ie});if(!ge)return null;Ie=ge.newValue}var Re=so(le),We={configurable:rt.safeDescriptors?this.isPlainObject_:!0,enumerable:!0,get:Re.get,set:Re.set};if(M){if(!Reflect.defineProperty(this.target_,le,We))return!1}else a(this.target_,le,We);var ct=new Hn(Ie,D,"ObservableObject.key",!1);this.values_.set(le,ct),this.notifyPropertyAddition_(le,ct.value_)}finally{on()}return!0},Y.defineComputedProperty_=function(le,Ie,D){D===void 0&&(D=!1);try{Ft();var M=this.delete_(le);if(!M)return M;if(di(this)){var z=mi(this,{object:this.proxy_||this.target_,name:le,type:Oi,newValue:void 0});if(!z)return null}Ie.name||(Ie.name="ObservableObject.key"),Ie.context=this.proxy_||this.target_;var ge=so(le),Re={configurable:rt.safeDescriptors?this.isPlainObject_:!0,enumerable:!1,get:ge.get,set:ge.set};if(D){if(!Reflect.defineProperty(this.target_,le,Re))return!1}else a(this.target_,le,Re);this.values_.set(le,new sr(Ie)),this.notifyPropertyAddition_(le,void 0)}finally{on()}return!0},Y.delete_=function(le,Ie){if(Ie===void 0&&(Ie=!1),!te(this.target_,le))return!0;if(di(this)){var D=mi(this,{object:this.proxy_||this.target_,name:le,type:oo});if(!D)return null}try{var M,z;Ft();var ge=gi(this),Re=!1,We=this.values_.get(le),ct=void 0;if(!We&&(ge||Re)){var vt;ct=(vt=u(this.target_,le))==null?void 0:vt.value}if(Ie){if(!Reflect.deleteProperty(this.target_,le))return!1}else delete this.target_[le];if(We&&(this.values_.delete(le),We instanceof Hn&&(ct=We.value_),In(We)),this.keysAtom_.reportChanged(),(M=this.pendingKeys_)==null||(z=M.get(le))==null||z.set(le in this.target_),ge||Re){var _t={type:oo,observableKind:"object",object:this.proxy_||this.target_,debugObjectName:this.name_,oldValue:ct,name:le};ge&&wi(this,_t)}}finally{on()}return!0},Y.observe_=function(le,Ie){return no(this,le)},Y.intercept_=function(le){return vo(this,le)},Y.notifyPropertyAddition_=function(le,Ie){var D,M,z=gi(this),ge=!1;if(z||ge){var Re=z||ge?{type:Oi,observableKind:"object",debugObjectName:this.name_,object:this.proxy_||this.target_,name:le,newValue:Ie}:null;z&&wi(this,Re)}(D=this.pendingKeys_)==null||(M=D.get(le))==null||M.set(!0),this.keysAtom_.reportChanged()},Y.ownKeys_=function(){return this.keysAtom_.reportObserved(),Ee(this.target_)},Y.keys_=function(){return this.keysAtom_.reportObserved(),Object.keys(this.target_)},N}();function Xi(N,Y){var de;if(te(N,j))return N;var le=(de=Y==null?void 0:Y.name)!=null?de:"ObservableObject",Ie=new Br(N,new Map,String(le),Gn(Y));return R(N,j,Ie),N}var Lo=k("ObservableObjectAdministration",Br);function so(N){return io[N]||(io[N]={get:function(){return this[j].getObservablePropValue_(N)},set:function(de){return this[j].setObservablePropValue_(N,de)}})}function Ur(N){return A(N)?Lo(N[j]):!1}function Wr(N,Y,de){var le;(le=N.target_[Se])==null||delete le[de]}function Qr(N,Y,de){if(!1)var le,Ie,D}var Ti=0,fi=function(){};function Xr(N,Y){Object.setPrototypeOf?Object.setPrototypeOf(N.prototype,Y):N.prototype.__proto__!==void 0?N.prototype.__proto__=Y:N.prototype=Y}Xr(fi,Array.prototype);var _i=function(N){re(Y,N);function Y(le,Ie,D,M){var z;D===void 0&&(D="ObservableArray"),M===void 0&&(M=!1),z=N.call(this)||this;var ge=new yo(D,Ie,M,!0);if(ge.proxy_=W(z),g(W(z),j,ge),le&&le.length){var Re=Xn(!0);z.spliceWithArray(0,0,le),kn(Re)}return z}var de=Y.prototype;return de.concat=function(){this[j].atom_.reportObserved();for(var Ie=arguments.length,D=new Array(Ie),M=0;M<Ie;M++)D[M]=arguments[M];return Array.prototype.concat.apply(this.slice(),D.map(function(z){return si(z)?z.slice():z}))},de[Symbol.iterator]=function(){var le=this,Ie=0;return ao({next:function(){return Ie<le.length?{value:le[Ie++],done:!1}:{done:!0,value:void 0}}})},B(Y,[{key:"length",get:function(){return this[j].getArrayLength_()},set:function(Ie){this[j].setArrayLength_(Ie)}},{key:Symbol.toStringTag,get:function(){return"Array"}}]),Y}(fi);Object.entries(Bi).forEach(function(N){var Y=N[0],de=N[1];Y!=="concat"&&R(_i.prototype,Y,de)});function Oo(N){return{enumerable:!1,configurable:!0,get:function(){return this[j].get_(N)},set:function(de){this[j].set_(N,de)}}}function Si(N){a(_i.prototype,""+N,Oo(N))}function So(N){if(N>Ti){for(var Y=Ti;Y<N+100;Y++)Si(Y);Ti=N}}So(1e3);function cs(N,Y,de){return new _i(N,Y,de)}function Li(N,Y){if(typeof N=="object"&&N!==null){if(si(N))return Y!==void 0&&s(23),N[j].atom_;if(Zr(N))return N[j];if(ai(N)){if(Y===void 0)return N.keysAtom_;var de=N.data_.get(Y)||N.hasMap_.get(Y);return de||s(25,Y,Ki(N)),de}if(Ur(N)){if(!Y)return s(26);var le=N[j].values_.get(Y);return le||s(27,Y,Ki(N)),le}if(Ce(N)||ur(N)||ti(N))return N}else if(O(N)&&ti(N[j]))return N[j];s(28)}function Ii(N,Y){if(N||s(29),Y!==void 0)return Ii(Li(N,Y));if(Ce(N)||ur(N)||ti(N)||ai(N)||Zr(N))return N;if(N[j])return N[j];s(24,N)}function Ki(N,Y){var de;if(Y!==void 0)de=Li(N,Y);else{if(co(N))return N.name;Ur(N)||ai(N)||Zr(N)?de=Ii(N):de=Li(N)}return de.name_}var Po=d.toString;function zi(N,Y,de){return de===void 0&&(de=-1),Wo(N,Y,de)}function Wo(N,Y,de,le,Ie){if(N===Y)return N!==0||1/N==1/Y;if(N==null||Y==null)return!1;if(N!==N)return Y!==Y;var D=typeof N;if(!O(D)&&D!=="object"&&typeof Y!="object")return!1;var M=Po.call(N);if(M!==Po.call(Y))return!1;switch(M){case"[object RegExp]":case"[object String]":return""+N==""+Y;case"[object Number]":return+N!=+N?+Y!=+Y:+N==0?1/+N==1/Y:+N==+Y;case"[object Date]":case"[object Boolean]":return+N==+Y;case"[object Symbol]":return typeof Symbol!="undefined"&&Symbol.valueOf.call(N)===Symbol.valueOf.call(Y);case"[object Map]":case"[object Set]":de>=0&&de++;break}N=pi(N),Y=pi(Y);var z=M==="[object Array]";if(!z){if(typeof N!="object"||typeof Y!="object")return!1;var ge=N.constructor,Re=Y.constructor;if(ge!==Re&&!(O(ge)&&ge instanceof ge&&O(Re)&&Re instanceof Re)&&"constructor"in N&&"constructor"in Y)return!1}if(de===0)return!1;de<0&&(de=-1),le=le||[],Ie=Ie||[];for(var We=le.length;We--;)if(le[We]===N)return Ie[We]===Y;if(le.push(N),Ie.push(Y),z){if(We=N.length,We!==Y.length)return!1;for(;We--;)if(!Wo(N[We],Y[We],de-1,le,Ie))return!1}else{var ct=Object.keys(N),vt;if(We=ct.length,Object.keys(Y).length!==We)return!1;for(;We--;)if(vt=ct[We],!(te(Y,vt)&&Wo(N[vt],Y[vt],de-1,le,Ie)))return!1}return le.pop(),Ie.pop(),!0}function pi(N){return si(N)?N.slice():G(N)||ai(N)||Z(N)||Zr(N)?Array.from(N.entries()):N}function ao(N){return N[Symbol.iterator]=$s,N}function $s(){return this}function Gs(N){return N instanceof Object&&typeof N.annotationType_=="string"&&O(N.make_)&&O(N.extend_)}["Symbol","Map","Set","Symbol"].forEach(function(N){var Y=r();typeof Y[N]=="undefined"&&s("MobX requires global '"+N+"' to be available or polyfilled")}),typeof __MOBX_DEVTOOLS_GLOBAL_HOOK__=="object"&&__MOBX_DEVTOOLS_GLOBAL_HOOK__.injectMobx({spy:Ut,extras:{getDebugName:Ki},$mobx:j})},3342:(L,n,e)=>{"use strict";const t=e(4445),l={}.NODE_DISABLE_COLORS?{red:"",yellow:"",green:"",normal:""}:{red:"[31m",yellow:"[33;1m",green:"[32m",normal:"[0m"};function s(b,m,y){return y.indexOf(b)===m}function o(b){return new Set(b).size!==b.length}function r(b){return new Set(b).size<=1}function c(b,m){function y(O,C){return t.stringify(O)===t.stringify(Object.assign({},O,C))}return y(b,m)&&y(m,b)}function u(b){let m=[];for(let y of b)m.find(function(C,A,w){return c(C,y)})||m.push(y);return m}function a(b){return b.length===u(b).length}function d(b){return b.find(function(m,y,O){return b.indexOf(m)<y})}function h(b){let m=0,y;if(b.length===0)return m;for(let O=0;O<b.length;O++)y=b.charCodeAt(O),m=(m<<5)-m+y,m|=0;return m}String.prototype.toCamelCase=function(){return this.toLowerCase().replace(/[-_ \/\.](.)/g,function(m,y){return y.toUpperCase()})};const p=["format","minimum","maximum","exclusiveMinimum","exclusiveMaximum","minLength","maxLength","multipleOf","minItems","maxItems","uniqueItems","minProperties","maxProperties","additionalProperties","pattern","enum","default"],E=["items","minItems","maxItems","uniqueItems"],T=["get","post","put","delete","patch","head","options","trace"];function S(b){b=b.replace("[]","Array");let m=b.split("/");return m[0]=m[0].replace(/[^A-Za-z0-9_\-\.]+|\s+/gm,"_"),m.join("/")}function v(b){return S(b.split("/").join("_"))}L.exports={colour:l,uniqueOnly:s,hasDuplicates:o,allSame:r,distinctArray:a,firstDupe:d,hash:h,parameterTypeProperties:p,arrayProperties:E,httpMethods:T,sanitise:S,sanitiseAll:v}},64856:(L,n,e)=>{"use strict";const t=e(19045),l=e(26470),s=e(8575),o=e(88150),r=e(88150),c=e(97053).jptr,u=e(98401).recurse,a=e(64683).clone,d=e(14593).dereference,h=e(42592).isRef,p=e(3342);function E(g){return[...new Set(g)]}function T(g,k,G,Z,oe){return new Promise(function(ee,Ee){t.readFile(g,k,function(Fe,ce){Fe?G.ignoreIOErrors&&oe?(G.verbose&&console.warn("FAILED",Z),G.externalRefs[Z].failed=!0,ee(oe)):Ee(Fe):ee(ce)})})}function S(g,k,G,Z,oe,ee){let Ee=ee.externalRefs[G+Z].paths[0],Fe=s.parse(oe),ce={},te=1;for(;te;)te=0,u(g,{identityDetection:!0},function(he,Q,B){if(h(he,Q)){if(he[Q].startsWith("#")){if(!ce[he[Q]]&&!he.$fixed){let J=a(c(k,he[Q]));if(ee.verbose>1&&console.warn((J===!1?p.colour.red:p.colour.green)+"Fragment resolution",he[Q],p.colour.normal),J===!1){if(B.parent[B.pkey]={},ee.fatal){let re=new Error("Fragment $ref resolution failed "+he[Q]);if(ee.promise)ee.promise.reject(re);else throw re}}else te++,B.parent[B.pkey]=J,ce[he[Q]]=B.path.replace("/%24ref","")}else if(!he.$fixed){let J=(Ee+"/"+ce[he[Q]]).split("/#/").join("/");B.parent[B.pkey]={$ref:J,"x-miro":he[Q],$fixed:!0},ee.verbose>1&&console.warn("Replacing with",J),te++}}else if(Fe.protocol){let J=s.resolve(oe,he[Q]).toString();ee.verbose>1&&console.warn(p.colour.yellow+"Rewriting external url ref",he[Q],"as",J,p.colour.normal),he["x-miro"]=he[Q],ee.externalRefs[he[Q]]&&(ee.externalRefs[J]||(ee.externalRefs[J]=ee.externalRefs[he[Q]]),ee.externalRefs[J].failed=ee.externalRefs[he[Q]].failed),he[Q]=J}else if(!he["x-miro"]){let J=s.resolve(oe,he[Q]).toString(),re=!1;ee.externalRefs[he[Q]]&&(re=ee.externalRefs[he[Q]].failed),re||(ee.verbose>1&&console.warn(p.colour.yellow+"Rewriting external ref",he[Q],"as",J,p.colour.normal),he["x-miro"]=he[Q],he[Q]=J)}}});return u(g,{},function(he,Q,B){h(he,Q)&&typeof he.$fixed!="undefined"&&delete he.$fixed}),ee.verbose>1&&console.warn("Finished fragment resolution"),g}function v(g,k){if(!k.filters||!k.filters.length)return g;for(let G of k.filters)g=G(g,k);return g}function b(g,k){return g&&g.length>2?g:k&&k.length>2?k:"file:"}function m(g,k,G,Z){var oe=s.parse(G.source),ee=G.source.split("\\").join("/").split("/");ee.pop()||ee.pop();let Fe="",ce=k.split("#");ce.length>1&&(Fe="#"+ce[1],k=ce[0]),ee=ee.join("/");let te=s.parse(k),he=b(te.protocol,oe.protocol),Q;if(he==="file:"?Q=l.resolve(ee?ee+"/":"",k):Q=s.resolve(ee?ee+"/":"",k),G.cache[Q]){G.verbose&&console.warn("CACHED",Q,Fe);let B=a(G.cache[Q]),J=G.externalRef=B;if(Fe&&(J=c(J,Fe),J===!1&&(J={},G.fatal))){let re=new Error("Cached $ref resolution failed "+Q+Fe);if(G.promise)G.promise.reject(re);else throw re}return J=S(J,B,k,Fe,Q,G),J=v(J,G),Z(a(J),Q,G),Promise.resolve(J)}if(G.verbose&&console.warn("GET",Q,Fe),G.handlers&&G.handlers[he])return G.handlers[he](ee,k,Fe,G).then(function(B){return G.externalRef=B,B=v(B,G),G.cache[Q]=B,Z(B,Q,G),B}).catch(function(B){throw G.verbose&&console.warn(B),B});if(he&&he.startsWith("http")){const B=Object.assign({},G.fetchOptions,{agent:G.agent});return G.fetch(Q,B).then(function(J){if(J.status!==200){if(G.ignoreIOErrors)return G.verbose&&console.warn("FAILED",k),G.externalRefs[k].failed=!0,'{"$ref":"'+k+'"}';throw new Error(`Received status code ${J.status}: ${Q}`)}return J.text()}).then(function(J){try{let re=r.parse(J,{schema:"core",prettyErrors:!0});if(J=G.externalRef=re,G.cache[Q]=a(J),Fe&&(J=c(J,Fe),J===!1&&(J={},G.fatal))){let W=new Error("Remote $ref resolution failed "+Q+Fe);if(G.promise)G.promise.reject(W);else throw W}J=S(J,re,k,Fe,Q,G),J=v(J,G)}catch(re){if(G.verbose&&console.warn(re),G.promise&&G.fatal)G.promise.reject(re);else throw re}return Z(J,Q,G),J}).catch(function(J){if(G.verbose&&console.warn(J),G.cache[Q]={},G.promise&&G.fatal)G.promise.reject(J);else throw J})}else{const B='{"$ref":"'+k+'"}';return T(Q,G.encoding||"utf8",G,k,B).then(function(J){try{let re=r.parse(J,{schema:"core",prettyErrors:!0});if(J=G.externalRef=re,G.cache[Q]=a(J),Fe&&(J=c(J,Fe),J===!1&&(J={},G.fatal))){let W=new Error("File $ref resolution failed "+Q+Fe);if(G.promise)G.promise.reject(W);else throw W}J=S(J,re,k,Fe,Q,G),J=v(J,G)}catch(re){if(G.verbose&&console.warn(re),G.promise&&G.fatal)G.promise.reject(re);else throw re}return Z(J,Q,G),J}).catch(function(J){if(G.verbose&&console.warn(J),G.promise&&G.fatal)G.promise.reject(J);else throw J})}}function y(g){return new Promise(function(k,G){function Z(ee,Ee,Fe){if(ee[Ee]&&h(ee[Ee],"$ref")){let ce=ee[Ee].$ref;if(!ce.startsWith("#")){let te="";if(!oe[ce]){let he=Object.keys(oe).find(function(Q,B,J){return ce.startsWith(Q+"/")});he&&(g.verbose&&console.warn("Found potential subschema at",he),te="/"+(ce.split("#")[1]||"").replace(he.split("#")[1]||""),te=te.split("/undefined").join(""),ce=he)}if(oe[ce]||(oe[ce]={resolved:!1,paths:[],extras:{},description:ee[Ee].description}),oe[ce].resolved){if(!oe[ce].failed)if(g.rewriteRefs){let he=oe[ce].resolvedAt;g.verbose>1&&console.warn("Rewriting ref",ce,he),ee[Ee]["x-miro"]=ce,ee[Ee].$ref=he+te}else ee[Ee]=a(oe[ce].data)}else oe[ce].paths.push(Fe.path),oe[ce].extras[Fe.path]=te}}}let oe=g.externalRefs;if(g.resolver.depth>0&&g.source===g.resolver.base)return k(oe);u(g.openapi.definitions,{identityDetection:!0,path:"#/definitions"},Z),u(g.openapi.components,{identityDetection:!0,path:"#/components"},Z),u(g.openapi,{identityDetection:!0},Z),k(oe)})}function O(g){return new Promise(function(k,G){y(g).then(function(oe){for(let ee in oe)if(!oe[ee].resolved){let Ee=g.resolver.depth;Ee>0&&Ee++,g.resolver.actions[Ee].push(function(){return m(g.openapi,ee,g,function(Fe,ce,te){if(!oe[ee].resolved){let B={};B.context=oe[ee],B.$ref=ee,B.original=a(Fe),B.updated=Fe,B.source=ce,te.externals.push(B),oe[ee].resolved=!0}let he=Object.assign({},te,{source:"",resolver:{actions:te.resolver.actions,depth:te.resolver.actions.length-1,base:te.resolver.base}});te.patch&&oe[ee].description&&!Fe.description&&typeof Fe=="object"&&(Fe.description=oe[ee].description),oe[ee].data=Fe;let Q=E(oe[ee].paths);Q=Q.sort(function(B,J){const re=B.startsWith("#/components/")||B.startsWith("#/definitions/"),W=J.startsWith("#/components/")||J.startsWith("#/definitions/");return re&&!W?-1:W&&!re?1:0});for(let B of Q)if(oe[ee].resolvedAt&&B!==oe[ee].resolvedAt&&B.indexOf("x-ms-examples/")<0)te.verbose>1&&console.warn("Creating pointer to data at",B),c(te.openapi,B,{$ref:oe[ee].resolvedAt+oe[ee].extras[B],"x-miro":ee+oe[ee].extras[B]});else{oe[ee].resolvedAt?te.verbose>1&&console.warn("Avoiding circular reference"):(oe[ee].resolvedAt=B,te.verbose>1&&console.warn("Creating initial clone of data at",B));let J=a(Fe);c(te.openapi,B,J)}te.resolver.actions[he.resolver.depth].length===0&&te.resolver.actions[he.resolver.depth].push(function(){return O(he)})})})}}).catch(function(oe){g.verbose&&console.warn(oe),G(oe)});let Z={options:g};Z.actions=g.resolver.actions[g.resolver.depth],k(Z)})}const C=g=>g.reduce((k,G)=>k.then(Z=>G().then(Array.prototype.concat.bind(Z))),Promise.resolve([]));function A(g,k,G){g.resolver.actions.push([]),O(g).then(function(Z){C(Z.actions).then(function(){if(g.resolver.depth>=g.resolver.actions.length)return console.warn("Ran off the end of resolver actions"),k(!0);g.resolver.depth++,g.resolver.actions[g.resolver.depth].length?setTimeout(function(){A(Z.options,k,G)},0):(g.verbose>1&&console.warn(p.colour.yellow+"Finished external resolution!",p.colour.normal),g.resolveInternal&&(g.verbose>1&&console.warn(p.colour.yellow+"Starting internal resolution!",p.colour.normal),g.openapi=d(g.openapi,g.original,{verbose:g.verbose-1}),g.verbose>1&&console.warn(p.colour.yellow+"Finished internal resolution!",p.colour.normal)),u(g.openapi,{},function(oe,ee,Ee){h(oe,ee)&&(g.preserveMiro||delete oe["x-miro"])}),k(g))}).catch(function(oe){g.verbose&&console.warn(oe),G(oe)})}).catch(function(Z){g.verbose&&console.warn(Z),G(Z)})}function w(g){if(g.cache||(g.cache={}),g.fetch||(g.fetch=o),g.source){let k=s.parse(g.source);(!k.protocol||k.protocol.length<=2)&&(g.source=l.resolve(g.source))}g.externals=[],g.externalRefs={},g.rewriteRefs=!0,g.resolver={},g.resolver.depth=0,g.resolver.base=g.source,g.resolver.actions=[[]]}function x(g){return w(g),new Promise(function(k,G){g.resolve?A(g,k,G):k(g)})}function R(g,k,G){return G||(G={}),G.openapi=g,G.source=k,G.resolve=!0,w(G),new Promise(function(Z,oe){A(G,Z,oe)})}L.exports={optionalResolve:x,resolve:R}},31804:L=>{"use strict";function n(){return{depth:0,seen:new WeakMap,top:!0,combine:!1,allowRefSiblings:!1}}function e(t,l,s,o){if(typeof s.depth=="undefined"&&(s=n()),t===null||typeof t=="undefined")return t;if(typeof t.$ref!="undefined"){let r={$ref:t.$ref};return s.allowRefSiblings&&t.description&&(r.description=t.description),o(r,l,s),r}if(s.combine&&(t.allOf&&Array.isArray(t.allOf)&&t.allOf.length===1&&(t=Object.assign({},t.allOf[0],t),delete t.allOf),t.anyOf&&Array.isArray(t.anyOf)&&t.anyOf.length===1&&(t=Object.assign({},t.anyOf[0],t),delete t.anyOf),t.oneOf&&Array.isArray(t.oneOf)&&t.oneOf.length===1&&(t=Object.assign({},t.oneOf[0],t),delete t.oneOf)),o(t,l,s),s.seen.has(t))return t;if(typeof t=="object"&&t!==null&&s.seen.set(t,!0),s.top=!1,s.depth++,typeof t.items!="undefined"&&(s.property="items",e(t.items,t,s,o)),t.additionalItems&&typeof t.additionalItems=="object"&&(s.property="additionalItems",e(t.additionalItems,t,s,o)),t.additionalProperties&&typeof t.additionalProperties=="object"&&(s.property="additionalProperties",e(t.additionalProperties,t,s,o)),t.properties)for(let r in t.properties){let c=t.properties[r];s.property="properties/"+r,e(c,t,s,o)}if(t.patternProperties)for(let r in t.patternProperties){let c=t.patternProperties[r];s.property="patternProperties/"+r,e(c,t,s,o)}if(t.allOf)for(let r in t.allOf){let c=t.allOf[r];s.property="allOf/"+r,e(c,t,s,o)}if(t.anyOf)for(let r in t.anyOf){let c=t.anyOf[r];s.property="anyOf/"+r,e(c,t,s,o)}if(t.oneOf)for(let r in t.oneOf){let c=t.oneOf[r];s.property="oneOf/"+r,e(c,t,s,o)}return t.not&&(s.property="not",e(t.not,t,s,o)),s.depth--,t}L.exports={getDefaultState:n,walkSchema:e}},27418:L=>{"use strict";/*
|
|
2728
|
+
`)()}}function Mn(N,Y,de){if(Y.length>=1e3){Y.push("(and many more)");return}Y.push(""+new Array(de).join(" ")+N.name),N.dependencies&&N.dependencies.forEach(function(le){return Mn(le,Y,de+1)})}var lr=function(){function N(de,le,Ie,D){de===void 0&&(de="Reaction"),D===void 0&&(D=!1),this.name_=void 0,this.onInvalidate_=void 0,this.errorHandler_=void 0,this.requiresObservable_=void 0,this.observing_=[],this.newObserving_=[],this.dependenciesState_=Qn.NOT_TRACKING_,this.diffValue_=0,this.runId_=0,this.unboundDepsCount_=0,this.isDisposed_=!1,this.isScheduled_=!1,this.isTrackPending_=!1,this.isRunning_=!1,this.isTracing_=vr.NONE,this.name_=de,this.onInvalidate_=le,this.errorHandler_=Ie,this.requiresObservable_=D}var Y=N.prototype;return Y.onBecomeStale_=function(){this.schedule_()},Y.schedule_=function(){this.isScheduled_||(this.isScheduled_=!0,rt.pendingReactions.push(this),qr())},Y.isScheduled=function(){return this.isScheduled_},Y.runReaction_=function(){if(!this.isDisposed_){jt(),this.isScheduled_=!1;var le=rt.trackingContext;if(rt.trackingContext=this,Er(this)){this.isTrackPending_=!0;try{this.onInvalidate_()}catch(Ie){this.reportExceptionInDerivation_(Ie)}}rt.trackingContext=le,on()}},Y.track=function(le){if(!this.isDisposed_){jt();var Ie=Fr(),D;this.isRunning_=!0;var M=rt.trackingContext;rt.trackingContext=this;var z=qn(this,le,void 0);rt.trackingContext=M,this.isRunning_=!1,this.isTrackPending_=!1,this.isDisposed_&&pn(this),jr(z)&&this.reportExceptionInDerivation_(z.cause),on()}},Y.reportExceptionInDerivation_=function(le){var Ie=this;if(this.errorHandler_){this.errorHandler_(le,this);return}if(rt.disableErrorBoundaries)throw le;var D="[mobx] uncaught error in '"+this+"'";rt.suppressReactionErrors||console.error(D,le),rt.globalReactionErrorHandlers.forEach(function(M){return M(le,Ie)})},Y.dispose=function(){this.isDisposed_||(this.isDisposed_=!0,this.isRunning_||(jt(),pn(this),on()))},Y.getDisposer_=function(){var le=this.dispose.bind(this);return le[j]=this,le},Y.toString=function(){return"Reaction["+this.name_+"]"},Y.trace=function(le){le===void 0&&(le=!1),or(this,le)},N}();function ni(N){return rt.globalReactionErrorHandlers.push(N),function(){var Y=rt.globalReactionErrorHandlers.indexOf(N);Y>=0&&rt.globalReactionErrorHandlers.splice(Y,1)}}var Hr=100,_r=function(Y){return Y()};function qr(){rt.inBatch>0||rt.isRunningReactions||_r(Kr)}function Kr(){rt.isRunningReactions=!0;for(var N=rt.pendingReactions,Y=0;N.length>0;){++Y===Hr&&(console.error("[mobx] cycle in reaction: "+N[0]),N.splice(0));for(var de=N.splice(0),le=0,Ie=de.length;le<Ie;le++)de[le].runReaction_()}rt.isRunningReactions=!1}var ti=k("Reaction",lr);function Lr(N){var Y=_r;_r=function(le){return N(function(){return Y(le)})}}function Fr(){return!1}function fe(N){return;for(var Y,de,le;de<le;de++)Y[de](N)}function xe(N){return;var Y}var Ge={type:"report-end",spyReportEnd:!0};function ht(N){}function Ut(N){return console.warn("[mobx.spy] Is a no-op in production builds"),function(){}}var hn="action",wn="action.bound",Bn="autoAction",dr="autoAction.bound",pr="<unnamed action>",Nr=qe(hn),mr=qe(wn,{bound:!0}),kr=qe(Bn,{autoAction:!0}),ui=qe(dr,{autoAction:!0,bound:!0});function ci(N){var Y=function(le,Ie){if(O(le))return Fn(le.name||pr,le,N);if(O(Ie))return Fn(le,Ie,N);if(C(Ie))return nt(le,Ie,N?kr:Nr);if(C(le))return De(qe(N?Bn:hn,{name:le,autoAction:N}))};return Y}var Yr=ci(!1);Object.assign(Yr,Nr);var Jr=ci(!0);Object.assign(Jr,kr),Yr.bound=De(mr),Jr.bound=De(ui);function oi(N){return Nn(N.name||pr,!1,N,this,void 0)}function co(N){return O(N)&&N.isMobxAction===!0}function fo(N,Y){var de,le;Y===void 0&&(Y=p);var Ie=(de=(le=Y)==null?void 0:le.name)!=null?de:"Autorun",D=!Y.scheduler&&!Y.delay,M;if(D)M=new lr(Ie,function(){this.track(Ae)},Y.onError,Y.requiresObservable);else{var z=Ao(Y),ge=!1;M=new lr(Ie,function(){ge||(ge=!0,z(function(){ge=!1,M.isDisposed_||M.track(Ae)}))},Y.onError,Y.requiresObservable)}function Ae(){N(M)}return M.schedule_(),M.getDisposer_()}var zs=function(Y){return Y()};function Ao(N){return N.scheduler?N.scheduler:N.delay?function(Y){return setTimeout(Y,N.delay)}:zs}function Go(N,Y,de){var le;de===void 0&&(de=p);var Ie=(le=de.name)!=null?le:"Reaction",D=Yr(Ie,de.onError?ra(de.onError,Y):Y),M=!de.scheduler&&!de.delay,z=Ao(de),ge=!0,Ae=!1,Ve,ct=void 0,vt=de.compareStructural?H.structural:de.equals||H.default,_t=new lr(Ie,function(){ge||M?Sn():Ae||(Ae=!0,z(Sn))},de.onError,de.requiresObservable);function Sn(){if(Ae=!1,!_t.isDisposed_){var Wn=!1;_t.track(function(){var tr=En(!1,function(){return N(_t)});Wn=ge||!vt(Ve,tr),ct=Ve,Ve=tr}),(ge&&de.fireImmediately||!ge&&Wn)&&D(Ve,ct,_t),ge=!1}}return _t.schedule_(),_t.getDisposer_()}function ra(N,Y){return function(){try{return Y.apply(this,arguments)}catch(de){N.call(this,de)}}}var xa="onBO",Gi="onBUO";function ys(N,Y,de){return bs(xa,N,Y,de)}function jo(N,Y,de){return bs(Gi,N,Y,de)}function bs(N,Y,de,le){var Ie=typeof le=="function"?Li(Y,de):Li(Y),D=O(le)?le:de,M=N+"L";return Ie[M]?Ie[M].add(D):Ie[M]=new Set([D]),function(){var z=Ie[M];z&&(z.delete(D),z.size===0&&delete Ie[M])}}var ia="never",Yo="always",Jo="observed";function Es(N){N.isolateGlobalState===!0&&sn();var Y=N.useProxies,de=N.enforceActions;if(Y!==void 0&&(rt.useProxies=Y===Yo?!0:Y===ia?!1:typeof Proxy!="undefined"),Y==="ifavailable"&&(rt.verifyProxies=!0),de!==void 0){var le=de===Yo?Yo:de===Jo;rt.enforceActions=le,rt.allowStateChanges=!(le===!0||le===Yo)}["computedRequiresReaction","reactionRequiresObservable","observableRequiresReaction","disableErrorBoundaries","safeDescriptors"].forEach(function(Ie){Ie in N&&(rt[Ie]=!!N[Ie])}),rt.allowStateReads=!rt.observableRequiresReaction,N.reactionScheduler&&Lr(N.reactionScheduler)}function hi(N,Y,de,le){var Ie=he(Y),D=Xi(N,le)[j];jt();try{Ee(Ie).forEach(function(M){D.extend_(M,Ie[M],de&&M in de?de[M]:!0)})}finally{on()}return N}function Os(N,Y){return Zo(Li(N,Y))}function Zo(N){var Y={name:N.name_};return N.observing_&&N.observing_.length>0&&(Y.dependencies=po(N.observing_).map(Zo)),Y}function Fi(N,Y){return Xo(Li(N,Y))}function Xo(N){var Y={name:N.name_};return Ht(N)&&(Y.observers=Array.from(Tn(N)).map(Xo)),Y}function po(N){return Array.from(new Set(N))}var qo=0;function to(){this.message="FLOW_CANCELLED"}to.prototype=Object.create(Error.prototype);function oa(N){return N instanceof to}var Ss=we("flow"),es=we("flow.bound",{bound:!0}),Ar=Object.assign(function(Y,de){if(C(de))return nt(Y,de,Ss);var le=Y,Ie=le.name||"<unnamed flow>",D=function(){var z=this,ge=arguments,Ae=++qo,Ve=Yr(Ie+" - runid: "+Ae+" - init",le).apply(z,ge),ct,vt=void 0,_t=new Promise(function(Sn,Wn){var tr=0;ct=Wn;function F(Bt){vt=void 0;var Gt;try{Gt=Yr(Ie+" - runid: "+Ae+" - yield "+tr++,Ve.next).call(Ve,Bt)}catch(Wt){return Wn(Wt)}Ne(Gt)}function me(Bt){vt=void 0;var Gt;try{Gt=Yr(Ie+" - runid: "+Ae+" - yield "+tr++,Ve.throw).call(Ve,Bt)}catch(Wt){return Wn(Wt)}Ne(Gt)}function Ne(Bt){if(O(Bt==null?void 0:Bt.then)){Bt.then(Ne,Wn);return}return Bt.done?Sn(Bt.value):(vt=Promise.resolve(Bt.value),vt.then(F,me))}F(void 0)});return _t.cancel=Yr(Ie+" - runid: "+Ae+" - cancel",function(){try{vt&&ts(vt);var Sn=Ve.return(void 0),Wn=Promise.resolve(Sn.value);Wn.then(y,y),ts(Wn),ct(new to)}catch(tr){ct(tr)}}),_t};return D.isMobXFlow=!0,D},Ss);Ar.bound=De(es);function ts(N){O(N.cancel)&&N.cancel()}function Ws(N){return N}function Yi(N){return(N==null?void 0:N.isMobXFlow)===!0}function sa(N,Y,de){var le;return ai(N)||si(N)||xn(N)?le=Ii(N):Ur(N)&&(le=Ii(N,Y)),le.dehancer=typeof Y=="function"?Y:de,function(){le.dehancer=void 0}}function aa(N,Y,de){return O(de)?ns(N,Y,de):la(N,Y)}function la(N,Y){return Ii(N).intercept_(Y)}function ns(N,Y,de){return Ii(N,Y).intercept_(de)}function Fo(N,Y){if(Y!==void 0){if(Ur(N)===!1||!N[j].values_.has(Y))return!1;var de=Li(N,Y);return ur(de)}return ur(N)}function Io(N){return Fo(N)}function ho(N,Y){return Fo(N,Y)}function rs(N,Y){return N?Y!==void 0?Ur(N)?N[j].values_.has(Y):!1:Ur(N)||!!N[j]||Ce(N)||ti(N)||ur(N):!1}function mo(N){return rs(N)}function ua(N,Y){return rs(N,Y)}function ko(N){if(Ur(N))return N[j].keys_();if(ai(N)||Zr(N))return Array.from(N.keys());if(si(N))return N.map(function(Y,de){return de});s(5)}function Ps(N){if(Ur(N))return ko(N).map(function(Y){return N[Y]});if(ai(N))return ko(N).map(function(Y){return N.get(Y)});if(Zr(N))return Array.from(N.values());if(si(N))return N.slice();s(6)}function xs(N){if(Ur(N))return ko(N).map(function(Y){return[Y,N[Y]]});if(ai(N))return ko(N).map(function(Y){return[Y,N.get(Y)]});if(Zr(N))return Array.from(N.entries());if(si(N))return N.map(function(Y,de){return[de,Y]});s(7)}function Bo(N,Y,de){if(arguments.length===2&&!Zr(N)){jt();var le=Y;try{for(var Ie in le)Bo(N,Ie,le[Ie])}finally{on()}return}Ur(N)?N[j].set_(Y,de):ai(N)?N.set(Y,de):Zr(N)?N.add(Y):si(N)?(typeof Y!="number"&&(Y=parseInt(Y,10)),Y<0&&s("Invalid index: '"+Y+"'"),jt(),Y>=N.length&&(N.length=Y+1),N[Y]=de,on()):s(8)}function ca(N,Y){Ur(N)?N[j].delete_(Y):ai(N)||Zr(N)?N.delete(Y):si(N)?(typeof Y!="number"&&(Y=parseInt(Y,10)),N.splice(Y,1)):s(9)}function ws(N,Y){if(Ur(N))return N[j].has_(Y);if(ai(N))return N.has(Y);if(Zr(N))return N.has(Y);if(si(N))return Y>=0&&Y<N.length;s(10)}function da(N,Y){if(!!ws(N,Y)){if(Ur(N))return N[j].get_(Y);if(ai(N))return N.get(Y);if(si(N))return N[Y];s(11)}}function fa(N,Y,de){if(Ur(N))return N[j].defineProperty_(Y,de);s(39)}function Ts(N){if(Ur(N))return N[j].ownKeys_();s(38)}function Cs(N,Y,de,le){return O(de)?Ri(N,Y,de,le):Vs(N,Y,de)}function Vs(N,Y,de){return Ii(N).observe_(Y,de)}function Ri(N,Y,de,le){return Ii(N,Y).observe_(de,le)}function Do(N,Y,de){return N.set(Y,de),de}function Ei(N,Y){if(N==null||typeof N!="object"||N instanceof Date||!mo(N))return N;if(xn(N)||ur(N))return Ei(N.get(),Y);if(Y.has(N))return Y.get(N);if(si(N)){var de=Do(Y,N,new Array(N.length));return N.forEach(function(M,z){de[z]=Ei(M,Y)}),de}if(Zr(N)){var le=Do(Y,N,new Set);return N.forEach(function(M){le.add(Ei(M,Y))}),le}if(ai(N)){var Ie=Do(Y,N,new Map);return N.forEach(function(M,z){Ie.set(z,Ei(M,Y))}),Ie}else{var D=Do(Y,N,{});return Ts(N).forEach(function(M){d.propertyIsEnumerable.call(N,M)&&(D[M]=Ei(N[M],Y))}),D}}function Hs(N,Y){return Ei(N,new Map)}function or(){s("trace() is not available in production builds");for(var N=!1,Y=arguments.length,de=new Array(Y),le=0;le<Y;le++)de[le]=arguments[le];typeof de[de.length-1]=="boolean"&&(N=de.pop());var Ie=Ji(de);if(!Ie)return s("'trace(break?)' can only be used inside a tracked computed value or a Reaction. Consider passing in the computed value or reaction explicitly");Ie.isTracing_===vr.NONE&&console.log("[mobx.trace] '"+Ie.name_+"' tracing enabled"),Ie.isTracing_=N?vr.BREAK:vr.LOG}function Ji(N){switch(N.length){case 0:return rt.trackingDerivation;case 1:return Li(N[0]);case 2:return Li(N[0],N[1])}}function ki(N,Y){Y===void 0&&(Y=void 0),jt();try{return N.apply(Y)}finally{on()}}function Ks(N,Y,de){return arguments.length===1||Y&&typeof Y=="object"?go(N,Y):Qs(N,Y,de||{})}function Qs(N,Y,de){var le;typeof de.timeout=="number"&&(le=setTimeout(function(){if(!D[j].isDisposed_){D();var M=new Error("WHEN_TIMEOUT");if(de.onError)de.onError(M);else throw M}},de.timeout)),de.name="When";var Ie=Fn("When-effect",Y),D=fo(function(M){var z=En(!1,N);z&&(M.dispose(),le&&clearTimeout(le),Ie())},de);return D}function go(N,Y){var de,le=new Promise(function(Ie,D){var M=Qs(N,Ie,J({},Y,{onError:D}));de=function(){M(),D("WHEN_CANCELLED")}});return le.cancel=de,le}function Zi(N){return N[j]}var $o={has:function(Y,de){return Zi(Y).has_(de)},get:function(Y,de){return Zi(Y).get_(de)},set:function(Y,de,le){var Ie;return C(de)?(Ie=Zi(Y).set_(de,le,!0))!=null?Ie:!0:!1},deleteProperty:function(Y,de){var le;return C(de)?(le=Zi(Y).delete_(de,!0))!=null?le:!0:!1},defineProperty:function(Y,de,le){var Ie;return(Ie=Zi(Y).defineProperty_(de,le))!=null?Ie:!0},ownKeys:function(Y){return Zi(Y).ownKeys_()},preventExtensions:function(Y){s(13)}};function is(N,Y){var de,le;return S(),N=Xi(N,Y),(le=(de=N[j]).proxy_)!=null?le:de.proxy_=new Proxy(N,$o)}function di(N){return N.interceptors_!==void 0&&N.interceptors_.length>0}function vo(N,Y){var de=N.interceptors_||(N.interceptors_=[]);return de.push(Y),m(function(){var le=de.indexOf(Y);le!==-1&&de.splice(le,1)})}function mi(N,Y){var de=er();try{for(var le=[].concat(N.interceptors_||[]),Ie=0,D=le.length;Ie<D&&(Y=le[Ie](Y),Y&&!Y.type&&s(14),!!Y);Ie++);return Y}finally{ar(de)}}function gi(N){return N.changeListeners_!==void 0&&N.changeListeners_.length>0}function no(N,Y){var de=N.changeListeners_||(N.changeListeners_=[]);return de.push(Y),m(function(){var le=de.indexOf(Y);le!==-1&&de.splice(le,1)})}function wi(N,Y){var de=er(),le=N.changeListeners_;if(!!le){le=le.slice();for(var Ie=0,D=le.length;Ie<D;Ie++)le[Ie](Y);ar(de)}}function os(N,Y,de){var le=Xi(N,de)[j];jt();try{var Ie;(Ie=Y)!=null||(Y=_e(N)),Ee(Y).forEach(function(D){return le.make_(D,Y[D])})}finally{on()}return N}var zr=null;function Rs(N,Y,de){if(w(N))return hi(N,N,Y,de);var le=Xi(N,de)[j];if(!N[zr]){var Ie=Object.getPrototypeOf(N),D=new Set([].concat(Ee(N),Ee(Ie)));D.delete("constructor"),D.delete(j),R(Ie,zr,D)}jt();try{N[zr].forEach(function(M){return le.make_(M,Y&&M in Y?Y[M]:!0)})}finally{on()}return N}var ss="splice",vi="update",As=1e4,Is={get:function(Y,de){var le=Y[j];return de===j?le:de==="length"?le.getArrayLength_():typeof de=="string"&&!isNaN(de)?le.get_(parseInt(de)):te(Bi,de)?Bi[de]:Y[de]},set:function(Y,de,le){var Ie=Y[j];return de==="length"&&Ie.setArrayLength_(le),typeof de=="symbol"||isNaN(de)?Y[de]=le:Ie.set_(parseInt(de),le),!0},preventExtensions:function(){s(15)}},yo=function(){function N(de,le,Ie,D){de===void 0&&(de="ObservableArray"),this.owned_=void 0,this.legacyMode_=void 0,this.atom_=void 0,this.values_=[],this.interceptors_=void 0,this.changeListeners_=void 0,this.enhancer_=void 0,this.dehancer=void 0,this.proxy_=void 0,this.lastKnownLength_=0,this.owned_=Ie,this.legacyMode_=D,this.atom_=new ue(de),this.enhancer_=function(M,z){return le(M,z,"ObservableArray[..]")}}var Y=N.prototype;return Y.dehanceValue_=function(le){return this.dehancer!==void 0?this.dehancer(le):le},Y.dehanceValues_=function(le){return this.dehancer!==void 0&&le.length>0?le.map(this.dehancer):le},Y.intercept_=function(le){return vo(this,le)},Y.observe_=function(le,Ie){return Ie===void 0&&(Ie=!1),Ie&&le({observableKind:"array",object:this.proxy_,debugObjectName:this.atom_.name_,type:"splice",index:0,added:this.values_.slice(),addedCount:this.values_.length,removed:[],removedCount:0}),no(this,le)},Y.getArrayLength_=function(){return this.atom_.reportObserved(),this.values_.length},Y.setArrayLength_=function(le){(typeof le!="number"||le<0)&&s("Out of range: "+le);var Ie=this.values_.length;if(le!==Ie)if(le>Ie){for(var D=new Array(le-Ie),M=0;M<le-Ie;M++)D[M]=void 0;this.spliceWithArray_(Ie,0,D)}else this.spliceWithArray_(le,Ie-le)},Y.updateArrayLength_=function(le,Ie){le!==this.lastKnownLength_&&s(16),this.lastKnownLength_+=Ie,this.legacyMode_&&Ie>0&&So(le+Ie+1)},Y.spliceWithArray_=function(le,Ie,D){var M=this;Sr(this.atom_);var z=this.values_.length;if(le===void 0?le=0:le>z?le=z:le<0&&(le=Math.max(0,z+le)),arguments.length===1?Ie=z-le:Ie==null?Ie=0:Ie=Math.max(0,Math.min(Ie,z-le)),D===void 0&&(D=h),di(this)){var ge=mi(this,{object:this.proxy_,type:ss,index:le,removedCount:Ie,added:D});if(!ge)return h;Ie=ge.removedCount,D=ge.added}if(D=D.length===0?D:D.map(function(ct){return M.enhancer_(ct,void 0)}),this.legacyMode_){var Ae=D.length-Ie;this.updateArrayLength_(z,Ae)}var Ve=this.spliceItemsIntoValues_(le,Ie,D);return(Ie!==0||D.length!==0)&&this.notifyArraySplice_(le,D,Ve),this.dehanceValues_(Ve)},Y.spliceItemsIntoValues_=function(le,Ie,D){if(D.length<As){var M;return(M=this.values_).splice.apply(M,[le,Ie].concat(D))}else{var z=this.values_.slice(le,le+Ie),ge=this.values_.slice(le+Ie);this.values_.length=le+D.length-Ie;for(var Ae=0;Ae<D.length;Ae++)this.values_[le+Ae]=D[Ae];for(var Ve=0;Ve<ge.length;Ve++)this.values_[le+D.length+Ve]=ge[Ve];return z}},Y.notifyArrayChildUpdate_=function(le,Ie,D){var M=!this.owned_&&Fr(),z=gi(this),ge=z||M?{observableKind:"array",object:this.proxy_,type:vi,debugObjectName:this.atom_.name_,index:le,newValue:Ie,oldValue:D}:null;this.atom_.reportChanged(),z&&wi(this,ge)},Y.notifyArraySplice_=function(le,Ie,D){var M=!this.owned_&&Fr(),z=gi(this),ge=z||M?{observableKind:"array",object:this.proxy_,debugObjectName:this.atom_.name_,type:ss,index:le,removed:D,added:Ie,removedCount:D.length,addedCount:Ie.length}:null;this.atom_.reportChanged(),z&&wi(this,ge)},Y.get_=function(le){if(le<this.values_.length)return this.atom_.reportObserved(),this.dehanceValue_(this.values_[le]);console.warn("[mobx.array] Attempt to read an array index ("+le+") that is out of bounds ("+this.values_.length+"). Please check length first. Out of bound indices will not be tracked by MobX")},Y.set_=function(le,Ie){var D=this.values_;if(le<D.length){Sr(this.atom_);var M=D[le];if(di(this)){var z=mi(this,{type:vi,object:this.proxy_,index:le,newValue:Ie});if(!z)return;Ie=z.newValue}Ie=this.enhancer_(Ie,M);var ge=Ie!==M;ge&&(D[le]=Ie,this.notifyArrayChildUpdate_(le,Ie,M))}else le===D.length?this.spliceWithArray_(le,0,[Ie]):s(17,le,D.length)},N}();function Uo(N,Y,de,le){de===void 0&&(de="ObservableArray"),le===void 0&&(le=!1),S();var Ie=new yo(de,Y,le,!1);g(Ie.values_,j,Ie);var D=new Proxy(Ie.values_,Is);if(Ie.proxy_=D,N&&N.length){var M=Xn(!0);Ie.spliceWithArray_(0,0,N),kn(M)}return D}var Bi={clear:function(){return this.splice(0)},replace:function(Y){var de=this[j];return de.spliceWithArray_(0,de.values_.length,Y)},toJSON:function(){return this.slice()},splice:function(Y,de){for(var le=arguments.length,Ie=new Array(le>2?le-2:0),D=2;D<le;D++)Ie[D-2]=arguments[D];var M=this[j];switch(arguments.length){case 0:return[];case 1:return M.spliceWithArray_(Y);case 2:return M.spliceWithArray_(Y,de)}return M.spliceWithArray_(Y,de,Ie)},spliceWithArray:function(Y,de,le){return this[j].spliceWithArray_(Y,de,le)},push:function(){for(var Y=this[j],de=arguments.length,le=new Array(de),Ie=0;Ie<de;Ie++)le[Ie]=arguments[Ie];return Y.spliceWithArray_(Y.values_.length,0,le),Y.values_.length},pop:function(){return this.splice(Math.max(this[j].values_.length-1,0),1)[0]},shift:function(){return this.splice(0,1)[0]},unshift:function(){for(var Y=this[j],de=arguments.length,le=new Array(de),Ie=0;Ie<de;Ie++)le[Ie]=arguments[Ie];return Y.spliceWithArray_(0,0,le),Y.values_.length},reverse:function(){return rt.trackingDerivation&&s(37,"reverse"),this.replace(this.slice().reverse()),this},sort:function(){rt.trackingDerivation&&s(37,"sort");var Y=this.slice();return Y.sort.apply(Y,arguments),this.replace(Y),this},remove:function(Y){var de=this[j],le=de.dehanceValues_(de.values_).indexOf(Y);return le>-1?(this.splice(le,1),!0):!1}};ei("concat",Ai),ei("flat",Ai),ei("includes",Ai),ei("indexOf",Ai),ei("join",Ai),ei("lastIndexOf",Ai),ei("slice",Ai),ei("toString",Ai),ei("toLocaleString",Ai),ei("every",$i),ei("filter",$i),ei("find",$i),ei("findIndex",$i),ei("flatMap",$i),ei("forEach",$i),ei("map",$i),ei("some",$i),ei("reduce",_o),ei("reduceRight",_o);function ei(N,Y){typeof Array.prototype[N]=="function"&&(Bi[N]=Y(N))}function Ai(N){return function(){var Y=this[j];Y.atom_.reportObserved();var de=Y.dehanceValues_(Y.values_);return de[N].apply(de,arguments)}}function $i(N){return function(Y,de){var le=this,Ie=this[j];Ie.atom_.reportObserved();var D=Ie.dehanceValues_(Ie.values_);return D[N](function(M,z){return Y.call(de,M,z,le)})}}function _o(N){return function(){var Y=this,de=this[j];de.atom_.reportObserved();var le=de.dehanceValues_(de.values_),Ie=arguments[0];return arguments[0]=function(D,M,z){return Ie(D,M,z,Y)},le[N].apply(le,arguments)}}var Ds=k("ObservableArrayAdministration",yo);function si(N){return A(N)&&Ds(N[j])}var zo,Mi,as={},Oi="add",Mo="delete";zo=Symbol.iterator,Mi=Symbol.toStringTag;var ls=function(){function N(de,le,Ie){le===void 0&&(le=I),Ie===void 0&&(Ie="ObservableMap"),this.enhancer_=void 0,this.name_=void 0,this[j]=as,this.data_=void 0,this.hasMap_=void 0,this.keysAtom_=void 0,this.interceptors_=void 0,this.changeListeners_=void 0,this.dehancer=void 0,this.enhancer_=le,this.name_=Ie,O(Map)||s(18),this.keysAtom_=et("ObservableMap.keys()"),this.data_=new Map,this.hasMap_=new Map,this.merge(de)}var Y=N.prototype;return Y.has_=function(le){return this.data_.has(le)},Y.has=function(le){var Ie=this;if(!rt.trackingDerivation)return this.has_(le);var D=this.hasMap_.get(le);if(!D){var M=D=new Hn(this.has_(le),$e,"ObservableMap.key?",!1);this.hasMap_.set(le,M),jo(M,function(){return Ie.hasMap_.delete(le)})}return D.get()},Y.set=function(le,Ie){var D=this.has_(le);if(di(this)){var M=mi(this,{type:D?vi:Oi,object:this,newValue:Ie,name:le});if(!M)return this;Ie=M.newValue}return D?this.updateValue_(le,Ie):this.addValue_(le,Ie),this},Y.delete=function(le){var Ie=this;if(Sr(this.keysAtom_),di(this)){var D=mi(this,{type:Mo,object:this,name:le});if(!D)return!1}if(this.has_(le)){var M=Fr(),z=gi(this),ge=z||M?{observableKind:"map",debugObjectName:this.name_,type:Mo,object:this,oldValue:this.data_.get(le).value_,name:le}:null;return ki(function(){Ie.keysAtom_.reportChanged(),Ie.updateHasMapEntry_(le,!1);var Ae=Ie.data_.get(le);Ae.setNewValue_(void 0),Ie.data_.delete(le)}),z&&wi(this,ge),!0}return!1},Y.updateHasMapEntry_=function(le,Ie){var D=this.hasMap_.get(le);D&&D.setNewValue_(Ie)},Y.updateValue_=function(le,Ie){var D=this.data_.get(le);if(Ie=D.prepareNewValue_(Ie),Ie!==rt.UNCHANGED){var M=Fr(),z=gi(this),ge=z||M?{observableKind:"map",debugObjectName:this.name_,type:vi,object:this,oldValue:D.value_,name:le,newValue:Ie}:null;D.setNewValue_(Ie),z&&wi(this,ge)}},Y.addValue_=function(le,Ie){var D=this;Sr(this.keysAtom_),ki(function(){var Ae=new Hn(Ie,D.enhancer_,"ObservableMap.key",!1);D.data_.set(le,Ae),Ie=Ae.value_,D.updateHasMapEntry_(le,!0),D.keysAtom_.reportChanged()});var M=Fr(),z=gi(this),ge=z||M?{observableKind:"map",debugObjectName:this.name_,type:Oi,object:this,name:le,newValue:Ie}:null;z&&wi(this,ge)},Y.get=function(le){return this.has(le)?this.dehanceValue_(this.data_.get(le).get()):this.dehanceValue_(void 0)},Y.dehanceValue_=function(le){return this.dehancer!==void 0?this.dehancer(le):le},Y.keys=function(){return this.keysAtom_.reportObserved(),this.data_.keys()},Y.values=function(){var le=this,Ie=this.keys();return ao({next:function(){var M=Ie.next(),z=M.done,ge=M.value;return{done:z,value:z?void 0:le.get(ge)}}})},Y.entries=function(){var le=this,Ie=this.keys();return ao({next:function(){var M=Ie.next(),z=M.done,ge=M.value;return{done:z,value:z?void 0:[ge,le.get(ge)]}}})},Y[zo]=function(){return this.entries()},Y.forEach=function(le,Ie){for(var D=pe(this),M;!(M=D()).done;){var z=M.value,ge=z[0],Ae=z[1];le.call(Ie,Ae,ge,this)}},Y.merge=function(le){var Ie=this;return ai(le)&&(le=new Map(le)),ki(function(){w(le)?ee(le).forEach(function(D){return Ie.set(D,le[D])}):Array.isArray(le)?le.forEach(function(D){var M=D[0],z=D[1];return Ie.set(M,z)}):G(le)?(le.constructor!==Map&&s(19,le),le.forEach(function(D,M){return Ie.set(M,D)})):le!=null&&s(20,le)}),this},Y.clear=function(){var le=this;ki(function(){vn(function(){for(var Ie=pe(le.keys()),D;!(D=Ie()).done;){var M=D.value;le.delete(M)}})})},Y.replace=function(le){var Ie=this;return ki(function(){for(var D=bo(le),M=new Map,z=!1,ge=pe(Ie.data_.keys()),Ae;!(Ae=ge()).done;){var Ve=Ae.value;if(!D.has(Ve)){var ct=Ie.delete(Ve);if(ct)z=!0;else{var vt=Ie.data_.get(Ve);M.set(Ve,vt)}}}for(var _t=pe(D.entries()),Sn;!(Sn=_t()).done;){var Wn=Sn.value,tr=Wn[0],F=Wn[1],me=Ie.data_.has(tr);if(Ie.set(tr,F),Ie.data_.has(tr)){var Ne=Ie.data_.get(tr);M.set(tr,Ne),me||(z=!0)}}if(!z)if(Ie.data_.size!==M.size)Ie.keysAtom_.reportChanged();else for(var Bt=Ie.data_.keys(),Gt=M.keys(),Wt=Bt.next(),Kt=Gt.next();!Wt.done;){if(Wt.value!==Kt.value){Ie.keysAtom_.reportChanged();break}Wt=Bt.next(),Kt=Gt.next()}Ie.data_=M}),this},Y.toString=function(){return"[object ObservableMap]"},Y.toJSON=function(){return Array.from(this)},Y.observe_=function(le,Ie){return no(this,le)},Y.intercept_=function(le){return vo(this,le)},B(N,[{key:"size",get:function(){return this.keysAtom_.reportObserved(),this.data_.size}},{key:Mi,get:function(){return"Map"}}]),N}(),ai=k("ObservableMap",ls);function bo(N){if(G(N)||ai(N))return N;if(Array.isArray(N))return new Map(N);if(w(N)){var Y=new Map;for(var de in N)Y.set(de,N[de]);return Y}else return s(21,N)}var Ui,ro,Eo={};Ui=Symbol.iterator,ro=Symbol.toStringTag;var us=function(){function N(de,le,Ie){le===void 0&&(le=I),Ie===void 0&&(Ie="ObservableSet"),this.name_=void 0,this[j]=Eo,this.data_=new Set,this.atom_=void 0,this.changeListeners_=void 0,this.interceptors_=void 0,this.dehancer=void 0,this.enhancer_=void 0,this.name_=Ie,O(Set)||s(22),this.atom_=et(this.name_),this.enhancer_=function(D,M){return le(D,M,Ie)},de&&this.replace(de)}var Y=N.prototype;return Y.dehanceValue_=function(le){return this.dehancer!==void 0?this.dehancer(le):le},Y.clear=function(){var le=this;ki(function(){vn(function(){for(var Ie=pe(le.data_.values()),D;!(D=Ie()).done;){var M=D.value;le.delete(M)}})})},Y.forEach=function(le,Ie){for(var D=pe(this),M;!(M=D()).done;){var z=M.value;le.call(Ie,z,z,this)}},Y.add=function(le){var Ie=this;if(Sr(this.atom_),di(this)){var D=mi(this,{type:Oi,object:this,newValue:le});if(!D)return this}if(!this.has(le)){ki(function(){Ie.data_.add(Ie.enhancer_(le,void 0)),Ie.atom_.reportChanged()});var M=!1,z=gi(this),ge=z||M?{observableKind:"set",debugObjectName:this.name_,type:Oi,object:this,newValue:le}:null;z&&wi(this,ge)}return this},Y.delete=function(le){var Ie=this;if(di(this)){var D=mi(this,{type:Mo,object:this,oldValue:le});if(!D)return!1}if(this.has(le)){var M=!1,z=gi(this),ge=z||M?{observableKind:"set",debugObjectName:this.name_,type:Mo,object:this,oldValue:le}:null;return ki(function(){Ie.atom_.reportChanged(),Ie.data_.delete(le)}),z&&wi(this,ge),!0}return!1},Y.has=function(le){return this.atom_.reportObserved(),this.data_.has(this.dehanceValue_(le))},Y.entries=function(){var le=0,Ie=Array.from(this.keys()),D=Array.from(this.values());return ao({next:function(){var z=le;return le+=1,z<D.length?{value:[Ie[z],D[z]],done:!1}:{done:!0}}})},Y.keys=function(){return this.values()},Y.values=function(){this.atom_.reportObserved();var le=this,Ie=0,D=Array.from(this.data_.values());return ao({next:function(){return Ie<D.length?{value:le.dehanceValue_(D[Ie++]),done:!1}:{done:!0}}})},Y.replace=function(le){var Ie=this;return Zr(le)&&(le=new Set(le)),ki(function(){Array.isArray(le)?(Ie.clear(),le.forEach(function(D){return Ie.add(D)})):Z(le)?(Ie.clear(),le.forEach(function(D){return Ie.add(D)})):le!=null&&s("Cannot initialize set from "+le)}),this},Y.observe_=function(le,Ie){return no(this,le)},Y.intercept_=function(le){return vo(this,le)},Y.toJSON=function(){return Array.from(this)},Y.toString=function(){return"[object ObservableSet]"},Y[Ui]=function(){return this.values()},B(N,[{key:"size",get:function(){return this.atom_.reportObserved(),this.data_.size}},{key:ro,get:function(){return"Set"}}]),N}(),Zr=k("ObservableSet",us),io=Object.create(null),oo="remove",Br=function(){function N(de,le,Ie,D){le===void 0&&(le=new Map),D===void 0&&(D=fn),this.target_=void 0,this.values_=void 0,this.name_=void 0,this.defaultAnnotation_=void 0,this.keysAtom_=void 0,this.changeListeners_=void 0,this.interceptors_=void 0,this.proxy_=void 0,this.isPlainObject_=void 0,this.appliedAnnotations_=void 0,this.pendingKeys_=void 0,this.target_=de,this.values_=le,this.name_=Ie,this.defaultAnnotation_=D,this.keysAtom_=new ue("ObservableObject.keys"),this.isPlainObject_=w(this.target_)}var Y=N.prototype;return Y.getObservablePropValue_=function(le){return this.values_.get(le).get()},Y.setObservablePropValue_=function(le,Ie){var D=this.values_.get(le);if(D instanceof sr)return D.set(Ie),!0;if(di(this)){var M=mi(this,{type:vi,object:this.proxy_||this.target_,name:le,newValue:Ie});if(!M)return null;Ie=M.newValue}if(Ie=D.prepareNewValue_(Ie),Ie!==rt.UNCHANGED){var z=gi(this),ge=!1,Ae=z||ge?{type:vi,observableKind:"object",debugObjectName:this.name_,object:this.proxy_||this.target_,oldValue:D.value_,name:le,newValue:Ie}:null;D.setNewValue_(Ie),z&&wi(this,Ae)}return!0},Y.get_=function(le){return rt.trackingDerivation&&!te(this.target_,le)&&this.has_(le),this.target_[le]},Y.set_=function(le,Ie,D){return D===void 0&&(D=!1),te(this.target_,le)?this.values_.has(le)?this.setObservablePropValue_(le,Ie):D?Reflect.set(this.target_,le,Ie):(this.target_[le]=Ie,!0):this.extend_(le,{value:Ie,enumerable:!0,writable:!0,configurable:!0},this.defaultAnnotation_,D)},Y.has_=function(le){if(!rt.trackingDerivation)return le in this.target_;this.pendingKeys_||(this.pendingKeys_=new Map);var Ie=this.pendingKeys_.get(le);return Ie||(Ie=new Hn(le in this.target_,$e,"ObservableObject.key?",!1),this.pendingKeys_.set(le,Ie)),Ie.get()},Y.make_=function(le,Ie){if(Ie===!0&&(Ie=this.defaultAnnotation_),Ie!==!1){if(Qr(this,Ie,le),!(le in this.target_)){var D;if((D=this.target_[Se])==null?void 0:D[le])return;s(1,Ie.annotationType_,this.name_+"."+le.toString())}for(var M=this.target_;M&&M!==d;){var z=u(M,le);if(z){var ge=Ie.make_(this,le,z,M);if(ge===0)return;if(ge===1)break}M=Object.getPrototypeOf(M)}Wr(this,Ie,le)}},Y.extend_=function(le,Ie,D,M){if(M===void 0&&(M=!1),D===!0&&(D=this.defaultAnnotation_),D===!1)return this.defineProperty_(le,Ie,M);Qr(this,D,le);var z=D.extend_(this,le,Ie,M);return z&&Wr(this,D,le),z},Y.defineProperty_=function(le,Ie,D){D===void 0&&(D=!1);try{jt();var M=this.delete_(le);if(!M)return M;if(di(this)){var z=mi(this,{object:this.proxy_||this.target_,name:le,type:Oi,newValue:Ie.value});if(!z)return null;var ge=z.newValue;Ie.value!==ge&&(Ie=J({},Ie,{value:ge}))}if(D){if(!Reflect.defineProperty(this.target_,le,Ie))return!1}else a(this.target_,le,Ie);this.notifyPropertyAddition_(le,Ie.value)}finally{on()}return!0},Y.defineObservableProperty_=function(le,Ie,D,M){M===void 0&&(M=!1);try{jt();var z=this.delete_(le);if(!z)return z;if(di(this)){var ge=mi(this,{object:this.proxy_||this.target_,name:le,type:Oi,newValue:Ie});if(!ge)return null;Ie=ge.newValue}var Ae=so(le),Ve={configurable:rt.safeDescriptors?this.isPlainObject_:!0,enumerable:!0,get:Ae.get,set:Ae.set};if(M){if(!Reflect.defineProperty(this.target_,le,Ve))return!1}else a(this.target_,le,Ve);var ct=new Hn(Ie,D,"ObservableObject.key",!1);this.values_.set(le,ct),this.notifyPropertyAddition_(le,ct.value_)}finally{on()}return!0},Y.defineComputedProperty_=function(le,Ie,D){D===void 0&&(D=!1);try{jt();var M=this.delete_(le);if(!M)return M;if(di(this)){var z=mi(this,{object:this.proxy_||this.target_,name:le,type:Oi,newValue:void 0});if(!z)return null}Ie.name||(Ie.name="ObservableObject.key"),Ie.context=this.proxy_||this.target_;var ge=so(le),Ae={configurable:rt.safeDescriptors?this.isPlainObject_:!0,enumerable:!1,get:ge.get,set:ge.set};if(D){if(!Reflect.defineProperty(this.target_,le,Ae))return!1}else a(this.target_,le,Ae);this.values_.set(le,new sr(Ie)),this.notifyPropertyAddition_(le,void 0)}finally{on()}return!0},Y.delete_=function(le,Ie){if(Ie===void 0&&(Ie=!1),!te(this.target_,le))return!0;if(di(this)){var D=mi(this,{object:this.proxy_||this.target_,name:le,type:oo});if(!D)return null}try{var M,z;jt();var ge=gi(this),Ae=!1,Ve=this.values_.get(le),ct=void 0;if(!Ve&&(ge||Ae)){var vt;ct=(vt=u(this.target_,le))==null?void 0:vt.value}if(Ie){if(!Reflect.deleteProperty(this.target_,le))return!1}else delete this.target_[le];if(Ve&&(this.values_.delete(le),Ve instanceof Hn&&(ct=Ve.value_),Dn(Ve)),this.keysAtom_.reportChanged(),(M=this.pendingKeys_)==null||(z=M.get(le))==null||z.set(le in this.target_),ge||Ae){var _t={type:oo,observableKind:"object",object:this.proxy_||this.target_,debugObjectName:this.name_,oldValue:ct,name:le};ge&&wi(this,_t)}}finally{on()}return!0},Y.observe_=function(le,Ie){return no(this,le)},Y.intercept_=function(le){return vo(this,le)},Y.notifyPropertyAddition_=function(le,Ie){var D,M,z=gi(this),ge=!1;if(z||ge){var Ae=z||ge?{type:Oi,observableKind:"object",debugObjectName:this.name_,object:this.proxy_||this.target_,name:le,newValue:Ie}:null;z&&wi(this,Ae)}(D=this.pendingKeys_)==null||(M=D.get(le))==null||M.set(!0),this.keysAtom_.reportChanged()},Y.ownKeys_=function(){return this.keysAtom_.reportObserved(),Ee(this.target_)},Y.keys_=function(){return this.keysAtom_.reportObserved(),Object.keys(this.target_)},N}();function Xi(N,Y){var de;if(te(N,j))return N;var le=(de=Y==null?void 0:Y.name)!=null?de:"ObservableObject",Ie=new Br(N,new Map,String(le),Gn(Y));return R(N,j,Ie),N}var Lo=k("ObservableObjectAdministration",Br);function so(N){return io[N]||(io[N]={get:function(){return this[j].getObservablePropValue_(N)},set:function(de){return this[j].setObservablePropValue_(N,de)}})}function Ur(N){return A(N)?Lo(N[j]):!1}function Wr(N,Y,de){var le;(le=N.target_[Se])==null||delete le[de]}function Qr(N,Y,de){if(!1)var le,Ie,D}var Ti=0,fi=function(){};function Xr(N,Y){Object.setPrototypeOf?Object.setPrototypeOf(N.prototype,Y):N.prototype.__proto__!==void 0?N.prototype.__proto__=Y:N.prototype=Y}Xr(fi,Array.prototype);var _i=function(N){re(Y,N);function Y(le,Ie,D,M){var z;D===void 0&&(D="ObservableArray"),M===void 0&&(M=!1),z=N.call(this)||this;var ge=new yo(D,Ie,M,!0);if(ge.proxy_=W(z),g(W(z),j,ge),le&&le.length){var Ae=Xn(!0);z.spliceWithArray(0,0,le),kn(Ae)}return z}var de=Y.prototype;return de.concat=function(){this[j].atom_.reportObserved();for(var Ie=arguments.length,D=new Array(Ie),M=0;M<Ie;M++)D[M]=arguments[M];return Array.prototype.concat.apply(this.slice(),D.map(function(z){return si(z)?z.slice():z}))},de[Symbol.iterator]=function(){var le=this,Ie=0;return ao({next:function(){return Ie<le.length?{value:le[Ie++],done:!1}:{done:!0,value:void 0}}})},B(Y,[{key:"length",get:function(){return this[j].getArrayLength_()},set:function(Ie){this[j].setArrayLength_(Ie)}},{key:Symbol.toStringTag,get:function(){return"Array"}}]),Y}(fi);Object.entries(Bi).forEach(function(N){var Y=N[0],de=N[1];Y!=="concat"&&R(_i.prototype,Y,de)});function Oo(N){return{enumerable:!1,configurable:!0,get:function(){return this[j].get_(N)},set:function(de){this[j].set_(N,de)}}}function Si(N){a(_i.prototype,""+N,Oo(N))}function So(N){if(N>Ti){for(var Y=Ti;Y<N+100;Y++)Si(Y);Ti=N}}So(1e3);function cs(N,Y,de){return new _i(N,Y,de)}function Li(N,Y){if(typeof N=="object"&&N!==null){if(si(N))return Y!==void 0&&s(23),N[j].atom_;if(Zr(N))return N[j];if(ai(N)){if(Y===void 0)return N.keysAtom_;var de=N.data_.get(Y)||N.hasMap_.get(Y);return de||s(25,Y,Ki(N)),de}if(Ur(N)){if(!Y)return s(26);var le=N[j].values_.get(Y);return le||s(27,Y,Ki(N)),le}if(Ce(N)||ur(N)||ti(N))return N}else if(O(N)&&ti(N[j]))return N[j];s(28)}function Ii(N,Y){if(N||s(29),Y!==void 0)return Ii(Li(N,Y));if(Ce(N)||ur(N)||ti(N)||ai(N)||Zr(N))return N;if(N[j])return N[j];s(24,N)}function Ki(N,Y){var de;if(Y!==void 0)de=Li(N,Y);else{if(co(N))return N.name;Ur(N)||ai(N)||Zr(N)?de=Ii(N):de=Li(N)}return de.name_}var Po=d.toString;function zi(N,Y,de){return de===void 0&&(de=-1),Wo(N,Y,de)}function Wo(N,Y,de,le,Ie){if(N===Y)return N!==0||1/N==1/Y;if(N==null||Y==null)return!1;if(N!==N)return Y!==Y;var D=typeof N;if(!O(D)&&D!=="object"&&typeof Y!="object")return!1;var M=Po.call(N);if(M!==Po.call(Y))return!1;switch(M){case"[object RegExp]":case"[object String]":return""+N==""+Y;case"[object Number]":return+N!=+N?+Y!=+Y:+N==0?1/+N==1/Y:+N==+Y;case"[object Date]":case"[object Boolean]":return+N==+Y;case"[object Symbol]":return typeof Symbol!="undefined"&&Symbol.valueOf.call(N)===Symbol.valueOf.call(Y);case"[object Map]":case"[object Set]":de>=0&&de++;break}N=pi(N),Y=pi(Y);var z=M==="[object Array]";if(!z){if(typeof N!="object"||typeof Y!="object")return!1;var ge=N.constructor,Ae=Y.constructor;if(ge!==Ae&&!(O(ge)&&ge instanceof ge&&O(Ae)&&Ae instanceof Ae)&&"constructor"in N&&"constructor"in Y)return!1}if(de===0)return!1;de<0&&(de=-1),le=le||[],Ie=Ie||[];for(var Ve=le.length;Ve--;)if(le[Ve]===N)return Ie[Ve]===Y;if(le.push(N),Ie.push(Y),z){if(Ve=N.length,Ve!==Y.length)return!1;for(;Ve--;)if(!Wo(N[Ve],Y[Ve],de-1,le,Ie))return!1}else{var ct=Object.keys(N),vt;if(Ve=ct.length,Object.keys(Y).length!==Ve)return!1;for(;Ve--;)if(vt=ct[Ve],!(te(Y,vt)&&Wo(N[vt],Y[vt],de-1,le,Ie)))return!1}return le.pop(),Ie.pop(),!0}function pi(N){return si(N)?N.slice():G(N)||ai(N)||Z(N)||Zr(N)?Array.from(N.entries()):N}function ao(N){return N[Symbol.iterator]=$s,N}function $s(){return this}function Gs(N){return N instanceof Object&&typeof N.annotationType_=="string"&&O(N.make_)&&O(N.extend_)}["Symbol","Map","Set","Symbol"].forEach(function(N){var Y=r();typeof Y[N]=="undefined"&&s("MobX requires global '"+N+"' to be available or polyfilled")}),typeof __MOBX_DEVTOOLS_GLOBAL_HOOK__=="object"&&__MOBX_DEVTOOLS_GLOBAL_HOOK__.injectMobx({spy:Ut,extras:{getDebugName:Ki},$mobx:j})},3342:(L,n,e)=>{"use strict";const t=e(4445),l={}.NODE_DISABLE_COLORS?{red:"",yellow:"",green:"",normal:""}:{red:"[31m",yellow:"[33;1m",green:"[32m",normal:"[0m"};function s(b,m,y){return y.indexOf(b)===m}function o(b){return new Set(b).size!==b.length}function r(b){return new Set(b).size<=1}function c(b,m){function y(O,C){return t.stringify(O)===t.stringify(Object.assign({},O,C))}return y(b,m)&&y(m,b)}function u(b){let m=[];for(let y of b)m.find(function(C,A,w){return c(C,y)})||m.push(y);return m}function a(b){return b.length===u(b).length}function d(b){return b.find(function(m,y,O){return b.indexOf(m)<y})}function h(b){let m=0,y;if(b.length===0)return m;for(let O=0;O<b.length;O++)y=b.charCodeAt(O),m=(m<<5)-m+y,m|=0;return m}String.prototype.toCamelCase=function(){return this.toLowerCase().replace(/[-_ \/\.](.)/g,function(m,y){return y.toUpperCase()})};const p=["format","minimum","maximum","exclusiveMinimum","exclusiveMaximum","minLength","maxLength","multipleOf","minItems","maxItems","uniqueItems","minProperties","maxProperties","additionalProperties","pattern","enum","default"],E=["items","minItems","maxItems","uniqueItems"],T=["get","post","put","delete","patch","head","options","trace"];function S(b){b=b.replace("[]","Array");let m=b.split("/");return m[0]=m[0].replace(/[^A-Za-z0-9_\-\.]+|\s+/gm,"_"),m.join("/")}function v(b){return S(b.split("/").join("_"))}L.exports={colour:l,uniqueOnly:s,hasDuplicates:o,allSame:r,distinctArray:a,firstDupe:d,hash:h,parameterTypeProperties:p,arrayProperties:E,httpMethods:T,sanitise:S,sanitiseAll:v}},64856:(L,n,e)=>{"use strict";const t=e(19045),l=e(26470),s=e(8575),o=e(88150),r=e(88150),c=e(97053).jptr,u=e(98401).recurse,a=e(64683).clone,d=e(14593).dereference,h=e(42592).isRef,p=e(3342);function E(g){return[...new Set(g)]}function T(g,k,G,Z,oe){return new Promise(function(ee,Ee){t.readFile(g,k,function(Fe,ce){Fe?G.ignoreIOErrors&&oe?(G.verbose&&console.warn("FAILED",Z),G.externalRefs[Z].failed=!0,ee(oe)):Ee(Fe):ee(ce)})})}function S(g,k,G,Z,oe,ee){let Ee=ee.externalRefs[G+Z].paths[0],Fe=s.parse(oe),ce={},te=1;for(;te;)te=0,u(g,{identityDetection:!0},function(he,Q,B){if(h(he,Q)){if(he[Q].startsWith("#")){if(!ce[he[Q]]&&!he.$fixed){let J=a(c(k,he[Q]));if(ee.verbose>1&&console.warn((J===!1?p.colour.red:p.colour.green)+"Fragment resolution",he[Q],p.colour.normal),J===!1){if(B.parent[B.pkey]={},ee.fatal){let re=new Error("Fragment $ref resolution failed "+he[Q]);if(ee.promise)ee.promise.reject(re);else throw re}}else te++,B.parent[B.pkey]=J,ce[he[Q]]=B.path.replace("/%24ref","")}else if(!he.$fixed){let J=(Ee+"/"+ce[he[Q]]).split("/#/").join("/");B.parent[B.pkey]={$ref:J,"x-miro":he[Q],$fixed:!0},ee.verbose>1&&console.warn("Replacing with",J),te++}}else if(Fe.protocol){let J=s.resolve(oe,he[Q]).toString();ee.verbose>1&&console.warn(p.colour.yellow+"Rewriting external url ref",he[Q],"as",J,p.colour.normal),he["x-miro"]=he[Q],ee.externalRefs[he[Q]]&&(ee.externalRefs[J]||(ee.externalRefs[J]=ee.externalRefs[he[Q]]),ee.externalRefs[J].failed=ee.externalRefs[he[Q]].failed),he[Q]=J}else if(!he["x-miro"]){let J=s.resolve(oe,he[Q]).toString(),re=!1;ee.externalRefs[he[Q]]&&(re=ee.externalRefs[he[Q]].failed),re||(ee.verbose>1&&console.warn(p.colour.yellow+"Rewriting external ref",he[Q],"as",J,p.colour.normal),he["x-miro"]=he[Q],he[Q]=J)}}});return u(g,{},function(he,Q,B){h(he,Q)&&typeof he.$fixed!="undefined"&&delete he.$fixed}),ee.verbose>1&&console.warn("Finished fragment resolution"),g}function v(g,k){if(!k.filters||!k.filters.length)return g;for(let G of k.filters)g=G(g,k);return g}function b(g,k){return g&&g.length>2?g:k&&k.length>2?k:"file:"}function m(g,k,G,Z){var oe=s.parse(G.source),ee=G.source.split("\\").join("/").split("/");ee.pop()||ee.pop();let Fe="",ce=k.split("#");ce.length>1&&(Fe="#"+ce[1],k=ce[0]),ee=ee.join("/");let te=s.parse(k),he=b(te.protocol,oe.protocol),Q;if(he==="file:"?Q=l.resolve(ee?ee+"/":"",k):Q=s.resolve(ee?ee+"/":"",k),G.cache[Q]){G.verbose&&console.warn("CACHED",Q,Fe);let B=a(G.cache[Q]),J=G.externalRef=B;if(Fe&&(J=c(J,Fe),J===!1&&(J={},G.fatal))){let re=new Error("Cached $ref resolution failed "+Q+Fe);if(G.promise)G.promise.reject(re);else throw re}return J=S(J,B,k,Fe,Q,G),J=v(J,G),Z(a(J),Q,G),Promise.resolve(J)}if(G.verbose&&console.warn("GET",Q,Fe),G.handlers&&G.handlers[he])return G.handlers[he](ee,k,Fe,G).then(function(B){return G.externalRef=B,B=v(B,G),G.cache[Q]=B,Z(B,Q,G),B}).catch(function(B){throw G.verbose&&console.warn(B),B});if(he&&he.startsWith("http")){const B=Object.assign({},G.fetchOptions,{agent:G.agent});return G.fetch(Q,B).then(function(J){if(J.status!==200){if(G.ignoreIOErrors)return G.verbose&&console.warn("FAILED",k),G.externalRefs[k].failed=!0,'{"$ref":"'+k+'"}';throw new Error(`Received status code ${J.status}: ${Q}`)}return J.text()}).then(function(J){try{let re=r.parse(J,{schema:"core",prettyErrors:!0});if(J=G.externalRef=re,G.cache[Q]=a(J),Fe&&(J=c(J,Fe),J===!1&&(J={},G.fatal))){let W=new Error("Remote $ref resolution failed "+Q+Fe);if(G.promise)G.promise.reject(W);else throw W}J=S(J,re,k,Fe,Q,G),J=v(J,G)}catch(re){if(G.verbose&&console.warn(re),G.promise&&G.fatal)G.promise.reject(re);else throw re}return Z(J,Q,G),J}).catch(function(J){if(G.verbose&&console.warn(J),G.cache[Q]={},G.promise&&G.fatal)G.promise.reject(J);else throw J})}else{const B='{"$ref":"'+k+'"}';return T(Q,G.encoding||"utf8",G,k,B).then(function(J){try{let re=r.parse(J,{schema:"core",prettyErrors:!0});if(J=G.externalRef=re,G.cache[Q]=a(J),Fe&&(J=c(J,Fe),J===!1&&(J={},G.fatal))){let W=new Error("File $ref resolution failed "+Q+Fe);if(G.promise)G.promise.reject(W);else throw W}J=S(J,re,k,Fe,Q,G),J=v(J,G)}catch(re){if(G.verbose&&console.warn(re),G.promise&&G.fatal)G.promise.reject(re);else throw re}return Z(J,Q,G),J}).catch(function(J){if(G.verbose&&console.warn(J),G.promise&&G.fatal)G.promise.reject(J);else throw J})}}function y(g){return new Promise(function(k,G){function Z(ee,Ee,Fe){if(ee[Ee]&&h(ee[Ee],"$ref")){let ce=ee[Ee].$ref;if(!ce.startsWith("#")){let te="";if(!oe[ce]){let he=Object.keys(oe).find(function(Q,B,J){return ce.startsWith(Q+"/")});he&&(g.verbose&&console.warn("Found potential subschema at",he),te="/"+(ce.split("#")[1]||"").replace(he.split("#")[1]||""),te=te.split("/undefined").join(""),ce=he)}if(oe[ce]||(oe[ce]={resolved:!1,paths:[],extras:{},description:ee[Ee].description}),oe[ce].resolved){if(!oe[ce].failed)if(g.rewriteRefs){let he=oe[ce].resolvedAt;g.verbose>1&&console.warn("Rewriting ref",ce,he),ee[Ee]["x-miro"]=ce,ee[Ee].$ref=he+te}else ee[Ee]=a(oe[ce].data)}else oe[ce].paths.push(Fe.path),oe[ce].extras[Fe.path]=te}}}let oe=g.externalRefs;if(g.resolver.depth>0&&g.source===g.resolver.base)return k(oe);u(g.openapi.definitions,{identityDetection:!0,path:"#/definitions"},Z),u(g.openapi.components,{identityDetection:!0,path:"#/components"},Z),u(g.openapi,{identityDetection:!0},Z),k(oe)})}function O(g){return new Promise(function(k,G){y(g).then(function(oe){for(let ee in oe)if(!oe[ee].resolved){let Ee=g.resolver.depth;Ee>0&&Ee++,g.resolver.actions[Ee].push(function(){return m(g.openapi,ee,g,function(Fe,ce,te){if(!oe[ee].resolved){let B={};B.context=oe[ee],B.$ref=ee,B.original=a(Fe),B.updated=Fe,B.source=ce,te.externals.push(B),oe[ee].resolved=!0}let he=Object.assign({},te,{source:"",resolver:{actions:te.resolver.actions,depth:te.resolver.actions.length-1,base:te.resolver.base}});te.patch&&oe[ee].description&&!Fe.description&&typeof Fe=="object"&&(Fe.description=oe[ee].description),oe[ee].data=Fe;let Q=E(oe[ee].paths);Q=Q.sort(function(B,J){const re=B.startsWith("#/components/")||B.startsWith("#/definitions/"),W=J.startsWith("#/components/")||J.startsWith("#/definitions/");return re&&!W?-1:W&&!re?1:0});for(let B of Q)if(oe[ee].resolvedAt&&B!==oe[ee].resolvedAt&&B.indexOf("x-ms-examples/")<0)te.verbose>1&&console.warn("Creating pointer to data at",B),c(te.openapi,B,{$ref:oe[ee].resolvedAt+oe[ee].extras[B],"x-miro":ee+oe[ee].extras[B]});else{oe[ee].resolvedAt?te.verbose>1&&console.warn("Avoiding circular reference"):(oe[ee].resolvedAt=B,te.verbose>1&&console.warn("Creating initial clone of data at",B));let J=a(Fe);c(te.openapi,B,J)}te.resolver.actions[he.resolver.depth].length===0&&te.resolver.actions[he.resolver.depth].push(function(){return O(he)})})})}}).catch(function(oe){g.verbose&&console.warn(oe),G(oe)});let Z={options:g};Z.actions=g.resolver.actions[g.resolver.depth],k(Z)})}const C=g=>g.reduce((k,G)=>k.then(Z=>G().then(Array.prototype.concat.bind(Z))),Promise.resolve([]));function A(g,k,G){g.resolver.actions.push([]),O(g).then(function(Z){C(Z.actions).then(function(){if(g.resolver.depth>=g.resolver.actions.length)return console.warn("Ran off the end of resolver actions"),k(!0);g.resolver.depth++,g.resolver.actions[g.resolver.depth].length?setTimeout(function(){A(Z.options,k,G)},0):(g.verbose>1&&console.warn(p.colour.yellow+"Finished external resolution!",p.colour.normal),g.resolveInternal&&(g.verbose>1&&console.warn(p.colour.yellow+"Starting internal resolution!",p.colour.normal),g.openapi=d(g.openapi,g.original,{verbose:g.verbose-1}),g.verbose>1&&console.warn(p.colour.yellow+"Finished internal resolution!",p.colour.normal)),u(g.openapi,{},function(oe,ee,Ee){h(oe,ee)&&(g.preserveMiro||delete oe["x-miro"])}),k(g))}).catch(function(oe){g.verbose&&console.warn(oe),G(oe)})}).catch(function(Z){g.verbose&&console.warn(Z),G(Z)})}function w(g){if(g.cache||(g.cache={}),g.fetch||(g.fetch=o),g.source){let k=s.parse(g.source);(!k.protocol||k.protocol.length<=2)&&(g.source=l.resolve(g.source))}g.externals=[],g.externalRefs={},g.rewriteRefs=!0,g.resolver={},g.resolver.depth=0,g.resolver.base=g.source,g.resolver.actions=[[]]}function x(g){return w(g),new Promise(function(k,G){g.resolve?A(g,k,G):k(g)})}function R(g,k,G){return G||(G={}),G.openapi=g,G.source=k,G.resolve=!0,w(G),new Promise(function(Z,oe){A(G,Z,oe)})}L.exports={optionalResolve:x,resolve:R}},31804:L=>{"use strict";function n(){return{depth:0,seen:new WeakMap,top:!0,combine:!1,allowRefSiblings:!1}}function e(t,l,s,o){if(typeof s.depth=="undefined"&&(s=n()),t===null||typeof t=="undefined")return t;if(typeof t.$ref!="undefined"){let r={$ref:t.$ref};return s.allowRefSiblings&&t.description&&(r.description=t.description),o(r,l,s),r}if(s.combine&&(t.allOf&&Array.isArray(t.allOf)&&t.allOf.length===1&&(t=Object.assign({},t.allOf[0],t),delete t.allOf),t.anyOf&&Array.isArray(t.anyOf)&&t.anyOf.length===1&&(t=Object.assign({},t.anyOf[0],t),delete t.anyOf),t.oneOf&&Array.isArray(t.oneOf)&&t.oneOf.length===1&&(t=Object.assign({},t.oneOf[0],t),delete t.oneOf)),o(t,l,s),s.seen.has(t))return t;if(typeof t=="object"&&t!==null&&s.seen.set(t,!0),s.top=!1,s.depth++,typeof t.items!="undefined"&&(s.property="items",e(t.items,t,s,o)),t.additionalItems&&typeof t.additionalItems=="object"&&(s.property="additionalItems",e(t.additionalItems,t,s,o)),t.additionalProperties&&typeof t.additionalProperties=="object"&&(s.property="additionalProperties",e(t.additionalProperties,t,s,o)),t.properties)for(let r in t.properties){let c=t.properties[r];s.property="properties/"+r,e(c,t,s,o)}if(t.patternProperties)for(let r in t.patternProperties){let c=t.patternProperties[r];s.property="patternProperties/"+r,e(c,t,s,o)}if(t.allOf)for(let r in t.allOf){let c=t.allOf[r];s.property="allOf/"+r,e(c,t,s,o)}if(t.anyOf)for(let r in t.anyOf){let c=t.anyOf[r];s.property="anyOf/"+r,e(c,t,s,o)}if(t.oneOf)for(let r in t.oneOf){let c=t.oneOf[r];s.property="oneOf/"+r,e(c,t,s,o)}return t.not&&(s.property="not",e(t.not,t,s,o)),s.depth--,t}L.exports={getDefaultState:n,walkSchema:e}},27418:L=>{"use strict";/*
|
|
2729
2729
|
object-assign
|
|
2730
2730
|
(c) Sindre Sorhus
|
|
2731
2731
|
@license MIT
|
|
2732
|
-
*/var n=Object.getOwnPropertySymbols,e=Object.prototype.hasOwnProperty,t=Object.prototype.propertyIsEnumerable;function l(o){if(o==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(o)}function s(){try{if(!Object.assign)return!1;var o=new String("abc");if(o[5]="de",Object.getOwnPropertyNames(o)[0]==="5")return!1;for(var r={},c=0;c<10;c++)r["_"+String.fromCharCode(c)]=c;var u=Object.getOwnPropertyNames(r).map(function(d){return r[d]});if(u.join("")!=="0123456789")return!1;var a={};return"abcdefghijklmnopqrst".split("").forEach(function(d){a[d]=d}),Object.keys(Object.assign({},a)).join("")==="abcdefghijklmnopqrst"}catch(d){return!1}}L.exports=s()?Object.assign:function(o,r){for(var c,u=l(o),a,d=1;d<arguments.length;d++){c=Object(arguments[d]);for(var h in c)e.call(c,h)&&(u[h]=c[h]);if(n){a=n(c);for(var p=0;p<a.length;p++)t.call(c,a[p])&&(u[a[p]]=c[a[p]])}}return u}},89124:(L,n,e)=>{"use strict";e.d(n,{eR:()=>j,UP:()=>Ce});function t(Pe){return Pe<10?"0"+Pe:Pe}function l(Pe,X,_,$){var H=_?"":Pe.getUTCFullYear()+"-"+t(Pe.getUTCMonth()+1)+"-"+t(Pe.getUTCDate());return X||(H+="T"+t(Pe.getUTCHours())+":"+t(Pe.getUTCMinutes())+":"+t(Pe.getUTCSeconds())+($?"."+(Pe.getUTCMilliseconds()/1e3).toFixed(3).slice(2,5):"")+"Z"),H}function s(Pe,X){return X>Pe.length?Pe.repeat(Math.trunc(X/Pe.length)+1).substring(0,X):Pe}function o(...Pe){const X=_=>_&&typeof _=="object";return Pe.reduce((_,$)=>(Object.keys($||{}).forEach(H=>{const I=_[H],ve=$[H];X(I)&&X(ve)?_[H]=o(I,ve):_[H]=ve}),_),Array.isArray(Pe[Pe.length-1])?[]:{})}function r(Pe){var X=a(Pe),_=d(X,X,X,X),$="xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,H=>{var I=_()*16%16|0;return(H=="x"?I:I&3|8).toString(16)});return $}function c(Pe){return{value:Pe==="object"?{}:Pe==="array"?[]:void 0}}function u(Pe,X){X&&Pe.pop()}function a(Pe){var X=0;if(Pe.length==0)return X;for(var _=0;_<Pe.length;_++){var $=Pe.charCodeAt(_);X=(X<<5)-X+$,X=X&X}return X}function d(Pe,X,_,$){return function(){Pe|=0,X|=0,_|=0,$|=0;var H=Pe-(X<<27|X>>>5)|0;return Pe=X^(_<<17|_>>>15),X=_+$|0,_=$+H|0,$=Pe+H|0,($>>>0)/4294967296}}function h(Pe,X,_,$,H){let I=C(Pe,_,$);const ve=[];for(let $e of X){const{type:be,readOnly:Te,writeOnly:Le,value:ke}=C(bi({type:I.type},$e),_,$,H);I.type&&be&&be!==I.type&&(console.warn("allOf: schemas with different types can't be merged"),I.type=be),I.type=I.type||be,I.readOnly=I.readOnly||Te,I.writeOnly=I.writeOnly||Le,ke!=null&&ve.push(ke)}if(I.type==="object")return I.value=o(I.value||{},...ve.filter($e=>typeof $e=="object")),I;{I.type==="array"&&(_.quiet||console.warn('OpenAPI Sampler: found allOf with "array" type. Result may be incorrect'));const $e=ve[ve.length-1];return I.value=$e!=null?$e:I.value,I}}const p={multipleOf:"number",maximum:"number",exclusiveMaximum:"number",minimum:"number",exclusiveMinimum:"number",maxLength:"string",minLength:"string",pattern:"string",items:"array",maxItems:"array",minItems:"array",uniqueItems:"array",additionalItems:"array",maxProperties:"object",minProperties:"object",required:"object",additionalProperties:"object",properties:"object",patternProperties:"object",dependencies:"object"};function E(Pe){if(Pe.type!==void 0)return Array.isArray(Pe.type)?Pe.type.length===0?null:Pe.type[0]:Pe.type;const X=Object.keys(p);for(var _=0;_<X.length;_++){let $=X[_],H=p[$];if(Pe[$]!==void 0)return H}return null}var T=e(83573),S=e.n(T);let v={},b=[];function m(){v={},b=[]}function y(Pe){let X;return Pe.const!==void 0?X=Pe.const:Pe.examples!==void 0&&Pe.examples.length?X=Pe.examples[0]:Pe.enum!==void 0&&Pe.enum.length?X=Pe.enum[0]:Pe.default!==void 0&&(X=Pe.default),X}function O(Pe){const X=y(Pe);if(X!==void 0)return{value:X,readOnly:Pe.readOnly,writeOnly:Pe.writeOnly,type:null}}function C(Pe,X,_,$){if($){if(b.includes(Pe))return c(E(Pe));b.push(Pe)}if($&&$.depth>X.maxSampleDepth)return u(b,$),c(E(Pe));if(Pe.$ref){if(!_)throw new Error("Your schema contains $ref. You must provide full specification in the third parameter.");let be=decodeURIComponent(Pe.$ref);be.startsWith("#")&&(be=be.substring(1));const Te=S().get(_,be);let Le;if(v[be]!==!0)v[be]=!0,Le=C(Te,X,_,$),v[be]=!1;else{const ke=E(Te);Le=c(ke)}return u(b,$),Le}if(Pe.example!==void 0)return u(b,$),{value:Pe.example,readOnly:Pe.readOnly,writeOnly:Pe.writeOnly,type:Pe.type};if(Pe.allOf!==void 0)return u(b,$),O(Pe)||h(Ro(bi({},Pe),{allOf:void 0}),Pe.allOf,X,_,$);if(Pe.oneOf&&Pe.oneOf.length){Pe.anyOf&&(X.quiet||console.warn("oneOf and anyOf are not supported on the same level. Skipping anyOf")),u(b,$);const be=Object.assign({readOnly:Pe.readOnly,writeOnly:Pe.writeOnly},Pe.oneOf[0]);return ve(Pe,be)}if(Pe.anyOf&&Pe.anyOf.length){u(b,$);const be=Object.assign({readOnly:Pe.readOnly,writeOnly:Pe.writeOnly},Pe.anyOf[0]);return ve(Pe,be)}if(Pe.if&&Pe.then){u(b,$);const $e=Pe,{if:be,then:Te}=$e,Le=Yu($e,["if","then"]);return C(o(Le,be,Te),X,_,$)}let H=y(Pe),I=null;if(H===void 0){H=null,I=Pe.type,Array.isArray(I)&&Pe.type.length>0&&(I=Pe.type[0]),I||(I=E(Pe));let be=j[I];be&&(H=be(Pe,X,_,$))}return u(b,$),{value:H,readOnly:Pe.readOnly,writeOnly:Pe.writeOnly,type:I};function ve(be,Te){const Le=O(be);if(Le!==void 0)return Le;const ke=C(Ro(bi({},be),{oneOf:void 0,anyOf:void 0}),X,_,$),at=C(Te,X,_,$);if(typeof ke.value=="object"&&typeof at.value=="object"){const xt=o(ke.value,at.value);return Ro(bi({},at),{value:xt})}return at}}function A(Pe,X={},_,$){const H=$&&$.depth||1;let I=Math.min(Pe.maxItems!=null?Pe.maxItems:1/0,Pe.minItems||1);const ve=Pe.prefixItems||Pe.items||Pe.contains;Array.isArray(ve)&&(I=Math.max(I,ve.length));let $e=Te=>Array.isArray(ve)?ve[Te]||{}:ve||{},be=[];if(!ve)return be;for(let Te=0;Te<I;Te++){let Le=$e(Te),{value:ke}=C(Le,X,_,{depth:H+1});be.push(ke)}return be}function w(Pe){return!0}function x(Pe){let X=0;if(typeof Pe.exclusiveMinimum=="boolean"||typeof Pe.exclusiveMaximum=="boolean"){if(Pe.maximum&&Pe.minimum)return X=Pe.exclusiveMinimum?Math.floor(Pe.minimum)+1:Pe.minimum,(Pe.exclusiveMaximum&&X>=Pe.maximum||!Pe.exclusiveMaximum&&X>Pe.maximum)&&(X=(Pe.maximum+Pe.minimum)/2),X;if(Pe.minimum)return Pe.exclusiveMinimum?Math.floor(Pe.minimum)+1:Pe.minimum;if(Pe.maximum)return Pe.exclusiveMaximum?Pe.maximum>0?0:Math.floor(Pe.maximum)-1:Pe.maximum>0?0:Pe.maximum}else{if(Pe.minimum)return Pe.minimum;Pe.exclusiveMinimum?(X=Math.floor(Pe.exclusiveMinimum)+1,X===Pe.exclusiveMaximum&&(X=(X+Math.floor(Pe.exclusiveMaximum)-1)/2)):Pe.exclusiveMaximum?X=Math.floor(Pe.exclusiveMaximum)-1:Pe.maximum&&(X=Pe.maximum)}return X}function R(Pe,X={},_,$){let H={};const I=$&&$.depth||1;if(Pe&&typeof Pe.properties=="object"){let $e=(Array.isArray(Pe.required)?Pe.required:[]).reduce((be,Te)=>(be[Te]=!0,be),{});Object.keys(Pe.properties).forEach(be=>{if(X.skipNonRequired&&!$e.hasOwnProperty(be))return;const Te=C(Pe.properties[be],X,_,{propertyName:be,depth:I+1});X.skipReadOnly&&Te.readOnly||X.skipWriteOnly&&Te.writeOnly||(H[be]=Te.value)})}if(Pe&&typeof Pe.additionalProperties=="object"){const ve=Pe.additionalProperties["x-additionalPropertiesName"]||"property";H[`${String(ve)}1`]=C(Pe.additionalProperties,X,_,{depth:I+1}).value,H[`${String(ve)}2`]=C(Pe.additionalProperties,X,_,{depth:I+1}).value}return H}const g="qwerty!@#$%^123456";function k(){return"user@example.com"}function G(){return"\u043F\u043E\u0448\u0442\u0430@\u0443\u043A\u0440.\u043D\u0435\u0442"}function Z(Pe,X){let _="pa$$word";return Pe>_.length&&(_+="_",_+=s(g,Pe-_.length).substring(0,Pe-_.length)),_}function oe({min:Pe,max:X,omitTime:_,omitDate:$}){let H=l(new Date("2019-08-24T14:15:22.123Z"),_,$,!1);return H.length<Pe&&console.warn(`Using minLength = ${Pe} is incorrect with format "date-time"`),X&&H.length>X&&console.warn(`Using maxLength = ${X} is incorrect with format "date-time"`),H}function ee(Pe,X){return oe({min:Pe,max:X,omitTime:!1,omitDate:!1})}function Ee(Pe,X){return oe({min:Pe,max:X,omitTime:!0,omitDate:!1})}function Fe(Pe,X){return oe({min:Pe,max:X,omitTime:!1,omitDate:!0}).slice(1)}function ce(Pe,X){let _=s("string",Pe);return X&&_.length>X&&(_=_.substring(0,X)),_}function te(){return"192.168.0.1"}function he(){return"2001:0db8:85a3:0000:0000:8a2e:0370:7334"}function Q(){return"example.com"}function B(){return"\u043F\u0440\u0438\u043A\u043B\u0430\u0434.\u0443\u043A\u0440"}function J(){return"http://example.com"}function re(){return"../dictionary"}function W(){return"http://example.com/{endpoint}"}function V(){return"http://example.com/entity/1"}function ae(){return"/entity/1"}function pe(Pe,X,_){return r(_||"id")}function Se(){return"/json/pointer"}function De(){return"1/relative/json/pointer"}function nt(){return"/regex/"}const Me={email:k,"idn-email":G,password:Z,"date-time":ee,date:Ee,time:Fe,ipv4:te,ipv6:he,hostname:Q,"idn-hostname":B,iri:V,"iri-reference":ae,uri:J,"uri-reference":re,"uri-template":W,uuid:pe,default:ce,"json-pointer":Se,"relative-json-pointer":De,regex:nt};function _e(Pe,X,_,$){let H=Pe.format||"default",I=Me[H]||ce,ve=$&&$.propertyName;return I(Pe.minLength|0,Pe.maxLength,ve)}var j={};const ue={skipReadOnly:!1,maxSampleDepth:15};function Ce(Pe,X,_){let $=Object.assign({},ue,X);return m(),C(Pe,$,_).value}function et(Pe,X){j[Pe]=X}et("array",A),et("boolean",w),et("integer",x),et("number",x),et("object",R),et("string",_e)},26470:L=>{"use strict";function n(s){if(typeof s!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(s))}function e(s,o){for(var r="",c=0,u=-1,a=0,d,h=0;h<=s.length;++h){if(h<s.length)d=s.charCodeAt(h);else{if(d===47)break;d=47}if(d===47){if(!(u===h-1||a===1))if(u!==h-1&&a===2){if(r.length<2||c!==2||r.charCodeAt(r.length-1)!==46||r.charCodeAt(r.length-2)!==46){if(r.length>2){var p=r.lastIndexOf("/");if(p!==r.length-1){p===-1?(r="",c=0):(r=r.slice(0,p),c=r.length-1-r.lastIndexOf("/")),u=h,a=0;continue}}else if(r.length===2||r.length===1){r="",c=0,u=h,a=0;continue}}o&&(r.length>0?r+="/..":r="..",c=2)}else r.length>0?r+="/"+s.slice(u+1,h):r=s.slice(u+1,h),c=h-u-1;u=h,a=0}else d===46&&a!==-1?++a:a=-1}return r}function t(s,o){var r=o.dir||o.root,c=o.base||(o.name||"")+(o.ext||"");return r?r===o.root?r+c:r+s+c:c}var l={resolve:function(){for(var o="",r=!1,c,u=arguments.length-1;u>=-1&&!r;u--){var a;u>=0?a=arguments[u]:(c===void 0&&(c=process.cwd()),a=c),n(a),a.length!==0&&(o=a+"/"+o,r=a.charCodeAt(0)===47)}return o=e(o,!r),r?o.length>0?"/"+o:"/":o.length>0?o:"."},normalize:function(o){if(n(o),o.length===0)return".";var r=o.charCodeAt(0)===47,c=o.charCodeAt(o.length-1)===47;return o=e(o,!r),o.length===0&&!r&&(o="."),o.length>0&&c&&(o+="/"),r?"/"+o:o},isAbsolute:function(o){return n(o),o.length>0&&o.charCodeAt(0)===47},join:function(){if(arguments.length===0)return".";for(var o,r=0;r<arguments.length;++r){var c=arguments[r];n(c),c.length>0&&(o===void 0?o=c:o+="/"+c)}return o===void 0?".":l.normalize(o)},relative:function(o,r){if(n(o),n(r),o===r||(o=l.resolve(o),r=l.resolve(r),o===r))return"";for(var c=1;c<o.length&&o.charCodeAt(c)===47;++c);for(var u=o.length,a=u-c,d=1;d<r.length&&r.charCodeAt(d)===47;++d);for(var h=r.length,p=h-d,E=a<p?a:p,T=-1,S=0;S<=E;++S){if(S===E){if(p>E){if(r.charCodeAt(d+S)===47)return r.slice(d+S+1);if(S===0)return r.slice(d+S)}else a>E&&(o.charCodeAt(c+S)===47?T=S:S===0&&(T=0));break}var v=o.charCodeAt(c+S),b=r.charCodeAt(d+S);if(v!==b)break;v===47&&(T=S)}var m="";for(S=c+T+1;S<=u;++S)(S===u||o.charCodeAt(S)===47)&&(m.length===0?m+="..":m+="/..");return m.length>0?m+r.slice(d+T):(d+=T,r.charCodeAt(d)===47&&++d,r.slice(d))},_makeLong:function(o){return o},dirname:function(o){if(n(o),o.length===0)return".";for(var r=o.charCodeAt(0),c=r===47,u=-1,a=!0,d=o.length-1;d>=1;--d)if(r=o.charCodeAt(d),r===47){if(!a){u=d;break}}else a=!1;return u===-1?c?"/":".":c&&u===1?"//":o.slice(0,u)},basename:function(o,r){if(r!==void 0&&typeof r!="string")throw new TypeError('"ext" argument must be a string');n(o);var c=0,u=-1,a=!0,d;if(r!==void 0&&r.length>0&&r.length<=o.length){if(r.length===o.length&&r===o)return"";var h=r.length-1,p=-1;for(d=o.length-1;d>=0;--d){var E=o.charCodeAt(d);if(E===47){if(!a){c=d+1;break}}else p===-1&&(a=!1,p=d+1),h>=0&&(E===r.charCodeAt(h)?--h==-1&&(u=d):(h=-1,u=p))}return c===u?u=p:u===-1&&(u=o.length),o.slice(c,u)}else{for(d=o.length-1;d>=0;--d)if(o.charCodeAt(d)===47){if(!a){c=d+1;break}}else u===-1&&(a=!1,u=d+1);return u===-1?"":o.slice(c,u)}},extname:function(o){n(o);for(var r=-1,c=0,u=-1,a=!0,d=0,h=o.length-1;h>=0;--h){var p=o.charCodeAt(h);if(p===47){if(!a){c=h+1;break}continue}u===-1&&(a=!1,u=h+1),p===46?r===-1?r=h:d!==1&&(d=1):r!==-1&&(d=-1)}return r===-1||u===-1||d===0||d===1&&r===u-1&&r===c+1?"":o.slice(r,u)},format:function(o){if(o===null||typeof o!="object")throw new TypeError('The "pathObject" argument must be of type Object. Received type '+typeof o);return t("/",o)},parse:function(o){n(o);var r={root:"",dir:"",base:"",ext:"",name:""};if(o.length===0)return r;var c=o.charCodeAt(0),u=c===47,a;u?(r.root="/",a=1):a=0;for(var d=-1,h=0,p=-1,E=!0,T=o.length-1,S=0;T>=a;--T){if(c=o.charCodeAt(T),c===47){if(!E){h=T+1;break}continue}p===-1&&(E=!1,p=T+1),c===46?d===-1?d=T:S!==1&&(S=1):d!==-1&&(S=-1)}return d===-1||p===-1||S===0||S===1&&d===p-1&&d===h+1?p!==-1&&(h===0&&u?r.base=r.name=o.slice(1,p):r.base=r.name=o.slice(h,p)):(h===0&&u?(r.name=o.slice(1,d),r.base=o.slice(1,p)):(r.name=o.slice(h,d),r.base=o.slice(h,p)),r.ext=o.slice(d,p)),h>0?r.dir=o.slice(0,h-1):u&&(r.dir="/"),r},sep:"/",delimiter:":",win32:null,posix:null};l.posix=l,L.exports=l},23450:function(L){(function(n,e){L.exports=e()})(this,function(){var n=[],e=[],t={},l={},s={};function o(E){return typeof E=="string"?new RegExp("^"+E+"$","i"):E}function r(E,T){return E===T?T:E===E.toLowerCase()?T.toLowerCase():E===E.toUpperCase()?T.toUpperCase():E[0]===E[0].toUpperCase()?T.charAt(0).toUpperCase()+T.substr(1).toLowerCase():T.toLowerCase()}function c(E,T){return E.replace(/\$(\d{1,2})/g,function(S,v){return T[v]||""})}function u(E,T){return E.replace(T[0],function(S,v){var b=c(T[1],arguments);return r(S===""?E[v-1]:S,b)})}function a(E,T,S){if(!E.length||t.hasOwnProperty(E))return T;for(var v=S.length;v--;){var b=S[v];if(b[0].test(T))return u(T,b)}return T}function d(E,T,S){return function(v){var b=v.toLowerCase();return T.hasOwnProperty(b)?r(v,b):E.hasOwnProperty(b)?r(v,E[b]):a(b,v,S)}}function h(E,T,S,v){return function(b){var m=b.toLowerCase();return T.hasOwnProperty(m)?!0:E.hasOwnProperty(m)?!1:a(m,m,S)===m}}function p(E,T,S){var v=T===1?p.singular(E):p.plural(E);return(S?T+" ":"")+v}return p.plural=d(s,l,n),p.isPlural=h(s,l,n),p.singular=d(l,s,e),p.isSingular=h(l,s,e),p.addPluralRule=function(E,T){n.push([o(E),T])},p.addSingularRule=function(E,T){e.push([o(E),T])},p.addUncountableRule=function(E){if(typeof E=="string"){t[E.toLowerCase()]=!0;return}p.addPluralRule(E,"$0"),p.addSingularRule(E,"$0")},p.addIrregularRule=function(E,T){T=T.toLowerCase(),E=E.toLowerCase(),s[E]=T,l[T]=E},[["I","we"],["me","us"],["he","they"],["she","they"],["them","them"],["myself","ourselves"],["yourself","yourselves"],["itself","themselves"],["herself","themselves"],["himself","themselves"],["themself","themselves"],["is","are"],["was","were"],["has","have"],["this","these"],["that","those"],["echo","echoes"],["dingo","dingoes"],["volcano","volcanoes"],["tornado","tornadoes"],["torpedo","torpedoes"],["genus","genera"],["viscus","viscera"],["stigma","stigmata"],["stoma","stomata"],["dogma","dogmata"],["lemma","lemmata"],["schema","schemata"],["anathema","anathemata"],["ox","oxen"],["axe","axes"],["die","dice"],["yes","yeses"],["foot","feet"],["eave","eaves"],["goose","geese"],["tooth","teeth"],["quiz","quizzes"],["human","humans"],["proof","proofs"],["carve","carves"],["valve","valves"],["looey","looies"],["thief","thieves"],["groove","grooves"],["pickaxe","pickaxes"],["passerby","passersby"]].forEach(function(E){return p.addIrregularRule(E[0],E[1])}),[[/s?$/i,"s"],[/[^\u0000-\u007F]$/i,"$0"],[/([^aeiou]ese)$/i,"$1"],[/(ax|test)is$/i,"$1es"],[/(alias|[^aou]us|t[lm]as|gas|ris)$/i,"$1es"],[/(e[mn]u)s?$/i,"$1s"],[/([^l]ias|[aeiou]las|[ejzr]as|[iu]am)$/i,"$1"],[/(alumn|syllab|vir|radi|nucle|fung|cact|stimul|termin|bacill|foc|uter|loc|strat)(?:us|i)$/i,"$1i"],[/(alumn|alg|vertebr)(?:a|ae)$/i,"$1ae"],[/(seraph|cherub)(?:im)?$/i,"$1im"],[/(her|at|gr)o$/i,"$1oes"],[/(agend|addend|millenni|dat|extrem|bacteri|desiderat|strat|candelabr|errat|ov|symposi|curricul|automat|quor)(?:a|um)$/i,"$1a"],[/(apheli|hyperbat|periheli|asyndet|noumen|phenomen|criteri|organ|prolegomen|hedr|automat)(?:a|on)$/i,"$1a"],[/sis$/i,"ses"],[/(?:(kni|wi|li)fe|(ar|l|ea|eo|oa|hoo)f)$/i,"$1$2ves"],[/([^aeiouy]|qu)y$/i,"$1ies"],[/([^ch][ieo][ln])ey$/i,"$1ies"],[/(x|ch|ss|sh|zz)$/i,"$1es"],[/(matr|cod|mur|sil|vert|ind|append)(?:ix|ex)$/i,"$1ices"],[/\b((?:tit)?m|l)(?:ice|ouse)$/i,"$1ice"],[/(pe)(?:rson|ople)$/i,"$1ople"],[/(child)(?:ren)?$/i,"$1ren"],[/eaux$/i,"$0"],[/m[ae]n$/i,"men"],["thou","you"]].forEach(function(E){return p.addPluralRule(E[0],E[1])}),[[/s$/i,""],[/(ss)$/i,"$1"],[/(wi|kni|(?:after|half|high|low|mid|non|night|[^\w]|^)li)ves$/i,"$1fe"],[/(ar|(?:wo|[ae])l|[eo][ao])ves$/i,"$1f"],[/ies$/i,"y"],[/\b([pl]|zomb|(?:neck|cross)?t|coll|faer|food|gen|goon|group|lass|talk|goal|cut)ies$/i,"$1ie"],[/\b(mon|smil)ies$/i,"$1ey"],[/\b((?:tit)?m|l)ice$/i,"$1ouse"],[/(seraph|cherub)im$/i,"$1"],[/(x|ch|ss|sh|zz|tto|go|cho|alias|[^aou]us|t[lm]as|gas|(?:her|at|gr)o|[aeiou]ris)(?:es)?$/i,"$1"],[/(analy|diagno|parenthe|progno|synop|the|empha|cri|ne)(?:sis|ses)$/i,"$1sis"],[/(movie|twelve|abuse|e[mn]u)s$/i,"$1"],[/(test)(?:is|es)$/i,"$1is"],[/(alumn|syllab|vir|radi|nucle|fung|cact|stimul|termin|bacill|foc|uter|loc|strat)(?:us|i)$/i,"$1us"],[/(agend|addend|millenni|dat|extrem|bacteri|desiderat|strat|candelabr|errat|ov|symposi|curricul|quor)a$/i,"$1um"],[/(apheli|hyperbat|periheli|asyndet|noumen|phenomen|criteri|organ|prolegomen|hedr|automat)a$/i,"$1on"],[/(alumn|alg|vertebr)ae$/i,"$1a"],[/(cod|mur|sil|vert|ind)ices$/i,"$1ex"],[/(matr|append)ices$/i,"$1ix"],[/(pe)(rson|ople)$/i,"$1rson"],[/(child)ren$/i,"$1"],[/(eau)x?$/i,"$1"],[/men$/i,"man"]].forEach(function(E){return p.addSingularRule(E[0],E[1])}),["adulthood","advice","agenda","aid","aircraft","alcohol","ammo","analytics","anime","athletics","audio","bison","blood","bream","buffalo","butter","carp","cash","chassis","chess","clothing","cod","commerce","cooperation","corps","debris","diabetes","digestion","elk","energy","equipment","excretion","expertise","firmware","flounder","fun","gallows","garbage","graffiti","hardware","headquarters","health","herpes","highjinks","homework","housework","information","jeans","justice","kudos","labour","literature","machinery","mackerel","mail","media","mews","moose","music","mud","manga","news","only","personnel","pike","plankton","pliers","police","pollution","premises","rain","research","rice","salmon","scissors","series","sewage","shambles","shrimp","software","species","staff","swine","tennis","traffic","transportation","trout","tuna","wealth","welfare","whiting","wildebeest","wildlife","you",/pok[eé]mon$/i,/[^aeiou]ese$/i,/deer$/i,/fish$/i,/measles$/i,/o[iu]s$/i,/pox$/i,/sheep$/i].forEach(p.addUncountableRule),p})},39895:(L,n,e)=>{"use strict";e.d(n,{_j:()=>kn,H3:()=>Hn,U_:()=>ur,$n:()=>vr,XV:()=>sn,DZ:()=>pn});function t(){return t=Object.assign||function(fe){for(var xe=1;xe<arguments.length;xe++){var Ge=arguments[xe];for(var ht in Ge)Object.prototype.hasOwnProperty.call(Ge,ht)&&(fe[ht]=Ge[ht])}return fe},t.apply(this,arguments)}function l(fe){if(fe===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return fe}function s(fe,xe){return s=Object.setPrototypeOf||function(ht,Ut){return ht.__proto__=Ut,ht},s(fe,xe)}function o(fe,xe){fe.prototype=Object.create(xe.prototype),fe.prototype.constructor=fe,s(fe,xe)}function r(fe){return r=Object.setPrototypeOf?Object.getPrototypeOf:function(Ge){return Ge.__proto__||Object.getPrototypeOf(Ge)},r(fe)}function c(fe){return Function.toString.call(fe).indexOf("[native code]")!==-1}function u(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(fe){return!1}}function a(fe,xe,Ge){return u()?a=Reflect.construct:a=function(Ut,hn,wn){var Bn=[null];Bn.push.apply(Bn,hn);var dr=Function.bind.apply(Ut,Bn),pr=new dr;return wn&&s(pr,wn.prototype),pr},a.apply(null,arguments)}function d(fe){var xe=typeof Map=="function"?new Map:void 0;return d=function(ht){if(ht===null||!c(ht))return ht;if(typeof ht!="function")throw new TypeError("Super expression must either be null or a function");if(typeof xe!="undefined"){if(xe.has(ht))return xe.get(ht);xe.set(ht,Ut)}function Ut(){return a(ht,arguments,r(this).constructor)}return Ut.prototype=Object.create(ht.prototype,{constructor:{value:Ut,enumerable:!1,writable:!0,configurable:!0}}),s(Ut,ht)},d(fe)}function h(){var fe;return fe=arguments.length-1,fe<0||arguments.length<=fe?void 0:arguments[fe]}function p(fe){return-fe}function E(fe,xe){return fe+xe}function T(fe,xe){return fe-xe}function S(fe,xe){return fe*xe}function v(fe,xe){return fe/xe}function b(fe){return fe%1||!(+fe>=0)?NaN:fe>170?1/0:fe===0?1:fe*b(fe-1)}function m(fe,xe){return Math.pow(fe,xe)}function y(fe){return Math.sqrt(fe)}function O(){return Math.max.apply(Math,arguments)}function C(){return Math.min.apply(Math,arguments)}function A(){return Array.of.apply(Array,arguments)}var w={symbols:{"!":{postfix:{symbol:"!",f:b,notation:"postfix",precedence:6,rightToLeft:0,argCount:1},symbol:"!",regSymbol:"!"},"^":{infix:{symbol:"^",f:m,notation:"infix",precedence:5,rightToLeft:1,argCount:2},symbol:"^",regSymbol:"\\^"},"*":{infix:{symbol:"*",f:S,notation:"infix",precedence:4,rightToLeft:0,argCount:2},symbol:"*",regSymbol:"\\*"},"/":{infix:{symbol:"/",f:v,notation:"infix",precedence:4,rightToLeft:0,argCount:2},symbol:"/",regSymbol:"/"},"+":{infix:{symbol:"+",f:E,notation:"infix",precedence:2,rightToLeft:0,argCount:2},prefix:{symbol:"+",f:h,notation:"prefix",precedence:3,rightToLeft:0,argCount:1},symbol:"+",regSymbol:"\\+"},"-":{infix:{symbol:"-",f:T,notation:"infix",precedence:2,rightToLeft:0,argCount:2},prefix:{symbol:"-",f:p,notation:"prefix",precedence:3,rightToLeft:0,argCount:1},symbol:"-",regSymbol:"-"},",":{infix:{symbol:",",f:A,notation:"infix",precedence:1,rightToLeft:0,argCount:2},symbol:",",regSymbol:","},"(":{prefix:{symbol:"(",f:h,notation:"prefix",precedence:0,rightToLeft:0,argCount:1},symbol:"(",regSymbol:"\\("},")":{postfix:{symbol:")",f:void 0,notation:"postfix",precedence:0,rightToLeft:0,argCount:1},symbol:")",regSymbol:"\\)"},min:{func:{symbol:"min",f:C,notation:"func",precedence:0,rightToLeft:0,argCount:1},symbol:"min",regSymbol:"min\\b"},max:{func:{symbol:"max",f:O,notation:"func",precedence:0,rightToLeft:0,argCount:1},symbol:"max",regSymbol:"max\\b"},sqrt:{func:{symbol:"sqrt",f:y,notation:"func",precedence:0,rightToLeft:0,argCount:1},symbol:"sqrt",regSymbol:"sqrt\\b"}}},x={"1":`Passed invalid arguments to hsl, please pass multiple numbers e.g. hsl(360, 0.75, 0.4) or an object e.g. rgb({ hue: 255, saturation: 0.4, lightness: 0.75 }).
|
|
2732
|
+
*/var n=Object.getOwnPropertySymbols,e=Object.prototype.hasOwnProperty,t=Object.prototype.propertyIsEnumerable;function l(o){if(o==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(o)}function s(){try{if(!Object.assign)return!1;var o=new String("abc");if(o[5]="de",Object.getOwnPropertyNames(o)[0]==="5")return!1;for(var r={},c=0;c<10;c++)r["_"+String.fromCharCode(c)]=c;var u=Object.getOwnPropertyNames(r).map(function(d){return r[d]});if(u.join("")!=="0123456789")return!1;var a={};return"abcdefghijklmnopqrst".split("").forEach(function(d){a[d]=d}),Object.keys(Object.assign({},a)).join("")==="abcdefghijklmnopqrst"}catch(d){return!1}}L.exports=s()?Object.assign:function(o,r){for(var c,u=l(o),a,d=1;d<arguments.length;d++){c=Object(arguments[d]);for(var h in c)e.call(c,h)&&(u[h]=c[h]);if(n){a=n(c);for(var p=0;p<a.length;p++)t.call(c,a[p])&&(u[a[p]]=c[a[p]])}}return u}},89124:(L,n,e)=>{"use strict";e.d(n,{eR:()=>j,UP:()=>Ce});function t(Pe){return Pe<10?"0"+Pe:Pe}function l(Pe,X,_,$){var H=_?"":Pe.getUTCFullYear()+"-"+t(Pe.getUTCMonth()+1)+"-"+t(Pe.getUTCDate());return X||(H+="T"+t(Pe.getUTCHours())+":"+t(Pe.getUTCMinutes())+":"+t(Pe.getUTCSeconds())+($?"."+(Pe.getUTCMilliseconds()/1e3).toFixed(3).slice(2,5):"")+"Z"),H}function s(Pe,X){return X>Pe.length?Pe.repeat(Math.trunc(X/Pe.length)+1).substring(0,X):Pe}function o(...Pe){const X=_=>_&&typeof _=="object";return Pe.reduce((_,$)=>(Object.keys($||{}).forEach(H=>{const I=_[H],ve=$[H];X(I)&&X(ve)?_[H]=o(I,ve):_[H]=ve}),_),Array.isArray(Pe[Pe.length-1])?[]:{})}function r(Pe){var X=a(Pe),_=d(X,X,X,X),$="xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,H=>{var I=_()*16%16|0;return(H=="x"?I:I&3|8).toString(16)});return $}function c(Pe){return{value:Pe==="object"?{}:Pe==="array"?[]:void 0}}function u(Pe,X){X&&Pe.pop()}function a(Pe){var X=0;if(Pe.length==0)return X;for(var _=0;_<Pe.length;_++){var $=Pe.charCodeAt(_);X=(X<<5)-X+$,X=X&X}return X}function d(Pe,X,_,$){return function(){Pe|=0,X|=0,_|=0,$|=0;var H=Pe-(X<<27|X>>>5)|0;return Pe=X^(_<<17|_>>>15),X=_+$|0,_=$+H|0,$=Pe+H|0,($>>>0)/4294967296}}function h(Pe,X,_,$,H){let I=C(Pe,_,$);const ve=[];for(let $e of X){const{type:be,readOnly:Te,writeOnly:Le,value:ke}=C(bi({type:I.type},$e),_,$,H);I.type&&be&&be!==I.type&&(console.warn("allOf: schemas with different types can't be merged"),I.type=be),I.type=I.type||be,I.readOnly=I.readOnly||Te,I.writeOnly=I.writeOnly||Le,ke!=null&&ve.push(ke)}if(I.type==="object")return I.value=o(I.value||{},...ve.filter($e=>typeof $e=="object")),I;{I.type==="array"&&(_.quiet||console.warn('OpenAPI Sampler: found allOf with "array" type. Result may be incorrect'));const $e=ve[ve.length-1];return I.value=$e!=null?$e:I.value,I}}const p={multipleOf:"number",maximum:"number",exclusiveMaximum:"number",minimum:"number",exclusiveMinimum:"number",maxLength:"string",minLength:"string",pattern:"string",items:"array",maxItems:"array",minItems:"array",uniqueItems:"array",additionalItems:"array",maxProperties:"object",minProperties:"object",required:"object",additionalProperties:"object",properties:"object",patternProperties:"object",dependencies:"object"};function E(Pe){if(Pe.type!==void 0)return Array.isArray(Pe.type)?Pe.type.length===0?null:Pe.type[0]:Pe.type;const X=Object.keys(p);for(var _=0;_<X.length;_++){let $=X[_],H=p[$];if(Pe[$]!==void 0)return H}return null}var T=e(83573),S=e.n(T);let v={},b=[];function m(){v={},b=[]}function y(Pe){let X;return Pe.const!==void 0?X=Pe.const:Pe.examples!==void 0&&Pe.examples.length?X=Pe.examples[0]:Pe.enum!==void 0&&Pe.enum.length?X=Pe.enum[0]:Pe.default!==void 0&&(X=Pe.default),X}function O(Pe){const X=y(Pe);if(X!==void 0)return{value:X,readOnly:Pe.readOnly,writeOnly:Pe.writeOnly,type:null}}function C(Pe,X,_,$){if($){if(b.includes(Pe))return c(E(Pe));b.push(Pe)}if($&&$.depth>X.maxSampleDepth)return u(b,$),c(E(Pe));if(Pe.$ref){if(!_)throw new Error("Your schema contains $ref. You must provide full specification in the third parameter.");let be=decodeURIComponent(Pe.$ref);be.startsWith("#")&&(be=be.substring(1));const Te=S().get(_,be);let Le;if(v[be]!==!0)v[be]=!0,Le=C(Te,X,_,$),v[be]=!1;else{const ke=E(Te);Le=c(ke)}return u(b,$),Le}if(Pe.example!==void 0)return u(b,$),{value:Pe.example,readOnly:Pe.readOnly,writeOnly:Pe.writeOnly,type:Pe.type};if(Pe.allOf!==void 0)return u(b,$),O(Pe)||h(Ro(bi({},Pe),{allOf:void 0}),Pe.allOf,X,_,$);if(Pe.oneOf&&Pe.oneOf.length){Pe.anyOf&&(X.quiet||console.warn("oneOf and anyOf are not supported on the same level. Skipping anyOf")),u(b,$);const be=Object.assign({readOnly:Pe.readOnly,writeOnly:Pe.writeOnly},Pe.oneOf[0]);return ve(Pe,be)}if(Pe.anyOf&&Pe.anyOf.length){u(b,$);const be=Object.assign({readOnly:Pe.readOnly,writeOnly:Pe.writeOnly},Pe.anyOf[0]);return ve(Pe,be)}if(Pe.if&&Pe.then){u(b,$);const $e=Pe,{if:be,then:Te}=$e,Le=Yu($e,["if","then"]);return C(o(Le,be,Te),X,_,$)}let H=y(Pe),I=null;if(H===void 0){H=null,I=Pe.type,Array.isArray(I)&&Pe.type.length>0&&(I=Pe.type[0]),I||(I=E(Pe));let be=j[I];be&&(H=be(Pe,X,_,$))}return u(b,$),{value:H,readOnly:Pe.readOnly,writeOnly:Pe.writeOnly,type:I};function ve(be,Te){const Le=O(be);if(Le!==void 0)return Le;const ke=C(Ro(bi({},be),{oneOf:void 0,anyOf:void 0}),X,_,$),at=C(Te,X,_,$);if(typeof ke.value=="object"&&typeof at.value=="object"){const xt=o(ke.value,at.value);return Ro(bi({},at),{value:xt})}return at}}function A(Pe,X={},_,$){const H=$&&$.depth||1;let I=Math.min(Pe.maxItems!=null?Pe.maxItems:1/0,Pe.minItems||1);const ve=Pe.prefixItems||Pe.items||Pe.contains;Array.isArray(ve)&&(I=Math.max(I,ve.length));let $e=Te=>Array.isArray(ve)?ve[Te]||{}:ve||{},be=[];if(!ve)return be;for(let Te=0;Te<I;Te++){let Le=$e(Te),{value:ke}=C(Le,X,_,{depth:H+1});be.push(ke)}return be}function w(Pe){return!0}function x(Pe){let X=0;if(typeof Pe.exclusiveMinimum=="boolean"||typeof Pe.exclusiveMaximum=="boolean"){if(Pe.maximum&&Pe.minimum)return X=Pe.exclusiveMinimum?Math.floor(Pe.minimum)+1:Pe.minimum,(Pe.exclusiveMaximum&&X>=Pe.maximum||!Pe.exclusiveMaximum&&X>Pe.maximum)&&(X=(Pe.maximum+Pe.minimum)/2),X;if(Pe.minimum)return Pe.exclusiveMinimum?Math.floor(Pe.minimum)+1:Pe.minimum;if(Pe.maximum)return Pe.exclusiveMaximum?Pe.maximum>0?0:Math.floor(Pe.maximum)-1:Pe.maximum>0?0:Pe.maximum}else{if(Pe.minimum)return Pe.minimum;Pe.exclusiveMinimum?(X=Math.floor(Pe.exclusiveMinimum)+1,X===Pe.exclusiveMaximum&&(X=(X+Math.floor(Pe.exclusiveMaximum)-1)/2)):Pe.exclusiveMaximum?X=Math.floor(Pe.exclusiveMaximum)-1:Pe.maximum&&(X=Pe.maximum)}return X}function R(Pe,X={},_,$){let H={};const I=$&&$.depth||1;if(Pe&&typeof Pe.properties=="object"){let $e=(Array.isArray(Pe.required)?Pe.required:[]).reduce((be,Te)=>(be[Te]=!0,be),{});Object.keys(Pe.properties).forEach(be=>{if(X.skipNonRequired&&!$e.hasOwnProperty(be))return;const Te=C(Pe.properties[be],X,_,{propertyName:be,depth:I+1});X.skipReadOnly&&Te.readOnly||X.skipWriteOnly&&Te.writeOnly||(H[be]=Te.value)})}if(Pe&&typeof Pe.additionalProperties=="object"){const ve=Pe.additionalProperties["x-additionalPropertiesName"]||"property";H[`${String(ve)}1`]=C(Pe.additionalProperties,X,_,{depth:I+1}).value,H[`${String(ve)}2`]=C(Pe.additionalProperties,X,_,{depth:I+1}).value}return H}const g="qwerty!@#$%^123456";function k(){return"user@example.com"}function G(){return"\u043F\u043E\u0448\u0442\u0430@\u0443\u043A\u0440.\u043D\u0435\u0442"}function Z(Pe,X){let _="pa$$word";return Pe>_.length&&(_+="_",_+=s(g,Pe-_.length).substring(0,Pe-_.length)),_}function oe({min:Pe,max:X,omitTime:_,omitDate:$}){let H=l(new Date("2019-08-24T14:15:22.123Z"),_,$,!1);return H.length<Pe&&console.warn(`Using minLength = ${Pe} is incorrect with format "date-time"`),X&&H.length>X&&console.warn(`Using maxLength = ${X} is incorrect with format "date-time"`),H}function ee(Pe,X){return oe({min:Pe,max:X,omitTime:!1,omitDate:!1})}function Ee(Pe,X){return oe({min:Pe,max:X,omitTime:!0,omitDate:!1})}function Fe(Pe,X){return oe({min:Pe,max:X,omitTime:!1,omitDate:!0}).slice(1)}function ce(Pe,X){let _=s("string",Pe);return X&&_.length>X&&(_=_.substring(0,X)),_}function te(){return"192.168.0.1"}function he(){return"2001:0db8:85a3:0000:0000:8a2e:0370:7334"}function Q(){return"example.com"}function B(){return"\u043F\u0440\u0438\u043A\u043B\u0430\u0434.\u0443\u043A\u0440"}function J(){return"http://example.com"}function re(){return"../dictionary"}function W(){return"http://example.com/{endpoint}"}function V(){return"http://example.com/entity/1"}function ae(){return"/entity/1"}function pe(Pe,X,_){return r(_||"id")}function Se(){return"/json/pointer"}function De(){return"1/relative/json/pointer"}function nt(){return"/regex/"}const Me={email:k,"idn-email":G,password:Z,"date-time":ee,date:Ee,time:Fe,ipv4:te,ipv6:he,hostname:Q,"idn-hostname":B,iri:V,"iri-reference":ae,uri:J,"uri-reference":re,"uri-template":W,uuid:pe,default:ce,"json-pointer":Se,"relative-json-pointer":De,regex:nt};function _e(Pe,X,_,$){let H=Pe.format||"default",I=Me[H]||ce,ve=$&&$.propertyName;return I(Pe.minLength|0,Pe.maxLength,ve)}var j={};const ue={skipReadOnly:!1,maxSampleDepth:15};function Ce(Pe,X,_){let $=Object.assign({},ue,X);return m(),C(Pe,$,_).value}function et(Pe,X){j[Pe]=X}et("array",A),et("boolean",w),et("integer",x),et("number",x),et("object",R),et("string",_e)},26470:L=>{"use strict";function n(s){if(typeof s!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(s))}function e(s,o){for(var r="",c=0,u=-1,a=0,d,h=0;h<=s.length;++h){if(h<s.length)d=s.charCodeAt(h);else{if(d===47)break;d=47}if(d===47){if(!(u===h-1||a===1))if(u!==h-1&&a===2){if(r.length<2||c!==2||r.charCodeAt(r.length-1)!==46||r.charCodeAt(r.length-2)!==46){if(r.length>2){var p=r.lastIndexOf("/");if(p!==r.length-1){p===-1?(r="",c=0):(r=r.slice(0,p),c=r.length-1-r.lastIndexOf("/")),u=h,a=0;continue}}else if(r.length===2||r.length===1){r="",c=0,u=h,a=0;continue}}o&&(r.length>0?r+="/..":r="..",c=2)}else r.length>0?r+="/"+s.slice(u+1,h):r=s.slice(u+1,h),c=h-u-1;u=h,a=0}else d===46&&a!==-1?++a:a=-1}return r}function t(s,o){var r=o.dir||o.root,c=o.base||(o.name||"")+(o.ext||"");return r?r===o.root?r+c:r+s+c:c}var l={resolve:function(){for(var o="",r=!1,c,u=arguments.length-1;u>=-1&&!r;u--){var a;u>=0?a=arguments[u]:(c===void 0&&(c=process.cwd()),a=c),n(a),a.length!==0&&(o=a+"/"+o,r=a.charCodeAt(0)===47)}return o=e(o,!r),r?o.length>0?"/"+o:"/":o.length>0?o:"."},normalize:function(o){if(n(o),o.length===0)return".";var r=o.charCodeAt(0)===47,c=o.charCodeAt(o.length-1)===47;return o=e(o,!r),o.length===0&&!r&&(o="."),o.length>0&&c&&(o+="/"),r?"/"+o:o},isAbsolute:function(o){return n(o),o.length>0&&o.charCodeAt(0)===47},join:function(){if(arguments.length===0)return".";for(var o,r=0;r<arguments.length;++r){var c=arguments[r];n(c),c.length>0&&(o===void 0?o=c:o+="/"+c)}return o===void 0?".":l.normalize(o)},relative:function(o,r){if(n(o),n(r),o===r||(o=l.resolve(o),r=l.resolve(r),o===r))return"";for(var c=1;c<o.length&&o.charCodeAt(c)===47;++c);for(var u=o.length,a=u-c,d=1;d<r.length&&r.charCodeAt(d)===47;++d);for(var h=r.length,p=h-d,E=a<p?a:p,T=-1,S=0;S<=E;++S){if(S===E){if(p>E){if(r.charCodeAt(d+S)===47)return r.slice(d+S+1);if(S===0)return r.slice(d+S)}else a>E&&(o.charCodeAt(c+S)===47?T=S:S===0&&(T=0));break}var v=o.charCodeAt(c+S),b=r.charCodeAt(d+S);if(v!==b)break;v===47&&(T=S)}var m="";for(S=c+T+1;S<=u;++S)(S===u||o.charCodeAt(S)===47)&&(m.length===0?m+="..":m+="/..");return m.length>0?m+r.slice(d+T):(d+=T,r.charCodeAt(d)===47&&++d,r.slice(d))},_makeLong:function(o){return o},dirname:function(o){if(n(o),o.length===0)return".";for(var r=o.charCodeAt(0),c=r===47,u=-1,a=!0,d=o.length-1;d>=1;--d)if(r=o.charCodeAt(d),r===47){if(!a){u=d;break}}else a=!1;return u===-1?c?"/":".":c&&u===1?"//":o.slice(0,u)},basename:function(o,r){if(r!==void 0&&typeof r!="string")throw new TypeError('"ext" argument must be a string');n(o);var c=0,u=-1,a=!0,d;if(r!==void 0&&r.length>0&&r.length<=o.length){if(r.length===o.length&&r===o)return"";var h=r.length-1,p=-1;for(d=o.length-1;d>=0;--d){var E=o.charCodeAt(d);if(E===47){if(!a){c=d+1;break}}else p===-1&&(a=!1,p=d+1),h>=0&&(E===r.charCodeAt(h)?--h==-1&&(u=d):(h=-1,u=p))}return c===u?u=p:u===-1&&(u=o.length),o.slice(c,u)}else{for(d=o.length-1;d>=0;--d)if(o.charCodeAt(d)===47){if(!a){c=d+1;break}}else u===-1&&(a=!1,u=d+1);return u===-1?"":o.slice(c,u)}},extname:function(o){n(o);for(var r=-1,c=0,u=-1,a=!0,d=0,h=o.length-1;h>=0;--h){var p=o.charCodeAt(h);if(p===47){if(!a){c=h+1;break}continue}u===-1&&(a=!1,u=h+1),p===46?r===-1?r=h:d!==1&&(d=1):r!==-1&&(d=-1)}return r===-1||u===-1||d===0||d===1&&r===u-1&&r===c+1?"":o.slice(r,u)},format:function(o){if(o===null||typeof o!="object")throw new TypeError('The "pathObject" argument must be of type Object. Received type '+typeof o);return t("/",o)},parse:function(o){n(o);var r={root:"",dir:"",base:"",ext:"",name:""};if(o.length===0)return r;var c=o.charCodeAt(0),u=c===47,a;u?(r.root="/",a=1):a=0;for(var d=-1,h=0,p=-1,E=!0,T=o.length-1,S=0;T>=a;--T){if(c=o.charCodeAt(T),c===47){if(!E){h=T+1;break}continue}p===-1&&(E=!1,p=T+1),c===46?d===-1?d=T:S!==1&&(S=1):d!==-1&&(S=-1)}return d===-1||p===-1||S===0||S===1&&d===p-1&&d===h+1?p!==-1&&(h===0&&u?r.base=r.name=o.slice(1,p):r.base=r.name=o.slice(h,p)):(h===0&&u?(r.name=o.slice(1,d),r.base=o.slice(1,p)):(r.name=o.slice(h,d),r.base=o.slice(h,p)),r.ext=o.slice(d,p)),h>0?r.dir=o.slice(0,h-1):u&&(r.dir="/"),r},sep:"/",delimiter:":",win32:null,posix:null};l.posix=l,L.exports=l},23450:function(L){(function(n,e){L.exports=e()})(this,function(){var n=[],e=[],t={},l={},s={};function o(E){return typeof E=="string"?new RegExp("^"+E+"$","i"):E}function r(E,T){return E===T?T:E===E.toLowerCase()?T.toLowerCase():E===E.toUpperCase()?T.toUpperCase():E[0]===E[0].toUpperCase()?T.charAt(0).toUpperCase()+T.substr(1).toLowerCase():T.toLowerCase()}function c(E,T){return E.replace(/\$(\d{1,2})/g,function(S,v){return T[v]||""})}function u(E,T){return E.replace(T[0],function(S,v){var b=c(T[1],arguments);return r(S===""?E[v-1]:S,b)})}function a(E,T,S){if(!E.length||t.hasOwnProperty(E))return T;for(var v=S.length;v--;){var b=S[v];if(b[0].test(T))return u(T,b)}return T}function d(E,T,S){return function(v){var b=v.toLowerCase();return T.hasOwnProperty(b)?r(v,b):E.hasOwnProperty(b)?r(v,E[b]):a(b,v,S)}}function h(E,T,S,v){return function(b){var m=b.toLowerCase();return T.hasOwnProperty(m)?!0:E.hasOwnProperty(m)?!1:a(m,m,S)===m}}function p(E,T,S){var v=T===1?p.singular(E):p.plural(E);return(S?T+" ":"")+v}return p.plural=d(s,l,n),p.isPlural=h(s,l,n),p.singular=d(l,s,e),p.isSingular=h(l,s,e),p.addPluralRule=function(E,T){n.push([o(E),T])},p.addSingularRule=function(E,T){e.push([o(E),T])},p.addUncountableRule=function(E){if(typeof E=="string"){t[E.toLowerCase()]=!0;return}p.addPluralRule(E,"$0"),p.addSingularRule(E,"$0")},p.addIrregularRule=function(E,T){T=T.toLowerCase(),E=E.toLowerCase(),s[E]=T,l[T]=E},[["I","we"],["me","us"],["he","they"],["she","they"],["them","them"],["myself","ourselves"],["yourself","yourselves"],["itself","themselves"],["herself","themselves"],["himself","themselves"],["themself","themselves"],["is","are"],["was","were"],["has","have"],["this","these"],["that","those"],["echo","echoes"],["dingo","dingoes"],["volcano","volcanoes"],["tornado","tornadoes"],["torpedo","torpedoes"],["genus","genera"],["viscus","viscera"],["stigma","stigmata"],["stoma","stomata"],["dogma","dogmata"],["lemma","lemmata"],["schema","schemata"],["anathema","anathemata"],["ox","oxen"],["axe","axes"],["die","dice"],["yes","yeses"],["foot","feet"],["eave","eaves"],["goose","geese"],["tooth","teeth"],["quiz","quizzes"],["human","humans"],["proof","proofs"],["carve","carves"],["valve","valves"],["looey","looies"],["thief","thieves"],["groove","grooves"],["pickaxe","pickaxes"],["passerby","passersby"]].forEach(function(E){return p.addIrregularRule(E[0],E[1])}),[[/s?$/i,"s"],[/[^\u0000-\u007F]$/i,"$0"],[/([^aeiou]ese)$/i,"$1"],[/(ax|test)is$/i,"$1es"],[/(alias|[^aou]us|t[lm]as|gas|ris)$/i,"$1es"],[/(e[mn]u)s?$/i,"$1s"],[/([^l]ias|[aeiou]las|[ejzr]as|[iu]am)$/i,"$1"],[/(alumn|syllab|vir|radi|nucle|fung|cact|stimul|termin|bacill|foc|uter|loc|strat)(?:us|i)$/i,"$1i"],[/(alumn|alg|vertebr)(?:a|ae)$/i,"$1ae"],[/(seraph|cherub)(?:im)?$/i,"$1im"],[/(her|at|gr)o$/i,"$1oes"],[/(agend|addend|millenni|dat|extrem|bacteri|desiderat|strat|candelabr|errat|ov|symposi|curricul|automat|quor)(?:a|um)$/i,"$1a"],[/(apheli|hyperbat|periheli|asyndet|noumen|phenomen|criteri|organ|prolegomen|hedr|automat)(?:a|on)$/i,"$1a"],[/sis$/i,"ses"],[/(?:(kni|wi|li)fe|(ar|l|ea|eo|oa|hoo)f)$/i,"$1$2ves"],[/([^aeiouy]|qu)y$/i,"$1ies"],[/([^ch][ieo][ln])ey$/i,"$1ies"],[/(x|ch|ss|sh|zz)$/i,"$1es"],[/(matr|cod|mur|sil|vert|ind|append)(?:ix|ex)$/i,"$1ices"],[/\b((?:tit)?m|l)(?:ice|ouse)$/i,"$1ice"],[/(pe)(?:rson|ople)$/i,"$1ople"],[/(child)(?:ren)?$/i,"$1ren"],[/eaux$/i,"$0"],[/m[ae]n$/i,"men"],["thou","you"]].forEach(function(E){return p.addPluralRule(E[0],E[1])}),[[/s$/i,""],[/(ss)$/i,"$1"],[/(wi|kni|(?:after|half|high|low|mid|non|night|[^\w]|^)li)ves$/i,"$1fe"],[/(ar|(?:wo|[ae])l|[eo][ao])ves$/i,"$1f"],[/ies$/i,"y"],[/\b([pl]|zomb|(?:neck|cross)?t|coll|faer|food|gen|goon|group|lass|talk|goal|cut)ies$/i,"$1ie"],[/\b(mon|smil)ies$/i,"$1ey"],[/\b((?:tit)?m|l)ice$/i,"$1ouse"],[/(seraph|cherub)im$/i,"$1"],[/(x|ch|ss|sh|zz|tto|go|cho|alias|[^aou]us|t[lm]as|gas|(?:her|at|gr)o|[aeiou]ris)(?:es)?$/i,"$1"],[/(analy|diagno|parenthe|progno|synop|the|empha|cri|ne)(?:sis|ses)$/i,"$1sis"],[/(movie|twelve|abuse|e[mn]u)s$/i,"$1"],[/(test)(?:is|es)$/i,"$1is"],[/(alumn|syllab|vir|radi|nucle|fung|cact|stimul|termin|bacill|foc|uter|loc|strat)(?:us|i)$/i,"$1us"],[/(agend|addend|millenni|dat|extrem|bacteri|desiderat|strat|candelabr|errat|ov|symposi|curricul|quor)a$/i,"$1um"],[/(apheli|hyperbat|periheli|asyndet|noumen|phenomen|criteri|organ|prolegomen|hedr|automat)a$/i,"$1on"],[/(alumn|alg|vertebr)ae$/i,"$1a"],[/(cod|mur|sil|vert|ind)ices$/i,"$1ex"],[/(matr|append)ices$/i,"$1ix"],[/(pe)(rson|ople)$/i,"$1rson"],[/(child)ren$/i,"$1"],[/(eau)x?$/i,"$1"],[/men$/i,"man"]].forEach(function(E){return p.addSingularRule(E[0],E[1])}),["adulthood","advice","agenda","aid","aircraft","alcohol","ammo","analytics","anime","athletics","audio","bison","blood","bream","buffalo","butter","carp","cash","chassis","chess","clothing","cod","commerce","cooperation","corps","debris","diabetes","digestion","elk","energy","equipment","excretion","expertise","firmware","flounder","fun","gallows","garbage","graffiti","hardware","headquarters","health","herpes","highjinks","homework","housework","information","jeans","justice","kudos","labour","literature","machinery","mackerel","mail","media","mews","moose","music","mud","manga","news","only","personnel","pike","plankton","pliers","police","pollution","premises","rain","research","rice","salmon","scissors","series","sewage","shambles","shrimp","software","species","staff","swine","tennis","traffic","transportation","trout","tuna","wealth","welfare","whiting","wildebeest","wildlife","you",/pok[eé]mon$/i,/[^aeiou]ese$/i,/deer$/i,/fish$/i,/measles$/i,/o[iu]s$/i,/pox$/i,/sheep$/i].forEach(p.addUncountableRule),p})},39895:(L,n,e)=>{"use strict";e.d(n,{_j:()=>kn,H3:()=>Hn,U_:()=>ur,$n:()=>vr,XV:()=>ln,DZ:()=>an});function t(){return t=Object.assign||function(fe){for(var xe=1;xe<arguments.length;xe++){var Ge=arguments[xe];for(var ht in Ge)Object.prototype.hasOwnProperty.call(Ge,ht)&&(fe[ht]=Ge[ht])}return fe},t.apply(this,arguments)}function l(fe){if(fe===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return fe}function s(fe,xe){return s=Object.setPrototypeOf||function(ht,Ut){return ht.__proto__=Ut,ht},s(fe,xe)}function o(fe,xe){fe.prototype=Object.create(xe.prototype),fe.prototype.constructor=fe,s(fe,xe)}function r(fe){return r=Object.setPrototypeOf?Object.getPrototypeOf:function(Ge){return Ge.__proto__||Object.getPrototypeOf(Ge)},r(fe)}function c(fe){return Function.toString.call(fe).indexOf("[native code]")!==-1}function u(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(fe){return!1}}function a(fe,xe,Ge){return u()?a=Reflect.construct:a=function(Ut,hn,wn){var Bn=[null];Bn.push.apply(Bn,hn);var dr=Function.bind.apply(Ut,Bn),pr=new dr;return wn&&s(pr,wn.prototype),pr},a.apply(null,arguments)}function d(fe){var xe=typeof Map=="function"?new Map:void 0;return d=function(ht){if(ht===null||!c(ht))return ht;if(typeof ht!="function")throw new TypeError("Super expression must either be null or a function");if(typeof xe!="undefined"){if(xe.has(ht))return xe.get(ht);xe.set(ht,Ut)}function Ut(){return a(ht,arguments,r(this).constructor)}return Ut.prototype=Object.create(ht.prototype,{constructor:{value:Ut,enumerable:!1,writable:!0,configurable:!0}}),s(Ut,ht)},d(fe)}function h(){var fe;return fe=arguments.length-1,fe<0||arguments.length<=fe?void 0:arguments[fe]}function p(fe){return-fe}function E(fe,xe){return fe+xe}function T(fe,xe){return fe-xe}function S(fe,xe){return fe*xe}function v(fe,xe){return fe/xe}function b(fe){return fe%1||!(+fe>=0)?NaN:fe>170?1/0:fe===0?1:fe*b(fe-1)}function m(fe,xe){return Math.pow(fe,xe)}function y(fe){return Math.sqrt(fe)}function O(){return Math.max.apply(Math,arguments)}function C(){return Math.min.apply(Math,arguments)}function A(){return Array.of.apply(Array,arguments)}var w={symbols:{"!":{postfix:{symbol:"!",f:b,notation:"postfix",precedence:6,rightToLeft:0,argCount:1},symbol:"!",regSymbol:"!"},"^":{infix:{symbol:"^",f:m,notation:"infix",precedence:5,rightToLeft:1,argCount:2},symbol:"^",regSymbol:"\\^"},"*":{infix:{symbol:"*",f:S,notation:"infix",precedence:4,rightToLeft:0,argCount:2},symbol:"*",regSymbol:"\\*"},"/":{infix:{symbol:"/",f:v,notation:"infix",precedence:4,rightToLeft:0,argCount:2},symbol:"/",regSymbol:"/"},"+":{infix:{symbol:"+",f:E,notation:"infix",precedence:2,rightToLeft:0,argCount:2},prefix:{symbol:"+",f:h,notation:"prefix",precedence:3,rightToLeft:0,argCount:1},symbol:"+",regSymbol:"\\+"},"-":{infix:{symbol:"-",f:T,notation:"infix",precedence:2,rightToLeft:0,argCount:2},prefix:{symbol:"-",f:p,notation:"prefix",precedence:3,rightToLeft:0,argCount:1},symbol:"-",regSymbol:"-"},",":{infix:{symbol:",",f:A,notation:"infix",precedence:1,rightToLeft:0,argCount:2},symbol:",",regSymbol:","},"(":{prefix:{symbol:"(",f:h,notation:"prefix",precedence:0,rightToLeft:0,argCount:1},symbol:"(",regSymbol:"\\("},")":{postfix:{symbol:")",f:void 0,notation:"postfix",precedence:0,rightToLeft:0,argCount:1},symbol:")",regSymbol:"\\)"},min:{func:{symbol:"min",f:C,notation:"func",precedence:0,rightToLeft:0,argCount:1},symbol:"min",regSymbol:"min\\b"},max:{func:{symbol:"max",f:O,notation:"func",precedence:0,rightToLeft:0,argCount:1},symbol:"max",regSymbol:"max\\b"},sqrt:{func:{symbol:"sqrt",f:y,notation:"func",precedence:0,rightToLeft:0,argCount:1},symbol:"sqrt",regSymbol:"sqrt\\b"}}},x={"1":`Passed invalid arguments to hsl, please pass multiple numbers e.g. hsl(360, 0.75, 0.4) or an object e.g. rgb({ hue: 255, saturation: 0.4, lightness: 0.75 }).
|
|
2733
2733
|
|
|
2734
2734
|
`,"2":`Passed invalid arguments to hsla, please pass multiple numbers e.g. hsla(360, 0.75, 0.4, 0.7) or an object e.g. rgb({ hue: 255, saturation: 0.4, lightness: 0.75, alpha: 0.7 }).
|
|
2735
2735
|
|
|
@@ -2899,10 +2899,10 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
2899
2899
|
[type="reset"]:-moz-focusring,
|
|
2900
2900
|
[type="submit"]:-moz-focusring`]={outline:"1px dotted ButtonText"},fe.fieldset={padding:"0.35em 0.625em 0.75em"},fe.legend={boxSizing:"border-box",color:"inherit",display:"table",maxWidth:"100%",padding:"0",whiteSpace:"normal"},fe.progress={verticalAlign:"baseline"},fe.textarea={overflow:"auto"},fe[`[type="checkbox"],
|
|
2901
2901
|
[type="radio"]`]={boxSizing:"border-box",padding:"0"},fe[`[type="number"]::-webkit-inner-spin-button,
|
|
2902
|
-
[type="number"]::-webkit-outer-spin-button`]={height:"auto"},fe['[type="search"]']={WebkitAppearance:"textfield",outlineOffset:"-2px"},fe['[type="search"]::-webkit-search-decoration']={WebkitAppearance:"none"},fe["::-webkit-file-upload-button"]={WebkitAppearance:"button",font:"inherit"},fe.details={display:"block"},fe.summary={display:"list-item"},fe.template={display:"none"},fe["[hidden]"]={display:"none"},fe),{"abbr[title]":{textDecoration:"underline dotted"}}]}var He;function Je(fe){var xe=fe.colorStops,Ge=fe.extent,ht=Ge===void 0?"":Ge,Ut=fe.fallback,hn=fe.position,wn=hn===void 0?"":hn,Bn=fe.shape,dr=Bn===void 0?"":Bn;if(!xe||xe.length<2)throw new g(57);return{backgroundColor:Ut||xe[0].split(" ")[0],backgroundImage:ne(He||(He=_taggedTemplateLiteralLoose(["radial-gradient(","","","",")"])),wn,dr,ht,xe.join(", "))}}function ft(fe,xe,Ge,ht,Ut){var hn;if(Ge===void 0&&(Ge="png"),Ut===void 0&&(Ut="_2x"),!fe)throw new g(58);var wn=Ge.replace(/^\./,""),Bn=ht?ht+"."+wn:""+fe+Ut+"."+wn;return hn={backgroundImage:"url("+fe+"."+wn+")"},hn[q()]=_extends({backgroundImage:"url("+Bn+")"},xe?{backgroundSize:xe}:{}),hn}var At={easeInBack:"cubic-bezier(0.600, -0.280, 0.735, 0.045)",easeInCirc:"cubic-bezier(0.600, 0.040, 0.980, 0.335)",easeInCubic:"cubic-bezier(0.550, 0.055, 0.675, 0.190)",easeInExpo:"cubic-bezier(0.950, 0.050, 0.795, 0.035)",easeInQuad:"cubic-bezier(0.550, 0.085, 0.680, 0.530)",easeInQuart:"cubic-bezier(0.895, 0.030, 0.685, 0.220)",easeInQuint:"cubic-bezier(0.755, 0.050, 0.855, 0.060)",easeInSine:"cubic-bezier(0.470, 0.000, 0.745, 0.715)",easeOutBack:"cubic-bezier(0.175, 0.885, 0.320, 1.275)",easeOutCubic:"cubic-bezier(0.215, 0.610, 0.355, 1.000)",easeOutCirc:"cubic-bezier(0.075, 0.820, 0.165, 1.000)",easeOutExpo:"cubic-bezier(0.190, 1.000, 0.220, 1.000)",easeOutQuad:"cubic-bezier(0.250, 0.460, 0.450, 0.940)",easeOutQuart:"cubic-bezier(0.165, 0.840, 0.440, 1.000)",easeOutQuint:"cubic-bezier(0.230, 1.000, 0.320, 1.000)",easeOutSine:"cubic-bezier(0.390, 0.575, 0.565, 1.000)",easeInOutBack:"cubic-bezier(0.680, -0.550, 0.265, 1.550)",easeInOutCirc:"cubic-bezier(0.785, 0.135, 0.150, 0.860)",easeInOutCubic:"cubic-bezier(0.645, 0.045, 0.355, 1.000)",easeInOutExpo:"cubic-bezier(1.000, 0.000, 0.000, 1.000)",easeInOutQuad:"cubic-bezier(0.455, 0.030, 0.515, 0.955)",easeInOutQuart:"cubic-bezier(0.770, 0.000, 0.175, 1.000)",easeInOutQuint:"cubic-bezier(0.860, 0.000, 0.070, 1.000)",easeInOutSine:"cubic-bezier(0.445, 0.050, 0.550, 0.950)"};function Lt(fe){return At[fe]}function Yt(fe){return Lt(fe)}var Vt=function(xe,Ge,ht){var Ut=""+ht[0]+(ht[1]||""),hn=""+ht[0]/2+(ht[1]||""),wn=""+Ge[0]+(Ge[1]||""),Bn=""+Ge[0]/2+(Ge[1]||"");switch(xe){case"top":return"0 "+hn+" "+wn+" "+hn;case"topLeft":return Ut+" "+wn+" 0 0";case"left":return Bn+" "+Ut+" "+Bn+" 0";case"bottomLeft":return Ut+" 0 0 "+wn;case"bottom":return wn+" "+hn+" 0 "+hn;case"bottomRight":return"0 0 "+Ut+" "+wn;case"right":return Bn+" 0 "+Bn+" "+Ut;case"topRight":default:return"0 "+Ut+" "+wn+" 0"}},ze=function(xe,Ge){switch(xe){case"top":case"bottomRight":return{borderBottomColor:Ge};case"right":case"bottomLeft":return{borderLeftColor:Ge};case"bottom":case"topLeft":return{borderTopColor:Ge};case"left":case"topRight":return{borderRightColor:Ge};default:throw new g(59)}};function dt(fe){var xe=fe.pointingDirection,Ge=fe.height,ht=fe.width,Ut=fe.foregroundColor,hn=fe.backgroundColor,wn=hn===void 0?"transparent":hn,Bn=De(ht),dr=De(Ge);if(isNaN(dr[0])||isNaN(Bn[0]))throw new g(60);return _extends({width:"0",height:"0",borderColor:wn},ze(xe,Ut),{borderStyle:"solid",borderWidth:Vt(xe,dr,Bn)})}function bt(fe){fe===void 0&&(fe="break-word");var xe=fe==="break-word"?"break-all":fe;return{overflowWrap:fe,wordWrap:fe,wordBreak:xe}}function pt(fe){return Math.round(fe*255)}function Ct(fe,xe,Ge){return pt(fe)+","+pt(xe)+","+pt(Ge)}function $t(fe,xe,Ge,ht){if(ht===void 0&&(ht=Ct),xe===0)return ht(Ge,Ge,Ge);var Ut=(fe%360+360)%360/60,hn=(1-Math.abs(2*Ge-1))*xe,wn=hn*(1-Math.abs(Ut%2-1)),Bn=0,dr=0,pr=0;Ut>=0&&Ut<1?(Bn=hn,dr=wn):Ut>=1&&Ut<2?(Bn=wn,dr=hn):Ut>=2&&Ut<3?(dr=hn,pr=wn):Ut>=3&&Ut<4?(dr=wn,pr=hn):Ut>=4&&Ut<5?(Bn=wn,pr=hn):Ut>=5&&Ut<6&&(Bn=hn,pr=wn);var Nr=Ge-hn/2,mr=Bn+Nr,kr=dr+Nr,ui=pr+Nr;return ht(mr,kr,ui)}var dn={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"639",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"};function un(fe){if(typeof fe!="string")return fe;var xe=fe.toLowerCase();return dn[xe]?"#"+dn[xe]:fe}var Cn=/^#[a-fA-F0-9]{6}$/,Ke=/^#[a-fA-F0-9]{8}$/,Be=/^#[a-fA-F0-9]{3}$/,it=/^#[a-fA-F0-9]{4}$/,Et=/^rgb\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*\)$/i,Ot=/^rgba\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*([-+]?[0-9]*[.]?[0-9]+)\s*\)$/i,cn=/^hsl\(\s*(\d{0,3}[.]?[0-9]+)\s*,\s*(\d{1,3}[.]?[0-9]?)%\s*,\s*(\d{1,3}[.]?[0-9]?)%\s*\)$/i,Mn=/^hsla\(\s*(\d{0,3}[.]?[0-9]+)\s*,\s*(\d{1,3}[.]?[0-9]?)%\s*,\s*(\d{1,3}[.]?[0-9]?)%\s*,\s*([-+]?[0-9]*[.]?[0-9]+)\s*\)$/i;function Dn(fe){if(typeof fe!="string")throw new g(3);var xe=un(fe);if(xe.match(Cn))return{red:parseInt(""+xe[1]+xe[2],16),green:parseInt(""+xe[3]+xe[4],16),blue:parseInt(""+xe[5]+xe[6],16)};if(xe.match(Ke)){var Ge=parseFloat((parseInt(""+xe[7]+xe[8],16)/255).toFixed(2));return{red:parseInt(""+xe[1]+xe[2],16),green:parseInt(""+xe[3]+xe[4],16),blue:parseInt(""+xe[5]+xe[6],16),alpha:Ge}}if(xe.match(Be))return{red:parseInt(""+xe[1]+xe[1],16),green:parseInt(""+xe[2]+xe[2],16),blue:parseInt(""+xe[3]+xe[3],16)};if(xe.match(it)){var ht=parseFloat((parseInt(""+xe[4]+xe[4],16)/255).toFixed(2));return{red:parseInt(""+xe[1]+xe[1],16),green:parseInt(""+xe[2]+xe[2],16),blue:parseInt(""+xe[3]+xe[3],16),alpha:ht}}var Ut=Et.exec(xe);if(Ut)return{red:parseInt(""+Ut[1],10),green:parseInt(""+Ut[2],10),blue:parseInt(""+Ut[3],10)};var hn=Ot.exec(xe.substring(0,50));if(hn)return{red:parseInt(""+hn[1],10),green:parseInt(""+hn[2],10),blue:parseInt(""+hn[3],10),alpha:parseFloat(""+hn[4])};var wn=cn.exec(xe);if(wn){var Bn=parseInt(""+wn[1],10),dr=parseInt(""+wn[2],10)/100,pr=parseInt(""+wn[3],10)/100,Nr="rgb("+$t(Bn,dr,pr)+")",mr=Et.exec(Nr);if(!mr)throw new g(4,xe,Nr);return{red:parseInt(""+mr[1],10),green:parseInt(""+mr[2],10),blue:parseInt(""+mr[3],10)}}var kr=Mn.exec(xe.substring(0,50));if(kr){var ui=parseInt(""+kr[1],10),ci=parseInt(""+kr[2],10)/100,Yr=parseInt(""+kr[3],10)/100,Jr="rgb("+$t(ui,ci,Yr)+")",oi=Et.exec(Jr);if(!oi)throw new g(4,xe,Jr);return{red:parseInt(""+oi[1],10),green:parseInt(""+oi[2],10),blue:parseInt(""+oi[3],10),alpha:parseFloat(""+kr[4])}}throw new g(5)}function Rn(fe){var xe=fe.red/255,Ge=fe.green/255,ht=fe.blue/255,Ut=Math.max(xe,Ge,ht),hn=Math.min(xe,Ge,ht),wn=(Ut+hn)/2;if(Ut===hn)return fe.alpha!==void 0?{hue:0,saturation:0,lightness:wn,alpha:fe.alpha}:{hue:0,saturation:0,lightness:wn};var Bn,dr=Ut-hn,pr=wn>.5?dr/(2-Ut-hn):dr/(Ut+hn);switch(Ut){case xe:Bn=(Ge-ht)/dr+(Ge<ht?6:0);break;case Ge:Bn=(ht-xe)/dr+2;break;default:Bn=(xe-Ge)/dr+4;break}return Bn*=60,fe.alpha!==void 0?{hue:Bn,saturation:pr,lightness:wn,alpha:fe.alpha}:{hue:Bn,saturation:pr,lightness:wn}}function Gn(fe){return Rn(Dn(fe))}var Pn=function(xe){return xe.length===7&&xe[1]===xe[2]&&xe[3]===xe[4]&&xe[5]===xe[6]?"#"+xe[1]+xe[3]+xe[5]:xe};function Ze(fe){var xe=fe.toString(16);return xe.length===1?"0"+xe:xe}function ut(fe){return Ze(Math.round(fe*255))}function Pt(fe,xe,Ge){return Pn("#"+ut(fe)+ut(xe)+ut(Ge))}function Mt(fe,xe,Ge){return $t(fe,xe,Ge,Pt)}function zt(fe,xe,Ge){if(typeof fe=="number"&&typeof xe=="number"&&typeof Ge=="number")return Mt(fe,xe,Ge);if(typeof fe=="object"&&xe===void 0&&Ge===void 0)return Mt(fe.hue,fe.saturation,fe.lightness);throw new g(1)}function Zt(fe,xe,Ge,ht){if(typeof fe=="number"&&typeof xe=="number"&&typeof Ge=="number"&&typeof ht=="number")return ht>=1?Mt(fe,xe,Ge):"rgba("+$t(fe,xe,Ge)+","+ht+")";if(typeof fe=="object"&&xe===void 0&&Ge===void 0&&ht===void 0)return fe.alpha>=1?Mt(fe.hue,fe.saturation,fe.lightness):"rgba("+$t(fe.hue,fe.saturation,fe.lightness)+","+fe.alpha+")";throw new g(2)}function Qe(fe,xe,Ge){if(typeof fe=="number"&&typeof xe=="number"&&typeof Ge=="number")return Pn("#"+Ze(fe)+Ze(xe)+Ze(Ge));if(typeof fe=="object"&&xe===void 0&&Ge===void 0)return Pn("#"+Ze(fe.red)+Ze(fe.green)+Ze(fe.blue));throw new g(6)}function ot(fe,xe,Ge,ht){if(typeof fe=="string"&&typeof xe=="number"){var Ut=Dn(fe);return"rgba("+Ut.red+","+Ut.green+","+Ut.blue+","+xe+")"}else{if(typeof fe=="number"&&typeof xe=="number"&&typeof Ge=="number"&&typeof ht=="number")return ht>=1?Qe(fe,xe,Ge):"rgba("+fe+","+xe+","+Ge+","+ht+")";if(typeof fe=="object"&&xe===void 0&&Ge===void 0&&ht===void 0)return fe.alpha>=1?Qe(fe.red,fe.green,fe.blue):"rgba("+fe.red+","+fe.green+","+fe.blue+","+fe.alpha+")"}throw new g(7)}var Xe=function(xe){return typeof xe.red=="number"&&typeof xe.green=="number"&&typeof xe.blue=="number"&&(typeof xe.alpha!="number"||typeof xe.alpha=="undefined")},st=function(xe){return typeof xe.red=="number"&&typeof xe.green=="number"&&typeof xe.blue=="number"&&typeof xe.alpha=="number"},wt=function(xe){return typeof xe.hue=="number"&&typeof xe.saturation=="number"&&typeof xe.lightness=="number"&&(typeof xe.alpha!="number"||typeof xe.alpha=="undefined")},tn=function(xe){return typeof xe.hue=="number"&&typeof xe.saturation=="number"&&typeof xe.lightness=="number"&&typeof xe.alpha=="number"};function qt(fe){if(typeof fe!="object")throw new g(8);if(st(fe))return ot(fe);if(Xe(fe))return Qe(fe);if(tn(fe))return Zt(fe);if(wt(fe))return zt(fe);throw new g(8)}function bn(fe,xe,Ge){return function(){var Ut=Ge.concat(Array.prototype.slice.call(arguments));return Ut.length>=xe?fe.apply(this,Ut):bn(fe,xe,Ut)}}function Fn(fe){return bn(fe,fe.length,[])}function Ln(fe,xe){if(xe==="transparent")return xe;var Ge=Gn(xe);return qt(_extends({},Ge,{hue:Ge.hue+parseFloat(fe)}))}var ir=null;function Nn(fe){if(fe==="transparent")return fe;var xe=Gn(fe);return qt(_extends({},xe,{hue:(xe.hue+180)%360}))}function En(fe,xe,Ge){return Math.max(fe,Math.min(xe,Ge))}function Xn(fe,xe){if(xe==="transparent")return xe;var Ge=Gn(xe);return qt(t({},Ge,{lightness:En(0,1,Ge.lightness-parseFloat(fe))}))}var kn=Fn(Xn);function On(fe,xe){if(xe==="transparent")return xe;var Ge=Gn(xe);return qt(_extends({},Ge,{saturation:En(0,1,Ge.saturation-parseFloat(fe))}))}var Yn=null;function Hn(fe){if(fe==="transparent")return 0;var xe=Dn(fe),Ge=Object.keys(xe).map(function(wn){var Bn=xe[wn]/255;return Bn<=.03928?Bn/12.92:Math.pow((Bn+.055)/1.055,2.4)}),ht=Ge[0],Ut=Ge[1],hn=Ge[2];return parseFloat((.2126*ht+.7152*Ut+.0722*hn).toFixed(3))}function xn(fe,xe){var Ge=Hn(fe),ht=Hn(xe);return parseFloat((Ge>ht?(Ge+.05)/(ht+.05):(ht+.05)/(Ge+.05)).toFixed(2))}function hr(fe){return fe==="transparent"?fe:qt(_extends({},Gn(fe),{saturation:0}))}function sr(fe){if(typeof fe=="object"&&typeof fe.hue=="number"&&typeof fe.saturation=="number"&&typeof fe.lightness=="number")return fe.alpha&&typeof fe.alpha=="number"?Zt({hue:fe.hue,saturation:fe.saturation,lightness:fe.lightness,alpha:fe.alpha}):zt({hue:fe.hue,saturation:fe.saturation,lightness:fe.lightness});throw new g(45)}function ur(fe){if(fe==="transparent")return fe;var xe=Dn(fe);return qt(t({},xe,{red:255-xe.red,green:255-xe.green,blue:255-xe.blue}))}function Qn(fe,xe){if(xe==="transparent")return xe;var Ge=Gn(xe);return qt(t({},Ge,{lightness:En(0,1,Ge.lightness+parseFloat(fe))}))}var vr=Fn(Qn);function Dr(fe,xe){var Ge=xn(fe,xe);return{AA:Ge>=4.5,AALarge:Ge>=3,AAA:Ge>=7,AAALarge:Ge>=4.5}}function jr(fe,xe,Ge){if(xe==="transparent")return Ge;if(Ge==="transparent")return xe;if(fe===0)return Ge;var ht=Dn(xe),Ut=_extends({},ht,{alpha:typeof ht.alpha=="number"?ht.alpha:1}),hn=Dn(Ge),wn=_extends({},hn,{alpha:typeof hn.alpha=="number"?hn.alpha:1}),Bn=Ut.alpha-wn.alpha,dr=parseFloat(fe)*2-1,pr=dr*Bn==-1?dr:dr+Bn,Nr=1+dr*Bn,mr=(pr/Nr+1)/2,kr=1-mr,ui={red:Math.floor(Ut.red*mr+wn.red*kr),green:Math.floor(Ut.green*mr+wn.green*kr),blue:Math.floor(Ut.blue*mr+wn.blue*kr),alpha:Ut.alpha*(parseFloat(fe)/1)+wn.alpha*(1-parseFloat(fe)/1)};return ot(ui)}var Er=null;function Vr(fe,xe){if(xe==="transparent")return xe;var Ge=Dn(xe),ht=typeof Ge.alpha=="number"?Ge.alpha:1,Ut=_extends({},Ge,{alpha:En(0,1,(ht*100+parseFloat(fe)*100)/100)});return ot(Ut)}var Sr=null,Tr="#000",qn="#fff";function sn(fe,xe,Ge,ht){xe===void 0&&(xe=Tr),Ge===void 0&&(Ge=qn),ht===void 0&&(ht=!0);var Ut=Hn(fe)>.179,hn=Ut?xe:Ge;return!ht||xn(fe,hn)>=4.5?hn:Ut?Tr:qn}function It(fe){if(typeof fe=="object"&&typeof fe.red=="number"&&typeof fe.green=="number"&&typeof fe.blue=="number")return typeof fe.alpha=="number"?ot({red:fe.red,green:fe.green,blue:fe.blue,alpha:fe.alpha}):Qe({red:fe.red,green:fe.green,blue:fe.blue});throw new g(46)}function fn(fe,xe){if(xe==="transparent")return xe;var Ge=Gn(xe);return qt(_extends({},Ge,{saturation:En(0,1,Ge.saturation+parseFloat(fe))}))}var vn=null;function er(fe,xe){return xe==="transparent"?xe:qt(_extends({},Gn(xe),{hue:parseFloat(fe)}))}var ar=null;function nr(fe,xe){return xe==="transparent"?xe:qt(_extends({},Gn(xe),{lightness:parseFloat(fe)}))}var Ye=null;function ye(fe,xe){return xe==="transparent"?xe:qt(_extends({},Gn(xe),{saturation:parseFloat(fe)}))}var Ae=null;function gt(fe,xe){return xe==="transparent"?xe:Er(parseFloat(fe),"rgb(0, 0, 0)",xe)}var Ve=null;function Gt(fe,xe){return xe==="transparent"?xe:Er(parseFloat(fe),"rgb(255, 255, 255)",xe)}var rt=null;function an(fe,xe){if(xe==="transparent")return xe;var Ge=Dn(xe),ht=typeof Ge.alpha=="number"?Ge.alpha:1,Ut=t({},Ge,{alpha:En(0,1,+(ht*100-parseFloat(fe)*100).toFixed(2)/100)});return ot(Ut)}var pn=Fn(an);function jn(){for(var fe=arguments.length,xe=new Array(fe),Ge=0;Ge<fe;Ge++)xe[Ge]=arguments[Ge];var ht=Array.isArray(xe[0]);if(!ht&&xe.length>8)throw new g(64);var Ut=xe.map(function(hn){if(ht&&!Array.isArray(hn)||!ht&&Array.isArray(hn))throw new g(65);if(Array.isArray(hn)&&hn.length>8)throw new g(66);return Array.isArray(hn)?hn.join(" "):hn}).join(", ");return{animation:Ut}}function Kt(){for(var fe=arguments.length,xe=new Array(fe),Ge=0;Ge<fe;Ge++)xe[Ge]=arguments[Ge];return{backgroundImage:xe.join(", ")}}function An(){for(var fe=arguments.length,xe=new Array(fe),Ge=0;Ge<fe;Ge++)xe[Ge]=arguments[Ge];return{background:xe.join(", ")}}var _n=null;function Ue(fe){for(var xe=arguments.length,Ge=new Array(xe>1?xe-1:0),ht=1;ht<xe;ht++)Ge[ht-1]=arguments[ht];if(typeof fe=="string"&&_n.indexOf(fe)>=0){var Ut;return Ut={},Ut["border"+te(fe)+"Width"]=Ge[0],Ut["border"+te(fe)+"Style"]=Ge[1],Ut["border"+te(fe)+"Color"]=Ge[2],Ut}else return Ge.unshift(fe),{borderWidth:Ge[0],borderStyle:Ge[1],borderColor:Ge[2]}}function lt(){for(var fe=arguments.length,xe=new Array(fe),Ge=0;Ge<fe;Ge++)xe[Ge]=arguments[Ge];return J.apply(void 0,["borderColor"].concat(xe))}function Ft(fe,xe){var Ge=te(fe);if(!xe&&xe!==0)throw new g(62);if(Ge==="Top"||Ge==="Bottom"){var ht;return ht={},ht["border"+Ge+"RightRadius"]=xe,ht["border"+Ge+"LeftRadius"]=xe,ht}if(Ge==="Left"||Ge==="Right"){var Ut;return Ut={},Ut["borderTop"+Ge+"Radius"]=xe,Ut["borderBottom"+Ge+"Radius"]=xe,Ut}throw new g(63)}function on(){for(var fe=arguments.length,xe=new Array(fe),Ge=0;Ge<fe;Ge++)xe[Ge]=arguments[Ge];return J.apply(void 0,["borderStyle"].concat(xe))}function cr(){for(var fe=arguments.length,xe=new Array(fe),Ge=0;Ge<fe;Ge++)xe[Ge]=arguments[Ge];return J.apply(void 0,["borderWidth"].concat(xe))}function In(fe,xe){var Ge=xe?":"+xe:"";return fe(Ge)}function Cr(fe,xe,Ge){if(!xe)throw new g(67);if(fe.length===0)return In(xe,null);for(var ht=[],Ut=0;Ut<fe.length;Ut+=1){if(Ge&&Ge.indexOf(fe[Ut])<0)throw new g(68);ht.push(In(xe,fe[Ut]))}return ht=ht.join(","),ht}var Rr=[void 0,null,"active","focus","hover"];function $r(fe){return"button"+fe+`,
|
|
2902
|
+
[type="number"]::-webkit-outer-spin-button`]={height:"auto"},fe['[type="search"]']={WebkitAppearance:"textfield",outlineOffset:"-2px"},fe['[type="search"]::-webkit-search-decoration']={WebkitAppearance:"none"},fe["::-webkit-file-upload-button"]={WebkitAppearance:"button",font:"inherit"},fe.details={display:"block"},fe.summary={display:"list-item"},fe.template={display:"none"},fe["[hidden]"]={display:"none"},fe),{"abbr[title]":{textDecoration:"underline dotted"}}]}var He;function Je(fe){var xe=fe.colorStops,Ge=fe.extent,ht=Ge===void 0?"":Ge,Ut=fe.fallback,hn=fe.position,wn=hn===void 0?"":hn,Bn=fe.shape,dr=Bn===void 0?"":Bn;if(!xe||xe.length<2)throw new g(57);return{backgroundColor:Ut||xe[0].split(" ")[0],backgroundImage:ne(He||(He=_taggedTemplateLiteralLoose(["radial-gradient(","","","",")"])),wn,dr,ht,xe.join(", "))}}function ft(fe,xe,Ge,ht,Ut){var hn;if(Ge===void 0&&(Ge="png"),Ut===void 0&&(Ut="_2x"),!fe)throw new g(58);var wn=Ge.replace(/^\./,""),Bn=ht?ht+"."+wn:""+fe+Ut+"."+wn;return hn={backgroundImage:"url("+fe+"."+wn+")"},hn[q()]=_extends({backgroundImage:"url("+Bn+")"},xe?{backgroundSize:xe}:{}),hn}var At={easeInBack:"cubic-bezier(0.600, -0.280, 0.735, 0.045)",easeInCirc:"cubic-bezier(0.600, 0.040, 0.980, 0.335)",easeInCubic:"cubic-bezier(0.550, 0.055, 0.675, 0.190)",easeInExpo:"cubic-bezier(0.950, 0.050, 0.795, 0.035)",easeInQuad:"cubic-bezier(0.550, 0.085, 0.680, 0.530)",easeInQuart:"cubic-bezier(0.895, 0.030, 0.685, 0.220)",easeInQuint:"cubic-bezier(0.755, 0.050, 0.855, 0.060)",easeInSine:"cubic-bezier(0.470, 0.000, 0.745, 0.715)",easeOutBack:"cubic-bezier(0.175, 0.885, 0.320, 1.275)",easeOutCubic:"cubic-bezier(0.215, 0.610, 0.355, 1.000)",easeOutCirc:"cubic-bezier(0.075, 0.820, 0.165, 1.000)",easeOutExpo:"cubic-bezier(0.190, 1.000, 0.220, 1.000)",easeOutQuad:"cubic-bezier(0.250, 0.460, 0.450, 0.940)",easeOutQuart:"cubic-bezier(0.165, 0.840, 0.440, 1.000)",easeOutQuint:"cubic-bezier(0.230, 1.000, 0.320, 1.000)",easeOutSine:"cubic-bezier(0.390, 0.575, 0.565, 1.000)",easeInOutBack:"cubic-bezier(0.680, -0.550, 0.265, 1.550)",easeInOutCirc:"cubic-bezier(0.785, 0.135, 0.150, 0.860)",easeInOutCubic:"cubic-bezier(0.645, 0.045, 0.355, 1.000)",easeInOutExpo:"cubic-bezier(1.000, 0.000, 0.000, 1.000)",easeInOutQuad:"cubic-bezier(0.455, 0.030, 0.515, 0.955)",easeInOutQuart:"cubic-bezier(0.770, 0.000, 0.175, 1.000)",easeInOutQuint:"cubic-bezier(0.860, 0.000, 0.070, 1.000)",easeInOutSine:"cubic-bezier(0.445, 0.050, 0.550, 0.950)"};function Lt(fe){return At[fe]}function Yt(fe){return Lt(fe)}var Vt=function(xe,Ge,ht){var Ut=""+ht[0]+(ht[1]||""),hn=""+ht[0]/2+(ht[1]||""),wn=""+Ge[0]+(Ge[1]||""),Bn=""+Ge[0]/2+(Ge[1]||"");switch(xe){case"top":return"0 "+hn+" "+wn+" "+hn;case"topLeft":return Ut+" "+wn+" 0 0";case"left":return Bn+" "+Ut+" "+Bn+" 0";case"bottomLeft":return Ut+" 0 0 "+wn;case"bottom":return wn+" "+hn+" 0 "+hn;case"bottomRight":return"0 0 "+Ut+" "+wn;case"right":return Bn+" 0 "+Bn+" "+Ut;case"topRight":default:return"0 "+Ut+" "+wn+" 0"}},ze=function(xe,Ge){switch(xe){case"top":case"bottomRight":return{borderBottomColor:Ge};case"right":case"bottomLeft":return{borderLeftColor:Ge};case"bottom":case"topLeft":return{borderTopColor:Ge};case"left":case"topRight":return{borderRightColor:Ge};default:throw new g(59)}};function dt(fe){var xe=fe.pointingDirection,Ge=fe.height,ht=fe.width,Ut=fe.foregroundColor,hn=fe.backgroundColor,wn=hn===void 0?"transparent":hn,Bn=De(ht),dr=De(Ge);if(isNaN(dr[0])||isNaN(Bn[0]))throw new g(60);return _extends({width:"0",height:"0",borderColor:wn},ze(xe,Ut),{borderStyle:"solid",borderWidth:Vt(xe,dr,Bn)})}function bt(fe){fe===void 0&&(fe="break-word");var xe=fe==="break-word"?"break-all":fe;return{overflowWrap:fe,wordWrap:fe,wordBreak:xe}}function pt(fe){return Math.round(fe*255)}function Ct(fe,xe,Ge){return pt(fe)+","+pt(xe)+","+pt(Ge)}function $t(fe,xe,Ge,ht){if(ht===void 0&&(ht=Ct),xe===0)return ht(Ge,Ge,Ge);var Ut=(fe%360+360)%360/60,hn=(1-Math.abs(2*Ge-1))*xe,wn=hn*(1-Math.abs(Ut%2-1)),Bn=0,dr=0,pr=0;Ut>=0&&Ut<1?(Bn=hn,dr=wn):Ut>=1&&Ut<2?(Bn=wn,dr=hn):Ut>=2&&Ut<3?(dr=hn,pr=wn):Ut>=3&&Ut<4?(dr=wn,pr=hn):Ut>=4&&Ut<5?(Bn=wn,pr=hn):Ut>=5&&Ut<6&&(Bn=hn,pr=wn);var Nr=Ge-hn/2,mr=Bn+Nr,kr=dr+Nr,ui=pr+Nr;return ht(mr,kr,ui)}var fn={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"639",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"};function cn(fe){if(typeof fe!="string")return fe;var xe=fe.toLowerCase();return fn[xe]?"#"+fn[xe]:fe}var Rn=/^#[a-fA-F0-9]{6}$/,Ke=/^#[a-fA-F0-9]{8}$/,Ue=/^#[a-fA-F0-9]{3}$/,it=/^#[a-fA-F0-9]{4}$/,Et=/^rgb\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*\)$/i,Ot=/^rgba\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*([-+]?[0-9]*[.]?[0-9]+)\s*\)$/i,dn=/^hsl\(\s*(\d{0,3}[.]?[0-9]+)\s*,\s*(\d{1,3}[.]?[0-9]?)%\s*,\s*(\d{1,3}[.]?[0-9]?)%\s*\)$/i,Ln=/^hsla\(\s*(\d{0,3}[.]?[0-9]+)\s*,\s*(\d{1,3}[.]?[0-9]?)%\s*,\s*(\d{1,3}[.]?[0-9]?)%\s*,\s*([-+]?[0-9]*[.]?[0-9]+)\s*\)$/i;function $n(fe){if(typeof fe!="string")throw new g(3);var xe=cn(fe);if(xe.match(Rn))return{red:parseInt(""+xe[1]+xe[2],16),green:parseInt(""+xe[3]+xe[4],16),blue:parseInt(""+xe[5]+xe[6],16)};if(xe.match(Ke)){var Ge=parseFloat((parseInt(""+xe[7]+xe[8],16)/255).toFixed(2));return{red:parseInt(""+xe[1]+xe[2],16),green:parseInt(""+xe[3]+xe[4],16),blue:parseInt(""+xe[5]+xe[6],16),alpha:Ge}}if(xe.match(Ue))return{red:parseInt(""+xe[1]+xe[1],16),green:parseInt(""+xe[2]+xe[2],16),blue:parseInt(""+xe[3]+xe[3],16)};if(xe.match(it)){var ht=parseFloat((parseInt(""+xe[4]+xe[4],16)/255).toFixed(2));return{red:parseInt(""+xe[1]+xe[1],16),green:parseInt(""+xe[2]+xe[2],16),blue:parseInt(""+xe[3]+xe[3],16),alpha:ht}}var Ut=Et.exec(xe);if(Ut)return{red:parseInt(""+Ut[1],10),green:parseInt(""+Ut[2],10),blue:parseInt(""+Ut[3],10)};var hn=Ot.exec(xe.substring(0,50));if(hn)return{red:parseInt(""+hn[1],10),green:parseInt(""+hn[2],10),blue:parseInt(""+hn[3],10),alpha:parseFloat(""+hn[4])};var wn=dn.exec(xe);if(wn){var Bn=parseInt(""+wn[1],10),dr=parseInt(""+wn[2],10)/100,pr=parseInt(""+wn[3],10)/100,Nr="rgb("+$t(Bn,dr,pr)+")",mr=Et.exec(Nr);if(!mr)throw new g(4,xe,Nr);return{red:parseInt(""+mr[1],10),green:parseInt(""+mr[2],10),blue:parseInt(""+mr[3],10)}}var kr=Ln.exec(xe.substring(0,50));if(kr){var ui=parseInt(""+kr[1],10),ci=parseInt(""+kr[2],10)/100,Yr=parseInt(""+kr[3],10)/100,Jr="rgb("+$t(ui,ci,Yr)+")",oi=Et.exec(Jr);if(!oi)throw new g(4,xe,Jr);return{red:parseInt(""+oi[1],10),green:parseInt(""+oi[2],10),blue:parseInt(""+oi[3],10),alpha:parseFloat(""+kr[4])}}throw new g(5)}function An(fe){var xe=fe.red/255,Ge=fe.green/255,ht=fe.blue/255,Ut=Math.max(xe,Ge,ht),hn=Math.min(xe,Ge,ht),wn=(Ut+hn)/2;if(Ut===hn)return fe.alpha!==void 0?{hue:0,saturation:0,lightness:wn,alpha:fe.alpha}:{hue:0,saturation:0,lightness:wn};var Bn,dr=Ut-hn,pr=wn>.5?dr/(2-Ut-hn):dr/(Ut+hn);switch(Ut){case xe:Bn=(Ge-ht)/dr+(Ge<ht?6:0);break;case Ge:Bn=(ht-xe)/dr+2;break;default:Bn=(xe-Ge)/dr+4;break}return Bn*=60,fe.alpha!==void 0?{hue:Bn,saturation:pr,lightness:wn,alpha:fe.alpha}:{hue:Bn,saturation:pr,lightness:wn}}function Gn(fe){return An($n(fe))}var Pn=function(xe){return xe.length===7&&xe[1]===xe[2]&&xe[3]===xe[4]&&xe[5]===xe[6]?"#"+xe[1]+xe[3]+xe[5]:xe};function Ze(fe){var xe=fe.toString(16);return xe.length===1?"0"+xe:xe}function ut(fe){return Ze(Math.round(fe*255))}function Pt(fe,xe,Ge){return Pn("#"+ut(fe)+ut(xe)+ut(Ge))}function Mt(fe,xe,Ge){return $t(fe,xe,Ge,Pt)}function zt(fe,xe,Ge){if(typeof fe=="number"&&typeof xe=="number"&&typeof Ge=="number")return Mt(fe,xe,Ge);if(typeof fe=="object"&&xe===void 0&&Ge===void 0)return Mt(fe.hue,fe.saturation,fe.lightness);throw new g(1)}function Zt(fe,xe,Ge,ht){if(typeof fe=="number"&&typeof xe=="number"&&typeof Ge=="number"&&typeof ht=="number")return ht>=1?Mt(fe,xe,Ge):"rgba("+$t(fe,xe,Ge)+","+ht+")";if(typeof fe=="object"&&xe===void 0&&Ge===void 0&&ht===void 0)return fe.alpha>=1?Mt(fe.hue,fe.saturation,fe.lightness):"rgba("+$t(fe.hue,fe.saturation,fe.lightness)+","+fe.alpha+")";throw new g(2)}function Qe(fe,xe,Ge){if(typeof fe=="number"&&typeof xe=="number"&&typeof Ge=="number")return Pn("#"+Ze(fe)+Ze(xe)+Ze(Ge));if(typeof fe=="object"&&xe===void 0&&Ge===void 0)return Pn("#"+Ze(fe.red)+Ze(fe.green)+Ze(fe.blue));throw new g(6)}function ot(fe,xe,Ge,ht){if(typeof fe=="string"&&typeof xe=="number"){var Ut=$n(fe);return"rgba("+Ut.red+","+Ut.green+","+Ut.blue+","+xe+")"}else{if(typeof fe=="number"&&typeof xe=="number"&&typeof Ge=="number"&&typeof ht=="number")return ht>=1?Qe(fe,xe,Ge):"rgba("+fe+","+xe+","+Ge+","+ht+")";if(typeof fe=="object"&&xe===void 0&&Ge===void 0&&ht===void 0)return fe.alpha>=1?Qe(fe.red,fe.green,fe.blue):"rgba("+fe.red+","+fe.green+","+fe.blue+","+fe.alpha+")"}throw new g(7)}var Xe=function(xe){return typeof xe.red=="number"&&typeof xe.green=="number"&&typeof xe.blue=="number"&&(typeof xe.alpha!="number"||typeof xe.alpha=="undefined")},st=function(xe){return typeof xe.red=="number"&&typeof xe.green=="number"&&typeof xe.blue=="number"&&typeof xe.alpha=="number"},wt=function(xe){return typeof xe.hue=="number"&&typeof xe.saturation=="number"&&typeof xe.lightness=="number"&&(typeof xe.alpha!="number"||typeof xe.alpha=="undefined")},tn=function(xe){return typeof xe.hue=="number"&&typeof xe.saturation=="number"&&typeof xe.lightness=="number"&&typeof xe.alpha=="number"};function qt(fe){if(typeof fe!="object")throw new g(8);if(st(fe))return ot(fe);if(Xe(fe))return Qe(fe);if(tn(fe))return Zt(fe);if(wt(fe))return zt(fe);throw new g(8)}function bn(fe,xe,Ge){return function(){var Ut=Ge.concat(Array.prototype.slice.call(arguments));return Ut.length>=xe?fe.apply(this,Ut):bn(fe,xe,Ut)}}function Fn(fe){return bn(fe,fe.length,[])}function Nn(fe,xe){if(xe==="transparent")return xe;var Ge=Gn(xe);return qt(_extends({},Ge,{hue:Ge.hue+parseFloat(fe)}))}var rr=null;function jn(fe){if(fe==="transparent")return fe;var xe=Gn(fe);return qt(_extends({},xe,{hue:(xe.hue+180)%360}))}function En(fe,xe,Ge){return Math.max(fe,Math.min(xe,Ge))}function Xn(fe,xe){if(xe==="transparent")return xe;var Ge=Gn(xe);return qt(t({},Ge,{lightness:En(0,1,Ge.lightness-parseFloat(fe))}))}var kn=Fn(Xn);function On(fe,xe){if(xe==="transparent")return xe;var Ge=Gn(xe);return qt(_extends({},Ge,{saturation:En(0,1,Ge.saturation-parseFloat(fe))}))}var Yn=null;function Hn(fe){if(fe==="transparent")return 0;var xe=$n(fe),Ge=Object.keys(xe).map(function(wn){var Bn=xe[wn]/255;return Bn<=.03928?Bn/12.92:Math.pow((Bn+.055)/1.055,2.4)}),ht=Ge[0],Ut=Ge[1],hn=Ge[2];return parseFloat((.2126*ht+.7152*Ut+.0722*hn).toFixed(3))}function xn(fe,xe){var Ge=Hn(fe),ht=Hn(xe);return parseFloat((Ge>ht?(Ge+.05)/(ht+.05):(ht+.05)/(Ge+.05)).toFixed(2))}function hr(fe){return fe==="transparent"?fe:qt(_extends({},Gn(fe),{saturation:0}))}function sr(fe){if(typeof fe=="object"&&typeof fe.hue=="number"&&typeof fe.saturation=="number"&&typeof fe.lightness=="number")return fe.alpha&&typeof fe.alpha=="number"?Zt({hue:fe.hue,saturation:fe.saturation,lightness:fe.lightness,alpha:fe.alpha}):zt({hue:fe.hue,saturation:fe.saturation,lightness:fe.lightness});throw new g(45)}function ur(fe){if(fe==="transparent")return fe;var xe=$n(fe);return qt(t({},xe,{red:255-xe.red,green:255-xe.green,blue:255-xe.blue}))}function Qn(fe,xe){if(xe==="transparent")return xe;var Ge=Gn(xe);return qt(t({},Ge,{lightness:En(0,1,Ge.lightness+parseFloat(fe))}))}var vr=Fn(Qn);function Dr(fe,xe){var Ge=xn(fe,xe);return{AA:Ge>=4.5,AALarge:Ge>=3,AAA:Ge>=7,AAALarge:Ge>=4.5}}function jr(fe,xe,Ge){if(xe==="transparent")return Ge;if(Ge==="transparent")return xe;if(fe===0)return Ge;var ht=$n(xe),Ut=_extends({},ht,{alpha:typeof ht.alpha=="number"?ht.alpha:1}),hn=$n(Ge),wn=_extends({},hn,{alpha:typeof hn.alpha=="number"?hn.alpha:1}),Bn=Ut.alpha-wn.alpha,dr=parseFloat(fe)*2-1,pr=dr*Bn==-1?dr:dr+Bn,Nr=1+dr*Bn,mr=(pr/Nr+1)/2,kr=1-mr,ui={red:Math.floor(Ut.red*mr+wn.red*kr),green:Math.floor(Ut.green*mr+wn.green*kr),blue:Math.floor(Ut.blue*mr+wn.blue*kr),alpha:Ut.alpha*(parseFloat(fe)/1)+wn.alpha*(1-parseFloat(fe)/1)};return ot(ui)}var Er=null;function Vr(fe,xe){if(xe==="transparent")return xe;var Ge=$n(xe),ht=typeof Ge.alpha=="number"?Ge.alpha:1,Ut=_extends({},Ge,{alpha:En(0,1,(ht*100+parseFloat(fe)*100)/100)});return ot(Ut)}var Sr=null,Tr="#000",qn="#fff";function ln(fe,xe,Ge,ht){xe===void 0&&(xe=Tr),Ge===void 0&&(Ge=qn),ht===void 0&&(ht=!0);var Ut=Hn(fe)>.179,hn=Ut?xe:Ge;return!ht||xn(fe,hn)>=4.5?hn:Ut?Tr:qn}function It(fe){if(typeof fe=="object"&&typeof fe.red=="number"&&typeof fe.green=="number"&&typeof fe.blue=="number")return typeof fe.alpha=="number"?ot({red:fe.red,green:fe.green,blue:fe.blue,alpha:fe.alpha}):Qe({red:fe.red,green:fe.green,blue:fe.blue});throw new g(46)}function pn(fe,xe){if(xe==="transparent")return xe;var Ge=Gn(xe);return qt(_extends({},Ge,{saturation:En(0,1,Ge.saturation+parseFloat(fe))}))}var vn=null;function er(fe,xe){return xe==="transparent"?xe:qt(_extends({},Gn(xe),{hue:parseFloat(fe)}))}var ar=null;function nr(fe,xe){return xe==="transparent"?xe:qt(_extends({},Gn(xe),{lightness:parseFloat(fe)}))}var Ye=null;function ye(fe,xe){return xe==="transparent"?xe:qt(_extends({},Gn(xe),{saturation:parseFloat(fe)}))}var Re=null;function gt(fe,xe){return xe==="transparent"?xe:Er(parseFloat(fe),"rgb(0, 0, 0)",xe)}var We=null;function Qt(fe,xe){return xe==="transparent"?xe:Er(parseFloat(fe),"rgb(255, 255, 255)",xe)}var rt=null;function sn(fe,xe){if(xe==="transparent")return xe;var Ge=$n(xe),ht=typeof Ge.alpha=="number"?Ge.alpha:1,Ut=t({},Ge,{alpha:En(0,1,+(ht*100-parseFloat(fe)*100).toFixed(2)/100)});return ot(Ut)}var an=Fn(sn);function In(){for(var fe=arguments.length,xe=new Array(fe),Ge=0;Ge<fe;Ge++)xe[Ge]=arguments[Ge];var ht=Array.isArray(xe[0]);if(!ht&&xe.length>8)throw new g(64);var Ut=xe.map(function(hn){if(ht&&!Array.isArray(hn)||!ht&&Array.isArray(hn))throw new g(65);if(Array.isArray(hn)&&hn.length>8)throw new g(66);return Array.isArray(hn)?hn.join(" "):hn}).join(", ");return{animation:Ut}}function Ht(){for(var fe=arguments.length,xe=new Array(fe),Ge=0;Ge<fe;Ge++)xe[Ge]=arguments[Ge];return{backgroundImage:xe.join(", ")}}function Tn(){for(var fe=arguments.length,xe=new Array(fe),Ge=0;Ge<fe;Ge++)xe[Ge]=arguments[Ge];return{background:xe.join(", ")}}var _n=null;function Be(fe){for(var xe=arguments.length,Ge=new Array(xe>1?xe-1:0),ht=1;ht<xe;ht++)Ge[ht-1]=arguments[ht];if(typeof fe=="string"&&_n.indexOf(fe)>=0){var Ut;return Ut={},Ut["border"+te(fe)+"Width"]=Ge[0],Ut["border"+te(fe)+"Style"]=Ge[1],Ut["border"+te(fe)+"Color"]=Ge[2],Ut}else return Ge.unshift(fe),{borderWidth:Ge[0],borderStyle:Ge[1],borderColor:Ge[2]}}function lt(){for(var fe=arguments.length,xe=new Array(fe),Ge=0;Ge<fe;Ge++)xe[Ge]=arguments[Ge];return J.apply(void 0,["borderColor"].concat(xe))}function jt(fe,xe){var Ge=te(fe);if(!xe&&xe!==0)throw new g(62);if(Ge==="Top"||Ge==="Bottom"){var ht;return ht={},ht["border"+Ge+"RightRadius"]=xe,ht["border"+Ge+"LeftRadius"]=xe,ht}if(Ge==="Left"||Ge==="Right"){var Ut;return Ut={},Ut["borderTop"+Ge+"Radius"]=xe,Ut["borderBottom"+Ge+"Radius"]=xe,Ut}throw new g(63)}function on(){for(var fe=arguments.length,xe=new Array(fe),Ge=0;Ge<fe;Ge++)xe[Ge]=arguments[Ge];return J.apply(void 0,["borderStyle"].concat(xe))}function cr(){for(var fe=arguments.length,xe=new Array(fe),Ge=0;Ge<fe;Ge++)xe[Ge]=arguments[Ge];return J.apply(void 0,["borderWidth"].concat(xe))}function Dn(fe,xe){var Ge=xe?":"+xe:"";return fe(Ge)}function Cr(fe,xe,Ge){if(!xe)throw new g(67);if(fe.length===0)return Dn(xe,null);for(var ht=[],Ut=0;Ut<fe.length;Ut+=1){if(Ge&&Ge.indexOf(fe[Ut])<0)throw new g(68);ht.push(Dn(xe,fe[Ut]))}return ht=ht.join(","),ht}var Rr=[void 0,null,"active","focus","hover"];function $r(fe){return"button"+fe+`,
|
|
2903
2903
|
input[type="button"]`+fe+`,
|
|
2904
2904
|
input[type="reset"]`+fe+`,
|
|
2905
|
-
input[type="submit"]`+fe}function
|
|
2905
|
+
input[type="submit"]`+fe}function Mn(){for(var fe=arguments.length,xe=new Array(fe),Ge=0;Ge<fe;Ge++)xe[Ge]=arguments[Ge];return Cr(xe,$r,Rr)}function lr(){for(var fe=arguments.length,xe=new Array(fe),Ge=0;Ge<fe;Ge++)xe[Ge]=arguments[Ge];return J.apply(void 0,["margin"].concat(xe))}function ni(){for(var fe=arguments.length,xe=new Array(fe),Ge=0;Ge<fe;Ge++)xe[Ge]=arguments[Ge];return J.apply(void 0,["padding"].concat(xe))}var Hr=null;function _r(fe){for(var xe=arguments.length,Ge=new Array(xe>1?xe-1:0),ht=1;ht<xe;ht++)Ge[ht-1]=arguments[ht];return Hr.indexOf(fe)>=0&&fe?_extends({},J.apply(void 0,[""].concat(Ge)),{position:fe}):J.apply(void 0,["",fe].concat(Ge))}function qr(fe,xe){return xe===void 0&&(xe=fe),{height:fe,width:xe}}var Kr=[void 0,null,"active","focus","hover"];function ti(fe){return'input[type="color"]'+fe+`,
|
|
2906
2906
|
input[type="date"]`+fe+`,
|
|
2907
2907
|
input[type="datetime"]`+fe+`,
|
|
2908
2908
|
input[type="datetime-local"]`+fe+`,
|
|
@@ -2936,11 +2936,11 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
2936
2936
|
`+Se+i}var nt=!1;function Me(i,f){if(!i||nt)return"";nt=!0;var P=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(f)if(f=function(){throw Error()},Object.defineProperty(f.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(f,[])}catch(yt){var U=yt}Reflect.construct(i,[],f)}else{try{f.call()}catch(yt){U=yt}i.call(f.prototype)}else{try{throw Error()}catch(yt){U=yt}i()}}catch(yt){if(yt&&U&&typeof yt.stack=="string"){for(var se=yt.stack.split(`
|
|
2937
2937
|
`),Oe=U.stack.split(`
|
|
2938
2938
|
`),je=se.length-1,tt=Oe.length-1;1<=je&&0<=tt&&se[je]!==Oe[tt];)tt--;for(;1<=je&&0<=tt;je--,tt--)if(se[je]!==Oe[tt]){if(je!==1||tt!==1)do if(je--,tt--,0>tt||se[je]!==Oe[tt])return`
|
|
2939
|
-
`+se[je].replace(" at new "," at ");while(1<=je&&0<=tt);break}}}finally{nt=!1,Error.prepareStackTrace=P}return(i=i?i.displayName||i.name:"")?De(i):""}function _e(i){switch(i.tag){case 5:return De(i.type);case 16:return De("Lazy");case 13:return De("Suspense");case 19:return De("SuspenseList");case 0:case 2:case 15:return i=Me(i.type,!1),i;case 11:return i=Me(i.type.render,!1),i;case 22:return i=Me(i.type._render,!1),i;case 1:return i=Me(i.type,!0),i;default:return""}}function j(i){if(i==null)return null;if(typeof i=="function")return i.displayName||i.name||null;if(typeof i=="string")return i;switch(i){case k:return"Fragment";case g:return"Portal";case Z:return"Profiler";case G:return"StrictMode";case Fe:return"Suspense";case ce:return"SuspenseList"}if(typeof i=="object")switch(i.$$typeof){case ee:return(i.displayName||"Context")+".Consumer";case oe:return(i._context.displayName||"Context")+".Provider";case Ee:var f=i.render;return f=f.displayName||f.name||"",i.displayName||(f!==""?"ForwardRef("+f+")":"ForwardRef");case te:return j(i.type);case Q:return j(i._render);case he:f=i._payload,i=i._init;try{return j(i(f))}catch(P){}}return null}function ue(i){switch(typeof i){case"boolean":case"number":case"object":case"string":case"undefined":return i;default:return""}}function Ce(i){var f=i.type;return(i=i.nodeName)&&i.toLowerCase()==="input"&&(f==="checkbox"||f==="radio")}function et(i){var f=Ce(i)?"checked":"value",P=Object.getOwnPropertyDescriptor(i.constructor.prototype,f),U=""+i[f];if(!i.hasOwnProperty(f)&&typeof P!="undefined"&&typeof P.get=="function"&&typeof P.set=="function"){var se=P.get,Oe=P.set;return Object.defineProperty(i,f,{configurable:!0,get:function(){return se.call(this)},set:function(je){U=""+je,Oe.call(this,je)}}),Object.defineProperty(i,f,{enumerable:P.enumerable}),{getValue:function(){return U},setValue:function(je){U=""+je},stopTracking:function(){i._valueTracker=null,delete i[f]}}}}function Pe(i){i._valueTracker||(i._valueTracker=et(i))}function X(i){if(!i)return!1;var f=i._valueTracker;if(!f)return!0;var P=f.getValue(),U="";return i&&(U=Ce(i)?i.checked?"true":"false":i.value),i=U,i!==P?(f.setValue(i),!0):!1}function _(i){if(i=i||(typeof document!="undefined"?document:void 0),typeof i=="undefined")return null;try{return i.activeElement||i.body}catch(f){return i.body}}function $(i,f){var P=f.checked;return s({},f,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:P!=null?P:i._wrapperState.initialChecked})}function H(i,f){var P=f.defaultValue==null?"":f.defaultValue,U=f.checked!=null?f.checked:f.defaultChecked;P=ue(f.value!=null?f.value:P),i._wrapperState={initialChecked:U,initialValue:P,controlled:f.type==="checkbox"||f.type==="radio"?f.checked!=null:f.value!=null}}function I(i,f){f=f.checked,f!=null&&w(i,"checked",f,!1)}function ve(i,f){I(i,f);var P=ue(f.value),U=f.type;if(P!=null)U==="number"?(P===0&&i.value===""||i.value!=P)&&(i.value=""+P):i.value!==""+P&&(i.value=""+P);else if(U==="submit"||U==="reset"){i.removeAttribute("value");return}f.hasOwnProperty("value")?be(i,f.type,P):f.hasOwnProperty("defaultValue")&&be(i,f.type,ue(f.defaultValue)),f.checked==null&&f.defaultChecked!=null&&(i.defaultChecked=!!f.defaultChecked)}function $e(i,f,P){if(f.hasOwnProperty("value")||f.hasOwnProperty("defaultValue")){var U=f.type;if(!(U!=="submit"&&U!=="reset"||f.value!==void 0&&f.value!==null))return;f=""+i._wrapperState.initialValue,P||f===i.value||(i.value=f),i.defaultValue=f}P=i.name,P!==""&&(i.name=""),i.defaultChecked=!!i._wrapperState.initialChecked,P!==""&&(i.name=P)}function be(i,f,P){(f!=="number"||_(i.ownerDocument)!==i)&&(P==null?i.defaultValue=""+i._wrapperState.initialValue:i.defaultValue!==""+P&&(i.defaultValue=""+P))}function Te(i){var f="";return l.Children.forEach(i,function(P){P!=null&&(f+=P)}),f}function Le(i,f){return i=s({children:void 0},f),(f=Te(f.children))&&(i.children=f),i}function ke(i,f,P,U){if(i=i.options,f){f={};for(var se=0;se<P.length;se++)f["$"+P[se]]=!0;for(P=0;P<i.length;P++)se=f.hasOwnProperty("$"+i[P].value),i[P].selected!==se&&(i[P].selected=se),se&&U&&(i[P].defaultSelected=!0)}else{for(P=""+ue(P),f=null,se=0;se<i.length;se++){if(i[se].value===P){i[se].selected=!0,U&&(i[se].defaultSelected=!0);return}f!==null||i[se].disabled||(f=i[se])}f!==null&&(f.selected=!0)}}function at(i,f){if(f.dangerouslySetInnerHTML!=null)throw Error(r(91));return s({},f,{value:void 0,defaultValue:void 0,children:""+i._wrapperState.initialValue})}function xt(i,f){var P=f.value;if(P==null){if(P=f.children,f=f.defaultValue,P!=null){if(f!=null)throw Error(r(92));if(Array.isArray(P)){if(!(1>=P.length))throw Error(r(93));P=P[0]}f=P}f==null&&(f=""),P=f}i._wrapperState={initialValue:ue(P)}}function qe(i,f){var P=ue(f.value),U=ue(f.defaultValue);P!=null&&(P=""+P,P!==i.value&&(i.value=P),f.defaultValue==null&&i.defaultValue!==P&&(i.defaultValue=P)),U!=null&&(i.defaultValue=""+U)}function q(i){var f=i.textContent;f===i._wrapperState.initialValue&&f!==""&&f!==null&&(i.value=f)}var ne={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg"};function ie(i){switch(i){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function K(i,f){return i==null||i==="http://www.w3.org/1999/xhtml"?ie(f):i==="http://www.w3.org/2000/svg"&&f==="foreignObject"?"http://www.w3.org/1999/xhtml":i}var we,He=function(i){return typeof MSApp!="undefined"&&MSApp.execUnsafeLocalFunction?function(f,P,U,se){MSApp.execUnsafeLocalFunction(function(){return i(f,P,U,se)})}:i}(function(i,f){if(i.namespaceURI!==ne.svg||"innerHTML"in i)i.innerHTML=f;else{for(we=we||document.createElement("div"),we.innerHTML="<svg>"+f.valueOf().toString()+"</svg>",f=we.firstChild;i.firstChild;)i.removeChild(i.firstChild);for(;f.firstChild;)i.appendChild(f.firstChild)}});function Je(i,f){if(f){var P=i.firstChild;if(P&&P===i.lastChild&&P.nodeType===3){P.nodeValue=f;return}}i.textContent=f}var ft={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},At=["Webkit","ms","Moz","O"];Object.keys(ft).forEach(function(i){At.forEach(function(f){f=f+i.charAt(0).toUpperCase()+i.substring(1),ft[f]=ft[i]})});function Lt(i,f,P){return f==null||typeof f=="boolean"||f===""?"":P||typeof f!="number"||f===0||ft.hasOwnProperty(i)&&ft[i]?(""+f).trim():f+"px"}function Yt(i,f){i=i.style;for(var P in f)if(f.hasOwnProperty(P)){var U=P.indexOf("--")===0,se=Lt(P,f[P],U);P==="float"&&(P="cssFloat"),U?i.setProperty(P,se):i[P]=se}}var Vt=s({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function ze(i,f){if(f){if(Vt[i]&&(f.children!=null||f.dangerouslySetInnerHTML!=null))throw Error(r(137,i));if(f.dangerouslySetInnerHTML!=null){if(f.children!=null)throw Error(r(60));if(!(typeof f.dangerouslySetInnerHTML=="object"&&"__html"in f.dangerouslySetInnerHTML))throw Error(r(61))}if(f.style!=null&&typeof f.style!="object")throw Error(r(62))}}function dt(i,f){if(i.indexOf("-")===-1)return typeof f.is=="string";switch(i){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}function bt(i){return i=i.target||i.srcElement||window,i.correspondingUseElement&&(i=i.correspondingUseElement),i.nodeType===3?i.parentNode:i}var pt=null,Ct=null,$t=null;function dn(i){if(i=io(i)){if(typeof pt!="function")throw Error(r(280));var f=i.stateNode;f&&(f=Br(f),pt(i.stateNode,i.type,f))}}function un(i){Ct?$t?$t.push(i):$t=[i]:Ct=i}function Cn(){if(Ct){var i=Ct,f=$t;if($t=Ct=null,dn(i),f)for(i=0;i<f.length;i++)dn(f[i])}}function Ke(i,f){return i(f)}function Be(i,f,P,U,se){return i(f,P,U,se)}function it(){}var Et=Ke,Ot=!1,cn=!1;function Mn(){(Ct!==null||$t!==null)&&(it(),Cn())}function Dn(i,f,P){if(cn)return i(f,P);cn=!0;try{return Et(i,f,P)}finally{cn=!1,Mn()}}function Rn(i,f){var P=i.stateNode;if(P===null)return null;var U=Br(P);if(U===null)return null;P=U[f];e:switch(f){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(U=!U.disabled)||(i=i.type,U=!(i==="button"||i==="input"||i==="select"||i==="textarea")),i=!U;break e;default:i=!1}if(i)return null;if(P&&typeof P!="function")throw Error(r(231,f,typeof P));return P}var Gn=!1;if(h)try{var Pn={};Object.defineProperty(Pn,"passive",{get:function(){Gn=!0}}),window.addEventListener("test",Pn,Pn),window.removeEventListener("test",Pn,Pn)}catch(i){Gn=!1}function Ze(i,f,P,U,se,Oe,je,tt,yt){var Jt=Array.prototype.slice.call(arguments,3);try{f.apply(P,Jt)}catch(Un){this.onError(Un)}}var ut=!1,Pt=null,Mt=!1,zt=null,Zt={onError:function(i){ut=!0,Pt=i}};function Qe(i,f,P,U,se,Oe,je,tt,yt){ut=!1,Pt=null,Ze.apply(Zt,arguments)}function ot(i,f,P,U,se,Oe,je,tt,yt){if(Qe.apply(this,arguments),ut){if(ut){var Jt=Pt;ut=!1,Pt=null}else throw Error(r(198));Mt||(Mt=!0,zt=Jt)}}function Xe(i){var f=i,P=i;if(i.alternate)for(;f.return;)f=f.return;else{i=f;do f=i,(f.flags&1026)!=0&&(P=f.return),i=f.return;while(i)}return f.tag===3?P:null}function st(i){if(i.tag===13){var f=i.memoizedState;if(f===null&&(i=i.alternate,i!==null&&(f=i.memoizedState)),f!==null)return f.dehydrated}return null}function wt(i){if(Xe(i)!==i)throw Error(r(188))}function tn(i){var f=i.alternate;if(!f){if(f=Xe(i),f===null)throw Error(r(188));return f!==i?null:i}for(var P=i,U=f;;){var se=P.return;if(se===null)break;var Oe=se.alternate;if(Oe===null){if(U=se.return,U!==null){P=U;continue}break}if(se.child===Oe.child){for(Oe=se.child;Oe;){if(Oe===P)return wt(se),i;if(Oe===U)return wt(se),f;Oe=Oe.sibling}throw Error(r(188))}if(P.return!==U.return)P=se,U=Oe;else{for(var je=!1,tt=se.child;tt;){if(tt===P){je=!0,P=se,U=Oe;break}if(tt===U){je=!0,U=se,P=Oe;break}tt=tt.sibling}if(!je){for(tt=Oe.child;tt;){if(tt===P){je=!0,P=Oe,U=se;break}if(tt===U){je=!0,U=Oe,P=se;break}tt=tt.sibling}if(!je)throw Error(r(189))}}if(P.alternate!==U)throw Error(r(190))}if(P.tag!==3)throw Error(r(188));return P.stateNode.current===P?i:f}function qt(i){if(i=tn(i),!i)return null;for(var f=i;;){if(f.tag===5||f.tag===6)return f;if(f.child)f.child.return=f,f=f.child;else{if(f===i)break;for(;!f.sibling;){if(!f.return||f.return===i)return null;f=f.return}f.sibling.return=f.return,f=f.sibling}}return null}function bn(i,f){for(var P=i.alternate;f!==null;){if(f===i||f===P)return!0;f=f.return}return!1}var Fn,Ln,ir,Nn,En=!1,Xn=[],kn=null,On=null,Yn=null,Hn=new Map,xn=new Map,hr=[],sr="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function ur(i,f,P,U,se){return{blockedOn:i,domEventName:f,eventSystemFlags:P|16,nativeEvent:se,targetContainers:[U]}}function Qn(i,f){switch(i){case"focusin":case"focusout":kn=null;break;case"dragenter":case"dragleave":On=null;break;case"mouseover":case"mouseout":Yn=null;break;case"pointerover":case"pointerout":Hn.delete(f.pointerId);break;case"gotpointercapture":case"lostpointercapture":xn.delete(f.pointerId)}}function vr(i,f,P,U,se,Oe){return i===null||i.nativeEvent!==Oe?(i=ur(f,P,U,se,Oe),f!==null&&(f=io(f),f!==null&&Ln(f)),i):(i.eventSystemFlags|=U,f=i.targetContainers,se!==null&&f.indexOf(se)===-1&&f.push(se),i)}function Dr(i,f,P,U,se){switch(f){case"focusin":return kn=vr(kn,i,f,P,U,se),!0;case"dragenter":return On=vr(On,i,f,P,U,se),!0;case"mouseover":return Yn=vr(Yn,i,f,P,U,se),!0;case"pointerover":var Oe=se.pointerId;return Hn.set(Oe,vr(Hn.get(Oe)||null,i,f,P,U,se)),!0;case"gotpointercapture":return Oe=se.pointerId,xn.set(Oe,vr(xn.get(Oe)||null,i,f,P,U,se)),!0}return!1}function jr(i){var f=Zr(i.target);if(f!==null){var P=Xe(f);if(P!==null){if(f=P.tag,f===13){if(f=st(P),f!==null){i.blockedOn=f,Nn(i.lanePriority,function(){o.unstable_runWithPriority(i.priority,function(){ir(P)})});return}}else if(f===3&&P.stateNode.hydrate){i.blockedOn=P.tag===3?P.stateNode.containerInfo:null;return}}}i.blockedOn=null}function Er(i){if(i.blockedOn!==null)return!1;for(var f=i.targetContainers;0<f.length;){var P=qr(i.domEventName,i.eventSystemFlags,f[0],i.nativeEvent);if(P!==null)return f=io(P),f!==null&&Ln(f),i.blockedOn=P,!1;f.shift()}return!0}function Vr(i,f,P){Er(i)&&P.delete(f)}function Sr(){for(En=!1;0<Xn.length;){var i=Xn[0];if(i.blockedOn!==null){i=io(i.blockedOn),i!==null&&Fn(i);break}for(var f=i.targetContainers;0<f.length;){var P=qr(i.domEventName,i.eventSystemFlags,f[0],i.nativeEvent);if(P!==null){i.blockedOn=P;break}f.shift()}i.blockedOn===null&&Xn.shift()}kn!==null&&Er(kn)&&(kn=null),On!==null&&Er(On)&&(On=null),Yn!==null&&Er(Yn)&&(Yn=null),Hn.forEach(Vr),xn.forEach(Vr)}function Tr(i,f){i.blockedOn===f&&(i.blockedOn=null,En||(En=!0,o.unstable_scheduleCallback(o.unstable_NormalPriority,Sr)))}function qn(i){function f(se){return Tr(se,i)}if(0<Xn.length){Tr(Xn[0],i);for(var P=1;P<Xn.length;P++){var U=Xn[P];U.blockedOn===i&&(U.blockedOn=null)}}for(kn!==null&&Tr(kn,i),On!==null&&Tr(On,i),Yn!==null&&Tr(Yn,i),Hn.forEach(f),xn.forEach(f),P=0;P<hr.length;P++)U=hr[P],U.blockedOn===i&&(U.blockedOn=null);for(;0<hr.length&&(P=hr[0],P.blockedOn===null);)jr(P),P.blockedOn===null&&hr.shift()}function sn(i,f){var P={};return P[i.toLowerCase()]=f.toLowerCase(),P["Webkit"+i]="webkit"+f,P["Moz"+i]="moz"+f,P}var It={animationend:sn("Animation","AnimationEnd"),animationiteration:sn("Animation","AnimationIteration"),animationstart:sn("Animation","AnimationStart"),transitionend:sn("Transition","TransitionEnd")},fn={},vn={};h&&(vn=document.createElement("div").style,"AnimationEvent"in window||(delete It.animationend.animation,delete It.animationiteration.animation,delete It.animationstart.animation),"TransitionEvent"in window||delete It.transitionend.transition);function er(i){if(fn[i])return fn[i];if(!It[i])return i;var f=It[i],P;for(P in f)if(f.hasOwnProperty(P)&&P in vn)return fn[i]=f[P];return i}var ar=er("animationend"),nr=er("animationiteration"),Ye=er("animationstart"),ye=er("transitionend"),Ae=new Map,gt=new Map,Ve=["abort","abort",ar,"animationEnd",nr,"animationIteration",Ye,"animationStart","canplay","canPlay","canplaythrough","canPlayThrough","durationchange","durationChange","emptied","emptied","encrypted","encrypted","ended","ended","error","error","gotpointercapture","gotPointerCapture","load","load","loadeddata","loadedData","loadedmetadata","loadedMetadata","loadstart","loadStart","lostpointercapture","lostPointerCapture","playing","playing","progress","progress","seeking","seeking","stalled","stalled","suspend","suspend","timeupdate","timeUpdate",ye,"transitionEnd","waiting","waiting"];function Gt(i,f){for(var P=0;P<i.length;P+=2){var U=i[P],se=i[P+1];se="on"+(se[0].toUpperCase()+se.slice(1)),gt.set(U,f),Ae.set(U,se),a(se,[U])}}var rt=o.unstable_now;rt();var an=8;function pn(i){if((1&i)!=0)return an=15,1;if((2&i)!=0)return an=14,2;if((4&i)!=0)return an=13,4;var f=24&i;return f!==0?(an=12,f):(i&32)!=0?(an=11,32):(f=192&i,f!==0?(an=10,f):(i&256)!=0?(an=9,256):(f=3584&i,f!==0?(an=8,f):(i&4096)!=0?(an=7,4096):(f=4186112&i,f!==0?(an=6,f):(f=62914560&i,f!==0?(an=5,f):i&67108864?(an=4,67108864):(i&134217728)!=0?(an=3,134217728):(f=805306368&i,f!==0?(an=2,f):(1073741824&i)!=0?(an=1,1073741824):(an=8,i))))))}function jn(i){switch(i){case 99:return 15;case 98:return 10;case 97:case 96:return 8;case 95:return 2;default:return 0}}function Kt(i){switch(i){case 15:case 14:return 99;case 13:case 12:case 11:case 10:return 98;case 9:case 8:case 7:case 6:case 4:case 5:return 97;case 3:case 2:case 1:return 95;case 0:return 90;default:throw Error(r(358,i))}}function An(i,f){var P=i.pendingLanes;if(P===0)return an=0;var U=0,se=0,Oe=i.expiredLanes,je=i.suspendedLanes,tt=i.pingedLanes;if(Oe!==0)U=Oe,se=an=15;else if(Oe=P&134217727,Oe!==0){var yt=Oe&~je;yt!==0?(U=pn(yt),se=an):(tt&=Oe,tt!==0&&(U=pn(tt),se=an))}else Oe=P&~je,Oe!==0?(U=pn(Oe),se=an):tt!==0&&(U=pn(tt),se=an);if(U===0)return 0;if(U=31-cr(U),U=P&((0>U?0:1<<U)<<1)-1,f!==0&&f!==U&&(f&je)==0){if(pn(f),se<=an)return f;an=se}if(f=i.entangledLanes,f!==0)for(i=i.entanglements,f&=U;0<f;)P=31-cr(f),se=1<<P,U|=i[P],f&=~se;return U}function _n(i){return i=i.pendingLanes&-1073741825,i!==0?i:i&1073741824?1073741824:0}function Ue(i,f){switch(i){case 15:return 1;case 14:return 2;case 12:return i=lt(24&~f),i===0?Ue(10,f):i;case 10:return i=lt(192&~f),i===0?Ue(8,f):i;case 8:return i=lt(3584&~f),i===0&&(i=lt(4186112&~f),i===0&&(i=512)),i;case 2:return f=lt(805306368&~f),f===0&&(f=268435456),f}throw Error(r(358,i))}function lt(i){return i&-i}function Ft(i){for(var f=[],P=0;31>P;P++)f.push(i);return f}function on(i,f,P){i.pendingLanes|=f;var U=f-1;i.suspendedLanes&=U,i.pingedLanes&=U,i=i.eventTimes,f=31-cr(f),i[f]=P}var cr=Math.clz32?Math.clz32:Rr,In=Math.log,Cr=Math.LN2;function Rr(i){return i===0?32:31-(In(i)/Cr|0)|0}var $r=o.unstable_UserBlockingPriority,$n=o.unstable_runWithPriority,lr=!0;function ni(i,f,P,U){Ot||it();var se=_r,Oe=Ot;Ot=!0;try{Be(se,i,f,P,U)}finally{(Ot=Oe)||Mn()}}function Hr(i,f,P,U){$n($r,_r.bind(null,i,f,P,U))}function _r(i,f,P,U){if(lr){var se;if((se=(f&4)==0)&&0<Xn.length&&-1<sr.indexOf(i))i=ur(null,i,f,P,U),Xn.push(i);else{var Oe=qr(i,f,P,U);if(Oe===null)se&&Qn(i,U);else{if(se){if(-1<sr.indexOf(i)){i=ur(Oe,i,f,P,U),Xn.push(i);return}if(Dr(Oe,i,f,P,U))return;Qn(i,U)}Is(i,f,U,null,P)}}}}function qr(i,f,P,U){var se=bt(U);if(se=Zr(se),se!==null){var Oe=Xe(se);if(Oe===null)se=null;else{var je=Oe.tag;if(je===13){if(se=st(Oe),se!==null)return se;se=null}else if(je===3){if(Oe.stateNode.hydrate)return Oe.tag===3?Oe.stateNode.containerInfo:null;se=null}else Oe!==se&&(se=null)}}return Is(i,f,U,se,P),null}var Kr=null,ti=null,Lr=null;function Fr(){if(Lr)return Lr;var i,f=ti,P=f.length,U,se="value"in Kr?Kr.value:Kr.textContent,Oe=se.length;for(i=0;i<P&&f[i]===se[i];i++);var je=P-i;for(U=1;U<=je&&f[P-U]===se[Oe-U];U++);return Lr=se.slice(i,1<U?1-U:void 0)}function fe(i){var f=i.keyCode;return"charCode"in i?(i=i.charCode,i===0&&f===13&&(i=13)):i=f,i===10&&(i=13),32<=i||i===13?i:0}function xe(){return!0}function Ge(){return!1}function ht(i){function f(P,U,se,Oe,je){this._reactName=P,this._targetInst=se,this.type=U,this.nativeEvent=Oe,this.target=je,this.currentTarget=null;for(var tt in i)i.hasOwnProperty(tt)&&(P=i[tt],this[tt]=P?P(Oe):Oe[tt]);return this.isDefaultPrevented=(Oe.defaultPrevented!=null?Oe.defaultPrevented:Oe.returnValue===!1)?xe:Ge,this.isPropagationStopped=Ge,this}return s(f.prototype,{preventDefault:function(){this.defaultPrevented=!0;var P=this.nativeEvent;P&&(P.preventDefault?P.preventDefault():typeof P.returnValue!="unknown"&&(P.returnValue=!1),this.isDefaultPrevented=xe)},stopPropagation:function(){var P=this.nativeEvent;P&&(P.stopPropagation?P.stopPropagation():typeof P.cancelBubble!="unknown"&&(P.cancelBubble=!0),this.isPropagationStopped=xe)},persist:function(){},isPersistent:xe}),f}var Ut={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(i){return i.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},hn=ht(Ut),wn=s({},Ut,{view:0,detail:0}),Bn=ht(wn),dr,pr,Nr,mr=s({},wn,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:jo,button:0,buttons:0,relatedTarget:function(i){return i.relatedTarget===void 0?i.fromElement===i.srcElement?i.toElement:i.fromElement:i.relatedTarget},movementX:function(i){return"movementX"in i?i.movementX:(i!==Nr&&(Nr&&i.type==="mousemove"?(dr=i.screenX-Nr.screenX,pr=i.screenY-Nr.screenY):pr=dr=0,Nr=i),dr)},movementY:function(i){return"movementY"in i?i.movementY:pr}}),kr=ht(mr),ui=s({},mr,{dataTransfer:0}),ci=ht(ui),Yr=s({},wn,{relatedTarget:0}),Jr=ht(Yr),oi=s({},Ut,{animationName:0,elapsedTime:0,pseudoElement:0}),co=ht(oi),fo=s({},Ut,{clipboardData:function(i){return"clipboardData"in i?i.clipboardData:window.clipboardData}}),zs=ht(fo),Ao=s({},Ut,{data:0}),Go=ht(Ao),ra={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},xa={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},Gi={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function ys(i){var f=this.nativeEvent;return f.getModifierState?f.getModifierState(i):(i=Gi[i])?!!f[i]:!1}function jo(){return ys}var bs=s({},wn,{key:function(i){if(i.key){var f=ra[i.key]||i.key;if(f!=="Unidentified")return f}return i.type==="keypress"?(i=fe(i),i===13?"Enter":String.fromCharCode(i)):i.type==="keydown"||i.type==="keyup"?xa[i.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:jo,charCode:function(i){return i.type==="keypress"?fe(i):0},keyCode:function(i){return i.type==="keydown"||i.type==="keyup"?i.keyCode:0},which:function(i){return i.type==="keypress"?fe(i):i.type==="keydown"||i.type==="keyup"?i.keyCode:0}}),ia=ht(bs),Yo=s({},mr,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Jo=ht(Yo),Es=s({},wn,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:jo}),hi=ht(Es),Os=s({},Ut,{propertyName:0,elapsedTime:0,pseudoElement:0}),Zo=ht(Os),Fi=s({},mr,{deltaX:function(i){return"deltaX"in i?i.deltaX:"wheelDeltaX"in i?-i.wheelDeltaX:0},deltaY:function(i){return"deltaY"in i?i.deltaY:"wheelDeltaY"in i?-i.wheelDeltaY:"wheelDelta"in i?-i.wheelDelta:0},deltaZ:0,deltaMode:0}),Xo=ht(Fi),po=[9,13,27,32],qo=h&&"CompositionEvent"in window,to=null;h&&"documentMode"in document&&(to=document.documentMode);var oa=h&&"TextEvent"in window&&!to,Ss=h&&(!qo||to&&8<to&&11>=to),es=String.fromCharCode(32),Ar=!1;function ts(i,f){switch(i){case"keyup":return po.indexOf(f.keyCode)!==-1;case"keydown":return f.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Ws(i){return i=i.detail,typeof i=="object"&&"data"in i?i.data:null}var Yi=!1;function sa(i,f){switch(i){case"compositionend":return Ws(f);case"keypress":return f.which!==32?null:(Ar=!0,es);case"textInput":return i=f.data,i===es&&Ar?null:i;default:return null}}function aa(i,f){if(Yi)return i==="compositionend"||!qo&&ts(i,f)?(i=Fr(),Lr=ti=Kr=null,Yi=!1,i):null;switch(i){case"paste":return null;case"keypress":if(!(f.ctrlKey||f.altKey||f.metaKey)||f.ctrlKey&&f.altKey){if(f.char&&1<f.char.length)return f.char;if(f.which)return String.fromCharCode(f.which)}return null;case"compositionend":return Ss&&f.locale!=="ko"?null:f.data;default:return null}}var la={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function ns(i){var f=i&&i.nodeName&&i.nodeName.toLowerCase();return f==="input"?!!la[i.type]:f==="textarea"}function Fo(i,f,P,U){un(U),f=Uo(f,"onChange"),0<f.length&&(P=new hn("onChange","change",null,P,U),i.push({event:P,listeners:f}))}var Io=null,ho=null;function rs(i){os(i,0)}function mo(i){var f=oo(i);if(X(f))return i}function ua(i,f){if(i==="change")return f}var ko=!1;if(h){var Ps;if(h){var xs="oninput"in document;if(!xs){var Bo=document.createElement("div");Bo.setAttribute("oninput","return;"),xs=typeof Bo.oninput=="function"}Ps=xs}else Ps=!1;ko=Ps&&(!document.documentMode||9<document.documentMode)}function ca(){Io&&(Io.detachEvent("onpropertychange",ws),ho=Io=null)}function ws(i){if(i.propertyName==="value"&&mo(ho)){var f=[];if(Fo(f,ho,i,bt(i)),i=rs,Ot)i(f);else{Ot=!0;try{Ke(i,f)}finally{Ot=!1,Mn()}}}}function da(i,f,P){i==="focusin"?(ca(),Io=f,ho=P,Io.attachEvent("onpropertychange",ws)):i==="focusout"&&ca()}function fa(i){if(i==="selectionchange"||i==="keyup"||i==="keydown")return mo(ho)}function Ts(i,f){if(i==="click")return mo(f)}function Cs(i,f){if(i==="input"||i==="change")return mo(f)}function Vs(i,f){return i===f&&(i!==0||1/i==1/f)||i!==i&&f!==f}var Ri=typeof Object.is=="function"?Object.is:Vs,Do=Object.prototype.hasOwnProperty;function Ei(i,f){if(Ri(i,f))return!0;if(typeof i!="object"||i===null||typeof f!="object"||f===null)return!1;var P=Object.keys(i),U=Object.keys(f);if(P.length!==U.length)return!1;for(U=0;U<P.length;U++)if(!Do.call(f,P[U])||!Ri(i[P[U]],f[P[U]]))return!1;return!0}function Hs(i){for(;i&&i.firstChild;)i=i.firstChild;return i}function or(i,f){var P=Hs(i);i=0;for(var U;P;){if(P.nodeType===3){if(U=i+P.textContent.length,i<=f&&U>=f)return{node:P,offset:f-i};i=U}e:{for(;P;){if(P.nextSibling){P=P.nextSibling;break e}P=P.parentNode}P=void 0}P=Hs(P)}}function Ji(i,f){return i&&f?i===f?!0:i&&i.nodeType===3?!1:f&&f.nodeType===3?Ji(i,f.parentNode):"contains"in i?i.contains(f):i.compareDocumentPosition?!!(i.compareDocumentPosition(f)&16):!1:!1}function ki(){for(var i=window,f=_();f instanceof i.HTMLIFrameElement;){try{var P=typeof f.contentWindow.location.href=="string"}catch(U){P=!1}if(P)i=f.contentWindow;else break;f=_(i.document)}return f}function Ks(i){var f=i&&i.nodeName&&i.nodeName.toLowerCase();return f&&(f==="input"&&(i.type==="text"||i.type==="search"||i.type==="tel"||i.type==="url"||i.type==="password")||f==="textarea"||i.contentEditable==="true")}var Qs=h&&"documentMode"in document&&11>=document.documentMode,go=null,Zi=null,$o=null,is=!1;function di(i,f,P){var U=P.window===P?P.document:P.nodeType===9?P:P.ownerDocument;is||go==null||go!==_(U)||(U=go,"selectionStart"in U&&Ks(U)?U={start:U.selectionStart,end:U.selectionEnd}:(U=(U.ownerDocument&&U.ownerDocument.defaultView||window).getSelection(),U={anchorNode:U.anchorNode,anchorOffset:U.anchorOffset,focusNode:U.focusNode,focusOffset:U.focusOffset}),$o&&Ei($o,U)||($o=U,U=Uo(Zi,"onSelect"),0<U.length&&(f=new hn("onSelect","select",null,f,P),i.push({event:f,listeners:U}),f.target=go)))}Gt("cancel cancel click click close close contextmenu contextMenu copy copy cut cut auxclick auxClick dblclick doubleClick dragend dragEnd dragstart dragStart drop drop focusin focus focusout blur input input invalid invalid keydown keyDown keypress keyPress keyup keyUp mousedown mouseDown mouseup mouseUp paste paste pause pause play play pointercancel pointerCancel pointerdown pointerDown pointerup pointerUp ratechange rateChange reset reset seeked seeked submit submit touchcancel touchCancel touchend touchEnd touchstart touchStart volumechange volumeChange".split(" "),0),Gt("drag drag dragenter dragEnter dragexit dragExit dragleave dragLeave dragover dragOver mousemove mouseMove mouseout mouseOut mouseover mouseOver pointermove pointerMove pointerout pointerOut pointerover pointerOver scroll scroll toggle toggle touchmove touchMove wheel wheel".split(" "),1),Gt(Ve,2);for(var vo="change selectionchange textInput compositionstart compositionend compositionupdate".split(" "),mi=0;mi<vo.length;mi++)gt.set(vo[mi],0);d("onMouseEnter",["mouseout","mouseover"]),d("onMouseLeave",["mouseout","mouseover"]),d("onPointerEnter",["pointerout","pointerover"]),d("onPointerLeave",["pointerout","pointerover"]),a("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),a("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),a("onBeforeInput",["compositionend","keypress","textInput","paste"]),a("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),a("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),a("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var gi="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),no=new Set("cancel close invalid load scroll toggle".split(" ").concat(gi));function wi(i,f,P){var U=i.type||"unknown-event";i.currentTarget=P,ot(U,f,void 0,i),i.currentTarget=null}function os(i,f){f=(f&4)!=0;for(var P=0;P<i.length;P++){var U=i[P],se=U.event;U=U.listeners;e:{var Oe=void 0;if(f)for(var je=U.length-1;0<=je;je--){var tt=U[je],yt=tt.instance,Jt=tt.currentTarget;if(tt=tt.listener,yt!==Oe&&se.isPropagationStopped())break e;wi(se,tt,Jt),Oe=yt}else for(je=0;je<U.length;je++){if(tt=U[je],yt=tt.instance,Jt=tt.currentTarget,tt=tt.listener,yt!==Oe&&se.isPropagationStopped())break e;wi(se,tt,Jt),Oe=yt}}}if(Mt)throw i=zt,Mt=!1,zt=null,i}function zr(i,f){var P=Xi(f),U=i+"__bubble";P.has(U)||(As(f,i,2,!1),P.add(U))}var Rs="_reactListening"+Math.random().toString(36).slice(2);function ss(i){i[Rs]||(i[Rs]=!0,c.forEach(function(f){no.has(f)||vi(f,!1,i,null),vi(f,!0,i,null)}))}function vi(i,f,P,U){var se=4<arguments.length&&arguments[4]!==void 0?arguments[4]:0,Oe=P;if(i==="selectionchange"&&P.nodeType!==9&&(Oe=P.ownerDocument),U!==null&&!f&&no.has(i)){if(i!=="scroll")return;se|=2,Oe=U}var je=Xi(Oe),tt=i+"__"+(f?"capture":"bubble");je.has(tt)||(f&&(se|=4),As(Oe,i,se,f),je.add(tt))}function As(i,f,P,U){var se=gt.get(f);switch(se===void 0?2:se){case 0:se=ni;break;case 1:se=Hr;break;default:se=_r}P=se.bind(null,f,P,i),se=void 0,!Gn||f!=="touchstart"&&f!=="touchmove"&&f!=="wheel"||(se=!0),U?se!==void 0?i.addEventListener(f,P,{capture:!0,passive:se}):i.addEventListener(f,P,!0):se!==void 0?i.addEventListener(f,P,{passive:se}):i.addEventListener(f,P,!1)}function Is(i,f,P,U,se){var Oe=U;if((f&1)==0&&(f&2)==0&&U!==null)e:for(;;){if(U===null)return;var je=U.tag;if(je===3||je===4){var tt=U.stateNode.containerInfo;if(tt===se||tt.nodeType===8&&tt.parentNode===se)break;if(je===4)for(je=U.return;je!==null;){var yt=je.tag;if((yt===3||yt===4)&&(yt=je.stateNode.containerInfo,yt===se||yt.nodeType===8&&yt.parentNode===se))return;je=je.return}for(;tt!==null;){if(je=Zr(tt),je===null)return;if(yt=je.tag,yt===5||yt===6){U=Oe=je;continue e}tt=tt.parentNode}}U=U.return}Dn(function(){var Jt=Oe,Un=bt(P),Or=[];e:{var gn=Ae.get(i);if(gn!==void 0){var rr=hn,br=i;switch(i){case"keypress":if(fe(P)===0)break e;case"keydown":case"keyup":rr=ia;break;case"focusin":br="focus",rr=Jr;break;case"focusout":br="blur",rr=Jr;break;case"beforeblur":case"afterblur":rr=Jr;break;case"click":if(P.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":rr=kr;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":rr=ci;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":rr=hi;break;case ar:case nr:case Ye:rr=co;break;case ye:rr=Zo;break;case"scroll":rr=Bn;break;case"wheel":rr=Xo;break;case"copy":case"cut":case"paste":rr=zs;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":rr=Jo}var gr=(f&4)!=0,kt=!gr&&i==="scroll",St=gr?gn!==null?gn+"Capture":null:gn;gr=[];for(var jt=Jt,ln;jt!==null;){ln=jt;var mn=ln.stateNode;if(ln.tag===5&&mn!==null&&(ln=mn,St!==null&&(mn=Rn(jt,St),mn!=null&&gr.push(yo(jt,mn,ln)))),kt)break;jt=jt.return}0<gr.length&&(gn=new rr(gn,br,null,P,Un),Or.push({event:gn,listeners:gr}))}}if((f&7)==0){e:{if(gn=i==="mouseover"||i==="pointerover",rr=i==="mouseout"||i==="pointerout",gn&&(f&16)==0&&(br=P.relatedTarget||P.fromElement)&&(Zr(br)||br[Eo]))break e;if((rr||gn)&&(gn=Un.window===Un?Un:(gn=Un.ownerDocument)?gn.defaultView||gn.parentWindow:window,rr?(br=P.relatedTarget||P.toElement,rr=Jt,br=br?Zr(br):null,br!==null&&(kt=Xe(br),br!==kt||br.tag!==5&&br.tag!==6)&&(br=null)):(rr=null,br=Jt),rr!==br)){if(gr=kr,mn="onMouseLeave",St="onMouseEnter",jt="mouse",(i==="pointerout"||i==="pointerover")&&(gr=Jo,mn="onPointerLeave",St="onPointerEnter",jt="pointer"),kt=rr==null?gn:oo(rr),ln=br==null?gn:oo(br),gn=new gr(mn,jt+"leave",rr,P,Un),gn.target=kt,gn.relatedTarget=ln,mn=null,Zr(Un)===Jt&&(gr=new gr(St,jt+"enter",br,P,Un),gr.target=ln,gr.relatedTarget=kt,mn=gr),kt=mn,rr&&br)t:{for(gr=rr,St=br,jt=0,ln=gr;ln;ln=Bi(ln))jt++;for(ln=0,mn=St;mn;mn=Bi(mn))ln++;for(;0<jt-ln;)gr=Bi(gr),jt--;for(;0<ln-jt;)St=Bi(St),ln--;for(;jt--;){if(gr===St||St!==null&&gr===St.alternate)break t;gr=Bi(gr),St=Bi(St)}gr=null}else gr=null;rr!==null&&ei(Or,gn,rr,gr,!1),br!==null&&kt!==null&&ei(Or,kt,br,gr,!0)}}e:{if(gn=Jt?oo(Jt):window,rr=gn.nodeName&&gn.nodeName.toLowerCase(),rr==="select"||rr==="input"&&gn.type==="file")var Pr=ua;else if(ns(gn))if(ko)Pr=Cs;else{Pr=fa;var Zn=da}else(rr=gn.nodeName)&&rr.toLowerCase()==="input"&&(gn.type==="checkbox"||gn.type==="radio")&&(Pr=Ts);if(Pr&&(Pr=Pr(i,Jt))){Fo(Or,Pr,P,Un);break e}Zn&&Zn(i,gn,Jt),i==="focusout"&&(Zn=gn._wrapperState)&&Zn.controlled&&gn.type==="number"&&be(gn,"number",gn.value)}switch(Zn=Jt?oo(Jt):window,i){case"focusin":(ns(Zn)||Zn.contentEditable==="true")&&(go=Zn,Zi=Jt,$o=null);break;case"focusout":$o=Zi=go=null;break;case"mousedown":is=!0;break;case"contextmenu":case"mouseup":case"dragend":is=!1,di(Or,P,Un);break;case"selectionchange":if(Qs)break;case"keydown":case"keyup":di(Or,P,Un)}var xr;if(qo)e:{switch(i){case"compositionstart":var Ir="onCompositionStart";break e;case"compositionend":Ir="onCompositionEnd";break e;case"compositionupdate":Ir="onCompositionUpdate";break e}Ir=void 0}else Yi?ts(i,P)&&(Ir="onCompositionEnd"):i==="keydown"&&P.keyCode===229&&(Ir="onCompositionStart");Ir&&(Ss&&P.locale!=="ko"&&(Yi||Ir!=="onCompositionStart"?Ir==="onCompositionEnd"&&Yi&&(xr=Fr()):(Kr=Un,ti="value"in Kr?Kr.value:Kr.textContent,Yi=!0)),Zn=Uo(Jt,Ir),0<Zn.length&&(Ir=new Go(Ir,i,null,P,Un),Or.push({event:Ir,listeners:Zn}),xr?Ir.data=xr:(xr=Ws(P),xr!==null&&(Ir.data=xr)))),(xr=oa?sa(i,P):aa(i,P))&&(Jt=Uo(Jt,"onBeforeInput"),0<Jt.length&&(Un=new Go("onBeforeInput","beforeinput",null,P,Un),Or.push({event:Un,listeners:Jt}),Un.data=xr))}os(Or,f)})}function yo(i,f,P){return{instance:i,listener:f,currentTarget:P}}function Uo(i,f){for(var P=f+"Capture",U=[];i!==null;){var se=i,Oe=se.stateNode;se.tag===5&&Oe!==null&&(se=Oe,Oe=Rn(i,P),Oe!=null&&U.unshift(yo(i,Oe,se)),Oe=Rn(i,f),Oe!=null&&U.push(yo(i,Oe,se))),i=i.return}return U}function Bi(i){if(i===null)return null;do i=i.return;while(i&&i.tag!==5);return i||null}function ei(i,f,P,U,se){for(var Oe=f._reactName,je=[];P!==null&&P!==U;){var tt=P,yt=tt.alternate,Jt=tt.stateNode;if(yt!==null&&yt===U)break;tt.tag===5&&Jt!==null&&(tt=Jt,se?(yt=Rn(P,Oe),yt!=null&&je.unshift(yo(P,yt,tt))):se||(yt=Rn(P,Oe),yt!=null&&je.push(yo(P,yt,tt)))),P=P.return}je.length!==0&&i.push({event:f,listeners:je})}function Ai(){}var $i=null,_o=null;function Ds(i,f){switch(i){case"button":case"input":case"select":case"textarea":return!!f.autoFocus}return!1}function si(i,f){return i==="textarea"||i==="option"||i==="noscript"||typeof f.children=="string"||typeof f.children=="number"||typeof f.dangerouslySetInnerHTML=="object"&&f.dangerouslySetInnerHTML!==null&&f.dangerouslySetInnerHTML.__html!=null}var zo=typeof setTimeout=="function"?setTimeout:void 0,Mi=typeof clearTimeout=="function"?clearTimeout:void 0;function as(i){i.nodeType===1?i.textContent="":i.nodeType===9&&(i=i.body,i!=null&&(i.textContent=""))}function Oi(i){for(;i!=null;i=i.nextSibling){var f=i.nodeType;if(f===1||f===3)break}return i}function Mo(i){i=i.previousSibling;for(var f=0;i;){if(i.nodeType===8){var P=i.data;if(P==="$"||P==="$!"||P==="$?"){if(f===0)return i;f--}else P==="/$"&&f++}i=i.previousSibling}return null}var ls=0;function ai(i){return{$$typeof:B,toString:i,valueOf:i}}var bo=Math.random().toString(36).slice(2),Ui="__reactFiber$"+bo,ro="__reactProps$"+bo,Eo="__reactContainer$"+bo,us="__reactEvents$"+bo;function Zr(i){var f=i[Ui];if(f)return f;for(var P=i.parentNode;P;){if(f=P[Eo]||P[Ui]){if(P=f.alternate,f.child!==null||P!==null&&P.child!==null)for(i=Mo(i);i!==null;){if(P=i[Ui])return P;i=Mo(i)}return f}i=P,P=i.parentNode}return null}function io(i){return i=i[Ui]||i[Eo],!i||i.tag!==5&&i.tag!==6&&i.tag!==13&&i.tag!==3?null:i}function oo(i){if(i.tag===5||i.tag===6)return i.stateNode;throw Error(r(33))}function Br(i){return i[ro]||null}function Xi(i){var f=i[us];return f===void 0&&(f=i[us]=new Set),f}var Lo=[],so=-1;function Ur(i){return{current:i}}function Wr(i){0>so||(i.current=Lo[so],Lo[so]=null,so--)}function Qr(i,f){so++,Lo[so]=i.current,i.current=f}var Ti={},fi=Ur(Ti),Xr=Ur(!1),_i=Ti;function Oo(i,f){var P=i.type.contextTypes;if(!P)return Ti;var U=i.stateNode;if(U&&U.__reactInternalMemoizedUnmaskedChildContext===f)return U.__reactInternalMemoizedMaskedChildContext;var se={},Oe;for(Oe in P)se[Oe]=f[Oe];return U&&(i=i.stateNode,i.__reactInternalMemoizedUnmaskedChildContext=f,i.__reactInternalMemoizedMaskedChildContext=se),se}function Si(i){return i=i.childContextTypes,i!=null}function So(){Wr(Xr),Wr(fi)}function cs(i,f,P){if(fi.current!==Ti)throw Error(r(168));Qr(fi,f),Qr(Xr,P)}function Li(i,f,P){var U=i.stateNode;if(i=f.childContextTypes,typeof U.getChildContext!="function")return P;U=U.getChildContext();for(var se in U)if(!(se in i))throw Error(r(108,j(f)||"Unknown",se));return s({},P,U)}function Ii(i){return i=(i=i.stateNode)&&i.__reactInternalMemoizedMergedChildContext||Ti,_i=fi.current,Qr(fi,i),Qr(Xr,Xr.current),!0}function Ki(i,f,P){var U=i.stateNode;if(!U)throw Error(r(169));P?(i=Li(i,f,_i),U.__reactInternalMemoizedMergedChildContext=i,Wr(Xr),Wr(fi),Qr(fi,i)):Wr(Xr),Qr(Xr,P)}var Po=null,zi=null,Wo=o.unstable_runWithPriority,pi=o.unstable_scheduleCallback,ao=o.unstable_cancelCallback,$s=o.unstable_shouldYield,Gs=o.unstable_requestPaint,N=o.unstable_now,Y=o.unstable_getCurrentPriorityLevel,de=o.unstable_ImmediatePriority,le=o.unstable_UserBlockingPriority,Ie=o.unstable_NormalPriority,D=o.unstable_LowPriority,M=o.unstable_IdlePriority,z={},ge=Gs!==void 0?Gs:function(){},Re=null,We=null,ct=!1,vt=N(),_t=1e4>vt?N:function(){return N()-vt};function Sn(){switch(Y()){case de:return 99;case le:return 98;case Ie:return 97;case D:return 96;case M:return 95;default:throw Error(r(332))}}function Wn(i){switch(i){case 99:return de;case 98:return le;case 97:return Ie;case 96:return D;case 95:return M;default:throw Error(r(332))}}function tr(i,f){return i=Wn(i),Wo(i,f)}function F(i,f,P){return i=Wn(i),pi(i,f,P)}function me(){if(We!==null){var i=We;We=null,ao(i)}Ne()}function Ne(){if(!ct&&Re!==null){ct=!0;var i=0;try{var f=Re;tr(99,function(){for(;i<f.length;i++){var P=f[i];do P=P(!0);while(P!==null)}}),Re=null}catch(P){throw Re!==null&&(Re=Re.slice(i+1)),pi(de,me),P}finally{ct=!1}}}var Bt=x.ReactCurrentBatchConfig;function Qt(i,f){if(i&&i.defaultProps){f=s({},f),i=i.defaultProps;for(var P in i)f[P]===void 0&&(f[P]=i[P]);return f}return f}var Wt=Ur(null),Ht=null,Rt=null,Tt=null;function mt(){Tt=Rt=Ht=null}function Xt(i){var f=Wt.current;Wr(Wt),i.type._context._currentValue=f}function rn(i,f){for(;i!==null;){var P=i.alternate;if((i.childLanes&f)===f){if(P===null||(P.childLanes&f)===f)break;P.childLanes|=f}else i.childLanes|=f,P!==null&&(P.childLanes|=f);i=i.return}}function Dt(i,f){Ht=i,Tt=Rt=null,i=i.dependencies,i!==null&&i.firstContext!==null&&((i.lanes&f)!=0&&(No=!0),i.firstContext=null)}function en(i,f){if(Tt!==i&&f!==!1&&f!==0)if((typeof f!="number"||f===1073741823)&&(Tt=i,f=1073741823),f={context:i,observedBits:f,next:null},Rt===null){if(Ht===null)throw Error(r(308));Rt=f,Ht.dependencies={lanes:0,firstContext:f,responders:null}}else Rt=Rt.next=f;return i._currentValue}var Nt=!1;function fr(i){i.updateQueue={baseState:i.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null},effects:null}}function Tn(i,f){i=i.updateQueue,f.updateQueue===i&&(f.updateQueue={baseState:i.baseState,firstBaseUpdate:i.firstBaseUpdate,lastBaseUpdate:i.lastBaseUpdate,shared:i.shared,effects:i.effects})}function yn(i,f){return{eventTime:i,lane:f,tag:0,payload:null,callback:null,next:null}}function zn(i,f){if(i=i.updateQueue,i!==null){i=i.shared;var P=i.pending;P===null?f.next=f:(f.next=P.next,P.next=f),i.pending=f}}function Vn(i,f){var P=i.updateQueue,U=i.alternate;if(U!==null&&(U=U.updateQueue,P===U)){var se=null,Oe=null;if(P=P.firstBaseUpdate,P!==null){do{var je={eventTime:P.eventTime,lane:P.lane,tag:P.tag,payload:P.payload,callback:P.callback,next:null};Oe===null?se=Oe=je:Oe=Oe.next=je,P=P.next}while(P!==null);Oe===null?se=Oe=f:Oe=Oe.next=f}else se=Oe=f;P={baseState:U.baseState,firstBaseUpdate:se,lastBaseUpdate:Oe,shared:U.shared,effects:U.effects},i.updateQueue=P;return}i=P.lastBaseUpdate,i===null?P.firstBaseUpdate=f:i.next=f,P.lastBaseUpdate=f}function Mr(i,f,P,U){var se=i.updateQueue;Nt=!1;var Oe=se.firstBaseUpdate,je=se.lastBaseUpdate,tt=se.shared.pending;if(tt!==null){se.shared.pending=null;var yt=tt,Jt=yt.next;yt.next=null,je===null?Oe=Jt:je.next=Jt,je=yt;var Un=i.alternate;if(Un!==null){Un=Un.updateQueue;var Or=Un.lastBaseUpdate;Or!==je&&(Or===null?Un.firstBaseUpdate=Jt:Or.next=Jt,Un.lastBaseUpdate=yt)}}if(Oe!==null){Or=se.baseState,je=0,Un=Jt=yt=null;do{tt=Oe.lane;var gn=Oe.eventTime;if((U&tt)===tt){Un!==null&&(Un=Un.next={eventTime:gn,lane:0,tag:Oe.tag,payload:Oe.payload,callback:Oe.callback,next:null});e:{var rr=i,br=Oe;switch(tt=f,gn=P,br.tag){case 1:if(rr=br.payload,typeof rr=="function"){Or=rr.call(gn,Or,tt);break e}Or=rr;break e;case 3:rr.flags=rr.flags&-4097|64;case 0:if(rr=br.payload,tt=typeof rr=="function"?rr.call(gn,Or,tt):rr,tt==null)break e;Or=s({},Or,tt);break e;case 2:Nt=!0}}Oe.callback!==null&&(i.flags|=32,tt=se.effects,tt===null?se.effects=[Oe]:tt.push(Oe))}else gn={eventTime:gn,lane:tt,tag:Oe.tag,payload:Oe.payload,callback:Oe.callback,next:null},Un===null?(Jt=Un=gn,yt=Or):Un=Un.next=gn,je|=tt;if(Oe=Oe.next,Oe===null){if(tt=se.shared.pending,tt===null)break;Oe=tt.next,tt.next=null,se.lastBaseUpdate=tt,se.shared.pending=null}}while(1);Un===null&&(yt=Or),se.baseState=yt,se.firstBaseUpdate=Jt,se.lastBaseUpdate=Un,ja|=je,i.lanes=je,i.memoizedState=Or}}function Pi(i,f,P){if(i=f.effects,f.effects=null,i!==null)for(f=0;f<i.length;f++){var U=i[f],se=U.callback;if(se!==null){if(U.callback=null,U=P,typeof se!="function")throw Error(r(191,se));se.call(U)}}}var Ys=new l.Component().refs;function ri(i,f,P,U){f=i.memoizedState,P=P(U,f),P=P==null?f:s({},f,P),i.memoizedState=P,i.lanes===0&&(i.updateQueue.baseState=P)}var ds={isMounted:function(i){return(i=i._reactInternals)?Xe(i)===i:!1},enqueueSetState:function(i,f,P){i=i._reactInternals;var U=uo(),se=js(i),Oe=yn(U,se);Oe.payload=f,P!=null&&(Oe.callback=P),zn(i,Oe),Fs(i,se,U)},enqueueReplaceState:function(i,f,P){i=i._reactInternals;var U=uo(),se=js(i),Oe=yn(U,se);Oe.tag=1,Oe.payload=f,P!=null&&(Oe.callback=P),zn(i,Oe),Fs(i,se,U)},enqueueForceUpdate:function(i,f){i=i._reactInternals;var P=uo(),U=js(i),se=yn(P,U);se.tag=2,f!=null&&(se.callback=f),zn(i,se),Fs(i,U,P)}};function Vo(i,f,P,U,se,Oe,je){return i=i.stateNode,typeof i.shouldComponentUpdate=="function"?i.shouldComponentUpdate(U,Oe,je):f.prototype&&f.prototype.isPureReactComponent?!Ei(P,U)||!Ei(se,Oe):!0}function wa(i,f,P){var U=!1,se=Ti,Oe=f.contextType;return typeof Oe=="object"&&Oe!==null?Oe=en(Oe):(se=Si(f)?_i:fi.current,U=f.contextTypes,Oe=(U=U!=null)?Oo(i,se):Ti),f=new f(P,Oe),i.memoizedState=f.state!==null&&f.state!==void 0?f.state:null,f.updater=ds,i.stateNode=f,f._reactInternals=i,U&&(i=i.stateNode,i.__reactInternalMemoizedUnmaskedChildContext=se,i.__reactInternalMemoizedMaskedChildContext=Oe),f}function Ta(i,f,P,U){i=f.state,typeof f.componentWillReceiveProps=="function"&&f.componentWillReceiveProps(P,U),typeof f.UNSAFE_componentWillReceiveProps=="function"&&f.UNSAFE_componentWillReceiveProps(P,U),f.state!==i&&ds.enqueueReplaceState(f,f.state,null)}function Ca(i,f,P,U){var se=i.stateNode;se.props=P,se.state=i.memoizedState,se.refs=Ys,fr(i);var Oe=f.contextType;typeof Oe=="object"&&Oe!==null?se.context=en(Oe):(Oe=Si(f)?_i:fi.current,se.context=Oo(i,Oe)),Mr(i,P,se,U),se.state=i.memoizedState,Oe=f.getDerivedStateFromProps,typeof Oe=="function"&&(ri(i,f,Oe,P),se.state=i.memoizedState),typeof f.getDerivedStateFromProps=="function"||typeof se.getSnapshotBeforeUpdate=="function"||typeof se.UNSAFE_componentWillMount!="function"&&typeof se.componentWillMount!="function"||(f=se.state,typeof se.componentWillMount=="function"&&se.componentWillMount(),typeof se.UNSAFE_componentWillMount=="function"&&se.UNSAFE_componentWillMount(),f!==se.state&&ds.enqueueReplaceState(se,se.state,null),Mr(i,P,se,U),se.state=i.memoizedState),typeof se.componentDidMount=="function"&&(i.flags|=4)}var pa=Array.isArray;function Js(i,f,P){if(i=P.ref,i!==null&&typeof i!="function"&&typeof i!="object"){if(P._owner){if(P=P._owner,P){if(P.tag!==1)throw Error(r(309));var U=P.stateNode}if(!U)throw Error(r(147,i));var se=""+i;return f!==null&&f.ref!==null&&typeof f.ref=="function"&&f.ref._stringRef===se?f.ref:(f=function(Oe){var je=U.refs;je===Ys&&(je=U.refs={}),Oe===null?delete je[se]:je[se]=Oe},f._stringRef=se,f)}if(typeof i!="string")throw Error(r(284));if(!P._owner)throw Error(r(290,i))}return i}function ha(i,f){if(i.type!=="textarea")throw Error(r(31,Object.prototype.toString.call(f)==="[object Object]"?"object with keys {"+Object.keys(f).join(", ")+"}":f))}function Va(i){function f(kt,St){if(i){var jt=kt.lastEffect;jt!==null?(jt.nextEffect=St,kt.lastEffect=St):kt.firstEffect=kt.lastEffect=St,St.nextEffect=null,St.flags=8}}function P(kt,St){if(!i)return null;for(;St!==null;)f(kt,St),St=St.sibling;return null}function U(kt,St){for(kt=new Map;St!==null;)St.key!==null?kt.set(St.key,St):kt.set(St.index,St),St=St.sibling;return kt}function se(kt,St){return kt=Us(kt,St),kt.index=0,kt.sibling=null,kt}function Oe(kt,St,jt){return kt.index=jt,i?(jt=kt.alternate,jt!==null?(jt=jt.index,jt<St?(kt.flags=2,St):jt):(kt.flags=2,St)):St}function je(kt){return i&&kt.alternate===null&&(kt.flags=2),kt}function tt(kt,St,jt,ln){return St===null||St.tag!==6?(St=Ql(jt,kt.mode,ln),St.return=kt,St):(St=se(St,jt),St.return=kt,St)}function yt(kt,St,jt,ln){return St!==null&&St.elementType===jt.type?(ln=se(St,jt.props),ln.ref=Js(kt,St,jt),ln.return=kt,ln):(ln=ul(jt.type,jt.key,jt.props,null,kt.mode,ln),ln.ref=Js(kt,St,jt),ln.return=kt,ln)}function Jt(kt,St,jt,ln){return St===null||St.tag!==4||St.stateNode.containerInfo!==jt.containerInfo||St.stateNode.implementation!==jt.implementation?(St=Gl(jt,kt.mode,ln),St.return=kt,St):(St=se(St,jt.children||[]),St.return=kt,St)}function Un(kt,St,jt,ln,mn){return St===null||St.tag!==7?(St=Sa(jt,kt.mode,ln,mn),St.return=kt,St):(St=se(St,jt),St.return=kt,St)}function Or(kt,St,jt){if(typeof St=="string"||typeof St=="number")return St=Ql(""+St,kt.mode,jt),St.return=kt,St;if(typeof St=="object"&&St!==null){switch(St.$$typeof){case R:return jt=ul(St.type,St.key,St.props,null,kt.mode,jt),jt.ref=Js(kt,null,St),jt.return=kt,jt;case g:return St=Gl(St,kt.mode,jt),St.return=kt,St}if(pa(St)||pe(St))return St=Sa(St,kt.mode,jt,null),St.return=kt,St;ha(kt,St)}return null}function gn(kt,St,jt,ln){var mn=St!==null?St.key:null;if(typeof jt=="string"||typeof jt=="number")return mn!==null?null:tt(kt,St,""+jt,ln);if(typeof jt=="object"&&jt!==null){switch(jt.$$typeof){case R:return jt.key===mn?jt.type===k?Un(kt,St,jt.props.children,ln,mn):yt(kt,St,jt,ln):null;case g:return jt.key===mn?Jt(kt,St,jt,ln):null}if(pa(jt)||pe(jt))return mn!==null?null:Un(kt,St,jt,ln,null);ha(kt,jt)}return null}function rr(kt,St,jt,ln,mn){if(typeof ln=="string"||typeof ln=="number")return kt=kt.get(jt)||null,tt(St,kt,""+ln,mn);if(typeof ln=="object"&&ln!==null){switch(ln.$$typeof){case R:return kt=kt.get(ln.key===null?jt:ln.key)||null,ln.type===k?Un(St,kt,ln.props.children,mn,ln.key):yt(St,kt,ln,mn);case g:return kt=kt.get(ln.key===null?jt:ln.key)||null,Jt(St,kt,ln,mn)}if(pa(ln)||pe(ln))return kt=kt.get(jt)||null,Un(St,kt,ln,mn,null);ha(St,ln)}return null}function br(kt,St,jt,ln){for(var mn=null,Pr=null,Zn=St,xr=St=0,Ir=null;Zn!==null&&xr<jt.length;xr++){Zn.index>xr?(Ir=Zn,Zn=null):Ir=Zn.sibling;var wr=gn(kt,Zn,jt[xr],ln);if(wr===null){Zn===null&&(Zn=Ir);break}i&&Zn&&wr.alternate===null&&f(kt,Zn),St=Oe(wr,St,xr),Pr===null?mn=wr:Pr.sibling=wr,Pr=wr,Zn=Ir}if(xr===jt.length)return P(kt,Zn),mn;if(Zn===null){for(;xr<jt.length;xr++)Zn=Or(kt,jt[xr],ln),Zn!==null&&(St=Oe(Zn,St,xr),Pr===null?mn=Zn:Pr.sibling=Zn,Pr=Zn);return mn}for(Zn=U(kt,Zn);xr<jt.length;xr++)Ir=rr(Zn,kt,xr,jt[xr],ln),Ir!==null&&(i&&Ir.alternate!==null&&Zn.delete(Ir.key===null?xr:Ir.key),St=Oe(Ir,St,xr),Pr===null?mn=Ir:Pr.sibling=Ir,Pr=Ir);return i&&Zn.forEach(function(_s){return f(kt,_s)}),mn}function gr(kt,St,jt,ln){var mn=pe(jt);if(typeof mn!="function")throw Error(r(150));if(jt=mn.call(jt),jt==null)throw Error(r(151));for(var Pr=mn=null,Zn=St,xr=St=0,Ir=null,wr=jt.next();Zn!==null&&!wr.done;xr++,wr=jt.next()){Zn.index>xr?(Ir=Zn,Zn=null):Ir=Zn.sibling;var _s=gn(kt,Zn,wr.value,ln);if(_s===null){Zn===null&&(Zn=Ir);break}i&&Zn&&_s.alternate===null&&f(kt,Zn),St=Oe(_s,St,xr),Pr===null?mn=_s:Pr.sibling=_s,Pr=_s,Zn=Ir}if(wr.done)return P(kt,Zn),mn;if(Zn===null){for(;!wr.done;xr++,wr=jt.next())wr=Or(kt,wr.value,ln),wr!==null&&(St=Oe(wr,St,xr),Pr===null?mn=wr:Pr.sibling=wr,Pr=wr);return mn}for(Zn=U(kt,Zn);!wr.done;xr++,wr=jt.next())wr=rr(Zn,kt,xr,wr.value,ln),wr!==null&&(i&&wr.alternate!==null&&Zn.delete(wr.key===null?xr:wr.key),St=Oe(wr,St,xr),Pr===null?mn=wr:Pr.sibling=wr,Pr=wr);return i&&Zn.forEach(function(Tc){return f(kt,Tc)}),mn}return function(kt,St,jt,ln){var mn=typeof jt=="object"&&jt!==null&&jt.type===k&&jt.key===null;mn&&(jt=jt.props.children);var Pr=typeof jt=="object"&&jt!==null;if(Pr)switch(jt.$$typeof){case R:e:{for(Pr=jt.key,mn=St;mn!==null;){if(mn.key===Pr){switch(mn.tag){case 7:if(jt.type===k){P(kt,mn.sibling),St=se(mn,jt.props.children),St.return=kt,kt=St;break e}break;default:if(mn.elementType===jt.type){P(kt,mn.sibling),St=se(mn,jt.props),St.ref=Js(kt,mn,jt),St.return=kt,kt=St;break e}}P(kt,mn);break}else f(kt,mn);mn=mn.sibling}jt.type===k?(St=Sa(jt.props.children,kt.mode,ln,jt.key),St.return=kt,kt=St):(ln=ul(jt.type,jt.key,jt.props,null,kt.mode,ln),ln.ref=Js(kt,St,jt),ln.return=kt,kt=ln)}return je(kt);case g:e:{for(mn=jt.key;St!==null;){if(St.key===mn)if(St.tag===4&&St.stateNode.containerInfo===jt.containerInfo&&St.stateNode.implementation===jt.implementation){P(kt,St.sibling),St=se(St,jt.children||[]),St.return=kt,kt=St;break e}else{P(kt,St);break}else f(kt,St);St=St.sibling}St=Gl(jt,kt.mode,ln),St.return=kt,kt=St}return je(kt)}if(typeof jt=="string"||typeof jt=="number")return jt=""+jt,St!==null&&St.tag===6?(P(kt,St.sibling),St=se(St,jt),St.return=kt,kt=St):(P(kt,St),St=Ql(jt,kt.mode,ln),St.return=kt,kt=St),je(kt);if(pa(jt))return br(kt,St,jt,ln);if(pe(jt))return gr(kt,St,jt,ln);if(Pr&&ha(kt,jt),typeof jt=="undefined"&&!mn)switch(kt.tag){case 1:case 22:case 0:case 11:case 15:throw Error(r(152,j(kt.type)||"Component"))}return P(kt,St)}}var ma=Va(!0),Ha=Va(!1),Ms={},xo=Ur(Ms),Ls=Ur(Ms),Ho=Ur(Ms);function fs(i){if(i===Ms)throw Error(r(174));return i}function ps(i,f){switch(Qr(Ho,f),Qr(Ls,i),Qr(xo,Ms),i=f.nodeType,i){case 9:case 11:f=(f=f.documentElement)?f.namespaceURI:K(null,"");break;default:i=i===8?f.parentNode:f,f=i.namespaceURI||null,i=i.tagName,f=K(f,i)}Wr(xo),Qr(xo,f)}function hs(){Wr(xo),Wr(Ls),Wr(Ho)}function Ka(i){fs(Ho.current);var f=fs(xo.current),P=K(f,i.type);f!==P&&(Qr(Ls,i),Qr(xo,P))}function Ra(i){Ls.current===i&&(Wr(xo),Wr(Ls))}var Jn=Ur(0);function lo(i){for(var f=i;f!==null;){if(f.tag===13){var P=f.memoizedState;if(P!==null&&(P=P.dehydrated,P===null||P.data==="$?"||P.data==="$!"))return f}else if(f.tag===19&&f.memoizedProps.revealOrder!==void 0){if((f.flags&64)!=0)return f}else if(f.child!==null){f.child.return=f,f=f.child;continue}if(f===i)break;for(;f.sibling===null;){if(f.return===null||f.return===i)return null;f=f.return}f.sibling.return=f.return,f=f.sibling}return null}var Di=null,Wi=null,xi=!1;function Zs(i,f){var P=Co(5,null,null,0);P.elementType="DELETED",P.type="DELETED",P.stateNode=f,P.return=i,P.flags=8,i.lastEffect!==null?(i.lastEffect.nextEffect=P,i.lastEffect=P):i.firstEffect=i.lastEffect=P}function Qa(i,f){switch(i.tag){case 5:var P=i.type;return f=f.nodeType!==1||P.toLowerCase()!==f.nodeName.toLowerCase()?null:f,f!==null?(i.stateNode=f,!0):!1;case 6:return f=i.pendingProps===""||f.nodeType!==3?null:f,f!==null?(i.stateNode=f,!0):!1;case 13:return!1;default:return!1}}function hl(i){if(xi){var f=Wi;if(f){var P=f;if(!Qa(i,f)){if(f=Oi(P.nextSibling),!f||!Qa(i,f)){i.flags=i.flags&-1025|2,xi=!1,Di=i;return}Zs(Di,P)}Di=i,Wi=Oi(f.firstChild)}else i.flags=i.flags&-1025|2,xi=!1,Di=i}}function Xl(i){for(i=i.return;i!==null&&i.tag!==5&&i.tag!==3&&i.tag!==13;)i=i.return;Di=i}function Ga(i){if(i!==Di)return!1;if(!xi)return Xl(i),xi=!0,!1;var f=i.type;if(i.tag!==5||f!=="head"&&f!=="body"&&!si(f,i.memoizedProps))for(f=Wi;f;)Zs(i,f),f=Oi(f.nextSibling);if(Xl(i),i.tag===13){if(i=i.memoizedState,i=i!==null?i.dehydrated:null,!i)throw Error(r(317));e:{for(i=i.nextSibling,f=0;i;){if(i.nodeType===8){var P=i.data;if(P==="/$"){if(f===0){Wi=Oi(i.nextSibling);break e}f--}else P!=="$"&&P!=="$!"&&P!=="$?"||f++}i=i.nextSibling}Wi=null}}else Wi=Di?Oi(i.stateNode.nextSibling):null;return!0}function ml(){Wi=Di=null,xi=!1}var ga=[];function gl(){for(var i=0;i<ga.length;i++)ga[i]._workInProgressVersionPrimary=null;ga.length=0}var Aa=x.ReactCurrentDispatcher,wo=x.ReactCurrentBatchConfig,Ia=0,yi=null,Vi=null,Ni=null,Ya=!1,Da=!1;function qi(){throw Error(r(321))}function vl(i,f){if(f===null)return!1;for(var P=0;P<f.length&&P<i.length;P++)if(!Ri(i[P],f[P]))return!1;return!0}function yl(i,f,P,U,se,Oe){if(Ia=Oe,yi=f,f.memoizedState=null,f.updateQueue=null,f.lanes=0,Aa.current=i===null||i.memoizedState===null?Zu:Xu,i=P(U,se),Da){Oe=0;do{if(Da=!1,!(25>Oe))throw Error(r(301));Oe+=1,Ni=Vi=null,f.updateQueue=null,Aa.current=qu,i=P(U,se)}while(Da)}if(Aa.current=qa,f=Vi!==null&&Vi.next!==null,Ia=0,Ni=Vi=yi=null,Ya=!1,f)throw Error(r(300));return i}function Xs(){var i={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Ni===null?yi.memoizedState=Ni=i:Ni=Ni.next=i,Ni}function qs(){if(Vi===null){var i=yi.alternate;i=i!==null?i.memoizedState:null}else i=Vi.next;var f=Ni===null?yi.memoizedState:Ni.next;if(f!==null)Ni=f,Vi=i;else{if(i===null)throw Error(r(310));Vi=i,i={memoizedState:Vi.memoizedState,baseState:Vi.baseState,baseQueue:Vi.baseQueue,queue:Vi.queue,next:null},Ni===null?yi.memoizedState=Ni=i:Ni=Ni.next=i}return Ni}function Ko(i,f){return typeof f=="function"?f(i):f}function $a(i){var f=qs(),P=f.queue;if(P===null)throw Error(r(311));P.lastRenderedReducer=i;var U=Vi,se=U.baseQueue,Oe=P.pending;if(Oe!==null){if(se!==null){var je=se.next;se.next=Oe.next,Oe.next=je}U.baseQueue=se=Oe,P.pending=null}if(se!==null){se=se.next,U=U.baseState;var tt=je=Oe=null,yt=se;do{var Jt=yt.lane;if((Ia&Jt)===Jt)tt!==null&&(tt=tt.next={lane:0,action:yt.action,eagerReducer:yt.eagerReducer,eagerState:yt.eagerState,next:null}),U=yt.eagerReducer===i?yt.eagerState:i(U,yt.action);else{var Un={lane:Jt,action:yt.action,eagerReducer:yt.eagerReducer,eagerState:yt.eagerState,next:null};tt===null?(je=tt=Un,Oe=U):tt=tt.next=Un,yi.lanes|=Jt,ja|=Jt}yt=yt.next}while(yt!==null&&yt!==se);tt===null?Oe=U:tt.next=je,Ri(U,f.memoizedState)||(No=!0),f.memoizedState=U,f.baseState=Oe,f.baseQueue=tt,P.lastRenderedState=U}return[f.memoizedState,P.dispatch]}function Ma(i){var f=qs(),P=f.queue;if(P===null)throw Error(r(311));P.lastRenderedReducer=i;var U=P.dispatch,se=P.pending,Oe=f.memoizedState;if(se!==null){P.pending=null;var je=se=se.next;do Oe=i(Oe,je.action),je=je.next;while(je!==se);Ri(Oe,f.memoizedState)||(No=!0),f.memoizedState=Oe,f.baseQueue===null&&(f.baseState=Oe),P.lastRenderedState=Oe}return[Oe,U]}function ql(i,f,P){var U=f._getVersion;U=U(f._source);var se=f._workInProgressVersionPrimary;if(se!==null?i=se===U:(i=i.mutableReadLanes,(i=(Ia&i)===i)&&(f._workInProgressVersionPrimary=U,ga.push(f))),i)return P(f._source);throw ga.push(f),Error(r(350))}function eu(i,f,P,U){var se=Qi;if(se===null)throw Error(r(349));var Oe=f._getVersion,je=Oe(f._source),tt=Aa.current,yt=tt.useState(function(){return ql(se,f,P)}),Jt=yt[1],Un=yt[0];yt=Ni;var Or=i.memoizedState,gn=Or.refs,rr=gn.getSnapshot,br=Or.source;Or=Or.subscribe;var gr=yi;return i.memoizedState={refs:gn,source:f,subscribe:U},tt.useEffect(function(){gn.getSnapshot=P,gn.setSnapshot=Jt;var kt=Oe(f._source);if(!Ri(je,kt)){kt=P(f._source),Ri(Un,kt)||(Jt(kt),kt=js(gr),se.mutableReadLanes|=kt&se.pendingLanes),kt=se.mutableReadLanes,se.entangledLanes|=kt;for(var St=se.entanglements,jt=kt;0<jt;){var ln=31-cr(jt),mn=1<<ln;St[ln]|=kt,jt&=~mn}}},[P,f,U]),tt.useEffect(function(){return U(f._source,function(){var kt=gn.getSnapshot,St=gn.setSnapshot;try{St(kt(f._source));var jt=js(gr);se.mutableReadLanes|=jt&se.pendingLanes}catch(ln){St(function(){throw ln})}})},[f,U]),Ri(rr,P)&&Ri(br,f)&&Ri(Or,U)||(i={pending:null,dispatch:null,lastRenderedReducer:Ko,lastRenderedState:Un},i.dispatch=Jt=Sl.bind(null,yi,i),yt.queue=i,yt.baseQueue=null,Un=ql(se,f,P),yt.memoizedState=yt.baseState=Un),Un}function tu(i,f,P){var U=qs();return eu(U,i,f,P)}function La(i){var f=Xs();return typeof i=="function"&&(i=i()),f.memoizedState=f.baseState=i,i=f.queue={pending:null,dispatch:null,lastRenderedReducer:Ko,lastRenderedState:i},i=i.dispatch=Sl.bind(null,yi,i),[f.memoizedState,i]}function Ja(i,f,P,U){return i={tag:i,create:f,destroy:P,deps:U,next:null},f=yi.updateQueue,f===null?(f={lastEffect:null},yi.updateQueue=f,f.lastEffect=i.next=i):(P=f.lastEffect,P===null?f.lastEffect=i.next=i:(U=P.next,P.next=i,i.next=U,f.lastEffect=i)),i}function nu(i){var f=Xs();return i={current:i},f.memoizedState=i}function Za(){return qs().memoizedState}function bl(i,f,P,U){var se=Xs();yi.flags|=i,se.memoizedState=Ja(1|f,P,void 0,U===void 0?null:U)}function El(i,f,P,U){var se=qs();U=U===void 0?null:U;var Oe=void 0;if(Vi!==null){var je=Vi.memoizedState;if(Oe=je.destroy,U!==null&&vl(U,je.deps)){Ja(f,P,Oe,U);return}}yi.flags|=i,se.memoizedState=Ja(1|f,P,Oe,U)}function ru(i,f){return bl(516,4,i,f)}function Xa(i,f){return El(516,4,i,f)}function iu(i,f){return El(4,2,i,f)}function ou(i,f){if(typeof f=="function")return i=i(),f(i),function(){f(null)};if(f!=null)return i=i(),f.current=i,function(){f.current=null}}function su(i,f,P){return P=P!=null?P.concat([i]):null,El(4,2,ou.bind(null,f,i),P)}function Ol(){}function au(i,f){var P=qs();f=f===void 0?null:f;var U=P.memoizedState;return U!==null&&f!==null&&vl(f,U[1])?U[0]:(P.memoizedState=[i,f],i)}function lu(i,f){var P=qs();f=f===void 0?null:f;var U=P.memoizedState;return U!==null&&f!==null&&vl(f,U[1])?U[0]:(i=i(),P.memoizedState=[i,f],i)}function Ju(i,f){var P=Sn();tr(98>P?98:P,function(){i(!0)}),tr(97<P?97:P,function(){var U=wo.transition;wo.transition=1;try{i(!1),f()}finally{wo.transition=U}})}function Sl(i,f,P){var U=uo(),se=js(i),Oe={lane:se,action:P,eagerReducer:null,eagerState:null,next:null},je=f.pending;if(je===null?Oe.next=Oe:(Oe.next=je.next,je.next=Oe),f.pending=Oe,je=i.alternate,i===yi||je!==null&&je===yi)Da=Ya=!0;else{if(i.lanes===0&&(je===null||je.lanes===0)&&(je=f.lastRenderedReducer,je!==null))try{var tt=f.lastRenderedState,yt=je(tt,P);if(Oe.eagerReducer=je,Oe.eagerState=yt,Ri(yt,tt))return}catch(Jt){}finally{}Fs(i,se,U)}}var qa={readContext:en,useCallback:qi,useContext:qi,useEffect:qi,useImperativeHandle:qi,useLayoutEffect:qi,useMemo:qi,useReducer:qi,useRef:qi,useState:qi,useDebugValue:qi,useDeferredValue:qi,useTransition:qi,useMutableSource:qi,useOpaqueIdentifier:qi,unstable_isNewReconciler:!1},Zu={readContext:en,useCallback:function(i,f){return Xs().memoizedState=[i,f===void 0?null:f],i},useContext:en,useEffect:ru,useImperativeHandle:function(i,f,P){return P=P!=null?P.concat([i]):null,bl(4,2,ou.bind(null,f,i),P)},useLayoutEffect:function(i,f){return bl(4,2,i,f)},useMemo:function(i,f){var P=Xs();return f=f===void 0?null:f,i=i(),P.memoizedState=[i,f],i},useReducer:function(i,f,P){var U=Xs();return f=P!==void 0?P(f):f,U.memoizedState=U.baseState=f,i=U.queue={pending:null,dispatch:null,lastRenderedReducer:i,lastRenderedState:f},i=i.dispatch=Sl.bind(null,yi,i),[U.memoizedState,i]},useRef:nu,useState:La,useDebugValue:Ol,useDeferredValue:function(i){var f=La(i),P=f[0],U=f[1];return ru(function(){var se=wo.transition;wo.transition=1;try{U(i)}finally{wo.transition=se}},[i]),P},useTransition:function(){var i=La(!1),f=i[0];return i=Ju.bind(null,i[1]),nu(i),[i,f]},useMutableSource:function(i,f,P){var U=Xs();return U.memoizedState={refs:{getSnapshot:f,setSnapshot:null},source:i,subscribe:P},eu(U,i,f,P)},useOpaqueIdentifier:function(){if(xi){var i=!1,f=ai(function(){throw i||(i=!0,P("r:"+(ls++).toString(36))),Error(r(355))}),P=La(f)[1];return(yi.mode&2)==0&&(yi.flags|=516,Ja(5,function(){P("r:"+(ls++).toString(36))},void 0,null)),f}return f="r:"+(ls++).toString(36),La(f),f},unstable_isNewReconciler:!1},Xu={readContext:en,useCallback:au,useContext:en,useEffect:Xa,useImperativeHandle:su,useLayoutEffect:iu,useMemo:lu,useReducer:$a,useRef:Za,useState:function(){return $a(Ko)},useDebugValue:Ol,useDeferredValue:function(i){var f=$a(Ko),P=f[0],U=f[1];return Xa(function(){var se=wo.transition;wo.transition=1;try{U(i)}finally{wo.transition=se}},[i]),P},useTransition:function(){var i=$a(Ko)[0];return[Za().current,i]},useMutableSource:tu,useOpaqueIdentifier:function(){return $a(Ko)[0]},unstable_isNewReconciler:!1},qu={readContext:en,useCallback:au,useContext:en,useEffect:Xa,useImperativeHandle:su,useLayoutEffect:iu,useMemo:lu,useReducer:Ma,useRef:Za,useState:function(){return Ma(Ko)},useDebugValue:Ol,useDeferredValue:function(i){var f=Ma(Ko),P=f[0],U=f[1];return Xa(function(){var se=wo.transition;wo.transition=1;try{U(i)}finally{wo.transition=se}},[i]),P},useTransition:function(){var i=Ma(Ko)[0];return[Za().current,i]},useMutableSource:tu,useOpaqueIdentifier:function(){return Ma(Ko)[0]},unstable_isNewReconciler:!1},ec=x.ReactCurrentOwner,No=!1;function eo(i,f,P,U){f.child=i===null?Ha(f,null,P,U):ma(f,i.child,P,U)}function uu(i,f,P,U,se){P=P.render;var Oe=f.ref;return Dt(f,se),U=yl(i,f,P,U,Oe,se),i!==null&&!No?(f.updateQueue=i.updateQueue,f.flags&=-517,i.lanes&=~se,ms(i,f,se)):(f.flags|=1,eo(i,f,U,se),f.child)}function cu(i,f,P,U,se,Oe){if(i===null){var je=P.type;return typeof je=="function"&&!Hl(je)&&je.defaultProps===void 0&&P.compare===null&&P.defaultProps===void 0?(f.tag=15,f.type=je,du(i,f,je,U,se,Oe)):(i=ul(P.type,null,U,f,f.mode,Oe),i.ref=f.ref,i.return=f,f.child=i)}return je=i.child,(se&Oe)==0&&(se=je.memoizedProps,P=P.compare,P=P!==null?P:Ei,P(se,U)&&i.ref===f.ref)?ms(i,f,Oe):(f.flags|=1,i=Us(je,U),i.ref=f.ref,i.return=f,f.child=i)}function du(i,f,P,U,se,Oe){if(i!==null&&Ei(i.memoizedProps,U)&&i.ref===f.ref)if(No=!1,(Oe&se)!=0)(i.flags&16384)!=0&&(No=!0);else return f.lanes=i.lanes,ms(i,f,Oe);return xl(i,f,P,U,Oe)}function Pl(i,f,P){var U=f.pendingProps,se=U.children,Oe=i!==null?i.memoizedState:null;if(U.mode==="hidden"||U.mode==="unstable-defer-without-hiding")if((f.mode&4)==0)f.memoizedState={baseLanes:0},ll(f,P);else if((P&1073741824)!=0)f.memoizedState={baseLanes:0},ll(f,Oe!==null?Oe.baseLanes:P);else return i=Oe!==null?Oe.baseLanes|P:P,f.lanes=f.childLanes=1073741824,f.memoizedState={baseLanes:i},ll(f,i),null;else Oe!==null?(U=Oe.baseLanes|P,f.memoizedState=null):U=P,ll(f,U);return eo(i,f,se,P),f.child}function fu(i,f){var P=f.ref;(i===null&&P!==null||i!==null&&i.ref!==P)&&(f.flags|=128)}function xl(i,f,P,U,se){var Oe=Si(P)?_i:fi.current;return Oe=Oo(f,Oe),Dt(f,se),P=yl(i,f,P,U,Oe,se),i!==null&&!No?(f.updateQueue=i.updateQueue,f.flags&=-517,i.lanes&=~se,ms(i,f,se)):(f.flags|=1,eo(i,f,P,se),f.child)}function pu(i,f,P,U,se){if(Si(P)){var Oe=!0;Ii(f)}else Oe=!1;if(Dt(f,se),f.stateNode===null)i!==null&&(i.alternate=null,f.alternate=null,f.flags|=2),wa(f,P,U),Ca(f,P,U,se),U=!0;else if(i===null){var je=f.stateNode,tt=f.memoizedProps;je.props=tt;var yt=je.context,Jt=P.contextType;typeof Jt=="object"&&Jt!==null?Jt=en(Jt):(Jt=Si(P)?_i:fi.current,Jt=Oo(f,Jt));var Un=P.getDerivedStateFromProps,Or=typeof Un=="function"||typeof je.getSnapshotBeforeUpdate=="function";Or||typeof je.UNSAFE_componentWillReceiveProps!="function"&&typeof je.componentWillReceiveProps!="function"||(tt!==U||yt!==Jt)&&Ta(f,je,U,Jt),Nt=!1;var gn=f.memoizedState;je.state=gn,Mr(f,U,je,se),yt=f.memoizedState,tt!==U||gn!==yt||Xr.current||Nt?(typeof Un=="function"&&(ri(f,P,Un,U),yt=f.memoizedState),(tt=Nt||Vo(f,P,tt,U,gn,yt,Jt))?(Or||typeof je.UNSAFE_componentWillMount!="function"&&typeof je.componentWillMount!="function"||(typeof je.componentWillMount=="function"&&je.componentWillMount(),typeof je.UNSAFE_componentWillMount=="function"&&je.UNSAFE_componentWillMount()),typeof je.componentDidMount=="function"&&(f.flags|=4)):(typeof je.componentDidMount=="function"&&(f.flags|=4),f.memoizedProps=U,f.memoizedState=yt),je.props=U,je.state=yt,je.context=Jt,U=tt):(typeof je.componentDidMount=="function"&&(f.flags|=4),U=!1)}else{je=f.stateNode,Tn(i,f),tt=f.memoizedProps,Jt=f.type===f.elementType?tt:Qt(f.type,tt),je.props=Jt,Or=f.pendingProps,gn=je.context,yt=P.contextType,typeof yt=="object"&&yt!==null?yt=en(yt):(yt=Si(P)?_i:fi.current,yt=Oo(f,yt));var rr=P.getDerivedStateFromProps;(Un=typeof rr=="function"||typeof je.getSnapshotBeforeUpdate=="function")||typeof je.UNSAFE_componentWillReceiveProps!="function"&&typeof je.componentWillReceiveProps!="function"||(tt!==Or||gn!==yt)&&Ta(f,je,U,yt),Nt=!1,gn=f.memoizedState,je.state=gn,Mr(f,U,je,se);var br=f.memoizedState;tt!==Or||gn!==br||Xr.current||Nt?(typeof rr=="function"&&(ri(f,P,rr,U),br=f.memoizedState),(Jt=Nt||Vo(f,P,Jt,U,gn,br,yt))?(Un||typeof je.UNSAFE_componentWillUpdate!="function"&&typeof je.componentWillUpdate!="function"||(typeof je.componentWillUpdate=="function"&&je.componentWillUpdate(U,br,yt),typeof je.UNSAFE_componentWillUpdate=="function"&&je.UNSAFE_componentWillUpdate(U,br,yt)),typeof je.componentDidUpdate=="function"&&(f.flags|=4),typeof je.getSnapshotBeforeUpdate=="function"&&(f.flags|=256)):(typeof je.componentDidUpdate!="function"||tt===i.memoizedProps&&gn===i.memoizedState||(f.flags|=4),typeof je.getSnapshotBeforeUpdate!="function"||tt===i.memoizedProps&&gn===i.memoizedState||(f.flags|=256),f.memoizedProps=U,f.memoizedState=br),je.props=U,je.state=br,je.context=yt,U=Jt):(typeof je.componentDidUpdate!="function"||tt===i.memoizedProps&&gn===i.memoizedState||(f.flags|=4),typeof je.getSnapshotBeforeUpdate!="function"||tt===i.memoizedProps&&gn===i.memoizedState||(f.flags|=256),U=!1)}return wl(i,f,P,U,Oe,se)}function wl(i,f,P,U,se,Oe){fu(i,f);var je=(f.flags&64)!=0;if(!U&&!je)return se&&Ki(f,P,!1),ms(i,f,Oe);U=f.stateNode,ec.current=f;var tt=je&&typeof P.getDerivedStateFromError!="function"?null:U.render();return f.flags|=1,i!==null&&je?(f.child=ma(f,i.child,null,Oe),f.child=ma(f,null,tt,Oe)):eo(i,f,tt,Oe),f.memoizedState=U.state,se&&Ki(f,P,!0),f.child}function hu(i){var f=i.stateNode;f.pendingContext?cs(i,f.pendingContext,f.pendingContext!==f.context):f.context&&cs(i,f.context,!1),ps(i,f.containerInfo)}var el={dehydrated:null,retryLane:0};function mu(i,f,P){var U=f.pendingProps,se=Jn.current,Oe=!1,je;return(je=(f.flags&64)!=0)||(je=i!==null&&i.memoizedState===null?!1:(se&2)!=0),je?(Oe=!0,f.flags&=-65):i!==null&&i.memoizedState===null||U.fallback===void 0||U.unstable_avoidThisFallback===!0||(se|=1),Qr(Jn,se&1),i===null?(U.fallback!==void 0&&hl(f),i=U.children,se=U.fallback,Oe?(i=gu(f,i,se,P),f.child.memoizedState={baseLanes:P},f.memoizedState=el,i):typeof U.unstable_expectedLoadTime=="number"?(i=gu(f,i,se,P),f.child.memoizedState={baseLanes:P},f.memoizedState=el,f.lanes=33554432,i):(P=Kl({mode:"visible",children:i},f.mode,P,null),P.return=f,f.child=P)):i.memoizedState!==null?Oe?(U=yu(i,f,U.children,U.fallback,P),Oe=f.child,se=i.child.memoizedState,Oe.memoizedState=se===null?{baseLanes:P}:{baseLanes:se.baseLanes|P},Oe.childLanes=i.childLanes&~P,f.memoizedState=el,U):(P=vu(i,f,U.children,P),f.memoizedState=null,P):Oe?(U=yu(i,f,U.children,U.fallback,P),Oe=f.child,se=i.child.memoizedState,Oe.memoizedState=se===null?{baseLanes:P}:{baseLanes:se.baseLanes|P},Oe.childLanes=i.childLanes&~P,f.memoizedState=el,U):(P=vu(i,f,U.children,P),f.memoizedState=null,P)}function gu(i,f,P,U){var se=i.mode,Oe=i.child;return f={mode:"hidden",children:f},(se&2)==0&&Oe!==null?(Oe.childLanes=0,Oe.pendingProps=f):Oe=Kl(f,se,0,null),P=Sa(P,se,U,null),Oe.return=i,P.return=i,Oe.sibling=P,i.child=Oe,P}function vu(i,f,P,U){var se=i.child;return i=se.sibling,P=Us(se,{mode:"visible",children:P}),(f.mode&2)==0&&(P.lanes=U),P.return=f,P.sibling=null,i!==null&&(i.nextEffect=null,i.flags=8,f.firstEffect=f.lastEffect=i),f.child=P}function yu(i,f,P,U,se){var Oe=f.mode,je=i.child;i=je.sibling;var tt={mode:"hidden",children:P};return(Oe&2)==0&&f.child!==je?(P=f.child,P.childLanes=0,P.pendingProps=tt,je=P.lastEffect,je!==null?(f.firstEffect=P.firstEffect,f.lastEffect=je,je.nextEffect=null):f.firstEffect=f.lastEffect=null):P=Us(je,tt),i!==null?U=Us(i,U):(U=Sa(U,Oe,se,null),U.flags|=2),U.return=f,P.return=f,P.sibling=U,f.child=P,U}function bu(i,f){i.lanes|=f;var P=i.alternate;P!==null&&(P.lanes|=f),rn(i.return,f)}function Tl(i,f,P,U,se,Oe){var je=i.memoizedState;je===null?i.memoizedState={isBackwards:f,rendering:null,renderingStartTime:0,last:U,tail:P,tailMode:se,lastEffect:Oe}:(je.isBackwards=f,je.rendering=null,je.renderingStartTime=0,je.last=U,je.tail=P,je.tailMode=se,je.lastEffect=Oe)}function Eu(i,f,P){var U=f.pendingProps,se=U.revealOrder,Oe=U.tail;if(eo(i,f,U.children,P),U=Jn.current,(U&2)!=0)U=U&1|2,f.flags|=64;else{if(i!==null&&(i.flags&64)!=0)e:for(i=f.child;i!==null;){if(i.tag===13)i.memoizedState!==null&&bu(i,P);else if(i.tag===19)bu(i,P);else if(i.child!==null){i.child.return=i,i=i.child;continue}if(i===f)break e;for(;i.sibling===null;){if(i.return===null||i.return===f)break e;i=i.return}i.sibling.return=i.return,i=i.sibling}U&=1}if(Qr(Jn,U),(f.mode&2)==0)f.memoizedState=null;else switch(se){case"forwards":for(P=f.child,se=null;P!==null;)i=P.alternate,i!==null&&lo(i)===null&&(se=P),P=P.sibling;P=se,P===null?(se=f.child,f.child=null):(se=P.sibling,P.sibling=null),Tl(f,!1,se,P,Oe,f.lastEffect);break;case"backwards":for(P=null,se=f.child,f.child=null;se!==null;){if(i=se.alternate,i!==null&&lo(i)===null){f.child=se;break}i=se.sibling,se.sibling=P,P=se,se=i}Tl(f,!0,P,null,Oe,f.lastEffect);break;case"together":Tl(f,!1,null,null,void 0,f.lastEffect);break;default:f.memoizedState=null}return f.child}function ms(i,f,P){if(i!==null&&(f.dependencies=i.dependencies),ja|=f.lanes,(P&f.childLanes)!=0){if(i!==null&&f.child!==i.child)throw Error(r(153));if(f.child!==null){for(i=f.child,P=Us(i,i.pendingProps),f.child=P,P.return=f;i.sibling!==null;)i=i.sibling,P=P.sibling=Us(i,i.pendingProps),P.return=f;P.sibling=null}return f.child}return null}var Ou,Cl,Su,Pu;Ou=function(i,f){for(var P=f.child;P!==null;){if(P.tag===5||P.tag===6)i.appendChild(P.stateNode);else if(P.tag!==4&&P.child!==null){P.child.return=P,P=P.child;continue}if(P===f)break;for(;P.sibling===null;){if(P.return===null||P.return===f)return;P=P.return}P.sibling.return=P.return,P=P.sibling}},Cl=function(){},Su=function(i,f,P,U){var se=i.memoizedProps;if(se!==U){i=f.stateNode,fs(xo.current);var Oe=null;switch(P){case"input":se=$(i,se),U=$(i,U),Oe=[];break;case"option":se=Le(i,se),U=Le(i,U),Oe=[];break;case"select":se=s({},se,{value:void 0}),U=s({},U,{value:void 0}),Oe=[];break;case"textarea":se=at(i,se),U=at(i,U),Oe=[];break;default:typeof se.onClick!="function"&&typeof U.onClick=="function"&&(i.onclick=Ai)}ze(P,U);var je;P=null;for(Jt in se)if(!U.hasOwnProperty(Jt)&&se.hasOwnProperty(Jt)&&se[Jt]!=null)if(Jt==="style"){var tt=se[Jt];for(je in tt)tt.hasOwnProperty(je)&&(P||(P={}),P[je]="")}else Jt!=="dangerouslySetInnerHTML"&&Jt!=="children"&&Jt!=="suppressContentEditableWarning"&&Jt!=="suppressHydrationWarning"&&Jt!=="autoFocus"&&(u.hasOwnProperty(Jt)?Oe||(Oe=[]):(Oe=Oe||[]).push(Jt,null));for(Jt in U){var yt=U[Jt];if(tt=se!=null?se[Jt]:void 0,U.hasOwnProperty(Jt)&&yt!==tt&&(yt!=null||tt!=null))if(Jt==="style")if(tt){for(je in tt)!tt.hasOwnProperty(je)||yt&&yt.hasOwnProperty(je)||(P||(P={}),P[je]="");for(je in yt)yt.hasOwnProperty(je)&&tt[je]!==yt[je]&&(P||(P={}),P[je]=yt[je])}else P||(Oe||(Oe=[]),Oe.push(Jt,P)),P=yt;else Jt==="dangerouslySetInnerHTML"?(yt=yt?yt.__html:void 0,tt=tt?tt.__html:void 0,yt!=null&&tt!==yt&&(Oe=Oe||[]).push(Jt,yt)):Jt==="children"?typeof yt!="string"&&typeof yt!="number"||(Oe=Oe||[]).push(Jt,""+yt):Jt!=="suppressContentEditableWarning"&&Jt!=="suppressHydrationWarning"&&(u.hasOwnProperty(Jt)?(yt!=null&&Jt==="onScroll"&&zr("scroll",i),Oe||tt===yt||(Oe=[])):typeof yt=="object"&&yt!==null&&yt.$$typeof===B?yt.toString():(Oe=Oe||[]).push(Jt,yt))}P&&(Oe=Oe||[]).push("style",P);var Jt=Oe;(f.updateQueue=Jt)&&(f.flags|=4)}},Pu=function(i,f,P,U){P!==U&&(f.flags|=4)};function Na(i,f){if(!xi)switch(i.tailMode){case"hidden":f=i.tail;for(var P=null;f!==null;)f.alternate!==null&&(P=f),f=f.sibling;P===null?i.tail=null:P.sibling=null;break;case"collapsed":P=i.tail;for(var U=null;P!==null;)P.alternate!==null&&(U=P),P=P.sibling;U===null?f||i.tail===null?i.tail=null:i.tail.sibling=null:U.sibling=null}}function tc(i,f,P){var U=f.pendingProps;switch(f.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return null;case 1:return Si(f.type)&&So(),null;case 3:return hs(),Wr(Xr),Wr(fi),gl(),U=f.stateNode,U.pendingContext&&(U.context=U.pendingContext,U.pendingContext=null),(i===null||i.child===null)&&(Ga(f)?f.flags|=4:U.hydrate||(f.flags|=256)),Cl(f),null;case 5:Ra(f);var se=fs(Ho.current);if(P=f.type,i!==null&&f.stateNode!=null)Su(i,f,P,U,se),i.ref!==f.ref&&(f.flags|=128);else{if(!U){if(f.stateNode===null)throw Error(r(166));return null}if(i=fs(xo.current),Ga(f)){U=f.stateNode,P=f.type;var Oe=f.memoizedProps;switch(U[Ui]=f,U[ro]=Oe,P){case"dialog":zr("cancel",U),zr("close",U);break;case"iframe":case"object":case"embed":zr("load",U);break;case"video":case"audio":for(i=0;i<gi.length;i++)zr(gi[i],U);break;case"source":zr("error",U);break;case"img":case"image":case"link":zr("error",U),zr("load",U);break;case"details":zr("toggle",U);break;case"input":H(U,Oe),zr("invalid",U);break;case"select":U._wrapperState={wasMultiple:!!Oe.multiple},zr("invalid",U);break;case"textarea":xt(U,Oe),zr("invalid",U)}ze(P,Oe),i=null;for(var je in Oe)Oe.hasOwnProperty(je)&&(se=Oe[je],je==="children"?typeof se=="string"?U.textContent!==se&&(i=["children",se]):typeof se=="number"&&U.textContent!==""+se&&(i=["children",""+se]):u.hasOwnProperty(je)&&se!=null&&je==="onScroll"&&zr("scroll",U));switch(P){case"input":Pe(U),$e(U,Oe,!0);break;case"textarea":Pe(U),q(U);break;case"select":case"option":break;default:typeof Oe.onClick=="function"&&(U.onclick=Ai)}U=i,f.updateQueue=U,U!==null&&(f.flags|=4)}else{switch(je=se.nodeType===9?se:se.ownerDocument,i===ne.html&&(i=ie(P)),i===ne.html?P==="script"?(i=je.createElement("div"),i.innerHTML="<script><\/script>",i=i.removeChild(i.firstChild)):typeof U.is=="string"?i=je.createElement(P,{is:U.is}):(i=je.createElement(P),P==="select"&&(je=i,U.multiple?je.multiple=!0:U.size&&(je.size=U.size))):i=je.createElementNS(i,P),i[Ui]=f,i[ro]=U,Ou(i,f,!1,!1),f.stateNode=i,je=dt(P,U),P){case"dialog":zr("cancel",i),zr("close",i),se=U;break;case"iframe":case"object":case"embed":zr("load",i),se=U;break;case"video":case"audio":for(se=0;se<gi.length;se++)zr(gi[se],i);se=U;break;case"source":zr("error",i),se=U;break;case"img":case"image":case"link":zr("error",i),zr("load",i),se=U;break;case"details":zr("toggle",i),se=U;break;case"input":H(i,U),se=$(i,U),zr("invalid",i);break;case"option":se=Le(i,U);break;case"select":i._wrapperState={wasMultiple:!!U.multiple},se=s({},U,{value:void 0}),zr("invalid",i);break;case"textarea":xt(i,U),se=at(i,U),zr("invalid",i);break;default:se=U}ze(P,se);var tt=se;for(Oe in tt)if(tt.hasOwnProperty(Oe)){var yt=tt[Oe];Oe==="style"?Yt(i,yt):Oe==="dangerouslySetInnerHTML"?(yt=yt?yt.__html:void 0,yt!=null&&He(i,yt)):Oe==="children"?typeof yt=="string"?(P!=="textarea"||yt!=="")&&Je(i,yt):typeof yt=="number"&&Je(i,""+yt):Oe!=="suppressContentEditableWarning"&&Oe!=="suppressHydrationWarning"&&Oe!=="autoFocus"&&(u.hasOwnProperty(Oe)?yt!=null&&Oe==="onScroll"&&zr("scroll",i):yt!=null&&w(i,Oe,yt,je))}switch(P){case"input":Pe(i),$e(i,U,!1);break;case"textarea":Pe(i),q(i);break;case"option":U.value!=null&&i.setAttribute("value",""+ue(U.value));break;case"select":i.multiple=!!U.multiple,Oe=U.value,Oe!=null?ke(i,!!U.multiple,Oe,!1):U.defaultValue!=null&&ke(i,!!U.multiple,U.defaultValue,!0);break;default:typeof se.onClick=="function"&&(i.onclick=Ai)}Ds(P,U)&&(f.flags|=4)}f.ref!==null&&(f.flags|=128)}return null;case 6:if(i&&f.stateNode!=null)Pu(i,f,i.memoizedProps,U);else{if(typeof U!="string"&&f.stateNode===null)throw Error(r(166));P=fs(Ho.current),fs(xo.current),Ga(f)?(U=f.stateNode,P=f.memoizedProps,U[Ui]=f,U.nodeValue!==P&&(f.flags|=4)):(U=(P.nodeType===9?P:P.ownerDocument).createTextNode(U),U[Ui]=f,f.stateNode=U)}return null;case 13:return Wr(Jn),U=f.memoizedState,(f.flags&64)!=0?(f.lanes=P,f):(U=U!==null,P=!1,i===null?f.memoizedProps.fallback!==void 0&&Ga(f):P=i.memoizedState!==null,U&&!P&&(f.mode&2)!=0&&(i===null&&f.memoizedProps.unstable_avoidThisFallback!==!0||(Jn.current&1)!=0?ji===0&&(ji=3):((ji===0||ji===3)&&(ji=4),Qi===null||(ja&134217727)==0&&(ya&134217727)==0||Ea(Qi,Hi))),(U||P)&&(f.flags|=4),null);case 4:return hs(),Cl(f),i===null&&ss(f.stateNode.containerInfo),null;case 10:return Xt(f),null;case 17:return Si(f.type)&&So(),null;case 19:if(Wr(Jn),U=f.memoizedState,U===null)return null;if(Oe=(f.flags&64)!=0,je=U.rendering,je===null)if(Oe)Na(U,!1);else{if(ji!==0||i!==null&&(i.flags&64)!=0)for(i=f.child;i!==null;){if(je=lo(i),je!==null){for(f.flags|=64,Na(U,!1),Oe=je.updateQueue,Oe!==null&&(f.updateQueue=Oe,f.flags|=4),U.lastEffect===null&&(f.firstEffect=null),f.lastEffect=U.lastEffect,U=P,P=f.child;P!==null;)Oe=P,i=U,Oe.flags&=2,Oe.nextEffect=null,Oe.firstEffect=null,Oe.lastEffect=null,je=Oe.alternate,je===null?(Oe.childLanes=0,Oe.lanes=i,Oe.child=null,Oe.memoizedProps=null,Oe.memoizedState=null,Oe.updateQueue=null,Oe.dependencies=null,Oe.stateNode=null):(Oe.childLanes=je.childLanes,Oe.lanes=je.lanes,Oe.child=je.child,Oe.memoizedProps=je.memoizedProps,Oe.memoizedState=je.memoizedState,Oe.updateQueue=je.updateQueue,Oe.type=je.type,i=je.dependencies,Oe.dependencies=i===null?null:{lanes:i.lanes,firstContext:i.firstContext}),P=P.sibling;return Qr(Jn,Jn.current&1|2),f.child}i=i.sibling}U.tail!==null&&_t()>kl&&(f.flags|=64,Oe=!0,Na(U,!1),f.lanes=33554432)}else{if(!Oe)if(i=lo(je),i!==null){if(f.flags|=64,Oe=!0,P=i.updateQueue,P!==null&&(f.updateQueue=P,f.flags|=4),Na(U,!0),U.tail===null&&U.tailMode==="hidden"&&!je.alternate&&!xi)return f=f.lastEffect=U.lastEffect,f!==null&&(f.nextEffect=null),null}else 2*_t()-U.renderingStartTime>kl&&P!==1073741824&&(f.flags|=64,Oe=!0,Na(U,!1),f.lanes=33554432);U.isBackwards?(je.sibling=f.child,f.child=je):(P=U.last,P!==null?P.sibling=je:f.child=je,U.last=je)}return U.tail!==null?(P=U.tail,U.rendering=P,U.tail=P.sibling,U.lastEffect=f.lastEffect,U.renderingStartTime=_t(),P.sibling=null,f=Jn.current,Qr(Jn,Oe?f&1|2:f&1),P):null;case 23:case 24:return Vl(),i!==null&&i.memoizedState!==null!=(f.memoizedState!==null)&&U.mode!=="unstable-defer-without-hiding"&&(f.flags|=4),null}throw Error(r(156,f.tag))}function nc(i){switch(i.tag){case 1:Si(i.type)&&So();var f=i.flags;return f&4096?(i.flags=f&-4097|64,i):null;case 3:if(hs(),Wr(Xr),Wr(fi),gl(),f=i.flags,(f&64)!=0)throw Error(r(285));return i.flags=f&-4097|64,i;case 5:return Ra(i),null;case 13:return Wr(Jn),f=i.flags,f&4096?(i.flags=f&-4097|64,i):null;case 19:return Wr(Jn),null;case 4:return hs(),null;case 10:return Xt(i),null;case 23:case 24:return Vl(),null;default:return null}}function Rl(i,f){try{var P="",U=f;do P+=_e(U),U=U.return;while(U);var se=P}catch(Oe){se=`
|
|
2939
|
+
`+se[je].replace(" at new "," at ");while(1<=je&&0<=tt);break}}}finally{nt=!1,Error.prepareStackTrace=P}return(i=i?i.displayName||i.name:"")?De(i):""}function _e(i){switch(i.tag){case 5:return De(i.type);case 16:return De("Lazy");case 13:return De("Suspense");case 19:return De("SuspenseList");case 0:case 2:case 15:return i=Me(i.type,!1),i;case 11:return i=Me(i.type.render,!1),i;case 22:return i=Me(i.type._render,!1),i;case 1:return i=Me(i.type,!0),i;default:return""}}function j(i){if(i==null)return null;if(typeof i=="function")return i.displayName||i.name||null;if(typeof i=="string")return i;switch(i){case k:return"Fragment";case g:return"Portal";case Z:return"Profiler";case G:return"StrictMode";case Fe:return"Suspense";case ce:return"SuspenseList"}if(typeof i=="object")switch(i.$$typeof){case ee:return(i.displayName||"Context")+".Consumer";case oe:return(i._context.displayName||"Context")+".Provider";case Ee:var f=i.render;return f=f.displayName||f.name||"",i.displayName||(f!==""?"ForwardRef("+f+")":"ForwardRef");case te:return j(i.type);case Q:return j(i._render);case he:f=i._payload,i=i._init;try{return j(i(f))}catch(P){}}return null}function ue(i){switch(typeof i){case"boolean":case"number":case"object":case"string":case"undefined":return i;default:return""}}function Ce(i){var f=i.type;return(i=i.nodeName)&&i.toLowerCase()==="input"&&(f==="checkbox"||f==="radio")}function et(i){var f=Ce(i)?"checked":"value",P=Object.getOwnPropertyDescriptor(i.constructor.prototype,f),U=""+i[f];if(!i.hasOwnProperty(f)&&typeof P!="undefined"&&typeof P.get=="function"&&typeof P.set=="function"){var se=P.get,Oe=P.set;return Object.defineProperty(i,f,{configurable:!0,get:function(){return se.call(this)},set:function(je){U=""+je,Oe.call(this,je)}}),Object.defineProperty(i,f,{enumerable:P.enumerable}),{getValue:function(){return U},setValue:function(je){U=""+je},stopTracking:function(){i._valueTracker=null,delete i[f]}}}}function Pe(i){i._valueTracker||(i._valueTracker=et(i))}function X(i){if(!i)return!1;var f=i._valueTracker;if(!f)return!0;var P=f.getValue(),U="";return i&&(U=Ce(i)?i.checked?"true":"false":i.value),i=U,i!==P?(f.setValue(i),!0):!1}function _(i){if(i=i||(typeof document!="undefined"?document:void 0),typeof i=="undefined")return null;try{return i.activeElement||i.body}catch(f){return i.body}}function $(i,f){var P=f.checked;return s({},f,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:P!=null?P:i._wrapperState.initialChecked})}function H(i,f){var P=f.defaultValue==null?"":f.defaultValue,U=f.checked!=null?f.checked:f.defaultChecked;P=ue(f.value!=null?f.value:P),i._wrapperState={initialChecked:U,initialValue:P,controlled:f.type==="checkbox"||f.type==="radio"?f.checked!=null:f.value!=null}}function I(i,f){f=f.checked,f!=null&&w(i,"checked",f,!1)}function ve(i,f){I(i,f);var P=ue(f.value),U=f.type;if(P!=null)U==="number"?(P===0&&i.value===""||i.value!=P)&&(i.value=""+P):i.value!==""+P&&(i.value=""+P);else if(U==="submit"||U==="reset"){i.removeAttribute("value");return}f.hasOwnProperty("value")?be(i,f.type,P):f.hasOwnProperty("defaultValue")&&be(i,f.type,ue(f.defaultValue)),f.checked==null&&f.defaultChecked!=null&&(i.defaultChecked=!!f.defaultChecked)}function $e(i,f,P){if(f.hasOwnProperty("value")||f.hasOwnProperty("defaultValue")){var U=f.type;if(!(U!=="submit"&&U!=="reset"||f.value!==void 0&&f.value!==null))return;f=""+i._wrapperState.initialValue,P||f===i.value||(i.value=f),i.defaultValue=f}P=i.name,P!==""&&(i.name=""),i.defaultChecked=!!i._wrapperState.initialChecked,P!==""&&(i.name=P)}function be(i,f,P){(f!=="number"||_(i.ownerDocument)!==i)&&(P==null?i.defaultValue=""+i._wrapperState.initialValue:i.defaultValue!==""+P&&(i.defaultValue=""+P))}function Te(i){var f="";return l.Children.forEach(i,function(P){P!=null&&(f+=P)}),f}function Le(i,f){return i=s({children:void 0},f),(f=Te(f.children))&&(i.children=f),i}function ke(i,f,P,U){if(i=i.options,f){f={};for(var se=0;se<P.length;se++)f["$"+P[se]]=!0;for(P=0;P<i.length;P++)se=f.hasOwnProperty("$"+i[P].value),i[P].selected!==se&&(i[P].selected=se),se&&U&&(i[P].defaultSelected=!0)}else{for(P=""+ue(P),f=null,se=0;se<i.length;se++){if(i[se].value===P){i[se].selected=!0,U&&(i[se].defaultSelected=!0);return}f!==null||i[se].disabled||(f=i[se])}f!==null&&(f.selected=!0)}}function at(i,f){if(f.dangerouslySetInnerHTML!=null)throw Error(r(91));return s({},f,{value:void 0,defaultValue:void 0,children:""+i._wrapperState.initialValue})}function xt(i,f){var P=f.value;if(P==null){if(P=f.children,f=f.defaultValue,P!=null){if(f!=null)throw Error(r(92));if(Array.isArray(P)){if(!(1>=P.length))throw Error(r(93));P=P[0]}f=P}f==null&&(f=""),P=f}i._wrapperState={initialValue:ue(P)}}function qe(i,f){var P=ue(f.value),U=ue(f.defaultValue);P!=null&&(P=""+P,P!==i.value&&(i.value=P),f.defaultValue==null&&i.defaultValue!==P&&(i.defaultValue=P)),U!=null&&(i.defaultValue=""+U)}function q(i){var f=i.textContent;f===i._wrapperState.initialValue&&f!==""&&f!==null&&(i.value=f)}var ne={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg"};function ie(i){switch(i){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function K(i,f){return i==null||i==="http://www.w3.org/1999/xhtml"?ie(f):i==="http://www.w3.org/2000/svg"&&f==="foreignObject"?"http://www.w3.org/1999/xhtml":i}var we,He=function(i){return typeof MSApp!="undefined"&&MSApp.execUnsafeLocalFunction?function(f,P,U,se){MSApp.execUnsafeLocalFunction(function(){return i(f,P,U,se)})}:i}(function(i,f){if(i.namespaceURI!==ne.svg||"innerHTML"in i)i.innerHTML=f;else{for(we=we||document.createElement("div"),we.innerHTML="<svg>"+f.valueOf().toString()+"</svg>",f=we.firstChild;i.firstChild;)i.removeChild(i.firstChild);for(;f.firstChild;)i.appendChild(f.firstChild)}});function Je(i,f){if(f){var P=i.firstChild;if(P&&P===i.lastChild&&P.nodeType===3){P.nodeValue=f;return}}i.textContent=f}var ft={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},At=["Webkit","ms","Moz","O"];Object.keys(ft).forEach(function(i){At.forEach(function(f){f=f+i.charAt(0).toUpperCase()+i.substring(1),ft[f]=ft[i]})});function Lt(i,f,P){return f==null||typeof f=="boolean"||f===""?"":P||typeof f!="number"||f===0||ft.hasOwnProperty(i)&&ft[i]?(""+f).trim():f+"px"}function Yt(i,f){i=i.style;for(var P in f)if(f.hasOwnProperty(P)){var U=P.indexOf("--")===0,se=Lt(P,f[P],U);P==="float"&&(P="cssFloat"),U?i.setProperty(P,se):i[P]=se}}var Vt=s({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function ze(i,f){if(f){if(Vt[i]&&(f.children!=null||f.dangerouslySetInnerHTML!=null))throw Error(r(137,i));if(f.dangerouslySetInnerHTML!=null){if(f.children!=null)throw Error(r(60));if(!(typeof f.dangerouslySetInnerHTML=="object"&&"__html"in f.dangerouslySetInnerHTML))throw Error(r(61))}if(f.style!=null&&typeof f.style!="object")throw Error(r(62))}}function dt(i,f){if(i.indexOf("-")===-1)return typeof f.is=="string";switch(i){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}function bt(i){return i=i.target||i.srcElement||window,i.correspondingUseElement&&(i=i.correspondingUseElement),i.nodeType===3?i.parentNode:i}var pt=null,Ct=null,$t=null;function fn(i){if(i=io(i)){if(typeof pt!="function")throw Error(r(280));var f=i.stateNode;f&&(f=Br(f),pt(i.stateNode,i.type,f))}}function cn(i){Ct?$t?$t.push(i):$t=[i]:Ct=i}function Rn(){if(Ct){var i=Ct,f=$t;if($t=Ct=null,fn(i),f)for(i=0;i<f.length;i++)fn(f[i])}}function Ke(i,f){return i(f)}function Ue(i,f,P,U,se){return i(f,P,U,se)}function it(){}var Et=Ke,Ot=!1,dn=!1;function Ln(){(Ct!==null||$t!==null)&&(it(),Rn())}function $n(i,f,P){if(dn)return i(f,P);dn=!0;try{return Et(i,f,P)}finally{dn=!1,Ln()}}function An(i,f){var P=i.stateNode;if(P===null)return null;var U=Br(P);if(U===null)return null;P=U[f];e:switch(f){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(U=!U.disabled)||(i=i.type,U=!(i==="button"||i==="input"||i==="select"||i==="textarea")),i=!U;break e;default:i=!1}if(i)return null;if(P&&typeof P!="function")throw Error(r(231,f,typeof P));return P}var Gn=!1;if(h)try{var Pn={};Object.defineProperty(Pn,"passive",{get:function(){Gn=!0}}),window.addEventListener("test",Pn,Pn),window.removeEventListener("test",Pn,Pn)}catch(i){Gn=!1}function Ze(i,f,P,U,se,Oe,je,tt,yt){var Jt=Array.prototype.slice.call(arguments,3);try{f.apply(P,Jt)}catch(Un){this.onError(Un)}}var ut=!1,Pt=null,Mt=!1,zt=null,Zt={onError:function(i){ut=!0,Pt=i}};function Qe(i,f,P,U,se,Oe,je,tt,yt){ut=!1,Pt=null,Ze.apply(Zt,arguments)}function ot(i,f,P,U,se,Oe,je,tt,yt){if(Qe.apply(this,arguments),ut){if(ut){var Jt=Pt;ut=!1,Pt=null}else throw Error(r(198));Mt||(Mt=!0,zt=Jt)}}function Xe(i){var f=i,P=i;if(i.alternate)for(;f.return;)f=f.return;else{i=f;do f=i,(f.flags&1026)!=0&&(P=f.return),i=f.return;while(i)}return f.tag===3?P:null}function st(i){if(i.tag===13){var f=i.memoizedState;if(f===null&&(i=i.alternate,i!==null&&(f=i.memoizedState)),f!==null)return f.dehydrated}return null}function wt(i){if(Xe(i)!==i)throw Error(r(188))}function tn(i){var f=i.alternate;if(!f){if(f=Xe(i),f===null)throw Error(r(188));return f!==i?null:i}for(var P=i,U=f;;){var se=P.return;if(se===null)break;var Oe=se.alternate;if(Oe===null){if(U=se.return,U!==null){P=U;continue}break}if(se.child===Oe.child){for(Oe=se.child;Oe;){if(Oe===P)return wt(se),i;if(Oe===U)return wt(se),f;Oe=Oe.sibling}throw Error(r(188))}if(P.return!==U.return)P=se,U=Oe;else{for(var je=!1,tt=se.child;tt;){if(tt===P){je=!0,P=se,U=Oe;break}if(tt===U){je=!0,U=se,P=Oe;break}tt=tt.sibling}if(!je){for(tt=Oe.child;tt;){if(tt===P){je=!0,P=Oe,U=se;break}if(tt===U){je=!0,U=Oe,P=se;break}tt=tt.sibling}if(!je)throw Error(r(189))}}if(P.alternate!==U)throw Error(r(190))}if(P.tag!==3)throw Error(r(188));return P.stateNode.current===P?i:f}function qt(i){if(i=tn(i),!i)return null;for(var f=i;;){if(f.tag===5||f.tag===6)return f;if(f.child)f.child.return=f,f=f.child;else{if(f===i)break;for(;!f.sibling;){if(!f.return||f.return===i)return null;f=f.return}f.sibling.return=f.return,f=f.sibling}}return null}function bn(i,f){for(var P=i.alternate;f!==null;){if(f===i||f===P)return!0;f=f.return}return!1}var Fn,Nn,rr,jn,En=!1,Xn=[],kn=null,On=null,Yn=null,Hn=new Map,xn=new Map,hr=[],sr="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function ur(i,f,P,U,se){return{blockedOn:i,domEventName:f,eventSystemFlags:P|16,nativeEvent:se,targetContainers:[U]}}function Qn(i,f){switch(i){case"focusin":case"focusout":kn=null;break;case"dragenter":case"dragleave":On=null;break;case"mouseover":case"mouseout":Yn=null;break;case"pointerover":case"pointerout":Hn.delete(f.pointerId);break;case"gotpointercapture":case"lostpointercapture":xn.delete(f.pointerId)}}function vr(i,f,P,U,se,Oe){return i===null||i.nativeEvent!==Oe?(i=ur(f,P,U,se,Oe),f!==null&&(f=io(f),f!==null&&Nn(f)),i):(i.eventSystemFlags|=U,f=i.targetContainers,se!==null&&f.indexOf(se)===-1&&f.push(se),i)}function Dr(i,f,P,U,se){switch(f){case"focusin":return kn=vr(kn,i,f,P,U,se),!0;case"dragenter":return On=vr(On,i,f,P,U,se),!0;case"mouseover":return Yn=vr(Yn,i,f,P,U,se),!0;case"pointerover":var Oe=se.pointerId;return Hn.set(Oe,vr(Hn.get(Oe)||null,i,f,P,U,se)),!0;case"gotpointercapture":return Oe=se.pointerId,xn.set(Oe,vr(xn.get(Oe)||null,i,f,P,U,se)),!0}return!1}function jr(i){var f=Zr(i.target);if(f!==null){var P=Xe(f);if(P!==null){if(f=P.tag,f===13){if(f=st(P),f!==null){i.blockedOn=f,jn(i.lanePriority,function(){o.unstable_runWithPriority(i.priority,function(){rr(P)})});return}}else if(f===3&&P.stateNode.hydrate){i.blockedOn=P.tag===3?P.stateNode.containerInfo:null;return}}}i.blockedOn=null}function Er(i){if(i.blockedOn!==null)return!1;for(var f=i.targetContainers;0<f.length;){var P=qr(i.domEventName,i.eventSystemFlags,f[0],i.nativeEvent);if(P!==null)return f=io(P),f!==null&&Nn(f),i.blockedOn=P,!1;f.shift()}return!0}function Vr(i,f,P){Er(i)&&P.delete(f)}function Sr(){for(En=!1;0<Xn.length;){var i=Xn[0];if(i.blockedOn!==null){i=io(i.blockedOn),i!==null&&Fn(i);break}for(var f=i.targetContainers;0<f.length;){var P=qr(i.domEventName,i.eventSystemFlags,f[0],i.nativeEvent);if(P!==null){i.blockedOn=P;break}f.shift()}i.blockedOn===null&&Xn.shift()}kn!==null&&Er(kn)&&(kn=null),On!==null&&Er(On)&&(On=null),Yn!==null&&Er(Yn)&&(Yn=null),Hn.forEach(Vr),xn.forEach(Vr)}function Tr(i,f){i.blockedOn===f&&(i.blockedOn=null,En||(En=!0,o.unstable_scheduleCallback(o.unstable_NormalPriority,Sr)))}function qn(i){function f(se){return Tr(se,i)}if(0<Xn.length){Tr(Xn[0],i);for(var P=1;P<Xn.length;P++){var U=Xn[P];U.blockedOn===i&&(U.blockedOn=null)}}for(kn!==null&&Tr(kn,i),On!==null&&Tr(On,i),Yn!==null&&Tr(Yn,i),Hn.forEach(f),xn.forEach(f),P=0;P<hr.length;P++)U=hr[P],U.blockedOn===i&&(U.blockedOn=null);for(;0<hr.length&&(P=hr[0],P.blockedOn===null);)jr(P),P.blockedOn===null&&hr.shift()}function ln(i,f){var P={};return P[i.toLowerCase()]=f.toLowerCase(),P["Webkit"+i]="webkit"+f,P["Moz"+i]="moz"+f,P}var It={animationend:ln("Animation","AnimationEnd"),animationiteration:ln("Animation","AnimationIteration"),animationstart:ln("Animation","AnimationStart"),transitionend:ln("Transition","TransitionEnd")},pn={},vn={};h&&(vn=document.createElement("div").style,"AnimationEvent"in window||(delete It.animationend.animation,delete It.animationiteration.animation,delete It.animationstart.animation),"TransitionEvent"in window||delete It.transitionend.transition);function er(i){if(pn[i])return pn[i];if(!It[i])return i;var f=It[i],P;for(P in f)if(f.hasOwnProperty(P)&&P in vn)return pn[i]=f[P];return i}var ar=er("animationend"),nr=er("animationiteration"),Ye=er("animationstart"),ye=er("transitionend"),Re=new Map,gt=new Map,We=["abort","abort",ar,"animationEnd",nr,"animationIteration",Ye,"animationStart","canplay","canPlay","canplaythrough","canPlayThrough","durationchange","durationChange","emptied","emptied","encrypted","encrypted","ended","ended","error","error","gotpointercapture","gotPointerCapture","load","load","loadeddata","loadedData","loadedmetadata","loadedMetadata","loadstart","loadStart","lostpointercapture","lostPointerCapture","playing","playing","progress","progress","seeking","seeking","stalled","stalled","suspend","suspend","timeupdate","timeUpdate",ye,"transitionEnd","waiting","waiting"];function Qt(i,f){for(var P=0;P<i.length;P+=2){var U=i[P],se=i[P+1];se="on"+(se[0].toUpperCase()+se.slice(1)),gt.set(U,f),Re.set(U,se),a(se,[U])}}var rt=o.unstable_now;rt();var sn=8;function an(i){if((1&i)!=0)return sn=15,1;if((2&i)!=0)return sn=14,2;if((4&i)!=0)return sn=13,4;var f=24&i;return f!==0?(sn=12,f):(i&32)!=0?(sn=11,32):(f=192&i,f!==0?(sn=10,f):(i&256)!=0?(sn=9,256):(f=3584&i,f!==0?(sn=8,f):(i&4096)!=0?(sn=7,4096):(f=4186112&i,f!==0?(sn=6,f):(f=62914560&i,f!==0?(sn=5,f):i&67108864?(sn=4,67108864):(i&134217728)!=0?(sn=3,134217728):(f=805306368&i,f!==0?(sn=2,f):(1073741824&i)!=0?(sn=1,1073741824):(sn=8,i))))))}function In(i){switch(i){case 99:return 15;case 98:return 10;case 97:case 96:return 8;case 95:return 2;default:return 0}}function Ht(i){switch(i){case 15:case 14:return 99;case 13:case 12:case 11:case 10:return 98;case 9:case 8:case 7:case 6:case 4:case 5:return 97;case 3:case 2:case 1:return 95;case 0:return 90;default:throw Error(r(358,i))}}function Tn(i,f){var P=i.pendingLanes;if(P===0)return sn=0;var U=0,se=0,Oe=i.expiredLanes,je=i.suspendedLanes,tt=i.pingedLanes;if(Oe!==0)U=Oe,se=sn=15;else if(Oe=P&134217727,Oe!==0){var yt=Oe&~je;yt!==0?(U=an(yt),se=sn):(tt&=Oe,tt!==0&&(U=an(tt),se=sn))}else Oe=P&~je,Oe!==0?(U=an(Oe),se=sn):tt!==0&&(U=an(tt),se=sn);if(U===0)return 0;if(U=31-cr(U),U=P&((0>U?0:1<<U)<<1)-1,f!==0&&f!==U&&(f&je)==0){if(an(f),se<=sn)return f;sn=se}if(f=i.entangledLanes,f!==0)for(i=i.entanglements,f&=U;0<f;)P=31-cr(f),se=1<<P,U|=i[P],f&=~se;return U}function _n(i){return i=i.pendingLanes&-1073741825,i!==0?i:i&1073741824?1073741824:0}function Be(i,f){switch(i){case 15:return 1;case 14:return 2;case 12:return i=lt(24&~f),i===0?Be(10,f):i;case 10:return i=lt(192&~f),i===0?Be(8,f):i;case 8:return i=lt(3584&~f),i===0&&(i=lt(4186112&~f),i===0&&(i=512)),i;case 2:return f=lt(805306368&~f),f===0&&(f=268435456),f}throw Error(r(358,i))}function lt(i){return i&-i}function jt(i){for(var f=[],P=0;31>P;P++)f.push(i);return f}function on(i,f,P){i.pendingLanes|=f;var U=f-1;i.suspendedLanes&=U,i.pingedLanes&=U,i=i.eventTimes,f=31-cr(f),i[f]=P}var cr=Math.clz32?Math.clz32:Rr,Dn=Math.log,Cr=Math.LN2;function Rr(i){return i===0?32:31-(Dn(i)/Cr|0)|0}var $r=o.unstable_UserBlockingPriority,Mn=o.unstable_runWithPriority,lr=!0;function ni(i,f,P,U){Ot||it();var se=_r,Oe=Ot;Ot=!0;try{Ue(se,i,f,P,U)}finally{(Ot=Oe)||Ln()}}function Hr(i,f,P,U){Mn($r,_r.bind(null,i,f,P,U))}function _r(i,f,P,U){if(lr){var se;if((se=(f&4)==0)&&0<Xn.length&&-1<sr.indexOf(i))i=ur(null,i,f,P,U),Xn.push(i);else{var Oe=qr(i,f,P,U);if(Oe===null)se&&Qn(i,U);else{if(se){if(-1<sr.indexOf(i)){i=ur(Oe,i,f,P,U),Xn.push(i);return}if(Dr(Oe,i,f,P,U))return;Qn(i,U)}Is(i,f,U,null,P)}}}}function qr(i,f,P,U){var se=bt(U);if(se=Zr(se),se!==null){var Oe=Xe(se);if(Oe===null)se=null;else{var je=Oe.tag;if(je===13){if(se=st(Oe),se!==null)return se;se=null}else if(je===3){if(Oe.stateNode.hydrate)return Oe.tag===3?Oe.stateNode.containerInfo:null;se=null}else Oe!==se&&(se=null)}}return Is(i,f,U,se,P),null}var Kr=null,ti=null,Lr=null;function Fr(){if(Lr)return Lr;var i,f=ti,P=f.length,U,se="value"in Kr?Kr.value:Kr.textContent,Oe=se.length;for(i=0;i<P&&f[i]===se[i];i++);var je=P-i;for(U=1;U<=je&&f[P-U]===se[Oe-U];U++);return Lr=se.slice(i,1<U?1-U:void 0)}function fe(i){var f=i.keyCode;return"charCode"in i?(i=i.charCode,i===0&&f===13&&(i=13)):i=f,i===10&&(i=13),32<=i||i===13?i:0}function xe(){return!0}function Ge(){return!1}function ht(i){function f(P,U,se,Oe,je){this._reactName=P,this._targetInst=se,this.type=U,this.nativeEvent=Oe,this.target=je,this.currentTarget=null;for(var tt in i)i.hasOwnProperty(tt)&&(P=i[tt],this[tt]=P?P(Oe):Oe[tt]);return this.isDefaultPrevented=(Oe.defaultPrevented!=null?Oe.defaultPrevented:Oe.returnValue===!1)?xe:Ge,this.isPropagationStopped=Ge,this}return s(f.prototype,{preventDefault:function(){this.defaultPrevented=!0;var P=this.nativeEvent;P&&(P.preventDefault?P.preventDefault():typeof P.returnValue!="unknown"&&(P.returnValue=!1),this.isDefaultPrevented=xe)},stopPropagation:function(){var P=this.nativeEvent;P&&(P.stopPropagation?P.stopPropagation():typeof P.cancelBubble!="unknown"&&(P.cancelBubble=!0),this.isPropagationStopped=xe)},persist:function(){},isPersistent:xe}),f}var Ut={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(i){return i.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},hn=ht(Ut),wn=s({},Ut,{view:0,detail:0}),Bn=ht(wn),dr,pr,Nr,mr=s({},wn,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:jo,button:0,buttons:0,relatedTarget:function(i){return i.relatedTarget===void 0?i.fromElement===i.srcElement?i.toElement:i.fromElement:i.relatedTarget},movementX:function(i){return"movementX"in i?i.movementX:(i!==Nr&&(Nr&&i.type==="mousemove"?(dr=i.screenX-Nr.screenX,pr=i.screenY-Nr.screenY):pr=dr=0,Nr=i),dr)},movementY:function(i){return"movementY"in i?i.movementY:pr}}),kr=ht(mr),ui=s({},mr,{dataTransfer:0}),ci=ht(ui),Yr=s({},wn,{relatedTarget:0}),Jr=ht(Yr),oi=s({},Ut,{animationName:0,elapsedTime:0,pseudoElement:0}),co=ht(oi),fo=s({},Ut,{clipboardData:function(i){return"clipboardData"in i?i.clipboardData:window.clipboardData}}),zs=ht(fo),Ao=s({},Ut,{data:0}),Go=ht(Ao),ra={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},xa={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},Gi={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function ys(i){var f=this.nativeEvent;return f.getModifierState?f.getModifierState(i):(i=Gi[i])?!!f[i]:!1}function jo(){return ys}var bs=s({},wn,{key:function(i){if(i.key){var f=ra[i.key]||i.key;if(f!=="Unidentified")return f}return i.type==="keypress"?(i=fe(i),i===13?"Enter":String.fromCharCode(i)):i.type==="keydown"||i.type==="keyup"?xa[i.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:jo,charCode:function(i){return i.type==="keypress"?fe(i):0},keyCode:function(i){return i.type==="keydown"||i.type==="keyup"?i.keyCode:0},which:function(i){return i.type==="keypress"?fe(i):i.type==="keydown"||i.type==="keyup"?i.keyCode:0}}),ia=ht(bs),Yo=s({},mr,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Jo=ht(Yo),Es=s({},wn,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:jo}),hi=ht(Es),Os=s({},Ut,{propertyName:0,elapsedTime:0,pseudoElement:0}),Zo=ht(Os),Fi=s({},mr,{deltaX:function(i){return"deltaX"in i?i.deltaX:"wheelDeltaX"in i?-i.wheelDeltaX:0},deltaY:function(i){return"deltaY"in i?i.deltaY:"wheelDeltaY"in i?-i.wheelDeltaY:"wheelDelta"in i?-i.wheelDelta:0},deltaZ:0,deltaMode:0}),Xo=ht(Fi),po=[9,13,27,32],qo=h&&"CompositionEvent"in window,to=null;h&&"documentMode"in document&&(to=document.documentMode);var oa=h&&"TextEvent"in window&&!to,Ss=h&&(!qo||to&&8<to&&11>=to),es=String.fromCharCode(32),Ar=!1;function ts(i,f){switch(i){case"keyup":return po.indexOf(f.keyCode)!==-1;case"keydown":return f.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Ws(i){return i=i.detail,typeof i=="object"&&"data"in i?i.data:null}var Yi=!1;function sa(i,f){switch(i){case"compositionend":return Ws(f);case"keypress":return f.which!==32?null:(Ar=!0,es);case"textInput":return i=f.data,i===es&&Ar?null:i;default:return null}}function aa(i,f){if(Yi)return i==="compositionend"||!qo&&ts(i,f)?(i=Fr(),Lr=ti=Kr=null,Yi=!1,i):null;switch(i){case"paste":return null;case"keypress":if(!(f.ctrlKey||f.altKey||f.metaKey)||f.ctrlKey&&f.altKey){if(f.char&&1<f.char.length)return f.char;if(f.which)return String.fromCharCode(f.which)}return null;case"compositionend":return Ss&&f.locale!=="ko"?null:f.data;default:return null}}var la={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function ns(i){var f=i&&i.nodeName&&i.nodeName.toLowerCase();return f==="input"?!!la[i.type]:f==="textarea"}function Fo(i,f,P,U){cn(U),f=Uo(f,"onChange"),0<f.length&&(P=new hn("onChange","change",null,P,U),i.push({event:P,listeners:f}))}var Io=null,ho=null;function rs(i){os(i,0)}function mo(i){var f=oo(i);if(X(f))return i}function ua(i,f){if(i==="change")return f}var ko=!1;if(h){var Ps;if(h){var xs="oninput"in document;if(!xs){var Bo=document.createElement("div");Bo.setAttribute("oninput","return;"),xs=typeof Bo.oninput=="function"}Ps=xs}else Ps=!1;ko=Ps&&(!document.documentMode||9<document.documentMode)}function ca(){Io&&(Io.detachEvent("onpropertychange",ws),ho=Io=null)}function ws(i){if(i.propertyName==="value"&&mo(ho)){var f=[];if(Fo(f,ho,i,bt(i)),i=rs,Ot)i(f);else{Ot=!0;try{Ke(i,f)}finally{Ot=!1,Ln()}}}}function da(i,f,P){i==="focusin"?(ca(),Io=f,ho=P,Io.attachEvent("onpropertychange",ws)):i==="focusout"&&ca()}function fa(i){if(i==="selectionchange"||i==="keyup"||i==="keydown")return mo(ho)}function Ts(i,f){if(i==="click")return mo(f)}function Cs(i,f){if(i==="input"||i==="change")return mo(f)}function Vs(i,f){return i===f&&(i!==0||1/i==1/f)||i!==i&&f!==f}var Ri=typeof Object.is=="function"?Object.is:Vs,Do=Object.prototype.hasOwnProperty;function Ei(i,f){if(Ri(i,f))return!0;if(typeof i!="object"||i===null||typeof f!="object"||f===null)return!1;var P=Object.keys(i),U=Object.keys(f);if(P.length!==U.length)return!1;for(U=0;U<P.length;U++)if(!Do.call(f,P[U])||!Ri(i[P[U]],f[P[U]]))return!1;return!0}function Hs(i){for(;i&&i.firstChild;)i=i.firstChild;return i}function or(i,f){var P=Hs(i);i=0;for(var U;P;){if(P.nodeType===3){if(U=i+P.textContent.length,i<=f&&U>=f)return{node:P,offset:f-i};i=U}e:{for(;P;){if(P.nextSibling){P=P.nextSibling;break e}P=P.parentNode}P=void 0}P=Hs(P)}}function Ji(i,f){return i&&f?i===f?!0:i&&i.nodeType===3?!1:f&&f.nodeType===3?Ji(i,f.parentNode):"contains"in i?i.contains(f):i.compareDocumentPosition?!!(i.compareDocumentPosition(f)&16):!1:!1}function ki(){for(var i=window,f=_();f instanceof i.HTMLIFrameElement;){try{var P=typeof f.contentWindow.location.href=="string"}catch(U){P=!1}if(P)i=f.contentWindow;else break;f=_(i.document)}return f}function Ks(i){var f=i&&i.nodeName&&i.nodeName.toLowerCase();return f&&(f==="input"&&(i.type==="text"||i.type==="search"||i.type==="tel"||i.type==="url"||i.type==="password")||f==="textarea"||i.contentEditable==="true")}var Qs=h&&"documentMode"in document&&11>=document.documentMode,go=null,Zi=null,$o=null,is=!1;function di(i,f,P){var U=P.window===P?P.document:P.nodeType===9?P:P.ownerDocument;is||go==null||go!==_(U)||(U=go,"selectionStart"in U&&Ks(U)?U={start:U.selectionStart,end:U.selectionEnd}:(U=(U.ownerDocument&&U.ownerDocument.defaultView||window).getSelection(),U={anchorNode:U.anchorNode,anchorOffset:U.anchorOffset,focusNode:U.focusNode,focusOffset:U.focusOffset}),$o&&Ei($o,U)||($o=U,U=Uo(Zi,"onSelect"),0<U.length&&(f=new hn("onSelect","select",null,f,P),i.push({event:f,listeners:U}),f.target=go)))}Qt("cancel cancel click click close close contextmenu contextMenu copy copy cut cut auxclick auxClick dblclick doubleClick dragend dragEnd dragstart dragStart drop drop focusin focus focusout blur input input invalid invalid keydown keyDown keypress keyPress keyup keyUp mousedown mouseDown mouseup mouseUp paste paste pause pause play play pointercancel pointerCancel pointerdown pointerDown pointerup pointerUp ratechange rateChange reset reset seeked seeked submit submit touchcancel touchCancel touchend touchEnd touchstart touchStart volumechange volumeChange".split(" "),0),Qt("drag drag dragenter dragEnter dragexit dragExit dragleave dragLeave dragover dragOver mousemove mouseMove mouseout mouseOut mouseover mouseOver pointermove pointerMove pointerout pointerOut pointerover pointerOver scroll scroll toggle toggle touchmove touchMove wheel wheel".split(" "),1),Qt(We,2);for(var vo="change selectionchange textInput compositionstart compositionend compositionupdate".split(" "),mi=0;mi<vo.length;mi++)gt.set(vo[mi],0);d("onMouseEnter",["mouseout","mouseover"]),d("onMouseLeave",["mouseout","mouseover"]),d("onPointerEnter",["pointerout","pointerover"]),d("onPointerLeave",["pointerout","pointerover"]),a("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),a("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),a("onBeforeInput",["compositionend","keypress","textInput","paste"]),a("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),a("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),a("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var gi="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),no=new Set("cancel close invalid load scroll toggle".split(" ").concat(gi));function wi(i,f,P){var U=i.type||"unknown-event";i.currentTarget=P,ot(U,f,void 0,i),i.currentTarget=null}function os(i,f){f=(f&4)!=0;for(var P=0;P<i.length;P++){var U=i[P],se=U.event;U=U.listeners;e:{var Oe=void 0;if(f)for(var je=U.length-1;0<=je;je--){var tt=U[je],yt=tt.instance,Jt=tt.currentTarget;if(tt=tt.listener,yt!==Oe&&se.isPropagationStopped())break e;wi(se,tt,Jt),Oe=yt}else for(je=0;je<U.length;je++){if(tt=U[je],yt=tt.instance,Jt=tt.currentTarget,tt=tt.listener,yt!==Oe&&se.isPropagationStopped())break e;wi(se,tt,Jt),Oe=yt}}}if(Mt)throw i=zt,Mt=!1,zt=null,i}function zr(i,f){var P=Xi(f),U=i+"__bubble";P.has(U)||(As(f,i,2,!1),P.add(U))}var Rs="_reactListening"+Math.random().toString(36).slice(2);function ss(i){i[Rs]||(i[Rs]=!0,c.forEach(function(f){no.has(f)||vi(f,!1,i,null),vi(f,!0,i,null)}))}function vi(i,f,P,U){var se=4<arguments.length&&arguments[4]!==void 0?arguments[4]:0,Oe=P;if(i==="selectionchange"&&P.nodeType!==9&&(Oe=P.ownerDocument),U!==null&&!f&&no.has(i)){if(i!=="scroll")return;se|=2,Oe=U}var je=Xi(Oe),tt=i+"__"+(f?"capture":"bubble");je.has(tt)||(f&&(se|=4),As(Oe,i,se,f),je.add(tt))}function As(i,f,P,U){var se=gt.get(f);switch(se===void 0?2:se){case 0:se=ni;break;case 1:se=Hr;break;default:se=_r}P=se.bind(null,f,P,i),se=void 0,!Gn||f!=="touchstart"&&f!=="touchmove"&&f!=="wheel"||(se=!0),U?se!==void 0?i.addEventListener(f,P,{capture:!0,passive:se}):i.addEventListener(f,P,!0):se!==void 0?i.addEventListener(f,P,{passive:se}):i.addEventListener(f,P,!1)}function Is(i,f,P,U,se){var Oe=U;if((f&1)==0&&(f&2)==0&&U!==null)e:for(;;){if(U===null)return;var je=U.tag;if(je===3||je===4){var tt=U.stateNode.containerInfo;if(tt===se||tt.nodeType===8&&tt.parentNode===se)break;if(je===4)for(je=U.return;je!==null;){var yt=je.tag;if((yt===3||yt===4)&&(yt=je.stateNode.containerInfo,yt===se||yt.nodeType===8&&yt.parentNode===se))return;je=je.return}for(;tt!==null;){if(je=Zr(tt),je===null)return;if(yt=je.tag,yt===5||yt===6){U=Oe=je;continue e}tt=tt.parentNode}}U=U.return}$n(function(){var Jt=Oe,Un=bt(P),Or=[];e:{var gn=Re.get(i);if(gn!==void 0){var ir=hn,br=i;switch(i){case"keypress":if(fe(P)===0)break e;case"keydown":case"keyup":ir=ia;break;case"focusin":br="focus",ir=Jr;break;case"focusout":br="blur",ir=Jr;break;case"beforeblur":case"afterblur":ir=Jr;break;case"click":if(P.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":ir=kr;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":ir=ci;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":ir=hi;break;case ar:case nr:case Ye:ir=co;break;case ye:ir=Zo;break;case"scroll":ir=Bn;break;case"wheel":ir=Xo;break;case"copy":case"cut":case"paste":ir=zs;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":ir=Jo}var gr=(f&4)!=0,kt=!gr&&i==="scroll",St=gr?gn!==null?gn+"Capture":null:gn;gr=[];for(var Ft=Jt,un;Ft!==null;){un=Ft;var mn=un.stateNode;if(un.tag===5&&mn!==null&&(un=mn,St!==null&&(mn=An(Ft,St),mn!=null&&gr.push(yo(Ft,mn,un)))),kt)break;Ft=Ft.return}0<gr.length&&(gn=new ir(gn,br,null,P,Un),Or.push({event:gn,listeners:gr}))}}if((f&7)==0){e:{if(gn=i==="mouseover"||i==="pointerover",ir=i==="mouseout"||i==="pointerout",gn&&(f&16)==0&&(br=P.relatedTarget||P.fromElement)&&(Zr(br)||br[Eo]))break e;if((ir||gn)&&(gn=Un.window===Un?Un:(gn=Un.ownerDocument)?gn.defaultView||gn.parentWindow:window,ir?(br=P.relatedTarget||P.toElement,ir=Jt,br=br?Zr(br):null,br!==null&&(kt=Xe(br),br!==kt||br.tag!==5&&br.tag!==6)&&(br=null)):(ir=null,br=Jt),ir!==br)){if(gr=kr,mn="onMouseLeave",St="onMouseEnter",Ft="mouse",(i==="pointerout"||i==="pointerover")&&(gr=Jo,mn="onPointerLeave",St="onPointerEnter",Ft="pointer"),kt=ir==null?gn:oo(ir),un=br==null?gn:oo(br),gn=new gr(mn,Ft+"leave",ir,P,Un),gn.target=kt,gn.relatedTarget=un,mn=null,Zr(Un)===Jt&&(gr=new gr(St,Ft+"enter",br,P,Un),gr.target=un,gr.relatedTarget=kt,mn=gr),kt=mn,ir&&br)t:{for(gr=ir,St=br,Ft=0,un=gr;un;un=Bi(un))Ft++;for(un=0,mn=St;mn;mn=Bi(mn))un++;for(;0<Ft-un;)gr=Bi(gr),Ft--;for(;0<un-Ft;)St=Bi(St),un--;for(;Ft--;){if(gr===St||St!==null&&gr===St.alternate)break t;gr=Bi(gr),St=Bi(St)}gr=null}else gr=null;ir!==null&&ei(Or,gn,ir,gr,!1),br!==null&&kt!==null&&ei(Or,kt,br,gr,!0)}}e:{if(gn=Jt?oo(Jt):window,ir=gn.nodeName&&gn.nodeName.toLowerCase(),ir==="select"||ir==="input"&&gn.type==="file")var Pr=ua;else if(ns(gn))if(ko)Pr=Cs;else{Pr=fa;var Zn=da}else(ir=gn.nodeName)&&ir.toLowerCase()==="input"&&(gn.type==="checkbox"||gn.type==="radio")&&(Pr=Ts);if(Pr&&(Pr=Pr(i,Jt))){Fo(Or,Pr,P,Un);break e}Zn&&Zn(i,gn,Jt),i==="focusout"&&(Zn=gn._wrapperState)&&Zn.controlled&&gn.type==="number"&&be(gn,"number",gn.value)}switch(Zn=Jt?oo(Jt):window,i){case"focusin":(ns(Zn)||Zn.contentEditable==="true")&&(go=Zn,Zi=Jt,$o=null);break;case"focusout":$o=Zi=go=null;break;case"mousedown":is=!0;break;case"contextmenu":case"mouseup":case"dragend":is=!1,di(Or,P,Un);break;case"selectionchange":if(Qs)break;case"keydown":case"keyup":di(Or,P,Un)}var xr;if(qo)e:{switch(i){case"compositionstart":var Ir="onCompositionStart";break e;case"compositionend":Ir="onCompositionEnd";break e;case"compositionupdate":Ir="onCompositionUpdate";break e}Ir=void 0}else Yi?ts(i,P)&&(Ir="onCompositionEnd"):i==="keydown"&&P.keyCode===229&&(Ir="onCompositionStart");Ir&&(Ss&&P.locale!=="ko"&&(Yi||Ir!=="onCompositionStart"?Ir==="onCompositionEnd"&&Yi&&(xr=Fr()):(Kr=Un,ti="value"in Kr?Kr.value:Kr.textContent,Yi=!0)),Zn=Uo(Jt,Ir),0<Zn.length&&(Ir=new Go(Ir,i,null,P,Un),Or.push({event:Ir,listeners:Zn}),xr?Ir.data=xr:(xr=Ws(P),xr!==null&&(Ir.data=xr)))),(xr=oa?sa(i,P):aa(i,P))&&(Jt=Uo(Jt,"onBeforeInput"),0<Jt.length&&(Un=new Go("onBeforeInput","beforeinput",null,P,Un),Or.push({event:Un,listeners:Jt}),Un.data=xr))}os(Or,f)})}function yo(i,f,P){return{instance:i,listener:f,currentTarget:P}}function Uo(i,f){for(var P=f+"Capture",U=[];i!==null;){var se=i,Oe=se.stateNode;se.tag===5&&Oe!==null&&(se=Oe,Oe=An(i,P),Oe!=null&&U.unshift(yo(i,Oe,se)),Oe=An(i,f),Oe!=null&&U.push(yo(i,Oe,se))),i=i.return}return U}function Bi(i){if(i===null)return null;do i=i.return;while(i&&i.tag!==5);return i||null}function ei(i,f,P,U,se){for(var Oe=f._reactName,je=[];P!==null&&P!==U;){var tt=P,yt=tt.alternate,Jt=tt.stateNode;if(yt!==null&&yt===U)break;tt.tag===5&&Jt!==null&&(tt=Jt,se?(yt=An(P,Oe),yt!=null&&je.unshift(yo(P,yt,tt))):se||(yt=An(P,Oe),yt!=null&&je.push(yo(P,yt,tt)))),P=P.return}je.length!==0&&i.push({event:f,listeners:je})}function Ai(){}var $i=null,_o=null;function Ds(i,f){switch(i){case"button":case"input":case"select":case"textarea":return!!f.autoFocus}return!1}function si(i,f){return i==="textarea"||i==="option"||i==="noscript"||typeof f.children=="string"||typeof f.children=="number"||typeof f.dangerouslySetInnerHTML=="object"&&f.dangerouslySetInnerHTML!==null&&f.dangerouslySetInnerHTML.__html!=null}var zo=typeof setTimeout=="function"?setTimeout:void 0,Mi=typeof clearTimeout=="function"?clearTimeout:void 0;function as(i){i.nodeType===1?i.textContent="":i.nodeType===9&&(i=i.body,i!=null&&(i.textContent=""))}function Oi(i){for(;i!=null;i=i.nextSibling){var f=i.nodeType;if(f===1||f===3)break}return i}function Mo(i){i=i.previousSibling;for(var f=0;i;){if(i.nodeType===8){var P=i.data;if(P==="$"||P==="$!"||P==="$?"){if(f===0)return i;f--}else P==="/$"&&f++}i=i.previousSibling}return null}var ls=0;function ai(i){return{$$typeof:B,toString:i,valueOf:i}}var bo=Math.random().toString(36).slice(2),Ui="__reactFiber$"+bo,ro="__reactProps$"+bo,Eo="__reactContainer$"+bo,us="__reactEvents$"+bo;function Zr(i){var f=i[Ui];if(f)return f;for(var P=i.parentNode;P;){if(f=P[Eo]||P[Ui]){if(P=f.alternate,f.child!==null||P!==null&&P.child!==null)for(i=Mo(i);i!==null;){if(P=i[Ui])return P;i=Mo(i)}return f}i=P,P=i.parentNode}return null}function io(i){return i=i[Ui]||i[Eo],!i||i.tag!==5&&i.tag!==6&&i.tag!==13&&i.tag!==3?null:i}function oo(i){if(i.tag===5||i.tag===6)return i.stateNode;throw Error(r(33))}function Br(i){return i[ro]||null}function Xi(i){var f=i[us];return f===void 0&&(f=i[us]=new Set),f}var Lo=[],so=-1;function Ur(i){return{current:i}}function Wr(i){0>so||(i.current=Lo[so],Lo[so]=null,so--)}function Qr(i,f){so++,Lo[so]=i.current,i.current=f}var Ti={},fi=Ur(Ti),Xr=Ur(!1),_i=Ti;function Oo(i,f){var P=i.type.contextTypes;if(!P)return Ti;var U=i.stateNode;if(U&&U.__reactInternalMemoizedUnmaskedChildContext===f)return U.__reactInternalMemoizedMaskedChildContext;var se={},Oe;for(Oe in P)se[Oe]=f[Oe];return U&&(i=i.stateNode,i.__reactInternalMemoizedUnmaskedChildContext=f,i.__reactInternalMemoizedMaskedChildContext=se),se}function Si(i){return i=i.childContextTypes,i!=null}function So(){Wr(Xr),Wr(fi)}function cs(i,f,P){if(fi.current!==Ti)throw Error(r(168));Qr(fi,f),Qr(Xr,P)}function Li(i,f,P){var U=i.stateNode;if(i=f.childContextTypes,typeof U.getChildContext!="function")return P;U=U.getChildContext();for(var se in U)if(!(se in i))throw Error(r(108,j(f)||"Unknown",se));return s({},P,U)}function Ii(i){return i=(i=i.stateNode)&&i.__reactInternalMemoizedMergedChildContext||Ti,_i=fi.current,Qr(fi,i),Qr(Xr,Xr.current),!0}function Ki(i,f,P){var U=i.stateNode;if(!U)throw Error(r(169));P?(i=Li(i,f,_i),U.__reactInternalMemoizedMergedChildContext=i,Wr(Xr),Wr(fi),Qr(fi,i)):Wr(Xr),Qr(Xr,P)}var Po=null,zi=null,Wo=o.unstable_runWithPriority,pi=o.unstable_scheduleCallback,ao=o.unstable_cancelCallback,$s=o.unstable_shouldYield,Gs=o.unstable_requestPaint,N=o.unstable_now,Y=o.unstable_getCurrentPriorityLevel,de=o.unstable_ImmediatePriority,le=o.unstable_UserBlockingPriority,Ie=o.unstable_NormalPriority,D=o.unstable_LowPriority,M=o.unstable_IdlePriority,z={},ge=Gs!==void 0?Gs:function(){},Ae=null,Ve=null,ct=!1,vt=N(),_t=1e4>vt?N:function(){return N()-vt};function Sn(){switch(Y()){case de:return 99;case le:return 98;case Ie:return 97;case D:return 96;case M:return 95;default:throw Error(r(332))}}function Wn(i){switch(i){case 99:return de;case 98:return le;case 97:return Ie;case 96:return D;case 95:return M;default:throw Error(r(332))}}function tr(i,f){return i=Wn(i),Wo(i,f)}function F(i,f,P){return i=Wn(i),pi(i,f,P)}function me(){if(Ve!==null){var i=Ve;Ve=null,ao(i)}Ne()}function Ne(){if(!ct&&Ae!==null){ct=!0;var i=0;try{var f=Ae;tr(99,function(){for(;i<f.length;i++){var P=f[i];do P=P(!0);while(P!==null)}}),Ae=null}catch(P){throw Ae!==null&&(Ae=Ae.slice(i+1)),pi(de,me),P}finally{ct=!1}}}var Bt=x.ReactCurrentBatchConfig;function Gt(i,f){if(i&&i.defaultProps){f=s({},f),i=i.defaultProps;for(var P in i)f[P]===void 0&&(f[P]=i[P]);return f}return f}var Wt=Ur(null),Kt=null,Rt=null,Tt=null;function mt(){Tt=Rt=Kt=null}function Xt(i){var f=Wt.current;Wr(Wt),i.type._context._currentValue=f}function rn(i,f){for(;i!==null;){var P=i.alternate;if((i.childLanes&f)===f){if(P===null||(P.childLanes&f)===f)break;P.childLanes|=f}else i.childLanes|=f,P!==null&&(P.childLanes|=f);i=i.return}}function Dt(i,f){Kt=i,Tt=Rt=null,i=i.dependencies,i!==null&&i.firstContext!==null&&((i.lanes&f)!=0&&(No=!0),i.firstContext=null)}function en(i,f){if(Tt!==i&&f!==!1&&f!==0)if((typeof f!="number"||f===1073741823)&&(Tt=i,f=1073741823),f={context:i,observedBits:f,next:null},Rt===null){if(Kt===null)throw Error(r(308));Rt=f,Kt.dependencies={lanes:0,firstContext:f,responders:null}}else Rt=Rt.next=f;return i._currentValue}var Nt=!1;function fr(i){i.updateQueue={baseState:i.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null},effects:null}}function Cn(i,f){i=i.updateQueue,f.updateQueue===i&&(f.updateQueue={baseState:i.baseState,firstBaseUpdate:i.firstBaseUpdate,lastBaseUpdate:i.lastBaseUpdate,shared:i.shared,effects:i.effects})}function yn(i,f){return{eventTime:i,lane:f,tag:0,payload:null,callback:null,next:null}}function zn(i,f){if(i=i.updateQueue,i!==null){i=i.shared;var P=i.pending;P===null?f.next=f:(f.next=P.next,P.next=f),i.pending=f}}function Vn(i,f){var P=i.updateQueue,U=i.alternate;if(U!==null&&(U=U.updateQueue,P===U)){var se=null,Oe=null;if(P=P.firstBaseUpdate,P!==null){do{var je={eventTime:P.eventTime,lane:P.lane,tag:P.tag,payload:P.payload,callback:P.callback,next:null};Oe===null?se=Oe=je:Oe=Oe.next=je,P=P.next}while(P!==null);Oe===null?se=Oe=f:Oe=Oe.next=f}else se=Oe=f;P={baseState:U.baseState,firstBaseUpdate:se,lastBaseUpdate:Oe,shared:U.shared,effects:U.effects},i.updateQueue=P;return}i=P.lastBaseUpdate,i===null?P.firstBaseUpdate=f:i.next=f,P.lastBaseUpdate=f}function Mr(i,f,P,U){var se=i.updateQueue;Nt=!1;var Oe=se.firstBaseUpdate,je=se.lastBaseUpdate,tt=se.shared.pending;if(tt!==null){se.shared.pending=null;var yt=tt,Jt=yt.next;yt.next=null,je===null?Oe=Jt:je.next=Jt,je=yt;var Un=i.alternate;if(Un!==null){Un=Un.updateQueue;var Or=Un.lastBaseUpdate;Or!==je&&(Or===null?Un.firstBaseUpdate=Jt:Or.next=Jt,Un.lastBaseUpdate=yt)}}if(Oe!==null){Or=se.baseState,je=0,Un=Jt=yt=null;do{tt=Oe.lane;var gn=Oe.eventTime;if((U&tt)===tt){Un!==null&&(Un=Un.next={eventTime:gn,lane:0,tag:Oe.tag,payload:Oe.payload,callback:Oe.callback,next:null});e:{var ir=i,br=Oe;switch(tt=f,gn=P,br.tag){case 1:if(ir=br.payload,typeof ir=="function"){Or=ir.call(gn,Or,tt);break e}Or=ir;break e;case 3:ir.flags=ir.flags&-4097|64;case 0:if(ir=br.payload,tt=typeof ir=="function"?ir.call(gn,Or,tt):ir,tt==null)break e;Or=s({},Or,tt);break e;case 2:Nt=!0}}Oe.callback!==null&&(i.flags|=32,tt=se.effects,tt===null?se.effects=[Oe]:tt.push(Oe))}else gn={eventTime:gn,lane:tt,tag:Oe.tag,payload:Oe.payload,callback:Oe.callback,next:null},Un===null?(Jt=Un=gn,yt=Or):Un=Un.next=gn,je|=tt;if(Oe=Oe.next,Oe===null){if(tt=se.shared.pending,tt===null)break;Oe=tt.next,tt.next=null,se.lastBaseUpdate=tt,se.shared.pending=null}}while(1);Un===null&&(yt=Or),se.baseState=yt,se.firstBaseUpdate=Jt,se.lastBaseUpdate=Un,ja|=je,i.lanes=je,i.memoizedState=Or}}function Pi(i,f,P){if(i=f.effects,f.effects=null,i!==null)for(f=0;f<i.length;f++){var U=i[f],se=U.callback;if(se!==null){if(U.callback=null,U=P,typeof se!="function")throw Error(r(191,se));se.call(U)}}}var Ys=new l.Component().refs;function ri(i,f,P,U){f=i.memoizedState,P=P(U,f),P=P==null?f:s({},f,P),i.memoizedState=P,i.lanes===0&&(i.updateQueue.baseState=P)}var ds={isMounted:function(i){return(i=i._reactInternals)?Xe(i)===i:!1},enqueueSetState:function(i,f,P){i=i._reactInternals;var U=uo(),se=js(i),Oe=yn(U,se);Oe.payload=f,P!=null&&(Oe.callback=P),zn(i,Oe),Fs(i,se,U)},enqueueReplaceState:function(i,f,P){i=i._reactInternals;var U=uo(),se=js(i),Oe=yn(U,se);Oe.tag=1,Oe.payload=f,P!=null&&(Oe.callback=P),zn(i,Oe),Fs(i,se,U)},enqueueForceUpdate:function(i,f){i=i._reactInternals;var P=uo(),U=js(i),se=yn(P,U);se.tag=2,f!=null&&(se.callback=f),zn(i,se),Fs(i,U,P)}};function Vo(i,f,P,U,se,Oe,je){return i=i.stateNode,typeof i.shouldComponentUpdate=="function"?i.shouldComponentUpdate(U,Oe,je):f.prototype&&f.prototype.isPureReactComponent?!Ei(P,U)||!Ei(se,Oe):!0}function wa(i,f,P){var U=!1,se=Ti,Oe=f.contextType;return typeof Oe=="object"&&Oe!==null?Oe=en(Oe):(se=Si(f)?_i:fi.current,U=f.contextTypes,Oe=(U=U!=null)?Oo(i,se):Ti),f=new f(P,Oe),i.memoizedState=f.state!==null&&f.state!==void 0?f.state:null,f.updater=ds,i.stateNode=f,f._reactInternals=i,U&&(i=i.stateNode,i.__reactInternalMemoizedUnmaskedChildContext=se,i.__reactInternalMemoizedMaskedChildContext=Oe),f}function Ta(i,f,P,U){i=f.state,typeof f.componentWillReceiveProps=="function"&&f.componentWillReceiveProps(P,U),typeof f.UNSAFE_componentWillReceiveProps=="function"&&f.UNSAFE_componentWillReceiveProps(P,U),f.state!==i&&ds.enqueueReplaceState(f,f.state,null)}function Ca(i,f,P,U){var se=i.stateNode;se.props=P,se.state=i.memoizedState,se.refs=Ys,fr(i);var Oe=f.contextType;typeof Oe=="object"&&Oe!==null?se.context=en(Oe):(Oe=Si(f)?_i:fi.current,se.context=Oo(i,Oe)),Mr(i,P,se,U),se.state=i.memoizedState,Oe=f.getDerivedStateFromProps,typeof Oe=="function"&&(ri(i,f,Oe,P),se.state=i.memoizedState),typeof f.getDerivedStateFromProps=="function"||typeof se.getSnapshotBeforeUpdate=="function"||typeof se.UNSAFE_componentWillMount!="function"&&typeof se.componentWillMount!="function"||(f=se.state,typeof se.componentWillMount=="function"&&se.componentWillMount(),typeof se.UNSAFE_componentWillMount=="function"&&se.UNSAFE_componentWillMount(),f!==se.state&&ds.enqueueReplaceState(se,se.state,null),Mr(i,P,se,U),se.state=i.memoizedState),typeof se.componentDidMount=="function"&&(i.flags|=4)}var pa=Array.isArray;function Js(i,f,P){if(i=P.ref,i!==null&&typeof i!="function"&&typeof i!="object"){if(P._owner){if(P=P._owner,P){if(P.tag!==1)throw Error(r(309));var U=P.stateNode}if(!U)throw Error(r(147,i));var se=""+i;return f!==null&&f.ref!==null&&typeof f.ref=="function"&&f.ref._stringRef===se?f.ref:(f=function(Oe){var je=U.refs;je===Ys&&(je=U.refs={}),Oe===null?delete je[se]:je[se]=Oe},f._stringRef=se,f)}if(typeof i!="string")throw Error(r(284));if(!P._owner)throw Error(r(290,i))}return i}function ha(i,f){if(i.type!=="textarea")throw Error(r(31,Object.prototype.toString.call(f)==="[object Object]"?"object with keys {"+Object.keys(f).join(", ")+"}":f))}function Va(i){function f(kt,St){if(i){var Ft=kt.lastEffect;Ft!==null?(Ft.nextEffect=St,kt.lastEffect=St):kt.firstEffect=kt.lastEffect=St,St.nextEffect=null,St.flags=8}}function P(kt,St){if(!i)return null;for(;St!==null;)f(kt,St),St=St.sibling;return null}function U(kt,St){for(kt=new Map;St!==null;)St.key!==null?kt.set(St.key,St):kt.set(St.index,St),St=St.sibling;return kt}function se(kt,St){return kt=Us(kt,St),kt.index=0,kt.sibling=null,kt}function Oe(kt,St,Ft){return kt.index=Ft,i?(Ft=kt.alternate,Ft!==null?(Ft=Ft.index,Ft<St?(kt.flags=2,St):Ft):(kt.flags=2,St)):St}function je(kt){return i&&kt.alternate===null&&(kt.flags=2),kt}function tt(kt,St,Ft,un){return St===null||St.tag!==6?(St=Ql(Ft,kt.mode,un),St.return=kt,St):(St=se(St,Ft),St.return=kt,St)}function yt(kt,St,Ft,un){return St!==null&&St.elementType===Ft.type?(un=se(St,Ft.props),un.ref=Js(kt,St,Ft),un.return=kt,un):(un=ul(Ft.type,Ft.key,Ft.props,null,kt.mode,un),un.ref=Js(kt,St,Ft),un.return=kt,un)}function Jt(kt,St,Ft,un){return St===null||St.tag!==4||St.stateNode.containerInfo!==Ft.containerInfo||St.stateNode.implementation!==Ft.implementation?(St=Gl(Ft,kt.mode,un),St.return=kt,St):(St=se(St,Ft.children||[]),St.return=kt,St)}function Un(kt,St,Ft,un,mn){return St===null||St.tag!==7?(St=Sa(Ft,kt.mode,un,mn),St.return=kt,St):(St=se(St,Ft),St.return=kt,St)}function Or(kt,St,Ft){if(typeof St=="string"||typeof St=="number")return St=Ql(""+St,kt.mode,Ft),St.return=kt,St;if(typeof St=="object"&&St!==null){switch(St.$$typeof){case R:return Ft=ul(St.type,St.key,St.props,null,kt.mode,Ft),Ft.ref=Js(kt,null,St),Ft.return=kt,Ft;case g:return St=Gl(St,kt.mode,Ft),St.return=kt,St}if(pa(St)||pe(St))return St=Sa(St,kt.mode,Ft,null),St.return=kt,St;ha(kt,St)}return null}function gn(kt,St,Ft,un){var mn=St!==null?St.key:null;if(typeof Ft=="string"||typeof Ft=="number")return mn!==null?null:tt(kt,St,""+Ft,un);if(typeof Ft=="object"&&Ft!==null){switch(Ft.$$typeof){case R:return Ft.key===mn?Ft.type===k?Un(kt,St,Ft.props.children,un,mn):yt(kt,St,Ft,un):null;case g:return Ft.key===mn?Jt(kt,St,Ft,un):null}if(pa(Ft)||pe(Ft))return mn!==null?null:Un(kt,St,Ft,un,null);ha(kt,Ft)}return null}function ir(kt,St,Ft,un,mn){if(typeof un=="string"||typeof un=="number")return kt=kt.get(Ft)||null,tt(St,kt,""+un,mn);if(typeof un=="object"&&un!==null){switch(un.$$typeof){case R:return kt=kt.get(un.key===null?Ft:un.key)||null,un.type===k?Un(St,kt,un.props.children,mn,un.key):yt(St,kt,un,mn);case g:return kt=kt.get(un.key===null?Ft:un.key)||null,Jt(St,kt,un,mn)}if(pa(un)||pe(un))return kt=kt.get(Ft)||null,Un(St,kt,un,mn,null);ha(St,un)}return null}function br(kt,St,Ft,un){for(var mn=null,Pr=null,Zn=St,xr=St=0,Ir=null;Zn!==null&&xr<Ft.length;xr++){Zn.index>xr?(Ir=Zn,Zn=null):Ir=Zn.sibling;var wr=gn(kt,Zn,Ft[xr],un);if(wr===null){Zn===null&&(Zn=Ir);break}i&&Zn&&wr.alternate===null&&f(kt,Zn),St=Oe(wr,St,xr),Pr===null?mn=wr:Pr.sibling=wr,Pr=wr,Zn=Ir}if(xr===Ft.length)return P(kt,Zn),mn;if(Zn===null){for(;xr<Ft.length;xr++)Zn=Or(kt,Ft[xr],un),Zn!==null&&(St=Oe(Zn,St,xr),Pr===null?mn=Zn:Pr.sibling=Zn,Pr=Zn);return mn}for(Zn=U(kt,Zn);xr<Ft.length;xr++)Ir=ir(Zn,kt,xr,Ft[xr],un),Ir!==null&&(i&&Ir.alternate!==null&&Zn.delete(Ir.key===null?xr:Ir.key),St=Oe(Ir,St,xr),Pr===null?mn=Ir:Pr.sibling=Ir,Pr=Ir);return i&&Zn.forEach(function(_s){return f(kt,_s)}),mn}function gr(kt,St,Ft,un){var mn=pe(Ft);if(typeof mn!="function")throw Error(r(150));if(Ft=mn.call(Ft),Ft==null)throw Error(r(151));for(var Pr=mn=null,Zn=St,xr=St=0,Ir=null,wr=Ft.next();Zn!==null&&!wr.done;xr++,wr=Ft.next()){Zn.index>xr?(Ir=Zn,Zn=null):Ir=Zn.sibling;var _s=gn(kt,Zn,wr.value,un);if(_s===null){Zn===null&&(Zn=Ir);break}i&&Zn&&_s.alternate===null&&f(kt,Zn),St=Oe(_s,St,xr),Pr===null?mn=_s:Pr.sibling=_s,Pr=_s,Zn=Ir}if(wr.done)return P(kt,Zn),mn;if(Zn===null){for(;!wr.done;xr++,wr=Ft.next())wr=Or(kt,wr.value,un),wr!==null&&(St=Oe(wr,St,xr),Pr===null?mn=wr:Pr.sibling=wr,Pr=wr);return mn}for(Zn=U(kt,Zn);!wr.done;xr++,wr=Ft.next())wr=ir(Zn,kt,xr,wr.value,un),wr!==null&&(i&&wr.alternate!==null&&Zn.delete(wr.key===null?xr:wr.key),St=Oe(wr,St,xr),Pr===null?mn=wr:Pr.sibling=wr,Pr=wr);return i&&Zn.forEach(function(Tc){return f(kt,Tc)}),mn}return function(kt,St,Ft,un){var mn=typeof Ft=="object"&&Ft!==null&&Ft.type===k&&Ft.key===null;mn&&(Ft=Ft.props.children);var Pr=typeof Ft=="object"&&Ft!==null;if(Pr)switch(Ft.$$typeof){case R:e:{for(Pr=Ft.key,mn=St;mn!==null;){if(mn.key===Pr){switch(mn.tag){case 7:if(Ft.type===k){P(kt,mn.sibling),St=se(mn,Ft.props.children),St.return=kt,kt=St;break e}break;default:if(mn.elementType===Ft.type){P(kt,mn.sibling),St=se(mn,Ft.props),St.ref=Js(kt,mn,Ft),St.return=kt,kt=St;break e}}P(kt,mn);break}else f(kt,mn);mn=mn.sibling}Ft.type===k?(St=Sa(Ft.props.children,kt.mode,un,Ft.key),St.return=kt,kt=St):(un=ul(Ft.type,Ft.key,Ft.props,null,kt.mode,un),un.ref=Js(kt,St,Ft),un.return=kt,kt=un)}return je(kt);case g:e:{for(mn=Ft.key;St!==null;){if(St.key===mn)if(St.tag===4&&St.stateNode.containerInfo===Ft.containerInfo&&St.stateNode.implementation===Ft.implementation){P(kt,St.sibling),St=se(St,Ft.children||[]),St.return=kt,kt=St;break e}else{P(kt,St);break}else f(kt,St);St=St.sibling}St=Gl(Ft,kt.mode,un),St.return=kt,kt=St}return je(kt)}if(typeof Ft=="string"||typeof Ft=="number")return Ft=""+Ft,St!==null&&St.tag===6?(P(kt,St.sibling),St=se(St,Ft),St.return=kt,kt=St):(P(kt,St),St=Ql(Ft,kt.mode,un),St.return=kt,kt=St),je(kt);if(pa(Ft))return br(kt,St,Ft,un);if(pe(Ft))return gr(kt,St,Ft,un);if(Pr&&ha(kt,Ft),typeof Ft=="undefined"&&!mn)switch(kt.tag){case 1:case 22:case 0:case 11:case 15:throw Error(r(152,j(kt.type)||"Component"))}return P(kt,St)}}var ma=Va(!0),Ha=Va(!1),Ms={},xo=Ur(Ms),Ls=Ur(Ms),Ho=Ur(Ms);function fs(i){if(i===Ms)throw Error(r(174));return i}function ps(i,f){switch(Qr(Ho,f),Qr(Ls,i),Qr(xo,Ms),i=f.nodeType,i){case 9:case 11:f=(f=f.documentElement)?f.namespaceURI:K(null,"");break;default:i=i===8?f.parentNode:f,f=i.namespaceURI||null,i=i.tagName,f=K(f,i)}Wr(xo),Qr(xo,f)}function hs(){Wr(xo),Wr(Ls),Wr(Ho)}function Ka(i){fs(Ho.current);var f=fs(xo.current),P=K(f,i.type);f!==P&&(Qr(Ls,i),Qr(xo,P))}function Ra(i){Ls.current===i&&(Wr(xo),Wr(Ls))}var Jn=Ur(0);function lo(i){for(var f=i;f!==null;){if(f.tag===13){var P=f.memoizedState;if(P!==null&&(P=P.dehydrated,P===null||P.data==="$?"||P.data==="$!"))return f}else if(f.tag===19&&f.memoizedProps.revealOrder!==void 0){if((f.flags&64)!=0)return f}else if(f.child!==null){f.child.return=f,f=f.child;continue}if(f===i)break;for(;f.sibling===null;){if(f.return===null||f.return===i)return null;f=f.return}f.sibling.return=f.return,f=f.sibling}return null}var Di=null,Wi=null,xi=!1;function Zs(i,f){var P=Co(5,null,null,0);P.elementType="DELETED",P.type="DELETED",P.stateNode=f,P.return=i,P.flags=8,i.lastEffect!==null?(i.lastEffect.nextEffect=P,i.lastEffect=P):i.firstEffect=i.lastEffect=P}function Qa(i,f){switch(i.tag){case 5:var P=i.type;return f=f.nodeType!==1||P.toLowerCase()!==f.nodeName.toLowerCase()?null:f,f!==null?(i.stateNode=f,!0):!1;case 6:return f=i.pendingProps===""||f.nodeType!==3?null:f,f!==null?(i.stateNode=f,!0):!1;case 13:return!1;default:return!1}}function hl(i){if(xi){var f=Wi;if(f){var P=f;if(!Qa(i,f)){if(f=Oi(P.nextSibling),!f||!Qa(i,f)){i.flags=i.flags&-1025|2,xi=!1,Di=i;return}Zs(Di,P)}Di=i,Wi=Oi(f.firstChild)}else i.flags=i.flags&-1025|2,xi=!1,Di=i}}function Xl(i){for(i=i.return;i!==null&&i.tag!==5&&i.tag!==3&&i.tag!==13;)i=i.return;Di=i}function Ga(i){if(i!==Di)return!1;if(!xi)return Xl(i),xi=!0,!1;var f=i.type;if(i.tag!==5||f!=="head"&&f!=="body"&&!si(f,i.memoizedProps))for(f=Wi;f;)Zs(i,f),f=Oi(f.nextSibling);if(Xl(i),i.tag===13){if(i=i.memoizedState,i=i!==null?i.dehydrated:null,!i)throw Error(r(317));e:{for(i=i.nextSibling,f=0;i;){if(i.nodeType===8){var P=i.data;if(P==="/$"){if(f===0){Wi=Oi(i.nextSibling);break e}f--}else P!=="$"&&P!=="$!"&&P!=="$?"||f++}i=i.nextSibling}Wi=null}}else Wi=Di?Oi(i.stateNode.nextSibling):null;return!0}function ml(){Wi=Di=null,xi=!1}var ga=[];function gl(){for(var i=0;i<ga.length;i++)ga[i]._workInProgressVersionPrimary=null;ga.length=0}var Aa=x.ReactCurrentDispatcher,wo=x.ReactCurrentBatchConfig,Ia=0,yi=null,Vi=null,Ni=null,Ya=!1,Da=!1;function qi(){throw Error(r(321))}function vl(i,f){if(f===null)return!1;for(var P=0;P<f.length&&P<i.length;P++)if(!Ri(i[P],f[P]))return!1;return!0}function yl(i,f,P,U,se,Oe){if(Ia=Oe,yi=f,f.memoizedState=null,f.updateQueue=null,f.lanes=0,Aa.current=i===null||i.memoizedState===null?Zu:Xu,i=P(U,se),Da){Oe=0;do{if(Da=!1,!(25>Oe))throw Error(r(301));Oe+=1,Ni=Vi=null,f.updateQueue=null,Aa.current=qu,i=P(U,se)}while(Da)}if(Aa.current=qa,f=Vi!==null&&Vi.next!==null,Ia=0,Ni=Vi=yi=null,Ya=!1,f)throw Error(r(300));return i}function Xs(){var i={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Ni===null?yi.memoizedState=Ni=i:Ni=Ni.next=i,Ni}function qs(){if(Vi===null){var i=yi.alternate;i=i!==null?i.memoizedState:null}else i=Vi.next;var f=Ni===null?yi.memoizedState:Ni.next;if(f!==null)Ni=f,Vi=i;else{if(i===null)throw Error(r(310));Vi=i,i={memoizedState:Vi.memoizedState,baseState:Vi.baseState,baseQueue:Vi.baseQueue,queue:Vi.queue,next:null},Ni===null?yi.memoizedState=Ni=i:Ni=Ni.next=i}return Ni}function Ko(i,f){return typeof f=="function"?f(i):f}function $a(i){var f=qs(),P=f.queue;if(P===null)throw Error(r(311));P.lastRenderedReducer=i;var U=Vi,se=U.baseQueue,Oe=P.pending;if(Oe!==null){if(se!==null){var je=se.next;se.next=Oe.next,Oe.next=je}U.baseQueue=se=Oe,P.pending=null}if(se!==null){se=se.next,U=U.baseState;var tt=je=Oe=null,yt=se;do{var Jt=yt.lane;if((Ia&Jt)===Jt)tt!==null&&(tt=tt.next={lane:0,action:yt.action,eagerReducer:yt.eagerReducer,eagerState:yt.eagerState,next:null}),U=yt.eagerReducer===i?yt.eagerState:i(U,yt.action);else{var Un={lane:Jt,action:yt.action,eagerReducer:yt.eagerReducer,eagerState:yt.eagerState,next:null};tt===null?(je=tt=Un,Oe=U):tt=tt.next=Un,yi.lanes|=Jt,ja|=Jt}yt=yt.next}while(yt!==null&&yt!==se);tt===null?Oe=U:tt.next=je,Ri(U,f.memoizedState)||(No=!0),f.memoizedState=U,f.baseState=Oe,f.baseQueue=tt,P.lastRenderedState=U}return[f.memoizedState,P.dispatch]}function Ma(i){var f=qs(),P=f.queue;if(P===null)throw Error(r(311));P.lastRenderedReducer=i;var U=P.dispatch,se=P.pending,Oe=f.memoizedState;if(se!==null){P.pending=null;var je=se=se.next;do Oe=i(Oe,je.action),je=je.next;while(je!==se);Ri(Oe,f.memoizedState)||(No=!0),f.memoizedState=Oe,f.baseQueue===null&&(f.baseState=Oe),P.lastRenderedState=Oe}return[Oe,U]}function ql(i,f,P){var U=f._getVersion;U=U(f._source);var se=f._workInProgressVersionPrimary;if(se!==null?i=se===U:(i=i.mutableReadLanes,(i=(Ia&i)===i)&&(f._workInProgressVersionPrimary=U,ga.push(f))),i)return P(f._source);throw ga.push(f),Error(r(350))}function eu(i,f,P,U){var se=Qi;if(se===null)throw Error(r(349));var Oe=f._getVersion,je=Oe(f._source),tt=Aa.current,yt=tt.useState(function(){return ql(se,f,P)}),Jt=yt[1],Un=yt[0];yt=Ni;var Or=i.memoizedState,gn=Or.refs,ir=gn.getSnapshot,br=Or.source;Or=Or.subscribe;var gr=yi;return i.memoizedState={refs:gn,source:f,subscribe:U},tt.useEffect(function(){gn.getSnapshot=P,gn.setSnapshot=Jt;var kt=Oe(f._source);if(!Ri(je,kt)){kt=P(f._source),Ri(Un,kt)||(Jt(kt),kt=js(gr),se.mutableReadLanes|=kt&se.pendingLanes),kt=se.mutableReadLanes,se.entangledLanes|=kt;for(var St=se.entanglements,Ft=kt;0<Ft;){var un=31-cr(Ft),mn=1<<un;St[un]|=kt,Ft&=~mn}}},[P,f,U]),tt.useEffect(function(){return U(f._source,function(){var kt=gn.getSnapshot,St=gn.setSnapshot;try{St(kt(f._source));var Ft=js(gr);se.mutableReadLanes|=Ft&se.pendingLanes}catch(un){St(function(){throw un})}})},[f,U]),Ri(ir,P)&&Ri(br,f)&&Ri(Or,U)||(i={pending:null,dispatch:null,lastRenderedReducer:Ko,lastRenderedState:Un},i.dispatch=Jt=Sl.bind(null,yi,i),yt.queue=i,yt.baseQueue=null,Un=ql(se,f,P),yt.memoizedState=yt.baseState=Un),Un}function tu(i,f,P){var U=qs();return eu(U,i,f,P)}function La(i){var f=Xs();return typeof i=="function"&&(i=i()),f.memoizedState=f.baseState=i,i=f.queue={pending:null,dispatch:null,lastRenderedReducer:Ko,lastRenderedState:i},i=i.dispatch=Sl.bind(null,yi,i),[f.memoizedState,i]}function Ja(i,f,P,U){return i={tag:i,create:f,destroy:P,deps:U,next:null},f=yi.updateQueue,f===null?(f={lastEffect:null},yi.updateQueue=f,f.lastEffect=i.next=i):(P=f.lastEffect,P===null?f.lastEffect=i.next=i:(U=P.next,P.next=i,i.next=U,f.lastEffect=i)),i}function nu(i){var f=Xs();return i={current:i},f.memoizedState=i}function Za(){return qs().memoizedState}function bl(i,f,P,U){var se=Xs();yi.flags|=i,se.memoizedState=Ja(1|f,P,void 0,U===void 0?null:U)}function El(i,f,P,U){var se=qs();U=U===void 0?null:U;var Oe=void 0;if(Vi!==null){var je=Vi.memoizedState;if(Oe=je.destroy,U!==null&&vl(U,je.deps)){Ja(f,P,Oe,U);return}}yi.flags|=i,se.memoizedState=Ja(1|f,P,Oe,U)}function ru(i,f){return bl(516,4,i,f)}function Xa(i,f){return El(516,4,i,f)}function iu(i,f){return El(4,2,i,f)}function ou(i,f){if(typeof f=="function")return i=i(),f(i),function(){f(null)};if(f!=null)return i=i(),f.current=i,function(){f.current=null}}function su(i,f,P){return P=P!=null?P.concat([i]):null,El(4,2,ou.bind(null,f,i),P)}function Ol(){}function au(i,f){var P=qs();f=f===void 0?null:f;var U=P.memoizedState;return U!==null&&f!==null&&vl(f,U[1])?U[0]:(P.memoizedState=[i,f],i)}function lu(i,f){var P=qs();f=f===void 0?null:f;var U=P.memoizedState;return U!==null&&f!==null&&vl(f,U[1])?U[0]:(i=i(),P.memoizedState=[i,f],i)}function Ju(i,f){var P=Sn();tr(98>P?98:P,function(){i(!0)}),tr(97<P?97:P,function(){var U=wo.transition;wo.transition=1;try{i(!1),f()}finally{wo.transition=U}})}function Sl(i,f,P){var U=uo(),se=js(i),Oe={lane:se,action:P,eagerReducer:null,eagerState:null,next:null},je=f.pending;if(je===null?Oe.next=Oe:(Oe.next=je.next,je.next=Oe),f.pending=Oe,je=i.alternate,i===yi||je!==null&&je===yi)Da=Ya=!0;else{if(i.lanes===0&&(je===null||je.lanes===0)&&(je=f.lastRenderedReducer,je!==null))try{var tt=f.lastRenderedState,yt=je(tt,P);if(Oe.eagerReducer=je,Oe.eagerState=yt,Ri(yt,tt))return}catch(Jt){}finally{}Fs(i,se,U)}}var qa={readContext:en,useCallback:qi,useContext:qi,useEffect:qi,useImperativeHandle:qi,useLayoutEffect:qi,useMemo:qi,useReducer:qi,useRef:qi,useState:qi,useDebugValue:qi,useDeferredValue:qi,useTransition:qi,useMutableSource:qi,useOpaqueIdentifier:qi,unstable_isNewReconciler:!1},Zu={readContext:en,useCallback:function(i,f){return Xs().memoizedState=[i,f===void 0?null:f],i},useContext:en,useEffect:ru,useImperativeHandle:function(i,f,P){return P=P!=null?P.concat([i]):null,bl(4,2,ou.bind(null,f,i),P)},useLayoutEffect:function(i,f){return bl(4,2,i,f)},useMemo:function(i,f){var P=Xs();return f=f===void 0?null:f,i=i(),P.memoizedState=[i,f],i},useReducer:function(i,f,P){var U=Xs();return f=P!==void 0?P(f):f,U.memoizedState=U.baseState=f,i=U.queue={pending:null,dispatch:null,lastRenderedReducer:i,lastRenderedState:f},i=i.dispatch=Sl.bind(null,yi,i),[U.memoizedState,i]},useRef:nu,useState:La,useDebugValue:Ol,useDeferredValue:function(i){var f=La(i),P=f[0],U=f[1];return ru(function(){var se=wo.transition;wo.transition=1;try{U(i)}finally{wo.transition=se}},[i]),P},useTransition:function(){var i=La(!1),f=i[0];return i=Ju.bind(null,i[1]),nu(i),[i,f]},useMutableSource:function(i,f,P){var U=Xs();return U.memoizedState={refs:{getSnapshot:f,setSnapshot:null},source:i,subscribe:P},eu(U,i,f,P)},useOpaqueIdentifier:function(){if(xi){var i=!1,f=ai(function(){throw i||(i=!0,P("r:"+(ls++).toString(36))),Error(r(355))}),P=La(f)[1];return(yi.mode&2)==0&&(yi.flags|=516,Ja(5,function(){P("r:"+(ls++).toString(36))},void 0,null)),f}return f="r:"+(ls++).toString(36),La(f),f},unstable_isNewReconciler:!1},Xu={readContext:en,useCallback:au,useContext:en,useEffect:Xa,useImperativeHandle:su,useLayoutEffect:iu,useMemo:lu,useReducer:$a,useRef:Za,useState:function(){return $a(Ko)},useDebugValue:Ol,useDeferredValue:function(i){var f=$a(Ko),P=f[0],U=f[1];return Xa(function(){var se=wo.transition;wo.transition=1;try{U(i)}finally{wo.transition=se}},[i]),P},useTransition:function(){var i=$a(Ko)[0];return[Za().current,i]},useMutableSource:tu,useOpaqueIdentifier:function(){return $a(Ko)[0]},unstable_isNewReconciler:!1},qu={readContext:en,useCallback:au,useContext:en,useEffect:Xa,useImperativeHandle:su,useLayoutEffect:iu,useMemo:lu,useReducer:Ma,useRef:Za,useState:function(){return Ma(Ko)},useDebugValue:Ol,useDeferredValue:function(i){var f=Ma(Ko),P=f[0],U=f[1];return Xa(function(){var se=wo.transition;wo.transition=1;try{U(i)}finally{wo.transition=se}},[i]),P},useTransition:function(){var i=Ma(Ko)[0];return[Za().current,i]},useMutableSource:tu,useOpaqueIdentifier:function(){return Ma(Ko)[0]},unstable_isNewReconciler:!1},ec=x.ReactCurrentOwner,No=!1;function eo(i,f,P,U){f.child=i===null?Ha(f,null,P,U):ma(f,i.child,P,U)}function uu(i,f,P,U,se){P=P.render;var Oe=f.ref;return Dt(f,se),U=yl(i,f,P,U,Oe,se),i!==null&&!No?(f.updateQueue=i.updateQueue,f.flags&=-517,i.lanes&=~se,ms(i,f,se)):(f.flags|=1,eo(i,f,U,se),f.child)}function cu(i,f,P,U,se,Oe){if(i===null){var je=P.type;return typeof je=="function"&&!Hl(je)&&je.defaultProps===void 0&&P.compare===null&&P.defaultProps===void 0?(f.tag=15,f.type=je,du(i,f,je,U,se,Oe)):(i=ul(P.type,null,U,f,f.mode,Oe),i.ref=f.ref,i.return=f,f.child=i)}return je=i.child,(se&Oe)==0&&(se=je.memoizedProps,P=P.compare,P=P!==null?P:Ei,P(se,U)&&i.ref===f.ref)?ms(i,f,Oe):(f.flags|=1,i=Us(je,U),i.ref=f.ref,i.return=f,f.child=i)}function du(i,f,P,U,se,Oe){if(i!==null&&Ei(i.memoizedProps,U)&&i.ref===f.ref)if(No=!1,(Oe&se)!=0)(i.flags&16384)!=0&&(No=!0);else return f.lanes=i.lanes,ms(i,f,Oe);return xl(i,f,P,U,Oe)}function Pl(i,f,P){var U=f.pendingProps,se=U.children,Oe=i!==null?i.memoizedState:null;if(U.mode==="hidden"||U.mode==="unstable-defer-without-hiding")if((f.mode&4)==0)f.memoizedState={baseLanes:0},ll(f,P);else if((P&1073741824)!=0)f.memoizedState={baseLanes:0},ll(f,Oe!==null?Oe.baseLanes:P);else return i=Oe!==null?Oe.baseLanes|P:P,f.lanes=f.childLanes=1073741824,f.memoizedState={baseLanes:i},ll(f,i),null;else Oe!==null?(U=Oe.baseLanes|P,f.memoizedState=null):U=P,ll(f,U);return eo(i,f,se,P),f.child}function fu(i,f){var P=f.ref;(i===null&&P!==null||i!==null&&i.ref!==P)&&(f.flags|=128)}function xl(i,f,P,U,se){var Oe=Si(P)?_i:fi.current;return Oe=Oo(f,Oe),Dt(f,se),P=yl(i,f,P,U,Oe,se),i!==null&&!No?(f.updateQueue=i.updateQueue,f.flags&=-517,i.lanes&=~se,ms(i,f,se)):(f.flags|=1,eo(i,f,P,se),f.child)}function pu(i,f,P,U,se){if(Si(P)){var Oe=!0;Ii(f)}else Oe=!1;if(Dt(f,se),f.stateNode===null)i!==null&&(i.alternate=null,f.alternate=null,f.flags|=2),wa(f,P,U),Ca(f,P,U,se),U=!0;else if(i===null){var je=f.stateNode,tt=f.memoizedProps;je.props=tt;var yt=je.context,Jt=P.contextType;typeof Jt=="object"&&Jt!==null?Jt=en(Jt):(Jt=Si(P)?_i:fi.current,Jt=Oo(f,Jt));var Un=P.getDerivedStateFromProps,Or=typeof Un=="function"||typeof je.getSnapshotBeforeUpdate=="function";Or||typeof je.UNSAFE_componentWillReceiveProps!="function"&&typeof je.componentWillReceiveProps!="function"||(tt!==U||yt!==Jt)&&Ta(f,je,U,Jt),Nt=!1;var gn=f.memoizedState;je.state=gn,Mr(f,U,je,se),yt=f.memoizedState,tt!==U||gn!==yt||Xr.current||Nt?(typeof Un=="function"&&(ri(f,P,Un,U),yt=f.memoizedState),(tt=Nt||Vo(f,P,tt,U,gn,yt,Jt))?(Or||typeof je.UNSAFE_componentWillMount!="function"&&typeof je.componentWillMount!="function"||(typeof je.componentWillMount=="function"&&je.componentWillMount(),typeof je.UNSAFE_componentWillMount=="function"&&je.UNSAFE_componentWillMount()),typeof je.componentDidMount=="function"&&(f.flags|=4)):(typeof je.componentDidMount=="function"&&(f.flags|=4),f.memoizedProps=U,f.memoizedState=yt),je.props=U,je.state=yt,je.context=Jt,U=tt):(typeof je.componentDidMount=="function"&&(f.flags|=4),U=!1)}else{je=f.stateNode,Cn(i,f),tt=f.memoizedProps,Jt=f.type===f.elementType?tt:Gt(f.type,tt),je.props=Jt,Or=f.pendingProps,gn=je.context,yt=P.contextType,typeof yt=="object"&&yt!==null?yt=en(yt):(yt=Si(P)?_i:fi.current,yt=Oo(f,yt));var ir=P.getDerivedStateFromProps;(Un=typeof ir=="function"||typeof je.getSnapshotBeforeUpdate=="function")||typeof je.UNSAFE_componentWillReceiveProps!="function"&&typeof je.componentWillReceiveProps!="function"||(tt!==Or||gn!==yt)&&Ta(f,je,U,yt),Nt=!1,gn=f.memoizedState,je.state=gn,Mr(f,U,je,se);var br=f.memoizedState;tt!==Or||gn!==br||Xr.current||Nt?(typeof ir=="function"&&(ri(f,P,ir,U),br=f.memoizedState),(Jt=Nt||Vo(f,P,Jt,U,gn,br,yt))?(Un||typeof je.UNSAFE_componentWillUpdate!="function"&&typeof je.componentWillUpdate!="function"||(typeof je.componentWillUpdate=="function"&&je.componentWillUpdate(U,br,yt),typeof je.UNSAFE_componentWillUpdate=="function"&&je.UNSAFE_componentWillUpdate(U,br,yt)),typeof je.componentDidUpdate=="function"&&(f.flags|=4),typeof je.getSnapshotBeforeUpdate=="function"&&(f.flags|=256)):(typeof je.componentDidUpdate!="function"||tt===i.memoizedProps&&gn===i.memoizedState||(f.flags|=4),typeof je.getSnapshotBeforeUpdate!="function"||tt===i.memoizedProps&&gn===i.memoizedState||(f.flags|=256),f.memoizedProps=U,f.memoizedState=br),je.props=U,je.state=br,je.context=yt,U=Jt):(typeof je.componentDidUpdate!="function"||tt===i.memoizedProps&&gn===i.memoizedState||(f.flags|=4),typeof je.getSnapshotBeforeUpdate!="function"||tt===i.memoizedProps&&gn===i.memoizedState||(f.flags|=256),U=!1)}return wl(i,f,P,U,Oe,se)}function wl(i,f,P,U,se,Oe){fu(i,f);var je=(f.flags&64)!=0;if(!U&&!je)return se&&Ki(f,P,!1),ms(i,f,Oe);U=f.stateNode,ec.current=f;var tt=je&&typeof P.getDerivedStateFromError!="function"?null:U.render();return f.flags|=1,i!==null&&je?(f.child=ma(f,i.child,null,Oe),f.child=ma(f,null,tt,Oe)):eo(i,f,tt,Oe),f.memoizedState=U.state,se&&Ki(f,P,!0),f.child}function hu(i){var f=i.stateNode;f.pendingContext?cs(i,f.pendingContext,f.pendingContext!==f.context):f.context&&cs(i,f.context,!1),ps(i,f.containerInfo)}var el={dehydrated:null,retryLane:0};function mu(i,f,P){var U=f.pendingProps,se=Jn.current,Oe=!1,je;return(je=(f.flags&64)!=0)||(je=i!==null&&i.memoizedState===null?!1:(se&2)!=0),je?(Oe=!0,f.flags&=-65):i!==null&&i.memoizedState===null||U.fallback===void 0||U.unstable_avoidThisFallback===!0||(se|=1),Qr(Jn,se&1),i===null?(U.fallback!==void 0&&hl(f),i=U.children,se=U.fallback,Oe?(i=gu(f,i,se,P),f.child.memoizedState={baseLanes:P},f.memoizedState=el,i):typeof U.unstable_expectedLoadTime=="number"?(i=gu(f,i,se,P),f.child.memoizedState={baseLanes:P},f.memoizedState=el,f.lanes=33554432,i):(P=Kl({mode:"visible",children:i},f.mode,P,null),P.return=f,f.child=P)):i.memoizedState!==null?Oe?(U=yu(i,f,U.children,U.fallback,P),Oe=f.child,se=i.child.memoizedState,Oe.memoizedState=se===null?{baseLanes:P}:{baseLanes:se.baseLanes|P},Oe.childLanes=i.childLanes&~P,f.memoizedState=el,U):(P=vu(i,f,U.children,P),f.memoizedState=null,P):Oe?(U=yu(i,f,U.children,U.fallback,P),Oe=f.child,se=i.child.memoizedState,Oe.memoizedState=se===null?{baseLanes:P}:{baseLanes:se.baseLanes|P},Oe.childLanes=i.childLanes&~P,f.memoizedState=el,U):(P=vu(i,f,U.children,P),f.memoizedState=null,P)}function gu(i,f,P,U){var se=i.mode,Oe=i.child;return f={mode:"hidden",children:f},(se&2)==0&&Oe!==null?(Oe.childLanes=0,Oe.pendingProps=f):Oe=Kl(f,se,0,null),P=Sa(P,se,U,null),Oe.return=i,P.return=i,Oe.sibling=P,i.child=Oe,P}function vu(i,f,P,U){var se=i.child;return i=se.sibling,P=Us(se,{mode:"visible",children:P}),(f.mode&2)==0&&(P.lanes=U),P.return=f,P.sibling=null,i!==null&&(i.nextEffect=null,i.flags=8,f.firstEffect=f.lastEffect=i),f.child=P}function yu(i,f,P,U,se){var Oe=f.mode,je=i.child;i=je.sibling;var tt={mode:"hidden",children:P};return(Oe&2)==0&&f.child!==je?(P=f.child,P.childLanes=0,P.pendingProps=tt,je=P.lastEffect,je!==null?(f.firstEffect=P.firstEffect,f.lastEffect=je,je.nextEffect=null):f.firstEffect=f.lastEffect=null):P=Us(je,tt),i!==null?U=Us(i,U):(U=Sa(U,Oe,se,null),U.flags|=2),U.return=f,P.return=f,P.sibling=U,f.child=P,U}function bu(i,f){i.lanes|=f;var P=i.alternate;P!==null&&(P.lanes|=f),rn(i.return,f)}function Tl(i,f,P,U,se,Oe){var je=i.memoizedState;je===null?i.memoizedState={isBackwards:f,rendering:null,renderingStartTime:0,last:U,tail:P,tailMode:se,lastEffect:Oe}:(je.isBackwards=f,je.rendering=null,je.renderingStartTime=0,je.last=U,je.tail=P,je.tailMode=se,je.lastEffect=Oe)}function Eu(i,f,P){var U=f.pendingProps,se=U.revealOrder,Oe=U.tail;if(eo(i,f,U.children,P),U=Jn.current,(U&2)!=0)U=U&1|2,f.flags|=64;else{if(i!==null&&(i.flags&64)!=0)e:for(i=f.child;i!==null;){if(i.tag===13)i.memoizedState!==null&&bu(i,P);else if(i.tag===19)bu(i,P);else if(i.child!==null){i.child.return=i,i=i.child;continue}if(i===f)break e;for(;i.sibling===null;){if(i.return===null||i.return===f)break e;i=i.return}i.sibling.return=i.return,i=i.sibling}U&=1}if(Qr(Jn,U),(f.mode&2)==0)f.memoizedState=null;else switch(se){case"forwards":for(P=f.child,se=null;P!==null;)i=P.alternate,i!==null&&lo(i)===null&&(se=P),P=P.sibling;P=se,P===null?(se=f.child,f.child=null):(se=P.sibling,P.sibling=null),Tl(f,!1,se,P,Oe,f.lastEffect);break;case"backwards":for(P=null,se=f.child,f.child=null;se!==null;){if(i=se.alternate,i!==null&&lo(i)===null){f.child=se;break}i=se.sibling,se.sibling=P,P=se,se=i}Tl(f,!0,P,null,Oe,f.lastEffect);break;case"together":Tl(f,!1,null,null,void 0,f.lastEffect);break;default:f.memoizedState=null}return f.child}function ms(i,f,P){if(i!==null&&(f.dependencies=i.dependencies),ja|=f.lanes,(P&f.childLanes)!=0){if(i!==null&&f.child!==i.child)throw Error(r(153));if(f.child!==null){for(i=f.child,P=Us(i,i.pendingProps),f.child=P,P.return=f;i.sibling!==null;)i=i.sibling,P=P.sibling=Us(i,i.pendingProps),P.return=f;P.sibling=null}return f.child}return null}var Ou,Cl,Su,Pu;Ou=function(i,f){for(var P=f.child;P!==null;){if(P.tag===5||P.tag===6)i.appendChild(P.stateNode);else if(P.tag!==4&&P.child!==null){P.child.return=P,P=P.child;continue}if(P===f)break;for(;P.sibling===null;){if(P.return===null||P.return===f)return;P=P.return}P.sibling.return=P.return,P=P.sibling}},Cl=function(){},Su=function(i,f,P,U){var se=i.memoizedProps;if(se!==U){i=f.stateNode,fs(xo.current);var Oe=null;switch(P){case"input":se=$(i,se),U=$(i,U),Oe=[];break;case"option":se=Le(i,se),U=Le(i,U),Oe=[];break;case"select":se=s({},se,{value:void 0}),U=s({},U,{value:void 0}),Oe=[];break;case"textarea":se=at(i,se),U=at(i,U),Oe=[];break;default:typeof se.onClick!="function"&&typeof U.onClick=="function"&&(i.onclick=Ai)}ze(P,U);var je;P=null;for(Jt in se)if(!U.hasOwnProperty(Jt)&&se.hasOwnProperty(Jt)&&se[Jt]!=null)if(Jt==="style"){var tt=se[Jt];for(je in tt)tt.hasOwnProperty(je)&&(P||(P={}),P[je]="")}else Jt!=="dangerouslySetInnerHTML"&&Jt!=="children"&&Jt!=="suppressContentEditableWarning"&&Jt!=="suppressHydrationWarning"&&Jt!=="autoFocus"&&(u.hasOwnProperty(Jt)?Oe||(Oe=[]):(Oe=Oe||[]).push(Jt,null));for(Jt in U){var yt=U[Jt];if(tt=se!=null?se[Jt]:void 0,U.hasOwnProperty(Jt)&&yt!==tt&&(yt!=null||tt!=null))if(Jt==="style")if(tt){for(je in tt)!tt.hasOwnProperty(je)||yt&&yt.hasOwnProperty(je)||(P||(P={}),P[je]="");for(je in yt)yt.hasOwnProperty(je)&&tt[je]!==yt[je]&&(P||(P={}),P[je]=yt[je])}else P||(Oe||(Oe=[]),Oe.push(Jt,P)),P=yt;else Jt==="dangerouslySetInnerHTML"?(yt=yt?yt.__html:void 0,tt=tt?tt.__html:void 0,yt!=null&&tt!==yt&&(Oe=Oe||[]).push(Jt,yt)):Jt==="children"?typeof yt!="string"&&typeof yt!="number"||(Oe=Oe||[]).push(Jt,""+yt):Jt!=="suppressContentEditableWarning"&&Jt!=="suppressHydrationWarning"&&(u.hasOwnProperty(Jt)?(yt!=null&&Jt==="onScroll"&&zr("scroll",i),Oe||tt===yt||(Oe=[])):typeof yt=="object"&&yt!==null&&yt.$$typeof===B?yt.toString():(Oe=Oe||[]).push(Jt,yt))}P&&(Oe=Oe||[]).push("style",P);var Jt=Oe;(f.updateQueue=Jt)&&(f.flags|=4)}},Pu=function(i,f,P,U){P!==U&&(f.flags|=4)};function Na(i,f){if(!xi)switch(i.tailMode){case"hidden":f=i.tail;for(var P=null;f!==null;)f.alternate!==null&&(P=f),f=f.sibling;P===null?i.tail=null:P.sibling=null;break;case"collapsed":P=i.tail;for(var U=null;P!==null;)P.alternate!==null&&(U=P),P=P.sibling;U===null?f||i.tail===null?i.tail=null:i.tail.sibling=null:U.sibling=null}}function tc(i,f,P){var U=f.pendingProps;switch(f.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return null;case 1:return Si(f.type)&&So(),null;case 3:return hs(),Wr(Xr),Wr(fi),gl(),U=f.stateNode,U.pendingContext&&(U.context=U.pendingContext,U.pendingContext=null),(i===null||i.child===null)&&(Ga(f)?f.flags|=4:U.hydrate||(f.flags|=256)),Cl(f),null;case 5:Ra(f);var se=fs(Ho.current);if(P=f.type,i!==null&&f.stateNode!=null)Su(i,f,P,U,se),i.ref!==f.ref&&(f.flags|=128);else{if(!U){if(f.stateNode===null)throw Error(r(166));return null}if(i=fs(xo.current),Ga(f)){U=f.stateNode,P=f.type;var Oe=f.memoizedProps;switch(U[Ui]=f,U[ro]=Oe,P){case"dialog":zr("cancel",U),zr("close",U);break;case"iframe":case"object":case"embed":zr("load",U);break;case"video":case"audio":for(i=0;i<gi.length;i++)zr(gi[i],U);break;case"source":zr("error",U);break;case"img":case"image":case"link":zr("error",U),zr("load",U);break;case"details":zr("toggle",U);break;case"input":H(U,Oe),zr("invalid",U);break;case"select":U._wrapperState={wasMultiple:!!Oe.multiple},zr("invalid",U);break;case"textarea":xt(U,Oe),zr("invalid",U)}ze(P,Oe),i=null;for(var je in Oe)Oe.hasOwnProperty(je)&&(se=Oe[je],je==="children"?typeof se=="string"?U.textContent!==se&&(i=["children",se]):typeof se=="number"&&U.textContent!==""+se&&(i=["children",""+se]):u.hasOwnProperty(je)&&se!=null&&je==="onScroll"&&zr("scroll",U));switch(P){case"input":Pe(U),$e(U,Oe,!0);break;case"textarea":Pe(U),q(U);break;case"select":case"option":break;default:typeof Oe.onClick=="function"&&(U.onclick=Ai)}U=i,f.updateQueue=U,U!==null&&(f.flags|=4)}else{switch(je=se.nodeType===9?se:se.ownerDocument,i===ne.html&&(i=ie(P)),i===ne.html?P==="script"?(i=je.createElement("div"),i.innerHTML="<script><\/script>",i=i.removeChild(i.firstChild)):typeof U.is=="string"?i=je.createElement(P,{is:U.is}):(i=je.createElement(P),P==="select"&&(je=i,U.multiple?je.multiple=!0:U.size&&(je.size=U.size))):i=je.createElementNS(i,P),i[Ui]=f,i[ro]=U,Ou(i,f,!1,!1),f.stateNode=i,je=dt(P,U),P){case"dialog":zr("cancel",i),zr("close",i),se=U;break;case"iframe":case"object":case"embed":zr("load",i),se=U;break;case"video":case"audio":for(se=0;se<gi.length;se++)zr(gi[se],i);se=U;break;case"source":zr("error",i),se=U;break;case"img":case"image":case"link":zr("error",i),zr("load",i),se=U;break;case"details":zr("toggle",i),se=U;break;case"input":H(i,U),se=$(i,U),zr("invalid",i);break;case"option":se=Le(i,U);break;case"select":i._wrapperState={wasMultiple:!!U.multiple},se=s({},U,{value:void 0}),zr("invalid",i);break;case"textarea":xt(i,U),se=at(i,U),zr("invalid",i);break;default:se=U}ze(P,se);var tt=se;for(Oe in tt)if(tt.hasOwnProperty(Oe)){var yt=tt[Oe];Oe==="style"?Yt(i,yt):Oe==="dangerouslySetInnerHTML"?(yt=yt?yt.__html:void 0,yt!=null&&He(i,yt)):Oe==="children"?typeof yt=="string"?(P!=="textarea"||yt!=="")&&Je(i,yt):typeof yt=="number"&&Je(i,""+yt):Oe!=="suppressContentEditableWarning"&&Oe!=="suppressHydrationWarning"&&Oe!=="autoFocus"&&(u.hasOwnProperty(Oe)?yt!=null&&Oe==="onScroll"&&zr("scroll",i):yt!=null&&w(i,Oe,yt,je))}switch(P){case"input":Pe(i),$e(i,U,!1);break;case"textarea":Pe(i),q(i);break;case"option":U.value!=null&&i.setAttribute("value",""+ue(U.value));break;case"select":i.multiple=!!U.multiple,Oe=U.value,Oe!=null?ke(i,!!U.multiple,Oe,!1):U.defaultValue!=null&&ke(i,!!U.multiple,U.defaultValue,!0);break;default:typeof se.onClick=="function"&&(i.onclick=Ai)}Ds(P,U)&&(f.flags|=4)}f.ref!==null&&(f.flags|=128)}return null;case 6:if(i&&f.stateNode!=null)Pu(i,f,i.memoizedProps,U);else{if(typeof U!="string"&&f.stateNode===null)throw Error(r(166));P=fs(Ho.current),fs(xo.current),Ga(f)?(U=f.stateNode,P=f.memoizedProps,U[Ui]=f,U.nodeValue!==P&&(f.flags|=4)):(U=(P.nodeType===9?P:P.ownerDocument).createTextNode(U),U[Ui]=f,f.stateNode=U)}return null;case 13:return Wr(Jn),U=f.memoizedState,(f.flags&64)!=0?(f.lanes=P,f):(U=U!==null,P=!1,i===null?f.memoizedProps.fallback!==void 0&&Ga(f):P=i.memoizedState!==null,U&&!P&&(f.mode&2)!=0&&(i===null&&f.memoizedProps.unstable_avoidThisFallback!==!0||(Jn.current&1)!=0?ji===0&&(ji=3):((ji===0||ji===3)&&(ji=4),Qi===null||(ja&134217727)==0&&(ya&134217727)==0||Ea(Qi,Hi))),(U||P)&&(f.flags|=4),null);case 4:return hs(),Cl(f),i===null&&ss(f.stateNode.containerInfo),null;case 10:return Xt(f),null;case 17:return Si(f.type)&&So(),null;case 19:if(Wr(Jn),U=f.memoizedState,U===null)return null;if(Oe=(f.flags&64)!=0,je=U.rendering,je===null)if(Oe)Na(U,!1);else{if(ji!==0||i!==null&&(i.flags&64)!=0)for(i=f.child;i!==null;){if(je=lo(i),je!==null){for(f.flags|=64,Na(U,!1),Oe=je.updateQueue,Oe!==null&&(f.updateQueue=Oe,f.flags|=4),U.lastEffect===null&&(f.firstEffect=null),f.lastEffect=U.lastEffect,U=P,P=f.child;P!==null;)Oe=P,i=U,Oe.flags&=2,Oe.nextEffect=null,Oe.firstEffect=null,Oe.lastEffect=null,je=Oe.alternate,je===null?(Oe.childLanes=0,Oe.lanes=i,Oe.child=null,Oe.memoizedProps=null,Oe.memoizedState=null,Oe.updateQueue=null,Oe.dependencies=null,Oe.stateNode=null):(Oe.childLanes=je.childLanes,Oe.lanes=je.lanes,Oe.child=je.child,Oe.memoizedProps=je.memoizedProps,Oe.memoizedState=je.memoizedState,Oe.updateQueue=je.updateQueue,Oe.type=je.type,i=je.dependencies,Oe.dependencies=i===null?null:{lanes:i.lanes,firstContext:i.firstContext}),P=P.sibling;return Qr(Jn,Jn.current&1|2),f.child}i=i.sibling}U.tail!==null&&_t()>kl&&(f.flags|=64,Oe=!0,Na(U,!1),f.lanes=33554432)}else{if(!Oe)if(i=lo(je),i!==null){if(f.flags|=64,Oe=!0,P=i.updateQueue,P!==null&&(f.updateQueue=P,f.flags|=4),Na(U,!0),U.tail===null&&U.tailMode==="hidden"&&!je.alternate&&!xi)return f=f.lastEffect=U.lastEffect,f!==null&&(f.nextEffect=null),null}else 2*_t()-U.renderingStartTime>kl&&P!==1073741824&&(f.flags|=64,Oe=!0,Na(U,!1),f.lanes=33554432);U.isBackwards?(je.sibling=f.child,f.child=je):(P=U.last,P!==null?P.sibling=je:f.child=je,U.last=je)}return U.tail!==null?(P=U.tail,U.rendering=P,U.tail=P.sibling,U.lastEffect=f.lastEffect,U.renderingStartTime=_t(),P.sibling=null,f=Jn.current,Qr(Jn,Oe?f&1|2:f&1),P):null;case 23:case 24:return Vl(),i!==null&&i.memoizedState!==null!=(f.memoizedState!==null)&&U.mode!=="unstable-defer-without-hiding"&&(f.flags|=4),null}throw Error(r(156,f.tag))}function nc(i){switch(i.tag){case 1:Si(i.type)&&So();var f=i.flags;return f&4096?(i.flags=f&-4097|64,i):null;case 3:if(hs(),Wr(Xr),Wr(fi),gl(),f=i.flags,(f&64)!=0)throw Error(r(285));return i.flags=f&-4097|64,i;case 5:return Ra(i),null;case 13:return Wr(Jn),f=i.flags,f&4096?(i.flags=f&-4097|64,i):null;case 19:return Wr(Jn),null;case 4:return hs(),null;case 10:return Xt(i),null;case 23:case 24:return Vl(),null;default:return null}}function Rl(i,f){try{var P="",U=f;do P+=_e(U),U=U.return;while(U);var se=P}catch(Oe){se=`
|
|
2940
2940
|
Error generating stack: `+Oe.message+`
|
|
2941
|
-
`+Oe.stack}return{value:i,source:f,stack:se}}function Al(i,f){try{console.error(f.value)}catch(P){setTimeout(function(){throw P})}}var rc=typeof WeakMap=="function"?WeakMap:Map;function xu(i,f,P){P=yn(-1,P),P.tag=3,P.payload={element:null};var U=f.value;return P.callback=function(){rl||(rl=!0,Bl=U),Al(i,f)},P}function wu(i,f,P){P=yn(-1,P),P.tag=3;var U=i.type.getDerivedStateFromError;if(typeof U=="function"){var se=f.value;P.payload=function(){return Al(i,f),U(se)}}var Oe=i.stateNode;return Oe!==null&&typeof Oe.componentDidCatch=="function"&&(P.callback=function(){typeof U!="function"&&(Qo===null?Qo=new Set([this]):Qo.add(this),Al(i,f));var je=f.stack;this.componentDidCatch(f.value,{componentStack:je!==null?je:""})}),P}var ic=typeof WeakSet=="function"?WeakSet:Set;function Tu(i){var f=i.ref;if(f!==null)if(typeof f=="function")try{f(null)}catch(P){Bs(i,P)}else f.current=null}function oc(i,f){switch(f.tag){case 0:case 11:case 15:case 22:return;case 1:if(f.flags&256&&i!==null){var P=i.memoizedProps,U=i.memoizedState;i=f.stateNode,f=i.getSnapshotBeforeUpdate(f.elementType===f.type?P:Qt(f.type,P),U),i.__reactInternalSnapshotBeforeUpdate=f}return;case 3:f.flags&256&&as(f.stateNode.containerInfo);return;case 5:case 6:case 4:case 17:return}throw Error(r(163))}function sc(i,f,P){switch(P.tag){case 0:case 11:case 15:case 22:if(f=P.updateQueue,f=f!==null?f.lastEffect:null,f!==null){i=f=f.next;do{if((i.tag&3)==3){var U=i.create;i.destroy=U()}i=i.next}while(i!==f)}if(f=P.updateQueue,f=f!==null?f.lastEffect:null,f!==null){i=f=f.next;do{var se=i;U=se.next,se=se.tag,(se&4)!=0&&(se&1)!=0&&(_u(P,i),hc(P,i)),i=U}while(i!==f)}return;case 1:i=P.stateNode,P.flags&4&&(f===null?i.componentDidMount():(U=P.elementType===P.type?f.memoizedProps:Qt(P.type,f.memoizedProps),i.componentDidUpdate(U,f.memoizedState,i.__reactInternalSnapshotBeforeUpdate))),f=P.updateQueue,f!==null&&Pi(P,f,i);return;case 3:if(f=P.updateQueue,f!==null){if(i=null,P.child!==null)switch(P.child.tag){case 5:i=P.child.stateNode;break;case 1:i=P.child.stateNode}Pi(P,f,i)}return;case 5:i=P.stateNode,f===null&&P.flags&4&&Ds(P.type,P.memoizedProps)&&i.focus();return;case 6:return;case 4:return;case 12:return;case 13:P.memoizedState===null&&(P=P.alternate,P!==null&&(P=P.memoizedState,P!==null&&(P=P.dehydrated,P!==null&&qn(P))));return;case 19:case 17:case 20:case 21:case 23:case 24:return}throw Error(r(163))}function Cu(i,f){for(var P=i;;){if(P.tag===5){var U=P.stateNode;if(f)U=U.style,typeof U.setProperty=="function"?U.setProperty("display","none","important"):U.display="none";else{U=P.stateNode;var se=P.memoizedProps.style;se=se!=null&&se.hasOwnProperty("display")?se.display:null,U.style.display=Lt("display",se)}}else if(P.tag===6)P.stateNode.nodeValue=f?"":P.memoizedProps;else if((P.tag!==23&&P.tag!==24||P.memoizedState===null||P===i)&&P.child!==null){P.child.return=P,P=P.child;continue}if(P===i)break;for(;P.sibling===null;){if(P.return===null||P.return===i)return;P=P.return}P.sibling.return=P.return,P=P.sibling}}function Ru(i,f){if(zi&&typeof zi.onCommitFiberUnmount=="function")try{zi.onCommitFiberUnmount(Po,f)}catch(Oe){}switch(f.tag){case 0:case 11:case 14:case 15:case 22:if(i=f.updateQueue,i!==null&&(i=i.lastEffect,i!==null)){var P=i=i.next;do{var U=P,se=U.destroy;if(U=U.tag,se!==void 0)if((U&4)!=0)_u(f,P);else{U=f;try{se()}catch(Oe){Bs(U,Oe)}}P=P.next}while(P!==i)}break;case 1:if(Tu(f),i=f.stateNode,typeof i.componentWillUnmount=="function")try{i.props=f.memoizedProps,i.state=f.memoizedState,i.componentWillUnmount()}catch(Oe){Bs(f,Oe)}break;case 5:Tu(f);break;case 4:$u(i,f)}}function Au(i){i.alternate=null,i.child=null,i.dependencies=null,i.firstEffect=null,i.lastEffect=null,i.memoizedProps=null,i.memoizedState=null,i.pendingProps=null,i.return=null,i.updateQueue=null}function Iu(i){return i.tag===5||i.tag===3||i.tag===4}function Du(i){e:{for(var f=i.return;f!==null;){if(Iu(f))break e;f=f.return}throw Error(r(160))}var P=f;switch(f=P.stateNode,P.tag){case 5:var U=!1;break;case 3:f=f.containerInfo,U=!0;break;case 4:f=f.containerInfo,U=!0;break;default:throw Error(r(161))}P.flags&16&&(Je(f,""),P.flags&=-17);e:t:for(P=i;;){for(;P.sibling===null;){if(P.return===null||Iu(P.return)){P=null;break e}P=P.return}for(P.sibling.return=P.return,P=P.sibling;P.tag!==5&&P.tag!==6&&P.tag!==18;){if(P.flags&2||P.child===null||P.tag===4)continue t;P.child.return=P,P=P.child}if(!(P.flags&2)){P=P.stateNode;break e}}U?Il(i,P,f):Dl(i,P,f)}function Il(i,f,P){var U=i.tag,se=U===5||U===6;if(se)i=se?i.stateNode:i.stateNode.instance,f?P.nodeType===8?P.parentNode.insertBefore(i,f):P.insertBefore(i,f):(P.nodeType===8?(f=P.parentNode,f.insertBefore(i,P)):(f=P,f.appendChild(i)),P=P._reactRootContainer,P!=null||f.onclick!==null||(f.onclick=Ai));else if(U!==4&&(i=i.child,i!==null))for(Il(i,f,P),i=i.sibling;i!==null;)Il(i,f,P),i=i.sibling}function Dl(i,f,P){var U=i.tag,se=U===5||U===6;if(se)i=se?i.stateNode:i.stateNode.instance,f?P.insertBefore(i,f):P.appendChild(i);else if(U!==4&&(i=i.child,i!==null))for(Dl(i,f,P),i=i.sibling;i!==null;)Dl(i,f,P),i=i.sibling}function $u(i,f){for(var P=f,U=!1,se,Oe;;){if(!U){U=P.return;e:for(;;){if(U===null)throw Error(r(160));switch(se=U.stateNode,U.tag){case 5:Oe=!1;break e;case 3:se=se.containerInfo,Oe=!0;break e;case 4:se=se.containerInfo,Oe=!0;break e}U=U.return}U=!0}if(P.tag===5||P.tag===6){e:for(var je=i,tt=P,yt=tt;;)if(Ru(je,yt),yt.child!==null&&yt.tag!==4)yt.child.return=yt,yt=yt.child;else{if(yt===tt)break e;for(;yt.sibling===null;){if(yt.return===null||yt.return===tt)break e;yt=yt.return}yt.sibling.return=yt.return,yt=yt.sibling}Oe?(je=se,tt=P.stateNode,je.nodeType===8?je.parentNode.removeChild(tt):je.removeChild(tt)):se.removeChild(P.stateNode)}else if(P.tag===4){if(P.child!==null){se=P.stateNode.containerInfo,Oe=!0,P.child.return=P,P=P.child;continue}}else if(Ru(i,P),P.child!==null){P.child.return=P,P=P.child;continue}if(P===f)break;for(;P.sibling===null;){if(P.return===null||P.return===f)return;P=P.return,P.tag===4&&(U=!1)}P.sibling.return=P.return,P=P.sibling}}function $l(i,f){switch(f.tag){case 0:case 11:case 14:case 15:case 22:var P=f.updateQueue;if(P=P!==null?P.lastEffect:null,P!==null){var U=P=P.next;do(U.tag&3)==3&&(i=U.destroy,U.destroy=void 0,i!==void 0&&i()),U=U.next;while(U!==P)}return;case 1:return;case 5:if(P=f.stateNode,P!=null){U=f.memoizedProps;var se=i!==null?i.memoizedProps:U;i=f.type;var Oe=f.updateQueue;if(f.updateQueue=null,Oe!==null){for(P[ro]=U,i==="input"&&U.type==="radio"&&U.name!=null&&I(P,U),dt(i,se),f=dt(i,U),se=0;se<Oe.length;se+=2){var je=Oe[se],tt=Oe[se+1];je==="style"?Yt(P,tt):je==="dangerouslySetInnerHTML"?He(P,tt):je==="children"?Je(P,tt):w(P,je,tt,f)}switch(i){case"input":ve(P,U);break;case"textarea":qe(P,U);break;case"select":i=P._wrapperState.wasMultiple,P._wrapperState.wasMultiple=!!U.multiple,Oe=U.value,Oe!=null?ke(P,!!U.multiple,Oe,!1):i!==!!U.multiple&&(U.defaultValue!=null?ke(P,!!U.multiple,U.defaultValue,!0):ke(P,!!U.multiple,U.multiple?[]:"",!1))}}}return;case 6:if(f.stateNode===null)throw Error(r(162));f.stateNode.nodeValue=f.memoizedProps;return;case 3:P=f.stateNode,P.hydrate&&(P.hydrate=!1,qn(P.containerInfo));return;case 12:return;case 13:f.memoizedState!==null&&(Fl=_t(),Cu(f.child,!0)),Mu(f);return;case 19:Mu(f);return;case 17:return;case 23:case 24:Cu(f,f.memoizedState!==null);return}throw Error(r(163))}function Mu(i){var f=i.updateQueue;if(f!==null){i.updateQueue=null;var P=i.stateNode;P===null&&(P=i.stateNode=new ic),f.forEach(function(U){var se=vc.bind(null,i,U);P.has(U)||(P.add(U),U.then(se,se))})}}function ac(i,f){return i!==null&&(i=i.memoizedState,i===null||i.dehydrated!==null)?(f=f.memoizedState,f!==null&&f.dehydrated===null):!1}var lc=Math.ceil,tl=x.ReactCurrentDispatcher,Ml=x.ReactCurrentOwner,yr=0,Qi=null,Ci=null,Hi=0,ea=0,Ll=Ur(0),ji=0,nl=null,va=0,ja=0,ya=0,Nl=0,jl=null,Fl=0,kl=1/0;function ba(){kl=_t()+500}var Kn=null,rl=!1,Bl=null,Qo=null,Ns=!1,Fa=null,ka=90,Ul=[],_l=[],gs=null,Ba=0,zl=null,il=-1,vs=0,ol=0,Ua=null,sl=!1;function uo(){return(yr&48)!=0?_t():il!==-1?il:il=_t()}function js(i){if(i=i.mode,(i&2)==0)return 1;if((i&4)==0)return Sn()===99?1:2;if(vs===0&&(vs=va),Bt.transition!==0){ol!==0&&(ol=jl!==null?jl.pendingLanes:0),i=vs;var f=4186112&~ol;return f&=-f,f===0&&(i=4186112&~i,f=i&-i,f===0&&(f=8192)),f}return i=Sn(),(yr&4)!=0&&i===98?i=Ue(12,vs):(i=jn(i),i=Ue(i,vs)),i}function Fs(i,f,P){if(50<Ba)throw Ba=0,zl=null,Error(r(185));if(i=al(i,f),i===null)return null;on(i,f,P),i===Qi&&(ya|=f,ji===4&&Ea(i,Hi));var U=Sn();f===1?(yr&8)!=0&&(yr&48)==0?Wl(i):(To(i,P),yr===0&&(ba(),me())):((yr&4)==0||U!==98&&U!==99||(gs===null?gs=new Set([i]):gs.add(i)),To(i,P)),jl=i}function al(i,f){i.lanes|=f;var P=i.alternate;for(P!==null&&(P.lanes|=f),P=i,i=i.return;i!==null;)i.childLanes|=f,P=i.alternate,P!==null&&(P.childLanes|=f),P=i,i=i.return;return P.tag===3?P.stateNode:null}function To(i,f){for(var P=i.callbackNode,U=i.suspendedLanes,se=i.pingedLanes,Oe=i.expirationTimes,je=i.pendingLanes;0<je;){var tt=31-cr(je),yt=1<<tt,Jt=Oe[tt];if(Jt===-1){if((yt&U)==0||(yt&se)!=0){Jt=f,pn(yt);var Un=an;Oe[tt]=10<=Un?Jt+250:6<=Un?Jt+5e3:-1}}else Jt<=f&&(i.expiredLanes|=yt);je&=~yt}if(U=An(i,i===Qi?Hi:0),f=an,U===0)P!==null&&(P!==z&&ao(P),i.callbackNode=null,i.callbackPriority=0);else{if(P!==null){if(i.callbackPriority===f)return;P!==z&&ao(P)}f===15?(P=Wl.bind(null,i),Re===null?(Re=[P],We=pi(de,Ne)):Re.push(P),P=z):f===14?P=F(99,Wl.bind(null,i)):(P=Kt(f),P=F(P,Lu.bind(null,i))),i.callbackPriority=f,i.callbackNode=P}}function Lu(i){if(il=-1,ol=vs=0,(yr&48)!=0)throw Error(r(327));var f=i.callbackNode;if(ks()&&i.callbackNode!==f)return null;var P=An(i,i===Qi?Hi:0);if(P===0)return null;var U=P,se=yr;yr|=16;var Oe=ku();(Qi!==i||Hi!==U)&&(ba(),Oa(i,U));do try{dc();break}catch(tt){Fu(i,tt)}while(1);if(mt(),tl.current=Oe,yr=se,Ci!==null?U=0:(Qi=null,Hi=0,U=ji),(va&ya)!=0)Oa(i,0);else if(U!==0){if(U===2&&(yr|=64,i.hydrate&&(i.hydrate=!1,as(i.containerInfo)),P=_n(i),P!==0&&(U=_a(i,P))),U===1)throw f=nl,Oa(i,0),Ea(i,P),To(i,_t()),f;switch(i.finishedWork=i.current.alternate,i.finishedLanes=P,U){case 0:case 1:throw Error(r(345));case 2:ta(i);break;case 3:if(Ea(i,P),(P&62914560)===P&&(U=Fl+500-_t(),10<U)){if(An(i,0)!==0)break;if(se=i.suspendedLanes,(se&P)!==P){uo(),i.pingedLanes|=i.suspendedLanes&se;break}i.timeoutHandle=zo(ta.bind(null,i),U);break}ta(i);break;case 4:if(Ea(i,P),(P&4186112)===P)break;for(U=i.eventTimes,se=-1;0<P;){var je=31-cr(P);Oe=1<<je,je=U[je],je>se&&(se=je),P&=~Oe}if(P=se,P=_t()-P,P=(120>P?120:480>P?480:1080>P?1080:1920>P?1920:3e3>P?3e3:4320>P?4320:1960*lc(P/1960))-P,10<P){i.timeoutHandle=zo(ta.bind(null,i),P);break}ta(i);break;case 5:ta(i);break;default:throw Error(r(329))}}return To(i,_t()),i.callbackNode===f?Lu.bind(null,i):null}function Ea(i,f){for(f&=~Nl,f&=~ya,i.suspendedLanes|=f,i.pingedLanes&=~f,i=i.expirationTimes;0<f;){var P=31-cr(f),U=1<<P;i[P]=-1,f&=~U}}function Wl(i){if((yr&48)!=0)throw Error(r(327));if(ks(),i===Qi&&(i.expiredLanes&Hi)!=0){var f=Hi,P=_a(i,f);(va&ya)!=0&&(f=An(i,f),P=_a(i,f))}else f=An(i,0),P=_a(i,f);if(i.tag!==0&&P===2&&(yr|=64,i.hydrate&&(i.hydrate=!1,as(i.containerInfo)),f=_n(i),f!==0&&(P=_a(i,f))),P===1)throw P=nl,Oa(i,0),Ea(i,f),To(i,_t()),P;return i.finishedWork=i.current.alternate,i.finishedLanes=f,ta(i),To(i,_t()),null}function uc(){if(gs!==null){var i=gs;gs=null,i.forEach(function(f){f.expiredLanes|=24&f.pendingLanes,To(f,_t())})}me()}function Nu(i,f){var P=yr;yr|=1;try{return i(f)}finally{yr=P,yr===0&&(ba(),me())}}function ju(i,f){var P=yr;yr&=-2,yr|=8;try{return i(f)}finally{yr=P,yr===0&&(ba(),me())}}function ll(i,f){Qr(Ll,ea),ea|=f,va|=f}function Vl(){ea=Ll.current,Wr(Ll)}function Oa(i,f){i.finishedWork=null,i.finishedLanes=0;var P=i.timeoutHandle;if(P!==-1&&(i.timeoutHandle=-1,Mi(P)),Ci!==null)for(P=Ci.return;P!==null;){var U=P;switch(U.tag){case 1:U=U.type.childContextTypes,U!=null&&So();break;case 3:hs(),Wr(Xr),Wr(fi),gl();break;case 5:Ra(U);break;case 4:hs();break;case 13:Wr(Jn);break;case 19:Wr(Jn);break;case 10:Xt(U);break;case 23:case 24:Vl()}P=P.return}Qi=i,Ci=Us(i.current,null),Hi=ea=va=f,ji=0,nl=null,Nl=ya=ja=0}function Fu(i,f){do{var P=Ci;try{if(mt(),Aa.current=qa,Ya){for(var U=yi.memoizedState;U!==null;){var se=U.queue;se!==null&&(se.pending=null),U=U.next}Ya=!1}if(Ia=0,Ni=Vi=yi=null,Da=!1,Ml.current=null,P===null||P.return===null){ji=1,nl=f,Ci=null;break}e:{var Oe=i,je=P.return,tt=P,yt=f;if(f=Hi,tt.flags|=2048,tt.firstEffect=tt.lastEffect=null,yt!==null&&typeof yt=="object"&&typeof yt.then=="function"){var Jt=yt;if((tt.mode&2)==0){var Un=tt.alternate;Un?(tt.updateQueue=Un.updateQueue,tt.memoizedState=Un.memoizedState,tt.lanes=Un.lanes):(tt.updateQueue=null,tt.memoizedState=null)}var Or=(Jn.current&1)!=0,gn=je;do{var rr;if(rr=gn.tag===13){var br=gn.memoizedState;if(br!==null)rr=br.dehydrated!==null;else{var gr=gn.memoizedProps;rr=gr.fallback===void 0?!1:gr.unstable_avoidThisFallback!==!0?!0:!Or}}if(rr){var kt=gn.updateQueue;if(kt===null){var St=new Set;St.add(Jt),gn.updateQueue=St}else kt.add(Jt);if((gn.mode&2)==0){if(gn.flags|=64,tt.flags|=16384,tt.flags&=-2981,tt.tag===1)if(tt.alternate===null)tt.tag=17;else{var jt=yn(-1,1);jt.tag=2,zn(tt,jt)}tt.lanes|=1;break e}yt=void 0,tt=f;var ln=Oe.pingCache;if(ln===null?(ln=Oe.pingCache=new rc,yt=new Set,ln.set(Jt,yt)):(yt=ln.get(Jt),yt===void 0&&(yt=new Set,ln.set(Jt,yt))),!yt.has(tt)){yt.add(tt);var mn=gc.bind(null,Oe,Jt,tt);Jt.then(mn,mn)}gn.flags|=4096,gn.lanes=f;break e}gn=gn.return}while(gn!==null);yt=Error((j(tt.type)||"A React component")+` suspended while rendering, but no fallback UI was specified.
|
|
2941
|
+
`+Oe.stack}return{value:i,source:f,stack:se}}function Al(i,f){try{console.error(f.value)}catch(P){setTimeout(function(){throw P})}}var rc=typeof WeakMap=="function"?WeakMap:Map;function xu(i,f,P){P=yn(-1,P),P.tag=3,P.payload={element:null};var U=f.value;return P.callback=function(){rl||(rl=!0,Bl=U),Al(i,f)},P}function wu(i,f,P){P=yn(-1,P),P.tag=3;var U=i.type.getDerivedStateFromError;if(typeof U=="function"){var se=f.value;P.payload=function(){return Al(i,f),U(se)}}var Oe=i.stateNode;return Oe!==null&&typeof Oe.componentDidCatch=="function"&&(P.callback=function(){typeof U!="function"&&(Qo===null?Qo=new Set([this]):Qo.add(this),Al(i,f));var je=f.stack;this.componentDidCatch(f.value,{componentStack:je!==null?je:""})}),P}var ic=typeof WeakSet=="function"?WeakSet:Set;function Tu(i){var f=i.ref;if(f!==null)if(typeof f=="function")try{f(null)}catch(P){Bs(i,P)}else f.current=null}function oc(i,f){switch(f.tag){case 0:case 11:case 15:case 22:return;case 1:if(f.flags&256&&i!==null){var P=i.memoizedProps,U=i.memoizedState;i=f.stateNode,f=i.getSnapshotBeforeUpdate(f.elementType===f.type?P:Gt(f.type,P),U),i.__reactInternalSnapshotBeforeUpdate=f}return;case 3:f.flags&256&&as(f.stateNode.containerInfo);return;case 5:case 6:case 4:case 17:return}throw Error(r(163))}function sc(i,f,P){switch(P.tag){case 0:case 11:case 15:case 22:if(f=P.updateQueue,f=f!==null?f.lastEffect:null,f!==null){i=f=f.next;do{if((i.tag&3)==3){var U=i.create;i.destroy=U()}i=i.next}while(i!==f)}if(f=P.updateQueue,f=f!==null?f.lastEffect:null,f!==null){i=f=f.next;do{var se=i;U=se.next,se=se.tag,(se&4)!=0&&(se&1)!=0&&(_u(P,i),hc(P,i)),i=U}while(i!==f)}return;case 1:i=P.stateNode,P.flags&4&&(f===null?i.componentDidMount():(U=P.elementType===P.type?f.memoizedProps:Gt(P.type,f.memoizedProps),i.componentDidUpdate(U,f.memoizedState,i.__reactInternalSnapshotBeforeUpdate))),f=P.updateQueue,f!==null&&Pi(P,f,i);return;case 3:if(f=P.updateQueue,f!==null){if(i=null,P.child!==null)switch(P.child.tag){case 5:i=P.child.stateNode;break;case 1:i=P.child.stateNode}Pi(P,f,i)}return;case 5:i=P.stateNode,f===null&&P.flags&4&&Ds(P.type,P.memoizedProps)&&i.focus();return;case 6:return;case 4:return;case 12:return;case 13:P.memoizedState===null&&(P=P.alternate,P!==null&&(P=P.memoizedState,P!==null&&(P=P.dehydrated,P!==null&&qn(P))));return;case 19:case 17:case 20:case 21:case 23:case 24:return}throw Error(r(163))}function Cu(i,f){for(var P=i;;){if(P.tag===5){var U=P.stateNode;if(f)U=U.style,typeof U.setProperty=="function"?U.setProperty("display","none","important"):U.display="none";else{U=P.stateNode;var se=P.memoizedProps.style;se=se!=null&&se.hasOwnProperty("display")?se.display:null,U.style.display=Lt("display",se)}}else if(P.tag===6)P.stateNode.nodeValue=f?"":P.memoizedProps;else if((P.tag!==23&&P.tag!==24||P.memoizedState===null||P===i)&&P.child!==null){P.child.return=P,P=P.child;continue}if(P===i)break;for(;P.sibling===null;){if(P.return===null||P.return===i)return;P=P.return}P.sibling.return=P.return,P=P.sibling}}function Ru(i,f){if(zi&&typeof zi.onCommitFiberUnmount=="function")try{zi.onCommitFiberUnmount(Po,f)}catch(Oe){}switch(f.tag){case 0:case 11:case 14:case 15:case 22:if(i=f.updateQueue,i!==null&&(i=i.lastEffect,i!==null)){var P=i=i.next;do{var U=P,se=U.destroy;if(U=U.tag,se!==void 0)if((U&4)!=0)_u(f,P);else{U=f;try{se()}catch(Oe){Bs(U,Oe)}}P=P.next}while(P!==i)}break;case 1:if(Tu(f),i=f.stateNode,typeof i.componentWillUnmount=="function")try{i.props=f.memoizedProps,i.state=f.memoizedState,i.componentWillUnmount()}catch(Oe){Bs(f,Oe)}break;case 5:Tu(f);break;case 4:$u(i,f)}}function Au(i){i.alternate=null,i.child=null,i.dependencies=null,i.firstEffect=null,i.lastEffect=null,i.memoizedProps=null,i.memoizedState=null,i.pendingProps=null,i.return=null,i.updateQueue=null}function Iu(i){return i.tag===5||i.tag===3||i.tag===4}function Du(i){e:{for(var f=i.return;f!==null;){if(Iu(f))break e;f=f.return}throw Error(r(160))}var P=f;switch(f=P.stateNode,P.tag){case 5:var U=!1;break;case 3:f=f.containerInfo,U=!0;break;case 4:f=f.containerInfo,U=!0;break;default:throw Error(r(161))}P.flags&16&&(Je(f,""),P.flags&=-17);e:t:for(P=i;;){for(;P.sibling===null;){if(P.return===null||Iu(P.return)){P=null;break e}P=P.return}for(P.sibling.return=P.return,P=P.sibling;P.tag!==5&&P.tag!==6&&P.tag!==18;){if(P.flags&2||P.child===null||P.tag===4)continue t;P.child.return=P,P=P.child}if(!(P.flags&2)){P=P.stateNode;break e}}U?Il(i,P,f):Dl(i,P,f)}function Il(i,f,P){var U=i.tag,se=U===5||U===6;if(se)i=se?i.stateNode:i.stateNode.instance,f?P.nodeType===8?P.parentNode.insertBefore(i,f):P.insertBefore(i,f):(P.nodeType===8?(f=P.parentNode,f.insertBefore(i,P)):(f=P,f.appendChild(i)),P=P._reactRootContainer,P!=null||f.onclick!==null||(f.onclick=Ai));else if(U!==4&&(i=i.child,i!==null))for(Il(i,f,P),i=i.sibling;i!==null;)Il(i,f,P),i=i.sibling}function Dl(i,f,P){var U=i.tag,se=U===5||U===6;if(se)i=se?i.stateNode:i.stateNode.instance,f?P.insertBefore(i,f):P.appendChild(i);else if(U!==4&&(i=i.child,i!==null))for(Dl(i,f,P),i=i.sibling;i!==null;)Dl(i,f,P),i=i.sibling}function $u(i,f){for(var P=f,U=!1,se,Oe;;){if(!U){U=P.return;e:for(;;){if(U===null)throw Error(r(160));switch(se=U.stateNode,U.tag){case 5:Oe=!1;break e;case 3:se=se.containerInfo,Oe=!0;break e;case 4:se=se.containerInfo,Oe=!0;break e}U=U.return}U=!0}if(P.tag===5||P.tag===6){e:for(var je=i,tt=P,yt=tt;;)if(Ru(je,yt),yt.child!==null&&yt.tag!==4)yt.child.return=yt,yt=yt.child;else{if(yt===tt)break e;for(;yt.sibling===null;){if(yt.return===null||yt.return===tt)break e;yt=yt.return}yt.sibling.return=yt.return,yt=yt.sibling}Oe?(je=se,tt=P.stateNode,je.nodeType===8?je.parentNode.removeChild(tt):je.removeChild(tt)):se.removeChild(P.stateNode)}else if(P.tag===4){if(P.child!==null){se=P.stateNode.containerInfo,Oe=!0,P.child.return=P,P=P.child;continue}}else if(Ru(i,P),P.child!==null){P.child.return=P,P=P.child;continue}if(P===f)break;for(;P.sibling===null;){if(P.return===null||P.return===f)return;P=P.return,P.tag===4&&(U=!1)}P.sibling.return=P.return,P=P.sibling}}function $l(i,f){switch(f.tag){case 0:case 11:case 14:case 15:case 22:var P=f.updateQueue;if(P=P!==null?P.lastEffect:null,P!==null){var U=P=P.next;do(U.tag&3)==3&&(i=U.destroy,U.destroy=void 0,i!==void 0&&i()),U=U.next;while(U!==P)}return;case 1:return;case 5:if(P=f.stateNode,P!=null){U=f.memoizedProps;var se=i!==null?i.memoizedProps:U;i=f.type;var Oe=f.updateQueue;if(f.updateQueue=null,Oe!==null){for(P[ro]=U,i==="input"&&U.type==="radio"&&U.name!=null&&I(P,U),dt(i,se),f=dt(i,U),se=0;se<Oe.length;se+=2){var je=Oe[se],tt=Oe[se+1];je==="style"?Yt(P,tt):je==="dangerouslySetInnerHTML"?He(P,tt):je==="children"?Je(P,tt):w(P,je,tt,f)}switch(i){case"input":ve(P,U);break;case"textarea":qe(P,U);break;case"select":i=P._wrapperState.wasMultiple,P._wrapperState.wasMultiple=!!U.multiple,Oe=U.value,Oe!=null?ke(P,!!U.multiple,Oe,!1):i!==!!U.multiple&&(U.defaultValue!=null?ke(P,!!U.multiple,U.defaultValue,!0):ke(P,!!U.multiple,U.multiple?[]:"",!1))}}}return;case 6:if(f.stateNode===null)throw Error(r(162));f.stateNode.nodeValue=f.memoizedProps;return;case 3:P=f.stateNode,P.hydrate&&(P.hydrate=!1,qn(P.containerInfo));return;case 12:return;case 13:f.memoizedState!==null&&(Fl=_t(),Cu(f.child,!0)),Mu(f);return;case 19:Mu(f);return;case 17:return;case 23:case 24:Cu(f,f.memoizedState!==null);return}throw Error(r(163))}function Mu(i){var f=i.updateQueue;if(f!==null){i.updateQueue=null;var P=i.stateNode;P===null&&(P=i.stateNode=new ic),f.forEach(function(U){var se=vc.bind(null,i,U);P.has(U)||(P.add(U),U.then(se,se))})}}function ac(i,f){return i!==null&&(i=i.memoizedState,i===null||i.dehydrated!==null)?(f=f.memoizedState,f!==null&&f.dehydrated===null):!1}var lc=Math.ceil,tl=x.ReactCurrentDispatcher,Ml=x.ReactCurrentOwner,yr=0,Qi=null,Ci=null,Hi=0,ea=0,Ll=Ur(0),ji=0,nl=null,va=0,ja=0,ya=0,Nl=0,jl=null,Fl=0,kl=1/0;function ba(){kl=_t()+500}var Kn=null,rl=!1,Bl=null,Qo=null,Ns=!1,Fa=null,ka=90,Ul=[],_l=[],gs=null,Ba=0,zl=null,il=-1,vs=0,ol=0,Ua=null,sl=!1;function uo(){return(yr&48)!=0?_t():il!==-1?il:il=_t()}function js(i){if(i=i.mode,(i&2)==0)return 1;if((i&4)==0)return Sn()===99?1:2;if(vs===0&&(vs=va),Bt.transition!==0){ol!==0&&(ol=jl!==null?jl.pendingLanes:0),i=vs;var f=4186112&~ol;return f&=-f,f===0&&(i=4186112&~i,f=i&-i,f===0&&(f=8192)),f}return i=Sn(),(yr&4)!=0&&i===98?i=Be(12,vs):(i=In(i),i=Be(i,vs)),i}function Fs(i,f,P){if(50<Ba)throw Ba=0,zl=null,Error(r(185));if(i=al(i,f),i===null)return null;on(i,f,P),i===Qi&&(ya|=f,ji===4&&Ea(i,Hi));var U=Sn();f===1?(yr&8)!=0&&(yr&48)==0?Wl(i):(To(i,P),yr===0&&(ba(),me())):((yr&4)==0||U!==98&&U!==99||(gs===null?gs=new Set([i]):gs.add(i)),To(i,P)),jl=i}function al(i,f){i.lanes|=f;var P=i.alternate;for(P!==null&&(P.lanes|=f),P=i,i=i.return;i!==null;)i.childLanes|=f,P=i.alternate,P!==null&&(P.childLanes|=f),P=i,i=i.return;return P.tag===3?P.stateNode:null}function To(i,f){for(var P=i.callbackNode,U=i.suspendedLanes,se=i.pingedLanes,Oe=i.expirationTimes,je=i.pendingLanes;0<je;){var tt=31-cr(je),yt=1<<tt,Jt=Oe[tt];if(Jt===-1){if((yt&U)==0||(yt&se)!=0){Jt=f,an(yt);var Un=sn;Oe[tt]=10<=Un?Jt+250:6<=Un?Jt+5e3:-1}}else Jt<=f&&(i.expiredLanes|=yt);je&=~yt}if(U=Tn(i,i===Qi?Hi:0),f=sn,U===0)P!==null&&(P!==z&&ao(P),i.callbackNode=null,i.callbackPriority=0);else{if(P!==null){if(i.callbackPriority===f)return;P!==z&&ao(P)}f===15?(P=Wl.bind(null,i),Ae===null?(Ae=[P],Ve=pi(de,Ne)):Ae.push(P),P=z):f===14?P=F(99,Wl.bind(null,i)):(P=Ht(f),P=F(P,Lu.bind(null,i))),i.callbackPriority=f,i.callbackNode=P}}function Lu(i){if(il=-1,ol=vs=0,(yr&48)!=0)throw Error(r(327));var f=i.callbackNode;if(ks()&&i.callbackNode!==f)return null;var P=Tn(i,i===Qi?Hi:0);if(P===0)return null;var U=P,se=yr;yr|=16;var Oe=ku();(Qi!==i||Hi!==U)&&(ba(),Oa(i,U));do try{dc();break}catch(tt){Fu(i,tt)}while(1);if(mt(),tl.current=Oe,yr=se,Ci!==null?U=0:(Qi=null,Hi=0,U=ji),(va&ya)!=0)Oa(i,0);else if(U!==0){if(U===2&&(yr|=64,i.hydrate&&(i.hydrate=!1,as(i.containerInfo)),P=_n(i),P!==0&&(U=_a(i,P))),U===1)throw f=nl,Oa(i,0),Ea(i,P),To(i,_t()),f;switch(i.finishedWork=i.current.alternate,i.finishedLanes=P,U){case 0:case 1:throw Error(r(345));case 2:ta(i);break;case 3:if(Ea(i,P),(P&62914560)===P&&(U=Fl+500-_t(),10<U)){if(Tn(i,0)!==0)break;if(se=i.suspendedLanes,(se&P)!==P){uo(),i.pingedLanes|=i.suspendedLanes&se;break}i.timeoutHandle=zo(ta.bind(null,i),U);break}ta(i);break;case 4:if(Ea(i,P),(P&4186112)===P)break;for(U=i.eventTimes,se=-1;0<P;){var je=31-cr(P);Oe=1<<je,je=U[je],je>se&&(se=je),P&=~Oe}if(P=se,P=_t()-P,P=(120>P?120:480>P?480:1080>P?1080:1920>P?1920:3e3>P?3e3:4320>P?4320:1960*lc(P/1960))-P,10<P){i.timeoutHandle=zo(ta.bind(null,i),P);break}ta(i);break;case 5:ta(i);break;default:throw Error(r(329))}}return To(i,_t()),i.callbackNode===f?Lu.bind(null,i):null}function Ea(i,f){for(f&=~Nl,f&=~ya,i.suspendedLanes|=f,i.pingedLanes&=~f,i=i.expirationTimes;0<f;){var P=31-cr(f),U=1<<P;i[P]=-1,f&=~U}}function Wl(i){if((yr&48)!=0)throw Error(r(327));if(ks(),i===Qi&&(i.expiredLanes&Hi)!=0){var f=Hi,P=_a(i,f);(va&ya)!=0&&(f=Tn(i,f),P=_a(i,f))}else f=Tn(i,0),P=_a(i,f);if(i.tag!==0&&P===2&&(yr|=64,i.hydrate&&(i.hydrate=!1,as(i.containerInfo)),f=_n(i),f!==0&&(P=_a(i,f))),P===1)throw P=nl,Oa(i,0),Ea(i,f),To(i,_t()),P;return i.finishedWork=i.current.alternate,i.finishedLanes=f,ta(i),To(i,_t()),null}function uc(){if(gs!==null){var i=gs;gs=null,i.forEach(function(f){f.expiredLanes|=24&f.pendingLanes,To(f,_t())})}me()}function Nu(i,f){var P=yr;yr|=1;try{return i(f)}finally{yr=P,yr===0&&(ba(),me())}}function ju(i,f){var P=yr;yr&=-2,yr|=8;try{return i(f)}finally{yr=P,yr===0&&(ba(),me())}}function ll(i,f){Qr(Ll,ea),ea|=f,va|=f}function Vl(){ea=Ll.current,Wr(Ll)}function Oa(i,f){i.finishedWork=null,i.finishedLanes=0;var P=i.timeoutHandle;if(P!==-1&&(i.timeoutHandle=-1,Mi(P)),Ci!==null)for(P=Ci.return;P!==null;){var U=P;switch(U.tag){case 1:U=U.type.childContextTypes,U!=null&&So();break;case 3:hs(),Wr(Xr),Wr(fi),gl();break;case 5:Ra(U);break;case 4:hs();break;case 13:Wr(Jn);break;case 19:Wr(Jn);break;case 10:Xt(U);break;case 23:case 24:Vl()}P=P.return}Qi=i,Ci=Us(i.current,null),Hi=ea=va=f,ji=0,nl=null,Nl=ya=ja=0}function Fu(i,f){do{var P=Ci;try{if(mt(),Aa.current=qa,Ya){for(var U=yi.memoizedState;U!==null;){var se=U.queue;se!==null&&(se.pending=null),U=U.next}Ya=!1}if(Ia=0,Ni=Vi=yi=null,Da=!1,Ml.current=null,P===null||P.return===null){ji=1,nl=f,Ci=null;break}e:{var Oe=i,je=P.return,tt=P,yt=f;if(f=Hi,tt.flags|=2048,tt.firstEffect=tt.lastEffect=null,yt!==null&&typeof yt=="object"&&typeof yt.then=="function"){var Jt=yt;if((tt.mode&2)==0){var Un=tt.alternate;Un?(tt.updateQueue=Un.updateQueue,tt.memoizedState=Un.memoizedState,tt.lanes=Un.lanes):(tt.updateQueue=null,tt.memoizedState=null)}var Or=(Jn.current&1)!=0,gn=je;do{var ir;if(ir=gn.tag===13){var br=gn.memoizedState;if(br!==null)ir=br.dehydrated!==null;else{var gr=gn.memoizedProps;ir=gr.fallback===void 0?!1:gr.unstable_avoidThisFallback!==!0?!0:!Or}}if(ir){var kt=gn.updateQueue;if(kt===null){var St=new Set;St.add(Jt),gn.updateQueue=St}else kt.add(Jt);if((gn.mode&2)==0){if(gn.flags|=64,tt.flags|=16384,tt.flags&=-2981,tt.tag===1)if(tt.alternate===null)tt.tag=17;else{var Ft=yn(-1,1);Ft.tag=2,zn(tt,Ft)}tt.lanes|=1;break e}yt=void 0,tt=f;var un=Oe.pingCache;if(un===null?(un=Oe.pingCache=new rc,yt=new Set,un.set(Jt,yt)):(yt=un.get(Jt),yt===void 0&&(yt=new Set,un.set(Jt,yt))),!yt.has(tt)){yt.add(tt);var mn=gc.bind(null,Oe,Jt,tt);Jt.then(mn,mn)}gn.flags|=4096,gn.lanes=f;break e}gn=gn.return}while(gn!==null);yt=Error((j(tt.type)||"A React component")+` suspended while rendering, but no fallback UI was specified.
|
|
2942
2942
|
|
|
2943
|
-
Add a <Suspense fallback=...> component higher in the tree to provide a loading indicator or placeholder to display.`)}ji!==5&&(ji=2),yt=Rl(yt,tt),gn=je;do{switch(gn.tag){case 3:Oe=yt,gn.flags|=4096,f&=-f,gn.lanes|=f;var Pr=xu(gn,Oe,f);Vn(gn,Pr);break e;case 1:Oe=yt;var Zn=gn.type,xr=gn.stateNode;if((gn.flags&64)==0&&(typeof Zn.getDerivedStateFromError=="function"||xr!==null&&typeof xr.componentDidCatch=="function"&&(Qo===null||!Qo.has(xr)))){gn.flags|=4096,f&=-f,gn.lanes|=f;var Ir=wu(gn,Oe,f);Vn(gn,Ir);break e}}gn=gn.return}while(gn!==null)}Uu(P)}catch(wr){f=wr,Ci===P&&P!==null&&(Ci=P=P.return);continue}break}while(1)}function ku(){var i=tl.current;return tl.current=qa,i===null?qa:i}function _a(i,f){var P=yr;yr|=16;var U=ku();Qi===i&&Hi===f||Oa(i,f);do try{cc();break}catch(se){Fu(i,se)}while(1);if(mt(),yr=P,tl.current=U,Ci!==null)throw Error(r(261));return Qi=null,Hi=0,ji}function cc(){for(;Ci!==null;)Bu(Ci)}function dc(){for(;Ci!==null&&!$s();)Bu(Ci)}function Bu(i){var f=Wu(i.alternate,i,ea);i.memoizedProps=i.pendingProps,f===null?Uu(i):Ci=f,Ml.current=null}function Uu(i){var f=i;do{var P=f.alternate;if(i=f.return,(f.flags&2048)==0){if(P=tc(P,f,ea),P!==null){Ci=P;return}if(P=f,P.tag!==24&&P.tag!==23||P.memoizedState===null||(ea&1073741824)!=0||(P.mode&4)==0){for(var U=0,se=P.child;se!==null;)U|=se.lanes|se.childLanes,se=se.sibling;P.childLanes=U}i!==null&&(i.flags&2048)==0&&(i.firstEffect===null&&(i.firstEffect=f.firstEffect),f.lastEffect!==null&&(i.lastEffect!==null&&(i.lastEffect.nextEffect=f.firstEffect),i.lastEffect=f.lastEffect),1<f.flags&&(i.lastEffect!==null?i.lastEffect.nextEffect=f:i.firstEffect=f,i.lastEffect=f))}else{if(P=nc(f),P!==null){P.flags&=2047,Ci=P;return}i!==null&&(i.firstEffect=i.lastEffect=null,i.flags|=2048)}if(f=f.sibling,f!==null){Ci=f;return}Ci=f=i}while(f!==null);ji===0&&(ji=5)}function ta(i){var f=Sn();return tr(99,fc.bind(null,i,f)),null}function fc(i,f){do ks();while(Fa!==null);if((yr&48)!=0)throw Error(r(327));var P=i.finishedWork;if(P===null)return null;if(i.finishedWork=null,i.finishedLanes=0,P===i.current)throw Error(r(177));i.callbackNode=null;var U=P.lanes|P.childLanes,se=U,Oe=i.pendingLanes&~se;i.pendingLanes=se,i.suspendedLanes=0,i.pingedLanes=0,i.expiredLanes&=se,i.mutableReadLanes&=se,i.entangledLanes&=se,se=i.entanglements;for(var je=i.eventTimes,tt=i.expirationTimes;0<Oe;){var yt=31-cr(Oe),Jt=1<<yt;se[yt]=0,je[yt]=-1,tt[yt]=-1,Oe&=~Jt}if(gs!==null&&(U&24)==0&&gs.has(i)&&gs.delete(i),i===Qi&&(Ci=Qi=null,Hi=0),1<P.flags?P.lastEffect!==null?(P.lastEffect.nextEffect=P,U=P.firstEffect):U=P:U=P.firstEffect,U!==null){if(se=yr,yr|=32,Ml.current=null,$i=lr,je=ki(),Ks(je)){if("selectionStart"in je)tt={start:je.selectionStart,end:je.selectionEnd};else e:if(tt=(tt=je.ownerDocument)&&tt.defaultView||window,(Jt=tt.getSelection&&tt.getSelection())&&Jt.rangeCount!==0){tt=Jt.anchorNode,Oe=Jt.anchorOffset,yt=Jt.focusNode,Jt=Jt.focusOffset;try{tt.nodeType,yt.nodeType}catch(wr){tt=null;break e}var Un=0,Or=-1,gn=-1,rr=0,br=0,gr=je,kt=null;t:for(;;){for(var St;gr!==tt||Oe!==0&&gr.nodeType!==3||(Or=Un+Oe),gr!==yt||Jt!==0&&gr.nodeType!==3||(gn=Un+Jt),gr.nodeType===3&&(Un+=gr.nodeValue.length),(St=gr.firstChild)!==null;)kt=gr,gr=St;for(;;){if(gr===je)break t;if(kt===tt&&++rr===Oe&&(Or=Un),kt===yt&&++br===Jt&&(gn=Un),(St=gr.nextSibling)!==null)break;gr=kt,kt=gr.parentNode}gr=St}tt=Or===-1||gn===-1?null:{start:Or,end:gn}}else tt=null;tt=tt||{start:0,end:0}}else tt=null;_o={focusedElem:je,selectionRange:tt},lr=!1,Ua=null,sl=!1,Kn=U;do try{pc()}catch(wr){if(Kn===null)throw Error(r(330));Bs(Kn,wr),Kn=Kn.nextEffect}while(Kn!==null);Ua=null,Kn=U;do try{for(je=i;Kn!==null;){var jt=Kn.flags;if(jt&16&&Je(Kn.stateNode,""),jt&128){var ln=Kn.alternate;if(ln!==null){var mn=ln.ref;mn!==null&&(typeof mn=="function"?mn(null):mn.current=null)}}switch(jt&1038){case 2:Du(Kn),Kn.flags&=-3;break;case 6:Du(Kn),Kn.flags&=-3,$l(Kn.alternate,Kn);break;case 1024:Kn.flags&=-1025;break;case 1028:Kn.flags&=-1025,$l(Kn.alternate,Kn);break;case 4:$l(Kn.alternate,Kn);break;case 8:tt=Kn,$u(je,tt);var Pr=tt.alternate;Au(tt),Pr!==null&&Au(Pr)}Kn=Kn.nextEffect}}catch(wr){if(Kn===null)throw Error(r(330));Bs(Kn,wr),Kn=Kn.nextEffect}while(Kn!==null);if(mn=_o,ln=ki(),jt=mn.focusedElem,je=mn.selectionRange,ln!==jt&&jt&&jt.ownerDocument&&Ji(jt.ownerDocument.documentElement,jt)){for(je!==null&&Ks(jt)&&(ln=je.start,mn=je.end,mn===void 0&&(mn=ln),"selectionStart"in jt?(jt.selectionStart=ln,jt.selectionEnd=Math.min(mn,jt.value.length)):(mn=(ln=jt.ownerDocument||document)&&ln.defaultView||window,mn.getSelection&&(mn=mn.getSelection(),tt=jt.textContent.length,Pr=Math.min(je.start,tt),je=je.end===void 0?Pr:Math.min(je.end,tt),!mn.extend&&Pr>je&&(tt=je,je=Pr,Pr=tt),tt=or(jt,Pr),Oe=or(jt,je),tt&&Oe&&(mn.rangeCount!==1||mn.anchorNode!==tt.node||mn.anchorOffset!==tt.offset||mn.focusNode!==Oe.node||mn.focusOffset!==Oe.offset)&&(ln=ln.createRange(),ln.setStart(tt.node,tt.offset),mn.removeAllRanges(),Pr>je?(mn.addRange(ln),mn.extend(Oe.node,Oe.offset)):(ln.setEnd(Oe.node,Oe.offset),mn.addRange(ln)))))),ln=[],mn=jt;mn=mn.parentNode;)mn.nodeType===1&&ln.push({element:mn,left:mn.scrollLeft,top:mn.scrollTop});for(typeof jt.focus=="function"&&jt.focus(),jt=0;jt<ln.length;jt++)mn=ln[jt],mn.element.scrollLeft=mn.left,mn.element.scrollTop=mn.top}lr=!!$i,_o=$i=null,i.current=P,Kn=U;do try{for(jt=i;Kn!==null;){var Zn=Kn.flags;if(Zn&36&&sc(jt,Kn.alternate,Kn),Zn&128){ln=void 0;var xr=Kn.ref;if(xr!==null){var Ir=Kn.stateNode;switch(Kn.tag){case 5:ln=Ir;break;default:ln=Ir}typeof xr=="function"?xr(ln):xr.current=ln}}Kn=Kn.nextEffect}}catch(wr){if(Kn===null)throw Error(r(330));Bs(Kn,wr),Kn=Kn.nextEffect}while(Kn!==null);Kn=null,ge(),yr=se}else i.current=P;if(Ns)Ns=!1,Fa=i,ka=f;else for(Kn=U;Kn!==null;)f=Kn.nextEffect,Kn.nextEffect=null,Kn.flags&8&&(Zn=Kn,Zn.sibling=null,Zn.stateNode=null),Kn=f;if(U=i.pendingLanes,U===0&&(Qo=null),U===1?i===zl?Ba++:(Ba=0,zl=i):Ba=0,P=P.stateNode,zi&&typeof zi.onCommitFiberRoot=="function")try{zi.onCommitFiberRoot(Po,P,void 0,(P.current.flags&64)==64)}catch(wr){}if(To(i,_t()),rl)throw rl=!1,i=Bl,Bl=null,i;return(yr&8)!=0||me(),null}function pc(){for(;Kn!==null;){var i=Kn.alternate;sl||Ua===null||((Kn.flags&8)!=0?bn(Kn,Ua)&&(sl=!0):Kn.tag===13&&ac(i,Kn)&&bn(Kn,Ua)&&(sl=!0));var f=Kn.flags;(f&256)!=0&&oc(i,Kn),(f&512)==0||Ns||(Ns=!0,F(97,function(){return ks(),null})),Kn=Kn.nextEffect}}function ks(){if(ka!==90){var i=97<ka?97:ka;return ka=90,tr(i,mc)}return!1}function hc(i,f){Ul.push(f,i),Ns||(Ns=!0,F(97,function(){return ks(),null}))}function _u(i,f){_l.push(f,i),Ns||(Ns=!0,F(97,function(){return ks(),null}))}function mc(){if(Fa===null)return!1;var i=Fa;if(Fa=null,(yr&48)!=0)throw Error(r(331));var f=yr;yr|=32;var P=_l;_l=[];for(var U=0;U<P.length;U+=2){var se=P[U],Oe=P[U+1],je=se.destroy;if(se.destroy=void 0,typeof je=="function")try{je()}catch(yt){if(Oe===null)throw Error(r(330));Bs(Oe,yt)}}for(P=Ul,Ul=[],U=0;U<P.length;U+=2){se=P[U],Oe=P[U+1];try{var tt=se.create;se.destroy=tt()}catch(yt){if(Oe===null)throw Error(r(330));Bs(Oe,yt)}}for(tt=i.current.firstEffect;tt!==null;)i=tt.nextEffect,tt.nextEffect=null,tt.flags&8&&(tt.sibling=null,tt.stateNode=null),tt=i;return yr=f,me(),!0}function zu(i,f,P){f=Rl(P,f),f=xu(i,f,1),zn(i,f),f=uo(),i=al(i,1),i!==null&&(on(i,1,f),To(i,f))}function Bs(i,f){if(i.tag===3)zu(i,i,f);else for(var P=i.return;P!==null;){if(P.tag===3){zu(P,i,f);break}else if(P.tag===1){var U=P.stateNode;if(typeof P.type.getDerivedStateFromError=="function"||typeof U.componentDidCatch=="function"&&(Qo===null||!Qo.has(U))){i=Rl(f,i);var se=wu(P,i,1);if(zn(P,se),se=uo(),P=al(P,1),P!==null)on(P,1,se),To(P,se);else if(typeof U.componentDidCatch=="function"&&(Qo===null||!Qo.has(U)))try{U.componentDidCatch(f,i)}catch(Oe){}break}}P=P.return}}function gc(i,f,P){var U=i.pingCache;U!==null&&U.delete(f),f=uo(),i.pingedLanes|=i.suspendedLanes&P,Qi===i&&(Hi&P)===P&&(ji===4||ji===3&&(Hi&62914560)===Hi&&500>_t()-Fl?Oa(i,0):Nl|=P),To(i,f)}function vc(i,f){var P=i.stateNode;P!==null&&P.delete(f),f=0,f===0&&(f=i.mode,(f&2)==0?f=1:(f&4)==0?f=Sn()===99?1:2:(vs===0&&(vs=va),f=lt(62914560&~vs),f===0&&(f=4194304))),P=uo(),i=al(i,f),i!==null&&(on(i,f,P),To(i,P))}var Wu;Wu=function(i,f,P){var U=f.lanes;if(i!==null)if(i.memoizedProps!==f.pendingProps||Xr.current)No=!0;else if((P&U)!=0)No=(i.flags&16384)!=0;else{switch(No=!1,f.tag){case 3:hu(f),ml();break;case 5:Ka(f);break;case 1:Si(f.type)&&Ii(f);break;case 4:ps(f,f.stateNode.containerInfo);break;case 10:U=f.memoizedProps.value;var se=f.type._context;Qr(Wt,se._currentValue),se._currentValue=U;break;case 13:if(f.memoizedState!==null)return(P&f.child.childLanes)!=0?mu(i,f,P):(Qr(Jn,Jn.current&1),f=ms(i,f,P),f!==null?f.sibling:null);Qr(Jn,Jn.current&1);break;case 19:if(U=(P&f.childLanes)!=0,(i.flags&64)!=0){if(U)return Eu(i,f,P);f.flags|=64}if(se=f.memoizedState,se!==null&&(se.rendering=null,se.tail=null,se.lastEffect=null),Qr(Jn,Jn.current),U)break;return null;case 23:case 24:return f.lanes=0,Pl(i,f,P)}return ms(i,f,P)}else No=!1;switch(f.lanes=0,f.tag){case 2:if(U=f.type,i!==null&&(i.alternate=null,f.alternate=null,f.flags|=2),i=f.pendingProps,se=Oo(f,fi.current),Dt(f,P),se=yl(null,f,U,i,se,P),f.flags|=1,typeof se=="object"&&se!==null&&typeof se.render=="function"&&se.$$typeof===void 0){if(f.tag=1,f.memoizedState=null,f.updateQueue=null,Si(U)){var Oe=!0;Ii(f)}else Oe=!1;f.memoizedState=se.state!==null&&se.state!==void 0?se.state:null,fr(f);var je=U.getDerivedStateFromProps;typeof je=="function"&&ri(f,U,je,i),se.updater=ds,f.stateNode=se,se._reactInternals=f,Ca(f,U,i,P),f=wl(null,f,U,!0,Oe,P)}else f.tag=0,eo(null,f,se,P),f=f.child;return f;case 16:se=f.elementType;e:{switch(i!==null&&(i.alternate=null,f.alternate=null,f.flags|=2),i=f.pendingProps,Oe=se._init,se=Oe(se._payload),f.type=se,Oe=f.tag=bc(se),i=Qt(se,i),Oe){case 0:f=xl(null,f,se,i,P);break e;case 1:f=pu(null,f,se,i,P);break e;case 11:f=uu(null,f,se,i,P);break e;case 14:f=cu(null,f,se,Qt(se.type,i),U,P);break e}throw Error(r(306,se,""))}return f;case 0:return U=f.type,se=f.pendingProps,se=f.elementType===U?se:Qt(U,se),xl(i,f,U,se,P);case 1:return U=f.type,se=f.pendingProps,se=f.elementType===U?se:Qt(U,se),pu(i,f,U,se,P);case 3:if(hu(f),U=f.updateQueue,i===null||U===null)throw Error(r(282));if(U=f.pendingProps,se=f.memoizedState,se=se!==null?se.element:null,Tn(i,f),Mr(f,U,null,P),U=f.memoizedState.element,U===se)ml(),f=ms(i,f,P);else{if(se=f.stateNode,(Oe=se.hydrate)&&(Wi=Oi(f.stateNode.containerInfo.firstChild),Di=f,Oe=xi=!0),Oe){if(i=se.mutableSourceEagerHydrationData,i!=null)for(se=0;se<i.length;se+=2)Oe=i[se],Oe._workInProgressVersionPrimary=i[se+1],ga.push(Oe);for(P=Ha(f,null,U,P),f.child=P;P;)P.flags=P.flags&-3|1024,P=P.sibling}else eo(i,f,U,P),ml();f=f.child}return f;case 5:return Ka(f),i===null&&hl(f),U=f.type,se=f.pendingProps,Oe=i!==null?i.memoizedProps:null,je=se.children,si(U,se)?je=null:Oe!==null&&si(U,Oe)&&(f.flags|=16),fu(i,f),eo(i,f,je,P),f.child;case 6:return i===null&&hl(f),null;case 13:return mu(i,f,P);case 4:return ps(f,f.stateNode.containerInfo),U=f.pendingProps,i===null?f.child=ma(f,null,U,P):eo(i,f,U,P),f.child;case 11:return U=f.type,se=f.pendingProps,se=f.elementType===U?se:Qt(U,se),uu(i,f,U,se,P);case 7:return eo(i,f,f.pendingProps,P),f.child;case 8:return eo(i,f,f.pendingProps.children,P),f.child;case 12:return eo(i,f,f.pendingProps.children,P),f.child;case 10:e:{U=f.type._context,se=f.pendingProps,je=f.memoizedProps,Oe=se.value;var tt=f.type._context;if(Qr(Wt,tt._currentValue),tt._currentValue=Oe,je!==null)if(tt=je.value,Oe=Ri(tt,Oe)?0:(typeof U._calculateChangedBits=="function"?U._calculateChangedBits(tt,Oe):1073741823)|0,Oe===0){if(je.children===se.children&&!Xr.current){f=ms(i,f,P);break e}}else for(tt=f.child,tt!==null&&(tt.return=f);tt!==null;){var yt=tt.dependencies;if(yt!==null){je=tt.child;for(var Jt=yt.firstContext;Jt!==null;){if(Jt.context===U&&(Jt.observedBits&Oe)!=0){tt.tag===1&&(Jt=yn(-1,P&-P),Jt.tag=2,zn(tt,Jt)),tt.lanes|=P,Jt=tt.alternate,Jt!==null&&(Jt.lanes|=P),rn(tt.return,P),yt.lanes|=P;break}Jt=Jt.next}}else je=tt.tag===10&&tt.type===f.type?null:tt.child;if(je!==null)je.return=tt;else for(je=tt;je!==null;){if(je===f){je=null;break}if(tt=je.sibling,tt!==null){tt.return=je.return,je=tt;break}je=je.return}tt=je}eo(i,f,se.children,P),f=f.child}return f;case 9:return se=f.type,Oe=f.pendingProps,U=Oe.children,Dt(f,P),se=en(se,Oe.unstable_observedBits),U=U(se),f.flags|=1,eo(i,f,U,P),f.child;case 14:return se=f.type,Oe=Qt(se,f.pendingProps),Oe=Qt(se.type,Oe),cu(i,f,se,Oe,U,P);case 15:return du(i,f,f.type,f.pendingProps,U,P);case 17:return U=f.type,se=f.pendingProps,se=f.elementType===U?se:Qt(U,se),i!==null&&(i.alternate=null,f.alternate=null,f.flags|=2),f.tag=1,Si(U)?(i=!0,Ii(f)):i=!1,Dt(f,P),wa(f,U,se),Ca(f,U,se,P),wl(null,f,U,!0,i,P);case 19:return Eu(i,f,P);case 23:return Pl(i,f,P);case 24:return Pl(i,f,P)}throw Error(r(156,f.tag))};function yc(i,f,P,U){this.tag=i,this.key=P,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=f,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=U,this.flags=0,this.lastEffect=this.firstEffect=this.nextEffect=null,this.childLanes=this.lanes=0,this.alternate=null}function Co(i,f,P,U){return new yc(i,f,P,U)}function Hl(i){return i=i.prototype,!(!i||!i.isReactComponent)}function bc(i){if(typeof i=="function")return Hl(i)?1:0;if(i!=null){if(i=i.$$typeof,i===Ee)return 11;if(i===te)return 14}return 2}function Us(i,f){var P=i.alternate;return P===null?(P=Co(i.tag,f,i.key,i.mode),P.elementType=i.elementType,P.type=i.type,P.stateNode=i.stateNode,P.alternate=i,i.alternate=P):(P.pendingProps=f,P.type=i.type,P.flags=0,P.nextEffect=null,P.firstEffect=null,P.lastEffect=null),P.childLanes=i.childLanes,P.lanes=i.lanes,P.child=i.child,P.memoizedProps=i.memoizedProps,P.memoizedState=i.memoizedState,P.updateQueue=i.updateQueue,f=i.dependencies,P.dependencies=f===null?null:{lanes:f.lanes,firstContext:f.firstContext},P.sibling=i.sibling,P.index=i.index,P.ref=i.ref,P}function ul(i,f,P,U,se,Oe){var je=2;if(U=i,typeof i=="function")Hl(i)&&(je=1);else if(typeof i=="string")je=5;else e:switch(i){case k:return Sa(P.children,se,Oe,f);case J:je=8,se|=16;break;case G:je=8,se|=1;break;case Z:return i=Co(12,P,f,se|8),i.elementType=Z,i.type=Z,i.lanes=Oe,i;case Fe:return i=Co(13,P,f,se),i.type=Fe,i.elementType=Fe,i.lanes=Oe,i;case ce:return i=Co(19,P,f,se),i.elementType=ce,i.lanes=Oe,i;case re:return Kl(P,se,Oe,f);case W:return i=Co(24,P,f,se),i.elementType=W,i.lanes=Oe,i;default:if(typeof i=="object"&&i!==null)switch(i.$$typeof){case oe:je=10;break e;case ee:je=9;break e;case Ee:je=11;break e;case te:je=14;break e;case he:je=16,U=null;break e;case Q:je=22;break e}throw Error(r(130,i==null?i:typeof i,""))}return f=Co(je,P,f,se),f.elementType=i,f.type=U,f.lanes=Oe,f}function Sa(i,f,P,U){return i=Co(7,i,U,f),i.lanes=P,i}function Kl(i,f,P,U){return i=Co(23,i,U,f),i.elementType=re,i.lanes=P,i}function Ql(i,f,P){return i=Co(6,i,null,f),i.lanes=P,i}function Gl(i,f,P){return f=Co(4,i.children!==null?i.children:[],i.key,f),f.lanes=P,f.stateNode={containerInfo:i.containerInfo,pendingChildren:null,implementation:i.implementation},f}function Ec(i,f,P){this.tag=f,this.containerInfo=i,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.pendingContext=this.context=null,this.hydrate=P,this.callbackNode=null,this.callbackPriority=0,this.eventTimes=Ft(0),this.expirationTimes=Ft(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Ft(0),this.mutableSourceEagerHydrationData=null}function Oc(i,f,P){var U=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:g,key:U==null?null:""+U,children:i,containerInfo:f,implementation:P}}function cl(i,f,P,U){var se=f.current,Oe=uo(),je=js(se);e:if(P){P=P._reactInternals;t:{if(Xe(P)!==P||P.tag!==1)throw Error(r(170));var tt=P;do{switch(tt.tag){case 3:tt=tt.stateNode.context;break t;case 1:if(Si(tt.type)){tt=tt.stateNode.__reactInternalMemoizedMergedChildContext;break t}}tt=tt.return}while(tt!==null);throw Error(r(171))}if(P.tag===1){var yt=P.type;if(Si(yt)){P=Li(P,yt,tt);break e}}P=tt}else P=Ti;return f.context===null?f.context=P:f.pendingContext=P,f=yn(Oe,je),f.payload={element:i},U=U===void 0?null:U,U!==null&&(f.callback=U),zn(se,f),Fs(se,je,Oe),je}function Yl(i){if(i=i.current,!i.child)return null;switch(i.child.tag){case 5:return i.child.stateNode;default:return i.child.stateNode}}function Vu(i,f){if(i=i.memoizedState,i!==null&&i.dehydrated!==null){var P=i.retryLane;i.retryLane=P!==0&&P<f?P:f}}function Jl(i,f){Vu(i,f),(i=i.alternate)&&Vu(i,f)}function Sc(){return null}function Zl(i,f,P){var U=P!=null&&P.hydrationOptions!=null&&P.hydrationOptions.mutableSources||null;if(P=new Ec(i,f,P!=null&&P.hydrate===!0),f=Co(3,null,null,f===2?7:f===1?3:0),P.current=f,f.stateNode=P,fr(f),i[Eo]=P.current,ss(i.nodeType===8?i.parentNode:i),U)for(i=0;i<U.length;i++){f=U[i];var se=f._getVersion;se=se(f._source),P.mutableSourceEagerHydrationData==null?P.mutableSourceEagerHydrationData=[f,se]:P.mutableSourceEagerHydrationData.push(f,se)}this._internalRoot=P}Zl.prototype.render=function(i){cl(i,this._internalRoot,null,null)},Zl.prototype.unmount=function(){var i=this._internalRoot,f=i.containerInfo;cl(null,i,null,function(){f[Eo]=null})};function za(i){return!(!i||i.nodeType!==1&&i.nodeType!==9&&i.nodeType!==11&&(i.nodeType!==8||i.nodeValue!==" react-mount-point-unstable "))}function Pc(i,f){if(f||(f=i?i.nodeType===9?i.documentElement:i.firstChild:null,f=!(!f||f.nodeType!==1||!f.hasAttribute("data-reactroot"))),!f)for(var P;P=i.lastChild;)i.removeChild(P);return new Zl(i,0,f?{hydrate:!0}:void 0)}function dl(i,f,P,U,se){var Oe=P._reactRootContainer;if(Oe){var je=Oe._internalRoot;if(typeof se=="function"){var tt=se;se=function(){var Jt=Yl(je);tt.call(Jt)}}cl(f,je,i,se)}else{if(Oe=P._reactRootContainer=Pc(P,U),je=Oe._internalRoot,typeof se=="function"){var yt=se;se=function(){var Jt=Yl(je);yt.call(Jt)}}ju(function(){cl(f,je,i,se)})}return Yl(je)}Fn=function(i){if(i.tag===13){var f=uo();Fs(i,4,f),Jl(i,4)}},Ln=function(i){if(i.tag===13){var f=uo();Fs(i,67108864,f),Jl(i,67108864)}},ir=function(i){if(i.tag===13){var f=uo(),P=js(i);Fs(i,P,f),Jl(i,P)}},Nn=function(i,f){return f()},pt=function(i,f,P){switch(f){case"input":if(ve(i,P),f=P.name,P.type==="radio"&&f!=null){for(P=i;P.parentNode;)P=P.parentNode;for(P=P.querySelectorAll("input[name="+JSON.stringify(""+f)+'][type="radio"]'),f=0;f<P.length;f++){var U=P[f];if(U!==i&&U.form===i.form){var se=Br(U);if(!se)throw Error(r(90));X(U),ve(U,se)}}}break;case"textarea":qe(i,P);break;case"select":f=P.value,f!=null&&ke(i,!!P.multiple,f,!1)}},Ke=Nu,Be=function(i,f,P,U,se){var Oe=yr;yr|=4;try{return tr(98,i.bind(null,f,P,U,se))}finally{yr=Oe,yr===0&&(ba(),me())}},it=function(){(yr&49)==0&&(uc(),ks())},Et=function(i,f){var P=yr;yr|=2;try{return i(f)}finally{yr=P,yr===0&&(ba(),me())}};function Hu(i,f){var P=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!za(f))throw Error(r(200));return Oc(i,f,null,P)}var xc={Events:[io,oo,Br,un,Cn,ks,{current:!1}]},Wa={findFiberByHostInstance:Zr,bundleType:0,version:"17.0.2",rendererPackageName:"react-dom"},wc={bundleType:Wa.bundleType,version:Wa.version,rendererPackageName:Wa.rendererPackageName,rendererConfig:Wa.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:x.ReactCurrentDispatcher,findHostInstanceByFiber:function(i){return i=qt(i),i===null?null:i.stateNode},findFiberByHostInstance:Wa.findFiberByHostInstance||Sc,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__!="undefined"){var fl=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!fl.isDisabled&&fl.supportsFiber)try{Po=fl.inject(wc),zi=fl}catch(i){}}t=xc,t=Hu,t=function(i){if(i==null)return null;if(i.nodeType===1)return i;var f=i._reactInternals;if(f===void 0)throw typeof i.render=="function"?Error(r(188)):Error(r(268,Object.keys(i)));return i=qt(f),i=i===null?null:i.stateNode,i},t=function(i,f){var P=yr;if((P&48)!=0)return i(f);yr|=1;try{if(i)return tr(99,i.bind(null,f))}finally{yr=P,me()}},n.hydrate=function(i,f,P){if(!za(f))throw Error(r(200));return dl(null,i,f,!0,P)},n.render=function(i,f,P){if(!za(f))throw Error(r(200));return dl(null,i,f,!1,P)},t=function(i){if(!za(i))throw Error(r(40));return i._reactRootContainer?(ju(function(){dl(null,null,i,!1,function(){i._reactRootContainer=null,i[Eo]=null})}),!0):!1},n.unstable_batchedUpdates=Nu,t=function(i,f){return Hu(i,f,2<arguments.length&&arguments[2]!==void 0?arguments[2]:null)},t=function(i,f,P,U){if(!za(P))throw Error(r(200));if(i==null||i._reactInternals===void 0)throw Error(r(38));return dl(i,f,P,!1,U)},t="17.0.2"},73935:(L,n,e)=>{"use strict";function t(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__=="undefined"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(t)}catch(l){console.error(l)}}t(),L.exports=e(64448)},69921:(L,n)=>{"use strict";var e;/** @license React v17.0.2
|
|
2943
|
+
Add a <Suspense fallback=...> component higher in the tree to provide a loading indicator or placeholder to display.`)}ji!==5&&(ji=2),yt=Rl(yt,tt),gn=je;do{switch(gn.tag){case 3:Oe=yt,gn.flags|=4096,f&=-f,gn.lanes|=f;var Pr=xu(gn,Oe,f);Vn(gn,Pr);break e;case 1:Oe=yt;var Zn=gn.type,xr=gn.stateNode;if((gn.flags&64)==0&&(typeof Zn.getDerivedStateFromError=="function"||xr!==null&&typeof xr.componentDidCatch=="function"&&(Qo===null||!Qo.has(xr)))){gn.flags|=4096,f&=-f,gn.lanes|=f;var Ir=wu(gn,Oe,f);Vn(gn,Ir);break e}}gn=gn.return}while(gn!==null)}Uu(P)}catch(wr){f=wr,Ci===P&&P!==null&&(Ci=P=P.return);continue}break}while(1)}function ku(){var i=tl.current;return tl.current=qa,i===null?qa:i}function _a(i,f){var P=yr;yr|=16;var U=ku();Qi===i&&Hi===f||Oa(i,f);do try{cc();break}catch(se){Fu(i,se)}while(1);if(mt(),yr=P,tl.current=U,Ci!==null)throw Error(r(261));return Qi=null,Hi=0,ji}function cc(){for(;Ci!==null;)Bu(Ci)}function dc(){for(;Ci!==null&&!$s();)Bu(Ci)}function Bu(i){var f=Wu(i.alternate,i,ea);i.memoizedProps=i.pendingProps,f===null?Uu(i):Ci=f,Ml.current=null}function Uu(i){var f=i;do{var P=f.alternate;if(i=f.return,(f.flags&2048)==0){if(P=tc(P,f,ea),P!==null){Ci=P;return}if(P=f,P.tag!==24&&P.tag!==23||P.memoizedState===null||(ea&1073741824)!=0||(P.mode&4)==0){for(var U=0,se=P.child;se!==null;)U|=se.lanes|se.childLanes,se=se.sibling;P.childLanes=U}i!==null&&(i.flags&2048)==0&&(i.firstEffect===null&&(i.firstEffect=f.firstEffect),f.lastEffect!==null&&(i.lastEffect!==null&&(i.lastEffect.nextEffect=f.firstEffect),i.lastEffect=f.lastEffect),1<f.flags&&(i.lastEffect!==null?i.lastEffect.nextEffect=f:i.firstEffect=f,i.lastEffect=f))}else{if(P=nc(f),P!==null){P.flags&=2047,Ci=P;return}i!==null&&(i.firstEffect=i.lastEffect=null,i.flags|=2048)}if(f=f.sibling,f!==null){Ci=f;return}Ci=f=i}while(f!==null);ji===0&&(ji=5)}function ta(i){var f=Sn();return tr(99,fc.bind(null,i,f)),null}function fc(i,f){do ks();while(Fa!==null);if((yr&48)!=0)throw Error(r(327));var P=i.finishedWork;if(P===null)return null;if(i.finishedWork=null,i.finishedLanes=0,P===i.current)throw Error(r(177));i.callbackNode=null;var U=P.lanes|P.childLanes,se=U,Oe=i.pendingLanes&~se;i.pendingLanes=se,i.suspendedLanes=0,i.pingedLanes=0,i.expiredLanes&=se,i.mutableReadLanes&=se,i.entangledLanes&=se,se=i.entanglements;for(var je=i.eventTimes,tt=i.expirationTimes;0<Oe;){var yt=31-cr(Oe),Jt=1<<yt;se[yt]=0,je[yt]=-1,tt[yt]=-1,Oe&=~Jt}if(gs!==null&&(U&24)==0&&gs.has(i)&&gs.delete(i),i===Qi&&(Ci=Qi=null,Hi=0),1<P.flags?P.lastEffect!==null?(P.lastEffect.nextEffect=P,U=P.firstEffect):U=P:U=P.firstEffect,U!==null){if(se=yr,yr|=32,Ml.current=null,$i=lr,je=ki(),Ks(je)){if("selectionStart"in je)tt={start:je.selectionStart,end:je.selectionEnd};else e:if(tt=(tt=je.ownerDocument)&&tt.defaultView||window,(Jt=tt.getSelection&&tt.getSelection())&&Jt.rangeCount!==0){tt=Jt.anchorNode,Oe=Jt.anchorOffset,yt=Jt.focusNode,Jt=Jt.focusOffset;try{tt.nodeType,yt.nodeType}catch(wr){tt=null;break e}var Un=0,Or=-1,gn=-1,ir=0,br=0,gr=je,kt=null;t:for(;;){for(var St;gr!==tt||Oe!==0&&gr.nodeType!==3||(Or=Un+Oe),gr!==yt||Jt!==0&&gr.nodeType!==3||(gn=Un+Jt),gr.nodeType===3&&(Un+=gr.nodeValue.length),(St=gr.firstChild)!==null;)kt=gr,gr=St;for(;;){if(gr===je)break t;if(kt===tt&&++ir===Oe&&(Or=Un),kt===yt&&++br===Jt&&(gn=Un),(St=gr.nextSibling)!==null)break;gr=kt,kt=gr.parentNode}gr=St}tt=Or===-1||gn===-1?null:{start:Or,end:gn}}else tt=null;tt=tt||{start:0,end:0}}else tt=null;_o={focusedElem:je,selectionRange:tt},lr=!1,Ua=null,sl=!1,Kn=U;do try{pc()}catch(wr){if(Kn===null)throw Error(r(330));Bs(Kn,wr),Kn=Kn.nextEffect}while(Kn!==null);Ua=null,Kn=U;do try{for(je=i;Kn!==null;){var Ft=Kn.flags;if(Ft&16&&Je(Kn.stateNode,""),Ft&128){var un=Kn.alternate;if(un!==null){var mn=un.ref;mn!==null&&(typeof mn=="function"?mn(null):mn.current=null)}}switch(Ft&1038){case 2:Du(Kn),Kn.flags&=-3;break;case 6:Du(Kn),Kn.flags&=-3,$l(Kn.alternate,Kn);break;case 1024:Kn.flags&=-1025;break;case 1028:Kn.flags&=-1025,$l(Kn.alternate,Kn);break;case 4:$l(Kn.alternate,Kn);break;case 8:tt=Kn,$u(je,tt);var Pr=tt.alternate;Au(tt),Pr!==null&&Au(Pr)}Kn=Kn.nextEffect}}catch(wr){if(Kn===null)throw Error(r(330));Bs(Kn,wr),Kn=Kn.nextEffect}while(Kn!==null);if(mn=_o,un=ki(),Ft=mn.focusedElem,je=mn.selectionRange,un!==Ft&&Ft&&Ft.ownerDocument&&Ji(Ft.ownerDocument.documentElement,Ft)){for(je!==null&&Ks(Ft)&&(un=je.start,mn=je.end,mn===void 0&&(mn=un),"selectionStart"in Ft?(Ft.selectionStart=un,Ft.selectionEnd=Math.min(mn,Ft.value.length)):(mn=(un=Ft.ownerDocument||document)&&un.defaultView||window,mn.getSelection&&(mn=mn.getSelection(),tt=Ft.textContent.length,Pr=Math.min(je.start,tt),je=je.end===void 0?Pr:Math.min(je.end,tt),!mn.extend&&Pr>je&&(tt=je,je=Pr,Pr=tt),tt=or(Ft,Pr),Oe=or(Ft,je),tt&&Oe&&(mn.rangeCount!==1||mn.anchorNode!==tt.node||mn.anchorOffset!==tt.offset||mn.focusNode!==Oe.node||mn.focusOffset!==Oe.offset)&&(un=un.createRange(),un.setStart(tt.node,tt.offset),mn.removeAllRanges(),Pr>je?(mn.addRange(un),mn.extend(Oe.node,Oe.offset)):(un.setEnd(Oe.node,Oe.offset),mn.addRange(un)))))),un=[],mn=Ft;mn=mn.parentNode;)mn.nodeType===1&&un.push({element:mn,left:mn.scrollLeft,top:mn.scrollTop});for(typeof Ft.focus=="function"&&Ft.focus(),Ft=0;Ft<un.length;Ft++)mn=un[Ft],mn.element.scrollLeft=mn.left,mn.element.scrollTop=mn.top}lr=!!$i,_o=$i=null,i.current=P,Kn=U;do try{for(Ft=i;Kn!==null;){var Zn=Kn.flags;if(Zn&36&&sc(Ft,Kn.alternate,Kn),Zn&128){un=void 0;var xr=Kn.ref;if(xr!==null){var Ir=Kn.stateNode;switch(Kn.tag){case 5:un=Ir;break;default:un=Ir}typeof xr=="function"?xr(un):xr.current=un}}Kn=Kn.nextEffect}}catch(wr){if(Kn===null)throw Error(r(330));Bs(Kn,wr),Kn=Kn.nextEffect}while(Kn!==null);Kn=null,ge(),yr=se}else i.current=P;if(Ns)Ns=!1,Fa=i,ka=f;else for(Kn=U;Kn!==null;)f=Kn.nextEffect,Kn.nextEffect=null,Kn.flags&8&&(Zn=Kn,Zn.sibling=null,Zn.stateNode=null),Kn=f;if(U=i.pendingLanes,U===0&&(Qo=null),U===1?i===zl?Ba++:(Ba=0,zl=i):Ba=0,P=P.stateNode,zi&&typeof zi.onCommitFiberRoot=="function")try{zi.onCommitFiberRoot(Po,P,void 0,(P.current.flags&64)==64)}catch(wr){}if(To(i,_t()),rl)throw rl=!1,i=Bl,Bl=null,i;return(yr&8)!=0||me(),null}function pc(){for(;Kn!==null;){var i=Kn.alternate;sl||Ua===null||((Kn.flags&8)!=0?bn(Kn,Ua)&&(sl=!0):Kn.tag===13&&ac(i,Kn)&&bn(Kn,Ua)&&(sl=!0));var f=Kn.flags;(f&256)!=0&&oc(i,Kn),(f&512)==0||Ns||(Ns=!0,F(97,function(){return ks(),null})),Kn=Kn.nextEffect}}function ks(){if(ka!==90){var i=97<ka?97:ka;return ka=90,tr(i,mc)}return!1}function hc(i,f){Ul.push(f,i),Ns||(Ns=!0,F(97,function(){return ks(),null}))}function _u(i,f){_l.push(f,i),Ns||(Ns=!0,F(97,function(){return ks(),null}))}function mc(){if(Fa===null)return!1;var i=Fa;if(Fa=null,(yr&48)!=0)throw Error(r(331));var f=yr;yr|=32;var P=_l;_l=[];for(var U=0;U<P.length;U+=2){var se=P[U],Oe=P[U+1],je=se.destroy;if(se.destroy=void 0,typeof je=="function")try{je()}catch(yt){if(Oe===null)throw Error(r(330));Bs(Oe,yt)}}for(P=Ul,Ul=[],U=0;U<P.length;U+=2){se=P[U],Oe=P[U+1];try{var tt=se.create;se.destroy=tt()}catch(yt){if(Oe===null)throw Error(r(330));Bs(Oe,yt)}}for(tt=i.current.firstEffect;tt!==null;)i=tt.nextEffect,tt.nextEffect=null,tt.flags&8&&(tt.sibling=null,tt.stateNode=null),tt=i;return yr=f,me(),!0}function zu(i,f,P){f=Rl(P,f),f=xu(i,f,1),zn(i,f),f=uo(),i=al(i,1),i!==null&&(on(i,1,f),To(i,f))}function Bs(i,f){if(i.tag===3)zu(i,i,f);else for(var P=i.return;P!==null;){if(P.tag===3){zu(P,i,f);break}else if(P.tag===1){var U=P.stateNode;if(typeof P.type.getDerivedStateFromError=="function"||typeof U.componentDidCatch=="function"&&(Qo===null||!Qo.has(U))){i=Rl(f,i);var se=wu(P,i,1);if(zn(P,se),se=uo(),P=al(P,1),P!==null)on(P,1,se),To(P,se);else if(typeof U.componentDidCatch=="function"&&(Qo===null||!Qo.has(U)))try{U.componentDidCatch(f,i)}catch(Oe){}break}}P=P.return}}function gc(i,f,P){var U=i.pingCache;U!==null&&U.delete(f),f=uo(),i.pingedLanes|=i.suspendedLanes&P,Qi===i&&(Hi&P)===P&&(ji===4||ji===3&&(Hi&62914560)===Hi&&500>_t()-Fl?Oa(i,0):Nl|=P),To(i,f)}function vc(i,f){var P=i.stateNode;P!==null&&P.delete(f),f=0,f===0&&(f=i.mode,(f&2)==0?f=1:(f&4)==0?f=Sn()===99?1:2:(vs===0&&(vs=va),f=lt(62914560&~vs),f===0&&(f=4194304))),P=uo(),i=al(i,f),i!==null&&(on(i,f,P),To(i,P))}var Wu;Wu=function(i,f,P){var U=f.lanes;if(i!==null)if(i.memoizedProps!==f.pendingProps||Xr.current)No=!0;else if((P&U)!=0)No=(i.flags&16384)!=0;else{switch(No=!1,f.tag){case 3:hu(f),ml();break;case 5:Ka(f);break;case 1:Si(f.type)&&Ii(f);break;case 4:ps(f,f.stateNode.containerInfo);break;case 10:U=f.memoizedProps.value;var se=f.type._context;Qr(Wt,se._currentValue),se._currentValue=U;break;case 13:if(f.memoizedState!==null)return(P&f.child.childLanes)!=0?mu(i,f,P):(Qr(Jn,Jn.current&1),f=ms(i,f,P),f!==null?f.sibling:null);Qr(Jn,Jn.current&1);break;case 19:if(U=(P&f.childLanes)!=0,(i.flags&64)!=0){if(U)return Eu(i,f,P);f.flags|=64}if(se=f.memoizedState,se!==null&&(se.rendering=null,se.tail=null,se.lastEffect=null),Qr(Jn,Jn.current),U)break;return null;case 23:case 24:return f.lanes=0,Pl(i,f,P)}return ms(i,f,P)}else No=!1;switch(f.lanes=0,f.tag){case 2:if(U=f.type,i!==null&&(i.alternate=null,f.alternate=null,f.flags|=2),i=f.pendingProps,se=Oo(f,fi.current),Dt(f,P),se=yl(null,f,U,i,se,P),f.flags|=1,typeof se=="object"&&se!==null&&typeof se.render=="function"&&se.$$typeof===void 0){if(f.tag=1,f.memoizedState=null,f.updateQueue=null,Si(U)){var Oe=!0;Ii(f)}else Oe=!1;f.memoizedState=se.state!==null&&se.state!==void 0?se.state:null,fr(f);var je=U.getDerivedStateFromProps;typeof je=="function"&&ri(f,U,je,i),se.updater=ds,f.stateNode=se,se._reactInternals=f,Ca(f,U,i,P),f=wl(null,f,U,!0,Oe,P)}else f.tag=0,eo(null,f,se,P),f=f.child;return f;case 16:se=f.elementType;e:{switch(i!==null&&(i.alternate=null,f.alternate=null,f.flags|=2),i=f.pendingProps,Oe=se._init,se=Oe(se._payload),f.type=se,Oe=f.tag=bc(se),i=Gt(se,i),Oe){case 0:f=xl(null,f,se,i,P);break e;case 1:f=pu(null,f,se,i,P);break e;case 11:f=uu(null,f,se,i,P);break e;case 14:f=cu(null,f,se,Gt(se.type,i),U,P);break e}throw Error(r(306,se,""))}return f;case 0:return U=f.type,se=f.pendingProps,se=f.elementType===U?se:Gt(U,se),xl(i,f,U,se,P);case 1:return U=f.type,se=f.pendingProps,se=f.elementType===U?se:Gt(U,se),pu(i,f,U,se,P);case 3:if(hu(f),U=f.updateQueue,i===null||U===null)throw Error(r(282));if(U=f.pendingProps,se=f.memoizedState,se=se!==null?se.element:null,Cn(i,f),Mr(f,U,null,P),U=f.memoizedState.element,U===se)ml(),f=ms(i,f,P);else{if(se=f.stateNode,(Oe=se.hydrate)&&(Wi=Oi(f.stateNode.containerInfo.firstChild),Di=f,Oe=xi=!0),Oe){if(i=se.mutableSourceEagerHydrationData,i!=null)for(se=0;se<i.length;se+=2)Oe=i[se],Oe._workInProgressVersionPrimary=i[se+1],ga.push(Oe);for(P=Ha(f,null,U,P),f.child=P;P;)P.flags=P.flags&-3|1024,P=P.sibling}else eo(i,f,U,P),ml();f=f.child}return f;case 5:return Ka(f),i===null&&hl(f),U=f.type,se=f.pendingProps,Oe=i!==null?i.memoizedProps:null,je=se.children,si(U,se)?je=null:Oe!==null&&si(U,Oe)&&(f.flags|=16),fu(i,f),eo(i,f,je,P),f.child;case 6:return i===null&&hl(f),null;case 13:return mu(i,f,P);case 4:return ps(f,f.stateNode.containerInfo),U=f.pendingProps,i===null?f.child=ma(f,null,U,P):eo(i,f,U,P),f.child;case 11:return U=f.type,se=f.pendingProps,se=f.elementType===U?se:Gt(U,se),uu(i,f,U,se,P);case 7:return eo(i,f,f.pendingProps,P),f.child;case 8:return eo(i,f,f.pendingProps.children,P),f.child;case 12:return eo(i,f,f.pendingProps.children,P),f.child;case 10:e:{U=f.type._context,se=f.pendingProps,je=f.memoizedProps,Oe=se.value;var tt=f.type._context;if(Qr(Wt,tt._currentValue),tt._currentValue=Oe,je!==null)if(tt=je.value,Oe=Ri(tt,Oe)?0:(typeof U._calculateChangedBits=="function"?U._calculateChangedBits(tt,Oe):1073741823)|0,Oe===0){if(je.children===se.children&&!Xr.current){f=ms(i,f,P);break e}}else for(tt=f.child,tt!==null&&(tt.return=f);tt!==null;){var yt=tt.dependencies;if(yt!==null){je=tt.child;for(var Jt=yt.firstContext;Jt!==null;){if(Jt.context===U&&(Jt.observedBits&Oe)!=0){tt.tag===1&&(Jt=yn(-1,P&-P),Jt.tag=2,zn(tt,Jt)),tt.lanes|=P,Jt=tt.alternate,Jt!==null&&(Jt.lanes|=P),rn(tt.return,P),yt.lanes|=P;break}Jt=Jt.next}}else je=tt.tag===10&&tt.type===f.type?null:tt.child;if(je!==null)je.return=tt;else for(je=tt;je!==null;){if(je===f){je=null;break}if(tt=je.sibling,tt!==null){tt.return=je.return,je=tt;break}je=je.return}tt=je}eo(i,f,se.children,P),f=f.child}return f;case 9:return se=f.type,Oe=f.pendingProps,U=Oe.children,Dt(f,P),se=en(se,Oe.unstable_observedBits),U=U(se),f.flags|=1,eo(i,f,U,P),f.child;case 14:return se=f.type,Oe=Gt(se,f.pendingProps),Oe=Gt(se.type,Oe),cu(i,f,se,Oe,U,P);case 15:return du(i,f,f.type,f.pendingProps,U,P);case 17:return U=f.type,se=f.pendingProps,se=f.elementType===U?se:Gt(U,se),i!==null&&(i.alternate=null,f.alternate=null,f.flags|=2),f.tag=1,Si(U)?(i=!0,Ii(f)):i=!1,Dt(f,P),wa(f,U,se),Ca(f,U,se,P),wl(null,f,U,!0,i,P);case 19:return Eu(i,f,P);case 23:return Pl(i,f,P);case 24:return Pl(i,f,P)}throw Error(r(156,f.tag))};function yc(i,f,P,U){this.tag=i,this.key=P,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=f,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=U,this.flags=0,this.lastEffect=this.firstEffect=this.nextEffect=null,this.childLanes=this.lanes=0,this.alternate=null}function Co(i,f,P,U){return new yc(i,f,P,U)}function Hl(i){return i=i.prototype,!(!i||!i.isReactComponent)}function bc(i){if(typeof i=="function")return Hl(i)?1:0;if(i!=null){if(i=i.$$typeof,i===Ee)return 11;if(i===te)return 14}return 2}function Us(i,f){var P=i.alternate;return P===null?(P=Co(i.tag,f,i.key,i.mode),P.elementType=i.elementType,P.type=i.type,P.stateNode=i.stateNode,P.alternate=i,i.alternate=P):(P.pendingProps=f,P.type=i.type,P.flags=0,P.nextEffect=null,P.firstEffect=null,P.lastEffect=null),P.childLanes=i.childLanes,P.lanes=i.lanes,P.child=i.child,P.memoizedProps=i.memoizedProps,P.memoizedState=i.memoizedState,P.updateQueue=i.updateQueue,f=i.dependencies,P.dependencies=f===null?null:{lanes:f.lanes,firstContext:f.firstContext},P.sibling=i.sibling,P.index=i.index,P.ref=i.ref,P}function ul(i,f,P,U,se,Oe){var je=2;if(U=i,typeof i=="function")Hl(i)&&(je=1);else if(typeof i=="string")je=5;else e:switch(i){case k:return Sa(P.children,se,Oe,f);case J:je=8,se|=16;break;case G:je=8,se|=1;break;case Z:return i=Co(12,P,f,se|8),i.elementType=Z,i.type=Z,i.lanes=Oe,i;case Fe:return i=Co(13,P,f,se),i.type=Fe,i.elementType=Fe,i.lanes=Oe,i;case ce:return i=Co(19,P,f,se),i.elementType=ce,i.lanes=Oe,i;case re:return Kl(P,se,Oe,f);case W:return i=Co(24,P,f,se),i.elementType=W,i.lanes=Oe,i;default:if(typeof i=="object"&&i!==null)switch(i.$$typeof){case oe:je=10;break e;case ee:je=9;break e;case Ee:je=11;break e;case te:je=14;break e;case he:je=16,U=null;break e;case Q:je=22;break e}throw Error(r(130,i==null?i:typeof i,""))}return f=Co(je,P,f,se),f.elementType=i,f.type=U,f.lanes=Oe,f}function Sa(i,f,P,U){return i=Co(7,i,U,f),i.lanes=P,i}function Kl(i,f,P,U){return i=Co(23,i,U,f),i.elementType=re,i.lanes=P,i}function Ql(i,f,P){return i=Co(6,i,null,f),i.lanes=P,i}function Gl(i,f,P){return f=Co(4,i.children!==null?i.children:[],i.key,f),f.lanes=P,f.stateNode={containerInfo:i.containerInfo,pendingChildren:null,implementation:i.implementation},f}function Ec(i,f,P){this.tag=f,this.containerInfo=i,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.pendingContext=this.context=null,this.hydrate=P,this.callbackNode=null,this.callbackPriority=0,this.eventTimes=jt(0),this.expirationTimes=jt(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=jt(0),this.mutableSourceEagerHydrationData=null}function Oc(i,f,P){var U=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:g,key:U==null?null:""+U,children:i,containerInfo:f,implementation:P}}function cl(i,f,P,U){var se=f.current,Oe=uo(),je=js(se);e:if(P){P=P._reactInternals;t:{if(Xe(P)!==P||P.tag!==1)throw Error(r(170));var tt=P;do{switch(tt.tag){case 3:tt=tt.stateNode.context;break t;case 1:if(Si(tt.type)){tt=tt.stateNode.__reactInternalMemoizedMergedChildContext;break t}}tt=tt.return}while(tt!==null);throw Error(r(171))}if(P.tag===1){var yt=P.type;if(Si(yt)){P=Li(P,yt,tt);break e}}P=tt}else P=Ti;return f.context===null?f.context=P:f.pendingContext=P,f=yn(Oe,je),f.payload={element:i},U=U===void 0?null:U,U!==null&&(f.callback=U),zn(se,f),Fs(se,je,Oe),je}function Yl(i){if(i=i.current,!i.child)return null;switch(i.child.tag){case 5:return i.child.stateNode;default:return i.child.stateNode}}function Vu(i,f){if(i=i.memoizedState,i!==null&&i.dehydrated!==null){var P=i.retryLane;i.retryLane=P!==0&&P<f?P:f}}function Jl(i,f){Vu(i,f),(i=i.alternate)&&Vu(i,f)}function Sc(){return null}function Zl(i,f,P){var U=P!=null&&P.hydrationOptions!=null&&P.hydrationOptions.mutableSources||null;if(P=new Ec(i,f,P!=null&&P.hydrate===!0),f=Co(3,null,null,f===2?7:f===1?3:0),P.current=f,f.stateNode=P,fr(f),i[Eo]=P.current,ss(i.nodeType===8?i.parentNode:i),U)for(i=0;i<U.length;i++){f=U[i];var se=f._getVersion;se=se(f._source),P.mutableSourceEagerHydrationData==null?P.mutableSourceEagerHydrationData=[f,se]:P.mutableSourceEagerHydrationData.push(f,se)}this._internalRoot=P}Zl.prototype.render=function(i){cl(i,this._internalRoot,null,null)},Zl.prototype.unmount=function(){var i=this._internalRoot,f=i.containerInfo;cl(null,i,null,function(){f[Eo]=null})};function za(i){return!(!i||i.nodeType!==1&&i.nodeType!==9&&i.nodeType!==11&&(i.nodeType!==8||i.nodeValue!==" react-mount-point-unstable "))}function Pc(i,f){if(f||(f=i?i.nodeType===9?i.documentElement:i.firstChild:null,f=!(!f||f.nodeType!==1||!f.hasAttribute("data-reactroot"))),!f)for(var P;P=i.lastChild;)i.removeChild(P);return new Zl(i,0,f?{hydrate:!0}:void 0)}function dl(i,f,P,U,se){var Oe=P._reactRootContainer;if(Oe){var je=Oe._internalRoot;if(typeof se=="function"){var tt=se;se=function(){var Jt=Yl(je);tt.call(Jt)}}cl(f,je,i,se)}else{if(Oe=P._reactRootContainer=Pc(P,U),je=Oe._internalRoot,typeof se=="function"){var yt=se;se=function(){var Jt=Yl(je);yt.call(Jt)}}ju(function(){cl(f,je,i,se)})}return Yl(je)}Fn=function(i){if(i.tag===13){var f=uo();Fs(i,4,f),Jl(i,4)}},Nn=function(i){if(i.tag===13){var f=uo();Fs(i,67108864,f),Jl(i,67108864)}},rr=function(i){if(i.tag===13){var f=uo(),P=js(i);Fs(i,P,f),Jl(i,P)}},jn=function(i,f){return f()},pt=function(i,f,P){switch(f){case"input":if(ve(i,P),f=P.name,P.type==="radio"&&f!=null){for(P=i;P.parentNode;)P=P.parentNode;for(P=P.querySelectorAll("input[name="+JSON.stringify(""+f)+'][type="radio"]'),f=0;f<P.length;f++){var U=P[f];if(U!==i&&U.form===i.form){var se=Br(U);if(!se)throw Error(r(90));X(U),ve(U,se)}}}break;case"textarea":qe(i,P);break;case"select":f=P.value,f!=null&&ke(i,!!P.multiple,f,!1)}},Ke=Nu,Ue=function(i,f,P,U,se){var Oe=yr;yr|=4;try{return tr(98,i.bind(null,f,P,U,se))}finally{yr=Oe,yr===0&&(ba(),me())}},it=function(){(yr&49)==0&&(uc(),ks())},Et=function(i,f){var P=yr;yr|=2;try{return i(f)}finally{yr=P,yr===0&&(ba(),me())}};function Hu(i,f){var P=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!za(f))throw Error(r(200));return Oc(i,f,null,P)}var xc={Events:[io,oo,Br,cn,Rn,ks,{current:!1}]},Wa={findFiberByHostInstance:Zr,bundleType:0,version:"17.0.2",rendererPackageName:"react-dom"},wc={bundleType:Wa.bundleType,version:Wa.version,rendererPackageName:Wa.rendererPackageName,rendererConfig:Wa.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:x.ReactCurrentDispatcher,findHostInstanceByFiber:function(i){return i=qt(i),i===null?null:i.stateNode},findFiberByHostInstance:Wa.findFiberByHostInstance||Sc,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__!="undefined"){var fl=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!fl.isDisabled&&fl.supportsFiber)try{Po=fl.inject(wc),zi=fl}catch(i){}}t=xc,t=Hu,t=function(i){if(i==null)return null;if(i.nodeType===1)return i;var f=i._reactInternals;if(f===void 0)throw typeof i.render=="function"?Error(r(188)):Error(r(268,Object.keys(i)));return i=qt(f),i=i===null?null:i.stateNode,i},t=function(i,f){var P=yr;if((P&48)!=0)return i(f);yr|=1;try{if(i)return tr(99,i.bind(null,f))}finally{yr=P,me()}},n.hydrate=function(i,f,P){if(!za(f))throw Error(r(200));return dl(null,i,f,!0,P)},n.render=function(i,f,P){if(!za(f))throw Error(r(200));return dl(null,i,f,!1,P)},t=function(i){if(!za(i))throw Error(r(40));return i._reactRootContainer?(ju(function(){dl(null,null,i,!1,function(){i._reactRootContainer=null,i[Eo]=null})}),!0):!1},n.unstable_batchedUpdates=Nu,t=function(i,f){return Hu(i,f,2<arguments.length&&arguments[2]!==void 0?arguments[2]:null)},t=function(i,f,P,U){if(!za(P))throw Error(r(200));if(i==null||i._reactInternals===void 0)throw Error(r(38));return dl(i,f,P,!1,U)},t="17.0.2"},73935:(L,n,e)=>{"use strict";function t(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__=="undefined"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(t)}catch(l){console.error(l)}}t(),L.exports=e(64448)},69921:(L,n)=>{"use strict";var e;/** @license React v17.0.2
|
|
2944
2944
|
* react-is.production.min.js
|
|
2945
2945
|
*
|
|
2946
2946
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
@@ -2973,10 +2973,10 @@ Add a <Suspense fallback=...> component higher in the tree to provide a loading
|
|
|
2973
2973
|
`).replace(new RegExp(E.pad,"g"),p).replace(new RegExp(E.indent,"g"),p+h.indent)};if(u.indexOf(d)!==-1)return'"[Circular]"';if(d==null||typeof d=="number"||typeof d=="boolean"||typeof d=="function"||typeof d=="symbol"||t(d))return String(d);if(d instanceof Date)return`new Date('${d.toISOString()}')`;if(Array.isArray(d)){if(d.length===0)return"[]";u.push(d);const S="["+E.newLine+d.map((v,b)=>{const m=d.length-1===b?E.newLine:","+E.newLineOrSpace;let y=a(v,h,p+h.indent);return h.transform&&(y=h.transform(d,b,y)),E.indent+y+m}).join("")+E.pad+"]";return u.pop(),T(S)}if(l(d)){let S=Object.keys(d).concat(s(d));if(h.filter&&(S=S.filter(b=>h.filter(d,b))),S.length===0)return"{}";u.push(d);const v="{"+E.newLine+S.map((b,m)=>{const y=S.length-1===m?E.newLine:","+E.newLineOrSpace,O=typeof b=="symbol",C=!O&&/^[a-z$_][a-z$_0-9]*$/i.test(b),A=O||C?b:a(b,h);let w=a(d[b],h,p+h.indent);return h.transform&&(w=h.transform(d,b,w)),E.indent+String(A)+": "+w+y}).join("")+E.pad+"}";return u.pop(),T(v)}return d=String(d).replace(/[\r\n]/g,S=>S===`
|
|
2974
2974
|
`?"\\n":"\\r"),h.singleQuotes===!1?(d=d.replace(/"/g,'\\"'),`"${d}"`):(d=d.replace(/\\?'/g,"\\'"),`'${d}'`)}(o,r,c)}},53433:(L,n,e)=>{var t=e(93379),l=e(82295);l=l.__esModule?l.default:l,typeof l=="string"&&(l=[[L.id,l,""]]);var s={};s.insert="head",s.singleton=!1;var o=t(l,s);L.exports=l.locals||{}},93379:(L,n,e)=>{"use strict";var t=function(){var v;return function(){return typeof v=="undefined"&&(v=Boolean(window&&document&&document.all&&!window.atob)),v}}(),l=function(){var v={};return function(m){if(typeof v[m]=="undefined"){var y=document.querySelector(m);if(window.HTMLIFrameElement&&y instanceof window.HTMLIFrameElement)try{y=y.contentDocument.head}catch(O){y=null}v[m]=y}return v[m]}}(),s=[];function o(S){for(var v=-1,b=0;b<s.length;b++)if(s[b].identifier===S){v=b;break}return v}function r(S,v){for(var b={},m=[],y=0;y<S.length;y++){var O=S[y],C=v.base?O[0]+v.base:O[0],A=b[C]||0,w="".concat(C," ").concat(A);b[C]=A+1;var x=o(w),R={css:O[1],media:O[2],sourceMap:O[3]};x!==-1?(s[x].references++,s[x].updater(R)):s.push({identifier:w,updater:T(R,v),references:1}),m.push(w)}return m}function c(S){var v=document.createElement("style"),b=S.attributes||{};if(typeof b.nonce=="undefined"){var m=e.nc;m&&(b.nonce=m)}if(Object.keys(b).forEach(function(O){v.setAttribute(O,b[O])}),typeof S.insert=="function")S.insert(v);else{var y=l(S.insert||"head");if(!y)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");y.appendChild(v)}return v}function u(S){if(S.parentNode===null)return!1;S.parentNode.removeChild(S)}var a=function(){var v=[];return function(m,y){return v[m]=y,v.filter(Boolean).join(`
|
|
2975
2975
|
`)}}();function d(S,v,b,m){var y=b?"":m.media?"@media ".concat(m.media," {").concat(m.css,"}"):m.css;if(S.styleSheet)S.styleSheet.cssText=a(v,y);else{var O=document.createTextNode(y),C=S.childNodes;C[v]&&S.removeChild(C[v]),C.length?S.insertBefore(O,C[v]):S.appendChild(O)}}function h(S,v,b){var m=b.css,y=b.media,O=b.sourceMap;if(y?S.setAttribute("media",y):S.removeAttribute("media"),O&&typeof btoa!="undefined"&&(m+=`
|
|
2976
|
-
/*# sourceMappingURL=data:application/json;base64,`.concat(btoa(unescape(encodeURIComponent(JSON.stringify(O))))," */")),S.styleSheet)S.styleSheet.cssText=m;else{for(;S.firstChild;)S.removeChild(S.firstChild);S.appendChild(document.createTextNode(m))}}var p=null,E=0;function T(S,v){var b,m,y;if(v.singleton){var O=E++;b=p||(p=c(v)),m=d.bind(null,b,O,!1),y=d.bind(null,b,O,!0)}else b=c(v),m=h.bind(null,b,v),y=function(){u(b)};return m(S),function(A){if(A){if(A.css===S.css&&A.media===S.media&&A.sourceMap===S.sourceMap)return;m(S=A)}else y()}}L.exports=function(S,v){v=v||{},!v.singleton&&typeof v.singleton!="boolean"&&(v.singleton=t()),S=S||[];var b=r(S,v);return function(y){if(y=y||[],Object.prototype.toString.call(y)==="[object Array]"){for(var O=0;O<b.length;O++){var C=b[O],A=o(C);s[A].references--}for(var w=r(y,v),x=0;x<b.length;x++){var R=b[x],g=o(R);s[g].references===0&&(s[g].updater(),s.splice(g,1))}b=w}}}},29163:(L,n,e)=>{"use strict";e.r(n),e.d(n,{ServerStyleSheet:()=>ut,StyleSheetConsumer:()=>Le,StyleSheetContext:()=>Te,StyleSheetManager:()=>ne,ThemeConsumer:()=>Ot,ThemeContext:()=>Et,ThemeProvider:()=>cn,__PRIVATE__:()=>zt,createGlobalStyle:()=>Pn,css:()=>Yt,default:()=>Zt,isStyledComponent:()=>x,keyframes:()=>Ze,useTheme:()=>Mt,version:()=>g,withTheme:()=>Pt});var t=e(59864),l=e(67294),s=e(96774),o=e.n(s);function r(Qe){function ot(Ye,ye,Ae,gt,Ve){for(var Gt=0,rt=0,an=0,pn=0,jn,Kt,An=0,_n=0,Ue,lt=Ue=jn=0,Ft=0,on=0,cr=0,In=0,Cr=Ae.length,Rr=Cr-1,$r,$n="",lr="",ni="",Hr="",_r;Ft<Cr;){if(Kt=Ae.charCodeAt(Ft),Ft===Rr&&rt+pn+an+Gt!==0&&(rt!==0&&(Kt=rt===47?10:47),pn=an=Gt=0,Cr++,Rr++),rt+pn+an+Gt===0){if(Ft===Rr&&(0<on&&($n=$n.replace(En,"")),0<$n.trim().length)){switch(Kt){case 32:case 9:case 59:case 13:case 10:break;default:$n+=Ae.charAt(Ft)}Kt=59}switch(Kt){case 123:for($n=$n.trim(),jn=$n.charCodeAt(0),Ue=1,In=++Ft;Ft<Cr;){switch(Kt=Ae.charCodeAt(Ft)){case 123:Ue++;break;case 125:Ue--;break;case 47:switch(Kt=Ae.charCodeAt(Ft+1)){case 42:case 47:e:{for(lt=Ft+1;lt<Rr;++lt)switch(Ae.charCodeAt(lt)){case 47:if(Kt===42&&Ae.charCodeAt(lt-1)===42&&Ft+2!==lt){Ft=lt+1;break e}break;case 10:if(Kt===47){Ft=lt+1;break e}}Ft=lt}}break;case 91:Kt++;case 40:Kt++;case 34:case 39:for(;Ft++<Rr&&Ae.charCodeAt(Ft)!==Kt;);}if(Ue===0)break;Ft++}switch(Ue=Ae.substring(In,Ft),jn===0&&(jn=($n=$n.replace(Nn,"").trim()).charCodeAt(0)),jn){case 64:switch(0<on&&($n=$n.replace(En,"")),Kt=$n.charCodeAt(1),Kt){case 100:case 109:case 115:case 45:on=ye;break;default:on=It}if(Ue=ot(ye,on,Ue,Kt,Ve+1),In=Ue.length,0<vn&&(on=Xe(It,$n,cr),_r=bn(3,Ue,on,ye,Tr,Sr,In,Kt,Ve,gt),$n=on.join(""),_r!==void 0&&(In=(Ue=_r.trim()).length)===0&&(Kt=0,Ue="")),0<In)switch(Kt){case 115:$n=$n.replace(Qn,qt);case 100:case 109:case 45:Ue=$n+"{"+Ue+"}";break;case 107:$n=$n.replace(xn,"$1 $2"),Ue=$n+"{"+Ue+"}",Ue=sn===1||sn===2&&tn("@"+Ue,3)?"@-webkit-"+Ue+"@"+Ue:"@"+Ue;break;default:Ue=$n+Ue,gt===112&&(Ue=(lr+=Ue,""))}else Ue="";break;default:Ue=ot(ye,Xe(ye,$n,cr),Ue,gt,Ve+1)}ni+=Ue,Ue=cr=on=lt=jn=0,$n="",Kt=Ae.charCodeAt(++Ft);break;case 125:case 59:if($n=(0<on?$n.replace(En,""):$n).trim(),1<(In=$n.length))switch(lt===0&&(jn=$n.charCodeAt(0),jn===45||96<jn&&123>jn)&&(In=($n=$n.replace(" ",":")).length),0<vn&&(_r=bn(1,$n,ye,Ye,Tr,Sr,lr.length,gt,Ve,gt))!==void 0&&(In=($n=_r.trim()).length)===0&&($n="\0\0"),jn=$n.charCodeAt(0),Kt=$n.charCodeAt(1),jn){case 0:break;case 64:if(Kt===105||Kt===99){Hr+=$n+Ae.charAt(Ft);break}default:$n.charCodeAt(In-1)!==58&&(lr+=wt($n,jn,Kt,$n.charCodeAt(2)))}cr=on=lt=jn=0,$n="",Kt=Ae.charCodeAt(++Ft)}}switch(Kt){case 13:case 10:rt===47?rt=0:1+jn===0&>!==107&&0<$n.length&&(on=1,$n+="\0"),0<vn*ar&&bn(0,$n,ye,Ye,Tr,Sr,lr.length,gt,Ve,gt),Sr=1,Tr++;break;case 59:case 125:if(rt+pn+an+Gt===0){Sr++;break}default:switch(Sr++,$r=Ae.charAt(Ft),Kt){case 9:case 32:if(pn+Gt+rt===0)switch(An){case 44:case 58:case 9:case 32:$r="";break;default:Kt!==32&&($r=" ")}break;case 0:$r="\\0";break;case 12:$r="\\f";break;case 11:$r="\\v";break;case 38:pn+rt+Gt===0&&(on=cr=1,$r="\f"+$r);break;case 108:if(pn+rt+Gt+qn===0&&0<lt)switch(Ft-lt){case 2:An===112&&Ae.charCodeAt(Ft-3)===58&&(qn=An);case 8:_n===111&&(qn=_n)}break;case 58:pn+rt+Gt===0&&(lt=Ft);break;case 44:rt+an+pn+Gt===0&&(on=1,$r+="\r");break;case 34:case 39:rt===0&&(pn=pn===Kt?0:pn===0?Kt:pn);break;case 91:pn+rt+an===0&&Gt++;break;case 93:pn+rt+an===0&&Gt--;break;case 41:pn+rt+Gt===0&&an--;break;case 40:if(pn+rt+Gt===0){if(jn===0)switch(2*An+3*_n){case 533:break;default:jn=1}an++}break;case 64:rt+an+pn+Gt+lt+Ue===0&&(Ue=1);break;case 42:case 47:if(!(0<pn+Gt+an))switch(rt){case 0:switch(2*Kt+3*Ae.charCodeAt(Ft+1)){case 235:rt=47;break;case 220:In=Ft,rt=42}break;case 42:Kt===47&&An===42&&In+2!==Ft&&(Ae.charCodeAt(In+2)===33&&(lr+=Ae.substring(In,Ft+1)),$r="",rt=0)}}rt===0&&($n+=$r)}_n=An,An=Kt,Ft++}if(In=lr.length,0<In){if(on=ye,0<vn&&(_r=bn(2,lr,on,Ye,Tr,Sr,In,gt,Ve,gt),_r!==void 0&&(lr=_r).length===0))return Hr+lr+ni;if(lr=on.join(",")+"{"+lr+"}",sn*qn!=0){switch(sn!==2||tn(lr,2)||(qn=0),qn){case 111:lr=lr.replace(sr,":-moz-$1")+lr;break;case 112:lr=lr.replace(hr,"::-webkit-input-$1")+lr.replace(hr,"::-moz-$1")+lr.replace(hr,":-ms-input-$1")+lr}qn=0}}return Hr+lr+ni}function Xe(Ye,ye,Ae){var gt=ye.trim().split(Yn);ye=gt;var Ve=gt.length,Gt=Ye.length;switch(Gt){case 0:case 1:var rt=0;for(Ye=Gt===0?"":Ye[0]+" ";rt<Ve;++rt)ye[rt]=st(Ye,ye[rt],Ae).trim();break;default:var an=rt=0;for(ye=[];rt<Ve;++rt)for(var pn=0;pn<Gt;++pn)ye[an++]=st(Ye[pn]+" ",gt[rt],Ae).trim()}return ye}function st(Ye,ye,Ae){var gt=ye.charCodeAt(0);switch(33>gt&&(gt=(ye=ye.trim()).charCodeAt(0)),gt){case 38:return ye.replace(Hn,"$1"+Ye.trim());case 58:return Ye.trim()+ye.replace(Hn,"$1"+Ye.trim());default:if(0<1*Ae&&0<ye.indexOf("\f"))return ye.replace(Hn,(Ye.charCodeAt(0)===58?"":"$1")+Ye.trim())}return Ye+ye}function wt(Ye,ye,Ae,gt){var Ve=Ye+";",Gt=2*ye+3*Ae+4*gt;if(Gt===944){Ye=Ve.indexOf(":",9)+1;var rt=Ve.substring(Ye,Ve.length-1).trim();return rt=Ve.substring(0,Ye).trim()+rt+";",sn===1||sn===2&&tn(rt,1)?"-webkit-"+rt+rt:rt}if(sn===0||sn===2&&!tn(Ve,1))return Ve;switch(Gt){case 1015:return Ve.charCodeAt(10)===97?"-webkit-"+Ve+Ve:Ve;case 951:return Ve.charCodeAt(3)===116?"-webkit-"+Ve+Ve:Ve;case 963:return Ve.charCodeAt(5)===110?"-webkit-"+Ve+Ve:Ve;case 1009:if(Ve.charCodeAt(4)!==100)break;case 969:case 942:return"-webkit-"+Ve+Ve;case 978:return"-webkit-"+Ve+"-moz-"+Ve+Ve;case 1019:case 983:return"-webkit-"+Ve+"-moz-"+Ve+"-ms-"+Ve+Ve;case 883:if(Ve.charCodeAt(8)===45)return"-webkit-"+Ve+Ve;if(0<Ve.indexOf("image-set(",11))return Ve.replace(Vr,"$1-webkit-$2")+Ve;break;case 932:if(Ve.charCodeAt(4)===45)switch(Ve.charCodeAt(5)){case 103:return"-webkit-box-"+Ve.replace("-grow","")+"-webkit-"+Ve+"-ms-"+Ve.replace("grow","positive")+Ve;case 115:return"-webkit-"+Ve+"-ms-"+Ve.replace("shrink","negative")+Ve;case 98:return"-webkit-"+Ve+"-ms-"+Ve.replace("basis","preferred-size")+Ve}return"-webkit-"+Ve+"-ms-"+Ve+Ve;case 964:return"-webkit-"+Ve+"-ms-flex-"+Ve+Ve;case 1023:if(Ve.charCodeAt(8)!==99)break;return rt=Ve.substring(Ve.indexOf(":",15)).replace("flex-","").replace("space-between","justify"),"-webkit-box-pack"+rt+"-webkit-"+Ve+"-ms-flex-pack"+rt+Ve;case 1005:return kn.test(Ve)?Ve.replace(Xn,":-webkit-")+Ve.replace(Xn,":-moz-")+Ve:Ve;case 1e3:switch(rt=Ve.substring(13).trim(),ye=rt.indexOf("-")+1,rt.charCodeAt(0)+rt.charCodeAt(ye)){case 226:rt=Ve.replace(ur,"tb");break;case 232:rt=Ve.replace(ur,"tb-rl");break;case 220:rt=Ve.replace(ur,"lr");break;default:return Ve}return"-webkit-"+Ve+"-ms-"+rt+Ve;case 1017:if(Ve.indexOf("sticky",9)===-1)break;case 975:switch(ye=(Ve=Ye).length-10,rt=(Ve.charCodeAt(ye)===33?Ve.substring(0,ye):Ve).substring(Ye.indexOf(":",7)+1).trim(),Gt=rt.charCodeAt(0)+(rt.charCodeAt(7)|0)){case 203:if(111>rt.charCodeAt(8))break;case 115:Ve=Ve.replace(rt,"-webkit-"+rt)+";"+Ve;break;case 207:case 102:Ve=Ve.replace(rt,"-webkit-"+(102<Gt?"inline-":"")+"box")+";"+Ve.replace(rt,"-webkit-"+rt)+";"+Ve.replace(rt,"-ms-"+rt+"box")+";"+Ve}return Ve+";";case 938:if(Ve.charCodeAt(5)===45)switch(Ve.charCodeAt(6)){case 105:return rt=Ve.replace("-items",""),"-webkit-"+Ve+"-webkit-box-"+rt+"-ms-flex-"+rt+Ve;case 115:return"-webkit-"+Ve+"-ms-flex-item-"+Ve.replace(Dr,"")+Ve;default:return"-webkit-"+Ve+"-ms-flex-line-pack"+Ve.replace("align-content","").replace(Dr,"")+Ve}break;case 973:case 989:if(Ve.charCodeAt(3)!==45||Ve.charCodeAt(4)===122)break;case 931:case 953:if(Er.test(Ye)===!0)return(rt=Ye.substring(Ye.indexOf(":")+1)).charCodeAt(0)===115?wt(Ye.replace("stretch","fill-available"),ye,Ae,gt).replace(":fill-available",":stretch"):Ve.replace(rt,"-webkit-"+rt)+Ve.replace(rt,"-moz-"+rt.replace("fill-",""))+Ve;break;case 962:if(Ve="-webkit-"+Ve+(Ve.charCodeAt(5)===102?"-ms-"+Ve:"")+Ve,Ae+gt===211&&Ve.charCodeAt(13)===105&&0<Ve.indexOf("transform",10))return Ve.substring(0,Ve.indexOf(";",27)+1).replace(On,"$1-webkit-$2")+Ve}return Ve}function tn(Ye,ye){var Ae=Ye.indexOf(ye===1?":":"{"),gt=Ye.substring(0,ye!==3?Ae:10);return Ae=Ye.substring(Ae+1,Ye.length-1),er(ye!==2?gt:gt.replace(jr,"$1"),Ae,ye)}function qt(Ye,ye){var Ae=wt(ye,ye.charCodeAt(0),ye.charCodeAt(1),ye.charCodeAt(2));return Ae!==ye+";"?Ae.replace(vr," or ($1)").substring(4):"("+ye+")"}function bn(Ye,ye,Ae,gt,Ve,Gt,rt,an,pn,jn){for(var Kt=0,An=ye,_n;Kt<vn;++Kt)switch(_n=fn[Kt].call(ir,Ye,An,Ae,gt,Ve,Gt,rt,an,pn,jn)){case void 0:case!1:case!0:case null:break;default:An=_n}if(An!==ye)return An}function Fn(Ye){switch(Ye){case void 0:case null:vn=fn.length=0;break;default:if(typeof Ye=="function")fn[vn++]=Ye;else if(typeof Ye=="object")for(var ye=0,Ae=Ye.length;ye<Ae;++ye)Fn(Ye[ye]);else ar=!!Ye|0}return Fn}function Ln(Ye){return Ye=Ye.prefix,Ye!==void 0&&(er=null,Ye?typeof Ye!="function"?sn=1:(sn=2,er=Ye):sn=0),Ln}function ir(Ye,ye){var Ae=Ye;if(33>Ae.charCodeAt(0)&&(Ae=Ae.trim()),nr=Ae,Ae=[nr],0<vn){var gt=bn(-1,ye,Ae,Ae,Tr,Sr,0,0,0,0);gt!==void 0&&typeof gt=="string"&&(ye=gt)}var Ve=ot(It,Ae,ye,0,0);return 0<vn&&(gt=bn(-2,Ve,Ae,Ae,Tr,Sr,Ve.length,0,0,0),gt!==void 0&&(Ve=gt)),nr="",qn=0,Sr=Tr=1,Ve}var Nn=/^\0+/g,En=/[\0\r\f]/g,Xn=/: */g,kn=/zoo|gra/,On=/([,: ])(transform)/g,Yn=/,\r+?/g,Hn=/([\t\r\n ])*\f?&/g,xn=/@(k\w+)\s*(\S*)\s*/,hr=/::(place)/g,sr=/:(read-only)/g,ur=/[svh]\w+-[tblr]{2}/,Qn=/\(\s*(.*)\s*\)/g,vr=/([\s\S]*?);/g,Dr=/-self|flex-/g,jr=/[^]*?(:[rp][el]a[\w-]+)[^]*/,Er=/stretch|:\s*\w+\-(?:conte|avail)/,Vr=/([^-])(image-set\()/,Sr=1,Tr=1,qn=0,sn=1,It=[],fn=[],vn=0,er=null,ar=0,nr="";return ir.use=Fn,ir.set=Ln,Qe!==void 0&&Ln(Qe),ir}const c=r;var u={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1};const a=u;function d(Qe){var ot={};return function(Xe){return ot[Xe]===void 0&&(ot[Xe]=Qe(Xe)),ot[Xe]}}const h=d;var p=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|inert|itemProp|itemScope|itemType|itemID|itemRef|on|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,E=h(function(Qe){return p.test(Qe)||Qe.charCodeAt(0)===111&&Qe.charCodeAt(1)===110&&Qe.charCodeAt(2)<91});const T=E;var S=e(8679),v=e.n(S);function b(){return(b=Object.assign||function(Qe){for(var ot=1;ot<arguments.length;ot++){var Xe=arguments[ot];for(var st in Xe)Object.prototype.hasOwnProperty.call(Xe,st)&&(Qe[st]=Xe[st])}return Qe}).apply(this,arguments)}var m=function(Qe,ot){for(var Xe=[Qe[0]],st=0,wt=ot.length;st<wt;st+=1)Xe.push(ot[st],Qe[st+1]);return Xe},y=function(Qe){return Qe!==null&&typeof Qe=="object"&&(Qe.toString?Qe.toString():Object.prototype.toString.call(Qe))==="[object Object]"&&!(0,t.typeOf)(Qe)},O=Object.freeze([]),C=Object.freeze({});function A(Qe){return typeof Qe=="function"}function w(Qe){return Qe.displayName||Qe.name||"Component"}function x(Qe){return Qe&&typeof Qe.styledComponentId=="string"}var R=typeof process!="undefined"&&({}.REACT_APP_SC_ATTR||{}.SC_ATTR)||"data-styled",g="5.3.0",k=typeof window!="undefined"&&"HTMLElement"in window,G=Boolean(typeof SC_DISABLE_SPEEDY=="boolean"?SC_DISABLE_SPEEDY:typeof process!="undefined"&&{}.REACT_APP_SC_DISABLE_SPEEDY!==void 0&&{}.REACT_APP_SC_DISABLE_SPEEDY!==""?{}.REACT_APP_SC_DISABLE_SPEEDY!=="false"&&{}.REACT_APP_SC_DISABLE_SPEEDY:typeof process!="undefined"&&{}.SC_DISABLE_SPEEDY!==void 0&&{}.SC_DISABLE_SPEEDY!==""?{}.SC_DISABLE_SPEEDY!=="false"&&{}.SC_DISABLE_SPEEDY:!1),Z={},oe={};function ee(){for(var Qe=arguments.length<=0?void 0:arguments[0],ot=[],Xe=1,st=arguments.length;Xe<st;Xe+=1)ot.push(Xe<0||arguments.length<=Xe?void 0:arguments[Xe]);return ot.forEach(function(wt){Qe=Qe.replace(/%[a-z]/,wt)}),Qe}function Ee(Qe){for(var ot=arguments.length,Xe=new Array(ot>1?ot-1:0),st=1;st<ot;st++)Xe[st-1]=arguments[st];throw new Error("An error occurred. See https://git.io/JUIaE#"+Qe+" for more information."+(Xe.length>0?" Args: "+Xe.join(", "):""))}var Fe=function(){function Qe(Xe){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=Xe}var ot=Qe.prototype;return ot.indexOfGroup=function(Xe){for(var st=0,wt=0;wt<Xe;wt++)st+=this.groupSizes[wt];return st},ot.insertRules=function(Xe,st){if(Xe>=this.groupSizes.length){for(var wt=this.groupSizes,tn=wt.length,qt=tn;Xe>=qt;)(qt<<=1)<0&&Ee(16,""+Xe);this.groupSizes=new Uint32Array(qt),this.groupSizes.set(wt),this.length=qt;for(var bn=tn;bn<qt;bn++)this.groupSizes[bn]=0}for(var Fn=this.indexOfGroup(Xe+1),Ln=0,ir=st.length;Ln<ir;Ln++)this.tag.insertRule(Fn,st[Ln])&&(this.groupSizes[Xe]++,Fn++)},ot.clearGroup=function(Xe){if(Xe<this.length){var st=this.groupSizes[Xe],wt=this.indexOfGroup(Xe),tn=wt+st;this.groupSizes[Xe]=0;for(var qt=wt;qt<tn;qt++)this.tag.deleteRule(wt)}},ot.getGroup=function(Xe){var st="";if(Xe>=this.length||this.groupSizes[Xe]===0)return st;for(var wt=this.groupSizes[Xe],tn=this.indexOfGroup(Xe),qt=tn+wt,bn=tn;bn<qt;bn++)st+=this.tag.getRule(bn)+`/*!sc*/
|
|
2976
|
+
/*# sourceMappingURL=data:application/json;base64,`.concat(btoa(unescape(encodeURIComponent(JSON.stringify(O))))," */")),S.styleSheet)S.styleSheet.cssText=m;else{for(;S.firstChild;)S.removeChild(S.firstChild);S.appendChild(document.createTextNode(m))}}var p=null,E=0;function T(S,v){var b,m,y;if(v.singleton){var O=E++;b=p||(p=c(v)),m=d.bind(null,b,O,!1),y=d.bind(null,b,O,!0)}else b=c(v),m=h.bind(null,b,v),y=function(){u(b)};return m(S),function(A){if(A){if(A.css===S.css&&A.media===S.media&&A.sourceMap===S.sourceMap)return;m(S=A)}else y()}}L.exports=function(S,v){v=v||{},!v.singleton&&typeof v.singleton!="boolean"&&(v.singleton=t()),S=S||[];var b=r(S,v);return function(y){if(y=y||[],Object.prototype.toString.call(y)==="[object Array]"){for(var O=0;O<b.length;O++){var C=b[O],A=o(C);s[A].references--}for(var w=r(y,v),x=0;x<b.length;x++){var R=b[x],g=o(R);s[g].references===0&&(s[g].updater(),s.splice(g,1))}b=w}}}},29163:(L,n,e)=>{"use strict";e.r(n),e.d(n,{ServerStyleSheet:()=>ut,StyleSheetConsumer:()=>Le,StyleSheetContext:()=>Te,StyleSheetManager:()=>ne,ThemeConsumer:()=>Ot,ThemeContext:()=>Et,ThemeProvider:()=>dn,__PRIVATE__:()=>zt,createGlobalStyle:()=>Pn,css:()=>Yt,default:()=>Zt,isStyledComponent:()=>x,keyframes:()=>Ze,useTheme:()=>Mt,version:()=>g,withTheme:()=>Pt});var t=e(59864),l=e(67294),s=e(96774),o=e.n(s);function r(Qe){function ot(Ye,ye,Re,gt,We){for(var Qt=0,rt=0,sn=0,an=0,In,Ht,Tn=0,_n=0,Be,lt=Be=In=0,jt=0,on=0,cr=0,Dn=0,Cr=Re.length,Rr=Cr-1,$r,Mn="",lr="",ni="",Hr="",_r;jt<Cr;){if(Ht=Re.charCodeAt(jt),jt===Rr&&rt+an+sn+Qt!==0&&(rt!==0&&(Ht=rt===47?10:47),an=sn=Qt=0,Cr++,Rr++),rt+an+sn+Qt===0){if(jt===Rr&&(0<on&&(Mn=Mn.replace(En,"")),0<Mn.trim().length)){switch(Ht){case 32:case 9:case 59:case 13:case 10:break;default:Mn+=Re.charAt(jt)}Ht=59}switch(Ht){case 123:for(Mn=Mn.trim(),In=Mn.charCodeAt(0),Be=1,Dn=++jt;jt<Cr;){switch(Ht=Re.charCodeAt(jt)){case 123:Be++;break;case 125:Be--;break;case 47:switch(Ht=Re.charCodeAt(jt+1)){case 42:case 47:e:{for(lt=jt+1;lt<Rr;++lt)switch(Re.charCodeAt(lt)){case 47:if(Ht===42&&Re.charCodeAt(lt-1)===42&&jt+2!==lt){jt=lt+1;break e}break;case 10:if(Ht===47){jt=lt+1;break e}}jt=lt}}break;case 91:Ht++;case 40:Ht++;case 34:case 39:for(;jt++<Rr&&Re.charCodeAt(jt)!==Ht;);}if(Be===0)break;jt++}switch(Be=Re.substring(Dn,jt),In===0&&(In=(Mn=Mn.replace(jn,"").trim()).charCodeAt(0)),In){case 64:switch(0<on&&(Mn=Mn.replace(En,"")),Ht=Mn.charCodeAt(1),Ht){case 100:case 109:case 115:case 45:on=ye;break;default:on=It}if(Be=ot(ye,on,Be,Ht,We+1),Dn=Be.length,0<vn&&(on=Xe(It,Mn,cr),_r=bn(3,Be,on,ye,Tr,Sr,Dn,Ht,We,gt),Mn=on.join(""),_r!==void 0&&(Dn=(Be=_r.trim()).length)===0&&(Ht=0,Be="")),0<Dn)switch(Ht){case 115:Mn=Mn.replace(Qn,qt);case 100:case 109:case 45:Be=Mn+"{"+Be+"}";break;case 107:Mn=Mn.replace(xn,"$1 $2"),Be=Mn+"{"+Be+"}",Be=ln===1||ln===2&&tn("@"+Be,3)?"@-webkit-"+Be+"@"+Be:"@"+Be;break;default:Be=Mn+Be,gt===112&&(Be=(lr+=Be,""))}else Be="";break;default:Be=ot(ye,Xe(ye,Mn,cr),Be,gt,We+1)}ni+=Be,Be=cr=on=lt=In=0,Mn="",Ht=Re.charCodeAt(++jt);break;case 125:case 59:if(Mn=(0<on?Mn.replace(En,""):Mn).trim(),1<(Dn=Mn.length))switch(lt===0&&(In=Mn.charCodeAt(0),In===45||96<In&&123>In)&&(Dn=(Mn=Mn.replace(" ",":")).length),0<vn&&(_r=bn(1,Mn,ye,Ye,Tr,Sr,lr.length,gt,We,gt))!==void 0&&(Dn=(Mn=_r.trim()).length)===0&&(Mn="\0\0"),In=Mn.charCodeAt(0),Ht=Mn.charCodeAt(1),In){case 0:break;case 64:if(Ht===105||Ht===99){Hr+=Mn+Re.charAt(jt);break}default:Mn.charCodeAt(Dn-1)!==58&&(lr+=wt(Mn,In,Ht,Mn.charCodeAt(2)))}cr=on=lt=In=0,Mn="",Ht=Re.charCodeAt(++jt)}}switch(Ht){case 13:case 10:rt===47?rt=0:1+In===0&>!==107&&0<Mn.length&&(on=1,Mn+="\0"),0<vn*ar&&bn(0,Mn,ye,Ye,Tr,Sr,lr.length,gt,We,gt),Sr=1,Tr++;break;case 59:case 125:if(rt+an+sn+Qt===0){Sr++;break}default:switch(Sr++,$r=Re.charAt(jt),Ht){case 9:case 32:if(an+Qt+rt===0)switch(Tn){case 44:case 58:case 9:case 32:$r="";break;default:Ht!==32&&($r=" ")}break;case 0:$r="\\0";break;case 12:$r="\\f";break;case 11:$r="\\v";break;case 38:an+rt+Qt===0&&(on=cr=1,$r="\f"+$r);break;case 108:if(an+rt+Qt+qn===0&&0<lt)switch(jt-lt){case 2:Tn===112&&Re.charCodeAt(jt-3)===58&&(qn=Tn);case 8:_n===111&&(qn=_n)}break;case 58:an+rt+Qt===0&&(lt=jt);break;case 44:rt+sn+an+Qt===0&&(on=1,$r+="\r");break;case 34:case 39:rt===0&&(an=an===Ht?0:an===0?Ht:an);break;case 91:an+rt+sn===0&&Qt++;break;case 93:an+rt+sn===0&&Qt--;break;case 41:an+rt+Qt===0&&sn--;break;case 40:if(an+rt+Qt===0){if(In===0)switch(2*Tn+3*_n){case 533:break;default:In=1}sn++}break;case 64:rt+sn+an+Qt+lt+Be===0&&(Be=1);break;case 42:case 47:if(!(0<an+Qt+sn))switch(rt){case 0:switch(2*Ht+3*Re.charCodeAt(jt+1)){case 235:rt=47;break;case 220:Dn=jt,rt=42}break;case 42:Ht===47&&Tn===42&&Dn+2!==jt&&(Re.charCodeAt(Dn+2)===33&&(lr+=Re.substring(Dn,jt+1)),$r="",rt=0)}}rt===0&&(Mn+=$r)}_n=Tn,Tn=Ht,jt++}if(Dn=lr.length,0<Dn){if(on=ye,0<vn&&(_r=bn(2,lr,on,Ye,Tr,Sr,Dn,gt,We,gt),_r!==void 0&&(lr=_r).length===0))return Hr+lr+ni;if(lr=on.join(",")+"{"+lr+"}",ln*qn!=0){switch(ln!==2||tn(lr,2)||(qn=0),qn){case 111:lr=lr.replace(sr,":-moz-$1")+lr;break;case 112:lr=lr.replace(hr,"::-webkit-input-$1")+lr.replace(hr,"::-moz-$1")+lr.replace(hr,":-ms-input-$1")+lr}qn=0}}return Hr+lr+ni}function Xe(Ye,ye,Re){var gt=ye.trim().split(Yn);ye=gt;var We=gt.length,Qt=Ye.length;switch(Qt){case 0:case 1:var rt=0;for(Ye=Qt===0?"":Ye[0]+" ";rt<We;++rt)ye[rt]=st(Ye,ye[rt],Re).trim();break;default:var sn=rt=0;for(ye=[];rt<We;++rt)for(var an=0;an<Qt;++an)ye[sn++]=st(Ye[an]+" ",gt[rt],Re).trim()}return ye}function st(Ye,ye,Re){var gt=ye.charCodeAt(0);switch(33>gt&&(gt=(ye=ye.trim()).charCodeAt(0)),gt){case 38:return ye.replace(Hn,"$1"+Ye.trim());case 58:return Ye.trim()+ye.replace(Hn,"$1"+Ye.trim());default:if(0<1*Re&&0<ye.indexOf("\f"))return ye.replace(Hn,(Ye.charCodeAt(0)===58?"":"$1")+Ye.trim())}return Ye+ye}function wt(Ye,ye,Re,gt){var We=Ye+";",Qt=2*ye+3*Re+4*gt;if(Qt===944){Ye=We.indexOf(":",9)+1;var rt=We.substring(Ye,We.length-1).trim();return rt=We.substring(0,Ye).trim()+rt+";",ln===1||ln===2&&tn(rt,1)?"-webkit-"+rt+rt:rt}if(ln===0||ln===2&&!tn(We,1))return We;switch(Qt){case 1015:return We.charCodeAt(10)===97?"-webkit-"+We+We:We;case 951:return We.charCodeAt(3)===116?"-webkit-"+We+We:We;case 963:return We.charCodeAt(5)===110?"-webkit-"+We+We:We;case 1009:if(We.charCodeAt(4)!==100)break;case 969:case 942:return"-webkit-"+We+We;case 978:return"-webkit-"+We+"-moz-"+We+We;case 1019:case 983:return"-webkit-"+We+"-moz-"+We+"-ms-"+We+We;case 883:if(We.charCodeAt(8)===45)return"-webkit-"+We+We;if(0<We.indexOf("image-set(",11))return We.replace(Vr,"$1-webkit-$2")+We;break;case 932:if(We.charCodeAt(4)===45)switch(We.charCodeAt(5)){case 103:return"-webkit-box-"+We.replace("-grow","")+"-webkit-"+We+"-ms-"+We.replace("grow","positive")+We;case 115:return"-webkit-"+We+"-ms-"+We.replace("shrink","negative")+We;case 98:return"-webkit-"+We+"-ms-"+We.replace("basis","preferred-size")+We}return"-webkit-"+We+"-ms-"+We+We;case 964:return"-webkit-"+We+"-ms-flex-"+We+We;case 1023:if(We.charCodeAt(8)!==99)break;return rt=We.substring(We.indexOf(":",15)).replace("flex-","").replace("space-between","justify"),"-webkit-box-pack"+rt+"-webkit-"+We+"-ms-flex-pack"+rt+We;case 1005:return kn.test(We)?We.replace(Xn,":-webkit-")+We.replace(Xn,":-moz-")+We:We;case 1e3:switch(rt=We.substring(13).trim(),ye=rt.indexOf("-")+1,rt.charCodeAt(0)+rt.charCodeAt(ye)){case 226:rt=We.replace(ur,"tb");break;case 232:rt=We.replace(ur,"tb-rl");break;case 220:rt=We.replace(ur,"lr");break;default:return We}return"-webkit-"+We+"-ms-"+rt+We;case 1017:if(We.indexOf("sticky",9)===-1)break;case 975:switch(ye=(We=Ye).length-10,rt=(We.charCodeAt(ye)===33?We.substring(0,ye):We).substring(Ye.indexOf(":",7)+1).trim(),Qt=rt.charCodeAt(0)+(rt.charCodeAt(7)|0)){case 203:if(111>rt.charCodeAt(8))break;case 115:We=We.replace(rt,"-webkit-"+rt)+";"+We;break;case 207:case 102:We=We.replace(rt,"-webkit-"+(102<Qt?"inline-":"")+"box")+";"+We.replace(rt,"-webkit-"+rt)+";"+We.replace(rt,"-ms-"+rt+"box")+";"+We}return We+";";case 938:if(We.charCodeAt(5)===45)switch(We.charCodeAt(6)){case 105:return rt=We.replace("-items",""),"-webkit-"+We+"-webkit-box-"+rt+"-ms-flex-"+rt+We;case 115:return"-webkit-"+We+"-ms-flex-item-"+We.replace(Dr,"")+We;default:return"-webkit-"+We+"-ms-flex-line-pack"+We.replace("align-content","").replace(Dr,"")+We}break;case 973:case 989:if(We.charCodeAt(3)!==45||We.charCodeAt(4)===122)break;case 931:case 953:if(Er.test(Ye)===!0)return(rt=Ye.substring(Ye.indexOf(":")+1)).charCodeAt(0)===115?wt(Ye.replace("stretch","fill-available"),ye,Re,gt).replace(":fill-available",":stretch"):We.replace(rt,"-webkit-"+rt)+We.replace(rt,"-moz-"+rt.replace("fill-",""))+We;break;case 962:if(We="-webkit-"+We+(We.charCodeAt(5)===102?"-ms-"+We:"")+We,Re+gt===211&&We.charCodeAt(13)===105&&0<We.indexOf("transform",10))return We.substring(0,We.indexOf(";",27)+1).replace(On,"$1-webkit-$2")+We}return We}function tn(Ye,ye){var Re=Ye.indexOf(ye===1?":":"{"),gt=Ye.substring(0,ye!==3?Re:10);return Re=Ye.substring(Re+1,Ye.length-1),er(ye!==2?gt:gt.replace(jr,"$1"),Re,ye)}function qt(Ye,ye){var Re=wt(ye,ye.charCodeAt(0),ye.charCodeAt(1),ye.charCodeAt(2));return Re!==ye+";"?Re.replace(vr," or ($1)").substring(4):"("+ye+")"}function bn(Ye,ye,Re,gt,We,Qt,rt,sn,an,In){for(var Ht=0,Tn=ye,_n;Ht<vn;++Ht)switch(_n=pn[Ht].call(rr,Ye,Tn,Re,gt,We,Qt,rt,sn,an,In)){case void 0:case!1:case!0:case null:break;default:Tn=_n}if(Tn!==ye)return Tn}function Fn(Ye){switch(Ye){case void 0:case null:vn=pn.length=0;break;default:if(typeof Ye=="function")pn[vn++]=Ye;else if(typeof Ye=="object")for(var ye=0,Re=Ye.length;ye<Re;++ye)Fn(Ye[ye]);else ar=!!Ye|0}return Fn}function Nn(Ye){return Ye=Ye.prefix,Ye!==void 0&&(er=null,Ye?typeof Ye!="function"?ln=1:(ln=2,er=Ye):ln=0),Nn}function rr(Ye,ye){var Re=Ye;if(33>Re.charCodeAt(0)&&(Re=Re.trim()),nr=Re,Re=[nr],0<vn){var gt=bn(-1,ye,Re,Re,Tr,Sr,0,0,0,0);gt!==void 0&&typeof gt=="string"&&(ye=gt)}var We=ot(It,Re,ye,0,0);return 0<vn&&(gt=bn(-2,We,Re,Re,Tr,Sr,We.length,0,0,0),gt!==void 0&&(We=gt)),nr="",qn=0,Sr=Tr=1,We}var jn=/^\0+/g,En=/[\0\r\f]/g,Xn=/: */g,kn=/zoo|gra/,On=/([,: ])(transform)/g,Yn=/,\r+?/g,Hn=/([\t\r\n ])*\f?&/g,xn=/@(k\w+)\s*(\S*)\s*/,hr=/::(place)/g,sr=/:(read-only)/g,ur=/[svh]\w+-[tblr]{2}/,Qn=/\(\s*(.*)\s*\)/g,vr=/([\s\S]*?);/g,Dr=/-self|flex-/g,jr=/[^]*?(:[rp][el]a[\w-]+)[^]*/,Er=/stretch|:\s*\w+\-(?:conte|avail)/,Vr=/([^-])(image-set\()/,Sr=1,Tr=1,qn=0,ln=1,It=[],pn=[],vn=0,er=null,ar=0,nr="";return rr.use=Fn,rr.set=Nn,Qe!==void 0&&Nn(Qe),rr}const c=r;var u={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1};const a=u;function d(Qe){var ot={};return function(Xe){return ot[Xe]===void 0&&(ot[Xe]=Qe(Xe)),ot[Xe]}}const h=d;var p=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|inert|itemProp|itemScope|itemType|itemID|itemRef|on|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,E=h(function(Qe){return p.test(Qe)||Qe.charCodeAt(0)===111&&Qe.charCodeAt(1)===110&&Qe.charCodeAt(2)<91});const T=E;var S=e(8679),v=e.n(S);function b(){return(b=Object.assign||function(Qe){for(var ot=1;ot<arguments.length;ot++){var Xe=arguments[ot];for(var st in Xe)Object.prototype.hasOwnProperty.call(Xe,st)&&(Qe[st]=Xe[st])}return Qe}).apply(this,arguments)}var m=function(Qe,ot){for(var Xe=[Qe[0]],st=0,wt=ot.length;st<wt;st+=1)Xe.push(ot[st],Qe[st+1]);return Xe},y=function(Qe){return Qe!==null&&typeof Qe=="object"&&(Qe.toString?Qe.toString():Object.prototype.toString.call(Qe))==="[object Object]"&&!(0,t.typeOf)(Qe)},O=Object.freeze([]),C=Object.freeze({});function A(Qe){return typeof Qe=="function"}function w(Qe){return Qe.displayName||Qe.name||"Component"}function x(Qe){return Qe&&typeof Qe.styledComponentId=="string"}var R=typeof process!="undefined"&&({}.REACT_APP_SC_ATTR||{}.SC_ATTR)||"data-styled",g="5.3.0",k=typeof window!="undefined"&&"HTMLElement"in window,G=Boolean(typeof SC_DISABLE_SPEEDY=="boolean"?SC_DISABLE_SPEEDY:typeof process!="undefined"&&{}.REACT_APP_SC_DISABLE_SPEEDY!==void 0&&{}.REACT_APP_SC_DISABLE_SPEEDY!==""?{}.REACT_APP_SC_DISABLE_SPEEDY!=="false"&&{}.REACT_APP_SC_DISABLE_SPEEDY:typeof process!="undefined"&&{}.SC_DISABLE_SPEEDY!==void 0&&{}.SC_DISABLE_SPEEDY!==""?{}.SC_DISABLE_SPEEDY!=="false"&&{}.SC_DISABLE_SPEEDY:!1),Z={},oe={};function ee(){for(var Qe=arguments.length<=0?void 0:arguments[0],ot=[],Xe=1,st=arguments.length;Xe<st;Xe+=1)ot.push(Xe<0||arguments.length<=Xe?void 0:arguments[Xe]);return ot.forEach(function(wt){Qe=Qe.replace(/%[a-z]/,wt)}),Qe}function Ee(Qe){for(var ot=arguments.length,Xe=new Array(ot>1?ot-1:0),st=1;st<ot;st++)Xe[st-1]=arguments[st];throw new Error("An error occurred. See https://git.io/JUIaE#"+Qe+" for more information."+(Xe.length>0?" Args: "+Xe.join(", "):""))}var Fe=function(){function Qe(Xe){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=Xe}var ot=Qe.prototype;return ot.indexOfGroup=function(Xe){for(var st=0,wt=0;wt<Xe;wt++)st+=this.groupSizes[wt];return st},ot.insertRules=function(Xe,st){if(Xe>=this.groupSizes.length){for(var wt=this.groupSizes,tn=wt.length,qt=tn;Xe>=qt;)(qt<<=1)<0&&Ee(16,""+Xe);this.groupSizes=new Uint32Array(qt),this.groupSizes.set(wt),this.length=qt;for(var bn=tn;bn<qt;bn++)this.groupSizes[bn]=0}for(var Fn=this.indexOfGroup(Xe+1),Nn=0,rr=st.length;Nn<rr;Nn++)this.tag.insertRule(Fn,st[Nn])&&(this.groupSizes[Xe]++,Fn++)},ot.clearGroup=function(Xe){if(Xe<this.length){var st=this.groupSizes[Xe],wt=this.indexOfGroup(Xe),tn=wt+st;this.groupSizes[Xe]=0;for(var qt=wt;qt<tn;qt++)this.tag.deleteRule(wt)}},ot.getGroup=function(Xe){var st="";if(Xe>=this.length||this.groupSizes[Xe]===0)return st;for(var wt=this.groupSizes[Xe],tn=this.indexOfGroup(Xe),qt=tn+wt,bn=tn;bn<qt;bn++)st+=this.tag.getRule(bn)+`/*!sc*/
|
|
2977
2977
|
`;return st},Qe}(),ce=new Map,te=new Map,he=1,Q=function(Qe){if(ce.has(Qe))return ce.get(Qe);for(;te.has(he);)he++;var ot=he++;return ce.set(Qe,ot),te.set(ot,Qe),ot},B=function(Qe){return te.get(Qe)},J=function(Qe,ot){ce.set(Qe,ot),te.set(ot,Qe)},re="style["+R+'][data-styled-version="5.3.0"]',W=new RegExp("^"+R+'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)'),V=function(Qe,ot,Xe){for(var st,wt=Xe.split(","),tn=0,qt=wt.length;tn<qt;tn++)(st=wt[tn])&&Qe.registerName(ot,st)},ae=function(Qe,ot){for(var Xe=ot.innerHTML.split(`/*!sc*/
|
|
2978
|
-
`),st=[],wt=0,tn=Xe.length;wt<tn;wt++){var qt=Xe[wt].trim();if(qt){var bn=qt.match(W);if(bn){var Fn=0|parseInt(bn[1],10),
|
|
2979
|
-
`}}}return tn}(this)},Qe}(),Ce=/(a)(d)/gi,et=function(Qe){return String.fromCharCode(Qe+(Qe>25?39:97))};function Pe(Qe){var ot,Xe="";for(ot=Math.abs(Qe);ot>52;ot=ot/52|0)Xe=et(ot%52)+Xe;return(et(ot%52)+Xe).replace(Ce,"$1-$2")}var X=function(Qe,ot){for(var Xe=ot.length;Xe;)Qe=33*Qe^ot.charCodeAt(--Xe);return Qe},_=function(Qe){return X(5381,Qe)};function $(Qe){for(var ot=0;ot<Qe.length;ot+=1){var Xe=Qe[ot];if(A(Xe)&&!x(Xe))return!1}return!0}var H=_("5.3.0"),I=function(){function Qe(ot,Xe,st){this.rules=ot,this.staticRulesId="",this.isStatic=(st===void 0||st.isStatic)&&$(ot),this.componentId=Xe,this.baseHash=X(H,Xe),this.baseStyle=st,ue.registerId(Xe)}return Qe.prototype.generateAndInjectStyles=function(ot,Xe,st){var wt=this.componentId,tn=[];if(this.baseStyle&&tn.push(this.baseStyle.generateAndInjectStyles(ot,Xe,st)),this.isStatic&&!st.hash)if(this.staticRulesId&&Xe.hasNameForId(wt,this.staticRulesId))tn.push(this.staticRulesId);else{var qt=Lt(this.rules,ot,Xe,st).join(""),bn=Pe(X(this.baseHash,qt.length)>>>0);if(!Xe.hasNameForId(wt,bn)){var Fn=st(qt,"."+bn,void 0,wt);Xe.insertRules(wt,bn,Fn)}tn.push(bn),this.staticRulesId=bn}else{for(var Ln=this.rules.length,ir=X(this.baseHash,st.hash),Nn="",En=0;En<Ln;En++){var Xn=this.rules[En];if(typeof Xn=="string")Nn+=Xn;else if(Xn){var kn=Lt(Xn,ot,Xe,st),On=Array.isArray(kn)?kn.join(""):kn;ir=X(ir,On+En),Nn+=On}}if(Nn){var Yn=Pe(ir>>>0);if(!Xe.hasNameForId(wt,Yn)){var Hn=st(Nn,"."+Yn,void 0,wt);Xe.insertRules(wt,Yn,Hn)}tn.push(Yn)}}return tn.join(" ")},Qe}(),ve=/^\s*\/\/.*$/gm,$e=[":","[",".","#"];function be(Qe){var ot,Xe,st,wt,tn=Qe===void 0?C:Qe,qt=tn.options,bn=qt===void 0?C:qt,Fn=tn.plugins,Ln=Fn===void 0?O:Fn,ir=new c(bn),Nn=[],En=function(On){function Yn(Hn){if(Hn)try{On(Hn+"}")}catch(xn){}}return function(Hn,xn,hr,sr,ur,Qn,vr,Dr,jr,Er){switch(Hn){case 1:if(jr===0&&xn.charCodeAt(0)===64)return On(xn+";"),"";break;case 2:if(Dr===0)return xn+"/*|*/";break;case 3:switch(Dr){case 102:case 112:return On(hr[0]+xn),"";default:return xn+(Er===0?"/*|*/":"")}case-2:xn.split("/*|*/}").forEach(Yn)}}}(function(On){Nn.push(On)}),Xn=function(On,Yn,Hn){return Yn===0&&$e.indexOf(Hn[Xe.length])!==-1||Hn.match(wt)?On:"."+ot};function kn(On,Yn,Hn,xn){xn===void 0&&(xn="&");var hr=On.replace(ve,""),sr=Yn&&Hn?Hn+" "+Yn+" { "+hr+" }":hr;return ot=xn,Xe=Yn,st=new RegExp("\\"+Xe+"\\b","g"),wt=new RegExp("(\\"+Xe+"\\b){2,}"),ir(Hn||!Yn?"":Yn,sr)}return ir.use([].concat(Ln,[function(On,Yn,Hn){On===2&&Hn.length&&Hn[0].lastIndexOf(Xe)>0&&(Hn[0]=Hn[0].replace(st,Xn))},En,function(On){if(On===-2){var Yn=Nn;return Nn=[],Yn}}])),kn.hash=Ln.length?Ln.reduce(function(On,Yn){return Yn.name||Ee(15),X(On,Yn.name)},5381).toString():"",kn}var Te=l.createContext(),Le=Te.Consumer,ke=l.createContext(),at=(ke.Consumer,new ue),xt=be();function qe(){return(0,l.useContext)(Te)||at}function q(){return(0,l.useContext)(ke)||xt}function ne(Qe){var ot=(0,l.useState)(Qe.stylisPlugins),Xe=ot[0],st=ot[1],wt=qe(),tn=(0,l.useMemo)(function(){var bn=wt;return Qe.sheet?bn=Qe.sheet:Qe.target&&(bn=bn.reconstructWithOptions({target:Qe.target},!1)),Qe.disableCSSOMInjection&&(bn=bn.reconstructWithOptions({useCSSOMInjection:!1})),bn},[Qe.disableCSSOMInjection,Qe.sheet,Qe.target]),qt=(0,l.useMemo)(function(){return be({options:{prefix:!Qe.disableVendorPrefixes},plugins:Xe})},[Qe.disableVendorPrefixes,Xe]);return(0,l.useEffect)(function(){o()(Xe,Qe.stylisPlugins)||st(Qe.stylisPlugins)},[Qe.stylisPlugins]),l.createElement(Te.Provider,{value:tn},l.createElement(ke.Provider,{value:qt},Qe.children))}var ie=function(){function Qe(ot,Xe){var st=this;this.inject=function(wt,tn){tn===void 0&&(tn=xt);var qt=st.name+tn.hash;wt.hasNameForId(st.id,qt)||wt.insertRules(st.id,qt,tn(st.rules,qt,"@keyframes"))},this.toString=function(){return Ee(12,String(st.name))},this.name=ot,this.id="sc-keyframes-"+ot,this.rules=Xe}return Qe.prototype.getName=function(ot){return ot===void 0&&(ot=xt),this.name+ot.hash},Qe}(),K=/([A-Z])/,we=/([A-Z])/g,He=/^ms-/,Je=function(Qe){return"-"+Qe.toLowerCase()};function ft(Qe){return K.test(Qe)?Qe.replace(we,Je).replace(He,"-ms-"):Qe}var At=function(Qe){return Qe==null||Qe===!1||Qe===""};function Lt(Qe,ot,Xe,st){if(Array.isArray(Qe)){for(var wt,tn=[],qt=0,bn=Qe.length;qt<bn;qt+=1)(wt=Lt(Qe[qt],ot,Xe,st))!==""&&(Array.isArray(wt)?tn.push.apply(tn,wt):tn.push(wt));return tn}if(At(Qe))return"";if(x(Qe))return"."+Qe.styledComponentId;if(A(Qe)){if(typeof(Ln=Qe)!="function"||Ln.prototype&&Ln.prototype.isReactComponent||!ot)return Qe;var Fn=Qe(ot);return Lt(Fn,ot,Xe,st)}var Ln;return Qe instanceof ie?Xe?(Qe.inject(Xe,st),Qe.getName(st)):Qe:y(Qe)?function ir(Nn,En){var Xn,kn,On=[];for(var Yn in Nn)Nn.hasOwnProperty(Yn)&&!At(Nn[Yn])&&(y(Nn[Yn])?On.push.apply(On,ir(Nn[Yn],Yn)):A(Nn[Yn])?On.push(ft(Yn)+":",Nn[Yn],";"):On.push(ft(Yn)+": "+(Xn=Yn,(kn=Nn[Yn])==null||typeof kn=="boolean"||kn===""?"":typeof kn!="number"||kn===0||Xn in a?String(kn).trim():kn+"px")+";"));return En?[En+" {"].concat(On,["}"]):On}(Qe):Qe.toString()}function Yt(Qe){for(var ot=arguments.length,Xe=new Array(ot>1?ot-1:0),st=1;st<ot;st++)Xe[st-1]=arguments[st];return A(Qe)||y(Qe)?Lt(m(O,[Qe].concat(Xe))):Xe.length===0&&Qe.length===1&&typeof Qe[0]=="string"?Qe:Lt(m(Qe,Xe))}var Vt=/invalid hook call/i,ze=new Set,dt=function(Qe,ot){if(!1)var Xe},bt=function(Qe,ot,Xe){return Xe===void 0&&(Xe=C),Qe.theme!==Xe.theme&&Qe.theme||ot||Xe.theme},pt=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,Ct=/(^-|-$)/g;function $t(Qe){return Qe.replace(pt,"-").replace(Ct,"")}var dn=function(Qe){return Pe(_(Qe)>>>0)};function un(Qe){return typeof Qe=="string"&&!0}var Cn=function(Qe){return typeof Qe=="function"||typeof Qe=="object"&&Qe!==null&&!Array.isArray(Qe)},Ke=function(Qe){return Qe!=="__proto__"&&Qe!=="constructor"&&Qe!=="prototype"};function Be(Qe,ot,Xe){var st=Qe[Xe];Cn(ot)&&Cn(st)?it(st,ot):Qe[Xe]=ot}function it(Qe){for(var ot=arguments.length,Xe=new Array(ot>1?ot-1:0),st=1;st<ot;st++)Xe[st-1]=arguments[st];for(var wt=0,tn=Xe;wt<tn.length;wt++){var qt=tn[wt];if(Cn(qt))for(var bn in qt)Ke(bn)&&Be(Qe,qt[bn],bn)}return Qe}var Et=l.createContext(),Ot=Et.Consumer;function cn(Qe){var ot=(0,l.useContext)(Et),Xe=(0,l.useMemo)(function(){return function(st,wt){if(!st)return Ee(14);if(A(st)){var tn=st(wt);return tn}return Array.isArray(st)||typeof st!="object"?Ee(8):wt?b({},wt,{},st):st}(Qe.theme,ot)},[Qe.theme,ot]);return Qe.children?l.createElement(Et.Provider,{value:Xe},Qe.children):null}var Mn={};function Dn(Qe,ot,Xe){var st=x(Qe),wt=!un(Qe),tn=ot.attrs,qt=tn===void 0?O:tn,bn=ot.componentId,Fn=bn===void 0?function(xn,hr){var sr=typeof xn!="string"?"sc":$t(xn);Mn[sr]=(Mn[sr]||0)+1;var ur=sr+"-"+dn("5.3.0"+sr+Mn[sr]);return hr?hr+"-"+ur:ur}(ot.displayName,ot.parentComponentId):bn,Ln=ot.displayName,ir=Ln===void 0?function(xn){return un(xn)?"styled."+xn:"Styled("+w(xn)+")"}(Qe):Ln,Nn=ot.displayName&&ot.componentId?$t(ot.displayName)+"-"+ot.componentId:ot.componentId||Fn,En=st&&Qe.attrs?Array.prototype.concat(Qe.attrs,qt).filter(Boolean):qt,Xn=ot.shouldForwardProp;st&&Qe.shouldForwardProp&&(Xn=ot.shouldForwardProp?function(xn,hr,sr){return Qe.shouldForwardProp(xn,hr,sr)&&ot.shouldForwardProp(xn,hr,sr)}:Qe.shouldForwardProp);var kn,On=new I(Xe,Nn,st?Qe.componentStyle:void 0),Yn=On.isStatic&&qt.length===0,Hn=function(xn,hr){return function(sr,ur,Qn,vr){var Dr=sr.attrs,jr=sr.componentStyle,Er=sr.defaultProps,Vr=sr.foldedComponentIds,Sr=sr.shouldForwardProp,Tr=sr.styledComponentId,qn=sr.target,sn=function(gt,Ve,Gt){gt===void 0&&(gt=C);var rt=b({},Ve,{theme:gt}),an={};return Gt.forEach(function(pn){var jn,Kt,An,_n=pn;for(jn in A(_n)&&(_n=_n(rt)),_n)rt[jn]=an[jn]=jn==="className"?(Kt=an[jn],An=_n[jn],Kt&&An?Kt+" "+An:Kt||An):_n[jn]}),[rt,an]}(bt(ur,(0,l.useContext)(Et),Er)||C,ur,Dr),It=sn[0],fn=sn[1],vn=function(gt,Ve,Gt,rt){var an=qe(),pn=q(),jn=Ve?gt.generateAndInjectStyles(C,an,pn):gt.generateAndInjectStyles(Gt,an,pn);return jn}(jr,vr,It,void 0),er=Qn,ar=fn.$as||ur.$as||fn.as||ur.as||qn,nr=un(ar),Ye=fn!==ur?b({},ur,{},fn):ur,ye={};for(var Ae in Ye)Ae[0]!=="$"&&Ae!=="as"&&(Ae==="forwardedAs"?ye.as=Ye[Ae]:(Sr?Sr(Ae,T,ar):!nr||T(Ae))&&(ye[Ae]=Ye[Ae]));return ur.style&&fn.style!==ur.style&&(ye.style=b({},ur.style,{},fn.style)),ye.className=Array.prototype.concat(Vr,Tr,vn!==Tr?vn:null,ur.className,fn.className).filter(Boolean).join(" "),ye.ref=er,(0,l.createElement)(ar,ye)}(kn,xn,hr,Yn)};return Hn.displayName=ir,(kn=l.forwardRef(Hn)).attrs=En,kn.componentStyle=On,kn.displayName=ir,kn.shouldForwardProp=Xn,kn.foldedComponentIds=st?Array.prototype.concat(Qe.foldedComponentIds,Qe.styledComponentId):O,kn.styledComponentId=Nn,kn.target=st?Qe.target:Qe,kn.withComponent=function(xn){var hr=ot.componentId,sr=function(Qn,vr){if(Qn==null)return{};var Dr,jr,Er={},Vr=Object.keys(Qn);for(jr=0;jr<Vr.length;jr++)Dr=Vr[jr],vr.indexOf(Dr)>=0||(Er[Dr]=Qn[Dr]);return Er}(ot,["componentId"]),ur=hr&&hr+"-"+(un(xn)?xn:$t(w(xn)));return Dn(xn,b({},sr,{attrs:En,componentId:ur}),Xe)},Object.defineProperty(kn,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(xn){this._foldedDefaultProps=st?it({},Qe.defaultProps,xn):xn}}),kn.toString=function(){return"."+kn.styledComponentId},wt&&v()(kn,Qe,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0,withComponent:!0}),kn}var Rn=function(Qe){return function ot(Xe,st,wt){if(wt===void 0&&(wt=C),!(0,t.isValidElementType)(st))return Ee(1,String(st));var tn=function(){return Xe(st,wt,Yt.apply(void 0,arguments))};return tn.withConfig=function(qt){return ot(Xe,st,b({},wt,{},qt))},tn.attrs=function(qt){return ot(Xe,st,b({},wt,{attrs:Array.prototype.concat(wt.attrs,qt).filter(Boolean)}))},tn}(Dn,Qe)};["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(Qe){Rn[Qe]=Rn(Qe)});var Gn=function(){function Qe(Xe,st){this.rules=Xe,this.componentId=st,this.isStatic=$(Xe),ue.registerId(this.componentId+1)}var ot=Qe.prototype;return ot.createStyles=function(Xe,st,wt,tn){var qt=tn(Lt(this.rules,st,wt,tn).join(""),""),bn=this.componentId+Xe;wt.insertRules(bn,bn,qt)},ot.removeStyles=function(Xe,st){st.clearRules(this.componentId+Xe)},ot.renderStyles=function(Xe,st,wt,tn){Xe>2&&ue.registerId(this.componentId+Xe),this.removeStyles(Xe,wt),this.createStyles(Xe,st,wt,tn)},Qe}();function Pn(Qe){for(var ot=arguments.length,Xe=new Array(ot>1?ot-1:0),st=1;st<ot;st++)Xe[st-1]=arguments[st];var wt=Yt.apply(void 0,[Qe].concat(Xe)),tn="sc-global-"+dn(JSON.stringify(wt)),qt=new Gn(wt,tn);function bn(Ln){var ir=qe(),Nn=q(),En=(0,l.useContext)(Et),Xn=(0,l.useRef)(ir.allocateGSInstance(tn)).current;return(0,l.useLayoutEffect)(function(){return Fn(Xn,Ln,ir,En,Nn),function(){return qt.removeStyles(Xn,ir)}},[Xn,Ln,ir,En,Nn]),null}function Fn(Ln,ir,Nn,En,Xn){if(qt.isStatic)qt.renderStyles(Ln,Z,Nn,Xn);else{var kn=b({},ir,{theme:bt(ir,En,bn.defaultProps)});qt.renderStyles(Ln,kn,Nn,Xn)}}return l.memo(bn)}function Ze(Qe){for(var ot=arguments.length,Xe=new Array(ot>1?ot-1:0),st=1;st<ot;st++)Xe[st-1]=arguments[st];var wt=Yt.apply(void 0,[Qe].concat(Xe)).join(""),tn=dn(wt);return new ie(tn,wt)}var ut=function(){function Qe(){var Xe=this;this._emitSheetCSS=function(){var st=Xe.instance.toString(),wt=pe();return"<style "+[wt&&'nonce="'+wt+'"',R+'="true"','data-styled-version="5.3.0"'].filter(Boolean).join(" ")+">"+st+"</style>"},this.getStyleTags=function(){return Xe.sealed?Ee(2):Xe._emitSheetCSS()},this.getStyleElement=function(){var st;if(Xe.sealed)return Ee(2);var wt=((st={})[R]="",st["data-styled-version"]="5.3.0",st.dangerouslySetInnerHTML={__html:Xe.instance.toString()},st),tn=pe();return tn&&(wt.nonce=tn),[l.createElement("style",b({},wt,{key:"sc-0-0"}))]},this.seal=function(){Xe.sealed=!0},this.instance=new ue({isServer:!0}),this.sealed=!1}var ot=Qe.prototype;return ot.collectStyles=function(Xe){return this.sealed?Ee(2):l.createElement(ne,{sheet:this.instance},Xe)},ot.interleaveWithNodeStream=function(Xe){return Ee(3)},Qe}(),Pt=function(Qe){var ot=l.forwardRef(function(Xe,st){var wt=(0,l.useContext)(Et),tn=Qe.defaultProps,qt=bt(Xe,wt,tn);return l.createElement(Qe,b({},Xe,{theme:qt,ref:st}))});return v()(ot,Qe),ot.displayName="WithTheme("+w(Qe)+")",ot},Mt=function(){return(0,l.useContext)(Et)},zt={StyleSheet:ue,masterSheet:at};const Zt=Rn},18925:(L,n,e)=>{"use strict";const t=e(19045),l=e(8575),s=e(26470),o=e(74480),r=e(88150),c=e(88150),u=e(97053),a=u.jptr,d=e(42592).isRef,h=e(64683).clone,p=e(64683).circularClone,E=e(98401).recurse,T=e(64856),S=e(31804),v=e(3342),b=e(52711).statusCodes,m=e(34109).i8,y="3.0.0";let O;class C extends Error{constructor(ue){super(ue);this.name="S2OError"}}function A(j,ue){let Ce=new C(j);if(Ce.options=ue,ue.promise)ue.promise.reject(Ce);else throw Ce}function w(j,ue,Ce){Ce.warnOnly?ue[Ce.warnProperty||"x-s2o-warning"]=j:A(j,Ce)}function x(j,ue,Ce){if(j.nullable&&Ce.patches++,j.discriminator&&typeof j.discriminator=="string"&&(j.discriminator={propertyName:j.discriminator}),j.items&&Array.isArray(j.items)&&(j.items.length===0?j.items={}:j.items.length===1?j.items=j.items[0]:j.items={anyOf:j.items}),j.type&&Array.isArray(j.type))if(Ce.patch){if(Ce.patches++,j.type.length===0)delete j.type;else{j.oneOf||(j.oneOf=[]);for(let et of j.type){let Pe={};if(et==="null")j.nullable=!0;else{Pe.type=et;for(let X of v.arrayProperties)typeof j.prop!="undefined"&&(Pe[X]=j[X],delete j[X])}Pe.type&&j.oneOf.push(Pe)}delete j.type,j.oneOf.length===0?delete j.oneOf:j.oneOf.length<2&&(j.type=j.oneOf[0].type,Object.keys(j.oneOf[0]).length>1&&w("Lost properties from oneOf",j,Ce),delete j.oneOf)}j.type&&Array.isArray(j.type)&&j.type.length===1&&(j.type=j.type[0])}else A("(Patchable) schema type must not be an array",Ce);j.type&&j.type==="null"&&(delete j.type,j.nullable=!0),j.type==="array"&&!j.items&&(j.items={}),j.type==="file"&&(j.type="string",j.format="binary"),typeof j.required=="boolean"&&(j.required&&j.name&&(typeof ue.required=="undefined"&&(ue.required=[]),Array.isArray(ue.required)&&ue.required.push(j.name)),delete j.required),j.xml&&typeof j.xml.namespace=="string"&&(j.xml.namespace||delete j.xml.namespace),typeof j.allowEmptyValue!="undefined"&&(Ce.patches++,delete j.allowEmptyValue)}function R(j,ue){if(j["x-required"]&&Array.isArray(j["x-required"])&&(j.required||(j.required=[]),j.required=j.required.concat(j["x-required"]),delete j["x-required"]),j["x-anyOf"]&&(j.anyOf=j["x-anyOf"],delete j["x-anyOf"]),j["x-oneOf"]&&(j.oneOf=j["x-oneOf"],delete j["x-oneOf"]),j["x-not"]&&(j.not=j["x-not"],delete j["x-not"]),typeof j["x-nullable"]=="boolean"&&(j.nullable=j["x-nullable"],delete j["x-nullable"]),typeof j["x-discriminator"]=="object"&&typeof j["x-discriminator"].propertyName=="string"){j.discriminator=j["x-discriminator"],delete j["x-discriminator"];for(let Ce in j.discriminator.mapping){let et=j.discriminator.mapping[Ce];et.startsWith("#/definitions/")&&(j.discriminator.mapping[Ce]=et.replace("#/definitions/","#/components/schemas/"))}}}function g(j,ue){S.walkSchema(j,{},{},function(Ce,et,Pe){R(Ce,et),x(Ce,et,ue)})}function k(j){return j.indexOf("#")>=0?j=j.split("#")[1].split("/").pop():j=j.split("/").pop().split(".")[0],encodeURIComponent(v.sanitise(j))}function G(j,ue,Ce){let et=Ce.payload.options;if(d(j,ue)){if(!j[ue].startsWith("#/components/")){if(j[ue]==="#/consumes")delete j[ue],Ce.parent[Ce.pkey]=h(et.openapi.consumes);else if(j[ue]==="#/produces")delete j[ue],Ce.parent[Ce.pkey]=h(et.openapi.produces);else if(j[ue].startsWith("#/definitions/")){let Pe=j[ue].replace("#/definitions/","").split("/");const X=u.jpunescape(Pe[0]);let _=O.schemas[decodeURIComponent(X)];_?Pe[0]=_:w("Could not resolve reference "+j[ue],j,et),j[ue]="#/components/schemas/"+Pe.join("/")}else if(j[ue].startsWith("#/parameters/"))j[ue]="#/components/parameters/"+v.sanitise(j[ue].replace("#/parameters/",""));else if(j[ue].startsWith("#/responses/"))j[ue]="#/components/responses/"+v.sanitise(j[ue].replace("#/responses/",""));else if(j[ue].startsWith("#")){let Pe=h(u.jptr(et.openapi,j[ue]));if(Pe===!1)w("direct $ref not found "+j[ue],j,et);else if(et.refmap[j[ue]])j[ue]=et.refmap[j[ue]];else{let X=j[ue];X=X.replace("/properties/headers/",""),X=X.replace("/properties/responses/",""),X=X.replace("/properties/parameters/",""),X=X.replace("/properties/schemas/","");let _="schemas",$=X.lastIndexOf("/schema");if(_=X.indexOf("/headers/")>$?"headers":X.indexOf("/responses/")>$?"responses":X.indexOf("/example")>$?"examples":X.indexOf("/x-")>$?"extensions":X.indexOf("/parameters/")>$?"parameters":"schemas",_==="schemas"&&g(Pe,et),_!=="responses"&&_!=="extensions"){let H=_.substr(0,_.length-1);H==="parameter"&&Pe.name&&Pe.name===v.sanitise(Pe.name)&&(H=encodeURIComponent(Pe.name));let I=1;for(j["x-miro"]&&(H=k(j["x-miro"]),I="");u.jptr(et.openapi,"#/components/"+_+"/"+H+I);)I=I===""?2:++I;let ve="#/components/"+_+"/"+H+I,$e="";_==="examples"&&(Pe={value:Pe},$e="/value"),u.jptr(et.openapi,ve,Pe),et.refmap[j[ue]]=ve+$e,j[ue]=ve+$e}}}}if(delete j["x-miro"],Object.keys(j).length>1){const Pe=j[ue],X=Ce.path.indexOf("/schema")>=0;et.refSiblings==="preserve"||(X&&et.refSiblings==="allOf"?(delete j.$ref,Ce.parent[Ce.pkey]={allOf:[{$ref:Pe},j]}):Ce.parent[Ce.pkey]={$ref:Pe})}}if(ue==="x-ms-odata"&&typeof j[ue]=="string"&&j[ue].startsWith("#/")){let Pe=j[ue].replace("#/definitions/","").replace("#/components/schemas/","").split("/"),X=O.schemas[decodeURIComponent(Pe[0])];X?Pe[0]=X:w("Could not resolve reference "+j[ue],j,et),j[ue]="#/components/schemas/"+Pe.join("/")}}function Z(j,ue){for(let Ce in ue.refmap)u.jptr(j,Ce,{$ref:ue.refmap[Ce]})}function oe(j){for(let ue in j)for(let Ce in j[ue]){let et=v.sanitise(Ce);Ce!==et&&(j[ue][et]=j[ue][Ce],delete j[ue][Ce])}}function ee(j,ue){if(j.type==="basic"&&(j.type="http",j.scheme="basic"),j.type==="oauth2"){let Ce={},et=j.flow;j.flow==="application"&&(et="clientCredentials"),j.flow==="accessCode"&&(et="authorizationCode"),typeof j.authorizationUrl!="undefined"&&(Ce.authorizationUrl=j.authorizationUrl.split("?")[0].trim()||"/"),typeof j.tokenUrl=="string"&&(Ce.tokenUrl=j.tokenUrl.split("?")[0].trim()||"/"),Ce.scopes=j.scopes||{},j.flows={},j.flows[et]=Ce,delete j.flow,delete j.authorizationUrl,delete j.tokenUrl,delete j.scopes,typeof j.name!="undefined"&&(ue.patch?(ue.patches++,delete j.name):A("(Patchable) oauth2 securitySchemes should not have name property",ue))}}function Ee(j){return j&&!j["x-s2o-delete"]}function Fe(j,ue){if(j.$ref)j.$ref=j.$ref.replace("#/responses/","#/components/responses/");else{j.type&&!j.schema&&(j.schema={}),j.type&&(j.schema.type=j.type),j.items&&j.items.type!=="array"&&(j.items.collectionFormat!==j.collectionFormat&&w("Nested collectionFormats are not supported",j,ue),delete j.items.collectionFormat),j.type==="array"?(j.collectionFormat==="ssv"?w("collectionFormat:ssv is no longer supported for headers",j,ue):j.collectionFormat==="pipes"?w("collectionFormat:pipes is no longer supported for headers",j,ue):j.collectionFormat==="multi"?j.explode=!0:j.collectionFormat==="tsv"?(w("collectionFormat:tsv is no longer supported",j,ue),j["x-collectionFormat"]="tsv"):j.style="simple",delete j.collectionFormat):j.collectionFormat&&(ue.patch?(ue.patches++,delete j.collectionFormat):A("(Patchable) collectionFormat is only applicable to header.type array",ue)),delete j.type;for(let Ce of v.parameterTypeProperties)typeof j[Ce]!="undefined"&&(j.schema[Ce]=j[Ce],delete j[Ce]);for(let Ce of v.arrayProperties)typeof j[Ce]!="undefined"&&(j.schema[Ce]=j[Ce],delete j[Ce])}}function ce(j,ue){if(j.$ref.indexOf("#/parameters/")>=0){let Ce=j.$ref.split("#/parameters/");j.$ref=Ce[0]+"#/components/parameters/"+v.sanitise(Ce[1])}j.$ref.indexOf("#/definitions/")>=0&&w("Definition used as parameter",j,ue)}function te(j,ue){let Ce={};for(let et of Object.keys(j))Ce[et]=j[et],et==="parameters"&&(Ce.requestBody={},ue.rbname&&(Ce[ue.rbname]=""));return Ce.requestBody={},Ce}function he(j,ue,Ce,et,Pe,X,_){let $={},H=!0,I;if(ue&&ue.consumes&&typeof ue.consumes=="string")if(_.patch)_.patches++,ue.consumes=[ue.consumes];else return A("(Patchable) operation.consumes must be an array",_);Array.isArray(X.consumes)||delete X.consumes;let ve=((ue?ue.consumes:null)||X.consumes||[]).filter(v.uniqueOnly);if(j&&j.$ref&&typeof j.$ref=="string"){ce(j,_);let $e=decodeURIComponent(j.$ref.replace("#/components/parameters/","")),be=!1,Te=X.components.parameters[$e];if((!Te||Te["x-s2o-delete"])&&j.$ref.startsWith("#/")&&(j["x-s2o-delete"]=!0,be=!0),be){let Le=j.$ref,ke=a(X,j.$ref);!ke&&Le.startsWith("#/")?w("Could not resolve reference "+Le,j,_):ke&&(j=ke)}}if(j&&(j.name||j.in)){typeof j["x-deprecated"]=="boolean"&&(j.deprecated=j["x-deprecated"],delete j["x-deprecated"]),typeof j["x-example"]!="undefined"&&(j.example=j["x-example"],delete j["x-example"]),j.in!=="body"&&!j.type&&(_.patch?(_.patches++,j.type="string"):A("(Patchable) parameter.type is mandatory for non-body parameters",_)),j.type&&typeof j.type=="object"&&j.type.$ref&&(j.type=a(X,j.type.$ref)),j.type==="file"&&(j["x-s2o-originalType"]=j.type,I=j.type),j.description&&typeof j.description=="object"&&j.description.$ref&&(j.description=a(X,j.description.$ref)),j.description===null&&delete j.description;let $e=j.collectionFormat;if(j.type==="array"&&!$e&&($e="csv"),$e&&(j.type!=="array"&&(_.patch?(_.patches++,delete j.collectionFormat):A("(Patchable) collectionFormat is only applicable to param.type array",_)),$e==="csv"&&(j.in==="query"||j.in==="cookie")&&(j.style="form",j.explode=!1),$e==="csv"&&(j.in==="path"||j.in==="header")&&(j.style="simple"),$e==="ssv"&&(j.in==="query"?j.style="spaceDelimited":w("collectionFormat:ssv is no longer supported except for in:query parameters",j,_)),$e==="pipes"&&(j.in==="query"?j.style="pipeDelimited":w("collectionFormat:pipes is no longer supported except for in:query parameters",j,_)),$e==="multi"&&(j.explode=!0),$e==="tsv"&&(w("collectionFormat:tsv is no longer supported",j,_),j["x-collectionFormat"]="tsv"),delete j.collectionFormat),j.type&&j.type!=="body"&&j.in!=="formData")if(j.items&&j.schema)w("parameter has array,items and schema",j,_);else{j.schema&&_.patches++,(!j.schema||typeof j.schema!="object")&&(j.schema={}),j.schema.type=j.type,j.items&&(j.schema.items=j.items,delete j.items,E(j.schema.items,null,function(be,Te,Le){Te==="collectionFormat"&&typeof be[Te]=="string"&&($e&&be[Te]!==$e&&w("Nested collectionFormats are not supported",j,_),delete be[Te])}));for(let be of v.parameterTypeProperties)typeof j[be]!="undefined"&&(j.schema[be]=j[be]),delete j[be]}j.schema&&g(j.schema,_),j["x-ms-skip-url-encoding"]&&j.in==="query"&&(j.allowReserved=!0,delete j["x-ms-skip-url-encoding"])}if(j&&j.in==="formData"){H=!1,$.content={};let $e="application/x-www-form-urlencoded";if(ve.length&&ve.indexOf("multipart/form-data")>=0&&($e="multipart/form-data"),$.content[$e]={},j.schema)$.content[$e].schema=j.schema,j.schema.$ref&&($["x-s2o-name"]=decodeURIComponent(j.schema.$ref.replace("#/components/schemas/","")));else{$.content[$e].schema={},$.content[$e].schema.type="object",$.content[$e].schema.properties={},$.content[$e].schema.properties[j.name]={};let be=$.content[$e].schema,Te=$.content[$e].schema.properties[j.name];j.description&&(Te.description=j.description),j.example&&(Te.example=j.example),j.type&&(Te.type=j.type);for(let Le of v.parameterTypeProperties)typeof j[Le]!="undefined"&&(Te[Le]=j[Le]);j.required===!0&&(be.required||(be.required=[]),be.required.push(j.name),$.required=!0),typeof j.default!="undefined"&&(Te.default=j.default),Te.properties&&(Te.properties=j.properties),j.allOf&&(Te.allOf=j.allOf),j.type==="array"&&j.items&&(Te.items=j.items,Te.items.collectionFormat&&delete Te.items.collectionFormat),(I==="file"||j["x-s2o-originalType"]==="file")&&(Te.type="string",Te.format="binary"),Q(j,Te)}}else j&&j.type==="file"&&(j.required&&($.required=j.required),$.content={},$.content["application/octet-stream"]={},$.content["application/octet-stream"].schema={},$.content["application/octet-stream"].schema.type="string",$.content["application/octet-stream"].schema.format="binary",Q(j,$));if(j&&j.in==="body"){$.content={},j.name&&($["x-s2o-name"]=(ue&&ue.operationId?v.sanitiseAll(ue.operationId):"")+("_"+j.name).toCamelCase()),j.description&&($.description=j.description),j.required&&($.required=j.required),ue&&_.rbname&&j.name&&(ue[_.rbname]=j.name),j.schema&&j.schema.$ref?$["x-s2o-name"]=decodeURIComponent(j.schema.$ref.replace("#/components/schemas/","")):j.schema&&j.schema.type==="array"&&j.schema.items&&j.schema.items.$ref&&($["x-s2o-name"]=decodeURIComponent(j.schema.items.$ref.replace("#/components/schemas/",""))+"Array"),ve.length||ve.push("application/json");for(let $e of ve)$.content[$e]={},$.content[$e].schema=h(j.schema||{}),g($.content[$e].schema,_);Q(j,$)}if(Object.keys($).length>0&&(j["x-s2o-delete"]=!0,ue))if(ue.requestBody&&H){ue.requestBody["x-s2o-overloaded"]=!0;let $e=ue.operationId||Pe;w("Operation "+$e+" has multiple requestBodies",ue,_)}else ue.requestBody||(ue=Ce[et]=te(ue,_)),ue.requestBody.content&&ue.requestBody.content["multipart/form-data"]&&ue.requestBody.content["multipart/form-data"].schema&&ue.requestBody.content["multipart/form-data"].schema.properties&&$.content["multipart/form-data"]&&$.content["multipart/form-data"].schema&&$.content["multipart/form-data"].schema.properties?(ue.requestBody.content["multipart/form-data"].schema.properties=Object.assign(ue.requestBody.content["multipart/form-data"].schema.properties,$.content["multipart/form-data"].schema.properties),ue.requestBody.content["multipart/form-data"].schema.required=(ue.requestBody.content["multipart/form-data"].schema.required||[]).concat($.content["multipart/form-data"].schema.required||[]),ue.requestBody.content["multipart/form-data"].schema.required.length||delete ue.requestBody.content["multipart/form-data"].schema.required):ue.requestBody.content&&ue.requestBody.content["application/x-www-form-urlencoded"]&&ue.requestBody.content["application/x-www-form-urlencoded"].schema&&ue.requestBody.content["application/x-www-form-urlencoded"].schema.properties&&$.content["application/x-www-form-urlencoded"]&&$.content["application/x-www-form-urlencoded"].schema&&$.content["application/x-www-form-urlencoded"].schema.properties?(ue.requestBody.content["application/x-www-form-urlencoded"].schema.properties=Object.assign(ue.requestBody.content["application/x-www-form-urlencoded"].schema.properties,$.content["application/x-www-form-urlencoded"].schema.properties),ue.requestBody.content["application/x-www-form-urlencoded"].schema.required=(ue.requestBody.content["application/x-www-form-urlencoded"].schema.required||[]).concat($.content["application/x-www-form-urlencoded"].schema.required||[]),ue.requestBody.content["application/x-www-form-urlencoded"].schema.required.length||delete ue.requestBody.content["application/x-www-form-urlencoded"].schema.required):(ue.requestBody=Object.assign(ue.requestBody,$),ue.requestBody["x-s2o-name"]||(ue.requestBody.schema&&ue.requestBody.schema.$ref?ue.requestBody["x-s2o-name"]=decodeURIComponent(ue.requestBody.schema.$ref.replace("#/components/schemas/","")).split("/").join(""):ue.operationId&&(ue.requestBody["x-s2o-name"]=v.sanitiseAll(ue.operationId))));if(j&&!j["x-s2o-delete"]){delete j.type;for(let $e of v.parameterTypeProperties)delete j[$e];j.in==="path"&&(typeof j.required=="undefined"||j.required!==!0)&&(_.patch?(_.patches++,j.required=!0):A("(Patchable) path parameters must be required:true ["+j.name+" in "+Pe+"]",_))}return ue}function Q(j,ue){for(let Ce in j)Ce.startsWith("x-")&&!Ce.startsWith("x-s2o")&&(ue[Ce]=j[Ce])}function B(j,ue,Ce,et,Pe){if(!j)return!1;if(j.$ref&&typeof j.$ref=="string")j.$ref.indexOf("#/definitions/")>=0?w("definition used as response: "+j.$ref,j,Pe):j.$ref.startsWith("#/responses/")&&(j.$ref="#/components/responses/"+v.sanitise(decodeURIComponent(j.$ref.replace("#/responses/",""))));else{if((typeof j.description=="undefined"||j.description===null||j.description===""&&Pe.patch)&&(Pe.patch?typeof j=="object"&&!Array.isArray(j)&&(Pe.patches++,j.description=b[j]||""):A("(Patchable) response.description is mandatory",Pe)),typeof j.schema!="undefined"){if(g(j.schema,Pe),j.schema.$ref&&typeof j.schema.$ref=="string"&&j.schema.$ref.startsWith("#/responses/")&&(j.schema.$ref="#/components/responses/"+v.sanitise(decodeURIComponent(j.schema.$ref.replace("#/responses/","")))),Ce&&Ce.produces&&typeof Ce.produces=="string")if(Pe.patch)Pe.patches++,Ce.produces=[Ce.produces];else return A("(Patchable) operation.produces must be an array",Pe);et.produces&&!Array.isArray(et.produces)&&delete et.produces;let X=((Ce?Ce.produces:null)||et.produces||[]).filter(v.uniqueOnly);X.length||X.push("*/*"),j.content={};for(let _ of X){if(j.content[_]={},j.content[_].schema=h(j.schema),j.examples&&j.examples[_]){let $={};$.value=j.examples[_],j.content[_].examples={},j.content[_].examples.response=$,delete j.examples[_]}j.content[_].schema.type==="file"&&(j.content[_].schema={type:"string",format:"binary"})}delete j.schema}for(let X in j.examples)j.content||(j.content={}),j.content[X]||(j.content[X]={}),j.content[X].examples={},j.content[X].examples.response={},j.content[X].examples.response.value=j.examples[X];if(delete j.examples,j.headers)for(let X in j.headers)X.toLowerCase()==="status code"?Pe.patch?(Pe.patches++,delete j.headers[X]):A('(Patchable) "Status Code" is not a valid header',Pe):Fe(j.headers[X],Pe)}}function J(j,ue,Ce,et,Pe){for(let X in j){let _=j[X];_&&_["x-trace"]&&typeof _["x-trace"]=="object"&&(_.trace=_["x-trace"],delete _["x-trace"]),_&&_["x-summary"]&&typeof _["x-summary"]=="string"&&(_.summary=_["x-summary"],delete _["x-summary"]),_&&_["x-description"]&&typeof _["x-description"]=="string"&&(_.description=_["x-description"],delete _["x-description"]),_&&_["x-servers"]&&Array.isArray(_["x-servers"])&&(_.servers=_["x-servers"],delete _["x-servers"]);for(let $ in _)if(v.httpMethods.indexOf($)>=0||$==="x-amazon-apigateway-any-method"){let H=_[$];if(H&&H.parameters&&Array.isArray(H.parameters)){if(_.parameters)for(let I of _.parameters)typeof I.$ref=="string"&&(ce(I,Ce),I=a(Pe,I.$ref)),!H.parameters.find(function($e,be,Te){return $e.name===I.name&&$e.in===I.in})&&(I.in==="formData"||I.in==="body"||I.type==="file")&&(H=he(I,H,_,$,X,Pe,Ce),Ce.rbname&&H[Ce.rbname]===""&&delete H[Ce.rbname]);for(let I of H.parameters)H=he(I,H,_,$,$+":"+X,Pe,Ce);Ce.rbname&&H[Ce.rbname]===""&&delete H[Ce.rbname],Ce.debug||H.parameters&&(H.parameters=H.parameters.filter(Ee))}if(H&&H.security&&oe(H.security),typeof H=="object"){if(!H.responses){let I={};I.description="Default response",H.responses={default:I}}for(let I in H.responses){let ve=H.responses[I];B(ve,I,H,Pe,Ce)}}if(H&&H["x-servers"]&&Array.isArray(H["x-servers"]))H.servers=H["x-servers"],delete H["x-servers"];else if(H&&H.schemes&&H.schemes.length){for(let I of H.schemes)if((!Pe.schemes||Pe.schemes.indexOf(I)<0)&&(H.servers||(H.servers=[]),Array.isArray(Pe.servers)))for(let ve of Pe.servers){let $e=h(ve),be=l.parse($e.url);be.protocol=I,$e.url=be.format(),H.servers.push($e)}}if(Ce.debug&&(H["x-s2o-consumes"]=H.consumes||[],H["x-s2o-produces"]=H.produces||[]),H){if(delete H.consumes,delete H.produces,delete H.schemes,H["x-ms-examples"]){for(let I in H["x-ms-examples"]){let ve=H["x-ms-examples"][I],$e=v.sanitiseAll(I);if(ve.parameters)for(let be in ve.parameters){let Te=ve.parameters[be];for(let Le of(H.parameters||[]).concat(_.parameters||[]))Le.$ref&&(Le=u.jptr(Pe,Le.$ref)),Le.name===be&&!Le.example&&(Le.examples||(Le.examples={}),Le.examples[I]={value:Te})}if(ve.responses)for(let be in ve.responses){if(ve.responses[be].headers)for(let Te in ve.responses[be].headers){let Le=ve.responses[be].headers[Te];for(let ke in H.responses[be].headers)if(ke===Te){let at=H.responses[be].headers[ke];at.example=Le}}if(ve.responses[be].body&&(Pe.components.examples[$e]={value:h(ve.responses[be].body)},H.responses[be]&&H.responses[be].content))for(let Te in H.responses[be].content){let Le=H.responses[be].content[Te];Le.examples||(Le.examples={}),Le.examples[I]={$ref:"#/components/examples/"+$e}}}}delete H["x-ms-examples"]}if(H.parameters&&H.parameters.length===0&&delete H.parameters,H.requestBody){let I=H.operationId?v.sanitiseAll(H.operationId):v.sanitiseAll($+X).toCamelCase(),ve=v.sanitise(H.requestBody["x-s2o-name"]||I||"");delete H.requestBody["x-s2o-name"];let $e=JSON.stringify(H.requestBody),be=v.hash($e);if(!et[be]){let Le={};Le.name=ve,Le.body=H.requestBody,Le.refs=[],et[be]=Le}let Te="#/"+ue+"/"+encodeURIComponent(u.jpescape(X))+"/"+$+"/requestBody";et[be].refs.push(Te)}}}if(_&&_.parameters){for(let $ in _.parameters){let H=_.parameters[$];he(H,null,_,null,X,Pe,Ce)}!Ce.debug&&Array.isArray(_.parameters)&&(_.parameters=_.parameters.filter(Ee))}}}function re(j,ue){let Ce={};O={schemas:{}},j.security&&oe(j.security);for(let Pe in j.components.securitySchemes){let X=v.sanitise(Pe);Pe!==X&&(j.components.securitySchemes[X]&&A("Duplicate sanitised securityScheme name "+X,ue),j.components.securitySchemes[X]=j.components.securitySchemes[Pe],delete j.components.securitySchemes[Pe]),ee(j.components.securitySchemes[X],ue)}for(let Pe in j.components.schemas){let X=v.sanitiseAll(Pe),_="";if(Pe!==X){for(;j.components.schemas[X+_];)_=_?++_:2;j.components.schemas[X+_]=j.components.schemas[Pe],delete j.components.schemas[Pe]}O.schemas[Pe]=X+_,g(j.components.schemas[X+_],ue)}ue.refmap={},E(j,{payload:{options:ue}},G),Z(j,ue);for(let Pe in j.components.parameters){let X=v.sanitise(Pe);Pe!==X&&(j.components.parameters[X]&&A("Duplicate sanitised parameter name "+X,ue),j.components.parameters[X]=j.components.parameters[Pe],delete j.components.parameters[Pe]);let _=j.components.parameters[X];he(_,null,null,null,X,j,ue)}for(let Pe in j.components.responses){let X=v.sanitise(Pe);Pe!==X&&(j.components.responses[X]&&A("Duplicate sanitised response name "+X,ue),j.components.responses[X]=j.components.responses[Pe],delete j.components.responses[Pe]);let _=j.components.responses[X];if(B(_,X,null,j,ue),_.headers)for(let $ in _.headers)$.toLowerCase()==="status code"?ue.patch?(ue.patches++,delete _.headers[$]):A('(Patchable) "Status Code" is not a valid header',ue):Fe(_.headers[$],ue)}for(let Pe in j.components.requestBodies){let X=j.components.requestBodies[Pe],_=JSON.stringify(X),$=v.hash(_),H={};H.name=Pe,H.body=X,H.refs=[],Ce[$]=H}if(J(j.paths,"paths",ue,Ce,j),j["x-ms-paths"]&&J(j["x-ms-paths"],"x-ms-paths",ue,Ce,j),!ue.debug)for(let Pe in j.components.parameters)j.components.parameters[Pe]["x-s2o-delete"]&&delete j.components.parameters[Pe];ue.debug&&(j["x-s2o-consumes"]=j.consumes||[],j["x-s2o-produces"]=j.produces||[]),delete j.consumes,delete j.produces,delete j.schemes;let et=[];if(j.components.requestBodies={},!ue.resolveInternal){let Pe=1;for(let X in Ce){let _=Ce[X];if(_.refs.length>1){let $="";for(_.name||(_.name="requestBody",$=Pe++);et.indexOf(_.name+$)>=0;)$=$?++$:2;_.name=_.name+$,et.push(_.name),j.components.requestBodies[_.name]=h(_.body);for(let H in _.refs){let I={};I.$ref="#/components/requestBodies/"+_.name,u.jptr(j,_.refs[H],I)}}}}return j.components.responses&&Object.keys(j.components.responses).length===0&&delete j.components.responses,j.components.parameters&&Object.keys(j.components.parameters).length===0&&delete j.components.parameters,j.components.examples&&Object.keys(j.components.examples).length===0&&delete j.components.examples,j.components.requestBodies&&Object.keys(j.components.requestBodies).length===0&&delete j.components.requestBodies,j.components.securitySchemes&&Object.keys(j.components.securitySchemes).length===0&&delete j.components.securitySchemes,j.components.headers&&Object.keys(j.components.headers).length===0&&delete j.components.headers,j.components.schemas&&Object.keys(j.components.schemas).length===0&&delete j.components.schemas,j.components&&Object.keys(j.components).length===0&&delete j.components,j}function W(j){return!j||!j.url||typeof j.url!="string"||(j.url=j.url.split("{{").join("{"),j.url=j.url.split("}}").join("}"),j.url.replace(/\{(.+?)\}/g,function(ue,Ce){j.variables||(j.variables={}),j.variables[Ce]={default:"unknown"}})),j}function V(j,ue,Ce){if(typeof j.info=="undefined"||j.info===null)if(ue.patch)ue.patches++,j.info={version:"",title:""};else return Ce(new C("(Patchable) info object is mandatory"));if(typeof j.info!="object"||Array.isArray(j.info))return Ce(new C("info must be an object"));if(typeof j.info.title=="undefined"||j.info.title===null)if(ue.patch)ue.patches++,j.info.title="";else return Ce(new C("(Patchable) info.title cannot be null"));if(typeof j.info.version=="undefined"||j.info.version===null)if(ue.patch)ue.patches++,j.info.version="";else return Ce(new C("(Patchable) info.version cannot be null"));if(typeof j.info.version!="string")if(ue.patch)ue.patches++,j.info.version=j.info.version.toString();else return Ce(new C("(Patchable) info.version must be a string"));if(typeof j.info.logo!="undefined")if(ue.patch)ue.patches++,j.info["x-logo"]=j.info.logo,delete j.info.logo;else return Ce(new C("(Patchable) info should not have logo property"));if(typeof j.info.termsOfService!="undefined"){if(j.info.termsOfService===null)if(ue.patch)ue.patches++,j.info.termsOfService="";else return Ce(new C("(Patchable) info.termsOfService cannot be null"));try{let et=new URL(j.info.termsOfService)}catch(et){if(ue.patch)ue.patches++,delete j.info.termsOfService;else return Ce(new C("(Patchable) info.termsOfService must be a URL"))}}}function ae(j,ue,Ce){if(typeof j.paths=="undefined")if(ue.patch)ue.patches++,j.paths={};else return Ce(new C("(Patchable) paths object is mandatory"))}function pe(j,ue){const Ce=new WeakSet;E(j,{identityDetection:!0},function(et,Pe,X){typeof et[Pe]=="object"&&et[Pe]!==null&&(Ce.has(et[Pe])?ue.anchors?et[Pe]=h(et[Pe]):A("YAML anchor or merge key at "+X.path,ue):Ce.add(et[Pe]))})}function Se(j,ue,Ce){return o(Ce,new Promise(function(et,Pe){if(j||(j={}),ue.original=j,ue.text||(ue.text=c.stringify(j)),ue.externals=[],ue.externalRefs={},ue.rewriteRefs=!0,ue.preserveMiro=!0,ue.promise={},ue.promise.resolve=et,ue.promise.reject=Pe,ue.patches=0,ue.cache||(ue.cache={}),ue.source&&(ue.cache[ue.source]=ue.original),pe(j,ue),j.openapi&&typeof j.openapi=="string"&&j.openapi.startsWith("3.")){ue.openapi=p(j),V(ue.openapi,ue,Pe),ae(ue.openapi,ue,Pe),T.optionalResolve(ue).then(function(){return ue.direct?et(ue.openapi):et(ue)}).catch(function(_){console.warn(_),Pe(_)});return}if(!j.swagger||j.swagger!="2.0")return Pe(new C("Unsupported swagger/OpenAPI version: "+(j.openapi?j.openapi:j.swagger)));let X=ue.openapi={};if(X.openapi=typeof ue.targetVersion=="string"&&ue.targetVersion.startsWith("3.")?ue.targetVersion:y,ue.origin){X["x-origin"]||(X["x-origin"]=[]);let _={};_.url=ue.source||ue.origin,_.format="swagger",_.version=j.swagger,_.converter={},_.converter.url="https://github.com/mermade/oas-kit",_.converter.version=m,X["x-origin"].push(_)}if(X=Object.assign(X,p(j)),delete X.swagger,E(X,{},function(_,$,H){_[$]===null&&!$.startsWith("x-")&&$!=="default"&&H.path.indexOf("/example")<0&&delete _[$]}),j.host)for(let _ of Array.isArray(j.schemes)?j.schemes:[""]){let $={},H=(j.basePath||"").replace(/\/$/,"");$.url=(_?_+":":"")+"//"+j.host+H,W($),X.servers||(X.servers=[]),X.servers.push($)}else if(j.basePath){let _={};_.url=j.basePath,W(_),X.servers||(X.servers=[]),X.servers.push(_)}if(delete X.host,delete X.basePath,X["x-servers"]&&Array.isArray(X["x-servers"])&&(X.servers=X["x-servers"],delete X["x-servers"]),j["x-ms-parameterized-host"]){let _=j["x-ms-parameterized-host"],$={};$.url=_.hostTemplate+(j.basePath?j.basePath:""),$.variables={};const H=$.url.match(/\{\w+\}/g);for(let I in _.parameters){let ve=_.parameters[I];ve.$ref&&(ve=h(a(X,ve.$ref))),I.startsWith("x-")||(delete ve.required,delete ve.type,delete ve.in,typeof ve.default=="undefined"&&(ve.enum?ve.default=ve.enum[0]:ve.default="none"),ve.name||(ve.name=H[I].replace("{","").replace("}","")),$.variables[ve.name]=ve,delete ve.name)}X.servers||(X.servers=[]),_.useSchemePrefix===!1?X.servers.push($):j.schemes.forEach(I=>{X.servers.push(Object.assign({},$,{url:I+"://"+$.url}))}),delete X["x-ms-parameterized-host"]}V(X,ue,Pe),ae(X,ue,Pe),typeof X.consumes=="string"&&(X.consumes=[X.consumes]),typeof X.produces=="string"&&(X.produces=[X.produces]),X.components={},X["x-callbacks"]&&(X.components.callbacks=X["x-callbacks"],delete X["x-callbacks"]),X.components.examples={},X.components.headers={},X["x-links"]&&(X.components.links=X["x-links"],delete X["x-links"]),X.components.parameters=X.parameters||{},X.components.responses=X.responses||{},X.components.requestBodies={},X.components.securitySchemes=X.securityDefinitions||{},X.components.schemas=X.definitions||{},delete X.definitions,delete X.responses,delete X.parameters,delete X.securityDefinitions,T.optionalResolve(ue).then(function(){re(ue.openapi,ue),ue.direct?et(ue.openapi):et(ue)}).catch(function(_){console.warn(_),Pe(_)})}))}function De(j,ue,Ce){return o(Ce,new Promise(function(et,Pe){let X=null,_=null;try{X=JSON.parse(j),ue.text=JSON.stringify(X,null,2)}catch($){_=$;try{X=c.parse(j,{schema:"core",prettyErrors:!0}),ue.sourceYaml=!0,ue.text=j}catch(H){_=H}}X?Se(X,ue).then($=>et($)).catch($=>Pe($)):Pe(new C(_?_.message:"Could not parse string"))}))}function nt(j,ue,Ce){return o(Ce,new Promise(function(et,Pe){ue.origin=!0,ue.source||(ue.source=j),ue.verbose&&console.warn("GET "+j),ue.fetch||(ue.fetch=r);const X=Object.assign({},ue.fetchOptions,{agent:ue.agent});ue.fetch(j,X).then(function(_){if(_.status!==200)throw new C(`Received status code ${_.status}: ${j}`);return _.text()}).then(function(_){De(_,ue).then($=>et($)).catch($=>Pe($))}).catch(function(_){Pe(_)})}))}function Me(j,ue,Ce){return o(Ce,new Promise(function(et,Pe){t.readFile(j,ue.encoding||"utf8",function(X,_){X?Pe(X):(ue.sourceFile=j,De(_,ue).then($=>et($)).catch($=>Pe($)))})}))}function _e(j,ue,Ce){return o(Ce,new Promise(function(et,Pe){let X="";j.on("data",function(_){X+=_}).on("end",function(){De(X,ue).then(_=>et(_)).catch(_=>Pe(_))})}))}L.exports={S2OError:C,targetVersion:y,convert:Se,convertObj:Se,convertUrl:nt,convertStr:De,convertFile:Me,convertStream:_e}},52711:(L,n,e)=>{"use strict";const t=e(46177),l={default:"Default response","1XX":"Informational","103":"Early hints","2XX":"Successful","3XX":"Redirection","4XX":"Client Error","5XX":"Server Error","7XX":"Developer Error"};L.exports={statusCodes:Object.assign({},l,t.STATUS_CODES)}},60540:function(L,n){/** @license URI.js v4.4.1 (c) 2011 Gary Court. License: http://github.com/garycourt/uri-js */(function(e,t){t(n)})(this,function(e){"use strict";function t(){for(var Ke=arguments.length,Be=Array(Ke),it=0;it<Ke;it++)Be[it]=arguments[it];if(Be.length>1){Be[0]=Be[0].slice(0,-1);for(var Et=Be.length-1,Ot=1;Ot<Et;++Ot)Be[Ot]=Be[Ot].slice(1,-1);return Be[Et]=Be[Et].slice(1),Be.join("")}else return Be[0]}function l(Ke){return"(?:"+Ke+")"}function s(Ke){return Ke===void 0?"undefined":Ke===null?"null":Object.prototype.toString.call(Ke).split(" ").pop().split("]").shift().toLowerCase()}function o(Ke){return Ke.toUpperCase()}function r(Ke){return Ke!=null?Ke instanceof Array?Ke:typeof Ke.length!="number"||Ke.split||Ke.setInterval||Ke.call?[Ke]:Array.prototype.slice.call(Ke):[]}function c(Ke,Be){var it=Ke;if(Be)for(var Et in Be)it[Et]=Be[Et];return it}function u(Ke){var Be="[A-Za-z]",it="[\\x0D]",Et="[0-9]",Ot="[\\x22]",cn=t(Et,"[A-Fa-f]"),Mn="[\\x0A]",Dn="[\\x20]",Rn=l(l("%[EFef]"+cn+"%"+cn+cn+"%"+cn+cn)+"|"+l("%[89A-Fa-f]"+cn+"%"+cn+cn)+"|"+l("%"+cn+cn)),Gn="[\\:\\/\\?\\#\\[\\]\\@]",Pn="[\\!\\$\\&\\'\\(\\)\\*\\+\\,\\;\\=]",Ze=t(Gn,Pn),ut=Ke?"[\\xA0-\\u200D\\u2010-\\u2029\\u202F-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF]":"[]",Pt=Ke?"[\\uE000-\\uF8FF]":"[]",Mt=t(Be,Et,"[\\-\\.\\_\\~]",ut),zt=l(Be+t(Be,Et,"[\\+\\-\\.]")+"*"),Zt=l(l(Rn+"|"+t(Mt,Pn,"[\\:]"))+"*"),Qe=l(l("25[0-5]")+"|"+l("2[0-4]"+Et)+"|"+l("1"+Et+Et)+"|"+l("[1-9]"+Et)+"|"+Et),ot=l(l("25[0-5]")+"|"+l("2[0-4]"+Et)+"|"+l("1"+Et+Et)+"|"+l("0?[1-9]"+Et)+"|0?0?"+Et),Xe=l(ot+"\\."+ot+"\\."+ot+"\\."+ot),st=l(cn+"{1,4}"),wt=l(l(st+"\\:"+st)+"|"+Xe),tn=l(l(st+"\\:")+"{6}"+wt),qt=l("\\:\\:"+l(st+"\\:")+"{5}"+wt),bn=l(l(st)+"?\\:\\:"+l(st+"\\:")+"{4}"+wt),Fn=l(l(l(st+"\\:")+"{0,1}"+st)+"?\\:\\:"+l(st+"\\:")+"{3}"+wt),Ln=l(l(l(st+"\\:")+"{0,2}"+st)+"?\\:\\:"+l(st+"\\:")+"{2}"+wt),ir=l(l(l(st+"\\:")+"{0,3}"+st)+"?\\:\\:"+st+"\\:"+wt),Nn=l(l(l(st+"\\:")+"{0,4}"+st)+"?\\:\\:"+wt),En=l(l(l(st+"\\:")+"{0,5}"+st)+"?\\:\\:"+st),Xn=l(l(l(st+"\\:")+"{0,6}"+st)+"?\\:\\:"),kn=l([tn,qt,bn,Fn,Ln,ir,Nn,En,Xn].join("|")),On=l(l(Mt+"|"+Rn)+"+"),Yn=l(kn+"\\%25"+On),Hn=l(kn+l("\\%25|\\%(?!"+cn+"{2})")+On),xn=l("[vV]"+cn+"+\\."+t(Mt,Pn,"[\\:]")+"+"),hr=l("\\["+l(Hn+"|"+kn+"|"+xn)+"\\]"),sr=l(l(Rn+"|"+t(Mt,Pn))+"*"),ur=l(hr+"|"+Xe+"(?!"+sr+")|"+sr),Qn=l(Et+"*"),vr=l(l(Zt+"@")+"?"+ur+l("\\:"+Qn)+"?"),Dr=l(Rn+"|"+t(Mt,Pn,"[\\:\\@]")),jr=l(Dr+"*"),Er=l(Dr+"+"),Vr=l(l(Rn+"|"+t(Mt,Pn,"[\\@]"))+"+"),Sr=l(l("\\/"+jr)+"*"),Tr=l("\\/"+l(Er+Sr)+"?"),qn=l(Vr+Sr),sn=l(Er+Sr),It="(?!"+Dr+")",fn=l(Sr+"|"+Tr+"|"+qn+"|"+sn+"|"+It),vn=l(l(Dr+"|"+t("[\\/\\?]",Pt))+"*"),er=l(l(Dr+"|[\\/\\?]")+"*"),ar=l(l("\\/\\/"+vr+Sr)+"|"+Tr+"|"+sn+"|"+It),nr=l(zt+"\\:"+ar+l("\\?"+vn)+"?"+l("\\#"+er)+"?"),Ye=l(l("\\/\\/"+vr+Sr)+"|"+Tr+"|"+qn+"|"+It),ye=l(Ye+l("\\?"+vn)+"?"+l("\\#"+er)+"?"),Ae=l(nr+"|"+ye),gt=l(zt+"\\:"+ar+l("\\?"+vn)+"?"),Ve="^("+zt+")\\:"+l(l("\\/\\/("+l("("+Zt+")@")+"?("+ur+")"+l("\\:("+Qn+")")+"?)")+"?("+Sr+"|"+Tr+"|"+sn+"|"+It+")")+l("\\?("+vn+")")+"?"+l("\\#("+er+")")+"?$",Gt="^(){0}"+l(l("\\/\\/("+l("("+Zt+")@")+"?("+ur+")"+l("\\:("+Qn+")")+"?)")+"?("+Sr+"|"+Tr+"|"+qn+"|"+It+")")+l("\\?("+vn+")")+"?"+l("\\#("+er+")")+"?$",rt="^("+zt+")\\:"+l(l("\\/\\/("+l("("+Zt+")@")+"?("+ur+")"+l("\\:("+Qn+")")+"?)")+"?("+Sr+"|"+Tr+"|"+sn+"|"+It+")")+l("\\?("+vn+")")+"?$",an="^"+l("\\#("+er+")")+"?$",pn="^"+l("("+Zt+")@")+"?("+ur+")"+l("\\:("+Qn+")")+"?$";return{NOT_SCHEME:new RegExp(t("[^]",Be,Et,"[\\+\\-\\.]"),"g"),NOT_USERINFO:new RegExp(t("[^\\%\\:]",Mt,Pn),"g"),NOT_HOST:new RegExp(t("[^\\%\\[\\]\\:]",Mt,Pn),"g"),NOT_PATH:new RegExp(t("[^\\%\\/\\:\\@]",Mt,Pn),"g"),NOT_PATH_NOSCHEME:new RegExp(t("[^\\%\\/\\@]",Mt,Pn),"g"),NOT_QUERY:new RegExp(t("[^\\%]",Mt,Pn,"[\\:\\@\\/\\?]",Pt),"g"),NOT_FRAGMENT:new RegExp(t("[^\\%]",Mt,Pn,"[\\:\\@\\/\\?]"),"g"),ESCAPE:new RegExp(t("[^]",Mt,Pn),"g"),UNRESERVED:new RegExp(Mt,"g"),OTHER_CHARS:new RegExp(t("[^\\%]",Mt,Ze),"g"),PCT_ENCODED:new RegExp(Rn,"g"),IPV4ADDRESS:new RegExp("^("+Xe+")$"),IPV6ADDRESS:new RegExp("^\\[?("+kn+")"+l(l("\\%25|\\%(?!"+cn+"{2})")+"("+On+")")+"?\\]?$")}}var a=u(!1),d=u(!0),h=function(){function Ke(Be,it){var Et=[],Ot=!0,cn=!1,Mn=void 0;try{for(var Dn=Be[Symbol.iterator](),Rn;!(Ot=(Rn=Dn.next()).done)&&(Et.push(Rn.value),!(it&&Et.length===it));Ot=!0);}catch(Gn){cn=!0,Mn=Gn}finally{try{!Ot&&Dn.return&&Dn.return()}finally{if(cn)throw Mn}}return Et}return function(Be,it){if(Array.isArray(Be))return Be;if(Symbol.iterator in Object(Be))return Ke(Be,it);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),p=function(Ke){if(Array.isArray(Ke)){for(var Be=0,it=Array(Ke.length);Be<Ke.length;Be++)it[Be]=Ke[Be];return it}else return Array.from(Ke)},E=2147483647,T=36,S=1,v=26,b=38,m=700,y=72,O=128,C="-",A=/^xn--/,w=/[^\0-\x7E]/,x=/[\x2E\u3002\uFF0E\uFF61]/g,R={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},g=T-S,k=Math.floor,G=String.fromCharCode;function Z(Ke){throw new RangeError(R[Ke])}function oe(Ke,Be){for(var it=[],Et=Ke.length;Et--;)it[Et]=Be(Ke[Et]);return it}function ee(Ke,Be){var it=Ke.split("@"),Et="";it.length>1&&(Et=it[0]+"@",Ke=it[1]),Ke=Ke.replace(x,".");var Ot=Ke.split("."),cn=oe(Ot,Be).join(".");return Et+cn}function Ee(Ke){for(var Be=[],it=0,Et=Ke.length;it<Et;){var Ot=Ke.charCodeAt(it++);if(Ot>=55296&&Ot<=56319&&it<Et){var cn=Ke.charCodeAt(it++);(cn&64512)==56320?Be.push(((Ot&1023)<<10)+(cn&1023)+65536):(Be.push(Ot),it--)}else Be.push(Ot)}return Be}var Fe=function(Be){return String.fromCodePoint.apply(String,p(Be))},ce=function(Be){return Be-48<10?Be-22:Be-65<26?Be-65:Be-97<26?Be-97:T},te=function(Be,it){return Be+22+75*(Be<26)-((it!=0)<<5)},he=function(Be,it,Et){var Ot=0;for(Be=Et?k(Be/m):Be>>1,Be+=k(Be/it);Be>g*v>>1;Ot+=T)Be=k(Be/g);return k(Ot+(g+1)*Be/(Be+b))},Q=function(Be){var it=[],Et=Be.length,Ot=0,cn=O,Mn=y,Dn=Be.lastIndexOf(C);Dn<0&&(Dn=0);for(var Rn=0;Rn<Dn;++Rn)Be.charCodeAt(Rn)>=128&&Z("not-basic"),it.push(Be.charCodeAt(Rn));for(var Gn=Dn>0?Dn+1:0;Gn<Et;){for(var Pn=Ot,Ze=1,ut=T;;ut+=T){Gn>=Et&&Z("invalid-input");var Pt=ce(Be.charCodeAt(Gn++));(Pt>=T||Pt>k((E-Ot)/Ze))&&Z("overflow"),Ot+=Pt*Ze;var Mt=ut<=Mn?S:ut>=Mn+v?v:ut-Mn;if(Pt<Mt)break;var zt=T-Mt;Ze>k(E/zt)&&Z("overflow"),Ze*=zt}var Zt=it.length+1;Mn=he(Ot-Pn,Zt,Pn==0),k(Ot/Zt)>E-cn&&Z("overflow"),cn+=k(Ot/Zt),Ot%=Zt,it.splice(Ot++,0,cn)}return String.fromCodePoint.apply(String,it)},B=function(Be){var it=[];Be=Ee(Be);var Et=Be.length,Ot=O,cn=0,Mn=y,Dn=!0,Rn=!1,Gn=void 0;try{for(var Pn=Be[Symbol.iterator](),Ze;!(Dn=(Ze=Pn.next()).done);Dn=!0){var ut=Ze.value;ut<128&&it.push(G(ut))}}catch(Hn){Rn=!0,Gn=Hn}finally{try{!Dn&&Pn.return&&Pn.return()}finally{if(Rn)throw Gn}}var Pt=it.length,Mt=Pt;for(Pt&&it.push(C);Mt<Et;){var zt=E,Zt=!0,Qe=!1,ot=void 0;try{for(var Xe=Be[Symbol.iterator](),st;!(Zt=(st=Xe.next()).done);Zt=!0){var wt=st.value;wt>=Ot&&wt<zt&&(zt=wt)}}catch(Hn){Qe=!0,ot=Hn}finally{try{!Zt&&Xe.return&&Xe.return()}finally{if(Qe)throw ot}}var tn=Mt+1;zt-Ot>k((E-cn)/tn)&&Z("overflow"),cn+=(zt-Ot)*tn,Ot=zt;var qt=!0,bn=!1,Fn=void 0;try{for(var Ln=Be[Symbol.iterator](),ir;!(qt=(ir=Ln.next()).done);qt=!0){var Nn=ir.value;if(Nn<Ot&&++cn>E&&Z("overflow"),Nn==Ot){for(var En=cn,Xn=T;;Xn+=T){var kn=Xn<=Mn?S:Xn>=Mn+v?v:Xn-Mn;if(En<kn)break;var On=En-kn,Yn=T-kn;it.push(G(te(kn+On%Yn,0))),En=k(On/Yn)}it.push(G(te(En,0))),Mn=he(cn,tn,Mt==Pt),cn=0,++Mt}}}catch(Hn){bn=!0,Fn=Hn}finally{try{!qt&&Ln.return&&Ln.return()}finally{if(bn)throw Fn}}++cn,++Ot}return it.join("")},J=function(Be){return ee(Be,function(it){return A.test(it)?Q(it.slice(4).toLowerCase()):it})},re=function(Be){return ee(Be,function(it){return w.test(it)?"xn--"+B(it):it})},W={version:"2.1.0",ucs2:{decode:Ee,encode:Fe},decode:Q,encode:B,toASCII:re,toUnicode:J},V={};function ae(Ke){var Be=Ke.charCodeAt(0),it=void 0;return Be<16?it="%0"+Be.toString(16).toUpperCase():Be<128?it="%"+Be.toString(16).toUpperCase():Be<2048?it="%"+(Be>>6|192).toString(16).toUpperCase()+"%"+(Be&63|128).toString(16).toUpperCase():it="%"+(Be>>12|224).toString(16).toUpperCase()+"%"+(Be>>6&63|128).toString(16).toUpperCase()+"%"+(Be&63|128).toString(16).toUpperCase(),it}function pe(Ke){for(var Be="",it=0,Et=Ke.length;it<Et;){var Ot=parseInt(Ke.substr(it+1,2),16);if(Ot<128)Be+=String.fromCharCode(Ot),it+=3;else if(Ot>=194&&Ot<224){if(Et-it>=6){var cn=parseInt(Ke.substr(it+4,2),16);Be+=String.fromCharCode((Ot&31)<<6|cn&63)}else Be+=Ke.substr(it,6);it+=6}else if(Ot>=224){if(Et-it>=9){var Mn=parseInt(Ke.substr(it+4,2),16),Dn=parseInt(Ke.substr(it+7,2),16);Be+=String.fromCharCode((Ot&15)<<12|(Mn&63)<<6|Dn&63)}else Be+=Ke.substr(it,9);it+=9}else Be+=Ke.substr(it,3),it+=3}return Be}function Se(Ke,Be){function it(Et){var Ot=pe(Et);return Ot.match(Be.UNRESERVED)?Ot:Et}return Ke.scheme&&(Ke.scheme=String(Ke.scheme).replace(Be.PCT_ENCODED,it).toLowerCase().replace(Be.NOT_SCHEME,"")),Ke.userinfo!==void 0&&(Ke.userinfo=String(Ke.userinfo).replace(Be.PCT_ENCODED,it).replace(Be.NOT_USERINFO,ae).replace(Be.PCT_ENCODED,o)),Ke.host!==void 0&&(Ke.host=String(Ke.host).replace(Be.PCT_ENCODED,it).toLowerCase().replace(Be.NOT_HOST,ae).replace(Be.PCT_ENCODED,o)),Ke.path!==void 0&&(Ke.path=String(Ke.path).replace(Be.PCT_ENCODED,it).replace(Ke.scheme?Be.NOT_PATH:Be.NOT_PATH_NOSCHEME,ae).replace(Be.PCT_ENCODED,o)),Ke.query!==void 0&&(Ke.query=String(Ke.query).replace(Be.PCT_ENCODED,it).replace(Be.NOT_QUERY,ae).replace(Be.PCT_ENCODED,o)),Ke.fragment!==void 0&&(Ke.fragment=String(Ke.fragment).replace(Be.PCT_ENCODED,it).replace(Be.NOT_FRAGMENT,ae).replace(Be.PCT_ENCODED,o)),Ke}function De(Ke){return Ke.replace(/^0*(.*)/,"$1")||"0"}function nt(Ke,Be){var it=Ke.match(Be.IPV4ADDRESS)||[],Et=h(it,2),Ot=Et[1];return Ot?Ot.split(".").map(De).join("."):Ke}function Me(Ke,Be){var it=Ke.match(Be.IPV6ADDRESS)||[],Et=h(it,3),Ot=Et[1],cn=Et[2];if(Ot){for(var Mn=Ot.toLowerCase().split("::").reverse(),Dn=h(Mn,2),Rn=Dn[0],Gn=Dn[1],Pn=Gn?Gn.split(":").map(De):[],Ze=Rn.split(":").map(De),ut=Be.IPV4ADDRESS.test(Ze[Ze.length-1]),Pt=ut?7:8,Mt=Ze.length-Pt,zt=Array(Pt),Zt=0;Zt<Pt;++Zt)zt[Zt]=Pn[Zt]||Ze[Mt+Zt]||"";ut&&(zt[Pt-1]=nt(zt[Pt-1],Be));var Qe=zt.reduce(function(tn,qt,bn){if(!qt||qt==="0"){var Fn=tn[tn.length-1];Fn&&Fn.index+Fn.length===bn?Fn.length++:tn.push({index:bn,length:1})}return tn},[]),ot=Qe.sort(function(tn,qt){return qt.length-tn.length})[0],Xe=void 0;if(ot&&ot.length>1){var st=zt.slice(0,ot.index),wt=zt.slice(ot.index+ot.length);Xe=st.join(":")+"::"+wt.join(":")}else Xe=zt.join(":");return cn&&(Xe+="%"+cn),Xe}else return Ke}var _e=/^(?:([^:\/?#]+):)?(?:\/\/((?:([^\/?#@]*)@)?(\[[^\/?#\]]+\]|[^\/?#:]*)(?:\:(\d*))?))?([^?#]*)(?:\?([^#]*))?(?:#((?:.|\n|\r)*))?/i,j="".match(/(){0}/)[1]===void 0;function ue(Ke){var Be=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},it={},Et=Be.iri!==!1?d:a;Be.reference==="suffix"&&(Ke=(Be.scheme?Be.scheme+":":"")+"//"+Ke);var Ot=Ke.match(_e);if(Ot){j?(it.scheme=Ot[1],it.userinfo=Ot[3],it.host=Ot[4],it.port=parseInt(Ot[5],10),it.path=Ot[6]||"",it.query=Ot[7],it.fragment=Ot[8],isNaN(it.port)&&(it.port=Ot[5])):(it.scheme=Ot[1]||void 0,it.userinfo=Ke.indexOf("@")!==-1?Ot[3]:void 0,it.host=Ke.indexOf("//")!==-1?Ot[4]:void 0,it.port=parseInt(Ot[5],10),it.path=Ot[6]||"",it.query=Ke.indexOf("?")!==-1?Ot[7]:void 0,it.fragment=Ke.indexOf("#")!==-1?Ot[8]:void 0,isNaN(it.port)&&(it.port=Ke.match(/\/\/(?:.|\n)*\:(?:\/|\?|\#|$)/)?Ot[4]:void 0)),it.host&&(it.host=Me(nt(it.host,Et),Et)),it.scheme===void 0&&it.userinfo===void 0&&it.host===void 0&&it.port===void 0&&!it.path&&it.query===void 0?it.reference="same-document":it.scheme===void 0?it.reference="relative":it.fragment===void 0?it.reference="absolute":it.reference="uri",Be.reference&&Be.reference!=="suffix"&&Be.reference!==it.reference&&(it.error=it.error||"URI is not a "+Be.reference+" reference.");var cn=V[(Be.scheme||it.scheme||"").toLowerCase()];if(!Be.unicodeSupport&&(!cn||!cn.unicodeSupport)){if(it.host&&(Be.domainHost||cn&&cn.domainHost))try{it.host=W.toASCII(it.host.replace(Et.PCT_ENCODED,pe).toLowerCase())}catch(Mn){it.error=it.error||"Host's domain name can not be converted to ASCII via punycode: "+Mn}Se(it,a)}else Se(it,Et);cn&&cn.parse&&cn.parse(it,Be)}else it.error=it.error||"URI can not be parsed.";return it}function Ce(Ke,Be){var it=Be.iri!==!1?d:a,Et=[];return Ke.userinfo!==void 0&&(Et.push(Ke.userinfo),Et.push("@")),Ke.host!==void 0&&Et.push(Me(nt(String(Ke.host),it),it).replace(it.IPV6ADDRESS,function(Ot,cn,Mn){return"["+cn+(Mn?"%25"+Mn:"")+"]"})),(typeof Ke.port=="number"||typeof Ke.port=="string")&&(Et.push(":"),Et.push(String(Ke.port))),Et.length?Et.join(""):void 0}var et=/^\.\.?\//,Pe=/^\/\.(\/|$)/,X=/^\/\.\.(\/|$)/,_=/^\/?(?:.|\n)*?(?=\/|$)/;function $(Ke){for(var Be=[];Ke.length;)if(Ke.match(et))Ke=Ke.replace(et,"");else if(Ke.match(Pe))Ke=Ke.replace(Pe,"/");else if(Ke.match(X))Ke=Ke.replace(X,"/"),Be.pop();else if(Ke==="."||Ke==="..")Ke="";else{var it=Ke.match(_);if(it){var Et=it[0];Ke=Ke.slice(Et.length),Be.push(Et)}else throw new Error("Unexpected dot segment condition")}return Be.join("")}function H(Ke){var Be=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},it=Be.iri?d:a,Et=[],Ot=V[(Be.scheme||Ke.scheme||"").toLowerCase()];if(Ot&&Ot.serialize&&Ot.serialize(Ke,Be),Ke.host&&!it.IPV6ADDRESS.test(Ke.host)){if(Be.domainHost||Ot&&Ot.domainHost)try{Ke.host=Be.iri?W.toUnicode(Ke.host):W.toASCII(Ke.host.replace(it.PCT_ENCODED,pe).toLowerCase())}catch(Dn){Ke.error=Ke.error||"Host's domain name can not be converted to "+(Be.iri?"Unicode":"ASCII")+" via punycode: "+Dn}}Se(Ke,it),Be.reference!=="suffix"&&Ke.scheme&&(Et.push(Ke.scheme),Et.push(":"));var cn=Ce(Ke,Be);if(cn!==void 0&&(Be.reference!=="suffix"&&Et.push("//"),Et.push(cn),Ke.path&&Ke.path.charAt(0)!=="/"&&Et.push("/")),Ke.path!==void 0){var Mn=Ke.path;!Be.absolutePath&&(!Ot||!Ot.absolutePath)&&(Mn=$(Mn)),cn===void 0&&(Mn=Mn.replace(/^\/\//,"/%2F")),Et.push(Mn)}return Ke.query!==void 0&&(Et.push("?"),Et.push(Ke.query)),Ke.fragment!==void 0&&(Et.push("#"),Et.push(Ke.fragment)),Et.join("")}function I(Ke,Be){var it=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},Et=arguments[3],Ot={};return Et||(Ke=ue(H(Ke,it),it),Be=ue(H(Be,it),it)),it=it||{},!it.tolerant&&Be.scheme?(Ot.scheme=Be.scheme,Ot.userinfo=Be.userinfo,Ot.host=Be.host,Ot.port=Be.port,Ot.path=$(Be.path||""),Ot.query=Be.query):(Be.userinfo!==void 0||Be.host!==void 0||Be.port!==void 0?(Ot.userinfo=Be.userinfo,Ot.host=Be.host,Ot.port=Be.port,Ot.path=$(Be.path||""),Ot.query=Be.query):(Be.path?(Be.path.charAt(0)==="/"?Ot.path=$(Be.path):((Ke.userinfo!==void 0||Ke.host!==void 0||Ke.port!==void 0)&&!Ke.path?Ot.path="/"+Be.path:Ke.path?Ot.path=Ke.path.slice(0,Ke.path.lastIndexOf("/")+1)+Be.path:Ot.path=Be.path,Ot.path=$(Ot.path)),Ot.query=Be.query):(Ot.path=Ke.path,Be.query!==void 0?Ot.query=Be.query:Ot.query=Ke.query),Ot.userinfo=Ke.userinfo,Ot.host=Ke.host,Ot.port=Ke.port),Ot.scheme=Ke.scheme),Ot.fragment=Be.fragment,Ot}function ve(Ke,Be,it){var Et=c({scheme:"null"},it);return H(I(ue(Ke,Et),ue(Be,Et),Et,!0),Et)}function $e(Ke,Be){return typeof Ke=="string"?Ke=H(ue(Ke,Be),Be):s(Ke)==="object"&&(Ke=ue(H(Ke,Be),Be)),Ke}function be(Ke,Be,it){return typeof Ke=="string"?Ke=H(ue(Ke,it),it):s(Ke)==="object"&&(Ke=H(Ke,it)),typeof Be=="string"?Be=H(ue(Be,it),it):s(Be)==="object"&&(Be=H(Be,it)),Ke===Be}function Te(Ke,Be){return Ke&&Ke.toString().replace(!Be||!Be.iri?a.ESCAPE:d.ESCAPE,ae)}function Le(Ke,Be){return Ke&&Ke.toString().replace(!Be||!Be.iri?a.PCT_ENCODED:d.PCT_ENCODED,pe)}var ke={scheme:"http",domainHost:!0,parse:function(Be,it){return Be.host||(Be.error=Be.error||"HTTP URIs must have a host."),Be},serialize:function(Be,it){var Et=String(Be.scheme).toLowerCase()==="https";return(Be.port===(Et?443:80)||Be.port==="")&&(Be.port=void 0),Be.path||(Be.path="/"),Be}},at={scheme:"https",domainHost:ke.domainHost,parse:ke.parse,serialize:ke.serialize};function xt(Ke){return typeof Ke.secure=="boolean"?Ke.secure:String(Ke.scheme).toLowerCase()==="wss"}var qe={scheme:"ws",domainHost:!0,parse:function(Be,it){var Et=Be;return Et.secure=xt(Et),Et.resourceName=(Et.path||"/")+(Et.query?"?"+Et.query:""),Et.path=void 0,Et.query=void 0,Et},serialize:function(Be,it){if((Be.port===(xt(Be)?443:80)||Be.port==="")&&(Be.port=void 0),typeof Be.secure=="boolean"&&(Be.scheme=Be.secure?"wss":"ws",Be.secure=void 0),Be.resourceName){var Et=Be.resourceName.split("?"),Ot=h(Et,2),cn=Ot[0],Mn=Ot[1];Be.path=cn&&cn!=="/"?cn:void 0,Be.query=Mn,Be.resourceName=void 0}return Be.fragment=void 0,Be}},q={scheme:"wss",domainHost:qe.domainHost,parse:qe.parse,serialize:qe.serialize},ne={},ie=!0,K="[A-Za-z0-9\\-\\.\\_\\~"+(ie?"\\xA0-\\u200D\\u2010-\\u2029\\u202F-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF":"")+"]",we="[0-9A-Fa-f]",He=l(l("%[EFef]"+we+"%"+we+we+"%"+we+we)+"|"+l("%[89A-Fa-f]"+we+"%"+we+we)+"|"+l("%"+we+we)),Je="[A-Za-z0-9\\!\\$\\%\\'\\*\\+\\-\\^\\_\\`\\{\\|\\}\\~]",ft="[\\!\\$\\%\\'\\(\\)\\*\\+\\,\\-\\.0-9\\<\\>A-Z\\x5E-\\x7E]",At=t(ft,'[\\"\\\\]'),Lt="[\\!\\$\\'\\(\\)\\*\\+\\,\\;\\:\\@]",Yt=new RegExp(K,"g"),Vt=new RegExp(He,"g"),ze=new RegExp(t("[^]",Je,"[\\.]",'[\\"]',At),"g"),dt=new RegExp(t("[^]",K,Lt),"g"),bt=dt;function pt(Ke){var Be=pe(Ke);return Be.match(Yt)?Be:Ke}var Ct={scheme:"mailto",parse:function(Be,it){var Et=Be,Ot=Et.to=Et.path?Et.path.split(","):[];if(Et.path=void 0,Et.query){for(var cn=!1,Mn={},Dn=Et.query.split("&"),Rn=0,Gn=Dn.length;Rn<Gn;++Rn){var Pn=Dn[Rn].split("=");switch(Pn[0]){case"to":for(var Ze=Pn[1].split(","),ut=0,Pt=Ze.length;ut<Pt;++ut)Ot.push(Ze[ut]);break;case"subject":Et.subject=Le(Pn[1],it);break;case"body":Et.body=Le(Pn[1],it);break;default:cn=!0,Mn[Le(Pn[0],it)]=Le(Pn[1],it);break}}cn&&(Et.headers=Mn)}Et.query=void 0;for(var Mt=0,zt=Ot.length;Mt<zt;++Mt){var Zt=Ot[Mt].split("@");if(Zt[0]=Le(Zt[0]),it.unicodeSupport)Zt[1]=Le(Zt[1],it).toLowerCase();else try{Zt[1]=W.toASCII(Le(Zt[1],it).toLowerCase())}catch(Qe){Et.error=Et.error||"Email address's domain name can not be converted to ASCII via punycode: "+Qe}Ot[Mt]=Zt.join("@")}return Et},serialize:function(Be,it){var Et=Be,Ot=r(Be.to);if(Ot){for(var cn=0,Mn=Ot.length;cn<Mn;++cn){var Dn=String(Ot[cn]),Rn=Dn.lastIndexOf("@"),Gn=Dn.slice(0,Rn).replace(Vt,pt).replace(Vt,o).replace(ze,ae),Pn=Dn.slice(Rn+1);try{Pn=it.iri?W.toUnicode(Pn):W.toASCII(Le(Pn,it).toLowerCase())}catch(Mt){Et.error=Et.error||"Email address's domain name can not be converted to "+(it.iri?"Unicode":"ASCII")+" via punycode: "+Mt}Ot[cn]=Gn+"@"+Pn}Et.path=Ot.join(",")}var Ze=Be.headers=Be.headers||{};Be.subject&&(Ze.subject=Be.subject),Be.body&&(Ze.body=Be.body);var ut=[];for(var Pt in Ze)Ze[Pt]!==ne[Pt]&&ut.push(Pt.replace(Vt,pt).replace(Vt,o).replace(dt,ae)+"="+Ze[Pt].replace(Vt,pt).replace(Vt,o).replace(bt,ae));return ut.length&&(Et.query=ut.join("&")),Et}},$t=/^([^\:]+)\:(.*)/,dn={scheme:"urn",parse:function(Be,it){var Et=Be.path&&Be.path.match($t),Ot=Be;if(Et){var cn=it.scheme||Ot.scheme||"urn",Mn=Et[1].toLowerCase(),Dn=Et[2],Rn=cn+":"+(it.nid||Mn),Gn=V[Rn];Ot.nid=Mn,Ot.nss=Dn,Ot.path=void 0,Gn&&(Ot=Gn.parse(Ot,it))}else Ot.error=Ot.error||"URN can not be parsed.";return Ot},serialize:function(Be,it){var Et=it.scheme||Be.scheme||"urn",Ot=Be.nid,cn=Et+":"+(it.nid||Ot),Mn=V[cn];Mn&&(Be=Mn.serialize(Be,it));var Dn=Be,Rn=Be.nss;return Dn.path=(Ot||it.nid)+":"+Rn,Dn}},un=/^[0-9A-Fa-f]{8}(?:\-[0-9A-Fa-f]{4}){3}\-[0-9A-Fa-f]{12}$/,Cn={scheme:"urn:uuid",parse:function(Be,it){var Et=Be;return Et.uuid=Et.nss,Et.nss=void 0,!it.tolerant&&(!Et.uuid||!Et.uuid.match(un))&&(Et.error=Et.error||"UUID is not valid."),Et},serialize:function(Be,it){var Et=Be;return Et.nss=(Be.uuid||"").toLowerCase(),Et}};V[ke.scheme]=ke,V[at.scheme]=at,V[qe.scheme]=qe,V[q.scheme]=q,V[Ct.scheme]=Ct,V[dn.scheme]=dn,V[Cn.scheme]=Cn,e.SCHEMES=V,e.pctEncChar=ae,e.pctDecChars=pe,e.parse=ue,e.removeDotSegments=$,e.serialize=H,e.resolveComponents=I,e.resolve=ve,e.normalize=$e,e.equal=be,e.escapeComponent=Te,e.unescapeComponent=Le,Object.defineProperty(e,"__esModule",{value:!0})})},38264:function(L,n,e){(function(t){var l=function(){try{return!!Symbol.iterator}catch(h){return!1}},s=l(),o=function(h){var p={next:function(){var E=h.shift();return{done:E===void 0,value:E}}};return s&&(p[Symbol.iterator]=function(){return p}),p},r=function(h){return encodeURIComponent(h).replace(/%20/g,"+")},c=function(h){return decodeURIComponent(String(h).replace(/\+/g," "))},u=function(){var h=function(E){Object.defineProperty(this,"_entries",{writable:!0,value:{}});var T=typeof E;if(T!=="undefined")if(T==="string")E!==""&&this._fromString(E);else if(E instanceof h){var S=this;E.forEach(function(y,O){S.append(O,y)})}else if(E!==null&&T==="object")if(Object.prototype.toString.call(E)==="[object Array]")for(var v=0;v<E.length;v++){var b=E[v];if(Object.prototype.toString.call(b)==="[object Array]"||b.length!==2)this.append(b[0],b[1]);else throw new TypeError("Expected [string, any] as entry at index "+v+" of URLSearchParams's input")}else for(var m in E)E.hasOwnProperty(m)&&this.append(m,E[m]);else throw new TypeError("Unsupported input's type for URLSearchParams")},p=h.prototype;p.append=function(E,T){E in this._entries?this._entries[E].push(String(T)):this._entries[E]=[String(T)]},p.delete=function(E){delete this._entries[E]},p.get=function(E){return E in this._entries?this._entries[E][0]:null},p.getAll=function(E){return E in this._entries?this._entries[E].slice(0):[]},p.has=function(E){return E in this._entries},p.set=function(E,T){this._entries[E]=[String(T)]},p.forEach=function(E,T){var S;for(var v in this._entries)if(this._entries.hasOwnProperty(v)){S=this._entries[v];for(var b=0;b<S.length;b++)E.call(T,S[b],v,this)}},p.keys=function(){var E=[];return this.forEach(function(T,S){E.push(S)}),o(E)},p.values=function(){var E=[];return this.forEach(function(T){E.push(T)}),o(E)},p.entries=function(){var E=[];return this.forEach(function(T,S){E.push([S,T])}),o(E)},s&&(p[Symbol.iterator]=p.entries),p.toString=function(){var E=[];return this.forEach(function(T,S){E.push(r(S)+"="+r(T))}),E.join("&")},t.URLSearchParams=h},a=function(){try{var h=t.URLSearchParams;return new h("?a=1").toString()==="a=1"&&typeof h.prototype.set=="function"&&typeof h.prototype.entries=="function"}catch(p){return!1}};a()||u();var d=t.URLSearchParams.prototype;typeof d.sort!="function"&&(d.sort=function(){var h=this,p=[];this.forEach(function(T,S){p.push([S,T]),h._entries||h.delete(S)}),p.sort(function(T,S){return T[0]<S[0]?-1:T[0]>S[0]?1:0}),h._entries&&(h._entries={});for(var E=0;E<p.length;E++)this.append(p[E][0],p[E][1])}),typeof d._fromString!="function"&&Object.defineProperty(d,"_fromString",{enumerable:!1,configurable:!1,writable:!1,value:function(h){if(this._entries)this._entries={};else{var p=[];this.forEach(function(v,b){p.push(b)});for(var E=0;E<p.length;E++)this.delete(p[E])}h=h.replace(/^\?/,"");for(var T=h.split("&"),S,E=0;E<T.length;E++)S=T[E].split("="),this.append(c(S[0]),S.length>1?c(S[1]):"")}})})(typeof e.g!="undefined"?e.g:typeof window!="undefined"?window:typeof self!="undefined"?self:this),function(t){var l=function(){try{var r=new t.URL("b","http://a");return r.pathname="c d",r.href==="http://a/c%20d"&&r.searchParams}catch(c){return!1}},s=function(){var r=t.URL,c=function(d,h){typeof d!="string"&&(d=String(d)),h&&typeof h!="string"&&(h=String(h));var p=document,E;if(h&&(t.location===void 0||h!==t.location.href)){h=h.toLowerCase(),p=document.implementation.createHTMLDocument(""),E=p.createElement("base"),E.href=h,p.head.appendChild(E);try{if(E.href.indexOf(h)!==0)throw new Error(E.href)}catch(C){throw new Error("URL unable to set base "+h+" due to "+C)}}var T=p.createElement("a");T.href=d,E&&(p.body.appendChild(T),T.href=T.href);var S=p.createElement("input");if(S.type="url",S.value=d,T.protocol===":"||!/:/.test(T.href)||!S.checkValidity()&&!h)throw new TypeError("Invalid URL");Object.defineProperty(this,"_anchorElement",{value:T});var v=new t.URLSearchParams(this.search),b=!0,m=!0,y=this;["append","delete","set"].forEach(function(C){var A=v[C];v[C]=function(){A.apply(v,arguments),b&&(m=!1,y.search=v.toString(),m=!0)}}),Object.defineProperty(this,"searchParams",{value:v,enumerable:!0});var O=void 0;Object.defineProperty(this,"_updateSearchParams",{enumerable:!1,configurable:!1,writable:!1,value:function(){this.search!==O&&(O=this.search,m&&(b=!1,this.searchParams._fromString(this.search),b=!0))}})},u=c.prototype,a=function(d){Object.defineProperty(u,d,{get:function(){return this._anchorElement[d]},set:function(h){this._anchorElement[d]=h},enumerable:!0})};["hash","host","hostname","port","protocol"].forEach(function(d){a(d)}),Object.defineProperty(u,"search",{get:function(){return this._anchorElement.search},set:function(d){this._anchorElement.search=d,this._updateSearchParams()},enumerable:!0}),Object.defineProperties(u,{toString:{get:function(){var d=this;return function(){return d.href}}},href:{get:function(){return this._anchorElement.href.replace(/\?$/,"")},set:function(d){this._anchorElement.href=d,this._updateSearchParams()},enumerable:!0},pathname:{get:function(){return this._anchorElement.pathname.replace(/(^\/?)/,"/")},set:function(d){this._anchorElement.pathname=d},enumerable:!0},origin:{get:function(){var d={"http:":80,"https:":443,"ftp:":21}[this._anchorElement.protocol],h=this._anchorElement.port!=d&&this._anchorElement.port!=="";return this._anchorElement.protocol+"//"+this._anchorElement.hostname+(h?":"+this._anchorElement.port:"")},enumerable:!0},password:{get:function(){return""},set:function(d){},enumerable:!0},username:{get:function(){return""},set:function(d){},enumerable:!0}}),c.createObjectURL=function(d){return r.createObjectURL.apply(r,arguments)},c.revokeObjectURL=function(d){return r.revokeObjectURL.apply(r,arguments)},t.URL=c};if(l()||s(),t.location!==void 0&&!("origin"in t.location)){var o=function(){return t.location.protocol+"//"+t.location.hostname+(t.location.port?":"+t.location.port:"")};try{Object.defineProperty(t.location,"origin",{get:o,enumerable:!0})}catch(r){setInterval(function(){t.location.origin=o()},100)}}}(typeof e.g!="undefined"?e.g:typeof window!="undefined"?window:typeof self!="undefined"?self:this)},83578:function(L){(function(n,e){L.exports=e()})(this,function(){function n(){}return n.prototype.encodeReserved=function(e){return e.split(/(%[0-9A-Fa-f]{2})/g).map(function(t){return/%[0-9A-Fa-f]/.test(t)||(t=encodeURI(t).replace(/%5B/g,"[").replace(/%5D/g,"]")),t}).join("")},n.prototype.encodeUnreserved=function(e){return encodeURIComponent(e).replace(/[!'()*]/g,function(t){return"%"+t.charCodeAt(0).toString(16).toUpperCase()})},n.prototype.encodeValue=function(e,t,l){return t=e==="+"||e==="#"?this.encodeReserved(t):this.encodeUnreserved(t),l?this.encodeUnreserved(l)+"="+t:t},n.prototype.isDefined=function(e){return e!=null},n.prototype.isKeyOperator=function(e){return e===";"||e==="&"||e==="?"},n.prototype.getValues=function(e,t,l,s){var o=e[l],r=[];if(this.isDefined(o)&&o!=="")if(typeof o=="string"||typeof o=="number"||typeof o=="boolean")o=o.toString(),s&&s!=="*"&&(o=o.substring(0,parseInt(s,10))),r.push(this.encodeValue(t,o,this.isKeyOperator(t)?l:null));else if(s==="*")Array.isArray(o)?o.filter(this.isDefined).forEach(function(u){r.push(this.encodeValue(t,u,this.isKeyOperator(t)?l:null))},this):Object.keys(o).forEach(function(u){this.isDefined(o[u])&&r.push(this.encodeValue(t,o[u],u))},this);else{var c=[];Array.isArray(o)?o.filter(this.isDefined).forEach(function(u){c.push(this.encodeValue(t,u))},this):Object.keys(o).forEach(function(u){this.isDefined(o[u])&&(c.push(this.encodeUnreserved(u)),c.push(this.encodeValue(t,o[u].toString())))},this),this.isKeyOperator(t)?r.push(this.encodeUnreserved(l)+"="+c.join(",")):c.length!==0&&r.push(c.join(","))}else t===";"?this.isDefined(o)&&r.push(this.encodeUnreserved(l)):o===""&&(t==="&"||t==="?")?r.push(this.encodeUnreserved(l)+"="):o===""&&r.push("");return r},n.prototype.parse=function(e){var t=this,l=["+","#",".","/",";","?","&"];return{expand:function(s){return e.replace(/\{([^\{\}]+)\}|([^\{\}]+)/g,function(o,r,c){if(r){var u=null,a=[];if(l.indexOf(r.charAt(0))!==-1&&(u=r.charAt(0),r=r.substr(1)),r.split(/,/g).forEach(function(h){var p=/([^:\*]*)(?::(\d+)|(\*))?/.exec(h);a.push.apply(a,t.getValues(s,u,p[1],p[2]||p[3]))}),u&&u!=="+"){var d=",";return u==="?"?d="&":u!=="#"&&(d=u),(a.length!==0?u:"")+a.join(d)}else return a.join(",")}else return t.encodeReserved(c)})}}},new n})},52511:function(L,n,e){L=e.nmd(L);var t;/*! https://mths.be/punycode v1.3.2 by @mathias */(function(l){var s=n&&!n.nodeType&&n,o=L&&!L.nodeType&&L,r=typeof e.g=="object"&&e.g;(r.global===r||r.window===r||r.self===r)&&(l=r);var c,u=2147483647,a=36,d=1,h=26,p=38,E=700,T=72,S=128,v="-",b=/^xn--/,m=/[^\x20-\x7E]/,y=/[\x2E\u3002\uFF0E\uFF61]/g,O={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},C=a-d,A=Math.floor,w=String.fromCharCode,x;function R(Q){throw RangeError(O[Q])}function g(Q,B){for(var J=Q.length,re=[];J--;)re[J]=B(Q[J]);return re}function k(Q,B){var J=Q.split("@"),re="";J.length>1&&(re=J[0]+"@",Q=J[1]),Q=Q.replace(y,".");var W=Q.split("."),V=g(W,B).join(".");return re+V}function G(Q){for(var B=[],J=0,re=Q.length,W,V;J<re;)W=Q.charCodeAt(J++),W>=55296&&W<=56319&&J<re?(V=Q.charCodeAt(J++),(V&64512)==56320?B.push(((W&1023)<<10)+(V&1023)+65536):(B.push(W),J--)):B.push(W);return B}function Z(Q){return g(Q,function(B){var J="";return B>65535&&(B-=65536,J+=w(B>>>10&1023|55296),B=56320|B&1023),J+=w(B),J}).join("")}function oe(Q){return Q-48<10?Q-22:Q-65<26?Q-65:Q-97<26?Q-97:a}function ee(Q,B){return Q+22+75*(Q<26)-((B!=0)<<5)}function Ee(Q,B,J){var re=0;for(Q=J?A(Q/E):Q>>1,Q+=A(Q/B);Q>C*h>>1;re+=a)Q=A(Q/C);return A(re+(C+1)*Q/(Q+p))}function Fe(Q){var B=[],J=Q.length,re,W=0,V=S,ae=T,pe,Se,De,nt,Me,_e,j,ue,Ce;for(pe=Q.lastIndexOf(v),pe<0&&(pe=0),Se=0;Se<pe;++Se)Q.charCodeAt(Se)>=128&&R("not-basic"),B.push(Q.charCodeAt(Se));for(De=pe>0?pe+1:0;De<J;){for(nt=W,Me=1,_e=a;De>=J&&R("invalid-input"),j=oe(Q.charCodeAt(De++)),(j>=a||j>A((u-W)/Me))&&R("overflow"),W+=j*Me,ue=_e<=ae?d:_e>=ae+h?h:_e-ae,!(j<ue);_e+=a)Ce=a-ue,Me>A(u/Ce)&&R("overflow"),Me*=Ce;re=B.length+1,ae=Ee(W-nt,re,nt==0),A(W/re)>u-V&&R("overflow"),V+=A(W/re),W%=re,B.splice(W++,0,V)}return Z(B)}function ce(Q){var B,J,re,W,V,ae,pe,Se,De,nt,Me,_e=[],j,ue,Ce,et;for(Q=G(Q),j=Q.length,B=S,J=0,V=T,ae=0;ae<j;++ae)Me=Q[ae],Me<128&&_e.push(w(Me));for(re=W=_e.length,W&&_e.push(v);re<j;){for(pe=u,ae=0;ae<j;++ae)Me=Q[ae],Me>=B&&Me<pe&&(pe=Me);for(ue=re+1,pe-B>A((u-J)/ue)&&R("overflow"),J+=(pe-B)*ue,B=pe,ae=0;ae<j;++ae)if(Me=Q[ae],Me<B&&++J>u&&R("overflow"),Me==B){for(Se=J,De=a;nt=De<=V?d:De>=V+h?h:De-V,!(Se<nt);De+=a)et=Se-nt,Ce=a-nt,_e.push(w(ee(nt+et%Ce,0))),Se=A(et/Ce);_e.push(w(ee(Se,0))),V=Ee(J,ue,re==W),J=0,++re}++J,++B}return _e.join("")}function te(Q){return k(Q,function(B){return b.test(B)?Fe(B.slice(4).toLowerCase()):B})}function he(Q){return k(Q,function(B){return m.test(B)?"xn--"+ce(B):B})}c={version:"1.3.2",ucs2:{decode:G,encode:Z},decode:Fe,encode:ce,toASCII:he,toUnicode:te},t=function(){return c}.call(n,e,n,L),t!==void 0&&(L.exports=t)})(this)},8575:(L,n,e)=>{"use strict";var t=e(52511),l=e(62502);n.parse=O,n.resolve=A,n.resolveObject=w,n.format=C,n.Url=s;function s(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}var o=/^([a-z0-9.+-]+:)/i,r=/:[0-9]*$/,c=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,u=["<",">",'"',"`"," ","\r",`
|
|
2978
|
+
`),st=[],wt=0,tn=Xe.length;wt<tn;wt++){var qt=Xe[wt].trim();if(qt){var bn=qt.match(W);if(bn){var Fn=0|parseInt(bn[1],10),Nn=bn[2];Fn!==0&&(J(Nn,Fn),V(Qe,Nn,bn[3]),Qe.getTag().insertRules(Fn,st)),st.length=0}else st.push(qt)}}},pe=function(){return typeof window!="undefined"&&window.__webpack_nonce__!==void 0?window.__webpack_nonce__:null},Se=function(Qe){var ot=document.head,Xe=Qe||ot,st=document.createElement("style"),wt=function(bn){for(var Fn=bn.childNodes,Nn=Fn.length;Nn>=0;Nn--){var rr=Fn[Nn];if(rr&&rr.nodeType===1&&rr.hasAttribute(R))return rr}}(Xe),tn=wt!==void 0?wt.nextSibling:null;st.setAttribute(R,"active"),st.setAttribute("data-styled-version","5.3.0");var qt=pe();return qt&&st.setAttribute("nonce",qt),Xe.insertBefore(st,tn),st},De=function(){function Qe(Xe){var st=this.element=Se(Xe);st.appendChild(document.createTextNode("")),this.sheet=function(wt){if(wt.sheet)return wt.sheet;for(var tn=document.styleSheets,qt=0,bn=tn.length;qt<bn;qt++){var Fn=tn[qt];if(Fn.ownerNode===wt)return Fn}Ee(17)}(st),this.length=0}var ot=Qe.prototype;return ot.insertRule=function(Xe,st){try{return this.sheet.insertRule(st,Xe),this.length++,!0}catch(wt){return!1}},ot.deleteRule=function(Xe){this.sheet.deleteRule(Xe),this.length--},ot.getRule=function(Xe){var st=this.sheet.cssRules[Xe];return st!==void 0&&typeof st.cssText=="string"?st.cssText:""},Qe}(),nt=function(){function Qe(Xe){var st=this.element=Se(Xe);this.nodes=st.childNodes,this.length=0}var ot=Qe.prototype;return ot.insertRule=function(Xe,st){if(Xe<=this.length&&Xe>=0){var wt=document.createTextNode(st),tn=this.nodes[Xe];return this.element.insertBefore(wt,tn||null),this.length++,!0}return!1},ot.deleteRule=function(Xe){this.element.removeChild(this.nodes[Xe]),this.length--},ot.getRule=function(Xe){return Xe<this.length?this.nodes[Xe].textContent:""},Qe}(),Me=function(){function Qe(Xe){this.rules=[],this.length=0}var ot=Qe.prototype;return ot.insertRule=function(Xe,st){return Xe<=this.length&&(this.rules.splice(Xe,0,st),this.length++,!0)},ot.deleteRule=function(Xe){this.rules.splice(Xe,1),this.length--},ot.getRule=function(Xe){return Xe<this.length?this.rules[Xe]:""},Qe}(),_e=k,j={isServer:!k,useCSSOMInjection:!G},ue=function(){function Qe(Xe,st,wt){Xe===void 0&&(Xe=C),st===void 0&&(st={}),this.options=b({},j,{},Xe),this.gs=st,this.names=new Map(wt),!this.options.isServer&&k&&_e&&(_e=!1,function(tn){for(var qt=document.querySelectorAll(re),bn=0,Fn=qt.length;bn<Fn;bn++){var Nn=qt[bn];Nn&&Nn.getAttribute(R)!=="active"&&(ae(tn,Nn),Nn.parentNode&&Nn.parentNode.removeChild(Nn))}}(this))}Qe.registerId=function(Xe){return Q(Xe)};var ot=Qe.prototype;return ot.reconstructWithOptions=function(Xe,st){return st===void 0&&(st=!0),new Qe(b({},this.options,{},Xe),this.gs,st&&this.names||void 0)},ot.allocateGSInstance=function(Xe){return this.gs[Xe]=(this.gs[Xe]||0)+1},ot.getTag=function(){return this.tag||(this.tag=(wt=(st=this.options).isServer,tn=st.useCSSOMInjection,qt=st.target,Xe=wt?new Me(qt):tn?new De(qt):new nt(qt),new Fe(Xe)));var Xe,st,wt,tn,qt},ot.hasNameForId=function(Xe,st){return this.names.has(Xe)&&this.names.get(Xe).has(st)},ot.registerName=function(Xe,st){if(Q(Xe),this.names.has(Xe))this.names.get(Xe).add(st);else{var wt=new Set;wt.add(st),this.names.set(Xe,wt)}},ot.insertRules=function(Xe,st,wt){this.registerName(Xe,st),this.getTag().insertRules(Q(Xe),wt)},ot.clearNames=function(Xe){this.names.has(Xe)&&this.names.get(Xe).clear()},ot.clearRules=function(Xe){this.getTag().clearGroup(Q(Xe)),this.clearNames(Xe)},ot.clearTag=function(){this.tag=void 0},ot.toString=function(){return function(Xe){for(var st=Xe.getTag(),wt=st.length,tn="",qt=0;qt<wt;qt++){var bn=B(qt);if(bn!==void 0){var Fn=Xe.names.get(bn),Nn=st.getGroup(qt);if(Fn!==void 0&&Nn.length!==0){var rr=R+".g"+qt+'[id="'+bn+'"]',jn="";Fn!==void 0&&Fn.forEach(function(En){En.length>0&&(jn+=En+",")}),tn+=""+Nn+rr+'{content:"'+jn+`"}/*!sc*/
|
|
2979
|
+
`}}}return tn}(this)},Qe}(),Ce=/(a)(d)/gi,et=function(Qe){return String.fromCharCode(Qe+(Qe>25?39:97))};function Pe(Qe){var ot,Xe="";for(ot=Math.abs(Qe);ot>52;ot=ot/52|0)Xe=et(ot%52)+Xe;return(et(ot%52)+Xe).replace(Ce,"$1-$2")}var X=function(Qe,ot){for(var Xe=ot.length;Xe;)Qe=33*Qe^ot.charCodeAt(--Xe);return Qe},_=function(Qe){return X(5381,Qe)};function $(Qe){for(var ot=0;ot<Qe.length;ot+=1){var Xe=Qe[ot];if(A(Xe)&&!x(Xe))return!1}return!0}var H=_("5.3.0"),I=function(){function Qe(ot,Xe,st){this.rules=ot,this.staticRulesId="",this.isStatic=(st===void 0||st.isStatic)&&$(ot),this.componentId=Xe,this.baseHash=X(H,Xe),this.baseStyle=st,ue.registerId(Xe)}return Qe.prototype.generateAndInjectStyles=function(ot,Xe,st){var wt=this.componentId,tn=[];if(this.baseStyle&&tn.push(this.baseStyle.generateAndInjectStyles(ot,Xe,st)),this.isStatic&&!st.hash)if(this.staticRulesId&&Xe.hasNameForId(wt,this.staticRulesId))tn.push(this.staticRulesId);else{var qt=Lt(this.rules,ot,Xe,st).join(""),bn=Pe(X(this.baseHash,qt.length)>>>0);if(!Xe.hasNameForId(wt,bn)){var Fn=st(qt,"."+bn,void 0,wt);Xe.insertRules(wt,bn,Fn)}tn.push(bn),this.staticRulesId=bn}else{for(var Nn=this.rules.length,rr=X(this.baseHash,st.hash),jn="",En=0;En<Nn;En++){var Xn=this.rules[En];if(typeof Xn=="string")jn+=Xn;else if(Xn){var kn=Lt(Xn,ot,Xe,st),On=Array.isArray(kn)?kn.join(""):kn;rr=X(rr,On+En),jn+=On}}if(jn){var Yn=Pe(rr>>>0);if(!Xe.hasNameForId(wt,Yn)){var Hn=st(jn,"."+Yn,void 0,wt);Xe.insertRules(wt,Yn,Hn)}tn.push(Yn)}}return tn.join(" ")},Qe}(),ve=/^\s*\/\/.*$/gm,$e=[":","[",".","#"];function be(Qe){var ot,Xe,st,wt,tn=Qe===void 0?C:Qe,qt=tn.options,bn=qt===void 0?C:qt,Fn=tn.plugins,Nn=Fn===void 0?O:Fn,rr=new c(bn),jn=[],En=function(On){function Yn(Hn){if(Hn)try{On(Hn+"}")}catch(xn){}}return function(Hn,xn,hr,sr,ur,Qn,vr,Dr,jr,Er){switch(Hn){case 1:if(jr===0&&xn.charCodeAt(0)===64)return On(xn+";"),"";break;case 2:if(Dr===0)return xn+"/*|*/";break;case 3:switch(Dr){case 102:case 112:return On(hr[0]+xn),"";default:return xn+(Er===0?"/*|*/":"")}case-2:xn.split("/*|*/}").forEach(Yn)}}}(function(On){jn.push(On)}),Xn=function(On,Yn,Hn){return Yn===0&&$e.indexOf(Hn[Xe.length])!==-1||Hn.match(wt)?On:"."+ot};function kn(On,Yn,Hn,xn){xn===void 0&&(xn="&");var hr=On.replace(ve,""),sr=Yn&&Hn?Hn+" "+Yn+" { "+hr+" }":hr;return ot=xn,Xe=Yn,st=new RegExp("\\"+Xe+"\\b","g"),wt=new RegExp("(\\"+Xe+"\\b){2,}"),rr(Hn||!Yn?"":Yn,sr)}return rr.use([].concat(Nn,[function(On,Yn,Hn){On===2&&Hn.length&&Hn[0].lastIndexOf(Xe)>0&&(Hn[0]=Hn[0].replace(st,Xn))},En,function(On){if(On===-2){var Yn=jn;return jn=[],Yn}}])),kn.hash=Nn.length?Nn.reduce(function(On,Yn){return Yn.name||Ee(15),X(On,Yn.name)},5381).toString():"",kn}var Te=l.createContext(),Le=Te.Consumer,ke=l.createContext(),at=(ke.Consumer,new ue),xt=be();function qe(){return(0,l.useContext)(Te)||at}function q(){return(0,l.useContext)(ke)||xt}function ne(Qe){var ot=(0,l.useState)(Qe.stylisPlugins),Xe=ot[0],st=ot[1],wt=qe(),tn=(0,l.useMemo)(function(){var bn=wt;return Qe.sheet?bn=Qe.sheet:Qe.target&&(bn=bn.reconstructWithOptions({target:Qe.target},!1)),Qe.disableCSSOMInjection&&(bn=bn.reconstructWithOptions({useCSSOMInjection:!1})),bn},[Qe.disableCSSOMInjection,Qe.sheet,Qe.target]),qt=(0,l.useMemo)(function(){return be({options:{prefix:!Qe.disableVendorPrefixes},plugins:Xe})},[Qe.disableVendorPrefixes,Xe]);return(0,l.useEffect)(function(){o()(Xe,Qe.stylisPlugins)||st(Qe.stylisPlugins)},[Qe.stylisPlugins]),l.createElement(Te.Provider,{value:tn},l.createElement(ke.Provider,{value:qt},Qe.children))}var ie=function(){function Qe(ot,Xe){var st=this;this.inject=function(wt,tn){tn===void 0&&(tn=xt);var qt=st.name+tn.hash;wt.hasNameForId(st.id,qt)||wt.insertRules(st.id,qt,tn(st.rules,qt,"@keyframes"))},this.toString=function(){return Ee(12,String(st.name))},this.name=ot,this.id="sc-keyframes-"+ot,this.rules=Xe}return Qe.prototype.getName=function(ot){return ot===void 0&&(ot=xt),this.name+ot.hash},Qe}(),K=/([A-Z])/,we=/([A-Z])/g,He=/^ms-/,Je=function(Qe){return"-"+Qe.toLowerCase()};function ft(Qe){return K.test(Qe)?Qe.replace(we,Je).replace(He,"-ms-"):Qe}var At=function(Qe){return Qe==null||Qe===!1||Qe===""};function Lt(Qe,ot,Xe,st){if(Array.isArray(Qe)){for(var wt,tn=[],qt=0,bn=Qe.length;qt<bn;qt+=1)(wt=Lt(Qe[qt],ot,Xe,st))!==""&&(Array.isArray(wt)?tn.push.apply(tn,wt):tn.push(wt));return tn}if(At(Qe))return"";if(x(Qe))return"."+Qe.styledComponentId;if(A(Qe)){if(typeof(Nn=Qe)!="function"||Nn.prototype&&Nn.prototype.isReactComponent||!ot)return Qe;var Fn=Qe(ot);return Lt(Fn,ot,Xe,st)}var Nn;return Qe instanceof ie?Xe?(Qe.inject(Xe,st),Qe.getName(st)):Qe:y(Qe)?function rr(jn,En){var Xn,kn,On=[];for(var Yn in jn)jn.hasOwnProperty(Yn)&&!At(jn[Yn])&&(y(jn[Yn])?On.push.apply(On,rr(jn[Yn],Yn)):A(jn[Yn])?On.push(ft(Yn)+":",jn[Yn],";"):On.push(ft(Yn)+": "+(Xn=Yn,(kn=jn[Yn])==null||typeof kn=="boolean"||kn===""?"":typeof kn!="number"||kn===0||Xn in a?String(kn).trim():kn+"px")+";"));return En?[En+" {"].concat(On,["}"]):On}(Qe):Qe.toString()}function Yt(Qe){for(var ot=arguments.length,Xe=new Array(ot>1?ot-1:0),st=1;st<ot;st++)Xe[st-1]=arguments[st];return A(Qe)||y(Qe)?Lt(m(O,[Qe].concat(Xe))):Xe.length===0&&Qe.length===1&&typeof Qe[0]=="string"?Qe:Lt(m(Qe,Xe))}var Vt=/invalid hook call/i,ze=new Set,dt=function(Qe,ot){if(!1)var Xe},bt=function(Qe,ot,Xe){return Xe===void 0&&(Xe=C),Qe.theme!==Xe.theme&&Qe.theme||ot||Xe.theme},pt=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,Ct=/(^-|-$)/g;function $t(Qe){return Qe.replace(pt,"-").replace(Ct,"")}var fn=function(Qe){return Pe(_(Qe)>>>0)};function cn(Qe){return typeof Qe=="string"&&!0}var Rn=function(Qe){return typeof Qe=="function"||typeof Qe=="object"&&Qe!==null&&!Array.isArray(Qe)},Ke=function(Qe){return Qe!=="__proto__"&&Qe!=="constructor"&&Qe!=="prototype"};function Ue(Qe,ot,Xe){var st=Qe[Xe];Rn(ot)&&Rn(st)?it(st,ot):Qe[Xe]=ot}function it(Qe){for(var ot=arguments.length,Xe=new Array(ot>1?ot-1:0),st=1;st<ot;st++)Xe[st-1]=arguments[st];for(var wt=0,tn=Xe;wt<tn.length;wt++){var qt=tn[wt];if(Rn(qt))for(var bn in qt)Ke(bn)&&Ue(Qe,qt[bn],bn)}return Qe}var Et=l.createContext(),Ot=Et.Consumer;function dn(Qe){var ot=(0,l.useContext)(Et),Xe=(0,l.useMemo)(function(){return function(st,wt){if(!st)return Ee(14);if(A(st)){var tn=st(wt);return tn}return Array.isArray(st)||typeof st!="object"?Ee(8):wt?b({},wt,{},st):st}(Qe.theme,ot)},[Qe.theme,ot]);return Qe.children?l.createElement(Et.Provider,{value:Xe},Qe.children):null}var Ln={};function $n(Qe,ot,Xe){var st=x(Qe),wt=!cn(Qe),tn=ot.attrs,qt=tn===void 0?O:tn,bn=ot.componentId,Fn=bn===void 0?function(xn,hr){var sr=typeof xn!="string"?"sc":$t(xn);Ln[sr]=(Ln[sr]||0)+1;var ur=sr+"-"+fn("5.3.0"+sr+Ln[sr]);return hr?hr+"-"+ur:ur}(ot.displayName,ot.parentComponentId):bn,Nn=ot.displayName,rr=Nn===void 0?function(xn){return cn(xn)?"styled."+xn:"Styled("+w(xn)+")"}(Qe):Nn,jn=ot.displayName&&ot.componentId?$t(ot.displayName)+"-"+ot.componentId:ot.componentId||Fn,En=st&&Qe.attrs?Array.prototype.concat(Qe.attrs,qt).filter(Boolean):qt,Xn=ot.shouldForwardProp;st&&Qe.shouldForwardProp&&(Xn=ot.shouldForwardProp?function(xn,hr,sr){return Qe.shouldForwardProp(xn,hr,sr)&&ot.shouldForwardProp(xn,hr,sr)}:Qe.shouldForwardProp);var kn,On=new I(Xe,jn,st?Qe.componentStyle:void 0),Yn=On.isStatic&&qt.length===0,Hn=function(xn,hr){return function(sr,ur,Qn,vr){var Dr=sr.attrs,jr=sr.componentStyle,Er=sr.defaultProps,Vr=sr.foldedComponentIds,Sr=sr.shouldForwardProp,Tr=sr.styledComponentId,qn=sr.target,ln=function(gt,We,Qt){gt===void 0&&(gt=C);var rt=b({},We,{theme:gt}),sn={};return Qt.forEach(function(an){var In,Ht,Tn,_n=an;for(In in A(_n)&&(_n=_n(rt)),_n)rt[In]=sn[In]=In==="className"?(Ht=sn[In],Tn=_n[In],Ht&&Tn?Ht+" "+Tn:Ht||Tn):_n[In]}),[rt,sn]}(bt(ur,(0,l.useContext)(Et),Er)||C,ur,Dr),It=ln[0],pn=ln[1],vn=function(gt,We,Qt,rt){var sn=qe(),an=q(),In=We?gt.generateAndInjectStyles(C,sn,an):gt.generateAndInjectStyles(Qt,sn,an);return In}(jr,vr,It,void 0),er=Qn,ar=pn.$as||ur.$as||pn.as||ur.as||qn,nr=cn(ar),Ye=pn!==ur?b({},ur,{},pn):ur,ye={};for(var Re in Ye)Re[0]!=="$"&&Re!=="as"&&(Re==="forwardedAs"?ye.as=Ye[Re]:(Sr?Sr(Re,T,ar):!nr||T(Re))&&(ye[Re]=Ye[Re]));return ur.style&&pn.style!==ur.style&&(ye.style=b({},ur.style,{},pn.style)),ye.className=Array.prototype.concat(Vr,Tr,vn!==Tr?vn:null,ur.className,pn.className).filter(Boolean).join(" "),ye.ref=er,(0,l.createElement)(ar,ye)}(kn,xn,hr,Yn)};return Hn.displayName=rr,(kn=l.forwardRef(Hn)).attrs=En,kn.componentStyle=On,kn.displayName=rr,kn.shouldForwardProp=Xn,kn.foldedComponentIds=st?Array.prototype.concat(Qe.foldedComponentIds,Qe.styledComponentId):O,kn.styledComponentId=jn,kn.target=st?Qe.target:Qe,kn.withComponent=function(xn){var hr=ot.componentId,sr=function(Qn,vr){if(Qn==null)return{};var Dr,jr,Er={},Vr=Object.keys(Qn);for(jr=0;jr<Vr.length;jr++)Dr=Vr[jr],vr.indexOf(Dr)>=0||(Er[Dr]=Qn[Dr]);return Er}(ot,["componentId"]),ur=hr&&hr+"-"+(cn(xn)?xn:$t(w(xn)));return $n(xn,b({},sr,{attrs:En,componentId:ur}),Xe)},Object.defineProperty(kn,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(xn){this._foldedDefaultProps=st?it({},Qe.defaultProps,xn):xn}}),kn.toString=function(){return"."+kn.styledComponentId},wt&&v()(kn,Qe,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0,withComponent:!0}),kn}var An=function(Qe){return function ot(Xe,st,wt){if(wt===void 0&&(wt=C),!(0,t.isValidElementType)(st))return Ee(1,String(st));var tn=function(){return Xe(st,wt,Yt.apply(void 0,arguments))};return tn.withConfig=function(qt){return ot(Xe,st,b({},wt,{},qt))},tn.attrs=function(qt){return ot(Xe,st,b({},wt,{attrs:Array.prototype.concat(wt.attrs,qt).filter(Boolean)}))},tn}($n,Qe)};["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(Qe){An[Qe]=An(Qe)});var Gn=function(){function Qe(Xe,st){this.rules=Xe,this.componentId=st,this.isStatic=$(Xe),ue.registerId(this.componentId+1)}var ot=Qe.prototype;return ot.createStyles=function(Xe,st,wt,tn){var qt=tn(Lt(this.rules,st,wt,tn).join(""),""),bn=this.componentId+Xe;wt.insertRules(bn,bn,qt)},ot.removeStyles=function(Xe,st){st.clearRules(this.componentId+Xe)},ot.renderStyles=function(Xe,st,wt,tn){Xe>2&&ue.registerId(this.componentId+Xe),this.removeStyles(Xe,wt),this.createStyles(Xe,st,wt,tn)},Qe}();function Pn(Qe){for(var ot=arguments.length,Xe=new Array(ot>1?ot-1:0),st=1;st<ot;st++)Xe[st-1]=arguments[st];var wt=Yt.apply(void 0,[Qe].concat(Xe)),tn="sc-global-"+fn(JSON.stringify(wt)),qt=new Gn(wt,tn);function bn(Nn){var rr=qe(),jn=q(),En=(0,l.useContext)(Et),Xn=(0,l.useRef)(rr.allocateGSInstance(tn)).current;return(0,l.useLayoutEffect)(function(){return Fn(Xn,Nn,rr,En,jn),function(){return qt.removeStyles(Xn,rr)}},[Xn,Nn,rr,En,jn]),null}function Fn(Nn,rr,jn,En,Xn){if(qt.isStatic)qt.renderStyles(Nn,Z,jn,Xn);else{var kn=b({},rr,{theme:bt(rr,En,bn.defaultProps)});qt.renderStyles(Nn,kn,jn,Xn)}}return l.memo(bn)}function Ze(Qe){for(var ot=arguments.length,Xe=new Array(ot>1?ot-1:0),st=1;st<ot;st++)Xe[st-1]=arguments[st];var wt=Yt.apply(void 0,[Qe].concat(Xe)).join(""),tn=fn(wt);return new ie(tn,wt)}var ut=function(){function Qe(){var Xe=this;this._emitSheetCSS=function(){var st=Xe.instance.toString(),wt=pe();return"<style "+[wt&&'nonce="'+wt+'"',R+'="true"','data-styled-version="5.3.0"'].filter(Boolean).join(" ")+">"+st+"</style>"},this.getStyleTags=function(){return Xe.sealed?Ee(2):Xe._emitSheetCSS()},this.getStyleElement=function(){var st;if(Xe.sealed)return Ee(2);var wt=((st={})[R]="",st["data-styled-version"]="5.3.0",st.dangerouslySetInnerHTML={__html:Xe.instance.toString()},st),tn=pe();return tn&&(wt.nonce=tn),[l.createElement("style",b({},wt,{key:"sc-0-0"}))]},this.seal=function(){Xe.sealed=!0},this.instance=new ue({isServer:!0}),this.sealed=!1}var ot=Qe.prototype;return ot.collectStyles=function(Xe){return this.sealed?Ee(2):l.createElement(ne,{sheet:this.instance},Xe)},ot.interleaveWithNodeStream=function(Xe){return Ee(3)},Qe}(),Pt=function(Qe){var ot=l.forwardRef(function(Xe,st){var wt=(0,l.useContext)(Et),tn=Qe.defaultProps,qt=bt(Xe,wt,tn);return l.createElement(Qe,b({},Xe,{theme:qt,ref:st}))});return v()(ot,Qe),ot.displayName="WithTheme("+w(Qe)+")",ot},Mt=function(){return(0,l.useContext)(Et)},zt={StyleSheet:ue,masterSheet:at};const Zt=An},18925:(L,n,e)=>{"use strict";const t=e(19045),l=e(8575),s=e(26470),o=e(74480),r=e(88150),c=e(88150),u=e(97053),a=u.jptr,d=e(42592).isRef,h=e(64683).clone,p=e(64683).circularClone,E=e(98401).recurse,T=e(64856),S=e(31804),v=e(3342),b=e(52711).statusCodes,m=e(34109).i8,y="3.0.0";let O;class C extends Error{constructor(ue){super(ue);this.name="S2OError"}}function A(j,ue){let Ce=new C(j);if(Ce.options=ue,ue.promise)ue.promise.reject(Ce);else throw Ce}function w(j,ue,Ce){Ce.warnOnly?ue[Ce.warnProperty||"x-s2o-warning"]=j:A(j,Ce)}function x(j,ue,Ce){if(j.nullable&&Ce.patches++,j.discriminator&&typeof j.discriminator=="string"&&(j.discriminator={propertyName:j.discriminator}),j.items&&Array.isArray(j.items)&&(j.items.length===0?j.items={}:j.items.length===1?j.items=j.items[0]:j.items={anyOf:j.items}),j.type&&Array.isArray(j.type))if(Ce.patch){if(Ce.patches++,j.type.length===0)delete j.type;else{j.oneOf||(j.oneOf=[]);for(let et of j.type){let Pe={};if(et==="null")j.nullable=!0;else{Pe.type=et;for(let X of v.arrayProperties)typeof j.prop!="undefined"&&(Pe[X]=j[X],delete j[X])}Pe.type&&j.oneOf.push(Pe)}delete j.type,j.oneOf.length===0?delete j.oneOf:j.oneOf.length<2&&(j.type=j.oneOf[0].type,Object.keys(j.oneOf[0]).length>1&&w("Lost properties from oneOf",j,Ce),delete j.oneOf)}j.type&&Array.isArray(j.type)&&j.type.length===1&&(j.type=j.type[0])}else A("(Patchable) schema type must not be an array",Ce);j.type&&j.type==="null"&&(delete j.type,j.nullable=!0),j.type==="array"&&!j.items&&(j.items={}),j.type==="file"&&(j.type="string",j.format="binary"),typeof j.required=="boolean"&&(j.required&&j.name&&(typeof ue.required=="undefined"&&(ue.required=[]),Array.isArray(ue.required)&&ue.required.push(j.name)),delete j.required),j.xml&&typeof j.xml.namespace=="string"&&(j.xml.namespace||delete j.xml.namespace),typeof j.allowEmptyValue!="undefined"&&(Ce.patches++,delete j.allowEmptyValue)}function R(j,ue){if(j["x-required"]&&Array.isArray(j["x-required"])&&(j.required||(j.required=[]),j.required=j.required.concat(j["x-required"]),delete j["x-required"]),j["x-anyOf"]&&(j.anyOf=j["x-anyOf"],delete j["x-anyOf"]),j["x-oneOf"]&&(j.oneOf=j["x-oneOf"],delete j["x-oneOf"]),j["x-not"]&&(j.not=j["x-not"],delete j["x-not"]),typeof j["x-nullable"]=="boolean"&&(j.nullable=j["x-nullable"],delete j["x-nullable"]),typeof j["x-discriminator"]=="object"&&typeof j["x-discriminator"].propertyName=="string"){j.discriminator=j["x-discriminator"],delete j["x-discriminator"];for(let Ce in j.discriminator.mapping){let et=j.discriminator.mapping[Ce];et.startsWith("#/definitions/")&&(j.discriminator.mapping[Ce]=et.replace("#/definitions/","#/components/schemas/"))}}}function g(j,ue){S.walkSchema(j,{},{},function(Ce,et,Pe){R(Ce,et),x(Ce,et,ue)})}function k(j){return j.indexOf("#")>=0?j=j.split("#")[1].split("/").pop():j=j.split("/").pop().split(".")[0],encodeURIComponent(v.sanitise(j))}function G(j,ue,Ce){let et=Ce.payload.options;if(d(j,ue)){if(!j[ue].startsWith("#/components/")){if(j[ue]==="#/consumes")delete j[ue],Ce.parent[Ce.pkey]=h(et.openapi.consumes);else if(j[ue]==="#/produces")delete j[ue],Ce.parent[Ce.pkey]=h(et.openapi.produces);else if(j[ue].startsWith("#/definitions/")){let Pe=j[ue].replace("#/definitions/","").split("/");const X=u.jpunescape(Pe[0]);let _=O.schemas[decodeURIComponent(X)];_?Pe[0]=_:w("Could not resolve reference "+j[ue],j,et),j[ue]="#/components/schemas/"+Pe.join("/")}else if(j[ue].startsWith("#/parameters/"))j[ue]="#/components/parameters/"+v.sanitise(j[ue].replace("#/parameters/",""));else if(j[ue].startsWith("#/responses/"))j[ue]="#/components/responses/"+v.sanitise(j[ue].replace("#/responses/",""));else if(j[ue].startsWith("#")){let Pe=h(u.jptr(et.openapi,j[ue]));if(Pe===!1)w("direct $ref not found "+j[ue],j,et);else if(et.refmap[j[ue]])j[ue]=et.refmap[j[ue]];else{let X=j[ue];X=X.replace("/properties/headers/",""),X=X.replace("/properties/responses/",""),X=X.replace("/properties/parameters/",""),X=X.replace("/properties/schemas/","");let _="schemas",$=X.lastIndexOf("/schema");if(_=X.indexOf("/headers/")>$?"headers":X.indexOf("/responses/")>$?"responses":X.indexOf("/example")>$?"examples":X.indexOf("/x-")>$?"extensions":X.indexOf("/parameters/")>$?"parameters":"schemas",_==="schemas"&&g(Pe,et),_!=="responses"&&_!=="extensions"){let H=_.substr(0,_.length-1);H==="parameter"&&Pe.name&&Pe.name===v.sanitise(Pe.name)&&(H=encodeURIComponent(Pe.name));let I=1;for(j["x-miro"]&&(H=k(j["x-miro"]),I="");u.jptr(et.openapi,"#/components/"+_+"/"+H+I);)I=I===""?2:++I;let ve="#/components/"+_+"/"+H+I,$e="";_==="examples"&&(Pe={value:Pe},$e="/value"),u.jptr(et.openapi,ve,Pe),et.refmap[j[ue]]=ve+$e,j[ue]=ve+$e}}}}if(delete j["x-miro"],Object.keys(j).length>1){const Pe=j[ue],X=Ce.path.indexOf("/schema")>=0;et.refSiblings==="preserve"||(X&&et.refSiblings==="allOf"?(delete j.$ref,Ce.parent[Ce.pkey]={allOf:[{$ref:Pe},j]}):Ce.parent[Ce.pkey]={$ref:Pe})}}if(ue==="x-ms-odata"&&typeof j[ue]=="string"&&j[ue].startsWith("#/")){let Pe=j[ue].replace("#/definitions/","").replace("#/components/schemas/","").split("/"),X=O.schemas[decodeURIComponent(Pe[0])];X?Pe[0]=X:w("Could not resolve reference "+j[ue],j,et),j[ue]="#/components/schemas/"+Pe.join("/")}}function Z(j,ue){for(let Ce in ue.refmap)u.jptr(j,Ce,{$ref:ue.refmap[Ce]})}function oe(j){for(let ue in j)for(let Ce in j[ue]){let et=v.sanitise(Ce);Ce!==et&&(j[ue][et]=j[ue][Ce],delete j[ue][Ce])}}function ee(j,ue){if(j.type==="basic"&&(j.type="http",j.scheme="basic"),j.type==="oauth2"){let Ce={},et=j.flow;j.flow==="application"&&(et="clientCredentials"),j.flow==="accessCode"&&(et="authorizationCode"),typeof j.authorizationUrl!="undefined"&&(Ce.authorizationUrl=j.authorizationUrl.split("?")[0].trim()||"/"),typeof j.tokenUrl=="string"&&(Ce.tokenUrl=j.tokenUrl.split("?")[0].trim()||"/"),Ce.scopes=j.scopes||{},j.flows={},j.flows[et]=Ce,delete j.flow,delete j.authorizationUrl,delete j.tokenUrl,delete j.scopes,typeof j.name!="undefined"&&(ue.patch?(ue.patches++,delete j.name):A("(Patchable) oauth2 securitySchemes should not have name property",ue))}}function Ee(j){return j&&!j["x-s2o-delete"]}function Fe(j,ue){if(j.$ref)j.$ref=j.$ref.replace("#/responses/","#/components/responses/");else{j.type&&!j.schema&&(j.schema={}),j.type&&(j.schema.type=j.type),j.items&&j.items.type!=="array"&&(j.items.collectionFormat!==j.collectionFormat&&w("Nested collectionFormats are not supported",j,ue),delete j.items.collectionFormat),j.type==="array"?(j.collectionFormat==="ssv"?w("collectionFormat:ssv is no longer supported for headers",j,ue):j.collectionFormat==="pipes"?w("collectionFormat:pipes is no longer supported for headers",j,ue):j.collectionFormat==="multi"?j.explode=!0:j.collectionFormat==="tsv"?(w("collectionFormat:tsv is no longer supported",j,ue),j["x-collectionFormat"]="tsv"):j.style="simple",delete j.collectionFormat):j.collectionFormat&&(ue.patch?(ue.patches++,delete j.collectionFormat):A("(Patchable) collectionFormat is only applicable to header.type array",ue)),delete j.type;for(let Ce of v.parameterTypeProperties)typeof j[Ce]!="undefined"&&(j.schema[Ce]=j[Ce],delete j[Ce]);for(let Ce of v.arrayProperties)typeof j[Ce]!="undefined"&&(j.schema[Ce]=j[Ce],delete j[Ce])}}function ce(j,ue){if(j.$ref.indexOf("#/parameters/")>=0){let Ce=j.$ref.split("#/parameters/");j.$ref=Ce[0]+"#/components/parameters/"+v.sanitise(Ce[1])}j.$ref.indexOf("#/definitions/")>=0&&w("Definition used as parameter",j,ue)}function te(j,ue){let Ce={};for(let et of Object.keys(j))Ce[et]=j[et],et==="parameters"&&(Ce.requestBody={},ue.rbname&&(Ce[ue.rbname]=""));return Ce.requestBody={},Ce}function he(j,ue,Ce,et,Pe,X,_){let $={},H=!0,I;if(ue&&ue.consumes&&typeof ue.consumes=="string")if(_.patch)_.patches++,ue.consumes=[ue.consumes];else return A("(Patchable) operation.consumes must be an array",_);Array.isArray(X.consumes)||delete X.consumes;let ve=((ue?ue.consumes:null)||X.consumes||[]).filter(v.uniqueOnly);if(j&&j.$ref&&typeof j.$ref=="string"){ce(j,_);let $e=decodeURIComponent(j.$ref.replace("#/components/parameters/","")),be=!1,Te=X.components.parameters[$e];if((!Te||Te["x-s2o-delete"])&&j.$ref.startsWith("#/")&&(j["x-s2o-delete"]=!0,be=!0),be){let Le=j.$ref,ke=a(X,j.$ref);!ke&&Le.startsWith("#/")?w("Could not resolve reference "+Le,j,_):ke&&(j=ke)}}if(j&&(j.name||j.in)){typeof j["x-deprecated"]=="boolean"&&(j.deprecated=j["x-deprecated"],delete j["x-deprecated"]),typeof j["x-example"]!="undefined"&&(j.example=j["x-example"],delete j["x-example"]),j.in!=="body"&&!j.type&&(_.patch?(_.patches++,j.type="string"):A("(Patchable) parameter.type is mandatory for non-body parameters",_)),j.type&&typeof j.type=="object"&&j.type.$ref&&(j.type=a(X,j.type.$ref)),j.type==="file"&&(j["x-s2o-originalType"]=j.type,I=j.type),j.description&&typeof j.description=="object"&&j.description.$ref&&(j.description=a(X,j.description.$ref)),j.description===null&&delete j.description;let $e=j.collectionFormat;if(j.type==="array"&&!$e&&($e="csv"),$e&&(j.type!=="array"&&(_.patch?(_.patches++,delete j.collectionFormat):A("(Patchable) collectionFormat is only applicable to param.type array",_)),$e==="csv"&&(j.in==="query"||j.in==="cookie")&&(j.style="form",j.explode=!1),$e==="csv"&&(j.in==="path"||j.in==="header")&&(j.style="simple"),$e==="ssv"&&(j.in==="query"?j.style="spaceDelimited":w("collectionFormat:ssv is no longer supported except for in:query parameters",j,_)),$e==="pipes"&&(j.in==="query"?j.style="pipeDelimited":w("collectionFormat:pipes is no longer supported except for in:query parameters",j,_)),$e==="multi"&&(j.explode=!0),$e==="tsv"&&(w("collectionFormat:tsv is no longer supported",j,_),j["x-collectionFormat"]="tsv"),delete j.collectionFormat),j.type&&j.type!=="body"&&j.in!=="formData")if(j.items&&j.schema)w("parameter has array,items and schema",j,_);else{j.schema&&_.patches++,(!j.schema||typeof j.schema!="object")&&(j.schema={}),j.schema.type=j.type,j.items&&(j.schema.items=j.items,delete j.items,E(j.schema.items,null,function(be,Te,Le){Te==="collectionFormat"&&typeof be[Te]=="string"&&($e&&be[Te]!==$e&&w("Nested collectionFormats are not supported",j,_),delete be[Te])}));for(let be of v.parameterTypeProperties)typeof j[be]!="undefined"&&(j.schema[be]=j[be]),delete j[be]}j.schema&&g(j.schema,_),j["x-ms-skip-url-encoding"]&&j.in==="query"&&(j.allowReserved=!0,delete j["x-ms-skip-url-encoding"])}if(j&&j.in==="formData"){H=!1,$.content={};let $e="application/x-www-form-urlencoded";if(ve.length&&ve.indexOf("multipart/form-data")>=0&&($e="multipart/form-data"),$.content[$e]={},j.schema)$.content[$e].schema=j.schema,j.schema.$ref&&($["x-s2o-name"]=decodeURIComponent(j.schema.$ref.replace("#/components/schemas/","")));else{$.content[$e].schema={},$.content[$e].schema.type="object",$.content[$e].schema.properties={},$.content[$e].schema.properties[j.name]={};let be=$.content[$e].schema,Te=$.content[$e].schema.properties[j.name];j.description&&(Te.description=j.description),j.example&&(Te.example=j.example),j.type&&(Te.type=j.type);for(let Le of v.parameterTypeProperties)typeof j[Le]!="undefined"&&(Te[Le]=j[Le]);j.required===!0&&(be.required||(be.required=[]),be.required.push(j.name),$.required=!0),typeof j.default!="undefined"&&(Te.default=j.default),Te.properties&&(Te.properties=j.properties),j.allOf&&(Te.allOf=j.allOf),j.type==="array"&&j.items&&(Te.items=j.items,Te.items.collectionFormat&&delete Te.items.collectionFormat),(I==="file"||j["x-s2o-originalType"]==="file")&&(Te.type="string",Te.format="binary"),Q(j,Te)}}else j&&j.type==="file"&&(j.required&&($.required=j.required),$.content={},$.content["application/octet-stream"]={},$.content["application/octet-stream"].schema={},$.content["application/octet-stream"].schema.type="string",$.content["application/octet-stream"].schema.format="binary",Q(j,$));if(j&&j.in==="body"){$.content={},j.name&&($["x-s2o-name"]=(ue&&ue.operationId?v.sanitiseAll(ue.operationId):"")+("_"+j.name).toCamelCase()),j.description&&($.description=j.description),j.required&&($.required=j.required),ue&&_.rbname&&j.name&&(ue[_.rbname]=j.name),j.schema&&j.schema.$ref?$["x-s2o-name"]=decodeURIComponent(j.schema.$ref.replace("#/components/schemas/","")):j.schema&&j.schema.type==="array"&&j.schema.items&&j.schema.items.$ref&&($["x-s2o-name"]=decodeURIComponent(j.schema.items.$ref.replace("#/components/schemas/",""))+"Array"),ve.length||ve.push("application/json");for(let $e of ve)$.content[$e]={},$.content[$e].schema=h(j.schema||{}),g($.content[$e].schema,_);Q(j,$)}if(Object.keys($).length>0&&(j["x-s2o-delete"]=!0,ue))if(ue.requestBody&&H){ue.requestBody["x-s2o-overloaded"]=!0;let $e=ue.operationId||Pe;w("Operation "+$e+" has multiple requestBodies",ue,_)}else ue.requestBody||(ue=Ce[et]=te(ue,_)),ue.requestBody.content&&ue.requestBody.content["multipart/form-data"]&&ue.requestBody.content["multipart/form-data"].schema&&ue.requestBody.content["multipart/form-data"].schema.properties&&$.content["multipart/form-data"]&&$.content["multipart/form-data"].schema&&$.content["multipart/form-data"].schema.properties?(ue.requestBody.content["multipart/form-data"].schema.properties=Object.assign(ue.requestBody.content["multipart/form-data"].schema.properties,$.content["multipart/form-data"].schema.properties),ue.requestBody.content["multipart/form-data"].schema.required=(ue.requestBody.content["multipart/form-data"].schema.required||[]).concat($.content["multipart/form-data"].schema.required||[]),ue.requestBody.content["multipart/form-data"].schema.required.length||delete ue.requestBody.content["multipart/form-data"].schema.required):ue.requestBody.content&&ue.requestBody.content["application/x-www-form-urlencoded"]&&ue.requestBody.content["application/x-www-form-urlencoded"].schema&&ue.requestBody.content["application/x-www-form-urlencoded"].schema.properties&&$.content["application/x-www-form-urlencoded"]&&$.content["application/x-www-form-urlencoded"].schema&&$.content["application/x-www-form-urlencoded"].schema.properties?(ue.requestBody.content["application/x-www-form-urlencoded"].schema.properties=Object.assign(ue.requestBody.content["application/x-www-form-urlencoded"].schema.properties,$.content["application/x-www-form-urlencoded"].schema.properties),ue.requestBody.content["application/x-www-form-urlencoded"].schema.required=(ue.requestBody.content["application/x-www-form-urlencoded"].schema.required||[]).concat($.content["application/x-www-form-urlencoded"].schema.required||[]),ue.requestBody.content["application/x-www-form-urlencoded"].schema.required.length||delete ue.requestBody.content["application/x-www-form-urlencoded"].schema.required):(ue.requestBody=Object.assign(ue.requestBody,$),ue.requestBody["x-s2o-name"]||(ue.requestBody.schema&&ue.requestBody.schema.$ref?ue.requestBody["x-s2o-name"]=decodeURIComponent(ue.requestBody.schema.$ref.replace("#/components/schemas/","")).split("/").join(""):ue.operationId&&(ue.requestBody["x-s2o-name"]=v.sanitiseAll(ue.operationId))));if(j&&!j["x-s2o-delete"]){delete j.type;for(let $e of v.parameterTypeProperties)delete j[$e];j.in==="path"&&(typeof j.required=="undefined"||j.required!==!0)&&(_.patch?(_.patches++,j.required=!0):A("(Patchable) path parameters must be required:true ["+j.name+" in "+Pe+"]",_))}return ue}function Q(j,ue){for(let Ce in j)Ce.startsWith("x-")&&!Ce.startsWith("x-s2o")&&(ue[Ce]=j[Ce])}function B(j,ue,Ce,et,Pe){if(!j)return!1;if(j.$ref&&typeof j.$ref=="string")j.$ref.indexOf("#/definitions/")>=0?w("definition used as response: "+j.$ref,j,Pe):j.$ref.startsWith("#/responses/")&&(j.$ref="#/components/responses/"+v.sanitise(decodeURIComponent(j.$ref.replace("#/responses/",""))));else{if((typeof j.description=="undefined"||j.description===null||j.description===""&&Pe.patch)&&(Pe.patch?typeof j=="object"&&!Array.isArray(j)&&(Pe.patches++,j.description=b[j]||""):A("(Patchable) response.description is mandatory",Pe)),typeof j.schema!="undefined"){if(g(j.schema,Pe),j.schema.$ref&&typeof j.schema.$ref=="string"&&j.schema.$ref.startsWith("#/responses/")&&(j.schema.$ref="#/components/responses/"+v.sanitise(decodeURIComponent(j.schema.$ref.replace("#/responses/","")))),Ce&&Ce.produces&&typeof Ce.produces=="string")if(Pe.patch)Pe.patches++,Ce.produces=[Ce.produces];else return A("(Patchable) operation.produces must be an array",Pe);et.produces&&!Array.isArray(et.produces)&&delete et.produces;let X=((Ce?Ce.produces:null)||et.produces||[]).filter(v.uniqueOnly);X.length||X.push("*/*"),j.content={};for(let _ of X){if(j.content[_]={},j.content[_].schema=h(j.schema),j.examples&&j.examples[_]){let $={};$.value=j.examples[_],j.content[_].examples={},j.content[_].examples.response=$,delete j.examples[_]}j.content[_].schema.type==="file"&&(j.content[_].schema={type:"string",format:"binary"})}delete j.schema}for(let X in j.examples)j.content||(j.content={}),j.content[X]||(j.content[X]={}),j.content[X].examples={},j.content[X].examples.response={},j.content[X].examples.response.value=j.examples[X];if(delete j.examples,j.headers)for(let X in j.headers)X.toLowerCase()==="status code"?Pe.patch?(Pe.patches++,delete j.headers[X]):A('(Patchable) "Status Code" is not a valid header',Pe):Fe(j.headers[X],Pe)}}function J(j,ue,Ce,et,Pe){for(let X in j){let _=j[X];_&&_["x-trace"]&&typeof _["x-trace"]=="object"&&(_.trace=_["x-trace"],delete _["x-trace"]),_&&_["x-summary"]&&typeof _["x-summary"]=="string"&&(_.summary=_["x-summary"],delete _["x-summary"]),_&&_["x-description"]&&typeof _["x-description"]=="string"&&(_.description=_["x-description"],delete _["x-description"]),_&&_["x-servers"]&&Array.isArray(_["x-servers"])&&(_.servers=_["x-servers"],delete _["x-servers"]);for(let $ in _)if(v.httpMethods.indexOf($)>=0||$==="x-amazon-apigateway-any-method"){let H=_[$];if(H&&H.parameters&&Array.isArray(H.parameters)){if(_.parameters)for(let I of _.parameters)typeof I.$ref=="string"&&(ce(I,Ce),I=a(Pe,I.$ref)),!H.parameters.find(function($e,be,Te){return $e.name===I.name&&$e.in===I.in})&&(I.in==="formData"||I.in==="body"||I.type==="file")&&(H=he(I,H,_,$,X,Pe,Ce),Ce.rbname&&H[Ce.rbname]===""&&delete H[Ce.rbname]);for(let I of H.parameters)H=he(I,H,_,$,$+":"+X,Pe,Ce);Ce.rbname&&H[Ce.rbname]===""&&delete H[Ce.rbname],Ce.debug||H.parameters&&(H.parameters=H.parameters.filter(Ee))}if(H&&H.security&&oe(H.security),typeof H=="object"){if(!H.responses){let I={};I.description="Default response",H.responses={default:I}}for(let I in H.responses){let ve=H.responses[I];B(ve,I,H,Pe,Ce)}}if(H&&H["x-servers"]&&Array.isArray(H["x-servers"]))H.servers=H["x-servers"],delete H["x-servers"];else if(H&&H.schemes&&H.schemes.length){for(let I of H.schemes)if((!Pe.schemes||Pe.schemes.indexOf(I)<0)&&(H.servers||(H.servers=[]),Array.isArray(Pe.servers)))for(let ve of Pe.servers){let $e=h(ve),be=l.parse($e.url);be.protocol=I,$e.url=be.format(),H.servers.push($e)}}if(Ce.debug&&(H["x-s2o-consumes"]=H.consumes||[],H["x-s2o-produces"]=H.produces||[]),H){if(delete H.consumes,delete H.produces,delete H.schemes,H["x-ms-examples"]){for(let I in H["x-ms-examples"]){let ve=H["x-ms-examples"][I],$e=v.sanitiseAll(I);if(ve.parameters)for(let be in ve.parameters){let Te=ve.parameters[be];for(let Le of(H.parameters||[]).concat(_.parameters||[]))Le.$ref&&(Le=u.jptr(Pe,Le.$ref)),Le.name===be&&!Le.example&&(Le.examples||(Le.examples={}),Le.examples[I]={value:Te})}if(ve.responses)for(let be in ve.responses){if(ve.responses[be].headers)for(let Te in ve.responses[be].headers){let Le=ve.responses[be].headers[Te];for(let ke in H.responses[be].headers)if(ke===Te){let at=H.responses[be].headers[ke];at.example=Le}}if(ve.responses[be].body&&(Pe.components.examples[$e]={value:h(ve.responses[be].body)},H.responses[be]&&H.responses[be].content))for(let Te in H.responses[be].content){let Le=H.responses[be].content[Te];Le.examples||(Le.examples={}),Le.examples[I]={$ref:"#/components/examples/"+$e}}}}delete H["x-ms-examples"]}if(H.parameters&&H.parameters.length===0&&delete H.parameters,H.requestBody){let I=H.operationId?v.sanitiseAll(H.operationId):v.sanitiseAll($+X).toCamelCase(),ve=v.sanitise(H.requestBody["x-s2o-name"]||I||"");delete H.requestBody["x-s2o-name"];let $e=JSON.stringify(H.requestBody),be=v.hash($e);if(!et[be]){let Le={};Le.name=ve,Le.body=H.requestBody,Le.refs=[],et[be]=Le}let Te="#/"+ue+"/"+encodeURIComponent(u.jpescape(X))+"/"+$+"/requestBody";et[be].refs.push(Te)}}}if(_&&_.parameters){for(let $ in _.parameters){let H=_.parameters[$];he(H,null,_,null,X,Pe,Ce)}!Ce.debug&&Array.isArray(_.parameters)&&(_.parameters=_.parameters.filter(Ee))}}}function re(j,ue){let Ce={};O={schemas:{}},j.security&&oe(j.security);for(let Pe in j.components.securitySchemes){let X=v.sanitise(Pe);Pe!==X&&(j.components.securitySchemes[X]&&A("Duplicate sanitised securityScheme name "+X,ue),j.components.securitySchemes[X]=j.components.securitySchemes[Pe],delete j.components.securitySchemes[Pe]),ee(j.components.securitySchemes[X],ue)}for(let Pe in j.components.schemas){let X=v.sanitiseAll(Pe),_="";if(Pe!==X){for(;j.components.schemas[X+_];)_=_?++_:2;j.components.schemas[X+_]=j.components.schemas[Pe],delete j.components.schemas[Pe]}O.schemas[Pe]=X+_,g(j.components.schemas[X+_],ue)}ue.refmap={},E(j,{payload:{options:ue}},G),Z(j,ue);for(let Pe in j.components.parameters){let X=v.sanitise(Pe);Pe!==X&&(j.components.parameters[X]&&A("Duplicate sanitised parameter name "+X,ue),j.components.parameters[X]=j.components.parameters[Pe],delete j.components.parameters[Pe]);let _=j.components.parameters[X];he(_,null,null,null,X,j,ue)}for(let Pe in j.components.responses){let X=v.sanitise(Pe);Pe!==X&&(j.components.responses[X]&&A("Duplicate sanitised response name "+X,ue),j.components.responses[X]=j.components.responses[Pe],delete j.components.responses[Pe]);let _=j.components.responses[X];if(B(_,X,null,j,ue),_.headers)for(let $ in _.headers)$.toLowerCase()==="status code"?ue.patch?(ue.patches++,delete _.headers[$]):A('(Patchable) "Status Code" is not a valid header',ue):Fe(_.headers[$],ue)}for(let Pe in j.components.requestBodies){let X=j.components.requestBodies[Pe],_=JSON.stringify(X),$=v.hash(_),H={};H.name=Pe,H.body=X,H.refs=[],Ce[$]=H}if(J(j.paths,"paths",ue,Ce,j),j["x-ms-paths"]&&J(j["x-ms-paths"],"x-ms-paths",ue,Ce,j),!ue.debug)for(let Pe in j.components.parameters)j.components.parameters[Pe]["x-s2o-delete"]&&delete j.components.parameters[Pe];ue.debug&&(j["x-s2o-consumes"]=j.consumes||[],j["x-s2o-produces"]=j.produces||[]),delete j.consumes,delete j.produces,delete j.schemes;let et=[];if(j.components.requestBodies={},!ue.resolveInternal){let Pe=1;for(let X in Ce){let _=Ce[X];if(_.refs.length>1){let $="";for(_.name||(_.name="requestBody",$=Pe++);et.indexOf(_.name+$)>=0;)$=$?++$:2;_.name=_.name+$,et.push(_.name),j.components.requestBodies[_.name]=h(_.body);for(let H in _.refs){let I={};I.$ref="#/components/requestBodies/"+_.name,u.jptr(j,_.refs[H],I)}}}}return j.components.responses&&Object.keys(j.components.responses).length===0&&delete j.components.responses,j.components.parameters&&Object.keys(j.components.parameters).length===0&&delete j.components.parameters,j.components.examples&&Object.keys(j.components.examples).length===0&&delete j.components.examples,j.components.requestBodies&&Object.keys(j.components.requestBodies).length===0&&delete j.components.requestBodies,j.components.securitySchemes&&Object.keys(j.components.securitySchemes).length===0&&delete j.components.securitySchemes,j.components.headers&&Object.keys(j.components.headers).length===0&&delete j.components.headers,j.components.schemas&&Object.keys(j.components.schemas).length===0&&delete j.components.schemas,j.components&&Object.keys(j.components).length===0&&delete j.components,j}function W(j){return!j||!j.url||typeof j.url!="string"||(j.url=j.url.split("{{").join("{"),j.url=j.url.split("}}").join("}"),j.url.replace(/\{(.+?)\}/g,function(ue,Ce){j.variables||(j.variables={}),j.variables[Ce]={default:"unknown"}})),j}function V(j,ue,Ce){if(typeof j.info=="undefined"||j.info===null)if(ue.patch)ue.patches++,j.info={version:"",title:""};else return Ce(new C("(Patchable) info object is mandatory"));if(typeof j.info!="object"||Array.isArray(j.info))return Ce(new C("info must be an object"));if(typeof j.info.title=="undefined"||j.info.title===null)if(ue.patch)ue.patches++,j.info.title="";else return Ce(new C("(Patchable) info.title cannot be null"));if(typeof j.info.version=="undefined"||j.info.version===null)if(ue.patch)ue.patches++,j.info.version="";else return Ce(new C("(Patchable) info.version cannot be null"));if(typeof j.info.version!="string")if(ue.patch)ue.patches++,j.info.version=j.info.version.toString();else return Ce(new C("(Patchable) info.version must be a string"));if(typeof j.info.logo!="undefined")if(ue.patch)ue.patches++,j.info["x-logo"]=j.info.logo,delete j.info.logo;else return Ce(new C("(Patchable) info should not have logo property"));if(typeof j.info.termsOfService!="undefined"){if(j.info.termsOfService===null)if(ue.patch)ue.patches++,j.info.termsOfService="";else return Ce(new C("(Patchable) info.termsOfService cannot be null"));try{let et=new URL(j.info.termsOfService)}catch(et){if(ue.patch)ue.patches++,delete j.info.termsOfService;else return Ce(new C("(Patchable) info.termsOfService must be a URL"))}}}function ae(j,ue,Ce){if(typeof j.paths=="undefined")if(ue.patch)ue.patches++,j.paths={};else return Ce(new C("(Patchable) paths object is mandatory"))}function pe(j,ue){const Ce=new WeakSet;E(j,{identityDetection:!0},function(et,Pe,X){typeof et[Pe]=="object"&&et[Pe]!==null&&(Ce.has(et[Pe])?ue.anchors?et[Pe]=h(et[Pe]):A("YAML anchor or merge key at "+X.path,ue):Ce.add(et[Pe]))})}function Se(j,ue,Ce){return o(Ce,new Promise(function(et,Pe){if(j||(j={}),ue.original=j,ue.text||(ue.text=c.stringify(j)),ue.externals=[],ue.externalRefs={},ue.rewriteRefs=!0,ue.preserveMiro=!0,ue.promise={},ue.promise.resolve=et,ue.promise.reject=Pe,ue.patches=0,ue.cache||(ue.cache={}),ue.source&&(ue.cache[ue.source]=ue.original),pe(j,ue),j.openapi&&typeof j.openapi=="string"&&j.openapi.startsWith("3.")){ue.openapi=p(j),V(ue.openapi,ue,Pe),ae(ue.openapi,ue,Pe),T.optionalResolve(ue).then(function(){return ue.direct?et(ue.openapi):et(ue)}).catch(function(_){console.warn(_),Pe(_)});return}if(!j.swagger||j.swagger!="2.0")return Pe(new C("Unsupported swagger/OpenAPI version: "+(j.openapi?j.openapi:j.swagger)));let X=ue.openapi={};if(X.openapi=typeof ue.targetVersion=="string"&&ue.targetVersion.startsWith("3.")?ue.targetVersion:y,ue.origin){X["x-origin"]||(X["x-origin"]=[]);let _={};_.url=ue.source||ue.origin,_.format="swagger",_.version=j.swagger,_.converter={},_.converter.url="https://github.com/mermade/oas-kit",_.converter.version=m,X["x-origin"].push(_)}if(X=Object.assign(X,p(j)),delete X.swagger,E(X,{},function(_,$,H){_[$]===null&&!$.startsWith("x-")&&$!=="default"&&H.path.indexOf("/example")<0&&delete _[$]}),j.host)for(let _ of Array.isArray(j.schemes)?j.schemes:[""]){let $={},H=(j.basePath||"").replace(/\/$/,"");$.url=(_?_+":":"")+"//"+j.host+H,W($),X.servers||(X.servers=[]),X.servers.push($)}else if(j.basePath){let _={};_.url=j.basePath,W(_),X.servers||(X.servers=[]),X.servers.push(_)}if(delete X.host,delete X.basePath,X["x-servers"]&&Array.isArray(X["x-servers"])&&(X.servers=X["x-servers"],delete X["x-servers"]),j["x-ms-parameterized-host"]){let _=j["x-ms-parameterized-host"],$={};$.url=_.hostTemplate+(j.basePath?j.basePath:""),$.variables={};const H=$.url.match(/\{\w+\}/g);for(let I in _.parameters){let ve=_.parameters[I];ve.$ref&&(ve=h(a(X,ve.$ref))),I.startsWith("x-")||(delete ve.required,delete ve.type,delete ve.in,typeof ve.default=="undefined"&&(ve.enum?ve.default=ve.enum[0]:ve.default="none"),ve.name||(ve.name=H[I].replace("{","").replace("}","")),$.variables[ve.name]=ve,delete ve.name)}X.servers||(X.servers=[]),_.useSchemePrefix===!1?X.servers.push($):j.schemes.forEach(I=>{X.servers.push(Object.assign({},$,{url:I+"://"+$.url}))}),delete X["x-ms-parameterized-host"]}V(X,ue,Pe),ae(X,ue,Pe),typeof X.consumes=="string"&&(X.consumes=[X.consumes]),typeof X.produces=="string"&&(X.produces=[X.produces]),X.components={},X["x-callbacks"]&&(X.components.callbacks=X["x-callbacks"],delete X["x-callbacks"]),X.components.examples={},X.components.headers={},X["x-links"]&&(X.components.links=X["x-links"],delete X["x-links"]),X.components.parameters=X.parameters||{},X.components.responses=X.responses||{},X.components.requestBodies={},X.components.securitySchemes=X.securityDefinitions||{},X.components.schemas=X.definitions||{},delete X.definitions,delete X.responses,delete X.parameters,delete X.securityDefinitions,T.optionalResolve(ue).then(function(){re(ue.openapi,ue),ue.direct?et(ue.openapi):et(ue)}).catch(function(_){console.warn(_),Pe(_)})}))}function De(j,ue,Ce){return o(Ce,new Promise(function(et,Pe){let X=null,_=null;try{X=JSON.parse(j),ue.text=JSON.stringify(X,null,2)}catch($){_=$;try{X=c.parse(j,{schema:"core",prettyErrors:!0}),ue.sourceYaml=!0,ue.text=j}catch(H){_=H}}X?Se(X,ue).then($=>et($)).catch($=>Pe($)):Pe(new C(_?_.message:"Could not parse string"))}))}function nt(j,ue,Ce){return o(Ce,new Promise(function(et,Pe){ue.origin=!0,ue.source||(ue.source=j),ue.verbose&&console.warn("GET "+j),ue.fetch||(ue.fetch=r);const X=Object.assign({},ue.fetchOptions,{agent:ue.agent});ue.fetch(j,X).then(function(_){if(_.status!==200)throw new C(`Received status code ${_.status}: ${j}`);return _.text()}).then(function(_){De(_,ue).then($=>et($)).catch($=>Pe($))}).catch(function(_){Pe(_)})}))}function Me(j,ue,Ce){return o(Ce,new Promise(function(et,Pe){t.readFile(j,ue.encoding||"utf8",function(X,_){X?Pe(X):(ue.sourceFile=j,De(_,ue).then($=>et($)).catch($=>Pe($)))})}))}function _e(j,ue,Ce){return o(Ce,new Promise(function(et,Pe){let X="";j.on("data",function(_){X+=_}).on("end",function(){De(X,ue).then(_=>et(_)).catch(_=>Pe(_))})}))}L.exports={S2OError:C,targetVersion:y,convert:Se,convertObj:Se,convertUrl:nt,convertStr:De,convertFile:Me,convertStream:_e}},52711:(L,n,e)=>{"use strict";const t=e(46177),l={default:"Default response","1XX":"Informational","103":"Early hints","2XX":"Successful","3XX":"Redirection","4XX":"Client Error","5XX":"Server Error","7XX":"Developer Error"};L.exports={statusCodes:Object.assign({},l,t.STATUS_CODES)}},60540:function(L,n){/** @license URI.js v4.4.1 (c) 2011 Gary Court. License: http://github.com/garycourt/uri-js */(function(e,t){t(n)})(this,function(e){"use strict";function t(){for(var Ke=arguments.length,Ue=Array(Ke),it=0;it<Ke;it++)Ue[it]=arguments[it];if(Ue.length>1){Ue[0]=Ue[0].slice(0,-1);for(var Et=Ue.length-1,Ot=1;Ot<Et;++Ot)Ue[Ot]=Ue[Ot].slice(1,-1);return Ue[Et]=Ue[Et].slice(1),Ue.join("")}else return Ue[0]}function l(Ke){return"(?:"+Ke+")"}function s(Ke){return Ke===void 0?"undefined":Ke===null?"null":Object.prototype.toString.call(Ke).split(" ").pop().split("]").shift().toLowerCase()}function o(Ke){return Ke.toUpperCase()}function r(Ke){return Ke!=null?Ke instanceof Array?Ke:typeof Ke.length!="number"||Ke.split||Ke.setInterval||Ke.call?[Ke]:Array.prototype.slice.call(Ke):[]}function c(Ke,Ue){var it=Ke;if(Ue)for(var Et in Ue)it[Et]=Ue[Et];return it}function u(Ke){var Ue="[A-Za-z]",it="[\\x0D]",Et="[0-9]",Ot="[\\x22]",dn=t(Et,"[A-Fa-f]"),Ln="[\\x0A]",$n="[\\x20]",An=l(l("%[EFef]"+dn+"%"+dn+dn+"%"+dn+dn)+"|"+l("%[89A-Fa-f]"+dn+"%"+dn+dn)+"|"+l("%"+dn+dn)),Gn="[\\:\\/\\?\\#\\[\\]\\@]",Pn="[\\!\\$\\&\\'\\(\\)\\*\\+\\,\\;\\=]",Ze=t(Gn,Pn),ut=Ke?"[\\xA0-\\u200D\\u2010-\\u2029\\u202F-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF]":"[]",Pt=Ke?"[\\uE000-\\uF8FF]":"[]",Mt=t(Ue,Et,"[\\-\\.\\_\\~]",ut),zt=l(Ue+t(Ue,Et,"[\\+\\-\\.]")+"*"),Zt=l(l(An+"|"+t(Mt,Pn,"[\\:]"))+"*"),Qe=l(l("25[0-5]")+"|"+l("2[0-4]"+Et)+"|"+l("1"+Et+Et)+"|"+l("[1-9]"+Et)+"|"+Et),ot=l(l("25[0-5]")+"|"+l("2[0-4]"+Et)+"|"+l("1"+Et+Et)+"|"+l("0?[1-9]"+Et)+"|0?0?"+Et),Xe=l(ot+"\\."+ot+"\\."+ot+"\\."+ot),st=l(dn+"{1,4}"),wt=l(l(st+"\\:"+st)+"|"+Xe),tn=l(l(st+"\\:")+"{6}"+wt),qt=l("\\:\\:"+l(st+"\\:")+"{5}"+wt),bn=l(l(st)+"?\\:\\:"+l(st+"\\:")+"{4}"+wt),Fn=l(l(l(st+"\\:")+"{0,1}"+st)+"?\\:\\:"+l(st+"\\:")+"{3}"+wt),Nn=l(l(l(st+"\\:")+"{0,2}"+st)+"?\\:\\:"+l(st+"\\:")+"{2}"+wt),rr=l(l(l(st+"\\:")+"{0,3}"+st)+"?\\:\\:"+st+"\\:"+wt),jn=l(l(l(st+"\\:")+"{0,4}"+st)+"?\\:\\:"+wt),En=l(l(l(st+"\\:")+"{0,5}"+st)+"?\\:\\:"+st),Xn=l(l(l(st+"\\:")+"{0,6}"+st)+"?\\:\\:"),kn=l([tn,qt,bn,Fn,Nn,rr,jn,En,Xn].join("|")),On=l(l(Mt+"|"+An)+"+"),Yn=l(kn+"\\%25"+On),Hn=l(kn+l("\\%25|\\%(?!"+dn+"{2})")+On),xn=l("[vV]"+dn+"+\\."+t(Mt,Pn,"[\\:]")+"+"),hr=l("\\["+l(Hn+"|"+kn+"|"+xn)+"\\]"),sr=l(l(An+"|"+t(Mt,Pn))+"*"),ur=l(hr+"|"+Xe+"(?!"+sr+")|"+sr),Qn=l(Et+"*"),vr=l(l(Zt+"@")+"?"+ur+l("\\:"+Qn)+"?"),Dr=l(An+"|"+t(Mt,Pn,"[\\:\\@]")),jr=l(Dr+"*"),Er=l(Dr+"+"),Vr=l(l(An+"|"+t(Mt,Pn,"[\\@]"))+"+"),Sr=l(l("\\/"+jr)+"*"),Tr=l("\\/"+l(Er+Sr)+"?"),qn=l(Vr+Sr),ln=l(Er+Sr),It="(?!"+Dr+")",pn=l(Sr+"|"+Tr+"|"+qn+"|"+ln+"|"+It),vn=l(l(Dr+"|"+t("[\\/\\?]",Pt))+"*"),er=l(l(Dr+"|[\\/\\?]")+"*"),ar=l(l("\\/\\/"+vr+Sr)+"|"+Tr+"|"+ln+"|"+It),nr=l(zt+"\\:"+ar+l("\\?"+vn)+"?"+l("\\#"+er)+"?"),Ye=l(l("\\/\\/"+vr+Sr)+"|"+Tr+"|"+qn+"|"+It),ye=l(Ye+l("\\?"+vn)+"?"+l("\\#"+er)+"?"),Re=l(nr+"|"+ye),gt=l(zt+"\\:"+ar+l("\\?"+vn)+"?"),We="^("+zt+")\\:"+l(l("\\/\\/("+l("("+Zt+")@")+"?("+ur+")"+l("\\:("+Qn+")")+"?)")+"?("+Sr+"|"+Tr+"|"+ln+"|"+It+")")+l("\\?("+vn+")")+"?"+l("\\#("+er+")")+"?$",Qt="^(){0}"+l(l("\\/\\/("+l("("+Zt+")@")+"?("+ur+")"+l("\\:("+Qn+")")+"?)")+"?("+Sr+"|"+Tr+"|"+qn+"|"+It+")")+l("\\?("+vn+")")+"?"+l("\\#("+er+")")+"?$",rt="^("+zt+")\\:"+l(l("\\/\\/("+l("("+Zt+")@")+"?("+ur+")"+l("\\:("+Qn+")")+"?)")+"?("+Sr+"|"+Tr+"|"+ln+"|"+It+")")+l("\\?("+vn+")")+"?$",sn="^"+l("\\#("+er+")")+"?$",an="^"+l("("+Zt+")@")+"?("+ur+")"+l("\\:("+Qn+")")+"?$";return{NOT_SCHEME:new RegExp(t("[^]",Ue,Et,"[\\+\\-\\.]"),"g"),NOT_USERINFO:new RegExp(t("[^\\%\\:]",Mt,Pn),"g"),NOT_HOST:new RegExp(t("[^\\%\\[\\]\\:]",Mt,Pn),"g"),NOT_PATH:new RegExp(t("[^\\%\\/\\:\\@]",Mt,Pn),"g"),NOT_PATH_NOSCHEME:new RegExp(t("[^\\%\\/\\@]",Mt,Pn),"g"),NOT_QUERY:new RegExp(t("[^\\%]",Mt,Pn,"[\\:\\@\\/\\?]",Pt),"g"),NOT_FRAGMENT:new RegExp(t("[^\\%]",Mt,Pn,"[\\:\\@\\/\\?]"),"g"),ESCAPE:new RegExp(t("[^]",Mt,Pn),"g"),UNRESERVED:new RegExp(Mt,"g"),OTHER_CHARS:new RegExp(t("[^\\%]",Mt,Ze),"g"),PCT_ENCODED:new RegExp(An,"g"),IPV4ADDRESS:new RegExp("^("+Xe+")$"),IPV6ADDRESS:new RegExp("^\\[?("+kn+")"+l(l("\\%25|\\%(?!"+dn+"{2})")+"("+On+")")+"?\\]?$")}}var a=u(!1),d=u(!0),h=function(){function Ke(Ue,it){var Et=[],Ot=!0,dn=!1,Ln=void 0;try{for(var $n=Ue[Symbol.iterator](),An;!(Ot=(An=$n.next()).done)&&(Et.push(An.value),!(it&&Et.length===it));Ot=!0);}catch(Gn){dn=!0,Ln=Gn}finally{try{!Ot&&$n.return&&$n.return()}finally{if(dn)throw Ln}}return Et}return function(Ue,it){if(Array.isArray(Ue))return Ue;if(Symbol.iterator in Object(Ue))return Ke(Ue,it);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),p=function(Ke){if(Array.isArray(Ke)){for(var Ue=0,it=Array(Ke.length);Ue<Ke.length;Ue++)it[Ue]=Ke[Ue];return it}else return Array.from(Ke)},E=2147483647,T=36,S=1,v=26,b=38,m=700,y=72,O=128,C="-",A=/^xn--/,w=/[^\0-\x7E]/,x=/[\x2E\u3002\uFF0E\uFF61]/g,R={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},g=T-S,k=Math.floor,G=String.fromCharCode;function Z(Ke){throw new RangeError(R[Ke])}function oe(Ke,Ue){for(var it=[],Et=Ke.length;Et--;)it[Et]=Ue(Ke[Et]);return it}function ee(Ke,Ue){var it=Ke.split("@"),Et="";it.length>1&&(Et=it[0]+"@",Ke=it[1]),Ke=Ke.replace(x,".");var Ot=Ke.split("."),dn=oe(Ot,Ue).join(".");return Et+dn}function Ee(Ke){for(var Ue=[],it=0,Et=Ke.length;it<Et;){var Ot=Ke.charCodeAt(it++);if(Ot>=55296&&Ot<=56319&&it<Et){var dn=Ke.charCodeAt(it++);(dn&64512)==56320?Ue.push(((Ot&1023)<<10)+(dn&1023)+65536):(Ue.push(Ot),it--)}else Ue.push(Ot)}return Ue}var Fe=function(Ue){return String.fromCodePoint.apply(String,p(Ue))},ce=function(Ue){return Ue-48<10?Ue-22:Ue-65<26?Ue-65:Ue-97<26?Ue-97:T},te=function(Ue,it){return Ue+22+75*(Ue<26)-((it!=0)<<5)},he=function(Ue,it,Et){var Ot=0;for(Ue=Et?k(Ue/m):Ue>>1,Ue+=k(Ue/it);Ue>g*v>>1;Ot+=T)Ue=k(Ue/g);return k(Ot+(g+1)*Ue/(Ue+b))},Q=function(Ue){var it=[],Et=Ue.length,Ot=0,dn=O,Ln=y,$n=Ue.lastIndexOf(C);$n<0&&($n=0);for(var An=0;An<$n;++An)Ue.charCodeAt(An)>=128&&Z("not-basic"),it.push(Ue.charCodeAt(An));for(var Gn=$n>0?$n+1:0;Gn<Et;){for(var Pn=Ot,Ze=1,ut=T;;ut+=T){Gn>=Et&&Z("invalid-input");var Pt=ce(Ue.charCodeAt(Gn++));(Pt>=T||Pt>k((E-Ot)/Ze))&&Z("overflow"),Ot+=Pt*Ze;var Mt=ut<=Ln?S:ut>=Ln+v?v:ut-Ln;if(Pt<Mt)break;var zt=T-Mt;Ze>k(E/zt)&&Z("overflow"),Ze*=zt}var Zt=it.length+1;Ln=he(Ot-Pn,Zt,Pn==0),k(Ot/Zt)>E-dn&&Z("overflow"),dn+=k(Ot/Zt),Ot%=Zt,it.splice(Ot++,0,dn)}return String.fromCodePoint.apply(String,it)},B=function(Ue){var it=[];Ue=Ee(Ue);var Et=Ue.length,Ot=O,dn=0,Ln=y,$n=!0,An=!1,Gn=void 0;try{for(var Pn=Ue[Symbol.iterator](),Ze;!($n=(Ze=Pn.next()).done);$n=!0){var ut=Ze.value;ut<128&&it.push(G(ut))}}catch(Hn){An=!0,Gn=Hn}finally{try{!$n&&Pn.return&&Pn.return()}finally{if(An)throw Gn}}var Pt=it.length,Mt=Pt;for(Pt&&it.push(C);Mt<Et;){var zt=E,Zt=!0,Qe=!1,ot=void 0;try{for(var Xe=Ue[Symbol.iterator](),st;!(Zt=(st=Xe.next()).done);Zt=!0){var wt=st.value;wt>=Ot&&wt<zt&&(zt=wt)}}catch(Hn){Qe=!0,ot=Hn}finally{try{!Zt&&Xe.return&&Xe.return()}finally{if(Qe)throw ot}}var tn=Mt+1;zt-Ot>k((E-dn)/tn)&&Z("overflow"),dn+=(zt-Ot)*tn,Ot=zt;var qt=!0,bn=!1,Fn=void 0;try{for(var Nn=Ue[Symbol.iterator](),rr;!(qt=(rr=Nn.next()).done);qt=!0){var jn=rr.value;if(jn<Ot&&++dn>E&&Z("overflow"),jn==Ot){for(var En=dn,Xn=T;;Xn+=T){var kn=Xn<=Ln?S:Xn>=Ln+v?v:Xn-Ln;if(En<kn)break;var On=En-kn,Yn=T-kn;it.push(G(te(kn+On%Yn,0))),En=k(On/Yn)}it.push(G(te(En,0))),Ln=he(dn,tn,Mt==Pt),dn=0,++Mt}}}catch(Hn){bn=!0,Fn=Hn}finally{try{!qt&&Nn.return&&Nn.return()}finally{if(bn)throw Fn}}++dn,++Ot}return it.join("")},J=function(Ue){return ee(Ue,function(it){return A.test(it)?Q(it.slice(4).toLowerCase()):it})},re=function(Ue){return ee(Ue,function(it){return w.test(it)?"xn--"+B(it):it})},W={version:"2.1.0",ucs2:{decode:Ee,encode:Fe},decode:Q,encode:B,toASCII:re,toUnicode:J},V={};function ae(Ke){var Ue=Ke.charCodeAt(0),it=void 0;return Ue<16?it="%0"+Ue.toString(16).toUpperCase():Ue<128?it="%"+Ue.toString(16).toUpperCase():Ue<2048?it="%"+(Ue>>6|192).toString(16).toUpperCase()+"%"+(Ue&63|128).toString(16).toUpperCase():it="%"+(Ue>>12|224).toString(16).toUpperCase()+"%"+(Ue>>6&63|128).toString(16).toUpperCase()+"%"+(Ue&63|128).toString(16).toUpperCase(),it}function pe(Ke){for(var Ue="",it=0,Et=Ke.length;it<Et;){var Ot=parseInt(Ke.substr(it+1,2),16);if(Ot<128)Ue+=String.fromCharCode(Ot),it+=3;else if(Ot>=194&&Ot<224){if(Et-it>=6){var dn=parseInt(Ke.substr(it+4,2),16);Ue+=String.fromCharCode((Ot&31)<<6|dn&63)}else Ue+=Ke.substr(it,6);it+=6}else if(Ot>=224){if(Et-it>=9){var Ln=parseInt(Ke.substr(it+4,2),16),$n=parseInt(Ke.substr(it+7,2),16);Ue+=String.fromCharCode((Ot&15)<<12|(Ln&63)<<6|$n&63)}else Ue+=Ke.substr(it,9);it+=9}else Ue+=Ke.substr(it,3),it+=3}return Ue}function Se(Ke,Ue){function it(Et){var Ot=pe(Et);return Ot.match(Ue.UNRESERVED)?Ot:Et}return Ke.scheme&&(Ke.scheme=String(Ke.scheme).replace(Ue.PCT_ENCODED,it).toLowerCase().replace(Ue.NOT_SCHEME,"")),Ke.userinfo!==void 0&&(Ke.userinfo=String(Ke.userinfo).replace(Ue.PCT_ENCODED,it).replace(Ue.NOT_USERINFO,ae).replace(Ue.PCT_ENCODED,o)),Ke.host!==void 0&&(Ke.host=String(Ke.host).replace(Ue.PCT_ENCODED,it).toLowerCase().replace(Ue.NOT_HOST,ae).replace(Ue.PCT_ENCODED,o)),Ke.path!==void 0&&(Ke.path=String(Ke.path).replace(Ue.PCT_ENCODED,it).replace(Ke.scheme?Ue.NOT_PATH:Ue.NOT_PATH_NOSCHEME,ae).replace(Ue.PCT_ENCODED,o)),Ke.query!==void 0&&(Ke.query=String(Ke.query).replace(Ue.PCT_ENCODED,it).replace(Ue.NOT_QUERY,ae).replace(Ue.PCT_ENCODED,o)),Ke.fragment!==void 0&&(Ke.fragment=String(Ke.fragment).replace(Ue.PCT_ENCODED,it).replace(Ue.NOT_FRAGMENT,ae).replace(Ue.PCT_ENCODED,o)),Ke}function De(Ke){return Ke.replace(/^0*(.*)/,"$1")||"0"}function nt(Ke,Ue){var it=Ke.match(Ue.IPV4ADDRESS)||[],Et=h(it,2),Ot=Et[1];return Ot?Ot.split(".").map(De).join("."):Ke}function Me(Ke,Ue){var it=Ke.match(Ue.IPV6ADDRESS)||[],Et=h(it,3),Ot=Et[1],dn=Et[2];if(Ot){for(var Ln=Ot.toLowerCase().split("::").reverse(),$n=h(Ln,2),An=$n[0],Gn=$n[1],Pn=Gn?Gn.split(":").map(De):[],Ze=An.split(":").map(De),ut=Ue.IPV4ADDRESS.test(Ze[Ze.length-1]),Pt=ut?7:8,Mt=Ze.length-Pt,zt=Array(Pt),Zt=0;Zt<Pt;++Zt)zt[Zt]=Pn[Zt]||Ze[Mt+Zt]||"";ut&&(zt[Pt-1]=nt(zt[Pt-1],Ue));var Qe=zt.reduce(function(tn,qt,bn){if(!qt||qt==="0"){var Fn=tn[tn.length-1];Fn&&Fn.index+Fn.length===bn?Fn.length++:tn.push({index:bn,length:1})}return tn},[]),ot=Qe.sort(function(tn,qt){return qt.length-tn.length})[0],Xe=void 0;if(ot&&ot.length>1){var st=zt.slice(0,ot.index),wt=zt.slice(ot.index+ot.length);Xe=st.join(":")+"::"+wt.join(":")}else Xe=zt.join(":");return dn&&(Xe+="%"+dn),Xe}else return Ke}var _e=/^(?:([^:\/?#]+):)?(?:\/\/((?:([^\/?#@]*)@)?(\[[^\/?#\]]+\]|[^\/?#:]*)(?:\:(\d*))?))?([^?#]*)(?:\?([^#]*))?(?:#((?:.|\n|\r)*))?/i,j="".match(/(){0}/)[1]===void 0;function ue(Ke){var Ue=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},it={},Et=Ue.iri!==!1?d:a;Ue.reference==="suffix"&&(Ke=(Ue.scheme?Ue.scheme+":":"")+"//"+Ke);var Ot=Ke.match(_e);if(Ot){j?(it.scheme=Ot[1],it.userinfo=Ot[3],it.host=Ot[4],it.port=parseInt(Ot[5],10),it.path=Ot[6]||"",it.query=Ot[7],it.fragment=Ot[8],isNaN(it.port)&&(it.port=Ot[5])):(it.scheme=Ot[1]||void 0,it.userinfo=Ke.indexOf("@")!==-1?Ot[3]:void 0,it.host=Ke.indexOf("//")!==-1?Ot[4]:void 0,it.port=parseInt(Ot[5],10),it.path=Ot[6]||"",it.query=Ke.indexOf("?")!==-1?Ot[7]:void 0,it.fragment=Ke.indexOf("#")!==-1?Ot[8]:void 0,isNaN(it.port)&&(it.port=Ke.match(/\/\/(?:.|\n)*\:(?:\/|\?|\#|$)/)?Ot[4]:void 0)),it.host&&(it.host=Me(nt(it.host,Et),Et)),it.scheme===void 0&&it.userinfo===void 0&&it.host===void 0&&it.port===void 0&&!it.path&&it.query===void 0?it.reference="same-document":it.scheme===void 0?it.reference="relative":it.fragment===void 0?it.reference="absolute":it.reference="uri",Ue.reference&&Ue.reference!=="suffix"&&Ue.reference!==it.reference&&(it.error=it.error||"URI is not a "+Ue.reference+" reference.");var dn=V[(Ue.scheme||it.scheme||"").toLowerCase()];if(!Ue.unicodeSupport&&(!dn||!dn.unicodeSupport)){if(it.host&&(Ue.domainHost||dn&&dn.domainHost))try{it.host=W.toASCII(it.host.replace(Et.PCT_ENCODED,pe).toLowerCase())}catch(Ln){it.error=it.error||"Host's domain name can not be converted to ASCII via punycode: "+Ln}Se(it,a)}else Se(it,Et);dn&&dn.parse&&dn.parse(it,Ue)}else it.error=it.error||"URI can not be parsed.";return it}function Ce(Ke,Ue){var it=Ue.iri!==!1?d:a,Et=[];return Ke.userinfo!==void 0&&(Et.push(Ke.userinfo),Et.push("@")),Ke.host!==void 0&&Et.push(Me(nt(String(Ke.host),it),it).replace(it.IPV6ADDRESS,function(Ot,dn,Ln){return"["+dn+(Ln?"%25"+Ln:"")+"]"})),(typeof Ke.port=="number"||typeof Ke.port=="string")&&(Et.push(":"),Et.push(String(Ke.port))),Et.length?Et.join(""):void 0}var et=/^\.\.?\//,Pe=/^\/\.(\/|$)/,X=/^\/\.\.(\/|$)/,_=/^\/?(?:.|\n)*?(?=\/|$)/;function $(Ke){for(var Ue=[];Ke.length;)if(Ke.match(et))Ke=Ke.replace(et,"");else if(Ke.match(Pe))Ke=Ke.replace(Pe,"/");else if(Ke.match(X))Ke=Ke.replace(X,"/"),Ue.pop();else if(Ke==="."||Ke==="..")Ke="";else{var it=Ke.match(_);if(it){var Et=it[0];Ke=Ke.slice(Et.length),Ue.push(Et)}else throw new Error("Unexpected dot segment condition")}return Ue.join("")}function H(Ke){var Ue=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},it=Ue.iri?d:a,Et=[],Ot=V[(Ue.scheme||Ke.scheme||"").toLowerCase()];if(Ot&&Ot.serialize&&Ot.serialize(Ke,Ue),Ke.host&&!it.IPV6ADDRESS.test(Ke.host)){if(Ue.domainHost||Ot&&Ot.domainHost)try{Ke.host=Ue.iri?W.toUnicode(Ke.host):W.toASCII(Ke.host.replace(it.PCT_ENCODED,pe).toLowerCase())}catch($n){Ke.error=Ke.error||"Host's domain name can not be converted to "+(Ue.iri?"Unicode":"ASCII")+" via punycode: "+$n}}Se(Ke,it),Ue.reference!=="suffix"&&Ke.scheme&&(Et.push(Ke.scheme),Et.push(":"));var dn=Ce(Ke,Ue);if(dn!==void 0&&(Ue.reference!=="suffix"&&Et.push("//"),Et.push(dn),Ke.path&&Ke.path.charAt(0)!=="/"&&Et.push("/")),Ke.path!==void 0){var Ln=Ke.path;!Ue.absolutePath&&(!Ot||!Ot.absolutePath)&&(Ln=$(Ln)),dn===void 0&&(Ln=Ln.replace(/^\/\//,"/%2F")),Et.push(Ln)}return Ke.query!==void 0&&(Et.push("?"),Et.push(Ke.query)),Ke.fragment!==void 0&&(Et.push("#"),Et.push(Ke.fragment)),Et.join("")}function I(Ke,Ue){var it=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},Et=arguments[3],Ot={};return Et||(Ke=ue(H(Ke,it),it),Ue=ue(H(Ue,it),it)),it=it||{},!it.tolerant&&Ue.scheme?(Ot.scheme=Ue.scheme,Ot.userinfo=Ue.userinfo,Ot.host=Ue.host,Ot.port=Ue.port,Ot.path=$(Ue.path||""),Ot.query=Ue.query):(Ue.userinfo!==void 0||Ue.host!==void 0||Ue.port!==void 0?(Ot.userinfo=Ue.userinfo,Ot.host=Ue.host,Ot.port=Ue.port,Ot.path=$(Ue.path||""),Ot.query=Ue.query):(Ue.path?(Ue.path.charAt(0)==="/"?Ot.path=$(Ue.path):((Ke.userinfo!==void 0||Ke.host!==void 0||Ke.port!==void 0)&&!Ke.path?Ot.path="/"+Ue.path:Ke.path?Ot.path=Ke.path.slice(0,Ke.path.lastIndexOf("/")+1)+Ue.path:Ot.path=Ue.path,Ot.path=$(Ot.path)),Ot.query=Ue.query):(Ot.path=Ke.path,Ue.query!==void 0?Ot.query=Ue.query:Ot.query=Ke.query),Ot.userinfo=Ke.userinfo,Ot.host=Ke.host,Ot.port=Ke.port),Ot.scheme=Ke.scheme),Ot.fragment=Ue.fragment,Ot}function ve(Ke,Ue,it){var Et=c({scheme:"null"},it);return H(I(ue(Ke,Et),ue(Ue,Et),Et,!0),Et)}function $e(Ke,Ue){return typeof Ke=="string"?Ke=H(ue(Ke,Ue),Ue):s(Ke)==="object"&&(Ke=ue(H(Ke,Ue),Ue)),Ke}function be(Ke,Ue,it){return typeof Ke=="string"?Ke=H(ue(Ke,it),it):s(Ke)==="object"&&(Ke=H(Ke,it)),typeof Ue=="string"?Ue=H(ue(Ue,it),it):s(Ue)==="object"&&(Ue=H(Ue,it)),Ke===Ue}function Te(Ke,Ue){return Ke&&Ke.toString().replace(!Ue||!Ue.iri?a.ESCAPE:d.ESCAPE,ae)}function Le(Ke,Ue){return Ke&&Ke.toString().replace(!Ue||!Ue.iri?a.PCT_ENCODED:d.PCT_ENCODED,pe)}var ke={scheme:"http",domainHost:!0,parse:function(Ue,it){return Ue.host||(Ue.error=Ue.error||"HTTP URIs must have a host."),Ue},serialize:function(Ue,it){var Et=String(Ue.scheme).toLowerCase()==="https";return(Ue.port===(Et?443:80)||Ue.port==="")&&(Ue.port=void 0),Ue.path||(Ue.path="/"),Ue}},at={scheme:"https",domainHost:ke.domainHost,parse:ke.parse,serialize:ke.serialize};function xt(Ke){return typeof Ke.secure=="boolean"?Ke.secure:String(Ke.scheme).toLowerCase()==="wss"}var qe={scheme:"ws",domainHost:!0,parse:function(Ue,it){var Et=Ue;return Et.secure=xt(Et),Et.resourceName=(Et.path||"/")+(Et.query?"?"+Et.query:""),Et.path=void 0,Et.query=void 0,Et},serialize:function(Ue,it){if((Ue.port===(xt(Ue)?443:80)||Ue.port==="")&&(Ue.port=void 0),typeof Ue.secure=="boolean"&&(Ue.scheme=Ue.secure?"wss":"ws",Ue.secure=void 0),Ue.resourceName){var Et=Ue.resourceName.split("?"),Ot=h(Et,2),dn=Ot[0],Ln=Ot[1];Ue.path=dn&&dn!=="/"?dn:void 0,Ue.query=Ln,Ue.resourceName=void 0}return Ue.fragment=void 0,Ue}},q={scheme:"wss",domainHost:qe.domainHost,parse:qe.parse,serialize:qe.serialize},ne={},ie=!0,K="[A-Za-z0-9\\-\\.\\_\\~"+(ie?"\\xA0-\\u200D\\u2010-\\u2029\\u202F-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF":"")+"]",we="[0-9A-Fa-f]",He=l(l("%[EFef]"+we+"%"+we+we+"%"+we+we)+"|"+l("%[89A-Fa-f]"+we+"%"+we+we)+"|"+l("%"+we+we)),Je="[A-Za-z0-9\\!\\$\\%\\'\\*\\+\\-\\^\\_\\`\\{\\|\\}\\~]",ft="[\\!\\$\\%\\'\\(\\)\\*\\+\\,\\-\\.0-9\\<\\>A-Z\\x5E-\\x7E]",At=t(ft,'[\\"\\\\]'),Lt="[\\!\\$\\'\\(\\)\\*\\+\\,\\;\\:\\@]",Yt=new RegExp(K,"g"),Vt=new RegExp(He,"g"),ze=new RegExp(t("[^]",Je,"[\\.]",'[\\"]',At),"g"),dt=new RegExp(t("[^]",K,Lt),"g"),bt=dt;function pt(Ke){var Ue=pe(Ke);return Ue.match(Yt)?Ue:Ke}var Ct={scheme:"mailto",parse:function(Ue,it){var Et=Ue,Ot=Et.to=Et.path?Et.path.split(","):[];if(Et.path=void 0,Et.query){for(var dn=!1,Ln={},$n=Et.query.split("&"),An=0,Gn=$n.length;An<Gn;++An){var Pn=$n[An].split("=");switch(Pn[0]){case"to":for(var Ze=Pn[1].split(","),ut=0,Pt=Ze.length;ut<Pt;++ut)Ot.push(Ze[ut]);break;case"subject":Et.subject=Le(Pn[1],it);break;case"body":Et.body=Le(Pn[1],it);break;default:dn=!0,Ln[Le(Pn[0],it)]=Le(Pn[1],it);break}}dn&&(Et.headers=Ln)}Et.query=void 0;for(var Mt=0,zt=Ot.length;Mt<zt;++Mt){var Zt=Ot[Mt].split("@");if(Zt[0]=Le(Zt[0]),it.unicodeSupport)Zt[1]=Le(Zt[1],it).toLowerCase();else try{Zt[1]=W.toASCII(Le(Zt[1],it).toLowerCase())}catch(Qe){Et.error=Et.error||"Email address's domain name can not be converted to ASCII via punycode: "+Qe}Ot[Mt]=Zt.join("@")}return Et},serialize:function(Ue,it){var Et=Ue,Ot=r(Ue.to);if(Ot){for(var dn=0,Ln=Ot.length;dn<Ln;++dn){var $n=String(Ot[dn]),An=$n.lastIndexOf("@"),Gn=$n.slice(0,An).replace(Vt,pt).replace(Vt,o).replace(ze,ae),Pn=$n.slice(An+1);try{Pn=it.iri?W.toUnicode(Pn):W.toASCII(Le(Pn,it).toLowerCase())}catch(Mt){Et.error=Et.error||"Email address's domain name can not be converted to "+(it.iri?"Unicode":"ASCII")+" via punycode: "+Mt}Ot[dn]=Gn+"@"+Pn}Et.path=Ot.join(",")}var Ze=Ue.headers=Ue.headers||{};Ue.subject&&(Ze.subject=Ue.subject),Ue.body&&(Ze.body=Ue.body);var ut=[];for(var Pt in Ze)Ze[Pt]!==ne[Pt]&&ut.push(Pt.replace(Vt,pt).replace(Vt,o).replace(dt,ae)+"="+Ze[Pt].replace(Vt,pt).replace(Vt,o).replace(bt,ae));return ut.length&&(Et.query=ut.join("&")),Et}},$t=/^([^\:]+)\:(.*)/,fn={scheme:"urn",parse:function(Ue,it){var Et=Ue.path&&Ue.path.match($t),Ot=Ue;if(Et){var dn=it.scheme||Ot.scheme||"urn",Ln=Et[1].toLowerCase(),$n=Et[2],An=dn+":"+(it.nid||Ln),Gn=V[An];Ot.nid=Ln,Ot.nss=$n,Ot.path=void 0,Gn&&(Ot=Gn.parse(Ot,it))}else Ot.error=Ot.error||"URN can not be parsed.";return Ot},serialize:function(Ue,it){var Et=it.scheme||Ue.scheme||"urn",Ot=Ue.nid,dn=Et+":"+(it.nid||Ot),Ln=V[dn];Ln&&(Ue=Ln.serialize(Ue,it));var $n=Ue,An=Ue.nss;return $n.path=(Ot||it.nid)+":"+An,$n}},cn=/^[0-9A-Fa-f]{8}(?:\-[0-9A-Fa-f]{4}){3}\-[0-9A-Fa-f]{12}$/,Rn={scheme:"urn:uuid",parse:function(Ue,it){var Et=Ue;return Et.uuid=Et.nss,Et.nss=void 0,!it.tolerant&&(!Et.uuid||!Et.uuid.match(cn))&&(Et.error=Et.error||"UUID is not valid."),Et},serialize:function(Ue,it){var Et=Ue;return Et.nss=(Ue.uuid||"").toLowerCase(),Et}};V[ke.scheme]=ke,V[at.scheme]=at,V[qe.scheme]=qe,V[q.scheme]=q,V[Ct.scheme]=Ct,V[fn.scheme]=fn,V[Rn.scheme]=Rn,e.SCHEMES=V,e.pctEncChar=ae,e.pctDecChars=pe,e.parse=ue,e.removeDotSegments=$,e.serialize=H,e.resolveComponents=I,e.resolve=ve,e.normalize=$e,e.equal=be,e.escapeComponent=Te,e.unescapeComponent=Le,Object.defineProperty(e,"__esModule",{value:!0})})},38264:function(L,n,e){(function(t){var l=function(){try{return!!Symbol.iterator}catch(h){return!1}},s=l(),o=function(h){var p={next:function(){var E=h.shift();return{done:E===void 0,value:E}}};return s&&(p[Symbol.iterator]=function(){return p}),p},r=function(h){return encodeURIComponent(h).replace(/%20/g,"+")},c=function(h){return decodeURIComponent(String(h).replace(/\+/g," "))},u=function(){var h=function(E){Object.defineProperty(this,"_entries",{writable:!0,value:{}});var T=typeof E;if(T!=="undefined")if(T==="string")E!==""&&this._fromString(E);else if(E instanceof h){var S=this;E.forEach(function(y,O){S.append(O,y)})}else if(E!==null&&T==="object")if(Object.prototype.toString.call(E)==="[object Array]")for(var v=0;v<E.length;v++){var b=E[v];if(Object.prototype.toString.call(b)==="[object Array]"||b.length!==2)this.append(b[0],b[1]);else throw new TypeError("Expected [string, any] as entry at index "+v+" of URLSearchParams's input")}else for(var m in E)E.hasOwnProperty(m)&&this.append(m,E[m]);else throw new TypeError("Unsupported input's type for URLSearchParams")},p=h.prototype;p.append=function(E,T){E in this._entries?this._entries[E].push(String(T)):this._entries[E]=[String(T)]},p.delete=function(E){delete this._entries[E]},p.get=function(E){return E in this._entries?this._entries[E][0]:null},p.getAll=function(E){return E in this._entries?this._entries[E].slice(0):[]},p.has=function(E){return E in this._entries},p.set=function(E,T){this._entries[E]=[String(T)]},p.forEach=function(E,T){var S;for(var v in this._entries)if(this._entries.hasOwnProperty(v)){S=this._entries[v];for(var b=0;b<S.length;b++)E.call(T,S[b],v,this)}},p.keys=function(){var E=[];return this.forEach(function(T,S){E.push(S)}),o(E)},p.values=function(){var E=[];return this.forEach(function(T){E.push(T)}),o(E)},p.entries=function(){var E=[];return this.forEach(function(T,S){E.push([S,T])}),o(E)},s&&(p[Symbol.iterator]=p.entries),p.toString=function(){var E=[];return this.forEach(function(T,S){E.push(r(S)+"="+r(T))}),E.join("&")},t.URLSearchParams=h},a=function(){try{var h=t.URLSearchParams;return new h("?a=1").toString()==="a=1"&&typeof h.prototype.set=="function"&&typeof h.prototype.entries=="function"}catch(p){return!1}};a()||u();var d=t.URLSearchParams.prototype;typeof d.sort!="function"&&(d.sort=function(){var h=this,p=[];this.forEach(function(T,S){p.push([S,T]),h._entries||h.delete(S)}),p.sort(function(T,S){return T[0]<S[0]?-1:T[0]>S[0]?1:0}),h._entries&&(h._entries={});for(var E=0;E<p.length;E++)this.append(p[E][0],p[E][1])}),typeof d._fromString!="function"&&Object.defineProperty(d,"_fromString",{enumerable:!1,configurable:!1,writable:!1,value:function(h){if(this._entries)this._entries={};else{var p=[];this.forEach(function(v,b){p.push(b)});for(var E=0;E<p.length;E++)this.delete(p[E])}h=h.replace(/^\?/,"");for(var T=h.split("&"),S,E=0;E<T.length;E++)S=T[E].split("="),this.append(c(S[0]),S.length>1?c(S[1]):"")}})})(typeof e.g!="undefined"?e.g:typeof window!="undefined"?window:typeof self!="undefined"?self:this),function(t){var l=function(){try{var r=new t.URL("b","http://a");return r.pathname="c d",r.href==="http://a/c%20d"&&r.searchParams}catch(c){return!1}},s=function(){var r=t.URL,c=function(d,h){typeof d!="string"&&(d=String(d)),h&&typeof h!="string"&&(h=String(h));var p=document,E;if(h&&(t.location===void 0||h!==t.location.href)){h=h.toLowerCase(),p=document.implementation.createHTMLDocument(""),E=p.createElement("base"),E.href=h,p.head.appendChild(E);try{if(E.href.indexOf(h)!==0)throw new Error(E.href)}catch(C){throw new Error("URL unable to set base "+h+" due to "+C)}}var T=p.createElement("a");T.href=d,E&&(p.body.appendChild(T),T.href=T.href);var S=p.createElement("input");if(S.type="url",S.value=d,T.protocol===":"||!/:/.test(T.href)||!S.checkValidity()&&!h)throw new TypeError("Invalid URL");Object.defineProperty(this,"_anchorElement",{value:T});var v=new t.URLSearchParams(this.search),b=!0,m=!0,y=this;["append","delete","set"].forEach(function(C){var A=v[C];v[C]=function(){A.apply(v,arguments),b&&(m=!1,y.search=v.toString(),m=!0)}}),Object.defineProperty(this,"searchParams",{value:v,enumerable:!0});var O=void 0;Object.defineProperty(this,"_updateSearchParams",{enumerable:!1,configurable:!1,writable:!1,value:function(){this.search!==O&&(O=this.search,m&&(b=!1,this.searchParams._fromString(this.search),b=!0))}})},u=c.prototype,a=function(d){Object.defineProperty(u,d,{get:function(){return this._anchorElement[d]},set:function(h){this._anchorElement[d]=h},enumerable:!0})};["hash","host","hostname","port","protocol"].forEach(function(d){a(d)}),Object.defineProperty(u,"search",{get:function(){return this._anchorElement.search},set:function(d){this._anchorElement.search=d,this._updateSearchParams()},enumerable:!0}),Object.defineProperties(u,{toString:{get:function(){var d=this;return function(){return d.href}}},href:{get:function(){return this._anchorElement.href.replace(/\?$/,"")},set:function(d){this._anchorElement.href=d,this._updateSearchParams()},enumerable:!0},pathname:{get:function(){return this._anchorElement.pathname.replace(/(^\/?)/,"/")},set:function(d){this._anchorElement.pathname=d},enumerable:!0},origin:{get:function(){var d={"http:":80,"https:":443,"ftp:":21}[this._anchorElement.protocol],h=this._anchorElement.port!=d&&this._anchorElement.port!=="";return this._anchorElement.protocol+"//"+this._anchorElement.hostname+(h?":"+this._anchorElement.port:"")},enumerable:!0},password:{get:function(){return""},set:function(d){},enumerable:!0},username:{get:function(){return""},set:function(d){},enumerable:!0}}),c.createObjectURL=function(d){return r.createObjectURL.apply(r,arguments)},c.revokeObjectURL=function(d){return r.revokeObjectURL.apply(r,arguments)},t.URL=c};if(l()||s(),t.location!==void 0&&!("origin"in t.location)){var o=function(){return t.location.protocol+"//"+t.location.hostname+(t.location.port?":"+t.location.port:"")};try{Object.defineProperty(t.location,"origin",{get:o,enumerable:!0})}catch(r){setInterval(function(){t.location.origin=o()},100)}}}(typeof e.g!="undefined"?e.g:typeof window!="undefined"?window:typeof self!="undefined"?self:this)},83578:function(L){(function(n,e){L.exports=e()})(this,function(){function n(){}return n.prototype.encodeReserved=function(e){return e.split(/(%[0-9A-Fa-f]{2})/g).map(function(t){return/%[0-9A-Fa-f]/.test(t)||(t=encodeURI(t).replace(/%5B/g,"[").replace(/%5D/g,"]")),t}).join("")},n.prototype.encodeUnreserved=function(e){return encodeURIComponent(e).replace(/[!'()*]/g,function(t){return"%"+t.charCodeAt(0).toString(16).toUpperCase()})},n.prototype.encodeValue=function(e,t,l){return t=e==="+"||e==="#"?this.encodeReserved(t):this.encodeUnreserved(t),l?this.encodeUnreserved(l)+"="+t:t},n.prototype.isDefined=function(e){return e!=null},n.prototype.isKeyOperator=function(e){return e===";"||e==="&"||e==="?"},n.prototype.getValues=function(e,t,l,s){var o=e[l],r=[];if(this.isDefined(o)&&o!=="")if(typeof o=="string"||typeof o=="number"||typeof o=="boolean")o=o.toString(),s&&s!=="*"&&(o=o.substring(0,parseInt(s,10))),r.push(this.encodeValue(t,o,this.isKeyOperator(t)?l:null));else if(s==="*")Array.isArray(o)?o.filter(this.isDefined).forEach(function(u){r.push(this.encodeValue(t,u,this.isKeyOperator(t)?l:null))},this):Object.keys(o).forEach(function(u){this.isDefined(o[u])&&r.push(this.encodeValue(t,o[u],u))},this);else{var c=[];Array.isArray(o)?o.filter(this.isDefined).forEach(function(u){c.push(this.encodeValue(t,u))},this):Object.keys(o).forEach(function(u){this.isDefined(o[u])&&(c.push(this.encodeUnreserved(u)),c.push(this.encodeValue(t,o[u].toString())))},this),this.isKeyOperator(t)?r.push(this.encodeUnreserved(l)+"="+c.join(",")):c.length!==0&&r.push(c.join(","))}else t===";"?this.isDefined(o)&&r.push(this.encodeUnreserved(l)):o===""&&(t==="&"||t==="?")?r.push(this.encodeUnreserved(l)+"="):o===""&&r.push("");return r},n.prototype.parse=function(e){var t=this,l=["+","#",".","/",";","?","&"];return{expand:function(s){return e.replace(/\{([^\{\}]+)\}|([^\{\}]+)/g,function(o,r,c){if(r){var u=null,a=[];if(l.indexOf(r.charAt(0))!==-1&&(u=r.charAt(0),r=r.substr(1)),r.split(/,/g).forEach(function(h){var p=/([^:\*]*)(?::(\d+)|(\*))?/.exec(h);a.push.apply(a,t.getValues(s,u,p[1],p[2]||p[3]))}),u&&u!=="+"){var d=",";return u==="?"?d="&":u!=="#"&&(d=u),(a.length!==0?u:"")+a.join(d)}else return a.join(",")}else return t.encodeReserved(c)})}}},new n})},52511:function(L,n,e){L=e.nmd(L);var t;/*! https://mths.be/punycode v1.3.2 by @mathias */(function(l){var s=n&&!n.nodeType&&n,o=L&&!L.nodeType&&L,r=typeof e.g=="object"&&e.g;(r.global===r||r.window===r||r.self===r)&&(l=r);var c,u=2147483647,a=36,d=1,h=26,p=38,E=700,T=72,S=128,v="-",b=/^xn--/,m=/[^\x20-\x7E]/,y=/[\x2E\u3002\uFF0E\uFF61]/g,O={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},C=a-d,A=Math.floor,w=String.fromCharCode,x;function R(Q){throw RangeError(O[Q])}function g(Q,B){for(var J=Q.length,re=[];J--;)re[J]=B(Q[J]);return re}function k(Q,B){var J=Q.split("@"),re="";J.length>1&&(re=J[0]+"@",Q=J[1]),Q=Q.replace(y,".");var W=Q.split("."),V=g(W,B).join(".");return re+V}function G(Q){for(var B=[],J=0,re=Q.length,W,V;J<re;)W=Q.charCodeAt(J++),W>=55296&&W<=56319&&J<re?(V=Q.charCodeAt(J++),(V&64512)==56320?B.push(((W&1023)<<10)+(V&1023)+65536):(B.push(W),J--)):B.push(W);return B}function Z(Q){return g(Q,function(B){var J="";return B>65535&&(B-=65536,J+=w(B>>>10&1023|55296),B=56320|B&1023),J+=w(B),J}).join("")}function oe(Q){return Q-48<10?Q-22:Q-65<26?Q-65:Q-97<26?Q-97:a}function ee(Q,B){return Q+22+75*(Q<26)-((B!=0)<<5)}function Ee(Q,B,J){var re=0;for(Q=J?A(Q/E):Q>>1,Q+=A(Q/B);Q>C*h>>1;re+=a)Q=A(Q/C);return A(re+(C+1)*Q/(Q+p))}function Fe(Q){var B=[],J=Q.length,re,W=0,V=S,ae=T,pe,Se,De,nt,Me,_e,j,ue,Ce;for(pe=Q.lastIndexOf(v),pe<0&&(pe=0),Se=0;Se<pe;++Se)Q.charCodeAt(Se)>=128&&R("not-basic"),B.push(Q.charCodeAt(Se));for(De=pe>0?pe+1:0;De<J;){for(nt=W,Me=1,_e=a;De>=J&&R("invalid-input"),j=oe(Q.charCodeAt(De++)),(j>=a||j>A((u-W)/Me))&&R("overflow"),W+=j*Me,ue=_e<=ae?d:_e>=ae+h?h:_e-ae,!(j<ue);_e+=a)Ce=a-ue,Me>A(u/Ce)&&R("overflow"),Me*=Ce;re=B.length+1,ae=Ee(W-nt,re,nt==0),A(W/re)>u-V&&R("overflow"),V+=A(W/re),W%=re,B.splice(W++,0,V)}return Z(B)}function ce(Q){var B,J,re,W,V,ae,pe,Se,De,nt,Me,_e=[],j,ue,Ce,et;for(Q=G(Q),j=Q.length,B=S,J=0,V=T,ae=0;ae<j;++ae)Me=Q[ae],Me<128&&_e.push(w(Me));for(re=W=_e.length,W&&_e.push(v);re<j;){for(pe=u,ae=0;ae<j;++ae)Me=Q[ae],Me>=B&&Me<pe&&(pe=Me);for(ue=re+1,pe-B>A((u-J)/ue)&&R("overflow"),J+=(pe-B)*ue,B=pe,ae=0;ae<j;++ae)if(Me=Q[ae],Me<B&&++J>u&&R("overflow"),Me==B){for(Se=J,De=a;nt=De<=V?d:De>=V+h?h:De-V,!(Se<nt);De+=a)et=Se-nt,Ce=a-nt,_e.push(w(ee(nt+et%Ce,0))),Se=A(et/Ce);_e.push(w(ee(Se,0))),V=Ee(J,ue,re==W),J=0,++re}++J,++B}return _e.join("")}function te(Q){return k(Q,function(B){return b.test(B)?Fe(B.slice(4).toLowerCase()):B})}function he(Q){return k(Q,function(B){return m.test(B)?"xn--"+ce(B):B})}c={version:"1.3.2",ucs2:{decode:G,encode:Z},decode:Fe,encode:ce,toASCII:he,toUnicode:te},t=function(){return c}.call(n,e,n,L),t!==void 0&&(L.exports=t)})(this)},8575:(L,n,e)=>{"use strict";var t=e(52511),l=e(62502);n.parse=O,n.resolve=A,n.resolveObject=w,n.format=C,n.Url=s;function s(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}var o=/^([a-z0-9.+-]+:)/i,r=/:[0-9]*$/,c=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,u=["<",">",'"',"`"," ","\r",`
|
|
2980
2980
|
`," "],a=["{","}","|","\\","^","`"].concat(u),d=["'"].concat(a),h=["%","/","?",";","#"].concat(d),p=["/","?","#"],E=255,T=/^[+a-z0-9A-Z_-]{0,63}$/,S=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,v={javascript:!0,"javascript:":!0},b={javascript:!0,"javascript:":!0},m={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},y=e(17673);function O(x,R,g){if(x&&l.isObject(x)&&x instanceof s)return x;var k=new s;return k.parse(x,R,g),k}s.prototype.parse=function(x,R,g){if(!l.isString(x))throw new TypeError("Parameter 'url' must be a string, not "+typeof x);var k=x.indexOf("?"),G=k!==-1&&k<x.indexOf("#")?"?":"#",Z=x.split(G),oe=/\\/g;Z[0]=Z[0].replace(oe,"/"),x=Z.join(G);var ee=x;if(ee=ee.trim(),!g&&x.split("#").length===1){var Ee=c.exec(ee);if(Ee)return this.path=ee,this.href=ee,this.pathname=Ee[1],Ee[2]?(this.search=Ee[2],R?this.query=y.parse(this.search.substr(1)):this.query=this.search.substr(1)):R&&(this.search="",this.query={}),this}var Fe=o.exec(ee);if(Fe){Fe=Fe[0];var ce=Fe.toLowerCase();this.protocol=ce,ee=ee.substr(Fe.length)}if(g||Fe||ee.match(/^\/\/[^@\/]+@[^@\/]+/)){var te=ee.substr(0,2)==="//";te&&!(Fe&&b[Fe])&&(ee=ee.substr(2),this.slashes=!0)}if(!b[Fe]&&(te||Fe&&!m[Fe])){for(var he=-1,Q=0;Q<p.length;Q++){var B=ee.indexOf(p[Q]);B!==-1&&(he===-1||B<he)&&(he=B)}var J,re;he===-1?re=ee.lastIndexOf("@"):re=ee.lastIndexOf("@",he),re!==-1&&(J=ee.slice(0,re),ee=ee.slice(re+1),this.auth=decodeURIComponent(J)),he=-1;for(var Q=0;Q<h.length;Q++){var B=ee.indexOf(h[Q]);B!==-1&&(he===-1||B<he)&&(he=B)}he===-1&&(he=ee.length),this.host=ee.slice(0,he),ee=ee.slice(he),this.parseHost(),this.hostname=this.hostname||"";var W=this.hostname[0]==="["&&this.hostname[this.hostname.length-1]==="]";if(!W)for(var V=this.hostname.split(/\./),Q=0,ae=V.length;Q<ae;Q++){var pe=V[Q];if(!!pe&&!pe.match(T)){for(var Se="",De=0,nt=pe.length;De<nt;De++)pe.charCodeAt(De)>127?Se+="x":Se+=pe[De];if(!Se.match(T)){var Me=V.slice(0,Q),_e=V.slice(Q+1),j=pe.match(S);j&&(Me.push(j[1]),_e.unshift(j[2])),_e.length&&(ee="/"+_e.join(".")+ee),this.hostname=Me.join(".");break}}}this.hostname.length>E?this.hostname="":this.hostname=this.hostname.toLowerCase(),W||(this.hostname=t.toASCII(this.hostname));var ue=this.port?":"+this.port:"",Ce=this.hostname||"";this.host=Ce+ue,this.href+=this.host,W&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),ee[0]!=="/"&&(ee="/"+ee))}if(!v[ce])for(var Q=0,ae=d.length;Q<ae;Q++){var et=d[Q];if(ee.indexOf(et)!==-1){var Pe=encodeURIComponent(et);Pe===et&&(Pe=escape(et)),ee=ee.split(et).join(Pe)}}var X=ee.indexOf("#");X!==-1&&(this.hash=ee.substr(X),ee=ee.slice(0,X));var _=ee.indexOf("?");if(_!==-1?(this.search=ee.substr(_),this.query=ee.substr(_+1),R&&(this.query=y.parse(this.query)),ee=ee.slice(0,_)):R&&(this.search="",this.query={}),ee&&(this.pathname=ee),m[ce]&&this.hostname&&!this.pathname&&(this.pathname="/"),this.pathname||this.search){var ue=this.pathname||"",$=this.search||"";this.path=ue+$}return this.href=this.format(),this};function C(x){return l.isString(x)&&(x=O(x)),x instanceof s?x.format():s.prototype.format.call(x)}s.prototype.format=function(){var x=this.auth||"";x&&(x=encodeURIComponent(x),x=x.replace(/%3A/i,":"),x+="@");var R=this.protocol||"",g=this.pathname||"",k=this.hash||"",G=!1,Z="";this.host?G=x+this.host:this.hostname&&(G=x+(this.hostname.indexOf(":")===-1?this.hostname:"["+this.hostname+"]"),this.port&&(G+=":"+this.port)),this.query&&l.isObject(this.query)&&Object.keys(this.query).length&&(Z=y.stringify(this.query));var oe=this.search||Z&&"?"+Z||"";return R&&R.substr(-1)!==":"&&(R+=":"),this.slashes||(!R||m[R])&&G!==!1?(G="//"+(G||""),g&&g.charAt(0)!=="/"&&(g="/"+g)):G||(G=""),k&&k.charAt(0)!=="#"&&(k="#"+k),oe&&oe.charAt(0)!=="?"&&(oe="?"+oe),g=g.replace(/[?#]/g,function(ee){return encodeURIComponent(ee)}),oe=oe.replace("#","%23"),R+G+g+oe+k};function A(x,R){return O(x,!1,!0).resolve(R)}s.prototype.resolve=function(x){return this.resolveObject(O(x,!1,!0)).format()};function w(x,R){return x?O(x,!1,!0).resolveObject(R):R}s.prototype.resolveObject=function(x){if(l.isString(x)){var R=new s;R.parse(x,!1,!0),x=R}for(var g=new s,k=Object.keys(this),G=0;G<k.length;G++){var Z=k[G];g[Z]=this[Z]}if(g.hash=x.hash,x.href==="")return g.href=g.format(),g;if(x.slashes&&!x.protocol){for(var oe=Object.keys(x),ee=0;ee<oe.length;ee++){var Ee=oe[ee];Ee!=="protocol"&&(g[Ee]=x[Ee])}return m[g.protocol]&&g.hostname&&!g.pathname&&(g.path=g.pathname="/"),g.href=g.format(),g}if(x.protocol&&x.protocol!==g.protocol){if(!m[x.protocol]){for(var Fe=Object.keys(x),ce=0;ce<Fe.length;ce++){var te=Fe[ce];g[te]=x[te]}return g.href=g.format(),g}if(g.protocol=x.protocol,!x.host&&!b[x.protocol]){for(var ae=(x.pathname||"").split("/");ae.length&&!(x.host=ae.shift()););x.host||(x.host=""),x.hostname||(x.hostname=""),ae[0]!==""&&ae.unshift(""),ae.length<2&&ae.unshift(""),g.pathname=ae.join("/")}else g.pathname=x.pathname;if(g.search=x.search,g.query=x.query,g.host=x.host||"",g.auth=x.auth,g.hostname=x.hostname||x.host,g.port=x.port,g.pathname||g.search){var he=g.pathname||"",Q=g.search||"";g.path=he+Q}return g.slashes=g.slashes||x.slashes,g.href=g.format(),g}var B=g.pathname&&g.pathname.charAt(0)==="/",J=x.host||x.pathname&&x.pathname.charAt(0)==="/",re=J||B||g.host&&x.pathname,W=re,V=g.pathname&&g.pathname.split("/")||[],ae=x.pathname&&x.pathname.split("/")||[],pe=g.protocol&&!m[g.protocol];if(pe&&(g.hostname="",g.port=null,g.host&&(V[0]===""?V[0]=g.host:V.unshift(g.host)),g.host="",x.protocol&&(x.hostname=null,x.port=null,x.host&&(ae[0]===""?ae[0]=x.host:ae.unshift(x.host)),x.host=null),re=re&&(ae[0]===""||V[0]==="")),J)g.host=x.host||x.host===""?x.host:g.host,g.hostname=x.hostname||x.hostname===""?x.hostname:g.hostname,g.search=x.search,g.query=x.query,V=ae;else if(ae.length)V||(V=[]),V.pop(),V=V.concat(ae),g.search=x.search,g.query=x.query;else if(!l.isNullOrUndefined(x.search)){if(pe){g.hostname=g.host=V.shift();var Se=g.host&&g.host.indexOf("@")>0?g.host.split("@"):!1;Se&&(g.auth=Se.shift(),g.host=g.hostname=Se.shift())}return g.search=x.search,g.query=x.query,(!l.isNull(g.pathname)||!l.isNull(g.search))&&(g.path=(g.pathname?g.pathname:"")+(g.search?g.search:"")),g.href=g.format(),g}if(!V.length)return g.pathname=null,g.search?g.path="/"+g.search:g.path=null,g.href=g.format(),g;for(var De=V.slice(-1)[0],nt=(g.host||x.host||V.length>1)&&(De==="."||De==="..")||De==="",Me=0,_e=V.length;_e>=0;_e--)De=V[_e],De==="."?V.splice(_e,1):De===".."?(V.splice(_e,1),Me++):Me&&(V.splice(_e,1),Me--);if(!re&&!W)for(;Me--;Me)V.unshift("..");re&&V[0]!==""&&(!V[0]||V[0].charAt(0)!=="/")&&V.unshift(""),nt&&V.join("/").substr(-1)!=="/"&&V.push("");var j=V[0]===""||V[0]&&V[0].charAt(0)==="/";if(pe){g.hostname=g.host=j?"":V.length?V.shift():"";var Se=g.host&&g.host.indexOf("@")>0?g.host.split("@"):!1;Se&&(g.auth=Se.shift(),g.host=g.hostname=Se.shift())}return re=re||g.host&&V.length,re&&!j&&V.unshift(""),V.length?g.pathname=V.join("/"):(g.pathname=null,g.path=null),(!l.isNull(g.pathname)||!l.isNull(g.search))&&(g.path=(g.pathname?g.pathname:"")+(g.search?g.search:"")),g.auth=x.auth||g.auth,g.slashes=g.slashes||x.slashes,g.href=g.format(),g},s.prototype.parseHost=function(){var x=this.host,R=r.exec(x);R&&(R=R[0],R!==":"&&(this.port=R.substr(1)),x=x.substr(0,x.length-R.length)),x&&(this.hostname=x)}},62502:L=>{"use strict";L.exports={isString:function(n){return typeof n=="string"},isObject:function(n){return typeof n=="object"&&n!==null},isNull:function(n){return n===null},isNullOrUndefined:function(n){return n==null}}},91496:L=>{typeof Object.create=="function"?L.exports=function(e,t){e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})}:L.exports=function(e,t){e.super_=t;var l=function(){};l.prototype=t.prototype,e.prototype=new l,e.prototype.constructor=e}},20384:L=>{L.exports=function(e){return e&&typeof e=="object"&&typeof e.copy=="function"&&typeof e.fill=="function"&&typeof e.readUInt8=="function"}},89539:(L,n,e)=>{var t=Object.getOwnPropertyDescriptors||function(J){for(var re=Object.keys(J),W={},V=0;V<re.length;V++)W[re[V]]=Object.getOwnPropertyDescriptor(J,re[V]);return W},l=/%[sdj%]/g;n.format=function(B){if(!C(B)){for(var J=[],re=0;re<arguments.length;re++)J.push(r(arguments[re]));return J.join(" ")}for(var re=1,W=arguments,V=W.length,ae=String(B).replace(l,function(Se){if(Se==="%%")return"%";if(re>=V)return Se;switch(Se){case"%s":return String(W[re++]);case"%d":return Number(W[re++]);case"%j":try{return JSON.stringify(W[re++])}catch(De){return"[Circular]"}default:return Se}}),pe=W[re];re<V;pe=W[++re])m(pe)||!R(pe)?ae+=" "+pe:ae+=" "+r(pe);return ae},n.deprecate=function(B,J){if(typeof process!="undefined"&&process.noDeprecation===!0)return B;if(typeof process=="undefined")return function(){return n.deprecate(B,J).apply(this,arguments)};var re=!1;function W(){if(!re){if(process.throwDeprecation)throw new Error(J);process.traceDeprecation?console.trace(J):console.error(J),re=!0}return B.apply(this,arguments)}return W};var s={},o;n.debuglog=function(B){if(w(o)&&(o={}.NODE_DEBUG||""),B=B.toUpperCase(),!s[B])if(new RegExp("\\b"+B+"\\b","i").test(o)){var J=process.pid;s[B]=function(){var re=n.format.apply(n,arguments);console.error("%s %d: %s",B,J,re)}}else s[B]=function(){};return s[B]};function r(B,J){var re={seen:[],stylize:u};return arguments.length>=3&&(re.depth=arguments[2]),arguments.length>=4&&(re.colors=arguments[3]),b(J)?re.showHidden=J:J&&n._extend(re,J),w(re.showHidden)&&(re.showHidden=!1),w(re.depth)&&(re.depth=2),w(re.colors)&&(re.colors=!1),w(re.customInspect)&&(re.customInspect=!0),re.colors&&(re.stylize=c),d(re,B,re.depth)}n.inspect=r,r.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},r.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};function c(B,J){var re=r.styles[J];return re?"["+r.colors[re][0]+"m"+B+"["+r.colors[re][1]+"m":B}function u(B,J){return B}function a(B){var J={};return B.forEach(function(re,W){J[re]=!0}),J}function d(B,J,re){if(B.customInspect&&J&&G(J.inspect)&&J.inspect!==n.inspect&&!(J.constructor&&J.constructor.prototype===J)){var W=J.inspect(re,B);return C(W)||(W=d(B,W,re)),W}var V=h(B,J);if(V)return V;var ae=Object.keys(J),pe=a(ae);if(B.showHidden&&(ae=Object.getOwnPropertyNames(J)),k(J)&&(ae.indexOf("message")>=0||ae.indexOf("description")>=0))return p(J);if(ae.length===0){if(G(J)){var Se=J.name?": "+J.name:"";return B.stylize("[Function"+Se+"]","special")}if(x(J))return B.stylize(RegExp.prototype.toString.call(J),"regexp");if(g(J))return B.stylize(Date.prototype.toString.call(J),"date");if(k(J))return p(J)}var De="",nt=!1,Me=["{","}"];if(v(J)&&(nt=!0,Me=["[","]"]),G(J)){var _e=J.name?": "+J.name:"";De=" [Function"+_e+"]"}if(x(J)&&(De=" "+RegExp.prototype.toString.call(J)),g(J)&&(De=" "+Date.prototype.toUTCString.call(J)),k(J)&&(De=" "+p(J)),ae.length===0&&(!nt||J.length==0))return Me[0]+De+Me[1];if(re<0)return x(J)?B.stylize(RegExp.prototype.toString.call(J),"regexp"):B.stylize("[Object]","special");B.seen.push(J);var j;return nt?j=E(B,J,re,pe,ae):j=ae.map(function(ue){return T(B,J,re,pe,ue,nt)}),B.seen.pop(),S(j,De,Me)}function h(B,J){if(w(J))return B.stylize("undefined","undefined");if(C(J)){var re="'"+JSON.stringify(J).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return B.stylize(re,"string")}if(O(J))return B.stylize(""+J,"number");if(b(J))return B.stylize(""+J,"boolean");if(m(J))return B.stylize("null","null")}function p(B){return"["+Error.prototype.toString.call(B)+"]"}function E(B,J,re,W,V){for(var ae=[],pe=0,Se=J.length;pe<Se;++pe)ce(J,String(pe))?ae.push(T(B,J,re,W,String(pe),!0)):ae.push("");return V.forEach(function(De){De.match(/^\d+$/)||ae.push(T(B,J,re,W,De,!0))}),ae}function T(B,J,re,W,V,ae){var pe,Se,De;if(De=Object.getOwnPropertyDescriptor(J,V)||{value:J[V]},De.get?De.set?Se=B.stylize("[Getter/Setter]","special"):Se=B.stylize("[Getter]","special"):De.set&&(Se=B.stylize("[Setter]","special")),ce(W,V)||(pe="["+V+"]"),Se||(B.seen.indexOf(De.value)<0?(m(re)?Se=d(B,De.value,null):Se=d(B,De.value,re-1),Se.indexOf(`
|
|
2981
2981
|
`)>-1&&(ae?Se=Se.split(`
|
|
2982
2982
|
`).map(function(nt){return" "+nt}).join(`
|
|
@@ -2990,7 +2990,7 @@ Add a <Suspense fallback=...> component higher in the tree to provide a loading
|
|
|
2990
2990
|
* Redocly Reference Docs
|
|
2991
2991
|
* (c) Copyright 2018 Redocly LLC, all rights reserved.
|
|
2992
2992
|
* -------------------------------------------------------------
|
|
2993
|
-
* Version: "2.
|
|
2993
|
+
* Version: "2.44.0"
|
|
2994
2994
|
*/(()=>{var Y={336:(x,E,T)=>{var j,C;/**
|
|
2995
2995
|
* lunr - http://lunrjs.com - A bit like Solr, but much smaller and not as bright - 2.3.9
|
|
2996
2996
|
* Copyright (C) 2020 Oliver Nightingale
|
|
@@ -3099,9 +3099,9 @@ Add a <Suspense fallback=...> component higher in the tree to provide a loading
|
|
|
3099
3099
|
width: 100%;
|
|
3100
3100
|
`,Z=(0,v.styled)(v.MiddlePanel)`
|
|
3101
3101
|
${({theme:D})=>(0,v.mediaCSS)({paddingLeft:D.spacing.sectionHorizontal,paddingRight:D.spacing.sectionHorizontal,width:{[v.ZERO_BREAKPOINT]:"100%",[D.rightPanel.showAtBreakpoint]:"100%"}})}
|
|
3102
|
-
`;var oe=nn(67294);class ee extends T.Component{render(){const{store:M,pointer:z,hideSamples:ge}=this.props,
|
|
3102
|
+
`;var oe=nn(67294);class ee extends T.Component{render(){const{store:M,pointer:z,hideSamples:ge}=this.props,Ae=new g.OperationModel(M.definition.parser,{pointer:z,pathName:"",httpVerb:"",pathParameters:[],pathServers:[],isWebhook:!1,responses:{}},void 0,M.options,!1),Ve=new v.ResponseModel({parser:M.definition.parser,code:"default",defaultAsError:!1,infoOrRef:{$ref:z},options:M.options,operation:Ae});Ve.description=Ve.summary;const ct=ge?Z:v.MiddlePanel;return oe.createElement(v.Row,{layout:M.layout},oe.createElement(ct,{style:{paddingBottom:"20px"}},oe.createElement(v.ResponseDetails,{response:Ve})),!ge&&Ve.content&&oe.createElement(v.RightPanel,null,oe.createElement(k,null,oe.createElement(v.PayloadSamples,{content:Ve.content})))||oe.createElement("span",null))}}var Ee=nn(67294);class Fe extends null{render(){const{store:M,pointer:z,schema:ge}=this.props,Ae=ge||{$ref:z},Ve=new SchemaModel(M.definition.parser,Ae,z||"",M.options);return Ee.createElement(Row,null,Ee.createElement(FullWidthPanel,null,Ee.createElement(Schema,{schema:Ve})))}}var ce=nn(67294);class te extends null{render(){const{store:M,pointer:z,mimeType:ge,encoding:Ae}=this.props,Ve=new ExampleModel(M.definition.parser,{$ref:z},ge,Ae);return ce.createElement(Row,{layout:M.layout},ce.createElement(ExamplesWrap,null,ce.createElement(Example,{example:Ve,mimeType:ge})))}}var he=nn(67294);class Q extends null{render(){const{store:M,pointer:z,hideSamples:ge}=this.props,Ae=new OperationModel(M.definition.parser,{pointer:z,pathName:"",httpVerb:"",pathParameters:[],pathServers:[],isWebhook:!1,responses:{}},void 0,M.options,!1),{content:Ve,description:ct,required:vt}=new RequestBodyModel({parser:M.definition.parser,infoOrRef:{$ref:z},options:M.options,operation:Ae})||{},_t=ge?FullWidthPanel:MiddlePanel;return he.createElement(Row,{layout:M.layout},he.createElement(_t,null,Ve&&he.createElement(BodyContent,{content:Ve,description:ct,required:vt})),!ge&&he.createElement(RightPanel,null,he.createElement(SamplesWrap,null,Ve&&he.createElement(PayloadSamples,{content:Ve})))||he.createElement("span",null))}}var B=nn(25446),J=nn(43398),re=nn(10519),W=nn(63909),V=nn(55808),ae=nn(23485),pe=nn(78412),Se=nn(67294);class De extends T.PureComponent{render(){return this.props.securitySchemes.schemes.map(M=>Se.createElement(J.$0,{id:M.sectionId,sectionId:M.sectionId,key:M.id},Se.createElement(J.X2,null,Se.createElement(J.yX,null,Se.createElement(J.H2,null,Se.createElement(J.Bf,{to:M.sectionId}),M.id),Se.createElement(nt,{source:M.description||""}),Se.createElement(W.StyledMarkdownBlock,null,Se.createElement("div",{className:"security-details"},Se.createElement("div",null,Se.createElement("b",null,"Security Scheme Type: "),Se.createElement("span",null,pe.bf[M.type]||M.type)),M.apiKey?Se.createElement("div",null,Se.createElement("b",null,(0,re.MI)(M.apiKey.in||"")," parameter name: "),Se.createElement("span",null,M.apiKey.name)):M.http?[Se.createElement("div",{key:"scheme"},Se.createElement("b",null,"HTTP Authorization Scheme "),Se.createElement("span",null,M.http.scheme)),M.http.scheme==="bearer"&&M.http.bearerFormat&&Se.createElement("div",{key:"bearer"},Se.createElement("b",null,"Bearer format: "),Se.createElement("span",null,'"',M.http.bearerFormat,'"'))]:M.openId?Se.createElement("div",null,Se.createElement("b",null,"Connect URL:"),Se.createElement("a",{target:"_blank",rel:"noopener noreferrer",href:M.openId.connectUrl},M.openId.connectUrl)):M.flows?Object.keys(M.flows).map(z=>Se.createElement(V.C,{key:z,type:z,flow:M.flows[z]})):null))))))}}const nt=(0,ae.ZP)(W.UG)`
|
|
3103
3103
|
margin-bottom: 1em;
|
|
3104
|
-
`;var Me=nn(49376),_e=nn(26729),j=nn.n(_e),ue=nn(61388),Ce=Object.defineProperty,et=Object.getOwnPropertyDescriptor,Pe=(D,M,z)=>M in D?Ce(D,M,{enumerable:!0,configurable:!0,writable:!0,value:z}):D[M]=z,X=(D,M,z,ge)=>{for(var Re=ge>1?void 0:ge?et(M,z):M,We=D.length-1,ct;We>=0;We--)(ct=D[We])&&(Re=(ge?ct(M,z,Re):ct(Re))||Re);return ge&&Re&&Ce(M,z,Re),Re},_=(D,M,z)=>(Pe(D,typeof M!="symbol"?M+"":M,z),z);class ${constructor(M,z){this.options=M,this.multispec=z,_(this,"_emiter"),_(this,"basePath"),_(this,"markdownItemsPagination"),_(this,"pagination"),_(this,"emit",()=>{this._emiter.emit("popstate",this.currentId)});const ge=M.routingBasePath;this.markdownItemsPagination=M.markdownItemsPagination,this.pagination=M.pagination,this.basePath=ge.endsWith("/")?ge.substring(0,ge.length-1):ge,this.basePath.startsWith("/")&&(this.basePath=this.basePath.substring(1)),this._emiter=new(j()),this.bind()}get currentId(){if(!v.IS_BROWSER)return"";const M=decodeURIComponent(window.location.hash.substr(1));let z=window.location.pathname.substring(1);return z.startsWith(this.basePath+"/")&&(z=z.substring(this.basePath.length+1)),z.endsWith("/")&&(z=z.substring(0,z.length-1)),(M==null?void 0:M.startsWith("section/"))||(M==null?void 0:M.startsWith("operation/"))?(0,ue.mi)(z,M):z?this.pagination==="item"&&M.startsWith(this.options.deepLinkPrefix)?(0,ue.mi)(z,M,this.options.deepLinkPrefix):(0,ue.mi)(z,M):M}makeUrl(M,z){let ge="";v.IS_BROWSER&&(ge=window.location.search);let Re;return M.startsWith("/")?Re="/"+(0,ue.mi)(this.basePath,M.substring(1),"/"):Re=M,Re+ge?(0,ue.mi)(Re+ge,z,"#"):"#"+z}generateDeepLink(M,z){if(!z)return null;const ge=this.options.pagination==="item"?"#":"";return z+ge+this.options.deepLinkPrefix+M}linkForId(M=""){if(M==="")return this.makeUrl("/","");let z="";if(this.multispec&&(z="/"+M.split("/")[0],M=M.split("/").slice(1).join("/")),M.startsWith("operation/"))if(this.multispec&&v.IS_BROWSER){let We=window.location.pathname.substring(1);We.startsWith(this.basePath)&&(We=We.substring(this.basePath.length),We.startsWith("/")&&(We=We.substring(1)));const ct="/"+We.split("/")[0];return z===ct?this.makeUrl("",M):this.makeUrl(We.replace(ct,z),M)}else return this.makeUrl("",M);let ge=z,Re="";if(M.startsWith("section/")||!M){const[,We]=(M||"").split("/");We&&this.markdownItemsPagination==="section"?(ge=z+"/section/"+We,Re=M):(ge=z+"/",Re=M)}if(M.startsWith("group/")){const We=M.match(/group\/(.*)\/(paths\/.*\/\w+|operation\/[^/]*)/);if(We){const ct=We[1];ge=z+"/group/"+ct,Re=We[2]||""}else ge=z+"/"+M,Re=""}if(this.pagination==="section"&&M.startsWith("tag/")){const We=M.split("/");ge=z+"/"+We.slice(0,2).join("/"),Re=We.slice(2).join("/")}if(this.pagination==="item"&&M.startsWith("tag/")){ge=z+"/"+M;const We=M.split("/");We[2]==="section"&&(ge=z+"/"+We.slice(0,2).join("/"),Re=We.slice(2).join("/"))}return this.makeUrl(ge,Re)}subscribe(M){const z=this._emiter.addListener("popstate",M);return()=>z.removeListener("popstate",M)}bind(){v.IS_BROWSER&&window.addEventListener("popstate",this.emit,!1)}dispose(){v.IS_BROWSER&&window.removeEventListener("popstate",this.emit)}replace(M,z=!1){if(z)return this.replaceDebounced(M);this.replaceNow(M,z)}replaceForField(M,z=!1){if(!v.IS_BROWSER||!M)return;const ge=We=>{z&&window.history.replaceState(null,"",We),window.history.pushState(null,"",We)},Re=new URL(M,window.location.href);ge(Re),this.emit()}replaceNow(M,z=!1){if(!v.IS_BROWSER||M==null||(0,ue.he)(M,this.currentId))return;const ge=new URL(this.linkForId(M),window.location.href);if(z){v.IS_BROWSER&&window.history.replaceState(null,"",ge.href);return}v.IS_BROWSER&&(window.history.pushState(null,"",ge.href),this.emit())}replaceDebounced(M){return this.replaceNow(M,!0)}}X([y.bind],$.prototype,"replace",1),X([y.bind],$.prototype,"replaceForField",1),X([y.bind,y.debounce],$.prototype,"replaceDebounced",1);var H=Object.defineProperty,I=Object.getOwnPropertyDescriptor,ve=(D,M,z)=>M in D?H(D,M,{enumerable:!0,configurable:!0,writable:!0,value:z}):D[M]=z,$e=(D,M,z,ge)=>{for(var Re=ge>1?void 0:ge?I(M,z):M,We=D.length-1,ct;We>=0;We--)(ct=D[We])&&(Re=(ge?ct(M,z,Re):ct(Re))||Re);return ge&&Re&&H(M,z,Re),Re},be=(D,M,z)=>(ve(D,typeof M!="symbol"?M+"":M,z),z);class Te{constructor(M,z){this.options=M,this.multiSpec=z,be(this,"_emiter"),be(this,"basePath"),be(this,"emit",()=>{this._emiter.emit("popstate",this.currentId)});const ge=M.routingBasePath||"";this.basePath=ge.endsWith("/")?ge.substring(0,ge.length-1):ge,this.basePath.startsWith("/")&&(this.basePath=this.basePath.substring(1)),this._emiter=new(j()),this.bind()}get currentId(){if(!v.IS_BROWSER)return"";const M=decodeURIComponent(window.location.hash.substr(1));let z=window.location.pathname.substring(1);if(z.startsWith(this.basePath+(this.basePath.endsWith(".html")?"":"/"))&&(z=z.substring(this.basePath.length+1)),z.endsWith("/")&&(z=z.substring(0,z.length-1)),M.startsWith("operation/")||(M==null?void 0:M.startsWith("section/"))){if(this.multiSpec){const[ge]=z.split("/");return(0,ue.mi)(ge,M)}return M}return z?(0,ue.mi)(z,M):M}makeUrl(M,z){let ge="";v.IS_BROWSER&&(ge=window.location.search);let Re;return M.startsWith("/")?Re="/"+(this.basePath?this.basePath+"/":"")+M.substring(1):Re=M,Re+ge+(z?"#"+z:"")}linkForId(M){if(!M)return"";if(M==="")return this.makeUrl("","");let z="";return this.multiSpec&&(z="/"+M.split("/")[0],M=M.split("/").slice(1).join("/")),this.makeUrl(z,M)}generateDeepLink(M,z){if(!!z)return z+this.options.deepLinkPrefix+M}subscribe(M){const z=this._emiter.addListener("popstate",M);return()=>z.removeListener("popstate",M)}bind(){v.IS_BROWSER&&(window.addEventListener("popstate",this.emit,!1),window.addEventListener("hashchange",this.emit,!1))}dispose(){v.IS_BROWSER&&(window.removeEventListener("popstate",this.emit),window.removeEventListener("hashchange",this.emit))}replace(M,z=!1){if(z)return this.replaceDebounced(M);this.replaceNow(M,z)}replaceForField(M,z=!1){if(!v.IS_BROWSER||!M)return;const ge=We=>{z?window.history.replaceState(null,"",We):(window.history.pushState(null,"",We),this.emit())},Re=new URL(M,window.location.href);ge(Re)}replaceNow(M,z=!1){if(!v.IS_BROWSER||M==null||(0,ue.he)(M,this.currentId))return;const ge=new URL(this.linkForId(M),window.location.href);if(z){v.IS_BROWSER&&window.history.replaceState(null,"",ge.href);return}v.IS_BROWSER&&(window.history.pushState(null,"",ge.href),this.emit())}replaceDebounced(M){return this.replaceNow(M,!0)}}$e([y.bind],Te.prototype,"replace",1),$e([y.bind],Te.prototype,"replaceForField",1),$e([y.bind,y.debounce],Te.prototype,"replaceDebounced",1);var Le=Object.defineProperty,ke=Object.getOwnPropertyDescriptor,at=(D,M,z)=>M in D?Le(D,M,{enumerable:!0,configurable:!0,writable:!0,value:z}):D[M]=z,xt=(D,M,z,ge)=>{for(var Re=ge>1?void 0:ge?ke(M,z):M,We=D.length-1,ct;We>=0;We--)(ct=D[We])&&(Re=(ge?ct(M,z,Re):ct(Re))||Re);return ge&&Re&&Le(M,z,Re),Re},qe=(D,M,z)=>(at(D,typeof M!="symbol"?M+"":M,z),z);const q="itemchange";class ne{constructor(M){this.options=M,qe(this,"_emitter",new(j())),qe(this,"basePath"),qe(this,"currentId",""),qe(this,"emit",()=>{this._emitter.emit(q,this.currentId)}),this.bind()}linkForId(M){return this.options.linkForId?this.options.linkForId(M):""}generateDeepLink(M,z){return M&&this.options.generateDeepLink?this.options.generateDeepLink(M,z):null}subscribe(M){const z=this._emitter.addListener(q,M);return()=>z.removeListener(q,M)}bind(){}dispose(){}replace(M,z=!1){}replaceForField(M,z=!1){this.currentId=(M||"").replace(/^#/,""),this.emit()}replaceNow(M,z=!1){}replaceDebounced(M){}}xt([y.bind],ne.prototype,"replace",1),xt([y.bind],ne.prototype,"replaceForField",1),xt([y.bind,y.debounce],ne.prototype,"replaceDebounced",1);var ie=nn(13303),K=nn(94487),we=Object.defineProperty,He=Object.getOwnPropertyDescriptor,Je=(D,M,z)=>M in D?we(D,M,{enumerable:!0,configurable:!0,writable:!0,value:z}):D[M]=z,ft=(D,M,z,ge)=>{for(var Re=ge>1?void 0:ge?He(M,z):M,We=D.length-1,ct;We>=0;We--)(ct=D[We])&&(Re=(ge?ct(M,z,Re):ct(Re))||Re);return ge&&Re&&we(M,z,Re),Re},At=(D,M,z)=>(Je(D,typeof M!="symbol"?M+"":M,z),z);function Lt(D,M,z){D.forEach(ge=>{if(ge.items&&Lt(ge.items,M,z),ge.id=z+"/"+ge.id,ge.type==="operation"){ge.specIdx=M;for(const Re of ge.security)for(const We of Re.schemes)We.sectionId=z+"/"+We.sectionId}})}class Yt{constructor(M,z,ge){if(this.config=M,this.options=z,At(this,"versions"),At(this,"activeVersionIdx",-1),(0,b.rC)(this),this.versions=[],!M.versions)return;let Re=0,We=0;for(const ct of M.versions||[]){ct.isDefault&&(We=Re);const vt=new v.SpecStore(ct.spec,void 0,z);this.versions.push(vt),Lt(vt.contentItems,Re,ct.id);for(const _t of vt.securitySchemes.schemes)_t.sectionId=ct.id+"/"+_t.sectionId;ct.id===ge&&(this.activeVersionIdx=Re),Re++,ct._searchIndexName&&(vt._searchIndexName=ct._searchIndexName)}this.activeVersionIdx===-1&&(this.activeVersionIdx=We),M.versions[We].isDefault=!0}get versionsInfo(){return this.config.versions||[]}get currentVersionId(){return this.versionsInfo[this.activeVersionIdx]&&this.versionsInfo[this.activeVersionIdx].id}get contentItems(){return this.versions[this.activeVersionIdx].contentItems}get securitySchemes(){return this.versions[this.activeVersionIdx].securitySchemes}get externalDocs(){return this.versions[this.activeVersionIdx].externalDocs}get parser(){return this.versions[this.activeVersionIdx].parser}get info(){return this.versions[this.activeVersionIdx].info}changeVersion(M){this.activeVersionIdx=M}toJS(){return this.config}}ft([b.LO],Yt.prototype,"activeVersionIdx",2),ft([b.aD],Yt.prototype,"changeVersion",1);var Vt=Object.defineProperty,ze=Object.defineProperties,dt=Object.getOwnPropertyDescriptor,bt=Object.getOwnPropertyDescriptors,pt=Object.getOwnPropertySymbols,Ct=Object.prototype.hasOwnProperty,$t=Object.prototype.propertyIsEnumerable,dn=(D,M,z)=>M in D?Vt(D,M,{enumerable:!0,configurable:!0,writable:!0,value:z}):D[M]=z,un=(D,M)=>{for(var z in M||(M={}))Ct.call(M,z)&&dn(D,z,M[z]);if(pt)for(var z of pt(M))$t.call(M,z)&&dn(D,z,M[z]);return D},Cn=(D,M)=>ze(D,bt(M)),Ke=(D,M,z,ge)=>{for(var Re=ge>1?void 0:ge?dt(M,z):M,We=D.length-1,ct;We>=0;We--)(ct=D[We])&&(Re=(ge?ct(M,z,Re):ct(Re))||Re);return ge&&Re&&Vt(M,z,Re),Re},Be=(D,M,z)=>(dn(D,typeof M!="symbol"?M+"":M,z),z);class it{constructor(M,z,ge,Re){this.definition=M,this.scroll=z,this.options=ge,this.history=Re,Be(this,"flatItems"),Be(this,"items"),Be(this,"activeRenderItemIdx",-1),Be(this,"renderItems",[]),Be(this,"activeItemIdx",-1),Be(this,"sideBarOpened",!1),Be(this,"_unsubscribe"),Be(this,"_hashUnsubscribe"),Be(this,"getItemById",We=>this.flatItems.find(ct=>ct.id===We)),Be(this,"initOnHistory",(We=this.history.currentId)=>{const[ct]=We.split(this.options.deepLinkPrefix);if(!ct)return;const vt=this.flatItems.find(_t=>_t.id===ct);vt&&(this.activate(vt,!1,!1,!1,We),vt.active=!1)}),Be(this,"updateOnHistory",(We=this.history.currentId)=>{const[ct]=We.split(this.options.deepLinkPrefix);if(!ct)return;const vt=this.flatItems.find(_t=>_t.id===ct);vt?this.activateAndScroll(vt,!1,void 0,We):(this.scroll.prevOffsetY=0,this.scroll.scrollIntoViewBySelector(`[${ie.Ee}="${(0,v.escapeHTMLAttrChars)(ct)}"]`))}),Be(this,"updateVersionOnHistory",We=>{if(!("versionsInfo"in this.definition))return;const[ct]=We.split("/");let vt=this.definition.versionsInfo.findIndex(_t=>_t.id===ct);vt<0&&(vt=this.definition.versionsInfo.findIndex(_t=>_t.isDefault)),this.definition.activeVersionIdx!==vt&&(this.definition.changeVersion(vt<0?0:vt),this.updateItemsByVersionChange(!1,We))}),Be(this,"updateOnScroll",We=>{const ct=We?1:-1;let vt=this.activeItemIdx;for(;!(vt===-1&&!We||vt>=this.flatItems.length-1&&We);){if(We){let Sn=!1;const Wn=this.flatItems[vt+1];switch(this.options.pagination){case"section":Sn=Wn&&(Wn.type==="spec"||Wn.type==="group"||Wn.type==="tag");break;case"item":Sn=(Wn==null?void 0:Wn.type)!=="section";break}const tr=this.getElementAt(vt+1);if(vt===-1&&this.flatItems[0].type==="tag"&&(Sn=!1),this.scroll.isElementBellow(tr)||Sn)break}else{const Sn=this.flatItems[vt]&&this.flatItems[vt].type,Wn=this.options.pagination==="section"&&(Sn==="spec"||Sn==="group"||Sn==="tag")||this.options.pagination==="item"&&Sn!=="section",tr=this.getElementAt(vt);if(!tr||this.scroll.isElementAbove(tr)||Wn)break}vt+=ct}const _t=this.flatItems[vt];this.options.pagination==="none"||this.options.pagination==="section"?(!_t||!_t.active)&&this.activate(_t,!0,!0,!1):_t&&_t.type==="section"&&(_t.active||this.activate(_t,!0,!0,!1))}),(0,b.rC)(this),this.items=M.contentItems,this.flatItems=(0,v.flattenByProp)(this.items||[],"items"),this.flatItems.forEach((We,ct)=>We.absoluteIdx=ct),ge.disableSidebar||this.subscribe(),this.flatItems.forEach((We,ct)=>Dn(We,ct,ge.pagination,this.definition instanceof Yt,this.history)),this.renderItems=this.buildRenderItems(0),this.activeItemIdx=-1,this.activeRenderItemIdx=-1,this.definition instanceof Yt&&this.history.subscribe(this.updateVersionOnHistory)}static updateOnHistory(M=K.m.currentId,z){!M||z.scrollIntoViewBySelector(`[${ie.Ee}="${(0,v.escapeHTMLAttrChars)(M)}"]`)}subscribe(){this._unsubscribe=this.scroll.subscribe(this.updateOnScroll),this._hashUnsubscribe=this.history.subscribe(this.updateOnHistory)}toggleSidebar(){this.sideBarOpened=!this.sideBarOpened}closeSidebar(){this.sideBarOpened=!1}getElementAt(M){const z=this.flatItems[M];return z&&(0,v.querySelector)(`[${ie.Ee}="${(0,v.escapeHTMLAttrChars)(z.id)}"]`)||null}getElementAtOrFirstChild(M){let z=this.flatItems[M];return z&&z.type==="group"&&(z=z.items[0]),z&&(0,v.querySelector)(`[${ie.Ee}="${(0,v.escapeHTMLAttrChars)(z.id)}"]`)||null}get activeItem(){return this.flatItems[this.activeItemIdx]||void 0}updateItemsByVersionChange(M,z){if(!("versionsInfo"in this.definition))return;const ge=this.activeItem&&this.activeItem.active?this.activeItem.absoluteIdx:-1;z=z&&Et(z)||this.activeItem&&this.activeItem.active&&Et(this.activeItem.id)||"",this.deactivate(this.activeItem),this.items=this.definition.contentItems,this.flatItems=(0,v.flattenByProp)(this.items||[],"items"),this.flatItems.forEach((We,ct)=>Dn(We,ct,this.options.pagination,this.definition instanceof Yt,this.history));const Re=z?(this.flatItems.find(We=>Et(We.id)===z)||{absoluteIdx:-1}).absoluteIdx:-1;if((Re===-1||this.options.pagination==="none")&&(this.renderItems=this.buildRenderItems(0)),this.activeItemIdx=-1,Re!==-1)this.activate(this.flatItems[Re],M);else if(ge!==-1)this.activateAndScroll(this.flatItems[0],M);else if(M){const We=this.definition.versionsInfo[this.definition.activeVersionIdx];if(!this.history.currentId&&We.isDefault)return;this.history.replace(We.id)}}buildRenderItems(M){if(this.options.pagination==="none")return this.items;let z=this.flatItems[M];if(z||(z=this.flatItems[0]),z.type==="spec")return this.buildRenderItems(M+1);if(z.type==="section"){const ge=[],Re=cn(z,"tag");if(this.options.pagination==="section"&&Re)return[Re];if(this.options.pagination==="item"&&Re)return[Cn(un({},Re),{items:Mn(Re)})];const We=Ot(z),ct=(We==null?void 0:We.items)||this.items;for(let vt=0;vt<ct.length&&ct[vt].type==="section";vt++)ge.push(ct[vt]);return ge}switch(this.options.pagination){case"section":{if((z.type==="operation"||z.type==="schema")&&z.parent)return[z.parent];if(z.type!=="group")return[z]}case"item":return z.type==="operation"||z.type==="schema"?[z]:[Cn(un({},z),{items:Mn(z)})];default:return[]}}activateBase(M,z=!0,ge=!1,Re){var We,ct,vt,_t,Sn;if(((We=this.activeItem)==null?void 0:We.id)===(M==null?void 0:M.id)&&!Re){z&&M&&this.history.replace(encodeURI(M.id),ge),M&&!M.active&&M.activate();return}if(M&&M.type==="group")return;if(this.deactivate(this.activeItem),!M){this.history.replace("",ge);return}if(M.depth<=v.GROUP_DEPTH)return;this.activeItemIdx=M.absoluteIdx,z&&this.history.replace(encodeURI(M.id),ge),M.activate(),M.expand();const Wn=new URLSearchParams(Re),tr=Wn.get("t")==="request",F=Wn.get("t")==="response",me=Wn.get("c"),Ne=Wn.get("ct"),Bt=Wn.get("in"),Qt=Wn.get("path"),Wt=(Qt==null?void 0:Qt.split(this.options.deepLinkSeparator))||[],Ht=M;if(Bt){let Rt=Ht.parameters;for(const Tt of Wt){const mt=Rt==null?void 0:Rt.find(Xt=>Xt.name===Tt);mt==null||mt.expand(),Rt=(ct=mt==null?void 0:mt.schema)==null?void 0:ct.fields}}else if(tr){const Rt=(vt=Ht.requestBody)==null?void 0:vt.content;(_t=Ht.activateMimeName)==null||_t.call(Ht,Ne||Ht.activeMimeName),setTimeout(()=>{var Tt;return this.activateField(Wt,(Tt=Rt==null?void 0:Rt.active)==null?void 0:Tt.schema)},0)}else if(F){const Rt=Ht.responses.find(Tt=>Tt.code===me);(Rt==null?void 0:Rt.expanded)||Rt==null||Rt.expand(),(Sn=Ht.activateMimeName)==null||Sn.call(Ht,Ne||Ht.activeMimeName),setTimeout(()=>{var Tt,mt;return this.activateField(Wt,(mt=(Tt=Rt==null?void 0:Rt.content)==null?void 0:Tt.active)==null?void 0:mt.schema)},0)}}activate(M,z=!0,ge=!1,Re=!0,We){if(this.options.pagination==="none"){this.activateBase(M,z,ge,We),!M&&this.definition instanceof Yt&&this.history.replace(this.definition.currentVersionId,!0);return}if((M==null?void 0:M.type)!=="group"){if(M&&this.options.pagination==="item"&&M.type==="tag"&&!M.description)if(M.expanded){M.collapse();return}else M.expand(),M=this.flatItems[M.absoluteIdx+1];if(this.activateBase(M,M&&z,ge,We),this.activeRenderItemIdx=M?M.absoluteIdx:this.activeRenderItemIdx,this.activeRenderItemIdx>=0){const ct=this.buildRenderItems(this.activeRenderItemIdx);ct.some((vt,_t)=>vt.id!==this.renderItems[_t].id)&&(this.renderItems=ct),this.renderItems[0]&&(this.activeRenderItemIdx=this.renderItems[0].absoluteIdx)}Re&&setTimeout(()=>this.scrollToActive()),!M&&this.definition instanceof Yt&&this.history.replace(this.definition.currentVersionId,!0)}}activateField(M,z){var ge;for(let Re=0;Re<M.length-1;Re++){const We=M[Re],ct=Re===M.length-1;if((z==null?void 0:z.hasType("array"))&&(z==null?void 0:z.items)&&(z=z==null?void 0:z.items),z==null?void 0:z.oneOf){const _t=Number(We);if(isNaN(_t))return;z==null||z.activateOneOf(_t),z=z==null?void 0:z.oneOf[_t];continue}(z==null?void 0:z.hasType("array"))&&(z==null?void 0:z.items)&&(z=z==null?void 0:z.items);const vt=(ge=z==null?void 0:z.fields)==null?void 0:ge.find(_t=>_t.name===We);ct||vt==null||vt.expand(),z=vt==null?void 0:vt.schema}}deactivate(M){if(M!==void 0)for(M.deactivate();M!==void 0;)M.collapse(),M=M.parent}activateAndScroll(M,z,ge,Re=""){const We=Re.lastIndexOf(this.options.deepLinkPrefix),ct=We!==-1?Re.substring(We+1):Re,vt=M&&this.getItemById(M.id)||M;this.activate(vt,z,ge,!1,ct),this.scrollToActive(ct?Re:""),(!vt||!vt.items.length)&&this.closeSidebar()}scrollToActive(M){M?setTimeout(()=>this.scroll.scrollIntoViewBySelector(`[${ie.Ee}="${(0,v.escapeHTMLAttrChars)(M)}"]`),0):this.scroll.scrollIntoView(this.getElementAt(this.activeItemIdx))}dispose(){var M,z;(M=this._unsubscribe)==null||M.call(this),(z=this._hashUnsubscribe)==null||z.call(this)}}Ke([b.LO],it.prototype,"flatItems",2),Ke([b.LO],it.prototype,"items",2),Ke([b.LO],it.prototype,"activeRenderItemIdx",2),Ke([b.LO.ref],it.prototype,"renderItems",2),Ke([b.LO],it.prototype,"activeItemIdx",2),Ke([b.LO],it.prototype,"sideBarOpened",2),Ke([b.aD],it.prototype,"toggleSidebar",1),Ke([b.aD],it.prototype,"closeSidebar",1),Ke([b.aD],it.prototype,"activateBase",1),Ke([b.aD],it.prototype,"activate",1),Ke([b.aD.bound],it.prototype,"activateAndScroll",1);function Et(D){return D.split("/").slice(1).join("/")}function Ot(D){for(;D;){if(D.type==="spec")return D;D=D.parent}}function cn(D,M){if(!(!D||!D.parent))return D.parent.type===M?D.parent:cn(D.parent,M)}function Mn(D){const M=[];for(const z of D.items){if(z.type!=="section")break;M.push(z)}return M}function Dn(D,M,z,ge,Re){if(D.absoluteIdx=M,z!=="none"){const We=cn(D,"tag");if(D.parent&&We&&!("_id_normalized"in D)){if(ge){const[ct,vt]=D.id.split("/"),_t=Et(D.id);if(D.type==="operation"&&!vt.startsWith("operation"))return;D.id=ct+"/"+Et(We.id)+"/"+_t}else{if(D.type==="operation"&&!D.id.startsWith("operation"))return;D.id=We.id+"/"+D.id}D._id_normalized=!0}}D.type!=="group"&&(D.href=Re.linkForId(D.id))}var Rn=Object.defineProperty,Gn=(D,M,z)=>M in D?Rn(D,M,{enumerable:!0,configurable:!0,writable:!0,value:z}):D[M]=z,Pn=(D,M,z)=>(Gn(D,typeof M!="symbol"?M+"":M,z),z),Ze=(D,M,z)=>new Promise((ge,Re)=>{var We=_t=>{try{vt(z.next(_t))}catch(Sn){Re(Sn)}},ct=_t=>{try{vt(z.throw(_t))}catch(Sn){Re(Sn)}},vt=_t=>_t.done?ge(_t.value):Promise.resolve(_t.value).then(We,ct);vt((z=z.apply(D,M)).next())});function ut(D){return D.replace(/\[(.*?)][[(].*?[\])]/g,"$1")}const Pt=1;class Mt extends v.SearchStore{constructor(M){super();Pn(this,"operationTitleBoost",4),Pn(this,"tagTitleBoost",8),Pn(this,"fieldLevelBoost",.95),Pn(this,"pathOnly",!1),Pn(this,"searchMaxDepth",Pt),M.searchOperationTitleBoost&&(this.operationTitleBoost=parseInt(M.searchOperationTitleBoost,10)),M.searchTagTitleBoost&&(this.tagTitleBoost=parseInt(M.searchTagTitleBoost,10)),M.searchFieldLevelBoost&&(this.fieldLevelBoost=parseInt(M.searchFieldLevelBoost,10)),M.searchMode==="path-only"&&(this.pathOnly=!0),M.searchMaxDepth&&(this.searchMaxDepth=M.searchMaxDepth)}indexItems(M){const z=ge=>{ge.forEach(Re=>{if(Re.type==="operation"&&this.pathOnly){const We=Re;this.add(We.path,"",{menuId:We.id,boost:this.operationTitleBoost});return}if(Re.type!=="group"&&!this.pathOnly&&(this.add(Re.name,Re.type==="operation"?Re.path:"",{menuId:Re.id,boost:Re.type==="operation"?this.operationTitleBoost:this.tagTitleBoost}),Re.description&&this.add("",ut(Re.description||""),{menuId:Re.id})),Re.type==="operation"){const We=Re;for(const vt of We.parameters||[])this.add(vt.name,ut(vt.description),{menuId:Re.id,place:"parameters",path:[vt.name]});const ct=We.requestBody&&We.requestBody.content&&We.requestBody.content.active&&We.requestBody.content.active.schema;this.indexSchema(ct,Re.id,"request fields"),We.responses.forEach(vt=>{const _t=vt.content&&vt.content.active&&vt.content.active.schema;_t&&this.indexSchema(_t,Re.id,`response ${vt.code} fields`)})}z(Re.items)})};z(M),this.searchWorker.done()}indexSchema(M,z,ge,Re=[],We=0){if(!!M&&!(We>this.searchMaxDepth||M.isCircular)){if(M=M.oneOf&&M.oneOf[M.activeOneOf]||M,M.fields)for(const ct of M.fields){const vt=Re.concat([ct.name]);ct.kind!=="additionalProperties"&&(this.add(ct.name,ut(ct.description),{menuId:z,place:ge,path:vt,boost:Math.pow(this.fieldLevelBoost,We)}),this.indexSchema(ct.schema,z,ge,vt,We+1))}M.items&&this.indexSchema(M.items,z,ge,Re,We+1)}}add(M,z,ge){this.searchWorker.add(M,z,ge)}search(M){return Ze(this,null,function*(){return yield this.searchWorker.search(M)})}toJS(){return Ze(this,null,function*(){return this.searchWorker.toJS()})}dispose(){"terminate"in this.searchWorker&&this.searchWorker.terminate(),this.searchWorker.dispose&&this.searchWorker.dispose()}}class zt extends v.SearchStore{constructor(M){super();this.url=M,Pn(this,"operationTitleBoost",4),Pn(this,"tagTitleBoost",8),Pn(this,"fieldLevelBoost",.95)}indexItems(M){}add(M,z,ge){throw new Error("Not implemented")}search(M){return Ze(this,null,function*(){let z=[];try{if(z=yield(yield fetch(this.url+"?q="+encodeURIComponent(M))).json(),!Array.isArray(z))throw z=[],new Error("wrong search results format")}catch(ge){console.error("Failed to load search results: "+ge.message)}return z})}dispose(){super.dispose()}load(){}toJS(){return Ze(this,null,function*(){throw new Error("Not implemented")})}}var Zt=nn(9996),Qe=nn.n(Zt);function ot(D){var M,z,ge,Re,We,ct,vt,_t,Sn,Wn,tr,F;return D.theme?(D.theme=Qe()(Xe,D.theme),D.theme.extensionsHook=bn,((M=D.theme)==null?void 0:M.menu)&&!((z=D.theme)==null?void 0:z.sidebar)&&(console.warn('Theme setting "menu" is deprecated. Rename to "sidebar"'),D.theme.sidebar=D.theme.menu),((ge=D.theme)==null?void 0:ge.codeSample)&&(console.warn('Theme setting "codeSample" is deprecated. Rename to "codeBlock"'),Object.assign((Re=D.theme)==null?void 0:Re.codeBlock,D.theme.codeSample)),((vt=(ct=(We=D.theme)==null?void 0:We.typography)==null?void 0:ct.code)==null?void 0:vt.tokens)&&(console.warn('Theme setting "typography.code.tokens" is deprecated. Move to "codeBlock.tokens"'),D.theme.codeBlock=((_t=D.theme)==null?void 0:_t.codeBlock)||{},Object.assign((Wn=(Sn=D.theme)==null?void 0:Sn.codeBlock)==null?void 0:Wn.tokens,((F=(tr=D.theme)==null?void 0:tr.typography)==null?void 0:F.code).tokens)),D):(D.theme=Xe,D)}const Xe={overrides:{DownloadButton:{custom:""},NextSectionButton:{custom:""}},codeBlock:{borderRadius:({components:D})=>D.panels.borderRadius,tokens:{}},schema:{constraints:{},examples:{}},rightPanel:{textColor:"#eeeeee"},typography:{heading1:{},heading2:{},heading3:{},rightPanelHeading:{}}};function st(D,M){return M?`${D}: ${M};`:""}function wt(D){return D?v.css`
|
|
3104
|
+
`;var Me=nn(49376),_e=nn(26729),j=nn.n(_e),ue=nn(61388),Ce=Object.defineProperty,et=Object.getOwnPropertyDescriptor,Pe=(D,M,z)=>M in D?Ce(D,M,{enumerable:!0,configurable:!0,writable:!0,value:z}):D[M]=z,X=(D,M,z,ge)=>{for(var Ae=ge>1?void 0:ge?et(M,z):M,Ve=D.length-1,ct;Ve>=0;Ve--)(ct=D[Ve])&&(Ae=(ge?ct(M,z,Ae):ct(Ae))||Ae);return ge&&Ae&&Ce(M,z,Ae),Ae},_=(D,M,z)=>(Pe(D,typeof M!="symbol"?M+"":M,z),z);class ${constructor(M,z){this.options=M,this.multispec=z,_(this,"_emiter"),_(this,"basePath"),_(this,"markdownItemsPagination"),_(this,"pagination"),_(this,"emit",()=>{this._emiter.emit("popstate",this.currentId)});const ge=M.routingBasePath;this.markdownItemsPagination=M.markdownItemsPagination,this.pagination=M.pagination,this.basePath=ge.endsWith("/")?ge.substring(0,ge.length-1):ge,this.basePath.startsWith("/")&&(this.basePath=this.basePath.substring(1)),this._emiter=new(j()),this.bind()}get currentId(){if(!v.IS_BROWSER)return"";const M=decodeURIComponent(window.location.hash.substr(1));let z=window.location.pathname.substring(1);return z.startsWith(this.basePath+"/")&&(z=z.substring(this.basePath.length+1)),z.endsWith("/")&&(z=z.substring(0,z.length-1)),(M==null?void 0:M.startsWith("section/"))||(M==null?void 0:M.startsWith("operation/"))?(0,ue.mi)(z,M):z?this.pagination==="item"&&M.startsWith(this.options.deepLinkPrefix)?(0,ue.mi)(z,M,this.options.deepLinkPrefix):(0,ue.mi)(z,M):M}makeUrl(M,z){let ge="";v.IS_BROWSER&&(ge=window.location.search);let Ae;return M.startsWith("/")?Ae="/"+(0,ue.mi)(this.basePath,M.substring(1),"/"):Ae=M,Ae+ge?(0,ue.mi)(Ae+ge,z,"#"):"#"+z}generateDeepLink(M,z){if(!z)return null;const ge=this.options.pagination==="item"?"#":"";return z+ge+this.options.deepLinkPrefix+M}linkForId(M=""){if(M==="")return this.makeUrl("/","");let z="";if(this.multispec&&(z="/"+M.split("/")[0],M=M.split("/").slice(1).join("/")),M.startsWith("operation/"))if(this.multispec&&v.IS_BROWSER){let Ve=window.location.pathname.substring(1);Ve.startsWith(this.basePath)&&(Ve=Ve.substring(this.basePath.length),Ve.startsWith("/")&&(Ve=Ve.substring(1)));const ct="/"+Ve.split("/")[0];return z===ct?this.makeUrl("",M):this.makeUrl(Ve.replace(ct,z),M)}else return this.makeUrl("",M);let ge=z,Ae="";if(M.startsWith("section/")||!M){const[,Ve]=(M||"").split("/");Ve&&this.markdownItemsPagination==="section"?(ge=z+"/section/"+Ve,Ae=M):(ge=z+"/",Ae=M)}if(M.startsWith("group/")){const Ve=M.match(/group\/(.*)\/(paths\/.*\/\w+|operation\/[^/]*)/);if(Ve){const ct=Ve[1];ge=z+"/group/"+ct,Ae=Ve[2]||""}else ge=z+"/"+M,Ae=""}if(this.pagination==="section"&&M.startsWith("tag/")){const Ve=M.split("/");ge=z+"/"+Ve.slice(0,2).join("/"),Ae=Ve.slice(2).join("/")}if(this.pagination==="item"&&M.startsWith("tag/")){ge=z+"/"+M;const Ve=M.split("/");Ve[2]==="section"&&(ge=z+"/"+Ve.slice(0,2).join("/"),Ae=Ve.slice(2).join("/"))}return this.makeUrl(ge,Ae)}subscribe(M){const z=this._emiter.addListener("popstate",M);return()=>z.removeListener("popstate",M)}bind(){v.IS_BROWSER&&window.addEventListener("popstate",this.emit,!1)}dispose(){v.IS_BROWSER&&window.removeEventListener("popstate",this.emit)}replace(M,z=!1){if(z)return this.replaceDebounced(M);this.replaceNow(M,z)}replaceForField(M,z=!1){if(!v.IS_BROWSER||!M)return;const ge=Ve=>{z&&window.history.replaceState(null,"",Ve),window.history.pushState(null,"",Ve)},Ae=new URL(M,window.location.href);ge(Ae),this.emit()}replaceNow(M,z=!1){if(!v.IS_BROWSER||M==null||(0,ue.he)(M,this.currentId))return;const ge=new URL(this.linkForId(M),window.location.href);if(z){v.IS_BROWSER&&window.history.replaceState(null,"",ge.href);return}v.IS_BROWSER&&(window.history.pushState(null,"",ge.href),this.emit())}replaceDebounced(M){return this.replaceNow(M,!0)}}X([y.bind],$.prototype,"replace",1),X([y.bind],$.prototype,"replaceForField",1),X([y.bind,y.debounce],$.prototype,"replaceDebounced",1);var H=Object.defineProperty,I=Object.getOwnPropertyDescriptor,ve=(D,M,z)=>M in D?H(D,M,{enumerable:!0,configurable:!0,writable:!0,value:z}):D[M]=z,$e=(D,M,z,ge)=>{for(var Ae=ge>1?void 0:ge?I(M,z):M,Ve=D.length-1,ct;Ve>=0;Ve--)(ct=D[Ve])&&(Ae=(ge?ct(M,z,Ae):ct(Ae))||Ae);return ge&&Ae&&H(M,z,Ae),Ae},be=(D,M,z)=>(ve(D,typeof M!="symbol"?M+"":M,z),z);class Te{constructor(M,z){this.options=M,this.multiSpec=z,be(this,"_emiter"),be(this,"basePath"),be(this,"emit",()=>{this._emiter.emit("popstate",this.currentId)});const ge=M.routingBasePath||"";this.basePath=ge.endsWith("/")?ge.substring(0,ge.length-1):ge,this.basePath.startsWith("/")&&(this.basePath=this.basePath.substring(1)),this._emiter=new(j()),this.bind()}get currentId(){if(!v.IS_BROWSER)return"";const M=decodeURIComponent(window.location.hash.substr(1));let z=window.location.pathname.substring(1);if(z.startsWith(this.basePath+(this.basePath.endsWith(".html")?"":"/"))&&(z=z.substring(this.basePath.length+1)),z.endsWith("/")&&(z=z.substring(0,z.length-1)),M.startsWith("operation/")||(M==null?void 0:M.startsWith("section/"))){if(this.multiSpec){const[ge]=z.split("/");return(0,ue.mi)(ge,M)}return M}return z?(0,ue.mi)(z,M):M}makeUrl(M,z){let ge="";v.IS_BROWSER&&(ge=window.location.search);let Ae;return M.startsWith("/")?Ae="/"+(this.basePath?this.basePath+"/":"")+M.substring(1):Ae=M,Ae+ge+(z?"#"+z:"")}linkForId(M){if(!M)return"";if(M==="")return this.makeUrl("","");let z="";return this.multiSpec&&(z="/"+M.split("/")[0],M=M.split("/").slice(1).join("/")),this.makeUrl(z,M)}generateDeepLink(M,z){if(!!z)return z+this.options.deepLinkPrefix+M}subscribe(M){const z=this._emiter.addListener("popstate",M);return()=>z.removeListener("popstate",M)}bind(){v.IS_BROWSER&&(window.addEventListener("popstate",this.emit,!1),window.addEventListener("hashchange",this.emit,!1))}dispose(){v.IS_BROWSER&&(window.removeEventListener("popstate",this.emit),window.removeEventListener("hashchange",this.emit))}replace(M,z=!1){if(z)return this.replaceDebounced(M);this.replaceNow(M,z)}replaceForField(M,z=!1){if(!v.IS_BROWSER||!M)return;const ge=Ve=>{z?window.history.replaceState(null,"",Ve):(window.history.pushState(null,"",Ve),this.emit())},Ae=new URL(M,window.location.href);ge(Ae)}replaceNow(M,z=!1){if(!v.IS_BROWSER||M==null||(0,ue.he)(M,this.currentId))return;const ge=new URL(this.linkForId(M),window.location.href);if(z){v.IS_BROWSER&&window.history.replaceState(null,"",ge.href);return}v.IS_BROWSER&&(window.history.pushState(null,"",ge.href),this.emit())}replaceDebounced(M){return this.replaceNow(M,!0)}}$e([y.bind],Te.prototype,"replace",1),$e([y.bind],Te.prototype,"replaceForField",1),$e([y.bind,y.debounce],Te.prototype,"replaceDebounced",1);var Le=Object.defineProperty,ke=Object.getOwnPropertyDescriptor,at=(D,M,z)=>M in D?Le(D,M,{enumerable:!0,configurable:!0,writable:!0,value:z}):D[M]=z,xt=(D,M,z,ge)=>{for(var Ae=ge>1?void 0:ge?ke(M,z):M,Ve=D.length-1,ct;Ve>=0;Ve--)(ct=D[Ve])&&(Ae=(ge?ct(M,z,Ae):ct(Ae))||Ae);return ge&&Ae&&Le(M,z,Ae),Ae},qe=(D,M,z)=>(at(D,typeof M!="symbol"?M+"":M,z),z);const q="itemchange";class ne{constructor(M){this.options=M,qe(this,"_emitter",new(j())),qe(this,"basePath"),qe(this,"currentId",""),qe(this,"emit",()=>{this._emitter.emit(q,this.currentId)}),this.bind()}linkForId(M){return this.options.linkForId?this.options.linkForId(M):""}generateDeepLink(M,z){return M&&this.options.generateDeepLink?this.options.generateDeepLink(M,z):null}subscribe(M){const z=this._emitter.addListener(q,M);return()=>z.removeListener(q,M)}bind(){}dispose(){}replace(M,z=!1){}replaceForField(M,z=!1){this.currentId=(M||"").replace(/^#/,""),this.emit()}replaceNow(M,z=!1){}replaceDebounced(M){}}xt([y.bind],ne.prototype,"replace",1),xt([y.bind],ne.prototype,"replaceForField",1),xt([y.bind,y.debounce],ne.prototype,"replaceDebounced",1);var ie=nn(13303),K=nn(94487),we=Object.defineProperty,He=Object.getOwnPropertyDescriptor,Je=(D,M,z)=>M in D?we(D,M,{enumerable:!0,configurable:!0,writable:!0,value:z}):D[M]=z,ft=(D,M,z,ge)=>{for(var Ae=ge>1?void 0:ge?He(M,z):M,Ve=D.length-1,ct;Ve>=0;Ve--)(ct=D[Ve])&&(Ae=(ge?ct(M,z,Ae):ct(Ae))||Ae);return ge&&Ae&&we(M,z,Ae),Ae},At=(D,M,z)=>(Je(D,typeof M!="symbol"?M+"":M,z),z);function Lt(D,M,z){D.forEach(ge=>{if(ge.items&&Lt(ge.items,M,z),ge.id=z+"/"+ge.id,ge.type==="operation"){ge.specIdx=M;for(const Ae of ge.security)for(const Ve of Ae.schemes)Ve.sectionId=z+"/"+Ve.sectionId}})}class Yt{constructor(M,z,ge){if(this.config=M,this.options=z,At(this,"versions"),At(this,"activeVersionIdx",-1),(0,b.rC)(this),this.versions=[],!M.versions)return;let Ae=0,Ve=0;for(const ct of M.versions||[]){ct.isDefault&&(Ve=Ae);const vt=new v.SpecStore(ct.spec,void 0,z);this.versions.push(vt),Lt(vt.contentItems,Ae,ct.id);for(const _t of vt.securitySchemes.schemes)_t.sectionId=ct.id+"/"+_t.sectionId;ct.id===ge&&(this.activeVersionIdx=Ae),Ae++,ct._searchIndexName&&(vt._searchIndexName=ct._searchIndexName)}this.activeVersionIdx===-1&&(this.activeVersionIdx=Ve),M.versions[Ve].isDefault=!0}get versionsInfo(){return this.config.versions||[]}get currentVersionId(){return this.versionsInfo[this.activeVersionIdx]&&this.versionsInfo[this.activeVersionIdx].id}get contentItems(){return this.versions[this.activeVersionIdx].contentItems}get securitySchemes(){return this.versions[this.activeVersionIdx].securitySchemes}get externalDocs(){return this.versions[this.activeVersionIdx].externalDocs}get parser(){return this.versions[this.activeVersionIdx].parser}get info(){return this.versions[this.activeVersionIdx].info}changeVersion(M){this.activeVersionIdx=M}toJS(){return this.config}}ft([b.LO],Yt.prototype,"activeVersionIdx",2),ft([b.aD],Yt.prototype,"changeVersion",1);var Vt=Object.defineProperty,ze=Object.defineProperties,dt=Object.getOwnPropertyDescriptor,bt=Object.getOwnPropertyDescriptors,pt=Object.getOwnPropertySymbols,Ct=Object.prototype.hasOwnProperty,$t=Object.prototype.propertyIsEnumerable,fn=(D,M,z)=>M in D?Vt(D,M,{enumerable:!0,configurable:!0,writable:!0,value:z}):D[M]=z,cn=(D,M)=>{for(var z in M||(M={}))Ct.call(M,z)&&fn(D,z,M[z]);if(pt)for(var z of pt(M))$t.call(M,z)&&fn(D,z,M[z]);return D},Rn=(D,M)=>ze(D,bt(M)),Ke=(D,M,z,ge)=>{for(var Ae=ge>1?void 0:ge?dt(M,z):M,Ve=D.length-1,ct;Ve>=0;Ve--)(ct=D[Ve])&&(Ae=(ge?ct(M,z,Ae):ct(Ae))||Ae);return ge&&Ae&&Vt(M,z,Ae),Ae},Ue=(D,M,z)=>(fn(D,typeof M!="symbol"?M+"":M,z),z);class it{constructor(M,z,ge,Ae){this.definition=M,this.scroll=z,this.options=ge,this.history=Ae,Ue(this,"flatItems"),Ue(this,"items"),Ue(this,"activeRenderItemIdx",-1),Ue(this,"renderItems",[]),Ue(this,"activeItemIdx",-1),Ue(this,"sideBarOpened",!1),Ue(this,"_unsubscribe"),Ue(this,"_hashUnsubscribe"),Ue(this,"getItemById",Ve=>this.flatItems.find(ct=>ct.id===Ve)),Ue(this,"initOnHistory",(Ve=this.history.currentId)=>{const[ct]=Ve.split(this.options.deepLinkPrefix);if(!ct)return;const vt=this.flatItems.find(_t=>_t.id===ct);vt&&(this.activate(vt,!1,!1,!1,Ve),vt.active=!1)}),Ue(this,"updateOnHistory",(Ve=this.history.currentId)=>{const[ct]=Ve.split(this.options.deepLinkPrefix);if(!ct)return;const vt=this.flatItems.find(_t=>_t.id===ct);vt?this.activateAndScroll(vt,!1,void 0,Ve):(this.scroll.prevOffsetY=0,this.scroll.scrollIntoViewBySelector(`[${ie.Ee}="${(0,v.escapeHTMLAttrChars)(ct)}"]`))}),Ue(this,"updateVersionOnHistory",Ve=>{if(!("versionsInfo"in this.definition))return;const[ct]=Ve.split("/");let vt=this.definition.versionsInfo.findIndex(_t=>_t.id===ct);vt<0&&(vt=this.definition.versionsInfo.findIndex(_t=>_t.isDefault)),this.definition.activeVersionIdx!==vt&&(this.definition.changeVersion(vt<0?0:vt),this.updateItemsByVersionChange(!1,Ve))}),Ue(this,"updateOnScroll",Ve=>{const ct=Ve?1:-1;let vt=this.activeItemIdx;for(;!(vt===-1&&!Ve||vt>=this.flatItems.length-1&&Ve);){if(Ve){let Sn=!1;const Wn=this.flatItems[vt+1];switch(this.options.pagination){case"section":Sn=Wn&&(Wn.type==="spec"||Wn.type==="group"||Wn.type==="tag");break;case"item":Sn=(Wn==null?void 0:Wn.type)!=="section";break}const tr=this.getElementAt(vt+1);if(vt===-1&&this.flatItems[0].type==="tag"&&(Sn=!1),this.scroll.isElementBellow(tr)||Sn)break}else{const Sn=this.flatItems[vt]&&this.flatItems[vt].type,Wn=this.options.pagination==="section"&&(Sn==="spec"||Sn==="group"||Sn==="tag")||this.options.pagination==="item"&&Sn!=="section",tr=this.getElementAt(vt);if(!tr||this.scroll.isElementAbove(tr)||Wn)break}vt+=ct}const _t=this.flatItems[vt];this.options.pagination==="none"||this.options.pagination==="section"?(!_t||!_t.active)&&this.activate(_t,!0,!0,!1):_t&&_t.type==="section"&&(_t.active||this.activate(_t,!0,!0,!1))}),(0,b.rC)(this),this.items=M.contentItems,this.flatItems=(0,v.flattenByProp)(this.items||[],"items"),this.flatItems.forEach((Ve,ct)=>Ve.absoluteIdx=ct),ge.disableSidebar||this.subscribe(),this.flatItems.forEach((Ve,ct)=>$n(Ve,ct,ge.pagination,this.definition instanceof Yt,this.history)),this.renderItems=this.buildRenderItems(0),this.activeItemIdx=-1,this.activeRenderItemIdx=-1,this.definition instanceof Yt&&this.history.subscribe(this.updateVersionOnHistory)}static updateOnHistory(M=K.m.currentId,z){!M||z.scrollIntoViewBySelector(`[${ie.Ee}="${(0,v.escapeHTMLAttrChars)(M)}"]`)}subscribe(){this._unsubscribe=this.scroll.subscribe(this.updateOnScroll),this._hashUnsubscribe=this.history.subscribe(this.updateOnHistory)}toggleSidebar(){this.sideBarOpened=!this.sideBarOpened}closeSidebar(){this.sideBarOpened=!1}getElementAt(M){const z=this.flatItems[M];return z&&(0,v.querySelector)(`[${ie.Ee}="${(0,v.escapeHTMLAttrChars)(z.id)}"]`)||null}getElementAtOrFirstChild(M){let z=this.flatItems[M];return z&&z.type==="group"&&(z=z.items[0]),z&&(0,v.querySelector)(`[${ie.Ee}="${(0,v.escapeHTMLAttrChars)(z.id)}"]`)||null}get activeItem(){return this.flatItems[this.activeItemIdx]||void 0}updateItemsByVersionChange(M,z){if(!("versionsInfo"in this.definition))return;const ge=this.activeItem&&this.activeItem.active?this.activeItem.absoluteIdx:-1;z=z&&Et(z)||this.activeItem&&this.activeItem.active&&Et(this.activeItem.id)||"",this.deactivate(this.activeItem),this.items=this.definition.contentItems,this.flatItems=(0,v.flattenByProp)(this.items||[],"items"),this.flatItems.forEach((Ve,ct)=>$n(Ve,ct,this.options.pagination,this.definition instanceof Yt,this.history));const Ae=z?(this.flatItems.find(Ve=>Et(Ve.id)===z)||{absoluteIdx:-1}).absoluteIdx:-1;if((Ae===-1||this.options.pagination==="none")&&(this.renderItems=this.buildRenderItems(0)),this.activeItemIdx=-1,Ae!==-1)this.activate(this.flatItems[Ae],M);else if(ge!==-1)this.activateAndScroll(this.flatItems[0],M);else if(M){const Ve=this.definition.versionsInfo[this.definition.activeVersionIdx];if(!this.history.currentId&&Ve.isDefault)return;this.history.replace(Ve.id)}}buildRenderItems(M){if(this.options.pagination==="none")return this.items;let z=this.flatItems[M];if(z||(z=this.flatItems[0]),z.type==="spec")return this.buildRenderItems(M+1);if(z.type==="section"){const ge=[],Ae=dn(z,"tag");if(this.options.pagination==="section"&&Ae)return[Ae];if(this.options.pagination==="item"&&Ae)return[Rn(cn({},Ae),{items:Ln(Ae)})];const Ve=Ot(z),ct=(Ve==null?void 0:Ve.items)||this.items;for(let vt=0;vt<ct.length&&ct[vt].type==="section";vt++)ge.push(ct[vt]);return ge}switch(this.options.pagination){case"section":{if((z.type==="operation"||z.type==="schema")&&z.parent)return[z.parent];if(z.type!=="group")return[z]}case"item":return z.type==="operation"||z.type==="schema"?[z]:[Rn(cn({},z),{items:Ln(z)})];default:return[]}}activateBase(M,z=!0,ge=!1,Ae){var Ve,ct,vt,_t,Sn;if(((Ve=this.activeItem)==null?void 0:Ve.id)===(M==null?void 0:M.id)&&!Ae){z&&M&&this.history.replace(encodeURI(M.id),ge),M&&!M.active&&M.activate();return}if(M&&M.type==="group")return;if(this.deactivate(this.activeItem),!M){this.history.replace("",ge);return}if(M.depth<=v.GROUP_DEPTH)return;this.activeItemIdx=M.absoluteIdx,z&&this.history.replace(encodeURI(M.id),ge),M.activate(),M.expand();const Wn=new URLSearchParams(Ae),tr=Wn.get("t")==="request",F=Wn.get("t")==="response",me=Wn.get("c"),Ne=Wn.get("ct"),Bt=Wn.get("in"),Gt=Wn.get("path"),Wt=(Gt==null?void 0:Gt.split(this.options.deepLinkSeparator))||[],Kt=M;if(Bt){let Rt=Kt.parameters;for(const Tt of Wt){const mt=Rt==null?void 0:Rt.find(Xt=>Xt.name===Tt);mt==null||mt.expand(),Rt=(ct=mt==null?void 0:mt.schema)==null?void 0:ct.fields}}else if(tr){const Rt=(vt=Kt.requestBody)==null?void 0:vt.content;(_t=Kt.activateMimeName)==null||_t.call(Kt,Ne||Kt.activeMimeName),setTimeout(()=>{var Tt;return this.activateField(Wt,(Tt=Rt==null?void 0:Rt.active)==null?void 0:Tt.schema)},0)}else if(F){const Rt=Kt.responses.find(Tt=>Tt.code===me);(Rt==null?void 0:Rt.expanded)||Rt==null||Rt.expand(),(Sn=Kt.activateMimeName)==null||Sn.call(Kt,Ne||Kt.activeMimeName),setTimeout(()=>{var Tt,mt;return this.activateField(Wt,(mt=(Tt=Rt==null?void 0:Rt.content)==null?void 0:Tt.active)==null?void 0:mt.schema)},0)}}activate(M,z=!0,ge=!1,Ae=!0,Ve){if(this.options.pagination==="none"){this.activateBase(M,z,ge,Ve),!M&&this.definition instanceof Yt&&this.history.replace(this.definition.currentVersionId,!0);return}if((M==null?void 0:M.type)!=="group"){if(M&&this.options.pagination==="item"&&M.type==="tag"&&!M.description)if(M.expanded){M.collapse();return}else M.expand(),M=this.flatItems[M.absoluteIdx+1];if(this.activateBase(M,M&&z,ge,Ve),this.activeRenderItemIdx=M?M.absoluteIdx:this.activeRenderItemIdx,this.activeRenderItemIdx>=0){const ct=this.buildRenderItems(this.activeRenderItemIdx);ct.some((vt,_t)=>vt.id!==this.renderItems[_t].id)&&(this.renderItems=ct),this.renderItems[0]&&(this.activeRenderItemIdx=this.renderItems[0].absoluteIdx)}Ae&&setTimeout(()=>this.scrollToActive()),!M&&this.definition instanceof Yt&&this.history.replace(this.definition.currentVersionId,!0)}}activateField(M,z){var ge;for(let Ae=0;Ae<M.length-1;Ae++){const Ve=M[Ae],ct=Ae===M.length-1;if((z==null?void 0:z.hasType("array"))&&(z==null?void 0:z.items)&&(z=z==null?void 0:z.items),z==null?void 0:z.oneOf){const _t=Number(Ve);if(isNaN(_t))return;z==null||z.activateOneOf(_t),z=z==null?void 0:z.oneOf[_t];continue}(z==null?void 0:z.hasType("array"))&&(z==null?void 0:z.items)&&(z=z==null?void 0:z.items);const vt=(ge=z==null?void 0:z.fields)==null?void 0:ge.find(_t=>_t.name===Ve);ct||vt==null||vt.expand(),z=vt==null?void 0:vt.schema}}deactivate(M){if(M!==void 0)for(M.deactivate();M!==void 0;)M.collapse(),M=M.parent}activateAndScroll(M,z,ge,Ae=""){const Ve=Ae.lastIndexOf(this.options.deepLinkPrefix),ct=Ve!==-1?Ae.substring(Ve+1):Ae,vt=M&&this.getItemById(M.id)||M;this.activate(vt,z,ge,!1,ct),this.scrollToActive(ct?Ae:""),(!vt||!vt.items.length)&&this.closeSidebar()}scrollToActive(M){M?setTimeout(()=>this.scroll.scrollIntoViewBySelector(`[${ie.Ee}="${(0,v.escapeHTMLAttrChars)(M)}"]`),0):this.scroll.scrollIntoView(this.getElementAt(this.activeItemIdx))}dispose(){var M,z;(M=this._unsubscribe)==null||M.call(this),(z=this._hashUnsubscribe)==null||z.call(this)}}Ke([b.LO],it.prototype,"flatItems",2),Ke([b.LO],it.prototype,"items",2),Ke([b.LO],it.prototype,"activeRenderItemIdx",2),Ke([b.LO.ref],it.prototype,"renderItems",2),Ke([b.LO],it.prototype,"activeItemIdx",2),Ke([b.LO],it.prototype,"sideBarOpened",2),Ke([b.aD],it.prototype,"toggleSidebar",1),Ke([b.aD],it.prototype,"closeSidebar",1),Ke([b.aD],it.prototype,"activateBase",1),Ke([b.aD],it.prototype,"activate",1),Ke([b.aD.bound],it.prototype,"activateAndScroll",1);function Et(D){return D.split("/").slice(1).join("/")}function Ot(D){for(;D;){if(D.type==="spec")return D;D=D.parent}}function dn(D,M){if(!(!D||!D.parent))return D.parent.type===M?D.parent:dn(D.parent,M)}function Ln(D){const M=[];for(const z of D.items){if(z.type!=="section")break;M.push(z)}return M}function $n(D,M,z,ge,Ae){if(D.absoluteIdx=M,z!=="none"){const Ve=dn(D,"tag");if(D.parent&&Ve&&!("_id_normalized"in D)){if(ge){const[ct,vt]=D.id.split("/"),_t=Et(D.id);if(D.type==="operation"&&!vt.startsWith("operation"))return;D.id=ct+"/"+Et(Ve.id)+"/"+_t}else{if(D.type==="operation"&&!D.id.startsWith("operation"))return;D.id=Ve.id+"/"+D.id}D._id_normalized=!0}}D.type!=="group"&&(D.href=Ae.linkForId(D.id))}var An=Object.defineProperty,Gn=(D,M,z)=>M in D?An(D,M,{enumerable:!0,configurable:!0,writable:!0,value:z}):D[M]=z,Pn=(D,M,z)=>(Gn(D,typeof M!="symbol"?M+"":M,z),z),Ze=(D,M,z)=>new Promise((ge,Ae)=>{var Ve=_t=>{try{vt(z.next(_t))}catch(Sn){Ae(Sn)}},ct=_t=>{try{vt(z.throw(_t))}catch(Sn){Ae(Sn)}},vt=_t=>_t.done?ge(_t.value):Promise.resolve(_t.value).then(Ve,ct);vt((z=z.apply(D,M)).next())});function ut(D){return D.replace(/\[(.*?)][[(].*?[\])]/g,"$1")}const Pt=1;class Mt extends v.SearchStore{constructor(M){super();Pn(this,"operationTitleBoost",4),Pn(this,"tagTitleBoost",8),Pn(this,"fieldLevelBoost",.95),Pn(this,"pathOnly",!1),Pn(this,"searchMaxDepth",Pt),M.searchOperationTitleBoost&&(this.operationTitleBoost=parseInt(M.searchOperationTitleBoost,10)),M.searchTagTitleBoost&&(this.tagTitleBoost=parseInt(M.searchTagTitleBoost,10)),M.searchFieldLevelBoost&&(this.fieldLevelBoost=parseInt(M.searchFieldLevelBoost,10)),M.searchMode==="path-only"&&(this.pathOnly=!0),M.searchMaxDepth&&(this.searchMaxDepth=M.searchMaxDepth)}indexItems(M){const z=ge=>{ge.forEach(Ae=>{if(Ae.type==="operation"&&this.pathOnly){const Ve=Ae;this.add(Ve.path,"",{menuId:Ve.id,boost:this.operationTitleBoost});return}if(Ae.type!=="group"&&!this.pathOnly&&(this.add(Ae.name,Ae.type==="operation"?Ae.path:"",{menuId:Ae.id,boost:Ae.type==="operation"?this.operationTitleBoost:this.tagTitleBoost}),Ae.description&&this.add("",ut(Ae.description||""),{menuId:Ae.id})),Ae.type==="operation"){const Ve=Ae;for(const vt of Ve.parameters||[])this.add(vt.name,ut(vt.description),{menuId:Ae.id,place:"parameters",path:[vt.name]});const ct=Ve.requestBody&&Ve.requestBody.content&&Ve.requestBody.content.active&&Ve.requestBody.content.active.schema;this.indexSchema(ct,Ae.id,"request fields"),Ve.responses.forEach(vt=>{const _t=vt.content&&vt.content.active&&vt.content.active.schema;_t&&this.indexSchema(_t,Ae.id,`response ${vt.code} fields`)})}z(Ae.items)})};z(M),this.searchWorker.done()}indexSchema(M,z,ge,Ae=[],Ve=0){if(!!M&&!(Ve>this.searchMaxDepth||M.isCircular)){if(M=M.oneOf&&M.oneOf[M.activeOneOf]||M,M.fields)for(const ct of M.fields){const vt=Ae.concat([ct.name]);ct.kind!=="additionalProperties"&&(this.add(ct.name,ut(ct.description),{menuId:z,place:ge,path:vt,boost:Math.pow(this.fieldLevelBoost,Ve)}),this.indexSchema(ct.schema,z,ge,vt,Ve+1))}M.items&&this.indexSchema(M.items,z,ge,Ae,Ve+1)}}add(M,z,ge){this.searchWorker.add(M,z,ge)}search(M){return Ze(this,null,function*(){return yield this.searchWorker.search(M)})}toJS(){return Ze(this,null,function*(){return this.searchWorker.toJS()})}dispose(){"terminate"in this.searchWorker&&this.searchWorker.terminate(),this.searchWorker.dispose&&this.searchWorker.dispose()}}class zt extends v.SearchStore{constructor(M){super();this.url=M,Pn(this,"operationTitleBoost",4),Pn(this,"tagTitleBoost",8),Pn(this,"fieldLevelBoost",.95)}indexItems(M){}add(M,z,ge){throw new Error("Not implemented")}search(M){return Ze(this,null,function*(){let z=[];try{if(z=yield(yield fetch(this.url+"?q="+encodeURIComponent(M))).json(),!Array.isArray(z))throw z=[],new Error("wrong search results format")}catch(ge){console.error("Failed to load search results: "+ge.message)}return z})}dispose(){super.dispose()}load(){}toJS(){return Ze(this,null,function*(){throw new Error("Not implemented")})}}var Zt=nn(9996),Qe=nn.n(Zt);function ot(D){var M,z,ge,Ae,Ve,ct,vt,_t,Sn,Wn,tr,F;return D.theme?(D.theme=Qe()(Xe,D.theme),D.theme.extensionsHook=bn,((M=D.theme)==null?void 0:M.menu)&&!((z=D.theme)==null?void 0:z.sidebar)&&(console.warn('Theme setting "menu" is deprecated. Rename to "sidebar"'),D.theme.sidebar=D.theme.menu),((ge=D.theme)==null?void 0:ge.codeSample)&&(console.warn('Theme setting "codeSample" is deprecated. Rename to "codeBlock"'),Object.assign((Ae=D.theme)==null?void 0:Ae.codeBlock,D.theme.codeSample)),((vt=(ct=(Ve=D.theme)==null?void 0:Ve.typography)==null?void 0:ct.code)==null?void 0:vt.tokens)&&(console.warn('Theme setting "typography.code.tokens" is deprecated. Move to "codeBlock.tokens"'),D.theme.codeBlock=((_t=D.theme)==null?void 0:_t.codeBlock)||{},Object.assign((Wn=(Sn=D.theme)==null?void 0:Sn.codeBlock)==null?void 0:Wn.tokens,((F=(tr=D.theme)==null?void 0:tr.typography)==null?void 0:F.code).tokens)),D):(D.theme=Xe,D)}const Xe={overrides:{DownloadButton:{custom:""},NextSectionButton:{custom:""}},codeBlock:{borderRadius:({components:D})=>D.panels.borderRadius,tokens:{}},schema:{constraints:{},examples:{}},rightPanel:{textColor:"#eeeeee"},typography:{heading1:{},heading2:{},heading3:{},rightPanelHeading:{}}};function st(D,M){return M?`${D}: ${M};`:""}function wt(D){return D?v.css`
|
|
3105
3105
|
${(0,v.mediaCSS)({fontSize:D.fontSize||"",fontWeight:D.fontWeight||"",fontFamily:D.fontFamily||"",lineHeight:D.lineHeight||"",color:D.color||"",textTransform:D.transform||""})}
|
|
3106
3106
|
`:""}function tn(D){if(!D)return"";let M="";for(const z of Object.keys(D))z!=="default"&&(M+=`.token.${z} { color: ${D[z].color}; }
|
|
3107
3107
|
`);return D.default?v.css`
|
|
@@ -3134,7 +3134,7 @@ Add a <Suspense fallback=...> component higher in the tree to provide a loading
|
|
|
3134
3134
|
`;return D.schema.breakFieldNames?v.css`
|
|
3135
3135
|
${wt(D.typography.fieldName)}
|
|
3136
3136
|
${M}
|
|
3137
|
-
`:wt(D.typography.fieldName)},Markdown:({theme:D})=>{var M,z,ge,
|
|
3137
|
+
`:wt(D.typography.fieldName)},Markdown:({theme:D})=>{var M,z,ge,Ae;return v.css`
|
|
3138
3138
|
h1 {
|
|
3139
3139
|
${wt(D.typography.heading1)}
|
|
3140
3140
|
clear: both;
|
|
@@ -3153,27 +3153,27 @@ Add a <Suspense fallback=...> component higher in the tree to provide a loading
|
|
|
3153
3153
|
}
|
|
3154
3154
|
|
|
3155
3155
|
code {
|
|
3156
|
-
${st("word-break",(
|
|
3156
|
+
${st("word-break",(Ae=(ge=D.typography)==null?void 0:ge.code)==null?void 0:Ae.wordBreak)}
|
|
3157
3157
|
}
|
|
3158
|
-
`},ConstraintItem:({theme:D})=>{var M,z,ge,
|
|
3158
|
+
`},ConstraintItem:({theme:D})=>{var M,z,ge,Ae;return v.css`
|
|
3159
3159
|
${wt(D.schema.constraints)};
|
|
3160
3160
|
${st("background-color",(M=D.schema.constraints)==null?void 0:M.backgroundColor)};
|
|
3161
3161
|
${st("border",(z=D.schema.constraints)==null?void 0:z.border)}
|
|
3162
|
-
${st("word-break",(
|
|
3163
|
-
`},ExampleValue:({theme:D})=>{var M,z,ge,
|
|
3162
|
+
${st("word-break",(Ae=(ge=D.typography)==null?void 0:ge.code)==null?void 0:Ae.wordBreak)}
|
|
3163
|
+
`},ExampleValue:({theme:D})=>{var M,z,ge,Ae;return v.css`
|
|
3164
3164
|
${wt(D.schema.examples)};
|
|
3165
3165
|
${st("background-color",(M=D.schema.examples)==null?void 0:M.backgroundColor)};
|
|
3166
3166
|
${st("border",(z=D.schema.examples)==null?void 0:z.border)}
|
|
3167
|
-
${st("word-break",(
|
|
3168
|
-
`},Prism:({theme:D})=>{var M,z,ge;return tn((M=D==null?void 0:D.codeBlock)==null?void 0:M.tokens)+st("word-break",(ge=(z=D.typography)==null?void 0:z.code)==null?void 0:ge.wordBreak)}};function bn(D,M){return qt[D]&&qt[D](M)}var Fn=nn(13066),Ln=nn(64776),ir=(D,M,z)=>new Promise((ge,Re)=>{var We=_t=>{try{vt(z.next(_t))}catch(Sn){Re(Sn)}},ct=_t=>{try{vt(z.throw(_t))}catch(Sn){Re(Sn)}},vt=_t=>_t.done?ge(_t.value):Promise.resolve(_t.value).then(We,ct);vt((z=z.apply(D,M)).next())});function Nn(D){return"then"in D?D:new Promise(M=>{D.oncomplete=z=>{M(z.target.result)}})}function En(D){const M=new ArrayBuffer(D.length),z=new Uint8Array(M);for(let ge=0,Re=D.length;ge<Re;ge++)z[ge]=D.charCodeAt(ge);return M}const Xn=()=>{var D;const M=En(atob("MFwwDQYJKoZIhvcNAQEBBQADSwAwSAJBAMHjNir5fXx/ZXoaEeXQ5XyxbNJ4YJYczoCRdSkL6NLzw1FHnng5Vfcgk5+bvox9QRYRbuk84mA4f2NhywDbXKECAwEAAQ=="));return Nn((D=Ln.EA)==null?void 0:D.subtle.importKey("spki",M,{name:"RSASSA-PKCS1-v1_5",hash:"SHA-256"},!0,["verify"]))};function kn(D){if(window.TextEncoder)return new TextEncoder().encode(D);const M=unescape(encodeURIComponent(D)),z=new Uint8Array(M.length);for(let ge=0;ge<M.length;ge++)z[ge]=M.charCodeAt(ge);return z}function On(D,M){return ir(this,null,function*(){var z;return Nn((z=Ln.EA)==null?void 0:z.subtle.verify({name:"RSASSA-PKCS1-v1_5",hash:"SHA-256"},yield Xn(),En(atob(M)),kn(D)))})}function Yn(D,M){return M===!0?!0:Array.isArray(M)&&typeof window!="undefined"?D==="localhost"||D==="127.0.0.1"||D.endsWith(".localhost")||!!M.find(z=>z===D||D.endsWith("."+z))?!0:!!M.find(z=>{if(z.indexOf("*")!==z.lastIndexOf("*"))return;const[ge,Re]=z.split("*");return Re&&D.startsWith(ge)&&D.endsWith(Re)&&Re.split(".").length>2}):!1}function Hn(D){return ir(this,null,function*(){const M=Fn.Qg&&window.location.hostname||"";if(!D)return M==="localhost"||M==="127.0.0.1"||M.endsWith(".localhost")?{local:!0}:{};const[z,ge]=D.split(".");let Re;try{if(!(yield On(atob(z),ge)))return{valid:!1};Re=JSON.parse(atob(z))}catch(We){return{valid:!1,cryptoMissing:!0}}return Re.valid=!0,(!Re.e||Date.now()/1e3>Re.e)&&(Re.expired=!0),Re.allowed=Yn(M,Re.h),(Re==null?void 0:Re.s)==="plugin"?{plugin:{valid:!0,utms:{utm_campaign:Array.isArray(Re==null?void 0:Re.h)&&(Re==null?void 0:Re.h[0])||"preview-docs"}}}:Re})}var xn=nn(24787),hr=nn(20906),sr=Object.defineProperty,ur=Object.defineProperties,Qn=Object.getOwnPropertyDescriptor,vr=Object.getOwnPropertyDescriptors,Dr=Object.getOwnPropertySymbols,jr=Object.prototype.hasOwnProperty,Er=Object.prototype.propertyIsEnumerable,Vr=(D,M,z)=>M in D?sr(D,M,{enumerable:!0,configurable:!0,writable:!0,value:z}):D[M]=z,Sr=(D,M)=>{for(var z in M||(M={}))jr.call(M,z)&&Vr(D,z,M[z]);if(Dr)for(var z of Dr(M))Er.call(M,z)&&Vr(D,z,M[z]);return D},Tr=(D,M)=>ur(D,vr(M)),qn=(D,M,z,ge)=>{for(var Re=ge>1?void 0:ge?Qn(M,z):M,We=D.length-1,ct;We>=0;We--)(ct=D[We])&&(Re=(ge?ct(M,z,Re):ct(Re))||Re);return ge&&Re&&sr(M,z,Re),Re},sn=(D,M,z)=>(Vr(D,typeof M!="symbol"?M+"":M,z),z),It=(D,M,z)=>new Promise((ge,Re)=>{var We=_t=>{try{vt(z.next(_t))}catch(Sn){Re(Sn)}},ct=_t=>{try{vt(z.throw(_t))}catch(Sn){Re(Sn)}},vt=_t=>_t.done?ge(_t.value):Promise.resolve(_t.value).then(We,ct);vt((z=z.apply(D,M)).next())});const fn=typeof window=="undefined"?{__REDOCLY_SEARCH_URL:void 0}:window;class vn{constructor(M,z,ge,Re){sn(this,"id"),sn(this,"absoluteIdx"),sn(this,"name"),sn(this,"description"),sn(this,"type"),sn(this,"linkable"),sn(this,"items",[]),sn(this,"parent"),sn(this,"externalDocs"),sn(this,"active",!1),sn(this,"expanded",!1),sn(this,"depth"),sn(this,"level"),(0,b.rC)(this),this.id="section/"+M,this.type="nesting-group",this.name=ge||"",this.level=1,this.depth=1,this.description="",this.parent=void 0,this.expanded=!1,this.items=z,this.linkable=!!Re,z.forEach(We=>We.parent=this),er(z)}activate(){this.active=!0}expand(){this.expanded=!0,this.parent&&this.parent.expand()}collapse(){this.expanded=!1}deactivate(){this.active=!1}}qn([b.LO],vn.prototype,"active",2),qn([b.LO],vn.prototype,"expanded",2),qn([b.aD],vn.prototype,"activate",1),qn([b.aD],vn.prototype,"expand",1),qn([b.aD],vn.prototype,"collapse",1),qn([b.aD],vn.prototype,"deactivate",1);function er(D){!Array.isArray(D)||D.forEach(M=>{M.depth++,M.parent&&M.parent.type==="group"&&(M.depth=M.parent.depth),er(M.items)})}const ar=class{constructor(D,M,z={},ge=!0){sn(this,"rawOptions"),sn(this,"options"),sn(this,"menu"),sn(this,"definition"),sn(this,"marker",new v.MarkerService),sn(this,"scroll"),sn(this,"disposer"),sn(this,"search"),sn(this,"tryItOperation"),sn(this,"showRightPanel",!0),sn(this,"layout",(0,B.Y9)("layoutVariant")||xn.N.THREE_PANEL),sn(this,"activeSampleLanguage"),sn(this,"isLoading"),sn(this,"l"),(0,b.rC)(this),this.initProOptions(z),v.IS_BROWSER&&(this.l=Hn(z.licenseKey),this.l.then(ct=>{(!ct.valid||!ct.allowed||ct.expired)&&!ct.local&&!ct.plugin&&(this.menu.items=[],this.menu.flatItems=this.menu.flatItems.slice(0,1),this.menu.renderItems=[])}));const Re=typeof D=="object"&&"versions"in D,We=this.options.disableSidebar?new ne(this.options):this.options.routingStrategy==="browser"?new $(this.options,Re):new Te(this.options,Re);this.definition=Re?new Yt(D,this.options,We.currentId.split("/")[0]):new v.SpecStore(D,M,this.options),z.downloadDefinitionUrl&&(this.definition.info.downloadFileName=""),this.scroll=new v.ScrollService(this.options),this.options.disableSidebar||it.updateOnHistory(We.currentId,this.scroll),this.menu=new it(this.definition,this.scroll,this.options,We),this.menu.initOnHistory(),this.options.disableSearch||this.initSearch(this.options,ge),this.disposer=(0,b.N7)(this.menu,this.options.pagination==="none"?"activeItemIdx":"activeRenderItemIdx",ct=>{setTimeout(()=>this.updateMarkOnMenu(ct.newValue))}),(0,B._3)(this)}initProOptions(D){var M,z,ge,Re,We,ct;D=Ve(D),this.rawOptions=ot(D),this.options=new v.RedocNormalizedOptions(this.rawOptions,Ye),this.rawOptions.showConsole!=null&&console.warn('"showConsole" option is deprecated. Please, use "hideTryItPanel" instead.'),this.options.showConsole=this.rawOptions.hideTryItPanel!=null?!this.rawOptions.hideTryItPanel:(M=this.rawOptions.showConsole)!=null?M:!0,this.options.hideRightPanel=(z=this.rawOptions.hideRightPanel)!=null?z:!1,this.showRightPanel=!this.options.hideRightPanel,this.options.showRightPanelToggle=(ge=this.rawOptions.showRightPanelToggle)!=null?ge:!0,this.options.showChangeLayoutButton=(Re=this.rawOptions.showChangeLayoutButton)!=null?Re:!0,this.options.layout=this.rawOptions.layout||xn.N.THREE_PANEL,this.options.defaultSampleLanguage=this.rawOptions.defaultSampleLanguage||"",this.options.deepLinkSeparator=this.rawOptions.deepLinkSeparator||"/",this.options.deepLinkPrefix=this.rawOptions.deepLinkPrefix||"!",this.options.disableDeepLinks=this.rawOptions.disableDeepLinks||!1,this.options.sideNavStyle=this.rawOptions.sideNavStyle||hr.s.SummaryOnly,this.options.whiteLabel=!!this.rawOptions.whiteLabel,this.options.hideLogo=!!this.rawOptions.hideLogo,this.options.hideInfoSection=!!this.rawOptions.hideInfoSection,this.options.oAuth2RedirectURI=this.rawOptions.oAuth2RedirectURI||null,this.options.unstable_hideServerUrlInTryIt=this.rawOptions.unstable_hideServerUrlInTryIt||!1,this.options.oAuth2RedirectURI=this.rawOptions.oAuth2RedirectURI||null,this.options.events=this.rawOptions.events||{},this.options.mockServer=((We=this.rawOptions.mockServer)==null?void 0:We.url)?{url:this.rawOptions.mockServer.url,position:this.rawOptions.mockServer.position||"first",description:this.rawOptions.mockServer.description||"Mock server"}:null,this.options.corsProxyUrl=this.rawOptions.corsProxyUrl?Ae(this.rawOptions.corsProxyUrl):null,this.options.authCorsProxyUrl=this.rawOptions.authCorsProxyUrl?Ae(this.rawOptions.authCorsProxyUrl):null,this.options.theme.scrollYOffset=this.options.scrollYOffset,this.options.linkForId=this.rawOptions.linkForId||(0,B.rR)(Me.C.LINK_FOR_ID)||null,this.options.generateDeepLink=this.rawOptions.generateDeepLink||(0,B.rR)(Me.C.GENERATE_DEEP_LINK)||null,this.options.onDeepLinkClick=this.rawOptions.onDeepLinkClick||(0,B.rR)(Me.C.ON_DEEP_LINK_CLICK)||null,this.options.requestInterceptor=this.rawOptions.requestInterceptor||(0,B.rR)(Me.C.REQUEST_INTERCEPTOR)||null,this.options.sidebarLinks=this.rawOptions.sidebarLinks||{};const vt=typeof this.rawOptions.layout=="object"?this.rawOptions.layout:null;if(this.options.pagination=this.rawOptions.pagination||"none",this.options.routingStrategy=this.rawOptions.routingStrategy!==void 0?this.rawOptions.routingStrategy:this.options.pagination==="none"?"hash":"browser",!((ct=this.rawOptions)==null?void 0:ct.pagination)&&!!(vt==null?void 0:vt.scope))switch(console.warn('"layout.scope" and "routingStrategy" settings are deprecated. Please, use "pagination" instead.'),vt==null?void 0:vt.scope){case"all":this.options.pagination="none",this.options.routingStrategy="hash";break;case"section":this.options.pagination="section",this.options.routingStrategy="browser";break;case"item":this.options.pagination="item",this.options.routingStrategy="browser";break;default:this.options.pagination="none",this.options.routingStrategy="hash";break}this.options.markdownItemsPagination="none",this.rawOptions.showNextButton!==!1&&(this.options.showNextButton=!0),this.options.disableSidebar=!!D.disableSidebar,this.options.disableSidebar&&(this.options.theme.sidebar.width="0px"),this.options.skipBundleAndConvert=!!D.skipBundleAndConvert,this.options.routingBasePath=D.routingBasePath&&(0,Ln.AH)(D.routingBasePath)||"",this.options.searchAutoExpand=D.searchAutoExpand!==!1,this.options.searchMode=D.searchMode||"default",this.options.ctrlFHijack=D.ctrlFHijack===void 0||D.ctrlFHijack,this.options.disablePaginationLoadingAnimation=!!D.disablePaginationLoadingAnimation||this.options.pagination==="none",this.options.showConsole,this.options.generateCodeSamples=D.generateCodeSamples||{languages:[]},this.options.searchMaxDepth=this.rawOptions.searchMaxDepth||Pt}initSearch(D,M){fn.__REDOCLY_SEARCH_URL?this.search=new zt(fn.__REDOCLY_SEARCH_URL):this.search=new Mt(D),M&&setTimeout(()=>{var z;return(z=this.search)==null?void 0:z.indexItems(this.menu.items)},50),this.definition instanceof Yt&&(0,b.N7)(this.definition,"activeVersionIdx",z=>{var ge,Re;const We=this.definition;(ge=this.search)==null||ge.dispose(),this.search=new Mt(D);const ct=We.versions[z.newValue]._searchIndexName;if(!v.IS_BROWSER||!ct)setTimeout(()=>{var vt;(vt=this.search)==null||vt.indexItems(this.menu.items)},0);else{const vt=We.versions[z.newValue]._searchIndexName,_t=new URL(window.location.href);_t.pathname=ye(this.options.routingBasePath,vt),(Re=this.search)==null||Re.fromExternalJS(_t.toString(),__redoc_state.searchIndexExport),this.observeAllAndRemark()}}),v.IS_BROWSER&&this.observeAllAndRemark()}onDidMount(){if(this.menu.updateOnHistory(),this.updateMarkOnMenu(this.menu.activeItemIdx),this.layout=(0,B.Y9)("layoutVariant")||this.options.layout||this.layout,this.activeSampleLanguage=(0,B.Y9)("activeSampleLanguage")||this.options.defaultSampleLanguage,this.options.showRightPanelToggle){const D=(0,B.YQ)("showRightPanelToggleState");D&&(this.showRightPanel=D==="true")}}toggleRightPanel(D){this.showRightPanel=D!=null?D:!this.showRightPanel,(0,B.WW)("showRightPanelToggleState",JSON.stringify(this.showRightPanel))}toggleLayout(D=xn.N.THREE_PANEL){this.layout=D,(0,B.Im)("layoutVariant",D)}disableConsole(){this.options.showConsole=!1}enableConsole(){this.options.showConsole=!0}tryItOut(D){this.tryItOperation=D}setActiveSampleLanguage(D){if(this.activeSampleLanguage===D)return this.stopLoader();this.activeSampleLanguage=D,(0,B.Im)("activeSampleLanguage",D)}activateSampleLanguage(D){this.setActiveSampleLanguage(D)}startLoader(){this.isLoading||(this.isLoading=!0)}stopLoader(){this.isLoading&&(this.isLoading=!1)}dereferenceSpecForTryIt(D){return It(this,null,function*(){var M,z,ge,Re;const We=this.definition.parser.definition,ct=JSON.parse(JSON.stringify(We)),vt=Tr(Sr({},gt(ct)),{components:ct.components,paths:{[D.path]:{[D.httpVerb]:(z=(M=ct.paths)==null?void 0:M[D.path])==null?void 0:z[D.httpVerb],parameters:(Re=(ge=ct.paths)==null?void 0:ge[D.path])==null?void 0:Re.parameters}}}),_t=new m.De({}),Sn=(0,v.createParsedDocument)(vt),Wn={config:_t,doc:Sn,dereference:!0};return yield(0,m.gR)(Wn),ct})}observeAllAndRemark(){const D=(z,ge=0)=>{if(!(!z||z.isCircular||ge>this.options.searchMaxDepth)){if(z.items){D(z.items,ge+1);return}for(const Re of z.fields||[])(Re.schema.fields||Re.schema.items)&&((0,b.N7)(Re,"expanded",We=>this.remark(We)),D(Re.schema,ge+1))}},M=z=>{for(const ge of z)if(ge.type==="operation"){const Re=ge.responses;for(const We of Re)(0,b.N7)(We,"expanded",ct=>this.remark(ct))}else ge.type==="tag"&&M(ge.items||[])};M(this.menu.renderItems),this.options.pagination!=="none"&&(0,b.N7)(this.menu,"renderItems",()=>M(this.menu.renderItems))}remark(D){D.newValue&&setTimeout(()=>this.marker.mark(),0)}static fromJS(D){var M;const z=new ar(D.definition.data,D.definition.url,D.options,!1);(0,B._3)(z),z.menu.activeItemIdx=D.menu.activeItemIdx!==void 0?D.menu.activeItemIdx:-1,z.definition instanceof Yt&&D.definition.activeVersionIdx&&(z.definition.activeVersionIdx=D.definition.activeVersionIdx||0);const ge=z.menu.flatItems[z.menu.activeItemIdx];if(ge&&z.menu.activate(ge,!1),!z.options.disableSearch){const Re=new URL(window.location.href);Re.pathname=D.searchIndexPath&&D.searchIndexPath.startsWith("/")?D.searchIndexPath:Re.pathname+(Re.pathname.endsWith("/")?"":"/")+D.searchIndexPath,(M=z.search)==null||M.fromExternalJS(Re.toString(),D.searchIndexExport)}return D.tryItOperationId&&(z.tryItOperation=z.menu.flatItems.find(Re=>Re.id===D.tryItOperationId)),setTimeout(()=>z.observeAllAndRemark(),0),z}toJS(){return It(this,null,function*(){var D;return{menu:{activeItemIdx:this.menu.activeItemIdx},definition:this.definition instanceof Yt?{url:void 0,data:this.definition.toJS()}:{url:this.definition.parser.definitionUrl,data:this.definition.parser.definition},searchIndex:this.search?yield this.search.toJS():void 0,options:this.rawOptions,tryItOperationId:(D=this.tryItOperation)==null?void 0:D.id}})}dispose(){this.scroll.dispose(),this.menu.dispose(),this.search&&this.search.dispose(),this.disposer()}updateMarkOnMenu(D){const M=Math.max(0,D),z=Math.min(this.menu.flatItems.length,M+5),ge=[];for(let Re=M;Re<z;Re++){const We=this.menu.getElementAt(Re);!We||We&&ge.push(We)}if(this.options.pagination==="item"){const{parent:Re}=this.menu.flatItems[D]||{};if(Re==null?void 0:Re.absoluteIdx){const We=this.menu.getElementAt(Re.absoluteIdx);We&&ge.push(We)}}this.marker.addOnly(ge),this.marker.mark()}};let nr=ar;qn([b.LO],nr.prototype,"search",2),qn([b.LO],nr.prototype,"tryItOperation",2),qn([b.LO],nr.prototype,"showRightPanel",2),qn([b.LO],nr.prototype,"layout",2),qn([b.LO],nr.prototype,"activeSampleLanguage",2),qn([b.LO],nr.prototype,"isLoading",2),qn([b.aD],nr.prototype,"onDidMount",1),qn([b.aD],nr.prototype,"toggleRightPanel",1),qn([b.aD],nr.prototype,"toggleLayout",1),qn([b.aD],nr.prototype,"disableConsole",1),qn([b.aD],nr.prototype,"enableConsole",1),qn([b.aD],nr.prototype,"tryItOut",1),qn([b.aD],nr.prototype,"setActiveSampleLanguage",1),qn([y.bind,(0,y.debounce)(500)],nr.prototype,"activateSampleLanguage",1),qn([b.aD],nr.prototype,"startLoader",1),qn([b.aD],nr.prototype,"stopLoader",1);const Ye={ignoreNamedSchemas:["java.io.ObjectStreamField"],allowedMdComponents:{RedocResponse:{component:ee,propsSelector(D){return{store:D}}},PullRight:{component:x,propsSelector(){return{}}},[v.SCHEMA_DEFINITION_JSX_NAME]:{component:v.SchemaDefinition,propsSelector:D=>({parser:D.definition.parser,options:D.options,layout:D.layout,showRightPanel:D.showRightPanel})},[v.SECURITY_DEFINITIONS_COMPONENT_NAME]:{component:De,propsSelector:D=>({securitySchemes:D.definition.securitySchemes})},[v.SECURITY_DEFINITIONS_JSX_NAME]:{component:De,propsSelector:D=>({securitySchemes:D.definition.securitySchemes})}}};function ye(D,M){return D.endsWith("/")&&(D=D.slice(0,-1)),M.startsWith("/")&&(M=M.substring(1)),`${D}/${M}`}function Ae(D){return D.endsWith("/")?D:D+"/"}function gt(D){if(D.openapi)return{openapi:D.openapi};if(D.swagger)return{swagger:D.swagger}}function Ve(D){if(typeof D!="object"||D===null)return D;const M=Array.isArray(D)?[]:{};for(const z in D){const ge=D[z];M[z]=Ve(ge)}return M}var Gt=nn(80150),rt=nn(86137),an=nn(67294);const pn=()=>an.createElement("svg",{version:"1.1",viewBox:"0 0 12 12",width:"12",height:"12",xmlns:"http://www.w3.org/2000/svg",fill:"none",className:"clear-icon"},an.createElement("path",{d:"M11 1L6 6L11 11",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),an.createElement("path",{d:"M1 1L6 6L1 11",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})),jn=v.styled.i.attrs(()=>({className:"button-close"}))`
|
|
3167
|
+
${st("word-break",(Ae=(ge=D.typography)==null?void 0:ge.code)==null?void 0:Ae.wordBreak)}
|
|
3168
|
+
`},Prism:({theme:D})=>{var M,z,ge;return tn((M=D==null?void 0:D.codeBlock)==null?void 0:M.tokens)+st("word-break",(ge=(z=D.typography)==null?void 0:z.code)==null?void 0:ge.wordBreak)}};function bn(D,M){return qt[D]&&qt[D](M)}var Fn=nn(13066),Nn=nn(64776),rr=(D,M,z)=>new Promise((ge,Ae)=>{var Ve=_t=>{try{vt(z.next(_t))}catch(Sn){Ae(Sn)}},ct=_t=>{try{vt(z.throw(_t))}catch(Sn){Ae(Sn)}},vt=_t=>_t.done?ge(_t.value):Promise.resolve(_t.value).then(Ve,ct);vt((z=z.apply(D,M)).next())});function jn(D){return"then"in D?D:new Promise(M=>{D.oncomplete=z=>{M(z.target.result)}})}function En(D){const M=new ArrayBuffer(D.length),z=new Uint8Array(M);for(let ge=0,Ae=D.length;ge<Ae;ge++)z[ge]=D.charCodeAt(ge);return M}const Xn=()=>{var D;const M=En(atob("MFwwDQYJKoZIhvcNAQEBBQADSwAwSAJBAMHjNir5fXx/ZXoaEeXQ5XyxbNJ4YJYczoCRdSkL6NLzw1FHnng5Vfcgk5+bvox9QRYRbuk84mA4f2NhywDbXKECAwEAAQ=="));return jn((D=Nn.EA)==null?void 0:D.subtle.importKey("spki",M,{name:"RSASSA-PKCS1-v1_5",hash:"SHA-256"},!0,["verify"]))};function kn(D){if(window.TextEncoder)return new TextEncoder().encode(D);const M=unescape(encodeURIComponent(D)),z=new Uint8Array(M.length);for(let ge=0;ge<M.length;ge++)z[ge]=M.charCodeAt(ge);return z}function On(D,M){return rr(this,null,function*(){var z;return jn((z=Nn.EA)==null?void 0:z.subtle.verify({name:"RSASSA-PKCS1-v1_5",hash:"SHA-256"},yield Xn(),En(atob(M)),kn(D)))})}function Yn(D,M){return M===!0?!0:Array.isArray(M)&&typeof window!="undefined"?D==="localhost"||D==="127.0.0.1"||D.endsWith(".localhost")||!!M.find(z=>z===D||D.endsWith("."+z))?!0:!!M.find(z=>{if(z.indexOf("*")!==z.lastIndexOf("*"))return;const[ge,Ae]=z.split("*");return Ae&&D.startsWith(ge)&&D.endsWith(Ae)&&Ae.split(".").length>2}):!1}function Hn(D){return rr(this,null,function*(){const M=Fn.Qg&&window.location.hostname||"";if(!D)return M==="localhost"||M==="127.0.0.1"||M.endsWith(".localhost")?{local:!0}:{};const[z,ge]=D.split(".");let Ae;try{if(!(yield On(atob(z),ge)))return{valid:!1};Ae=JSON.parse(atob(z))}catch(Ve){return{valid:!1,cryptoMissing:!0}}return Ae.valid=!0,(!Ae.e||Date.now()/1e3>Ae.e)&&(Ae.expired=!0),Ae.allowed=Yn(M,Ae.h),(Ae==null?void 0:Ae.s)==="plugin"?{plugin:{valid:!0,utms:{utm_campaign:Array.isArray(Ae==null?void 0:Ae.h)&&(Ae==null?void 0:Ae.h[0])||"preview-docs"}}}:Ae})}var xn=nn(24787),hr=nn(20906),sr=Object.defineProperty,ur=Object.defineProperties,Qn=Object.getOwnPropertyDescriptor,vr=Object.getOwnPropertyDescriptors,Dr=Object.getOwnPropertySymbols,jr=Object.prototype.hasOwnProperty,Er=Object.prototype.propertyIsEnumerable,Vr=(D,M,z)=>M in D?sr(D,M,{enumerable:!0,configurable:!0,writable:!0,value:z}):D[M]=z,Sr=(D,M)=>{for(var z in M||(M={}))jr.call(M,z)&&Vr(D,z,M[z]);if(Dr)for(var z of Dr(M))Er.call(M,z)&&Vr(D,z,M[z]);return D},Tr=(D,M)=>ur(D,vr(M)),qn=(D,M,z,ge)=>{for(var Ae=ge>1?void 0:ge?Qn(M,z):M,Ve=D.length-1,ct;Ve>=0;Ve--)(ct=D[Ve])&&(Ae=(ge?ct(M,z,Ae):ct(Ae))||Ae);return ge&&Ae&&sr(M,z,Ae),Ae},ln=(D,M,z)=>(Vr(D,typeof M!="symbol"?M+"":M,z),z),It=(D,M,z)=>new Promise((ge,Ae)=>{var Ve=_t=>{try{vt(z.next(_t))}catch(Sn){Ae(Sn)}},ct=_t=>{try{vt(z.throw(_t))}catch(Sn){Ae(Sn)}},vt=_t=>_t.done?ge(_t.value):Promise.resolve(_t.value).then(Ve,ct);vt((z=z.apply(D,M)).next())});const pn=typeof window=="undefined"?{__REDOCLY_SEARCH_URL:void 0}:window;class vn{constructor(M,z,ge,Ae){ln(this,"id"),ln(this,"absoluteIdx"),ln(this,"name"),ln(this,"description"),ln(this,"type"),ln(this,"linkable"),ln(this,"items",[]),ln(this,"parent"),ln(this,"externalDocs"),ln(this,"active",!1),ln(this,"expanded",!1),ln(this,"depth"),ln(this,"level"),(0,b.rC)(this),this.id="section/"+M,this.type="nesting-group",this.name=ge||"",this.level=1,this.depth=1,this.description="",this.parent=void 0,this.expanded=!1,this.items=z,this.linkable=!!Ae,z.forEach(Ve=>Ve.parent=this),er(z)}activate(){this.active=!0}expand(){this.expanded=!0,this.parent&&this.parent.expand()}collapse(){this.expanded=!1}deactivate(){this.active=!1}}qn([b.LO],vn.prototype,"active",2),qn([b.LO],vn.prototype,"expanded",2),qn([b.aD],vn.prototype,"activate",1),qn([b.aD],vn.prototype,"expand",1),qn([b.aD],vn.prototype,"collapse",1),qn([b.aD],vn.prototype,"deactivate",1);function er(D){!Array.isArray(D)||D.forEach(M=>{M.depth++,M.parent&&M.parent.type==="group"&&(M.depth=M.parent.depth),er(M.items)})}const ar=class{constructor(D,M,z={},ge=!0){ln(this,"rawOptions"),ln(this,"options"),ln(this,"menu"),ln(this,"definition"),ln(this,"marker",new v.MarkerService),ln(this,"scroll"),ln(this,"disposer"),ln(this,"search"),ln(this,"tryItOperation"),ln(this,"showRightPanel",!0),ln(this,"layout",(0,B.Y9)("layoutVariant")||xn.N.THREE_PANEL),ln(this,"activeSampleLanguage"),ln(this,"isLoading"),ln(this,"l"),(0,b.rC)(this),this.initProOptions(z),v.IS_BROWSER&&(this.l=Hn(z.licenseKey),this.l.then(ct=>{(!ct.valid||!ct.allowed||ct.expired)&&!ct.local&&!ct.plugin&&(this.menu.items=[],this.menu.flatItems=this.menu.flatItems.slice(0,1),this.menu.renderItems=[])}));const Ae=typeof D=="object"&&"versions"in D,Ve=this.options.disableSidebar?new ne(this.options):this.options.routingStrategy==="browser"?new $(this.options,Ae):new Te(this.options,Ae);this.definition=Ae?new Yt(D,this.options,Ve.currentId.split("/")[0]):new v.SpecStore(D,M,this.options),z.downloadDefinitionUrl&&(this.definition.info.downloadFileName=""),this.scroll=new v.ScrollService(this.options),this.options.disableSidebar||it.updateOnHistory(Ve.currentId,this.scroll),this.menu=new it(this.definition,this.scroll,this.options,Ve),this.menu.initOnHistory(),this.options.disableSearch||this.initSearch(this.options,ge),this.disposer=(0,b.N7)(this.menu,this.options.pagination==="none"?"activeItemIdx":"activeRenderItemIdx",ct=>{setTimeout(()=>this.updateMarkOnMenu(ct.newValue))}),(0,B._3)(this)}initProOptions(D){var M,z,ge,Ae,Ve,ct;D=We(D),this.rawOptions=ot(D),this.options=new v.RedocNormalizedOptions(this.rawOptions,Ye),this.rawOptions.showConsole!=null&&console.warn('"showConsole" option is deprecated. Please, use "hideTryItPanel" instead.'),this.options.showConsole=this.rawOptions.hideTryItPanel!=null?!this.rawOptions.hideTryItPanel:(M=this.rawOptions.showConsole)!=null?M:!0,this.options.hideRightPanel=(z=this.rawOptions.hideRightPanel)!=null?z:!1,this.showRightPanel=!this.options.hideRightPanel,this.options.showRightPanelToggle=(ge=this.rawOptions.showRightPanelToggle)!=null?ge:!0,this.options.showChangeLayoutButton=(Ae=this.rawOptions.showChangeLayoutButton)!=null?Ae:!0,this.options.layout=this.rawOptions.layout||xn.N.THREE_PANEL,this.options.defaultSampleLanguage=this.rawOptions.defaultSampleLanguage||"",this.options.deepLinkSeparator=this.rawOptions.deepLinkSeparator||"/",this.options.deepLinkPrefix=this.rawOptions.deepLinkPrefix||"!",this.options.disableDeepLinks=this.rawOptions.disableDeepLinks||!1,this.options.sideNavStyle=this.rawOptions.sideNavStyle||hr.s.SummaryOnly,this.options.whiteLabel=!!this.rawOptions.whiteLabel,this.options.hideLogo=!!this.rawOptions.hideLogo,this.options.hideInfoSection=!!this.rawOptions.hideInfoSection,this.options.oAuth2RedirectURI=this.rawOptions.oAuth2RedirectURI||null,this.options.unstable_hideServerUrlInTryIt=this.rawOptions.unstable_hideServerUrlInTryIt||!1,this.options.oAuth2RedirectURI=this.rawOptions.oAuth2RedirectURI||null,this.options.events=this.rawOptions.events||{},this.options.mockServer=((Ve=this.rawOptions.mockServer)==null?void 0:Ve.url)?{url:this.rawOptions.mockServer.url,position:this.rawOptions.mockServer.position||"first",description:this.rawOptions.mockServer.description||"Mock server"}:null,this.options.corsProxyUrl=this.rawOptions.corsProxyUrl?Re(this.rawOptions.corsProxyUrl):null,this.options.authCorsProxyUrl=this.rawOptions.authCorsProxyUrl?Re(this.rawOptions.authCorsProxyUrl):null,this.options.theme.scrollYOffset=this.options.scrollYOffset,this.options.linkForId=this.rawOptions.linkForId||(0,B.rR)(Me.C.LINK_FOR_ID)||null,this.options.generateDeepLink=this.rawOptions.generateDeepLink||(0,B.rR)(Me.C.GENERATE_DEEP_LINK)||null,this.options.onDeepLinkClick=this.rawOptions.onDeepLinkClick||(0,B.rR)(Me.C.ON_DEEP_LINK_CLICK)||null,this.options.requestInterceptor=this.rawOptions.requestInterceptor||(0,B.rR)(Me.C.REQUEST_INTERCEPTOR)||null,this.options.sidebarLinks=this.rawOptions.sidebarLinks||{};const vt=typeof this.rawOptions.layout=="object"?this.rawOptions.layout:null;if(this.options.pagination=this.rawOptions.pagination||"none",this.options.routingStrategy=this.rawOptions.routingStrategy!==void 0?this.rawOptions.routingStrategy:this.options.pagination==="none"?"hash":"browser",!((ct=this.rawOptions)==null?void 0:ct.pagination)&&!!(vt==null?void 0:vt.scope))switch(console.warn('"layout.scope" and "routingStrategy" settings are deprecated. Please, use "pagination" instead.'),vt==null?void 0:vt.scope){case"all":this.options.pagination="none",this.options.routingStrategy="hash";break;case"section":this.options.pagination="section",this.options.routingStrategy="browser";break;case"item":this.options.pagination="item",this.options.routingStrategy="browser";break;default:this.options.pagination="none",this.options.routingStrategy="hash";break}this.options.markdownItemsPagination="none",this.rawOptions.showNextButton!==!1&&(this.options.showNextButton=!0),this.options.disableSidebar=!!D.disableSidebar,this.options.disableSidebar&&(this.options.theme.sidebar.width="0px"),this.options.skipBundleAndConvert=!!D.skipBundleAndConvert,this.options.routingBasePath=D.routingBasePath&&(0,Nn.AH)(D.routingBasePath)||"",this.options.searchAutoExpand=D.searchAutoExpand!==!1,this.options.searchMode=D.searchMode||"default",this.options.ctrlFHijack=D.ctrlFHijack===void 0||D.ctrlFHijack,this.options.disablePaginationLoadingAnimation=!!D.disablePaginationLoadingAnimation||this.options.pagination==="none",this.options.showConsole,this.options.generateCodeSamples=D.generateCodeSamples||{languages:[]},this.options.searchMaxDepth=this.rawOptions.searchMaxDepth||Pt}initSearch(D,M){pn.__REDOCLY_SEARCH_URL?this.search=new zt(pn.__REDOCLY_SEARCH_URL):this.search=new Mt(D),M&&setTimeout(()=>{var z;return(z=this.search)==null?void 0:z.indexItems(this.menu.items)},50),this.definition instanceof Yt&&(0,b.N7)(this.definition,"activeVersionIdx",z=>{var ge,Ae;const Ve=this.definition;(ge=this.search)==null||ge.dispose(),this.search=new Mt(D);const ct=Ve.versions[z.newValue]._searchIndexName;if(!v.IS_BROWSER||!ct)setTimeout(()=>{var vt;(vt=this.search)==null||vt.indexItems(this.menu.items)},0);else{const vt=Ve.versions[z.newValue]._searchIndexName,_t=new URL(window.location.href);_t.pathname=ye(this.options.routingBasePath,vt),(Ae=this.search)==null||Ae.fromExternalJS(_t.toString(),__redoc_state.searchIndexExport),this.observeAllAndRemark()}}),v.IS_BROWSER&&this.observeAllAndRemark()}onDidMount(){if(this.menu.updateOnHistory(),this.updateMarkOnMenu(this.menu.activeItemIdx),this.layout=(0,B.Y9)("layoutVariant")||this.options.layout||this.layout,this.activeSampleLanguage=(0,B.Y9)("activeSampleLanguage")||this.options.defaultSampleLanguage,this.options.showRightPanelToggle){const D=(0,B.YQ)("showRightPanelToggleState");D&&(this.showRightPanel=D==="true")}}toggleRightPanel(D){this.showRightPanel=D!=null?D:!this.showRightPanel,(0,B.WW)("showRightPanelToggleState",JSON.stringify(this.showRightPanel))}toggleLayout(D=xn.N.THREE_PANEL){this.layout=D,(0,B.Im)("layoutVariant",D)}disableConsole(){this.options.showConsole=!1}enableConsole(){this.options.showConsole=!0}tryItOut(D){this.tryItOperation=D}setActiveSampleLanguage(D){if(this.activeSampleLanguage===D)return this.stopLoader();this.activeSampleLanguage=D,(0,B.Im)("activeSampleLanguage",D)}activateSampleLanguage(D){this.setActiveSampleLanguage(D)}startLoader(){this.isLoading||(this.isLoading=!0)}stopLoader(){this.isLoading&&(this.isLoading=!1)}dereferenceSpecForTryIt(D){return It(this,null,function*(){var M,z,ge,Ae;const Ve=this.definition.parser.definition,ct=JSON.parse(JSON.stringify(Ve)),vt=Tr(Sr({},gt(ct)),{components:ct.components,paths:{[D.path]:{[D.httpVerb]:(z=(M=ct.paths)==null?void 0:M[D.path])==null?void 0:z[D.httpVerb],parameters:(Ae=(ge=ct.paths)==null?void 0:ge[D.path])==null?void 0:Ae.parameters}}}),_t=new m.De({}),Sn=(0,v.createParsedDocument)(vt),Wn={config:_t,doc:Sn,dereference:!0};return yield(0,m.gR)(Wn),ct})}observeAllAndRemark(){const D=(z,ge=0)=>{if(!(!z||z.isCircular||ge>this.options.searchMaxDepth)){if(z.items){D(z.items,ge+1);return}for(const Ae of z.fields||[])(Ae.schema.fields||Ae.schema.items)&&((0,b.N7)(Ae,"expanded",Ve=>this.remark(Ve)),D(Ae.schema,ge+1))}},M=z=>{for(const ge of z)if(ge.type==="operation"){const Ae=ge.responses;for(const Ve of Ae)(0,b.N7)(Ve,"expanded",ct=>this.remark(ct))}else ge.type==="tag"&&M(ge.items||[])};M(this.menu.renderItems),this.options.pagination!=="none"&&(0,b.N7)(this.menu,"renderItems",()=>M(this.menu.renderItems))}remark(D){D.newValue&&setTimeout(()=>this.marker.mark(),0)}static fromJS(D){var M;const z=new ar(D.definition.data,D.definition.url,D.options,!1);(0,B._3)(z),z.menu.activeItemIdx=D.menu.activeItemIdx!==void 0?D.menu.activeItemIdx:-1,z.definition instanceof Yt&&D.definition.activeVersionIdx&&(z.definition.activeVersionIdx=D.definition.activeVersionIdx||0);const ge=z.menu.flatItems[z.menu.activeItemIdx];if(ge&&z.menu.activate(ge,!1),!z.options.disableSearch){const Ae=new URL(window.location.href);Ae.pathname=D.searchIndexPath&&D.searchIndexPath.startsWith("/")?D.searchIndexPath:Ae.pathname+(Ae.pathname.endsWith("/")?"":"/")+D.searchIndexPath,(M=z.search)==null||M.fromExternalJS(Ae.toString(),D.searchIndexExport)}return D.tryItOperationId&&(z.tryItOperation=z.menu.flatItems.find(Ae=>Ae.id===D.tryItOperationId)),setTimeout(()=>z.observeAllAndRemark(),0),z}toJS(){return It(this,null,function*(){var D;return{menu:{activeItemIdx:this.menu.activeItemIdx},definition:this.definition instanceof Yt?{url:void 0,data:this.definition.toJS()}:{url:this.definition.parser.definitionUrl,data:this.definition.parser.definition},searchIndex:this.search?yield this.search.toJS():void 0,options:this.rawOptions,tryItOperationId:(D=this.tryItOperation)==null?void 0:D.id}})}dispose(){this.scroll.dispose(),this.menu.dispose(),this.search&&this.search.dispose(),this.disposer()}updateMarkOnMenu(D){const M=Math.max(0,D),z=Math.min(this.menu.flatItems.length,M+5),ge=[];for(let Ae=M;Ae<z;Ae++){const Ve=this.menu.getElementAt(Ae);!Ve||Ve&&ge.push(Ve)}if(this.options.pagination==="item"){const{parent:Ae}=this.menu.flatItems[D]||{};if(Ae==null?void 0:Ae.absoluteIdx){const Ve=this.menu.getElementAt(Ae.absoluteIdx);Ve&&ge.push(Ve)}}this.marker.addOnly(ge),this.marker.mark()}};let nr=ar;qn([b.LO],nr.prototype,"search",2),qn([b.LO],nr.prototype,"tryItOperation",2),qn([b.LO],nr.prototype,"showRightPanel",2),qn([b.LO],nr.prototype,"layout",2),qn([b.LO],nr.prototype,"activeSampleLanguage",2),qn([b.LO],nr.prototype,"isLoading",2),qn([b.aD],nr.prototype,"onDidMount",1),qn([b.aD],nr.prototype,"toggleRightPanel",1),qn([b.aD],nr.prototype,"toggleLayout",1),qn([b.aD],nr.prototype,"disableConsole",1),qn([b.aD],nr.prototype,"enableConsole",1),qn([b.aD],nr.prototype,"tryItOut",1),qn([b.aD],nr.prototype,"setActiveSampleLanguage",1),qn([y.bind,(0,y.debounce)(500)],nr.prototype,"activateSampleLanguage",1),qn([b.aD],nr.prototype,"startLoader",1),qn([b.aD],nr.prototype,"stopLoader",1);const Ye={ignoreNamedSchemas:["java.io.ObjectStreamField"],allowedMdComponents:{RedocResponse:{component:ee,propsSelector(D){return{store:D}}},PullRight:{component:x,propsSelector(){return{}}},[v.SCHEMA_DEFINITION_JSX_NAME]:{component:v.SchemaDefinition,propsSelector:D=>({parser:D.definition.parser,options:D.options,layout:D.layout,showRightPanel:D.showRightPanel})},[v.SECURITY_DEFINITIONS_COMPONENT_NAME]:{component:De,propsSelector:D=>({securitySchemes:D.definition.securitySchemes})},[v.SECURITY_DEFINITIONS_JSX_NAME]:{component:De,propsSelector:D=>({securitySchemes:D.definition.securitySchemes})}}};function ye(D,M){return D.endsWith("/")&&(D=D.slice(0,-1)),M.startsWith("/")&&(M=M.substring(1)),`${D}/${M}`}function Re(D){return D.endsWith("/")?D:D+"/"}function gt(D){if(D.openapi)return{openapi:D.openapi};if(D.swagger)return{swagger:D.swagger}}function We(D){if(typeof D!="object"||D===null)return D;const M=Array.isArray(D)?[]:{};for(const z in D){const ge=D[z];M[z]=We(ge)}return M}var Qt=nn(80150),rt=nn(86137),sn=nn(67294);const an=()=>sn.createElement("svg",{version:"1.1",viewBox:"0 0 12 12",width:"12",height:"12",xmlns:"http://www.w3.org/2000/svg",fill:"none",className:"clear-icon"},sn.createElement("path",{d:"M11 1L6 6L11 11",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),sn.createElement("path",{d:"M1 1L6 6L1 11",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})),In=v.styled.i.attrs(()=>({className:"button-close"}))`
|
|
3169
3169
|
cursor: pointer;
|
|
3170
3170
|
position: absolute;
|
|
3171
3171
|
right: 15px;
|
|
3172
3172
|
color: ${({theme:D})=>D.colors.text.primary};
|
|
3173
|
-
`,
|
|
3173
|
+
`,Ht=v.styled.i.attrs(()=>({className:"button-clear"}))`
|
|
3174
3174
|
cursor: pointer;
|
|
3175
3175
|
position: absolute;
|
|
3176
|
-
`,
|
|
3176
|
+
`,Tn=()=>sn.createElement("svg",{version:"1.1",viewBox:"0 0 15 16",width:"15",height:"16",xmlns:"http://www.w3.org/2000/svg",fill:"none",className:"search-icon"},sn.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.5 14C11.0899 14 14 11.0899 14 7.5C14 3.91015 11.0899 1 7.5 1C3.91015 1 1 3.91015 1 7.5C1 11.0899 3.91015 14 7.5 14Z",stroke:"currentColor",strokeWidth:"2"}),sn.createElement("path",{d:"M7.5 5C6.11929 5 5 6.11929 5 7.5",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round"}),sn.createElement("path",{d:"M1 15L3 13",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})),_n=v.styled.button.attrs(()=>({className:"button-field-search"}))`
|
|
3177
3177
|
cursor: text;
|
|
3178
3178
|
margin: 10px 20px 13px;
|
|
3179
3179
|
padding: 0 18px 0 3px;
|
|
@@ -3215,7 +3215,7 @@ Add a <Suspense fallback=...> component higher in the tree to provide a loading
|
|
|
3215
3215
|
margin-top: 4px;
|
|
3216
3216
|
z-index: 3;
|
|
3217
3217
|
}
|
|
3218
|
-
`,
|
|
3218
|
+
`,Be=v.styled.div.attrs(()=>({className:"search-popup"}))`
|
|
3219
3219
|
position: fixed;
|
|
3220
3220
|
top: 0;
|
|
3221
3221
|
right: 0;
|
|
@@ -3230,7 +3230,7 @@ Add a <Suspense fallback=...> component higher in the tree to provide a loading
|
|
|
3230
3230
|
width: 100%;
|
|
3231
3231
|
max-width: 500px;
|
|
3232
3232
|
height: 445px;
|
|
3233
|
-
`,
|
|
3233
|
+
`,jt=v.styled.div`
|
|
3234
3234
|
background-color: ${({theme:D})=>D.colors.secondary.light};
|
|
3235
3235
|
border-top-left-radius: ${({theme:D})=>D.components.panels.borderRadius};
|
|
3236
3236
|
border-top-right-radius: ${({theme:D})=>D.components.panels.borderRadius};
|
|
@@ -3274,7 +3274,7 @@ Add a <Suspense fallback=...> component higher in the tree to provide a loading
|
|
|
3274
3274
|
display: none;
|
|
3275
3275
|
}
|
|
3276
3276
|
}
|
|
3277
|
-
`,
|
|
3277
|
+
`,Dn=v.styled.div`
|
|
3278
3278
|
max-height: 372px;
|
|
3279
3279
|
`,Cr=v.styled.input.attrs(()=>({className:"search-input"}))`
|
|
3280
3280
|
padding: 0 35px;
|
|
@@ -3283,7 +3283,7 @@ Add a <Suspense fallback=...> component higher in the tree to provide a loading
|
|
|
3283
3283
|
background-color: transparent;
|
|
3284
3284
|
width: 100%;
|
|
3285
3285
|
margin-top: 2px;
|
|
3286
|
-
`;var Rr=nn(67294);const $r=({showPopUp:D,searchValue:M,marker:z,setSearchValue:ge})=>{const
|
|
3286
|
+
`;var Rr=nn(67294);const $r=({showPopUp:D,searchValue:M,marker:z,setSearchValue:ge})=>{const Ae=!!M,Ve=ct=>{ct.stopPropagation(),z.unmark(),ge("")};return Rr.createElement(_n,{onClick:D},Rr.createElement("span",null),M||"Search",Rr.createElement(Tn,null),Ae&&Rr.createElement(Ht,{onClick:Ve},Rr.createElement(an,null)))};/*!
|
|
3287
3287
|
* hotkeys-js v3.8.7
|
|
3288
3288
|
* A simple micro-library for defining and dispatching keyboard shortcuts. It has no dependencies.
|
|
3289
3289
|
*
|
|
@@ -3291,7 +3291,7 @@ Add a <Suspense fallback=...> component higher in the tree to provide a loading
|
|
|
3291
3291
|
* http://jaywcjlove.github.io/hotkeys
|
|
3292
3292
|
*
|
|
3293
3293
|
* Licensed under the MIT license.
|
|
3294
|
-
*/var
|
|
3294
|
+
*/var Mn=typeof navigator!="undefined"?navigator.userAgent.toLowerCase().indexOf("firefox")>0:!1;function lr(D,M,z){D.addEventListener?D.addEventListener(M,z,!1):D.attachEvent&&D.attachEvent("on".concat(M),function(){z(window.event)})}function ni(D,M){for(var z=M.slice(0,M.length-1),ge=0;ge<z.length;ge++)z[ge]=D[z[ge].toLowerCase()];return z}function Hr(D){typeof D!="string"&&(D=""),D=D.replace(/\s/g,"");for(var M=D.split(","),z=M.lastIndexOf("");z>=0;)M[z-1]+=",",M.splice(z,1),z=M.lastIndexOf("");return M}function _r(D,M){for(var z=D.length>=M.length?D:M,ge=D.length>=M.length?M:D,Ae=!0,Ve=0;Ve<z.length;Ve++)ge.indexOf(z[Ve])===-1&&(Ae=!1);return Ae}for(var qr={backspace:8,tab:9,clear:12,enter:13,return:13,esc:27,escape:27,space:32,left:37,up:38,right:39,down:40,del:46,delete:46,ins:45,insert:45,home:36,end:35,pageup:33,pagedown:34,capslock:20,num_0:96,num_1:97,num_2:98,num_3:99,num_4:100,num_5:101,num_6:102,num_7:103,num_8:104,num_9:105,num_multiply:106,num_add:107,num_enter:108,num_subtract:109,num_decimal:110,num_divide:111,"\u21EA":20,",":188,".":190,"/":191,"`":192,"-":Mn?173:189,"=":Mn?61:187,";":Mn?59:186,"'":222,"[":219,"]":221,"\\":220},Kr={"\u21E7":16,shift:16,"\u2325":18,alt:18,option:18,"\u2303":17,ctrl:17,control:17,"\u2318":91,cmd:91,command:91},ti={16:"shiftKey",18:"altKey",17:"ctrlKey",91:"metaKey",shiftKey:16,ctrlKey:17,altKey:18,metaKey:91},Lr={16:!1,18:!1,17:!1,91:!1},Fr={},fe=1;fe<20;fe++)qr["f".concat(fe)]=111+fe;var xe=[],Ge="all",ht=[],Ut=function(M){return qr[M.toLowerCase()]||Kr[M.toLowerCase()]||M.toUpperCase().charCodeAt(0)};function hn(D){Ge=D||"all"}function wn(){return Ge||"all"}function Bn(){return xe.slice(0)}function dr(D){var M=D.target||D.srcElement,z=M.tagName,ge=!0;return(M.isContentEditable||(z==="INPUT"||z==="TEXTAREA"||z==="SELECT")&&!M.readOnly)&&(ge=!1),ge}function pr(D){return typeof D=="string"&&(D=Ut(D)),xe.indexOf(D)!==-1}function Nr(D,M){var z,ge;D||(D=wn());for(var Ae in Fr)if(Object.prototype.hasOwnProperty.call(Fr,Ae))for(z=Fr[Ae],ge=0;ge<z.length;)z[ge].scope===D?z.splice(ge,1):ge++;wn()===D&&hn(M||"all")}function mr(D){var M=D.keyCode||D.which||D.charCode,z=xe.indexOf(M);if(z>=0&&xe.splice(z,1),D.key&&D.key.toLowerCase()==="meta"&&xe.splice(0,xe.length),(M===93||M===224)&&(M=91),M in Lr){Lr[M]=!1;for(var ge in Kr)Kr[ge]===M&&(oi[ge]=!1)}}function kr(D){if(!D)Object.keys(Fr).forEach(function(ct){return delete Fr[ct]});else if(Array.isArray(D))D.forEach(function(ct){ct.key&&ui(ct)});else if(typeof D=="object")D.key&&ui(D);else if(typeof D=="string"){for(var M=arguments.length,z=new Array(M>1?M-1:0),ge=1;ge<M;ge++)z[ge-1]=arguments[ge];var Ae=z[0],Ve=z[1];typeof Ae=="function"&&(Ve=Ae,Ae=""),ui({key:D,scope:Ae,method:Ve,splitKey:"+"})}}var ui=function(M){var z=M.key,ge=M.scope,Ae=M.method,Ve=M.splitKey,ct=Ve===void 0?"+":Ve,vt=Hr(z);vt.forEach(function(_t){var Sn=_t.split(ct),Wn=Sn.length,tr=Sn[Wn-1],F=tr==="*"?"*":Ut(tr);if(!!Fr[F]){ge||(ge=wn());var me=Wn>1?ni(Kr,Sn):[];Fr[F]=Fr[F].map(function(Ne){var Bt=Ae?Ne.method===Ae:!0;return Bt&&Ne.scope===ge&&_r(Ne.mods,me)?{}:Ne})}})};function ci(D,M,z){var ge;if(M.scope===z||M.scope==="all"){ge=M.mods.length>0;for(var Ae in Lr)Object.prototype.hasOwnProperty.call(Lr,Ae)&&(!Lr[Ae]&&M.mods.indexOf(+Ae)>-1||Lr[Ae]&&M.mods.indexOf(+Ae)===-1)&&(ge=!1);(M.mods.length===0&&!Lr[16]&&!Lr[18]&&!Lr[17]&&!Lr[91]||ge||M.shortcut==="*")&&M.method(D,M)===!1&&(D.preventDefault?D.preventDefault():D.returnValue=!1,D.stopPropagation&&D.stopPropagation(),D.cancelBubble&&(D.cancelBubble=!0))}}function Yr(D){var M=Fr["*"],z=D.keyCode||D.which||D.charCode;if(!!oi.filter.call(this,D)){if((z===93||z===224)&&(z=91),xe.indexOf(z)===-1&&z!==229&&xe.push(z),["ctrlKey","altKey","shiftKey","metaKey"].forEach(function(me){var Ne=ti[me];D[me]&&xe.indexOf(Ne)===-1?xe.push(Ne):!D[me]&&xe.indexOf(Ne)>-1?xe.splice(xe.indexOf(Ne),1):me==="metaKey"&&D[me]&&xe.length===3&&(D.ctrlKey||D.shiftKey||D.altKey||(xe=xe.slice(xe.indexOf(Ne))))}),z in Lr){Lr[z]=!0;for(var ge in Kr)Kr[ge]===z&&(oi[ge]=!0);if(!M)return}for(var Ae in Lr)Object.prototype.hasOwnProperty.call(Lr,Ae)&&(Lr[Ae]=D[ti[Ae]]);D.getModifierState&&!(D.altKey&&!D.ctrlKey)&&D.getModifierState("AltGraph")&&(xe.indexOf(17)===-1&&xe.push(17),xe.indexOf(18)===-1&&xe.push(18),Lr[17]=!0,Lr[18]=!0);var Ve=wn();if(M)for(var ct=0;ct<M.length;ct++)M[ct].scope===Ve&&(D.type==="keydown"&&M[ct].keydown||D.type==="keyup"&&M[ct].keyup)&&ci(D,M[ct],Ve);if(z in Fr){for(var vt=0;vt<Fr[z].length;vt++)if((D.type==="keydown"&&Fr[z][vt].keydown||D.type==="keyup"&&Fr[z][vt].keyup)&&Fr[z][vt].key){for(var _t=Fr[z][vt],Sn=_t.splitKey,Wn=_t.key.split(Sn),tr=[],F=0;F<Wn.length;F++)tr.push(Ut(Wn[F]));tr.sort().join("")===xe.sort().join("")&&ci(D,_t,Ve)}}}}function Jr(D){return ht.indexOf(D)>-1}function oi(D,M,z){xe=[];var ge=Hr(D),Ae=[],Ve="all",ct=document,vt=0,_t=!1,Sn=!0,Wn="+";for(z===void 0&&typeof M=="function"&&(z=M),Object.prototype.toString.call(M)==="[object Object]"&&(M.scope&&(Ve=M.scope),M.element&&(ct=M.element),M.keyup&&(_t=M.keyup),M.keydown!==void 0&&(Sn=M.keydown),typeof M.splitKey=="string"&&(Wn=M.splitKey)),typeof M=="string"&&(Ve=M);vt<ge.length;vt++)D=ge[vt].split(Wn),Ae=[],D.length>1&&(Ae=ni(Kr,D)),D=D[D.length-1],D=D==="*"?"*":Ut(D),D in Fr||(Fr[D]=[]),Fr[D].push({keyup:_t,keydown:Sn,scope:Ve,mods:Ae,shortcut:ge[vt],method:z,key:ge[vt],splitKey:Wn});typeof ct!="undefined"&&!Jr(ct)&&window&&(ht.push(ct),lr(ct,"keydown",function(tr){Yr(tr)}),lr(window,"focus",function(){xe=[]}),lr(ct,"keyup",function(tr){Yr(tr),mr(tr)}))}var co={setScope:hn,getScope:wn,deleteScope:Nr,getPressedKeyCodes:Bn,isPressed:pr,filter:dr,unbind:kr};for(var fo in co)Object.prototype.hasOwnProperty.call(co,fo)&&(oi[fo]=co[fo]);if(typeof window!="undefined"){var zs=window.hotkeys;oi.noConflict=function(D){return D&&window.hotkeys===oi&&(window.hotkeys=zs),oi},window.hotkeys=oi}const Ao=oi;var Go=nn(98233),ra=nn(92127),xa=nn(50293),Gi=nn(67294);const ys=v.styled.div`
|
|
3295
3295
|
font-size: 0.8em;
|
|
3296
3296
|
${({theme:D})=>(0,v.mediaCSS)({fontFamily:D.typography.code.fontFamily})}
|
|
3297
3297
|
`,jo=v.styled.span`
|
|
@@ -3299,7 +3299,7 @@ Add a <Suspense fallback=...> component higher in the tree to provide a loading
|
|
|
3299
3299
|
`,bs=v.styled.span`
|
|
3300
3300
|
color: ${({theme:D})=>D.sidebar.activeTextColor};
|
|
3301
3301
|
background-color: #ffff03;
|
|
3302
|
-
`,ia=({result:D,active:M,term:z,onActivate:ge,history:
|
|
3302
|
+
`,ia=({result:D,active:M,term:z,onActivate:ge,history:Ae})=>{const Ve=(0,T.useContext)(v.OptionsContext),ct=(Sn,Wn)=>{if(!Wn.ctrlKey)ge(D);else{const tr=Ae.linkForId(D.item.id);window.open(tr,"_blank")}},vt=Ve.searchMode==="path-only",_t=Ve.sideNavStyle===hr.s.PathFirst;return Gi.createElement(v.MenuItem,{item:Object.create(D.item,{active:{value:M},name:{value:vt?D.item.name:""},path:{value:""},search:{value:!0}}),onActivate:ct,withoutChildren:!0,"data-role":"search:result"},(_t||vt)&&D.item.type==="operation"?Gi.createElement(Gi.Fragment,null,Gi.createElement(v.MenuItemPath,{title:D.item.path},Es(D.item.path,z))):Es(D.item.name,z),D.count>1?Gi.createElement(ys,null,D.count," matching ",Yo(D.places)):D.count===1?Gi.createElement(ys,null,"in ",Gi.createElement(jo,null,D.places[0].place)," ",Jo(z,D.places[0].paths[0])):null)};function Yo(D){return D.slice().sort(),D.map(M=>M.place).join(" and ")}function Jo(D,M){return M&&M.length&&M[M.length-1].toLowerCase().startsWith(D.toLowerCase())&&(M=M.slice(0,M.length-1)),!M||M.length===0?"":" \u2192 "+M.join(" \u2192 ")}function Es(D,M){const z=new RegExp("("+M.replace(/[\\^$.*+?()[\]{}|]/g,"\\$&")+")","gi"),ge=D.split(z);for(let Ae=1,Ve=ge.length;Ae<Ve;Ae+=2)ge[Ae]=Gi.createElement(bs,{key:Ae},ge[Ae]);return ge}var hi=nn(67294),Os=Object.defineProperty,Zo=(D,M,z)=>M in D?Os(D,M,{enumerable:!0,configurable:!0,writable:!0,value:z}):D[M]=z,Fi=(D,M,z)=>(Zo(D,typeof M!="symbol"?M+"":M,z),z);function Xo(D,M){if(!!D)for(const z of D){const ge=M.find(Ae=>Ae.name===z);if(ge)ge.expand(),M=po(ge.schema);else break}}function po(D){return D?D.oneOf?po(D.oneOf[D.activeOneOf]):D.items?po(D.items):D.fields||[]:[]}function qo(D,M){const z={};D.forEach(({meta:Ae,score:Ve})=>{const ct=Ae.menuId,vt=z[ct];if(Ve=Ae.boost?Ve*Ae.boost:Ve,vt){if(vt.score=Math.max(Ve,vt.score),Ae.place&&vt.count++,Ae.place){const _t=vt.places.find(Sn=>Sn.place===Ae.place);_t&&Ae.path?_t.paths.find(Sn=>{var Wn;return(Sn&&Sn.join("->"))===((Wn=Ae.path)==null?void 0:Wn.join("->"))})||_t.paths.push(Ae.path):vt.places.push({place:Ae.place,paths:[Ae.path]})}}else z[ct]={item:M(ct),places:Ae.place?[{place:Ae.place,paths:[Ae.path]}]:[],score:Ve,count:Ae.place?1:0}});const ge=Object.keys(z).map(Ae=>z[Ae]);return ge.forEach((Ae,Ve)=>Ae.index=Ve),ge.sort((Ae,Ve)=>Ve.score-Ae.score),ge}function to(D){for(const M of D.places)if(M.place==="request fields"){const z=D.item.requestBody,ge=z&&z.content&&z.content.active&&z.content.active.schema,Ae=po(ge);for(const Ve of M.paths){if(!Ve)return;Xo(Ve.slice(0,Ve.length-1),Ae)}}else if(M.place.startsWith("response ")){const z=M.place.split(" ")[1],ge=D.item.responses.find(ct=>ct.code===z);ge&&(ge.expanded=!0);const Ae=ge&&ge.content&&ge.content.active&&ge.content.active.schema,Ve=po(Ae);for(const ct of M.paths){if(!ct)return;Xo(ct.slice(0,ct.length-1),Ve)}}}class oa extends T.PureComponent{constructor(M){super(M);Fi(this,"activeItemRef",null),Fi(this,"prevCancel",null),Fi(this,"loadingTimer"),Fi(this,"inputRef",(0,T.createRef)()),Fi(this,"clear",()=>{this.setState({results:null,term:"",activeItemIdx:-1}),this.props.setSearchValue(""),this.props.marker.unmark()}),Fi(this,"handleKeyDown",z=>{if(z.keyCode===27&&this.inputRef.current&&(this.inputRef.current.blur(),this.props.hidePopUp()),!!this.state.results&&(z.keyCode===27&&this.clear(),z.keyCode===40&&(this.setState({activeItemIdx:Math.min(this.state.activeItemIdx+1,this.state.results.length-1)}),z.preventDefault()),z.keyCode===38&&(this.setState({activeItemIdx:Math.max(0,this.state.activeItemIdx-1)}),z.preventDefault()),z.keyCode===13)){const ge=this.state.results[this.state.activeItemIdx];ge&&this.onActivate(ge)}}),Fi(this,"_queryWorker",(0,B.Ds)((z,ge)=>{this.props.search.search(z).then(Ae=>{ge(Ae)})},200,!0)),Fi(this,"search",z=>{const ge=z.target.value;if(ge.length<this.props.options.minCharacterLengthToInitSearch){this.clearResults(ge),this.props.setSearchValue("");return}this.updateSearchTerm(ge),this.prevCancel&&this.prevCancel(),this.prevCancel=this.queryWorker(ge)}),Fi(this,"onActivate",z=>{if(this.props.hidePopUp(),this.props.onActivate(z.item),!!this.props.options.searchAutoExpand)try{to(z)}catch(ge){console.warn("Failed to auto expand schema:",ge.message)}}),Fi(this,"closeByWrapper",z=>{z.target.getAttribute("role")==="search"&&(this.clear(),this.props.hidePopUp())}),Fi(this,"closeByButton",()=>{this.clear(),this.props.hidePopUp()}),this.state={results:null,term:"",activeItemIdx:-1,loading:!1}}componentDidUpdate(M){const{search:z,shown:ge,searchValue:Ae}=this.props,Ve=M.search!==z,ct=!M.shown&&ge&&!Ae&&this.state.term;(Ve||ct)&&this.clearResults("")}clearResults(M){this.loadingTimer&&(clearTimeout(this.loadingTimer),this.loadingTimer=null),this.setState({results:null,term:M,loading:!1}),this.props.marker.unmark()}setResults(M){this.loadingTimer&&(clearTimeout(this.loadingTimer),this.loadingTimer=null),this.setState({results:qo(M,this.props.menu.getItemById),loading:!1})}updateSearchTerm(M){this.setState({term:M}),this.props.setSearchValue(M),this.loadingTimer&&(clearTimeout(this.loadingTimer),this.loadingTimer=null),this.loadingTimer=setTimeout(()=>{this.setState({loading:!0})},500),this.props.marker.mark(M)}queryWorker(M){let z=!1;const ge=()=>{z=!0};return this._queryWorker(M,Ae=>{M.length<3&&this.clearResults(M),!z&&this.state.term===M&&this.setResults(Ae)}),ge}componentDidMount(){this.props.options.ctrlFHijack&&Ao("cmd+f,ctrl+f",M=>(M.preventDefault(),M.stopPropagation(),this.props.options.disableSearch||this.props.showPopUp(),!1))}componentWillUnmount(){Ao.unbind("cmd+f,ctrl+f")}render(){const{activeItemIdx:M,loading:z,results:ge}=this.state,{shown:Ae,menu:Ve}=this.props;return Ae?hi.createElement(Be,{role:"search",onClick:this.closeByWrapper},hi.createElement(lt,null,hi.createElement(jt,null,hi.createElement(Cr,{ref:this.inputRef,value:this.state.term,onKeyDown:this.handleKeyDown,placeholder:"Search...",type:"text",onChange:this.search,autoFocus:!0}),hi.createElement(Tn,null),this.state.term&&hi.createElement(Ht,{onClick:this.clear},"Clear"),hi.createElement(In,{onClick:this.closeByButton},hi.createElement(an,null))),hi.createElement(cr,{"data-role":"search:results"},z&&hi.createElement(on,null,"Loading..."),!z&&!(ge==null?void 0:ge.length)&&hi.createElement(on,null,"No results found"),(ge==null?void 0:ge.length)?hi.createElement(Go.G,{options:{wheelPropagation:!1}},hi.createElement(Dn,null,ge.slice(0,50).map((ct,vt)=>hi.createElement(ia,{key:ct.index+ct.item.id,result:ct,active:vt===M,onActivate:this.onActivate,term:this.state.term,history:Ve.history})))):null))):null}}var Ss=nn(24389),es=nn(12388),Ar=nn(67294);const ts=(0,v.styled)(()=>Ar.createElement("svg",{width:"15",height:"10",viewBox:"0 0 15 10",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Ar.createElement("path",{d:"M2.41421 5L5.70711 8.29289C6.09763 8.68342 6.09763 9.31658 5.7071 9.70711C5.31658 10.0976 4.68342 10.0976 4.29289 9.70711L0.292892 5.70711C-0.0976321 5.31658 -0.0976319 4.68342 0.292893 4.29289L4.29289 0.292894C4.68342 -0.0976302 5.31658 -0.09763 5.70711 0.292894C6.09763 0.683418 6.09763 1.31658 5.70711 1.70711L2.41421 5Z",fill:"#9AA6B1"}),Ar.createElement("path",{d:"M2 5C2 4.44772 2.44771 4 3 4L11 4C11.5523 4 12 4.44772 12 5C12 5.55229 11.5523 6 11 6L3 6C2.44771 6 2 5.55228 2 5Z",fill:"#9AA6B1"}),Ar.createElement("rect",{x:"15",y:"10",width:"2",height:"10",rx:"1",transform:"rotate(-180 15 10)",fill:"#9AA6B1"})))`
|
|
3303
3303
|
position: absolute;
|
|
3304
3304
|
`,Ws=(0,v.styled)(()=>Ar.createElement("svg",{width:"15",height:"10",viewBox:"0 0 15 10",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Ar.createElement("path",{d:"M12.5858 5L9.29289 1.70711C8.90237 1.31658 8.90237 0.683417 9.29289 0.292893C9.68342 -0.097631 10.3166 -0.0976309 10.7071 0.292893L14.7071 4.29289C15.0976 4.68342 15.0976 5.31658 14.7071 5.70711L10.7071 9.70711C10.3166 10.0976 9.68342 10.0976 9.29289 9.70711C8.90237 9.31658 8.90237 8.68342 9.29289 8.29289L12.5858 5Z",fill:"#9AA6B1"}),Ar.createElement("path",{d:"M13 5C13 5.55229 12.5523 6 12 6L4 6C3.44772 6 3 5.55228 3 5C3 4.44771 3.44772 4 4 4L12 4C12.5523 4 13 4.44772 13 5Z",fill:"#9AA6B1"}),Ar.createElement("rect",{width:"2",height:"10",rx:"1",fill:"#9AA6B1"})))`
|
|
3305
3305
|
position: absolute;
|
|
@@ -3315,7 +3315,7 @@ Add a <Suspense fallback=...> component higher in the tree to provide a loading
|
|
|
3315
3315
|
height: ${({theme:D})=>D.components.layoutControls.height};
|
|
3316
3316
|
background: #e5e8eb;
|
|
3317
3317
|
border-radius: ${({theme:D})=>D.shape.borderRadius};
|
|
3318
|
-
`,sa=(0,
|
|
3318
|
+
`,sa=(0,Qt.Pi)(function({store:M,isVisible:z}){return!M.options.showRightPanelToggle||!z?null:Ar.createElement(v.Tooltip,{tip:`${M.showRightPanel?"Hide samples":"Show samples"}`,placement:"left"},Ar.createElement(Yi,{onClick:()=>{M.toggleRightPanel()}},M.showRightPanel?Ar.createElement(Ws,null):Ar.createElement(ts,null)))}),aa=D=>Ar.createElement("svg",{className:D.className,version:"1.1",viewBox:"0 0 24 24",x:"0",xmlns:"http://www.w3.org/2000/svg",y:"0","aria-hidden":"true"},Ar.createElement("polygon",{points:"17.3 8.3 12 13.6 6.7 8.3 5.3 9.7 12 16.4 18.7 9.7 "})),la=(0,v.styled)(aa)`
|
|
3319
3319
|
width: 18px;
|
|
3320
3320
|
height: 18px;
|
|
3321
3321
|
transform: ${({direction:D})=>`rotate(${D==="left"?"90deg":"-90deg"})`};
|
|
@@ -3429,7 +3429,7 @@ Add a <Suspense fallback=...> component higher in the tree to provide a loading
|
|
|
3429
3429
|
margin-left: auto;
|
|
3430
3430
|
|
|
3431
3431
|
${({theme:D})=>{var M,z,ge;return D.overrides&&((M=D.overrides)==null?void 0:M.NextSectionButton)&&((ge=(z=D.overrides)==null?void 0:z.NextSectionButton)==null?void 0:ge.custom)||""}};
|
|
3432
|
-
`,da=({pagination:D,menu:M})=>{const z=
|
|
3432
|
+
`,da=({pagination:D,menu:M})=>{const z=Ve=>{v.IS_BROWSER&&window.scrollTo(0,0),M.activateAndScroll(Ve),setTimeout(()=>M.activateAndScroll(Ve))};if(!D||D==="none")return null;const{nextItem:ge,nextLabel:Ae}=fa(D,M);return ge?Bo.createElement(rs,null,Bo.createElement(ws,{color:"secondary",onClick:Ve=>{Ve.defaultPrevented||(0,Ss.mx)(Ve)||(Ve.preventDefault(),z(ge))},href:ge.href},"\u2794 Next to ",Bo.createElement("strong",null,Ae))):null};function fa(D,{renderItems:M,flatItems:z,activeRenderItemIdx:ge}){var Ae,Ve;let ct,vt,_t;if(ge===-1)return vt=z.find(({id:Sn})=>Sn.startsWith("tag")),{nextItem:vt,nextLabel:vt==null?void 0:vt.name};if(!M.length)return vt=z[0],vt.type==="group"&&(vt=vt.items[0]),_t=vt.name,{nextItem:vt,nextLabel:_t};if(D==="section")return ct=M[M.length-1],vt=Ts(ct,z),vt?(_t=vt==null?void 0:vt.name,{nextItem:vt,nextLabel:_t}):{};if(D==="item"){switch(M[0].type){case"tag":ct=M[0],vt=Cs(ct,z),_t=vt==null?void 0:vt.name;break;case"section":ct=M[M.length-1],vt=Ts(ct,z),_t=vt==null?void 0:vt.name;break;case"operation":case"schema":ct=M[0],vt=Vs(ct,z),_t=vt==null?void 0:vt.name;break;default:return{}}return(vt==null?void 0:vt.type)==="tag"&&!(vt==null?void 0:vt.description)&&(vt==null?void 0:vt.items.length)&&(vt=vt==null?void 0:vt.items[0],_t=((Ae=vt==null?void 0:vt.parent)==null?void 0:Ae.name)+" / "+(vt==null?void 0:vt.name)),vt&&vt.parent&&vt.parent.items.indexOf(vt)===0&&(_t=((Ve=vt.parent)==null?void 0:Ve.name)+" / "+vt.name),{nextItem:vt,nextLabel:_t}}return{}}function Ts(D,M){var z;for(let ge=((z=D==null?void 0:D.absoluteIdx)!=null?z:0)+1;ge<M.length;ge++)if(M[ge].depth===D.depth)return M[ge]}function Cs(D,M){var z;for(let ge=((z=D==null?void 0:D.absoluteIdx)!=null?z:0)+1;ge<M.length;ge++)if(M[ge].type==="operation"||M[ge].type==="tag"||M[ge].type==="schema")return M[ge]}function Vs(D,M){var z;let ge;for(let Ae=((z=D==null?void 0:D.absoluteIdx)!=null?z:0)+1;Ae<M.length;Ae++)if(ge=M[Ae],ge.type==="tag"||ge.type==="operation"||ge.type==="section"||ge.type==="schema")return ge}var Ri=nn(64063),Do=nn.n(Ri),Ei=(D,M,z)=>new Promise((ge,Ae)=>{var Ve=_t=>{try{vt(z.next(_t))}catch(Sn){Ae(Sn)}},ct=_t=>{try{vt(z.throw(_t))}catch(Sn){Ae(Sn)}},vt=_t=>_t.done?ge(_t.value):Promise.resolve(_t.value).then(Ve,ct);vt((z=z.apply(D,M)).next())});const{Provider:Hs,Consumer:or}=(0,T.createContext)(void 0),Ji=({definitions:D,options:M,definitionUrl:z,definition:ge,activeItemId:Ae,activeSampleLanguage:Ve,activeDeepLink:ct,children:vt,onLoaded:_t})=>{const[,Sn]=(0,T.useState)(),[Wn,tr]=(0,T.useState)(!0),[F,me]=(0,T.useState)(null);(0,T.useEffect)(()=>{function Bt(){return Ei(this,null,function*(){tr(!0);try{me(D?yield Ks(D):yield Qs(ge,z,M))}catch(Gt){_t==null||_t(Gt),Sn(()=>{throw Gt})}})}Bt()},[D,ge,z,M]);const Ne=(0,T.useMemo)(()=>{var Bt,Gt,Wt;if(!F)return;const Kt=new nr(F,z,M);return((Bt=Kt.options.hooks)==null?void 0:Bt.onInit)&&((Wt=(Gt=Kt.options.hooks)==null?void 0:Gt.onInit)==null||Wt.call(Gt,{store:Kt})),Kt},$o([F,M]));return(0,T.useEffect)(()=>{if(!!Ne)return tr(!1),()=>Ne.dispose()},[Ne]),(0,T.useEffect)(()=>{var Bt;if(!Ne||!Ae)return;const Gt=(Ae==null?void 0:Ae.split(Ne.options.deepLinkPrefix)[0])||((Bt=Ne.menu.flatItems[Ne.menu.activeItemIdx])==null?void 0:Bt.id),Wt=Ne.menu.flatItems.find(Rt=>Rt.id===Gt),Kt=ct?Gt+Ne.options.deepLinkPrefix+ct:void 0;Kt&&Ne.menu.history instanceof ne&&Ne.menu.history.replaceForField(Kt),Ne.menu.activateAndScroll(Wt,!0,!1,Kt)},[Ae,ct,Ne]),(0,T.useEffect)(()=>{Ne&&Ve&&Ne.setActiveSampleLanguage(Ve),Ne&&_t&&_t()},[Ve,_t,Ne]),vt({loading:Wn,store:Ne})};function ki(D){const M=D.components&&D.components.securitySchemes||{};for(const z of Object.keys(M)){const ge=M[z];ge["x-type"]&&(ge.type=ge["x-type"]),ge["x-scheme"]&&(ge.scheme=ge["x-scheme"])}}function Ks(D){return Ei(this,null,function*(){return yield Zi(D||{}),D})}function Qs(D,M,z){return Ei(this,null,function*(){let ge;if(z==null?void 0:z.skipBundleAndConvert){if(!D)throw new Error('spec must be specified when using "skipBundleAndConvert"');ge=D}else ge=yield(0,v.loadAndBundleDefinition)(D||M);const Ae=z==null?void 0:z.unstable_externalDescription;if(Ae)try{const Ve=yield fetch(Ae);ge.info.description=yield Ve.text()}catch(Ve){console.warn(`Failed to load external description from ${Ae}: ${Ve.message}`)}try{ki(ge)}catch(Ve){}return ge})}function go(D,M){return D.endsWith(".md")?(0,v.loadAndBundleDefinition)({openapi:"3.0.0",info:{title:M||"",version:"1.0",description:{$ref:D}},paths:{}}):(0,v.loadAndBundleDefinition)(D)}function Zi(D){return Ei(this,arguments,function*({versions:M}){if(Array.isArray(M))for(const z of M)!z.url||(z.spec=yield go(z.url))})}function $o(D){const M=(0,T.useRef)(),z=(0,T.useRef)(0);return Do()(D,M.current)||(M.current=D,z.current+=1),[z.current]}var is=nn(5276),di=nn(67294),vo=Object.defineProperty,mi=Object.getOwnPropertySymbols,gi=Object.prototype.hasOwnProperty,no=Object.prototype.propertyIsEnumerable,wi=(D,M,z)=>M in D?vo(D,M,{enumerable:!0,configurable:!0,writable:!0,value:z}):D[M]=z,os=(D,M)=>{for(var z in M||(M={}))gi.call(M,z)&&wi(D,z,M[z]);if(mi)for(var z of mi(M))no.call(M,z)&&wi(D,z,M[z]);return D};const zr=({store:D,children:M,customOptions:z={}})=>{const ge=os(os({},D.options),z);return di.createElement(v.ThemeProvider,{theme:D.options.theme},di.createElement(v.OptionsProvider,{value:ge},di.createElement(v.StoreProvider,{value:D},M)))};var Rs=nn(25973),ss=nn(8418);const vi="Invalid license key",As=vi+": missing key",Is="Invalid license key: expired",yo=Is,Uo="Invalid license key: host not allowed",Bi=[{label:"API docs powered by Redocly",link:"https://redocly.com/reference/"},{label:"It's not API docs; it's Redocly. Learn more",link:"https://redocly.com/reference/"},{label:"Learn the top 3 API onboarding funnels",link:"https://redocly.com/api-onboarding-funnels"},{label:"Download the 8-step system to building better APIs",link:"https://redocly.com/better-apis"},{label:"Get 5 mental models for building better APIs",link:"http://redocly.com/mental-models"},{label:"Download the ultimate API launch checklist",link:"http://redocly.com/api-launch-checklist"},{label:"Learn if an API catalog is right for you",link:"http://redocly.com/api-catalog-quiz"},{label:"How to implement an API design scorecard",link:"http://redocly.com/implement-design-scorecard"},{label:"5-steps to introduce API governance to your organization",link:"http://redocly.com/introduce-governance"},{label:"Subscribe to get Redocly Founder's API wisdom into your inbox",link:"http://redocly.com/api-wisdom"},{label:"When do you need an API catalog?",link:"http://redocly.com/api-catalog-quiz"},{label:"What is your API personality? Try the free quiz.",link:"http://redocly.com/api-personality-quiz"}];var ei=nn(48764).Buffer,Ai=nn(67294);const $i="data:image/svg+xml;base64,"+ei.from(`
|
|
3433
3433
|
<svg width="16" height="16" viewBox="0 0 36 36" xmlns="http://www.w3.org/2000/svg">
|
|
3434
3434
|
<path
|
|
3435
3435
|
d="M30.2267 27.7822C29.3436 27.186 28.3802 26.6296 27.4168 26.2321C29.1027 25.5167 30.6682 24.5231 31.9126 23.2512C34.4014 20.787 35.9669 17.3688 35.9669 13.6327C35.9669 9.85691 34.4416 6.47854 31.9126 4.01431C29.4239 1.51033 26.0118 0 22.1984 0H1.04368C0.762692 0 0.4817 0.119237 0.321133 0.317965C0.120425 0.476948 0 0.755167 0 1.03339C0 1.31161 0.120425 1.58983 0.321133 1.74881C0.4817 1.94754 0.762692 2.06677 1.04368 2.06677C4.25502 2.06677 7.18536 3.37838 9.31287 5.44515C11.4002 7.55167 12.7249 10.4531 12.7249 13.6327C12.7249 16.8124 11.4002 19.7138 9.31287 21.8203C7.18536 23.8871 4.25502 25.1987 1.04368 25.1987C0.923259 25.1987 0.883117 25.2385 0.762692 25.2385C0.321133 25.3577 0 25.7154 0 26.1924V26.3116C0 26.868 0.441558 27.2655 0.9634 27.2655H1.64581C3.97403 27.3847 6.14168 28.1399 7.90791 29.4118C9.83471 30.8029 11.32 32.7107 12.1228 34.9762C12.2432 35.3736 12.6848 35.6518 13.0862 35.6518H34.281C34.6021 35.6518 34.9233 35.4928 35.0838 35.2146C35.2845 34.9364 35.3247 34.6184 35.2043 34.3005C34.2409 31.6773 32.5148 29.4118 30.2267 27.7822ZM10.758 23.2512C13.2468 20.787 14.8123 17.3688 14.8123 13.6327C14.8123 9.85691 13.2869 6.47854 10.758 4.01431C9.99528 3.25914 9.1523 2.58347 8.22904 2.02703H22.1984C25.4097 2.02703 28.34 3.33863 30.4675 5.4054C32.5549 7.51192 33.8796 10.4134 33.8796 13.593C33.8796 16.7727 32.5549 19.6741 30.4675 21.7806C28.34 23.8474 25.4097 25.159 22.1984 25.159C22.1181 25.159 22.0779 25.159 21.9976 25.1987H8.1889C9.11216 24.7218 9.99528 24.0461 10.758 23.2512ZM9.07202 27.7822C8.83117 27.6232 8.55018 27.4642 8.30933 27.2655H22.8406C25.1688 27.3847 27.3365 28.1399 29.1027 29.4118C30.6281 30.4849 31.8725 31.9157 32.7155 33.6248H13.7285C12.7651 31.2798 11.1192 29.2925 9.07202 27.7822Z"
|
|
@@ -3523,12 +3523,12 @@ Add a <Suspense fallback=...> component higher in the tree to provide a loading
|
|
|
3523
3523
|
a:visited {
|
|
3524
3524
|
color: white;
|
|
3525
3525
|
}
|
|
3526
|
-
`;var Mi=nn(67294),as=Object.defineProperty,Oi=Object.getOwnPropertySymbols,Mo=Object.prototype.hasOwnProperty,ls=Object.prototype.propertyIsEnumerable,ai=(D,M,z)=>M in D?as(D,M,{enumerable:!0,configurable:!0,writable:!0,value:z}):D[M]=z,bo=(D,M)=>{for(var z in M||(M={}))Mo.call(M,z)&&ai(D,z,M[z]);if(Oi)for(var z of Oi(M))ls.call(M,z)&&ai(D,z,M[z]);return D},Ui=(D,M,z)=>new Promise((ge,
|
|
3526
|
+
`;var Mi=nn(67294),as=Object.defineProperty,Oi=Object.getOwnPropertySymbols,Mo=Object.prototype.hasOwnProperty,ls=Object.prototype.propertyIsEnumerable,ai=(D,M,z)=>M in D?as(D,M,{enumerable:!0,configurable:!0,writable:!0,value:z}):D[M]=z,bo=(D,M)=>{for(var z in M||(M={}))Mo.call(M,z)&&ai(D,z,M[z]);if(Oi)for(var z of Oi(M))ls.call(M,z)&&ai(D,z,M[z]);return D},Ui=(D,M,z)=>new Promise((ge,Ae)=>{var Ve=_t=>{try{vt(z.next(_t))}catch(Sn){Ae(Sn)}},ct=_t=>{try{vt(z.throw(_t))}catch(Sn){Ae(Sn)}},vt=_t=>_t.done?ge(_t.value):Promise.resolve(_t.value).then(Ve,ct);vt((z=z.apply(D,M)).next())});function ro(D,M){return Object.keys(M).length===0?D:`${D}?${new URLSearchParams(bo({},M)).toString()}`}const Eo=({l:D})=>{const[M,z]=(0,T.useState)(!1),[ge,Ae]=(0,T.useState)(null),[Ve,ct]=(0,T.useState)(-1),[vt,_t]=(0,T.useState)(!1);(0,ss.b6)(()=>{if(window){const{search:Wt,protocol:Kt}=window.location,Rt=new URLSearchParams(Wt),Tt=Kt==="vscode-webview:"&&Rt.get("extensionId")==="Redocly.openapi-vs-code";z(Tt)}});const{current:Sn}=(0,T.useRef)(Bi[Math.floor(Math.random()*Bi.length)]),Wn=(0,T.useMemo)(()=>({utm_source:"preview-docs",utm_content:Sn.label,utm_medium:"attribution-link",utm_campaign:"preview-docs"}),[Sn.label]),[tr,F]=(0,T.useState)(ro(Sn.link,Wn)),[me,Ne]=(0,T.useState)(!1),[Bt,Gt]=(0,T.useState)(!0);return(0,T.useEffect)(()=>{(()=>Ui(void 0,null,function*(){var Kt,Rt,Tt;const mt=yield D;if(((Kt=mt.plugin)==null?void 0:Kt.valid)&&(Ne(!0),F(ro(Sn.link,bo(bo({},Wn),(Rt=mt.plugin)==null?void 0:Rt.utms)))),mt.local){_t(!0);return}mt.valid?mt.allowed?mt.expired&&Ae(mt.t?Is:yo):Ae(Uo):Ae(mt.valid===!1?vi+(mt.cryptoMissing?": works only with https":""):As),mt.t&&ct(Math.ceil((((Tt=mt==null?void 0:mt.e)!=null?Tt:0)-Date.now()/1e3)/60/60/24))}))()},[Sn.link,D,Wn]),me||vt||M?Bt?Mi.createElement(Ds,{className:"top-banner"},Mi.createElement(Rs.PZ,{onClick:()=>Gt(!1)}," \u2715 "),Mi.createElement("a",{target:"_blank",rel:"noopener",href:tr},Mi.createElement(_o,null),Sn.label)):null:!ge&&Ve>-1?Mi.createElement(si,null," Trial version: ",Ve," days remaining "):ge?Mi.createElement(zo,null,Mi.createElement("span",null,ge," ",Mi.createElement("br",null),Mi.createElement("small",null,"Please contact ",Mi.createElement("a",{href:"mailto:team@redoc.ly"},"team@redoc.ly")," to remedy the problem."," "))):null};var us=nn(21096),Zr=nn(67294);const io=({spec:D,onChange:M})=>{const z=D.versionsInfo.map((ge,Ae)=>({idx:Ae,value:ge.title}));return Zr.createElement(oo,null,Zr.createElement(us.VersionDropdown,{options:z,value:z[D.activeVersionIdx].value,onChange:M,ariaLabel:"Version"}))},oo=v.styled.div`
|
|
3527
3527
|
padding: ${({theme:D})=>`${D.spacing.unit*2}px ${D.spacing.unit*4}px`};
|
|
3528
3528
|
width: 100%;
|
|
3529
3529
|
display: inline-block;
|
|
3530
3530
|
font-size: 12px;
|
|
3531
|
-
`;var Br=nn(67294),Xi=Object.defineProperty,Lo=Object.getOwnPropertyDescriptor,so=(D,M,z)=>M in D?Xi(D,M,{enumerable:!0,configurable:!0,writable:!0,value:z}):D[M]=z,Ur=(D,M,z,ge)=>{for(var
|
|
3531
|
+
`;var Br=nn(67294),Xi=Object.defineProperty,Lo=Object.getOwnPropertyDescriptor,so=(D,M,z)=>M in D?Xi(D,M,{enumerable:!0,configurable:!0,writable:!0,value:z}):D[M]=z,Ur=(D,M,z,ge)=>{for(var Ae=ge>1?void 0:ge?Lo(M,z):M,Ve=D.length-1,ct;Ve>=0;Ve--)(ct=D[Ve])&&(Ae=(ge?ct(M,z,Ae):ct(Ae))||Ae);return ge&&Ae&&Xi(M,z,Ae),Ae},Wr=(D,M,z)=>(so(D,typeof M!="symbol"?M+"":M,z),z);(0,b.jQ)({useProxies:"ifavailable"});const Qr=v.createGlobalStyle`
|
|
3532
3532
|
div[data-section-id]::after {
|
|
3533
3533
|
content: " ";
|
|
3534
3534
|
display: block;
|
|
@@ -3546,10 +3546,10 @@ Add a <Suspense fallback=...> component higher in the tree to provide a loading
|
|
|
3546
3546
|
}
|
|
3547
3547
|
|
|
3548
3548
|
${v.MiddlePanel}, ${rs} {
|
|
3549
|
-
${({theme:D,showRightPanel:M,layout:z})=>(0,v.mediaCSS)({maxWidth:M&&z===xn.N.THREE_PANEL?(0,v.mediaMap)(D.breakpoints,[D.layout["three-panel"].middlePanelMaxWidth],{[v.ZERO_BREAKPOINT]:()=>"none",[D.rightPanel.showAtBreakpoint]:ge=>ge}):"none",margin:M&&z===xn.N.THREE_PANEL?(0,v.mediaMap)(D.breakpoints,[D.rightPanel.width,D.layout["three-panel"].middlePanelMaxWidth],{[v.ZERO_BREAKPOINT]:()=>"0",[D.rightPanel.showAtBreakpoint]:(ge,
|
|
3549
|
+
${({theme:D,showRightPanel:M,layout:z})=>(0,v.mediaCSS)({maxWidth:M&&z===xn.N.THREE_PANEL?(0,v.mediaMap)(D.breakpoints,[D.layout["three-panel"].middlePanelMaxWidth],{[v.ZERO_BREAKPOINT]:()=>"none",[D.rightPanel.showAtBreakpoint]:ge=>ge}):"none",margin:M&&z===xn.N.THREE_PANEL?(0,v.mediaMap)(D.breakpoints,[D.rightPanel.width,D.layout["three-panel"].middlePanelMaxWidth],{[v.ZERO_BREAKPOINT]:()=>"0",[D.rightPanel.showAtBreakpoint]:(ge,Ae)=>Ae&&Ae!=="none"?`0 max(calc((100% - ${ge} - ${Ae}}) / 2), 0px)`:"0"}):"0",paddingRight:z===xn.N.STACKED?D.spacing.sectionHorizontal:"",width:M&&z===xn.N.THREE_PANEL?"":{[v.ZERO_BREAKPOINT]:"",[D.rightPanel.showAtBreakpoint]:"100%"}})}
|
|
3550
3550
|
}
|
|
3551
3551
|
|
|
3552
3552
|
${Fo} {
|
|
3553
3553
|
${({theme:D,showRightPanel:M,layout:z})=>(0,v.mediaCSS)({width:{[v.ZERO_BREAKPOINT]:"none",small:`calc(100% - ${D.sidebar.width})`},maxWidth:D.layout[z===xn.N.THREE_PANEL&&M?xn.N.THREE_PANEL:xn.N.STACKED].maxWidth})};
|
|
3554
3554
|
}
|
|
3555
|
-
`;let Ti=class extends T.Component{constructor(D){super(D);Wr(this,"_observer"),Wr(this,"_updatedItems",!1),Wr(this,"rootElementRef",(0,T.createRef)()),Wr(this,"handleClose",()=>this.props.store.tryItOut()),this.state={searchPopUpShown:!1,searchPopUpValue:""}}componentDidMount(){var D,M;this.props.store.onDidMount(),(M=(D=this.props).onLoaded)==null||M.call(D),this._observer=(0,b.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:D,_forceRenderInfo:M}=this.props,{definition:z,menu:ge,options:
|
|
3555
|
+
`;let Ti=class extends T.Component{constructor(D){super(D);Wr(this,"_observer"),Wr(this,"_updatedItems",!1),Wr(this,"rootElementRef",(0,T.createRef)()),Wr(this,"handleClose",()=>this.props.store.tryItOut()),this.state={searchPopUpShown:!1,searchPopUpValue:""}}componentDidMount(){var D,M;this.props.store.onDidMount(),(M=(D=this.props).onLoaded)==null||M.call(D),this._observer=(0,b.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:D,_forceRenderInfo:M}=this.props,{definition:z,menu:ge,options:Ae,search:Ve,marker:ct}=D,{hideDownloadButton:vt,hideInfoSection:_t,pagination:Sn,disableSidebar:Wn}=Ae,tr=ge.renderItems,F=Sn==="none"||ge.activeRenderItemIdx<=0;let me=_t?!1:F;me&&Sn!=="none"&&Wn&&tr[0]&&tr[0].type!=="section"&&(me=!1),M&&(me=!0);const Ne=!me&&vt!==null&&!vt&&F;return Br.createElement(zr,{store:D},Br.createElement(Eo,{l:D.l}),Br.createElement(ns,{className:"redoc-wrap",ref:this.rootElementRef},Br.createElement(Qr,{whiteLabel:Ae.whiteLabel,showRightPanel:D.showRightPanel,layout:D.layout}),D.tryItOperation&&Br.createElement(is.M,{rootElement:this.rootElementRef.current,store:D,operation:D.tryItOperation,onClose:this.handleClose}),!Ae.disableSidebar&&Br.createElement(v.StickyResponsiveSidebar,{menu:ge,className:"menu-content"},!Ae.hideLogo&&Br.createElement(v.ApiLogo,{info:z.info}),z instanceof Yt&&Br.createElement(io,{spec:z,onChange:Bt=>{Bt.idx!==void 0&&z.changeVersion(Bt.idx),ge.updateItemsByVersionChange(!0),D.tryItOut(void 0)}}),!Ae.disableSearch&&Br.createElement($r,{showPopUp:()=>this.setState({searchPopUpShown:!0}),searchValue:this.state.searchPopUpValue,marker:ct,setSearchValue:Bt=>this.setState({searchPopUpValue:Bt})}),Br.createElement(v.SideMenu,{menu:ge})),Br.createElement(Fo,{className:(D.isLoading?"loading ":"")+"api-content",layout:D.layout===xn.N.THREE_PANEL&&D.showRightPanel?xn.N.THREE_PANEL:xn.N.STACKED},Ae.theme.layout.showDarkRightPanel&&D.showRightPanel&&D.layout!==xn.N.STACKED&&Br.createElement(Io,null),me&&Br.createElement(v.ApiInfo,{store:D}),Ne&&Br.createElement(rt.C,{store:D}),Br.createElement(v.ContentItems,{items:tr,store:D}),Ae.showNextButton&&Br.createElement(da,{pagination:Ae.pagination,menu:ge}),this.props.children),Br.createElement(xs,null,Br.createElement(sa,{store:D,isVisible:D.layout===xn.N.THREE_PANEL}),Br.createElement(Ps,{store:D,isVisible:D.showRightPanel})),Br.createElement(oa,{search:Ve,marker:ct,menu:ge,onActivate:ge.activateAndScroll.bind(ge),options:Ae,shown:this.state.searchPopUpShown,hidePopUp:()=>this.setState({searchPopUpShown:!1}),showPopUp:()=>this.setState({searchPopUpShown:!0}),setSearchValue:Bt=>this.setState({searchPopUpValue:Bt}),searchValue:this.state.searchPopUpValue}),Ae.theme.layout.showDarkRightPanel&&D.showRightPanel&&D.layout!==xn.N.STACKED&&Br.createElement(ho,null)))}};Ti=Ur([Qt.Pi],Ti);function fi(D){const{definition:M,definitionUrl:z,options:ge={},activeItemId:Ae,activeSampleLanguage:Ve,activeDeepLink:ct,onLoaded:vt}=D,_t=(0,v.argValueToBoolean)(ge.hideLoading,!1),Sn=new v.RedocNormalizedOptions(ge),Wn=Br.createElement(Ji,{definition:M,definitionUrl:z,options:ge,activeItemId:Ae,activeSampleLanguage:Ve,activeDeepLink:ct,onLoaded:vt},({loading:tr,store:F})=>tr?_t?null:Br.createElement(v.Loading,{color:Sn.theme.colors.primary.main}):Br.createElement(Ti,{store:F}));return ge.disableErrorBoundary?Wn:Br.createElement(v.ErrorBoundary,null,Wn)}var Xr=nn(67294);function _i({definitions:D,options:M={}}){const z=(0,v.argValueToBoolean)(M.hideLoading,!1),ge=new v.RedocNormalizedOptions(M);return Xr.createElement(v.ErrorBoundary,null,Xr.createElement(Ji,{definitions:D,options:M},({loading:Ae,store:Ve})=>Ae?z?null:Xr.createElement(v.Loading,{color:ge.theme.colors.primary.main}):Xr.createElement(Ti,{store:Ve})))}var Oo=nn(67294),Si=Object.defineProperty,So=Object.getOwnPropertySymbols,cs=Object.prototype.hasOwnProperty,Li=Object.prototype.propertyIsEnumerable,Ii=(D,M,z)=>M in D?Si(D,M,{enumerable:!0,configurable:!0,writable:!0,value:z}):D[M]=z,Ki=(D,M)=>{for(var z in M||(M={}))cs.call(M,z)&&Ii(D,z,M[z]);if(So)for(var z of So(M))Li.call(M,z)&&Ii(D,z,M[z]);return D};function Po(D){const M=(0,B.zJ)();M&&M.toggleLayout((D!=null?D:M.layout===xn.N.STACKED)?xn.N.THREE_PANEL:xn.N.STACKED)}function zi(D){const M=(0,B.zJ)();M&&M.toggleRightPanel(D)}const Wo=(0,B.uW)(),pi=Wo?(0,E.dirname)(Wo)+"/":"";function ao(D){const M={},z=D.attributes;for(let ge=0;ge<z.length;ge++){const Ae=z[ge];M[Ae.name]=Ae.value}return M}function $s(D){const M=ao(D),z={};for(const ge in M){const Ae=ge.replace(/-(.)/g,(Ve,ct)=>ct.toUpperCase());z[Ae]=M[ge]}return z}function Gs(D,M=document.querySelector("redoc")){const z=nr.fromJS(D);(0,S.hydrate)(Oo.createElement(Ti,{store:z}),M)}function N(D,M={},z=(0,v.querySelector)("redoc"),ge){if(z===null)throw new Error('"element" argument is not provided and <redoc> tag is not found on the page');let Ae,Ve;if(typeof D=="object"&&"versions"in D){(0,S.render)((0,T.createElement)(_i,{definitions:D,options:Ki(Ki({},M),$s(z))},["Loading..."]),z,ge);return}typeof D=="string"?Ae=D:typeof D=="object"&&(Ve=D),(0,S.render)((0,T.createElement)(fi,{definition:Ve,definitionUrl:Ae,options:Ki(Ki({},M),$s(z))},["Loading..."]),z,ge)}function Y(D){nn.p=D}const de="2.44.0",le="89164ad";function Ie(){const D=(0,v.querySelector)("redoc");if(!D)return;const M=D.getAttribute("spec-url");M&&N(M,{},D)}v.IS_BROWSER&&Y(pi),Ie()})(),na})()});
|