PageSourceSearch

https://dashboard.api.b2b.tourradar.com/static/js/5957.cc595d11.chunk.js

js tourradar.com collected 2026-09-24 17:53:47 UTC 1,111,323 bytes, 1,851 lines download raw bytes

1/*! For license information please see 5957.cc595d11.chunk.js.LICENSE.txt */
2(globalThis.webpackChunkpartners_portal||=[]).push([[5957],{77925(e,t,r){"use strict";var n=r(58168),i=r(80045),o=r(65043),s=r(49644),a=r(74822),l=r(71745),c=r(82454),p=r(70567),u=o.forwardRef(function(e,t){var r=e.classes,l=e.className,c=e.color,u=void 0===c?"primary":c,d=e.value,f=e.valueBuffer,h=e.variant,m=void 0===h?"indeterminate":h,g=(0,i.A)(e,["classes","className","color","value","valueBuffer","variant"]),y=(0,p.A)(),b={},v={bar1:{},bar2:{}};if("determinate"===m||"buffer"===m)if(void 0!==d){b["aria-valuenow"]=Math.round(d),b["aria-valuemin"]=0,b["aria-valuemax"]=100;var x=d-100;"rtl"===y.direction&&(x=-x),v.bar1.transform="translateX(".concat(x,"%)")}else 0;if("buffer"===m)if(void 0!==f){var w=(f||0)-100;"rtl"===y.direction&&(w=-w),v.bar2.transform="translateX(".concat(w,"%)")}else 0;return o.createElement("div",(0,n.A)({className:(0,s.A)(r.root,r["color".concat((0,a.A)(u))],l,{determinate:r.determinate,indeterminate:r.indeterminate,buffer:r.buffer,query:r.query}[m]),role:"progressbar"},b,{ref:t},g),"buffer"===m?o.createElement("div",{className:(0,s.A)(r.dashed,r["dashedColor".concat((0,a.A)(u))])}):null,o.createElement("div",{className:(0,s.A)(r.bar,r["barColor".concat((0,a.A)(u))],("indeterminate"===m||"query"===m)&&r.bar1Indeterminate,{determinate:r.bar1Determinate,buffer:r.bar1Buffer}[m]),style:v.bar1}),"determinate"===m?null:o.createElement("div",{className:(0,s.A)(r.bar,("indeterminate"===m||"query"===m)&&r.bar2Indeterminate,"buffer"===m?[r["color".concat((0,a.A)(u))],r.bar2Buffer]:r["barColor".concat((0,a.A)(u))]),style:v.bar2}))});const d=(0,l.A)(function(e){var t=function(t){return"light"===e.palette.type?(0,c.a)(t,.62):(0,c.e$)(t,.5)},r=t(e.palette.primary.main),n=t(e.palette.secondary.main);return{root:{position:"relative",overflow:"hidden",height:4,"@media print":{colorAdjust:"exact"}},colorPrimary:{backgroundColor:r},colorSecondary:{backgroundColor:n},determinate:{},indeterminate:{},buffer:{backgroundColor:"transparent"},query:{transform:"rotate(180deg)"},dashed:{position:"absolute",marginTop:0,height:"100%",width:"100%",animation:"$buffer 3s infinite linear"},dashedColorPrimary:{backgroundImage:"radial-gradient(".concat(r," 0%, ").concat(r," 16%, transparent 42%)"),backgroundSize:"10px 10px",backgroundPosition:"0 -23px"},dashedColorSecondary:{backgroundImage:"radial-gradient(".concat(n," 0%, ").concat(n," 16%, transparent 42%)"),backgroundSize:"10px 10px",backgroundPosition:"0 -23px"},bar:{width:"100%",position:"absolute",left:0,bottom:0,top:0,transition:"transform 0.2s linear",transformOrigin:"left"},barColorPrimary:{backgroundColor:e.palette.primary.main},barColorSecondary:{backgroundColor:e.palette.secondary.main},bar1Indeterminate:{width:"auto",animation:"$indeterminate1 2.1s cubic-bezier(0.65, 0.815, 0.735, 0.395) infinite"},bar1Determinate:{transition:"transform .".concat(4,"s linear")},bar1Buffer:{zIndex:1,transition:"transform .".concat(4,"s linear")},bar2Indeterminate:{width:"auto",animation:"$indeterminate2 2.1s cubic-bezier(0.165, 0.84, 0.44, 1) 1.15s infinite"},bar2Buffer:{transition:"transform .".concat(4,"s linear")},"@keyframes indeterminate1":{"0%":{left:"-35%",right:"100%"},"60%":{left:"100%",right:"-90%"},"100%":{left:"100%",right:"-90%"}},"@keyframes indeterminate2":{"0%":{left:"-200%",right:"100%"},"60%":{left:"107%",right:"-8%"},"100%":{left:"107%",right:"-8%"}},"@keyframes buffer":{"0%":{opacity:1,backgroundPosition:"0 -23px"},"50%":{opacity:0,backgroundPosition:"0 -23px"},"100%":{opacity:1,backgroundPosition:"-200px -23px"}}}},{name:"MuiLinearProgress"})(u);r.d(t,["A",0,d])},1791(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CodeGen=t.Name=t.nil=t.stringify=t.str=t._=t.KeywordCxt=void 0;const n=r(77404),i=r(66483),o=r(54359),s=r(86158),a="https://json-schema.org/draft/2020-12/schema";class l extends n.default{constructor(){super({...arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},dynamicRef:!0,next:!0,unevaluated:!0})}
2_addVocabularies(){super._addVocabularies(),i.default.forEach(e=>this.addVocabulary(e)),this.opts.discriminator&&this.addKeyword(o.default)}_addDefaultMetaSchema(){super._addDefaultMetaSchema();const{$data:e,meta:t}=this.opts;t&&(s.default.call(this,e),this.refs["http://json-schema.org/schema"]=a)}defaultMeta(){return this.opts.defaultMeta=super.defaultMeta()||(this.getSchema(a)?a:void 0)}}e.exports=t=l,Object.defineProperty(t,"__esModule",{value:!0}),t.default=l;var c=r(16104);Object.defineProperty(t,"KeywordCxt",{enumerable:!0,get:function(){return c.KeywordCxt}});var p=r(27939);Object.defineProperty(t,"_",{enumerable:!0,get:function(){return p._}}),Object.defineProperty(t,"str",{enumerable:!0,get:function(){return p.str}}),Object.defineProperty(t,"stringify",{enumerable:!0,get:function(){return p.stringify}}),Object.defineProperty(t,"nil",{enumerable:!0,get:function(){return p.nil}}),Object.defineProperty(t,"Name",{enumerable:!0,get:function(){return p.Name}}),Object.defineProperty(t,"CodeGen",{enumerable:!0,get:function(){return p.CodeGen}})},32974(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.nil=t._Code=t.Name=t.IDENTIFIER=t._CodeOrName=void 0,t._=o,t.str=a,t.addCodeArg=l,t.strConcat=function(e,t){return t.emptyStr()?e:e.emptyStr()?t:a`${e}${t}`},t.stringify=function(e){return new i(p(e))},t.safeStringify=p,t.getProperty=function(e){return"string"==typeof e&&t.IDENTIFIER.test(e)?new i(`.${e}`):o`[${e}]`},t.getEsmExportName=function(e){if("string"==typeof e&&t.IDENTIFIER.test(e))return new i(`${e}`);throw new Error(`CodeGen: invalid export name: ${e}, use explicit $id name mapping`)},t.regexpCode=function(e){return new i(e.toString())};class r{}t._CodeOrName=r,t.IDENTIFIER=/^[a-z$_][a-z$_0-9]*$/i;class n extends r{constructor(e){if(super(),!t.IDENTIFIER.test(e))throw new Error("CodeGen: name must be a valid identifier");this.str=e}toString(){return this.str}emptyStr(){return!1}get names(){return{[this.str]:1}}}t.Name=n;class i extends r{constructor(e){super(),this._items="string"===typeof e?[e]:e}toString(){return this.str}emptyStr(){if(this._items.length>1)return!1;const e=this._items[0];return""===e||'""'===e}get str(){var e;return null!==(e=this._str)&&void 0!==e?e:this._str=this._items.reduce((e,t)=>`${e}${t}`,"")}get names(){var e;return null!==(e=this._names)&&void 0!==e?e:this._names=this._items.reduce((e,t)=>(t instanceof n&&(e[t.str]=(e[t.str]||0)+1),e),{})}}function o(e){const t=[e[0]];let r=0;for(var n=arguments.length,o=new Array(n>1?n-1:0),s=1;s<n;s++)o[s-1]=arguments[s];for(;r<o.length;)l(t,o[r]),t.push(e[++r]);return new i(t)}t._Code=i,t.nil=new i("");const s=new i("+");function a(e){const t=[p(e[0])];let r=0;for(var n=arguments.length,o=new Array(n>1?n-1:0),a=1;a<n;a++)o[a-1]=arguments[a];for(;r<o.length;)t.push(s),l(t,o[r]),t.push(s,p(e[++r]));return function(e){let t=1;for(;t<e.length-1;){if(e[t]===s){const r=c(e[t-1],e[t+1]);if(void 0!==r){e.splice(t-1,3,r);continue}e[t++]="+"}t++}}(t),new i(t)}function l(e,t){var r;t instanceof i?e.push(...t._items):t instanceof n?e.push(t):e.push("number"==typeof(r=t)||"boolean"==typeof r||null===r?r:p(Array.isArray(r)?r.join(","):r))}function c(e,t){if('""'===t)return e;if('""'===e)return t;if("string"==typeof e){if(t instanceof n||'"'!==e[e.length-1])return;return"string"!=typeof t?`${e.slice(0,-1)}${t}"`:'"'===t[0]?e.slice(0,-1)+t.slice(1):void 0}return"string"!=typeof t||'"'!==t[0]||e instanceof n?void 0:`"${e}${t.slice(1)}`}function p(e){return JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029")}},27939(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CodeGen=t.operators=t.varKinds=t.ValueScopeName=t.ValueScope=t.Scope=t.Name=t.regexpCode=t.stringify=t.getProperty=t.nil=t.strConcat=t.str=t._=void 0,t.not=I,t.and=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return t.reduce(N)},t.or=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return t.reduce(R)};const n=r(32974),i=r(10147);var o=r(32974);Object.defineProperty(t,"_",{enumerable:!0,get:function(){return o._}}),Object.defineProperty(t,"str",{enumerable:!0,get:function(){return o.str}}),Object.defineProperty(t,"strConcat",{enumerable:!0,get:function(){return o.strConcat}}),Object.defineProperty(t,"nil",{enumerable:!0,get:function(){return o.nil}}),Object.defineProperty(t,"getProperty",{enumerable:!0,get:function(){return o.getProperty}}),Object.defineProperty(t,"stringify",{enumerable:!0,get:function(){return o.stringify}}),Object.defineProperty(t,"regexpCode",{enumerable:!0,get:function(){return o.regexpCode}}),Object.defineProperty(t,"Name",{enumerable:!0,get:function(){return o.Name}});var s=r(10147);Object.defineProperty(t,"Scope",{enumerable:!0,get:function(){return s.Scope}}),Object.defineProperty(t,"ValueScope",{enumerable:!0,get:function(){return s.ValueScope}}),Object.defineProperty(t,"ValueScopeName",{enumerable:!0,get:function(){return s.ValueScopeName}}),Object.defineProperty(t,"varKinds",{enumerable:!0,get:function(){return s.varKinds}}),t.operators={GT:new n._Code(">"),GTE:new n._Code(">="),LT:new n._Code("<"),LTE:new n._Code("<="),EQ:new n._Code("==="),NEQ:new n._Code("!=="),NOT:new n._Code("!"),OR:new n._Code("||"),AND:new n._Code("&&"),ADD:new n._Code("+")};class a{optimizeNodes(){return this}optimizeNames(e,t){return this}}class l extends a{constructor(e,t,r){super(),this.varKind=e,this.name=t,this.rhs=r}render(e){let{es5:t,_n:r}=e;
vendor: 5,251 bytes, line 2
2const n=t?i.varKinds.var:this.varKind,o=void 0===this.rhs?"":` = ${this.rhs}`;return`${n} ${this.name}${o};`+r}optimizeNames(e,t){if(e[this.name.str])return this.rhs&&(this.rhs=C(this.rhs,e,t)),this}get names(){return this.rhs instanceof n._CodeOrName?this.rhs.names:{}}}class c extends a{constructor(e,t,r){super(),this.lhs=e,this.rhs=t,this.sideEffects=r}render(e){let{_n:t}=e;return`${this.lhs} = ${this.rhs};`+t}optimizeNames(e,t){if(!(this.lhs instanceof n.Name)||e[this.lhs.str]||this.sideEffects)return this.rhs=C(this.rhs,e,t),this}get names(){return j(this.lhs instanceof n.Name?{}:{...this.lhs.names},this.rhs)}}class p extends c{constructor(e,t,r,n){super(e,r,n),this.op=t}render(e){let{_n:t}=e;return`${this.lhs} ${this.op}= ${this.rhs};`+t}}class u extends a{constructor(e){super(),this.label=e,this.names={}}render(e){let{_n:t}=e;return`${this.label}:`+t}}class d extends a{constructor(e){super(),this.label=e,this.names={}}render(e){let{_n:t}=e;return`break${this.label?` ${this.label}`:""};`+t}}class f extends a{constructor(e){super(),this.error=e}render(e){let{_n:t}=e;return`throw ${this.error};`+t}get names(){return this.error.names}}class h extends a{constructor(e){super(),this.code=e}render(e){let{_n:t}=e;return`${this.code};`+t}optimizeNodes(){return`${this.code}`?this:void 0}optimizeNames(e,t){return this.code=C(this.code,e,t),this}get names(){return this.code instanceof n._CodeOrName?this.code.names:{}}}class m extends a{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];super(),this.nodes=e}render(e){return this.nodes.reduce((t,r)=>t+r.render(e),"")}optimizeNodes(){const{nodes:e}=this;let t=e.length;for(;t--;){const r=e[t].optimizeNodes();Array.isArray(r)?e.splice(t,1,...r):r?e[t]=r:e.splice(t,1)}return e.length>0?this:void 0}optimizeNames(e,t){const{nodes:r}=this;let n=r.length;for(;n--;){const i=r[n];i.optimizeNames(e,t)||(T(e,i.names),r.splice(n,1))}return r.length>0?this:void 0}get names(){return this.nodes.reduce((e,t)=>P(e,t.names),{})}}class g extends m{render(e){return"{"+e._n+super.render(e)+"}"+e._n}}class y extends m{}class b extends g{}b.kind="else";class v extends g{constructor(e,t){super(t),this.condition=e}render(e){let t=`if(${this.condition})`+super.render(e);return this.else&&(t+="else "+this.else.render(e)),t}optimizeNodes(){super.optimizeNodes();const e=this.condition;if(!0===e)return this.nodes;let t=this.else;if(t){const e=t.optimizeNodes();t=this.else=Array.isArray(e)?new b(e):e}return t?!1===e?t instanceof v?t:t.nodes:this.nodes.length?this:new v(I(e),t instanceof v?[t]:t.nodes):!1!==e&&this.nodes.length?this:void 0}optimizeNames(e,t){var r;if(this.else=null===(r=this.else)||void 0===r?void 0:r.optimizeNames(e,t),super.optimizeNames(e,t)||this.else)return this.condition=C(this.condition,e,t),this}get names(){const e=super.names;return j(e,this.condition),this.else&&P(e,this.else.names),e}}v.kind="if";class x extends g{}x.kind="for";class w extends x{constructor(e){super(),this.iteration=e}render(e){return`for(${this.iteration})`+super.render(e)}optimizeNames(e,t){if(super.optimizeNames(e,t))return this.iteration=C(this.iteration,e,t),this}get names(){return P(super.names,this.iteration.names)}}class S extends x{constructor(e,t,r,n){super(),this.varKind=e,this.name=t,this.from=r,this.to=n}render(e){const t=e.es5?i.varKinds.var:this.varKind,{name:r,from:n,to:o}=this;return`for(${t} ${r}=${n}; ${r}<${o}; ${r}++)`+super.render(e)}get names(){const e=j(super.names,this.from);return j(e,this.to)}}class k extends x{constructor(e,t,r,n){super(),this.loop=e,this.varKind=t,this.name=r,this.iterable=n}render(e){return`for(${this.varKind} ${this.name} ${this.loop} ${this.iterable})`+super.render(e)}optimizeNames(e,t){if(super.optimizeNames(e,t))return this.iterable=C(this.iterable,e,t),this}get names(){return P(super.names,this.iterable.names)}}class O extends g{constructor(e,t,r){super(),this.name=e,this.args=t,this.async=r}render(e){return`${this.async?"async ":""}function ${this.name}(${this.args})`+super.render(e)}}O.kind="func";class E extends m{render(e){return"return "+super.render(e)}}E.kind="return";class _ extends g{render(e){let t="try"+super.render(e);return this.catch&&(t+=this.catch.render(e)),this.finally&&(t+=this.finally.render(e)),t}optimizeNodes(){var e,t;return super.optimizeNodes(),null===(e=this.catch)||void 0===e||e.optimizeNodes(),null===(t=this.finally)||void 0===t||t.optimizeNodes(),this}optimizeNames(e,t){var r,n;return super.optimizeNames(e,t),null===(r=this.catch)||void 0===r||r.optimizeNames(e,t),null===(n=this.finally)||void 0===n||n.optimizeNames(e,t),this}get names(){const e=super.names;return this.catch&&P(e,this.catch.names),this.finally&&P(e,this.finally.names),e}}class $ extends g{constructor(e){super(),this.error=e}render(e){return`catch(${this.error})`+super.render(e)}}$.kind="catch";class A extends g{render(e){return"finally"+super.render(e)}}A.kind="finally";function P(e,t){for(const r in t)e[r]=(e[r]||0)+(t[r]||0);return e}function j(e,t){return t instanceof n._CodeOrName?P(e,t.names):e}function C(e,t,r){return e instanceof n.Name?o(e):(i=e)instanceof n._Code&&i._items.some(e=>e instanceof n.Name&&1===t[e.str]&&void 0!==r[e.str])?new n._Code(e._items.reduce((e,t)=>
2(t instanceof n.Name&&(t=o(t)),t instanceof n._Code?e.push(...t._items):e.push(t),e),[])):e;var i;function o(e){const n=r[e.str];return void 0===n||1!==t[e.str]?e:(delete t[e.str],n)}}function T(e,t){for(const r in t)e[r]=(e[r]||0)-(t[r]||0)}function I(e){return"boolean"==typeof e||"number"==typeof e||null===e?!e:n._`!${D(e)}`}t.CodeGen=class{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this._values={},this._blockStarts=[],this._constants={},this.opts={...t,_n:t.lines?"\n":""},this._extScope=e,this._scope=new i.Scope({parent:e}),this._nodes=[new y]}toString(){return this._root.render(this.opts)}name(e){return this._scope.name(e)}scopeName(e){return this._extScope.name(e)}scopeValue(e,t){const r=this._extScope.value(e,t);return(this._values[r.prefix]||(this._values[r.prefix]=new Set)).add(r),r}getScopeValue(e,t){return this._extScope.getValue(e,t)}scopeRefs(e){return this._extScope.scopeRefs(e,this._values)}scopeCode(){return this._extScope.scopeCode(this._values)}_def(e,t,r,n){const i=this._scope.toName(t);return void 0!==r&&n&&(this._constants[i.str]=r),this._leafNode(new l(e,i,r)),i}const(e,t,r){return this._def(i.varKinds.const,e,t,r)}let(e,t,r){return this._def(i.varKinds.let,e,t,r)}var(e,t,r){return this._def(i.varKinds.var,e,t,r)}assign(e,t,r){return this._leafNode(new c(e,t,r))}add(e,r){return this._leafNode(new p(e,t.operators.ADD,r))}code(e){return"function"==typeof e?e():e!==n.nil&&this._leafNode(new h(e)),this}object(){const e=["{"];for(var t=arguments.length,r=new Array(t),i=0;i<t;i++)r[i]=arguments[i];for(const[o,s]of r)e.length>1&&e.push(","),e.push(o),(o!==s||this.opts.es5)&&(e.push(":"),(0,n.addCodeArg)(e,s));return e.push("}"),new n._Code(e)}if(e,t,r){if(this._blockNode(new v(e)),t&&r)this.code(t).else().code(r).endIf();else if(t)this.code(t).endIf();else if(r)throw new Error('CodeGen: "else" body without "then" body');return this}elseIf(e){return this._elseNode(new v(e))}else(){return this._elseNode(new b)}endIf(){return this._endBlockNode(v,b)}_for(e,t){return this._blockNode(e),t&&this.code(t).endFor(),this}for(e,t){return this._for(new w(e),t)}forRange(e,t,r,n){let o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:this.opts.es5?i.varKinds.var:i.varKinds.let;const s=this._scope.toName(e);return this._for(new S(o,s,t,r),()=>n(s))}forOf(e,t,r){let o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:i.varKinds.const;const s=this._scope.toName(e);if(this.opts.es5){const e=t instanceof n.Name?t:this.var("_arr",t);return this.forRange("_i",0,n._`${e}.length`,t=>{this.var(s,n._`${e}[${t}]`),r(s)})}return this._for(new k("of",o,s,t),()=>r(s))}forIn(e,t,r){let o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:this.opts.es5?i.varKinds.var:i.varKinds.const;if(this.opts.ownProperties)return this.forOf(e,n._`Object.keys(${t})`,r);const s=this._scope.toName(e);return this._for(new k("in",o,s,t),()=>r(s))}endFor(){return this._endBlockNode(x)}label(e){return this._leafNode(new u(e))}break(e){return this._leafNode(new d(e))}return(e){const t=new E;if(this._blockNode(t),this.code(e),1!==t.nodes.length)throw new Error('CodeGen: "return" should have one node');return this._endBlockNode(E)}try(e,t,r){if(!t&&!r)throw new Error('CodeGen: "try" without "catch" and "finally"');const n=new _;if(this._blockNode(n),this.code(e),t){const e=this.name("e");this._currNode=n.catch=new $(e),t(e)}return r&&(this._currNode=n.finally=new A,this.code(r)),this._endBlockNode($,A)}throw(e){return this._leafNode(new f(e))}block(e,t){return this._blockStarts.push(this._nodes.length),e&&this.code(e).endBlock(t),this}endBlock(e){const t=this._blockStarts.pop();if(void 0===t)throw new Error("CodeGen: not in self-balancing block");const r=this._nodes.length-t;if(r<0||void 0!==e&&r!==e)throw new Error(`CodeGen: wrong number of nodes: ${r} vs ${e} expected`);return this._nodes.length=t,this}func(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:n.nil,r=arguments.length>2?arguments[2]:void 0,i=arguments.length>3?arguments[3]:void 0;return this._blockNode(new O(e,t,r)),i&&this.code(i).endFunc(),this}endFunc(){return this._endBlockNode(O)}optimize(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;for(;e-- >0;)this._root.optimizeNodes(),this._root.optimizeNames(this._root.names,this._constants)}_leafNode(e){return this._currNode.nodes.push(e),this}_blockNode(e){this._currNode.nodes.push(e),this._nodes.push(e)}_endBlockNode(e,t){const r=this._currNode;if(r instanceof e||t&&r instanceof t)return this._nodes.pop(),this;throw new Error(`CodeGen: not in block "${t?`${e.kind}/${t.kind}`:e.kind}"`)}_elseNode(e){const t=this._currNode;if(!(t instanceof v))throw new Error('CodeGen: "else" without "if"');return this._currNode=t.else=e,this}get _root(){return this._nodes[0]}get _currNode(){const e=this._nodes;return e[e.length-1]}set _currNode(e){const t=this._nodes;t[t.length-1]=e}};const N=L(t.operators.AND);const R=L(t.operators.OR);function L(e){return(t,r)=>t===n.nil?r:r===n.nil?t:n._`${D(t)} ${e} ${D(r)}`}function D(e){return e instanceof n.Name?e:n._`(${e})`}},10147(e,t,r){"use strict";
2Object.defineProperty(t,"__esModule",{value:!0}),t.ValueScope=t.ValueScopeName=t.Scope=t.varKinds=t.UsedValueState=void 0;const n=r(32974);class i extends Error{constructor(e){super(`CodeGen: "code" for ${e} not defined`),this.value=e.value}}var o;!function(e){e[e.Started=0]="Started",e[e.Completed=1]="Completed"}(o||(t.UsedValueState=o={})),t.varKinds={const:new n.Name("const"),let:new n.Name("let"),var:new n.Name("var")};class s{constructor(){let{prefixes:e,parent:t}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this._names={},this._prefixes=e,this._parent=t}toName(e){return e instanceof n.Name?e:this.name(e)}name(e){return new n.Name(this._newName(e))}_newName(e){return`${e}${(this._names[e]||this._nameGroup(e)).index++}`}_nameGroup(e){var t,r;if((null===(r=null===(t=this._parent)||void 0===t?void 0:t._prefixes)||void 0===r?void 0:r.has(e))||this._prefixes&&!this._prefixes.has(e))throw new Error(`CodeGen: prefix "${e}" is not allowed in this scope`);return this._names[e]={prefix:e,index:0}}}t.Scope=s;class a extends n.Name{constructor(e,t){super(t),this.prefix=e}setValue(e,t){let{property:r,itemIndex:i}=t;this.value=e,this.scopePath=n._`.${new n.Name(r)}[${i}]`}}t.ValueScopeName=a;const l=n._`\n`;t.ValueScope=class extends s{constructor(e){super(e),this._values={},this._scope=e.scope,this.opts={...e,_n:e.lines?l:n.nil}}get(){return this._scope}name(e){return new a(e,this._newName(e))}value(e,t){var r;if(void 0===t.ref)throw new Error("CodeGen: ref must be passed in value");const n=this.toName(e),{prefix:i}=n,o=null!==(r=t.key)&&void 0!==r?r:t.ref;let s=this._values[i];if(s){const e=s.get(o);if(e)return e}else s=this._values[i]=new Map;s.set(o,n);const a=this._scope[i]||(this._scope[i]=[]),l=a.length;return a[l]=t.ref,n.setValue(t,{property:i,itemIndex:l}),n}getValue(e,t){const r=this._values[e];if(r)return r.get(t)}scopeRefs(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this._values;return this._reduceValues(t,t=>{if(void 0===t.scopePath)throw new Error(`CodeGen: name "${t}" has no value`);return n._`${e}${t.scopePath}`})}scopeCode(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this._values,t=arguments.length>1?arguments[1]:void 0,r=arguments.length>2?arguments[2]:void 0;return this._reduceValues(e,e=>{if(void 0===e.value)throw new Error(`CodeGen: name "${e}" has no value`);return e.value.code},t,r)}_reduceValues(e,r){let s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},a=arguments.length>3?arguments[3]:void 0,l=n.nil;for(const c in e){const p=e[c];if(!p)continue;const u=s[c]=s[c]||new Map;p.forEach(e=>{if(u.has(e))return;u.set(e,o.Started);let s=r(e);if(s){const r=this.opts.es5?t.varKinds.var:t.varKinds.const;l=n._`${l}${r} ${e} = ${s};${this.opts._n}`}else{if(!(s=null===a||void 0===a?void 0:a(e)))throw new i(e);l=n._`${l}${s}${this.opts._n}`}u.set(e,o.Completed)})}return l}}},98402(e,t,r){"use strict";t.keyword$DataError=t.y=void 0,t.reportError=function(e){let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:t.y,i=arguments.length>2?arguments[2]:void 0,o=arguments.length>3?arguments[3]:void 0;const{it:l}=e,{gen:p,compositeRule:u,allErrors:d}=l,f=c(e,r,i);(null!==o&&void 0!==o?o:u||d)?s(p,f):a(l,n._`[${f}]`)},t.reportExtraError=function(e){let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:t.y,n=arguments.length>2?arguments[2]:void 0;const{it:i}=e,{gen:l,compositeRule:p,allErrors:u}=i,d=c(e,r,n);s(l,d),p||u||a(i,o.default.vErrors)},t.resetErrorsCount=function(e,t){e.assign(o.default.errors,t),e.if(n._`${o.default.vErrors} !== null`,()=>e.if(t,()=>e.assign(n._`${o.default.vErrors}.length`,t),()=>e.assign(o.default.vErrors,null)))},t.extendErrors=function(e){let{gen:t,keyword:r,schemaValue:i,data:s,errsCount:a,it:l}=e;if(void 0===a)throw new Error("ajv implementation error");const c=t.name("err");t.forRange("i",a,o.default.errors,e=>{t.const(c,n._`${o.default.vErrors}[${e}]`),t.if(n._`${c}.instancePath === undefined`,()=>t.assign(n._`${c}.instancePath`,(0,n.strConcat)(o.default.instancePath,l.errorPath))),t.assign(n._`${c}.schemaPath`,n.str`${l.errSchemaPath}/${r}`),l.opts.verbose&&(t.assign(n._`${c}.schema`,i),t.assign(n._`${c}.data`,s))})};const n=r(27939),i=r(57693),o=r(25285);function s(e,t){const r=e.const("err",t);e.if(n._`${o.default.vErrors} === null`,()=>e.assign(o.default.vErrors,n._`[${r}]`),n._`${o.default.vErrors}.push(${r})`),e.code(n._`${o.default.errors}++`)}function a(e,t){const{gen:r,validateName:i,schemaEnv:o}=e;o.$async?r.throw(n._`new ${e.ValidationError}(${t})`):(r.assign(n._`${i}.errors`,t),r.return(!1))}t.y={message:e=>{let{keyword:t}=e;return n.str`must pass "${t}" keyword validation`}},t.keyword$DataError={message:e=>{let{keyword:t,schemaType:r}=e;return r?n.str`"${t}" keyword must be ${r} ($data)`:n.str`"${t}
2" keyword is invalid ($data)`}};const l={keyword:new n.Name("keyword"),schemaPath:new n.Name("schemaPath"),params:new n.Name("params"),propertyName:new n.Name("propertyName"),message:new n.Name("message"),schema:new n.Name("schema"),parentSchema:new n.Name("parentSchema")};function c(e,t,r){const{createErrors:i}=e.it;return!1===i?n._`{}`:function(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const{gen:i,it:s}=e,a=[p(s,r),u(e,r)];return function(e,t,r){let{params:i,message:s}=t;const{keyword:a,data:c,schemaValue:p,it:u}=e,{opts:d,propertyName:f,topSchemaRef:h,schemaPath:m}=u;r.push([l.keyword,a],[l.params,"function"==typeof i?i(e):i||n._`{}`]),d.messages&&r.push([l.message,"function"==typeof s?s(e):s]);d.verbose&&r.push([l.schema,p],[l.parentSchema,n._`${h}${m}`],[o.default.data,c]);f&&r.push([l.propertyName,f])}(e,t,a),i.object(...a)}(e,t,r)}function p(e,t){let{errorPath:r}=e,{instancePath:s}=t;const a=s?n.str`${r}${(0,i.getErrorPath)(s,i.Type.Str)}`:r;return[o.default.instancePath,(0,n.strConcat)(o.default.instancePath,a)]}function u(e,t){let{keyword:r,it:{errSchemaPath:o}}=e,{schemaPath:s,parentSchema:a}=t,c=a?o:n.str`${o}/${r}`;return s&&(c=n.str`${c}${(0,i.getErrorPath)(s,i.Type.Str)}`),[l.schemaPath,c]}},20141(e,t,r){"use strict";t.SchemaEnv=void 0,t.compileSchema=p,t.resolveRef=function(e,t,r){var n;const i=(0,s.resolveUrl)(this.opts.uriResolver,t,r),o=e.refs[i];if(o)return o;let a=h.call(this,e,i);if(void 0===a){const r=null===(n=e.localRefs)||void 0===n?void 0:n[i],{schemaId:o}=this.opts;r&&(a=new c({schema:r,schemaId:o,root:e,baseId:t}))}if(void 0===a&&this.opts.loadSchemaSync){const n=this.opts.loadSchemaSync(t,r,i);!n||this.refs[i]||this.schemas[i]||(this.addSchema(n,i,void 0),a=h.call(this,e,i))}if(void 0===a)return;return e.refs[i]=u.call(this,a)},t.resolveSchema=m;const n=r(27939),i=r(94192),o=r(25285),s=r(89457),a=r(57693),l=r(16104);class c{constructor(e){var t;let r;this.refs={},this.dynamicAnchors={},"object"==typeof e.schema&&(r=e.schema),this.schema=e.schema,this.schemaId=e.schemaId,this.root=e.root||this,this.baseId=null!==(t=e.baseId)&&void 0!==t?t:(0,s.normalizeId)(null===r||void 0===r?void 0:r[e.schemaId||"$id"]),this.schemaPath=e.schemaPath,this.localRefs=e.localRefs,this.meta=e.meta,this.$async=null===r||void 0===r?void 0:r.$async,this.refs={}}}function p(e){const t=d.call(this,e);if(t)return t;const r=(0,s.getFullPath)(this.opts.uriResolver,e.root.baseId),{es5:a,lines:c}=this.opts.code,{ownProperties:p}=this.opts,u=new n.CodeGen(this.scope,{es5:a,lines:c,ownProperties:p});let f;e.$async&&(f=u.scopeValue("Error",{ref:i.default,code:n._`require("ajv/dist/runtime/validation_error").default`}));const h=u.scopeName("validate");e.validateName=h;const m={gen:u,allErrors:this.opts.allErrors,data:o.default.data,parentData:o.default.parentData,parentDataProperty:o.default.parentDataProperty,dataNames:[o.default.data],dataPathArr:[n.nil],dataLevel:0,dataTypes:[],definedProperties:new Set,topSchemaRef:u.scopeValue("schema",!0===this.opts.code.source?{ref:e.schema,code:(0,n.stringify)(e.schema)}:{ref:e.schema}),validateName:h,ValidationError:f,schema:e.schema,schemaEnv:e,rootId:r,baseId:e.baseId||r,schemaPath:n.nil,errSchemaPath:e.schemaPath||(this.opts.jtd?"":"#"),errorPath:n._`""`,opts:this.opts,self:this};let g;try{this._compilations.add(e),(0,l.validateFunctionCode)(m),u.optimize(this.opts.code.optimize);const t=u.toString();g=`const visitedNodesForRef = new WeakMap(); ${u.scopeRefs(o.default.scope)}return ${t}`,this.opts.code.process&&(g=this.opts.code.process(g,e));const r=new Function(`${o.default.self}`,`${o.default.scope}`,g)(this,this.scope.get());if(this.scope.value(h,{ref:r}),r.errors=null,r.schema=e.schema,r.schemaEnv=e,e.$async&&(r.$async=!0),!0===this.opts.code.source&&(r.source={validateName:h,validateCode:t,scopeValues:u._values}),this.opts.unevaluated){const{props:e,items:t}=m;r.evaluated={props:e instanceof n.Name?void 0:e,items:t instanceof n.Name?void 0:t,dynamicProps:e instanceof n.Name,dynamicItems:t instanceof n.Name},r.source&&(r.source.evaluated=(0,n.stringify)(r.evaluated))}return e.validate=r,e}catch(y){throw delete e.validate,delete e.validateName,g&&this.logger.error("Error compiling schema, function code:",g),y}finally{this._compilations.delete(e)}}function u(e){return(0,s.inlineRef)(e.schema,this.opts.inlineRefs)?e.schema:e.validate?e:p.call(this,e)}function d(e){for(const t of this._compilations)if(f(t,e))return t}function f(e,t){return e.schema===t.schema&&e.root===t.root&&e.baseId===t.baseId}function h(e,t){let r;for(;"string"==typeof(r=this.refs[t]);)t=r;return r||this.schemas[t]||m.call(this,e,t)}function m(e,t){const r=this.opts.uriResolver.parse(t),n=(0,s._getFullPath)(this.opts.uriResolver,r);let i=(0,s.getFullPath)(this.opts.uriResolver,e.baseId,void 0);if(Object.keys(e.schema).length>
20&&n===i)return y.call(this,r,e);const o=(0,s.normalizeId)(n),a=this.refs[o]||this.schemas[o];if("string"==typeof a){const t=m.call(this,e,a);if("object"!==typeof(null===t||void 0===t?void 0:t.schema))return;return y.call(this,r,t)}if("object"===typeof(null===a||void 0===a?void 0:a.schema)){if(a.validate||p.call(this,a),o===(0,s.normalizeId)(t)){const{schema:t}=a,{schemaId:r}=this.opts,n=t[r];return n&&(i=(0,s.resolveUrl)(this.opts.uriResolver,i,n)),new c({schema:t,schemaId:r,root:e,baseId:i})}return y.call(this,r,a)}}t.SchemaEnv=c;const g=new Set(["properties","patternProperties","enum","dependencies","definitions"]);function y(e,t){let{baseId:r,schema:n,root:i}=t;var o;if("/"!==(null===(o=e.fragment)||void 0===o?void 0:o[0]))return;for(const c of e.fragment.slice(1).split("/")){if("boolean"===typeof n)return;const e=n[(0,a.unescapeFragment)(c)];if(void 0===e)return;n=e;const t="object"===typeof n&&n[this.opts.schemaId];!g.has(c)&&t&&(r=(0,s.resolveUrl)(this.opts.uriResolver,r,t))}let l;if("boolean"!=typeof n&&n.$ref&&!(0,a.schemaHasRulesButRef)(n,this.RULES)){const e=(0,s.resolveUrl)(this.opts.uriResolver,r,n.$ref);l=m.call(this,i,e)}const{schemaId:p}=this.opts;return l=l||new c({schema:n,schemaId:p,root:i,baseId:r}),l.schema!==l.root.schema?l:void 0}},25285(e,t,r){"use strict";const n=r(27939),i={data:new n.Name("data"),valCxt:new n.Name("valCxt"),instancePath:new n.Name("instancePath"),parentData:new n.Name("parentData"),parentDataProperty:new n.Name("parentDataProperty"),rootData:new n.Name("rootData"),dynamicAnchors:new n.Name("dynamicAnchors"),isAllOfVariant:new n.Name("isAllOfVariant"),vErrors:new n.Name("vErrors"),errors:new n.Name("errors"),this:new n.Name("this"),self:new n.Name("self"),scope:new n.Name("scope"),json:new n.Name("json"),jsonPos:new n.Name("jsonPos"),jsonLen:new n.Name("jsonLen"),jsonPart:new n.Name("jsonPart")};t.default=i},75609(e,t,r){"use strict";const n=r(89457);
2class i extends Error{constructor(e,t,r,i){super(i||`can't resolve reference ${r} from id ${t}`),this.missingRef=(0,n.resolveUrl)(e,t,r),this.missingSchema=(0,n.normalizeId)((0,n.getFullPath)(e,this.missingRef))}}t.default=i},89457(e,t,r){"use strict";t.inlineRef=function(e){let t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return"boolean"==typeof e||(!0===t?!l(e):!!t&&c(e)<=t)},t.getFullPath=p,t._getFullPath=u,t.normalizeId=f,t.resolveUrl=function(e,t,r){return r=f(r),e.resolve(t,r)},t.getSchemaRefs=function(e,t){if("boolean"==typeof e)return{};const{schemaId:r,uriResolver:n}=this.opts,s=f(e[r]||t),a={"":s},l=p(n,s,!1),c={},u=new Set;return o(e,{allKeys:!0},(e,t,n,i)=>{if(void 0===i)return;const o=l+t;let s=a[i];function p(t){const r=this.opts.uriResolver.resolve;if(t=f(s?r(s,t):t),u.has(t))throw m(t);u.add(t);let n=this.refs[t];return"string"==typeof n&&(n=this.refs[n]),"object"==typeof n?d(e,n.schema,t):t!==f(o)&&("#"===t[0]?(d(e,c[t],t),c[t]=e):this.refs[t]=o),t}function g(e){if("string"==typeof e){if(!h.test(e))throw new Error(`invalid anchor "${e}"`);p.call(this,`#${e}`)}}
2"string"==typeof e[r]&&(s=p.call(this,e[r])),g.call(this,e.$anchor),g.call(this,e.$dynamicAnchor),a[t]=s}),c;function d(e,t,r){if(void 0!==t&&!i(e,t))throw m(r)}function m(e){return new Error(`reference "${e}" resolves to more than one schema`)}};const n=r(57693),i=r(122),o=r(82865),s=new Set(["type","format","pattern","maxLength","minLength","maxProperties","minProperties","maxItems","minItems","maximum","minimum","uniqueItems","multipleOf","required","enum","const"]);const a=new Set(["$ref","$recursiveRef","$recursiveAnchor","$dynamicRef","$dynamicAnchor"]);function l(e){for(const t in e){if(a.has(t))return!0;const r=e[t];if(Array.isArray(r)&&r.some(l))return!0;if("object"==typeof r&&l(r))return!0}return!1}function c(e){let t=0;for(const r in e){if("$ref"===r)return 1/0;if(t++,!s.has(r)&&("object"==typeof e[r]&&(0,n.eachItem)(e[r],e=>t+=c(e)),t===1/0))return 1/0}return t}function p(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";!1!==(arguments.length>2?arguments[2]:void 0)&&(t=f(t));const r=e.parse(t);return u(e,r)}function u(e,t){return e.serialize(t).split("#")[0]+"#"}const d=/#\/?$/;function f(e){return e?e.replace(d,""):""}const h=/^[a-z_][-a-z0-9._]*$/i},31906(e,t){"use strict";t.isJSONType=function(e){return"string"==typeof e&&r.has(e)},t.getRules=function(){const e={number:{type:"number",rules:[]},string:{type:"string",rules:[]},array:{type:"array",rules:[]},object:{type:"object",rules:[]}};return{types:{...e,integer:!0,boolean:!0,null:!0},rules:[{rules:[]},e.number,e.string,e.array,e.object],post:{rules:[]},all:{},keywords:{}}};const r=new Set(["string","number","integer","boolean","null","object","array"])},57693(e,t,r){"use strict";t.Type=t.mergeEvaluated=void 0,t.toHash=function(e){const t={};for(const r of e)t[r]=!0;return t},t.alwaysValidSchema=function(e,t){return"boolean"==typeof t?t:0===Object.keys(t).length||(o(e,t),!s(t,e.self.RULES.all))},t.checkUnknownRules=o,t.schemaHasRulesButRef=function(e,t){if("boolean"==typeof e)return!e;for(const r in e)if("$ref"!==r&&t.all[r])return!0;return!1},t.schemaRefOrVal=function(e,t,r,i){let{topSchemaRef:o,schemaPath:s}=e;if(!i){if("number"==typeof t||"boolean"==typeof t)return t;if("string"==typeof t)return n._`${t}`}return n._`${o}${s}${(0,n.getProperty)(r)}`},t.unescapeFragment=function(e){return l(decodeURIComponent(e))},t.escapeFragment=function(e){return encodeURIComponent(a(e))},t.unescapeJsonPointer=l,t.eachItem=function(e,t){if(Array.isArray(e))for(const r of e)t(r);else t(e)},t.evaluatedPropsToName=p,t.useFunc=function(e,t){return e.scopeValue("func",{ref:t,code:d[t.code]||(d[t.code]=new i._Code(t.code))})},t.getErrorPath=function(e,t,r){if(e instanceof n.Name){const i=t===f.Num;return r?i?n._`"[" + ${e} + "]"`:n._`"['" + ${e} + "']"`:i?n._`"/" + ${e}`:n._`"/" + ${e}.replace(/~/g, "~0").replace(/\\//g, "~1")`}return r?(0,n.getProperty)(e).toString():"/"+a(e)},t.checkStrictMode=h;const n=r(27939),i=r(32974);function o(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e.schema;const{opts:r,self:n}=e;if(!r.strictSchema)return;if("boolean"===typeof t)return;const i=n.RULES.keywords;for(const o in t)i[o]||h(e,`unknown keyword: "${o}"`)}function s(e,t){if("boolean"==typeof e)return!e;for(const r in e)if(t[r])return!0;return!1}function a(e){return"number"==typeof e?`${e}`:e.replace(/~/g,"~0").replace(/\//g,"~1")}function l(e){return e.replace(/~1/g,"/").replace(/~0/g,"~")}function c(e){let{mergeNames:t,mergeToName:r,mergeValues:i,resultToName:o}=e;return(e,s,a,l)=>{const c=void 0===a?s:a instanceof n.Name?(s instanceof n.Name?t(e,s,a):r(e,s,a),a):s instanceof n.Name?(r(e,a,s),s):i(s,a);return l!==n.Name||c instanceof n.Name?c:o(e,c)}}function p(e,t){if(!0===t)return e.var("props",!0);const r=e.var("props",n._`{}`);return void 0!==t&&u(e,r,t),r}function u(e,t,r){Object.keys(r).forEach(r=>e.assign(n._`${t}${(0,n.getProperty)(r)}`,!0))}t.mergeEvaluated={props:c({mergeNames:(e,t,r)=>e.if(n._`${r} !== true && ${t} !== undefined`,()=>{e.if(n._`${t} === true`,()=>e.assign(r,!0),()=>e.assign(r,n._`${r} || {}`).code(n._`Object.assign(${r}, ${t})`))}),mergeToName:(e,t,r)=>e.if(n._`${r} !== true`,()=>{!0===t?e.assign(r,!0):(e.assign(r,n._`${r} || {}`),u(e,r,t))}),mergeValues:(e,t)=>!0===e||{...e,...t},resultToName:p}),items:c({mergeNames:(e,t,r)=>e.if(n._`${r} !== true && ${t} !== undefined`,()=>e.assign(r,n._`${t} === true ? true : ${r} > ${t} ? ${r} : ${t}`)),mergeToName:(e,t,r)=>e.if(n._`${r} !== true`,()=>e.assign(r,!0===t||n._`${r} > ${t} ? ${r} : ${t}`)),mergeValues:(e,t)=>!0===e||Math.max(e,t),resultToName:(e,t)=>
2e.var("items",t)})};const d={};var f;function h(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e.opts.strictSchema;if(r){if(t=`strict mode: ${t}`,!0===r)throw new Error(t);e.self.logger.warn(t)}}!function(e){e[e.Num=0]="Num",e[e.Str=1]="Str"}(f||(t.Type=f={}))},65937(e,t){"use strict";function r(e,t){return t.rules.some(t=>n(e,t))}function n(e,t){var r;return void 0!==e[t.keyword]||(null===(r=t.definition.implements)||void 0===r?void 0:r.some(t=>void 0!==e[t]))}t.schemaHasRulesForType=function(e,t){let{schema:n,self:i}=e;const o=i.RULES.types[t];return o&&!0!==o&&r(n,o)},t.shouldUseGroup=r,t.shouldUseRule=n},25129(e,t,r){"use strict";t.topBoolOrEmptySchema=function(e){const{gen:t,schema:r,validateName:n}=e;!1===r?a(e,!1):"object"==typeof r&&!0===r.$async?t.return(o.default.data):(t.assign(i._`${n}.errors`,null),t.return(!0))},t.boolOrEmptySchema=function(e,t){const{gen:r,schema:n}=e;!1===n?(r.var(t,!1),a(e)):r.var(t,!0)};const n=r(98402),i=r(27939),o=r(25285),s={message:"boolean schema is false"};function a(e,t){const{gen:r,data:i}=e,o={gen:r,keyword:"false schema",data:i,schema:!1,schemaCode:!1,schemaValue:!1,params:{},it:e};(0,n.reportError)(o,s,void 0,t)}},12790(e,t,r){"use strict";t.DataType=void 0,t.getSchemaTypes=function(e){const t=c(e.type);if(t.includes("null")){if(!1===e.nullable)throw new Error("type: null contradicts nullable: false")}else{if(!t.length&&void 0!==e.nullable)throw new Error('"nullable" cannot be used without "type"');!0===e.nullable&&t.push("null")}return t},t.getJSONTypes=c,t.coerceAndCheckDataType=function(e,t){const{gen:r,data:n,opts:o}=e,a=function(e,t){return t?e.filter(e=>p.has(e)||"array"===t&&"array"===e):[]}(t,o.coerceTypes),c=t.length>0&&!(0===a.length&&1===t.length&&(0,i.schemaHasRulesForType)(e,t[0]));if(c){const i=d(t,n,o.strictNumbers,l.Wrong);r.if(i,()=>{a.length?function(e,t,r){const{gen:n,data:i,opts:o}=e,a=n.let("dataType",s._`typeof ${i}`),l=n.let("coerced",s._`undefined`);"array"===o.coerceTypes&&n.if(s._`${a} == 'object' && Array.isArray(${i}) && ${i}.length == 1`,()=>n.assign(i,s._`${i}[0]`).assign(a,s._`typeof ${i}`).if(d(t,i,o.strictNumbers),()=>n.assign(l,i)));n.if(s._`${l} !== undefined`);for(const s of r)(p.has(s)||"array"===s&&"array"===o.coerceTypes)&&c(s);function c(e){switch(e){case"string":return void n.elseIf(s._`${a} == "number" || ${a} == "boolean"`).assign(l,s._`"" + ${i}`).elseIf(s._`${i} === null`).assign(l,s._`""`);case"number":return void n.elseIf(s._`${a} == "boolean" || ${i} === null
3              || (${a} == "string" && ${i} && ${i} == +${i})`).assign(l,s._`+${i}`);case"integer":return void n.elseIf(s._`${a} === "boolean" || ${i} === null
4              || (${a} === "string" && ${i} && ${i} == +${i} && !(${i} % 1))`).assign(l,s._`+${i}`);case"boolean":return void n.elseIf(s._`${i} === "false" || ${i} === 0 || ${i} === null`).assign(l,!1).elseIf(s._`${i} === "true" || ${i} === 1`).assign(l,!0);case"null":return n.elseIf(s._`${i} === "" || ${i} === 0 || ${i} === false`),void n.assign(l,null);case"array":n.elseIf(s._`${a} === "string" || ${a} === "number"
5              || ${a} === "boolean" || ${i} === null`).assign(l,s._`[${i}]`)}}n.else(),h(e),n.endIf(),n.if(s._`${l} !== undefined`,()=>{n.assign(i,l),function(e,t){let{gen:r,parentData:n,parentDataProperty:i}=e;r.if(s._`${n} !== undefined`,()=>r.assign(s._`${n}[${i}]`,t))}(e,l)})}(e,t,a):h(e)})}return c},t.checkDataType=u,t.checkDataTypes=d,t.reportTypeError=h;const n=r(31906),i=r(65937),o=r(98402),s=r(27939),a=r(57693);var l;function c(e){const t=Array.isArray(e)?e:e?[e]:[];if(t.every(n.isJSONType))return t;throw new Error("type must be JSONType or JSONType[]: "+t.join(","))}!function(e){e[e.Correct=0]="Correct",e[e.Wrong=1]="Wrong"}(l||(t.DataType=l={}));const p=new Set(["string","number","integer","boolean","null"]);function u(e,t,r){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:l.Correct;const i=n===l.Correct?s.operators.EQ:s.operators.NEQ;let o;switch(e){case"null":return s._`${t} ${i} null`;case"array":o=s._`Array.isArray(${t})`;break;case"object":o=s._`${t} && typeof ${t} == "object" && !Array.isArray(${t})`;break;case"integer":o=a(s._`!(${t} % 1) && !isNaN(${t})`);break;case"number":o=a();break;default:return s._`typeof ${t} ${i} ${e}`}return n===l.Correct?o:(0,s.not)(o);function a(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:s.nil;return(0,s.and)(s._`typeof ${t} == "number"`,e,r?s._`isFinite(${t})`:s.nil)}}function d(e,t,r,n){if(1===e.length)return u(e[0],t,r,n);let i;const o=(0,a.toHash)(e);if(o.array&&o.object){const e=s._`typeof ${t} != "object"`;i=o.null?e:s._`!${t} || ${e}`,delete o.null,delete o.array,delete o.object}else i=s.nil;o.number&&delete o.integer;for(const a in o)i=(0,s.and)(i,u(a,t,r,n));return i}const f={message:e=>{let{schema:t}=e;return`must be ${t}`},params:e=>{let{schema:t,schemaValue:r}=e;return"string"==typeof t?s._`{type: ${t}}`:s._`{type: ${r}}`}};function h(e){const t=function(e){const{gen:t,data:r,schema:n}=e,i=(0,a.schemaRefOrVal)(e,n,"type");return{gen:t,keyword:"type",data:r,schema:n.type,schemaCode:i,schemaValue:i,parentSchema:n,params:{},it:e}}(e);(0,o.reportError)(t,f)}},30316(e,t,r){"use strict";t.assignDefaults=function(e,t){const{properties:r,items:n}=e.schema;if("object"===t&&r)for(const i in r)o(e,i,r[i].default);
5else"array"===t&&Array.isArray(n)&&n.forEach((t,r)=>o(e,r,t.default))};const n=r(27939),i=r(57693);function o(e,t,r){const{gen:o,compositeRule:s,data:a,opts:l}=e;if(void 0===r)return;const c=n._`${a}${(0,n.getProperty)(t)}`;if(s)return void(0,i.checkStrictMode)(e,`default is ignored for: ${c}`);let p=n._`${c} === undefined`;"empty"===l.useDefaults&&(p=n._`${p} || ${c} === null || ${c} === ""`),o.if(p,n._`${c} = ${(0,n.stringify)(r)}`)}},16104(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.KeywordCxt=void 0,t.validateFunctionCode=function(e){if(v(e)&&(x(e),b(e)))return void function(e){const{schema:t,opts:r,gen:n}=e;m(e,()=>{r.$comment&&t.$comment&&S(e),function(e){const{schema:t,opts:r}=e;void 0!==t.default&&r.useDefaults&&r.strictSchema&&(0,f.checkStrictMode)(e,"default is ignored in the schema root")}(e),n.let(u.default.vErrors,null),n.let(u.default.errors,0),r.unevaluated&&function(e){const{gen:t,validateName:r}=e;e.evaluated=t.const("evaluated",p._`${r}.evaluated`),t.if(p._`${e.evaluated}.dynamicProps`,()=>t.assign(p._`${e.evaluated}.props`,p._`undefined`)),t.if(p._`${e.evaluated}.dynamicItems`,()=>t.assign(p._`${e.evaluated}.items`,p._`undefined`))}(e),w(e),function(e){const{gen:t,schemaEnv:r,validateName:n,ValidationError:i,opts:o}=e;r.$async?t.if(p._`${u.default.errors} === 0`,()=>t.return(u.default.data),()=>t.throw(p._`new ${i}(${u.default.vErrors})`)):(t.assign(p._`${n}.errors`,u.default.vErrors),o.unevaluated&&function(e){let{gen:t,evaluated:r,props:n,items:i}=e;n instanceof p.Name&&t.assign(p._`${r}.props`,n);i instanceof p.Name&&t.assign(p._`${r}.items`,i)}(e),t.return(p._`${u.default.errors} === 0`))}(e)})}(e);m(e,()=>(0,n.topBoolOrEmptySchema)(e))},t.getData=T;const n=r(25129),i=r(12790),o=r(65937),s=r(12790),a=r(30316),l=r(85003),c=r(42953),p=r(27939),u=r(25285),d=r(89457),f=r(57693),h=r(98402);function m(e,t){let{gen:r,validateName:n,schema:i,schemaEnv:o,opts:s}=e;s.code.es5?r.func(n,p._`${u.default.data}, ${u.default.valCxt}`,o.$async,()=>{r.code(p._`"use strict"; ${g(i,s)}`),function(e,t){e.if(u.default.valCxt,()=>{e.var(u.default.instancePath,p._`${u.default.valCxt}.${u.default.instancePath}`),e.var(u.default.parentData,p._`${u.default.valCxt}.${u.default.parentData}`),e.var(u.default.parentDataProperty,p._`${u.default.valCxt}.${u.default.parentDataProperty}`),e.var(u.default.rootData,p._`${u.default.valCxt}.${u.default.rootData}`),e.var(u.default.isAllOfVariant,p._`${u.default.valCxt}.${u.default.isAllOfVariant}`),t.dynamicRef&&e.var(u.default.dynamicAnchors,p._`${u.default.valCxt}.${u.default.dynamicAnchors}`)},()=>{e.var(u.default.instancePath,p._`""`),e.var(u.default.parentData,p._`undefined`),e.var(u.default.parentDataProperty,p._`undefined`),e.var(u.default.rootData,u.default.data),e.var(u.default.isAllOfVariant,p._`0`),t.dynamicRef&&e.var(u.default.dynamicAnchors,p._`{}`)})}(r,s),r.code(t)}):r.func(n,p._`${u.default.data}, ${function(e){return p._`{${u.default.instancePath}="", ${u.default.parentData}, ${u.default.parentDataProperty}, ${u.default.rootData}=${u.default.data}${e.dynamicRef?p._`, ${u.default.dynamicAnchors}={}`:p.nil}, ${u.default.isAllOfVariant} = 0}={}`}(s)}`,o.$async,()=>r.code(g(i,s)).code(t))}function g(e,t){const r="object"==typeof e&&e[t.schemaId];return r&&(t.code.source||t.code.process)?p._`/*# sourceURL=${r} */`:p.nil}function y(e,t){v(e)&&(x(e),b(e))?function(e,t){const{schema:r,gen:n,opts:i}=e;i.$comment&&r.$comment&&S(e);(function(e){const t=e.schema[e.opts.schemaId];t&&(e.baseId=(0,d.resolveUrl)(e.opts.uriResolver,e.baseId,t))})(e),function(e){if(e.schema.$async&&!e.schemaEnv.$async)throw new Error("async schema in sync schema")}(e);const o=n.const("_errs",u.default.errors);w(e,o),n.var(t,p._`${o} === ${u.default.errors}`)}(e,t):(0,n.boolOrEmptySchema)(e,t)}function b(e){let{schema:t,self:r}=e;if("boolean"==typeof t)return!t;for(const n in t)if(r.RULES.all[n])return!0;return!1}function v(e){return"boolean"!=typeof e.schema}function x(e){(0,f.checkUnknownRules)(e),function(e){const{schema:t,errSchemaPath:r,opts:n,self:i}=e;t.$ref&&n.ignoreKeywordsWithRef&&(0,f.schemaHasRulesButRef)(t,i.RULES)&&i.logger.warn(`$ref: keywords ignored in schema at path "${r}"`)}(e)}function w(e,t){if(e.opts.jtd)return k(e,[],!1,t);const r=(0,i.getSchemaTypes)(e.schema);k(e,r,!(0,i.coerceAndCheckDataType)(e,r),t)}function S(e){let{gen:t,schemaEnv:r,schema:n,errSchemaPath:i,opts:o}=e;const s=n.$comment;if(!0===o.$comment)t.code(p._`${u.default.self}.logger.log(${s})`);else if("function"==typeof o.$comment){const e=p.str`${i}/$comment`,n=t.scopeValue("root",{ref:r.root});t.code(p._`${u.default.self}.opts.$comment(${s}, ${e}, ${n}.schema)`)}}function k(e,t,r,n){const{gen:i,schema:a,data:l,allErrors:c,opts:d,self:h}=e,{RULES:m}=h;function g(f){(0,o.shouldUseGroup)(a,f)&&(f.type?(i.if((0,s.checkDataType)(f.type,l,d.strictNumbers)),O(e,f),1===t.length&&t[0]===f.type&&r&&(i.else(),(0,s.reportTypeError)(e)),i.endIf()):O(e,f),c||i.if(p._`${u.default.errors} === ${n||0}`))}!a.$ref||!d.ignoreKeywordsWithRef&&(0,f.schemaHasRulesButRef)(a,m)?(d.jtd||function(e,t){if(e.schemaEnv.meta||!e.opts.strictTypes)return;(function(e,t){if(!t.length)return;if(!e.dataTypes.length)return void(e.dataTypes=t);t.forEach(t=>{_(e.dataTypes,t)||$(e,`type "${t}" not allowed by context "${e.dataTypes.join(",")}"`)}),e.dataTypes=e.dataTypes.filter(e=>_(t,e))})(e,t),e.opts.allowUnionTypes||function(e,t){t.length>1&&(2!==t.length||!t.includes("null"))&&$(e,"use allowUnionTypes to allow union type keyword")}(e,t);!function(e,t){const r=e.self.RULES.all;for(const n in r){const i=r[n];if("object"==typeof i&&(0,o.shouldUseRule)(e.schema,i)){const{type:r}=i.definition;r.length&&!r.some(e=>E(t,e))&&$(e,`missing type "${r.join(",")}" for keyword "${n}"`)}}}(e,e.dataTypes)}(e,t),i.block(()=>{for(const e of m.rules)g(e);g(m.post)})):i.block(()=>P(e,"$ref",m.all.$ref.definition))}function O(e,t){const{gen:r,schema:n,opts:{useDefaults:i}}=e;function s(t,r){return!("unevaluatedProperties"!==r.keyword||!t.properties&&!t.patternProperties||e.isAllOfVariant||!1!==e.opts.defaultUnevaluatedProperties)}i&&(0,a.assignDefaults)(e,t.type),r.block(()=>{for(const r of t.rules)((0,o.shouldUseRule)(n,r)||s(n,r))&&P(e,r.keyword,r.definition,t.type)})}function E(e,t){return e.includes(t)||"number"===t&&e.includes("integer")}function _(e,t){return e.includes(t)||"integer"===t&&e.includes("number")}function $(e,t){t+=` at "${e.schemaEnv.baseId+e.errSchemaPath}" (strictTypes)`,(0,f.checkStrictMode)(e,t,e.opts.strictTypes)}class A{constructor(e,t,r){if((0,l.validateKeywordUsage)(e,t,r),this.gen=e.gen,this.allErrors=e.allErrors,this.keyword=r,this.data=e.data,this.schema=e.schema[r],this.$data=t.$data&&e.opts.$data&&this.schema&&this.schema.$data,this.schemaValue=(0,f.schemaRefOrVal)(e,this.schema,r,this.$data),this.schemaType=t.schemaType,this.parentSchema=e.schema,this.params={},this.it=e,this.def=t,this.$data)this.schemaCode=e.gen.const("vSchema",T(this.$data,e));else if(this.schemaCode=this.schemaValue,!(0,l.validSchemaType)(this.schema,t.schemaType,t.allowUndefined))throw new Error(`${r} value must be ${JSON.stringify(t.schemaType)}`);("code"in t?t.trackErrors:!1!==t.errors)&&(this.errsCount=e.gen.const("_errs",u.default.errors))}result(e,t,r){this.failResult((0,p.not)(e),t,r)}
5failResult(e,t,r){this.gen.if(e),r?r():this.error(),t?(this.gen.else(),t(),this.allErrors&&this.gen.endIf()):this.allErrors?this.gen.endIf():this.gen.else()}pass(e,t){this.failResult((0,p.not)(e),void 0,t)}fail(e){if(void 0===e)return this.error(),void(this.allErrors||this.gen.if(!1));this.gen.if(e),this.error(),this.allErrors?this.gen.endIf():this.gen.else()}fail$data(e){if(!this.$data)return this.fail(e);const{schemaCode:t}=this;this.fail(p._`${t} !== undefined && (${(0,p.or)(this.invalid$data(),e)})`)}error(e,t,r){if(t)return this.setParams(t),this._error(e,r),void this.setParams({});this._error(e,r)}_error(e,t){(e?h.reportExtraError:h.reportError)(this,this.def.error,t)}$dataError(){(0,h.reportError)(this,this.def.$dataError||h.keyword$DataError)}reset(){if(void 0===this.errsCount)throw new Error('add "trackErrors" to keyword definition');(0,h.resetErrorsCount)(this.gen,this.errsCount)}ok(e){this.allErrors||this.gen.if(e)}setParams(e,t){t?Object.assign(this.params,e):this.params=e}block$data(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:p.nil;this.gen.block(()=>{this.check$data(e,r),t()})}check$data(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:p.nil,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:p.nil;if(!this.$data)return;const{gen:r,schemaCode:n,schemaType:i,def:o}=this;r.if((0,p.or)(p._`${n} === undefined`,t)),e!==p.nil&&r.assign(e,!0),(i.length||o.validateSchema)&&(r.elseIf(this.invalid$data()),this.$dataError(),e!==p.nil&&r.assign(e,!1)),r.else()}invalid$data(){const{gen:e,schemaCode:t,schemaType:r,def:n,it:i}=this;return(0,p.or)(function(){if(r.length){if(!(t instanceof p.Name))throw new Error("ajv implementation error");const e=Array.isArray(r)?r:[r];return p._`${(0,s.checkDataTypes)(e,t,i.opts.strictNumbers,s.DataType.Wrong)}`}return p.nil}(),function(){if(n.validateSchema){const r=e.scopeValue("validate$data",{ref:n.validateSchema});return p._`!${r}(${t})`}return p.nil}())}subschema(e,t,r){const n=(0,c.getSubschema)(this.it,e);(0,c.extendSubschemaData)(n,this.it,e),(0,c.extendSubschemaMode)(n,e);const i={...this.it,...n,items:void 0,props:void 0,isAllOfVariant:r};return y(i,t),i}mergeEvaluated(e,t){const{it:r,gen:n}=this;r.opts.unevaluated&&(!0!==r.props&&void 0!==e.props&&(r.props=f.mergeEvaluated.props(n,e.props,r.props,t)),!0!==r.items&&void 0!==e.items&&(r.items=f.mergeEvaluated.items(n,e.items,r.items,t)))}mergeValidEvaluated(e,t){const{it:r,gen:n}=this;if(r.opts.unevaluated&&(!0!==r.props||!0!==r.items))return n.if(t,()=>this.mergeEvaluated(e,p.Name)),!0}}function P(e,t,r,n){const i=new A(e,r,t);"code"in r?r.code(i,n):i.$data&&r.validate?(0,l.funcKeywordCode)(i,r):"macro"in r?(0,l.macroKeywordCode)(i,r):(r.compile||r.validate)&&(0,l.funcKeywordCode)(i,r)}t.KeywordCxt=A;const j=/^\/(?:[^~]|~0|~1)*$/,C=/^([0-9]+)(#|\/(?:[^~]|~0|~1)*)?$/;function T(e,t){let r,n,{dataLevel:i,dataNames:o,dataPathArr:s}=t;if(""===e)return u.default.rootData;if("/"===e[0]){if(!j.test(e))throw new Error(`Invalid JSON-pointer: ${e}`);r=e,n=u.default.rootData}else{const t=C.exec(e);if(!t)throw new Error(`Invalid JSON-pointer: ${e}`);const a=+t[1];if(r=t[2],"#"===r){if(a>=i)throw new Error(c("property/index",a));return s[i-a]}if(a>i)throw new Error(c("data",a));if(n=o[i-a],!r)return n}let a=n;const l=r.split("/");for(const u of l)u&&(n=p._`${n}${(0,p.getProperty)((0,f.unescapeJsonPointer)(u))}`,a=p._`${a} && ${n}`);return a;function c(e,t){return`Cannot access ${e} ${t} levels up, current level is ${i}`}}},85003(e,t,r){"use strict";t.macroKeywordCode=function(e,t){const{gen:r,keyword:i,schema:o,parentSchema:s,it:a}=e,c=t.macro.call(a.self,o,s,a),p=l(r,i,c);!1!==a.opts.validateSchema&&a.self.validateSchema(c,!0);const u=r.name("valid");e.subschema({schema:c,schemaPath:n.nil,errSchemaPath:`${a.errSchemaPath}/${i}`,topSchemaRef:p,compositeRule:!0},u),e.pass(u,()=>e.error(!0))},t.funcKeywordCode=function(e,t){var r;const{gen:c,keyword:p,schema:u,parentSchema:d,$data:f,it:h}=e;!function(e,t){let{schemaEnv:r}=e;if(t.async&&!r.$async)throw new Error("async keyword in sync schema")}(h,t);
5const m=!f&&t.compile?t.compile.call(h.self,u,d,h):t.validate,g=l(c,p,m),y=c.let("valid");function b(){let r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:t.async?n._`await `:n.nil;const s=h.opts.passContext?i.default.this:i.default.self,a=!("compile"in t&&!f||!1===t.schema);c.assign(y,n._`${r}${(0,o.callValidateCode)(e,g,s,a)}`,t.modifying)}function v(e){var r;c.if((0,n.not)(null!==(r=t.valid)&&void 0!==r?r:y),e)}e.block$data(y,function(){if(!1===t.errors)b(),t.modifying&&a(e),v(()=>e.error());else{const r=t.async?function(){const e=c.let("ruleErrs",null);return c.try(()=>b(n._`await `),t=>c.assign(y,!1).if(n._`${t} instanceof ${h.ValidationError}`,()=>c.assign(e,n._`${t}.errors`),()=>c.throw(t))),e}():function(){const e=n._`${g}.errors`;return c.assign(e,null),b(n.nil),e}();t.modifying&&a(e),v(()=>function(e,t){const{gen:r}=e;r.if(n._`Array.isArray(${t})`,()=>{r.assign(i.default.vErrors,n._`${i.default.vErrors} === null ? ${t} : ${i.default.vErrors}.concat(${t})`).assign(i.default.errors,n._`${i.default.vErrors}.length`),(0,s.extendErrors)(e)},()=>e.error())}(e,r))}}),e.ok(null!==(r=t.valid)&&void 0!==r?r:y)},t.validSchemaType=function(e,t){let r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return!t.length||t.some(t=>"array"===t?Array.isArray(e):"object"===t?e&&"object"==typeof e&&!Array.isArray(e):typeof e==t||r&&"undefined"==typeof e)},t.validateKeywordUsage=function(e,t,r){let{schema:n,opts:i,self:o,errSchemaPath:s}=e;if(Array.isArray(t.keyword)?!t.keyword.includes(r):t.keyword!==r)throw new Error("ajv implementation error");const a=t.dependencies;if(null===a||void 0===a?void 0:a.some(e=>!Object.prototype.hasOwnProperty.call(n,e)))throw new Error(`parent schema must have dependencies of ${r}: ${a.join(",")}`);if(t.validateSchema){if(!t.validateSchema(n[r])){const e=`keyword "${r}" value is invalid at path "${s}": `+o.errorsText(t.validateSchema.errors);if("log"!==i.validateSchema)throw new Error(e);o.logger.error(e)}}};const n=r(27939),i=r(25285),o=r(35363),s=r(98402);function a(e){const{gen:t,data:r,it:i}=e;t.if(i.parentData,()=>t.assign(r,n._`${i.parentData}[${i.parentDataProperty}]`))}function l(e,t,r){if(void 0===r)throw new Error(`keyword "${t}" failed to compile`);return e.scopeValue("keyword","function"==typeof r?{ref:r}:{ref:r,code:(0,n.stringify)(r)})}},42953(e,t,r){"use strict";t.getSubschema=function(e,t){let{keyword:r,schemaProp:o,schema:s,schemaPath:a,errSchemaPath:l,topSchemaRef:c}=t;if(void 0!==r&&void 0!==s)throw new Error('both "keyword" and "schema" passed, only one allowed');if(void 0!==r){const t=e.schema[r];return void 0===o?{schema:t,schemaPath:n._`${e.schemaPath}${(0,n.getProperty)(r)}`,errSchemaPath:`${e.errSchemaPath}/${r}`}:{schema:t[o],schemaPath:n._`${e.schemaPath}${(0,n.getProperty)(r)}${(0,n.getProperty)(o)}`,errSchemaPath:`${e.errSchemaPath}/${r}/${(0,i.escapeFragment)(o)}`}}if(void 0!==s){if(void 0===a||void 0===l||void 0===c)throw new Error('"schemaPath", "errSchemaPath" and "topSchemaRef" are required with "schema"');return{schema:s,schemaPath:a,topSchemaRef:c,errSchemaPath:l}}throw new Error('either "keyword" or "schema" must be passed')},t.extendSubschemaData=function(e,t,r){let{dataProp:o,dataPropType:s,data:a,dataTypes:l,propertyName:c}=r;if(void 0!==a&&void 0!==o)throw new Error('both "data" and "dataProp" passed, only one allowed');const{gen:p}=t;if(void 0!==o){const{errorPath:r,dataPathArr:a,opts:l}=t;u(p.let("data",n._`${t.data}${(0,n.getProperty)(o)}`,!0)),e.errorPath=n.str`${r}${(0,i.getErrorPath)(o,s,l.jsPropertySyntax)}`,e.parentDataProperty=n._`${o}`,e.dataPathArr=[...a,e.parentDataProperty]}if(void 0!==a){u(a instanceof n.Name?a:p.let("data",a,!0)),void 0!==c&&(e.propertyName=c)}l&&(e.dataTypes=l);function u(r){e.data=r,e.dataLevel=t.dataLevel+1,e.dataTypes=[],t.definedProperties=new Set,e.parentData=t.data,e.dataNames=[...t.dataNames,r]}},t.extendSubschemaMode=function(e,t){let{jtdDiscriminator:r,jtdMetadata:n,compositeRule:i,createErrors:o,allErrors:s}=t;void 0!==i&&(e.compositeRule=i);void 0!==o&&(e.createErrors=o);void 0!==s&&(e.allErrors=s);e.jtdDiscriminator=r,e.jtdMetadata=n};const n=r(27939),i=r(57693)},77404(e,t,r){"use strict";var n=r(16104);var i=r(27939);const o=r(94192),s=r(75609),a=r(31906),l=r(20141),c=r(27939),p=r(89457),u=r(12790),d=r(57693),f=r(68884),h=r(58898),m=(e,t)=>
vendor: 5,948 bytes, line 5
5new RegExp(e,t);m.code="new RegExp";const g=["removeAdditional","useDefaults","coerceTypes","defaultUnevaluatedProperties","defaultAdditionalProperties"],y=new Set(["validate","serialize","parse","wrapper","root","schema","keyword","pattern","formats","validate$data","func","obj","Error"]),b={errorDataPath:"",format:"`validateFormats: false` can be used instead.",nullable:'"nullable" keyword is supported by default.',jsonPointers:"Deprecated jsPropertySyntax can be used instead.",extendRefs:"Deprecated ignoreKeywordsWithRef can be used instead.",missingRefs:"Pass empty schema with $id that should be ignored to ajv.addSchema.",processCode:"Use option `code: {process: (code, schemaEnv: object) => string}`",sourceCode:"Use option `code: {source: true}`",strictDefaults:"It is default now, see option `strict`.",strictKeywords:"It is default now, see option `strict`.",uniqueItems:'"uniqueItems" keyword is always validated.',unknownFormats:"Disable strict mode or pass `true` to `ajv.addFormat` (or `formats` option).",cache:"Map is used as cache, schema object as key.",serialize:"Map is used as cache, schema object as key.",ajvErrors:"It is default now."},v={ignoreKeywordsWithRef:"",jsPropertySyntax:"",unicode:'"minLength"/"maxLength" account for unicode characters by default.'};function x(e){var t,r,n,i,o,s,a,l,c,p,u,d,f,g,y,b,v,x,w,S,k,O,E,_,$;const A=e.strict,P=null===(t=e.code)||void 0===t?void 0:t.optimize,j=!0===P||void 0===P?1:P||0,C=null!==(n=null===(r=e.code)||void 0===r?void 0:r.regExp)&&void 0!==n?n:m,T=null!==(i=e.uriResolver)&&void 0!==i?i:h.default;return{strictSchema:null===(s=null!==(o=e.strictSchema)&&void 0!==o?o:A)||void 0===s||s,strictNumbers:null===(l=null!==(a=e.strictNumbers)&&void 0!==a?a:A)||void 0===l||l,strictTypes:null!==(p=null!==(c=e.strictTypes)&&void 0!==c?c:A)&&void 0!==p?p:"log",strictTuples:null!==(d=null!==(u=e.strictTuples)&&void 0!==u?u:A)&&void 0!==d?d:"log",strictRequired:null!==(g=null!==(f=e.strictRequired)&&void 0!==f?f:A)&&void 0!==g&&g,code:e.code?{...e.code,optimize:j,regExp:C}:{optimize:j,regExp:C},loopRequired:null!==(y=e.loopRequired)&&void 0!==y?y:200,loopEnum:null!==(b=e.loopEnum)&&void 0!==b?b:200,meta:null===(v=e.meta)||void 0===v||v,messages:null===(x=e.messages)||void 0===x||x,inlineRefs:null===(w=e.inlineRefs)||void 0===w||w,schemaId:null!==(S=e.schemaId)&&void 0!==S?S:"$id",addUsedSchema:null===(k=e.addUsedSchema)||void 0===k||k,validateSchema:null===(O=e.validateSchema)||void 0===O||O,validateFormats:null===(E=e.validateFormats)||void 0===E||E,unicodeRegExp:null===(_=e.unicodeRegExp)||void 0===_||_,int32range:null===($=e.int32range)||void 0===$||$,uriResolver:T}}class w{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.schemas={},this.refs={},this.formats={},this._compilations=new Set,this._loading={},this._cache=new Map,e=this.opts={...e,...x(e)};const{es5:t,lines:r}=this.opts.code;this.scope=new c.ValueScope({scope:{},prefixes:y,es5:t,lines:r}),this.logger=function(e){if(!1===e)return A;if(void 0===e)return console;if(e.log&&e.warn&&e.error)return e;throw new Error("logger must implement log, warn and error methods")}(e.logger);const n=e.validateFormats;e.validateFormats=!1,this.RULES=(0,a.getRules)(),S.call(this,b,e,"NOT SUPPORTED"),S.call(this,v,e,"DEPRECATED","warn"),this._metaOpts=$.call(this),e.formats&&E.call(this),this._addVocabularies(),this._addDefaultMetaSchema(),e.keywords&&_.call(this,e.keywords),"object"==typeof e.meta&&this.addMetaSchema(e.meta),O.call(this),e.validateFormats=n}_addVocabularies(){this.addKeyword("$async")}_addDefaultMetaSchema(){const{$data:e,meta:t,schemaId:r}=this.opts;let n=f;"id"===r&&(n={...f},n.id=n.$id,delete n.$id),t&&e&&this.addMetaSchema(n,n[r],!1)}defaultMeta(){const{meta:e,schemaId:t}=this.opts;return this.opts.defaultMeta="object"==typeof e?e[t]||e:void 0}validate(e,t){let r;if("string"==typeof e){if(r=this.getSchema(e),!r)throw new Error(`no schema with key or ref "${e}"`)}else r=this.compile(e);const n=r(t);return"$async"in r||(this.errors=r.errors),n}compile(e,t){const r=this._addSchema(e,t);return r.validate||this._compileSchemaEnv(r)}compileAsync(e,t){if("function"!=typeof this.opts.loadSchema)throw new Error("options.loadSchema should be a function");const{loadSchema:r}=this.opts;return n.call(this,e,t);async function n(e,t){await i.call(this,e.$schema);const r=this._addSchema(e,t);return r.validate||o.call(this,r)}async function i(e){e&&!this.getSchema(e)&&await n.call(this,{$ref:e},!0)}async function o(e){try{return this._compileSchemaEnv(e)}catch(t){if(!(t instanceof s.default))throw t;return a.call(this,t),await l.call(this,t.missingSchema),o.call(this,e)}}function a(e){let{missingSchema:t,missingRef:r}=e;if(this.refs[t])throw new Error(`AnySchema ${t} is loaded but ${r} cannot be resolved`)}async function l(e){const r=await c.call(this,e);this.refs[e]||await i.call(this,r.$schema),this.refs[e]||this.addSchema(r,e,t)}async function c(e){const t=this._loading[e];if(t)return t;try{return await(this._loading[e]=r(e))}finally{delete this._loading[e]}}}addSchema(e,t,r){let n,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:this.opts.validateSchema;if(Array.isArray(e)){for(const t of e)this.addSchema(t,void 0,r,i);return this}if("object"===typeof e){const{schemaId:t}=this.opts;if(n=e[t],void 0!==n&&"string"!=typeof n)throw new Error(`schema ${t} must be string`)}return t=(0,p.normalizeId)(t||n),this._checkUnique(t),this.schemas[t]=this._addSchema(e,r,t,i,!0),this}addMetaSchema(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.opts.validateSchema;return this.addSchema(e,t,!0,r),this}validateSchema(e,t){if("boolean"==typeof e)return!0;let r;if(r=e.$schema,void 0!==r&&"string"!=typeof r)throw new Error("$schema must be a string");if(r=r||this.opts.defaultMeta||this.defaultMeta(),!r)return this.logger.warn("meta-schema not available"),this.errors=null,!0;const n=this.validate(r,e);
5if(!n&&t){const e="schema is invalid: "+this.errorsText();if("log"!==this.opts.validateSchema)throw new Error(e);this.logger.error(e)}return n}getSchema(e){let t;for(;"string"==typeof(t=k.call(this,e));)e=t;if(void 0===t){const{schemaId:r}=this.opts,n=new l.SchemaEnv({schema:{},schemaId:r});if(t=l.resolveSchema.call(this,n,e),!t)return;this.refs[e]=t}return t.validate||this._compileSchemaEnv(t)}removeSchema(e){if(e instanceof RegExp)return this._removeAllSchemas(this.schemas,e),this._removeAllSchemas(this.refs,e),this;switch(typeof e){case"undefined":return this._removeAllSchemas(this.schemas),this._removeAllSchemas(this.refs),this._cache.clear(),this;case"string":{const t=k.call(this,e);return"object"==typeof t&&this._cache.delete(t.schema),delete this.schemas[e],delete this.refs[e],this}case"object":{const t=e;this._cache.delete(t);let r=e[this.opts.schemaId];return r&&(r=(0,p.normalizeId)(r),delete this.schemas[r],delete this.refs[r]),this}default:throw new Error("ajv.removeSchema: invalid parameter")}}addVocabulary(e){for(const t of e)this.addKeyword(t);return this}addKeyword(e,t){let r;if("string"==typeof e)r=e,"object"==typeof t&&(this.logger.warn("these parameters are deprecated, see docs for addKeyword"),t.keyword=r);else{if("object"!=typeof e||void 0!==t)throw new Error("invalid addKeywords parameters");if(r=(t=e).keyword,Array.isArray(r)&&!r.length)throw new Error("addKeywords: keyword must be string or non-empty array")}if(j.call(this,r,t),!t)return(0,d.eachItem)(r,e=>C.call(this,e)),this;I.call(this,t);const n={...t,type:(0,u.getJSONTypes)(t.type),schemaType:(0,u.getJSONTypes)(t.schemaType)};return(0,d.eachItem)(r,0===n.type.length?e=>C.call(this,e,n):e=>n.type.forEach(t=>C.call(this,e,n,t))),this}getKeyword(e){const t=this.RULES.all[e];return"object"==typeof t?t.definition:!!t}removeKeyword(e){const{RULES:t}=this;delete t.keywords[e],delete t.all[e];for(const r of t.rules){const t=r.rules.findIndex(t=>t.keyword===e);t>=0&&r.rules.splice(t,1)}return this}addFormat(e,t){return"string"==typeof t&&(t=new RegExp(t)),this.formats[e]=t,this}errorsText(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.errors,{separator:t=", ",dataVar:r="data"}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return e&&0!==e.length?e.map(e=>`${r}${e.instancePath} ${e.message}`).reduce((e,r)=>e+t+r):"No errors"}$dataMetaSchema(e,t){const r=this.RULES.all;e=JSON.parse(JSON.stringify(e));for(const n of t){const t=n.split("/").slice(1);let i=e;for(const e of t)i=i[e];for(const e in r){const t=r[e];if("object"!=typeof t)continue;const{$data:n}=t.definition,o=i[e];n&&o&&(i[e]=R(o))}}return e}_removeAllSchemas(e,t){for(const r in e){const n=e[r];t&&!t.test(r)||("string"==typeof n?delete e[r]:n&&!n.meta&&(this._cache.delete(n.schema),delete e[r]))}}_addSchema(e,t,r){let n,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:this.opts.validateSchema,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:this.opts.addUsedSchema;const{schemaId:s}=this.opts;if("object"==typeof e)n=e[s];else{if(this.opts.jtd)throw new Error("schema must be object");if("boolean"!=typeof e)throw new Error("schema must be object or boolean")}let a=this._cache.get(e);if(void 0!==a)return a;r=(0,p.normalizeId)(n||r);const c=p.getSchemaRefs.call(this,e,r);return a=new l.SchemaEnv({schema:e,schemaId:s,meta:t,baseId:r,localRefs:c}),this._cache.set(a.schema,a),o&&!r.startsWith("#")&&(r&&this._checkUnique(r),this.refs[r]=a),i&&this.validateSchema(e,!0),a}_checkUnique(e){if(this.schemas[e]||this.refs[e])throw new Error(`schema with key or id "${e}" already exists`)}_compileSchemaEnv(e){if(e.meta?this._compileMetaSchema(e):l.compileSchema.call(this,e),!e.validate)throw new Error("ajv implementation error");return e.validate}_compileMetaSchema(e){const t=this.opts;this.opts=this._metaOpts;try{l.compileSchema.call(this,e)}finally{this.opts=t}}}function S(e,t,r){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"error";for(const i in e){const o=i;o in t&&this.logger[n](`${r}: option ${i}. ${e[o]}`)}}function k(e){return e=(0,p.normalizeId)(e),this.schemas[e]||this.refs[e]}function O(){const e=this.opts.schemas;if(e)if(Array.isArray(e))this.addSchema(e);else for(const t in e)this.addSchema(e[t],t)}function E(){for(const e in this.opts.formats){const t=this.opts.formats[e];t&&this.addFormat(e,t)}}function _(e){if(Array.isArray(e))this.addVocabulary(e);else{this.logger.warn("keywords option as map is deprecated, pass array");for(const t in e){const r=e[t];r.keyword||(r.keyword=t),this.addKeyword(r)}}}function $(){const e={...this.opts};for(const t of g)delete e[t];return e}w.ValidationError=o.default,w.MissingRefError=s.default,t.default=w;const A={log(){},warn(){},error(){}};const P=/^[a-z_$][a-z0-9_$:-]*$/i;function j(e,t){const{RULES:r}=this;if((0,d.eachItem)(e,e=>{if(r.keywords[e])throw new Error(`Keyword ${e} is already defined`);if(!P.test(e))throw new Error(`Keyword ${e}
5 has invalid name`)}),t&&t.$data&&!("code"in t)&&!("validate"in t))throw new Error('$data keyword must have "code" or "validate" function')}function C(e,t,r){var n;const i=null===t||void 0===t?void 0:t.post;if(r&&i)throw new Error('keyword with "post" flag cannot have "type"');const{RULES:o}=this;let s=i?o.post:o.rules.find(e=>{let{type:t}=e;return t===r});if(s||(s={type:r,rules:[]},o.rules.push(s)),o.keywords[e]=!0,!t)return;const a={keyword:e,definition:{...t,type:(0,u.getJSONTypes)(t.type),schemaType:(0,u.getJSONTypes)(t.schemaType)}};t.before?T.call(this,s,a,t.before):s.rules.push(a),o.all[e]=a,null===(n=t.implements)||void 0===n||n.forEach(e=>this.addKeyword(e))}function T(e,t,r){const n=e.rules.findIndex(e=>e.keyword===r);n>=0?e.rules.splice(n,0,t):(e.rules.push(t),this.logger.warn(`rule ${r} is not defined`))}function I(e){let{metaSchema:t}=e;void 0!==t&&(e.$data&&this.opts.$data&&(t=R(t)),e.validateSchema=this.compile(t,!0))}const N={$ref:"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#"};function R(e){return{anyOf:[e,N]}}},86158(e,t,r){"use strict";t.default=function(e){return[n,i,o,s,a,t(this,l),c,t(this,p)].forEach(e=>this.addMetaSchema(e,void 0,!1)),this;function t(t,r){return e?t.$dataMetaSchema(r,u):r}};const n=r(47207),i=r(73243),o=r(98818),s=r(36211),a=r(13953),l=r(36573),c=r(65386),p=r(9509),u=["/properties"]},63872(e,t,r){"use strict";const n=r(122);n.code='require("ajv/dist/runtime/equal").default',t.default=n},2571(e,t){"use strict";function r(e){const t=e.length;let r,n=0,i=0;for(;i<t;)n++,r=e.charCodeAt(i++),r>=55296&&r<=56319&&i<t&&(r=e.charCodeAt(i),56320===(64512&r)&&i++);return n}t.default=r,r.code='require("ajv/dist/runtime/ucs2length").default'},58898(e,t,r){"use strict";const n=r(28396);n.code='require("ajv/dist/runtime/uri").default',t.default=n},94192(e,t){"use strict";class r extends Error{constructor(e){super("validation failed"),this.errors=e,this.ajv=this.validation=!0}}t.default=r},99795(e,t,r){"use strict";t.validateAdditionalItems=s;const n=r(27939),i=r(57693),o={keyword:"additionalItems",type:"array",schemaType:["boolean","object"],before:"uniqueItems",error:{message:e=>{let{params:{len:t}}=e;return n.str`must NOT have more than ${t} items`},params:e=>{let{params:{len:t}}=e;return n._`{limit: ${t}}`}},code(e){const{parentSchema:t,it:r}=e,{items:n}=t;Array.isArray(n)?s(e,n):(0,i.checkStrictMode)(r,'"additionalItems" is ignored when "items" is not an array of schemas')}};function s(e,t){const{gen:r,schema:o,data:s,keyword:a,it:l}=e;l.items=!0;const c=r.const("len",n._`${s}.length`);if(!1===o)e.setParams({len:t.length}),e.pass(n._`${c} <= ${t.length}`);else if("object"==typeof o&&!(0,i.alwaysValidSchema)(l,o)){const o=r.var("valid",n._`${c} <= ${t.length}`);r.if((0,n.not)(o),()=>function(o){r.forRange("i",t.length,c,t=>{e.subschema({keyword:a,dataProp:t,dataPropType:i.Type.Num},o),l.allErrors||r.if((0,n.not)(o),()=>r.break())})}(o)),e.ok(o)}}t.default=o},15182(e,t,r){"use strict";const n=r(35363),i=r(27939),o=r(25285),s=r(57693),a={keyword:"additionalProperties",type:["object"],schemaType:["boolean","object"],allowUndefined:!0,trackErrors:!0,error:{message:"must NOT have additional properties",params:e=>{let{params:t}=e;return i._`{additionalProperty: ${t.additionalProperty}}`}},code(e){const{gen:t,parentSchema:r,data:a,errsCount:l,it:c}=e,{schema:p=c.opts.defaultAdditionalProperties}=e;if(!l)throw new Error("ajv implementation error");const{allErrors:u,opts:d}=c;if(c.props=!0,"all"!==d.removeAdditional&&(0,s.alwaysValidSchema)(c,p))return;const f=(0,n.allSchemaProperties)(r.properties),h=(0,n.allSchemaProperties)(r.patternProperties);function m(e){t.code(i._`delete ${a}[${e}]`)}function g(r){if("all"===d.removeAdditional||d.removeAdditional&&!1===p)m(r);else{if(!1===p)return e.setParams({additionalProperty:r}),e.error(),void(u||t.break());if("object"==typeof p&&!(0,s.alwaysValidSchema)(c,p)){const n=t.name("valid");"failing"===d.removeAdditional?(y(r,n,!1),t.if((0,i.not)(n),()=>{e.reset(),m(r)})):(y(r,n),u||t.if((0,i.not)(n),()=>t.break()))}}}function y(t,r,n){const i={keyword:"additionalProperties",dataProp:t,dataPropType:s.Type.Str};!1===n&&Object.assign(i,{compositeRule:!0,createErrors:!1,allErrors:!1}),e.subschema(i,r)}t.forIn("key",a,o=>{f.length||h.length?t.if(function(o){let a;if(f.length>8){const e=(0,s.schemaRefOrVal)(c,r.properties,"properties");a=(0,n.isOwnProperty)(t,e,o)}else a=f.length?(0,i.or)(...f.map(e=>i._`${o} === ${e}`)):i.nil;return h.length&&(a=(0,i.or)(a,...h.map(t=>i._`${(0,n.usePattern)(e,t)}.test(${o})`))),(0,i.not)(a)}(o),()=>g(o)):g(o)}),e.ok(i._`${l} === ${o.default.errors}`)}};t.default=a},27002(e,t,r){"use strict";const n=r(57693),i={keyword:"allOf",schemaType:"array",code(e){const{gen:t,schema:r,it:i}=e;if(!Array.isArray(r))throw new Error("ajv implementation error");const o=t.name("valid");r.forEach((t,r)=>{if((0,n.alwaysValidSchema)(i,t))return;const s=e.subschema({keyword:"allOf",schemaProp:r},o,!0);e.ok(o),e.mergeEvaluated(s)})}};t.default=i},16499(e,t,r){"use strict";const n={keyword:"anyOf",schemaType:"array",trackErrors:!0,code:r(35363).validateUnion,error:{message:"must match a schema in anyOf"}};t.default=n},48779(e,t,r){"use strict";const n=r(27939),i=r(57693),o={keyword:"contains",type:"array",schemaType:["object","boolean"],before:"uniqueItems",trackErrors:!0,error:{message:e=>{let{params:{min:t,max:r}}=e;return void 0===r?n.str`must contain at least ${t} valid item(s)`:n.str`must contain at least ${t} and no more than ${r} valid item(s)`},params:e=>{let{params:{min:t,max:r}}=e;return void 0===r?n._`{minContains: ${t}}`:n._`{minContains: ${t}, maxContains: ${r}}`}},code(e){const{gen:t,schema:r,parentSchema:o,data:s,it:a}=e;let l,c;const{minContains:p,maxContains:u}=o;a.opts.next?(l=void 0===p?1:p,c=u):l=1;const d=t.const("len",n._`${s}.length`);if(e.setParams({min:l,max:c}),void 0===c&&0===l)return void(0,i.checkStrictMode)(a,'"minContains" == 0 without "maxContains": "contains" keyword ignored');
5if(void 0!==c&&l>c)return(0,i.checkStrictMode)(a,'"minContains" > "maxContains" is always invalid'),void e.fail();if((0,i.alwaysValidSchema)(a,r)){let t=n._`${d} >= ${l}`;return void 0!==c&&(t=n._`${t} && ${d} <= ${c}`),void e.pass(t)}a.items=!0;const f=t.name("valid");function h(){const e=t.name("_valid"),r=t.let("count",0);m(e,()=>t.if(e,()=>function(e){t.code(n._`${e}++`),void 0===c?t.if(n._`${e} >= ${l}`,()=>t.assign(f,!0).break()):(t.if(n._`${e} > ${c}`,()=>t.assign(f,!1).break()),1===l?t.assign(f,!0):t.if(n._`${e} >= ${l}`,()=>t.assign(f,!0)))}(r)))}function m(r,n){t.forRange("i",0,d,t=>{e.subschema({keyword:"contains",dataProp:t,dataPropType:i.Type.Num,compositeRule:!0},r),n()})}void 0===c&&1===l?m(f,()=>t.if(f,()=>t.break())):0===l?(t.let(f,!0),void 0!==c&&t.if(n._`${s}.length > 0`,h)):(t.let(f,!1),h()),e.result(f,()=>e.reset())}};t.default=o},72675(e,t,r){"use strict";t.error=void 0,t.validatePropertyDeps=a,t.validateSchemaDeps=l;const n=r(27939),i=r(57693),o=r(35363);t.error={message:e=>{let{params:{property:t,depsCount:r,deps:i}}=e;const o=1===r?"property":"properties";return n.str`must have ${o} ${i} when property ${t} is present`},params:e=>{let{params:{property:t,depsCount:r,deps:i,missingProperty:o}}=e;return n._`{property: ${t},
6    missingProperty: ${o},
7    depsCount: ${r},
8    deps: ${i}}`}};const s={keyword:"dependencies",type:"object",schemaType:"object",error:t.error,code(e){const[t,r]=function(e){let{schema:t}=e;const r={},n={};for(const i in t){if("__proto__"===i)continue;(Array.isArray(t[i])?r:n)[i]=t[i]}return[r,n]}(e);a(e,t),l(e,r)}};function a(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e.schema;const{gen:r,data:i,it:s}=e;if(0===Object.keys(t).length)return;const a=r.let("missing");for(const l in t){const c=t[l];if(0===c.length)continue;const p=(0,o.propertyInData)(r,i,l,s.opts.ownProperties);e.setParams({property:l,depsCount:c.length,deps:c.join(", ")}),s.allErrors?r.if(p,()=>{for(const t of c)(0,o.checkReportMissingProp)(e,t)}):(r.if(n._`${p} && (${(0,o.checkMissingProp)(e,c,a)})`),(0,o.reportMissingProp)(e,a),r.else())}}function l(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e.schema;const{gen:r,data:n,keyword:s,it:a}=e,l=r.name("valid");for(const c in t)(0,i.alwaysValidSchema)(a,t[c])||(r.if((0,o.propertyInData)(r,n,c,a.opts.ownProperties),()=>{const t=e.subschema({keyword:s,schemaProp:c},l);e.mergeValidEvaluated(t,l)},()=>r.var(l,!0)),e.ok(l))}t.default=s},95803(e,t,r){"use strict";const n=r(72675),i={keyword:"dependentSchemas",type:"object",schemaType:"object",code:e=>(0,n.validateSchemaDeps)(e)};t.default=i},81221(e,t,r){"use strict";const n=r(27939),i=r(57693),o={keyword:"if",schemaType:["object","boolean"],trackErrors:!0,error:{message:e=>{let{params:t}=e;return n.str`must match "${t.ifClause}" schema`},params:e=>{let{params:t}=e;return n._`{failingKeyword: ${t.ifClause}}`}},code(e){const{gen:t,parentSchema:r,it:o}=e;void 0===r.then&&void 0===r.else&&(0,i.checkStrictMode)(o,'"if" without "then" and "else" is ignored');const a=s(o,"then"),l=s(o,"else");if(!a&&!l)return;const c=t.let("valid",!0),p=t.name("_valid");if(function(){const t=e.subschema({keyword:"if",compositeRule:!0,createErrors:!1,allErrors:!1},p);e.mergeEvaluated(t)}(),e.reset(),a&&l){const r=t.let("ifClause");e.setParams({ifClause:r}),t.if(p,u("then",r),u("else",r))}else a?t.if(p,u("then")):t.if((0,n.not)(p),u("else"));function u(r,i){return()=>{const o=e.subschema({keyword:r},p);t.assign(c,p),e.mergeValidEvaluated(o,c),i?t.assign(i,n._`${r}`):e.setParams({ifClause:r})}}e.pass(c,()=>e.error(!0))}};function s(e,t){const r=e.schema[t];return void 0!==r&&!(0,i.alwaysValidSchema)(e,r)}t.default=o},17444(e,t,r){"use strict";t.default=function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];const t=[f.default,h.default,m.default,g.default,y.default,b.default,c.default,p.default,l.default,u.default,d.default];e?t.push(i.default,s.default):t.push(n.default,o.default);return t.push(a.default),t};const n=r(99795),i=r(35468),o=r(86848),s=r(32768),a=r(48779),l=r(72675),c=r(2987),p=r(15182),u=r(17671),d=r(3491),f=r(7457),h=r(16499),m=r(24089),g=r(27002),y=r(81221),b=r(28764)},86848(e,t,r){"use strict";t.validateTuple=a;const n=r(27939),i=r(57693),o=r(35363),s={keyword:"items",type:"array",schemaType:["object","array","boolean"],before:"uniqueItems",code(e){const{schema:t,it:r}=e;if(Array.isArray(t))return a(e,"additionalItems",t);r.items=!0,(0,i.alwaysValidSchema)(r,t)||e.ok((0,o.validateArray)(e))}};function a(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e.schema;const{gen:o,parentSchema:s,data:a,keyword:l,it:c}=e;!function(e){const{opts:n,errSchemaPath:o}=c,s=r.length,a=s===e.minItems&&(s===e.maxItems||!1===e[t]);if(n.strictTuples&&!a){const e=`"${l}" is ${s}-tuple, but minItems or maxItems/${t} are not specified or different at path "${o}"`;
8(0,i.checkStrictMode)(c,e,n.strictTuples)}}(s),c.opts.unevaluated&&r.length&&!0!==c.items&&(c.items=i.mergeEvaluated.items(o,r.length,c.items));const p=o.name("valid"),u=o.const("len",n._`${a}.length`);r.forEach((t,r)=>{(0,i.alwaysValidSchema)(c,t)||(o.if(n._`${u} > ${r}`,()=>e.subschema({keyword:l,schemaProp:r,dataProp:r},p)),e.ok(p))})}t.default=s},32768(e,t,r){"use strict";const n=r(27939),i=r(57693),o=r(35363),s=r(99795),a={keyword:"items",type:"array",schemaType:["object","boolean"],before:"uniqueItems",error:{message:e=>{let{params:{len:t}}=e;return n.str`must NOT have more than ${t} items`},params:e=>{let{params:{len:t}}=e;return n._`{limit: ${t}}`}},code(e){const{schema:t,parentSchema:r,it:n}=e,{prefixItems:a}=r;n.items=!0,(0,i.alwaysValidSchema)(n,t)||(a?(0,s.validateAdditionalItems)(e,a):e.ok((0,o.validateArray)(e)))}};t.default=a},7457(e,t,r){"use strict";const n=r(57693),i={keyword:"not",schemaType:["object","boolean"],trackErrors:!0,code(e){const{gen:t,schema:r,it:i}=e;if((0,n.alwaysValidSchema)(i,r))return void e.fail();const o=t.name("valid");e.subschema({keyword:"not",compositeRule:!0,createErrors:!1,allErrors:!1},o),e.failResult(o,()=>e.reset(),()=>e.error())},error:{message:"must NOT be valid"}};t.default=i},24089(e,t,r){"use strict";const n=r(27939),i=r(57693),o={keyword:"oneOf",schemaType:"array",trackErrors:!0,error:{message:"must match exactly one schema in oneOf",params:e=>{let{params:t}=e;return n._`{passingSchemas: ${t.passing}}`}},code(e){const{gen:t,schema:r,parentSchema:o,it:s}=e;if(!Array.isArray(r))throw new Error("ajv implementation error");if(s.opts.discriminator&&o.discriminator)return;const a=r,l=t.let("valid",!1),c=t.let("passing",null),p=t.name("_valid");e.setParams({passing:c}),t.block(function(){a.forEach((r,o)=>{let a;(0,i.alwaysValidSchema)(s,r)?t.var(p,!0):a=e.subschema({keyword:"oneOf",schemaProp:o,compositeRule:!0},p),o>0&&t.if(n._`${p} && ${l}`).assign(l,!1).assign(c,n._`[${c}, ${o}]`).else(),t.if(p,()=>{t.assign(l,!0),t.assign(c,o),a&&e.mergeEvaluated(a,n.Name)})})}),e.result(l,()=>e.reset(),()=>e.error(!0))}};t.default=o},3491(e,t,r){"use strict";const n=r(35363),i=r(27939),o=r(57693),s=r(57693),a={keyword:"patternProperties",type:"object",schemaType:"object",code(e){const{gen:t,schema:r,data:a,parentSchema:l,it:c}=e,{opts:p}=c,u=(0,n.allSchemaProperties)(r),d=u.filter(e=>(0,o.alwaysValidSchema)(c,r[e]));if(0===u.length||d.length===u.length&&(!c.opts.unevaluated||!0===c.props))return;const f=p.strictSchema&&!p.allowMatchingProperties&&l.properties,h=t.name("valid");!0===c.props||c.props instanceof i.Name||(c.props=(0,s.evaluatedPropsToName)(t,c.props));const{props:m}=c;function g(e){for(const t in f)new RegExp(e).test(t)&&(0,o.checkStrictMode)(c,`property ${t} matches pattern ${e} (use allowMatchingProperties)`)}function y(r){t.forIn("key",a,o=>{t.if(i._`${(0,n.usePattern)(e,r)}.test(${o})`,()=>{const n=d.includes(r);n||e.subschema({keyword:"patternProperties",schemaProp:r,dataProp:o,dataPropType:s.Type.Str},h),c.opts.unevaluated&&!0!==m?t.assign(i._`${m}[${o}]`,!0):n||c.allErrors||t.if((0,i.not)(h),()=>t.break())})})}!function(){for(const e of u)f&&g(e),c.allErrors?y(e):(t.var(h,!0),y(e),t.if(h))}()}};t.default=a},35468(e,t,r){"use strict";const n=r(86848),i={keyword:"prefixItems",type:"array",schemaType:["array"],before:"uniqueItems",code:e=>(0,n.validateTuple)(e,"items")};t.default=i},17671(e,t,r){"use strict";const n=r(16104),i=r(35363),o=r(57693),s=r(15182),a={keyword:"properties",type:"object",schemaType:"object",code(e){const{gen:t,schema:r,parentSchema:a,data:l,it:c}=e;("all"===c.opts.removeAdditional&&void 0===a.additionalProperties||!1===c.opts.defaultAdditionalProperties)&&s.default.code(new n.KeywordCxt(c,s.default,"additionalProperties"));const p=(0,i.allSchemaProperties)(r);for(const n of p)c.definedProperties.add(n);c.opts.unevaluated&&p.length&&!0!==c.props&&(c.props=o.mergeEvaluated.props(t,(0,o.toHash)(p),c.props));const u=p.filter(e=>!(0,o.alwaysValidSchema)(c,r[e]));if(0===u.length)return;const d=t.name("valid");for(const n of u)f(n)?h(n):(t.if((0,i.propertyInData)(t,l,n,c.opts.ownProperties)),h(n),c.allErrors||t.else().var(d,!0),t.endIf()),e.it.definedProperties.add(n),e.ok(d);function f(e){return c.opts.useDefaults&&!c.compositeRule&&void 0!==r[e].default}function h(t){e.subschema({keyword:"properties",schemaProp:t,dataProp:t},d)}}};t.default=a},2987(e,t,r){"use strict";const n=r(27939),i=r(57693),o={keyword:"propertyNames",type:"object",schemaType:["object","boolean"],error:{message:"property name must be valid",params:e=>{let{params:t}=e;return n._`{propertyName: ${t.propertyName}}`}},code(e){const{gen:t,schema:r,data:o,it:s}=e;if((0,i.alwaysValidSchema)(s,r))return;const a=t.name("valid");t.forIn("key",o,r=>{e.setParams({propertyName:r}),e.subschema({keyword:"propertyNames",data:r,dataTypes:["string"],propertyName:r,compositeRule:!0},a),t.if((0,n.not)(a),()=>{e.error(!0),s.allErrors||t.break()})}),e.ok(a)}};t.default=o},28764(e,t,r){"use strict";const n=r(57693),i={keyword:["then","else"],schemaType:["object","boolean"],code(e){let{keyword:t,parentSchema:r,it:i}=e;void 0===r.if&&(0,n.checkStrictMode)(i,`"${t}" without "if" is ignored`)}};t.default=i},35363(e,t,r){"use strict";t.checkReportMissingProp=function(e,t){const{gen:r,data:i,it:o}=e;r.if(c(r,i,t,o.opts.ownProperties),()=>{e.setParams({missingProperty:n._`${t}`},!0),e.error()})},t.checkMissingProp=function(e,t,r){let{gen:i,data:o,it:{opts:s}}=e;return(0,n.or)(...t.map(e=>(0,n.and)(c(i,o,e,s.ownProperties),n._`${r} = ${e}`)))},t.reportMissingProp=function(e,t){e.setParams({missingProperty:t},!0),e.error()},t.isOwnProperty=l,t.propertyInData=function(e,t,r,i){const o=n._`${t}${(0,n.getProperty)(r)} !== undefined`;return i?n._`${o} && ${l(e,t,r)}`:o},t.noPropertyInData=c,t.allSchemaProperties=p,t.callValidateCode=function(e,t,r,i){let{schemaCode:s,data:a,it:{gen:l,topSchemaRef:c,schemaPath:p,errorPath:u},it:d}=e;const f=i?n._`${s}, ${a}, ${c}${p}`:a,h=[[o.default.instancePath,(0,n.strConcat)(o.default.instancePath,u)],[o.default.parentData,d.parentData],[o.default.parentDataProperty,d.parentDataProperty],[o.default.rootData,o.default.rootData],[o.default.isAllOfVariant,d.isAllOfVariant?1:0]];d.opts.dynamicRef&&h.push([o.default.dynamicAnchors,o.default.dynamicAnchors]);const m=n._`${f}, ${l.object(...h)}`;return r!==n.nil?n._`${t}.call(${r}, ${m})`:n._`${t}(${m})`},t.usePattern=function(e,t){let{gen:r,it:{opts:i}}=e;const o=i.unicodeRegExp?"u":"",{regExp:a}=i.code,l=a(t,o);
8return r.scopeValue("pattern",{key:l.toString(),ref:l,code:n._`${"new RegExp"===a.code?u:(0,s.useFunc)(r,a)}(${t}, ${o})`})},t.validateArray=function(e){const{gen:t,data:r,keyword:o,it:s}=e,a=t.name("valid");if(s.allErrors){const e=t.let("valid",!0);return l(()=>t.assign(e,!1)),e}return t.var(a,!0),l(()=>t.break()),a;function l(s){const l=t.const("len",n._`${r}.length`);t.forRange("i",0,l,r=>{e.subschema({keyword:o,dataProp:r,dataPropType:i.Type.Num},a),t.if((0,n.not)(a),s)})}},t.validateUnion=function(e){const{gen:t,schema:r,keyword:o,parentSchema:s,it:a}=e;if(!Array.isArray(r))throw new Error("ajv implementation error");if(a.opts.discriminator&&s.discriminator)return;if(r.some(e=>(0,i.alwaysValidSchema)(a,e))&&!a.opts.unevaluated)return;const l=t.let("valid",!1),c=t.name("_valid");t.block(()=>r.forEach((r,i)=>{const s=e.subschema({keyword:o,schemaProp:i,compositeRule:!0},c);t.assign(l,n._`${l} || ${c}`);e.mergeValidEvaluated(s,c)||t.if((0,n.not)(l))})),e.result(l,()=>e.reset(),()=>e.error(!0))};const n=r(27939),i=r(57693),o=r(25285),s=r(57693);function a(e){return e.scopeValue("func",{ref:Object.prototype.hasOwnProperty,code:n._`Object.prototype.hasOwnProperty`})}function l(e,t,r){return n._`${a(e)}.call(${t}, ${r})`}function c(e,t,r,i){const o=n._`${t}${(0,n.getProperty)(r)} === undefined`;return i?(0,n.or)(o,(0,n.not)(l(e,t,r))):o}function p(e){return e?Object.keys(e).filter(e=>"__proto__"!==e):[]}const u=n._`new RegExp`},33969(e,t){"use strict";const r={keyword:"id",code(){throw new Error('NOT SUPPORTED: keyword "id", use "$id" for schema ID')}};t.default=r},48098(e,t,r){"use strict";const n=r(33969),i=r(15899),o=["$schema","$id","$defs","$vocabulary",{keyword:"$comment"},"definitions",n.default,i.default];t.default=o},15899(e,t,r){"use strict";t.getValidate=p,t.callRef=u;const n=r(75609),i=r(35363),o=r(27939),s=r(25285),a=r(20141),l=r(57693),c={keyword:"$ref",schemaType:"string",code(e){const{gen:t,schema:r,it:i}=e,{baseId:s,schemaEnv:l,validateName:c,opts:d,self:f}=i,{root:h}=l;if(("#"===r||"#/"===r)&&s===h.baseId)return function(){if(l===h)return u(e,c,l,l.$async);const r=t.scopeValue("root",{ref:h});return u(e,o._`${r}.validate`,h,h.$async)}();const m=a.resolveRef.call(f,h,s,r);if(void 0===m)throw new n.default(i.opts.uriResolver,s,r);return m instanceof a.SchemaEnv?function(t){const r=p(e,t);u(e,r,t,t.$async)}(m):function(n){const s=t.scopeValue("schema",!0===d.code.source?{ref:n,code:(0,o.stringify)(n)}:{ref:n}),a=t.name("valid"),l=e.subschema({schema:n,dataTypes:[],schemaPath:o.nil,topSchemaRef:s,errSchemaPath:r},a,i.isAllOfVariant);e.mergeEvaluated(l),e.ok(a)}(m)}};function p(e,t){const{gen:r}=e;return t.validate?r.scopeValue("validate",{ref:t.validate}):o._`${r.scopeValue("wrapper",{ref:t})}.validate`}function u(e,t,r,n){const{gen:a,it:c}=e,{allErrors:p,schemaEnv:u,opts:d}=c,f=d.passContext?s.default.this:o.nil;function h(e){const t=o._`${e}.errors`;a.assign(s.default.vErrors,o._`${s.default.vErrors} === null ? ${t} : ${s.default.vErrors}.concat(${t})`),a.assign(s.default.errors,o._`${s.default.vErrors}.length`)}function m(e){var t;if(!c.opts.unevaluated)return;const n=null===(t=null===r||void 0===r?void 0:r.validate)||void 0===t?void 0:t.evaluated;if(!0!==c.props)if(n&&!n.dynamicProps)void 0!==n.props&&(c.props=l.mergeEvaluated.props(a,n.props,c.props));else{const t=a.var("props",o._`${e}.evaluated.props`);c.props=l.mergeEvaluated.props(a,t,c.props,o.Name)}if(!0!==c.items)if(n&&!n.dynamicItems)void 0!==n.items&&(c.items=l.mergeEvaluated.items(a,n.items,c.items));else{const t=a.var("items",o._`${e}.evaluated.items`);c.items=l.mergeEvaluated.items(a,t,c.items,o.Name)}}n?function(){if(!u.$async)throw new Error("async schema referenced by sync schema");const r=a.let("valid");a.try(()=>{a.code(o._`await ${(0,i.callValidateCode)(e,t,f)}`),m(t),p||a.assign(r,!0)},e=>{a.if(o._`!(${e} instanceof ${c.ValidationError})`,()=>a.throw(e)),h(e),p||a.assign(r,!1)}),e.ok(r)}():function(){const r=a.name("visitedNodes");a.code(o._`const ${r} = (typeof visitedNodesForRef !== 'undefined') && visitedNodesForRef.get(${t}) || new Set()`),a.if(o._`!${r}.has(${e.data})`,()=>{a.code(o._`if (typeof visitedNodesForRef !== 'undefined') visitedNodesForRef.set(${t}, ${r})`),a.code(o._`const dataNode = ${e.data}`),a.code(o._`if (typeof dataNode === "object" && dataNode !== null) ${r}.add(dataNode)`);const n=e.result((0,i.callValidateCode)(e,t,f),()=>m(t),()=>h(t));return a.code(o._`${r}
8.delete(dataNode)`),n})}()}t.default=c},54359(e,t,r){"use strict";const n=r(27939),i=r(14734),o=r(20141),s=r(57693),a={keyword:"discriminator",type:"object",schemaType:"object",error:{message:e=>{let{params:{discrError:t,tagName:r}}=e;return t===i.DiscrError.Tag?`tag "${r}" must be string`:`value of tag "${r}" must be in oneOf or anyOf`},params:e=>{let{params:{discrError:t,tag:r,tagName:i}}=e;return n._`{error: ${t}, tag: ${i}, tagValue: ${r}}`}},code(e){const{gen:t,data:r,schema:a,parentSchema:l,it:c}=e,p=l.oneOf?"oneOf":l.anyOf?"anyOf":void 0;if(!c.opts.discriminator)throw new Error("discriminator: requires discriminator option");const u=a.propertyName;if("string"!=typeof u)throw new Error("discriminator: requires propertyName");if(!p)throw new Error("discriminator: requires oneOf or anyOf composite keyword");const d=l[p],f=t.let("valid",!1),h=t.const("tag",n._`${r}${(0,n.getProperty)(u)}`);function m(r){const i=t.name("valid"),o=e.subschema({keyword:p,schemaProp:r},i);return e.mergeEvaluated(o,n.Name),i}t.if(n._`typeof ${h} == "string"`,()=>function(){const r=function(){var e;const t={},r=i(l);let n=!0;for(let l=0;l<d.length;l++){let t=d[l];const m=null===t||void 0===t?void 0:t.$ref;if(m&&a.mapping){const{mapping:e}=a,r=Object.keys(e).filter(r=>e[r]===t.$ref);if(r.length){for(const e of r)h(e,l);continue}}m&&!(0,s.schemaHasRulesButRef)(t,c.self.RULES)&&(t=o.resolveRef.call(c.self,c.schemaEnv.root,c.baseId,m),t instanceof o.SchemaEnv&&(t=t.schema));const g=null===(e=null===t||void 0===t?void 0:t.properties)||void 0===e?void 0:e[u];if("object"!=typeof g)throw new Error(`discriminator: ${p} subschemas (or referenced schemas) must have "properties/${u}" or match mapping`);n=n&&(r||i(t)),f(g,l)}if(!n)throw new Error(`discriminator: "${u}" must be required`);return t;function i(e){let{required:t}=e;return Array.isArray(t)&&t.includes(u)}function f(e,t){if(e.const)h(e.const,t);else{if(!e.enum)throw new Error(`discriminator: "properties/${u}" must have "const" or "enum"`);for(const r of e.enum)h(r,t)}}function h(e,r){if("string"!=typeof e||e in t)throw new Error(`discriminator: "${u}" values must be unique strings`);t[e]=r}}();t.if(!1);for(const e in r)t.elseIf(n._`${h} === ${e}`),t.assign(f,m(r[e]));t.else(),e.error(!1,{discrError:i.DiscrError.Mapping,tag:h,tagName:u}),t.endIf()}(),()=>e.error(!1,{discrError:i.DiscrError.Tag,tag:h,tagName:u})),e.ok(f)}};t.default=a},14734(e,t){"use strict";var r;t.DiscrError=void 0,function(e){e.Tag="tag",e.Mapping="mapping"}(r||(t.DiscrError=r={}))},66483(e,t,r){"use strict";const n=r(48098),i=r(66838),o=r(17444),s=r(90914),a=r(54783),l=r(33387),c=r(59070),p=r(71239),u=[s.default,n.default,i.default,(0,o.default)(!0),c.default,p.metadataVocabulary,p.contentVocabulary,a.default,l.default];t.default=u},33490(e,t,r){"use strict";t.dynamicAnchor=l;const n=r(27939),i=r(25285),o=r(20141),s=r(15899),a={keyword:"$dynamicAnchor",schemaType:"string",code:e=>l(e,e.schema)};function l(e,t){const{gen:r,it:a}=e;a.schemaEnv.root.dynamicAnchors[t]=!0;const l=n._`${i.default.dynamicAnchors}${(0,n.getProperty)(t)}`,c="#"===a.errSchemaPath?a.validateName:function(e){const{schemaEnv:t,schema:r,self:n}=e.it,{root:i,baseId:a,localRefs:l,meta:c}=t.root,{schemaId:p}=n.opts,u=new o.SchemaEnv({schema:r,schemaId:p,root:i,baseId:a,localRefs:l,meta:c});return o.compileSchema.call(n,u),(0,s.getValidate)(e,u)}(e);r.if(n._`!${l}`,()=>r.assign(l,c))}t.default=a},87518(e,t,r){"use strict";t.dynamicRef=a;const n=r(27939),i=r(25285),o=r(15899),s={keyword:"$dynamicRef",schemaType:"string",code:e=>a(e,e.schema)};function a(e,t){const{gen:r,keyword:s,it:a}=e;if("#"!==t[0])throw new Error(`"${s}" only supports hash fragment reference`);const l=t.slice(1);if(a.allErrors)c();else{const t=r.let("valid",!1);c(t),e.ok(t)}function c(e){if(a.schemaEnv.root.dynamicAnchors[l]){const t=r.let("_v",n._`${i.default.dynamicAnchors}${(0,n.getProperty)(l)}`);r.if(t,p(t,e),p(a.validateName,e))}else p(a.validateName,e)()}function p(t,n){return n?()=>r.block(()=>{(0,o.callRef)(e,t),r.let(n,!0)}):()=>(0,o.callRef)(e,t)}}t.default=s},90914(e,t,r){"use strict";const n=r(33490),i=r(87518),o=r(65683),s=r(26885),a=[n.default,i.default,o.default,s.default];t.default=a},65683(e,t,r){"use strict";
8const n=r(33490),i=r(57693),o={keyword:"$recursiveAnchor",schemaType:"boolean",code(e){e.schema?(0,n.dynamicAnchor)(e,""):(0,i.checkStrictMode)(e.it,"$recursiveAnchor: false is ignored")}};t.default=o},26885(e,t,r){"use strict";const n=r(87518),i={keyword:"$recursiveRef",schemaType:"string",code:e=>(0,n.dynamicRef)(e,e.schema)};t.default=i},65727(e,t,r){"use strict";const n=r(27939),i={keyword:"format",type:["number","string"],schemaType:"string",$data:!0,error:{message:e=>{let{schemaCode:t}=e;return n.str`must match format "${t}"`},params:e=>{let{schemaCode:t}=e;return n._`{format: ${t}}`}},code(e,t){const{gen:r,data:i,$data:o,schema:s,schemaCode:a,it:l}=e,{opts:c,errSchemaPath:p,schemaEnv:u,self:d}=l;c.validateFormats&&(o?function(){const o=r.scopeValue("formats",{ref:d.formats,code:c.code.formats}),s=r.const("fDef",n._`${o}[${a}]`),l=r.let("fType"),p=r.let("format");r.if(n._`typeof ${s} == "object" && !(${s} instanceof RegExp)`,()=>r.assign(l,n._`${s}.type || "string"`).assign(p,n._`${s}.validate`),()=>r.assign(l,n._`"string"`).assign(p,s)),e.fail$data((0,n.or)(!1===c.strictSchema?n.nil:n._`${a} && !${p}`,function(){const e=u.$async?n._`(${s}.async ? await ${p}(${i}) : ${p}(${i}))`:n._`${p}(${i})`,r=n._`(typeof ${p} == "function" ? ${e} : ${p}.test(${i}))`;return n._`${p} && ${p} !== true && ${l} === ${t} && !${r}`}()))}():function(){const o=d.formats[s];if(!o)return void function(){if(!1===c.strictSchema)return void d.logger.warn(e());throw new Error(e());function e(){return`unknown format "${s}" ignored in schema at path "${p}"`}}();if(!0===o)return;const[a,l,f]=function(e){const t=e instanceof RegExp?(0,n.regexpCode)(e):c.code.formats?n._`${c.code.formats}${(0,n.getProperty)(s)}`:void 0,i=r.scopeValue("formats",{key:s,ref:e,code:t});if("object"==typeof e&&!(e instanceof RegExp))return[e.type||"string",e.validate,n._`${i}.validate`];return["string",e,i]}(o);a===t&&e.pass(function(){if("object"==typeof o&&!(o instanceof RegExp)&&o.async){if(!u.$async)throw new Error("async format in sync schema");return n._`await ${f}(${i})`}return"function"==typeof l?n._`${f}(${i})`:n._`${f}.test(${i})`}())}())}};t.default=i},59070(e,t,r){"use strict";const n=[r(65727).default];t.default=n},71239(e,t){"use strict";t.contentVocabulary=t.metadataVocabulary=void 0,t.metadataVocabulary=["title","description","default","deprecated","readOnly","writeOnly","examples"],t.contentVocabulary=["contentMediaType","contentEncoding","contentSchema"]},54783(e,t,r){"use strict";const n=r(23596),i=r(95803),o=r(69140),s=[n.default,i.default,o.default];t.default=s},33387(e,t,r){"use strict";const n=r(55086),i=r(69811),o=[n.default,i.default];t.default=o},69811(e,t,r){"use strict";const n=r(27939),i=r(57693),o={keyword:"unevaluatedItems",type:"array",schemaType:["boolean","object"],error:{message:e=>{let{params:{len:t}}=e;return n.str`must NOT have more than ${t} items`},params:e=>{let{params:{len:t}}=e;return n._`{limit: ${t}}`}},code(e){const{gen:t,schema:r,data:o,it:s}=e,a=s.items||0;if(!0===a)return;const l=t.const("len",n._`${o}.length`);if(!1===r)e.setParams({len:a}),e.fail(n._`${l} > ${a}`);else if("object"==typeof r&&!(0,i.alwaysValidSchema)(s,r)){const r=t.var("valid",n._`${l} <= ${a}`);t.if((0,n.not)(r),()=>function(r,o){t.forRange("i",o,l,o=>{e.subschema({keyword:"unevaluatedItems",dataProp:o,dataPropType:i.Type.Num},r),s.allErrors||t.if((0,n.not)(r),()=>t.break())})}(r,a)),e.ok(r)}s.items=!0}};t.default=o},55086(e,t,r){"use strict";const n=r(27939),i=r(57693),o=r(25285),s={keyword:"unevaluatedProperties",type:"object",schemaType:["boolean","object"],allowUndefined:!0,trackErrors:!0,error:{message:"must NOT have unevaluated properties",params:e=>{let{params:t}=e;return n._`{unevaluatedProperty: ${t.unevaluatedProperty}}`}},code(e){const{gen:t,schema:r=e.it.opts.defaultUnevaluatedProperties,data:s,errsCount:a,it:l}=e,c=void 0===e.schema&&!1===e.it.opts.defaultUnevaluatedProperties;if(!a)throw new Error("ajv implementation error");const{allErrors:p,props:u}=l;if(u instanceof n.Name)t.if(n._`${u} !== true`,()=>t.forIn("key",s,e=>t.if(function(e,t){return n._`!${e} || !${e}[${t}]`}(u,e),()=>d(e))));else if(!0!==u){const e=()=>t.forIn("key",s,e=>void 0===u?d(e):t.if(function(e,t){const r=[];for(const i in e)!0===e[i]&&r.push(n._`${t} !== ${i}`);return(0,n.and)(...r)}(u,e),()=>d(e)));c&&l.errorPath.emptyStr()?t.if(n._`${o.default.isAllOfVariant} === 0`,e):e()}function d(o){if(!1===r)return e.setParams({unevaluatedProperty:o}),e.error(),void(p||t.break());
8if(!(0,i.alwaysValidSchema)(l,r)){const r=t.name("valid");e.subschema({keyword:"unevaluatedProperties",dataProp:o,dataPropType:i.Type.Str},r),p||t.if((0,n.not)(r),()=>t.break())}}c||(l.props=!0),e.ok(n._`${a} === ${o.default.errors}`)}};t.default=s},39021(e,t,r){"use strict";const n=r(27939),i=r(57693),o=r(63872),s={keyword:"const",$data:!0,error:{message:"must be equal to constant",params:e=>{let{schemaCode:t}=e;return n._`{allowedValue: ${t}}`}},code(e){const{gen:t,data:r,$data:s,schemaCode:a,schema:l}=e;s||l&&"object"==typeof l?e.fail$data(n._`!${(0,i.useFunc)(t,o.default)}(${r}, ${a})`):e.fail(n._`${l} !== ${r}`)}};t.default=s},23596(e,t,r){"use strict";const n=r(72675),i={keyword:"dependentRequired",type:"object",schemaType:"object",error:n.error,code:e=>(0,n.validatePropertyDeps)(e)};t.default=i},61953(e,t,r){"use strict";const n=r(27939),i=r(57693),o=r(63872),s={keyword:"enum",schemaType:"array",$data:!0,error:{message:"must be equal to one of the allowed values",params:e=>{let{schemaCode:t}=e;return n._`{allowedValues: ${t}}`}},code(e){const{gen:t,data:r,$data:s,schema:a,schemaCode:l,it:c}=e;if(!s&&0===a.length)throw new Error("enum must have non-empty array");const p=a.length>=c.opts.loopEnum;let u;const d=()=>null!==u&&void 0!==u?u:u=(0,i.useFunc)(t,o.default);let f;if(p||s)f=t.let("valid"),e.block$data(f,function(){t.assign(f,!1),t.forOf("v",l,e=>t.if(n._`${d()}(${r}, ${e})`,()=>t.assign(f,!0).break()))});else{if(!Array.isArray(a))throw new Error("ajv implementation error");const e=t.const("vSchema",l);f=(0,n.or)(...a.map((t,i)=>function(e,t){const i=a[t];return"object"===typeof i&&null!==i?n._`${d()}(${r}, ${e}[${t}])`:n._`${r} === ${i}`}(e,i)))}e.pass(f)}};t.default=s},66838(e,t,r){"use strict";const n=r(58196),i=r(83657),o=r(53825),s=r(13796),a=r(36852),l=r(38493),c=r(13617),p=r(42287),u=r(39021),d=r(61953),f=[n.default,i.default,o.default,s.default,a.default,l.default,c.default,p.default,{keyword:"type",schemaType:["string","array"]},{keyword:"nullable",schemaType:"boolean"},u.default,d.default];t.default=f},69140(e,t,r){"use strict";const n=r(57693),i={keyword:["maxContains","minContains"],type:"array",schemaType:"number",code(e){let{keyword:t,parentSchema:r,it:i}=e;void 0===r.contains&&(0,n.checkStrictMode)(i,`"${t}" without "contains" is ignored`)}};t.default=i},13617(e,t,r){"use strict";const n=r(27939),i={keyword:["maxItems","minItems"],type:"array",schemaType:"number",$data:!0,error:{message(e){let{keyword:t,schemaCode:r}=e;const i="maxItems"===t?"more":"fewer";return n.str`must NOT have ${i} than ${r} items`},params:e=>{let{schemaCode:t}=e;return n._`{limit: ${t}}`}},code(e){const{keyword:t,data:r,schemaCode:i}=e,o="maxItems"===t?n.operators.GT:n.operators.LT;e.fail$data(n._`${r}.length ${o} ${i}`)}};t.default=i},53825(e,t,r){"use strict";const n=r(27939),i=r(57693),o=r(2571),s={keyword:["maxLength","minLength"],type:"string",schemaType:"number",$data:!0,error:{message(e){let{keyword:t,schemaCode:r}=e;const i="maxLength"===t?"more":"fewer";return n.str`must NOT have ${i} than ${r} characters`},params:e=>{let{schemaCode:t}=e;return n._`{limit: ${t}}`}},code(e){const{keyword:t,data:r,schemaCode:s,it:a}=e,l="maxLength"===t?n.operators.GT:n.operators.LT,c=!1===a.opts.unicode?n._`${r}.length`:n._`${(0,i.useFunc)(e.gen,o.default)}(${r})`;e.fail$data(n._`${c} ${l} ${s}`)}};t.default=s},58196(e,t,r){"use strict";const n=r(27939),i=n.operators,o={maximum:{okStr:"<=",ok:i.LTE,fail:i.GT},minimum:{okStr:">=",ok:i.GTE,fail:i.LT},exclusiveMaximum:{okStr:"<",ok:i.LT,fail:i.GTE},exclusiveMinimum:{okStr:">",ok:i.GT,fail:i.LTE}},s={message:e=>{let{keyword:t,schemaCode:r}=e;return n.str`must be ${o[t].okStr} ${r}`},params:e=>{let{keyword:t,schemaCode:r}=e;return n._`{comparison: ${o[t].okStr}, limit: ${r}}`}},a={keyword:Object.keys(o),type:"number",schemaType:"number",$data:!0,error:s,code(e){const{keyword:t,data:r,schemaCode:i}=e;e.fail$data(n._`${r} ${o[t].fail} ${i} || isNaN(${r})`)}};t.default=a},36852(e,t,r){"use strict";const n=r(27939),i={keyword:["maxProperties","minProperties"],type:"object",schemaType:"number",$data:!0,error:{message(e){let{keyword:t,schemaCode:r}=e;const i="maxProperties"===t?"more":"fewer";return n.str`must NOT have ${i} than ${r} properties`},params:e=>{let{schemaCode:t}=e;return n._`{limit: ${t}}`}},code(e){const{keyword:t,data:r,schemaCode:i}=e,o="maxProperties"===t?n.operators.GT:n.operators.LT;e.fail$data(n._`Object.keys(${r}).length ${o} ${i}`)}};t.default=i},83657(e,t,r){"use strict";const n=r(27939),i={keyword:"multipleOf",type:"number",schemaType:"number",$data:!0,error:{message:e=>{let{schemaCode:t}=e;return n.str`must be multiple of ${t}`},params:e=>{let{schemaCode:t}=e;return n._`{multipleOf: ${t}}`}},code(e){const{gen:t,data:r,schemaCode:i,it:o}=e,s=o.opts.multipleOfPrecision,a=t.let("res"),l=s?n._`Math.abs(Math.round(${a}) - ${a}) > 1e-${s}`:n._`${a} !== parseInt(${a})`;e.fail$data(n._`(${i} === 0 || (${a} = ${r}/${i}, ${l}))`)}};t.default=i},13796(e,t,r){"use strict";const n=r(35363),i=r(27939),o={keyword:"pattern",type:"string",schemaType:"string",$data:!0,error:{message:e=>{let{schemaCode:t}=e;return i.str`must match pattern "${t}"`},params:e=>{let{schemaCode:t}=e;return i._`{pattern: ${t}}`}},code(e){const{data:t,$data:r,schema:o,schemaCode:s,it:a}=e,l=a.opts.unicodeRegExp?"u":"",c=r?i._`(new RegExp(${s}, ${l}))`:(0,n.usePattern)(e,o);e.fail$data(i._`!${c}.test(${t})`)}};t.default=o},38493(e,t,r){"use strict";const n=r(35363),i=r(27939),o=r(57693),s={keyword:"required",type:"object",schemaType:"array",$data:!0,error:{message:e=>{let{params:{missingProperty:t}}=e;return i.str`must have required property '${t}'`},params:e=>{let{params:{missingProperty:t}}=e;return i._`{missingProperty: ${t}}`}},code(e){const{gen:t,schema:r,schemaCode:s,data:a,$data:l,it:c}=e,{opts:p}=c;if(!l&&0===r.length)return;const u=r.length>=p.loopRequired;if(c.allErrors?function(){if(u||l)e.block$data(i.nil,d);else for(const t of r)(0,n.checkReportMissingProp)(e,t)}():function(){const o=t.let("missing");if(u||l){const r=t.let("valid",!0);e.block$data(r,()=>function(r,o){e.setParams({missingProperty:r}),t.forOf(r,s,()=>{t.assign(o,(0,n.propertyInData)(t,a,r,p.ownProperties)),t.if((0,i.not)(o),()=>{e.error(),t.break()})},i.nil)}(o,r)),e.ok(r)}
8else t.if((0,n.checkMissingProp)(e,r,o)),(0,n.reportMissingProp)(e,o),t.else()}(),p.strictRequired){const t=e.parentSchema.properties,{definedProperties:n}=e.it;for(const e of r)if(void 0===(null===t||void 0===t?void 0:t[e])&&!n.has(e)){const t=`required property "${e}" is not defined at "${c.schemaEnv.baseId+c.errSchemaPath}" (strictRequired)`;(0,o.checkStrictMode)(c,t,c.opts.strictRequired)}}function d(){t.forOf("prop",s,r=>{e.setParams({missingProperty:r}),t.if((0,n.noPropertyInData)(t,a,r,p.ownProperties),()=>e.error())})}}};t.default=s},42287(e,t,r){"use strict";const n=r(12790),i=r(27939),o=r(57693),s=r(63872),a={keyword:"uniqueItems",type:"array",schemaType:"boolean",$data:!0,error:{message:e=>{let{params:{i:t,j:r}}=e;return i.str`must NOT have duplicate items (items ## ${r} and ${t} are identical)`},params:e=>{let{params:{i:t,j:r}}=e;return i._`{i: ${t}, j: ${r}}`}},code(e){const{gen:t,data:r,$data:a,schema:l,parentSchema:c,schemaCode:p,it:u}=e;if(!a&&!l)return;const d=t.let("valid"),f=c.items?(0,n.getSchemaTypes)(c.items):[];function h(o,s){const a=t.name("item"),l=(0,n.checkDataTypes)(f,a,u.opts.strictNumbers,n.DataType.Wrong),c=t.const("indices",i._`{}`);t.for(i._`;${o}--;`,()=>{t.let(a,i._`${r}[${o}]`),t.if(l,i._`continue`),f.length>1&&t.if(i._`typeof ${a} == "string"`,i._`${a} += "_"`),t.if(i._`typeof ${c}[${a}] == "number"`,()=>{t.assign(s,i._`${c}[${a}]`),e.error(),t.assign(d,!1).break()}).code(i._`${c}[${a}] = ${o}`)})}function m(n,a){const l=(0,o.useFunc)(t,s.default),c=t.name("outer");t.label(c).for(i._`;${n}--;`,()=>t.for(i._`${a} = ${n}; ${a}--;`,()=>t.if(i._`${l}(${r}[${n}], ${r}[${a}])`,()=>{e.error(),t.assign(d,!1).break(c)})))}e.block$data(d,function(){const n=t.let("i",i._`${r}.length`),o=t.let("j");e.setParams({i:n,j:o}),t.assign(d,!0),t.if(i._`${n} > 1`,()=>(f.length>0&&!f.some(e=>"object"===e||"array"===e)?h:m)(n,o))},i._`${p} === false`),e.ok(d)}};t.default=a},82865(e){"use strict";var t=e.exports=function(e,t,n){"function"==typeof t&&(n=t,t={}),r(t,"function"==typeof(n=t.cb||n)?n:n.pre||function(){},n.post||function(){},e,"",e)};function r(e,i,o,s,a,l,c,p,u,d){if(s&&"object"==typeof s&&!Array.isArray(s)){for(var f in i(s,a,l,c,p,u,d),s){var h=s[f];if(Array.isArray(h)){if(f in t.arrayKeywords)for(var m=0;m<h.length;m++)r(e,i,o,h[m],a+"/"+f+"/"+m,l,a,f,s,m)}else if(f in t.propsKeywords){if(h&&"object"==typeof h)for(var g in h)r(e,i,o,h[g],a+"/"+f+"/"+n(g),l,a,f,s,g)}else(f in t.keywords||e.allKeys&&!(f in t.skipKeywords))&&r(e,i,o,h,a+"/"+f,l,a,f,s)}o(s,a,l,c,p,u,d)}}function n(e){return e.replace(/~/g,"~0").replace(/\//g,"~1")}t.keywords={additionalItems:!0,items:!0,contains:!0,additionalProperties:!0,propertyNames:!0,not:!0,if:!0,then:!0,else:!0},t.arrayKeywords={items:!0,allOf:!0,anyOf:!0,oneOf:!0},t.propsKeywords={$defs:!0,definitions:!0,properties:!0,patternProperties:!0,dependencies:!0},t.skipKeywords={default:!0,enum:!0,const:!0,required:!0,maximum:!0,minimum:!0,exclusiveMaximum:!0,exclusiveMinimum:!0,multipleOf:!0,maxLength:!0,minLength:!0,pattern:!0,format:!0,maxItems:!0,minItems:!0,uniqueItems:!0,maxProperties:!0,minProperties:!0}},22184(e,t,r){"use strict";r.d(t,{rootRedoclyConfigSchema:()=>_e});const n={hide:{type:"boolean",default:!1},component:{type:"string",enum:["radio","checkbox"],default:"checkbox"},label:{type:"string"},items:{type:"array",items:{type:"string"}}},i={type:"object",properties:n,additionalProperties:!1},o={type:"object",properties:{hide:{type:"boolean",default:!1},type:{type:"string",enum:["rating","sentiment","comment","reasons","mood","scale"],default:"sentiment"},settings:{type:"object",properties:{label:{type:"string"},submitText:{type:"string"},buttonText:{type:"string"},component:{type:"string",enum:["radio","checkbox"],default:"checkbox"},items:{type:"array",items:{type:"string"},minItems:1},leftScaleLabel:{type:"string"},rightScaleLabel:{type:"string"},reasons:{type:"object",properties:Object.assign(Object.assign({},n),{like:i,dislike:i,satisfied:i,neutral:i,dissatisfied:i}),additionalProperties:!1},comment:{type:"object",properties:{hide:{type:"boolean",default:!1},label:{type:"string"},likeLabel:{type:"string"},dislikeLabel:{type:"string"},satisfiedLabel:{type:"string"},neutralLabel:{type:"string"},dissatisfiedLabel:{type:"string"}},additionalProperties:!1},optionalEmail:{type:"object",properties:{hide:{type:"boolean",default:!1},label:{type:"string"},placeholder:{type:"string"}},additionalProperties:!1}},additionalProperties:!1}},additionalProperties:!1},s={type:"object",properties:{includeByName:{type:"array",items:{type:"string"}},excludeByName:{type:"array",items:{type:"string"}}},additionalProperties:!1},a={type:"object",properties:{requireExactGroups:{type:"boolean"},groups:{type:"array",items:{type:"object",properties:{name:{type:"string"},items:s,queries:s,mutations:s,subscriptions:s,types:s,directives:s},required:["name"],additionalProperties:!1}},otherItemsGroupName:{type:"string"}},required:["requireExactGroups","groups","otherItemsGroupName"],additionalProperties:!1},l={type:"object",properties:{hidePaginationButtons:{type:"boolean"},menu:{type:"object",properties:Object.assign({},a.properties),additionalProperties:!1},sidebar:{type:"object",properties:{hide:{type:"boolean"}}},apiLogo:{type:"object",properties:{imageUrl:{type:"string"},href:{type:"string"},altText:{type:"string"},backgroundColor:{type:"string"}}},jsonSamplesDepth:{type:"number"},samplesMaxInlineArgs:{type:"number"},licenseKey:{type:"string"},fieldExpandLevel:{type:"number"},baseUrlPath:{type:"string"},feedback:o},additionalProperties:!1},c={type:"object",properties:{licenseKey:{type:"string"},hideLoading:{type:"boolean"},disableRouter:{type:"boolean"},hideSidebar:{type:"boolean"},feedback:o,hideReplay:{type:"boolean"},oAuth2RedirectURI:{type:"string",nullable:!0},corsProxyUrl:{type:"string"},sortRequiredPropsFirst:{type:"boolean"},sanitize:{type:"boolean"},hideDownloadButtons:{type:"boolean"},downloadUrls:{type:"array",items:{type:"object",properties:{title:{type:"string"},url:{type:"string"}},required:["url"],additionalProperties:!1}},onlyRequiredInSamples:{type:"boolean"},generatedSamplesMaxDepth:{oneOf:[{type:"number"},{type:"string"}]},showExtensions:{oneOf:[{type:"boolean"},{type:"string"},{type:"array",items:{type:"string"}}]},hideSchemaTitles:{type:"boolean"},jsonSamplesExpandLevel:{oneOf:[{type:"number"},{type:"string"}]},schemasExpansionLevel:{oneOf:[{type:"number"},{type:"string"}]},mockServer:{type:"object",properties:{url:{type:"string"},position:{type:"string",enum:["first","last","replace","off"]},description:{type:"string"}}},maxDisplayedEnumValues:{type:"number"},schemaDefinitionsTagName:{type:"string"},layout:{type:"string",enum:["stacked","three-panel"]},hideInfoMetadata:{type:"boolean"},events:{type:"object"},skipBundle:{type:"boolean"},routingBasePath:{type:"string"},codeSamples:{type:"object",properties:{languages:{type:"array",items:{type:"object",properties:{lang:{type:"string",enum:["curl","JavaScript","Node.js","Python","Java8+Apache","Java","C#","C#+Newtonsoft","PHP","Go","Ruby","R","Payload"]},label:{type:"string"},options:{type:"object",properties:{indent:{type:"string"},withImports:{type:"boolean"},withComments:{type:"boolean"},binary:{type:"boolean"},credentials:{type:"string",enum:["omit","same-origin","include"]}},additionalProperties:!1}},required:["lang"],additionalProperties:!1}},skipOptionalParameters:{type:"boolean"},withOAuth2Call:{type:"boolean"}},required:["languages"],additionalProperties:!1},ignoreNamedSchemas:{oneOf:[{type:"array",items:{type:"string"}},{type:"string"}]},hidePropertiesPrefix:{type:"boolean"},excludeFromSearch:{type:"boolean"}},additionalProperties:!1},p={type:"object",properties:{label:{type:"string"},link:{type:"string"},target:{type:"string"}},required:["label","link"]},u={type:"object",properties:{beforeInfo:{type:"array",items:p},end:{type:"array",items:p}}},d={type:"object",properties:{main:{type:"string"},light:{type:"string"},dark:{type:"string"},contrastText:{type:"string"}}},f={type:"object",properties:{backgroundColor:{type:"string"},borderColor:{type:"string"},color:{type:"string"},tabTextColor:{type:"string"}}},h={type:"object",properties:{accent:d,border:{type:"object",properties:L(d.properties,["light","dark"])},error:d,http:{type:"object",properties:{basic:{type:"string"},delete:{type:"string"},get:{type:"string"},head:{type:"string"},link:{type:"string"},options:{type:"string"},patch:{type:"string"},post:{type:"string"},put:{type:"string"}}},primary:d,responses:{type:"object",properties:{error:f,info:f,redirect:f,success:f}},secondary:{type:"object",properties:D(d.properties,["dark"])},success:d,text:{type:"object",properties:{primary:{type:"string"},secondary:{type:"string"},light:{type:"string"}}},tonalOffset:{type:"number"},warning:d}},m={type:"object",properties:{fontSize:{type:"string"},padding:{type:"string"},minWidth:{type:"string"}}},g={type:"object",properties:{small:m,medium:m,large:m,xlarge:m}},y={type:"object",properties:{fontFamily:{type:"string"},fontSize:{type:"string"},fontWeight:{type:"string"},lineHeight:{type:"string"}}},b={type:"object",properties:Object.assign(Object.assign({},D(y.properties,["fontSize","lineHeight"])),{borderRadius:{type:"string"},hoverStyle:{type:"string"},boxShadow:{type:"string"}
8,hoverBoxShadow:{type:"string"},sizes:g})},v={type:"object",properties:L(y.properties,["fontSize","lineHeight"])},x={type:"object",properties:{medium:v,small:v}},w={type:"object",properties:{fullWidth:{type:"boolean"}}},S={type:"object",properties:{buttons:b,httpBadges:{type:"object",properties:Object.assign(Object.assign({},D(y.properties,["fontSize","lineHeight"])),{borderRadius:{type:"string"},color:{type:"string"},sizes:x})},layoutControls:{type:"object",properties:{top:{type:"string"},width:{type:"string"},height:{type:"string"}}},panels:{type:"object",properties:{borderRadius:{type:"string"},backgroundColor:{type:"string"}}},tryItButton:w,tryItSendButton:w}},k={type:"object",properties:{small:{type:"string"},medium:{type:"string"},large:{type:"string"}}},O={type:"object",properties:{showDarkRightPanel:{type:"boolean"},stacked:{type:"object",properties:{maxWidth:k}},"three-panel":{type:"object",properties:{maxWidth:k,middlePanelMaxWidth:k}}}},E={type:"object",properties:{backgroundColor:{type:"string"},border:{type:"string"}}},_={type:"object",properties:{breakFieldNames:{type:"boolean"},caretColor:{type:"string"},caretSize:{type:"string"},constraints:E,defaultDetailsWidth:{type:"string"},examples:E,labelsTextSize:{type:"string"},linesColor:{type:"string"},nestedBackground:{type:"string"},nestingSpacing:{type:"string"},requireLabelColor:{type:"string"},typeNameColor:{type:"string"},typeTitleColor:{type:"string"}}},$={type:"object",properties:{subItemsColor:{type:"string"},textTransform:{type:"string"},fontWeight:{type:"string"}}},A={type:"object",properties:L($.properties,["textTransform"])},P={type:"object",properties:Object.assign(Object.assign({},D(y.properties,["fontWeight","lineHeight"])),{activeBgColor:{type:"string"},activeTextColor:{type:"string"},backgroundColor:{type:"string"},borderRadius:{type:"string"},breakPath:{type:"boolean"},caretColor:{type:"string"},caretSize:{type:"string"},groupItems:$,level1items:A,rightLineColor:{type:"string"},separatorLabelColor:{type:"string"},showAtBreakpoint:{type:"string"},spacing:{type:"object",properties:{unit:{type:"number"},paddingHorizontal:{type:"string"},paddingVertical:{type:"string"},offsetTop:{type:"string"},offsetLeft:{type:"string"},offsetNesting:{type:"string"}}},textColor:{type:"string"},width:{type:"string"}})},j={type:"object",properties:Object.assign(Object.assign({},y.properties),{color:{type:"string"},transform:{type:"string"}})},C={type:"object",properties:Object.assign(Object.assign({},y.properties),{backgroundColor:{type:"string"},color:{type:"string"},wordBreak:{type:"string",enum:["break-all","break-word","keep-all","normal","revert","unset","inherit","initial"]},wrap:{type:"boolean"}})},T={type:"object",properties:D(y.properties,["fontSize"])},I={type:"object",properties:Object.assign(Object.assign({code:C,fieldName:y},L(y.properties,["fontSize","fontFamily"])),{fontWeightBold:{type:"string"},fontWeightLight:{type:"string"},fontWeightRegular:{type:"string"},heading1:j,heading2:j,heading3:j,headings:T,lineHeight:{type:"string"},links:{type:"object",properties:{color:{type:"string"},hover:{type:"string"},textDecoration:{type:"string"},hoverTextDecoration:{type:"string"},visited:{type:"string"}}},optimizeSpeed:{type:"boolean"},rightPanelHeading:j,smoothing:{type:"string",enum:["auto","none","antialiased","subpixel-antialiased","grayscale"]}})},N={type:"object",properties:{custom:{type:"string"}}},R={type:"object",properties:{theme:{type:"object",properties:{breakpoints:k,codeBlock:{type:"object",properties:{backgroundColor:{type:"string"},borderRadius:{type:"string"},tokens:{type:"object",properties:Object.assign({color:{type:"string"}},D(y.properties,["fontWeight"]))}}},colors:h,components:S,layout:O,logo:{type:"object",properties:{gutter:{type:"string"},maxHeight:{type:"string"},maxWidth:{type:"string"}}},fab:{type:"object",properties:{backgroundColor:{type:"string"},color:{type:"string"}}},overrides:{type:"object",properties:{DownloadButton:N,NextSectionButton:N}},rightPanel:{type:"object",properties:{backgroundColor:{type:"string"}
8,panelBackgroundColor:{type:"string"},panelControlsBackgroundColor:{type:"string"},showAtBreakpoint:{type:"string"},textColor:{type:"string"},width:{type:"string"}}},schema:_,shape:{type:"object",properties:{borderRadius:{type:"string"}}},sidebar:P,spacing:{type:"object",properties:{sectionHorizontal:{type:"number"},sectionVertical:{type:"number"},unit:{type:"number"}}},typography:I,links:{properties:{color:{type:"string"}}},codeSample:{properties:{backgroundColor:{type:"string"}}}}},ctrlFHijack:{type:"boolean"},defaultSampleLanguage:{type:"string"},disableDeepLinks:{type:"boolean"},disableSearch:{type:"boolean"},disableSidebar:{type:"boolean"},downloadDefinitionUrl:{type:"string"},expandDefaultServerVariables:{type:"boolean"},enumSkipQuotes:{type:"boolean"},expandDefaultRequest:{type:"boolean"},expandDefaultResponse:{type:"boolean"},expandResponses:{type:"string"},expandSingleSchemaField:{type:"boolean"},generateCodeSamples:{type:"object",properties:{skipOptionalParameters:{type:"boolean"},languages:{type:"array",items:{type:"object",properties:{label:{type:"string"},lang:{enum:["curl","C#","Go","Java","Java8+Apache","JavaScript","Node.js","PHP","Python","R","Ruby"]}},required:["lang"]}}},required:["languages"]},generatedPayloadSamplesMaxDepth:{type:"number"},hideDownloadButton:{type:"boolean"},hideHostname:{type:"boolean"},hideInfoSection:{type:"boolean"},hideLogo:{type:"boolean"},hideRequestPayloadSample:{type:"boolean"},hideRightPanel:{type:"boolean"},hideSchemaPattern:{type:"boolean"},hideSingleRequestSampleTab:{type:"boolean"},hideSecuritySection:{type:"boolean"},hideTryItPanel:{type:"boolean"},hideFab:{type:"boolean"},hideOneOfDescription:{type:"boolean"},htmlTemplate:{type:"string"},jsonSampleExpandLevel:{oneOf:[{type:"number",minimum:1},{type:"string"}]},labels:{type:"object",properties:{enum:{type:"string"},enumSingleValue:{type:"string"},enumArray:{type:"string"},default:{type:"string"},deprecated:{type:"string"},example:{type:"string"},examples:{type:"string"},nullable:{type:"string"},recursive:{type:"string"},arrayOf:{type:"string"},webhook:{type:"string"},authorizations:{type:"string"},tryItAuthBasicUsername:{type:"string"},tryItAuthBasicPassword:{type:"string"}}},menuToggle:{type:"boolean"},nativeScrollbars:{type:"boolean"},noAutoAuth:{type:"boolean"},onDeepLinkClick:{type:"object"},pagination:{enum:["none","section","item"]},pathInMiddlePanel:{type:"boolean"},payloadSampleIdx:{type:"number",minimum:0},requestInterceptor:{type:"object"},requiredPropsFirst:{type:"boolean"},routingStrategy:{type:"string"},samplesTabsMaxCount:{type:"number"},schemaExpansionLevel:{oneOf:[{type:"number",minimum:0},{type:"string"}]},minCharacterLengthToInitSearch:{type:"number",minimum:1},maxResponseHeadersToShowInTryIt:{type:"number",minimum:0},scrollYOffset:{oneOf:[{type:"number"},{type:"string"}]},searchAutoExpand:{type:"boolean"},searchFieldLevelBoost:{type:"number",minimum:0},searchMaxDepth:{type:"number",minimum:1},searchMode:{type:"string",enum:["default","path-only"]},searchOperationTitleBoost:{type:"number"},searchTagTitleBoost:{type:"number"},sendXUserAgentInTryIt:{type:"boolean"},showChangeLayoutButton:{type:"boolean"},showConsole:{type:"boolean"},showNextButton:{type:"boolean"},showRightPanelToggle:{type:"boolean"},showSecuritySchemeType:{type:"boolean"},showWebhookVerb:{type:"boolean"},showObjectSchemaExamples:{type:"boolean"},disableTryItRequestUrlEncoding:{type:"boolean"},sidebarLinks:u,sideNavStyle:{type:"string",enum:["summary-only","path-first","id-only","path-only"]},simpleOneOfTypeLabel:{type:"boolean"},sortEnumValuesAlphabetically:{type:"boolean"},sortOperationsAlphabetically:{type:"boolean"},sortPropsAlphabetically:{type:"boolean"},sortTagsAlphabetically:{type:"boolean"},suppressWarnings:{type:"boolean"},unstable_externalDescription:{type:"boolean"},unstable_ignoreMimeParameters:{type:"boolean"},untrustedDefinition:{type:"boolean"},showAccessMode:{type:"boolean"},preserveOriginalExtensionsName:{type:"boolean"},markdownHeadingsAnchorLevel:{type:"number"}},additionalProperties:!1};function L(e,t){return Object.fromEntries(t.filter(t=>t in e).map(t=>[t,e[t]]))}function D(e,t){return Object.fromEntries(Object.entries(e).filter(e=>{let[r]=e;return!t.includes(r)}))}const M={type:"object",properties:{hide:{type:"boolean"}},additionalProperties:!1},z={type:"object",properties:{src:{type:"string"},async:{type:"boolean"},crossorigin:{type:"string"},defer:{type:"boolean"},fetchpriority:{type:"string"},integrity:{type:"string"},module:{type:"boolean"},nomodule:{type:"boolean"},nonce:{type:"string"},referrerpolicy:{type:"string"},type:{type:"string"}},required:["src"],additionalProperties:!0},F={type:"object",properties:{page:{type:"string"},directory:{type:"string"},disconnect:{type:"boolean",default:!1},group:{type:"string"},label:{type:"string"},href:{type:"string"},external:{type:"boolean"},labelTranslationKey:{type:"string"},groupTranslationKey:{type:"string"},icon:{oneOf:[{type:"string"},{type:"object",properties:{srcSet:{type:"string"}},required:["srcSet"]}]},separator:{type:"string"},separatorLine:{type:"boolean"},linePosition:{type:"string",enum:["top","bottom"],default:"top"},version:{type:"string"},menuStyle:{type:"string",enum:["drilldown"]},expanded:{type:"string",const:"always"},selectFirstItemOnExpand:{type:"boolean"},flatten:{type:"boolean"},linkedSidebars:{type:"array",items:{type:"string"}},items:{type:"array",items:{type:"object",additionalProperties:!0}}}},B={type:"array",items:Object.assign(Object.assign({},F),{properties:Object.assign(Object.assign({},F.properties),{items:{type:"array",items:F}})})},q={type:"object",properties:Object.assign({facets:{type:"array",items:{type:"object",required:["name","field","type"],properties:{name:{type:"string"},field:{type:"string"},type:{type:"string",enum:["multi-select","select","tags"]}},additionalProperties:!1}}},M.properties),additionalProperties:!1},U={type:"object",properties:{image:{type:"string"},srcSet:{type:"string"},altText:{type:"string"},link:{type:"string"},favicon:{type:"string"}},additionalProperties:!1},V={type:"object",properties:Object.assign({items:B},M.properties),additionalProperties:!1},W={type:"object",additionalProperties:{type:"object",properties:{name:{type:"string"},icon:{type:"string"},folder:{type:"string"}},additionalProperties:!1,required:["name","folder"]}},H={type:"object",properties:Object.assign({items:B,copyrightText:{type:"string"},logo:M},M.properties),additionalProperties:!1},Q={type:"object",properties:Object.assign({separatorLine:{type:"boolean"},linePosition:{type:"string",enum:["top","bottom"],default:"bottom"}},M.properties),additionalProperties:!1},G={type:"object",properties:{head:{type:"array",items:z},body:{type:"array",items:z}},additionalProperties:!1},K={type:"array",items:{type:"object",properties:{href:{type:"string"},as:{type:"string"},crossorigin:{type:"string"},fetchpriority:{type:"string"},hreflang:{type:"string"},imagesizes:{type:"string"},imagesrcset:{type:"string"},integrity:{type:"string"},media:{type:"string"},prefetch:{type:"string"},referrerpolicy:{type:"string"},rel:{type:"string"},sizes:{type:"string"},title:{type:"string"},type:{type:"string"}},required:["href"],additionalProperties:!0}},Y={type:"object",properties:Object.assign({engine:{type:"string",enum:["flexsearch","typesense"],default:"flexsearch"},ai:{type:"object",properties:{hide:{type:"boolean",default:!1},suggestions:{default:[],type:"array",items:{type:"string"}},prompt:{type:"string"}},additionalProperties:!1},filters:q,placement:{type:"string",default:"navbar"},shortcuts:{type:"array",items:{type:"string"},default:["/"]},suggestedPages:{type:"array",items:{type:"object",properties:{page:{type:"string"},label:{type:"string"},labelTranslationKey:{type:"string"}},required:["page"]}}},M.properties),additionalProperties:!1},J={type:"object",properties:Object.assign({ignoreDetection:{type:"boolean"},modes:{type:"array",items:{type:"string"},default:["light","dark"]}},M.properties),additionalProperties:!1},X={type:"object",properties:{nextButton:{type:"object",properties:Object.assign({text:{type:"string",default:"Next page"}},M.properties),additionalProperties:!1,default:{}},previousButton:{type:"object",properties:Object.assign({text:{type:"string",default:"Previous page"}},M.properties),additionalProperties:!1,default:{}}},additionalProperties:!1},Z={type:"object",properties:{elementFormat:{type:"string",default:"icon"},copy:{type:"object",properties:Object.assign({},M.properties),additionalProperties:!1,default:{hide:!1}},report:{type:"object",properties:Object.assign({tooltipText:{type:"string"},buttonText:{type:"string"},label:{type:"string"}},M.properties),additionalProperties:!1,default:{hide:!1}},expand:{type:"object",properties:Object.assign({},M.properties),additionalProperties:!1,default:{hide:!1}},collapse:{type:"object",properties:Object.assign({},M.properties),additionalProperties:!1,default:{hide:!1}}},additionalProperties:!1},ee={type:"object",properties:{frontMatterKeysToResolve:{type:"array",items:{type:"string"},default:["image","links"]},partialsFolders:{type:"array",items:{type:"string"},default:["_partials"]},lastUpdatedBlock:{type:"object",properties:Object.assign({format:{type:"string",enum:["timeago","iso","long","short"],default:"timeago"},locale:{type:"string"}},M.properties),additionalProperties:!1,default:{}},toc:{type:"object",properties:Object.assign({header:{type:"string",default:"On this page"},depth:{type:"integer",default:3,minimum:1}},M.properties),additionalProperties:!1,default:{}},editPage:{type:"object",properties:Object.assign({baseUrl:{type:"string"}},M.properties),additionalProperties:!1,default:{}}},additionalProperties:!1,default:{}},te=Object.assign(Object.assign({},c),{properties:Object.assign(Object.assign({},c.properties),R.properties)}),re={type:"object",properties:{includeInDevelopment:{type:"boolean"},trackingId:{type:"string"},conversionId:{type:"string"},floodlightId:{type:"string"},optimizeId:{type:"string"},exclude:{type:"array",items:{type:"string"}}},additionalProperties:!1,required:["trackingId"]},ne={type:"object",properties:{adobe:{type:"object",properties:{includeInDevelopment:{type:"boolean"},scriptUrl:{type:"string"},pageViewEventName:{type:"string"}},additionalProperties:!1,required:["scriptUrl"]},amplitude:{type:"object",properties:{includeInDevelopment:{type:"boolean"},apiKey:{type:"string"},head:{type:"boolean"},respectDNT:{type:"boolean"},exclude:{type:"array",items:{type:"string"}},outboundClickEventName:{type:"string"},pageViewEventName:{type:"string"},amplitudeConfig:{type:"object",additionalProperties:!0}},additionalProperties:!1,required:["apiKey"]},fullstory:{type:"object",properties:{includeInDevelopment:{type:"boolean"},orgId:{type:"string"}},additionalProperties:!1,required:["orgId"]},heap:{type:"object",properties:{includeInDevelopment:{type:"boolean"}
8,appId:{type:"string"}},additionalProperties:!1,required:["appId"]},rudderstack:{type:"object",properties:{includeInDevelopment:{type:"boolean"},writeKey:{type:"string",minLength:10},trackPage:{type:"boolean"},dataPlaneUrl:{type:"string"},controlPlaneUrl:{type:"string"},sdkUrl:{type:"string"},loadOptions:{type:"object",additionalProperties:!0}},additionalProperties:!1,required:["writeKey"]},segment:{type:"object",properties:{includeInDevelopment:{type:"boolean"},writeKey:{type:"string",minLength:10},trackPage:{type:"boolean"},includeTitleInPageCall:{type:"boolean"},host:{type:"string"}},additionalProperties:!1,required:["writeKey"]},gtm:{type:"object",properties:{includeInDevelopment:{type:"boolean"},trackingId:{type:"string"},gtmAuth:{type:"string"},gtmPreview:{type:"string"},defaultDataLayer:{},dataLayerName:{type:"string"},enableWebVitalsTracking:{type:"boolean"},selfHostedOrigin:{type:"string"},pageViewEventName:{type:"string"}},additionalProperties:!1,required:["trackingId"]},ga:{type:"object",properties:{includeInDevelopment:{type:"boolean"},trackingId:{type:"string"},conversionId:{type:"string"},floodlightId:{type:"string"},head:{type:"boolean"},respectDNT:{type:"boolean"},exclude:{type:"array",items:{type:"string"}},optimizeId:{type:"string"},anonymizeIp:{type:"boolean"},cookieExpires:{type:"number"},trackers:{type:"object",additionalProperties:re}},additionalProperties:!1,required:["trackingId"]}}},ie={type:"object",properties:Object.assign({items:{type:"array",items:{type:"object",properties:{label:{type:"string"},external:{type:"boolean"},link:{type:"string"},separatorLine:{type:"boolean"}},additionalProperties:!0},default:[]},hideLoginButton:{type:"boolean"}},M.properties),additionalProperties:!1},oe={type:"object",properties:{hide:{type:"boolean"},showForUnversioned:{type:"boolean"}}},se={type:"object",properties:{hide:{type:"boolean"},prefixItems:{type:"array",items:{type:"object",properties:{label:{type:"string"},labelTranslationKey:{type:"string"},page:{type:"string"}},additionalProperties:!1,default:{}}}},additionalProperties:!1},ae={type:"object",patternProperties:{".*":{type:"object",additionalProperties:!0,required:["slug","items"],properties:{slug:{type:"string"},filters:{type:"array",items:{type:"object",additionalProperties:!1,required:["title","property"],properties:{type:{type:"string",enum:["select","checkboxes","date-range"],default:"checkboxes"},title:{type:"string"},titleTranslationKey:{type:"string"},property:{type:"string"},parentFilter:{type:"string"},valuesMapping:{type:"object",additionalProperties:{type:"string"}},missingCategoryName:{type:"string"},missingCategoryNameTranslationKey:{type:"string"},options:{type:"array",items:{type:"string"}}}}}
8,groupByFirstFilter:{type:"boolean"},filterValuesCasing:{type:"string",enum:["sentence","original","lowercase","uppercase"]},items:B,requiredPermission:{type:"string"},separateVersions:{type:"boolean"},title:{type:"string"},titleTranslationKey:{type:"string"},description:{type:"string"},descriptionTranslationKey:{type:"string"}}}}},le={type:"object",additionalProperties:!0,required:[],properties:{ignoreNonCompliant:{type:"boolean",default:!1},teamMetadataProperty:{type:"object",properties:{property:{type:"string"},label:{type:"string"},default:{type:"string"}}},levels:{type:"array",items:{type:"object",required:["name"],properties:{name:{type:"string"},color:{type:"string"},extends:{type:"array",items:{type:"string"}},rules:{type:"object",additionalProperties:{oneOf:[{type:"string"},{type:"object"}]}}},additionalProperties:!1}},targets:{type:"array",items:{type:"object",required:["where"],properties:{minimumLevel:{type:"string"},rules:{type:"object",additionalProperties:!0},where:{type:"object",required:["metadata"],properties:{metadata:{type:"object",additionalProperties:{type:"string"}}},additionalProperties:!1}},additionalProperties:!1}},ignore:{type:"array",items:{type:"string"}}}},ce={type:"object",properties:{imports:{type:"array",items:{type:"string"}},logo:U,navbar:V,products:W,footer:H,sidebar:Q,scripts:G,links:K,feedback:o,search:Y,colorMode:J,navigation:X,codeSnippet:Z,markdown:ee,openapi:te,graphql:l,analytics:ne,userMenu:ie,versionPicker:oe,breadcrumbs:se,catalog:ae,scorecard:le},additionalProperties:!0};Object.assign(Object.assign({},ce),{additionalProperties:!1});var pe,ue;!function(e){e.OIDC="OIDC",e.SAML2="SAML2"}(pe||(pe={})),function(e){e.SERVICE_ACCOUNT="SERVICE_ACCOUNT",e.OAUTH2="OAUTH2"}(ue||(ue={}));var de;!function(e){e.STACKED="stacked",e.THREE_PANEL="three-panel"}(de||(de={}));const fe={type:"string",enum:["error","warn","off"]},he={type:"object",properties:{ignoreLint:{oneOf:[{type:"boolean",default:!1},{type:"object",additionalProperties:{type:"boolean"}}]},ignoreLinkChecker:{type:"boolean"},ignoreMarkdocErrors:{type:"boolean"},jobs:{type:"array",items:{type:"object",properties:{path:{type:"string",pattern:"^(?!\\.\\./)(/[a-zA-Z0-9_\\-\\./]+|./[a-zA-Z0-9_\\-\\./]+|[a-zA-Z0-9_\\-\\./]+)$"},agent:{type:"string",enum:["respect"]},trigger:{type:"object",additionalProperties:!1,properties:{event:{type:"string",enum:["schedule"]},interval:{type:"string",pattern:"^[1-9]\\d*[mhdw]$"}},required:["event"]},inputs:{type:"object",additionalProperties:{type:"string"}},servers:{type:"object",additionalProperties:!1,patternProperties:{"^[a-zA-Z0-9_-]+$":{type:"string",pattern:"^https?://[^\\s/$.?#].[^\\s]*$"}}},severity:{type:"object",additionalProperties:!1,properties:{schemaCheck:fe,statusCodeCheck:fe,contentTypeCheck:fe,successCriteriaCheck:fe}}},required:["path","trigger","agent"],additionalProperties:!1}}},additionalProperties:!1},me={type:"object",additionalProperties:{oneOf:[{type:"object",properties:{type:{type:"string",const:pe.OIDC},title:{type:"string"},pkce:{type:"boolean",default:!1},configurationUrl:{type:"string",minLength:1},configuration:{type:"object",properties:{end_session_endpoint:{type:"string"},token_endpoint:{type:"string"},authorization_endpoint:{type:"string"},jwks_uri:{type:"string"}},required:["token_endpoint","authorization_endpoint"],additionalProperties:!0},clientId:{type:"string",minLength:1},clientSecret:{type:"string",minLength:0},teamsClaimName:{type:"string"},teamsClaimMap:{type:"object",additionalProperties:{type:"string"}},defaultTeams:{type:"array",items:{type:"string"}},scopes:{type:"array",items:{type:"string"}},tokenExpirationTime:{type:"number"},authorizationRequestCustomParams:{type:"object",additionalProperties:{type:"string"}},tokenRequestCustomParams:{type:"object",additionalProperties:{type:"string"}},audience:{type:"array",items:{type:"string"}}},required:["type","clientId"],oneOf:[{required:["configurationUrl"]},{required:["configuration"]}],additionalProperties:!1},{type:"object",properties:{type:{type:"string",const:pe.SAML2},title:{type:"string"},issuerId:{type:"string"}
8,entityId:{type:"string"},ssoUrl:{type:"string"},x509PublicCert:{type:"string"},teamsAttributeName:{type:"string",default:"https://redocly.com/sso/teams"},teamsAttributeMap:{type:"object",additionalProperties:{type:"string"}},defaultTeams:{type:"array",items:{type:"string"}}},additionalProperties:!1,required:["type","issuerId","ssoUrl","x509PublicCert"]}],discriminator:{propertyName:"type"}}},ge={type:"object",additionalProperties:{type:"object",properties:{to:{type:"string"},type:{type:"number",default:301}},additionalProperties:!1},default:{}},ye={type:"object",additionalProperties:{oneOf:[{type:"string"},{type:"object"}]}},be={type:"object",properties:{root:{type:"string"},output:{type:"string",pattern:"(.ya?ml|.json)$"},rbac:{type:"object",additionalProperties:!0},openapi:te,graphql:l,theme:{type:"object",properties:{openapi:te,graphql:l},additionalProperties:!1},title:{type:"string"},metadata:{type:"object",additionalProperties:!0},rules:ye,decorators:{type:"object",additionalProperties:!0},preprocessors:{type:"object",additionalProperties:!0}},required:["root"]},ve={type:"object",additionalProperties:{type:"string"}},xe={type:"object",properties:{teamNamePatterns:{type:"array",items:{type:"string"}},teamFolders:{type:"array",items:{type:"string"}},teamFoldersBaseRoles:ve,cms:ve,reunite:ve,features:{type:"object",properties:{aiSearch:ve},additionalProperties:!1},content:{type:"object",properties:{"**":ve},additionalProperties:ve}},additionalProperties:ve},we={type:"object",properties:{type:{type:"string",const:"GRAVITEE"},apiBaseUrl:{type:"string"},env:{type:"string"},allowApiProductsOutsideCatalog:{type:"boolean",default:!1},stage:{type:"string",default:"non-production"},auth:{oneOf:[{type:"object",properties:{static:{type:"string"}},additionalProperties:!1,required:["static"]},{type:"object",properties:{idp:{type:"string"}},additionalProperties:!1,required:["idp"]}]}},additionalProperties:!1,required:["type","apiBaseUrl"]},Se={type:"object",properties:{type:{type:"string",const:"APIGEE_X"},apiUrl:{type:"string"},stage:{type:"string",default:"non-production"},organizationName:{type:"string"},ignoreApiProducts:{type:"array",items:{type:"string"}},allowApiProductsOutsideCatalog:{type:"boolean",default:!1},auth:{type:"object",oneOf:[{type:"object",properties:{type:{type:"string",const:ue.OAUTH2},tokenEndpoint:{type:"string"},clientId:{type:"string"},clientSecret:{type:"string"}},additionalProperties:!1,required:["type","tokenEndpoint","clientId","clientSecret"]},{type:"object",properties:{type:{type:"string",const:ue.SERVICE_ACCOUNT},serviceAccountEmail:{type:"string"},serviceAccountPrivateKey:{type:"string"}},additionalProperties:!1,required:["type","serviceAccountEmail","serviceAccountPrivateKey"]}],discriminator:{propertyName:"type"}}},additionalProperties:!1,required:["type","organizationName","auth"]},ke={type:"object",properties:{defaultLocale:{type:"string"},locales:{type:"array",items:{type:"object",properties:{code:{type:"string"},name:{type:"string"}},required:["code"]}}},additionalProperties:!1,required:["defaultLocale"]},Oe={type:"object",properties:{imports:{type:"array",items:{type:"string"}},licenseKey:{type:"string"},redirects:ge,seo:{type:"object",properties:{title:{type:"string"},description:{type:"string"},siteUrl:{type:"string"},image:{type:"string"},keywords:{oneOf:[{type:"array",items:{type:"string"}},{type:"string"}]},lang:{type:"string"},jsonLd:{type:"object"},meta:{type:"array",items:{type:"object",properties:{name:{type:"string"},content:{type:"string"}},required:["name","content"],additionalProperties:!1}}},additionalProperties:!1},rbac:xe,apiFunctions:{type:"object",properties:{folders:{type:"array",items:{type:"string"}}},additionalProperties:!1},requiresLogin:{type:"boolean"},responseHeaders:{type:"object",additionalProperties:{type:"array",items:{type:"object",properties:{name:{type:"string"},value:{type:"string"}},additionalProperties:!1,required:["name","value"]}}},mockServer:{type:"object",properties:{off:{type:"boolean",default:!1},position:{type:"string",enum:["first","last","replace","off"],default:"first"},strictExamples:{type:"boolean",default:!1},errorIfForcedExampleNotFound:{type:"boolean",default:!1},description:{type:"string"}}},apis:{type:"object",additionalProperties:be},rules:ye,decorators:{type:"object",additionalProperties:!0},preprocessors:{type:"object",additionalProperties:!0},ssoDirect:me,sso:{oneOf:[{type:"array",items:{type:"string",enum:["REDOCLY","CORPORATE","GUEST"]},uniqueItems:!0},{type:"string",enum:["REDOCLY","CORPORATE","GUEST"]}]},residency:{type:"string"},developerOnboarding:{type:"object",required:["adapters"],additionalProperties:!1,properties:{adapters:{type:"array",items:{type:"object",oneOf:[Se,Object.assign(Object.assign({},Se),{properties:Object.assign(Object.assign({},Se.properties),{type:{type:"string",const:"APIGEE_EDGE"}})}),we],discriminator:{propertyName:"type"}}}}},removeAttribution:{type:"boolean"},i18n:ke,l10n:ke,metadata:{type:"object",additionalProperties:!0},metadataGlobs:{type:"object",additionalProperties:{type:"object",additionalProperties:!0}},ignore:{type:"array",items:{type:"string"}}
8,theme:ce,reunite:he,logo:U,navbar:V,products:W,footer:H,sidebar:Q,scripts:G,links:K,feedback:o,search:Y,colorMode:J,navigation:X,codeSnippet:Z,markdown:ee,openapi:te,graphql:l,analytics:ne,userMenu:ie,versionPicker:oe,breadcrumbs:se,catalog:ae,scorecard:le},default:{redirects:{}},additionalProperties:!0},Ee=Object.assign(Object.assign({},function e(t,r){return Object.fromEntries(Object.entries(t).map(t=>{let[n,i]=t;if(n!==r)return"object"===typeof i&&i?Array.isArray(i)?[n,i.map(t=>"object"===typeof t?e(t,r):t)]:[n,e(i,r)]:[n,i]}).filter(Boolean))}(Oe,"default")),{additionalProperties:!1}),_e=Object.assign(Object.assign({$id:"root-redocly-config"},Oe),{properties:Object.assign(Object.assign({plugins:{type:"array",items:{type:"string"}}},Oe.properties),{env:{type:"object",additionalProperties:Ee}}),default:{},additionalProperties:!1}),$e={type:"object",properties:{logo:ce.properties.logo,navbar:ce.properties.navbar,footer:ce.properties.footer,sidebar:ce.properties.sidebar,search:ce.properties.search,codeSnippet:ce.properties.codeSnippet,breadcrumbs:ce.properties.breadcrumbs,openapi:ce.properties.openapi,feedback:ce.properties.feedback,analytics:{type:"object",properties:{ga:re}}},additionalProperties:!0,default:{}};Object.assign(Object.assign({},$e.properties),{apis:{type:"object",additionalProperties:be},theme:$e})},92523(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.OasVersion=void 0,t.bundleConfig=async function(e,t){const r={problems:[],oasVersion:a.SpecVersion.OAS3_0,refTypes:new Map,visitorsData:{}};return(0,s.walkDocument)({document:e,rootType:m.NormalizedConfigTypes.ConfigRoot,normalizedVisitors:y,resolvedRefMap:t,ctx:r}),e.parsed??{}},t.bundle=async function(e){const{ref:t,doc:r,externalRefResolver:i=new n.BaseResolver(e.config.resolve),base:o=null}=e;if(!t&&!r)throw new Error("Document or reference is required.\n");const s=void 0===r?await i.resolveDocument(o,t,!0):r;if(s instanceof Error)throw s;return e.collectSpecData?.(s.parsed),b({document:s,...e,config:e.config.styleguide,externalRefResolver:i})},t.bundleFromString=async function(e){const{source:t,absoluteRef:r,externalRefResolver:i=new n.BaseResolver(e.config.resolve)}=e;return b({document:(0,n.makeDocumentFromString)(t,r||"/"),...e,externalRefResolver:i,config:e.config.styleguide})},t.bundleDocument=b,t.mapTypeToComponent=v;const n=r(72839),i=r(15284),o=r(84621),s=r(3038),a=r(62166),l=r(20146),c=r(89873),p=r(88673),u=r(30354),d=r(67491),f=r(27756),h=r(32097),m=r(92031);var g;!function(e){e.Version2="oas2",e.Version3_0="oas3_0",e.Version3_1="oas3_1"}(g||(t.OasVersion=g={}));const y=(0,i.normalizeVisitors)([{severity:"error",ruleId:"configBundler",visitor:{ref:{leave(e,t,r){x(e,r,t)}}}}],m.NormalizedConfigTypes);async function b(e){const{document:t,config:r,customTypes:l,externalRefResolver:p,dereference:u=!1,skipRedoclyRegistryRefs:d=!1,removeUnusedComponents:m=!1,keepUrlRefs:g=!1}=e,y=(0,a.detectSpec)(t.parsed),b=(0,a.getMajorSpecVersion)(y),v=r.getRulesForSpecVersion(b),x=(0,o.normalizeTypes)(r.extendTypes(l??(0,a.getTypes)(y),y),r),S=(0,c.initRules)(v,r,"preprocessors",y),k=(0,c.initRules)(v,r,"decorators",y),O={problems:[],oasVersion:y,refTypes:new Map,visitorsData:{}};m&&k.push({severity:"error",ruleId:"remove-unused-components",visitor:b===a.SpecMajorVersion.OAS2?(0,f.RemoveUnusedComponents)({}):(0,h.RemoveUnusedComponents)({})});let E=await(0,n.resolveDocument)({rootDocument:t,rootType:x.Root,externalRefResolver:p});S.length>0&&((0,s.walkDocument)({document:t,rootType:x.Root,normalizedVisitors:(0,i.normalizeVisitors)(S,x),resolvedRefMap:E,ctx:O}),E=await(0,n.resolveDocument)({rootDocument:t,rootType:x.Root,externalRefResolver:p}));const _=(0,i.normalizeVisitors)([{severity:"error",ruleId:"bundler",visitor:w(b,u,d,t,E,g)},...k],x);return(0,s.walkDocument)({document:t,rootType:x.Root,normalizedVisitors:_,resolvedRefMap:E,ctx:O}),{bundle:t,problems:O.problems.map(e=>r.addProblemToIgnore(e)),fileDependencies:p.getFiles(),rootType:x.Root,refTypes:O.refTypes,visitorsData:O.visitorsData}}function v(e,t){switch(t){case a.SpecMajorVersion.OAS3:switch(e){case"Schema":return"schemas";
8case"Parameter":return"parameters";case"Response":return"responses";case"Example":return"examples";case"RequestBody":return"requestBodies";case"Header":return"headers";case"SecuritySchema":return"securitySchemes";case"Link":return"links";case"Callback":return"callbacks";default:return null}case a.SpecMajorVersion.OAS2:switch(e){case"Schema":return"definitions";case"Parameter":return"parameters";case"Response":return"responses";default:return null}case a.SpecMajorVersion.Async2:switch(e){case"Schema":return"schemas";case"Parameter":return"parameters";default:return null}case a.SpecMajorVersion.Async3:switch(e){case"Schema":return"schemas";case"Parameter":return"parameters";default:return null}case a.SpecMajorVersion.Arazzo1:switch(e){case"Root.workflows_items.parameters_items":case"Root.workflows_items.steps_items.parameters_items":return"parameters";default:return null}case a.SpecMajorVersion.Overlay1:return null}}function x(e,t,r){if((0,u.isPlainObject)(t.node)){delete e.$ref;const r=Object.assign({},t.node,e);Object.assign(e,r)}else r.parent[r.key]=t.node}function w(e,t,r,i,o,s){let c,f;const h={ref:{leave(a,c,u){if(!u.location||void 0===u.node)return void(0,p.reportUnresolvedRef)(u,c.report,c.location);if(u.location.source===i.source&&u.location.source===c.location.source&&"scalar"!==c.type.name&&!t)return;if(r&&(0,d.isRedoclyRegistryURL)(a.$ref))return;if(s&&(0,l.isAbsoluteUrl)(a.$ref))return;const f=v(c.type.name,e);f?t?(m(f,u,c),x(a,u,c)):(a.$ref=m(f,u,c),function(e,t,r){const s=(0,n.makeRefId)(r.location.source.absoluteRef,e.$ref);o.set(s,{document:i,isRemote:!1,node:t.node,nodePointer:e.$ref,resolved:!0})}(a,u,c)):x(a,u,c)}},Example:{leave(e,t){if((0,l.isExternalValue)(e)&&void 0===e.value){const r=t.resolve({$ref:e.externalValue});if(!r.location||void 0===r.node)return void(0,p.reportUnresolvedRef)(r,t.report,t.location);if(s&&(0,l.isAbsoluteUrl)(e.externalValue))return;e.value=t.resolve({$ref:e.externalValue}).node,delete e.externalValue}}},Root:{enter(t,r){f=r.location,e===a.SpecMajorVersion.OAS3?c=t.components=t.components||{}:e===a.SpecMajorVersion.OAS2?c=t:(e===a.SpecMajorVersion.Async2||e===a.SpecMajorVersion.Async3||e===a.SpecMajorVersion.Arazzo1)&&(c=t.components=t.components||{})}}};function m(t,r,n){c[t]=c[t]||{};const i=function(e,t,r){const[n,i]=[e.location.source.absoluteRef,e.location.pointer],o=c[t];let s="";const a=i.slice(2).split("/").filter(u.isTruthy);for(;a.length>0;)if(s=a.pop()+(s?`-${s}`:""),!o||!o[s]||g(o[s],e,r))return s;if(s=(0,l.refBaseName)(n)+(s?`_${s}`:""),!o[s]||g(o[s],e,r))return s;const p=s;let d=2;for(;o[s]&&!g(o[s],e,r);)s=`${p}-${d}`,d++;o[s]||r.report({message:`Two schemas are referenced with the same name but different content. Renamed ${p} to ${s}.`,location:r.location,forceSeverity:"warn"});return s}(r,t,n);return c[t][i]=r.node,e===a.SpecMajorVersion.OAS3||e===a.SpecMajorVersion.Async2||e===a.SpecMajorVersion.Async3?`#/components/${t}/${i}`:`#/${t}/${i}`}function g(e,t,r){return!(!(0,l.isRef)(e)||r.resolve(e,f.absolutePointer).location?.absolutePointer!==t.location.absolutePointer)||(0,u.dequal)(e,t.node)}return e===a.SpecMajorVersion.OAS3&&(h.DiscriminatorMapping={leave(t,r){for(const n of Object.keys(t)){const i=t[n],o=r.resolve({$ref:i});if(!o.location||void 0===o.node)return void(0,p.reportUnresolvedRef)(o,r.report,r.location.child(n));const s=v("Schema",e);t[n]=m(s,o,r)}}}),h}},24910(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Config=t.StyleguideConfig=t.IGNORE_FILE=void 0;const n=r(67992),i=r(53316),o=r(86337),s=r(30354),a=r(62166),l=r(62160),c=r(13111),p=r(20146);t.IGNORE_FILE=".redocly.lint-ignore.yaml";class u{constructor(e,r){this.rawConfig=e,this.configFile=r,this.ignore={},this._usedRules=new Set,this._usedVersions=new Set,this.plugins=e.plugins||[],this.doNotResolveExamples=!!e.doNotResolveExamples,this.recommendedFallback=e.recommendedFallback||!1;d(["rules","oas2Rules","oas3_0Rules","oas3_1Rules","async2Rules","async3Rules","arazzo1Rules","overlay1Rules"],e),this.rules={[a.SpecVersion.OAS2]:{...e.rules,...e.oas2Rules},[a.SpecVersion.OAS3_0]:{...e.rules,...e.oas3_0Rules},[a.SpecVersion.OAS3_1]:{...e.rules,...e.oas3_1Rules},[a.SpecVersion.Async2]:{...e.rules,...e.async2Rules},[a.SpecVersion.Async3]:{...e.rules,...e.async3Rules},[a.SpecVersion.Arazzo1]:{...e.rules,...e.arazzo1Rules},[a.SpecVersion.Overlay1]:{...e.rules,...e.overlay1Rules}},this.preprocessors={[a.SpecVersion.OAS2]:{...e.preprocessors,...e.oas2Preprocessors},[a.SpecVersion.OAS3_0]:{...e.preprocessors,...e.oas3_0Preprocessors},[a.SpecVersion.OAS3_1]:{...e.preprocessors,...e.oas3_1Preprocessors},[a.SpecVersion.Async2]:{...e.preprocessors,...e.async2Preprocessors},[a.SpecVersion.Async3]:{...e.preprocessors,...e.async3Preprocessors},[a.SpecVersion.Arazzo1]:{...e.arazzo1Preprocessors},[a.SpecVersion.Overlay1]:{...e.preprocessors,...e.overlay1Preprocessors}},this.decorators={[a.SpecVersion.OAS2]:{...e.decorators,...e.oas2Decorators},[a.SpecVersion.OAS3_0]:{...e.decorators,...e.oas3_0Decorators},[a.SpecVersion.OAS3_1]:{...e.decorators,...e.oas3_1Decorators},[a.SpecVersion.Async2]:{...e.decorators,...e.async2Decorators},[a.SpecVersion.Async3]:{...e.decorators,...e.async3Decorators},[a.SpecVersion.Arazzo1]:{...e.arazzo1Decorators},[a.SpecVersion.Overlay1]:{...e.decorators,...e.overlay1Decorators}},this.extendPaths=e.extendPaths||[],this.pluginPaths=e.pluginPaths||[],this.resolveIgnore(function(e){return e?(0,s.doesYamlFileExist)(e)?i.join(i.dirname(e),t.IGNORE_FILE):i.join(e,t.IGNORE_FILE):l.isBrowser?void 0:i.join(process.cwd(),t.IGNORE_FILE)}(r))}resolveIgnore(e){if(e&&(0,s.doesYamlFileExist)(e)){this.ignore=(0,o.parseYaml)(n.readFileSync(e,"utf-8"))||{},d(Object.keys(this.ignore),this.ignore);for(const t of Object.keys(this.ignore)){this.ignore[(0,p.isAbsoluteUrl)(t)?t:i.resolve(i.dirname(e),t)]=this.ignore[t];for(const e of Object.keys(this.ignore[t]))this.ignore[t][e]=new Set(this.ignore[t][e]);(0,p.isAbsoluteUrl)(t)||delete this.ignore[t]}}}saveIgnore(){const e=this.configFile?i.dirname(this.configFile):process.cwd(),r=i.join(e,t.IGNORE_FILE),a={};for(const t of Object.keys(this.ignore)){const r=a[(0,p.isAbsoluteUrl)(t)?t:(0,s.slash)(i.relative(e,t))]=this.ignore[t];for(const e of Object.keys(r))r[e]=Array.from(r[e])}n.writeFileSync(r,"# This file instructs Redocly's linter to ignore the rules contained for specific parts of your API.\n# See https://redocly.com/docs/cli/ for more information.\n"+(0,o.stringifyYaml)(a))}addIgnore(e){const t=this.ignore,r=e.location[0];if(void 0===r.pointer)return;const n=t[r.source.absoluteRef]=t[r.source.absoluteRef]||{};(n[e.ruleId]=n[e.ruleId]||new Set).add(r.pointer)}addProblemToIgnore(e){const t=e.location[0];if(void 0===t.pointer)return e;const r=(this.ignore[t.source.absoluteRef]||{})[e.ruleId],n=r&&r.has(t.pointer);return n?{...e,ignored:n}:e}extendTypes(e,t){let r=e;
8for(const n of this.plugins)if(void 0!==n.typeExtension)switch(t){case a.SpecVersion.OAS3_0:case a.SpecVersion.OAS3_1:if(!n.typeExtension.oas3)continue;r=n.typeExtension.oas3(r,t);break;case a.SpecVersion.OAS2:if(!n.typeExtension.oas2)continue;r=n.typeExtension.oas2(r,t);break;case a.SpecVersion.Async2:if(!n.typeExtension.async2)continue;r=n.typeExtension.async2(r,t);break;case a.SpecVersion.Async3:if(!n.typeExtension.async3)continue;r=n.typeExtension.async3(r,t);break;case a.SpecVersion.Arazzo1:if(!n.typeExtension.arazzo1)continue;r=n.typeExtension.arazzo1(r,t);break;case a.SpecVersion.Overlay1:if(!n.typeExtension.overlay1)continue;r=n.typeExtension.overlay1(r,t);break;default:throw new Error("Not implemented")}return r}getRuleSettings(e,t){this._usedRules.add(e),this._usedVersions.add(t);const r=this.rules[t][e]||"off";return"string"===typeof r?{severity:r}:{severity:"error",...r}}getPreprocessorSettings(e,t){this._usedRules.add(e),this._usedVersions.add(t);const r=this.preprocessors[t][e]||"off";return"string"===typeof r?{severity:"on"===r?"error":r}:{severity:"error",...r}}getDecoratorSettings(e,t){this._usedRules.add(e),this._usedVersions.add(t);const r=this.decorators[t][e]||"off";return"string"===typeof r?{severity:"on"===r?"error":r}:{severity:"error",...r}}getUnusedRules(){const e=[],t=[],r=[];for(const n of Array.from(this._usedVersions))e.push(...Object.keys(this.rules[n]).filter(e=>!this._usedRules.has(e))),t.push(...Object.keys(this.decorators[n]).filter(e=>!this._usedRules.has(e))),r.push(...Object.keys(this.preprocessors[n]).filter(e=>!this._usedRules.has(e)));return{rules:e,preprocessors:r,decorators:t}}getRulesForSpecVersion(e){switch(e){case a.SpecMajorVersion.OAS3:const e=[];return this.plugins.forEach(t=>t.preprocessors?.oas3&&e.push(t.preprocessors.oas3)),this.plugins.forEach(t=>t.rules?.oas3&&e.push(t.rules.oas3)),this.plugins.forEach(t=>t.decorators?.oas3&&e.push(t.decorators.oas3)),e;case a.SpecMajorVersion.OAS2:const t=[];return this.plugins.forEach(e=>e.preprocessors?.oas2&&t.push(e.preprocessors.oas2)),this.plugins.forEach(e=>e.rules?.oas2&&t.push(e.rules.oas2)),this.plugins.forEach(e=>e.decorators?.oas2&&t.push(e.decorators.oas2)),t;case a.SpecMajorVersion.Async2:const r=[];return this.plugins.forEach(e=>e.preprocessors?.async2&&r.push(e.preprocessors.async2)),this.plugins.forEach(e=>e.rules?.async2&&r.push(e.rules.async2)),this.plugins.forEach(e=>e.decorators?.async2&&r.push(e.decorators.async2)),r;case a.SpecMajorVersion.Async3:const n=[];return this.plugins.forEach(e=>e.preprocessors?.async3&&n.push(e.preprocessors.async3)),this.plugins.forEach(e=>e.rules?.async3&&n.push(e.rules.async3)),this.plugins.forEach(e=>e.decorators?.async3&&n.push(e.decorators.async3)),n;case a.SpecMajorVersion.Arazzo1:const i=[];return this.plugins.forEach(e=>e.preprocessors?.arazzo1&&i.push(e.preprocessors.arazzo1)),this.plugins.forEach(e=>e.rules?.arazzo1&&i.push(e.rules.arazzo1)),this.plugins.forEach(e=>e.decorators?.arazzo1&&i.push(e.decorators.arazzo1)),i;case a.SpecMajorVersion.Overlay1:const o=[];return this.plugins.forEach(e=>e.preprocessors?.overlay1&&o.push(e.preprocessors.overlay1)),this.plugins.forEach(e=>e.rules?.overlay1&&o.push(e.rules.overlay1)),this.plugins.forEach(e=>e.decorators?.overlay1&&o.push(e.decorators.overlay1)),o}}skipRules(e){for(const t of e||[])for(const e of Object.values(a.SpecVersion))if(this.rules[e][t])this.rules[e][t]="off";else if(Array.isArray(this.rules[e].assertions))for(const r of this.rules[e].assertions)r.assertionId===t&&(r.severity="off")}skipPreprocessors(e){for(const t of e||[])for(const e of Object.values(a.SpecVersion))this.preprocessors[e][t]&&(this.preprocessors[e][t]="off")}skipDecorators(e){for(const t of e||[])for(const e of Object.values(a.SpecVersion))this.decorators[e][t]&&(this.decorators[e][t]="off")}}function d(e,t){for(const r of e)t[r]&&(0,s.isPlainObject)(t[r])&&"spec"in t[r]&&((0,s.showWarningForDeprecatedField)("spec","struct"),t[r].struct=t[r].spec,delete t[r].spec)}t.StyleguideConfig=u;t.Config=class{constructor(e,t){this.rawConfig=e,this.configFile=t,this.apis=e.apis||{},this.styleguide=new u(e.styleguide||{},t),this.theme=e.theme||{},this.resolve=(0,c.getResolveConfig)(e?.resolve),this.region=e.region,this.organization=e.organization,this.files=e.files||[],this.telemetry=e.telemetry}}},89873(e,t,r){"use strict";t.initRules=function(e,t,r,i){return e.flatMap(e=>Object.keys(e).map(n=>{const o=e[n],s="rules"===r?t.getRuleSettings(n,i):"preprocessors"===r?t.getPreprocessorSettings(n,i):t.getDecoratorSettings(n,i);if("off"===s.severity)return;const a=s.severity,l=s.message,c=o(s);return Array.isArray(c)?c.map(e=>({severity:a,ruleId:n,message:l,visitor:e})):{severity:a,message:l,ruleId:n,visitor:c}})).flatMap(e=>e).filter(n.isDefined)};const n=r(30354)},13111(e,t,r){"use strict";t.getResolveConfig=function(e){return{http:{headers:e?.http?.headers??[],customFetch:void 0}}};const n=r(30354),i=r(24910),o=r(2111);function s(e){if(!e)return;const t={};for(const[r,n]of Object.entries(e))t[r]={root:n};return t}function a(e){let{plugins:t,extends:r,rules:i,oas2Rules:o,oas3_0Rules:s,oas3_1Rules:a,async2Rules:l,async3Rules:c,arazzo1Rules:p,overlay1Rules:u,preprocessors:d,oas2Preprocessors:f,oas3_0Preprocessors:h,oas3_1Preprocessors:m,async2Preprocessors:g,async3Preprocessors:y,arazzo1Preprocessors:b,overlay1Preprocessors:v,decorators:x,oas2Decorators:w,oas3_0Decorators:S,oas3_1Decorators:k,async2Decorators:O,async3Decorators:E,arazzo1Decorators:_,overlay1Decorators:$,...A}=e;const P={plugins:t,extends:r,rules:i,oas2Rules:o,oas3_0Rules:s,oas3_1Rules:a,async2Rules:l,async3Rules:c,arazzo1Rules:p,overlay1Rules:u,preprocessors:d,oas2Preprocessors:f,oas3_0Preprocessors:h,oas3_1Preprocessors:m,async2Preprocessors:g,async3Preprocessors:y,arazzo1Preprocessors:b,overlay1Preprocessors:v,decorators:x,oas2Decorators:w,oas3_0Decorators:S,oas3_1Decorators:k,async2Decorators:O,async3Decorators:E,arazzo1Decorators:_,overlay1Decorators:$,doNotResolveExamples:A.resolve?.doNotResolveExamples};if(A.lint&&A.styleguide||Object.values(P).some(n.isDefined)&&(A.lint||A.styleguide))throw new Error("Do not use 'lint', 'styleguide' and flat syntax together. \nSee more about the configuration in the docs: https://redocly.com/docs/cli/configuration/ \n");return{styleguideConfig:Object.values(P).some(n.isDefined)?P:void 0,rawConfigRest:A}}function l(e){if(!e)return;const t={};for(const[r,{lint:n,...i}]of Object.entries(e)){const{styleguideConfig:e,rawConfigRest:o}=a(i);t[r]={styleguide:e||n,...o}}return t}function c(e,t,r,i,o){const s=r.apis&&Object.values(r.apis).some(t=>t[e]);r[e]&&null===t&&(0,n.showWarningForDeprecatedField)(e,void 0,i,o),r[e]&&t&&r[t]&&(0,n.showErrorForDeprecatedField)(e,t),r[e]&&i&&r[i]&&(0,n.showErrorForDeprecatedField)(e,t,i),(r[e]||s)&&(0,n.showWarningForDeprecatedField)(e,t,i,o)}
8class p extends Error{}},27756(e,t,r){"use strict";t.RemoveUnusedComponents=void 0;const n=r(30354);t.RemoveUnusedComponents=()=>{const e=new Map;function t(t,r,n){e.set(t.absolutePointer,{usedIn:e.get(t.absolutePointer)?.usedIn??[],componentType:r,name:n})}function r(t,i){const o=i.length;for(const[r,{usedIn:s,name:a,componentType:l}]of e){!s.some(e=>!i.some(t=>e.absolutePointer.startsWith(t)&&(e.absolutePointer.length===t.length||"/"===e.absolutePointer[t.length])))&&l&&(i.push(r),delete t[l][a],e.delete(r),(0,n.isEmptyObject)(t[l])&&delete t[l])}return i.length>o?r(t,i):i.length}return{ref:{leave(t,r){let{location:n,type:i,resolve:o,key:s}=r;if(["Schema","Parameter","Response","SecurityScheme"].includes(i.name)){const r=o(t);if(!r.location)return;const[i,a]=r.location.absolutePointer.split("#",2),l=`${i}#${a.split("/").slice(0,3).join("/")}`,c=e.get(l);c?c.usedIn.push(n):e.set(l,{usedIn:[n],name:s.toString()})}}},Root:{leave(e,t){t.getVisitorData().removedCount=r(e,[])}},NamedSchemas:{Schema(e,r){let{location:n,key:i}=r;e.allOf||t(n,"definitions",i.toString())}},NamedParameters:{Parameter(e,r){let{location:n,key:i}=r;t(n,"parameters",i.toString())}},NamedResponses:{Response(e,r){let{location:n,key:i}=r;t(n,"responses",i.toString())}},NamedSecuritySchemes:{SecurityScheme(e,r){let{location:n,key:i}=r;t(n,"securityDefinitions",i.toString())}}}}},32097(e,t,r){"use strict";t.RemoveUnusedComponents=void 0;const n=r(30354);t.RemoveUnusedComponents=()=>{const e=new Map;function t(t,r,n){e.set(t.absolutePointer,{usedIn:e.get(t.absolutePointer)?.usedIn??[],componentType:r,name:n})}function r(t,i){const o=i.length;for(const[r,{usedIn:s,name:a,componentType:l}]of e){if(!s.some(e=>!i.some(t=>e.absolutePointer.startsWith(t)&&(e.absolutePointer.length===t.length||"/"===e.absolutePointer[t.length])))&&l&&t.components){i.push(r);const o=t.components[l];delete o[a],e.delete(r),(0,n.isEmptyObject)(o)&&delete t.components[l]}}return i.length>o?r(t,i):i.length}return{ref:{leave(t,r){let{location:n,type:i,resolve:o,key:s}=r;if(["Schema","Header","Parameter","Response","Example","RequestBody"].includes(i.name)){const r=o(t);if(!r.location)return;const[i,a]=r.location.absolutePointer.split("#",2),l=`${i}#${a.split("/").slice(0,4).join("/")}`,c=e.get(l);c?c.usedIn.push(n):e.set(l,{usedIn:[n],name:s.toString()})}}},Root:{leave(e,t){t.getVisitorData().removedCount=r(e,[]),(0,n.isEmptyObject)(e.components)&&delete e.components}},NamedSchemas:{Schema(e,r){let{location:n,key:i}=r;e.allOf||t(n,"schemas",i.toString())}},NamedParameters:{Parameter(e,r){let{location:n,key:i}=r;t(n,"parameters",i.toString())}},NamedResponses:{Response(e,r){let{location:n,key:i}=r;t(n,"responses",i.toString())}},NamedExamples:{Example(e,r){let{location:n,key:i}=r;t(n,"examples",i.toString())}},NamedRequestBodies:{RequestBody(e,r){let{location:n,key:i}=r;t(n,"requestBodies",i.toString())}},NamedHeaders:{Header(e,r){let{location:n,key:i}=r;t(n,"headers",i.toString())}}}}},62160(e,t){"use strict";t.env=t.isBrowser=void 0,t.isBrowser="undefined"!==typeof window||"undefined"===typeof process||"browser"===process?.platform,t.env=t.isBrowser?{}:{NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0,REACT_APP_VERSION:"26-09-23.3712"}||0},86337(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.stringifyYaml=t.parseYaml=void 0;const n=r(95476),i=n.JSON_SCHEMA.extend({implicit:[n.types.merge],explicit:[n.types.binary,n.types.omap,n.types.pairs,n.types.set]});t.parseYaml=(e,t)=>(0,n.load)(e,{schema:i,...t});t.stringifyYaml=(e,t)=>(0,n.dump)(e,t)},2111(e,t,r){"use strict";t.logger=t.colorize=void 0;const n=r(28825),i=r(62160),o=r(30354);n.options,t.colorize=new Proxy(n,{get:(e,t)=>i.isBrowser?o.identity:e[t]});t.logger=new class{stderr(e){return process.stderr.write(e)}info(e){return i.isBrowser?console.log(e):this.stderr(e)}warn(e){return i.isBrowser?console.warn(e):this.stderr(t.colorize.yellow(e))}error(e){return i.isBrowser?console.error(e):this.stderr(t.colorize.red(e))}}},62166(e,t,r){"use strict";t.SpecMajorVersion=t.SpecVersion=void 0,t.detectSpec=function(e){if(!(0,p.isPlainObject)(e))throw new Error("Document must be JSON object, got "+typeof e);
8if(e.openapi&&"string"!==typeof e.openapi)throw new Error(`Invalid OpenAPI version: should be a string but got "${typeof e.openapi}"`);if("string"===typeof e.openapi&&e.openapi.startsWith("3.0"))return d.OAS3_0;if("string"===typeof e.openapi&&(e.openapi.startsWith("3.1")||e.openapi.startsWith("3.2")))return d.OAS3_1;if(e.swagger&&"2.0"===e.swagger)return d.OAS2;if(e.openapi||e.swagger)throw new Error(`Unsupported OpenAPI version: ${e.openapi||e.swagger}`);if("string"===typeof e.asyncapi&&e.asyncapi.startsWith("2."))return d.Async2;if("string"===typeof e.asyncapi&&e.asyncapi.startsWith("3."))return d.Async3;if(e.asyncapi)throw new Error(`Unsupported AsyncAPI version: ${e.asyncapi}`);if("string"===typeof e.arazzo&&u.VERSION_PATTERN.test(e.arazzo))return d.Arazzo1;if("string"===typeof e.overlay&&u.VERSION_PATTERN.test(e.overlay))return d.Overlay1;throw new Error("Unsupported specification")},t.getMajorSpecVersion=function(e){return e===d.OAS2?f.OAS2:e===d.Async2?f.Async2:e===d.Async3?f.Async3:e===d.Arazzo1?f.Arazzo1:e===d.Overlay1?f.Overlay1:f.OAS3},t.getTypes=function(e){return h[e]};const n=r(38596),i=r(44267),o=r(9207),s=r(70219),a=r(5124),l=r(85598),c=r(41873),p=r(30354),u=r(77241);var d,f;!function(e){e.OAS2="oas2",e.OAS3_0="oas3_0",e.OAS3_1="oas3_1",e.Async2="async2",e.Async3="async3",e.Arazzo1="arazzo1",e.Overlay1="overlay1"}(d||(t.SpecVersion=d={})),function(e){e.OAS2="oas2",e.OAS3="oas3",e.Async2="async2",e.Async3="async3",e.Arazzo1="arazzo1",e.Overlay1="overlay1"}(f||(t.SpecMajorVersion=f={}));const h={[d.OAS2]:n.Oas2Types,[d.OAS3_0]:i.Oas3Types,[d.OAS3_1]:o.Oas3_1Types,[d.Async2]:s.AsyncApi2Types,[d.Async3]:a.AsyncApi3Types,[d.Arazzo1]:l.Arazzo1Types,[d.Overlay1]:c.Overlay1Types}},67491(e,t){"use strict";t.si=t.t9=void 0,t.isRedoclyRegistryURL=function(e){const r=i()||t.si[t.t9],n="redocly.com"===r?"redoc.ly":r;if(!e.startsWith(`https://api.${r}/registry/`)&&!e.startsWith(`https://api.${n}/registry/`))return!1;return!0};let r="redocly.com";function n(){const e={us:"redocly.com",eu:"eu.redocly.com"},t=r;return t?.endsWith(".redocly.host")&&(e[t.split(".")[0]]=t),"redoc.online"===t&&(e[t]=t),e}function i(){return r}t.t9="us",t.si=n(),Object.keys(t.si)},20146(e,t,r){"use strict";t.Location=void 0,t.joinPointer=i,t.isRef=function(e){return(0,n.isPlainObject)(e)&&"string"===typeof e.$ref},t.isExternalValue=function(e){return(0,n.isPlainObject)(e)&&"string"===typeof e.externalValue},t.escapePointer=a,t.parseRef=function(e){const[t,r=""]=e.split("#/");return{uri:(t.endsWith("#")?t.slice(0,-1):t)||null,pointer:l(r)}},t.refBaseName=function(e){const t=e.split(/[\/\\]/);return t[t.length-1].replace(/\.[^.]+$/,"")},t.isAbsoluteUrl=function(e){return e.startsWith("http://")||e.startsWith("https://")},t.isMappingRef=function(e){return e.startsWith("#")||e.startsWith("https://")||e.startsWith("http://")||e.startsWith("./")||e.startsWith("../")||e.indexOf("/")>-1},t.isAnchor=function(e){return/^#[A-Za-z][A-Za-z0-9\-_:.]*$/.test(e)};const n=r(30354);function i(e,t){return""===e&&(e="#/"),"/"===e[e.length-1]?e+t:e+"/"+t}class o{constructor(e,t){this.source=e,this.pointer=t}child(e){return new o(this.source,i(this.pointer,(Array.isArray(e)?e:[e]).map(a).join("/")))}key(){return{...this,reportOnKey:!0}}get absolutePointer(){return this.source.absoluteRef+("#/"===this.pointer?"":this.pointer)}}function s(e){return decodeURIComponent(e.replace(/~1/g,"/").replace(/~0/g,"~"))}function a(e){return"number"===typeof e?e:e.replace(/~/g,"~0").replace(/\//g,"~1")}function l(e){return e.split("/").map(s).filter(n.isTruthy)}t.Location=o},72839(e,t,r){"use strict";t.BaseResolver=t.YamlParseError=void 0,t.makeRefId=d,t.makeDocumentFromString=function(e,t){const r=new l(t,e);try{return{source:r,parsed:(0,a.parseYaml)(e,{filename:t})}}catch(n){throw new u(n,r)}},t.resolveDocument=async function(e){const{rootDocument:t,externalRefResolver:r,rootType:n}=e,i=new Map,l=new Set,c=[];let p;!function e(t,n,p,u){const g=n.source.absoluteRef,y=new Map;function b(t,r,i){if("object"!==typeof t||null===t)return;const a=`${r.name}::${i}`;if(l.has(a))return;l.add(a);const[p,u]=Object.entries(t).find(e=>{let[t]=e;return"$anchor"===t})||[];if(u&&y.set(`#${u}`,t),Array.isArray(t)){const e=r.items;if(void 0===e&&r!==h&&r!==s.SpecExtension)return;const n="function"===typeof e;for(let a=0;a<t.length;a++){const l=n?e(t[a],(0,o.joinPointer)(i,a)):e;void 0===l&&r!==h&&r!==s.SpecExtension||b(t[a],(0,s.isNamedType)(l)?l:h,(0,o.joinPointer)(i,a))}return}for(const e of Object.keys(t)){let n=t[e],a=r.properties[e];void 0===a&&(a=r.additionalProperties),"function"===typeof a&&(a=a(n,e)),void 0===a&&(a=h),r.extensionsPrefix&&e.startsWith(r.extensionsPrefix)&&a===h&&(a=s.SpecExtension),!(0,s.isNamedType)(a)&&a?.directResolveAs&&(a=a.directResolveAs,n={$ref:n}),a&&void 0===a.name&&!1!==a.resolvable&&(a=m),(0,s.isNamedType)(a)&&"object"===typeof n&&b(n,a,(0,o.joinPointer)(i,(0,o.escapePointer)(e)))}if((0,o.isRef)(t)){const i=v(n,t,{prev:null,node:t}).then(t=>{t.resolved&&e(t.node,t.document,t.nodePointer,r)});c.push(i)}if((0,o.isExternalValue)(t)){const i=v(n,{$ref:t.externalValue},{prev:null,node:t}).then(t=>{t.resolved&&e(t.node,t.document,t.nodePointer,r)});c.push(i)}}async function v(e,t,n){if(function(e,t){for(;e;){if(e.node===t)return!0;e=e.prev}return!1}(n.prev,t))throw new Error("Self-referencing circular pointer");if((0,o.isAnchor)(t.$ref)){await(0,a.nextTick)();const r={resolved:!0,isRemote:!1,node:y.get(t.$ref),document:e,nodePointer:t.$ref},n=d(e.source.absoluteRef,t.$ref);return i.set(n,r),r}const{uri:s,pointer:l}=(0,o.parseRef)(t.$ref),c=null!==s;let p;try{p=c?await r.resolveDocument(e.source.absoluteRef,s):e}catch(b){const r={resolved:!1,isRemote:c,document:void 0,error:b},n=d(e.source.absoluteRef,t.$ref);return i.set(n,r),r}let u={resolved:!0,document:p,isRemote:c,node:e.parsed,nodePointer:"#/"},h=p.parsed;const m=l;for(const r of m){if("object"!==typeof h){h=void 0;break}if(void 0!==h[r])h=h[r],u.nodePointer=(0,o.joinPointer)(u.nodePointer,(0,o.escapePointer)(r));else{if(!(0,o.isRef)(h)){h=void 0;break}if(u=await v(p,h,f(n,h)),p=u.document||p,"object"!==typeof u.node){h=void 0;break}h=u.node[r],u.nodePointer=(0,o.joinPointer)(u.nodePointer,(0,o.escapePointer)(r))}}u.node=h,u.document=p;const g=d(e.source.absoluteRef,t.$ref);return u.document&&(0,o.isRef)(h)&&(u=await v(u.document,h,f(n,h))
8),i.set(g,u),{...u}}b(t,u,g+p)}(t.parsed,t,"#/",n);do{p=await Promise.all(c)}while(c.length!==p.length);return i};const n=r(7411),i=r(53316),o=r(20146),s=r(84621),a=r(30354);class l{constructor(e,t,r){this.absoluteRef=e,this.body=t,this.mimeType=r}getAst(e){return void 0===this._ast&&(this._ast=e(this.body,{filename:this.absoluteRef})??void 0,this._ast&&0===this._ast.kind&&""===this._ast.value&&1!==this._ast.startPosition&&(this._ast.startPosition=1,this._ast.endPosition=1)),this._ast}getLines(){return void 0===this._lines&&(this._lines=this.body.split(/\r\n|[\n\r]/g)),this._lines}}class c extends Error{constructor(e){super(e.message),this.originalError=e,Object.setPrototypeOf(this,c.prototype)}}const p=/\((\d+):(\d+)\)$/;class u extends Error{constructor(e,t){super(e.message.split("\n")[0]),this.originalError=e,this.source=t,Object.setPrototypeOf(this,u.prototype);const[,r,n]=this.message.match(p)||[];this.line=parseInt(r,10),this.col=parseInt(n,10)}}function d(e,t){return e+"::"+t}t.YamlParseError=u;function f(e,t){return{prev:e,node:t}}t.BaseResolver=class{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{http:{headers:[]}};this.config=e,this.cache=new Map}getFiles(){return new Set(Array.from(this.cache.keys()))}resolveExternalRef(e,t){return(0,o.isAbsoluteUrl)(t)?t:e&&(0,o.isAbsoluteUrl)(e)?new URL(t,e).href:i.resolve(e?i.dirname(e):process.cwd(),t)}async loadExternalRef(e){try{if((0,o.isAbsoluteUrl)(e)){const{body:t,mimeType:r}=await(0,a.readFileFromUrl)(e,this.config.http);return new l(e,t,r)}{if(n.lstatSync(e).isDirectory())throw new Error(`Expected a file but received a folder at ${e}.`);const t=await n.promises.readFile(e,"utf-8");return new l(e,t.replace(/\r\n/g,"\n"))}}catch(t){throw t.message=t.message.replace(", lstat",""),new c(t)}}parseDocument(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];const r=e.absoluteRef.substr(e.absoluteRef.lastIndexOf("."));if(![".json",".json",".yml",".yaml"].includes(r)&&!e.mimeType?.match(/(json|yaml|openapi)/)&&!t)return{source:e,parsed:e.body};try{return{source:e,parsed:(0,a.parseYaml)(e.body,{filename:e.absoluteRef})}}catch(n){throw new u(n,e)}}async resolveDocument(e,t){let r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];const n=this.resolveExternalRef(e,t),i=this.cache.get(n);if(i)return i;const o=this.loadExternalRef(n).then(e=>this.parseDocument(e,r));return this.cache.set(n,o),o}};const h={name:"unknown",properties:{}},m={name:"scalar",properties:{}}},88673(e,t,r){"use strict";t.reportUnresolvedRef=i;const n=r(72839);function i(e,t,r){const i=e.error;i instanceof n.YamlParseError&&t({message:"Failed to parse: "+i.message,location:{source:i.source,pointer:void 0,start:{col:i.col,line:i.line}}});const o=e.error?.message;t({location:r,message:"Can't resolve $ref"+(o?": "+o:"")})}},85598(e,t,r){"use strict";t.Arazzo1Types=void 0;const n=r(84621),i=r(9207),o=r(44267),s=(0,n.mapOf)("Schema"),a=(0,n.listOf)("Workflow"),l=(0,n.listOf)("Step"),c={properties:{stepId:{type:"string"},description:{type:"string"},operationId:{type:"string"},operationPath:{type:"string"},workflowId:{type:"string"},parameters:"Parameters",successCriteria:(0,n.listOf)("CriterionObject"),onSuccess:"OnSuccessActionList",onFailure:"OnFailureActionList",outputs:"Outputs","x-operation":"ExtendedOperation",requestBody:"RequestBody"},required:["stepId"],requiredOneOf:["x-operation","operationId","operationPath","workflowId"],extensionsPrefix:"x-"},p={properties:{contentType:{type:"string"},payload:{},replacements:(0,n.listOf)("Replacement")},required:["payload"],extensionsPrefix:"x-"},u={properties:{condition:{type:"string"},context:{type:"string"},type:e=>e?"string"===typeof e?{enum:["regex","jsonpath","simple","xpath"]}:"jsonpath"===e?.type?"JSONPathCriterion":"XPathCriterion":void 0},required:["condition"]},d={properties:{name:{type:"string"},type:{type:"string",enum:["goto","end"]},stepId:{type:"string"},workflowId:{type:"string"},criteria:(0,n.listOf)("CriterionObject")},required:["type","name"]},f={properties:{name:{type:"string"},type:{type:"string",enum:["goto","retry","end"]},workflowId:{type:"string"},stepId:{type:"string"},retryAfter:{type:"number"},retryLimit:{type:"number"},criteria:(0,n.listOf)("CriterionObject")},required:["type","name"]};t.Arazzo1Types={Root:{properties:{arazzo:{type:"string"},info:"Info",sourceDescriptions:"SourceDescriptions",workflows:"Workflows",components:"Components"},required:["arazzo","info","sourceDescriptions","workflows"],extensionsPrefix:"x-"},Info:{properties:{title:{type:"string"},description:{type:"string"},summary:{type:"string"},version:{type:"string"}}
8,required:["title","version"],extensionsPrefix:"x-"},SourceDescriptions:{properties:{},items:e=>"openapi"===e?.type?"OpenAPISourceDescription":"ArazzoSourceDescription"},OpenAPISourceDescription:{properties:{name:{type:"string"},type:{type:"string",enum:["openapi"]},url:{type:"string"},"x-serverUrl":{type:"string"}},required:["name","type","url"],extensionsPrefix:"x-"},ArazzoSourceDescription:{properties:{name:{type:"string"},type:{type:"string",enum:["arazzo"]},url:{type:"string"}},required:["name","type","url"],extensionsPrefix:"x-"},Parameters:{properties:{},items:e=>e?.reference?"ReusableObject":"Parameter"},Parameter:{properties:{in:{type:"string",enum:["header","query","path","cookie"]},name:{type:"string"},value:{}},required:["name","value"],extensionsPrefix:"x-"},ReusableObject:{properties:{reference:{type:"string"},value:{}},required:["reference"],extensionsPrefix:"x-"},Workflows:a,Workflow:{properties:{workflowId:{type:"string"},summary:{type:"string"},description:{type:"string"},parameters:"Parameters",dependsOn:{type:"array",items:{type:"string"}},inputs:"Schema",outputs:"Outputs",steps:"Steps",successActions:"OnSuccessActionList",failureActions:"OnFailureActionList"},required:["workflowId","steps"],extensionsPrefix:"x-"},Steps:l,Step:c,RequestBody:p,Replacement:{properties:{target:{type:"string"},value:{}},required:["target","value"],extensionsPrefix:"x-"},ExtendedOperation:{properties:{url:{type:"string"},method:{enum:["get","post","put","delete","patch","head","options","trace","connect","query","GET","POST","PUT","DELETE","PATCH","OPTIONS","HEAD","TRACE","CONNECT","QUERY"]}},required:["url","method"]},Outputs:{properties:{},additionalProperties:{type:"string"}},CriterionObject:u,XPathCriterion:{properties:{type:{type:"string",enum:["xpath"]},version:{type:"string",enum:["xpath-30","xpath-20","xpath-10"]}}},JSONPathCriterion:{properties:{type:{type:"string",enum:["jsonpath"]},version:{type:"string",enum:["draft-goessner-dispatch-jsonpath-00"]}}},SuccessActionObject:d,OnSuccessActionList:{properties:{},items:e=>e?.type&&e?.name?"SuccessActionObject":"ReusableObject"},FailureActionObject:f,OnFailureActionList:{properties:{},items:e=>e?.type&&e?.name?"FailureActionObject":"ReusableObject"},Schema:i.Schema,NamedSchemas:(0,n.mapOf)("Schema"),ExternalDocs:o.ExternalDocs,DiscriminatorMapping:o.DiscriminatorMapping,Discriminator:o.Discriminator,DependentRequired:i.DependentRequired,SchemaProperties:i.SchemaProperties,PatternProperties:i.SchemaProperties,Components:{properties:{inputs:"NamedInputs",parameters:"NamedParameters",successActions:"NamedSuccessActions",failureActions:"NamedFailureActions"},extensionsPrefix:"x-"},NamedInputs:s,NamedParameters:{properties:{},additionalProperties:"Parameter"},NamedSuccessActions:{properties:{},additionalProperties:"SuccessActionObject"},NamedFailureActions:{properties:{},additionalProperties:"FailureActionObject"},Xml:o.Xml}},70219(e,t,r){"use strict";t.AsyncApi2Types=t.AsyncApi2Bindings=t.Dependencies=t.SecuritySchemeFlows=t.Discriminator=t.DiscriminatorMapping=t.SchemaProperties=t.Schema=t.MessageExample=t.CorrelationId=t.License=t.Contact=t.ServerVariable=t.ServerMap=t.ExternalDocs=t.Tag=void 0;const n=r(84621),i=r(20146),o={properties:{},allowed:()=>["http","ws","kafka","anypointmq","amqp","amqp1","mqtt","mqtt5","nats","jms","sns","solace","sqs","stomp","redis","mercure","ibmmq","googlepubsub","pulsar"],additionalProperties:{type:"object"}};t.Tag={properties:{name:{type:"string"},description:{type:"string"},externalDocs:"ExternalDocs"},required:["name"]},t.ExternalDocs={properties:{description:{type:"string"},url:{type:"string"}},required:["url"]};const s={properties:{},allowed:()=>["http","ws","kafka","anypointmq","amqp","amqp1","mqtt","mqtt5","nats","jms","sns","solace","sqs","stomp","redis","mercure","ibmmq","googlepubsub","pulsar"],additionalProperties:{type:"object"}};t.ServerMap={properties:{},additionalProperties:(e,t)=>t.match(/^[A-Za-z0-9_\-]+$/)?"Server":void 0},t.ServerVariable={properties:{enum:{type:"array",items:{type:"string"}},default:{type:"string"},description:{type:"string"},examples:{type:"array",items:{type:"string"}}},required:[]};t.Contact={properties:{name:{type:"string"},url:{type:"string"},email:{type:"string"}}},t.License={properties:{name:{type:"string"},url:{type:"string"}},required:["name"]};t.CorrelationId={properties:{description:{type:"string"},location:{type:"string"}},required:["location"]};const a={properties:{},allowed:()=>["http","ws","kafka","anypointmq","amqp","amqp1","mqtt","mqtt5","nats","jms","sns","solace","sqs","stomp","redis","mercure","ibmmq","googlepubsub","pulsar"],additionalProperties:{type:"object"}},l={properties:{},allowed:()=>["http","ws","kafka","anypointmq","amqp","amqp1","mqtt","mqtt5","nats","jms","sns","solace","sqs","stomp","redis","mercure","ibmmq","googlepubsub","pulsar"],additionalProperties:{type:"object"}};t.MessageExample={properties:{payload:{isExample:!0},summary:{type:"string"},name:{type:"string"},headers:{type:"object"}}},t.Schema={properties:{$id:{type:"string"},$schema:{type:"string"},definitions:"NamedSchemas",externalDocs:"ExternalDocs",discriminator:"Discriminator",myArbitraryKeyword:{type:"boolean"},title:{type:"string"},multipleOf:{type:"number",minimum:0},maximum:{type:"number"},minimum:{type:"number"},exclusiveMaximum:{type:"number"},exclusiveMinimum:{type:"number"},maxLength:{type:"integer",minimum:0},minLength:{type:"integer",minimum:0},pattern:{type:"string"},maxItems:{type:"integer",minimum:0},minItems:{type:"integer",minimum:0},uniqueItems:{type:"boolean"},maxProperties:{type:"integer",minimum:0},minProperties:{type:"integer",minimum:0},required:{type:"array",items:{type:"string"}},enum:{type:"array"},type:e=>Array.isArray(e)?{type:"array",items:{enum:["object","array","string","number","integer","boolean","null"]}}:{enum:["object","array","string","number","integer","boolean","null"]},allOf:(0,n.listOf)("Schema"),anyOf:(0,n.listOf)("Schema"),oneOf:(0,n.listOf)("Schema"),not:"Schema",if:"Schema",then:"Schema",else:"Schema",contains:"Schema",patternProperties:{type:"object"},propertyNames:"Schema",properties:"SchemaProperties",items:e=>Array.isArray(e)?(0,n.listOf)("Schema"):"Schema",additionalProperties:e=>"boolean"===typeof e?{type:"boolean"}:"Schema",description:{type:"string"},format:{type:"string"},contentEncoding:{type:"string"},contentMediaType:{type:"string"},default:null,readOnly:{type:"boolean"},writeOnly:{type:"boolean"},examples:{type:"array"},example:{isExample:!0},deprecated:{type:"boolean"},const:null,$comment:{type:"string"},additionalItems:e=>"boolean"===typeof e?{type:"boolean"}:"Schema",dependencies:"Dependencies"}},t.SchemaProperties={properties:{},additionalProperties:e=>"boolean"===typeof e?{type:"boolean"}:"Schema"},t.DiscriminatorMapping={properties:{},additionalProperties:e=>(0,i.isMappingRef)(e)?{type:"string",directResolveAs:"Schema"}:{type:"string"}},t.Discriminator={properties:{propertyName:{type:"string"},mapping:"DiscriminatorMapping"},required:["propertyName"]};t.SecuritySchemeFlows={properties:{implicit:"ImplicitFlow",password:"PasswordFlow",clientCredentials:"ClientCredentials",authorizationCode:"AuthorizationCode"}};const c={properties:{type:{enum:["userPassword","apiKey","X509","symmetricEncryption","asymmetricEncryption","httpApiKey","http","oauth2","openIdConnect","plain","scramSha256","scramSha512","gssapi"]},description:{type:"string"},name:{type:"string"},in:{type:"string",enum:["query","header","cookie","user","password"]},scheme:{type:"string"},bearerFormat:{type:"string"},flows:"SecuritySchemeFlows",openIdConnectUrl:{type:"string"}},required(e){switch(e?.type){case"apiKey":return["type","in"];case"httpApiKey":return["type","name","in"];case"http":return["type","scheme"];case"oauth2":return["type","flows"];case"openIdConnect":return["type","openIdConnectUrl"];default:return["type"]}},allowed(e){switch(e?.type){case"apiKey":return["type","in","description"];case"httpApiKey":return["type","name","in","description"];case"http":return["type","scheme","bearerFormat","description"];case"oauth2":return["type","flows","description"];case"openIdConnect":return["type","openIdConnectUrl","description"];default:return["type","description"]}},extensionsPrefix:"x-"};t.Dependencies={properties:{},additionalProperties:e=>Array.isArray(e)?{type:"array",items:{type:"string"}}:"Schema"};const p={properties:{}};o.properties.http=p;const u={properties:{}};s.properties.http=u;const d={properties:{headers:"Schema",bindingVersion:{type:"string"}}};a.properties.http=d;const f={properties:{type:{type:"string"},method:{type:"string",enum:["GET","POST","PUT","PATCH","DELETE","HEAD","OPTIONS","CONNECT","TRACE"]},headers:"Schema",bindingVersion:{type:"string"}}};l.properties.http=f;const h={properties:{method:{type:"string"},query:"Schema",headers:"Schema",bindingVersion:{type:"string"}}};o.properties.ws=h;const m={properties:{}};s.properties.ws=m;const g={properties:{}};a.properties.ws=g;const y={properties:{}};l.properties.ws=y;const b={properties:{topic:{type:"string"},partitions:{type:"integer"},replicas:{type:"integer"},topicConfiguration:"KafkaTopicConfiguration",bindingVersion:{type:"string"}}};o.properties.kafka=b;const v={properties:{}};s.properties.kafka=v;const x={properties:{key:"Schema",schemaIdLocation:{type:"string"},schemaIdPayloadEncoding:{type:"string"},schemaLookupStrategy:{type:"string"},bindingVersion:{type:"string"}}};a.properties.kafka=x;const w={properties:{groupId:"Schema",clientId:"Schema",bindingVersion:{type:"string"}}};l.properties.kafka=w;const S={properties:{destination:{type:"string"},destinationType:{type:"string"},bindingVersion:{type:"string"}}};o.properties.anypointmq=S;const k={properties:{}};s.properties.anypointmq=k;const O={properties:{headers:"Schema",bindingVersion:{type:"string"}}};a.properties.anypointmq=O;const E={properties:{}};l.properties.anypointmq=E;const _={properties:{}};o.properties.amqp=_;const $={properties:{}};s.properties.amqp=$;const A={properties:{contentEncoding:{type:"string"},messageType:{type:"string"},bindingVersion:{type:"string"}}};a.properties.amqp=A;const P={properties:{expiration:{type:"integer"},userId:{type:"string"},cc:{type:"array",items:{type:"string"}},priority:{type:"integer"},deliveryMode:{type:"integer"},mandatory:{type:"boolean"},bcc:{type:"array",items:{type:"string"}},replyTo:{type:"string"},timestamp:{type:"boolean"},ack:{type:"boolean"},bindingVersion:{type:"string"}}};l.properties.amqp=P;const j={properties:{}};o.properties.amqp1=j;const C={properties:{}};s.properties.amqp1=C;const T={properties:{}};a.properties.amqp1=T;const I={properties:{}};l.properties.amqp1=I;const N={properties:{qos:{type:"integer"},retain:{type:"boolean"},bindingVersion:{type:"string"}}};o.properties.mqtt=N;const R={properties:{clientId:{type:"string"},cleanSession:{type:"boolean"},lastWill:"MqttServerBindingLastWill",keepAlive:{type:"integer"},bindingVersion:{type:"string"}}};s.properties.mqtt=R;const L={properties:{bindingVersion:{type:"string"}}};a.properties.mqtt=L;const D={properties:{qos:{type:"integer"},retain:{type:"boolean"},bindingVersion:{type:"string"}}};l.properties.mqtt=D;const M={properties:{}};o.properties.mqtt5=M;const z={properties:{}};s.properties.mqtt5=z;const F={properties:{}};a.properties.mqtt5=F;const B={properties:{}};l.properties.mqtt5=B;const q={properties:{}};o.properties.nats=q;const U={properties:{}};s.properties.nats=U;const V={properties:{}};a.properties.nats=V;const W={properties:{queue:{type:"string"},bindingVersion:{type:"string"}}};l.properties.nats=W;const H={properties:{destination:{type:"string"},destinationType:{type:"string"},bindingVersion:{type:"string"}}};o.properties.jms=H;const Q={properties:{}};
8s.properties.jms=Q;const G={properties:{headers:"Schema",bindingVersion:{type:"string"}}};a.properties.jms=G;const K={properties:{headers:"Schema",bindingVersion:{type:"string"}}};l.properties.jms=K;const Y={properties:{}};o.properties.solace=Y;const J={properties:{bindingVersion:{type:"string"},msgVpn:{type:"string"}}};s.properties.solace=J;const X={properties:{}};a.properties.solace=X;const Z={properties:{bindingVersion:{type:"string"},destinations:(0,n.listOf)("SolaceDestination")}};l.properties.solace=Z;const ee={properties:{}};o.properties.stomp=ee;const te={properties:{}};s.properties.stomp=te;const re={properties:{}};a.properties.stomp=re;const ne={properties:{}};l.properties.stomp=ne;const ie={properties:{}};o.properties.redis=ie;const oe={properties:{}};s.properties.redis=oe;const se={properties:{}};a.properties.redis=se;const ae={properties:{}};l.properties.redis=ae;const le={properties:{}};o.properties.mercure=le;const ce={properties:{}};s.properties.mercure=ce;const pe={properties:{}};a.properties.mercure=pe;const ue={properties:{}};l.properties.mercure=ue,t.AsyncApi2Bindings={HttpServerBinding:u,HttpChannelBinding:p,HttpMessageBinding:d,HttpOperationBinding:f,WsServerBinding:m,WsChannelBinding:h,WsMessageBinding:g,WsOperationBinding:y,KafkaServerBinding:v,KafkaTopicConfiguration:{properties:{"cleanup.policy":{type:"array",items:{enum:["delete","compact"]}},"retention.ms":{type:"integer"},"retention.bytes":{type:"integer"},"delete.retention.ms":{type:"integer"},"max.message.bytes":{type:"integer"}}},KafkaChannelBinding:b,KafkaMessageBinding:x,KafkaOperationBinding:w,AnypointmqServerBinding:k,AnypointmqChannelBinding:S,AnypointmqMessageBinding:O,AnypointmqOperationBinding:E,AmqpServerBinding:$,AmqpChannelBinding:_,AmqpMessageBinding:A,AmqpOperationBinding:P,Amqp1ServerBinding:C,Amqp1ChannelBinding:j,Amqp1MessageBinding:T,Amqp1OperationBinding:I,MqttServerBindingLastWill:{properties:{topic:{type:"string"},qos:{type:"integer"},message:{type:"string"},retain:{type:"boolean"}}},MqttServerBinding:R,MqttChannelBinding:N,MqttMessageBinding:L,MqttOperationBinding:D,Mqtt5ServerBinding:z,Mqtt5ChannelBinding:M,Mqtt5MessageBinding:F,Mqtt5OperationBinding:B,NatsServerBinding:U,NatsChannelBinding:q,NatsMessageBinding:V,NatsOperationBinding:W,JmsServerBinding:Q,JmsChannelBinding:H,JmsMessageBinding:G,JmsOperationBinding:K,SolaceServerBinding:J,SolaceChannelBinding:Y,SolaceMessageBinding:X,SolaceDestination:{properties:{destinationType:{type:"string",enum:["queue","topic"]},deliveryMode:{type:"string",enum:["direct","persistent"]},"queue.name":{type:"string"},"queue.topicSubscriptions":{type:"array",items:{type:"string"}},"queue.accessType":{type:"string",enum:["exclusive","nonexclusive"]},"queue.maxMsgSpoolSize":{type:"string"},"queue.maxTtl":{type:"string"},"topic.topicSubscriptions":{type:"array",items:{type:"string"}}}},SolaceOperationBinding:Z,StompServerBinding:te,StompChannelBinding:ee,StompMessageBinding:re,StompOperationBinding:ne,RedisServerBinding:oe,RedisChannelBinding:ie,RedisMessageBinding:se,RedisOperationBinding:ae,MercureServerBinding:ce,MercureChannelBinding:le,MercureMessageBinding:pe,MercureOperationBinding:ue,ServerBindings:s,ChannelBindings:o,MessageBindings:a,OperationBindings:l},t.AsyncApi2Types={...t.AsyncApi2Bindings,Root:{properties:{asyncapi:null,info:"Info",id:{type:"string"},servers:"ServerMap",channels:"ChannelMap",components:"Components",tags:"TagList",externalDocs:"ExternalDocs",defaultContentType:{type:"string"}},required:["asyncapi","channels","info"]},Tag:t.Tag,TagList:(0,n.listOf)("Tag"),ServerMap:t.ServerMap,ExternalDocs:t.ExternalDocs,Server:{properties:{url:{type:"string"},protocol:{type:"string"},protocolVersion:{type:"string"},description:{type:"string"},variables:"ServerVariablesMap",security:"SecurityRequirementList",bindings:"ServerBindings",tags:"TagList"},required:["url","protocol"]},ServerVariable:t.ServerVariable,ServerVariablesMap:(0,n.mapOf)("ServerVariable"),SecurityRequirement:{properties:{},additionalProperties:{type:"array",items:{type:"string"}}},SecurityRequirementList:(0,n.listOf)("SecurityRequirement"),Info:{properties:{title:{type:"string"},version:{type:"string"},description:{type:"string"},termsOfService:{type:"string"},contact:"Contact",license:"License"}
8,required:["title","version"]},Contact:t.Contact,License:t.License,ChannelMap:{properties:{},additionalProperties:"Channel"},Channel:{properties:{description:{type:"string"},subscribe:"Operation",publish:"Operation",parameters:"ParametersMap",bindings:"ChannelBindings",servers:{type:"array",items:{type:"string"}}}},Parameter:{properties:{description:{type:"string"},schema:"Schema",location:{type:"string"}}},ParametersMap:(0,n.mapOf)("Parameter"),Operation:{properties:{tags:"TagList",summary:{type:"string"},description:{type:"string"},externalDocs:"ExternalDocs",operationId:{type:"string"},security:"SecurityRequirementList",bindings:"OperationBindings",traits:"OperationTraitList",message:"Message"},required:[]},Schema:t.Schema,MessageExample:t.MessageExample,SchemaProperties:t.SchemaProperties,DiscriminatorMapping:t.DiscriminatorMapping,Discriminator:t.Discriminator,Components:{properties:{messages:"NamedMessages",parameters:"NamedParameters",schemas:"NamedSchemas",correlationIds:"NamedCorrelationIds",messageTraits:"NamedMessageTraits",operationTraits:"NamedOperationTraits",securitySchemes:"NamedSecuritySchemes",servers:"ServerMap",serverVariables:"ServerVariablesMap",channels:"ChannelMap",serverBindings:"ServerBindings",channelBindings:"ChannelBindings",operationBindings:"OperationBindings",messageBindings:"MessageBindings"}},NamedSchemas:(0,n.mapOf)("Schema"),NamedMessages:(0,n.mapOf)("Message"),NamedMessageTraits:(0,n.mapOf)("MessageTrait"),NamedOperationTraits:(0,n.mapOf)("OperationTrait"),NamedParameters:(0,n.mapOf)("Parameter"),NamedSecuritySchemes:(0,n.mapOf)("SecurityScheme"),NamedCorrelationIds:(0,n.mapOf)("CorrelationId"),ImplicitFlow:{properties:{refreshUrl:{type:"string"},scopes:{type:"object",additionalProperties:{type:"string"}},authorizationUrl:{type:"string"}},required:["authorizationUrl","scopes"]},PasswordFlow:{properties:{refreshUrl:{type:"string"},scopes:{type:"object",additionalProperties:{type:"string"}},tokenUrl:{type:"string"}},required:["tokenUrl","scopes"]},ClientCredentials:{properties:{refreshUrl:{type:"string"},scopes:{type:"object",additionalProperties:{type:"string"}},tokenUrl:{type:"string"}},required:["tokenUrl","scopes"]},AuthorizationCode:{properties:{refreshUrl:{type:"string"},authorizationUrl:{type:"string"},scopes:{type:"object",additionalProperties:{type:"string"}},tokenUrl:{type:"string"}},required:["authorizationUrl","tokenUrl","scopes"]},SecuritySchemeFlows:t.SecuritySchemeFlows,SecurityScheme:c,Message:{properties:{messageId:{type:"string"},headers:"Schema",payload:"Schema",correlationId:"CorrelationId",schemaFormat:{type:"string"},contentType:{type:"string"},name:{type:"string"},title:{type:"string"},summary:{type:"string"},description:{type:"string"},tags:"TagList",externalDocs:"ExternalDocs",bindings:"MessageBindings",examples:"MessageExampleList",traits:"MessageTraitList"},additionalProperties:{}},MessageBindings:a,OperationBindings:l,OperationTrait:{properties:{tags:"TagList",summary:{type:"string"},description:{type:"string"},externalDocs:"ExternalDocs",operationId:{type:"string"},security:"SecurityRequirementList",bindings:"OperationBindings"},required:[]},OperationTraitList:(0,n.listOf)("OperationTrait"),MessageTrait:{properties:{messageId:{type:"string"},headers:"Schema",correlationId:"CorrelationId",schemaFormat:{type:"string"},contentType:{type:"string"},name:{type:"string"},title:{type:"string"},summary:{type:"string"},description:{type:"string"},tags:"TagList",externalDocs:"ExternalDocs",bindings:"MessageBindings",examples:"MessageExampleList"},additionalProperties:{}},MessageTraitList:(0,n.listOf)("MessageTrait"),MessageExampleList:(0,n.listOf)("MessageExample"),CorrelationId:t.CorrelationId,Dependencies:t.Dependencies}},5124(e,t,r){"use strict";t.AsyncApi3Types=void 0;const n=r(84621),i=r(70219),o={properties:{type:{enum:["userPassword","apiKey","X509","symmetricEncryption","asymmetricEncryption","httpApiKey","http","oauth2","openIdConnect","plain","scramSha256","scramSha512","gssapi"]},description:{type:"string"},name:{type:"string"},in:{type:"string",enum:["query","header","cookie","user","password"]},scheme:{type:"string"},bearerFormat:{type:"string"},flows:"SecuritySchemeFlows",openIdConnectUrl:{type:"string"},scopes:{type:"array",items:{type:"string"}}},required(e){switch(e?.type){case"apiKey":return["type","in"];case"httpApiKey":return["type","name","in"];case"http":return["type","scheme"];case"oauth2":return["type","flows"];case"openIdConnect":return["type","openIdConnectUrl"];default:return["type"]}},allowed(e){switch(e?.type){case"apiKey":return["type","in","description"];case"httpApiKey":return["type","name","in","description"];case"http":return["type","scheme","bearerFormat","description"];case"oauth2":return["type","flows","description","scopes"];case"openIdConnect":return["type","openIdConnectUrl","description","scopes"];default:return["type","description"]}},extensionsPrefix:"x-"};t.AsyncApi3Types={...i.AsyncApi2Bindings,CorrelationId:i.CorrelationId,SecuritySchemeFlows:i.SecuritySchemeFlows,ServerVariable:i.ServerVariable,Contact:i.C
8ontact,License:i.License,MessageExample:i.MessageExample,Tag:i.Tag,Dependencies:i.Dependencies,Schema:i.Schema,Discriminator:i.Discriminator,DiscriminatorMapping:i.DiscriminatorMapping,SchemaProperties:i.SchemaProperties,ServerMap:i.ServerMap,ExternalDocs:i.ExternalDocs,Root:{properties:{asyncapi:{type:"string",enum:["3.0.0"]},info:"Info",id:{type:"string"},servers:"ServerMap",channels:"NamedChannels",components:"Components",operations:"NamedOperations",defaultContentType:{type:"string"}},required:["asyncapi","info"]},Channel:{properties:{address:{type:"string"},messages:"NamedMessages",title:{type:"string"},summary:{type:"string"},description:{type:"string"},servers:"ServerList",parameters:"ParametersMap",bindings:"ChannelBindings",tags:"TagList",externalDocs:"ExternalDocs"}},Parameter:{properties:{description:{type:"string"},enum:{type:"array",items:{type:"string"}},default:{type:"string"},examples:{type:"array",items:{type:"string"}},location:{type:"string"}}},Info:{properties:{title:{type:"string"},version:{type:"string"},description:{type:"string"},termsOfService:{type:"string"},contact:"Contact",license:"License",tags:"TagList",externalDocs:"ExternalDocs"},required:["title","version"]},Server:{properties:{host:{type:"string"},pathname:{type:"string"},protocol:{type:"string"},protocolVersion:{type:"string"},description:{type:"string"},variables:"ServerVariablesMap",security:"SecuritySchemeList",bindings:"ServerBindings",externalDocs:"ExternalDocs",tags:"TagList"},required:["host","protocol"]},MessageTrait:{properties:{headers:e=>"function"===typeof e||"object"===typeof e&&e?{properties:{schema:"Schema",schemaFormat:{type:"string"}}}:"Schema",correlationId:"CorrelationId",contentType:{type:"string"},name:{type:"string"},title:{type:"string"},summary:{type:"string"},description:{type:"string"},tags:"TagList",externalDocs:"ExternalDocs",bindings:"MessageBindings",examples:"MessageExampleList"},additionalProperties:{}},Operation:{properties:{action:{type:"string",enum:["send","receive"]},channel:"Channel",title:{type:"string"},tags:"TagList",summary:{type:"string"},description:{type:"string"},externalDocs:"ExternalDocs",operationId:{type:"string"},security:"SecuritySchemeList",bindings:"OperationBindings",traits:"OperationTraitList",messages:"MessageList",reply:"OperationReply"},required:["action","channel"]},OperationReply:{properties:{channel:"Channel",messages:"MessageList",address:"OperationReplyAddress"}},OperationReplyAddress:{properties:{location:{type:"string"},description:{type:"string"}},required:["location"]},Components:{properties:{messages:"NamedMessages",parameters:"NamedParameters",schemas:"NamedSchemas",replies:"NamedOperationReplies",replyAddresses:"NamedOperationRelyAddresses",correlationIds:"NamedCorrelationIds",messageTraits:"NamedMessageTraits",operationTraits:"NamedOperationTraits",tags:"NamedTags",externalDocs:"NamedExternalDocs",securitySchemes:"NamedSecuritySchemes",servers:"ServerMap",serverVariables:"ServerVariablesMap",channels:"NamedChannels",operations:"NamedOperations",serverBindings:"ServerBindings",channelBindings:"ChannelBindings",operationBindings:"OperationBindings",messageBindings:"MessageBindings"}},ImplicitFlow:{properties:{refreshUrl:{type:"string"},availableScopes:{type:"object",additionalProperties:{type:"string"}},authorizationUrl:{type:"string"}},required:["authorizationUrl","availableScopes"]},PasswordFlow:{properties:{refreshUrl:{type:"string"},availableScopes:{type:"object",additionalProperties:{type:"string"}},tokenUrl:{type:"string"}},required:["tokenUrl","availableScopes"]},ClientCredentials:{properties:{refreshUrl:{type:"string"},availableScopes:{type:"object",additionalProperties:{type:"string"}},tokenUrl:{type:"string"}},required:["tokenUrl","availableScopes"]},AuthorizationCode:{properties:{refreshUrl:{type:"string"},authorizationUrl:{type:"string"},availableScopes:{type:"object",additionalProperties:{type:"string"}},tokenUrl:{type:"string"}},required:["authorizationUrl","tokenUrl","availableScopes"]},SecurityScheme:o,Message:{properties:{headers:"Schema",payload:e=>e&&e?.schemaFormat?{properties:{schema:"Schema",schemaFormat:{type:"string"}}
8,required:["schema","schemaFormat"]}:"Schema",correlationId:"CorrelationId",contentType:{type:"string"},name:{type:"string"},title:{type:"string"},summary:{type:"string"},description:{type:"string"},tags:"TagList",externalDocs:"ExternalDocs",bindings:"MessageBindings",examples:"MessageExampleList",traits:"MessageTraitList"},additionalProperties:{}},OperationTrait:{properties:{tags:"TagList",title:{type:"string"},summary:{type:"string"},description:{type:"string"},externalDocs:"ExternalDocs",security:"SecuritySchemeList",bindings:"OperationBindings"},required:[]},ServerVariablesMap:(0,n.mapOf)("ServerVariable"),NamedTags:(0,n.mapOf)("Tag"),NamedExternalDocs:(0,n.mapOf)("ExternalDocs"),NamedChannels:(0,n.mapOf)("Channel"),ParametersMap:(0,n.mapOf)("Parameter"),NamedOperations:(0,n.mapOf)("Operation"),NamedOperationReplies:(0,n.mapOf)("OperationReply"),NamedOperationRelyAddresses:(0,n.mapOf)("OperationReplyAddress"),NamedSchemas:(0,n.mapOf)("Schema"),NamedMessages:(0,n.mapOf)("Message"),NamedMessageTraits:(0,n.mapOf)("MessageTrait"),NamedOperationTraits:(0,n.mapOf)("OperationTrait"),NamedParameters:(0,n.mapOf)("Parameter"),NamedSecuritySchemes:(0,n.mapOf)("SecurityScheme"),NamedCorrelationIds:(0,n.mapOf)("CorrelationId"),ServerList:(0,n.listOf)("Server"),SecuritySchemeList:(0,n.listOf)("SecurityScheme"),MessageList:(0,n.listOf)("Message"),OperationTraitList:(0,n.listOf)("OperationTrait"),MessageTraitList:(0,n.listOf)("MessageTrait"),MessageExampleList:(0,n.listOf)("MessageExample"),TagList:(0,n.listOf)("Tag")}},84621(e,t){"use strict";t.SpecExtension=void 0,t.listOf=function(e){return{name:`${e}List`,properties:{},items:e}},t.mapOf=function(e){return{name:`${e}Map`,properties:{},additionalProperties:()=>e}},t.normalizeTypes=function(e){let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n={};for(const t of Object.keys(e))n[t]={...e[t],name:t};for(const t of Object.values(n))i(t);return n.SpecExtension=t.SpecExtension,n;function i(e){if(e.additionalProperties&&(e.additionalProperties=o(e.additionalProperties)),e.items&&(e.items=o(e.items)),e.properties){const t={};for(const[n,i]of Object.entries(e.properties))t[n]=o(i),r.doNotResolveExamples&&i&&i.isExample&&(t[n]={...i,resolvable:!1});e.properties=t}}function o(e){if("string"===typeof e){if(!n[e])throw new Error(`Unknown type name found: ${e}`);return n[e]}return"function"===typeof e?(t,r)=>o(e(t,r)):e&&e.name?(i(e={...e}),e):e&&e.directResolveAs?{...e,directResolveAs:o(e.directResolveAs)}:e}},t.isNamedType=function(e){return"string"===typeof e?.name},t.SpecExtension={name:"SpecExtension",properties:{},additionalProperties:{resolvable:!0}}},25969(e,t,r){"use strict";t.getNodeTypesFromJSONSchema=function(e,t){const r={};return a(e,t,r),r};const n=r(1791),i=r(30354),o=new n.default({strictSchema:!1,allowUnionTypes:!0,useDefaults:!0,allErrors:!0,discriminator:!0,strictTypes:!1,verbose:!0});function s(e,t){if(t.some(e=>"function"===typeof e))throw new Error("Unexpected oneOf inside oneOf.");return r=>{let n=e.findIndex(e=>o.validate(e,r));return-1===n&&(n=0),t[n]}}function a(e,t,r){if(!t||"boolean"===typeof t)throw new Error(`Unexpected schema in ${e}.`);if(t instanceof Array)throw new Error(`Unexpected array schema in ${e}. Try using oneOf instead.`);if("null"===t.type)throw new Error(`Unexpected null schema type in ${e} schema.`);if(t.type instanceof Array)throw new Error(`Unexpected array schema type in ${e} schema. Try using oneOf instead.`);if("string"===t.type||"number"===t.type||"integer"===t.type||"boolean"===t.type){const{default:e,format:r,...n}=t;return n}if("object"===t.type&&!t.properties&&!t.oneOf){if(void 0===t.additionalProperties||!0===t.additionalProperties)return{type:"object"};if(!1===t.additionalProperties)return{type:"object",properties:{}}}if(t.allOf)throw new Error(`Unexpected allOf in ${e}.`);if(t.anyOf)throw new Error(`Unexpected anyOf in ${e}.`);if((0,i.isPlainObject)(t.properties)||(0,i.isPlainObject)(t.additionalProperties)||(0,i.isPlainObject)(t.items)&&((0,i.isPlainObject)(t.items.properties)||(0,i.isPlainObject)(t.items.additionalProperties)||t.items.oneOf))return function(e,t,r){if(!t||"boolean"===typeof t)throw new Error(`Unexpected schema in ${e}.`);if(t instanceof Array)throw new Error(`Unexpected array schema in ${e}. Try using oneOf instead.`);if("null"===t.type)throw new Error(`Unexpected null schema type in ${e} schema.`);if(t.type instanceof Array)throw new Error(`Unexpected array schema type in ${e} schema. Try using oneOf instead.`);const n={};for(const[i,c]of Object.entries(t.properties||{}
8))n[i]=a(e+"."+i,c,r);let o,s;(0,i.isPlainObject)(t.additionalProperties)&&(o=a(e+"_additionalProperties",t.additionalProperties,r));!0===t.additionalProperties&&(o={});(0,i.isPlainObject)(t.items)&&((0,i.isPlainObject)(t.items.properties)||(0,i.isPlainObject)(t.items.additionalProperties)||t.items.oneOf)&&(s=a(e+"_items",t.items,r));let l=t.required;t.oneOf&&t.oneOf.every(e=>!!e.required)&&(l=e=>{const r=t.oneOf.map(e=>[...t.required||[],...e.required]);let n=r.findIndex(t=>t.every(t=>void 0!==e[t]));return-1===n&&(n=0),r[n]});return r[e]={properties:n,additionalProperties:o,items:s,required:l},e}(e,t,r);if(t.oneOf){if(t.discriminator){const n=t.discriminator?.propertyName;if(!n)throw new Error(`Unexpected discriminator without a propertyName in ${e}.`);const o=t.oneOf.map((t,i)=>{if("boolean"===typeof t)throw new Error(`Unexpected boolean schema in ${e} at position ${i} in oneOf.`);const o=t?.properties?.[n];if(!o||"boolean"===typeof o)throw new Error(`Unexpected property '${o}' schema in ${e} at position ${i} in oneOf.`);return a(o.const,t,r)});return(e,a)=>{if((0,i.isPlainObject)(e)){const t=e[n];if("string"===typeof t&&r[t])return t}return s(t.oneOf,o)(e,a)}}{const n=t.oneOf.map((t,n)=>a(e+"_"+n,t,r));return s(t.oneOf,n)}}return t}},38596(e,t,r){"use strict";t.Oas2Types=void 0;const n=r(84621),i=/^[0-9][0-9Xx]{2}$/,o={properties:{},additionalProperties:(e,t)=>t.startsWith("/")?"PathItem":void 0},s={properties:{name:{type:"string"},in:{type:"string",enum:["query","header","path","formData","body"]},description:{type:"string"},required:{type:"boolean"},schema:"Schema",type:{type:"string",enum:["string","number","integer","boolean","array","file"]},format:{type:"string"},allowEmptyValue:{type:"boolean"},items:"ParameterItems",collectionFormat:{type:"string",enum:["csv","ssv","tsv","pipes","multi"]},default:null,maximum:{type:"integer"},exclusiveMaximum:{type:"boolean"},minimum:{type:"integer"},exclusiveMinimum:{type:"boolean"},maxLength:{type:"integer"},minLength:{type:"integer"},pattern:{type:"string"},maxItems:{type:"integer"},minItems:{type:"integer"},uniqueItems:{type:"boolean"},enum:{type:"array"},multipleOf:{type:"number"},"x-example":{},"x-examples":"ExamplesMap"},required:e=>e&&e.in?"body"===e.in?["name","in","schema"]:"array"===e.type?["name","in","type","items"]:["name","in","type"]:["name","in"],extensionsPrefix:"x-"},a={properties:{type:{type:"string",enum:["string","number","integer","boolean","array"]},format:{type:"string"},items:"ParameterItems",collectionFormat:{type:"string",enum:["csv","ssv","tsv","pipes","multi"]},default:null,maximum:{type:"integer"},exclusiveMaximum:{type:"boolean"},minimum:{type:"integer"},exclusiveMinimum:{type:"boolean"},maxLength:{type:"integer"},minLength:{type:"integer"},pattern:{type:"string"},maxItems:{type:"integer"},minItems:{type:"integer"},uniqueItems:{type:"boolean"},enum:{type:"array"},multipleOf:{type:"number"}},required:e=>e&&"array"===e.type?["type","items"]:["type"],extensionsPrefix:"x-"},l={properties:{default:"Response"},additionalProperties:(e,t)=>i.test(t)?"Response":void 0},c={properties:{description:{type:"string"},schema:"Schema",headers:(0,n.mapOf)("Header"),examples:"Examples","x-summary":{type:"string"}},required:["description"],extensionsPrefix:"x-"},p={properties:{description:{type:"string"},type:{type:"string",enum:["string","number","integer","boolean","array"]},format:{type:"string"},items:"ParameterItems",collectionFormat:{type:"string",enum:["csv","ssv","tsv","pipes","multi"]},default:null,maximum:{type:"integer"},exclusiveMaximum:{type:"boolean"},minimum:{type:"integer"},exclusiveMinimum:{type:"boolean"},maxLength:{type:"integer"},minLength:{type:"integer"},pattern:{type:"string"},maxItems:{type:"integer"},minItems:{type:"integer"},uniqueItems:{type:"boolean"},enum:{type:"array"},multipleOf:{type:"number"}},required:e=>e&&"array"===e.type?["type","items"]:["type"],extensionsPrefix:"x-"},u={properties:{format:{type:"string"},title:{type:"string"},description:{type:"string"},default:null,multipleOf:{type:"number"},maximum:{type:"number"},minimum:{type:"number"},exclusiveMaximum:{type:"boolean"},exclusiveMinimum:{type:"boolean"},maxLength:{type:"number"},minLength:{type:"number"},pattern:{type:"string"},maxItems:{type:"number"},minItems:{type:"number"},uniqueItems:{type:"boolean"},maxProperties:{type:"number"},minProperties:{type:"number"},required:{type:"array",items:{type:"string"}},enum:{type:"array"},type:{type:"string",enum:["object","array","string","number","integer","boolean","null"]},items:e=>Array.isArray(e)?(0,n.listOf)("Schema"):"Schema",allOf:(0,n.listOf)("Schema"),properties:"SchemaProperties",additionalProperties:e=>"boolean"===typeof e?{type:"boolean"}:"Schema",discriminator:{type:"string"},readOnly:{type:"boolean"},xml:"Xml",externalDocs:"ExternalDocs",example:{isExample:!0},"x-tags":{type:"array",items:{type:"string"}},"x-nullable":{type:"boolean"},"x-extendedDiscriminator":{type:"string"},"x-additionalPropertiesName":{type:"string"},"x-explicitMappingOnly":{type:"boolean"},"x-enumDescriptions":"EnumDescriptions"},extensionsPrefix:"x-"},d={properties:{type:{enum:["basic","apiKey","oauth2"]},description:{type:"string"},name:{type:"string"},in:{type:"string",enum:["query","header"]},flow:{enum:["implicit","password","application","accessCode"]},authorizationUrl:{type:"string"},tokenUrl:{type:"string"},scopes:{type:"object",additionalProperties:{type:"string"}},"x-defaultClientId":{type:"string"}},required(e){switch(e?.type){case"apiKey":return["type","name","in"];case"oauth2":switch(e?.flow){case"implicit":return["type","flow","authorizationUrl","scopes"];case"accessCode":return["type","flow","authorizationUrl","tokenUrl","scopes"];case"application":case"password":return["type","flow","tokenUrl","scopes"];default:return["type","flow","scopes"]}default:return["type"]}},allowed(e){switch(e?.type){case"basic":return["type","description"];case"apiKey":return["type","name","in","description"];case"oauth2":switch(e?.flow){case"implicit":return["type","flow","authorizationUrl","description","scopes"];case"accessCode":return["type","flow","authorizationUrl","tokenUrl","description","scopes"];case"application":case"password":return["type","flow","tokenUrl","description","scopes"];default:return["type","flow","tokenUrl","authorizationUrl","description","scopes"]}default:return["type","description"]}},extensionsPrefix:"x-"};t.Oas2Types={Root:{properties:{swagger:{type:"string"},info:"Info",host:{type:"string"},basePath:{type:"string"},schemes:{type:"array",items:{type:"string"}},consumes:{type:"array",items:{type:"string"}},produces:{type:"array",items:{type:"string"}},paths:"Paths",definitions:"NamedSchemas",parameters:"NamedParameters",responses:"NamedResponses",securityDefinitions:"NamedSecuritySchemes",security:"SecurityRequirementList",tags:"TagList",externalDocs:"ExternalDocs","x-servers":"XServerList","x-tagGroups":"TagGroups","x-ignoredHeaderParameters":{type:"array",items:{type:"string"}}},required:["swagger","paths","info"],extensionsPrefix:"x-"},Tag:{properties:{name:{type:"string"},description:{type:"string"},externalDocs:"ExternalDocs","x-traitTag":{type:"boolean"},"x-displayName":{type:"string"}},required:["name"],extensionsPrefix:"x-"},TagList:(0,n.listOf)("Tag"),TagGroups:(0,n.listOf)("TagGroup"),TagGroup:{properties:{name:{type:"string"},tags:{type:"array",items:{type:"string"}}}},ExternalDocs:{properties:{description:{type:"string"},url:{type:"string"}},required:["url"],extensionsPrefix:"x-"},Example:{properties:{value:{isExample:!0},summary:{type:"string"},description:{type:"string"},externalValue:{type:"string"}},extensionsPrefix:"x-"},ExamplesMap:(0,n.mapOf)("Example"),EnumDescriptions:{properties:{},additionalProperties:{type:"string"}},SecurityRequirement:{properties:{},additionalProperties:{type:"array",items:{type:"string"}}},SecurityRequirementList:(0,n.listOf)("SecurityRequirement"),Info:{properties:{title:{type:"string"},description:{type:"string"},termsOfService:{type:"string"},contact:"Contact",license:"License",version:{type:"string"},"x-logo":"Logo"}
8,required:["title","version"],extensionsPrefix:"x-"},Contact:{properties:{name:{type:"string"},url:{type:"string"},email:{type:"string"}},extensionsPrefix:"x-"},License:{properties:{name:{type:"string"},url:{type:"string"}},required:["name"],extensionsPrefix:"x-"},Logo:{properties:{url:{type:"string"},altText:{type:"string"},backgroundColor:{type:"string"},href:{type:"string"}},extensionsPrefix:"x-"},Paths:o,PathItem:{properties:{$ref:{type:"string"},parameters:"ParameterList",get:"Operation",put:"Operation",post:"Operation",delete:"Operation",options:"Operation",head:"Operation",patch:"Operation"},extensionsPrefix:"x-"},Parameter:s,ParameterItems:a,ParameterList:(0,n.listOf)("Parameter"),Operation:{properties:{tags:{type:"array",items:{type:"string"}},summary:{type:"string"},description:{type:"string"},externalDocs:"ExternalDocs",operationId:{type:"string"},consumes:{type:"array",items:{type:"string"}},produces:{type:"array",items:{type:"string"}},parameters:"ParameterList",responses:"Responses",schemes:{type:"array",items:{type:"string"}},deprecated:{type:"boolean"},security:"SecurityRequirementList","x-codeSamples":"XCodeSampleList","x-code-samples":"XCodeSampleList","x-hideTryItPanel":{type:"boolean"}},required:["responses"],extensionsPrefix:"x-"},Examples:{properties:{},additionalProperties:{isExample:!0}},Header:p,Responses:l,Response:c,Schema:u,Xml:{properties:{name:{type:"string"},namespace:{type:"string"},prefix:{type:"string"},attribute:{type:"boolean"},wrapped:{type:"boolean"}},extensionsPrefix:"x-"},SchemaProperties:{properties:{},additionalProperties:"Schema"},NamedSchemas:(0,n.mapOf)("Schema"),NamedResponses:(0,n.mapOf)("Response"),NamedParameters:(0,n.mapOf)("Parameter"),NamedSecuritySchemes:(0,n.mapOf)("SecurityScheme"),SecurityScheme:d,XCodeSample:{properties:{lang:{type:"string"},label:{type:"string"},source:{type:"string"}}},XCodeSampleList:(0,n.listOf)("XCodeSample"),XServerList:(0,n.listOf)("XServer"),XServer:{properties:{url:{type:"string"},description:{type:"string"}},required:["url"]}}},44267(e,t,r){"use strict";t.Oas3Types=t.Discriminator=t.DiscriminatorMapping=t.Xml=t.ExternalDocs=void 0;const n=r(84621),i=r(20146),o=/^[0-9][0-9Xx]{2}$/;t.ExternalDocs={properties:{description:{type:"string"},url:{type:"string"}},required:["url"],extensionsPrefix:"x-"};const s={properties:{},additionalProperties:(e,t)=>t.startsWith("/")?"PathItem":void 0},a={properties:{default:"Response"},additionalProperties:(e,t)=>o.test(t)?"Response":void 0},l={properties:{externalDocs:"ExternalDocs",discriminator:"Discriminator",title:{type:"string"},multipleOf:{type:"number",minimum:0},maximum:{type:"number"},minimum:{type:"number"},exclusiveMaximum:{type:"boolean"},exclusiveMinimum:{type:"boolean"},maxLength:{type:"integer",minimum:0},minLength:{type:"integer",minimum:0},pattern:{type:"string"},maxItems:{type:"integer",minimum:0},minItems:{type:"integer",minimum:0},uniqueItems:{type:"boolean"},maxProperties:{type:"integer",minimum:0},minProperties:{type:"integer",minimum:0},required:{type:"array",items:{type:"string"}},enum:{type:"array"},type:{enum:["object","array","string","number","integer","boolean"]},allOf:(0,n.listOf)("Schema"),anyOf:(0,n.listOf)("Schema"),oneOf:(0,n.listOf)("Schema"),not:"Schema",properties:"SchemaProperties",items:e=>Array.isArray(e)?(0,n.listOf)("Schema"):"Schema",additionalProperties:e=>"boolean"===typeof e?{type:"boolean"}:"Schema",description:{type:"string"},format:{type:"string"},default:null,nullable:{type:"boolean"},readOnly:{type:"boolean"},writeOnly:{type:"boolean"},xml:"Xml",example:{isExample:!0},deprecated:{type:"boolean"},"x-tags":{type:"array",items:{type:"string"}},"x-additionalPropertiesName":{type:"string"},"x-explicitMappingOnly":{type:"boolean"}},extensionsPrefix:"x-"};t.Xml={properties:{name:{type:"string"},namespace:{type:"string"},prefix:{type:"string"},attribute:{type:"boolean"},wrapped:{type:"boolean"}},extensionsPrefix:"x-"};t.DiscriminatorMapping={properties:{},additionalProperties:e=>(0,i.isMappingRef)(e)?{type:"string",directResolveAs:"Schema"}:{type:"string"}},t.Discriminator={properties:{propertyName:{type:"string"},mapping:"DiscriminatorMapping"},required:["propertyName"],extensionsPrefix:"x-"};const c={properties:{type:{enum:["apiKey","http","oauth2","openIdConnect"]},description:{type:"string"},name:{type:"string"},in:{type:"string",enum:["query","header","cookie"]},scheme:{type:"string"},bearerFormat:{type:"string"},flows:"OAuth2Flows",openIdConnectUrl:{type:"string"},"x-defaultClientId":{type:"string"}},required(e){switch(e?.type){case"apiKey":return["type","name","in"];case"http":return["type","scheme"];case"oauth2":return["type","flows"];case"openIdConnect":return["type","openIdConnectUrl"];default:return["type"]}},allowed(e){switch(e?.type){case"apiKey":return["type","name","in","description"];case"http":return["type","scheme","bearerFormat","description"];case"oauth2":return["type","flows","description"];case"openIdConnect":return["type","openIdConnectUrl","description"];default:return["type","description"]}},extensionsPrefix:"x-"};t.Oas3Types={Root:{properties:{openapi:null,info:"Info",servers:"ServerList",security:"SecurityRequirementList",tags:"TagList",externalDocs:"ExternalDocs",paths:"Paths",components:"Components","x-webhooks":"WebhooksMap","x-tagGroups":"TagGroups","x-ignoredHeaderParameters":{type:"array",items:{type:"string"}}},required:["openapi","paths","info"],extensionsPrefix:"x-"},Tag:{properties:{name:{type:"string"},description:{type:"string"},externalDocs:"ExternalDocs","x-traitTag":{type:"boolean"},"x-displayName":{type:"string"}},required:["name"],extensionsPrefix:"x-"},TagList:(0,n.listOf)("Tag"),TagGroups:(0,n.listOf)("TagGroup"),TagGroup:{properties:{name:{type:"string"},tags:{type:"array",items:{type:"string"}}},extensionsPrefix:"x-"},ExternalDocs:t.ExternalDocs,Server:{properties:{url:{type:"string"},description:{type:"string"},variables:"ServerVariablesMap"},required:["url"],extensionsPrefix:"x-"},ServerList:(0,n.listOf)("Server"),ServerVariable:{properties:{enum:{type:"array",items:{type:"string"}},default:{type:"string"},description:{type:"string"}},required:["default"],extensionsPrefix:"x-"},ServerVariablesMap:(0,n.mapOf)("ServerVariable"),SecurityRequirement:{properties:{},additionalProperties:{type:"array",items:{type:"string"}}},SecurityRequirementList:(0,n.listOf)("SecurityRequirement"),Info:{properties:{title:{type:"string"},version:{type:"string"},description:{type:"string"},termsOfService:{type:"string"},contact:"Contact",license:"License","x-logo":"Logo"}
8,required:["title","version"],extensionsPrefix:"x-"},Contact:{properties:{name:{type:"string"},url:{type:"string"},email:{type:"string"}},extensionsPrefix:"x-"},License:{properties:{name:{type:"string"},url:{type:"string"}},required:["name"],extensionsPrefix:"x-"},Paths:s,PathItem:{properties:{$ref:{type:"string"},servers:"ServerList",parameters:"ParameterList",summary:{type:"string"},description:{type:"string"},get:"Operation",put:"Operation",post:"Operation",delete:"Operation",options:"Operation",head:"Operation",patch:"Operation",trace:"Operation"},extensionsPrefix:"x-"},Parameter:{properties:{name:{type:"string"},in:{enum:["query","header","path","cookie"]},description:{type:"string"},required:{type:"boolean"},deprecated:{type:"boolean"},allowEmptyValue:{type:"boolean"},style:{enum:["form","simple","label","matrix","spaceDelimited","pipeDelimited","deepObject"]},explode:{type:"boolean"},allowReserved:{type:"boolean"},schema:"Schema",example:{isExample:!0},examples:"ExamplesMap",content:"MediaTypesMap"},required:["name","in"],requiredOneOf:["schema","content"],extensionsPrefix:"x-"},ParameterList:(0,n.listOf)("Parameter"),Operation:{properties:{tags:{type:"array",items:{type:"string"}},summary:{type:"string"},description:{type:"string"},externalDocs:"ExternalDocs",operationId:{type:"string"},parameters:"ParameterList",security:"SecurityRequirementList",servers:"ServerList",requestBody:"RequestBody",responses:"Responses",deprecated:{type:"boolean"},callbacks:"CallbacksMap","x-codeSamples":"XCodeSampleList","x-code-samples":"XCodeSampleList","x-hideTryItPanel":{type:"boolean"}},required:["responses"],extensionsPrefix:"x-"},Callback:(0,n.mapOf)("PathItem"),CallbacksMap:(0,n.mapOf)("Callback"),RequestBody:{properties:{description:{type:"string"},required:{type:"boolean"},content:"MediaTypesMap"},required:["content"],extensionsPrefix:"x-"},MediaTypesMap:{properties:{},additionalProperties:"MediaType"},MediaType:{properties:{schema:"Schema",example:{isExample:!0},examples:"ExamplesMap",encoding:"EncodingMap"},extensionsPrefix:"x-"},Example:{properties:{value:{isExample:!0},summary:{type:"string"},description:{type:"string"},externalValue:{type:"string"}},extensionsPrefix:"x-"},ExamplesMap:(0,n.mapOf)("Example"),Encoding:{properties:{contentType:{type:"string"},headers:"HeadersMap",style:{enum:["form","simple","label","matrix","spaceDelimited","pipeDelimited","deepObject"]},explode:{type:"boolean"},allowReserved:{type:"boolean"}},extensionsPrefix:"x-"},EncodingMap:(0,n.mapOf)("Encoding"),EnumDescriptions:{properties:{},additionalProperties:{type:"string"}},Header:{properties:{description:{type:"string"},required:{type:"boolean"},deprecated:{type:"boolean"},allowEmptyValue:{type:"boolean"},style:{enum:["form","simple","label","matrix","spaceDelimited","pipeDelimited","deepObject"]},explode:{type:"boolean"},allowReserved:{type:"boolean"},schema:"Schema",example:{isExample:!0},examples:"ExamplesMap",content:"MediaTypesMap"},requiredOneOf:["schema","content"],extensionsPrefix:"x-"},HeadersMap:(0,n.mapOf)("Header"),Responses:a,Response:{properties:{description:{type:"string"},headers:"HeadersMap",content:"MediaTypesMap",links:"LinksMap","x-summary":{type:"string"}},required:["description"],extensionsPrefix:"x-"},Link:{properties:{operationRef:{type:"string"},operationId:{type:"string"},parameters:null,requestBody:null,description:{type:"string"},server:"Server"},extensionsPrefix:"x-"},Logo:{properties:{url:{type:"string"},altText:{type:"string"},backgroundColor:{type:"string"},href:{type:"string"}}},Schema:l,Xml:t.Xml,SchemaProperties:{properties:{},additionalProperties:"Schema"},DiscriminatorMapping:t.DiscriminatorMapping,Discriminator:t.Discriminator,Components:{properties:{parameters:"NamedParameters",schemas:"NamedSchemas",responses:"NamedResponses",examples:"NamedExamples",requestBodies:"NamedRequestBodies",headers:"NamedHeaders",securitySchemes:"NamedSecuritySchemes",links:"NamedLinks",callbacks:"NamedCallbacks"},extensionsPrefix:"x-"},LinksMap:(0,n.mapOf)("Link"),NamedSchemas:(0,n.mapOf)("Schema"),NamedResponses:(0,n.mapOf)("Response"),NamedParameters:(0,n.mapOf)("Parameter"),NamedExamples:(0,n.mapOf)("Example"),NamedRequestBodies:(0,n.mapOf)("RequestBody"),NamedHeaders:(0,n.mapOf)("Header"),NamedSecuritySchemes:(0,n.mapOf)("SecurityScheme"),NamedLinks:(0,n.mapOf)("Link"),NamedCallbacks:(0,n.mapOf)("Callback"),ImplicitFlow:{properties:{refreshUrl:{type:"string"},scopes:{type:"object",additionalProperties:{type:"string"}},authorizationUrl:{type:"string"}},required:["authorizationUrl","scopes"],extensionsPrefix:"x-"},PasswordFlow:{properties:{refreshUrl:{type:"string"},scopes:{type:"object",additionalProperties:{type:"string"}},tokenUrl:{type:"string"}},required:["tokenUrl","scopes"],extensionsPrefix:"x-"},ClientCredentials:{properties:{refreshUrl:{type:"string"},scopes:{type:"object",additionalProperties:{type:"string"}},tokenUrl:{type:"string"}},required:["tokenUrl","scopes"],extensionsPrefix:"x-"},AuthorizationCode:{properties:{refreshUrl:{type:"string"},authorizationUrl:{type:"string"},scopes:{type:"object",additionalProperties:{type:"string"}},tokenUrl:{type:"string"},"x-usePkce":e=>"boolean"===typeof e?{type:"boolean"}:"XUsePkce"},required:["authorizationUrl","tokenUrl","scopes"],extensionsPrefix:"x-"},OAuth2Flows:{properties:{implicit:"ImplicitFlow",password:"PasswordFlow",clientCredentials:"ClientCredentials",authorizationCode:"AuthorizationCode"},extensionsPrefix:"x-"},SecurityScheme:c,XCodeSample:{properties:{lang:{type:"string"},label:{type:"string"},source:{type:"string"}}},XCodeSampleList:(0,n.listOf)("XCodeSample"),XUsePkce:{properties:{disableManualConfiguration:{type:"boolean"},hideClientSecretInput:{type:"boolean"}}},WebhooksMap:{properties:{},additionalProperties:()=>"PathItem"}}},9207(e,t,r){"use strict";
8t.Oas3_1Types=t.DependentRequired=t.SchemaProperties=t.Schema=void 0;const n=r(84621),i=r(44267);t.Schema={properties:{$id:{type:"string"},$anchor:{type:"string"},id:{type:"string"},$schema:{type:"string"},definitions:"NamedSchemas",$defs:"NamedSchemas",$vocabulary:{type:"string"},externalDocs:"ExternalDocs",discriminator:"Discriminator",title:{type:"string"},multipleOf:{type:"number",minimum:0},maximum:{type:"number"},minimum:{type:"number"},exclusiveMaximum:{type:"number"},exclusiveMinimum:{type:"number"},maxLength:{type:"integer",minimum:0},minLength:{type:"integer",minimum:0},pattern:{type:"string"},maxItems:{type:"integer",minimum:0},minItems:{type:"integer",minimum:0},uniqueItems:{type:"boolean"},maxProperties:{type:"integer",minimum:0},minProperties:{type:"integer",minimum:0},required:{type:"array",items:{type:"string"}},enum:{type:"array"},type:e=>Array.isArray(e)?{type:"array",items:{enum:["object","array","string","number","integer","boolean","null"]}}:{enum:["object","array","string","number","integer","boolean","null"]},allOf:(0,n.listOf)("Schema"),anyOf:(0,n.listOf)("Schema"),oneOf:(0,n.listOf)("Schema"),not:"Schema",if:"Schema",then:"Schema",else:"Schema",dependentSchemas:(0,n.mapOf)("Schema"),dependentRequired:"DependentRequired",prefixItems:(0,n.listOf)("Schema"),contains:"Schema",minContains:{type:"integer",minimum:0},maxContains:{type:"integer",minimum:0},patternProperties:"PatternProperties",propertyNames:"Schema",unevaluatedItems:e=>"boolean"===typeof e?{type:"boolean"}:"Schema",unevaluatedProperties:e=>"boolean"===typeof e?{type:"boolean"}:"Schema",summary:{type:"string"},properties:"SchemaProperties",items:e=>"boolean"===typeof e?{type:"boolean"}:"Schema",additionalProperties:e=>"boolean"===typeof e?{type:"boolean"}:"Schema",description:{type:"string"},format:{type:"string"},contentEncoding:{type:"string"},contentMediaType:{type:"string"},contentSchema:"Schema",default:null,readOnly:{type:"boolean"},writeOnly:{type:"boolean"},xml:"Xml",examples:{type:"array"},example:{isExample:!0},deprecated:{type:"boolean"},const:null,$comment:{type:"string"},"x-tags":{type:"array",items:{type:"string"}},$dynamicAnchor:{type:"string"},$dynamicRef:{type:"string"}},extensionsPrefix:"x-"},t.SchemaProperties={properties:{},additionalProperties:e=>"boolean"===typeof e?{type:"boolean"}:"Schema"};const o={properties:{type:{enum:["apiKey","http","oauth2","openIdConnect","mutualTLS"]},description:{type:"string"},name:{type:"string"},in:{type:"string",enum:["query","header","cookie"]},scheme:{type:"string"},bearerFormat:{type:"string"},flows:"OAuth2Flows",openIdConnectUrl:{type:"string"}},required(e){switch(e?.type){case"apiKey":return["type","name","in"];case"http":return["type","scheme"];case"oauth2":return["type","flows"];case"openIdConnect":return["type","openIdConnectUrl"];default:return["type"]}},allowed(e){switch(e?.type){case"apiKey":return["type","name","in","description"];case"http":return["type","scheme","bearerFormat","description"];case"oauth2":switch(e?.flows){case"implicit":return["type","flows","authorizationUrl","refreshUrl","description","scopes"];case"password":case"clientCredentials":return["type","flows","tokenUrl","refreshUrl","description","scopes"];default:return["type","flows","authorizationUrl","refreshUrl","tokenUrl","description","scopes"]}case"openIdConnect":return["type","openIdConnectUrl","description"];default:return["type","description"]}},extensionsPrefix:"x-"};t.DependentRequired={properties:{},additionalProperties:{type:"array",items:{type:"string"}}},t.Oas3_1Types={...i.Oas3Types,Info:{properties:{title:{type:"string"},version:{type:"string"},description:{type:"string"},termsOfService:{type:"string"},summary:{type:"string"},contact:"Contact",license:"License","x-logo":"Logo"},required:["title","version"],extensionsPrefix:"x-"},Root:{properties:{openapi:null,info:"Info",servers:"ServerList",security:"SecurityRequirementList",tags:"TagList",externalDocs:"ExternalDocs",paths:"Paths",webhooks:"WebhooksMap",components:"Components",jsonSchemaDialect:{type:"string"}},required:["openapi","info"],requiredOneOf:["paths","components","webhooks"],extensionsPrefix:"x-"},Schema:t.Schema,SchemaProperties:t.SchemaProperties,PatternProperties:t.SchemaProperties,License:{properties:{name:{type:"string"},url:{type:"string"},identifier:{type:"string"}},required:["name"],extensionsPrefix:"x-"},Components:{properties:{parameters:"NamedParameters",schemas:"NamedSchemas",responses:"NamedResponses",examples:"NamedExamples",requestBodies:"NamedRequestBodies",headers:"NamedHeaders",securitySchemes:"NamedSecuritySchemes",links:"NamedLinks",callbacks:"NamedCallbacks",pathItems:"NamedPathItems"},extensionsPrefix:"x-"},NamedPathItems:(0,n.mapOf)("PathItem"),SecurityScheme:o,Operation:{properties:{tags:{type:"array",items:{type:"string"}},summary:{type:"string"},description:{type:"string"},externalDocs:"ExternalDocs",operationId:{type:"string"},parameters:"ParameterList",security:"SecurityRequirementList",servers:"ServerList",requestBody:"RequestBody",responses:"Responses",deprecated:{type:"boolean"},callbacks:"CallbacksMap","x-codeSamples":"XCodeSampleList","x-code-samples":"XCodeSampleList","x-hideTryItPanel":{type:"boolean"}},extensionsPrefix:"x-"}
8,DependentRequired:t.DependentRequired}},41873(e,t,r){"use strict";t.Overlay1Types=void 0;const n=(0,r(84621).listOf)("Action");t.Overlay1Types={Root:{properties:{overlay:{type:"string"},info:"Info",extends:{type:"string"},actions:"Actions"},required:["overlay","info","actions"],extensionsPrefix:"x-"},Info:{properties:{title:{type:"string"},version:{type:"string"}},required:["title","version"],extensionsPrefix:"x-"},Actions:n,Action:{properties:{target:{type:"string"},description:{type:"string"},update:{},remove:{type:"boolean"}},required:["target"],extensionsPrefix:"x-"}}},92031(e,t,r){"use strict";t.NormalizedConfigTypes=t.QB=void 0;const n=r(22184),i=r(84621),o=r(62166),s=r(30354),a=r(25969),l=r(84621),c=["info-contact","operation-operationId","tag-description","tags-alphabetical","info-license-url","info-license-strict","info-license","no-ambiguous-paths","no-enum-type-mismatch","no-http-verbs-in-paths","no-identical-paths","no-invalid-parameter-examples","no-invalid-schema-examples","no-path-trailing-slash","operation-2xx-response","operation-4xx-response","operation-description","operation-operationId-unique","operation-operationId-url-safe","operation-parameters-unique","operation-singular-tag","operation-summary","operation-tag-defined","parameter-description","path-declaration-must-exist","path-excludes-patterns","path-http-verbs-order","path-not-include-query","path-params-defined","path-parameters-defined","path-segment-plural","paths-kebab-case","required-string-property-missing-min-length","response-contains-header","scalar-property-missing-example","security-defined","spec-strict-refs","no-unresolved-refs","no-required-schema-properties-undefined","no-schema-type-mismatch","boolean-parameter-prefixes","request-mime-type","response-contains-property","response-mime-type","info-contact","operation-operationId","tag-description","tags-alphabetical","info-license-url","info-license-strict","info-license","no-ambiguous-paths","no-enum-type-mismatch","no-http-verbs-in-paths","no-identical-paths","no-invalid-parameter-examples","no-invalid-schema-examples","no-path-trailing-slash","operation-2xx-response","operation-4xx-response","operation-description","operation-operationId-unique","operation-operationId-url-safe","operation-parameters-unique","operation-singular-tag","operation-summary","operation-tag-defined","parameter-description","path-declaration-must-exist","path-excludes-patterns","path-http-verbs-order","path-not-include-query","path-params-defined","path-parameters-defined","path-segment-plural","paths-kebab-case","required-string-property-missing-min-length","response-contains-header","scalar-property-missing-example","security-defined","spec-strict-refs","no-unresolved-refs","no-required-schema-properties-undefined","no-schema-type-mismatch","boolean-parameter-prefixes","component-name-unique","no-empty-servers","no-example-value-and-externalValue","no-invalid-media-type-examples","no-server-example.com","no-server-trailing-slash","no-server-variables-empty-enum","no-undefined-server-variable","no-unused-components","operation-4xx-problem-details-rfc7807","request-mime-type","response-contains-property","response-mime-type","spec-components-invalid-map-name","array-parameter-serialization","info-contact","info-license-strict","operation-operationId","tag-description","tags-alphabetical","channels-kebab-case","no-channel-trailing-slash","info-contact","info-license-strict","operation-operationId","tag-description","tags-alphabetical","channels-kebab-case","no-channel-trailing-slash","sourceDescription-type","workflowId-unique","stepId-unique","sourceDescription-name-unique","sourceDescriptions-not-empty","workflow-dependsOn","parameters-unique","step-onSuccess-unique","step-onFailure-unique","respect-supported-versions","requestBody-replacements-unique","no-criteria-xpath","criteria-unique","info-contact","spec","struct"],p={properties:{extends:{type:"array",items:{type:"string"}},rules:"Rules",oas2Rules:"Rules",oas3_0Rules:"Rules",oas3_1Rules:"Rules",async2Rules:"Rules",arazzo1Rules:"Rules",preprocessors:{type:"object"},oas2Preprocessors:{type:"object"},oas3_0Preprocessors:{type:"object"},oas3_1Preprocessors:{type:"object"},async2Preprocessors:{type:"object"},arazzoPreprocessors:{type:"object"},decorators:{type:"object"},oas2Decorators:{type:"object"},oas3_0Decorators:{type:"object"},oas3_1Decorators:{type:"object"},async2Decorators:{type:"object"},arazzo1Decorators:{type:"object"}}},u=e=>({...e.rootRedoclyConfigSchema,properties:{...e.rootRedoclyConfigSchema.properties,...p.properties,apis:"ConfigApis","features.openapi":"ConfigReferenceDocs","features.mockServer":"ConfigMockServer",organization:{type:"string"},region:{enum:["us","eu"]},telemetry:{enum:["on","off"]},resolve:{properties:{http:"ConfigHTTP",doNotResolveExamples:{type:"boolean"}}},files:{type:"array",items:{type:"string"}}}}),d=e=>({...e["rootRedoclyConfigSchema.apis_additionalProperties"],properties:{...e["rootRedoclyConfigSchema.apis_additionalProperties"]?.properties,labels:{type:"array",items:{type:"string"}},...p.properties,"features.openapi":"ConfigReferenceDocs","features.mockServer":"ConfigMockServer",files:{type:"array",items:{type:"string"}}}}),f={properties:{},additionalProperties:(e,t)=>t.startsWith("rule/")||t.startsWith("assert/")?"string"===typeof e?{enum:["error","warn","off"]}:"Assert":c.includes(t)||(0,s.isCustomRuleId)(t)?"string"===typeof e?{enum:["error","warn","off"]}:"ObjectRule":"metadata-schema"===t||"custom-fields-schema"===t?"Schema":void 0};function h(e){return{properties:{type:{enum:[...new Set(["any",...e,"SpecExtension"])]},property:e=>Array.isArray(e)?{type:"array",items:{type:"string"}}:null===e?null:{type:"string"},filterInParentKeys:{type:"array",items:{type:"string"}},filterOutParentKeys:{type:"array",items:{type:"string"}},matchParentKeys:{type:"string"}},required:["type"]}}const m={properties:{subject:"AssertionDefinitionSubject",assertions:"AssertionDefinitionAssertions",where:(0,i.listOf)("AssertDefinition"),message:{type:"string"},suggest:{type:"array",items:{type:"string"}},severity:{enum:["error","warn","off"]}},required:["subject","assertions"]},g={properties:{beforeInfo:(0,i.listOf)("CommonConfigSidebarLinks"),end:(0,i.listOf)("CommonConfigSidebarLinks")}},y={properties:{main:{type:"string"},light:{type:"string"},dark:{type:"string"},contrastText:{type:"string"}}},b={properties:(0,s.pickObjectProps)(y.properties,["light","dark"])},v={properties:(0,s.omitObjectProps)(y.properties,["dark"])},x={properties:{fontFamily:{type:"string"},fontSize:{type:"string"},fontWeight:{type:"string"},lineHeight:{type:"string"}}},w={properties:{...(0,s.omitObjectProps)(x.properties,["fontSize","lineHeight"]),borderRadius:{type:"string"},hoverStyle:{type:"string"},boxShadow:{type:"string"}
8,hoverBoxShadow:{type:"string"},sizes:"Sizes"}},S={properties:(0,s.pickObjectProps)(x.properties,["fontSize","lineHeight"])},k={properties:{...(0,s.omitObjectProps)(x.properties,["fontSize","lineHeight"]),borderRadius:{type:"string"},color:{type:"string"},sizes:"BadgeSizes"}},O={properties:{subItemsColor:{type:"string"},textTransform:{type:"string"},fontWeight:{type:"string"}}},E={properties:(0,s.pickObjectProps)(O.properties,["textTransform"])},_={properties:{...(0,s.omitObjectProps)(x.properties,["fontWeight","lineHeight"]),activeBgColor:{type:"string"},activeTextColor:{type:"string"},backgroundColor:{type:"string"},borderRadius:{type:"string"},breakPath:{type:"boolean"},caretColor:{type:"string"},caretSize:{type:"string"},groupItems:"GroupItemsConfig",level1items:"Level1Items",rightLineColor:{type:"string"},separatorLabelColor:{type:"string"},showAtBreakpoint:{type:"string"},spacing:"SpacingConfig",textColor:{type:"string"},width:{type:"string"}}},$={properties:{...x.properties,color:{type:"string"},transform:{type:"string"}}},A={properties:{...x.properties,backgroundColor:{type:"string"},color:{type:"string"},wordBreak:{enum:["break-all","break-word","keep-all","normal","revert","unset","inherit","initial"]},wrap:{type:"boolean"}}},P={properties:(0,s.omitObjectProps)(x.properties,["fontSize"])},j={properties:{code:"CodeConfig",fieldName:"FontConfig",...(0,s.pickObjectProps)(x.properties,["fontSize","fontFamily"]),fontWeightBold:{type:"string"},fontWeightLight:{type:"string"},fontWeightRegular:{type:"string"},heading1:"Heading",heading2:"Heading",heading3:"Heading",headings:"HeadingsConfig",lineHeight:{type:"string"},links:"LinksConfig",optimizeSpeed:{type:"boolean"},rightPanelHeading:"Heading",smoothing:{enum:["auto","none","antialiased","subpixel-antialiased","grayscale"]}}},C={properties:{color:{type:"string"},...(0,s.omitObjectProps)(x.properties,["fontWeight"])}},T={properties:{skipOptionalParameters:{type:"boolean"},languages:(0,i.listOf)("ConfigLanguage")},required:["languages"]};function I(e,t){const r=Object.values(o.SpecVersion).flatMap(e=>{const r=t?.styleguide?t.styleguide.extendTypes((0,o.getTypes)(e),e):(0,o.getTypes)(e);return Object.keys(r)}),n=(0,a.getNodeTypesFromJSONSchema)("rootRedoclyConfigSchema",e);return{...N,ConfigRoot:u(n),ConfigApisProperties:d(n),AssertionDefinitionSubject:h(r),...n}}const N={Assert:m,ConfigApis:{properties:{},additionalProperties:"ConfigApisProperties"},ConfigStyleguide:p,ConfigReferenceDocs:{properties:{theme:"ConfigTheme",corsProxyUrl:{type:"string"},ctrlFHijack:{type:"boolean"},defaultSampleLanguage:{type:"string"},disableDeepLinks:{type:"boolean"},disableSearch:{type:"boolean"},disableSidebar:{type:"boolean"},downloadDefinitionUrl:{type:"string"},expandDefaultServerVariables:{type:"boolean"},enumSkipQuotes:{type:"boolean"},expandDefaultRequest:{type:"boolean"},expandDefaultResponse:{type:"boolean"},expandResponses:{type:"string"},expandSingleSchemaField:{type:"boolean"},generateCodeSamples:"GenerateCodeSamples",generatedPayloadSamplesMaxDepth:{type:"number"},hideDownloadButton:{type:"boolean"},hideHostname:{type:"boolean"},hideInfoSection:{type:"boolean"},hideLoading:{type:"boolean"},hideLogo:{type:"boolean"},hideRequestPayloadSample:{type:"boolean"},hideRightPanel:{type:"boolean"},hideSchemaPattern:{type:"boolean"},hideSchemaTitles:{type:"boolean"},hideSingleRequestSampleTab:{type:"boolean"},hideSecuritySection:{type:"boolean"},hideTryItPanel:{type:"boolean"},hideFab:{type:"boolean"},hideOneOfDescription:{type:"boolean"},htmlTemplate:{type:"string"},jsonSampleExpandLevel:e=>"number"===typeof e?{type:"number",minimum:1}:{type:"string"},labels:"ConfigLabels",layout:{enum:["stacked","three-panel"]},maxDisplayedEnumValues:{type:"number"},menuToggle:{type:"boolean"},nativeScrollbars:{type:"boolean"},noAutoAuth:{type:"boolean"},oAuth2RedirectURI:{type:"string"},onDeepLinkClick:{type:"object"},onlyRequiredInSamples:{type:"boolean"},pagination:{enum:["none","section","item"]},pathInMiddlePanel:{type:"boolean"},payloadSampleIdx:{type:"number",minimum:0},requestInterceptor:{type:"object"},requiredPropsFirst:{type:"boolean"},routingBasePath:{type:"string"},routingStrategy:{type:"string"},samplesTabsMaxCount:{type:"number"},schemaExpansionLevel:e=>"number"===typeof e?{type:"number",minimum:0}:{type:"string"},schemaDefinitionsTagName:{type:"string"},minCharacterLengthToInitSearch:{type:"number",minimum:1},maxResponseHeadersToShowInTryIt:{type:"number",minimum:0},scrollYOffset:e=>"number"===typeof e?{type:"number"}:{type:"string"},searchAutoExpand:{type:"boolean"},searchFieldLevelBoost:{type:"number",minimum:0},searchMaxDepth:{type:"number",minimum:1},searchMode:{enum:["default","path-only"]},searchOperationTitleBoost:{type:"number"},searchTagTitleBoost:{type:"number"},sendXUserAgentInTryIt:{type:"boolean"},showChangeLayoutButton:{type:"boolean"},showConsole:{type:"boolean"},showExtensions:e=>"boolean"===typeof e?{type:"boolean"}:{type:"array",items:{type:"string"}},showNextButton:{type:"boolean"},showRightPanelToggle:{type:"boolean"},showSecuritySchemeType:{type:"boolean"},showWebhookVerb:{type:"boolean"},showObjectSchemaExamples:{type:"boolean"},disableTryItRequestUrlEncoding:{type:"boolean"},sidebarLinks:"ConfigSidebarLinks",sideNavStyle:{enum:["summary-only","path-first","id-only","path-only"]},simpleOneOfTypeLabel:{type:"boolean"},sortEnumValuesAlphabetically:{type:"boolean"},sortOperationsAlphabetically:{type:"boolean"},sortPropsAlphabetically:{type:"boolean"},sortTagsAlphabetically:{type:"boolean"},suppressWarnings:{type:"boolean"},unstable_externalDescription:{type:"boolean"},unstable_ignoreMimeParameters:{type:"boolean"},untrustedDefinition:{type:"boolean"},mockServer:{properties:{url:{type:"string"},position:{enum:["first","last","replace","off"]},description:{type:"string"}}},showAccessMode:{type:"boolean"},preserveOriginalExtensionsName:{type:"boolean"},markdownHeadingsAnchorLevel:{type:"number"}},additionalProperties:{}},ConfigMockServer:{properties:{strictExamples:{type:"boolean"},errorIfForcedExampleNotFound:{type:"boolean"}}},ConfigHTTP:{properties:{headers:{type:"array",items:{type:"string"}}}},ConfigLanguage:{properties:{label:{type:"string"},lang:{enum:["curl","C#","Go","Java","Java8+Apache","JavaScript","Node.js","PHP","Python","R","Ruby"]}},required:["lang"]},ConfigLabels:{properties:{enum:{type:"string"},enumSingleValue:{type:"string"},enumArray:{type:"string"},default:{type:"string"},deprecated:{type:"string"},example:{type:"string"},examples:{type:"string"},nullable:{type:"string"},recursive:{type:"string"},arrayOf:{type:"string"},webhook:{type:"string"},authorizations:{type:"string"},tryItAuthBasicUsername:{type:"string"},tryItAuthBasicPassword:{type:"string"}}},ConfigSidebarLinks:g,CommonConfigSidebarLinks:{properties:{label:{type:"string"},link:{type:"string"},target:{type:"string"}},required:["label","link"]},ConfigTheme:{properties:{breakpoints:"Breakpoints",codeBlock:"CodeBlock",colors:"ThemeColors",components:"ConfigThemeComponents",layout:"Layout",logo:"ConfigThemeLogo",fab:"Fab",overrides:"Overrides",rightPanel:"RightPanel",schema:"ConfigThemeSchema",shape:"Shape",sidebar:"Sidebar",spacing:"ThemeSpacing",typography:"Typography",links:{properties:{color:{type:"string"}}},codeSample:{properties:{backgroundColor:{type:"string"}}}}},AssertDefinition:{properties:{subject:"AssertionDefinitionSubject",assertions:"AssertionDefinitionAssertions"},required:["subject","assertions"]},ThemeColors:{properties:{accent:"CommonThemeColors",border:"BorderThemeColors",error:"CommonThemeColors",http:"HttpColors",primary:"CommonThemeColors",responses:"ResponseColors",secondary:"SecondaryColors",success:"CommonThemeColors",text:"TextThemeColors",tonalOffset:{type:"number"},warning:"CommonThemeColors"}},CommonThemeColors:y,BorderThemeColors:b,HttpColors:{properties:{basic:{type:"string"},delete:{type:"string"},get:{type:"string"},head:{type:"string"},link:{type:"string"},options:{type:"string"},patch:{type:"string"},post:{type:"string"},put:{type:"string"}}},ResponseColors:{properties:{error:"CommonColorProps",info:"CommonColorProps",redirect:"CommonColorProps",
8success:"CommonColorProps"}},SecondaryColors:v,TextThemeColors:{properties:{primary:{type:"string"},secondary:{type:"string"},light:{type:"string"}}},Sizes:{properties:{small:"SizeProps",medium:"SizeProps",large:"SizeProps",xlarge:"SizeProps"}},ButtonsConfig:w,CommonColorProps:{properties:{backgroundColor:{type:"string"},borderColor:{type:"string"},color:{type:"string"},tabTextColor:{type:"string"}}},BadgeFontConfig:S,BadgeSizes:{properties:{medium:"BadgeFontConfig",small:"BadgeFontConfig"}},HttpBadgesConfig:k,LabelControls:{properties:{top:{type:"string"},width:{type:"string"},height:{type:"string"}}},Panels:{properties:{borderRadius:{type:"string"},backgroundColor:{type:"string"}}},TryItButton:{properties:{fullWidth:{type:"boolean"}}},Breakpoints:{properties:{small:{type:"string"},medium:{type:"string"},large:{type:"string"}}},StackedConfig:{properties:{maxWidth:"Breakpoints"}},ThreePanelConfig:{properties:{maxWidth:"Breakpoints",middlePanelMaxWidth:"Breakpoints"}},SchemaColorsConfig:{properties:{backgroundColor:{type:"string"},border:{type:"string"}}},SizeProps:{properties:{fontSize:{type:"string"},padding:{type:"string"},minWidth:{type:"string"}}},Level1Items:E,SpacingConfig:{properties:{unit:{type:"number"},paddingHorizontal:{type:"string"},paddingVertical:{type:"string"},offsetTop:{type:"string"},offsetLeft:{type:"string"},offsetNesting:{type:"string"}}},FontConfig:x,CodeConfig:A,HeadingsConfig:P,LinksConfig:{properties:{color:{type:"string"},hover:{type:"string"},textDecoration:{type:"string"},hoverTextDecoration:{type:"string"},visited:{type:"string"}}},TokenProps:C,CodeBlock:{properties:{backgroundColor:{type:"string"},borderRadius:{type:"string"},tokens:"TokenProps"}},ConfigThemeLogo:{properties:{gutter:{type:"string"},maxHeight:{type:"string"},maxWidth:{type:"string"}}},Fab:{properties:{backgroundColor:{type:"string"},color:{type:"string"}}},ButtonOverrides:{properties:{custom:{type:"string"}}},Overrides:{properties:{DownloadButton:"ButtonOverrides",NextSectionButton:"ButtonOverrides"}},ObjectRule:{properties:{severity:{enum:["error","warn","off"]}},additionalProperties:{},required:["severity"]},Schema:{properties:{},additionalProperties:{}},RightPanel:{properties:{backgroundColor:{type:"string"},panelBackgroundColor:{type:"string"},panelControlsBackgroundColor:{type:"string"},showAtBreakpoint:{type:"string"},textColor:{type:"string"},width:{type:"string"}}},Rules:f,Shape:{properties:{borderRadius:{type:"string"}}},ThemeSpacing:{properties:{sectionHorizontal:{type:"number"},sectionVertical:{type:"number"},unit:{type:"number"}}},GenerateCodeSamples:T,GroupItemsConfig:O,ConfigThemeComponents:{properties:{buttons:"ButtonsConfig",httpBadges:"HttpBadgesConfig",layoutControls:"LabelControls",panels:"Panels",tryItButton:"TryItButton",tryItSendButton:"TryItButton"}},Layout:{properties:{showDarkRightPanel:{type:"boolean"},stacked:"StackedConfig","three-panel":"ThreePanelConfig"}},ConfigThemeSchema:{properties:{breakFieldNames:{type:"boolean"},caretColor:{type:"string"},caretSize:{type:"string"},constraints:"SchemaColorsConfig",defaultDetailsWidth:{type:"string"},examples:"SchemaColorsConfig",labelsTextSize:{type:"string"},linesColor:{type:"string"},nestedBackground:{type:"string"},nestingSpacing:{type:"string"},requireLabelColor:{type:"string"},typeNameColor:{type:"string"},typeTitleColor:{type:"string"}}},Sidebar:_,Heading:$,Typography:j,AssertionDefinitionAssertions:{properties:{enum:{type:"array",items:{type:"string"}},pattern:{type:"string"},notPattern:{type:"string"},casing:{enum:["camelCase","kebab-case","snake_case","PascalCase","MACRO_CASE","COBOL-CASE","flatcase"]},mutuallyExclusive:{type:"array",items:{type:"string"}},mutuallyRequired:{type:"array",items:{type:"string"}},required:{type:"array",items:{type:"string"}},requireAny:{type:"array",items:{type:"string"}},disallowed:{type:"array",items:{type:"string"}},defined:{type:"boolean"},nonEmpty:{type:"boolean"},minLength:{type:"integer"},maxLength:{type:"integer"},ref:e=>"string"===typeof e?{type:"string"}:{type:"boolean"},const:e=>"string"===typeof e?{type:"string"}:"number"===typeof e?{type:"number"}:"boolean"===typeof e?{type:"boolean"}:void 0},additionalProperties:(e,t)=>{if(/^\w+\/\w+$/.test(t))return{type:"object"}}}};t.QB=I(n.rootRedoclyConfigSchema),t.NormalizedConfigTypes=(0,l.normalizeTypes)(t.QB)},77241(e,t){"use strict";t.VERSION_PATTERN=void 0,t.VERSION_PATTERN=/^1\.0\.\d+(-.+)?$/},30354(e,t,r){"use strict";t.assignConfig=t.parseYaml=void 0,t.pushStack=function(e,t){return{prev:e,value:t}},t.popStack=function(e){return e?.prev??null},t.isDefined=function(e){return void 0!==e},t.isPlainObject=u,t.isEmptyObject=d,t.readFileFromUrl=async function(e,t){const r={};for(const i of t.headers)f(e,i.matches)&&(r[i.name]=void 0!==i.envVariable?a.env[i.envVariable]||"":i.value);const n=await(t.customFetch||fetch)(e,{headers:r});if(!n.ok)throw new Error(`Failed to load ${e}: ${n.status} ${n.statusText}`);return{body:await n.text(),mimeType:n.headers.get("content-type")}},t.pickObjectProps=function(e,t){return Object.fromEntries(t.filter(t=>t in e).map(t=>[t,e[t]]))},t.omitObjectProps=function(e,t){return Object.fromEntries(Object.entries(e).filter(e=>{let[r]=e;return!t.includes(r)}))},t.slash=function(e){if(/^\\\\\?\\/.test(e))return e;return e.replace(/\\/g,"/")},t.assignOnlyExistingConfig=function(e,t){if(!t)return;for(const r of Object.keys(t))e.hasOwnProperty(r)&&(u(e[r])&&"string"===typeof t[r]?e[r].severity=t[r]:e[r]=t[r])},t.isCustomRuleId=function(e){return e.includes("/")},t.doesYamlFileExist=function(e){return(".yaml"===(0,i.extname)(e)||".yml"===(0,i.extname)(e))&&n?.hasOwnProperty?.("existsSync")&&n.existsSync(e)},t.showWarningForDeprecatedField=function(e,t,r,n){const i=n?`Read more about this change: ${n}`:"";l.logger.warn(`The '${l.colorize.red(e)}' field is deprecated. ${t?`Use ${l.colorize.green(g(t,r))} instead. `:""}${i}\n`)},t.showErrorForDeprecatedField=function(e,t,r){throw new Error(`Do not use '${e}' field. ${t?`Use '${g(t,r)}' instead. `:""}\n`)},t.isTruthy=m,t.identity=function(e){return e},t.nextTick=function(){return new Promise(e=>{setTimeout(e)})},t.dequal=function e(t,r){let n,i;if(t===r)return!0;
8if(t&&r&&(n=t.constructor)===r.constructor){if(n===Date)return t.getTime()===r.getTime();if(n===RegExp)return t.toString()===r.toString();if(n===Array){if((i=t.length)===r.length)for(;i--&&e(t[i],r[i]););return-1===i}if(!n||"object"===typeof t){for(n in i=0,t){if(Object.prototype.hasOwnProperty.call(t,n)&&++i&&!Object.prototype.hasOwnProperty.call(r,n))return!1;if(!(n in r)||!e(t[n],r[n]))return!1}return Object.keys(r).length===i}}return t!==t&&r!==r};const n=r(7411),i=r(53316),o=r(10361),s=r(86337),a=r(62160),l=r(2111),c=(r(93290),r(26732));var p=r(86337);function u(e){return null!==e&&"object"===typeof e&&!Array.isArray(e)}function d(e){return u(e)&&0===Object.keys(e).length}function f(e,t){return t.match(/^https?:\/\//)||(e=e.replace(/^https?:\/\//,"")),o(e,t)}function h(e){return"string"===typeof e}Object.defineProperty(t,"parseYaml",{enumerable:!0,get:function(){return p.parseYaml}});function m(e){return!!e}function g(e,t){return`${"undefined"!==typeof t?`${t}.`:""}${e}`}t.assignConfig=(e,t)=>{if(t)for(const r of Object.keys(t))u(e[r])&&"string"===typeof t[r]?e[r].severity=t[r]:e[r]=t[r]}},15284(e,t,r){"use strict";t.normalizeVisitors=function(e,t){const r={any:{enter:[],leave:[]}};for(const n of Object.keys(t))r[n]={enter:[],leave:[]};r.ref={enter:[],leave:[]};for(const{ruleId:n,severity:i,message:l,visitor:c}of e)a({ruleId:n,severity:i,message:l},c,null);for(const n of Object.keys(r))r[n].enter.sort((e,t)=>t.depth-e.depth),r[n].leave.sort((e,t)=>e.depth-t.depth);return r;function o(e,t,i,s){let a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:[];if(a.includes(t))return;a=[...a,t];const l=new Set;for(const r of Object.values(t.properties))r!==i?"object"===typeof r&&null!==r&&r.name&&l.add(r):c(e,a);t.additionalProperties&&"function"!==typeof t.additionalProperties&&(t.additionalProperties===i?c(e,a):void 0!==t.additionalProperties.name&&l.add(t.additionalProperties)),t.items&&"function"!==typeof t.items&&(t.items===i?c(e,a):void 0!==t.items.name&&l.add(t.items)),t.extensionsPrefix&&l.add(n.SpecExtension);for(const r of Array.from(l.values()))o(e,r,i,s,a);function c(e,t){for(const n of t.slice(1))r[n.name]=r[n.name]||{enter:[],leave:[]},r[n.name].enter.push({...e,visit:()=>{},depth:0,context:{isSkippedLevel:!0,seen:new Set,parent:s}})}}function s(e,t){if(Array.isArray(t)){const r=t.find(t=>e[t])||void 0;return r&&e[r]}return e[t]}function a(e,n,l){let c=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0;const p=Object.keys(t);if(0===c)p.push("any"),p.push("ref");else{if(n.any)throw new Error("any() is allowed only on top level");if(n.ref)throw new Error("ref() is allowed only on top level")}for(const u of p){const p=n[u]||s(n,i[u]),d=r[u];if(!p)continue;let f,h,m;const g="object"===typeof p;if("ref"===u&&g&&p.skip)throw new Error("ref() visitor does not support skip");"function"===typeof p?f=p:g&&(f=p.enter,h=p.leave,m=p.skip);const y={activatedOn:null,type:t[u],parent:l,isSkippedLevel:!1};if("object"===typeof p&&a(e,p,y,c+1),l&&o(e,l.type,t[u],l),f||g){if(f&&"function"!==typeof f)throw new Error("DEV: should be function");d.enter.push({...e,visit:f||(()=>{}),skip:m,depth:c,context:y})}if(h){if("function"!==typeof h)throw new Error("DEV: should be function");d.leave.push({...e,visit:h,depth:c,context:y})}}}};const n=r(84621),i={Root:"DefinitionRoot",ServerVariablesMap:"ServerVariableMap",Paths:["PathMap","PathsMap"],CallbacksMap:"CallbackMap",MediaTypesMap:"MediaTypeMap",ExamplesMap:"ExampleMap",EncodingMap:"EncodingsMap",HeadersMap:"HeaderMap",LinksMap:"LinkMap",OAuth2Flows:"SecuritySchemeFlows",Responses:"ResponsesMap"}},3038(e,t,r){"use strict";t.walkDocument=function(e){const{document:t,rootType:r,normalizedVisitors:l,resolvedRefMap:c,ctx:p}=e,u={},d=new Set;!function e(t,r,f,h,m){const g=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:b.source.absoluteRef;if(!(0,n.isRef)(e))return{location:f,node:e};const r=(0,o.makeRefId)(t,e.$ref),i=c.get(r);if(!i)return{location:void 0,node:void 0};const{resolved:s,node:a,document:l,nodePointer:p,error:u}=i;return{location:s?new n.Location(l.source,p):u instanceof o.YamlParseError?new n.Location(u.source,""):void 0,node:a,error:u}},y=f;let b=f;const{node:v,location:x,error:w}=g(t),S=new Set;if((0,n.isRef)(t)){const e=l.ref.enter;for(const{visit:n,ruleId:i,severity:o,message:s,context:a}of e)S.add(a),n(t,{report:O.bind(void 0,i,o,s),resolve:g,rawNode:t,rawLocation:y,location:f,type:r,parent:h,key:m,parentLocations:{},oasVersion:p.oasVersion,getVisitorData:E.bind(void 0,i)},{node:v,location:x,error:w}
8),x?.source.absoluteRef&&p.refTypes&&p.refTypes.set(x?.source.absoluteRef,r)}if(void 0!==v&&x&&"scalar"!==r.name){b=x;const o=u[r.name]?.has?.(v);let a=!1;const c=l.any.enter.concat(l[r.name]?.enter||[]),p=[];for(const{context:e,visit:n,skip:s,ruleId:l,severity:u,message:O}of c){if(d.has(`${b.absolutePointer}${b.pointer}`))break;if(e.isSkippedLevel)!e.parent.activatedOn||e.parent.activatedOn.value.nextLevelTypeActivated||e.seen.has(t)||(e.seen.add(t),a=!0,p.push(e));else if(e.parent&&e.parent.activatedOn&&e.activatedOn?.value.withParentNode!==e.parent.activatedOn.value.node&&e.parent.activatedOn.value.nextLevelTypeActivated?.value!==r||!e.parent&&!o){p.push(e);const o={node:v,location:x,nextLevelTypeActivated:null,withParentNode:e.parent?.activatedOn?.value.node,skipped:(e.parent?.activatedOn?.value.skipped||s?.(v,m,{location:f,rawLocation:y,resolve:g,rawNode:t}))??!1};e.activatedOn=(0,i.pushStack)(e.activatedOn,o);let c=e.parent;for(;c;)c.activatedOn.value.nextLevelTypeActivated=(0,i.pushStack)(c.activatedOn.value.nextLevelTypeActivated,r),c=c.parent;o.skipped||(a=!0,S.add(e),k(n,v,t,e,l,u,O))}}if(a||!o)if(u[r.name]=u[r.name]||new Set,u[r.name].add(v),Array.isArray(v)){const t=r.items;if(void 0!==t){const r="function"===typeof t;for(let n=0;n<v.length;n++){const i=r?t(v[n],x.child([n]).absolutePointer):t;(0,s.isNamedType)(i)&&e(v[n],i,x.child([n]),v,n)}}}else if("object"===typeof v&&null!==v){const i=Object.keys(r.properties);r.additionalProperties?i.push(...Object.keys(v).filter(e=>!i.includes(e))):r.extensionsPrefix&&i.push(...Object.keys(v).filter(e=>e.startsWith(r.extensionsPrefix))),(0,n.isRef)(t)&&i.push(...Object.keys(t).filter(e=>"$ref"!==e&&!i.includes(e)));for(const o of i){let i=v[o],a=x;void 0===i&&(i=t[o],a=f);let l=r.properties[o];void 0===l&&(l=r.additionalProperties),"function"===typeof l&&(l=l(i,o)),void 0===l&&r.extensionsPrefix&&o.startsWith(r.extensionsPrefix)&&(l=s.SpecExtension),!(0,s.isNamedType)(l)&&l?.directResolveAs&&(l=l.directResolveAs,i={$ref:i}),l&&void 0===l.name&&!1!==l.resolvable&&(l={name:"scalar",properties:{}}),(0,s.isNamedType)(l)&&("scalar"!==l.name||(0,n.isRef)(i))&&e(i,l,a.child([o]),v,o)}}const h=l.any.leave,w=(l[r.name]?.leave||[]).concat(h);for(const e of p.reverse())if(e.isSkippedLevel)e.seen.delete(v);else if(e.activatedOn=(0,i.popStack)(e.activatedOn),e.parent){let t=e.parent;for(;t;)t.activatedOn.value.nextLevelTypeActivated=(0,i.popStack)(t.activatedOn.value.nextLevelTypeActivated),t=t.parent}for(const{context:e,visit:r,ruleId:n,severity:i,message:s}of w)!e.isSkippedLevel&&S.has(e)&&k(r,v,t,e,n,i,s)}if(b=f,(0,n.isRef)(t)){const e=l.ref.leave;for(const{visit:n,ruleId:i,severity:o,context:s,message:a}of e)S.has(s)&&n(t,{report:O.bind(void 0,i,o,a),resolve:g,rawNode:t,rawLocation:y,location:f,type:r,parent:h,key:m,parentLocations:{},oasVersion:p.oasVersion,getVisitorData:E.bind(void 0,i)},{node:v,location:x,error:w})}function k(e,t,n,i,o,s,l){e(t,{report:O.bind(void 0,o,s,l),resolve:g,rawNode:n,location:b,rawLocation:y,type:r,parent:h,key:m,parentLocations:a(i),oasVersion:p.oasVersion,ignoreNextVisitorsOnNode:()=>{d.add(`${b.absolutePointer}${b.pointer}`)},getVisitorData:E.bind(void 0,o)},function(e){const t={};for(;e.parent;)t[e.parent.type.name]=e.parent.activatedOn?.value.node,e=e.parent;return t}(i),i)}function O(e,t,r,n){const i=(n.location?Array.isArray(n.location)?n.location:[n.location]:[{...b,reportOnKey:!1}]).map(e=>({...b,reportOnKey:!1,...e})),o=n.forceSeverity||t;"off"!==o&&p.problems.push({ruleId:n.ruleId||e,severity:o,...n,message:r?r.replace("{{message}}",n.message):n.message,suggest:n.suggest||[],location:i})}function E(e){return p.visitorsData[e]=p.visitorsData[e]||{},p.visitorsData[e]}}(t.parsed,r,new n.Location(t.source,"#/"),void 0,"")};const n=r(20146),i=r(30354),o=r(72839),s=r(84621);function a(e){const t={};for(;e.parent;)e.parent.activatedOn?.value.location&&(t[e.parent.type.name]=e.parent.activatedOn?.value.location),e=e.parent;return t}},95476(e,t,r){"use strict";const n=r(39221),i=r(73219);function o(e,t){return function(){throw new Error("Function yaml."+e+" is removed in js-yaml 4. Use yaml."+t+" instead, which is now safe by default.")}}r(48030),r(20353),r(91445),e.exports.JSON_SCHEMA=r(79778),r(79247),r(73099),e.exports.load=n.load,n.loadAll,e.exports.dump=i.dump,r(41105),e.exports.types={binary:r(7764),float:r(9563),map:r(91071),null:r(15204),pairs:r(92820),set:r(5729),timestamp:r(46601),bool:r(50821),int:r(82492),merge:r(1017),omap:r(89440),seq:r(22590),str:r(9234)},o("safeLoad","load"),o("safeLoadAll","loadAll"),o("safeDump","dump")},34627(e){"use strict";function t(e){return"undefined"===typeof e||null===e}e.exports.isNothing=t,e.exports.isObject=function(e){return"object"===typeof e&&null!==e},e.exports.repeat=function(e,t){let r="";for(let n=0;n<t;n+=1)r+=e;return r},e.exports.isNegativeZero=function(e){return 0===e&&Number.NEGATIVE_INFINITY===1/e}},73219(e,t,r){"use strict";const n=r(34627),i=r(41105),o=r(73099),s=Object.prototype.toString,a=Object.prototype.hasOwnProperty,l=65279,c={0:"\\0",7:"\\a",8:"\\b",9:"\\t",10:"\\n",11:"\\v",12:"\\f",13:"\\r",27:"\\e",34:'\\"',92:"\\\\",133:"\\N",160:"\\_",8232:"\\L",8233:"\\P"},p=["y","Y","yes","Yes","YES","on","On","ON","n","N","no","No","NO","off","Off","OFF"],u=/^[-+]?[0-9_]+(?::[0-9_]+)+(?:\.[0-9_]*)?$/;function d(e){let t,r;const o=e.toString(16).toUpperCase();if(e<=255)t="x",r=2;else if(e<=65535)t="u",r=4;else{if(!(e<=4294967295))throw new i("code point within a string may not be greater than 0xFFFFFFFF");t="U",r=8}return"\\"+t+n.repeat("0",r-o.length)+o}function f(e){this.schema=e.schema||o,this.indent=Math.max(1,e.indent||2),this.noArrayIndent=e.noArrayIndent||!1,this.skipInvalid=e.ski
vendor: 10,300 bytes, line 8
8pInvalid||!1,this.flowLevel=n.isNothing(e.flowLevel)?-1:e.flowLevel,this.styleMap=function(e,t){if(null===t)return{};const r={},n=Object.keys(t);for(let i=0,o=n.length;i<o;i+=1){let o=n[i],s=String(t[o]);"!!"===o.slice(0,2)&&(o="tag:yaml.org,2002:"+o.slice(2));const l=e.compiledTypeMap.fallback[o];l&&a.call(l.styleAliases,s)&&(s=l.styleAliases[s]),r[o]=s}return r}(this.schema,e.styles||null),this.sortKeys=e.sortKeys||!1,this.lineWidth=e.lineWidth||80,this.noRefs=e.noRefs||!1,this.noCompatMode=e.noCompatMode||!1,this.condenseFlow=e.condenseFlow||!1,this.quotingType='"'===e.quotingType?2:1,this.forceQuotes=e.forceQuotes||!1,this.replacer="function"===typeof e.replacer?e.replacer:null,this.implicitTypes=this.schema.compiledImplicit,this.explicitTypes=this.schema.compiledExplicit,this.tag=null,this.result="",this.duplicates=[],this.usedDuplicates=null}function h(e,t){const r=n.repeat(" ",t);let i=0,o="";const s=e.length;for(;i<s;){let t;const n=e.indexOf("\n",i);-1===n?(t=e.slice(i),i=s):(t=e.slice(i,n+1),i=n+1),t.length&&"\n"!==t&&(o+=r),o+=t}return o}function m(e,t){return"\n"+n.repeat(" ",e.indent*t)}function g(e){return 32===e||9===e}function y(e){return e>=32&&e<=126||e>=161&&e<=55295&&8232!==e&&8233!==e||e>=57344&&e<=65533&&e!==l||e>=65536&&e<=1114111}function b(e){return y(e)&&e!==l&&13!==e&&10!==e}function v(e,t,r){const n=b(e),i=n&&!g(e);return(r?n:n&&44!==e&&91!==e&&93!==e&&123!==e&&125!==e)&&35!==e&&!(58===t&&!i)||b(t)&&!g(t)&&35===e||58===t&&i}function x(e,t){const r=e.charCodeAt(t);let n;return r>=55296&&r<=56319&&t+1<e.length&&(n=e.charCodeAt(t+1),n>=56320&&n<=57343)?1024*(r-55296)+n-56320+65536:r}function w(e){return/^\n* /.test(e)}function S(e,t,r,n,i,o,s,a){let c,p=0,u=null,d=!1,f=!1;const h=-1!==n;let m=-1,b=y(S=x(e,0))&&S!==l&&!g(S)&&45!==S&&63!==S&&58!==S&&44!==S&&91!==S&&93!==S&&123!==S&&125!==S&&35!==S&&38!==S&&42!==S&&33!==S&&124!==S&&61!==S&&62!==S&&39!==S&&34!==S&&37!==S&&64!==S&&96!==S&&function(e){return!g(e)&&58!==e}(x(e,e.length-1));var S;if(t||s)for(c=0;c<e.length;p>=65536?c+=2:c++){if(p=x(e,c),!y(p))return 5;b=b&&v(p,u,a),u=p}else{for(c=0;c<e.length;p>=65536?c+=2:c++){if(p=x(e,c),10===p)d=!0,h&&(f=f||c-m-1>n&&" "!==e[m+1],m=c);else if(!y(p))return 5;b=b&&v(p,u,a),u=p}f=f||h&&c-m-1>n&&" "!==e[m+1]}return d||f?r>9&&w(e)?5:s?2===o?5:2:f?4:3:!b||s||i(e)?2===o?5:2:1}function k(e,t,r,n,o){e.dump=function(){if(0===t.length)return 2===e.quotingType?'""':"''";if(!e.noCompatMode&&(-1!==p.indexOf(t)||u.test(t)))return 2===e.quotingType?'"'+t+'"':"'"+t+"'";const s=e.indent*Math.max(1,r),a=-1===e.lineWidth?-1:Math.max(Math.min(e.lineWidth,40),e.lineWidth-s),l=n||e.flowLevel>-1&&r>=e.flowLevel;switch(S(t,l,e.indent,a,function(t){return function(e,t){for(let r=0,n=e.implicitTypes.length;r<n;r+=1)if(e.implicitTypes[r].resolve(t))return!0;return!1}(e,t)},e.quotingType,e.forceQuotes&&!n,o)){case 1:return t;case 2:return"'"+t.replace(/'/g,"''")+"'";case 3:return"|"+O(t,e.indent)+E(h(t,s));case 4:return">"+O(t,e.indent)+E(h(function(e,t){const r=/(\n+)([^\n]*)/g;let n,i,o=function(){let n=e.indexOf("\n");return n=-1!==n?n:e.length,r.lastIndex=n,_(e.slice(0,n),t)}(),s="\n"===e[0]||" "===e[0];for(;i=r.exec(e);){const e=i[1],r=i[2];n=" "===r[0],o+=e+(s||n||""===r?"":"\n")+_(r,t),s=n}return o}(t,a),s));case 5:return'"'+function(e){let t="",r=0;for(let n=0;n<e.length;r>=65536?n+=2:n++){r=x(e,n);const i=c[r];!i&&y(r)?(t+=e[n],r>=65536&&(t+=e[n+1])):t+=i||d(r)}return t}(t)+'"';default:throw new i("impossible error: invalid scalar style")}}()}function O(e,t){const r=w(e)?String(t):"",n="\n"===e[e.length-1];return r+(n&&("\n"===e[e.length-2]||"\n"===e)?"+":n?"":"-")+"\n"}function E(e){return"\n"===e[e.length-1]?e.slice(0,-1):e}function _(e,t){if(""===e||" "===e[0])return e;const r=/ [^ ]/g;let n,i,o=0,s=0,a=0,l="";for(;n=r.exec(e);)a=n.index,a-o>t&&(i=s>o?s:a,l+="\n"+e.slice(o,i),o=i+1),s=a;return l+="\n",e.length-o>t&&s>o?l+=e.slice(o,s)+"\n"+e.slice(s+1):l+=e.slice(o),l.slice(1)}function $(e,t,r,n){let i="";const o=e.tag;for(let s=0,a=r.length;s<a;s+=1){let o=r[s];e.replacer&&(o=e.replacer.call(r,String(s),o)),(P(e,t+1,o,!0,!0,!1,!0)||"undefined"===typeof o&&P(e,t+1,null,!0,!0,!1,!0))&&(n&&""===i||(i+=m(e,t)),e.dump&&10===e.dump.charCodeAt(0)?i+="-":i+="- ",i+=e.dump)}e.tag=o,e.dump=i||"[]"}function A(e,t,r){const n=r?e.explicitTypes:e.implicitTypes;for(let o=0,l=n.length;o<l;o+=1){const l=n[o];if((l.instanceOf||l.predicate)&&(!l.instanceOf||"object"===typeof t&&t instanceof l.instanceOf)&&(!l.predicate||l.predicate(t))){if(r?l.multi&&l.representName?e.tag=l.representName(t):e.tag=l.tag:e.tag="?",l.represent){const r=e.styleMap[l.tag]||l.defaultStyle;let n;if("[object Function]"===s.call(l.represent))n=l.represent(t,r);else{if(!a.call(l.represent,r))throw new i("!<"+l.tag+'> tag resolver accepts not "'+r+'" style');n=l.represent[r](t,r)}e.dump=n}return!0}}return!1}function P(e,t,r,n,o,a,l){e.tag=null,e.dump=r,A(e,r,!1)||A(e,r,!0);const c=s.call(e.dump),p=n;n&&(n=e.flowLevel<0||e.flowLevel>t);const u="[object Object]"===c||"[object Array]"===c;let d,f;if(u&&(d=e.duplicates.indexOf(r),f=-1!==d),(null!==e.tag&&"?"!==e.tag||f||2!==e.indent&&t>0)&&(o=!1),f&&e.usedDuplicates[d])e.dump="*ref_"+d;else{if(u&&f&&!e.usedDuplicates[d]&&(e.usedDuplicates[d]=!0),"[object Object]"===c)n&&0!==Object.keys(e.dump).length?(!function(e,t,r,n){let o="";const s=e.tag,a=Object.keys(r);if(!0===e.sortKeys)a.sort();else if("function"===typeof e.sortKeys)a.sort(e.sortKeys);else if(e.sortKeys)throw new i("sortKeys must be a boolean or a function");for(let i=0,l=a.length;i<l;i+=1){let s="";n&&""===o||(s+=m(e,t));const l=a[i];let c=r[l];if(e.replacer&&(c=e.replacer.call(r,l,c)),!P(e,t+1,l,!0,!0,!0))continue;const p=null!==e.tag&&"?"!==e.tag||e.dump&&e.dump.length>1024;p&&(e.dump&&10===e.dump.charCodeAt(0)?s+="?":s+="? "),s+=e.dump,p&&(s+=m(e,t)),P(e,t+1,c,!0,p)&&(e.dump&&10===e.dump.charCodeAt(0)?s+=":":s+=": ",s+=e.dump,o+=s)}e.tag=s,e.dump=o||"{}"}(e,t,e.dump,o),f&&(e.dump="&ref_"+d+e.dump)):(!function(e,t,r){let n="";const i=e.tag,o=Object.keys(r);for(let s=0,a=o.length;s<a;s+=1){let i="";""!==n&&(i+=", "),e.condenseFlow&&(i+='"');const a=o[s];let l=r[a];e.replacer&&(l=e.replacer.call(r,a,l)),P(e,t,a,!1,!1)&&(e.dump.length>1024&&(i+="? "),i+=e.dump+(e.condenseFlow?'"':"")+":"+(e.condenseFlow?"":" "),P(e,t,l,!1,!1)&&(i+=e.dump,n+=i))}e.tag=i,e.dump="{"+n+"}"}(e,t,e.dump),f&&(e.dump="&ref_"+d+" "+e.dump));else if("[object Array]"===c)n&&0!==e.dump.length?(e.noArrayIndent&&!l&&t>0?$(e,t-1,e.dump,o):$(e,t,e.dump,o),f&&(e.dump="&ref_"+d+e.dump)):(!function(e,t,r){let n="";const i=e.tag;for(let o=0,s=r.length;o<s;o+=1){let i=r[o];e.replacer&&(i=e.replacer.call(r,String(o),i)),(P(e,t,i,!1,!1)||"undefined"===typeof i&&P(e,t,null,!1,!1))&&(""!==n&&(n+=","+(e.condenseFlow?"":" ")),n+=e.dump)}e.tag=i,e.dump="["+n+"]"}(e,t,e.dump),f&&(e.dump="&ref_"+d+" "+e.dump));else{if("[object String]"!==c){if("[object Undefined]"===c)return!1;if(e.skipInvalid)return!1;throw new i("unacceptable kind of an object to dump "+c)}"?"!==e.tag&&k(e,e.dump,t,a,p)}if(null!==e.tag&&"?"!==e.tag){let t=encodeURI("!"===e.tag[0]?e.tag.slice(1):e.tag).replace(/!/g,"%21");t="!"===e.tag[0]?"!"+t:"tag:yaml.org,2002:"===t.slice(0,18)?"!!"+t.slice(18):"!<"+t+">",e.dump=t+" "+e.dump}}return!0}function j(e,t){const r=[],n=[];C(e,r,n);const i=n.length;for(let o=0;o<i;o+=1)t.duplicates.push(r[n[o]]);t.usedDuplicates=new Array(i)}function C(e,t,r){if(null!==e&&"object"===typeof e){const n=t.indexOf(e);if(-1!==n)-1===r.indexOf(n)&&r.push(n);else if(t.push(e),Array.isArray(e))for(let i=0,o=e.length;i<o;i+=1)C(e[i],t,r);else{const n=Object.keys(e);for(let i=0,o=n.length;i<o;i+=1)C(e[n[i]],t,r)}}}e.exports.dump=function(e,t){const r=new f(t=t||{});r.noRefs||j(e,r);let n=e;return r.replacer&&(n=r.replacer.call({"":n},"",n)),P(r,0,n,!0,!0)?r.dump+"\n":""}},41105(e){"use strict";function t(e,t){let r="";const n=e.reason||"(unknown reason)";return e.mark?(e.mark.name&&(r+='in "'+e.mark.name+'" '),r+="("+(e.mark.line+1)+":"+(e.mark.column+1)+")",!t&&e.mark.snippet&&(r+="\n\n"+e.mark.snippet),n+" "+r):n}function r(e,r){Error.call(this),this.name="YAMLException",this.reason=e,this.mark=r,this.message=t(this,!1),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=(new Error).stack||""}r.prototype=Object.create(Error.prototype),r.prototype.constructor=r,r.prototype.toString=function(e){return this.name+": "+t(this,e)},e.exports=r},39221(e,t,r){"use strict";const n=r(34627),i=r(41105),o=r(18841),s=r(73099),a=Object.prototype.hasOwnProperty,l=/[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,c=/[\x85\u2028\u2029]/,p=/[,\[\]{}]/,u=/^(?:!|!!|![0-9A-Za-z-]+!)$/,d=/^(?:!|[^,\[\]{}])(?:%[0-9a-f]{2}|[0-9a-z\-#;/?:@&=+$,_.!~*'()\[\]])*$/i;function f(e){return Object.prototype.toString.call(e)}function h(e){return 10===e||13===e}function m(e){return 9===e||32===e}function g(e){return 9===e||32===e||10===e||13===e}function y(e){return 44===e||91===e||93===e||123===e||125===e}function b(e){if(e>=48&&e<=57)return e-48;const t=32|e;return t>=97&&t<=102?t-97+10:-1}function v(e){return 120===e?2:117===e?4:85===e?8:0}function x(e){return e>=48&&e<=57?e-48:-1}function w(e){switch(e){case 48:return"\0";case 97:return"\x07";case 98:return"\b";case 116:case 9:return"\t";case 110:return"\n";case 118:return"\v";case 102:return"\f";case 114:return"\r";case 101:return"\x1b";case 32:return" ";case 34:return'"';case 47:return"/";case 92:return"\\";case 78:return"\x85";case 95:return"\xa0";case 76:return"\u2028";case 80:return"\u2029";default:return""}}function S(e){return e<=65535?String.fromCharCode(e):String.fromCharCode(55296+(e-65536>>10),56320+(e-65536&1023))}function k(e,t,r){"__proto__"===t?Object.defineProperty(e,t,{configurable:!0,enumerable:!0,writable:!0,value:r}):e[t]=r}const O=new Array(256),E=new Array(256);for(let Y=0;Y<256;Y++)O[Y]=w(Y)?1:0,E[Y]=w(Y);function _(e,t){this.input=e,this.filename=t.filename||null,this.schema=t.schema||s,this.onWarning=t.onWarning||null,this.legacy=t.legacy||!1,this.json=t.json||!1,this.listener=t.listener||null,this.maxDepth="number"===typeof t.maxDepth?t.maxDepth:100,this.maxTotalMergeKeys="number"===typeof t.maxTotalMergeKeys?t.maxTotalMergeKeys:1e4,this.impl
vendor: 9,188 bytes, line 8
8icitTypes=this.schema.compiledImplicit,this.typeMap=this.schema.compiledTypeMap,this.length=e.length,this.position=0,this.line=0,this.lineStart=0,this.lineIndent=0,this.depth=0,this.totalMergeKeys=0,this.firstTabInLine=-1,this.documents=[],this.anchorMapTransactions=[]}function $(e,t){const r={name:e.filename,buffer:e.input.slice(0,-1),position:e.position,line:e.line,column:e.position-e.lineStart};return r.snippet=o(r),new i(t,r)}function A(e,t){throw $(e,t)}function P(e,t){e.onWarning&&e.onWarning.call(null,$(e,t))}function j(e,t,r){const n=e.anchorMapTransactions;if(0!==n.length){const r=n[n.length-1];a.call(r,t)||(r[t]={existed:a.call(e.anchorMap,t),value:e.anchorMap[t]})}e.anchorMap[t]=r}function C(e){return{position:e.position,line:e.line,lineStart:e.lineStart,lineIndent:e.lineIndent,firstTabInLine:e.firstTabInLine,tag:e.tag,anchor:e.anchor,kind:e.kind,result:e.result}}function T(e,t){e.position=t.position,e.line=t.line,e.lineStart=t.lineStart,e.lineIndent=t.lineIndent,e.firstTabInLine=t.firstTabInLine,e.tag=t.tag,e.anchor=t.anchor,e.kind=t.kind,e.result=t.result}const I={YAML:function(e,t,r){null!==e.version&&A(e,"duplication of %YAML directive"),1!==r.length&&A(e,"YAML directive accepts exactly one argument");const n=/^([0-9]+)\.([0-9]+)$/.exec(r[0]);null===n&&A(e,"ill-formed argument of the YAML directive");const i=parseInt(n[1],10),o=parseInt(n[2],10);1!==i&&A(e,"unacceptable YAML version of the document"),e.version=r[0],e.checkLineBreaks=o<2,1!==o&&2!==o&&P(e,"unsupported YAML version of the document")},TAG:function(e,t,r){let n;2!==r.length&&A(e,"TAG directive accepts exactly two arguments");const i=r[0];n=r[1],u.test(i)||A(e,"ill-formed tag handle (first argument) of the TAG directive"),a.call(e.tagMap,i)&&A(e,'there is a previously declared suffix for "'+i+'" tag handle'),d.test(n)||A(e,"ill-formed tag prefix (second argument) of the TAG directive");try{n=decodeURIComponent(n)}catch(o){A(e,"tag prefix is malformed: "+n)}e.tagMap[i]=n}};function N(e,t,r,n){if(t<r){const i=e.input.slice(t,r);if(n)for(let t=0,r=i.length;t<r;t+=1){const r=i.charCodeAt(t);9===r||r>=32&&r<=1114111||A(e,"expected valid JSON character")}else l.test(i)&&A(e,"the stream contains non-printable characters");e.result+=i}}function R(e){e.totalMergeKeys++,-1!==e.maxTotalMergeKeys&&e.totalMergeKeys>e.maxTotalMergeKeys&&A(e,"merge keys exceeded maxTotalMergeKeys ("+e.maxTotalMergeKeys+")")}function L(e,t,r,i){n.isObject(r)||A(e,"cannot merge mappings; the provided source object is unacceptable"),R(e);const o=Object.keys(r);for(let n=0,s=o.length;n<s;n+=1){const s=o[n];R(e),a.call(t,s)||(k(t,s,r[s]),i[s]=!0)}}function D(e,t,r,n,i,o,s,l,c){if(Array.isArray(i))for(let a=0,p=(i=Array.prototype.slice.call(i)).length;a<p;a+=1)Array.isArray(i[a])&&A(e,"nested arrays are not supported inside keys"),"object"===typeof i&&"[object Object]"===f(i[a])&&(i[a]="[object Object]");if("object"===typeof i&&"[object Object]"===f(i)&&(i="[object Object]"),i=String(i),null===t&&(t={}),"tag:yaml.org,2002:merge"===n)if(Array.isArray(o)){o.length>100&&A(e,"abnormal merge sequence size");for(let n=0,i=o.length;n<i;n+=1)L(e,t,o[n],r)}else L(e,t,o,r);else e.json||a.call(r,i)||!a.call(t,i)||(e.line=s||e.line,e.lineStart=l||e.lineStart,e.position=c||e.position,A(e,"duplicated mapping key")),k(t,i,o),delete r[i];return t}function M(e){const t=e.input.charCodeAt(e.position);10===t?e.position++:13===t?(e.position++,10===e.input.charCodeAt(e.position)&&e.position++):A(e,"a line break is expected"),e.line+=1,e.lineStart=e.position,e.firstTabInLine=-1}function z(e,t,r){let n=0,i=e.input.charCodeAt(e.position);for(;0!==i;){for(;m(i);)9===i&&-1===e.firstTabInLine&&(e.firstTabInLine=e.position),i=e.input.charCodeAt(++e.position);if(t&&35===i)do{i=e.input.charCodeAt(++e.position)}while(10!==i&&13!==i&&0!==i);if(!h(i))break;for(M(e),i=e.input.charCodeAt(e.position),n++,e.lineIndent=0;32===i;)e.lineIndent++,i=e.input.charCodeAt(++e.position)}return-1!==r&&0!==n&&e.lineIndent<r&&P(e,"deficient indentation"),n}function F(e){let t=e.position,r=e.input.charCodeAt(t);return!(45!==r&&46!==r||r!==e.input.charCodeAt(t+1)||r!==e.input.charCodeAt(t+2)||(t+=3,r=e.input.charCodeAt(t),0!==r&&!g(r)))}function B(e,t){1===t?e.result+=" ":t>1&&(e.result+=n.repeat("\n",t-1))}function q(e,t){const r=e.tag,n=e.anchor,i=[];let o=!1;if(-1!==e.firstTabInLine)return!1;null!==e.anchor&&j(e,e.anchor,i);let s=e.input.charCodeAt(e.position);for(;0!==s&&(-1!==e.firstTabInLine&&(e.position=e.firstTabInLine,A(e,"tab characters must not be used in indentation")),45===s);){if(!g(e.input.charCodeAt(e.position+1)))break;if(o=!0,e.position++,z(e,!0,-1)&&e.lineIndent<=t){i.push(null),s=e.input.charCodeAt(e.position);continue}const r=e.line;if(Q(e,t,3,!1,!0),i.push(e.result),z(e,!0,-1),s=e.input.charCodeAt(e.position),(e.line===r||e.lineIndent>t)&&0!==s)A(e,"bad indentation of a sequence entry");else if(e.lineIndent<t)break}return!!o&&(e.tag=r,e.anchor=n,e.kind="sequence",e.result=i,!0)}function U(e,t,r){let n,i,o,s;const a=e.tag,l=e.anchor,c={},p=Object.create(null);let u=null,d=null,f=null,h=!1,y=!1;if(-1!==e.firstTabInLine)return!1;null!==e.anchor&&j(e,e.anchor,c);let b=e.input.charCodeAt(e.position);for(;0!==b;){h||-1===e.firstTabInLine||(e.position=e.firstTabInLine,A(e,"tab characters must not be used in indentation"));const v=e.input.charCodeAt(e.position+1),x=e.line;if(63!==b&&58!==b||!g(v)){if(i=e.line,o=e.lineStart,s=e.position,!Q(e,r,2,!1,!0))break;if(e.line===x){for(b=e.input.charCodeAt(e.position);m(b);)b=e.input.charCodeAt(++e.position);if(58===b)b=e.input.charCodeAt(++e.position),g(b)||A(e,"a whitespace character is expected after the key-value separator within a block mapping"),h&&(D(e,c,p,u,d,null,i,o,s),u=d=f=null),y=!0,h=!1,n=!1,u=e.tag,d=e.result;else{if(!y)return e.tag=a,e.anchor=l,!0;A(e,"can not read an implicit mapping pair; a colon is missed")}}else{if(!y)return e.tag=a,e.anchor=l,!0;A(e,"can not read a block mapping entry; a multiline key may not be an implicit key")}}else 63===b?(h&&(D(e,c,p,u,d,null,i,o,s),u=d=f=null),y=!0,h=!0,n=!0):h?(h=!1,n=!0):A(e,"incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"),e.position+=1,b=v;if((e.line===x||e.lineIndent>t)&&(h&&(i=e.line,o=e.lineStart,s=e.position),Q(e,t,4,!0,n)&&(h?d=e.result:f=e.result),h||(D(e,c,p,u,d,f,i,o,s),u=d=f=null),z(e,!0,-1),b=e.input.charCodeAt(e.position)),(e.line===x||e.lineIndent>t)&&0!==b)A(e,"bad indentation of a mapping entry");else if(e.lineIndent<t)break}return h&&D(e,c,p,u,d,null,i,o,s),y&&(e.tag=a,e.anchor=l,e.kind="mapping",e.result=c),y}function V(e){let t,r,n=!1,i=!1,o=e.input.charCodeAt(e.position);if(33!==o)return!1;null!==e.tag&&A(e,"duplication of a tag property"),o=e.input.charCodeAt(++e.position),60===o?(n=!0,o=e.input.charCodeAt(++e.position)):33===o?(i=!0,t="!!",o=e.input.charCodeAt(++e.position)):t="!";let s=e.position;if(n){do{o=e.input.charCodeAt(++e.position)}while(0!==o&&62!==o);e.position<e.length?(r=e.input.slice(s,e.position),o=e.input.charCodeAt(++e.position)):A(e,"unexpected end of the stream within a verbatim tag")}else{for(;0!==o&&!g(o);)33===o&&(i?A(e,"tag suffix cannot contain exclamation marks"):(t=e.input.slice(s-1,e.position+1),u.test(t)||A(e,"named tag handle cannot contain such characters"),i=!0,s=e.position+1)),o=e.input.charCodeAt(++e.position);r=e.input.slice(s,e.position),p.test(r)&&A(e,"tag suffix cannot contain flow indicator characters")}r&&!d.test(r)&&A(e,"tag name cannot contain such characters: "+r);try{r=decodeURIComponent(r)}catch(l){A(e,"tag name is malformed: "+r)}return n?e.tag=r:a.call(e.tagMap,t)?e.tag=e.tagMap[t]+r:"!"===t?e.tag="!"+r:"!!"===t?e.tag="tag:yaml.org,2002:"+r:A(e,'undeclared tag handle "'+t+'"'),!0}function W(e){let t=e.input.charCodeAt(e.position);if(38!==t)return!1;null!==e.anchor&&A(e,"duplication of an anchor property"),t=e.input.charCodeAt(++e.position);const r=e.position;for(;0!==t&&!g(t)&&!y(t);)t=e.input.charCodeAt(++e.position);return e.position===r&&A(e,"name of an anchor node must contain at least one character"),e.anchor=e.input.slice(r,e.position),!0}function H(e,t,r,n){const i=C(e);return function(e){e.anchorMapTransactions.push(Object.create(null))}(e),T(e,t),e.tag=null,e.anchor=null,e.kind=null,e.result=null,U(e,r,n)&&"mapping"===e.kind?(function(e){const t=e.anchorMapTransactions.pop(),r=e.anchorMapTransactions;if(0===r.length)return;const n=r[r.length-1],i=Object.keys(t);for(let o=0,s=i.length;o<s;o+=1){const e=i[o];a.call(n,e)||(n[e]=t[e])}}(e),!0):(function(e){const t=e.anchorMapTransactions.pop(),r=Object.keys(t);for(let n=r.length-1;n>=0;n-=1){const i=t[r[n]];i.existed?e.anchorMap[r[n]]=i.value:delete e.anchorMap[r[n]]}}(e),T(e,i),!1)}function Q(e,t,r,i,o){let s,l,c,p,u,d=1,f=!1,w=!1,k=null;e.depth>=e.maxDepth&&A(e,"nesting exceeded maxDepth ("+e.maxDepth+")"),e.depth+=1,null!==e.listener&&e.listener("open",e),e.tag=null,e.anchor=null,e.kind=null,e.result=null;const _=s=l=4===r||3===r;if(i&&z(e,!0,-1)&&(f=!0,e.lineIndent>t?d=1:e.lineIndent===t?d=0:e.lineIndent<t&&(d=-1)),1===d)for(;;){const r=e.input.charCodeAt(e.position),n=C(e);if(f&&(33===r&&null!==e.tag||38===r&&null!==e.anchor))break;
vendor: 8,035 bytes, line 8
8if(!V(e)&&!W(e))break;null===k&&(k=n),z(e,!0,-1)?(f=!0,l=_,e.lineIndent>t?d=1:e.lineIndent===t?d=0:e.lineIndent<t&&(d=-1)):l=!1}if(l&&(l=f||o),1===d||4===r)if(p=1===r||2===r?t:t+1,u=e.position-e.lineStart,1===d)if(l&&(q(e,u)||U(e,u,p))||function(e,t){let r,n,i,o=!0;const s=e.tag;let a;const l=e.anchor;let c,p,u,d;const f=Object.create(null);let h,m,y,b=e.input.charCodeAt(e.position);if(91===b)c=93,d=!1,a=[];else{if(123!==b)return!1;c=125,d=!0,a={}}for(null!==e.anchor&&j(e,e.anchor,a),b=e.input.charCodeAt(++e.position);0!==b;){if(z(e,!0,t),b=e.input.charCodeAt(e.position),b===c)return e.position++,e.tag=s,e.anchor=l,e.kind=d?"mapping":"sequence",e.result=a,!0;o?44===b&&A(e,"expected the node content, but found ','"):A(e,"missed comma between flow collection entries"),m=h=y=null,p=u=!1,63===b&&g(e.input.charCodeAt(e.position+1))&&(p=u=!0,e.position++,z(e,!0,t)),r=e.line,n=e.lineStart,i=e.position,Q(e,t,1,!1,!0),m=e.tag,h=e.result,z(e,!0,t),b=e.input.charCodeAt(e.position),!u&&e.line!==r||58!==b||(p=!0,b=e.input.charCodeAt(++e.position),z(e,!0,t),Q(e,t,1,!1,!0),y=e.result),d?D(e,a,f,m,h,y,r,n,i):p?a.push(D(e,null,f,m,h,y,r,n,i)):a.push(h),z(e,!0,t),b=e.input.charCodeAt(e.position),44===b?(o=!0,b=e.input.charCodeAt(++e.position)):o=!1}A(e,"unexpected end of the stream within a flow collection")}(e,p))w=!0;else{const t=e.input.charCodeAt(e.position);null!==k&&_&&!l&&124!==t&&62!==t&&H(e,k,k.position-k.lineStart,p)||s&&function(e,t){let r,i,o=1,s=!1,a=!1,l=t,c=0,p=!1,u=e.input.charCodeAt(e.position);if(124===u)r=!1;else{if(62!==u)return!1;r=!0}for(e.kind="scalar",e.result="";0!==u;)if(u=e.input.charCodeAt(++e.position),43===u||45===u)1===o?o=43===u?3:2:A(e,"repeat of a chomping mode identifier");else{if(!((i=x(u))>=0))break;0===i?A(e,"bad explicit indentation width of a block scalar; it cannot be less than one"):a?A(e,"repeat of an indentation width identifier"):(l=t+i-1,a=!0)}if(m(u)){do{u=e.input.charCodeAt(++e.position)}while(m(u));if(35===u)do{u=e.input.charCodeAt(++e.position)}while(!h(u)&&0!==u)}for(;0!==u;){for(M(e),e.lineIndent=0,u=e.input.charCodeAt(e.position);(!a||e.lineIndent<l)&&32===u;)e.lineIndent++,u=e.input.charCodeAt(++e.position);if(!a&&e.lineIndent>l&&(l=e.lineIndent),h(u)){c++;continue}if(a||0!==l||A(e,"missing indentation for block scalar"),e.lineIndent<l){3===o?e.result+=n.repeat("\n",s?1+c:c):1===o&&s&&(e.result+="\n");break}r?m(u)?(p=!0,e.result+=n.repeat("\n",s?1+c:c)):p?(p=!1,e.result+=n.repeat("\n",c+1)):0===c?s&&(e.result+=" "):e.result+=n.repeat("\n",c):e.result+=n.repeat("\n",s?1+c:c),s=!0,a=!0,c=0;const t=e.position;for(;!h(u)&&0!==u;)u=e.input.charCodeAt(++e.position);N(e,t,e.position,!1)}return!0}(e,p)||function(e,t){let r,n,i=e.input.charCodeAt(e.position);if(39!==i)return!1;for(e.kind="scalar",e.result="",e.position++,r=n=e.position;0!==(i=e.input.charCodeAt(e.position));)if(39===i){if(N(e,r,e.position,!0),i=e.input.charCodeAt(++e.position),39!==i)return!0;r=e.position,e.position++,n=e.position}else h(i)?(N(e,r,n,!0),B(e,z(e,!1,t)),r=n=e.position):e.position===e.lineStart&&F(e)?A(e,"unexpected end of the document within a single quoted scalar"):(e.position++,m(i)||(n=e.position));A(e,"unexpected end of the stream within a single quoted scalar")}(e,p)||function(e,t){let r,n,i,o=e.input.charCodeAt(e.position);if(34!==o)return!1;for(e.kind="scalar",e.result="",e.position++,r=n=e.position;0!==(o=e.input.charCodeAt(e.position));){if(34===o)return N(e,r,e.position,!0),e.position++,!0;if(92===o){if(N(e,r,e.position,!0),o=e.input.charCodeAt(++e.position),h(o))z(e,!1,t);else if(o<256&&O[o])e.result+=E[o],e.position++;else if((i=v(o))>0){let t=i,r=0;for(;t>0;t--)o=e.input.charCodeAt(++e.position),(i=b(o))>=0?r=(r<<4)+i:A(e,"expected hexadecimal character");e.result+=S(r),e.position++}else A(e,"unknown escape sequence");r=n=e.position}else h(o)?(N(e,r,n,!0),B(e,z(e,!1,t)),r=n=e.position):e.position===e.lineStart&&F(e)?A(e,"unexpected end of the document within a double quoted scalar"):(e.position++,m(o)||(n=e.position))}A(e,"unexpected end of the stream within a double quoted scalar")}(e,p)?w=!0:!function(e){let t=e.input.charCodeAt(e.position);if(42!==t)return!1;t=e.input.charCodeAt(++e.position);const r=e.position;for(;0!==t&&!g(t)&&!y(t);)t=e.input.charCodeAt(++e.position);e.position===r&&A(e,"name of an alias node must contain at least one character");const n=e.input.slice(r,e.position);return a.call(e.anchorMap,n)||A(e,'unidentified alias "'+n+'"'),e.result=e.anchorMap[n],z(e,!0,-1),!0}(e)?function(e,t,r){let n,i,o,s,a,l;const c=e.kind,p=e.result;let u=e.input.charCodeAt(e.position);if(g(u)||y(u)||35===u||38===u||42===u||33===u||124===u||62===u||39===u||34===u||37===u||64===u||96===u)return!1;if(63===u||45===u){const t=e.input.charCodeAt(e.position+1);if(g(t)||r&&y(t))return!1}for(e.kind="scalar",e.result="",n=i=e.position,o=!1;0!==u;){if(58===u){const t=e.input.charCodeAt(e.position+1);if(g(t)||r&&y(t))break}else if(35===u){if(g(e.input.charCodeAt(e.position-1)))break}else{if(e.position===e.lineStart&&F(e)||r&&y(u))break;if(h(u)){if(s=e.line,a=e.lineStart,l=e.lineIndent,z(e,!1,-1),e.lineIndent>=t){o=!0,u=e.input.charCodeAt(e.position);continue}e.position=i,e.line=s,e.lineStart=a,e.lineIndent=l;break}}o&&(N(e,n,i,!1),B(e,e.line-s),n=i=e.position,o=!1),m(u)||(i=e.position+1),u=e.input.charCodeAt(++e.position)}return N(e,n,i,!1),!!e.result||(e.kind=c,e.result=p,!1)}(e,p,1===r)&&(w=!0,null===e.tag&&(e.tag="?")):(w=!0,null===e.tag&&null===e.anchor||A(e,"alias node should not have any properties")),null!==e.anchor&&j(e,e.anchor,e.result)}else 0===d&&(w=l&&q(e,u));if(null===e.tag)null!==e.anchor&&j(e,e.anchor,e.result);else if("?"===e.tag){null!==e.result&&"scalar"!==e.kind&&A(e,'unacceptable node kind for !<?> tag; it should be "scalar", not "'+e.kind+'"');for(let t=0,r=e.implicitTypes.length;t<r;t+=1)if(c=e.implicitTypes[t],c.resolve(e.result)){e.result=c.construct(e.result),e.tag=c.tag,null!==e.anchor&&j(e,e.anchor,e.result);break}}else if("!"!==e.tag){if(a.call(e.typeMap[e.kind||"fallback"],e.tag))c=e.typeMap[e.kind||"fallback"][e.tag];else{c=null;const t=e.typeMap.multi[e.kind||"fallback"];for(let r=0,n=t.length;r<n;r+=1)if(e.tag.slice(0,t[r].tag.length)===t[r].tag){c=t[r];break}}c||A(e,"unknown tag !<"+e.tag+">"),null!==e.result&&c.kind!==e.kind&&A(e,"unacceptable node kind for !<"+e.tag+'> tag; it should be "'+c.kind+'", not "'+e.kind+'"'),c.resolve(e.result,e.tag)?(e.result=c.construct(e.result,e.tag),null!==e.anchor&&j(e,e.anchor,e.result)):A(e,"cannot resolve a node with !<"+e.tag+"> explicit tag")}return null!==e.listener&&e.listener("close",e),e.depth-=1,null!==e.tag||null!==e.anchor||w}function G(e){const t=e.position;let r,n=!1;for(e.version=null,e.checkLineBreaks=e.legacy,e.tagMap=Object.create(null),e.anchorMap=Object.create(null);0!==(r=e.input.charCodeAt(e.position))&&(z(e,!0,-1),r=e.input.charCodeAt(e.position),!(e.lineIndent>0||37!==r));){n=!0,r=e.input.charCodeAt(++e.position);let t=e.position;for(;0!==r&&!g(r);)r=e.input.charCodeAt(++e.position);const i=e.input.slice(t,e.position),o=[];for(i.length<1&&A(e,"directive name must not be less than one character in length");0!==r;){for(;m(r);)r=e.input.charCodeAt(++e.position);if(35===r){do{r=e.input.charCodeAt(++e.position)}while(0!==r&&!h(r));break}if(h(r))break;for(t=e.position;0!==r&&!g(r);)r=e.input.charCodeAt(++e.position);o.push(e.input.slice(t,e.position))}0!==r&&M(e),a.call(I,i)?I[i](e,i,o):P(e,'unknown document directive "'+i+'"')}z(e,!0,-1),0===e.lineIndent&&45===e.input.charCodeAt(e.position)&&45===e.input.charCodeAt(e.position+1)&&45===e.input.charCodeAt(e.position+2)?(e.position+=3,z(e,!0,-1)):n&&A(e,"directives end mark is expected"),Q(e,e.lineIndent-1,4,!1,!0),z(e,!0,-1),e.checkLineBreaks&&c.test(e.input.slice(t,e.position))&&P(e,"non-ASCII line breaks are interpreted as content"),e.documents.push(e.result),e.position===e.lineStart&&F(e)?46===e.input.charCodeAt(e.position)&&(e.position+=3,z(e,!0,-1)):e.position<e.length-1&&A(e,"end of the stream or a document separator is expected")}
8function K(e,t){t=t||{},0!==(e=String(e)).length&&(10!==e.charCodeAt(e.length-1)&&13!==e.charCodeAt(e.length-1)&&(e+="\n"),65279===e.charCodeAt(0)&&(e=e.slice(1)));const r=new _(e,t),n=e.indexOf("\0");for(-1!==n&&(r.position=n,A(r,"null byte is not allowed in input")),r.input+="\0";32===r.input.charCodeAt(r.position);)r.lineIndent+=1,r.position+=1;for(;r.position<r.length-1;)G(r);return r.documents}e.exports.loadAll=function(e,t,r){null!==t&&"object"===typeof t&&"undefined"===typeof r&&(r=t,t=null);const n=K(e,r);if("function"!==typeof t)return n;for(let i=0,o=n.length;i<o;i+=1)t(n[i])},e.exports.load=function(e,t){const r=K(e,t);if(0!==r.length){if(1===r.length)return r[0];throw new i("expected a single document in the stream, but found more")}}},20353(e,t,r){"use strict";const n=r(41105),i=r(48030);function o(e,t){const r=[];return e[t].forEach(function(e){let t=r.length;r.forEach(function(r,n){r.tag===e.tag&&r.kind===e.kind&&r.multi===e.multi&&(t=n)}),r[t]=e}),r}function s(e){return this.extend(e)}s.prototype.extend=function(e){let t=[],r=[];if(e instanceof i)r.push(e);else if(Array.isArray(e))r=r.concat(e);else{if(!e||!Array.isArray(e.implicit)&&!Array.isArray(e.explicit))throw new n("Schema.extend argument should be a Type, [ Type ], or a schema definition ({ implicit: [...], explicit: [...] })");e.implicit&&(t=t.concat(e.implicit)),e.explicit&&(r=r.concat(e.explicit))}t.forEach(function(e){if(!(e instanceof i))throw new n("Specified list of YAML types (or a single Type object) contains a non-Type object.");if(e.loadKind&&"scalar"!==e.loadKind)throw new n("There is a non-scalar type in the implicit list of a schema. Implicit resolving of such types is not supported.");if(e.multi)throw new n("There is a multi type in the implicit list of a schema. Multi tags can only be listed as explicit.")}),r.forEach(function(e){if(!(e instanceof i))throw new n("Specified list of YAML types (or a single Type object) contains a non-Type object.")});const a=Object.create(s.prototype);return a.implicit=(this.implicit||[]).concat(t),a.explicit=(this.explicit||[]).concat(r),a.compiledImplicit=o(a,"implicit"),a.compiledExplicit=o(a,"explicit"),a.compiledTypeMap=function(){const e={scalar:{},sequence:{},mapping:{},fallback:{},multi:{scalar:[],sequence:[],mapping:[],fallback:[]}};function t(t){t.multi?(e.multi[t.kind].push(t),e.multi.fallback.push(t)):e[t.kind][t.tag]=e.fallback[t.tag]=t}for(let r=0,n=arguments.length;r<n;r+=1)arguments[r].forEach(t);return e}(a.compiledImplicit,a.compiledExplicit),a},e.exports=s},79247(e,t,r){"use strict";e.exports=r(79778)},73099(e,t,r){"use strict";e.exports=r(79247).extend({implicit:[r(46601),r(1017)],explicit:[r(7764),r(89440),r(92820),r(5729)]})},91445(e,t,r){"use strict";const n=r(20353);e.exports=new n({explicit:[r(9234),r(22590),r(91071)]})},79778(e,t,r){"use strict";e.exports=r(91445).extend({implicit:[r(15204),r(50821),r(82492),r(9563)]})},18841(e,t,r){"use strict";const n=r(34627);function i(e,t,r,n,i){let o="",s="";const a=Math.floor(i/2)-1;return n-t>a&&(o=" ... ",t=n-a+o.length),r-n>a&&(s=" ...",r=n+a-s.length),{str:o+e.slice(t,r).replace(/\t/g,"\u2192")+s,pos:n-t+o.length}}function o(e,t){return n.repeat(" ",t-e.length)+e}e.exports=function(e,t){if(t=Object.create(t||null),!e.buffer)return null;t.maxLength||(t.maxLength=79),"number"!==typeof t.indent&&(t.indent=1),"number"!==typeof t.linesBefore&&(t.linesBefore=3),"number"!==typeof t.linesAfter&&(t.linesAfter=2);const r=/\r?\n|\r|\0/g,s=[0],a=[];let l,c=-1;for(;l=r.exec(e.buffer);)a.push(l.index),s.push(l.index+l[0].length),e.position<=l.index&&c<0&&(c=s.length-2);c<0&&(c=s.length-1);let p="";const u=Math.min(e.line+t.linesAfter,a.length).toString().length,d=t.maxLength-(t.indent+u+3);for(let h=1;h<=t.linesBefore&&!(c-h<0);h++){const r=i(e.buffer,s[c-h],a[c-h],e.position-(s[c]-s[c-h]),d);p=n.repeat(" ",t.indent)+o((e.line-h+1).toString(),u)+" | "+r.str+"\n"+p}const f=i(e.buffer,s[c],a[c],e.position,d);p+=n.repeat(" ",t.indent)+o((e.line+1).toString(),u)+" | "+f.str+"\n",p+=n.repeat("-",t.indent+u+3+f.pos)+"^\n";for(let h=1;h<=t.linesAfter&&!(c+h>=a.length);h++){const r=i(e.buffer,s[c+h],a[c+h],e.position-(s[c]-s[c+h]),d);p+=n.repeat(" ",t.indent)+o((e.line+h+1).toString(),u)+" | "+r.str+"\n"}return p.replace(/\n$/,"")}},48030(e,t,r){"use strict";const n=r(41105),i=["kind","multi","resolve","construct","instanceOf","predicate","represent","representName","defaultStyle","styleAliases"],o=["scalar","sequence","mapping"];e.exports=function(e,t){if(t=t||{},Object.keys(t).forEach(function(t){if(-1===i.indexOf(t))throw new n('Unknown option "'+t+'" is met in definition of "'+e+'" YAML type.')}),this.options=t,this.tag=e,this.kind=t.kind||null,this.resolve=t.resolve||function(){return!0},this.construct=t.construct||function(e){return e},this.instanceOf=t.instanceOf||null,this.predicate=t.predicate||null,this.represent=t.represent||null,this.representName=t.representName||null,this.defaultStyle=t.defaultStyle||null,this.multi=t.multi||!1,this.styleAliases=function(e){const t={};return null!==e&&Object.keys(e).forEach(function(r){e[r].forEach(function(e){t[String(e)]=r})}),t}(t.styleAliases||null),-1===o.indexOf(this.kind))throw new n('Unknown kind "'+this.kind+'" is specified for "'+e+'" YAML type.')}},7764(e,t,r){"use strict";const n=r(48030),i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789
8+/=\n\r";e.exports=new n("tag:yaml.org,2002:binary",{kind:"scalar",resolve:function(e){if(null===e)return!1;let t=0;const r=e.length,n=i;for(let i=0;i<r;i++){const r=n.indexOf(e.charAt(i));if(!(r>64)){if(r<0)return!1;t+=6}}return t%8===0},construct:function(e){const t=e.replace(/[\r\n=]/g,""),r=t.length,n=i;let o=0;const s=[];for(let i=0;i<r;i++)i%4===0&&i&&(s.push(o>>16&255),s.push(o>>8&255),s.push(255&o)),o=o<<6|n.indexOf(t.charAt(i));const a=r%4*6;return 0===a?(s.push(o>>16&255),s.push(o>>8&255),s.push(255&o)):18===a?(s.push(o>>10&255),s.push(o>>2&255)):12===a&&s.push(o>>4&255),new Uint8Array(s)},predicate:function(e){return"[object Uint8Array]"===Object.prototype.toString.call(e)},represent:function(e){let t="",r=0;const n=e.length,o=i;for(let i=0;i<n;i++)i%3===0&&i&&(t+=o[r>>18&63],t+=o[r>>12&63],t+=o[r>>6&63],t+=o[63&r]),r=(r<<8)+e[i];const s=n%3;return 0===s?(t+=o[r>>18&63],t+=o[r>>12&63],t+=o[r>>6&63],t+=o[63&r]):2===s?(t+=o[r>>10&63],t+=o[r>>4&63],t+=o[r<<2&63],t+=o[64]):1===s&&(t+=o[r>>2&63],t+=o[r<<4&63],t+=o[64],t+=o[64]),t}})},50821(e,t,r){"use strict";const n=r(48030);e.exports=new n("tag:yaml.org,2002:bool",{kind:"scalar",resolve:function(e){if(null===e)return!1;const t=e.length;return 4===t&&("true"===e||"True"===e||"TRUE"===e)||5===t&&("false"===e||"False"===e||"FALSE"===e)},construct:function(e){return"true"===e||"True"===e||"TRUE"===e},predicate:function(e){return"[object Boolean]"===Object.prototype.toString.call(e)},represent:{lowercase:function(e){return e?"true":"false"},uppercase:function(e){return e?"TRUE":"FALSE"},camelcase:function(e){return e?"True":"False"}},defaultStyle:"lowercase"})},9563(e,t,r){"use strict";const n=r(34627),i=r(48030),o=new RegExp("^(?:[-+]?(?:[0-9]+)(?:\\.[0-9]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$"),s=new RegExp("^(?:[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$");const a=/^[-+]?[0-9]+e/;e.exports=new i("tag:yaml.org,2002:float",{kind:"scalar",resolve:function(e){return null!==e&&(!!o.test(e)&&(!!isFinite(parseFloat(e,10))||s.test(e)))},construct:function(e){let t=e.toLowerCase();const r="-"===t[0]?-1:1;return"+-".indexOf(t[0])>=0&&(t=t.slice(1)),".inf"===t?1===r?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY:".nan"===t?NaN:r*parseFloat(t,10)},predicate:function(e){return"[object Number]"===Object.prototype.toString.call(e)&&(e%1!==0||n.isNegativeZero(e))},represent:function(e,t){if(isNaN(e))switch(t){case"lowercase":return".nan";case"uppercase":return".NAN";case"camelcase":return".NaN"}else if(Number.POSITIVE_INFINITY===e)switch(t){case"lowercase":return".inf";case"uppercase":return".INF";case"camelcase":return".Inf"}else if(Number.NEGATIVE_INFINITY===e)switch(t){case"lowercase":return"-.inf";case"uppercase":return"-.INF";case"camelcase":return"-.Inf"}else if(n.isNegativeZero(e))return"-0.0";const r=e.toString(10);return a.test(r)?r.replace("e",".e"):r},defaultStyle:"lowercase"})},82492(e,t,r){"use strict";const n=r(34627),i=r(48030);function o(e){return e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102}function s(e){return e>=48&&e<=55}function a(e){return e>=48&&e<=57}function l(e){let t=e,r=1,n=t[0];if("-"!==n&&"+"!==n||("-"===n&&(r=-1),t=t.slice(1),n=t[0]),"0"===t)return 0;if("0"===n){if("b"===t[1])return r*parseInt(t.slice(2),2);if("x"===t[1])return r*parseInt(t.slice(2),16);if("o"===t[1])return r*parseInt(t.slice(2),8)}return r*parseInt(t,10)}e.exports=new i("tag:yaml.org,2002:int",{kind:"scalar",resolve:function(e){if(null===e)return!1;const t=e.length;let r=0,n=!1;if(!t)return!1;let i=e[r];if("-"!==i&&"+"!==i||(i=e[++r]),"0"===i){if(r+1===t)return!0;if(i=e[++r],"b"===i){for(r++;r<t;r++){if(i=e[r],"0"!==i&&"1"!==i)return!1;n=!0}return n&&isFinite(l(e))}if("x"===i){for(r++;r<t;r++){if(!o(e.charCodeAt(r)))return!1;n=!0}return n&&isFinite(l(e))}if("o"===i){for(r++;r<t;r++){if(!s(e.charCodeAt(r)))return!1;n=!0}return n&&isFinite(l(e))}}for(;r<t;r++){if(!a(e.charCodeAt(r)))return!1;n=!0}return!!n&&isFinite(l(e))},construct:function(e){return l(e)},predicate:function(e){return"[object Number]"===Object.prototype.toString.call(e)&&e%1===0&&!n.isNegativeZero(e)},represent:{binary:function(e){return e>=0?"0b"+e.toString(2):"-0b"+e.toString(2).slice(1)},octal:function(e){return e>=0?"0o"+e.toString(8):"-0o"+e.toString(8).slice(1)}
8,decimal:function(e){return e.toString(10)},hexadecimal:function(e){return e>=0?"0x"+e.toString(16).toUpperCase():"-0x"+e.toString(16).toUpperCase().slice(1)}},defaultStyle:"decimal",styleAliases:{binary:[2,"bin"],octal:[8,"oct"],decimal:[10,"dec"],hexadecimal:[16,"hex"]}})},91071(e,t,r){"use strict";const n=r(48030);e.exports=new n("tag:yaml.org,2002:map",{kind:"mapping",construct:function(e){return null!==e?e:{}}})},1017(e,t,r){"use strict";const n=r(48030);e.exports=new n("tag:yaml.org,2002:merge",{kind:"scalar",resolve:function(e){return"<<"===e||null===e}})},15204(e,t,r){"use strict";const n=r(48030);e.exports=new n("tag:yaml.org,2002:null",{kind:"scalar",resolve:function(e){if(null===e)return!0;const t=e.length;return 1===t&&"~"===e||4===t&&("null"===e||"Null"===e||"NULL"===e)},construct:function(){return null},predicate:function(e){return null===e},represent:{canonical:function(){return"~"},lowercase:function(){return"null"},uppercase:function(){return"NULL"},camelcase:function(){return"Null"},empty:function(){return""}},defaultStyle:"lowercase"})},89440(e,t,r){"use strict";const n=r(48030),i=Object.prototype.hasOwnProperty,o=Object.prototype.toString;e.exports=new n("tag:yaml.org,2002:omap",{kind:"sequence",resolve:function(e){if(null===e)return!0;const t={},r=e;for(let n=0,s=r.length;n<s;n+=1){const e=r[n];let s,a=!1;if("[object Object]"!==o.call(e))return!1;for(s in e)if(i.call(e,s)){if(a)return!1;a=!0}if(!a)return!1;if(i.call(t,s))return!1;Object.defineProperty(t,s,{value:!0})}return!0},construct:function(e){return null!==e?e:[]}})},92820(e,t,r){"use strict";const n=r(48030),i=Object.prototype.toString;e.exports=new n("tag:yaml.org,2002:pairs",{kind:"sequence",resolve:function(e){if(null===e)return!0;const t=e,r=new Array(t.length);for(let n=0,o=t.length;n<o;n+=1){const e=t[n];if("[object Object]"!==i.call(e))return!1;const o=Object.keys(e);if(1!==o.length)return!1;r[n]=[o[0],e[o[0]]]}return!0},construct:function(e){if(null===e)return[];const t=e,r=new Array(t.length);for(let n=0,i=t.length;n<i;n+=1){const e=t[n],i=Object.keys(e);r[n]=[i[0],e[i[0]]]}return r}})},22590(e,t,r){"use strict";const n=r(48030);e.exports=new n("tag:yaml.org,2002:seq",{kind:"sequence",construct:function(e){return null!==e?e:[]}})},5729(e,t,r){"use strict";const n=r(48030),i=Object.prototype.hasOwnProperty;e.exports=new n("tag:yaml.org,2002:set",{kind:"mapping",resolve:function(e){if(null===e)return!0;const t=e;for(const r in t)if(i.call(t,r)&&null!==t[r])return!1;return!0},construct:function(e){return null!==e?e:{}}})},9234(e,t,r){"use strict";const n=r(48030);e.exports=new n("tag:yaml.org,2002:str",{kind:"scalar",construct:function(e){return null!==e?e:""}})},46601(e,t,r){"use strict";const n=r(48030),i=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"),o=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:[Tt]|[ \\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\.([0-9]*))?(?:[ \\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?$");e.exports=new n("tag:yaml.org,2002:timestamp",{kind:"scalar",resolve:function(e){return null!==e&&(null!==i.exec(e)||null!==o.exec(e))},construct:function(e){let t=0,r=null,n=i.exec(e);if(null===n&&(n=o.exec(e)),null===n)throw new Error("Date resolve error");const s=+n[1],a=+n[2]-1,l=+n[3];if(!n[4])return new Date(Date.UTC(s,a,l));const c=+n[4],p=+n[5],u=+n[6];if(n[7]){for(t=n[7].slice(0,3);t.length<3;)t+="0";t=+t}if(n[9]){r=6e4*(60*+n[10]+ +(n[11]||0)),"-"===n[9]&&(r=-r)}const d=new Date(Date.UTC(s,a,l,c,p,u,t));return r&&d.setTime(d.getTime()-r),d},instanceOf:Date,represent:function(e){return e.toISOString()}})},99714(e){const t="object"===typeof process&&process&&"win32"===process.platform;e.exports=t?{sep:"\\"}:{sep:"/"}},10361(e,t,r){const n=e.exports=function(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return g(t),!(!r.nocomment&&"#"===t.charAt(0))&&new x(t,r).match(e)};e.exports=n;const i=r(99714);n.sep=i.sep;const o=Symbol("globstar **");n.GLOBSTAR=o;const s=r(43799),a={"!":{open:"(?:(?!(?:",close:"))[^/]*?)"},"?":{open:"(?:",close:")?"},"+":{open:"(?:",close:")+"},"*":{open:"(?:",close:")*"},"@":{open:"(?:",close:")"}},l="[^/]",c=l+"*?",p=e=>e.split("").reduce((e,t)=>
8(e[t]=!0,e),{}),u=p("().*{}+?[]^$\\!"),d=p("[.("),f=/\/+/;n.filter=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return(r,i,o)=>n(r,e,t)};const h=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const r={};return Object.keys(e).forEach(t=>r[t]=e[t]),Object.keys(t).forEach(e=>r[e]=t[e]),r};n.defaults=e=>{if(!e||"object"!==typeof e||!Object.keys(e).length)return n;const t=n,r=(r,n,i)=>t(r,n,h(e,i));return(r.Minimatch=class extends t.Minimatch{constructor(t,r){super(t,h(e,r))}}).defaults=r=>t.defaults(h(e,r)).Minimatch,r.filter=(r,n)=>t.filter(r,h(e,n)),r.defaults=r=>t.defaults(h(e,r)),r.makeRe=(r,n)=>t.makeRe(r,h(e,n)),r.braceExpand=(r,n)=>t.braceExpand(r,h(e,n)),r.match=(r,n,i)=>t.match(r,n,h(e,i)),r},n.braceExpand=(e,t)=>m(e,t);const m=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return g(e),t.nobrace||!/\{(?:(?!\{).)*\}/.test(e)?[e]:s(e)},g=e=>{if("string"!==typeof e)throw new TypeError("invalid pattern");if(e.length>65536)throw new TypeError("pattern is too long")},y=Symbol("subparse");n.makeRe=(e,t)=>new x(e,t||{}).makeRe(),n.match=function(e,t){const r=new x(t,arguments.length>2&&void 0!==arguments[2]?arguments[2]:{});return e=e.filter(e=>r.match(e)),r.options.nonull&&!e.length&&e.push(t),e};const b=e=>e.replace(/\\([^-\]])/g,"$1"),v=e=>e.replace(/[[\]\\]/g,"\\$&");class x{constructor(e,t){g(e),t||(t={}),this.options=t,this.maxGlobstarRecursion=void 0!==t.maxGlobstarRecursion?t.maxGlobstarRecursion:200,this.set=[],this.pattern=e,this.windowsPathsNoEscape=!!t.windowsPathsNoEscape||!1===t.allowWindowsEscape,this.windowsPathsNoEscape&&(this.pattern=this.pattern.replace(/\\/g,"/")),this.regexp=null,this.negate=!1,this.comment=!1,this.empty=!1,this.partial=!!t.partial,this.make()}debug(){}make(){const e=this.pattern,t=this.options;if(!t.nocomment&&"#"===e.charAt(0))return void(this.comment=!0);if(!e)return void(this.empty=!0);this.parseNegate();let r=this.globSet=this.braceExpand();t.debug&&(this.debug=function(){return console.error(...arguments)}),this.debug(this.pattern,r),r=this.globParts=r.map(e=>e.split(f)),this.debug(this.pattern,r),r=r.map((e,t,r)=>e.map(this.parse,this)),this.debug(this.pattern,r),r=r.filter(e=>-1===e.indexOf(!1)),this.debug(this.pattern,r),this.set=r}parseNegate(){if(this.options.nonegate)return;const e=this.pattern;let t=!1,r=0;for(let n=0;n<e.length&&"!"===e.charAt(n);n++)t=!t,r++;r&&(this.pattern=e.slice(r)),this.negate=t}matchOne(e,t,r){return-1!==t.indexOf(o)?this._matchGlobstar(e,t,r,0,0):this._matchOne(e,t,r,0,0)}_matchGlobstar(e,t,r,n,i){let s=-1;for(let b=i;b<t.length;b++)if(t[b]===o){s=b;break}let a=-1;for(let b=t.length-1;b>=0;b--)if(t[b]===o){a=b;break}const l=t.slice(i,s),c=r?t.slice(s+1):t.slice(s+1,a),p=r?[]:t.slice(a+1);if(l.length){const t=e.slice(n,n+l.length);if(!this._matchOne(t,l,r,0,0))return!1;n+=l.length}let u=0;if(p.length){if(p.length+n>e.length)return!1;const t=e.length-p.length;if(this._matchOne(e,p,r,t,0))u=p.length;else{if(""!==e[e.length-1]||n+p.length===e.length)return!1;if(!this._matchOne(e,p,r,t-1,0))return!1;u=p.length+1}}if(!c.length){let t=!!u;for(let r=n;r<e.length-u;r++){const n=String(e[r]);if(t=!0,"."===n||".."===n||!this.options.dot&&"."===n.charAt(0))return!1}return r||t}const d=[[[],0]];let f=d[0],h=0;const m=[0];for(const b of c)b===o?(m.push(h),f=[[],0],d.push(f)):(f[0].push(b),h++);let g=d.length-1;const y=e.length-u;for(const o of d)o[1]=y-(m[g--]+o[0].length);return!!this._matchGlobStarBodySections(e,d,n,0,r,0,!!u)}_matchGlobStarBodySections(e,t,r,n,i,o,s){const a=t[n];if(!a){for(let t=r;t<e.length;t++){s=!0;const r=e[t];if("."===r||".."===r||!this.options.dot&&"."===r.charAt(0))return!1}return s}const[l,c]=a;for(;r<=c;){if(this._matchOne(e.slice(0,r+l.length),l,i,r,0)&&o<this.maxGlobstarRecursion){const a=this._matchGlobStarBodySections(e,t,r+l.length,n+1,i,o+1,s);if(!1!==a)return a}const a=e[r];if("."===a||".."===a||!this.options.dot&&"."===a.charAt(0))return!1;r++}return i||null}_matchOne(e,t,r,n,i){let s,a,l,c;for(s=n,a=i,l=e.length,c=t.length;s<l&&a<c;s++,a++){this.debug("matchOne loop");const r=t[a],n=e[s];if(this.debug(t,r,n),!1===r||r===o)return!1;let i;if("string"===typeof r?(i=n===r,this.debug("string match",r,n,i)):(i=n.match(r),this.debug("pattern match",r,n,i)),!i)return!1}if(s===l&&a===c)return!0;
8if(s===l)return r;if(a===c)return s===l-1&&""===e[s];throw new Error("wtf?")}braceExpand(){return m(this.pattern,this.options)}parse(e,t){g(e);const r=this.options;if("**"===e){if(!r.noglobstar)return o;e="*"}if(""===e)return"";let n="",i=!1,s=!1;const p=[],f=[];let h,m,x,w,S=!1,k=-1,O=-1,E="."===e.charAt(0),_=r.dot||E;const $=e=>"."===e.charAt(0)?"":r.dot?"(?!(?:^|\\/)\\.{1,2}(?:$|\\/))":"(?!\\.)",A=()=>{if(h){switch(h){case"*":n+=c,i=!0;break;case"?":n+=l,i=!0;break;default:n+="\\"+h}this.debug("clearStateChar %j %j",h,n),h=!1}};for(let o,l=0;l<e.length&&(o=e.charAt(l));l++)if(this.debug("%s\t%s %s %j",e,l,n,o),s){if("/"===o)return!1;u[o]&&(n+="\\"),n+=o,s=!1}else switch(o){case"/":return!1;case"\\":if(S&&"-"===e.charAt(l+1)){n+=o;continue}A(),s=!0;continue;case"?":case"*":case"+":case"@":case"!":if(this.debug("%s\t%s %s %j <-- stateChar",e,l,n,o),S){this.debug("  in class"),"!"===o&&l===O+1&&(o="^"),n+=o;continue}if("*"===o&&"*"===h)continue;this.debug("call clearStateChar %j",h),A(),h=o,r.noext&&A();continue;case"(":{if(S){n+="(";continue}if(!h){n+="\\(";continue}const t={type:h,start:l-1,reStart:n.length,open:a[h].open,close:a[h].close};this.debug(this.pattern,"\t",t),p.push(t),n+=t.open,0===t.start&&"!"!==t.type&&(E=!0,n+=$(e.slice(l+1))),this.debug("plType %j %j",h,n),h=!1;continue}case")":{const e=p[p.length-1];if(S||!e){n+="\\)";continue}p.pop(),A(),i=!0,x=e,n+=x.close,"!"===x.type&&f.push(Object.assign(x,{reEnd:n.length}));continue}case"|":{const t=p[p.length-1];if(S||!t){n+="\\|";continue}A(),n+="|",0===t.start&&"!"!==t.type&&(E=!0,n+=$(e.slice(l+1)));continue}case"[":if(A(),S){n+="\\"+o;continue}S=!0,O=l,k=n.length,n+=o;continue;case"]":if(l===O+1||!S){n+="\\"+o;continue}m=e.substring(O+1,l);try{RegExp("["+v(b(m))+"]"),n+=o}catch(C){n=n.substring(0,k)+"(?:$.)"}i=!0,S=!1;continue;default:A(),!u[o]||"^"===o&&S||(n+="\\"),n+=o}for(S&&(m=e.slice(O+1),w=this.parse(m,y),n=n.substring(0,k)+"\\["+w[0],i=i||w[1]),x=p.pop();x;x=p.pop()){let e;e=n.slice(x.reStart+x.open.length),this.debug("setting tail",n,x),e=e.replace(/((?:\\{2}){0,64})(\\?)\|/g,(e,t,r)=>(r||(r="\\"),t+t+r+"|")),this.debug("tail=%j\n   %s",e,e,x,n);const t="*"===x.type?c:"?"===x.type?l:"\\"+x.type;i=!0,n=n.slice(0,x.reStart)+t+"\\("+e}A(),s&&(n+="\\\\");const P=d[n.charAt(0)];for(let o=f.length-1;o>-1;o--){const e=f[o],r=n.slice(0,e.reStart),i=n.slice(e.reStart,e.reEnd-8);let s=n.slice(e.reEnd);const a=n.slice(e.reEnd-8,e.reEnd)+s,l=r.split(")").length,c=r.split("(").length-l;let p=s;for(let t=0;t<c;t++)p=p.replace(/\)[+*?]?/,"");s=p;n=r+i+s+(""===s&&t!==y?"(?:$|\\/)":"")+a}if(""!==n&&i&&(n="(?=.)"+n),P&&(n=(E?"":_?"(?!(?:^|\\/)\\.{1,2}(?:$|\\/))":"(?!\\.)")+n),t===y)return[n,i];if(r.nocase&&!i&&(i=e.toUpperCase()!==e.toLowerCase()),!i)return e.replace(/\\(.)/g,"$1");const j=r.nocase?"i":"";try{return Object.assign(new RegExp("^"+n+"$",j),{_glob:e,_src:n})}catch(C){return new RegExp("$.")}}makeRe(){if(this.regexp||!1===this.regexp)return this.regexp;const e=this.set;if(!e.length)return this.regexp=!1,this.regexp;const t=this.options,r=t.noglobstar?c:t.dot?"(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?":"(?:(?!(?:\\/|^)\\.).)*?",n=t.nocase?"i":"";let i=e.map(e=>(e=e.map(e=>"string"===typeof e?e.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"):e===o?o:e._src).reduce((e,t)=>(e[e.length-1]===o&&t===o||e.push(t),e),[]),e.forEach((t,n)=>{t===o&&e[n-1]!==o&&(0===n?e.length>1?e[n+1]="(?:\\/|"+r+"\\/)?"+e[n+1]:e[n]=r:n===e.length-1?e[n-1]+="(?:\\/|"+r+")?":(e[n-1]+="(?:\\/|\\/"+r+"\\/)"+e[n+1],e[n+1]=o))}),e.filter(e=>e!==o).join("/"))).join("|");i="^(?:"+i+")$",this.negate&&(i="^(?!"+i+").*$");try{this.regexp=new RegExp(i,n)}catch(s){this.regexp=!1}return this.regexp}match(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.partial;if(this.debug("match",e,this.pattern),this.comment)return!1;if(this.empty)return""===e;if("/"===e&&t)return!0;const r=this.options;"/"!==i.sep&&(e=e.split(i.sep).join("/")),e=e.split(f),this.debug(this.pattern,"split",e);const n=this.set;let o;this.debug(this.pattern,"set",n);for(let i=e.length-1;i>=0&&(o=e[i],!o);i--);for(let i=0;i<n.length;i++){const s=n[i];let a=e;r.matchBase&&1===s.length&&(a=[o]);if(this.matchOne(a,s,t))return!!r.flipNegate||!this.negate}return!r.flipNegate&&this.negate}static defaults(e){return n.defaults(e).Minimatch}}n.Minimatch=x},10136(e){"use strict";function t(e,t,i){e instanceof RegExp&&(e=r(e,i)),t instanceof RegExp&&(t=r(t,i));var o=n(e,t,i);return o&&{start:o[0],end:o[1],pre:i.slice(0,o[0]),body:i.slice(o[0]+e.length,o[1]),post:i.slice(o[1]+t.length)}}function r(e,t){var r=t.match(e);return r?r[0]:null}
8function n(e,t,r){var n,i,o,s,a,l=r.indexOf(e),c=r.indexOf(t,l+1),p=l;if(l>=0&&c>0){if(e===t)return[l,c];for(n=[],o=r.length;p>=0&&!a;)p==l?(n.push(p),l=r.indexOf(e,p+1)):1==n.length?a=[n.pop(),c]:((i=n.pop())<o&&(o=i,s=c),c=r.indexOf(t,p+1)),p=l<c&&l>=0?l:c;n.length&&(a=[o,s])}return a}e.exports=t,t.range=n},43799(e,t,r){var n=r(10136);e.exports=function(e,t){if(!e)return[];var r=null==(t=t||{}).max?1e5:t.max,n=null==t.maxLength?4e6:t.maxLength,c=null==t.maxDepth?1e3:t.maxDepth,u=null==t.maxRewrites?1e3:t.maxRewrites;"{}"===e.substr(0,2)&&(e="\\{\\}"+e.substr(2));return v(function(e){return e.split("\\\\").join(i).split("\\{").join(o).split("\\}").join(s).split("\\,").join(a).split("\\.").join(l)}(e),r,n,c,0,u,!0).map(p)};var i="\0SLASH"+Math.random()+"\0",o="\0OPEN"+Math.random()+"\0",s="\0CLOSE"+Math.random()+"\0",a="\0COMMA"+Math.random()+"\0",l="\0PERIOD"+Math.random()+"\0";function c(e){return parseInt(e,10)==e?parseInt(e,10):e.charCodeAt(0)}function p(e){return e.split(i).join("\\").split(o).join("{").split(s).join("}").split(a).join(",").split(l).join(".")}function u(e,t){for(var r=0;r<t.length;r++)e.push(t[r])}function d(e){for(var t=[],r="";;){var i=n("{","}",e);if(!i){var o=e.split(",");return o[0]=r+o[0],u(t,o),t}var s=i.pre,a=i.body,l=i.post,c=s.split(",");if(c[0]=r+c[0],c[c.length-1]+="{"+a+"}",!l.length)return u(t,c),t;r=c.pop(),u(t,c),e=l}}function f(e){return"{"+e+"}"}function h(e){return/^-?0\d/.test(e)}function m(e,t){return e<=t}function g(e,t){return e>=t}function y(e,t,r,n,i,o){for(var s=[],a=0,l=0;l<e.length;l++)for(var c=0;c<r.length;c++){if(s.length>=n)return s;var p=e[l]+t+r[c];if(!o||p){if(a+p.length>i)return s;s.push(p),a+=p.length}}return s}function b(e,t,r,n){var i=e.split(/\.\./),o=[];if(void 0===i[0]||void 0===i[1])return o;var s=c(i[0]),a=c(i[1]),l=Math.max(i[0].length,i[1].length),p=3===i.length&&void 0!==i[2]?Math.max(Math.abs(c(i[2])),1):1,u=m;a<s&&(p*=-1,u=g);for(var d=i.some(h),f=0,y=s;u(y,a)&&o.length<r;y+=p){var b;if(t)"\\"===(b=String.fromCharCode(y))&&(b="");else if(b=String(y),d){var v=l-b.length;if(v>0){var x=new Array(v+1).join("0");b=y<0?"-"+x+b.slice(1):x+b}}if(f+b.length>n)break;o.push(b),f+=b.length}return o}function v(e,t,r,i,o,a,l){if(o>i)return[e];for(var c=[""],p=0,u=!1,h=!0;;){const C=n("{","}",e);if(!C)return y(c,e,[""],t,r,u);const T=C.pre;if(/\$$/.test(T)){if(c=y(c,T+"{"+C.body+"}",[""],t,r,u&&!C.post.length),h=!1,!C.post.length)break;e=C.post}else{var m,g=/^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(C.body),x=/^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(C.body),w=g||x,S=C.body.indexOf(",")>=0;if(!w&&!S){if(p<a&&C.post.match(/,(?!,).*\}/)){p++,e=C.pre+"{"+C.body+s+C.post,l=!0;continue}return y(c,T+"{"+C.body+"}"+C.post,[""],t,r,u)}if(h&&(u=l&&!w,h=!1),w)m=b(C.body,x,t,r);else{var k=d(C.body);if(1===k.length&&void 0!==k[0]&&1===(k=v(k[0],t,r,i,o+1,a,!1).map(f)).length){if(c=y(c,T+k[0],[""],t,r,u&&!C.post.length),!C.post.length)break;e=C.post;continue}for(var O=u&&!C.post.length&&!T,E=0;O&&E<c.length;E++)c[E]&&(O=!1);m=[];var _=0;e:for(var $=0;$<k.length;$++)for(var A=v(k[$],t,r,i,o+1,a,!1),P=0;P<A.length;P++){var j=A[P];if(!O||j){if(m.length>=t||_+j.length>r)break e;m.push(j),_+=j.length}}}if(c=y(c,T,m,t,r,u&&!C.post.length),!C.post.length)break;e=C.post}}return c}},12305(e,t,r){"use strict";var n=r(59300);e.exports=function(e,t){return e?void t.then(function(t){n(function(){e(null,t)})},function(t){n(function(){e(t)})}):t}},59300(e){"use strict";e.exports="object"===typeof process&&"function"===typeof process.nextTick?process.nextTick:"function"===typeof setImmediate?setImmediate:function(e){setTimeout(e,0)}},46469(e,t){var r,n,i;n=[t],r=function(e){"use strict";e.__esModule=!0;var t={},r=Object.prototype.hasOwnProperty,n={memoize:function(e){var n=arguments.length<=1||void 0===arguments[1]?t:arguments[1],i=n.cache||{};return function(){for(var t=arguments.length,o=Array(t),s=0;s<t;s++)o[s]=arguments[s];var a=String(o[0]);return!1===n.caseSensitive&&(a=a.toLowerCase()),r.call(i,a)?i[a]:i[a]=e.apply(this,o)}},debounce:function(e,t){if("function"===typeof t){var r=e;e=t,t=r}var n=t&&t.delay||t||0,i=void 0,o=void 0,s=void 0;return function(){for(var t=arguments.length,r=Array(t),a=0;a<t;a++)r[a]=arguments[a];i=r,o=this,s||(s=setTimeout(function(){e.apply(o,i),i=o=s=null},n))}},bind:function(e,t,r){var n=r.value;return{configurable:!0,get:function(){var e=n.bind(this);return Object.defineProperty(this,t,{value:e,configurable:!0,writable:!0}),e}}}},i=a(n.memoize),o=a(n.debounce),s=a(function(e,t){return e.bind(t)},function(){return n.bind});function a(e,t){var r=(t=t||e.decorate||l(e))();return function(){for(var n=arguments.length,i=Array(n),o=0;o<n;o++)i[o]=arguments[o];var s=i.length;return(s<2?t:s>2?r:e).apply(void 0,i)}}function l(e){return function(t){return"function"===typeof t?e(t):function(r,n,i){i.value=e(i.value,t,r,n,i)}}}e.memoize=i,e.debounce=o,e.bind=s,e.default={memoize:i,debounce:o,bind:s}},void 0===(i="function"===typeof r?r.apply(t,n):r)||(e.exports=i)},8693(e){"use strict";function t(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function r(e,r){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,i,o,s,a=[],l=!0,c=!1;try{if(o=(r=r.call(e)).next,0===t);else for(;!(l=(n=o.call(r)).done)&&(a.push(n.value),a.length!==t);l=!0);}catch(e){c=!0,i=e}
8finally{try{if(!l&&null!=r.return&&(s=r.return(),Object(s)!==s))return}finally{if(c)throw i}}return a}}(e,r)||function(e,r){if(e){if("string"==typeof e)return t(e,r);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?t(e,r):void 0}}(e,r)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}const n=Object.entries,i=Object.setPrototypeOf,o=Object.isFrozen,s=Object.getPrototypeOf,a=Object.getOwnPropertyDescriptor;let l=Object.freeze,c=Object.seal,p=Object.create,u="undefined"!==typeof Reflect&&Reflect,d=u.apply,f=u.construct;l||(l=function(e){return e}),c||(c=function(e){return e}),d||(d=function(e,t){for(var r=arguments.length,n=new Array(r>2?r-2:0),i=2;i<r;i++)n[i-2]=arguments[i];return e.apply(t,n)}),f||(f=function(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];return new e(...r)});const h=R(Array.prototype.forEach),m=R(Array.prototype.lastIndexOf),g=R(Array.prototype.pop),y=R(Array.prototype.push),b=R(Array.prototype.splice),v=Array.isArray,x=R(String.prototype.toLowerCase),w=R(String.prototype.toString),S=R(String.prototype.match),k=R(String.prototype.replace),O=R(String.prototype.indexOf),E=R(String.prototype.trim),_=R(Number.prototype.toString),$=R(Boolean.prototype.toString),A="undefined"===typeof BigInt?null:R(BigInt.prototype.toString),P="undefined"===typeof Symbol?null:R(Symbol.prototype.toString),j=R(Object.prototype.hasOwnProperty),C=R(Object.prototype.toString),T=R(RegExp.prototype.test),I=(N=TypeError,function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return f(N,t)});var N;function R(e){return function(t){t instanceof RegExp&&(t.lastIndex=0);for(var r=arguments.length,n=new Array(r>1?r-1:0),i=1;i<r;i++)n[i-1]=arguments[i];return d(e,t,n)}}function L(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:x;if(i&&i(e,null),!v(t))return e;let n=t.length;for(;n--;){let i=t[n];if("string"===typeof i){const e=r(i);e!==i&&(o(t)||(t[n]=e),i=e)}e[i]=!0}return e}function D(e){for(let t=0;t<e.length;t++){j(e,t)||(e[t]=null)}return e}function M(e){const t=p(null);for(const o of n(e)){var i=r(o,2);const n=i[0],s=i[1];j(e,n)&&(v(s)?t[n]=D(s):s&&"object"===typeof s&&s.constructor===Object?t[n]=M(s):t[n]=s)}return t}function z(e,t){for(;null!==e;){const r=a(e,t);if(r){if(r.get)return R(r.get);if("function"===typeof r.value)return R(r.value)}e=s(e)}return function(){return null}}const F=l(["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","search","section","select","shadow","slot","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"]),B=l(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","enterkeyhint","exportparts","filter","font","g","glyph","glyphref","hkern","image","inputmode","line","lineargradient","marker","mask","metadata","mpath","part","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),q=l(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),U=l(["animate","color-profile","cursor","discard","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"]),V=l(["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","mprescripts"]),W=l(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),H=l(["#text"]),Q=l(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","command","commandfor","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","exportparts","face","for","headers","height","hidden","high","href","hreflang","id","inert","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","part","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","
8spellcheck","scope","selected","shape","size","sizes","slot","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns"]),G=l(["accent-height","accumulate","additive","alignment-baseline","amplitude","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","dominant-baseline","dur","edgemode","elevation","end","exponent","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","intercept","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","mask-type","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","pointer-events","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","slope","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","tablevalues","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-orientation","text-rendering","textlength","type","u1","u2","unicode","values","vector-effect","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"]),K=l(["accent","accentunder","align","bevelled","close","columnalign","columnlines","columnspacing","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lquote","lspace","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"]),Y=l(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),J=c(/{{[\w\W]*|^[\w\W]*}}/g),X=c(/<%[\w\W]*|^[\w\W]*%>/g),Z=c(/\${[\w\W]*/g),ee=c(/^data-[\-\w.\u00B7-\uFFFF]+$/),te=c(/^aria-[\-\w]+$/),re=c(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),ne=c(/^(?:\w+script|data):/i),ie=c(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),oe=c(/^html$/i),se=c(/^[a-z][.\w]*(-[.\w]+)+$/i),ae=c(/<[/\w!]/g),le=c(/<[/\w]/g),ce=c(/<\/no(script|embed|frames)/i),pe=c(/\/>/i),ue=1,de=3,fe=7,he=8,me=9,ge=11,ye=["style","script","xmp","iframe","noembed","noframes","plaintext","noscript"],be=l(L({},ye)),ve=function(){const e={};return h(ye,t=>{e[t]=c(new RegExp("</"+t+"(?=[\\t\\n\\f\\r />])","i"))}),l(e)}(),xe=function(){return"undefined"===typeof window?null:window},we=function(e,t,r,n){return j(e,t)&&v(e[t])?L(n.base?M(n.base):{},e[t],n.transform):r},Se=function(e,t,r){const n=j(e,t)?e[t]:void 0;return n&&"object"===typeof n?M(n):r()};var ke=function e(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:xe();const r=t=>e(t);if(r.version="3.4.15",r.removed=[],!t||!t.document||t.document.nodeType!==me||!t.Element)return r.isSupported=!1,r;let i=t.document;const o=i,s=o.currentScript;t.DocumentFragment;const a=t.HTMLTemplateElement,u=t.Node,d=t.Element,f=t.NodeFilter,N=t.NamedNodeMap;void 0===N&&(t.NamedNodeMap||t.MozNamedAttrMap),t.HTMLFormElement;const R=t.DOMParser,D=t.trustedTypes,ye=d.prototype,ke=z(ye,"cloneNode"),Oe=z(ye,"remove"),Ee=z(ye,"removeAttributeNode"),_e=z(ye,"nextSibling"),$e=z(ye,"childNodes"),Ae=z(ye,"parentNode"),Pe=z(ye,"shadowRoot"),je=z(ye,"attributes"),Ce=u&&u.prototype?z(u.prototype,"nodeType"):null,Te=u&&u.prototype?z(u.prototype,"nodeName"):null,Ie=u&&u.prototype?z(u.prototype,"ownerDocument"):null,Ne=function(e){return Ce?Ce(e):e.nodeType},Re=function(e){return Te?Te(e):e.nodeName};if("function"===typeof a){const e=i.createElement("template");e.content&&e.content.ownerDocument&&(i=e.content.ownerDocument)}let Le,De,Me="",ze=!1,Fe=0;const Be=function(){if(Fe>0)throw I('A configured TRUSTED_TYPES_POLICY callback (createHTML or createScriptURL) must not call DOMPurify.sanitize, as that causes infinite recursion. Do not pass a policy whose callbacks wrap DOMPurify as TRUSTED_TYPES_POLICY; see the "DOMPurify and Trusted Types" section of the README.')},qe=function(e){Be(),Fe++;try{return Le.createHTML(e)}finally{Fe--}},Ue=function(){return ze||(De=function(e,t){if("object"!==typeof e||"function"!==typeof e.createPolicy)return null;let r=null;
vendor: 9,681 bytes, line 8
8const n="data-tt-policy-suffix";t&&t.hasAttribute(n)&&(r=t.getAttribute(n));const i="dompurify"+(r?"#"+r:"");try{return e.createPolicy(i,{createHTML:e=>e,createScriptURL:e=>e})}catch(o){return console.warn("TrustedTypes policy "+i+" could not be created."),null}}(D,s),ze=!0),De},Ve=i,We=Ve.implementation,He=Ve.createNodeIterator,Qe=Ve.createDocumentFragment,Ge=Ve.getElementsByTagName,Ke=o.importNode;let Ye={afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]};r.isSupported="function"===typeof n&&"function"===typeof Ae&&We&&void 0!==We.createHTMLDocument;const Je=J,Xe=X,Ze=Z,et=ee,tt=te,rt=ne,nt=ie,it=se;let ot=re,st=null;const at=L({},[...F,...B,...q,...V,...H]);let lt=null;const ct=L({},[...Q,...G,...K,...Y]);let pt=Object.seal(p(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),ut=null,dt=null;const ft=Object.seal(p(null,{tagCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeCheck:{writable:!0,configurable:!1,enumerable:!0,value:null}}));let ht=!0,mt=!0,gt=!1,yt=!0,bt=!1,vt=!0,xt=!1,wt=!1,St=null,kt=null,Ot=!1,Et=!1,_t=!1,$t=!1,At=!0,Pt=!1;const jt="user-content-";let Ct=!0,Tt=!1,It={},Nt=null;const Rt=L({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","selectedcontent","style","svg","template","thead","title","video","xmp"]);let Lt=null;const Dt=L({},["audio","video","img","source","image","track"]);let Mt=null;const zt=L({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),Ft="http://www.w3.org/1998/Math/MathML",Bt="http://www.w3.org/2000/svg",qt="http://www.w3.org/1999/xhtml";let Ut=qt,Vt=!1,Wt=null;const Ht=L({},[Ft,Bt,qt],w),Qt=l(["mi","mo","mn","ms","mtext"]);let Gt=L({},Qt);const Kt=l(["annotation-xml"]);let Yt=L({},Kt);const Jt=L({},["title","style","font","a","script"]);let Xt=null;const Zt=["application/xhtml+xml","text/html"];let er=null,tr=null;const rr=i.createElement("form"),nr=function(e){return e instanceof RegExp||e instanceof Function},ir=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(tr&&tr===e)return;e&&"object"===typeof e||(e={}),e=M(e),Xt=-1===Zt.indexOf(e.PARSER_MEDIA_TYPE)?"text/html":e.PARSER_MEDIA_TYPE,er="application/xhtml+xml"===Xt?w:x,st=we(e,"ALLOWED_TAGS",at,{transform:er}),lt=we(e,"ALLOWED_ATTR",ct,{transform:er}),Wt=we(e,"ALLOWED_NAMESPACES",Ht,{transform:w}),Mt=we(e,"ADD_URI_SAFE_ATTR",zt,{transform:er,base:zt}),Lt=we(e,"ADD_DATA_URI_TAGS",Dt,{transform:er,base:Dt}),Nt=we(e,"FORBID_CONTENTS",Rt,{transform:er}),ut=we(e,"FORBID_TAGS",M({}),{transform:er}),dt=we(e,"FORBID_ATTR",M({}),{transform:er}),It=!!j(e,"USE_PROFILES")&&(e.USE_PROFILES&&"object"===typeof e.USE_PROFILES?M(e.USE_PROFILES):e.USE_PROFILES),ht=!1!==e.ALLOW_ARIA_ATTR,mt=!1!==e.ALLOW_DATA_ATTR,gt=e.ALLOW_UNKNOWN_PROTOCOLS||!1,yt=!1!==e.ALLOW_SELF_CLOSE_IN_ATTR,bt=e.SAFE_FOR_TEMPLATES||!1,vt=!1!==e.SAFE_FOR_XML,xt=e.WHOLE_DOCUMENT||!1,Et=e.RETURN_DOM||!1,_t=e.RETURN_DOM_FRAGMENT||!1,$t=e.RETURN_TRUSTED_TYPE||!1,Ot=e.FORCE_BODY||!1,At=!1!==e.SANITIZE_DOM,Pt=e.SANITIZE_NAMED_PROPS||!1,Ct=!1!==e.KEEP_CONTENT,Tt=e.IN_PLACE||!1,ot=function(e){try{return T(e,""),!0}catch(t){return!1}}(e.ALLOWED_URI_REGEXP)?e.ALLOWED_URI_REGEXP:re,Ut="string"===typeof e.NAMESPACE?e.NAMESPACE:qt,Gt=Se(e,"MATHML_TEXT_INTEGRATION_POINTS",()=>L({},Qt)),Yt=Se(e,"HTML_INTEGRATION_POINTS",()=>L({},Kt));const t=Se(e,"CUSTOM_ELEMENT_HANDLING",()=>p(null));if(pt=p(null),j(t,"tagNameCheck")&&nr(t.tagNameCheck)&&(pt.tagNameCheck=t.tagNameCheck),j(t,"attributeNameCheck")&&nr(t.attributeNameCheck)&&(pt.attributeNameCheck=t.attributeNameCheck),j(t,"allowCustomizedBuiltInElements")&&"boolean"===typeof t.allowCustomizedBuiltInElements&&(pt.allowCustomizedBuiltInElements=t.allowCustomizedBuiltInElements),c(pt),bt&&(mt=!1),_t&&(Et=!0),It&&(st=L({},H),lt=p(null),!0===It.html&&(L(st,F),L(lt,Q)),!0===It.svg&&(L(st,B),L(lt,G),L(lt,Y)),!0===It.svgFilters&&(L(st,q),L(lt,G),L(lt,Y)),!0===It.mathMl&&(L(st,V),L(lt,K),L(lt,Y))),ft.tagCheck=null,ft.attributeCheck=null,j(e,"ADD_TAGS")&&("function"===typeof e.ADD_TAGS?ft.tagCheck=e.ADD_TAGS:v(e.ADD_TAGS)&&(st===at&&(st=M(st)),L(st,e.ADD_TAGS,er))),j(e,"ADD_ATTR")&&("function"===typeof e.ADD_ATTR?ft.attributeCheck=e.ADD_ATTR:v(e.ADD_ATTR)&&(lt===ct&&(lt=M(lt)),L(lt,e.ADD_ATTR,er))),j(e,"ADD_FORBID_CONTENTS")&&v(e.ADD_FORBID_CONTENTS)&&(Nt===Rt&&(Nt=M(Nt)),L(Nt,e.ADD_FORBID_CONTENTS,er)),Ct&&(st["#text"]=!0),xt&&L(st,["html","head","body"]),st.table&&(L(st,["tbody"]),delete ut.tbody),e.TRUSTED_TYPES_POLICY){if("function"!==typeof e.TRUSTED_TYPES_POLICY.createHTML)throw I('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if("function"!==typeof e.TRUSTED_TYPES_POLICY.createScriptURL)throw I('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');const t=Le;Le=e.TRUSTED_TYPES_POLICY;try{Me=qe("")}catch(r){throw Le=t,r}}else null===e.TRUSTED_TYPES_POLICY?(Le=void 0,Me=""):(void 0===Le&&(Le=Ue()),Le&&"string"===typeof Me&&(Me=qe("")));l&&l(e),tr=e},or=L({},[...B,...q,...U]),sr=L({},[...V,...W]),ar=function(e){let t=Ae(e);t&&t.tagName||(t={namespaceURI:Ut,tagName:"template"});const r=x(e.tagName),n=x(t.tagName);return!!Wt[e.namespaceURI]&&(e.namespaceURI===Bt?function(e,t,r){return t.namespaceURI===qt?"svg"===e:t.namespaceURI===Ft?"svg"===e&&("annotation-xml"===r||Gt[r]):Boolean(or[e])}(r,t,n):e.namespaceURI===Ft?function(e,t,r){return t.namespaceURI===qt?"math"===e:t.namespaceURI===Bt?"math"===e&&Yt[r]:Boolean(sr[e])}(r,t,n):e.namespaceURI===qt?function(e,t,r){return!(t.namespaceURI===Bt&&!Yt[r])&&!(t.namespaceURI===Ft&&!Gt[r])&&!sr[e]&&(Jt[e]||!or[e])}(r,t,n):!("application/xhtml+xml"!==Xt||!Wt[e.namespaceURI]))},lr=function(e){y(r.removed,{element:e});try{Ae(e).removeChild(e)}catch(t){if(Oe(e),!Ae(e))throw I("a node selected for removal could not be detached from its tree and cannot be safely returned; refusing to sanitize in place")}},cr=function(e,t,r){try{Ee(e,t)}catch(n){try{e.removeAttribute(r)}catch(n){}}},pr=function(e){fr(e);const t=$e(e);if(t){const e=[];h(t,t=>{y(e,t)}),h(e,e=>{try{Oe(e)}catch(t){}})}const r=je(e);if(r)for(let n=r.length-1;n>=0;--n){const t=r[n],i=t&&t.name;"string"===typeof i&&cr(e,t,i)}},ur=function(e,t,n){if(!n)try{n=t.getAttributeNode(e)}catch(i){n=null}y(r.removed,{attribute:n||null,from:t});try{n?Ee(t,n):t.removeAttribute(e)}catch(i){try{t.removeAttribute(e)}catch(i){}}if("is"===e)if(Et||_t)try{lr(t)}catch(i){}else try{t.setAttribute(e,"")}catch(i){}},dr=function(e){const t=je(e);if(t)for(let r=t.length-1;r>=0;--r){const n=t[r],i=n&&n.name;"string"!==typeof i||lt[er(i)]||cr(e,n,i)}},fr=function(e){const t=[e];for(;t.length>0;){const e=t.pop();Ne(e)===ue&&dr(e);const r=$e(e);if(r)for(let n=r.length-1;n>=0;--n)t.push(r[n])}},hr=function(e,t){return!!vt&&("patchsrc"===e||"for"===e&&"label"!==t&&"output"!==t)},mr=function(e){let t=null,r=null;if(Ot)e="<remove></remove>"+e;else{const t=S(e,/^[\r\n\t ]+/);r=t&&t[0]}"application/xhtml+xml"===Xt&&Ut===qt&&(e='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+e+"</body></html>");const n=Le?qe(e):e;if(Ut===qt)try{t=(new R).parseFromString(n,Xt)}catch(s){}if(!t||!t.documentElement){t=We.createDocument(Ut,"template",null);try{t.documentElement.innerHTML=Vt?Me:n}catch(s){}}const o=t.body||t.documentElement;return e&&r&&o.insertBefore(i.createTextNode(r),o.childNodes[0]||null),Ut===qt?Ge.call(t,xt?"html":"body")[0]:xt?t.documentElement:o},gr=function(e){const t=Ie?Ie(e):e.ownerDocument;return He.call(t||e,e,f.SHOW_ELEMENT|f.SHOW_COMMENT|f.SHOW_TEXT|f.SHOW_PROCESSING_INSTRUCTION|f.SHOW_CDATA_SECTION,null)},yr=function(e){return e=k(e,Je," "),e=k(e,Xe," "),e=k(e,Ze," ")},br=function(e){var t;e.normalize();const r=Ie?Ie(e):e.ownerDocument,n=He.call(r||e,e,f.SHOW_TEXT|f.SHOW_COMMENT|f.SHOW_CDATA_SECTION|f.SHOW_PROCESSING_INSTRUCTION,null);let i=n.nextNode();for(;i;)i.data=yr(i.data),i=n.nextNode();const o=null===(t=e.querySelectorAll)||void 0===t?void 0:t.call(e,"template");o&&h(o,e=>{xr(e.content)&&br(e.content)})},vr=function(e){const t=Te?Te(e):null;return"string"===typeof t&&("form"===er(t)&&("string"!==typeof e.nodeName||"string"!==typeof e.textContent||"function"!==typeof e.removeChild||e.attributes!==je(e)||"function"!==typeof e.removeAttribute||"function"!==typeof e.removeAttributeNode||"function"!==typeof e.getAttributeNode||"function"!==typeof e.setAttribute||"string"!==typeof e.namespaceURI||"function"!==typeof e.insertBefore||"function"!==typeof e.hasChildNodes||e.nodeType!==Ce(e)||e.childNodes!==$e(e)))},xr=function(e){if(!Ce||"object"!==typeof e||null===e)return!1;try{return Ce(e)===ge}catch(t){return!1}},wr=function(e){if(!Ce||"object"!==typeof e||null===e)return!1;try{return"number"===typeof Ce(e)}catch(t){return!1}};function Sr(e,t,n){0!==e.length&&h(e,e=>{e.call(r,t,n,tr)})}const kr=function(e,t){if(e instanceof RegExp)return T(e,t);if(e instanceof Function){for(var r=arguments.length,n=new Array(r>2?r-2:0),i=2;i<r;i++)n[i-2]=arguments[i];return Boolean(e(t,...n))}return!1},Or=function(e,t,r,n){return 0===e.length?t:t===r||t===n?M(t):t},Er=function(e,t){return e!==t&&null===Ae(e)&&(Tt&&fr(e),!0)},_r=function(e,t){if(Sr(Ye.beforeSanitizeElements,e,null),Er(e,t))return!0;
8if(vr(e))return lr(e),!0;const n=er(Re(e));if(st=Or(Ye.uponSanitizeElement,st,at,St),Sr(Ye.uponSanitizeElement,e,{tagName:n,allowedTags:st}),Er(e,t))return!0;if(function(e,t){return!!(vt&&e.hasChildNodes()&&!wr(e.firstElementChild)&&T(ae,e.textContent)&&T(ae,e.innerHTML))||!!(vt&&e.namespaceURI===qt&&be[t]&&(wr(e.firstElementChild)||"string"===typeof e.textContent&&T(ve[t],e.textContent)))||e.nodeType===fe||!(!vt||e.nodeType!==he||!T(le,e.data))}(e,n))return lr(e),!0;if(ut[n]||!(ft.tagCheck instanceof Function&&ft.tagCheck(n))&&!st[n]){const r=function(e,t,r){if(!ut[t]&&Pr(t)&&kr(pt.tagNameCheck,t))return!1;if(Ct&&!Nt[t]){const t=Ae(e),n=$e(e);if(n&&t)for(let i=n.length-1;i>=0;--i){const o=e===r?ke(n[i],!0):n[i];t.insertBefore(o,_e(e))}}return lr(e),!0}(e,n,t);return!1===r&&Sr(Ye.afterSanitizeElements,e,null),r}if(Ne(e)===ue&&!ar(e))return lr(e),!0;if(("noscript"===n||"noembed"===n||"noframes"===n)&&T(ce,e.innerHTML))return lr(e),!0;if(bt&&e.nodeType===de){const t=yr(e.textContent);e.textContent!==t&&(y(r.removed,{element:e.cloneNode()}),e.textContent=t)}return Sr(Ye.afterSanitizeElements,e,null),!1},$r=function(e,t,r){if(dt[t])return!1;if(hr(t,e))return!1;if(At&&("id"===t||"name"===t)&&(r in i||r in rr))return!1;const n=lt[t]||ft.attributeCheck instanceof Function&&ft.attributeCheck(t,e);return!(!mt||!T(et,t))||(!(!ht||!T(tt,t))||(n?!!Mt[t]||(!!T(ot,k(r,nt,""))||(!("src"!==t&&"xlink:href"!==t&&"href"!==t||"script"===e||0!==O(r,"data:")||!Lt[e])||(!(!gt||T(rt,k(r,nt,"")))||!r))):Pr(e)&&kr(pt.tagNameCheck,e)&&kr(pt.attributeNameCheck,t,e)||"is"===t&&pt.allowCustomizedBuiltInElements&&kr(pt.tagNameCheck,r)))},Ar=L({},["annotation-xml","color-profile","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","missing-glyph"]),Pr=function(e){return!Ar[x(e)]&&T(it,e)},jr=function(e,t,r,n){if(Le&&"object"===typeof D&&"function"===typeof D.getAttributeType&&!r)switch(D.getAttributeType(e,t)){case"TrustedHTML":return qe(n);case"TrustedScriptURL":return function(e){Be(),Fe++;try{return Le.createScriptURL(e)}finally{Fe--}}(n)}return n},Cr=function(e,t,r,n){try{return r?e.setAttributeNS(r,t,n):e.setAttribute(t,n),!vr(e)||(lr(e),!1)}catch(i){return ur(t,e),!1}},Tr=function(e){Sr(Ye.beforeSanitizeAttributes,e,null);const t=e.attributes;if(!t||vr(e))return;lt=Or(Ye.uponSanitizeAttribute,lt,ct,kt);const n={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:lt,forceKeepAttr:void 0};let i=t.length;const o=er(e.nodeName);for(;i--;){const s=t[i],a=s.name,l=s.namespaceURI,c=s.value,p=er(a),u=c;let d="value"===a?u:E(u),f=!1;if(n.attrName=p,n.attrValue=d,n.keepAttr=!0,n.forceKeepAttr=void 0,Sr(Ye.uponSanitizeAttribute,e,n),d=n.attrValue,!Pt||"id"!==p&&"name"!==p||0===O(d,jt)||(ur(a,e,s),d=jt+d,f=!0),vt&&T(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i,d))ur(a,e,s);else if("attributename"===p&&S(d,"href"))ur(a,e,s);else if(!n.forceKeepAttr)if(n.keepAttr)if(yt||!T(pe,d))if(bt&&(d=yr(d)),$r(o,p,d)){if(d=jr(o,p,l,d),d!==u){Cr(e,a,l,d)&&f&&g(r.removed)}}else ur(a,e,s);else ur(a,e,s);else ur(a,e,s)}Sr(Ye.afterSanitizeAttributes,e,null)},Ir=function(e){let t=null;const r=gr(e);for(Sr(Ye.beforeSanitizeShadowDOM,e,null);t=r.nextNode();)if(Sr(Ye.uponSanitizeShadowNode,t,null),_r(t,e),Tr(t),xr(t.content)&&Ir(t.content),Ne(t)===ue){const e=Pe(t);xr(e)&&(Nr(e),Ir(e))}Sr(Ye.afterSanitizeShadowDOM,e,null)},Nr=function(e){const t=[{node:e,shadow:null}];for(;t.length>0;){const e=t.pop();if(e.shadow){Ir(e.shadow);continue}const r=e.node,n=Ne(r)===ue,i=$e(r);if(i)for(let o=i.length-1;o>=0;--o)t.push({node:i[o],shadow:null});if(n){const e=Te?Te(r):null;if("string"===typeof e&&"template"===er(e)){const e=r.content;xr(e)&&t.push({node:e,shadow:null})}}if(n){const e=Pe(r);xr(e)&&t.push({node:null,shadow:e},{node:e,shadow:null})}}};return r.sanitize=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=null,i=null,s=null,a=null;if(Vt=!e,Vt&&(e="\x3c!--\x3e"),"string"!==typeof e&&!wr(e)&&"string"!==typeof(e=function(e){switch(typeof e){case"string":return e;case"number":return _(e);case"boolean":return $(e);case"bigint":return A?A(e):"0";case"symbol":return P?P(e):"Symbol()";case"undefined":default:return C(e);case"function":case"object":{if(null===e)return C(e);const t=e,r=z(t,"toString");if("function"===typeof r){const e=r(t);return"string"===typeof e?e:C(e)}return C(e)}}}(e)))throw I("dirty is not a string, aborting");if(!r.isSupported)return e;wt?(st=St,lt=kt):ir(t),(Ye.uponSanitizeElement.length>0||Ye.uponSanitizeAttribute.length>0)&&(st=M(st)),Ye.uponSanitizeAttribute.length>0&&(lt=M(lt)),r.removed=[];const l=Tt&&"string"!==typeof e&&wr(e);if(l){!function(e){if(!vt)return;const t=[e];for(;t.length>0;){const e=t.pop(),n=Ne(e);if(n===fe||n===he&&T(le,e.data)){try{Oe(e)}catch(r){}continue}if(n===ue){const t=e,n=er(Re(e));try{t.hasAttribute&&t.hasAttribute("patchsrc")&&t.removeAttribute("patchsrc"),t.hasAttribute&&t.hasAttribute("for")&&hr("for",n)&&t.removeAttribute("for")}catch(r){}}const i=$e(e);if(i)for(let r=i.length-1;r>=0;--r)t.push(i[r])}}(e);const t=Re(e);if("string"===typeof t){const r=er(t);if(!st[r]||ut[r])throw pr(e),I("root node is forbidden and cannot be sanitized in-place")}if(vr(e))throw pr(e),I("root node is clobbered and cannot be sanitized in-place");try{Nr(e)}catch(u){throw pr(e),u}}else if(wr(e))n=mr("\x3c!----\x3e"),i=n.ownerDocument.importNode(e,!0),i.nodeType===ue&&"BODY"===i.nodeName||"HTML"===i.nodeName?n=i:n.appendChild(i),Nr(n);else{if(!Et&&!bt&&!xt&&-1===e.indexOf("<"))return Le&&$t?qe(e):e;if(n=mr(e),!n)return Et?null:$t?Me:""}n&&Ot&&lr(n.firstChild);const c=l?e:n;try{const e=gr(c);for(;s=e.nextNode();)_r(s,c),Tr(s),xr(s.content)&&Ir(s.content)}catch(u){throw l&&(pr(e),h(r.removed,e=>{e.element&&fr(e.element)})),u}if(l)return h(r.removed,e=>{e.element&&fr(e.element)}),bt&&br(e),e;if(Et){if(bt&&br(n),_t)for(a=Qe.call(n.ownerDocument);n.firstChild;)a.appendChild(n.firstChild);else a=n;return(lt.shadowroot||lt.shadowrootmode)&&(a=Ke.call(o,a,!0)),a}let p=xt?n.outerHTML:n.innerHTML;return xt&&st["!doctype"]&&n.ownerDocument&&n.ownerDocument.doctype&&n.ownerDocument.doctype.name&&T(oe,n.ownerDocument.doctype.name)&&(p="<!DOCTYPE "+n.ownerDocument.doctype.name+">\n"+p),bt&&(p=yr(p)),Le&&$t?qe(p):p},r.setConfig=function(){ir(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}),wt=!0,St=st,kt=lt},r.clearConfig=function(){tr=null,wt=!1,St=null,kt=null,Le=De,Me=""},r.isValidAttribute=function(e,t,r){tr||ir({});const n=er(e),i=er(t);return $r(n,i,r)},r.addHook=function(e,t){"function"===typeof t&&j(Ye,e)&&y(Ye[e],t)},r.removeHook=function(e,t){if(j(Ye,e)){if(void 0!==t){const r=m(Ye[e],t);return-1===r?void 0:b(Ye[e],r,1)[0]}return g(Ye[e])}},r.removeHooks=function(e){j(Ye,e)&&(Ye[e]=[])},r.removeAllHooks=function(){Ye={afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}},r}();e.exports=ke},122(e){"use strict";e.exports=function e(t,r){if(t===r)return!0;
8if(t&&r&&"object"==typeof t&&"object"==typeof r){if(t.constructor!==r.constructor)return!1;var n,i,o;if(Array.isArray(t)){if((n=t.length)!=r.length)return!1;for(i=n;0!==i--;)if(!e(t[i],r[i]))return!1;return!0}if(t.constructor===RegExp)return t.source===r.source&&t.flags===r.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===r.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===r.toString();if((n=(o=Object.keys(t)).length)!==Object.keys(r).length)return!1;for(i=n;0!==i--;)if(!Object.prototype.hasOwnProperty.call(r,o[i]))return!1;for(i=n;0!==i--;){var s=o[i];if(!e(t[s],r[s]))return!1}return!0}return t!==t&&r!==r}},95376(e){e.exports=s,s.default=s,s.stable=p,s.stableStringify=p;var t="[...]",r="[Circular]",n=[],i=[];function o(){return{depthLimit:Number.MAX_SAFE_INTEGER,edgesLimit:Number.MAX_SAFE_INTEGER}}function s(e,t,r,s){var a;"undefined"===typeof s&&(s=o()),l(e,"",0,[],void 0,0,s);try{a=0===i.length?JSON.stringify(e,t,r):JSON.stringify(e,d(t),r)}catch(p){return JSON.stringify("[unable to serialize, circular reference is too complex to analyze]")}finally{for(;0!==n.length;){var c=n.pop();4===c.length?Object.defineProperty(c[0],c[1],c[3]):c[0][c[1]]=c[2]}}return a}function a(e,t,r,o){var s=Object.getOwnPropertyDescriptor(o,r);void 0!==s.get?s.configurable?(Object.defineProperty(o,r,{value:e}),n.push([o,r,t,s])):i.push([t,r,e]):(o[r]=e,n.push([o,r,t]))}function l(e,n,i,o,s,c,p){var u;if(c+=1,"object"===typeof e&&null!==e){for(u=0;u<o.length;u++)if(o[u]===e)return void a(r,e,n,s);if("undefined"!==typeof p.depthLimit&&c>p.depthLimit)return void a(t,e,n,s);if("undefined"!==typeof p.edgesLimit&&i+1>p.edgesLimit)return void a(t,e,n,s);if(o.push(e),Array.isArray(e))for(u=0;u<e.length;u++)l(e[u],u,u,o,e,c,p);else{var d=Object.keys(e);for(u=0;u<d.length;u++){var f=d[u];l(e[f],f,u,o,e,c,p)}}o.pop()}}function c(e,t){return e<t?-1:e>t?1:0}function p(e,t,r,s){"undefined"===typeof s&&(s=o());var a,l=u(e,"",0,[],void 0,0,s)||e;try{a=0===i.length?JSON.stringify(l,t,r):JSON.stringify(l,d(t),r)}catch(p){return JSON.stringify("[unable to serialize, circular reference is too complex to analyze]")}finally{for(;0!==n.length;){var c=n.pop();4===c.length?Object.defineProperty(c[0],c[1],c[3]):c[0][c[1]]=c[2]}}return a}function u(e,i,o,s,l,p,d){var f;if(p+=1,"object"===typeof e&&null!==e){for(f=0;f<s.length;f++)if(s[f]===e)return void a(r,e,i,l);try{if("function"===typeof e.toJSON)return}catch(y){return}if("undefined"!==typeof d.depthLimit&&p>d.depthLimit)return void a(t,e,i,l);if("undefined"!==typeof d.edgesLimit&&o+1>d.edgesLimit)return void a(t,e,i,l);if(s.push(e),Array.isArray(e))for(f=0;f<e.length;f++)u(e[f],f,f,s,e,p,d);else{var h={},m=Object.keys(e).sort(c);for(f=0;f<m.length;f++){var g=m[f];u(e[g],g,f,s,e,p,d),h[g]=e[g]}if("undefined"===typeof l)return h;n.push([l,i,e]),l[i]=h}s.pop()}}function d(e){return e="undefined"!==typeof e?e:function(e,t){return t},function(t,r){if(i.length>0)for(var n=0;n<i.length;n++){var o=i[n];if(o[1]===t&&o[0]===r){r=o[2],i.splice(n,1);break}}return e.call(this,t,r)}}},79970(e){var t=Object.prototype.hasOwnProperty,r=Object.prototype.toString;e.exports=function(e,n,i){if("[object Function]"!==r.call(n))throw new TypeError("iterator must be a function");var o=e.length;if(o===+o)for(var s=0;s<o;s++)n.call(i,e[s],s,e);else for(var a in e)t.call(e,a)&&n.call(i,e[a],a,e)}},4606(e,t,r){"use strict";var n=r(79970);function i(e,t,r){if(3===arguments.length)return i.set(e,t,r);if(2===arguments.length)return i.get(e,t);var n=i.bind(i,e);for(var o in i)i.hasOwnProperty(o)&&(n[o]=i[o].bind(n,e));return n}e.exports=i,i.get=function(e,t){for(var r=Array.isArray(t)?t:i.parse(t),n=0;n<r.length;++n){var o=r[n];if("object"!=typeof e||!(o in e))throw new Error("Invalid reference token: "+o);e=e[o]}return e},i.set=function(e,t,r){var n=Array.isArray(t)?t:i.parse(t),o=n[0];if(0===n.length)throw Error("Can not set the root object");for(var s=0;s<n.length-1;++s){var a=n[s];"string"!==typeof a&&"number"!==typeof a&&(a=String(a)),"__proto__"!==a&&"constructor"!==a&&"prototype"!==a&&("-"===a&&Array.isArray(e)&&(a=e.length),o=n[s+1],a in e||(o.match(/^(\d+|-)$/)?e[a]=[]:e[a]={}),e=e[a])}return"-"===o&&Array.isArray(e)&&(o=e.length),e[o]=r,this},i.remove=function(e,t){var r=Array.isArray(t)?t:i.parse(t),n=r[r.length-1];if(void 0===n)throw new Error('Invalid JSON pointer for remove: "'+t+'"');var o=i.get(e,r.slice(0,-1));if(Array.isArray(o)){var s=+n;
8if(""===n&&isNaN(s))throw new Error('Invalid array index: "'+n+'"');Array.prototype.splice.call(o,s,1)}else delete o[n]},i.dict=function(e,t){var r={};return i.walk(e,function(e,t){r[t]=e},t),r},i.walk=function(e,t,r){var o=[];r=r||function(e){var t=Object.prototype.toString.call(e);return"[object Object]"===t||"[object Array]"===t},function e(s){n(s,function(n,s){o.push(String(s)),r(n)?e(n):t(n,i.compile(o)),o.pop()})}(e)},i.has=function(e,t){try{i.get(e,t)}catch(r){return!1}return!0},i.escape=function(e){return e.toString().replace(/~/g,"~0").replace(/\//g,"~1")},i.unescape=function(e){return e.replace(/~1/g,"/").replace(/~0/g,"~")},i.parse=function(e){if(""===e)return[];if("/"!==e.charAt(0))throw new Error("Invalid JSON pointer: "+e);return e.substring(1).split(/\//).map(i.unescape)},i.compile=function(e){return 0===e.length?"":"/"+e.map(i.escape).join("/")}},47140(e,t,r){var n,i;!function(){var o,s=function(e){var t=new s.Builder;return t.pipeline.add(s.trimmer,s.stopWordFilter,s.stemmer),t.searchPipeline.add(s.stemmer),e.call(t,t),t.build()};s.version="2.3.9",s.utils={},s.utils.warn=(o=this,function(e){o.console&&console.warn&&console.warn(e)}),s.utils.asString=function(e){return void 0===e||null===e?"":e.toString()},s.utils.clone=function(e){if(null===e||void 0===e)return e;for(var t=Object.create(null),r=Object.keys(e),n=0;n<r.length;n++){var i=r[n],o=e[i];if(Array.isArray(o))t[i]=o.slice();else{if("string"!==typeof o&&"number"!==typeof o&&"boolean"!==typeof o)throw new TypeError("clone is not deep and does not support nested objects");t[i]=o}}return t},s.FieldRef=function(e,t,r){this.docRef=e,this.fieldName=t,this._stringValue=r},s.FieldRef.joiner="/",s.FieldRef.fromString=function(e){var t=e.indexOf(s.FieldRef.joiner);if(-1===t)throw"malformed field ref string";var r=e.slice(0,t),n=e.slice(t+1);return new s.FieldRef(n,r,e)},s.FieldRef.prototype.toString=function(){return void 0==this._stringValue&&(this._stringValue=this.fieldName+s.FieldRef.joiner+this.docRef),this._stringValue},s.Set=function(e){if(this.elements=Object.create(null),e){this.length=e.length;for(var t=0;t<this.length;t++)this.elements[e[t]]=!0}else this.length=0},s.Set.complete={intersect:function(e){return e},union:function(){return this},contains:function(){return!0}},s.Set.empty={intersect:function(){return this},union:function(e){return e},contains:function(){return!1}},s.Set.prototype.contains=function(e){return!!this.elements[e]},s.Set.prototype.intersect=function(e){var t,r,n,i=[];if(e===s.Set.complete)return this;if(e===s.Set.empty)return e;this.length<e.length?(t=this,r=e):(t=e,r=this),n=Object.keys(t.elements);for(var o=0;o<n.length;o++){var a=n[o];a in r.elements&&i.push(a)}return new s.Set(i)},s.Set.prototype.union=function(e){return e===s.Set.complete?s.Set.complete:e===s.Set.empty?this:new s.Set(Object.keys(this.elements).concat(Object.keys(e.elements)))},s.idf=function(e,t){var r=0;for(var n in e)"_index"!=n&&(r+=Object.keys(e[n]).length);var i=(t-r+.5)/(r+.5);return Math.log(1+Math.abs(i))},s.Token=function(e,t){this.str=e||"",this.metadata=t||{}},s.Token.prototype.toString=function(){return this.str},s.Token.prototype.update=function(e){return this.str=e(this.str,this.metadata),this},s.Token.prototype.clone=function(e){return e=e||function(e){return e},new s.Token(e(this.str,this.metadata),this.metadata)},s.tokenizer=function(e,t){if(null==e||void 0==e)return[];if(Array.isArray(e))return e.map(function(e){return new s.Token(s.utils.asString(e).toLowerCase(),s.utils.clone(t))});for(var r=e.toString().toLowerCase(),n=r.length,i=[],o=0,a=0;o<=n;o++){var l=o-a;if(r.charAt(o).match(s.tokenizer.separator)||o==n){if(l>0){var c=s.utils.clone(t)||{};c.position=[a,l],c.index=i.length,i.push(new s.Token(r.slice(a,o),c))}a=o+1}}return i},s.tokenizer.separator=/[\s\-]+/,s.Pipeline=function(){this._stack=[]},s.Pipeline.registeredFunctions=Object.create(null),s.Pipeline.registerFunction=function(e,t){t in this.registeredFunctions&&s.utils.warn("Overwriting existing registered function: "+t),e.label=t,s.Pipeline.registeredFunctions[e.label]=e},s.Pipeline.warnIfFunctionNotRegistered=function(e){e.label&&e.label in this.registeredFunctions||s.utils.warn("Function is not registered with pipeline. This may cause problems when serialising the index.\n",e)},s.Pipeline.load=function(e){var t=new s.Pipeline;return e.forEach(function(e){var r=s.Pipeline.registeredFunctions[e];if(!r)throw new Error("Cannot load unregistered function: "+e);t.add(r)}),t},s.Pipeline.prototype.add=function(){Array.prototype.slice.call(arguments).forEac
8h(function(e){s.Pipeline.warnIfFunctionNotRegistered(e),this._stack.push(e)},this)},s.Pipeline.prototype.after=function(e,t){s.Pipeline.warnIfFunctionNotRegistered(t);var r=this._stack.indexOf(e);if(-1==r)throw new Error("Cannot find existingFn");r+=1,this._stack.splice(r,0,t)},s.Pipeline.prototype.before=function(e,t){s.Pipeline.warnIfFunctionNotRegistered(t);var r=this._stack.indexOf(e);if(-1==r)throw new Error("Cannot find existingFn");this._stack.splice(r,0,t)},s.Pipeline.prototype.remove=function(e){var t=this._stack.indexOf(e);-1!=t&&this._stack.splice(t,1)},s.Pipeline.prototype.run=function(e){for(var t=this._stack.length,r=0;r<t;r++){for(var n=this._stack[r],i=[],o=0;o<e.length;o++){var s=n(e[o],o,e);if(null!==s&&void 0!==s&&""!==s)if(Array.isArray(s))for(var a=0;a<s.length;a++)i.push(s[a]);else i.push(s)}e=i}return e},s.Pipeline.prototype.runString=function(e,t){var r=new s.Token(e,t);return this.run([r]).map(function(e){return e.toString()})},s.Pipeline.prototype.reset=function(){this._stack=[]},s.Pipeline.prototype.toJSON=function(){return this._stack.map(function(e){return s.Pipeline.warnIfFunctionNotRegistered(e),e.label})},s.Vector=function(e){this._magnitude=0,this.elements=e||[]},s.Vector.prototype.positionForIndex=function(e){if(0==this.elements.length)return 0;for(var t=0,r=this.elements.length/2,n=r-t,i=Math.floor(n/2),o=this.elements[2*i];n>1&&(o<e&&(t=i),o>e&&(r=i),o!=e);)n=r-t,i=t+Math.floor(n/2),o=this.elements[2*i];return o==e||o>e?2*i:o<e?2*(i+1):void 0},s.Vector.prototype.insert=function(e,t){this.upsert(e,t,function(){throw"duplicate index"})},s.Vector.prototype.upsert=function(e,t,r){this._magnitude=0;var n=this.positionForIndex(e);this.elements[n]==e?this.elements[n+1]=r(this.elements[n+1],t):this.elements.splice(n,0,e,t)},s.Vector.prototype.magnitude=function(){if(this._magnitude)return this._magnitude;for(var e=0,t=this.elements.length,r=1;r<t;r+=2){var n=this.elements[r];e+=n*n}return this._magnitude=Math.sqrt(e)},s.Vector.prototype.dot=function(e){for(var t=0,r=this.elements,n=e.elements,i=r.length,o=n.length,s=0,a=0,l=0,c=0;l<i&&c<o;)(s=r[l])<(a=n[c])?l+=2:s>a?c+=2:s==a&&(t+=r[l+1]*n[c+1],l+=2,c+=2);return t},s.Vector.prototype.similarity=function(e){return this.dot(e)/this.magnitude()||0},s.Vector.prototype.toArray=function(){for(var e=new Array(this.elements.length/2),t=1,r=0;t<this.elements.length;t+=2,r++)e[r]=this.elements[t];return e},s.Vector.prototype.toJSON=function(){return this.elements},s.stemmer=function(){var e={ational:"ate",tional:"tion",enci:"ence",anci:"ance",izer:"ize",bli:"ble",alli:"al",entli:"ent",eli:"e",ousli:"ous",ization:"ize",ation:"ate",ator:"ate",alism:"al",iveness:"ive",fulness:"ful",ousness:"ous",aliti:"al",iviti:"ive",biliti:"ble",logi:"log"},t={icate:"ic",ative:"",alize:"al",iciti:"ic",ical:"ic",ful:"",ness:""},r="[aeiouy]",n="[^aeiou][^aeiouy]*",i=r+"[aeiou]*",o="^("+n+")?"+i+n+"("+i+")?$",s="^("+n+")?"+i+n+i+n,a="^("+n+")?"+r,l=new RegExp("^("+n+")?"+i+n),c=new RegExp(s),p=new RegExp(o),u=new RegExp(a),d=/^(.+?)(ss|i)es$/,f=/^(.+?)([^s])s$/,h=/^(.+?)eed$/,m=/^(.+?)(ed|ing)$/,g=/.$/,y=/(at|bl|iz)$/,b=new RegExp("([^aeiouylsz])\\1$"),v=new RegExp("^"+n+r+"[^aeiouwxy]$"),x=/^(.+?[^aeiou])y$/,w=/^(.+?)(ational|tional|enci|anci|izer|bli|alli|entli|eli|ousli|ization|ation|ator|alism|iveness|fulness|ousness|aliti|iviti|biliti|logi)$/,S=/^(.+?)(icate|ative|alize|iciti|ical|ful|ness)$/,k=/^(.+?)(al|ance|ence|er|ic|able|ible|ant|ement|ment|ent|ou|ism|ate|iti|ous|ive|ize)$/,O=/^(.+?)(s|t)(ion)$/,E=/^(.+?)e$/,_=/ll$/,$=new RegExp("^"+n+r+"[^aeiouwxy]$"),A=function(r){var n,i,o,s,a,A,P;if(r.length<3)return r;if("y"==(o=r.substr(0,1))&&(r=o.toUpperCase()+r.substr(1)),a=f,(s=d).test(r)?r=r.replace(s,"$1$2"):a.test(r)&&(r=r.replace(a,"$1$2")),a=m,(s=h).test(r)){var j=s.exec(r);(s=l).test(j[1])&&(s=g,r=r.replace(s,""))}else if(a.test(r)){n=(j=a.exec(r))[1],(a=u).test(n)&&(A=b,P=v,(a=y).test(r=n)?r+="e":A.test(r)?(s=g,r=r.replace(s,"")):P.test(r)&&(r+="e"))}(s=x).test(r)&&(r=(n=(j=s.exec(r))[1])+"i");(s=w).test(r)&&(n=(j=s.exec(r))[1],i=j[2],(s=l).test(n)&&(r=n+e[i]));(s=S).test(r)&&(n=(j=s.exec(r))[1],i=j[2],(s=l).test(n)&&(r=n+t[i]));if(a=O,(s=k).test(r))n=(j=s.exec(r))[1],(s=c).test(n)&&(r=n);else if(a.test(r)){n=(j=a.exec(r))[1]+j[2],(a=c).test(n)&&(r=n)}(s=E).test(r)&&(n=(j=s.exec(r))[1],a=p,A=$,((s=c).test(n)||a.test(n)&&!A.test(n))&&(r=n));return a=c,(s=_).test(r)&&a.test(r)&&(s=g,r=r.replace(s,"")),"y"==o&&(r=o.toLowerCase()+r.substr(1)),r};return function(e){return e.update(A)}}(),s.Pipeline.registerFunction(s.stemmer,"stemmer"),s.generateStopWordFilter=function(e){var t=e.reduce(function(e,t){return e[t]=t,e},{});return function(e){if(e&&t[e.toString()]!==e.toString())return e}},s.stopWordFilter=s.generateStopWordFilter(["a","able","about","across","after","all","almost","also","am","among","an","and","any","are","as","at","be","because","been","but","by","can","cannot","could","dear","did","do","does","either","else","ever","every","for","from","get","got","had","has","have","he","her","hers","him","his","how","however","i","if","in","into","is","it","its","just","least","let","like","likely","may","me","might","most","must","my","neither","no","nor","not","of","off","often","on","only","or","other","our","own","rather","said","say","says","she","should","since","so","some","than","that","the","their","them","then","there","these","they","this","tis","to","too","twas","us","wants","was","we","were","what","when","where","which","while","who","whom","why","will","with","would","yet","you","your"]),s.Pipeline.registerFunction(s.stopWordFilter,"stopWordFilter"),s.trimmer=function(e){return e.update(function(e){return e.replace(/^\W+/,"").replace(/\W+$/,"")})},s.Pipeline.registerFunction(s.trimmer,"trimmer"),s.TokenSet=function(){this.final=!1,this.edges={},this.id=s.TokenSet._nextId,s.TokenSet._nextId+=1},s.TokenSet._nextId=1,s.TokenSet.fromArray=function(e){for(var t=new s.TokenSet.Builder,r=0,n=e.length;r<n;r++)t.insert(e[r]);return t.finish(),t.root},s.TokenSet.fromClause=function(e){return"editDistance"in e?s.TokenSet.fromFuzzyString(e.term,e.editDistance):s.TokenSet.fromString(e.term)},s.TokenSet.fromFuzzyString=function(e,t){for(var r=new s.TokenSet,n=[{node:r,editsRemaining:t,str:e}];n.length;){var i=n.pop();if(i.str.length>0){var o,a=i.str.charAt(0);a in i.node.edges?o=i.node.edges[a]:(o=new s.TokenSet,i.node.edges[a]=o),1==i.str.length&&(o.final=!0),n.push({node:o,editsRemaining:i.editsRemaining,str:i.str.slice(1)})}if(0!=i.editsRemaining){if("*"in i.node.edges)var l=i.node.edges["*"];else{l=new s.TokenSet;i.node.edges["*"]=l}if(0==i.str.length&&(l.final=!0),n.push({node:l,editsRemaining:i.editsRemaining-1,str:i.str}),i.str.length>1&&n.push({node:i.node,editsRemaining:i.editsRemaining-1,str:i.str.slice(1)}),1==i.str.length&&(i.node.final=!0),i.str.length>=1){if("*"in i.node.edges)var c=i.node.edges["*"];else{c=new s.TokenSet;i.node.edges["*"]=c}1==i.str.length&&(c.final=!0),n.push({node:c,editsRemaining:i.editsRemaining-1,str:i.str.slice(1)})}if(i.str.length>1){var p,u=i.str.charAt(0),d=i.str.charAt(1);d in i.node.edges?p=i.node.edges[d]:(p=new s.TokenSet,i.node.edges[d]=p),1==i.str.length&&(p.final=!0),n.push({node:p,editsRemaining:i.editsRemaining-1,str:u+i.str.slice(2)})}}}return r},s.TokenSet.fromString=function(e){for(var t=new s.TokenSet,r=t,n=0,i=e.length;n<i;n++){var o=e[n],a=n==i-1;
8if("*"==o)t.edges[o]=t,t.final=a;else{var l=new s.TokenSet;l.final=a,t.edges[o]=l,t=l}}return r},s.TokenSet.prototype.toArray=function(){for(var e=[],t=[{prefix:"",node:this}];t.length;){var r=t.pop(),n=Object.keys(r.node.edges),i=n.length;r.node.final&&(r.prefix.charAt(0),e.push(r.prefix));for(var o=0;o<i;o++){var s=n[o];t.push({prefix:r.prefix.concat(s),node:r.node.edges[s]})}}return e},s.TokenSet.prototype.toString=function(){if(this._str)return this._str;for(var e=this.final?"1":"0",t=Object.keys(this.edges).sort(),r=t.length,n=0;n<r;n++){var i=t[n];e=e+i+this.edges[i].id}return e},s.TokenSet.prototype.intersect=function(e){for(var t=new s.TokenSet,r=void 0,n=[{qNode:e,output:t,node:this}];n.length;){r=n.pop();for(var i=Object.keys(r.qNode.edges),o=i.length,a=Object.keys(r.node.edges),l=a.length,c=0;c<o;c++)for(var p=i[c],u=0;u<l;u++){var d=a[u];if(d==p||"*"==p){var f=r.node.edges[d],h=r.qNode.edges[p],m=f.final&&h.final,g=void 0;d in r.output.edges?(g=r.output.edges[d]).final=g.final||m:((g=new s.TokenSet).final=m,r.output.edges[d]=g),n.push({qNode:h,output:g,node:f})}}}return t},s.TokenSet.Builder=function(){this.previousWord="",this.root=new s.TokenSet,this.uncheckedNodes=[],this.minimizedNodes={}},s.TokenSet.Builder.prototype.insert=function(e){var t,r=0;if(e<this.previousWord)throw new Error("Out of order word insertion");for(var n=0;n<e.length&&n<this.previousWord.length&&e[n]==this.previousWord[n];n++)r++;this.minimize(r),t=0==this.uncheckedNodes.length?this.root:this.uncheckedNodes[this.uncheckedNodes.length-1].child;for(n=r;n<e.length;n++){var i=new s.TokenSet,o=e[n];t.edges[o]=i,this.uncheckedNodes.push({parent:t,char:o,child:i}),t=i}t.final=!0,this.previousWord=e},s.TokenSet.Builder.prototype.finish=function(){this.minimize(0)},s.TokenSet.Builder.prototype.minimize=function(e){for(var t=this.uncheckedNodes.length-1;t>=e;t--){var r=this.uncheckedNodes[t],n=r.child.toString();n in this.minimizedNodes?r.parent.edges[r.char]=this.minimizedNodes[n]:(r.child._str=n,this.minimizedNodes[n]=r.child),this.uncheckedNodes.pop()}},s.Index=function(e){this.invertedIndex=e.invertedIndex,this.fieldVectors=e.fieldVectors,this.tokenSet=e.tokenSet,this.fields=e.fields,this.pipeline=e.pipeline},s.Index.prototype.search=function(e){return this.query(function(t){new s.QueryParser(e,t).parse()})},s.Index.prototype.query=function(e){for(var t=new s.Query(this.fields),r=Object.create(null),n=Object.create(null),i=Object.create(null),o=Object.create(null),a=Object.create(null),l=0;l<this.fields.length;l++)n[this.fields[l]]=new s.Vector;e.call(t,t);for(l=0;l<t.clauses.length;l++){var c=t.clauses[l],p=null,u=s.Set.empty;p=c.usePipeline?this.pipeline.runString(c.term,{fields:c.fields}):[c.term];for(var d=0;d<p.length;d++){var f=p[d];c.term=f;var h=s.TokenSet.fromClause(c),m=this.tokenSet.intersect(h).toArray();if(0===m.length&&c.presence===s.Query.presence.REQUIRED){for(var g=0;g<c.fields.length;g++){o[T=c.fields[g]]=s.Set.empty}break}for(var y=0;y<m.length;y++){var b=m[y],v=this.invertedIndex[b],x=v._index;for(g=0;g<c.fields.length;g++){var w=v[T=c.fields[g]],S=Object.keys(w),k=b+"/"+T,O=new s.Set(S);if(c.presence==s.Query.presence.REQUIRED&&(u=u.union(O),void 0===o[T]&&(o[T]=s.Set.complete)),c.presence!=s.Query.presence.PROHIBITED){if(n[T].upsert(x,c.boost,function(e,t){return e+t}),!i[k]){for(var E=0;E<S.length;E++){var _,$=S[E],A=new s.FieldRef($,T),P=w[$];void 0===(_=r[A])?r[A]=new s.MatchData(b,T,P):_.add(b,T,P)}i[k]=!0}}else void 0===a[T]&&(a[T]=s.Set.empty),a[T]=a[T].union(O)}}}if(c.presence===s.Query.presence.REQUIRED)for(g=0;g<c.fields.length;g++){o[T=c.fields[g]]=o[T].intersect(u)}}var j=s.Set.complete,C=s.Set.empty;for(l=0;l<this.fields.length;l++){var T;o[T=this.fields[l]]&&(j=j.intersect(o[T])),a[T]&&(C=C.union(a[T]))}var I=Object.keys(r),N=[],R=Object.create(null);if(t.isNegated()){I=Object.keys(this.fieldVectors);for(l=0;l<I.length;l++){A=I[l];var L=s.FieldRef.fromString(A);r[A]=new s.MatchData}}for(l=0;l<I.length;l++){var D=(L=s.FieldRef.fromString(I[l])).docRef;if(j.contains(D)&&!C.contains(D)){var M,z=this.fieldVectors[L],F=n[L.fieldName].similarity(z);if(void 0!==(M=R[D]))M.score+=F,M.matchData.combine(r[L]);else{var B={ref:D,score:F,matchData:r[L]};R[D]=B,N.push(B)}}}return N.sort(function(e,t){return t.score-e.score})},s.Index.prototype.toJSON=function(){var e=Object.keys(this.invertedIndex).sort().map(function(e){return[e,this.invertedIndex[e]]},this),t=Object.keys(this.fieldVectors).map(function(e){return[e,this.fieldVectors[e].toJSON()]},this);return{version:s.version,fields:this.fields,fieldVectors:t,invertedIndex:e,pipeline:this.pipeline.toJSON()}},s.Index.load=function(e){var t={},r={},n=e.fieldVectors,i=Object.create(null),o=e.invertedIndex,a=new s.TokenSet.Builder,l=s.Pipeline.load(e.pipeline);e.version!=s.version&&s.utils.warn("Version mismatch when loading serialised index. Current version of lunr '"+s.version+"' does not match serialized index '"+e.version+"'");for(var c=0;c<n.length;c++){var p=(d=n[c])[0],u=d[1];r[p]=new s.Vector(u)}for(c=0;c<o.length;c++){var d,f=(d=o[c])[0],h=d[1];a.insert(f),i[f]=h}return a.finish(),t.fields=e.fields,t.fieldVectors=r,t.invertedIndex=i,t.tokenSet=a.root,t.pipeline=l,new s.Index(t)},s.Builder=function(){this._ref="id",this._fields=Object.create(null),this._documents=Object.create(null),this.invertedIndex=Object.create(null),this.fieldTermFrequencies={},this.fieldLengths={},this.tokenizer=s.tokenizer,this.pipeline=new s.Pipeline,this.searchPipeline=new s.Pipeline,this.documentCount=0,this._b=.75,this._k1=1.2,this.termIndex=0,this.metadataWhitelist=[]},s.Builder.prototype.ref=function(e){this._ref=e},s.Builder.prototype.field=function(e,t){if(/\//.test(e))throw new RangeError("Field '"+e+"' contains illegal character '/'");this._fields[e]=t||{}},s.Builder.prototype.b=function(e){this._b=e<0?0:e>1?1:e},s.Builder.prototype.k1=function(e){this._k1=e},s.Builder.prototype.add=function(e,t){var r=e[this._ref],n=Object.keys(this._fields);this._documents[r]=t||{},this.documentCount+=1;for(var i=0;i<n.length;i++){var o=n[i],a=this._fields[o].extractor,l=a?a(e):e[o],c=this.tokenizer(l,{fields:[o]}),p=this.pipeline.run(c),u=new s.FieldRef(r,o),d=Object.create(null);this.fieldTermFrequencies[u]=d,this.fieldLengths[u]=0,this.fieldLengths[u]+=p.length;for(var f=0;f<p.length;f++){var h=p[f];if(void 0==d[h]&&(d[h]=0),d[h]+=1,void 0==this.invertedIndex[h]){var m=Object.create(null);m._index=this.termIndex,this.termIndex+=1;for(var g=0;g<n.length;g++)m[n[g]]=Object.create(null);this.invertedIndex[h]=m}void 0==this.invertedIndex[h][o][r]&&(this.invertedIndex[h][o][r]=Object.create(null));for(var y=0;y<this.metadataWhitelist.length;y++){var b=this.metadataWhitelist[y],v=h.metadata[b];void 0==this.invertedIndex[h][o][r][b]&&(this.invertedIndex[h][o][r][b]=[]),this.invertedIndex[h][o][r][b].push(v)}}}},s.Builder.prototype.calculateAverageFieldLengths=function(){for(var e=Object.keys(this.fieldLengths),t=e.length,r={},n={},i=0;i<t;i++){var o=s.FieldRef.fromString(e[i]),a=o.fieldName;n[a]||(n[a]=0),n[a]+=1,r[a]||(r[a]=0),r[a]+=this.fieldLengths[o]}var l=Object.keys(this._fields);for(i=0;i<l.length;i++){var c=l[i];r[c]=r[c]/n[c]}this.averageFieldLength=r},s.Builder.prototype.createFieldVectors=function(){for(var e={},t=Object.keys(this.fieldTermFrequencies),r=t.length,n=Object.create(null),i=0;i<r;i++){for(var o=s.FieldRef.fromString(t[i]),a=o.fieldName,l=this.fieldLengths[o],c=new s.Vector,p=this.fieldTermFrequencies[o],u=Object.keys(p),d=u.length,f=this._fields[a].boost||1,h=this._documents[o.docRef].boost||1,m=0;m<d;m++){var g,y,b,v=u[m],x=p[v],w=this.invertedIndex[v]._index;void 0===n[v]?(g=s.idf(this.invertedIndex[v],this.documentCount),n[v]=g):g=n[v],y=g*((this._k1+1)*x)/(this._k1*(1-this._b+this._b*(l/this.averageFieldLength[a]))+x),y*=f,y*=h,b=Math.round(1e3*y)/1e3,c.insert(w,b)}e[o]=c}this.fieldVectors=e},s.Builder.prototype.createTokenSet=function(){this.tokenSet=s.TokenSet.fromArray(Object.keys(this.invertedIndex).sort())},s.Builder.prototype.build=function(){return this.calculateAverageFieldLengths(),this.createFieldVectors(),this.createTokenSet(),new s.Index({invertedIndex:this.invertedIndex,fieldVectors:this.fieldVectors,tokenSet:this.tokenSet,fields:Object.keys(this._fields),pipeline:this.searchPipeline})},s.Builder.prototype.use=function(e){var t=Array.prototype.slice.call(arguments,1
vendor: 4,613 bytes, line 8
8);t.unshift(this),e.apply(this,t)},s.MatchData=function(e,t,r){for(var n=Object.create(null),i=Object.keys(r||{}),o=0;o<i.length;o++){var s=i[o];n[s]=r[s].slice()}this.metadata=Object.create(null),void 0!==e&&(this.metadata[e]=Object.create(null),this.metadata[e][t]=n)},s.MatchData.prototype.combine=function(e){for(var t=Object.keys(e.metadata),r=0;r<t.length;r++){var n=t[r],i=Object.keys(e.metadata[n]);void 0==this.metadata[n]&&(this.metadata[n]=Object.create(null));for(var o=0;o<i.length;o++){var s=i[o],a=Object.keys(e.metadata[n][s]);void 0==this.metadata[n][s]&&(this.metadata[n][s]=Object.create(null));for(var l=0;l<a.length;l++){var c=a[l];void 0==this.metadata[n][s][c]?this.metadata[n][s][c]=e.metadata[n][s][c]:this.metadata[n][s][c]=this.metadata[n][s][c].concat(e.metadata[n][s][c])}}}},s.MatchData.prototype.add=function(e,t,r){if(!(e in this.metadata))return this.metadata[e]=Object.create(null),void(this.metadata[e][t]=r);if(t in this.metadata[e])for(var n=Object.keys(r),i=0;i<n.length;i++){var o=n[i];o in this.metadata[e][t]?this.metadata[e][t][o]=this.metadata[e][t][o].concat(r[o]):this.metadata[e][t][o]=r[o]}else this.metadata[e][t]=r},s.Query=function(e){this.clauses=[],this.allFields=e},s.Query.wildcard=new String("*"),s.Query.wildcard.NONE=0,s.Query.wildcard.LEADING=1,s.Query.wildcard.TRAILING=2,s.Query.presence={OPTIONAL:1,REQUIRED:2,PROHIBITED:3},s.Query.prototype.clause=function(e){return"fields"in e||(e.fields=this.allFields),"boost"in e||(e.boost=1),"usePipeline"in e||(e.usePipeline=!0),"wildcard"in e||(e.wildcard=s.Query.wildcard.NONE),e.wildcard&s.Query.wildcard.LEADING&&e.term.charAt(0)!=s.Query.wildcard&&(e.term="*"+e.term),e.wildcard&s.Query.wildcard.TRAILING&&e.term.slice(-1)!=s.Query.wildcard&&(e.term=e.term+"*"),"presence"in e||(e.presence=s.Query.presence.OPTIONAL),this.clauses.push(e),this},s.Query.prototype.isNegated=function(){for(var e=0;e<this.clauses.length;e++)if(this.clauses[e].presence!=s.Query.presence.PROHIBITED)return!1;return!0},s.Query.prototype.term=function(e,t){if(Array.isArray(e))return e.forEach(function(e){this.term(e,s.utils.clone(t))},this),this;var r=t||{};return r.term=e.toString(),this.clause(r),this},s.QueryParseError=function(e,t,r){this.name="QueryParseError",this.message=e,this.start=t,this.end=r},s.QueryParseError.prototype=new Error,s.QueryLexer=function(e){this.lexemes=[],this.str=e,this.length=e.length,this.pos=0,this.start=0,this.escapeCharPositions=[]},s.QueryLexer.prototype.run=function(){for(var e=s.QueryLexer.lexText;e;)e=e(this)},s.QueryLexer.prototype.sliceString=function(){for(var e=[],t=this.start,r=this.pos,n=0;n<this.escapeCharPositions.length;n++)r=this.escapeCharPositions[n],e.push(this.str.slice(t,r)),t=r+1;return e.push(this.str.slice(t,this.pos)),this.escapeCharPositions.length=0,e.join("")},s.QueryLexer.prototype.emit=function(e){this.lexemes.push({type:e,str:this.sliceString(),start:this.start,end:this.pos}),this.start=this.pos},s.QueryLexer.prototype.escapeCharacter=function(){this.escapeCharPositions.push(this.pos-1),this.pos+=1},s.QueryLexer.prototype.next=function(){if(this.pos>=this.length)return s.QueryLexer.EOS;var e=this.str.charAt(this.pos);return this.pos+=1,e},s.QueryLexer.prototype.width=function(){return this.pos-this.start},s.QueryLexer.prototype.ignore=function(){this.start==this.pos&&(this.pos+=1),this.start=this.pos},s.QueryLexer.prototype.backup=function(){this.pos-=1},s.QueryLexer.prototype.acceptDigitRun=function(){var e,t;do{t=(e=this.next()).charCodeAt(0)}while(t>47&&t<58);e!=s.QueryLexer.EOS&&this.backup()},s.QueryLexer.prototype.more=function(){return this.pos<this.length},s.QueryLexer.EOS="EOS",s.QueryLexer.FIELD="FIELD",s.QueryLexer.TERM="TERM",s.QueryLexer.EDIT_DISTANCE="EDIT_DISTANCE",s.QueryLexer.BOOST="BOOST",s.QueryLexer.PRESENCE="PRESENCE",s.QueryLexer.lexField=function(e){return e.backup(),e.emit(s.QueryLexer.FIELD),e.ignore(),s.QueryLexer.lexText},s.QueryLexer.lexTerm=function(e){if(e.width()>1&&(e.backup(),e.emit(s.QueryLexer.TERM)),e.ignore(),e.more())return s.QueryLexer.lexText},s.QueryLexer.lexEditDistance=function(e){return e.ignore(),e.acceptDigitRun(),e.emit(s.QueryLexer.EDIT_DISTANCE),s.QueryLexer.lexText},s.QueryLexer.lexBoost=function(e){return e.ignore(),e.acceptDigitRun(),e.emit(s.QueryLexer.BOOST),s.QueryLexer.lexText},s.QueryLexer.lexEOS=function(e){e.width()>0&&e.emit(s.QueryLexer.TERM)},s.QueryLexer.termSeparator=s.tokenizer.separator,s.QueryLexer.lexText=function(e){for(;;){var t=e.next();if(t==s.QueryLexer.EOS)return s.QueryLexer.lexEOS;if(92!=t.charCodeAt(0)){if(":"==t)return s.QueryLexer.lexField;
8if("~"==t)return e.backup(),e.width()>0&&e.emit(s.QueryLexer.TERM),s.QueryLexer.lexEditDistance;if("^"==t)return e.backup(),e.width()>0&&e.emit(s.QueryLexer.TERM),s.QueryLexer.lexBoost;if("+"==t&&1===e.width())return e.emit(s.QueryLexer.PRESENCE),s.QueryLexer.lexText;if("-"==t&&1===e.width())return e.emit(s.QueryLexer.PRESENCE),s.QueryLexer.lexText;if(t.match(s.QueryLexer.termSeparator))return s.QueryLexer.lexTerm}else e.escapeCharacter()}},s.QueryParser=function(e,t){this.lexer=new s.QueryLexer(e),this.query=t,this.currentClause={},this.lexemeIdx=0},s.QueryParser.prototype.parse=function(){this.lexer.run(),this.lexemes=this.lexer.lexemes;for(var e=s.QueryParser.parseClause;e;)e=e(this);return this.query},s.QueryParser.prototype.peekLexeme=function(){return this.lexemes[this.lexemeIdx]},s.QueryParser.prototype.consumeLexeme=function(){var e=this.peekLexeme();return this.lexemeIdx+=1,e},s.QueryParser.prototype.nextClause=function(){var e=this.currentClause;this.query.clause(e),this.currentClause={}},s.QueryParser.parseClause=function(e){var t=e.peekLexeme();if(void 0!=t)switch(t.type){case s.QueryLexer.PRESENCE:return s.QueryParser.parsePresence;case s.QueryLexer.FIELD:return s.QueryParser.parseField;case s.QueryLexer.TERM:return s.QueryParser.parseTerm;default:var r="expected either a field or a term, found "+t.type;throw t.str.length>=1&&(r+=" with value '"+t.str+"'"),new s.QueryParseError(r,t.start,t.end)}},s.QueryParser.parsePresence=function(e){var t=e.consumeLexeme();if(void 0!=t){switch(t.str){case"-":e.currentClause.presence=s.Query.presence.PROHIBITED;break;case"+":e.currentClause.presence=s.Query.presence.REQUIRED;break;default:var r="unrecognised presence operator'"+t.str+"'";throw new s.QueryParseError(r,t.start,t.end)}var n=e.peekLexeme();if(void 0==n){r="expecting term or field, found nothing";throw new s.QueryParseError(r,t.start,t.end)}switch(n.type){case s.QueryLexer.FIELD:return s.QueryParser.parseField;case s.QueryLexer.TERM:return s.QueryParser.parseTerm;default:r="expecting term or field, found '"+n.type+"'";throw new s.QueryParseError(r,n.start,n.end)}}},s.QueryParser.parseField=function(e){var t=e.consumeLexeme();if(void 0!=t){if(-1==e.query.allFields.indexOf(t.str)){var r=e.query.allFields.map(function(e){return"'"+e+"'"}).join(", "),n="unrecognised field '"+t.str+"', possible fields: "+r;throw new s.QueryParseError(n,t.start,t.end)}e.currentClause.fields=[t.str];var i=e.peekLexeme();if(void 0==i){n="expecting term, found nothing";throw new s.QueryParseError(n,t.start,t.end)}if(i.type===s.QueryLexer.TERM)return s.QueryParser.parseTerm;n="expecting term, found '"+i.type+"'";throw new s.QueryParseError(n,i.start,i.end)}},s.QueryParser.parseTerm=function(e){var t=e.consumeLexeme();if(void 0!=t){e.currentClause.term=t.str.toLowerCase(),-1!=t.str.indexOf("*")&&(e.currentClause.usePipeline=!1);var r=e.peekLexeme();if(void 0!=r)switch(r.type){case s.QueryLexer.TERM:return e.nextClause(),s.QueryParser.parseTerm;case s.QueryLexer.FIELD:return e.nextClause(),s.QueryParser.parseField;case s.QueryLexer.EDIT_DISTANCE:return s.QueryParser.parseEditDistance;case s.QueryLexer.BOOST:return s.QueryParser.parseBoost;case s.QueryLexer.PRESENCE:return e.nextClause(),s.QueryParser.parsePresence;default:var n="Unexpected lexeme type '"+r.type+"'";throw new s.QueryParseError(n,r.start,r.end)}else e.nextClause()}},s.QueryParser.parseEditDistance=function(e){var t=e.consumeLexeme();if(void 0!=t){var r=parseInt(t.str,10);if(isNaN(r)){var n="edit distance must be numeric";throw new s.QueryParseError(n,t.start,t.end)}e.currentClause.editDistance=r;var i=e.peekLexeme();if(void 0!=i)switch(i.type){case s.QueryLexer.TERM:return e.nextClause(),s.QueryParser.parseTerm;case s.QueryLexer.FIELD:return e.nextClause(),s.QueryParser.parseField;case s.QueryLexer.EDIT_DISTANCE:return s.QueryParser.parseEditDistance;case s.QueryLexer.BOOST:return s.QueryParser.parseBoost;case s.QueryLexer.PRESENCE:return e.nextClause(),s.QueryParser.parsePresence;default:n="Unexpected lexeme type '"+i.type+"'";throw new s.QueryParseError(n,i.start,i.end)}else e.nextClause()}}
8,s.QueryParser.parseBoost=function(e){var t=e.consumeLexeme();if(void 0!=t){var r=parseInt(t.str,10);if(isNaN(r)){var n="boost must be numeric";throw new s.QueryParseError(n,t.start,t.end)}e.currentClause.boost=r;var i=e.peekLexeme();if(void 0!=i)switch(i.type){case s.QueryLexer.TERM:return e.nextClause(),s.QueryParser.parseTerm;case s.QueryLexer.FIELD:return e.nextClause(),s.QueryParser.parseField;case s.QueryLexer.EDIT_DISTANCE:return s.QueryParser.parseEditDistance;case s.QueryLexer.BOOST:return s.QueryParser.parseBoost;case s.QueryLexer.PRESENCE:return e.nextClause(),s.QueryParser.parsePresence;default:n="Unexpected lexeme type '"+i.type+"'";throw new s.QueryParseError(n,i.start,i.end)}else e.nextClause()}},void 0===(i="function"===typeof(n=function(){return s})?n.call(t,r,t,e):n)||(e.exports=i)}()},65322(e){e.exports=function(){"use strict";var e="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},t=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},r=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},i=function(){function e(r){var n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:5e3;t(this,e),this.ctx=r,this.iframes=n,this.exclude=i,this.iframesTimeout=o}return r(e,[{key:"getContexts",value:function(){var e=[];return("undefined"!==typeof this.ctx&&this.ctx?NodeList.prototype.isPrototypeOf(this.ctx)?Array.prototype.slice.call(this.ctx):Array.isArray(this.ctx)?this.ctx:"string"===typeof this.ctx?Array.prototype.slice.call(document.querySelectorAll(this.ctx)):[this.ctx]:[]).forEach(function(t){var r=e.filter(function(e){return e.contains(t)}).length>0;-1!==e.indexOf(t)||r||e.push(t)}),e}},{key:"getIframeContents",value:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:function(){},n=void 0;try{var i=e.contentWindow;if(n=i.document,!i||!n)throw new Error("iframe inaccessible")}catch(o){r()}n&&t(n)}},{key:"isIframeBlank",value:function(e){var t="about:blank",r=e.getAttribute("src").trim();return e.contentWindow.location.href===t&&r!==t&&r}},{key:"observeIframeLoad",value:function(e,t,r){var n=this,i=!1,o=null,s=function s(){if(!i){i=!0,clearTimeout(o);try{n.isIframeBlank(e)||(e.removeEventListener("load",s),n.getIframeContents(e,t,r))}catch(a){r()}}};e.addEventListener("load",s),o=setTimeout(s,this.iframesTimeout)}},{key:"onIframeReady",value:function(e,t,r){try{"complete"===e.contentWindow.document.readyState?this.isIframeBlank(e)?this.observeIframeLoad(e,t,r):this.getIframeContents(e,t,r):this.observeIframeLoad(e,t,r)}catch(n){r()}}},{key:"waitForIframes",value:function(e,t){var r=this,n=0;this.forEachIframe(e,function(){return!0},function(e){n++,r.waitForIframes(e.querySelector("html"),function(){--n||t()})},function(e){e||t()})}},{key:"forEachIframe",value:function(t,r,n){var i=this,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:function(){},s=t.querySelectorAll("iframe"),a=s.length,l=0;s=Array.prototype.slice.call(s);var c=function(){--a<=0&&o(l)};
vendor: 4,656 bytes, line 8
8a||c(),s.forEach(function(t){e.matches(t,i.exclude)?c():i.onIframeReady(t,function(e){r(t)&&(l++,n(e)),c()},c)})}},{key:"createIterator",value:function(e,t,r){return document.createNodeIterator(e,t,r,!1)}},{key:"createInstanceOnIframe",value:function(t){return new e(t.querySelector("html"),this.iframes)}},{key:"compareNodeIframe",value:function(e,t,r){if(e.compareDocumentPosition(r)&Node.DOCUMENT_POSITION_PRECEDING){if(null===t)return!0;if(t.compareDocumentPosition(r)&Node.DOCUMENT_POSITION_FOLLOWING)return!0}return!1}},{key:"getIteratorNode",value:function(e){var t=e.previousNode();return{prevNode:t,node:(null===t||e.nextNode())&&e.nextNode()}}},{key:"checkIframeFilter",value:function(e,t,r,n){var i=!1,o=!1;return n.forEach(function(e,t){e.val===r&&(i=t,o=e.handled)}),this.compareNodeIframe(e,t,r)?(!1!==i||o?!1===i||o||(n[i].handled=!0):n.push({val:r,handled:!0}),!0):(!1===i&&n.push({val:r,handled:!1}),!1)}},{key:"handleOpenIframes",value:function(e,t,r,n){var i=this;e.forEach(function(e){e.handled||i.getIframeContents(e.val,function(e){i.createInstanceOnIframe(e).forEachNode(t,r,n)})})}},{key:"iterateThroughNodes",value:function(e,t,r,n,i){for(var o=this,s=this.createIterator(t,e,n),a=[],l=[],c=void 0,p=void 0,u=function(){var e=o.getIteratorNode(s);return p=e.prevNode,c=e.node};u();)this.iframes&&this.forEachIframe(t,function(e){return o.checkIframeFilter(c,p,e,a)},function(t){o.createInstanceOnIframe(t).forEachNode(e,function(e){return l.push(e)},n)}),l.push(c);l.forEach(function(e){r(e)}),this.iframes&&this.handleOpenIframes(a,e,r,n),i()}},{key:"forEachNode",value:function(e,t,r){var n=this,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:function(){},o=this.getContexts(),s=o.length;s||i(),o.forEach(function(o){var a=function(){n.iterateThroughNodes(e,o,t,r,function(){--s<=0&&i()})};n.iframes?n.waitForIframes(o,a):a()})}}],[{key:"matches",value:function(e,t){var r="string"===typeof t?[t]:t,n=e.matches||e.matchesSelector||e.msMatchesSelector||e.mozMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector;if(n){var i=!1;return r.every(function(t){return!n.call(e,t)||(i=!0,!1)}),i}return!1}}]),e}(),o=function(){function o(e){t(this,o),this.ctx=e,this.ie=!1;var r=window.navigator.userAgent;(r.indexOf("MSIE")>-1||r.indexOf("Trident")>-1)&&(this.ie=!0)}return r(o,[{key:"log",value:function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"debug",n=this.opt.log;this.opt.debug&&"object"===("undefined"===typeof n?"undefined":e(n))&&"function"===typeof n[r]&&n[r]("mark.js: "+t)}},{key:"escapeStr",value:function(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}},{key:"createRegExp",value:function(e){return"disabled"!==this.opt.wildcards&&(e=this.setupWildcardsRegExp(e)),e=this.escapeStr(e),Object.keys(this.opt.synonyms).length&&(e=this.createSynonymsRegExp(e)),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.setupIgnoreJoinersRegExp(e)),this.opt.diacritics&&(e=this.createDiacriticsRegExp(e)),e=this.createMergedBlanksRegExp(e),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.createJoinersRegExp(e)),"disabled"!==this.opt.wildcards&&(e=this.createWildcardsRegExp(e)),e=this.createAccuracyRegExp(e)}},{key:"createSynonymsRegExp",value:function(e){var t=this.opt.synonyms,r=this.opt.caseSensitive?"":"i",n=this.opt.ignoreJoiners||this.opt.ignorePunctuation.length?"\0":"";for(var i in t)if(t.hasOwnProperty(i)){var o=t[i],s="disabled"!==this.opt.wildcards?this.setupWildcardsRegExp(i):this.escapeStr(i),a="disabled"!==this.opt.wildcards?this.setupWildcardsRegExp(o):this.escapeStr(o);""!==s&&""!==a&&(e=e.replace(new RegExp("("+this.escapeStr(s)+"|"+this.escapeStr(a)+")","gm"+r),n+"("+this.processSynomyms(s)+"|"+this.processSynomyms(a)+")"+n))}return e}},{key:"processSynomyms",value:function(e){return(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.setupIgnoreJoinersRegExp(e)),e}},{key:"setupWildcardsRegExp",value:function(e){return(e=e.replace(/(?:\\)*\?/g,function(e){return"\\"===e.charAt(0)?"?":"\x01"})).replace(/(?:\\)*\*/g,function(e){return"\\"===e.charAt(0)?"*":"\x02"})}},{key:"createWildcardsRegExp",value:function(e){var t="withSpaces"===this.opt.wildcards;return e.replace(/\u0001/g,t?"[\\S\\s]?":"\\S?").replace(/\u0002/g,t?"[\\S\\s]*?":"\\S*")}},{key:"setupIgnoreJoinersRegExp",value:function(e){return e.replace(/[^(|)\\]/g,function(e,t,r){var n=r.charAt(t+1);return/[(|)\\]/.test(n)||""===n?e:e+"\0"})}},{key:"createJoinersRegExp",value:function(e){var t=[],r=this.opt.ignorePunctuation;return Array.isArray(r)&&r.length&&t.push(this.escapeStr(r.join(""))),this.opt.ignoreJoiners&&t.pu
8sh("\\u00ad\\u200b\\u200c\\u200d"),t.length?e.split(/\u0000+/).join("["+t.join("")+"]*"):e}},{key:"createDiacriticsRegExp",value:function(e){var t=this.opt.caseSensitive?"":"i",r=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"],n=[];return e.split("").forEach(function(i){r.every(function(r){if(-1!==r.indexOf(i)){if(n.indexOf(r)>-1)return!1;e=e.replace(new RegExp("["+r+"]","gm"+t),"["+r+"]"),n.push(r)}return!0})}),e}},{key:"createMergedBlanksRegExp",value:function(e){return e.replace(/[\s]+/gim,"[\\s]+")}},{key:"createAccuracyRegExp",value:function(e){var t=this,r="!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~\xa1\xbf",n=this.opt.accuracy,i="string"===typeof n?n:n.value,o="string"===typeof n?[]:n.limiters,s="";
vendor: 4,787 bytes, line 8
8switch(o.forEach(function(e){s+="|"+t.escapeStr(e)}),i){case"partially":default:return"()("+e+")";case"complementary":return"()([^"+(s="\\s"+(s||this.escapeStr(r)))+"]*"+e+"[^"+s+"]*)";case"exactly":return"(^|\\s"+s+")("+e+")(?=$|\\s"+s+")"}}},{key:"getSeparatedKeywords",value:function(e){var t=this,r=[];return e.forEach(function(e){t.opt.separateWordSearch?e.split(" ").forEach(function(e){e.trim()&&-1===r.indexOf(e)&&r.push(e)}):e.trim()&&-1===r.indexOf(e)&&r.push(e)}),{keywords:r.sort(function(e,t){return t.length-e.length}),length:r.length}}},{key:"isNumeric",value:function(e){return Number(parseFloat(e))==e}},{key:"checkRanges",value:function(e){var t=this;if(!Array.isArray(e)||"[object Object]"!==Object.prototype.toString.call(e[0]))return this.log("markRanges() will only accept an array of objects"),this.opt.noMatch(e),[];var r=[],n=0;return e.sort(function(e,t){return e.start-t.start}).forEach(function(e){var i=t.callNoMatchOnInvalidRanges(e,n),o=i.start,s=i.end;i.valid&&(e.start=o,e.length=s-o,r.push(e),n=s)}),r}},{key:"callNoMatchOnInvalidRanges",value:function(e,t){var r=void 0,n=void 0,i=!1;return e&&"undefined"!==typeof e.start?(n=(r=parseInt(e.start,10))+parseInt(e.length,10),this.isNumeric(e.start)&&this.isNumeric(e.length)&&n-t>0&&n-r>0?i=!0:(this.log("Ignoring invalid or overlapping range: "+JSON.stringify(e)),this.opt.noMatch(e))):(this.log("Ignoring invalid range: "+JSON.stringify(e)),this.opt.noMatch(e)),{start:r,end:n,valid:i}}},{key:"checkWhitespaceRanges",value:function(e,t,r){var n=void 0,i=!0,o=r.length,s=t-o,a=parseInt(e.start,10)-s;return(n=(a=a>o?o:a)+parseInt(e.length,10))>o&&(n=o,this.log("End range automatically set to the max value of "+o)),a<0||n-a<0||a>o||n>o?(i=!1,this.log("Invalid range: "+JSON.stringify(e)),this.opt.noMatch(e)):""===r.substring(a,n).replace(/\s+/g,"")&&(i=!1,this.log("Skipping whitespace only range: "+JSON.stringify(e)),this.opt.noMatch(e)),{start:a,end:n,valid:i}}},{key:"getTextNodes",value:function(e){var t=this,r="",n=[];this.iterator.forEachNode(NodeFilter.SHOW_TEXT,function(e){n.push({start:r.length,end:(r+=e.textContent).length,node:e})},function(e){return t.matchesExclude(e.parentNode)?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT},function(){e({value:r,nodes:n})})}},{key:"matchesExclude",value:function(e){return i.matches(e,this.opt.exclude.concat(["script","style","title","head","html"]))}},{key:"wrapRangeInTextNode",value:function(e,t,r){var n=this.opt.element?this.opt.element:"mark",i=e.splitText(t),o=i.splitText(r-t),s=document.createElement(n);return s.setAttribute("data-markjs","true"),this.opt.className&&s.setAttribute("class",this.opt.className),s.textContent=i.textContent,i.parentNode.replaceChild(s,i),o}},{key:"wrapRangeInMappedTextNode",value:function(e,t,r,n,i){var o=this;e.nodes.every(function(s,a){var l=e.nodes[a+1];if("undefined"===typeof l||l.start>t){if(!n(s.node))return!1;var c=t-s.start,p=(r>s.end?s.end:r)-s.start,u=e.value.substr(0,s.start),d=e.value.substr(p+s.start);if(s.node=o.wrapRangeInTextNode(s.node,c,p),e.value=u+d,e.nodes.forEach(function(t,r){r>=a&&(e.nodes[r].start>0&&r!==a&&(e.nodes[r].start-=p),e.nodes[r].end-=p)}),r-=p,i(s.node.previousSibling,s.start),!(r>s.end))return!1;t=s.end}return!0})}},{key:"wrapMatches",value:function(e,t,r,n,i){var o=this,s=0===t?0:t+1;this.getTextNodes(function(t){t.nodes.forEach(function(t){t=t.node;for(var i=void 0;null!==(i=e.exec(t.textContent))&&""!==i[s];)if(r(i[s],t)){var a=i.index;if(0!==s)for(var l=1;l<s;l++)a+=i[l].length;t=o.wrapRangeInTextNode(t,a,a+i[s].length),n(t.previousSibling),e.lastIndex=0}}),i()})}},{key:"wrapMatchesAcrossElements",value:function(e,t,r,n,i){var o=this,s=0===t?0:t+1;this.getTextNodes(function(t){for(var a=void 0;null!==(a=e.exec(t.value))&&""!==a[s];){var l=a.index;if(0!==s)for(var c=1;c<s;c++)l+=a[c].length;var p=l+a[s].length;o.wrapRangeInMappedTextNode(t,l,p,function(e){return r(a[s],e)},function(t,r){e.lastIndex=r,n(t)})}i()})}},{key:"wrapRangeFromIndex",value:function(e,t,r,n){var i=this;this.getTextNodes(function(o){var s=o.value.length;e.forEach(function(e,n){var a=i.checkWhitespaceRanges(e,s,o.value),l=a.start,c=a.end;a.valid&&i.wrapRangeInMappedTextNode(o,l,c,function(r){return t(r,e,o.value.substring(l,c),n)},function(t){r(t,e)})}),n()})}},{key:"unwrapMatches",value:function(e){for(var t=e.parentNode,r=document.createDocumentFragment();e.firstChild;)r.appendChild(e.removeChild(e.firstChild));t.replaceChild(r,e),this.ie?this.normalizeTextNode(t):t.normalize()}},{key:"normalizeTextNode",value:function(e){if(e){if(3===e.nodeType)for(;e.nextSibling&&3===e.nextSibling.nodeType;)e.nodeValue+=e.nextSibling.nodeValue,e.parentNode.removeChild(e.nextSibling);else this.normalizeTextNode(e.firstChild);this.normalizeTextNode(e.nextSibling)}}}
8,{key:"markRegExp",value:function(e,t){var r=this;this.opt=t,this.log('Searching with expression "'+e+'"');var n=0,i="wrapMatches",o=function(e){n++,r.opt.each(e)};this.opt.acrossElements&&(i="wrapMatchesAcrossElements"),this[i](e,this.opt.ignoreGroups,function(e,t){return r.opt.filter(t,e,n)},o,function(){0===n&&r.opt.noMatch(e),r.opt.done(n)})}},{key:"mark",value:function(e,t){var r=this;this.opt=t;var n=0,i="wrapMatches",o=this.getSeparatedKeywords("string"===typeof e?[e]:e),s=o.keywords,a=o.length,l=this.opt.caseSensitive?"":"i",c=function e(t){var o=new RegExp(r.createRegExp(t),"gm"+l),c=0;r.log('Searching with expression "'+o+'"'),r[i](o,1,function(e,i){return r.opt.filter(i,t,n,c)},function(e){c++,n++,r.opt.each(e)},function(){0===c&&r.opt.noMatch(t),s[a-1]===t?r.opt.done(n):e(s[s.indexOf(t)+1])})};this.opt.acrossElements&&(i="wrapMatchesAcrossElements"),0===a?this.opt.done(n):c(s[0])}},{key:"markRanges",value:function(e,t){var r=this;this.opt=t;var n=0,i=this.checkRanges(e);i&&i.length?(this.log("Starting to mark with the following ranges: "+JSON.stringify(i)),this.wrapRangeFromIndex(i,function(e,t,n,i){return r.opt.filter(e,t,n,i)},function(e,t){n++,r.opt.each(e,t)},function(){r.opt.done(n)})):this.opt.done(n)}},{key:"unmark",value:function(e){var t=this;this.opt=e;var r=this.opt.element?this.opt.element:"*";r+="[data-markjs]",this.opt.className&&(r+="."+this.opt.className),this.log('Removal selector "'+r+'"'),this.iterator.forEachNode(NodeFilter.SHOW_ELEMENT,function(e){t.unwrapMatches(e)},function(e){var n=i.matches(e,r),o=t.matchesExclude(e);return!n||o?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT},this.opt.done)}},{key:"opt",set:function(e){this._opt=n({},{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},e)},get:function(){return this._opt}},{key:"iterator",get:function(){return new i(this.ctx,this.opt.iframes,this.opt.exclude,this.opt.iframesTimeout)}}]),o}();function s(e){var t=this,r=new o(e);return this.mark=function(e,n){return r.mark(e,n),t},this.markRegExp=function(e,n){return r.markRegExp(e,n),t},this.markRanges=function(e,n){return r.markRanges(e,n),t},this.unmark=function(e){return r.unmark(e),t},this}return s}()},96233(e,t,r){"use strict";r.r(t),r.d(t,{MobXProviderContext:()=>K,Observer:()=>_,PropTypes:()=>ce,Provider:()=>Y,disposeOnUnmount:()=>ie,enableStaticRendering:()=>p,inject:()=>X,isUsingStaticRendering:()=>u,observer:()=>H,observerBatching:()=>a,useAsObservableSource:()=>A,useLocalObservable:()=>$,useLocalStore:()=>P,useObserver:()=>j,useStaticRendering:()=>C});var n=r(64812),i=r(65043);if(!i.useState)throw new Error("mobx-react-lite requires React with Hooks support");if(!n.makeObservable)throw new Error("mobx-react-lite@3 requires mobx at least version 6 to be available");var o=r(97950);function s(e){e()}function a(e){e||(e=s),(0,n.configure)({reactionScheduler:e})}function l(e){return(0,n.getDependencyTree)(e)}var c=!1;function p(e){c=e}function u(){return c}var d,f,h=function(){function e(e){var t=this;Object.defineProperty(this,"finalize",{enumerable:!0,configurable:!0,writable:!0,value:e}),Object.defineProperty(this,"registrations",{enumerable:!0,configurable:!0,writable:!0,value:new Map}),Object.defineProperty(this,"sweepTimeout",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"sweep",{enumerable:!0,configurable:!0,writable:!0,value:function(e){void 0===e&&(e=1e4),clearTimeout(t.sweepTimeout),t.sweepTimeout=void 0;var r=Date.now();t.registrations.forEach(function(n,i){r-n.registeredAt>=e&&(t.finalize(n.value),t.registrations.delete(i))}),t.registrations.size>0&&t.scheduleSweep()}}),Object.defineProperty(this,"finalizeAllImmediately",{enumerable:!0,configurable:!0,writable:!0,value:function(){t.sweep(0)}})}return Object.defineProperty(e.prototype,"register",{enumerable:!1,
8configurable:!0,writable:!0,value:function(e,t,r){this.registrations.set(r,{value:t,registeredAt:Date.now()}),this.scheduleSweep()}}),Object.defineProperty(e.prototype,"unregister",{enumerable:!1,configurable:!0,writable:!0,value:function(e){this.registrations.delete(e)}}),Object.defineProperty(e.prototype,"scheduleSweep",{enumerable:!1,configurable:!0,writable:!0,value:function(){void 0===this.sweepTimeout&&(this.sweepTimeout=setTimeout(this.sweep,1e4))}}),e}(),m=new("undefined"!==typeof FinalizationRegistry?FinalizationRegistry:h)(function(e){var t;null===(t=e.reaction)||void 0===t||t.dispose(),e.reaction=null}),g=r(29461);function y(e){e.reaction=new n.Reaction("observer".concat(e.name),function(){var t;e.stateVersion=Symbol(),null===(t=e.onStoreChange)||void 0===t||t.call(e)})}function b(e,t){if(void 0===t&&(t="observed"),u())return e();var r=i.useRef(null);if(!r.current){var n={reaction:null,onStoreChange:null,stateVersion:Symbol(),name:t,subscribe:function(e){return m.unregister(n),n.onStoreChange=e,n.reaction||(y(n),n.stateVersion=Symbol()),function(){var e;n.onStoreChange=null,null===(e=n.reaction)||void 0===e||e.dispose(),n.reaction=null}},getSnapshot:function(){return n.stateVersion}};r.current=n}var o,s,a=r.current;if(a.reaction||(y(a),m.register(r,a,a)),i.useDebugValue(a.reaction,l),(0,g.useSyncExternalStore)(a.subscribe,a.getSnapshot,a.getSnapshot),a.reaction.track(function(){try{o=e()}catch(t){s=t}}),s)throw s;return o}var v="function"===typeof Symbol&&Symbol.for,x=null!==(f=null===(d=Object.getOwnPropertyDescriptor(function(){},"name"))||void 0===d?void 0:d.configurable)&&void 0!==f&&f,w=v?Symbol.for("react.forward_ref"):"function"===typeof i.forwardRef&&(0,i.forwardRef)(function(e){return null}).$$typeof,S=v?Symbol.for("react.memo"):"function"===typeof i.memo&&(0,i.memo)(function(e){return null}).$$typeof;function k(e,t){var r;if(S&&e.$$typeof===S)throw new Error("[mobx-react-lite] 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(u())return e;var n=null!==(r=null===t||void 0===t?void 0:t.forwardRef)&&void 0!==r&&r,o=e,s=e.displayName||e.name;if(w&&e.$$typeof===w&&(n=!0,"function"!==typeof(o=e.render)))throw new Error("[mobx-react-lite] `render` property of ForwardRef was not a function");var a,l,c=function(e,t){return b(function(){return o(e,t)},s)};return c.displayName=e.displayName,x&&Object.defineProperty(c,"name",{value:e.name,writable:!0,configurable:!0}),e.contextTypes&&(c.contextTypes=e.contextTypes),n&&(c=(0,i.forwardRef)(c)),c=(0,i.memo)(c),a=e,l=c,Object.keys(a).forEach(function(e){E[e]||Object.defineProperty(l,e,Object.getOwnPropertyDescriptor(a,e))}),c}var O,E={$$typeof:!0,render:!0,compare:!0,type:!0,displayName:!0};function _(e){var t=e.children,r=e.render;t&&r&&console.error("MobX Observer: Do not use children and render in the same time in `Observer`");var n=t||r;return"function"!==typeof n?null:b(n)}function $(e,t){return(0,i.useState)(function(){return(0,n.observable)(e(),t,{autoBind:!0})})[0]}function A(e){var t=(0,i.useState)(function(){return(0,n.observable)(e,{},{deep:!1})})[0];return(0,n.runInAction)(function(){Object.assign(t,e)}),t}function P(e,t){var r=t&&A(t);return(0,i.useState)(function(){return(0,n.observable)(e(r),void 0,{autoBind:!0})})[0]}_.displayName="Observer",a(o.unstable_batchedUpdates);O=m.finalizeAllImmediately;function j(e,t){return void 0===t&&(t="observed"),b(e,t)}function C(e){p(e)}function T(e,t){return e===t?0!==e||1/e===1/t:e!==e&&t!==t}var I={$$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};var N=Symbol("patchMixins"),R=Symbol("patchedDefinition");function L(e,t){for(var r=this,n=arguments.length,i=new Array(n>2?n-2:0),o=2;o<n;o++)i[o-2]=arguments[o];t.locks++;try{var s;return void 0!==e&&null!==e&&(s=e.apply(this,i)),s}finally{t.locks--,0===t.locks&&t.methods.forEach(function(e){e.apply(r,i)})}}function D(e,t){return function(){for(var r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];L.call.apply(L,[this,e,t].concat(n))}}function M(e,t,r){var n=function(e,t){var r=e[N]=e[N]||{},n=r[t]=r[t]||{};return n.locks=n.locks||0,n.methods=n.methods||[],n}(e,t);n.methods.indexOf(r)<0&&n.methods.push(r);var i=Object.getOwnPropertyDescriptor(e,t);if(!i||!i[R]){var o=e[t],s=z(e,t,i?i.enumerable:void 0,n,o);Object.defineProperty(e,t,s)}}function z(e,t,r,n,i){var o,s=D(i,n);return(o={})[R]=!0,o.get=function(){return s},o.set=function(i){if(this===e)s=D(i,n);else{var o=z(this,t,r,n,i);Object.defineProperty(this,t,o)}},o.configurable=!0,o.enumerable=r,o}var F=Symbol("ObserverAdministration"),B=Symbol("isMobXReactObserver");function q(e){var t;return null!=(t=e[F])?t:e[F]={reaction:null,mounted:!1,reactionInvalidatedBeforeMount:!1,forceUpdate:null,name:U(e.constructor),state:void 0,props:void 0,context:void 0}}function U(e){return e.displayName||e.name||"<component>"}function V(e){var t=e.bind(this),r=q(this);return function(){r.reaction||(r.reaction=function(t){return new n.Reaction(t.name+".render()",function(){if(t.mounted)try{null==t.forceUpdate||t.forceUpdate()}catch(e){var r;null==(r=t.reaction)||r.dispose(),t.reaction=null}else t.reactionInvalidatedBeforeMount=!0})}(r),r.mounted||m.register(this,r,this));var e=void 0,i=void 0;if(r.reaction.track(function(){try{i=(0,n._allowStateChanges)(!1,t)}catch(r){e=r}}),e)throw e;return i}}function W(e,t){return u()&&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!==t||!function(e,t){if(T(e,t))return!0;
8if("object"!==typeof e||null===e||"object"!==typeof t||null===t)return!1;var r=Object.keys(e),n=Object.keys(t);if(r.length!==n.length)return!1;for(var i=0;i<r.length;i++)if(!Object.hasOwnProperty.call(t,r[i])||!T(e[r[i]],t[r[i]]))return!1;return!0}(this.props,e)}function H(e,t){if(t&&"class"!==t.kind)throw new Error("The @observer decorator can be used on classes only");return!0===e.isMobxInjector&&console.warn("Mobx observer: You are trying to use `observer` on a component that already has `inject`. Please apply `observer` before applying `inject`"),Object.prototype.isPrototypeOf.call(i.Component,e)||Object.prototype.isPrototypeOf.call(i.PureComponent,e)?function(e){var t=e.prototype;if(e[B]){var r=U(e);throw new Error("The provided component class ("+r+") has already been declared as an observer component.")}if(e[B]=!0,t.componentWillReact)throw new Error("The componentWillReact life-cycle event is no longer supported");if(e.__proto__!==i.PureComponent)if(t.shouldComponentUpdate){if(t.shouldComponentUpdate!==W)throw new Error("It is not allowed to use shouldComponentUpdate in observer based components.")}else t.shouldComponentUpdate=W;var n=t.render;if("function"!==typeof n){var o=U(e);throw new Error("[mobx-react] class component ("+o+") is missing `render` method.\n`observer` requires `render` being a function defined on prototype.\n`render = () => {}` or `render = function() {}` is not supported.")}t.render=function(){return Object.defineProperty(this,"render",{configurable:!1,writable:!1,value:u()?n:V.call(this,n)}),this.render()};var s=t.componentDidMount;return t.componentDidMount=function(){var e=this,t=q(this);return t.mounted=!0,m.unregister(this),t.forceUpdate=function(){return e.forceUpdate()},t.reaction&&!t.reactionInvalidatedBeforeMount||t.forceUpdate(),null==s?void 0:s.apply(this,arguments)},M(t,"componentWillUnmount",function(){var e;if(!u()){var t=q(this);null==(e=t.reaction)||e.dispose(),t.reaction=null,t.forceUpdate=null,t.mounted=!1,t.reactionInvalidatedBeforeMount=!1}}),e}(e):k(e)}function Q(){return Q=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Q.apply(null,arguments)}var G=["children"],K=i.createContext({});function Y(e){var t=e.children,r=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(t.indexOf(n)>=0)continue;r[n]=e[n]}return r}(e,G),n=i.useContext(K),o=i.useRef(Q({},n,r)).current;return i.createElement(K.Provider,{value:o},t)}function J(e,t,r,n){var o=i.forwardRef(function(r,n){var o=Q({},r),s=i.useContext(K);return Object.assign(o,e(s||{},o)||{}),n&&(o.ref=n),i.createElement(t,o)});return n&&(o=H(o)),o.isMobxInjector=!0,function(e,t){var r=Object.getOwnPropertyNames(Object.getPrototypeOf(e));Object.getOwnPropertyNames(e).forEach(function(n){I[n]||-1!==r.indexOf(n)||Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))})}(t,o),o.wrappedComponent=t,o.displayName=function(e,t){var r,n=e.displayName||e.name||e.constructor&&e.constructor.name||"Component";r=t?"inject-with-"+t+"("+n+")":"inject("+n+")";return r}(t,r),o}function X(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];if("function"===typeof arguments[0]){var n=arguments[0];return function(e){return J(n,e,n.name,!0)}}return function(e){return J(function(e){return function(t,r){return e.forEach(function(e){if(!(e in r)){if(!(e in t))throw new Error("MobX injector: Store '"+e+"' is not available! Make sure it is provided by some Provider");r[e]=t[e]}}),r}}(t),e,t.join("-"),!1)}}Y.displayName="MobXProvider";var Z=Number.parseInt(i.version.split(".")[0]),ee=!1,te=Symbol("disposeOnUnmountProto"),re=Symbol("disposeOnUnmountInst");function ne(){var e=this;[].concat(this[te]||[],this[re]||[]).forEach(function(t){var r="string"===typeof t?e[t]:t;void 0!==r&&null!==r&&(Array.isArray(r)?r.map(function(e){return e()}):r())})}function ie(e,t){if(Array.isArray(t))return t.map(function(t){return ie(e,t)});ee||(Z>=18?console.error("[mobx-react] disposeOnUnmount is not compatible with React 18 and higher. Don't use it."):console.warn("[mobx-react] disposeOnUnmount is deprecated. It won't work correctly with React 18 and higher."),ee=!0);var r=Object.getPrototypeOf(e).constructor,n=Object.getPrototypeOf(e.constructor),o=Object.getPrototypeOf(Object.getPrototypeOf(e));if(r!==i.Component&&r!==i.PureComponent&&n!==i.Component&&n!==i.PureComponent&&o!==i.Component&&o!==i.PureComponent)throw new Error("[mobx-react] disposeOnUnmount only supports direct subclasses of React.Component or React.PureComponent.");if("string"!==typeof t&&"function"!==typeof t&&!Array.isArray(t))throw new Error("[mobx-react] disposeOnUnmount only works if the parameter is either a property key or a function.");var s="string"===typeof t,a=!!e[te]||!!e[re];return(s?e[te]||(e[te]=[]):e[re]||(e[re]=[])).push(t),a||M(e,"componentWillUnmount",ne),"string"!==typeof t?t:void 0}function oe(e){function t(t,r,i,o,s,a){for(var l=arguments.length,c=new Array(l>6?l-6:0),p=6;p<l;p++)c[p-6]=arguments[p];return(0,n.untracked)(function(){if(o=o||"<<anonymous>>",a=a||i,null==r[i]){if(t){var n=null===r[i]?"null":"undefined";return new Error("The "+s+" `"+a+"` is marked as required in `"+o+"`, but its value is `"+n+"`.")}return null}return e.apply(void 0,[r,i,o,s,a].concat(c))})}var r=t.bind(null,!1);return r.isRequired=t.bind(null,!0),r}function se(e){var t=typeof e;return Array.isArray(e)?"array":e instanceof RegExp?"object":function(e,t){return"symbol"===e||"Symbol"===t["@@toStringTag"]||"function"===typeof Symbol&&t instanceof Symbol}(t,e)?"symbol":t}function ae(e,t){return oe(function(r,i,o,s,a){return(0,n.untracked)(function(){if(e&&se(r[i])===t.toLowerCase())return null;var s;switch(t){case"Array":s=n.isObservableArray;break;case"Object":s=n.isObservableObject;break;case"Map":s=n.isObservableMap;break;default:throw new Error("Unexpected mobxType: "+t)}var l=r[i];if(!s(l)){var c=function(e){var t=se(e);if("object"===t){if(e instanceof Date)return"date";if(e instanceof RegExp)return"regexp"}return t}(l),p=e?" or javascript `"+t.toLowerCase()+"`":"";return new Error("Invalid prop `"+a+"` of type `"+c+"` supplied to `"+o+"`, expected `mobx.Observable"+t+"`"+p+".")}return null})})}function le(e,t){return oe(function(r,i,o,s,a){for(var l=arguments.length,c=new Array(l>5?l-5:0),p=5;p<l;p++)c[p-5]=arguments[p];return(0,n.untracked)(function(){if("function"!==typeof t)return new Error("Property `"+a+"` of component `"+o+"` has invali
8d PropType notation.");var n=ae(e,"Array")(r,i,o,s,a);if(n instanceof Error)return n;for(var l=r[i],p=0;p<l.length;p++)if((n=t.apply(void 0,[l,p,o,s,a+"["+p+"]"].concat(c)))instanceof Error)return n;return null})})}var ce={observableArray:ae(!1,"Array"),observableArrayOf:le.bind(null,!1),observableMap:ae(!1,"Map"),observableObject:ae(!1,"Object"),arrayOrObservableArray:ae(!0,"Array"),arrayOrObservableArrayOf:le.bind(null,!0),objectOrObservableObject:ae(!0,"Object")};if(!i.Component)throw new Error("mobx-react requires React to be available");if(!n.observable)throw new Error("mobx-react requires mobx to be available")},64812(e,t,r){"use strict";r.r(t),r.d(t,{$mobx:()=>Y,FlowCancellationError:()=>hr,ObservableMap:()=>xn,ObservableSet:()=>On,Reaction:()=>Nt,_allowStateChanges:()=>Xe,_allowStateChangesInsideComputed:()=>Jt,_allowStateReadsEnd:()=>bt,_allowStateReadsStart:()=>yt,_autoAction:()=>Yt,_endAction:()=>Je,_getAdministration:()=>Gn,_getGlobalState:()=>Et,_interceptReads:()=>Sr,_isComputingDerivation:()=>pt,_resetGlobalState:()=>_t,_startAction:()=>Ye,action:()=>Kt,autorun:()=>Zt,comparer:()=>ee,computed:()=>Ue,configure:()=>ar,createAtom:()=>Z,defineProperty:()=>Dr,entries:()=>Tr,extendObservable:()=>lr,flow:()=>br,flowResult:()=>xr,get:()=>Lr,getAtom:()=>Qn,getDebugName:()=>Kn,getDependencyTree:()=>cr,getObserverTree:()=>ur,has:()=>Rr,intercept:()=>kr,isAction:()=>Xt,isBoxedObservable:()=>rt,isComputed:()=>Er,isComputedProp:()=>_r,isFlow:()=>wr,isFlowCancellationError:()=>mr,isObservable:()=>Ar,isObservableArray:()=>gn,isObservableMap:()=>wn,isObservableObject:()=>In,isObservableProp:()=>Pr,isObservableSet:()=>En,keys:()=>jr,makeAutoObservable:()=>nn,makeObservable:()=>tn,observable:()=>ze,observe:()=>zr,onBecomeObserved:()=>nr,onBecomeUnobserved:()=>ir,onReactionError:()=>Rt,override:()=>ie,ownKeys:()=>Mr,reaction:()=>rr,remove:()=>Nr,runInAction:()=>Jt,set:()=>Ir,spy:()=>Ft,toJS:()=>qr,trace:()=>Ur,transaction:()=>Vr,untracked:()=>ht,values:()=>Cr,when:()=>Wr});function n(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];throw new Error("number"===typeof e?"[MobX] minified error nr: "+e+(r.length?" "+r.map(String).join(","):"")+". Find the full error at: https://github.com/mobxjs/mobx/blob/main/packages/mobx/src/errors.ts":"[MobX] "+e)}var i={};function o(){return"undefined"!==typeof globalThis?globalThis:"undefined"!==typeof window?window:"undefined"!==typeof globalThis?globalThis:"undefined"!==typeof self?self:i}var s=Object.assign,a=Object.getOwnPropertyDescriptor,l=Object.defineProperty,c=Object.prototype,p=[];Object.freeze(p);var u={};Object.freeze(u);var d="undefined"!==typeof Proxy,f=Object.toString();function h(){d||n("Proxy not available")}function m(e){var t=!1;return function(){if(!t)return t=!0,e.apply(this,arguments)}}var g=function(){};function y(e){return"function"===typeof e}function b(e){switch(typeof e){case"string":case"symbol":case"number":return!0}return!1}function v(e){return null!==e&&"object"===typeof e}function x(e){if(!v(e))return!1;var t=Object.getPrototypeOf(e);if(null==t)return!0;var r=Object.hasOwnProperty.call(t,"constructor")&&t.constructor;return"function"===typeof r&&r.toString()===f}function w(e){var t=null==e?void 0:e.constructor;return!!t&&("GeneratorFunction"===t.name||"GeneratorFunction"===t.displayName)}function S(e,t,r){l(e,t,{enumerable:!1,writable:!0,configurable:!0,value:r})}function k(e,t,r){l(e,t,{enumerable:!1,writable:!1,configurable:!0,value:r})}function O(e,t){var r="isMobX"+e;return t.prototype[r]=!0,function(e){return v(e)&&!0===e[r]}}function E(e){return null!=e&&"[object Map]"===Object.prototype.toString.call(e)}function _(e){return null!=e&&"[object Set]"===Object.prototype.toString.call(e)}var $="undefined"!==typeof Object.getOwnPropertySymbols;var A="undefined"!==typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:$?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames;function P(e){return null===e?null:"object"===typeof e?""+e:e}function j(e,t){return c.hasOwnProperty.call(e,t)}var C=Object.getOwnPropertyDescriptors||function(e){var t={};return A(e).forEach(function(r){t[r]=a(e,r)}),t};function T(e,t){return!!(e&t)}function I(e,t,r){return r?e|=t:e&=~t,e}function N(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function R(e,t,r){if(q())return Reflect.construct.apply(null,arguments);var n=[null];n.push.apply(n,t);var i=new(e.bind.apply(e,n));return r&&U(i,r.prototype),i}function L(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,V(n.key),n)}}function D(e,t,r){return t&&L(e.prototype,t),r&&L(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function M(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(r)return(r=r.call(e)).next.bind(r);if(Array.isArray(e)||(r=function(e,t){if(e){if("string"==typeof e)return N(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?N(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0;return function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function z(){return z=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}
8).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},z.apply(null,arguments)}function F(e){return F=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},F(e)}function B(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,U(e,t)}function q(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(q=function(){return!!e})()}function U(e,t){return U=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},U(e,t)}function V(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}function W(e){var t="function"==typeof Map?new Map:void 0;return W=function(e){if(null===e||!function(e){try{return-1!==Function.toString.call(e).indexOf("[native code]")}catch(t){return"function"==typeof e}}(e))return e;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,r)}function r(){return R(e,arguments,F(this).constructor)}return r.prototype=Object.create(e.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),U(r,e)},W(e)}var H=Symbol("mobx-stored-annotations");function Q(e){return Object.assign(function(t,r){if(K(r))return e.decorate_20223_(t,r);G(t,r,e)},e)}function G(e,t,r){j(e,H)||S(e,H,z({},e[H])),function(e){return e.annotationType_===ne}(r)||(e[H][t]=r)}function K(e){return"object"==typeof e&&"string"==typeof e.kind}var Y=Symbol("mobx administration"),J=function(){function e(e){void 0===e&&(e="Atom"),this.name_=void 0,this.flags_=0,this.observers_=new Set,this.lastAccessedBy_=0,this.lowestObserverState_=it.NOT_TRACKING_,this.onBOL=void 0,this.onBUOL=void 0,this.name_=e}var t=e.prototype;
8return t.onBO=function(){this.onBOL&&this.onBOL.forEach(function(e){return e()})},t.onBUO=function(){this.onBUOL&&this.onBUOL.forEach(function(e){return e()})},t.reportObserved=function(){return Tt(this)},t.reportChanged=function(){jt(),It(this),Ct()},t.toString=function(){return this.name_},D(e,[{key:"isBeingObserved",get:function(){return T(this.flags_,e.isBeingObservedMask_)},set:function(t){this.flags_=I(this.flags_,e.isBeingObservedMask_,t)}},{key:"isPendingUnobservation",get:function(){return T(this.flags_,e.isPendingUnobservationMask_)},set:function(t){this.flags_=I(this.flags_,e.isPendingUnobservationMask_,t)}},{key:"diffValue",get:function(){return T(this.flags_,e.diffValueMask_)?1:0},set:function(t){this.flags_=I(this.flags_,e.diffValueMask_,1===t)}}])}();J.isBeingObservedMask_=1,J.isPendingUnobservationMask_=2,J.diffValueMask_=4;var X=O("Atom",J);function Z(e,t,r){void 0===t&&(t=g),void 0===r&&(r=g);var n=new J(e);return t!==g&&nr(n,t),r!==g&&ir(n,r),n}var ee={identity:function(e,t){return e===t},structural:function(e,t){return Zn(e,t)},default:function(e,t){return Object.is?Object.is(e,t):e===t?0!==e||1/e===1/t:e!==e&&t!==t},shallow:function(e,t){return Zn(e,t,1)}};function te(e,t,r){return Ar(e)?e:Array.isArray(e)?ze.array(e,{name:r}):x(e)?ze.object(e,void 0,{name:r}):E(e)?ze.map(e,{name:r}):_(e)?ze.set(e,{name:r}):"function"!==typeof e||Xt(e)||wr(e)?e:w(e)?br(e):Yt(r,e)}function re(e){return e}var ne="override",ie=Q({annotationType_:ne,make_:function(e,t){0;0;return 0},extend_:function(e,t,r,i){n("'"+this.annotationType_+"' can only be used with 'makeObservable'")},decorate_20223_:function(e,t){console.warn("'"+this.annotationType_+"' cannot be used with decorators - this is a no-op")}});function oe(e,t){return{annotationType_:e,options_:t,make_:se,extend_:ae,decorate_20223_:le}}function se(e,t,r,n){var i;if(null!=(i=this.options_)&&i.bound)return null===this.extend_(e,t,r,!1)?0:1;if(n===e.target_)return null===this.extend_(e,t,r,!1)?0:2;if(Xt(r.value))return 1;var o=ce(e,this,t,r,!1);return l(n,t,o),2}function ae(e,t,r,n){var i=ce(e,this,t,r);return e.defineProperty_(t,i,n)}function le(e,t){var r,i=t.kind,o=t.name,s=t.addInitializer,a=this,l=function(e){var t,r,n,i;return Ge(null!=(t=null==(r=a.options_)?void 0:r.name)?t:o.toString(),e,null!=(n=null==(i=a.options_)?void 0:i.autoAction)&&n)};return"field"==i?function(e){var t,r=e;return Xt(r)||(r=l(r)),null!=(t=a.options_)&&t.bound&&((r=r.bind(this)).isMobxAction=!0),r}:"method"==i?(Xt(e)||(e=l(e)),null!=(r=this.options_)&&r.bound&&s(function(){var e=this,t=e[o].bind(e);t.isMobxAction=!0,e[o]=t}),e):void n("Cannot apply '"+a.annotationType_+"' to '"+String(o)+"' (kind: "+i+"):\n'"+a.annotationType_+"' can only be used on properties with a function value.")}function ce(e,t,r,n,i){var o,s,a,l,c,p,u,d;void 0===i&&(i=Ot.safeDescriptors),d=n,t.annotationType_,d.value;var f,h=n.value;null!=(o=t.options_)&&o.bound&&(h=h.bind(null!=(f=e.proxy_)?f:e.target_));return{value:Ge(null!=(s=null==(a=t.options_)?void 0:a.name)?s:r.toString(),h,null!=(l=null==(c=t.options_)?void 0:c.autoAction)&&l,null!=(p=t.options_)&&p.bound?null!=(u=e.proxy_)?u:e.target_:void 0),configurable:!i||e.isPlainObject_,enumerable:!1,writable:!i}}function pe(e,t){return{annotationType_:e,options_:t,make_:ue,extend_:de,decorate_20223_:fe}}function ue(e,t,r,n){var i;if(n===e.target_)return null===this.extend_(e,t,r,!1)?0:2;if(null!=(i=this.options_)&&i.bound&&(!j(e.target_,t)||!wr(e.target_[t]))&&null===this.extend_(e,t,r,!1))return 0;if(wr(r.value))return 1;var o=he(e,this,t,r,!1,!1);return l(n,t,o),2}function de(e,t,r,n){var i,o=he(e,this,t,r,null==(i=this.options_)?void 0:i.bound);return e.defineProperty_(t,o,n)}function fe(e,t){var r;var n=t.name,i=t.addInitializer;return wr(e)||(e=br(e)),null!=(r=this.options_)&&r.bound&&i(function(){var e=this,t=e[n].bind(e);t.isMobXFlow=!0,e[n]=t}),e}function he(e,t,r,n,i,o){var s;void 0===o&&(o=Ot.safeDescriptors),s=n,t.annotationType_,s.value;var a,l=n.value;(wr(l)||(l=br(l)),i)&&((l=l.bind(null!=(a=e.proxy_)?a:e.target_)).isMobXFlow=!0);return{value:l,configurable:!o||e.isPlainObject_,enumerable:!1,writable:!o}}function me(e,t){return{annotationType_:e,options_:t,make_:ge,extend_:ye,decorate_20223_:be}}function ge(e,t,r){return null===this.extend_(e,t,r,!1)?0:1}function ye(e,t,r,n){return function(e,t,r,n){t.annotationType_,n.get;0}(0,this,0,r),e.defineComputedProperty_(t,z({},this.options_,{get:r.get,set:r.set}),n)}function be(e,t){var r,n=this,i=t.name;function o(t,r){var o=z({},n.options_,{get:e,context:t});return o.name||(o.name="ObservableObject."+i.toString()),new nt(o)}return(0,t.addInitializer)(function(){var t,r=jn(this)[Y],n=this,s=r.values_.get(i);s instanceof nt&&s.derivation!==e&&r.values_.delete(i),(null!=(t=r.lazyComputedKeys_)?t:r.lazyComputedKeys_=new Map).set(i,function(){return o(n)})}),function(){var t=this[Y],n=t.values_.get(i);if(n instanceof nt&&n.derivation!==e){var s,a,l=null==(s=r)?void 0:s.get(this);
8if(!l)l=o(this),(null!=(a=r)?a:r=new WeakMap).set(this,l);return l.get()}return t.getObservablePropValue_(i)}}function ve(e,t){return{annotationType_:e,options_:t,make_:xe,extend_:we,decorate_20223_:Se}}function xe(e,t,r){return null===this.extend_(e,t,r,!1)?0:1}function we(e,t,r,n){var i,o;return function(e,t){t.annotationType_;0}(0,this),e.defineObservableProperty_(t,r.value,null!=(i=null==(o=this.options_)?void 0:o.enhancer)?i:te,n)}function Se(e,t){var r=this,n=t.kind,i=t.name;if("accessor"===n)return{get:function(){var t;return(null!=(t=this[Y])?t:o(this,e.get.call(this))).getObservablePropValue_(i)},set:function(e){var t;return(null!=(t=this[Y])?t:o(this,e)).setObservablePropValue_(i,e)},init:function(e){return o(this,e),e}};function o(e,t){var n,o=jn(e)[Y];return(null!=(n=o.lazyObservableKeys_)?n:o.lazyObservableKeys_=new Map).set(i,function(){var e,n;return new tt(t,null!=(e=null==(n=r.options_)?void 0:n.enhancer)?e:te,"ObservableObject."+i.toString(),!1)}),o}}var ke=Oe();function Oe(e){return{annotationType_:"true",options_:e,make_:Ee,extend_:_e,decorate_20223_:$e}}function Ee(e,t,r,n){var i,o,s,a;if(r.get)return Ue.make_(e,t,r,n);if(r.set){var c=Xt(r.set)?r.set:Ge(t.toString(),r.set);return n===e.target_?null===e.defineProperty_(t,{configurable:!Ot.safeDescriptors||e.isPlainObject_,set:c})?0:2:(l(n,t,{configurable:!0,set:c}),2)}if(n!==e.target_&&"function"===typeof r.value)return w(r.value)?(null!=(a=this.options_)&&a.autoBind?br.bound:br).make_(e,t,r,n):(null!=(s=this.options_)&&s.autoBind?Yt.bound:Yt).make_(e,t,r,n);var p,u=!1===(null==(i=this.options_)?void 0:i.deep)?ze.ref:ze;"function"===typeof r.value&&null!=(o=this.options_)&&o.autoBind&&(r.value=r.value.bind(null!=(p=e.proxy_)?p:e.target_));return u.make_(e,t,r,n)}function _e(e,t,r,n){var i,o,s;if(r.get)return Ue.extend_(e,t,r,n);if(r.set)return e.defineProperty_(t,{configurable:!Ot.safeDescriptors||e.isPlainObject_,set:Ge(t.toString(),r.set)},n);"function"===typeof r.value&&null!=(i=this.options_)&&i.autoBind&&(r.value=r.value.bind(null!=(s=e.proxy_)?s:e.target_));return(!1===(null==(o=this.options_)?void 0:o.deep)?ze.ref:ze).extend_(e,t,r,n)}function $e(e,t){n("'"+this.annotationType_+"' cannot be used as a decorator")}var Ae={deep:!0,name:void 0,defaultDecorator:void 0,proxy:!0};function Pe(e){return e||Ae}Object.freeze(Ae);var je=ve("observable"),Ce=ve("observable.ref",{enhancer:re}),Te=ve("observable.shallow",{enhancer:function(e,t,r){return void 0===e||null===e||In(e)||gn(e)||wn(e)||En(e)?e:Array.isArray(e)?ze.array(e,{name:r,deep:!1}):x(e)?ze.object(e,void 0,{name:r,deep:!1}):E(e)?ze.map(e,{name:r,deep:!1}):_(e)?ze.set(e,{name:r,deep:!1}):void 0}}),Ie=ve("observable.struct",{enhancer:function(e,t){return Zn(e,t)?t:e}}),Ne=Q(je);function Re(e){return!0===e.deep?te:!1===e.deep?re:function(e){var t,r;return e&&null!=(t=null==(r=e.options_)?void 0:r.enhancer)?t:te}(e.defaultDecorator)}function Le(e,t,r){return K(t)?je.decorate_20223_(e,t):b(t)?void G(e,t,je):Ar(e)?e:x(e)?ze.object(e,t,r):Array.isArray(e)?ze.array(e,t):E(e)?ze.map(e,t):_(e)?ze.set(e,t):"object"===typeof e&&null!==e?e:ze.box(e,t)}s(Le,Ne);var De,Me,ze=s(Le,{box:function(e,t){var r=Pe(t);return new tt(e,Re(r),r.name,!0,r.equals)},array:function(e,t){var r=Pe(t);return(!1===Ot.useProxies||!1===r.proxy?Hn:cn)(e,Re(r),r.name)},map:function(e,t){var r=Pe(t);return new xn(e,Re(r),r.name)},set:function(e,t){var r=Pe(t);return new On(e,Re(r),r.name)},object:function(e,t,r){return Yn(function(){return lr(!1===Ot.useProxies||!1===(null==r?void 0:r.proxy)?jn({},r):function(e,t){var r,n;return h(),e=jn(e,t),null!=(n=(r=e[Y]).proxy_)?n:r.proxy_=new Proxy(e,Gr)}({},r),e,t)})},ref:Q(Ce),shallow:Q(Te),deep:Ne,struct:Q(Ie)}),Fe="computed",Be=me(Fe),qe=me("computed.struct",{equals:ee.structural}),Ue=function(e,t){if(K(t))return Be.decorate_20223_(e,t);if(b(t))return G(e,t,Be);if(x(e))return Q(me(Fe,e));var r=x(t)?t:{};return r.get=e,r.name||(r.name=e.name||""),new nt(r)};Object.assign(Ue,Be),Ue.struct=Q(qe);var Ve=0,We=1,He=null!=(De=null==(Me=a(function(){},"name"))?void 0:Me.configurable)&&De,Qe={value:"action",configurable:!0,writable:!1,enumerable:!1};function Ge(e,t,r,n){function i(){return Ke(e,r,t,n||this,arguments)}return void 0===r&&(r=!1),i.isMobxAction=!0,i.toString=function(){return t.toString()},He&&(Qe.value=e,l(i,"name",Qe)),i}function Ke(e,t,r,n,i){var o=Ye(e,t,n,i);try{return r.apply(n,i)}catch(s){throw o.error_=s,s}finally{Je(o)}}function Ye(e,t,r,n){var i=Ot.trackingDerivation,o=!t||!i;jt();var s=Ot.allowStateChanges;o&&(mt(),s=Ze(!0));var a={runAsAction_:o,prevDerivation_:i,prevAllowStateChanges_:s,prevAllowStateReads_:yt(!0),notifySpy_:!1,startTime_:0,actionId_:We++,parentActionId_:Ve};return Ve=a.actionId_,a}function Je(e){Ve!==e.actionId_&&n(30),Ve=e.parentActionId_,void 0!==e.error_&&(Ot.suppressReactionErrors=!0),et(e.prevAllowStateChanges_),bt(e.prevAllowStateReads_),Ct(),e.runAsAction_&&gt(e.prevDerivation_),Ot.suppressReactionErrors=!1}function Xe(e,t){var r=Ze(e);try{return t()}finally{et(r)}}function Ze(e){var t=Ot.allowStateChanges;return Ot.allowStateChanges=e,t}function et(e){Ot.allowStateChanges=e}var tt=function(e){function t(t,r,n,i,o){var s;return void 0===n&&(n="ObservableValue"),void 0===i&&(i=!0),void 0===o&&(o=ee.default),(s=e.call(this,n)||this).enhancer=void 0,s.name_=void 0,s.equals=void 0,s.hasUnreportedChange_=!1,s.interceptors_=void 0,s.changeListeners_=void 0,s.value_=void 0,s.dehancer=void 0,s.enhancer=r,s.name_=n,s.equals=o,s.value_=r(t,void 0,n),s}B(t,e);var r=t.prototype;return r.dehanceValue=function(e){return void 0!==this.dehancer?this.dehancer(e):e},r.set=function(e){this.value_;if((e=this.prepareNewValue_(e))!==Ot.UNCHANGED){0,this.setNewValue_(e)}},r.prepareNewValue_=function(e){if(ut(this),Kr(this)){var t=Jr(this,{object:this,type:sn,newValue:e});if(!t)return Ot.UNCHANGED;e=t.newValue}return e=this.enhancer(e,this.value_,this.name_),this.equals(this.value_,e)?Ot.UNCHANGED:e},r.setNewValue_=function(e){var t=this.value_;this.value_=e,this.reportChanged(),Xr(this)&&en(this,{type:sn,object:this,newValue:e,oldValue:t})},r.get=function(){return this.reportObserved(),this.dehanceValue(this.value_)},r.intercept_=function(e){return Yr(this,e)},r.observe_=function(e,t){return t&&e({observableKind:"value",debugObjectName:this.name_,object:this,type:sn,newValue:this.value_,oldValue:void 0}),Zr(this,e)},r.raw=function(){return this.value_},r.toJSON=function(){return this.get()},r.toString=function(){return this.name_+"["+this.value_+"]"},r.valueOf=function(){return P(this.get())},r[Symbol.toPrimitive]=function(){return this.valueOf()},t}(J),rt=O("ObservableValue",tt),nt=function(){function e(e){this.dependenciesState_=it.NOT_TRACKING_,this.observing_=[],this.newObserving_=null,this.observers_=new Set,this.runId_=0,this.lastAccessedBy_=0,this.lowestObserverState_=it.UP_TO_DATE_,this.unboundDepsCount_=0,this.value_=new at(null),this.name_=void 0,this.triggeredBy_=void 0,this.flags_=0,this.derivation=void 0,this.setter_=void 0,this.isTracing_=ot.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,e.get||n(31),this.derivation=e.get,this.name_=e.name||"ComputedValue",e.set&&(this.setter_=Ge("ComputedValue-setter",e.set)),this.equals_=e.equals||(e.compareStructural||e.struct?ee.structural
8:ee.default),this.scope_=e.context,this.requiresReaction_=e.requiresReaction,this.keepAlive_=!!e.keepAlive}var t=e.prototype;return t.onBecomeStale_=function(){!function(e){if(e.lowestObserverState_!==it.UP_TO_DATE_)return;e.lowestObserverState_=it.POSSIBLY_STALE_,e.observers_.forEach(function(e){e.dependenciesState_===it.UP_TO_DATE_&&(e.dependenciesState_=it.POSSIBLY_STALE_,e.onBecomeStale_())})}(this)},t.onBO=function(){this.onBOL&&this.onBOL.forEach(function(e){return e()})},t.onBUO=function(){this.onBUOL&&this.onBUOL.forEach(function(e){return e()})},t.get=function(){if(this.isComputing&&n(32,this.name_,this.derivation),0!==Ot.inBatch||0!==this.observers_.size||this.keepAlive_){if(Tt(this),ct(this)){var e=Ot.trackingContext;this.keepAlive_&&!e&&(Ot.trackingContext=this),this.trackAndCompute()&&function(e){if(e.lowestObserverState_===it.STALE_)return;e.lowestObserverState_=it.STALE_,e.observers_.forEach(function(t){t.dependenciesState_===it.POSSIBLY_STALE_?t.dependenciesState_=it.STALE_:t.dependenciesState_===it.UP_TO_DATE_&&(e.lowestObserverState_=it.UP_TO_DATE_)})}(this),Ot.trackingContext=e}}else ct(this)&&(this.warnAboutUntrackedRead_(),jt(),this.value_=this.computeValue_(!1),Ct());var t=this.value_;if(lt(t))throw t.cause;return t},t.set=function(e){if(this.setter_){this.isRunningSetter&&n(33,this.name_),this.isRunningSetter=!0;try{this.setter_.call(this.scope_,e)}finally{this.isRunningSetter=!1}}else n(34,this.name_)},t.trackAndCompute=function(){var e=this.value_,t=this.dependenciesState_===it.NOT_TRACKING_,r=this.computeValue_(!0),n=t||lt(e)||lt(r)||!this.equals_(e,r);return n&&(this.value_=r),n},t.computeValue_=function(e){this.isComputing=!0;var t,r=Ze(!1);if(e)t=dt(this,this.derivation,this.scope_);else if(!0===Ot.disableErrorBoundaries)t=this.derivation.call(this.scope_);else try{t=this.derivation.call(this.scope_)}catch(n){t=new at(n)}return et(r),this.isComputing=!1,t},t.suspend_=function(){this.keepAlive_||(ft(this),this.value_=void 0)},t.observe_=function(e,t){var r=this,n=!0,i=void 0;return Zt(function(){var o=r.get();if(!n||t){var s=mt();e({observableKind:"computed",debugObjectName:r.name_,type:sn,object:r,newValue:o,oldValue:i}),gt(s)}n=!1,i=o})},t.warnAboutUntrackedRead_=function(){},t.toString=function(){return this.name_+"["+this.derivation.toString()+"]"},t.valueOf=function(){return P(this.get())},t[Symbol.toPrimitive]=function(){return this.valueOf()},D(e,[{key:"isComputing",get:function(){return T(this.flags_,e.isComputingMask_)},set:function(t){this.flags_=I(this.flags_,e.isComputingMask_,t)}},{key:"isRunningSetter",get:function(){return T(this.flags_,e.isRunningSetterMask_)},set:function(t){this.flags_=I(this.flags_,e.isRunningSetterMask_,t)}},{key:"isBeingObserved",get:function(){return T(this.flags_,e.isBeingObservedMask_)},set:function(t){this.flags_=I(this.flags_,e.isBeingObservedMask_,t)}},{key:"isPendingUnobservation",get:function(){return T(this.flags_,e.isPendingUnobservationMask_)},set:function(t){this.flags_=I(this.flags_,e.isPendingUnobservationMask_,t)}},{key:"diffValue",get:function(){return T(this.flags_,e.diffValueMask_)?1:0},set:function(t){this.flags_=I(this.flags_,e.diffValueMask_,1===t)}}])}();nt.isComputingMask_=1,nt.isRunningSetterMask_=2,nt.isBeingObservedMask_=4,nt.isPendingUnobservationMask_=8,nt.diffValueMask_=16;var it,ot,st=O("ComputedValue",nt);!function(e){e[e.NOT_TRACKING_=-1]="NOT_TRACKING_",e[e.UP_TO_DATE_=0]="UP_TO_DATE_",e[e.POSSIBLY_STALE_=1]="POSSIBLY_STALE_",e[e.STALE_=2]="STALE_"}(it||(it={})),function(e){e[e.NONE=0]="NONE",e[e.LOG=1]="LOG",e[e.BREAK=2]="BREAK"}(ot||(ot={}));var at=function(e){this.cause=void 0,this.cause=e};function lt(e){return e instanceof at}function ct(e){switch(e.dependenciesState_){case it.UP_TO_DATE_:return!1;case it.NOT_TRACKING_:case it.STALE_:return!0;case it.POSSIBLY_STALE_:for(var t=yt(!0),r=mt(),n=e.observing_,i=n.length,o=0;o<i;o++){var s=n[o];if(st(s)){if(Ot.disableErrorBoundaries)s.get();else try{s.get()}catch(a){return gt(r),bt(t),!0}if(e.dependenciesState_===it.STALE_)return gt(r),bt(t),!0}}return vt(e),gt(r),bt(t),!1}}function pt(){return null!==Ot.trackingDerivation}function ut(e){}function dt(e,t,r){var n=yt(!0);vt(e),e.newObserving_=new Array(0===e.runId_?100:e.observing_.length),e.unboundDepsCount_=0,e.runId_=++Ot.runId;var i,o=Ot.trackingDerivation;if(Ot.trackingDerivation=e,Ot.inBatch++,!0===Ot.disableErrorBoundaries)i=t.call(r);else try{i=t.call(r)}catch(s){i=new at(s)}return Ot.inBatch--,Ot.trackingDerivation=o,function(e){for(var t=e.observing_,r=e.observing_=e.newObserving_,n=it.UP_TO_DATE_,i=0,o=e.unboundDepsCount_,s=0;s<o;s++){var a=r[s];0===a.diffValue&&(a.diffValue=1,i!==s&&(r[i]=a),i++),a.dependenciesState_>n&&(n=a.dependenciesState_)}r.length=i,e.newObserving_=null,o=t.length;for(;o--;){var l=t[o];0===l.diffValue&&At(l,e),l.diffValue=0}for(;i--;){var c=r[i];1===c.diffValue&&(c.diffValue=0,$t(c,e))}
8n!==it.UP_TO_DATE_&&(e.dependenciesState_=n,e.onBecomeStale_())}(e),bt(n),i}function ft(e){var t=e.observing_;e.observing_=[];for(var r=t.length;r--;)At(t[r],e);e.dependenciesState_=it.NOT_TRACKING_}function ht(e){var t=mt();try{return e()}finally{gt(t)}}function mt(){var e=Ot.trackingDerivation;return Ot.trackingDerivation=null,e}function gt(e){Ot.trackingDerivation=e}function yt(e){var t=Ot.allowStateReads;return Ot.allowStateReads=e,t}function bt(e){Ot.allowStateReads=e}function vt(e){if(e.dependenciesState_!==it.UP_TO_DATE_){e.dependenciesState_=it.UP_TO_DATE_;for(var t=e.observing_,r=t.length;r--;)t[r].lowestObserverState_=it.UP_TO_DATE_}}var xt=["mobxGuid","spyListeners","enforceActions","computedRequiresReaction","reactionRequiresObservable","observableRequiresReaction","allowStateReads","disableErrorBoundaries","runId","UNCHANGED","useProxies"],wt=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},St=!0,kt=!1,Ot=function(){var e=o();return e.__mobxInstanceCount>0&&!e.__mobxGlobals&&(St=!1),e.__mobxGlobals&&e.__mobxGlobals.version!==(new wt).version&&(St=!1),St?e.__mobxGlobals?(e.__mobxInstanceCount+=1,e.__mobxGlobals.UNCHANGED||(e.__mobxGlobals.UNCHANGED={}),e.__mobxGlobals):(e.__mobxInstanceCount=1,e.__mobxGlobals=new wt):(setTimeout(function(){kt||n(35)},1),new wt)}();function Et(){return Ot}function _t(){var e=new wt;for(var t in e)-1===xt.indexOf(t)&&(Ot[t]=e[t]);Ot.allowStateChanges=!Ot.enforceActions}function $t(e,t){e.observers_.add(t),e.lowestObserverState_>t.dependenciesState_&&(e.lowestObserverState_=t.dependenciesState_)}function At(e,t){e.observers_.delete(t),0===e.observers_.size&&Pt(e)}function Pt(e){!1===e.isPendingUnobservation&&(e.isPendingUnobservation=!0,Ot.pendingUnobservations.push(e))}function jt(){Ot.inBatch++}function Ct(){if(0===--Ot.inBatch){Dt();for(var e=Ot.pendingUnobservations,t=0;t<e.length;t++){var r=e[t];r.isPendingUnobservation=!1,0===r.observers_.size&&(r.isBeingObserved&&(r.isBeingObserved=!1,r.onBUO()),r instanceof nt&&r.suspend_())}Ot.pendingUnobservations=[]}}function Tt(e){var t=Ot.trackingDerivation;return null!==t?(t.runId_!==e.lastAccessedBy_&&(e.lastAccessedBy_=t.runId_,t.newObserving_[t.unboundDepsCount_++]=e,!e.isBeingObserved&&Ot.trackingContext&&(e.isBeingObserved=!0,e.onBO())),e.isBeingObserved):(0===e.observers_.size&&Ot.inBatch>0&&Pt(e),!1)}function It(e){e.lowestObserverState_!==it.STALE_&&(e.lowestObserverState_=it.STALE_,e.observers_.forEach(function(e){e.dependenciesState_===it.UP_TO_DATE_&&e.onBecomeStale_(),e.dependenciesState_=it.STALE_}))}var Nt=function(){function e(e,t,r,n){void 0===e&&(e="Reaction"),this.name_=void 0,this.onInvalidate_=void 0,this.errorHandler_=void 0,this.requiresObservable_=void 0,this.observing_=[],this.newObserving_=[],this.dependenciesState_=it.NOT_TRACKING_,this.runId_=0,this.unboundDepsCount_=0,this.flags_=0,this.isTracing_=ot.NONE,this.name_=e,this.onInvalidate_=t,this.errorHandler_=r,this.requiresObservable_=n}var t=e.prototype;return t.onBecomeStale_=function(){this.schedule_()},t.schedule_=function(){this.isScheduled||(this.isScheduled=!0,Ot.pendingReactions.push(this),Dt())},t.runReaction_=function(){if(!this.isDisposed){jt(),this.isScheduled=!1;var e=Ot.trackingContext;if(Ot.trackingContext=this,ct(this)){this.isTrackPending=!0;try{this.onInvalidate_()}catch(t){this.reportExceptionInDerivation_(t)}}Ot.trackingContext=e,Ct()}},t.track=function(e){if(!this.isDisposed){jt();0,this.isRunning=!0;var t=Ot.trackingContext;Ot.trackingContext=this;var r=dt(this,e,void 0);Ot.trackingContext=t,this.isRunning=!1,this.isTrackPending=!1,this.isDisposed&&ft(this),lt(r)&&this.reportExceptionInDerivation_(r.cause),Ct()}},t.reportExceptionInDerivation_=function(e){var t=this;if(this.errorHandler_)this.errorHandler_(e,this);else{if(Ot.disableErrorBoundaries)throw e;var r="[mobx] uncaught error in '"+this+"'";Ot.suppressReactionErrors||console.error(r,e),Ot.globalReactionErrorHandlers.forEac
8h(function(r){return r(e,t)})}},t.dispose=function(){this.isDisposed||(this.isDisposed=!0,this.isRunning||(jt(),ft(this),Ct()))},t.getDisposer_=function(e){var t=this,r=function r(){t.dispose(),null==e||null==e.removeEventListener||e.removeEventListener("abort",r)};return null==e||null==e.addEventListener||e.addEventListener("abort",r),r[Y]=this,"dispose"in Symbol&&"symbol"===typeof Symbol.dispose&&(r[Symbol.dispose]=r),r},t.toString=function(){return"Reaction["+this.name_+"]"},t.trace=function(e){void 0===e&&(e=!1),Ur()},D(e,[{key:"isDisposed",get:function(){return T(this.flags_,e.isDisposedMask_)},set:function(t){this.flags_=I(this.flags_,e.isDisposedMask_,t)}},{key:"isScheduled",get:function(){return T(this.flags_,e.isScheduledMask_)},set:function(t){this.flags_=I(this.flags_,e.isScheduledMask_,t)}},{key:"isTrackPending",get:function(){return T(this.flags_,e.isTrackPendingMask_)},set:function(t){this.flags_=I(this.flags_,e.isTrackPendingMask_,t)}},{key:"isRunning",get:function(){return T(this.flags_,e.isRunningMask_)},set:function(t){this.flags_=I(this.flags_,e.isRunningMask_,t)}},{key:"diffValue",get:function(){return T(this.flags_,e.diffValueMask_)?1:0},set:function(t){this.flags_=I(this.flags_,e.diffValueMask_,1===t)}}])}();function Rt(e){return Ot.globalReactionErrorHandlers.push(e),function(){var t=Ot.globalReactionErrorHandlers.indexOf(e);t>=0&&Ot.globalReactionErrorHandlers.splice(t,1)}}Nt.isDisposedMask_=1,Nt.isScheduledMask_=2,Nt.isTrackPendingMask_=4,Nt.isRunningMask_=8,Nt.diffValueMask_=16;var Lt=function(e){return e()};function Dt(){Ot.inBatch>0||Ot.isRunningReactions||Lt(Mt)}function Mt(){Ot.isRunningReactions=!0;for(var e=Ot.pendingReactions,t=0;e.length>0;){100===++t&&(console.error("[mobx] cycle in reaction: "+e[0]),e.splice(0));for(var r=e.splice(0),n=0,i=r.length;n<i;n++)r[n].runReaction_()}Ot.isRunningReactions=!1}var zt=O("Reaction",Nt);function Ft(e){return console.warn("[mobx.spy] Is a no-op in production builds"),function(){}}var Bt="action",qt="autoAction",Ut="<unnamed action>",Vt=oe(Bt),Wt=oe("action.bound",{bound:!0}),Ht=oe(qt,{autoAction:!0}),Qt=oe("autoAction.bound",{autoAction:!0,bound:!0});function Gt(e){return function(t,r){return y(t)?Ge(t.name||Ut,t,e):y(r)?Ge(t,r,e):K(r)?(e?Ht:Vt).decorate_20223_(t,r):b(r)?G(t,r,e?Ht:Vt):b(t)?Q(oe(e?qt:Bt,{name:t,autoAction:e})):void 0}}var Kt=Gt(!1);Object.assign(Kt,Vt);var Yt=Gt(!0);function Jt(e){return Ke(e.name||Ut,!1,e,this,void 0)}function Xt(e){return y(e)&&!0===e.isMobxAction}function Zt(e,t){var r,n,i,o;void 0===t&&(t=u);var s,a=null!=(r=null==(n=t)?void 0:n.name)?r:"Autorun";if(!t.scheduler&&!t.delay)s=new Nt(a,function(){this.track(p)},t.onError,t.requiresObservable);else{var l=tr(t),c=!1;s=new Nt(a,function(){c||(c=!0,l(function(){c=!1,s.isDisposed||s.track(p)}))},t.onError,t.requiresObservable)}function p(){e(s)}return null!=(i=t)&&null!=(i=i.signal)&&i.aborted||s.schedule_(),s.getDisposer_(null==(o=t)?void 0:o.signal)}Object.assign(Yt,Ht),Kt.bound=Q(Wt),Yt.bound=Q(Qt);var er=function(e){return e()};function tr(e){return e.scheduler?e.scheduler:e.delay?function(t){return setTimeout(t,e.delay)}:er}function rr(e,t,r){var n,i,o;void 0===r&&(r=u);var s,a,l,c=null!=(n=r.name)?n:"Reaction",p=Kt(c,r.onError?(s=r.onError,a=t,function(){try{return a.apply(this,arguments)}catch(e){s.call(this,e)}}):t),d=!r.scheduler&&!r.delay,f=tr(r),h=!0,m=!1,g=r.compareStructural?ee.structural:r.equals||ee.default,y=new Nt(c,function(){h||d?b():m||(m=!0,f(b))},r.onError,r.requiresObservable);function b(){if(m=!1,!y.isDisposed){var t=!1,n=l;y.track(function(){var r=Xe(!1,function(){return e(y)});t=h||!g(l,r),l=r}),(h&&r.fireImmediately||!h&&t)&&p(l,n,y),h=!1}}return null!=(i=r)&&null!=(i=i.signal)&&i.aborted||y.schedule_(),y.getDisposer_(null==(o=r)?void 0:o.signal)}function nr(e,t,r){return or("onBO",e,t,r)}function ir(e,t,r){return or("onBUO",e,t,r)}function or(e,t,r,n){var i="function"===typeof n?Qn(t,r):Qn(t),o=y(n)?n:r,s=e+"L";return i[s]?i[s].add(o):i[s]=new Set([o]),function(){var e=i[s];e&&(e.delete(o),0===e.size&&delete i[s])}}var sr="always";function ar(e){!0===e.isolateGlobalState&&function(){if((Ot.pendingReactions.length||Ot.inBatch||Ot.isRunningReactions)&&n(36),kt=!0,St){var e=o();0===--e.__mobxInstanceCount&&(e.__mobxGlobals=void 0),Ot=new wt}}();var t=e.useProxies,r=e.enforceActions;if(void 0!==t&&(Ot.useProxies=t===sr||"never"!==t&&"undefined"!==typeof Proxy),"ifavailable"===t&&(Ot.verifyProxies=!0),void 0!==r){var i=r===sr?sr:"observed"===r;Ot.enforceActions=i,Ot.allowStateChanges=!0!==i&&i!==sr}["computedRequiresReaction","reactionRequiresObservable","observableRequiresReaction","disableErrorBoundaries","safeDescriptors"].forEach(function(t){t in e&&(Ot[t]=!!e[t])}),Ot.allowStateReads=!Ot.observableRequiresReaction,e.reactionScheduler&&function(e){var t=Lt;Lt=function(r){return e(function(){return t(r)})}}(e.reactionScheduler)}function lr(e,t,r,n){var i=C(t);return Yn(function(){var t=jn(e,n)[Y];
8A(i).forEach(function(e){t.extend_(e,i[e],!r||(!(e in r)||r[e]))})}),e}function cr(e,t){return pr(Qn(e,t))}function pr(e){var t,r={name:e.name_};return e.observing_&&e.observing_.length>0&&(r.dependencies=(t=e.observing_,Array.from(new Set(t))).map(pr)),r}function ur(e,t){return dr(Qn(e,t))}function dr(e){var t={name:e.name_};return function(e){return e.observers_&&e.observers_.size>0}(e)&&(t.observers=Array.from(function(e){return e.observers_}(e)).map(dr)),t}var fr=0,hr=function(e){function t(){var r;return r=e.call(this,"FLOW_CANCELLED")||this,Object.setPrototypeOf(r,(this instanceof t?this.constructor:void 0).prototype),r.name="FlowCancellationError",r}return B(t,e),t.prototype.toString=function(){return"Error: "+this.message},t}(W(Error));function mr(e){return e instanceof hr}var gr=pe("flow"),yr=pe("flow.bound",{bound:!0}),br=Object.assign(function(e,t){if(K(t))return gr.decorate_20223_(e,t);if(b(t))return G(e,t,gr);var r=e,n=r.name||"<unnamed flow>",i=function(){var e,t=arguments,i=++fr,o=Kt(n+" - runid: "+i+" - init",r).apply(this,t),s=void 0,a=new Promise(function(t,r){var a=0;function l(e){var t;s=void 0;try{t=Kt(n+" - runid: "+i+" - yield "+a++,o.next).call(o,e)}catch(l){return r(l)}p(t)}function c(e){var t;s=void 0;try{t=Kt(n+" - runid: "+i+" - yield "+a++,o.throw).call(o,e)}catch(l){return r(l)}p(t)}function p(e){if(!y(null==e?void 0:e.then))return e.done?t(e.value):(s=Promise.resolve(e.value)).then(l,c);e.then(p,r)}e=r,l(void 0)});return a.cancel=Kt(n+" - runid: "+i+" - cancel",function(){try{s&&vr(s);var t=o.return(void 0),r=Promise.resolve(t.value);r.then(g,g),vr(r),e(new hr)}catch(n){e(n)}}),a};return i.isMobXFlow=!0,i},gr);function vr(e){y(e.cancel)&&e.cancel()}function xr(e){return e}function wr(e){return!0===(null==e?void 0:e.isMobXFlow)}function Sr(e,t,r){var n;return wn(e)||gn(e)||rt(e)?n=Gn(e):In(e)&&(n=Gn(e,t)),n.dehancer="function"===typeof t?t:r,function(){n.dehancer=void 0}}function kr(e,t,r){return y(r)?function(e,t,r){return Gn(e,t).intercept_(r)}(e,t,r):function(e,t){return Gn(e).intercept_(t)}(e,t)}function Or(e,t){var r;if(void 0===t)return st(e);if(!1===In(e))return!1;var n=e[Y];if(null!=(r=n.lazyComputedKeys_)&&r.has(t))return!0;if(!n.values_.has(t))return!1;var i=Qn(e,t);return st(i)}function Er(e){return Or(e)}function _r(e,t){return Or(e,t)}function $r(e,t){if(!e)return!1;if(void 0!==t){if(In(e)){var r,n,i=e[Y];return i.values_.has(t)||!(null==(r=i.lazyComputedKeys_)||!r.has(t))||!(null==(n=i.lazyObservableKeys_)||!n.has(t))}return!1}return In(e)||!!e[Y]||X(e)||zt(e)||st(e)}function Ar(e){return $r(e)}function Pr(e,t){return $r(e,t)}function jr(e){return In(e)?e[Y].keys_():wn(e)||En(e)?Array.from(e.keys()):gn(e)?e.map(function(e,t){return t}):void n(5)}function Cr(e){return In(e)?jr(e).map(function(t){return e[t]}):wn(e)?jr(e).map(function(t){return e.get(t)}):En(e)?Array.from(e.values()):gn(e)?e.slice():void n(6)}function Tr(e){return In(e)?jr(e).map(function(t){return[t,e[t]]}):wn(e)?jr(e).map(function(t){return[t,e.get(t)]}):En(e)?Array.from(e.entries()):gn(e)?e.map(function(e,t){return[t,e]}):void n(7)}function Ir(e,t,r){if(2!==arguments.length||En(e))In(e)?e[Y].set_(t,r):wn(e)?e.set(t,r):En(e)?e.add(t):gn(e)?("number"!==typeof t&&(t=parseInt(t,10)),t<0&&n("Invalid index: '"+t+"'"),jt(),t>=e.length&&(e.length=t+1),e[t]=r,Ct()):n(8);else{jt();var i=t;try{for(var o in i)Ir(e,o,i[o])}finally{Ct()}}}function Nr(e,t){In(e)?e[Y].delete_(t):wn(e)||En(e)?e.delete(t):gn(e)?("number"!==typeof t&&(t=parseInt(t,10)),e.splice(t,1)):n(9)}function Rr(e,t){return In(e)?e[Y].has_(t):wn(e)||En(e)?e.has(t):gn(e)?t>=0&&t<e.length:void n(10)}function Lr(e,t){if(Rr(e,t))return In(e)?e[Y].get_(t):wn(e)?e.get(t):gn(e)?e[t]:void n(11)}function Dr(e,t,r){if(In(e))return e[Y].defineProperty_(t,r);n(39)}function Mr(e){if(In(e))return e[Y].ownKeys_();n(38)}function zr(e,t,r,n){return y(r)?function(e,t,r,n){return Gn(e,t).observe_(r,n)}(e,t,r,n):function(e,t,r){return Gn(e).observe_(t,r)}(e,t,r)}function Fr(e,t,r){return e.set(t,r),r}function Br(e,t){if(null==e||"object"!==typeof e||e instanceof Date||!Ar(e))return e;if(rt(e)||st(e))return Br(e.get(),t);if(t.has(e))return t.get(e);if(gn(e)){var r=Fr(t,e,new Array(e.length));return e.forEach(function(e,n){r[n]=Br(e,t)}),r}if(En(e)){var n=Fr(t,e,new Set);return e.forEach(function(e){n.add(Br(e,t))}),n}if(wn(e)){var i=Fr(t,e,new Map);return e.forEach(function(e,r){i.set(r,Br(e,t))}),i}var o=Fr(t,e,{});return Mr(e).forEach(function(r){c.propertyIsEnumerable.call(e,r)&&(o[r]=Br(e[r],t))}),o}function qr(e,t){return Br(e,new Map)}function Ur(){}function Vr(e,t){void 0===t&&(t=void 0),jt();try{return e.apply(t)}finally{Ct()}}function Wr(e,t,r){return 1===arguments.length||t&&"object"===typeof t?function(e,t){var r,n,i;0;if(null!=t&&null!=(r=t.signal)&&r.aborted)return Object.assign(Promise.reject(new Error("WHEN_ABORTED")),{cancel:function(){return null}});var o=new Promise(function(r,o){var s,a=Hr(e,r,z({},t,{onError:o}));n=function(){a(),o(new Error("WHEN_CANCELLED"))},i=function(){a(),o(new Error("WHEN_ABORTED"))},null==t||null==(s=t.signal)||null==s.addEventListener||s.addEventListener("abort",i)}).finally(function(){var e;return null==t||null==(e=t.signal)||null==e.removeEventListener?void 0:e.removeEventListener("abort",i)});return o.cancel=n,o}
8(e,t):Hr(e,t,r||{})}function Hr(e,t,r){var n;if("number"===typeof r.timeout){var i=new Error("WHEN_TIMEOUT");n=setTimeout(function(){if(!s[Y].isDisposed){if(s(),!r.onError)throw i;r.onError(i)}},r.timeout)}r.name="When";var o=Ge("When-effect",t),s=Zt(function(t){Xe(!1,e)&&(t.dispose(),n&&clearTimeout(n),o())},r);return s}function Qr(e){return e[Y]}br.bound=Q(yr);var Gr={has:function(e,t){return Qr(e).has_(t)},get:function(e,t){return Qr(e).get_(t)},set:function(e,t,r){var n;return!!b(t)&&(null==(n=Qr(e).set_(t,r,!0))||n)},deleteProperty:function(e,t){var r;return!!b(t)&&(null==(r=Qr(e).delete_(t,!0))||r)},defineProperty:function(e,t,r){var n;return null==(n=Qr(e).defineProperty_(t,r))||n},ownKeys:function(e){return Qr(e).ownKeys_()},preventExtensions:function(e){n(13)}};function Kr(e){return void 0!==e.interceptors_&&e.interceptors_.length>0}function Yr(e,t){var r=e.interceptors_||(e.interceptors_=[]);return r.push(t),m(function(){var e=r.indexOf(t);-1!==e&&r.splice(e,1)})}function Jr(e,t){var r=mt();try{for(var i=[].concat(e.interceptors_||[]),o=0,s=i.length;o<s&&((t=i[o](t))&&!t.type&&n(14),t);o++);return t}finally{gt(r)}}function Xr(e){return void 0!==e.changeListeners_&&e.changeListeners_.length>0}function Zr(e,t){var r=e.changeListeners_||(e.changeListeners_=[]);return r.push(t),m(function(){var e=r.indexOf(t);-1!==e&&r.splice(e,1)})}function en(e,t){var r=mt(),n=e.changeListeners_;if(n){for(var i=0,o=(n=n.slice()).length;i<o;i++)n[i](t);gt(r)}}function tn(e,t,r){return Yn(function(){var n=jn(e,r)[Y];null!=t||(t=function(e){return j(e,H)||S(e,H,z({},e[H])),e[H]}(e)),A(t).forEach(function(e){return n.make_(e,t[e])})}),e}var rn=Symbol("mobx-keys");function nn(e,t,r){return x(e)?lr(e,e,t,r):(Yn(function(){var n=jn(e,r)[Y];if(!e[rn]){var i=Object.getPrototypeOf(e),o=new Set([].concat(A(e),A(i)));o.delete("constructor"),o.delete(Y),S(i,rn,o)}e[rn].forEach(function(e){return n.make_(e,!t||(!(e in t)||t[e]))})}),e)}var on="splice",sn="update",an={get:function(e,t){var r=e[Y];return t===Y?r:"length"===t?r.getArrayLength_():"string"!==typeof t||isNaN(t)?j(pn,t)?pn[t]:e[t]:r.get_(parseInt(t))},set:function(e,t,r){var n=e[Y];return"length"===t&&n.setArrayLength_(r),"symbol"===typeof t||isNaN(t)?e[t]=r:n.set_(parseInt(t),r),!0},preventExtensions:function(){n(15)}},ln=function(){function e(e,t,r,n){void 0===e&&(e="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_=r,this.legacyMode_=n,this.atom_=new J(e),this.enhancer_=function(e,r){return t(e,r,"ObservableArray[..]")}}var t=e.prototype;return t.dehanceValue_=function(e){return void 0!==this.dehancer?this.dehancer(e):e},t.dehanceValues_=function(e){return void 0!==this.dehancer&&e.length>0?e.map(this.dehancer):e},t.intercept_=function(e){return Yr(this,e)},t.observe_=function(e,t){return void 0===t&&(t=!1),t&&e({observableKind:"array",object:this.proxy_,debugObjectName:this.atom_.name_,type:"splice",index:0,added:this.values_.slice(),addedCount:this.values_.length,removed:[],removedCount:0}),Zr(this,e)},t.getArrayLength_=function(){return this.atom_.reportObserved(),this.values_.length},t.setArrayLength_=function(e){("number"!==typeof e||isNaN(e)||e<0)&&n("Out of range: "+e);var t=this.values_.length;if(e!==t)if(e>t){for(var r=new Array(e-t),i=0;i<e-t;i++)r[i]=void 0;this.spliceWithArray_(t,0,r)}else this.spliceWithArray_(e,t-e)},t.updateArrayLength_=function(e,t){e!==this.lastKnownLength_&&n(16),this.lastKnownLength_+=t,this.legacyMode_&&t>0&&Wn(e+t+1)},t.spliceWithArray_=function(e,t,r){var n=this;this.atom_;var i=this.values_.length;if(void 0===e?e=0:e>i?e=i:e<0&&(e=Math.max(0,i+e)),t=1===arguments.length?i-e:void 0===t||null===t?0:Math.max(0,Math.min(t,i-e)),void 0===r&&(r=p),Kr(this)){var o=Jr(this,{object:this.proxy_,type:on,index:e,removedCount:t,added:r});if(!o)return p;t=o.removedCount,r=o.added}if(r=0===r.length?r:r.map(function(e){return n.enhancer_(e,void 0)}),this.legacyMode_){var s=r.length-t;
8this.updateArrayLength_(i,s)}var a=this.spliceItemsIntoValues_(e,t,r);return 0===t&&0===r.length||this.notifyArraySplice_(e,r,a),this.dehanceValues_(a)},t.spliceItemsIntoValues_=function(e,t,r){var n;if(r.length<1e4)return(n=this.values_).splice.apply(n,[e,t].concat(r));var i=this.values_.slice(e,e+t),o=this.values_.slice(e+t);this.values_.length+=r.length-t;for(var s=0;s<r.length;s++)this.values_[e+s]=r[s];for(var a=0;a<o.length;a++)this.values_[e+r.length+a]=o[a];return i},t.notifyArrayChildUpdate_=function(e,t,r){var n=!this.owned_&&!1,i=Xr(this),o=i||n?{observableKind:"array",object:this.proxy_,type:sn,debugObjectName:this.atom_.name_,index:e,newValue:t,oldValue:r}:null;this.atom_.reportChanged(),i&&en(this,o)},t.notifyArraySplice_=function(e,t,r){var n=!this.owned_&&!1,i=Xr(this),o=i||n?{observableKind:"array",object:this.proxy_,debugObjectName:this.atom_.name_,type:on,index:e,removed:r,added:t,removedCount:r.length,addedCount:t.length}:null;this.atom_.reportChanged(),i&&en(this,o)},t.get_=function(e){if(!(this.legacyMode_&&e>=this.values_.length))return this.atom_.reportObserved(),this.dehanceValue_(this.values_[e]);console.warn("[mobx] Out of bounds read: "+e)},t.set_=function(e,t){var r=this.values_;if(this.legacyMode_&&e>r.length&&n(17,e,r.length),e<r.length){this.atom_;var i=r[e];if(Kr(this)){var o=Jr(this,{type:sn,object:this.proxy_,index:e,newValue:t});if(!o)return;t=o.newValue}(t=this.enhancer_(t,i))!==i&&(r[e]=t,this.notifyArrayChildUpdate_(e,t,i))}else{for(var s=new Array(e+1-r.length),a=0;a<s.length-1;a++)s[a]=void 0;s[s.length-1]=t,this.spliceWithArray_(r.length,0,s)}},e}();function cn(e,t,r,n){return void 0===r&&(r="ObservableArray"),void 0===n&&(n=!1),h(),Yn(function(){var i=new ln(r,t,n,!1);k(i.values_,Y,i);var o=new Proxy(i.values_,an);return i.proxy_=o,e&&e.length&&i.spliceWithArray_(0,0,e),o})}var pn={clear:function(){return this.splice(0)},replace:function(e){var t=this[Y];return t.spliceWithArray_(0,t.values_.length,e)},toJSON:function(){return this.slice()},splice:function(e,t){for(var r=arguments.length,n=new Array(r>2?r-2:0),i=2;i<r;i++)n[i-2]=arguments[i];var o=this[Y];switch(arguments.length){case 0:return[];case 1:return o.spliceWithArray_(e);case 2:return o.spliceWithArray_(e,t)}return o.spliceWithArray_(e,t,n)},spliceWithArray:function(e,t,r){return this[Y].spliceWithArray_(e,t,r)},push:function(){for(var e=this[Y],t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return e.spliceWithArray_(e.values_.length,0,r),e.values_.length},pop:function(){return this.splice(Math.max(this[Y].values_.length-1,0),1)[0]},shift:function(){return this.splice(0,1)[0]},unshift:function(){for(var e=this[Y],t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return e.spliceWithArray_(0,0,r),e.values_.length},reverse:function(){return Ot.trackingDerivation&&n(37,"reverse"),this.replace(this.slice().reverse()),this},sort:function(){Ot.trackingDerivation&&n(37,"sort");var e=this.slice();return e.sort.apply(e,arguments),this.replace(e),this},remove:function(e){var t=this[Y],r=t.dehanceValues_(t.values_).indexOf(e);return r>-1&&(this.splice(r,1),!0)}};function un(e,t){"function"===typeof Array.prototype[e]&&(pn[e]=t(e))}function dn(e){return function(){var t=this[Y];t.atom_.reportObserved();var r=t.dehanceValues_(t.values_);return r[e].apply(r,arguments)}}function fn(e){return function(t,r){var n=this,i=this[Y];return i.atom_.reportObserved(),i.dehanceValues_(i.values_)[e](function(e,i){return t.call(r,e,i,n)})}}function hn(e){return function(){var t=this,r=this[Y];r.atom_.reportObserved();var n=r.dehanceValues_(r.values_),i=arguments[0];return arguments[0]=function(e,r,n){return i(e,r,n,t)},n[e].apply(n,arguments)}}un("at",dn),un("concat",dn),un("flat",dn),un("includes",dn),un("indexOf",dn),un("join",dn),un("lastIndexOf",dn),un("slice",dn),un("toString",dn),un("toLocaleString",dn),un("toSorted",dn),un("toSpliced",dn),un("with",dn),un("every",fn),un("filter",fn),un("find",fn),un("findIndex",fn),un("findLast",fn),un("findLastIndex",fn),un("flatMap",fn),un("forEach",fn),un("map",fn),un("some",fn),un("toReversed",fn),un("reduce",hn),un("reduceRight",hn);
8var mn=O("ObservableArrayAdministration",ln);function gn(e){return v(e)&&mn(e[Y])}var yn={},bn="add",vn="delete",xn=function(){function e(e,t,r){var i=this;void 0===t&&(t=te),void 0===r&&(r="ObservableMap"),this.enhancer_=void 0,this.name_=void 0,this[Y]=yn,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_=t,this.name_=r,y(Map)||n(18),Yn(function(){i.keysAtom_=Z("ObservableMap.keys()"),i.data_=new Map,i.hasMap_=new Map,e&&i.merge(e)})}var t=e.prototype;return t.has_=function(e){return this.data_.has(e)},t.has=function(e){var t=this;if(!Ot.trackingDerivation)return this.has_(e);var r=this.hasMap_.get(e);if(!r){var n=r=new tt(this.has_(e),re,"ObservableMap.key?",!1);this.hasMap_.set(e,n),ir(n,function(){return t.hasMap_.delete(e)})}return r.get()},t.set=function(e,t){var r=this.has_(e);if(Kr(this)){var n=Jr(this,{type:r?sn:bn,object:this,newValue:t,name:e});if(!n)return this;t=n.newValue}return r?this.updateValue_(e,t):this.addValue_(e,t),this},t.delete=function(e){var t=this;if((this.keysAtom_,Kr(this))&&!Jr(this,{type:vn,object:this,name:e}))return!1;if(this.has_(e)){var r=Xr(this),n=r?{observableKind:"map",debugObjectName:this.name_,type:vn,object:this,oldValue:this.data_.get(e).value_,name:e}:null;return Vr(function(){var r;t.keysAtom_.reportChanged(),null==(r=t.hasMap_.get(e))||r.setNewValue_(!1),t.data_.get(e).setNewValue_(void 0),t.data_.delete(e)}),r&&en(this,n),!0}return!1},t.updateValue_=function(e,t){var r=this.data_.get(e);if((t=r.prepareNewValue_(t))!==Ot.UNCHANGED){var n=Xr(this),i=n?{observableKind:"map",debugObjectName:this.name_,type:sn,object:this,oldValue:r.value_,name:e,newValue:t}:null;0,r.setNewValue_(t),n&&en(this,i)}},t.addValue_=function(e,t){var r=this;this.keysAtom_,Vr(function(){var n,i=new tt(t,r.enhancer_,"ObservableMap.key",!1);r.data_.set(e,i),t=i.value_,null==(n=r.hasMap_.get(e))||n.setNewValue_(!0),r.keysAtom_.reportChanged()});var n=Xr(this),i=n?{observableKind:"map",debugObjectName:this.name_,type:bn,object:this,name:e,newValue:t}:null;n&&en(this,i)},t.get=function(e){return this.has(e)?this.dehanceValue_(this.data_.get(e).get()):this.dehanceValue_(void 0)},t.getOrInsert=function(e,t){return this.has(e)||this.set(e,t),this.get(e)},t.getOrInsertComputed=function(e,t){return this.has(e)||this.set(e,t(e)),this.get(e)},t.dehanceValue_=function(e){return void 0!==this.dehancer?this.dehancer(e):e},t.keys=function(){return this.keysAtom_.reportObserved(),this.data_.keys()},t.values=function(){var e=this,t=this.keys();return Sn({next:function(){var r=t.next(),n=r.done,i=r.value;return{done:n,value:n?void 0:e.get(i)}}})},t.entries=function(){var e=this,t=this.keys();return Sn({next:function(){var r=t.next(),n=r.done,i=r.value;return{done:n,value:n?void 0:[i,e.get(i)]}}})},t[Symbol.iterator]=function(){return this.entries()},t.forEach=function(e,t){for(var r,n=M(this);!(r=n()).done;){var i=r.value,o=i[0],s=i[1];e.call(t,s,o,this)}},t.merge=function(e){var t=this;return wn(e)&&(e=new Map(e)),Vr(function(){x(e)?function(e){var t=Object.keys(e);if(!$)return t;var r=Object.getOwnPropertySymbols(e);return r.length?[].concat(t,r.filter(function(t){return c.propertyIsEnumerable.call(e,t)})):t}(e).forEach(function(r){return t.set(r,e[r])}):Array.isArray(e)?e.forEach(function(e){var r=e[0],n=e[1];return t.set(r,n)}):E(e)?(function(e){var t=Object.getPrototypeOf(e),r=Object.getPrototypeOf(t);return null===Object.getPrototypeOf(r)}(e)||n(19,e),e.forEach(function(e,r){return t.set(r,e)})):null!==e&&void 0!==e&&n(20,e)}),this},t.clear=function(){var e=this;Vr(function(){ht(function(){for(var t,r=M(e.keys());!(t=r()).done;){var n=t.value;e.delete(n)}})})},t.replace=function(e){var t=this;return Vr(function(){for(var r,i=function(e){if(E(e)||wn(e))return e;if(Array.isArray(e))return new Map(e);if(x(e)){var t=new Map;for(var r in e)t.set(r,e[r]);return t}return n(21,e)}(e),o=new Map,s=!1,a=M(t.data_.keys());!(r=a()).done;){var l=r.value;if(!i.has(l))if(t.delete(l))s=!0;else{var c=t.data_.get(l);o.set(l,c)}}for(var p,u=M(i.entries());!(p=u()).done;){var d=p.value,f=d[0],h=d[1],m=t.data_.has(f);if(t.set(f,h),t.data_.has(f)){var g=t.data_.get(f);o.set(f,g),m||(s=!0)}}if(!s)if(t.data_.size!==o.size)t.keysAtom_.reportChanged();else for(var y=t.data_.keys(),b=o.keys(),v=y.next(),w=b.next();!v.done;){if(v.value!==w.value){t.keysAtom_.reportChanged();break}v=y.next(),w=b.next()}t.data_=o}),this},t.toString=function(){return"[object ObservableMap]"},t.toJSON=function(){return Array.from(this)},t.observe_=function(e,t){return Zr(this,e)},t.intercept_=function(e){return Yr(this,e)},D(e,[{key:"size",get:function(){return this.keysAtom_.reportObserved(),this.data_.size}},{key:Symbol.toStringTag,get:function(){return"Map"}}])}(),wn=O("ObservableMap",xn);function Sn(e){return e[Symbol.toStringTag]="MapIterator",ni(e)}var kn={},On=function(){function e(e,t,r){var i=this;void 0===t&&(t=te),void 0===r&&(r="ObservableSet"),this.name_=void 0,this[Y]=kn,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_=r,y(Set)||n(22),this.enhancer_=function(e,n){return t(e,n,r)},Yn(function(){i.atom_=Z(i.name_),e&&i.replace(e)})}var t=e.prototype;return t.dehanceValue_=function(e){return void 0!==this.dehancer?this.dehancer(e):e},t.clear=function(){var e=this;Vr(function(){ht(function(){for(var t,r=M(e.data_.values());!(t=r()).done;){var n=t.value;e.delete(n)}})})},t.forEach=function(e,t){for(var r,n=M(this);!(r=n()).done;){var i=r.value;e.call(t,i,i,this)}},t.add=function(e){var t=this;if(this.atom_,Kr(this)){var r=Jr(this,{type:bn,object:this,newValue:e});if(!r)return this;e=r.newValue}if(!this.has(e)){Vr(function(){t.data_.add(t.enhancer_(e,void 0)),t.atom_.reportChanged()});var n=!1,i=Xr(this),o=i?{observableKind:"set",debugObjectName:this.name_,type:bn,object:this,newValue:e}:null;n,i&&en(this,o)}return this},t.delete=function(e){var t=this;if(Kr(this)&&!Jr(this,{type:vn,object:this,oldValue:e}))return!1;if(this.has(e)){var r=Xr(this),n=r?{observableKind:"set",debugObjectName:this.name_,type:vn,object:this,oldValue:e}:null;return Vr(function(){t.atom_.reportChanged(),t.data_.delete(e)}),r&&en(this,n),!0}return!1},t.has=function(e){return this.atom_.reportObserved(),this.data_.has(this.dehanceValue_(e))},t.entries=function(){var e=this.values();return _n({next:function(){var t=e.next(),r=t.value,n=t.done;return n?{value:void 0,done:n}:{value:[r,r],done:n}
8}})},t.keys=function(){return this.values()},t.values=function(){this.atom_.reportObserved();var e=this,t=this.data_.values();return _n({next:function(){var r=t.next(),n=r.value,i=r.done;return i?{value:void 0,done:i}:{value:e.dehanceValue_(n),done:i}}})},t.intersection=function(e){return _(e)&&!En(e)?e.intersection(this):new Set(this).intersection(e)},t.union=function(e){return _(e)&&!En(e)?e.union(this):new Set(this).union(e)},t.difference=function(e){return new Set(this).difference(e)},t.symmetricDifference=function(e){return _(e)&&!En(e)?e.symmetricDifference(this):new Set(this).symmetricDifference(e)},t.isSubsetOf=function(e){return new Set(this).isSubsetOf(e)},t.isSupersetOf=function(e){return new Set(this).isSupersetOf(e)},t.isDisjointFrom=function(e){return _(e)&&!En(e)?e.isDisjointFrom(this):new Set(this).isDisjointFrom(e)},t.replace=function(e){var t=this;return En(e)&&(e=new Set(e)),Vr(function(){Array.isArray(e)||_(e)?(t.clear(),e.forEach(function(e){return t.add(e)})):null!==e&&void 0!==e&&n("Cannot initialize set from "+e)}),this},t.observe_=function(e,t){return Zr(this,e)},t.intercept_=function(e){return Yr(this,e)},t.toJSON=function(){return Array.from(this)},t.toString=function(){return"[object ObservableSet]"},t[Symbol.iterator]=function(){return this.values()},D(e,[{key:"size",get:function(){return this.atom_.reportObserved(),this.data_.size}},{key:Symbol.toStringTag,get:function(){return"Set"}}])}(),En=O("ObservableSet",On);function _n(e){return e[Symbol.toStringTag]="SetIterator",ni(e)}var $n=Object.create(null),An="remove",Pn=function(){function e(e,t,r,n){void 0===t&&(t=new Map),void 0===n&&(n=ke),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.lazyComputedKeys_=void 0,this.lazyObservableKeys_=void 0,this.target_=e,this.values_=t,this.name_=r,this.defaultAnnotation_=n,this.keysAtom_=new J("ObservableObject.keys"),this.isPlainObject_=x(this.target_)}var t=e.prototype;return t.getObservablePropValue_=function(e){var t,r;return(null!=(t=null!=(r=this.values_.get(e))?r:this.materializeLazyComputed_(e))?t:this.materializeLazyObservable_(e)).get()},t.materializeLazyComputed_=function(e){var t,r=null==(t=this.lazyComputedKeys_)?void 0:t.get(e);if(r){this.lazyComputedKeys_.delete(e),0===this.lazyComputedKeys_.size&&(this.lazyComputedKeys_=void 0);var n=r();return this.values_.set(e,n),n}},t.materializeLazyObservable_=function(e){var t,r=null==(t=this.lazyObservableKeys_)?void 0:t.get(e);if(r){this.lazyObservableKeys_.delete(e),0===this.lazyObservableKeys_.size&&(this.lazyObservableKeys_=void 0);var n=r();return this.values_.set(e,n),n}},t.setObservablePropValue_=function(e,t){var r,n,i=null!=(r=null!=(n=this.values_.get(e))?n:this.materializeLazyComputed_(e))?r:this.materializeLazyObservable_(e);if(i instanceof nt)return i.set(t),!0;if(Kr(this)){var o=Jr(this,{type:sn,object:this.proxy_||this.target_,name:e,newValue:t});if(!o)return null;t=o.newValue}if((t=i.prepareNewValue_(t))!==Ot.UNCHANGED){var s=Xr(this),a=s?{type:sn,observableKind:"object",debugObjectName:this.name_,object:this.proxy_||this.target_,oldValue:i.value_,name:e,newValue:t}:null;0,i.setNewValue_(t),s&&en(this,a)}return!0},t.get_=function(e){return Ot.trackingDerivation&&!j(this.target_,e)&&this.has_(e),this.target_[e]},t.set_=function(e,t,r){return void 0===r&&(r=!1),j(this.target_,e)?this.values_.has(e)?this.setObservablePropValue_(e,t):r?Reflect.set(this.target_,e,t):(this.target_[e]=t,!0):this.extend_(e,{value:t,enumerable:!0,writable:!0,configurable:!0},this.defaultAnnotation_,r)},t.has_=function(e){if(!Ot.trackingDerivation)return e in this.target_;this.pendingKeys_||(this.pendingKeys_=new Map);var t=this.pendingKeys_.get(e);return t||(t=new tt(e in this.target_,re,"ObservableObject.key?",!1),this.pendingKeys_.set(e,t)),t.get()},t.make_=function(e,t){if(!0===t&&(t=this.defaultAnnotation_),!1!==t){if(Rn(this,t,e),!(e in this.target_)){var r;if(null!=(r=this.target_[H])&&r[e])return;n(1,t.annotationType_,this.name_+"."+e.toString())}for(var i=this.target_;i&&i!==c;){var o=a(i,e);if(o){var s=t.make_(this,e,o,i);if(0===s)return;if(1===s)break}i=Object.getPrototypeOf(i)}Nn(this,t,e)}},t.extend_=function(e,t,r,n){if(void 0===n&&(n=!1),!0===r&&(r=this.defaultAnnotation_),!1===r)return this.defineProperty_(e,t,n);Rn(this,r,e);var i=r.extend_(this,e,t,n);return i&&Nn(this,r,e),i},t.defineProperty_=function(e,t,r){void 0===r&&(r=!1),this.keysAtom_;try{jt();var n=this.delete_(e);if(!n)return n;if(Kr(this)){var i=Jr(this,{object:this.proxy_||this.target_,name:e,type:bn,newValue:t.value});if(!i)return null;var o=i.newValue;t.value!==o&&(t=z({},t,{value:o}))}if(r){if(!Reflect.defineProperty(this.target_,e,t))return!1}else l(this.target_,e,t);this.notifyPropertyAddition_(e,t.value)}finally{Ct()}return!0},t.defineObservableProperty_=function(e,t,r,n){void 0===n&&(n=!1),this.keysAtom_;try{jt();var i=this.delete_(e);if(!i)return i;if(Kr(this)){var o=Jr(this,{object:this.proxy_||this.target_,name:e,type:bn,newValue:t});if(!o)return null;t=o.newValue}var s=Tn(e),a={configurable:!Ot.safeDescriptors||this.isPlainObject_,enumerable:!0,get:s.get,set:s.set};if(n){if(!Reflect.defineProperty(this.target_,e,a))return!1}else l(this.target_,e,a);var c=new tt(t,r,"ObservableObject.key",!1);this.values_.set(e,c),this.notifyPropertyAddition_(e,c.value_)}finally{Ct()}return!0},t.defineComputedProperty_=function(e,t,r){void 0===r&&(r=!1),this.keysAtom_;try{jt();var n=this.delete_(e);if(!n)return n;if(Kr(this))if(!Jr(this,{object:this.proxy_||this.target_,name:e,type:bn,newValue:void 0}))return null;t.name||(t.name="ObservableObject.key"),t.context=this.proxy_||this.target_;var i=Tn(e),o={configurable:!Ot.safeDescriptors||this.isPlainObject_,enumerable:!1,get:i.get,set:i.set};if(r){if(!Reflect.defineProperty(this.target_,e,o))return!1}else l(this.target_,e,o);this.values_.set(e,new nt(t)),this.notifyPropertyAddition_(e,void 0)}finally{Ct()}return!0},t.delete_=function(e,t){if(void 0===t&&(t=!1),this.keysAtom_,!j(this.target_,e))return!0;
8if(Kr(this)&&!Jr(this,{object:this.proxy_||this.target_,name:e,type:An}))return null;try{var r;jt();var n,i=Xr(this),o=this.values_.get(e),s=void 0;if(!o&&i)s=null==(n=a(this.target_,e))?void 0:n.value;if(t){if(!Reflect.deleteProperty(this.target_,e))return!1}else delete this.target_[e];if(o&&(this.values_.delete(e),o instanceof tt&&(s=o.value_),It(o)),this.keysAtom_.reportChanged(),null==(r=this.pendingKeys_)||null==(r=r.get(e))||r.set(e in this.target_),i){var l={type:An,observableKind:"object",object:this.proxy_||this.target_,debugObjectName:this.name_,oldValue:s,name:e};0,i&&en(this,l)}}finally{Ct()}return!0},t.observe_=function(e,t){return Zr(this,e)},t.intercept_=function(e){return Yr(this,e)},t.notifyPropertyAddition_=function(e,t){var r,n=Xr(this);if(n){var i=n?{type:bn,observableKind:"object",debugObjectName:this.name_,object:this.proxy_||this.target_,name:e,newValue:t}:null;0,n&&en(this,i)}null==(r=this.pendingKeys_)||null==(r=r.get(e))||r.set(!0),this.keysAtom_.reportChanged()},t.ownKeys_=function(){return this.keysAtom_.reportObserved(),A(this.target_)},t.keys_=function(){return this.keysAtom_.reportObserved(),Object.keys(this.target_)},e}();function jn(e,t){var r;if(j(e,Y))return e;var n=null!=(r=null==t?void 0:t.name)?r:"ObservableObject",i=new Pn(e,new Map,String(n),function(e){var t;return e?null!=(t=e.defaultDecorator)?t:Oe(e):void 0}(t));return S(e,Y,i),e}var Cn=O("ObservableObjectAdministration",Pn);function Tn(e){return $n[e]||($n[e]={get:function(){return this[Y].getObservablePropValue_(e)},set:function(t){return this[Y].setObservablePropValue_(e,t)}})}function In(e){return!!v(e)&&Cn(e[Y])}function Nn(e,t,r){var n;null==(n=e.target_[H])||delete n[r]}function Rn(e,t,r){}var Ln,Dn,Mn=Un(0),zn=function(){var e=!1,t={};return Object.defineProperty(t,"0",{set:function(){e=!0}}),Object.create(t)[0]=1,!1===e}(),Fn=0,Bn=function(){};Ln=Bn,Dn=Array.prototype,Object.setPrototypeOf?Object.setPrototypeOf(Ln.prototype,Dn):void 0!==Ln.prototype.__proto__?Ln.prototype.__proto__=Dn:Ln.prototype=Dn;var qn=function(e){function t(t,r,n,i){var o;return void 0===n&&(n="ObservableArray"),void 0===i&&(i=!1),o=e.call(this)||this,Yn(function(){var e=new ln(n,r,i,!0);e.proxy_=o,k(o,Y,e),t&&t.length&&o.spliceWithArray(0,0,t),zn&&Object.defineProperty(o,"0",Mn)}),o}B(t,e);var r=t.prototype;return r.concat=function(){this[Y].atom_.reportObserved();for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return Array.prototype.concat.apply(this.slice(),t.map(function(e){return gn(e)?e.slice():e}))},r[Symbol.iterator]=function(){var e=this,t=0;return ni({next:function(){return t<e.length?{value:e[t++],done:!1}:{done:!0,value:void 0}}})},D(t,[{key:"length",get:function(){return this[Y].getArrayLength_()},set:function(e){this[Y].setArrayLength_(e)}},{key:Symbol.toStringTag,get:function(){return"Array"}}])}(Bn);function Un(e){return{enumerable:!1,configurable:!0,get:function(){return this[Y].get_(e)},set:function(t){this[Y].set_(e,t)}}}function Vn(e){l(qn.prototype,""+e,Un(e))}function Wn(e){if(e>Fn){for(var t=Fn;t<e+100;t++)Vn(t);Fn=e}}function Hn(e,t,r){return new qn(e,t,r)}function Qn(e,t){if("object"===typeof e&&null!==e){if(gn(e))return void 0!==t&&n(23),e[Y].atom_;if(En(e))return e.atom_;if(wn(e)){if(void 0===t)return e.keysAtom_;var r=e.data_.get(t)||e.hasMap_.get(t);return r||n(25,t,Kn(e)),r}if(In(e)){var i,o;if(!t)return n(26);var s=e[Y],a=null!=(i=null!=(o=s.values_.get(t))?o:s.materializeLazyComputed_(t))?i:s.materializeLazyObservable_(t);return a||n(27,t,Kn(e)),a}if(X(e)||st(e)||zt(e))return e}else if(y(e)&&zt(e[Y]))return e[Y];n(28)}function Gn(e,t){return e||n(29),void 0!==t?Gn(Qn(e,t)):X(e)||st(e)||zt(e)||wn(e)||En(e)?e:e[Y]?e[Y]:void n(24,e)}function Kn(e,t){var r;if(void 0!==t)r=Qn(e,t);else{if(Xt(e))return e.name;r=In(e)||wn(e)||En(e)?Gn(e):Qn(e)}return r.name_}function Yn(e){var t=mt(),r=Ze(!0);jt();try{return e()}finally{Ct(),et(r),gt(t)}}Object.entries(pn).forEach(function(e){var t=e[0],r=e[1];"concat"!==t&&S(qn.prototype,t,r)}),Wn(1e3);var Jn,Xn=c.toString;function Zn(e,t,r){return void 0===r&&(r=-1),ei(e,t,r)}function ei(e,t,r,n,i){if(e===t)return 0!==e||1/e===1/t;if(null==e||null==t)return!1;if(e!==e)return t!==t;var o=typeof e;if("function"!==o&&"object"!==o&&"object"!=typeof t)return!1;var s=Xn.call(e);
8if(s!==Xn.call(t))return!1;switch(s){case"[object RegExp]":case"[object String]":return""+e===""+t;case"[object Number]":return+e!==+e?+t!==+t:0===+e?1/+e===1/t:+e===+t;case"[object Date]":case"[object Boolean]":return+e===+t;case"[object Symbol]":return"undefined"!==typeof Symbol&&Symbol.valueOf.call(e)===Symbol.valueOf.call(t);case"[object Map]":case"[object Set]":r>=0&&r++}e=ti(e),t=ti(t);var a="[object Array]"===s;if(!a){if("object"!=typeof e||"object"!=typeof t)return!1;var l=e.constructor,c=t.constructor;if(l!==c&&!(y(l)&&l instanceof l&&y(c)&&c instanceof c)&&"constructor"in e&&"constructor"in t)return!1}if(0===r)return!1;r<0&&(r=-1),i=i||[];for(var p=(n=n||[]).length;p--;)if(n[p]===e)return i[p]===t;if(n.push(e),i.push(t),a){if((p=e.length)!==t.length)return!1;for(;p--;)if(!ei(e[p],t[p],r-1,n,i))return!1}else{var u=Object.keys(e),d=u.length;if(Object.keys(t).length!==d)return!1;for(var f=0;f<d;f++){var h=u[f];if(!j(t,h)||!ei(e[h],t[h],r-1,n,i))return!1}}return n.pop(),i.pop(),!0}function ti(e){return gn(e)?e.slice():E(e)||wn(e)||_(e)||En(e)?Array.from(e.entries()):e}var ri=(null==(Jn=o().Iterator)?void 0:Jn.prototype)||{};function ni(e){return e[Symbol.iterator]=ii,Object.assign(Object.create(ri),e)}function ii(){return this}["Symbol","Map","Set"].forEach(function(e){"undefined"===typeof o()[e]&&n("MobX requires global '"+e+"' to be available or polyfilled")}),"object"===typeof __MOBX_DEVTOOLS_GLOBAL_HOOK__&&__MOBX_DEVTOOLS_GLOBAL_HOOK__.injectMobx({spy:Ft,extras:{getDebugName:Kn},$mobx:Y})},44193(e,t,r){"use strict";r.r(t),r.d(t,{_registerSampler:()=>ce,_samplers:()=>se,inferType:()=>u,sample:()=>le});const n=Symbol("skip");function i(e){return e<10?"0"+e:e}function o(e,t){return t>e.length?e.repeat(Math.trunc(t/e.length)+1).substring(0,t):e}function s(){const e=e=>e&&"object"===typeof e;for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return r.reduce((t,r)=>(Object.keys(r||{}).forEach(n=>{const i=t[n],o=r[n];e(i)&&e(o)?t[n]=s(i,o):t[n]=o}),t),Array.isArray(r[r.length-1])?[]:{})}function a(e){return{value:"object"===e?{}:"array"===e?[]:void 0}}function l(e,t){t&&e.pop()}function c(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const{value:n}=e,{propertyName:i}=r,{name:o,prefix:s,namespace:a}=function(e){return{name:e?.xml?.name||"",prefix:e?.xml?.prefix||"",namespace:e?.xml?.namespace||null,attribute:e?.xml?.attribute??!1,wrapped:e?.xml?.wrapped??!1}}(t),l=function(e){const t=e?.xml;return t?.nodeType?t.nodeType:!0===t?.attribute?"attribute":!0===t?.wrapped&&"array"===e?.type?"element":e?.$ref||e?.$dynamicRef||"array"===e?.type||e?.oneOf||e?.anyOf||e?.allOf?"none":"element"}(t);let c=o||i?`${s?s+":":""}${o||i}`:null,p="object"===typeof n?Array.isArray(n)?[...n]:{...n}:n;switch(l){case"attribute":c&&(c=`$${c}`);break;case"text":c="#text";break;case"cdata":c="#cdata";break;case"none":"array"===t.type?(c=null,void 0!==t.example&&(c=t.items?.xml?.name||c)):c=null;break;default:"array"===t.type&&Array.isArray(p)&&(p={[c]:[...p]})}return a&&"text"!==l&&"cdata"!==l&&"none"!==l&&("object"===typeof p?p["$xmlns"+(s?":"+s:"")]=a:p={["$xmlns"+(s?":"+s:"")]:a,"#text":p}),{propertyName:c,value:p}}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 u(e){if(void 0!==e.type)return Array.isArray(e.type)?0===e.type.length?null:e.type[0]:e.type;const t=Object.keys(p);for(var r=0;r<t.length;r++){let n=t[r],i=p[n];if(void 0!==e[n])return i}return null}var d=r(4606),f=r.n(d);let h={},m=[];function g(e){let t;return void 0!==e.const?t=e.const:void 0!==e.examples&&e.examples.length?t=e.examples[0]:void 0!==e.enum&&e.enum.length?t=e.enum[0]:void 0!==e.default&&(t=e.default),t}function y(e){const t=g(e);
8if(void 0!==t)return{value:t,readOnly:e.readOnly,writeOnly:e.writeOnly,type:null}}function b(e,t,r,i){if(i){if(m.includes(e))return a(u(e));m.push(e)}if(i&&i.depth>t.maxSampleDepth)return l(m,i),a(u(e));if(e.$ref){if(!r)throw new Error("Your schema contains $ref. You must provide full specification in the third parameter.");let n=decodeURIComponent(e.$ref);n.startsWith("#")&&(n=n.substring(1));const o=f().get(r,n);let s;if(!0!==h[n]){h[n]=!0;const e=b(o,t,r,i);if("xml"===t.format){const t=n.split("/").pop(),r={...i,propertyName:i?.propertyName||t},{propertyName:a,value:l}=c(e,o,r);s={...e,value:{[a||"root"]:l}}}else s=e;h[n]=!1}else{s=a(u(o))}return l(m,i),s}if(void 0!==e.example)return l(m,i),{value:e.example,readOnly:e.readOnly,writeOnly:e.writeOnly,type:e.type};if(void 0!==e.allOf)return l(m,i),y(e)||function(e,t,r,i,o){let a=b(e,r,i);const l=[];for(let n of t){const{type:e,readOnly:t,writeOnly:s,value:c}=b({type:a.type,...n},r,i,{...o,isAllOfChild:!0});a.type&&e&&e!==a.type&&(console.warn("allOf: schemas with different types can't be merged"),a.type=e),a.type=a.type||e,a.readOnly=a.readOnly||t,a.writeOnly=a.writeOnly||s,null!=c&&l.push(c)}if("object"===a.type){a.value=s(a.value||{},...l.filter(e=>"object"===typeof e));for(const e in a.value)a.value[e]===n&&delete a.value[e];return a}{"array"===a.type&&(r.quiet||console.warn('OpenAPI Sampler: found allOf with "array" type. Result may be incorrect'));const e=l[l.length-1];return a.value=null!=e?e:a.value,a}}({...e,allOf:void 0},e.allOf,t,r,i);if(e.oneOf&&e.oneOf.length){e.anyOf&&(t.quiet||console.warn("oneOf and anyOf are not supported on the same level. Skipping anyOf")),l(m,i);return d(e,Object.assign({readOnly:e.readOnly,writeOnly:e.writeOnly},e.oneOf[0]))}if(e.anyOf&&e.anyOf.length){l(m,i);return d(e,Object.assign({readOnly:e.readOnly,writeOnly:e.writeOnly},e.anyOf[0]))}if(e.if&&e.then){l(m,i);const{if:n,then:o,...a}=e;return b(s(a,n,o),t,r,i)}let o=g(e),p=null;if(void 0===o){o=null,p=e.type,Array.isArray(p)&&e.type.length>0&&(p=e.type[0]),p||(p=u(e));let n=se[p];n&&(o=n(e,t,r,i))}return l(m,i),{value:o,readOnly:e.readOnly,writeOnly:e.writeOnly,type:p};function d(e,n){const o=y(e);if(void 0!==o)return o;const a=b({...e,oneOf:void 0,anyOf:void 0},t,r,i),l=b(n,t,r,i);if("object"===typeof a.value&&"object"===typeof l.value){const e=s(a.value,l.value);return{...l,value:e}}return l}}function v(e){let t=0;if("number"!==e.type||"float"!==e.format&&"double"!==e.format||(t=.1),"boolean"===typeof e.exclusiveMinimum||"boolean"===typeof e.exclusiveMaximum){if(Number.isFinite(e.maximum)&&Number.isFinite(e.minimum))return t=e.exclusiveMinimum?Math.floor(e.minimum)+1:e.minimum,(e.exclusiveMaximum&&t>=e.maximum||!e.exclusiveMaximum&&t>e.maximum)&&(t=(e.maximum+e.minimum)/2),t;if(Number.isFinite(e.minimum))return e.exclusiveMinimum?Math.floor(e.minimum)+1:e.minimum;if(Number.isFinite(e.maximum))return e.exclusiveMaximum?e.maximum>0?0:Math.floor(e.maximum)-1:e.maximum>0?0:e.maximum}else{if(Number.isFinite(e.minimum))return e.minimum;Number.isFinite(e.exclusiveMinimum)?(t=Math.floor(e.exclusiveMinimum)+1,t===e.exclusiveMaximum&&(t=(t+Math.floor(e.exclusiveMaximum)-1)/2)):Number.isFinite(e.exclusiveMaximum)?t=Math.floor(e.exclusiveMaximum)-1:Number.isFinite(e.maximum)&&(t=e.maximum)}return t}function x(e,t){return e}function w(e,t,r){let n=1;if(e)switch(e){case"?":n=0;break;case"*":n=x(0);break;case"+":n=x(1);break;default:throw new Error("Unknown quantifier symbol provided.")}else null!=t&&null!=r?n=x(parseInt(t),parseInt(r)):null!=t&&null==r&&(n=parseInt(t));return n}function S(e){let{min:t,max:r,omitTime:n,omitDate:o}=e,s=function(e,t,r,n){var o=r?"":e.getUTCFullYear()+"-"+i(e.getUTCMonth()+1)+"-"+i(e.getUTCDate());return t||(o+="T"+i(e.getUTCHours())+":"+i(e.getUTCMinutes())+":"+i(e.getUTCSeconds())+(n?"."+(e.getUTCMilliseconds()/1e3).toFixed(3).slice(2,5):"")+"Z"),o}(new Date("2019-08-24T14:15:22.123Z"),n,o,!1);return s.length<t&&console.warn(`Using minLength = ${t} is incorrect with format "date-time"`),r&&s.length>r&&console.warn(`Using maxLength = ${r} is incorrect with format "date-time"`),s}function k(e,t,r,n){if(n&&(arguments.length>4&&void 0!==arguments[4]&&arguments[4]))return function(e){let t,r,n,i=!1;e instanceof RegExp&&(i=e.flags.includes("i"),e=e.toString(),e=e.match(/\/(.+?)\//)?.[1]??"");const o=/([.A-Za-z0-9])(?:\{(\d+)(?:\,(\d+)|)\}|(\?|\*|\+))(?![^[]*]|[^{]*})/;let s=(e=e.replace(/^(\^)?(.*?)(\$)?$/,"$2")).match(o);for(;null!=s;){const t=s[2],r=s[3];n=w(s[4],t,r),e=e.slice(0,s.index)+s[1].repeat(n)+e.slice(s.index+s[0].length),s=e.match(o)}const a=/(\d-\d|\w-\w|\d|\w|[-!@#$&()`.+,/"])/,l=/\[(\^|)(-|)(.+?)\](?:\{(\d+)(?:\,(\d+)|)\}|(\?|\*|\+)|)/;for(s=e.match(l);null!=s;){const o="^"===s[1],c="-"===s[2],p=s[4],u=s[5],d=s[6],f=[];let h=s[3],m=h.match(a);for(c&&f.push(45);null!=m;){if(-1===m[0].indexOf("-"))i&&isNaN(Number(m[0]))?(f.push(m[0].toUpperCase().charCo
8deAt(0)),f.push(m[0].toLowerCase().charCodeAt(0))):f.push(m[0].charCodeAt(0));else{const e=m[0].split("-").map(e=>e.charCodeAt(0));if(t=e[0],r=e[1],t>r)throw new Error("Character range provided is out of order.");for(let n=t;n<=r;n++)if(i&&isNaN(Number(String.fromCharCode(n)))){const e=String.fromCharCode(n);f.push(e.toUpperCase().charCodeAt(0)),f.push(e.toLowerCase().charCodeAt(0))}else f.push(n)}h=h.substring(m[0].length),m=h.match(a)}if(n=w(d,p,u),o){let e=-1;for(let t=48;t<=57;t++)e=f.indexOf(t),e>-1?f.splice(e,1):f.push(t);for(let t=65;t<=90;t++)e=f.indexOf(t),e>-1?f.splice(e,1):f.push(t);for(let t=97;t<=122;t++)e=f.indexOf(t),e>-1?f.splice(e,1):f.push(t)}const g=Array.from({length:n},()=>String.fromCharCode(f[x(0,f.length)])).join("");s=(e=e.slice(0,s.index)+g+e.slice(s.index+s[0].length)).match(l)}const c=/(.)\{(\d+)\,(\d+)\}/;for(s=e.match(c);null!=s;){if(t=parseInt(s[2]),r=parseInt(s[3]),t>r)throw new Error("Numbers out of order in {} quantifier.");n=x(t),e=e.slice(0,s.index)+s[1].repeat(n)+e.slice(s.index+s[0].length),s=e.match(c)}const p=/(.)\{(\d+)\}/;for(s=e.match(p);null!=s;)n=parseInt(s[2]),e=e.slice(0,s.index)+s[1].repeat(n)+e.slice(s.index+s[0].length),s=e.match(p);return e}(n);let i=o("string",e);return t&&i.length>t&&(i=i.substring(0,t)),i}const O={email:function(){return"[email protected]"},"idn-email":function(){return"\u043f\u043e\u0448\u0442\u0430@\u0443\u043a\u0440.\u043d\u0435\u0442"},password:function(e,t){let r="pa$$word";return e>r.length&&(r+="_",r+=o("qwerty!@#$%^123456",e-r.length).substring(0,e-r.length)),r},"date-time":function(e,t){return S({min:e,max:t,omitTime:!1,omitDate:!1})},date:function(e,t){return S({min:e,max:t,omitTime:!0,omitDate:!1})},time:function(e,t){return S({min:e,max:t,omitTime:!1,omitDate:!0}).slice(1)},ipv4:function(){return"192.168.0.1"},ipv6:function(){return"2001:0db8:85a3:0000:0000:8a2e:0370:7334"},hostname:function(){return"example.com"},"idn-hostname":function(){return"\u043f\u0440\u0438\u043a\u043b\u0430\u0434.\u0443\u043a\u0440"},iri:function(){return"http://example.com/entity/1"},"iri-reference":function(){return"/entity/1"},uri:function(){return"http://example.com"},"uri-reference":function(){return"../dictionary"},"uri-template":function(){return"http://example.com/{endpoint}"},uuid:function(e,t,r){return function(e){var t,r,n,i,o=function(e){var t=0;if(0==e.length)return t;for(var r=0;r<e.length;r++)t=(t<<5)-t+e.charCodeAt(r),t&=t;return t}(e),s=(t=o,r=o,n=o,i=o,function(){var e=(t|=0)-((r|=0)<<27|r>>>5)|0;return t=r^((n|=0)<<17|n>>>15),r=n+(i|=0)|0,n=i+e|0,((i=t+e|0)>>>0)/4294967296}),a="xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,e=>{var t=16*s()%16|0;return("x"==e?t:3&t|8).toString(16)});return a}(r||"id")},default:k,"json-pointer":function(){return"/json/pointer"},"relative-json-pointer":function(){return"1/relative/json/pointer"},regex:function(){return"/regex/"}};class E{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0;this.pattern=e,this.separator=t.separator||".",this.segments=this._parse(e),this.data=r,this._hasDeepWildcard=this.segments.some(e=>"deep-wildcard"===e.type),this._hasAttributeCondition=this.segments.some(e=>void 0!==e.attrName),this._hasPositionSelector=this.segments.some(e=>void 0!==e.position)}_parse(e){const t=[];let r=0,n="";for(;r<e.length;)e[r]===this.separator?r+1<e.length&&e[r+1]===this.separator?(n.trim()&&(t.push(this._parseSegment(n.trim())),n=""),t.push({type:"deep-wildcard"}),r+=2):(n.trim()&&t.push(this._parseSegment(n.trim())),n="",r++):(n+=e[r],r++);return n.trim()&&t.push(this._parseSegment(n.trim())),t}_parseSegment(e){const t={type:"tag"};let r=null,n=e;const i=e.match(/^([^\[]+)(\[[^\]]*\])(.*)$/);if(i&&(n=i[1]+i[3],i[2])){const e=i[2].slice(1,-1);e&&(r=e)}let o,s,a=n;if(n.includes("::")){const t=n.indexOf("::");if(o=n.substring(0,t).trim(),a=n.substring(t+2).trim(),!o)throw new Error(`Invalid namespace in pattern: ${e}`)}let l=null;if(a.includes(":")){const e=a.lastIndexOf(":"),t=a.substring(0,e).trim(),r=a.substring(e+1).trim();["first","last","odd","even"].includes(r)||/^nth\(\d+\)$/.test(r)?(s=t,l=r):s=a}else s=a;if(!s)throw new Error(`Invalid segment pattern: ${e}`);if(t.tag=s,o&&(t.namespace=o),r)if(r.includes("=")){const e=r.indexOf("=");t.attrName=r.substring(0,e).trim(),t.attrValue=r.substring(e+1).trim()}else t.attrName=r.trim();if(l){const e=l.match(/^nth\((\d+)\)$/);e?(t.position="nth",t.positionValue=parseInt(e[1],10)):t.position=l}return t}get length(){return this.segments.length}hasDeepWildcard(){return this._hasDeepWildcard}hasAttributeCondition(){return this._hasAttributeCondition}hasPositionSelector(){return this._hasPositionSelector}toString(){return this.pattern}}class _{constructor(e){this._matcher=e}get separator(){return this._matcher.separator}getCurrentTag(){const e=this._matcher.path;return e.length>0?e[e.length-1].tag:void 0}getCurrentNamespace(){const e=this._matcher.path;return e.length>0?e[e.length-1].namespace:void 0}getAttrValue(e){const t=this._matcher.path;if(0!==t.length)return t[t.length-1].values?.[e]}hasAttr(e){const t=this._matcher.path;if(0===t.length)return!1;const r=t[t.length-1];return void 0!==r.values&&e in r.values}getAnyParentAttr(e){return this._matcher.getAnyParentAttr(e)}hasAnyParentAttr(e){return this._matcher.hasAnyParentAttr(e)}getPosition(){const e=this._matcher.path;return 0===e.length?-1:e[e.length-1].position??0}getCounter(){const e=this._matcher.path;return 0===e.length?-1:e[e.length-1].counter??0}getIndex(){return this.getPosition()}getDepth(){return this._matcher.path.length}toString(e){let t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return this._matcher.toString(e,t)}toArray(){return this._matcher.path.map(e=>e.tag)}matches(e){return this._matcher.matches(e)}matchesAny(e){return e.matchesAny(this._matcher)}}class ${constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.separator=e.separator||".",this.path=[],this.siblingStacks=[],this._pathStringCache=null,this._view=new _(this),this._keptAttrs=[]}push(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;this._pathStringCache=null,this.path.length>0&&(this.path[this.path.length-1].values=void 0);const i=this.path.length;let o=this.siblingStacks[i];o||(o={counts:new Map,total:0},this.siblingStacks[i]=o);const s=r?`${r}:${e}`:e,a=o.counts.get(s)||0,l=o.total;o.counts.set(s,a+1),o.total++;const c={tag:e,position:l,counter:a};null!==r&&void 0!==r&&(c.namespace=r),null!==t&&void 0!==t&&(c.values=t),this.path.push(c);const p=this.path.length,u=null!==n?n.keep:null;if(null!==u&&void 0!==u&&u.length>0&&t)for(let d=0;d<u.length;d++){const e=u[d];void 0!==t[e]&&this._keptAttrs.push({depth:p,name:e,value:t[e]})}}pop(){if(0===this.path.length)return;this._pathStringCache=null;const e=this.path.pop();this.siblingStacks.length>this.path.length+1&&(this.siblingStacks.length=this.path.length+1);const t=this.path.length+1;for(;this._keptAttrs.length>0&&this._keptAttrs[this._keptAttrs.length-1].depth>=t;)this._keptAttrs.pop();return e}updateCurrent(e){if(this.path.length>0){const t=this.path[this.path.length-1];null!==e&&void 0!==e&&(t.values=e)}}getCurrentTag(){return this.path.length>0?this.path[this.path.length-1].tag:void 0}getCurrentNamespace(){return this.path.length>0?this.path[this.path.length-1].namespace:void 0}getAttrValue(e){if(0!==this.path.length)return this.path[this.path.length-1].values?.[e]}hasAttr(e){if(0===this.path.length)return!1;const t=this.path[this.path.length-1];return void 0!==t.values&&e in t.values}getAnyParentAttr(e){const t=this._keptAttrs;for(let r=t.length-1;r>=0;r--)if(t[r].name===e)return t[r].value}hasAnyParentAttr(e){const t=this._keptAttrs;for(let r=t.length-1;r>=0;r--)if(t[r].name===e)return!0;return!1}getPosition(){return 0===this.path.length?-1:this.path[this.path.length-1].position??0}getCounter(){return 0===this.path.length?-1:this.path[this.path.length-1].counter??0}getIndex(){return this.getPosition()}getDepth(){return this.path.length}toString(e){let t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];const r=e||this.separator;if(r===this.separator&&!0===t){if(null!==this._pathStringCache)return this._pathStringCache;const e=this.path.map(e=>e.namespace?`${e.namespace}:${e.tag}`:e.tag).join(r);return this._pathStringCache=e,e}return this.path.map(e=>t&&e.namespace?`${e.namespace}:${e.tag}`:e.tag).join(r)}toArray(){return this.path.map(e=>e.tag)}reset(){this._pathStringCache=null,this.path=[],this.siblingStacks=[],this._keptAttrs=[]}matches(e){const t=e.segments;return 0!==t.length&&(e.hasDeepWildcard()?this._matchWithDeepWildcard(t):this._matchSimple(t))}_matchSimple(e){if(this.path.length!==e.length)return!1;for(let t=0;t<e.length;t++)if(!this._matchSegment(e[t],this.path[t],t===this.path.length-1))return!1;return!0}_matchWithDeepWildcard(e){let t=this.path.length-1,r=e.length-1;for(;r>=0&&t>=0;){const n=e[r];if("deep-wildcard"===n.type){if(r--,r<0)return!0;const n=e[r];let i=!1;for(let e=t;e>=0;e--)if(this._matchSegment(n,this.path[e],e===this.path.length-1)){t=e-1,r--,i=!0;break}if(!i)return!1}else{if(!this._matchSegment(n,this.path[t],t===this.path.length-1))return!1;t--,r--}}return r<0}_matchSegment(e,t,r){if("*"!==e.tag&&e.tag!==t.tag)return!1;if(void 0!==e.namespace&&"*"!==e.namespace&&e.namespace!==t.namespace)return!1;if(void 0!==e.attrName){if(!r)return!1;if(!t.values||!(e.attrName in t.values))return!1;if(void 0!==e.attrValue&&String(t.values[e.attrName])!==String(e.attrValue))return!1}if(void 0!==e.position){if(!r)return!1;const n=t.counter??0;if("first"===e.position&&0!==n)return!1;if("odd"===e.position&&n%2!==1)return!1;if("even"===e.position&&n%2!==0)return!1;if("nth"===e.position&&n!==e.positionValue)return!1}return!0}matchesAny(e){return e.matchesAny(this)}
8snapshot(){return{path:this.path.map(e=>({...e})),siblingStacks:this.siblingStacks.map(e=>e?{counts:new Map(e.counts),total:e.total}:e),keptAttrs:this._keptAttrs.map(e=>({...e}))}}restore(e){this._pathStringCache=null,this.path=e.path.map(e=>({...e})),this.siblingStacks=e.siblingStacks.map(e=>e?{counts:new Map(e.counts),total:e.total}:e),this._keptAttrs=(e.keptAttrs||[]).map(e=>({...e}))}readOnly(){return this._view}}function A(e){return"number"===typeof e&&Object.is(e,-0)?"-0":String(e)}function P(e){return A(e).replace(/--/g,"- -").replace(/--/g,"- -").replace(/-$/,"- ")}function j(e){return A(e).replace(/\]\]>/g,"]]]]><![CDATA[>")}function C(e){return A(e).replace(/"/g,"&quot;").replace(/'/g,"&apos;")}const T=":A-Za-z_\xc0-\xd6\xd8-\xf6\xf8-\u02ff\u0370-\u037d\u037f-\u0486\u0488-\u1fff\u200c-\u200d\u2070-\u218f\u2c00-\u2fef\u3001-\ud7ff\uf900-\ufdcf\ufdf0-\ufffd",I=":A-Za-z_\xc0-\u02ff\u0370-\u037d\u037f-\u0486\u0488-\u1fff\u200c-\u200d\u2070-\u218f\u2c00-\u2fef\u3001-\ud7ff\uf900-\ufdcf\ufdf0-\ufffd\ud800\udc00-\udb7f\udfff",N=I+"\\-\\.\\d\xb7\u0300-\u036f\u0487\u203f-\u2040",R=function(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";const n=`[${e.replace(":","")}][${t.replace(":","")}]*`;return{name:new RegExp(`^[${e}][${t}]*$`,r),ncName:new RegExp(`^${n}$`,r),qName:new RegExp(`^${n}(?::${n})?$`,r),nmToken:new RegExp(`^[${t}]+$`,r),nmTokens:new RegExp(`^[${t}]+(?:\\s+[${t}]+)*$`,r)}},L=R(T,T+"\\-\\.\\d\xb7\u0300-\u036f\u203f-\u2040"),D=R(I,N,"u"),M=":A-Za-z_",z=R(M,M+"\\-\\.\\d"),F=function(){return arguments.length>1&&void 0!==arguments[1]&&arguments[1]?z:"1.1"===(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"1.0")?D:L},B=["name","ncName","qName","nmToken","nmTokens"],q=function(e){let{xmlVersion:t="1.0",asciiOnly:r=!1,maxCacheSize:n=2048}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!B.includes(e))throw new TypeError(`Unknown production "${e}". Must be one of: ${B.join(", ")}`);const i=F(t,r)[e];let o=new Map;const s=e=>{const t=o.get(e);if(void 0!==t)return t;const r=i.test(e);return o.size<n&&o.set(e,r),r};return s.reset=()=>{o=new Map},s};
8function U(e,t,r,n,i){return r.sanitizeName?i(e)?e:r.sanitizeName(e,{isAttribute:t,matcher:n.readOnly()}):e}function V(e,t){let r="";t.format&&(r="\n");const n=[];if(t.stopNodes&&Array.isArray(t.stopNodes))for(let s=0;s<t.stopNodes.length;s++){const e=t.stopNodes[s];"string"===typeof e?n.push(new E(e)):e instanceof E&&n.push(e)}const i=function(e,t){if(!Array.isArray(e)||0===e.length)return"1.0";const r=e[0];if("?xml"===K(r)){const e=r[":@"];if(e){const r=t.attributeNamePrefix+"version";if(e[r])return e[r]}}return"1.0"}(e,t),o=q("qName",{xmlVersion:i});return W(e,t,r,new $,n,o)}function W(e,t,r,n,i,o){let s="",a=!1;if(t.maxNestedTags&&n.getDepth()>t.maxNestedTags)throw new Error("Maximum nested tags exceeded");if(!Array.isArray(e)){if(void 0!==e&&null!==e){let r=A(e);return r=X(r,t),r}return""}for(let l=0;l<e.length;l++){const c=e[l],p=K(c);if(void 0===p)continue;const u=p===t.textNodeName||p===t.cdataPropName||p===t.commentPropName||"?"===p[0]?p:U(p,!1,t,n,o),d=H(c[":@"],t);n.push(u,d);const f=J(n,i);if(u===t.textNodeName){let e=c[p];f||(e=t.tagValueProcessor(u,e),e=X(e,t)),e=A(e),a&&(s+=r),s+=e,a=!1,n.pop();continue}if(u===t.cdataPropName){a&&(s+=r);s+=`<![CDATA[${j(c[p][0][t.textNodeName])}]]>`,a=!1,n.pop();continue}if(u===t.commentPropName){s+=r+`\x3c!--${P(c[p][0][t.textNodeName])}--\x3e`,a=!0,n.pop();continue}if("?"===u[0]){s+=("?xml"===u?"":r)+`<${u}${Y(c[":@"],t,f,n,o)}?>`,a=!0,n.pop();continue}let h=r;
8""!==h&&(h+=t.indentBy);const m=r+`<${u}${Y(c[":@"],t,f,n,o)}`;let g;g=f?Q(c[p],t):W(c[p],t,h,n,i,o),-1!==t.unpairedTags.indexOf(u)?t.suppressUnpairedNode?s+=m+">":s+=m+"/>":g&&0!==g.length||!t.suppressEmptyNode?g&&g.endsWith(">")?s+=m+`>${g}${r}</${u}>`:(s+=m+">",g&&""!==r&&(g.includes("/>")||g.includes("</"))?s+=r+t.indentBy+g+r:s+=g,s+=`</${u}>`):s+=m+"/>",a=!0,n.pop()}return s}function H(e,t){if(!e||t.ignoreAttributes)return null;const r={};let n=!1;for(let i in e){if(!Object.prototype.hasOwnProperty.call(e,i))continue;r[i.startsWith(t.attributeNamePrefix)?i.substr(t.attributeNamePrefix.length):i]=C(e[i]),n=!0}return n?r:null}function Q(e,t){if(!Array.isArray(e))return void 0!==e&&null!==e?A(e):"";let r="";for(let n=0;n<e.length;n++){const i=e[n],o=K(i);if(o===t.textNodeName)r+=A(i[o]);else if(o===t.cdataPropName)r+=i[o][0][t.textNodeName];else if(o===t.commentPropName)r+=i[o][0][t.textNodeName];else{if(o&&"?"===o[0])continue;if(o){const e=G(i[":@"],t),n=Q(i[o],t);n&&0!==n.length?r+=`<${o}${e}>${n}</${o}>`:r+=`<${o}${e}/>`}}}return r}function G(e,t){let r="";if(e&&!t.ignoreAttributes)for(let n in e){if(!Object.prototype.hasOwnProperty.call(e,n))continue;let i=e[n];!0===i&&t.suppressBooleanAttributes?r+=` ${n.substr(t.attributeNamePrefix.length)}`:r+=` ${n.substr(t.attributeNamePrefix.length)}="${C(i)}"`}return r}function K(e){const t=Object.keys(e);for(let r=0;r<t.length;r++){const n=t[r];if(Object.prototype.hasOwnProperty.call(e,n)&&":@"!==n)return n}}function Y(e,t,r,n,i){let o="";if(e&&!t.ignoreAttributes)for(let s in e){if(!Object.prototype.hasOwnProperty.call(e,s))continue;const a=s.substr(t.attributeNamePrefix.length),l=r?a:U(a,!0,t,n,i);let c;r?c=e[s]:(c=t.attributeValueProcessor(s,e[s]),c=X(c,t)),!0===c&&t.suppressBooleanAttributes?o+=` ${l}`:o+=` ${l}="${C(c)}"`}return o}function J(e,t){if(!t||0===t.length)return!1;for(let r=0;r<t.length;r++)if(e.matches(t[r]))return!0;return!1}function X(e,t){if(e&&e.length>0&&t.processEntities)for(let r=0;r<t.entities.length;r++){const n=t.entities[r];e=e.replace(n.regex,n.val)}return e}const Z={attributeNamePrefix:"@_",attributesGroupName:!1,textNodeName:"#text",ignoreAttributes:!0,cdataPropName:!1,format:!1,indentBy:"  ",suppressEmptyNode:!1,suppressUnpairedNode:!0,suppressBooleanAttributes:!0,tagValueProcessor:function(e,t){return t},attributeValueProcessor:function(e,t){return t},preserveOrder:!1,commentPropName:!1,unpairedTags:[],entities:[{regex:new RegExp("&","g"),val:"&amp;"},{regex:new RegExp(">","g"),val:"&gt;"},{regex:new RegExp("<","g"),val:"&lt;"},{regex:new RegExp("'","g"),val:"&apos;"},{regex:new RegExp('"',"g"),val:"&quot;"}],processEntities:!0,stopNodes:[],oneListGroup:!1,maxNestedTags:100,jPath:!0,sanitizeName:!1};function ee(e){if(this.options=Object.assign({},Z,e),this.options.stopNodes&&Array.isArray(this.options.stopNodes)&&(this.options.stopNodes=this.options.stopNodes.map(e=>"string"===typeof e&&e.startsWith("*.")?".."+e.substring(2):e)),this.stopNodeExpressions=[],this.options.stopNodes&&Array.isArray(this.options.stopNodes))for(let r=0;r<this.options.stopNodes.length;r++){const e=this.options.stopNodes[r];"string"===typeof e?this.stopNodeExpressions.push(new E(e)):e instanceof E&&this.stopNodeExpressions.push(e)}var t;!0===this.options.ignoreAttributes||this.options.attributesGroupName?this.isAttribute=function(){return!1}:(this.ignoreAttributesFn="function"===typeof(t=this.options.ignoreAttributes)?t:Array.isArray(t)?e=>{for(const r of t){if("string"===typeof r&&e===r)return!0;if(r instanceof RegExp&&r.test(e))return!0}}:()=>!1,this.attrPrefixLen=this.options.attributeNamePrefix.length,this.isAttribute=ie),this.processTextOrObjNode=re,this.options.format?(this.indentate=ne,this.tagEndChar=">\n",this.newLine="\n"):(this.indentate=function(){return""},this.tagEndChar=">",this.newLine="")}
8function te(e,t,r,n,i){return r.sanitizeName?i(e)?e:r.sanitizeName(e,{isAttribute:t,matcher:n.readOnly()}):e}function re(e,t,r,n,i){const o=this.extractAttributes(e);n.push(t,o);if(this.checkStopNode(n)){const i=this.buildRawContent(e),o=this.buildAttributesForStopNode(e);return n.pop(),this.buildObjectNode(i,t,o,r)}const s=this.j2x(e,r+1,n,i);return n.pop(),"?"===t[0]?this.buildTextValNode("",t,s.attrStr,r,n):void 0!==e[this.options.textNodeName]&&1===Object.keys(e).length?this.buildTextValNode(e[this.options.textNodeName],t,s.attrStr,r,n):this.buildObjectNode(s.val,t,s.attrStr,r)}function ne(e){return this.options.indentBy.repeat(e)}function ie(e){return!(!e.startsWith(this.options.attributeNamePrefix)||e===this.options.textNodeName)&&e.substr(this.attrPrefixLen)}ee.prototype.build=function(e){if(this.options.preserveOrder)return V(e,this.options);{Array.isArray(e)&&this.options.arrayNodeName&&this.options.arrayNodeName.length>1&&(e={[this.options.arrayNodeName]:e});const t=new $,r=function(e,t){const r=e["?xml"];if(r&&"object"===typeof r){if(t.attributesGroupName&&r[t.attributesGroupName]){const e=r[t.attributesGroupName][t.attributeNamePrefix+"version"];if(e)return e}const e=r[t.attributeNamePrefix+"version"];if(e)return e}return"1.0"}(e,this.options),n=q("qName",{xmlVersion:r});return this.j2x(e,0,t,n).val}},ee.prototype.j2x=function(e,t,r,n){let i="",o="";if(this.options.maxNestedTags&&r.getDepth()>=this.options.maxNestedTags)throw new Error("Maximum nested tags exceeded");const s=this.options.jPath?r.toString():r,a=this.checkStopNode(r);for(let l in e){if(!Object.prototype.hasOwnProperty.call(e,l))continue;const c=l===this.options.textNodeName||l===this.options.cdataPropName||l===this.options.commentPropName||this.options.attributesGroupName&&l===this.options.attributesGroupName||this.isAttribute(l)||"?"===l[0]?l:te(l,!1,this.options,r,n);if("undefined"===typeof e[l])this.isAttribute(l)&&(o+="");else if(null===e[l])this.isAttribute(l)||c===this.options.cdataPropName||c===this.options.commentPropName?o+="":"?"===c[0]?o+=this.indentate(t)+"<"+c+"?"+this.tagEndChar:o+=this.indentate(t)+"<"+c+"/"+this.tagEndChar;else if(e[l]instanceof Date)o+=this.buildTextValNode(e[l],c,"",t,r);else if("object"!==typeof e[l]){const p=this.isAttribute(l);
8if(p&&!this.ignoreAttributesFn(p,s)){const t=te(p,!0,this.options,r,n);i+=this.buildAttrPairStr(t,A(e[l]),a)}else if(!p)if(l===this.options.textNodeName){let t=this.options.tagValueProcessor(l,A(e[l]));o+=this.replaceEntitiesValue(t)}else{r.push(c);const n=this.checkStopNode(r);if(r.pop(),n){const r=A(e[l]);o+=""===r?this.indentate(t)+"<"+c+this.closeTag(c)+this.tagEndChar:this.indentate(t)+"<"+c+">"+r+"</"+c+this.tagEndChar}else o+=this.buildTextValNode(e[l],c,"",t,r)}}else if(Array.isArray(e[l])){const i=e[l].length;let s="",a="";for(let p=0;p<i;p++){const i=e[l][p];if("undefined"===typeof i);else if(null===i)"?"===c[0]?o+=this.indentate(t)+"<"+c+"?"+this.tagEndChar:o+=this.indentate(t)+"<"+c+"/"+this.tagEndChar;else if("object"===typeof i)if(this.options.oneListGroup){r.push(c);const e=this.j2x(i,t+1,r,n);r.pop(),s+=e.val,this.options.attributesGroupName&&i.hasOwnProperty(this.options.attributesGroupName)&&(a+=e.attrStr)}else s+=this.processTextOrObjNode(i,c,t,r,n);else if(this.options.oneListGroup){let e=this.options.tagValueProcessor(c,i);e=this.replaceEntitiesValue(e),e=A(e),s+=e}else{r.push(c);const e=this.checkStopNode(r);if(r.pop(),e){const e=A(i);s+=""===e?this.indentate(t)+"<"+c+this.closeTag(c)+this.tagEndChar:this.indentate(t)+"<"+c+">"+e+"</"+c+this.tagEndChar}else s+=this.buildTextValNode(i,c,"",t,r)}}this.options.oneListGroup&&(s=this.buildObjectNode(s,c,a,t)),o+=s}else if(this.options.attributesGroupName&&l===this.options.attributesGroupName){const t=Object.keys(e[l]),o=t.length;for(let s=0;s<o;s++){const o=te(t[s],!0,this.options,r,n);i+=this.buildAttrPairStr(o,A(e[l][t[s]]),a)}}else o+=this.processTextOrObjNode(e[l],c,t,r,n)}return{attrStr:i,val:o}},ee.prototype.buildAttrPairStr=function(e,t,r){return r||(t=this.options.attributeValueProcessor(e,A(t)),t=this.replaceEntitiesValue(t)),this.options.suppressBooleanAttributes&&"true"===t?" "+e:" "+e+'="'+C(t)+'"'},ee.prototype.extractAttributes=function(e){if(!e||"object"!==typeof e)return null;const t={};let r=!1;if(this.options.attributesGroupName&&e[this.options.attributesGroupName]){const n=e[this.options.attributesGroupName];for(let e in n){if(!Object.prototype.hasOwnProperty.call(n,e))continue;t[e.startsWith(this.options.attributeNamePrefix)?e.substring(this.options.attributeNamePrefix.length):e]=C(n[e]),r=!0}}else for(let n in e){if(!Object.prototype.hasOwnProperty.call(e,n))continue;const i=this.isAttribute(n);i&&(t[i]=C(e[n]),r=!0)}return r?t:null},ee.prototype.buildRawContent=function(e){if("string"===typeof e)return e;if("object"!==typeof e||null===e)return String(e);if(void 0!==e[this.options.textNodeName])return e[this.options.textNodeName];let t="";for(let r in e){if(!Object.prototype.hasOwnProperty.call(e,r))continue;if(this.isAttribute(r))continue;if(this.options.attributesGroupName&&r===this.options.attributesGroupName)continue;const n=e[r];if(r===this.options.textNodeName)t+=n;else if(Array.isArray(n)){for(let e of n)if("string"===typeof e||"number"===typeof e)t+=`<${r}>${e}</${r}>`;else if("object"===typeof e&&null!==e){const n=this.buildRawContent(e),i=this.buildAttributesForStopNode(e);t+=""===n?`<${r}${i}/>`:`<${r}${i}>${n}</${r}>`}}else if("object"===typeof n&&null!==n){const e=this.buildRawContent(n),i=this.buildAttributesForStopNode(n);t+=""===e?`<${r}${i}/>`:`<${r}${i}>${e}</${r}>`}else t+=`<${r}>${n}</${r}>`}return t},ee.prototype.buildAttributesForStopNode=function(e){if(!e||"object"!==typeof e)return"";let t="";if(this.options.attributesGroupName&&e[this.options.attributesGroupName]){const r=e[this.options.attributesGroupName];for(let e in r){if(!Object.prototype.hasOwnProperty.call(r,e))continue;const n=e.startsWith(this.options.attributeNamePrefix)?e.substring(this.options.attributeNamePrefix.length):e,i=r[e];!0===i&&this.options.suppressBooleanAttributes?t+=" "+n:t+=" "+n+'="'+C(i)+'"'}}else for(let r in e){if(!Object.prototype.hasOwnProperty.call(e,r))continue;const n=this.isAttribute(r);if(n){const i=e[r];!0===i&&this.options.suppressBooleanAttributes?t+=" "+n:t+=" "+n+'="'+C(i)+'"'}}return t},ee.prototype.buildObjectNode=function(e,t,r,n){if(""===e)return"?"===t[0]?this.indentate(n)+"<"+t+r+"?"+this.tagEndChar:this.indentate(n)+"<"+t+r+this.closeTag(t)+this.tagEndChar;if("?"===t[0])return this.indentate(n)+"<"+t+r+"?"+this.tagEndChar;{let i="</"+t+this.tagEndChar,o="";return"?"===t[0]&&(o="?",i=""),!r&&""!==r||-1!==e.indexOf("<")?!1!==this.options.commentPropName&&t===this.options.commentPropName&&0===o.length?this.indentate(n)+`\x3c!--${P(e)}--\x3e`+this.newLine:this.indentate(n)+"<"+t+r+o+this.tagEndChar+e+this.indentate(n)+i:this.indentate(n)+"<"+t+r+o+">"+e+i}},ee.prototype.closeTag=function(e){let t="";return-1!==this.options.unpairedTags.indexOf(e)?this.options.suppressUnpairedNode||(t="/"):t=this.options.suppressEmptyNode?"/":`></${e}`,t},ee.prototype.checkStopNode=function(e){if(!this.stopNodeExpressions||0===this.stopNodeExpressions.length)return!1;for(let t=0;t<this.stopNodeExpressions.length;t++)if(e.matches(this.stopNodeExpressions[t]))return!0;return!1}
8,ee.prototype.buildTextValNode=function(e,t,r,n,i){if(!1!==this.options.cdataPropName&&t===this.options.cdataPropName){const t=j(e);return this.indentate(n)+`<![CDATA[${t}]]>`+this.newLine}if(!1!==this.options.commentPropName&&t===this.options.commentPropName){const t=P(e);return this.indentate(n)+`\x3c!--${t}--\x3e`+this.newLine}if("?"===t[0])return this.indentate(n)+"<"+t+r+"?"+this.tagEndChar;{let i=this.options.tagValueProcessor(t,e);return i=this.replaceEntitiesValue(i),i=A(i),""===i?this.indentate(n)+"<"+t+r+this.closeTag(t)+this.tagEndChar:this.indentate(n)+"<"+t+r+">"+i+"</"+t+this.tagEndChar}},ee.prototype.replaceEntitiesValue=function(e){if(e&&e.length>0&&this.options.processEntities)for(let t=0;t<this.options.entities.length;t++){const r=this.options.entities[t];e=e.replace(r.regex,r.val)}return e};const oe=ee;var se={};const ae={skipReadOnly:!1,maxSampleDepth:15};function le(e,t,r){let n=Object.assign({},ae,t);h={},m=[];let i=b(e,n,r).value;return"xml"===n?.format?function(e,t){if(!e)throw new Error("Unknown format output for building XML.");return(Array.isArray(e)||Object.keys(e).length>1)&&(e={[t?.xml?.name||"root"]:e}),new oe({ignoreAttributes:!1,format:!0,attributeNamePrefix:"$",textNodeName:"#text",cdataPropName:"#cdata"}).build(e)}(i,e):i}function ce(e,t){se[e]=t}ce("array",function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0,n=arguments.length>3?arguments[3]:void 0;const i=n&&n.depth||1;let o=Math.min(void 0!=e.maxItems?e.maxItems:1/0,e.minItems||1);const s=e.prefixItems||e.items||e.contains;Array.isArray(s)&&(o=Math.max(o,s.length));let a=e=>Array.isArray(s)?s[e]||{}:s||{},l=[];if(!s)return l;for(let p=0;p<o;p++){let e=a(p),{value:o}=b(e,t,r,{depth:i+1});if("xml"===t?.format){const{value:t,propertyName:r}=c({value:o},e,n);r?(l?.[r]||(l={...l,[r]:[]}),l[r].push(t)):l={...l,...t}}else l.push(o)}if("xml"===t?.format&&1===i){const{value:t,propertyName:r}=c({value:null},e,n);r&&(l=t?Array.isArray(l)?{[r]:{...t,...l.map(e=>({"#text":{...e}}))}}:{[r]:{...l,...t}}:{[r]:l})}return l}),ce("boolean",function(e){return!0}),ce("integer",v),ce("number",v),ce("object",function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0,i=arguments.length>3?arguments[3]:void 0,o={};const s=i&&i.depth||1;if(e&&"object"===typeof e.properties){const a=Array.isArray(e.required)?e.required:[],l={};for(const e of a)l[e]=!0;Object.keys(e.properties).forEach(a=>{if(t.skipNonRequired&&!l.hasOwnProperty(a))return;const p=b(e.properties[a],t,r,{propertyName:a,depth:s+1});if(t.skipReadOnly&&p.readOnly)i?.isAllOfChild&&(o[a]=n);else if(t.skipWriteOnly&&p.writeOnly)i?.isAllOfChild&&(o[a]=n);else if("xml"===t?.format){const{propertyName:t,value:r}=c(p,e.properties[a],{propertyName:a});t?o[t]=r:null!==r&&"object"===typeof r&&(o={...o,...r})}else o[a]=p.value})}if(e&&"object"===typeof e.additionalProperties){const n=e.additionalProperties["x-additionalPropertiesName"]||"property";o[`${String(n)}1`]=b(e.additionalProperties,t,r,{depth:s+1}).value,o[`${String(n)}2`]=b(e.additionalProperties,t,r,{depth:s+1}).value}if(e&&"object"===typeof e.properties&&void 0!==e.maxProperties&&Object.keys(o).length>e.maxProperties){const t={};let r=0;(Array.isArray(e.required)?e.required:[]).forEach(e=>{void 0!==o[e]&&(t[e]=o[e],r++)}),Object.keys(o).forEach(n=>{r<e.maxProperties&&!t.hasOwnProperty(n)&&(t[n]=o[n],r++)}),o=t}return o}),ce("string",function(e,t,r,n){let i=e.format||"default",o=O[i]||k,s=n&&n.propertyName;return o(e.minLength||0,e.maxLength,s,e.pattern,t?.enablePatterns)})},53316(e){"use strict";function t(e){if("string"!==typeof e)throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}function r(e,t){for(var r,n="",i=0,o=-1,s=0,a=0;a<=e.length;++a){if(a<e.length)r=e.charCodeAt(a);else{if(47===r)break;r=47}if(47===r){if(o===a-1||1===s);else if(o!==a-1&&2===s){if(n.length<2||2!==i||46!==n.charCodeAt(n.length-1)||46!==n.charCodeAt(n.length-2))if(n.length>2){var l=n.lastIndexOf("/");if(l!==n.length-1){-1===l?(n="",i=0):i=(n=n.slice(0,l)).length-1-n.lastIndexOf("/"),o=a,s=0;continue}}else if(2===n.length||1===n.length){n="",i=0,o=a,s=0;continue}t&&(n.length>0?n+="/..":n="..",i=2)}else n.length>0?n+="/"+e.slice(o+1,a):n=e.slice(o+1,a),i=a-o-1;o=a,s=0}else 46===r&&-1!==s?++s:s=-1}return n}var n={resolve:function(){for(var e,n="",i=!1,o=arguments.length-1;o>=-1&&!i;o--){var s;o>=0?s=arguments[o]:(void 0===e&&(e=process.cwd()),s=e),t(s),0!==s.length&&(n=s+"/"+n,i=47===s.charCodeAt(0))}return n=r(n,!i),i?n.length>0?"/"+n:"/":n.length>0?n:"."},normalize:function(e){if(t(e),0===e.length)return".";var n=47===e.charCodeAt(0),i=47===e.charCodeAt(e.length-1);return 0!==(e=r(e,!n)).length||n||(e="."),e.length>0&&i&&(e+="/"),n?"/"+e:e},isAbsolute:function(e){return t(e),e.length>0&&47===e.charCodeAt(0)},join:function(){if(0===arguments.length)return".";for(var e,r=0;r<arguments.length;++r){var i=arguments[r];t(i),i.length>0&&(void 0===e?e=i:e+="/"+i)}return void 0===e?".":n.normalize(e)},relative:function(e,r){if(t(e),t(r),e===r)return"";if((e=n.resolve(e))===(r=n.resolve(r)))return"";for(var i=1;i<e.length&&47===e.charCodeAt(i);++i);for(var o=e.length,s=o-i,a=1;a<r.length&&47===r.charCodeAt(a);++a);for(var l=r.length-a,c=s<l?s:l,p=-1,u=0;u<=c;++u){if(u===c){if(l>c){if(47===r.charCodeAt(a+u))return r.slice(a+u+1);if(0===u)return r.slice(a+u)}else s>c&&(47===e.charCodeAt(i+u)?p=u:0===u&&(p=0));break}var d=e.charCodeAt(i+u);if(d!==r.charCodeAt(a+u))break;47===d&&(p=u)}var f="";for(u=i+p+1;u<=o;++u)u!==o&&47!==e.charCodeAt(u)||(0===f.length?f+="..":f+="/..");return f.length>0?f+r.slice(a+p):(a+=p,47===r.charCodeAt(a)&&++a,r.slice(a))},_makeLong:function(e){return e},dirname:function(e){if(t(e),0===e.length)return".";for(var r=e.charCodeAt(0),n=47===r,i=-1,o=!0,s=e.length-1;s>=1;--s)if(47===(r=e.charCodeAt(s))){if(!o){i=s;break}}else o=!1;
8return-1===i?n?"/":".":n&&1===i?"//":e.slice(0,i)},basename:function(e,r){if(void 0!==r&&"string"!==typeof r)throw new TypeError('"ext" argument must be a string');t(e);var n,i=0,o=-1,s=!0;if(void 0!==r&&r.length>0&&r.length<=e.length){if(r.length===e.length&&r===e)return"";var a=r.length-1,l=-1;for(n=e.length-1;n>=0;--n){var c=e.charCodeAt(n);if(47===c){if(!s){i=n+1;break}}else-1===l&&(s=!1,l=n+1),a>=0&&(c===r.charCodeAt(a)?-1===--a&&(o=n):(a=-1,o=l))}return i===o?o=l:-1===o&&(o=e.length),e.slice(i,o)}for(n=e.length-1;n>=0;--n)if(47===e.charCodeAt(n)){if(!s){i=n+1;break}}else-1===o&&(s=!1,o=n+1);return-1===o?"":e.slice(i,o)},extname:function(e){t(e);for(var r=-1,n=0,i=-1,o=!0,s=0,a=e.length-1;a>=0;--a){var l=e.charCodeAt(a);if(47!==l)-1===i&&(o=!1,i=a+1),46===l?-1===r?r=a:1!==s&&(s=1):-1!==r&&(s=-1);else if(!o){n=a+1;break}}return-1===r||-1===i||0===s||1===s&&r===i-1&&r===n+1?"":e.slice(r,i)},format:function(e){if(null===e||"object"!==typeof e)throw new TypeError('The "pathObject" argument must be of type Object. Received type '+typeof e);return function(e,t){var r=t.dir||t.root,n=t.base||(t.name||"")+(t.ext||"");return r?r===t.root?r+n:r+e+n:n}("/",e)},parse:function(e){t(e);var r={root:"",dir:"",base:"",ext:"",name:""};if(0===e.length)return r;var n,i=e.charCodeAt(0),o=47===i;o?(r.root="/",n=1):n=0;for(var s=-1,a=0,l=-1,c=!0,p=e.length-1,u=0;p>=n;--p)if(47!==(i=e.charCodeAt(p)))-1===l&&(c=!1,l=p+1),46===i?-1===s?s=p:1!==u&&(u=1):-1!==s&&(u=-1);else if(!c){a=p+1;break}return-1===s||-1===l||0===u||1===u&&s===l-1&&s===a+1?-1!==l&&(r.base=r.name=0===a&&o?e.slice(1,l):e.slice(a,l)):(0===a&&o?(r.name=e.slice(1,s),r.base=e.slice(1,l)):(r.name=e.slice(a,s),r.base=e.slice(a,l)),r.ext=e.slice(s,l)),a>0?r.dir=e.slice(0,a-1):o&&(r.dir="/"),r},sep:"/",delimiter:":",win32:null,posix:null};n.posix=n,e.exports=n},26732(e){e.exports=function(){var e=[],t=[],r={},n={},i={};function o(e){return"string"===typeof e?new RegExp("^"+e+"$","i"):e}function s(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 a(e,t){return e.replace(/\$(\d{1,2})/g,function(e,r){return t[r]||""})}function l(e,t){return e.replace(t[0],function(r,n){var i=a(t[1],arguments);return s(""===r?e[n-1]:r,i)})}function c(e,t,n){if(!e.length||r.hasOwnProperty(e))return t;for(var i=n.length;i--;){var o=n[i];if(o[0].test(t))return l(t,o)}return t}function p(e,t,r){return function(n){var i=n.toLowerCase();return t.hasOwnProperty(i)?s(n,i):e.hasOwnProperty(i)?s(n,e[i]):c(i,n,r)}}function u(e,t,r,n){return function(n){var i=n.toLowerCase();return!!t.hasOwnProperty(i)||!e.hasOwnProperty(i)&&c(i,i,r)===i}}function d(e,t,r){return(r?t+" ":"")+(1===t?d.singular(e):d.plural(e))}return d.plural=p(i,n,e),d.isPlural=u(i,n,e),d.singular=p(n,i,t),d.isSingular=u(n,i,t),d.addPluralRule=function(t,r){e.push([o(t),r])},d.addSingularRule=function(e,r){t.push([o(e),r])},d.addUncountableRule=function(e){"string"!==typeof e?(d.addPluralRule(e,"$0"),d.addSingularRule(e,"$0")):r[e.toLowerCase()]=!0},d.addIrregularRule=function(e,t){t=t.toLowerCase(),e=e.toLowerCase(),i[e]=t,n[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"]].forEac
8h(function(e){return d.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 d.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 d.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\xe9]mon$/i,/[^aeiou]ese$/i,/deer$/i,/fish$/i,/measles$/i,/o[iu]s$/i,/pox$/i,/sheep$/i].forEach(d.addUncountableRule),d}()},44436(e,t,r){"use strict";r.r(t),r.d(t,{adjustHue:()=>We,animation:()=>gt,backgroundImages:()=>yt,backgrounds:()=>bt,between:()=>W,border:()=>xt,borderColor:()=>wt,borderRadius:()=>St,borderStyle:()=>kt,borderWidth:()=>Ot,buttons:()=>Pt,clearFix:()=>H,complement:()=>He,cover:()=>Q,cssVar:()=>w,darken:()=>Ge,desaturate:()=>Ke,directionalProperty:()=>E,easeIn:()=>F,easeInOut:()=>q,easeOut:()=>V,ellipsis:()=>G,em:()=>j,fluidRange:()=>J,fontFace:()=>oe,getContrast:()=>Je,getLuminance:()=>Ye,getValueAndUnit:()=>T,grayscale:()=>Xe,hiDPI:()=>le,hideText:()=>se,hideVisually:()=>ae,hsl:()=>Me,hslToColorString:()=>Ze,hsla:()=>ze,important:()=>I,invert:()=>et,lighten:()=>tt,linearGradient:()=>pe,margin:()=>jt,math:()=>v,meetsContrastGuidelines:()=>rt,mix:()=>nt,modularScale:()=>R,normalize:()=>ue,opacify:()=>it,padding:()=>Ct,parseToHsl:()=>Te,parseToRgb:()=>Ce,position:()=>It,radialGradient:()=>de,readableColor:()=>at,rem:()=>L,remToPx:()=>M,retinaImage:()=>fe,rgb:()=>Fe,rgbToColorString:()=>lt,rgba:()=>Be,saturate:()=>
8ct,setHue:()=>pt,setLightness:()=>ut,setSaturation:()=>dt,shade:()=>ft,size:()=>Nt,stripUnit:()=>A,textInputs:()=>Dt,timingFunctions:()=>me,tint:()=>ht,toColorString:()=>qe,transitions:()=>Mt,transparentize:()=>mt,triangle:()=>ye,wordWrap:()=>be});var n=r(58168),i=r(9417),o=r(77387);function s(e){return s=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},s(e)}var a=r(63662);function l(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(l=function(){return!!e})()}function c(e){var t="function"==typeof Map?new Map:void 0;return c=function(e){if(null===e||!function(e){try{return-1!==Function.toString.call(e).indexOf("[native code]")}catch(t){return"function"==typeof e}}(e))return e;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,r)}function r(){return function(e,t,r){if(l())return Reflect.construct.apply(null,arguments);var n=[null];n.push.apply(n,t);var i=new(e.bind.apply(e,n));return r&&(0,a.A)(i,r.prototype),i}(e,arguments,s(this).constructor)}return r.prototype=Object.create(e.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),(0,a.A)(r,e)},c(e)}function p(e,t){return t||(t=e.slice(0)),e.raw=t,e}function u(){var e;return(e=arguments.length-1)<0||arguments.length<=e?void 0:arguments[e]}
8var d={symbols:{"*":{infix:{symbol:"*",f:function(e,t){return e*t},notation:"infix",precedence:4,rightToLeft:0,argCount:2},symbol:"*",regSymbol:"\\*"},"/":{infix:{symbol:"/",f:function(e,t){return e/t},notation:"infix",precedence:4,rightToLeft:0,argCount:2},symbol:"/",regSymbol:"/"},"+":{infix:{symbol:"+",f:function(e,t){return e+t},notation:"infix",precedence:2,rightToLeft:0,argCount:2},prefix:{symbol:"+",f:u,notation:"prefix",precedence:3,rightToLeft:0,argCount:1},symbol:"+",regSymbol:"\\+"},"-":{infix:{symbol:"-",f:function(e,t){return e-t},notation:"infix",precedence:2,rightToLeft:0,argCount:2},prefix:{symbol:"-",f:function(e){return-e},notation:"prefix",precedence:3,rightToLeft:0,argCount:1},symbol:"-",regSymbol:"-"},",":{infix:{symbol:",",f:function(){return Array.of.apply(Array,arguments)},notation:"infix",precedence:1,rightToLeft:0,argCount:2},symbol:",",regSymbol:","},"(":{prefix:{symbol:"(",f:u,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:function(){return Math.min.apply(Math,arguments)},notation:"func",precedence:0,rightToLeft:0,argCount:1},symbol:"min",regSymbol:"min\\b"},max:{func:{symbol:"max",f:function(){return Math.max.apply(Math,arguments)},notation:"func",precedence:0,rightToLeft:0,argCount:1},symbol:"max",regSymbol:"max\\b"}}},f=d;var h=function(e){function t(t){var r;return r=e.call(this,"An error occurred. See https://github.com/styled-components/polished/blob/main/src/internalHelpers/errors.md#"+t+" for more information.")||this,(0,i.A)(r)}return(0,o.A)(t,e),t}(c(Error)),m=/((?!\w)a|na|hc|mc|dg|me[r]?|xe|ni(?![a-zA-Z])|mm|cp|tp|xp|q(?!s)|hv|xamv|nimv|wv|sm|s(?!\D|$)|ged|darg?|nrut)/g;function g(e,t){var r,n=e.pop();return t.push(n.f.apply(n,(r=[]).concat.apply(r,t.splice(-n.argCount)))),n.precedence}function y(e,t){var r,i=function(e){var t={};return t.symbols=e?(0,n.A)({},f.symbols,e.symbols):(0,n.A)({},f.symbols),t}(t),o=[i.symbols["("].prefix],s=[],a=new RegExp("\\d+(?:\\.\\d+)?|"+Object.keys(i.symbols).map(function(e){return i.symbols[e]}).sort(function(e,t){return t.symbol.length-e.symbol.length}).map(function(e){return e.regSymbol}).join("|")+"|(\\S)","g");a.lastIndex=0;var l=!1;do{var c=(r=a.exec(e))||[")",void 0],p=c[0],u=c[1],d=i.symbols[p],m=d&&!d.prefix&&!d.func,y=!d||!d.postfix&&!d.infix;if(u||(l?y:m))throw new h(37,r?r.index:e.length,e);if(l){var b=d.postfix||d.infix;do{var v=o[o.length-1];if((b.precedence-v.precedence||v.rightToLeft)>0)break}while(g(o,s));l="postfix"===b.notation,")"!==b.symbol&&(o.push(b),l&&g(o,s))}else if(d){if(o.push(d.prefix||d.func),d.func&&(!(r=a.exec(e))||"("!==r[0]))throw new h(38,r?r.index:e.length,e)}else s.push(+p),l=!0}while(r&&o.length);if(o.length)throw new h(39,r?r.index:e.length,e);if(r)throw new h(40,r?r.index:e.length,e);return s.pop()}function b(e){return e.split("").reverse().join("")}function v(e,t){var r=b(e),n=r.match(m);if(n&&!n.every(function(e){return e===n[0]}))throw new h(41);return""+y(b(r.replace(m,"")),t)+(n?b(n[0]):"")}var x=/--[\S]*/g;function w(e,t){if(!e||!e.match(x))throw new h(73);var r;if("undefined"!==typeof document&&null!==document.documentElement&&(r=getComputedStyle(document.documentElement).getPropertyValue(e)),r)return r.trim();if(t)return t;throw new h(74)}function S(e){return e.charAt(0).toUpperCase()+e.slice(1)}var k=["Top","Right","Bottom","Left"];function O(e,t){if(!e)return t.toLowerCase();var r=e.split("-");if(r.length>1)return r.splice(1,0,t),r.reduce(function(e,t){return""+e+S(t)});var n=e.replace(/([a-z])([A-Z])/g,"$1"+t+"$2");return e===n?""+e+t:n}function E(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];var i=r[0],o=r[1],s=void 0===o?i:o,a=r[2],l=void 0===a?i:a,c=r[3];return function(e,t){for(var r={},n=0;n<t.length;n+=1)(t[n]||0===t[n])&&(r[O(e,k[n])]=t[n]);return r}(e,[i,s,l,void 0===c?s:c])}function _(e,t){return e.substr(-t.length)===t}var $=/^([+-]?(?:\d+|\d*\.\d+))([a-z]*|%)$/;function A(e){return"string"!==typeof e?e:e.match($)?parseFloat(e):e}var P=function(e){return function(t,r){void 0===r&&(r="16px");var n=t,i=r;if("string"===typeof t){if(!_(t,"px"))throw new h(69,e,t);n=A(t)}if("string"===typeof r){if(!_(r,"px"))throw new h(70,e,r);i=A(r)}if("string"===typeof n)throw new h(71,t,e);if("string"===typeof i)throw new h(72,r,e);return""+n/i+e}},j=P("em"),C=/^([+-]?(?:\d+|\d*\.\d+))([a-z]*|%)$/;function T(e){if("string"!==typeof e)return[e,""];var t=e.match(C);return t?[parseFloat(e),t[2]]:[e,void 0]}function I(e,t){if("object"!==typeof e||null===e)throw new h(75,typeof e);var r={};return Object.keys(e).forEach(function(n){"object"===typeof e[n]&&null!==e[n]?r[n]=I(e[n],t):!t||t&&(t===n||t.indexOf(n)>=0)?r[n]=e[n]+" !important":r[n]=e[n]}),r}var N={minorSecond:1.067,majorSecond:1.125,minorThird:1.2,majorThird:1.25,perfectFourth:1.333,augFourth:1.414,perfectFifth:1.5,minorSixth:1.6,goldenSection:1.618,majorSixth:1.667,minorSeventh:1.778,majorSeventh:1.875,octave:2,majorTenth:2.5,majorEleventh:2.667,majorTwelfth:3,doubleOctave:4};function R(e,t,r){if(void 0===t&&(t="1em"),void 0===r&&(r=1.333),"number"!==typeof e)throw new h(42);if("string"===typeof r&&!N[r])throw new h(43);var n="string"===typeof t?T(t):[t,""],i=n[0],o=n[1],s="string"===typeof r?N[r]:r;if("string"===typeof i)throw new h(44,t);return""+i*Math.pow(s,e)+(o||"")}var L=P("rem");function D(e){var t=T(e);if("px"===t[1])return parseFloat(e);
8if("%"===t[1])return parseFloat(e)/100*16;throw new h(78,t[1])}function M(e,t){var r=T(e);if("rem"!==r[1]&&""!==r[1])throw new h(77,r[1]);var n=t?D(t):function(){if("undefined"!==typeof document&&null!==document.documentElement){var e=getComputedStyle(document.documentElement).fontSize;return e?D(e):16}return 16}();return r[0]*n+"px"}var z={back:"cubic-bezier(0.600, -0.280, 0.735, 0.045)",circ:"cubic-bezier(0.600,  0.040, 0.980, 0.335)",cubic:"cubic-bezier(0.550,  0.055, 0.675, 0.190)",expo:"cubic-bezier(0.950,  0.050, 0.795, 0.035)",quad:"cubic-bezier(0.550,  0.085, 0.680, 0.530)",quart:"cubic-bezier(0.895,  0.030, 0.685, 0.220)",quint:"cubic-bezier(0.755,  0.050, 0.855, 0.060)",sine:"cubic-bezier(0.470,  0.000, 0.745, 0.715)"};function F(e){return z[e.toLowerCase().trim()]}var B={back:"cubic-bezier(0.680, -0.550, 0.265, 1.550)",circ:"cubic-bezier(0.785,  0.135, 0.150, 0.860)",cubic:"cubic-bezier(0.645,  0.045, 0.355, 1.000)",expo:"cubic-bezier(1.000,  0.000, 0.000, 1.000)",quad:"cubic-bezier(0.455,  0.030, 0.515, 0.955)",quart:"cubic-bezier(0.770,  0.000, 0.175, 1.000)",quint:"cubic-bezier(0.860,  0.000, 0.070, 1.000)",sine:"cubic-bezier(0.445,  0.050, 0.550, 0.950)"};function q(e){return B[e.toLowerCase().trim()]}var U={back:"cubic-bezier(0.175,  0.885, 0.320, 1.275)",cubic:"cubic-bezier(0.215,  0.610, 0.355, 1.000)",circ:"cubic-bezier(0.075,  0.820, 0.165, 1.000)",expo:"cubic-bezier(0.190,  1.000, 0.220, 1.000)",quad:"cubic-bezier(0.250,  0.460, 0.450, 0.940)",quart:"cubic-bezier(0.165,  0.840, 0.440, 1.000)",quint:"cubic-bezier(0.230,  1.000, 0.320, 1.000)",sine:"cubic-bezier(0.390,  0.575, 0.565, 1.000)"};function V(e){return U[e.toLowerCase().trim()]}function W(e,t,r,n){void 0===r&&(r="320px"),void 0===n&&(n="1200px");var i=T(e),o=i[0],s=i[1],a=T(t),l=a[0],c=a[1],p=T(r),u=p[0],d=p[1],f=T(n),m=f[0],g=f[1];if("number"!==typeof u||"number"!==typeof m||!d||!g||d!==g)throw new h(47);if("number"!==typeof o||"number"!==typeof l||s!==c)throw new h(48);if(s!==d||c!==g)throw new h(76);var y=(o-l)/(u-m);return"calc("+(l-y*m).toFixed(2)+(s||"")+" + "+(100*y).toFixed(2)+"vw)"}function H(e){var t;return void 0===e&&(e="&"),(t={})[e+"::after"]={clear:"both",content:'""',display:"table"},t}function Q(e){return void 0===e&&(e=0),{position:"absolute",top:e,right:e,bottom:e,left:e}}function G(e,t){void 0===t&&(t=1);var r={display:"inline-block",maxWidth:e||"100%",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",wordWrap:"normal"};return t>1?(0,n.A)({},r,{WebkitBoxOrient:"vertical",WebkitLineClamp:t,display:"-webkit-box",whiteSpace:"normal"}):r}function K(e,t){var r="undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(r)return(r=r.call(e)).next.bind(r);if(Array.isArray(e)||(r=function(e,t){if(!e)return;if("string"===typeof e)return Y(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Y(e,t)}(e))||t&&e&&"number"===typeof e.length){r&&(e=r);var n=0;return function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Y(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function J(e,t,r){if(void 0===t&&(t="320px"),void 0===r&&(r="1200px"),!Array.isArray(e)&&"object"!==typeof e||null===e)throw new h(49);if(Array.isArray(e)){for(var i,o={},s={},a=K(e);!(i=a()).done;){var l,c,p=i.value;if(!p.prop||!p.fromSize||!p.toSize)throw new h(50);s[p.prop]=p.fromSize,o["@media (min-width: "+t+")"]=(0,n.A)({},o["@media (min-width: "+t+")"],((l={})[p.prop]=W(p.fromSize,p.toSize,t,r),l)),o["@media (min-width: "+r+")"]=(0,n.A)({},o["@media (min-width: "+r+")"],((c={})[p.prop]=p.toSize,c))}return(0,n.A)({},s,o)}var u,d,f;if(!e.prop||!e.fromSize||!e.toSize)throw new h(51);return(f={})[e.prop]=e.fromSize,f["@media (min-width: "+t+")"]=((u={})[e.prop]=W(e.fromSize,e.toSize,t,r),u),f["@media (min-width: "+r+")"]=((d={})[e.prop]=e.toSize,d),f}var X,Z,ee=/^\s*data:([a-z]+\/[a-z-]+(;[a-z-]+=[a-z-]+)?)?(;charset=[a-z0-9-]+)?(;base64)?,[a-z0-9!$&',()*+,;=\-._~:@/?%\s]*\s*$/i,te={woff:"woff",woff2:"woff2",ttf:"truetype",otf:"opentype",eot:"embedded-opentype",svg:"svg",svgz:"svg"};function re(e,t){return t?' format("'+te[e]+'")':""}function ne(e,t,r){if(function(e){return!!e.replace(/\s+/g," ").match(ee)}(e))return'url("'+e+'")'+re(t[0],r);var n=t.map(function(t){return'url("'+e+"."+t+'")'+re(t,r)});return n.join(", ")}function ie(e,t,r,n){var i=[];return t&&i.push(function(e){return e.map(function(e){return'local("'+e+'")'}).join(", ")}(t)),e&&i.push(ne(e,r,n)),i.join(", ")}function oe(e){var t=e.fontFamily,r=e.fontFilePath,n=e.fontStretch,i=e.fontStyle,o=e.fontVariant,s=e.fontWeight,a=e.fileFormats,l=void 0===a?["eot","woff2","woff","ttf","svg"]:a,c=e.formatHint,p=void 0!==c&&c,u=e.localFonts,d=void 0===u?[t]:u,f=e.unicodeRange,m=e.fontDisplay,g=e.fontVariationSettings,y=e.fontFeatureSettings;if(!t)throw new h(55);if(!r&&!d)throw new h(52);if(d&&!Array.isArray(d))throw new h(53);
8if(!Array.isArray(l))throw new h(54);var b={"@font-face":{fontFamily:t,src:ie(r,d,l,p),unicodeRange:f,fontStretch:n,fontStyle:i,fontVariant:o,fontWeight:s,fontDisplay:m,fontVariationSettings:g,fontFeatureSettings:y}};return JSON.parse(JSON.stringify(b))}function se(){return{textIndent:"101%",overflow:"hidden",whiteSpace:"nowrap"}}function ae(){return{border:"0",clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:"0",position:"absolute",whiteSpace:"nowrap",width:"1px"}}function le(e){return void 0===e&&(e=1.3),"\n    @media only screen and (-webkit-min-device-pixel-ratio: "+e+"),\n    only screen and (min--moz-device-pixel-ratio: "+e+"),\n    only screen and (-o-min-device-pixel-ratio: "+e+"/1),\n    only screen and (min-resolution: "+Math.round(96*e)+"dpi),\n    only screen and (min-resolution: "+e+"dppx)\n  "}function ce(e){for(var t="",r=arguments.length,n=new Array(r>1?r-1:0),i=1;i<r;i++)n[i-1]=arguments[i];for(var o=0;o<e.length;o+=1)if(t+=e[o],o===n.length-1&&n[o]){var s=n.filter(function(e){return!!e});s.length>1?(t=t.slice(0,-1),t+=", "+n[o]):1===s.length&&(t+=""+n[o])}else n[o]&&(t+=n[o]+" ");return t.trim()}function pe(e){var t=e.colorStops,r=e.fallback,n=e.toDirection,i=void 0===n?"":n;if(!t||t.length<2)throw new h(56);return{backgroundColor:r||t[0].replace(/,\s+/g,",").split(" ")[0].replace(/,(?=\S)/g,", "),backgroundImage:ce(X||(X=p(["linear-gradient(","",")"])),i,t.join(", ").replace(/,(?=\S)/g,", "))}}function ue(){var e;return[(e={html:{lineHeight:"1.15",textSizeAdjust:"100%"},body:{margin:"0"},main:{display:"block"},h1:{fontSize:"2em",margin:"0.67em 0"},hr:{boxSizing:"content-box",height:"0",overflow:"visible"},pre:{fontFamily:"monospace, monospace",fontSize:"1em"},a:{backgroundColor:"transparent"},"abbr[title]":{borderBottom:"none",textDecoration:"underline"}},e["b,\n    strong"]={fontWeight:"bolder"},e["code,\n    kbd,\n    samp"]={fontFamily:"monospace, monospace",fontSize:"1em"},e.small={fontSize:"80%"},e["sub,\n    sup"]={fontSize:"75%",lineHeight:"0",position:"relative",verticalAlign:"baseline"},e.sub={bottom:"-0.25em"},e.sup={top:"-0.5em"},e.img={borderStyle:"none"},e["button,\n    input,\n    optgroup,\n    select,\n    textarea"]={fontFamily:"inherit",fontSize:"100%",lineHeight:"1.15",margin:"0"},e["button,\n    input"]={overflow:"visible"},e["button,\n    select"]={textTransform:"none"},e['button,\n    html [type="button"],\n    [type="reset"],\n    [type="submit"]']={WebkitAppearance:"button"},e['button::-moz-focus-inner,\n    [type="button"]::-moz-focus-inner,\n    [type="reset"]::-moz-focus-inner,\n    [type="submit"]::-moz-focus-inner']={borderStyle:"none",padding:"0"},e['button:-moz-focusring,\n    [type="button"]:-moz-focusring,\n    [type="reset"]:-moz-focusring,\n    [type="submit"]:-moz-focusring']={outline:"1px dotted ButtonText"},e.fieldset={padding:"0.35em 0.625em 0.75em"},e.legend={boxSizing:"border-box",color:"inherit",display:"table",maxWidth:"100%",padding:"0",whiteSpace:"normal"},e.progress={verticalAlign:"baseline"},e.textarea={overflow:"auto"},e['[type="checkbox"],\n    [type="radio"]']={boxSizing:"border-box",padding:"0"},e['[type="number"]::-webkit-inner-spin-button,\n    [type="number"]::-webkit-outer-spin-button']={height:"auto"},e['[type="search"]']={WebkitAppearance:"textfield",outlineOffset:"-2px"},e['[type="search"]::-webkit-search-decoration']={WebkitAppearance:"none"},e["::-webkit-file-upload-button"]={WebkitAppearance:"button",font:"inherit"},e.details={display:"block"},e.summary={display:"list-item"},e.template={display:"none"},e["[hidden]"]={display:"none"},e),{"abbr[title]":{textDecoration:"underline dotted"}}]}function de(e){var t=e.colorStops,r=e.extent,n=void 0===r?"":r,i=e.fallback,o=e.position,s=void 0===o?"":o,a=e.shape,l=void 0===a?"":a;if(!t||t.length<2)throw new h(57);return{backgroundColor:i||t[0].split(" ")[0],backgroundImage:ce(Z||(Z=p(["radial-gradient(","","","",")"])),s,l,n,t.join(", "))}}function fe(e,t,r,i,o){var s;if(void 0===r&&(r="png"),void 0===o&&(o="_2x"),!e)throw new h(58);var a=r.replace(/^\./,""),l=i?i+"."+a:""+e+o+"."+a;return(s={backgroundImage:"url("+e+"."+a+")"})[le()]=(0,n.A)({backgroundImage:"url("+l+")"},t?{backgroundSize:t}:{}),s}var he={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 me(e){return he[e]}var ge=function(e,t,r){var n=""+r[0]+(r[1]||""),i=""+r[0]/2+(r[1]||""),o=""+t[0]+(t[1]||""),s=""+t[0]/2+(t[1]||"");switch(e){case"top":return"0 "+i+" "+o+" "+i;case"topLeft":return n+" "+o+" 0 0";case"left":return s+" "+n+" "+s+" 0";case"bottomLeft":return n+" 0 0 "+o;case"bottom":return o+" "+i+" 0 "+i;case"bottomRight":return"0 0 "+n+" "+o;case"right":return s+" 0 "+s+" "+n;default:return"0 "+n+" "+o+" 0"}};function ye(e){var t=e.pointingDirection,r=e.height,i=e.width,o=e.foregroundColor,s=e.backgroundColor,a=void 0===s?"transparent":s,l=T(i),c=T(r);if(isNaN(c[0])||isNaN(l[0]))throw new h(60);return(0,n.A)({width:"0",height:"0",borderColor:a},function(e,t){switch(e){case"top":case"bottomRight":return{borderBottomColor:t};case"right":case"bottomLeft":return{borderLeftColor:t};case"bottom":case"topLeft":return{borderTopColor:t};case"left":case"topRight":return{borderRightColor:t};default:throw new h(59)}}(t,o),{borderStyle:"solid",borderWidth:ge(t,c,l)})}function be(e){return void 0===e&&(e="break-word"),{overflowWrap:e,wordWrap:e,wordBreak:"break-word"===e?"break-all":e}}function ve(e){return Math.round(255*e)}function xe(e,t,r){return ve(e)+","+ve(t)+","+ve(r)}function we(e,t,r,n){if(void 0===n&&(n=xe),0===t)return n(r,r,r);var i=(e%360+360)%360/60,o=(1-Math.abs(2*r-1))*t,s=o*(1-Math.abs(i%2-1)),a=0,l=0,c=0;i>=0&&i<1?(a=o,l=s):i>=1&&i<2?(a=s,l=o):i>=2&&i<3?(l=o,c=s):i>=3&&i<4?(l=s,c=o):i>=4&&i<5?(a=s,c=o):i>=5&&i<6&&(a=o,c=s);var p=r-o/2;return n(a+p,l+p,c+p)}var Se={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:"90ee9
80",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"};var ke=/^#[a-fA-F0-9]{6}$/,Oe=/^#[a-fA-F0-9]{8}$/,Ee=/^#[a-fA-F0-9]{3}$/,_e=/^#[a-fA-F0-9]{4}$/,$e=/^rgb\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*\)$/i,Ae=/^rgb(?:a)?\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i,Pe=/^hsl\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*\)$/i,je=/^hsl(?:a)?\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i;function Ce(e){if("string"!==typeof e)throw new h(3);var t=function(e){if("string"!==typeof e)return e;var t=e.toLowerCase();return Se[t]?"#"+Se[t]:e}(e);if(t.match(ke))return{red:parseInt(""+t[1]+t[2],16),green:parseInt(""+t[3]+t[4],16),blue:parseInt(""+t[5]+t[6],16)};if(t.match(Oe)){var r=parseFloat((parseInt(""+t[7]+t[8],16)/255).toFixed(2));return{red:parseInt(""+t[1]+t[2],16),green:parseInt(""+t[3]+t[4],16),blue:parseInt(""+t[5]+t[6],16),alph
8a:r}}if(t.match(Ee))return{red:parseInt(""+t[1]+t[1],16),green:parseInt(""+t[2]+t[2],16),blue:parseInt(""+t[3]+t[3],16)};if(t.match(_e)){var n=parseFloat((parseInt(""+t[4]+t[4],16)/255).toFixed(2));return{red:parseInt(""+t[1]+t[1],16),green:parseInt(""+t[2]+t[2],16),blue:parseInt(""+t[3]+t[3],16),alpha:n}}var i=$e.exec(t);if(i)return{red:parseInt(""+i[1],10),green:parseInt(""+i[2],10),blue:parseInt(""+i[3],10)};var o=Ae.exec(t.substring(0,50));if(o)return{red:parseInt(""+o[1],10),green:parseInt(""+o[2],10),blue:parseInt(""+o[3],10),alpha:parseFloat(""+o[4])>1?parseFloat(""+o[4])/100:parseFloat(""+o[4])};var s=Pe.exec(t);if(s){var a="rgb("+we(parseInt(""+s[1],10),parseInt(""+s[2],10)/100,parseInt(""+s[3],10)/100)+")",l=$e.exec(a);if(!l)throw new h(4,t,a);return{red:parseInt(""+l[1],10),green:parseInt(""+l[2],10),blue:parseInt(""+l[3],10)}}var c=je.exec(t.substring(0,50));if(c){var p="rgb("+we(parseInt(""+c[1],10),parseInt(""+c[2],10)/100,parseInt(""+c[3],10)/100)+")",u=$e.exec(p);if(!u)throw new h(4,t,p);return{red:parseInt(""+u[1],10),green:parseInt(""+u[2],10),blue:parseInt(""+u[3],10),alpha:parseFloat(""+c[4])>1?parseFloat(""+c[4])/100:parseFloat(""+c[4])}}throw new h(5)}function Te(e){return function(e){var t,r=e.red/255,n=e.green/255,i=e.blue/255,o=Math.max(r,n,i),s=Math.min(r,n,i),a=(o+s)/2;if(o===s)return void 0!==e.alpha?{hue:0,saturation:0,lightness:a,alpha:e.alpha}:{hue:0,saturation:0,lightness:a};var l=o-s,c=a>.5?l/(2-o-s):l/(o+s);switch(o){case r:t=(n-i)/l+(n<i?6:0);break;case n:t=(i-r)/l+2;break;default:t=(r-n)/l+4}return t*=60,void 0!==e.alpha?{hue:t,saturation:c,lightness:a,alpha:e.alpha}:{hue:t,saturation:c,lightness:a}}(Ce(e))}var Ie=function(e){return 7===e.length&&e[1]===e[2]&&e[3]===e[4]&&e[5]===e[6]?"#"+e[1]+e[3]+e[5]:e};function Ne(e){var t=e.toString(16);return 1===t.length?"0"+t:t}function Re(e){return Ne(Math.round(255*e))}function Le(e,t,r){return Ie("#"+Re(e)+Re(t)+Re(r))}function De(e,t,r){return we(e,t,r,Le)}function Me(e,t,r){if("number"===typeof e&&"number"===typeof t&&"number"===typeof r)return De(e,t,r);if("object"===typeof e&&void 0===t&&void 0===r)return De(e.hue,e.saturation,e.lightness);throw new h(1)}function ze(e,t,r,n){if("number"===typeof e&&"number"===typeof t&&"number"===typeof r&&"number"===typeof n)return n>=1?De(e,t,r):"rgba("+we(e,t,r)+","+n+")";if("object"===typeof e&&void 0===t&&void 0===r&&void 0===n)return e.alpha>=1?De(e.hue,e.saturation,e.lightness):"rgba("+we(e.hue,e.saturation,e.lightness)+","+e.alpha+")";throw new h(2)}function Fe(e,t,r){if("number"===typeof e&&"number"===typeof t&&"number"===typeof r)return Ie("#"+Ne(e)+Ne(t)+Ne(r));if("object"===typeof e&&void 0===t&&void 0===r)return Ie("#"+Ne(e.red)+Ne(e.green)+Ne(e.blue));throw new h(6)}function Be(e,t,r,n){if("string"===typeof e&&"number"===typeof t){var i=Ce(e);return"rgba("+i.red+","+i.green+","+i.blue+","+t+")"}if("number"===typeof e&&"number"===typeof t&&"number"===typeof r&&"number"===typeof n)return n>=1?Fe(e,t,r):"rgba("+e+","+t+","+r+","+n+")";if("object"===typeof e&&void 0===t&&void 0===r&&void 0===n)return e.alpha>=1?Fe(e.red,e.green,e.blue):"rgba("+e.red+","+e.green+","+e.blue+","+e.alpha+")";throw new h(7)}function qe(e){if("object"!==typeof e)throw new h(8);if(function(e){return"number"===typeof e.red&&"number"===typeof e.green&&"number"===typeof e.blue&&"number"===typeof e.alpha}(e))return Be(e);if(function(e){return"number"===typeof e.red&&"number"===typeof e.green&&"number"===typeof e.blue&&("number"!==typeof e.alpha||"undefined"===typeof e.alpha)}(e))return Fe(e);if(function(e){return"number"===typeof e.hue&&"number"===typeof e.saturation&&"number"===typeof e.lightness&&"number"===typeof e.alpha}(e))return ze(e);
8if(function(e){return"number"===typeof e.hue&&"number"===typeof e.saturation&&"number"===typeof e.lightness&&("number"!==typeof e.alpha||"undefined"===typeof e.alpha)}(e))return Me(e);throw new h(8)}function Ue(e,t,r){return function(){var n=r.concat(Array.prototype.slice.call(arguments));return n.length>=t?e.apply(this,n):Ue(e,t,n)}}function Ve(e){return Ue(e,e.length,[])}var We=Ve(function(e,t){if("transparent"===t)return t;var r=Te(t);return qe((0,n.A)({},r,{hue:r.hue+parseFloat(e)}))});function He(e){if("transparent"===e)return e;var t=Te(e);return qe((0,n.A)({},t,{hue:(t.hue+180)%360}))}function Qe(e,t,r){return Math.max(e,Math.min(t,r))}var Ge=Ve(function(e,t){if("transparent"===t)return t;var r=Te(t);return qe((0,n.A)({},r,{lightness:Qe(0,1,r.lightness-parseFloat(e))}))});var Ke=Ve(function(e,t){if("transparent"===t)return t;var r=Te(t);return qe((0,n.A)({},r,{saturation:Qe(0,1,r.saturation-parseFloat(e))}))});function Ye(e){if("transparent"===e)return 0;var t=Ce(e),r=Object.keys(t).map(function(e){var r=t[e]/255;return r<=.03928?r/12.92:Math.pow((r+.055)/1.055,2.4)}),n=r[0],i=r[1],o=r[2];return parseFloat((.2126*n+.7152*i+.0722*o).toFixed(3))}function Je(e,t){var r=Ye(e),n=Ye(t);return parseFloat((r>n?(r+.05)/(n+.05):(n+.05)/(r+.05)).toFixed(2))}function Xe(e){return"transparent"===e?e:qe((0,n.A)({},Te(e),{saturation:0}))}function Ze(e){if("object"===typeof e&&"number"===typeof e.hue&&"number"===typeof e.saturation&&"number"===typeof e.lightness)return e.alpha&&"number"===typeof e.alpha?ze({hue:e.hue,saturation:e.saturation,lightness:e.lightness,alpha:e.alpha}):Me({hue:e.hue,saturation:e.saturation,lightness:e.lightness});throw new h(45)}function et(e){if("transparent"===e)return e;var t=Ce(e);return qe((0,n.A)({},t,{red:255-t.red,green:255-t.green,blue:255-t.blue}))}var tt=Ve(function(e,t){if("transparent"===t)return t;var r=Te(t);return qe((0,n.A)({},r,{lightness:Qe(0,1,r.lightness+parseFloat(e))}))});function rt(e,t){var r=Je(e,t);return{AA:r>=4.5,AALarge:r>=3,AAA:r>=7,AAALarge:r>=4.5}}var nt=Ve(function(e,t,r){if("transparent"===t)return r;if("transparent"===r)return t;if(0===e)return r;var i=Ce(t),o=(0,n.A)({},i,{alpha:"number"===typeof i.alpha?i.alpha:1}),s=Ce(r),a=(0,n.A)({},s,{alpha:"number"===typeof s.alpha?s.alpha:1}),l=o.alpha-a.alpha,c=2*parseFloat(e)-1,p=((c*l===-1?c:c+l)/(1+c*l)+1)/2,u=1-p;return Be({red:Math.floor(o.red*p+a.red*u),green:Math.floor(o.green*p+a.green*u),blue:Math.floor(o.blue*p+a.blue*u),alpha:o.alpha*parseFloat(e)+a.alpha*(1-parseFloat(e))})});var it=Ve(function(e,t){if("transparent"===t)return t;var r=Ce(t),i="number"===typeof r.alpha?r.alpha:1;return Be((0,n.A)({},r,{alpha:Qe(0,1,(100*i+100*parseFloat(e))/100)}))}),ot="#000",st="#fff";function at(e,t,r,n){void 0===t&&(t=ot),void 0===r&&(r=st),void 0===n&&(n=!0);var i=Ye(e)>.179,o=i?t:r;return!n||Je(e,o)>=4.5?o:i?ot:st}function lt(e){if("object"===typeof e&&"number"===typeof e.red&&"number"===typeof e.green&&"number"===typeof e.blue)return"number"===typeof e.alpha?Be({red:e.red,green:e.green,blue:e.blue,alpha:e.alpha}):Fe({red:e.red,green:e.green,blue:e.blue});throw new h(46)}var ct=Ve(function(e,t){if("transparent"===t)return t;var r=Te(t);return qe((0,n.A)({},r,{saturation:Qe(0,1,r.saturation+parseFloat(e))}))});var pt=Ve(function(e,t){return"transparent"===t?t:qe((0,n.A)({},Te(t),{hue:parseFloat(e)}))});var ut=Ve(function(e,t){return"transparent"===t?t:qe((0,n.A)({},Te(t),{lightness:parseFloat(e)}))});var dt=Ve(function(e,t){return"transparent"===t?t:qe((0,n.A)({},Te(t),{saturation:parseFloat(e)}))});var ft=Ve(function(e,t){return"transparent"===t?t:nt(parseFloat(e),"rgb(0, 0, 0)",t)});var ht=Ve(function(e,t){return"transparent"===t?t:nt(parseFloat(e),"rgb(255, 255, 255)",t)});var mt=Ve(function(e,t){if("transparent"===t)return t;var r=Ce(t),i="number"===typeof r.alpha?r.alpha:1;return Be((0,n.A)({},r,{alpha:Qe(0,1,+(100*i-100*parseFloat(e)).toFixed(2)/100)}))});function gt(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n=Array.isArray(t[0]);if(!n&&t.length>8)throw new h(64);return{animation:t.map(function(e){if(n&&!Array.isArray(e)||!n&&Array.isArray(e))throw new h(65);if(Array.isArray(e)&&e.length>8)throw new h(66);return Array.isArray(e)?e.join(" "):e}).join(", ")}}function yt(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return{backgroundImage:t.join(", ")}}function bt(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return{background:t.join(", ")}}var vt=["top","right","bottom","left"];function xt(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];var i;return"string"===typeof e&&vt.indexOf(e)>=0?((i={})["border"+S(e)+"Width"]=r[0],i["border"+S(e)+"Style"]=r[1],i["border"+S(e)+"Color"]=r[2],i):(r.unshift(e),{borderWidth:r[0],borderStyle:r[1],borderColor:r[2]})}function wt(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return E.apply(void 0,["borderColor"].concat(t))}function St(e,t){var r,n,i=S(e);if(!t&&0!==t)throw new h(62);if("Top"===i||"Bottom"===i)return(r={})["border"+i+"RightRadius"]=t,r["border"+i+"LeftRadius"]=t,r;if("Left"===i||"Right"===i)return(n={})["borderTop"+i+"Radius"]=t,n["borderBottom"+i+"Radius"]=t,n;throw new h(63)}function kt(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return E.apply(void 0,["borderStyle"].concat(t))}function Ot(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return E.apply(void 0,["borderWidth"].concat(t))}function Et(e,t){return e(t?":"+t:"")}function _t(e,t,r){if(!t)throw new h(67);if(0===e.length)return Et(t,null);for(var n=[],i=0;i<e.length;i+=1){if(r&&r.indexOf(e[i])<0)throw new h(68);n.push(Et(t,e[i]))}return n=n.join(",")}var $t=[void 0,null,"active","focus","hover"];function At(e){return"button"+e+',\n  input[type="button"]'+e+',\n  input[type="reset"]'+e+',\n  input[type="submit"]'+e}function Pt(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return _t(t,At,$t)}function jt(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return E.apply(void 0,["margin"].concat(t))}function Ct(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return E.apply(void 0,["padding"].concat(t))}var Tt=["absolute","fixed","relative","static","sticky"];function It(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),i=1;i<t;i++)r[i-1]=arguments[i];return Tt.indexOf(e)>=0&&e?(0,n.A)({},E.apply(void 0,[""].concat(r)),{position:e}):E.apply(void 0,["",e].concat(r))}function Nt(e,t){return void 0===t&&(t=e),{height:e,width:t}}var Rt=[void 0,null,"active","focus","hover"];function Lt(e){return'input[type="color"]'+e+',\n    input[type="date"]'+e+',\n    input[type="datetime"]'+e+',\n    input[type="datetime-local"]'
8+e+',\n    input[type="email"]'+e+',\n    input[type="month"]'+e+',\n    input[type="number"]'+e+',\n    input[type="password"]'+e+',\n    input[type="search"]'+e+',\n    input[type="tel"]'+e+',\n    input[type="text"]'+e+',\n    input[type="time"]'+e+',\n    input[type="url"]'+e+',\n    input[type="week"]'+e+",\n    input:not([type])"+e+",\n    textarea"+e}function Dt(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return _t(t,Lt,Rt)}function Mt(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];if(Array.isArray(t[0])&&2===t.length){var n=t[1];if("string"!==typeof n)throw new h(61);return{transition:t[0].map(function(e){return e+" "+n}).join(", ")}}return{transition:t.join(", ")}}},76149(){!function(e){var t="\\b(?:BASH|BASHOPTS|BASH_ALIASES|BASH_ARGC|BASH_ARGV|BASH_CMDS|BASH_COMPLETION_COMPAT_DIR|BASH_LINENO|BASH_REMATCH|BASH_SOURCE|BASH_VERSINFO|BASH_VERSION|COLORTERM|COLUMNS|COMP_WORDBREAKS|DBUS_SESSION_BUS_ADDRESS|DEFAULTS_PATH|DESKTOP_SESSION|DIRSTACK|DISPLAY|EUID|GDMSESSION|GDM_LANG|GNOME_KEYRING_CONTROL|GNOME_KEYRING_PID|GPG_AGENT_INFO|GROUPS|HISTCONTROL|HISTFILE|HISTFILESIZE|HISTSIZE|HOME|HOSTNAME|HOSTTYPE|IFS|INSTANCE|JOB|LANG|LANGUAGE|LC_ADDRESS|LC_ALL|LC_IDENTIFICATION|LC_MEASUREMENT|LC_MONETARY|LC_NAME|LC_NUMERIC|LC_PAPER|LC_TELEPHONE|LC_TIME|LESSCLOSE|LESSOPEN|LINES|LOGNAME|LS_COLORS|MACHTYPE|MAILCHECK|MANDATORY_PATH|NO_AT_BRIDGE|OLDPWD|OPTERR|OPTIND|ORBIT_SOCKETDIR|OSTYPE|PAPERSIZE|PATH|PIPESTATUS|PPID|PS1|PS2|PS3|PS4|PWD|RANDOM|REPLY|SECONDS|SELINUX_INIT|SESSION|SESSIONTYPE|SESSION_MANAGER|SHELL|SHELLOPTS|SHLVL|SSH_AUTH_SOCK|TERM|UID|UPSTART_EVENTS|UPSTART_INSTANCE|UPSTART_JOB|UPSTART_SESSION|USER|WINDOWID|XAUTHORITY|XDG_CONFIG_DIRS|XDG_
8CURRENT_DESKTOP|XDG_DATA_DIRS|XDG_GREETER_DATA_DIR|XDG_MENU_PREFIX|XDG_RUNTIME_DIR|XDG_SEAT|XDG_SEAT_PATH|XDG_SESSION_DESKTOP|XDG_SESSION_ID|XDG_SESSION_PATH|XDG_SESSION_TYPE|XDG_VTNR|XMODIFIERS)\\b",r={pattern:/(^(["']?)\w+\2)[ \t]+\S.*/,lookbehind:!0,alias:"punctuation",inside:null},n={bash:r,environment:{pattern:RegExp("\\$"+t),alias:"constant"},variable:[{pattern:/\$?\(\([\s\S]+?\)\)/,greedy:!0,inside:{variable:[{pattern:/(^\$\(\([\s\S]+)\)\)/,lookbehind:!0},/^\$\(\(/],number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/--|\+\+|\*\*=?|<<=?|>>=?|&&|\|\||[=!+\-*/%<>^&|]=?|[?~:]/,punctuation:/\(\(?|\)\)?|,|;/}},{pattern:/\$\((?:\([^)]+\)|[^()])+\)|`[^`]+`/,greedy:!0,inside:{variable:/^\$\(|^`|\)$|`$/}},{pattern:/\$\{[^}]+\}/,greedy:!0,inside:{operator:/:[-=?+]?|[!\/]|##?|%%?|\^\^?|,,?/,punctuation:/[\[\]]/,environment:{pattern:RegExp("(\\{)"+t),lookbehind:!0,alias:"constant"}}},/\$(?:\w+|[#?*!@$])/],entity:/\\(?:[abceEfnrtv\\"]|O?[0-7]{1,3}|U[0-9a-fA-F]{8}|u[0-9a-fA-F]{4}|x[0-9a-fA-F]{1,2})/};e.languages.bash={shebang:{pattern:/^#!\s*\/.*/,alias:"important"},comment:{pattern:/(^|[^"{\\$])#.*/,lookbehind:!0},"function-name":[{pattern:/(\bfunction\s+)[\w-]+(?=(?:\s*\(?:\s*\))?\s*\{)/,lookbehind:!0,alias:"function"},{pattern:/\b[\w-]+(?=\s*\(\s*\)\s*\{)/,alias:"function"}],"for-or-select":{pattern:/(\b(?:for|select)\s+)\w+(?=\s+in\s)/,alias:"variable",lookbehind:!0},"assign-left":{pattern:/(^|[\s;|&]|[<>]\()\w+(?:\.\w+)*(?=\+?=)/,inside:{environment:{pattern:RegExp("(^|[\\s;|&]|[<>]\\()"+t),lookbehind:!0,alias:"constant"}},alias:"variable",lookbehind:!0},parameter:{pattern:/(^|\s)-{1,2}(?:\w+:[+-]?)?\w+(?:\.\w+)*(?=[=\s]|$)/,alias:"variable",lookbehind:!0},string:[{pattern:/((?:^|[^<])<<-?\s*)(\w+)\s[\s\S]*?(?:\r?\n|\r)\2/,lookbehind:!0,greedy:!0,inside:n},{pattern:/((?:^|[^<])<<-?\s*)(["'])(\w+)\2\s[\s\S]*?(?:\r?\n|\r)\3/,lookbehind:!0,greedy:!0,inside:{bash:r}},{pattern:/(^|[^\\](?:\\\\)*)"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/,lookbehind:!0,greedy:!0,inside:n},{pattern:/(^|[^$\\])'[^']*'/,lookbehind:!0,greedy:!0},{pattern:/\$'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,inside:{entity:n.entity}}],environment:{pattern:RegExp("\\$?"+t),alias:"constant"},variable:n.variable,function:{pattern:/(^|[\s;|&]|[<>]\()(?:add|apropos|apt|apt-cache|apt-get|aptitude|aspell|automysqlbackup|awk|basename|bash|bc|bconsole|bg|bzip2|cal|cargo|cat|cfdisk|chgrp|chkconfig|chmod|chown|chroot|cksum|clear|cmp|column|comm|composer|cp|cron|crontab|csplit|curl|cut|date|dc|dd|ddrescue|debootstrap|df|diff|diff3|dig|dir|dircolors|dirname|dirs|dmesg|docker|docker-compose|du|egrep|eject|env|ethtool|expand|expect|expr|fdformat|fdisk|fg|fgrep|file|find|fmt|fold|format|free|fsck|ftp|fuser|gawk|git|gparted|grep|groupadd|groupdel|groupmod|groups|grub-mkconfig|gzip|halt|head|hg|history|host|hostname|htop|iconv|id|ifconfig|ifdown|ifup|import|install|ip|java|jobs|join|kill|killall|less|link|ln|locate|logname|logrotate|look|lpc|lpr|lprint|lprintd|lprintq|lprm|ls|lsof|lynx|make|man|mc|mdadm|mkconfig|mkdir|mke2fs|mkfifo|mkfs|mkisofs|mknod|mkswap|mmv|more|most|mount|mtools|mtr|mutt|mv|nano|nc|netstat|nice|nl|node|nohup|notify-send|npm|nslookup|op|open|parted|passwd|paste|pathchk|ping|pkill|pnpm|podman|podman-compose|popd|pr|printcap|printenv|ps|pushd|pv|quota|quotacheck|quotactl|ram|rar|rcp|reboot|remsync|rename|renice|rev|rm|rmdir|rpm|rsync|scp|screen|sdiff|sed|sendmail|seq|service|sftp|sh|shellcheck|shuf|shutdown|sleep|slocate|sort|split|ssh|stat|strace|su|sudo|sum|suspend|swapon|sync|sysctl|tac|tail|tar|tee|time|timeout|top|touch|tr|traceroute|tsort|tty|umount|uname|unexpand|uniq|units|unrar|unshar|unzip|update-grub|uptime|useradd|userdel|usermod|users|uudecode|uuencode|v|vcpkg|vdir|vi|vim|virsh|vmstat|wait|watch|wc|wget|whereis|which|who|whoami|write|xargs|xdg-open|yarn|yes|zenity|zip|zsh|zypper)(?=$|[)\s;|&])/,lookbehind:!0},keyword:{pattern:/(^|[\s;|&]|[<>]\()(?:case|do|done|elif|else|esac|fi|for|function|if|in|select|then|until|while)(?=$|[)\s;|&])/,lookbehind:!0},builtin:{pattern:/(^|[\s;|&]|[<>]\()(?:\.|:|alias|bind|break|builtin|caller|cd|command|continue|declare|echo|enable|eval|exec|exit|export|getopts|hash|help|let|local|logout|mapfile|printf|pwd|read|readarray|readonly|return|set|shift|shopt|source|test|times|trap|type|typeset|ulimit|umask|unalias|unset)(?=$|[)\s;|&])/,lookbehind:!0,alias:"class-name"},boolean:{pattern:/(^|[\s;|&]|[<>]\()(?:false|true)(?=$|[)\s;|&])/,lookbehind:!0},"file-descriptor":{pattern:/\B&\d\b/,alias:"important"},operator:{pattern:/\d?<>|>\||\+=|=[=~]?|!=?|<<[<-]?|[&\d]?>>|\d[<>]&?|[<>][&=]?|&[>
8&]?|\|[&|]?/,inside:{"file-descriptor":{pattern:/^\d/,alias:"important"}}},punctuation:/\$?\(\(?|\)\)?|\.\.|[{}[\];\\]/,number:{pattern:/(^|\s)(?:[1-9]\d*|0)(?:[.,]\d+)?\b/,lookbehind:!0}},r.inside=e.languages.bash;for(var i=["comment","function-name","for-or-select","assign-left","parameter","string","environment","function","keyword","builtin","boolean","file-descriptor","operator","punctuation","number"],o=n.variable[1].inside,s=0;s<i.length;s++)o[i[s]]=e.languages.bash[i[s]];e.languages.sh=e.languages.bash,e.languages.shell=e.languages.bash}(Prism)},47646(){Prism.languages.c=Prism.languages.extend("clike",{comment:{pattern:/\/\/(?:[^\r\n\\]|\\(?:\r\n?|\n|(?![\r\n])))*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},"class-name":{pattern:/(\b(?:enum|struct)\s+(?:__attribute__\s*\(\([\s\S]*?\)\)\s*)?)\w+|\b[a-z]\w*_t\b/,lookbehind:!0},keyword:/\b(?:_Alignas|_Alignof|_Atomic|_Bool|_Complex|_Generic|_Imaginary|_Noreturn|_Static_assert|_Thread_local|__attribute__|asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|inline|int|long|register|return|short|signed|sizeof|static|struct|switch|typedef|typeof|union|unsigned|void|volatile|while)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:/(?:\b0x(?:[\da-f]+(?:\.[\da-f]*)?|\.[\da-f]+)(?:p[+-]?\d+)?|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[ful]{0,4}/i,operator:/>>=?|<<=?|->|([-+&|:])\1|[?:~]|[-+*/%&|^!=<>]=?/}),Prism.languages.insertBefore("c","string",{char:{pattern:/'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n]){0,32}'/,greedy:!0}}),Prism.languages.insertBefore("c","string",{macro:{pattern:/(^[\t ]*)#\s*[a-z](?:[^\r\n\\/]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|\\(?:\r\n|[\s\S]))*/im,lookbehind:!0,greedy:!0,alias:"property",inside:{string:[{pattern:/^(#\s*include\s*)<[^>]+>/,lookbehind:!0},Prism.languages.c.string],char:Prism.languages.c.char,comment:Prism.languages.c.comment,"macro-name":[{pattern:/(^#\s*define\s+)\w+\b(?!\()/i,lookbehind:!0},{pattern:/(^#\s*define\s+)\w+\b(?=\()/i,lookbehind:!0,alias:"function"}],directive:{pattern:/^(#\s*)[a-z]+/,lookbehind:!0,alias:"keyword"},"directive-hash":/^#/,punctuation:/##|\\(?=[\r\n])/,expression:{pattern:/\S[\s\S]*/,inside:Prism.languages.c}}}}),Prism.languages.insertBefore("c","function",{constant:/\b(?:EOF|NULL|SEEK_CUR|SEEK_END|SEEK_SET|__DATE__|__FILE__|__LINE__|__TIMESTAMP__|__TIME__|__func__|stderr|stdin|stdout)\b/}),delete Prism.languages.c.boolean},83241(){Prism.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|trait)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:break|catch|continue|do|else|finally|for|function|if|in|instanceof|new|null|return|throw|try|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/}},27296(){!function(e){var t=/#(?!\{).+/,r={pattern:/#\{[^}]+\}/,alias:"variable"};e.languages.coffeescript=e.languages.extend("javascript",{comment:t,string:[{pattern:/'(?:\\[\s\S]|[^\\'])*'/,greedy:!0},{pattern:/"(?:\\[\s\S]|[^\\"])*"/,greedy:!0,inside:{interpolation:r}}],keyword:/\b(?:and|break|by|catch|class|continue|debugger|delete|do|each|else|extend|extends|false|finally|for|if|in|instanceof|is|isnt|let|loop|namespace|new|no|not|null|of|off|on|or|own|return|super|switch|then|this|throw|true|try|typeof|undefined|unless|until|when|while|window|with|yes|yield)\b/,"class-member":{pattern:/@(?!\d)\w+/,alias:"variable"}}),e.languages.insertBefore("coffeescript","comment",{"multiline-comment":{pattern:/###[\s\S]+?###/,alias:"comment"},"block-regex":{pattern:/\/{3}[\s\S]*?\/{3}/,alias:"regex",inside:{comment:t,interpolation:r}}}),e.languages.insertBefore("coffeescript","string",{"inline-javascript":{pattern:/`(?:\\[\s\S]|[^\\`])*`/,inside:{delimiter:{pattern:/^`|`$/,alias:"punctuation"},script:{pattern:/[\s\S]+/,alias:"language-javascript",inside:e.languages.javascript}}},"multiline-string":[{pattern:/'''[\s\S]*?'''/,greedy:!0,alias:"string"},{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string",inside:{interpolation:r}}]}),e.languages.insertBefore("coffeescript","keyword",{property:/(?!\d)\w+(?=\s*:(?!:))/}),delete e.languages.coffeescript["template-string"],e.languages.coffee=e.languages.coffeescript}(Prism)},63782(){!function(e){var t=/\b(?:alignas|alignof|asm|auto|bool|break|case|catch|char|char16_t|char32_t|char8_t|class|co_await|co_return|co_yield|compl|concept|const|const_cast|consteval|constexpr|constinit|continue|decltype|default|delete|do|double|dynamic_cast|else|enum|explicit|export|extern|final|float|for|friend|goto|if|import|inline|int|int16_t|int32_t|int64_t|int8_t|long|module|mutable|namespace|new|noexcept|nullptr|operator|override|private|protected|public|register|reinterpret_
8cast|requires|return|short|signed|sizeof|static|static_assert|static_cast|struct|switch|template|this|thread_local|throw|try|typedef|typeid|typename|uint16_t|uint32_t|uint64_t|uint8_t|union|unsigned|using|virtual|void|volatile|wchar_t|while)\b/,r=/\b(?!<keyword>)\w+(?:\s*\.\s*\w+)*\b/.source.replace(/<keyword>/g,function(){return t.source});e.languages.cpp=e.languages.extend("c",{"class-name":[{pattern:RegExp(/(\b(?:class|concept|enum|struct|typename)\s+)(?!<keyword>)\w+/.source.replace(/<keyword>/g,function(){return t.source})),lookbehind:!0},/\b[A-Z]\w*(?=\s*::\s*\w+\s*\()/,/\b[A-Z_]\w*(?=\s*::\s*~\w+\s*\()/i,/\b\w+(?=\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>\s*::\s*\w+\s*\()/],keyword:t,number:{pattern:/(?:\b0b[01']+|\b0x(?:[\da-f']+(?:\.[\da-f']*)?|\.[\da-f']+)(?:p[+-]?[\d']+)?|(?:\b[\d']+(?:\.[\d']*)?|\B\.[\d']+)(?:e[+-]?[\d']+)?)[ful]{0,4}/i,greedy:!0},operator:/>>=?|<<=?|->|--|\+\+|&&|\|\||[?:~]|<=>|[-+*/%&|^!=<>]=?|\b(?:and|and_eq|bitand|bitor|not|not_eq|or|or_eq|xor|xor_eq)\b/,boolean:/\b(?:false|true)\b/}),e.languages.insertBefore("cpp","string",{module:{pattern:RegExp(/(\b(?:import|module)\s+)/.source+"(?:"+/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|<[^<>\r\n]*>/.source+"|"+/<mod-name>(?:\s*:\s*<mod-name>)?|:\s*<mod-name>/.source.replace(/<mod-name>/g,function(){return r})+")"),lookbehind:!0,greedy:!0,inside:{string:/^[<"][\s\S]+/,operator:/:/,punctuation:/\./}},"raw-string":{pattern:/R"([^()\\ ]{0,16})\([\s\S]*?\)\1"/,alias:"string",greedy:!0}}),e.languages.insertBefore("cpp","keyword",{"generic-function":{pattern:/\b(?!operator\b)[a-z_]\w*\s*<(?:[^<>]|<[^<>]*>)*>(?=\s*\()/i,inside:{function:/^\w+/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:e.languages.cpp}}}}),e.languages.insertBefore("cpp","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}}),e.languages.insertBefore("cpp","class-name",{"base-clause":{pattern:/(\b(?:class|struct)\s+\w+\s*:\s*)[^;{}"'\s]+(?:\s+[^;{}"'\s]+)*(?=\s*[;{])/,lookbehind:!0,greedy:!0,inside:e.languages.extend("cpp",{})}}),e.languages.insertBefore("inside","double-colon",{"class-name":/\b[a-z_]\w*\b(?!\s*::)/i},e.languages.cpp["base-clause"])}(Prism)},34036(){!function(e){function t(e,t){return e.replace(/<<(\d+)>>/g,function(e,r){return"(?:"+t[+r]+")"})}function r(e,r,n){return RegExp(t(e,r),n||"")}function n(e,t){for(var r=0;r<t;r++)e=e.replace(/<<self>>/g,function(){return"(?:"+e+")"});return e.replace(/<<self>>/g,"[^\\s\\S]")}var i="bool byte char decimal double dynamic float int long object sbyte short string uint ulong ushort var void",o="class enum interface record struct",s="add alias and ascending async await by descending from(?=\\s*(?:\\w|$)) get global group into init(?=\\s*;) join let nameof not notnull on or orderby partial remove select set unmanaged value when where with(?=\\s*{)",a="abstract as base break case catch checked const continue default delegate do else event explicit extern finally fixed for foreach goto if implicit in internal is lock namespace new null operator out override params private protected public readonly ref return sealed sizeof stackalloc static switch this throw try typeof unchecked unsafe using virtual volatile while yield";function l(e){return"\\b(?:"+e.trim().replace(/ /g,"|")+")\\b"}var c=l(o),p=RegExp(l(i+" "+o+" "+s+" "+a)),u=l(o+" "+s+" "+a),d=l(i+" "+o+" "+a),f=n(/<(?:[^<>;=+\-*/%&|^]|<<self>>)*>/.source,2),h=n(/\((?:[^()]|<<self>>)*\)/.source,2),m=/@?\b[A-Za-z_]\w*\b/.source,g=t(/<<0>>(?:\s*<<1>>)?/.source,[m,f]),y=t(/(?!<<0>>)<<1>>(?:\s*\.\s*<<1>>)*/.source,[u,g]),b=/\[\s*(?:,\s*)*\]/.source,v=t(/<<0>>(?:\s*(?:\?\s*)?<<1>>)*(?:\s*\?)?/.source,[y,b]),x=t(/[^,()<>[\];=+\-*/%&|^]|<<0>>|<<1>>|<<2>>/.source,[f,h,b]),w=t(/\(<<0>>+(?:,<<0>>+)+\)/.source,[x]),S=t(/(?:<<0>>|<<1>>)(?:\s*(?:\?\s*)?<<2>>)*(?:\s*\?)?/.source,[w,y,b]),k={keyword:p,punctuation:/[<>()?,.:[\]]/},O=/'(?:[^\r\n'\\]|\\.|\\[Uux][\da-fA-F]{1,8})'/.source,E=/"(?:\\.|[^\\"\r\n])*"/.source,_=/@"(?:""|\\[\s\S]|[^\\"])*"(?!")/.source;e.languages.csharp=e.languages.extend("clike",{string:[{pattern:r(/(^|[^$\\])<<0>>/.source,[_]),lookbehind:!0,greedy:!0},{pattern:r(/(^|[^@$\\])<<0>>/.source,[E]),lookbehind:!0,greedy:!0}],"class-name":[{pattern:r(/(\busing\s+static\s+)<<0>>(?=\s*;)/.source,[y]),lookbehind:!0,inside:k},{pattern:r(/(\busing\s+<<0>>\s*=\s*)<<1>>(?=\s*;)/.source,[m,S]),lookbehind:!0,inside:k},{pattern:r(/(\busing\s+)<<0>>(?=\s*=)/.source,[m]),lookbehind:!0},{pattern:r(/(\b<<0>>\s+)<<1>>/.source,[c,g]),lookbehind:!0,inside:k},{pattern:r(/(\bcatch\s*\(\s*)<<0>>/.source,[y]),lookbehind:!0,inside:k},{pattern:r(/(\bwhere\s+)<<0>>/.source,[m]),lookbehind:!0},{pattern:r(/(\b(?:is(?:\s+not)?|as)\s+)<<0>>/.source,[v]),lookbehind:!0,inside:k},{pattern:r(/\b<<0>>(?=\s+(?!<<1>>|with\s*\{)<<2>>
8(?:\s*[=,;:{)\]]|\s+(?:in|when)\b))/.source,[S,d,m]),inside:k}],keyword:p,number:/(?:\b0(?:x[\da-f_]*[\da-f]|b[01_]*[01])|(?:\B\.\d+(?:_+\d+)*|\b\d+(?:_+\d+)*(?:\.\d+(?:_+\d+)*)?)(?:e[-+]?\d+(?:_+\d+)*)?)(?:[dflmu]|lu|ul)?\b/i,operator:/>>=?|<<=?|[-=]>|([-+&|])\1|~|\?\?=?|[-+*/%&|^!=<>]=?/,punctuation:/\?\.?|::|[{}[\];(),.:]/}),e.languages.insertBefore("csharp","number",{range:{pattern:/\.\./,alias:"operator"}}),e.languages.insertBefore("csharp","punctuation",{"named-parameter":{pattern:r(/([(,]\s*)<<0>>(?=\s*:)/.source,[m]),lookbehind:!0,alias:"punctuation"}}),e.languages.insertBefore("csharp","class-name",{namespace:{pattern:r(/(\b(?:namespace|using)\s+)<<0>>(?:\s*\.\s*<<0>>)*(?=\s*[;{])/.source,[m]),lookbehind:!0,inside:{punctuation:/\./}},"type-expression":{pattern:r(/(\b(?:default|sizeof|typeof)\s*\(\s*(?!\s))(?:[^()\s]|\s(?!\s)|<<0>>)*(?=\s*\))/.source,[h]),lookbehind:!0,alias:"class-name",inside:k},"return-type":{pattern:r(/<<0>>(?=\s+(?:<<1>>\s*(?:=>|[({]|\.\s*this\s*\[)|this\s*\[))/.source,[S,y]),inside:k,alias:"class-name"},"constructor-invocation":{pattern:r(/(\bnew\s+)<<0>>(?=\s*[[({])/.source,[S]),lookbehind:!0,inside:k,alias:"class-name"},"generic-method":{pattern:r(/<<0>>\s*<<1>>(?=\s*\()/.source,[m,f]),inside:{function:r(/^<<0>>/.source,[m]),generic:{pattern:RegExp(f),alias:"class-name",inside:k}}},"type-list":{pattern:r(/\b((?:<<0>>\s+<<1>>|record\s+<<1>>\s*<<5>>|where\s+<<2>>)\s*:\s*)(?:<<3>>|<<4>>|<<1>>\s*<<5>>|<<6>>)(?:\s*,\s*(?:<<3>>|<<4>>|<<6>>))*(?=\s*(?:where|[{;]|=>|$))/.source,[c,g,m,S,p.source,h,/\bnew\s*\(\s*\)/.source]),lookbehind:!0,inside:{"record-arguments":{pattern:r(/(^(?!new\s*\()<<0>>\s*)<<1>>/.source,[g,h]),lookbehind:!0,greedy:!0,inside:e.languages.csharp},keyword:p,"class-name":{pattern:RegExp(S),greedy:!0,inside:k},punctuation:/[,()]/}},preprocessor:{pattern:/(^[\t ]*)#.*/m,lookbehind:!0,alias:"property",inside:{directive:{pattern:/(#)\b(?:define|elif|else|endif|endregion|error|if|line|nullable|pragma|region|undef|warning)\b/,lookbehind:!0,alias:"keyword"}}}});var $=E+"|"+O,A=t(/\/(?![*/])|\/\/[^\r\n]*[\r\n]|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>/.source,[$]),P=n(t(/[^"'/()]|<<0>>|\(<<self>>*\)/.source,[A]),2),j=/\b(?:assembly|event|field|method|module|param|property|return|type)\b/.source,C=t(/<<0>>(?:\s*\(<<1>>*\))?/.source,[y,P]);e.languages.insertBefore("csharp","class-name",{attribute:{pattern:r(/((?:^|[^\s\w>)?])\s*\[\s*)(?:<<0>>\s*:\s*)?<<1>>(?:\s*,\s*<<1>>)*(?=\s*\])/.source,[j,C]),lookbehind:!0,greedy:!0,inside:{target:{pattern:r(/^<<0>>(?=\s*:)/.source,[j]),alias:"keyword"},"attribute-arguments":{pattern:r(/\(<<0>>*\)/.source,[P]),inside:e.languages.csharp},"class-name":{pattern:RegExp(y),inside:{punctuation:/\./}},punctuation:/[:,]/}}});var T=/:[^}\r\n]+/.source,I=n(t(/[^"'/()]|<<0>>|\(<<self>>*\)/.source,[A]),2),N=t(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source,[I,T]),R=n(t(/[^"'/()]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>|\(<<self>>*\)/.source,[$]),2),L=t(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source,[R,T]);function D(t,n){return{interpolation:{pattern:r(/((?:^|[^{])(?:\{\{)*)<<0>>/.source,[t]),lookbehind:!0,inside:{"format-string":{pattern:r(/(^\{(?:(?![}:])<<0>>)*)<<1>>(?=\}$)/.source,[n,T]),lookbehind:!0,inside:{punctuation:/^:/}},punctuation:/^\{|\}$/,expression:{pattern:/[\s\S]+/,alias:"language-csharp",inside:e.languages.csharp}}},string:/[\s\S]+/}}e.languages.insertBefore("csharp","string",{"interpolation-string":[{pattern:r(/(^|[^\\])(?:\$@|@\$)"(?:""|\\[\s\S]|\{\{|<<0>>|[^\\{"])*"/.source,[N]),lookbehind:!0,greedy:!0,inside:D(N,I)},{pattern:r(/(^|[^@\\])\$"(?:\\.|\{\{|<<0>>|[^\\"{])*"/.source,[L]),lookbehind:!0,greedy:!0,inside:D(L,R)}],char:{pattern:RegExp(O),greedy:!0}}),e.languages.dotnet=e.languages.cs=e.languages.csharp}(Prism)},76147(){Prism.languages.csv={value:/[^\r\n,"]+|"(?:[^"]|"")*"(?!")/,punctuation:/,/}},4117(){Prism.languages.go=Prism.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\.|[^"\\\r\n])*"|`[^`]*`/,lookbehind:!0,greedy:!0},keyword:/\b(?:break|case|chan|const|continue|default|defer|else|fallthrough|for|func|go(?:to)?|if|import|interface|map|package|range|return|select|struct|switch|type|var)\b/,boolean:/\b(?:_|false|iota|nil|true)\b/,number:[/\b0(?:b[01_]+|o[0-7_]+)i?\b/i,/\b0x(?:[a-f\d_]+(?:\.[a-f\d_]*)?|\.[a-f\d_]+)(?:p[+-]?\d+(?:_\d+)*)?i?(?!\w)/i,/(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?[\d_]+)?i?(?!\w)/i],operator:/[*\/%^!=]=?|\+[=+]?|-[=-]?|\|[=|]?|&(?:=|&|\^=?)?|>(?:>=?|=)?|<(?:<=?|=|-)?|:=|\.\.\./,builtin:/\b(?:append|bool|byte|cap|close|complex|complex(?:64|128)|copy|delete|error|float(?:32|64)|u?int(?:8|16|32|64)?|imag|len|make|new|panic|print(?:ln)?|real|recover|rune|string|uintptr)\b/}),Prism.languages.insertBefore("go","string",{char:{pattern:/'(?:\\.|[^'\\\r\n]){0,10}'/,greedy:!0}}),delete Prism.languages.go["class-name"]},84155(){!function(e){function t(e){return RegExp("(^(?:"+e+"):[ \t]*(?![ \t]))[^]+","i")}e.languages.http={"request-line":{pattern:/^(?:CONNECT|DELETE|GET|HEAD|OPTIONS|PATCH|POST|PRI|PUT|SEARCH|TRACE)\s(?:https?:\/\/|\/)\S*\sHTTP\/[\d.]+/m,inside:{method:{pattern:/^[A-Z]+\b/,alias:"property"},"request-target":{pattern:/^(\s)(?:https?:\/\/|\/)\S*(?=\s)/,lookbehind:!0,alias:"url",inside:e.languages.uri},"http-version":{pattern:/^(\s)HTTP\/[\d.]+/,lookbehind:!0,alias:"property"}}},"response-status":{pattern:/^HTTP\/[\d.]+ \d+ .+/m,inside:{"http-version":{pattern:/^HTTP\/[\d.]+/,alias:"property"},"status-code":{pattern:/^(\s)\d+(?=\s)/,lookbehind:!0,alias:"number"},"reason-phrase":{pattern:/^(\s).+/,lookbehind:!0,alias:"string"}}}
8,header:{pattern:/^[\w-]+:.+(?:(?:\r\n?|\n)[ \t].+)*/m,inside:{"header-value":[{pattern:t(/Content-Security-Policy/.source),lookbehind:!0,alias:["csp","languages-csp"],inside:e.languages.csp},{pattern:t(/Public-Key-Pins(?:-Report-Only)?/.source),lookbehind:!0,alias:["hpkp","languages-hpkp"],inside:e.languages.hpkp},{pattern:t(/Strict-Transport-Security/.source),lookbehind:!0,alias:["hsts","languages-hsts"],inside:e.languages.hsts},{pattern:t(/[^:]+/.source),lookbehind:!0}],"header-name":{pattern:/^[^:]+/,alias:"keyword"},punctuation:/^:/}}};var r,n=e.languages,i={"application/javascript":n.javascript,"application/json":n.json||n.javascript,"application/xml":n.xml,"text/xml":n.xml,"text/html":n.html,"text/css":n.css,"text/plain":n.plain},o={"application/json":!0,"application/xml":!0};function s(e){var t=e.replace(/^[a-z]+\//,"");return"(?:"+e+"|"+("\\w+/(?:[\\w.-]+\\+)+"+t+"(?![+\\w.-])")+")"}for(var a in i)if(i[a]){r=r||{};var l=o[a]?s(a):a;r[a.replace(/\//g,"-")]={pattern:RegExp("("+/content-type:\s*/.source+l+/(?:(?:\r\n?|\n)[\w-].*)*(?:\r(?:\n|(?!\n))|\n)/.source+")"+/[^ \t\w-][\s\S]*/.source,"i"),lookbehind:!0,inside:i[a]}}r&&e.languages.insertBefore("http","header",r)}(Prism)},66043(){!function(e){var t=/\b(?:abstract|assert|boolean|break|byte|case|catch|char|class|const|continue|default|do|double|else|enum|exports|extends|final|finally|float|for|goto|if|implements|import|instanceof|int|interface|long|module|native|new|non-sealed|null|open|opens|package|permits|private|protected|provides|public|record(?!\s*[(){}[\]<>=%~.:,;?+\-*/&|^])|requires|return|sealed|short|static|strictfp|super|switch|synchronized|this|throw|throws|to|transient|transitive|try|uses|var|void|volatile|while|with|yield)\b/,r=/(?:[a-z]\w*\s*\.\s*)*(?:[A-Z]\w*\s*\.\s*)*/.source,n={pattern:RegExp(/(^|[^\w.])/.source+r+/[A-Z](?:[\d_A-Z]*[a-z]\w*)?\b/.source),lookbehind:!0,inside:{namespace:{pattern:/^[a-z]\w*(?:\s*\.\s*[a-z]\w*)*(?:\s*\.)?/,inside:{punctuation:/\./}},punctuation:/\./}};e.languages.java=e.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\.|[^"\\\r\n])*"/,lookbehind:!0,greedy:!0},"class-name":[n,{pattern:RegExp(/(^|[^\w.])/.source+r+/[A-Z]\w*(?=\s+\w+\s*[;,=()]|\s*(?:\[[\s,]*\]\s*)?::\s*new\b)/.source),lookbehind:!0,inside:n.inside},{pattern:RegExp(/(\b(?:class|enum|extends|implements|instanceof|interface|new|record|throws)\s+)/.source+r+/[A-Z]\w*\b/.source),lookbehind:!0,inside:n.inside}],keyword:t,function:[e.languages.clike.function,{pattern:/(::\s*)[a-z_]\w*/,lookbehind:!0}],number:/\b0b[01][01_]*L?\b|\b0x(?:\.[\da-f_p+-]+|[\da-f_]+(?:\.[\da-f_p+-]+)?)\b|(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?\d[\d_]*)?[dfl]?/i,operator:{pattern:/(^|[^.])(?:<<=?|>>>?=?|->|--|\+\+|&&|\|\||::|[?:~]|[-+*/%&|^!=<>]=?)/m,lookbehind:!0},constant:/\b[A-Z][A-Z_\d]+\b/}),e.languages.insertBefore("java","string",{"triple-quoted-string":{pattern:/"""[ \t]*[\r\n](?:(?:"|"")?(?:\\.|[^"\\]))*"""/,greedy:!0,alias:"string"},char:{pattern:/'(?:\\.|[^'\\\r\n]){1,6}'/,greedy:!0}}),e.languages.insertBefore("java","class-name",{annotation:{pattern:/(^|[^.])@\w+(?:\s*\.\s*\w+)*/,lookbehind:!0,alias:"punctuation"},generics:{pattern:/<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&))*>)*>)*>)*>/,inside:{"class-name":n,keyword:t,punctuation:/[<>(),.:]/,operator:/[?&|]/}},import:[{pattern:RegExp(/(\bimport\s+)/.source+r+/(?:[A-Z]\w*|\*)(?=\s*;)/.source),lookbehind:!0,inside:{namespace:n.inside.namespace,punctuation:/\./,operator:/\*/,"class-name":/\w+/}},{pattern:RegExp(/(\bimport\s+static\s+)/.source+r+/(?:\w+|\*)(?=\s*;)/.source),lookbehind:!0,alias:"static",inside:{namespace:n.inside.namespace,static:/\b\w+$/,punctuation:/\./,operator:/\*/,"class-name":/\w+/}}],namespace:{pattern:RegExp(/(\b(?:exports|import(?:\s+static)?|module|open|opens|package|provides|requires|to|transitive|uses|with)\s+)(?!<keyword>)[a-z]\w*(?:\.[a-z]\w*)*\.?/.source.replace(/<keyword>/g,function(){return t.source})),lookbehind:!0,inside:{punctuation:/\./}}})}(Prism)},64618(){Prism.languages.lua={comment:/^#!.+|--(?:\[(=*)\[[\s\S]*?\]\1\]|.*)/m,string:{pattern:/(["'])(?:(?!\1)[^\\\r\n]|\\z(?:\r\n|\s)|\\(?:\r\n|[^z]))*\1|\[(=*)\[[\s\S]*?\]\2\]/,greedy:!0},number:/\b0x[a-f\d]+(?:\.[a-f\d]*)?(?:p[+-]?\d+)?\b|\b\d+(?:\.\B|(?:\.\d*)?(?:e[+-]?\d+)?\b)|\B\.\d+(?:e[+-]?\d+)?\b/i,keyword:/\b(?:and|break|do|else|elseif|end|false|for|function|goto|if|in|local|nil|not|or|repeat|return|then|true|until|while)\b/,function:/(?!\d)\w+(?=\s*(?:[({]))/,operator:[/[-+*%^&|#]|\/\/?|<[<=]?|>[>=]?|[=~]=?/,{pattern:/(^|[^.])\.\.(?!\.)/,lookbehind:!0}],punctuation:/[\[\](){},;]|\.+|:+/}},64377(){!function(e){function t(e,t){return"___"+e.toUpperCase()+t+"___"}Object.defineProperties(e.languages["markup-templating"]={},{buildPlaceholders:{value:function(r,n,i,o){if(r.language===n){var s=r.tokenStack=[];r.code=r.code.replace(i,function(e){if("function"===typeof o&&!o(e))return e;for(var i,a=s.length;-1!==r.code.indexOf(i=t(n,a));)++a;return s[a]=e,i}),r.grammar=e.languages.markup}}},tokenizePlaceholders:{value:function(r,n){if(r.language===n&&r.tokenStack){r.grammar=e.languages[n];var i=0,o=Object.keys(r.tokenStack);!function s(a){for(var l=0;l<a.length&&!(i>=o.length);l++){var c=a[l];if("string"===typeof c||c.content&&"string"===typeof c.content){var p=o[i],u=r.tokenStack[p],d="string"===typeof c?c:c.content,f=t(n,p),h=d.indexOf(f);if(h>-1){++i;var m=d.substring(0,h),g=new e.Token(n,e.tokenize(u,r.grammar),"language-"+n,u),y=d.substring(h+f.length),b=[];m&&b.push.apply(b,s([m])),b.push(g),y&&b.push.apply(b,s([y])),"string"===typeof c?a.splice.apply(a,[l,1].concat(b)):c.content=b}}else c.content&&s(c.content)}return a}(r.tokens)}}}})}(Prism)},15575(){Prism.languages.markup={comment:{pattern:/<!--(?:(?!<!--)[\s\S])*?-->/,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/<!DOCTYPE(?:[^>"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|<!--(?:[^-]|-(?!->))*-->)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^<!|>$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>
8\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},{pattern:/^(\s*)["']|["']$/,lookbehind:!0}]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},Prism.languages.markup.tag.inside["attr-value"].inside.entity=Prism.languages.markup.entity,Prism.languages.markup.doctype.inside["internal-subset"].inside=Prism.languages.markup,Prism.hooks.add("wrap",function(e){"entity"===e.type&&(e.attributes.title=e.content.replace(/&amp;/,"&"))}),Object.defineProperty(Prism.languages.markup.tag,"addInlined",{value:function(e,t){var r={};r["language-"+t]={pattern:/(^<!\[CDATA\[)[\s\S]+?(?=\]\]>$)/i,lookbehind:!0,inside:Prism.languages[t]},r.cdata=/^<!\[CDATA\[|\]\]>$/i;var n={"included-cdata":{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,inside:r}};n["language-"+t]={pattern:/[\s\S]+/,inside:Prism.languages[t]};var i={};i[e]={pattern:RegExp(/(<__[^>]*>)(?:<!\[CDATA\[(?:[^\]]|\](?!\]>))*\]\]>|(?!<!\[CDATA\[)[\s\S])*?(?=<\/__>)/.source.replace(/__/g,function(){return e}),"i"),lookbehind:!0,greedy:!0,inside:n},Prism.languages.insertBefore("markup","cdata",i)}}),Object.defineProperty(Prism.languages.markup.tag,"addAttribute",{value:function(e,t){Prism.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+e+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[t,"language-"+t],inside:Prism.languages[t]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),Prism.languages.html=Prism.languages.markup,Prism.languages.mathml=Prism.languages.markup,Prism.languages.svg=Prism.languages.markup,Prism.languages.xml=Prism.languages.extend("markup",{}),Prism.languages.ssml=Prism.languages.xml,Prism.languages.atom=Prism.languages.xml,Prism.languages.rss=Prism.languages.xml},47819(){Prism.languages.objectivec=Prism.languages.extend("c",{string:{pattern:/@?"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},keyword:/\b(?:asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|in|inline|int|long|register|return|self|short|signed|sizeof|static|struct|super|switch|typedef|typeof|union|unsigned|void|volatile|while)\b|(?:@interface|@end|@implementation|@protocol|@class|@public|@protected|@private|@property|@try|@catch|@finally|@throw|@synthesize|@dynamic|@selector)\b/,operator:/-[->]?|\+\+?|!=?|<<?=?|>>?=?|==?|&&?|\|\|?|[~^%?*\/@]/}),delete Prism.languages.objectivec["class-name"],Prism.languages.objc=Prism.languages.objectivec},8374(){!function(e){var t=/(?:\((?:[^()\\]|\\[\s\S])*\)|\{(?:[^{}\\]|\\[\s\S])*\}|\[(?:[^[\]\\]|\\[\s\S])*\]|<(?:[^<>\\]|\\[\s\S])*>)/.source;e.languages.perl={comment:[{pattern:/(^\s*)=\w[\s\S]*?=cut.*/m,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\$])#.*/,lookbehind:!0,greedy:!0}],string:[{pattern:RegExp(/\b(?:q|qq|qw|qx)(?![a-zA-Z0-9])\s*/.source+"(?:"+[/([^a-zA-Z0-9\s{(\[<])(?:(?!\1)[^\\]|\\[\s\S])*\1/.source,/([a-zA-Z0-9])(?:(?!\2)[^\\]|\\[\s\S])*\2/.source,t].join("|")+")"),greedy:!0},{pattern:/("|`)(?:(?!\1)[^\\]|\\[\s\S])*\1/,greedy:!0},{pattern:/'(?:[^'\\\r\n]|\\.)*'/,greedy:!0}],regex:[{pattern:RegExp(/\b(?:m|qr)(?![a-zA-Z0-9])\s*/.source+"(?:"+[/([^a-zA-Z0-9\s{(\[<])(?:(?!\1)[^\\]|\\[\s\S])*\1/.source,/([a-zA-Z0-9])(?:(?!\2)[^\\]|\\[\s\S])*\2/.source,t].join("|")+")"+/[msixpodualngc]*/.source),greedy:!0},{pattern:RegExp(/(^|[^-])\b(?:s|tr|y)(?![a-zA-Z0-9])\s*/.source+"(?:"+[/([^a-zA-Z0-9\s{(\[<])(?:(?!\2)[^\\]|\\[\s\S])*\2(?:(?!\2)[^\\]|\\[\s\S])*\2/.source,/([a-zA-Z0-9])(?:(?!\3)[^\\]|\\[\s\S])*\3(?:(?!\3)[^\\]|\\[\s\S])*\3/.source,t+/\s*/.source+t].join("|")+")"+/[msixpodualngcer]*/.source),lookbehind:!0,greedy:!0}
8,{pattern:/\/(?:[^\/\\\r\n]|\\.)*\/[msixpodualngc]*(?=\s*(?:$|[\r\n,.;})&|\-+*~<>!?^]|(?:and|cmp|eq|ge|gt|le|lt|ne|not|or|x|xor)\b))/,greedy:!0}],variable:[/[&*$@%]\{\^[A-Z]+\}/,/[&*$@%]\^[A-Z_]/,/[&*$@%]#?(?=\{)/,/[&*$@%]#?(?:(?:::)*'?(?!\d)[\w$]+(?![\w$]))+(?:::)*/,/[&*$@%]\d+/,/(?!%=)[$@%][!"#$%&'()*+,\-.\/:;<=>?@[\\\]^_`{|}~]/],filehandle:{pattern:/<(?![<=])\S*?>|\b_\b/,alias:"symbol"},"v-string":{pattern:/v\d+(?:\.\d+)*|\d+(?:\.\d+){2,}/,alias:"string"},function:{pattern:/(\bsub[ \t]+)\w+/,lookbehind:!0},keyword:/\b(?:any|break|continue|default|delete|die|do|else|elsif|eval|for|foreach|given|goto|if|last|local|my|next|our|package|print|redo|require|return|say|state|sub|switch|undef|unless|until|use|when|while)\b/,number:/\b(?:0x[\dA-Fa-f](?:_?[\dA-Fa-f])*|0b[01](?:_?[01])*|(?:(?:\d(?:_?\d)*)?\.)?\d(?:_?\d)*(?:[Ee][+-]?\d+)?)\b/,operator:/-[rwxoRWXOezsfdlpSbctugkTBMAC]\b|\+[+=]?|-[-=>]?|\*\*?=?|\/\/?=?|=[=~>]?|~[~=]?|\|\|?=?|&&?=?|<(?:=>?|<=?)?|>>?=?|![~=]?|[%^]=?|\.(?:=|\.\.?)?|[\\?]|\bx(?:=|\b)|\b(?:and|cmp|eq|ge|gt|le|lt|ne|not|or|xor)\b/,punctuation:/[{}[\];(),:]/}}(Prism)},87523(){!function(e){var t=/\/\*[\s\S]*?\*\/|\/\/.*|#(?!\[).*/,r=[{pattern:/\b(?:false|true)\b/i,alias:"boolean"},{pattern:/(::\s*)\b[a-z_]\w*\b(?!\s*\()/i,greedy:!0,lookbehind:!0},{pattern:/(\b(?:case|const)\s+)\b[a-z_]\w*(?=\s*[;=])/i,greedy:!0,lookbehind:!0},/\b(?:null)\b/i,/\b[A-Z_][A-Z0-9_]*\b(?!\s*\()/],n=/\b0b[01]+(?:_[01]+)*\b|\b0o[0-7]+(?:_[0-7]+)*\b|\b0x[\da-f]+(?:_[\da-f]+)*\b|(?:\b\d+(?:_\d+)*\.?(?:\d+(?:_\d+)*)?|\B\.\d+)(?:e[+-]?\d+)?/i,i=/<?=>|\?\?=?|\.{3}|\??->|[!=]=?=?|::|\*\*=?|--|\+\+|&&|\|\||<<|>>|[?~]|[/^|%*&<>.+-]=?/,o=/[{}\[\](),:;]/;e.languages.php={delimiter:{pattern:/\?>$|^<\?(?:php(?=\s)|=)?/i,alias:"important"},comment:t,variable:/\$+(?:\w+\b|(?=\{))/,package:{pattern:/(namespace\s+|use\s+(?:function\s+)?)(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,lookbehind:!0,inside:{punctuation:/\\/}},"class-name-definition":{pattern:/(\b(?:class|enum|interface|trait)\s+)\b[a-z_]\w*(?!\\)\b/i,lookbehind:!0,alias:"class-name"},"function-definition":{pattern:/(\bfunction\s+)[a-z_]\w*(?=\s*\()/i,lookbehind:!0,alias:"function"},keyword:[{pattern:/(\(\s*)\b(?:array|bool|boolean|float|int|integer|object|string)\b(?=\s*\))/i,alias:"type-casting",greedy:!0,lookbehind:!0},{pattern:/([(,?]\s*)\b(?:array(?!\s*\()|bool|callable|(?:false|null)(?=\s*\|)|float|int|iterable|mixed|object|self|static|string)\b(?=\s*\$)/i,alias:"type-hint",greedy:!0,lookbehind:!0},{pattern:/(\)\s*:\s*(?:\?\s*)?)\b(?:array(?!\s*\()|bool|callable|(?:false|null)(?=\s*\|)|float|int|iterable|mixed|never|object|self|static|string|void)\b/i,alias:"return-type",greedy:!0,lookbehind:!0},{pattern:/\b(?:array(?!\s*\()|bool|float|int|iterable|mixed|object|string|void)\b/i,alias:"type-declaration",greedy:!0},{pattern:/(\|\s*)(?:false|null)\b|\b(?:false|null)(?=\s*\|)/i,alias:"type-declaration",greedy:!0,lookbehind:!0},{pattern:/\b(?:parent|self|static)(?=\s*::)/i,alias:"static-context",greedy:!0},{pattern:/(\byield\s+)from\b/i,lookbehind:!0},/\bclass\b/i,{pattern:/((?:^|[^\s>:]|(?:^|[^-])>|(?:^|[^:]):)\s*)\b(?:abstract|and|array|as|break|callable|case|catch|clone|const|continue|declare|default|die|do|echo|else|elseif|empty|enddeclare|endfor|endforeach|endif|endswitch|endwhile|enum|eval|exit|extends|final|finally|fn|for|foreach|function|global|goto|if|implements|include|include_once|instanceof|insteadof|interface|isset|list|match|namespace|never|new|or|parent|print|private|protected|public|readonly|require|require_once|return|self|static|switch|throw|trait|try|unset|use|var|while|xor|yield|__halt_compiler)\b/i,lookbehind:!0}],"argument-name":{pattern:/([(,]\s*)\b[a-z_]\w*(?=\s*:(?!:))/i,lookbehind:!0},"class-name":[{pattern:/(\b(?:extends|implements|instanceof|new(?!\s+self|\s+static))\s+|\bcatch\s*\()\b[a-z_]\w*(?!\\)\b/i,greedy:!0,lookbehind:!0},{pattern:/(\|\s*)\b[a-z_]\w*(?!\\)\b/i,greedy:!0,lookbehind:!0},{pattern:/\b[a-z_]\w*(?!\\)\b(?=\s*\|)/i,greedy:!0},{pattern:/(\|\s*)(?:\\?\b[a-z_]\w*)+\b/i,alias:"class-name-fully-qualified",greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/(?:\\?\b[a-z_]\w*)+\b(?=\s*\|)/i,alias:"class-name-fully-qualified",greedy:!0,inside:{punctuation:/\\/}},{pattern:/(\b(?:extends|implements|instanceof|new(?!\s+self\b|\s+static\b))\s+|\bcatch\s*\()(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,alias:"class-name-fully-qualified",greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/\b[a-z_]\w*(?=\s*\$)/i,alias:"type-declaration",greedy:!0},{pattern:/(?:\\?\b[a-z_]\w*)+(?=\s*\$)/i,alias:["class-name-fully-qualified","type-declaration"],greedy:!0,inside:{punctuation:/\\/}},{pattern:/\b[a-z_]\w*(?=\s*::)/i,alias:"static-context",greedy:!0},{pattern:/(?:\\?\b[a-z_]\w*)+(?=\s*::)/i,alias:["class-name-fully-qualified","static-context"],greedy:!0,inside:{punctuation:/\\/}}
8,{pattern:/([(,?]\s*)[a-z_]\w*(?=\s*\$)/i,alias:"type-hint",greedy:!0,lookbehind:!0},{pattern:/([(,?]\s*)(?:\\?\b[a-z_]\w*)+(?=\s*\$)/i,alias:["class-name-fully-qualified","type-hint"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/(\)\s*:\s*(?:\?\s*)?)\b[a-z_]\w*(?!\\)\b/i,alias:"return-type",greedy:!0,lookbehind:!0},{pattern:/(\)\s*:\s*(?:\?\s*)?)(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,alias:["class-name-fully-qualified","return-type"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}}],constant:r,function:{pattern:/(^|[^\\\w])\\?[a-z_](?:[\w\\]*\w)?(?=\s*\()/i,lookbehind:!0,inside:{punctuation:/\\/}},property:{pattern:/(->\s*)\w+/,lookbehind:!0},number:n,operator:i,punctuation:o};var s={pattern:/\{\$(?:\{(?:\{[^{}]+\}|[^{}]+)\}|[^{}])+\}|(^|[^\\{])\$+(?:\w+(?:\[[^\r\n\[\]]+\]|->\w+)?)/,lookbehind:!0,inside:e.languages.php},a=[{pattern:/<<<'([^']+)'[\r\n](?:.*[\r\n])*?\1;/,alias:"nowdoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<<'[^']+'|[a-z_]\w*;$/i,alias:"symbol",inside:{punctuation:/^<<<'?|[';]$/}}}},{pattern:/<<<(?:"([^"]+)"[\r\n](?:.*[\r\n])*?\1;|([a-z_]\w*)[\r\n](?:.*[\r\n])*?\2;)/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<<(?:"[^"]+"|[a-z_]\w*)|[a-z_]\w*;$/i,alias:"symbol",inside:{punctuation:/^<<<"?|[";]$/}},interpolation:s}},{pattern:/`(?:\\[\s\S]|[^\\`])*`/,alias:"backtick-quoted-string",greedy:!0},{pattern:/'(?:\\[\s\S]|[^\\'])*'/,alias:"single-quoted-string",greedy:!0},{pattern:/"(?:\\[\s\S]|[^\\"])*"/,alias:"double-quoted-string",greedy:!0,inside:{interpolation:s}}];e.languages.insertBefore("php","variable",{string:a,attribute:{pattern:/#\[(?:[^"'\/#]|\/(?![*/])|\/\/.*$|#(?!\[).*$|\/\*(?:[^*]|\*(?!\/))*\*\/|"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*')+\](?=\s*[a-z$#])/im,greedy:!0,inside:{"attribute-content":{pattern:/^(#\[)[\s\S]+(?=\]$)/,lookbehind:!0,inside:{comment:t,string:a,"attribute-class-name":[{pattern:/([^:]|^)\b[a-z_]\w*(?!\\)\b/i,alias:"class-name",greedy:!0,lookbehind:!0},{pattern:/([^:]|^)(?:\\?\b[a-z_]\w*)+/i,alias:["class-name","class-name-fully-qualified"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}}],constant:r,number:n,operator:i,punctuation:o}},delimiter:{pattern:/^#\[|\]$/,alias:"punctuation"}}}}),e.hooks.add("before-tokenize",function(t){if(/<\?/.test(t.code)){e.languages["markup-templating"].buildPlaceholders(t,"php",/<\?(?:[^"'/#]|\/(?![*/])|("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|(?:\/\/|#(?!\[))(?:[^?\n\r]|\?(?!>))*(?=$|\?>|[\r\n])|#\[|\/\*(?:[^*]|\*(?!\/))*(?:\*\/|$))*?(?:\?>|$)/g)}}),e.hooks.add("after-tokenize",function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"php")})}(Prism)},83817(){Prism.languages.python={comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0,greedy:!0},"string-interpolation":{pattern:/(?:f|fr|rf)(?:("""|''')[\s\S]*?\1|("|')(?:\\.|(?!\2)[^\\\r\n])*\2)/i,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^{])(?:\{\{)*)\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}])+\})+\})+\}/,lookbehind:!0,inside:{"format-spec":{pattern:/(:)[^:(){}]+(?=\}$)/,lookbehind:!0},"conversion-option":{pattern:/![sra](?=[:}]$)/,alias:"punctuation"},rest:null}},string:/[\s\S]+/}},"triple-quoted-string":{pattern:/(?:[rub]|br|rb)?("""|''')[\s\S]*?\1/i,greedy:!0,alias:"string"},string:{pattern:/(?:[rub]|br|rb)?("|')(?:\\.|(?!\1)[^\\\r\n])*\1/i,greedy:!0},function:{pattern:/((?:^|\s)def[ \t]+)[a-zA-Z_]\w*(?=\s*\()/g,lookbehind:!0},"class-name":{pattern:/(\bclass\s+)\w+/i,lookbehind:!0},decorator:{pattern:/(^[\t ]*)@\w+(?:\.\w+)*/m,lookbehind:!0,alias:["annotation","punctuation"],inside:{punctuation:/\./}},keyword:/\b(?:_(?=\s*:)|and|as|assert|async|await|break|case|class|continue|def|del|elif|else|except|exec|finally|for|from|global|if|import|in|is|lambda|match|nonlocal|not|or|pass|print|raise|return|try|while|with|yield)\b/,builtin:/\b(?:__import__|abs|all|any|apply|ascii|basestring|bin|bool|buffer|bytearray|bytes|callable|chr|classmethod|cmp|coerce|compile|complex|delattr|dict|dir|divmod|enumerate|eval|execfile|file|filter|float|format|frozenset|getattr|globals|hasattr|hash|help|hex|id|input|int|intern|isinstance|issubclass|iter|len|list|locals|long|map|max|memoryview|min|next|object|oct|open|ord|pow|property|range|raw_input|reduce|reload|repr|reversed|round|set|setattr|slice|sorted|staticmethod|str|sum|super|tuple|type|unichr|unicode|vars|xrange|zip)\b/,boolean:/\b(?:False|None|True)\b/,number:/\b0(?:b(?:_?[01
8])+|o(?:_?[0-7])+|x(?:_?[a-f0-9])+)\b|(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)(?:e[+-]?\d+(?:_\d+)*)?j?(?!\w)/i,operator:/[-+%=]=?|!=|:=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,punctuation:/[{}[\];(),.:]/},Prism.languages.python["string-interpolation"].inside.interpolation.inside.rest=Prism.languages.python,Prism.languages.py=Prism.languages.python},5732(){Prism.languages.q={string:/"(?:\\.|[^"\\\r\n])*"/,comment:[{pattern:/([\t )\]}])\/.*/,lookbehind:!0,greedy:!0},{pattern:/(^|\r?\n|\r)\/[\t ]*(?:(?:\r?\n|\r)(?:.*(?:\r?\n|\r(?!\n)))*?(?:\\(?=[\t ]*(?:\r?\n|\r))|$)|\S.*)/,lookbehind:!0,greedy:!0},{pattern:/^\\[\t ]*(?:\r?\n|\r)[\s\S]+/m,greedy:!0},{pattern:/^#!.+/m,greedy:!0}],symbol:/`(?::\S+|[\w.]*)/,datetime:{pattern:/0N[mdzuvt]|0W[dtz]|\d{4}\.\d\d(?:m|\.\d\d(?:T(?:\d\d(?::\d\d(?::\d\d(?:[.:]\d\d\d)?)?)?)?)?[dz]?)|\d\d:\d\d(?::\d\d(?:[.:]\d\d\d)?)?[uvt]?/,alias:"number"},number:/\b(?![01]:)(?:0N[hje]?|0W[hj]?|0[wn]|0x[\da-fA-F]+|\d+(?:\.\d*)?(?:e[+-]?\d+)?[hjfeb]?)/,keyword:/\\\w+\b|\b(?:abs|acos|aj0?|all|and|any|asc|asin|asof|atan|attr|avgs?|binr?|by|ceiling|cols|cor|cos|count|cov|cross|csv|cut|delete|deltas|desc|dev|differ|distinct|div|do|dsave|ej|enlist|eval|except|exec|exit|exp|fby|fills|first|fkeys|flip|floor|from|get|getenv|group|gtime|hclose|hcount|hdel|hopen|hsym|iasc|identity|idesc|if|ij|in|insert|inter|inv|keys?|last|like|list|ljf?|load|log|lower|lsq|ltime|ltrim|mavg|maxs?|mcount|md5|mdev|med|meta|mins?|mmax|mmin|mmu|mod|msum|neg|next|not|null|or|over|parse|peach|pj|plist|prds?|prev|prior|rand|rank|ratios|raze|read0|read1|reciprocal|reval|reverse|rload|rotate|rsave|rtrim|save|scan|scov|sdev|select|set|setenv|show|signum|sin|sqrt|ssr?|string|sublist|sums?|sv|svar|system|tables|tan|til|trim|txf|type|uj|ungroup|union|update|upper|upsert|value|var|views?|vs|wavg|where|while|within|wj1?|wsum|ww|xasc|xbar|xcols?|xdesc|xexp|xgroup|xkey|xlog|xprev|xrank)\b/,adverb:{pattern:/['\/\\]:?|\beach\b/,alias:"function"},verb:{pattern:/(?:\B\.\B|\b[01]:|<[=>]?|>=?|[:+\-*%,!?~=|$&#@^]):?|\b_\b:?/,alias:"operator"},punctuation:/[(){}\[\];.]/}},73955(){!function(e){e.languages.ruby=e.languages.extend("clike",{comment:{pattern:/#.*|^=begin\s[\s\S]*?^=end/m,greedy:!0},"class-name":{pattern:/(\b(?:class|module)\s+|\bcatch\s+\()[\w.\\]+|\b[A-Z_]\w*(?=\s*\.\s*new\b)/,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:BEGIN|END|alias|and|begin|break|case|class|def|define_method|defined|do|each|else|elsif|end|ensure|extend|for|if|in|include|module|new|next|nil|not|or|prepend|private|protected|public|raise|redo|require|rescue|retry|return|self|super|then|throw|undef|unless|until|when|while|yield)\b/,operator:/\.{2,3}|&\.|===|<?=>|[!=]?~|(?:&&|\|\||<<|>>|\*\*|[+\-*/%<>!^&|=])=?|[?:]/,punctuation:/[(){}[\].,;]/}),e.languages.insertBefore("ruby","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}});var t={pattern:/((?:^|[^\\])(?:\\{2})*)#\{(?:[^{}]|\{[^{}]*\})*\}/,lookbehind:!0,inside:{content:{pattern:/^(#\{)[\s\S]+(?=\}$)/,lookbehind:!0,inside:e.languages.ruby},delimiter:{pattern:/^#\{|\}$/,alias:"punctuation"}}};delete e.languages.ruby.function;var r="(?:"+[/([^a-zA-Z0-9\s{(\[<=])(?:(?!\1)[^\\]|\\[\s\S])*\1/.source,/\((?:[^()\\]|\\[\s\S]|\((?:[^()\\]|\\[\s\S])*\))*\)/.source,/\{(?:[^{}\\]|\\[\s\S]|\{(?:[^{}\\]|\\[\s\S])*\})*\}/.source,/\[(?:[^\[\]\\]|\\[\s\S]|\[(?:[^\[\]\\]|\\[\s\S])*\])*\]/.source,/<(?:[^<>\\]|\\[\s\S]|<(?:[^<>\\]|\\[\s\S])*>)*>/.source].join("|")+")",n=/(?:"(?:\\.|[^"\\\r\n])*"|(?:\b[a-zA-Z_]\w*|[^\s\0-\x7F]+)[?!]?|\$.)/.source;e.languages.insertBefore("ruby","keyword",{"regex-literal":[{pattern:RegExp(/%r/.source+r+/[egimnosux]{0,6}/.source),greedy:!0,inside:{interpolation:t,regex:/[\s\S]+/}},{pattern:/(^|[^/])\/(?!\/)(?:\[[^\r\n\]]+\]|\\.|[^[/\\\r\n])+\/[egimnosux]{0,6}(?=\s*(?:$|[\r\n,.;})#]))/,lookbehind:!0,greedy:!0,inside:{interpolation:t,regex:/[\s\S]+/}}],variable:/[@$]+[a-zA-Z_]\w*(?:[?!]|\b)/,symbol:[{pattern:RegExp(/(^|[^:]):/.source+n),lookbehind:!0,greedy:!0},{pattern:RegExp(/([\r\n{(,][ \t]*)/.source+n+/(?=:(?!:))/.source),lookbehind:!0,greedy:!0}],"method-definition":{pattern:/(\bdef\s+)\w+(?:\s*\.\s*\w+)?/,lookbehind:!0,inside:{function:/\b\w+$/,keyword:/^self\b/,"class-name":/^\w+/,punctuation:/\./}}}),e.languages.insertBefore("ruby","string",{"string-literal":[{pattern:RegExp(/%[qQiIwWs]?/.source+r),greedy:!0,inside:{interpolation:t,string:/[\s\S]+/}},{pattern:/("|')(?:#\{[^}]+\}|#(?!\{)|\\(?:\r\n|[\s\S])|(?!\1)[^\\#\r\n])*\1/,greedy:!0,inside:{interpolation:t,string:/[\s\S]+/}}
8,{pattern:/<<[-~]?([a-z_]\w*)[\r\n](?:.*[\r\n])*?[\t ]*\1/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<[-~]?[a-z_]\w*|\b[a-z_]\w*$/i,inside:{symbol:/\b\w+/,punctuation:/^<<[-~]?/}},interpolation:t,string:/[\s\S]+/}},{pattern:/<<[-~]?'([a-z_]\w*)'[\r\n](?:.*[\r\n])*?[\t ]*\1/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<[-~]?'[a-z_]\w*'|\b[a-z_]\w*$/i,inside:{symbol:/\b\w+/,punctuation:/^<<[-~]?'|'$/}},string:/[\s\S]+/}}],"command-literal":[{pattern:RegExp(/%x/.source+r),greedy:!0,inside:{interpolation:t,command:{pattern:/[\s\S]+/,alias:"string"}}},{pattern:/`(?:#\{[^}]+\}|#(?!\{)|\\(?:\r\n|[\s\S])|[^\\`#\r\n])*`/,greedy:!0,inside:{interpolation:t,command:{pattern:/[\s\S]+/,alias:"string"}}}]}),delete e.languages.ruby.string,e.languages.insertBefore("ruby","number",{builtin:/\b(?:Array|Bignum|Binding|Class|Continuation|Dir|Exception|FalseClass|File|Fixnum|Float|Hash|IO|Integer|MatchData|Method|Module|NilClass|Numeric|Object|Proc|Range|Regexp|Stat|String|Struct|Symbol|TMS|Thread|ThreadGroup|Time|TrueClass)\b/,constant:/\b[A-Z][A-Z0-9_]*(?:[?!]|\b)/}),e.languages.rb=e.languages.ruby}(Prism)},2426(){Prism.languages.scala=Prism.languages.extend("java",{"triple-quoted-string":{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string"},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},keyword:/<-|=>|\b(?:abstract|case|catch|class|def|derives|do|else|enum|extends|extension|final|finally|for|forSome|given|if|implicit|import|infix|inline|lazy|match|new|null|object|opaque|open|override|package|private|protected|return|sealed|self|super|this|throw|trait|transparent|try|type|using|val|var|while|with|yield)\b/,number:/\b0x(?:[\da-f]*\.)?[\da-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e\d+)?[dfl]?/i,builtin:/\b(?:Any|AnyRef|AnyVal|Boolean|Byte|Char|Double|Float|Int|Long|Nothing|Short|String|Unit)\b/,symbol:/'[^\d\s\\]\w*/}),Prism.languages.insertBefore("scala","triple-quoted-string",{"string-interpolation":{pattern:/\b[a-z]\w*(?:"""(?:[^$]|\$(?:[^{]|\{(?:[^{}]|\{[^{}]*\})*\}))*?"""|"(?:[^$"\r\n]|\$(?:[^{]|\{(?:[^{}]|\{[^{}]*\})*\}))*")/i,greedy:!0,inside:{id:{pattern:/^\w+/,greedy:!0,alias:"function"},escape:{pattern:/\\\$"|\$[$"]/,greedy:!0,alias:"symbol"},interpolation:{pattern:/\$(?:\w+|\{(?:[^{}]|\{[^{}]*\})*\})/,greedy:!0,inside:{punctuation:/^\$\{?|\}$/,expression:{pattern:/[\s\S]+/,inside:Prism.languages.scala}}},string:/[\s\S]+/}}}),delete Prism.languages.scala["class-name"],delete Prism.languages.scala.function,delete Prism.languages.scala.constant},15775(){Prism.languages.sql={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/|#).*)/,lookbehind:!0},variable:[{pattern:/@(["'`])(?:\\[\s\S]|(?!\1)[^\\])+\1/,greedy:!0},/@[\w.$]+/],string:{pattern:/(^|[^@\\])("|')(?:\\[\s\S]|(?!\2)[^\\]|\2\2)*\2/,greedy:!0,lookbehind:!0},identifier:{pattern:/(^|[^@\\])`(?:\\[\s\S]|[^`\\]|``)*`/,greedy:!0,lookbehind:!0,inside:{punctuation:/^`|`$/}},function:/\b(?:AVG|COUNT|FIRST|FORMAT|LAST|LCASE|LEN|MAX|MID|MIN|MOD|NOW|ROUND|SUM|UCASE)(?=\s*\()/i,keyword:/\b(?:ACTION|ADD|AFTER|ALGORITHM|ALL|ALTER|ANALYZE|ANY|APPLY|AS|ASC|AUTHORIZATION|AUTO_INCREMENT|BACKUP|BDB|BEGIN|BERKELEYDB|BIGINT|BINARY|BIT|BLOB|BOOL|BOOLEAN|BREAK|BROWSE|BTREE|BULK|BY|CALL|CASCADED?|CASE|CHAIN|CHAR(?:ACTER|SET)?|CHECK(?:POINT)?|CLOSE|CLUSTERED|COALESCE|COLLATE|COLUMNS?|COMMENT|COMMIT(?:TED)?|COMPUTE|CONNECT|CONSISTENT|CONSTRAINT|CONTAINS(?:TABLE)?|CONTINUE|CONVERT|CREATE|CROSS|CURRENT(?:_DATE|_TIME|_TIMESTAMP|_USER)?|CURSOR|CYCLE|DATA(?:BASES?)?|DATE(?:TIME)?|DAY|DBCC|DEALLOCATE|DEC|DECIMAL|DECLARE|DEFAULT|DEFINER|DELAYED|DELETE|DELIMITERS?|DENY|DESC|DESCRIBE|DETERMINISTIC|DISABLE|DISCARD|DISK|DISTINCT|DISTINCTROW|DISTRIBUTED|DO|DOUBLE|DROP|DUMMY|DUMP(?:FILE)?|DUPLICATE|ELSE(?:IF)?|ENABLE|ENCLOSED|END|ENGINE|ENUM|ERRLVL|ERRORS|ESCAPED?|EXCEPT|EXEC(?:UTE)?|EXISTS|EXIT|EXPLAIN|EXTENDED|FETCH|FIELDS|FILE|FILLFACTOR|FIRST|FIXED|FLOAT|FOLLOWING|FOR(?: EACH ROW)?|FORCE|FOREIGN|FREETEXT(?:TABLE)?|FROM|FULL|FUNCTION|GEOMETRY(?:COLLECTION)?|GLOBAL|GOTO|GRANT|GROUP|HANDLER|HASH|HAVING|HOLDLOCK|HOUR|IDENTITY(?:COL|_INSERT)?|IF|IGNORE|IMPORT|INDEX|INFILE|INNER|INNODB|INOUT|INSERT|INT|INTEGER|INTERSECT|INTERVAL|INTO|INVOKER|ISOLATION|ITERATE|JOIN|KEYS?|KILL|LANGUAGE|LAST|LEAVE|LEFT|LEVEL|LIMIT|LINENO|LINES|LINESTRING|LOAD|LOCAL|LOCK|LONG(?:BLOB|TEXT)|LOOP|MATCH(?:ED)?|MEDIUM(?:BLOB|INT|TEXT)|MERGE|MIDDLEINT|MINUTE|MODE|MODIFIES|MODIFY|MONTH|MULTI(?:LINESTRING|POINT|POLYGON)|NATIONAL|NATURAL|NCHAR|NEXT|NO|NONCLUSTERED|NULLIF|NUMERIC|OFF?|OFFSETS?|ON|OPEN(?:DATASOURCE|QUERY|ROWSET)?|OPTIMIZE|OPTION(?:ALLY)?|ORDER|OUT(?:ER|FILE)?|OVER|PARTIAL|PARTITION|PERCENT|PIVOT|PLAN|POINT|POLYGON|PRECEDING|PRECISION|PREPARE|PREV|PRIMARY|PRINT|PRIVILEGES|PROC(?:EDURE)?|PUBLIC|PURGE|QUICK|RAISERROR|READS?|REAL|RECONFIGURE|REFERENCES|RELEASE|RENAME|REPEAT(?:ABLE)?|REPLACE|REPLICATION|REQUIRE|RESIGNAL|RESTORE|RESTRICT|RETURN(?:ING|S)?|REVOKE|RIGHT|ROLLBACK|ROUTINE|ROW(?:COUNT|GUIDCOL|S)?|RTREE|RULE|SAVE(?:POINT)?|SCHEMA|SECOND|SELECT|SERIAL(?:IZABLE)?|SESSION(?:_USER)?|SET(?:USER)?|SHARE|SHOW|SHUTDOWN|SIMPLE|SMALLINT|SNAPSHOT|SOME|SONAME|SQL|START(?:ING)?|STATISTICS|STATUS|STRIPED|SYSTEM_USER|TABLES?|TABLESPACE|TEMP(?:ORARY|TABLE)?|TERMINATED|TEXT(?:SIZE)?|THEN|TIME(?:STAMP)?|TINY(?:BLOB|INT|TEXT)|TOP?|TRAN(?:SACTIONS?)?|TRIGGER|TRUNCATE|TSEQUAL|TYPES?|UNBOUNDED|UNCOMMITTED|UNDEFINED|UNION|UNIQUE|UNLOCK|UNPIVOT|UNSIGNED|UPDATE(?:TEXT)?|USAGE|USE|USER|USING|VALUES?|VAR(?:BINARY|CHAR|CHARACTER|YING)|VIEW|WAITFOR|WARNINGS|WHEN|WHERE|WHILE|WITH(?: ROLLUP|IN)?|WORK|WRITE(?:TEXT)?|YEAR)\b/i,boolean:/\b(?:FALSE|NULL|TRUE)\b/i,number:/\b0x[\da-f]+\b|\b\d+(?:\.\d*)?|\B\.\d+\b/i,operator:/[-+*\/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?|\b(?:AND|BETWEEN|DIV|ILIKE|IN|IS|LIKE|NOT|OR|REGEXP|RLIKE|SOUNDS LIKE|XOR)\b/i,punctuation:/[;[\]()`,.]/}},684(){Prism.languages.swift={comment:{pattern:/(^|[^\\:])(?:\/\/.*|\/\*(?:[^/*]|\/(?!\*)|\*(?!\/)|\/\*(?:[^*]|\*(?!\/))*\*\/)*\*\/)/,lookbehind:!0,greedy:!0},"string-literal":[{pattern:RegExp(/(^|[^"#])/.source+"(?:"+/"(?:\\(?:\((?:[^()]|\([^()]
8*\))*\)|\r\n|[^(])|[^\\\r\n"])*"/.source+"|"+/"""(?:\\(?:\((?:[^()]|\([^()]*\))*\)|[^(])|[^\\"]|"(?!""))*"""/.source+")"+/(?!["#])/.source),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/(\\\()(?:[^()]|\([^()]*\))*(?=\))/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/^\)|\\\($/,alias:"punctuation"},punctuation:/\\(?=[\r\n])/,string:/[\s\S]+/}},{pattern:RegExp(/(^|[^"#])(#+)/.source+"(?:"+/"(?:\\(?:#+\((?:[^()]|\([^()]*\))*\)|\r\n|[^#])|[^\\\r\n])*?"/.source+"|"+/"""(?:\\(?:#+\((?:[^()]|\([^()]*\))*\)|[^#])|[^\\])*?"""/.source+")\\2"),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/(\\#+\()(?:[^()]|\([^()]*\))*(?=\))/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/^\)|\\#+\($/,alias:"punctuation"},string:/[\s\S]+/}}],directive:{pattern:RegExp(/#/.source+"(?:"+/(?:elseif|if)\b/.source+"(?:[ \t]*"+/(?:![ \t]*)?(?:\b\w+\b(?:[ \t]*\((?:[^()]|\([^()]*\))*\))?|\((?:[^()]|\([^()]*\))*\))(?:[ \t]*(?:&&|\|\|))?/.source+")+|"+/(?:else|endif)\b/.source+")"),alias:"property",inside:{"directive-name":/^#\w+/,boolean:/\b(?:false|true)\b/,number:/\b\d+(?:\.\d+)*\b/,operator:/!|&&|\|\||[<>]=?/,punctuation:/[(),]/}},literal:{pattern:/#(?:colorLiteral|column|dsohandle|file(?:ID|Literal|Path)?|function|imageLiteral|line)\b/,alias:"constant"},"other-directive":{pattern:/#\w+\b/,alias:"property"},attribute:{pattern:/@\w+/,alias:"atrule"},"function-definition":{pattern:/(\bfunc\s+)\w+/,lookbehind:!0,alias:"function"},label:{pattern:/\b(break|continue)\s+\w+|\b[a-zA-Z_]\w*(?=\s*:\s*(?:for|repeat|while)\b)/,lookbehind:!0,alias:"important"},keyword:/\b(?:Any|Protocol|Self|Type|actor|as|assignment|associatedtype|associativity|async|await|break|case|catch|class|continue|convenience|default|defer|deinit|didSet|do|dynamic|else|enum|extension|fallthrough|fileprivate|final|for|func|get|guard|higherThan|if|import|in|indirect|infix|init|inout|internal|is|isolated|lazy|left|let|lowerThan|mutating|none|nonisolated|nonmutating|open|operator|optional|override|postfix|precedencegroup|prefix|private|protocol|public|repeat|required|rethrows|return|right|safe|self|set|some|static|struct|subscript|super|switch|throw|throws|try|typealias|unowned|unsafe|var|weak|where|while|willSet)\b/,boolean:/\b(?:false|true)\b/,nil:{pattern:/\bnil\b/,alias:"constant"},"short-argument":/\$\d+\b/,omit:{pattern:/\b_\b/,alias:"keyword"},number:/\b(?:[\d_]+(?:\.[\de_]+)?|0x[a-f0-9_]+(?:\.[a-f0-9p_]+)?|0b[01_]+|0o[0-7_]+)\b/i,"class-name":/\b[A-Z](?:[A-Z_\d]*[a-z]\w*)?\b/,function:/\b[a-z_]\w*(?=\s*\()/i,constant:/\b(?:[A-Z_]{2,}|k[A-Z][A-Za-z_]+)\b/,operator:/[-+*/%=!<>&|^~?]+|\.[.\-+*/%=!<>&|^~?]+/,punctuation:/[{}[\]();,.:\\]/},Prism.languages.swift["string-literal"].forEach(function(e){e.inside.interpolation.inside=Prism.languages.swift})}
vendor: 9,959 bytes, line 8
8,30104(){!function(e){var t=/[*&][^\s[\]{},]+/,r=/!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/,n="(?:"+r.source+"(?:[ \t]+"+t.source+")?|"+t.source+"(?:[ \t]+"+r.source+")?)",i=/(?:[^\s\x00-\x08\x0e-\x1f!"#%&'*,\-:>?@[\]`{|}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]|[?:-]<PLAIN>)(?:[ \t]*(?:(?![#:])<PLAIN>|:<PLAIN>))*/.source.replace(/<PLAIN>/g,function(){return/[^\s\x00-\x08\x0e-\x1f,[\]{}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]/.source}),o=/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/.source;function s(e,t){t=(t||"").replace(/m/g,"")+"m";var r=/([:\-,[{]\s*(?:\s<<prop>>[ \t]+)?)(?:<<value>>)(?=[ \t]*(?:$|,|\]|\}|(?:[\r\n]\s*)?#))/.source.replace(/<<prop>>/g,function(){return n}).replace(/<<value>>/g,function(){return e});return RegExp(r,t)}e.languages.yaml={scalar:{pattern:RegExp(/([\-:]\s*(?:\s<<prop>>[ \t]+)?[|>])[ \t]*(?:((?:\r?\n|\r)[ \t]+)\S[^\r\n]*(?:\2[^\r\n]+)*)/.source.replace(/<<prop>>/g,function(){return n})),lookbehind:!0,alias:"string"},comment:/#.*/,key:{pattern:RegExp(/((?:^|[:\-,[{\r\n?])[ \t]*(?:<<prop>>[ \t]+)?)<<key>>(?=\s*:\s)/.source.replace(/<<prop>>/g,function(){return n}).replace(/<<key>>/g,function(){return"(?:"+i+"|"+o+")"})),lookbehind:!0,greedy:!0,alias:"atrule"},directive:{pattern:/(^[ \t]*)%.+/m,lookbehind:!0,alias:"important"},datetime:{pattern:s(/\d{4}-\d\d?-\d\d?(?:[tT]|[ \t]+)\d\d?:\d{2}:\d{2}(?:\.\d*)?(?:[ \t]*(?:Z|[-+]\d\d?(?::\d{2})?))?|\d{4}-\d{2}-\d{2}|\d\d?:\d{2}(?::\d{2}(?:\.\d*)?)?/.source),lookbehind:!0,alias:"number"},boolean:{pattern:s(/false|true/.source,"i"),lookbehind:!0,alias:"important"},null:{pattern:s(/null|~/.source,"i"),lookbehind:!0,alias:"important"},string:{pattern:s(o),lookbehind:!0,greedy:!0},number:{pattern:s(/[+-]?(?:0x[\da-f]+|0o[0-7]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|\.inf|\.nan)/.source,"i"),lookbehind:!0},tag:r,important:t,punctuation:/---|[:[\]{}\-,|>?]|\.\.\./},e.languages.yml=e.languages.yaml}(Prism)},82999(e){var t=function(e){var t=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,r=0,n={},i={manual:e.Prism&&e.Prism.manual,disableWorkerMessageHandler:e.Prism&&e.Prism.disableWorkerMessageHandler,util:{encode:function e(t){return t instanceof o?new o(t.type,e(t.content),t.alias):Array.isArray(t)?t.map(e):t.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/\u00a0/g," ")},type:function(e){return Object.prototype.toString.call(e).slice(8,-1)},objId:function(e){return e.__id||Object.defineProperty(e,"__id",{value:++r}),e.__id},clone:function e(t,r){var n,o;switch(r=r||{},i.util.type(t)){case"Object":if(o=i.util.objId(t),r[o])return r[o];for(var s in n={},r[o]=n,t)t.hasOwnProperty(s)&&(n[s]=e(t[s],r));return n;case"Array":return o=i.util.objId(t),r[o]?r[o]:(n=[],r[o]=n,t.forEach(function(t,i){n[i]=e(t,r)}),n);default:return t}},getLanguage:function(e){for(;e;){var r=t.exec(e.className);if(r)return r[1].toLowerCase();e=e.parentElement}return"none"},setLanguage:function(e,r){e.className=e.className.replace(RegExp(t,"gi"),""),e.classList.add("language-"+r)},currentScript:function(){if("undefined"===typeof document)return null;if(document.currentScript&&"SCRIPT"===document.currentScript.tagName)return document.currentScript;try{throw new Error}catch(n){var e=(/at [^(\r\n]*\((.*):[^:]+:[^:]+\)$/i.exec(n.stack)||[])[1];if(e){var t=document.getElementsByTagName("script");for(var r in t)if(t[r].src==e)return t[r]}return null}},isActive:function(e,t,r){for(var n="no-"+t;e;){var i=e.classList;if(i.contains(t))return!0;if(i.contains(n))return!1;e=e.parentElement}return!!r}},languages:{plain:n,plaintext:n,text:n,txt:n,extend:function(e,t){var r=i.util.clone(i.languages[e]);for(var n in t)r[n]=t[n];return r},insertBefore:function(e,t,r,n){var o=(n=n||i.languages)[e],s={};for(var a in o)if(o.hasOwnProperty(a)){if(a==t)for(var l in r)r.hasOwnProperty(l)&&(s[l]=r[l]);r.hasOwnProperty(a)||(s[a]=o[a])}var c=n[e];return n[e]=s,i.languages.DFS(i.languages,function(t,r){r===c&&t!=e&&(this[t]=s)}),s},DFS:function e(t,r,n,o){o=o||{};var s=i.util.objId;for(var a in t)if(t.hasOwnProperty(a)){r.call(t,a,t[a],n||a);var l=t[a],c=i.util.type(l);"Object"!==c||o[s(l)]?"Array"!==c||o[s(l)]||(o[s(l)]=!0,e(l,r,a,o)):(o[s(l)]=!0,e(l,r,null,o))}}},plugins:{},highlightAll:function(e,t){i.highlightAllUnder(document,e,t)},highlightAllUnder:function(e,t,r){var n={callback:r,container:e,selector:'code[class*="language-"], [class*="language-"] code, code[class*="lang-"], [class*="lang-"] code'};i.hooks.run("before-highlightall",n),n.elements=Array.prototype.slice.apply(n.container.querySelectorAll(n.selector)),i.hooks.run("before-all-elements-highlight",n);for(var o,s=0;o=n.elements[s++];)i.highlightElement(o,!0===t,n.callback)},highlightElement:function(t,r,n){var o=i.util.getLanguage(t),s=i.languages[o];i.util.setLanguage(t,o);var a=t.parentElement;a&&"pre"===a.nodeName.toLowerCase()&&i.util.setLanguage(a,o);var l={element:t,language:o,grammar:s,code:t.textContent};function c(e){l.highlightedCode=e,i.hooks.run("before-insert",l),l.element.innerHTML=l.highlightedCode,i.hooks.run("after-highlight",l),i.hooks.run("complete",l),n&&n.call(l.element)}if(i.hooks.run("before-sanity-check",l),(a=l.element.parentElement)&&"pre"===a.nodeName.toLowerCase()&&!a.hasAttribute("tabindex")&&a.setAttribute("tabindex","0"),!l.code)return i.hooks.run("complete",l),void(n&&n.call(l.element));if(i.hooks.run("before-highlight",l),l.grammar)if(r&&e.Worker){var p=new Worker(i.filename);p.onmessage=function(e){c(e.data)},p.postMessage(JSON.stringify({language:l.language,code:l.code,immediateClose:!0}))}else c(i.highlight(l.code,l.grammar,l.language));else c(i.util.encode(l.code))},highlight:function(e,t,r){var n={code:e,grammar:t,language:r};if(i.hooks.run("before-tokenize",n),!n.grammar)throw new Error('The language "'+n.language+'" has no grammar.');return n.tokens=i.tokenize(n.code,n.grammar),i.hooks.run("after-tokenize",n),o.stringify(i.util.encode(n.tokens),n.language)},tokenize:function(e,t){var r=t.rest;if(r){for(var n in r)t[n]=r[n];delete t.rest}var i=new l;return c(i,i.head,e),a(e,i,t,i.head,0),function(e){var t=[],r=e.head.next;for(;r!==e.tail;)t.push(r.value),r=r.next;return t}(i)},hooks:{all:{},add:function(e,t){var r=i.hooks.all;r[e]=r[e]||[],r[e].push(t)},run:function(e,t){var r=i.hooks.all[e];if(r&&r.length)for(var n,o=0;n=r[o++];)n(t)}},Token:o};function o(e,t,r,n){this.type=e,this.content=t,this.alias=r,this.length=0|(n||"").length}function s(e,t,r,n){e.lastIndex=t;var i=e.exec(r);if(i&&n&&i[1]){var o=i[1].length;i.index+=o,i[0]=i[0].slice(o)}return i}function a(e,t,r,n,l,u){for(var d in r)if(r.hasOwnProperty(d)&&r[d]){var f=r[d];f=Array.isArray(f)?f:[f];for(var h=0;h<f.length;++h){if(u&&u.cause==d+","+h)return;var m=f[h],g=m.inside,y=!!m.lookbehind,b=!!m.greedy,v=m.alias;if(b&&!m.pattern.global){var x=m.pattern.toString().match(/[imsuy]*$/)[0];m.pattern=RegExp(m.pattern.source,x+"g")}for(var w=m.pattern||m,S=n.next,k=l;S!==t.tail&&!(u&&k>=u.reach);k+=S.value.length,S=S.next){var O=S.value;if(t.length>e.length)return;if(!(O instanceof o)){var E,_=1;if(b){if(!(E=s(w,k,e,y))||E.index>=e.length)break;var $=E.index,A=E.index+E[0].length,P=k;for(P+=S.value.length;$>=P;)P+=(S=S.next).value.length;if(k=P-=S.value.length,S.value instanceof o)continue;for(var j=S;j!==t.tail&&(P<A||"string"===typeof j.value);j=j.next)_++,P+=j.value.length;_--,O=e.slice(k,P),E.index-=k}else if(!(E=s(w,0,O,y)))continue;$=E.index;var C=E[0],T=O.slice(0,$),I=O.slice($+C.length),N=k+O.length;u&&N>u.reach&&(u.reach=N);var R=S.prev;if(T&&(R=c(t,R,T),k+=T.length),p(t,R,_),S=c(t,R,new o(d,g?i.tokenize(C,g):C,v,C)),I&&c(t,S,I),_>1){var L={cause:d+","+h,reach:N};a(e,t,r,S.prev,k,L),u&&L.reach>u.reach&&(u.reach=L.reach)}}}}}}function l(){var e={value:null,prev:null,next:null},t={value:null,prev:e,next:null};e.next=t,this.head=e,this.tail=t,this.length=0}function c(e,t,r){var n=t.next,i={value:r,prev:t,next:n};return t.next=i,n.prev=i,e.length++,i}function p(e,t,r){for(var n=t.next,i=0;i<r&&n!==e.tail;i++)n=n.next;t.next=n,n.prev=t,e.length-=i}if(e.Prism=i,o.stringify=function e(t,r){if("string"==typeof t)return t;if(Array.isArray(t)){var n="";return t.forEach(function(t){n+=e(t,r)}),n}var o={type:t.type,content:e(t.content,r),tag:"span",classes:["token",t.type],attributes:{},language:r},s=t.alias;s&&(Array.isArray(s)?Array.prototype.push.apply(o.classes,s):o.classes.push(s)),i.hooks.run("wrap",o);var a="";for(var l in o.attributes)a+=" "+l+'="'+(o.attributes[l]||"").replace(/"/g,"&quot;")+'"';return"<"+o.tag+' class="'+o.classes.join(" ")+'"'+a+">"+o.content+"</"+o.tag+">"},!e.document)return e.addEventListener?(i.disableWorkerMessageHandler||e.addEventListener("message",function(t){var r=JSON.parse(t.data),n=r.language,o=r.code,s=r.immediateClose;e.postMessage(i.highlight(o,i.languages[n],n)),s&&e.close()},!1),i):i;var u=i.util.currentScript();function d(){i.manual||i.highlightAll()}if(u&&(i.filename=u.src,u.hasAttribute("data-manual")&&(i.manual=!0)),!i.manual){var f=document.readyState;"loading"===f||"interactive"===f&&u&&u.defer?document.addEventListener("DOMContentLoaded",d):window.requestAnimationFrame?window.requestAnimationFrame(d):window.setTimeout(d,16)}return i}("undefined"!==typeof window?window:"undefined"!==typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope?self:{});e.exports&&(e.exports=t),"undefined"!==typeof globalThis&&(globalThis.Prism=t),t.languages.markup={comment:{pattern:/<!--(?:(?!<!--)[\s\S])*?-->/,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/<!DOCTYPE(?:[^>"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|<!--(?:[^-]|-(?!->))*-->)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^<!|>$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>
8\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},{pattern:/^(\s*)["']|["']$/,lookbehind:!0}]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},t.languages.markup.tag.inside["attr-value"].inside.entity=t.languages.markup.entity,t.languages.markup.doctype.inside["internal-subset"].inside=t.languages.markup,t.hooks.add("wrap",function(e){"entity"===e.type&&(e.attributes.title=e.content.replace(/&amp;/,"&"))}),Object.defineProperty(t.languages.markup.tag,"addInlined",{value:function(e,r){var n={};n["language-"+r]={pattern:/(^<!\[CDATA\[)[\s\S]+?(?=\]\]>$)/i,lookbehind:!0,inside:t.languages[r]},n.cdata=/^<!\[CDATA\[|\]\]>$/i;var i={"included-cdata":{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,inside:n}};i["language-"+r]={pattern:/[\s\S]+/,inside:t.languages[r]};var o={};o[e]={pattern:RegExp(/(<__[^>]*>)(?:<!\[CDATA\[(?:[^\]]|\](?!\]>))*\]\]>|(?!<!\[CDATA\[)[\s\S])*?(?=<\/__>)/.source.replace(/__/g,function(){return e}),"i"),lookbehind:!0,greedy:!0,inside:i},t.languages.insertBefore("markup","cdata",o)}}),Object.defineProperty(t.languages.markup.tag,"addAttribute",{value:function(e,r){t.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+e+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[r,"language-"+r],inside:t.languages[r]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),t.languages.html=t.languages.markup,t.languages.mathml=t.languages.markup,t.languages.svg=t.languages.markup,t.languages.xml=t.languages.extend("markup",{}),t.languages.ssml=t.languages.xml,t.languages.atom=t.languages.xml,t.languages.rss=t.languages.xml,function(e){var t=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;e.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:RegExp("@[\\w-](?:"+/[^;{\s"']|\s+(?!\s)/.source+"|"+t.source+")*?"+/(?:;|(?=\s*\{))/.source),inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+t.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+t.source+"$"),alias:"url"}}},selector:{pattern:RegExp("(^|[{}\\s])[^{}\\s](?:[^{};\"'\\s]|\\s+(?![\\s{])|"+t.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:t,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},e.languages.css.atrule.inside.rest=e.languages.css;var r=e.languages.markup;r&&(r.tag.addInlined("style","css"),r.tag.addAttribute("style","css"))}(t),t.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|trait)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:break|catch|continue|do|else|finally|for|function|if|in|instanceof|new|null|return|throw|try|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/},t.languages.javascript=t.languages.extend("clike",{"class-name":[t.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:{pattern:RegExp(/(^|[^\w$])/.source+"(?:"+/NaN|Infinity/.source+"|"+/0[bB][01]+(?:_[01]+)*n?/.source+"|"+/0[oO][0-7]+(?:_[0-7]+)*n?/.source+"|"+/0[xX][\dA-Fa-f]+(?:_[\dA-Fa-f]+)*n?/.source+"|"+/\d+(?:_\d+)*n/.source+"|"+/(?:\d+(?:_\d+)*(?
8:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[Ee][+-]?\d+(?:_\d+)*)?/.source+")"+/(?![\w$])/.source),lookbehind:!0},operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),t.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,t.languages.insertBefore("javascript","keyword",{regex:{pattern:RegExp(/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)/.source+/\//.source+"(?:"+/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}/.source+"|"+/(?:\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.)*\])*\])*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}v[dgimyus]{0,7}/.source+")"+/(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/.source),lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:t.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:t.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:t.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:t.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:t.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),t.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:t.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}}),t.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),t.languages.markup&&(t.languages.markup.tag.addInlined("script","javascript"),t.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript")),t.languages.js=t.languages.javascript,function(){if("undefined"!==typeof t&&"undefined"!==typeof document){Element.prototype.matches||(Element.prototype.matches=Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector);var e={js:"javascript",py:"python",rb:"ruby",ps1:"powershell",psm1:"powershell",sh:"bash",bat:"batch",h:"c",tex:"latex"},r="data-src-status",n="loading",i="loaded",o="pre[data-src]:not(["+r+'="'+i+'"]):not(['+r+'="'+n+'"])';t.hooks.add("before-highlightall",function(e){e.selector+=", "+o}),t.hooks.add("before-sanity-check",function(s){var a=s.element;if(a.matches(o)){s.code="",a.setAttribute(r,n);var l=a.appendChild(document.createElement("CODE"));l.textContent="Loading\u2026";var c=a.getAttribute("data-src"),p=s.language;if("none"===p){var u=(/\.(\w+)$/.exec(c)||[,"none"])[1];p=e[u]||u}t.util.setLanguage(l,p),t.util.setLanguage(a,p);var d=t.plugins.autoloader;d&&d.loadLanguages(p),function(e,t,r){var n=new XMLHttpRequest;n.open("GET",e,!0),n.onreadystatechange=function(){4==n.readyState&&(n.status<400&&n.responseText?t(n.responseText):n.status>=400?r("\u2716 Error "+n.status+" while fetching file: "+n.statusText):r("\u2716 Error: File does not exist or is empty"))},n.send(null)}(c,function(e){a.setAttribute(r,i);var n=function(e){var t=/^\s*(\d+)\s*(?:(,)\s*(?:(\d+)\s*)?)?$/.exec(e||"");if(t){var r=Number(t[1]),n=t[2],i=t[3];return n?i?[r,Number(i)]:[r,void 0]:[r,r]}}(a.getAttribute("data-range"));if(n){var o=e.split(/\r\n?|\n/g),s=n[0],c=null==n[1]?o.length:n[1];s<0&&(s+=o.length),s=Math.max(0,Math.min(s-1,o.length)),c<0&&(c+=o.length),c=Math.max(0,Math.min(c,o.length)),e=o.slice(s,c).join("\n"),a.hasAttribute("data-start")||a.setAttribute("data-start",String(s+1))}l.textContent=e,t.highlightElement(l)},function(e){a.setAttribute(r,"failed"),l.textContent=e})}}),t.plugins.fileHighlight={highlight:function(e){for(var r,n=(e||document).querySelectorAll(
8o),i=0;r=n[i++];)t.highlightElement(r)}};var s=!1;t.fileHighlight=function(){s||(console.warn("Prism.fileHighlight is deprecated. Use `Prism.plugins.fileHighlight.highlight` instead."),s=!0),t.plugins.fileHighlight.highlight.apply(this,arguments)}}}()},38038(e,t,r){"use strict";r.r(t),r.d(t,{Tab:()=>D,TabList:()=>C,TabPanel:()=>U,Tabs:()=>$,resetIdCounter:()=>m});var n=r(65043);function i(e){return function(t){return!!t.type&&t.type.tabsRole===e}}var o=i("Tab"),s=i("TabList"),a=i("TabPanel");function l(){return l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},l.apply(this,arguments)}function c(e,t){return n.Children.map(e,function(e){return null===e?null:function(e){return o(e)||s(e)||a(e)}(e)?t(e):e.props&&e.props.children&&"object"===typeof e.props.children?(0,n.cloneElement)(e,l({},e.props,{children:c(e.props.children,t)})):e})}function p(e,t){return n.Children.forEach(e,function(e){null!==e&&(o(e)||a(e)?t(e):e.props&&e.props.children&&"object"===typeof e.props.children&&(s(e)&&t(e),p(e.props.children,t)))})}function u(e){var t,r,n="";if("string"==typeof e||"number"==typeof e)n+=e;else if("object"==typeof e)if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(r=u(e[t]))&&(n&&(n+=" "),n+=r);else for(t in e)e[t]&&(n&&(n+=" "),n+=t);return n}const d=function(){for(var e,t,r=0,n="";r<arguments.length;)(e=arguments[r++])&&(t=u(e))&&(n&&(n+=" "),n+=t);return n};var f=0;function h(){return"react-tabs-"+f++}function m(){f=0}function g(e){var t=0;return p(e,function(e){o(e)&&t++}),t}var y,b=["children","className","disabledTabClassName","domRef","focus","forceRenderTabPanel","onSelect","selectedIndex","selectedTabClassName","selectedTabPanelClassName","environment","disableUpDownKeys"];function v(){return v=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},v.apply(this,arguments)}function x(e){return e&&"getAttribute"in e}function w(e){return x(e)&&e.getAttribute("data-rttab")}function S(e){return x(e)&&"true"===e.getAttribute("aria-disabled")}var k=function(e){var t=(0,n.useRef)([]),r=(0,n.useRef)([]),i=(0,n.useRef)([]),l=(0,n.useRef)();function p(t,r){t<0||t>=m()||(0,e.onSelect)(t,e.selectedIndex,r)}function u(e){for(var t=m(),r=e+1;r<t;r++)if(!S(x(r)))return r;for(var n=0;n<e;n++)if(!S(x(n)))return n;return e}function f(e){for(var t=e;t--;)if(!S(x(t)))return t;for(t=m();t-- >e;)if(!S(x(t)))return t;return e}function m(){return g(e.children)}function x(e){return t.current["tabs-"+e]}function k(e){var t=e.target;do{if(O(t)){if(S(t))return;return void p([].slice.call(t.parentNode.children).filter(w).indexOf(t),e)}}while(null!=(t=t.parentNode))}function O(e){if(!w(e))return!1;var t=e.parentElement;do{if(t===l.current)return!0;if(t.getAttribute("data-rttabs"))break;t=t.parentElement}while(t);return!1}e.children;var E=e.className,_=(e.disabledTabClassName,e.domRef),$=(e.focus,e.forceRenderTabPanel,e.onSelect,e.selectedIndex,e.selectedTabClassName,e.selectedTabPanelClassName,e.environment,e.disableUpDownKeys,function(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,b));return n.createElement("div",v({},$,{className:d(E),onClick:k,onKeyDown:function(t){var r=e.direction,n=e.disableUpDownKeys;if(O(t.target)){var i=e.selectedIndex,o=!1,s=!1;"Space"!==t.code&&32!==t.keyCode&&"Enter"!==t.code&&13!==t.keyCode||(o=!0,s=!1,k(t)),"ArrowLeft"!==t.code&&37!==t.keyCode&&(n||38!==t.keyCode&&"ArrowUp"!==t.code)?"ArrowRight"!==t.code&&39!==t.keyCode&&(n||40!==t.keyCode&&"ArrowDown"!==t.code)?35===t.keyCode||"End"===t.code?(i=function(){for(var e=m();e--;)if(!S(x(e)))return e;return null}(),o=!0,s=!0):36!==t.keyCode&&"Home"!==t.code||(i=function(){for(var e=m(),t=0;t<e;t++)if(!S(x(t)))return t;return null}(),o=!0,s=!0):(i="rtl"===r?f(i):u(i),o=!0,s=!0):(i="rtl"===r?u(i):f(i),o=!0,s=!0),o&&t.preventDefault(),s&&p(i,t)}},ref:function(e){l.current=e,_&&_(e)},"data-rttabs":!0}),function(){var l=0,p=e.children,u=e.disabledTabClassName,d=e.focus,f=e.forceRenderTabPanel,g=e.selectedIndex,b=e.selectedTabClassName,v=e.selectedTabPanelClassName,w=e.environment;r.current=r.current||[],i.current=i.current||[];for(var S=r.current.length-m();S++<0;)r.current.push(h()),i.current.push(h());return c(p,function(e){var p=e;if(s(e)){var h=0,m=!1;null==y&&function(e){var t=e||("undefined"!==typeof window?window:void 0);try{y=!("undefined"===typeof t||!t.document||!t.document.activeElement)}catch(r){y=!1}}(w);var S=w||("undefined"!==typeof window?window:void 0);y&&S&&(m=n.Children.toArray(e.props.children).filter(o).some(function(e,t){return S.document.activeElement===x(t)})),p=(0,n.cloneElement)(e,{children:c(e.props.children,function(e){var o="tabs-"+h,s=g===h,a={tabRef:function(e){t.current[o]=e},id:r.current[h],panelId:i.current[h],selected:s,focus:s&&(d||m)};return b&&(a.selectedClassName=b),u&&(a.disabledClassName=u),h++,(0,n.cloneElement)(e,a)})})}else if(a(e)){var k={id:i.current[l],tabId:r.current[l],selected:g===l};f&&(k.forceRender=f),v&&(k.selectedClassName=v),l++,p=(0,n.cloneElement)(e,k)}return p})}())};k.defaultProps={className:"react-tabs",focus:!1},k.propTypes={};const O=k;function E(){return E=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];
8for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},E.apply(this,arguments)}var _=function(e){var t=e.children,r=e.defaultFocus,i=e.defaultIndex,o=e.focusTabOnClick,s=e.onSelect,a=(0,n.useState)(r),l=a[0],c=a[1],p=(0,n.useState)(function(e){return null===e.selectedIndex?1:0}(e)),u=p[0],d=(0,n.useState)(1===u?i||0:null),f=d[0],h=d[1];if((0,n.useEffect)(function(){c(!1)},[]),1===u){var m=g(t);(0,n.useEffect)(function(){if(null!=f){var e=Math.max(0,m-1);h(Math.min(f,e))}},[m])}var y=E({},e);return y.focus=l,y.onSelect=function(e,t,r){"function"===typeof s&&!1===s(e,t,r)||(o&&c(!0),1===u&&h(e))},null!=f&&(y.selectedIndex=f),delete y.defaultFocus,delete y.defaultIndex,delete y.focusTabOnClick,n.createElement(O,y,t)};_.propTypes={},_.defaultProps={defaultFocus:!1,focusTabOnClick:!0,forceRenderTabPanel:!1,selectedIndex:null,defaultIndex:null,environment:null,disableUpDownKeys:!1},_.tabsRole="Tabs";const $=_;var A=["children","className"];function P(){return P=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},P.apply(this,arguments)}var j=function(e){var t=e.children,r=e.className,i=function(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,A);return n.createElement("ul",P({},i,{className:d(r),role:"tablist"}),t)};j.tabsRole="TabList",j.propTypes={},j.defaultProps={className:"react-tabs__tab-list"};const C=j;var T=["children","className","disabled","disabledClassName","focus","id","panelId","selected","selectedClassName","tabIndex","tabRef"];function I(){return I=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},I.apply(this,arguments)}var N="react-tabs__tab",R={className:N,disabledClassName:N+"--disabled",focus:!1,id:null,panelId:null,selected:!1,selectedClassName:N+"--selected"},L=function(e){var t,r=(0,n.useRef)(),i=e.children,o=e.className,s=e.disabled,a=e.disabledClassName,l=e.focus,c=e.id,p=e.panelId,u=e.selected,f=e.selectedClassName,h=e.tabIndex,m=e.tabRef,g=function(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,T);return(0,n.useEffect)(function(){u&&l&&r.current.focus()},[u,l]),n.createElement("li",I({},g,{className:d(o,(t={},t[f]=u,t[a]=s,t)),ref:function(e){r.current=e,m&&m(e)},role:"tab",id:c,"aria-selected":u?"true":"false","aria-disabled":s?"true":"false","aria-controls":p,tabIndex:h||(u?"0":null),"data-rttab":!0}),i)};L.propTypes={},L.tabsRole="Tab",L.defaultProps=R;const D=L;var M=["children","className","forceRender","id","selected","selectedClassName","tabId"];function z(){return z=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},z.apply(this,arguments)}var F="react-tabs__tab-panel",B={className:F,forceRender:!1,selectedClassName:F+"--selected"},q=function(e){var t,r=e.children,i=e.className,o=e.forceRender,s=e.id,a=e.selected,l=e.selectedClassName,c=e.tabId,p=function(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,M);return n.createElement("div",z({},p,{className:d(i,(t={},t[l]=a,t)),role:"tabpanel",id:s,"aria-labelledby":c}),o||a?r:null)};q.tabsRole="TabPanel",q.propTypes={},q.defaultProps=B;const U=q},51881(e,t,r){e.exports=function(){var e={303:function(e,t,r){var n=r(224),i=["add","done","toJS","fromExternalJS","load","dispose","search","Worker"];e.exports=function(){var e=new Worker(URL.createObjectURL(new Blob(['/*! For license information please see d87bcbdbea8f8f5aa26f.worker.js.LICENSE.txt */\n!function(){var e={291:function(e,t,r){var n,i;!function(){var s,o,a,u,l,c,h,d,f,p,y,m,g,x,v,w,Q,k,S,E,L,P,b,T,O,I,R,F,C,N,j=function(e){var t=new j.Builder;return t.pipeline.add(j.trimmer,j.stopWordFilter,j.stemmer),t.searchPipeline.add(j.stemmer),e.call(t,t),t.build()};j.version="2.3.9",j.utils={},j.utils.warn=(s=this,function(e){s.console&&console.warn&&console.warn(e)}),j.utils.asString=function(e){return null==e?"":e.toString()},j.utils.clone=function(e){if(null==e)return e;for(var t=Object.create(null),r=Object.keys(e),n=0;n<r.length;n++){var i=r[n],s=e[i];if(Array.isArray(s))t[i]=s.slice();else{if("string"!=typeof s&&"number"!=typeof s&&"boolean"!=typeof s)throw new TypeError("clone is not deep and does not support nested objects");t[i]=s}}return t},j.FieldRef=function(e,t,r){this.docRef=e,this.fieldName=t,this._stringValue=r},j.FieldRef.joiner="/",j.FieldRef.fromString=function(e){var t=e.indexOf(j.FieldRef.joiner);if(-1===t)throw"malformed field ref string";var r=e.slice(0,t),n=e.slice(t+1);return new j.FieldRef(n,r,e)},j.FieldRef.prototype.toString=function(){return null==this._stringValue&&(this._stringValue=this.fieldName+j.FieldRef.joiner+this.docRef),this._stringValue},j.Set=function(e){if(this.elements=Object.create(null),e){this.length=e.length;for(var t=0;t<this.length;t++)this.elements[e[t]]=!0}else this.length=0},j.Set.complete={intersect:function(e){return e},union:function(){return this},contains:function(){return!0}},j.Set.empty={intersect:function(){return this},union:function(e){return e},contains:function(){return!1}},j.Set.prototype.contains=function(e){return!!this.elements[e]},j.Set.prototype.intersect=function(e){var t,r,n,i=[];if(e===j.Set.complete)return this;if(e===j.Set.empty)return e;this.length<e.length?(t=this,r=e):(t=e,r=this),n=Object.keys(t.elements);for(var s=0;s<n.length;s++){var o=n[s];o in r.elements&&i.push(o)}return new j.Set(i)},j.Set.prototype.union=function(e){return e===j.Set.complete?j.Set.complete:e===j.Set.empty?this:new j.Set(Object.keys(this.elements).concat(Object.keys(e.elements)))},j.idf=function(e,t){var r=0;for(var n in e)"_index"!=n&&(r+=Object.keys(e[n]).length);var i=(t-r+.5)/(r+.5);return Math.log(1+Math.abs(i))},j.Token=function(e,t){this.str=e||"",this.metadata=t||{}},j.Token.prototype.toString=function(){return this.str},j.Token.prototype.update=function(e){return this.str=e(this.str,this.metadata),this},j.Token.prototype.clone=function(e){return e=e||function(e){return e},new j.Token(e(this.str,this.metadata),this.metadata)},j.tokenizer=function(e,t){if(null==e||null==e)return[];if(Array.isArray(e))return e.map(function(e){return new j.Token(j.utils.asString(e).toLowerCase(),j.utils.clone(t))});for(var r=e.toString().toLowerCase(),n=r.length,i=[],s=0,o=0;s<=n;s++){var a=s-o;if(r.charAt(s).match(j.tokenizer.separator)||s==n){if(a>0){var u=j.utils.clone(t)||{};u.position=[o,a],u.index=i.length,i.push(new j.Token(r.slice(o,s),u))}o=s+1}}return i},j.tokenizer.separator=/[\\s\\-]+/,j.Pipeline=function(){this._stack=[]},j.Pipeline.registeredFunctions=Object.create(null),j.Pipeline.registerFunction=function(e,t){t in this.registeredFunctions&&j.utils.warn("Overwriting existing registered function: "+t),e.label=t,j.Pipeline.registeredFunctions[e.label]=e},j.Pipeline.warnIfFunctionNotRegistered=function(e){e.label&&e.label in this.registeredFunctions||j.utils.warn("Function is not registered with pipeline. This may cause problems when serialising the index.\\n",e)},j.Pipeline.load=function(e){var t=new j.Pipeline;return e.forEach(function(e){var r=j.Pipeline.registeredFunctions[e];if(!r)throw new Error("Cannot load unregistered function: "+e);t.add(r)}),t},j.Pipeline.prototype.add=function(){Array.prototype.slice.call(arguments).forEac
8h(function(e){j.Pipeline.warnIfFunctionNotRegistered(e),this._stack.push(e)},this)},j.Pipeline.prototype.after=function(e,t){j.Pipeline.warnIfFunctionNotRegistered(t);var r=this._stack.indexOf(e);if(-1==r)throw new Error("Cannot find existingFn");r+=1,this._stack.splice(r,0,t)},j.Pipeline.prototype.before=function(e,t){j.Pipeline.warnIfFunctionNotRegistered(t);var r=this._stack.indexOf(e);if(-1==r)throw new Error("Cannot find existingFn");this._stack.splice(r,0,t)},j.Pipeline.prototype.remove=function(e){var t=this._stack.indexOf(e);-1!=t&&this._stack.splice(t,1)},j.Pipeline.prototype.run=function(e){for(var t=this._stack.length,r=0;r<t;r++){for(var n=this._stack[r],i=[],s=0;s<e.length;s++){var o=n(e[s],s,e);if(null!=o&&""!==o)if(Array.isArray(o))for(var a=0;a<o.length;a++)i.push(o[a]);else i.push(o)}e=i}return e},j.Pipeline.prototype.runString=function(e,t){var r=new j.Token(e,t);return this.run([r]).map(function(e){return e.toString()})},j.Pipeline.prototype.reset=function(){this._stack=[]},j.Pipeline.prototype.toJSON=function(){return this._stack.map(function(e){return j.Pipeline.warnIfFunctionNotRegistered(e),e.label})},j.Vector=function(e){this._magnitude=0,this.elements=e||[]},j.Vector.prototype.positionForIndex=function(e){if(0==this.elements.length)return 0;for(var t=0,r=this.elements.length/2,n=r-t,i=Math.floor(n/2),s=this.elements[2*i];n>1&&(s<e&&(t=i),s>e&&(r=i),s!=e);)n=r-t,i=t+Math.floor(n/2),s=this.elements[2*i];return s==e||s>e?2*i:s<e?2*(i+1):void 0},j.Vector.prototype.insert=function(e,t){this.upsert(e,t,function(){throw"duplicate index"})},j.Vector.prototype.upsert=function(e,t,r){this._magnitude=0;var n=this.positionForIndex(e);this.elements[n]==e?this.elements[n+1]=r(this.elements[n+1],t):this.elements.splice(n,0,e,t)},j.Vector.prototype.magnitude=function(){if(this._magnitude)return this._magnitude;for(var e=0,t=this.elements.length,r=1;r<t;r+=2){var n=this.elements[r];e+=n*n}return this._magnitude=Math.sqrt(e)},j.Vector.prototype.dot=function(e){for(var t=0,r=this.elements,n=e.elements,i=r.length,s=n.length,o=0,a=0,u=0,l=0;u<i&&l<s;)(o=r[u])<(a=n[l])?u+=2:o>a?l+=2:o==a&&(t+=r[u+1]*n[l+1],u+=2,l+=2);return t},j.Vector.prototype.similarity=function(e){return this.dot(e)/this.magnitude()||0},j.Vector.prototype.toArray=function(){for(var e=new Array(this.elements.length/2),t=1,r=0;t<this.elements.length;t+=2,r++)e[r]=this.elements[t];return e},j.Vector.prototype.toJSON=function(){return this.elements},j.stemmer=(o={ational:"ate",tional:"tion",enci:"ence",anci:"ance",izer:"ize",bli:"ble",alli:"al",entli:"ent",eli:"e",ousli:"ous",ization:"ize",ation:"ate",ator:"ate",alism:"al",iveness:"ive",fulness:"ful",ousness:"ous",aliti:"al",iviti:"ive",biliti:"ble",logi:"log"},a={icate:"ic",ative:"",alize:"al",iciti:"ic",ical:"ic",ful:"",ness:""},h="^("+(l="[^aeiou][^aeiouy]*")+")?"+(c=(u="[aeiouy]")+"[aeiou]*")+l+"("+c+")?$",d="^("+l+")?"+c+l+c+l,f="^("+l+")?"+u,p=new RegExp("^("+l+")?"+c+l),y=new RegExp(d),m=new RegExp(h),g=new RegExp(f),x=/^(.+?)(ss|i)es$/,v=/^(.+?)([^s])s$/,w=/^(.+?)eed$/,Q=/^(.+?)(ed|ing)$/,k=/.$/,S=/(at|bl|iz)$/,E=new RegExp("([^aeiouylsz])\\\\1$"),L=new RegExp("^"+l+u+"[^aeiouwxy]$"),P=/^(.+?[^aeiou])y$/,b=/^(.+?)(ational|tional|enci|anci|izer|bli|alli|entli|eli|ousli|ization|ation|ator|alism|iveness|fulness|ousness|aliti|iviti|biliti|logi)$/,T=/^(.+?)(icate|ative|alize|iciti|ical|ful|ness)$/,O=/^(.+?)(al|ance|ence|er|ic|able|ible|ant|ement|ment|ent|ou|ism|ate|iti|ous|ive|ize)$/,I=/^(.+?)(s|t)(ion)$/,R=/^(.+?)e$/,F=/ll$/,C=new RegExp("^"+l+u+"[^aeiouwxy]$"),N=function(e){var t,r,n,i,s,u,l;if(e.length<3)return e;if("y"==(n=e.substr(0,1))&&(e=n.toUpperCase()+e.substr(1)),s=v,(i=x).test(e)?e=e.replace(i,"$1$2"):s.test(e)&&(e=e.replace(s,"$1$2")),s=Q,(i=w).test(e)){var c=i.exec(e);(i=p).test(c[1])&&(i=k,e=e.replace(i,""))}else s.test(e)&&(t=(c=s.exec(e))[1],(s=g).test(t)&&(u=E,l=L,(s=S).test(e=t)?e+="e":u.test(e)?(i=k,e=e.replace(i,"")):l.test(e)&&(e+="e")));return(i=P).test(e)&&(e=(t=(c=i.exec(e))[1])+"i"),(i=b).test(e)&&(t=(c=i.exec(e))[1],r=c[2],(i=p).test(t)&&(e=t+o[r])),(i=T).test(e)&&(t=(c=i.exec(e))[1],r=c[2],(i=p).test(t)&&(e=t+a[r])),s=I,(i=O).test(e)?(t=(c=i.exec(e))[1],(i=y).test(t)&&(e=t)):s.test(e)&&(t=(c=s.exec(e))[1]+c[2],(s=y).test(t)&&(e=t)),(i=R).test(e)&&(t=(c=i.exec(e))[1],s=m,u=C,((i=y).test(t)||s.test(t)&&!u.test(t))&&(e=t)),s=y,(i=F).test(e)&&s.test(e)&&(i=k,e=e.replace(i,"")),"y"==n&&(e=n.toLowerCase()+e.substr(1)),e},function(e){return e.update(N)}),j.Pipeline.registerFunction(j.stemmer,"stemmer"),j.generateStopWordFilter=function(e){var t=e.reduce(function(e,t){return e[t]=t,e},{});return function(e){if(e&&t[e.toString()]!==e.toString())return e}},j.stopWordFilter=j.generateStopWordFilter(["a","able","about","across","after","all","almost","also","am","among","an","and","any","are","as","at","be","because","been","but","by","can","cannot","could","dear","did","do","does","either","else","ever","every","for","from","get","got","had","has","have","he","her","hers","him","his","how","however","i","if","in","into","is","it","its","just","least","let","like","likely","may","me","might","most","must","my","neither","no","nor","not","of","off","often","on","only","or","other","our","own","rather","said","say","says","she","should","since","so","some","than","that","the","their","them","then","there","these","they","this","tis","to","too","twas","us","wants","was","we","were","what","when","where","which","while","who","whom","why","will","with","would","yet","you","your"]),j.Pipeline.registerFunction(j.stopWordFilter,"stopWordFilter"),j.trimmer=function(e){return e.update(function(e){return e.replace(/^\\W+/,"").replace(/\\W+$/,"")})},j.Pipeline.registerFunction(j.trimmer,"trimmer"),j.TokenSet=function(){this.final=!1,this.edges={},this.id=j.TokenSet._nextId,j.TokenSet._nextId+=1},j.TokenSet._nextId=1,j.TokenSet.fromArray=function(e){for(var t=new j.TokenSet.Builder,r=0,n=e.length;r<n;r++)t.insert(e[r]);return t.finish(),t.root},j.TokenSet.fromClause=function(e){return"editDistance"in e?j.TokenSet.fromFuzzyString(e.term,e.editDistance):j.TokenSet.fromString(e.term)},j.TokenSet.fromFuzzyString=function(e,t){for(var r=new j.TokenSet,n=[{node:r,editsRemaining:t,str:e}];n.length;){var i=n.pop();if(i.str.length>0){var s,o=i.str.charAt(0);o in i.node.edges?s=i.node.edges[o]:(s=new j.TokenSet,i.node.edges[o]=s),1==i.str.length&&(s.final=!0),n.push({node:s,editsRemaining:i.editsRemaining,str:i.str.slice(1)})}if(0!=i.editsRemaining){if("*"in i.node.edges)var a=i.node.edges["*"];else a=new j.TokenSet,i.node.edges["*"]=a;if(0==i.str.length&&(a.final=!0),n.push({node:a,editsRemaining:i.editsRemaining-1,str:i.str}),i.str.length>1&&n.push({node:i.node,editsRemaining:i.editsRemaining-1,str:i.str.slice(1)}),1==i.str.length&&(i.node.final=!0),i.str.length>=1){if("*"in i.node.edges)var u=i.node.edges["*"];else u=new j.TokenSet,i.node.edges["*"]=u;1==i.str.length&&(u.final=!0),n.push({node:u,editsRemaining:i.editsRemaining-1,str:i.str.slice(1)})}if(i.str.length>1){var l,c=i.str.charAt(0),h=i.str.charAt(1);h in i.node.edges?l=i.node.edges[h]:(l=new j.TokenSet,i.node.edges[h]=l),1==i.str.length&&(l.final=!0),n.push({node:l,editsRemaining:i.editsRemaining-1,str:c+i.str.slice(2)})}}}return r},j.TokenSet.fromString=function(e){for(var t=new j.TokenSet,r=t,n=0,i=e.length;n<i;n++){var s=e[n],o=n==i-1;if("*"==s)t.edges[s]=t,t.final=o;else{var a=new j.TokenSet;a.final=o,t.edges[s]=a,t=a}}return r},j.TokenSet.prototype.toArray=function(){for(var e=[],t=[{prefix:"",node:this}];t.length;){var r=t.pop(),n=Object.keys(r.node.edges),i=n.length;r.node.final&&(r.prefix.charAt(0),e.push(r.prefix));for(var s=0;s<i;s++){var o=n[s];t.push({prefix:r.prefix.concat(o),node:r.node.edges[o]})}}return e},j.TokenSet.prototype.toString=function(){if(this._str)return this._str;for(var e=this.final?"1":"0",t=Object.keys(this.edges).sort(),r=t.length,n=0;n<r;n++){var i=t[n];e=e+i+this.edges[i].id}return e},j.TokenSet.prototype.intersect=function(e){for(var t=new j.TokenSet,r=void 0,n=[{qNode:e,output:t,node:this}];n.length;){r=n.pop();for(var i=Object.keys(r.qNode.edges),s=i.length,o=Object.keys(r.node.edges),a=o.length,u=0;u<s;u++)for(var l=i[u],c=0;c<a;c++){var h=o[c];if(h==l||"*"==l){var d=r.node.edges[h],f=r.qNode.edges[l],p=d.final&&f.final,y=void 0;h in r.output.edges?(y=r.output.edges[h]).final=y.final||p:((y=new j.TokenSet).final=p,r.output.edges[h]=y),n.push({qNode:f,output:y,node:d})}}}return t},j.TokenSet.Builder=function(){this.previousWord="",this.root=new j.TokenSet,this.uncheckedNodes=[],this.minimizedNodes={}},j.TokenSet.Builder.prototype.insert=function(e){var t,r=0;if(e<this.previousWord)throw new Error("Out of order word insertion");for(var n=0;n<e.length&&n<this.previousWord.length&&e[n]==this.previousWord[n];
8n++)r++;for(this.minimize(r),t=0==this.uncheckedNodes.length?this.root:this.uncheckedNodes[this.uncheckedNodes.length-1].child,n=r;n<e.length;n++){var i=new j.TokenSet,s=e[n];t.edges[s]=i,this.uncheckedNodes.push({parent:t,char:s,child:i}),t=i}t.final=!0,this.previousWord=e},j.TokenSet.Builder.prototype.finish=function(){this.minimize(0)},j.TokenSet.Builder.prototype.minimize=function(e){for(var t=this.uncheckedNodes.length-1;t>=e;t--){var r=this.uncheckedNodes[t],n=r.child.toString();n in this.minimizedNodes?r.parent.edges[r.char]=this.minimizedNodes[n]:(r.child._str=n,this.minimizedNodes[n]=r.child),this.uncheckedNodes.pop()}},j.Index=function(e){this.invertedIndex=e.invertedIndex,this.fieldVectors=e.fieldVectors,this.tokenSet=e.tokenSet,this.fields=e.fields,this.pipeline=e.pipeline},j.Index.prototype.search=function(e){return this.query(function(t){new j.QueryParser(e,t).parse()})},j.Index.prototype.query=function(e){for(var t=new j.Query(this.fields),r=Object.create(null),n=Object.create(null),i=Object.create(null),s=Object.create(null),o=Object.create(null),a=0;a<this.fields.length;a++)n[this.fields[a]]=new j.Vector;for(e.call(t,t),a=0;a<t.clauses.length;a++){var u,l=t.clauses[a],c=j.Set.empty;u=l.usePipeline?this.pipeline.runString(l.term,{fields:l.fields}):[l.term];for(var h=0;h<u.length;h++){var d=u[h];l.term=d;var f=j.TokenSet.fromClause(l),p=this.tokenSet.intersect(f).toArray();if(0===p.length&&l.presence===j.Query.presence.REQUIRED){for(var y=0;y<l.fields.length;y++)s[R=l.fields[y]]=j.Set.empty;break}for(var m=0;m<p.length;m++){var g=p[m],x=this.invertedIndex[g],v=x._index;for(y=0;y<l.fields.length;y++){var w=x[R=l.fields[y]],Q=Object.keys(w),k=g+"/"+R,S=new j.Set(Q);if(l.presence==j.Query.presence.REQUIRED&&(c=c.union(S),void 0===s[R]&&(s[R]=j.Set.complete)),l.presence!=j.Query.presence.PROHIBITED){if(n[R].upsert(v,l.boost,function(e,t){return e+t}),!i[k]){for(var E=0;E<Q.length;E++){var L,P=Q[E],b=new j.FieldRef(P,R),T=w[P];void 0===(L=r[b])?r[b]=new j.MatchData(g,R,T):L.add(g,R,T)}i[k]=!0}}else void 0===o[R]&&(o[R]=j.Set.empty),o[R]=o[R].union(S)}}}if(l.presence===j.Query.presence.REQUIRED)for(y=0;y<l.fields.length;y++)s[R=l.fields[y]]=s[R].intersect(c)}var O=j.Set.complete,I=j.Set.empty;for(a=0;a<this.fields.length;a++){var R;s[R=this.fields[a]]&&(O=O.intersect(s[R])),o[R]&&(I=I.union(o[R]))}var F=Object.keys(r),C=[],N=Object.create(null);if(t.isNegated())for(F=Object.keys(this.fieldVectors),a=0;a<F.length;a++){b=F[a];var _=j.FieldRef.fromString(b);r[b]=new j.MatchData}for(a=0;a<F.length;a++){var D=(_=j.FieldRef.fromString(F[a])).docRef;if(O.contains(D)&&!I.contains(D)){var A,B=this.fieldVectors[_],z=n[_.fieldName].similarity(B);if(void 0!==(A=N[D]))A.score+=z,A.matchData.combine(r[_]);
8else{var V={ref:D,score:z,matchData:r[_]};N[D]=V,C.push(V)}}}return C.sort(function(e,t){return t.score-e.score})},j.Index.prototype.toJSON=function(){var e=Object.keys(this.invertedIndex).sort().map(function(e){return[e,this.invertedIndex[e]]},this),t=Object.keys(this.fieldVectors).map(function(e){return[e,this.fieldVectors[e].toJSON()]},this);return{version:j.version,fields:this.fields,fieldVectors:t,invertedIndex:e,pipeline:this.pipeline.toJSON()}},j.Index.load=function(e){var t={},r={},n=e.fieldVectors,i=Object.create(null),s=e.invertedIndex,o=new j.TokenSet.Builder,a=j.Pipeline.load(e.pipeline);e.version!=j.version&&j.utils.warn("Version mismatch when loading serialised index. Current version of lunr \'"+j.version+"\' does not match serialized index \'"+e.version+"\'");for(var u=0;u<n.length;u++){var l=(h=n[u])[0],c=h[1];r[l]=new j.Vector(c)}for(u=0;u<s.length;u++){var h,d=(h=s[u])[0],f=h[1];o.insert(d),i[d]=f}return o.finish(),t.fields=e.fields,t.fieldVectors=r,t.invertedIndex=i,t.tokenSet=o.root,t.pipeline=a,new j.Index(t)},j.Builder=function(){this._ref="id",this._fields=Object.create(null),this._documents=Object.create(null),this.invertedIndex=Object.create(null),this.fieldTermFrequencies={},this.fieldLengths={},this.tokenizer=j.tokenizer,this.pipeline=new j.Pipeline,this.searchPipeline=new j.Pipeline,this.documentCount=0,this._b=.75,this._k1=1.2,this.termIndex=0,this.metadataWhitelist=[]},j.Builder.prototype.ref=function(e){this._ref=e},j.Builder.prototype.field=function(e,t){if(/\\//.test(e))throw new RangeError("Field \'"+e+"\' contains illegal character \'/\'");this._fields[e]=t||{}},j.Builder.prototype.b=function(e){this._b=e<0?0:e>1?1:e},j.Builder.prototype.k1=function(e){this._k1=e},j.Builder.prototype.add=function(e,t){var r=e[this._ref],n=Object.keys(this._fields);this._documents[r]=t||{},this.documentCount+=1;for(var i=0;i<n.length;i++){var s=n[i],o=this._fields[s].extractor,a=o?o(e):e[s],u=this.tokenizer(a,{fields:[s]}),l=this.pipeline.run(u),c=new j.FieldRef(r,s),h=Object.create(null);this.fieldTermFrequencies[c]=h,this.fieldLengths[c]=0,this.fieldLengths[c]+=l.length;for(var d=0;d<l.length;d++){var f=l[d];if(null==h[f]&&(h[f]=0),h[f]+=1,null==this.invertedIndex[f]){var p=Object.create(null);p._index=this.termIndex,this.termIndex+=1;for(var y=0;y<n.length;y++)p[n[y]]=Object.create(null);this.invertedIndex[f]=p}null==this.invertedIndex[f][s][r]&&(this.invertedIndex[f][s][r]=Object.create(null));for(var m=0;m<this.metadataWhitelist.length;m++){var g=this.metadataWhitelist[m],x=f.metadata[g];null==this.invertedIndex[f][s][r][g]&&(this.invertedIndex[f][s][r][g]=[]),this.invertedIndex[f][s][r][g].push(x)}}}},j.Builder.prototype.calculateAverageFieldLengths=function(){for(var e=Object.keys(this.fieldLengths),t=e.length,r={},n={},i=0;i<t;i++){var s=j.FieldRef.fromString(e[i]),o=s.fieldName;n[o]||(n[o]=0),n[o]+=1,r[o]||(r[o]=0),r[o]+=this.fieldLengths[s]}var a=Object.keys(this._fields);for(i=0;i<a.length;i++){var u=a[i];r[u]=r[u]/n[u]}this.averageFieldLength=r},j.Builder.prototype.createFieldVectors=function(){for(var e={},t=Object.keys(this.fieldTermFrequencies),r=t.length,n=Object.create(null),i=0;i<r;i++){for(var s=j.FieldRef.fromString(t[i]),o=s.fieldName,a=this.fieldLengths[s],u=new j.Vector,l=this.fieldTermFrequencies[s],c=Object.keys(l),h=c.length,d=this._fields[o].boost||1,f=this._documents[s.docRef].boost||1,p=0;p<h;p++){var y,m,g,x=c[p],v=l[x],w=this.invertedIndex[x]._index;void 0===n[x]?(y=j.idf(this.invertedIndex[x],this.documentCount),n[x]=y):y=n[x],m=y*((this._k1+1)*v)/(this._k1*(1-this._b+this._b*(a/this.averageFieldLength[o]))+v),m*=d,m*=f,g=Math.round(1e3*m)/1e3,u.insert(w,g)}e[s]=u}this.fieldVectors=e},j.Builder.prototype.createTokenSet=function(){this.tokenSet=j.TokenSet.fromArray(Object.keys(this.invertedIndex).sort())},j.Builder.prototype.build=function(){return this.calculateAverageFieldLengths(),this.createFieldVectors(),this.createTokenSet(),new j.Index({invertedIndex:this.invertedIndex,fieldVectors:this.fieldVectors,tokenSet:this.tokenSet,fields:Object.keys(this._fields),pipeline:this.searchPipeline})},j.Builder.prototype.use=function(e){var t=Array.prototype.slice.call(arguments,1
vendor: 4,607 bytes, line 8
8);t.unshift(this),e.apply(this,t)},j.MatchData=function(e,t,r){for(var n=Object.create(null),i=Object.keys(r||{}),s=0;s<i.length;s++){var o=i[s];n[o]=r[o].slice()}this.metadata=Object.create(null),void 0!==e&&(this.metadata[e]=Object.create(null),this.metadata[e][t]=n)},j.MatchData.prototype.combine=function(e){for(var t=Object.keys(e.metadata),r=0;r<t.length;r++){var n=t[r],i=Object.keys(e.metadata[n]);null==this.metadata[n]&&(this.metadata[n]=Object.create(null));for(var s=0;s<i.length;s++){var o=i[s],a=Object.keys(e.metadata[n][o]);null==this.metadata[n][o]&&(this.metadata[n][o]=Object.create(null));for(var u=0;u<a.length;u++){var l=a[u];null==this.metadata[n][o][l]?this.metadata[n][o][l]=e.metadata[n][o][l]:this.metadata[n][o][l]=this.metadata[n][o][l].concat(e.metadata[n][o][l])}}}},j.MatchData.prototype.add=function(e,t,r){if(!(e in this.metadata))return this.metadata[e]=Object.create(null),void(this.metadata[e][t]=r);if(t in this.metadata[e])for(var n=Object.keys(r),i=0;i<n.length;i++){var s=n[i];s in this.metadata[e][t]?this.metadata[e][t][s]=this.metadata[e][t][s].concat(r[s]):this.metadata[e][t][s]=r[s]}else this.metadata[e][t]=r},j.Query=function(e){this.clauses=[],this.allFields=e},j.Query.wildcard=new String("*"),j.Query.wildcard.NONE=0,j.Query.wildcard.LEADING=1,j.Query.wildcard.TRAILING=2,j.Query.presence={OPTIONAL:1,REQUIRED:2,PROHIBITED:3},j.Query.prototype.clause=function(e){return"fields"in e||(e.fields=this.allFields),"boost"in e||(e.boost=1),"usePipeline"in e||(e.usePipeline=!0),"wildcard"in e||(e.wildcard=j.Query.wildcard.NONE),e.wildcard&j.Query.wildcard.LEADING&&e.term.charAt(0)!=j.Query.wildcard&&(e.term="*"+e.term),e.wildcard&j.Query.wildcard.TRAILING&&e.term.slice(-1)!=j.Query.wildcard&&(e.term=e.term+"*"),"presence"in e||(e.presence=j.Query.presence.OPTIONAL),this.clauses.push(e),this},j.Query.prototype.isNegated=function(){for(var e=0;e<this.clauses.length;e++)if(this.clauses[e].presence!=j.Query.presence.PROHIBITED)return!1;return!0},j.Query.prototype.term=function(e,t){if(Array.isArray(e))return e.forEach(function(e){this.term(e,j.utils.clone(t))},this),this;var r=t||{};return r.term=e.toString(),this.clause(r),this},j.QueryParseError=function(e,t,r){this.name="QueryParseError",this.message=e,this.start=t,this.end=r},j.QueryParseError.prototype=new Error,j.QueryLexer=function(e){this.lexemes=[],this.str=e,this.length=e.length,this.pos=0,this.start=0,this.escapeCharPositions=[]},j.QueryLexer.prototype.run=function(){for(var e=j.QueryLexer.lexText;e;)e=e(this)},j.QueryLexer.prototype.sliceString=function(){for(var e=[],t=this.start,r=this.pos,n=0;n<this.escapeCharPositions.length;n++)r=this.escapeCharPositions[n],e.push(this.str.slice(t,r)),t=r+1;return e.push(this.str.slice(t,this.pos)),this.escapeCharPositions.length=0,e.join("")},j.QueryLexer.prototype.emit=function(e){this.lexemes.push({type:e,str:this.sliceString(),start:this.start,end:this.pos}),this.start=this.pos},j.QueryLexer.prototype.escapeCharacter=function(){this.escapeCharPositions.push(this.pos-1),this.pos+=1},j.QueryLexer.prototype.next=function(){if(this.pos>=this.length)return j.QueryLexer.EOS;var e=this.str.charAt(this.pos);return this.pos+=1,e},j.QueryLexer.prototype.width=function(){return this.pos-this.start},j.QueryLexer.prototype.ignore=function(){this.start==this.pos&&(this.pos+=1),this.start=this.pos},j.QueryLexer.prototype.backup=function(){this.pos-=1},j.QueryLexer.prototype.acceptDigitRun=function(){var e,t;do{t=(e=this.next()).charCodeAt(0)}while(t>47&&t<58);e!=j.QueryLexer.EOS&&this.backup()},j.QueryLexer.prototype.more=function(){return this.pos<this.length},j.QueryLexer.EOS="EOS",j.QueryLexer.FIELD="FIELD",j.QueryLexer.TERM="TERM",j.QueryLexer.EDIT_DISTANCE="EDIT_DISTANCE",j.QueryLexer.BOOST="BOOST",j.QueryLexer.PRESENCE="PRESENCE",j.QueryLexer.lexField=function(e){return e.backup(),e.emit(j.QueryLexer.FIELD),e.ignore(),j.QueryLexer.lexText},j.QueryLexer.lexTerm=function(e){if(e.width()>1&&(e.backup(),e.emit(j.QueryLexer.TERM)),e.ignore(),e.more())return j.QueryLexer.lexText},j.QueryLexer.lexEditDistance=function(e){return e.ignore(),e.acceptDigitRun(),e.emit(j.QueryLexer.EDIT_DISTANCE),j.QueryLexer.lexText},j.QueryLexer.lexBoost=function(e){return e.ignore(),e.acceptDigitRun(),e.emit(j.QueryLexer.BOOST),j.QueryLexer.lexText},j.QueryLexer.lexEOS=function(e){e.width()>0&&e.emit(j.QueryLexer.TERM)},j.QueryLexer.termSeparator=j.tokenizer.separator,j.QueryLexer.lexText=function(e){for(;;){var t=e.next();if(t==j.QueryLexer.EOS)return j.QueryLexer.lexEOS;if(92!=t.charCodeAt(0)){if(":"==t)return j.QueryLexer.lexField;
8if("~"==t)return e.backup(),e.width()>0&&e.emit(j.QueryLexer.TERM),j.QueryLexer.lexEditDistance;if("^"==t)return e.backup(),e.width()>0&&e.emit(j.QueryLexer.TERM),j.QueryLexer.lexBoost;if("+"==t&&1===e.width())return e.emit(j.QueryLexer.PRESENCE),j.QueryLexer.lexText;if("-"==t&&1===e.width())return e.emit(j.QueryLexer.PRESENCE),j.QueryLexer.lexText;if(t.match(j.QueryLexer.termSeparator))return j.QueryLexer.lexTerm}else e.escapeCharacter()}},j.QueryParser=function(e,t){this.lexer=new j.QueryLexer(e),this.query=t,this.currentClause={},this.lexemeIdx=0},j.QueryParser.prototype.parse=function(){this.lexer.run(),this.lexemes=this.lexer.lexemes;for(var e=j.QueryParser.parseClause;e;)e=e(this);return this.query},j.QueryParser.prototype.peekLexeme=function(){return this.lexemes[this.lexemeIdx]},j.QueryParser.prototype.consumeLexeme=function(){var e=this.peekLexeme();return this.lexemeIdx+=1,e},j.QueryParser.prototype.nextClause=function(){var e=this.currentClause;this.query.clause(e),this.currentClause={}},j.QueryParser.parseClause=function(e){var t=e.peekLexeme();if(null!=t)switch(t.type){case j.QueryLexer.PRESENCE:return j.QueryParser.parsePresence;case j.QueryLexer.FIELD:return j.QueryParser.parseField;case j.QueryLexer.TERM:return j.QueryParser.parseTerm;default:var r="expected either a field or a term, found "+t.type;throw t.str.length>=1&&(r+=" with value \'"+t.str+"\'"),new j.QueryParseError(r,t.start,t.end)}},j.QueryParser.parsePresence=function(e){var t=e.consumeLexeme();if(null!=t){switch(t.str){case"-":e.currentClause.presence=j.Query.presence.PROHIBITED;break;case"+":e.currentClause.presence=j.Query.presence.REQUIRED;break;default:var r="unrecognised presence operator\'"+t.str+"\'";throw new j.QueryParseError(r,t.start,t.end)}var n=e.peekLexeme();if(null==n)throw r="expecting term or field, found nothing",new j.QueryParseError(r,t.start,t.end);switch(n.type){case j.QueryLexer.FIELD:return j.QueryParser.parseField;case j.QueryLexer.TERM:return j.QueryParser.parseTerm;default:throw r="expecting term or field, found \'"+n.type+"\'",new j.QueryParseError(r,n.start,n.end)}}},j.QueryParser.parseField=function(e){var t=e.consumeLexeme();if(null!=t){if(-1==e.query.allFields.indexOf(t.str)){var r=e.query.allFields.map(function(e){return"\'"+e+"\'"}).join(", "),n="unrecognised field \'"+t.str+"\', possible fields: "+r;throw new j.QueryParseError(n,t.start,t.end)}e.currentClause.fields=[t.str];var i=e.peekLexeme();if(null==i)throw n="expecting term, found nothing",new j.QueryParseError(n,t.start,t.end);if(i.type===j.QueryLexer.TERM)return j.QueryParser.parseTerm;throw n="expecting term, found \'"+i.type+"\'",new j.QueryParseError(n,i.start,i.end)}},j.QueryParser.parseTerm=function(e){var t=e.consumeLexeme();if(null!=t){e.currentClause.term=t.str.toLowerCase(),-1!=t.str.indexOf("*")&&(e.currentClause.usePipeline=!1);var r=e.peekLexeme();if(null!=r)switch(r.type){case j.QueryLexer.TERM:return e.nextClause(),j.QueryParser.parseTerm;case j.QueryLexer.FIELD:return e.nextClause(),j.QueryParser.parseField;case j.QueryLexer.EDIT_DISTANCE:return j.QueryParser.parseEditDistance;case j.QueryLexer.BOOST:return j.QueryParser.parseBoost;case j.QueryLexer.PRESENCE:return e.nextClause(),j.QueryParser.parsePresence;default:var n="Unexpected lexeme type \'"+r.type+"\'";throw new j.QueryParseError(n,r.start,r.end)}else e.nextClause()}},j.QueryParser.parseEditDistance=function(e){var t=e.consumeLexeme();if(null!=t){var r=parseInt(t.str,10);if(isNaN(r)){var n="edit distance must be numeric";throw new j.QueryParseError(n,t.start,t.end)}e.currentClause.editDistance=r;var i=e.peekLexeme();if(null!=i)switch(i.type){case j.QueryLexer.TERM:return e.nextClause(),j.QueryParser.parseTerm;case j.QueryLexer.FIELD:return e.nextClause(),j.QueryParser.parseField;case j.QueryLexer.EDIT_DISTANCE:return j.QueryParser.parseEditDistance;case j.QueryLexer.BOOST:return j.QueryParser.parseBoost;case j.QueryLexer.PRESENCE:return e.nextClause(),j.QueryParser.parsePresence;default:throw n="Unexpected lexeme type \'"+i.type+"\'",new j.QueryParseError(n,i.start,i.end)}else e.nextClause()}}
8,j.QueryParser.parseBoost=function(e){var t=e.consumeLexeme();if(null!=t){var r=parseInt(t.str,10);if(isNaN(r)){var n="boost must be numeric";throw new j.QueryParseError(n,t.start,t.end)}e.currentClause.boost=r;var i=e.peekLexeme();if(null!=i)switch(i.type){case j.QueryLexer.TERM:return e.nextClause(),j.QueryParser.parseTerm;case j.QueryLexer.FIELD:return e.nextClause(),j.QueryParser.parseField;case j.QueryLexer.EDIT_DISTANCE:return j.QueryParser.parseEditDistance;case j.QueryLexer.BOOST:return j.QueryParser.parseBoost;case j.QueryLexer.PRESENCE:return e.nextClause(),j.QueryParser.parsePresence;default:throw n="Unexpected lexeme type \'"+i.type+"\'",new j.QueryParseError(n,i.start,i.end)}else e.nextClause()}},void 0===(i="function"==typeof(n=function(){return j})?n.call(t,r,t,e):n)||(e.exports=i)}()}},t={};function r(n){var i=t[n];if(void 0!==i)return i.exports;var s=t[n]={exports:{}};return e[n](s,s.exports,r),s.exports}r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,{a:t}),t},r.d=function(e,t){for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)};var n={};!function(){"use strict";r.d(n,{add:function(){return c},dispose:function(){return y},done:function(){return h},fromExternalJS:function(){return f},load:function(){return p},search:function(){return m},toJS:function(){return d}});var e=r(291),t=(e,t,r)=>new Promise((n,i)=>{var s=e=>{try{a(r.next(e))}catch(e){i(e)}},o=e=>{try{a(r.throw(e))}catch(e){i(e)}},a=e=>e.done?n(e.value):Promise.resolve(e.value).then(s,o);a((r=r.apply(e,t)).next())});let i,s,o,a=[];function u(){i=new e.Builder,i.field("title"),i.field("description"),i.ref("ref"),i.pipeline.add(e.trimmer,e.stopWordFilter,e.stemmer),o=new Promise(e=>{s=e})}e.tokenizer.separator=/\\s+/,u();const l=t=>{const r=e.trimmer(new e.Token(t,{}));return"*"+e.stemmer(r)+"*"};function c(e,t,r){const n=a.push(r)-1,s={title:e.toLowerCase(),description:t.toLowerCase(),ref:n};i.add(s)}function h(){return t(this,null,function*(){s(i.build())})}function d(){return t(this,null,function*(){return{store:a,index:(yield o).toJSON()}})}function f(e,r){return t(this,null,function*(){try{if(importScripts(e),!self[r])throw new Error("Broken index file format");p(self[r])}catch(e){console.error("Failed to load search index: "+e.message)}})}function p(r){return t(this,null,function*(){a=r.store,s(e.Index.load(r.index))})}function y(){return t(this,null,function*(){a=[],u()})}function m(e,r=0){return t(this,null,function*(){if(0===e.trim().length)return[];let t=(yield o).query(t=>{e.trim().toLowerCase().split(/\\s+/).forEach(e=>{if(1===e.length)return;const r=l(e);t.term(r,{})})});return r>0&&(t=t.slice(0,r)),t.map(e=>({meta:a[e.ref],score:e.score}))})}addEventListener("message",function(e){var t,r=e.data,i=r.type,s=r.method,o=r.id,a=r.params;"RPC"===i&&s&&((t=n[s])?Promise.resolve().then(function(){return t.apply(n,a)}):Promise.reject("No such method")).then(function(e){postMessage({type:"RPC",id:o,result:e})}).catch(function(e){var t={message:e};e.stack&&(t.message=e.message,t.stack=e.stack,t.name=e.name),postMessage({type:"RPC",id:o,error:t})})}),postMessage({type:"RPC",method:"ready"})}()}();\n//# sourceMappingURL=d87bcbdbea8f8f5aa26f.worker.js.map'])),{name:"[fullhash].worker.js"});return n(e,i),e}},224:function(e){e.exports=function(e,t){var r=0,n={};e.addEventListener("message",function(t){var r=t.data;if("RPC"===r.type)if(r.id){var i=n[r.id];i&&(delete n[r.id],r.error?i[1](Object.assign(Error(r.error.message),r.error)):i[0](r.result))}else{var o=document.createEvent("Event");o.initEvent(r.method,!1,!1),o.data=r.params,e.dispatchEvent(o)}}),t.forEach(function(t){e[t]=function(){var i=arguments;return new Promise(function(o,s){var a=++r;n[a]=[o,s],e.postMessage({type:"RPC",id:a,method:t,params:[].slice.call(i)})})}})}},997:function(e,t,r){"use strict";var n=r(991),i=r.n(n),o=r(314),s=r.n(o)()(i());s.push([e.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}}\n","",{version:3,sources:["webpack://./node_modules/perfect-scrollbar/css/perfect-scrollbar.css"],names:[],mappings:"AAGA,IACE,yBAAU,CACV,oBAAiB,
8CACjB,uBAAoB,CACpB,iBAAc,CACd,qBACF,CAKA,YACE,YAAS,CACT,SAAS,CACT,yDAAqD,CACrD,iEAA6D,CAC7D,WAAQ,CAER,QAAQ,CAER,iBACF,CAEA,YACE,YAAS,CACT,SAAS,CACT,yDAAqD,CACrD,iEAA6D,CAC7D,UAAO,CAEP,OAAO,CAEP,iBACF,CAEA,oDAEE,aAAS,CACT,4BACF,CAEA,oJAME,UACF,CAEA,kJAME,qBAAkB,CAClB,UACF,CAKA,aACE,qBAAkB,CAnEpB,iBAoEiB,CACf,6DAAoD,CACpD,qEAA4D,CAC5D,UAAQ,CAER,UAAQ,CAER,iBACF,CAEA,aACE,qBAAkB,CA/EpB,iBAgFiB,CACf,4DAAmD,CACnD,oEAA2D,CAC3D,SAAO,CAEP,SAAO,CAEP,iBACF,CAEA,oGAGE,qBAAkB,CAClB,WACF,CAEA,oGAGE,qBAAkB,CAClB,UACF,CAGA,qCACE,IACE,uBACF,CACF,CAEA,wEACE,IACE,uBACF,CACF",sourcesContent:["/*\n * Container style\n */\n.ps {\n  overflow: hidden !important;\n  overflow-anchor: none;\n  -ms-overflow-style: none;\n  touch-action: auto;\n  -ms-touch-action: auto;\n}\n\n/*\n * Scrollbar rail styles\n */\n.ps__rail-x {\n  display: none;\n  opacity: 0;\n  transition: background-color .2s linear, opacity .2s linear;\n  -webkit-transition: background-color .2s linear, opacity .2s linear;\n  height: 15px;\n  /* there must be 'bottom' or 'top' for ps__rail-x */\n  bottom: 0px;\n  /* please don't change 'position' */\n  position: absolute;\n}\n\n.ps__rail-y {\n  display: none;\n  opacity: 0;\n  transition: background-color .2s linear, opacity .2s linear;\n  -webkit-transition: background-color .2s linear, opacity .2s linear;\n  width: 15px;\n  /* there must be 'right' or 'left' for ps__rail-y */\n  right: 0;\n  /* please don't change 'position' */\n  position: absolute;\n}\n\n.ps--active-x > .ps__rail-x,\n.ps--active-y > .ps__rail-y {\n  display: block;\n  background-color: transparent;\n}\n\n.ps:hover > .ps__rail-x,\n.ps:hover > .ps__rail-y,\n.ps--focus > .ps__rail-x,\n.ps--focus > .ps__rail-y,\n.ps--scrolling-x > .ps__rail-x,\n.ps--scrolling-y > .ps__rail-y {\n  opacity: 0.6;\n}\n\n.ps .ps__rail-x:hover,\n.ps .ps__rail-y:hover,\n.ps .ps__rail-x:focus,\n.ps .ps__rail-y:focus,\n.ps .ps__rail-x.ps--clicking,\n.ps .ps__rail-y.ps--clicking {\n  background-color: #eee;\n  opacity: 0.9;\n}\n\n/*\n * Scrollbar thumb styles\n */\n.ps__thumb-x {\n  background-color: #aaa;\n  border-radius: 6px;\n  transition: background-color .2s linear, height .2s ease-in-out;\n  -webkit-transition: background-color .2s linear, height .2s ease-in-out;\n  height: 6px;\n  /* there must be 'bottom' for ps__thumb-x */\n  bottom: 2px;\n  /* please don't change 'position' */\n  position: absolute;\n}\n\n.ps__thumb-y {\n  background-color: #aaa;\n  border-radius: 6px;\n  transition: background-color .2s linear, width .2s ease-in-out;\n  -webkit-transition: background-color .2s linear, width .2s ease-in-out;\n  width: 6px;\n  /* there must be 'right' for ps__thumb-y */\n  right: 2px;\n  /* please don't change 'position' */\n  position: absolute;\n}\n\n.ps__rail-x:hover > .ps__thumb-x,\n.ps__rail-x:focus > .ps__thumb-x,\n.ps__rail-x.ps--clicking .ps__thumb-x {\n  background-color: #999;\n  height: 11px;\n}\n\n.ps__rail-y:hover > .ps__thumb-y,\n.ps__rail-y:focus > .ps__thumb-y,\n.ps__rail-y.ps--clicking .ps__thumb-y {\n  background-color: #999;\n  width: 11px;\n}\n\n/* MS supports */\n@supports (-ms-overflow-style: none) {\n  .ps {\n    overflow: auto !important;\n  }\n}\n\n@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {\n  .ps {\n    overflow: auto !important;\n  }\n}\n"],sourceRoot:""}]),t.A=s},314:function(e){"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map(function(t){var r=e(t);return t[2]?"@media ".concat(t[2]," {").concat(r,"}"):r}).join("")},t.i=function(e,r,n){"string"==typeof e&&(e=[[null,e,""]]);var i={};if(n)for(var o=0;o<this.length;o++){var s=this[o][0];null!=s&&(i[s]=!0)}for(var a=0;a<e.length;a++){var l=[].concat(e[a]);n&&i[l[0]]||(r&&(l[2]?l[2]="".concat(r," and ").concat(l[2]):l[2]=r),t.push(l))}},t}},991:function(e){"use strict";function t(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}e.exports=function(e){var r,n,i=(n=4,function(e){if(Array.isArray(e))return e}(r=e)||function(e,t){var r=e&&("undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null!=r){var n,i,o=[],s=!0,a=!1;try{for(r=r.call(e);!(s=(n=r.next()).done)&&(o.push(n.value),!t||o.length!==t);s=!0);}catch(e){a=!0,i=e}finally{try{s||null==r.return||r.return()}finally{if(a)throw i}}return o}}(r,n)||function(e,r){if(e){if("string"==typeof e)return t(e,r);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?t(e,r):void 0}}
8(r,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),o=i[1],s=i[3];if("function"==typeof btoa){var a=btoa(unescape(encodeURIComponent(JSON.stringify(s)))),l="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(a),c="/*# ".concat(l," */"),p=s.sources.map(function(e){return"/*# sourceURL=".concat(s.sourceRoot||"").concat(e," */")});return[o].concat(p).concat([c]).join("\n")}return[o].join("\n")}},364:function(e){e.exports={}},353:function(e,t,n){"use strict";n.d(t,{Ay:function(){return s}});var i=r(47140),o=(e,t,r)=>new Promise((n,i)=>{var o=e=>{try{a(r.next(e))}catch(e){i(e)}},s=e=>{try{a(r.throw(e))}catch(e){i(e)}},a=e=>e.done?n(e.value):Promise.resolve(e.value).then(o,s);a((r=r.apply(e,t)).next())});class s{constructor(){this.add=f,this.done=h,this.search=v,this.toJS=m,this.load=y,this.dispose=b,this.fromExternalJS=g}}let a,l,c,p=[];function u(){a=new i.Builder,a.field("title"),a.field("description"),a.ref("ref"),a.pipeline.add(i.trimmer,i.stopWordFilter,i.stemmer),c=new Promise(e=>{l=e})}i.tokenizer.separator=/\s+/,u();const d=e=>{const t=i.trimmer(new i.Token(e,{}));return"*"+i.stemmer(t)+"*"};function f(e,t,r){const n=p.push(r)-1,i={title:e.toLowerCase(),description:t.toLowerCase(),ref:n};a.add(i)}function h(){return o(this,null,function*(){l(a.build())})}function m(){return o(this,null,function*(){return{store:p,index:(yield c).toJSON()}})}function g(e,t){return o(this,null,function*(){try{if(importScripts(e),!self[t])throw new Error("Broken index file format");y(self[t])}catch(e){console.error("Failed to load search index: "+e.message)}})}function y(e){return o(this,null,function*(){p=e.store,l(i.Index.load(e.index))})}function b(){return o(this,null,function*(){p=[],u()})}function v(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return o(this,null,function*(){if(0===e.trim().length)return[];let r=(yield c).query(t=>{e.trim().toLowerCase().split(/\s+/).forEach(e=>{if(1===e.length)return;const r=d(e);t.term(r,{})})});return t>0&&(r=r.slice(0,t)),r.map(e=>({meta:p[e.ref],score:e.score}))})}},435:function(e,t,r){"use strict";const n=r(648),i={}.NODE_DISABLE_COLORS?{red:"",yellow:"",green:"",normal:""}:{red:"\x1b[31m",yellow:"\x1b[33;1m",green:"\x1b[32m",normal:"\x1b[0m"};function o(e,t){function r(e,t){return n.stringify(e)===n.stringify(Object.assign({},e,t))}return r(e,t)&&r(t,e)}function s(e){let t=(e=e.replace("[]","Array")).split("/");return t[0]=t[0].replace(/[^A-Za-z0-9_\-\.]+|\s+/gm,"_"),t.join("/")}String.prototype.toCamelCase=function(){return this.toLowerCase().replace(/[-_ \/\.](.)/g,function(e,t){return t.toUpperCase()})},e.exports={colour:i,uniqueOnly:function(e,t,r){return r.indexOf(e)===t},hasDuplicates:function(e){return new Set(e).size!==e.length},allSame:function(e){return new Set(e).size<=1},distinctArray:function(e){return e.length===function(e){let t=[];for(let r of e)t.find(function(e,t,n){return o(e,r)})||t.push(r);return t}(e).length},firstDupe:function(e){return e.find(function(t,r,n){return e.indexOf(t)<r})},hash:function(e){let t,r=0;if(0===e.length)return r;for(let n=0;n<e.length;n++)t=e.charCodeAt(n),r=(r<<5)-r+t,r|=0;return r},parameterTypeProperties:["format","minimum","maximum","exclusiveMinimum","exclusiveMaximum","minLength","maxLength","multipleOf","minItems","maxItems","uniqueItems","minProperties","maxProperties","additionalProperties","pattern","enum","default"],arrayProperties:["items","minItems","maxItems","uniqueItems"],httpMethods:["get","post","put","delete","patch","head","options","trace"],sanitise:s,sanitiseAll:function(e){return s(e.split("/").join("_"))}}},751:function(e,t,r){"use strict";const n=r(364),i=r(975),o=r(725),s=r(725),a=r(115),l=r(33).jptr,c=r(880).recurse,p=r(920).clone,u=r(737).dereference,d=r(264).isRef,f=r(435);function h(e,t,r,n,i,s){let a=s.externalRefs[r+n].paths[0],u=o.parse(i),h={},m=1;for(;m;)m=0,c(e,{identityDetection:!0},function(e,r,n){if(d(e,r))if(e[r].startsWith("#"))if(h[e[r]]||e.$fixed){if(!e.$fixed){let t=(a+"/"+h[e[r]]).split("/#/").join("/");n.parent[n.pkey]={$ref:t,"x-miro":e[r],$fixed:!0},s.verbose>1&&console.warn("Replacing with",t),m++}}else{let i=p(l(t,e[r]));if(s.verbose>1&&console.warn((!1===i?f.colour.red:f.colour.green)+"Fragment resolution",e[r],f.colour.normal),!1===i){if(n.parent[n.pkey]={},s.fatal){let t=new Error("Fragment $ref resolution failed "+e[r]);if(!s.promise)throw t;s.promise.reject(t)}}else m++,n.parent[n.pkey]=i,h[e[r]]=n.path.replace("/%24ref","")}else if(u.protocol){let t=o.resolve(i,e[r]).toString();s.verbose>1&&console.warn(f.colour.yellow+"Rewriting external url ref",e[r],"as",t,f.colour.normal),e["x-miro"]=e[r],s.externalRefs[e[r]]&&(s.externalRefs[t]||(s.externalRefs[t]=s.externalRefs[e[r]]),s.externalRefs[t].failed=s.externalRefs[e[r]].failed),e[r]=t}
8else if(!e["x-miro"]){let t=o.resolve(i,e[r]).toString(),n=!1;s.externalRefs[e[r]]&&(n=s.externalRefs[e[r]].failed),n||(s.verbose>1&&console.warn(f.colour.yellow+"Rewriting external ref",e[r],"as",t,f.colour.normal),e["x-miro"]=e[r],e[r]=t)}});return c(e,{},function(e,t,r){d(e,t)&&void 0!==e.$fixed&&delete e.$fixed}),s.verbose>1&&console.warn("Finished fragment resolution"),e}function m(e,t){if(!t.filters||!t.filters.length)return e;for(let r of t.filters)e=r(e,t);return e}function g(e,t,r,s){var c=o.parse(r.source),u=r.source.split("\\").join("/").split("/");u.pop()||u.pop();let d="",f=t.split("#");f.length>1&&(d="#"+f[1],t=f[0]),u=u.join("/");let g=(y=o.parse(t).protocol,b=c.protocol,y&&y.length>2?y:b&&b.length>2?b:"file:");var y,b;let v;if(v="file:"===g?i.resolve(u?u+"/":"",t):o.resolve(u?u+"/":"",t),r.cache[v]){r.verbose&&console.warn("CACHED",v,d);let e=p(r.cache[v]),n=r.externalRef=e;if(d&&(n=l(n,d),!1===n&&(n={},r.fatal))){let e=new Error("Cached $ref resolution failed "+v+d);if(!r.promise)throw e;r.promise.reject(e)}return n=h(n,e,t,d,v,r),n=m(n,r),s(p(n),v,r),Promise.resolve(n)}if(r.verbose&&console.warn("GET",v,d),r.handlers&&r.handlers[g])return r.handlers[g](u,t,d,r).then(function(e){return r.externalRef=e,e=m(e,r),r.cache[v]=e,s(e,v,r),e}).catch(function(e){throw r.verbose&&console.warn(e),e});if(g&&g.startsWith("http")){const e=Object.assign({},r.fetchOptions,{agent:r.agent});return r.fetch(v,e).then(function(e){if(200!==e.status){if(r.ignoreIOErrors)return r.verbose&&console.warn("FAILED",t),r.externalRefs[t].failed=!0,'{"$ref":"'+t+'"}';throw new Error(`Received status code ${e.status}: ${v}`)}return e.text()}).then(function(e){try{let n=a.parse(e,{schema:"core",prettyErrors:!0});if(e=r.externalRef=n,r.cache[v]=p(e),d&&!1===(e=l(e,d))&&(e={},r.fatal)){let e=new Error("Remote $ref resolution failed "+v+d);if(!r.promise)throw e;r.promise.reject(e)}e=m(e=h(e,n,t,d,v,r),r)}catch(e){if(r.verbose&&console.warn(e),!r.promise||!r.fatal)throw e;r.promise.reject(e)}return s(e,v,r),e}).catch(function(e){if(r.verbose&&console.warn(e),r.cache[v]={},!r.promise||!r.fatal)throw e;r.promise.reject(e)})}{const e='{"$ref":"'+t+'"}';return function(e,t,r,i,o){return new Promise(function(s,a){n.readFile(e,t,function(e,t){e?r.ignoreIOErrors&&o?(r.verbose&&console.warn("FAILED",i),r.externalRefs[i].failed=!0,s(o)):a(e):s(t)})})}(v,r.encoding||"utf8",r,t,e).then(function(e){try{let n=a.parse(e,{schema:"core",prettyErrors:!0});if(e=r.externalRef=n,r.cache[v]=p(e),d&&!1===(e=l(e,d))&&(e={},r.fatal)){let e=new Error("File $ref resolution failed "+v+d);if(!r.promise)throw e;r.promise.reject(e)}e=m(e=h(e,n,t,d,v,r),r)}catch(e){if(r.verbose&&console.warn(e),!r.promise||!r.fatal)throw e;r.promise.reject(e)}return s(e,v,r),e}).catch(function(e){if(r.verbose&&console.warn(e),!r.promise||!r.fatal)throw e;r.promise.reject(e)})}}function y(e){return new Promise(function(t,r){(function(e){return new Promise(function(t,r){function n(t,r,n){if(t[r]&&d(t[r],"$ref")){let o=t[r].$ref;if(!o.startsWith("#")){let s="";if(!i[o]){let t=Object.keys(i).find(function(e,t,r){return o.startsWith(e+"/")});t&&(e.verbose&&console.warn("Found potential subschema at",t),s="/"+(o.split("#")[1]||"").replace(t.split("#")[1]||""),s=s.split("/undefined").join(""),o=t)}if(i[o]||(i[o]={resolved:!1,paths:[],extras:{},description:t[r].description}),i[o].resolved)if(i[o].failed);else if(e.rewriteRefs){let n=i[o].resolvedAt;e.verbose>1&&console.warn("Rewriting ref",o,n),t[r]["x-miro"]=o,t[r].$ref=n+s}else t[r]=p(i[o].data);else i[o].paths.push(n.path),i[o].extras[n.path]=s}}}let i=e.externalRefs;if(e.resolver.depth>0&&e.source===e.resolver.base)return t(i);c(e.openapi.definitions,{identityDetection:!0,path:"#/definitions"},n),c(e.openapi.components,{identityDetection:!0,path:"#/components"},n),c(e.openapi,{identityDetection:!0},n),t(i)})})(e).then(function(t){for(let r in t)if(!t[r].resolved){let n=e.resolver.depth;n>0&&n++,e.resolver.actions[n].push(function(){return g(e.openapi,r,e,function(e,n,i){if(!t[r].resolved){let o={};o.context=t[r],o.$ref=r,o.original=p(e),o.updated=e,o.source=n,i.externals.push(o),t[r].resolved=!0}let o=Object.assign({},i,{source:"",resolver:{actions:i.resolver.actions,depth:i.resolver.actions.length-1,base:i.resolver.base}});i.patch&&t[r].description&&!e.description&&"object"==typeof e&&(e.description=t[r].description),t[r].data=e;
8let s=(a=t[r].paths,[...new Set(a)]);var a;s=s.sort(function(e,t){const r=e.startsWith("#/components/")||e.startsWith("#/definitions/"),n=t.startsWith("#/components/")||t.startsWith("#/definitions/");return r&&!n?-1:n&&!r?1:0});for(let c of s)if(t[r].resolvedAt&&c!==t[r].resolvedAt&&c.indexOf("x-ms-examples/")<0)i.verbose>1&&console.warn("Creating pointer to data at",c),l(i.openapi,c,{$ref:t[r].resolvedAt+t[r].extras[c],"x-miro":r+t[r].extras[c]});else{t[r].resolvedAt?i.verbose>1&&console.warn("Avoiding circular reference"):(t[r].resolvedAt=c,i.verbose>1&&console.warn("Creating initial clone of data at",c));let n=p(e);l(i.openapi,c,n)}0===i.resolver.actions[o.resolver.depth].length&&i.resolver.actions[o.resolver.depth].push(function(){return y(o)})})})}}).catch(function(t){e.verbose&&console.warn(t),r(t)});let n={options:e};n.actions=e.resolver.actions[e.resolver.depth],t(n)})}function b(e,t,r){e.resolver.actions.push([]),y(e).then(function(n){var i;(i=n.actions,i.reduce((e,t)=>e.then(e=>t().then(Array.prototype.concat.bind(e))),Promise.resolve([]))).then(function(){if(e.resolver.depth>=e.resolver.actions.length)return console.warn("Ran off the end of resolver actions"),t(!0);e.resolver.depth++,e.resolver.actions[e.resolver.depth].length?setTimeout(function(){b(n.options,t,r)},0):(e.verbose>1&&console.warn(f.colour.yellow+"Finished external resolution!",f.colour.normal),e.resolveInternal&&(e.verbose>1&&console.warn(f.colour.yellow+"Starting internal resolution!",f.colour.normal),e.openapi=u(e.openapi,e.original,{verbose:e.verbose-1}),e.verbose>1&&console.warn(f.colour.yellow+"Finished internal resolution!",f.colour.normal)),c(e.openapi,{},function(t,r,n){d(t,r)&&(e.preserveMiro||delete t["x-miro"])}),t(e))}).catch(function(t){e.verbose&&console.warn(t),r(t)})}).catch(function(t){e.verbose&&console.warn(t),r(t)})}function v(e){if(e.cache||(e.cache={}),e.fetch||(e.fetch=s),e.source){let t=o.parse(e.source);(!t.protocol||t.protocol.length<=2)&&(e.source=i.resolve(e.source))}e.externals=[],e.externalRefs={},e.rewriteRefs=!0,e.resolver={},e.resolver.depth=0,e.resolver.base=e.source,e.resolver.actions=[[]]}e.exports={optionalResolve:function(e){return v(e),new Promise(function(t,r){e.resolve?b(e,t,r):t(e)})},resolve:function(e,t,r){return r||(r={}),r.openapi=e,r.source=t,r.resolve=!0,v(r),new Promise(function(e,t){b(r,e,t)})}}},319:function(e){"use strict";function t(){return{depth:0,seen:new WeakMap,top:!0,combine:!1,allowRefSiblings:!1}}e.exports={getDefaultState:t,walkSchema:function e(r,n,i,o){if(void 0===i.depth&&(i=t()),null==r)return r;if(void 0!==r.$ref){let e={$ref:r.$ref};return i.allowRefSiblings&&r.description&&(e.description=r.description),o(e,n,i),e}if(i.combine&&(r.allOf&&Array.isArray(r.allOf)&&1===r.allOf.length&&delete(r=Object.assign({},r.allOf[0],r)).allOf,r.anyOf&&Array.isArray(r.anyOf)&&1===r.anyOf.length&&delete(r=Object.assign({},r.anyOf[0],r)).anyOf,r.oneOf&&Array.isArray(r.oneOf)&&1===r.oneOf.length&&delete(r=Object.assign({},r.oneOf[0],r)).oneOf),o(r,n,i),i.seen.has(r))return r;if("object"==typeof r&&null!==r&&i.seen.set(r,!0),i.top=!1,i.depth++,void 0!==r.items&&(i.property="items",e(r.items,r,i,o)),r.additionalItems&&"object"==typeof r.additionalItems&&(i.property="additionalItems",e(r.additionalItems,r,i,o)),r.additionalProperties&&"object"==typeof r.additionalProperties&&(i.property="additionalProperties",e(r.additionalProperties,r,i,o)),r.properties)for(let t in r.properties){let n=r.properties[t];i.property="properties/"+t,e(n,r,i,o)}if(r.patternProperties)for(let t in r.patternProperties){let n=r.patternProperties[t];i.property="patternProperties/"+t,e(n,r,i,o)}if(r.allOf)for(let t in r.allOf){let n=r.allOf[t];i.property="allOf/"+t,e(n,r,i,o)}if(r.anyOf)for(let t in r.anyOf){let n=r.anyOf[t];i.property="anyOf/"+t,e(n,r,i,o)}if(r.oneOf)for(let t in r.oneOf){let n=r.oneOf[t];i.property="oneOf/"+t,e(n,r,i,o)}return r.not&&(i.property="not",e(r.not,r,i,o)),i.depth--,r}}},975:function(e){"use strict";function t(e){if("string"!=typeof e)throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}function r(e,t){for(var r,n="",i=0,o=-1,s=0,a=0;a<=e.length;++a){if(a<e.length)r=e.charCodeAt(a);else{if(47===r)break;r=47}if(47===r){if(o===a-1||1===s);else if(o!==a-1&&2===s){if(n.length<2||2!==i||46!==n.charCodeAt(n.length-1)||46!==n.charCodeAt(n.length-2))if(n.length>2){var l=n.lastIndexOf("/");if(l!==n.length-1){-1===l?(n="",i=0):i=(n=n.slice(0,l)).length-1-n.lastIndexOf("/"),o=a,s=0;continue}}else if(2===n.length||1===n.length){n="",i=0,o=a,s=0;continue}t&&(n.length>0?n+="/..":n="..",i=2)}else n.length>0?n+="/"+e.slice(o+1,a):n=e.slice(o+1,a),i=a-o-1;o=a,s=0}else 46===r&&-1!==s?++s:s=-1}return n}var n={resolve:function(){for(var e,n="",i=!1,o=arguments.length-1;o>=-1&&!i;o--){var s;o>=0?s=arguments[o]:(void 0===e&&(e=process.cwd()),s=e),t(s),0!==s.length&&(n=s+"/"+n,i=47===s.charCodeAt(0))}return n=r(n,!i),i?n.length>0?"/"+n:"/":n.length>0?n:"."},normalize:function(e){if(t(e),0===e.length)return".";var n=47===e.charCodeAt(0),i=47===e.charCodeAt(e.length-1);return 0!==(e=r(e,!n)).length||n||(e="."),e.length>0&&i&&(e+="/"),n?"/"+e:e},isAbsolute:function(e){return t(e),e.length>0&&47===e.charCodeAt(0)},join:function(){if(0===arguments.length)return".";for(var e,r=0;r<arguments.length;++r){var i=arguments[r];t(i),i.length>0&&(void 0===e?e=i:e+="/"+i)}return void 0===e?".":n.normalize(e)},relative:function(e,r){if(t(e),t(r),e===r)return"";if((e=n.resolve(e))===(r=n.resolve(r)))return"";for(var i=1;i<e.length&&47===e.charCodeAt(i);++i);for(var o=e.length,s=o-i,a=1;a<r.length&&47===r.charCodeAt(a);++a);for(var l=r.length-a,c=s<l?s:l,p=-1,u=0;u<=c;++u){if(u===c){if(l>c){if(47===r.charCodeAt(a+u))return r.slice(a+u+1);if(0===u)return r.slice(a+u)}else s>c&&(47===e.charCodeAt(i+u)?p=u:0===u&&(p=0));break}var d=e.charCodeAt(i+u);if(d!==r.charCodeAt(a+u))break;47===d&&(p=u)}var f="";for(u=i+p+1;u<=o;++u)u!==o&&47!==e.charCodeAt(u)||(0===f.length?f+="..":f+="/..");return f.length>0?f+r.slice(a+p):(a+=p,47===r.charCodeAt(a)&&++a,r.slice(a))},_makeLong:function(e){return e},dirname:function(e){if(t(e),0===e.length)return".";for(var r=e.charCodeAt(0),n=47===r,i=-1,o=!0,s=e.length-1;s>=1;--s)if(47===(r=e.charCodeAt(s))){if(!o){i=s;break}}else o=!1;
8return-1===i?n?"/":".":n&&1===i?"//":e.slice(0,i)},basename:function(e,r){if(void 0!==r&&"string"!=typeof r)throw new TypeError('"ext" argument must be a string');t(e);var n,i=0,o=-1,s=!0;if(void 0!==r&&r.length>0&&r.length<=e.length){if(r.length===e.length&&r===e)return"";var a=r.length-1,l=-1;for(n=e.length-1;n>=0;--n){var c=e.charCodeAt(n);if(47===c){if(!s){i=n+1;break}}else-1===l&&(s=!1,l=n+1),a>=0&&(c===r.charCodeAt(a)?-1===--a&&(o=n):(a=-1,o=l))}return i===o?o=l:-1===o&&(o=e.length),e.slice(i,o)}for(n=e.length-1;n>=0;--n)if(47===e.charCodeAt(n)){if(!s){i=n+1;break}}else-1===o&&(s=!1,o=n+1);return-1===o?"":e.slice(i,o)},extname:function(e){t(e);for(var r=-1,n=0,i=-1,o=!0,s=0,a=e.length-1;a>=0;--a){var l=e.charCodeAt(a);if(47!==l)-1===i&&(o=!1,i=a+1),46===l?-1===r?r=a:1!==s&&(s=1):-1!==r&&(s=-1);else if(!o){n=a+1;break}}return-1===r||-1===i||0===s||1===s&&r===i-1&&r===n+1?"":e.slice(r,i)},format:function(e){if(null===e||"object"!=typeof e)throw new TypeError('The "pathObject" argument must be of type Object. Received type '+typeof e);return function(e,t){var r=t.dir||t.root,n=t.base||(t.name||"")+(t.ext||"");return r?r===t.root?r+n:r+"/"+n:n}(0,e)},parse:function(e){t(e);var r={root:"",dir:"",base:"",ext:"",name:""};if(0===e.length)return r;var n,i=e.charCodeAt(0),o=47===i;o?(r.root="/",n=1):n=0;for(var s=-1,a=0,l=-1,c=!0,p=e.length-1,u=0;p>=n;--p)if(47!==(i=e.charCodeAt(p)))-1===l&&(c=!1,l=p+1),46===i?-1===s?s=p:1!==u&&(u=1):-1!==s&&(u=-1);else if(!c){a=p+1;break}return-1===s||-1===l||0===u||1===u&&s===l-1&&s===a+1?-1!==l&&(r.base=r.name=0===a&&o?e.slice(1,l):e.slice(a,l)):(0===a&&o?(r.name=e.slice(1,s),r.base=e.slice(1,l)):(r.name=e.slice(a,s),r.base=e.slice(a,l)),r.ext=e.slice(s,l)),a>0?r.dir=e.slice(0,a-1):o&&(r.dir="/"),r},sep:"/",delimiter:":",win32:null,posix:null};n.posix=n,e.exports=n},920:function(e){"use strict";e.exports={nop:function(e){return e},clone:function(e){return JSON.parse(JSON.stringify(e))},shallowClone:function(e){let t={};for(let r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);return t},deepClone:function e(t){let r=Array.isArray(t)?[]:{};for(let n in t)(t.hasOwnProperty(n)||Array.isArray(t))&&(r[n]="object"==typeof t[n]?e(t[n]):t[n]);return r},fastClone:function(e){return Object.assign({},e)},circularClone:function e(t,r){if(r||(r=new WeakMap),Object(t)!==t||t instanceof Function)return t;if(r.has(t))return r.get(t);try{var n=new t.constructor}catch(e){n=Object.create(Object.getPrototypeOf(t))}return r.set(t,n),Object.assign(n,...Object.keys(t).map(n=>({[n]:e(t[n],r)})))}}},737:function(e,t,r){"use strict";const n=r(880).recurse,i=r(920).shallowClone,o=r(33).jptr,s=r(264).isRef;e.exports={dereference:function e(t,r,a){a||(a={}),a.cache||(a.cache={}),a.state||(a.state={}),a.state.identityDetection=!0,a.depth=a.depth?a.depth+1:1;let l=a.depth>1?t:i(t),c={data:l},p=a.depth>1?r:i(r);a.master||(a.master=l);let u=function(e){return e&&e.verbose?{warn:function(){var e=Array.prototype.slice.call(arguments);console.warn.apply(console,e)}}:{warn:function(){}}}(a),d=1;for(;d>0;)d=0,n(c,a.state,function(t,r,n){if(s(t,r)){let i=t[r];if(d++,a.cache[i]){let e=a.cache[i];if(e.resolved)u.warn("Patching %s for %s",i,e.path),n.parent[n.pkey]=e.data,a.$ref&&"object"==typeof n.parent[n.pkey]&&null!==n.parent[n.pkey]&&(n.parent[n.pkey][a.$ref]=i);else{if(i===e.path)throw new Error(`Tight circle at ${e.path}`);u.warn("Unresolved ref"),n.parent[n.pkey]=o(e.source,e.path),!1===n.parent[n.pkey]&&(n.parent[n.pkey]=o(e.source,e.key)),a.$ref&&"object"==typeof n.parent[n.pkey]&&null!==n.parent[n.pkey]&&(n.parent[a.$ref]=i)}}else{let t={};t.path=n.path.split("/$ref")[0],t.key=i,u.warn("Dereffing %s at %s",i,t.path),t.source=p,t.data=o(t.source,t.key),!1===t.data&&(t.data=o(a.master,t.key),t.source=a.master),!1===t.data&&u.warn("Missing $ref target",t.key),a.cache[i]=t,t.data=n.parent[n.pkey]=e(o(t.source,t.key),t.source,a),a.$ref&&"object"==typeof n.parent[n.pkey]&&null!==n.parent[n.pkey]&&(n.parent[n.pkey][a.$ref]=i),t.resolved=!0}}});return c.data}}},264:function(e){"use strict";e.exports={isRef:function(e,t){return"$ref"===t&&!!e&&"string"==typeof e[t]}}},33:function(e){"use strict";function t(e){return e.replace(/\~1/g,"/").replace(/~0/g,"~")}e.exports={jptr:function(e,r,n){if(void 0===e)return!1;if(!r||"string"!=typeof r||"#"===r)return void 0!==n?n:e;if(r.indexOf("#")>=0){let e=r.split("#");if(e[0])return!1;r=e[1],r=decodeURIComponent(r.slice(1).split("+").join(" "))}r.startsWith("/")&&(r=r.slice(1));let i=r.split("/");for(let o=0;o<i.length;o++){i[o]=t(i[o]);let r=void 0!==n&&o==i.length-1,s=parseInt(i[o],10);if(!Array.isArray(e)||isNaN(s)||s.toString()!==i[o]?s=Array.isArray(e)&&"-"===i[o]?-2:-1:i[o]=o>0?i[o-1]:"",-1!=s||e&&e.hasOwnProperty(i[o]))if(s>=0)r&&(e[s]=n),e=e[s];else{if(-2===s)return r?(Array.isArray(e)&&e.push(n),n):void 0;r&&(e[i[o]]=n),e=e[i[o]]}else{if(void 0===n||"object"!=typeof e||Array.isArray(e))return!1;e[i[o]]=r?n:"0"===i[o+1]||"-"===i[o+1]?[]:{},e=e[i[o]]}}return e},jpescape:function(e){return e.replace(/\~/g,"~0").replace(/\//g,"~1")},jpunescape:t}},880:function(e,t,r){"use strict";const n=r(33).jpescape;e.exports={recurse:function e(t,r,i){if(r||(r={depth:0}),r.depth||(r=Object.assign({},{path:"#",depth:0,pkey:"",parent:{},payload:{},seen:new WeakMap,identity:!1,identityDetection:!1},r)),"object"!=typeof t)return;let o=r.path;for(let s in t){if(r.key=s,r.path=r.path+"/"+encodeURIComponent(n(s)),r.identityPath=r.seen.get(t[s]),r.identity=void 0!==r.identityPath,t.hasOwnProperty(s)&&i(t,s,r),"object"==typeof t[s]&&!r.identity){r.identityDetection&&!Array.isArray(t[s])&&null!==t[s]&&r.seen.set(t[s],r.path);let n={};n.parent=t,n.path=r.path,n.depth=r.depth?r.depth+1:1,n.pkey=s,n.payload=r.payload,n.seen=r.seen,n.identity=!1,n.identityDetection=r.identityDetection,e(t[s],n,i)}r.path=o}}}},494:function(e,t,r){"use strict";r.r(t);var n=r(72),i=r.n(n),o=r(825),s=r.n(o),a=r(659),l=r.n(a),c=r(56),p=r.n(c),u=r(540),d=r.n(u),f=r(113),h=r.n(f),m=r(997),g={};g.styleTagTransform=h(),g.setAttributes=p(),g.insert=l().bind(null,"head"),g.domAPI=s(),g.insertStyleElement=d(),i()(m.A,g),t.default=m.A&&m.A.locals?m.A.locals:void 0},72:function(e){"use strict";var t=[];function r(e){for(var r=-1,n=0;n<t.length;n++)if(t[n].identifier===e){r=n;break}return r}function n(e,n){for(var o={},s=[],a=0;a<e.length;a++){var l=e[a],c=n.base?l[0]+n.base:l[0],p=o[c]||0,u="".concat(c," ").concat(p);o[c]=p+1;var d=r(u),f={css:l[1],media:l[2],sourceMap:l[3],supports:l[4],layer:l[5]};if(-1!==d)t[d].references++,t[d].updater(f);else{var h=i(f,n);n.byIndex=a,t.splice(a,0,{identifier:u,updater:h,references:1})}s.push(u)}return s}function i(e,t){var r=t.domAPI(t);return r.update(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap&&t.supports===e.supports&&t.layer===e.layer)return;r.update(e=t)}else r.remove()}}e.exports=function(e,i){var o=n(e=e||[],i=i||{});return function(e){e=e||[];for(var s=0;s<o.length;s++){var a=r(o[s]);t[a].references--}for(var l=n(e,i),c=0;c<o.length;c++){var p=r(o[c]);0===t[p].references&&(t[p].updater(),t.splice(p,1))}o=l}}}
8,659:function(e){"use strict";var t={};e.exports=function(e,r){var n=function(e){if(void 0===t[e]){var r=document.querySelector(e);if(window.HTMLIFrameElement&&r instanceof window.HTMLIFrameElement)try{r=r.contentDocument.head}catch(e){r=null}t[e]=r}return t[e]}(e);if(!n)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");n.appendChild(r)}},540:function(e){"use strict";e.exports=function(e){var t=document.createElement("style");return e.setAttributes(t,e.attributes),e.insert(t,e.options),t}},56:function(e,t,r){"use strict";e.exports=function(e){var t=r.nc;t&&e.setAttribute("nonce",t)}},825:function(e){"use strict";e.exports=function(e){var t=e.insertStyleElement(e);return{update:function(r){!function(e,t,r){var n="";r.supports&&(n+="@supports (".concat(r.supports,") {")),r.media&&(n+="@media ".concat(r.media," {"));var i=void 0!==r.layer;i&&(n+="@layer".concat(r.layer.length>0?" ".concat(r.layer):""," {")),n+=r.css,i&&(n+="}"),r.media&&(n+="}"),r.supports&&(n+="}");var o=r.sourceMap;o&&"undefined"!=typeof btoa&&(n+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(o))))," */")),t.styleTagTransform(n,e,t.options)}(t,e,r)},remove:function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(t)}}}},113:function(e){"use strict";e.exports=function(e,t){if(t.styleSheet)t.styleSheet.cssText=e;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(e))}}},65:function(e,t,r){"use strict";const n=r(364),i=r(725),o=(r(975),r(884)),s=r(725),a=r(115),l=r(33),c=l.jptr,p=r(264).isRef,u=r(920).clone,d=r(920).circularClone,f=r(880).recurse,h=r(751),m=r(319),g=r(435),y=r(665).statusCodes,b=r(430).rE,v="3.0.0";let x;class w extends Error{constructor(e){super(e),this.name="S2OError"}}function S(e,t){let r=new w(e);if(r.options=t,!t.promise)throw r;t.promise.reject(r)}function k(e,t,r){r.warnOnly?t[r.warnProperty||"x-s2o-warning"]=e:S(e,r)}function O(e,t){m.walkSchema(e,{},{},function(e,r,n){!function(e){if(e["x-required"]&&Array.isArray(e["x-required"])&&(e.required||(e.required=[]),e.required=e.required.concat(e["x-required"]),delete e["x-required"]),e["x-anyOf"]&&(e.anyOf=e["x-anyOf"],delete e["x-anyOf"]),e["x-oneOf"]&&(e.oneOf=e["x-oneOf"],delete e["x-oneOf"]),e["x-not"]&&(e.not=e["x-not"],delete e["x-not"]),"boolean"==typeof e["x-nullable"]&&(e.nullable=e["x-nullable"],delete e["x-nullable"]),"object"==typeof e["x-discriminator"]&&"string"==typeof e["x-discriminator"].propertyName){e.discriminator=e["x-discriminator"],delete e["x-discriminator"];for(let t in e.discriminator.mapping){let r=e.discriminator.mapping[t];r.startsWith("#/definitions/")&&(e.discriminator.mapping[t]=r.replace("#/definitions/","#/components/schemas/"))}}}(e),function(e,t,r){if(e.nullable&&r.patches++,e.discriminator&&"string"==typeof e.discriminator&&(e.discriminator={propertyName:e.discriminator}),e.items&&Array.isArray(e.items)&&(0===e.items.length?e.items={}:1===e.items.length?e.items=e.items[0]:e.items={anyOf:e.items}),e.type&&Array.isArray(e.type))if(r.patch){if(r.patches++,0===e.type.length)delete e.type;else{e.oneOf||(e.oneOf=[]);for(let t of e.type){let r={};if("null"===t)e.nullable=!0;else{r.type=t;for(let t of g.arrayProperties)void 0!==e.prop&&(r[t]=e[t],delete e[t])}r.type&&e.oneOf.push(r)}delete e.type,0===e.oneOf.length?delete e.oneOf:e.oneOf.length<2&&(e.type=e.oneOf[0].type,Object.keys(e.oneOf[0]).length>1&&k("Lost properties from oneOf",e,r),delete e.oneOf)}e.type&&Array.isArray(e.type)&&1===e.type.length&&(e.type=e.type[0])}else S("(Patchable) schema type must not be an array",r);e.type&&"null"===e.type&&(delete e.type,e.nullable=!0),"array"!==e.type||e.items||(e.items={}),"file"===e.type&&(e.type="string",e.format="binary"),"boolean"==typeof e.required&&(e.required&&e.name&&(void 0===t.required&&(t.required=[]),Array.isArray(t.required)&&t.required.push(e.name)),delete e.required),e.xml&&"string"==typeof e.xml.namespace&&(e.xml.namespace||delete e.xml.namespace),void 0!==e.allowEmptyValue&&(r.patches++,delete e.allowEmptyValue)}(e,r,t)})}function E(e,t,r){let n=r.payload.options;if(p(e,t)){if(e[t].startsWith("#/components/"));else if("#/consumes"===e[t])delete e[t],r.parent[r.pkey]=u(n.openapi.consumes);else if("#/produces"===e[t])delete e[t],r.parent[r.pkey]=u(n.openapi.produces);else if(e[t].startsWith("#/definitions/")){let r=e[t].replace("#/definitions/","").split("/");const i=l.jpunescape(r[0]);let o=x.schemas[decodeURIComponent(i)];o?r[0]=o:k("Could not resolve reference "+e[t],e,n),e[t]="#/components/schemas/"+r.join("/")}else if(e[t].startsWith("#/parameters/"))e[t]="#/components/parameters/"+g.sanitise(e[t].replace("#/parameters/",""));else if(e[t].startsWith("#/responses/"))e[t]="#/components/responses/"+g.sanitise(e[t].replace("#/responses/",""));else if(e[t].startsWith("#")){let r=u(l.jptr(n.openapi,e[t]));if(!1===r)k("direct $ref not found "+e[t],e,n);else if(n.refmap[e[t]])e[t]=n.refmap[e[t]];else{let o=e[t];o=o.replace("/properties/headers/",""),o=o.replace("/properties/responses/",""),o=o.replace("/properties/parameters/",""),o=o.replace("/properties/schemas/","");let s="schemas",a=o.lastIndexOf("/schema");if(s=o.indexOf("/headers/")>a?"headers":o.indexOf("/responses/")>
8a?"responses":o.indexOf("/example")>a?"examples":o.indexOf("/x-")>a?"extensions":o.indexOf("/parameters/")>a?"parameters":"schemas","schemas"===s&&O(r,n),"responses"!==s&&"extensions"!==s){let o=s.substr(0,s.length-1);"parameter"===o&&r.name&&r.name===g.sanitise(r.name)&&(o=encodeURIComponent(r.name));let a=1;for(e["x-miro"]&&(i=(i=e["x-miro"]).indexOf("#")>=0?i.split("#")[1].split("/").pop():i.split("/").pop().split(".")[0],o=encodeURIComponent(g.sanitise(i)),a="");l.jptr(n.openapi,"#/components/"+s+"/"+o+a);)a=""===a?2:++a;let c="#/components/"+s+"/"+o+a,p="";"examples"===s&&(r={value:r},p="/value"),l.jptr(n.openapi,c,r),n.refmap[e[t]]=c+p,e[t]=c+p}}}if(delete e["x-miro"],Object.keys(e).length>1){const i=e[t],o=r.path.indexOf("/schema")>=0;"preserve"===n.refSiblings||(o&&"allOf"===n.refSiblings?(delete e.$ref,r.parent[r.pkey]={allOf:[{$ref:i},e]}):r.parent[r.pkey]={$ref:i})}}var i;if("x-ms-odata"===t&&"string"==typeof e[t]&&e[t].startsWith("#/")){let r=e[t].replace("#/definitions/","").replace("#/components/schemas/","").split("/"),i=x.schemas[decodeURIComponent(r[0])];i?r[0]=i:k("Could not resolve reference "+e[t],e,n),e[t]="#/components/schemas/"+r.join("/")}}function _(e){for(let t in e)for(let r in e[t]){let n=g.sanitise(r);r!==n&&(e[t][n]=e[t][r],delete e[t][r])}}function $(e,t){if("basic"===e.type&&(e.type="http",e.scheme="basic"),"oauth2"===e.type){let r={},n=e.flow;"application"===e.flow&&(n="clientCredentials"),"accessCode"===e.flow&&(n="authorizationCode"),void 0!==e.authorizationUrl&&(r.authorizationUrl=e.authorizationUrl.split("?")[0].trim()||"/"),"string"==typeof e.tokenUrl&&(r.tokenUrl=e.tokenUrl.split("?")[0].trim()||"/"),r.scopes=e.scopes||{},e.flows={},e.flows[n]=r,delete e.flow,delete e.authorizationUrl,delete e.tokenUrl,delete e.scopes,void 0!==e.name&&(t.patch?(t.patches++,delete e.name):S("(Patchable) oauth2 securitySchemes should not have name property",t))}}function A(e){return e&&!e["x-s2o-delete"]}function P(e,t){if(e.$ref)e.$ref=e.$ref.replace("#/responses/","#/components/responses/");else{e.type&&!e.schema&&(e.schema={}),e.type&&(e.schema.type=e.type),e.items&&"array"!==e.items.type&&(e.items.collectionFormat!==e.collectionFormat&&k("Nested collectionFormats are not supported",e,t),delete e.items.collectionFormat),"array"===e.type?("ssv"===e.collectionFormat?k("collectionFormat:ssv is no longer supported for headers",e,t):"pipes"===e.collectionFormat?k("collectionFormat:pipes is no longer supported for headers",e,t):"multi"===e.collectionFormat?e.explode=!0:"tsv"===e.collectionFormat?(k("collectionFormat:tsv is no longer supported",e,t),e["x-collectionFormat"]="tsv"):e.style="simple",delete e.collectionFormat):e.collectionFormat&&(t.patch?(t.patches++,delete e.collectionFormat):S("(Patchable) collectionFormat is only applicable to header.type array",t)),delete e.type;for(let t of g.parameterTypeProperties)void 0!==e[t]&&(e.schema[t]=e[t],delete e[t]);for(let t of g.arrayProperties)void 0!==e[t]&&(e.schema[t]=e[t],delete e[t])}}function j(e,t){if(e.$ref.indexOf("#/parameters/")>=0){let t=e.$ref.split("#/parameters/");e.$ref=t[0]+"#/components/parameters/"+g.sanitise(t[1])}e.$ref.indexOf("#/definitions/")>=0&&k("Definition used as parameter",e,t)}function C(e,t,r,n,i,o,s){let a,l={},p=!0;if(t&&t.consumes&&"string"==typeof t.consumes){if(!s.patch)return S("(Patchable) operation.consumes must be an array",s);s.patches++,t.consumes=[t.consumes]}Array.isArray(o.consumes)||delete o.consumes;let d=((t?t.consumes:null)||o.consumes||[]).filter(g.uniqueOnly);if(e&&e.$ref&&"string"==typeof e.$ref){j(e,s);let t=decodeURIComponent(e.$ref.replace("#/components/parameters/","")),r=!1,n=o.components.parameters[t];if(n&&!n["x-s2o-delete"]||!e.$ref.startsWith("#/")||(e["x-s2o-delete"]=!0,r=!0),r){let t=e.$ref,r=c(o,e.$ref);!r&&t.startsWith("#/")?k("Could not resolve reference "+t,e,s):r&&(e=r)}}if(e&&(e.name||e.in)){"boolean"==typeof e["x-deprecated"]&&(e.deprecated=e["x-deprecated"],delete e["x-deprecated"]),void 0!==e["x-example"]&&(e.example=e["x-example"],delete e["x-example"]),"body"===e.in||e.type||(s.patch?(s.patches++,e.type="string"):S("(Patchable) parameter.type is mandatory for non-body parameters",s)),e.type&&"object"==typeof e.type&&e.type.$ref&&(e.type=c(o,e.type.$ref)),"file"===e.type&&(e["x-s2o-originalType"]=e.type,a=e.type),e.description&&"object"==typeof e.description&&e.description.$ref&&(e.description=c(o,e.description.$ref)),null===e.description&&delete e.description;let t=e.collectionFormat;if("array"!==e.type||t||(t="csv"),t&&("array"!==e.type&&(s.patch?(s.patches++,delete e.collectionFormat):S("(Patchable) collectionFormat is only applicable to param.type array",s)),"csv"!==t||"query"!==e.in&&"co
8okie"!==e.in||(e.style="form",e.explode=!1),"csv"!==t||"path"!==e.in&&"header"!==e.in||(e.style="simple"),"ssv"===t&&("query"===e.in?e.style="spaceDelimited":k("collectionFormat:ssv is no longer supported except for in:query parameters",e,s)),"pipes"===t&&("query"===e.in?e.style="pipeDelimited":k("collectionFormat:pipes is no longer supported except for in:query parameters",e,s)),"multi"===t&&(e.explode=!0),"tsv"===t&&(k("collectionFormat:tsv is no longer supported",e,s),e["x-collectionFormat"]="tsv"),delete e.collectionFormat),e.type&&"body"!==e.type&&"formData"!==e.in)if(e.items&&e.schema)k("parameter has array,items and schema",e,s);else{e.schema&&s.patches++,e.schema&&"object"==typeof e.schema||(e.schema={}),e.schema.type=e.type,e.items&&(e.schema.items=e.items,delete e.items,f(e.schema.items,null,function(r,n,i){"collectionFormat"===n&&"string"==typeof r[n]&&(t&&r[n]!==t&&k("Nested collectionFormats are not supported",e,s),delete r[n])}));for(let t of g.parameterTypeProperties)void 0!==e[t]&&(e.schema[t]=e[t]),delete e[t]}e.schema&&O(e.schema,s),e["x-ms-skip-url-encoding"]&&"query"===e.in&&(e.allowReserved=!0,delete e["x-ms-skip-url-encoding"])}if(e&&"formData"===e.in){p=!1,l.content={};let t="application/x-www-form-urlencoded";if(d.length&&d.indexOf("multipart/form-data")>=0&&(t="multipart/form-data"),l.content[t]={},e.schema)l.content[t].schema=e.schema,e.schema.$ref&&(l["x-s2o-name"]=decodeURIComponent(e.schema.$ref.replace("#/components/schemas/","")));else{l.content[t].schema={},l.content[t].schema.type="object",l.content[t].schema.properties={},l.content[t].schema.properties[e.name]={};let r=l.content[t].schema,n=l.content[t].schema.properties[e.name];e.description&&(n.description=e.description),e.example&&(n.example=e.example),e.type&&(n.type=e.type);for(let t of g.parameterTypeProperties)void 0!==e[t]&&(n[t]=e[t]);!0===e.required&&(r.required||(r.required=[]),r.required.push(e.name),l.required=!0),void 0!==e.default&&(n.default=e.default),n.properties&&(n.properties=e.properties),e.allOf&&(n.allOf=e.allOf),"array"===e.type&&e.items&&(n.items=e.items,n.items.collectionFormat&&delete n.items.collectionFormat),"file"!==a&&"file"!==e["x-s2o-originalType"]||(n.type="string",n.format="binary"),T(e,n)}}else e&&"file"===e.type&&(e.required&&(l.required=e.required),l.content={},l.content["application/octet-stream"]={},l.content["application/octet-stream"].schema={},l.content["application/octet-stream"].schema.type="string",l.content["application/octet-stream"].schema.format="binary",T(e,l));if(e&&"body"===e.in){l.content={},e.name&&(l["x-s2o-name"]=(t&&t.operationId?g.sanitiseAll(t.operationId):"")+("_"+e.name).toCamelCase()),e.description&&(l.description=e.description),e.required&&(l.required=e.required),t&&s.rbname&&e.name&&(t[s.rbname]=e.name),e.schema&&e.schema.$ref?l["x-s2o-name"]=decodeURIComponent(e.schema.$ref.replace("#/components/schemas/","")):e.schema&&"array"===e.schema.type&&e.schema.items&&e.schema.items.$ref&&(l["x-s2o-name"]=decodeURIComponent(e.schema.items.$ref.replace("#/components/schemas/",""))+"Array"),d.length||d.push("application/json");for(let t of d)l.content[t]={},l.content[t].schema=u(e.schema||{}),O(l.content[t].schema,s);T(e,l)}if(Object.keys(l).length>0&&(e["x-s2o-delete"]=!0,t)&&(t.requestBody&&p?(t.requestBody["x-s2o-overloaded"]=!0,k("Operation "+(t.operationId||i)+" has multiple requestBodies",t,s)):(t.requestBody||(t=r[n]=function(e,t){let r={};for(let n of Object.keys(e))r[n]=e[n],"parameters"===n&&(r.requestBody={},t.rbname&&(r[t.rbname]=""));return r.requestBody={},r}(t,s)),t.requestBody.content&&t.requestBody.content["multipart/form-data"]&&t.requestBody.content["multipart/form-data"].schema&&t.requestBody.content["multipart/form-data"].schema.properties&&l.content["multipart/form-data"]&&l.content["multipart/form-data"].schema&&l.content["multipart/form-data"].schema.properties?(t.requestBody.content["multipart/form-data"].schema.properties=Object.assign(t.requestBody.content["multipart/form-data"].schema.properties,l.content["multipart/form-data"].schema.properties),t.requestBody.content["multipart/form-data"].schema.required=(t.requestBody.content["multipart/form-data"].schema.required||[]).concat(l.content["multipart/form-data"].schema.required||[]),t.requestBody.content["multipart/form-data"].schema.required.length||delete t.requestBody.content["multipart/form-data"].schema.required):t.requestBody.content&&t.requestBody.content["application/x-www-form-urlencoded"]&&t.requestBody.content["application/x-www-form-urlencoded"].schema&&t.requestBody.content["application/x-www-form-urlencoded"].schema.properties&&l.content["application/x-www-form-urlencoded"]&&l.content["application/x-www-form-urlencoded"].schema&&l.content["application/x-www-form-urlencoded"].schema.properties?(t.requestBody.content["application/x-www-form-urlencoded"].schema.properties=Object.assign(t.requestBody.content["application/x-www-form-urlencoded"].schema.properties,l.content["application/x-www-form-urlencoded"].schema.properties),t.requestBody.content["application/x-www-form-urlencoded"].schema.required=(t.requestBody.content["application/x-www-form-urlencoded"].schema.required||[]).concat(l.content["application/x-www-form-urlencoded"].schema.required||[]),t.requestBody.content["application/x-www-form-urlencoded"].schema.required.length||delete t.requestBody.content["application/x-www-form-urlencoded"].schema.required):(t.requestBody=Object.assign(t.requestBody,l),t.requestBody["x-s2o-name"]||(t.requestBody.schema&&t.requestBody.schema.$ref?t.requestBody["x-s2o-name"]=decodeURIComponent(t.requestBody.schema.$ref.replace("#/components/schemas/","")).split("/").join(""):t.operationId&&(t.requestBody["x-s2o-name"]=g.sanitiseAll(t.operationId)))))),e&&!e["x-s2o-delete"]){delete e.type;for(let t of g.parameterTypeProperties)delete e[t];"path"!==e.in||void 0!==e.required&&!0===e.required||(s.patch?(s.patches++,e.required=!0):S("(Patchable) path parameters must be required:true ["+e.n
8ame+" in "+i+"]",s))}return t}function T(e,t){for(let r in e)r.startsWith("x-")&&!r.startsWith("x-s2o")&&(t[r]=e[r])}function I(e,t,r,n,i){if(!e)return!1;if(e.$ref&&"string"==typeof e.$ref)e.$ref.indexOf("#/definitions/")>=0?k("definition used as response: "+e.$ref,e,i):e.$ref.startsWith("#/responses/")&&(e.$ref="#/components/responses/"+g.sanitise(decodeURIComponent(e.$ref.replace("#/responses/",""))));else{if((void 0===e.description||null===e.description||""===e.description&&i.patch)&&(i.patch?"object"!=typeof e||Array.isArray(e)||(i.patches++,e.description=y[e]||""):S("(Patchable) response.description is mandatory",i)),void 0!==e.schema){if(O(e.schema,i),e.schema.$ref&&"string"==typeof e.schema.$ref&&e.schema.$ref.startsWith("#/responses/")&&(e.schema.$ref="#/components/responses/"+g.sanitise(decodeURIComponent(e.schema.$ref.replace("#/responses/","")))),r&&r.produces&&"string"==typeof r.produces){if(!i.patch)return S("(Patchable) operation.produces must be an array",i);i.patches++,r.produces=[r.produces]}n.produces&&!Array.isArray(n.produces)&&delete n.produces;let t=((r?r.produces:null)||n.produces||[]).filter(g.uniqueOnly);t.length||t.push("*/*"),e.content={};for(let r of t){if(e.content[r]={},e.content[r].schema=u(e.schema),e.examples&&e.examples[r]){let t={};t.value=e.examples[r],e.content[r].examples={},e.content[r].examples.response=t,delete e.examples[r]}"file"===e.content[r].schema.type&&(e.content[r].schema={type:"string",format:"binary"})}delete e.schema}for(let t in e.examples)e.content||(e.content={}),e.content[t]||(e.content[t]={}),e.content[t].examples={},e.content[t].examples.response={},e.content[t].examples.response.value=e.examples[t];if(delete e.examples,e.headers)for(let t in e.headers)"status code"===t.toLowerCase()?i.patch?(i.patches++,delete e.headers[t]):S('(Patchable) "Status Code" is not a valid header',i):P(e.headers[t],i)}}function N(e,t,r,n,o){for(let s in e){let a=e[s];a&&a["x-trace"]&&"object"==typeof a["x-trace"]&&(a.trace=a["x-trace"],delete a["x-trace"]),a&&a["x-summary"]&&"string"==typeof a["x-summary"]&&(a.summary=a["x-summary"],delete a["x-summary"]),a&&a["x-description"]&&"string"==typeof a["x-description"]&&(a.description=a["x-description"],delete a["x-description"]),a&&a["x-servers"]&&Array.isArray(a["x-servers"])&&(a.servers=a["x-servers"],delete a["x-servers"]);for(let e in a)if(g.httpMethods.indexOf(e)>=0||"x-amazon-apigateway-any-method"===e){let p=a[e];if(p&&p.parameters&&Array.isArray(p.parameters)){if(a.parameters)for(let t of a.parameters)"string"==typeof t.$ref&&(j(t,r),t=c(o,t.$ref)),p.parameters.find(function(e,r,n){return e.name===t.name&&e.in===t.in})||"formData"!==t.in&&"body"!==t.in&&"file"!==t.type||(p=C(t,p,a,e,s,o,r),r.rbname&&""===p[r.rbname]&&delete p[r.rbname]);for(let t of p.parameters)p=C(t,p,a,e,e+":"+s,o,r);r.rbname&&""===p[r.rbname]&&delete p[r.rbname],r.debug||p.parameters&&(p.parameters=p.parameters.filter(A))}if(p&&p.security&&_(p.security),"object"==typeof p){if(!p.responses){let e={description:"Default response"};p.responses={default:e}}for(let e in p.responses)I(p.responses[e],0,p,o,r)}if(p&&p["x-servers"]&&Array.isArray(p["x-servers"]))p.servers=p["x-servers"],delete p["x-servers"];else if(p&&p.schemes&&p.schemes.length)for(let e of p.schemes)if((!o.schemes||o.schemes.indexOf(e)<0)&&(p.servers||(p.servers=[]),Array.isArray(o.servers)))for(let t of o.servers){let r=u(t),n=i.parse(r.url);n.protocol=e,r.url=n.format(),p.servers.push(r)}if(r.debug&&(p["x-s2o-consumes"]=p.consumes||[],p["x-s2o-produces"]=p.produces||[]),p){if(delete p.consumes,delete p.produces,delete p.schemes,p["x-ms-examples"]){for(let e in p["x-ms-examples"]){let t=p["x-ms-examples"][e],r=g.sanitiseAll(e);if(t.parameters)for(let n in t.parameters){let r=t.parameters[n];for(let t of(p.parameters||[]).concat(a.parameters||[]))t.$ref&&(t=l.jptr(o,t.$ref)),t.name!==n||t.example||(t.examples||(t.examples={}),t.examples[e]={value:r})}if(t.responses)for(let n in t.responses){if(t.responses[n].headers)for(let e in t.responses[n].headers){let r=t.responses[n].headers[e];for(let t in p.responses[n].headers)t===e&&(p.responses[n].headers[t].example=r)}if(t.responses[n].body&&(o.components.examples[r]={value:u(t.responses[n].body)},p.responses[n]&&p.responses[n].content))for(let t in p.responses[n].content){let i=p.responses[n].content[t];i.examples||(i.examples={}),i.examples[e]={$ref:"#/components/examples/"+r}}}}delete p["x-ms-examples"]}if(p.parameters&&0===p.parameters.length&&delete p.parameters,p.requestBody){let r=p.operationId?g.sanitiseAll(p.operationId):g.sanitiseAll(e+s).toCamelCase(),i=g.sanitise(p.requestBody["x-s2o-name"]||r||"");delete p.requestBody["x-s2o-name"];let o=JSON.stringify(p.requestBody),a=g.hash(o);if(!n[a]){let e={};e.name=i,e.body=p.requestBody,e.refs=[],n[a]=e}let c="#/"+t+"/"+encodeURIComponent(l.jpescape(s))+"/"+e+"/requestBody";n[a].refs.push(c)}}}if(a&&a.parameters){for(let e in a.parameters)C(a.parameters[e],null,a,null,s,o,r);!r.debug&&Array.isArray(a.parameters)&&(a.parameters=a.parameters.filter(A))}}}function R(e){return e&&e.url&&"string"==typeof e.url?(e.url=e.url.split("{{").join("{"),e.url=e.url.split("}}").join("}"),e.url.replace(/\{(.+?)\}/g,function(t,r){e.variables||(e.variables={}),e.variables[r]={default:"unknown"}}),e):e}function L(e,t,r){if(void 0===e.info||null===e.info){if(!t.patch)return r(new w("(Patchable) info object is mandatory"));t.patches++,e.info={version:"",title:""}}if("object"!=typeof e.info||Array.isArray(e.info))return r(new w("info must be an object"));if(void 0===e.info.title||null===e.info.title){if(!t.patch)return r(new w("(Patchable) info.title cannot be null"));t.patches++,e.info.title=""}if(void 0===e.info.version||null===e.info.version){if(!t.patch)return r(new w("(Patchable) info.version cannot be null"));t.patches++,e.info.version=""}if("string"!=typeof e.info.version){if(!t.patch)return r(new w("(Patchable) info.version must be a string"));t.patches++,e.info.version=e.info.version.toString()}if(void 0!==e.info.logo){if(!t.patch)return r(new w("(Patchable) info should not have logo property"));t.patches++,e.info["x-logo"]=e.info.logo,delete e.info.logo}if(void 0!==e.info.termsOfService){if(null===e.info.termsOfService){if(!t.patch)return r(new w("(Patchable) info.termsOfService cannot be null"));t.patches++,e.info.termsOfService=""}try{new URL(e.info.termsOfService)}catch(n){if(!t.patch)return r(new w("(Patchable) info.termsOfService must be a URL"));t.patches++,delete e.info.termsOfService}}}function D(e,t,r){if(void 0===e.paths){if(!t.patch)return r(new w("(Patchable) paths object is mandatory"));t.patches++,e.paths={}}}function M(e,t,r){return o(r,new Promise(function(r,n){if(e||(e={}),t.original=e,t.text||(t.text=a.stringify(e)),t.externals=[],t.externalRefs={},t.rewriteRefs=!0,t.preserveMiro=!0,t.promise={},t.promise.resolve=r,t.promise.reject=n,t.patches=0,t.cache||(t.cache={}),t.source&&(t.cache[t.source]=t.original),function(e,t){const r=new WeakSet;f(e,{identityDetection:!0}
8,function(e,n,i){"object"==typeof e[n]&&null!==e[n]&&(r.has(e[n])?t.anchors?e[n]=u(e[n]):S("YAML anchor or merge key at "+i.path,t):r.add(e[n]))})}(e,t),e.openapi&&"string"==typeof e.openapi&&e.openapi.startsWith("3."))return t.openapi=d(e),L(t.openapi,t,n),D(t.openapi,t,n),void h.optionalResolve(t).then(function(){return t.direct?r(t.openapi):r(t)}).catch(function(e){console.warn(e),n(e)});if(!e.swagger||"2.0"!=e.swagger)return n(new w("Unsupported swagger/OpenAPI version: "+(e.openapi?e.openapi:e.swagger)));let i=t.openapi={};if(i.openapi="string"==typeof t.targetVersion&&t.targetVersion.startsWith("3.")?t.targetVersion:v,t.origin){i["x-origin"]||(i["x-origin"]=[]);let r={};r.url=t.source||t.origin,r.format="swagger",r.version=e.swagger,r.converter={},r.converter.url="https://github.com/mermade/oas-kit",r.converter.version=b,i["x-origin"].push(r)}if(i=Object.assign(i,d(e)),delete i.swagger,f(i,{},function(e,t,r){null===e[t]&&!t.startsWith("x-")&&"default"!==t&&r.path.indexOf("/example")<0&&delete e[t]}),e.host)for(let t of Array.isArray(e.schemes)?e.schemes:[""]){let r={},n=(e.basePath||"").replace(/\/$/,"");r.url=(t?t+":":"")+"//"+e.host+n,R(r),i.servers||(i.servers=[]),i.servers.push(r)}else if(e.basePath){let t={};t.url=e.basePath,R(t),i.servers||(i.servers=[]),i.servers.push(t)}if(delete i.host,delete i.basePath,i["x-servers"]&&Array.isArray(i["x-servers"])&&(i.servers=i["x-servers"],delete i["x-servers"]),e["x-ms-parameterized-host"]){let t=e["x-ms-parameterized-host"],r={};r.url=t.hostTemplate+(e.basePath?e.basePath:""),r.variables={};const n=r.url.match(/\{\w+\}/g);for(let e in t.parameters){let o=t.parameters[e];o.$ref&&(o=u(c(i,o.$ref))),e.startsWith("x-")||(delete o.required,delete o.type,delete o.in,void 0===o.default&&(o.enum?o.default=o.enum[0]:o.default="none"),o.name||(o.name=n[e].replace("{","").replace("}","")),r.variables[o.name]=o,delete o.name)}i.servers||(i.servers=[]),!1===t.useSchemePrefix?i.servers.push(r):e.schemes.forEach(e=>{i.servers.push(Object.assign({},r,{url:e+"://"+r.url}))}),delete i["x-ms-parameterized-host"]}L(i,t,n),D(i,t,n),"string"==typeof i.consumes&&(i.consumes=[i.consumes]),"string"==typeof i.produces&&(i.produces=[i.produces]),i.components={},i["x-callbacks"]&&(i.components.callbacks=i["x-callbacks"],delete i["x-callbacks"]),i.components.examples={},i.components.headers={},i["x-links"]&&(i.components.links=i["x-links"],delete i["x-links"]),i.components.parameters=i.parameters||{},i.components.responses=i.responses||{},i.components.requestBodies={},i.components.securitySchemes=i.securityDefinitions||{},i.components.schemas=i.definitions||{},delete i.definitions,delete i.responses,delete i.parameters,delete i.securityDefinitions,h.optionalResolve(t).then(function(){(function(e,t){let r={};x={schemas:{}},e.security&&_(e.security);for(let i in e.components.securitySchemes){let r=g.sanitise(i);i!==r&&(e.components.securitySchemes[r]&&S("Duplicate sanitised securityScheme name "+r,t),e.components.securitySchemes[r]=e.components.securitySchemes[i],delete e.components.securitySchemes[i]),$(e.components.securitySchemes[r],t)}for(let i in e.components.schemas){let r=g.sanitiseAll(i),n="";if(i!==r){for(;e.components.schemas[r+n];)n=n?++n:2;e.components.schemas[r+n]=e.components.schemas[i],delete e.components.schemas[i]}x.schemas[i]=r+n,O(e.components.schemas[r+n],t)}t.refmap={},f(e,{payload:{options:t}},E),function(e,t){for(let r in t.refmap)l.jptr(e,r,{$ref:t.refmap[r]})}(e,t);for(let i in e.components.parameters){let r=g.sanitise(i);i!==r&&(e.components.parameters[r]&&S("Duplicate sanitised parameter name "+r,t),e.components.parameters[r]=e.components.parameters[i],delete e.components.parameters[i]),C(e.components.parameters[r],null,null,null,r,e,t)}for(let i in e.components.responses){let r=g.sanitise(i);i!==r&&(e.components.responses[r]&&S("Duplicate sanitised response name "+r,t),e.components.responses[r]=e.components.responses[i],delete e.components.responses[i]);let n=e.components.responses[r];if(I(n,0,null,e,t),n.headers)for(let e in n.headers)"status code"===e.toLowerCase()?t.patch?(t.patches++,delete n.headers[e]):S('(Patchable) "Status Code" is not a valid header',t):P(n.headers[e],t)}for(let i in e.components.requestBodies){let t=e.components.requestBodies[i],n=JSON.stringify(t),o=g.hash(n),s={};s.name=i,s.body=t,s.refs=[],r[o]=s}if(N(e.paths,"paths",t,r,e),e["x-ms-paths"]&&N(e["x-ms-paths"],"x-ms-paths",t,r,e),!t.debug)for(let i in e.components.parameters)e.components.parameters[i]["x-s2o-delete"]&&delete e.components.parameters[i];t.debug&&(e["x-s2o-consumes"]=e.consumes||[],e["x-s2o-produces"]=e.produces||[]),delete e.consumes,delete e.produces,delete e.schemes;let n=[];if(e.components.requestBodies={},!t.resolveInternal){let t=1;for(let i in r){let o=r[i];if(o.refs.length>1){let r="";for(o.name||(o.name="requestBody",r=t++);n.indexOf(o.name+r)>=0;)r=r?++r:2;o.name=o.name+r,n.push(o.name),e.components.requestBodies[o.name]=u(o.body);for(let t in o.refs){let r={};r.$ref="#/components/requestBodies/"+o.name,l.jptr(e,o.refs[t],r)}}}}e.components.responses&&0===Object.keys(e.components.responses).length&&delete e.components.responses,e.components.parameters&&0===Object.keys(e.components.parameters).length&&delete e.components.parameters,e.components.examples&&0===Object.keys(e.components.examples).length&&delete e.components.examples,e.components.requestBodies&&0===Object.keys(e.components.requestBodies).length&&delete e.components.requestBodies,e.components.securitySchemes&&0===Object.keys(e.components.securitySchemes).length&&delete e.components.securitySchemes,e.components.headers&&0===Object.keys(e.components.headers).length&&delete e.components.headers,e.components.schemas&&0===Object.keys(e.components.schemas).length&&delete e.components.schemas,e.components&&0===Object.keys(e.components).length&&delete e.components})(t.openapi,t),t.direct?r(t.openapi):r(t)}).catch(function(e){console.warn(e),n(e)})}))}function z(e,t,r){return o(r,new Promise(function(r,n){let i=null,o=null;try{i=JSON.parse(e),t.text=JSON.stringify(i,null,2)}catch(r){o=r;try{i=a.parse(e,{schema:"core",prettyErrors:!0}),t.sourceYaml=!0,t.text=e}catch(e){o=e}}i?M(i,t).then(e=>r(e)).catch(e=>n(e)):n(new w(o?o.message:"Could not parse string"))}))}
8e.exports={S2OError:w,targetVersion:v,convert:M,convertObj:M,convertUrl:function(e,t,r){return o(r,new Promise(function(r,n){t.origin=!0,t.source||(t.source=e),t.verbose&&console.warn("GET "+e),t.fetch||(t.fetch=s);const i=Object.assign({},t.fetchOptions,{agent:t.agent});t.fetch(e,i).then(function(t){if(200!==t.status)throw new w(`Received status code ${t.status}: ${e}`);return t.text()}).then(function(e){z(e,t).then(e=>r(e)).catch(e=>n(e))}).catch(function(e){n(e)})}))},convertStr:z,convertFile:function(e,t,r){return o(r,new Promise(function(r,i){n.readFile(e,t.encoding||"utf8",function(n,o){n?i(n):(t.sourceFile=e,z(o,t).then(e=>r(e)).catch(e=>i(e)))})}))},convertStream:function(e,t,r){return o(r,new Promise(function(r,n){let i="";e.on("data",function(e){i+=e}).on("end",function(){z(i,t).then(e=>r(e)).catch(e=>n(e))})}))}}},665:function(e,t,r){"use strict";const n=r(375);e.exports={statusCodes:Object.assign({},{default:"Default response","1XX":"Informational",103:"Early hints","2XX":"Successful","3XX":"Redirection","4XX":"Client Error","5XX":"Server Error","7XX":"Developer Error"},n.STATUS_CODES)}},884:function(e){"use strict";e.exports=r(12305)},648:function(e){"use strict";e.exports=r(95376)},230:function(e){"use strict";e.exports=r(4926)},115:function(e){"use strict";e.exports=r(65023)},725:function(e){"use strict";e.exports=void 0},375:function(){},430:function(e){"use strict";e.exports={rE:"7.0.8"}}},t={};function n(r){var i=t[r];if(void 0!==i)return i.exports;var o=t[r]={id:r,exports:{}};return e[r](o,o.exports,n),o.exports}n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,{a:t}),t},n.d=function(e,t){for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.nc=void 0;var i={};return function(){"use strict";n.r(i),n.d(i,{AUTH_TYPES:function(){return fc},ApiContentWrap:function(){return ed},ApiInfo:function(){return Oc},ApiInfoModel:function(){return Gr},ApiLogo:function(){return Ac},AppStore:function(){return yc},ArraySchema:function(){return xl},BackgroundStub:function(){return td},BodyContent:function(){return yp},COMPONENT_REGEXP:function(){return Vr},CallbackModel:function(){return mn},ClipboardService:function(){return Gs},ContentItem:function(){return Pu},ContentItems:function(){return Au},DiscriminatorDropdown:function(){return ll},Dropdown:function(){return gs},DropdownLabel:function(){return fa},DropdownOrLabel:function(){return Es},DropdownWrapper:function(){return ha},ErrorBoundary:function(){return ie},Example:function(){return pa},ExampleModel:function(){return Wn},ExternalExample:function(){return ua},FieldModel:function(){return Yn},GROUP_DEPTH:function(){return Xi},GroupModel:function(){return qi},HistoryService:function(){return Wt},IS_BROWSER:function(){return a},InvertedSimpleDropdown:function(){return ma},JsonPointer:function(){return Oe},JsonViewer:function(){return oa},LEGACY_REGEXP:function(){return qr},Loading:function(){return le},MDX_COMPONENT_REGEXP:function(){return Ur},Markdown:function(){return Fs},MarkdownRenderer:function(){return Hr},MarkerService:function(){return Gt},MediaContentModel:function(){return ri},MediaTypeModel:function(){return Xn},MediaTypesSwitch:function(){return sp},MenuBuilder:function(){return Zi},MenuItem:function(){return Fu},MenuItemLabel:function(){return qc},MenuItemLi:function(){return Fc},MenuItemTitle:function(){return Uc},MenuItemUl:function(){return zc},MenuItems:function(){return qu},MenuStore:function(){return io},MiddlePanel:function(){return po},MimeLabel:function(){return da},NoSampleLabel:function(){return ga},OLD_SECURITY_DEFINITIONS_JSX_NAME:function(){return ht},ObjectSchema:function(){return cl},OneOfButton:function(){return jl},OneOfSchema:function(){return Cl},OpenAPIParser:function(){return An},Operation:function(){return xu},OperationBadge:function(){return Dc},OperationItem:function(){return Tu},OperationMenuItemContent:function(){return Bu},OperationModel:function(){return vi},OptionsConsumer:function(){return de},OptionsContext:function(){return pe},OptionsProvider:function(){return ue},Parameters:function(){return mp},PayloadSamples:function(){return eu},Redoc:function(){return pd},RedocAttribution:function(){return Vc},RedocNormalizedOptions:function(){return H},RedocStandalone:function(){return yd},RedocWrap:function(){return Zu},RequestBodyModel:function(){return ni},ResponseDetails:function(){return Tp},ResponseHeaders:function(){return _p},ResponseModel:function(){return fi},ResponseSamples:function(){return fu},ResponseTitle:function(){return wp},ResponseView:function(){return Ip},ResponsesList:function(){return Rp},RightPanel:function(){return fo},Row:function(){return mo},SCHEMA_DEFINITION_JSX_NAME:function(){return mt},SECTION_ATTR:function(){return no},SECURITY_DEFINITIONS_JSX_NAME:function(){return ft},SECURITY_SCHEMES_SECTION_PREFIX:function(){return gt},Schema:function(){return ql},SchemaDefinition:function(){return Yl},SchemaModel:function(){return Bn},ScrollService:function(){return lo},SearchBox:function(){return cd},SearchStore:function(){return co},Section:function(){return uo},SectionItem:function(){return Cu},SecurityDefs:function(){return hc},SecuritySchemeModel:function(){return ji},SecuritySchemesModel:function(){return Ci},SideMenu:function(){return Vu},SideNavStyleEnum:function(){return R},SimpleDropdown:function(){return ys},SourceCode:function(){return sa},SourceCodeWithCopy:function(){return aa},SpecStore:function(){return Mi},StickyResponsiveSidebar:function(){return Xu},StoreBuilder:function(){return $o},StoreConsumer:function(){return _o},StoreContext:function(){return Oo},StoreProvider:function(){return Eo},StyledMarkdownBlock:function(){return Ps},ThemeProvider:function(){return Z},Throttle:function(){return $t},alphabeticallyByProp:function(){return Bt},appendToMdHeading:function(){return b},argValueToBoolean:function(){return V},buildComponentComment:function(){return Wr},concatRefStacks:function(){return $n},convertSwagger2OpenAPI:function(){return ve},createGlobalStyle:function(){return J},createStore:function(){return gc},css:function(){return Y},debugTime:function(){return At},debugTimeEnd:function(){return Pt},detectType:function(){return Ue},escapeHTMLAttrChars:function(){return P},expandDefaultServerVariables:function(){return ut},extensionsHook:function(){return re},extractExtensions:function(){return xt},flattenByProp:function(){return m},getBasePath:function(){return E},getContentWithLegacyExamples:function(){return St},getDefinitionName:function(){return nt},getOperationSummary:function(){return Be},getSerializedValue:function(){return Ze},getStatusCodeType:function(){return Me},highlight:function(){return _t},history:function(){return Ht},html2Str:function(){return c},humanizeConstraints:function(){return st},humanizeNumberRange:function(){return ot},isAbsoluteUrl:function(){return k},isArray:function(){return C},isBoolean:function(){return T},isFormUrlEncoded:function(){return He},isJsonLike:function(){return We},isNamedDefinition:function(){return rt},isNumeric:function(){return y},isObject:function(){return x},isOperationName:function(){return Fe},isPayloadSample:function(){return yi},isPrimitiveType:function(){return Ve},isRedocExtension:function(){return vt},isStatusCode:function(){return De},keyframes:function(){return X},langFromMime:function(){return et},loadAndBundleSpec:function(){return be},mapLang:function(){return Et},mapValues:function(){return h},mapWithLast:function(){return f},media:function(){return ee},memoize:function(){return Ft},menuItemDepth:function(){return Bc},mergeObjects:function(){return v}
8,mergeParams:function(){return ct},mergeSimilarMediaTypes:function(){return pt},normalizeServers:function(){return dt},pluralizeType:function(){return wt},pushRef:function(){return _n},querySelector:function(){return l},removeQueryStringAndHash:function(){return $},resolveUrl:function(){return O},safeSlugify:function(){return S},scrollIntoViewIfNeeded:function(){return p},serializeParameterValue:function(){return Xe},serializeParameterValueWithMime:function(){return Je},setSecuritySchemePrefix:function(){return yt},shortenHTTPVerb:function(){return bt},sortByField:function(){return lt},sortByRequired:function(){return at},stripTrailingSlash:function(){return g},styled:function(){return te},titleize:function(){return _},unescapeHTMLChars:function(){return j},urlFormEncodePayload:function(){return Ye},useStore:function(){return Ao}});var e=r(65043),t=r(44436);const o={spacing:{unit:5,sectionHorizontal:e=>{let{spacing:t}=e;return 8*t.unit},sectionVertical:e=>{let{spacing:t}=e;return 8*t.unit}},breakpoints:{small:"50rem",medium:"75rem",large:"105rem"},colors:{tonalOffset:.2,primary:{main:"#32329f",light:e=>{let{colors:r}=e;return(0,t.lighten)(r.tonalOffset,r.primary.main)},dark:e=>{let{colors:r}=e;return(0,t.darken)(r.tonalOffset,r.primary.main)},contrastText:e=>{let{colors:r}=e;return(0,t.readableColor)(r.primary.main)}},success:{main:"#1d8127",light:e=>{let{colors:r}=e;return(0,t.lighten)(2*r.tonalOffset,r.success.main)},dark:e=>{let{colors:r}=e;return(0,t.darken)(r.tonalOffset,r.success.main)},contrastText:e=>{let{colors:r}=e;return(0,t.readableColor)(r.success.main)}},warning:{main:"#ffa500",light:e=>{let{colors:r}=e;return(0,t.lighten)(r.tonalOffset,r.warning.main)},dark:e=>{let{colors:r}=e;return(0,t.darken)(r.tonalOffset,r.warning.main)},contrastText:e=>{let{colors:r}=e;return(0,t.readableColor)(r.warning.main)}},error:{main:"#d41f1c",light:e=>{let{colors:r}=e;return(0,t.lighten)(r.tonalOffset,r.error.main)},dark:e=>{let{colors:r}=e;return(0,t.darken)(r.tonalOffset,r.error.main)},contrastText:e=>{let{colors:r}=e;return(0,t.readableColor)(r.error.main)}},gray:{50:"#FAFAFA",100:"#F5F5F5"},text:{primary:"#333333",secondary:e=>{let{colors:r}=e;return(0,t.lighten)(r.tonalOffset,r.text.primary)}},border:{dark:"rgba(0,0,0, 0.1)",light:"#ffffff"},responses:{success:{color:e=>{let{colors:t}=e;return t.success.main},backgroundColor:e=>{let{colors:r}=e;return(0,t.transparentize)(.93,r.success.main)},tabTextColor:e=>{let{colors:r}=e;return(0,t.lighten)(r.tonalOffset,r.responses.success.color)}},error:{color:e=>{let{colors:t}=e;return t.error.main},backgroundColor:e=>{let{colors:r}=e;return(0,t.transparentize)(.93,r.error.main)},tabTextColor:e=>{let{colors:r}=e;return(0,t.lighten)(r.tonalOffset,r.responses.error.color)}},redirect:{color:e=>{let{colors:t}=e;return t.warning.dark},backgroundColor:e=>{let{colors:r}=e;return(0,t.transparentize)(.93,r.responses.redirect.color)},tabTextColor:e=>{let{colors:r}=e;return(0,t.lighten)(r.tonalOffset,r.responses.redirect.color)}},info:{color:"#186c8e",backgroundColor:e=>{let{colors:r}=e;return(0,t.transparentize)(.93,r.responses.info.color)},tabTextColor:e=>{let{colors:r}=e;return(0,t.lighten)(r.tonalOffset,r.responses.info.color)}}},http:{get:"#2F8132",post:"#186FAF",put:"#95507c",options:"#947014",patch:"#bf581d",delete:"#cc3333",basic:"#707070",link:"#07818F",head:"#A23DAD"}},schema:{linesColor:e=>(0,t.lighten)(e.colors.tonalOffset,(0,t.desaturate)(e.colors.tonalOffset,e.colors.primary.main)),defaultDetailsWidth:"75%",typeNameColor:e=>e.colors.text.secondary,typeTitleColor:e=>e.schema.typeNameColor,requireLabelColor:e=>e.colors.error.main,labelsTextSize:"0.9em",nestingSpacing:"1em",nestedBackground:"#fafafa",arrow:{size:"1.1em",color:e=>e.colors.text.secondary}},typography:{fontSize:"14px",lineHeight:"1.5em",fontWeightRegular:"400",fontWeightBold:"600",fontWeightLight:"300",fontFamily:"Roboto, sans-serif",smoothing:"antialiased",optimizeSpeed:!0,headings:{fontFamily:"Montserrat, sans-serif",fontWeight:"400",lineHeight:"1.6em"},code:{fontSize:"13px",fontFamily:"Courier, monospace",lineHeight:e=>{let{typography:t}=e;return t.lineHeight},fontWeight:e=>{let{typography:t}=e;return t.fontWeightRegular},color:"#c62828",backgroundColor:"rgba(38, 50, 56, 0.05)",wrap:!1},links:{color:e=>{let{colors:t}=e;return t.primary.main},visited:e=>{let{typography:t}=e;return t.links.color},hover:e=>{let{typography:r}=e;return(0,t.lighten)(.2,r.links.color)},textDecoration:"underline",hoverTextDecoration:"underline"}},sidebar:{width:"260px",backgroundColor:"#fafafa",textColor:"#333333",activeTextColor:e=>e.sidebar.textColor!==o.sidebar.textColor?e.sidebar.textColor:e.colors.primary.main,groupItems:{activeBackgroun
8dColor:e=>(0,t.darken)(.1,e.sidebar.backgroundColor),activeTextColor:e=>e.sidebar.activeTextColor,textTransform:"uppercase"},level1Items:{activeBackgroundColor:e=>(0,t.darken)(.05,e.sidebar.backgroundColor),activeTextColor:e=>e.sidebar.activeTextColor,textTransform:"none"},arrow:{size:"1.5em",color:e=>e.sidebar.textColor}},logo:{maxHeight:e=>{let{sidebar:t}=e;return t.width},maxWidth:e=>{let{sidebar:t}=e;return t.width},gutter:"2px"},rightPanel:{backgroundColor:"#263238",width:"40%",textColor:"#ffffff",servers:{overlay:{backgroundColor:"#fafafa",textColor:"#263238"},url:{backgroundColor:"#fff"}}},codeBlock:{backgroundColor:e=>{let{rightPanel:r}=e;return(0,t.darken)(.1,r.backgroundColor)}},fab:{backgroundColor:"#f2f2f2",color:"#0065FB"}};var s=o;const a="undefined"!=typeof window&&"HTMLElement"in window;function l(e){return"undefined"!=typeof document?document.querySelector(e):null}function c(e){return e.split(/<[^>]+>/).map(e=>e.trim()).filter(e=>e.length>0).join(" ")}function p(e){let t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];const r=e.parentNode;if(!r)return;const n=window.getComputedStyle(r,void 0),i=parseInt(n.getPropertyValue("border-top-width"),10),o=parseInt(n.getPropertyValue("border-left-width"),10),s=e.offsetTop-r.offsetTop<r.scrollTop,a=e.offsetTop-r.offsetTop+e.clientHeight-i>r.scrollTop+r.clientHeight,l=e.offsetLeft-r.offsetLeft<r.scrollLeft,c=e.offsetLeft-r.offsetLeft+e.clientWidth-o>r.scrollLeft+r.clientWidth,p=s&&!a;(s||a)&&t&&(r.scrollTop=e.offsetTop-r.offsetTop-r.clientHeight/2-i+e.clientHeight/2),(l||c)&&t&&(r.scrollLeft=e.offsetLeft-r.offsetLeft-r.clientWidth/2-o+e.clientWidth/2),(s||a||l||c)&&!t&&e.scrollIntoView(p)}var u=r(90948),d=n.n(u);function f(e,t){const r=[];for(let n=0;n<e.length-1;n++)r.push(t(e[n],!1));return 0!==e.length&&r.push(t(e[e.length-1],!0)),r}function h(e,t){const r={};for(const n in e)e.hasOwnProperty(n)&&(r[n]=t(e[n],n,e));return r}function m(e,t){const r=[],n=e=>{for(const i of e)r.push(i),i[t]&&n(i[t])};return n(e),r}function g(e){return e.endsWith("/")?e.substring(0,e.length-1):e}function y(e){return!isNaN(parseFloat(e))&&isFinite(e)}function b(e,t,r){const n=new RegExp(`(^|\\n)#\\s?${t}\\s*\\n`,"i"),i=new RegExp(`((\\n|^)#\\s*${t}\\s*(\\n|$)(?:.|\\n)*?)(\\n#|$)`,"i");if(n.test(e))return e.replace(i,`$1\n\n${r}\n$4`);{const n=""===e||e.endsWith("\n\n")?"":e.endsWith("\n")?"\n":"\n\n";return`${e}${n}# ${t}\n\n${r}`}}const v=function(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];if(!r.length)return e;const i=r.shift();
8return void 0===i?e:(w(e)&&w(i)&&Object.keys(i).forEach(t=>{Object.prototype.hasOwnProperty.call(i,t)&&"__proto__"!==t&&(w(i[t])?(e[t]||(e[t]={}),v(e[t],i[t])):e[t]=i[t])}),v(e,...r))},x=e=>null!==e&&"object"==typeof e,w=e=>x(e)&&!C(e);function S(e){return d()(e)||e.toString().toLowerCase().replace(/\s+/g,"-").replace(/&/g,"-and-").replace(/\--+/g,"-").replace(/^-+/,"").replace(/-+$/,"")}function k(e){return/(?:^[a-z][a-z0-9+.-]*:|\/\/)/i.test(e)}function O(e,t){let r;if(t.startsWith("//"))try{r=`${new URL(e).protocol||"https:"}${t}`}catch(e){r=`https:${t}`}else if(k(t))r=t;else if(t.startsWith("/"))try{const n=new URL(e);n.pathname=t,r=n.href}catch(e){r=t}else r=g(e)+"/"+t;return g(r)}function E(e){try{return A(e).pathname}catch(t){return e}}function _(e){return e.charAt(0).toUpperCase()+e.slice(1)}function $(e){try{const t=A(e);return t.search="",t.hash="",t.toString()}catch(t){return e}}function A(e){return"undefined"==typeof URL?new(n(725).URL)(e):new URL(e)}function P(e){return e.replace(/["\\]/g,"\\$&")}function j(e){return e.replace(/&#(\d+);/g,(e,t)=>String.fromCharCode(parseInt(t,10))).replace(/&amp;/g,"&").replace(/&quot;/g,'"')}function C(e){return Array.isArray(e)}function T(e){return"boolean"==typeof e}const I={enum:"Enum",enumSingleValue:"Value",enumArray:"Items",default:"Default",deprecated:"Deprecated",example:"Example",examples:"Examples",recursive:"Recursive",arrayOf:"Array of ",webhook:"Event",const:"Value",noResultsFound:"No results found",download:"Download",downloadSpecification:"Download OpenAPI specification",responses:"Responses",callbackResponses:"Callback responses",requestSamples:"Request samples",responseSamples:"Response samples"};function N(e,t){const r=I[e];return void 0!==t?r[t]:r}var R=(e=>(e.SummaryOnly="summary-only",e.PathOnly="path-only",e.IdOnly="id-only",e))(R||{}),L=Object.defineProperty,D=Object.defineProperties,M=Object.getOwnPropertyDescriptors,z=Object.getOwnPropertySymbols,F=Object.prototype.hasOwnProperty,B=Object.prototype.propertyIsEnumerable,q=(e,t,r)=>t in e?L(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,U=(e,t)=>{for(var r in t||(t={}))F.call(t,r)&&q(e,r,t[r]);if(z)for(var r of z(t))B.call(t,r)&&q(e,r,t[r]);return e};function V(e,t){return void 0===e?t||!1:"string"==typeof e?"false"!==e:e}function W(e){return"string"==typeof e?parseInt(e,10):"number"==typeof e?e:void 0}class H{static normalizeExpandResponses(e){if("all"===e)return"all";if("string"==typeof e){const t={};return e.split(",").forEach(e=>{t[e.trim()]=!0}),t}return void 0!==e&&console.warn(`expandResponses must be a string but received value "${e}" of type ${typeof e}`),{}}static normalizeHideHostname(e){return!!e}static normalizeScrollYOffset(e){if("string"==typeof e&&!y(e)){const t=l(e);t||console.warn("scrollYOffset value is a selector to non-existing element. Using offset 0 by default");const r=t&&t.getBoundingClientRect().bottom||0;return()=>r}return"number"==typeof e||y(e)?()=>"number"==typeof e?e:parseFloat(e):"function"==typeof e?()=>{const t=e();return"number"!=typeof t&&console.warn(`scrollYOffset should return number but returned value "${t}" of type ${typeof t}`),t}:(void 0!==e&&console.warn("Wrong value for scrollYOffset ReDoc option: should be string, number or function"),()=>0)}static normalizeShowExtensions(e){if(void 0===e)return!1;if(""===e)return!0;if("string"!=typeof e)return e;switch(e){case"true":return!0;case"false":return!1;default:return e.split(",").map(e=>e.trim())}}static normalizeSideNavStyle(e){const t=R.SummaryOnly;if("string"!=typeof e)return t;switch(e){case t:return e;case R.PathOnly:return R.PathOnly;case R.IdOnly:return R.IdOnly;default:return t}}static normalizePayloadSampleIdx(e){return"number"==typeof e?Math.max(0,e):"string"==typeof e&&isFinite(e)?parseInt(e,10):0}static normalizeJsonSampleExpandLevel(e){return"all"===e?1/0:isNaN(Number(e))?2:Math.ceil(Number(e))}static normalizeGeneratedPayloadSamplesMaxDepth(e){return isNaN(Number(e))?10:Math.max(0,Number(e))}constructor(e){var t,r,n,i,o;const a=(e=U(U({},arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}),e)).theme&&e.theme.extensionsHook;var l,c;(null==(t=e.theme)?void 0:t.menu)&&!(null==(r=e.theme)?void 0:r.sidebar)&&(console.warn('Theme setting "menu" is deprecated. Rename to "sidebar"'),e.theme.sidebar=e.theme.menu),(null==(n=e.theme)?void 0:n.codeSample)&&!(null==(i=e.theme)?void 0:i.codeBlock)&&(console.warn('Theme setting "codeSample" is deprecated. Rename to "codeBlock"'),e.theme.codeBlock=e.theme.codeSample),this.theme=function(e){const t={};let r=0;const n=(i,o)=>
8{Object.keys(i).forEach(s=>{const a=(o?o+".":"")+s,l=i[s];"function"==typeof l?Object.defineProperty(i,s,{get(){if(!t[a]){if(r++,r>1e3)throw new Error(`Theme probably contains circular dependency at ${a}: ${l.toString()}`);t[a]=l(e)}return t[a]},enumerable:!0}):"object"==typeof l&&n(l,a)})};return n(e,""),JSON.parse(JSON.stringify(e))}(v({},s,(l=U({},e.theme),D(l,M({extensionsHook:void 0}))))),this.theme.extensionsHook=a,c=e.labels,Object.assign(I,c),this.scrollYOffset=H.normalizeScrollYOffset(e.scrollYOffset),this.hideHostname=H.normalizeHideHostname(e.hideHostname),this.expandResponses=H.normalizeExpandResponses(e.expandResponses),this.sortRequiredPropsFirst=V(e.sortRequiredPropsFirst||e.requiredPropsFirst),this.sortPropsAlphabetically=V(e.sortPropsAlphabetically),this.sortEnumValuesAlphabetically=V(e.sortEnumValuesAlphabetically),this.sortOperationsAlphabetically=V(e.sortOperationsAlphabetically),this.sortTagsAlphabetically=V(e.sortTagsAlphabetically),this.nativeScrollbars=V(e.nativeScrollbars),this.pathInMiddlePanel=V(e.pathInMiddlePanel),this.sanitize=V(e.sanitize||e.untrustedSpec),this.hideDownloadButtons=V(e.hideDownloadButtons||e.hideDownloadButton),this.downloadFileName=e.downloadFileName,this.downloadDefinitionUrl=e.downloadDefinitionUrl,this.downloadUrls=e.downloadUrls,this.disableSearch=V(e.disableSearch),this.onlyRequiredInSamples=V(e.onlyRequiredInSamples),this.showExtensions=H.normalizeShowExtensions(e.showExtensions),this.sideNavStyle=H.normalizeSideNavStyle(e.sideNavStyle),this.hideSingleRequestSampleTab=V(e.hideSingleRequestSampleTab),this.hideRequestPayloadSample=V(e.hideRequestPayloadSample),this.menuToggle=V(e.menuToggle,!0),this.jsonSamplesExpandLevel=H.normalizeJsonSampleExpandLevel(e.jsonSamplesExpandLevel||e.jsonSampleExpandLevel),this.enumSkipQuotes=V(e.enumSkipQuotes),this.hideSchemaTitles=V(e.hideSchemaTitles),this.simpleOneOfTypeLabel=V(e.simpleOneOfTypeLabel),this.payloadSampleIdx=H.normalizePayloadSampleIdx(e.payloadSampleIdx),this.expandSingleSchemaField=V(e.expandSingleSchemaField),this.schemasExpansionLevel=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return"all"===e?1/0:W(e)||t}(e.schemasExpansionLevel||e.schemaExpansionLevel),this.schemaDefinitionsTagName=e.schemaDefinitionsTagName,this.showObjectSchemaExamples=V(e.showObjectSchemaExamples),this.showSecuritySchemeType=V(e.showSecuritySchemeType),this.hideSecuritySection=V(e.hideSecuritySection),this.unstable_ignoreMimeParameters=V(e.unstable_ignoreMimeParameters),this.allowedMdComponents=e.allowedMdComponents||{},this.expandDefaultServerVariables=V(e.expandDefaultServerVariables),this.maxDisplayedEnumValues=W(e.maxDisplayedEnumValues);const p=C(e.ignoreNamedSchemas)?e.ignoreNamedSchemas:null==(o=e.ignoreNamedSchemas)?void 0:o.split(",").map(e=>e.trim());this.ignoreNamedSchemas=new Set(p),this.hideSchemaPattern=V(e.hideSchemaPattern),this.generatedSamplesMaxDepth=H.normalizeGeneratedPayloadSamplesMaxDepth(e.generatedSamplesMaxDepth||e.generatedPayloadSamplesMaxDepth),this.nonce=e.nonce,this.hideFab=V(e.hideFab),this.minCharacterLengthToInitSearch=W(e.minCharacterLengthToInitSearch)||3,this.showWebhookVerb=V(e.showWebhookVerb),this.hidePropertiesPrefix=V(e.hidePropertiesPrefix,!0)}}var Q=r(40197),G=n.n(Q);const{default:K,css:Y,createGlobalStyle:J,keyframes:X,ThemeProvider:Z}=Q,ee={lessThan:(e,t,r)=>function(){return Y`
9      @media ${t?"print, ":""} screen and (max-width: ${t=>t.theme.breakpoints[e]}) ${r||""} {
10        ${Y(...arguments)};
11      }
12    `},greaterThan:e=>function(){return Y`
13      @media (min-width: ${t=>t.theme.breakpoints[e]}) {
14        ${Y(...arguments)};
15      }
16    `},between:(e,t)=>function(){return Y`
17      @media (min-width: ${t=>t.theme.breakpoints[e]}) and (max-width: ${e=>e.theme.breakpoints[t]}) {
18        ${Y(...arguments)};
19      }
20    `}};var te=K;function re(e){return t=>{if(t.theme.extensionsHook)return t.theme.extensionsHook(e,t)}}const ne=te.div`
21  padding: 20px;
22  color: red;
23`;class ie extends e.Component{constructor(e){super(e),this.state={error:void 0}}componentDidCatch(e){return this.setState({error:e}),!1}render(){return this.state.error?e.createElement(ne,null,e.createElement("h1",null,"Something went wrong..."),e.createElement("small",null," ",this.state.error.message," "),e.createElement("p",null,e.createElement("details",null,e.createElement("summary",null,"Stack trace"),e.createElement("pre",null,this.state.error.stack))),e.createElement("small",null," ReDoc Version: ","2.5.4")," ",e.createElement("br",null),e.createElement("small",null," Commit: ","7a9ec49")):e.createElement(e.Fragment,null,e.Children.only(this.props.children))}}const oe=X`
24  0% {
25    transform: rotate(0deg); }
26  100% {
27    transform: rotate(360deg);
28  }
29`,se=te(t=>e.createElement("svg",{className:t.className,version:"1.1",width:"512",height:"512",viewBox:"0 0 512 512"},e.createElement("path",{d:"M275.682 147.999c0 10.864-8.837 19.661-19.682 19.661v0c-10.875 0-19.681-8.796-19.681-19.661v-96.635c0-10.885 8.806-19.661 19.681-19.661v0c10.844 0 19.682 8.776 19.682 19.661v96.635z"}),e.createElement("path",{d:"M275.682 460.615c0 10.865-8.837 19.682-19.682 19.682v0c-10.875 0-19.681-8.817-19.681-19.682v-96.604c0-10.885 8.806-19.681 19.681-19.681v0c10.844 0 19.682 8.796 19.682 19.682v96.604z"}),e.createElement("path",{d:"M147.978 236.339c10.885 0 19.681 8.755 19.681 19.641v0c0 10.885-8.796 19.702-19.681 19.702h-96.624c-10.864 0-19.661-8.817-19.661-19.702v0c0-10.885 8.796-19.641 19.661-19.641h96.624z"}),e.createElement("path",{d:"M460.615 236.339c10.865 0 19.682 8.755 19.682 19.641v0c0 10.885-8.817 19.702-19.682 19.702h-96.584c-10.885 0-19.722-8.817-19.722-19.702v0c0-10.885 8.837-19.641 19.722-19.641h96.584z"}),e.createElement("path",{d:"M193.546 165.703c7.69 7.66 7.68 20.142 0 27.822v0c-7.701 7.701-20.162 7.701-27.853 0.020l-68.311-68.322c-7.68-7.701-7.68-20.142 0-27.863v0c7.68-7.68 20.121-7.68 27.822 0l68.342 68.342z"}),e.createElement("path",{d:"M414.597 386.775c7.7 7.68 7.7 20.163 0.021 27.863v0c-7.7 7.659-20.142 7.659-27.843-0.062l-68.311-68.26c-7.68-7.7-7.68-20.204 0-27.863v0c7.68-7.7 20.163-7.7 27.842 0l68.291 68.322z"}),e.createElement("path",{d:"M165.694 318.464c7.69-7.7 20.153-7.7 27.853 0v0c7.68 7.659 7.69 20.163 0 27.863l-68.342 68.322c-7.67 7.659-20.142 7.659-27.822-0.062v0c-7.68-7.68-7.68-20.122 0-27.801l68.3
2911-68.322z"}),e.createElement("path",{d:"M386.775 97.362c7.7-7.68 20.142-7.68 27.822 0v0c7.7 7.68 7.7 20.183 0.021 27.863l-68.322 68.311c-7.68 7.68-20.163 7.68-27.843-0.020v0c-7.68-7.68-7.68-20.162 0-27.822l68.322-68.332z"})))`
30  animation: 2s ${oe} linear infinite;
31  width: 50px;
32  height: 50px;
33  content: '';
34  display: inline-block;
35  margin-left: -25px;
36
37  path {
38    fill: ${e=>e.color};
39  }
40`,ae=te.div`
41  font-family: helvetica, sans;
42  width: 100%;
43  text-align: center;
44  font-size: 25px;
45  margin: 30px 0 20px 0;
46  color: ${e=>e.color};
47`;class le extends e.PureComponent{render(){return e.createElement("div",{style:{textAlign:"center"}},e.createElement(ae,{color:this.props.color},"Loading ..."),e.createElement(se,{color:this.props.color}))}}var ce=r(65173);const pe=e.createContext(new H({})),ue=pe.Provider,de=pe.Consumer;var fe=r(64812),he=r(92523),me=r(24910),ge=n(65),ye=(e,t,r)=>new Promise((n,i)=>{var o=e=>{try{a(r.next(e))}catch(e){i(e)}},s=e=>{try{a(r.throw(e))}catch(e){i(e)}},a=e=>e.done?n(e.value):Promise.resolve(e.value).then(o,s);a((r=r.apply(e,t)).next())});function be(e){return ye(this,null,function*(){const t=new me.Config({}),r={config:t,base:a?window.location.href:process.cwd()};a&&(t.resolve.http.customFetch=n.g.fetch),"object"==typeof e&&null!==e?r.doc={source:{absoluteRef:""},parsed:e}:r.ref=e;const{bundle:{parsed:i}}=yield(0,he.bundle)(r);return void 0!==i.swagger?ve(i):i})}function ve(e){return console.warn("[ReDoc Compatibility mode]: Converting OpenAPI 2.0 to OpenAPI 3.0"),new Promise((t,r)=>(0,ge.convertObj)(e,{patch:!0,warnOnly:!0,text:"{}",anchors:!0},(e,n)=>{if(e)return r(e);t(n&&n.openapi)}))}var xe=r(46469),we=r(93216),Se=r(4606);const ke=Se.parse;class Oe{static baseName(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;const r=Oe.parse(e);return r[r.length-t]}static dirName(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;const r=Oe.parse(e);return Se.compile(r.slice(0,r.length-t))}static relative(e,t){const r=Oe.parse(e);return Oe.parse(t).slice(r.length)}static parse(e){let t=e;return"#"===t.charAt(0)&&(t=t.substring(1)),ke(t)}static join(e,t){const r=Oe.parse(e).concat(t);return Se.compile(r)}static get(e,t){return Se.get(e,t)}static compile(e){return Se.compile(e)}static escape(e){return Se.escape(e)}}Se.parse=Oe.parse,Object.assign(Oe,Se);var Ee=n(975),_e=r(12054),$e=Object.defineProperty,Ae=Object.defineProperties,Pe=Object.getOwnPropertyDescriptors,je=Object.getOwnPropertySymbols,Ce=Object.prototype.hasOwnProperty,Te=Object.prototype.propertyIsEnumerable,Ie=(e,t,r)=>t in e?$e(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Ne=(e,t)=>{for(var r in t||(t={}))Ce.call(t,r)&&Ie(e,r,t[r]);if(je)for(var r of je(t))Te.call(t,r)&&Ie(e,r,t[r]);return e},Re=(e,t)=>Ae(e,Pe(t));function Le(e){return"string"==typeof e&&/\dxx/i.test(e)}function De(e){return"default"===e||y(e)||Le(e)}function Me(e){if("default"===e)return arguments.length>1&&void 0!==arguments[1]&&arguments[1]?"error":"success";let t="string"==typeof e?parseInt(e,10):e;if(Le(e)&&(t*=100),t<100||t>599)throw new Error("invalid HTTP code");let r="success";return t>=300&&t<400?r="redirect":t>=400?r="error":t<200&&(r="info"),r}const ze={get:!0,post:!0,put:!0,head:!0,patch:!0,delete:!0,options:!0,$ref:!0};function Fe(e){return e in ze}function Be(e){return e.summary||e.operationId||e.description&&e.description.substring(0,50)||e.pathName||"<no summary>"}const qe={multipleOf:"number",maximum:"number",exclusiveMaximum:"number",minimum:"number",exclusiveMinimum:"number",maxLength:"string",minLength:"string",pattern:"string",contentEncoding:"string",contentMediaType:"string",items:"array",maxItems:"array",minItems:"array",uniqueItems:"array",maxProperties:"object",minProperties:"object",required:"object",additionalProperties:"object",unevaluatedProperties:"object",properties:"object",patternProperties:"object"};function Ue(e){if(void 0!==e.type&&!C(e.type))return e.type;const t=Object.keys(qe);for(const r of t){const t=qe[r];if(void 0!==e[r])return t}return"any"}function Ve(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e.type;if(e["x-circular-ref"])return!0;
47if(void 0!==e.oneOf||void 0!==e.anyOf)return!1;if(e.if&&e.then||e.if&&e.else)return!1;let r=!0;const n=C(t);return("object"===t||n&&(null==t?void 0:t.includes("object")))&&(r=void 0!==e.properties?0===Object.keys(e.properties).length:void 0===e.additionalProperties&&void 0===e.unevaluatedProperties&&void 0===e.patternProperties),!C(e.items)&&!C(e.prefixItems)&&(void 0!==e.items&&!T(e.items)&&("array"===t||n&&(null==t?void 0:t.includes("array")))&&(r=Ve(e.items,e.items.type)),r)}function We(e){return-1!==e.search(/json/i)}function He(e){return"application/x-www-form-urlencoded"===e}function Qe(e,t,r){return C(e)?e.map(e=>e.toString()).join(r):"object"==typeof e?Object.keys(e).map(t=>`${t}${r}${e[t]}`).join(r):t+"="+e.toString()}function Ge(e,t){return C(e)?(console.warn("deepObject style cannot be used with array value:"+e.toString()),""):"object"==typeof e?Object.keys(e).map(r=>`${t}[${r}]=${e[r]}`).join("&"):(console.warn("deepObject style cannot be used with non-object value:"+e.toString()),"")}function Ke(e,t,r){const n="__redoc_param_name__",i=t?"*":"";return _e.parse(`{?${n}${i}}`).expand({[n]:r}).substring(1).replace(/__redoc_param_name__/g,e)}function Ye(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(C(e))throw new Error("Payload must have fields: "+e.toString());return Object.keys(e).map(r=>{const n=e[r],{style:i="form",explode:o=!0}=t[r]||{};switch(i){case"form":return Ke(r,o,n);case"spaceDelimited":return Qe(n,r,"%20");case"pipeDelimited":return Qe(n,r,"|");case"deepObject":return Ge(n,r);default:return console.warn("Incorrect or unsupported encoding style: "+i),""}}).join("&")}function Je(e,t){return We(t)?JSON.stringify(e):(console.warn(`Parameter serialization as ${t} is not supported`),"")}function Xe(e,t){const{name:r,style:n,explode:i=!1,serializationMime:o}=e;if(o)switch(e.in){case"path":case"header":return Je(t,o);case"cookie":case"query":return`${r}=${Je(t,o)}`;default:return console.warn("Unexpected parameter location: "+e.in),""}if(!n)return console.warn(`Missing style attribute or content for parameter ${r}`),"";switch(e.in){case"path":return function(e,t,r,n){const i=r?"*":"";let o="";"label"===t?o=".":"matrix"===t&&(o=";");const s="__redoc_param_name__";return _e.parse(`{${o}${s}${i}}`).expand({[s]:n}).replace(/__redoc_param_name__/g,e)}(r,n,i,t);case"query":return function(e,t,r,n){switch(t){case"form":return Ke(e,r,n);case"spaceDelimited":return C(n)?r?Ke(e,r,n):`${e}=${n.join("%20")}`:(console.warn("The style spaceDelimited is only applicable to arrays"),"");case"pipeDelimited":return C(n)?r?Ke(e,r,n):`${e}=${n.join("|")}`:(console.warn("The style pipeDelimited is only applicable to arrays"),"");case"deepObject":return!r||C(n)||"object"!=typeof n?(console.warn("The style deepObject is only applicable for objects with explode=true"),""):Ge(n,e);default:return console.warn("Unexpected style for query: "+t),""}}(r,n,i,t);case"header":return function(e,t,r){if("simple"===e){const e=t?"*":"",n="__redoc_param_name__",i=_e.parse(`{${n}${e}}`);return decodeURIComponent(i.expand({[n]:r}))}return console.warn("Unexpected style for header: "+e),""}(n,i,t);case"cookie":return function(e,t,r,n){return"form"===t?Ke(e,r,n):(console.warn("Unexpected style for cookie: "+t),"")}(r,n,i,t);default:return console.warn("Unexpected parameter location: "+e.in),""}}function Ze(e,t){return e.in?decodeURIComponent(Xe(e,t)):"object"==typeof t?t:String(t)}function et(e){return-1!==e.search(/xml/i)?"xml":-1!==e.search(/csv/i)?"csv":-1!==e.search(/plain/i)?"tex":"clike"}const tt=/^#\/components\/(schemas|pathItems)\/([^/]+)$/;function rt(e){return tt.test(e||"")}function nt(e){var t;const[r]=(null==(t=null==e?void 0:e.match(tt))?void 0:t.reverse())||[];return r}function it(e,t,r){let n;return void 0!==t&&void 0!==r?n=t===r?`= ${t} ${e}`:`[ ${t} .. ${r} ] ${e}`:void 0!==r?n=`<= ${r} ${e}`:void 0!==t&&(n=1===t?"non-empty":`>= ${t} ${e}`),n}function ot(e){var t,r;const n="number"==typeof e.exclusiveMinimum?Math.min(e.exclusiveMinimum,null!=(t=e.minimum)?t:1/0):e.minimum,i="number"==typeof e.exclusiveMaximum?Math.max(e.exclusiveMaximum,null!=(r=e.maximum)?r:-1/0):e.maximum,o="number"==typeof e.exclusiveMinimum||e.exclusiveMinimum,s="number"==typeof e.exclusiveMaximum||e.exclusiveMaximum;return void 0!==n&&void 0!==i?`${o?"( ":"[ "}${n} .. ${i}${s?" )":" ]"}`:void 0!==i?`${s?"< ":"<= "}${i}`:void 0!==n?`${o?"> ":">= "}${n}`:void 0}function st(e){const t=[],r=it("characters",e.minLength,e.maxLength);void 0!==r&&t.push(r);const n=it("items",e.minItems,e.maxItems);void 0!==n&&t.push(n);const i=it("properties",e.minProperties,e.maxProperties);void 0!==i&&t.push(i);const o=function(e){if(void 0===e)return;const t=e.toString(10);return/^0\.0*1$/.test(t)?`decimal places <= ${t.split(".")[1].length}`:`multiple of ${t}`}(e.multipleOf);void 0!==o&&t.push(o);const s=ot(e);return void 0!==s&&t.push(s),e.uniqueItems&&t.push("unique"),t}function at(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];const r=[],n=[],i=[];
47return e.forEach(e=>{e.required?t.includes(e.name)?n.push(e):i.push(e):r.push(e)}),n.sort((e,r)=>t.indexOf(e.name)-t.indexOf(r.name)),[...n,...i,...r]}function lt(e,t){return[...e].sort((e,r)=>e[t].localeCompare(r[t]))}function ct(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];const n={};return r.forEach(t=>{({resolved:t}=e.deref(t)),n[t.name+"_"+t.in]=!0}),(t=t.filter(t=>(({resolved:t}=e.deref(t)),!n[t.name+"_"+t.in]))).concat(r)}function pt(e){const t={};return Object.keys(e).forEach(r=>{const n=e[r],i=r.split(";")[0].trim();t[i]?t[i]=Ne(Ne({},t[i]),n):t[i]=n}),t}function ut(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return e.replace(/(?:{)([\w-.]+)(?:})/g,(e,r)=>t[r]&&t[r].default||e)}function dt(e,t){const r=void 0===e?$((()=>{if(!a)return"";const e=window.location.href;return e.endsWith(".html")?(0,Ee.dirname)(e):e})()):(0,Ee.dirname)(e);return 0===t.length&&(t=[{url:"/"}]),t.map(e=>{return Re(Ne({},e),{url:(t=e.url,O(r,t)),description:e.description||""});var t})}const ft="SecurityDefinitions",ht="security-definitions",mt="SchemaDefinition";let gt="section/Authentication/";function yt(e){gt=e}const bt=e=>({delete:"del",options:"opts"}[e]||e);function vt(e){return e in{"x-circular-ref":!0,"x-parentRefs":!0,"x-refsStack":!0,"x-code-samples":!0,"x-codeSamples":!0,"x-displayName":!0,"x-examples":!0,"x-enumDescriptions":!0,"x-logo":!0,"x-nullable":!0,"x-servers":!0,"x-tagGroups":!0,"x-traitTag":!0,"x-badges":!0,"x-additionalPropertiesName":!0,"x-explicitMappingOnly":!0}}function xt(e,t){return Object.keys(e).filter(e=>!0===t?e.startsWith("x-")&&!vt(e):e.startsWith("x-")&&t.indexOf(e)>-1).reduce((t,r)=>(t[r]=e[r],t),{})}function wt(e){return e.split(" or ").map(e=>e.replace(/^(string|object|number|integer|array|boolean)s?( ?.*)/,"$1s$2")).join(" or ")}function St(e){let t=e.content;const r=e["x-examples"],n=e["x-example"];if(r){t=Ne({},t);for(const e of Object.keys(r)){const n=r[e];t[e]=Re(Ne({},t[e]),{examples:n})}}else if(n){t=Ne({},t);for(const e of Object.keys(n)){const r=n[e];t[e]=Re(Ne({},t[e]),{example:r})}}return t}var kt=r(82999);r(76149),r(47646),r(83241),r(27296),r(63782),r(34036),r(4117),r(84155),r(66043),r(64618),r(64377),r(15575),r(47819),r(8374),r(87523),r(83817),r(5732),r(73955),r(2426),r(15775),r(684),r(30104),r(76147);const Ot="clike";function Et(e){return{json:"js","c++":"cpp","c#":"csharp","objective-c":"objectivec",shell:"bash",viml:"vim"}[e]||Ot}function _t(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Ot;t=t.toLowerCase();let r=kt.languages[t];return r||(r=kt.languages[Et(t)]),kt.highlight(e.toString(),r,t)}function $t(e){return(t,r,n)=>{n.value=function(e,t){let r,n,i,o=null,s=0;const a=()=>{s=(new Date).getTime(),o=null,i=e.apply(r,n),o||(r=n=null)};return function(){const l=(new Date).getTime(),c=t-(l-s);return r=this,n=arguments,c<=0||c>t?(o&&(clearTimeout(o),o=null),s=l,i=e.apply(r,n),o||(r=n=null)):o||(o=setTimeout(a,c)),i}}(n.value,e)}}function At(e){}function Pt(e){}kt.languages.insertBefore("javascript","string",{"property string":{pattern:/([{,]\s*)"(?:\\.|[^\\"\r\n])*"(?=\s*:)/i,lookbehind:!0}},void 0),kt.languages.insertBefore("javascript","punctuation",{property:{pattern:/([{,]\s*)[a-z]\w*(?=\s*:)/i,lookbehind:!0}},void 0);var jt=Object.defineProperty,Ct=Object.defineProperties,Tt=Object.getOwnPropertyDescriptors,It=Object.getOwnPropertySymbols,Nt=Object.prototype.hasOwnProperty,Rt=Object.prototype.propertyIsEnumerable,Lt=(e,t,r)=>t in e?jt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Dt=(e,t)=>{for(var r in t||(t={}))Nt.call(t,r)&&Lt(e,r,t[r]);if(It)for(var r of It(t))Rt.call(t,r)&&Lt(e,r,t[r]);return e},Mt=(e,t)=>Ct(e,Tt(t));const zt={};function Ft(e,t,r){if("function"==typeof r.value)return function(e,t,r){if(!r.value||r.value.length>0)throw new Error("@memoize decorator can only be applied to methods of zero arguments");const n=`_memoized_${t}`,i=r.value;return e[n]=zt,Mt(Dt({},r),{value(){return this[n]===zt&&(this[n]=i.call(this)),this[n]}})}(e,t,r);if("function"==typeof r.get)return function(e,t,r){const n=`_memoized_${t}`,i=r.get;return e[n]=zt,Mt(Dt({},r),{get(){return this[n]===zt&&(this[n]=i.call(this)),this[n]}})}(e,t,r);throw new Error("@memoize decorator can be applied to methods or getters, got "+String(r.value)+" instead")}function Bt(e){let t=1;return"-"===e[0]&&(t=-1,e=e.substr(1)),(r,n)=>-1==t?n[e].localeCompare(r[e]):r[e].localeCompare(n[e])}var qt=Object.defineProperty,Ut=Object.getOwnPropertyDescriptor;const Vt="hashchange";class Wt{constructor(){this.emit=()=>{this._emiter.emit(Vt,this.currentId)},this._emiter=new we.EventEmitter,this.bind()}
47get currentId(){return a?decodeURIComponent(window.location.hash.substring(1)):""}linkForId(e){return e?"#"+e:""}subscribe(e){const t=this._emiter.addListener(Vt,e);return()=>t.removeListener(Vt,e)}bind(){a&&window.addEventListener("hashchange",this.emit,!1)}dispose(){a&&window.removeEventListener("hashchange",this.emit)}replace(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];a&&null!=e&&e!==this.currentId&&(t?window.history.replaceState(null,"",window.location.href.split("#")[0]+this.linkForId(e)):(window.history.pushState(null,"",window.location.href.split("#")[0]+this.linkForId(e)),this.emit()))}}((e,t,r)=>{for(var n,i=Ut(t,r),o=e.length-1;o>=0;o--)(n=e[o])&&(i=n(t,r,i)||i);i&&qt(t,r,i)})([xe.bind,xe.debounce],Wt.prototype,"replace");const Ht=new Wt;var Qt=r(65322);class Gt{constructor(){this.map=new Map,this.prevTerm=""}add(e){this.map.set(e,new Qt(e))}delete(e){this.map.delete(e)}addOnly(e){this.map.forEach((t,r)=>{-1===e.indexOf(r)&&(t.unmark(),this.map.delete(r))});for(const t of e)this.map.has(t)||this.map.set(t,new Qt(t))}clearAll(){this.unmark(),this.map.clear()}mark(e){(e||this.prevTerm)&&(this.map.forEach(t=>{t.unmark(),t.mark(e||this.prevTerm)}),this.prevTerm=e||this.prevTerm)}unmark(){this.map.forEach(e=>e.unmark()),this.prevTerm=""}}let Kt={async:!1,baseUrl:null,breaks:!1,extensions:null,gfm:!0,headerIds:!0,headerPrefix:"",highlight:null,hooks:null,langPrefix:"language-",mangle:!0,pedantic:!1,renderer:null,sanitize:!1,sanitizer:null,silent:!1,smartypants:!1,tokenizer:null,walkTokens:null,xhtml:!1};const Yt=/[&<>"']/,Jt=new RegExp(Yt.source,"g"),Xt=/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,Zt=new RegExp(Xt.source,"g"),er={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},tr=e=>er[e];function rr(e,t){if(t){if(Yt.test(e))return e.replace(Jt,tr)}else if(Xt.test(e))return e.replace(Zt,tr);return e}const nr=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/gi;function ir(e){return e.replace(nr,(e,t)=>"colon"===(t=t.toLowerCase())?":":"#"===t.charAt(0)?"x"===t.charAt(1)?String.fromCharCode(parseInt(t.substring(2),16)):String.fromCharCode(+t.substring(1)):"")}const or=/(^|[^\[])\^/g;function sr(e,t){e="string"==typeof e?e:e.source,t=t||"";const r={replace:(t,n)=>(n=(n=n.source||n).replace(or,"$1"),e=e.replace(t,n),r),getRegex:()=>new RegExp(e,t)};return r}const ar=/[^\w:]/g,lr=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;function cr(e,t,r){if(e){let t;try{t=decodeURIComponent(ir(r)).replace(ar,"").toLowerCase()}catch(e){return null}if(0===t.indexOf("javascript:")||0===t.indexOf("vbscript:")||0===t.indexOf("data:"))return null}t&&!lr.test(r)&&(r=function(e,t){pr[" "+e]||(ur.test(e)?pr[" "+e]=e+"/":pr[" "+e]=gr(e,"/",!0));const r=-1===(e=pr[" "+e]).indexOf(":");return"//"===t.substring(0,2)?r?t:e.replace(dr,"$1")+t:"/"===t.charAt(0)?r?t:e.replace(fr,"$1")+t:e+t}(t,r));try{r=encodeURI(r).replace(/%25/g,"%")}catch(e){return null}return r}const pr={},ur=/^[^:]+:\/*[^/]*$/,dr=/^([^:]+:)[\s\S]*$/,fr=/^([^:]+:\/*[^/]*)[\s\S]*$/,hr={exec:function(){}};function mr(e,t){const r=e.replace(/\|/g,(e,t,r)=>{let n=!1,i=t;for(;--i>=0&&"\\"===r[i];)n=!n;return n?"|":" |"}).split(/ \|/);let n=0;if(r[0].trim()||r.shift(),r.length>0&&!r[r.length-1].trim()&&r.pop(),r.length>t)r.splice(t);else for(;r.length<t;)r.push("");for(;n<r.length;n++)r[n]=r[n].trim().replace(/\\\|/g,"|");return r}function gr(e,t,r){const n=e.length;if(0===n)return"";let i=0;for(;i<n;){const o=e.charAt(n-i-1);if(o!==t||r){if(o===t||!r)break;i++}else i++}return e.slice(0,n-i)}function yr(e,t){if(t<1)return"";let r="";for(;t>1;)1&t&&(r+=e),t>>=1,e+=e;return r+e}function br(e,t,r,n){const i=t.href,o=t.title?rr(t.title):null,s=e[1].replace(/\\([\[\]])/g,"$1");if("!"!==e[0].charAt(0)){n.state.inLink=!0;const e={type:"link",raw:r,href:i,title:o,text:s,tokens:n.inlineTokens(s)};return n.state.inLink=!1,e}return{type:"image",raw:r,href:i,title:o,text:rr(s)}}class vr{constructor(e){this.options=e||Kt}space(e){const t=this.rules.block.newline.exec(e);if(t&&t[0].length>0)return{type:"space",raw:t[0]}}code(e){const t=this.rules.block.code.exec(e);if(t){const e=t[0].replace(/^ {1,4}/gm,"");return{type:"code",raw:t[0],codeBlockStyle:"indented",text:this.options.pedantic?e:gr(e,"\n")}}}fences(e){const t=this.rules.block.fences.exec(e);if(t){const e=t[0],r=function(e,t){const r=e.match(/^(\s+)(?:```)/);if(null===r)return t;const n=r[1];return t.split("\n").map(e=>{const t=e.match(/^\s+/);if(null===t)return e;const[r]=t;return r.length>=n.length?e.slice(n.length):e}).join("\n")}(e,t[3]||"");return{type:"code",raw:e,lang:t[2]?t[2].trim().replace(this.rules.inline._escapes,"$1"):t[2],text:r}}}heading(e){const t=this.rules.block.heading.exec(e);if(t){let e=t[2].trim();if(/#$/.test(e)){const t=gr(e,"#");this.options.pedantic?e=t.trim():t&&!/ $/.test(t)||(e=t.trim())}return{type:"heading",raw:t[0],depth:t[1].length,text:e,tokens:this.lexer.inline(e)}}}hr(e){const t=this.rules.block.hr.exec(e);if(t)return{type:"hr",raw:t[0]}}blockquote(e){const t=this.rules.block.blockquote.exec(e);if(t){const e=t[0].replace(/^ *>[ \t]?/gm,""),r=this.lexer.state.top;this.lexer.state.top=!0;const n=this.lexer.blockTokens(e);return this.lexer.state.top=r,{type:"blockquote",raw:t[0],tokens:n,text:e}}}list(e){let t=this.rules.block.list.exec(e);if(t){let r,n,i,o,s,a,l,c,p,u,d,f,h=t[1].trim();const m=h.length>1,g={type:"list",raw:"",ordered:m,start:m?+h.slice(0,-1):"",loose:!1,items:[]};h=m?`\\d{1,9}\\${h.slice(-1)}`:`\\${h}`,this.options.pedantic&&(h=m?h:"[*+-]");const y=new RegExp(`^( {0,3}${h})((?:[\t ][^\\n]*)?(?:\\n|$))`);for(;e&&(f=!1,t=y.exec(e))&&!this.rules.block.hr.test(e);){if(r=t[0],e=e.substring(r.length),c=t[2].split("\n",1)[0].replace(/^\t+/,e=>" ".repeat(3*e.length)),p=e.split("\n",1)[0],this.options.pedantic?(o=2,d=c.trimLeft()):(o=t[2].search(/[^ ]/),o=o>4?1:o,d=c.slice(o),o+=t[1].length),a=!1,!c&&/^ *$/.test(p)&&(r+=p+"\n",e=e.substring(p.length+1),f=!0),!f){const t=new RegExp(`^ {0,${Math.min(3,o-1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ \t][^\\n]*)?(?:\\n|$))`),n=new RegExp(`^ {0,${Math.min(3,o-1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`),i=new RegExp(`^ {0,${Math.min(3,o-1)}}(?:\`\`\`|~~~)`),s=new RegExp(`^ {0,${Math.min(3,o-1)}}#`);for(;e&&(u=e.split("\n",1)[0],p=u,this.options.pedantic&&(p=p.replace(/^ {1,4}(?=( {4})*[^ ])/g,"  ")),!i.test(p))&&!s.test(p)&&!t.test(p)&&!n.test(e);){if(p.search(/[^ ]/)>=o||!p.trim())d+="\n"+p.slice(o);else{if(a)break;if(c.search(/[^ ]/)>=4)break;
vendor: 33,605 bytes, line 47
47if(i.test(c))break;if(s.test(c))break;if(n.test(c))break;d+="\n"+p}a||p.trim()||(a=!0),r+=u+"\n",e=e.substring(u.length+1),c=p.slice(o)}}g.loose||(l?g.loose=!0:/\n *\n *$/.test(r)&&(l=!0)),this.options.gfm&&(n=/^\[[ xX]\] /.exec(d),n&&(i="[ ] "!==n[0],d=d.replace(/^\[[ xX]\] +/,""))),g.items.push({type:"list_item",raw:r,task:!!n,checked:i,loose:!1,text:d}),g.raw+=r}g.items[g.items.length-1].raw=r.trimRight(),g.items[g.items.length-1].text=d.trimRight(),g.raw=g.raw.trimRight();const b=g.items.length;for(s=0;s<b;s++)if(this.lexer.state.top=!1,g.items[s].tokens=this.lexer.blockTokens(g.items[s].text,[]),!g.loose){const e=g.items[s].tokens.filter(e=>"space"===e.type),t=e.length>0&&e.some(e=>/\n.*\n/.test(e.raw));g.loose=t}if(g.loose)for(s=0;s<b;s++)g.items[s].loose=!0;return g}}html(e){const t=this.rules.block.html.exec(e);if(t){const e={type:"html",raw:t[0],pre:!this.options.sanitizer&&("pre"===t[1]||"script"===t[1]||"style"===t[1]),text:t[0]};if(this.options.sanitize){const r=this.options.sanitizer?this.options.sanitizer(t[0]):rr(t[0]);e.type="paragraph",e.text=r,e.tokens=this.lexer.inline(r)}return e}}def(e){const t=this.rules.block.def.exec(e);if(t){const e=t[1].toLowerCase().replace(/\s+/g," "),r=t[2]?t[2].replace(/^<(.*)>$/,"$1").replace(this.rules.inline._escapes,"$1"):"",n=t[3]?t[3].substring(1,t[3].length-1).replace(this.rules.inline._escapes,"$1"):t[3];return{type:"def",tag:e,raw:t[0],href:r,title:n}}}table(e){const t=this.rules.block.table.exec(e);if(t){const e={type:"table",header:mr(t[1]).map(e=>({text:e})),align:t[2].replace(/^ *|\| *$/g,"").split(/ *\| */),rows:t[3]&&t[3].trim()?t[3].replace(/\n[ \t]*$/,"").split("\n"):[]};if(e.header.length===e.align.length){e.raw=t[0];let r,n,i,o,s=e.align.length;for(r=0;r<s;r++)/^ *-+: *$/.test(e.align[r])?e.align[r]="right":/^ *:-+: *$/.test(e.align[r])?e.align[r]="center":/^ *:-+ *$/.test(e.align[r])?e.align[r]="left":e.align[r]=null;for(s=e.rows.length,r=0;r<s;r++)e.rows[r]=mr(e.rows[r],e.header.length).map(e=>({text:e}));for(s=e.header.length,n=0;n<s;n++)e.header[n].tokens=this.lexer.inline(e.header[n].text);for(s=e.rows.length,n=0;n<s;n++)for(o=e.rows[n],i=0;i<o.length;i++)o[i].tokens=this.lexer.inline(o[i].text);return e}}}lheading(e){const t=this.rules.block.lheading.exec(e);if(t)return{type:"heading",raw:t[0],depth:"="===t[2].charAt(0)?1:2,text:t[1],tokens:this.lexer.inline(t[1])}}paragraph(e){const t=this.rules.block.paragraph.exec(e);if(t){const e="\n"===t[1].charAt(t[1].length-1)?t[1].slice(0,-1):t[1];return{type:"paragraph",raw:t[0],text:e,tokens:this.lexer.inline(e)}}}text(e){const t=this.rules.block.text.exec(e);if(t)return{type:"text",raw:t[0],text:t[0],tokens:this.lexer.inline(t[0])}}escape(e){const t=this.rules.inline.escape.exec(e);if(t)return{type:"escape",raw:t[0],text:rr(t[1])}}tag(e){const t=this.rules.inline.tag.exec(e);if(t)return!this.lexer.state.inLink&&/^<a /i.test(t[0])?this.lexer.state.inLink=!0:this.lexer.state.inLink&&/^<\/a>/i.test(t[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&/^<(pre|code|kbd|script)(\s|>)/i.test(t[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(t[0])&&(this.lexer.state.inRawBlock=!1),{type:this.options.sanitize?"text":"html",raw:t[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(t[0]):rr(t[0]):t[0]}}link(e){const t=this.rules.inline.link.exec(e);if(t){const e=t[2].trim();if(!this.options.pedantic&&/^</.test(e)){if(!/>$/.test(e))return;const t=gr(e.slice(0,-1),"\\");if((e.length-t.length)%2==0)return}else{const e=function(e,t){if(-1===e.indexOf(t[1]))return-1;const r=e.length;let n=0,i=0;for(;i<r;i++)if("\\"===e[i])i++;else if(e[i]===t[0])n++;else if(e[i]===t[1]&&(n--,n<0))return i;return-1}(t[2],"()");if(e>-1){const r=(0===t[0].indexOf("!")?5:4)+t[1].length+e;t[2]=t[2].substring(0,e),t[0]=t[0].substring(0,r).trim(),t[3]=""}}let r=t[2],n="";if(this.options.pedantic){const e=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(r);e&&(r=e[1],n=e[3])}else n=t[3]?t[3].slice(1,-1):"";return r=r.trim(),/^</.test(r)&&(r=this.options.pedantic&&!/>$/.test(e)?r.slice(1):r.slice(1,-1)),br(t,{href:r?r.replace(this.rules.inline._escapes,"$1"):r,title:n?n.replace(this.rules.inline._escapes,"$1"):n},t[0],this.lexer)}}reflink(e,t){let r;if((r=this.rules.inline.reflink.exec(e))||(r=this.rules.inline.nolink.exec(e))){let e=(r[2]||r[1]).replace(/\s+/g," ");if(e=t[e.toLowerCase()],!e){const e=r[0].charAt(0);return{type:"text",raw:e,text:e}}return br(r,e,r[0],this.lexer)}}emStrong(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",n=this.rules.inline.emStrong.lDelim.exec(e);if(!n)return;if(n[3]&&r.match(/[\p{L}\p{N}]/u))return;const i=n[1]||n[2]||"";if(!i||i&&(""===r||this.rules.inline.punctuation.exec(r))){const r=n[0].length-1;let i,o,s=r,a=0;const l="*"===n[0][0]?this.rules.inline.emStrong.rDelimAst:this.rules.inline.emStrong.rDelimUnd;for(l.lastIndex=0,t=t.slice(-1*e.length+r);null!=(n=l.exec(t));){if(i=n[1]||n[2]||n[3]||n[4]||n[5]||n[6],!i)continue;if(o=i.length,n[3]||n[4]){s+=o;continue}if((n[5]||n[6])&&r%3&&!((r+o)%3)){a+=o;continue}if(s-=o,s>0)continue;o=Math.min(o,o+s+a);const t=e.slice(0,r+n.index+(n[0].length-i.length)+o);if(Math.min(r,o)%2){const e=t.slice(1,-1);return{type:"em",raw:t,text:e,tokens:this.lexer.inlineTokens(e)}}const l=t.slice(2,-2);return{type:"strong",raw:t,text:l,tokens:this.lexer.inlineTokens(l)}}}}codespan(e){const t=this.rules.inline.code.exec(e);if(t){let e=t[2].replace(/\n/g," ");const r=/[^ ]/.test(e),n=/^ /.test(e)&&/ $/.test(e);return r&&n&&(e=e.substring(1,e.length-1)),e=rr(e,!0),{type:"codespan",raw:t[0],text:e}}}br(e){const t=this.rules.inline.br.exec(e);if(t)return{type:"br",raw:t[0]}}del(e){const t=this.rules.inline.del.exec(e);if(t)return{type:"del",raw:t[0],text:t[2],tokens:this.lexer.inlineTokens(t[2])}}autolink(e,t){const r=this.rules.inline.autolink.exec(e);if(r){let e,n;return"@"===r[2]?(e=rr(this.options.mangle?t(r[1]):r[1]),n="mailto:"+e):(e=rr(r[1]),n=e),{type:"link",raw:r[0],text:e,href:n,tokens:[{type:"text",raw:e,text:e}]}}}url(e,t){let r;if(r=this.rules.inline.url.exec(e)){let e,n;if("@"===r[2])e=rr(this.options.mangle?t(r[0]):r[0]),n="mailto:"+e;else{let t;do{t=r[0],r[0]=this.rules.inline._backpedal.exec(r[0])[0]}while(t!==r[0]);e=rr(r[0]),n="www."===r[1]?"http://"+r[0]:r[0]}return{type:"link",raw:r[0],text:e,href:n,tokens:[{type:"text",raw:e,text:e}]}}}inlineText(e,t){const r=this.rules.inline.text.exec(e);if(r){let e;return e=this.lexer.state.inRawBlock?this.options.sanitize?this.options.sanitizer?this.options.sanitizer(r[0]):rr(r[0]):r[0]:rr(this.options.smartypants?t(r[0]):r[0]),{type:"text",raw:r[0],text:e}}}}const xr={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}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,heading:/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,blockquote:/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/,list:/^( {0,3}bull)([ \t][^\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][^\s]*|<.*?>)(?:(?: +(?:\n *)?| *\n *)(title))? *(?:\n+|$)/,table:hr,lheading:/^((?:.|\n(?!\n))+?)\n {0,3}(=+|-+) *(?:\n+|$)/,_paragraph:/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,text:/^[^\n]+/,_label:/(?!\s*\])(?:\\.|[^\[\]\\])+/,_title:/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/};xr.def=sr(xr.def).replace("label",xr._label).replace("title",xr._title).getRegex(),xr.bullet=/(?:[*+-]|\d{1,9}[.)])/,xr.listItemStart=sr(/^( *)(bull) */).replace("bull",xr.bullet).getRegex(),xr.list=sr(xr.list).replace(/bull/g,xr.bullet).replace("hr","\\n+(?=\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$))").replace("def","\\n+(?="+xr.def.source+")").getRegex(),xr._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",xr._comment=/<!--(?!-?>)[\s\S]*?(?:-->|$)/,xr.html=sr(xr.html,"i").replace("comment",xr._comment).replace("tag",xr._tag).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),xr.paragraph=sr(xr._paragraph).replace("hr",xr.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",xr._tag).getRegex(),xr.blockquote=sr(xr.blockquote).replace("paragraph",xr.paragraph).getRegex(),xr.normal={...xr},xr.gfm={...xr.normal,table:"^ *([^\\n ].*\\|.*)\\n {0,3}(?:\\| *)?(:?-+:? *(?:\\| *:?-+:? *)*)(?:\\| *)?(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)"},xr.gfm.table=sr(xr.gfm.table).replace("hr",xr.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",xr._tag).getRegex(),xr.gfm.paragraph=sr(xr._paragraph).replace("hr",xr.hr).replace("heading"," {0,3}#{1,6} ").replace("|lheading","").replace("table",xr.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",xr._tag).getRegex(),xr.pedantic={...xr.normal,html:sr("^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:\"[^\"]*\"|'[^']*'|\\s[^'\"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))").replace("comment",xr._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:hr,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:sr(xr.normal._paragraph).replace("hr",xr.hr).replace("heading"," *#{1,6} *[^\n]").replace("lheading",xr.lheading).replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").getRegex()};const wr={escape:/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,autolink:/^<(scheme:[^\s\x00-\x1f<>]*|email)>/,url:hr,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:hr,text:/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,punctuation:/^([\spunctuation])/};function Sr(e){return e.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 kr(e){let t,r,n="";const i=e.length;for(t=0;t<i;t++)r=e.charCodeAt(t),Math.random()>.5&&(r="x"+r.toString(16)),n+="&#"+r+";";return n}wr._punctuation="!\"#$%&'()+\\-.,/:;<=>?@\\[\\]`^{|}~",wr.punctuation=sr(wr.punctuation).replace(/punctuation/g,wr._punctuation).getRegex(),wr.blockSkip=/\[[^\]]*?\]\([^\)]*?\)|`[^`]*?`|<[^>]*?>/g,wr.escapedEmSt=/(?:^|[^\\])(?:\\\\)*\\[*_]/g,wr._comment=sr(xr._comment).replace("(?:--\x3e|$)","--\x3e").getRegex(),wr.emStrong.lDelim=sr(wr.emStrong.lDelim).replace(/punct/g,wr._punctuation).getRegex(),wr.emStrong.rDelimAst=sr(wr.emStrong.rDelimAst,"g").replace(/punct/g,wr._punctuation).getRegex(),wr.emStrong.rDelimUnd=sr(wr.emStrong.rDelimUnd,"g").replace(/punct/g,wr._punctuation).getRegex(),wr._escapes=/\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/g,wr._scheme=/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/,wr._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])?)+(?![-_])/,wr.autolink=sr(wr.autolink).replace("scheme",wr._scheme).replace("email",wr._email).getRegex(),wr._attribute=/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/,wr.tag=sr(wr.tag).replace("comment",wr._comment).replace("attribute",wr._attribute).getRegex(),wr._label=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,wr._href=/<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/,wr._title=/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/,wr.link=sr(wr.link).replace("label",wr._label).replace("href",wr._href).replace("title",wr._title).getRegex(),wr.reflink=sr(wr.reflink).replace("label",wr._label).replace("ref",xr._label).getRegex(),wr.nolink=sr(wr.nolink).replace("ref",xr._label).getRegex(),wr.reflinkSearch=sr(wr.reflinkSearch,"g").replace("reflink",wr.reflink).replace("nolink",wr.nolink).getRegex(),wr.normal={...wr},wr.pedantic={...wr.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:sr(/^!?\[(label)\]\((.*?)\)/).replace("label",wr._label).getRegex(),reflink:sr(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",wr._label).getRegex()},wr.gfm={...wr.normal,escape:sr(wr.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.!#$%&'*+\/=?_`{\|}~-]+@)))/},wr.gfm.url=sr(wr.gfm.url,"i").replace("email",wr.gfm._extended_email).getRegex(),wr.breaks={...wr.gfm,br:sr(wr.br).replace("{2,}","*").getRegex(),text:sr(wr.gfm.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()};class Or{constructor(e){this.tokens=[],this.tokens.links=Object.create(null),this.options=e||Kt,this.options.tokenizer=this.options.tokenizer||new vr,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 t={block:xr.normal,inline:wr.normal};this.options.pedantic?(t.block=xr.pedantic,t.inline=wr.pedantic):this.options.gfm&&(t.block=xr.gfm,this.options.breaks?t.inline=wr.breaks:t.inline=wr.gfm),this.tokenizer.rules=t}static get rules(){return{block:xr,inline:wr}}static lex(e,t){return new Or(t).lex(e)}static lexInline(e,t){return new Or(t).inlineTokens(e)}lex(e){let t;for(e=e.replace(/\r\n|\r/g,"\n"),this.blockTokens(e,this.tokens);t=this.inlineQueue.shift();)this.inlineTokens(t.src,t.tokens);return this.tokens}blockTokens(e){let t,r,n,i,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];for(e=this.options.pedantic?e.replace(/\t/g,"    ").replace(/^ +$/gm,""):e.replace(/^( *)(\t+)/gm,(e,t,r)=>t+"    ".repeat(r.length));e;)if(!(this.options.extensions&&this.options.extensions.block&&this.options.extensions.block.some(r=>!!(t=r.call({lexer:this},e,o))&&(e=e.substring(t.raw.length),o.push(t),!0))))if(t=this.tokenizer.space(e))e=e.substring(t.raw.length),1===t.raw.length&&o.length>0?o[o.length-1].raw+="\n":o.push(t);else if(t=this.tokenizer.code(e))e=e.substring(t.raw.length),r=o[o.length-1],!r||"paragraph"!==r.type&&"text"!==r.type?o.push(t):(r.raw+="\n"+t.raw,r.text+="\n"+t.text,this.inlineQueue[this.inlineQueue.length-1].src=r.text);else if(t=this.tokenizer.fences(e))e=e.substring(t.raw.length),o.push(t);else if(t=this.tokenizer.heading(e))e=e.substring(t.raw.length),o.push(t);else if(t=this.tokenizer.hr(e))e=e.substring(t.raw.length),o.push(t);else if(t=this.tokenizer.blockquote(e))e=e.substring(t.raw.length),o.push(t);else if(t=this.tokenizer.list(e))e=e.substring(t.raw.length),o.push(t);else if(t=this.tokenizer.html(e))e=e.substring(t.raw.length),o.push(t);else if(t=this.tokenizer.def(e))e=e.substring(t.raw.length),r=o[o.length-1],!r||"paragraph"!==r.type&&"text"!==r.type?this.tokens.links[t.tag]||(this.tokens.links[t.tag]={href:t.href,title:t.title}):(r.raw+="\n"+t.raw,r.text+="\n"+t.raw,this.inlineQueue[this.inlineQueue.length-1].src=r.text);else if(t=this.tokenizer.table(e))e=e.substring(t.raw.length),o.push(t);else if(t=this.tokenizer.lheading(e))e=e.substring(t.raw.length),o.push(t);else{if(n=e,this.options.extensions&&this.options.extensions.startBlock){let t=1/0;const r=e.slice(1);let i;this.options.extensions.startBlock.forEach(function(e){i=e.call({lexer:this},r),"number"==typeof i&&i>=0&&(t=Math.min(t,i))}),t<1/0&&t>=0&&(n=e.substring(0,t+1))}if(this.state.top&&(t=this.tokenizer.paragraph(n)))r=o[o.length-1],i&&"paragraph"===r.type?(r.raw+="\n"+t.raw,r.text+="\n"+t.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=r.text):o.push(t),i=n.length!==e.length,e=e.substring(t.raw.length);else if(t=this.tokenizer.text(e))e=e.substring(t.raw.length),r=o[o.length-1],r&&"text"===r.type?(r.raw+="\n"+t.raw,r.text+="\n"+t.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=r.text):o.push(t);else if(e){const t="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(t);break}throw new Error(t)}}return this.state.top=!0,o}inline(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return this.inlineQueue.push({src:e,tokens:t}),t}inlineTokens(e){let t,r,n,i,o,s,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],l=e;if(this.tokens.links){const e=Object.keys(this.tokens.links);if(e.length>0)for(;null!=(i=this.tokenizer.rules.inline.reflinkSearch.exec(l));)e.includes(i[0].slice(i[0].lastIndexOf("[")+1,-1))&&(l=l.slice(0,i.index)+"["+yr("a",i[0].length-2)+"]"+l.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;null!=(i=this.tokenizer.rules.inline.blockSkip.exec(l));)l=l.slice(0,i.index)+"["+yr("a",i[0].length-2)+"]"+l.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);for(;null!=(i=this.tokenizer.rules.inline.escapedEmSt.exec(l));)l=l.slice(0,i.index+i[0].length-2)+"++"+l.slice(this.tokenizer.rules.inline.escapedEmSt.lastIndex),this.tokenizer.rules.inline.escapedEmSt.lastIndex--;for(;e;)if(o||(s=""),o=!1,!(this.options.extensions&&this.options.extensions.inline&&this.options.extensions.inline.some(r=>!!(t=r.call({lexer:this},e,a))&&(e=e.substring(t.raw.length),a.push(t),!0))))if(t=this.tokenizer.escape(e))e=e.substring(t.raw.length),a.push(t);else if(t=this.tokenizer.tag(e))e=e.substring(t.raw.length),r=a[a.length-1],r&&"text"===t.type&&"text"===r.type?(r.raw+=t.raw,r.text+=t.text):a.push(t);else if(t=this.tokenizer.link(e))e=e.substring(t.raw.length),a.push(t);else if(t=this.tokenizer.reflink(e,this.tokens.links))e=e.substring(t.raw.length),r=a[a.length-1],r&&"text"===t.type&&"text"===r.type?(r.raw+=t.raw,r.text+=t.text):a.push(t);else if(t=this.tokenizer.emStrong(e,l,s))e=e.substring(t.raw.length),a.push(t);else if(t=this.tokenizer.codespan(e))e=e.substring(t.raw.length),a.push(t);else if(t=this.tokenizer.br(e))e=e.substring(t.raw.length),a.push(t);else if(t=this.tokenizer.del(e))e=e.substring(t.raw.length),a.push(t);else if(t=this.tokenizer.autolink(e,kr))e=e.substring(t.raw.length),a.push(t);else if(this.state.inLink||!(t=this.tokenizer.url(e,kr))){if(n=e,this.options.extensions&&this.options.extensions.startInline){let t=1/0;const r=e.slice(1);let i;this.options.extensions.startInline.forEach(function(e){i=e.call({lexer:this},r),"number"==typeof i&&i>=0&&(t=Math.min(t,i))}),t<1/0&&t>=0&&(n=e.substring(0,t+1))}if(t=this.tokenizer.inlineText(n,Sr))e=e.substring(t.raw.length),"_"!==t.raw.slice(-1)&&(s=t.raw.slice(-1)),o=!0,r=a[a.length-1],r&&"text"===r.type?(r.raw+=t.raw,r.text+=t.text):a.push(t);else if(e){const t="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(t);break}throw new Error(t)}}else e=e.substring(t.raw.length),a.push(t);return a}}class Er{constructor(e){this.options=e||Kt}code(e,t,r){const n=(t||"").match(/\S*/)[0];if(this.options.highlight){const t=this.options.highlight(e,n);null!=t&&t!==e&&(r=!0,e=t)}return e=e.replace(/\n$/,"")+"\n",n?'<pre><code class="'+this.options.langPrefix+rr(n)+'">'+(r?e:rr(e,!0))+"</code></pre>\n":"<pre><code>"+(r?e:rr(e,!0))+"</code></pre>\n"}blockquote(e){return`<blockquote>\n${e}</blockquote>\n`}html(e){return e}heading(e,t,r,n){return this.options.headerIds?`<h${t} id="${this.options.headerPrefix+n.slug(r)}">${e}</h${t}>\n`:`<h${t}>${e}</h${t}>\n`}hr(){return this.options.xhtml?"<hr/>\n":"<hr>\n"}list(e,t,r){const n=t?"ol":"ul";return"<"+n+(t&&1!==r?' start="'+r+'"':"")+">\n"+e+"</"+n+">\n"}listitem(e){return`<li>${e}</li>\n`}checkbox(e){return"<input "+(e?'checked="" ':"")+'disabled="" type="checkbox"'+(this.options.xhtml?" /":"")+"> "}paragraph(e){return`<p>${e}</p>\n`}table(e,t){return t&&(t=`<tbody>${t}</tbody>`),"<table>\n<thead>\n"+e+"</thead>\n"+t+"</table>\n"}tablerow(e){return`<tr>\n${e}</tr>\n`}tablecell(e,t){const r=t.header?"th":"td";return(t.align?`<${r} align="${t.align}">`:`<${r}>`)+e+`</${r}>\n`}strong(e){return`<strong>${e}</strong>`}em(e){return`<em>${e}</em>`}codespan(e){return`<code>${e}</code>`}br(){return this.options.xhtml?"<br/>":"<br>"}del(e){return`<del>${e}</del>`}link(e,t,r){if(null===(e=cr(this.options.sanitize,this.options.baseUrl,e)))return r;let n='<a href="'+e+'"';return t&&(n+=' title="'+t+'"'),n+=">"+r+"</a>",n}image(e,t,r){if(null===(e=cr(this.options.sanitize,this.options.baseUrl,e)))return r;let n=`<img src="${e}" alt="${r}"`;return t&&(n+=` title="${t}"`),n+=this.options.xhtml?"/>":">",n}text(e){return e}}class _r{strong(e){return e}em(e){return e}codespan(e){return e}del(e){return e}html(e){return e}text(e){return e}link(e,t,r){return""+r}image(e,t,r){return""+r}br(){return""}}class $r{constructor(){this.seen={}}serialize(e){return e.toLowerCase().trim().replace(/<[!\/a-z].*?>/gi,"").replace(/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&()*+,./:;<=>?@[\]^`{|}~]/g,"").replace(/\s/g,"-")}getNextSafeSlug(e,t){let r=e,n=0;if(this.seen.hasOwnProperty(r)){n=this.seen[e];do{n++,r=e+"-"+n}while(this.seen.hasOwnProperty(r))}return t||(this.seen[e]=n,this.seen[r]=0),r}slug(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const r=this.serialize(e);return this.getNextSafeSlug(r,t.dryrun)}}class Ar{constructor(e){this.options=e||Kt,this.options.renderer=this.options.renderer||new Er,this.renderer=this.options.renderer,this.renderer.options=this.options,this.textRenderer=new _r,this.slugger=new $r}static parse(e,t){return new Ar(t).parse(e)}static parseInline(e,t){return new Ar(t).parseInline(e)}parse(e){let t,r,n,i,o,s,a,l,c,p,u,d,f,h,m,g,y,b,v,x=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],w="";const S=e.length;for(t=0;t<S;t++)if(p=e[t],this.options.extensions&&this.options.extensions.renderers&&this.options.extensions.renderers[p.type]&&(v=this.options.extensions.renderers[p.type].call({parser:this},p),!1!==v||!["space","hr","heading","code","table","blockquote","list","html","paragraph","text"].includes(p.type)))w+=v||"";else switch(p.type){case"space":continue;case"hr":w+=this.renderer.hr();continue;case"heading":w+=this.renderer.heading(this.parseInline(p.tokens),p.depth,ir(this.parseInline(p.tokens,this.textRenderer)),this.slugger);continue;case"code":w+=this.renderer.code(p.text,p.lang,p.escaped);continue;case"table":for(l="",a="",i=p.header.length,r=0;r<i;r++)a+=this.renderer.tablecell(this.parseInline(p.header[r].tokens),{header:!0,align:p.align[r]});for(l+=this.renderer.tablerow(a),c="",i=p.rows.length,r=0;r<i;r++){for(s=p.rows[r],a="",o=s.length,n=0;n<o;n++)a+=this.renderer.tablecell(this.parseInline(s[n].tokens),{header:!1,align:p.align[n]});c+=this.renderer.tablerow(a)}w+=this.renderer.table(l,c);continue;case"blockquote":c=this.parse(p.tokens),w+=this.renderer.blockquote(c);continue;case"list":for(u=p.ordered,d=p.start,f=p.loose,i=p.items.length,c="",r=0;r<i;r++)m=p.items[r],g=m.checked,y=m.task,h="",m.task&&(b=this.renderer.checkbox(g),f?m.tokens.length>0&&"paragraph"===m.tokens[0].type?(m.tokens[0].text=b+" "+m.tokens[0].text,m.tokens[0].tokens&&m.tokens[0].tokens.length>0&&"text"===m.tokens[0].tokens[0].type&&(m.tokens[0].tokens[0].text=b+" "+m.tokens[0].tokens[0].text)):m.tokens.unshift({type:"text",text:b}):h+=b),h+=this.parse(m.tokens,f),c+=this.renderer.listitem(h,y,g);w+=this.renderer.list(c,u,d);continue;case"html":w+=this.renderer.html(p.text);continue;case"paragraph":w+=this.renderer.paragraph(this.parseInline(p.tokens));continue;case"text":for(c=p.tokens?this.parseInline(p.tokens):p.text;t+1<S&&"text"===e[t+1].type;)p=e[++t],c+="\n"+(p.tokens?this.parseInline(p.tokens):p.text);w+=x?this.renderer.paragraph(c):c;continue;default:{const e='Token with "'+p.type+'" type was not found.';if(this.options.silent)return void console.error(e);throw new Error(e)}}return w}parseInline(e,t){t=t||this.renderer;let r,n,i,o="";const s=e.length;for(r=0;r<s;r++)if(n=e[r],this.options.extensions&&this.options.extensions.renderers&&this.options.extensions.renderers[n.type]&&(i=this.options.extensions.renderers[n.type].call({parser:this},n),!1!==i||!["escape","html","link","image","strong","em","codespan","br","del","text"].includes(n.type)))o+=i||"";else switch(n.type){case"escape":case"text":o+=t.text(n.text);break;case"html":o+=t.html(n.text);break;case"link":o+=t.link(n.href,n.title,this.parseInline(n.tokens,t));break;case"image":o+=t.image(n.href,n.title,n.text);break;case"strong":o+=t.strong(this.parseInline(n.tokens,t));break;case"em":o+=t.em(this.parseInline(n.tokens,t));break;case"codespan":o+=t.codespan(n.text);break;case"br":o+=t.br();break;case"del":o+=t.del(this.parseInline(n.tokens,t));break;default:{const e='Token with "'+n.type+'" type was not found.';if(this.options.silent)return void console.error(e);throw new Error(e)}}return o}}class Pr{constructor(e){this.options=e||Kt}static passThroughHooks=new Set(["preprocess","postprocess"]);preprocess(e){return e}postprocess(e){return e}}function jr(e,t){return(r,n,i)=>{"function"==typeof n&&(i=n,n=null);const o={...n},s=function(e,t,r){return n=>{if(n.message+="\nPlease report this to https://github.com/markedjs/marked.",e){const e="<p>An error occurred:</p><pre>"+rr(n.message+"",!0)+"</pre>";return t?Promise.resolve(e):r?void r(null,e):e}if(t)return Promise.reject(n);if(!r)throw n;r(n)}}((n={...Cr.defaults,...o}).silent,n.async,i);if(null==r)return s(new Error("marked(): input parameter is undefined or null"));if("string"!=typeof r)return s(new Error("marked(): input parameter is of type "+Object.prototype.toString.call(r)+", string expected"));if(function(e){e&&e.sanitize&&!e.silent&&console.warn("marked(): sanitize and sanitizer parameters are deprecated since version 0.7.0, should not be used and will be removed in the future. Read more here: https://marked.js.org/#/USING_ADVANCED.md#options")}(n),n.hooks&&(n.hooks.options=n),i){const o=n.highlight;let a;try{n.hooks&&(r=n.hooks.preprocess(r)),a=e(r,n)}catch(e){return s(e)}const l=function(e){let r;if(!e)try{n.walkTokens&&Cr.walkTokens(a,n.walkTokens),r=t(a,n),n.hooks&&(r=n.hooks.postprocess(r))}catch(t){e=t}return n.highlight=o,e?s(e):i(null,r)};if(!o||o.length<3)return l();if(delete n.highlight,!a.length)return l();let c=0;return Cr.walkTokens(a,function(e){"code"===e.type&&(c++,setTimeout(()=>{o(e.text,e.lang,function(t,r){if(t)return l(t);null!=r&&r!==e.text&&(e.text=r,e.escaped=!0),c--,0===c&&l()})},0))}),void(0===c&&l())}if(n.async)return Promise.resolve(n.hooks?n.hooks.preprocess(r):r).then(t=>e(t,n)).then(e=>n.walkTokens?Promise.all(Cr.walkTokens(e,n.walkTokens)).then(()=>e):e).then(e=>t(e,n)).then(e=>n.hooks?n.hooks.postprocess(e):e).catch(s);try{n.hooks&&(r=n.hooks.preprocess(r));const i=e(r,n);n.walkTokens&&Cr.walkTokens(i,n.walkTokens);let o=t(i,n);return n.hooks&&(o=n.hooks.postprocess(o)),o}catch(e){return s(e)}}}function Cr(e,t,r){return jr(Or.lex,Ar.parse)(e,t,r)}Cr.options=Cr.setOptions=function(e){var t;return Cr.defaults={...Cr.defaults,...e},t=Cr.defaults,Kt=t,Cr},Cr.getDefaults=function(){return{async:!1,baseUrl:null,breaks:!1,extensions:null,gfm:!0,headerIds:!0,headerPrefix:"",highlight:null,hooks:null,langPrefix:"language-",mangle:!0,pedantic:!1,renderer:null,sanitize:!1,sanitizer:null,silent:!1,smartypants:!1,tokenizer:null,walkTokens:null,xhtml:!1}},Cr.defaults=Kt,Cr.use=function(){const e=Cr.defaults.extensions||{renderers:{},childTokens:{}};for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];r.forEach(t=>{const r={...t};if(r.async=Cr.defaults.async||r.async||!1,t.extensions&&(t.extensions.forEach(t=>{if(!t.name)throw new Error("extension name required");if(t.renderer){const r=e.renderers[t.name];e.renderers[t.name]=r?function(){for(var e=arguments.length,n=new Array(e),i=0;i<e;i++)n[i]=arguments[i];let o=t.renderer.apply(this,n);return!1===o&&(o=r.apply(this,n)),o}:t.renderer}if(t.tokenizer){if(!t.level||"block"!==t.level&&"inline"!==t.level)throw new Error("extension level must be 'block' or 'inline'");e[t.level]?e[t.level].unshift(t.tokenizer):e[t.level]=[t.tokenizer],t.start&&("block"===t.level?e.startBlock?e.startBlock.push(t.start):e.startBlock=[t.start]:"inline"===t.level&&(e.startInline?e.startInline.push(t.start):e.startInline=[t.start]))}t.childTokens&&(e.childTokens[t.name]=t.childTokens)}),r.extensions=e),t.renderer){const e=Cr.defaults.renderer||new Er;for(const r in t.renderer){const n=e[r];e[r]=function(){for(var i=arguments.length,o=new Array(i),s=0;s<i;s++)o[s]=arguments[s];let a=t.renderer[r].apply(e,o);return!1===a&&(a=n.apply(e,o)),a}}r.renderer=e}if(t.tokenizer){const e=Cr.defaults.tokenizer||new vr;for(const r in t.tokenizer){const n=e[r];e[r]=function(){for(var i=arguments.length,o=new Array(i),s=0;s<i;s++)o[s]=arguments[s];let a=t.tokenizer[r].apply(e,o);return!1===a&&(a=n.apply(e,o)),a}}r.tokenizer=e}if(t.hooks){const e=Cr.defaults.hooks||new Pr;for(const r in t.hooks){const n=e[r];Pr.passThroughHooks.has(r)?e[r]=i=>{if(Cr.defaults.async)return Promise.resolve(t.hooks[r].call(e,i)).then(t=>n.call(e,t));const o=t.hooks[r].call(e,i);return n.call(e,o)}:e[r]=function(){for(var i=arguments.length,o=new Array(i),s=0;s<i;s++)o[s]=arguments[s];let a=t.hooks[r].apply(e,o);return!1===a&&(a=n.apply(e,o)),a}}r.hooks=e}if(t.walkTokens){const e=Cr.defaults.walkTokens;r.walkTokens=function(r){let n=[];return n.push(t.walkTokens.call(this,r)),e&&(n=n.concat(e.call(this,r))),n}}Cr.setOptions(r)})},Cr.walkTokens=function(e,t){let r=[];for(const n of e)switch(r=r.concat(t.call(Cr,n)),n.type){case"table":for(const e of n.header)r=r.concat(Cr.walkTokens(e.tokens,t));for(const e of n.rows)for(const n of e)r=r.concat(Cr.walkTokens(n.tokens,t));break;case"list":r=r.concat(Cr.walkTokens(n.items,t));break;default:Cr.defaults.extensions&&Cr.defaults.extensions.childTokens&&Cr.defaults.extensions.childTokens[n.type]?Cr.defaults.extensions.childTokens[n.type].forEach(function(e){r=r.concat(Cr.walkTokens(n[e],t))}):n.tokens&&(r=r.concat(Cr.walkTokens(n.tokens,t)))}return r},Cr.parseInline=jr(Or.lexInline,Ar.parseInline),Cr.Parser=Ar,Cr.parser=Ar.parse,Cr.Renderer=Er,Cr.TextRenderer=_r,Cr.Lexer=Or,Cr.lexer=Or.lex,Cr.Tokenizer=vr,Cr.Slugger=$r,Cr.Hooks=Pr,Cr.parse=Cr,Cr.options,Cr.setOptions,Cr.use,Cr.walkTokens,Cr.parseInline;var Tr=Object.defineProperty,Ir=Object.defineProperties,Nr=Object.getOwnPropertyDescriptors,Rr=Object.getOwnPropertySymbols,Lr=Object.prototype.hasOwnProperty,Dr=Object.prototype.propertyIsEnumerable,Mr=(e,t,r)=>t in e?Tr(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,zr=(e,t)=>{for(var r in t||(t={}))Lr.call(t,r)&&Mr(e,r,t[r]);if(Rr)for(var r of Rr(t))Dr.call(t,r)&&Mr(e,r,t[r]);return e},Fr=(e,t)=>
47Ir(e,Nr(t));const Br=new Cr.Renderer;Cr.setOptions({renderer:Br,highlight:(e,t)=>_t(e,t)});const qr="^ {0,3}\x3c!-- ReDoc-Inject:\\s+?<({component}).*?/?>\\s+?--\x3e\\s*$",Ur="(?:^ {0,3}<({component})([\\s\\S]*?)>([\\s\\S]*?)</\\2>|^ {0,3}<({component})([\\s\\S]*?)(?:/>|\\n{2,}))",Vr="(?:"+qr+"|"+Ur+")";function Wr(e){return`\x3c!-- ReDoc-Inject: <${e}> --\x3e`}class Hr{constructor(e,t){this.options=e,this.parentId=t,this.headings=[],this.headingRule=(e,t,r,n)=>(1===t?this.currentTopHeading=this.saveHeading(e,t):2===t&&this.saveHeading(e,t,this.currentTopHeading&&this.currentTopHeading.items,this.currentTopHeading&&this.currentTopHeading.id),this.originalHeadingRule(e,t,r,n)),this.parentId=t,this.parser=new Cr.Parser,this.headingEnhanceRenderer=new Cr.Renderer,this.originalHeadingRule=this.headingEnhanceRenderer.heading.bind(this.headingEnhanceRenderer),this.headingEnhanceRenderer.heading=this.headingRule}static containsComponent(e,t){return new RegExp(Vr.replace(/{component}/g,t),"gmi").test(e)}static getTextBeforeHading(e,t){const r=e.search(new RegExp(`^##?\\s+${t}`,"m"));return r>-1?e.substring(0,r):e}saveHeading(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.headings,n=arguments.length>3?arguments[3]:void 0;e=j(e);const i={id:n?`${n}/${S(e)}`:`${this.parentId||"section"}/${S(e)}`,name:e,level:t,items:[]};return r.push(i),i}flattenHeadings(e){if(void 0===e)return[];const t=[];for(const r of e)t.push(r),t.push(...this.flattenHeadings(r.items));return t}attachHeadingsDescriptions(e){const t=e=>new RegExp(`##?\\s+${e.name.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}s*(\n|\r\n|$|s*)`),r=this.flattenHeadings(this.headings);if(r.length<1)return;let n=r[0],i=t(n),o=e.search(i);for(let s=1;s<r.length;s++){const a=r[s],l=t(a),c=e.substr(o+1).search(l)+o+1;n.description=e.substring(o,c).replace(i,"").trim(),n=a,i=l,o=c}n.description=e.substring(o).replace(i,"").trim()}renderMd(e){const t=arguments.length>1&&void 0!==arguments[1]&&arguments[1]?{renderer:this.headingEnhanceRenderer}:void 0;return Cr(e.toString(),t)}extractHeadings(e){this.renderMd(e,!0),this.attachHeadingsDescriptions(e);const t=this.headings;return this.headings=[],t}renderMdWithComponents(e){const t=this.options&&this.options.allowedMdComponents;if(!t||0===Object.keys(t).length)return[this.renderMd(e)];const r=Object.keys(t).join("|"),n=new RegExp(Vr.replace(/{component}/g,r),"mig"),i=[],o=[];let s=n.exec(e),a=0;for(;s;){i.push(e.substring(a,s.index)),a=n.lastIndex;const r=t[s[1]||s[2]||s[5]],l=s[3]||s[6],c=s[4];r&&o.push({component:r.component,propsSelector:r.propsSelector,props:Fr(zr(zr({},Qr(l)),r.props),{children:c})}),s=n.exec(e)}i.push(e.substring(a));const l=[];for(let c=0;c<i.length;c++){const e=i[c];e&&l.push(this.renderMd(e)),o[c]&&l.push(o[c])}return l}}function Qr(e){if(!e)return{};const t=/([\w-]+)\s*=\s*(?:{([^}]+?)}|"([^"]+?)")/gim,r={};let n;for(;null!==(n=t.exec(e));)if(n[3])r[n[1]]=n[3];else if(n[2]){let t;try{t=JSON.parse(n[2])}catch(e){}r[n[1]]=t}return r}class Gr{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:new H({});this.parser=e,this.options=t,Object.assign(this,e.spec.info),this.description=e.spec.info.description||"",this.summary=e.spec.info.summary||"";const r=this.description.search(/^\s*##?\s+/m);r>-1&&(this.description=this.description.substring(0,r)),this.downloadUrls=this.getDownloadUrls(),this.downloadFileName=this.getDownloadFileName()}getDownloadUrls(){return(this.options.downloadUrls?this.options.downloadUrls.map(e=>{let{title:t,url:r}=e;return{title:t||N("download"),url:this.getDownloadLink(r)}}):[{title:N("download"),url:this.getDownloadLink(this.options.downloadDefinitionUrl)}]).filter(e=>{let{title:t,url:r}=e;return t&&r})}getDownloadLink(e){if(e)return e;if(this.parser.specUrl)return this.parser.specUrl;if(a&&window.Blob&&window.URL&&window.URL.createObjectURL){const e=new Blob([JSON.stringify(this.parser.spec,null,2)],{type:"application/json"});return window.URL.createObjectURL(e)}}getDownloadFileName(){return this.parser.specUrl||this.options.downloadDefinitionUrl?this.options.downloadFileName:this.options.downloadFileName||"openapi.json"}}
47var Kr=Object.defineProperty,Yr=Object.defineProperties,Jr=Object.getOwnPropertyDescriptors,Xr=Object.getOwnPropertySymbols,Zr=Object.prototype.hasOwnProperty,en=Object.prototype.propertyIsEnumerable,tn=(e,t,r)=>t in e?Kr(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;class rn{constructor(e,t){const r=t.spec.components&&t.spec.components.securitySchemes||{};this.schemes=Object.keys(e||{}).map(n=>{const{resolved:i}=t.deref(r[n]),o=e[n]||[];if(!i)return void console.warn(`Non existing security scheme referenced: ${n}. Skipping`);const s=i["x-displayName"]||n;return a=((e,t)=>{for(var r in t||(t={}))Zr.call(t,r)&&tn(e,r,t[r]);if(Xr)for(var r of Xr(t))en.call(t,r)&&tn(e,r,t[r]);return e})({},i),Yr(a,Jr({id:n,sectionId:n,displayName:s,scopes:o}));var a}).filter(e=>void 0!==e)}}var nn=Object.defineProperty,on=Object.defineProperties,sn=Object.getOwnPropertyDescriptor,an=Object.getOwnPropertyDescriptors,ln=Object.getOwnPropertySymbols,cn=Object.prototype.hasOwnProperty,pn=Object.prototype.propertyIsEnumerable,un=(e,t,r)=>t in e?nn(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,dn=(e,t)=>{for(var r in t||(t={}))cn.call(t,r)&&un(e,r,t[r]);if(ln)for(var r of ln(t))pn.call(t,r)&&un(e,r,t[r]);return e},fn=(e,t)=>on(e,an(t)),hn=(e,t,r,n)=>{for(var i,o=n>1?void 0:n?sn(t,r):t,s=e.length-1;s>=0;s--)(i=e[s])&&(o=(n?i(t,r,o):i(o))||o);return n&&o&&nn(t,r,o),o};class mn{constructor(e,t,r,n,i){this.expanded=!1,this.operations=[],(0,fe.makeObservable)(this),this.name=t;const{resolved:o}=e.deref(r);for(const s of Object.keys(o)){const r=o[s],a=Object.keys(r).filter(Fe);for(const o of a){const a=r[o],l=new vi(e,fn(dn({},a),{pathName:s,pointer:Oe.compile([n,t,s,o]),httpVerb:o,pathParameters:r.parameters||[],pathServers:r.servers}),void 0,i,!0);this.operations.push(l)}}}toggle(){this.expanded=!this.expanded}}hn([fe.observable],mn.prototype,"expanded",2),hn([fe.action],mn.prototype,"toggle",1);var gn=Object.defineProperty,yn=Object.defineProperties,bn=Object.getOwnPropertyDescriptors,vn=Object.getOwnPropertySymbols,xn=Object.prototype.hasOwnProperty,wn=Object.prototype.propertyIsEnumerable,Sn=(e,t,r)=>t in e?gn(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,kn=(e,t)=>{for(var r in t||(t={}))xn.call(t,r)&&Sn(e,r,t[r]);if(vn)for(var r of vn(t))wn.call(t,r)&&Sn(e,r,t[r]);return e},On=(e,t)=>yn(e,bn(t)),En=(e,t)=>{var r={};for(var n in e)xn.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&vn)for(var n of vn(e))t.indexOf(n)<0&&wn.call(e,n)&&(r[n]=e[n]);return r};function _n(e,t){return t&&e[e.length-1]!==t?[...e,t]:e}function $n(e,t){return t?e.concat(t):e}class An{constructor(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:new H({});this.options=r,this.allowMergeRefs=!1,this.byRef=e=>{let t;if(this.spec){"#"!==e.charAt(0)&&(e="#"+e),e=decodeURIComponent(e);try{t=Oe.get(this.spec,e)}catch(e){}return t||{}}},this.validate(e),this.spec=e,this.allowMergeRefs=e.openapi.startsWith("3.1");const n=a?window.location.href:"";"string"==typeof t&&(this.specUrl=n?new URL(t,n).href:t)}validate(e){if(void 0===e.openapi)throw new Error("Document must be valid OpenAPI 3.0.0 definition")}isRef(e){return!!e&&void 0!==e.$ref&&null!==e.$ref}deref(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];const n=null==e?void 0:e["x-refsStack"];if(t=$n(t,n),this.isRef(e)){const n=nt(e.$ref);if(n&&this.options.ignoreNamedSchemas.has(n))return{resolved:{type:"object",title:n},refsStack:t};let i=this.byRef(e.$ref);if(!i)throw new Error(`Failed to resolve $ref "${e.$ref}"`);let o=t;if(t.includes(e.$ref)||t.length>999)i=Object.assign({},i,{"x-circular-ref":!0});else if(this.isRef(i)){const e=this.deref(i,t,r);o=e.refsStack,i=e.resolved}return o=_n(t,e.$ref),i=this.allowMergeRefs?this.mergeRefs(e,i,r):i,{resolved:i,refsStack:o}}return{resolved:e,refsStack:$n(t,n)}}mergeRefs(e,t,r){const n=e,{$ref:i}=n,o=En(n,["$ref"]),s=Object.keys(o);if(0===s.length)return t;if(r&&s.some(e=>!["description","title","externalDocs","x-refsStack","x-parentRefs","readOnly","writeOnly"].includes(e))){const e=o,{description:r,title:n,readOnly:i,writeOnly:s}=e;return{allOf:[{description:r,title:n,readOnly:i,writeOnly:s},t,En(e,["description","title","readOnly","writeOnly"])]}}return kn(kn({},t),o)}mergeAllOf(e,t,r){var n;if(e["x-circular-ref"])return e;if(void 0===(e=this.hoistOneOfs(e,r)).allOf)return e;let i=On(kn({},e),{"x-parentRefs":[],allOf:void 0,title:e.title||nt(t)});void 0!==i.properties&&"object"==typeof i.properties&&(i.properties=kn({},i.properties)),void 0!==i.items&&"object"==typeof i.items&&(i.items=kn({},i.items));const o=function(e){const t=new Set;return e.filter(e=>{const r=e.$ref;return!r||r&&!t.has(r)&&t.add(r)})}(e.allOf.map(e=>{var t;const{resolved:n,refsStack:o}=this.deref(e,r,!0),s=e.$ref||void 0,a=this.mergeAllOf(n,s,o);if(!a["x-circular-ref"]||!a.allOf)return s&&(null==(t=i["x-parentRefs"])||t.push(...a["x-parentRefs"]||[],s)),{$ref:s,refsStack:_n(o,s),schema:a}}).filter(e=>void 0!==e));for(const{schema:s,refsStack:a}of o){const e=s,{type:r,enum:o,properties:l,items:c,required:p,title:u,description:d,readOnly:f,writeOnly:h,oneOf:m,anyOf:g,"x-circular-ref":y}=e,b=En(e,["type","enum","properties","items","required","title","description","readOnly","writeOnly","oneOf","anyOf","x-circular-ref"]);
47if(i.type!==r&&void 0!==i.type&&void 0!==r&&console.warn(`Incompatible types in allOf at "${t}": "${i.type}" and "${r}"`),void 0!==r&&(Array.isArray(r)&&Array.isArray(i.type)?i.type=[...r,...i.type]:i.type=r),void 0!==o&&(Array.isArray(o)&&Array.isArray(i.enum)?i.enum=Array.from(new Set([...o,...i.enum])):i.enum=o),void 0!==l&&"object"==typeof l){i.properties=i.properties||{};for(const e in l){const r=$n(a,null==(n=l[e])?void 0:n["x-refsStack"]);if(i.properties[e]){if(!y){const n=this.mergeAllOf({allOf:[i.properties[e],On(kn({},l[e]),{"x-refsStack":r})],"x-refsStack":r},t+"/properties/"+e,r);i.properties[e]=n}}else i.properties[e]=On(kn({},l[e]),{"x-refsStack":r})}}if(void 0!==c&&!y){const e="boolean"==typeof i.items?{}:Object.assign({},i.items),r="boolean"==typeof s.items?{}:Object.assign({},s.items);i.items=this.mergeAllOf({allOf:[e,r]},t+"/items",a)}void 0!==m&&(i.oneOf=m),void 0!==g&&(i.anyOf=g),void 0!==p&&(i.required=[...i.required||[],...p]),i=kn(On(kn({},i),{title:i.title||u,description:i.description||d,readOnly:void 0!==i.readOnly?i.readOnly:f,writeOnly:void 0!==i.writeOnly?i.writeOnly:h,"x-circular-ref":i["x-circular-ref"]||y}),b)}return i}findDerived(e){const t={},r=this.spec.components&&this.spec.components.schemas||{};for(const n in r){const{resolved:i}=this.deref(r[n]);void 0!==i.allOf&&i.allOf.find(t=>void 0!==t.$ref&&e.indexOf(t.$ref)>-1)&&(t["#/components/schemas/"+n]=[i["x-discriminator-value"]||n])}return t}hoistOneOfs(e,t){if(void 0===e.allOf)return e;const r=e.allOf;for(let n=0;n<r.length;n++){const e=r[n],{oneOf:i}=e,o=En(e,["oneOf"]);if(i&&Array.isArray(i)){const e=r.slice(0,n),s=r.slice(n+1),a=Object.keys(o).length>0?[o]:[];return{oneOf:i.map(r=>({allOf:[...e,...a,r,...s],"x-refsStack":t}))}}}return e}}var Pn=Object.defineProperty,jn=Object.defineProperties,Cn=Object.getOwnPropertyDescriptor,Tn=Object.getOwnPropertyDescriptors,In=Object.getOwnPropertySymbols,Nn=Object.prototype.hasOwnProperty,Rn=Object.prototype.propertyIsEnumerable,Ln=(e,t,r)=>t in e?Pn(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Dn=(e,t)=>{for(var r in t||(t={}))Nn.call(t,r)&&Ln(e,r,t[r]);if(In)for(var r of In(t))Rn.call(t,r)&&Ln(e,r,t[r]);return e},Mn=(e,t)=>jn(e,Tn(t)),zn=(e,t,r,n)=>{for(var i,o=n>1?void 0:n?Cn(t,r):t,s=e.length-1;s>=0;s--)(i=e[s])&&(o=(n?i(t,r,o):i(o))||o);return n&&o&&Pn(t,r,o),o};const Fn=class e{constructor(e,t,r,n){let i=arguments.length>4&&void 0!==arguments[4]&&arguments[4],o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:[];this.options=n,this.refsStack=o,this.typePrefix="",this.isCircular=!1,this.activeOneOf=0,(0,fe.makeObservable)(this),this.pointer=t.$ref||r||"";const{resolved:s,refsStack:a}=e.deref(t,o,!0);this.refsStack=_n(a,this.pointer),this.rawSchema=s,this.schema=e.mergeAllOf(this.rawSchema,this.pointer,this.refsStack),this.init(e,i),n.showExtensions&&(this.extensions=xt(this.schema,n.showExtensions))}activateOneOf(e){this.activeOneOf=e}hasType(e){return this.type===e||C(this.type)&&this.type.includes(e)}init(t,r){var n,i,o,s,a,l,c,p;const u=this.schema;if(this.isCircular=!!u["x-circular-ref"],this.title=u.title||rt(this.pointer)&&Oe.baseName(this.pointer)||"",this.description=u.description||"",this.type=u.type||Ue(u),this.format=u.format,this.enum=u.enum||[],this["x-enumDescriptions"]=u["x-enumDescriptions"],this.example=u.example,this.examples=u.examples,this.deprecated=!!u.deprecated,this.pattern=u.pattern,this.externalDocs=u.externalDocs,this.constraints=st(u),this.displayFormat=this.format,this.isPrimitive=Ve(u,this.type),this.default=u.default,this.readOnly=!!u.readOnly,this.writeOnly=!!u.writeOnly,this.const=u.const||"",this.contentEncoding=u.contentEncoding,this.contentMediaType=u.contentMediaType,this.minItems=u.minItems,this.maxItems=u.maxItems,(u.nullable||u["x-nullable"])&&(C(this.type)&&!this.type.some(e=>null===e||"null"===e)?this.type=[...this.type,"null"]:C(this.type)||null===this.type&&"null"===this.type||(this.t
47ype=[this.type,"null"])),this.displayType=C(this.type)?this.type.map(e=>null===e?"null":e).join(" or "):this.type,!this.isCircular)if(u.if&&u.then||u.if&&u.else)this.initConditionalOperators(u,t);else if(r||void 0===Un(u)){if(r&&C(u.oneOf)&&u.oneOf.find(e=>e.$ref===this.pointer)&&delete u.oneOf,void 0!==u.oneOf)return this.initOneOf(u.oneOf,t),this.oneOfType="One of",void(void 0!==u.anyOf&&console.warn(`oneOf and anyOf are not supported on the same level. Skipping anyOf at ${this.pointer}`));if(void 0!==u.anyOf)return this.initOneOf(u.anyOf,t),void(this.oneOfType="Any of");if(this.hasType("object"))this.fields=qn(t,u,this.pointer,this.options,this.refsStack);else if(this.hasType("array")&&(C(u.items)||C(u.prefixItems)?this.fields=qn(t,u,this.pointer,this.options,this.refsStack):u.items&&(this.items=new e(t,u.items,this.pointer+"/items",this.options,!1,this.refsStack)),this.displayType=u.prefixItems||C(u.items)?"items":wt((null==(n=this.items)?void 0:n.displayType)||this.displayType),this.displayFormat=(null==(i=this.items)?void 0:i.format)||"",this.typePrefix=(null==(o=this.items)?void 0:o.typePrefix)||""+N("arrayOf"),this.title=this.title||(null==(s=this.items)?void 0:s.title)||"",this.isPrimitive=void 0!==(null==(a=this.items)?void 0:a.isPrimitive)?null==(l=this.items)?void 0:l.isPrimitive:this.isPrimitive,void 0===this.example&&void 0!==(null==(c=this.items)?void 0:c.example)&&(this.example=[this.items.example]),(null==(p=this.items)?void 0:p.isPrimitive)&&(this.enum=this.items.enum,this["x-enumDescriptions"]=this.items["x-enumDescriptions"]),C(this.type))){const e=this.type.filter(e=>"array"!==e);e.length&&(this.displayType+=` or ${e.join(" or ")}`)}this.enum.length&&this.options.sortEnumValuesAlphabetically&&this.enum.sort()}else this.initDiscriminator(u,t)}initOneOf(t,r){if(this.oneOf=t.map((t,n)=>{const{resolved:i,refsStack:o}=r.deref(t,this.refsStack,!0),s=r.mergeAllOf(i,this.pointer+"/oneOf/"+n,o),a=rt(t.$ref)&&!s.title?Oe.baseName(t.$ref):`${s.title||""}${void 0!==s.const&&JSON.stringify(s.const)||""}`;return new e(r,Mn(Dn({},s),{title:a,allOf:[Mn(Dn({},this.schema),{oneOf:void 0,anyOf:void 0})],discriminator:i.allOf?void 0:s.discriminator}),t.$ref||this.pointer+"/oneOf/"+n,this.options,!1,o)}),this.options.simpleOneOfTypeLabel){const e=function(e){const t=new Set;return function e(r){for(const n of r.oneOf||[])n.oneOf?e(n):n.type&&t.add(n.type)}(e),Array.from(t.values())}(this);this.displayType=e.join(" or ")}else this.displayType=this.oneOf.map(e=>{let t=e.typePrefix+(e.title?`${e.title} (${e.displayType})`:e.displayType);return t.indexOf(" or ")>-1&&(t=`(${t})`),t}).join(" or ")}initDiscriminator(t,r){const n=Un(t);this.discriminatorProp=n.propertyName;const i=r.findDerived([...this.schema["x-parentRefs"]||[],this.pointer]);if(t.oneOf)for(const e of t.oneOf){if(void 0===e.$ref)continue;const t=Oe.baseName(e.$ref);i[e.$ref]=t}const o=n.mapping||{};let s=n["x-explicitMappingOnly"]||!1;0===Object.keys(o).length&&(s=!1);const a={};for(const e in o){const t=o[e];C(a[t])?a[t].push(e):a[t]=[e]}const l=Dn(s?{}:Dn({},i),a);let c=[];for(const e of Object.keys(l)){const t=l[e];if(C(t))for(const r of t)c.push({$ref:e,name:r});else c.push({$ref:e,name:t})}const p=Object.keys(o);0!==p.length&&(c=c.sort((e,t)=>{const r=p.indexOf(e.name),n=p.indexOf(t.name);return r<0&&n<0?e.name.localeCompare(t.name):r<0?1:n<0?-1:r-n})),this.oneOf=c.map(t=>{let{$ref:n,name:i}=t;const o=new e(r,{$ref:n},n,this.options,!0,this.refsStack.slice(0,-1));return o.title=i,o})}initConditionalOperators(t,r){const n=t,{if:i,else:o={},then:s={}}=n,a=((e,t)=>{var r={};for(var n in e)Nn.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&In)for(var n of In(e))t.indexOf(n)<0&&Rn.call(e,n)&&(r[n]=e[n]);return r})(n,["if","else","then"]),l=[{allOf:[a,s,i],title:i&&i["x-displayName"]||(null==i?void 0:i.title)||"case 1"},{allOf:[a,o],title:o&&o["x-displayName"]||(null==o?void 0:o.title)||"case 2"}];this.oneOf=l.map((t,n)=>new e(r,Dn({},t),this.pointer+"/oneOf/"+n,this.options,!1,this.refsStack)),this.oneOfType="One of"}};zn([fe.observable],Fn.prototype,"activeOneOf",2),zn([fe.action],Fn.prototype,"activateOneOf",1);let Bn=Fn;function qn(e,t,r,n,i){const o=t.properties||t.prefixItems||t.items||{},s=t.patternProperties||{},a=t.additionalProperties||t.unevaluatedProperties,l=t.prefixItems?t.items:t.additionalItems,c=t.default;let p=Object.keys(o||[]).map(s=>{let a=o[s];a||(console.warn(`Field "${s}
47" is invalid, skipping.\n Field must be an object but got ${typeof a} at "${r}"`),a={});const l=void 0!==t.required&&t.required.indexOf(s)>-1;return new Yn(e,{name:t.properties?s:`[${s}]`,required:l,schema:Mn(Dn({},a),{default:void 0===a.default&&c?c[s]:a.default})},r+"/properties/"+s,n,i)});return n.sortPropsAlphabetically&&(p=lt(p,"name")),n.sortRequiredPropsFirst&&(p=at(p,n.sortPropsAlphabetically?void 0:t.required)),p.push(...Object.keys(s).map(t=>{let o=s[t];return o||(console.warn(`Field "${t}" is invalid, skipping.\n Field must be an object but got ${typeof o} at "${r}"`),o={}),new Yn(e,{name:t,required:!1,schema:o,kind:"patternProperties"},`${r}/patternProperties/${t}`,n,i)})),"object"!=typeof a&&!0!==a||p.push(new Yn(e,{name:("object"==typeof a&&a["x-additionalPropertiesName"]||"property name").concat("*"),required:!1,schema:!0===a?{}:a,kind:"additionalProperties"},r+"/additionalProperties",n,i)),p.push(...function(e){let{parser:t,schema:r=!1,fieldsCount:n,$ref:i,options:o,refsStack:s}=e;return T(r)?r?[new Yn(t,{name:`[${n}...]`,schema:{}},`${i}/additionalItems`,o,s)]:[]:C(r)?[...r.map((e,r)=>new Yn(t,{name:`[${n+r}]`,schema:e},`${i}/additionalItems`,o,s))]:x(r)?[new Yn(t,{name:`[${n}...]`,schema:r},`${i}/additionalItems`,o,s)]:[]}({parser:e,schema:l,fieldsCount:p.length,$ref:r,options:n,refsStack:i})),p}function Un(e){return e.discriminator||e["x-discriminator"]}const Vn={};class Wn{constructor(e,t,r,n){this.mime=r;const{resolved:i}=e.deref(t);this.value=i.value,this.summary=i.summary,this.description=i.description,i.externalValue&&(this.externalValueUrl=new URL(i.externalValue,e.specUrl).href),He(r)&&this.value&&"object"==typeof this.value&&(this.value=Ye(this.value,n))}getExternalValue(e){return this.externalValueUrl?(this.externalValueUrl in Vn||(Vn[this.externalValueUrl]=fetch(this.externalValueUrl).then(t=>t.text().then(r=>{if(!t.ok)return Promise.reject(new Error(r));if(!We(e))return r;try{return JSON.parse(r)}catch(e){return r}}))),Vn[this.externalValueUrl]):Promise.resolve(void 0)}}var Hn=Object.defineProperty,Qn=Object.getOwnPropertyDescriptor,Gn=(e,t,r,n)=>{for(var i,o=n>1?void 0:n?Qn(t,r):t,s=e.length-1;s>=0;s--)(i=e[s])&&(o=(n?i(t,r,o):i(o))||o);return n&&o&&Hn(t,r,o),o};const Kn={path:{style:"simple",explode:!1},query:{style:"form",explode:!0},header:{style:"simple",explode:!1},cookie:{style:"form",explode:!0}};class Yn{constructor(e,t,r,n,i){var o,s,a,l,c;this.expanded=void 0,(0,fe.makeObservable)(this);const{resolved:p}=e.deref(t);this.kind=t.kind||"field",this.name=t.name||p.name,this.in=p.in,this.required=!!p.required;let u=p.schema,d="";if(!u&&p.in&&p.content&&(d=Object.keys(p.content)[0],u=p.content[d]&&p.content[d].schema),this.schema=new Bn(e,u||{},r,n,!1,i),this.description=void 0===p.description?this.schema.description||"":p.description,this.example=p.example||this.schema.example,void 0!==p.examples||void 0!==this.schema.examples){const t=p.examples||this.schema.examples;this.examples=C(t)?t:h(t,(t,r)=>new Wn(e,t,r,p.encoding))}d?this.serializationMime=d:p.style?this.style=p.style:this.in&&(this.style=null!=(s=null==(o=Kn[this.in])?void 0:o.style)?s:"form"),void 0===p.explode&&this.in?this.explode=null==(l=null==(a=Kn[this.in])?void 0:a.explode)||l:this.explode=!!p.explode,this.deprecated=void 0===p.deprecated?!!this.schema.deprecated:p.deprecated,n.showExtensions&&(this.extensions=xt(p,n.showExtensions)),this.const=(null==(c=this.schema)?void 0:c.const)||(null==p?void 0:p.const)||""}toggle(){this.expanded=!this.expanded}collapse(){this.expanded=!1}expand(){this.expanded=!0}}Gn([fe.observable],Yn.prototype,"expanded",2),Gn([fe.action],Yn.prototype,"toggle",1),Gn([fe.action],Yn.prototype,"collapse",1),Gn([fe.action],Yn.prototype,"expand",1);var Jn=r(44193);class Xn{constructor(e,t,r,n,i){this.name=t,this.isRequestType=r,this.schema=n.schema&&new Bn(e,n.schema,"",i),this.onlyRequiredInSamples=i.onlyRequiredInSamples,this.generatedSamplesMaxDepth=i.generatedSamplesMaxDepth,void 0!==n.examples?this.examples=h(n.examples,r=>new Wn(e,r,t,n.encoding)):void 0!==n.example?this.examples={default:new Wn(e,{value:e.deref(n.example).resolved},t,n.encoding)}:We(t)&&this.generateExample(e,n)}generateExample(e,t){const r={skipReadOnly:this.isRequestType,ski
47pWriteOnly:!this.isRequestType,skipNonRequired:this.isRequestType&&this.onlyRequiredInSamples,maxSampleDepth:this.generatedSamplesMaxDepth};if(this.schema&&this.schema.oneOf){this.examples={};for(const n of this.schema.oneOf){const i=Jn.sample(n.rawSchema,r,e.spec);this.schema.discriminatorProp&&"object"==typeof i&&i&&(i[this.schema.discriminatorProp]=n.title),this.examples[n.title]=new Wn(e,{value:i},this.name,t.encoding)}}else this.schema&&(this.examples={default:new Wn(e,{value:Jn.sample(t.schema,r,e.spec)},this.name,t.encoding)})}}var Zn=Object.defineProperty,ei=Object.getOwnPropertyDescriptor,ti=(e,t,r,n)=>{for(var i,o=n>1?void 0:n?ei(t,r):t,s=e.length-1;s>=0;s--)(i=e[s])&&(o=(n?i(t,r,o):i(o))||o);return n&&o&&Zn(t,r,o),o};class ri{constructor(e,t,r,n){this.isRequestType=r,this.activeMimeIdx=0,(0,fe.makeObservable)(this),n.unstable_ignoreMimeParameters&&(t=pt(t)),this.mediaTypes=Object.keys(t).map(i=>{const o=t[i];return new Xn(e,i,r,o,n)})}activate(e){this.activeMimeIdx=e}get active(){return this.mediaTypes[this.activeMimeIdx]}get hasSample(){return this.mediaTypes.filter(e=>!!e.examples).length>0}}ti([fe.observable],ri.prototype,"activeMimeIdx",2),ti([fe.action],ri.prototype,"activate",1),ti([fe.computed],ri.prototype,"active",1);class ni{constructor(e){let{parser:t,infoOrRef:r,options:n,isEvent:i}=e;const o=!i,{resolved:s}=t.deref(r);this.description=s.description||"",this.required=s.required;const a=St(s);void 0!==a&&(this.content=new ri(t,a,o,n))}}var ii=Object.defineProperty,oi=Object.defineProperties,si=Object.getOwnPropertyDescriptor,ai=Object.getOwnPropertyDescriptors,li=Object.getOwnPropertySymbols,ci=Object.prototype.hasOwnProperty,pi=Object.prototype.propertyIsEnumerable,ui=(e,t,r)=>t in e?ii(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,di=(e,t,r,n)=>{for(var i,o=n>1?void 0:n?si(t,r):t,s=e.length-1;s>=0;s--)(i=e[s])&&(o=(n?i(t,r,o):i(o))||o);return n&&o&&ii(t,r,o),o};class fi{constructor(e){let{parser:t,code:r,defaultAsError:n,infoOrRef:i,options:o,isEvent:s}=e;this.expanded=!1,this.headers=[],(0,fe.makeObservable)(this),this.expanded="all"===o.expandResponses||o.expandResponses[r];const{resolved:a}=t.deref(i);this.code=r,void 0!==a.content&&(this.content=new ri(t,a.content,s,o)),void 0!==a["x-summary"]?(this.summary=a["x-summary"],this.description=a.description||""):(this.summary=a.description||"",this.description=""),this.type=Me(r,n);const l=a.headers;void 0!==l&&(this.headers=Object.keys(l).map(e=>{const r=l[e];return new Yn(t,(n=((e,t)=>{for(var r in t||(t={}))ci.call(t,r)&&ui(e,r,t[r]);if(li)for(var r of li(t))pi.call(t,r)&&ui(e,r,t[r]);return e})({},r),oi(n,ai({name:e}))),"",o);var n})),o.showExtensions&&(this.extensions=xt(a,o.showExtensions))}toggle(){this.expanded=!this.expanded}}di([fe.observable],fi.prototype,"expanded",2),di([fe.action],fi.prototype,"toggle",1);var hi=Object.defineProperty,mi=Object.getOwnPropertyDescriptor,gi=(e,t,r,n)=>{for(var i,o=n>1?void 0:n?mi(t,r):t,s=e.length-1;s>=0;s--)(i=e[s])&&(o=(n?i(t,r,o):i(o))||o);return n&&o&&hi(t,r,o),o};function yi(e){return"payload"===e.lang&&e.requestBodyContent}let bi=!1;class vi{constructor(e,t,r,n){let i=arguments.length>4&&void 0!==arguments[4]&&arguments[4];var o;this.parser=e,this.operationSpec=t,this.options=n,this.type="operation",this.items=[],this.ready=!0,this.active=!1,this.expanded=!1,(0,fe.makeObservable)(this),this.pointer=t.pointer,this.description=t.description,this.parent=r,this.externalDocs=t.externalDocs,this.deprecated=!!t.deprecated,this.httpVerb=t.httpVerb,this.deprecated=!!t.deprecated,this.operationId=t.operationId,this.path=t.pathName,this.isCallback=i,this.isWebhook=t.isWebhook,this.isEvent=this.isCallback||this.isWebhook,this.name=Be(t),this.sidebarLabel=n.sideNavStyle===R.IdOnly?this.operationId||this.path:n.sideNavStyle===R.PathOnly?this.path:this.name,this.badges=(null==(o=t["x-badges"])?void 0:o.map(e=>{let{name:t,color:r,position:n}=e;return{name:t,color:r,position:n||"after"}}))||[],this.isCallback?(this.security=(t.security||[]).map(t=>new rn(t,e)),this.servers=dt("",t.servers||t.pathServers||[])):(this.operationHash=t.operationId&&"operation/"+t.operationId,this.id=void 0!==t.operationId?(r?r.id+"/":"")+this.operationHash:void 0!==r?r.id+this.pointer:this.pointer,this.security=(t.security||e.spec.security||[]).map(t=>new rn(t,e)),this.servers=dt(e.specUrl,t.servers||t.pathServers||e.spec.servers||[])),n.showExtensions&&(this.extensions=xt(t,n.showExtensions))}activate(){this.active=!0}deactivate(){this.active=!1}toggle(){this.expanded=!this.expanded}expand(){this.parent&&this.parent.expand()}collapse(){}get requestBody(){return this.operationSpec.requestBody&&new ni({parser:this.parser,infoOrRef:this.operationSpec.requestBody,options:this.options,isEvent:this.isEvent})}get codeSamples(){const{payloadSampleIdx:e,hideRequestPayloadSample:t}=this.options;let r=this.operationSpec["x-codeSamples"]||this.operationSpec["x-code-samples"]||[];this.operationSpec["x-code-samples"]&&!bi&&(bi=!0,console.warn('"x-code-samples" is deprecated. Use "x-codeSamples" instead'));const n=this.requestBody&&this.requestBody.content;if(n&&n.hasSample&&!t){const t=Math.min(r.length,e);r=[...r.slice(0,t),{lang:"payload",label:"Payload",source:"",requestBodyContent:n},...r.slice(t)]}return r}get parameters(){const e=ct(this.parser,this.operationSpec.pathParameters,this.operationSpec.parameters).map(e=>new Yn(this.parser,e,this.pointer,this.options));return this.options.sortPropsAlphabetically?lt(e,"name"):this.options.sortRequiredPropsFirst?at(e):e}get responses(){let e=!1;return Object.keys(this.operationSpec.responses||[]).filter(t=>"default"===t||("success"===Me(t)&&(e=!0),De(t))).map(t=>new fi({parser:this.parser,code:t,defaultAsError:e,infoOrRef:this.operationSpec.responses[t],options:this.options,isEvent:this.isEvent}))}get callbacks(){return Object.keys(this.operationSpec.callbacks||[]).map(e=>new mn(this.parser,e,this.operationSpec.callbacks[e],this.pointer,this.options))}}gi([fe.observable],vi.prototype,"ready",2),gi([fe.observable],vi.prototype,"active",2),gi([fe.observable],vi.prototype,"expanded",2),gi([fe.action],vi.prototype,"activate",1),gi([fe.action],vi.prototype,"deactivate",1),gi([fe.action],vi.prototype,"toggle",1),gi([Ft],vi.prototype,"requestBody",1),gi([Ft],vi.prototype,"codeSamples",1),gi([Ft],vi.prototype,"parameters",1),gi([Ft],vi.prototype,"responses",1),gi([Ft],vi.prototype,"callbacks",1);var xi=Object.defineProperty,wi=Object.defineProperties,Si=Object.getOwnPropertyDescriptors,ki=Object.getOwnPropertySymbols,Oi=Object.prototype.hasOwnProperty,Ei=Object.prototype.propertyIsEnumerable,_i=(e,t,r)=>t in e?xi(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,$i=(e,t)=>{for(var r in t||(t={}))Oi.call(t,r)&&_i(e,r,t[r]);if(ki)for(var r of ki(t))Ei.call(t,r)&&_i(e,r,t[r]);return e},Ai=(e,t)=>wi(e,Si(t));class Pi{constructor(e,t,r){this.operations=[];const{resolved:n}=e.deref(r||{});this.initWebhooks(e,n,t)}initWebhooks(e,t,r){for(const n of Object.keys(t)){const i=t[n],o=Object.keys(i).filter(Fe);for(const t of o){const n=i[t];if(i.$ref){const n=e.deref(i||{});this.initWebhooks(e,{[t]:n},r)}if(!n)continue;const o=new vi(e,Ai($i({},n),{httpVerb:t}),void 0,r,!1);this.operations.push(o)}}}}class ji{constructor(e,t,r){const{resolved:n}=e.deref(r);this.id=t,this.sectionId=gt+t,this.type=n.type,this.displayName=n["x-displayName"]||t,this.description=n.description||"","a
47piKey"===n.type&&(this.apiKey={name:n.name,in:n.in}),"http"===n.type&&(this.http={scheme:n.scheme,bearerFormat:n.bearerFormat}),"openIdConnect"===n.type&&(this.openId={connectUrl:n.openIdConnectUrl}),"oauth2"===n.type&&n.flows&&(this.flows=n.flows)}}class Ci{constructor(e){const t=e.spec.components&&e.spec.components.securitySchemes||{};this.schemes=Object.keys(t).map(r=>new ji(e,r,t[r]))}}var Ti=Object.defineProperty,Ii=Object.getOwnPropertySymbols,Ni=Object.prototype.hasOwnProperty,Ri=Object.prototype.propertyIsEnumerable,Li=(e,t,r)=>t in e?Ti(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Di=(e,t)=>{for(var r in t||(t={}))Ni.call(t,r)&&Li(e,r,t[r]);if(Ii)for(var r of Ii(t))Ri.call(t,r)&&Li(e,r,t[r]);return e};class Mi{constructor(e,t,r){var n,i,o;this.options=r,this.parser=new An(e,t,r),this.info=new Gr(this.parser,this.options),this.externalDocs=this.parser.spec.externalDocs,this.contentItems=Zi.buildStructure(this.parser,this.options),this.securitySchemes=new Ci(this.parser);const s=Di(Di({},null==(i=null==(n=this.parser)?void 0:n.spec)?void 0:i["x-webhooks"]),null==(o=this.parser)?void 0:o.spec.webhooks);this.webhooks=new Pi(this.parser,r,s)}}var zi=Object.defineProperty,Fi=Object.getOwnPropertyDescriptor,Bi=(e,t,r,n)=>{for(var i,o=n>1?void 0:n?Fi(t,r):t,s=e.length-1;s>=0;s--)(i=e[s])&&(o=(n?i(t,r,o):i(o))||o);return n&&o&&zi(t,r,o),o};class qi{constructor(e,t,r){this.items=[],this.active=!1,this.expanded=!1,(0,fe.makeObservable)(this),this.id=t.id||e+"/"+S(t.name),this.type=e,this.name=t["x-displayName"]||t.name,this.level=t.level||1,this.sidebarLabel=this.name,this.description=t.description||"";const n=t.items;n&&n.length&&(this.description=Hr.getTextBeforeHading(this.description,n[0].name)),this.parent=r,this.externalDocs=t.externalDocs,"group"===this.type&&(this.expanded=!0)}activate(){this.active=!0}expand(){this.parent&&this.parent.expand(),this.expanded=!0}collapse(){"group"!==this.type&&(this.expanded=!1)}deactivate(){this.active=!1}}Bi([fe.observable],qi.prototype,"active",2),Bi([fe.observable],qi.prototype,"expanded",2),Bi([fe.action],qi.prototype,"activate",1),Bi([fe.action],qi.prototype,"expand",1),Bi([fe.action],qi.prototype,"collapse",1),Bi([fe.action],qi.prototype,"deactivate",1);var Ui=Object.defineProperty,Vi=Object.defineProperties,Wi=Object.getOwnPropertyDescriptors,Hi=Object.getOwnPropertySymbols,Qi=Object.prototype.hasOwnProperty,Gi=Object.prototype.propertyIsEnumerable,Ki=(e,t,r)=>t in e?Ui(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Yi=(e,t)=>{for(var r in t||(t={}))Qi.call(t,r)&&Ki(e,r,t[r]);if(Hi)for(var r of Hi(t))Gi.call(t,r)&&Ki(e,r,t[r]);return e},Ji=(e,t)=>Vi(e,Wi(t));const Xi=0;class Zi{static buildStructure(e,t){const r=e.spec,{schemaDefinitionsTagName:n}=t,i=[],o=[...r.tags||[]];!o.find(e=>(null==e?void 0:e.name)===n)&&n&&o.push({name:n});const s=Zi.getTagsWithOperations(e,o);return i.push(...Zi.addMarkdownItems(r.info.description||"",void 0,1,t)),r["x-tagGroups"]&&r["x-tagGroups"].length>0?i.push(...Zi.getTagGroupsItems(e,void 0,r["x-tagGroups"],s,t)):i.push(...Zi.getTagsItems(e,s,void 0,void 0,t)),i}static addMarkdownItems(e,t,r,n){const i=new Hr(n,null==t?void 0:t.id).extractHeadings(e||"");i.length&&t&&t.description&&(t.description=Hr.getTextBeforeHading(t.description,i[0].name));const o=function(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;return t.map(t=>{const n=new qi("section",t,e);return n.depth=r,t.items&&(n.items=o(n,t.items,r+1)),n})};return o(t,i,r)}static getTagGroupsItems(e,t,r,n,i){const o=[];for(const s of r){const r=new qi("group",s,t);r.depth=Xi,r.items=Zi.getTagsItems(e,n,r,s,i),o.push(r)}return o}static getTagsItems(e,t,r,n,i){let o;o=void 0===n?Object.keys(t):n.tags;const s=o.map(e=>t[e]?(t[e].used=!0,t[e]):(console.warn(`Non-existing tag "${e}" is added to the group "${n.name}"`),null)),a=[];for(const l of s){if(!l)continue;const t=new qi("tag",l,r);if(t.depth=Xi+1,""===l.name){const r=[...Zi.addMarkdownItems(l.description||"",t,t.depth+1,i),...this.getOperationsItems(e,void 0,l,t.depth+1,i)];a.push(...r);continue}const n=this.getTagRelatedSchema({parser:e,tag:l,parent:t,schemaDefinitionsTagName:i.schemaDefinitionsTagName});t.items=[...n,...Zi.addMarkdownItems(l.description||"",t,t.depth+1,i),...this.getOperationsItems(e,t,l,t.depth+1,i)],a.push(t)}return i.sortTagsAlphabetically&&a.sort(Bt("name")),a}static getOperationsItems(e,t,r,n,i){if(0===r.operations.length)return[];const o=[];for(const s of r.operations){const r=new vi(e,s,t,i);r.depth=n,o.push(r)}return i.sortOperationsAlphabetically&&o.sort(Bt("name")),o}static getTagsWithOperations(e,t){const{spec:r}=e,n={},i=r["x-webhooks"]||r.webhooks;for(const s of t||[])n[s.name]=Ji(Yi({},s),{operations:[]});function o(e,t,r){for(const i of Object.keys(t)){const s=t[i],a=Object.keys(s).filter(Fe);for(const t of a){const a=s[t];if(s.$ref){const{resolved:t}=e.deref(s);o(e,{[i]:t},r);continue}let l=null==a?void 0:a.tags;l&&l.length||(l=[""]);for(const e of l){let o=n[e];void 0===o&&(o={name:e,operations:[]},n[e]=o),o["x-traitTag"]||o.operations.push(Ji(Yi({},a),{pathName:i,pointer:Oe.compile(["paths",i,t]),httpVerb:t,pathParameters:s.parameters||[],pathServers:s.servers,isWebhook:!!r}))}}}}return i&&o(e,i,!0),r.paths&&o(e,r.paths),n}static getTagRelatedSchema(e){let{parser:t,tag:r,parent:n,schemaDefinitionsTagName:i}=e;var o;const s=i?[i]:[];return Object.entries((null==(o=t.spec.components)?void 0:o.schemas)||{}).map(e=>{let[t,i]=e;const o=i["x-tags"]||s;if(!(null==o?void 0:o.includes(r.name)))return null;const a=new qi("schema",{name:t,"x-displayName":`${i.title||t}`,description:`<SchemaDefinition showWriteOnly={true} schemaRef="#/components/schemas/${t}" />`},n);return a.depth=n.depth+1,a}
47).filter(Boolean)}}var eo=Object.defineProperty,to=Object.getOwnPropertyDescriptor,ro=(e,t,r,n)=>{for(var i,o=n>1?void 0:n?to(t,r):t,s=e.length-1;s>=0;s--)(i=e[s])&&(o=(n?i(t,r,o):i(o))||o);return n&&o&&eo(t,r,o),o};const no="data-section-id";class io{constructor(e,t,r){var n=this;this.scroll=t,this.history=r,this.activeItemIdx=-1,this.sideBarOpened=!1,this.updateOnScroll=e=>{const t=e?1:-1;let r=this.activeItemIdx;for(;(-1!==r||e)&&!(r>=this.flatItems.length-1&&e);){if(e){const e=this.getElementAtOrFirstChild(r+1);if(this.scroll.isElementBellow(e))break}else{const e=this.getElementAt(r);if(this.scroll.isElementAbove(e))break}r+=t}this.activate(this.flatItems[r],!0,!0)},this.updateOnHistory=function(){let e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:n.history.currentId;t&&(e=n.flatItems.find(e=>e.id===t),e?n.activateAndScroll(e,!1):(t.startsWith(gt)&&(e=n.flatItems.find(e=>gt.startsWith(e.id)),n.activateAndScroll(e,!1)),n.scroll.scrollIntoViewBySelector(`[${no}="${P(t)}"]`)))},this.getItemById=e=>this.flatItems.find(t=>t.id===e),(0,fe.makeObservable)(this),this.items=e.contentItems,this.flatItems=m(this.items||[],"items"),this.flatItems.forEach((e,t)=>e.absoluteIdx=t),this.subscribe()}static updateOnHistory(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Ht.currentId;e&&(arguments.length>1?arguments[1]:void 0).scrollIntoViewBySelector(`[${no}="${P(e)}"]`)}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(e){const t=this.flatItems[e];return t&&l(`[${no}="${P(t.id)}"]`)||null}getElementAtOrFirstChild(e){let t=this.flatItems[e];return t&&"group"===t.type&&(t=t.items[0]),t&&l(`[${no}="${P(t.id)}"]`)||null}get activeItem(){return this.flatItems[this.activeItemIdx]||void 0}activate(e){let t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if((this.activeItem&&this.activeItem.id)!==(e&&e.id)&&(!e||"group"!==e.type)){if(this.deactivate(this.activeItem),!e)return this.activeItemIdx=-1,void this.history.replace("",r);e.depth<=Xi||(this.activeItemIdx=e.absoluteIdx,t&&this.history.replace(encodeURI(e.id),r),e.activate(),e.expand())}}deactivate(e){if(void 0!==e)for(e.deactivate();void 0!==e;)e.collapse(),e=e.parent}activateAndScroll(e,t,r){const n=e&&this.getItemById(e.id)||e;this.activate(n,t,r),this.scrollToActive(),n&&n.items.length||this.closeSidebar()}scrollToActive(){this.scroll.scrollIntoView(this.getElementAt(this.activeItemIdx))}dispose(){this._unsubscribe(),this._hashUnsubscribe()}}ro([fe.observable],io.prototype,"activeItemIdx",2),ro([fe.observable],io.prototype,"sideBarOpened",2),ro([fe.action],io.prototype,"toggleSidebar",1),ro([fe.action],io.prototype,"closeSidebar",1),ro([fe.action],io.prototype,"activate",1),ro([fe.action.bound],io.prototype,"activateAndScroll",1);var oo=Object.defineProperty,so=Object.getOwnPropertyDescriptor;const ao="scroll";class lo{constructor(e){this.options=e,this._prevOffsetY=0,this._scrollParent=a?window:void 0,this._emiter=new we.EventEmitter,this.bind()}bind(){this._prevOffsetY=this.scrollY(),this._scrollParent&&this._scrollParent.addEventListener("scroll",this.handleScroll)}dispose(){this._scrollParent&&this._scrollParent.removeEventListener("scroll",this.handleScroll),this._emiter.removeAllListeners(ao)}scrollY(){return"undefined"!=typeof HTMLElement&&this._scrollParent instanceof HTMLElement?this._scrollParent.scrollTop:void 0!==this._scrollParent?this._scrollParent.pageYOffset:0}isElementBellow(e){if(null!==e)return e.getBoundingClientRect().top>this.options.scrollYOffset()}isElementAbove(e){if(null===e)return;const t=e.getBoundingClientRect().top;return(t>0?Math.floor(t):Math.ceil(t))<=this.options.scrollYOffset()}subscribe(e){const t=this._emiter.addListener(ao,e);return()=>t.removeListener(ao,e)}scrollIntoView(e){null!==e&&(e.scrollIntoView(),this._scrollParent&&this._scrollParent.scrollBy&&this._scrollParent.scrollBy(0,1-this.options.scrollYOffset()))}scrollIntoViewBySelector(e){const t=l(e);this.scrollIntoView(t)}handleScroll(){const e=this.scrollY()-this._prevOffsetY>0;this._prevOffsetY=this.scrollY(),this._emiter.emit(ao,e)}}((e,t,r)=>{for(var n,i=so(t,r),o=e.length-1;o>=0;o--)(n=e[o])&&(i=n(t,r,i)||i);i&&oo(t,r,i)})([xe.bind,$t(100)],lo.prototype,"handleScroll");class co{constructor(){this.searchWorker=function(){let e;if(a)try{e=n(303)}catch(t){e=n(353).Ay}else e=n(353).Ay;return new e}()}indexItems(e){const t=e=>
47{e.forEach(e=>{"group"!==e.type&&this.add(e.name,(e.description||"").concat(" ",e.path||""),e.id),t(e.items)})};t(e),this.searchWorker.done()}add(e,t,r){this.searchWorker.add(e,t,r)}dispose(){this.searchWorker.terminate(),this.searchWorker.dispose()}search(e){return this.searchWorker.search(e)}toJS(){return e=this,t=function*(){return this.searchWorker.toJS()},new Promise((r,n)=>{var i=e=>{try{s(t.next(e))}catch(e){n(e)}},o=e=>{try{s(t.throw(e))}catch(e){n(e)}},s=e=>e.done?r(e.value):Promise.resolve(e.value).then(i,o);s((t=t.apply(e,null)).next())});var e,t}load(e){this.searchWorker.load(e)}fromExternalJS(e,t){e&&t&&this.searchWorker.fromExternalJS(e,t)}}const po=te.div`
48  width: calc(100% - ${e=>e.theme.rightPanel.width});
49  padding: 0 ${e=>e.theme.spacing.sectionHorizontal}px;
50
51  ${e=>{let{$compact:t,theme:r}=e;return ee.lessThan("medium",!0)`
52    width: 100%;
53    padding: ${`${t?0:r.spacing.sectionVertical}px ${r.spacing.sectionHorizontal}px`};
54  `}};
55`,uo=te.div.attrs(e=>({[no]:e.id}))`
56  padding: ${e=>e.theme.spacing.sectionVertical}px 0;
57
58  &:last-child {
59    min-height: calc(100vh + 1px);
60  }
61
62  & > &:last-child {
63    min-height: initial;
64  }
65
66  ${ee.lessThan("medium",!0)`
67    padding: 0;
68  `}
69  ${e=>{let{$underlined:t}=e;return t?"\n    position: relative;\n\n    &:not(:last-of-type):after {\n      position: absolute;\n      bottom: 0;\n      width: 100%;\n      display: block;\n      content: '';\n      border-bottom: 1px solid rgba(0, 0, 0, 0.2);\n    }\n  ":""}}
70`,fo=te.div`
71  width: ${e=>e.theme.rightPanel.width};
72  color: ${e=>{let{theme:t}=e;return t.rightPanel.textColor}};
73  background-color: ${e=>e.theme.rightPanel.backgroundColor};
74  padding: 0 ${e=>e.theme.spacing.sectionHorizontal}px;
75
76  ${ee.lessThan("medium",!0)`
77    width: 100%;
78    padding: ${e=>`${e.theme.spacing.sectionVertical}px ${e.theme.spacing.sectionHorizontal}px`};
79  `};
80`,ho=te(fo)`
81  background-color: ${e=>e.theme.rightPanel.backgroundColor};
82`,mo=te.div`
83  display: flex;
84  width: 100%;
85  padding: 0;
86
87  ${ee.lessThan("medium",!0)`
88    flex-direction: column;
89  `};
90`,go={1:"1.85714em",2:"1.57143em",3:"1.27em"},yo=e=>Y`
91  font-family: ${e=>{let{theme:t}=e;return t.typography.headings.fontFamily}};
92  font-weight: ${e=>{let{theme:t}=e;return t.typography.headings.fontWeight}};
93  font-size: ${go[e]};
94  line-height: ${e=>{let{theme:t}=e;return t.typography.headings.lineHeight}};
95`,bo=te.h1`
96  ${yo(1)};
97  color: ${e=>{let{theme:t}=e;return t.colors.text.primary}};
98
99  ${re("H1")};
100`,vo=te.h2`
101  ${yo(2)};
102  color: ${e=>{let{theme:t}=e;return t.colors.text.primary}};
103  margin: 0 0 20px;
104
105  ${re("H2")};
106`,xo=te.h2`
107  ${yo(3)};
108  color: ${e=>{let{theme:t}=e;return t.colors.text.primary}};
109
110  ${re("H3")};
111`,wo=te.h3`
112  color: ${e=>{let{theme:t}=e;return t.rightPanel.textColor}};
113
114  ${re("RightPanelHeader")};
115`,So=te.h5`
116  border-bottom: 1px solid rgba(38, 50, 56, 0.3);
117  margin: 1em 0 1em 0;
118  color: rgba(38, 50, 56, 0.7);
119  font-weight: normal;
120  text-transform: uppercase;
121  font-size: 0.929em;
122  line-height: 20px;
123
124  ${re("UnderlinedHeader")};
125`;var ko=(e,t,r)=>new Promise((n,i)=>{var o=e=>{try{a(r.next(e))}catch(e){i(e)}},s=e=>{try{a(r.throw(e))}catch(e){i(e)}},a=e=>e.done?n(e.value):Promise.resolve(e.value).then(o,s);a((r=r.apply(e,t)).next())});const Oo=(0,e.createContext)(void 0),{Provider:Eo,Consumer:_o}=Oo;function $o(t){const{spec:r,specUrl:n,options:i,onLoaded:o,children:s}=t,[a,l]=e.useState(null),[c,p]=e.useState(null);if(c)throw c;e.useEffect(()=>{!function(){ko(this,null,function*(){if(r||n){l(null);try{const e=yield be(r||n);l(e)}catch(e){throw o&&o(e),p(e),e}}})}()},[r,n]);const u=e.useMemo(()=>{if(!a)return null;try{return new yc(a,n,i)}catch(e){throw o&&o(e),e}},[a,n,i]);return e.useEffect(()=>{u&&o&&o()},[u,o]),s({loading:!u,store:u})}function Ao(){return(0,e.useContext)(Oo)}const Po=e=>Y`
126  ${e} {
127    cursor: pointer;
128    margin-left: -20px;
129    padding: 0;
130    line-height: 1;
131    width: 20px;
132    display: inline-block;
133    outline: 0;
134  }
135  ${e}:before {
136    content: '';
137    width: 15px;
138    height: 15px;
139    background-size: contain;
140    background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZlcnNpb249IjEuMSIgeD0iMCIgeT0iMCIgd2lkdGg9IjUxMiIgaGVpZ2h0PSI1MTIiIHZpZXdCb3g9IjAgMCA1MTIgNTEyIiBlbmFibGUtYmFja2dyb3VuZD0ibmV3IDAgMCA1
140MTIgNTEyIiB4bWw6c3BhY2U9InByZXNlcnZlIj48cGF0aCBmaWxsPSIjMDEwMTAxIiBkPSJNNDU5LjcgMjMzLjRsLTkwLjUgOTAuNWMtNTAgNTAtMTMxIDUwLTE4MSAwIC03LjktNy44LTE0LTE2LjctMTkuNC0yNS44bDQyLjEtNDIuMWMyLTIgNC41LTMuMiA2LjgtNC41IDIuOSA5LjkgOCAxOS4zIDE1LjggMjcuMiAyNSAyNSA2NS42IDI0LjkgOTAuNSAwbDkwLjUtOTAuNWMyNS0yNSAyNS02NS42IDAtOTAuNSAtMjQuOS0yNS02NS41LTI1LTkwLjUgMGwtMzIuMiAzMi4yYy0yNi4xLTEwLjItNTQuMi0xMi45LTgxLjYtOC45bDY4LjYtNjguNmM1MC01MCAxMzEtNTAgMTgxIDBDNTA5LjYgMTAyLjMgNTA5LjYgMTgzLjQgNDU5LjcgMjMzLjR6TTIyMC4zIDM4Mi4ybC0zMi4yIDMyLjJjLTI1IDI0LjktNjUuNiAyNC45LTkwLjUgMCAtMjUtMjUtMjUtNjUuNiAwLTkwLjVsOTAuNS05MC41YzI1LTI1IDY1LjUtMjUgOTAuNSAwIDcuOCA3LjggMTIuOSAxNy4yIDE1LjggMjcuMSAyLjQtMS40IDQuOC0yLjUgNi44LTQuNWw0Mi4xLTQyYy01LjQtOS4yLTExLjYtMTgtMTkuNC0yNS44IC01MC01MC0xMzEtNTAtMTgxIDBsLTkwLjUgOTAuNWMtNTAgNTAtNTAgMTMxIDAgMTgxIDUwIDUwIDEzMSA1MCAxODEgMGw2OC42LTY4LjZDMjc0LjYgMzk1LjEgMjQ2LjQgMzkyLjMgMjIwLjMgMzgyLjJ6Ii8+PC9zdmc+Cg==');
141    opacity: 0.5;
142    visibility: hidden;
143    display: inline-block;
144    vertical-align: middle;
145  }
146
147  h1:hover > ${e}::before, h2:hover > ${e}::before, ${e}:hover::before {
148    visibility: visible;
149  }
150`,jo=te(function(t){const r=e.useContext(Oo),n=e.useCallback(e=>{r&&function(e,t,r){t.defaultPrevented||0!==t.button||(e=>!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey))(t)||(t.preventDefault(),e.replace(encodeURI(r)))}(r.menu.history,e,t.to)},[r,t.to]);return r?e.createElement("a",{className:t.className,href:r.menu.history.linkForId(t.to),onClick:n,"aria-label":t.to},t.children):null})`
151  ${Po("&")};
152`;function Co(t){return e.createElement(jo,{to:t.to})}const To={left:"90deg",right:"-90deg",up:"-180deg",down:"0"},Io=te(t=>e.createElement("svg",{className:t.className,style:t.style,version:"1.1",viewBox:"0 0 24 24",x:"0",xmlns:"http://www.w3.org/2000/svg",y:"0","aria-hidden":"true"},e.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 "})))`
153  height: ${e=>e.size||"18px"};
154  width: ${e=>e.size||"18px"};
155  min-width: ${e=>e.size||"18px"};
156  vertical-align: middle;
157  float: ${e=>e.float||""};
158  transition: transform 0.2s ease-out;
159  transform: rotateZ(${e=>To[e.direction||"down"]});
160
161  polygon {
162    fill: ${e=>{let{color:t,theme:r}=e;return t&&r.colors.responses[t]&&r.colors.responses[t].color||t}};
163  }
164`,No=te.span`
165  display: inline-block;
166  padding: 2px 8px;
167  margin: 0;
168  background-color: ${e=>e.color||e.theme.colors[e.type].main};
169  color: ${e=>e.theme.colors[e.type].contrastText};
170  font-size: ${e=>e.theme.typography.code.fontSize};
171  vertical-align: middle;
172  line-height: 1.6;
173  border-radius: 4px;
174  font-weight: ${e=>{let{theme:t}=e;return t.typography.fontWeightBold}};
175  font-size: 12px;
176  + span[type] {
177    margin-left: 4px;
178  }
179`,Ro=Y`
180  text-decoration: line-through;
181  color: #707070;
182`,Lo=te.caption`
183  text-align: right;
184  font-size: 0.9em;
185  font-weight: normal;
186  color: ${e=>e.theme.colors.text.secondary};
187`,Do=te.td`
188  border-left: 1px solid ${e=>e.theme.schema.linesColor};
189  box-sizing: border-box;
190  position: relative;
191  padding: 10px 10px 10px 0;
192
193  ${ee.lessThan("small")`
194    display: block;
195    overflow: hidden;
196  `}
197
198  tr:first-of-type > &,
199  tr.last > & {
200    border-left-width: 0;
201    background-position: top left;
202    background-repeat: no-repeat;
203    background-size: 1px 100%;
204  }
205
206  tr:first-of-type > & {
207    background-image: linear-gradient(
208      to bottom,
209      transparent 0%,
210      transparent 22px,
211      ${e=>e.theme.schema.linesColor} 22px,
212      ${e=>e.theme.schema.linesColor} 100%
213    );
214  }
215
216  tr.last > & {
217    background-image: linear-gradient(
218      to bottom,
219      ${e=>e.theme.schema.linesColor} 0%,
220      ${e=>e.theme.schema.linesColor} 22px,
221      transparent 22px,
222      transparent 100%
223    );
224  }
225
226  tr.last + tr > & {
227    border-left-color: transparent;
228  }
229
230  tr.last:first-child > & {
231    background: none;
232    border-left-color: transparent;
233  }
234`,Mo=te(Do)`
235  padding: 0;
236`,zo=te(Do)`
237  vertical-align: top;
238  line-height: 20px;
239  white-space: nowrap;
240  font-size: 13px;
241  font-family: ${e=>e.theme.typography.code.fontFamily};
242
243  &.deprecated {
244    ${Ro};
245  }
246
247  ${e=>{let{kind:t}=e;return"patternProperties"===t&&Y`
248      > span.property-name {
249        display: inline-table;
250        white-space: break-spaces;
251        margin-right: 20px;
252
253        ::before,
254        ::after {
255          content: '/';
256          filter: opacity(0.2);
257        }
258      }
259    `}}
260
261  ${e=>{let{kind:t=""}=e;return["field","additionalProperties","patternProperties"].includes(t)?"":"font-style: italic"}};
262
263  ${re("PropertyNameCell")};
264`,Fo=te.td`
265  border-bottom: 1px solid #9fb4be;
266  padding: 10px 0;
267  width: ${e=>e.theme.schema.defaultDetailsWidth};
268  box-sizing: border-box;
269
270  tr.expanded & {
271    border-bottom: none;
272  }
273
274  ${ee.lessThan("small")`
275    padding: 0 20px;
276    border-bottom: none;
277    border-left: 1px solid ${e=>e.theme.schema.linesColor};
278
279    tr.last > & {
280      border-left: none;
281    }
282  `}
283
284  ${re("PropertyDetailsCell")};
285`,Bo=te.span`
286  color: ${e=>e.theme.schema.linesColor};
287  font-family: ${e=>e.theme.typography.code.fontFamily};
288  margin-right: 10px;
289
290  &::before {
291    content: '';
292    display: inline-block;
293    vertical-align: middle;
294    width: 10px;
295    height: 1px;
296    background: ${e=>e.theme.schema.linesColor};
297  }
298
299  &::after {
300    content: '';
301    display: inline-block;
302    vertical-align: middle;
303    width: 1px;
304    background: ${e=>e.theme.schema.linesColor};
305    height: 7px;
306  }
307`,qo=te.div`
308  padding: ${e=>{let{theme:t}=e;return t.schema.nestingSpacing}};
309`,Uo=te.table`
310  border-collapse: separate;
311  border-radius: 3px;
312  font-size: ${e=>e.theme.typography.fontSize};
313
314  border-spacing: 0;
315  width: 100%;
316
317  > tr {
318    vertical-align: middle;
319  }
320
321  ${ee.lessThan("small")`
322    display: block;
323    > tr, > tbody > tr {
324      display: block;
325    }
326  `}
327
328  ${ee.lessThan("small",!1," and (-ms-high-contrast:none)")`
329    td {
330      float: left;
331      width: 100%;
332    }
333  `}
334
335  &
336    ${qo},
337    &
338    ${qo}
339    ${qo}
340    ${qo},
341    &
342    ${qo}
343    ${qo}
344    ${qo}
345    ${qo}
346    ${qo} {
347    margin: ${e=>{let{theme:t}=e;return t.schema.nestingSpacing}};
348    margin-right: 0;
349    background: ${e=>{let{theme:t}=e;return t.schema.nestedBackground}};
350  }
351
352  &
353    ${qo}
354    ${qo},
355    &
356    ${qo}
357    ${qo}
358    ${qo}
359    ${qo},
360    &
361    ${qo}
362    ${qo}
363    ${qo}
364    ${qo}
365    ${qo}
366    ${qo} {
367    background: #ffffff;
368  }
369`,Vo=te.div`
370  margin: 0 0 3px 0;
371  display: inline-block;
372`,Wo=te.span`
373  font-size: 0.9em;
374  margin-right: 10px;
375  color: ${e=>e.theme.colors.primary.main};
376  font-family: ${e=>e.theme.typography.headings.fontFamily};
377}
378`,Ho=te.button`
379  display: inline-block;
380  margin-right: 10px;
381  margin-bottom: 5px;
382  font-size: 0.8em;
383  cursor: pointer;
384  border: 1px solid ${e=>e.theme.colors.primary.main};
385  padding: 2px 10px;
386  line-height: 1.5em;
387  outline: none;
388  &:focus {
389    box-shadow: 0 0 0 1px ${e=>e.theme.colors.primary.main};
390  }
391
392  ${e=>{let{$deprecated:t}=e;return t&&Ro||""}};
393
394  ${e=>e.$active?`\n      color: white;\n      background-color: ${e.theme.colors.primary.main};\n      &:focus {\n        box-shadow: none;\n        background-color: ${(0,t.darken)(.15,e.theme.colors.primary.main)};\n      }\n      `:`\n        color: ${e.theme.colors.primary.main};\n        background-color: white;\n      `}
395`,Qo=te.div`
396  font-size: 0.9em;
397  font-family: ${e=>e.theme.typography.code.fontFamily};
398  &::after {
399    content: ' [';
400  }
401`,Go=te.div`
402  font-size: 0.9em;
403  font-family: ${e=>e.theme.typography.code.fontFamily};
404  &::after {
405    content: ']';
406  }
407`;var Ko=r(38038);const Yo=te(Ko.Tabs)`
408  > ul {
409    list-style: none;
410    padding: 0;
411    margin: 0;
412    margin: 0 -5px;
413
414    > li {
415      padding: 5px 10px;
416      display: inline-block;
417
418      background-color: ${e=>{let{theme:t}=e;return t.codeBlock.backgroundColor}};
419      border-bottom: 1px solid rgba(0, 0, 0, 0.5);
420      cursor: pointer;
421      text-align: center;
422      outline: none;
423      color: ${e=>{let{theme:r}=e;return(0,t.darken)(r.colors.tonalOffset,r.rightPanel.textColor)}};
424      margin: 0
425        ${e=>{let{theme:t}=e;return`${t.spacing.unit}px ${t.spacing.unit}px ${t.spacing.unit}px`}};
426      border: 1px solid ${e=>{let{theme:r}=e;return(0,t.darken)(.05,r.codeBlock.backgroundColor)}};
427      border-radius: 5px;
428      min-width: 60px;
429      font-size: 0.9em;
430      font-weight: bold;
431
432      &.react-tabs__tab--selected {
433        color: ${e=>e.theme.colors.text.primary};
434        background: ${e=>{let{theme:t}=e;return t.rightPanel.textColor}};
435        &:focus {
436          outline: auto;
437        }
438      }
439
440      &:only-child {
441        flex: none;
442        min-width: 100px;
443      }
444
445      &.tab-success {
446        color: ${e=>e.theme.colors.responses.success.tabTextColor};
447        &.react-tabs__tab--selected {
448          color: ${e=>e.theme.colors.responses.success.color};
449        }
450      }
451
452      &.tab-redirect {
453        color: ${e=>e.theme.colors.responses.redirect.tabTextColor};
454        &.react-tabs__tab--selected {
455          color: ${e=>e.theme.colors.responses.redirect.color};
456        }
457      }
458
459      &.tab-info {
460        color: ${e=>e.theme.colors.responses.info.tabTextColor};
461        &.react-tabs__tab--selected {
462          color: ${e=>e.theme.colors.responses.info.color};
463        }
464      }
465
466      &.tab-error {
467        color: ${e=>e.theme.colors.responses.error.tabTextColor};
468        &.react-tabs__tab--selected {
469          color: ${e=>e.theme.colors.responses.error.color};
470        }
471      }
472    }
473  }
474  > .react-tabs__tab-panel {
475    background: ${e=>{let{theme:t}=e;return t.codeBlock.backgroundColor}};
476    & > div,
477    & > pre {
478      padding: ${e=>4*e.theme.spacing.unit}px;
479      margin: 0;
480    }
481
482    & > div > pre {
483      padding: 0;
484    }
485  }
486`,Jo=(te(Yo)`
487  > ul {
488    display: block;
489    > li {
490      padding: 2px 5px;
491      min-width: auto;
492      margin: 0 15px 0 0;
493      font-size: 13px;
494      font-weight: normal;
495      border-bottom: 1px dashed;
496      color: ${e=>{let{theme:r}=e;return(0,t.darken)(r.colors.tonalOffset,r.rightPanel.textColor)}};
497      border-radius: 0;
498      background: none;
499
500      &:last-child {
501        margin-right: 0;
502      }
503
504      &.react-tabs__tab--selected {
505        color: ${e=>{let{theme:t}=e;return t.rightPanel.textColor}};
506        background: none;
507      }
508    }
509  }
510  > .react-tabs__tab-panel {
511    & > div,
512    & > pre {
513      padding: ${e=>2*e.theme.spacing.unit}px 0;
514    }
515  }
516`,te.div`
517  /**
518  * Based on prism-dark.css
519  */
520
521  code[class*='language-'],
522  pre[class*='language-'] {
523    /* color: white;
524    background: none; */
525    text-shadow: 0 -0.1em 0.2em black;
526    text-align: left;
527    white-space: pre;
528    word-spacing: normal;
529    word-break: normal;
530    word-wrap: normal;
531    line-height: 1.5;
532
533    -moz-tab-size: 4;
534    -o-tab-size: 4;
535    tab-size: 4;
536
537    -webkit-hyphens: none;
538    -moz-hyphens: none;
539    -ms-hyphens: none;
540    hyphens: none;
541  }
542
543  @media print {
544    code[class*='language-'],
545    pre[class*='language-'] {
546      text-shadow: none;
547    }
548  }
549
550  /* Code blocks */
551  pre[class*='language-'] {
552    padding: 1em;
553    margin: 0.5em 0;
554    overflow: auto;
555  }
556
557  .token.comment,
558  .token.prolog,
559  .token.doctype,
560  .token.cdata {
561    color: hsl(30, 20%, 50%);
562  }
563
564  .token.punctuation {
565    opacity: 0.7;
566  }
567
568  .namespace {
569    opacity: 0.7;
570  }
571
572  .token.property,
573  .token.tag,
574  .token.number,
575  .token.constant,
576  .token.symbol {
577    color: #4a8bb3;
578  }
579
580  .token.boolean {
581    color: #e64441;
582  }
583
584  .token.selector,
585  .token.attr-name,
586  .token.string,
587  .token.char,
588  .token.builtin,
589  .token.inserted {
590    color: #a0fbaa;
591    & + a,
592    & + a:visited {
593      color: #4ed2ba;
594      text-decoration: underline;
595    }
596  }
597
598  .token.property.string {
599    color: white;
600  }
601
602  .token.operator,
603  .token.entity,
604  .token.url,
605  .token.variable {
606    color: hsl(40, 90%, 60%);
607  }
608
609  .token.atrule,
610  .token.attr-value,
611  .token.keyword {
612    color: hsl(350, 40%, 70%);
613  }
614
615  .token.regex,
616  .token.important {
617    color: #e90;
618  }
619
620  .token.important,
621  .token.bold {
622    font-weight: bold;
623  }
624  .token.italic {
625    font-style: italic;
626  }
627
628  .token.entity {
629    cursor: help;
630  }
631
632  .token.deleted {
633    color: red;
634  }
635
636  ${re("Prism")};
637`),Xo=te.div`
638  opacity: 0.7;
639  transition: opacity 0.3s ease;
640  text-align: right;
641  &:focus-within {
642    opacity: 1;
643  }
644  > button {
645    background-color: transparent;
646    border: 0;
647    color: inherit;
648    padding: 2px 10px;
649    font-family: ${e=>{let{theme:t}=e;return t.typography.fontFamily}};
650    font-size: ${e=>{let{theme:t}=e;return t.typography.fontSize}};
651    line-height: ${e=>{let{theme:t}=e;return t.typography.lineHeight}};
652    cursor: pointer;
653    outline: 0;
654
655    :hover,
656    :focus {
657      background: rgba(255, 255, 255, 0.1);
658    }
659  }
660`,Zo=te.div`
661  &:hover ${Xo} {
662    opacity: 1;
663  }
664`,es=te(Jo).attrs({as:"pre"})`
665  font-family: ${e=>e.theme.typography.code.fontFamily};
666  font-size: ${e=>e.theme.typography.code.fontSize};
667  overflow-x: auto;
668  margin: 0;
669
670  white-space: ${e=>{let{theme:t}=e;return t.typography.code.wrap?"pre-wrap":"pre"}};
671`;var ts=r(95452),rs=n.n(ts),ns=Object.defineProperty,is=Object.getOwnPropertySymbols,os=Object.prototype.hasOwnProperty,ss=Object.prototype.propertyIsEnumerable,as=(e,t,r)=>t in e?ns(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;const ls=rs()||ts;let cs="";a&&(cs=n(494),cs="function"==typeof cs.toString&&cs.toString()||"",cs="[object Object]"===cs?"":cs);const ps=J`${cs}`,us=te.div`
672  position: relative;
673`;class ds extends e.Component{constructor(){super(...arguments),this.handleRef=e=>{this._container=e}}componentDidMount(){const e=this._container.parentElement&&this._container.parentElement.scrollTop||0;this.inst=new ls(this._container,this.props.options||{}),this._container.scrollTo&&this._container.scrollTo(0,e)}
673componentDidUpdate(){this.inst.update()}componentWillUnmount(){this.inst.destroy()}render(){const{children:t,className:r,updateFn:n}=this.props;return n&&n(this.componentDidUpdate.bind(this)),e.createElement(e.Fragment,null,cs&&e.createElement(ps,null),e.createElement(us,{className:`scrollbar-container ${r}`,ref:this.handleRef},t))}}function fs(t){return e.createElement(pe.Consumer,null,r=>r.nativeScrollbars?e.createElement("div",{style:{overflow:"auto",overscrollBehavior:"contain",msOverflowStyle:"-ms-autohiding-scrollbar"}},t.children):e.createElement(ds,((e,t)=>{for(var r in t||(t={}))os.call(t,r)&&as(e,r,t[r]);if(is)for(var r of is(t))ss.call(t,r)&&as(e,r,t[r]);return e})({},t),t.children))}const hs=te(t=>{let{className:r,style:n}=t;return e.createElement("svg",{className:r,style:n,xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},e.createElement("polyline",{points:"6 9 12 15 18 9"}))})`
674  position: absolute;
675  pointer-events: none;
676  z-index: 1;
677  top: 50%;
678  -webkit-transform: translateY(-50%);
679  -ms-transform: translateY(-50%);
680  transform: translateY(-50%);
681  right: 8px;
682  margin: auto;
683  text-align: center;
684  polyline {
685    color: ${e=>"dark"===e.variant&&"white"};
686  }
687`,ms=e.memo(t=>{const{options:r,onChange:n,placeholder:i,value:o="",variant:s,className:a,ariaLabel:l}=t;return e.createElement("div",{className:a},e.createElement(hs,{variant:s}),e.createElement("select",{onChange:e=>{const{selectedIndex:t}=e.target;n(r[i?t-1:t])},value:o,className:"dropdown-select","aria-label":l},i&&e.createElement("option",{disabled:!0,hidden:!0,value:i},i),r.map((t,r)=>{let{idx:n,value:i,title:o}=t;return e.createElement("option",{key:n||i+r,value:i},o||i)})),e.createElement("label",null,o))}),gs=G()(ms)`
688  label {
689    box-sizing: border-box;
690    min-width: 100px;
691    outline: none;
692    display: inline-block;
693    font-family: ${e=>e.theme.typography.headings.fontFamily};
694    color: ${e=>{let{theme:t}=e;return t.colors.text.primary}};
695    vertical-align: bottom;
696    width: ${e=>{let{fullWidth:t}=e;return t?"100%":"auto"}};
697    text-transform: none;
698    padding: 0 22px 0 4px;
699
700    font-size: 0.929em;
701    line-height: 1.5em;
702    font-family: inherit;
703    text-overflow: ellipsis;
704    overflow: hidden;
705    white-space: nowrap;
706  }
707  .dropdown-select {
708    position: absolute;
709    top: 0;
710    left: 0;
711    width: 100%;
712    height: 100%;
713    opacity: 0;
714    border: none;
715    appearance: none;
716    cursor: pointer;
717
718    color: ${e=>{let{theme:t}=e;return t.colors.text.primary}};
719    line-height: inherit;
720    font-family: inherit;
721  }
722  box-sizing: border-box;
723  min-width: 100px;
724  outline: none;
725  display: inline-block;
726  border-radius: 2px;
727  border: 1px solid rgba(38, 50, 56, 0.5);
728  vertical-align: bottom;
729  padding: 2px 0px 2px 6px;
730  position: relative;
731  width: auto;
732  background: white;
733  color: #263238;
734  font-family: ${e=>e.theme.typography.headings.fontFamily};
735  font-size: 0.929em;
736  line-height: 1.5em;
737  cursor: pointer;
738  transition: border 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
739
740  &:hover,
741  &:focus-within {
742    border: 1px solid ${e=>e.theme.colors.primary.main};
743    color: ${e=>e.theme.colors.primary.main};
744    box-shadow: 0px 0px 0px 1px ${e=>e.theme.colors.primary.main};
745  }
746`,ys=G()(gs)`
747  margin-left: 10px;
748  text-transform: none;
749  font-size: 0.969em;
750
751  font-size: 1em;
752  border: none;
753  padding: 0 1.2em 0 0;
754  background: transparent;
755
756  &:hover,
757  &:focus-within {
758    border: none;
759    box-shadow: none;
760    label {
761      color: ${e=>e.theme.colors.primary.main};
762      text-shadow: 0px 0px 0px ${e=>e.theme.colors.primary.main};
763    }
764  }
765`,bs=G().span`
766  margin-left: 10px;
767  text-transform: none;
768  font-size: 0.929em;
769  color: black;
770`;var vs=Object.defineProperty,xs=Object.getOwnPropertySymbols,ws=Object.prototype.hasOwnProperty,Ss=Object.prototype.propertyIsEnumerable,ks=(e,t,r)=>t in e?vs(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Os=(e,t)=>{for(var r in t||(t={}))ws.call(t,r)&&ks(e,r,t[r]);if(xs)for(var r of xs(t))Ss.call(t,r)&&ks(e,r,t[r]);return e};function Es(t){const{Label:r=bs,Dropdown:n=ys}=t;
770return 1===t.options.length?e.createElement(r,null,t.options[0].value):e.createElement(n,Os({},t))}var _s=r(8693),$s=n.n(_s);const As=Y`
771  a {
772    text-decoration: ${e=>e.theme.typography.links.textDecoration};
773    color: ${e=>e.theme.typography.links.color};
774
775    &:visited {
776      color: ${e=>e.theme.typography.links.visited};
777    }
778
779    &:hover {
780      color: ${e=>e.theme.typography.links.hover};
781      text-decoration: ${e=>e.theme.typography.links.hoverTextDecoration};
782    }
783  }
784`,Ps=te(Jo)`
785  font-family: ${e=>e.theme.typography.fontFamily};
786  font-weight: ${e=>e.theme.typography.fontWeightRegular};
787  line-height: ${e=>e.theme.typography.lineHeight};
788
789  p {
790    &:last-child {
791      margin-bottom: 0;
792    }
793  }
794
795  ${e=>{let{$compact:t}=e;return t&&"\n    p:first-child {\n      margin-top: 0;\n    }\n    p:last-child {\n      margin-bottom: 0;\n    }\n  "}}
796
797  ${e=>{let{$inline:t}=e;return t&&" p {\n    display: inline-block;\n  }"}}
798
799  h1 {
800    ${yo(1)};
801    color: ${e=>e.theme.colors.primary.main};
802    margin-top: 0;
803  }
804
805  h2 {
806    ${yo(2)};
807    color: ${e=>e.theme.colors.text.primary};
808  }
809
810  code {
811    color: ${e=>{let{theme:t}=e;return t.typography.code.color}};
812    background-color: ${e=>{let{theme:t}=e;return t.typography.code.backgroundColor}};
813
814    font-family: ${e=>e.theme.typography.code.fontFamily};
815    border-radius: 2px;
816    border: 1px solid rgba(38, 50, 56, 0.1);
817    padding: 0 ${e=>{let{theme:t}=e;return t.spacing.unit}}px;
818    font-size: ${e=>e.theme.typography.code.fontSize};
819    font-weight: ${e=>{let{theme:t}=e;return t.typography.code.fontWeight}};
820
821    word-break: break-word;
822  }
823
824  pre {
825    font-family: ${e=>e.theme.typography.code.fontFamily};
826    white-space: ${e=>{let{theme:t}=e;return t.typography.code.wrap?"pre-wrap":"pre"}};
827    background-color: ${e=>{let{theme:t}=e;return t.codeBlock.backgroundColor}};
828    color: white;
829    padding: ${e=>4*e.theme.spacing.unit}px;
830    overflow-x: auto;
831    line-height: normal;
832    border-radius: 0;
833    border: 1px solid rgba(38, 50, 56, 0.1);
834
835    code {
836      background-color: transparent;
837      color: white;
838      padding: 0;
839
840      &:before,
841      &:after {
842        content: none;
843      }
844    }
845  }
846
847  blockquote {
848    margin: 0;
849    margin-bottom: 1em;
850    padding: 0 15px;
851    color: #777;
852    border-left: 4px solid #ddd;
853  }
854
855  img {
856    max-width: 100%;
857    box-sizing: content-box;
858  }
859
860  ul,
861  ol {
862    padding-left: 2em;
863    margin: 0;
864    margin-bottom: 1em;
865
866    ul,
867    ol {
868      margin-bottom: 0;
869      margin-top: 0;
870    }
871  }
872
873  table {
874    display: block;
875    width: 100%;
876    overflow: auto;
877    word-break: normal;
878    word-break: keep-all;
879    border-collapse: collapse;
880    border-spacing: 0;
881    margin-top: 1.5em;
882    margin-bottom: 1.5em;
883  }
884
885  table tr {
886    background-color: #fff;
887    border-top: 1px solid #ccc;
888
889    &:nth-child(2n) {
890      background-color: ${e=>{let{theme:t}=e;return t.schema.nestedBackground}};
891    }
892  }
893
894  table th,
895  table td {
896    padding: 6px 13px;
897    border: 1px solid #ddd;
898  }
899
900  table th {
901    text-align: left;
902    font-weight: bold;
903  }
904
905  ${Po(".share-link")};
906
907  ${As}
908
909  ${re("Markdown")};
910`;var js=Object.defineProperty,Cs=Object.defineProperties,Ts=Object.getOwnPropertyDescriptors,Is=Object.getOwnPropertySymbols,Ns=Object.prototype.hasOwnProperty,Rs=Object.prototype.propertyIsEnumerable,Ls=(e,t,r)=>t in e?js(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;const Ds=$s(),Ms=G()(Ps)`
911  display: inline;
912`;function zs(t){var r=t,{inline:n,compact:i}=r,o=((e,t)=>{var r={};for(var n in e)Ns.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&Is)for(var n of Is(e))t.indexOf(n)<0&&Rs.call(e,n)&&(r[n]=e[n]);return r})(r,["inline","compact"]);const s=n?Ms:Ps;return e.createElement(de,null,t=>{return e.createElement(s,(r=((e,t)=>{for(var r in t||(t={}))Ns.call(t,r)&&Ls(e,r,t[r]);if(Is)for(var r of Is(t))Rs.call(t,r)&&Ls(e,r,t[r]);return e})({className:"redoc-markdown "+(o.className||""),dangerouslySetInnerHTML:{__html:(a=t.sanitize,l=o.html,a?Ds.sanitize(l):l)},"data-role":o["data-role"]},o),Cs(r,Ts({$inline:n,$compact:i}))));var r,a,l})}class Fs extends e.Component{render(){const{source:t,inline:r,compact:n,className:i,"data-role":o}=this.props,s=new Hr;return e.createElement(zs,{html:s.renderMd(t),inline:r,compact:n,className:i,"data-role":o})}}const Bs=te.div`
913  position: relative;
914`,qs=te.div`
915  position: absolute;
916  min-width: 80px;
917  max-width: 500px;
918  background: #fff;
919  bottom: 100%;
920  left: 50%;
921  margin-bottom: 10px;
922  transform: translateX(-50%);
923
924  border-radius: 4px;
925  padding: 0.3em 0.6em;
926  text-align: center;
927  box-shadow: 0px 0px 5px 0px rgba(204, 204, 204, 1);
928`,Us=te.div`
929  background: #fff;
930  color: #000;
931  display: inline;
932  font-size: 0.85em;
933  white-space: nowrap;
934`,Vs=te.div`
935  position: absolute;
936  width: 0;
937  height: 0;
938  bottom: -5px;
939  left: 50%;
940  margin-left: -5px;
941  border-left: solid transparent 5px;
942  border-right: solid transparent 5px;
943  border-top: solid #fff 5px;
944`,Ws=te.div`
945  position: absolute;
946  width: 100%;
947  height: 20px;
948  bottom: -20px;
949`;class Hs extends e.Component{render(){const{open:t,title:r,children:n}=this.props;
949return e.createElement(Bs,null,n,t&&e.createElement(qs,null,e.createElement(Us,null,r),e.createElement(Vs,null),e.createElement(Ws,null)))}}const Qs="undefined"!=typeof document&&document.queryCommandSupported&&document.queryCommandSupported("copy");class Gs{static isSupported(){return Qs}static selectElement(e){let t,r;document.body.createTextRange?(t=document.body.createTextRange(),t.moveToElementText(e),t.select()):document.createRange&&window.getSelection&&(r=window.getSelection(),t=document.createRange(),t.selectNodeContents(e),r.removeAllRanges(),r.addRange(t))}static deselect(){if(document.selection)document.selection.empty();else if(window.getSelection){const e=window.getSelection();e&&e.removeAllRanges()}}static copySelected(){let e;try{e=document.execCommand("copy")}catch(t){e=!1}return e}static copyElement(e){Gs.selectElement(e);const t=Gs.copySelected();return t&&Gs.deselect(),t}static copyCustom(e){const t=document.createElement("textarea");t.style.position="fixed",t.style.top="0",t.style.left="0",t.style.width="2em",t.style.height="2em",t.style.padding="0",t.style.border="none",t.style.outline="none",t.style.boxShadow="none",t.style.background="transparent",t.value=e,document.body.appendChild(t),t.select();const r=Gs.copySelected();return document.body.removeChild(t),r}}const Ks=t=>{const[r,n]=e.useState(!1),i=()=>{const e="string"==typeof t.data?t.data:JSON.stringify(t.data,null,2);Gs.copyCustom(e),o()},o=()=>{n(!0),setTimeout(()=>{n(!1)},1500)};return t.children({renderCopyButton:()=>e.createElement("button",{onClick:i},e.createElement(Hs,{title:Gs.isSupported()?"Copied":"Not supported in your browser",open:r},"Copy"))})};let Ys=1;function Js(e,t){Ys=1;let r="";return r+='<div class="redoc-json">',r+="<code>",r+=ra(e,t),r+="</code>",r+="</div>",r}function Xs(e){return void 0!==e?e.toString().replace(/&/g,"&amp;").replace(/"/g,"&quot;").replace(/</g,"&lt;").replace(/>/g,"&gt;"):""}function Zs(e){return JSON.stringify(e).slice(1,-1)}function ea(e,t){return'<span class="'+t+'">'+Xs(e)+"</span>"}function ta(e){return'<span class="token punctuation">'+e+"</span>"}function ra(e,t){const r=typeof e;let n="";return null==e?n+=ea("null","token keyword"):e&&e.constructor===Array?(Ys++,n+=function(e,t){const r=Ys>t?"collapsed":"";let n=`<button class="collapser" aria-label="${Ys>t+1?"expand":"collapse"}"></button>${ta("[")}<span class="ellipsis"></span><ul class="array collapsible">`,i=!1;const o=e.length;for(let s=0;s<o;s++)i=!0,n+='<li><div class="hoverable '+r+'">',n+=ra(e[s],t),s<o-1&&(n+=","),n+="</div></li>";return n+=`</ul>${ta("]")}`,i||(n=ta("[ ]")),n}(e,t),Ys--):e&&e.constructor===Date?n+=ea('"'+e.toISOString()+'"',"token string"):"object"===r?(Ys++,n+=function(e,t){const r=Ys>t?"collapsed":"",n=Object.keys(e),i=n.length;let o=`<button class="collapser" aria-label="${Ys>t+1?"expand":"collapse"}"></button>${ta("{")}<span class="ellipsis"></span><ul class="obj collapsible">`,s=!1;for(let a=0;a<i;a++){const l=n[a];s=!0,o+='<li><div class="hoverable '+r+'">',o+='<span class="property token string">"'+Xs(l)+'"</span>: ',o+=ra(e[l],t),a<i-1&&(o+=ta(",")),o+="</div></li>"}return o+=`</ul>${ta("}")}`,s||(o=ta("{ }")),o}(e,t),Ys--):"number"===r?n+=ea(e,"token number"):"string"===r?/^(http|https):\/\/[^\s]+$/.test(e)?n+=ea('"',"token string")+'<a href="'+encodeURI(e)+'">'+Xs(Zs(e))+"</a>"+ea('"',"token string"):n+=ea('"'+Zs(e)+'"',"token string"):"boolean"===r&&(n+=ea(e,"token boolean")),n}const na=Y`
950  .redoc-json code > .collapser {
951    display: none;
952    pointer-events: none;
953  }
954
955  font-family: ${e=>e.theme.typography.code.fontFamily};
956  font-size: ${e=>e.theme.typography.code.fontSize};
957
958  white-space: ${e=>{let{theme:t}=e;return t.typography.code.wrap?"pre-wrap":"pre"}};
959  contain: content;
960  overflow-x: auto;
961
962  .callback-function {
963    color: gray;
964  }
965
966  .collapser:after {
967    content: '-';
968    cursor: pointer;
969  }
970
971  .collapsed > .collapser:after {
972    content: '+';
973    cursor: pointer;
974  }
975
976  .ellipsis:after {
977    content: ' … ';
978  }
979
980  .collapsible {
981    margin-left: 2em;
982  }
983
984  .hoverable {
985    padding-top: 1px;
986    padding-bottom: 1px;
987    padding-left: 2px;
988    padding-right: 2px;
989    border-radius: 2px;
990  }
991
992  .hovered {
993    background-color: rgba(235, 238, 249, 1);
994  }
995
996  .collapser {
997    background-color: transparent;
998    border: 0;
999    color: #fff;
1000    font-family: ${e=>e.theme.typography.code.fontFamily};
1001    font-size: ${e=>e.theme.typography.code.fontSize};
1002    padding-right: 6px;
1003    padding-left: 6px;
1004    padding-top: 0;
1005    padding-bottom: 0;
1006    display: flex;
1007    align-items: center;
1008    justify-content: center;
1009    width: 15px;
1010    height: 15px;
1011    position: absolute;
1012    top: 4px;
1013    left: -1.5em;
1014    cursor: default;
1015    user-select: none;
1016    -webkit-user-select: none;
1017    padding: 2px;
1018    &:focus {
1019      outline-color: #fff;
1020      outline-style: dotted;
1021      outline-width: 1px;
1022    }
1023  }
1024
1025  ul {
1026    list-style-type: none;
1027    padding: 0px;
1028    margin: 0px 0px 0px 26px;
1029  }
1030
1031  li {
1032    position: relative;
1033    display: block;
1034  }
1035
1036  .hoverable {
1037    display: inline-block;
1038  }
1039
1040  .selected {
1041    outline-style: solid;
1042    outline-width: 1px;
1043    outline-style: dotted;
1044  }
1045
1046  .collapsed > .collapsible {
1047    display: none;
1048  }
1049
1050  .ellipsis {
1051    display: none;
1052  }
1053
1054  .collapsed > .ellipsis {
1055    display: inherit;
1056  }
1057`,ia=te.div`
1058  &:hover > ${Xo} {
1059    opacity: 1;
1060  }
1061`,oa=te(t=>{const[r,n]=e.useState(),i=r=>{let{renderCopyButton:i}=r;const a=t.data&&Object.values(t.data).some(e=>"object"==typeof e&&null!==e);return e.createElement(ia,null,e.createElement(Xo,null,i(),a&&e.createElement(e.Fragment,null,e.createElement("button",{onClick:o}," Expand all "),e.createElement("button",{onClick:s}," Collapse all "))),e.createElement(pe.Consumer,null,r=>e.createElement(Jo,{tabIndex:0,className:t.className,ref:e=>n(e),dangerouslySetInnerHTML:{__html:Js(t.data,r.jsonSamplesExpandLevel)}})))},o=()=>{const e=null==r?void 0:r.getElementsByClassName("collapsible");for(const t of Array.prototype.slice.call(e)){const e=t.parentNode;e.classList.remove("collapsed"),e.querySelector(".collapser").setAttribute("aria-label","collapse")}},s=()=>{const e=null==r?void 0:r.getElementsByClassName("collapsible"),t=Array.prototype.slice.call(e,1);for(const r of t){const e=r.parentNode;e.classList.add("collapsed"),e.querySelector(".collapser").setAttribute("aria-label","expand")}},a=e=>{let t;"collapser"===e.className&&(t=e.parentElement.getElementsByClassName("collapsible")[0],t.parentElement.classList.contains("collapsed")?(t.parentElement.classList.remove("collapsed"),e.setAttribute("aria-label","collapse")):(t.parentElement.classList.add("collapsed"),e.setAttribute("aria-label","expand")))},l=e.useCallback(e=>{a(e.target)},[]),c=e.useCallback(e=>{"Enter"===e.key&&a(e.target)},[]);return e.useEffect(()=>(null==r||r.addEventListener("click",l),null==r||r.addEventListener("focus",c),()=>{null==r||r.removeEventListener("click",l),null==r||r.removeEventListener("focus",c)}),[l,c,r]),e.createElement(Ks,{data:t.data},i)})`
1062  ${na};
1063`,sa=t=>{const{source:r,lang:n}=t;return e.createElement(es,{dangerouslySetInnerHTML:{__html:_t(r,n)}})},aa=t=>{const{source:r,lang:n}=t;return e.createElement(Ks,{data:r},t=>{let{renderCopyButton:i}=t;return e.createElement(Zo,null,e.createElement(Xo,null,i()),e.createElement(sa,{lang:n,source:r}))})};function la(t){let{value:r,mimeType:n}=t;return We(n)?e.createElement(oa,{data:r}):("object"==typeof r&&(r=JSON.stringify(r,null,2)),e.createElement(aa,{lang:et(n),source:r}))}var ca=(e,t,r)=>new Promise((n,i)=>{var o=e=>{try{a(r.next(e))}catch(e){i(e)}},s=e=>{try{a(r.throw(e))}catch(e){i(e)}},a=e=>e.done?n(e.value):Promise.resolve(e.value).then(o,s);a((r=r.apply(e,t)).next())});function pa(t){let{example:r,mimeType:n}=t;return void 0===r.value&&r.externalValueUrl?e.createElement(ua,{example:r,mimeType:n}):e.createElement(la,{value:r.value,mimeType:n})}function ua(t){let{example:r,mimeType:n}=t;const i=function(t,r){const[,n]=(0,e.useState)(!0),i=(0,e.useRef)(void 0),o=(0,e.useRef)(void 0);return o.current!==t&&(i.current=void 0),o.current=t,(0,e.useEffect)(()=>{(()=>{ca(this,null,function*(){n(!0);try{i.current=yield t.getExternalValue(r)}catch(e){i.current=e}n(!1)})})()},[t,r]),i.current}(r,n);
1063return void 0===i?e.createElement("span",null,"Loading..."):i instanceof Error?e.createElement(es,null,"Error loading external example: ",e.createElement("br",null),e.createElement("a",{className:"token string",href:r.externalValueUrl,target:"_blank",rel:"noopener noreferrer"},r.externalValueUrl)):e.createElement(la,{value:i,mimeType:n})}const da=te.div`
1064  padding: 0.9em;
1065  background-color: ${e=>{let{theme:r}=e;return(0,t.transparentize)(.6,r.rightPanel.backgroundColor)}};
1066  margin: 0 0 10px 0;
1067  display: block;
1068  font-family: ${e=>{let{theme:t}=e;return t.typography.headings.fontFamily}};
1069  font-size: 0.929em;
1070  line-height: 1.5em;
1071`,fa=te.span`
1072  font-family: ${e=>{let{theme:t}=e;return t.typography.headings.fontFamily}};
1073  font-size: 12px;
1074  position: absolute;
1075  z-index: 1;
1076  top: -11px;
1077  left: 12px;
1078  font-weight: ${e=>{let{theme:t}=e;return t.typography.fontWeightBold}};
1079  color: ${e=>{let{theme:r}=e;return(0,t.transparentize)(.3,r.rightPanel.textColor)}};
1080`,ha=te.div`
1081  position: relative;
1082`,ma=te(gs)`
1083  label {
1084    color: ${e=>{let{theme:t}=e;return t.rightPanel.textColor}};
1085    text-overflow: ellipsis;
1086    white-space: nowrap;
1087    overflow: hidden;
1088    font-size: 1em;
1089    text-transform: none;
1090    border: none;
1091  }
1092  margin: 0 0 10px 0;
1093  display: block;
1094  background-color: ${e=>{let{theme:r}=e;return(0,t.transparentize)(.6,r.rightPanel.backgroundColor)}};
1095  border: none;
1096  padding: 0.9em 1.6em 0.9em 0.9em;
1097  box-shadow: none;
1098  &:hover,
1099  &:focus-within {
1100    border: none;
1101    box-shadow: none;
1102    background-color: ${e=>{let{theme:r}=e;return(0,t.transparentize)(.3,r.rightPanel.backgroundColor)}};
1103  }
1104`,ga=te.div`
1105  font-family: ${e=>e.theme.typography.code.fontFamily};
1106  font-size: 12px;
1107  color: #ee807f;
1108`;class ya extends e.Component{constructor(){super(...arguments),this.state={activeIdx:0},this.switchMedia=e=>{let{idx:t}=e;void 0!==t&&this.setState({activeIdx:t})}}render(){const{activeIdx:t}=this.state,r=this.props.mediaType.examples||{},n=this.props.mediaType.name,i=e.createElement(ga,null,"No sample"),o=Object.keys(r);if(0===o.length)return i;if(o.length>1){const i=o.map((e,t)=>({value:r[e].summary||e,idx:t})),s=r[o[t]],a=s.description;return e.createElement(ba,null,e.createElement(ha,null,e.createElement(fa,null,"Example"),this.props.renderDropdown({value:i[t].value,options:i,onChange:this.switchMedia,ariaLabel:"Example"})),e.createElement("div",null,a&&e.createElement(Fs,{source:a}),e.createElement(pa,{example:s,mimeType:n})))}{const t=r[o[0]];return e.createElement(ba,null,t.description&&e.createElement(Fs,{source:t.description}),e.createElement(pa,{example:t,mimeType:n}))}}}const ba=te.div`
1109  margin-top: 15px;
1110`;var va=r(96233);const xa=te(zo)`
1111  &.deprecated {
1112    span.property-name {
1113      ${Ro}
1114    }
1115  }
1116
1117  button {
1118    background-color: transparent;
1119    border: 0;
1120    outline: 0;
1121    font-size: 13px;
1122    font-family: ${e=>e.theme.typography.code.fontFamily};
1123    cursor: pointer;
1124    padding: 0;
1125    color: ${e=>e.theme.colors.text.primary};
1126    &:focus {
1127      font-weight: ${e=>{let{theme:t}=e;return t.typography.fontWeightBold}};
1128    }
1129    ${e=>{let{kind:t}=e;return"patternProperties"===t&&Y`
1130        display: inline-flex;
1131        margin-right: 20px;
1132
1133        > span.property-name {
1134          white-space: break-spaces;
1135          text-align: left;
1136
1137          ::before,
1138          ::after {
1139            content: '/';
1140            filter: opacity(0.2);
1141          }
1142        }
1143
1144        > svg {
1145          align-self: center;
1146        }
1147      `}}
1148  }
1149  ${Io} {
1150    height: ${e=>{let{theme:t}=e;return t.schema.arrow.size}};
1151    width: ${e=>{let{theme:t}=e;return t.schema.arrow.size}};
1152    polygon {
1153      fill: ${e=>{let{theme:t}=e;return t.schema.arrow.color}};
1154    }
1155  }
1156`,wa=te.span`
1157  vertical-align: middle;
1158  font-size: ${e=>{let{theme:t}=e;return t.typography.code.fontSize}};
1159  line-height: 20px;
1160`,Sa=te(wa)`
1161  color: ${e=>(0,t.transparentize)(.1,e.theme.schema.typeNameColor)};
1162`,ka=te(wa)`
1163  color: ${e=>e.theme.schema.typeNameColor};
1164`,Oa=te(wa)`
1165  color: ${e=>e.theme.schema.typeTitleColor};
1166  word-break: break-word;
1167`,Ea=ka,_a=te(wa).attrs({as:"div"})`
1168  color: ${e=>e.theme.schema.requireLabelColor};
1169  font-size: ${e=>e.theme.schema.labelsTextSize};
1170  font-weight: normal;
1171  margin-left: 20px;
1172  line-height: 1;
1173`,$a=te(_a)`
1174  color: ${e=>e.theme.colors.primary.light};
1175`,Aa=te(wa)`
1176  color: ${e=>{let{theme:t}=e;return t.colors.warning.dark}};
1177  font-size: 13px;
1178`,Pa=te(wa)`
1179  color: #0e7c86;
1180  font-family: ${e=>e.theme.typography.code.fontFamily};
1181  font-size: 12px;
1182  &::before,
1183  &::after {
1184    content: ' ';
1185  }
1186`,ja=te(wa)`
1187  border-radius: 2px;
1188  word-break: break-word;
1189  ${e=>{let{theme:r}=e;return`\n    background-color: ${(0,t.transparentize)(.95,r.colors.text.primary)};\n    color: ${(0,t.transparentize)(.1,r.colors.text.primary)};\n\n    padding: 0 ${r.spacing.unit}px;\n    border: 1px solid ${(0,t.transparentize)(.9,r.colors.text.primary)};\n    font-family: ${r.typography.code.fontFamily};\n}`}};
1190  & + & {
1191    margin-left: 0;
1192  }
1193  ${re("ExampleValue")};
1194`,Ca=te(ja)``,Ta=te(wa)`
1195  border-radius: 2px;
1196  ${e=>{let{theme:r}=e;return`\n    background-color: ${(0,t.transparentize)(.95,r.colors.primary.light)};\n    color: ${(0,t.transparentize)(.1,r.colors.primary.main)};\n\n    margin: 0 ${r.spacing.unit}px;\n    padding: 0 ${r.spacing.unit}px;\n    border: 1px solid ${(0,t.transparentize)(.9,r.colors.primary.main)};\n}`}};
1197  & + & {
1198    margin-left: 0;
1199  }
1200  ${re("ConstraintItem")};
1201`,Ia=te.button`
1202  background-color: transparent;
1203  border: 0;
1204  color: ${e=>{let{theme:t}=e;return t.colors.text.secondary}};
1205  margin-left: ${e=>{let{theme:t}=e;return t.spacing.unit}}px;
1206  border-radius: 2px;
1207  cursor: pointer;
1208  outline-color: ${e=>{let{theme:t}=e;return t.colors.text.secondary}};
1209  font-size: 12px;
1210`;Object.defineProperty,Object.getOwnPropertyDescriptor;const Na=te.div`
1211  ${As};
1212  ${e=>{let{$compact:t}=e;return t?"":"margin: 1em 0"}}
1213`;let Ra=class extends e.Component{render(){const{externalDocs:t}=this.props;return t&&t.url?e.createElement(Na,{$compact:this.props.compact},e.createElement("a",{href:t.url},t.description||t.url)):null}};Ra=((e,t)=>{for(var r,n=t,i=e.length-1;i>=0;i--)(r=e[i])&&(n=r(n)||n);return n})([va.observer],Ra);const La=te(Ps)`
1214  table {
1215    margin-bottom: 0.2em;
1216  }
1217`;class Da extends e.PureComponent{constructor(e){super(e),this.state={collapsed:!0},this.toggle=this.toggle.bind(this)}toggle(){this.setState({collapsed:!this.state.collapsed})}render(){const{values:t,type:r}=this.props,{collapsed:n}=this.state,i=!Array.isArray(t),o=Array.isArray(t)&&t||Object.entries(t||{}).map(e=>{let[t,r]=e;return{value:t,description:r}}),{enumSkipQuotes:s,maxDisplayedEnumValues:a}=this.context;if(!o.length)return null;const l=this.state.collapsed&&a?o.slice(0,a):o,c=!!a&&o.length>a,p=a?n?`\u2026 ${o.length-a} more`:"Hide":"";return e.createElement("div",null,i?e.createElement(e.Fragment,null,e.createElement(La,null,e.createElement("table",null,e.createElement("thead",null,e.createElement("tr",null,e.createElement("th",
1217null,e.createElement(wa,null,"array"===r?N("enumArray"):""," ",1===o.length?N("enumSingleValue"):N("enum"))," "),e.createElement("th",null,e.createElement("strong",null,"Description")))),e.createElement("tbody",null,l.map(t=>{let{description:r,value:n}=t;return e.createElement("tr",{key:n},e.createElement("td",null,n),e.createElement("td",null,e.createElement(Fs,{source:r,compact:!0,inline:!0})))})))),c?e.createElement(Ma,{onClick:this.toggle},p):null):e.createElement(e.Fragment,null,e.createElement(wa,null,"array"===r?N("enumArray"):""," ",1===t.length?N("enumSingleValue"):N("enum"),":")," ",l.map((t,r)=>{const n=s?String(t):JSON.stringify(t);return e.createElement(e.Fragment,{key:r},e.createElement(ja,null,n)," ")}),c?e.createElement(Ma,{onClick:this.toggle},p):null))}}Da.contextType=pe;const Ma=te.span`
1218  color: ${e=>e.theme.colors.primary.main};
1219  vertical-align: middle;
1220  font-size: 13px;
1221  line-height: 20px;
1222  padding: 0 5px;
1223  cursor: pointer;
1224`,za=te(Ps)`
1225  margin: 2px 0;
1226`;class Fa extends e.PureComponent{render(){const t=this.props.extensions;return e.createElement(pe.Consumer,null,r=>e.createElement(e.Fragment,null,r.showExtensions&&Object.keys(t).map(r=>e.createElement(za,{key:r},e.createElement(wa,null," ",r.substring(2),": ")," ",e.createElement(Ca,null,"string"==typeof t[r]?t[r]:JSON.stringify(t[r]))))))}}function Ba(t){let{field:r}=t;return r.examples?e.createElement(e.Fragment,null,e.createElement(wa,null," ",N("examples"),": "),C(r.examples)?r.examples.map((t,n)=>{const i=Ze(r,t),o=r.in?String(i):JSON.stringify(i);return e.createElement(e.Fragment,{key:n},e.createElement(ja,null,o)," ")}):e.createElement(qa,null,Object.values(r.examples).map((t,n)=>e.createElement("li",{key:n+t.value},e.createElement(ja,null,Ze(r,t.value))," -"," ",t.summary||t.description)))):null}const qa=te.ul`
1227  margin-top: 1em;
1228  list-style-position: outside;
1229`;class Ua extends e.PureComponent{render(){return 0===this.props.constraints.length?null:e.createElement("span",null," ",this.props.constraints.map(t=>e.createElement(Ta,{key:t}," ",t," ")))}}const Va=e.memo(function(t){let{value:r,label:n,raw:i}=t;if(void 0===r)return null;const o=i?String(r):JSON.stringify(r);return e.createElement("div",null,e.createElement(wa,null," ",n," ")," ",e.createElement(ja,null,o))});function Wa(t){const r=t.schema.pattern,{hideSchemaPattern:n}=e.useContext(pe),[i,o]=e.useState(!1),s=e.useCallback(()=>o(!i),[i]);return!r||n?null:e.createElement(e.Fragment,null,e.createElement(Pa,null,i||r.length<45?r:`${r.substr(0,45)}...`),r.length>45&&e.createElement(Ia,{onClick:s},i?"Hide pattern":"Show pattern"))}function Ha(t){let{schema:r}=t;var n;const{hideSchemaPattern:i}=e.useContext(pe);return r&&((null==r?void 0:r.pattern)&&!i||r.items||r.displayFormat||(null==(n=r.constraints)?void 0:n.length))?e.createElement(Qa,null,"[ items",r.displayFormat&&e.createElement(Ea,null," <",r.displayFormat," >"),e.createElement(Ua,{constraints:r.constraints}),e.createElement(Wa,{schema:r}),r.items&&e.createElement(Ha,{schema:r.items})," ]"):null}const Qa=te(Sa)`
1230  margin: 0 5px;
1231  vertical-align: text-top;
1232`;var Ga=Object.defineProperty,Ka=Object.getOwnPropertySymbols,Ya=Object.prototype.hasOwnProperty,Ja=Object.prototype.propertyIsEnumerable,Xa=(e,t,r)=>t in e?Ga(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Za=(e,t)=>{for(var r in t||(t={}))Ya.call(t,r)&&Xa(e,r,t[r]);if(Ka)for(var r of Ka(t))Ja.call(t,r)&&Xa(e,r,t[r]);return e};const el=(0,va.observer)(t=>{const{enumSkipQuotes:r,hideSchemaTitles:n}=e.useContext(pe),{showExamples:i,field:o,renderDiscriminatorSwitch:s}=t,{schema:a,description:l,deprecated:c,extensions:p,in:u,const:d}=o,f="array"===a.type||C(a.type)&&a.type.includes("array"),h=r||"header"===u,m=e.useMemo(()=>!i||void 0===o.example&&void 0===o.examples?null:void 0!==o.examples?e.createElement(Ba,{field:o}):e.createElement(Va,{label:N("example")+":",value:Ze(o,o.example),raw:Boolean(o.in)}),[o,i]),g=x(a.default)&&o.in?Ze(o,a.default).replace(`${o.name}=`,""):a.default;return e.createElement("div",null,e.createElement("div",null,e.createElement(Sa,null,a.typePrefix),e.createElement(ka,null,a.displayType),a.displayFormat&&e.createElement(Ea,null," ","<",a.displayFormat,">"," "),a.contentEncoding&&e.createElement(Ea,null," ","<",a.contentEncoding,">"," "),a.contentMediaType&&e.createElement(Ea,null," ","<",a.contentMediaType,">"," "),a.title&&!n&&e.createElement(Oa,null," (",a.title,") "),e.createElement(Ua,{constraints:a.constraints}),e.createElement(Wa,{schema:a}),a.isCircular&&e.createElement(Aa,null," ",N("recursive")," "),f&&a.items&&e.createElement(Ha,{schema:a.items})),c&&e.createElement("div",null,e.createElement(No,{type:"warning"}," ",N("deprecated")," ")),e.createElement(Va,{raw:h,label:N("default")+":",value:g}),!s&&e.createElement(Da,{type:a.type,values:a["x-enumDescriptions"]||a.enum})," ",m,e.createElement(Fa,{extensions:Za(Za({},p),a.extensions)}),e.createElement("div",null,e.createElement(Fs,{compact:!0,source:l})),a.externalDocs&&e.createElement(Ra,{externalDocs:a.externalDocs,compact:!0}
1232),s&&s(t)||null,d&&e.createElement(Va,{label:N("const")+":",value:d})||null)}),tl=e.memo(el);var rl=Object.defineProperty,nl=(Object.getOwnPropertyDescriptor,Object.getOwnPropertySymbols),il=Object.prototype.hasOwnProperty,ol=Object.prototype.propertyIsEnumerable,sl=(e,t,r)=>t in e?rl(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;let al=class extends e.Component{constructor(){super(...arguments),this.toggle=()=>{void 0===this.props.field.expanded&&this.props.expandByDefault?this.props.field.collapse():this.props.field.toggle()},this.handleKeyPress=e=>{"Enter"===e.key&&(e.preventDefault(),this.toggle())}}render(){const{hidePropertiesPrefix:t}=this.context,{className:r="",field:n,isLast:i,expandByDefault:o,fieldParentsName:s=[]}=this.props,{name:a,deprecated:l,required:c,kind:p}=n,u=!n.schema.isPrimitive&&!n.schema.isCircular,d=void 0===n.expanded?o:n.expanded,f=e.createElement(e.Fragment,null,"additionalProperties"===p&&e.createElement($a,null,"additional property"),"patternProperties"===p&&e.createElement($a,null,"pattern property"),c&&e.createElement(_a,null,"required")),h=u?e.createElement(xa,{className:l?"deprecated":"",kind:p,title:a},e.createElement(Bo,null),e.createElement("button",{onClick:this.toggle,onKeyPress:this.handleKeyPress,"aria-label":`expand ${a}`},!t&&s.map(e=>e+".\u200b"),e.createElement("span",{className:"property-name"},a),e.createElement(Io,{direction:d?"down":"right"})),f):e.createElement(zo,{className:l?"deprecated":void 0,kind:p,title:a},e.createElement(Bo,null),!t&&s.map(e=>e+".\u200b"),e.createElement("span",{className:"property-name"},a),f);return e.createElement(e.Fragment,null,e.createElement("tr",{className:i?"last "+r:r},h,e.createElement(Fo,null,e.createElement(tl,((e,t)=>{for(var r in t||(t={}))il.call(t,r)&&sl(e,r,t[r]);if(nl)for(var r of nl(t))ol.call(t,r)&&sl(e,r,t[r]);return e})({},this.props)))),d&&u&&e.createElement("tr",{key:n.name+"inner"},e.createElement(Mo,{colSpan:2},e.createElement(qo,null,e.createElement(ql,{schema:n.schema,fieldParentsName:[...s||[],n.name],skipReadOnly:this.props.skipReadOnly,skipWriteOnly:this.props.skipWriteOnly,showTitle:this.props.showTitle,level:this.props.level})))))}};al.contextType=pe,al=((e,t)=>{for(var r,n=t,i=e.length-1;i>=0;i--)(r=e[i])&&(n=r(n)||n);return n})([va.observer],al),Object.defineProperty,Object.getOwnPropertyDescriptor;let ll=class extends e.Component{constructor(){super(...arguments),this.changeActiveChild=e=>{void 0!==e.idx&&this.props.parent.activateOneOf(e.idx)}}sortOptions(e,t){if(0===t.length)return;const r={};t.forEach((e,t)=>{r[e]=t}),e.sort((e,t)=>r[e.value]>r[t.value]?1:-1)}render(){const{parent:t,enumValues:r}=this.props;if(void 0===t.oneOf)return null;const n=t.oneOf.map((e,t)=>({value:e.title,idx:t})),i=n[t.activeOneOf].value;return this.sortOptions(n,r),e.createElement(gs,{value:i,options:n,onChange:this.changeActiveChild,ariaLabel:t.discriminatorProp})}};ll=((e,t)=>{for(var r,n=t,i=e.length-1;i>=0;i--)(r=e[i])&&(n=r(n)||n);return n})([va.observer],ll);const cl=(0,va.observer)(t=>{let{schema:{fields:r=[],title:n},showTitle:i,discriminator:o,skipReadOnly:s,skipWriteOnly:a,level:l,fieldParentsName:c}=t;const{expandSingleSchemaField:p,showObjectSchemaExamples:u,schemasExpansionLevel:d}=e.useContext(pe),h=e.useMemo(()=>s||a?r.filter(e=>!(s&&e.schema.readOnly||a&&e.schema.writeOnly)):r,[s,a,r]),m=p&&1===h.length||d>=l;return e.createElement(Uo,null,i&&e.createElement(Lo,null,n),e.createElement("tbody",null,f(h,(t,r)=>e.createElement(al,{key:t.name,isLast:r,field:t,expandByDefault:m,fieldParentsName:Number(l)>1?c:[],renderDiscriminatorSwitch:(null==o?void 0:o.fieldName)===t.name?()=>e.createElement(ll,{parent:o.parentSchema,enumValues:t.schema.enum}):void 0,className:t.expanded?"expanded":void 0,showExamples:u,skipReadOnly:s,skipWriteOnly:a,showTitle:i,level:l}))))});var pl=Object.defineProperty,ul=Object.defineProperties,dl=Object.getOwnPropertyDescriptors,fl=Object.getOwnPropertySymbols,hl=Object.prototype.hasOwnProperty,ml=Object.prototype.propertyIsEnumerable,gl=(e,t,r)=>t in e?pl(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,yl=(e,t)=>{for(var r in t||(t={}))hl.call(t,r)&&gl(e,r,t[r]);if(fl)for(var r of fl(t))ml.call(t,r)&&gl(e,r,t[r]);return e},bl=(e,t)=>
1232ul(e,dl(t));const vl=te.div`
1233  padding-left: ${e=>{let{theme:t}=e;return 2*t.spacing.unit}}px;
1234`;class xl extends e.PureComponent{render(){const t=this.props.schema,r=t.items,n=this.props.fieldParentsName,i=void 0===t.minItems&&void 0===t.maxItems?"":`(${st(t)})`,o=n?[...n.slice(0,-1),n[n.length-1]+"[]"]:n;return t.fields?e.createElement(cl,bl(yl({},this.props),{level:this.props.level,fieldParentsName:o})):!t.displayType||r||i.length?e.createElement("div",null,e.createElement(Qo,null," Array ",i),e.createElement(vl,null,e.createElement(ql,bl(yl({},this.props),{schema:r,fieldParentsName:o}))),e.createElement(Go,null)):e.createElement("div",null,e.createElement(ka,null,t.displayType))}}var wl=Object.defineProperty,Sl=Object.defineProperties,kl=Object.getOwnPropertyDescriptor,Ol=Object.getOwnPropertyDescriptors,El=Object.getOwnPropertySymbols,_l=Object.prototype.hasOwnProperty,$l=Object.prototype.propertyIsEnumerable,Al=(e,t,r)=>t in e?wl(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Pl=(e,t,r,n)=>{for(var i,o=n>1?void 0:n?kl(t,r):t,s=e.length-1;s>=0;s--)(i=e[s])&&(o=(n?i(t,r,o):i(o))||o);return n&&o&&wl(t,r,o),o};let jl=class extends e.Component{constructor(){super(...arguments),this.activateOneOf=()=>{this.props.schema.activateOneOf(this.props.idx)}}render(){const{idx:t,schema:r,subSchema:n}=this.props;return e.createElement(Ho,{$deprecated:n.deprecated,$active:t===r.activeOneOf,onClick:this.activateOneOf},n.title||n.typePrefix+n.displayType)}};jl=Pl([va.observer],jl);let Cl=class extends e.Component{render(){const{schema:{oneOf:t},schema:r}=this.props;if(void 0===t)return null;const n=t[r.activeOneOf];return e.createElement("div",null,e.createElement(Wo,null," ",r.oneOfType," "),e.createElement(Vo,null,t.map((t,n)=>e.createElement(jl,{key:t.pointer,schema:r,subSchema:t,idx:n}))),e.createElement("div",null,t[r.activeOneOf].deprecated&&e.createElement(No,{type:"warning"},"Deprecated")),e.createElement(Ua,{constraints:n.constraints}),e.createElement(ql,(i=((e,t)=>{for(var r in t||(t={}))_l.call(t,r)&&Al(e,r,t[r]);if(El)for(var r of El(t))$l.call(t,r)&&Al(e,r,t[r]);return e})({},this.props),Sl(i,Ol({schema:n})))));var i}};Cl=Pl([va.observer],Cl);const Tl=(0,va.observer)(t=>{let{schema:r}=t;return e.createElement("div",null,e.createElement(ka,null,r.displayType),r.title&&e.createElement(Oa,null," ",r.title," "),e.createElement(Aa,null," ",N("recursive")," "))});var Il=Object.defineProperty,Nl=Object.defineProperties,Rl=(Object.getOwnPropertyDescriptor,Object.getOwnPropertyDescriptors),Ll=Object.getOwnPropertySymbols,Dl=Object.prototype.hasOwnProperty,Ml=Object.prototype.propertyIsEnumerable,zl=(e,t,r)=>t in e?Il(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Fl=(e,t)=>{for(var r in t||(t={}))Dl.call(t,r)&&zl(e,r,t[r]);if(Ll)for(var r of Ll(t))Ml.call(t,r)&&zl(e,r,t[r]);return e},Bl=(e,t)=>Nl(e,Rl(t));let ql=class extends e.Component{render(){var t;const r=this.props,{schema:n}=r,i=((e,t)=>{var r={};for(var n in e)Dl.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&Ll)for(var n of Ll(e))t.indexOf(n)<0&&Ml.call(e,n)&&(r[n]=e[n]);return r})(r,["schema"]),o=(i.level||0)+1;if(!n)return e.createElement("em",null," Schema not provided ");const{type:s,oneOf:a,discriminatorProp:l,isCircular:c}=n;if(c)return e.createElement(Tl,{schema:n});if(void 0!==l){if(!a||!a.length)return console.warn(`Looks like you are using discriminator wrong: you don't have any definition inherited from the ${n.title}`),null;const t=a[n.activeOneOf];return t.isCircular?e.createElement(Tl,{schema:t}):e.createElement(cl,Bl(Fl({},i),{level:o,schema:t,discriminator:{fieldName:l,parentSchema:n}}))}if(void 0!==a)return e.createElement(Cl,Fl({schema:n},i));const p=C(s)?s:[s];if(p.includes("object")){if(null==(t=n.fields)?void 0:t.length)return e.createElement(cl,Bl(Fl({},this.props),{level:o}))}else if(p.includes("array"))return e.createElement(xl,Bl(Fl({},this.props),{level:o}));const u={schema:n,name:"",required:!1,description:n.description,externalDocs:n.externalDocs,deprecated:!1,toggle:()=>null,expanded:!1};return e.createElement("div",null,e.createElement(tl,{field:u}))}};ql=((e,t)=>{for(var r,n=t,i=e.length-1;i>=0;i--)(r=e[i])&&(n=r(n)||n);return n})([va.observer],ql);var Ul=Object.defineProperty,Vl=Object.defineProperties,Wl=Object.getOwnPropertyDescriptors,Hl=Object.getOwnPropertySymbols,Ql=Object.prototype.hasOwnProperty,Gl=Object.prototype.propertyIsEnumerable,Kl=(e,t,r)=>t in e?Ul(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;class Yl extends e.PureComponent{constructor(){super(...arguments),this.renderDropdown=t=>
1234{return e.createElement(Es,(r=((e,t)=>{for(var r in t||(t={}))Ql.call(t,r)&&Kl(e,r,t[r]);if(Hl)for(var r of Hl(t))Gl.call(t,r)&&Kl(e,r,t[r]);return e})({Label:bs,Dropdown:ma},t),Vl(r,Wl({variant:"dark"}))));var r}}static getMediaType(e,t){if(!e)return{};const r={schema:{$ref:e}};return t&&(r.examples={example:{$ref:t}}),r}get mediaModel(){const{parser:e,schemaRef:t,exampleRef:r,options:n}=this.props;return this._mediaModel||(this._mediaModel=new Xn(e,"json",!1,Yl.getMediaType(t,r),n)),this._mediaModel}render(){const{showReadOnly:t=!0,showWriteOnly:r=!1,showExample:n=!0}=this.props;return e.createElement(uo,null,e.createElement(mo,null,e.createElement(po,null,e.createElement(ql,{skipWriteOnly:!r,skipReadOnly:!t,schema:this.mediaModel.schema})),n&&e.createElement(ho,null,e.createElement(Jl,null,e.createElement(ya,{renderDropdown:this.renderDropdown,mediaType:this.mediaModel})))))}}const Jl=te.div`
1235  background: ${e=>{let{theme:t}=e;return t.codeBlock.backgroundColor}};
1236  & > div,
1237  & > pre {
1238    padding: ${e=>4*e.theme.spacing.unit}px;
1239    margin: 0;
1240  }
1241
1242  & > div > pre {
1243    padding: 0;
1244  }
1245`,Xl=(G().div`
1246  background-color: #e4e7eb;
1247`,G().ul`
1248  display: inline;
1249  list-style: none;
1250  padding: 0;
1251
1252  li {
1253    display: inherit;
1254
1255    &:after {
1256      content: ',';
1257    }
1258    &:last-child:after {
1259      content: none;
1260    }
1261  }
1262`,G().code`
1263  font-size: ${e=>e.theme.typography.code.fontSize};
1264  font-family: ${e=>e.theme.typography.code.fontFamily};
1265  margin: 0 3px;
1266  padding: 0.2em;
1267  display: inline-block;
1268  line-height: 1;
1269
1270  &:after {
1271    content: ',';
1272    font-weight: normal;
1273  }
1274
1275  &:last-child:after {
1276    content: none;
1277  }
1278`),Zl=G().span`
1279  &:after {
1280    content: ' and ';
1281    font-weight: normal;
1282  }
1283
1284  &:last-child:after {
1285    content: none;
1286  }
1287
1288  ${As};
1289`,ec=G().span`
1290  ${e=>!e.$expanded&&"white-space: nowrap;"}
1291  &:after {
1292    content: ' or ';
1293    ${e=>e.$expanded&&"content: ' or \\a';"}
1294    white-space: pre;
1295  }
1296
1297  &:last-child:after,
1298  &:only-child:after {
1299    content: none;
1300  }
1301
1302  ${As};
1303`,tc=G().div`
1304  flex: 1 1 auto;
1305  cursor: pointer;
1306`,rc=G().div`
1307  width: ${e=>e.theme.schema.defaultDetailsWidth};
1308  text-overflow: ellipsis;
1309  border-radius: 4px;
1310  overflow: hidden;
1311  ${e=>e.$expanded&&`background: ${e.theme.colors.gray[100]};\n     padding: 8px 9.6px;\n     margin: 20px 0;\n     width: 100%;\n    `};
1312  ${ee.lessThan("small")`
1313    margin-top: 10px;
1314  `}
1315`,nc=G()(So)`
1316  display: inline-block;
1317  margin: 0;
1318`,ic=G().div`
1319  width: 100%;
1320  display: flex;
1321  margin: 1em 0;
1322  flex-direction: ${e=>e.$expanded?"column":"row"};
1323  ${ee.lessThan("small")`
1324    flex-direction: column;
1325  `}
1326`,oc=G().div`
1327  margin: 0.5em 0;
1328`,sc=G().div`
1329  border-bottom: 1px solid ${e=>{let{theme:t}=e;return t.colors.border.dark}};
1330  margin-bottom: 1.5em;
1331  padding-bottom: 0.7em;
1332
1333  h5 {
1334    line-height: 1em;
1335    margin: 0 0 0.6em;
1336    font-size: ${e=>{let{theme:t}=e;return t.typography.fontSize}};
1337  }
1338
1339  .redoc-markdown p:first-child {
1340    display: inline;
1341  }
1342`;function ac(t){let{children:r,height:n}=t;const i=e.createRef(),[o,s]=e.useState(!1),[a,l]=e.useState(!1);return e.useEffect(()=>{i.current&&i.current.clientHeight+20<i.current.scrollHeight&&l(!0)},[i]),e.createElement(e.Fragment,null,e.createElement(lc,{ref:i,className:o?"":"container",style:{height:o?"auto":n}},r),e.createElement(cc,{$dimmed:!o},a&&e.createElement(pc,{onClick:()=>{s(!o)}},o?"See less":"See more")))}const lc=G().div`
1343  overflow-y: hidden;
1344`,cc=G().div`
1345  text-align: center;
1346  line-height: 1.5em;
1347  ${e=>{let{$dimmed:t}=e;return t&&"background-image: linear-gradient(to bottom, transparent,rgb(255 255 255));\n     position: relative;\n     top: -0.5em;\n     padding-top: 0.5em;\n     background-position-y: -1em;\n    "}}
1348`,pc=G().a`
1349  cursor: pointer;
1350`,uc=e.memo(function(t){const{type:r,flow:n,RequiredScopes:i}=t,o=Object.keys((null==n?void 0:n.scopes)||{});return e.createElement(e.Fragment,null,e.createElement(oc,null,e.createElement("b",null,"Flow type: "),e.createElement("code",null,r," ")),("implicit"===r||"authorizationCode"===r)&&e.createElement(oc,null,e.createElement("strong",null," Authorization URL: "),e.createElement("code",null,e.createElement("a",{target:"_blank",rel:"noopener noreferrer",href:n.authorizationUrl},n.authorizationUrl))),("password"===r||"clientCredentials"===r||"authorizationCode"===r)&&e.createElement(oc,null,e.createElement("b",null," Token URL: "),e.createElement("code",null,n.tokenUrl)),n.refreshUrl&&e.createElement(oc,null,e.createElement("strong",null," Refresh URL: "),e.createElement("code",null,n.refreshUrl)),!!o.length&&e.createElement(e.Fragment,null,i||null,e.createElement(oc,null,e.createElement("b",null," Scopes: ")),e.createElement(ac,{height:"4em"},e.createElement("ul",null,o.map(t=>e.createElement("li",{key:t},e.createElement("code",null,t)," -"," ",e.createElement(Fs,{className:"redoc-markdown",inline:!0,source:n.scopes[t]||""})))))))});function dc(t){const{RequiredScopes:r,scheme:n}=t;return e.createElement(Ps,null,n.apiKey?e.createElement(e.Fragment,null,e.createElement(oc,null,e.createElement("b",null,_(n.apiKey.in||"")," parameter name: "),e.createElement("code",null,n.apiKey.name)),r):n.http?e.createElement(e.Fragment,null,e.createElement(oc,null,e.createElement("b",null,"HTTP Authorization Scheme: "),e.createElement("code",null,n.http.scheme)),e.createElement(oc,null,"bearer"===n.http.scheme&&n.http.bearerFormat&&e.createElement(e.Fragment,null,e.createElement("b",null,"Bearer format: "),e.createElement("code",null,n.http.bearerFormat))),r):n.openId?e.createElement(e.Fragment,null,e.createElement(oc,null,e.createElement("b",null,"Connect URL: "),e.createElement("code",null,e.createElement("a",{target:"_blank",rel:"noopener noreferrer",href:n.openId.connectUrl},n.openId.connectUrl))),r):n.flows?Object.keys(n.flows).map(t=>e.createElement(uc,{key:t,type:t,RequiredScopes:r,flow:n.flows[t]})):null)}const fc={oauth2:"OAuth2",apiKey:"API Key",http:"HTTP",openIdConnect:"OpenID Connect"};class hc extends e.PureComponent{render(){return this.props.securitySchemes.schemes.map(t=>e.createElement(uo,{id:t.sectionId,key:t.id},e.createElement(mo,null,e.createElement(po,null,e.createElement(vo,null,e.createElement(Co,{to:t.sectionId}
1350),t.displayName),e.createElement(Fs,{source:t.description||""}),e.createElement(sc,null,e.createElement(oc,null,e.createElement("b",null,"Security Scheme Type: "),e.createElement("span",null,fc[t.type]||t.type)),e.createElement(dc,{scheme:t}))))))}}var mc=(e,t,r)=>new Promise((n,i)=>{var o=e=>{try{a(r.next(e))}catch(e){i(e)}},s=e=>{try{a(r.throw(e))}catch(e){i(e)}},a=e=>e.done?n(e.value):Promise.resolve(e.value).then(o,s);a((r=r.apply(e,t)).next())});function gc(e,t){return mc(this,arguments,function(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return function*(){const n=yield be(e||t);return new yc(n,t,r)}()})}class yc{constructor(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];this.marker=new Gt,this.disposer=null,this.rawOptions=r,this.options=new H(r,bc),this.scroll=new lo(this.options),io.updateOnHistory(Ht.currentId,this.scroll),this.spec=new Mi(e,t,this.options),this.menu=new io(this.spec,this.scroll,Ht),this.options.disableSearch||(this.search=new co,n&&this.search.indexItems(this.menu.items),this.disposer=(0,fe.observe)(this.menu,"activeItemIdx",e=>{this.updateMarkOnMenu(e.newValue)}))}static fromJS(e){const t=new yc(e.spec.data,e.spec.url,e.options,!1);return t.menu.activeItemIdx=e.menu.activeItemIdx||0,t.menu.activate(t.menu.flatItems[t.menu.activeItemIdx]),t.options.disableSearch||t.search.load(e.searchIndex),t}onDidMount(){this.menu.updateOnHistory(),this.updateMarkOnMenu(this.menu.activeItemIdx)}dispose(){this.scroll.dispose(),this.menu.dispose(),this.search&&this.search.dispose(),null!=this.disposer&&this.disposer()}toJS(){return mc(this,null,function*(){return{menu:{activeItemIdx:this.menu.activeItemIdx},spec:{url:this.spec.parser.specUrl,data:this.spec.parser.spec},searchIndex:this.search?yield this.search.toJS():void 0,options:this.rawOptions}})}updateMarkOnMenu(e){const t=Math.max(0,e),r=Math.min(this.menu.flatItems.length,t+5),n=[];for(let i=t;i<r;i++){const e=this.menu.getElementAt(i);e&&n.push(e)}if(-1===e&&a){const e=document.querySelector('[data-role="redoc-description"]'),t=document.querySelector('[data-role="redoc-summary"]');e&&n.push(e),t&&n.push(t)}this.marker.addOnly(n),this.marker.mark()}}const bc={allowedMdComponents:{[ft]:{component:hc,propsSelector:e=>({securitySchemes:e.spec.securitySchemes})},[ht]:{component:hc,propsSelector:e=>({securitySchemes:e.spec.securitySchemes})},[mt]:{component:Yl,propsSelector:e=>({parser:e.spec.parser,options:e.options})}}},vc=te(bo)`
1351  margin-top: 0;
1352  margin-bottom: 0.5em;
1353
1354  ${re("ApiHeader")};
1355`,xc=te.a`
1356  border: 1px solid ${e=>e.theme.colors.primary.main};
1357  color: ${e=>e.theme.colors.primary.main};
1358  font-weight: normal;
1359  margin-left: 0.5em;
1360  padding: 4px 8px 4px;
1361  display: inline-block;
1362  text-decoration: none;
1363  cursor: pointer;
1364
1365  ${re("DownloadButton")};
1366`,wc=te.span`
1367  &::before {
1368    content: '|';
1369    display: inline-block;
1370    opacity: 0.5;
1371    width: ${15}px;
1372    text-align: center;
1373  }
1374
1375  &:last-child::after {
1376    display: none;
1377  }
1378`,Sc=te.div`
1379  overflow: hidden;
1380`,kc=te.div`
1381  display: flex;
1382  flex-wrap: wrap;
1383  // hide separator on new lines: idea from https://stackoverflow.com/a/31732902/1749888
1384  margin-left: -${15}px;
1385`;Object.defineProperty,Object.getOwnPropertyDescriptor;let Oc=class extends e.Component{render(){const{store:t}=this.props,{info:r,externalDocs:n}=t.spec,i=t.options.hideDownloadButtons,o=r.downloadUrls,s=r.downloadFileName,a=r.license&&e.createElement(wc,null,"License:"," ",r.license.identifier?r.license.identifier:e.createElement("a",{href:r.license.url},r.license.name))||null,l=r.contact&&r.contact.url&&e.createElement(wc,null,"URL: ",e.createElement("a",{href:r.contact.url},r.contact.url))||null,c=r.contact&&r.contact.email&&e.createElement(wc,null,r.contact.name||"E-mail",":"," ",e.createElement("a",{href:"mailto:"+r.contact.email},r.contact.email))||null,p=r.termsOfService&&e.createElement(wc,null,e.createElement("a",{href:r.termsOfService},"Terms of Service"))||null,u=r.version&&e.createElement("span",null,"(",r.version,")")||null;return e.createElement(uo,null,e.createElement(mo,null,e.createElement(po,{
1385className:"api-info"},e.createElement(vc,null,r.title," ",u),!i&&e.createElement("p",null,N("downloadSpecification"),":",null==o?void 0:o.map(t=>{let{title:r,url:n}=t;return e.createElement(xc,{download:s||!0,target:"_blank",href:n,rel:"noreferrer",key:n},r)})),e.createElement(Ps,null,(r.license||r.contact||r.termsOfService)&&e.createElement(Sc,null,e.createElement(kc,null,c," ",l," ",a," ",p))||null),e.createElement(Fs,{source:t.spec.info.summary,"data-role":"redoc-summary"}),e.createElement(Fs,{source:t.spec.info.description,"data-role":"redoc-description"}),n&&e.createElement(Ra,{externalDocs:n}))))}};Oc=((e,t)=>{for(var r,n=t,i=e.length-1;i>=0;i--)(r=e[i])&&(n=r(n)||n);return n})([va.observer],Oc);const Ec=te.img`
1386  max-height: ${e=>e.theme.logo.maxHeight};
1387  max-width: ${e=>e.theme.logo.maxWidth};
1388  padding: ${e=>e.theme.logo.gutter};
1389  width: 100%;
1390  display: block;
1391`,_c=te.div`
1392  text-align: center;
1393`,$c=te.a`
1394  display: inline-block;
1395`;Object.defineProperty,Object.getOwnPropertyDescriptor;let Ac=class extends e.Component{render(){const{info:t}=this.props,r=t["x-logo"];if(!r||!r.url)return null;const n=r.href||t.contact&&t.contact.url,i=r.altText?r.altText:"logo",o=e.createElement(Ec,{src:r.url,alt:i});return e.createElement(_c,{style:{backgroundColor:r.backgroundColor}},n?(s=n,t=>e.createElement($c,{href:s},t))(o):o);var s}};Ac=((e,t)=>{for(var r,n=t,i=e.length-1;i>=0;i--)(r=e[i])&&(n=r(n)||n);return n})([va.observer],Ac);var Pc=Object.defineProperty,jc=Object.getOwnPropertySymbols,Cc=Object.prototype.hasOwnProperty,Tc=Object.prototype.propertyIsEnumerable,Ic=(e,t,r)=>t in e?Pc(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Nc=(e,t)=>{for(var r in t||(t={}))Cc.call(t,r)&&Ic(e,r,t[r]);if(jc)for(var r of jc(t))Tc.call(t,r)&&Ic(e,r,t[r]);return e};class Rc extends e.Component{render(){return e.createElement(de,null,t=>e.createElement(_o,null,e=>this.renderWithOptionsAndStore(t,e)))}renderWithOptionsAndStore(t,r){const{source:n,htmlWrap:i=e=>e}=this.props;if(!r)throw new Error("When using components in markdown, store prop must be provided");const o=new Hr(t,this.props.parentId).renderMdWithComponents(n);return o.length?o.map((t,n)=>{if("string"==typeof t)return e.cloneElement(i(e.createElement(zs,{html:t,inline:!1,compact:!1})),{key:n});const o=t.component;return e.createElement(o,Nc({key:n},Nc(Nc({},t.props),t.propsSelector(r))))}):null}}var Lc=r(98139);const Dc=te.span.attrs(e=>({className:`operation-type ${e.type}`}))`
1396  width: 9ex;
1397  display: inline-block;
1398  height: ${e=>e.theme.typography.code.fontSize};
1399  line-height: ${e=>e.theme.typography.code.fontSize};
1400  background-color: ${e=>e.color||"#333"};
1401  border-radius: 3px;
1402  background-repeat: no-repeat;
1403  background-position: 6px 4px;
1404  font-size: 7px;
1405  font-family: Verdana, sans-serif; // web-safe
1406  color: white;
1407  text-transform: uppercase;
1408  text-align: center;
1409  font-weight: bold;
1410  vertical-align: middle;
1411  margin-right: 6px;
1412  margin-top: 2px;
1413
1414  &.get {
1415    background-color: ${e=>{let{theme:t}=e;return t.colors.http.get}};
1416  }
1417
1418  &.post {
1419    background-color: ${e=>{let{theme:t}=e;return t.colors.http.post}};
1420  }
1421
1422  &.put {
1423    background-color: ${e=>{let{theme:t}=e;return t.colors.http.put}};
1424  }
1425
1426  &.options {
1427    background-color: ${e=>{let{theme:t}=e;return t.colors.http.options}};
1428  }
1429
1430  &.patch {
1431    background-color: ${e=>{let{theme:t}=e;return t.colors.http.patch}};
1432  }
1433
1434  &.delete {
1435    background-color: ${e=>{let{theme:t}=e;return t.colors.http.delete}};
1436  }
1437
1438  &.basic {
1439    background-color: ${e=>{let{theme:t}=e;return t.colors.http.basic}};
1440  }
1441
1442  &.link {
1443    background-color: ${e=>{let{theme:t}=e;return t.colors.http.link}};
1444  }
1445
1446  &.head {
1447    background-color: ${e=>{let{theme:t}=e;return t.colors.http.head}};
1448  }
1449
1450  &.hook {
1451    background-color: ${e=>{let{theme:t}=e;return t.colors.primary.main}};
1452  }
1453
1454  &.schema {
1455    background-color: ${e=>{let{theme:t}=e;return t.colors.http.basic}};
1456  }
1457`;function Mc(e,t,r){let{theme:n}=t;return e>1?n.sidebar.level1Items[r]:1===e?n.sidebar.groupItems[r]:""}const zc=te.ul`
1458  margin: 0;
1459  padding: 0;
1460
1461  &:first-child {
1462    padding-bottom: 32px;
1463  }
1464
1465  & & {
1466    font-size: 0.929em;
1467  }
1468
1469  ${e=>e.$expanded?"":"display: none;"};
1470`,Fc=te.li`
1471  list-style: none inside none;
1472  overflow: hidden;
1473  text-overflow: ellipsis;
1474  padding: 0;
1475  ${e=>0===e.depth?"margin-top: 15px":""};
1476`,Bc={0:Y`
1477    opacity: 0.7;
1478    text-transform: ${e=>{let{theme:t}=e;return t.sidebar.groupItems.textTransform}};
1479    font-size: 0.8em;
1480    padding-bottom: 0;
1481    cursor: default;
1482  `,1:Y`
1483    font-size: 0.929em;
1484    text-transform: ${e=>{let{theme:t}=e;return t.sidebar.level1Items.textTransform}};
1485  `},qc=te.label.attrs(e=>({className:Lc("-depth"+e.$depth,{active:e.$active})}))`
1486  cursor: pointer;
1487  color: ${e=>e.$active?Mc(e.$depth,e,"activeTextColor"):e.theme.sidebar.textColor};
1488  margin: 0;
1489  padding: 12.5px ${e=>4*e.theme.spacing.unit}px;
1490  ${e=>{let{$depth:t,$type:r,theme:n}=e;return"section"===r&&t>1&&"padding-left: "+8*n.spacing.unit+"px;"||""}}
1491  display: flex;
1492  justify-content: space-between;
1493  font-family: ${e=>e.theme.typography.headings.fontFamily};
1494  ${e=>Bc[e.$depth]};
1495  background-color: ${e=>e.$active?Mc(e.$depth,e,"activeBackgroundColor"):e.theme.sidebar.backgroundColor};
1496
1497  ${e=>e.$deprecated&&Ro||""};
1498
1499  &:hover {
1500    color: ${e=>Mc(e.$depth,e,"activeTextColor")};
1501    background-color: ${e=>Mc(e.$depth,e,"activeBackgroundColor")};
1502  }
1503
1504  ${Io} {
1505    height: ${e=>{let{theme:t}=e;return t.sidebar.arrow.size}};
1506    width: ${e=>{let{theme:t}=e;return t.sidebar.arrow.size}};
1507    polygon {
1508      fill: ${e=>{let{theme:t}=e;return t.sidebar.arrow.color}};
1509    }
1510  }
1511`,Uc=te.span`
1512  display: inline-block;
1513  vertical-align: middle;
1514  width: ${e=>e.width?e.width:"auto"};
1515  overflow: hidden;
1516  text-overflow: ellipsis;
1517`,Vc=te.div`
1518  ${e=>{let{theme:r}=e;return Y`
1519    font-size: 0.8em;
1520    margin-top: ${2*r.spacing.unit}px;
1521    text-align: center;
1522    position: fixed;
1523    width: ${r.sidebar.width};
1524    bottom: 0;
1525    background: ${r.sidebar.backgroundColor};
1526
1527    a,
1528    a:visited,
1529    a:hover {
1530      color: ${r.sidebar.textColor} !important;
1531      padding: ${r.spacing.unit}px 0;
1532      border-top: 1px solid ${(0,t.darken)(.1,r.sidebar.backgroundColor)};
1533      text-decoration: none;
1534      display: flex;
1535      align-items: center;
1536      justify-content: center;
1537    }
1538  `}};
1539  img {
1540    width: 15px;
1541    margin-right: 5px;
1542  }
1543
1544  ${ee.lessThan("small")`
1545    width: 100%;
1546  `};
1547`,Wc=te.button`
1548  border: 0;
1549  width: 100%;
1550  text-align: left;
1551  & > * {
1552    vertical-align: middle;
1553  }
1554
1555  ${Io} {
1556    polygon {
1557      fill: ${e=>{let{theme:r}=e;return(0,t.darken)(r.colors.tonalOffset,r.colors.gray[100])}};
1558    }
1559  }
1560`,Hc=te.span`
1561  text-decoration: ${e=>e.$deprecated?"line-through":"none"};
1562  margin-right: 8px;
1563`,Qc=te(Dc)`
1564  margin: 0 5px 0 0;
1565`,Gc=te(t=>{const{name:r,opened:n,className:i,onClick:o,httpVerb:s,deprecated:a}=t;return e.createElement(Wc,{className:i,onClick:o||void 0},e.createElement(Qc,{type:s},bt(s)),e.createElement(Io,{size:"1.5em",direction:n?"down":"right",float:"left"}),e.createElement(Hc,{$deprecated:a},r),a?e.createElement(No,{type:"warning"}," ",N("deprecated")," "):null)})`
1566  padding: 10px;
1567  border-radius: 2px;
1568  margin-bottom: 4px;
1569  line-height: 1.5em;
1570  background-color: ${e=>{let{theme:t}=e;return t.colors.gray[100]}};
1571  cursor: pointer;
1572  outline-color: ${e=>{let{theme:r}=e;return(0,t.darken)(r.colors.tonalOffset,r.colors.gray[100])}};
1573`,Kc=te.div`
1574  padding: 10px 25px;
1575  background-color: ${e=>{let{theme:t}=e;return t.colors.gray[50]}};
1576  margin-bottom: 5px;
1577  margin-top: 5px;
1578`;class Yc extends e.PureComponent{constructor(){super(...arguments),this.selectElement=()=>{Gs.selectElement(this.child)}}render(){const{children:t}=this.props;return e.createElement("div",{ref:e=>this.child=e,onClick:this.selectElement,onFocus:this.selectElement,tabIndex:0,role:"button"},t)}}const Jc=te.div`
1579  cursor: pointer;
1580  position: relative;
1581  margin-bottom: 5px;
1582`,Xc=te.span`
1583  font-family: ${e=>e.theme.typography.code.fontFamily};
1584  margin-left: 10px;
1585  flex: 1;
1586  overflow-x: hidden;
1587  text-overflow: ellipsis;
1588`,Zc=te.button`
1589  outline: 0;
1590  color: inherit;
1591  width: 100%;
1592  text-align: left;
1593  cursor: pointer;
1594  padding: 10px 30px 10px ${e=>e.$inverted?"10px":"20px"};
1595  border-radius: ${e=>e.$inverted?"0":"4px 4px 0 0"};
1596  background-color: ${e=>e.$inverted?"transparent":e.theme.codeBlock.backgroundColor};
1597  display: flex;
1598  white-space: nowrap;
1599  align-items: center;
1600  border: ${e=>e.$inverted?"0":"1px solid transparent"};
1601  border-bottom: ${e=>e.$inverted?"1px solid #ccc":"0"};
1602  transition: border-color 0.25s ease;
1603
1604  ${e=>e.$expanded&&!e.$inverted&&`border-color: ${e.theme.colors.border.dark};`||""}
1605
1606  .${Xc} {
1607    color: ${e=>e.$inverted?e.theme.colors.text.primary:"#ffffff"};
1608  }
1609  &:focus {
1610    box-shadow: inset 0 2px 2px rgba(0, 0, 0, 0.45), 0 2px 0 rgba(128, 128, 128, 0.25);
1611  }
1612`,ep=te.span.attrs(e=>({className:`http-verb ${e.type}`}))`
1613  font-size: ${e=>e.$compact?"0.8em":"0.929em"};
1614  line-height: ${e=>e.$compact?"18px":"20px"};
1615  background-color: ${e=>e.theme.colors.http[e.type]||"#999999"};
1616  color: #ffffff;
1617  padding: ${e=>e.$compact?"2px 8px":"3px 10px"};
1618  text-transform: uppercase;
1619  font-family: ${e=>e.theme.typography.headings.fontFamily};
1620  margin: 0;
1621`,tp=te.div`
1622  position: absolute;
1623  width: 100%;
1624  z-index: 100;
1625  background: ${e=>e.theme.rightPanel.servers.overlay.backgroundColor};
1626  color: ${e=>e.theme.rightPanel.servers.overlay.textColor};
1627  box-sizing: border-box;
1628  box-shadow: 0 0 6px rgba(0, 0, 0, 0.33);
1629  overflow: hidden;
1630  border-bottom-left-radius: 4px;
1631  border-bottom-right-radius: 4px;
1632  transition: all 0.25s ease;
1633  visibility: hidden;
1634  ${e=>e.$expanded?"visibility: visible;":"transform: translateY(-50%) scaleY(0);"}
1635`,rp=te.div`
1636  padding: 10px;
1637`,np=te.div`
1638  padding: 5px;
1639  border: 1px solid #ccc;
1640  background: ${e=>e.theme.rightPanel.servers.url.backgroundColor};
1641  word-break: break-all;
1642  color: ${e=>e.theme.colors.primary.main};
1643  > span {
1644    color: ${e=>e.theme.colors.text.primary};
1645  }
1646`;class ip extends e.Component{constructor(e){super(e),this.toggle=()=>{this.setState({expanded:!this.state.expanded})},this.state={expanded:!1}}render(){const{operation:t,inverted:r,hideHostname:n}=this.props,{expanded:i}=this.state;return e.createElement(pe.Consumer,null,o=>e.createElement(Jc,null,e.createElement(Zc,{onClick:this.toggle,$expanded:i,$inverted:r},e.createElement(ep,{type:t.httpVerb,$compact:this.props.compact},t.httpVerb),e.createElement(Xc,null,t.path),e.createElement(Io,{float:"right",color:r?"black":"white",size:"20px",direction:i?"up":"down",style:{marginRight:"-25px"}})),e.createElement(tp,{$expanded:i,"aria-hidden":!i},t.servers.map(r=>{const i=o.expandDefaultServerVariables?ut(r.url,r.variables):r.url,s=E(i);return e.createElement(rp,{key:i},e.createElement(Fs,{source:r.description||"",compact:!0}),e.createElement(Yc,null,e.createElement(np,null,e.createElement("span",null,n||o.hideHostname?"/"===s?"":s:i),t.path)))}))))}}class op extends e.PureComponent{render(){const{place:t,parameters:r}=this.props;return r&&r.length?e.createElement("div",{key:t},e.createElement(So,null,t," Parameters"),e.createElement(Uo,null,e.createElement("tbody",null,f(r,(t,r)=>e.createElement(al,{key:t.name,isLast:r,field:t,showExamples:!0}))))):null}}Object.defineProperty,Object.getOwnPropertyDescriptor;let sp=class extends e.Component{constructor(){super(...arguments),this.switchMedia=e=>{let{idx:t}=e;this.props.content&&void 0!==t&&this.props.content.activate(t)}}render(){const{content:t}=this.props;if(!t||!t.mediaTypes||!t.mediaTypes.length)return null;const r=t.activeMimeIdx,n=t.mediaTypes.map((e,t)=>({value:e.name,idx:t})),i=t=>{let{children:r}=t;return this.props.withLabel?e.createElement(ha,null,e.createElement(fa,null,"Content type"),r):r};return e.createElement(e.Fragment,null,e.createElement(i,null,this.props.renderDropdown({value:n[r].value,options:n,onChange:this.switchMedia,ariaLabel:"Content type"})),this.props.children(t.active))}};sp=((e,t)=>{for(var r,n=t,i=e.length-1;i>=0;i--)(r=e[i])&&(n=r(n)||n);return n})([va.observer],sp);var ap=Object.defineProperty,lp=Object.getOwnPropertySymbols,cp=Object.prototype.hasOwnProperty,pp=Object.prototype.propertyIsEnumerable,up=(e,t,r)=>t in e?ap(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,dp=(e,t)=>{for(var r in t||(t={}))cp.call(t,r)&&up(e,r,t[r]);if(lp)for(var r of lp(t))pp.call(t,r)&&up(e,r,t[r]);return e},fp=(e,t)=>{var r={};for(var n in e)cp.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&lp)for(var n of lp(e))t.indexOf(n)<0&&pp.call(e,n)&&(r[n]=e[n]);return r};const hp=["path","query","cookie","header"];class mp extends e.PureComponent{orderParams(e){const t={};
1646return e.forEach(e=>{var r,n,i;i=e,(r=t)[n=e.in]||(r[n]=[]),r[n].push(i)}),t}render(){const{body:t,parameters:r=[]}=this.props;if(void 0===t&&void 0===r)return null;const n=this.orderParams(r),i=r.length>0?hp:[],o=t&&t.content,s=t&&t.description,a=t&&t.required;return e.createElement(e.Fragment,null,i.map(t=>e.createElement(op,{key:t,place:t,parameters:n[t]})),o&&e.createElement(yp,{content:o,description:s,bodyRequired:a}))}}function gp(t){var r=t,{bodyRequired:n}=r,i=fp(r,["bodyRequired"]);const o="boolean"==typeof n&&!!n,s="boolean"==typeof n&&!n;return e.createElement(So,{key:"header"},"Request Body schema: ",e.createElement(Es,dp({},i)),o&&e.createElement(vp,null,"required"),s&&e.createElement(xp,null,"optional"))}function yp(t){const{content:r,description:n,bodyRequired:i}=t,{isRequestType:o}=r;return e.createElement(sp,{content:r,renderDropdown:t=>e.createElement(gp,dp({bodyRequired:i},t))},t=>{let{schema:r}=t;return e.createElement(e.Fragment,null,void 0!==n&&e.createElement(Fs,{source:n}),"object"===(null==r?void 0:r.type)&&e.createElement(Ua,{constraints:(null==r?void 0:r.constraints)||[]}),e.createElement(ql,{skipReadOnly:o,skipWriteOnly:!o,key:"schema",schema:r}))})}const bp="\n  text-transform: lowercase;\n  margin-left: 0;\n  line-height: 1.5em;\n",vp=te(_a)`
1647  ${bp}
1648`,xp=te("div")`
1649  ${bp}
1650  color: ${e=>{let{theme:t}=e;return t.colors.text.secondary}};
1651  font-size: ${e=>e.theme.schema.labelsTextSize};
1652`,wp=e.memo(function(t){let{title:r,type:n,empty:i,code:o,opened:s,className:a,onClick:l}=t;return e.createElement("button",{className:a,onClick:!i&&l||void 0,"aria-expanded":s,disabled:i},!i&&e.createElement(Io,{size:"1.5em",color:n,direction:s?"down":"right",float:"left"}),e.createElement(Ep,null,o," "),e.createElement(Fs,{compact:!0,inline:!0,source:r}))}),Sp=te(wp)`
1653  display: block;
1654  border: 0;
1655  width: 100%;
1656  text-align: left;
1657  padding: 10px;
1658  border-radius: 2px;
1659  margin-bottom: 4px;
1660  line-height: 1.5em;
1661  cursor: pointer;
1662
1663  color: ${e=>e.theme.colors.responses[e.type].color};
1664  background-color: ${e=>e.theme.colors.responses[e.type].backgroundColor};
1665  &:focus {
1666    outline: auto ${e=>e.theme.colors.responses[e.type].color};
1667  }
1668  ${e=>e.empty?'\ncursor: default;\n&::before {\n  content: "\u2014";\n  font-weight: bold;\n  width: 1.5em;\n  text-align: center;\n  display: inline-block;\n  vertical-align: top;\n}\n&:focus {\n  outline: 0;\n}\n':""};
1669`,kp=te.div`
1670  padding: 10px;
1671`,Op=te(So).attrs({as:"caption"})`
1672  text-align: left;
1673  margin-top: 1em;
1674  caption-side: top;
1675`,Ep=te.strong`
1676  vertical-align: top;
1677`;class _p extends e.PureComponent{render(){const{headers:t}=this.props;return void 0===t||0===t.length?null:e.createElement(Uo,null,e.createElement(Op,null," Response Headers "),e.createElement("tbody",null,f(t,(t,r)=>e.createElement(al,{isLast:r,key:t.name,field:t,showExamples:!0}))))}}var $p=Object.defineProperty,Ap=Object.getOwnPropertySymbols,Pp=Object.prototype.hasOwnProperty,jp=Object.prototype.propertyIsEnumerable,Cp=(e,t,r)=>t in e?$p(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;class Tp extends e.PureComponent{constructor(){super(...arguments),this.renderDropdown=t=>e.createElement(So,{key:"header"},"Response Schema: ",e.createElement(Es,((e,t)=>{for(var r in t||(t={}))Pp.call(t,r)&&Cp(e,r,t[r]);if(Ap)for(var r of Ap(t))jp.call(t,r)&&Cp(e,r,t[r]);return e})({},t)))}render(){const{description:t,extensions:r,headers:n,content:i}=this.props.response;return e.createElement(e.Fragment,null,t&&e.createElement(Fs,{source:t}),e.createElement(Fa,{extensions:r}),e.createElement(_p,{headers:n}),e.createElement(sp,{content:i,renderDropdown:this.renderDropdown},t=>{let{schema:r}=t;return e.createElement(e.Fragment,null,"object"===(null==r?void 0:r.type)&&e.createElement(Ua,{constraints:(null==r?void 0:r.constraints)||[]}),e.createElement(ql,{skipWriteOnly:!0,key:"schema",schema:r}))}))}}const Ip=(0,va.observer)(t=>{let{response:r}=t;const{extensions:n,headers:i,type:o,summary:s,description:a,code:l,expanded:c,content:p}=r,u=e.useMemo(()=>void 0===p?[]:p.mediaTypes.filter(e=>void 0!==e.schema),[p]),d=e.useMemo(()=>!(n&&0!==Object.keys(n).length||0!==i.length||0!==u.length||a),[n,i,u,a]);return e.createElement("div",null,e.createElement(Sp,{onClick:()=>
1677r.toggle(),type:o,empty:d,title:s||"",code:l,opened:c}),c&&!d&&e.createElement(kp,null,e.createElement(Tp,{response:r})))}),Np=te.h3`
1678  font-size: 1.3em;
1679  padding: 0.2em 0;
1680  margin: 3em 0 1.1em;
1681  color: ${e=>{let{theme:t}=e;return t.colors.text.primary}};
1682  font-weight: normal;
1683`;class Rp extends e.PureComponent{render(){const{responses:t,isCallback:r}=this.props;return t&&0!==t.length?e.createElement("div",null,e.createElement(Np,null,N(r?"callbackResponses":"responses")),t.map(t=>e.createElement(Ip,{key:t.code,response:t}))):null}}function Lp(t){const{security:r,showSecuritySchemeType:n,expanded:i}=t,o=r.schemes.length>1;return 0===r.schemes.length?e.createElement(ec,{$expanded:i},"None"):e.createElement(ec,{$expanded:i},o&&"(",r.schemes.map(t=>e.createElement(Zl,{key:t.id},n&&`${fc[t.type]||t.type}: `,e.createElement("i",null,t.displayName),i&&t.scopes.length?[" (",t.scopes.map(t=>e.createElement(Xl,{key:t},t)),") "]:null)),o&&") ")}const Dp=t=>{let{scopes:r}=t;return r.length?e.createElement("div",null,e.createElement("b",null,"Required scopes: "),r.map((t,r)=>e.createElement(e.Fragment,{key:r},e.createElement("code",null,t)," "))):null};function Mp(t){const r=Ao(),n=null==r?void 0:r.options.showSecuritySchemeType,[i,o]=(0,e.useState)(!1),{securities:s}=t;if(!(null==s?void 0:s.length)||(null==r?void 0:r.options.hideSecuritySection))return null;const a=null==r?void 0:r.spec.securitySchemes.schemes.filter(e=>{let{id:t}=e;return s.find(e=>e.schemes.find(e=>e.id===t))});return e.createElement(e.Fragment,null,e.createElement(ic,{$expanded:i},e.createElement(tc,{onClick:()=>o(!i)},e.createElement(nc,null,"Authorizations:"),e.createElement(Io,{size:"1.3em",direction:i?"down":"right"})),e.createElement(rc,{$expanded:i},s.map((t,r)=>e.createElement(Lp,{key:r,expanded:i,showSecuritySchemeType:n,security:t})))),i&&!!(null==a?void 0:a.length)&&a.map((t,r)=>e.createElement(sc,{key:r},e.createElement("h5",null,e.createElement(zp,null)," ",fc[t.type]||t.type,": ",t.id),e.createElement(Fs,{source:t.description||""}),e.createElement(dc,{key:t.id,scheme:t,RequiredScopes:e.createElement(Dp,{scopes:Fp(t.id,s)})}))))}const zp=()=>e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"11",height:"11"},e.createElement("path",{fill:"currentColor",d:"M18 10V6A6 6 0 0 0 6 6v4H3v14h18V10h-3zM8 6c0-2.206 1.794-4 4-4s4 1.794 4 4v4H8V6zm11 16H5V12h14v10z"}));function Fp(e,t){const r=[];let n=t.length;for(;n--;){const i=t[n];let o=i.schemes.length;for(;o--;){const t=i.schemes[o];t.id===e&&Array.isArray(t.scopes)&&r.push(...t.scopes)}}return Array.from(new Set(r))}Object.defineProperty,Object.getOwnPropertyDescriptor;let Bp=class extends e.Component{render(){const{operation:t}=this.props,{description:r,externalDocs:n}=t,i=!(!r&&!n);return e.createElement(Kc,null,i&&e.createElement(qp,null,void 0!==r&&e.createElement(Fs,{source:r}),n&&e.createElement(Ra,{externalDocs:n})),e.createElement(ip,{operation:this.props.operation,inverted:!0,compact:!0}),e.createElement(Fa,{extensions:t.extensions}),e.createElement(Mp,{securities:t.security}),e.createElement(mp,{parameters:t.parameters,body:t.requestBody}),e.createElement(Rp,{responses:t.responses,isCallback:t.isCallback}))}};Bp=((e,t)=>{for(var r,n=t,i=e.length-1;i>=0;i--)(r=e[i])&&(n=r(n)||n);return n})([va.observer],Bp);const qp=te.div`
1684  margin-bottom: ${e=>{let{theme:t}=e;return 3*t.spacing.unit}}px;
1685`;Object.defineProperty,Object.getOwnPropertyDescriptor;let Up=class extends e.Component{constructor(){super(...arguments),this.toggle=()=>{this.props.callbackOperation.toggle()}}render(){const{name:t,expanded:r,httpVerb:n,deprecated:i}=this.props.callbackOperation;return e.createElement(e.Fragment,null,e.createElement(Gc,{onClick:this.toggle,name:t,opened:r,httpVerb:n,deprecated:i}),r&&e.createElement(Bp,{operation:this.props.callbackOperation}))}};Up=((e,t)=>{for(var r,n=t,i=e.length-1;i>=0;i--)(r=e[i])&&(n=r(n)||n);return n})([va.observer],Up);class Vp extends e.PureComponent{render(){const{callbacks:t}=this.props;return t&&0!==t.length?e.createElement("div",null,e.createElement(Wp,null," Callbacks "),t.map(t=>t.operations.map((r,n)=>e.createElement(Up,{key:`${t.name}_${n}`,callbackOperation:r})))):null}}const Wp=te.h3`
1686  font-size: 1.3em;
1687  padding: 0.2em 0;
1688  margin: 3em 0 1.1em;
1689  color: ${e=>{let{theme:t}=e;return t.colors.text.primary}};
1690  font-weight: normal;
1691`;Object.defineProperty,Object.getOwnPropertyDescriptor;let Hp=class extends e.Component{constructor(e){super(e),this.switchItem=e=>{let{idx:t}=e;this.props.items&&void 0!==t&&this.setState({activeItemIdx:t})},this.state={activeItemIdx:0}}render(){const{items:t}=this.props;if(!t||!t.length)return null;const r=t=>{let{children:r}=t;return this.props.label?e.createElement(ha,null,e.createElement(fa,null,this.props.label),r):r};
1691return e.createElement(e.Fragment,null,e.createElement(r,null,this.props.renderDropdown({value:this.props.options[this.state.activeItemIdx].value,options:this.props.options,onChange:this.switchItem,ariaLabel:this.props.label||"Callback"})),this.props.children(t[this.state.activeItemIdx]))}};Hp=((e,t)=>{for(var r,n=t,i=e.length-1;i>=0;i--)(r=e[i])&&(n=r(n)||n);return n})([va.observer],Hp);var Qp=Object.defineProperty,Gp=Object.defineProperties,Kp=(Object.getOwnPropertyDescriptor,Object.getOwnPropertyDescriptors),Yp=Object.getOwnPropertySymbols,Jp=Object.prototype.hasOwnProperty,Xp=Object.prototype.propertyIsEnumerable,Zp=(e,t,r)=>t in e?Qp(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;let eu=class extends e.Component{constructor(){super(...arguments),this.renderDropdown=t=>{return e.createElement(Es,(r=((e,t)=>{for(var r in t||(t={}))Jp.call(t,r)&&Zp(e,r,t[r]);if(Yp)for(var r of Yp(t))Xp.call(t,r)&&Zp(e,r,t[r]);return e})({Label:da,Dropdown:ma},t),Gp(r,Kp({variant:"dark"}))));var r}}render(){const t=this.props.content;return void 0===t?null:e.createElement(sp,{content:t,renderDropdown:this.renderDropdown,withLabel:!0},t=>e.createElement(ya,{key:"samples",mediaType:t,renderDropdown:this.renderDropdown}))}};eu=((e,t)=>{for(var r,n=t,i=e.length-1;i>=0;i--)(r=e[i])&&(n=r(n)||n);return n})([va.observer],eu);class tu extends e.Component{render(){const t=this.props.callback.codeSamples.find(e=>yi(e));return t?e.createElement(ru,null,e.createElement(eu,{content:t.requestBodyContent})):null}}const ru=te.div`
1692  margin-top: 15px;
1693`;var nu=Object.defineProperty,iu=Object.defineProperties,ou=(Object.getOwnPropertyDescriptor,Object.getOwnPropertyDescriptors),su=Object.getOwnPropertySymbols,au=Object.prototype.hasOwnProperty,lu=Object.prototype.propertyIsEnumerable,cu=(e,t,r)=>t in e?nu(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;let pu=class extends e.Component{constructor(){super(...arguments),this.renderDropdown=t=>{return e.createElement(Es,(r=((e,t)=>{for(var r in t||(t={}))au.call(t,r)&&cu(e,r,t[r]);if(su)for(var r of su(t))lu.call(t,r)&&cu(e,r,t[r]);return e})({Label:da,Dropdown:ma},t),iu(r,ou({variant:"dark"}))));var r}}render(){const{callbacks:t}=this.props;if(!t||0===t.length)return null;const r=t.map(e=>e.operations.map(e=>e)).reduce((e,t)=>e.concat(t),[]);if(!r.some(e=>e.codeSamples.length>0))return null;const n=r.map((e,t)=>({value:`${e.httpVerb.toUpperCase()}: ${e.name}`,idx:t}));return e.createElement("div",null,e.createElement(wo,null," Callback payload samples "),e.createElement(uu,null,e.createElement(Hp,{items:r,renderDropdown:this.renderDropdown,label:"Callback",options:n},t=>e.createElement(tu,{key:"callbackPayloadSample",callback:t,renderDropdown:this.renderDropdown}))))}};pu.contextType=pe,pu=((e,t)=>{for(var r,n=t,i=e.length-1;i>=0;i--)(r=e[i])&&(n=r(n)||n);return n})([va.observer],pu);const uu=te.div`
1694  background: ${e=>{let{theme:t}=e;return t.codeBlock.backgroundColor}};
1695  padding: ${e=>4*e.theme.spacing.unit}px;
1696`;Object.defineProperty,Object.getOwnPropertyDescriptor;let du=class extends e.Component{render(){const{operation:t}=this.props,r=t.codeSamples,n=r.length>0,i=1===r.length&&this.context.hideSingleRequestSampleTab;return n&&e.createElement("div",null,e.createElement(wo,null," ",N("requestSamples")," "),e.createElement(Yo,{defaultIndex:0},e.createElement(Ko.TabList,{hidden:i},r.map(t=>e.createElement(Ko.Tab,{key:t.lang+"_"+(t.label||"")},void 0!==t.label?t.label:t.lang))),r.map(t=>e.createElement(Ko.TabPanel,{key:t.lang+"_"+(t.label||"")},yi(t)?e.createElement("div",null,e.createElement(eu,{content:t.requestBodyContent})):e.createElement(aa,{lang:t.lang,source:t.source})))))||null}};du.contextType=pe,du=((e,t)=>{for(var r,n=t,i=e.length-1;i>=0;i--)(r=e[i])&&(n=r(n)||n);return n})([va.observer],du),Object.defineProperty,Object.getOwnPropertyDescriptor;let fu=class extends e.Component{render(){const{operation:t}=this.props,r=t.responses.filter(e=>e.content&&e.content.hasSample);return r.length>0&&e.createElement("div",null,e.createElement(wo,null," ",N("responseSamples")," "),e.createElement(Yo,{defaultIndex:0}
1696,e.createElement(Ko.TabList,null,r.map(t=>e.createElement(Ko.Tab,{className:"tab-"+t.type,key:t.code},t.code))),r.map(t=>e.createElement(Ko.TabPanel,{key:t.code},e.createElement("div",null,e.createElement(eu,{content:t.content}))))))||null}};fu=((e,t)=>{for(var r,n=t,i=e.length-1;i>=0;i--)(r=e[i])&&(n=r(n)||n);return n})([va.observer],fu);var hu=Object.defineProperty,mu=Object.getOwnPropertySymbols,gu=Object.prototype.hasOwnProperty,yu=Object.prototype.propertyIsEnumerable,bu=(e,t,r)=>t in e?hu(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;const vu=te.div`
1697  margin-bottom: ${e=>{let{theme:t}=e;return 6*t.spacing.unit}}px;
1698`,xu=(0,va.observer)(t=>{let{operation:r}=t;const{name:n,description:i,deprecated:o,externalDocs:s,isWebhook:a,httpVerb:l,badges:c}=r,p=!(!i&&!s),{showWebhookVerb:u}=e.useContext(pe),d=c.filter(e=>{let{position:t}=e;return"before"===t}),f=c.filter(e=>{let{position:t}=e;return"after"===t}),h=r.operationHash&&r.operationHash!==r.id?{[no]:r.operationHash,id:r.operationHash}:{};return e.createElement(pe.Consumer,null,t=>e.createElement(mo,((e,t)=>{for(var r in t||(t={}))gu.call(t,r)&&bu(e,r,t[r]);if(mu)for(var r of mu(t))yu.call(t,r)&&bu(e,r,t[r]);return e})({},h),e.createElement(po,null,e.createElement(vo,null,e.createElement(Co,{to:r.id}),d.map(t=>{let{name:r,color:n}=t;return e.createElement(No,{type:"primary",key:r,color:n},r)}),n," ",o&&e.createElement(No,{type:"warning"}," Deprecated "),a&&e.createElement(No,{type:"primary"}," ","Webhook ",u&&l&&"| "+l.toUpperCase()),f.map(t=>{let{name:r,color:n}=t;return e.createElement(No,{type:"primary",key:r,color:n},r)})),t.pathInMiddlePanel&&!a&&e.createElement(ip,{operation:r,inverted:!0}),p&&e.createElement(vu,null,void 0!==i&&e.createElement(Fs,{source:i}),s&&e.createElement(Ra,{externalDocs:s})),e.createElement(Fa,{extensions:r.extensions}),e.createElement(Mp,{securities:r.security}),e.createElement(mp,{parameters:r.parameters,body:r.requestBody}),e.createElement(Rp,{responses:r.responses}),e.createElement(Vp,{callbacks:r.callbacks})),e.createElement(ho,null,!t.pathInMiddlePanel&&!a&&e.createElement(ip,{operation:r}),e.createElement(du,{operation:r}),e.createElement(fu,{operation:r}),e.createElement(pu,{callbacks:r.callbacks}))))});var wu=Object.defineProperty,Su=Object.getOwnPropertyDescriptor,ku=Object.getOwnPropertySymbols,Ou=Object.prototype.hasOwnProperty,Eu=Object.prototype.propertyIsEnumerable,_u=(e,t,r)=>t in e?wu(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,$u=(e,t,r,n)=>{for(var i,o=n>1?void 0:n?Su(t,r):t,s=e.length-1;s>=0;s--)(i=e[s])&&(o=(n?i(t,r,o):i(o))||o);return n&&o&&wu(t,r,o),o};let Au=class extends e.Component{render(){const t=this.props.items;return 0===t.length?null:t.map(t=>e.createElement(Pu,{key:t.id,item:t}))}};Au=$u([va.observer],Au);let Pu=class extends e.Component{render(){const t=this.props.item;let r;const{type:n}=t;switch(n){case"group":r=null;break;case"tag":case"section":default:r=e.createElement(Cu,((e,t)=>{for(var r in t||(t={}))Ou.call(t,r)&&_u(e,r,t[r]);if(ku)for(var r of ku(t))Eu.call(t,r)&&_u(e,r,t[r]);return e})({},this.props));break;case"operation":r=e.createElement(Tu,{item:t})}return e.createElement(e.Fragment,null,r&&e.createElement(uo,{id:t.id,$underlined:"operation"===t.type},r),t.items&&e.createElement(Au,{items:t.items}))}};Pu=$u([va.observer],Pu);const ju=t=>e.createElement(po,{$compact:!0},t);let Cu=class extends e.Component{render(){const{name:t,description:r,externalDocs:n,level:i}=this.props.item,o=2===i?xo:vo;return e.createElement(e.Fragment,null,e.createElement(mo,null,e.createElement(po,{$compact:!1},e.createElement(o,null,e.createElement(Co,{to:this.props.item.id}),t))),e.createElement(Rc,{parentId:this.props.item.id,source:r||"",htmlWrap:ju}),n&&e.createElement(mo,null,e.createElement(po,null,e.createElement(Ra,{externalDocs:n}))))}};Cu=$u([va.observer],Cu);let Tu=class extends e.Component{render(){return e.createElement(xu,{operation:this.props.item})}};Tu=$u([va.observer],Tu);var Iu=Object.defineProperty,Nu=Object.defineProperties,Ru=(Object.getOwnPropertyDescriptor,Object.getOwnPropertyDescriptors),Lu=Object.getOwnPropertySymbols,Du=Object.prototype.hasOwnProperty,Mu=Object.prototype.propertyIsEnumerable,zu=(e,t,r)=>t in e?Iu(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;let Fu=class extends e.Component{constructor(){super(...arguments),this.ref=e.createRef(),this.activate=e=>{this.props.onActivate(this.props.item),e.stopPropagation()}}componentDidMount(){this.scrollIntoViewIfActive()}componentDidUpdate(){this.scrollIntoViewIfActive()}scrollIntoViewIfActive(){this.props.item.active&&this.ref.current&&p(this.ref.current)}render(){const{item:t,withoutChildren:r}=this.props;return e.createElement(Fc,{tabIndex:0,onClick:this.activate,onKeyDown:e=>{"Enter"!==e.key&&" "!==e.key||(this.props.onActivate(this.props.item),e.stopPropagation())},depth:t.depth,"data-item-id":t.id,role:"menuitem","aria-label":t.sidebarLabel,"aria-expanded":t.expanded},"operation"===t.type?e.createElement(Bu,(n=((e,t)=>{for(var r in t||(t={}))Du.call(t,r)&&zu(e,r,t[r]);if(Lu)for(var r of Lu(t))Mu.call(t,r)&&zu(e,r,t[r]);return e})({},this.props),Nu(n,Ru({item:t})))):e.createElement(qc,{$depth:t.depth,$active:t.active,$type:t.type,ref:this.ref},"schema"===t.type&&e.createElement(Dc,{type:"schema"},"schema"),e.createElement(Uc,{width:"calc(100% - 38px)",title:t.sidebarLabel},t.sidebarLabel,this.props.children),t.depth>0&&t.items.length>0&&e.createElement(Io,{float:"right",direction:t.expanded?"down":"right"})||null),!r&&t.items&&t.items.length>0&&e.createElement(qu,{expanded:t.expanded,items:t.items,onActivate:this.props.onActivate}));var n}};Fu=((e,t)=>{for(var r,n=t,i=e.length-1;i>=0;i--)(r=e[i])&&(n=r(n)||n);return n})([va.observer],Fu);const Bu=(0,va.observer)(t=>{var r;const{item:n}=t,i=e.createRef(),{showWebhookVerb:o}=e.useContext(pe);return e.useEffect(()=>{t.item.active&&i.current&&p(i.current)},[t.item.active,i]),e.createElement(qc,{$depth:n.depth,$active:n.active,$deprecated:n.deprecated,ref:i},n.badges&&(null==(r=n.badges)?void 0:r.map(t=>{let{name:r,color:n}=t;return e.createElement(Dc,{type:"badge",color:n,key:r},r)})),n.isWebhook?e.createElement(Dc,{type:"hook"},o?n.httpVerb:N("webhook")):e.createElement(Dc,{type:n.httpVerb},bt(n.httpVerb)),e.createElement(Uc,{tabIndex:0,width:"calc(100% - 38px)"},n.sidebarLabel,t.children))});Object.defineProperty,Object.getOwnPropertyDescriptor;let qu=class extends e.Component{render(){const{items:t,className:r}=this.props,n=null==this.props.expanded||this.props.expanded;return e.createElement(zc,{className:r,style:this.props.style,$expanded:n,role:"menu"},t.map((t,r)=>e.createElement(Fu,{key:r,item:t,onActivate:this.props.onActivate})))}};function Uu(){const[t,r]=(0,e.useState)(!1);return(0,e.useEffect)(()=>{r(!0)},[]),t?e.createElement("img",{alt:"redocly logo",onError:()=>r(!1),src:"https://cdn.redoc.ly/redoc/logo-mini.svg"}):null}qu=((e,t)=>{for(var r,n=t,i=e.length-1;i>=0;i--)(r=e[i])&&(n=r(n)||n);return n})([va.observer],qu),Object.defineProperty,Object.getOwnPropertyDescriptor;let Vu=class extends e.Component{constructor(){super(...arguments),this.activate=e=>{if(e&&e.active&&this.context.menuToggle)return e.expanded?e.collapse():e.expand();this.props.menu.activateAndScroll(e,!0),setTimeout(()=>{this._updateScroll&&this._updateScroll()})},this.saveScrollUpdate=e=>{this._updateScroll=e}}render(){const t=this.props.menu;return e.createElement(fs,{updateFn:this.saveScrollUpdate,className:this.props.className,options:{wheelPropagation:!1}},e.createElement(qu,{items:t.items,onActivate:this.activate,root:!0}),e.createElement(Vc,null,e.createElement("a",{target:"_blank",rel:"noopener noreferrer",href:"https://redocly.com/redoc/"},e.createElement(Uu,null),"API docs by Redocly")))}};Vu.contextType=pe,Vu=((e,t)=>{for(var r,n=t,i=e.length-1;i>=0;i--)(r=e[i])&&(n=r(n)||n);return n})([va.observer],Vu);const Wu=t=>{let{open:r}=t;const n=r?8:-4;return e.createElement(Qu,null,e.createElement(Hu,{size:15,style:{transform:`translate(2px, ${n}px) rotate(180deg)`,transition:"transform 0.2s ease"}}),e.createElement(Hu,{size:15,style:{transform:`translate(2px, ${0-n}px)`,transition:"transform 0.2s ease"}}))},Hu=t=>
1698{let{size:r=10,className:n="",style:i}=t;return e.createElement("svg",{className:n,style:i||{},viewBox:"0 0 926.23699 573.74994",version:"1.1",x:"0px",y:"0px",width:r,height:r},e.createElement("g",{transform:"translate(904.92214,-879.1482)"},e.createElement("path",{d:"\n          m -673.67664,1221.6502 -231.2455,-231.24803 55.6165,\n          -55.627 c 30.5891,-30.59485 56.1806,-55.627 56.8701,-55.627 0.6894,\n          0 79.8637,78.60862 175.9427,174.68583 l 174.6892,174.6858 174.6892,\n          -174.6858 c 96.079,-96.07721 175.253196,-174.68583 175.942696,\n          -174.68583 0.6895,0 26.281,25.03215 56.8701,\n          55.627 l 55.6165,55.627 -231.245496,231.24803 c -127.185,127.1864\n          -231.5279,231.248 -231.873,231.248 -0.3451,0 -104.688,\n          -104.0616 -231.873,-231.248 z\n        ",fill:"currentColor"})))},Qu=te.div`
1699  user-select: none;
1700  width: 20px;
1701  height: 20px;
1702  align-self: center;
1703  display: flex;
1704  flex-direction: column;
1705  color: ${e=>e.theme.colors.primary.main};
1706`;let Gu;Object.defineProperty,Object.getOwnPropertyDescriptor,a&&(Gu=n(230));const Ku=Gu&&Gu(),Yu=te.div`
1707  width: ${e=>e.theme.sidebar.width};
1708  background-color: ${e=>e.theme.sidebar.backgroundColor};
1709  overflow: hidden;
1710  display: flex;
1711  flex-direction: column;
1712
1713  backface-visibility: hidden;
1714  /* contain: strict; TODO: breaks layout since Chrome 80*/
1715
1716  height: 100vh;
1717  position: sticky;
1718  position: -webkit-sticky;
1719  top: 0;
1720
1721  ${ee.lessThan("small")`
1722    position: fixed;
1723    z-index: 20;
1724    width: 100%;
1725    background: ${e=>{let{theme:t}=e;return t.sidebar.backgroundColor}};
1726    display: ${e=>e.$open?"flex":"none"};
1727  `};
1728
1729  @media print {
1730    display: none;
1731  }
1732`,Ju=te.div`
1733  outline: none;
1734  user-select: none;
1735  background-color: ${e=>{let{theme:t}=e;return t.fab.backgroundColor}};
1736  color: ${e=>e.theme.colors.primary.main};
1737  display: none;
1738  cursor: pointer;
1739  position: fixed;
1740  right: 20px;
1741  z-index: 100;
1742  border-radius: 50%;
1743  box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
1744  ${ee.lessThan("small")`
1745    display: flex;
1746  `};
1747
1748  bottom: 44px;
1749
1750  width: 60px;
1751  height: 60px;
1752  padding: 0 20px;
1753  svg {
1754    color: ${e=>{let{theme:t}=e;return t.fab.color}};
1755  }
1756
1757  @media print {
1758    display: none;
1759  }
1760`;let Xu=class extends e.Component{constructor(){super(...arguments),this.state={offsetTop:"0px"},this.toggleNavMenu=()=>{this.props.menu.toggleSidebar()}}componentDidMount(){Ku&&Ku.add(this.stickyElement),this.setState({offsetTop:this.getScrollYOffset(this.context)})}componentWillUnmount(){Ku&&Ku.remove(this.stickyElement)}getScrollYOffset(e){let t;return t=void 0!==this.props.scrollYOffset?H.normalizeScrollYOffset(this.props.scrollYOffset)():e.scrollYOffset(),t+"px"}render(){const t=this.props.menu.sideBarOpened,r=this.state.offsetTop;return e.createElement(e.Fragment,null,e.createElement(Yu,{$open:t,className:this.props.className,style:{top:r,height:`calc(100vh - ${r})`},ref:e=>{this.stickyElement=e}},this.props.children),!this.context.hideFab&&e.createElement(Ju,{onClick:this.toggleNavMenu},e.createElement(Wu,{open:t})))}};Xu.contextType=pe,Xu=((e,t)=>{for(var r,n=t,i=e.length-1;i>=0;i--)(r=e[i])&&(n=r(n)||n);return n})([va.observer],Xu);const Zu=te.div`
1761  ${e=>{let{theme:t}=e;return`\n  font-family: ${t.typography.fontFamily};\n  font-size: ${t.typography.fontSize};\n  font-weight: ${t.typography.fontWeightRegular};\n  line-height: ${t.typography.lineHeight};\n  color: ${t.colors.text.primary};\n  display: flex;\n  position: relative;\n  text-align: left;\n\n  -webkit-font-smoothing: ${t.typography.smoothing};\n  font-smoothing: ${t.typography.smoothing};\n  ${t.typography.optimizeSpeed?"text-rendering: optimizeSpeed !important":""};\n\n  tap-highlight-color: rgba(0, 0, 0, 0);\n  text-size-adjust: 100%;\n\n  * {\n    box-sizing: border-box;\n    -webkit-tap-highlight-color: rgba(255, 255, 255, 0);\n  }\n`}};
1762`,ed=te.div`
1763  z-index: 1;
1764  position: relative;
1765  overflow: hidden;
1766  width: calc(100% - ${e=>e.theme.sidebar.width});
1767  ${ee.lessThan("small",!0)`
1768    width: 100%;
1769  `};
1770
1771  contain: layout;
1772`,td=te.div`
1773  background: ${e=>{let{theme:t}=e;return t.rightPanel.backgroundColor}};
1774  position: absolute;
1775  top: 0;
1776  bottom: 0;
1777  right: 0;
1778  width: ${e=>{let{theme:t}=e;if(t.rightPanel.width.endsWith("%")){const e=parseInt(t.rightPanel.width,10);return`calc((100% - ${t.sidebar.width}) * ${e/100})`}return t.rightPanel.width}};
1779  ${ee.lessThan("medium",!0)`
1780    display: none;
1781  `};
1782`,rd=te.div`
1783  padding: 5px 0;
1784`,nd=te.input.attrs(()=>({className:"search-input"}))`
1785  width: calc(100% - ${e=>8*e.theme.spacing.unit}px);
1786  box-sizing: border-box;
1787  margin: 0 ${e=>4*e.theme.spacing.unit}px;
1788  padding: 5px ${e=>2*e.theme.spacing.unit}px 5px
1789    ${e=>4*e.theme.spacing.unit}px;
1790  border: 0;
1791  border-bottom: 1px solid
1792    ${e=>{let{theme:r}=e;return((0,t.getLuminance)(r.sidebar.backgroundColor)>.5?t.darken:t.lighten)(.1,r.sidebar.backgroundColor)}};
1793  font-family: ${e=>{let{theme:t}=e;return t.typography.fontFamily}};
1794  font-weight: bold;
1795  font-size: 13px;
1796  color: ${e=>e.theme.sidebar.textColor};
1797  background-color: transparent;
1798  outline: none;
1799`,id=te(t=>e.createElement("svg",{className:t.className,version:"1.1",viewBox:"0 0 1000 1000",x:"0px",xmlns:"http://www.w3.org/2000/svg",y:"0px"},e.createElement("path",{d:"M968.2,849.4L667.3,549c83.9-136.5,66.7-317.4-51.7-435.6C477.1-25,252.5-25,113.9,113.4c-138.5,138.3-138.5,362.6,0,501C219.2,730.1,413.2,743,547.6,666.5l301.9,301.4c43.6,43.6,76.9,14.9,104.2-12.4C981,928.3,1011.8,893,968.2,849.4z M524.5,522c-88.9,88.7-233,88.7-321.8,0c-88.9-88.7-88.9-232.6,0-321.3c88.9-88.7,233-88.7,321.8,0C613.4,289.4,613.4,433.3,524.5,522z"}))).attrs({className:"search-icon"})`
1800  position: absolute;
1801  left: ${e=>4*e.theme.spacing.unit}px;
1802  height: 1.8em;
1803  width: 0.9em;
1804
1805  path {
1806    fill: ${e=>e.theme.sidebar.textColor};
1807  }
1808`,od=te.div`
1809  padding: ${e=>e.theme.spacing.unit}px 0;
1810  background-color: ${e=>{let{theme:r}=e;return(0,t.darken)(.05,r.sidebar.backgroundColor)}}};
1811  color: ${e=>e.theme.sidebar.textColor};
1812  min-height: 150px;
1813  max-height: 250px;
1814  border-top: ${e=>{let{theme:r}=e;return(0,t.darken)(.1,r.sidebar.backgroundColor)}}};
1815  border-bottom: ${e=>{let{theme:r}=e;return(0,t.darken)(.1,r.sidebar.backgroundColor)}}};
1816  margin: 10px 0 0;
1817  line-height: 1.4;
1818  font-size: 0.9em;
1819  list-style: none;
1820
1821  li {
1822    background-color: inherit;
1823  }
1824
1825  ${qc} {
1826    padding-top: 6px;
1827    padding-bottom: 6px;
1828
1829    &:hover,
1830    &.active {
1831      background-color: ${e=>{let{theme:r}=e;return(0,t.darken)(.1,r.sidebar.backgroundColor)}};
1832    }
1833
1834    > svg {
1835      display: none;
1836    }
1837  }
1838`,sd=te.i`
1839  position: absolute;
1840  display: inline-block;
1841  width: ${e=>2*e.theme.spacing.unit}px;
1842  text-align: center;
1843  right: ${e=>4*e.theme.spacing.unit}px;
1844  line-height: 2em;
1845  vertical-align: middle;
1846  margin-right: 2px;
1847  cursor: pointer;
1848  font-style: normal;
1849  color: '#666';
1850`;var ad=Object.defineProperty,ld=Object.getOwnPropertyDescriptor;class cd extends e.PureComponent{constructor(e){super(e),this.activeItemRef=null,this.clear=()=>{this.setState({results:[],noResults:!1,term:"",activeItemIdx:-1}),this.props.marker.unmark()},this.handleKeyDown=e=>
1850{if(27===e.keyCode&&this.clear(),40===e.keyCode&&(this.setState({activeItemIdx:Math.min(this.state.activeItemIdx+1,this.state.results.length-1)}),e.preventDefault()),38===e.keyCode&&(this.setState({activeItemIdx:Math.max(0,this.state.activeItemIdx-1)}),e.preventDefault()),13===e.keyCode){const e=this.state.results[this.state.activeItemIdx];if(e){const t=this.props.getItemById(e.meta);t&&this.props.onActivate(t)}}},this.search=e=>{const{minCharacterLengthToInitSearch:t}=this.context,r=e.target.value;r.length<t?this.clearResults(r):this.setState({term:r},()=>this.searchCallback(this.state.term))},this.state={results:[],noResults:!1,term:"",activeItemIdx:-1}}clearResults(e){this.setState({results:[],noResults:!1,term:e}),this.props.marker.unmark()}setResults(e,t){this.setState({results:e,noResults:0===e.length}),this.props.marker.mark(t)}searchCallback(e){this.props.search.search(e).then(t=>{this.setResults(t,e)})}render(){const{activeItemIdx:t}=this.state,r=this.state.results.filter(e=>this.props.getItemById(e.meta)).map(e=>({item:this.props.getItemById(e.meta),score:e.score})).sort((e,t)=>t.score-e.score);return e.createElement(rd,{role:"search"},this.state.term&&e.createElement(sd,{onClick:this.clear},"\xd7"),e.createElement(id,null),e.createElement(nd,{value:this.state.term,onKeyDown:this.handleKeyDown,placeholder:"Search...","aria-label":"Search",type:"text",onChange:this.search}),r.length>0&&e.createElement(fs,{options:{wheelPropagation:!1}},e.createElement(od,{as:"ul",role:"menu","data-role":"search:results"},r.map((r,n)=>e.createElement(Fu,{item:Object.create(r.item,{active:{value:n===t}}),onActivate:this.props.onActivate,withoutChildren:!0,key:r.item.id,"data-role":"search:result"})))),this.state.term&&this.state.noResults?e.createElement(od,{"data-role":"search:results"},N("noResultsFound")):null)}}cd.contextType=pe,((e,t,r)=>{for(var n,i=ld(t,r),o=e.length-1;o>=0;o--)(n=e[o])&&(i=n(t,r,i)||i);i&&ad(t,r,i)})([xe.bind,(0,xe.debounce)(400)],cd.prototype,"searchCallback");class pd extends e.Component{componentDidMount(){this.props.store.onDidMount()}componentWillUnmount(){this.props.store.dispose()}render(){const{store:{spec:t,menu:r,options:n,search:i,marker:o}}=this.props,s=this.props.store;return e.createElement(Z,{theme:n.theme},e.createElement(Eo,{value:s},e.createElement(ue,{value:n},e.createElement(Zu,{className:"redoc-wrap"},e.createElement(Xu,{menu:r,className:"menu-content"},e.createElement(Ac,{info:t.info}),!n.disableSearch&&e.createElement(cd,{search:i,marker:o,getItemById:r.getItemById,onActivate:r.activateAndScroll})||null,e.createElement(Vu,{menu:r})),e.createElement(ed,{className:"api-content"},e.createElement(Oc,{store:s}),e.createElement(Au,{items:r.items})),e.createElement(td,null)))))}}pd.propTypes={store:ce.instanceOf(yc).isRequired};var ud=Object.defineProperty,dd=Object.getOwnPropertySymbols,fd=Object.prototype.hasOwnProperty,hd=Object.prototype.propertyIsEnumerable,md=(e,t,r)=>t in e?ud(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,gd=(e,t)=>{for(var r in t||(t={}))fd.call(t,r)&&md(e,r,t[r]);if(dd)for(var r of dd(t))hd.call(t,r)&&md(e,r,t[r]);return e};const yd=function(t){const{spec:r,specUrl:i,options:o={},onLoaded:s}=t,a=V(o.hideLoading,!1),l=new H(o);if(void 0!==l.nonce)try{n.nc=l.nonce}catch(e){}return e.createElement(ie,null,e.createElement($o,{spec:r?gd({},r):void 0,specUrl:i,options:o,onLoaded:s},t=>{let{loading:r,store:n}=t;return r?a?null:e.createElement(le,{color:l.theme.colors.primary.main}):e.createElement(pd,{store:n})}))}}(),i}()},93216(e){"use strict";var t=Object.prototype.hasOwnProperty,r="~";function n(){}function i(e,t,r){this.fn=e,this.context=t,this.once=r||!1}function o(e,t,n,o,s){if("function"!==typeof n)throw new TypeError("The listener must be a function");var a=new i(n,o||e,s),l=r?r+t:t;return e._events[l]?e._events[l].fn?e._events[l]=[e._events[l],a]:e._events[l].push(a):(e._events[l]=a,e._eventsCount++),e}function s(e,t){0===--e._eventsCount?e._events=new n:delete e._events[t]}function a(){this._events=new n,this._eventsCount=0}Object.create&&(n.prototype=Object.create(null),(new n).__proto__||(r=!1)),a.prototype.eventNames=function(){var e,n,i=[];if(0===this._eventsCount)return i;for(n in e=this._events)t.call(e,n)&&i.push(r?n.slice(1):n);return Object.getOwnPropertySymbols?i.concat(Object.getOwnPropertySymbols(e)):i},a.prototype.listeners=function(e){var t=r?r+e:e,n=this._events[t];if(!n)return[];if(n.fn)return[n.fn];for(var i=0,o=n.length,s=new Array(o);i<o;i++)s[i]=n[i].fn;return s},a.prototype.listenerCount=function(e){var t=r?r+e:e,n=this._events[t];return n?n.fn?1:n.length:0},a.prototype.emit=function(e,t,n,i,o,s){var a=r?r+e:e;if(!this._events[a])return!1;var l,c,p=this._events[a],u=arguments.length;if(p.fn){switch(p.once&&this.removeListener(e,p.fn,void 0,!0),u){case 1:return p.fn.call(p.context),!0;case 2:return p.fn.call(p.context,t),!0;case 3:return p.fn.call(p.context,t,n),!0;case 4:return p.fn.call(p.context,t,n,i),!0;case 5:return p.fn.call(p.context,t,n,i,o),!0;case 6:return p.fn.call(p.context,t,n,i,o,s),!0}for(c=1,l=new Array(u-1);c<u;c++)l[c-1]=arguments[c];
1850p.fn.apply(p.context,l)}else{var d,f=p.length;for(c=0;c<f;c++)switch(p[c].once&&this.removeListener(e,p[c].fn,void 0,!0),u){case 1:p[c].fn.call(p[c].context);break;case 2:p[c].fn.call(p[c].context,t);break;case 3:p[c].fn.call(p[c].context,t,n);break;case 4:p[c].fn.call(p[c].context,t,n,i);break;default:if(!l)for(d=1,l=new Array(u-1);d<u;d++)l[d-1]=arguments[d];p[c].fn.apply(p[c].context,l)}}return!0},a.prototype.on=function(e,t,r){return o(this,e,t,r,!1)},a.prototype.once=function(e,t,r){return o(this,e,t,r,!0)},a.prototype.removeListener=function(e,t,n,i){var o=r?r+e:e;if(!this._events[o])return this;if(!t)return s(this,o),this;var a=this._events[o];if(a.fn)a.fn!==t||i&&!a.once||n&&a.context!==n||s(this,o);else{for(var l=0,c=[],p=a.length;l<p;l++)(a[l].fn!==t||i&&!a[l].once||n&&a[l].context!==n)&&c.push(a[l]);c.length?this._events[o]=1===c.length?c[0]:c:s(this,o)}return this},a.prototype.removeAllListeners=function(e){var t;return e?(t=r?r+e:e,this._events[t]&&s(this,t)):(this._events=new n,this._eventsCount=0),this},a.prototype.off=a.prototype.removeListener,a.prototype.addListener=a.prototype.on,a.prefixed=r,a.EventEmitter=a,e.exports=a},90948(e){var t;t=function(){var e=JSON.parse('{"$":"dollar","%":"percent","&":"and","<":"less",">":"greater","|":"or","\xa2":"cent","\xa3":"pound","\xa4":"currency","\xa5":"yen","\xa9":"(c)","\xaa":"a","\xae":"(r)","\xba":"o","\xc0":"A","\xc1":"A","\xc2":"A","\xc3":"A","\xc4":"A","\xc5":"A","\xc6":"AE","\xc7":"C","\xc8":"E","\xc9":"E","\xca":"E","\xcb":"E","\xcc":"I","\xcd":"I","\xce":"I","\xcf":"I","\xd0":"D","\xd1":"N","\xd2":"O","\xd3":"O","\xd4":"O","\xd5":"O","\xd6":"O","\xd8":"O","\xd9":"U","\xda":"U","\xdb":"U","\xdc":"U","\xdd":"Y","\xde":"TH","\xdf":"ss","\xe0":"a","\xe1":"a","\xe2":"a","\xe3":"a","\xe4":"a","\xe5":"a","\xe6":"ae","\xe7":"c","\xe8":"e","\xe9":"e","\xea":"e","\xeb":"e","\xec":"i","\xed":"i","\xee":"i","\xef":"i","\xf0":"d","\xf1":"n","\xf2":"o","\xf3":"o","\xf4":"o","\xf5":"o","\xf6":"o","\xf8":"o","\xf9":"u","\xfa":"u","\xfb":"u","\xfc":"u","\xfd":"y","\xfe":"th","\xff":"y","\u0100":"A","\u0101":"a","\u0102":"A","\u0103":"a","\u0104":"A","\u0105":"a","\u0106":"C","\u0107":"c","\u010c":"C","\u010d":"c","\u010e":"D","\u010f":"d","\u0110":"DJ","\u0111":"dj","\u0112":"E","\u0113":"e","\u0116":"E","\u0117":"e","\u0118":"e","\u0119":"e","\u011a":"E","\u011b":"e","\u011e":"G","\u011f":"g","\u0122":"G","\u0123":"g","\u0128":"I","\u0129":"i","\u012a":"i","\u012b":"i","\u012e":"I","\u012f":"i","\u0130":"I","\u0131":"i","\u0136":"k","\u0137":"k","\u013b":"L","\u013c":"l","\u013d":"L","\u013e":"l","\u0141":"L","\u0142":"l","\u0143":"N","\u0144":"n","\u0145":"N","\u0146":"n","\u0147":"N","\u0148":"n","\u014c":"O","\u014d":"o","\u0150":"O","\u0151":"o","\u0152":"OE","\u0153":"oe","\u0154":"R","\u0155":"r","\u0158":"R","\u0159":"r","\u015a":"S","\u015b":"s","\u015e":"S","\u015f":"s","\u0160":"S","\u0161":"s","\u0162":"T","\u0163":"t","\u0164":"T","\u0165":"t","\u0168":"U","\u0169":"u","\u016a":"u","\u016b":"u","\u016e":"U","\u016f":"u","\u0170":"U","\u0171":"u","\u0172":"U","\u0173":"u","\u0174":"W","\u0175":"w","\u0176":"Y","\u0177":"y","\u0178":"Y","\u0179":"Z","\u017a":"z","\u017b":"Z","\u017c":"z","\u017d":"Z","\u017e":"z","\u018f":"E","\u0192":"f","\u01a0":"O","\u01a1":"o","\u01af":"U","\u01b0":"u","\u01c8":"LJ","\u01c9":"lj","\u01cb":"NJ","\u01cc":"nj","\u0218":"S","\u0219":"s","\u021a":"T","\u021b":"t","\u0259":"e","\u02da":"o","\u0386":"A","\u0388":"E","\u0389":"H","\u038a":"I","\u038c":"O","\u038e":"Y","\u038f":"W","\u0390":"i","\u0391":"A","\u0392":"B","\u0393":"G","\u0394":"D","\u0395":"E","\u0396":"Z","\u0397":"H","\u0398":"8","\u0399":"I","\u039a":"K","\u039b":"L","\u039c":"M","\u039d":"N","\u039e":"3","\u039f":"O","\u03a0":"P","\u03a1":"R","\u03a3":"S","\u03a4":"T","\u03a5":"Y","\u03a6":"F","\u03a7":"X","\u03a8":"PS","\u03a9":"W","\u03aa":"I","\u03ab":"Y","\u03ac":"a","\u03ad":"e","\u03ae":"h","\u03af":"i","\u03b0":"y","\u03b1":"a","\u03b2":"b","\u03b3":"g","\u03b4":"d","\u03b5":"e","\u03b6":"z","\u03b7":"h","\u03b8":"8","\u03b9":"i","\u03ba":"k","\u03bb":"l","\u03bc":"m","\u03bd":"n","\u03be":"3","\u03bf":"o","\u03c0":"p","\u03c1":"r","\u03c2":"s","\u03c3":"s","\u03c4":"t","\u03c5":"y","\u03c6":"f","\u03c7":"x","\u03c8":"ps","\u03c9":"w","\u03ca":"i","\u03cb":"y","\u03cc":"o","\u03cd":"y","\u03ce":"w","\u0401":"Yo","\u0402":"DJ","\u0404":"Ye","\u0406":"I","\u0407":"Yi","\u0408":"J","\u0409":"LJ","\u040a":"NJ","\u040b":"C","\u040f":"DZ","\u0410":"A","\u0411":"B","\u0412":"V","\u0413":"G","\u0414":"D","\u0415":"E","\u0416":"Zh","\u0417":"Z","\u0418":"I","\u0419":"J","\u041a":"K","\u041b":"L","\u041c":"M","\u041d":"N","\u041e":"O","\u041f":"P","\u0420":"R","\u0421":"S","\u0422":"T","\u0423":"U","\u0424":"F","\u0425":"H","\u0426":"C","\u0427":"Ch","\u0428":"Sh","\u0429":"Sh","\u042a":"U","\u042b":"Y","\u042c":"","\u042d":"E","\u042e":"Yu","\u042f":"Ya","\u0430":"a","\u0431":"b","\u0432":"v","\u0433":"g","\u0434":"d","\u0435":"e","\u0436":"zh","\u0437":"z","\u0438":"i","\u0439":"j","\u043a":"k","\u043b":"l","\u043c":"m","\u043d":"n","\u043e":"o","\u043f":"p","\u0440":"r","\u0441":"s","\u0442":"t","\u0443":"u","\u0444":"f","\u0445":"h","\u0446":"c","\u0447":"ch","\u0448":"sh","\u0449":"sh","\u044a":"u","\u044b":"y","\u044c":"","\u044d":"e","\u044e":"yu","\u044f":"ya","\u0451":"yo","\u0452":"dj","\u0454":"ye","\u0456":"i","\u0457":"yi","\u0458":"j","\u0459":"lj","\u045a":"nj","\u045b":"c","\u045d":"u","\u045f":"dz","\u0490":"G","\u0491":"g","\u0492":"GH","\u0493":"gh","\u049a":"KH","\u049b":"kh","\u04a2":"NG","\u04a3":"ng","\u04ae":"UE","\u04af":"ue","\u04b0":"U","\u04b1":"u","\u04ba":"H","\u04bb":"h","\u04d8":"AE","\u04d9":"ae","\u04e8":"OE","\u04e9":"oe","\u0e3f":"baht","\u10d0":"a","\u10d1":"b","\u10d2":"g","\u10d3":"d","\u10d4":"e","\u10d5":"v","\u10d6":"z","\u10d7":"t","\u10d8":"i","\u10d9":"k","\u10da":"l","\u10db":"m","\u10dc":"n","\u10dd":"o","\u10de":"p","\u10df":"zh","\u10e0":"r","\u10e1":"s","\u10e2":"t","\u10e3":"u","\u10e4":"f","\u10e5":"k","\u10e6":"gh","\u10e7":"q","\u10e8":"sh","\u10e9":"ch","\u10ea":"ts","\u10eb":"dz","\u10ec":"ts","\u10ed":"ch","\u10ee":"kh","\u10ef":"j","\u10f0":"h","\u1e80":"W","\u1e81":"w","\u1e82":"W","\u1e83":"w","\u1e84":"W","\u1e85":"w","\u1e9e":"SS","\u1ea0":"A","\u1ea1":"a","\u1ea2":"A","\u1ea3":"a","\u1ea4":"A","\u1ea5":"a","\u1ea6":"A","\u1ea7":"a","\u1ea8":"A","\u1ea9":"a","\u1eaa":"A","\u1eab":"a","\u1eac":"A","\u1ead":"a","\u1eae":"A","\u1eaf":"a","\u1eb0":"A","\u1eb1":"a","\u1eb2":"A","\u1eb3":"a","\u1eb4":"A","\u1eb5":"a","\u1eb6":"A","\u1eb7":"a","\u1eb8":"E","\u1eb9":"e","\u1eba":"E","\u1ebb":"e","\u1ebc":"E","\u1ebd":"e","\u1ebe":"E","\u1ebf":"e","\u1ec0":"E","\u1ec1":"e","\u1ec2":"E","\u1ec3":"e","\u1ec4":"E","\u1ec5":"e","\u1ec6":"E","\u1ec7":"e","\u1ec8":"I","\u1ec9":"i","\u1eca":"I","\u1ecb":"i","\u1ecc":"O","\u1ecd":"o","\u1ece":"O","\u1ecf":"o","\u1ed0":"O","\u1ed1":"o","\u1ed2":"O","\u1ed3":"o","\u1ed4":"O","\u1ed5":"o","\u1ed6":"O","\u1ed7":"o","\u1ed8":"O","\u1ed9":"o","\u1eda":"O","\u1edb":"o","\u1edc":"O","\u1edd":"o","\u1ede":"O","\u1edf":"o","\u1ee0":"O","\u1ee1":"o","\u1ee2":"O","\u1ee3":"o","\u1ee4":"U","\u1ee5":"u","\u1ee6":"U","\u1ee7":"u","\u1ee8":"U","\u1ee9":"u","\u1eea":"U","\u1eeb":"u","\u1eec":"U","\u1eed":"u","\u1eee":"U","\u1eef":"u","\u1ef0":"U","\u1ef1":"u","\u1ef2":"Y","\u1ef3":"y","\u1ef4":"Y","\u1ef5":"y","\u1ef6":"Y","\u1ef7":"y","\u1ef8":"Y","\u1ef9":"y","\u2018":"\'","\u2019":"\'","\u201c":"\\"","\u201d":"\\"","\u2020":"+","\u2022":"*","\u2026":"...","\u20a0":"ecu","\u20a2":"cruzeiro","\u20a3":"french franc","\u20a4":"lira","\u20a5":"mill","\u20a6":"naira","\u20a7":"peseta","\u20a8":"rupee","\u20a9":"won","\u20aa":"new shequel","\u20ab":"dong","\u20ac":"euro","\u20ad":"kip","\u20ae":"tugrik","\u20af":"drachma","\u20b0":"penny","\u20b1":"peso","\u20b2":"guarani","\u20b3":"austral","\u20b4":"hryvnia","\u20b5":"cedi","\u20b8":"kazakhstani tenge","\u20b9":"indian rupee","\u20ba":"turkish lira","\u20bd":"russian ruble","\u20bf":"bitcoin","\u2120":"sm","\u2122":"tm","\u2202":"d","\u2206":"delta","\u2211":"sum","\u221e":"infinity","\u2665":"love","\u5143":"yuan","\u5186":"yen","\ufdfc":"rial"}'),t=JSON.parse('{"de":{"\xc4":"AE","\xe4":"ae","\xd6":"OE","\xf6":"oe","\xdc":"UE","\xfc":"ue","%":"prozent","&":"und","|":"oder","\u2211":"summe","\u221e":"unendlich","\u2665":"liebe"},"vi":{"\u0110":"D","\u0111":"d"},"fr":{"%":"pourcent","&":"et","<":"plus petit",">":"plus grand","|":"ou","\xa2":"centime","\xa3":"livre","\xa4":"devise","\u20a3":"franc","\u2211":"somme","\u221e":"infini","\u2665":"amour"}}');function r(r,n){if("string"!==typeof r)throw new Error("slugify: string argument expected");var i=t[(n="string"===typeof n?{replacement:n}:n||{}).locale]||{},o=void 0===n.replacement?"-":n.replacement,s=r.split("").reduce(function(t,r){return t+(i[r]||e[r]||r).replace(n.remove||/[^\w\s$*_+~.()'"!\-:@]+/g,"")},"").trim().replace(new RegExp("[\\s"+o+"]+","g"),o);return n.lower&&(s=s.toLowerCase()),n.strict&&(s=s.replace(new RegExp("[^a-zA-Z0-9"+o+"]","g"),"").replace(new RegExp("[\\s"+o+"]+","g"),o)),s}return r.extend=function(t){for(var r in t)e[r]=t[r]},r},e.exports=t(),e.exports.default=t()},4926(e){e.exports=function(e,t){e||(e=document),t||(t=window);var r,n,i=[],o=!1,s=e.documentElement,a=function(){},l="hidden",c="visibilitychange";void 0!==e.webkitHidden&&(l="webkitHidden",c="webkitvisibilitychange"),t.getComputedStyle||f();for(var p=["","-webkit-","-moz-","-ms-"],u=document.createElement("div"),d=p.length-1;d>=0;d--){try{u.style.position=p[d]+"sticky"}catch(L){}""!=u.style.position&&f()}function f(){j=R=C=T=I=N=a}function h(e){return parseFloat(e)||0}function m(){r={top:t.pageYOffset,left:t.pageXOffset}}function g(){if(t.pageXOffset!=r.left)return m(),void C();t.pageYOffset!=r.top&&(m(),b())}function y(e){setTimeout(function(){t.pageYOffset!=r.top&&(r.top=t.pageYOffset,b())},0)}function b(){for(var e=i.length-1;e>=0;e--)v(i[e])}function v(e){if(e.inited){var t=r.top<=e.limit.start?0:r.top>=e.limit.end?2:1;e.mode!=t&&function(e,t){var r=e.node.style;switch(t){case 0:r.position="absolute",r.left=e.offset.left+"px",r.right=e.offset.right+"px",r.top=e.offset.top+"px",r.bottom="auto",r.width="auto",r.marginLeft=0,r.marginRight=0,r.marginTop=0;break;case 1:r.position="fixed",r.left=e.box.left+"px",r.right=e.box.right+"px",r.top=e.css.top,r.bottom="auto",r.width="auto",r.marginLeft=0,r.marginRight=0,r.marginTop=0;break;case 2:r.position="absolute",r.left=e.offset.left+"px",r.right=e.offset.right+"px",r.top="auto",r.bottom=0,r.width="auto",r.marginLeft=0,r.marginRight=0}e.mode=t}(e,t)}}function x(e){isNaN(parseFloat(e.computed.top))||e.isCell||(e.inited=!0,e.clone||function(e){e.clone=document.createElement("div");var t=e.node.nextSibling||e.node,r=e.clone.style;r.height=e.height+"px",r.width=e.width+"px",r.marginTop=e.computed.marginTop,r.marginBottom=e.computed.marginBottom,r.marginLeft=e.computed.marginLeft,r.marginRight=e.computed.marginRight,r.padding=r.border=r.borderSpacing=0,r.fontSize="1em",r.position="static",r.cssFloat=e.computed.cssFloat,e.node.parentNode.insertBefore(e.clone,t)}(e),"absolute"!=e.parent.computed.position&&"relative"!=e.parent.computed.position&&(e.parent.node.style.position="relative"),v(e),e.parent.height=e.parent.node.offsetHeight,e.docOffsetTop=E(e.clone))}function w(e){var t=!0;e.clone&&function(e){e.clone.parentNode.removeChild(e.clone),e.clone=void 0}(e),function(e,t){for(key in t)t.hasOwnProperty(key)&&(e[key]=t[key])}(e.node.style,e.css);for(var r=i.length-1;r>=0;r--)if(i[r].node!==e.node&&i[r].parent.node===e.parent.node){t=!1;break}t&&(e.parent.node.style.position=e.parent.css.position),e.mode=-1}function S(){for(var e=i.length-1;e>=0;e--)x(i[e])}function k(){for(var e=i.length-1;e>=0;e--)w(i[e])}function O(e){var t=getComputedStyle(e),r=e.parentNode,n=getComputedStyle(r),i=e.style.position;e.style.position="relative";var o={top:t.top,marginTop:t.marginTop,marginBottom:t.marginBottom,marginLeft:t.marginLeft,marginRight:t.marginRight,cssFloat:t.cssFloat},a={top:h(t.top),marginBottom:h(t.marginBottom),paddingLeft:h(t.paddingLeft),paddingRight:h(t.paddingRight),borderLeftWidth:h(t.borderLeftWidth),borderRightWidth:h(t.borderRightWidth)};e.style.position=i;var l={position:e.style.position,top:e.style.top,bottom:e.style.bottom,left:e.style.left,right:e.style.right,width:e.style.width,marginTop:e.style.marginTop,marginLeft:e.style.marginLeft,marginRight:e.style.marginRight},c=_(e),p=_(r),u={node:r,css:{position:r.style.position},computed:{position:n.position},numeric:{borderLeftWidth:h(n.borderLeftWidth),borderRightWidth:h(n.borderRightWidth),borderTopWidth:h(n.borderTopWidth),borderBottomWidth:h(n.borderBottomWidth)}};return{node:e,box:{left:c.win.left,right:s.clientWidth-c.win.right},offset:{top:c.win.top-p.win.top-u.numeric.borderTopWidth,left:c.win.left-p.win.left-u.numeric.borderLeftWidth,right:-c.win.right+p.win.right-u.numeric.borderRightWidth},css:l,isCell:"table-cell"==t.display,computed:o,numeric:a,width:c.win.right-c.win.left,height:c.win.bottom-c.win.top,mode:-1,inited:!1,parent:u,limit:{start:c.doc.top-a.top,end:p.doc.top+r.offsetHeight-u.numeric.borderBottomWidth-e.offsetHeight-a.top-a.marginBottom}}}function E(e){for(var t=0;e;)t+=e.offsetTop,e=e.offsetParent;return t}function _(e){var r=e.getBoundingClientRect();return{doc:{top:r.top+t.pageYOffset,left:r.left+t.pageXOffset},win:r}}function $(){n=setInterval(function(){!function(){for(var e=i.length-1;e>=0;e--)if(i[e].inited){var t=Math.abs(E(i[e].clone)-i[e].docOffsetTop),r=Math.abs(i[e].parent.node.offsetHeight-i[e].parent.height);if(t>=2||r>=2)return!1}return!0}()&&C()},500)}function A(){clearInterval(n)}function P(){o&&(document[l]?A():$())}function j(){o||(m(),S(),t.addEventListener("scroll",g),t.addEventListener("wheel",y),t.addEventListener("resize",C),t.addEventListener("orientationchange",C),e.addEventListener(c,P),$(),o=!0)}function C(){if(o){k();for(var e=i.length-1;e>=0;e--)i[e]=O(i[e].node);S()}}function T(){t.removeEventListener("scroll",g),t.removeEventListener("wheel",y),t.removeEventListener("resize",C),t.removeEventListener("orientationchange",C),e.removeEventListener(c,P),A(),o=!1}function I(){T(),k()}function N(){for(I();i.length;)i.pop()}function R(e){for(var t=i.length-1;t>=0;t--)if(i[t].node===e)return;var r=O(e);i.push(r),o?x(r):j()}return m(),{stickies:i,add:R,remove:function(e){for(var t=i.length-1;t>=0;
vendor: 7,321 bytes, line 1850
1850t--)i[t].node===e&&(w(i[t]),i.splice(t,1))},init:j,rebuild:C,pause:T,stop:I,kill:N}}},40197(e,t,r){"use strict";r.r(t),r.d(t,{ServerStyleSheet:()=>er,StyleSheetConsumer:()=>Et,StyleSheetContext:()=>Ot,StyleSheetManager:()=>At,ThemeConsumer:()=>zt,ThemeContext:()=>Mt,ThemeProvider:()=>Bt,__PRIVATE__:()=>tr,createGlobalStyle:()=>Jt,css:()=>Ht,default:()=>Kt,isStyledComponent:()=>Qe,keyframes:()=>Xt,styled:()=>Kt,useTheme:()=>Ft,version:()=>pe,withTheme:()=>Zt});var n=function(){return n=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},n.apply(this,arguments)};Object.create;function i(e,t,r){if(r||2===arguments.length)for(var n,i=0,o=t.length;i<o;i++)!n&&i in t||(n||(n=Array.prototype.slice.call(t,0,i)),n[i]=t[i]);return e.concat(n||Array.prototype.slice.call(t))}Object.create;var o=r(65043),s=r(17324),a=r.n(s),l="-ms-",c="-moz-",p="-webkit-",u="comm",d="rule",f="decl",h="@keyframes",m=Math.abs,g=String.fromCharCode,y=Object.assign;function b(e){return e.trim()}function v(e,t){return(e=t.exec(e))?e[0]:e}function x(e,t,r){return e.replace(t,r)}function w(e,t,r){return e.indexOf(t,r)}function S(e,t){return 0|e.charCodeAt(t)}function k(e,t,r){return e.slice(t,r)}function O(e){return e.length}function E(e){return e.length}function _(e,t){return t.push(e),e}function $(e,t){return e.filter(function(e){return!v(e,t)})}var A=1,P=1,j=0,C=0,T=0,I="";function N(e,t,r,n,i,o,s,a){return{value:e,root:t,parent:r,type:n,props:i,children:o,line:A,column:P,length:s,return:"",siblings:a}}function R(e,t){return y(N("",null,null,"",null,null,0,e.siblings),e,{length:-e.length},t)}function L(e){for(;e.root;)e=R(e.root,{children:[e]});_(e,e.siblings)}function D(){return T=C>0?S(I,--C):0,P--,10===T&&(P=1,A--),T}function M(){return T=C<j?S(I,C++):0,P++,10===T&&(P=1,A++),T}function z(){return S(I,C)}function F(){return C}function B(e,t){return k(I,e,t)}function q(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function U(e){return A=P=1,j=O(I=e),C=0,[]}function V(e){return I="",e}function W(e){return b(B(C-1,G(91===e?e+2:40===e?e+1:e)))}function H(e){for(;(T=z())&&T<33;)M();return q(e)>2||q(T)>3?"":" "}function Q(e,t){for(;--t&&M()&&!(T<48||T>102||T>57&&T<65||T>70&&T<97););return B(e,F()+(t<6&&32==z()&&32==M()))}function G(e){for(;M();)switch(T){case e:return C;case 34:case 39:34!==e&&39!==e&&G(T);break;case 40:41===e&&G(e);break;case 92:M()}return C}function K(e,t){for(;M()&&e+T!==57&&(e+T!==84||47!==z()););return"/*"+B(t,C-1)+"*"+g(47===e?e:M())}function Y(e){for(;!q(z());)M();return B(e,C)}function J(e,t){for(var r="",n=0;n<e.length;n++)r+=t(e[n],n,e,t)||"";return r}function X(e,t,r,n){switch(e.type){case"@layer":if(e.children.length)break;case"@import":case f:return e.return=e.return||e.value;case u:return"";case h:return e.return=e.value+"{"+J(e.children,n)+"}";case d:if(!O(e.value=e.props.join(",")))return""}return O(r=J(e.children,n))?e.return=e.value+"{"+r+"}":""}function Z(e,t,r){switch(function(e,t){return 45^S(e,0)?(((t<<2^S(e,0))<<2^S(e,1))<<2^S(e,2))<<2^S(e,3):0}(e,t)){case 5103:return p+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return p+e+e;case 4789:return c+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return p+e+c+e+l+e+e;case 5936:switch(S(e,t+11)){case 114:return p+e+l+x(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return p+e+l+x(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return p+e+l+x(e,/[svh]\w+-[tblr]{2}/,"lr")+e}case 6828:case 4268:case 2903:return p+e+l+e+e;case 6165:return p+e+l+"flex-"+e+e;case 5187:return p+e+x(e,/(\w+).+(:[^]+)/,p+"box-$1$2"+l+"flex-$1$2")+e;case 5443:return p+e+l+"flex-item-"+x(e,/flex-|-self/g,"")+(v(e,/flex-|baseline/)?"":l+"grid-row-"+x(e,/flex-|-self/g,""))+e;case 4675:return p+e+l+"flex-line-pack"+x(e,/align-content|flex-|-self/g,"")+e;case 5548:return p+e+l+x(e,"shrink","negative")+e;case 5292:return p+e+l+x(e,"basis","preferred-size")+e;case 6060:return p+"box-"+x(e,"-grow","")+p+e+l+x(e,"grow","positive")+e;case 4554:return p+x(e,/([^-])(transform)/g,"$1"+p+"$2")+e;case 6187:return x(x(x(e,/(zoom-|grab)/,p+"$1"),/(image-set)/,p+"$1"),e,"")+e;case 5495:case 3959:return x(e,/(image-set\([^]*)/,p+"$1$`$1");case 4968:return x(x(e,/(.+:)(flex-)?(.*)/,p+"box-pack:$3"+l+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+p+e+e;case 4200:if(!v(e,/flex-|baseline/))return l+"grid-column-align"+k(e,t)+e;break;case 2592:case 3360:return l+x(e,"template-","")+e;case 4384:case 3616:return r&&r.some(function(e,r){return t=r,v(e.props,/grid-\w+-end/)})?~w(e+(r=r[t].value),"span",0)?e:l+x(e,"-start","")+e+l+"grid-row-span:"+(~w(r,"span",0)?v(r,/\d+/):+v(r,/\d+/)-+v(e,/\d+/))+";":l+x(e,"-start","")+e;case 4896:case 4128:return r&&r.some(function(e){return v(e.props,/grid-\w+-start/)})?e:l+x(x(e,"-end","-span"),"span ","")+e;case 4095:case 3583:case 4068:case 2532:return x(e,/(.+)-inline(.+)/,p+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(O(e)-1-t>6)switch(S(e,t+1)){case 109:if(45!==S(e,t+4))break;case 102:return x(e,/(.+:)(.+)-([^]+)/,"$1"+p+"$2-$3$1"+c+(108==S(e,t+3)?"$3":"$2-$3"))+e;case 115:return~w(e,"stretch",0)?Z(x(e,"stretch","fill-available"),t,r)+e:e}break;case 5152:case 5920:return x(e,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,function(t,r,n,i,o,s,a){return l+r+":"+n+a+(i?l+r+"-span:"+(o?s:+s-+n)+a:"")+e});case 4949:if(121===S(e,t+6))return x(e,":",":"+p)+e;break;case 6444:switch(S(e,45===S(e,14)?18:11)){case 120:return x(e,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+p+(45===S(e,14)?"inline-":"")+"box$3$1"+p+"$2$3$1"+l+"$2box$3")+e;case 100:return x(e,":",":"+l)+e}break;case 5719:case 2647:case 2135:case 3927:case 2391:return x(e,"scroll-","scroll-snap-")+e}return e}function ee(e,t,r,n){if(e.length>-1&&!e.return)switch(e.type){case f:return void(e.return=Z(e.value,e.length,r));case h:return J([R(e,{value:x(e.value,"@","@"+p)})],n);case d:if(e.length)return function(e,t){return e.map(t).join("")}(r=e.props,function(t){switch(v(t,n=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":L(R(e,{props:[x(t,/:(read-\w+)/,":-moz-$1")]})),L(R(e,{props:[t]})),y(e,{props:$(r,n)});break;case"::placeholder":L(R(e,{props:[x(t,/:(plac\w+)/,":"+p+"input-$1")]})),L(R(e,{props:[x(t,/:(plac\w+)/,":-moz-$1")]})),L(R(e,{props:[x(t,/:(plac\w+)/,l+"input-$1")]})),L(R(e,{props:[t]})),y(e,{props:$(r,n)})}return""})}}function te(e){return V(re("",null,null,null,[""],e=U(e),0,[0],e))}function re(e,t,r,n,i,o,s,a,l){for(var c=0,p=0,u=s,d=0,f=0,h=0,y=1,b=1,v=1,k=0,E="",$=i,A=o,P=n,j=E;b;)switch(h=k,k=M()){case 40:if(108!=h&&58==S(j,u-1)){-1!=w(j+=x(W(k),"&","&\f"),"&\f",m(c?a[c-1]:0))&&(v=-1);break}case 34:case 39:case 91:j+=W(k);break;case 9:case 10:case 13:case 32:j+=H(h);break;case 92:j+=Q(F()-1,7);continue;case 47:switch(z()){case 42:case 47:_(ie(K(M(),F()),t,r,l),l);break;default:j+="/"}break;
vendor: 8,063 bytes, line 1850
1850case 123*y:a[c++]=O(j)*v;case 125*y:case 59:case 0:switch(k){case 0:case 125:b=0;case 59+p:-1==v&&(j=x(j,/\f/g,"")),f>0&&O(j)-u&&_(f>32?oe(j+";",n,r,u-1,l):oe(x(j," ","")+";",n,r,u-2,l),l);break;case 59:j+=";";default:if(_(P=ne(j,t,r,c,p,i,a,E,$=[],A=[],u,o),o),123===k)if(0===p)re(j,t,P,P,$,o,u,a,A);else switch(99===d&&110===S(j,3)?100:d){case 100:case 108:case 109:case 115:re(e,P,P,n&&_(ne(e,P,P,0,0,i,a,E,i,$=[],u,A),A),i,A,u,a,n?$:A);break;default:re(j,P,P,P,[""],A,0,a,A)}}c=p=f=0,y=v=1,E=j="",u=s;break;case 58:u=1+O(j),f=h;default:if(y<1)if(123==k)--y;else if(125==k&&0==y++&&125==D())continue;switch(j+=g(k),k*y){case 38:v=p>0?1:(j+="\f",-1);break;case 44:a[c++]=(O(j)-1)*v,v=1;break;case 64:45===z()&&(j+=W(M())),d=z(),p=u=O(E=j+=Y(F())),k++;break;case 45:45===h&&2==O(j)&&(y=0)}}return o}function ne(e,t,r,n,i,o,s,a,l,c,p,u){for(var f=i-1,h=0===i?o:[""],g=E(h),y=0,v=0,w=0;y<n;++y)for(var S=0,O=k(e,f+1,f=m(v=s[y])),_=e;S<g;++S)(_=b(v>0?h[S]+" "+O:x(O,/&\f/g,h[S])))&&(l[w++]=_);return N(e,t,r,0===i?d:a,l,c,p,u)}function ie(e,t,r,n){return N(e,t,r,u,g(T),k(e,2,-2),0,n)}function oe(e,t,r,n,i){return N(e,t,r,f,k(e,0,n),k(e,n+1,-1),n,i)}const se={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};var ae="data-styled",le="active",ce="data-styled-version",pe="6.1.8",ue="/*!sc*/\n",de="undefined"!=typeof window&&"HTMLElement"in window,fe=Boolean("boolean"==typeof SC_DISABLE_SPEEDY&&SC_DISABLE_SPEEDY),he={},me=(new Set,Object.freeze([])),ge=Object.freeze({});function ye(e,t,r){return void 0===r&&(r=ge),e.theme!==r.theme&&e.theme||t||r.theme}var be=new Set(["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","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","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","tr","track","u","ul","use","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"]),ve=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,xe=/(^-|-$)/g;function we(e){return e.replace(ve,"-").replace(xe,"")}var Se=/(a)(d)/gi,ke=function(e){return String.fromCharCode(e+(e>25?39:97))};function Oe(e){var t,r="";for(t=Math.abs(e);t>52;t=t/52|0)r=ke(t%52)+r;return(ke(t%52)+r).replace(Se,"$1-$2")}var Ee,_e=function(e,t){for(var r=t.length;r;)e=33*e^t.charCodeAt(--r);return e},$e=function(e){return _e(5381,e)};function Ae(e){return Oe($e(e)>>>0)}function Pe(e){return e.displayName||e.name||"Component"}function je(e){return"string"==typeof e&&!0}var Ce="function"==typeof Symbol&&Symbol.for,Te=Ce?Symbol.for("react.memo"):60115,Ie=Ce?Symbol.for("react.forward_ref"):60112,Ne={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},Re={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},Le={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},De=((Ee={})[Ie]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},Ee[Te]=Le,Ee);function Me(e){return("type"in(t=e)&&t.type.$$typeof)===Te?Le:"$$typeof"in e?De[e.$$typeof]:Ne;var t}var ze=Object.defineProperty,Fe=Object.getOwnPropertyNames,Be=Object.getOwnPropertySymbols,qe=Object.getOwnPropertyDescriptor,Ue=Object.getPrototypeOf,Ve=Object.prototype;function We(e,t,r){if("string"!=typeof t){if(Ve){var n=Ue(t);n&&n!==Ve&&We(e,n,r)}var i=Fe(t);Be&&(i=i.concat(Be(t)));for(var o=Me(e),s=Me(t),a=0;a<i.length;++a){var l=i[a];if(!(l in Re||r&&r[l]||s&&l in s||o&&l in o)){var c=qe(t,l);try{ze(e,l,c)}catch(e){}}}}return e}function He(e){return"function"==typeof e}function Qe(e){return"object"==typeof e&&"styledComponentId"in e}function Ge(e,t){return e&&t?"".concat(e," ").concat(t):e||t||""}function Ke(e,t){if(0===e.length)return"";for(var r=e[0],n=1;n<e.length;n++)r+=t?t+e[n]:e[n];return r}function Ye(e){return null!==e&&"object"==typeof e&&e.constructor.name===Object.name&&!("props"in e&&e.$$typeof)}function Je(e,t,r){if(void 0===r&&(r=!1),!r&&!Ye(e)&&!Array.isArray(e))return t;if(Array.isArray(t))for(var n=0;n<t.length;n++)e[n]=Je(e[n],t[n]);else if(Ye(t))for(var n in t)e[n]=Je(e[n],t[n]);return e}function Xe(e,t){Object.defineProperty(e,"toString",{value:t})}function Ze(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];return new Error("An error occurred. See https://github.com/styled-components/styled-components/blob/main/packages/styled-components/src/utils/errors.md#".concat(e," for more information.").concat(t.length>0?" Args: ".concat(t.join(", ")):""))}var et=function(){function e(e){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=e}return e.prototype.indexOfGroup=function(e){for(var t=0,r=0;r<e;r++)t+=this.groupSizes[r];return t},e.prototype.insertRules=function(e,t){if(e>=this.groupSizes.length){for(var r=this.groupSizes,n=r.length,i=n;e>=i;)if((i<<=1)<0)throw Ze(16,"".concat(e));this.groupSizes=new Uint32Array(i),this.groupSizes.set(r),this.length=i;for(var o=n;o<i;o++)this.groupSizes[o]=0}for(var s=this.indexOfGroup(e+1),a=(o=0,t.length);o<a;o++)this.tag.insertRule(s,t[o])&&(this.groupSizes[e]++,s++)},e.prototype.clearGroup=function(e){if(e<this.length){var t=this.groupSizes[e],r=this.indexOfGroup(e),n=r+t;this.groupSizes[e]=0;for(var i=r;i<n;i++)this.tag.deleteRule(r)}},e.prototype.getGroup=function(e){var t="";if(e>=this.length||0===this.groupSizes[e])return t;for(var r=this.groupSizes[e],n=this.indexOfGroup(e),i=n+r,o=n;o<i;o++)t+="".concat(this.tag.getRule(o)).concat(ue);return t},e}(),tt=new Map,rt=new Map,nt=1,it=function(e){if(tt.has(e))return tt.get(e);for(;rt.has(nt);)nt++;var t=nt++;return tt.set(e,t),rt.set(t,e),t},ot=function(e,t){nt=t+1,tt.set(e,t),rt.set(t,e)},st="style[".concat(ae,"][").concat(ce,'="').concat(pe,'"]'),at=new RegExp("^".concat(ae,'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)')),lt=function(e,t,r){for(var n,i=r.split(","),o=0,s=i.length;o<s;o++)(n=i[o])&&e.registerName(t,n)},ct=function(e,t){for(var r,n=(null!==(r=t.textContent)&&void 0!==r?r:"").split(ue),i=[],o=0,s=n.length;o<s;o++){var a=n[o].trim();if(a){var l=a.match(at);if(l){var c=0|parseInt(l[1],10),p=l[2];0!==c&&(ot(p,c),lt(e,p,l[3]),e.getTag().insertRules(c,i)),i.length=0}else i.push(a)}}};function pt(){return r.nc}var ut=function(e){var t=document.head,r=e||t,n=document.createElement("style"),i=function(e){var t=Array.from(e.querySelectorAll("style[".concat(ae,"]")));return t[t.length-1]}(r),o=void 0!==i?i.nextSibling:null;n.setAttribute(ae,le),n.setAttribute(ce,pe);var s=pt();return s&&n.setAttribute("nonce",s),r.insertBefore(n,o),n},dt=function(){function e(e){this.element=ut(e),this.element.appendChild(document.createTextNode("")),this.sheet=function(e){if(e.sheet)return e.sheet;for(var t=document.styleSheets,r=0,n=t.length;r<n;r++){var i=t[r];
1850if(i.ownerNode===e)return i}throw Ze(17)}(this.element),this.length=0}return e.prototype.insertRule=function(e,t){try{return this.sheet.insertRule(t,e),this.length++,!0}catch(e){return!1}},e.prototype.deleteRule=function(e){this.sheet.deleteRule(e),this.length--},e.prototype.getRule=function(e){var t=this.sheet.cssRules[e];return t&&t.cssText?t.cssText:""},e}(),ft=function(){function e(e){this.element=ut(e),this.nodes=this.element.childNodes,this.length=0}return e.prototype.insertRule=function(e,t){if(e<=this.length&&e>=0){var r=document.createTextNode(t);return this.element.insertBefore(r,this.nodes[e]||null),this.length++,!0}return!1},e.prototype.deleteRule=function(e){this.element.removeChild(this.nodes[e]),this.length--},e.prototype.getRule=function(e){return e<this.length?this.nodes[e].textContent:""},e}(),ht=function(){function e(e){this.rules=[],this.length=0}return e.prototype.insertRule=function(e,t){return e<=this.length&&(this.rules.splice(e,0,t),this.length++,!0)},e.prototype.deleteRule=function(e){this.rules.splice(e,1),this.length--},e.prototype.getRule=function(e){return e<this.length?this.rules[e]:""},e}(),mt=de,gt={isServer:!de,useCSSOMInjection:!fe},yt=function(){function e(e,t,r){void 0===e&&(e=ge),void 0===t&&(t={});var i=this;this.options=n(n({},gt),e),this.gs=t,this.names=new Map(r),this.server=!!e.isServer,!this.server&&de&&mt&&(mt=!1,function(e){for(var t=document.querySelectorAll(st),r=0,n=t.length;r<n;r++){var i=t[r];i&&i.getAttribute(ae)!==le&&(ct(e,i),i.parentNode&&i.parentNode.removeChild(i))}}(this)),Xe(this,function(){return function(e){for(var t=e.getTag(),r=t.length,n="",i=function(r){var i=function(e){return rt.get(e)}(r);if(void 0===i)return"continue";var o=e.names.get(i),s=t.getGroup(r);if(void 0===o||0===s.length)return"continue";var a="".concat(ae,".g").concat(r,'[id="').concat(i,'"]'),l="";void 0!==o&&o.forEach(function(e){e.length>0&&(l+="".concat(e,","))}),n+="".concat(s).concat(a,'{content:"').concat(l,'"}').concat(ue)},o=0;o<r;o++)i(o);return n}(i)})}return e.registerId=function(e){return it(e)},e.prototype.reconstructWithOptions=function(t,r){return void 0===r&&(r=!0),new e(n(n({},this.options),t),this.gs,r&&this.names||void 0)},e.prototype.allocateGSInstance=function(e){return this.gs[e]=(this.gs[e]||0)+1},e.prototype.getTag=function(){return this.tag||(this.tag=(e=function(e){var t=e.useCSSOMInjection,r=e.target;return e.isServer?new ht(r):t?new dt(r):new ft(r)}(this.options),new et(e)));var e},e.prototype.hasNameForId=function(e,t){return this.names.has(e)&&this.names.get(e).has(t)},e.prototype.registerName=function(e,t){if(it(e),this.names.has(e))this.names.get(e).add(t);else{var r=new Set;r.add(t),this.names.set(e,r)}},e.prototype.insertRules=function(e,t,r){this.registerName(e,t),this.getTag().insertRules(it(e),r)},e.prototype.clearNames=function(e){this.names.has(e)&&this.names.get(e).clear()},e.prototype.clearRules=function(e){this.getTag().clearGroup(it(e)),this.clearNames(e)},e.prototype.clearTag=function(){this.tag=void 0},e}(),bt=/&/g,vt=/^\s*\/\/.*$/gm;function xt(e,t){return e.map(function(e){return"rule"===e.type&&(e.value="".concat(t," ").concat(e.value),e.value=e.value.replaceAll(",",",".concat(t," ")),e.props=e.props.map(function(e){return"".concat(t," ").concat(e)})),Array.isArray(e.children)&&"@keyframes"!==e.type&&(e.children=xt(e.children,t)),e})}function wt(e){var t,r,n,i=void 0===e?ge:e,o=i.options,s=void 0===o?ge:o,a=i.plugins,l=void 0===a?me:a,c=function(e,n,i){return i.startsWith(r)&&i.endsWith(r)&&i.replaceAll(r,"").length>0?".".concat(t):e},p=l.slice();p.push(function(e){e.type===d&&e.value.includes("&")&&(e.props[0]=e.props[0].replace(bt,r).replace(n,c))}),s.prefix&&p.push(ee),p.push(X);var u=function(e,i,o,a){void 0===i&&(i=""),void 0===o&&(o=""),void 0===a&&(a="&"),t=a,r=i,n=new RegExp("\\".concat(r,"\\b"),"g");var l=e.replace(vt,""),c=te(o||i?"".concat(o," ").concat(i," { ").concat(l," }"):l);s.namespace&&(c=xt(c,s.namespace));var u,d=[];return J(c,function(e){var t=E(e);return function(r,n,i,o){for(var s="",a=0;a<t;a++)s+=e[a](r,n,i,o)||"";return s}}(p.concat((u=function(e){return d.push(e)},function(e){e.root||(e=e.return)&&u(e)}
1850)))),d};return u.hash=l.length?l.reduce(function(e,t){return t.name||Ze(15),_e(e,t.name)},5381).toString():"",u}var St=new yt,kt=wt(),Ot=o.createContext({shouldForwardProp:void 0,styleSheet:St,stylis:kt}),Et=Ot.Consumer,_t=o.createContext(void 0);function $t(){return(0,o.useContext)(Ot)}function At(e){var t=(0,o.useState)(e.stylisPlugins),r=t[0],n=t[1],i=$t().styleSheet,s=(0,o.useMemo)(function(){var t=i;return e.sheet?t=e.sheet:e.target&&(t=t.reconstructWithOptions({target:e.target},!1)),e.disableCSSOMInjection&&(t=t.reconstructWithOptions({useCSSOMInjection:!1})),t},[e.disableCSSOMInjection,e.sheet,e.target,i]),l=(0,o.useMemo)(function(){return wt({options:{namespace:e.namespace,prefix:e.enableVendorPrefixes},plugins:r})},[e.enableVendorPrefixes,e.namespace,r]);(0,o.useEffect)(function(){a()(r,e.stylisPlugins)||n(e.stylisPlugins)},[e.stylisPlugins]);var c=(0,o.useMemo)(function(){return{shouldForwardProp:e.shouldForwardProp,styleSheet:s,stylis:l}},[e.shouldForwardProp,s,l]);return o.createElement(Ot.Provider,{value:c},o.createElement(_t.Provider,{value:l},e.children))}var Pt=function(){function e(e,t){var r=this;this.inject=function(e,t){void 0===t&&(t=kt);var n=r.name+t.hash;e.hasNameForId(r.id,n)||e.insertRules(r.id,n,t(r.rules,n,"@keyframes"))},this.name=e,this.id="sc-keyframes-".concat(e),this.rules=t,Xe(this,function(){throw Ze(12,String(r.name))})}return e.prototype.getName=function(e){return void 0===e&&(e=kt),this.name+e.hash},e}(),jt=function(e){return e>="A"&&e<="Z"};function Ct(e){for(var t="",r=0;r<e.length;r++){var n=e[r];if(1===r&&"-"===n&&"-"===e[0])return e;jt(n)?t+="-"+n.toLowerCase():t+=n}return t.startsWith("ms-")?"-"+t:t}var Tt=function(e){return null==e||!1===e||""===e},It=function(e){var t,r,n=[];for(var o in e){var s=e[o];e.hasOwnProperty(o)&&!Tt(s)&&(Array.isArray(s)&&s.isCss||He(s)?n.push("".concat(Ct(o),":"),s,";"):Ye(s)?n.push.apply(n,i(i(["".concat(o," {")],It(s),!1),["}"],!1)):n.push("".concat(Ct(o),": ").concat((t=o,null==(r=s)||"boolean"==typeof r||""===r?"":"number"!=typeof r||0===r||t in se||t.startsWith("--")?String(r).trim():"".concat(r,"px")),";")))}return n};function Nt(e,t,r,n){return Tt(e)?[]:Qe(e)?[".".concat(e.styledComponentId)]:He(e)?!He(i=e)||i.prototype&&i.prototype.isReactComponent||!t?[e]:Nt(e(t),t,r,n):e instanceof Pt?r?(e.inject(r,n),[e.getName(n)]):[e]:Ye(e)?It(e):Array.isArray(e)?Array.prototype.concat.apply(me,e.map(function(e){return Nt(e,t,r,n)})):[e.toString()];var i}function Rt(e){for(var t=0;t<e.length;t+=1){var r=e[t];if(He(r)&&!Qe(r))return!1}return!0}var Lt=$e(pe),Dt=function(){function e(e,t,r){this.rules=e,this.staticRulesId="",this.isStatic=(void 0===r||r.isStatic)&&Rt(e),this.componentId=t,this.baseHash=_e(Lt,t),this.baseStyle=r,yt.registerId(t)}return e.prototype.generateAndInjectStyles=function(e,t,r){var n=this.baseStyle?this.baseStyle.generateAndInjectStyles(e,t,r):"";if(this.isStatic&&!r.hash)if(this.staticRulesId&&t.hasNameForId(this.componentId,this.staticRulesId))n=Ge(n,this.staticRulesId);else{var i=Ke(Nt(this.rules,e,t,r)),o=Oe(_e(this.baseHash,i)>>>0);if(!t.hasNameForId(this.componentId,o)){var s=r(i,".".concat(o),void 0,this.componentId);t.insertRules(this.componentId,o,s)}n=Ge(n,o),this.staticRulesId=o}else{for(var a=_e(this.baseHash,r.hash),l="",c=0;c<this.rules.length;c++){var p=this.rules[c];if("string"==typeof p)l+=p;else if(p){var u=Ke(Nt(p,e,t,r));a=_e(a,u+c),l+=u}}if(l){var d=Oe(a>>>0);t.hasNameForId(this.componentId,d)||t.insertRules(this.componentId,d,r(l,".".concat(d),void 0,this.componentId)),n=Ge(n,d)}}return n},e}(),Mt=o.createContext(void 0),zt=Mt.Consumer;function Ft(){var e=(0,o.useContext)(Mt);if(!e)throw Ze(18);return e}function Bt(e){var t=o.useContext(Mt),r=(0,o.useMemo)(function(){return function(e,t){if(!e)throw Ze(14);if(He(e))return e(t);if(Array.isArray(e)||"object"!=typeof e)throw Ze(8);return t?n(n({},t),e):e}(e.theme,t)},[e.theme,t]);return e.children?o.createElement(Mt.Provider,{value:r},e.children):null}var qt={};new Set;function Ut(e,t,r){var i=Qe(e),s=e,a=!je(e),l=t.attrs,c=void 0===l?me:l,p=t.componentId,u=void 0===p?function(e,t){var r="string"!=typeof e?"sc":we(e);qt[r]=(qt[r]||0)+1;var n="".concat(r,"-").concat(Ae(pe+r+qt[r]));return t?"".concat(t,"-").concat(n):n}(t.displayName,t.parentComponentId):p,d=t.displayName,f=void 0===d?function(e){return je(e)?"styled.".concat(e):"Styled(".concat(Pe(e),")")}(e):d,h=t.displayName&&t.componentId?"".concat(we(t.displayName),"-").concat(t.componentId):t.componentId||u,m=i&&s.attrs?s.attrs.concat(c).filter(
1850Boolean):c,g=t.shouldForwardProp;if(i&&s.shouldForwardProp){var y=s.shouldForwardProp;if(t.shouldForwardProp){var b=t.shouldForwardProp;g=function(e,t){return y(e,t)&&b(e,t)}}else g=y}var v=new Dt(r,h,i?s.componentStyle:void 0);function x(e,t){return function(e,t,r){var i=e.attrs,s=e.componentStyle,a=e.defaultProps,l=e.foldedComponentIds,c=e.styledComponentId,p=e.target,u=o.useContext(Mt),d=$t(),f=e.shouldForwardProp||d.shouldForwardProp,h=ye(t,u,a)||ge,m=function(e,t,r){for(var i,o=n(n({},t),{className:void 0,theme:r}),s=0;s<e.length;s+=1){var a=He(i=e[s])?i(o):i;for(var l in a)o[l]="className"===l?Ge(o[l],a[l]):"style"===l?n(n({},o[l]),a[l]):a[l]}return t.className&&(o.className=Ge(o.className,t.className)),o}(i,t,h),g=m.as||p,y={};for(var b in m)void 0===m[b]||"$"===b[0]||"as"===b||"theme"===b&&m.theme===h||("forwardedAs"===b?y.as=m.forwardedAs:f&&!f(b,g)||(y[b]=m[b]));var v=function(e,t){var r=$t();return e.generateAndInjectStyles(t,r.styleSheet,r.stylis)}(s,m),x=Ge(l,c);return v&&(x+=" "+v),m.className&&(x+=" "+m.className),y[je(g)&&!be.has(g)?"class":"className"]=x,y.ref=r,(0,o.createElement)(g,y)}(w,e,t)}x.displayName=f;var w=o.forwardRef(x);return w.attrs=m,w.componentStyle=v,w.displayName=f,w.shouldForwardProp=g,w.foldedComponentIds=i?Ge(s.foldedComponentIds,s.styledComponentId):"",w.styledComponentId=h,w.target=i?s.target:e,Object.defineProperty(w,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(e){this._foldedDefaultProps=i?function(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];for(var n=0,i=t;n<i.length;n++)Je(e,i[n],!0);return e}({},s.defaultProps,e):e}}),Xe(w,function(){return".".concat(w.styledComponentId)}),a&&We(w,e,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0}),w}function Vt(e,t){for(var r=[e[0]],n=0,i=t.length;n<i;n+=1)r.push(t[n],e[n+1]);return r}var Wt=function(e){return Object.assign(e,{isCss:!0})};function Ht(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];if(He(e)||Ye(e))return Wt(Nt(Vt(me,i([e],t,!0))));var n=e;return 0===t.length&&1===n.length&&"string"==typeof n[0]?Nt(n):Wt(Nt(Vt(n,t)))}function Qt(e,t,r){if(void 0===r&&(r=ge),!t)throw Ze(1,t);var o=function(n){for(var o=[],s=1;s<arguments.length;s++)o[s-1]=arguments[s];return e(t,r,Ht.apply(void 0,i([n],o,!1)))};return o.attrs=function(i){return Qt(e,t,n(n({},r),{attrs:Array.prototype.concat(r.attrs,i).filter(Boolean)}))},o.withConfig=function(i){return Qt(e,t,n(n({},r),i))},o}var Gt=function(e){return Qt(Ut,e)},Kt=Gt;be.forEach(function(e){Kt[e]=Gt(e)});var Yt=function(){function e(e,t){this.rules=e,this.componentId=t,this.isStatic=Rt(e),yt.registerId(this.componentId+1)}return e.prototype.createStyles=function(e,t,r,n){var i=n(Ke(Nt(this.rules,t,r,n)),""),o=this.componentId+e;r.insertRules(o,o,i)},e.prototype.removeStyles=function(e,t){t.clearRules(this.componentId+e)},e.prototype.renderStyles=function(e,t,r,n){e>2&&yt.registerId(this.componentId+e),this.removeStyles(e,r),this.createStyles(e,t,r,n)},e}();function Jt(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];var s=Ht.apply(void 0,i([e],t,!1)),a="sc-global-".concat(Ae(JSON.stringify(s))),l=new Yt(s,a),c=function(e){var t=$t(),r=o.useContext(Mt),n=o.useRef(t.styleSheet.allocateGSInstance(a)).current;return t.styleSheet.server&&p(n,e,t.styleSheet,r,t.stylis),o.useLayoutEffect(function(){if(!t.styleSheet.server)return p(n,e,t.styleSheet,r,t.stylis),function(){return l.removeStyles(n,t.styleSheet)}},[n,e,t.styleSheet,r,t.stylis]),null};function p(e,t,r,i,o){if(l.isStatic)l.renderStyles(e,he,r,o);else{var s=n(n({},t),{theme:ye(t,i,c.defaultProps)});l.renderStyles(e,s,r,o)}}return o.memo(c)}function Xt(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];var n=Ke(Ht.apply(void 0,i([e],t,!1))),o=Ae(n);return new Pt(o,n)}function Zt(e){var t=o.forwardRef(function(t,r){var i=ye(t,o.useContext(Mt),e.defaultProps);return o.createElement(e,n({},t,{theme:i,ref:r}))});return t.displayName="WithTheme(".concat(Pe(e),")"),We(t,e)}var er=function(){function e(){var e=this;this._emitSheetCSS=function(){var t=e.instance.toString(),r=pt(),n=Ke([r&&'nonce="'.concat(r,'"'),"".concat(ae,'="true"'),"".concat(ce,'="').concat(pe,'"')].filter(
1850Boolean)," ");return"<style ".concat(n,">").concat(t,"</style>")},this.getStyleTags=function(){if(e.sealed)throw Ze(2);return e._emitSheetCSS()},this.getStyleElement=function(){var t;if(e.sealed)throw Ze(2);var r=((t={})[ae]="",t[ce]=pe,t.dangerouslySetInnerHTML={__html:e.instance.toString()},t),i=pt();return i&&(r.nonce=i),[o.createElement("style",n({},r,{key:"sc-0-0"}))]},this.seal=function(){e.sealed=!0},this.instance=new yt({isServer:!0}),this.sealed=!1}return e.prototype.collectStyles=function(e){if(this.sealed)throw Ze(2);return o.createElement(At,{sheet:this.instance},e)},e.prototype.interleaveWithNodeStream=function(e){throw Ze(3)},e}(),tr={StyleSheet:yt,mainSheet:St};"__sc-".concat(ae,"__")},29119(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.parse=void 0,t.parse=function(e){let t={path:"",fragment:void 0,host:void 0,port:void 0,query:void 0,reference:void 0,scheme:void 0,userinfo:void 0};e.includes("#")&&(t.fragment="");let{parsed:n,addedDefaultScheme:i,addedTemporaryHost:o,error:s}=function(e){let t,n={parsed:void 0,addedDefaultScheme:!1,addedTemporaryHost:!1,error:void 0};try{return n.parsed=new URL(e),n}catch(s){t=s}if(e.startsWith("//"))try{return n.parsed=new URL("https:"+e),n.addedDefaultScheme=!0,n}catch(i){return n.error=t.message,n}try{return n.parsed=new URL("https://"+r+e),n.addedDefaultScheme=!0,n.addedTemporaryHost=!0,n}catch(i){}return n.error=t.message,n}(e);if(s||void 0===n)return t.error=s,t;if(void 0===typeof n.protocol||""===n.protocol||i||(t.scheme=String(n.protocol).replace(":","")),void 0!==typeof n.username&&""!==n.username){let e=n.username;n.password&&(e+=":"+n.password),t.userinfo=e}return void 0===typeof n.hostname||""===n.hostname||o||(t.host=n.hostname,t.host.startsWith("[")&&(t.host=t.host.substring(1),t.host=t.host.slice(0,-1))),void 0!==typeof n.port&&""!==n.port&&(t.port=Number(n.port)),void 0!==typeof n.pathname&&"/"!==n.pathname&&(t.path=n.pathname,o&&t.path.startsWith("/")&&(t.path=t.path.substring(1))),void 0!==typeof n.search&&""!==n.search&&(t.query=n.search.replace("?","")),void 0!==typeof n.hash&&""!==n.hash&&(t.fragment=n.hash.replace("#","")),void 0!==t.scheme||void 0!==t.userinfo||void 0!==t.host||void 0!==t.port||t.path||void 0!==t.query?void 0===t.scheme?t.reference="relative":void 0===t.fragment?t.reference="absolute":t.reference="uri":t.reference="same-document",t};const r="_remove_me_host/"},40740(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.resolveComponents=t.resolve=void 0;const n=r(29119),i=r(28326);function o(e,t,r,o){const a={};return o||(e=(0,n.parse)((0,i.serialize)(e)),t=(0,n.parse)((0,i.serialize)(t))),!(r=r||{}).tolerant&&t.scheme?(a.scheme=t.scheme,a.userinfo=t.userinfo,a.host=t.host,a.port=t.port,a.path=s(t.path||""),a.query=t.query):(void 0!==t.userinfo||void 0!==t.host||void 0!==t.port?(a.userinfo=t.userinfo,a.host=t.host,a.port=t.port,a.path=s(t.path||""),a.query=t.query):(t.path?("/"===t.path.charAt(0)?a.path=s(t.path):(void 0===e.userinfo&&void 0===e.host&&void 0===e.port||e.path?e.path?a.path=e.path.slice(0,e.path.lastIndexOf("/")+1)+t.path:a.path=t.path:a.path="/"+t.path,a.path=s(a.path)),a.query=t.query):(a.path=e.path,void 0!==t.query?a.query=t.query:a.query=e.query),a.userinfo=e.userinfo,a.host=e.host,a.port=e.port),a.scheme=e.scheme),a.fragment=t.fragment,a}function s(e){const t=/^\.\.?\//u,r=/^\/\.(?:\/|$)/u,n=/^\/\.\.(?:\/|$)/u,i=/^\/?(?:.|\n)*?(?=\/|$)/u,o=[];for(;e.length;)if(e.match(t))e=e.replace(t,"");else if(e.match(r))e=e.replace(r,"/");else if(e.match(n))e=e.replace(n,"/"),o.pop();else if("."===e||".."===e)e="";else{const t=e.match(i);if(!t)throw new Error("Unexpected dot segment condition");{const r=t[0];e=e.slice(r.length),o.push(r)}}return o.join("")}t.resolve=function(e,t,r){const s=Object.assign({scheme:"null"},r),a=o((0,n.parse)(e),(0,n.parse)(t),s,!0);return(0,i.serialize)(a)},t.resolveComponents=o},28326(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.serialize=void 0,t.serialize=function(e){let t,o=function(e){let t={startUrl:"",temporaryHostUsed:!1,temporarySchemeUsed:!1,temporarySchemeAndHostUsed:!1};if(e.scheme&&e.host)return t.startUrl=e.scheme+"://"+e.host,t;if(e.host)return t.temporarySchemeUsed=!0,t.startUrl=r+e.host,t;if(e.scheme)return e.path?(t.startUrl=e.scheme+":"+e.path,t):(t.temporaryHostUsed=!0,t.startUrl=e.scheme+":"+n,t);return t.temporarySchemeAndHostUsed=!0,t.startUrl=i,t}(e);try{t=new URL(o.startUrl)}catch(a){return a.message&&console.error(a.message+" "+o.startUrl),""}if(void 0===e.scheme||o.temporarySchemeAndHostUsed||o.temporarySchemeUsed?t.protocol="":t.protocol=e.scheme.toLowerCase(),void 0===e.host||o.temporarySchemeAndHostUsed||o.temporaryHostUsed?t.host="":t.host=e.host,e.port&&(t.port=String(e.port)),e.path&&(t.pathname=e.path),e.userinfo){let r=e.userinfo.split(":");r[0]&&(t.username=r[0]),r[1]&&(t.password=r[1])}e.query&&(t.search=e.query),e.fragment&&(t.hash=e.fragment);let s=t.toString();return!e.path&&s.endsWith("/")&&(s=s.slice(0,-1)),o.temporarySchemeAndHostUsed&&(s=s.replace(i,""),s.startsWith("/")&&(s=s.slice(1))),o.temporaryHostUsed&&(s=s.replace(n,"")),o.temporarySchemeUsed&&(s=s.replace(r,"")),s};const r="https:",n="_remove_me_host_",i=r+"//"+n},28396(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);
1850i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),i=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),t.normalize=t.equal=void 0;const o=r(28326),s=r(29119);i(r(40740),t),i(r(28326),t),i(r(29119),t),t.equal=function(e,t){let r,n;return r="string"===typeof e?(0,o.serialize)((0,s.parse)(e)):(0,o.serialize)(e),n="string"===typeof t?(0,o.serialize)((0,s.parse)(t)):(0,o.serialize)(t),r.toLowerCase()===n.toLowerCase()},t.normalize=function(e){return"string"===typeof e?(0,o.serialize)((0,s.parse)(e)):(0,s.parse)((0,o.serialize)(e))}},12054(e){e.exports=function(){function e(){}return e.prototype.encodeReserved=function(e){return e.split(/(%[0-9A-Fa-f]{2})/g).map(function(e){return/%[0-9A-Fa-f]/.test(e)||(e=encodeURI(e).replace(/%5B/g,"[").replace(/%5D/g,"]")),e}).join("")},e.prototype.encodeUnreserved=function(e){return encodeURIComponent(e).replace(/[!'()*]/g,function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()})},e.prototype.encodeValue=function(e,t,r){return t="+"===e||"#"===e?this.encodeReserved(t):this.encodeUnreserved(t),r?this.encodeUnreserved(r)+"="+t:t},e.prototype.isDefined=function(e){return void 0!==e&&null!==e},e.prototype.isKeyOperator=function(e){return";"===e||"&"===e||"?"===e},e.prototype.getValues=function(e,t,r,n){var i=e[r],o=[];if(this.isDefined(i)&&""!==i)if("string"===typeof i||"number"===typeof i||"boolean"===typeof i)i=i.toString(),n&&"*"!==n&&(i=i.substring(0,parseInt(n,10))),o.push(this.encodeValue(t,i,this.isKeyOperator(t)?r:null));else if("*"===n)Array.isArray(i)?i.filter(this.isDefined).forEach(function(e){o.push(this.encodeValue(t,e,this.isKeyOperator(t)?r:null))}
1850,this):Object.keys(i).forEach(function(e){this.isDefined(i[e])&&o.push(this.encodeValue(t,i[e],e))},this);else{var s=[];Array.isArray(i)?i.filter(this.isDefined).forEach(function(e){s.push(this.encodeValue(t,e))},this):Object.keys(i).forEach(function(e){this.isDefined(i[e])&&(s.push(this.encodeUnreserved(e)),s.push(this.encodeValue(t,i[e].toString())))},this),this.isKeyOperator(t)?o.push(this.encodeUnreserved(r)+"="+s.join(",")):0!==s.length&&o.push(s.join(","))}else";"===t?this.isDefined(i)&&o.push(this.encodeUnreserved(r)):""!==i||"&"!==t&&"?"!==t?""===i&&o.push(""):o.push(this.encodeUnreserved(r)+"=");return o},e.prototype.parse=function(e){var t=this,r=["+","#",".","/",";","?","&"];return{expand:function(n){return e.replace(/\{([^\{\}]+)\}|([^\{\}]+)/g,function(e,i,o){if(i){var s=null,a=[];if(-1!==r.indexOf(i.charAt(0))&&(s=i.charAt(0),i=i.substr(1)),i.split(/,/g).forEach(function(e){var r=/([^:\*]*)(?::(\d+)|(\*))?/.exec(e);a.push.apply(a,t.getValues(n,s,r[1],r[2]||r[3]))}),s&&"+"!==s){var l=",";return"?"===s?l="&":"#"!==s&&(l=s),(0!==a.length?s:"")+a.join(l)}return a.join(",")}return t.encodeReserved(o)})}}},new e}()},72330(e,t,r){"use strict";var n=r(65043);var i="function"===typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e===1/t)||e!==e&&t!==t},o=n.useState,s=n.useEffect,a=n.useLayoutEffect,l=n.useDebugValue;function c(e){var t=e.getSnapshot;e=e.value;try{var r=t();return!i(e,r)}catch(n){return!0}}var p="undefined"===typeof window||"undefined"===typeof window.document||"undefined"===typeof window.document.createElement?function(e,t){return t()}:function(e,t){var r=t(),n=o({inst:{value:r,getSnapshot:t}}),i=n[0].inst,p=n[1];return a(function(){i.value=r,i.getSnapshot=t,c(i)&&p({inst:i})},[e,r,t]),s(function(){return c(i)&&p({inst:i}),e(function(){c(i)&&p({inst:i})})},[e]),l(r),r};t.useSyncExternalStore=void 0!==n.useSyncExternalStore?n.useSyncExternalStore:p},29461(e,t,r){"use strict";e.exports=r(72330)},98139(e,t){var r;!function(){"use strict";var n={}.hasOwnProperty;function i(){for(var e="",t=0;t<arguments.length;t++){var r=arguments[t];r&&(e=s(e,o(r)))}return e}function o(e){if("string"===typeof e||"number"===typeof e)return e;if("object"!==typeof e)return"";if(Array.isArray(e))return i.apply(null,e);if(e.toString!==Object.prototype.toString&&!e.toString.toString().includes("[native code]"))return e.toString();var t="";for(var r in e)n.call(e,r)&&e[r]&&(t=s(t,r));return t}function s(e,t){return t?e?e+" "+t:e+t:e}e.exports?(i.default=i,e.exports=i):void 0===(r=function(){return i}.apply(t,[]))||(e.exports=r)}()},65023(e,t,r){e.exports=r(33876).YAML},33876(e,t,r){"use strict";r.d(t,{YAML:()=>Xt});const n="&",i="#",o="!",s="-",a=".",l="ALIAS",c="BLANK_LINE",p="BLOCK_FOLDED",u="BLOCK_LITERAL",d="COMMENT",f="DIRECTIVE",h="DOCUMENT",m="FLOW_MAP",g="FLOW_SEQ",y="MAP",b="MAP_KEY",v="MAP_VALUE",x="PLAIN",w="QUOTE_DOUBLE",S="QUOTE_SINGLE",k="SEQ",O="SEQ_ITEM",E="tag:yaml.org,2002:",_={MAP:"tag:yaml.org,2002:map",SEQ:"tag:yaml.org,2002:seq",STR:"tag:yaml.org,2002:str"};function $(e){const t=[0];let r=e.indexOf("\n");for(;-1!==r;)r+=1,t.push(r),r=e.indexOf("\n",r);return t}function A(e){let t,r;return"string"===typeof e?(t=$(e),r=e):(Array.isArray(e)&&(e=e[0]),e&&e.context&&(e.lineStarts||(e.lineStarts=$(e.context.src)),t=e.lineStarts,r=e.context.src)),{lineStarts:t,src:r}}function P(e,t){if("number"!==typeof e||e<0)return null;const{lineStarts:r,src:n}=A(t);if(!r||!n||e>n.length)return null;for(let o=0;o<r.length;++o){const t=r[o];if(e<t)return{line:o,col:e-r[o-1]+1};if(e===t)return{line:o+1,col:1}}const i=r.length;return{line:i,col:e-r[i-1]+1}}function j(e,t){let{start:r,end:n}=e,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:80,o=function(e,t){const{lineStarts:r,src:n}=A(t);if(!r||!(e>=1)||e>r.length)return null;const i=r[e-1];let o=r[e];for(;o&&o>i&&"\n"===n[o-1];)--o;return n.slice(i,o)}(r.line,t);if(!o)return null;let{col:s}=r;if(o.length>i)if(s<=i-10)o=o.substr(0,i-1)+"\u2026";else{const e=Math.round(i/2);o.length>s+e&&(o=o.substr(0,s+e-1)+"\u2026"),s-=o.length-i,o="\u2026"+o.substr(1-i)}let a=1,l="";n&&(n.line===r.line&&s+(n.col-r.col)<=i+1?a=n.col-r.col:(a=Math.min(o.length+1,i)-s,l="\u2026"));return`${o}\n${s>1?" ".repeat(s-1):""}${"^".repeat(a)}${l}`}class C{static copy(e){return new C(e.start,e.end)}constructor(e,t){this.start=e,this.end=t||e}isEmpty(){return"number"!==typeof this.start||!this.end||this.end<=this.start}setOrigRange(e,t){const{start:r,end:n}=this;if(0===e.length||n<=e[0])return this.origStart=r,this.origEnd=n,t;let i=t;for(;i<e.length&&!(e[i]>r);)++i;this.origStart=r+i;const o=i;for(;i<e.length&&!(e[i]>=n);)++i;return this.origEnd=n+i,o}}class T{static addStringTerminator(e,t,r){if("\n"===r[r.length-1])return r;const n=T.endOfWhiteSpace(e,t);return n>=e.length||"\n"===e[n]?r+"\n":r}static atDocumentBoundary(e,t,r){const n=e[t];if(!n)return!0;const i=e[t-1];if(i&&"\n"!==i)return!1;if(r){if(n!==r)return!1}else if(n!==s&&n!==a)return!1;const o=e[t+1],l=e[t+2];if(o!==n||l!==n)return!1;const c=e[t+3];return!c||"\n"===c||"\t"===c||" "===c}static endOfIdentifier(e,t){let r=e[t];const n="<"===r,i=n?["\n","\t"," ",">"]:["\n","\t"," ","[","]","{","}",","];for(;r&&-1===i.indexOf(r);)r=e[t+=1];return n&&">"===r&&(t+=1),t}static endOfIndent(e,t){let r=e[t];for(;" "===r;)r=e[t+=1];return t}static endOfLine(e,t){let r=e[t];for(;r&&"\n"!==r;)r=e[t+=1];return t}static endOfWhiteSpace(e,t){let r=e[t];for(;"\t"===r||" "===r;)r=e[t+=1];return t}static startOfLine(e,t){let r=e[t-1];if("\n"===r)return t;for(;r&&"\n"!==r;)r=e[t-=1];return t+1}static endOfBlockIndent(e,t,r){const n=T.endOfIndent(e,r);if(n>r+t)return n;{const t=T.endOfWhiteSpace(e,n),r=e[t];if(!r||"\n"===r)return t}return null}static atBlank(e,t,r){const n=e[t];return"\n"===n||"\t"===n||" "===n||r&&!n}static nextNodeIsIndented(e,t,r){return!(!e||t<0)&&(t>0||r&&"-"===e)}static normalizeOffset(e,t){const r=e[t];return r?"\n"!==r&&"\n"===e[t-1]?t-1:T.endOfWhiteSpace(e,t):t}static foldNewline(e,t,r){let n=0,i=!1,o="",s=e[t+1];for(;" "===s||"\t"===s||"\n"===s;){switch(s){case"\n":n=0,t+=1,o+="\n";break;case"\t":n<=r&&(i=!0),t=T.endOfWhiteSpace(e,t+2)-1;break;case" ":n+=1,t+=1}s=e[t+1]}return o||(o=" "),s&&n<=r&&(i=!0),{fold:o,offset:t,error:i}}constructor(e,t,r){Object.defineProperty(this,"context",{value:r||null,writable:!0}),this.error=null,this.range=null,this.valueRange=null,this.props=t||[],this.type=e,this.value=null}getPropValue(e,t,r){if(!this.context)return null;const{src:n}=this.context,i=this.props[e];return i&&n[i.start]===t?n.slice(i.start+(r?1:0),i.end):null}get anchor(){for(let e=0;e<this.props.length;++e){const t=this.getPropValue(e,n,!0);if(null!=t)return t}return null}get comment(){const e=[];for(let t=0;t<this.props.length;++t){const r=this.getPropValue(t,i,!0);null!=r&&e.push(r)}return e.length>0?e.join("\n"):null}commentHasRequiredWhitespace(e){const{src:t}=this.context;if(this.header&&e===this.header.end)return!1;if(!this.valueRange)return!1;const{end:r}=this.valueRange;return e!==r||T.atBlank(t,r-1)}get hasComment(){if(this.context){const{src:e}=this.context;
1850for(let t=0;t<this.props.length;++t)if(e[this.props[t].start]===i)return!0}return!1}get hasProps(){if(this.context){const{src:e}=this.context;for(let t=0;t<this.props.length;++t)if(e[this.props[t].start]!==i)return!0}return!1}get includesTrailingLines(){return!1}get jsonLike(){return-1!==[m,g,w,S].indexOf(this.type)}get rangeAsLinePos(){if(!this.range||!this.context)return;const e=P(this.range.start,this.context.root);if(!e)return;return{start:e,end:P(this.range.end,this.context.root)}}get rawValue(){if(!this.valueRange||!this.context)return null;const{start:e,end:t}=this.valueRange;return this.context.src.slice(e,t)}get tag(){for(let e=0;e<this.props.length;++e){const t=this.getPropValue(e,o,!1);if(null!=t){if("<"===t[1])return{verbatim:t.slice(2,-1)};{const[e,r,n]=t.match(/^(.*!)([^!]*)$/);return{handle:r,suffix:n}}}}return null}get valueRangeContainsNewline(){if(!this.valueRange||!this.context)return!1;const{start:e,end:t}=this.valueRange,{src:r}=this.context;for(let n=e;n<t;++n)if("\n"===r[n])return!0;return!1}parseComment(e){const{src:t}=this.context;if(t[e]===i){const r=T.endOfLine(t,e+1),n=new C(e,r);return this.props.push(n),r}return e}setOrigRanges(e,t){return this.range&&(t=this.range.setOrigRange(e,t)),this.valueRange&&this.valueRange.setOrigRange(e,t),this.props.forEach(r=>r.setOrigRange(e,t)),t}toString(){const{context:{src:e},range:t,value:r}=this;if(null!=r)return r;const n=e.slice(t.start,t.end);return T.addStringTerminator(e,t.end,n)}}class I extends Error{constructor(e,t,r){if(!r||!(t instanceof T))throw new Error(`Invalid arguments for new ${e}`);super(),this.name=e,this.message=r,this.source=t}makePretty(){if(!this.source)return;this.nodeType=this.source.type;const e=this.source.context&&this.source.context.root;if("number"===typeof this.offset){this.range=new C(this.offset,this.offset+1);const t=e&&P(this.offset,e);if(t){const e={line:t.line,col:t.col+1};this.linePos={start:t,end:e}}delete this.offset}else this.range=this.source.range,this.linePos=this.source.rangeAsLinePos;if(this.linePos){const{line:t,col:r}=this.linePos.start;this.message+=` at line ${t}, column ${r}`;const n=e&&j(this.linePos,e);n&&(this.message+=`:\n\n${n}\n`)}delete this.source}}class N extends I{constructor(e,t){super("YAMLReferenceError",e,t)}}class R extends I{constructor(e,t){super("YAMLSemanticError",e,t)}}class L extends I{constructor(e,t){super("YAMLSyntaxError",e,t)}}class D extends I{constructor(e,t){super("YAMLWarning",e,t)}}function M(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}class z extends T{static endOfLine(e,t,r){let n=e[t],i=t;for(;n&&"\n"!==n&&(!r||"["!==n&&"]"!==n&&"{"!==n&&"}"!==n&&","!==n);){const t=e[i+1];if(":"===n&&(!t||"\n"===t||"\t"===t||" "===t||r&&","===t))break;if((" "===n||"\t"===n)&&"#"===t)break;i+=1,n=t}return i}get strValue(){if(!this.valueRange||!this.context)return null;let{start:e,end:t}=this.valueRange;const{src:r}=this.context;let n=r[t-1];for(;e<t&&("\n"===n||"\t"===n||" "===n);)n=r[--t-1];let i="";for(let s=e;s<t;++s){const e=r[s];if("\n"===e){const{fold:e,offset:t}=T.foldNewline(r,s,-1);i+=e,s=t}else if(" "===e||"\t"===e){const n=s;let o=r[s+1];for(;s<t&&(" "===o||"\t"===o);)s+=1,o=r[s+1];"\n"!==o&&(i+=s>n?r.slice(n,s+1):e)}else i+=e}const o=r[e];switch(o){case"\t":return{errors:[new R(this,"Plain value cannot start with a tab character")],str:i};case"@":case"`":return{errors:[new R(this,`Plain value cannot start with reserved character ${o}`)],str:i};default:return i}}parseBlockValue(e){const{indent:t,inFlow:r,src:n}=this.context;let i=e,o=e;for(let s=n[i];"\n"===s&&!T.atDocumentBoundary(n,i+1);s=n[i]){const e=T.endOfBlockIndent(n,t,i+1);if(null===e||"#"===n[e])break;"\n"===n[e]?i=e:(o=z.endOfLine(n,e,r),i=o)}return this.valueRange.isEmpty()&&(this.valueRange.start=e),this.valueRange.end=o,o}parse(e,t){this.context=e;const{inFlow:r,src:n}=e;let i=t;const o=n[i];return o&&"#"!==o&&"\n"!==o&&(i=z.endOfLine(n,t,r)),this.valueRange=new C(t,i),i=T.endOfWhiteSpace(n,i),i=this.parseComment(i),this.hasComment&&!this.valueRange.isEmpty()||(i=this.parseBlockValue(i)),i}}class F extends T{constructor(){super(c)}get includesTrailingLines(){return!0}parse(e,t){return this.context=e,this.range=new C(t,t+1),t+1}}class B extends T{constructor(e,t){super(e,t),this.node=null}get includesTrailingLines(){return!!this.node&&this.node.includesTrailingLines}parse(e,t){this.context=e;const{parseNode:r,src:n}=e;let{atLineStart:i,lineStart:o}=e;i||this.type!==O||(this.error=new R(this,"Sequence items must not have preceding content on the same line"));const s=i?t-o:e.indent;let a=T.endOfWhiteSpace(n,t+1),l=n[a];const c="#"===l,p=[];let u=null;for(;"\n"===l||"#"===l;){if("#"===l){const e=T.endOfLine(n,a+1);p.push(new C(a,e)),a=e}else{i=!0,o=a+1;"\n"===n[T.endOfWhiteSpace(n,o)]&&0===p.length&&(u=new F,o=u.parse({src:n},o)),a=T.endOfIndent(n,o)}l=n[a]}if(T.nextNodeIsIndented(l,a-(o+s),this.type!==O)?this.node=r({atLineStart:i,inCollection:!1,indent:s,lineStart:o,parent:this},a):l&&o>t+1&&(a=o-1),this.node){if(u){const t=e.parent.items||e.parent.contents;t&&t.push(u)}p.length&&Array.prototype.push.apply(this.props,p),a=this.node.range.end}else if(c){const e=p[0];this.props.push(e),a=e.end}else a=T.endOfLine(n,t+1);const d=this.node?this.node.valueRange.end:a;return this.valueRange=new C(t,d),a}setOrigRanges(e,t){return t=super.setOrigRanges(e,t),this.node?this.node.setOrigRanges(e,t):t}toString(){const{context:{src:e},node:t,range:r,value:n}=this;if(null!=n)return n;const i=t?e.slice(r.start,t.range.start)+String(t):e.slice(r.start,r.end);return T.addStringTerminator(e,r.end,i)}}
1850class q extends T{constructor(){super(d)}parse(e,t){this.context=e;const r=this.parseComment(t);return this.range=new C(t,r),r}}function U(e){let t=e;for(;t instanceof B;)t=t.node;if(!(t instanceof V))return null;const r=t.items.length;let n=-1;for(let s=r-1;s>=0;--s){const e=t.items[s];if(e.type===d){const{indent:t,lineStart:r}=e.context;if(t>0&&e.range.start>=r+t)break;n=s}else{if(e.type!==c)break;n=s}}if(-1===n)return null;const i=t.items.splice(n,r-n),o=i[0].range.start;for(;t.range.end=o,t.valueRange&&t.valueRange.end>o&&(t.valueRange.end=o),t!==e;)t=t.context.parent;return i}class V extends T{static nextContentHasIndent(e,t,r){const n=T.endOfLine(e,t)+1,i=e[t=T.endOfWhiteSpace(e,n)];return!!i&&(t>=n+r||("#"===i||"\n"===i)&&V.nextContentHasIndent(e,t,r))}constructor(e){super(e.type===O?k:y);for(let r=e.props.length-1;r>=0;--r)if(e.props[r].start<e.context.lineStart){this.props=e.props.slice(0,r+1),e.props=e.props.slice(r+1);const t=e.props[0]||e.valueRange;e.range.start=t.start;break}this.items=[e];const t=U(e);t&&Array.prototype.push.apply(this.items,t)}get includesTrailingLines(){return this.items.length>0}parse(e,t){this.context=e;const{parseNode:r,src:n}=e;let i=T.startOfLine(n,t);const o=this.items[0];o.context.parent=this,this.valueRange=C.copy(o.valueRange);const s=o.range.start-o.context.lineStart;let a=t;a=T.normalizeOffset(n,a);let l=n[a],c=T.endOfWhiteSpace(n,i)===a,p=!1;for(;l;){for(;"\n"===l||"#"===l;){if(c&&"\n"===l&&!p){const e=new F;if(a=e.parse({src:n},a),this.valueRange.end=a,a>=n.length){l=null;break}this.items.push(e),a-=1}else if("#"===l){if(a<i+s&&!V.nextContentHasIndent(n,a,s))return a;const e=new q;if(a=e.parse({indent:s,lineStart:i,src:n},a),this.items.push(e),this.valueRange.end=a,a>=n.length){l=null;break}}if(i=a+1,a=T.endOfIndent(n,i),T.atBlank(n,a)){const e=T.endOfWhiteSpace(n,a),t=n[e];t&&"\n"!==t&&"#"!==t||(a=e)}l=n[a],c=!0}if(!l)break;if(a!==i+s&&(c||":"!==l)){if(a<i+s){i>t&&(a=i);break}if(!this.error){const e="All collection items must start at the same column";this.error=new L(this,e)}}if(o.type===O){if("-"!==l){i>t&&(a=i);break}}else if("-"===l&&!this.error){const e=n[a+1];if(!e||"\n"===e||"\t"===e||" "===e){const e="A collection cannot be both a mapping and a sequence";this.error=new L(this,e)}}const e=r({atLineStart:c,inCollection:!0,indent:s,lineStart:i,parent:this},a);if(!e)return a;
1850if(this.items.push(e),this.valueRange.end=e.valueRange.end,a=T.normalizeOffset(n,e.range.end),l=n[a],c=!1,p=e.includesTrailingLines,l){let e=a-1,t=n[e];for(;" "===t||"\t"===t;)t=n[--e];"\n"===t&&(i=e+1,c=!0)}const u=U(e);u&&Array.prototype.push.apply(this.items,u)}return a}setOrigRanges(e,t){return t=super.setOrigRanges(e,t),this.items.forEach(r=>{t=r.setOrigRanges(e,t)}),t}toString(){const{context:{src:e},items:t,range:r,value:n}=this;if(null!=n)return n;let i=e.slice(r.start,t[0].range.start)+String(t[0]);for(let o=1;o<t.length;++o){const e=t[o],{atLineStart:r,indent:n}=e.context;if(r)for(let t=0;t<n;++t)i+=" ";i+=String(e)}return T.addStringTerminator(e,r.end,i)}}class W extends T{constructor(){super(f),this.name=null}get parameters(){const e=this.rawValue;return e?e.trim().split(/[ \t]+/):[]}parseName(e){const{src:t}=this.context;let r=e,n=t[r];for(;n&&"\n"!==n&&"\t"!==n&&" "!==n;)n=t[r+=1];return this.name=t.slice(e,r),r}parseParameters(e){const{src:t}=this.context;let r=e,n=t[r];for(;n&&"\n"!==n&&"#"!==n;)n=t[r+=1];return this.valueRange=new C(e,r),r}parse(e,t){this.context=e;let r=this.parseName(t+1);return r=this.parseParameters(r),r=this.parseComment(r),this.range=new C(t,r),r}}class H extends T{static startCommentOrEndBlankLine(e,t){const r=T.endOfWhiteSpace(e,t),n=e[r];return"#"===n||"\n"===n?r:t}constructor(){super(h),this.directives=null,this.contents=null,this.directivesEndMarker=null,this.documentEndMarker=null}parseDirectives(e){const{src:t}=this.context;this.directives=[];let r=!0,n=!1,i=e;for(;!T.atDocumentBoundary(t,i,s);)switch(i=H.startCommentOrEndBlankLine(t,i),t[i]){case"\n":if(r){const e=new F;i=e.parse({src:t},i),i<t.length&&this.directives.push(e)}else i+=1,r=!0;break;case"#":{const e=new q;i=e.parse({src:t},i),this.directives.push(e),r=!1}break;case"%":{const e=new W;i=e.parse({parent:this,src:t},i),this.directives.push(e),n=!0,r=!1}break;default:return n?this.error=new R(this,"Missing directives-end indicator line"):this.directives.length>0&&(this.contents=this.directives,this.directives=[]),i}return t[i]?(this.directivesEndMarker=new C(i,i+3),i+3):(n?this.error=new R(this,"Missing directives-end indicator line"):this.directives.length>0&&(this.contents=this.directives,this.directives=[]),i)}parseContents(e){const{parseNode:t,src:r}=this.context;this.contents||(this.contents=[]);let n=e;for(;"-"===r[n-1];)n-=1;let i=T.endOfWhiteSpace(r,e),o=n===e;for(this.valueRange=new C(i);!T.atDocumentBoundary(r,i,a);){switch(r[i]){case"\n":if(o){const e=new F;i=e.parse({src:r},i),i<r.length&&this.contents.push(e)}else i+=1,o=!0;n=i;break;case"#":{const e=new q;i=e.parse({src:r},i),this.contents.push(e),o=!1}break;default:{const e=T.endOfIndent(r,i),s=t({atLineStart:o,indent:-1,inFlow:!1,inCollection:!1,lineStart:n,parent:this},e);
1850if(!s)return this.valueRange.end=e;this.contents.push(s),i=s.range.end,o=!1;const a=U(s);a&&Array.prototype.push.apply(this.contents,a)}}i=H.startCommentOrEndBlankLine(r,i)}if(this.valueRange.end=i,r[i]&&(this.documentEndMarker=new C(i,i+3),i+=3,r[i])){if(i=T.endOfWhiteSpace(r,i),"#"===r[i]){const e=new q;i=e.parse({src:r},i),this.contents.push(e)}switch(r[i]){case"\n":i+=1;break;case void 0:break;default:this.error=new L(this,"Document end marker line cannot have a non-comment suffix")}}return i}parse(e,t){e.root=this,this.context=e;const{src:r}=e;let n=65279===r.charCodeAt(t)?t+1:t;return n=this.parseDirectives(n),n=this.parseContents(n),n}setOrigRanges(e,t){return t=super.setOrigRanges(e,t),this.directives.forEach(r=>{t=r.setOrigRanges(e,t)}),this.directivesEndMarker&&(t=this.directivesEndMarker.setOrigRange(e,t)),this.contents.forEach(r=>{t=r.setOrigRanges(e,t)}),this.documentEndMarker&&(t=this.documentEndMarker.setOrigRange(e,t)),t}toString(){const{contents:e,directives:t,value:r}=this;if(null!=r)return r;let n=t.join("");return e.length>0&&((t.length>0||e[0].type===d)&&(n+="---\n"),n+=e.join("")),"\n"!==n[n.length-1]&&(n+="\n"),n}}class Q extends T{parse(e,t){this.context=e;const{src:r}=e;let n=T.endOfIdentifier(r,t+1);return this.valueRange=new C(t+1,n),n=T.endOfWhiteSpace(r,n),n=this.parseComment(n),n}}const G="CLIP",K="KEEP",Y="STRIP";class J extends T{constructor(e,t){super(e,t),this.blockIndent=null,this.chomping=G,this.header=null}get includesTrailingLines(){return this.chomping===K}get strValue(){if(!this.valueRange||!this.context)return null;let{start:e,end:t}=this.valueRange;const{indent:r,src:n}=this.context;if(this.valueRange.isEmpty())return"";let i=null,o=n[t-1];for(;"\n"===o||"\t"===o||" "===o;){if(t-=1,t<=e){if(this.chomping===K)break;return""}"\n"===o&&(i=t),o=n[t-1]}let s=t+1;i&&(this.chomping===K?(s=i,t=this.valueRange.end):t=i);const a=r+this.blockIndent,l=this.type===p;let c=!0,u="",d="",f=!1;for(let p=e;p<t;++p){for(let t=0;t<a&&" "===n[p];++t)p+=1;const e=n[p];if("\n"===e)"\n"===d?u+="\n":d="\n";else{const r=T.endOfLine(n,p),i=n.slice(p,r);p=r,l&&(" "===e||"\t"===e)&&p<s?(" "===d?d="\n":f||c||"\n"!==d||(d="\n\n"),u+=d+i,d=r<t&&n[r]||"",f=!0):(u+=d+i,d=l&&p<s?" ":"\n",f=!1),c&&""!==i&&(c=!1)}}return this.chomping===Y?u:u+"\n"}parseBlockHeader(e){const{src:t}=this.context;let r=e+1,n="";for(;;){const i=t[r];switch(i){case"-":this.chomping=Y;break;case"+":this.chomping=K;break;case"0":case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":n+=i;break;default:return this.blockIndent=Number(n)||null,this.header=new C(e,r),r}r+=1}}parseBlockValue(e){const{indent:t,src:r}=this.context,n=!!this.blockIndent;let i=e,o=e,s=1;for(let a=r[i];"\n"===a&&(i+=1,!T.atDocumentBoundary(r,i));a=r[i]){const e=T.endOfBlockIndent(r,t,i);if(null===e)break;const a=r[e],l=e-(i+t);if(this.blockIndent){if(a&&"\n"!==a&&l<this.blockIndent){if("#"===r[e])break;if(!this.error){const e=`Block scalars must not be less indented than their ${n?"explicit indentation indicator":"first line"}`;this.error=new R(this,e)}}}else if("\n"!==r[e]){if(l<s){const e="Block scalars with more-indented leading empty lines must use an explicit indentation indicator";this.error=new R(this,e)}this.blockIndent=l}else l>s&&(s=l);i="\n"===r[e]?e:o=T.endOfLine(r,e)}return this.chomping!==K&&(i=r[o]?o+1:o),this.valueRange=new C(e+1,i),i}parse(e,t){this.context=e;const{src:r}=e;let n=this.parseBlockHeader(t);return n=T.endOfWhiteSpace(r,n),n=this.parseComment(n),n=this.parseBlockValue(n),n}setOrigRanges(e,t){return t=super.setOrigRanges(e,t),this.header?this.header.setOrigRange(e,t):t}}class X extends T{constructor(e,t){super(e,t),this.items=null}prevNodeIsJsonLike(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.items.length;const t=this.items[e-1];return!!t&&(t.jsonLike||t.type===d&&this.prevNodeIsJsonLike(e-1))}parse(e,t){this.context=e;const{parseNode:r,src:n}=e;let{indent:i,lineStart:o}=e,s=n[t];this.items=[{char:s,offset:t}];let a=T.endOfWhiteSpace(n,t+1);for(s=n[a];s&&"]"!==s&&"}"!==s;){switch(s){case"\n":o=a+1;if("\n"===n[T.endOfWhiteSpace(n,o)]){const e=new F;o=e.parse({src:n},o),this.items.push(e)}if(a=T.endOfIndent(n,o),a<=o+i&&(s=n[a],a<o+i||"]"!==s&&"}"!==s)){const e="Insufficient indentation in flow collection";this.error=new R(this,e)}break;case",":this.items.push({char:s,offset:a}),a+=1;break;case"#":{const e=new q;a=e.parse({src:n},a),this.items.push(e)}break;case"?":case":":{const e=n[a+1];if("\n"===e||"\t"===e||" "===e||","===e||":"===s&&this.prevNodeIsJsonLike()){this.items.push({char:s,offset:a}),a+=1;break}}default:{const e=r({atLineStart:!1,inCollection:!1,inFlow:!0,indent:-1,lineStart:o,parent:this},a);if(!e)return this.valueRange=new C(t,a),a;this.items.push(e),a=T.normalizeOffset(n,e.range.end)}}a=T.endOfWhiteSpace(n,a),s=n[a]}return this.valueRange=new C(t,a+1),s&&(this.items.push({char:s,offset:a}),a=T.endOfWhiteSpace(n,a+1),a=this.parseComment(a)),a}setOrigRanges(e,t){return t=super.setOrigRanges(e,t),this.items.forEac
1850h(r=>{if(r instanceof T)t=r.setOrigRanges(e,t);else if(0===e.length)r.origOffset=r.offset;else{let n=t;for(;n<e.length&&!(e[n]>r.offset);)++n;r.origOffset=r.offset+n,t=n}}),t}toString(){const{context:{src:e},items:t,range:r,value:n}=this;if(null!=n)return n;const i=t.filter(e=>e instanceof T);let o="",s=r.start;return i.forEach(t=>{const r=e.slice(s,t.range.start);s=t.range.end,o+=r+String(t),"\n"===o[o.length-1]&&"\n"!==e[s-1]&&"\n"===e[s]&&(s+=1)}),o+=e.slice(s,r.end),T.addStringTerminator(e,r.end,o)}}class Z extends T{static endOfQuote(e,t){let r=e[t];for(;r&&'"'!==r;)r=e[t+="\\"===r?2:1];return t+1}get strValue(){if(!this.valueRange||!this.context)return null;const e=[],{start:t,end:r}=this.valueRange,{indent:n,src:i}=this.context;'"'!==i[r-1]&&e.push(new L(this,'Missing closing "quote'));let o="";for(let s=t+1;s<r-1;++s){const t=i[s];if("\n"===t){T.atDocumentBoundary(i,s+1)&&e.push(new R(this,"Document boundary indicators are not allowed within string values"));const{fold:t,offset:r,error:a}=T.foldNewline(i,s,n);o+=t,s=r,a&&e.push(new R(this,"Multi-line double-quoted string needs to be sufficiently indented"))}else if("\\"===t)switch(s+=1,i[s]){case"0":o+="\0";break;case"a":o+="\x07";break;case"b":o+="\b";break;case"e":o+="\x1b";break;case"f":o+="\f";break;case"n":o+="\n";break;case"r":o+="\r";break;case"t":case"\t":o+="\t";break;case"v":o+="\v";break;case"N":o+="\x85";break;case"_":o+="\xa0";break;case"L":o+="\u2028";break;case"P":o+="\u2029";break;case" ":o+=" ";break;case'"':o+='"';break;case"/":o+="/";break;case"\\":o+="\\";break;case"x":o+=this.parseCharCode(s+1,2,e),s+=2;break;case"u":o+=this.parseCharCode(s+1,4,e),s+=4;break;case"U":o+=this.parseCharCode(s+1,8,e),s+=8;break;case"\n":for(;" "===i[s+1]||"\t"===i[s+1];)s+=1;break;default:e.push(new L(this,`Invalid escape sequence ${i.substr(s-1,2)}`)),o+="\\"+i[s]}else if(" "===t||"\t"===t){const e=s;let r=i[s+1];for(;" "===r||"\t"===r;)s+=1,r=i[s+1];"\n"!==r&&(o+=s>e?i.slice(e,s+1):t)}else o+=t}return e.length>0?{errors:e,str:o}:o}parseCharCode(e,t,r){const{src:n}=this.context,i=n.substr(e,t),o=i.length===t&&/^[0-9a-fA-F]+$/.test(i)?parseInt(i,16):NaN;return isNaN(o)?(r.push(new L(this,`Invalid escape sequence ${n.substr(e-2,t+2)}`)),n.substr(e-2,t+2)):String.fromCodePoint(o)}parse(e,t){this.context=e;const{src:r}=e;let n=Z.endOfQuote(r,t+1);return this.valueRange=new C(t,n),n=T.endOfWhiteSpace(r,n),n=this.parseComment(n),n}}class ee extends T{static endOfQuote(e,t){let r=e[t];for(;r;)if("'"===r){if("'"!==e[t+1])break;r=e[t+=2]}else r=e[t+=1];return t+1}get strValue(){if(!this.valueRange||!this.context)return null;const e=[],{start:t,end:r}=this.valueRange,{indent:n,src:i}=this.context;"'"!==i[r-1]&&e.push(new L(this,"Missing closing 'quote"));let o="";for(let s=t+1;
1850s<r-1;++s){const t=i[s];if("\n"===t){T.atDocumentBoundary(i,s+1)&&e.push(new R(this,"Document boundary indicators are not allowed within string values"));const{fold:t,offset:r,error:a}=T.foldNewline(i,s,n);o+=t,s=r,a&&e.push(new R(this,"Multi-line single-quoted string needs to be sufficiently indented"))}else if("'"===t)o+=t,s+=1,"'"!==i[s]&&e.push(new L(this,"Unescaped single quote? This should not happen."));else if(" "===t||"\t"===t){const e=s;let r=i[s+1];for(;" "===r||"\t"===r;)s+=1,r=i[s+1];"\n"!==r&&(o+=s>e?i.slice(e,s+1):t)}else o+=t}return e.length>0?{errors:e,str:o}:o}parse(e,t){this.context=e;const{src:r}=e;let n=ee.endOfQuote(r,t+1);return this.valueRange=new C(t,n),n=T.endOfWhiteSpace(r,n),n=this.parseComment(n),n}}class te{static parseType(e,t,r){switch(e[t]){case"*":return l;case">":return p;case"|":return u;case"{":return m;case"[":return g;case"?":return!r&&T.atBlank(e,t+1,!0)?b:x;case":":return!r&&T.atBlank(e,t+1,!0)?v:x;case"-":return!r&&T.atBlank(e,t+1,!0)?O:x;case'"':return w;case"'":return S;default:return x}}constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{atLineStart:t,inCollection:r,inFlow:n,indent:i,lineStart:o,parent:s}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};M(this,"parseNode",(e,t)=>{if(T.atDocumentBoundary(this.src,t))return null;const r=new te(this,e),{props:n,type:i,valueStart:o}=r.parseProps(t),s=function(e,t){switch(e){case l:return new Q(e,t);case p:case u:return new J(e,t);case m:case g:return new X(e,t);case b:case v:case O:return new B(e,t);case d:case x:return new z(e,t);case w:return new Z(e,t);case S:return new ee(e,t);default:return null}}(i,n);let a=t;try{a=s.parse(r,o)}catch(c){const e=c instanceof Error?c.message:String(c);s.error||(s.error=new L(s,e))}if(s.range=new C(t,a),a<=t&&(s.error||(s.error=new Error("Node#parse consumed no characters")),s.error.parseEnd=a,s.error.source=s,s.range.end=t+1),r.nodeStartsCollection(s)){s.error||r.atLineStart||r.parent.type!==h||(s.error=new L(s,"Block collection must not have preceding content here (e.g. directives-end indicator)"));const e=new V(s);return a=e.parse(new te(r),a),e.range=new C(t,a),e}return s}),this.atLineStart=null!=t?t:e.atLineStart||!1,this.inCollection=null!=r?r:e.inCollection||!1,this.inFlow=null!=n?n:e.inFlow||!1,this.indent=null!=i?i:e.indent,this.lineStart=null!=o?o:e.lineStart,this.parent=null!=s?s:e.parent||{},this.root=e.root,this.src=e.src}nodeStartsCollection(e){const{inCollection:t,inFlow:r,src:n}=this;if(t||r)return!1;if(e instanceof B)return!0;let i=e.range.end;return"\n"!==n[i]&&"\n"!==n[i-1]&&(i=T.endOfWhiteSpace(n,i),":"===n[i])}parseProps(e){const{inFlow:t,parent:r,src:s}=this,a=[];let l=!1,c=s[e=this.atLineStart?T.endOfIndent(s,e):T.endOfWhiteSpace(s,e)];for(;c===n||c===i||c===o||"\n"===c;){if("\n"===c){let t,n=e;do{t=n+1,n=T.endOfIndent(s,t)}while("\n"===s[n]);const i=n-(t+this.indent),o=r.type===O&&r.context.atLineStart;if("#"!==s[n]&&!T.nextNodeIsIndented(s[n],i,!o))break;this.atLineStart=!0,this.lineStart=t,l=!1,e=n}else if(c===i){const t=T.endOfLine(s,e+1);a.push(new C(e,t)),e=t}else{let t=T.endOfIdentifier(s,e+1);c===o&&","===s[t]&&/^[a-zA-Z0-9-]+\.[a-zA-Z0-9-]+,\d\d\d\d(-\d\d){0,2}\/\S/.test(s.slice(e+1,t+13))&&(t=T.endOfIdentifier(s,t+5)),a.push(new C(e,t)),l=!0,e=T.endOfWhiteSpace(s,t)}c=s[e]}l&&":"===c&&T.atBlank(s,e+1,!0)&&(e-=1);return{props:a,type:te.parseType(s,e,t),valueStart:e}}}function re(e){const t=[];-1!==e.indexOf("\r")&&(e=e.replace(/\r\n?/g,(e,r)=>(e.length>1&&t.push(r),"\n")));const r=[];let n=0;do{const t=new H,i=new te({src:e});n=t.parse(i,n),r.push(t)}while(n<e.length);return r.setOrigRanges=()=>
1850{if(0===t.length)return!1;for(let r=1;r<t.length;++r)t[r]-=r;let e=0;for(let n=0;n<r.length;++n)e=r[n].setOrigRanges(t,e);return t.splice(0,t.length),!0},r.toString=()=>r.join("...\n"),r}function ne(e,t,r){return r?-1===r.indexOf("\n")?`${e} #${r}`:`${e}\n`+r.replace(/^/gm,`${t||""}#`):e}class ie{}function oe(e,t,r){if(Array.isArray(e))return e.map((e,t)=>oe(e,String(t),r));if(e&&"function"===typeof e.toJSON){const n=r&&r.anchors&&r.anchors.get(e);n&&(r.onCreate=e=>{n.res=e,delete r.onCreate});const i=e.toJSON(t,r);return n&&r.onCreate&&r.onCreate(i),i}return r&&r.keep||"bigint"!==typeof e?e:Number(e)}class se extends ie{constructor(e){super(),this.value=e}toJSON(e,t){return t&&t.keep?this.value:oe(this.value,e,t)}toString(){return String(this.value)}}function ae(e,t,r){let n=r;for(let i=t.length-1;i>=0;--i){const e=t[i];if(Number.isInteger(e)&&e>=0){const t=[];t[e]=n,n=t}else{const t={};Object.defineProperty(t,e,{value:n,writable:!0,enumerable:!0,configurable:!0}),n=t}}return e.createNode(n,!1)}const le=e=>null==e||"object"===typeof e&&e[Symbol.iterator]().next().done;class ce extends ie{constructor(e){super(),M(this,"items",[]),this.schema=e}addIn(e,t){if(le(e))this.add(t);else{const[r,...n]=e,i=this.get(r,!0);if(i instanceof ce)i.addIn(n,t);else{if(void 0!==i||!this.schema)throw new Error(`Expected YAML collection at ${r}. Remaining path: ${n}`);this.set(r,ae(this.schema,n,t))}}}deleteIn(e){let[t,...r]=e;if(0===r.length)return this.delete(t);const n=this.get(t,!0);if(n instanceof ce)return n.deleteIn(r);throw new Error(`Expected YAML collection at ${t}. Remaining path: ${r}`)}getIn(e,t){let[r,...n]=e;const i=this.get(r,!0);return 0===n.length?!t&&i instanceof se?i.value:i:i instanceof ce?i.getIn(n,t):void 0}hasAllNullValues(){return this.items.every(e=>{if(!e||"PAIR"!==e.type)return!1;const t=e.value;return null==t||t instanceof se&&null==t.value&&!t.commentBefore&&!t.comment&&!t.tag})}hasIn(e){let[t,...r]=e;if(0===r.length)return this.has(t);const n=this.get(t,!0);return n instanceof ce&&n.hasIn(r)}setIn(e,t){let[r,...n]=e;if(0===n.length)this.set(r,t);else{const e=this.get(r,!0);if(e instanceof ce)e.setIn(n,t);else{if(void 0!==e||!this.schema)throw new Error(`Expected YAML collection at ${r}. Remaining path: ${n}`);this.set(r,ae(this.schema,n,t))}}}toJSON(){return null}toString(e,t,r,n){let{blockItem:i,flowChars:o,isMap:s,itemIndent:a}=t;const{indent:l,indentStep:c,stringify:p}=e,u=this.type===m||this.type===g||e.inFlow;u&&(a+=c);const d=s&&this.hasAllNullValues();e=Object.assign({},e,{allNullValues:d,indent:a,inFlow:u,type:null});let f=!1,h=!1;const y=this.items.reduce((t,r,n)=>{let i;r&&(!f&&r.spaceBefore&&t.push({type:"comment",str:""}),r.commentBefore&&r.commentBefore.match(/^.*$/gm).forEach(e=>{t.push({type:"comment",str:`#${e}`})}),r.comment&&(i=r.comment),u&&(!f&&r.spaceBefore||r.commentBefore||r.comment||r.key&&(r.key.commentBefore||r.key.comment)||r.value&&(r.value.commentBefore||r.value.comment))&&(h=!0)),f=!1;let o=p(r,e,()=>i=null,()=>f=!0);return u&&!h&&o.includes("\n")&&(h=!0),u&&n<this.items.length-1&&(o+=","),o=ne(o,a,i),f&&(i||u)&&(f=!1),t.push({type:"item",str:o}),t},[]);let b;if(0===y.length)b=o.start+o.end;else if(u){const{start:e,end:t}=o,r=y.map(e=>e.str);if(h||r.reduce((e,t)=>e+t.length+2,2)>ce.maxFlowStringSingleLineLength){b=e;for(const e of r)b+=e?`\n${c}${l}${e}`:"\n";b+=`\n${l}${t}`}else b=`${e} ${r.join(" ")} ${t}`}else{const e=y.map(i);b=e.shift();for(const t of e)b+=t?`\n${l}${t}`:"\n"}return this.comment?(b+="\n"+this.comment.replace(/^/gm,`${l}#`),r&&r()):f&&n&&n(),b}}function pe(e){let t=e instanceof se?e.value:e;return t&&"string"===typeof t&&(t=Number(t)),Number.isInteger(t)&&t>=0?t:null}M(ce,"maxFlowStringSingleLineLength",60);class ue extends ce{add(e){this.items.push(e)}delete(e){const t=pe(e);if("number"!==typeof t)return!1;return this.items.splice(t,1).length>0}get(e,t){const r=pe(e);if("number"!==typeof r)return;const n=this.items[r];return!t&&n instanceof se?n.value:n}has(e){const t=pe(e);return"number"===typeof t&&t<this.items.length}set(e,t){const r=pe(e);if("number"!==typeof r)throw new Error(`Expected a valid index, not ${e}.`);this.items[r]=t}toJSON(e,t){const r=[];t&&t.onCreate&&t.onCreate(r);let n=0;for(const i of this.items)r.push(oe(i,String(n++),t));return r}toString(e,t,r){return e?super.toString(e,{blockItem:e=>
1850"comment"===e.type?e.str:`- ${e.str}`,flowChars:{start:"[",end:"]"},isMap:!1,itemIndent:(e.indent||"")+"  "},t,r):JSON.stringify(this)}}class de extends ie{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;super(),this.key=e,this.value=t,this.type=de.Type.PAIR}get commentBefore(){return this.key instanceof ie?this.key.commentBefore:void 0}set commentBefore(e){if(null==this.key&&(this.key=new se(null)),!(this.key instanceof ie)){throw new Error("Pair.commentBefore is an alias for Pair.key.commentBefore. To set it, the key must be a Node.")}this.key.commentBefore=e}addToJSMap(e,t){const r=oe(this.key,"",e);if(t instanceof Map){const n=oe(this.value,r,e);t.set(r,n)}else if(t instanceof Set)t.add(r);else{const n=((e,t,r)=>null===t?"":"object"!==typeof t?String(t):e instanceof ie&&r&&r.doc?e.toString({anchors:Object.create(null),doc:r.doc,indent:"",indentStep:r.indentStep,inFlow:!0,inStringifyKey:!0,stringify:r.stringify}):JSON.stringify(t))(this.key,r,e),i=oe(this.value,n,e);n in t?Object.defineProperty(t,n,{value:i,writable:!0,enumerable:!0,configurable:!0}):t[n]=i}return t}toJSON(e,t){const r=t&&t.mapAsMap?new Map:{};return this.addToJSMap(t,r)}toString(e,t,r){if(!e||!e.doc)return JSON.stringify(this);const{indent:n,indentSeq:i,simpleKeys:o}=e.doc.options;let{key:s,value:a}=this,l=s instanceof ie&&s.comment;if(o){if(l)throw new Error("With simple keys, key nodes cannot have comments");if(s instanceof ce){throw new Error("With simple keys, collection cannot be used as a key value")}}let c=!o&&(!s||l||(s instanceof ie?s instanceof ce||s.type===p||s.type===u:"object"===typeof s));const{doc:d,indent:f,indentStep:h,stringify:m}=e;e=Object.assign({},e,{implicitKey:!c,indent:f+h});let y=!1,b=m(s,e,()=>l=null,()=>y=!0);if(b=ne(b,e.indent,l),!c&&b.length>1024){if(o)throw new Error("With simple keys, single line scalar must not span more than 1024 characters");c=!0}if(e.allNullValues&&!o)return this.comment?(b=ne(b,e.indent,this.comment),t&&t()):y&&!l&&r&&r(),e.inFlow&&!c?b:`? ${b}`;b=c?`? ${b}\n${f}:`:`${b}:`,this.comment&&(b=ne(b,e.indent,this.comment),t&&t());let v="",x=null;if(a instanceof ie){if(a.spaceBefore&&(v="\n"),a.commentBefore){v+=`\n${a.commentBefore.replace(/^/gm,`${e.indent}#`)}`}x=a.comment}else a&&"object"===typeof a&&(a=d.schema.createNode(a,!0));e.implicitKey=!1,!c&&!this.comment&&a instanceof se&&(e.indentAtStart=b.length+1),y=!1,!i&&n>=2&&!e.inFlow&&!c&&a instanceof ue&&a.type!==g&&!a.tag&&!d.anchors.getName(a)&&(e.indent=e.indent.substr(2));const w=m(a,e,()=>x=null,()=>y=!0);let S=" ";if(v||this.comment)S=`${v}\n${e.indent}`;else if(!c&&a instanceof ce){("["===w[0]||"{"===w[0])&&!w.includes("\n")||(S=`\n${e.indent}`)}else"\n"===w[0]&&(S="");return y&&!x&&r&&r(),ne(b+S+w,e.indent,x)}}M(de,"Type",{PAIR:"PAIR",MERGE_PAIR:"MERGE_PAIR"});const fe=(e,t)=>{if(e instanceof he){const r=t.get(e.source);return r.count*r.aliasCount}if(e instanceof ce){let r=0;for(const n of e.items){const e=fe(n,t);e>r&&(r=e)}return r}if(e instanceof de){const r=fe(e.key,t),n=fe(e.value,t);return Math.max(r,n)}return 1};class he extends ie{static stringify(e,t){let{range:r,source:n}=e,{anchors:i,doc:o,implicitKey:s,inStringifyKey:a}=t,l=Object.keys(i).find(e=>i[e]===n);if(!l&&a&&(l=o.anchors.getName(n)||o.anchors.newName()),l)return`*${l}${s?" ":""}`;const c=o.anchors.getName(n)?"Alias node must be after source node":"Source node not found for alias node";throw new Error(`${c} [${r}]`)}constructor(e){super(),this.source=e,this.type=l}set tag(e){throw new Error("Alias nodes cannot have tags")}toJSON(e,t){if(!t)return oe(this.source,e,t);const{anchors:r,maxAliasCount:n}=t,i=r.get(this.source);if(!i||void 0===i.res){const e="This should not happen: Alias anchor was not resolved?";throw this.cstNode?new N(this.cstNode,e):new ReferenceError(e)}if(n>=0&&(i.count+=1,0===i.aliasCount&&(i.aliasCount=fe(this.source,r)),i.count*i.aliasCount>
1850n)){const e="Excessive alias count indicates a resource exhaustion attack";throw this.cstNode?new N(this.cstNode,e):new ReferenceError(e)}return i.res}toString(e){return he.stringify(this,e)}}function me(e,t){const r=t instanceof se?t.value:t;for(const n of e)if(n instanceof de){if(n.key===t||n.key===r)return n;if(n.key&&n.key.value===r)return n}}M(he,"default",!0);class ge extends ce{add(e,t){e?e instanceof de||(e=new de(e.key||e,e.value)):e=new de(e);const r=me(this.items,e.key),n=this.schema&&this.schema.sortMapEntries;if(r){if(!t)throw new Error(`Key ${e.key} already set`);r.value=e.value}else if(n){const t=this.items.findIndex(t=>n(e,t)<0);-1===t?this.items.push(e):this.items.splice(t,0,e)}else this.items.push(e)}delete(e){const t=me(this.items,e);if(!t)return!1;return this.items.splice(this.items.indexOf(t),1).length>0}get(e,t){const r=me(this.items,e),n=r&&r.value;return!t&&n instanceof se?n.value:n}has(e){return!!me(this.items,e)}set(e,t){this.add(new de(e,t),!0)}toJSON(e,t,r){const n=r?new r:t&&t.mapAsMap?new Map:{};t&&t.onCreate&&t.onCreate(n);for(const i of this.items)i.addToJSMap(t,n);return n}toString(e,t,r){if(!e)return JSON.stringify(this);for(const n of this.items)if(!(n instanceof de))throw new Error(`Map items must all be pairs; found ${JSON.stringify(n)} instead`);return super.toString(e,{blockItem:e=>e.str,flowChars:{start:"{",end:"}"},isMap:!0,itemIndent:e.indent||""},t,r)}}class ye extends de{constructor(e){if(e instanceof de){let t=e.value;t instanceof ue||(t=new ue,t.items.push(e.value),t.range=e.value.range),super(e.key,t),this.range=e.range}else super(new se("<<"),new ue);this.type=de.Type.MERGE_PAIR}addToJSMap(e,t){for(const{source:r}of this.value.items){if(!(r instanceof ge))throw new Error("Merge sources must be maps");const n=r.toJSON(null,e,Map);for(const[e,r]of n)t instanceof Map?t.has(e)||t.set(e,r):t instanceof Set?t.add(e):Object.prototype.hasOwnProperty.call(t,e)||Object.defineProperty(t,e,{value:r,writable:!0,enumerable:!0,configurable:!0})}return t}toString(e,t){const r=this.value;if(r.items.length>1)return super.toString(e,t);this.value=r.items[0];const n=super.toString(e,t);return this.value=r,n}}const be={defaultType:u,lineWidth:76},ve={trueStr:"true",falseStr:"false"},xe={asBigInt:!1},we={nullStr:"null"},Se={defaultType:x,doubleQuoted:{jsonEncoding:!1,minMultiLineLength:40},fold:{lineWidth:80,minContentWidth:20}};function ke(e,t,r){for(const{format:n,test:i,resolve:o}of t)if(i){const t=e.match(i);if(t){let e=o.apply(null,t);return e instanceof se||(e=new se(e)),n&&(e.format=n),e}}return r&&(e=r(e)),new se(e)}const Oe="flow",Ee="block",_e="quoted",$e=(e,t)=>{let r=e[t+1];for(;" "===r||"\t"===r;){do{r=e[t+=1]}while(r&&"\n"!==r);r=e[t+1]}return t};function Ae(e,t,r,n){let{indentAtStart:i,lineWidth:o=80,minContentWidth:s=20,onFold:a,onOverflow:l}=n;if(!o||o<0)return e;const c=Math.max(1+s,1+o-t.length);if(e.length<=c)return e;const p=[],u={};let d,f,h=o-t.length;"number"===typeof i&&(i>o-Math.max(2,s)?p.push(0):h=o-i);let m=!1,g=-1,y=-1,b=-1;r===Ee&&(g=$e(e,g),-1!==g&&(h=g+c));for(let x;x=e[g+=1];){if(r===_e&&"\\"===x){switch(y=g,e[g+1]){case"x":g+=3;break;case"u":g+=5;break;case"U":g+=9;break;default:g+=1}b=g}if("\n"===x)r===Ee&&(g=$e(e,g)),h=g+c,d=void 0;else{if(" "===x&&f&&" "!==f&&"\n"!==f&&"\t"!==f){const t=e[g+1];t&&" "!==t&&"\n"!==t&&"\t"!==t&&(d=g)}if(g>=h)if(d)p.push(d),h=d+c,d=void 0;else if(r===_e){for(;" "===f||"\t"===f;)f=x,x=e[g+=1],m=!0;const t=g>b+1?g-2:y-1;if(u[t])return e;p.push(t),u[t]=!0,h=t+c,d=void 0}else m=!0}f=x}if(m&&l&&l(),0===p.length)return e;a&&a();let v=e.slice(0,p[0]);for(let x=0;x<p.length;++x){const n=p[x],i=p[x+1]||e.length;0===n?v=`\n${t}${e.slice(0,i)}`:(r===_e&&u[n]&&(v+=`${e[n]}\\`),v+=`\n${t}${e.slice(n+1,i)}`)}return v}const Pe=e=>{let{indentAtStart:t}=e;return t?Object.assign({indentAtStart:t},Se.fold):Se.fold},je=e=>/^(%|---|\.\.\.)/m.test(e);function Ce(e,t){const{implicitKey:r}=t,{jsonEncoding:n,minMultiLineLength:i}=Se.doubleQuoted,o=JSON.stringify(e);if(n)return o;const s=t.indent||(je(e)?"  ":"");let a="",l=0;for(let c=0,p=o[c];p;p=o[++c])if(" "===p&&"\\"===o[c+1]&&"n"===o[c+2]&&(a+=o.slice(l,c)+"\\ ",c+=1,l=c,p="\\"),"\\"===p)switch(o[c+1]){case"u":{a+=o.slice(l,c);const e=o.substr(c+2,4);switch(e){case"0000":a+="\\0";break;case"0007":a+="\\a";break;case"000b":a+="\\v";break;case"001b":a+="\\e";break;case"0085":a+="\\N";break;case"00a0":a+="\\_";break;case"2028":a+="\\L";break;case"2029":a+="\\P";break;default:"00"===e.substr(0,2)?a+="\\x"+e.substr(2):a+=o.substr(c,6)}c+=5,l=c+1}break;case"n":if(r||'"'===o[c+2]||o.length<i)c+=1;else{for(a+=o.slice(l,c)+"\n\n";"\\"===o[c+2]&&"n"===o[c+3]&&'"'!==o[c+4];)a+="\n",c+=2;a+=s," "===o[c+2]&&(a+="\\"),c+=1,l=c+1}break;default:c+=1}return a=l?a+o.slice(l):o,r?a:Ae(a,s,_e,Pe(t))}function Te(e,t){if(t.implicitKey){if(/\n/.test(e))return Ce(e,t)}else if(/[ \t]\n|\n[ \t]/.test(e))return Ce(e,t);const r=t.indent||(je(e)?"  ":""),n="'"+e.replace(/'/g,"''").replace(/\n+/g,`$&\n${r}`)+"'";return t.implicitKey?n:Ae(n,r,Oe,Pe(t))}function Ie(e,t,r,n){let{comment:i,type:o,value:s}=e;if(/\n[\t ]+$/.test(s)||/^\s*$/.test(s))return Ce(s,t);const a=t.indent||(t.forceBlockIndent||je(s)?"  ":""),l=a?"2":"1",c=o!==p&&(o===u||!function(e,t,r){if(!t||t<0)return!1;const n=t-r,i=e.length;if(i<=n)return!1;for(let o=0,s=0;o<i;++o)if("\n"===e[o]){if(o-s>n)return!0;
1850if(s=o+1,i-s<=n)return!1}return!0}(s,Se.fold.lineWidth,a.length));let d=c?"|":">";if(!s)return d+"\n";let f="",h="";if(s=s.replace(/[\n\t ]*$/,e=>{const t=e.indexOf("\n");return-1===t?d+="-":s!==e&&t===e.length-1||(d+="+",n&&n()),h=e.replace(/\n$/,""),""}).replace(/^[\n ]*/,e=>{-1!==e.indexOf(" ")&&(d+=l);const t=e.match(/ +$/);return t?(f=e.slice(0,-t[0].length),t[0]):(f=e,"")}),h&&(h=h.replace(/\n+(?!\n|$)/g,`$&${a}`)),f&&(f=f.replace(/\n+/g,`$&${a}`)),i&&(d+=" #"+i.replace(/ ?[\r\n]+/g," "),r&&r()),!s)return`${d}${l}\n${a}${h}`;if(c)return s=s.replace(/\n+/g,`$&${a}`),`${d}\n${a}${f}${s}${h}`;s=s.replace(/\n+/g,"\n$&").replace(/(?:^|\n)([\t ].*)(?:([\n\t ]*)\n(?![\n\t ]))?/g,"$1$2").replace(/\n+/g,`$&${a}`);const m=Ae(`${f}${s}${h}`,a,Ee,Se.fold);return`${d}\n${a}${m}`}function Ne(e,t,r,n){const{defaultType:i}=Se,{implicitKey:o,inFlow:s}=t;let{type:a,value:l}=e;"string"!==typeof l&&(l=String(l),e=Object.assign({},e,{value:l}));const c=i=>{switch(i){case p:case u:return Ie(e,t,r,n);case w:return Ce(l,t);case S:return Te(l,t);case x:return function(e,t,r,n){const{comment:i,type:o,value:s}=e,{actualString:a,implicitKey:l,indent:c,inFlow:p}=t;if(l&&/[\n[\]{},]/.test(s)||p&&/[[\]{},]/.test(s))return Ce(s,t);if(!s||/^[\n\t ,[\]{}#&*!|>'"%@`]|^[?-]$|^[?-][ \t]|[\n:][ \t]|[ \t]\n|[\n\t ]#|[\n\t :]$/.test(s))return l||p||-1===s.indexOf("\n")?-1!==s.indexOf('"')&&-1===s.indexOf("'")?Te(s,t):Ce(s,t):Ie(e,t,r,n);if(!l&&!p&&o!==x&&-1!==s.indexOf("\n"))return Ie(e,t,r,n);if(""===c&&je(s))return t.forceBlockIndent=!0,Ie(e,t,r,n);const u=s.replace(/\n+/g,`$&\n${c}`);if(a){const{tags:e}=t.doc.schema;if("string"!==typeof ke(u,e,e.scalarFallback).value)return Ce(s,t)}const d=l?u:Ae(u,c,Oe,Pe(t));return!i||p||-1===d.indexOf("\n")&&-1===i.indexOf("\n")?d:(r&&r(),function(e,t,r){return r?`#${r.replace(/[\s\S]^/gm,`$&${t}#`)}\n${t}${e}`:e}(d,c,i))}(e,t,r,n);default:return null}};a!==w&&/[\x00-\x08\x0b-\x1f\x7f-\x9f]/.test(l)?a=w:!o&&!s||a!==p&&a!==u||(a=w);let d=c(a);if(null===d&&(d=c(i),null===d))throw new Error(`Unsupported default string type ${i}`);return d}function Re(e){let{format:t,minFractionDigits:r,tag:n,value:i}=e;if("bigint"===typeof i)return String(i);if(!isFinite(i))return isNaN(i)?".nan":i<0?"-.inf":".inf";let o=JSON.stringify(i);if(!t&&r&&(!n||"tag:yaml.org,2002:float"===n)&&/^\d/.test(o)){let e=o.indexOf(".");e<0&&(e=o.length,o+=".");let t=r-(o.length-e-1);for(;t-- >0;)o+="0"}return o}function Le(e,t){let r,n,i;switch(t.type){case m:r="}",n="flow map";break;case g:r="]",n="flow sequence";break;default:return void e.push(new R(t,"Not a flow collection!?"))}for(let o=t.items.length-1;o>=0;--o){const e=t.items[o];if(!e||e.type!==d){i=e;break}}if(i&&i.char!==r){const o=`Expected ${n} to end with ${r}`;let s;"number"===typeof i.offset?(s=new R(t,o),s.offset=i.offset+1):(s=new R(i,o),i.range&&i.range.end&&(s.offset=i.range.end-i.range.start)),e.push(s)}}function De(e,t){const r=t.context.src[t.range.start-1];if("\n"!==r&&"\t"!==r&&" "!==r){const r="Comments must be separated from other tokens by white space characters";e.push(new R(t,r))}}function Me(e,t){const r=String(t),n=r.substr(0,8)+"..."+r.substr(-8);return new R(e,`The "${n}" key is too long`)}function ze(e,t){for(const{afterKey:r,before:n,comment:i}of t){let t=e.items[n];t?(r&&t.value&&(t=t.value),void 0===i?!r&&t.commentBefore||(t.spaceBefore=!0):t.commentBefore?t.commentBefore+="\n"+i:t.commentBefore=i):void 0!==i&&(e.comment?e.comment+="\n"+i:e.comment=i)}}function Fe(e,t){const r=t.strValue;return r?"string"===typeof r?r:(r.errors.forEach(r=>{r.source||(r.source=t),e.errors.push(r)}),r.str):""}function Be(e,t){const{tag:r,type:n}=t;let i=!1;if(r){const{handle:n,suffix:s,verbatim:a}=r;if(a){if("!"!==a&&"!!"!==a)return a;const r=`Verbatim tags aren't resolved, so ${a} is invalid.`;e.errors.push(new R(t,r))}else if("!"!==n||s)try{return function(e,t){const{handle:r,suffix:n}=t.tag;let i=e.tagPrefixes.find(e=>e.handle===r);if(!i){const n=e.getDefaults().tagPrefixes;if(n&&(i=n.find(e=>e.handle===r)),!i)throw new R(t,`The ${r} tag handle is non-default and was not declared.`)}if(!n)throw new R(t,`The ${r} tag has no suffix.`);
1850if("!"===r&&"1.0"===(e.version||e.options.version)){if("^"===n[0])return e.warnings.push(new D(t,"YAML 1.0 ^ tag expansion is not supported")),n;if(/[:/]/.test(n)){const e=n.match(/^([a-z0-9-]+)\/(.*)/i);return e?`tag:${e[1]}.yaml.org,2002:${e[2]}`:`tag:${n}`}}return i.prefix+decodeURIComponent(n)}(e,t)}catch(o){e.errors.push(o)}else i=!0}switch(n){case p:case u:case w:case S:return _.STR;case m:case y:return _.MAP;case g:case k:return _.SEQ;case x:return i?_.STR:null;default:return null}}function qe(e,t,r){const{tags:n}=e.schema,i=[];for(const s of n)if(s.tag===r){if(!s.test){const r=s.resolve(e,t);return r instanceof ce?r:new se(r)}i.push(s)}const o=Fe(e,t);return"string"===typeof o&&i.length>0?ke(o,i,n.scalarFallback):null}function Ue(e,t,r){try{const n=qe(e,t,r);if(n)return r&&t.tag&&(n.tag=r),n}catch(n){if(n instanceof I)n.source||(n.source=t),e.errors.push(n);else{const r=n instanceof Error?n.message:String(n);e.errors.push(new R(t,r))}return null}try{const n=function(e){let{type:t}=e;switch(t){case m:case y:return _.MAP;case g:case k:return _.SEQ;default:return _.STR}}(t);if(!n)throw new Error(`The tag ${r} is unavailable`);const i=`The tag ${r} is unavailable, falling back to ${n}`;e.warnings.push(new D(t,i));const o=qe(e,t,n);return o.tag=r,o}catch(n){const r=new N(t,n.message);return r.stack=n.stack,e.errors.push(r),null}}function Ve(e,t){const r={before:[],after:[]};let s=!1,a=!1;const l=(e=>{if(!e)return!1;const{type:t}=e;return t===b||t===v||t===O})(t.context.parent)?t.context.parent.props.concat(t.props):t.props;for(const{start:c,end:p}of l)switch(t.context.src[c]){case i:{if(!t.commentHasRequiredWhitespace(c)){const r="Comments must be separated from other tokens by white space characters";e.push(new R(t,r))}const{header:n,valueRange:i}=t;(i&&(c>i.start||n&&c>n.start)?r.after:r.before).push(t.context.src.slice(c+1,p));break}case n:if(s){const r="A node can have at most one anchor";e.push(new R(t,r))}s=!0;break;case o:if(a){const r="A node can have at most one tag";e.push(new R(t,r))}a=!0}return{comments:r,hasAnchor:s,hasTag:a}}function We(e,t){if(!t)return null;t.error&&e.errors.push(t.error);const{comments:r,hasAnchor:n,hasTag:i}=Ve(e.errors,t);if(n){const{anchors:r}=e,n=t.anchor,i=r.getNode(n);i&&(r.map[r.newName(n)]=i),r.map[n]=t}if(t.type===l&&(n||i)){const r="An alias node must not specify any properties";e.errors.push(new R(t,r))}const o=function(e,t){const{anchors:r,errors:n,schema:i}=e;if(t.type===l){const e=t.rawValue,i=r.getNode(e);if(!i){const r=`Aliased anchor not found: ${e}`;return n.push(new N(t,r)),null}const o=new he(i);return r._cstAliases.push(o),o}const o=Be(e,t);if(o)return Ue(e,t,o);if(t.type!==x){const e=`Failed to resolve ${t.type} node here`;return n.push(new L(t,e)),null}try{return ke(Fe(e,t),i.tags,i.tags.scalarFallback)}catch(s){return s.source||(s.source=t),n.push(s),null}}(e,t);if(o){o.range=[t.range.start,t.range.end],e.options.keepCstNodes&&(o.cstNode=t),e.options.keepNodeTypes&&(o.type=t.type);const n=r.before.join("\n");n&&(o.commentBefore=o.commentBefore?`${o.commentBefore}\n${n}`:n);const i=r.after.join("\n");i&&(o.comment=o.comment?`${o.comment}\n${i}`:i)}return t.resolved=o}function He(e,t){if(t.type!==y&&t.type!==m){const r=`A ${t.type} node cannot be resolved as a mapping`;return e.errors.push(new L(t,r)),null}const{comments:r,items:n}=t.type===m?function(e,t){const r=[],n=[];let i,o=!1,s="{";for(let a=0;a<t.items.length;++a){const l=t.items[a];if("string"===typeof l.char){const{char:r,offset:c}=l;if("?"===r&&void 0===i&&!o){o=!0,s=":";continue}if(":"===r){if(void 0===i&&(i=null),":"===s){s=",";continue}}else if(o&&(void 0===i&&","!==r&&(i=null),o=!1),void 0!==i&&(n.push(new de(i)),i=void 0,","===r)){s=":";continue}if("}"===r){if(a===t.items.length-1)continue}else if(r===s){s=":";continue}const p=new L(t,`Flow map contains an unexpected ${r}`);p.offset=c,e.errors.push(p)}else l.type===c?r.push({afterKey:!!i,before:n.length}):l.type===d?(De(e.errors,l),r.push({afterKey:!!i,before:n.length,comment:l.comment})):void 0===i?(","===s&&e.errors.push(new R(l,"Separator , missing in flow map")),i=We(e,l)):(","!==s&&e.errors.push(new R(l,"Indicator : missing in flow map entry")),n.push(new de(i,We(e,l))),i=void 0,o=!1)}Le(e.errors,t),void 0!==i&&n.push(new de(i));return{comments:r,items:n}}(e,t):function(e,t){const r=[],n=[];let i,o=null;for(let s=0;s<t.items.length;++s){const a=t.items[s];switch(a.type){case c:r.push({afterKey:!!i,before:n.length});break;case d:r.push({afterKey:!!i,before:n.length,comment:a.comment});break;case b:void 0!==i&&n.push(new de(i)),a.error&&e.errors.push(a.error),i=We(e,a.node),o=null;break;case v:{if(void 0===i&&(i=null),a.error&&e.errors.push(a.error),!a.context.atLineStart&&a.node&&a.node.type===y&&!a.node.context.atLineStart){const t="Nested mappings are not allowed in compact mappings";e.errors.push(new R(a.node,t))}let r=a.node;if(!r&&a.props.length>
18500){r=new z(x,[]),r.context={parent:a,src:a.context.src};const e=a.range.start+1;if(r.range={start:e,end:e},r.valueRange={start:e,end:e},"number"===typeof a.range.origStart){const e=a.range.origStart+1;r.range.origStart=r.range.origEnd=e,r.valueRange.origStart=r.valueRange.origEnd=e}}const s=new de(i,We(e,r));Qe(a,s),n.push(s),i&&"number"===typeof o&&a.range.start>o+1024&&e.errors.push(Me(t,i)),i=void 0,o=null}break;default:void 0!==i&&n.push(new de(i)),i=We(e,a),o=a.range.start,a.error&&e.errors.push(a.error);e:for(let r=s+1;;++r){const n=t.items[r];switch(n&&n.type){case c:case d:continue e;case v:break e;default:{const t="Implicit map keys need to be followed by map values";e.errors.push(new R(a,t));break e}}}if(a.valueRangeContainsNewline){const t="Implicit map keys need to be on a single line";e.errors.push(new R(a,t))}}}void 0!==i&&n.push(new de(i));return{comments:r,items:n}}(e,t),i=new ge;i.items=n,ze(i,r);let o=!1;for(let s=0;s<n.length;++s){const{key:r}=n[s];if(r instanceof ce&&(o=!0),e.schema.merge&&r&&"<<"===r.value){n[s]=new ye(n[s]);const r=n[s].value.items;let i=null;r.some(e=>{if(e instanceof he){const{type:t}=e.source;return t!==y&&t!==m&&(i="Merge nodes aliases can only point to maps")}return i="Merge nodes can only have Alias nodes as values"}),i&&e.errors.push(new R(t,i))}else for(let i=s+1;i<n.length;++i){const{key:o}=n[i];if(r===o||r&&o&&Object.prototype.hasOwnProperty.call(r,"value")&&r.value===o.value){const n=`Map keys must be unique; "${r}" is repeated`;e.errors.push(new R(t,n));break}}}if(o&&!e.options.mapAsMap){const r="Keys with collection values will be stringified as YAML due to JS Object restrictions. Use mapAsMap: true to avoid this.";e.warnings.push(new D(t,r))}return t.resolved=i,i}function Qe(e,t){if(!(e=>{let{context:{lineStart:t,node:r,src:n},props:o}=e;if(0===o.length)return!1;const{start:s}=o[0];if(r&&s>r.valueRange.start)return!1;if(n[s]!==i)return!1;for(let i=t;i<s;++i)if("\n"===n[i])return!1;return!0})(e))return;const r=e.getPropValue(0,i,!0);let n=!1;const o=t.value.commentBefore;if(o&&o.startsWith(r))t.value.commentBefore=o.substr(r.length+1),n=!0;else{const i=t.value.comment;!e.node&&i&&i.startsWith(r)&&(t.value.comment=i.substr(r.length+1),n=!0)}n&&(t.comment=r)}function Ge(e,t){if(t.type!==k&&t.type!==g){const r=`A ${t.type} node cannot be resolved as a sequence`;return e.errors.push(new L(t,r)),null}const{comments:r,items:n}=t.type===g?function(e,t){const r=[],n=[];let i,o=!1,s=null,a="[",l=null;for(let p=0;p<t.items.length;++p){const u=t.items[p];if("string"===typeof u.char){const{char:r,offset:c}=u;if(":"===r||!o&&void 0===i||(o&&void 0===i&&(i=a?n.pop():null),n.push(new de(i)),o=!1,i=void 0,s=null),r===a)a=null;else if(a||"?"!==r){if("["!==a&&":"===r&&void 0===i){if(","===a){if(i=n.pop(),i instanceof de){const r=new R(t,"Chaining flow sequence pairs is invali
1850d");r.offset=c,e.errors.push(r)}if(!o&&"number"===typeof s){const r=u.range?u.range.start:u.offset;r>s+1024&&e.errors.push(Me(t,i));const{src:n}=l.context;for(let t=s;t<r;++t)if("\n"===n[t]){const t="Implicit keys of flow sequence pairs need to be on a single line";e.errors.push(new R(l,t));break}}}else i=null;s=null,o=!1,a=null}else if("["===a||"]"!==r||p<t.items.length-1){const n=new L(t,`Flow sequence contains an unexpected ${r}`);n.offset=c,e.errors.push(n)}}else o=!0}else if(u.type===c)r.push({before:n.length});else if(u.type===d)De(e.errors,u),r.push({comment:u.comment,before:n.length});else{if(a){const t=`Expected a ${a} in flow sequence`;e.errors.push(new R(u,t))}const t=We(e,u);void 0===i?(n.push(t),l=u):(n.push(new de(i,t)),i=void 0),s=u.range.start,a=","}}Le(e.errors,t),void 0!==i&&n.push(new de(i));return{comments:r,items:n}}(e,t):function(e,t){const r=[],n=[];for(let i=0;i<t.items.length;++i){const o=t.items[i];switch(o.type){case c:r.push({before:n.length});break;case d:r.push({comment:o.comment,before:n.length});break;case O:if(o.error&&e.errors.push(o.error),n.push(We(e,o.node)),o.hasProps){const t="Sequence items cannot have tags or anchors before the - indicator";e.errors.push(new R(o,t))}break;default:o.error&&e.errors.push(o.error),e.errors.push(new L(o,`Unexpected ${o.type} node in sequence`))}}return{comments:r,items:n}}(e,t),i=new ue;if(i.items=n,ze(i,r),!e.options.mapAsMap&&n.some(e=>e instanceof de&&e.key instanceof ce)){const r="Keys with collection values will be stringified as YAML due to JS Object restrictions. Use mapAsMap: true to avoid this.";e.warnings.push(new D(t,r))}return t.resolved=i,i}const Ke={identify:e=>e instanceof Uint8Array,default:!1,tag:"tag:yaml.org,2002:binary",resolve:(e,t)=>{const r=Fe(e,t);if("function"===typeof Buffer)return Buffer.from(r,"base64");if("function"===typeof atob){const e=atob(r.replace(/[\n\r]/g,"")),t=new Uint8Array(e.length);for(let r=0;r<e.length;++r)t[r]=e.charCodeAt(r);return t}{const r="This environment does not support reading binary tags; either Buffer or atob is required";return e.errors.push(new N(t,r)),null}},options:be,stringify:(e,t,r,n)=>{let i,{comment:o,type:s,value:a}=e;if("function"===typeof Buffer)i=a instanceof Buffer?a.toString("base64"):Buffer.from(a.buffer).toString("base64");else{if("function"!==typeof btoa)throw new Error("This environment does not support writing binary tags; either Buffer or btoa is required");{let e="";for(let t=0;t<a.length;++t)e+=String.fromCharCode(a[t]);i=btoa(e)}}if(s||(s=be.defaultType),s===w)a=i;else{const{lineWidth:e}=be,t=Math.ceil(i.length/e),r=new Array(t);for(let n=0,o=0;n<t;++n,o+=e)r[n]=i.substr(o,e);a=r.join(s===u?"\n":" ")}return Ne({comment:o,type:s,value:a},t,r,n)}};function Ye(e,t){const r=Ge(e,t);for(let n=0;n<r.items.length;++n){let e=r.items[n];if(!(e instanceof de)){if(e instanceof ge){if(e.items.length>1){throw new R(t,"Each pair must have its own sequence indicator")}const r=e.items[0]||new de;e.commentBefore&&(r.commentBefore=r.commentBefore?`${e.commentBefore}\n${r.commentBefore}`:e.commentBefore),e.comment&&(r.comment=r.comment?`${e.comment}\n${r.comment}`:e.comment),e=r}r.items[n]=e instanceof de?e:new de(e)}}return r}function Je(e,t,r){const n=new ue(e);n.tag="tag:yaml.org,2002:pairs";for(const i of t){let t,o;if(Array.isArray(i)){if(2!==i.length)throw new TypeError(`Expected [key, value] tuple: ${i}`);t=i[0],o=i[1]}else if(i&&i instanceof Object){const e=Object.keys(i);if(1!==e.length)throw new TypeError(`Expected { key: value } tuple: ${i}`);t=e[0],o=i[t]}else t=i;const s=e.createPair(t,o,r);n.items.push(s)}return n}const Xe={default:!1,tag:"tag:yaml.org,2002:pairs",resolve:Ye,createNode:Je};class Ze extends ue{constructor(){super(),M(this,"add",ge.prototype.add.bind(this)),M(this,"delete",ge.prototype.delete.bind(this)),M(this,"get",ge.prototype.get.bind(this)),M(this,"has",ge.prototype.has.bind(this)),M(this,"set",ge.prototype.set.bind(this)),this.tag=Ze.tag}toJSON(e,t){const r=new Map;t&&t.onCreate&&t.onCreate(r);for(const n of this.items){let e,i;if(n instanceof de?(e=oe(n.key,"",t),i=oe(n.value,e,t)):e=oe(n,"",t),r.has(e))throw new Error("Ordered maps must not include duplicate keys");r.set(e,i)}return r}}M(Ze,"tag","tag:yaml.org,2002:omap");const et={identify:e=>e instanceof Map,nodeClass:Ze,default:!1,tag:"tag:yaml.org,2002:omap",resolve:function(e,t){const r=Ye(e,t),n=[];for(const{key:i}of r.items)if(i instanceof se){if(n.includes(i.value)){throw new R(t,"Ordered maps must not include duplicate keys")}n.push(i.value)}return Object.assign(new Ze,r)},createNode:function(e,t,r){const n=Je(e,t,r),i=new Ze;return i.items=n.items,i}};class tt extends ge{constructor(){super(),this.tag=tt.tag}add(e){const t=e instanceof de?e:new de(e);me(this.items,t.key)||this.items.push(t)}get(e,t){const r=me(this.items,e);return!t&&r instanceof de?r.key instanceof se?r.key.value:r.key:r}set(e,t){if("boolean"!==typeof t)throw new Error("Expected boolean value for set(key, value) in a YAML set, not "+typeof t);const r=me(this.items,e);r&&!t?this.items.splice(this.items.indexOf(r),1):!r&&t&&this.items.push(new de(e))}toJSON(e,t){return super.toJSON(e,t,Set)}toString(e,t,r){if(!e)return JSON.stringify(this);if(this.hasAllNullValues())return super.toString(e,t,r);throw new Error("Set items must all have null values")}}M(tt,"tag","tag:yaml.org,2002:set");const rt={identify:e=>e instanceof Set,nodeClass:tt,default:!1,tag:"tag:yaml.org,2002:set",resolve:function(e,t){const r=He(e,t);if(!r.hasAllNullValues())throw new R(t,"Set items must all have null values");return Object.assign(new tt,r)},createNode:function(e,t,r){const n=new tt;for(const i of t)n.items.push(e.createPair(i,null,r));return n}},nt=(e,t)=>
1850{const r=t.split(":").reduce((e,t)=>60*e+Number(t),0);return"-"===e?-r:r},it=e=>{let{value:t}=e;if(isNaN(t)||!isFinite(t))return Re(t);let r="";t<0&&(r="-",t=Math.abs(t));const n=[t%60];return t<60?n.unshift(0):(t=Math.round((t-n[0])/60),n.unshift(t%60),t>=60&&(t=Math.round((t-n[0])/60),n.unshift(t))),r+n.map(e=>e<10?"0"+String(e):String(e)).join(":").replace(/000000\d*$/,"")},ot={identify:e=>"number"===typeof e,default:!0,tag:"tag:yaml.org,2002:int",format:"TIME",test:/^([-+]?)([0-9][0-9_]*(?::[0-5]?[0-9])+)$/,resolve:(e,t,r)=>nt(t,r.replace(/_/g,"")),stringify:it},st={identify:e=>"number"===typeof e,default:!0,tag:"tag:yaml.org,2002:float",format:"TIME",test:/^([-+]?)([0-9][0-9_]*(?::[0-5]?[0-9])+\.[0-9_]*)$/,resolve:(e,t,r)=>nt(t,r.replace(/_/g,"")),stringify:it},at={identify:e=>e instanceof Date,default:!0,tag:"tag:yaml.org,2002:timestamp",test:RegExp("^(?:([0-9]{4})-([0-9]{1,2})-([0-9]{1,2})(?:(?:t|T|[ \\t]+)([0-9]{1,2}):([0-9]{1,2}):([0-9]{1,2}(\\.[0-9]+)?)(?:[ \\t]*(Z|[-+][012]?[0-9](?::[0-9]{2})?))?)?)$"),resolve:(e,t,r,n,i,o,s,a,l)=>{a&&(a=(a+"00").substr(1,3));let c=Date.UTC(t,r-1,n,i||0,o||0,s||0,a||0);if(l&&"Z"!==l){let e=nt(l[0],l.slice(1));Math.abs(e)<30&&(e*=60),c-=6e4*e}return new Date(c)},stringify:e=>{let{value:t}=e;return t.toISOString().replace(/((T00:00)?:00)?\.000Z$/,"")}};function lt(e){const t="undefined"!==typeof process&&{NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0,REACT_APP_VERSION:"26-09-23.3712"}||{};return e?"undefined"!==typeof YAML_SILENCE_DEPRECATION_WARNINGS?!YAML_SILENCE_DEPRECATION_WARNINGS:!t.YAML_SILENCE_DEPRECATION_WARNINGS:"undefined"!==typeof YAML_SILENCE_WARNINGS?!YAML_SILENCE_WARNINGS:!t.YAML_SILENCE_WARNINGS}function ct(e,t){if(lt(!1)){const r="undefined"!==typeof process&&process.emitWarning;r?r(e,t):console.warn(t?`${t}: ${e}`:e)}}const pt={};const ut={createNode:function(e,t,r){const n=new ge(e);if(t instanceof Map)for(const[i,o]of t)n.items.push(e.createPair(i,o,r));else if(t&&"object"===typeof t)for(const i of Object.keys(t))n.items.push(e.createPair(i,t[i],r));return"function"===typeof e.sortMapEntries&&n.items.sort(e.sortMapEntries),n},default:!0,nodeClass:ge,tag:"tag:yaml.org,2002:map",resolve:He};const dt={createNode:function(e,t,r){const n=new ue(e);if(t&&t[Symbol.iterator])for(const i of t){const t=e.createNode(i,r.wrapScalars,null,r);n.items.push(t)}return n},default:!0,nodeClass:ue,tag:"tag:yaml.org,2002:seq",resolve:Ge},ft=[ut,dt,{identify:e=>"string"===typeof e,default:!0,tag:"tag:yaml.org,2002:str",resolve:Fe,stringify:(e,t,r,n)=>Ne(e,t=Object.assign({actualString:!0},t),r,n),options:Se}],ht=e=>"bigint"===typeof e||Number.isInteger(e),mt=(e,t,r)=>xe.asBigInt?BigInt(e):parseInt(t,r);function gt(e,t,r){const{value:n}=e;return ht(n)&&n>=0?r+n.toString(t):Re(e)}const yt={identify:e=>null==e,createNode:(e,t,r)=>r.wrapScalars?new se(null):null,default:!0,tag:"tag:yaml.org,2002:null",test:/^(?:~|[Nn]ull|NULL)?$/,resolve:()=>null,options:we,stringify:()=>we.nullStr},bt={identify:e=>"boolean"===typeof e,default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:[Tt]rue|TRUE|[Ff]alse|FALSE)$/,resolve:e=>"t"===e[0]||"T"===e[0],options:ve,stringify:e=>{let{value:t}=e;return t?ve.trueStr:ve.falseStr}},vt={identify:e=>ht(e)&&e>=0,default:!0,tag:"tag:yaml.org,2002:int",format:"OCT",test:/^0o([0-7]+)$/,resolve:(e,t)=>mt(e,t,8),options:xe,stringify:e=>gt(e,8,"0o")},xt={identify:ht,default:!0,tag:"tag:yaml.org,2002:int",test:/^[-+]?[0-9]+$/,resolve:e=>mt(e,e,10),options:xe,stringify:Re},wt={identify:e=>ht(e)&&e>=0,default:!0,tag:"tag:yaml.org,2002:int",format:"HEX",test:/^0x([0-9a-fA-F]+)$/,resolve:(e,t)=>mt(e,t,16),options:xe,stringify:e=>gt(e,16,"0x")},St={identify:e=>"number"===typeof e,default:!0,tag:"tag:yaml.org,2002:float",test:/^(?:[-+]?\.inf|(\.nan))$/i,resolve:(e,t)=>t?NaN:"-"===e[0]?Number.NEGATIVE_INFINITY:Number.POSITIVE_INFINITY,stringify:Re},kt={identify:e=>"number"===typeof e,default:!0,tag:"tag:yaml.org,2002:float",format:"EXP",test:/^[-+]?(?:\.[0-9]+|[0-9]+(?:\.[0-9]*)?)[eE][-+]?[0-9]+$/,resolve:e=>parseFloat(e),stringify:e=>{let{value:t}=e;return Number(t).toExponential()}},Ot={identify:e=>"number"===typeof e,default:!0,tag:"tag:yaml.org,2002:float",test:/^[-+]?(?:\.([0-9]+)|[0-9]+\.([0-9]*))$/,resolve(e,t,r){const n=t||r,i=new se(parseFloat(e));return n&&"0"===n[n.length-1]&&(i.minFractionDigits=n.length),i}
1850,stringify:Re},Et=ft.concat([yt,bt,vt,xt,wt,St,kt,Ot]),_t=e=>"bigint"===typeof e||Number.isInteger(e),$t=e=>{let{value:t}=e;return JSON.stringify(t)},At=[ut,dt,{identify:e=>"string"===typeof e,default:!0,tag:"tag:yaml.org,2002:str",resolve:Fe,stringify:$t},{identify:e=>null==e,createNode:(e,t,r)=>r.wrapScalars?new se(null):null,default:!0,tag:"tag:yaml.org,2002:null",test:/^null$/,resolve:()=>null,stringify:$t},{identify:e=>"boolean"===typeof e,default:!0,tag:"tag:yaml.org,2002:bool",test:/^true|false$/,resolve:e=>"true"===e,stringify:$t},{identify:_t,default:!0,tag:"tag:yaml.org,2002:int",test:/^-?(?:0|[1-9][0-9]*)$/,resolve:e=>xe.asBigInt?BigInt(e):parseInt(e,10),stringify:e=>{let{value:t}=e;return _t(t)?t.toString():JSON.stringify(t)}},{identify:e=>"number"===typeof e,default:!0,tag:"tag:yaml.org,2002:float",test:/^-?(?:0|[1-9][0-9]*)(?:\.[0-9]*)?(?:[eE][-+]?[0-9]+)?$/,resolve:e=>parseFloat(e),stringify:$t}];At.scalarFallback=e=>{throw new SyntaxError(`Unresolved plain scalar ${JSON.stringify(e)}`)};const Pt=e=>{let{value:t}=e;return t?ve.trueStr:ve.falseStr},jt=e=>"bigint"===typeof e||Number.isInteger(e);function Ct(e,t,r){let n=t.replace(/_/g,"");if(xe.asBigInt){switch(r){case 2:n=`0b${n}`;break;case 8:n=`0o${n}`;break;case 16:n=`0x${n}`}const t=BigInt(n);return"-"===e?BigInt(-1)*t:t}const i=parseInt(n,r);return"-"===e?-1*i:i}function Tt(e,t,r){const{value:n}=e;if(jt(n)){const e=n.toString(t);return n<0?"-"+r+e.substr(1):r+e}return Re(e)}const It=ft.concat([{identify:e=>null==e,createNode:(e,t,r)=>r.wrapScalars?new se(null):null,default:!0,tag:"tag:yaml.org,2002:null",test:/^(?:~|[Nn]ull|NULL)?$/,resolve:()=>null,options:we,stringify:()=>we.nullStr},{identify:e=>"boolean"===typeof e,default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:Y|y|[Yy]es|YES|[Tt]rue|TRUE|[Oo]n|ON)$/,resolve:()=>!0,options:ve,stringify:Pt},{identify:e=>"boolean"===typeof e,default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:N|n|[Nn]o|NO|[Ff]alse|FALSE|[Oo]ff|OFF)$/i,resolve:()=>!1,options:ve,stringify:Pt},{identify:jt,default:!0,tag:"tag:yaml.org,2002:int",format:"BIN",test:/^([-+]?)0b([0-1_]+)$/,resolve:(e,t,r)=>Ct(t,r,2),stringify:e=>Tt(e,2,"0b")},{identify:jt,default:!0,tag:"tag:yaml.org,2002:int",format:"OCT",test:/^([-+]?)0([0-7_]+)$/,resolve:(e,t,r)=>Ct(t,r,8),stringify:e=>Tt(e,8,"0")},{identify:jt,default:!0,tag:"tag:yaml.org,2002:int",test:/^([-+]?)([0-9][0-9_]*)$/,resolve:(e,t,r)=>Ct(t,r,10),stringify:Re},{identify:jt,default:!0,tag:"tag:yaml.org,2002:int",format:"HEX",test:/^([-+]?)0x([0-9a-fA-F_]+)$/,resolve:(e,t,r)=>Ct(t,r,16),stringify:e=>Tt(e,16,"0x")},{identify:e=>"number"===typeof e,default:!0,tag:"tag:yaml.org,2002:float",test:/^(?:[-+]?\.inf|(\.nan))$/i,resolve:(e,t)=>t?NaN:"-"===e[0]?Number.NEGATIVE_INFINITY:Number.POSITIVE_INFINITY,stringify:Re},{identify:e=>"number"===typeof e,default:!0,tag:"tag:yaml.org,2002:float",format:"EXP",test:/^[-+]?([0-9][0-9_]*)?(\.[0-9_]*)?[eE][-+]?[0-9]+$/,resolve:e=>parseFloat(e.replace(/_/g,"")),stringify:e=>{let{value:t}=e;return Number(t).toExponential()}},{identify:e=>"number"===typeof e,default:!0,tag:"tag:yaml.org,2002:float",test:/^[-+]?(?:[0-9][0-9_]*)?\.([0-9_]*)$/,resolve(e,t){const r=new se(parseFloat(e.replace(/_/g,"")));if(t){const e=t.replace(/_/g,"");"0"===e[e.length-1]&&(r.minFractionDigits=e.length)}return r},stringify:Re}],Ke,et,Xe,rt,ot,st,at),Nt={core:Et,failsafe:ft,json:At,yaml11:It},Rt={binary:Ke,bool:bt,float:Ot,floatExp:kt,floatNaN:St,floatTime:st,int:xt,intHex:wt,intOct:vt,intTime:ot,map:ut,null:yt,omap:et,pairs:Xe,seq:dt,set:rt,timestamp:at};function Lt(e,t,r){if(e instanceof ie)return e;const{defaultPrefix:n,onTagObj:i,prevObjects:o,schema:s,wrapScalars:a}=r;t&&t.startsWith("!!")&&(t=n+t.slice(2));let l=function(e,t,r){if(t){const e=r.filter(e=>e.tag===t),n=e.find(e=>!e.format)||e[0];if(!n)throw new Error(`Tag ${t} not found`);return n}return r.find(t=>(t.identify&&t.identify(e)||t.class&&e instanceof t.class)&&!t.format)}(e,t,s.tags);if(!l){if("function"===typeof e.toJSON&&(e=e.toJSON()),!e||"object"!==typeof e)return a?new se(e):e;l=e instanceof Map?ut:e[Symbol.iterator]?dt:ut}i&&(i(l),delete r.onTagObj);const c={value:void 0,node:void 0};if(e&&"object"===typeof e&&o){const t=o.get(e);if(t){const e=new he(t);return r.aliasNodes.push(e),e}c.value=e,o.set(e,c)}return c.node=l.createNode?l.createNode(r.schema,e,r):a?new se(e):e,t&&c.node instanceof ie&&(c.node.tag=t),c.node}const Dt=(e,t)=>
1850e.key<t.key?-1:e.key>t.key?1:0;class Mt{constructor(e){let{customTags:t,merge:r,schema:n,sortMapEntries:i,tags:o}=e;this.merge=!!r,this.name=n,this.sortMapEntries=!0===i?Dt:i||null,!t&&o&&function(e,t){if(!pt[e]&&lt(!0)){pt[e]=!0;let r=`The option '${e}' will be removed in a future release`;r+=t?`, use '${t}' instead.`:".",ct(r,"DeprecationWarning")}}("tags","customTags"),this.tags=function(e,t,r,n){let i=e[n.replace(/\W/g,"")];if(!i){const t=Object.keys(e).map(e=>JSON.stringify(e)).join(", ");throw new Error(`Unknown schema "${n}"; use one of ${t}`)}if(Array.isArray(r))for(const o of r)i=i.concat(o);else"function"===typeof r&&(i=r(i.slice()));for(let o=0;o<i.length;++o){const e=i[o];if("string"===typeof e){const r=t[e];if(!r){const r=Object.keys(t).map(e=>JSON.stringify(e)).join(", ");throw new Error(`Unknown custom tag "${e}"; use one of ${r}`)}i[o]=r}}return i}(Nt,Rt,t||o,n)}createNode(e,t,r,n){const i={defaultPrefix:Mt.defaultPrefix,schema:this,wrapScalars:t};return Lt(e,r,n?Object.assign(n,i):i)}createPair(e,t,r){r||(r={wrapScalars:!0});const n=this.createNode(e,r.wrapScalars,null,r),i=this.createNode(t,r.wrapScalars,null,r);return new de(n,i)}}M(Mt,"defaultPrefix",E),M(Mt,"defaultTags",_);const zt={anchorPrefix:"a",customTags:null,indent:2,indentSeq:!0,keepCstNodes:!1,keepNodeTypes:!0,keepBlobsInJSON:!0,mapAsMap:!1,maxAliasCount:100,prettyErrors:!1,simpleKeys:!1,version:"1.2"},Ft={get binary(){return be},set binary(e){Object.assign(be,e)},get bool(){return ve},set bool(e){Object.assign(ve,e)},get int(){return xe},set int(e){Object.assign(xe,e)},get null(){return we},set null(e){Object.assign(we,e)},get str(){return Se},set str(e){Object.assign(Se,e)}},Bt={"1.0":{schema:"yaml-1.1",merge:!0,tagPrefixes:[{handle:"!",prefix:E},{handle:"!!",prefix:"tag:private.yaml.org,2002:"}]},1.1:{schema:"yaml-1.1",merge:!0,tagPrefixes:[{handle:"!",prefix:"!"},{handle:"!!",prefix:E}]},1.2:{schema:"core",merge:!1,tagPrefixes:[{handle:"!",prefix:"!"},{handle:"!!",prefix:E}]}};function qt(e,t){if("1.0"===(e.version||e.options.version)){const e=t.match(/^tag:private\.yaml\.org,2002:([^:/]+)$/);if(e)return"!"+e[1];const r=t.match(/^tag:([a-zA-Z0-9-]+)\.yaml\.org,2002:(.*)/);return r?`!${r[1]}/${r[2]}`:`!${t.replace(/^tag:/,"")}`}let r=e.tagPrefixes.find(e=>0===t.indexOf(e.prefix));if(!r){const n=e.getDefaults().tagPrefixes;r=n&&n.find(e=>0===t.indexOf(e.prefix))}if(!r)return"!"===t[0]?t:`!<${t}>`;const n=t.substr(r.prefix.length).replace(/[!,[\]{}]/g,e=>({"!":"%21",",":"%2C","[":"%5B","]":"%5D","{":"%7B","}":"%7D"}[e]));return r.handle+n}function Ut(e,t,r,n){const{anchors:i,schema:o}=t.doc;let s;if(!(e instanceof ie)){const t={aliasNodes:[],onTagObj:e=>
1850s=e,prevObjects:new Map};e=o.createNode(e,!0,null,t);for(const e of t.aliasNodes){e.source=e.source.node;let t=i.getName(e.source);t||(t=i.newName(),i.map[t]=e.source)}}if(e instanceof de)return e.toString(t,r,n);s||(s=function(e,t){if(t instanceof he)return he;if(t.tag){const r=e.filter(e=>e.tag===t.tag);if(r.length>0)return r.find(e=>e.format===t.format)||r[0]}let r,n;if(t instanceof se){n=t.value;const i=e.filter(e=>e.identify&&e.identify(n)||e.class&&n instanceof e.class);r=i.find(e=>e.format===t.format)||i.find(e=>!e.format)}else n=t,r=e.find(e=>e.nodeClass&&n instanceof e.nodeClass);if(!r){const e=n&&n.constructor?n.constructor.name:typeof n;throw new Error(`Tag not resolved for ${e} value`)}return r}(o.tags,e));const a=function(e,t,r){let{anchors:n,doc:i}=r;const o=[],s=i.anchors.getName(e);return s&&(n[s]=e,o.push(`&${s}`)),e.tag?o.push(qt(i,e.tag)):t.default||o.push(qt(i,t.tag)),o.join(" ")}(e,s,t);a.length>0&&(t.indentAtStart=(t.indentAtStart||0)+a.length+1);const l="function"===typeof s.stringify?s.str
1850ingify(e,t,r,n):e instanceof se?Ne(e,t,r,n):e.toString(t,r,n);return a?e instanceof se||"{"===l[0]||"["===l[0]?`${a} ${l}`:`${a}\n${t.indent}${l}`:l}class Vt{static validAnchorNode(e){return e instanceof se||e instanceof ue||e instanceof ge}constructor(e){M(this,"map",Object.create(null)),this.prefix=e}createAlias(e,t){return this.setAnchor(e,t),new he(e)}createMergePair(){const e=new ye;for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return e.value.items=r.map(e=>{if(e instanceof he){if(e.source instanceof ge)return e}else if(e instanceof ge)return this.createAlias(e);throw new Error("Merge sources must be Map nodes or their Aliases")}),e}getName(e){const{map:t}=this;return Object.keys(t).find(r=>t[r]===e)}getNames(){return Object.keys(this.map)}getNode(e){return this.map[e]}newName(e){e||(e=this.prefix);const t=Object.keys(this.map);for(let r=1;;++r){const n=`${e}${r}`;if(!t.includes(n))return n}}resolveNodes(){const{map:e,_cstAliases:t}=this;Object.keys(e).forEach(t=>{e[t]=e[t].resolved}),t.forEach(e=>{e.source=e.source.resolved}),delete this._cstAliases}setAnchor(e,t){if(null!=e&&!Vt.validAnchorNode(e))throw new Error("Anchors may only be set for Scalar, Seq and Map nodes");if(t&&/[\x00-\x19\s,[\]{}]/.test(t))throw new Error("Anchor names must not contain whitespace or control characters");const{map:r}=this,n=e&&Object.keys(r).find(t=>r[t]===e);if(n){if(!t)return n;n!==t&&(delete r[n],r[t]=e)}else{if(!t){if(!e)return null;t=this.newName()}r[t]=e}return t}}const Wt=(e,t)=>{if(e&&"object"===typeof e){const{tag:r}=e;e instanceof ce?(r&&(t[r]=!0),e.items.forEach(e=>Wt(e,t))):e instanceof de?(Wt(e.key,t),Wt(e.value,t)):e instanceof se&&r&&(t[r]=!0)}return t};function Ht(e,t){let{tagPrefixes:r}=e;const[n,i]=t.parameters;if(!n||!i){throw new R(t,"Insufficient parameters given for %TAG directive")}if(r.some(e=>e.handle===n)){throw new R(t,"The %TAG directive must only be given at most once per handle in the same document.")}return{handle:n,prefix:i}}function Qt(e,t){let[r]=t.parameters;if("YAML:1.0"===t.name&&(r="1.0"),!r){throw new R(t,"Insufficient parameters given for %YAML directive")}if(!Bt[r]){const n=`Document will be parsed as YAML ${e.version||e.options.version} rather than YAML ${r}`;e.warnings.push(new D(t,n))}return r}function Gt(e){if(e instanceof ce)return!0;throw new Error("Expected a YAML collection as document contents")}class Kt{constructor(e){this.anchors=new Vt(e.anchorPrefix),this.commentBefore=null,this.comment=null,this.contents=null,this.directivesEndMarker=null,this.errors=[],this.options=e,this.schema=null,this.tagPrefixes=[],this.version=null,this.warnings=[]}add(e){return Gt(this.contents),this.contents.add(e)}addIn(e,t){Gt(this.contents),this.contents.addIn(e,t)}delete(e){return Gt(this.contents),this.contents.delete(e)}deleteIn(e){return le(e)?null!=this.contents&&(this.contents=null,!0):(Gt(this.contents),this.contents.deleteIn(e))}getDefaults(){return Kt.defaults[this.version]||Kt.defaults[this.options.version]||{}}get(e,t){return this.contents instanceof ce?this.contents.get(e,t):void 0}getIn(e,t){return le(e)?!t&&this.contents instanceof se?this.contents.value:this.contents:this.contents instanceof ce?this.contents.getIn(e,t):void 0}has(e){return this.contents instanceof ce&&this.contents.has(e)}hasIn(e){return le(e)?void 0!==this.contents:this.contents instanceof ce&&this.contents.hasIn(e)}set(e,t){Gt(this.contents),this.contents.set(e,t)}setIn(e,t){le(e)?this.contents=t:(Gt(this.contents),this.contents.setIn(e,t))}setSchema(e,t){if(!e&&!t&&this.schema)return;"number"===typeof e&&(e=e.toFixed(1)),"1.0"===e||"1.1"===e||"1.2"===e?(this.version?this.version=e:this.options.version=e,delete this.options.schema):e&&"string"===typeof e&&(this.options.schema=e),Array.isArray(t)&&(this.options.customTags=t);const r=Object.assign({},this.getDefaults(),this.options);this.schema=new Mt(r)}parse(e,t){this.options.keepCstNodes&&(this.cstNode=e),this.options.keepNodeTypes&&(this.type="DOCUMENT");const{directives:r=[],contents:n=[],directivesEndMarker:i,error:o,valueRange:s}=e;
1850if(o&&(o.source||(o.source=this),this.errors.push(o)),function(e,t,r){const n=[];let i=!1;for(const s of t){const{comment:t,name:r}=s;switch(r){case"TAG":try{e.tagPrefixes.push(Ht(e,s))}catch(o){e.errors.push(o)}i=!0;break;case"YAML":case"YAML:1.0":if(e.version){const t="The %YAML directive must only be given at most once per document.";e.errors.push(new R(s,t))}try{e.version=Qt(e,s)}catch(o){e.errors.push(o)}i=!0;break;default:if(r){const t=`YAML only supports %TAG and %YAML directives, and not %${r}`;e.warnings.push(new D(s,t))}}t&&n.push(t)}if(r&&!i&&"1.1"===(e.version||r.version||e.options.version)){const t=e=>{let{handle:t,prefix:r}=e;return{handle:t,prefix:r}};e.tagPrefixes=r.tagPrefixes.map(t),e.version=r.version}e.commentBefore=n.join("\n")||null}(this,r,t),i&&(this.directivesEndMarker=!0),this.range=s?[s.start,s.end]:null,this.setSchema(),this.anchors._cstAliases=[],function(e,t){const r={before:[],after:[]};let n,i=!1;for(const o of t)if(o.valueRange){if(void 0!==n){const t="Document contains trailing content not separated by a ... or --- line";e.errors.push(new L(o,t));break}const t=We(e,o);i&&(t.spaceBefore=!0,i=!1),n=t}else null!==o.comment?(void 0===n?r.before:r.after).push(o.comment):o.type===c&&(i=!0,void 0===n&&r.before.length>0&&!e.commentBefore&&(e.commentBefore=r.before.join("\n"),r.before=[]));if(e.contents=n||null,n){const t=r.before.join("\n");if(t){const e=n instanceof ce&&n.items[0]?n.items[0]:n;e.commentBefore=e.commentBefore?`${t}\n${e.commentBefore}`:t}e.comment=r.after.join("\n")||null}else e.comment=r.before.concat(r.after).join("\n")||null}(this,n),this.anchors.resolveNodes(),this.options.prettyErrors){for(const e of this.errors)e instanceof I&&e.makePretty();for(const e of this.warnings)e instanceof I&&e.makePretty()}return this}listNonDefaultTags(){return(e=this.contents,Object.keys(Wt(e,{}))).filter(e=>0!==e.indexOf(Mt.defaultPrefix));var e}setTagPrefix(e,t){if("!"!==e[0]||"!"!==e[e.length-1])throw new Error("Handle must start and end with !");if(t){const r=this.tagPrefixes.find(t=>t.handle===e);r?r.prefix=t:this.tagPrefixes.push({handle:e,prefix:t})}else this.tagPrefixes=this.tagPrefixes.filter(t=>t.handle!==e)}toJSON(e,t){const{keepBlobsInJSON:r,mapAsMap:n,maxAliasCount:i}=this.options,o=r&&("string"!==typeof e||!(this.contents instanceof se)),s={doc:this,indentStep:"  ",keep:o,mapAsMap:o&&!!n,maxAliasCount:i,stringify:Ut},a=Object.keys(this.anchors.map);a.length>0&&(s.anchors=new Map(a.map(e=>[this.anchors.map[e],{alias:[],aliasCount:0,count:1}])));const l=oe(this.contents,e,s);if("function"===typeof t&&s.anchors)for(const{count:c,res:p}of s.anchors.values())t(p,c);return l}toString(){if(this.errors.length>0)throw new Error("Document with errors cannot be stringified");const e=this.options.indent;if(!Number.isInteger(e)||e<=0){const t=JSON.stringify(e);throw new Error(`"indent" option must be a positive integer, not ${t}`)}this.setSchema();const t=[];let r=!1;if(this.version){let e="%YAML 1.2";"yaml-1.1"===this.schema.name&&("1.0"===this.version?e="%YAML:1.0":"1.1"===this.version&&(e="%YAML 1.1")),t.push(e),r=!0}const n=this.listNonDefaultTags();this.tagPrefixes.forEach(e=>{let{handle:i,prefix:o}=e;n.some(e=>0===e.indexOf(o))&&(t.push(`%TAG ${i} ${o}`),r=!0)}),(r||this.directivesEndMarker)&&t.push("---"),this.commentBefore&&(!r&&this.directivesEndMarker||t.unshift(""),t.unshift(this.commentBefore.replace(/^/gm,"#")));const i={anchors:Object.create(null),doc:this,indent:"",indentStep:" ".repeat(e),stringify:Ut};let o=!1,s=null;if(this.contents){this.contents instanceof ie&&(this.contents.spaceBefore&&(r||this.directivesEndMarker)&&t.push(""),this.contents.commentBefore&&t.push(this.contents.commentBefore.replace(/^/gm,"#")),i.forceBlockIndent=!!this.comment,s=this.contents.comment);const e=s?null:()=>o=!0,n=Ut(this.contents,i,()=>s=null,e);t.push(ne(n,"",s))}else void 0!==this.contents&&t.push(Ut(this.contents,i));return this.comment&&(o&&!s||""===t[t.length-1]||t.push(""),t.pu
1850sh(this.comment.replace(/^/gm,"#"))),t.join("\n")+"\n"}}M(Kt,"defaults",Bt);class Yt extends Kt{constructor(e){super(Object.assign({},zt,e))}}function Jt(e,t){const r=re(e),n=new Yt(t).parse(r[0]);if(r.length>1){const e="Source contains multiple documents; please use YAML.parseAllDocuments()";n.errors.unshift(new R(r[1],e))}return n}const Xt={createNode:function(e){let t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],r=arguments.length>2?arguments[2]:void 0;void 0===r&&"string"===typeof t&&(r=t,t=!0);const n=Object.assign({},Kt.defaults[zt.version],zt);return new Mt(n).createNode(e,t,r)},defaultOptions:zt,Document:Yt,parse:function(e,t){const r=Jt(e,t);if(r.warnings.forEach(e=>ct(e)),r.errors.length>0)throw r.errors[0];return r.toJSON()},parseAllDocuments:function(e,t){const r=[];let n;for(const i of re(e)){const e=new Yt(t);e.parse(i,n),r.push(e),n=e}return r},parseCST:re,parseDocument:Jt,scalarOptions:Ft,stringify:function(e,t){const r=new Yt(t);return r.contents=e,String(r)}}},68884(e){"use strict";e.exports=JSON.parse('{"$id":"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#","description":"Meta-schema for $data reference (JSON AnySchema extension proposal)","type":"object","required":["$data"],"properties":{"$data":{"type":"string","anyOf":[{"format":"relative-json-pointer"},{"format":"json-pointer"}]}},"additionalProperties":false}')},73243(e){"use strict";e.exports=JSON.parse('{"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://json-schema.org/draft/2020-12/meta/applicator","$vocabulary":{"https://json-schema.org/draft/2020-12/vocab/applicator":true},"$dynamicAnchor":"meta","title":"Applicator vocabulary meta-schema","type":["object","boolean"],"properties":{"prefixItems":{"$ref":"#/$defs/schemaArray"},"items":{"$dynamicRef":"#meta"},"contains":{"$dynamicRef":"#meta"},"additionalProperties":{"$dynamicRef":"#meta"},"properties":{"type":"object","additionalProperties":{"$dynamicRef":"#meta"},"default":{}},"patternProperties":{"type":"object","additionalProperties":{"$dynamicRef":"#meta"},"propertyNames":{"format":"regex"},"default":{}},"dependentSchemas":{"type":"object","additionalProperties":{"$dynamicRef":"#meta"},"default":{}},"propertyNames":{"$dynamicRef":"#meta"},"if":{"$dynamicRef":"#meta"},"then":{"$dynamicRef":"#meta"},"else":{"$dynamicRef":"#meta"},"allOf":{"$ref":"#/$defs/schemaArray"},"anyOf":{"$ref":"#/$defs/schemaArray"},"oneOf":{"$ref":"#/$defs/schemaArray"},"not":{"$dynamicRef":"#meta"}},"$defs":{"schemaArray":{"type":"array","minItems":1,"items":{"$dynamicRef":"#meta"}}}}')},36211(e){"use strict";e.exports=JSON.parse('{"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://json-schema.org/draft/2020-12/meta/content","$vocabulary":{"https://json-schema.org/draft/2020-12/vocab/content":true},"$dynamicAnchor":"meta","title":"Content vocabulary meta-schema","type":["object","boolean"],"properties":{"contentEncoding":{"type":"string"},"contentMediaType":{"type":"string"},"contentSchema":{"$dynamicRef":"#meta"}}}')},13953(e){"use strict";e.exports=JSON.parse('{"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://json-schema.org/draft/2020-12/meta/core","$vocabulary":{"https://json-schema.org/draft/2020-12/vocab/core":true},"$dynamicAnchor":"meta","title":"Core vocabulary meta-schema","type":["object","boolean"],"properties":{"$id":{"$ref":"#/$defs/uriReferenceString","$comment":"Non-empty fragments not allowed.","pattern":"^[^#]*#?$"},"$schema":{"$ref":"#/$defs/uriString"},"$ref":{"$ref":"#/$defs/uriReferenceString"},"$anchor":{"$ref":"#/$defs/anchorString"},"$dynamicRef":{"$ref":"#/$defs/uriReferenceString"},"$dynamicAnchor":{"$ref":"#/$defs/anchorString"},"$vocabulary":{"type":"object","propertyNames":{"$ref":"#/$defs/uriString"},"additionalProperties":{"type":"boolean"}},"$comment":{"type":"string"},"$defs":{"type":"object","additionalProperties":{"$dynamicRef":"#meta"}}},"$defs":{"anchorString":{"type":"string","pattern":"^[A-Za-z_][-A-Za-z0-9._]*$"},"uriString":{"type":"string","format":"uri"},"uriReferenceString":{"type":"string","format":"uri-reference"}}}')},36573(e){"use strict";e.exports=JSON.parse('{"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://json-schema.org/draft/2020-12/meta/format-annotation","$vocabulary":{"https://json-schema.org/draft/2020-12/vocab/format-annotation":true},"$dynamicAnchor":"meta","title":"Format vocabulary meta-schema for annotation results","type":["object","boolean"],"properties":{"format":{"type":"string"}}}')},65386(e){"use strict";e.exports=JSON.parse('{"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://json-schema.org/draft/2020-12/meta/meta-data","$vocabulary":{"https://json-schema.org/draft/2020-12/vocab/meta-data":true},"$dynamicAnchor":"meta","title":"Meta-data vocabulary meta-schema","type":["object","boolean"],"properties":{"title":{"type":"string"},"description":{"type":"string"},"default":true,"deprecated":{"type":"boolean","default":false},"readOnly":{"type":"boolean","default":false},"writeOnly":{"type":"boolean","default":false},"examples":{"type":"array","items":true}}}')},98818(e){"use strict";e.exports=JSON.parse('{"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://json-schema.org/draft/2020-12/meta/unevaluated","$vocabulary":{"https://json-schema.org/draft/2020-12/vocab/unevaluated":true},"$dynamicAnchor":"meta","title":"Unevaluated applicator vocabulary meta-schema","type":["object","boolean"],"properties":{"unevaluatedItems":{"$dynamicRef":"#meta"},"unevaluatedProperties":{"$dynamicRef":"#meta"}}}')},9509(e){"use strict";e.exports=JSON.parse('{"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://json-schema.org/draft/2020-12/meta/validation","$vocabulary":{"https://json-schema.org/draft/2020-12/vocab/validation":true},"$dynamicAnchor":"meta","title":"Validation vocabulary meta-schema","type":["object","boolean"],"properties":{"type":{"anyOf":[{"$ref":"#/$defs/simpleTypes"},{"type":"array","items":{"$ref":"#/$defs/simpleTypes"},"minItems":1,"uniqueItems":true}]},"const":true,"enum":{"type":"array","items":true},"multipleOf":{"type":"number","exclusiveMinimum":0},"maximum":{"type":"number"},"exclusiveMaximum":{"type":"number"},"minimum":{"type":"number"},"exclusiveMinimum":{"type":"number"},"maxLength":{"$ref":"#/$defs/nonNegativeInteger"},"minLength":{"$ref":"#/$defs/nonNegativeIntegerDefault0"},"pattern":{"type":"string","format":"regex"}
1850,"maxItems":{"$ref":"#/$defs/nonNegativeInteger"},"minItems":{"$ref":"#/$defs/nonNegativeIntegerDefault0"},"uniqueItems":{"type":"boolean","default":false},"maxContains":{"$ref":"#/$defs/nonNegativeInteger"},"minContains":{"$ref":"#/$defs/nonNegativeInteger","default":1},"maxProperties":{"$ref":"#/$defs/nonNegativeInteger"},"minProperties":{"$ref":"#/$defs/nonNegativeIntegerDefault0"},"required":{"$ref":"#/$defs/stringArray"},"dependentRequired":{"type":"object","additionalProperties":{"$ref":"#/$defs/stringArray"}}},"$defs":{"nonNegativeInteger":{"type":"integer","minimum":0},"nonNegativeIntegerDefault0":{"$ref":"#/$defs/nonNegativeInteger","default":0},"simpleTypes":{"enum":["array","boolean","integer","null","number","object","string"]},"stringArray":{"type":"array","items":{"type":"string"},"uniqueItems":true,"default":[]}}}')},47207(e){"use strict";e.exports=JSON.parse('{"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://json-schema.org/draft/2020-12/schema","$vocabulary":{"https://json-schema.org/draft/2020-12/vocab/core":true,"https://json-schema.org/draft/2020-12/vocab/applicator":true,"https://json-schema.org/draft/2020-12/vocab/unevaluated":true,"https://json-schema.org/draft/2020-12/vocab/validation":true,"https://json-schema.org/draft/2020-12/vocab/meta-data":true,"https://json-schema.org/draft/2020-12/vocab/format-annotation":true,"https://json-schema.org/draft/2020-12/vocab/content":true},"$dynamicAnchor":"meta","title":"Core and Validation specifications meta-schema","allOf":[{"$ref":"meta/core"},{"$ref":"meta/applicator"},{"$ref":"meta/unevaluated"},{"$ref":"meta/validation"},{"$ref":"meta/meta-data"},{"$ref":"meta/format-annotation"},{"$ref":"meta/content"}],"type":["object","boolean"],"$comment":"This meta-schema also defines keywords that have appeared in previous drafts in order to prevent incompatible extensions as they remain in common use.","properties":{"definitions":{"$comment":"\\"definitions\\" has been replaced by \\"$defs\\".","type":"object","additionalProperties":{"$dynamicRef":"#meta"},"deprecated":true,"default":{}},"dependencies":{"$comment":"\\"dependencies\\" has been split and replaced by \\"dependentSchemas\\" and \\"dependentRequired\\" in order to serve their differing semantics.","type":"object","additionalProperties":{"anyOf":[{"$dynamicRef":"#meta"},{"$ref":"meta/validation#/$defs/stringArray"}]},"deprecated":true,"default":{}},"$recursiveAnchor":{"$comment":"\\"$recursiveAnchor\\" has been replaced by \\"$dynamicAnchor\\".","$ref":"meta/core#/$defs/anchorString","deprecated":true},"$recursiveRef":{"$comment":"\\"$recursiveRef\\" has been replaced by \\"$dynamicRef\\".","$ref":"meta/core#/$defs/uriReferenceString","deprecated":true}}}')}}]);
1851//# sourceMappingURL=5957.cc595d11.chunk.js.map

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.